From takumiiinn at gmail.com Sun Oct 1 03:11:34 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 12:11:34 +0900 Subject: [Buildroot] [PATCH] package/python-pygments: support host package In-Reply-To: <20230930214108.387cefce@windsurf> References: <20230930190610.752987-1-takumiiinn@gmail.com> <20230930214108.387cefce@windsurf> Message-ID: Hello Thomas. Thank you for your review. > However, could you clarify on why you need a host variant of this > package, and how it gets used? > > Also, we require all patches to have a Signed-off-by line from their > author. Without this, we cannot apply patches that are contributed. > Could you send a new version that (1) has an explanation of why you > need a host package and what uses it and (2) has your Signed-off-by > line? (1) The reason this patch is needed is because gtk-doc requires pygments. The final goal is to submit a patch for lightdm, but since gtk-doc is required to build lightdm, pygments will also be required. Should I include the above reason in the commit log? I would appreciate any additional advice. (2) Sorry, I forgot to include `Signed-off-by`. Next version will include `Signed-off-by`. Thank you. Takumi 2023?10?1?(?) 4:41 Thomas Petazzoni : > > Hello Takumi, > > On Sun, 1 Oct 2023 04:06:10 +0900 > Takumi Takahashi wrote: > > > --- > > package/python-pygments/python-pygments.mk | 1 + > > 1 file changed, 1 insertion(+) > > Thanks for your patch. > > However, could you clarify on why you need a host variant of this > package, and how it gets used? > > Also, we require all patches to have a Signed-off-by line from their > author. Without this, we cannot apply patches that are contributed. > Could you send a new version that (1) has an explanation of why you > need a host package and what uses it and (2) has your Signed-off-by > line? > > Best regards, > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com From takumiiinn at gmail.com Sun Oct 1 03:29:44 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 12:29:44 +0900 Subject: [Buildroot] [PATCH] package/python-pygments: support host package Message-ID: <20231001032945.12820-1-takumiiinn@gmail.com> The reason this patch is needed is because gtk-doc requires pygments. The final goal is to submit a patch for lightdm, but since gtk-doc is required to build lightdm, pygments will also be required. Signed-off-by: Takumi Takahashi --- package/python-pygments/python-pygments.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-pygments/python-pygments.mk b/package/python-pygments/python-pygments.mk index f151f0061b..e6d5ba25f5 100644 --- a/package/python-pygments/python-pygments.mk +++ b/package/python-pygments/python-pygments.mk @@ -14,3 +14,4 @@ PYTHON_PYGMENTS_CPE_ID_PRODUCT = pygments PYTHON_PYGMENTS_SETUP_TYPE = setuptools $(eval $(python-package)) +$(eval $(host-python-package)) -- 2.42.0 From takumiiinn at gmail.com Sun Oct 1 03:37:20 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 12:37:20 +0900 Subject: [Buildroot] [PATCH] package/python-pygments: support host package In-Reply-To: <20231001032945.12820-1-takumiiinn@gmail.com> References: <20231001032945.12820-1-takumiiinn@gmail.com> Message-ID: Sorry, I'm not familiar with Git operations and forgot to add the patch version. Give the new patch version and submit again. 2023?10?1?(?) 12:29 Takumi Takahashi : > > The reason this patch is needed is because gtk-doc requires pygments. > The final goal is to submit a patch for lightdm, but since gtk-doc is > required to build lightdm, pygments will also be required. > > Signed-off-by: Takumi Takahashi > --- > package/python-pygments/python-pygments.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/python-pygments/python-pygments.mk b/package/python-pygments/python-pygments.mk > index f151f0061b..e6d5ba25f5 100644 > --- a/package/python-pygments/python-pygments.mk > +++ b/package/python-pygments/python-pygments.mk > @@ -14,3 +14,4 @@ PYTHON_PYGMENTS_CPE_ID_PRODUCT = pygments > PYTHON_PYGMENTS_SETUP_TYPE = setuptools > > $(eval $(python-package)) > +$(eval $(host-python-package)) > -- > 2.42.0 > From takumiiinn at gmail.com Sun Oct 1 03:42:46 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 12:42:46 +0900 Subject: [Buildroot] [PATCH v2] package/python-pygments: support host package In-Reply-To: <20230930190610.752987-1-takumiiinn@gmail.com> References: <20230930190610.752987-1-takumiiinn@gmail.com> Message-ID: <20231001034247.14022-1-takumiiinn@gmail.com> The reason this patch is needed is because gtk-doc requires pygments. The final goal is to submit a patch for lightdm, but since gtk-doc is required to build lightdm, pygments will also be required. Signed-off-by: Takumi Takahashi --- package/python-pygments/python-pygments.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-pygments/python-pygments.mk b/package/python-pygments/python-pygments.mk index f151f0061b..e6d5ba25f5 100644 --- a/package/python-pygments/python-pygments.mk +++ b/package/python-pygments/python-pygments.mk @@ -14,3 +14,4 @@ PYTHON_PYGMENTS_CPE_ID_PRODUCT = pygments PYTHON_PYGMENTS_SETUP_TYPE = setuptools $(eval $(python-package)) +$(eval $(host-python-package)) -- 2.42.0 From james.hilliard1 at gmail.com Sun Oct 1 04:05:27 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 30 Sep 2023 22:05:27 -0600 Subject: [Buildroot] package/pkg-python.mk: refactor setup-type variables In-Reply-To: <20230930221727.1458825-1-arnout@mind.be> References: <20230930221727.1458825-1-arnout@mind.be> Message-ID: On Sat, Sep 30, 2023 at 4:17?PM Arnout Vandecappelle wrote: > > Most of the python-package infrastructure consists of a big conditional > tree that sets various variables based on the package's setup type. > Initially, this was quite OK, but since we have 7 different setup types > now, some of which share some variables with others, it's becoming quite > complicated and hard to read. It might be a good idea to apply my setuptools pep517 patch first which simplifies things a bit by largely combining the setuptools setup type with pep517 builds. https://patchwork.ozlabs.org/project/buildroot/patch/20230930152517.1077576-3-james.hilliard1 at gmail.com/ We can probably drop distutils setup type as well as we should be able to instead just use setuptools for any packages using that. > > This patch series refactors it so that the inner-python-package doesn't > dispatch the setup type through a conditional tree, but instead does it > with variable indirection, i.e. by using variables like > $(PKG_PYTHON_$($(PKG)_SETUP_TYPE_UPPER)_ENV) > > The rist two patches are simple cleanups, removing variables that are > not really needed. > > The third patch is a preparatory one that splits the build commands for > target and host builds. This is necessary because we need to use > different variables for the two, i.e. HOST_PKG_PYTHON_* for host build. > > The fourth and fifth patch each replace one variable from the > conditional tree with an indirectly addressed one. > > The following three patches are needed because the ninth patch removes > the PKG_PYTHON_*_OPTS variables, which were used in 3 packages. It is in > fact not strictly needed to remove those variables, but IMHO they don't > add sufficient value to keep them. I think it's better to handle the few > special cases explicitly. > > The ninth patch replaces the remaining variables from the conditional > tree with indirectly addressed ones. The conditional tree is now empty, > and the error handling that was in there is made more explicit. > > The tenth patch edits the documentation to remove the references to the > PKG_PYTHON_*_OPTS variables that were removed in the previous patch. > > This series adds lines rather than removing lines. That is because > things are made more explicit, introducing per-setup-type variables > where previously several setup types were (partially) reusing the pep517 > variables. There are also some additional lines because of more line > splitting. > > To test this series, I built all the python packages with one specific > toolchain configuration, and I ran all runtime tests for python packages. > One package failed to build: host-python-sip. It also fails on master. > For the runtime tests, 14 of them failed, all of them also fail on > master. > > > The following changes since commit 7906272c39744e26ed73028725787aa3a4441c54: > > package/python-rtoml: migrate to setuptools-rust infrastructure (2023-09-29 22:02:31 +0200) > > are available in the Git repository at: > > git at gitlab.com:arnout/buildroot.git pkg-python-refactor-variables > > for you to fetch changes up to 89b33e004fc13e22a9c0bdcafcee245a97d2dd51: > > docs/manual: remove references to PKG_PYTHON_*_OPTS (2023-09-30 15:18:48 +0200) > > ---------------------------------------------------------------- > Arnout Vandecappelle (Essensium/Mind) (10): > package/pkg-python.mk: remove $(2)_PYTHON_INTERPRETER variable > package/pkg-python.mk: remove _BASE_BUILD_OPTS variable > package/pkg-python.mk: split the commands in a target and host section > package/pkg-python.mk: replace $(_BASE_ENV) with $($(SETUP_TYPE)_ENV) > package/pkg-python.mk: replace $(_BASE_BUILD_CMD) with $($(SETUP_TYPE)_BUILD_CMD) > package/python-flit-core: instantiate _INSTALL_CMDS > package/jailhouse: expand PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS > package/i2c-tools: expand PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS > package/pkg-python.mk: replace $(_BASE_INSTALL*_CMD) with $($(SETUP_TYPE)_INSTALL*_CMD) > docs/manual: remove references to PKG_PYTHON_*_OPTS > > docs/manual/adding-packages-python.txt | 14 +------- > package/i2c-tools/i2c-tools.mk | 6 ++-- > package/jailhouse/jailhouse.mk | 7 +++- > package/pkg-python.mk | 256 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------- > package/python-flit-core/python-flit-core.mk | 9 +++-- > 5 files changed, 173 insertions(+), 119 deletions(-) > > > From takumiiinn at gmail.com Sun Oct 1 04:35:05 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 13:35:05 +0900 Subject: [Buildroot] [PATCH v2] package/itstool: new host package In-Reply-To: <1841628> References: <1841628> Message-ID: <20231001043505.19301-1-takumiiinn@gmail.com> ITS Tool allows you to translate your XML documents with PO files, using rules from the W3C Internationalization Tag Set (ITS) to determine what to translate and how to separate it into PO file messages. - This package is primarily used by documentation tools such as gtk-doc - After this patch is merged, a patch to add gtk-doc will be submitted - This package requires python bindings for libxml2 - This change has already been merged See below for libxml2 Python bindings: https://patchwork.ozlabs.org/project/buildroot/patch/20230930155548.1609970-1-takumiiinn at gmail.com/ Signed-off-by: Takumi Takahashi --- Changes v1 -> v2: - add entry to DEVELOPERS - add entry to package/Config.in.host - add file to package/itstool/Config.in.host - change commit log messages Signed-off-by: Takumi Takahashi --- DEVELOPERS | 3 +++ package/Config.in.host | 1 + package/itstool/Config.in.host | 11 +++++++++++ package/itstool/itstool.hash | 4 ++++ package/itstool/itstool.mk | 15 +++++++++++++++ 5 files changed, 34 insertions(+) create mode 100644 package/itstool/Config.in.host create mode 100644 package/itstool/itstool.hash create mode 100644 package/itstool/itstool.mk diff --git a/DEVELOPERS b/DEVELOPERS index bc4027932c..688d3ebce2 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2821,6 +2821,9 @@ F: package/reproc/ F: package/termcolor/ F: package/tl-expected/ +N: Takumi Takahashi +F: package/itstool/ + N: Tan En De F: package/libkcapi/ diff --git a/package/Config.in.host b/package/Config.in.host index c80842c33a..6bc1857df2 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -51,6 +51,7 @@ menu "Host utilities" source "package/imagemagick/Config.in.host" source "package/imx-mkimage/Config.in.host" source "package/imx-usb-loader/Config.in.host" + source "package/itstool/Config.in.host" source "package/jh71xx-tools/Config.in.host" source "package/jq/Config.in.host" source "package/jsmin/Config.in.host" diff --git a/package/itstool/Config.in.host b/package/itstool/Config.in.host new file mode 100644 index 0000000000..c64bcddc6a --- /dev/null +++ b/package/itstool/Config.in.host @@ -0,0 +1,11 @@ +config BR2_PACKAGE_HOST_ITSTOOL + bool "host itstool" + select BR2_PACKAGE_HOST_PYTHON3 + select BR2_PACKAGE_HOST_LIBXML2 + help + ITS Tool allows you to translate your XML documents with + PO files, using rules from the W3C Internationalization + Tag Set (ITS) to determine what to translate and how to + separate it into PO file messages. + + https://itstool.org/ diff --git a/package/itstool/itstool.hash b/package/itstool/itstool.hash new file mode 100644 index 0000000000..7bd533c0d2 --- /dev/null +++ b/package/itstool/itstool.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 fba78a37dc3535e4686c7f57407b97d03c676e3a57beac5fb2315162b0cc3176 itstool-2.0.7.tar.gz +sha256 f907bf6e8a3f4911af6904597c9dcb6b415ab2facf8d403fa3c5afa1f533ab90 COPYING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.GPL3 diff --git a/package/itstool/itstool.mk b/package/itstool/itstool.mk new file mode 100644 index 0000000000..3b738c2f01 --- /dev/null +++ b/package/itstool/itstool.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# itstool +# +################################################################################ + +ITSTOOL_VERSION = 2.0.7 +ITSTOOL_SITE = $(call github,itstool,itstool,$(ITSTOOL_VERSION)) +ITSTOOL_LICENSE = GPL-3.0+ +ITSTOOL_LICENSE_FILES = COPYING COPYING.GPL3 +HOST_ITSTOOL_DEPENDENCIES = host-python3 host-libxml2 + +ITSTOOL_AUTORECONF = YES + +$(eval $(host-autotools-package)) -- 2.42.0 From thomas.petazzoni at bootlin.com Sun Oct 1 05:33:44 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 01 Oct 2023 05:33:44 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-09-30 Message-ID: <20231001053349.F1AF182A17@smtp1.osuosl.org> Hello, Autobuild statistics for 2023-09-30 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 18 | 10 | 0 | 28 | 2023.08.x | 24 | 15 | 0 | 39 | master | 84 | 113 | 3 | 200 | Classification of failures by reason for master ----------------------------------------------- gnuplot-5.4.9 | 12 alsa-utils-1.2.10 | 7 libarchive-3.7.2 | 7 bird-2.0.12 | 6 openrc-0.43.3 | 6 unknown | 6 alsa-lib-1.2.10 | 5 host-go-1.21.1 | 5 glibc-2.38-13-g92201f16cbcf... | 4 check-11970a7e112dfe243a2e6... | 3 gobject-introspection | 3 gobject-introspection-1.76.1 | 3 monit-5.33.0 | 3 cairo-1.16.0 | 2 gcc-final-12.3.0 | 2 openfpgaloader-0.10.0 | 2 package/putty/putty.mk:22: ... | 2 util-linux-2.39.2 | 2 xenomai-3.0.10 | 2 assimp-5.2.5 | 1 axel-2.17.11 | 1 boost-1.83.0 | 1 brltty-6.5 | 1 bullet-3.21 | 1 conmon-2.1.8 | 1 elfutils-0.189 | 1 fdk-aac-2.0.2 | 1 glslsandbox-player-2023.04.05 | 1 heirloom-mailx-12.5 | 1 host-erlang-26.0.2 | 1 host-python-numpy-1.25.0 | 1 host-rust-1.71.1 | 1 host-sentry-cli-2.20.3 | 1 libsodium-1.0.18 | 1 libva-2.20.0 | 1 libvorbis-1.3.7 | 1 libxml2-2.11.4 | 1 linux-5.10.162-cip24 | 1 ltp-testsuite-20230127 | 1 mariadb-10.11.4 | 1 memcached-1.6.21 | 1 mtd-2.1.6 | 1 open-iscsi-2.1.9 | 1 openblas-0.3.24 | 1 python3-3.11.5 | 1 squid-6.2 | 1 strongswan-5.9.11 | 1 syslog-ng-4.3.1 | 1 ti-sgx-km-cf7f48cb30abfd5df... | 1 uclibc-1.0.44 | 1 ulog-0389d243352255f6182326... | 1 wolfssl-5.6.3 | 1 xen-4.14.5 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/60c8882d8c9ba6eb4802ad78b31be2a6c77beafa | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/d85f652ede39c97ff3e4413dbd85efa535bd7e38 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a5bf6596e3ec3bd8f38dddb40b37f06b96f0e68d | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/122346075d0878a7213767a9dc8ee20160e209d3 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/9e829f2eae65951e981e0983e63464d56f00cfff | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/2b02ad5f3aba3c8ce2846e881fed57194823c8b5 | mips64el | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5a7355954589d9b86b3f090852fc9acd545a6a2d | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/e269f862ebade30cf870d783a1006aba8fedc129 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/1ce4739fb3e866f9c5742f71fa1c0ea4959afe71 | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/fbc5386940ea0e8589bdb4bf4079845fbf20fe10 | microblazeel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/90824ec11ca33cc723fd389d3e6421e9dfb55231 | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5209205b9d51281b980452b53fdf8f2c2daa1894 | mips | assimp-5.2.5 | NOK | http://autobuild.buildroot.net/results/1a18b928bfddf1e6fe6eb5e6a021d0bd98403bc1 | ORPH mips64 | axel-2.17.11 | NOK | http://autobuild.buildroot.net/results/751551e06a9197fa4019323c3ac32bae86673d28 | x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/966e309d17e93d288f2d860b9359733d0fda1e06 | aarch64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/411255a490dda19fce06e5a6303a2125b2027843 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/14332c62049ec7404a2d0f96c93727272a53e90a | powerpc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/00f697ed6a4643fff16345203da83e2c2a5c161e | aarch64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8166935b611e55497797d7a022fe8a5e25acc804 | powerpc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/d94a8fdcbef19ed6e15d592e7dc6aeb2d0223751 | arm | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/09267144316866b16afbc4360cb974042728ed0d | arm | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/771e5da3316b0a67ad84684bb10d70efbbb0f667 | nios2 | bullet-3.21 | NOK | http://autobuild.buildroot.net/results/b913c567197ec2612f8754465917a94ac06ee5ef | xtensa | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/b8692ecac0fb0c337f43b77f47293ce7ad388a6e | xtensa | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/db6da1f305dcdfa13be8bcac59f163a1555eabef | m68k | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/afd3b70c87cd1bec3611d6723901395b9479f755 | ORPH m68k | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/b2ee48134d2bcabd978c5f71d1894b8dab87d42c | ORPH or1k | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/b861d400c63438f02e9c4e0698d7c6eda7463d6e | ORPH aarch64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/de51f4d608a651e7e105df23c39577d07bd309dc | microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/04f633ca983c69e316a2429d766733c7ae857b03 | ORPH i686 | fdk-aac-2.0.2 | NOK | http://autobuild.buildroot.net/results/6edb42893dfcdaa79f644d6b46866d0b05ccfb51 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/cfd9f6a5e7755431b0aae685a3f8befe1cdb2063 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/a2aac42eb48b025b35e85958f1e273a57645f169 | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/b5756b9ab6754484b5c10075dc59a4249b01f8b3 | riscv64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/3b0a52d710aaf710a8a0b9a822e8cac5f405a5ed | arc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/4d8637a4da4e87c703cd3e9d5a70b5d1d1057fc4 | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/080dec3455a221124b0fd6a1b940d0d81c1a29b7 | aarch64 | glslsandbox-player-2023.04.05 | NOK | http://autobuild.buildroot.net/results/ee8e57393d168cdcaede982fa37fd1de7505e38b | riscv32 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/9fdc97c8a6dc68ae6b7ffcf24781531c5ea70e6d | microblazeel | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/cbbce4ce9594cbe303d76f53145b746658408584 | powerpc64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433 | armeb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/f73073159cf295bdecae9b9988e399525c1e86ae | sh4aeb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/9b089db8b4c538a35d47fab94e4ff3d1d75b12e6 | armeb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/d5c23c836ca1be3759ad5ca467cfe6f0d5edd316 | riscv64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/5a74459ed1f4ffacaccf5a257f4e31f23166dc05 | arm | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/722f4861135fb71df1133e64713d6c91b2a47e63 | m68k | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/80bbe4444b7d5ce0f0e68355af5d4fde5efd998d | sh4eb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/28ac8cc1fe0c5e85310b9302f072423d626c32c9 | arceb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/bc84770adab379c4d3caef6f330ff30585163fb2 | powerpc64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/13865d5ac8d25f9f05576b88dcced8c4555595ad | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/1b13366fe156e638dc860b1c72b906e09b892d22 | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/efda751cba54bceb1e862f4d6f5f492f3c0c0149 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/fa5cde5c1c8aefbe9ab6068e2a2da26b580121b5 | sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/9ac7e55fec685802abf9dd32e3969a2b2ed5e9eb | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/f42aa9832173029eb012ecea50e90fe087b8158a | ORPH sh4a | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8414b92010a120ab7bfd0daf6f144e3070a672b6 | ORPH sh4aeb | heirloom-mailx-12.5 | NOK | http://autobuild.buildroot.net/results/4c5525d1d6c3ddaa9314a17a43a46e87fff04d3f | mipsel | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/debffe3091fe2b558dfef39a3a31362fcca1e3f5 | s390x | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/f88051da8c1ee22a0e4b259b0b68016e38d87668 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/c788dde2a2f5cbef6e533424aca8070b28da8da1 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/7de5b2e86b876c620bf751688a98efaa19722b0e | i686 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/760c8760f77be47b3e5059e04a9e86d0f122a3da | powerpc | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/ec8eec6d966376c8893ecaa2ccdba5550a7e837d | arc | host-python-numpy-1.25.0 | NOK | http://autobuild.buildroot.net/results/9ec82be71c908873112064792ace283049355031 | armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c1688695c0cfc4035cfb4740af5476a96bd2d4dc | microblaze | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/862d802639a0532c99844c9e710d06ade05b1ceb | or1k | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/043fff4b3f0daa07d52ef262ef34a5bf8694cec7 | microblaze | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/31ea570325c7ad4c88e154fa75b8546dc2c6b894 | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/3cbf462a3e354c21254ca37b5bf15ae085c831d5 | powerpc | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/b74a7d1a4db21f085f883623969c7b33b42e4961 | mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/681193a33c256e1dc27d556cb581bbe3ff859af4 | or1k | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/719630e34b55ada8cb563748602b8ff9d96457bf | powerpc | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/001e1a9c5fef88d23c4aa29594398041387ba648 | arceb | libsodium-1.0.18 | NOK | http://autobuild.buildroot.net/results/95d341126a69c7414015fdf8931f80df95d849f5 | arm | libva-2.20.0 | NOK | http://autobuild.buildroot.net/results/9d124d900567bf3bc99a3ef850e83247121e3689 | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/c6ec3c9a211821d303930b0be3c8586105fb87d9 | arceb | libxml2-2.11.4 | NOK | http://autobuild.buildroot.net/results/3a85e69da712cf6e3a6f3baea921875b19a334a2 | x86_64 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/dd1926622ade88547d408c6b40265d564c23ec78 | ORPH s390x | ltp-testsuite-20230127 | NOK | http://autobuild.buildroot.net/results/f1e0785609a250bd57f36cf8d30da376a0a795ce | m68k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/0f5ec37500fab7284c7c92e41557716772ff6da9 | ORPH sh4 | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/3fc30fbe8033cc2a53fff398f458963ac4622356 | ORPH mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/34b553f6b71f072605c303ab8cd5921c47c20a1e | microblazeel | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/be5c0443c332533e357b635dd3bbe8c968f0e3f0 | or1k | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/6aac7733043e4644ae227177eaa451763b514c58 | mips | mtd-2.1.6 | NOK | http://autobuild.buildroot.net/results/e2e5dfbd7b19c7196cd70c36e9f061fd3ebadf98 | ORPH aarch64_be | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/14fc1c139f055b5b1eaa6e04e327863c06176a7b | mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/fe64117e7a8fa151a4740a23b348c43cbdc9ee55 | m68k | openfpgaloader-0.10.0 | NOK | http://autobuild.buildroot.net/results/b1b389bcdb901c0da0ad206235525fdf75be4353 | mips64el | openfpgaloader-0.10.0 | NOK | http://autobuild.buildroot.net/results/c9017c1b3a6559c4d6efc798bd1ae0b00971a379 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d92561fb7dbccc55a7324792bbc2482077efbdbd | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/45fb20ad162befeb95b4203ba19e36ada77596cf | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9f965aca6b9c091776d07fbaa068c5ccf4b662a5 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2b79d3650e0c05121ec0e767d7488aeab56c8a01 | arm | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7dc3f68a56b70dd77383aa7d071b73210622f119 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/1532dc51cac409a725513154ad45082c9babe7e6 | mips64el | package/putty/putty.mk:22: ... | NOK | http://autobuild.buildroot.net/results/044fdd08d1f21137472c3ff9abe63e60acb48682 | aarch64_be | package/putty/putty.mk:22: ... | NOK | http://autobuild.buildroot.net/results/69c286a8b4b679e6e5d81c4af25de9f7cf3fe670 | x86_64 | python3-3.11.5 | NOK | http://autobuild.buildroot.net/results/d921a5b82e05c6af7a2ebc185c0cbc1ed2ab344a | aarch64 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/a32711b915939de091e31a1070d925041f3f7f8a | ORPH sparc64 | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/d617397dcbaaf4c136a2b58fb45e2c1f260d446c | mips64el | syslog-ng-4.3.1 | NOK | http://autobuild.buildroot.net/results/dc4d60d752e579ef054915eee3d7e3e73c25929b | arm | ti-sgx-km-cf7f48cb30abfd5df... | NOK | http://autobuild.buildroot.net/results/37990b43c4f99abc8bb8a64a8797c5ad08731b13 | riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/dc917cb66a680f121fa50d8ed479f9a92e656cea | x86_64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/77e5ea378d3662c0fbfee100a4b56c08f4f024ba | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/2d5e385743222493628e688ec3ec841564da9024 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/4309a12fecf970f263b2fd9fb0eb13b1ab94b840 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/e6eccd6fe441832af531da1c436f2d89606ff8bf | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/c4a0bb625b0c8e0e18c1038d8b4d66962573038f | arm | unknown | NOK | http://autobuild.buildroot.net/results/3d4b50a9bd8c9dc9d447899c807fd7c719ec3f03 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/a5209f05d5579ea27b05d0decda4e517ddc0c8c8 | arceb | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/b9126e7f873babe357e76a6242648e329519ce15 | ORPH sh4 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/51bff8670623a4c0d4521ef7105875c491f1127b | ORPH or1k | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/f5bbaec0449e6918ca6ae2388eda847e5723e4b3 | arm | xen-4.14.5 | NOK | http://autobuild.buildroot.net/results/5013ca65ad5bb96651c020aeee1282c285de8f65 | aarch64_be | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/06ffe4c89f05fd7f74c0e8259689769e7644f075 | microblazeel | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/cea95a2e06c9e8b242214bb9329c4b481b3296ed | Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 3 elfutils-0.186 | 1 host-binutils-2.38 | 1 host-heimdal-f4faaeaba371ff... | 1 linux-6.1.55 | 1 olsr-0.9.8 | 1 php-8.2.10 | 1 v4l2loopback-0.12.7 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b5adacbec01c91e6acef7bc93ed46cb56c00ca8b | sparc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b9b3246278b28c336f8a7c66e7e19529c22f6f8b | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/bebeede133f63282aa353ea24e5b1364521460f9 | microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/3705ace7f539c77d89ecbc03607ada615fbe81a7 | ORPH s390x | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/eb891763e79a7bd8e064297bf731a1859e4143c7 | arm | host-heimdal-f4faaeaba371ff... | NOK | http://autobuild.buildroot.net/results/d4a039d1836ca4a65606eaeb32bb238d38a314da | ORPH arc | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/3b76b599f6bc1dfdfddea7b135ac3c7438ee0f07 | ORPH arm | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/b7ad320f312fd8afa4b5766791a66503fa17b2fe | ORPH microblazeel | php-8.2.10 | NOK | http://autobuild.buildroot.net/results/ace52f7f8438c0476f9818ba195928ba2d2f4c7d | sparc64 | v4l2loopback-0.12.7 | NOK | http://autobuild.buildroot.net/results/99aa1035b50c7cf394686cd8df8be3d7ad0f76a5 | Classification of failures by reason for 2023.08.x -------------------------------------------------- unknown | 2 util-linux-2.39.1 | 2 bird-2.0.12 | 1 check-11970a7e112dfe243a2e6... | 1 host-go-1.20.8 | 1 host-runc-1.1.7 | 1 host-rust-1.71.1 | 1 libglvnd-1.4.0 | 1 mmc-utils-d4c2910981ff99b98... | 1 pound-4.8 | 1 stress-ng-0.15.07 | 1 wavemon-0.9.4 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arceb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/04a85adcca1196a1a8fc363832b870355d931735 | riscv64 | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/bf8e02a5db02efe64274fe496dbe5df33c2c7a97 | ORPH arm | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/2fb89151bd46aba3587e6c48bbc3fec7c58c6058 | microblazeel | host-runc-1.1.7 | NOK | http://autobuild.buildroot.net/results/b81e0ba2879dddde05613b495473b06dea55419a | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/61c0ccee854963a229a8bbb8fb8dbb0b96d57e18 | m68k | libglvnd-1.4.0 | NOK | http://autobuild.buildroot.net/results/947270a5617dacce2428320cd0d18573ae800072 | ORPH arm | mmc-utils-d4c2910981ff99b98... | NOK | http://autobuild.buildroot.net/results/d6695c8ad6e1bdc3617fc9ad54fd8626611fee53 | powerpc64 | pound-4.8 | NOK | http://autobuild.buildroot.net/results/1228052039b0269477e22a8797b9d48228f0e783 | ORPH m68k | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/a023a44164aadee56975bf0fadd1b2011ecef34a | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/863a17fb329debeaa86872ac7a7343316fc57148 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/6ef3a5f3420ad56480c09fd97cc0df7fb7b9218f | arm | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/fd495fa9d920e04cb967f47afeefbf20c7101d6a | ORPH arm | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/24f8baeefe1afe4f3a8552349e367fd702577dfb | ORPH powerpc64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/cf52e87e0751ce1ee04ba0588fb227a26181180d | ORPH xtensa | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/b1f102ca421f45b7eee6a2f3c50032fc23733448 | -- http://autobuild.buildroot.net From romain.naour at smile.fr Sun Oct 1 07:15:16 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 09:15:16 +0200 Subject: [Buildroot] [PATCH v2 4/4] configs/qemu_riscv32_nommu_virt_defconfig: New defconfig In-Reply-To: <20221217051337.3778405-5-Mr.Bossman075@gmail.com> References: <20221217051337.3778405-1-Mr.Bossman075@gmail.com> <20221217051337.3778405-5-Mr.Bossman075@gmail.com> Message-ID: <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> Hello, Le 17/12/2022 ? 06:13, Jesse Taube a ?crit?: > Add RISC-V 32-bit nommu defconfig for QEMU virt machine with MMU > disabled. > > Unlike qemu_riscv32_virt, qemu_riscv32_nommu_virt does not use OpenSBI, > since the kernel is running in machine mode (M-mode). > > Signed-off-by: Jesse Taube > Cc: Yimin Gu I rebased the elf2flt patch for risc32 [1] on top of elf2flt 2023.09 release, then I enabled the risc32 uclibc-ng support [2] without patching it since we use the latest release (v1.0.44) containing this commit [3]. But the system doesn't boot due to a reloc issue: binfmt_flat: reloc outside program 0xfff7b6dc (0 - 0x9cec0/0x8a180), killing sh! Starting init: /bin/sh exists but couldn't execute it (error -8) This issue may be related to the toolchain used to build this defconfig (gcc 12.3.0 and binutils 2.40) that is newer than the toolchain used at the time this series was tested. [1] http://patchwork.ozlabs.org/project/buildroot/patch/20221217051337.3778405-2-Mr.Bossman075 at gmail.com/ [2] http://patchwork.ozlabs.org/project/buildroot/patch/20221217051337.3778405-3-Mr.Bossman075 at gmail.com/ [3] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=0a5466d8d53bc8045ff56ff76cc1880aa85761c2 > --- > board/qemu/riscv32-virt/nommu/defconfig | 16 +++++++ > .../riscv32-virt/nommu/patches/linux-headers | 1 + > ...nfig-Allow-RV32-to-build-with-no-MMU.patch | 43 +++++++++++++++++++ > ...le-stat64-and-time32-for-RV32-uclibc.patch | 40 +++++++++++++++++ > board/qemu/riscv32-virt/readme.txt | 6 ++- > configs/qemu_riscv32_nommu_virt_defconfig | 31 +++++++++++++ > 6 files changed, 136 insertions(+), 1 deletion(-) > create mode 100644 board/qemu/riscv32-virt/nommu/defconfig > create mode 120000 board/qemu/riscv32-virt/nommu/patches/linux-headers > create mode 100644 board/qemu/riscv32-virt/nommu/patches/linux/6.0/0001-riscv-Kconfig-Allow-RV32-to-build-with-no-MMU.patch > create mode 100644 board/qemu/riscv32-virt/nommu/patches/linux/6.0/0002-riscv-Enable-stat64-and-time32-for-RV32-uclibc.patch > create mode 100644 configs/qemu_riscv32_nommu_virt_defconfig > > diff --git a/board/qemu/riscv32-virt/nommu/defconfig b/board/qemu/riscv32-virt/nommu/defconfig > new file mode 100644 > index 0000000000..460907253a > --- /dev/null > +++ b/board/qemu/riscv32-virt/nommu/defconfig > @@ -0,0 +1,16 @@ > +CONFIG_BLK_DEV_INITRD=y > +# CONFIG_MMU is not set > +CONFIG_COMPAT_32BIT_TIME=y > +CONFIG_SOC_VIRT=y > +CONFIG_NONPORTABLE=y > +CONFIG_ARCH_RV32I=y > +CONFIG_BINFMT_FLAT=y > +CONFIG_SLOB=y > +CONFIG_VIRTIO_BLK=y > +CONFIG_SERIAL_8250=y > +CONFIG_SERIAL_8250_CONSOLE=y > +CONFIG_SERIAL_OF_PLATFORM=y > +CONFIG_VIRTIO_MMIO=y > +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y > +CONFIG_EXT2_FS=y > +CONFIG_PRINTK_TIME=y > diff --git a/board/qemu/riscv32-virt/nommu/patches/linux-headers b/board/qemu/riscv32-virt/nommu/patches/linux-headers > new file mode 120000 > index 0000000000..ce5e2c77b2 > --- /dev/null > +++ b/board/qemu/riscv32-virt/nommu/patches/linux-headers > @@ -0,0 +1 @@ > +linux/ > \ No newline at end of file > diff --git a/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0001-riscv-Kconfig-Allow-RV32-to-build-with-no-MMU.patch b/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0001-riscv-Kconfig-Allow-RV32-to-build-with-no-MMU.patch > new file mode 100644 > index 0000000000..af11ddf953 > --- /dev/null > +++ b/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0001-riscv-Kconfig-Allow-RV32-to-build-with-no-MMU.patch > @@ -0,0 +1,43 @@ > +From 57800c87e422375ec0df4d5ad7f33659f7b60093 Mon Sep 17 00:00:00 2001 > +From: Yimin Gu > +Date: Sat, 10 Dec 2022 22:27:47 -0500 > +Subject: [PATCH] riscv: Kconfig: Allow RV32 to build with no MMU > + > +Some RISC-V 32bit ores do not have an MMU, and the kernel should be > +able to build for them. This patch enables the RV32 to be built with > +no MMU support. > + > +Signed-off-by: Yimin Gu > +CC=c: Jesse Taube > +Tested-By: Waldemar Brodkorb > +Signed-off-by: Jesse Taube > +--- > + arch/riscv/Kconfig | 5 ++--- > + 1 file changed, 2 insertions(+), 3 deletions(-) > + > +diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > +index 59d18881f35b..49759dbe6a8f 100644 > +--- a/arch/riscv/Kconfig > ++++ b/arch/riscv/Kconfig > +@@ -163,8 +163,8 @@ config MMU > + > + config PAGE_OFFSET > + hex > +- default 0xC0000000 if 32BIT > +- default 0x80000000 if 64BIT && !MMU > ++ default 0xC0000000 if 32BIT && MMU > ++ default 0x80000000 if !MMU > + default 0xff60000000000000 if 64BIT > + > + config KASAN_SHADOW_OFFSET > +@@ -262,7 +262,6 @@ config ARCH_RV32I > + select GENERIC_LIB_ASHRDI3 > + select GENERIC_LIB_LSHRDI3 > + select GENERIC_LIB_UCMPDI2 > +- select MMU > + > + config ARCH_RV64I > + bool "RV64I" > +-- > +2.38.1 > + > diff --git a/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0002-riscv-Enable-stat64-and-time32-for-RV32-uclibc.patch b/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0002-riscv-Enable-stat64-and-time32-for-RV32-uclibc.patch > new file mode 100644 > index 0000000000..f654cca7a6 > --- /dev/null > +++ b/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0002-riscv-Enable-stat64-and-time32-for-RV32-uclibc.patch > @@ -0,0 +1,40 @@ > +From 1d985b3cd0fdb37567b4b8263cae740b49a1f46a Mon Sep 17 00:00:00 2001 > +From: Yimin Gu > +Date: Sat, 10 Dec 2022 22:31:06 -0500 > +Subject: [PATCH] riscv: Enable stat64 and time32 for RV32 uclibc > + > +To comply with current uclibc, macros __ARCH_WANT_STAT64 and > +__ARCH_WANT_TIME32_SYSCALLS are defined. CONFIG_COMPAT_32BIT_TIME also > +has to be turned on. It would be great if this patch could be upstreamed since we have to patch not only the kernel running at runtime but also the kernel headers used by the toolchain. > + > +Tested-By: Waldemar Brodkorb > +Signed-off-by: Yimin Gu > +Cc: Jesse Taube > +Signed-off-by: Jesse Taube > +--- > + arch/riscv/include/uapi/asm/unistd.h | 7 ++++++- > + 1 file changed, 6 insertions(+), 1 deletion(-) > + > +diff --git a/arch/riscv/include/uapi/asm/unistd.h b/arch/riscv/include/uapi/asm/unistd.h > +index 73d7cdd2ec49..3dc774bc201f 100644 > +--- a/arch/riscv/include/uapi/asm/unistd.h > ++++ b/arch/riscv/include/uapi/asm/unistd.h > +@@ -15,9 +15,14 @@ > + * along with this program. If not, see . > + */ > + > +-#if defined(__LP64__) && !defined(__SYSCALL_COMPAT) > ++#ifndef __SYSCALL_COMPAT > + #define __ARCH_WANT_NEW_STAT > + #define __ARCH_WANT_SET_GET_RLIMIT > ++#endif /* __SYSCALL_COMPAT */ > ++ > ++#ifndef __LP64__ > ++#define __ARCH_WANT_STAT64 > ++#define __ARCH_WANT_TIME32_SYSCALLS > + #endif /* __LP64__ */ > + > + #define __ARCH_WANT_SYS_CLONE3 > +-- > +2.38.1 > + > diff --git a/board/qemu/riscv32-virt/readme.txt b/board/qemu/riscv32-virt/readme.txt > index 32b4333512..067bb9f436 100644 > --- a/board/qemu/riscv32-virt/readme.txt > +++ b/board/qemu/riscv32-virt/readme.txt > @@ -1,5 +1,9 @@ > Run Linux in emulation with: > > - qemu-system-riscv32 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv32_virt_defconfig > +qemu_riscv32_virt_defconfig: > + qemu-system-riscv32 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic Please, don't modify "# qemu_riscv32_virt_defconfig" here, it used by the script that generate the start-qemu.sh script. > + > +qemu_riscv32_nommu_virt_defconfig: remove "qemu_riscv32_nommu_virt_defconfig:" > + qemu-system-riscv32 -M virt -bios none -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -nographic -cpu rv32,mmu=off add "# qemu_riscv32_nommu_virt_defconfig" at the end of this line. Can you have a look and resend an updated version of this series? Best regards, Romain > > The login prompt will appear in the terminal that started Qemu. > diff --git a/configs/qemu_riscv32_nommu_virt_defconfig b/configs/qemu_riscv32_nommu_virt_defconfig > new file mode 100644 > index 0000000000..8bfa1f7435 > --- /dev/null > +++ b/configs/qemu_riscv32_nommu_virt_defconfig > @@ -0,0 +1,31 @@ > +# Architecture > +BR2_riscv=y > +BR2_RISCV_32=y > +# BR2_RISCV_USE_MMU is not set > + > +# System > +BR2_TARGET_GENERIC_GETTY=y > +BR2_PTHREADS_NONE=y > + > +# Filesystem > +BR2_TARGET_ROOTFS_EXT2=y > + > +# Image > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" > +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" > + > +# Linux headers same as kernel > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0=y > + > +# Kernel > +BR2_LINUX_KERNEL=y > +BR2_LINUX_KERNEL_CUSTOM_VERSION=y > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.0" > +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/riscv32-virt/nommu/defconfig" > +BR2_LINUX_KERNEL_IMAGE=y > +BR2_GLOBAL_PATCH_DIR="board/qemu/riscv32-virt/nommu/patches" > + > +# host-qemu for gitlab testing > +BR2_PACKAGE_HOST_QEMU=y > +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y From peter at korsgaard.com Sun Oct 1 07:36:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 09:36:23 +0200 Subject: [Buildroot] [git commit] package/ethtool: bump to version 6.5 Message-ID: <20231001073647.3E55C83D5B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e5e51af4cf7a6186de0b60af51cebcf2cc9b6703 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/tree/NEWS?id=849ab2644bb80af40493c55c7456ed27e483a315 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/ethtool/ethtool.hash | 2 +- package/ethtool/ethtool.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 905b47fb06..8d2bf58420 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,5 @@ # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 d9425f0a3df138734001fccc4175fe178c025f938460ac25c4ebc39960168822 ethtool-6.3.tar.xz +sha256 814171ea4b8026b081c0741dbbf32e6968311483ecf64711232faec2ac70a14c ethtool-6.5.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index 9f1ef19e7b..94d14b123b 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -4,7 +4,7 @@ # ################################################################################ -ETHTOOL_VERSION = 6.3 +ETHTOOL_VERSION = 6.5 ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool ETHTOOL_LICENSE = GPL-2.0 From peter at korsgaard.com Sun Oct 1 07:35:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 09:35:42 +0200 Subject: [Buildroot] [git commit] package/ltp-testsuite: bump version to 20230929 Message-ID: <20231001073647.3011A83D5A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ceb5b326b8cd2a8d41eff1c843c2b196a2d3f2c8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Remove backported patch from this release. Upstream commit from this release [1] very likely fixes failure undefined reference to `__stack_chk_fail'. [1] https://github.com/linux-test-project/ltp/commit/72891ca1efb61787cc78a81ef3e379f3fea77ac1 Signed-off-by: Petr Vorel Signed-off-by: Peter Korsgaard --- ...001-configure.ac-fix-mount_attr-detection.patch | 54 ---------------------- package/ltp-testsuite/ltp-testsuite.hash | 4 +- package/ltp-testsuite/ltp-testsuite.mk | 2 +- 3 files changed, 3 insertions(+), 57 deletions(-) diff --git a/package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch b/package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch deleted file mode 100644 index 740d3a6d6a..0000000000 --- a/package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 30353a1eb3ee8940f38d6a0e8f5f39352fd8a179 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 26 Feb 2023 20:25:54 +0100 -Subject: [PATCH] configure.ac: fix mount_attr detection -Upstream: https://github.com/linux-test-project/ltp/commit/30353a1eb3ee8940f38d6a0e8f5f39352fd8a179 - -Commit b857f8723f30a4b9554bf6b0ff8fa52fd07e8b60 tried to fix build with -latest glibc which provides mount_attr in sys/mount.h. Unfortunately, -the following build failure is still raised because sys/mount is now -unconditionally included in include/lapi/fsmount.h: - -In file included from fsconfig01.c:9: -../../../../include/lapi/fsmount.h:55:8: error: redefinition of 'struct mount_attr' - 55 | struct mount_attr { - | ^~~~~~~~~~ -In file included from ../../../../include/lapi/fsmount.h:14: -/home/autobuild/autobuild/instance-4/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/sys/mount.h:210:8: note: originally defined here - 210 | struct mount_attr - | ^~~~~~~~~~ - -Fixes: b857f8723 ("lapi/fsmount: resolve conflict in different header files") -Fixes: http://autobuild.buildroot.org/results/4dbb72e1bf081afd3cd944571b9beeefc7608865 -Link: https://lore.kernel.org/ltp/20230226192554.669332-1-fontaine.fabrice at gmail.com/ -Reviewed-by: Li Wang -[ pvorel: fix from b857f8723 is needed for glibc before glibc-2.37~426, -i.e. without fix 774058d729 ("linux: Fix sys/mount.h usage with kernel headers") -(which was backported to 2.35 and 2.34 maintenance). ] -Reviewed-by: Petr Vorel -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 114468ae3..4c8763376 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -224,10 +224,10 @@ AC_CHECK_TYPES([struct __kernel_old_timeval, struct __kernel_old_timespec, struc - - AC_CHECK_TYPES([struct futex_waitv],,,[#include ]) - AC_CHECK_TYPES([struct mount_attr],,,[ --#ifdef HAVE_LINUX_MOUNT_H --# include --#else -+#ifdef HAVE_MOUNT_SETATTR - # include -+#elif HAVE_LINUX_MOUNT_H -+# include - #endif - ]) - --- -2.40.0 - diff --git a/package/ltp-testsuite/ltp-testsuite.hash b/package/ltp-testsuite/ltp-testsuite.hash index 59ba5d0045..2e84e978d1 100644 --- a/package/ltp-testsuite/ltp-testsuite.hash +++ b/package/ltp-testsuite/ltp-testsuite.hash @@ -1,4 +1,4 @@ -# From: https://github.com/linux-test-project/ltp/releases/download/20230127/ltp-full-20230127.tar.xz.sha256 -sha256 254412a52c7238f35a247337da186f485e76fb64c6549ed849b3442fc7a417ef ltp-full-20230127.tar.xz +# From: https://github.com/linux-test-project/ltp/releases/download/20230929/ltp-full-20230929.tar.xz.sha256 +sha256 eb161ff8f1966a1f3428fd4561eb20ebb9f83b7519e35cc12fc66bcfa7983b6b ltp-full-20230929.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk index 78271b0730..2a8c12fc25 100644 --- a/package/ltp-testsuite/ltp-testsuite.mk +++ b/package/ltp-testsuite/ltp-testsuite.mk @@ -4,7 +4,7 @@ # ################################################################################ -LTP_TESTSUITE_VERSION = 20230127 +LTP_TESTSUITE_VERSION = 20230929 LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).tar.xz LTP_TESTSUITE_SITE = https://github.com/linux-test-project/ltp/releases/download/$(LTP_TESTSUITE_VERSION) From peter at korsgaard.com Sun Oct 1 07:36:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 09:36:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/ethtool: bump to version 6.5 In-Reply-To: <20230930220352.227651-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 00:03:52 +0200") References: <20230930220352.227651-1-fontaine.fabrice@gmail.com> Message-ID: <87jzs67q0e.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/tree/NEWS?id=849ab2644bb80af40493c55c7456ed27e483a315 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 07:36:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 09:36:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltp-testsuite: bump version to 20230929 In-Reply-To: <20230930201702.985948-1-pevik@seznam.cz> (Petr Vorel's message of "Sat, 30 Sep 2023 22:17:02 +0200") References: <20230930201702.985948-1-pevik@seznam.cz> Message-ID: <87fs2u7q05.fsf@48ers.dk> >>>>> "Petr" == Petr Vorel writes: > From: Petr Vorel > Remove backported patch from this release. > Upstream commit from this release [1] very likely fixes failure > undefined reference to `__stack_chk_fail'. > [1] https://github.com/linux-test-project/ltp/commit/72891ca1efb61787cc78a81ef3e379f3fea77ac1 > Signed-off-by: Petr Vorel Committed, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Sun Oct 1 08:21:50 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 10:21:50 +0200 Subject: [Buildroot] package/pkg-python.mk: refactor setup-type variables In-Reply-To: References: <20230930221727.1458825-1-arnout@mind.be> Message-ID: <4ea102e8-0fb6-b158-c96a-b1d9d6004925@mind.be> On 01/10/2023 06:05, James Hilliard wrote: > On Sat, Sep 30, 2023 at 4:17?PM Arnout Vandecappelle wrote: >> >> Most of the python-package infrastructure consists of a big conditional >> tree that sets various variables based on the package's setup type. >> Initially, this was quite OK, but since we have 7 different setup types >> now, some of which share some variables with others, it's becoming quite >> complicated and hard to read. > > It might be a good idea to apply my setuptools pep517 patch first which > simplifies things a bit by largely combining the setuptools setup type with > pep517 builds. > > https://patchwork.ozlabs.org/project/buildroot/patch/20230930152517.1077576-3-james.hilliard1 at gmail.com/ Yeah, my series was already finished when you sent that, but the testing took more than 24 hours... The two will conflict with each other, obviously, but I think they can be applied in either order. > We can probably drop distutils setup type as well as we should be able to > instead just use setuptools for any packages using that. That's a bit a longer-term project. That said, assuming that distutils is gone, do you think the current condition tree would be simpler than the indirect variables that my series ends up with? Regards, Arnout [snip] From james.hilliard1 at gmail.com Sun Oct 1 08:41:17 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 02:41:17 -0600 Subject: [Buildroot] package/pkg-python.mk: refactor setup-type variables In-Reply-To: <4ea102e8-0fb6-b158-c96a-b1d9d6004925@mind.be> References: <20230930221727.1458825-1-arnout@mind.be> <4ea102e8-0fb6-b158-c96a-b1d9d6004925@mind.be> Message-ID: On Sun, Oct 1, 2023 at 2:21?AM Arnout Vandecappelle wrote: > > > > On 01/10/2023 06:05, James Hilliard wrote: > > On Sat, Sep 30, 2023 at 4:17?PM Arnout Vandecappelle wrote: > >> > >> Most of the python-package infrastructure consists of a big conditional > >> tree that sets various variables based on the package's setup type. > >> Initially, this was quite OK, but since we have 7 different setup types > >> now, some of which share some variables with others, it's becoming quite > >> complicated and hard to read. > > > > It might be a good idea to apply my setuptools pep517 patch first which > > simplifies things a bit by largely combining the setuptools setup type with > > pep517 builds. > > > > https://patchwork.ozlabs.org/project/buildroot/patch/20230930152517.1077576-3-james.hilliard1 at gmail.com/ > > Yeah, my series was already finished when you sent that, but the testing took > more than 24 hours... > > The two will conflict with each other, obviously, but I think they can be > applied in either order. True, however the complexity reduction of the pep517 migration should also simplify your series a bit and make it a lot easier to review. > > > > We can probably drop distutils setup type as well as we should be able to > > instead just use setuptools for any packages using that. > > That's a bit a longer-term project. I only see 4 packages still using distutils still so assuming they work ok under setuptools this may actually be quite simple. I'll try and test if those build under setuptools and migrate them if they do. > > That said, assuming that distutils is gone, do you think the current condition > tree would be simpler than the indirect variables that my series ends up with? It's a little hard to tell, ultimately we're only going to have pep517 style builds for everything plus flit-core-boostrap for bootstrapping our pep517 toolchain since the entire python ecosystem appears to have moved to pep517 packaging. > > Regards, > Arnout > > [snip] From thomas.petazzoni at bootlin.com Sun Oct 1 09:02:03 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 11:02:03 +0200 Subject: [Buildroot] [git commit] boot/at91bootstrap: disable PIE and stack-protector build flags Message-ID: <20231001090317.7670A83D8E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1351222486b93b72c00057fb3401d40967025164 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The toolchain wrapper automatically adds Position Independent Execution and stack protector flags in the build process when selected in the configuration. at91bootstrap being freestanding code, it doesn't support these, so we have to disable them. Signed-off-by: Kory Maincent Signed-off-by: Thomas Petazzoni --- boot/at91bootstrap/at91bootstrap.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk index 1a084756fd..385957b5d4 100644 --- a/boot/at91bootstrap/at91bootstrap.mk +++ b/boot/at91bootstrap/at91bootstrap.mk @@ -32,8 +32,14 @@ endef AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES endif +# The at91bootstrap Makefile doesn't support customizing +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and +# LD. define AT91BOOTSTRAP_BUILD_CMDS - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ + CC="$(TARGET_CC) -fno-stack-protector" \ + LD="$(TARGET_CC) -fno-PIE" \ + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) endef define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS From thomas.petazzoni at bootlin.com Sun Oct 1 09:04:22 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 11:04:22 +0200 Subject: [Buildroot] [PATCH] boot/at91bootstrap: disable PIE and stack-protector build flags In-Reply-To: <20221004125242.136925-1-kory.maincent@bootlin.com> References: <20221004125242.136925-1-kory.maincent@bootlin.com> Message-ID: <20231001110422.0810c899@windsurf> Hello K?ry, On Tue, 4 Oct 2022 14:52:41 +0200 K?ry Maincent via buildroot wrote: > From: Kory Maincent > > The toolchain wrapper add automatically Position Independent Execution > and stack protector flags in the build process when selected in the > configuration. at91bootstrap does not support these, therefore I added a > patch to disable them in the Makefiles > > Signed-off-by: Kory Maincent > --- > ...ck-protector-and-the-PIE-build-flags.patch | 502 ++++++++++++++++++ > 1 file changed, 502 insertions(+) > create mode 100644 boot/at91bootstrap/0004-ensure-the-stack-protector-and-the-PIE-build-flags.patch Thanks for the patch. However, the at91bootstrap patch was highly repetitive, and we have no chance of merging it upstream since upstream is essentially dead. So instead, I committed this: +# The at91bootstrap Makefile doesn't support customizing +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and +# LD. define AT91BOOTSTRAP_BUILD_CMDS - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ + CC="$(TARGET_CC) -fno-stack-protector" \ + LD="$(TARGET_CC) -fno-PIE" \ + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) endef which achieves exactly the same, but is more concise. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From wbx at openadk.org Sun Oct 1 09:10:33 2023 From: wbx at openadk.org (Waldemar Brodkorb) Date: Sun, 1 Oct 2023 11:10:33 +0200 Subject: [Buildroot] [PATCH v2] package/glibc: enable for m68k with MMU Message-ID: For qemu-system-m68k with emulates Q800 machine we need to add patches for glibc to let it compile and run on m68k cpu m68040. See here for discussions about the issue: https://sourceware.org/bugzilla/show_bug.cgi?id=30740 Signed-off-by: Waldemar Brodkorb --- v1 -> v2: - refresh patches from glibc git, requested by Romain Naour --- ...d-with-mcpu-68040-or-higher-BZ-30740.patch | 57 ++++++++++++ ...shift-and-__mpn_rshift-for-non-68020.patch | 47 ++++++++++ ...ALE_AVAILABLE-on-__mpn_lshift-and-__.patch | 93 +++++++++++++++++++ package/glibc/Config.in | 1 + 4 files changed, 198 insertions(+) create mode 100644 package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch create mode 100644 package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch create mode 100644 package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch diff --git a/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch new file mode 100644 index 0000000000..61f48e5893 --- /dev/null +++ b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch @@ -0,0 +1,57 @@ +From b85880633f69b737050c22eede858f8c13bb2248 Mon Sep 17 00:00:00 2001 +From: Adhemerval Zanella +Date: Fri, 18 Aug 2023 14:59:51 -0300 +Subject: [PATCH] m68k: Fix build with -mcpu=68040 or higher (BZ 30740) + +GCC currently does not define __mc68020__ for -mcpu=68040 or higher, +which memcpy/memmove assumptions. Since this memory copy optimization +seems only intended for m68020, disable for other m680X0 variants. + +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b85880633f69b737050c22eede858f8c13bb2248 +--- + sysdeps/m68k/m680x0/m68020/wordcopy.S | 1 - + sysdeps/m68k/wordcopy.c | 21 +++++++++++++++++++++ + 2 files changed, 21 insertions(+), 1 deletion(-) + delete mode 100644 sysdeps/m68k/m680x0/m68020/wordcopy.S + create mode 100644 sysdeps/m68k/wordcopy.c + +diff --git a/sysdeps/m68k/m680x0/m68020/wordcopy.S b/sysdeps/m68k/m680x0/m68020/wordcopy.S +deleted file mode 100644 +index 4fb1a4518f..0000000000 +--- a/sysdeps/m68k/m680x0/m68020/wordcopy.S ++++ /dev/null +@@ -1 +0,0 @@ +-/* Empty, not needed. */ +diff --git a/sysdeps/m68k/wordcopy.c b/sysdeps/m68k/wordcopy.c +new file mode 100644 +index 0000000000..f12d5b7803 +--- /dev/null ++++ b/sysdeps/m68k/wordcopy.c +@@ -0,0 +1,21 @@ ++/* Definitions for memory copy functions. Motorola 680X0 version ++ Copyright (C) 2023 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library. If not, see ++ . */ ++ ++#ifndef __mc68020__ ++# include ++#endif +-- +2.39.2 + diff --git a/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch new file mode 100644 index 0000000000..256da58d66 --- /dev/null +++ b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch @@ -0,0 +1,47 @@ +From 464fd8249e8b791248cab7b0e0cd91757435fa9e Mon Sep 17 00:00:00 2001 +From: Andreas Schwab +Date: Thu, 17 Aug 2023 17:15:34 +0200 +Subject: [PATCH] m68k: fix __mpn_lshift and __mpn_rshift for non-68020 + +From revision 03f3d275d0d6 in the gmp repository. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=464fd8249e8b791248cab7b0e0cd91757435fa9e +--- + sysdeps/m68k/m680x0/lshift.S | 4 ++-- + sysdeps/m68k/m680x0/rshift.S | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S +index 2aee10348e..4240738959 100644 +--- a/sysdeps/m68k/m680x0/lshift.S ++++ b/sysdeps/m68k/m680x0/lshift.S +@@ -77,8 +77,8 @@ L(Lnormal:) + #else /* not mc68000 */ + movel R(s_size),R(d0) + asll #2,R(d0) +- addl R(s_size),R(s_ptr) +- addl R(s_size),R(res_ptr) ++ addl R(d0),R(s_ptr) ++ addl R(d0),R(res_ptr) + #endif + movel MEM_PREDEC(s_ptr),R(d2) + movel R(d2),R(d0) +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S +index d16bca9307..d56a2b4a44 100644 +--- a/sysdeps/m68k/m680x0/rshift.S ++++ b/sysdeps/m68k/m680x0/rshift.S +@@ -127,8 +127,8 @@ L(Lspecial:) + #else /* not mc68000 */ + movel R(s_size),R(d0) + asll #2,R(d0) +- addl R(s_size),R(s_ptr) +- addl R(s_size),R(res_ptr) ++ addl R(d0),R(s_ptr) ++ addl R(d0),R(res_ptr) + #endif + + clrl R(d0) /* initialize carry */ +-- +2.39.2 + diff --git a/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch new file mode 100644 index 0000000000..2ea190eb5a --- /dev/null +++ b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch @@ -0,0 +1,93 @@ +From 87ced255bdf2681f5bf6c89d7121e59f6f342161 Mon Sep 17 00:00:00 2001 +From: Adhemerval Zanella +Date: Fri, 18 Aug 2023 14:49:31 -0300 +Subject: [PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and + __mpn_rshift + +This patch adds a new macro, M68K_SCALE_AVAILABLE, similar to gmp +scale_available_p (mpn/m68k/m68k-defs.m4) that expand to 1 if a +scale factor can be used in addressing modes. This is used +instead of __mc68020__ for some optimization decisions. + +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=87ced255bdf2681f5bf6c89d7121e59f6f342161 +--- + sysdeps/m68k/m680x0/lshift.S | 6 +++--- + sysdeps/m68k/m680x0/rshift.S | 8 ++++---- + sysdeps/m68k/m680x0/sysdep.h | 7 +++++++ + 3 files changed, 14 insertions(+), 7 deletions(-) + +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S +index 4240738959..74de90380b 100644 +--- a/sysdeps/m68k/m680x0/lshift.S ++++ b/sysdeps/m68k/m680x0/lshift.S +@@ -57,9 +57,9 @@ ENTRY(__mpn_lshift) + bne L(Lnormal) + cmpl R(s_ptr),R(res_ptr) + bls L(Lspecial) /* jump if s_ptr >= res_ptr */ +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(a2) +-#else /* not mc68020 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + lea MEM_INDX(s_ptr,d0,l),R(a2) +@@ -71,7 +71,7 @@ L(Lnormal:) + moveql #32,R(d5) + subl R(cnt),R(d5) + +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) + #else /* not mc68000 */ +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S +index d56a2b4a44..d398d0287e 100644 +--- a/sysdeps/m68k/m680x0/rshift.S ++++ b/sysdeps/m68k/m680x0/rshift.S +@@ -56,9 +56,9 @@ ENTRY(__mpn_rshift) + bne L(Lnormal) + cmpl R(res_ptr),R(s_ptr) + bls L(Lspecial) /* jump if res_ptr >= s_ptr */ +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(res_ptr,s_size,l,4),R(a2) +-#else /* not mc68020 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + lea MEM_INDX(res_ptr,d0,l),R(a2) +@@ -121,10 +121,10 @@ L(Lend:) + + cfi_restore_state + L(Lspecial:) +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) +-#else /* not mc68000 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + addl R(d0),R(s_ptr) +diff --git a/sysdeps/m68k/m680x0/sysdep.h b/sysdeps/m68k/m680x0/sysdep.h +index b31e101273..bee5b3391c 100644 +--- a/sysdeps/m68k/m680x0/sysdep.h ++++ b/sysdeps/m68k/m680x0/sysdep.h +@@ -37,3 +37,10 @@ + OP " " SRC "(" PC "), " DST + + #endif /* __ASSEMBLER__ */ ++ ++# if defined __mc68020__ || defined __mc68030__ || defined __mc68040__ \ ++ || defined __mc68060__ ++# define M68K_SCALE_AVAILABLE 1 ++# else ++# define M68K_SCALE_AVAILABLE 0 ++# endif +-- +2.39.2 + diff --git a/package/glibc/Config.in b/package/glibc/Config.in index d894507b89..81c64083f4 100644 --- a/package/glibc/Config.in +++ b/package/glibc/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_aarch64_be default y if BR2_i386 + default y if BR2_m68k_m68k default y if BR2_mips default y if BR2_mipsel default y if BR2_mips64 -- 2.39.2 From james.hilliard1 at gmail.com Sun Oct 1 09:16:16 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:16:16 -0600 Subject: [Buildroot] [PATCH 1/1] package/scons: switch from distutils to setuptools Message-ID: <20231001091616.1771725-1-james.hilliard1@gmail.com> distutils will be dropped with python 3.12. Remove no longer required --install-lib install option which was originally added in b08979477d65203b9b90c88d2a00246342c0b56a to work around a gentoo bug which predates scons using our python infrastructure and is unlikely to be relevant at all anymore. Signed-off-by: James Hilliard --- package/scons/scons.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package/scons/scons.mk b/package/scons/scons.mk index 6b75d3ddca..170c443fbe 100644 --- a/package/scons/scons.mk +++ b/package/scons/scons.mk @@ -8,10 +8,7 @@ SCONS_VERSION = 3.1.2 SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION) SCONS_LICENSE = MIT SCONS_LICENSE_FILES = LICENSE.txt -SCONS_SETUP_TYPE = distutils - -HOST_SCONS_INSTALL_OPTS = \ - --install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION) +SCONS_SETUP_TYPE = setuptools $(eval $(host-python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 1 09:18:02 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:18:02 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pygame: switch from distutils to setuptools Message-ID: <20231001091802.1771968-1-james.hilliard1@gmail.com> distutils will be dropped with python 3.12. Signed-off-by: James Hilliard --- package/python-pygame/python-pygame.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-pygame/python-pygame.mk b/package/python-pygame/python-pygame.mk index 600dd9e743..84fd6df4e2 100644 --- a/package/python-pygame/python-pygame.mk +++ b/package/python-pygame/python-pygame.mk @@ -10,7 +10,7 @@ PYTHON_PYGAME_VERSION = d61ea8eabd56 PYTHON_PYGAME_SOURCE = pygame-$(PYTHON_PYGAME_VERSION).tar.gz PYTHON_PYGAME_SITE = https://bitbucket.org/pygame/pygame PYTHON_PYGAME_SITE_METHOD = hg -PYTHON_PYGAME_SETUP_TYPE = distutils +PYTHON_PYGAME_SETUP_TYPE = setuptools PYTHON_PYGAME_LICENSE = LGPL-2.1+ PYTHON_PYGAME_LICENSE_FILES = LGPL -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 1 09:19:43 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:19:43 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pyxb: switch from distutils to setuptools Message-ID: <20231001091943.1772441-1-james.hilliard1@gmail.com> distutils will be dropped with python 3.12. Signed-off-by: James Hilliard --- package/python-pyxb/python-pyxb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-pyxb/python-pyxb.mk b/package/python-pyxb/python-pyxb.mk index 6af10b51e7..8015bc874a 100644 --- a/package/python-pyxb/python-pyxb.mk +++ b/package/python-pyxb/python-pyxb.mk @@ -9,6 +9,6 @@ PYTHON_PYXB_SOURCE = PyXB-$(PYTHON_PYXB_VERSION).tar.gz PYTHON_PYXB_SITE = https://pypi.python.org/packages/e3/09/4fdb190ea2b7cb43d6d3e745276ee69f4d6181be70fcbfda7df3c5f72f0e PYTHON_PYXB_LICENSE = Apache-2.0 PYTHON_PYXB_LICENSE_FILES = LICENSE -PYTHON_PYXB_SETUP_TYPE = distutils +PYTHON_PYXB_SETUP_TYPE = setuptools $(eval $(python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 1 09:21:09 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:21:09 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-systemd: switch from distutils to setuptools Message-ID: <20231001092109.1772658-1-james.hilliard1@gmail.com> distutils will be dropped with python 3.12. Signed-off-by: James Hilliard --- package/python-systemd/python-systemd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-systemd/python-systemd.mk b/package/python-systemd/python-systemd.mk index 3ccfd57ce5..7e45b35e38 100644 --- a/package/python-systemd/python-systemd.mk +++ b/package/python-systemd/python-systemd.mk @@ -7,7 +7,7 @@ PYTHON_SYSTEMD_VERSION = 234 # Should be kept in sync with $(SYSTEMD_VERSION) PYTHON_SYSTEMD_SOURCE = systemd-python-$(PYTHON_SYSTEMD_VERSION).tar.gz PYTHON_SYSTEMD_SITE = https://pypi.python.org/packages/e8/a8/00ba0f605837a8f69523e6c3a4fb14675a6430c163f836540129c50b3aef -PYTHON_SYSTEMD_SETUP_TYPE = distutils +PYTHON_SYSTEMD_SETUP_TYPE = setuptools PYTHON_SYSTEMD_LICENSE = LGPL-2.1 PYTHON_SYSTEMD_LICENSE_FILES = LICENSE.txt PYTHON_SYSTEMD_DEPENDENCIES = systemd # To be able to link against libsystemd -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 1 09:25:49 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:25:49 -0600 Subject: [Buildroot] package/pkg-python.mk: refactor setup-type variables In-Reply-To: References: <20230930221727.1458825-1-arnout@mind.be> <4ea102e8-0fb6-b158-c96a-b1d9d6004925@mind.be> Message-ID: On Sun, Oct 1, 2023 at 2:41?AM James Hilliard wrote: > > On Sun, Oct 1, 2023 at 2:21?AM Arnout Vandecappelle wrote: > > > > > We can probably drop distutils setup type as well as we should be able to > > > instead just use setuptools for any packages using that. > > > > That's a bit a longer-term project. > > I only see 4 packages still using distutils still so assuming they work ok under > setuptools this may actually be quite simple. > > I'll try and test if those build under setuptools and migrate them if they do. > Yeah, they all seem to build fine under setuptools, I sent patches migrating those so we should be good to remove our distutils infrastructure any time after those are merged I think. https://patchwork.ozlabs.org/project/buildroot/patch/20231001091616.1771725-1-james.hilliard1 at gmail.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231001091802.1771968-1-james.hilliard1 at gmail.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231001091943.1772441-1-james.hilliard1 at gmail.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231001092109.1772658-1-james.hilliard1 at gmail.com/ From peter at korsgaard.com Sun Oct 1 09:44:08 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 11:44:08 +0200 Subject: [Buildroot] [PATCH] package/gnuplot: unbreak !gd builds since 5.4.9 bump Message-ID: <20231001094408.3880093-1-peter@korsgaard.com> Fixes: http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/ Fix a build failure for --without-gd builds since the bump to 5.4.9 with commit 6dc3d3c3606 (package/gnuplot: bump version to 5.4.9): In file included from term.h:298, from term.c:1211: ../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant 4016 | fputs("%%%%BeginImage\n", gppsfile); Add a patch fixing that. Signed-off-by: Peter Korsgaard --- ...-unbreak-HAVE_DEFLATE_ENCODER-builds.patch | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch diff --git a/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch b/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch new file mode 100644 index 0000000000..c3edb39cc6 --- /dev/null +++ b/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch @@ -0,0 +1,51 @@ +From 84002a5bd7f4cb10e9beffab88ae55b4e982bcea Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Sun, 1 Oct 2023 10:20:31 +0200 +Subject: [PATCH] term/post.trm: unbreak !HAVE_DEFLATE_ENCODER builds + +Commit 2f2cf617808 (post: handle RGBA images (only current use is to render +a pixmap)) added an extra '}' outside the HAVE_DEFLATE_ENCODER (gd support) +conditional, leading to build breakage: + +In file included from term.h:298, + from term.c:1211: +../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant + 4016 | fputs("%%%%BeginImage\n", gppsfile); + +http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/build-end.log + +Fix it by dropping the extra { } added by the above commit. + +Signed-off-by: Peter Korsgaard +Upstream: https://sourceforge.net/p/gnuplot/gnuplot-main/merge-requests/28/ +--- + term/post.trm | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/term/post.trm b/term/post.trm +index 186eb9d3c..100811b86 100644 +--- a/term/post.trm ++++ b/term/post.trm +@@ -4000,17 +4000,16 @@ PS_image (unsigned int M, unsigned int N, coordval *image, gpiPoint *corner, t_i + cscale = 1.0; + + #ifdef HAVE_DEFLATE_ENCODER +- if (ps_params->level3) { ++ if (ps_params->level3) + encoded_image = (void *)PS_encode_png_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + &num_encoded_bytes); +- } else { ++ else + #endif + encoded_image = PS_encode_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + (ps_params->level1 ? PS_ASCII_HEX : PS_ASCII85), + &num_encoded_bytes); +- } + + + fputs("%%%%BeginImage\n", gppsfile); +-- +2.30.2 + -- 2.30.2 From peter at korsgaard.com Sun Oct 1 09:48:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 11:48:38 +0200 Subject: [Buildroot] [PATCH] package/linux-tools: fix SysV init script In-Reply-To: <20230923100035.1504933-1-mail@jens-maus.de> (Jens Maus via buildroot's message of "Sat, 23 Sep 2023 12:00:35 +0200") References: <20230923100035.1504933-1-mail@jens-maus.de> Message-ID: <87bkdi7jwp.fsf@48ers.dk> >>>>> "Jens" == Jens Maus via buildroot writes: > This commit fixes the S10hyperv SysV init script which expects binaries > to be locate in /sbin while they are installed in /usr/sbin. Please > note, that the systemd init scripts correctly reference them. > Furthermore, the SysV init script did not check for an actual HyperV > environment to be present, which is also corrected. In addition, this > commit also fixes check-package warnings regarding a missing DAEMON > definition. > Signed-off-by: Jens Maus > --- > package/linux-tools/S10hyperv | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) This means we can now drop the entry in .checkpackageignore. Committed with that included, thanks. -- Bye, Peter Korsgaard From romain.naour at smile.fr Sun Oct 1 09:49:54 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 11:49:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/mesa3d: rework dri3 handling In-Reply-To: <20230729180250.1494674-1-bernd@kuhls.net> References: <20230729180250.1494674-1-bernd@kuhls.net> Message-ID: Hello Bernd, Le 29/07/2023 ? 20:02, Bernd Kuhls a ?crit?: > From: Bernd Kuhls > > While fixing a build error > > ../src/egl/drivers/dri2/platform_x11.c: In function 'dri2_x11_get_msc_rate': > ../src/egl/drivers/dri2/platform_x11.c:1229:44: > error: 'struct dri2_egl_display' has no member named 'screen_resources' > > with this defconfig: > > BR2_x86_64=y > BR2_TOOLCHAIN_BUILDROOT_CXX=y > BR2_PACKAGE_MESA3D=y > BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS=y > BR2_PACKAGE_MESA3D_OPENGL_GLX=y > BR2_PACKAGE_MESA3D_OPENGL_EGL=y > BR2_PACKAGE_MESA3D_OPENGL_ES=y > BR2_PACKAGE_XORG7=y I'm able to reproduce this build issue. But I can't find any autobuilder link. > > (crocus and i915 drivers are also affected) it turns out that we can > assume the need for dri3 support when X.org is enabled as a hard depen- > dency even if mesa3d's configure does not throw errors when missing, > like for the Intel drivers. Are we sure that there no corner case where mesa3d's configure script can throw an error? Otherwise we "only have" to add some select dri3 on iris, crocus and i915 driver. > > Before this patch these Config.in options were used: > > config BR2_PACKAGE_MESA3D_DRI3 > select BR2_PACKAGE_XLIB_LIBXSHMFENCE > select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > > which can be translated into: > > select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XORG7 > > and used at option BR2_PACKAGE_MESA3D_DRIVER. > > Configure option -Ddri3=enabled is passed to mesa3d when at least one > driver is enabled along with X.org: > ifeq ($(BR2_PACKAGE_MESA3D_DRIVER)$(BR2_PACKAGE_XORG7),yy) Have you tested on other driver than the Intel drivers ? Best regards, Romain > > Signed-off-by: Bernd Kuhls > --- > package/mesa3d/Config.in | 14 ++------------ > package/mesa3d/mesa3d.mk | 4 +--- > 2 files changed, 3 insertions(+), 15 deletions(-) > > diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in > index c7ee2a8db0..542d57e72c 100644 > --- a/package/mesa3d/Config.in > +++ b/package/mesa3d/Config.in > @@ -56,11 +56,7 @@ config BR2_PACKAGE_MESA3D_OPENCL > select BR2_PACKAGE_LIBCLC > select BR2_PACKAGE_HAS_LIBOPENCL > > -# inform the .mk file of gallium, dri, dri3 or vulkan driver selection > -config BR2_PACKAGE_MESA3D_DRI3 > - bool > - select BR2_PACKAGE_XLIB_LIBXSHMFENCE > - > +# inform the .mk file of gallium or vulkan driver selection > config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > bool > select BR2_PACKAGE_MESA3D_DRIVER > @@ -71,6 +67,7 @@ config BR2_PACKAGE_MESA3D_VULKAN_DRIVER > > config BR2_PACKAGE_MESA3D_DRIVER > bool > + select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XORG7 > > # Gallium xa state tracker. > # Quote from mesa3d meson.build: "XA state tracker requires at least > @@ -103,7 +100,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_CROCUS > config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV > bool "Gallium Etnaviv driver" > depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > select BR2_PACKAGE_LIBDRM_ETNAVIV > help > @@ -117,7 +113,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO > # can't see is just spurious. However, that dependency is about > # the toolchain having sync4 primitives, which is always a given > # for arm/aarch64. > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > select BR2_PACKAGE_LIBDRM_FREEDRENO > help > @@ -141,7 +136,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS > config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA > bool "Gallium lima driver" > depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > help > Mesa driver for ARM Mali Utgard GPUs. > @@ -158,7 +152,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU > config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST > bool "Gallium panfrost driver" > depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > help > Mesa driver for ARM Mali Midgard and Bifrost GPUs. > @@ -247,7 +240,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D > bool "Gallium v3d driver" > depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64 > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 # runtime > select BR2_PACKAGE_MESA3D_OPENGL_EGL > @@ -263,7 +255,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 > bool "Gallium vc4 driver" > depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64 > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > select BR2_PACKAGE_LIBDRM_VC4 > select BR2_PACKAGE_MESA3D_OPENGL_EGL > @@ -305,7 +296,6 @@ config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence > depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h > depends on BR2_TOOLCHAIN_USES_GLIBC # ifunc, static_assert > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_VULKAN_DRIVER > help > Vulkan driver for Intel hardware from Ivy Bridge onward. > diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk > index 6fa5c1c686..73f3b06518 100644 > --- a/package/mesa3d/mesa3d.mk > +++ b/package/mesa3d/mesa3d.mk > @@ -35,11 +35,9 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM),y) > MESA3D_CONF_OPTS += -Db_asneeded=false > endif > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI3),y) > +ifeq ($(BR2_PACKAGE_MESA3D_DRIVER)$(BR2_PACKAGE_XORG7),yy) > MESA3D_CONF_OPTS += -Ddri3=enabled > -ifeq ($(BR2_PACKAGE_XLIB_LIBXSHMFENCE),y) > MESA3D_DEPENDENCIES += xlib_libxshmfence > -endif > else > MESA3D_CONF_OPTS += -Ddri3=disabled > endif From peter at korsgaard.com Sun Oct 1 09:47:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 11:47:27 +0200 Subject: [Buildroot] [git commit] package/linux-tools: fix SysV init script Message-ID: <20231001095229.59C1383D99@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=14c4bd7bf8150283e158c50df87c77d63bb1b73c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This commit fixes the S10hyperv SysV init script which expects binaries to be locate in /sbin while they are installed in /usr/sbin. Please note, that the systemd init scripts correctly reference them. Furthermore, the SysV init script did not check for an actual HyperV environment to be present, which is also corrected. In addition, this commit also fixes check-package warnings regarding a missing DAEMON definition. Signed-off-by: Jens Maus [Peter: drop from .checkpackageignore] Signed-off-by: Peter Korsgaard --- .checkpackageignore | 1 - package/linux-tools/S10hyperv | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 95695fa243..28de1745e4 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -797,7 +797,6 @@ package/linux-fusion/0001-fix-for-linux-4-and-above.patch Upstream package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch Upstream package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch Upstream package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch Upstream -package/linux-tools/S10hyperv Variables package/linux-zigbee/0001-test-serial-Remove-test-serial.patch Upstream package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch Upstream package/linuxptp/S65ptp4l Indent Shellcheck diff --git a/package/linux-tools/S10hyperv b/package/linux-tools/S10hyperv index 32887d1b6c..be9ed2c5df 100644 --- a/package/linux-tools/S10hyperv +++ b/package/linux-tools/S10hyperv @@ -2,14 +2,18 @@ PROGS="@PROGS@" PIDDIR="/var/run" +DAEMON="hyperv" # shellcheck source=/dev/null -[ -r "/etc/default/hyperv" ] && . "/etc/default/hyperv" +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +# only continue if we are in a HyperV platform +[ -e "/sys/bus/vmbus" ] || exit 0 start_one() { printf 'Starting %s: ' "$1" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/sbin/$1" -- -n + start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/usr/sbin/$1" -- -n status=$? if [ "$status" -eq 0 ]; then echo "OK" From fontaine.fabrice at gmail.com Sun Oct 1 10:00:09 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 12:00:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/syslog-ng: fix libressl build Message-ID: <20231001100009.468927-1-fontaine.fabrice@gmail.com> Fox the following build failure with libressl raised since bump to version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); | ^~~~~~~~~~~~ | SSL_AEAD_CTX Fixes: - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b Signed-off-by: Fabrice Fontaine --- ...ort-tls-context.c-fix-libressl-build.patch | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch diff --git a/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch new file mode 100644 index 0000000000..17cc72b983 --- /dev/null +++ b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch @@ -0,0 +1,97 @@ +From ede106afd7d70a8f962acf10a4e3f4a50a70cb15 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Oct 2023 11:27:09 +0200 +Subject: [PATCH] lib/transport/tls-context.c: fix libressl build + +Fix the following build failure with libressl raised since version 4.0.0 +and +https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: + +lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': +lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? + 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); + | ^~~~~~~~~~~~ + | SSL_AEAD_CTX + +Fixes: + - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/syslog-ng/syslog-ng/pull/4655 +--- + cmake/openssl_functions.cmake | 1 + + configure.ac | 1 + + lib/transport/tls-context.c | 4 ++++ + syslog-ng-config.h.in | 1 + + 4 files changed, 7 insertions(+) + +diff --git a/cmake/openssl_functions.cmake b/cmake/openssl_functions.cmake +index 5afbd7f12..da06ca59a 100644 +--- a/cmake/openssl_functions.cmake ++++ b/cmake/openssl_functions.cmake +@@ -41,6 +41,7 @@ function (openssl_set_defines) + X509_get_extension_flags + DH_set0_pqg + BN_get_rfc3526_prime_2048 ++ SSL_CONF_CTX_new + SSL_CTX_set_num_tickets + SSL_CTX_set_ciphersuites + SSL_CTX_set1_sigalgs_list +diff --git a/configure.ac b/configure.ac +index d636bbefa..46e43db7b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1136,6 +1136,7 @@ AC_CHECK_DECLS([EVP_MD_CTX_reset], [], [], [[#include ]]) + AC_CHECK_DECLS([ASN1_STRING_get0_data], [], [], [[#include ]]) + AC_CHECK_DECLS([DH_set0_pqg], [], [], [[#include ]]) + AC_CHECK_DECLS([BN_get_rfc3526_prime_2048], [], [], [[#include ]]) ++AC_CHECK_DECLS([SSL_CONF_CTX_new],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set_num_tickets],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_sigalgs_list],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_client_sigalgs_list],[], [], [[#include ]]) +diff --git a/lib/transport/tls-context.c b/lib/transport/tls-context.c +index be2fea68d..713b63f31 100644 +--- a/lib/transport/tls-context.c ++++ b/lib/transport/tls-context.c +@@ -314,6 +314,7 @@ tls_context_setup_sigalgs(TLSContext *self) + return TRUE; + } + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + static gboolean + tls_context_setup_cmd_context(TLSContext *self) + { +@@ -347,6 +348,7 @@ tls_context_setup_cmd_context(TLSContext *self) + SSL_CONF_CTX_free(ssl_conf_ctx); + return result; + } ++#endif + + static PKCS12 * + _load_pkcs12_file(TLSContext *self, const gchar *pkcs12_file) +@@ -593,8 +595,10 @@ tls_context_setup_context(TLSContext *self) + if (!tls_context_setup_sigalgs(self)) + goto error; + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + if (!tls_context_setup_cmd_context(self)) + goto error; ++#endif + + return TLS_CONTEXT_SETUP_OK; + +diff --git a/syslog-ng-config.h.in b/syslog-ng-config.h.in +index 412294d2a..6d01b84a0 100644 +--- a/syslog-ng-config.h.in ++++ b/syslog-ng-config.h.in +@@ -60,6 +60,7 @@ + #cmakedefine ENV_LD_LIBRARY_PATH @ENV_LD_LIBRARY_PATH@ + #cmakedefine01 SYSLOG_NG_HAVE_DECL_EVP_MD_CTX_RESET + #cmakedefine01 SYSLOG_NG_HAVE_DECL_ASN1_STRING_GET0_DATA ++#cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_GET0_PARAM + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET_CIPHERSUITES + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET1_SIGALGS_LIST +-- +2.40.1 + -- 2.40.1 From fperrad at gmail.com Sun Oct 1 10:32:15 2023 From: fperrad at gmail.com (Francois Perrad) Date: Sun, 1 Oct 2023 12:32:15 +0200 Subject: [Buildroot] [PATCH] package/lua-mqtt: bump to version 0.3.1 Message-ID: <20231001103215.3333968-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/lua-mqtt/lua-mqtt.hash | 4 ++-- package/lua-mqtt/lua-mqtt.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/lua-mqtt/lua-mqtt.hash b/package/lua-mqtt/lua-mqtt.hash index 62f8f350f..fecd4dbbd 100644 --- a/package/lua-mqtt/lua-mqtt.hash +++ b/package/lua-mqtt/lua-mqtt.hash @@ -1,3 +1,3 @@ # computed by luarocks/buildroot -sha256 1b5ec0aebb2d41700762e3d6f542517c55b8cf44e323c53d55a47f19e22b664a lua-mqtt-0.3.0-1.src.rock -sha256 c8d12c868b979f5b9592eec503fc3de54e9feb92163f3cfc50a141ee2bcccc25 lua-mqtt-0.3.0/COPYRIGHT +sha256 0444119ab5a1230e38e35f3948db19e8dc6310991b419ca75e6660588f2d95f7 lua-mqtt-0.3.1-1.src.rock +sha256 c8d12c868b979f5b9592eec503fc3de54e9feb92163f3cfc50a141ee2bcccc25 lua-mqtt-0.3.1/COPYRIGHT diff --git a/package/lua-mqtt/lua-mqtt.mk b/package/lua-mqtt/lua-mqtt.mk index ff889237e..a000ffdb1 100644 --- a/package/lua-mqtt/lua-mqtt.mk +++ b/package/lua-mqtt/lua-mqtt.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUA_MQTT_VERSION = 0.3.0-1 +LUA_MQTT_VERSION = 0.3.1-1 LUA_MQTT_LICENSE = MIT LUA_MQTT_LICENSE_FILES = $(LUA_MQTT_SUBDIR)/COPYRIGHT -- 2.39.2 From romain.naour at smile.fr Sun Oct 1 10:34:34 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 12:34:34 +0200 Subject: [Buildroot] [PATCH v2] package/glibc: enable for m68k with MMU In-Reply-To: References: Message-ID: Hello Waldemar, Le 01/10/2023 ? 11:10, Waldemar Brodkorb a ?crit?: > For qemu-system-m68k with emulates Q800 machine we need to add patches > for glibc to let it compile and run on m68k cpu m68040. > See here for discussions about the issue: > https://sourceware.org/bugzilla/show_bug.cgi?id=30740 > Thank you for your quick reply! Here is my test result: Welcome to Buildroot buildroot login: root # uname -a Linux buildroot 6.1.44 #1 Sun Oct 1 12:23:12 CEST 2023 m68k GNU/Linux > Signed-off-by: Waldemar Brodkorb > --- > v1 -> v2: > - refresh patches from glibc git, requested by Romain Naour > --- > ...d-with-mcpu-68040-or-higher-BZ-30740.patch | 57 ++++++++++++ > ...shift-and-__mpn_rshift-for-non-68020.patch | 47 ++++++++++ > ...ALE_AVAILABLE-on-__mpn_lshift-and-__.patch | 93 +++++++++++++++++++ > package/glibc/Config.in | 1 + > 4 files changed, 198 insertions(+) > create mode 100644 package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch > create mode 100644 package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch > create mode 100644 package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch > > diff --git a/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch > new file mode 100644 > index 0000000000..61f48e5893 > --- /dev/null > +++ b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch > @@ -0,0 +1,57 @@ > +From b85880633f69b737050c22eede858f8c13bb2248 Mon Sep 17 00:00:00 2001 > +From: Adhemerval Zanella > +Date: Fri, 18 Aug 2023 14:59:51 -0300 > +Subject: [PATCH] m68k: Fix build with -mcpu=68040 or higher (BZ 30740) > + > +GCC currently does not define __mc68020__ for -mcpu=68040 or higher, > +which memcpy/memmove assumptions. Since this memory copy optimization > +seems only intended for m68020, disable for other m680X0 variants. > + > +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. > + > +Signed-off-by: Waldemar Brodkorb > +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b85880633f69b737050c22eede858f8c13bb2248 We usually add the Upstream tag above the SoB line. (can be fixed while applying) > +--- > + sysdeps/m68k/m680x0/m68020/wordcopy.S | 1 - > + sysdeps/m68k/wordcopy.c | 21 +++++++++++++++++++++ > + 2 files changed, 21 insertions(+), 1 deletion(-) > + delete mode 100644 sysdeps/m68k/m680x0/m68020/wordcopy.S > + create mode 100644 sysdeps/m68k/wordcopy.c > + > +diff --git a/sysdeps/m68k/m680x0/m68020/wordcopy.S b/sysdeps/m68k/m680x0/m68020/wordcopy.S > +deleted file mode 100644 > +index 4fb1a4518f..0000000000 > +--- a/sysdeps/m68k/m680x0/m68020/wordcopy.S > ++++ /dev/null > +@@ -1 +0,0 @@ > +-/* Empty, not needed. */ > +diff --git a/sysdeps/m68k/wordcopy.c b/sysdeps/m68k/wordcopy.c > +new file mode 100644 > +index 0000000000..f12d5b7803 > +--- /dev/null > ++++ b/sysdeps/m68k/wordcopy.c > +@@ -0,0 +1,21 @@ > ++/* Definitions for memory copy functions. Motorola 680X0 version > ++ Copyright (C) 2023 Free Software Foundation, Inc. > ++ This file is part of the GNU C Library. > ++ > ++ The GNU C Library is free software; you can redistribute it and/or > ++ modify it under the terms of the GNU Lesser General Public > ++ License as published by the Free Software Foundation; either > ++ version 2.1 of the License, or (at your option) any later version. > ++ > ++ The GNU C Library is distributed in the hope that it will be useful, > ++ but WITHOUT ANY WARRANTY; without even the implied warranty of > ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > ++ Lesser General Public License for more details. > ++ > ++ You should have received a copy of the GNU Lesser General Public > ++ License along with the GNU C Library. If not, see > ++ . */ > ++ > ++#ifndef __mc68020__ > ++# include > ++#endif > +-- > +2.39.2 > + > diff --git a/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch > new file mode 100644 > index 0000000000..256da58d66 > --- /dev/null > +++ b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch > @@ -0,0 +1,47 @@ > +From 464fd8249e8b791248cab7b0e0cd91757435fa9e Mon Sep 17 00:00:00 2001 > +From: Andreas Schwab > +Date: Thu, 17 Aug 2023 17:15:34 +0200 > +Subject: [PATCH] m68k: fix __mpn_lshift and __mpn_rshift for non-68020 > + > +From revision 03f3d275d0d6 in the gmp repository. > + > +Signed-off-by: Waldemar Brodkorb > +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=464fd8249e8b791248cab7b0e0cd91757435fa9e > +--- > + sysdeps/m68k/m680x0/lshift.S | 4 ++-- > + sysdeps/m68k/m680x0/rshift.S | 4 ++-- > + 2 files changed, 4 insertions(+), 4 deletions(-) > + > +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S > +index 2aee10348e..4240738959 100644 > +--- a/sysdeps/m68k/m680x0/lshift.S > ++++ b/sysdeps/m68k/m680x0/lshift.S > +@@ -77,8 +77,8 @@ L(Lnormal:) > + #else /* not mc68000 */ > + movel R(s_size),R(d0) > + asll #2,R(d0) > +- addl R(s_size),R(s_ptr) > +- addl R(s_size),R(res_ptr) > ++ addl R(d0),R(s_ptr) > ++ addl R(d0),R(res_ptr) > + #endif > + movel MEM_PREDEC(s_ptr),R(d2) > + movel R(d2),R(d0) > +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S > +index d16bca9307..d56a2b4a44 100644 > +--- a/sysdeps/m68k/m680x0/rshift.S > ++++ b/sysdeps/m68k/m680x0/rshift.S > +@@ -127,8 +127,8 @@ L(Lspecial:) > + #else /* not mc68000 */ > + movel R(s_size),R(d0) > + asll #2,R(d0) > +- addl R(s_size),R(s_ptr) > +- addl R(s_size),R(res_ptr) > ++ addl R(d0),R(s_ptr) > ++ addl R(d0),R(res_ptr) > + #endif > + > + clrl R(d0) /* initialize carry */ > +-- > +2.39.2 > + > diff --git a/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch > new file mode 100644 > index 0000000000..2ea190eb5a > --- /dev/null > +++ b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch > @@ -0,0 +1,93 @@ > +From 87ced255bdf2681f5bf6c89d7121e59f6f342161 Mon Sep 17 00:00:00 2001 > +From: Adhemerval Zanella > +Date: Fri, 18 Aug 2023 14:49:31 -0300 > +Subject: [PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and > + __mpn_rshift > + > +This patch adds a new macro, M68K_SCALE_AVAILABLE, similar to gmp > +scale_available_p (mpn/m68k/m68k-defs.m4) that expand to 1 if a > +scale factor can be used in addressing modes. This is used > +instead of __mc68020__ for some optimization decisions. > + > +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. > + > +Signed-off-by: Waldemar Brodkorb > +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=87ced255bdf2681f5bf6c89d7121e59f6f342161 > +--- > + sysdeps/m68k/m680x0/lshift.S | 6 +++--- > + sysdeps/m68k/m680x0/rshift.S | 8 ++++---- > + sysdeps/m68k/m680x0/sysdep.h | 7 +++++++ > + 3 files changed, 14 insertions(+), 7 deletions(-) > + > +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S > +index 4240738959..74de90380b 100644 > +--- a/sysdeps/m68k/m680x0/lshift.S > ++++ b/sysdeps/m68k/m680x0/lshift.S > +@@ -57,9 +57,9 @@ ENTRY(__mpn_lshift) > + bne L(Lnormal) > + cmpl R(s_ptr),R(res_ptr) > + bls L(Lspecial) /* jump if s_ptr >= res_ptr */ > +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) > ++#if M68K_SCALE_AVAILABLE > + lea MEM_INDX1(s_ptr,s_size,l,4),R(a2) > +-#else /* not mc68020 */ > ++#else > + movel R(s_size),R(d0) > + asll #2,R(d0) > + lea MEM_INDX(s_ptr,d0,l),R(a2) > +@@ -71,7 +71,7 @@ L(Lnormal:) > + moveql #32,R(d5) > + subl R(cnt),R(d5) > + > +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) > ++#if M68K_SCALE_AVAILABLE > + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) > + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) > + #else /* not mc68000 */ > +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S > +index d56a2b4a44..d398d0287e 100644 > +--- a/sysdeps/m68k/m680x0/rshift.S > ++++ b/sysdeps/m68k/m680x0/rshift.S > +@@ -56,9 +56,9 @@ ENTRY(__mpn_rshift) > + bne L(Lnormal) > + cmpl R(res_ptr),R(s_ptr) > + bls L(Lspecial) /* jump if res_ptr >= s_ptr */ > +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) > ++#if M68K_SCALE_AVAILABLE > + lea MEM_INDX1(res_ptr,s_size,l,4),R(a2) > +-#else /* not mc68020 */ > ++#else > + movel R(s_size),R(d0) > + asll #2,R(d0) > + lea MEM_INDX(res_ptr,d0,l),R(a2) > +@@ -121,10 +121,10 @@ L(Lend:) > + > + cfi_restore_state > + L(Lspecial:) > +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) > ++#if M68K_SCALE_AVAILABLE > + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) > + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) > +-#else /* not mc68000 */ > ++#else > + movel R(s_size),R(d0) > + asll #2,R(d0) > + addl R(d0),R(s_ptr) > +diff --git a/sysdeps/m68k/m680x0/sysdep.h b/sysdeps/m68k/m680x0/sysdep.h > +index b31e101273..bee5b3391c 100644 > +--- a/sysdeps/m68k/m680x0/sysdep.h > ++++ b/sysdeps/m68k/m680x0/sysdep.h > +@@ -37,3 +37,10 @@ > + OP " " SRC "(" PC "), " DST > + > + #endif /* __ASSEMBLER__ */ > ++ > ++# if defined __mc68020__ || defined __mc68030__ || defined __mc68040__ \ > ++ || defined __mc68060__ > ++# define M68K_SCALE_AVAILABLE 1 > ++# else > ++# define M68K_SCALE_AVAILABLE 0 > ++# endif > +-- > +2.39.2 > + > diff --git a/package/glibc/Config.in b/package/glibc/Config.in > index d894507b89..81c64083f4 100644 > --- a/package/glibc/Config.in > +++ b/package/glibc/Config.in > @@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS > default y if BR2_aarch64 > default y if BR2_aarch64_be > default y if BR2_i386 > + default y if BR2_m68k_m68k Note: With this patch applied, the qemu_m68k_q800_defconfig will new use glibc instead of uClibc-ng. Best regards, Romain > default y if BR2_mips > default y if BR2_mipsel > default y if BR2_mips64 From yann.morin.1998 at free.fr Sun Oct 1 10:38:44 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 12:38:44 +0200 Subject: [Buildroot] [PATCH 1/2] package/skeleton-init-systemd: copy over etc-factory content In-Reply-To: References: Message-ID: <20231001103844.GK2579@scaer> James, All, On 2023-05-05 00:30 -0400, James Knight spake thusly: > The systemd package will prepare the folder `/usr/share/factory/etc/`, > which holds a series of default configuration files for a runtime > state [1]. For example, the etc-factory repository holds the default > template for `/etc/pam.d/system-auth` which is required in a default > environment configured to use systemd with SELinux. Without this file > prepared, login attempts will fail with the message: > > ... buildroot login[242]: PAM _pam_load_conf_file: unable to open config for system-auth > ... > > To avoid this, when preparing the initial skeleton structure for systemd > environments, copy over fallback configurations defined in etc-factory > into the target's `etc` folder. If a file is already prepared at this > state, these template files will be ignored. Why is that not listed in the systemd tmpfiles, so that it is installed when running systemd-tmpfiles, either at runtime by systemd on a r/w filesystem, or at buildtime with BR2_INIT_SYSTEMD_POPULATE_TMPFILES ? Also, none of our runtime tests for systemd exhibits this login issue: support/testing/tests/init/test_systemd.py support/testing/tests/init/test_systemd_selinux.py Could you try to add a bit more explanations and context, please? Regards, Yann E. MORIN. > [1]: https://www.freedesktop.org/software/systemd/man/file-hierarchy.html > > Signed-off-by: James Knight > --- > package/skeleton-init-systemd/skeleton-init-systemd.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index fb15552f99eafcc90bc5fa9dfcee3ad465492b81..4076821c0c0429cf90681f4b16be114c44bde282 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -68,6 +68,13 @@ SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_CREATE_TMPFI > endif # BR2_INIT_SYSTEMD_POPULATE_TMPFILES > > define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS > + if [ -d $(TARGET_DIR)/usr/share/factory/etc ]; then \ > + rsync -av --ignore-existing --remove-source-files \ > + $(TARGET_DIR)/usr/share/factory/etc/ $(TARGET_DIR)/etc/; \ > + rm -rf $(TARGET_DIR)/usr/share/factory/etc/; \ > + rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share/factory; \ > + fi > + > mkdir -p $(TARGET_DIR)/home > mkdir -p $(TARGET_DIR)/srv > mkdir -p $(TARGET_DIR)/var > -- > 2.40.1.windows.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From romain.naour at smile.fr Sun Oct 1 10:03:12 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 12:03:12 +0200 Subject: [Buildroot] [git commit] package/glibc: enable for m68k with MMU Message-ID: <20231001104237.B434683DA6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=96aab3f078e8c6c571f0c1ca6dc252ee83897dfd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master For qemu-system-m68k with emulates Q800 machine we need to add patches for glibc to let it compile and run on m68k cpu m68040. See here for discussions about the issue: https://sourceware.org/bugzilla/show_bug.cgi?id=30740 Signed-off-by: Waldemar Brodkorb Signed-off-by: Romain Naour --- ...-build-with-mcpu-68040-or-higher-BZ-30740.patch | 57 +++++++++++++ ...mpn_lshift-and-__mpn_rshift-for-non-68020.patch | 47 +++++++++++ ...8K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch | 93 ++++++++++++++++++++++ package/glibc/Config.in | 1 + 4 files changed, 198 insertions(+) diff --git a/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch new file mode 100644 index 0000000000..61f48e5893 --- /dev/null +++ b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch @@ -0,0 +1,57 @@ +From b85880633f69b737050c22eede858f8c13bb2248 Mon Sep 17 00:00:00 2001 +From: Adhemerval Zanella +Date: Fri, 18 Aug 2023 14:59:51 -0300 +Subject: [PATCH] m68k: Fix build with -mcpu=68040 or higher (BZ 30740) + +GCC currently does not define __mc68020__ for -mcpu=68040 or higher, +which memcpy/memmove assumptions. Since this memory copy optimization +seems only intended for m68020, disable for other m680X0 variants. + +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b85880633f69b737050c22eede858f8c13bb2248 +--- + sysdeps/m68k/m680x0/m68020/wordcopy.S | 1 - + sysdeps/m68k/wordcopy.c | 21 +++++++++++++++++++++ + 2 files changed, 21 insertions(+), 1 deletion(-) + delete mode 100644 sysdeps/m68k/m680x0/m68020/wordcopy.S + create mode 100644 sysdeps/m68k/wordcopy.c + +diff --git a/sysdeps/m68k/m680x0/m68020/wordcopy.S b/sysdeps/m68k/m680x0/m68020/wordcopy.S +deleted file mode 100644 +index 4fb1a4518f..0000000000 +--- a/sysdeps/m68k/m680x0/m68020/wordcopy.S ++++ /dev/null +@@ -1 +0,0 @@ +-/* Empty, not needed. */ +diff --git a/sysdeps/m68k/wordcopy.c b/sysdeps/m68k/wordcopy.c +new file mode 100644 +index 0000000000..f12d5b7803 +--- /dev/null ++++ b/sysdeps/m68k/wordcopy.c +@@ -0,0 +1,21 @@ ++/* Definitions for memory copy functions. Motorola 680X0 version ++ Copyright (C) 2023 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library. If not, see ++ . */ ++ ++#ifndef __mc68020__ ++# include ++#endif +-- +2.39.2 + diff --git a/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch new file mode 100644 index 0000000000..256da58d66 --- /dev/null +++ b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch @@ -0,0 +1,47 @@ +From 464fd8249e8b791248cab7b0e0cd91757435fa9e Mon Sep 17 00:00:00 2001 +From: Andreas Schwab +Date: Thu, 17 Aug 2023 17:15:34 +0200 +Subject: [PATCH] m68k: fix __mpn_lshift and __mpn_rshift for non-68020 + +From revision 03f3d275d0d6 in the gmp repository. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=464fd8249e8b791248cab7b0e0cd91757435fa9e +--- + sysdeps/m68k/m680x0/lshift.S | 4 ++-- + sysdeps/m68k/m680x0/rshift.S | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S +index 2aee10348e..4240738959 100644 +--- a/sysdeps/m68k/m680x0/lshift.S ++++ b/sysdeps/m68k/m680x0/lshift.S +@@ -77,8 +77,8 @@ L(Lnormal:) + #else /* not mc68000 */ + movel R(s_size),R(d0) + asll #2,R(d0) +- addl R(s_size),R(s_ptr) +- addl R(s_size),R(res_ptr) ++ addl R(d0),R(s_ptr) ++ addl R(d0),R(res_ptr) + #endif + movel MEM_PREDEC(s_ptr),R(d2) + movel R(d2),R(d0) +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S +index d16bca9307..d56a2b4a44 100644 +--- a/sysdeps/m68k/m680x0/rshift.S ++++ b/sysdeps/m68k/m680x0/rshift.S +@@ -127,8 +127,8 @@ L(Lspecial:) + #else /* not mc68000 */ + movel R(s_size),R(d0) + asll #2,R(d0) +- addl R(s_size),R(s_ptr) +- addl R(s_size),R(res_ptr) ++ addl R(d0),R(s_ptr) ++ addl R(d0),R(res_ptr) + #endif + + clrl R(d0) /* initialize carry */ +-- +2.39.2 + diff --git a/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch new file mode 100644 index 0000000000..2ea190eb5a --- /dev/null +++ b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch @@ -0,0 +1,93 @@ +From 87ced255bdf2681f5bf6c89d7121e59f6f342161 Mon Sep 17 00:00:00 2001 +From: Adhemerval Zanella +Date: Fri, 18 Aug 2023 14:49:31 -0300 +Subject: [PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and + __mpn_rshift + +This patch adds a new macro, M68K_SCALE_AVAILABLE, similar to gmp +scale_available_p (mpn/m68k/m68k-defs.m4) that expand to 1 if a +scale factor can be used in addressing modes. This is used +instead of __mc68020__ for some optimization decisions. + +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=87ced255bdf2681f5bf6c89d7121e59f6f342161 +--- + sysdeps/m68k/m680x0/lshift.S | 6 +++--- + sysdeps/m68k/m680x0/rshift.S | 8 ++++---- + sysdeps/m68k/m680x0/sysdep.h | 7 +++++++ + 3 files changed, 14 insertions(+), 7 deletions(-) + +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S +index 4240738959..74de90380b 100644 +--- a/sysdeps/m68k/m680x0/lshift.S ++++ b/sysdeps/m68k/m680x0/lshift.S +@@ -57,9 +57,9 @@ ENTRY(__mpn_lshift) + bne L(Lnormal) + cmpl R(s_ptr),R(res_ptr) + bls L(Lspecial) /* jump if s_ptr >= res_ptr */ +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(a2) +-#else /* not mc68020 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + lea MEM_INDX(s_ptr,d0,l),R(a2) +@@ -71,7 +71,7 @@ L(Lnormal:) + moveql #32,R(d5) + subl R(cnt),R(d5) + +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) + #else /* not mc68000 */ +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S +index d56a2b4a44..d398d0287e 100644 +--- a/sysdeps/m68k/m680x0/rshift.S ++++ b/sysdeps/m68k/m680x0/rshift.S +@@ -56,9 +56,9 @@ ENTRY(__mpn_rshift) + bne L(Lnormal) + cmpl R(res_ptr),R(s_ptr) + bls L(Lspecial) /* jump if res_ptr >= s_ptr */ +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(res_ptr,s_size,l,4),R(a2) +-#else /* not mc68020 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + lea MEM_INDX(res_ptr,d0,l),R(a2) +@@ -121,10 +121,10 @@ L(Lend:) + + cfi_restore_state + L(Lspecial:) +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) +-#else /* not mc68000 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + addl R(d0),R(s_ptr) +diff --git a/sysdeps/m68k/m680x0/sysdep.h b/sysdeps/m68k/m680x0/sysdep.h +index b31e101273..bee5b3391c 100644 +--- a/sysdeps/m68k/m680x0/sysdep.h ++++ b/sysdeps/m68k/m680x0/sysdep.h +@@ -37,3 +37,10 @@ + OP " " SRC "(" PC "), " DST + + #endif /* __ASSEMBLER__ */ ++ ++# if defined __mc68020__ || defined __mc68030__ || defined __mc68040__ \ ++ || defined __mc68060__ ++# define M68K_SCALE_AVAILABLE 1 ++# else ++# define M68K_SCALE_AVAILABLE 0 ++# endif +-- +2.39.2 + diff --git a/package/glibc/Config.in b/package/glibc/Config.in index d894507b89..81c64083f4 100644 --- a/package/glibc/Config.in +++ b/package/glibc/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_aarch64_be default y if BR2_i386 + default y if BR2_m68k_m68k default y if BR2_mips default y if BR2_mipsel default y if BR2_mips64 From romain.naour at smile.fr Sun Oct 1 10:45:05 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 12:45:05 +0200 Subject: [Buildroot] [PATCH v2] package/glibc: enable for m68k with MMU In-Reply-To: References: Message-ID: <46ff9092-4c40-2c5a-2c90-62ea853ae134@smile.fr> Hello Waldemar, Le 01/10/2023 ? 12:34, Romain Naour a ?crit?: > Hello Waldemar, > > Le 01/10/2023 ? 11:10, Waldemar Brodkorb a ?crit?: >> For qemu-system-m68k with emulates Q800 machine we need to add patches >> for glibc to let it compile and run on m68k cpu m68040. >> See here for discussions about the issue: >> https://sourceware.org/bugzilla/show_bug.cgi?id=30740 >> > > Thank you for your quick reply! > > Here is my test result: > > Welcome to Buildroot > buildroot login: root > # uname -a > Linux buildroot 6.1.44 #1 Sun Oct 1 12:23:12 CEST 2023 m68k GNU/Linux Applied to master, thanks. Best regards, Romain > >> Signed-off-by: Waldemar Brodkorb >> --- >> v1 -> v2: >> - refresh patches from glibc git, requested by Romain Naour >> --- >> ...d-with-mcpu-68040-or-higher-BZ-30740.patch | 57 ++++++++++++ >> ...shift-and-__mpn_rshift-for-non-68020.patch | 47 ++++++++++ >> ...ALE_AVAILABLE-on-__mpn_lshift-and-__.patch | 93 +++++++++++++++++++ >> package/glibc/Config.in | 1 + >> 4 files changed, 198 insertions(+) >> create mode 100644 package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch >> create mode 100644 package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch >> create mode 100644 package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch >> >> diff --git a/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch >> new file mode 100644 >> index 0000000000..61f48e5893 >> --- /dev/null >> +++ b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch >> @@ -0,0 +1,57 @@ >> +From b85880633f69b737050c22eede858f8c13bb2248 Mon Sep 17 00:00:00 2001 >> +From: Adhemerval Zanella >> +Date: Fri, 18 Aug 2023 14:59:51 -0300 >> +Subject: [PATCH] m68k: Fix build with -mcpu=68040 or higher (BZ 30740) >> + >> +GCC currently does not define __mc68020__ for -mcpu=68040 or higher, >> +which memcpy/memmove assumptions. Since this memory copy optimization >> +seems only intended for m68020, disable for other m680X0 variants. >> + >> +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. >> + >> +Signed-off-by: Waldemar Brodkorb >> +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b85880633f69b737050c22eede858f8c13bb2248 > > We usually add the Upstream tag above the SoB line. (can be fixed while applying) > >> +--- >> + sysdeps/m68k/m680x0/m68020/wordcopy.S | 1 - >> + sysdeps/m68k/wordcopy.c | 21 +++++++++++++++++++++ >> + 2 files changed, 21 insertions(+), 1 deletion(-) >> + delete mode 100644 sysdeps/m68k/m680x0/m68020/wordcopy.S >> + create mode 100644 sysdeps/m68k/wordcopy.c >> + >> +diff --git a/sysdeps/m68k/m680x0/m68020/wordcopy.S b/sysdeps/m68k/m680x0/m68020/wordcopy.S >> +deleted file mode 100644 >> +index 4fb1a4518f..0000000000 >> +--- a/sysdeps/m68k/m680x0/m68020/wordcopy.S >> ++++ /dev/null >> +@@ -1 +0,0 @@ >> +-/* Empty, not needed. */ >> +diff --git a/sysdeps/m68k/wordcopy.c b/sysdeps/m68k/wordcopy.c >> +new file mode 100644 >> +index 0000000000..f12d5b7803 >> +--- /dev/null >> ++++ b/sysdeps/m68k/wordcopy.c >> +@@ -0,0 +1,21 @@ >> ++/* Definitions for memory copy functions. Motorola 680X0 version >> ++ Copyright (C) 2023 Free Software Foundation, Inc. >> ++ This file is part of the GNU C Library. >> ++ >> ++ The GNU C Library is free software; you can redistribute it and/or >> ++ modify it under the terms of the GNU Lesser General Public >> ++ License as published by the Free Software Foundation; either >> ++ version 2.1 of the License, or (at your option) any later version. >> ++ >> ++ The GNU C Library is distributed in the hope that it will be useful, >> ++ but WITHOUT ANY WARRANTY; without even the implied warranty of >> ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU >> ++ Lesser General Public License for more details. >> ++ >> ++ You should have received a copy of the GNU Lesser General Public >> ++ License along with the GNU C Library. If not, see >> ++ . */ >> ++ >> ++#ifndef __mc68020__ >> ++# include >> ++#endif >> +-- >> +2.39.2 >> + >> diff --git a/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch >> new file mode 100644 >> index 0000000000..256da58d66 >> --- /dev/null >> +++ b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch >> @@ -0,0 +1,47 @@ >> +From 464fd8249e8b791248cab7b0e0cd91757435fa9e Mon Sep 17 00:00:00 2001 >> +From: Andreas Schwab >> +Date: Thu, 17 Aug 2023 17:15:34 +0200 >> +Subject: [PATCH] m68k: fix __mpn_lshift and __mpn_rshift for non-68020 >> + >> +From revision 03f3d275d0d6 in the gmp repository. >> + >> +Signed-off-by: Waldemar Brodkorb >> +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=464fd8249e8b791248cab7b0e0cd91757435fa9e >> +--- >> + sysdeps/m68k/m680x0/lshift.S | 4 ++-- >> + sysdeps/m68k/m680x0/rshift.S | 4 ++-- >> + 2 files changed, 4 insertions(+), 4 deletions(-) >> + >> +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S >> +index 2aee10348e..4240738959 100644 >> +--- a/sysdeps/m68k/m680x0/lshift.S >> ++++ b/sysdeps/m68k/m680x0/lshift.S >> +@@ -77,8 +77,8 @@ L(Lnormal:) >> + #else /* not mc68000 */ >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> +- addl R(s_size),R(s_ptr) >> +- addl R(s_size),R(res_ptr) >> ++ addl R(d0),R(s_ptr) >> ++ addl R(d0),R(res_ptr) >> + #endif >> + movel MEM_PREDEC(s_ptr),R(d2) >> + movel R(d2),R(d0) >> +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S >> +index d16bca9307..d56a2b4a44 100644 >> +--- a/sysdeps/m68k/m680x0/rshift.S >> ++++ b/sysdeps/m68k/m680x0/rshift.S >> +@@ -127,8 +127,8 @@ L(Lspecial:) >> + #else /* not mc68000 */ >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> +- addl R(s_size),R(s_ptr) >> +- addl R(s_size),R(res_ptr) >> ++ addl R(d0),R(s_ptr) >> ++ addl R(d0),R(res_ptr) >> + #endif >> + >> + clrl R(d0) /* initialize carry */ >> +-- >> +2.39.2 >> + >> diff --git a/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch >> new file mode 100644 >> index 0000000000..2ea190eb5a >> --- /dev/null >> +++ b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch >> @@ -0,0 +1,93 @@ >> +From 87ced255bdf2681f5bf6c89d7121e59f6f342161 Mon Sep 17 00:00:00 2001 >> +From: Adhemerval Zanella >> +Date: Fri, 18 Aug 2023 14:49:31 -0300 >> +Subject: [PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and >> + __mpn_rshift >> + >> +This patch adds a new macro, M68K_SCALE_AVAILABLE, similar to gmp >> +scale_available_p (mpn/m68k/m68k-defs.m4) that expand to 1 if a >> +scale factor can be used in addressing modes. This is used >> +instead of __mc68020__ for some optimization decisions. >> + >> +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. >> + >> +Signed-off-by: Waldemar Brodkorb >> +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=87ced255bdf2681f5bf6c89d7121e59f6f342161 >> +--- >> + sysdeps/m68k/m680x0/lshift.S | 6 +++--- >> + sysdeps/m68k/m680x0/rshift.S | 8 ++++---- >> + sysdeps/m68k/m680x0/sysdep.h | 7 +++++++ >> + 3 files changed, 14 insertions(+), 7 deletions(-) >> + >> +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S >> +index 4240738959..74de90380b 100644 >> +--- a/sysdeps/m68k/m680x0/lshift.S >> ++++ b/sysdeps/m68k/m680x0/lshift.S >> +@@ -57,9 +57,9 @@ ENTRY(__mpn_lshift) >> + bne L(Lnormal) >> + cmpl R(s_ptr),R(res_ptr) >> + bls L(Lspecial) /* jump if s_ptr >= res_ptr */ >> +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) >> ++#if M68K_SCALE_AVAILABLE >> + lea MEM_INDX1(s_ptr,s_size,l,4),R(a2) >> +-#else /* not mc68020 */ >> ++#else >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> + lea MEM_INDX(s_ptr,d0,l),R(a2) >> +@@ -71,7 +71,7 @@ L(Lnormal:) >> + moveql #32,R(d5) >> + subl R(cnt),R(d5) >> + >> +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) >> ++#if M68K_SCALE_AVAILABLE >> + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) >> + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) >> + #else /* not mc68000 */ >> +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S >> +index d56a2b4a44..d398d0287e 100644 >> +--- a/sysdeps/m68k/m680x0/rshift.S >> ++++ b/sysdeps/m68k/m680x0/rshift.S >> +@@ -56,9 +56,9 @@ ENTRY(__mpn_rshift) >> + bne L(Lnormal) >> + cmpl R(res_ptr),R(s_ptr) >> + bls L(Lspecial) /* jump if res_ptr >= s_ptr */ >> +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) >> ++#if M68K_SCALE_AVAILABLE >> + lea MEM_INDX1(res_ptr,s_size,l,4),R(a2) >> +-#else /* not mc68020 */ >> ++#else >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> + lea MEM_INDX(res_ptr,d0,l),R(a2) >> +@@ -121,10 +121,10 @@ L(Lend:) >> + >> + cfi_restore_state >> + L(Lspecial:) >> +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) >> ++#if M68K_SCALE_AVAILABLE >> + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) >> + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) >> +-#else /* not mc68000 */ >> ++#else >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> + addl R(d0),R(s_ptr) >> +diff --git a/sysdeps/m68k/m680x0/sysdep.h b/sysdeps/m68k/m680x0/sysdep.h >> +index b31e101273..bee5b3391c 100644 >> +--- a/sysdeps/m68k/m680x0/sysdep.h >> ++++ b/sysdeps/m68k/m680x0/sysdep.h >> +@@ -37,3 +37,10 @@ >> + OP " " SRC "(" PC "), " DST >> + >> + #endif /* __ASSEMBLER__ */ >> ++ >> ++# if defined __mc68020__ || defined __mc68030__ || defined __mc68040__ \ >> ++ || defined __mc68060__ >> ++# define M68K_SCALE_AVAILABLE 1 >> ++# else >> ++# define M68K_SCALE_AVAILABLE 0 >> ++# endif >> +-- >> +2.39.2 >> + >> diff --git a/package/glibc/Config.in b/package/glibc/Config.in >> index d894507b89..81c64083f4 100644 >> --- a/package/glibc/Config.in >> +++ b/package/glibc/Config.in >> @@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS >> default y if BR2_aarch64 >> default y if BR2_aarch64_be >> default y if BR2_i386 >> + default y if BR2_m68k_m68k > > Note: With this patch applied, the qemu_m68k_q800_defconfig will new use glibc > instead of uClibc-ng. > > Best regards, > Romain > > >> default y if BR2_mips >> default y if BR2_mipsel >> default y if BR2_mips64 > From peter at korsgaard.com Sun Oct 1 11:24:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 13:24:28 +0200 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> (Neal Frager's message of "Mon, 25 Sep 2023 03:43:21 +0000") References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> Message-ID: <877co67fgz.fsf@48ers.dk> >>>>> "Frager," == Frager, Neal writes: Hello, >>> Is this ok for both of you? >> >> I'm OK with the whole approach, except for the sentence "I do not >> believe there is currently any organized effort to upstream any of >> these patches"... which is probably already clear to the recipients >> of this message, and thus is not going to be solved in this thread, >> however I just want to be sure my position is clear. I'd also like to >> stress that I appreciate a lot the work you are doing to properly >> support the pmufw in Buildroot. Thanks! >> >> Luca > Your position is very clear. And I can assure you that both Ibai and I agree with it. > It would be much better if all of these binutils and gcc patches for > microblaze go upstream, and both Ibai and I have pushed for it > internally at AMD / Xilinx. > The only thing I can say is that change is always possible. > Yesterday, we could not build a zynqmp pmufw, versal plm or versal > psmfw in buildroot. Today, we have submitted a solution to change > that. > Tomorrow (figurative meaning the future), we hope to get all these > binutils and gcc patches upstream, so the upstream toolchain matches > the AMD Xilinx distributed toolchain. > One step at a time. Sure! Sorry, I am somewhat late to the review game here. I wonder how this fits with Luca's zynqmp-pmufw-builder? E.G. today the setup is that the pmufw is built outside Buildroot and we just point the u-boot package to where it can fetch the prebuilt firmware binary - This is nice in the sense that it is fast and simple, but makes is somewhat annoying to make modifications to the firmware. This series instead goes to the other extreme, E.G. we build the entire microblaze toolchain from scratch and then use it to build the firmware and use it in the u-boot package - This is nice because it is all in Buildroot and we have it all under control, but also brings quite some build time overhead for building the toolchain before building the (small) toolchain. You can naturally "solve" it by using two defconfigs, E.G. one that builds the pmufw and another that uses the prebuilt one, but it isn't very handy either. Would an in between option not be more interesting, E.G. use (or download) a prebuilt microblaze toolchain and use that to build the firmware? That would still give the flexibility to easily tweak the firmware, but not the overhead of building the toolchain every time? I guess the problems with that are what to do about the meta-xilinx patches and where/who wants to host a prebuilt one? -- Bye, Peter Korsgaard From wbx at openadk.org Sun Oct 1 11:39:58 2023 From: wbx at openadk.org (Waldemar Brodkorb) Date: Sun, 1 Oct 2023 13:39:58 +0200 Subject: [Buildroot] [PATCH v2 4/4] configs/qemu_riscv32_nommu_virt_defconfig: New defconfig In-Reply-To: <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> References: <20221217051337.3778405-1-Mr.Bossman075@gmail.com> <20221217051337.3778405-5-Mr.Bossman075@gmail.com> <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> Message-ID: Hi Romain, Romain Naour wrote, > Hello, > > Le 17/12/2022 ? 06:13, Jesse Taube a ?crit?: > > Add RISC-V 32-bit nommu defconfig for QEMU virt machine with MMU > > disabled. > > > > Unlike qemu_riscv32_virt, qemu_riscv32_nommu_virt does not use OpenSBI, > > since the kernel is running in machine mode (M-mode). > > > > Signed-off-by: Jesse Taube > > Cc: Yimin Gu > > I rebased the elf2flt patch for risc32 [1] on top of elf2flt 2023.09 release, > then I enabled the risc32 uclibc-ng support [2] without patching it since we use > the latest release (v1.0.44) containing this commit [3]. > > But the system doesn't boot due to a reloc issue: > > binfmt_flat: reloc outside program 0xfff7b6dc (0 - 0x9cec0/0x8a180), killing sh! > Starting init: /bin/sh exists but couldn't execute it (error -8) > > This issue may be related to the toolchain used to build this defconfig (gcc > 12.3.0 and binutils 2.40) that is newer than the toolchain used at the time this > series was tested. Can you share your elf2flt patch, please. best regards Waldemar From romain.naour at smile.fr Sun Oct 1 12:02:57 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 14:02:57 +0200 Subject: [Buildroot] [PATCH v2 4/4] configs/qemu_riscv32_nommu_virt_defconfig: New defconfig In-Reply-To: References: <20221217051337.3778405-1-Mr.Bossman075@gmail.com> <20221217051337.3778405-5-Mr.Bossman075@gmail.com> <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> Message-ID: <3f01b947-21f8-d573-a8fe-b7ca6d044170@smile.fr> Hi Waldemar, Le 01/10/2023 ? 13:39, Waldemar Brodkorb a ?crit?: > Hi Romain, > > Romain Naour wrote, > >> Hello, >> >> Le 17/12/2022 ? 06:13, Jesse Taube a ?crit?: >>> Add RISC-V 32-bit nommu defconfig for QEMU virt machine with MMU >>> disabled. >>> >>> Unlike qemu_riscv32_virt, qemu_riscv32_nommu_virt does not use OpenSBI, >>> since the kernel is running in machine mode (M-mode). >>> >>> Signed-off-by: Jesse Taube >>> Cc: Yimin Gu >> >> I rebased the elf2flt patch for risc32 [1] on top of elf2flt 2023.09 release, >> then I enabled the risc32 uclibc-ng support [2] without patching it since we use >> the latest release (v1.0.44) containing this commit [3]. >> >> But the system doesn't boot due to a reloc issue: >> >> binfmt_flat: reloc outside program 0xfff7b6dc (0 - 0x9cec0/0x8a180), killing sh! >> Starting init: /bin/sh exists but couldn't execute it (error -8) >> >> This issue may be related to the toolchain used to build this defconfig (gcc >> 12.3.0 and binutils 2.40) that is newer than the toolchain used at the time this >> series was tested. > > Can you share your elf2flt patch, please. Sure, It the initial patch from Jesse Taube but without the relocation part that was part of riscv64 commit: https://github.com/uclinux-dev/elf2flt/commit/c5c8043c4d79a1cdd9bd359a542e6fdf3b04d5a1 I hope this can help. Best regards, Romain > > best regards > Waldemar -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Added-RISC-V-32-bit-support.patch Type: text/x-patch Size: 1843 bytes Desc: not available URL: From peter at korsgaard.com Sun Oct 1 12:10:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 14:10:57 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/webkitgtk: require GCC 9 for the 2.40.x series In-Reply-To: <20230929075844.1145939-1-thomas.devoogdt@barco.com> (Thomas Devoogdt's message of "Fri, 29 Sep 2023 09:58:24 +0200") References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> Message-ID: <87zg125yr2.fsf@48ers.dk> >>>>> "Thomas" == Thomas Devoogdt writes: > Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. > Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, > we do check on >= GCC 9, because we can't check on >= GCC 9.3. > [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 > Signed-off-by: Thomas Devoogdt Committed, thanks. What about wpewebkit? This seems to be common code, so we presumably need GCC 9 there as well? -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:11:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 14:11:11 +0200 Subject: [Buildroot] [git commit] package/webkitgtk: require GCC 9 for the 2.40.x series Message-ID: <20231001121137.C45E6817A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=de38484ec31437e3f2f0d7c0fa46f2f30d0a8fbb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard --- package/webkitgtk/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 6835467c46..927792b1e4 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 8, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS From peter at korsgaard.com Sun Oct 1 12:19:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 14:19:55 +0200 Subject: [Buildroot] [PATCH v3 2/4] package/webkitgtk: make gbm support optional In-Reply-To: <20230929075844.1145939-2-thomas.devoogdt@barco.com> (Thomas Devoogdt's message of "Fri, 29 Sep 2023 09:58:25 +0200") References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <20230929075844.1145939-2-thomas.devoogdt@barco.com> Message-ID: <87v8bq5yc4.fsf@48ers.dk> >>>>> "Thomas" == Thomas Devoogdt writes: > From: Thomas Devoogdt > This was added upstream in commit: > https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 This talks about gbm AND libdrm, but you don't seem to handle libdrm here? > The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', Should we then not disable USE_OPENGL_OR_ES and only enable it if we have opengl? -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:23:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 14:23:18 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/webkitgtk: select wpebackend-fdo if wayland target is enabled In-Reply-To: <20230929075844.1145939-3-thomas.devoogdt@barco.com> (Thomas Devoogdt's message of "Fri, 29 Sep 2023 09:58:26 +0200") References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <20230929075844.1145939-3-thomas.devoogdt@barco.com> Message-ID: <87r0me5y6h.fsf@48ers.dk> >>>>> "Thomas" == Thomas Devoogdt writes: > libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 > egl is mandatory if ENABLE_WAYLAND_TARGET > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 > So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. Huh? I cannot say that I understand the webkit mess, but I thought that webkitgtk and wpewebkit were two completely separate "ports"? Adrian, maybe you can clarify? -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:35:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 14:35:48 +0200 Subject: [Buildroot] [PATCH] package/lua-mqtt: bump to version 0.3.1 In-Reply-To: <20231001103215.3333968-1-francois.perrad@gadz.org> (Francois Perrad's message of "Sun, 1 Oct 2023 12:32:15 +0200") References: <20231001103215.3333968-1-francois.perrad@gadz.org> Message-ID: <87msx25xln.fsf@48ers.dk> >>>>> "Francois" == Francois Perrad writes: > Signed-off-by: Francois Perrad Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:37:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 14:37:15 +0200 Subject: [Buildroot] [git commit] package/lua-mqtt: bump to version 0.3.1 Message-ID: <20231001124056.4404E81EA4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4111a8db7fdfa8c2f1012cad38849d3fec41b5b3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- package/lua-mqtt/lua-mqtt.hash | 4 ++-- package/lua-mqtt/lua-mqtt.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/lua-mqtt/lua-mqtt.hash b/package/lua-mqtt/lua-mqtt.hash index 62f8f350fa..fecd4dbbdd 100644 --- a/package/lua-mqtt/lua-mqtt.hash +++ b/package/lua-mqtt/lua-mqtt.hash @@ -1,3 +1,3 @@ # computed by luarocks/buildroot -sha256 1b5ec0aebb2d41700762e3d6f542517c55b8cf44e323c53d55a47f19e22b664a lua-mqtt-0.3.0-1.src.rock -sha256 c8d12c868b979f5b9592eec503fc3de54e9feb92163f3cfc50a141ee2bcccc25 lua-mqtt-0.3.0/COPYRIGHT +sha256 0444119ab5a1230e38e35f3948db19e8dc6310991b419ca75e6660588f2d95f7 lua-mqtt-0.3.1-1.src.rock +sha256 c8d12c868b979f5b9592eec503fc3de54e9feb92163f3cfc50a141ee2bcccc25 lua-mqtt-0.3.1/COPYRIGHT diff --git a/package/lua-mqtt/lua-mqtt.mk b/package/lua-mqtt/lua-mqtt.mk index ff889237e4..a000ffdb16 100644 --- a/package/lua-mqtt/lua-mqtt.mk +++ b/package/lua-mqtt/lua-mqtt.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUA_MQTT_VERSION = 0.3.0-1 +LUA_MQTT_VERSION = 0.3.1-1 LUA_MQTT_LICENSE = MIT LUA_MQTT_LICENSE_FILES = $(LUA_MQTT_SUBDIR)/COPYRIGHT From peter at korsgaard.com Sun Oct 1 12:56:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 14:56:19 +0200 Subject: [Buildroot] [PATCH v3 10/16] Makefile: breaks hardlinks in global {TARGET, HOST}_DIR on per-package build In-Reply-To: <20210817083930.3718711-11-herve.codina@bootlin.com> References: <20210817083930.3718711-1-herve.codina@bootlin.com> <20210817083930.3718711-11-herve.codina@bootlin.com> Message-ID: <1bc18a02-9cf3-0cd1-cf8a-e716ceb78b9a@korsgaard.com> On 17/08/2021 10.39, Herve Codina wrote: Hi, Sorry, very old patch. > Without this patch, a make _rebuild detects overwrites. Indeed, in > target_finalize steps some modifications are done on installed files (ie > strip or TARGET_FINALIZE_HOOKS for instance). > > In order to avoid these modifications seen from per-package {TARGET,HOST}_DIR > and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built > using a full copy of the involved per-package files instead of hardlinks. > > Signed-off-by: Herve Codina > Reviewed-by: Yann E. MORIN > --- > Changes v1 to v2: > - Added 'Reviewed-by: Yann E. MORIN' We have similar issues if you have a post-build script making changes with sed or similar, so committed to master after fixing it up (the logic was in the mean time moved to package/pkg-utils.mk), thanks. > > Changes v2 to v2: > None > > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 32fad004fe..ccf2020565 100644 > --- a/Makefile > +++ b/Makefile > @@ -734,7 +734,7 @@ ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) > define per-package-rsync-delta > $(Q)mkdir -p $(3) > $(foreach pkg,$(1),\ > - $(Q)rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(strip $(2))/ \ > + $(Q)rsync -a \ > --filter='merge $($(call UPPERCASE,$(pkg))_DIR)/$(strip $(4))' \ > $(PER_PACKAGE_DIR)/$(pkg)/$(strip $(2))/ \ > $(3)$(sep)) -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:55:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 14:55:33 +0200 Subject: [Buildroot] [git commit] package/pkg-utils.mk: break hardlinks in global {TARGET, HOST}_DIR on per-package build Message-ID: <20231001125702.553C582150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=21d52e52d8dee0940d28b3a38551eb183be37813 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Without this patch, a make _rebuild detects overwrites. Indeed, in target_finalize steps some modifications are done on installed files (ie strip or TARGET_FINALIZE_HOOKS for instance). In order to avoid these modifications seen from per-package {TARGET,HOST}_DIR and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built using a full copy of the involved per-package files instead of hardlinks. Signed-off-by: Herve Codina Reviewed-by: Yann E. MORIN Signed-off-by: Peter Korsgaard --- package/pkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index 530638566c..bdbdf20c23 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -217,7 +217,7 @@ ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) define per-package-rsync mkdir -p $(3) $(foreach pkg,$(1),\ - rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ + rsync -a \ $(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ $(3)$(sep)) endef From fontaine.fabrice at gmail.com Sun Oct 1 13:04:59 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 15:04:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/memcached: fix uclibc-ng build Message-ID: <20231001130459.840149-1-fontaine.fabrice@gmail.com> Fix the following uclibc-ng build failure raised since bump to version 1.6.21 in commit 6ce55ab0ed3b7125cd11ecfe8c18aaf156b5f060 and https://github.com/memcached/memcached/commit/875371a75cbf1f92350de2d1fa0fae4a35ed572b: /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: memcached-thread.o: in function `thread_setname': thread.c:(.text+0xea2): undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/e856d381f5ec7d2727f21c8bd46dacb456984416 Signed-off-by: Fabrice Fontaine --- .../0002-fix-build-on-uclibc-ng.patch | 64 +++++++++++++++++++ package/memcached/memcached.mk | 2 + 2 files changed, 66 insertions(+) create mode 100644 package/memcached/0002-fix-build-on-uclibc-ng.patch diff --git a/package/memcached/0002-fix-build-on-uclibc-ng.patch b/package/memcached/0002-fix-build-on-uclibc-ng.patch new file mode 100644 index 0000000000..a5af7a2adb --- /dev/null +++ b/package/memcached/0002-fix-build-on-uclibc-ng.patch @@ -0,0 +1,64 @@ +From c84e5e55e0e9e793849f721d30979242ed6a6ee3 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Oct 2023 14:12:38 +0200 +Subject: [PATCH] fix build on uclibc-ng + +Fix the following build failure with uclibc-ng raised since version +1.6.18 and +https://github.com/memcached/memcached/commit/875371a75cbf1f92350de2d1fa0fae4a35ed572b: + +/home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: memcached-thread.o: in function `thread_setname': +thread.c:(.text+0xea2): undefined reference to `pthread_setname_np' + +Fixes: + - http://autobuild.buildroot.org/results/e856d381f5ec7d2727f21c8bd46dacb456984416 + +Signed-off-by: Fabrice Fontaine +Upstream: unsent yet (waiting feedback on first patch) +--- + configure.ac | 1 + + extstore.c | 2 +- + thread.c | 2 +- + 3 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index d94f6fb..5ec5088 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -686,6 +686,7 @@ AC_CHECK_FUNCS(clock_gettime) + AC_CHECK_FUNCS(preadv) + AC_CHECK_FUNCS(pread) + AC_CHECK_FUNCS(eventfd) ++AC_CHECK_FUNCS([pthread_setname_np],[AC_DEFINE(HAVE_PTHREAD_SETNAME_NP, 1, [Define to 1 if support pthread_setname_np])]) + AC_CHECK_FUNCS([accept4], [AC_DEFINE(HAVE_ACCEPT4, 1, [Define to 1 if support accept4])]) + AC_CHECK_FUNCS([getopt_long], [AC_DEFINE(HAVE_GETOPT_LONG, 1, [Define to 1 if support getopt_long])]) + +diff --git a/extstore.c b/extstore.c +index b079465..f6a6180 100644 +--- a/extstore.c ++++ b/extstore.c +@@ -119,7 +119,7 @@ struct store_engine { + #define THR_NAME_MAXLEN 16 + static void thread_setname(pthread_t thread, const char *name) { + assert(strlen(name) < THR_NAME_MAXLEN); +-#if defined(__linux__) ++#if defined(__linux__) && defined(HAVE_PTHREAD_SETNAME_NP) + pthread_setname_np(thread, name); + #endif + } +diff --git a/thread.c b/thread.c +index ee120fa..76651c2 100644 +--- a/thread.c ++++ b/thread.c +@@ -635,7 +635,7 @@ static void thread_libevent_process(evutil_socket_t fd, short which, void *arg) + #define THR_NAME_MAXLEN 16 + void thread_setname(pthread_t thread, const char *name) { + assert(strlen(name) < THR_NAME_MAXLEN); +-#if defined(__linux__) ++#if defined(__linux__) && defined(HAVE_PTHREAD_SETNAME_NP) + pthread_setname_np(thread, name); + #endif + } +-- +2.40.1 + diff --git a/package/memcached/memcached.mk b/package/memcached/memcached.mk index 2ebc672d1c..a1a5eac049 100644 --- a/package/memcached/memcached.mk +++ b/package/memcached/memcached.mk @@ -13,6 +13,8 @@ MEMCACHED_LICENSE = BSD-3-Clause MEMCACHED_LICENSE_FILES = COPYING MEMCACHED_CPE_ID_VENDOR = memcached MEMCACHED_SELINUX_MODULES = memcached +# We're patching configure.ac +MEMCACHED_AUTORECONF = YES ifeq ($(BR2_ENDIAN),"BIG") MEMCACHED_CONF_ENV += ac_cv_c_endian=big -- 2.40.1 From romain.naour at smile.fr Sun Oct 1 13:11:52 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 15:11:52 +0200 Subject: [Buildroot] [PATCH 1/1] toolchain-external: refine support library search to lib directory In-Reply-To: <20221212153705.1807269-1-fhunleth@troodon-software.com> References: <20221212153705.1807269-1-fhunleth@troodon-software.com> Message-ID: <30d37b76-9de3-6726-2b94-25f2c9dfb1f9@smile.fr> Hello Frank, Le 12/12/2022 ? 16:37, Frank Hunleth via buildroot a ?crit?: > This fixes an issue where gcc support libraries like libstdc++.so and > libatomic.so were not copied to the target for a Crosstool-NG RISC-V > glibc toolchain. > > The Crosstool-NG's toolchain's sysroot looks like this (trimmed): > > sysroot > ??? lib > ??? ??? ld-linux-riscv64-lp64d.so.1 > ??? ??? libatomic.a > ??? ??? libatomic.so -> libatomic.so.1.2.0 > ??? ??? libatomic.so.1 -> libatomic.so.1.2.0 > ??? ??? libatomic.so.1.2.0 > ??? ??? libgcc_s.so > ??? ??? libgcc_s.so.1 > ??? ??? libstdc++.a > ??? ??? libstdc++.so -> libstdc++.so.6.0.29 > ??? ??? libstdc++.so.6 -> libstdc++.so.6.0.29 > ??? ??? libstdc++.so.6.0.29 > ??? ??? libsupc++.a > ??? lib64 > ??? ??? lp64d > ??? ??? libanl.so.1 > ??? ??? libc.so.6 > ??? ??? libdl.so.2 > ??? ??? libm.so.6 > ??? ??? libnsl.so.1 > ??? ??? libpthread.so.0 > ??? ??? libresolv.so.2 > ??? ??? librt.so.1 > ??? ??? libthread_db.so.1 > ??? ??? libutil.so.1 > > Without this patch, only the files in `lib64/lp64d` are copied to the > target since this is the $ARCH_LIB_DIR. $SUPPORT_LIB_DIR is empty since > libstdc++.a is in the sysroot. It's just not under $ARCH_LIB_DIR. > > Based on the comments, it looks like $SUPPORT_LIB_DIR was intended for > the case when the support libraries were somewhere completely outside of > the sysroot. Anywhere outside of $ARCH_LIB_DIR would seem to have the > same effect of being missed by the copy, though. > > See the following link for the RISC-V Crosstool-NG configuration: > https://github.com/crosstool-ng/crosstool-ng/blob/7f80447c5f66f588e57eb3da087b27eb2b0c8eec/samples/riscv64-unknown-linux-gnu/crosstool.config > > Signed-off-by: Frank Hunleth > --- > toolchain/toolchain-external/pkg-toolchain-external.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk > index 299b6008aa..4070cfdc1f 100644 > --- a/toolchain/toolchain-external/pkg-toolchain-external.mk > +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk > @@ -435,7 +435,7 @@ define TOOLCHAIN_EXTERNAL_INSTALL_SYSROOT_LIBS > ARCH_SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ ARCH_SYSROOT_DIR should be a full path like /<...>/host/opt/ext-toolchain/aarch64-none-linux-gnu/libc/ > ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ ARCH_LIB_DIR is just the name of the lib directory (lib64 or lib) lib64 > SUPPORT_LIB_DIR="" ; \ > - if test `find $${ARCH_SYSROOT_DIR} -name 'libstdc++.a' | wc -l` -eq 0 ; then \ > + if test `find $${ARCH_LIB_DIR} -name 'libstdc++.a' | wc -l` -eq 0 ; then \ So in this context, this change seems not correct (it probably breaks other toolchains). Can you double check? Best regards, Romain > LIBSTDCPP_A_LOCATION=$$(LANG=C $(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS) -print-file-name=libstdc++.a) ; \ > if [ -e "$${LIBSTDCPP_A_LOCATION}" ]; then \ > SUPPORT_LIB_DIR=`readlink -f $${LIBSTDCPP_A_LOCATION} | sed -r -e 's:libstdc\+\+\.a::'` ; \ > -- > 2.34.1 > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From bugzilla at busybox.net Sun Oct 1 13:18:57 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 01 Oct 2023 13:18:57 +0000 Subject: [Buildroot] [Bug 15811] New: imx233_olinuxino defconfig snagging on python2 Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15811 Bug ID: 15811 Summary: imx233_olinuxino defconfig snagging on python2 Product: buildroot Version: unspecified Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Outdated package Assignee: unassigned at buildroot.uclibc.org Reporter: radio.m0krx at gmail.com CC: buildroot at uclibc.org Target Milestone: --- Basic defconfig build fails. libftd not able to build due to python2 dependency. I kicked the u-boot version to 2022.1 and it seems to have fixed the issue. -- You are receiving this mail because: You are on the CC list for the bug. From romain.naour at smile.fr Sun Oct 1 13:32:06 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 15:32:06 +0200 Subject: [Buildroot] [PATCH v5] package/apache: add option to disable server In-Reply-To: <20230922211816.13469-1-giulio.benetti@benettiengineering.com> References: <20230922211816.13469-1-giulio.benetti@benettiengineering.com> Message-ID: <5e9b4a43-e16c-b2d5-09b7-cb1582a4b513@smile.fr> Hello Giulio, Le 22/09/2023 ? 23:18, Giulio Benetti a ?crit?: > From: Giulio Benetti > > Other packages (e.g. mongoose) can use htdigest and htpasswd, but those > are only available with apache. > > We don't want to build the whole apache server just for those tools, so > we add an option to disable the server; it is enabled by default for > legacy purposes (so that existing (def)configs still work). > > However, there is no way to tell the apache buildsystem to only build > those two tools, so we have to provide custom build and install > commands. > > Cc: Jim Reinhart > Cc: James Autry > Cc: Matthew Maron > Signed-off-by: Giulio Benetti > --- > V1->V2: > * Hide "External Apache modules" if BR2_PACKAGE_APACHE_UTILS_ONLY is enabled > V2->V3: > as suggested by Arnout: > * change negative option BR2_PACKAGE_APACHE_UTILS_ONLY to BR2_PACKAGE_APACHE_DAEMON > * set a common APACHE_CONF_OPTS and only add specific options for > BR2_PACKAGE_APACHE_DAEMON enabled or not > V3->V4: > * drop --with-static-* options as suggested by Arnout > V4->V5: > as suggested by Yann: > * drop BR2_PACKAGE_APACHE check in package/Config.in for > package/modsecurity2/Config.in > * make BR2_PACKAGE_PHP_SAPI_APACHE depends on BR2_PACKAGE_APACHE_DAEMON > * improve commit log > --- > package/Config.in | 2 -- > package/apache/Config.in | 9 +++++++++ > package/apache/apache.mk | 20 +++++++++++++++++--- > package/modsecurity2/Config.in | 2 +- > package/php/Config.in | 2 +- > 5 files changed, 28 insertions(+), 7 deletions(-) > > diff --git a/package/Config.in b/package/Config.in > index cc99be39fb..db6cf432e3 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2279,11 +2279,9 @@ menu "Networking applications" > source "package/alfred/Config.in" > source "package/aoetools/Config.in" > source "package/apache/Config.in" > -if BR2_PACKAGE_APACHE > menu "External Apache modules" > source "package/modsecurity2/Config.in" > endmenu > -endif > source "package/argus/Config.in" > source "package/arp-scan/Config.in" > source "package/arptables/Config.in" > diff --git a/package/apache/Config.in b/package/apache/Config.in > index 270296bce4..5e9e4c5f9d 100644 > --- a/package/apache/Config.in > +++ b/package/apache/Config.in > @@ -17,6 +17,14 @@ config BR2_PACKAGE_APACHE > > if BR2_PACKAGE_APACHE > > +config BR2_PACKAGE_APACHE_DAEMON > + bool "apache-daemon" > + default y > + help > + Provide entire Apache daemon, otherwise only htdigest and htpasswd > + will be built and installed. > + > +if BR2_PACKAGE_APACHE_DAEMON > choice > prompt "Multi-Processing Module (MPM)" > default BR2_PACKAGE_APACHE_MPM_WORKER > @@ -40,6 +48,7 @@ config BR2_PACKAGE_APACHE_MPM_WORKER > Implements a hybrid multi-threaded multi-process web server What about apparmor package? package/apparmor/apparmor.mk:ifeq ($(BR2_PACKAGE_APACHE),y) it seems we need to use BR2_PACKAGE_APACHE_DAEMON with this change. Best regards, Romain > > endchoice > +endif > > endif > > diff --git a/package/apache/apache.mk b/package/apache/apache.mk > index 320a6ad20e..994842b455 100644 > --- a/package/apache/apache.mk > +++ b/package/apache/apache.mk > @@ -12,8 +12,6 @@ APACHE_LICENSE_FILES = LICENSE > APACHE_CPE_ID_VENDOR = apache > APACHE_CPE_ID_PRODUCT = http_server > APACHE_SELINUX_MODULES = apache > -# Needed for mod_php > -APACHE_INSTALL_STAGING = YES > # We have a patch touching configure.in and Makefile.in, > # so we need to autoreconf: > APACHE_AUTORECONF = YES > @@ -32,10 +30,16 @@ APACHE_MPM = worker > endif > > APACHE_CONF_OPTS = \ > - --sysconfdir=/etc/apache2 \ > --with-apr=$(STAGING_DIR)/usr \ > --with-apr-util=$(STAGING_DIR)/usr \ > --with-pcre=$(STAGING_DIR)/usr/bin/pcre2-config \ > + > +ifeq ($(BR2_PACKAGE_APACHE_DAEMON),y) > +# Needed for mod_php > +APACHE_INSTALL_STAGING = YES > + > +APACHE_CONF_OPTS += \ > + --sysconfdir=/etc/apache2 \ > --enable-http \ > --enable-dbd \ > --enable-proxy \ > @@ -121,5 +125,15 @@ define APACHE_INSTALL_INIT_SYSTEMD > $(INSTALL) -D -m 644 package/apache/apache.service \ > $(TARGET_DIR)/usr/lib/systemd/system/apache.service > endef > +else > +define APACHE_BUILD_CMDS > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/support htdigest htpasswd > +endef > + > +define APACHE_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 -D $(@D)/support/htdigest $(TARGET_DIR)/usr/bin/htdigest > + $(INSTALL) -m 0755 -D $(@D)/support/htpasswd $(TARGET_DIR)/usr/bin/htpasswd > +endef > +endif > > $(eval $(autotools-package)) > diff --git a/package/modsecurity2/Config.in b/package/modsecurity2/Config.in > index fb1bfc960e..40c5fc55bc 100644 > --- a/package/modsecurity2/Config.in > +++ b/package/modsecurity2/Config.in > @@ -1,6 +1,6 @@ > config BR2_PACKAGE_MODSECURITY2 > bool "modsecurity2" > - depends on BR2_PACKAGE_APACHE > + depends on BR2_PACKAGE_APACHE_DAEMON > select BR2_PACKAGE_LIBXML2 > select BR2_PACKAGE_PCRE2 > help > diff --git a/package/php/Config.in b/package/php/Config.in > index 69b4268c1d..3a9e37dab6 100644 > --- a/package/php/Config.in > +++ b/package/php/Config.in > @@ -36,7 +36,7 @@ if BR2_PACKAGE_PHP > > config BR2_PACKAGE_PHP_SAPI_APACHE > bool "Apache interface" > - depends on BR2_PACKAGE_APACHE > + depends on BR2_PACKAGE_APACHE_DAEMON > help > Apache module > From wbx at openadk.org Sun Oct 1 14:09:14 2023 From: wbx at openadk.org (Waldemar Brodkorb) Date: Sun, 1 Oct 2023 16:09:14 +0200 Subject: [Buildroot] [PATCH v2 4/4] configs/qemu_riscv32_nommu_virt_defconfig: New defconfig In-Reply-To: <3f01b947-21f8-d573-a8fe-b7ca6d044170@smile.fr> References: <20221217051337.3778405-1-Mr.Bossman075@gmail.com> <20221217051337.3778405-5-Mr.Bossman075@gmail.com> <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> <3f01b947-21f8-d573-a8fe-b7ca6d044170@smile.fr> Message-ID: Hi Romain, Romain Naour wrote, > Hi Waldemar, > > Le 01/10/2023 ? 13:39, Waldemar Brodkorb a ?crit?: > > Hi Romain, > > > > Romain Naour wrote, > > > >> Hello, > >> > >> Le 17/12/2022 ? 06:13, Jesse Taube a ?crit?: > >>> Add RISC-V 32-bit nommu defconfig for QEMU virt machine with MMU > >>> disabled. > >>> > >>> Unlike qemu_riscv32_virt, qemu_riscv32_nommu_virt does not use OpenSBI, > >>> since the kernel is running in machine mode (M-mode). > >>> > >>> Signed-off-by: Jesse Taube > >>> Cc: Yimin Gu > >> > >> I rebased the elf2flt patch for risc32 [1] on top of elf2flt 2023.09 release, > >> then I enabled the risc32 uclibc-ng support [2] without patching it since we use > >> the latest release (v1.0.44) containing this commit [3]. > >> > >> But the system doesn't boot due to a reloc issue: > >> > >> binfmt_flat: reloc outside program 0xfff7b6dc (0 - 0x9cec0/0x8a180), killing sh! > >> Starting init: /bin/sh exists but couldn't execute it (error -8) > >> > >> This issue may be related to the toolchain used to build this defconfig (gcc > >> 12.3.0 and binutils 2.40) that is newer than the toolchain used at the time this > >> series was tested. > > > > Can you share your elf2flt patch, please. > > Sure, It the initial patch from Jesse Taube but without the relocation part that > was part of riscv64 commit: > > https://github.com/uclinux-dev/elf2flt/commit/c5c8043c4d79a1cdd9bd359a542e6fdf3b04d5a1 > > I hope this can help. See attached patch I am using, there is one change missing in your patch. best regards Waldemar -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-riscv32.patch Type: text/x-diff Size: 1555 bytes Desc: not available URL: From peter at korsgaard.com Sun Oct 1 14:20:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 16:20:24 +0200 Subject: [Buildroot] [PATCH] package/cups: add upstream security fix for CVE-2023-4504 Message-ID: <20231001142024.3959758-1-peter@korsgaard.com> Fixes CVE-2023-4504: Postscript Parsing Heap Overflow https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h https://takeonme.org/cves/CVE-2023-4504.html There is a 2.4.7 release with this fix, but upstream unfortunately broke !gnutls builds, so backport the security fix instead: https://github.com/OpenPrinting/cups/issues/762 Signed-off-by: Peter Korsgaard --- ...raster-interpret.c-Fix-CVE-2023-4504.patch | 45 +++++++++++++++++++ package/cups/cups.mk | 3 ++ 2 files changed, 48 insertions(+) create mode 100644 package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch diff --git a/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch new file mode 100644 index 0000000000..d1dff4e1fa --- /dev/null +++ b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch @@ -0,0 +1,45 @@ +From 2431caddb7e6a87f04ac90b5c6366ad268b6ff31 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Wed, 20 Sep 2023 14:45:17 +0200 +Subject: [PATCH] raster-interpret.c: Fix CVE-2023-4504 + +We didn't check for end of buffer if it looks there is an escaped +character - check for NULL terminator there and if found, return NULL +as return value and in `ptr`, because a lone backslash is not +a valid PostScript character. + +Upstream: https://github.com/OpenPrinting/cups/commit/2431caddb7e6a87f04ac90b5c6366ad268b6ff31 +[Peter: drop CHANGES hunk] +Signed-off-by: Peter Korsgaard +--- + cups/raster-interpret.c | 14 +++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/cups/raster-interpret.c b/cups/raster-interpret.c +index 6fcf731b5..b8655c8c6 100644 +--- a/cups/raster-interpret.c ++++ b/cups/raster-interpret.c +@@ -1116,7 +1116,19 @@ scan_ps(_cups_ps_stack_t *st, /* I - Stack */ + + cur ++; + +- if (*cur == 'b') ++ /* ++ * Return NULL if we reached NULL terminator, a lone backslash ++ * is not a valid character in PostScript. ++ */ ++ ++ if (!*cur) ++ { ++ *ptr = NULL; ++ ++ return (NULL); ++ } ++ ++ if (*cur == 'b') + *valptr++ = '\b'; + else if (*cur == 'f') + *valptr++ = '\f'; +-- +2.30.2 + diff --git a/package/cups/cups.mk b/package/cups/cups.mk index a3bb2f8dfc..4bc5eeedee 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -13,6 +13,9 @@ CUPS_CPE_ID_VENDOR = openprinting CUPS_SELINUX_MODULES = cups CUPS_INSTALL_STAGING = YES +# 0005-raster-interpret.c-Fix-CVE-2023-4504.patch +CUPS_IGNORE_CVES += CVE-2023-4504 + # Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. define CUPS_RUN_AUTOCONF cd $(@D); $(AUTOCONF) -f -- 2.30.2 From fontaine.fabrice at gmail.com Sun Oct 1 14:23:56 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 16:23:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/tar: security bump to version 1.35 Message-ID: <20231001142356.908755-1-fontaine.fabrice@gmail.com> - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. - Update hash of COPYING (http replaced by https) https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html Signed-off-by: Fabrice Fontaine --- package/tar/tar.hash | 6 +++--- package/tar/tar.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/tar/tar.hash b/package/tar/tar.hash index 1914a9f3b4..108a95ee62 100644 --- a/package/tar/tar.hash +++ b/package/tar/tar.hash @@ -1,4 +1,4 @@ # Locally calculated after checking signature -sha256 63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz -sha256 51337b19c71df92cd4f51c50efe4dc6ddc267d31fd54679be9e9bc2e6ce8132b tar-1.34.cpio.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16 tar-1.35.tar.xz +sha256 c77a38fcf25b21fd8209d20d35638744344ded239cfc7df80138bf46d3c6b16d tar-1.35.cpio.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 690a5952ba..eea112ebc7 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -4,7 +4,7 @@ # ################################################################################ -TAR_VERSION = 1.34 +TAR_VERSION = 1.35 TAR_SOURCE = tar-$(TAR_VERSION).tar.xz TAR_SITE = $(BR2_GNU_MIRROR)/tar # busybox installs in /bin, so we need tar to install as well in /bin -- 2.40.1 From peter at korsgaard.com Sun Oct 1 14:36:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 16:36:23 +0200 Subject: [Buildroot] [PATCHv2] package/go: fix installation In-Reply-To: (yann morin's message of "Mon, 25 Sep 2023 13:34:16 +0200") References: Message-ID: <87il7q5s0o.fsf@48ers.dk> >>>>> writes: > From: "Yann E. MORIN" > When building for a target architecture that go does not support, the > isntallation fails with: > $ make host-go > [...] > ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ > ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory > Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a > host package, so it needs to be explicitly created before we can create > entries in there. > Signed-off-by: Yann E. MORIN > Cc: Christian Stewart > Cc: Anisse Astier > --- > Changes v1 -> v2: > - drop surious hunk Committed, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Oct 1 14:37:08 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 16:37:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/rwmem: fix build with gcc 13 Message-ID: <20231001143708.964342-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc 13: In file included from ../librwmem/itarget.h:3, from ../librwmem/i2ctarget.h:4, from ../librwmem/i2ctarget.cpp:1: ../librwmem/helpers.h:51:39: error: 'uint64_t' has not been declared 51 | int parse_u64(const std::string& str, uint64_t* value); | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/38f6d0fb007c3dc3c21243721395f85649442407 Signed-off-by: Fabrice Fontaine --- .../rwmem/0001-include-missing-cstdint.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/rwmem/0001-include-missing-cstdint.patch diff --git a/package/rwmem/0001-include-missing-cstdint.patch b/package/rwmem/0001-include-missing-cstdint.patch new file mode 100644 index 0000000000..d8369d0739 --- /dev/null +++ b/package/rwmem/0001-include-missing-cstdint.patch @@ -0,0 +1,30 @@ +From 84e884f99e581515b49d8973538bb17e1e6c0dc0 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 20:45:57 -0800 +Subject: [PATCH] include missing + +gcc 13 moved some includes around and as a result is no +longer transitively included [1]. Explicitly include it for +uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj +Upstream: https://github.com/tomba/rwmem/commit/84e884f99e581515b49d8973538bb17e1e6c0dc0 +Signed-off-by: Fabrice Fontaine +--- + librwmem/helpers.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/librwmem/helpers.h b/librwmem/helpers.h +index a0a738b..8d02c9c 100644 +--- a/librwmem/helpers.h ++++ b/librwmem/helpers.h +@@ -1,6 +1,7 @@ + #pragma once + + #include ++#include + #include + #include + #include -- 2.40.1 From peter at korsgaard.com Sun Oct 1 14:38:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 16:38:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/syslog-ng: fix libressl build In-Reply-To: <20231001100009.468927-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 12:00:09 +0200") References: <20231001100009.468927-1-fontaine.fabrice@gmail.com> Message-ID: <87edie5rwh.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fox the following build failure with libressl raised since bump to > version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and > https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: > lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': > lib/transport/tls-context.c:320:3: error: unknown type name > 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? > 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); > | ^~~~~~~~~~~~ > | SSL_AEAD_CTX > Fixes: > - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 14:47:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 16:47:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/tar: security bump to version 1.35 In-Reply-To: <20231001142356.908755-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 16:23:56 +0200") References: <20231001142356.908755-1-fontaine.fabrice@gmail.com> Message-ID: <87a5t25rik.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds > read that results in use of uninitialized memory for a conditional > jump. Exploitation to change the flow of control has not been > demonstrated. The issue occurs in from_header in list.c via a V7 > archive in which mtime has approximately 11 whitespace characters. > - Update hash of COPYING (http replaced by https) > https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 14:46:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 16:46:25 +0200 Subject: [Buildroot] [git commit] package/tar: security bump to version 1.35 Message-ID: <20231001144733.34FFF83567@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d4d483451f0a305781b94b96c15a6cf4b489cd84 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. - Update hash of COPYING (http replaced by https) https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/tar/tar.hash | 6 +++--- package/tar/tar.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/tar/tar.hash b/package/tar/tar.hash index 1914a9f3b4..108a95ee62 100644 --- a/package/tar/tar.hash +++ b/package/tar/tar.hash @@ -1,4 +1,4 @@ # Locally calculated after checking signature -sha256 63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz -sha256 51337b19c71df92cd4f51c50efe4dc6ddc267d31fd54679be9e9bc2e6ce8132b tar-1.34.cpio.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16 tar-1.35.tar.xz +sha256 c77a38fcf25b21fd8209d20d35638744344ded239cfc7df80138bf46d3c6b16d tar-1.35.cpio.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 690a5952ba..eea112ebc7 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -4,7 +4,7 @@ # ################################################################################ -TAR_VERSION = 1.34 +TAR_VERSION = 1.35 TAR_SOURCE = tar-$(TAR_VERSION).tar.xz TAR_SITE = $(BR2_GNU_MIRROR)/tar # busybox installs in /bin, so we need tar to install as well in /bin From peter at korsgaard.com Sun Oct 1 14:38:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 16:38:17 +0200 Subject: [Buildroot] [git commit] package/syslog-ng: fix libressl build Message-ID: <20231001144733.2976583566@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b38aed4eb4246dff4815d85ae1603db2899fa98f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fox the following build failure with libressl raised since bump to version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); | ^~~~~~~~~~~~ | SSL_AEAD_CTX Fixes: - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...ransport-tls-context.c-fix-libressl-build.patch | 97 ++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch new file mode 100644 index 0000000000..17cc72b983 --- /dev/null +++ b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch @@ -0,0 +1,97 @@ +From ede106afd7d70a8f962acf10a4e3f4a50a70cb15 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Oct 2023 11:27:09 +0200 +Subject: [PATCH] lib/transport/tls-context.c: fix libressl build + +Fix the following build failure with libressl raised since version 4.0.0 +and +https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: + +lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': +lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? + 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); + | ^~~~~~~~~~~~ + | SSL_AEAD_CTX + +Fixes: + - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/syslog-ng/syslog-ng/pull/4655 +--- + cmake/openssl_functions.cmake | 1 + + configure.ac | 1 + + lib/transport/tls-context.c | 4 ++++ + syslog-ng-config.h.in | 1 + + 4 files changed, 7 insertions(+) + +diff --git a/cmake/openssl_functions.cmake b/cmake/openssl_functions.cmake +index 5afbd7f12..da06ca59a 100644 +--- a/cmake/openssl_functions.cmake ++++ b/cmake/openssl_functions.cmake +@@ -41,6 +41,7 @@ function (openssl_set_defines) + X509_get_extension_flags + DH_set0_pqg + BN_get_rfc3526_prime_2048 ++ SSL_CONF_CTX_new + SSL_CTX_set_num_tickets + SSL_CTX_set_ciphersuites + SSL_CTX_set1_sigalgs_list +diff --git a/configure.ac b/configure.ac +index d636bbefa..46e43db7b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1136,6 +1136,7 @@ AC_CHECK_DECLS([EVP_MD_CTX_reset], [], [], [[#include ]]) + AC_CHECK_DECLS([ASN1_STRING_get0_data], [], [], [[#include ]]) + AC_CHECK_DECLS([DH_set0_pqg], [], [], [[#include ]]) + AC_CHECK_DECLS([BN_get_rfc3526_prime_2048], [], [], [[#include ]]) ++AC_CHECK_DECLS([SSL_CONF_CTX_new],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set_num_tickets],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_sigalgs_list],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_client_sigalgs_list],[], [], [[#include ]]) +diff --git a/lib/transport/tls-context.c b/lib/transport/tls-context.c +index be2fea68d..713b63f31 100644 +--- a/lib/transport/tls-context.c ++++ b/lib/transport/tls-context.c +@@ -314,6 +314,7 @@ tls_context_setup_sigalgs(TLSContext *self) + return TRUE; + } + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + static gboolean + tls_context_setup_cmd_context(TLSContext *self) + { +@@ -347,6 +348,7 @@ tls_context_setup_cmd_context(TLSContext *self) + SSL_CONF_CTX_free(ssl_conf_ctx); + return result; + } ++#endif + + static PKCS12 * + _load_pkcs12_file(TLSContext *self, const gchar *pkcs12_file) +@@ -593,8 +595,10 @@ tls_context_setup_context(TLSContext *self) + if (!tls_context_setup_sigalgs(self)) + goto error; + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + if (!tls_context_setup_cmd_context(self)) + goto error; ++#endif + + return TLS_CONTEXT_SETUP_OK; + +diff --git a/syslog-ng-config.h.in b/syslog-ng-config.h.in +index 412294d2a..6d01b84a0 100644 +--- a/syslog-ng-config.h.in ++++ b/syslog-ng-config.h.in +@@ -60,6 +60,7 @@ + #cmakedefine ENV_LD_LIBRARY_PATH @ENV_LD_LIBRARY_PATH@ + #cmakedefine01 SYSLOG_NG_HAVE_DECL_EVP_MD_CTX_RESET + #cmakedefine01 SYSLOG_NG_HAVE_DECL_ASN1_STRING_GET0_DATA ++#cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_GET0_PARAM + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET_CIPHERSUITES + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET1_SIGALGS_LIST +-- +2.40.1 + From peter at korsgaard.com Sun Oct 1 14:35:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 16:35:55 +0200 Subject: [Buildroot] [git commit] package/go: fix installation Message-ID: <20231001144733.1C4B98348F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1db38d928292aaca493c80527008b9bd7e6db602 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master When building for a target architecture that go does not support, the installation fails with: $ make host-go [...] ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a host package, so it needs to be explicitly created before we can create entries in there. Signed-off-by: Yann E. MORIN Cc: Christian Stewart Cc: Anisse Astier Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index 1cb3fb40ee..6f080be5c0 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -147,6 +147,7 @@ define HOST_GO_INSTALL_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt + mkdir -p $(HOST_DIR)/bin ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/ ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/ From fontaine.fabrice at gmail.com Sun Oct 1 14:52:04 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 16:52:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnfs: bump to version 5.0.2 Message-ID: <20231001145204.994189-1-fontaine.fabrice@gmail.com> - Update patch - Handle pthread support added with https://github.com/sahlberg/libnfs/commit/f55637619ecbeb7c7bbd4143768b6b45100be86c https://github.com/sahlberg/libnfs/blob/libnfs-5.0.2/CHANGELOG Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 1 - package/libnfs/0001-Fix-include-sys-time.h.patch | 9 +++++---- package/libnfs/libnfs.hash | 2 +- package/libnfs/libnfs.mk | 8 +++++++- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 95695fa243..445bd63827 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -716,7 +716,6 @@ package/libmpeg2/0004-fix-sparc.patch Upstream package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch Upstream package/libnetfilter_conntrack/0001-conntrack-fix-build-with-kernel-5-15-and-musl.patch Upstream package/libnfc/0001-autotools-make-example-build-optional.patch Upstream -package/libnfs/0001-Fix-include-sys-time.h.patch Upstream package/libnids/0001-libpcap-use-pkg-config.patch Upstream package/libnl/0001-Add-musl-workaround-to-the-libc-compat.h-copy.patch Upstream package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch Upstream diff --git a/package/libnfs/0001-Fix-include-sys-time.h.patch b/package/libnfs/0001-Fix-include-sys-time.h.patch index 15b281672a..c3779f13a2 100644 --- a/package/libnfs/0001-Fix-include-sys-time.h.patch +++ b/package/libnfs/0001-Fix-include-sys-time.h.patch @@ -11,10 +11,11 @@ POSIX says `struct timeval` is defined if is included. Instead of the mess that is currently done based on the system on which the stuff is being compiled, include it unconditionally. -Reported upstream: -https://github.com/sahlberg/libnfs/issues/272 +Upstream: https://github.com/sahlberg/libnfs/issues/272 Signed-off-by: J?rg Krause +[Fabrice: update for 5.0.2] +Signed-off-by: Fabrice Fontaine --- include/nfsc/libnfs.h | 5 ----- 1 file changed, 5 deletions(-) @@ -27,8 +28,8 @@ index 09dcf1c..b6db58c 100755 #define _LIBNFS_H_ #include --#if defined(__ANDROID__) || defined(AROS) \ -- || ( defined(__APPLE__) && defined(__MACH__) ) +-#if defined(__ANDROID__) || defined(AROS) || defined(__PPU__) \ +- || ( defined(__APPLE__) && defined(__MACH__) ) || defined(__FreeBSD__) || defined(__OpenBSD__) #include -#else -#include diff --git a/package/libnfs/libnfs.hash b/package/libnfs/libnfs.hash index ffb6c62073..b67a5d2eda 100644 --- a/package/libnfs/libnfs.hash +++ b/package/libnfs/libnfs.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 6ee77e9fe220e2d3e3b1f53cfea04fb319828cc7dbb97dd9df09e46e901d797d libnfs-4.0.0.tar.gz +sha256 637e56643b19da9fba98f06847788c4dad308b723156a64748041035dcdf9bd3 libnfs-5.0.2.tar.gz sha256 edd960c0142b8ada98b43b6396b78f4e557b0bc70ac601a51e397ad04070e2c5 COPYING sha256 d9406ced95457941032aa11d04623b8ab71f2827a3395ebef137aec475be35b1 LICENCE-BSD.txt sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENCE-LGPL-2.1.txt diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk index 173b2c5b06..8dc4d8f545 100644 --- a/package/libnfs/libnfs.mk +++ b/package/libnfs/libnfs.mk @@ -4,11 +4,17 @@ # ################################################################################ -LIBNFS_VERSION = 4.0.0 +LIBNFS_VERSION = 5.0.2 LIBNFS_SITE = $(call github,sahlberg,libnfs,libnfs-$(LIBNFS_VERSION)) LIBNFS_INSTALL_STAGING = YES LIBNFS_AUTORECONF = YES LIBNFS_LICENSE = LGPL-2.1+ (library), BSD-2-Clause (protocol, .x files), GPL-3.0+ (examples) LIBNFS_LICENSE_FILES = COPYING LICENCE-BSD.txt LICENCE-LGPL-2.1.txt LICENCE-GPL-3.txt +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBNFS_CONF_OPTS += --enable-threads +else +LIBNFS_CONF_OPTS += --disable-threads +endif + $(eval $(autotools-package)) -- 2.40.1 From fontaine.fabrice at gmail.com Sun Oct 1 15:20:05 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 17:20:05 +0200 Subject: [Buildroot] [PATCH v2,1/1] package/libnfs: bump to version 5.0.2 Message-ID: <20231001152005.1015070-1-fontaine.fabrice@gmail.com> - Update patch - Handle pthread support added with https://github.com/sahlberg/libnfs/commit/f55637619ecbeb7c7bbd4143768b6b45100be86c https://github.com/sahlberg/libnfs/blob/libnfs-5.0.2/CHANGELOG Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2: - Rebase patch on current master .checkpackageignore | 1 - package/libnfs/0001-Fix-include-sys-time.h.patch | 9 +++++---- package/libnfs/libnfs.hash | 2 +- package/libnfs/libnfs.mk | 8 +++++++- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 95695fa243..445bd63827 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -716,7 +716,6 @@ package/libmpeg2/0004-fix-sparc.patch Upstream package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch Upstream package/libnetfilter_conntrack/0001-conntrack-fix-build-with-kernel-5-15-and-musl.patch Upstream package/libnfc/0001-autotools-make-example-build-optional.patch Upstream -package/libnfs/0001-Fix-include-sys-time.h.patch Upstream package/libnids/0001-libpcap-use-pkg-config.patch Upstream package/libnl/0001-Add-musl-workaround-to-the-libc-compat.h-copy.patch Upstream package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch Upstream diff --git a/package/libnfs/0001-Fix-include-sys-time.h.patch b/package/libnfs/0001-Fix-include-sys-time.h.patch index 15b281672a..c3779f13a2 100644 --- a/package/libnfs/0001-Fix-include-sys-time.h.patch +++ b/package/libnfs/0001-Fix-include-sys-time.h.patch @@ -11,10 +11,11 @@ POSIX says `struct timeval` is defined if is included. Instead of the mess that is currently done based on the system on which the stuff is being compiled, include it unconditionally. -Reported upstream: -https://github.com/sahlberg/libnfs/issues/272 +Upstream: https://github.com/sahlberg/libnfs/issues/272 Signed-off-by: J?rg Krause +[Fabrice: update for 5.0.2] +Signed-off-by: Fabrice Fontaine --- include/nfsc/libnfs.h | 5 ----- 1 file changed, 5 deletions(-) @@ -27,8 +28,8 @@ index 09dcf1c..b6db58c 100755 #define _LIBNFS_H_ #include --#if defined(__ANDROID__) || defined(AROS) \ -- || ( defined(__APPLE__) && defined(__MACH__) ) +-#if defined(__ANDROID__) || defined(AROS) || defined(__PPU__) \ +- || ( defined(__APPLE__) && defined(__MACH__) ) || defined(__FreeBSD__) || defined(__OpenBSD__) #include -#else -#include diff --git a/package/libnfs/libnfs.hash b/package/libnfs/libnfs.hash index ffb6c62073..b67a5d2eda 100644 --- a/package/libnfs/libnfs.hash +++ b/package/libnfs/libnfs.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 6ee77e9fe220e2d3e3b1f53cfea04fb319828cc7dbb97dd9df09e46e901d797d libnfs-4.0.0.tar.gz +sha256 637e56643b19da9fba98f06847788c4dad308b723156a64748041035dcdf9bd3 libnfs-5.0.2.tar.gz sha256 edd960c0142b8ada98b43b6396b78f4e557b0bc70ac601a51e397ad04070e2c5 COPYING sha256 d9406ced95457941032aa11d04623b8ab71f2827a3395ebef137aec475be35b1 LICENCE-BSD.txt sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENCE-LGPL-2.1.txt diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk index 5f950b5cde..b013decfc7 100644 --- a/package/libnfs/libnfs.mk +++ b/package/libnfs/libnfs.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNFS_VERSION = 4.0.0 +LIBNFS_VERSION = 5.0.2 LIBNFS_SITE = $(call github,sahlberg,libnfs,libnfs-$(LIBNFS_VERSION)) LIBNFS_INSTALL_STAGING = YES LIBNFS_AUTORECONF = YES @@ -16,4 +16,10 @@ ifeq ($(BR2_PACKAGE_LIBTIRPC),y) LIBNFS_DEPENDENCIES += libtirpc endif +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBNFS_CONF_OPTS += --enable-threads +else +LIBNFS_CONF_OPTS += --disable-threads +endif + $(eval $(autotools-package)) -- 2.40.1 From fontaine.fabrice at gmail.com Sun Oct 1 15:25:18 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 17:25:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/libstrophe: add c-ares optional dependency Message-ID: <20231001152518.1065457-1-fontaine.fabrice@gmail.com> c-ares is an optional dependency since version 0.10.0 and https://github.com/strophe/libstrophe/commit/a13847d9949f05920f94768495872807ae49c773 Signed-off-by: Fabrice Fontaine --- package/libstrophe/libstrophe.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libstrophe/libstrophe.mk b/package/libstrophe/libstrophe.mk index de9012e67f..ad0860ad30 100644 --- a/package/libstrophe/libstrophe.mk +++ b/package/libstrophe/libstrophe.mk @@ -13,6 +13,13 @@ LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt LIBSTROPHE_INSTALL_STAGING = YES LIBSTROPHE_CONF_OPTS = --disable-examples +ifeq ($(BR2_PACKAGE_C_ARES),y) +LIBSTROPHE_CONF_OPTS += --enable-cares +LIBSTROPHE_DEPENDENCIES += c-ares +else +LIBSTROPHE_CONF_OPTS += --disable-cares +endif + ifeq ($(BR2_PACKAGE_EXPAT),y) LIBSTROPHE_CONF_OPTS += --without-libxml2 LIBSTROPHE_DEPENDENCIES += expat -- 2.40.1 From fontaine.fabrice at gmail.com Sun Oct 1 15:38:01 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 17:38:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpam-tacplus: bump to version 1.7.0 Message-ID: <20231001153801.1123445-1-fontaine.fabrice@gmail.com> - Use official tarball - Drop patch (already in version) - Add patch to fix build failure https://github.com/kravietz/pam_tacplus/blob/v1.7.0/ChangeLog Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 1 - ...0001-Add-an-option-to-disable-Werror.patch | 55 ------------------- .../0001-Remove-conflicting-man-flag.patch | 23 ++++++++ package/libpam-tacplus/libpam-tacplus.hash | 2 +- package/libpam-tacplus/libpam-tacplus.mk | 8 +-- 5 files changed, 28 insertions(+), 61 deletions(-) delete mode 100644 package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch create mode 100644 package/libpam-tacplus/0001-Remove-conflicting-man-flag.patch diff --git a/.checkpackageignore b/.checkpackageignore index 445bd63827..a9cf6e475f 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -731,7 +731,6 @@ package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream -package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream diff --git a/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch b/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch deleted file mode 100644 index 80da2f35b4..0000000000 --- a/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 88c78901503d50d0a62d85c96994ca4d67ab61e0 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 13 Nov 2020 20:50:27 +0100 -Subject: [PATCH] Add an option to disable -Werror - -Allow the user to disable -Werror to avoid the following build failure -with gcc 4.8: - -libtac/lib/magic.c:138:13: error: ignoring return value of 'read', declared with attribute warn_unused_result [-Werror=unused-result] - (void) read(rfd, &seed, sizeof(seed)); - ^ - -Fixes: - - http://autobuild.buildroot.org/results/5c17226f12eba104d907693ec37fc101cc6d447f - -Signed-off-by: Fabrice Fontaine ---- - Makefile.am | 6 +++++- - configure.ac | 3 +++ - 2 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/Makefile.am b/Makefile.am -index 0be3cdb..4a137e9 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -8,7 +8,11 @@ - - ACLOCAL_AMFLAGS = -I config - AUTOMAKE_OPTIONS = subdir-objects --AM_CFLAGS = -Wall -Wextra -Werror -+AM_CFLAGS = -Wall -Wextra -+ -+if ENABLE_WERROR -+AM_CFLAGS += -Werror -+endif - - if TACC - bin_PROGRAMS = tacc -diff --git a/configure.ac b/configure.ac -index d0c5eba..dd8a966 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -100,6 +100,9 @@ AC_SUBST(pamdir) - AC_ARG_ENABLE(doc, AS_HELP_STRING([--disable-doc], [do not build docs])) - AM_CONDITIONAL(DOC, test "x$enable_doc" != "xno") - -+AC_ARG_ENABLE(werror, AS_HELP_STRING([--disable-werror], [do not build with -Werror])) -+AM_CONDITIONAL(ENABLE_WERROR, test "x$enable_werror" != "xno") -+ - dnl -------------------------------------------------------------------- - dnl Switch for run-time debugging - AC_ARG_ENABLE(runtime-debugging, [AS_HELP_STRING([--enable-runtime-debugging], --- -2.28.0 - diff --git a/package/libpam-tacplus/0001-Remove-conflicting-man-flag.patch b/package/libpam-tacplus/0001-Remove-conflicting-man-flag.patch new file mode 100644 index 0000000000..a832366cb1 --- /dev/null +++ b/package/libpam-tacplus/0001-Remove-conflicting-man-flag.patch @@ -0,0 +1,23 @@ +From 104044848ffb0a283e1f1bf3466693fa4af450e9 Mon Sep 17 00:00:00 2001 +From: Pawel Krawczyk +Date: Mon, 7 Nov 2022 22:10:52 +0000 +Subject: [PATCH] Remove conflicting man flag + +Upstream: https://github.com/kravietz/pam_tacplus/commit/104044848ffb0a283e1f1bf3466693fa4af450e9 +Signed-off-by: Fabrice Fontaine +--- + Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index a481d7a..ef2b92b 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -15,7 +15,6 @@ bin_PROGRAMS = tacc + tacc_SOURCES = tacc.c + tacc_LDADD = libtac.la $(LTLIBINTL) $(LIB_CRYPTO) $(LIB_GETRANDOM) + tacc_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/libtac/include @rt_debug_defines@ -I $(top_srcdir)/lib +-dist_man_MANS = tacc.1 + man1_MANS = tacc.1 + + lib_LTLIBRARIES = libtac.la diff --git a/package/libpam-tacplus/libpam-tacplus.hash b/package/libpam-tacplus/libpam-tacplus.hash index 084a3e54a4..fc1db9fef7 100644 --- a/package/libpam-tacplus/libpam-tacplus.hash +++ b/package/libpam-tacplus/libpam-tacplus.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 73961800dc0d5e422751ad4c9f09b1863ab33e381e0bdb2a1d0343dcfc30e44e libpam-tacplus-1.6.1.tar.gz +sha256 cf00e27b687c1fafe4b2cf35e648116e99e9c9832718a0d3b479bcf43370adf4 pam_tacplus-1.7.0.tar.gz sha256 b2b961f07e97c4fb78074276da304ea36b85dc299aae5efb79080cedaea3d5ac COPYING diff --git a/package/libpam-tacplus/libpam-tacplus.mk b/package/libpam-tacplus/libpam-tacplus.mk index ff0dce9c0b..044b7207f9 100644 --- a/package/libpam-tacplus/libpam-tacplus.mk +++ b/package/libpam-tacplus/libpam-tacplus.mk @@ -4,8 +4,9 @@ # ################################################################################ -LIBPAM_TACPLUS_VERSION = 1.6.1 -LIBPAM_TACPLUS_SITE = $(call github,jeroennijhof,pam_tacplus,v$(LIBPAM_TACPLUS_VERSION)) +LIBPAM_TACPLUS_VERSION = 1.7.0 +LIBPAM_TACPLUS_SOURCE = pam_tacplus-$(LIBPAM_TACPLUS_VERSION).tar.gz +LIBPAM_TACPLUS_SITE = https://github.com/kravietz/pam_tacplus/releases/download/v$(LIBPAM_TACPLUS_VERSION) LIBPAM_TACPLUS_LICENSE = GPL-2.0+ LIBPAM_TACPLUS_LICENSE_FILES = COPYING LIBPAM_TACPLUS_CPE_ID_VENDOR = pam_tacplus_project @@ -13,8 +14,7 @@ LIBPAM_TACPLUS_CPE_ID_PRODUCT = pam_tacplus LIBPAM_TACPLUS_DEPENDENCIES = \ linux-pam \ $(if $(BR2_PACKAGE_OPENSSL),openssl) -# Fetching from github, we need to generate the configure script -# 0001-Add-an-option-to-disable-Werror.patch +# We're patching Makefile.am LIBPAM_TACPLUS_AUTORECONF = YES LIBPAM_TACPLUS_INSTALL_STAGING = YES LIBPAM_TACPLUS_CONF_ENV = \ -- 2.40.1 From fontaine.fabrice at gmail.com Sun Oct 1 15:45:40 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 17:45:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/liburing: bump to version 2.4 Message-ID: <20231001154540.1131198-1-fontaine.fabrice@gmail.com> Update hash of README (changes not related to licensing) https://github.com/axboe/liburing/blob/liburing-2.4/CHANGELOG Signed-off-by: Fabrice Fontaine --- package/liburing/liburing.hash | 4 ++-- package/liburing/liburing.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/liburing/liburing.hash b/package/liburing/liburing.hash index 7d3306850f..eaee8fcfa1 100644 --- a/package/liburing/liburing.hash +++ b/package/liburing/liburing.hash @@ -1,8 +1,8 @@ # Locally calculated -sha256 0fcd25dc1eb32cbeb534219f8e7fcfeadbd8dc2304aa447148e5ca8408076f22 liburing-2.2.tar.bz2 +sha256 ca260e7a5820c2d0e737ec1e9b999f10776dbe84a169a02a0eff10c8eeaf3394 liburing-2.4.tar.bz2 # Hash for license files sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL sha256 2ec12f7934cdfce25ff72b0557738989d79fc7a496d1cf9b2d3f9464fd61edbe LICENSE -sha256 1c3351726408c22787dafbb5cc4bfeaa38ca8e92eabf59a36a046a5a2e66108f README +sha256 51e124279343177cb3c214ffddc011f1355b6eba0bbefca4f4c41fbc56574c92 README diff --git a/package/liburing/liburing.mk b/package/liburing/liburing.mk index e98c710997..c35fb39390 100644 --- a/package/liburing/liburing.mk +++ b/package/liburing/liburing.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBURING_VERSION = 2.2 +LIBURING_VERSION = 2.4 LIBURING_SOURCE = liburing-$(LIBURING_VERSION).tar.bz2 LIBURING_SITE = https://git.kernel.dk/cgit/liburing/snapshot LIBURING_LICENSE = (GPL-2.0 with exceptions and LGPL-2.1+) or MIT -- 2.40.1 From arnout at mind.be Sun Oct 1 15:48:15 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 17:48:15 +0200 Subject: [Buildroot] [git commit] package/pkg-generic.mk: fix rule order for reinstall/rebuild/reconfigure Message-ID: <20231001155825.C6C1E8386F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e3105d5c8bd9ab31e728af9732a67d203c0a2e4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The reinstall, rebuild and reconfigure commands rely on the left-to-right order of evaluation of the dependencies to make sure that the stamp files are removed before attempting to rebuild. However, this order of evaluation is not guaranteed. In particular, if top-level parallel build is enabled, they are executed in parallel and the stamp file may not have been removed yet when it is evaluated to decide if rebuild has to be done. Since make 4.4, it is possible to reproduce this issue by passing `--shuffle=reverse` to the make commandline. To solve this, add a .WAIT directive between the clean and install/build/configure dependencies. .WAIT was introduced in make 4.4 as well. It makes sure that the dependencies on the left are evaluated before the dependencies on the right - exactly what we want here. Earlier versions of make don't know about .WAIT, so we need to add a .PHONY dependency to effectively ignore it. Note that this doesn't fix the problem for make versions earlier than 4.4. However, the issue isn't really that important: reinstall, rebuild and reconfigure are development tools, they're not fully reliable to begin with, and it's anyway less likely that someone uses `make -j` when doing a reinstall/rebuild/reconfigure. Signed-off-by: Arnout Vandecappelle Reported-by: James Hilliard --- Makefile | 3 +++ package/pkg-generic.mk | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a12564ff96..dc4dbc64e1 100644 --- a/Makefile +++ b/Makefile @@ -1260,4 +1260,7 @@ include docs/manual/manual.mk .PHONY: $(noconfig_targets) +# .WAIT was introduced in make 4.4. For older make, define it as phony. +.PHONY: .WAIT + endif #umask / $(CURDIR) / $(O) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index d55edb1b74..6e944dd6b7 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -1063,17 +1063,17 @@ endif rm -f $$($(2)_TARGET_INSTALL_IMAGES) rm -f $$($(2)_TARGET_INSTALL_HOST) -$(1)-reinstall: $(1)-clean-for-reinstall $(1) +$(1)-reinstall: $(1)-clean-for-reinstall .WAIT $(1) $(1)-clean-for-rebuild: $(1)-clean-for-reinstall rm -f $$($(2)_TARGET_BUILD) -$(1)-rebuild: $(1)-clean-for-rebuild $(1) +$(1)-rebuild: $(1)-clean-for-rebuild .WAIT $(1) $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild rm -f $$($(2)_TARGET_CONFIGURE) -$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) +$(1)-reconfigure: $(1)-clean-for-reconfigure .WAIT $(1) # define the PKG variable for all targets, containing the # uppercase package variable prefix From arnout at mind.be Sun Oct 1 16:05:19 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 18:05:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-generic.mk: fix rule order for re{install, build, configure} In-Reply-To: <20221018034605.800593-1-james.hilliard1@gmail.com> References: <20221018034605.800593-1-james.hilliard1@gmail.com> Message-ID: Hi James, On 18/10/2022 05:46, James Hilliard wrote: > These command rely on the clean operations being first so that the > stamp files being deleted will rebuild the targets. > > The execution ordering of the clean and rebuild operations may > change, for example if --shuffle=reversed is set. > > To ensure the evaluation order is always correct use double colon > rules to make the evaluation order explicit as per make docs: > > The double-colon rules for a target are executed in the order they > appear in the makefile. As noted in earlier discussions, this feels a bit hackish and it's not clear if this behaviour is going to be kept in future versions of make. Since make 4.4, however, there's a better solution: it introduced a .WAIT phony target that enforces the ordering of dependencies. So I instead made a commit[1] that uses that approach. Regards, Arnout [1] https://gitlab.com/buildroot.org/buildroot/-/commit/7e3105d5c8bd9ab31e728af9732a67d203c0a2e4 > > Signed-off-by: James Hilliard > --- > package/pkg-generic.mk | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index f24e03a325..6cb461af90 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -1057,17 +1057,20 @@ endif > rm -f $$($(2)_TARGET_INSTALL_IMAGES) > rm -f $$($(2)_TARGET_INSTALL_HOST) > > -$(1)-reinstall: $(1)-clean-for-reinstall $(1) > +$(1)-reinstall:: $(1)-clean-for-reinstall > +$(1)-reinstall:: $(1) > > $(1)-clean-for-rebuild: $(1)-clean-for-reinstall > rm -f $$($(2)_TARGET_BUILD) > > -$(1)-rebuild: $(1)-clean-for-rebuild $(1) > +$(1)-rebuild:: $(1)-clean-for-rebuild > +$(1)-rebuild:: $(1) > > $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild > rm -f $$($(2)_TARGET_CONFIGURE) > > -$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) > +$(1)-reconfigure:: $(1)-clean-for-reconfigure > +$(1)-reconfigure:: $(1) > > # define the PKG variable for all targets, containing the > # uppercase package variable prefix From yann.morin.1998 at free.fr Sun Oct 1 16:05:59 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 18:05:59 +0200 Subject: [Buildroot] [PATCH 2/2] package/skeleton-init-systemd: flexible reinstalls In-Reply-To: References: <20230505043002.1956-1-james.d.knight@live.com> Message-ID: <20231001160559.GM2579@scaer> James, All, On 2023-05-05 00:30 -0400, James Knight spake thusly: > The following commit tweaks the `skeleton-init-systemd` package to > gracefully handle if a user invokes a reinstall for the package (e.g. > when performing development tweaks to the initial skeleton). > > Signed-off-by: James Knight > --- > Only a suggestion; feel free to drop. I've spent a bit of time on this, and was about to apply... However, there are a few "issues" I noticed with it, mostly that /etc/fstab should not be used with systemd, but mount units should be used, and so /etc/fstab should only contain this one line, so it does not make much sense to have it "reinstallable". Also, with BR2_PER_PACKAGE_DIRECTORIES=y, when the "final" target is aggregated there is no guarantee that the modified file gets used in this case. Indeed, assuming the following dependency chain (simplified for the sake of the explanation): S <-- A <-- target/ `<-- Z <--' I.e. A depends on S (the skeleton), Z also depends on S, and the target is aggreagated from A and Z, and S. When you first build, Z inherits the fstab from S, and because it sorts after S, that the one that gets used. If you rebuild S, Z will not get rebuild, so will not get the new fstab. And thus when you assemble target after the rebuild, you still get the old file from Z, not the new one from S. (there are more complex cases, the above is just a trivial example). Finally, the only guarantee Buildroot really offers is fof a full build from scratch. And last, reinstalling a skeleton package is very rare, so fixing it is not worth the effort, considering all the above. So I just decided to drop it. Regards, Yann E. MORIN. > --- > .../skeleton-init-systemd.mk | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) > > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index 4076821c0c0429cf90681f4b16be114c44bde282..18ae91f2eea30277805ee82791c62d53f24dca1e 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -18,13 +18,23 @@ SKELETON_INIT_SYSTEMD_PROVIDES = skeleton > ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) > > define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW > - echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab > + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ > + echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab; \ > + else \ > + sed -i "s|/dev/root.*|/dev/root / auto rw 0 1|g" \ > + $(TARGET_DIR)/etc/fstab; \ > + fi > endef > > else > > define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW > - echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab > + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ > + echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab; \ > + else \ > + sed -i "s|/dev/root.*|/dev/root / auto ro 0 1|g" \ > + $(TARGET_DIR)/etc/fstab; \ > + fi > endef > > # On a R/O rootfs, /var is a tmpfs filesystem. So, at build time, we > @@ -78,9 +88,9 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS > mkdir -p $(TARGET_DIR)/home > mkdir -p $(TARGET_DIR)/srv > mkdir -p $(TARGET_DIR)/var > - ln -s ../run $(TARGET_DIR)/var/run > + ln -sf ../run $(TARGET_DIR)/var/run > # prevent install scripts to create var/lock as directory > - ln -s ../run/lock $(TARGET_DIR)/var/lock > + ln -sf ../run/lock $(TARGET_DIR)/var/lock > install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf > $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) > endef > -- > 2.40.1.windows.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Sun Oct 1 16:09:48 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 18:09:48 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/Makefile.in: set --shuffle=none for MAKE1 In-Reply-To: <20221016193014.3384022-1-james.hilliard1@gmail.com> References: <20221016193014.3384022-1-james.hilliard1@gmail.com> Message-ID: On 16/10/2022 21:30, James Hilliard wrote: > Make 4.4 introduces a shuffle mode which randomizes prerequisites > in order to better flush out issues with parallel builds, as this > mode randomizes prerequisites even when using -j1 builds we must > also explicitely mark parallel incompatible builds by setting > --shuffle=none which disables goals prerequisites randomization > for the parallel incompatible package when running in shuffle mode. > > Signed-off-by: James Hilliard Applied to master with a slightly extended commit message, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - use --shuffle=none to disable shuffle for MAKE1 > --- > package/Makefile.in | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/Makefile.in b/package/Makefile.in > index 43d214bcbe..c69c201c46 100644 > --- a/package/Makefile.in > +++ b/package/Makefile.in > @@ -17,7 +17,9 @@ else > PARALLEL_JOBS := $(BR2_JLEVEL) > endif > > -MAKE1 := $(HOSTMAKE) -j1 > +# Only build one job at a time, *and* to not randomise goals and > +# prerequisites ordering in make 4.4+ > +MAKE1 := $(HOSTMAKE) -j1 $(if $(findstring --shuffle,$(MAKEFLAGS)),--shuffle=none) > override MAKE = $(HOSTMAKE) \ > $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) > From arnout at mind.be Sun Oct 1 16:06:36 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 18:06:36 +0200 Subject: [Buildroot] [git commit] package/Makefile.in: set --shuffle=none for MAKE1 Message-ID: <20231001161002.2E303838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f664d7dc24c70ef08ced78d5d3f50a8ad673ea02 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Make 4.4 introduces a shuffle mode which randomizes prerequisites in order to better flush out issues with parallel builds. On the other hand, we use MAKE1 to build packages that are known to be broken with parallel build. For these, passing the shuffle option would be counter-productive and lead to spurious build failures. The --shuffle=none option exists to turn off shuffling again. We can't add this option unconditionally, however, because Make < 4.4 doesn't know it. Therefore, conditionally pass --shuffle=none only if there is a shuffle option in MAKEFLAGS. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle --- package/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index 4953d2d418..5c11cae732 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -17,7 +17,9 @@ else PARALLEL_JOBS := $(BR2_JLEVEL) endif -MAKE1 := $(HOSTMAKE) -j1 +# Only build one job at a time, *and* to not randomise goals and +# prerequisites ordering in make 4.4+ +MAKE1 := $(HOSTMAKE) -j1 $(if $(findstring --shuffle,$(MAKEFLAGS)),--shuffle=none) override MAKE = $(HOSTMAKE) \ $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) From neal.frager at amd.com Sun Oct 1 16:11:23 2023 From: neal.frager at amd.com (Frager, Neal) Date: Sun, 1 Oct 2023 16:11:23 +0000 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: <877co67fgz.fsf@48ers.dk> References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> <877co67fgz.fsf@48ers.dk> Message-ID: Hello Peter, >>> Is this ok for both of you? >> >> I'm OK with the whole approach, except for the sentence "I do not >> believe there is currently any organized effort to upstream any of >> these patches"... which is probably already clear to the recipients >> of this message, and thus is not going to be solved in this thread, >> however I just want to be sure my position is clear. I'd also like to >> stress that I appreciate a lot the work you are doing to properly >> support the pmufw in Buildroot. Thanks! >> >> Luca > Your position is very clear. And I can assure you that both Ibai and I agree with it. > It would be much better if all of these binutils and gcc patches for > microblaze go upstream, and both Ibai and I have pushed for it > internally at AMD / Xilinx. > The only thing I can say is that change is always possible. > Yesterday, we could not build a zynqmp pmufw, versal plm or versal > psmfw in buildroot. Today, we have submitted a solution to change > that. > Tomorrow (figurative meaning the future), we hope to get all these > binutils and gcc patches upstream, so the upstream toolchain matches > the AMD Xilinx distributed toolchain. > One step at a time. > Sure! Sorry, I am somewhat late to the review game here. I wonder how this fits with Luca's zynqmp-pmufw-builder? >From my view, we can continue maintaining Luca's zynqmp-pmufw-builder in parallel. Buildroot will still offer the option to accept a pre-built pmufw binary without needing to build a microblaze toolchain, so if users prefer to build the pmufw outside of buildroot (to have a faster buildroot build perhaps), this capability will still be available. > E.G. today the setup is that the pmufw is built outside Buildroot and we just point the u-boot package to where it can fetch the prebuilt firmware binary - This is nice in the sense that it is fast and simple, but makes is somewhat annoying to make modifications to the firmware. > This series instead goes to the other extreme, E.G. we build the entire microblaze toolchain from scratch and then use it to build the firmware and use it in the u-boot package - This is nice because it is all in Buildroot and we have it all under control, but also brings quite some build time overhead for building the toolchain before building the (small) toolchain. You can naturally "solve" it by using two defconfigs, E.G. one that builds the pmufw and another that uses the prebuilt one, but it isn't very handy either. > Would an in between option not be more interesting, E.G. use (or download) a prebuilt microblaze toolchain and use that to build the firmware? That would still give the flexibility to easily tweak the firmware, but not the overhead of building the toolchain every time? > I guess the problems with that are what to do about the meta-xilinx patches and where/who wants to host a prebuilt one? This is a good point. As for the meta-xilinx patches, Ibai and I have started going through them and have even started upstreaming a few. The majority of the meta-xilinx patches are actually for enabling 64-bit microblaze support, which is not available in the upstream gnu binutils or gcc. Since we do not need 64-bit microblaze for the zynqmp pmufw or the versal plm and psmfw applications, we can easily skip these patches. Our current objective is to get all microblaze 32-bit bug fix and feature support patches (such as the barrel shift instructions used by the pmufw) upstreamed. Since this appears to be a small subset of the overall meta-xilinx patches, we hope to be able to enable the use of the upstream gnu binutils and gcc, so that the meta-xilinx patches will no longer be needed for our use case of building the zynqmp pmufw, versal plm and versal psmfw applications. However, in order to achieve what you are asking for, we would still need someone to host a pre-built microblaze compiler somewhere, if we would want to go this route. At the moment, it is not in the AMD Xilinx plan to host the toolchains somewhere outside of a Petalinux or Vitis download. If the upstream toolchain included all the necessary meta-xilinx patches, could bootlin potentially host a pre-built toolchain somewhere? Even if we add the option to use a pre-built microblaze toolchain, I would still like to include the option we have developed in buildroot to build and control everything within buildroot itself. It is true that the build time is longer, but many users like the option of building the toolchains they use and would be willing to pay the build time price to have this option. From my view, adding a pre-built toolchain option should not be "instead of" offering the option to build a toolchain, but should instead be an option in "addition to" building a toolchain. Basically, following the same concept as using the buildroot internal toolchain or supplying an external one for the main Linux toolchain. What are your thoughts? Best regards, Neal Frager AMD From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:08 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:08 +0200 Subject: [Buildroot] [git commit] package/llvm-project/llvm: add llvm dump support Message-ID: <20231001163133.E60F783DB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43da0b8f78c890750a84d5085ba8163d51876c52 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master LLVM_ENABLE_DUMP required by mesa3d rusticl: https://docs.mesa3d.org/rusticl.html Signed-off-by: Romain Naour Acked-by: Daniel Lang Signed-off-by: Thomas Petazzoni --- package/llvm-project/llvm/Config.in | 6 ++++++ package/llvm-project/llvm/llvm.mk | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/package/llvm-project/llvm/Config.in b/package/llvm-project/llvm/Config.in index ebb0fca66a..4ee84b3bcc 100644 --- a/package/llvm-project/llvm/Config.in +++ b/package/llvm-project/llvm/Config.in @@ -57,6 +57,12 @@ config BR2_PACKAGE_LLVM_BPF Build BPF target. Select this option if you are going to install bcc on the target. +config BR2_PACKAGE_LLVM_DUMP + bool "enable dump" + help + Build LLVM with dump functions even when assertions are + disabled. + endif comment "llvm needs a toolchain w/ wchar, threads, C++, gcc >= 7, dynamic library, host gcc >= 7" diff --git a/package/llvm-project/llvm/llvm.mk b/package/llvm-project/llvm/llvm.mk index 556a2f8c35..6598d8b6c1 100644 --- a/package/llvm-project/llvm/llvm.mk +++ b/package/llvm-project/llvm/llvm.mk @@ -228,6 +228,13 @@ HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=OFF LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=OFF endif +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_DUMP=OFF +ifeq ($(BR2_PACKAGE_LLVM_DUMP),y) +LLVM_CONF_OPTS += -DLLVM_ENABLE_DUMP=ON +else +LLVM_CONF_OPTS += -DLLVM_ENABLE_DUMP=OFF +endif + # Compiler-rt not in the source tree. # llvm runtime libraries are not in the source tree. # Polly is not in the source tree. From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:12 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:12 +0200 Subject: [Buildroot] [git commit] package/spirv-llvm-translator: use host-spirv-headers Message-ID: <20231001163134.2710383DB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d249ed0bcd976b37424f8b46f2b7e0ef3fac0528 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master We recently discovered that host-spirv-llvm-translator downloads the SPIR-V headers during its build process, which is bad. Now that we have a host variant of spirv-headers, we use it to avoid the "downloading during the build". Signed-off-by: Thomas Petazzoni --- package/spirv-llvm-translator/spirv-llvm-translator.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/spirv-llvm-translator/spirv-llvm-translator.mk b/package/spirv-llvm-translator/spirv-llvm-translator.mk index 37db47340e..523890a986 100644 --- a/package/spirv-llvm-translator/spirv-llvm-translator.mk +++ b/package/spirv-llvm-translator/spirv-llvm-translator.mk @@ -10,11 +10,13 @@ SPIRV_LLVM_TRANSLATOR_VERSION = v15.0.0-46-ge82ecc2bd7295604fcf1824e47c95fa6a09c SPIRV_LLVM_TRANSLATOR_SITE = $(call github,KhronosGroup,SPIRV-LLVM-Translator,$(SPIRV_LLVM_TRANSLATOR_VERSION)) SPIRV_LLVM_TRANSLATOR_LICENSE = NCSA SPIRV_LLVM_TRANSLATOR_LICENSE_FILES = LICENSE.TXT -HOST_SPIRV_LLVM_TRANSLATOR_DEPENDENCIES = host-clang host-llvm +HOST_SPIRV_LLVM_TRANSLATOR_DEPENDENCIES = host-clang host-llvm host-spirv-headers HOST_SPIRV_LLVM_TRANSLATOR_CONF_OPTS = \ -DLLVM_BUILD_TOOLS=ON \ -DLLVM_DIR=$(HOST_DIR)/lib/cmake/llvm \ -DLLVM_SPIRV_BUILD_EXTERNAL=YES \ - -DLLVM_SPIRV_INCLUDE_TESTS=OFF + -DLLVM_SPIRV_INCLUDE_TESTS=OFF \ + -DLLVM_EXTERNAL_PROJECTS="SPIRV-Headers" \ + -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=$(HOST_DIR)/include $(eval $(host-cmake-package)) From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:07 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:07 +0200 Subject: [Buildroot] [git commit] package/rust-bindgen: new host package Message-ID: <20231001163133.D9A3D83DB7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=19372d52ab42be240561583896554e5eb29db72c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master host-rust-bindgen will be required to build several different rust-based packages, including a Linux kernel with rust modules and mesa3d's rusticl which is the rust-based implementation of OpenCL. The Cargo.toml file at the project root is a "virtual manifest". Since we only want to install rust-bindgen, we can specify RUST_BINDGEN_SUBDIR = bindgen-cli to use the Cargo.toml from this directory. Signed-off-by: Romain Naour Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/rust-bindgen/rust-bindgen.hash | 3 +++ package/rust-bindgen/rust-bindgen.mk | 17 +++++++++++++++++ 3 files changed, 21 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index bc4027932c..c1d9577ba5 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2649,6 +2649,7 @@ F: package/ripgrep/ N: Sebastian Weyer F: package/amlogic-boot-fip/ F: package/nushell/ +F: package/rust-bindgen/ F: support/testing/tests/package/sample_nu.nu F: support/testing/tests/package/test_nu.py diff --git a/package/rust-bindgen/rust-bindgen.hash b/package/rust-bindgen/rust-bindgen.hash new file mode 100644 index 0000000000..fe94bbc096 --- /dev/null +++ b/package/rust-bindgen/rust-bindgen.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 e1cdbaa8e0ed96f647e49807aecfc44d9239d438c2b1c084edb9a3cca0b1f68f rust-bindgen-0.65.1.tar.gz +sha256 c23953d9deb0a3312dbeaf6c128a657f3591acee45067612fa68405eaa4525db LICENSE diff --git a/package/rust-bindgen/rust-bindgen.mk b/package/rust-bindgen/rust-bindgen.mk new file mode 100644 index 0000000000..aa0d7d44a4 --- /dev/null +++ b/package/rust-bindgen/rust-bindgen.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# rust-bindgen +# +################################################################################ + +RUST_BINDGEN_VERSION = 0.65.1 +RUST_BINDGEN_SITE = $(call github,rust-lang,rust-bindgen,v$(RUST_BINDGEN_VERSION)) +RUST_BINDGEN_LICENSE = BSD-3-clause +RUST_BINDGEN_LICENSE_FILES = LICENSE + +# The Cargo.toml at the root directory is a "virtual manifest". +# Since we only want to build and install bindgen use the Cargo.toml +# from the bindgen-cli subdirectory. +RUST_BINDGEN_SUBDIR = bindgen-cli + +$(eval $(host-cargo-package)) From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:11 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:11 +0200 Subject: [Buildroot] [git commit] package/spirv-headers: add host variant Message-ID: <20231001163134.1C71A83DB7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=93a981cd9db69c0cdb18d15c92ee01eb58ca1941 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master We discovered that the existing host-spirv-llvm-translator package downloads the spirv-headers during its build process, which of course is very wrong. In order to fix this, we first introduce a host variant of the spirv-headers. Signed-off-by: Thomas Petazzoni --- package/spirv-headers/spirv-headers.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/spirv-headers/spirv-headers.mk b/package/spirv-headers/spirv-headers.mk index ff43dfd8e9..9f84c42b2d 100644 --- a/package/spirv-headers/spirv-headers.mk +++ b/package/spirv-headers/spirv-headers.mk @@ -14,3 +14,4 @@ SPIRV_HEADERS_INSTALL_STAGING = YES SPIRV_HEADERS_INSTALL_TARGET = NO $(eval $(cmake-package)) +$(eval $(host-cmake-package)) From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:09 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:09 +0200 Subject: [Buildroot] [git commit] package/spirv-headers: new package Message-ID: <20231001163134.01CC683DB9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4947445f278c1ca4476ca48220a5c1a7fb8ff9d4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master These headers are required to build the pacakge spirv-tools which is requried by mesa3d for building rusticl: https://docs.mesa3d.org/rusticl.html Signed-off-by: Romain Naour Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/spirv-headers/Config.in | 6 ++++++ package/spirv-headers/spirv-headers.hash | 3 +++ package/spirv-headers/spirv-headers.mk | 15 +++++++++++++++ 5 files changed, 26 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index c1d9577ba5..c45e7315da 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2650,6 +2650,7 @@ N: Sebastian Weyer F: package/amlogic-boot-fip/ F: package/nushell/ F: package/rust-bindgen/ +F: package/spirv-headers/ F: support/testing/tests/package/sample_nu.nu F: support/testing/tests/package/test_nu.py diff --git a/package/Config.in b/package/Config.in index d6364f976a..d673f0616d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -370,6 +370,7 @@ comment "Graphic libraries" source "package/sdl2_mixer/Config.in" source "package/sdl2_net/Config.in" source "package/sdl2_ttf/Config.in" + source "package/spirv-headers/Config.in" source "package/tk/Config.in" source "package/vulkan-headers/Config.in" source "package/vulkan-loader/Config.in" diff --git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in new file mode 100644 index 0000000000..fd20f301d4 --- /dev/null +++ b/package/spirv-headers/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_SPIRV_HEADERS + bool "spirv-headers" + help + Machine-readable files for the SPIR-V Registry + + https://www.khronos.org/registry/spir-v diff --git a/package/spirv-headers/spirv-headers.hash b/package/spirv-headers/spirv-headers.hash new file mode 100644 index 0000000000..136f3df733 --- /dev/null +++ b/package/spirv-headers/spirv-headers.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 32b4c6ae6a2fa9b56c2c17233c8056da47e331f76e117729925825ea3e77a739 spirv-headers-1.3.261.1.tar.gz +sha256 9b243f6f0bf44e295ff411a0f7b7642d1d0dff7cdc42507e9f7206f439e51b5a LICENSE diff --git a/package/spirv-headers/spirv-headers.mk b/package/spirv-headers/spirv-headers.mk new file mode 100644 index 0000000000..3ab506e0db --- /dev/null +++ b/package/spirv-headers/spirv-headers.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# spirv-headers +# +################################################################################ + +SPIRV_HEADERS_VERSION = 1.3.261.1 +SPIRV_HEADERS_SITE = $(call github,KhronosGroup,SPIRV-Headers,sdk-$(SPIRV_HEADERS_VERSION)) +SPIRV_HEADERS_LICENSE = MIT +SPIRV_HEADERS_LICENSE_FILES = LICENSE + +SPIRV_HEADERS_INSTALL_STAGING = YES +SPIRV_HEADERS_INSTALL_TARGET = NO + +$(eval $(cmake-package)) From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:10 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:10 +0200 Subject: [Buildroot] [git commit] package/spirv-tools: new package Message-ID: <20231001163134.10D4483DBA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0a01085abeb7d8a097cb68b9f7f4faec7711543c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package is required by mesa3d for building rusticl: https://docs.mesa3d.org/rusticl.html As the version needs to be kept in sync between spirv-headers and spirv-tools, we add a small comment about this in each package. Signed-off-by: Romain Naour Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/spirv-headers/spirv-headers.mk | 1 + package/spirv-tools/Config.in | 8 ++++++++ package/spirv-tools/spirv-tools.hash | 3 +++ package/spirv-tools/spirv-tools.mk | 21 +++++++++++++++++++++ 5 files changed, 34 insertions(+) diff --git a/package/Config.in b/package/Config.in index d673f0616d..009f7ba186 100644 --- a/package/Config.in +++ b/package/Config.in @@ -327,6 +327,7 @@ comment "Graphic applications" source "package/pngquant/Config.in" source "package/qt5cinex/Config.in" source "package/rrdtool/Config.in" + source "package/spirv-tools/Config.in" source "package/stellarium/Config.in" source "package/sway/Config.in" source "package/swaybg/Config.in" diff --git a/package/spirv-headers/spirv-headers.mk b/package/spirv-headers/spirv-headers.mk index 3ab506e0db..ff43dfd8e9 100644 --- a/package/spirv-headers/spirv-headers.mk +++ b/package/spirv-headers/spirv-headers.mk @@ -4,6 +4,7 @@ # ################################################################################ +# Keep in sync with spirv-tools version SPIRV_HEADERS_VERSION = 1.3.261.1 SPIRV_HEADERS_SITE = $(call github,KhronosGroup,SPIRV-Headers,sdk-$(SPIRV_HEADERS_VERSION)) SPIRV_HEADERS_LICENSE = MIT diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in new file mode 100644 index 0000000000..e2f46253a9 --- /dev/null +++ b/package/spirv-tools/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_SPIRV_TOOLS + bool "spirv-tools" + select BR2_PACKAGE_SPIRV_HEADERS + help + The SPIR-V Tools project provides an API and commands for + processing SPIR-V modules. + + https://github.com/KhronosGroup/SPIRV-Tools diff --git a/package/spirv-tools/spirv-tools.hash b/package/spirv-tools/spirv-tools.hash new file mode 100644 index 0000000000..65cb9c619b --- /dev/null +++ b/package/spirv-tools/spirv-tools.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 ead95c626ad482882a141d1aa0ce47b9453871f72c42c0b28d39c82f60a52008 spirv-tools-1.3.261.1.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/spirv-tools/spirv-tools.mk b/package/spirv-tools/spirv-tools.mk new file mode 100644 index 0000000000..e863911b03 --- /dev/null +++ b/package/spirv-tools/spirv-tools.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# spirv-tools +# +################################################################################ + +# Keep in sync with spirv-headers version +SPIRV_TOOLS_VERSION = 1.3.261.1 +SPIRV_TOOLS_SITE = $(call github,KhronosGroup,SPIRV-Tools,sdk-$(SPIRV_TOOLS_VERSION)) +SPIRV_TOOLS_LICENSE = Apache-2.0 +SPIRV_TOOLS_LICENSE_FILES = LICENSE +SPIRV_TOOLS_DEPENDENCIES = spirv-headers +SPIRV_TOOLS_INSTALL_STAGING = YES + +SPIRV_TOOLS_CONF_OPTS = \ + -DSPIRV-Headers_SOURCE_DIR=$(STAGING_DIR)/usr \ + -DSPIRV_TOOLS_BUILD_STATIC=OFF \ + -DSPIRV_SKIP_TESTS=ON \ + -DSPIRV_WERROR=OFF + +$(eval $(cmake-package)) From giulio.benetti at benettiengineering.com Sun Oct 1 16:36:29 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 Oct 2023 18:36:29 +0200 Subject: [Buildroot] [PATCH v6] package/apache: add option to disable server Message-ID: <20231001163629.2635480-1-giulio.benetti@benettiengineering.com> From: Giulio Benetti Other packages (e.g. mongoose) can use htdigest and htpasswd, but those are only available with apache. We don't want to build the whole apache server just for those tools, so we add an option to disable the server; it is enabled by default for legacy purposes (so that existing (def)configs still work). However, there is no way to tell the apache buildsystem to only build those two tools, so we have to provide custom build and install commands. Cc: Jim Reinhart Cc: James Autry Cc: Matthew Maron Signed-off-by: Giulio Benetti --- V1->V2: * Hide "External Apache modules" if BR2_PACKAGE_APACHE_UTILS_ONLY is enabled V2->V3: as suggested by Arnout: * change negative option BR2_PACKAGE_APACHE_UTILS_ONLY to BR2_PACKAGE_APACHE_DAEMON * set a common APACHE_CONF_OPTS and only add specific options for BR2_PACKAGE_APACHE_DAEMON enabled or not V3->V4: * drop --with-static-* options as suggested by Arnout V4->V5: as suggested by Yann: * drop BR2_PACKAGE_APACHE check in package/Config.in for package/modsecurity2/Config.in * make BR2_PACKAGE_PHP_SAPI_APACHE depends on BR2_PACKAGE_APACHE_DAEMON * improve commit log V5->V6: as suggested by Romain: * update apparmor BR2_PACKAGE_APACHE to BR2_PACKAGE_APACHE_DAEMON --- package/Config.in | 2 -- package/apache/Config.in | 9 +++++++++ package/apache/apache.mk | 20 +++++++++++++++++--- package/apparmor/apparmor.mk | 2 +- package/modsecurity2/Config.in | 2 +- package/php/Config.in | 2 +- 6 files changed, 29 insertions(+), 8 deletions(-) diff --git a/package/Config.in b/package/Config.in index 90cfe25d05..a037fd50de 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2289,11 +2289,9 @@ menu "Networking applications" source "package/alfred/Config.in" source "package/aoetools/Config.in" source "package/apache/Config.in" -if BR2_PACKAGE_APACHE menu "External Apache modules" source "package/modsecurity2/Config.in" endmenu -endif source "package/argus/Config.in" source "package/arp-scan/Config.in" source "package/arptables/Config.in" diff --git a/package/apache/Config.in b/package/apache/Config.in index 270296bce4..5e9e4c5f9d 100644 --- a/package/apache/Config.in +++ b/package/apache/Config.in @@ -17,6 +17,14 @@ config BR2_PACKAGE_APACHE if BR2_PACKAGE_APACHE +config BR2_PACKAGE_APACHE_DAEMON + bool "apache-daemon" + default y + help + Provide entire Apache daemon, otherwise only htdigest and htpasswd + will be built and installed. + +if BR2_PACKAGE_APACHE_DAEMON choice prompt "Multi-Processing Module (MPM)" default BR2_PACKAGE_APACHE_MPM_WORKER @@ -40,6 +48,7 @@ config BR2_PACKAGE_APACHE_MPM_WORKER Implements a hybrid multi-threaded multi-process web server endchoice +endif endif diff --git a/package/apache/apache.mk b/package/apache/apache.mk index 320a6ad20e..994842b455 100644 --- a/package/apache/apache.mk +++ b/package/apache/apache.mk @@ -12,8 +12,6 @@ APACHE_LICENSE_FILES = LICENSE APACHE_CPE_ID_VENDOR = apache APACHE_CPE_ID_PRODUCT = http_server APACHE_SELINUX_MODULES = apache -# Needed for mod_php -APACHE_INSTALL_STAGING = YES # We have a patch touching configure.in and Makefile.in, # so we need to autoreconf: APACHE_AUTORECONF = YES @@ -32,10 +30,16 @@ APACHE_MPM = worker endif APACHE_CONF_OPTS = \ - --sysconfdir=/etc/apache2 \ --with-apr=$(STAGING_DIR)/usr \ --with-apr-util=$(STAGING_DIR)/usr \ --with-pcre=$(STAGING_DIR)/usr/bin/pcre2-config \ + +ifeq ($(BR2_PACKAGE_APACHE_DAEMON),y) +# Needed for mod_php +APACHE_INSTALL_STAGING = YES + +APACHE_CONF_OPTS += \ + --sysconfdir=/etc/apache2 \ --enable-http \ --enable-dbd \ --enable-proxy \ @@ -121,5 +125,15 @@ define APACHE_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/apache/apache.service \ $(TARGET_DIR)/usr/lib/systemd/system/apache.service endef +else +define APACHE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/support htdigest htpasswd +endef + +define APACHE_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/support/htdigest $(TARGET_DIR)/usr/bin/htdigest + $(INSTALL) -m 0755 -D $(@D)/support/htpasswd $(TARGET_DIR)/usr/bin/htpasswd +endef +endif $(eval $(autotools-package)) diff --git a/package/apparmor/apparmor.mk b/package/apparmor/apparmor.mk index eeedd805e6..f3ac27c5ed 100644 --- a/package/apparmor/apparmor.mk +++ b/package/apparmor/apparmor.mk @@ -50,7 +50,7 @@ APPARMOR_DEPENDENCIES += linux-pam APPARMOR_TOOLS += changehat/pam_apparmor endif -ifeq ($(BR2_PACKAGE_APACHE),y) +ifeq ($(BR2_PACKAGE_APACHE_DAEMON),y) APPARMOR_DEPENDENCIES += apache APPARMOR_TOOLS += changehat/mod_apparmor APPARMOR_MAKE_OPTS += APXS=$(STAGING_DIR)/usr/bin/apxs diff --git a/package/modsecurity2/Config.in b/package/modsecurity2/Config.in index fb1bfc960e..40c5fc55bc 100644 --- a/package/modsecurity2/Config.in +++ b/package/modsecurity2/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_MODSECURITY2 bool "modsecurity2" - depends on BR2_PACKAGE_APACHE + depends on BR2_PACKAGE_APACHE_DAEMON select BR2_PACKAGE_LIBXML2 select BR2_PACKAGE_PCRE2 help diff --git a/package/php/Config.in b/package/php/Config.in index 69b4268c1d..3a9e37dab6 100644 --- a/package/php/Config.in +++ b/package/php/Config.in @@ -36,7 +36,7 @@ if BR2_PACKAGE_PHP config BR2_PACKAGE_PHP_SAPI_APACHE bool "Apache interface" - depends on BR2_PACKAGE_APACHE + depends on BR2_PACKAGE_APACHE_DAEMON help Apache module -- 2.34.1 From thomas at devoogdt.com Sun Oct 1 16:36:20 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:36:20 +0200 Subject: [Buildroot] [PATCH v3 2/4] package/webkitgtk: make gbm support optional In-Reply-To: <87v8bq5yc4.fsf@48ers.dk> References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <20230929075844.1145939-2-thomas.devoogdt@barco.com> <87v8bq5yc4.fsf@48ers.dk> Message-ID: Hi Peter, all, The USE_GBM flag is only useful if USE_OPENGL_OR_ES is set, otherwise, the flag is ignored. But if USE_OPENGL_OR_ES has been set, then the default is that USE_GBM is also set, and that is what this commit avoids. About USE_OPENGL_OR_ES, yes, we only should enable it if we support it. It's a bit unclear to me what the exact dependencies are to enable it. According to this https://github.com/WebKit/WebKit/blob/e92f5f33fd267fc387efd7099bb6970e24e71afd/Source/cmake/OptionsGTK.cmake#L337, a fully functional EGL implementation is required. The flag USE_OPENGL_OR_ES on the other hand implies that libgl or libgles is sufficient, but this commit https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4, indicates that libgles is exclusively required. I also saw that mesa's libgles implementation depends on libegl (https://docs.mesa3d.org/opengles.html), so by this reason, I've added in a follow-up commit/bump, the USE_OPENGL_OR_ES under the libgles condition. Kr, Thomas Op zo 1 okt 2023 om 14:20 schreef Peter Korsgaard : > > >>>>> "Thomas" == Thomas Devoogdt writes: > > > From: Thomas Devoogdt > > This was added upstream in commit: > > > https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 > > This talks about gbm AND libdrm, but you don't seem to handle libdrm > here? > > > The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', > > Should we then not disable USE_OPENGL_OR_ES and only enable it if we > have opengl? > > -- > Bye, Peter Korsgaard > From giulio.benetti at benettiengineering.com Sun Oct 1 16:37:52 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 Oct 2023 18:37:52 +0200 Subject: [Buildroot] [PATCH v5] package/apache: add option to disable server In-Reply-To: <5e9b4a43-e16c-b2d5-09b7-cb1582a4b513@smile.fr> References: <20230922211816.13469-1-giulio.benetti@benettiengineering.com> <5e9b4a43-e16c-b2d5-09b7-cb1582a4b513@smile.fr> Message-ID: <741cc519-4d75-41ca-8bac-8b6318a36ab3@benettiengineering.com> Hi Romain, On 01/10/23 15:32, Romain Naour wrote: > Hello Giulio, > > Le 22/09/2023 ? 23:18, Giulio Benetti a ?crit?: >> From: Giulio Benetti >> >> Other packages (e.g. mongoose) can use htdigest and htpasswd, but those >> are only available with apache. >> >> We don't want to build the whole apache server just for those tools, so >> we add an option to disable the server; it is enabled by default for >> legacy purposes (so that existing (def)configs still work). >> >> However, there is no way to tell the apache buildsystem to only build >> those two tools, so we have to provide custom build and install >> commands. >> >> Cc: Jim Reinhart >> Cc: James Autry >> Cc: Matthew Maron >> Signed-off-by: Giulio Benetti >> --- >> V1->V2: >> * Hide "External Apache modules" if BR2_PACKAGE_APACHE_UTILS_ONLY is enabled >> V2->V3: >> as suggested by Arnout: >> * change negative option BR2_PACKAGE_APACHE_UTILS_ONLY to BR2_PACKAGE_APACHE_DAEMON >> * set a common APACHE_CONF_OPTS and only add specific options for >> BR2_PACKAGE_APACHE_DAEMON enabled or not >> V3->V4: >> * drop --with-static-* options as suggested by Arnout >> V4->V5: >> as suggested by Yann: >> * drop BR2_PACKAGE_APACHE check in package/Config.in for >> package/modsecurity2/Config.in >> * make BR2_PACKAGE_PHP_SAPI_APACHE depends on BR2_PACKAGE_APACHE_DAEMON >> * improve commit log >> --- >> package/Config.in | 2 -- >> package/apache/Config.in | 9 +++++++++ >> package/apache/apache.mk | 20 +++++++++++++++++--- >> package/modsecurity2/Config.in | 2 +- >> package/php/Config.in | 2 +- >> 5 files changed, 28 insertions(+), 7 deletions(-) >> >> diff --git a/package/Config.in b/package/Config.in >> index cc99be39fb..db6cf432e3 100644 >> --- a/package/Config.in >> +++ b/package/Config.in >> @@ -2279,11 +2279,9 @@ menu "Networking applications" >> source "package/alfred/Config.in" >> source "package/aoetools/Config.in" >> source "package/apache/Config.in" >> -if BR2_PACKAGE_APACHE >> menu "External Apache modules" >> source "package/modsecurity2/Config.in" >> endmenu >> -endif >> source "package/argus/Config.in" >> source "package/arp-scan/Config.in" >> source "package/arptables/Config.in" >> diff --git a/package/apache/Config.in b/package/apache/Config.in >> index 270296bce4..5e9e4c5f9d 100644 >> --- a/package/apache/Config.in >> +++ b/package/apache/Config.in >> @@ -17,6 +17,14 @@ config BR2_PACKAGE_APACHE >> >> if BR2_PACKAGE_APACHE >> >> +config BR2_PACKAGE_APACHE_DAEMON >> + bool "apache-daemon" >> + default y >> + help >> + Provide entire Apache daemon, otherwise only htdigest and htpasswd >> + will be built and installed. >> + >> +if BR2_PACKAGE_APACHE_DAEMON >> choice >> prompt "Multi-Processing Module (MPM)" >> default BR2_PACKAGE_APACHE_MPM_WORKER >> @@ -40,6 +48,7 @@ config BR2_PACKAGE_APACHE_MPM_WORKER >> Implements a hybrid multi-threaded multi-process web server > > What about apparmor package? > package/apparmor/apparmor.mk:ifeq ($(BR2_PACKAGE_APACHE),y) > > it seems we need to use BR2_PACKAGE_APACHE_DAEMON with this change. you're totally right. Just sent v6 with that change: https://patchwork.ozlabs.org/project/buildroot/patch/20231001163629.2635480-1-giulio.benetti at benettiengineering.com/ Thank you! Best regards -- Giulio Benetti CEO&CTO at Benetti Engineering sas > Best regards, > Romain > > >> >> endchoice >> +endif >> >> endif >> >> diff --git a/package/apache/apache.mk b/package/apache/apache.mk >> index 320a6ad20e..994842b455 100644 >> --- a/package/apache/apache.mk >> +++ b/package/apache/apache.mk >> @@ -12,8 +12,6 @@ APACHE_LICENSE_FILES = LICENSE >> APACHE_CPE_ID_VENDOR = apache >> APACHE_CPE_ID_PRODUCT = http_server >> APACHE_SELINUX_MODULES = apache >> -# Needed for mod_php >> -APACHE_INSTALL_STAGING = YES >> # We have a patch touching configure.in and Makefile.in, >> # so we need to autoreconf: >> APACHE_AUTORECONF = YES >> @@ -32,10 +30,16 @@ APACHE_MPM = worker >> endif >> >> APACHE_CONF_OPTS = \ >> - --sysconfdir=/etc/apache2 \ >> --with-apr=$(STAGING_DIR)/usr \ >> --with-apr-util=$(STAGING_DIR)/usr \ >> --with-pcre=$(STAGING_DIR)/usr/bin/pcre2-config \ >> + >> +ifeq ($(BR2_PACKAGE_APACHE_DAEMON),y) >> +# Needed for mod_php >> +APACHE_INSTALL_STAGING = YES >> + >> +APACHE_CONF_OPTS += \ >> + --sysconfdir=/etc/apache2 \ >> --enable-http \ >> --enable-dbd \ >> --enable-proxy \ >> @@ -121,5 +125,15 @@ define APACHE_INSTALL_INIT_SYSTEMD >> $(INSTALL) -D -m 644 package/apache/apache.service \ >> $(TARGET_DIR)/usr/lib/systemd/system/apache.service >> endef >> +else >> +define APACHE_BUILD_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/support htdigest htpasswd >> +endef >> + >> +define APACHE_INSTALL_TARGET_CMDS >> + $(INSTALL) -m 0755 -D $(@D)/support/htdigest $(TARGET_DIR)/usr/bin/htdigest >> + $(INSTALL) -m 0755 -D $(@D)/support/htpasswd $(TARGET_DIR)/usr/bin/htpasswd >> +endef >> +endif >> >> $(eval $(autotools-package)) >> diff --git a/package/modsecurity2/Config.in b/package/modsecurity2/Config.in >> index fb1bfc960e..40c5fc55bc 100644 >> --- a/package/modsecurity2/Config.in >> +++ b/package/modsecurity2/Config.in >> @@ -1,6 +1,6 @@ >> config BR2_PACKAGE_MODSECURITY2 >> bool "modsecurity2" >> - depends on BR2_PACKAGE_APACHE >> + depends on BR2_PACKAGE_APACHE_DAEMON >> select BR2_PACKAGE_LIBXML2 >> select BR2_PACKAGE_PCRE2 >> help >> diff --git a/package/php/Config.in b/package/php/Config.in >> index 69b4268c1d..3a9e37dab6 100644 >> --- a/package/php/Config.in >> +++ b/package/php/Config.in >> @@ -36,7 +36,7 @@ if BR2_PACKAGE_PHP >> >> config BR2_PACKAGE_PHP_SAPI_APACHE >> bool "Apache interface" >> - depends on BR2_PACKAGE_APACHE >> + depends on BR2_PACKAGE_APACHE_DAEMON >> help >> Apache module >> > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From thomas at devoogdt.com Sun Oct 1 16:38:03 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:38:03 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/webkitgtk: select wpebackend-fdo if wayland target is enabled In-Reply-To: <87r0me5y6h.fsf@48ers.dk> References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <20230929075844.1145939-3-thomas.devoogdt@barco.com> <87r0me5y6h.fsf@48ers.dk> Message-ID: Hi Peter, all, Yes, the links in the git message are about the OptionsGTK and not the OptionsWPE, so yes, these are apparently both sharing the wpebackend-fdo lib. Kr, Thomas Op zo 1 okt 2023 om 14:23 schreef Peter Korsgaard : > > >>>>> "Thomas" == Thomas Devoogdt writes: > > > libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND > > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 > > > egl is mandatory if ENABLE_WAYLAND_TARGET > > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 > > > So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. > > Huh? I cannot say that I understand the webkit mess, but I thought that > webkitgtk and wpewebkit were two completely separate "ports"? > > Adrian, maybe you can clarify? > > -- > Bye, Peter Korsgaard > From thomas.petazzoni at bootlin.com Sun Oct 1 16:40:02 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:40:02 +0200 Subject: [Buildroot] [PATCH v2 1/9] package/rust-bindgen: new host package In-Reply-To: <20230725173102.543874-2-sebastian.weyer@smile.fr> References: <20230725173102.543874-1-sebastian.weyer@smile.fr> <20230725173102.543874-2-sebastian.weyer@smile.fr> Message-ID: <20231001184002.25f8c5d7@windsurf> Hello, On Tue, 25 Jul 2023 19:30:53 +0200 Sebastian Weyer wrote: > From: Romain Naour > > host-rust-bindgen will be required to build several different rust-based > packages, including a Linux kernel with rust modules and mesa3d's > rusticl which is the rust-based implementation of OpenCL. > > The Cargo.toml file at the project root is a "virtual manifest". Since > we only want to install rust-bindgen, we can specify RUST_BINDGEN_SUBDIR > = bindgen-cli to use the Cargo.toml from this directory. > > Signed-off-by: Romain Naour > Signed-off-by: Sebastian Weyer > diff --git a/DEVELOPERS b/DEVELOPERS > index c690f1dac7..c9ac202de6 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2602,6 +2602,9 @@ F: support/misc/toolchainfile.cmake.in > N: Sam Voss > F: package/ripgrep/ > > +N: Sebastian Weyer > +F: package/rust-bindgen ^^^ missing final slash here Applied to master with this change. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Sun Oct 1 16:40:23 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:40:23 +0200 Subject: [Buildroot] [PATCH v2 2/9] package/llvm-project/llvm: add llvm dump support In-Reply-To: <20230725173102.543874-3-sebastian.weyer@smile.fr> References: <20230725173102.543874-1-sebastian.weyer@smile.fr> <20230725173102.543874-3-sebastian.weyer@smile.fr> Message-ID: <20231001184023.166b3941@windsurf> On Tue, 25 Jul 2023 19:30:54 +0200 Sebastian Weyer wrote: > From: Romain Naour > > LLVM_ENABLE_DUMP required by mesa3d rusticl: > > https://docs.mesa3d.org/rusticl.html > > Signed-off-by: Romain Naour > --- > package/llvm-project/llvm/Config.in | 6 ++++++ > package/llvm-project/llvm/llvm.mk | 7 +++++++ > 2 files changed, 13 insertions(+) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Sun Oct 1 16:50:31 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:50:31 +0200 Subject: [Buildroot] [PATCH v2 4/9] package/spirv-headers: new package In-Reply-To: <20230725173102.543874-5-sebastian.weyer@smile.fr> References: <20230725173102.543874-1-sebastian.weyer@smile.fr> <20230725173102.543874-5-sebastian.weyer@smile.fr> Message-ID: <20231001185031.4d0e9a8d@windsurf> Hello, On Tue, 25 Jul 2023 19:30:56 +0200 Sebastian Weyer wrote: > package/Config.in | 1 + > package/spirv-headers/Config.in | 6 ++++++ > package/spirv-headers/spirv-headers.hash | 2 ++ > package/spirv-headers/spirv-headers.mk | 15 +++++++++++++++ > 4 files changed, 24 insertions(+) Missing entry in DEVELOPERS file, so I've added that. > diff --git a/package/spirv-headers/spirv-headers.hash b/package/spirv-headers/spirv-headers.hash > new file mode 100644 > index 0000000000..b83959f7a4 > --- /dev/null > +++ b/package/spirv-headers/spirv-headers.hash > @@ -0,0 +1,2 @@ Missing "Locally calculated" comment. > +sha256 71668e18ef7b318b06f8c466f46abad965b2646eaa322594cd015c2ac87133e6 spirv-headers-1.3.246.1.tar.gz > +sha256 9b243f6f0bf44e295ff411a0f7b7642d1d0dff7cdc42507e9f7206f439e51b5a LICENSE > diff --git a/package/spirv-headers/spirv-headers.mk b/package/spirv-headers/spirv-headers.mk > new file mode 100644 > index 0000000000..11119ac6b2 > --- /dev/null > +++ b/package/spirv-headers/spirv-headers.mk > @@ -0,0 +1,15 @@ > +################################################################################ > +# > +# spirv-headers > +# > +################################################################################ > + > +SPIRV_HEADERS_VERSION = 1.3.246.1 I've bumped to the latest version, which fixes a build issue: this older version was trying to build C++ code for an example/test. With the newer version, it still tries to build C++ stuff, but mistakenly with the host C++ compiler, which works because it has no dependencies. Romain and I didn't bother fixing that as we really don't care about this silly example being built. Note: as a follow-up patch, I added a host variant of this package, and a change to spirv-llvm-translator that makes use of it. Indeed host-spirv-llvm-translator was downloading its own copy of the spirv-headers during the build which is very bad (but not your fault, since you did not introduce host-spirv-llvm-translator). Anyway: this patch is applied. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas at devoogdt.com Sun Oct 1 16:52:10 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:52:10 +0200 Subject: [Buildroot] [PATCH v4 1/3] package/webkitgtk: make gbm support optional Message-ID: <20231001165218.1960930-1-thomas.devoogdt@barco.com> From: Thomas Devoogdt This was added upstream in commit: https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', so ensure that we unset 'USE_GBM' if we don't have libgbm. Signed-off-by: Thomas Devoogdt --- v2,3,4: no change --- package/webkitgtk/webkitgtk.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index bb6df3d592..88bdfae27b 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -88,6 +88,13 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF endif +ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) +WEBKITGTK_CONF_OPTS += -DUSE_GBM=ON +WEBKITGTK_DEPENDENCIES += libgbm +else +WEBKITGTK_CONF_OPTS += -DUSE_GBM=OFF +endif + ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) WEBKITGTK_CONF_OPTS += -DENABLE_X11_TARGET=ON WEBKITGTK_DEPENDENCIES += libgl \ -- 2.42.0 From thomas at devoogdt.com Sun Oct 1 16:52:11 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:52:11 +0200 Subject: [Buildroot] [PATCH v4 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled In-Reply-To: <20231001165218.1960930-1-thomas.devoogdt@barco.com> References: <20231001165218.1960930-1-thomas.devoogdt@barco.com> Message-ID: <20231001165218.1960930-2-thomas.devoogdt@barco.com> libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 egl is mandatory if ENABLE_WAYLAND_TARGET https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. Signed-off-by: Thomas Devoogdt --- v2: n/a v3,4: no change (added from another patch serie) --- package/webkitgtk/Config.in | 1 + package/webkitgtk/webkitgtk.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 927792b1e4..cb10784133 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -53,6 +53,7 @@ config BR2_PACKAGE_WEBKITGTK select BR2_PACKAGE_WEBP select BR2_PACKAGE_WEBP_DEMUX select BR2_PACKAGE_WOFF2 + select BR2_PACKAGE_WPEBACKEND_FDO if BR2_PACKAGE_LIBGTK3_WAYLAND select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11 diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 88bdfae27b..9c68fe73cf 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -115,7 +115,7 @@ ifeq ($(BR2_PACKAGE_LIBGTK3_X11):$(BR2_PACKAGE_LIBGTK3_WAYLAND):$(BR2_PACKAGE_LI WEBKITGTK_DEPENDENCIES += libegl endif -ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) +ifeq ($(BR2_PACKAGE_WPEBACKEND_FDO),y) WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON WEBKITGTK_DEPENDENCIES += wpebackend-fdo else -- 2.42.0 From thomas at devoogdt.com Sun Oct 1 16:52:12 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:52:12 +0200 Subject: [Buildroot] [PATCH v4 3/3] package/webkitgtk: bump to version 2.42.1 In-Reply-To: <20231001165218.1960930-1-thomas.devoogdt@barco.com> References: <20231001165218.1960930-1-thomas.devoogdt@barco.com> Message-ID: <20231001165218.1960930-3-thomas.devoogdt@barco.com> Update to a new major release. Release notes: https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html Security notes: https://webkitgtk.org/security/WSA-2023-0008.html - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. - ENABLE_GLES2 has been dropped, so drop it also here [2]. Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a dependency for libgles, so leave it out here. - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 10, because we can't check on >= GCC 10.2. [1] https://github.com/WebKit/WebKit/commit/93865414f33190c57e293a80492e10edc461d7f0 [2] https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4 [3] https://github.com/WebKit/WebKit/commit/133498aaee8f44443d9e3b2a08be4a4b77b93fc9 Signed-off-by: Thomas Devoogdt --- v2: n/a v3: - replace for package/webkitgtk: add a USE_OPENGL_OR_ES config option - 2.42.0 needs an extra bunch of patches, so bump to immediately to 2.42.1 v4: - fixed incomplete git massage (a ____ line splits the git message apparently) - re-added patches with upstream cherry-pick and hash --- ...e-when-gstreamer-support-is-disabled.patch | 36 --- ...EGL-checks-when-GBM-renderer-is-used.patch | 275 ++++++++++++++++++ ...nnection.cpp-fix-incomplete-type-Web.patch | 41 +++ package/webkitgtk/Config.in | 6 +- package/webkitgtk/webkitgtk.hash | 6 +- package/webkitgtk/webkitgtk.mk | 16 +- 6 files changed, 333 insertions(+), 47 deletions(-) delete mode 100644 package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch create mode 100644 package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch create mode 100644 package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch deleted file mode 100644 index 3fa23b215b..0000000000 --- a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 -From: Matt Turner -Date: Tue, 8 Aug 2023 16:51:25 -0700 -Subject: [PATCH] Fix build failure when gstreamer support is disabled - https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 - -Reviewed by Carlos Alberto Lopez Perez. - -* Source/WebCore/loader/MixedContentChecker.cpp: - -Canonical link: https://commits.webkit.org/260527.429 at fix-build - -(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) - -Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 -Signed-off-by: Thomas Devoogdt ---- - Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp -index 9b4c7fe62020..ac4733bc08bc 100644 ---- a/Source/WebCore/loader/MixedContentChecker.cpp -+++ b/Source/WebCore/loader/MixedContentChecker.cpp -@@ -33,6 +33,8 @@ - #include "ContentSecurityPolicy.h" - #include "Document.h" - #include "Frame.h" -+#include "FrameLoader.h" -+#include "FrameLoaderClient.h" - #include "SecurityOrigin.h" - - namespace WebCore { --- -2.42.0 - diff --git a/package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch b/package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch new file mode 100644 index 0000000000..8ef1ff1309 --- /dev/null +++ b/package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch @@ -0,0 +1,275 @@ +From 6e655c562bf04751a459f8048a4acf09971636ac Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt +Date: Fri, 29 Sep 2023 08:02:19 -0700 +Subject: [PATCH] [GTK] fix USE_EGL checks when GBM renderer is used + +https://bugs.webkit.org/show_bug.cgi?id=262169 + +Reviewed by Michael Catanzaro. + +Regression since commit 81c064ddb4182a34a36def401025d223ca0d31ba. + +webkitgtk-2.42.0/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:39:10: fatal error: epoxy/egl.h: No such file or directory + 39 | #include + | ^~~~~~~~~~~~~ + +Signed-off-by: Thomas Devoogdt +Canonical link: https://commits.webkit.org/266719.76 at bugfix/USE_EGL-2.42 +(cherry picked from commit b751733c75f724f9301cb828f7994af57605c52f) +Upstream: https://github.com/WebKit/WebKit/commit/b751733c75f724f9301cb828f7994af57605c52f +Signed-off-by: Thomas Devoogdt +--- + .../WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp | 8 ++++++++ + Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp | 4 +++- + Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp | 6 +++--- + .../UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp | 4 ++++ + .../WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h | 4 ++++ + .../gtk/AcceleratedBackingStoreDMABuf.messages.in | 2 ++ + Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp | 4 ++-- + .../WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp | 4 ++++ + .../WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h | 4 ++++ + .../WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in | 2 ++ + Source/WebKit/WebProcess/glib/WebProcessGLib.cpp | 2 +- + 11 files changed, 37 insertions(+), 7 deletions(-) + +diff --git a/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp b/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp +index 8bdcf48b446a..19b46a137d5b 100644 +--- a/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp ++++ b/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp +@@ -45,9 +45,11 @@ + #endif + + #if PLATFORM(GTK) ++#if USE(EGL) + #include "AcceleratedBackingStoreDMABuf.h" + #include "DMABufRendererBufferMode.h" + #include ++#endif + #include + + #if PLATFORM(WAYLAND) +@@ -164,6 +166,7 @@ static String dmabufRendererWithSupportedBuffers() + { + StringBuilder buffers; + buffers.append("DMABuf (Supported buffers: "_s); ++#if USE(EGL) + auto mode = AcceleratedBackingStoreDMABuf::rendererBufferMode(); + if (mode.contains(DMABufRendererBufferMode::Hardware)) + buffers.append("Hardware"_s); +@@ -172,6 +175,7 @@ static String dmabufRendererWithSupportedBuffers() + buffers.append(", "); + buffers.append("Shared Memory"_s); + } ++#endif + buffers.append(')'); + return buffers.toString(); + } +@@ -269,7 +273,11 @@ void WebKitProtocolHandler::handleGPU(WebKitURISchemeRequest* request) + #if PLATFORM(GTK) + addTableRow(versionObject, "GTK version"_s, makeString(GTK_MAJOR_VERSION, '.', GTK_MINOR_VERSION, '.', GTK_MICRO_VERSION, " (build) "_s, gtk_get_major_version(), '.', gtk_get_minor_version(), '.', gtk_get_micro_version(), " (runtime)"_s)); + ++#if USE(EGL) + bool usingDMABufRenderer = AcceleratedBackingStoreDMABuf::checkRequirements(); ++#else ++ bool usingDMABufRenderer = false; ++#endif + + #if PLATFORM(WAYLAND) + if (PlatformDisplay::sharedDisplay().type() == PlatformDisplay::Type::Wayland && !usingDMABufRenderer) { +diff --git a/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp b/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp +index d439751cee32..151c4b854cc3 100644 +--- a/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp ++++ b/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp +@@ -54,8 +54,10 @@ + + #if PLATFORM(GTK) + #include "GtkSettingsManager.h" ++#if USE(EGL) + #include "AcceleratedBackingStoreDMABuf.h" + #endif ++#endif + + + namespace WebKit { +@@ -88,7 +90,7 @@ void WebProcessPool::platformInitializeWebProcess(const WebProcessProxy& process + parameters.renderDeviceFile = WebCore::PlatformDisplay::sharedDisplay().drmRenderNodeFile(); + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + parameters.dmaBufRendererBufferMode = AcceleratedBackingStoreDMABuf::rendererBufferMode(); + #endif + +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp +index df4cdc2ada3d..2e8a6f59513e 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp +@@ -40,7 +40,7 @@ + #include "AcceleratedBackingStoreX11.h" + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + #include "AcceleratedBackingStoreDMABuf.h" + #endif + +@@ -72,7 +72,7 @@ static bool gtkCanUseHardwareAcceleration() + + bool AcceleratedBackingStore::checkRequirements() + { +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + if (AcceleratedBackingStoreDMABuf::checkRequirements()) + return gtkCanUseHardwareAcceleration(); + #endif +@@ -93,7 +93,7 @@ std::unique_ptr AcceleratedBackingStore::create(WebPage + if (!HardwareAccelerationManager::singleton().canUseHardwareAcceleration()) + return nullptr; + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + if (AcceleratedBackingStoreDMABuf::checkRequirements()) + return AcceleratedBackingStoreDMABuf::create(webPage); + #endif +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp +index 2a8d7127909d..64d04332a598 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp +@@ -26,6 +26,8 @@ + #include "config.h" + #include "AcceleratedBackingStoreDMABuf.h" + ++#if USE(EGL) ++ + #include "AcceleratedBackingStoreDMABufMessages.h" + #include "AcceleratedSurfaceDMABufMessages.h" + #include "DMABufRendererBufferMode.h" +@@ -575,3 +577,5 @@ bool AcceleratedBackingStoreDMABuf::paint(cairo_t* cr, const WebCore::IntRect& c + #endif + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h +index 1bc769ada313..f9a6cb620e38 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h +@@ -25,6 +25,8 @@ + + #pragma once + ++#if USE(EGL) ++ + #include "AcceleratedBackingStore.h" + + #include "MessageReceiver.h" +@@ -200,3 +202,5 @@ private: + }; + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in +index 28e3fabf693a..3ba247e40220 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in +@@ -20,8 +20,10 @@ + # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + ++#if USE(EGL) + messages -> AcceleratedBackingStoreDMABuf NotRefCounted { + Configure(UnixFileDescriptor backFD, UnixFileDescriptor frontFD, UnixFileDescriptor displayFD, WebCore::IntSize size, uint32_t format, uint32_t offset, uint32_t stride, uint64_t modifier) + ConfigureSHM(WebKit::ShareableBitmap::Handle backBufferHandle, WebKit::ShareableBitmap::Handle frontBufferHandle, WebKit::ShareableBitmap::Handle displayBufferHandle) + Frame() + } ++#endif +diff --git a/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp b/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp +index 1f64ab26c9dd..683a5350be22 100644 +--- a/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp ++++ b/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp +@@ -37,7 +37,7 @@ + #include "AcceleratedSurfaceLibWPE.h" + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + #include "AcceleratedSurfaceDMABuf.h" + #endif + +@@ -46,7 +46,7 @@ using namespace WebCore; + + std::unique_ptr AcceleratedSurface::create(WebPage& webPage, Client& client) + { +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + #if USE(GBM) + if (PlatformDisplay::sharedDisplayForCompositing().type() == PlatformDisplay::Type::GBM) + return AcceleratedSurfaceDMABuf::create(webPage, client); +diff --git a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp +index dc2d544c9d25..d474c4ca205c 100644 +--- a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp ++++ b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp +@@ -26,6 +26,8 @@ + #include "config.h" + #include "AcceleratedSurfaceDMABuf.h" + ++#if USE(EGL) ++ + #include "AcceleratedBackingStoreDMABufMessages.h" + #include "AcceleratedSurfaceDMABufMessages.h" + #include "ShareableBitmap.h" +@@ -490,3 +492,5 @@ void AcceleratedSurfaceDMABuf::frameDone() + } + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h +index e3985d468ad2..a230a1f02eef 100644 +--- a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h ++++ b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h +@@ -25,6 +25,8 @@ + + #pragma once + ++#if USE(EGL) ++ + #include "AcceleratedSurface.h" + + #include "MessageReceiver.h" +@@ -156,3 +158,5 @@ private: + }; + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in +index 0d0d2dbf9069..a481cd9bc60f 100644 +--- a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in ++++ b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in +@@ -20,6 +20,8 @@ + # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + ++#if USE(EGL) + messages -> AcceleratedSurfaceDMABuf NotRefCounted { + FrameDone() + } ++#endif +diff --git a/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp b/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp +index 686004f4ee82..e298cf9b94a2 100644 +--- a/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp ++++ b/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp +@@ -141,7 +141,7 @@ void WebProcess::platformInitializeWebProcess(WebProcessCreationParameters& para + WebCore::GBMDevice::singleton().initialize(parameters.renderDeviceFile); + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + m_dmaBufRendererBufferMode = parameters.dmaBufRendererBufferMode; + if (!m_dmaBufRendererBufferMode.isEmpty()) { + #if USE(GBM) +-- +2.42.0 + diff --git a/package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch b/package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch new file mode 100644 index 0000000000..90f0294228 --- /dev/null +++ b/package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch @@ -0,0 +1,41 @@ +From 1fec84bb47e72685b24f735f55d2986bcc187635 Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt +Date: Fri, 29 Sep 2023 08:06:42 -0700 +Subject: [PATCH] NetworkProcessConnection.cpp: fix incomplete type + WebCore::Page +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +https://bugs.webkit.org/show_bug.cgi?id=262359 + +Reviewed by Michael Catanzaro. + +webkitgtk-2.42.0/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp:327:11: error: incomplete type ?WebCore::Page? used in nested name specifier + 327 | Page::forEachPage([&] (auto& page) { + | ^~~~~~~~~~~ + +Signed-off-by: Thomas Devoogdt +Canonical link: https://commits.webkit.org/266719.77 at bugfix/NetworkProcessConnection-2.42 +(cherry picked from commit e92f5f33fd267fc387efd7099bb6970e24e71afd) +Upstream: https://github.com/WebKit/WebKit/commit/e92f5f33fd267fc387efd7099bb6970e24e71afd +Signed-off-by: Thomas Devoogdt +--- + Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp b/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp +index d6f22b0b1739..7c4779c0e037 100644 +--- a/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp ++++ b/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp +@@ -68,6 +68,7 @@ + #include + #include + #include ++#include + #include + #include + +-- +2.42.0 + diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index cb10784133..ace1b8739f 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 10, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 7f50f1aa7b..04e247077a 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,6 +1,6 @@ -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums -sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz -sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz +# From https://www.webkitgtk.org/releases/webkitgtk-2.42.1.tar.xz.sums +sha1 b9a0f964a157277d80195622316d3eea19c89d0d webkitgtk-2.42.1.tar.xz +sha256 6f41fac9989d3ee51c08c48de1d439cdeddecbc757e34b6180987d99b16d2499 webkitgtk-2.42.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 9c68fe73cf..035cbf15a2 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.40.5 +WEBKITGTK_VERSION = 2.42.1 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES @@ -73,6 +73,13 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF endif +ifeq ($(BR2_PACKAGE_LIBJXL),y) +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=ON +WEBKITGTK_DEPENDENCIES += libjxl +else +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=OFF +endif + ifeq ($(BR2_PACKAGE_LIBMANETTE),y) WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=ON WEBKITGTK_DEPENDENCIES += libmanette @@ -80,12 +87,11 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=OFF endif -# Use GLES if available and desktop GL is not. -ifeq ($(BR2_PACKAGE_HAS_LIBGL):$(BR2_PACKAGE_HAS_LIBGLES),:y) -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=ON +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=ON WEBKITGTK_DEPENDENCIES += libgles else -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=OFF endif ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) -- 2.42.0 From thomas.petazzoni at bootlin.com Sun Oct 1 16:53:45 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:53:45 +0200 Subject: [Buildroot] [PATCH v2 5/9] package/spirv-tools: new package In-Reply-To: <20230725173102.543874-6-sebastian.weyer@smile.fr> References: <20230725173102.543874-1-sebastian.weyer@smile.fr> <20230725173102.543874-6-sebastian.weyer@smile.fr> Message-ID: <20231001185345.6c023fff@windsurf> On Tue, 25 Jul 2023 19:30:57 +0200 Sebastian Weyer wrote: > From: Romain Naour > > This package is required by mesa3d for building rusticl: > > https://docs.mesa3d.org/rusticl.html > > Signed-off-by: Romain Naour > Signed-off-by: Sebastian Weyer > --- > package/Config.in | 1 + > package/spirv-tools/Config.in | 12 ++++++++++++ > package/spirv-tools/spirv-tools.hash | 2 ++ > package/spirv-tools/spirv-tools.mk | 22 ++++++++++++++++++++++ > 4 files changed, 37 insertions(+) Entry in DEVELOPERS file was missing. > diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in > new file mode 100644 > index 0000000000..21b3852779 > --- /dev/null > +++ b/package/spirv-tools/Config.in > @@ -0,0 +1,12 @@ > +config BR2_PACKAGE_SPIRV_TOOLS > + bool "spirv-tools" > + depends on BR2_USE_WCHAR # python3 > + depends on BR2_USE_MMU # python3 > + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 > + depends on !BR2_STATIC_LIBS # python3 > + select BR2_PACKAGE_PYTHON3 Not sure why you thought python3 was needed on the target. Reading things a bit about spirv-tools, it doesn't seem like Python is needed, so I dropped this. However, it needs spirv-headers, and you had forgotten "select BR2_PACKAGE_SPIRV_HEADERS" here. > diff --git a/package/spirv-tools/spirv-tools.hash b/package/spirv-tools/spirv-tools.hash > new file mode 100644 > index 0000000000..6861f543ea > --- /dev/null > +++ b/package/spirv-tools/spirv-tools.hash > @@ -0,0 +1,2 @@ Missing "Locally calculated" comment here. > +sha256 645c4585c207cbdfda81a09f8ab180773c18df50fad9644d2d9a53b4464c692b spirv-tools-1.3.246.1.tar.gz > +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE > diff --git a/package/spirv-tools/spirv-tools.mk b/package/spirv-tools/spirv-tools.mk > new file mode 100644 > index 0000000000..758c01343c > --- /dev/null > +++ b/package/spirv-tools/spirv-tools.mk > @@ -0,0 +1,22 @@ > +################################################################################ > +# > +# spirv-tools > +# > +################################################################################ > + > +SPIRV_TOOLS_VERSION = 1.3.246.1 I bumped to a newer version to match spirv-headers, as otherwise spirv-tools would fail to build. I also added a comment in both spirv-headers and spirv-tools to hint that they should be kept in sync in terms of version. > +SPIRV_TOOLS_SITE = $(call github,KhronosGroup,SPIRV-Tools,sdk-$(SPIRV_TOOLS_VERSION)) > +SPIRV_TOOLS_LICENSE = Apache-2.0 > +SPIRV_TOOLS_LICENSE_FILES = LICENSE > + > +SPIRV_TOOLS_DEPENDENCIES = python3 spirv-headers Dropped python3 here. > + > +SPIRV_TOOLS_INSTALL_STAGING = YES > + > +SPIRV_TOOLS_CONF_OPTS = \ > + -DSPIRV-Headers_SOURCE_DIR=${STAGING_DIR}/usr \ > + -DSPIRV_TOOLS_BUILD_STATIC=OFF \ > + -DBUILD_SHARED_LIBS=ON \ > + -DSPIRV_SKIP_TESTS=ON \ Indentation here was wrong (spaces used instead of tab), and ${STAGING_DIR} should have been $(STAGING_DIR). Both of these issues were reported by "make check-package". Also BUILD_SHARED_LIBS=ON is already passed by the cmake-package infrastructure as required. I've added -DSPIRV_WERROR=OFF because it exists, and -Werror is annoying in the context of Buildroot. Applied with those various changes. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Sun Oct 1 16:56:01 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 18:56:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/sslh: add SSLH_CPE_ID_VENDOR Message-ID: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F Signed-off-by: Fabrice Fontaine --- package/sslh/sslh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk index 897b3b6505..6ef7cda1a9 100644 --- a/package/sslh/sslh.mk +++ b/package/sslh/sslh.mk @@ -9,6 +9,7 @@ SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz SSLH_SITE = http://www.rutschle.net/tech/sslh SSLH_LICENSE = GPL-2.0+ SSLH_LICENSE_FILES = COPYING +SSLH_CPE_ID_VENDOR = sslh_project SSLH_DEPENDENCIES = pcre2 SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" -- 2.40.1 From thomas.petazzoni at bootlin.com Sun Oct 1 17:06:51 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 19:06:51 +0200 Subject: [Buildroot] [PATCH] package/numactl: point to target libs via LDFLAGS In-Reply-To: <20221024174911.75444-1-abrodkin@synopsys.com> References: <20221024174911.75444-1-abrodkin@synopsys.com> Message-ID: <20231001190651.2cb8a547@windsurf> Hello Alexey, On Mon, 24 Oct 2022 19:49:11 +0200 Alexey Brodkin via buildroot wrote: > In the commit a699a667bd64 ("package/numactl: add -latomic to numa.pc") > we opted-out from unconditional linking with "-latomic" and made it > a conditional based on real availability of __atomic_fetch_and_1() > in the toolchain. I.e. for many targets "-latomic" was not used > any longer. We finally looked at this patch today during the on-going Buildroot hackathon. We understand/recognize the problem, but we don't like the proposed solution as you can imagine (especially as the proposed solution is package specific). In addition, and as you have yourself expressed, your situation is quite a corner case. Here are the options that we see to resolve this: (1) Patch libtool so that it doesn't look at LD_LIBRARY_PATH. We are already patching libtool to work-around other issues. However, from a quick look at the libtool code base (which of course is not the most pleasant exercise on earth), it's not trivial to see where this logic is taking place. (2) Unset LD_LIBRARY_PATH entirely in the main Buildroot makefile to avoid interference with LD_LIBRARY_PATH being set. This would of course prevent people who have special/weird setups that require LD_LIBRARY_PATH from using Buildroot. (3) Warn/error out if LD_LIBRARY_PATH is set, which essentially is a variant of (2), but where we are explicit instead of silently ignoring LD_LIBRARY_PATH defined in the user's environment. Regarding the setting of lt_cv_sys_lib_search_path_spec="" that you have identified, the motivation for this was explained in 6246704008ef219257f30a824903855d0e00cffb: package/Makefile.in: ensure libtool doesn't search host dirs for libraries Commit 7e3e8ec040b (CFLAGS/LDFLAGS: don't add -I / -L args for STAGING_DIR) exposed a lingering libtool problem. Unless instructed otherwise (using -L) libtool will search its built in system path for libraries, and use those instead if found. The default search path is '/usr/lib, /lib, /usr/local/lib', which is no good for cross compilation. Fix it by setting the system search path to the empty string, effectively disabling this feature. Signed-off-by: Peter Korsgaard So this seems to still be relevant. The reason why when you drop this in your case and it "works" is we believe the following one: due to -latomic, libtool will search for libatomic. It will find it in your system in say /lib or /usr/lib, and because that's a standard search path, libtool will keep -latomic instead of turning into a full absolute path. So the cross linker gets passed -latomic, which it properly resolves to the target/sysroot libatomic. When lt_cv_sys_lib_search_path_spec="" is there, libatomic from /lib or /usr/lib isn't found, so it finds the one in your LD_LIBRARY_PATH directory, which isn't a standard path, so our dear libtool replaces -latomic by the full absolute path to libatomic, and passes that to the cross-linker, which of course blows up. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Sun Oct 1 17:08:02 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 19:08:02 +0200 Subject: [Buildroot] [PATCH 2/2] board/pc/post-build.sh: allow to use grub config file In-Reply-To: <20230109074202.12012-2-cherniaev.andrei@kairo.space> References: <20230109074202.12012-2-cherniaev.andrei@kairo.space> Message-ID: <20231001170802.GN2579@scaer> Andrei, All, Sorry to come back so alte on that patch... On 2023-01-09 16:42 +0900, AndreiCherniaev spake thusly: > Allow to use grub config file with set timeout not default. Before this set timeout always was 5s and can't be changed, any set timeout from BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC was ignored Please properly format your commit log, wrapped at ~72 chars wide lines. The files in board/ are meant to be used with the defconfigs in Buildroot, and together are meant as examples and startkng point for frther custmisations. We can't add support for everything up to the kitchen sink in those scripts; we want to keep them simple so that it is easy to see what they are doing on how they can be extended. It is your responsibility to adapt those files to match your use-case, potentially duplicating them on hyour side to create a new board definition. As such, I've maked this patch as rejected. Regards, Yann E. MORIN. > Signed-off-by: AndreiCherniaev > --- > board/pc/post-build.sh | 17 ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff --git a/board/pc/post-build.sh b/board/pc/post-build.sh > index c76dee2676..8538faa7eb 100755 > --- a/board/pc/post-build.sh > +++ b/board/pc/post-build.sh > @@ -9,7 +9,22 @@ if [ -d "$BINARIES_DIR/efi-part/" ]; then > cp -f "$BOARD_DIR/grub-efi.cfg" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg" > else > cp -f "$BOARD_DIR/grub-bios.cfg" "$TARGET_DIR/boot/grub/grub.cfg" > - > # Copy grub 1st stage to binaries, required for genimage > cp -f "$TARGET_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR" > fi > + > +# When post-build script is runing $BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC is unset, so parce Buildroot .config file again > +GRUB2_BUILTIN_CONFIG_PC="`grep --only-matching --perl-regex "(?<=BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC\=).*" $BR2_CONFIG`" > +# Using the native shell prefix/suffix removal feature (see also qstrip) > +GRUB2_BUILTIN_CONFIG_PC="${GRUB2_BUILTIN_CONFIG_PC%\"}" > +GRUB2_BUILTIN_CONFIG_PC="${GRUB2_BUILTIN_CONFIG_PC#\"}" > +if [ -z "$GRUB2_BUILTIN_CONFIG_PC" ]; then #if user doesn't use his .config for grub > + # Set time to wait 5 s for keyboard input before booting by default > + sed -i -e '1 s/^/set default="0"\nset timeout="5"\n\n/;' "$TARGET_DIR/boot/grub/grub.cfg" > +#else if user use his .config for grub > +# to configure bootloader put something like > +# set default="0" > +# set timeout="5" > +# to your file located $BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC > +# More info https://www.gnu.org/software/grub/manual/grub > +fi > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From thomas at devoogdt.com Sun Oct 1 17:29:05 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 19:29:05 +0200 Subject: [Buildroot] [PATCH v1] package/wpewebkit: needs >= GCC 9 Message-ID: <20231001172905.1962565-1-thomas.devoogdt@barco.com> Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt --- package/wpewebkit/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in index f1d38c7cad..81b66f8429 100644 --- a/package/wpewebkit/Config.in +++ b/package/wpewebkit/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" +comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \ || !BR2_HOST_GCC_AT_LEAST_4_9 comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" @@ -37,7 +37,7 @@ config BR2_PACKAGE_WPEWEBKIT depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy -- 2.42.0 From dalang at gmx.at Sun Oct 1 18:04:37 2023 From: dalang at gmx.at (Daniel Lang) Date: Sun, 1 Oct 2023 20:04:37 +0200 Subject: [Buildroot] [PATCH] package/efl: bump to version 1.26.3 Message-ID: <20231001180437.1274555-2-dalang@gmx.at> This is a bug-fix release. See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 Signed-off-by: Daniel Lang --- package/efl/efl.hash | 4 ++-- package/efl/efl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/efl/efl.hash b/package/efl/efl.hash index 8d50400eb7..72ff3199d0 100644 --- a/package/efl/efl.hash +++ b/package/efl/efl.hash @@ -1,5 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-efl-1.26.1 -sha256 86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642 efl-1.26.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 +sha256 d9f83aa0fd9334f44deeb4e4952dc0e5144683afac786feebce6030951617d15 efl-1.26.3.tar.xz sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING diff --git a/package/efl/efl.mk b/package/efl/efl.mk index d4a16475e5..29b3b1955a 100644 --- a/package/efl/efl.mk +++ b/package/efl/efl.mk @@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.26.1 +EFL_VERSION = 1.26.3 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = https://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT -- 2.42.0 From dalang at gmx.at Sun Oct 1 18:11:42 2023 From: dalang at gmx.at (Daniel Lang) Date: Sun, 1 Oct 2023 20:11:42 +0200 Subject: [Buildroot] [PATCH] package/enlightenment: security bump to version 0.25.4 Message-ID: <20231001181141.1275330-3-dalang@gmx.at> This is a bugfix release which fixes a CVE. See: https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring." Hashes were never part of the online news page, therefore mark them as locally computed. Signed-off-by: Daniel Lang --- package/enlightenment/enlightenment.hash | 5 +++-- package/enlightenment/enlightenment.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/enlightenment/enlightenment.hash b/package/enlightenment/enlightenment.hash index 2d977b86f7..ed5d6b24ef 100644 --- a/package/enlightenment/enlightenment.hash +++ b/package/enlightenment/enlightenment.hash @@ -1,4 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-enlightenment-0.25.1 -sha256 2cf05fe3d96ef35e823619dbc0ac513ecabcae2186800ecd804924a637112444 enlightenment-0.25.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 +sha256 56db5d206b821b9a8831d26e713e410ac70b2255a6f43fcdf7c01eefde23b7a2 enlightenment-0.25.4.tar.xz +# Locally computed sha256 8d2fbc393e967cd6f5b8559d1744881a6a1ceb3ec6e1c2368c3916809ffccb8d COPYING sha256 cdc77ee1732455b203610f923fe4196046b3f7509038c48dc0b0c7e3492c23f3 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk index 95670e800d..836c6e581d 100644 --- a/package/enlightenment/enlightenment.mk +++ b/package/enlightenment/enlightenment.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENLIGHTENMENT_VERSION = 0.25.1 +ENLIGHTENMENT_VERSION = 0.25.4 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz ENLIGHTENMENT_SITE = https://download.enlightenment.org/rel/apps/enlightenment ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) -- 2.42.0 From peter at korsgaard.com Sun Oct 1 18:28:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:28:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/librsvg: security bump to version 2.50.9 In-Reply-To: <20230928170955.347663-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 28 Sep 2023 19:09:55 +0200") References: <20230928170955.347663-1-fontaine.fabrice@gmail.com> Message-ID: <878r8m9ozm.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-38633: A directory traversal problem in the URL decoder of > librsvg before 2.56.3 could be used by local or remote attackers to > disclose files (on the local filesystem outside of the expected area), > as demonstrated by href=".?../../../../../../../../../../etc/passwd" in > an xi:include element. > https://gitlab.gnome.org/GNOME/librsvg/-/blob/2.50.9/NEWS > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:28:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:28:30 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/suricata: security bump to version 6.0.14 In-Reply-To: <20230928165126.336164-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 28 Sep 2023 18:51:26 +0200") References: <20230928165126.336164-1-fontaine.fabrice@gmail.com> Message-ID: <874jja9oz5.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Fix CVE-2023-35852: In Suricata before 6.0.13 (when there is an > adversary who controls an external source of rules), a dataset > filename, that comes from a rule, may trigger absolute or relative > directory traversal, and lead to write access to a local filesystem. > This is addressed in 6.0.13 by requiring allow-absolute-filenames and > allow-write (in the datasets rules configuration section) if an > installation requires traversal/writing in this situation. > - Fix CVE-2023-35853: In Suricata before 6.0.13, an adversary who > controls an external source of Lua rules may be able to execute Lua > code. This is addressed in 6.0.13 by disabling Lua unless allow-rules > is true in the security lua configuration section. > - Drop first patch (not needed since > https://github.com/OISF/suricata/commit/c8a3aa608eaae1acbaf33dba8a7c1a3cbfeb4285) > https://github.com/OISF/suricata/blob/suricata-6.0.14/ChangeLog > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2 (after review of Peter Korsgaard): > - Do not wrongly delete second patch Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:28:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:28:52 +0200 Subject: [Buildroot] [PATCH v2 1/2] unifdef: add missing license In-Reply-To: <20230928002728.2402-1-brandon.maier@collins.com> (Brandon Maier via buildroot's message of "Thu, 28 Sep 2023 00:27:27 +0000") References: <20230919172300.9901-1-brandon.maier@collins.com> <20230928002728.2402-1-brandon.maier@collins.com> Message-ID: <87zg128ae3.fsf@48ers.dk> >>>>> "Brandon" == Brandon Maier via buildroot writes: > The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause > applies to "manual page unifdef.1 and the portability support code in > the FreeBSD subdirectory". The BSD-2-Clause applies to everything else. > Signed-off-by: Brandon Maier > Reviewed-by: Thomas Devoogdt > --- > Changes v1 -> v2: > - No changes Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:30:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:30:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/stress-ng: drop LDFLAGS_EXTRA In-Reply-To: <87y1gpifhf.fsf@48ers.dk> (Peter Korsgaard's message of "Fri, 29 Sep 2023 09:51:56 +0200") References: <20230921201633.635673-1-fontaine.fabrice@gmail.com> <87y1gpifhf.fsf@48ers.dk> Message-ID: <87v8bq8ab7.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Fabrice" == Fabrice Fontaine writes: >> Drop LDFLAGS_EXTRA to fix the following build failure raised since >> commit 42f25180233df459cd2bfbc5b9ebf8b95c6b60cb: >> /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/12.3.0/../../../../mipsel-buildroot-linux-gnu/bin/ld: >> stress-crypt.o: in function `$L17': >> stress-crypt.c:(.text+0x2dc): undefined reference to `crypt_r' >> Fixes: >> - http://autobuild.buildroot.org/results/0c1d2ef59b88ebb3ae10bf8cb986280b4c1283eb >> Signed-off-by: Fabrice Fontaine > Committed, thanks. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:31:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:31:36 +0200 Subject: [Buildroot] [PATCH] package/php: bump version to 8.2.11 In-Reply-To: <20230928172606.222711-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 28 Sep 2023 19:26:06 +0200") References: <20230928172606.222711-1-bernd@kuhls.net> Message-ID: <87r0me8a9j.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Changelog: https://www.php.net/ChangeLog-8.php#8.2.11 > Release notes: https://www.php.net/releases/8_2_11.php > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:32:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:32:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.18.7 In-Reply-To: <20230928172904.256249-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 28 Sep 2023 19:29:04 +0200") References: <20230928172904.256249-1-bernd@kuhls.net> Message-ID: <87msx28a88.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://www.samba.org/samba/history/samba-4.18.7.html > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:37:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:37:18 +0200 Subject: [Buildroot] [PATCH] package/mosquitto: bump to version 2.0.18 In-Reply-To: <20230929172749.3214653-1-francois.perrad@gadz.org> (Francois Perrad's message of "Fri, 29 Sep 2023 19:27:49 +0200") References: <20230929172749.3214653-1-francois.perrad@gadz.org> Message-ID: <87il7q8a01.fsf@48ers.dk> >>>>> "Francois" == Francois Perrad writes: > Signed-off-by: Francois Perrad Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:39:12 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:39:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/libvpx: Add upstream patch to fix CVE-2023-5217 In-Reply-To: <20230929162910.345877-1-bernd@kuhls.net> (Bernd Kuhls's message of "Fri, 29 Sep 2023 18:29:10 +0200") References: <20230929162910.345877-1-bernd@kuhls.net> Message-ID: <87edie89wv.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:24:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:24:25 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] unifdef: add missing license Message-ID: <20231001184642.AE5E783E70@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=df2180cd89c96572a34de01c107a2cc60ed287a3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause applies to "manual page unifdef.1 and the portability support code in the FreeBSD subdirectory". The BSD-2-Clause applies to everything else. Signed-off-by: Brandon Maier Reviewed-by: Thomas Devoogdt Signed-off-by: Yann E. MORIN (cherry picked from commit d8cea23ce4c2462000a3dd01304ba613a39253d5) Signed-off-by: Peter Korsgaard --- package/unifdef/unifdef.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk index 7d10595d1b..fd74455894 100644 --- a/package/unifdef/unifdef.mk +++ b/package/unifdef/unifdef.mk @@ -6,7 +6,7 @@ UNIFDEF_VERSION = 2.12 UNIFDEF_SITE = https://dotat.at/prog/unifdef -UNIFDEF_LICENSE = BSD-2-Clause +UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause UNIFDEF_LICENSE_FILES = COPYING define HOST_UNIFDEF_BUILD_CMDS From peter at korsgaard.com Sun Oct 1 18:25:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:25:28 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/librsvg: security bump to version 2.50.9 Message-ID: <20231001184642.B71E783A4B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=962ec546d0ae6a27bff0baf3bce22194cd1ff78e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-38633: A directory traversal problem in the URL decoder of librsvg before 2.56.3 could be used by local or remote attackers to disclose files (on the local filesystem outside of the expected area), as demonstrated by href=".?../../../../../../../../../../etc/passwd" in an xi:include element. https://gitlab.gnome.org/GNOME/librsvg/-/blob/2.50.9/NEWS Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e7988c7060d7d8b137d18721ef773ef266114690) Signed-off-by: Peter Korsgaard --- package/librsvg/librsvg.hash | 4 ++-- package/librsvg/librsvg.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/librsvg/librsvg.hash b/package/librsvg/librsvg.hash index c8da3354f5..4eab8cdfba 100644 --- a/package/librsvg/librsvg.hash +++ b/package/librsvg/librsvg.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.7.sha256sum -sha256 fffb61b08cd5282aaae147a02b305166a7426fad22a8b9427708f0f2fc426ebc librsvg-2.50.7.tar.xz +# From https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.9.sha256sum +sha256 518905fffa879b6c7f3db1aae961cf31333e0eadc7b4cdd4f531707868c54b53 librsvg-2.50.9.tar.xz # Locally computed sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/librsvg/librsvg.mk b/package/librsvg/librsvg.mk index df6559a858..81a6667817 100644 --- a/package/librsvg/librsvg.mk +++ b/package/librsvg/librsvg.mk @@ -5,7 +5,7 @@ ################################################################################ LIBRSVG_VERSION_MAJOR = 2.50 -LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).7 +LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).9 LIBRSVG_SITE = https://download.gnome.org/sources/librsvg/$(LIBRSVG_VERSION_MAJOR) LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz LIBRSVG_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:32:12 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:32:12 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/samba4: bump version to 4.18.7 Message-ID: <20231001184642.E69D083E7E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7bd3366516f4d9088a07caf1a27e18ab5a628ffb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Release notes: https://www.samba.org/samba/history/samba-4.18.7.html Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 94b2dc586fc96be90cfc02f279f5b14bbabe0c5a) Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fb278c1124..fea760c500 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.6.tar.asc -sha256 284c8a994ce989c87cd6808c390fcb9d00c36b21a0dc1a8a75474b67c9e715e7 samba-4.18.6.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc +sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 7b9e320012..cfa94fc141 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.6 +SAMBA4_VERSION = 4.18.7 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:37:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:37:45 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libvpx: Add upstream security patch to fix CVE-2023-5217 Message-ID: <20231001184643.04F7B83E73@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8b9251b8cc548830b27804c292eecbcfbfafe034 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE_2023-5217: Heap buffer overflow in vp8 encoding in libvpx in Google Chrome prior to 117.0.5938.132 and libvpx 1.13.1 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. https://www.openwall.com/lists/oss-security/2023/09/28/5 Signed-off-by: Bernd Kuhls [Peter: extend commit message, add _IGNORE_CVES] Signed-off-by: Peter Korsgaard (cherry picked from commit e99999d7cb1dca94d1073fc1b2db672152cd728b) Signed-off-by: Peter Korsgaard --- .../0002-VP8-disallow-thread-count-changes.patch | 38 ++++++++++++++++++++++ package/libvpx/libvpx.mk | 3 ++ 2 files changed, 41 insertions(+) diff --git a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch new file mode 100644 index 0000000000..d625255a9f --- /dev/null +++ b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch @@ -0,0 +1,38 @@ +From 3fbd1dca6a4d2dad332a2110d646e4ffef36d590 Mon Sep 17 00:00:00 2001 +From: James Zern +Date: Mon, 25 Sep 2023 18:55:59 -0700 +Subject: [PATCH] VP8: disallow thread count changes + +Currently allocations are done at encoder creation time. Going from +threaded to non-threaded would cause a crash. + +Bug: chromium:1486441 +Change-Id: Ie301c2a70847dff2f0daae408fbef1e4d42e73d4 + +Fixes CVE-2023-5217: https://www.cve.org/CVERecord?id=CVE-2023-5217 + +Upstream: https://github.com/webmproject/libvpx/commit/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 +Upstream: https://chromium.googlesource.com/webm/libvpx/+/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 + +[Bernd: Removed patch for test/encode_api_test.cc] +Signed-off-by: Bernd Kuhls +--- + vp8/encoder/onyx_if.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c +index c65afc643bf..c5e9970c3cc 100644 +--- a/vp8/encoder/onyx_if.c ++++ b/vp8/encoder/onyx_if.c +@@ -1447,6 +1447,11 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) { + last_h = cpi->oxcf.Height; + prev_number_of_layers = cpi->oxcf.number_of_layers; + ++ if (cpi->initial_width) { ++ // TODO(https://crbug.com/1486441): Allow changing thread counts; the ++ // allocation is done once in vp8_create_compressor(). ++ oxcf->multi_threaded = cpi->oxcf.multi_threaded; ++ } + cpi->oxcf = *oxcf; + + switch (cpi->oxcf.Mode) { diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index 67b25c9100..b558c41981 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -11,6 +11,9 @@ LIBVPX_LICENSE_FILES = LICENSE PATENTS LIBVPX_CPE_ID_VENDOR = webmproject LIBVPX_INSTALL_STAGING = YES +# 0002-VP8-disallow-thread-count-changes.patch +LIBVPX_IGNORE_CVES += CVE-2023-5217 + # ld is being used with cc options. therefore, pretend ld is cc. LIBVPX_CONF_ENV = \ LD="$(TARGET_CC)" \ From peter at korsgaard.com Sun Oct 1 18:39:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:39:41 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libfastjson: security bump to version 0.99.9.1 Message-ID: <20231001184643.0CEBB83E7F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d6fcd1d74c65127be97395af5dad6674e80ba57 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the equivalent of CVE-2020-12762, which was a json-c vulnerability: https://github.com/advisories/GHSA-3797-gmjf-45gm https://github.com/rsyslog/libfastjson/pull/166 Signed-off-by: Peter Korsgaard (cherry picked from commit cfe830c9ee5d66d3bdca15933ed8b59e3ec16e88) Signed-off-by: Peter Korsgaard --- package/libfastjson/libfastjson.hash | 2 +- package/libfastjson/libfastjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfastjson/libfastjson.hash b/package/libfastjson/libfastjson.hash index 218a738b37..f220c608df 100644 --- a/package/libfastjson/libfastjson.hash +++ b/package/libfastjson/libfastjson.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 881f954633aa76931e4c756ece0bda6fd8a673c6e66955a3db3b2bb9d6bbff72 libfastjson-0.99.9.tar.gz +sha256 67cde7e85fa372036d7694f3b32cfc666705ab19367920f555af9d1c183edfef libfastjson-0.99.9.1.tar.gz sha256 b29370bbfa98816e1fca0901f18149d920736771bfd68b4ee0eb00c78b38d245 COPYING diff --git a/package/libfastjson/libfastjson.mk b/package/libfastjson/libfastjson.mk index 7ab978dc67..5ee33ba496 100644 --- a/package/libfastjson/libfastjson.mk +++ b/package/libfastjson/libfastjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFASTJSON_VERSION = 0.99.9 +LIBFASTJSON_VERSION = 0.99.9.1 LIBFASTJSON_SITE = $(call github,rsyslog,libfastjson,v$(LIBFASTJSON_VERSION)) LIBFASTJSON_INSTALL_STAGING = YES LIBFASTJSON_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' From peter at korsgaard.com Sun Oct 1 18:26:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:26:19 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/suricata: security bump to version 6.0.14 Message-ID: <20231001184642.C6B0B83E72@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=38e3f0213f14518cb63008260d5c5598cbed5af7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x - Fix CVE-2023-35852: In Suricata before 6.0.13 (when there is an adversary who controls an external source of rules), a dataset filename, that comes from a rule, may trigger absolute or relative directory traversal, and lead to write access to a local filesystem. This is addressed in 6.0.13 by requiring allow-absolute-filenames and allow-write (in the datasets rules configuration section) if an installation requires traversal/writing in this situation. - Fix CVE-2023-35853: In Suricata before 6.0.13, an adversary who controls an external source of Lua rules may be able to execute Lua code. This is addressed in 6.0.13 by disabling Lua unless allow-rules is true in the security lua configuration section. - Drop first patch (not needed since https://github.com/OISF/suricata/commit/c8a3aa608eaae1acbaf33dba8a7c1a3cbfeb4285) https://github.com/OISF/suricata/blob/suricata-6.0.14/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit ce17f93e828a07292e03653be04a49480250f23f) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 3 +- ...c-allow-the-user-to-override-RUST_TARGET.patch} | 0 ...n-ensure-proper-shabang-on-python-scripts.patch | 47 ---------------------- package/suricata/suricata.hash | 2 +- package/suricata/suricata.mk | 5 +-- 5 files changed, 4 insertions(+), 53 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 428ff03233..6f754db59e 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1393,8 +1393,7 @@ package/statserial/0001-ncurses-link.patch Upstream package/stunnel/S50stunnel Indent Shellcheck Variables package/sudo/0001-configure.ac-fix-openssl-static-build.patch Upstream package/supervisor/S99supervisord Variables -package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch Upstream -package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch Upstream +package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch Upstream package/suricata/S99suricata Shellcheck package/swupdate/swupdate.sh Shellcheck package/sylpheed/0001-harden-link-checker-before-accepting-click.patch Upstream diff --git a/package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch b/package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch similarity index 100% rename from package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch rename to package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch diff --git a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch b/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch deleted file mode 100644 index 424b30d317..0000000000 --- a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 44fe2328b715db25134ee095526d2fa47e6cd834 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Wed, 1 Jan 2020 15:25:57 +0100 -Subject: [PATCH] python: ensure proper shabang on python scripts - -When instlling python scripts, distutils would use the python used to -run setup.py as shabang for the scripts it installs. - -However, when cross-compiling, this is most often not correct. - -Instead, using '/usr/bin/env python' is guaranteed to find the proper -python in the PATH, so we need to instruct setyup.py to use that as the -executable. - -[yann.morin.1998 at free.fr: - - author did not provide their SoB, but it's simple enough to - not require it for once - - provide proper commit log -] -Signed-off-by: Yann E. MORIN -[Fabrice: update for 6.0.0] -Signed-off-by: Fabrice Fontaine ---- - python/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/python/Makefile.am b/python/Makefile.am -index 59d195f29..a41604f72 100644 ---- a/python/Makefile.am -+++ b/python/Makefile.am -@@ -6,11 +6,11 @@ EXTRA_DIST = setup.py \ - if HAVE_PYTHON_DISTUTILS - all-local: - cd $(srcdir) && \ -- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" -+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)" - - install-exec-local: - cd $(srcdir) && \ -- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" \ -+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)" \ - install --prefix $(DESTDIR)$(prefix) - - uninstall-local: --- -2.20.1 - diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash index 38ab5e9cd3..49341984a2 100644 --- a/package/suricata/suricata.hash +++ b/package/suricata/suricata.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 00173634fa76aee636e38a90b1c02616c903e42173107d47b4114960b5fbe839 suricata-6.0.6.tar.gz +sha256 cfa93de900d0fd8ba67c79fddec58fb7afb8f6c45b0773040035a15407b796ce suricata-6.0.14.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk index 72b72cc94d..2aa5a0c5ed 100644 --- a/package/suricata/suricata.mk +++ b/package/suricata/suricata.mk @@ -4,13 +4,12 @@ # ################################################################################ -SURICATA_VERSION = 6.0.6 +SURICATA_VERSION = 6.0.14 SURICATA_SITE = https://www.openinfosecfoundation.org/download SURICATA_LICENSE = GPL-2.0 SURICATA_LICENSE_FILES = COPYING LICENSE SURICATA_CPE_ID_VENDOR = oisf -# 0001-python-ensure-proper-shabang-on-python-scripts.patch -# 0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch +# 0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch SURICATA_AUTORECONF = YES SURICATA_DEPENDENCIES = \ From peter at korsgaard.com Sun Oct 1 18:36:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:36:22 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/mosquitto: bump to version 2.0.18 Message-ID: <20231001184642.F064D83A4B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cdb4d67b5bff9a1b65bd1d786623cb9219e455fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard (cherry picked from commit 236dc1015cbda9b0c3479e2f37cb09c507da04dc) Signed-off-by: Peter Korsgaard --- package/mosquitto/mosquitto.hash | 4 ++-- package/mosquitto/mosquitto.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mosquitto/mosquitto.hash b/package/mosquitto/mosquitto.hash index df0a51df3a..453c1934dd 100644 --- a/package/mosquitto/mosquitto.hash +++ b/package/mosquitto/mosquitto.hash @@ -1,6 +1,6 @@ # Locally calculated after checking gpg signature -# from https://mosquitto.org/files/source/mosquitto-2.0.17.tar.gz.asc -sha256 3be7a911236567c1a9fbe25baf3e3167004ba4a0c151a448ef1f7fc077dba52f mosquitto-2.0.17.tar.gz +# from https://mosquitto.org/files/source/mosquitto-2.0.18.tar.gz.asc +sha256 d665fe7d0032881b1371a47f34169ee4edab67903b2cd2b4c083822823f4448a mosquitto-2.0.18.tar.gz # License files sha256 d3c4ccace4e5d3cc89d34cf2a0bc85b8596bfc0a32b815d0d77f9b7c41b5350c LICENSE.txt diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk index 0b85246f39..b847e56fec 100644 --- a/package/mosquitto/mosquitto.mk +++ b/package/mosquitto/mosquitto.mk @@ -4,7 +4,7 @@ # ################################################################################ -MOSQUITTO_VERSION = 2.0.17 +MOSQUITTO_VERSION = 2.0.18 MOSQUITTO_SITE = https://mosquitto.org/files/source MOSQUITTO_LICENSE = EPL-2.0 or EDLv1.0 MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v20 edl-v10 From peter at korsgaard.com Sun Oct 1 18:31:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:31:14 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/php: bump version to 8.2.11 Message-ID: <20231001184642.DC2C383E70@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=72af9a1dc4ad8748c3f94f6b6e48928abc9f60a3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Changelog: https://www.php.net/ChangeLog-8.php#8.2.11 Release notes: https://www.php.net/releases/8_2_11.php Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 3686d9fc17aa1ad200d03d6dc1004c71026dbde0) Signed-off-by: Peter Korsgaard --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index b8ff7ccc5c..e5f94a5e05 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3 php-8.2.10.tar.xz +sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index ede0980629..ee33000a6f 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.10 +PHP_VERSION = 8.2.11 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:30:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:30:25 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/stress-ng: drop LDFLAGS_EXTRA Message-ID: <20231001184642.CE93983E75@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e6bdfad8d30e9e87737af71b630a1537df66f452 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Drop LDFLAGS_EXTRA to fix the following build failure raised since commit 42f25180233df459cd2bfbc5b9ebf8b95c6b60cb: /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/12.3.0/../../../../mipsel-buildroot-linux-gnu/bin/ld: stress-crypt.o: in function `$L17': stress-crypt.c:(.text+0x2dc): undefined reference to `crypt_r' Fixes: - http://autobuild.buildroot.org/results/0c1d2ef59b88ebb3ae10bf8cb986280b4c1283eb Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5e97bc1f05d6925b71e7871c74f1ccf9b5a2d58b) Signed-off-by: Peter Korsgaard --- package/stress-ng/stress-ng.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/stress-ng/stress-ng.mk b/package/stress-ng/stress-ng.mk index a7b57459f1..24ec4cb515 100644 --- a/package/stress-ng/stress-ng.mk +++ b/package/stress-ng/stress-ng.mk @@ -21,7 +21,7 @@ STRESS_NG_DEPENDENCIES += keyutils endif ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -STRESS_NG_MAKE_FLAGS += LDFLAGS_EXTRA=-latomic +STRESS_NG_MAKE_FLAGS += LDFLAGS="$(TARGET_LDFLAGS) -latomic" endif define STRESS_NG_BUILD_CMDS From peter at korsgaard.com Sun Oct 1 18:41:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:41:04 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/neon: drop patches Message-ID: <20231001184643.16D2683E72@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6374f0c527c3a15e8c7041551453ce447d9e309a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Patches (and so autoreconf) are not needed since bump to version 0.32.4 in commit f39ac8336e9cd933de50970a657e32a8d9601c67 and https://github.com/notroj/neon/commit/9924d4d31525f8b61e37076b18004c603fd01761 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit e1b2cd5835d0a13bff763cfcf289919519c202ff) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 2 - ...vertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch | 76 ---------------------- .../neon/0002-configure.ac-fix-autoreconf.patch | 28 -------- package/neon/neon.mk | 2 - 4 files changed, 108 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 6f754db59e..44220bbb55 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -962,8 +962,6 @@ package/ne10/0001-CMakeLists-don-t-hard-code-thumb-code-generation.patch Upstrea package/ne10/0002-fix-build-without-C.patch Upstream package/neard/S53neard Indent Shellcheck Variables package/neardal/0001-lib-neardal.h-fix-build-with-gcc-10.patch Upstream -package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch Upstream -package/neon/0002-configure.ac-fix-autoreconf.patch Upstream package/netatalk/S50netatalk EmptyLastLine Indent Variables package/netcat/0001-signed-bit-counting.patch Sob Upstream package/netopeer2/S52netopeer2 Shellcheck Variables diff --git a/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch b/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch deleted file mode 100644 index 02088bfe02..0000000000 --- a/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 8f9e110b391f065536780d19c2257ad7afd83522 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 31 Jan 2022 23:42:13 +0100 -Subject: [PATCH] Revert "Advertise TS_SSL feature with OpenSSL >= 1.1.0." - -This reverts commit 281c84fc3996c757efdf6e9b3f906d7a1fc08b1d. - -Indeed openssl can be built on toolchains without threads support which -will result in the following build failure: - -ne_openssl.c:43:10: fatal error: pthread.h: No such file or directory - 43 | #include - | ^~~~~~~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/da995ef26001357e51a5907de9c6111b9ff89bdf - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/notroj/neon/pull/71] ---- - macros/neon.m4 | 15 ++++----------- - src/ne_openssl.c | 4 ++-- - 2 files changed, 6 insertions(+), 13 deletions(-) - -diff --git a/macros/neon.m4 b/macros/neon.m4 -index 129d4ac..5a5fb1b 100644 ---- a/macros/neon.m4 -+++ b/macros/neon.m4 -@@ -960,13 +960,9 @@ yes|openssl) - AC_CHECK_HEADERS(openssl/ssl.h openssl/opensslv.h,, - [AC_MSG_ERROR([OpenSSL headers not found, cannot enable SSL support])]) - -+ # Enable EGD support if using 0.9.7 or newer - NE_CHECK_OPENSSLVER(ne_cv_lib_ssl097, 0.9.7, 0x00907000L) -- NE_CHECK_OPENSSLVER(ne_cv_lib_ssl110, 1.1.0, 0x10100000L) -- if test "$ne_cv_lib_ssl110" = "yes"; then -- NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) -- AC_DEFINE(HAVE_OPENSSL11, 1, [Enable OpenSSL 1.1 support]) -- elif test "$ne_cv_lib_ssl097" = "yes"; then -- # Enable EGD support if using 0.9.7 or newer -+ if test "$ne_cv_lib_ssl097" = "yes"; then - AC_MSG_NOTICE([OpenSSL >= 0.9.7; EGD support not needed in neon]) - NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) - NE_CHECK_FUNCS(CRYPTO_set_idptr_callback SSL_SESSION_cmp) -@@ -1074,11 +1070,8 @@ CC/CFLAGS/LIBS must be used to make the POSIX library interfaces - available]),, - enable_threadsafe_ssl=no) - --case ${enable_threadsafe_ssl}X${ne_cv_lib_ssl110} in --*Xyes) -- NE_ENABLE_SUPPORT(TS_SSL, [OpenSSL is natively thread-safe]) -- ;; --posixX*|yesX*) -+case $enable_threadsafe_ssl in -+posix|yes) - ne_pthr_ok=yes - AC_CHECK_FUNCS([pthread_mutex_init pthread_mutex_lock],,[ne_pthr_ok=no]) - if test "${ne_pthr_ok}" = "no"; then -diff --git a/src/ne_openssl.c b/src/ne_openssl.c -index 41a5c05..96c768e 100644 ---- a/src/ne_openssl.c -+++ b/src/ne_openssl.c -@@ -1194,8 +1194,8 @@ char *ne_vstrhash(unsigned int flags, va_list ap) - return ne__strhash2hex(v, vlen, flags); - } - --#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10100000L --/* From OpenSSL 1.1.0 locking callbacks are no longer needed. */ -+#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10101000L -+/* For OpenSSL 1.1.1 locking callbacks are no longer need at all. */ - #define WITH_OPENSSL_LOCKING (1) - - /* Implementation of locking callbacks to make OpenSSL thread-safe. --- -2.34.1 - diff --git a/package/neon/0002-configure.ac-fix-autoreconf.patch b/package/neon/0002-configure.ac-fix-autoreconf.patch deleted file mode 100644 index cd63d1ed41..0000000000 --- a/package/neon/0002-configure.ac-fix-autoreconf.patch +++ /dev/null @@ -1,28 +0,0 @@ -From cf779609a5dd38f0a8fdb3c4539371f13fd3a24a Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 8 Feb 2022 18:34:25 +0100 -Subject: [PATCH] configure.ac: fix autoreconf - -Add AC_CONFIG_MACRO_DIR(macros) to fix autoreconf - -Signed-off-by: Fabrice Fontaine -[Upstream status: not sent yet] ---- - configure.ac | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 37b14ec..122151d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,5 +1,7 @@ - AC_PREREQ(2.58) dnl 2.58 required for AS_HELP_STRING - -+AC_CONFIG_MACRO_DIR(macros) -+ - dnl Extract the version (sans LF) from .version, created at release-time. - m4_define(ne_version, [m4_translit(m4_include(.version), [ - ])]) --- -2.34.1 - diff --git a/package/neon/neon.mk b/package/neon/neon.mk index 1ce8f1ff16..96ee608780 100644 --- a/package/neon/neon.mk +++ b/package/neon/neon.mk @@ -10,8 +10,6 @@ NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests) NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README.md NEON_CPE_ID_VENDOR = webdav NEON_INSTALL_STAGING = YES -# We're patching configure.ac -NEON_AUTORECONF = YES NEON_CONF_OPTS = --without-gssapi --disable-rpath NEON_CONFIG_SCRIPTS = neon-config NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) From peter at korsgaard.com Sun Oct 1 18:24:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:24:43 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] unifdef: add missing license Message-ID: <20231001184812.8E61B83F32@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=057beeb6afa46fdbe72368254bd5b2a97d611362 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause applies to "manual page unifdef.1 and the portability support code in the FreeBSD subdirectory". The BSD-2-Clause applies to everything else. Signed-off-by: Brandon Maier Reviewed-by: Thomas Devoogdt Signed-off-by: Yann E. MORIN (cherry picked from commit d8cea23ce4c2462000a3dd01304ba613a39253d5) Signed-off-by: Peter Korsgaard --- package/unifdef/unifdef.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk index 7d10595d1b..fd74455894 100644 --- a/package/unifdef/unifdef.mk +++ b/package/unifdef/unifdef.mk @@ -6,7 +6,7 @@ UNIFDEF_VERSION = 2.12 UNIFDEF_SITE = https://dotat.at/prog/unifdef -UNIFDEF_LICENSE = BSD-2-Clause +UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause UNIFDEF_LICENSE_FILES = COPYING define HOST_UNIFDEF_BUILD_CMDS From peter at korsgaard.com Sun Oct 1 18:31:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:31:26 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/php: bump version to 8.2.11 Message-ID: <20231001184812.AE9A383F4E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2b3b8967bfa58cb0dd67ad3c7da29c9498a9c670 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Changelog: https://www.php.net/ChangeLog-8.php#8.2.11 Release notes: https://www.php.net/releases/8_2_11.php Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 3686d9fc17aa1ad200d03d6dc1004c71026dbde0) Signed-off-by: Peter Korsgaard --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index b8ff7ccc5c..e5f94a5e05 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3 php-8.2.10.tar.xz +sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index 6c70de2742..88493b4e0f 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.10 +PHP_VERSION = 8.2.11 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:27:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:27:18 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/suricata: security bump to version 6.0.14 Message-ID: <20231001184812.A387183F4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=59989e79d6ccc1bafe2d64a70a31a6360c4e5817 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x - Fix CVE-2023-35852: In Suricata before 6.0.13 (when there is an adversary who controls an external source of rules), a dataset filename, that comes from a rule, may trigger absolute or relative directory traversal, and lead to write access to a local filesystem. This is addressed in 6.0.13 by requiring allow-absolute-filenames and allow-write (in the datasets rules configuration section) if an installation requires traversal/writing in this situation. - Fix CVE-2023-35853: In Suricata before 6.0.13, an adversary who controls an external source of Lua rules may be able to execute Lua code. This is addressed in 6.0.13 by disabling Lua unless allow-rules is true in the security lua configuration section. - Drop first patch (not needed since https://github.com/OISF/suricata/commit/c8a3aa608eaae1acbaf33dba8a7c1a3cbfeb4285) https://github.com/OISF/suricata/blob/suricata-6.0.14/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit ce17f93e828a07292e03653be04a49480250f23f) Signed-off-by: Peter Korsgaard --- ...c-allow-the-user-to-override-RUST_TARGET.patch} | 0 ...n-ensure-proper-shabang-on-python-scripts.patch | 47 ---------------------- package/suricata/suricata.hash | 2 +- package/suricata/suricata.mk | 5 +-- 4 files changed, 3 insertions(+), 51 deletions(-) diff --git a/package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch b/package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch similarity index 100% rename from package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch rename to package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch diff --git a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch b/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch deleted file mode 100644 index 424b30d317..0000000000 --- a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 44fe2328b715db25134ee095526d2fa47e6cd834 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Wed, 1 Jan 2020 15:25:57 +0100 -Subject: [PATCH] python: ensure proper shabang on python scripts - -When instlling python scripts, distutils would use the python used to -run setup.py as shabang for the scripts it installs. - -However, when cross-compiling, this is most often not correct. - -Instead, using '/usr/bin/env python' is guaranteed to find the proper -python in the PATH, so we need to instruct setyup.py to use that as the -executable. - -[yann.morin.1998 at free.fr: - - author did not provide their SoB, but it's simple enough to - not require it for once - - provide proper commit log -] -Signed-off-by: Yann E. MORIN -[Fabrice: update for 6.0.0] -Signed-off-by: Fabrice Fontaine ---- - python/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/python/Makefile.am b/python/Makefile.am -index 59d195f29..a41604f72 100644 ---- a/python/Makefile.am -+++ b/python/Makefile.am -@@ -6,11 +6,11 @@ EXTRA_DIST = setup.py \ - if HAVE_PYTHON_DISTUTILS - all-local: - cd $(srcdir) && \ -- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" -+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)" - - install-exec-local: - cd $(srcdir) && \ -- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" \ -+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)" \ - install --prefix $(DESTDIR)$(prefix) - - uninstall-local: --- -2.20.1 - diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash index 38ab5e9cd3..49341984a2 100644 --- a/package/suricata/suricata.hash +++ b/package/suricata/suricata.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 00173634fa76aee636e38a90b1c02616c903e42173107d47b4114960b5fbe839 suricata-6.0.6.tar.gz +sha256 cfa93de900d0fd8ba67c79fddec58fb7afb8f6c45b0773040035a15407b796ce suricata-6.0.14.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk index 72b72cc94d..2aa5a0c5ed 100644 --- a/package/suricata/suricata.mk +++ b/package/suricata/suricata.mk @@ -4,13 +4,12 @@ # ################################################################################ -SURICATA_VERSION = 6.0.6 +SURICATA_VERSION = 6.0.14 SURICATA_SITE = https://www.openinfosecfoundation.org/download SURICATA_LICENSE = GPL-2.0 SURICATA_LICENSE_FILES = COPYING LICENSE SURICATA_CPE_ID_VENDOR = oisf -# 0001-python-ensure-proper-shabang-on-python-scripts.patch -# 0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch +# 0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch SURICATA_AUTORECONF = YES SURICATA_DEPENDENCIES = \ From peter at korsgaard.com Sun Oct 1 18:38:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:38:52 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libvpx: bump version to 1.13.0 Message-ID: <20231001184812.CFC7A83F4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ba2d721a9709b7ea84ddc72161225a77d035f4d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Changelog: https://github.com/webmproject/libvpx/blob/main/CHANGELOG Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit a7e7ef2eadfd18c940718ac63a1614709451a398) Signed-off-by: Peter Korsgaard --- package/libvpx/libvpx.hash | 2 +- package/libvpx/libvpx.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libvpx/libvpx.hash b/package/libvpx/libvpx.hash index 828718e713..c88e6840cf 100644 --- a/package/libvpx/libvpx.hash +++ b/package/libvpx/libvpx.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 f1acc15d0fd0cb431f4bf6eac32d5e932e40ea1186fe78e074254d6d003957bb libvpx-1.12.0.tar.gz +sha256 cb2a393c9c1fae7aba76b950bb0ad393ba105409fe1a147ccd61b0aaa1501066 libvpx-1.13.0.tar.gz sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 LICENSE sha256 cc3273e0694ea5896145e0677699b53471b03ea43021ddc50e7923fbb9f5023c PATENTS diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index c8a22b9ab2..67b25c9100 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBVPX_VERSION = 1.12.0 +LIBVPX_VERSION = 1.13.0 LIBVPX_SITE = $(call github,webmproject,libvpx,v$(LIBVPX_VERSION)) LIBVPX_LICENSE = BSD-3-Clause LIBVPX_LICENSE_FILES = LICENSE PATENTS From peter at korsgaard.com Sun Oct 1 18:32:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:32:06 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/samba4: bump version to 4.18.7 Message-ID: <20231001184812.B8E6383F32@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa4752d5e789c485be5c8c4e62bc9b8dc5a39ac4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Release notes: https://www.samba.org/samba/history/samba-4.18.7.html Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 94b2dc586fc96be90cfc02f279f5b14bbabe0c5a) Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fb278c1124..fea760c500 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.6.tar.asc -sha256 284c8a994ce989c87cd6808c390fcb9d00c36b21a0dc1a8a75474b67c9e715e7 samba-4.18.6.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc +sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 7b9e320012..cfa94fc141 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.6 +SAMBA4_VERSION = 4.18.7 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:39:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:39:50 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libfastjson: security bump to version 0.99.9.1 Message-ID: <20231001184813.00ADB83F4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4de11043edc321c1ad9ded7e927f830626d4d914 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the equivalent of CVE-2020-12762, which was a json-c vulnerability: https://github.com/advisories/GHSA-3797-gmjf-45gm https://github.com/rsyslog/libfastjson/pull/166 Signed-off-by: Peter Korsgaard (cherry picked from commit cfe830c9ee5d66d3bdca15933ed8b59e3ec16e88) Signed-off-by: Peter Korsgaard --- package/libfastjson/libfastjson.hash | 2 +- package/libfastjson/libfastjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfastjson/libfastjson.hash b/package/libfastjson/libfastjson.hash index 218a738b37..f220c608df 100644 --- a/package/libfastjson/libfastjson.hash +++ b/package/libfastjson/libfastjson.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 881f954633aa76931e4c756ece0bda6fd8a673c6e66955a3db3b2bb9d6bbff72 libfastjson-0.99.9.tar.gz +sha256 67cde7e85fa372036d7694f3b32cfc666705ab19367920f555af9d1c183edfef libfastjson-0.99.9.1.tar.gz sha256 b29370bbfa98816e1fca0901f18149d920736771bfd68b4ee0eb00c78b38d245 COPYING diff --git a/package/libfastjson/libfastjson.mk b/package/libfastjson/libfastjson.mk index 7ab978dc67..5ee33ba496 100644 --- a/package/libfastjson/libfastjson.mk +++ b/package/libfastjson/libfastjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFASTJSON_VERSION = 0.99.9 +LIBFASTJSON_VERSION = 0.99.9.1 LIBFASTJSON_SITE = $(call github,rsyslog,libfastjson,v$(LIBFASTJSON_VERSION)) LIBFASTJSON_INSTALL_STAGING = YES LIBFASTJSON_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' From peter at korsgaard.com Sun Oct 1 18:36:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:36:29 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mosquitto: bump to version 2.0.18 Message-ID: <20231001184812.C622E83F4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7c3ff8c67d20f909636c2bcf8cf44b383a927abd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard (cherry picked from commit 236dc1015cbda9b0c3479e2f37cb09c507da04dc) Signed-off-by: Peter Korsgaard --- package/mosquitto/mosquitto.hash | 4 ++-- package/mosquitto/mosquitto.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mosquitto/mosquitto.hash b/package/mosquitto/mosquitto.hash index df0a51df3a..453c1934dd 100644 --- a/package/mosquitto/mosquitto.hash +++ b/package/mosquitto/mosquitto.hash @@ -1,6 +1,6 @@ # Locally calculated after checking gpg signature -# from https://mosquitto.org/files/source/mosquitto-2.0.17.tar.gz.asc -sha256 3be7a911236567c1a9fbe25baf3e3167004ba4a0c151a448ef1f7fc077dba52f mosquitto-2.0.17.tar.gz +# from https://mosquitto.org/files/source/mosquitto-2.0.18.tar.gz.asc +sha256 d665fe7d0032881b1371a47f34169ee4edab67903b2cd2b4c083822823f4448a mosquitto-2.0.18.tar.gz # License files sha256 d3c4ccace4e5d3cc89d34cf2a0bc85b8596bfc0a32b815d0d77f9b7c41b5350c LICENSE.txt diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk index 0b85246f39..b847e56fec 100644 --- a/package/mosquitto/mosquitto.mk +++ b/package/mosquitto/mosquitto.mk @@ -4,7 +4,7 @@ # ################################################################################ -MOSQUITTO_VERSION = 2.0.17 +MOSQUITTO_VERSION = 2.0.18 MOSQUITTO_SITE = https://mosquitto.org/files/source MOSQUITTO_LICENSE = EPL-2.0 or EDLv1.0 MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v20 edl-v10 From peter at korsgaard.com Sun Oct 1 18:25:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:25:45 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/librsvg: security bump to version 2.50.9 Message-ID: <20231001184812.9A0DC83F4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=eb907f77646ab337e79c9d6ddedb29937ce8c26a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix CVE-2023-38633: A directory traversal problem in the URL decoder of librsvg before 2.56.3 could be used by local or remote attackers to disclose files (on the local filesystem outside of the expected area), as demonstrated by href=".?../../../../../../../../../../etc/passwd" in an xi:include element. https://gitlab.gnome.org/GNOME/librsvg/-/blob/2.50.9/NEWS Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e7988c7060d7d8b137d18721ef773ef266114690) Signed-off-by: Peter Korsgaard --- package/librsvg/librsvg.hash | 4 ++-- package/librsvg/librsvg.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/librsvg/librsvg.hash b/package/librsvg/librsvg.hash index c8da3354f5..4eab8cdfba 100644 --- a/package/librsvg/librsvg.hash +++ b/package/librsvg/librsvg.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.7.sha256sum -sha256 fffb61b08cd5282aaae147a02b305166a7426fad22a8b9427708f0f2fc426ebc librsvg-2.50.7.tar.xz +# From https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.9.sha256sum +sha256 518905fffa879b6c7f3db1aae961cf31333e0eadc7b4cdd4f531707868c54b53 librsvg-2.50.9.tar.xz # Locally computed sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/librsvg/librsvg.mk b/package/librsvg/librsvg.mk index df6559a858..81a6667817 100644 --- a/package/librsvg/librsvg.mk +++ b/package/librsvg/librsvg.mk @@ -5,7 +5,7 @@ ################################################################################ LIBRSVG_VERSION_MAJOR = 2.50 -LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).7 +LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).9 LIBRSVG_SITE = https://download.gnome.org/sources/librsvg/$(LIBRSVG_VERSION_MAJOR) LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz LIBRSVG_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:39:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:39:02 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libvpx: Add upstream security patch to fix CVE-2023-5217 Message-ID: <20231001184812.EA56583F32@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ca3a64775ccfef2ba2607929a3472ec7f3303b25 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE_2023-5217: Heap buffer overflow in vp8 encoding in libvpx in Google Chrome prior to 117.0.5938.132 and libvpx 1.13.1 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. https://www.openwall.com/lists/oss-security/2023/09/28/5 Signed-off-by: Bernd Kuhls [Peter: extend commit message, add _IGNORE_CVES] Signed-off-by: Peter Korsgaard (cherry picked from commit e99999d7cb1dca94d1073fc1b2db672152cd728b) Signed-off-by: Peter Korsgaard --- .../0002-VP8-disallow-thread-count-changes.patch | 38 ++++++++++++++++++++++ package/libvpx/libvpx.mk | 3 ++ 2 files changed, 41 insertions(+) diff --git a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch new file mode 100644 index 0000000000..d625255a9f --- /dev/null +++ b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch @@ -0,0 +1,38 @@ +From 3fbd1dca6a4d2dad332a2110d646e4ffef36d590 Mon Sep 17 00:00:00 2001 +From: James Zern +Date: Mon, 25 Sep 2023 18:55:59 -0700 +Subject: [PATCH] VP8: disallow thread count changes + +Currently allocations are done at encoder creation time. Going from +threaded to non-threaded would cause a crash. + +Bug: chromium:1486441 +Change-Id: Ie301c2a70847dff2f0daae408fbef1e4d42e73d4 + +Fixes CVE-2023-5217: https://www.cve.org/CVERecord?id=CVE-2023-5217 + +Upstream: https://github.com/webmproject/libvpx/commit/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 +Upstream: https://chromium.googlesource.com/webm/libvpx/+/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 + +[Bernd: Removed patch for test/encode_api_test.cc] +Signed-off-by: Bernd Kuhls +--- + vp8/encoder/onyx_if.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c +index c65afc643bf..c5e9970c3cc 100644 +--- a/vp8/encoder/onyx_if.c ++++ b/vp8/encoder/onyx_if.c +@@ -1447,6 +1447,11 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) { + last_h = cpi->oxcf.Height; + prev_number_of_layers = cpi->oxcf.number_of_layers; + ++ if (cpi->initial_width) { ++ // TODO(https://crbug.com/1486441): Allow changing thread counts; the ++ // allocation is done once in vp8_create_compressor(). ++ oxcf->multi_threaded = cpi->oxcf.multi_threaded; ++ } + cpi->oxcf = *oxcf; + + switch (cpi->oxcf.Mode) { diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index 67b25c9100..b558c41981 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -11,6 +11,9 @@ LIBVPX_LICENSE_FILES = LICENSE PATENTS LIBVPX_CPE_ID_VENDOR = webmproject LIBVPX_INSTALL_STAGING = YES +# 0002-VP8-disallow-thread-count-changes.patch +LIBVPX_IGNORE_CVES += CVE-2023-5217 + # ld is being used with cc options. therefore, pretend ld is cc. LIBVPX_CONF_ENV = \ LD="$(TARGET_CC)" \ From peter at korsgaard.com Sun Oct 1 18:41:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:41:46 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/neon: drop patches Message-ID: <20231001184813.0B36883F4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=505b8ac335f9a225963e2318e3723487b2446dd4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Patches (and so autoreconf) are not needed since bump to version 0.32.4 in commit f39ac8336e9cd933de50970a657e32a8d9601c67 and https://github.com/notroj/neon/commit/9924d4d31525f8b61e37076b18004c603fd01761 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit e1b2cd5835d0a13bff763cfcf289919519c202ff) Signed-off-by: Peter Korsgaard --- ...vertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch | 76 ---------------------- .../neon/0002-configure.ac-fix-autoreconf.patch | 28 -------- package/neon/neon.mk | 2 - 3 files changed, 106 deletions(-) diff --git a/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch b/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch deleted file mode 100644 index 02088bfe02..0000000000 --- a/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 8f9e110b391f065536780d19c2257ad7afd83522 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 31 Jan 2022 23:42:13 +0100 -Subject: [PATCH] Revert "Advertise TS_SSL feature with OpenSSL >= 1.1.0." - -This reverts commit 281c84fc3996c757efdf6e9b3f906d7a1fc08b1d. - -Indeed openssl can be built on toolchains without threads support which -will result in the following build failure: - -ne_openssl.c:43:10: fatal error: pthread.h: No such file or directory - 43 | #include - | ^~~~~~~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/da995ef26001357e51a5907de9c6111b9ff89bdf - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/notroj/neon/pull/71] ---- - macros/neon.m4 | 15 ++++----------- - src/ne_openssl.c | 4 ++-- - 2 files changed, 6 insertions(+), 13 deletions(-) - -diff --git a/macros/neon.m4 b/macros/neon.m4 -index 129d4ac..5a5fb1b 100644 ---- a/macros/neon.m4 -+++ b/macros/neon.m4 -@@ -960,13 +960,9 @@ yes|openssl) - AC_CHECK_HEADERS(openssl/ssl.h openssl/opensslv.h,, - [AC_MSG_ERROR([OpenSSL headers not found, cannot enable SSL support])]) - -+ # Enable EGD support if using 0.9.7 or newer - NE_CHECK_OPENSSLVER(ne_cv_lib_ssl097, 0.9.7, 0x00907000L) -- NE_CHECK_OPENSSLVER(ne_cv_lib_ssl110, 1.1.0, 0x10100000L) -- if test "$ne_cv_lib_ssl110" = "yes"; then -- NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) -- AC_DEFINE(HAVE_OPENSSL11, 1, [Enable OpenSSL 1.1 support]) -- elif test "$ne_cv_lib_ssl097" = "yes"; then -- # Enable EGD support if using 0.9.7 or newer -+ if test "$ne_cv_lib_ssl097" = "yes"; then - AC_MSG_NOTICE([OpenSSL >= 0.9.7; EGD support not needed in neon]) - NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) - NE_CHECK_FUNCS(CRYPTO_set_idptr_callback SSL_SESSION_cmp) -@@ -1074,11 +1070,8 @@ CC/CFLAGS/LIBS must be used to make the POSIX library interfaces - available]),, - enable_threadsafe_ssl=no) - --case ${enable_threadsafe_ssl}X${ne_cv_lib_ssl110} in --*Xyes) -- NE_ENABLE_SUPPORT(TS_SSL, [OpenSSL is natively thread-safe]) -- ;; --posixX*|yesX*) -+case $enable_threadsafe_ssl in -+posix|yes) - ne_pthr_ok=yes - AC_CHECK_FUNCS([pthread_mutex_init pthread_mutex_lock],,[ne_pthr_ok=no]) - if test "${ne_pthr_ok}" = "no"; then -diff --git a/src/ne_openssl.c b/src/ne_openssl.c -index 41a5c05..96c768e 100644 ---- a/src/ne_openssl.c -+++ b/src/ne_openssl.c -@@ -1194,8 +1194,8 @@ char *ne_vstrhash(unsigned int flags, va_list ap) - return ne__strhash2hex(v, vlen, flags); - } - --#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10100000L --/* From OpenSSL 1.1.0 locking callbacks are no longer needed. */ -+#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10101000L -+/* For OpenSSL 1.1.1 locking callbacks are no longer need at all. */ - #define WITH_OPENSSL_LOCKING (1) - - /* Implementation of locking callbacks to make OpenSSL thread-safe. --- -2.34.1 - diff --git a/package/neon/0002-configure.ac-fix-autoreconf.patch b/package/neon/0002-configure.ac-fix-autoreconf.patch deleted file mode 100644 index cd63d1ed41..0000000000 --- a/package/neon/0002-configure.ac-fix-autoreconf.patch +++ /dev/null @@ -1,28 +0,0 @@ -From cf779609a5dd38f0a8fdb3c4539371f13fd3a24a Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 8 Feb 2022 18:34:25 +0100 -Subject: [PATCH] configure.ac: fix autoreconf - -Add AC_CONFIG_MACRO_DIR(macros) to fix autoreconf - -Signed-off-by: Fabrice Fontaine -[Upstream status: not sent yet] ---- - configure.ac | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 37b14ec..122151d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,5 +1,7 @@ - AC_PREREQ(2.58) dnl 2.58 required for AS_HELP_STRING - -+AC_CONFIG_MACRO_DIR(macros) -+ - dnl Extract the version (sans LF) from .version, created at release-time. - m4_define(ne_version, [m4_translit(m4_include(.version), [ - ])]) --- -2.34.1 - diff --git a/package/neon/neon.mk b/package/neon/neon.mk index 1ce8f1ff16..96ee608780 100644 --- a/package/neon/neon.mk +++ b/package/neon/neon.mk @@ -10,8 +10,6 @@ NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests) NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README.md NEON_CPE_ID_VENDOR = webdav NEON_INSTALL_STAGING = YES -# We're patching configure.ac -NEON_AUTORECONF = YES NEON_CONF_OPTS = --without-gssapi --disable-rpath NEON_CONFIG_SCRIPTS = neon-config NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) From peter at korsgaard.com Sun Oct 1 18:54:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:54:57 +0200 Subject: [Buildroot] [git commit] package/enlightenment: security bump to version 0.25.4 Message-ID: <20231001185722.93C2683F62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=83ffe153faa97b08acbfd0d15d4ca7f77604c17a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is a bugfix release which fixes a CVE. See: https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring." Hashes were never part of the online news page, therefore mark them as locally computed. Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard --- package/enlightenment/enlightenment.hash | 5 +++-- package/enlightenment/enlightenment.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/enlightenment/enlightenment.hash b/package/enlightenment/enlightenment.hash index 2d977b86f7..ed5d6b24ef 100644 --- a/package/enlightenment/enlightenment.hash +++ b/package/enlightenment/enlightenment.hash @@ -1,4 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-enlightenment-0.25.1 -sha256 2cf05fe3d96ef35e823619dbc0ac513ecabcae2186800ecd804924a637112444 enlightenment-0.25.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 +sha256 56db5d206b821b9a8831d26e713e410ac70b2255a6f43fcdf7c01eefde23b7a2 enlightenment-0.25.4.tar.xz +# Locally computed sha256 8d2fbc393e967cd6f5b8559d1744881a6a1ceb3ec6e1c2368c3916809ffccb8d COPYING sha256 cdc77ee1732455b203610f923fe4196046b3f7509038c48dc0b0c7e3492c23f3 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk index 95670e800d..836c6e581d 100644 --- a/package/enlightenment/enlightenment.mk +++ b/package/enlightenment/enlightenment.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENLIGHTENMENT_VERSION = 0.25.1 +ENLIGHTENMENT_VERSION = 0.25.4 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz ENLIGHTENMENT_SITE = https://download.enlightenment.org/rel/apps/enlightenment ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) From peter at korsgaard.com Sun Oct 1 18:54:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:54:07 +0200 Subject: [Buildroot] [git commit] package/wpewebkit: needs >= GCC 9 Message-ID: <20231001185722.8B5DE83F5F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=603fa625b14c849ef42262c7b755276fa9231c25 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard --- package/wpewebkit/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in index f1d38c7cad..81b66f8429 100644 --- a/package/wpewebkit/Config.in +++ b/package/wpewebkit/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" +comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \ || !BR2_HOST_GCC_AT_LEAST_4_9 comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" @@ -37,7 +37,7 @@ config BR2_PACKAGE_WPEWEBKIT depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy From peter at korsgaard.com Sun Oct 1 18:58:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:58:09 +0200 Subject: [Buildroot] [PATCH] package/enlightenment: security bump to version 0.25.4 In-Reply-To: <20231001181141.1275330-3-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 20:11:42 +0200") References: <20231001181141.1275330-3-dalang@gmx.at> Message-ID: <8734yui30e.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > This is a bugfix release which fixes a CVE. > See: > https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 > CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows > local users to gain privileges because it is setuid root, and the system > library function mishandles pathnames that begin with a /dev/.. > substring." > Hashes were never part of the online news page, therefore mark them as > locally computed. > Signed-off-by: Daniel Lang Committed, thanks. -- Bye, Peter Korsgaard From giulio.benetti at benettiengineering.com Sun Oct 1 19:01:01 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 Oct 2023 21:01:01 +0200 Subject: [Buildroot] [PATCH v2] package/wilc-driver: fix build failure with Linux 6.3+ Message-ID: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> Add local patches pending upstream to fix build failure on Linux 6.3+ Fixes: http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f Signed-off-by: Giulio Benetti --- .../wilc-driver/0006-Support-Linux-6.3.patch | 43 +++++++++++++++++++ .../wilc-driver/0007-Support-Linux-6.4.patch | 36 ++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 package/wilc-driver/0006-Support-Linux-6.3.patch create mode 100644 package/wilc-driver/0007-Support-Linux-6.4.patch diff --git a/package/wilc-driver/0006-Support-Linux-6.3.patch b/package/wilc-driver/0006-Support-Linux-6.3.patch new file mode 100644 index 0000000000..f5a92027da --- /dev/null +++ b/package/wilc-driver/0006-Support-Linux-6.3.patch @@ -0,0 +1,43 @@ +From 14b5eccf4145e7a5afc8bc65a15f26ac691f98d8 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 10:54:18 +0200 +Subject: [PATCH] Support Linux 6.3 + +With Linux 6.3 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=40fc56ee608cdb20022c225ac6f1e4b7ba63f8f1 +function of_get_named_gpio_flags() has been dropped but it was only a +wrapper to call of_get_named_gpio() if the flags passed was NULL and this +is the case. So let's use of_get_named_gpio() in place of +of_get_named_gpio_flags() since of_get_named_gpio() never changed +after its adding in Linux version 3.1. + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/4 + +Signed-off-by: Giulio Benetti +--- + power.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/power.c b/power.c +index 6c59e0b..6ab8d63 100644 +--- a/power.c ++++ b/power.c +@@ -25,13 +25,11 @@ int wilc_of_parse_power_pins(struct wilc *wilc) + const struct wilc_power_gpios *gpios = &default_gpios[0]; + int ret; + +- power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, +- NULL); ++ power->gpios.reset = of_get_named_gpio(of, "reset-gpios", 0); + if (!gpio_is_valid(power->gpios.reset)) + power->gpios.reset = gpios->reset; + +- power->gpios.chip_en = of_get_named_gpio_flags(of, "chip_en-gpios", 0, +- NULL); ++ power->gpios.chip_en = of_get_named_gpio(of, "chip_en-gpios", 0); + if (!gpio_is_valid(power->gpios.chip_en)) + power->gpios.chip_en = gpios->chip_en; + +-- +2.34.1 + diff --git a/package/wilc-driver/0007-Support-Linux-6.4.patch b/package/wilc-driver/0007-Support-Linux-6.4.patch new file mode 100644 index 0000000000..8339cc3cb6 --- /dev/null +++ b/package/wilc-driver/0007-Support-Linux-6.4.patch @@ -0,0 +1,36 @@ +From 94fc4594659494b8c5cbdf1a719aea4d66d3398d Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 11:20:50 +0200 +Subject: [PATCH] Support Linux 6.4 + +With Linux 6.4 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1aaba11da9aa7d7d6b52a74d45b31cac118295a1 +class_create() doesn't require first argument THIS_MODULE anymore so let's +drop first argument if Linux version >= 6.4 + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/5 + +Signed-off-by: Giulio Benetti +--- + bt.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/bt.c b/bt.c +index 48a5302..a752457 100644 +--- a/bt.c ++++ b/bt.c +@@ -135,7 +135,11 @@ static void wilc_bt_create_device(void) + ret = alloc_chrdev_region(&chc_dev_no, 0, 1, "atmel"); + if (ret < 0) + return; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) ++ chc_dev_class = class_create("atmel"); ++#else + chc_dev_class = class_create(THIS_MODULE, "atmel"); ++#endif + if (IS_ERR(chc_dev_class)) { + unregister_chrdev_region(chc_dev_no, 1); + return; +-- +2.34.1 + -- 2.34.1 From peter at korsgaard.com Sun Oct 1 18:39:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:39:59 +0200 Subject: [Buildroot] [PATCH] package/libfastjson: security bump to version 0.99.9.1 In-Reply-To: <87a5t4hmxr.fsf@48ers.dk> (Peter Korsgaard's message of "Fri, 29 Sep 2023 20:08:32 +0200") References: <20230929065647.1456926-1-peter@korsgaard.com> <87a5t4hmxr.fsf@48ers.dk> Message-ID: <87a5t289vk.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Peter" == Peter Korsgaard writes: >> Fixes the equivalent of CVE-2020-12762, which was a json-c vulnerability: >> https://github.com/advisories/GHSA-3797-gmjf-45gm >> https://github.com/rsyslog/libfastjson/pull/166 >> Signed-off-by: Peter Korsgaard > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From giulio.benetti at benettiengineering.com Sun Oct 1 19:06:55 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 Oct 2023 21:06:55 +0200 Subject: [Buildroot] [PATCH v2] package/wilc-driver: fix build failure with Linux 6.3+ In-Reply-To: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> References: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> Message-ID: On 01/10/23 21:01, Giulio Benetti wrote: > Add local patches pending upstream to fix build failure on Linux 6.3+ > > Fixes: > http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f > > Signed-off-by: Giulio Benetti --- V1->V2: * update Linux 6.3 gpio patch as suggested by Peter > --- > .../wilc-driver/0006-Support-Linux-6.3.patch | 43 +++++++++++++++++++ > .../wilc-driver/0007-Support-Linux-6.4.patch | 36 ++++++++++++++++ > 2 files changed, 79 insertions(+) > create mode 100644 package/wilc-driver/0006-Support-Linux-6.3.patch > create mode 100644 package/wilc-driver/0007-Support-Linux-6.4.patch > > diff --git a/package/wilc-driver/0006-Support-Linux-6.3.patch b/package/wilc-driver/0006-Support-Linux-6.3.patch > new file mode 100644 > index 0000000000..f5a92027da > --- /dev/null > +++ b/package/wilc-driver/0006-Support-Linux-6.3.patch > @@ -0,0 +1,43 @@ > +From 14b5eccf4145e7a5afc8bc65a15f26ac691f98d8 Mon Sep 17 00:00:00 2001 > +From: Giulio Benetti > +Date: Wed, 27 Sep 2023 10:54:18 +0200 > +Subject: [PATCH] Support Linux 6.3 > + > +With Linux 6.3 commit: > +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=40fc56ee608cdb20022c225ac6f1e4b7ba63f8f1 > +function of_get_named_gpio_flags() has been dropped but it was only a > +wrapper to call of_get_named_gpio() if the flags passed was NULL and this > +is the case. So let's use of_get_named_gpio() in place of > +of_get_named_gpio_flags() since of_get_named_gpio() never changed > +after its adding in Linux version 3.1. > + > +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/4 > + > +Signed-off-by: Giulio Benetti > +--- > + power.c | 6 ++---- > + 1 file changed, 2 insertions(+), 4 deletions(-) > + > +diff --git a/power.c b/power.c > +index 6c59e0b..6ab8d63 100644 > +--- a/power.c > ++++ b/power.c > +@@ -25,13 +25,11 @@ int wilc_of_parse_power_pins(struct wilc *wilc) > + const struct wilc_power_gpios *gpios = &default_gpios[0]; > + int ret; > + > +- power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, > +- NULL); > ++ power->gpios.reset = of_get_named_gpio(of, "reset-gpios", 0); > + if (!gpio_is_valid(power->gpios.reset)) > + power->gpios.reset = gpios->reset; > + > +- power->gpios.chip_en = of_get_named_gpio_flags(of, "chip_en-gpios", 0, > +- NULL); > ++ power->gpios.chip_en = of_get_named_gpio(of, "chip_en-gpios", 0); > + if (!gpio_is_valid(power->gpios.chip_en)) > + power->gpios.chip_en = gpios->chip_en; > + > +-- > +2.34.1 > + > diff --git a/package/wilc-driver/0007-Support-Linux-6.4.patch b/package/wilc-driver/0007-Support-Linux-6.4.patch > new file mode 100644 > index 0000000000..8339cc3cb6 > --- /dev/null > +++ b/package/wilc-driver/0007-Support-Linux-6.4.patch > @@ -0,0 +1,36 @@ > +From 94fc4594659494b8c5cbdf1a719aea4d66d3398d Mon Sep 17 00:00:00 2001 > +From: Giulio Benetti > +Date: Wed, 27 Sep 2023 11:20:50 +0200 > +Subject: [PATCH] Support Linux 6.4 > + > +With Linux 6.4 commit: > +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1aaba11da9aa7d7d6b52a74d45b31cac118295a1 > +class_create() doesn't require first argument THIS_MODULE anymore so let's > +drop first argument if Linux version >= 6.4 > + > +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/5 > + > +Signed-off-by: Giulio Benetti > +--- > + bt.c | 4 ++++ > + 1 file changed, 4 insertions(+) > + > +diff --git a/bt.c b/bt.c > +index 48a5302..a752457 100644 > +--- a/bt.c > ++++ b/bt.c > +@@ -135,7 +135,11 @@ static void wilc_bt_create_device(void) > + ret = alloc_chrdev_region(&chc_dev_no, 0, 1, "atmel"); > + if (ret < 0) > + return; > ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) > ++ chc_dev_class = class_create("atmel"); > ++#else > + chc_dev_class = class_create(THIS_MODULE, "atmel"); > ++#endif > + if (IS_ERR(chc_dev_class)) { > + unregister_chrdev_region(chc_dev_no, 1); > + return; > +-- > +2.34.1 > + -- Giulio Benetti CEO&CTO at Benetti Engineering sas From dalang at gmx.at Sun Oct 1 19:06:39 2023 From: dalang at gmx.at (Daniel Lang) Date: Sun, 1 Oct 2023 21:06:39 +0200 Subject: [Buildroot] [PATCH] package/netsnmp: security bump to version 5.9.4 Message-ID: <20231001190639.1391551-2-dalang@gmx.at> CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker (who has write access) to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. CVE-2022-44793 handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. The pgp key was changed [0] as the old one expired [1]. [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ [1]: https://github.com/net-snmp/net-snmp/issues/595 Signed-off-by: Daniel Lang --- package/netsnmp/netsnmp.hash | 6 +++--- package/netsnmp/netsnmp.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash index e1e9d10898..7898941271 100644 --- a/package/netsnmp/netsnmp.hash +++ b/package/netsnmp/netsnmp.hash @@ -1,7 +1,7 @@ # Locally calculated after checking pgp signature at -# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3/net-snmp-5.9.3.tar.gz.asc -# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 -sha256 2097f29b7e1bf3f1300b4bae52fa2308d0bb8d5d3998dbe02f9462a413a2ef0a net-snmp-5.9.3.tar.gz +# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.tar.gz.asc +# using key 6E6718AEF1EB5C65C32D1B2A356BC0B552D53CAB +sha256 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 net-snmp-5.9.4.tar.gz # Hash for license file sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index c7df49f947..b0c35aa894 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -4,7 +4,7 @@ # ################################################################################ -NETSNMP_VERSION = 5.9.3 +NETSNMP_VERSION = 5.9.4 NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz NETSNMP_LICENSE = Various BSD-like -- 2.42.0 From thomas.petazzoni at bootlin.com Sun Oct 1 19:14:07 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 21:14:07 +0200 Subject: [Buildroot] [git commit] docs/manual: add a FAQ entry about Y2038 support Message-ID: <20231001191539.B15DC83F75@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f10f47ff2873d2259e4a03060e9cf0fd1b0f05e0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This was reviewed in person by Arnout. Signed-off-by: Thomas Petazzoni --- docs/manual/faq-troubleshooting.adoc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/manual/faq-troubleshooting.adoc b/docs/manual/faq-troubleshooting.adoc index b08bf9bc4a..a61276d4c5 100644 --- a/docs/manual/faq-troubleshooting.adoc +++ b/docs/manual/faq-troubleshooting.adoc @@ -242,3 +242,31 @@ help reduce the build time: * Experiment with top-level parallel build, see xref:top-level-parallel-build[]. + +[[faq-2038]] +=== How does Buildroot support Y2038? + +There are multiple situations to consider: + + * On 64-bit architectures, there is no problem, as +time_t+ has + always been 64-bit. + + * On 32-bit architectures, the situation depends on the C library: + + ** With _uclibc-ng_, there is no support for 64-bit +time_t+ on + 32-bit architectures, so systems using _uclibc-ng_ on 32-bit + platforms will not be Y2038 compatible. + + ** With _musl_, 64-bit +time_t+ has always been used on 32-bit + architectures, so systems using _musl_ on 32-bit platforms are + Y2038 compatible. + + ** With _glibc_, 64-bit +time_t+ on 32-bit architectures is enabled + by the Buildroot option +BR2_TIME_BITS_64+. With this option + enabled, systems using _glibc_ on 32-bit platforms are Y2038 + compatible. + +Note that the above only comments about the capabilities of the C +library. Individual user-space libraries or applications, even when +built in a Y2038-compatible setup, can exhibit incorrect behavior if +they do not make correct use of the time APIs and types. From thomas.petazzoni at bootlin.com Sun Oct 1 19:14:06 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 21:14:06 +0200 Subject: [Buildroot] [git commit] Config.in: introduce BR2_TIME_BITS_64 option for Y2038 compatibility Message-ID: <20231001191539.A9CD983F73@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c427c64726560ea1743282a3fdb78f5b28692eb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Y2038 is now almost only 15 years away, and embedded systems built today are potentially going to still be operational in 15 years, and even though they are supposed to receive updates by then, we all know how things go, and potentially some of these embedded systems will not receive any update. In 2038, the signed 32-bit representation of time_t used on 32-bit architectures will overflow, causing all time-related functions to go back in time in a surprising way. The Linux kernel has already been modified to support a 64-bit representation of time_t on 32-bit architectures, but from a C library perspective, the situation varies: - glibc uses this 64-bit time_t representation on 32-bit systems since glibc 2.34, but only if -D_TIME_BITS=64 is specified. Therefore, this commit adds an option to add this flag globally to the build, when glibc is the C library and the architecture is not 64-bit. - musl uses unconditionally a 64-bit time_t representation on 32-bit systems since musl 1.2.0. So there is nothing to do here since Buildroot has been using a musl >= 1.2.0, used since Buildroot 2020.05. No Buildroot option is needed here. - uClibc-ng does not support a 64-bit time_t representation on 32-bit systems, so systems using uClibc-ng will not be Y2038 compliant, at least for now. No Buildroot option is needed here. It should be noted that being Y2038-compliant will only work if all application/library code is correct. For example if an application/library stores a timestamp in an "int" instead of using the proper time_t type, then the mechanisms described above will not fix this, and the application/library will continue to be broken in terms of Y2038 support. Possible discussions points about this patch: - Should we have an option at all, or should we unconditionally pass -D_TIME_BITS=64, like we have been doing for _FILE_OFFSET_BITS=64 for quite some time. The reasoning for having an option is that the mechanism is itself opt-in in glibc, and generally relatively new, so it seemed logical for now to make it optional as well in Buildroot. - Should we show something (a Config.in comment?) in the musl and uClibc-ng case to let the user know that the code is Y2038 compliant (musl) or not Y2038 compliant (uClibc-ng). Or should this discussion be part of the Buildroot documentation? Signed-off-by: Thomas Petazzoni --- Config.in | 14 ++++++++++++++ package/Makefile.in | 3 +++ 2 files changed, 17 insertions(+) diff --git a/Config.in b/Config.in index 670e199c0b..dbcca4c55a 100644 --- a/Config.in +++ b/Config.in @@ -736,6 +736,20 @@ config BR2_PER_PACKAGE_DIRECTORIES endmenu +config BR2_TIME_BITS_64 + bool "Build Y2038-ready code" + depends on BR2_TOOLCHAIN_USES_GLIBC && !BR2_ARCH_IS_64 + help + This option will pass -D_TIME_BITS=64 in the compiler flags + to ensure the glibc C library uses a 64-bit representation + for time_t and other time types, which ensures that + programs/libraries will correctly handle time past year + 2038. + + This option only has an effect with glibc >= 2.34, as + earlier glibc versions did not have support for 64-bit + time_t. + comment "Security Hardening Options" config BR2_PIC_PIE_ARCH_SUPPORTS diff --git a/package/Makefile.in b/package/Makefile.in index 5c11cae732..9fbe960759 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -167,6 +167,9 @@ TARGET_HARDENED += -D_FORTIFY_SOURCE=3 endif TARGET_CPPFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +ifeq ($(BR2_TIME_BITS_64),y) +TARGET_CPPFLAGS += -D_TIME_BITS=64 +endif TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) $(TARGET_HARDENED) TARGET_CXXFLAGS = $(TARGET_CFLAGS) TARGET_FCFLAGS = $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) From fontaine.fabrice at gmail.com Sun Oct 1 19:15:22 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 21:15:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/cups-filters: fix CVE-2023-24805 Message-ID: <20231001191522.1799946-1-fontaine.fabrice@gmail.com> Fix CVE-2023-24805: cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. `beh.c` contains the line `retval = system(cmdline) >> 8;` which calls the `system` command with the operand `cmdline`. `cmdline` contains multiple user controlled, unsanitized values. As a result an attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This issue has been addressed in commit `8f2740357` and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime. Signed-off-by: Fabrice Fontaine --- ...ecv-instead-of-system-CVE-2023-24805.patch | 208 ++++++++++++++++++ package/cups-filters/cups-filters.mk | 3 + 2 files changed, 211 insertions(+) create mode 100644 package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch diff --git a/package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch b/package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch new file mode 100644 index 0000000000..e527b20f91 --- /dev/null +++ b/package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch @@ -0,0 +1,208 @@ +From 93e60d3df358c0ae6f3dba79e1c9684657683d89 Mon Sep 17 00:00:00 2001 +From: Till Kamppeter +Date: Wed, 17 May 2023 11:11:29 +0200 +Subject: [PATCH] beh backend: Use execv() instead of system() - CVE-2023-24805 + +With execv() command line arguments are passed as separate strings and +not the full command line in a single string. This prevents arbitrary +command execution by escaping the quoting of the arguments in a job +with a forged job title. + +In addition, done the following fixes and improvements: + +- Do not allow '/' in the scheme of the URI (= backend executable + name), to assure that only backends inside /usr/lib/cups/backend/ + are used. + +- URI must have ':', to split off scheme, otherwise error out. + +- Check return value of snprintf() to create call path for backend, to + error out on truncation of a too long scheme or on complete failure + due to a completely odd scheme. + +- Use strncat() instead of strncpy() for getting scheme from URI, the latter + does not require setting terminating zero byte in case of truncation. + +- Also exclude "." or ".." as scheme, as directories are not valid CUPS + backends. + +- Do not use fprintf() in sigterm_handler(), to not interfere with a + fprintf() which could be running in the main process when + sigterm_handler() is triggered. + +- Use "static volatile int" for global variable job_canceled. + +Upstream: https://github.com/OpenPrinting/cups-filters/commit/93e60d3df358c0ae6f3dba79e1c9684657683d89 +Signed-off-by: Fabrice Fontaine +--- + backend/beh.c | 107 +++++++++++++++++++++++++++++++++++++++----------- + 1 file changed, 84 insertions(+), 23 deletions(-) + +diff --git a/backend/beh.c b/backend/beh.c +index 225fd27d5..8d51235b1 100644 +--- a/backend/beh.c ++++ b/backend/beh.c +@@ -22,12 +22,13 @@ + #include "backend-private.h" + #include + #include ++#include + + /* + * Local globals... + */ + +-static int job_canceled = 0; /* Set to 1 on SIGTERM */ ++static volatile int job_canceled = 0; /* Set to 1 on SIGTERM */ + + /* + * Local functions... +@@ -213,21 +214,40 @@ call_backend(char *uri, /* I - URI of final destination */ + char **argv, /* I - Command-line arguments */ + char *filename) { /* I - File name of input data */ + const char *cups_serverbin; /* Location of programs */ ++ char *backend_argv[8]; /* Arguments for backend */ + char scheme[1024], /* Scheme from URI */ + *ptr, /* Pointer into scheme */ +- cmdline[65536]; /* Backend command line */ +- int retval; ++ backend_path[2048]; /* Backend path */ ++ int pid = 0, /* Process ID of backend */ ++ wait_pid, /* Process ID from wait() */ ++ wait_status, /* Status from child */ ++ retval = 0; ++ int bytes; + + /* + * Build the backend command line... + */ + +- strncpy(scheme, uri, sizeof(scheme) - 1); +- if (strlen(uri) > 1023) +- scheme[1023] = '\0'; ++ scheme[0] = '\0'; ++ strncat(scheme, uri, sizeof(scheme) - 1); + if ((ptr = strchr(scheme, ':')) != NULL) + *ptr = '\0'; +- ++ else { ++ fprintf(stderr, ++ "ERROR: beh: Invalid URI, no colon (':') to mark end of scheme part.\n"); ++ exit (CUPS_BACKEND_FAILED); ++ } ++ if (strchr(scheme, '/')) { ++ fprintf(stderr, ++ "ERROR: beh: Invalid URI, scheme contains a slash ('/').\n"); ++ exit (CUPS_BACKEND_FAILED); ++ } ++ if (!strcmp(scheme, ".") || !strcmp(scheme, "..")) { ++ fprintf(stderr, ++ "ERROR: beh: Invalid URI, scheme (\"%s\") is a directory.\n", ++ scheme); ++ exit (CUPS_BACKEND_FAILED); ++ } + if ((cups_serverbin = getenv("CUPS_SERVERBIN")) == NULL) + cups_serverbin = CUPS_SERVERBIN; + +@@ -235,16 +255,29 @@ call_backend(char *uri, /* I - URI of final destination */ + fprintf(stderr, + "ERROR: beh: Direct output into a file not supported.\n"); + exit (CUPS_BACKEND_FAILED); +- } else +- snprintf(cmdline, sizeof(cmdline), +- "%s/backend/%s '%s' '%s' '%s' '%s' '%s' %s", +- cups_serverbin, scheme, argv[1], argv[2], argv[3], +- /* Apply number of copies only if beh was called with a +- file name and not with the print data in stdin, as +- backends should handle copies only if they are called +- with a file name */ +- (argc == 6 ? "1" : argv[4]), +- argv[5], filename); ++ } ++ ++ backend_argv[0] = uri; ++ backend_argv[1] = argv[1]; ++ backend_argv[2] = argv[2]; ++ backend_argv[3] = argv[3]; ++ /* Apply number of copies only if beh was called with a file name ++ and not with the print data in stdin, as backends should handle ++ copies only if they are called with a file name */ ++ backend_argv[4] = (argc == 6 ? "1" : argv[4]); ++ backend_argv[5] = argv[5]; ++ backend_argv[6] = filename; ++ backend_argv[7] = NULL; ++ ++ bytes = snprintf(backend_path, sizeof(backend_path), ++ "%s/backend/%s", cups_serverbin, scheme); ++ if (bytes < 0 || bytes >= sizeof(backend_path)) ++ { ++ fprintf(stderr, ++ "ERROR: beh: Invalid scheme (\"%s\"), could not determing backend path.\n", ++ scheme); ++ return (CUPS_BACKEND_FAILED); ++ } + + /* + * Overwrite the device URI and run the actual backend... +@@ -253,18 +286,44 @@ call_backend(char *uri, /* I - URI of final destination */ + setenv("DEVICE_URI", uri, 1); + + fprintf(stderr, +- "DEBUG: beh: Executing backend command line \"%s\"...\n", +- cmdline); ++ "DEBUG: beh: Executing backend command line \"%s '%s' '%s' '%s' '%s' '%s' %s\"...\n", ++ backend_path, backend_argv[1], backend_argv[2], backend_argv[3], ++ backend_argv[4], backend_argv[5], backend_argv[6]); + fprintf(stderr, + "DEBUG: beh: Using device URI: %s\n", + uri); + +- retval = system(cmdline) >> 8; ++ if ((pid = fork()) == 0) { ++ /* ++ * Child comes here... ++ */ ++ ++ /* Run the backend */ ++ execv(backend_path, backend_argv); + +- if (retval == -1) + fprintf(stderr, "ERROR: Unable to execute backend command line: %s\n", + strerror(errno)); + ++ exit(1); ++ } else if (pid < 0) { ++ /* ++ * Unable to fork! ++ */ ++ ++ return (CUPS_BACKEND_FAILED); ++ } ++ ++ while ((wait_pid = wait(&wait_status)) < 0 && errno == EINTR); ++ ++ if (wait_pid >= 0 && wait_status) { ++ if (WIFEXITED(wait_status)) ++ retval = WEXITSTATUS(wait_status); ++ else if (WTERMSIG(wait_status) != SIGTERM) ++ retval = WTERMSIG(wait_status); ++ else ++ retval = 0; ++ } ++ + return (retval); + } + +@@ -277,8 +336,10 @@ static void + sigterm_handler(int sig) { /* I - Signal number (unused) */ + (void)sig; + +- fprintf(stderr, +- "DEBUG: beh: Job canceled.\n"); ++ const char * const msg = "DEBUG: beh: Job canceled.\n"; ++ /* The if() is to eliminate the return value and silence the warning ++ about an unused return value. */ ++ if (write(2, msg, strlen(msg))); + + if (job_canceled) + _exit(CUPS_BACKEND_OK); diff --git a/package/cups-filters/cups-filters.mk b/package/cups-filters/cups-filters.mk index 19c859e602..dcfb2e9500 100644 --- a/package/cups-filters/cups-filters.mk +++ b/package/cups-filters/cups-filters.mk @@ -10,6 +10,9 @@ CUPS_FILTERS_LICENSE = GPL-2.0, GPL-2.0+, GPL-3.0, GPL-3.0+, LGPL-2, LGPL-2.1+, CUPS_FILTERS_LICENSE_FILES = COPYING CUPS_FILTERS_CPE_ID_VENDOR = linuxfoundation +# 0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch +CUPS_FILTERS_IGNORE_CVES += CVE-2023-24805 + CUPS_FILTERS_DEPENDENCIES = cups libglib2 lcms2 qpdf fontconfig freetype jpeg CUPS_FILTERS_CONF_OPTS = \ -- 2.40.1 From thomas.petazzoni at bootlin.com Sun Oct 1 19:15:56 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 21:15:56 +0200 Subject: [Buildroot] [PATCH] Config.in: introduce BR2_TIME_BITS_64 option for Y2038 compatibility In-Reply-To: <20221012215008.2918444-1-thomas.petazzoni@bootlin.com> References: <20221012215008.2918444-1-thomas.petazzoni@bootlin.com> Message-ID: <20231001211556.214bf14f@windsurf> On Wed, 12 Oct 2022 23:50:08 +0200 Thomas Petazzoni via buildroot wrote: > Y2038 is now almost only 15 years away, and embedded systems built > today are potentially going to still be operational in 15 years, and > even though they are supposed to receive updates by then, we all know > how things go, and potentially some of these embedded systems will not > receive any update. > > In 2038, the signed 32-bit representation of time_t used on 32-bit > architectures will overflow, causing all time-related functions to go > back in time in a surprising way. > > The Linux kernel has already been modified to support a 64-bit > representation of time_t on 32-bit architectures, but from a C library > perspective, the situation varies: > > - glibc uses this 64-bit time_t representation on 32-bit systems > since glibc 2.34, but only if -D_TIME_BITS=64 is > specified. Therefore, this commit adds an option to add this flag > globally to the build, when glibc is the C library and the > architecture is not 64-bit. > > - musl uses unconditionally a 64-bit time_t representation on 32-bit > systems since musl 1.2.0. So there is nothing to do here since > Buildroot has been using a musl >= 1.2.0, used since Buildroot > 2020.05. No Buildroot option is needed here. > > - uClibc-ng does not support a 64-bit time_t representation on 32-bit > systems, so systems using uClibc-ng will not be Y2038 compliant, at > least for now. No Buildroot option is needed here. > > It should be noted that being Y2038-compliant will only work if all > application/library code is correct. For example if an > application/library stores a timestamp in an "int" instead of using > the proper time_t type, then the mechanisms described above will not > fix this, and the application/library will continue to be broken in > terms of Y2038 support. > > Possible discussions points about this patch: > > - Should we have an option at all, or should we unconditionally pass > -D_TIME_BITS=64, like we have been doing for _FILE_OFFSET_BITS=64 > for quite some time. The reasoning for having an option is that > the mechanism is itself opt-in in glibc, and generally relatively > new, so it seemed logical for now to make it optional as well in > Buildroot. > > - Should we show something (a Config.in comment?) in the musl and > uClibc-ng case to let the user know that the code is Y2038 > compliant (musl) or not Y2038 compliant (uClibc-ng). Or should this > discussion be part of the Buildroot documentation? > > Signed-off-by: Thomas Petazzoni > --- > Config.in | 16 ++++++++++++++++ > package/Makefile.in | 3 +++ > 2 files changed, 19 insertions(+) This was discussed/review during the current hackathon, and in the end we decided to apply it, so it was pushed to master. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From yann.morin.1998 at free.fr Sun Oct 1 19:49:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 21:49:52 +0200 Subject: [Buildroot] [PATCH] package/libmodplug: add a patch fixing cctype UB In-Reply-To: <20230109220041.33943-1-glex.spb@gmail.com> References: <20230109220041.33943-1-glex.spb@gmail.com> Message-ID: <20231001194952.GO2579@scaer> Gleb, All, Sorry for the delay, now I've handled that patch... On 2023-01-09 22:00 +0000, Gleb Mazovetskiy spake thusly: > libmodplug calls `cctype` functions, such as `isspace`, > with negative values. This is undefined behaviour. > > While glibc allows it, it crashes on uClibc compiled > without `UCLIBC_HAS_CTYPE_SIGNED`. > > Adds a patch that resolves the issue. We discussed it during the hackathon this WE, and we were a bit ,eh about that patch, because it is a bit big, and upstream has not responded to it. However, upstream does indeed look pretty dead with no activity in the past two years and only the occasional commit before that, so there is very low risk at integrating this patch in Buildroot, as it should not cause much maintenance issue. On the off chance upstream ever release something new, we can assess the situation then. > Also sent upstream. However, the library author has not merged > any pull request for about a year. > https://github.com/Konstanty/libmodplug/pull/92 > > Signed-off-by: Gleb Mazovetskiy $ make check-package package/libmodplug/0001-fix-cctype-ub.patch:0: missing Signed-off-by in the header (http://nightly.buildroot.org/#_format_and_licensing_of_the_package_patches) package/libmodplug/0001-fix-cctype-ub.patch:0: missing Upstream in the header (http://nightly.buildroot.org/#_additional_patch_documentation) The latter is newer than your patch, so that's not your fault; I fixed it when applying. For the former, since your SoB-ed your Buildoot contribution, I copy-pasted it to the bundled patch too. Applied to master with that fixed, thanks. Eh, btw: I'm surprised people are still doing MOD nowadays! :-) Regards, Yann E. MORIN. > --- > package/libmodplug/0001-fix-cctype-ub.patch | 954 ++++++++++++++++++++ > 1 file changed, 954 insertions(+) > create mode 100644 package/libmodplug/0001-fix-cctype-ub.patch > > diff --git a/package/libmodplug/0001-fix-cctype-ub.patch b/package/libmodplug/0001-fix-cctype-ub.patch > new file mode 100644 > index 0000000000..15e7d364e5 > --- /dev/null > +++ b/package/libmodplug/0001-fix-cctype-ub.patch > @@ -0,0 +1,954 @@ > +From dc6d5994b4912cb00d0d183b400edfd656d6530c Mon Sep 17 00:00:00 2001 > +From: Gleb Mazovetskiy > +Date: Wed, 21 Dec 2022 11:44:27 +0000 > +Subject: [PATCH] Fix UB when calling cctype functions > + > +Calling cctype functions, such as isspace, with negative values > +is undefined behaviour. > + > +While glibc allows it, it crashes on uClibc compiled without > +`UCLIBC_HAS_CTYPE_SIGNED`. > + > +Fixes the undefined behaviour by casting all arguments to > +cctype functions to `unsigned char`. > +--- > + src/load_abc.cpp | 284 +++++++++++++++++++++++------------------------ > + src/load_mid.cpp | 2 +- > + src/load_pat.cpp | 30 ++--- > + 3 files changed, 158 insertions(+), 158 deletions(-) > + > +diff --git a/src/load_abc.cpp b/src/load_abc.cpp > +index b45f972f..8444bd87 100644 > +--- a/src/load_abc.cpp > ++++ b/src/load_abc.cpp > +@@ -260,13 +260,13 @@ static uint32_t abc_pattracktime(ABCHANDLE *h, uint32_t tracktime); > + static int abc_patno(ABCHANDLE *h, uint32_t tracktime); > + > + > +-static int abc_isvalidchar(char c) { > ++static int abc_isvalidchar(unsigned char c) { > + return(isalpha(c) || isdigit(c) || isspace(c) || c == '%' || c == ':'); > + } > + #if 0 > + static const char *abc_skipspace(const char *p) > + { > +- while (*p && isspace(*p)) > ++ while (*p && isspace(static_cast(*p))) > + p++; > + return p; > + } > +@@ -275,7 +275,7 @@ static const char *abc_skipspace(const char *p) > + static void abc_extractkeyvalue(char *key, size_t key_max, > + char *value, size_t value_max, const char *src) > + { > +- while (*src && isspace(*src)) > ++ while (*src && isspace(static_cast(*src))) > + src++; > + > + size_t key_size; > +@@ -286,17 +286,17 @@ static void abc_extractkeyvalue(char *key, size_t key_max, > + } > + key[key_size++] = *src++; > + } > +- while (key_size > 0 && isspace(key[key_size - 1])) > ++ while (key_size > 0 && isspace(static_cast(key[key_size - 1]))) > + key_size--; > + key[key_size] = '\0'; > + > +- while (*src && isspace(*src)) > ++ while (*src && isspace(static_cast(*src))) > + src++; > + > + size_t value_size; > + for (value_size = 0; value_size < value_max - 1 && *src;) > + value[value_size++] = *src++; > +- while (value_size > 0 && isspace(value[value_size - 1])) > ++ while (value_size > 0 && isspace(static_cast(value[value_size - 1]))) > + value_size--; > + value[value_size] = '\0'; > + > +@@ -359,7 +359,7 @@ static void abc_dumptracks(ABCHANDLE *h, const char *p) > + nn[0] = "CCCDDEFFGGAABccddeffggaabb"[e->par[chordnote]]; > + nn[1] = "b # # # # # # # # # # #"[e->par[chordnote]]; > + nn[2] = '\0'; > +- if( isspace(nn[1]) ) nn[1] = '\0'; > ++ if( isspace(static_cast(nn[1])) ) nn[1] = '\0'; > + printf("CMD %c: gchord %s%s", > + (char)(e->cmd), nn, chordname[e->par[chordnum]]); > + if( e->par[chordbase] != e->par[chordnote] ) { > +@@ -557,7 +557,7 @@ static void abc_new_umacro(ABCHANDLE *h, const char *m) > + ABCMACRO *retval, *mp; > + char key[256], value[256]; > + abc_extractkeyvalue(key, sizeof(key), value, sizeof(value), m); > +- if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(key[0])) == 0 ) return; > ++ if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(static_cast(key[0]))) == 0 ) return; > + while( char *q = strchr(key, '!') ) > + *q = '+'; // translate oldstyle to newstyle > + if( !strcmp(key,"+nil+") ) { // delete a macro > +@@ -823,7 +823,7 @@ static ABCTRACK *abc_locate_track(ABCHANDLE *h, const char *voice, int pos) > + char vc[21]; > + int i, trans=0, voiceno=0, instrno = 1, channo = 0; > + for( ; *voice == ' '; voice++ ) ; // skip leading spaces > +- for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(*voice); voice++ ) // can work with inline voice instructions > ++ for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(static_cast(*voice)); voice++ ) // can work with inline voice instructions > + vc[i++] = *voice; > + vc[i] = '\0'; > + prev = NULL; > +@@ -1250,32 +1250,32 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim > + switch(ch) { > + case '^': > + if( p[0] == '^' ) { > +- n = p[1]; > ++ n = static_cast(p[1]); > + i = 2; > + ch = 'x'; > + } > + else { > +- n = p[0]; > ++ n = static_cast(p[0]); > + i = 1; > + } > + break; > + case '_': > + if( p[0] == '_' ) { > +- n = p[1]; > ++ n = static_cast(p[1]); > + i = 2; > + ch = 'b'; > + } > + else { > +- n = p[0]; > ++ n = static_cast(p[0]); > + i = 1; > + } > + break; > + case '=': > +- n = p[0]; > ++ n = static_cast(p[0]); > + i = 1; > + break; > + default: > +- n = ch; > ++ n = static_cast(ch); > + i = 0; > + break; > + } > +@@ -1332,7 +1332,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim > + } > + else > + d[note] = 0; // someone has doen ^X3 or something like it... > +- while( p[i] && strchr(",'",p[i]) ) { > ++ while( p[i] && strchr(",'",static_cast(p[i])) ) { > + if( p[i]==',' ) oct--; > + else oct++; > + i++; > +@@ -1381,7 +1381,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim > + } > + } > + tp->tienote->tiednote = 1; // mark him for the pattern writers > +- for( j=i; isdigit(p[j]) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too > ++ for( j=i; isdigit(static_cast(p[j])) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too > + if( p[j] != '-' ) // is this note tied too? > + tp->tienote = NULL; // if not the tie ends here... > + return i; > +@@ -1603,7 +1603,7 @@ static int abc_getnumber(const char *p, int *number) > + int i,h; > + i = 0; > + h = 0; > +- while( isdigit(p[i]) ) { > ++ while( isdigit(static_cast(p[i])) ) { > + if (i < 9) > + h = 10 * h + p[i] - '0'; > + i++; > +@@ -1619,7 +1619,7 @@ static int abc_getexpr(const char *p, int *number) > + { > + int i, term, total; > + i = 0; > +- while( isspace(p[i]) ) > ++ while( isspace(static_cast(p[i])) ) > + i++; > + if( p[i] == '(' ) { > + i += abc_getexpr(p+i+1, number); > +@@ -1628,12 +1628,12 @@ static int abc_getexpr(const char *p, int *number) > + return i; > + } > + i += abc_getnumber(p+i, &total); > +- while( isspace(p[i]) ) > ++ while( isspace(static_cast(p[i])) ) > + i++; > + while( p[i] == '+' ) { > + i += 1 + abc_getexpr(p+i+1, &term); > + total += term; > +- while( isspace(p[i]) ) > ++ while( isspace(static_cast(p[i])) ) > + i++; > + } > + *number = total; > +@@ -1649,7 +1649,7 @@ static int abc_notelen(const char *p, int *len, int *div) > + h *= 2; > + i++; > + } > +- if( isdigit(p[i]) ) { > ++ if( isdigit(static_cast(p[i])) ) { > + h /= 2; > + i += abc_getnumber(p+i,&k); > + } > +@@ -1738,7 +1738,7 @@ static int abc_extract_tempo(const char *p, int invoice) > + case '=': > + break; > + default: > +- if( isdigit(*q) ) { > ++ if( isdigit(static_cast(*q)) ) { > + if( state ) { > + q+=abc_getnumber(q,&nd1)-1; > + state = 0; > +@@ -1812,10 +1812,10 @@ static void abc_set_parts(char **d, char *p) > + j=0; > + k=0; > + for( i=0; p[i] && p[i] != '%'; i++ ) { > +- if( isupper(p[i]) ) { > ++ if( isupper(static_cast(p[i])) ) { > + j++; > + } > +- if( isdigit(p[i]) ) { > ++ if( isdigit(static_cast(p[i])) ) { > + n=abc_getnumber(p+i, &k); > + if( k == 0 ) > + k = 1; > +@@ -1833,7 +1833,7 @@ static void abc_set_parts(char **d, char *p) > + // now copy bytes from p to *d, taking parens and digits in account > + j = 0; > + for( i=0; p[i] && p[i] != '%' && j < size && i < (int)size; i++ ) { > +- if( isdigit(p[i]) || isupper(p[i]) || p[i] == '(' || p[i] == ')' ) { > ++ if( isdigit(static_cast(p[i])) || isupper(static_cast(p[i])) || p[i] == '(' || p[i] == ')' ) { > + if( p[i] == ')' ) { > + for( n=j; n > 0 && q[n-1] != '('; n-- ) ; // find open paren in q > + // q[n+1] to q[j] contains the substring that must be repeated > +@@ -1856,7 +1856,7 @@ static void abc_set_parts(char **d, char *p) > + } > + continue; > + } > +- if( isdigit(p[i]) ) { > ++ if( isdigit(static_cast(p[i])) ) { > + n = abc_getnumber(p+i,&k); > + i += n - 1; > + // if nothing is ready to 'repeat', skip it. > +@@ -2243,7 +2243,7 @@ static void abc_preprocess(ABCHANDLE *h, ABCMACRO *m) > + char *p = s; > + for( j=0; j + a = m->subst[j]; > +- if( a > 'g' && islower(a) ) { > ++ if( a > 'g' && islower(static_cast(a)) ) { > + b = a - 'n'; > + a = "CDEFGABCDEFGABcdefgabcdefgabcdefgab"[i+b+7]; > + *p++ = a; > +@@ -2339,11 +2339,11 @@ BOOL CSoundFile::TestABC(const BYTE *lpStream, DWORD dwMemLength) > + } > + if(id[0]=='K' > + && id[1]==':' > +- && (isalpha(id[2]) || isspace(id[2])) ) return 1; > ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) return 1; > + // disable binary error if have any "tag" > + if((id[0]>='A' && id[0]<='Z') > + && id[1]==':' > +- && (isalpha(id[2]) || isspace(id[2])) ) hasText = 1; > ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) hasText = 1; > + } > + return 0; > + } > +@@ -2367,7 +2367,7 @@ static ABCHANDLE *ABC_Init(void) > + retval->barticks = 0; > + p = getenv(ABC_ENV_NORANDOMPICK); > + if( p ) { > +- if( isdigit(*p) ) > ++ if( isdigit(static_cast(*p)) ) > + retval->pickrandom = atoi(p); > + if( *p == '-' ) { > + retval->pickrandom = atoi(p+1)-1; // xmms preloads the file > +@@ -2652,12 +2652,12 @@ static int ABC_Key(const char *p) > + int i,j; > + char c[8]; > + const char *q; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + q = p; > + memset(c, 0, 8); > + for( i=0; i<8 && *p && *p != ']'; p++ ) { > +- if( isspace(*p) ) { > +- while( isspace(*p) ) p++; > ++ if( isspace(static_cast(*p)) ) { > ++ while( isspace(static_cast(*p)) ) p++; > + if( strncasecmp(p, "min", 3) && strncasecmp(p, "maj", 3) ) > + break; > + } > +@@ -2687,9 +2687,9 @@ static int ABC_Key(const char *p) > + > + static char *abc_skip_word(char *p) > + { > +- while( isspace(*p) ) p++; > +- while( *p && !isspace(*p) && *p != ']') p++; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > ++ while( *p && !isspace(static_cast(*p)) && *p != ']') p++; > ++ while( isspace(static_cast(*p)) ) p++; > + return p; > + } > + > +@@ -2798,7 +2798,7 @@ static void abc_setup_chordnames() > + static int abc_MIDI_getnumber(const char *p) > + { > + int n; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + abc_getnumber(p, &n); > + if( n < 0 ) n = 0; > + if( n > 127 ) n = 127; > +@@ -2808,7 +2808,7 @@ static int abc_MIDI_getnumber(const char *p) > + static int abc_MIDI_getprog(const char *p) > + { > + int n; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + abc_getnumber(p, &n); > + if( n < 1 ) n = 1; > + if( n > 128 ) n = 128; > +@@ -2819,32 +2819,32 @@ static int abc_MIDI_getprog(const char *p) > + static void abc_MIDI_drone(const char *p, int *gm, int *ptch, int *vol) > + { > + int i; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + i++; // adjust for 1..128 > + if( i>0 && i < 129 ) > + *gm = i; > + else > + *gm = 71; // bassoon > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + if( i>0 && i < 127 ) > + ptch[0] = i; > + else > + ptch[0] = 45; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + if( i>0 && i < 127 ) > + ptch[1] = i; > + else > + ptch[1] = 33; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + if( i>0 && i < 127 ) > + vol[0] = i; > + else > + vol[0] = 80; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + if( i>0 && i < 127 ) > + vol[1] = i; > +@@ -2869,8 +2869,8 @@ static void abc_MIDI_channel(const char *p, ABCTRACK *tp, ABCHANDLE *h) > + { > + int i1, i2; > + i1 = tp? tp->vno: 1; > +- for( ; *p && isspace(*p); p++ ) ; > +- if( isdigit(*p) ) { > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( isdigit(static_cast(*p)) ) { > + p += abc_getnumber(p, &i2); > + if( i2 >= 1 && i2 <= 16 ) > + abc_chan_to_tracks(h, i1, i2); // we start at 1 > +@@ -2894,11 +2894,11 @@ static void abc_MIDI_program(const char *p, ABCTRACK *tp, ABCHANDLE *h) > + { > + int i1, i2; > + i1 = tp? tp->vno: 1; > +- for( ; *p && isspace(*p); p++ ) ; > +- if( isdigit(*p) ) { > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( isdigit(static_cast(*p)) ) { > + p += abc_getnumber(p, &i2); > +- for( ; *p && isspace(*p); p++ ) ; > +- if( isdigit(*p) ) { > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( isdigit(static_cast(*p)) ) { > + i1 = i2; > + abc_getnumber(p, &i2); > + } > +@@ -2919,25 +2919,25 @@ static void abc_mute_voice(ABCHANDLE *h, ABCTRACK *tp, int m) > + static void abc_MIDI_voice(const char *p, ABCTRACK *tp, ABCHANDLE *h) > + { > + int i1, i2; > +- for( ; *p && isspace(*p); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > + if( strncmp(p,"instrument=",11) && strncmp(p,"mute",4) ) { > + tp = abc_locate_track(h, p, 0); > +- for( ; *p && !isspace(*p); p++ ) ; > +- for( ; *p && isspace(*p); p++ ) ; > ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > + } > + i1 = tp? tp->vno: 1; > + i2 = 0; > +- if( !strncmp(p,"instrument=",11) && isdigit(p[11]) ) { > ++ if( !strncmp(p,"instrument=",11) && isdigit(static_cast(p[11])) ) { > + p += 11; > + p += abc_getnumber(p, &i2); > +- for( ; *p && isspace(*p); p++ ) ; > +- if( !strncmp(p,"bank=",5) && isdigit(p[5]) ) { > +- for( ; *p && !isspace(*p); p++ ) ; > +- for( ; *p && isspace(*p); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( !strncmp(p,"bank=",5) && isdigit(static_cast(p[5])) ) { > ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > + } > + } > + if( tp ) abc_mute_voice(h,tp,0); > +- if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(p[4])) ) { > ++ if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(static_cast(p[4]))) ) { > + if( tp ) abc_mute_voice(h,tp,1); > + } > + abc_instr_to_tracks(h, i1, i2); // starts already at 1 (draft 4.0) > +@@ -2949,7 +2949,7 @@ static void abc_MIDI_chordname(const char *p) > + char name[20]; > + int i; > + > +- for(; *p && isspace(*p); p++) > ++ for(; *p && isspace(static_cast(*p)); p++) > + ; > + i = 0; > + while ((i < 19) && (*p != ' ') && (*p != '\0')) { > +@@ -2965,8 +2965,8 @@ static void abc_MIDI_chordname(const char *p) > + int notes[6]; > + i = 0; > + memset(notes, 0, sizeof(notes)); > +- while ((i < 6) && isspace(*p)) { > +- for(; *p && isspace(*p); p++) > ++ while ((i < 6) && isspace(static_cast(*p))) { > ++ for(; *p && isspace(static_cast(*p)); p++) > + ; > + p += abc_getnumber(p, ¬es[i]); > + i = i + 1; > +@@ -2981,21 +2981,21 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) > + { > + char *q; > + int i, n, m, len; > +- while( isspace(*p) ) p++; > +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; > +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; > ++ while( isspace(static_cast(*p)) ) p++; > ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; > ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; > + n = 0; len = 0; > +- for( q = h->drum; *p && !isspace(*p); p++ ) { > ++ for( q = h->drum; *p && !isspace(static_cast(*p)); p++ ) { > + if( !strchr("dz0123456789",*p) ) break; > + *q++ = *p; len++; > +- if( !isdigit(*p) && len < (int)sizeof(h->drum)-1 ) { > +- if( !isdigit(p[1]) ) { *q++ = '1'; len ++; } > ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->drum)-1 ) { > ++ if( !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } > + n++; // count the silences too.... > + } > + if (len >= (int)sizeof(h->drum)-1) { > + // consume the rest of the input > + // definitely enough "drum last state" stored. > +- while ( *p && !isspace(*p) ) p++; > ++ while ( *p && !isspace(static_cast(*p)) ) p++; > + break; > + } > + } > +@@ -3003,10 +3003,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) > + q = h->drumins; > + for( i = 0; i + if( h->drum[i*2] == 'd' ) { > +- while( *p && isspace(*p) ) p++; > +- if( !isdigit(*p) ) { > ++ while( *p && isspace(static_cast(*p)) ) p++; > ++ if( !isdigit(static_cast(*p)) ) { > + m = 0; > +- while( *p && !isspace(*p) ) p++; > ++ while( *p && !isspace(static_cast(*p)) ) p++; > + } > + else > + p += abc_getnumber(p,&m); > +@@ -3017,10 +3017,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) > + q = h->drumvol; > + for( i = 0; i + if( h->drum[i*2] == 'd' ) { > +- while( *p && isspace(*p) ) p++; > +- if( !isdigit(*p) ) { > ++ while( *p && isspace(static_cast(*p)) ) p++; > ++ if( !isdigit(static_cast(*p)) ) { > + m = 0; > +- while( *p && !isspace(*p) ) p++; > ++ while( *p && !isspace(static_cast(*p)) ) p++; > + } > + else > + p += abc_getnumber(p,&m); > +@@ -3036,17 +3036,17 @@ static int abc_MIDI_gchord(const char *p, ABCHANDLE *h) > + { > + char *q; > + int len = 0; > +- while( isspace(*p) ) p++; > +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; > +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; > +- for( q = h->gchord; *p && !isspace(*p); p++ ) { > ++ while( isspace(static_cast(*p)) ) p++; > ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; > ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; > ++ for( q = h->gchord; *p && !isspace(static_cast(*p)); p++ ) { > + if( !strchr("fbcz0123456789ghijGHIJ",*p) ) break; > + *q++ = *p; len++; > +- if( !isdigit(*p) && len < (int)sizeof(h->gchord)-1 && !isdigit(p[1]) ) { *q++ = '1'; len ++; } > ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->gchord)-1 && !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } > + if (len >= (int)sizeof(h->gchord)-1) { > + // consume the rest of the input > + // definitely enough "drum last state" stored. > +- while ( *p && !isspace(*p) ) p++; > ++ while ( *p && !isspace(static_cast(*p)) ) p++; > + break; > + } > + } > +@@ -3099,7 +3099,7 @@ static void abc_metric_gchord(ABCHANDLE *h, int mlen, int mdiv) > + > + static void abc_MIDI_legato(const char *p, ABCTRACK *tp) > + { > +- for( ; *p && isspace(*p); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > + if( !strncmp(p,"off",3) ) tp->legato = 0; > + else tp->legato = 1; > + } > +@@ -3130,7 +3130,7 @@ static int abc_drum_steps(const char *dch) > + const char *p; > + int i=0; > + for( p=dch; *p; p++ ) { > +- if( isdigit(*p) ) i += *p - '0';; > ++ if( isdigit(static_cast(*p)) ) i += *p - '0';; > + } > + return i; > + } > +@@ -3185,7 +3185,7 @@ static int abc_gchord_steps(const char *gch) > + const char *p; > + int i=0; > + for( p=gch; *p; p++ ) > +- if( isdigit(*p) ) i += *p - '0'; > ++ if( isdigit(static_cast(*p)) ) i += *p - '0'; > + return i; > + } > + > +@@ -3231,7 +3231,7 @@ static void abc_add_gchord(ABCHANDLE *h, uint32_t tracktime, uint32_t bartime) > + stime = (tracktime - etime) * steps; > + rtime = 0; > + while( rtime < stime ) { > +- gnote = h->gchord[2*g]; > ++ gnote = static_cast(h->gchord[2*g]); > + glen = h->gchord[2*g+1] - '0'; > + if( ++g == gsteps ) g = 0; > + switch(gnote) { > +@@ -3313,7 +3313,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) > + h->beat[2] = 110; > + h->beat[3] = 1; > + for( j=0; j<4; j++ ) { > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + if( *p ) { > + p += abc_getnumber(p, &i); > + if( i < 0 ) i = 0; > +@@ -3336,7 +3336,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) > + // %%MIDI beatstring fppmpmp > + static void abc_MIDI_beatstring(ABCHANDLE *h, const char *p) > + { > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + if( h->beatstring ) _mm_free(h->allochandle, h->beatstring); > + if( strlen(p) ) > + h->beatstring = DupStr(h->allochandle,p,strlen(p)+1); > +@@ -3483,47 +3483,47 @@ static void abc_recalculate_tracktime(ABCHANDLE *h) { > + static void abc_MIDI_command(ABCHANDLE *h, char *p, char delim) { > + int t; > + // interpret some of the possibilitys > +- if( !strncmp(p,"bassprog",8) && isspace(p[8]) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; > +- if( !strncmp(p,"bassvol",7) && isspace(p[7]) ) h->abcbassvol = abc_MIDI_getnumber(p+7); > +- if( !strncmp(p,"beat",4) && isspace(p[4]) ) abc_MIDI_beat(h, p+4); > +- if( !strncmp(p,"beatstring",10) && isspace(p[10]) ) abc_MIDI_beatstring(h, p+4); > +- if( !strncmp(p,"chordname",9) && isspace(p[9]) ) abc_MIDI_chordname(p+9); > +- if( !strncmp(p,"chordprog",9) && isspace(p[9]) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; > +- if( !strncmp(p,"chordvol",8) && isspace(p[8]) ) h->abcchordvol = abc_MIDI_getnumber(p+8); > +- if( !strncmp(p,"drone",5) && isspace(p[5]) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); > +- if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->droneon = 0; > +- if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->droneon = 1; > ++ if( !strncmp(p,"bassprog",8) && isspace(static_cast(p[8])) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; > ++ if( !strncmp(p,"bassvol",7) && isspace(static_cast(p[7])) ) h->abcbassvol = abc_MIDI_getnumber(p+7); > ++ if( !strncmp(p,"beat",4) && isspace(static_cast(p[4])) ) abc_MIDI_beat(h, p+4); > ++ if( !strncmp(p,"beatstring",10) && isspace(static_cast(p[10])) ) abc_MIDI_beatstring(h, p+4); > ++ if( !strncmp(p,"chordname",9) && isspace(static_cast(p[9])) ) abc_MIDI_chordname(p+9); > ++ if( !strncmp(p,"chordprog",9) && isspace(static_cast(p[9])) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; > ++ if( !strncmp(p,"chordvol",8) && isspace(static_cast(p[8])) ) h->abcchordvol = abc_MIDI_getnumber(p+8); > ++ if( !strncmp(p,"drone",5) && isspace(static_cast(p[5])) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); > ++ if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->droneon = 0; > ++ if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->droneon = 1; > + t = h->drumon; > +- if( !strncmp(p,"drum",4) && isspace(p[4]) ) { > ++ if( !strncmp(p,"drum",4) && isspace(static_cast(p[4])) ) { > + h->drumon = abc_MIDI_drum(p+4, h); > + if( h->drumon ) --h->drumon; > + else h->drumon = t; > + } > +- if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->drumon = 0; > +- if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) h->drumon = 1; > ++ if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->drumon = 0; > ++ if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) h->drumon = 1; > + if( t != h->drumon ) { > + if( h->drumon && !h->tpr ) h->tpr = h->track; > + if( h->tpr ) abc_add_drum_sync(h, h->tpr, h->tracktime); // don't start drumming from the beginning of time! > + if( h->tpr && !h->drumon ) h->tpr = NULL; > + } > + t = h->gchordon; > +- if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) { > ++ if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) { > + h->gchordon = abc_MIDI_gchord(p+6, h); > + if( h->gchordon ) --h->gchordon; > + else h->gchordon = t; > + } > +- if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(p[9])) ) h->gchordon = 0; > +- if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->gchordon = 1; > ++ if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(static_cast(p[9]))) ) h->gchordon = 0; > ++ if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->gchordon = 1; > + if( t != h->gchordon ) { > + if( h->tpc ) abc_add_gchord_syncs(h, h->tpc, h->tracktime); > + } > +- if( !strncmp(p,"channel",7) && isspace(p[7]) ) > ++ if( !strncmp(p,"channel",7) && isspace(static_cast(p[7])) ) > + abc_MIDI_channel(p+8, h->tp = abc_check_track(h, h->tp), h); > +- if( !strncmp(p,"program",7) && isspace(p[7]) ) > ++ if( !strncmp(p,"program",7) && isspace(static_cast(p[7])) ) > + abc_MIDI_program(p+8, h->tp = abc_check_track(h, h->tp), h); > +- if( !strncmp(p,"voice",5) && isspace(p[5]) ) > ++ if( !strncmp(p,"voice",5) && isspace(static_cast(p[5])) ) > + abc_MIDI_voice(p+6, h->tp = abc_check_track(h, h->tp), h); > +- if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) > ++ if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) > + abc_MIDI_legato(p+6, h->tp = abc_check_track(h, h->tp)); > + } > + > +@@ -3548,13 +3548,13 @@ static char *abc_continuated(ABCHANDLE *h, MMFILE *mmf, char *p) { > + abc_message("line not properly continued\n%s", p1); > + return p1; > + } > +- while( *pm && isspace(*pm) ) ++pm; > ++ while( *pm && isspace(static_cast(*pm)) ) ++pm; > + if( !strncmp(pm,"%%",2) ) { > +- for( p2 = pm+2; *p2 && isspace(*p2); p2++ ) ; > +- if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(p2[4])) ) { > +- for( p2+=5; *p2 && isspace(*p2); p2++ ) ; > ++ for( p2 = pm+2; *p2 && isspace(static_cast(*p2)); p2++ ) ; > ++ if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(static_cast(p2[4]))) ) { > ++ for( p2+=5; *p2 && isspace(static_cast(*p2)); p2++ ) ; > + if( *p2 == '=' ) > +- for( p2+=1; *p2 && isspace(*p2); p2++ ) ; > ++ for( p2+=1; *p2 && isspace(static_cast(*p2)); p2++ ) ; > + abc_MIDI_command(h,p2,'%'); > + } > + continued = 1; > +@@ -3685,7 +3685,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + abcxcount = 0; > + mmfseek(mmfile,0,SEEK_SET); > + while ((line=abc_gets(h, mmfile)) != NULL) { > +- for( p=line; isspace(*p); p++ ) ; > ++ for( p=line; isspace(static_cast(*p)); p++ ) ; > + if( !strncmp(p,"X:",2) ) abcxcount++; > + } > + if( abcxcount == 0 ) > +@@ -3699,7 +3699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + mmsp--; > + while ((line=abc_gets(h, mmstack[mmsp])) != NULL) { > + char blankline[3] = "% "; > +- for( p=line; isspace(*p); p++ ) ; > ++ for( p=line; isspace(static_cast(*p)); p++ ) ; > + switch(abcstate) { > + case INSKIPFORX: > + if( !strncmp(p,"X:",2) ) { > +@@ -3711,7 +3711,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + if( !strncmp(p,"X:",2) ) { > + abcstate = INHEAD; > + memset(m_szNames[0], 0, 32); > +- for( p+=2; isspace(*p); p++ ) ; > ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; > + abcxnumber = atoi(p); > + abchornpipe = 0; > + h->droneon = 0; > +@@ -3792,8 +3792,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + break; > + } > + if( !strncmp(p,"R:",2) ) { > +- for( p+=2; isspace(*p); p++ ) ; > +- if( !strncmp(p,"hornpipe",8) && (isspace(p[8]) || p[8]=='\0') ) abchornpipe = 1; > ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; > ++ if( !strncmp(p,"hornpipe",8) && (isspace(static_cast(p[8])) || p[8]=='\0') ) abchornpipe = 1; > + else abchornpipe = 0; > + break; > + } > +@@ -3980,8 +3980,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + p[1]= '%'; > + } > + if( !strncmp(p,"%%",2) ) { > +- for( p+=2; *p && isspace(*p); p++ ) ; > +- if( !strncmp(p,"abc-include",11) && isspace(p[11]) ) { > ++ for( p+=2; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( !strncmp(p,"abc-include",11) && isspace(static_cast(p[11])) ) { > + for( t=12; isspace(p[t]); t++ ) ; > + if( p[t] ) { > + mmsp++; > +@@ -3998,10 +3998,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + } > + else abc_message("failure: abc-include missing file name, %s", p); > + } > +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) && abcstate != INSKIPFORX ) { > +- for( p+=5; *p && isspace(*p); p++ ) ; > ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) && abcstate != INSKIPFORX ) { > ++ for( p+=5; *p && isspace(static_cast(*p)); p++ ) ; > + if( *p == '=' ) > +- for( p+=1; *p && isspace(*p); p++ ) ; > ++ for( p+=1; *p && isspace(static_cast(*p)); p++ ) ; > + abc_MIDI_command(h,p,'%'); > + if( h->tp ) abcnolegato = !h->tp->legato; > + if( !abcnolegato ) abcnoslurs = 0; > +@@ -4034,7 +4034,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + partpat[global_part - 'A'][1] = t; > + // give every new coming abcevent the desired part indication > + while( p[2]==' ' || p[2]=='.' ) p++; // skip blancs and dots > +- if( isupper(p[2]) ) > ++ if( isupper(static_cast(p[2])) ) > + global_part = p[2]; > + else > + global_part = ' '; > +@@ -4073,7 +4073,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + ch0 = ' '; > + pp = 0; > + while (*p && (ch = *p++) != '\0') { > +- if( !pp && isalpha(ch) && *p != ':' ) { // maybe a macro > ++ if( !pp && isalpha(static_cast(ch)) && *p != ':' ) { // maybe a macro > + for( mp=h->umacro; mp; mp=mp->next ) { > + if( ch == mp->name[0] ) { > + pp = p; > +@@ -4131,8 +4131,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + else > + partpat[global_part - 'A'][1] = t; > + // give every new coming abcevent the desired part indication > +- while( isspace(p[2]) || p[2]=='.' ) p++; // skip blancs and dots > +- if( isupper(p[2]) ) > ++ while( isspace(static_cast(p[2])) || p[2]=='.' ) p++; // skip blancs and dots > ++ if( isupper(static_cast(p[2])) ) > + global_part = p[2]; > + else > + global_part = ' '; > +@@ -4152,11 +4152,11 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + break; > + } > + if( !strncmp(p,"I:",2) ) { // interpret some of the possibilitys > +- for( p += 2; isspace(*p); p++ ) ; > +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) ) { // interpret some of the possibilitys > +- for( p += 4; isspace(*p); p++ ) ; > ++ for( p += 2; isspace(static_cast(*p)); p++ ) ; > ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) ) { // interpret some of the possibilitys > ++ for( p += 4; isspace(static_cast(*p)); p++ ) ; > + if( *p == '=' ) > +- for( p += 1; isspace(*p); p++ ) ; > ++ for( p += 1; isspace(static_cast(*p)); p++ ) ; > + abc_MIDI_command(h, p, ']'); > + if( h->tp ) abcnolegato = !h->tp->legato; > + if( !abcnolegato ) abcnoslurs = 0; > +@@ -4235,7 +4235,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + notelen *= cnotelen; > + notediv *= cnotediv; > + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); > +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation > ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation > + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); > + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); > + if( abcfermata ) { > +@@ -4278,7 +4278,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + if( abceffoper != 255 ) abceffect = none; > + break; > + } > +- if( isdigit(*p) ) { // different endings in repeats [i,j,n-r,s,... > ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats [i,j,n-r,s,... > + h->tp = abc_check_track(h, h->tp); > + abc_add_partbreak(h, h->tp, h->tracktime); > + p += abc_getnumber(p, ¬elen); > +@@ -4304,7 +4304,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + break; > + case '(': // slurs follow or some tuplet (duplet, triplet etc.) > + abcto = 0; > +- if( isdigit(*p) ) { > ++ if( isdigit(static_cast(*p)) ) { > + p += abc_getnumber(p,&tupletp); > + tupletr = tupletp; // ABC draft 2.0 (4.13): if r is not given it defaults to p > + switch( tupletp ) { // ABC draft 2.0 (4.13): q defaults depending on p and time signature > +@@ -4323,10 +4323,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + } > + if( *p==':' ) { > + p++; > +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletq); > ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletq); > + if( *p==':' ) { > + p++; > +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletr); > ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletr); > + } > + } > + } > +@@ -4375,7 +4375,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + sprintf(barsig, "%s%s", sig[abckey], sig[abckey]); // reset the key signature > + bartime = h->tracktime; > + if( h->tp && h->tp->vpos ) h->tp = abc_locate_track(h, h->tp->v, 0); // reset from voice overlay > +- if( isdigit(*p) ) { // different endings in repeats |i,j,n-r,s,... > ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats |i,j,n-r,s,... > + h->tp = abc_check_track(h, h->tp); > + abc_add_partbreak(h, h->tp, h->tracktime); > + p += abc_getnumber(p, ¬elen); > +@@ -4426,7 +4426,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + } > + break; > + case '"': // chord notation > +- if( !strchr("_^<>@", *p) && !isdigit(*p) ) { // if it's not a annotation string > ++ if( !strchr("_^<>@", *p) && !isdigit(static_cast(*p)) ) { // if it's not a annotation string > + h->tp = abc_check_track(h, h->tp); > + if( !h->tpc ) h->tpc = abc_locate_track(h, h->tp->v, 0); > + if( h->tp == h->tpc ) abc_add_chord(p, h, h->tpc, h->tracktime); // only do chords for one voice > +@@ -4443,8 +4443,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + abcto = -1; > + } > + else > +- if( !isspace(*p) ) abcto = 0; > +- if( !strncasecmp(p,"to",2) && (isspace(p[2]) || p[2] == '"') ) abcto = 1; > ++ if( !isspace(static_cast(*p)) ) abcto = 0; > ++ if( !strncasecmp(p,"to",2) && (isspace(static_cast(p[2])) || p[2] == '"') ) abcto = 1; > + } > + if( !ch ) abcstate = INSKIPFORQUOTE; > + break; > +@@ -4665,7 +4665,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + h->tp->tienote = h->tp->tail; > + } > + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); > +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation > ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation > + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); > + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); > + if( abcfermata ) { > +@@ -4699,7 +4699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + abc_track_clear_tiednote(h); > + p += abc_notelen(p, ¬elen, ¬ediv); > + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); > +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation > ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation > + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); > + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); > + if( abcfermata ) { > +@@ -4752,7 +4752,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + abcarpeggio = 0; > + break; > + } > +- if( isalpha(ch) && *p==':' ) { > ++ if( isalpha(static_cast(ch)) && *p==':' ) { > + // some unprocessed field line? > + while( *p ) p++; // skip it > + break; > +diff --git a/src/load_mid.cpp b/src/load_mid.cpp > +index fe02f5e4..749b5d0c 100644 > +--- a/src/load_mid.cpp > ++++ b/src/load_mid.cpp > +@@ -1198,7 +1198,7 @@ BOOL CSoundFile::ReadMID(const BYTE *lpStream, DWORD dwMemLength) > + if (h->miditracks == 0) goto ErrorCleanup; > + > + p = (BYTE *)getenv(ENV_MMMID_SPEED); > +- if( p && isdigit(*p) && p[0] != '0' && p[1] == '\0' ) { > ++ if( p && isdigit(static_cast(*p)) && p[0] != '0' && p[1] == '\0' ) { > + // transform speed > + t = *p - '0'; > + h->speed *= t; > +diff --git a/src/load_pat.cpp b/src/load_pat.cpp > +index fe787311..dfa640e5 100644 > +--- a/src/load_pat.cpp > ++++ b/src/load_pat.cpp > +@@ -392,31 +392,31 @@ void pat_init_patnames(void) > + _mm_fgets(mmcfg, line, PATH_MAX); > + while( !_mm_feof(mmcfg) ) { > + p = line; > +- while ( isspace(*p) ) p ++; > +- if( isdigit(p[0]) ) { > ++ while ( isspace(static_cast(*p)) ) p ++; > ++ if( isdigit(static_cast(p[0])) ) { > + // get pat number > + i = atoi(p); > +- while ( isdigit(*p) ) p ++; > +- while ( isspace(*p) ) p ++; > ++ while ( isdigit(static_cast(*p)) ) p ++; > ++ while ( isspace(static_cast(*p)) ) p ++; > + // get pat file name > + if( *p && i < MAXSMP && i >= 0 && *p != '#' ) { > + q = isdrumset ? midipat[pat_gm_drumnr(i)-1] : midipat[i]; > + pfnlen = 0; > +- while( *p && !isspace(*p) && *p != '#' && pfnlen < 128 ) { > ++ while( *p && !isspace(static_cast(*p)) && *p != '#' && pfnlen < 128 ) { > + pfnlen ++; > + *q++ = *p++; > + } > +- if( isblank(*p) && *(p+1) != '#' && pfnlen < 128 ) { > ++ if( isblank(static_cast(*p)) && *(p+1) != '#' && pfnlen < 128 ) { > + *q++ = ':'; pfnlen ++; > +- while( isspace(*p) ) { > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) { > ++ while( isspace(static_cast(*p)) ) p++; > + if ( *p == '#' ) { // comment > + > +- } else while( *p && !isspace(*p) && pfnlen < 128 ) { > ++ } else while( *p && !isspace(static_cast(*p)) && pfnlen < 128 ) { > + pfnlen ++; > + *q++ = *p++; > + } > +- if( isspace(*p) ) { *q++ = ' '; pfnlen++; } > ++ if( isspace(static_cast(*p)) ) { *q++ = ' '; pfnlen++; } > + } > + } > + *q++ = '\0'; > +@@ -429,11 +429,11 @@ void pat_init_patnames(void) > + } > + else if( !strncmp(p,"dir",3) ) { > + p += 3; > +- while ( isspace(*p) ) p ++; > ++ while ( isspace(static_cast(*p)) ) p ++; > + q = p + strlen(p); > + if(q > p) { > + --q; > +- while ( q > p && isspace(*q) ) *(q--) = 0; > ++ while ( q > p && isspace(static_cast(*q)) ) *(q--) = 0; > + strncpy(pathforpat, p, PATH_MAX - 1); > + pathforpat[PATH_MAX - 1] = 0; > + } > +@@ -441,9 +441,9 @@ void pat_init_patnames(void) > + else if( !strncmp(p,"source",6) && nsources < 5 ) { > + q = cfgsources[nsources]; > + p += 6; > +- while ( isspace(*p) ) p ++; > ++ while ( isspace(static_cast(*p)) ) p ++; > + pfnlen = 0; > +- while ( *p && *p != '#' && !isspace(*p) && pfnlen < 128 ) { > ++ while ( *p && *p != '#' && !isspace(static_cast(*p)) && pfnlen < 128 ) { > + pfnlen ++; > + *q++ = *p++; > + } > +@@ -857,7 +857,7 @@ static void PAT_ReadPatterns(MODCOMMAND *pattern[], WORD psize[], PATHANDLE *h, > + i = tt2 - 16 * ((h->samples - 1 - ch) & 3); > + if( tt1 < i ) { > + t = t % 64; > +- if( isalpha(tune[t]) ) { > ++ if( isalpha(static_cast(tune[t])) ) { > + n = pat_modnote(pat_note(tune[t])); > + ins = ch + 1; > + vol = 40; > -- > 2.37.2 > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 1 19:50:06 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 21:50:06 +0200 Subject: [Buildroot] [git commit] package/libmodplug: add a patch fixing cctype UB Message-ID: <20231001195023.D006F83F8C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33d0a13c3b7b86cbbff3dddb4c39ad41cae1c1c0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master libmodplug calls `cctype` functions, such as `isspace`, with negative values. This is undefined behaviour. While glibc allows it, it crashes on uClibc compiled without `UCLIBC_HAS_CTYPE_SIGNED`. Adds a patch that resolves the issue. Also sent upstream. However, the library author has not merged any pull request for about a year. Signed-off-by: Gleb Mazovetskiy [yann.morin.1998 at free.fr: - add Gleb's SoB to the patch - add upstream URL to the patch ] Signed-off-by: Yann E. MORIN --- package/libmodplug/0001-fix-cctype-ub.patch | 957 ++++++++++++++++++++++++++++ 1 file changed, 957 insertions(+) diff --git a/package/libmodplug/0001-fix-cctype-ub.patch b/package/libmodplug/0001-fix-cctype-ub.patch new file mode 100644 index 0000000000..c75919b6a8 --- /dev/null +++ b/package/libmodplug/0001-fix-cctype-ub.patch @@ -0,0 +1,957 @@ +From dc6d5994b4912cb00d0d183b400edfd656d6530c Mon Sep 17 00:00:00 2001 +From: Gleb Mazovetskiy +Date: Wed, 21 Dec 2022 11:44:27 +0000 +Subject: [PATCH] Fix UB when calling cctype functions + +Calling cctype functions, such as isspace, with negative values +is undefined behaviour. + +While glibc allows it, it crashes on uClibc compiled without +`UCLIBC_HAS_CTYPE_SIGNED`. + +Fixes the undefined behaviour by casting all arguments to +cctype functions to `unsigned char`. + +Upstream: https://github.com/Konstanty/libmodplug/pull/92 +Signed-off-by: Gleb Mazovetskiy +--- + src/load_abc.cpp | 284 +++++++++++++++++++++++------------------------ + src/load_mid.cpp | 2 +- + src/load_pat.cpp | 30 ++--- + 3 files changed, 158 insertions(+), 158 deletions(-) + +diff --git a/src/load_abc.cpp b/src/load_abc.cpp +index b45f972f..8444bd87 100644 +--- a/src/load_abc.cpp ++++ b/src/load_abc.cpp +@@ -260,13 +260,13 @@ static uint32_t abc_pattracktime(ABCHANDLE *h, uint32_t tracktime); + static int abc_patno(ABCHANDLE *h, uint32_t tracktime); + + +-static int abc_isvalidchar(char c) { ++static int abc_isvalidchar(unsigned char c) { + return(isalpha(c) || isdigit(c) || isspace(c) || c == '%' || c == ':'); + } + #if 0 + static const char *abc_skipspace(const char *p) + { +- while (*p && isspace(*p)) ++ while (*p && isspace(static_cast(*p))) + p++; + return p; + } +@@ -275,7 +275,7 @@ static const char *abc_skipspace(const char *p) + static void abc_extractkeyvalue(char *key, size_t key_max, + char *value, size_t value_max, const char *src) + { +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t key_size; +@@ -286,17 +286,17 @@ static void abc_extractkeyvalue(char *key, size_t key_max, + } + key[key_size++] = *src++; + } +- while (key_size > 0 && isspace(key[key_size - 1])) ++ while (key_size > 0 && isspace(static_cast(key[key_size - 1]))) + key_size--; + key[key_size] = '\0'; + +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t value_size; + for (value_size = 0; value_size < value_max - 1 && *src;) + value[value_size++] = *src++; +- while (value_size > 0 && isspace(value[value_size - 1])) ++ while (value_size > 0 && isspace(static_cast(value[value_size - 1]))) + value_size--; + value[value_size] = '\0'; + +@@ -359,7 +359,7 @@ static void abc_dumptracks(ABCHANDLE *h, const char *p) + nn[0] = "CCCDDEFFGGAABccddeffggaabb"[e->par[chordnote]]; + nn[1] = "b # # # # # # # # # # #"[e->par[chordnote]]; + nn[2] = '\0'; +- if( isspace(nn[1]) ) nn[1] = '\0'; ++ if( isspace(static_cast(nn[1])) ) nn[1] = '\0'; + printf("CMD %c: gchord %s%s", + (char)(e->cmd), nn, chordname[e->par[chordnum]]); + if( e->par[chordbase] != e->par[chordnote] ) { +@@ -557,7 +557,7 @@ static void abc_new_umacro(ABCHANDLE *h, const char *m) + ABCMACRO *retval, *mp; + char key[256], value[256]; + abc_extractkeyvalue(key, sizeof(key), value, sizeof(value), m); +- if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(key[0])) == 0 ) return; ++ if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(static_cast(key[0]))) == 0 ) return; + while( char *q = strchr(key, '!') ) + *q = '+'; // translate oldstyle to newstyle + if( !strcmp(key,"+nil+") ) { // delete a macro +@@ -823,7 +823,7 @@ static ABCTRACK *abc_locate_track(ABCHANDLE *h, const char *voice, int pos) + char vc[21]; + int i, trans=0, voiceno=0, instrno = 1, channo = 0; + for( ; *voice == ' '; voice++ ) ; // skip leading spaces +- for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(*voice); voice++ ) // can work with inline voice instructions ++ for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(static_cast(*voice)); voice++ ) // can work with inline voice instructions + vc[i++] = *voice; + vc[i] = '\0'; + prev = NULL; +@@ -1250,32 +1250,32 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + switch(ch) { + case '^': + if( p[0] == '^' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'x'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '_': + if( p[0] == '_' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'b'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '=': +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + break; + default: +- n = ch; ++ n = static_cast(ch); + i = 0; + break; + } +@@ -1332,7 +1332,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + else + d[note] = 0; // someone has doen ^X3 or something like it... +- while( p[i] && strchr(",'",p[i]) ) { ++ while( p[i] && strchr(",'",static_cast(p[i])) ) { + if( p[i]==',' ) oct--; + else oct++; + i++; +@@ -1381,7 +1381,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + } + tp->tienote->tiednote = 1; // mark him for the pattern writers +- for( j=i; isdigit(p[j]) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too ++ for( j=i; isdigit(static_cast(p[j])) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too + if( p[j] != '-' ) // is this note tied too? + tp->tienote = NULL; // if not the tie ends here... + return i; +@@ -1603,7 +1603,7 @@ static int abc_getnumber(const char *p, int *number) + int i,h; + i = 0; + h = 0; +- while( isdigit(p[i]) ) { ++ while( isdigit(static_cast(p[i])) ) { + if (i < 9) + h = 10 * h + p[i] - '0'; + i++; +@@ -1619,7 +1619,7 @@ static int abc_getexpr(const char *p, int *number) + { + int i, term, total; + i = 0; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + if( p[i] == '(' ) { + i += abc_getexpr(p+i+1, number); +@@ -1628,12 +1628,12 @@ static int abc_getexpr(const char *p, int *number) + return i; + } + i += abc_getnumber(p+i, &total); +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + while( p[i] == '+' ) { + i += 1 + abc_getexpr(p+i+1, &term); + total += term; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + } + *number = total; +@@ -1649,7 +1649,7 @@ static int abc_notelen(const char *p, int *len, int *div) + h *= 2; + i++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + h /= 2; + i += abc_getnumber(p+i,&k); + } +@@ -1738,7 +1738,7 @@ static int abc_extract_tempo(const char *p, int invoice) + case '=': + break; + default: +- if( isdigit(*q) ) { ++ if( isdigit(static_cast(*q)) ) { + if( state ) { + q+=abc_getnumber(q,&nd1)-1; + state = 0; +@@ -1812,10 +1812,10 @@ static void abc_set_parts(char **d, char *p) + j=0; + k=0; + for( i=0; p[i] && p[i] != '%'; i++ ) { +- if( isupper(p[i]) ) { ++ if( isupper(static_cast(p[i])) ) { + j++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n=abc_getnumber(p+i, &k); + if( k == 0 ) + k = 1; +@@ -1833,7 +1833,7 @@ static void abc_set_parts(char **d, char *p) + // now copy bytes from p to *d, taking parens and digits in account + j = 0; + for( i=0; p[i] && p[i] != '%' && j < size && i < (int)size; i++ ) { +- if( isdigit(p[i]) || isupper(p[i]) || p[i] == '(' || p[i] == ')' ) { ++ if( isdigit(static_cast(p[i])) || isupper(static_cast(p[i])) || p[i] == '(' || p[i] == ')' ) { + if( p[i] == ')' ) { + for( n=j; n > 0 && q[n-1] != '('; n-- ) ; // find open paren in q + // q[n+1] to q[j] contains the substring that must be repeated +@@ -1856,7 +1856,7 @@ static void abc_set_parts(char **d, char *p) + } + continue; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n = abc_getnumber(p+i,&k); + i += n - 1; + // if nothing is ready to 'repeat', skip it. +@@ -2243,7 +2243,7 @@ static void abc_preprocess(ABCHANDLE *h, ABCMACRO *m) + char *p = s; + for( j=0; jsubst[j]; +- if( a > 'g' && islower(a) ) { ++ if( a > 'g' && islower(static_cast(a)) ) { + b = a - 'n'; + a = "CDEFGABCDEFGABcdefgabcdefgabcdefgab"[i+b+7]; + *p++ = a; +@@ -2339,11 +2339,11 @@ BOOL CSoundFile::TestABC(const BYTE *lpStream, DWORD dwMemLength) + } + if(id[0]=='K' + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) return 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) return 1; + // disable binary error if have any "tag" + if((id[0]>='A' && id[0]<='Z') + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) hasText = 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) hasText = 1; + } + return 0; + } +@@ -2367,7 +2367,7 @@ static ABCHANDLE *ABC_Init(void) + retval->barticks = 0; + p = getenv(ABC_ENV_NORANDOMPICK); + if( p ) { +- if( isdigit(*p) ) ++ if( isdigit(static_cast(*p)) ) + retval->pickrandom = atoi(p); + if( *p == '-' ) { + retval->pickrandom = atoi(p+1)-1; // xmms preloads the file +@@ -2652,12 +2652,12 @@ static int ABC_Key(const char *p) + int i,j; + char c[8]; + const char *q; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + q = p; + memset(c, 0, 8); + for( i=0; i<8 && *p && *p != ']'; p++ ) { +- if( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ if( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if( strncasecmp(p, "min", 3) && strncasecmp(p, "maj", 3) ) + break; + } +@@ -2687,9 +2687,9 @@ static int ABC_Key(const char *p) + + static char *abc_skip_word(char *p) + { +- while( isspace(*p) ) p++; +- while( *p && !isspace(*p) && *p != ']') p++; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; ++ while( *p && !isspace(static_cast(*p)) && *p != ']') p++; ++ while( isspace(static_cast(*p)) ) p++; + return p; + } + +@@ -2798,7 +2798,7 @@ static void abc_setup_chordnames() + static int abc_MIDI_getnumber(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 0 ) n = 0; + if( n > 127 ) n = 127; +@@ -2808,7 +2808,7 @@ static int abc_MIDI_getnumber(const char *p) + static int abc_MIDI_getprog(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 1 ) n = 1; + if( n > 128 ) n = 128; +@@ -2819,32 +2819,32 @@ static int abc_MIDI_getprog(const char *p) + static void abc_MIDI_drone(const char *p, int *gm, int *ptch, int *vol) + { + int i; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + i++; // adjust for 1..128 + if( i>0 && i < 129 ) + *gm = i; + else + *gm = 71; // bassoon +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[0] = i; + else + ptch[0] = 45; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[1] = i; + else + ptch[1] = 33; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[0] = i; + else + vol[0] = 80; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[1] = i; +@@ -2869,8 +2869,8 @@ static void abc_MIDI_channel(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); + if( i2 >= 1 && i2 <= 16 ) + abc_chan_to_tracks(h, i1, i2); // we start at 1 +@@ -2894,11 +2894,11 @@ static void abc_MIDI_program(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + i1 = i2; + abc_getnumber(p, &i2); + } +@@ -2919,25 +2919,25 @@ static void abc_mute_voice(ABCHANDLE *h, ABCTRACK *tp, int m) + static void abc_MIDI_voice(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( strncmp(p,"instrument=",11) && strncmp(p,"mute",4) ) { + tp = abc_locate_track(h, p, 0); +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + i1 = tp? tp->vno: 1; + i2 = 0; +- if( !strncmp(p,"instrument=",11) && isdigit(p[11]) ) { ++ if( !strncmp(p,"instrument=",11) && isdigit(static_cast(p[11])) ) { + p += 11; + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"bank=",5) && isdigit(p[5]) ) { +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"bank=",5) && isdigit(static_cast(p[5])) ) { ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + } + if( tp ) abc_mute_voice(h,tp,0); +- if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(p[4])) ) { ++ if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(static_cast(p[4]))) ) { + if( tp ) abc_mute_voice(h,tp,1); + } + abc_instr_to_tracks(h, i1, i2); // starts already at 1 (draft 4.0) +@@ -2949,7 +2949,7 @@ static void abc_MIDI_chordname(const char *p) + char name[20]; + int i; + +- for(; *p && isspace(*p); p++) ++ for(; *p && isspace(static_cast(*p)); p++) + ; + i = 0; + while ((i < 19) && (*p != ' ') && (*p != '\0')) { +@@ -2965,8 +2965,8 @@ static void abc_MIDI_chordname(const char *p) + int notes[6]; + i = 0; + memset(notes, 0, sizeof(notes)); +- while ((i < 6) && isspace(*p)) { +- for(; *p && isspace(*p); p++) ++ while ((i < 6) && isspace(static_cast(*p))) { ++ for(; *p && isspace(static_cast(*p)); p++) + ; + p += abc_getnumber(p, ¬es[i]); + i = i + 1; +@@ -2981,21 +2981,21 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + { + char *q; + int i, n, m, len; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; + n = 0; len = 0; +- for( q = h->drum; *p && !isspace(*p); p++ ) { ++ for( q = h->drum; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("dz0123456789",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->drum)-1 ) { +- if( !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->drum)-1 ) { ++ if( !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + n++; // count the silences too.... + } + if (len >= (int)sizeof(h->drum)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3003,10 +3003,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumins; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3017,10 +3017,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumvol; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3036,17 +3036,17 @@ static int abc_MIDI_gchord(const char *p, ABCHANDLE *h) + { + char *q; + int len = 0; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; +- for( q = h->gchord; *p && !isspace(*p); p++ ) { ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; ++ for( q = h->gchord; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("fbcz0123456789ghijGHIJ",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->gchord)-1 && !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->gchord)-1 && !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + if (len >= (int)sizeof(h->gchord)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3099,7 +3099,7 @@ static void abc_metric_gchord(ABCHANDLE *h, int mlen, int mdiv) + + static void abc_MIDI_legato(const char *p, ABCTRACK *tp) + { +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"off",3) ) tp->legato = 0; + else tp->legato = 1; + } +@@ -3130,7 +3130,7 @@ static int abc_drum_steps(const char *dch) + const char *p; + int i=0; + for( p=dch; *p; p++ ) { +- if( isdigit(*p) ) i += *p - '0';; ++ if( isdigit(static_cast(*p)) ) i += *p - '0';; + } + return i; + } +@@ -3185,7 +3185,7 @@ static int abc_gchord_steps(const char *gch) + const char *p; + int i=0; + for( p=gch; *p; p++ ) +- if( isdigit(*p) ) i += *p - '0'; ++ if( isdigit(static_cast(*p)) ) i += *p - '0'; + return i; + } + +@@ -3231,7 +3231,7 @@ static void abc_add_gchord(ABCHANDLE *h, uint32_t tracktime, uint32_t bartime) + stime = (tracktime - etime) * steps; + rtime = 0; + while( rtime < stime ) { +- gnote = h->gchord[2*g]; ++ gnote = static_cast(h->gchord[2*g]); + glen = h->gchord[2*g+1] - '0'; + if( ++g == gsteps ) g = 0; + switch(gnote) { +@@ -3313,7 +3313,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + h->beat[2] = 110; + h->beat[3] = 1; + for( j=0; j<4; j++ ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( *p ) { + p += abc_getnumber(p, &i); + if( i < 0 ) i = 0; +@@ -3336,7 +3336,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + // %%MIDI beatstring fppmpmp + static void abc_MIDI_beatstring(ABCHANDLE *h, const char *p) + { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( h->beatstring ) _mm_free(h->allochandle, h->beatstring); + if( strlen(p) ) + h->beatstring = DupStr(h->allochandle,p,strlen(p)+1); +@@ -3483,47 +3483,47 @@ static void abc_recalculate_tracktime(ABCHANDLE *h) { + static void abc_MIDI_command(ABCHANDLE *h, char *p, char delim) { + int t; + // interpret some of the possibilitys +- if( !strncmp(p,"bassprog",8) && isspace(p[8]) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; +- if( !strncmp(p,"bassvol",7) && isspace(p[7]) ) h->abcbassvol = abc_MIDI_getnumber(p+7); +- if( !strncmp(p,"beat",4) && isspace(p[4]) ) abc_MIDI_beat(h, p+4); +- if( !strncmp(p,"beatstring",10) && isspace(p[10]) ) abc_MIDI_beatstring(h, p+4); +- if( !strncmp(p,"chordname",9) && isspace(p[9]) ) abc_MIDI_chordname(p+9); +- if( !strncmp(p,"chordprog",9) && isspace(p[9]) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; +- if( !strncmp(p,"chordvol",8) && isspace(p[8]) ) h->abcchordvol = abc_MIDI_getnumber(p+8); +- if( !strncmp(p,"drone",5) && isspace(p[5]) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); +- if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->droneon = 0; +- if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->droneon = 1; ++ if( !strncmp(p,"bassprog",8) && isspace(static_cast(p[8])) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; ++ if( !strncmp(p,"bassvol",7) && isspace(static_cast(p[7])) ) h->abcbassvol = abc_MIDI_getnumber(p+7); ++ if( !strncmp(p,"beat",4) && isspace(static_cast(p[4])) ) abc_MIDI_beat(h, p+4); ++ if( !strncmp(p,"beatstring",10) && isspace(static_cast(p[10])) ) abc_MIDI_beatstring(h, p+4); ++ if( !strncmp(p,"chordname",9) && isspace(static_cast(p[9])) ) abc_MIDI_chordname(p+9); ++ if( !strncmp(p,"chordprog",9) && isspace(static_cast(p[9])) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; ++ if( !strncmp(p,"chordvol",8) && isspace(static_cast(p[8])) ) h->abcchordvol = abc_MIDI_getnumber(p+8); ++ if( !strncmp(p,"drone",5) && isspace(static_cast(p[5])) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); ++ if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->droneon = 0; ++ if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->droneon = 1; + t = h->drumon; +- if( !strncmp(p,"drum",4) && isspace(p[4]) ) { ++ if( !strncmp(p,"drum",4) && isspace(static_cast(p[4])) ) { + h->drumon = abc_MIDI_drum(p+4, h); + if( h->drumon ) --h->drumon; + else h->drumon = t; + } +- if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->drumon = 0; +- if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) h->drumon = 1; ++ if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->drumon = 0; ++ if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) h->drumon = 1; + if( t != h->drumon ) { + if( h->drumon && !h->tpr ) h->tpr = h->track; + if( h->tpr ) abc_add_drum_sync(h, h->tpr, h->tracktime); // don't start drumming from the beginning of time! + if( h->tpr && !h->drumon ) h->tpr = NULL; + } + t = h->gchordon; +- if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) { ++ if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) { + h->gchordon = abc_MIDI_gchord(p+6, h); + if( h->gchordon ) --h->gchordon; + else h->gchordon = t; + } +- if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(p[9])) ) h->gchordon = 0; +- if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->gchordon = 1; ++ if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(static_cast(p[9]))) ) h->gchordon = 0; ++ if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->gchordon = 1; + if( t != h->gchordon ) { + if( h->tpc ) abc_add_gchord_syncs(h, h->tpc, h->tracktime); + } +- if( !strncmp(p,"channel",7) && isspace(p[7]) ) ++ if( !strncmp(p,"channel",7) && isspace(static_cast(p[7])) ) + abc_MIDI_channel(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"program",7) && isspace(p[7]) ) ++ if( !strncmp(p,"program",7) && isspace(static_cast(p[7])) ) + abc_MIDI_program(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"voice",5) && isspace(p[5]) ) ++ if( !strncmp(p,"voice",5) && isspace(static_cast(p[5])) ) + abc_MIDI_voice(p+6, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) ++ if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) + abc_MIDI_legato(p+6, h->tp = abc_check_track(h, h->tp)); + } + +@@ -3548,13 +3548,13 @@ static char *abc_continuated(ABCHANDLE *h, MMFILE *mmf, char *p) { + abc_message("line not properly continued\n%s", p1); + return p1; + } +- while( *pm && isspace(*pm) ) ++pm; ++ while( *pm && isspace(static_cast(*pm)) ) ++pm; + if( !strncmp(pm,"%%",2) ) { +- for( p2 = pm+2; *p2 && isspace(*p2); p2++ ) ; +- if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(p2[4])) ) { +- for( p2+=5; *p2 && isspace(*p2); p2++ ) ; ++ for( p2 = pm+2; *p2 && isspace(static_cast(*p2)); p2++ ) ; ++ if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(static_cast(p2[4]))) ) { ++ for( p2+=5; *p2 && isspace(static_cast(*p2)); p2++ ) ; + if( *p2 == '=' ) +- for( p2+=1; *p2 && isspace(*p2); p2++ ) ; ++ for( p2+=1; *p2 && isspace(static_cast(*p2)); p2++ ) ; + abc_MIDI_command(h,p2,'%'); + } + continued = 1; +@@ -3685,7 +3685,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcxcount = 0; + mmfseek(mmfile,0,SEEK_SET); + while ((line=abc_gets(h, mmfile)) != NULL) { +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"X:",2) ) abcxcount++; + } + if( abcxcount == 0 ) +@@ -3699,7 +3699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + mmsp--; + while ((line=abc_gets(h, mmstack[mmsp])) != NULL) { + char blankline[3] = "% "; +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + switch(abcstate) { + case INSKIPFORX: + if( !strncmp(p,"X:",2) ) { +@@ -3711,7 +3711,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( !strncmp(p,"X:",2) ) { + abcstate = INHEAD; + memset(m_szNames[0], 0, 32); +- for( p+=2; isspace(*p); p++ ) ; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; + abcxnumber = atoi(p); + abchornpipe = 0; + h->droneon = 0; +@@ -3792,8 +3792,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"R:",2) ) { +- for( p+=2; isspace(*p); p++ ) ; +- if( !strncmp(p,"hornpipe",8) && (isspace(p[8]) || p[8]=='\0') ) abchornpipe = 1; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"hornpipe",8) && (isspace(static_cast(p[8])) || p[8]=='\0') ) abchornpipe = 1; + else abchornpipe = 0; + break; + } +@@ -3980,8 +3980,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + p[1]= '%'; + } + if( !strncmp(p,"%%",2) ) { +- for( p+=2; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"abc-include",11) && isspace(p[11]) ) { ++ for( p+=2; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"abc-include",11) && isspace(static_cast(p[11])) ) { + for( t=12; isspace(p[t]); t++ ) ; + if( p[t] ) { + mmsp++; +@@ -3998,10 +3998,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + else abc_message("failure: abc-include missing file name, %s", p); + } +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) && abcstate != INSKIPFORX ) { +- for( p+=5; *p && isspace(*p); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) && abcstate != INSKIPFORX ) { ++ for( p+=5; *p && isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p+=1; *p && isspace(*p); p++ ) ; ++ for( p+=1; *p && isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h,p,'%'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4034,7 +4034,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication + while( p[2]==' ' || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4073,7 +4073,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + ch0 = ' '; + pp = 0; + while (*p && (ch = *p++) != '\0') { +- if( !pp && isalpha(ch) && *p != ':' ) { // maybe a macro ++ if( !pp && isalpha(static_cast(ch)) && *p != ':' ) { // maybe a macro + for( mp=h->umacro; mp; mp=mp->next ) { + if( ch == mp->name[0] ) { + pp = p; +@@ -4131,8 +4131,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + else + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication +- while( isspace(p[2]) || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ while( isspace(static_cast(p[2])) || p[2]=='.' ) p++; // skip blancs and dots ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4152,11 +4152,11 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"I:",2) ) { // interpret some of the possibilitys +- for( p += 2; isspace(*p); p++ ) ; +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) ) { // interpret some of the possibilitys +- for( p += 4; isspace(*p); p++ ) ; ++ for( p += 2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) ) { // interpret some of the possibilitys ++ for( p += 4; isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p += 1; isspace(*p); p++ ) ; ++ for( p += 1; isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h, p, ']'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4235,7 +4235,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + notelen *= cnotelen; + notediv *= cnotediv; + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4278,7 +4278,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( abceffoper != 255 ) abceffect = none; + break; + } +- if( isdigit(*p) ) { // different endings in repeats [i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats [i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4304,7 +4304,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + case '(': // slurs follow or some tuplet (duplet, triplet etc.) + abcto = 0; +- if( isdigit(*p) ) { ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p,&tupletp); + tupletr = tupletp; // ABC draft 2.0 (4.13): if r is not given it defaults to p + switch( tupletp ) { // ABC draft 2.0 (4.13): q defaults depending on p and time signature +@@ -4323,10 +4323,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletq); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletq); + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletr); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletr); + } + } + } +@@ -4375,7 +4375,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + sprintf(barsig, "%s%s", sig[abckey], sig[abckey]); // reset the key signature + bartime = h->tracktime; + if( h->tp && h->tp->vpos ) h->tp = abc_locate_track(h, h->tp->v, 0); // reset from voice overlay +- if( isdigit(*p) ) { // different endings in repeats |i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats |i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4426,7 +4426,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + break; + case '"': // chord notation +- if( !strchr("_^<>@", *p) && !isdigit(*p) ) { // if it's not a annotation string ++ if( !strchr("_^<>@", *p) && !isdigit(static_cast(*p)) ) { // if it's not a annotation string + h->tp = abc_check_track(h, h->tp); + if( !h->tpc ) h->tpc = abc_locate_track(h, h->tp->v, 0); + if( h->tp == h->tpc ) abc_add_chord(p, h, h->tpc, h->tracktime); // only do chords for one voice +@@ -4443,8 +4443,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcto = -1; + } + else +- if( !isspace(*p) ) abcto = 0; +- if( !strncasecmp(p,"to",2) && (isspace(p[2]) || p[2] == '"') ) abcto = 1; ++ if( !isspace(static_cast(*p)) ) abcto = 0; ++ if( !strncasecmp(p,"to",2) && (isspace(static_cast(p[2])) || p[2] == '"') ) abcto = 1; + } + if( !ch ) abcstate = INSKIPFORQUOTE; + break; +@@ -4665,7 +4665,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + h->tp->tienote = h->tp->tail; + } + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4699,7 +4699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abc_track_clear_tiednote(h); + p += abc_notelen(p, ¬elen, ¬ediv); + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4752,7 +4752,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcarpeggio = 0; + break; + } +- if( isalpha(ch) && *p==':' ) { ++ if( isalpha(static_cast(ch)) && *p==':' ) { + // some unprocessed field line? + while( *p ) p++; // skip it + break; +diff --git a/src/load_mid.cpp b/src/load_mid.cpp +index fe02f5e4..749b5d0c 100644 +--- a/src/load_mid.cpp ++++ b/src/load_mid.cpp +@@ -1198,7 +1198,7 @@ BOOL CSoundFile::ReadMID(const BYTE *lpStream, DWORD dwMemLength) + if (h->miditracks == 0) goto ErrorCleanup; + + p = (BYTE *)getenv(ENV_MMMID_SPEED); +- if( p && isdigit(*p) && p[0] != '0' && p[1] == '\0' ) { ++ if( p && isdigit(static_cast(*p)) && p[0] != '0' && p[1] == '\0' ) { + // transform speed + t = *p - '0'; + h->speed *= t; +diff --git a/src/load_pat.cpp b/src/load_pat.cpp +index fe787311..dfa640e5 100644 +--- a/src/load_pat.cpp ++++ b/src/load_pat.cpp +@@ -392,31 +392,31 @@ void pat_init_patnames(void) + _mm_fgets(mmcfg, line, PATH_MAX); + while( !_mm_feof(mmcfg) ) { + p = line; +- while ( isspace(*p) ) p ++; +- if( isdigit(p[0]) ) { ++ while ( isspace(static_cast(*p)) ) p ++; ++ if( isdigit(static_cast(p[0])) ) { + // get pat number + i = atoi(p); +- while ( isdigit(*p) ) p ++; +- while ( isspace(*p) ) p ++; ++ while ( isdigit(static_cast(*p)) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + // get pat file name + if( *p && i < MAXSMP && i >= 0 && *p != '#' ) { + q = isdrumset ? midipat[pat_gm_drumnr(i)-1] : midipat[i]; + pfnlen = 0; +- while( *p && !isspace(*p) && *p != '#' && pfnlen < 128 ) { ++ while( *p && !isspace(static_cast(*p)) && *p != '#' && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isblank(*p) && *(p+1) != '#' && pfnlen < 128 ) { ++ if( isblank(static_cast(*p)) && *(p+1) != '#' && pfnlen < 128 ) { + *q++ = ':'; pfnlen ++; +- while( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if ( *p == '#' ) { // comment + +- } else while( *p && !isspace(*p) && pfnlen < 128 ) { ++ } else while( *p && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isspace(*p) ) { *q++ = ' '; pfnlen++; } ++ if( isspace(static_cast(*p)) ) { *q++ = ' '; pfnlen++; } + } + } + *q++ = '\0'; +@@ -429,11 +429,11 @@ void pat_init_patnames(void) + } + else if( !strncmp(p,"dir",3) ) { + p += 3; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + q = p + strlen(p); + if(q > p) { + --q; +- while ( q > p && isspace(*q) ) *(q--) = 0; ++ while ( q > p && isspace(static_cast(*q)) ) *(q--) = 0; + strncpy(pathforpat, p, PATH_MAX - 1); + pathforpat[PATH_MAX - 1] = 0; + } +@@ -441,9 +441,9 @@ void pat_init_patnames(void) + else if( !strncmp(p,"source",6) && nsources < 5 ) { + q = cfgsources[nsources]; + p += 6; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + pfnlen = 0; +- while ( *p && *p != '#' && !isspace(*p) && pfnlen < 128 ) { ++ while ( *p && *p != '#' && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +@@ -857,7 +857,7 @@ static void PAT_ReadPatterns(MODCOMMAND *pattern[], WORD psize[], PATHANDLE *h, + i = tt2 - 16 * ((h->samples - 1 - ch) & 3); + if( tt1 < i ) { + t = t % 64; +- if( isalpha(tune[t]) ) { ++ if( isalpha(static_cast(tune[t])) ) { + n = pat_modnote(pat_note(tune[t])); + ins = ch + 1; + vol = 40; From yann.morin.1998 at free.fr Sun Oct 1 19:52:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 21:52:12 +0200 Subject: [Buildroot] [git commit] package/libmodplug: use a full-length hash as version Message-ID: <20231001195516.9BA4383F9E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=80e94c76169fd15d2433b18a9e54d6a4f3c4ff18 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 369ff9a88ff8 (package/libmodplug: update to git version) improperly used a short hash as version, so switch to the full-length hash. Github use the full-length hash when it creates the top-level directory of the generated archive, so the hash of the archive does not in fact change, only its filename. This is perfectly fine fine our handling of s.b.o. Signed-off-by: Yann E. MORIN --- package/libmodplug/libmodplug.hash | 2 +- package/libmodplug/libmodplug.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libmodplug/libmodplug.hash b/package/libmodplug/libmodplug.hash index 01ff71014c..8aaf500a3a 100644 --- a/package/libmodplug/libmodplug.hash +++ b/package/libmodplug/libmodplug.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed.tar.gz +sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed0020bc620a059d3675d1854b40bd2608d.tar.gz sha256 49942e7b3b175f549e751feb08b5270ca6f6c5fb7a1be9f9517db275ec32c92e COPYING diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk index 735d0e704d..c5d2463fdb 100644 --- a/package/libmodplug/libmodplug.mk +++ b/package/libmodplug/libmodplug.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMODPLUG_VERSION = d1b97ed +LIBMODPLUG_VERSION = d1b97ed0020bc620a059d3675d1854b40bd2608d LIBMODPLUG_SITE = $(call github,Konstanty,libmodplug,$(LIBMODPLUG_VERSION)) LIBMODPLUG_INSTALL_STAGING = YES LIBMODPLUG_LICENSE = Public Domain From peter at korsgaard.com Sun Oct 1 18:42:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:42:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/neon: drop patches In-Reply-To: <877co8emdk.fsf@48ers.dk> (Peter Korsgaard's message of "Fri, 29 Sep 2023 22:48:55 +0200") References: <20230924204349.1543942-1-fontaine.fabrice@gmail.com> <877co8emdk.fsf@48ers.dk> Message-ID: <875y3q89s1.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Fabrice" == Fabrice Fontaine writes: >> Patches (and so autoreconf) are not needed since bump to version 0.32.4 >> in commit f39ac8336e9cd933de50970a657e32a8d9601c67 and >> https://github.com/notroj/neon/commit/9924d4d31525f8b61e37076b18004c603fd01761 >> Signed-off-by: Fabrice Fontaine > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From thomas.petazzoni at bootlin.com Sun Oct 1 21:05:28 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 23:05:28 +0200 Subject: [Buildroot] [git commit] package/gptfdisk: fix bug with util-linux 2.38 Message-ID: <20231001210548.CFAF583FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=58fbfe870640cf20678d4f6a40999ea5223c6fca branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Due to a change in util-linux (commit 10f5f79485964ab52272ebe79c3b0047b1f84d82, "libbuid: use _UL_LIBUUID_UUID_H to cover uuid.h"), gptfdisk no longer detects the availability of libuuid to generate UUIDs, causing the following message at runtime: Warning! Unable to generate a proper UUID! Creating an improper one as a last resort! Windows 7 may crash if you save this partition table! This issue exists since util-linux was bumped to version 2.38 in Buildroot ee978e853a6a4c9bb5ed661c1ae704e79f155a35 ("package/util-linux: bump version to 2.38"). This issue has been fixed in upstream gptfdisk, but the fix [0] is not yet in a new stable release, so we backport it. Additionally, now that gptfdisk uses libuuid again, the build fails because passing LDLIBS to make overrides the default value in the Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f Signed-off-by: Ben Wolsieffer Signed-off-by: Thomas Petazzoni --- ...d.cc-to-deal-with-minor-change-in-libuuid.patch | 41 ++++++++++++++++++++++ package/gptfdisk/gptfdisk.mk | 2 ++ 2 files changed, 43 insertions(+) diff --git a/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch new file mode 100644 index 0000000000..22c34ced6f --- /dev/null +++ b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch @@ -0,0 +1,41 @@ +From 6a8416cbd12d55f882bb751993b94f72d338d96f Mon Sep 17 00:00:00 2001 +From: Rod Smith +Date: Sat, 16 Apr 2022 09:32:04 -0400 +Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid + +Upstream: https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f +Signed-off-by: Ben Wolsieffer +--- + NEWS | 2 ++ + guid.cc | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/NEWS b/NEWS +index 9e153fd..9ec7e63 100644 +--- a/NEWS ++++ b/NEWS +@@ -6,6 +6,8 @@ + (commit 740, which is pre-release as I type; presumably version 1.19 and + later once released). + ++- Updated guid.cc to deal with minor change in libuuid. ++ + 1.0.9 (4/14/2022): + ------------------ + +diff --git a/guid.cc b/guid.cc +index 1e73ab7..d3e4fd5 100644 +--- a/guid.cc ++++ b/guid.cc +@@ -141,7 +141,7 @@ void GUIDData::Zero(void) { + void GUIDData::Randomize(void) { + int i, uuidGenerated = 0; + +-#ifdef _UUID_UUID_H ++#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H) + uuid_generate(uuidData); + ReverseBytes(&uuidData[0], 4); + ReverseBytes(&uuidData[4], 2); +-- +2.42.0 + diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index f3fc930202..393ea9469a 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -14,6 +14,8 @@ GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk GPTFDISK_DEPENDENCIES += util-linux +GPTFDISK_LDLIBS += -luuid + ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) GPTFDISK_DEPENDENCIES += host-pkgconf popt GPTFDISK_SGDISK_LDLIBS += `$(PKG_CONFIG_HOST_BINARY) --libs popt` From thomas.petazzoni at bootlin.com Sun Oct 1 21:11:23 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 23:11:23 +0200 Subject: [Buildroot] [PATCH] package/gptfdisk: fix bug with util-linux (libuuid) 2.38 In-Reply-To: <20230913212000.987236-2-ben.wolsieffer@hefring.com> References: <20230913212000.987236-2-ben.wolsieffer@hefring.com> Message-ID: <20231001231123.58838dcb@windsurf> On Wed, 13 Sep 2023 17:20:01 -0400 Ben Wolsieffer wrote: > Fix the following error message by backporting an upstream patch [0]: > > Warning! Unable to generate a proper UUID! Creating an improper one as a last > resort! Windows 7 may crash if you save this partition table! > > Additionally, now that gptfdisk uses libuuid again, the build fails > because passing LIBS to make overrides the default value in the > Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. > > [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f > > Signed-off-by: Ben Wolsieffer > --- > ...to-deal-with-minor-change-in-libuuid.patch | 40 +++++++++++++++++++ > package/gptfdisk/gptfdisk.mk | 2 + > 2 files changed, 42 insertions(+) > create mode 100644 package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch Sorry for the delay, I have applied this patch after improving the commit log: https://gitlab.com/buildroot.org/buildroot/-/commit/58fbfe870640cf20678d4f6a40999ea5223c6fca Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From kazemi.ms at gmail.com Sun Oct 1 22:08:41 2023 From: kazemi.ms at gmail.com (Saeed Kazemi) Date: Mon, 2 Oct 2023 00:08:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/procs: new package Message-ID: <20231001220841.2586827-1-kazemi.ms@gmail.com> procs is a modern replacement for ps written in Rust https://github.com/dalance/procs.git Signed-off-by: Saeed Kazemi --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/procs/Config.in | 8 ++++++++ package/procs/procs.hash | 3 +++ package/procs/procs.mk | 12 ++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/procs/Config.in create mode 100644 package/procs/procs.hash create mode 100644 package/procs/procs.mk diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..45ea078406 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2626,6 +2626,9 @@ F: package/agent-proxy/ N: Ryan Wilkins F: package/biosdevname/ +N: Saeed Kazemi +F: package/procs/ + N: Sam Lancia F: package/lrzip/ diff --git a/package/Config.in b/package/Config.in index 009f7ba186..c7681c22e3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2729,6 +2729,7 @@ menu "System tools" source "package/powerpc-utils/Config.in" source "package/procps-ng/Config.in" source "package/procrank_linux/Config.in" + source "package/procs/Config.in" source "package/psmisc/Config.in" source "package/pwgen/Config.in" source "package/quota/Config.in" diff --git a/package/procs/Config.in b/package/procs/Config.in new file mode 100644 index 0000000000..946fa68c63 --- /dev/null +++ b/package/procs/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PROCS + bool "procs" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_RUSTC + help + procs is a modern replacement for ps written in Rust + + https://github.com/dalance/procs.git diff --git a/package/procs/procs.hash b/package/procs/procs.hash new file mode 100644 index 0000000000..1c2fb5c3d5 --- /dev/null +++ b/package/procs/procs.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 643b7ba4b769ee9f336d441ecdac779c3d52e5719a15c14bb0acb3609ce1cd99 procs-0.14.0.tar.gz +sha256 feb87a2e0c305de3464cc44077da5393c52d8ca6362d37427157d04ec6f4510d LICENSE diff --git a/package/procs/procs.mk b/package/procs/procs.mk new file mode 100644 index 0000000000..a074ee1311 --- /dev/null +++ b/package/procs/procs.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# procs +# +################################################################################ + +PROCS_VERSION = 0.14.0 +PROCS_SITE = $(call github,dalance,procs,v$(PROCS_VERSION)) +PROCS_LICENSE = MIT +PROCS_LICENSE_FILES = LICENSE + +$(eval $(cargo-package)) -- 2.34.1 From dalang at gmx.at Mon Oct 2 03:57:32 2023 From: dalang at gmx.at (Daniel Lang) Date: Mon, 2 Oct 2023 05:57:32 +0200 Subject: [Buildroot] [PATCH] Makefile: drop gen-missing-cpe leftovers Message-ID: <20231002035732.1395926-2-dalang@gmx.at> In 6fa3a239 the gen-missing-cpe support script was removed together with "make missing-cpe". Remove the leftover path variable and drop it from "make clean". Signed-off-by: Daniel Lang --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a12564ff96..6342470193 100644 --- a/Makefile +++ b/Makefile @@ -227,8 +227,6 @@ LEGAL_MANIFEST_CSV_HOST = $(LEGAL_INFO_DIR)/host-manifest.csv LEGAL_WARNINGS = $(LEGAL_INFO_DIR)/.warnings LEGAL_REPORT = $(LEGAL_INFO_DIR)/README -CPE_UPDATES_DIR = $(BASE_DIR)/cpe-updates - BR2_CONFIG = $(CONFIG_DIR)/.config # Pull in the user's configuration file @@ -1103,8 +1101,7 @@ show-vars: clean: rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \ $(BUILD_DIR) $(BASE_DIR)/staging \ - $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \ - $(O)/pkg-stats.* + $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(O)/pkg-stats.* .PHONY: distclean distclean: clean -- 2.42.0 From thomas.petazzoni at bootlin.com Mon Oct 2 05:36:49 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 02 Oct 2023 05:36:49 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-01 Message-ID: <20231002053657.8FA6881FCE@smtp1.osuosl.org> Hello, Autobuild statistics for 2023-10-01 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 17 | 12 | 0 | 29 | 2023.08.x | 12 | 18 | 1 | 31 | master | 85 | 126 | 0 | 211 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 18 gcc-final-12.3.0 | 11 alsa-lib-1.2.10 | 10 gnuplot-5.4.9 | 7 unknown | 6 alsa-utils-1.2.10 | 5 glibc-2.38-13-g92201f16cbcf... | 5 elfutils-0.189 | 4 linux-6.5.5 | 4 cryptodev-linux-1.13 | 3 binutils-arc-2020.09-release | 2 bird-2.0.12 | 2 conmon-2.1.8 | 2 gcc-final-11.4.0 | 2 gcc-final-13.2.0 | 2 host-go-1.21.1 | 2 libarchive-3.7.2 | 2 valgrind-3.21.0 | 2 batman-adv-2023.1 | 1 check-11970a7e112dfe243a2e6... | 1 crucible-2023.04.12 | 1 dahdi-linux-3.2.0 | 1 dmraid-1.0.0.rc16-3 | 1 ethtool-6.5 | 1 fs/erofs/erofs.mk:46: /home... | 1 fs/jffs2/jffs2.mk:71: /home... | 1 fs/romfs/romfs.mk:32: /home... | 1 gcc-final-arc-2020.09-release | 1 gupnp-dlna-0.12.0 | 1 host-python-numpy-1.25.0 | 1 host-rust-1.71.1 | 1 i2pd-2.43.0 | 1 libglvnd-1.4.0 | 1 linux-5.10.162-cip24-rt10 | 1 mariadb-10.11.4 | 1 memcached-1.6.21 | 1 monit-5.33.0 | 1 motion-4.5.1 | 1 open-iscsi-2.1.9 | 1 pound-4.8 | 1 pv-1.6.20 | 1 python3-3.11.5 | 1 qt6base-6.4.3 | 1 rwmem-c8291705c82bb0686be9a... | 1 shadow-4.13 | 1 spirv-tools-1.3.261.1 | 1 squid-6.2 | 1 strongswan-5.9.11 | 1 tar-1.35 | 1 udpxy-1.0.23-9-prod | 1 util-linux-2.39.2 | 1 xenomai-3.0.10 | 1 xwayland-23.1.1 | 1 zabbix-6.2.7 | 1 zeek-4.1.1 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/cf5cf7365f4bf1ea086dd6e4c53d23ad550744e6 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/153fdc0c67e0949242779f25154d7bab1b7b2f8c | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/ab4ab3bbec4284440a398c11b5b6b967cc7a989c | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1716d4c3d8aa20941807cc0c9279f50d72e8c4d1 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/65b1c075180d188ebeef9851828f166e93564779 | i586 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/93f97f79fd614f3ceff0b28720d7136720584420 | mips64el | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/8cddcaf89763c76a0c1f7109e7bbd9735a226f57 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/812b69993e1cd0ccd2922a0db6762958bd1aa0a4 | riscv64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/0346262878a9acc341aabd057fe268eb4de4689b | i586 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3ae7430cfa619f538a986dd61caa870bf20d1ccb | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3b3ae95fa52db0ec278ddf3ad9b1c0c52d9b58bc | or1k | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/64bab97a9bcc8b0f5a3810f79b72c4a90a85b8a6 | mips64el | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/bbdab0133f631af408474ff12755fe8190c38515 | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/84266aed85699559a4d0a8383a4d2de3a22fbde4 | arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5d6064707e22169c7b00b29871890f0444ccc91d | mipsel | batman-adv-2023.1 | NOK | http://autobuild.buildroot.net/results/fb4bc30d1ba7ab8b3d9adc6631139a8281fc08e9 | arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/1ea96a7a11a8502bb0c85539af855eb1b3e6d6a4 | arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/19a9bc9095062dbced2a35fc0e1da1a0fb9313d4 | sh4aeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/f98ab84285378c45e8470a45ab7465530f46d33d | arceb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/33a5e8456a8f450c6019f5697f9b56a5c77aa540 | arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/250c2301c427db59f70c85f3a5afd677018831fb | ORPH i686 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/4502761d99eac7bf8446d04bf0a2b14a0d59dcc8 | x86_64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/6b79c1b2a1df554434ac15bd14bde5992f2475e1 | mips64el | crucible-2023.04.12 | NOK | http://autobuild.buildroot.net/results/82f09f1e03210d0fabbef58a9e9702f7f9a3d3ad | xtensa | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/fd357dbf2c2517325400ca874c25726e91b21cbb | ORPH sparc64 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/99a3e09b0f8f663819d8747143f592827bbad58c | ORPH s390x | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/69670d46206799d3d1994412a03992ff748076b0 | ORPH mips64el | dahdi-linux-3.2.0 | NOK | http://autobuild.buildroot.net/results/04efff53f94e207188865212017c20da08da5984 | arm | dmraid-1.0.0.rc16-3 | NOK | http://autobuild.buildroot.net/results/3abbc4e0f494190724a1e466f8a8c86111da0a89 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/bd499a5236a0d13eff081066b9ffeba064e63324 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/6035e30618cf07b04ca22091cad9259738d74687 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/466c25be37c27dde7800ddb7d3f854fe99b92cc9 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/7159bd1b40ae34b6d15036e1a14594171c96914d | ORPH arm | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/f225bb03a1c9e228732fab171c4b6fa5e519c2d0 | x86_64 | fs/erofs/erofs.mk:46: /home... | NOK | http://autobuild.buildroot.net/results/fdd847f9fb2fedc41dbe34ae9b2c498692beb16c | armeb | fs/jffs2/jffs2.mk:71: /home... | NOK | http://autobuild.buildroot.net/results/30d48cf8245d26dae62b11a154031f8ffdddab3b | arm | fs/romfs/romfs.mk:32: /home... | NOK | http://autobuild.buildroot.net/results/2e0fc576aee74d851e5d4db83c13620b591f95ef | armeb | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/1fda1b46785bc64605fac92363479f4767f192e9 | arc | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/65c0c31150d267879df89de12a893b95d1c004a2 | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f2aa0f713ef4b83e1ad05bbc7bd37a97b7ac4d51 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7cfd485335c1ce820878eae072bb0c0f1edac8dd | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6f11ed9eefa682f7a820740fd766d6e9c601be4b | arc | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f0ff187fd830efaeffe01166c4de0cd05fbadb84 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7414c3a8e6f3a667fed4ad55725079ac57466529 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/5f61c46fe43145c1b8694d22859b7d457ca9f792 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fc5b503564d3e6973ffdc169869a4943b4d486a8 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/04a62280e2f916d967ea86af4c44564f2db4fedc | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6bed102968649ff26491ca9d1419f02d15534719 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/cfe181f6f434c5e7f4910d174cb6ee7b4db0d691 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/ea7ca905e325c60fff08ddf90cd1e30ab9d98802 | riscv64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/9fd707a5b8b1dea9e2857cd4f2614aa76492e731 | mips64el | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/8d17a7695ea859501e3a9820fe2a84bcca21e066 | arceb | gcc-final-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/d8e211296072bda237978256b1683a62a85539c2 | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/6887038442f3fa693a96625e5e89a045064df0ca | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/8de75c77579b06ff8744bd2fb7e07138ae196558 | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/1dd9e2b0c285775b975f1ff38cbf7581741afd76 | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/0db81fed104ecb791742b8b1b3f83f82d222b2ee | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/2ba90e1108a1866adae702081e96fc6a739cbdfd | s390x | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/72c3a76c661ba3dcbe0ab9328b486d1e7a4a72d3 | powerpc64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/da2a81475b021afe85e9802fa4c19ab3b17d45bb | microblazeel | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/869b4fb2e774ebbdbc10133d56050531a0aa1a73 | powerpc | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/088d25f274061d8c954ac9b37f0160edb2285124 | mipsel | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/1f665cbfda848ce78371f6b0bf02d36d552da28f | mips64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/6e299865c4030b83c9fb5829b0b8e29a4f449f20 | mips64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/00c605d79614d6eb4967c0a765bcd010453fc080 | sparc | gupnp-dlna-0.12.0 | NOK | http://autobuild.buildroot.net/results/8f5f26461473d27e57df7241257a9aef39578bb9 | sh4a | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/859d14c577b3544d2ddee9b103249798395a82b1 | aarch64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/d3865c8436f73807d7ce1d601f4c14d0df2dedba | aarch64 | host-python-numpy-1.25.0 | NOK | http://autobuild.buildroot.net/results/f08d9a6546e08a9daa7cf89a47ebad81c58be526 | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c417d38f574fdce663d6e2bd63fb1b8e35bcbbcc | or1k | i2pd-2.43.0 | NOK | http://autobuild.buildroot.net/results/5870d39df647d4297edf666dc62a8ad958547c13 | i586 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/bfa76e08c5f2d20fa1b9fc2f5d032786462c0a90 | arm | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/a5057cb98f300c15e4d641d851e75bbc94007329 | xtensa | libglvnd-1.4.0 | NOK | http://autobuild.buildroot.net/results/90a7d4fc81c98cc00a80377932e1d925692f37cb | ORPH sh4aeb | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/320925b22950a906b64bfc013144baa1393776ec | ORPH mips64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/4edc3d93c0322b5e09926c5d91a414ec1da8ccf1 | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/832b1cfec34c39ad8475f0a5b50bd9c7e4786044 | ORPH m68k | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/c45bfa2dfb4fe7dd5767645d175d6753ec03f71f | ORPH sh4eb | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/705aec406c591cd9869d1e2430b1e962287a61e5 | ORPH nios2 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/2f4d5e4d3a9ce3768093a0491b42fdf7027292c2 | ORPH arc | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/e856d381f5ec7d2727f21c8bd46dacb456984416 | ORPH powerpc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/036f72c5f752c416298ae40c97e86b3de7818b7c | arm | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/cb536b5dfac9c52f9c4700ccf6b690faf5f8faeb | aarch64 | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/963e9cfeb56142329a7a02540314edb3950d6b80 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5d02851f3d98ff6afbcd3454580b72540e51791c | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c5384d13a1dfe9726e5ca0fdc4d077914f1ca4ba | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5f8eea3bf5c5e8554690981547202a95de86a2e0 | aarch64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/1290a1e2069060c5e1f8c4764ac3d9d57b7f3bcc | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3cfeff97864bfdce7c4ac1bd182012ec36c09113 | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6ba33e55ed157df69ed2980524da4d33200acd8e | microblazeel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/32d52700050d9ae684f94b9c68ec5a30e1907b63 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/39881716f330bdc6ed02e586d04fd4a3e8948442 | microblazeel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f555b26bc25e0c19d95d7ec7725dd49ed53c8d9b | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/842a63e441fad69626dcb96cbd8046bb7247e73a | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/46b72b9d9b483a28c190816fe40eb333c15fbbac | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/eb2e3be5b4222fc705755365f004375bbe4d560b | sh4eb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/237135c2efd3d34b7f1490345013089ae91eae25 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/992d497780d23f72446aad54c3cf5d8df8e3ec5d | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/932f47e0ef905f0ad643e31eddc5cebb99dc966e | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5cd508e4c79e88f1aa4ecdfa2153c243bdb5193e | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/4d115a1f32275ee2a7263f8a593940510dd8b662 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2033228de19e53b8eda58b90093f77acf09c53df | mips64el | pound-4.8 | NOK | http://autobuild.buildroot.net/results/814261ec2d646ade23af7e2731135a9a675f4366 | ORPH armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/99906ed1a18d48f98afe7937bc9301c9bb4d8188 | ORPH x86_64 | python3-3.11.5 | NOK | http://autobuild.buildroot.net/results/f3260eca0755737d8fc68d4fe803a35d48e9b2d5 | aarch64_be | qt6base-6.4.3 | NOK | http://autobuild.buildroot.net/results/0b74fa8005c78bdf68362d48fd0110350727c0e9 | s390x | rwmem-c8291705c82bb0686be9a... | NOK | http://autobuild.buildroot.net/results/38f6d0fb007c3dc3c21243721395f85649442407 | ORPH armeb | shadow-4.13 | NOK | http://autobuild.buildroot.net/results/4f83863b92f073efe61c37a91bb48af846553b09 | mips64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/d0cdf3391f2e784b1fe0149beee7257c8b40e18f | ORPH s390x | squid-6.2 | NOK | http://autobuild.buildroot.net/results/f2fcd67894b327f933d460568616b39c53d297cc | ORPH s390x | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/f82e048c718cdddfcae3dcb0d20444e5f01b7084 | mips64el | tar-1.35 | NOK | http://autobuild.buildroot.net/results/04e8a350c14deb1cf816a435528ff4f4e930c139 | ORPH powerpc | udpxy-1.0.23-9-prod | NOK | http://autobuild.buildroot.net/results/29ed4be75a3e9f1ab6e58f775d1ad4d8dd0544a2 | arm | unknown | NOK | http://autobuild.buildroot.net/results/b1f3df9900c4a2aed8e3bee0821f1b28bec77ccb | arm | unknown | NOK | http://autobuild.buildroot.net/results/722bb9c0ba119ad68ddca06873e23e85cf678c3e | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/1dc712ff37e762d58d4625c7fa44873f3d19665b | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/cee44a04e41132013b4bccb3e5d62cff680ef4c1 | arm | unknown | NOK | http://autobuild.buildroot.net/results/44dc688bc814dbbf983bebf6194ac904c91be22d | riscv32 | unknown | NOK | http://autobuild.buildroot.net/results/111f93db98fe49a5364b82254de9ad1fe2614da2 | sh4 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/972cbdf15a2a84fcc5e0cf1d20bc54f64489b9ed | ORPH powerpc | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/d02fa2f0847254ea9ca7eee91dcdb4778d6362c3 | ORPH mips64 | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/441375e7cbe2faffde26ddac98f02b4378feed9f | ORPH x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/727c5bf4fdf167bc38f0cad7cb651fe104f746ab | s390x | xwayland-23.1.1 | NOK | http://autobuild.buildroot.net/results/48f6a0cb0461cf4b9c514a69a7542ed491721a69 | powerpc | zabbix-6.2.7 | NOK | http://autobuild.buildroot.net/results/f7c19d42aec66a717e4a729462936df8e0e0fc02 | aarch64_be | zeek-4.1.1 | NOK | http://autobuild.buildroot.net/results/fefbfc20464ff13a8a58b99b61ef2fdd25752472 | Classification of failures by reason for 2023.02.x -------------------------------------------------- check-0.15.2 | 1 gobject-introspection-1.72.0 | 1 google-breakpad-c85eb4a59b6... | 1 host-binutils-2.38 | 1 host-go-1.19.13 | 1 host-rust-1.67.1 | 1 libglib2-2.72.3 | 1 linux-5.10.162-cip24-rt10 | 1 wavemon-0.9.4 | 1 wolfssl-5.5.3 | 1 x264-baee400fa9ced6f5481a72... | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arceb | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/3502a54634044afa417b4bd867765691b1bab195 | ORPH sparc64 | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/d52bd37c050315952f6cbf9b9b5ddc33d3ab555c | ORPH mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/258edf54b069093924e5c9fd21829849a2f0c008 | armeb | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/731957efd96a2eceaa42b8c7915bc5c46127a021 | i686 | host-go-1.19.13 | NOK | http://autobuild.buildroot.net/results/defddcd8613571f85cce88eeb07bc64a65477d20 | aarch64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/47d04ad9c7f8e460fbd0fe4478f5afb01a7b0616 | arc | libglib2-2.72.3 | NOK | http://autobuild.buildroot.net/results/1fd5368eb979b857d545c4e0356705e3bfd25726 | xtensa | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/c30505824789fa0e703f1687a742556b8f08954f | ORPH aarch64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/42825d10d0d1318197176d0a5e65e579f36a1128 | ORPH mips64el | wolfssl-5.5.3 | NOK | http://autobuild.buildroot.net/results/fbdf2345571f21b80f3ab4d17c305015924f73b4 | i686 | x264-baee400fa9ced6f5481a72... | NOK | http://autobuild.buildroot.net/results/d3da53028208606110a800536b3fbb7bfa1705fc | nios2 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/8d33baa81ddd35262ca8473a6bfccdbe257b4124 | Classification of failures by reason for 2023.08.x -------------------------------------------------- host-go-1.20.8 | 2 acpid-2.0.34 | 1 bird-2.0.12 | 1 glibc-2.37-43-g94ef70136587... | 1 gobject-introspection | 1 gobject-introspection-1.76.1 | 1 host-delve-1.20.2 | 1 host-runc-1.1.7 | 1 host-rust-1.71.1 | 1 kvm-unit-tests-2023-01-05 | 1 libtommath-1.2.1 | 1 libxml2-2.11.4 | 1 linux-6.4.16 | 1 openal-1.22.0 | 1 pound-4.8 | 1 sane-backends-1.1.1 | 1 stress-ng-0.15.07 | 1 unknown | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/a10feea9b996177b7275ac353e1309d80947c4ad | ORPH sh4a | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/ab7b8f6ec3167fa3234fb313ffecaf1910fab495 | powerpc64 | glibc-2.37-43-g94ef70136587... | NOK | http://autobuild.buildroot.net/results/efed0f12ae086da5ccedc320f1ac24913598b037 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/6daf7e1c69d446d88e598800e16ceea2c78ea3f9 | x86_64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/b541dea0b55465484e6fc7e02d57f05eb8107aaf | ORPH aarch64 | host-delve-1.20.2 | NOK | http://autobuild.buildroot.net/results/ecd47babe886c7eff08ac823b81355538009df50 | arm | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/9f60985ef77ea1e3751b6be3f8b167872217ffe0 | mips64 | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/820a9a56128f902343e8407a1da536b82af3375a | powerpc | host-runc-1.1.7 | NOK | http://autobuild.buildroot.net/results/c11131b597b4e8d47555919fd71124d57c627f42 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c0ddac4c409af44bcc4eab60ca41f778bbbe4d44 | i686 | kvm-unit-tests-2023-01-05 | NOK | http://autobuild.buildroot.net/results/a855c7a581455f04613c277427a5548b8e37c57b | arc | libtommath-1.2.1 | NOK | http://autobuild.buildroot.net/results/1d0bf6216a4a9f7d352fe2b113a530f3b23ef2ed | arceb | libxml2-2.11.4 | NOK | http://autobuild.buildroot.net/results/377a9bafe0fb7c8735c48d24b7fd6bb6eaec818c | nios2 | linux-6.4.16 | NOK | http://autobuild.buildroot.net/results/7be8ab1d6852762b472b5a6c88cd1784039731c8 | ORPH mips | openal-1.22.0 | NOK | http://autobuild.buildroot.net/results/698d41412fd6f9b6c7e5444f2dc87159536b02b1 | ORPH sh4aeb | pound-4.8 | NOK | http://autobuild.buildroot.net/results/773edd5652690ee970d62d557bc7e37b1df18d5a | ORPH sh4 | sane-backends-1.1.1 | NOK | http://autobuild.buildroot.net/results/a1f0270f5b917eceea31c0d5fd0e5af363cc6d1e | aarch64_be | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/381e62882bd818edc2bb1cc641238e91860dcc44 | arc | unknown | NOK | http://autobuild.buildroot.net/results/705f956d919f61c373d6b3542eded03daef12d3c | Packages having a newer version =============================== name | found by | link to release-monitoring.org | version | upstream | orph? -------------------------------+----------+----------------------------------------------+--------------+--------------+------- ace | DISTRO | https://release-monitoring.org/project/242395 | 7.0.6 | 7.1.1 | ORPH acsccid | DISTRO | https://release-monitoring.org/project/15661 | 1.1.8 | 1.1.10 | adwaita-icon-theme | DISTRO | https://release-monitoring.org/project/13117 | 3.37.2 | 45.0 | agentpp | DISTRO | https://release-monitoring.org/project/21316 | 4.6.0 | 4.6.1 | alfred | DISTRO | https://release-monitoring.org/project/241870 | 2022.1 | 2023.2 | ORPH android-tools | GUESS | https://release-monitoring.org/project/13989 | 4.2.2+git... | 13.0.0_r82 | angularjs | DISTRO | https://release-monitoring.org/project/21321 | 1.8.2 | 1.8.3 | apitrace | DISTRO | https://release-monitoring.org/project/06170 | 10.0 | 11.1 | apr | DISTRO | https://release-monitoring.org/project/00095 | 1.7.2 | 1.7.4 | armadillo | DISTRO | https://release-monitoring.org/project/07006 | 9.900.2 | 12.6.4 | assimp | DISTRO | https://release-monitoring.org/project/06988 | 5.2.5 | 5.3.1 | ORPH asterisk | DISTRO | https://release-monitoring.org/project/09838 | 16.30.1 | 20.4.0 | at-spi2-core | DISTRO | https://release-monitoring.org/project/07841 | 2.48.3 | 2.50.0 | atop | DISTRO | https://release-monitoring.org/project/00135 | 2.8.0 | 2.9.0 | audit | DISTRO | https://release-monitoring.org/project/15225 | 3.1.1 | 3.1.2 | avocado | DISTRO | https://release-monitoring.org/project/13385 | 98.0 | 102.0 | ORPH avrdude | DISTRO | https://release-monitoring.org/project/10751 | 7.1 | 7.2 | avro-c | DISTRO | https://release-monitoring.org/project/59411 | 1.11.1 | 1.11.3 | azure-iot-sdk-c | DISTRO | https://release-monitoring.org/project/21322 | LTS_01_20... | 3033-01-05 | babeld | DISTRO | https://release-monitoring.org/project/00154 | 1.9.2 | 1.13.1 | ORPH babeltrace2 | DISTRO | https://release-monitoring.org/project/07137 | 2.0.4 | 2.0.5 | balena-engine | DISTRO | https://release-monitoring.org/project/141616 | 20.10.26 | 20.10.40 | batctl | DISTRO | https://release-monitoring.org/project/14740 | 2021.0 | 2023.2 | batman-adv | DISTRO | https://release-monitoring.org/project/19529 | 2023.1 | 2023.2 | bats-core | DISTRO | https://release-monitoring.org/project/10587 | 1.8.2 | 1.10.0 | bcm2835 | DISTRO | https://release-monitoring.org/project/21323 | 1.71 | 1.73 | ORPH bctoolbox | DISTRO | https://release-monitoring.org/project/14746 | 4.4.8 | 5.2.109 | ORPH belle-sip | DISTRO | https://release-monitoring.org/project/14378 | 4.4.8 | 5.2.109 | belr | DISTRO | https://release-monitoring.org/project/80042 | 4.4.8 | 5.2.109 | bento4 | DISTRO | https://release-monitoring.org/project/241638 | 1.6.0-639... | 1.6.0-640 | berkeleydb | GUESS | https://release-monitoring.org/project/138386 | 5.3.28 | 18.1.6 | ORPH binutils | DISTRO | https://release-monitoring.org/project/07981 | 2.40 | 2.41 | bird | DISTRO | https://release-monitoring.org/project/00192 | 2.0.12 | 2.13.1 | bitcoin | DISTRO | https://release-monitoring.org/project/13618 | 0.21.2 | 25.0 | bluez5_utils | DISTRO | https://release-monitoring.org/project/10029 | 5.68 | 5.70 | bluez5_utils-headers | DISTRO | https://release-monitoring.org/project/10029 | 5.68 | 5.70 | bmap-tools | DISTRO | https://release-monitoring.org/project/77099 | 3.6 | 3.7 | bonnie | DISTRO | https://release-monitoring.org/project/00212 | 1.03e | 2.00a | ORPH bootstrap | DISTRO | https://release-monitoring.org/project/21578 | 4.3.1 | 5.3.2 | botan | DISTRO | https://release-monitoring.org/project/00214 | 2.19.3 | 3.1.1 | ORPH brltty | DISTRO | https://release-monitoring.org/project/00220 | 6.5 | 6.6 | btrfs-progs | DISTRO | https://release-monitoring.org/project/00227 | 5.16.2 | 6.5.1 | ORPH bullet | DISTRO | https://release-monitoring.org/project/07669 | 3.21 | 3.25 | c-icap | DISTRO | https://release-monitoring.org/project/21325 | 0.5.10 | 0.5.11 | ORPH c-periphery | DISTRO | https://release-monitoring.org/project/21328 | 2.3.1 | 2.4.2 | cage | DISTRO | https://release-monitoring.org/project/21171 | 0.1.4 | 0.1.5 | cairo | DISTRO | https://release-monitoring.org/project/00247 | 1.16.0 | 1.18.0 | cairomm | DISTRO | https://release-monitoring.org/project/07959 | 1.16.2 | 1.18.0 | cannelloni | DISTRO | https://release-monitoring.org/project/21403 | 1.0.0 | 1.1.0 | cantarell | DISTRO | https://release-monitoring.org/project/10888 | 0.0.25 | 0.303.1 | ORPH capnproto | DISTRO | https://release-monitoring.org/project/11515 | 0.10.4 | 1.0.1 | ccache | DISTRO | https://release-monitoring.org/project/00257 | 4.8.2 | 4.8.3 | ORPH chartjs | DISTRO | https://release-monitoring.org/project/85785 | 3.9.1 | 4.4.0 | checkpolicy | DISTRO | https://release-monitoring.org/project/00276 | 3.5 | 20200710 | cifs-utils | DISTRO | https://release-monitoring.org/project/00287 | 6.15 | 7.0 | circus | DISTRO | https://release-monitoring.org/project/21726 | 0.16.1 | 0.18.0 | civetweb | DISTRO | https://release-monitoring.org/project/21329 | 1.15 | 1.16 | ORPH cjson | DISTRO | https://release-monitoring.org/project/21330 | 1.7.15 | 1.7.16 | clamav | DISTRO | https://release-monitoring.org/project/00291 | 1.0.3 | 1.2.0 | clang | DISTRO | https://release-monitoring.org/project/11811 | 15.0.3 | 17.0.1 | cli11 | DISTRO | https://release-monitoring.org/project/20578 | 2.3.1 | 2.3.2 | clinfo | DISTRO | https://release-monitoring.org/project/10503 | 3.0.21.02.21 | 3.0.23.01.25 | cloop | DISTRO | https://release-monitoring.org/project/21332 | 3.14.1.3 | 3.14.1.3+... | collectl | DISTRO | https://release-monitoring.org/project/00330 | 4.3.2 | 4.3.8 | compiler-rt | DISTRO | https://release-monitoring.org/project/17705 | 15.0.3 | 17.0.1 | composer | DISTRO | https://release-monitoring.org/project/09710 | 2.5.8 | 2.6.4 | conntrack-tools | DISTRO | https://release-monitoring.org/project/00338 | 1.4.7 | 1.4.8 | ORPH coreutils | DISTRO | https://release-monitoring.org/project/00343 | 9.3 | 9.4 | ORPH cppzmq | DISTRO | https://release-monitoring.org/project/18648 | 4.9.0 | 4.10.0 | cracklib | DISTRO | https://release-monitoring.org/project/00362 | 2.9.8 | 2.9.11 | crudini | DISTRO | https://release-monitoring.org/project/21669 | 0.9.3 | 0.9.4 | crun | DISTRO | https://release-monitoring.org/project/96792 | 1.8.4 | 1.9.2 | cryptopp | DISTRO | https://release-monitoring.org/project/14487 | 8.6.0 | 8.9.0 | cukinia | DISTRO | https://release-monitoring.org/project/138119 | 0.6.0 | 0.6.2 | ORPH cups | DISTRO | https://release-monitoring.org/project/00380 | 2.4.6 | 2.4.7 | cups-filters | DISTRO | https://release-monitoring.org/project/05541 | 1.28.17 | 2.0.0 | cutelyst | DISTRO | https://release-monitoring.org/project/21335 | 2.11.0 | 3.8.0 | dacapo | DISTRO | https://release-monitoring.org/project/20546 | 9.12-MR1-... | 2006-10-MR2 | dado | DISTRO | https://release-monitoring.org/project/58442 | 1.8.3-1 | 2.1.0-1 | daq3 | DISTRO | https://release-monitoring.org/project/212345 | 3.0.9 | 3.0.12 | dash | DISTRO | https://release-monitoring.org/project/00394 | 0.5.11.5 | 0.5.12 | ORPH datatables | DISTRO | https://release-monitoring.org/project/141588 | 1.10.20 | 1.13.4 | datatables-buttons | DISTRO | https://release-monitoring.org/project/141589 | 1.6.1 | 2.3.6 | datatables-fixedcolumns | DISTRO | https://release-monitoring.org/project/141590 | 3.3.0 | 4.2.2 | datatables-responsive | DISTRO | https://release-monitoring.org/project/141591 | 2.2.3 | 2.4.1 | dbus | DISTRO | https://release-monitoring.org/project/05356 | 1.14.8 | 1.14.10 | ORPH dbus-python | DISTRO | https://release-monitoring.org/project/00402 | 1.2.18 | 1.3.2 | ORPH dc3dd | DISTRO | https://release-monitoring.org/project/15086 | 7.2.641 | 7.3.1 | ORPH debianutils | DISTRO | https://release-monitoring.org/project/21341 | 4.11 | 5.13 | ORPH delve | DISTRO | https://release-monitoring.org/project/40149 | 1.20.2 | 1.21.0 | dfu-programmer | DISTRO | https://release-monitoring.org/project/328397 | 1.0.0 | 1.1.0 | dhcpcd | DISTRO | https://release-monitoring.org/project/11429 | 10.0.1 | 10.0.2 | dialog | DISTRO | https://release-monitoring.org/project/00431 | 1.3-20220117 | 1.3-20230209 | ORPH docker-compose | DISTRO | https://release-monitoring.org/project/06185 | 2.20.0 | 2.22.0 | dos2unix | DISTRO | https://release-monitoring.org/project/00453 | 7.5.0 | 7.5.1 | double-conversion | DISTRO | https://release-monitoring.org/project/07454 | 3.2.1 | 3.3.0 | dracut | DISTRO | https://release-monitoring.org/project/10627 | 057 | 059 | drbd-utils | DISTRO | https://release-monitoring.org/project/00462 | 9.21.4 | 9.23.0 | dt | DISTRO | https://release-monitoring.org/project/21844 | 18.32 | 21.27 | ORPH dtbocfg | DISTRO | https://release-monitoring.org/project/235269 | 0.0.9 | 0.1.0 | dtc | DISTRO | https://release-monitoring.org/project/16911 | 1.6.1 | 1.7.0 | dust | DISTRO | https://release-monitoring.org/project/141344 | 0.8.1 | 0.8.6 | ORPH easy-rsa | DISTRO | https://release-monitoring.org/project/17770 | 3.1.1 | 3.1.6 | edk2 | DISTRO | https://release-monitoring.org/project/125953 | edk2-stab... | 202308 | efl | DISTRO | https://release-monitoring.org/project/06128 | 1.26.1 | 1.26.3 | ell | DISTRO | https://release-monitoring.org/project/17781 | 0.57 | 0.59 | ORPH empty | DISTRO | https://release-monitoring.org/project/20564 | 0.6.22b | 0.6.23c | ORPH enchant | DISTRO | https://release-monitoring.org/project/06601 | 2.3.3 | 2.6.1 | erlang | DISTRO | https://release-monitoring.org/project/00707 | 26.0.2 | 26.1.1 | erlang-jose | DISTRO | https://release-monitoring.org/project/16913 | 1.11.5 | 1.11.6 | erlang-p1-oauth2 | DISTRO | https://release-monitoring.org/project/09302 | 0.6.11 | 0.8.0 | erlang-p1-stun | DISTRO | https://release-monitoring.org/project/09151 | 1.2.7 | 1.2.9 | erofs-utils | DISTRO | https://release-monitoring.org/project/63188 | 1.5 | 1.7 | execline | DISTRO | https://release-monitoring.org/project/05482 | 2.9.0.1 | 2.9.3.0 | exempi | DISTRO | https://release-monitoring.org/project/00767 | 2.6.3 | 2.6.4 | exfatprogs | DISTRO | https://release-monitoring.org/project/94441 | 1.2.0 | 1.2.1 | exiv2 | DISTRO | https://release-monitoring.org/project/00769 | 0.27.6 | 0.28.0 | feh | DISTRO | https://release-monitoring.org/project/00790 | 3.7.1 | 3.10.1 | ffmpeg | DISTRO | https://release-monitoring.org/project/05405 | 4.4.4 | 6.0 | fio | DISTRO | https://release-monitoring.org/project/00806 | 3.34 | 3.35 | firewalld | DISTRO | https://release-monitoring.org/project/09989 | 1.3.2 | 2.0.0 | flannel | DISTRO | https://release-monitoring.org/project/07421 | 0.14.0 | 0.22.3 | flashrom | DISTRO | https://release-monitoring.org/project/10202 | 1.2.1 | 1.3.0 | flot | DISTRO | https://release-monitoring.org/project/07184 | 0.8.3 | 4.2.6 | ORPH fltk | DISTRO | https://release-monitoring.org/project/00823 | 1.3.7 | 1.3.8 | ORPH fluent-bit | DISTRO | https://release-monitoring.org/project/267335 | 2.1.7 | 2.1.10 | fmc | GUESS | https://release-monitoring.org/project/145761 | LSDK-21.08 | 0.2.0 | ORPH font-awesome | DISTRO | https://release-monitoring.org/project/00826 | 4.7.0 | 6.4.2 | ORPH freeradius-server | DISTRO | https://release-monitoring.org/project/00853 | 3.2.0 | 3.2.2 | freerdp | DISTRO | https://release-monitoring.org/project/10442 | 2.11.0 | 2.11.2 | frr | DISTRO | https://release-monitoring.org/project/18555 | 8.4.2 | 9.0.1 | fscryptctl | DISTRO | https://release-monitoring.org/project/270981 | 1.0.0 | 1.1.0 | fuse-overlayfs | DISTRO | https://release-monitoring.org/project/101220 | 1.11 | 1.13 | fwts | DISTRO | https://release-monitoring.org/project/17383 | 23.07.00 | 23.09.00 | fwup | DISTRO | https://release-monitoring.org/project/21438 | 1.9.1 | 1.10.1 | gcr | DISTRO | https://release-monitoring.org/project/11801 | 3.40.0 | 4.1.0 | ORPH gdal | DISTRO | https://release-monitoring.org/project/00881 | 3.6.2 | 3.7.2 | gensio | DISTRO | https://release-monitoring.org/project/67634 | 2.5.5 | 2.7.6 | gitlab-runner | DISTRO | https://release-monitoring.org/project/11337 | 15.5.0 | 16.4.0 | glib-networking | DISTRO | https://release-monitoring.org/project/21353 | 2.76.0 | 2.78.0 | ORPH glibmm | DISTRO | https://release-monitoring.org/project/07960 | 2.76.0 | 2.78.0 | glm | DISTRO | https://release-monitoring.org/project/01181 | 0.9.9.5 | 0.9.9.8 | ORPH gnu-efi | DISTRO | https://release-monitoring.org/project/01202 | 3.0.15 | 3.0.17 | gobject-introspection | DISTRO | https://release-monitoring.org/project/01223 | 1.76.1 | 1.78.1 | ORPH gocryptfs | DISTRO | https://release-monitoring.org/project/21085 | 2.3.2 | 2.4.0 | gqrx | DISTRO | https://release-monitoring.org/project/09771 | 2.15.9 | 2.16 | granite | DISTRO | https://release-monitoring.org/project/05410 | 6.2.0 | 7.3.0 | ORPH grantlee | DISTRO | https://release-monitoring.org/project/21448 | 5.2.0 | 5.3.1 | graphicsmagick | DISTRO | https://release-monitoring.org/project/01248 | 1.3.40 | 1.3.42 | grpc | DISTRO | https://release-monitoring.org/project/19117 | 1.51.1 | 1.59.0 | gsettings-desktop-schemas | DISTRO | https://release-monitoring.org/project/13139 | 3.36.1 | 45.0 | ORPH gssdp | DISTRO | https://release-monitoring.org/project/01262 | 1.4.0.1 | 1.6.2 | gst-omx | DISTRO | https://release-monitoring.org/project/21845 | 1.22.2 | 1.22.6 | ORPH gst1-devtools | DISTRO | https://release-monitoring.org/project/21856 | 1.22.2 | 1.22.6 | ORPH gst1-imx | DISTRO | https://release-monitoring.org/project/21846 | 0.13.1 | 2.2.0 | gst1-libav | DISTRO | https://release-monitoring.org/project/21848 | 1.22.2 | 1.22.6 | ORPH gst1-plugins-bad | DISTRO | https://release-monitoring.org/project/21849 | 1.22.2 | 1.22.6 | ORPH gst1-plugins-base | DISTRO | https://release-monitoring.org/project/21850 | 1.22.2 | 1.22.6 | ORPH gst1-plugins-good | DISTRO | https://release-monitoring.org/project/21852 | 1.22.2 | 1.22.6 | ORPH gst1-plugins-ugly | DISTRO | https://release-monitoring.org/project/15187 | 1.22.2 | 1.22.6 | ORPH gst1-python | DISTRO | https://release-monitoring.org/project/03881 | 1.22.2 | 1.22.6 | ORPH gst1-rtsp-server | DISTRO | https://release-monitoring.org/project/21853 | 1.22.2 | 1.22.6 | ORPH gst1-vaapi | DISTRO | https://release-monitoring.org/project/21855 | 1.22.2 | 1.22.6 | ORPH gstreamer1 | DISTRO | https://release-monitoring.org/project/01263 | 1.22.2 | 1.22.6 | ORPH gstreamer1-editing-services | DISTRO | https://release-monitoring.org/project/230920 | 1.22.2 | 1.22.6 | ORPH gtksourceview | DISTRO | https://release-monitoring.org/project/07724 | 3.24.7 | 5.10.0 | gupnp | DISTRO | https://release-monitoring.org/project/01281 | 1.4.3 | 1.6.5 | gupnp-av | DISTRO | https://release-monitoring.org/project/01282 | 0.14.0 | 0.14.1 | gupnp-tools | DISTRO | https://release-monitoring.org/project/01284 | 0.10.3 | 0.12.1 | gutenprint | DISTRO | https://release-monitoring.org/project/01285 | 5.2.14 | 5.3.4 | ORPH gvfs | DISTRO | https://release-monitoring.org/project/05496 | 1.48.1 | 1.52.0 | ORPH gzip | DISTRO | https://release-monitoring.org/project/01290 | 1.12 | 1.13 | ORPH haproxy | DISTRO | https://release-monitoring.org/project/01298 | 2.6.15 | 2.8.3 | hiawatha | DISTRO | https://release-monitoring.org/project/13375 | 11.2 | 11.4 | hidapi | DISTRO | https://release-monitoring.org/project/05594 | 0.11.0 | 0.14.0 | ORPH highway | DISTRO | https://release-monitoring.org/project/205809 | 1.0.3 | 1.0.7 | hplip | DISTRO | https://release-monitoring.org/project/01327 | 3.17.10 | 3.23.8 | ORPH hwdata | DISTRO | https://release-monitoring.org/project/05387 | 0.373 | 0.374 | ORPH hyperfine | DISTRO | https://release-monitoring.org/project/18526 | 1.14.0 | 1.17.0 | ORPH i2pd | DISTRO | https://release-monitoring.org/project/21355 | 2.43.0 | 2.49.0 | ifenslave | DISTRO | https://release-monitoring.org/project/21670 | 2.9 | 2.13 | ORPH imagemagick | DISTRO | https://release-monitoring.org/project/01372 | 7.1.0-51 | 7.1.1-18 | ORPH imlib2 | DISTRO | https://release-monitoring.org/project/21676 | 1.7.3 | 1.12.1 | inadyn | DISTRO | https://release-monitoring.org/project/21677 | 2.11.0 | 2.12.0 | inih | DISTRO | https://release-monitoring.org/project/11600 | 56 | 57 | ORPH inotify-tools | DISTRO | https://release-monitoring.org/project/08864 | 3.20.2.2 | 4.23.9.0 | ORPH iodine | DISTRO | https://release-monitoring.org/project/01386 | 0.7.0 | 0.8.0 | ORPH iozone | DISTRO | https://release-monitoring.org/project/21679 | 3.493 | 3.506 | ipcalc | DISTRO | https://release-monitoring.org/project/07555 | 1.0.2 | 1.0.3 | ORPH iperf | DISTRO | https://release-monitoring.org/project/01388 | 2.1.8 | 2.1.9 | ORPH iperf3 | DISTRO | https://release-monitoring.org/project/01389 | 3.14 | 3.15 | ORPH ipmiutil | DISTRO | https://release-monitoring.org/project/01391 | 3.1.8 | 3.1.9 | ipset | DISTRO | https://release-monitoring.org/project/01393 | 7.16 | 7.19 | irqbalance | DISTRO | https://release-monitoring.org/project/01402 | 1.9.0 | 1.9.2 | isl | DISTRO | https://release-monitoring.org/project/13286 | 0.25 | 0.26 | ORPH iwd | DISTRO | https://release-monitoring.org/project/18380 | 2.6 | 2.8 | ORPH jack2 | DISTRO | https://release-monitoring.org/project/21358 | 1.9.21 | 1.9.22 | janet | DISTRO | https://release-monitoring.org/project/155612 | 1.29.1 | 1.31.0 | janus-gateway | DISTRO | https://release-monitoring.org/project/15715 | 1.1.2 | 1.2.0 | jasper | DISTRO | https://release-monitoring.org/project/01421 | 2.0.33 | 4.0.0 | jbig2dec | DISTRO | https://release-monitoring.org/project/01431 | 0.19 | 0.20 | jimtcl | DISTRO | https://release-monitoring.org/project/01459 | 0.81 | 0.82 | jo | DISTRO | https://release-monitoring.org/project/18855 | 1.6 | 1.9 | jpeg-turbo | DISTRO | https://release-monitoring.org/project/01648 | 2.1.5 | 3.0.0 | jquery-datetimepicker | DISTRO | https://release-monitoring.org/project/13910 | 2.4.5 | 2.5.20 | jquery-keyboard | DISTRO | https://release-monitoring.org/project/21681 | 1.18.12 | 1.30.4 | ORPH jquery-mobile | DISTRO | https://release-monitoring.org/project/59395 | 1.4.3 | 1.4.5 | ORPH jquery-ui | DISTRO | https://release-monitoring.org/project/21815 | 1.13.1 | 1.13.2 | jquery-ui-themes | DISTRO | https://release-monitoring.org/project/21816 | 1.10.4 | 1.13.2 | jszip | DISTRO | https://release-monitoring.org/project/141558 | 3.10.0 | 3.10.1 | kbd | DISTRO | https://release-monitoring.org/project/01492 | 2.5.1 | 2.6.3 | ORPH kf5-extra-cmake-modules | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.110.0 | kf5-kcoreaddons | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.110.0 | kf5-modemmanager-qt | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.110.0 | kf5-networkmanager-qt | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.110.0 | kismet | DISTRO | https://release-monitoring.org/project/06966 | 2022-08-R1 | 2023-07-R1 | ORPH kodi | DISTRO | https://release-monitoring.org/project/05511 | 20.2-Nexus | 20.2 | kodi-inputstream-adaptive | DISTRO | https://release-monitoring.org/project/21795 | 20.3.13-N... | 21.3.0-Omega | kodi-inputstream-ffmpegdirect | DISTRO | https://release-monitoring.org/project/177174 | 20.5.0-Nexus | 21.2.0-Omega | kodi-inputstream-rtmp | DISTRO | https://release-monitoring.org/project/21794 | 20.3.0-Nexus | 21.1.0-Omega | kodi-jsonschemabuilder | DISTRO | https://release-monitoring.org/project/05511 | 20.2-Nexus | 20.2 | kodi-peripheral-joystick | DISTRO | https://release-monitoring.org/project/21793 | 20.1.13-N... | 21.1.7-Omega | kodi-peripheral-xarcade | DISTRO | https://release-monitoring.org/project/21791 | 20.1.3-Nexus | 21.0.0-Omega | kodi-pvr-argustv | DISTRO | https://release-monitoring.org/project/21788 | 20.5.0-Nexus | 21.0.0-Omega | kodi-pvr-dvblink | DISTRO | https://release-monitoring.org/project/21787 | 20.3.0-Nexus | 21.1.0-Omega | kodi-pvr-dvbviewer | DISTRO | https://release-monitoring.org/project/21786 | 20.4.0-Nexus | 21.1.0-Omega | kodi-pvr-filmon | DISTRO | https://release-monitoring.org/project/21785 | 20.3.0-Nexus | 21.0.0-Omega | kodi-pvr-hdhomerun | DISTRO | https://release-monitoring.org/project/21784 | 20.4.0-Nexus | 21.0.0-Omega | kodi-pvr-hts | DISTRO | https://release-monitoring.org/project/21783 | 20.6.2-Nexus | 21.1.0-Omega | kodi-pvr-iptvsimple | DISTRO | https://release-monitoring.org/project/21782 | 20.11.0-N... | 21.4.0-Omega | kodi-pvr-mediaportal-tvserver | DISTRO | https://release-monitoring.org/project/21781 | 20.3.0-Nexus | 21.0.0-Omega | kodi-pvr-nextpvr | DISTRO | https://release-monitoring.org/project/21779 | 20.4.3-Nexus | 21.0.2-Omega | kodi-pvr-njoy | DISTRO | https://release-monitoring.org/project/21778 | 20.3.0-Nexus | 21.0.0-Omega | kodi-pvr-pctv | DISTRO | https://release-monitoring.org/project/21777 | 20.4.0-Nexus | 21.0.0-Omega | kodi-pvr-plutotv | DISTRO | https://release-monitoring.org/project/241527 | 20.3.1a-N... | 21.0.1-Omega | kodi-pvr-stalker | DISTRO | https://release-monitoring.org/project/21776 | 20.3.1-Nexus | 21.0.0-Omega | kodi-pvr-vbox | DISTRO | https://release-monitoring.org/project/21775 | 20.4.2-Nexus | 21.1.2-Omega | kodi-pvr-vdr-vnsi | DISTRO | https://release-monitoring.org/project/21774 | 20.4.1-Nexus | 21.1.0-Omega | kodi-pvr-vuplus | DISTRO | https://release-monitoring.org/project/21773 | 20.5.1-Nexus | 21.1.1-Omega | kodi-pvr-waipu | DISTRO | https://release-monitoring.org/project/241529 | 20.10.0-N... | 21.4.0-Omega | kodi-pvr-wmc | DISTRO | https://release-monitoring.org/project/21772 | 20.3.0-Nexus | 21.0.0-Omega | kodi-texturepacker | DISTRO | https://release-monitoring.org/project/05511 | 20.2-Nexus | 20.2 | ksmbd-tools | DISTRO | https://release-monitoring.org/project/241856 | 3.4.6 | 3.4.9 | kvazaar | DISTRO | https://release-monitoring.org/project/12418 | 2.1.0 | 2.2.0 | lapack | DISTRO | https://release-monitoring.org/project/01534 | 3.10.1 | 3.11.0 | lensfun | DISTRO | https://release-monitoring.org/project/01548 | 0.3.3 | 0.3.95 | leptonica | DISTRO | https://release-monitoring.org/project/01549 | 1.82.0 | 1.83.0 | libabseil-cpp | DISTRO | https://release-monitoring.org/project/115295 | 20220623.1 | 20230802.1 | libao | DISTRO | https://release-monitoring.org/project/07629 | 1.2.0 | 1.2.2 | ORPH libbpf | DISTRO | https://release-monitoring.org/project/141355 | 1.1.0 | 1.2.2 | libbytesize | DISTRO | https://release-monitoring.org/project/07869 | 2.7 | 2.9 | ORPH libcamera-apps | DISTRO | https://release-monitoring.org/project/328456 | 1.2.1 | 1.2.2 | libcgroup | DISTRO | https://release-monitoring.org/project/01575 | 2.0.3 | 3.1.0 | libcoap | DISTRO | https://release-monitoring.org/project/21471 | 4.3.1 | 4.3.3 | libcodec2 | DISTRO | https://release-monitoring.org/project/14605 | 1.1.1 | 1.2.0 | libdecor | DISTRO | https://release-monitoring.org/project/312806 | 0.1.1 | 0.2.0 | libdeflate | DISTRO | https://release-monitoring.org/project/242778 | 1.18 | 1.19 | libebml | DISTRO | https://release-monitoring.org/project/07879 | 1.4.2 | 1.4.4 | libedit | DISTRO | https://release-monitoring.org/project/01599 | 20221030-3.1 | 20230828-3.1 | libevdev | DISTRO | https://release-monitoring.org/project/20540 | 1.12.1 | 1.13.1 | libfastjson | DISTRO | https://release-monitoring.org/project/12043 | 0.99.9.1 | 1.2304.0 | libgdiplus | DISTRO | https://release-monitoring.org/project/06440 | 6.0.5 | 6.1 | libglade | DISTRO | https://release-monitoring.org/project/01174 | 2.6.4 | 3.40.0 | ORPH libglib2 | DISTRO | https://release-monitoring.org/project/10024 | 2.76.1 | 2.78.0 | libglvnd | DISTRO | https://release-monitoring.org/project/12098 | 1.4.0 | 1.7.0 | ORPH libgphoto2 | DISTRO | https://release-monitoring.org/project/12558 | 2.5.27 | 2.5.31 | ORPH libgpiod | DISTRO | https://release-monitoring.org/project/20640 | 1.6.4 | 2.0.2 | ORPH libgsasl | DISTRO | https://release-monitoring.org/project/01563 | 1.10.0 | 2.2.0 | ORPH libgsm | DISTRO | https://release-monitoring.org/project/12587 | 1.0.19 | 1.0.22 | libgudev | DISTRO | https://release-monitoring.org/project/07735 | 237 | 238 | libhttpserver | DISTRO | https://release-monitoring.org/project/21934 | 0.18.2 | 0.19.0 | libical | DISTRO | https://release-monitoring.org/project/01637 | 1.0.1 | 3.0.16 | libiconv | DISTRO | https://release-monitoring.org/project/10656 | 1.15 | 1.17 | ORPH libimxvpuapi | DISTRO | https://release-monitoring.org/project/21479 | 0.10.3 | 2.3.0 | libinput | DISTRO | https://release-monitoring.org/project/05781 | 1.23.0 | 1.24.0 | libite | DISTRO | https://release-monitoring.org/project/17367 | 2.5.3 | 2.6.0 | liblinear | DISTRO | https://release-monitoring.org/project/21363 | 2.45 | 2.47 | libmatroska | DISTRO | https://release-monitoring.org/project/01657 | 1.6.3 | 1.7.1 | libmbim | DISTRO | https://release-monitoring.org/project/07308 | 1.28.2 | 1.28.4 | libmspack | DISTRO | https://release-monitoring.org/project/16827 | 0.10.1alpha | 1.11 | libnetconf2 | DISTRO | https://release-monitoring.org/project/31639 | 2.1.28 | 2.1.37 | libnfs | DISTRO | https://release-monitoring.org/project/07325 | 4.0.0 | 5.0.2 | ORPH libnl | DISTRO | https://release-monitoring.org/project/01684 | 3.7.0 | 3.8.0 | ORPH libnpupnp | DISTRO | https://release-monitoring.org/project/75209 | 4.2.2 | 5.0.2 | libnvme | DISTRO | https://release-monitoring.org/project/242763 | 1.5 | 1.6 | libolm | DISTRO | https://release-monitoring.org/project/29706 | 3.2.9 | 3.2.15 | libosmium | DISTRO | https://release-monitoring.org/project/07023 | 2.19.0 | 2.20.0 | libpam-tacplus | DISTRO | https://release-monitoring.org/project/20537 | 1.6.1 | 1.7.0 | ORPH libpeas | DISTRO | https://release-monitoring.org/project/06871 | 1.32.0 | 2.0.0 | ORPH libpfm4 | DISTRO | https://release-monitoring.org/project/21491 | 4.12.0 | 4.13.0 | libpqxx | DISTRO | https://release-monitoring.org/project/21367 | 7.7.5 | 7.8.1 | libpri | DISTRO | https://release-monitoring.org/project/11042 | 1.6.0 | 1.6.1 | libqmi | DISTRO | https://release-monitoring.org/project/07307 | 1.32.2 | 1.32.4 | libqrtr-glib | DISTRO | https://release-monitoring.org/project/192056 | 1.0.0 | 1.2.2 | librelp | DISTRO | https://release-monitoring.org/project/01713 | 1.10.0 | 1.11.0 | libressl | DISTRO | https://release-monitoring.org/project/12102 | 3.7.3 | 3.8.1 | ORPH librsvg | DISTRO | https://release-monitoring.org/project/05420 | 2.50.9 | 2.57.0 | librsync | DISTRO | https://release-monitoring.org/project/06309 | 2.3.2 | 2.3.4 | librtas | DISTRO | https://release-monitoring.org/project/10717 | 2.0.3 | 2.0.4 | ORPH libsecret | DISTRO | https://release-monitoring.org/project/13150 | 0.20.5 | 0.21.1 | ORPH libsemanage | DISTRO | https://release-monitoring.org/project/01718 | 3.5 | 20200710 | libsepol | DISTRO | https://release-monitoring.org/project/01719 | 3.5 | 20200710 | libsigc | DISTRO | https://release-monitoring.org/project/07961 | 3.4.0 | 3.6.0 | libsigc2 | DISTRO | https://release-monitoring.org/project/311642 | 2.12.0 | 2.12.1 | libsndfile | DISTRO | https://release-monitoring.org/project/13277 | 1.2.0 | 1.2.2 | libsodium | DISTRO | https://release-monitoring.org/project/01728 | 1.0.18 | 1.0.19 | libsolv | DISTRO | https://release-monitoring.org/project/07908 | 0.7.22 | 0.7.25 | libsoup | DISTRO | https://release-monitoring.org/project/11483 | 2.74.2 | 3.4.3 | libtalloc | DISTRO | https://release-monitoring.org/project/01733 | 2.3.4 | 2.4.1 | libtool | DISTRO | https://release-monitoring.org/project/01741 | 2.4.6 | 2.4.7 | ORPH libtorrent-rasterbar | DISTRO | https://release-monitoring.org/project/04166 | 1.2.15 | 2.0.9 | libucl | DISTRO | https://release-monitoring.org/project/21371 | 0.8.1 | 0.8.2 | libunwind | DISTRO | https://release-monitoring.org/project/01748 | 1.6.2 | 1.7.2 | ORPH libupnp | DISTRO | https://release-monitoring.org/project/21315 | 1.14.13 | 1.14.18 | libupnpp | DISTRO | https://release-monitoring.org/project/15849 | 0.21.0 | 0.23.0 | ORPH liburing | DISTRO | https://release-monitoring.org/project/230185 | 2.2 | 2.4 | libvips | DISTRO | https://release-monitoring.org/project/05097 | 8.10.6 | 8.14.5 | libvirt | DISTRO | https://release-monitoring.org/project/13830 | 7.10.0 | 9.7.0 | libvpx | DISTRO | https://release-monitoring.org/project/11083 | 1.13.0 | 1.13.1 | libxcb | DISTRO | https://release-monitoring.org/project/01767 | 1.15 | 1.16 | ORPH libxkbcommon | DISTRO | https://release-monitoring.org/project/01780 | 1.4.0 | 1.5.0 | libxml2 | DISTRO | https://release-monitoring.org/project/01783 | 2.11.4 | 2.11.5 | libxmlpp | DISTRO | https://release-monitoring.org/project/11129 | 5.0.2 | 5.0.3 | ORPH libxmlrpc | DISTRO | https://release-monitoring.org/project/09024 | r3119 | 1.54.06 | lilv | DISTRO | https://release-monitoring.org/project/01818 | 0.24.12 | 0.24.20 | links | DISTRO | https://release-monitoring.org/project/01822 | 2.26 | 2.29 | ORPH linphone | DISTRO | https://release-monitoring.org/project/01823 | 4.4.8 | 5.1.2 | ORPH linux-firmware | DISTRO | https://release-monitoring.org/project/141464 | 20230804 | 20230919 | linuxptp | DISTRO | https://release-monitoring.org/project/21114 | 4.0 | 4.1 | liquid-dsp | DISTRO | https://release-monitoring.org/project/14535 | 1.5.0 | 1.6.0 | live555 | DISTRO | https://release-monitoring.org/project/12414 | 2021.05.03 | 2023.07.24 | ORPH lld | DISTRO | https://release-monitoring.org/project/01830 | 15.0.3 | 17.0.1 | lldpd | DISTRO | https://release-monitoring.org/project/14019 | 1.0.15 | 1.0.17 | ORPH llvm | DISTRO | https://release-monitoring.org/project/01830 | 15.0.3 | 17.0.1 | log4cpp | DISTRO | https://release-monitoring.org/project/21499 | 1.1.3 | 1.1.4 | log4cxx | DISTRO | https://release-monitoring.org/project/15330 | 0.13.0 | 1.1.0 | logrotate | DISTRO | https://release-monitoring.org/project/10567 | 3.20.1 | 3.21.0 | ORPH lpty | DISTRO | https://release-monitoring.org/project/11671 | 1.0.1-1 | 1.2.2 | ltris | DISTRO | https://release-monitoring.org/project/21503 | 1.2 | 1.2.7 | lttng-babeltrace | DISTRO | https://release-monitoring.org/project/00155 | 1.5.7 | 1.5.11 | lttng-libust | DISTRO | https://release-monitoring.org/project/07135 | 2.13.1 | 2.13.6 | lttng-modules | DISTRO | https://release-monitoring.org/project/07141 | 2.13.7 | 2.13.10 | lttng-tools | DISTRO | https://release-monitoring.org/project/07136 | 2.13.8 | 2.13.11 | lua | DISTRO | https://release-monitoring.org/project/01847 | 5.1.5 | 5.4.6 | lua-resty-http | DISTRO | https://release-monitoring.org/project/13887 | 0.15-0 | 0.17.1 | luarocks | DISTRO | https://release-monitoring.org/project/01856 | 3.9.1 | 3.9.2 | luv | DISTRO | https://release-monitoring.org/project/21510 | 1.43.0-0 | 1.45.0-0 | ORPH lxc | DISTRO | https://release-monitoring.org/project/01860 | 5.0.2 | 5.0.3 | lynx | DISTRO | https://release-monitoring.org/project/01863 | 2.8.9rel.1 | 2.9.0 | lzma-alone | DISTRO | https://release-monitoring.org/project/242840 | 9.22 | 2301 | ORPH mariadb | DISTRO | https://release-monitoring.org/project/01887 | 10.11.4 | 11.2.1 | ORPH mbedtls | DISTRO | https://release-monitoring.org/project/13824 | 2.28.4 | 3.4.1 | mbuffer | DISTRO | https://release-monitoring.org/project/15518 | 20220418 | 20230301 | mcelog | DISTRO | https://release-monitoring.org/project/08093 | 194 | 195 | mdevd | DISTRO | https://release-monitoring.org/project/16553 | 0.1.6.0 | 0.1.6.2 | mediastreamer | DISTRO | https://release-monitoring.org/project/21746 | 4.4.8 | 5.2.109 | ORPH memtest86 | DISTRO | https://release-monitoring.org/project/01966 | 5.01 | 6.20 | mesa3d | DISTRO | https://release-monitoring.org/project/01970 | 23.1.8 | 23.2.1 | mesa3d-headers | DISTRO | https://release-monitoring.org/project/01970 | 23.1.8 | 23.2.1 | meson | DISTRO | https://release-monitoring.org/project/06472 | 1.1.1 | 1.2.2 | metacity | DISTRO | https://release-monitoring.org/project/15392 | 2.25.1 | 3.46.0 | ORPH mfgtools | DISTRO | https://release-monitoring.org/project/21519 | 0.02 | 2.8.0 | microchip-hss-payload-gener... | DISTRO | https://release-monitoring.org/project/368767 | 2023.06 | 2023.09 | micropython | DISTRO | https://release-monitoring.org/project/10539 | 1.19.1 | 1.20.0 | micropython-lib | DISTRO | https://release-monitoring.org/project/21520 | 1.9.3 | 1.20.0 | mimic | DISTRO | https://release-monitoring.org/project/21521 | 1.1.0 | 1.3.0.1 | minetest | DISTRO | https://release-monitoring.org/project/01978 | 5.6.1 | 5.7.0 | minetest-game | DISTRO | https://release-monitoring.org/project/21522 | 5.6.1 | 5.7.0 | moarvm | DISTRO | https://release-monitoring.org/project/21100 | 2023.06 | 2023.09 | mobile-broadband-provider-info | DISTRO | https://release-monitoring.org/project/10267 | 20221107 | 20230416 | ORPH moby-buildkit | DISTRO | https://release-monitoring.org/project/20836 | 0.11.6 | 0.12.2 | modem-manager | DISTRO | https://release-monitoring.org/project/07306 | 1.20.4 | 1.20.6 | modsecurity2 | DISTRO | https://release-monitoring.org/project/68638 | 2.9.7 | 3.0.10 | mongodb | DISTRO | https://release-monitoring.org/project/02008 | 4.2.18 | 7.0.2 | mongoose | DISTRO | https://release-monitoring.org/project/07603 | 7.8 | 7.11 | mono | DISTRO | https://release-monitoring.org/project/06360 | 6.12.0.182 | 6.12.0.205 | mp4v2 | DISTRO | https://release-monitoring.org/project/98413 | 2.1.1 | 2.1.3 | ORPH mpc | DISTRO | https://release-monitoring.org/project/01667 | 1.2.1 | 1.3.1 | ORPH mpfr | DISTRO | https://release-monitoring.org/project/02019 | 4.1.1 | 4.2.1 | ORPH mpg123 | DISTRO | https://release-monitoring.org/project/12413 | 1.31.3 | 1.32.2 | mpv | DISTRO | https://release-monitoring.org/project/05348 | 0.35.1 | 0.36.0 | msgpack | DISTRO | https://release-monitoring.org/project/12278 | 3.3.0 | 6.1.0 | mstpd | DISTRO | https://release-monitoring.org/project/235098 | 0.1.0 | 0.05 | mupdf | DISTRO | https://release-monitoring.org/project/02034 | 1.22.0 | 1.23.3 | nbd | DISTRO | https://release-monitoring.org/project/02052 | 3.24 | 3.25 | ncdu | DISTRO | https://release-monitoring.org/project/06045 | 1.18 | 2.3 | ncmpc | DISTRO | https://release-monitoring.org/project/02055 | 0.47 | 0.49 | ncurses | DISTRO | https://release-monitoring.org/project/02057 | 6.4-20230603 | 6.4-20231001 | ORPH neard | DISTRO | https://release-monitoring.org/project/21866 | 0.18 | 0.19 | neofetch | DISTRO | https://release-monitoring.org/project/16261 | 7.1.0 | 7.3.10 | ORPH neon | DISTRO | https://release-monitoring.org/project/07604 | 0.32.4 | 0.32.5 | ORPH nerdctl | DISTRO | https://release-monitoring.org/project/242901 | 1.3.1 | 1.6.0 | netcat-openbsd | DISTRO | https://release-monitoring.org/project/21534 | 1.218 | 1.225 | ORPH netdata | DISTRO | https://release-monitoring.org/project/11046 | 1.33.1 | 1.42.4 | netifrc | DISTRO | https://release-monitoring.org/project/21917 | 0.7.3 | 0.7.6 | netopeer2 | DISTRO | https://release-monitoring.org/project/114978 | 2.1.49 | 2.1.71 | netsnmp | DISTRO | https://release-monitoring.org/project/02062 | 5.9.3 | 5.9.4 | ORPH network-manager | DISTRO | https://release-monitoring.org/project/21197 | 1.42.0 | 1.44.0 | ORPH nghttp2 | DISTRO | https://release-monitoring.org/project/08651 | 1.41.0 | 1.56.0 | nginx | DISTRO | https://release-monitoring.org/project/05413 | 1.24.0 | 1.25.2 | ninja | DISTRO | https://release-monitoring.org/project/02089 | 1.11.1.g9... | 1.11.1 | nmap | DISTRO | https://release-monitoring.org/project/02096 | 7.92 | 7.94 | ORPH nodejs | DISTRO | https://release-monitoring.org/project/08251 | 16.20.0 | 20.8.0 | noip | DISTRO | https://release-monitoring.org/project/21539 | 2.1.9 | 3.0.0 | ORPH nushell | DISTRO | https://release-monitoring.org/project/31106 | 0.76.0 | 0.85.0 | nuttcp | DISTRO | https://release-monitoring.org/project/02511 | 6.1.2 | 8.2.2 | nvidia-driver | DISTRO | https://release-monitoring.org/project/21843 | 390.151 | 390.157 | nvidia-modprobe | DISTRO | https://release-monitoring.org/project/141657 | 450.57 | 535.113.01 | ORPH nvidia-persistenced | DISTRO | https://release-monitoring.org/project/369496 | 515.48.07 | 535.113.01 | nvme | DISTRO | https://release-monitoring.org/project/09074 | 1.12 | 2.6 | ORPH ogre | DISTRO | https://release-monitoring.org/project/33334 | v1.12.12 | 14.1.0 | openal | DISTRO | https://release-monitoring.org/project/08172 | 1.22.0 | 1.23.1 | ORPH opencl-clhpp | DISTRO | https://release-monitoring.org/project/271141 | 2.0.16 | 2023.04.17 | opencore-amr | DISTRO | https://release-monitoring.org/project/21548 | 0.1.5 | 0.1.6 | ORPH opencv3 | DISTRO | https://release-monitoring.org/project/06615 | 3.4.19 | 4.8.1 | opencv4 | DISTRO | https://release-monitoring.org/project/06615 | 4.6.0 | 4.8.1 | openfpgaloader | DISTRO | https://release-monitoring.org/project/241709 | 0.10.0 | 0.11.0 | openjdk | GUESS | https://release-monitoring.org/project/176098 | 11.0.20+8 | 22+17 | openlayers | DISTRO | https://release-monitoring.org/project/06847 | 7.3.0 | 8.1.0 | openmpi | DISTRO | https://release-monitoring.org/project/02554 | 4.1.5 | 4.1.6 | openrc | DISTRO | https://release-monitoring.org/project/11687 | 0.43.3 | 0.50 | openvmtools | DISTRO | https://release-monitoring.org/project/10998 | 11.3.5-18... | 12.3.0 | opkg | DISTRO | https://release-monitoring.org/project/59397 | 0.4.5 | 0.6.2 | ORPH opkg-utils | DISTRO | https://release-monitoring.org/project/59396 | 0.4.5 | 0.6.2 | optee-client | DISTRO | https://release-monitoring.org/project/21556 | 3.21.0 | 3.22.0 | optee-examples | DISTRO | https://release-monitoring.org/project/21557 | 3.21.0 | 3.22.0 | optee-test | DISTRO | https://release-monitoring.org/project/21558 | 3.21.0 | 3.22.0 | oracle-mysql | DISTRO | https://release-monitoring.org/project/00334 | 5.1.73 | 8.1.0 | ORPH orc | DISTRO | https://release-monitoring.org/project/02573 | 0.4.33 | 0.4.34 | ORPH ortp | DISTRO | https://release-monitoring.org/project/21691 | 4.4.8 | 5.2.109 | ORPH p11-kit | DISTRO | https://release-monitoring.org/project/02582 | 0.24.1 | 0.25.0 | ORPH pango | DISTRO | https://release-monitoring.org/project/11783 | 1.50.14 | 1.51.1 | ORPH parprouted | DISTRO | https://release-monitoring.org/project/10309 | 0.7 | 0.65 | ORPH patchelf | DISTRO | https://release-monitoring.org/project/02598 | 0.13 | 0.18.0 | ORPH pax-utils | DISTRO | https://release-monitoring.org/project/02601 | 1.2.6 | 1.3.7 | ORPH pdbg | DISTRO | https://release-monitoring.org/project/21378 | 3.5 | 3.6 | perl | DISTRO | https://release-monitoring.org/project/13599 | 5.36.1 | 5.38.0 | perl-crypt-cbc | DISTRO | https://release-monitoring.org/project/11930 | 2.33 | 3.04 | perl-crypt-openssl-aes | DISTRO | https://release-monitoring.org/project/02743 | 0.02 | 0.10 | perl-dbd-mysql | DISTRO | https://release-monitoring.org/project/02807 | 4.046 | 4.050 | perl-gd | DISTRO | https://release-monitoring.org/project/12660 | 2.77 | 2.78 | perl-gdgraph | DISTRO | https://release-monitoring.org/project/09187 | 1.54 | 1.56 | perl-image-exiftool | DISTRO | https://release-monitoring.org/project/06175 | 12.50 | 12.67 | perl-io-socket-ssl | DISTRO | https://release-monitoring.org/project/06569 | 2.080 | 2.083 | perl-libwww-perl | DISTRO | https://release-monitoring.org/project/03024 | 6.67 | 6.72 | perl-mail-dkim | DISTRO | https://release-monitoring.org/project/11868 | 1.20230630 | 1.20230911 | perl-mime-tools | DISTRO | https://release-monitoring.org/project/11809 | 5.509 | 5.510 | perl-module-build | DISTRO | https://release-monitoring.org/project/03077 | 0.4232 | 0.4234 | perl-module-build-tiny | DISTRO | https://release-monitoring.org/project/11870 | 0.039 | 0.047 | perl-mojolicious | DISTRO | https://release-monitoring.org/project/05966 | 9.32 | 9.34 | perl-net-ssh2 | DISTRO | https://release-monitoring.org/project/03163 | 0.72 | 0.73 | perl-net-ssleay | DISTRO | https://release-monitoring.org/project/06575 | 1.93_01 | 1.92 | perl-sys-cpu | DISTRO | https://release-monitoring.org/project/14338 | 0.52 | 0.61 | perl-xml-libxml | DISTRO | https://release-monitoring.org/project/03527 | 2.0134 | 2.0209 | petitboot | DISTRO | https://release-monitoring.org/project/337142 | 1.13 | 1.14 | php-amqp | DISTRO | https://release-monitoring.org/project/15603 | 2.0.0 | 2.1.0 | php-pam | DISTRO | https://release-monitoring.org/project/241707 | 2.2.4 | 2.2.5 | pkgconf | DISTRO | https://release-monitoring.org/project/12753 | 1.6.3 | 2.0.3 | ORPH pngquant | DISTRO | https://release-monitoring.org/project/03674 | 2.18.0 | 3.0.1 | poke | DISTRO | https://release-monitoring.org/project/179926 | 3.0 | 3.3 | ORPH poppler | DISTRO | https://release-monitoring.org/project/03686 | 22.12.0 | 23.09.0 | postgresql | DISTRO | https://release-monitoring.org/project/05601 | 15.4 | 16.0 | pound | DISTRO | https://release-monitoring.org/project/05436 | 4.8 | 4.9 | ORPH powerpc-utils | DISTRO | https://release-monitoring.org/project/10715 | 1.3.10 | 1.3.11 | ORPH procps-ng | DISTRO | https://release-monitoring.org/project/03708 | 3.3.17 | 4.0.4 | ORPH prosody | DISTRO | https://release-monitoring.org/project/03709 | 0.11.14 | 0.12.4 | protobuf | DISTRO | https://release-monitoring.org/project/03715 | 21.12 | 24.3 | pru-software-support | DISTRO | https://release-monitoring.org/project/21825 | 6.0.1 | 6.2.0 | psmisc | DISTRO | https://release-monitoring.org/project/03721 | 23.5 | 23.6 | ORPH ptpd | GUESS | https://release-monitoring.org/project/03726 | 1.1.0 | 2.3.1 | ORPH pugixml | DISTRO | https://release-monitoring.org/project/03728 | 1.13 | 1.14 | pv | DISTRO | https://release-monitoring.org/project/03736 | 1.6.20 | 1.8.0 | ORPH python-aenum | DISTRO | https://release-monitoring.org/project/34074 | 3.1.11 | 3.1.15 | python-aiocoap | DISTRO | https://release-monitoring.org/project/21243 | 0.4.5 | 0.4.7 | python-aiofiles | DISTRO | https://release-monitoring.org/project/12743 | 23.1.0 | 23.2.1 | python-aiojobs | DISTRO | https://release-monitoring.org/project/21252 | 1.1.0 | 1.2.0 | python-aiomonitor | DISTRO | https://release-monitoring.org/project/21253 | 0.4.5 | 0.6.0 | python-alembic | DISTRO | https://release-monitoring.org/project/03766 | 1.10.2 | 1.12.0 | python-alsaaudio | DISTRO | https://release-monitoring.org/project/10072 | 0.9.2 | 0.10.0 | python-argh | DISTRO | https://release-monitoring.org/project/09299 | 0.28.1 | 0.29.4 | python-argon2-cffi | DISTRO | https://release-monitoring.org/project/33377 | 21.3.0 | 23.1.0 | python-arrow | DISTRO | https://release-monitoring.org/project/05314 | 1.2.3 | 1.3.0 | python-asgiref | DISTRO | https://release-monitoring.org/project/18462 | 3.6.0 | 3.7.2 | python-asttokens | DISTRO | https://release-monitoring.org/project/19936 | 2.2.1 | 2.4.0 | python-async-lru | DISTRO | https://release-monitoring.org/project/56566 | 2.0.2 | 2.0.4 | python-async-timeout | DISTRO | https://release-monitoring.org/project/12525 | 4.0.2 | 4.0.3 | python-avro | DISTRO | https://release-monitoring.org/project/59411 | 1.11.1 | 1.11.3 | python-beautifulsoup4 | DISTRO | https://release-monitoring.org/project/03779 | 4.12.0 | 4.12.2 | python-bitstring | DISTRO | https://release-monitoring.org/project/14665 | 4.0.1 | 4.1.2 | python-bluezero | DISTRO | https://release-monitoring.org/project/21929 | 0.7.1 | 0.8.0 | python-boto3 | DISTRO | https://release-monitoring.org/project/29737 | 1.26.115 | 1.28.57 | python-botocore | DISTRO | https://release-monitoring.org/project/08748 | 1.31.20 | 1.31.57 | python-brotli | DISTRO | https://release-monitoring.org/project/15235 | 1.0.9 | 1.1.0 | python-cffi | DISTRO | https://release-monitoring.org/project/05536 | 1.15.1 | 1.16.0 | python-channels-redis | DISTRO | https://release-monitoring.org/project/21936 | 4.0.0 | 4.1.0 | python-chardet | DISTRO | https://release-monitoring.org/project/03798 | 5.1.0 | 5.2.0 | python-charset-normalizer | DISTRO | https://release-monitoring.org/project/55366 | 3.2.0 | 3.3.0 | python-cheroot | DISTRO | https://release-monitoring.org/project/20163 | 9.0.0 | 10.0.0 | python-click | DISTRO | https://release-monitoring.org/project/03802 | 8.1.4 | 8.1.7 | python-configshell-fb | DISTRO | https://release-monitoring.org/project/19734 | 1.1.29 | 1.5 | python-crontab | DISTRO | https://release-monitoring.org/project/31282 | 2.7.1 | 3.0.0 | python-crossbar | DISTRO | https://release-monitoring.org/project/21696 | 21.3.1 | 22.6.1 | python-cryptography | DISTRO | https://release-monitoring.org/project/05532 | 39.0.2 | 41.0.4 | python-cssutils | DISTRO | https://release-monitoring.org/project/13259 | 2.6.0 | 2.7.1 | python-cycler | DISTRO | https://release-monitoring.org/project/11552 | 0.11.0 | 0.12.0 | python-cython | DISTRO | https://release-monitoring.org/project/12679 | 0.29.35 | 3.0.2 | python-daemon | DISTRO | https://release-monitoring.org/project/03816 | 2.3.2 | 3.0.1 | python-dataproperty | DISTRO | https://release-monitoring.org/project/21697 | 0.55.0 | 1.0.1 | python-dbus-fast | DISTRO | https://release-monitoring.org/project/287975 | 2.7.0 | 2.11.0 | python-django | DISTRO | https://release-monitoring.org/project/03828 | 4.1.10 | 4.2.5 | python-dnspython | DISTRO | https://release-monitoring.org/project/13190 | 2.2.1 | 2.4.2 | python-docutils | DISTRO | https://release-monitoring.org/project/03849 | 0.19 | 0.20.1 | python-dtschema | DISTRO | https://release-monitoring.org/project/100908 | 2022.12 | 2023.9 | python-editables | DISTRO | https://release-monitoring.org/project/189881 | 0.3 | 0.5 | python-engineio | DISTRO | https://release-monitoring.org/project/15064 | 4.3.4 | 4.7.1 | python-esptool | DISTRO | https://release-monitoring.org/project/11619 | 4.5.1 | 4.6.2 | python-executing | DISTRO | https://release-monitoring.org/project/24668 | 1.2.0 | 2.0.0 | python-filelock | DISTRO | https://release-monitoring.org/project/11739 | 3.9.0 | 3.12.4 | python-flask | DISTRO | https://release-monitoring.org/project/03867 | 2.3.2 | 3.0.0 | python-flask-babel | DISTRO | https://release-monitoring.org/project/20024 | 3.1.0 | 4.0.0 | python-flask-cors | DISTRO | https://release-monitoring.org/project/19867 | 3.0.10 | 4.0.0a | python-flask-smorest | DISTRO | https://release-monitoring.org/project/25028 | 0.42.0 | 0.42.1 | python-flask-sqlalchemy | DISTRO | https://release-monitoring.org/project/05701 | 3.0.2 | 3.1.1 | python-flask-wtf | DISTRO | https://release-monitoring.org/project/05702 | 1.1.1 | 1.2.0 | python-flatbuffers | DISTRO | https://release-monitoring.org/project/85010 | 2.0.7 | 23.5.26 | python-fonttools | DISTRO | https://release-monitoring.org/project/07388 | 4.41.1 | 4.43.0 | python-git | DISTRO | https://release-monitoring.org/project/06459 | 3.1.24 | 3.1.37 | python-gitdb2 | DISTRO | https://release-monitoring.org/project/12730 | 4.0.7 | 4.0.10 | python-glslang | DISTRO | https://release-monitoring.org/project/205796 | 11.13.0 | 13.0.0 | python-gobject | DISTRO | https://release-monitoring.org/project/13158 | 3.42.2 | 3.46.0 | python-gpiozero | DISTRO | https://release-monitoring.org/project/19948 | 1.6.2 | 2.0 | python-gunicorn | DISTRO | https://release-monitoring.org/project/03882 | 20.1.0 | 21.2.0 | python-hatch-fancy-pypi-readme | DISTRO | https://release-monitoring.org/project/274452 | 22.8.0 | 23.1.0 | python-hatchling | DISTRO | https://release-monitoring.org/project/185085 | 1.12.2 | 1.18.0 | python-httplib2 | DISTRO | https://release-monitoring.org/project/03887 | 0.21.0 | 0.22.0 | python-hwdata | DISTRO | https://release-monitoring.org/project/11771 | 2.3.7 | 2.3.8-1 | python-ipdb | DISTRO | https://release-monitoring.org/project/12710 | 0.13.11 | 0.13.13 | python-iptables | DISTRO | https://release-monitoring.org/project/11475 | 1.0.0 | 1.0.1 | python-ipython | DISTRO | https://release-monitoring.org/project/01399 | 8.8.0 | 8.16.0 | python-iso8601 | DISTRO | https://release-monitoring.org/project/17228 | 1.1.0 | 2.0.0 | python-iwlib | DISTRO | https://release-monitoring.org/project/51611 | 1.5 | 1.7.0 | python-jaraco-classes | DISTRO | https://release-monitoring.org/project/20150 | 3.2.3 | 3.3.0 | python-jaraco-functools | DISTRO | https://release-monitoring.org/project/20165 | 3.5.2 | 3.9.0 | python-jedi | DISTRO | https://release-monitoring.org/project/03893 | 0.18.2 | 0.19.0 | python-jsonschema | DISTRO | https://release-monitoring.org/project/03898 | 4.17.3 | 4.19.1 | python-keyring | DISTRO | https://release-monitoring.org/project/03901 | 23.13.1 | 24.2.0 | python-kiwisolver | DISTRO | https://release-monitoring.org/project/16910 | 1.4.4 | 1.4.5 | python-lark | DISTRO | https://release-monitoring.org/project/140595 | 1.1.5 | 1.1.7 | python-lmdb | DISTRO | https://release-monitoring.org/project/15512 | 1.4.0 | 1.4.1 | python-logbook | DISTRO | https://release-monitoring.org/project/20016 | 1.5.3 | 1.6.0 | python-m2crypto | DISTRO | https://release-monitoring.org/project/06599 | 0.38.0 | 0.39.0 | python-markdown | DISTRO | https://release-monitoring.org/project/03916 | 3.4.1 | 3.4.4 | python-markdown2 | DISTRO | https://release-monitoring.org/project/03917 | 2.4.6 | 2.4.10 | python-marshmallow | DISTRO | https://release-monitoring.org/project/08079 | 3.19.0 | 3.20.1 | python-matplotlib | DISTRO | https://release-monitoring.org/project/03919 | 3.4.3 | 3.8.0 | python-maturin | DISTRO | https://release-monitoring.org/project/42653 | 1.1.0 | 1.2.3 | python-mbstrdecoder | DISTRO | https://release-monitoring.org/project/21702 | 1.1.1 | 1.1.3 | python-mistune | DISTRO | https://release-monitoring.org/project/06189 | 2.0.4 | 3.0.2 | python-modbus-tk | DISTRO | https://release-monitoring.org/project/22813 | 1.1.2 | 1.1.3 | python-more-itertools | DISTRO | https://release-monitoring.org/project/12201 | 9.0.0 | 10.1.0 | python-msgfy | DISTRO | https://release-monitoring.org/project/29716 | 0.2.0 | 0.2.1 | python-msgpack | DISTRO | https://release-monitoring.org/project/21831 | 1.0.5 | 1.0.7 | python-munch | DISTRO | https://release-monitoring.org/project/06177 | 2.5.0 | 4.0.0 | python-mutagen | DISTRO | https://release-monitoring.org/project/03931 | 1.46.0 | 1.47.0 | python-mypy-extensions | DISTRO | https://release-monitoring.org/project/23367 | 0.4.3 | 1.0.0 | python-netaddr | DISTRO | https://release-monitoring.org/project/05586 | 0.8.0 | 0.9.0 | python-networkx | DISTRO | https://release-monitoring.org/project/07791 | 3.0 | 3.1 | python-numpy | DISTRO | https://release-monitoring.org/project/02509 | 1.25.0 | 1.26.0b1 | python-opcua-asyncio | DISTRO | https://release-monitoring.org/project/131612 | 1.0.1 | 1.05a1 | python-orjson | DISTRO | https://release-monitoring.org/project/31737 | 3.9.2 | 3.9.7 | python-packaging | DISTRO | https://release-monitoring.org/project/11718 | 23.1 | 23.2 | python-paramiko | DISTRO | https://release-monitoring.org/project/03954 | 2.12.0 | 3.3.1 | python-pathspec | DISTRO | https://release-monitoring.org/project/15607 | 0.10.3 | 0.11.2 | python-pathvalidate | DISTRO | https://release-monitoring.org/project/21704 | 2.5.2 | 3.2.0 | python-pbr | DISTRO | https://release-monitoring.org/project/03960 | 5.11.0 | 5.11.1 | python-periphery | DISTRO | https://release-monitoring.org/project/21705 | 2.3.0 | 2.4.1 | python-pip | DISTRO | https://release-monitoring.org/project/06529 | 22.3.1 | 23.2.1 | python-portend | DISTRO | https://release-monitoring.org/project/20203 | 3.1.0 | 3.2.0 | python-prompt-toolkit | DISTRO | https://release-monitoring.org/project/08742 | 3.0.36 | 3.0.39 | python-protobuf | DISTRO | https://release-monitoring.org/project/03715 | 21.12 | 24.3 | python-psutil | DISTRO | https://release-monitoring.org/project/03978 | 5.9.4 | 5.9.5 | python-psycopg2 | DISTRO | https://release-monitoring.org/project/03979 | 2.9.5 | 2.9.8 | python-pyasn1-modules | DISTRO | https://release-monitoring.org/project/11987 | 0.2.8 | 0.3.0 | python-pycairo | DISTRO | https://release-monitoring.org/project/13166 | 1.23.0 | 1.25.0 | python-pycryptodomex | DISTRO | https://release-monitoring.org/project/36851 | 3.18.0 | 3.19.0 | python-pydantic | DISTRO | https://release-monitoring.org/project/29768 | 1.10.8 | 2.4.2 | python-pydyf | DISTRO | https://release-monitoring.org/project/179112 | 0.7.0 | 0.8.0 | python-pyelftools | DISTRO | https://release-monitoring.org/project/16219 | 0.29 | 0.30 | python-pygame | DISTRO | https://release-monitoring.org/project/17480 | d61ea8eabd56 | 2.5.2 | python-pygments | DISTRO | https://release-monitoring.org/project/03986 | 2.15.1 | 2.16.1 | python-pyjwt | DISTRO | https://release-monitoring.org/project/05653 | 2.7.0 | 2.8.0 | python-pylibftdi | DISTRO | https://release-monitoring.org/project/21583 | 0.20.0 | 0.21.0 | python-pymodbus | DISTRO | https://release-monitoring.org/project/15600 | 3.0.2 | 3.5.2 | python-pymupdf | DISTRO | https://release-monitoring.org/project/17320 | 1.22.0 | 1.23.4 | python-pymysql | DISTRO | https://release-monitoring.org/project/07284 | 1.0.2 | 1.1.0 | python-pyopenssl | DISTRO | https://release-monitoring.org/project/05535 | 23.0.0 | 23.2.0 | python-pyparsing | DISTRO | https://release-monitoring.org/project/03756 | 3.1.0 | 3.1.1 | python-pyparted | DISTRO | https://release-monitoring.org/project/15558 | 3.12.0 | 3.13.0 | python-pyqt5 | DISTRO | https://release-monitoring.org/project/20104 | 5.15.6 | 5.15.9 | python-pyroute2 | DISTRO | https://release-monitoring.org/project/20081 | 0.7.3 | 0.7.9 | python-pysmb | DISTRO | https://release-monitoring.org/project/21589 | 1.2.9 | 1.2.9.1 | python-pyspnego | DISTRO | https://release-monitoring.org/project/107092 | 0.7.0 | 0.10.1 | python-pytablereader | DISTRO | https://release-monitoring.org/project/21592 | 0.31.3 | 0.31.4 | python-pytablewriter | DISTRO | https://release-monitoring.org/project/21593 | 0.64.2 | 1.1.0 | python-pythran | DISTRO | https://release-monitoring.org/project/21140 | 0.13.1 | 0.14.0 | python-pytz | DISTRO | https://release-monitoring.org/project/06537 | 2023.3 | 2023.3.post1 | python-pyudev | DISTRO | https://release-monitoring.org/project/08485 | 0.24.0 | 0.24.1 | python-pyzmq | DISTRO | https://release-monitoring.org/project/04104 | 24.0.1 | 25.1.1b2 | python-qrcode | DISTRO | https://release-monitoring.org/project/20011 | 7.3.1 | 7.4.2 | python-redis | DISTRO | https://release-monitoring.org/project/03992 | 4.5.5 | 5.0.1 | python-regex | DISTRO | https://release-monitoring.org/project/05548 | 2022.10.31 | 2023.8.8 | python-requests-toolbelt | DISTRO | https://release-monitoring.org/project/05665 | 0.10.1 | 1.0.0 | python-rpds-py | DISTRO | https://release-monitoring.org/project/368622 | 0.9.2 | 0.10.3 | python-rtoml | DISTRO | https://release-monitoring.org/project/62048 | 0.8.0 | 0.9.0 | python-rtslib-fb | DISTRO | https://release-monitoring.org/project/19641 | 2.1.74 | 2.2 | python-ruamel-yaml | DISTRO | https://release-monitoring.org/project/66067 | 0.17.21 | 0.17.33 | python-s3transfer | DISTRO | https://release-monitoring.org/project/10428 | 0.6.0 | 0.7.0 | python-schedule | DISTRO | https://release-monitoring.org/project/21600 | 1.1.0 | 1.2.1 | python-scipy | DISTRO | https://release-monitoring.org/project/04768 | 1.11.0 | 1.11.3 | python-selenium | DISTRO | https://release-monitoring.org/project/05645 | 4.9.1 | 4.13.0 | python-semver | DISTRO | https://release-monitoring.org/project/12989 | 2.13.0 | 3.0.1 | python-sentry-sdk | DISTRO | https://release-monitoring.org/project/21603 | 1.12.1 | 1.31.0 | python-service-identity | DISTRO | https://release-monitoring.org/project/07917 | 21.1.0 | 23.1.0 | python-setuptools | DISTRO | https://release-monitoring.org/project/04021 | 68.0.0 | 68.2.2 | python-setuptools-rust | DISTRO | https://release-monitoring.org/project/122284 | 1.6.0 | 1.7.0 | python-setuptools-scm | DISTRO | https://release-monitoring.org/project/07874 | 7.1.0 | 8.0.3 | python-setuptools-scm-git-a... | DISTRO | https://release-monitoring.org/project/28329 | 1.4 | 1.4.1 | python-sh | DISTRO | https://release-monitoring.org/project/10429 | 1.14.3 | 2.0.6 | python-simplejson | DISTRO | https://release-monitoring.org/project/04026 | 3.18.1 | 3.19.1 | python-simplesqlite | DISTRO | https://release-monitoring.org/project/21608 | 1.3.0 | 1.4.0 | python-sip | DISTRO | https://release-monitoring.org/project/13626 | 4.19.25 | 6.7.11 | python-smbprotocol | DISTRO | https://release-monitoring.org/project/47981 | 1.10.1 | 1.11.0 | python-smmap2 | DISTRO | https://release-monitoring.org/project/12729 | 5.0.0 | 6.0.0 | python-socketio | DISTRO | https://release-monitoring.org/project/21611 | 5.7.2 | 5.9.0 | python-soupsieve | DISTRO | https://release-monitoring.org/project/27570 | 2.3.2.post1 | 2.5 | python-sqlalchemy | DISTRO | https://release-monitoring.org/project/04034 | 1.4.42 | 2.0.21 | python-sqlparse | DISTRO | https://release-monitoring.org/project/04038 | 0.4.3 | 0.4.4 | python-stack-data | DISTRO | https://release-monitoring.org/project/90020 | 0.6.2 | 0.6.3 | python-systemd | DISTRO | https://release-monitoring.org/project/07314 | 234 | 235 | python-tabledata | DISTRO | https://release-monitoring.org/project/21613 | 1.3.0 | 1.3.3 | python-tempora | DISTRO | https://release-monitoring.org/project/21225 | 5.2.0 | 5.5.0 | python-termcolor | DISTRO | https://release-monitoring.org/project/10198 | 2.2.0 | 2.3.0 | python-tinyrpc | DISTRO | https://release-monitoring.org/project/12824 | 1.1.4 | 1.1.7 | python-tornado | DISTRO | https://release-monitoring.org/project/07498 | 6.2 | 6.3.3 | python-tqdm | DISTRO | https://release-monitoring.org/project/11524 | 4.64.1 | 4.66.1 | python-traitlets | DISTRO | https://release-monitoring.org/project/12211 | 5.8.0 | 5.10.1 | python-trio | DISTRO | https://release-monitoring.org/project/17451 | 0.22.0 | 0.22.2 | python-trio-websocket | DISTRO | https://release-monitoring.org/project/136283 | 0.9.2 | 0.11.1 | python-twisted | DISTRO | https://release-monitoring.org/project/04071 | 22.10.0 | 23.8.0 | python-txtorcon | DISTRO | https://release-monitoring.org/project/19661 | 22.0.0 | 23.5.0 | python-typeguard | DISTRO | https://release-monitoring.org/project/38819 | 2.13.3 | 4.1.5 | python-typepy | DISTRO | https://release-monitoring.org/project/21617 | 1.3.0 | 1.3.1 | python-typing-extensions | DISTRO | https://release-monitoring.org/project/19755 | 4.7.1 | 4.8.0 | python-typing-inspect | DISTRO | https://release-monitoring.org/project/209826 | 0.8.0 | 0.9.0 | python-u-msgpack | DISTRO | https://release-monitoring.org/project/19764 | 2.7.2 | 2.8.0 | python-ujson | DISTRO | https://release-monitoring.org/project/04076 | 5.7.0 | 5.8.0 | python-urllib3 | DISTRO | https://release-monitoring.org/project/04078 | 2.0.4 | 2.0.5 | python-urwid | DISTRO | https://release-monitoring.org/project/04079 | 2.1.2 | 2.2.2 | python-validators | DISTRO | https://release-monitoring.org/project/19818 | 0.20.0 | 0.22.0 | python-watchdog | DISTRO | https://release-monitoring.org/project/05341 | 2.2.1 | 3.0.0 | python-wcwidth | DISTRO | https://release-monitoring.org/project/08743 | 0.2.5 | 0.2.8 | python-weasyprint | DISTRO | https://release-monitoring.org/project/11057 | 59.0 | 60.1 | python-webargs | DISTRO | https://release-monitoring.org/project/24711 | 8.2.0 | 8.3.0 | python-websocket-client | DISTRO | https://release-monitoring.org/project/07288 | 1.4.2 | 1.6.3 | python-websockets | DISTRO | https://release-monitoring.org/project/08100 | 10.4 | 11.0.3 | python-werkzeug | DISTRO | https://release-monitoring.org/project/04092 | 2.3.6 | 3.0.0 | python-wheel | DISTRO | https://release-monitoring.org/project/11428 | 0.40.0 | 0.41.2 | python-wrapt | DISTRO | https://release-monitoring.org/project/06108 | 1.14.1 | 1.15.0 | python-wsaccel | DISTRO | https://release-monitoring.org/project/07278 | 0.6.4 | 0.6.6 | python-xlib | DISTRO | https://release-monitoring.org/project/12180 | 0.32 | 0.33 | python-xlsxwriter | DISTRO | https://release-monitoring.org/project/12031 | 3.0.6 | 3.1.6 | python-yatl | DISTRO | https://release-monitoring.org/project/50636 | 20220907.1 | 20230507.3 | python-zc-lockfile | DISTRO | https://release-monitoring.org/project/04100 | 2.0 | 3.0.post1 | python-zeroconf | DISTRO | https://release-monitoring.org/project/12681 | 0.39.4 | 0.115.1 | python-zlmdb | DISTRO | https://release-monitoring.org/project/66674 | 22.6.1 | 23.1.1 | python-zope-interface | DISTRO | https://release-monitoring.org/project/04112 | 5.5.2 | 6.1a2 | python-zopfli | DISTRO | https://release-monitoring.org/project/50016 | 0.2.2 | 0.2.3 | qcom-db410c-firmware | DISTRO | https://release-monitoring.org/project/235382 | 1034.2.1 | 1036.1 | qemu | DISTRO | https://release-monitoring.org/project/13607 | 8.1.0 | 8.1.1 | qlibc | DISTRO | https://release-monitoring.org/project/21737 | 2.4.7 | 2.5.0 | ORPH qpdf | DISTRO | https://release-monitoring.org/project/05542 | 10.5.0 | 11.6.1 | qpid-proton | DISTRO | https://release-monitoring.org/project/15198 | 0.35.0 | 0.39.0 | qt5coap | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.5.3 | qt5knx | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.5.3 | qt5mqtt | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.5.3 | qt5opcua | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.5.3 | qt5webengine | DISTRO | https://release-monitoring.org/project/07927 | 5.15.10 | 6.5.3 | qt6base | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qt6core5compat | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qt6serialbus | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qt6serialport | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qt6svg | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qwt | DISTRO | https://release-monitoring.org/project/04147 | 6.1.6 | 6.2.0 | ORPH rabbitmq-c | DISTRO | https://release-monitoring.org/project/13768 | 0.11.0 | 0.13.0 | ragel | DISTRO | https://release-monitoring.org/project/12105 | 6.10 | 7.0.4 | ORPH ranger | DISTRO | https://release-monitoring.org/project/07426 | 1.7.2 | 1.9.3 | raspberrypi-usbboot | DISTRO | https://release-monitoring.org/project/115700 | 2021.07.01 | 20221215-... | ORPH rauc | DISTRO | https://release-monitoring.org/project/20626 | 1.10 | 1.10.1 | rdma-core | DISTRO | https://release-monitoring.org/project/12907 | 47.0 | 48.0 | re2 | DISTRO | https://release-monitoring.org/project/10500 | 2023-02-01 | 2023-09-01 | redis | DISTRO | https://release-monitoring.org/project/04181 | 7.0.11 | 7.2.1 | restorecond | DISTRO | https://release-monitoring.org/project/16520 | 3.5 | 20200710 | ORPH rhash | DISTRO | https://release-monitoring.org/project/13843 | 1.4.3 | 1.4.4 | ORPH riemann-c-client | DISTRO | https://release-monitoring.org/project/21389 | 1.10.5 | 2.0.1 | ORPH rocksdb | DISTRO | https://release-monitoring.org/project/15560 | 6.20.3 | 8.5.4 | rp-pppoe | DISTRO | https://release-monitoring.org/project/04209 | 3.15 | 4.0 | ORPH rsyslog | DISTRO | https://release-monitoring.org/project/04218 | 8.2204.1 | 8.2308.0 | ORPH ruby | DISTRO | https://release-monitoring.org/project/04223 | 3.1.3 | 3.2.2 | runc | DISTRO | https://release-monitoring.org/project/07462 | 1.1.7 | 1.1.9 | rust | DISTRO | https://release-monitoring.org/project/07635 | 1.71.1 | 1.72.1 | rust-bin | DISTRO | https://release-monitoring.org/project/07635 | 1.71.1 | 1.72.1 | rust-bindgen | DISTRO | https://release-monitoring.org/project/17910 | 0.65.1 | 0.68.1 | rygel | DISTRO | https://release-monitoring.org/project/04751 | 0.40.2 | 0.42.4 | s6 | DISTRO | https://release-monitoring.org/project/05485 | 2.11.1.2 | 2.11.3.2 | s6-dns | DISTRO | https://release-monitoring.org/project/16547 | 2.3.5.4 | 2.3.5.5 | s6-linux-init | DISTRO | https://release-monitoring.org/project/16552 | 1.0.8.0 | 1.1.1.1 | s6-linux-utils | DISTRO | https://release-monitoring.org/project/16551 | 2.6.0.0 | 2.6.1.2 | s6-networking | DISTRO | https://release-monitoring.org/project/16550 | 2.5.1.1 | 2.5.1.3 | s6-portable-utils | DISTRO | https://release-monitoring.org/project/16549 | 2.2.5.0 | 2.3.0.2 | s6-rc | DISTRO | https://release-monitoring.org/project/16548 | 0.5.3.2 | 0.5.4.1 | safeclib | DISTRO | https://release-monitoring.org/project/21385 | 3.7.1 | 01022022 | samba4 | DISTRO | https://release-monitoring.org/project/04758 | 4.18.7 | 4.19.0 | sane-backends | DISTRO | https://release-monitoring.org/project/04760 | 1.1.1 | 1.2.1 | scons | DISTRO | https://release-monitoring.org/project/04770 | 3.1.2 | 4.5.2 | scrypt | DISTRO | https://release-monitoring.org/project/21238 | 1.3.1 | 1.3.2 | sdl2 | DISTRO | https://release-monitoring.org/project/04779 | 2.28.3 | 2.28.4 | sdl_gfx | DISTRO | https://release-monitoring.org/project/04778 | 2.0.23 | 2.0.25 | ORPH sdl_sound | DISTRO | https://release-monitoring.org/project/10262 | 1.0.3 | 2.0.2 | ORPH sdparm | DISTRO | https://release-monitoring.org/project/04787 | 1.10 | 1.12 | sentry-cli | DISTRO | https://release-monitoring.org/project/135642 | 2.20.3 | 2.21.1 | sentry-native | DISTRO | https://release-monitoring.org/project/135639 | 0.4.1 | 0.6.5 | ser2net | DISTRO | https://release-monitoring.org/project/21655 | 4.3.8 | 4.5.0 | serd | DISTRO | https://release-monitoring.org/project/230531 | 0.30.14 | 0.30.16 | setools | DISTRO | https://release-monitoring.org/project/08951 | 4.4.2 | 4.4.3 | ORPH shadow | DISTRO | https://release-monitoring.org/project/04802 | 4.13 | 4.14.0 | shairport-sync | DISTRO | https://release-monitoring.org/project/21384 | 3.3.9 | 4.3.1 | ORPH shared-mime-info | DISTRO | https://release-monitoring.org/project/05524 | 1.12 | 2.2 | ORPH shim | DISTRO | https://release-monitoring.org/project/10719 | 15.4 | 15.7 | signal-estimator | DISTRO | https://release-monitoring.org/project/284559 | v0.0.4 | 0.0.7 | ORPH sispmctl | DISTRO | https://release-monitoring.org/project/21653 | 4.9 | 4.11 | skalibs | DISTRO | https://release-monitoring.org/project/05486 | 2.12.0.1 | 2.13.1.1 | slirp4netns | DISTRO | https://release-monitoring.org/project/96795 | 1.2.0 | 1.2.2 | smartmontools | DISTRO | https://release-monitoring.org/project/04835 | 7.3 | 7.4 | ORPH snmppp | DISTRO | https://release-monitoring.org/project/21318 | 3.5.0 | 3.5.1 | snort3 | DISTRO | https://release-monitoring.org/project/13263 | 3.1.40.0 | 3.1.71.0 | softether | DISTRO | https://release-monitoring.org/project/21383 | 4.30-9700... | 4.42-9798... | ORPH sord | DISTRO | https://release-monitoring.org/project/230536 | 0.16.12 | 0.16.14 | sound-theme-freedesktop | DISTRO | https://release-monitoring.org/project/10152 | 0.7 | 0.8 | spandsp | DISTRO | https://release-monitoring.org/project/12600 | 3.0.0-6ec... | 3.0.0 | spawn-fcgi | DISTRO | https://release-monitoring.org/project/05388 | 1.6.4 | 1.6.5 | ORPH sphinxbase | DISTRO | https://release-monitoring.org/project/20548 | 5prealpha | 0.8 | spice | DISTRO | https://release-monitoring.org/project/04871 | 0.15.0 | 0.15.2 | sqlcipher | DISTRO | https://release-monitoring.org/project/11213 | 4.5.1 | 4.5.5 | squid | DISTRO | https://release-monitoring.org/project/04880 | 6.2 | 6.3 | ORPH sslh | DISTRO | https://release-monitoring.org/project/06184 | 1.22c | 2.0.1 | start-stop-daemon | DISTRO | https://release-monitoring.org/project/08127 | 1.20.7.1 | 1.22.0 | ORPH stellarium | DISTRO | https://release-monitoring.org/project/04891 | 23.2 | 23.3 | stress | DISTRO | https://release-monitoring.org/project/08048 | 1.0.5 | 1.0.7 | stress-ng | DISTRO | https://release-monitoring.org/project/12538 | 0.15.07 | 0.16.05 | stunnel | DISTRO | https://release-monitoring.org/project/04901 | 5.65 | 5.71 | supervisor | DISTRO | https://release-monitoring.org/project/16289 | 4.2.2 | 4.2.5 | ORPH suricata | DISTRO | https://release-monitoring.org/project/10925 | 6.0.14 | 7.0.1 | sway | DISTRO | https://release-monitoring.org/project/11497 | 1.7 | 1.8.1 | synergy | DISTRO | https://release-monitoring.org/project/05718 | 2.0.12-beta | 2.3.2 | sysdig | DISTRO | https://release-monitoring.org/project/16898 | 0.29.3 | 0.33.1 | syslog-ng | DISTRO | https://release-monitoring.org/project/04930 | 4.3.1 | 4.4.0 | sysprof | DISTRO | https://release-monitoring.org/project/21649 | 1.2.0 | 45.0 | sysrepo | DISTRO | https://release-monitoring.org/project/34820 | 2.2.36 | 2.2.105 | sysstat | DISTRO | https://release-monitoring.org/project/04931 | 12.6.1 | 12.6.2 | ORPH system-config-printer | DISTRO | https://release-monitoring.org/project/08855 | 1.5.15 | 1.5.18 | ORPH systemd | DISTRO | https://release-monitoring.org/project/05440 | 254 | 254.5 | systemd-bootchart | DISTRO | https://release-monitoring.org/project/11774 | 233 | 234 | sysvinit | DISTRO | https://release-monitoring.org/project/21648 | 2.99 | 3.04 | ORPH targetcli-fb | DISTRO | https://release-monitoring.org/project/09174 | 2.1.54 | 2.1.56 | tbb | DISTRO | https://release-monitoring.org/project/08217 | 2021.8.0 | 2021.10.0 | tcf-agent | DISTRO | https://release-monitoring.org/project/21833 | 1.7.0 | 1.8.0 | tclap | DISTRO | https://release-monitoring.org/project/04942 | 1.2.4 | 1.2.5 | ORPH tcping | DISTRO | https://release-monitoring.org/project/14881 | 1.3.6 | 2.1.0 | ORPH tcpreplay | DISTRO | https://release-monitoring.org/project/13716 | 4.4.2 | 4.4.4 | ORPH terminology | DISTRO | https://release-monitoring.org/project/04951 | 1.12.1 | 1.13.0 | tesseract-ocr | DISTRO | https://release-monitoring.org/project/04954 | 5.0.1 | 5.3.2 | thermald | DISTRO | https://release-monitoring.org/project/14500 | 2.5.1 | 2.5.4 | thrift | DISTRO | https://release-monitoring.org/project/05581 | 0.14.1 | 0.19.0 | ORPH tiff | DISTRO | https://release-monitoring.org/project/01738 | 4.5.1 | 4.6.0 | ORPH timescaledb | DISTRO | https://release-monitoring.org/project/17545 | 2.11.2 | 2.12.0 | tinifier | DISTRO | https://release-monitoring.org/project/241900 | 3.4.0 | 4.1.0 | tinyssh | DISTRO | https://release-monitoring.org/project/14678 | 20220801 | 20230101 | tinyxml | DISTRO | https://release-monitoring.org/project/10162 | 2.6.2_2 | 2.6.2 | ORPH tio | DISTRO | https://release-monitoring.org/project/20587 | 1.47 | 2.7 | tl-expected | DISTRO | https://release-monitoring.org/project/112689 | v1.0.0 | 1.1.0 | tpm-tools | DISTRO | https://release-monitoring.org/project/21640 | 1.3.9.1 | 1.3.9.2 | tpm2-abrmd | DISTRO | https://release-monitoring.org/project/16819 | 2.3.3 | 3.0.0 | ORPH tpm2-tools | DISTRO | https://release-monitoring.org/project/12841 | 5.2 | 5.5 | ORPH tpm2-totp | DISTRO | https://release-monitoring.org/project/18790 | 0.2.1 | 0.3.0 | tpm2-tss | DISTRO | https://release-monitoring.org/project/12683 | 3.2.2 | 4.0.1 | ORPH trace-cmd | DISTRO | https://release-monitoring.org/project/07873 | 2.9.7 | 3.2 | traceroute | DISTRO | https://release-monitoring.org/project/14877 | 2.1.0 | 2.1.3 | uboot-tools | DISTRO | https://release-monitoring.org/project/05022 | 2021.07 | 2023.07.02 | ORPH udpcast | DISTRO | https://release-monitoring.org/project/10206 | 20211207 | 20230924 | ORPH uftrace | DISTRO | https://release-monitoring.org/project/195039 | 0.12 | 0.14 | uhd | DISTRO | https://release-monitoring.org/project/12572 | 4.3.0.0 | 4.5.0.0 | unbound | DISTRO | https://release-monitoring.org/project/05042 | 1.17.1 | 1.18.0 | unionfs | DISTRO | https://release-monitoring.org/project/17617 | 2.1 | 3.4 | ORPH unrar | DISTRO | https://release-monitoring.org/project/13306 | 6.2.10 | 6.2.11 | ORPH upmpdcli | DISTRO | https://release-monitoring.org/project/15848 | 1.5.12 | 1.8.3 | ORPH upower | DISTRO | https://release-monitoring.org/project/05056 | 0.99.19 | 1.90.2 | vala | DISTRO | https://release-monitoring.org/project/05065 | 0.52.4 | 0.56.13 | ORPH valijson | DISTRO | https://release-monitoring.org/project/18452 | 0.7 | 1.0.1 | ORPH vde2 | DISTRO | https://release-monitoring.org/project/13642 | 2.3.2 | 2.3.3 | vdr | DISTRO | https://release-monitoring.org/project/05069 | 2.6.3 | 2.6.4 | ORPH vdr-plugin-vnsiserver | DISTRO | https://release-monitoring.org/project/05080 | 1.8.0 | 1.8.3 | ORPH vim | DISTRO | https://release-monitoring.org/project/05092 | 9.0.1903 | 9.0.1962 | ORPH vis-network | DISTRO | https://release-monitoring.org/project/270536 | 9.1.0 | 9.1.6 | vnstat | DISTRO | https://release-monitoring.org/project/07283 | 2.10 | 2.11 | vpnc | DISTRO | https://release-monitoring.org/project/15955 | 0.5.3r550... | 0.5.3 | ORPH vte | DISTRO | https://release-monitoring.org/project/10895 | 0.66.2 | 0.74.0 | ORPH vuejs | DISTRO | https://release-monitoring.org/project/89353 | 3.3.2 | 3.3.4 | vuejs-router | DISTRO | https://release-monitoring.org/project/234796 | 4.2.0 | 4.2.5 | vulkan-headers | DISTRO | https://release-monitoring.org/project/88835 | 1.3.262 | 1.3.266 | ORPH vulkan-loader | DISTRO | https://release-monitoring.org/project/230557 | 1.3.262 | 1.3.266 | vulkan-tools | DISTRO | https://release-monitoring.org/project/242111 | 1.3.262 | 1.3.266 | waf | DISTRO | https://release-monitoring.org/project/05116 | 2.0.24 | 2.0.26 | waffle | DISTRO | https://release-monitoring.org/project/21633 | 1.7.0 | 1.8.0 | wavpack | DISTRO | https://release-monitoring.org/project/05121 | 5.5.0 | 5.6.0 | ORPH webkitgtk | DISTRO | https://release-monitoring.org/project/05355 | 2.40.5 | 2.42.1 | webrtc-audio-processing | DISTRO | https://release-monitoring.org/project/15929 | 0.3.1 | 1.3 | ORPH weston | DISTRO | https://release-monitoring.org/project/13745 | 12.0.1 | 12.0.2 | whois | DISTRO | https://release-monitoring.org/project/05128 | 5.5.14 | 5.5.18 | wine | DISTRO | https://release-monitoring.org/project/05134 | 8.0.2 | 8.17 | wireless-regdb | DISTRO | https://release-monitoring.org/project/15257 | 2023.05.03 | 2023.09.01 | wireplumber | DISTRO | https://release-monitoring.org/project/235056 | 0.4.8 | 0.4.14 | ORPH wireshark | DISTRO | https://release-monitoring.org/project/05137 | 4.0.8 | 4.1.0 | ORPH wlroots | DISTRO | https://release-monitoring.org/project/18357 | 0.15.1 | 0.16.2 | wpewebkit | DISTRO | https://release-monitoring.org/project/17557 | 2.40.3 | 2.42.1 | wtfutil | DISTRO | https://release-monitoring.org/project/243189 | 0.41.0 | 0.43.0 | xapian | DISTRO | https://release-monitoring.org/project/15919 | 1.4.19 | 1.4.23 | xapp_fonttosfnt | DISTRO | https://release-monitoring.org/project/21723 | 1.2.2 | 1.2.3 | ORPH xapp_luit | DISTRO | https://release-monitoring.org/project/15047 | 1.1.1 | 20230201 | ORPH xcb-proto | DISTRO | https://release-monitoring.org/project/13646 | 1.15.2 | 1.16.0 | ORPH xdg-dbus-proxy | DISTRO | https://release-monitoring.org/project/58434 | 0.1.4 | 0.1.5 | xdriver_xf86-input-libinput | DISTRO | https://release-monitoring.org/project/05782 | 1.3.0 | 1.4.0 | ORPH xen | DISTRO | https://release-monitoring.org/project/05181 | 4.14.5 | 4.17.2 | xfont_font-adobe-utopia-75dpi | DISTRO | https://release-monitoring.org/project/17200 | 1.0.4 | 1.0.5 | ORPH xfont_font-util | DISTRO | https://release-monitoring.org/project/15055 | 1.4.0 | 1.4.1 | ORPH xinetd | DISTRO | https://release-monitoring.org/project/06382 | 2.3.15 | 2.3.15.4 | xkeyboard-config | DISTRO | https://release-monitoring.org/project/05191 | 2.38 | 2.39 | ORPH xorriso | DISTRO | https://release-monitoring.org/project/13270 | 1.5.4.pl02 | 1.5.6.pl02 | xscreensaver | DISTRO | https://release-monitoring.org/project/05269 | 6.03 | 6.07 | xtables-addons | DISTRO | https://release-monitoring.org/project/07736 | 3.22 | 3.24 | ORPH xterm | DISTRO | https://release-monitoring.org/project/05272 | 384 | 385 | ORPH xwayland | DISTRO | https://release-monitoring.org/project/180949 | 23.1.1 | 23.2.1 | yad | DISTRO | https://release-monitoring.org/project/05280 | 0.40.0 | 13.0 | yaml-cpp | DISTRO | https://release-monitoring.org/project/05284 | 0.7.0 | 0.8.0 | ORPH zabbix | DISTRO | https://release-monitoring.org/project/05492 | 6.2.7 | 6.4.7 | zchunk | DISTRO | https://release-monitoring.org/project/178035 | 1.2.2 | 1.3.1 | zeek | DISTRO | https://release-monitoring.org/project/267106 | 4.1.1 | 6.0.1 | zfs | DISTRO | https://release-monitoring.org/project/11706 | 2.1.12 | 2.1.13 | Packages having CVEs ==================== CVEs for the 'master' branch ---------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 asn1c | CVE-2020-23910 | https://security-tracker.debian.org/tracker/CVE-2020-23910 asn1c | CVE-2020-23911 | https://security-tracker.debian.org/tracker/CVE-2020-23911 assimp | CVE-2022-38528 | https://security-tracker.debian.org/tracker/CVE-2022-38528 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-3807 | https://security-tracker.debian.org/tracker/CVE-2022-3807 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2023-1972 | https://security-tracker.debian.org/tracker/CVE-2023-1972 binutils | CVE-2023-25584 | https://security-tracker.debian.org/tracker/CVE-2023-25584 binutils | CVE-2023-25585 | https://security-tracker.debian.org/tracker/CVE-2023-25585 binutils | CVE-2023-25586 | https://security-tracker.debian.org/tracker/CVE-2023-25586 binutils | CVE-2023-25588 | https://security-tracker.debian.org/tracker/CVE-2023-25588 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bitcoin | CVE-2023-33297 | https://security-tracker.debian.org/tracker/CVE-2023-33297 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 bwm-ng | CVE-2023-26129 | https://security-tracker.debian.org/tracker/CVE-2023-26129 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2023-4504 | https://security-tracker.debian.org/tracker/CVE-2023-4504 cups-filters | CVE-2023-24805 | https://security-tracker.debian.org/tracker/CVE-2023-24805 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 dht | CVE-2020-36562 | https://security-tracker.debian.org/tracker/CVE-2020-36562 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 dracut | CVE-2010-4176 | https://security-tracker.debian.org/tracker/CVE-2010-4176 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 emlog | CVE-2022-1526 | https://security-tracker.debian.org/tracker/CVE-2022-1526 emlog | CVE-2022-3968 | https://security-tracker.debian.org/tracker/CVE-2022-3968 emlog | CVE-2023-43291 | https://security-tracker.debian.org/tracker/CVE-2023-43291 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2022-3109 | https://security-tracker.debian.org/tracker/CVE-2022-3109 ffmpeg | CVE-2022-3341 | https://security-tracker.debian.org/tracker/CVE-2022-3341 ffmpeg | CVE-2022-3964 | https://security-tracker.debian.org/tracker/CVE-2022-3964 ffmpeg | CVE-2022-48434 | https://security-tracker.debian.org/tracker/CVE-2022-48434 freeradius-server | CVE-2002-0318 | https://security-tracker.debian.org/tracker/CVE-2002-0318 freeradius-server | CVE-2011-4966 | https://security-tracker.debian.org/tracker/CVE-2011-4966 ghostscript | CVE-2023-38559 | https://security-tracker.debian.org/tracker/CVE-2023-38559 ghostscript | CVE-2023-38560 | https://security-tracker.debian.org/tracker/CVE-2023-38560 giflib | CVE-2022-28506 | https://security-tracker.debian.org/tracker/CVE-2022-28506 giflib | CVE-2023-39742 | https://security-tracker.debian.org/tracker/CVE-2023-39742 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 glibc | CVE-2023-4527 | https://security-tracker.debian.org/tracker/CVE-2023-4527 glibc | CVE-2023-5156 | https://security-tracker.debian.org/tracker/CVE-2023-5156 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 gnupg | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 gnupg | CVE-2022-34903 | https://security-tracker.debian.org/tracker/CVE-2022-34903 gnupg2 | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grpc | CVE-2023-1428 | https://security-tracker.debian.org/tracker/CVE-2023-1428 grpc | CVE-2023-32732 | https://security-tracker.debian.org/tracker/CVE-2023-32732 grpc | CVE-2023-33953 | https://security-tracker.debian.org/tracker/CVE-2023-33953 grpc | CVE-2023-4785 | https://security-tracker.debian.org/tracker/CVE-2023-4785 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2023-0056 | https://security-tracker.debian.org/tracker/CVE-2023-0056 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-5118 | https://security-tracker.debian.org/tracker/CVE-2016-5118 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 imagemagick | CVE-2023-1289 | https://security-tracker.debian.org/tracker/CVE-2023-1289 imagemagick | CVE-2023-2157 | https://security-tracker.debian.org/tracker/CVE-2023-2157 imagemagick | CVE-2023-34151 | https://security-tracker.debian.org/tracker/CVE-2023-34151 imagemagick | CVE-2023-34152 | https://security-tracker.debian.org/tracker/CVE-2023-34152 imagemagick | CVE-2023-34153 | https://security-tracker.debian.org/tracker/CVE-2023-34153 imagemagick | CVE-2023-34474 | https://security-tracker.debian.org/tracker/CVE-2023-34474 imagemagick | CVE-2023-34475 | https://security-tracker.debian.org/tracker/CVE-2023-34475 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 kvmtool | CVE-2021-45464 | https://security-tracker.debian.org/tracker/CVE-2021-45464 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libfreeimage | CVE-2020-21426 | https://security-tracker.debian.org/tracker/CVE-2020-21426 libfreeimage | CVE-2020-21427 | https://security-tracker.debian.org/tracker/CVE-2020-21427 libfreeimage | CVE-2020-21428 | https://security-tracker.debian.org/tracker/CVE-2020-21428 libfreeimage | CVE-2021-33367 | https://security-tracker.debian.org/tracker/CVE-2021-33367 libgtk2 | CVE-2014-1949 | https://security-tracker.debian.org/tracker/CVE-2014-1949 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libkrb5 | CVE-2023-36054 | https://security-tracker.debian.org/tracker/CVE-2023-36054 libkrb5 | CVE-2023-39975 | https://security-tracker.debian.org/tracker/CVE-2023-39975 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libmpeg2 | CVE-2022-37416 | https://security-tracker.debian.org/tracker/CVE-2022-37416 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libraw | CVE-2020-22628 | https://security-tracker.debian.org/tracker/CVE-2020-22628 libsndfile | CVE-2022-33065 | https://security-tracker.debian.org/tracker/CVE-2022-33065 libtommath | CVE-2023-36328 | https://security-tracker.debian.org/tracker/CVE-2023-36328 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 libvirt | CVE-2023-3750 | https://security-tracker.debian.org/tracker/CVE-2023-3750 lrzip | CVE-2022-33067 | https://security-tracker.debian.org/tracker/CVE-2022-33067 lrzip | CVE-2023-39741 | https://security-tracker.debian.org/tracker/CVE-2023-39741 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 mbedtls | CVE-2021-36647 | https://security-tracker.debian.org/tracker/CVE-2021-36647 mbedtls | CVE-2021-43666 | https://security-tracker.debian.org/tracker/CVE-2021-43666 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mdadm | CVE-2023-28736 | https://security-tracker.debian.org/tracker/CVE-2023-28736 mdadm | CVE-2023-28938 | https://security-tracker.debian.org/tracker/CVE-2023-28938 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 nasm | CVE-2022-46456 | https://security-tracker.debian.org/tracker/CVE-2022-46456 netdata | CVE-2023-22496 | https://security-tracker.debian.org/tracker/CVE-2023-22496 netdata | CVE-2023-22497 | https://security-tracker.debian.org/tracker/CVE-2023-22497 netsnmp | CVE-2022-44792 | https://security-tracker.debian.org/tracker/CVE-2022-44792 netsnmp | CVE-2022-44793 | https://security-tracker.debian.org/tracker/CVE-2022-44793 ninja | CVE-2021-4336 | https://security-tracker.debian.org/tracker/CVE-2021-4336 nodejs | CVE-2023-32002 | https://security-tracker.debian.org/tracker/CVE-2023-32002 nodejs | CVE-2023-32006 | https://security-tracker.debian.org/tracker/CVE-2023-32006 nodejs | CVE-2023-32559 | https://security-tracker.debian.org/tracker/CVE-2023-32559 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 open-iscsi | CVE-2020-13987 | https://security-tracker.debian.org/tracker/CVE-2020-13987 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 opencv3 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 opencv4 | CVE-2023-2617 | https://security-tracker.debian.org/tracker/CVE-2023-2617 opencv4 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openldap | CVE-2022-29155 | https://security-tracker.debian.org/tracker/CVE-2022-29155 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 openvmtools | CVE-2014-4199 | https://security-tracker.debian.org/tracker/CVE-2014-4199 openvmtools | CVE-2014-4200 | https://security-tracker.debian.org/tracker/CVE-2014-4200 openvmtools | CVE-2021-31693 | https://security-tracker.debian.org/tracker/CVE-2021-31693 openvmtools | CVE-2022-22943 | https://security-tracker.debian.org/tracker/CVE-2022-22943 openvmtools | CVE-2022-31693 | https://security-tracker.debian.org/tracker/CVE-2022-31693 openvmtools | CVE-2023-20867 | https://security-tracker.debian.org/tracker/CVE-2023-20867 openvmtools | CVE-2023-20900 | https://security-tracker.debian.org/tracker/CVE-2023-20900 opus | CVE-2022-25345 | https://security-tracker.debian.org/tracker/CVE-2022-25345 oracle-mysql | CVE-2012-0583 | https://security-tracker.debian.org/tracker/CVE-2012-0583 oracle-mysql | CVE-2012-1696 | https://security-tracker.debian.org/tracker/CVE-2012-1696 oracle-mysql | CVE-2012-3144 | https://security-tracker.debian.org/tracker/CVE-2012-3144 oracle-mysql | CVE-2012-3147 | https://security-tracker.debian.org/tracker/CVE-2012-3147 oracle-mysql | CVE-2012-3149 | https://security-tracker.debian.org/tracker/CVE-2012-3149 oracle-mysql | CVE-2012-3156 | https://security-tracker.debian.org/tracker/CVE-2012-3156 oracle-mysql | CVE-2012-4414 | https://security-tracker.debian.org/tracker/CVE-2012-4414 oracle-mysql | CVE-2013-1566 | https://security-tracker.debian.org/tracker/CVE-2013-1566 oracle-mysql | CVE-2013-1567 | https://security-tracker.debian.org/tracker/CVE-2013-1567 oracle-mysql | CVE-2013-1570 | https://security-tracker.debian.org/tracker/CVE-2013-1570 oracle-mysql | CVE-2013-2381 | https://security-tracker.debian.org/tracker/CVE-2013-2381 oracle-mysql | CVE-2013-2395 | https://security-tracker.debian.org/tracker/CVE-2013-2395 oracle-mysql | CVE-2013-3795 | https://security-tracker.debian.org/tracker/CVE-2013-3795 oracle-mysql | CVE-2013-3796 | https://security-tracker.debian.org/tracker/CVE-2013-3796 oracle-mysql | CVE-2013-3798 | https://security-tracker.debian.org/tracker/CVE-2013-3798 oracle-mysql | CVE-2013-3806 | https://security-tracker.debian.org/tracker/CVE-2013-3806 oracle-mysql | CVE-2013-3807 | https://security-tracker.debian.org/tracker/CVE-2013-3807 oracle-mysql | CVE-2013-3810 | https://security-tracker.debian.org/tracker/CVE-2013-3810 oracle-mysql | CVE-2013-3811 | https://security-tracker.debian.org/tracker/CVE-2013-3811 oracle-mysql | CVE-2013-5767 | https://security-tracker.debian.org/tracker/CVE-2013-5767 oracle-mysql | CVE-2013-5770 | https://security-tracker.debian.org/tracker/CVE-2013-5770 oracle-mysql | CVE-2013-5786 | https://security-tracker.debian.org/tracker/CVE-2013-5786 oracle-mysql | CVE-2013-5793 | https://security-tracker.debian.org/tracker/CVE-2013-5793 oracle-mysql | CVE-2013-5860 | https://security-tracker.debian.org/tracker/CVE-2013-5860 oracle-mysql | CVE-2013-5881 | https://security-tracker.debian.org/tracker/CVE-2013-5881 oracle-mysql | CVE-2013-5882 | https://security-tracker.debian.org/tracker/CVE-2013-5882 oracle-mysql | CVE-2013-5894 | https://security-tracker.debian.org/tracker/CVE-2013-5894 oracle-mysql | CVE-2014-0427 | https://security-tracker.debian.org/tracker/CVE-2014-0427 oracle-mysql | CVE-2014-0430 | https://security-tracker.debian.org/tracker/CVE-2014-0430 oracle-mysql | CVE-2014-0431 | https://security-tracker.debian.org/tracker/CVE-2014-0431 oracle-mysql | CVE-2014-0433 | https://security-tracker.debian.org/tracker/CVE-2014-0433 oracle-mysql | CVE-2014-2434 | https://security-tracker.debian.org/tracker/CVE-2014-2434 oracle-mysql | CVE-2014-2435 | https://security-tracker.debian.org/tracker/CVE-2014-2435 oracle-mysql | CVE-2014-2442 | https://security-tracker.debian.org/tracker/CVE-2014-2442 oracle-mysql | CVE-2014-2444 | https://security-tracker.debian.org/tracker/CVE-2014-2444 oracle-mysql | CVE-2014-2450 | https://security-tracker.debian.org/tracker/CVE-2014-2450 oracle-mysql | CVE-2014-2451 | https://security-tracker.debian.org/tracker/CVE-2014-2451 oracle-mysql | CVE-2014-2484 | https://security-tracker.debian.org/tracker/CVE-2014-2484 oracle-mysql | CVE-2014-4214 | https://security-tracker.debian.org/tracker/CVE-2014-4214 oracle-mysql | CVE-2014-4233 | https://security-tracker.debian.org/tracker/CVE-2014-4233 oracle-mysql | CVE-2014-4238 | https://security-tracker.debian.org/tracker/CVE-2014-4238 oracle-mysql | CVE-2014-4240 | https://security-tracker.debian.org/tracker/CVE-2014-4240 oracle-mysql | CVE-2015-0385 | https://security-tracker.debian.org/tracker/CVE-2015-0385 oracle-mysql | CVE-2015-0405 | https://security-tracker.debian.org/tracker/CVE-2015-0405 oracle-mysql | CVE-2015-0409 | https://security-tracker.debian.org/tracker/CVE-2015-0409 oracle-mysql | CVE-2015-0423 | https://security-tracker.debian.org/tracker/CVE-2015-0423 oracle-mysql | CVE-2015-0438 | https://security-tracker.debian.org/tracker/CVE-2015-0438 oracle-mysql | CVE-2015-0439 | https://security-tracker.debian.org/tracker/CVE-2015-0439 oracle-mysql | CVE-2015-0498 | https://security-tracker.debian.org/tracker/CVE-2015-0498 oracle-mysql | CVE-2015-0500 | https://security-tracker.debian.org/tracker/CVE-2015-0500 oracle-mysql | CVE-2015-0503 | https://security-tracker.debian.org/tracker/CVE-2015-0503 oracle-mysql | CVE-2015-0506 | https://security-tracker.debian.org/tracker/CVE-2015-0506 oracle-mysql | CVE-2015-0507 | https://security-tracker.debian.org/tracker/CVE-2015-0507 oracle-mysql | CVE-2015-0508 | https://security-tracker.debian.org/tracker/CVE-2015-0508 oracle-mysql | CVE-2015-0511 | https://security-tracker.debian.org/tracker/CVE-2015-0511 oracle-mysql | CVE-2015-2566 | https://security-tracker.debian.org/tracker/CVE-2015-2566 oracle-mysql | CVE-2015-2567 | https://security-tracker.debian.org/tracker/CVE-2015-2567 oracle-mysql | CVE-2015-2611 | https://security-tracker.debian.org/tracker/CVE-2015-2611 oracle-mysql | CVE-2015-2617 | https://security-tracker.debian.org/tracker/CVE-2015-2617 oracle-mysql | CVE-2015-2639 | https://security-tracker.debian.org/tracker/CVE-2015-2639 oracle-mysql | CVE-2015-2641 | https://security-tracker.debian.org/tracker/CVE-2015-2641 oracle-mysql | CVE-2015-2661 | https://security-tracker.debian.org/tracker/CVE-2015-2661 oracle-mysql | CVE-2015-3152 | https://security-tracker.debian.org/tracker/CVE-2015-3152 oracle-mysql | CVE-2015-4730 | https://security-tracker.debian.org/tracker/CVE-2015-4730 oracle-mysql | CVE-2015-4756 | https://security-tracker.debian.org/tracker/CVE-2015-4756 oracle-mysql | CVE-2015-4761 | https://security-tracker.debian.org/tracker/CVE-2015-4761 oracle-mysql | CVE-2015-4766 | https://security-tracker.debian.org/tracker/CVE-2015-4766 oracle-mysql | CVE-2015-4767 | https://security-tracker.debian.org/tracker/CVE-2015-4767 oracle-mysql | CVE-2015-4769 | https://security-tracker.debian.org/tracker/CVE-2015-4769 oracle-mysql | CVE-2015-4771 | https://security-tracker.debian.org/tracker/CVE-2015-4771 oracle-mysql | CVE-2015-4772 | https://security-tracker.debian.org/tracker/CVE-2015-4772 oracle-mysql | CVE-2015-4791 | https://security-tracker.debian.org/tracker/CVE-2015-4791 oracle-mysql | CVE-2015-4800 | https://security-tracker.debian.org/tracker/CVE-2015-4800 oracle-mysql | CVE-2015-4833 | https://security-tracker.debian.org/tracker/CVE-2015-4833 oracle-mysql | CVE-2015-4862 | https://security-tracker.debian.org/tracker/CVE-2015-4862 oracle-mysql | CVE-2015-4890 | https://security-tracker.debian.org/tracker/CVE-2015-4890 oracle-mysql | CVE-2015-4904 | https://security-tracker.debian.org/tracker/CVE-2015-4904 oracle-mysql | CVE-2015-4905 | https://security-tracker.debian.org/tracker/CVE-2015-4905 oracle-mysql | CVE-2015-4910 | https://security-tracker.debian.org/tracker/CVE-2015-4910 oracle-mysql | CVE-2016-0503 | https://security-tracker.debian.org/tracker/CVE-2016-0503 oracle-mysql | CVE-2016-0504 | https://security-tracker.debian.org/tracker/CVE-2016-0504 oracle-mysql | CVE-2016-0594 | https://security-tracker.debian.org/tracker/CVE-2016-0594 oracle-mysql | CVE-2016-0595 | https://security-tracker.debian.org/tracker/CVE-2016-0595 oracle-mysql | CVE-2016-0607 | https://security-tracker.debian.org/tracker/CVE-2016-0607 oracle-mysql | CVE-2016-0610 | https://security-tracker.debian.org/tracker/CVE-2016-0610 oracle-mysql | CVE-2016-0611 | https://security-tracker.debian.org/tracker/CVE-2016-0611 oracle-mysql | CVE-2016-0616 | https://security-tracker.debian.org/tracker/CVE-2016-0616 oracle-mysql | CVE-2016-0652 | https://security-tracker.debian.org/tracker/CVE-2016-0652 oracle-mysql | CVE-2016-0653 | https://security-tracker.debian.org/tracker/CVE-2016-0653 oracle-mysql | CVE-2016-0654 | https://security-tracker.debian.org/tracker/CVE-2016-0654 oracle-mysql | CVE-2016-0656 | https://security-tracker.debian.org/tracker/CVE-2016-0656 oracle-mysql | CVE-2016-0657 | https://security-tracker.debian.org/tracker/CVE-2016-0657 oracle-mysql | CVE-2016-0658 | https://security-tracker.debian.org/tracker/CVE-2016-0658 oracle-mysql | CVE-2016-0659 | https://security-tracker.debian.org/tracker/CVE-2016-0659 oracle-mysql | CVE-2016-0662 | https://security-tracker.debian.org/tracker/CVE-2016-0662 oracle-mysql | CVE-2016-0663 | https://security-tracker.debian.org/tracker/CVE-2016-0663 oracle-mysql | CVE-2016-0667 | https://security-tracker.debian.org/tracker/CVE-2016-0667 oracle-mysql | CVE-2016-3424 | https://security-tracker.debian.org/tracker/CVE-2016-3424 oracle-mysql | CVE-2016-3440 | https://security-tracker.debian.org/tracker/CVE-2016-3440 oracle-mysql | CVE-2016-3518 | https://security-tracker.debian.org/tracker/CVE-2016-3518 oracle-mysql | CVE-2016-3588 | https://security-tracker.debian.org/tracker/CVE-2016-3588 oracle-mysql | CVE-2016-5436 | https://security-tracker.debian.org/tracker/CVE-2016-5436 oracle-mysql | CVE-2016-5437 | https://security-tracker.debian.org/tracker/CVE-2016-5437 oracle-mysql | CVE-2016-5441 | https://security-tracker.debian.org/tracker/CVE-2016-5441 oracle-mysql | CVE-2016-5442 | https://security-tracker.debian.org/tracker/CVE-2016-5442 oracle-mysql | CVE-2016-5443 | https://security-tracker.debian.org/tracker/CVE-2016-5443 oracle-mysql | CVE-2016-5628 | https://security-tracker.debian.org/tracker/CVE-2016-5628 oracle-mysql | CVE-2016-5631 | https://security-tracker.debian.org/tracker/CVE-2016-5631 oracle-mysql | CVE-2016-5632 | https://security-tracker.debian.org/tracker/CVE-2016-5632 oracle-mysql | CVE-2016-5633 | https://security-tracker.debian.org/tracker/CVE-2016-5633 oracle-mysql | CVE-2016-5634 | https://security-tracker.debian.org/tracker/CVE-2016-5634 oracle-mysql | CVE-2016-5635 | https://security-tracker.debian.org/tracker/CVE-2016-5635 oracle-mysql | CVE-2016-8286 | https://security-tracker.debian.org/tracker/CVE-2016-8286 oracle-mysql | CVE-2016-8287 | https://security-tracker.debian.org/tracker/CVE-2016-8287 oracle-mysql | CVE-2016-8289 | https://security-tracker.debian.org/tracker/CVE-2016-8289 oracle-mysql | CVE-2016-8290 | https://security-tracker.debian.org/tracker/CVE-2016-8290 oracle-mysql | CVE-2017-10165 | https://security-tracker.debian.org/tracker/CVE-2017-10165 oracle-mysql | CVE-2017-10167 | https://security-tracker.debian.org/tracker/CVE-2017-10167 oracle-mysql | CVE-2017-10284 | https://security-tracker.debian.org/tracker/CVE-2017-10284 oracle-mysql | CVE-2017-10296 | https://security-tracker.debian.org/tracker/CVE-2017-10296 oracle-mysql | CVE-2017-10311 | https://security-tracker.debian.org/tracker/CVE-2017-10311 oracle-mysql | CVE-2017-10313 | https://security-tracker.debian.org/tracker/CVE-2017-10313 oracle-mysql | CVE-2017-3251 | https://security-tracker.debian.org/tracker/CVE-2017-3251 oracle-mysql | CVE-2017-3256 | https://security-tracker.debian.org/tracker/CVE-2017-3256 oracle-mysql | CVE-2017-3319 | https://security-tracker.debian.org/tracker/CVE-2017-3319 oracle-mysql | CVE-2017-3320 | https://security-tracker.debian.org/tracker/CVE-2017-3320 oracle-mysql | CVE-2017-3452 | https://security-tracker.debian.org/tracker/CVE-2017-3452 oracle-mysql | CVE-2017-3454 | https://security-tracker.debian.org/tracker/CVE-2017-3454 oracle-mysql | CVE-2017-3455 | https://security-tracker.debian.org/tracker/CVE-2017-3455 oracle-mysql | CVE-2017-3457 | https://security-tracker.debian.org/tracker/CVE-2017-3457 oracle-mysql | CVE-2017-3458 | https://security-tracker.debian.org/tracker/CVE-2017-3458 oracle-mysql | CVE-2017-3459 | https://security-tracker.debian.org/tracker/CVE-2017-3459 oracle-mysql | CVE-2017-3460 | https://security-tracker.debian.org/tracker/CVE-2017-3460 oracle-mysql | CVE-2017-3465 | https://security-tracker.debian.org/tracker/CVE-2017-3465 oracle-mysql | CVE-2017-3467 | https://security-tracker.debian.org/tracker/CVE-2017-3467 oracle-mysql | CVE-2017-3468 | https://security-tracker.debian.org/tracker/CVE-2017-3468 oracle-mysql | CVE-2017-3529 | https://security-tracker.debian.org/tracker/CVE-2017-3529 oracle-mysql | CVE-2017-3637 | https://security-tracker.debian.org/tracker/CVE-2017-3637 oracle-mysql | CVE-2017-3638 | https://security-tracker.debian.org/tracker/CVE-2017-3638 oracle-mysql | CVE-2017-3639 | https://security-tracker.debian.org/tracker/CVE-2017-3639 oracle-mysql | CVE-2017-3640 | https://security-tracker.debian.org/tracker/CVE-2017-3640 oracle-mysql | CVE-2017-3642 | https://security-tracker.debian.org/tracker/CVE-2017-3642 oracle-mysql | CVE-2017-3643 | https://security-tracker.debian.org/tracker/CVE-2017-3643 oracle-mysql | CVE-2017-3644 | https://security-tracker.debian.org/tracker/CVE-2017-3644 oracle-mysql | CVE-2017-3645 | https://security-tracker.debian.org/tracker/CVE-2017-3645 oracle-mysql | CVE-2017-3646 | https://security-tracker.debian.org/tracker/CVE-2017-3646 oracle-mysql | CVE-2017-3650 | https://security-tracker.debian.org/tracker/CVE-2017-3650 oracle-mysql | CVE-2018-0735 | https://security-tracker.debian.org/tracker/CVE-2018-0735 oracle-mysql | CVE-2018-3061 | https://security-tracker.debian.org/tracker/CVE-2018-3061 oracle-mysql | CVE-2018-3071 | https://security-tracker.debian.org/tracker/CVE-2018-3071 oracle-mysql | CVE-2019-2731 | https://security-tracker.debian.org/tracker/CVE-2019-2731 oracle-mysql | CVE-2019-2741 | https://security-tracker.debian.org/tracker/CVE-2019-2741 oracle-mysql | CVE-2019-2755 | https://security-tracker.debian.org/tracker/CVE-2019-2755 oracle-mysql | CVE-2019-2757 | https://security-tracker.debian.org/tracker/CVE-2019-2757 oracle-mysql | CVE-2019-7317 | https://security-tracker.debian.org/tracker/CVE-2019-7317 oracle-mysql | CVE-2020-14760 | https://security-tracker.debian.org/tracker/CVE-2020-14760 oracle-mysql | CVE-2020-14814 | https://security-tracker.debian.org/tracker/CVE-2020-14814 oracle-mysql | CVE-2020-14830 | https://security-tracker.debian.org/tracker/CVE-2020-14830 oracle-mysql | CVE-2020-14837 | https://security-tracker.debian.org/tracker/CVE-2020-14837 oracle-mysql | CVE-2020-14839 | https://security-tracker.debian.org/tracker/CVE-2020-14839 oracle-mysql | CVE-2020-14845 | https://security-tracker.debian.org/tracker/CVE-2020-14845 oracle-mysql | CVE-2020-14846 | https://security-tracker.debian.org/tracker/CVE-2020-14846 oracle-mysql | CVE-2020-14852 | https://security-tracker.debian.org/tracker/CVE-2020-14852 oracle-mysql | CVE-2020-15358 | https://security-tracker.debian.org/tracker/CVE-2020-15358 oracle-mysql | CVE-2020-1967 | https://security-tracker.debian.org/tracker/CVE-2020-1967 oracle-mysql | CVE-2020-1971 | https://security-tracker.debian.org/tracker/CVE-2020-1971 oracle-mysql | CVE-2021-22570 | https://security-tracker.debian.org/tracker/CVE-2021-22570 oracle-mysql | CVE-2021-2356 | https://security-tracker.debian.org/tracker/CVE-2021-2356 oracle-mysql | CVE-2022-21417 | https://security-tracker.debian.org/tracker/CVE-2022-21417 oracle-mysql | CVE-2022-21444 | https://security-tracker.debian.org/tracker/CVE-2022-21444 oracle-mysql | CVE-2023-21977 | https://security-tracker.debian.org/tracker/CVE-2023-21977 oracle-mysql | CVE-2023-21980 | https://security-tracker.debian.org/tracker/CVE-2023-21980 oracle-mysql | CVE-2023-22007 | https://security-tracker.debian.org/tracker/CVE-2023-22007 oracle-mysql | CVE-2023-22053 | https://security-tracker.debian.org/tracker/CVE-2023-22053 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 perl | CVE-2023-31484 | https://security-tracker.debian.org/tracker/CVE-2023-31484 perl | CVE-2023-31486 | https://security-tracker.debian.org/tracker/CVE-2023-31486 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 pkgconf | CVE-2023-24056 | https://security-tracker.debian.org/tracker/CVE-2023-24056 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 python-py | CVE-2022-42969 | https://security-tracker.debian.org/tracker/CVE-2022-42969 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2023-1386 | https://security-tracker.debian.org/tracker/CVE-2023-1386 qemu | CVE-2023-2680 | https://security-tracker.debian.org/tracker/CVE-2023-2680 qemu | CVE-2023-3019 | https://security-tracker.debian.org/tracker/CVE-2023-3019 qemu | CVE-2023-3180 | https://security-tracker.debian.org/tracker/CVE-2023-3180 qemu | CVE-2023-3354 | https://security-tracker.debian.org/tracker/CVE-2023-3354 qemu | CVE-2023-4135 | https://security-tracker.debian.org/tracker/CVE-2023-4135 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-c | CVE-2023-35789 | https://security-tracker.debian.org/tracker/CVE-2023-35789 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rust | CVE-2023-40030 | https://security-tracker.debian.org/tracker/CVE-2023-40030 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-14628 | https://security-tracker.debian.org/tracker/CVE-2018-14628 samba4 | CVE-2021-3670 | https://security-tracker.debian.org/tracker/CVE-2021-3670 samba4 | CVE-2022-1615 | https://security-tracker.debian.org/tracker/CVE-2022-1615 samba4 | CVE-2022-32743 | https://security-tracker.debian.org/tracker/CVE-2022-32743 samba4 | CVE-2022-37966 | https://security-tracker.debian.org/tracker/CVE-2022-37966 samba4 | CVE-2022-37967 | https://security-tracker.debian.org/tracker/CVE-2022-37967 samba4 | CVE-2022-38023 | https://security-tracker.debian.org/tracker/CVE-2022-38023 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 shadow | CVE-2013-4235 | https://security-tracker.debian.org/tracker/CVE-2013-4235 shim | CVE-2022-28737 | https://security-tracker.debian.org/tracker/CVE-2022-28737 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 speechd | CVE-2001-0956 | https://security-tracker.debian.org/tracker/CVE-2001-0956 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 sudo | CVE-2023-27320 | https://security-tracker.debian.org/tracker/CVE-2023-27320 syslog-ng | CVE-2022-38725 | https://security-tracker.debian.org/tracker/CVE-2022-38725 sysstat | CVE-2023-33204 | https://security-tracker.debian.org/tracker/CVE-2023-33204 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 tpm2-tss | CVE-2023-22745 | https://security-tracker.debian.org/tracker/CVE-2023-22745 uboot-tools | CVE-2022-2347 | https://security-tracker.debian.org/tracker/CVE-2022-2347 uboot-tools | CVE-2022-30767 | https://security-tracker.debian.org/tracker/CVE-2022-30767 uboot-tools | CVE-2022-33103 | https://security-tracker.debian.org/tracker/CVE-2022-33103 uboot-tools | CVE-2022-34835 | https://security-tracker.debian.org/tracker/CVE-2022-34835 unrar | CVE-2022-30333 | https://security-tracker.debian.org/tracker/CVE-2022-30333 unzip | CVE-2021-4217 | https://security-tracker.debian.org/tracker/CVE-2021-4217 upx | CVE-2023-23456 | https://security-tracker.debian.org/tracker/CVE-2023-23456 upx | CVE-2023-23457 | https://security-tracker.debian.org/tracker/CVE-2023-23457 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-21123 | https://security-tracker.debian.org/tracker/CVE-2022-21123 xen | CVE-2022-21125 | https://security-tracker.debian.org/tracker/CVE-2022-21125 xen | CVE-2022-21127 | https://security-tracker.debian.org/tracker/CVE-2022-21127 xen | CVE-2022-21166 | https://security-tracker.debian.org/tracker/CVE-2022-21166 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23824 | https://security-tracker.debian.org/tracker/CVE-2022-23824 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xen | CVE-2022-26362 | https://security-tracker.debian.org/tracker/CVE-2022-26362 xen | CVE-2022-26363 | https://security-tracker.debian.org/tracker/CVE-2022-26363 xen | CVE-2022-26364 | https://security-tracker.debian.org/tracker/CVE-2022-26364 xen | CVE-2022-26365 | https://security-tracker.debian.org/tracker/CVE-2022-26365 xen | CVE-2022-29900 | https://security-tracker.debian.org/tracker/CVE-2022-29900 xen | CVE-2022-29901 | https://security-tracker.debian.org/tracker/CVE-2022-29901 xen | CVE-2022-33740 | https://security-tracker.debian.org/tracker/CVE-2022-33740 xen | CVE-2022-33741 | https://security-tracker.debian.org/tracker/CVE-2022-33741 xen | CVE-2022-33742 | https://security-tracker.debian.org/tracker/CVE-2022-33742 xen | CVE-2022-33743 | https://security-tracker.debian.org/tracker/CVE-2022-33743 xen | CVE-2022-33745 | https://security-tracker.debian.org/tracker/CVE-2022-33745 xen | CVE-2022-33746 | https://security-tracker.debian.org/tracker/CVE-2022-33746 xen | CVE-2022-33747 | https://security-tracker.debian.org/tracker/CVE-2022-33747 xen | CVE-2022-33748 | https://security-tracker.debian.org/tracker/CVE-2022-33748 xen | CVE-2022-40982 | https://security-tracker.debian.org/tracker/CVE-2022-40982 xen | CVE-2022-42309 | https://security-tracker.debian.org/tracker/CVE-2022-42309 xen | CVE-2022-42311 | https://security-tracker.debian.org/tracker/CVE-2022-42311 xen | CVE-2022-42312 | https://security-tracker.debian.org/tracker/CVE-2022-42312 xen | CVE-2022-42313 | https://security-tracker.debian.org/tracker/CVE-2022-42313 xen | CVE-2022-42314 | https://security-tracker.debian.org/tracker/CVE-2022-42314 xen | CVE-2022-42315 | https://security-tracker.debian.org/tracker/CVE-2022-42315 xen | CVE-2022-42316 | https://security-tracker.debian.org/tracker/CVE-2022-42316 xen | CVE-2022-42317 | https://security-tracker.debian.org/tracker/CVE-2022-42317 xen | CVE-2022-42318 | https://security-tracker.debian.org/tracker/CVE-2022-42318 xen | CVE-2022-42319 | https://security-tracker.debian.org/tracker/CVE-2022-42319 xen | CVE-2022-42320 | https://security-tracker.debian.org/tracker/CVE-2022-42320 xen | CVE-2022-42321 | https://security-tracker.debian.org/tracker/CVE-2022-42321 xen | CVE-2022-42322 | https://security-tracker.debian.org/tracker/CVE-2022-42322 xen | CVE-2022-42323 | https://security-tracker.debian.org/tracker/CVE-2022-42323 xen | CVE-2022-42324 | https://security-tracker.debian.org/tracker/CVE-2022-42324 xen | CVE-2022-42325 | https://security-tracker.debian.org/tracker/CVE-2022-42325 xen | CVE-2022-42326 | https://security-tracker.debian.org/tracker/CVE-2022-42326 xen | CVE-2022-42331 | https://security-tracker.debian.org/tracker/CVE-2022-42331 xen | CVE-2022-42332 | https://security-tracker.debian.org/tracker/CVE-2022-42332 xen | CVE-2022-42333 | https://security-tracker.debian.org/tracker/CVE-2022-42333 xen | CVE-2022-42334 | https://security-tracker.debian.org/tracker/CVE-2022-42334 xen | CVE-2023-34319 | https://security-tracker.debian.org/tracker/CVE-2023-34319 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 yajl | CVE-2023-33460 | https://security-tracker.debian.org/tracker/CVE-2023-33460 yasm | CVE-2021-33454 | https://security-tracker.debian.org/tracker/CVE-2021-33454 yasm | CVE-2021-33455 | https://security-tracker.debian.org/tracker/CVE-2021-33455 yasm | CVE-2021-33456 | https://security-tracker.debian.org/tracker/CVE-2021-33456 yasm | CVE-2021-33457 | https://security-tracker.debian.org/tracker/CVE-2021-33457 yasm | CVE-2021-33458 | https://security-tracker.debian.org/tracker/CVE-2021-33458 yasm | CVE-2021-33459 | https://security-tracker.debian.org/tracker/CVE-2021-33459 yasm | CVE-2021-33460 | https://security-tracker.debian.org/tracker/CVE-2021-33460 yasm | CVE-2021-33461 | https://security-tracker.debian.org/tracker/CVE-2021-33461 yasm | CVE-2021-33462 | https://security-tracker.debian.org/tracker/CVE-2021-33462 yasm | CVE-2021-33463 | https://security-tracker.debian.org/tracker/CVE-2021-33463 yasm | CVE-2021-33464 | https://security-tracker.debian.org/tracker/CVE-2021-33464 yasm | CVE-2021-33465 | https://security-tracker.debian.org/tracker/CVE-2021-33465 yasm | CVE-2021-33466 | https://security-tracker.debian.org/tracker/CVE-2021-33466 yasm | CVE-2021-33467 | https://security-tracker.debian.org/tracker/CVE-2021-33467 yasm | CVE-2021-33468 | https://security-tracker.debian.org/tracker/CVE-2021-33468 yasm | CVE-2023-30402 | https://security-tracker.debian.org/tracker/CVE-2023-30402 yasm | CVE-2023-31972 | https://security-tracker.debian.org/tracker/CVE-2023-31972 yasm | CVE-2023-31973 | https://security-tracker.debian.org/tracker/CVE-2023-31973 yasm | CVE-2023-31974 | https://security-tracker.debian.org/tracker/CVE-2023-31974 yasm | CVE-2023-31975 | https://security-tracker.debian.org/tracker/CVE-2023-31975 zbar | CVE-2023-40889 | https://security-tracker.debian.org/tracker/CVE-2023-40889 zbar | CVE-2023-40890 | https://security-tracker.debian.org/tracker/CVE-2023-40890 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 CVEs for the '2023.02.x' branch ------------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 asn1c | CVE-2020-23910 | https://security-tracker.debian.org/tracker/CVE-2020-23910 asn1c | CVE-2020-23911 | https://security-tracker.debian.org/tracker/CVE-2020-23911 assimp | CVE-2022-38528 | https://security-tracker.debian.org/tracker/CVE-2022-38528 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-27607 | https://security-tracker.debian.org/tracker/CVE-2022-27607 bento4 | CVE-2022-35165 | https://security-tracker.debian.org/tracker/CVE-2022-35165 bento4 | CVE-2022-3662 | https://security-tracker.debian.org/tracker/CVE-2022-3662 bento4 | CVE-2022-3663 | https://security-tracker.debian.org/tracker/CVE-2022-3663 bento4 | CVE-2022-3664 | https://security-tracker.debian.org/tracker/CVE-2022-3664 bento4 | CVE-2022-3665 | https://security-tracker.debian.org/tracker/CVE-2022-3665 bento4 | CVE-2022-3666 | https://security-tracker.debian.org/tracker/CVE-2022-3666 bento4 | CVE-2022-3667 | https://security-tracker.debian.org/tracker/CVE-2022-3667 bento4 | CVE-2022-3668 | https://security-tracker.debian.org/tracker/CVE-2022-3668 bento4 | CVE-2022-3669 | https://security-tracker.debian.org/tracker/CVE-2022-3669 bento4 | CVE-2022-3670 | https://security-tracker.debian.org/tracker/CVE-2022-3670 bento4 | CVE-2022-3784 | https://security-tracker.debian.org/tracker/CVE-2022-3784 bento4 | CVE-2022-3785 | https://security-tracker.debian.org/tracker/CVE-2022-3785 bento4 | CVE-2022-3807 | https://security-tracker.debian.org/tracker/CVE-2022-3807 bento4 | CVE-2022-3809 | https://security-tracker.debian.org/tracker/CVE-2022-3809 bento4 | CVE-2022-3810 | https://security-tracker.debian.org/tracker/CVE-2022-3810 bento4 | CVE-2022-3812 | https://security-tracker.debian.org/tracker/CVE-2022-3812 bento4 | CVE-2022-3813 | https://security-tracker.debian.org/tracker/CVE-2022-3813 bento4 | CVE-2022-3814 | https://security-tracker.debian.org/tracker/CVE-2022-3814 bento4 | CVE-2022-3815 | https://security-tracker.debian.org/tracker/CVE-2022-3815 bento4 | CVE-2022-3816 | https://security-tracker.debian.org/tracker/CVE-2022-3816 bento4 | CVE-2022-3817 | https://security-tracker.debian.org/tracker/CVE-2022-3817 bento4 | CVE-2022-40438 | https://security-tracker.debian.org/tracker/CVE-2022-40438 bento4 | CVE-2022-40439 | https://security-tracker.debian.org/tracker/CVE-2022-40439 bento4 | CVE-2022-40736 | https://security-tracker.debian.org/tracker/CVE-2022-40736 bento4 | CVE-2022-40737 | https://security-tracker.debian.org/tracker/CVE-2022-40737 bento4 | CVE-2022-40738 | https://security-tracker.debian.org/tracker/CVE-2022-40738 bento4 | CVE-2022-40774 | https://security-tracker.debian.org/tracker/CVE-2022-40774 bento4 | CVE-2022-40775 | https://security-tracker.debian.org/tracker/CVE-2022-40775 bento4 | CVE-2022-40885 | https://security-tracker.debian.org/tracker/CVE-2022-40885 bento4 | CVE-2022-41419 | https://security-tracker.debian.org/tracker/CVE-2022-41419 bento4 | CVE-2022-41423 | https://security-tracker.debian.org/tracker/CVE-2022-41423 bento4 | CVE-2022-41424 | https://security-tracker.debian.org/tracker/CVE-2022-41424 bento4 | CVE-2022-41425 | https://security-tracker.debian.org/tracker/CVE-2022-41425 bento4 | CVE-2022-41426 | https://security-tracker.debian.org/tracker/CVE-2022-41426 bento4 | CVE-2022-41427 | https://security-tracker.debian.org/tracker/CVE-2022-41427 bento4 | CVE-2022-41428 | https://security-tracker.debian.org/tracker/CVE-2022-41428 bento4 | CVE-2022-41429 | https://security-tracker.debian.org/tracker/CVE-2022-41429 bento4 | CVE-2022-41430 | https://security-tracker.debian.org/tracker/CVE-2022-41430 bento4 | CVE-2022-41841 | https://security-tracker.debian.org/tracker/CVE-2022-41841 bento4 | CVE-2022-41845 | https://security-tracker.debian.org/tracker/CVE-2022-41845 bento4 | CVE-2022-41846 | https://security-tracker.debian.org/tracker/CVE-2022-41846 bento4 | CVE-2022-41847 | https://security-tracker.debian.org/tracker/CVE-2022-41847 bento4 | CVE-2022-43032 | https://security-tracker.debian.org/tracker/CVE-2022-43032 bento4 | CVE-2022-43033 | https://security-tracker.debian.org/tracker/CVE-2022-43033 bento4 | CVE-2022-43034 | https://security-tracker.debian.org/tracker/CVE-2022-43034 bento4 | CVE-2022-43035 | https://security-tracker.debian.org/tracker/CVE-2022-43035 bento4 | CVE-2022-43037 | https://security-tracker.debian.org/tracker/CVE-2022-43037 bento4 | CVE-2022-43038 | https://security-tracker.debian.org/tracker/CVE-2022-43038 bento4 | CVE-2022-4584 | https://security-tracker.debian.org/tracker/CVE-2022-4584 bento4 | CVE-2023-29573 | https://security-tracker.debian.org/tracker/CVE-2023-29573 bento4 | CVE-2023-29574 | https://security-tracker.debian.org/tracker/CVE-2023-29574 bento4 | CVE-2023-29575 | https://security-tracker.debian.org/tracker/CVE-2023-29575 bento4 | CVE-2023-29576 | https://security-tracker.debian.org/tracker/CVE-2023-29576 bento4 | CVE-2023-38666 | https://security-tracker.debian.org/tracker/CVE-2023-38666 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2022-38533 | https://security-tracker.debian.org/tracker/CVE-2022-38533 binutils | CVE-2022-4285 | https://security-tracker.debian.org/tracker/CVE-2022-4285 binutils | CVE-2022-44840 | https://security-tracker.debian.org/tracker/CVE-2022-44840 binutils | CVE-2022-45703 | https://security-tracker.debian.org/tracker/CVE-2022-45703 binutils | CVE-2022-47007 | https://security-tracker.debian.org/tracker/CVE-2022-47007 binutils | CVE-2022-47008 | https://security-tracker.debian.org/tracker/CVE-2022-47008 binutils | CVE-2022-47010 | https://security-tracker.debian.org/tracker/CVE-2022-47010 binutils | CVE-2022-47011 | https://security-tracker.debian.org/tracker/CVE-2022-47011 binutils | CVE-2022-47673 | https://security-tracker.debian.org/tracker/CVE-2022-47673 binutils | CVE-2022-47695 | https://security-tracker.debian.org/tracker/CVE-2022-47695 binutils | CVE-2022-47696 | https://security-tracker.debian.org/tracker/CVE-2022-47696 binutils | CVE-2022-48063 | https://security-tracker.debian.org/tracker/CVE-2022-48063 binutils | CVE-2022-48064 | https://security-tracker.debian.org/tracker/CVE-2022-48064 binutils | CVE-2022-48065 | https://security-tracker.debian.org/tracker/CVE-2022-48065 binutils | CVE-2023-1972 | https://security-tracker.debian.org/tracker/CVE-2023-1972 binutils | CVE-2023-25584 | https://security-tracker.debian.org/tracker/CVE-2023-25584 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bitcoin | CVE-2023-33297 | https://security-tracker.debian.org/tracker/CVE-2023-33297 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 bwm-ng | CVE-2023-26129 | https://security-tracker.debian.org/tracker/CVE-2023-26129 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2023-4504 | https://security-tracker.debian.org/tracker/CVE-2023-4504 cups-filters | CVE-2023-24805 | https://security-tracker.debian.org/tracker/CVE-2023-24805 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 dht | CVE-2020-36562 | https://security-tracker.debian.org/tracker/CVE-2020-36562 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 dracut | CVE-2010-4176 | https://security-tracker.debian.org/tracker/CVE-2010-4176 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 emlog | CVE-2022-1526 | https://security-tracker.debian.org/tracker/CVE-2022-1526 emlog | CVE-2022-3968 | https://security-tracker.debian.org/tracker/CVE-2022-3968 emlog | CVE-2023-43291 | https://security-tracker.debian.org/tracker/CVE-2023-43291 enlightenment | CVE-2022-37706 | https://security-tracker.debian.org/tracker/CVE-2022-37706 erlang | CVE-2020-35733 | https://security-tracker.debian.org/tracker/CVE-2020-35733 erlang | CVE-2022-37026 | https://security-tracker.debian.org/tracker/CVE-2022-37026 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2022-3109 | https://security-tracker.debian.org/tracker/CVE-2022-3109 ffmpeg | CVE-2022-3341 | https://security-tracker.debian.org/tracker/CVE-2022-3341 ffmpeg | CVE-2022-3964 | https://security-tracker.debian.org/tracker/CVE-2022-3964 ffmpeg | CVE-2022-48434 | https://security-tracker.debian.org/tracker/CVE-2022-48434 freeradius-server | CVE-2002-0318 | https://security-tracker.debian.org/tracker/CVE-2002-0318 freeradius-server | CVE-2011-4966 | https://security-tracker.debian.org/tracker/CVE-2011-4966 ghostscript | CVE-2023-38559 | https://security-tracker.debian.org/tracker/CVE-2023-38559 ghostscript | CVE-2023-38560 | https://security-tracker.debian.org/tracker/CVE-2023-38560 giflib | CVE-2022-28506 | https://security-tracker.debian.org/tracker/CVE-2022-28506 giflib | CVE-2023-39742 | https://security-tracker.debian.org/tracker/CVE-2023-39742 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 glibc | CVE-2023-4527 | https://security-tracker.debian.org/tracker/CVE-2023-4527 glibc | CVE-2023-5156 | https://security-tracker.debian.org/tracker/CVE-2023-5156 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 gnupg | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 gnupg | CVE-2022-34903 | https://security-tracker.debian.org/tracker/CVE-2022-34903 gnupg2 | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 go | CVE-2023-39318 | https://security-tracker.debian.org/tracker/CVE-2023-39318 go | CVE-2023-39319 | https://security-tracker.debian.org/tracker/CVE-2023-39319 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grpc | CVE-2023-1428 | https://security-tracker.debian.org/tracker/CVE-2023-1428 grpc | CVE-2023-32732 | https://security-tracker.debian.org/tracker/CVE-2023-32732 grpc | CVE-2023-33953 | https://security-tracker.debian.org/tracker/CVE-2023-33953 grpc | CVE-2023-4785 | https://security-tracker.debian.org/tracker/CVE-2023-4785 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2023-0056 | https://security-tracker.debian.org/tracker/CVE-2023-0056 harfbuzz | CVE-2023-25193 | https://security-tracker.debian.org/tracker/CVE-2023-25193 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-5118 | https://security-tracker.debian.org/tracker/CVE-2016-5118 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 imagemagick | CVE-2023-1289 | https://security-tracker.debian.org/tracker/CVE-2023-1289 imagemagick | CVE-2023-2157 | https://security-tracker.debian.org/tracker/CVE-2023-2157 imagemagick | CVE-2023-34151 | https://security-tracker.debian.org/tracker/CVE-2023-34151 imagemagick | CVE-2023-34152 | https://security-tracker.debian.org/tracker/CVE-2023-34152 imagemagick | CVE-2023-34153 | https://security-tracker.debian.org/tracker/CVE-2023-34153 imagemagick | CVE-2023-34474 | https://security-tracker.debian.org/tracker/CVE-2023-34474 imagemagick | CVE-2023-34475 | https://security-tracker.debian.org/tracker/CVE-2023-34475 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 kodi | CVE-2023-23082 | https://security-tracker.debian.org/tracker/CVE-2023-23082 kodi | CVE-2023-30207 | https://security-tracker.debian.org/tracker/CVE-2023-30207 kvmtool | CVE-2021-45464 | https://security-tracker.debian.org/tracker/CVE-2021-45464 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libarchive | CVE-2023-30571 | https://security-tracker.debian.org/tracker/CVE-2023-30571 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libfreeimage | CVE-2020-21426 | https://security-tracker.debian.org/tracker/CVE-2020-21426 libfreeimage | CVE-2020-21427 | https://security-tracker.debian.org/tracker/CVE-2020-21427 libfreeimage | CVE-2020-21428 | https://security-tracker.debian.org/tracker/CVE-2020-21428 libfreeimage | CVE-2021-33367 | https://security-tracker.debian.org/tracker/CVE-2021-33367 libglib2 | CVE-2023-29499 | https://security-tracker.debian.org/tracker/CVE-2023-29499 libglib2 | CVE-2023-32611 | https://security-tracker.debian.org/tracker/CVE-2023-32611 libglib2 | CVE-2023-32636 | https://security-tracker.debian.org/tracker/CVE-2023-32636 libglib2 | CVE-2023-32643 | https://security-tracker.debian.org/tracker/CVE-2023-32643 libglib2 | CVE-2023-32665 | https://security-tracker.debian.org/tracker/CVE-2023-32665 libgtk2 | CVE-2014-1949 | https://security-tracker.debian.org/tracker/CVE-2014-1949 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libkrb5 | CVE-2023-36054 | https://security-tracker.debian.org/tracker/CVE-2023-36054 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libmemcached | CVE-2023-27478 | https://security-tracker.debian.org/tracker/CVE-2023-27478 libmpeg2 | CVE-2022-37416 | https://security-tracker.debian.org/tracker/CVE-2022-37416 libopenssl | CVE-2023-4807 | https://security-tracker.debian.org/tracker/CVE-2023-4807 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libraw | CVE-2020-22628 | https://security-tracker.debian.org/tracker/CVE-2020-22628 libsndfile | CVE-2022-33065 | https://security-tracker.debian.org/tracker/CVE-2022-33065 libssh2 | CVE-2020-22218 | https://security-tracker.debian.org/tracker/CVE-2020-22218 libtommath | CVE-2023-36328 | https://security-tracker.debian.org/tracker/CVE-2023-36328 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 libvirt | CVE-2023-3750 | https://security-tracker.debian.org/tracker/CVE-2023-3750 linux-pam | CVE-2022-28321 | https://security-tracker.debian.org/tracker/CVE-2022-28321 lrzip | CVE-2022-33067 | https://security-tracker.debian.org/tracker/CVE-2022-33067 lrzip | CVE-2023-39741 | https://security-tracker.debian.org/tracker/CVE-2023-39741 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 mariadb | CVE-2022-47015 | https://security-tracker.debian.org/tracker/CVE-2022-47015 mbedtls | CVE-2021-36647 | https://security-tracker.debian.org/tracker/CVE-2021-36647 mbedtls | CVE-2021-43666 | https://security-tracker.debian.org/tracker/CVE-2021-43666 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mdadm | CVE-2023-28736 | https://security-tracker.debian.org/tracker/CVE-2023-28736 mdadm | CVE-2023-28938 | https://security-tracker.debian.org/tracker/CVE-2023-28938 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 nasm | CVE-2022-46456 | https://security-tracker.debian.org/tracker/CVE-2022-46456 netdata | CVE-2023-22496 | https://security-tracker.debian.org/tracker/CVE-2023-22496 netdata | CVE-2023-22497 | https://security-tracker.debian.org/tracker/CVE-2023-22497 netsnmp | CVE-2022-44792 | https://security-tracker.debian.org/tracker/CVE-2022-44792 netsnmp | CVE-2022-44793 | https://security-tracker.debian.org/tracker/CVE-2022-44793 ninja | CVE-2021-4336 | https://security-tracker.debian.org/tracker/CVE-2021-4336 nodejs | CVE-2023-32002 | https://security-tracker.debian.org/tracker/CVE-2023-32002 nodejs | CVE-2023-32006 | https://security-tracker.debian.org/tracker/CVE-2023-32006 nodejs | CVE-2023-32559 | https://security-tracker.debian.org/tracker/CVE-2023-32559 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 ntp | CVE-2023-26551 | https://security-tracker.debian.org/tracker/CVE-2023-26551 ntp | CVE-2023-26552 | https://security-tracker.debian.org/tracker/CVE-2023-26552 ntp | CVE-2023-26553 | https://security-tracker.debian.org/tracker/CVE-2023-26553 ntp | CVE-2023-26554 | https://security-tracker.debian.org/tracker/CVE-2023-26554 ntp | CVE-2023-26555 | https://security-tracker.debian.org/tracker/CVE-2023-26555 open-iscsi | CVE-2020-13987 | https://security-tracker.debian.org/tracker/CVE-2020-13987 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 opencv3 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 opencv4 | CVE-2023-2617 | https://security-tracker.debian.org/tracker/CVE-2023-2617 opencv4 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openldap | CVE-2022-29155 | https://security-tracker.debian.org/tracker/CVE-2022-29155 opensc | CVE-2021-34193 | https://security-tracker.debian.org/tracker/CVE-2021-34193 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openssh | CVE-2023-38408 | https://security-tracker.debian.org/tracker/CVE-2023-38408 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 openvmtools | CVE-2014-4199 | https://security-tracker.debian.org/tracker/CVE-2014-4199 openvmtools | CVE-2014-4200 | https://security-tracker.debian.org/tracker/CVE-2014-4200 openvmtools | CVE-2021-31693 | https://security-tracker.debian.org/tracker/CVE-2021-31693 openvmtools | CVE-2022-22943 | https://security-tracker.debian.org/tracker/CVE-2022-22943 openvmtools | CVE-2022-31693 | https://security-tracker.debian.org/tracker/CVE-2022-31693 openvmtools | CVE-2023-20867 | https://security-tracker.debian.org/tracker/CVE-2023-20867 openvmtools | CVE-2023-20900 | https://security-tracker.debian.org/tracker/CVE-2023-20900 opus | CVE-2022-25345 | https://security-tracker.debian.org/tracker/CVE-2022-25345 oracle-mysql | CVE-2012-0583 | https://security-tracker.debian.org/tracker/CVE-2012-0583 oracle-mysql | CVE-2012-1696 | https://security-tracker.debian.org/tracker/CVE-2012-1696 oracle-mysql | CVE-2012-3144 | https://security-tracker.debian.org/tracker/CVE-2012-3144 oracle-mysql | CVE-2012-3147 | https://security-tracker.debian.org/tracker/CVE-2012-3147 oracle-mysql | CVE-2012-3149 | https://security-tracker.debian.org/tracker/CVE-2012-3149 oracle-mysql | CVE-2012-3156 | https://security-tracker.debian.org/tracker/CVE-2012-3156 oracle-mysql | CVE-2012-4414 | https://security-tracker.debian.org/tracker/CVE-2012-4414 oracle-mysql | CVE-2013-1566 | https://security-tracker.debian.org/tracker/CVE-2013-1566 oracle-mysql | CVE-2013-1567 | https://security-tracker.debian.org/tracker/CVE-2013-1567 oracle-mysql | CVE-2013-1570 | https://security-tracker.debian.org/tracker/CVE-2013-1570 oracle-mysql | CVE-2013-2381 | https://security-tracker.debian.org/tracker/CVE-2013-2381 oracle-mysql | CVE-2013-2395 | https://security-tracker.debian.org/tracker/CVE-2013-2395 oracle-mysql | CVE-2013-3795 | https://security-tracker.debian.org/tracker/CVE-2013-3795 oracle-mysql | CVE-2013-3796 | https://security-tracker.debian.org/tracker/CVE-2013-3796 oracle-mysql | CVE-2013-3798 | https://security-tracker.debian.org/tracker/CVE-2013-3798 oracle-mysql | CVE-2013-3806 | https://security-tracker.debian.org/tracker/CVE-2013-3806 oracle-mysql | CVE-2013-3807 | https://security-tracker.debian.org/tracker/CVE-2013-3807 oracle-mysql | CVE-2013-3810 | https://security-tracker.debian.org/tracker/CVE-2013-3810 oracle-mysql | CVE-2013-3811 | https://security-tracker.debian.org/tracker/CVE-2013-3811 oracle-mysql | CVE-2013-5767 | https://security-tracker.debian.org/tracker/CVE-2013-5767 oracle-mysql | CVE-2013-5770 | https://security-tracker.debian.org/tracker/CVE-2013-5770 oracle-mysql | CVE-2013-5786 | https://security-tracker.debian.org/tracker/CVE-2013-5786 oracle-mysql | CVE-2013-5793 | https://security-tracker.debian.org/tracker/CVE-2013-5793 oracle-mysql | CVE-2013-5860 | https://security-tracker.debian.org/tracker/CVE-2013-5860 oracle-mysql | CVE-2013-5881 | https://security-tracker.debian.org/tracker/CVE-2013-5881 oracle-mysql | CVE-2013-5882 | https://security-tracker.debian.org/tracker/CVE-2013-5882 oracle-mysql | CVE-2013-5894 | https://security-tracker.debian.org/tracker/CVE-2013-5894 oracle-mysql | CVE-2014-0427 | https://security-tracker.debian.org/tracker/CVE-2014-0427 oracle-mysql | CVE-2014-0430 | https://security-tracker.debian.org/tracker/CVE-2014-0430 oracle-mysql | CVE-2014-0431 | https://security-tracker.debian.org/tracker/CVE-2014-0431 oracle-mysql | CVE-2014-0433 | https://security-tracker.debian.org/tracker/CVE-2014-0433 oracle-mysql | CVE-2014-2434 | https://security-tracker.debian.org/tracker/CVE-2014-2434 oracle-mysql | CVE-2014-2435 | https://security-tracker.debian.org/tracker/CVE-2014-2435 oracle-mysql | CVE-2014-2442 | https://security-tracker.debian.org/tracker/CVE-2014-2442 oracle-mysql | CVE-2014-2444 | https://security-tracker.debian.org/tracker/CVE-2014-2444 oracle-mysql | CVE-2014-2450 | https://security-tracker.debian.org/tracker/CVE-2014-2450 oracle-mysql | CVE-2014-2451 | https://security-tracker.debian.org/tracker/CVE-2014-2451 oracle-mysql | CVE-2014-2484 | https://security-tracker.debian.org/tracker/CVE-2014-2484 oracle-mysql | CVE-2014-4214 | https://security-tracker.debian.org/tracker/CVE-2014-4214 oracle-mysql | CVE-2014-4233 | https://security-tracker.debian.org/tracker/CVE-2014-4233 oracle-mysql | CVE-2014-4238 | https://security-tracker.debian.org/tracker/CVE-2014-4238 oracle-mysql | CVE-2014-4240 | https://security-tracker.debian.org/tracker/CVE-2014-4240 oracle-mysql | CVE-2015-0385 | https://security-tracker.debian.org/tracker/CVE-2015-0385 oracle-mysql | CVE-2015-0405 | https://security-tracker.debian.org/tracker/CVE-2015-0405 oracle-mysql | CVE-2015-0409 | https://security-tracker.debian.org/tracker/CVE-2015-0409 oracle-mysql | CVE-2015-0423 | https://security-tracker.debian.org/tracker/CVE-2015-0423 oracle-mysql | CVE-2015-0438 | https://security-tracker.debian.org/tracker/CVE-2015-0438 oracle-mysql | CVE-2015-0439 | https://security-tracker.debian.org/tracker/CVE-2015-0439 oracle-mysql | CVE-2015-0498 | https://security-tracker.debian.org/tracker/CVE-2015-0498 oracle-mysql | CVE-2015-0500 | https://security-tracker.debian.org/tracker/CVE-2015-0500 oracle-mysql | CVE-2015-0503 | https://security-tracker.debian.org/tracker/CVE-2015-0503 oracle-mysql | CVE-2015-0506 | https://security-tracker.debian.org/tracker/CVE-2015-0506 oracle-mysql | CVE-2015-0507 | https://security-tracker.debian.org/tracker/CVE-2015-0507 oracle-mysql | CVE-2015-0508 | https://security-tracker.debian.org/tracker/CVE-2015-0508 oracle-mysql | CVE-2015-0511 | https://security-tracker.debian.org/tracker/CVE-2015-0511 oracle-mysql | CVE-2015-2566 | https://security-tracker.debian.org/tracker/CVE-2015-2566 oracle-mysql | CVE-2015-2567 | https://security-tracker.debian.org/tracker/CVE-2015-2567 oracle-mysql | CVE-2015-2611 | https://security-tracker.debian.org/tracker/CVE-2015-2611 oracle-mysql | CVE-2015-2617 | https://security-tracker.debian.org/tracker/CVE-2015-2617 oracle-mysql | CVE-2015-2639 | https://security-tracker.debian.org/tracker/CVE-2015-2639 oracle-mysql | CVE-2015-2641 | https://security-tracker.debian.org/tracker/CVE-2015-2641 oracle-mysql | CVE-2015-2661 | https://security-tracker.debian.org/tracker/CVE-2015-2661 oracle-mysql | CVE-2015-3152 | https://security-tracker.debian.org/tracker/CVE-2015-3152 oracle-mysql | CVE-2015-4730 | https://security-tracker.debian.org/tracker/CVE-2015-4730 oracle-mysql | CVE-2015-4756 | https://security-tracker.debian.org/tracker/CVE-2015-4756 oracle-mysql | CVE-2015-4761 | https://security-tracker.debian.org/tracker/CVE-2015-4761 oracle-mysql | CVE-2015-4766 | https://security-tracker.debian.org/tracker/CVE-2015-4766 oracle-mysql | CVE-2015-4767 | https://security-tracker.debian.org/tracker/CVE-2015-4767 oracle-mysql | CVE-2015-4769 | https://security-tracker.debian.org/tracker/CVE-2015-4769 oracle-mysql | CVE-2015-4771 | https://security-tracker.debian.org/tracker/CVE-2015-4771 oracle-mysql | CVE-2015-4772 | https://security-tracker.debian.org/tracker/CVE-2015-4772 oracle-mysql | CVE-2015-4791 | https://security-tracker.debian.org/tracker/CVE-2015-4791 oracle-mysql | CVE-2015-4800 | https://security-tracker.debian.org/tracker/CVE-2015-4800 oracle-mysql | CVE-2015-4833 | https://security-tracker.debian.org/tracker/CVE-2015-4833 oracle-mysql | CVE-2015-4862 | https://security-tracker.debian.org/tracker/CVE-2015-4862 oracle-mysql | CVE-2015-4890 | https://security-tracker.debian.org/tracker/CVE-2015-4890 oracle-mysql | CVE-2015-4904 | https://security-tracker.debian.org/tracker/CVE-2015-4904 oracle-mysql | CVE-2015-4905 | https://security-tracker.debian.org/tracker/CVE-2015-4905 oracle-mysql | CVE-2015-4910 | https://security-tracker.debian.org/tracker/CVE-2015-4910 oracle-mysql | CVE-2016-0503 | https://security-tracker.debian.org/tracker/CVE-2016-0503 oracle-mysql | CVE-2016-0504 | https://security-tracker.debian.org/tracker/CVE-2016-0504 oracle-mysql | CVE-2016-0594 | https://security-tracker.debian.org/tracker/CVE-2016-0594 oracle-mysql | CVE-2016-0595 | https://security-tracker.debian.org/tracker/CVE-2016-0595 oracle-mysql | CVE-2016-0607 | https://security-tracker.debian.org/tracker/CVE-2016-0607 oracle-mysql | CVE-2016-0610 | https://security-tracker.debian.org/tracker/CVE-2016-0610 oracle-mysql | CVE-2016-0611 | https://security-tracker.debian.org/tracker/CVE-2016-0611 oracle-mysql | CVE-2016-0616 | https://security-tracker.debian.org/tracker/CVE-2016-0616 oracle-mysql | CVE-2016-0652 | https://security-tracker.debian.org/tracker/CVE-2016-0652 oracle-mysql | CVE-2016-0653 | https://security-tracker.debian.org/tracker/CVE-2016-0653 oracle-mysql | CVE-2016-0654 | https://security-tracker.debian.org/tracker/CVE-2016-0654 oracle-mysql | CVE-2016-0656 | https://security-tracker.debian.org/tracker/CVE-2016-0656 oracle-mysql | CVE-2016-0657 | https://security-tracker.debian.org/tracker/CVE-2016-0657 oracle-mysql | CVE-2016-0658 | https://security-tracker.debian.org/tracker/CVE-2016-0658 oracle-mysql | CVE-2016-0659 | https://security-tracker.debian.org/tracker/CVE-2016-0659 oracle-mysql | CVE-2016-0662 | https://security-tracker.debian.org/tracker/CVE-2016-0662 oracle-mysql | CVE-2016-0663 | https://security-tracker.debian.org/tracker/CVE-2016-0663 oracle-mysql | CVE-2016-0667 | https://security-tracker.debian.org/tracker/CVE-2016-0667 oracle-mysql | CVE-2016-3424 | https://security-tracker.debian.org/tracker/CVE-2016-3424 oracle-mysql | CVE-2016-3440 | https://security-tracker.debian.org/tracker/CVE-2016-3440 oracle-mysql | CVE-2016-3518 | https://security-tracker.debian.org/tracker/CVE-2016-3518 oracle-mysql | CVE-2016-3588 | https://security-tracker.debian.org/tracker/CVE-2016-3588 oracle-mysql | CVE-2016-5436 | https://security-tracker.debian.org/tracker/CVE-2016-5436 oracle-mysql | CVE-2016-5437 | https://security-tracker.debian.org/tracker/CVE-2016-5437 oracle-mysql | CVE-2016-5441 | https://security-tracker.debian.org/tracker/CVE-2016-5441 oracle-mysql | CVE-2016-5442 | https://security-tracker.debian.org/tracker/CVE-2016-5442 oracle-mysql | CVE-2016-5443 | https://security-tracker.debian.org/tracker/CVE-2016-5443 oracle-mysql | CVE-2016-5628 | https://security-tracker.debian.org/tracker/CVE-2016-5628 oracle-mysql | CVE-2016-5631 | https://security-tracker.debian.org/tracker/CVE-2016-5631 oracle-mysql | CVE-2016-5632 | https://security-tracker.debian.org/tracker/CVE-2016-5632 oracle-mysql | CVE-2016-5633 | https://security-tracker.debian.org/tracker/CVE-2016-5633 oracle-mysql | CVE-2016-5634 | https://security-tracker.debian.org/tracker/CVE-2016-5634 oracle-mysql | CVE-2016-5635 | https://security-tracker.debian.org/tracker/CVE-2016-5635 oracle-mysql | CVE-2016-8286 | https://security-tracker.debian.org/tracker/CVE-2016-8286 oracle-mysql | CVE-2016-8287 | https://security-tracker.debian.org/tracker/CVE-2016-8287 oracle-mysql | CVE-2016-8289 | https://security-tracker.debian.org/tracker/CVE-2016-8289 oracle-mysql | CVE-2016-8290 | https://security-tracker.debian.org/tracker/CVE-2016-8290 oracle-mysql | CVE-2017-10165 | https://security-tracker.debian.org/tracker/CVE-2017-10165 oracle-mysql | CVE-2017-10167 | https://security-tracker.debian.org/tracker/CVE-2017-10167 oracle-mysql | CVE-2017-10284 | https://security-tracker.debian.org/tracker/CVE-2017-10284 oracle-mysql | CVE-2017-10296 | https://security-tracker.debian.org/tracker/CVE-2017-10296 oracle-mysql | CVE-2017-10311 | https://security-tracker.debian.org/tracker/CVE-2017-10311 oracle-mysql | CVE-2017-10313 | https://security-tracker.debian.org/tracker/CVE-2017-10313 oracle-mysql | CVE-2017-3251 | https://security-tracker.debian.org/tracker/CVE-2017-3251 oracle-mysql | CVE-2017-3256 | https://security-tracker.debian.org/tracker/CVE-2017-3256 oracle-mysql | CVE-2017-3319 | https://security-tracker.debian.org/tracker/CVE-2017-3319 oracle-mysql | CVE-2017-3320 | https://security-tracker.debian.org/tracker/CVE-2017-3320 oracle-mysql | CVE-2017-3452 | https://security-tracker.debian.org/tracker/CVE-2017-3452 oracle-mysql | CVE-2017-3454 | https://security-tracker.debian.org/tracker/CVE-2017-3454 oracle-mysql | CVE-2017-3455 | https://security-tracker.debian.org/tracker/CVE-2017-3455 oracle-mysql | CVE-2017-3457 | https://security-tracker.debian.org/tracker/CVE-2017-3457 oracle-mysql | CVE-2017-3458 | https://security-tracker.debian.org/tracker/CVE-2017-3458 oracle-mysql | CVE-2017-3459 | https://security-tracker.debian.org/tracker/CVE-2017-3459 oracle-mysql | CVE-2017-3460 | https://security-tracker.debian.org/tracker/CVE-2017-3460 oracle-mysql | CVE-2017-3465 | https://security-tracker.debian.org/tracker/CVE-2017-3465 oracle-mysql | CVE-2017-3467 | https://security-tracker.debian.org/tracker/CVE-2017-3467 oracle-mysql | CVE-2017-3468 | https://security-tracker.debian.org/tracker/CVE-2017-3468 oracle-mysql | CVE-2017-3529 | https://security-tracker.debian.org/tracker/CVE-2017-3529 oracle-mysql | CVE-2017-3637 | https://security-tracker.debian.org/tracker/CVE-2017-3637 oracle-mysql | CVE-2017-3638 | https://security-tracker.debian.org/tracker/CVE-2017-3638 oracle-mysql | CVE-2017-3639 | https://security-tracker.debian.org/tracker/CVE-2017-3639 oracle-mysql | CVE-2017-3640 | https://security-tracker.debian.org/tracker/CVE-2017-3640 oracle-mysql | CVE-2017-3642 | https://security-tracker.debian.org/tracker/CVE-2017-3642 oracle-mysql | CVE-2017-3643 | https://security-tracker.debian.org/tracker/CVE-2017-3643 oracle-mysql | CVE-2017-3644 | https://security-tracker.debian.org/tracker/CVE-2017-3644 oracle-mysql | CVE-2017-3645 | https://security-tracker.debian.org/tracker/CVE-2017-3645 oracle-mysql | CVE-2017-3646 | https://security-tracker.debian.org/tracker/CVE-2017-3646 oracle-mysql | CVE-2017-3650 | https://security-tracker.debian.org/tracker/CVE-2017-3650 oracle-mysql | CVE-2018-0735 | https://security-tracker.debian.org/tracker/CVE-2018-0735 oracle-mysql | CVE-2018-3061 | https://security-tracker.debian.org/tracker/CVE-2018-3061 oracle-mysql | CVE-2018-3071 | https://security-tracker.debian.org/tracker/CVE-2018-3071 oracle-mysql | CVE-2019-2731 | https://security-tracker.debian.org/tracker/CVE-2019-2731 oracle-mysql | CVE-2019-2741 | https://security-tracker.debian.org/tracker/CVE-2019-2741 oracle-mysql | CVE-2019-2755 | https://security-tracker.debian.org/tracker/CVE-2019-2755 oracle-mysql | CVE-2019-2757 | https://security-tracker.debian.org/tracker/CVE-2019-2757 oracle-mysql | CVE-2019-7317 | https://security-tracker.debian.org/tracker/CVE-2019-7317 oracle-mysql | CVE-2020-14760 | https://security-tracker.debian.org/tracker/CVE-2020-14760 oracle-mysql | CVE-2020-14814 | https://security-tracker.debian.org/tracker/CVE-2020-14814 oracle-mysql | CVE-2020-14830 | https://security-tracker.debian.org/tracker/CVE-2020-14830 oracle-mysql | CVE-2020-14837 | https://security-tracker.debian.org/tracker/CVE-2020-14837 oracle-mysql | CVE-2020-14839 | https://security-tracker.debian.org/tracker/CVE-2020-14839 oracle-mysql | CVE-2020-14845 | https://security-tracker.debian.org/tracker/CVE-2020-14845 oracle-mysql | CVE-2020-14846 | https://security-tracker.debian.org/tracker/CVE-2020-14846 oracle-mysql | CVE-2020-14852 | https://security-tracker.debian.org/tracker/CVE-2020-14852 oracle-mysql | CVE-2020-15358 | https://security-tracker.debian.org/tracker/CVE-2020-15358 oracle-mysql | CVE-2020-1967 | https://security-tracker.debian.org/tracker/CVE-2020-1967 oracle-mysql | CVE-2020-1971 | https://security-tracker.debian.org/tracker/CVE-2020-1971 oracle-mysql | CVE-2021-22570 | https://security-tracker.debian.org/tracker/CVE-2021-22570 oracle-mysql | CVE-2021-2356 | https://security-tracker.debian.org/tracker/CVE-2021-2356 oracle-mysql | CVE-2022-21417 | https://security-tracker.debian.org/tracker/CVE-2022-21417 oracle-mysql | CVE-2022-21444 | https://security-tracker.debian.org/tracker/CVE-2022-21444 oracle-mysql | CVE-2023-21977 | https://security-tracker.debian.org/tracker/CVE-2023-21977 oracle-mysql | CVE-2023-21980 | https://security-tracker.debian.org/tracker/CVE-2023-21980 oracle-mysql | CVE-2023-22007 | https://security-tracker.debian.org/tracker/CVE-2023-22007 oracle-mysql | CVE-2023-22053 | https://security-tracker.debian.org/tracker/CVE-2023-22053 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 perl | CVE-2023-31484 | https://security-tracker.debian.org/tracker/CVE-2023-31484 perl | CVE-2023-31486 | https://security-tracker.debian.org/tracker/CVE-2023-31486 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 pkgconf | CVE-2023-24056 | https://security-tracker.debian.org/tracker/CVE-2023-24056 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 python-aiohttp | CVE-2023-37276 | https://security-tracker.debian.org/tracker/CVE-2023-37276 python-flask | CVE-2023-30861 | https://security-tracker.debian.org/tracker/CVE-2023-30861 python-py | CVE-2022-42969 | https://security-tracker.debian.org/tracker/CVE-2022-42969 python-pygments | CVE-2022-40896 | https://security-tracker.debian.org/tracker/CVE-2022-40896 python-scipy | CVE-2023-25399 | https://security-tracker.debian.org/tracker/CVE-2023-25399 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2023-0330 | https://security-tracker.debian.org/tracker/CVE-2023-0330 qemu | CVE-2023-0664 | https://security-tracker.debian.org/tracker/CVE-2023-0664 qemu | CVE-2023-1386 | https://security-tracker.debian.org/tracker/CVE-2023-1386 qemu | CVE-2023-2680 | https://security-tracker.debian.org/tracker/CVE-2023-2680 qemu | CVE-2023-3019 | https://security-tracker.debian.org/tracker/CVE-2023-3019 qemu | CVE-2023-3180 | https://security-tracker.debian.org/tracker/CVE-2023-3180 qemu | CVE-2023-3255 | https://security-tracker.debian.org/tracker/CVE-2023-3255 qemu | CVE-2023-3301 | https://security-tracker.debian.org/tracker/CVE-2023-3301 qemu | CVE-2023-3354 | https://security-tracker.debian.org/tracker/CVE-2023-3354 qemu | CVE-2023-40360 | https://security-tracker.debian.org/tracker/CVE-2023-40360 qemu | CVE-2023-4135 | https://security-tracker.debian.org/tracker/CVE-2023-4135 qemu | CVE-2023-42467 | https://security-tracker.debian.org/tracker/CVE-2023-42467 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-c | CVE-2023-35789 | https://security-tracker.debian.org/tracker/CVE-2023-35789 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rust | CVE-2023-40030 | https://security-tracker.debian.org/tracker/CVE-2023-40030 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-14628 | https://security-tracker.debian.org/tracker/CVE-2018-14628 samba4 | CVE-2021-3670 | https://security-tracker.debian.org/tracker/CVE-2021-3670 samba4 | CVE-2022-1615 | https://security-tracker.debian.org/tracker/CVE-2022-1615 samba4 | CVE-2022-32743 | https://security-tracker.debian.org/tracker/CVE-2022-32743 samba4 | CVE-2022-37966 | https://security-tracker.debian.org/tracker/CVE-2022-37966 samba4 | CVE-2022-37967 | https://security-tracker.debian.org/tracker/CVE-2022-37967 samba4 | CVE-2022-38023 | https://security-tracker.debian.org/tracker/CVE-2022-38023 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 shim | CVE-2022-28737 | https://security-tracker.debian.org/tracker/CVE-2022-28737 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 speechd | CVE-2001-0956 | https://security-tracker.debian.org/tracker/CVE-2001-0956 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 stellarium | CVE-2023-28371 | https://security-tracker.debian.org/tracker/CVE-2023-28371 sudo | CVE-2023-27320 | https://security-tracker.debian.org/tracker/CVE-2023-27320 syslog-ng | CVE-2022-38725 | https://security-tracker.debian.org/tracker/CVE-2022-38725 sysstat | CVE-2023-33204 | https://security-tracker.debian.org/tracker/CVE-2023-33204 systemd | CVE-2022-4415 | https://security-tracker.debian.org/tracker/CVE-2022-4415 tar | CVE-2022-48303 | https://security-tracker.debian.org/tracker/CVE-2022-48303 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 tpm2-tss | CVE-2023-22745 | https://security-tracker.debian.org/tracker/CVE-2023-22745 uboot-tools | CVE-2022-2347 | https://security-tracker.debian.org/tracker/CVE-2022-2347 uboot-tools | CVE-2022-30767 | https://security-tracker.debian.org/tracker/CVE-2022-30767 uboot-tools | CVE-2022-33103 | https://security-tracker.debian.org/tracker/CVE-2022-33103 uboot-tools | CVE-2022-34835 | https://security-tracker.debian.org/tracker/CVE-2022-34835 unrar | CVE-2022-30333 | https://security-tracker.debian.org/tracker/CVE-2022-30333 unrar | CVE-2022-48579 | https://security-tracker.debian.org/tracker/CVE-2022-48579 unzip | CVE-2021-4217 | https://security-tracker.debian.org/tracker/CVE-2021-4217 upx | CVE-2023-23456 | https://security-tracker.debian.org/tracker/CVE-2023-23456 upx | CVE-2023-23457 | https://security-tracker.debian.org/tracker/CVE-2023-23457 wolfssl | CVE-2023-3724 | https://security-tracker.debian.org/tracker/CVE-2023-3724 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-21123 | https://security-tracker.debian.org/tracker/CVE-2022-21123 xen | CVE-2022-21125 | https://security-tracker.debian.org/tracker/CVE-2022-21125 xen | CVE-2022-21127 | https://security-tracker.debian.org/tracker/CVE-2022-21127 xen | CVE-2022-21166 | https://security-tracker.debian.org/tracker/CVE-2022-21166 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23824 | https://security-tracker.debian.org/tracker/CVE-2022-23824 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xen | CVE-2022-26362 | https://security-tracker.debian.org/tracker/CVE-2022-26362 xen | CVE-2022-26363 | https://security-tracker.debian.org/tracker/CVE-2022-26363 xen | CVE-2022-26364 | https://security-tracker.debian.org/tracker/CVE-2022-26364 xen | CVE-2022-26365 | https://security-tracker.debian.org/tracker/CVE-2022-26365 xen | CVE-2022-29900 | https://security-tracker.debian.org/tracker/CVE-2022-29900 xen | CVE-2022-29901 | https://security-tracker.debian.org/tracker/CVE-2022-29901 xen | CVE-2022-33740 | https://security-tracker.debian.org/tracker/CVE-2022-33740 xen | CVE-2022-33741 | https://security-tracker.debian.org/tracker/CVE-2022-33741 xen | CVE-2022-33742 | https://security-tracker.debian.org/tracker/CVE-2022-33742 xen | CVE-2022-33743 | https://security-tracker.debian.org/tracker/CVE-2022-33743 xen | CVE-2022-33745 | https://security-tracker.debian.org/tracker/CVE-2022-33745 xen | CVE-2022-33746 | https://security-tracker.debian.org/tracker/CVE-2022-33746 xen | CVE-2022-33747 | https://security-tracker.debian.org/tracker/CVE-2022-33747 xen | CVE-2022-33748 | https://security-tracker.debian.org/tracker/CVE-2022-33748 xen | CVE-2022-40982 | https://security-tracker.debian.org/tracker/CVE-2022-40982 xen | CVE-2022-42309 | https://security-tracker.debian.org/tracker/CVE-2022-42309 xen | CVE-2022-42311 | https://security-tracker.debian.org/tracker/CVE-2022-42311 xen | CVE-2022-42312 | https://security-tracker.debian.org/tracker/CVE-2022-42312 xen | CVE-2022-42313 | https://security-tracker.debian.org/tracker/CVE-2022-42313 xen | CVE-2022-42314 | https://security-tracker.debian.org/tracker/CVE-2022-42314 xen | CVE-2022-42315 | https://security-tracker.debian.org/tracker/CVE-2022-42315 xen | CVE-2022-42316 | https://security-tracker.debian.org/tracker/CVE-2022-42316 xen | CVE-2022-42317 | https://security-tracker.debian.org/tracker/CVE-2022-42317 xen | CVE-2022-42318 | https://security-tracker.debian.org/tracker/CVE-2022-42318 xen | CVE-2022-42319 | https://security-tracker.debian.org/tracker/CVE-2022-42319 xen | CVE-2022-42320 | https://security-tracker.debian.org/tracker/CVE-2022-42320 xen | CVE-2022-42321 | https://security-tracker.debian.org/tracker/CVE-2022-42321 xen | CVE-2022-42322 | https://security-tracker.debian.org/tracker/CVE-2022-42322 xen | CVE-2022-42323 | https://security-tracker.debian.org/tracker/CVE-2022-42323 xen | CVE-2022-42324 | https://security-tracker.debian.org/tracker/CVE-2022-42324 xen | CVE-2022-42325 | https://security-tracker.debian.org/tracker/CVE-2022-42325 xen | CVE-2022-42326 | https://security-tracker.debian.org/tracker/CVE-2022-42326 xen | CVE-2022-42331 | https://security-tracker.debian.org/tracker/CVE-2022-42331 xen | CVE-2022-42332 | https://security-tracker.debian.org/tracker/CVE-2022-42332 xen | CVE-2022-42333 | https://security-tracker.debian.org/tracker/CVE-2022-42333 xen | CVE-2022-42334 | https://security-tracker.debian.org/tracker/CVE-2022-42334 xen | CVE-2023-34319 | https://security-tracker.debian.org/tracker/CVE-2023-34319 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 yajl | CVE-2023-33460 | https://security-tracker.debian.org/tracker/CVE-2023-33460 yasm | CVE-2021-33454 | https://security-tracker.debian.org/tracker/CVE-2021-33454 yasm | CVE-2021-33455 | https://security-tracker.debian.org/tracker/CVE-2021-33455 yasm | CVE-2021-33456 | https://security-tracker.debian.org/tracker/CVE-2021-33456 yasm | CVE-2021-33457 | https://security-tracker.debian.org/tracker/CVE-2021-33457 yasm | CVE-2021-33458 | https://security-tracker.debian.org/tracker/CVE-2021-33458 yasm | CVE-2021-33459 | https://security-tracker.debian.org/tracker/CVE-2021-33459 yasm | CVE-2021-33460 | https://security-tracker.debian.org/tracker/CVE-2021-33460 yasm | CVE-2021-33461 | https://security-tracker.debian.org/tracker/CVE-2021-33461 yasm | CVE-2021-33462 | https://security-tracker.debian.org/tracker/CVE-2021-33462 yasm | CVE-2021-33463 | https://security-tracker.debian.org/tracker/CVE-2021-33463 yasm | CVE-2021-33464 | https://security-tracker.debian.org/tracker/CVE-2021-33464 yasm | CVE-2021-33465 | https://security-tracker.debian.org/tracker/CVE-2021-33465 yasm | CVE-2021-33466 | https://security-tracker.debian.org/tracker/CVE-2021-33466 yasm | CVE-2021-33467 | https://security-tracker.debian.org/tracker/CVE-2021-33467 yasm | CVE-2021-33468 | https://security-tracker.debian.org/tracker/CVE-2021-33468 yasm | CVE-2023-30402 | https://security-tracker.debian.org/tracker/CVE-2023-30402 yasm | CVE-2023-31972 | https://security-tracker.debian.org/tracker/CVE-2023-31972 yasm | CVE-2023-31973 | https://security-tracker.debian.org/tracker/CVE-2023-31973 yasm | CVE-2023-31974 | https://security-tracker.debian.org/tracker/CVE-2023-31974 yasm | CVE-2023-31975 | https://security-tracker.debian.org/tracker/CVE-2023-31975 zbar | CVE-2023-40889 | https://security-tracker.debian.org/tracker/CVE-2023-40889 zbar | CVE-2023-40890 | https://security-tracker.debian.org/tracker/CVE-2023-40890 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 CVEs for the '2023.08.x' branch ------------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 asn1c | CVE-2020-23910 | https://security-tracker.debian.org/tracker/CVE-2020-23910 asn1c | CVE-2020-23911 | https://security-tracker.debian.org/tracker/CVE-2020-23911 assimp | CVE-2022-38528 | https://security-tracker.debian.org/tracker/CVE-2022-38528 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-3807 | https://security-tracker.debian.org/tracker/CVE-2022-3807 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2023-1972 | https://security-tracker.debian.org/tracker/CVE-2023-1972 binutils | CVE-2023-25584 | https://security-tracker.debian.org/tracker/CVE-2023-25584 binutils | CVE-2023-25585 | https://security-tracker.debian.org/tracker/CVE-2023-25585 binutils | CVE-2023-25586 | https://security-tracker.debian.org/tracker/CVE-2023-25586 binutils | CVE-2023-25588 | https://security-tracker.debian.org/tracker/CVE-2023-25588 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bitcoin | CVE-2023-33297 | https://security-tracker.debian.org/tracker/CVE-2023-33297 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 bwm-ng | CVE-2023-26129 | https://security-tracker.debian.org/tracker/CVE-2023-26129 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2023-4504 | https://security-tracker.debian.org/tracker/CVE-2023-4504 cups-filters | CVE-2023-24805 | https://security-tracker.debian.org/tracker/CVE-2023-24805 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 dht | CVE-2020-36562 | https://security-tracker.debian.org/tracker/CVE-2020-36562 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 dracut | CVE-2010-4176 | https://security-tracker.debian.org/tracker/CVE-2010-4176 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 emlog | CVE-2022-1526 | https://security-tracker.debian.org/tracker/CVE-2022-1526 emlog | CVE-2022-3968 | https://security-tracker.debian.org/tracker/CVE-2022-3968 emlog | CVE-2023-43291 | https://security-tracker.debian.org/tracker/CVE-2023-43291 enlightenment | CVE-2022-37706 | https://security-tracker.debian.org/tracker/CVE-2022-37706 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2022-3109 | https://security-tracker.debian.org/tracker/CVE-2022-3109 ffmpeg | CVE-2022-3341 | https://security-tracker.debian.org/tracker/CVE-2022-3341 ffmpeg | CVE-2022-3964 | https://security-tracker.debian.org/tracker/CVE-2022-3964 ffmpeg | CVE-2022-48434 | https://security-tracker.debian.org/tracker/CVE-2022-48434 freeradius-server | CVE-2002-0318 | https://security-tracker.debian.org/tracker/CVE-2002-0318 freeradius-server | CVE-2011-4966 | https://security-tracker.debian.org/tracker/CVE-2011-4966 ghostscript | CVE-2023-38559 | https://security-tracker.debian.org/tracker/CVE-2023-38559 ghostscript | CVE-2023-38560 | https://security-tracker.debian.org/tracker/CVE-2023-38560 giflib | CVE-2022-28506 | https://security-tracker.debian.org/tracker/CVE-2022-28506 giflib | CVE-2023-39742 | https://security-tracker.debian.org/tracker/CVE-2023-39742 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 glibc | CVE-2023-4527 | https://security-tracker.debian.org/tracker/CVE-2023-4527 glibc | CVE-2023-5156 | https://security-tracker.debian.org/tracker/CVE-2023-5156 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 gnupg | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 gnupg | CVE-2022-34903 | https://security-tracker.debian.org/tracker/CVE-2022-34903 gnupg2 | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grpc | CVE-2023-1428 | https://security-tracker.debian.org/tracker/CVE-2023-1428 grpc | CVE-2023-32732 | https://security-tracker.debian.org/tracker/CVE-2023-32732 grpc | CVE-2023-33953 | https://security-tracker.debian.org/tracker/CVE-2023-33953 grpc | CVE-2023-4785 | https://security-tracker.debian.org/tracker/CVE-2023-4785 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2023-0056 | https://security-tracker.debian.org/tracker/CVE-2023-0056 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-5118 | https://security-tracker.debian.org/tracker/CVE-2016-5118 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 imagemagick | CVE-2023-1289 | https://security-tracker.debian.org/tracker/CVE-2023-1289 imagemagick | CVE-2023-2157 | https://security-tracker.debian.org/tracker/CVE-2023-2157 imagemagick | CVE-2023-34151 | https://security-tracker.debian.org/tracker/CVE-2023-34151 imagemagick | CVE-2023-34152 | https://security-tracker.debian.org/tracker/CVE-2023-34152 imagemagick | CVE-2023-34153 | https://security-tracker.debian.org/tracker/CVE-2023-34153 imagemagick | CVE-2023-34474 | https://security-tracker.debian.org/tracker/CVE-2023-34474 imagemagick | CVE-2023-34475 | https://security-tracker.debian.org/tracker/CVE-2023-34475 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 kvmtool | CVE-2021-45464 | https://security-tracker.debian.org/tracker/CVE-2021-45464 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libarchive | CVE-2023-30571 | https://security-tracker.debian.org/tracker/CVE-2023-30571 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libfreeimage | CVE-2020-21426 | https://security-tracker.debian.org/tracker/CVE-2020-21426 libfreeimage | CVE-2020-21427 | https://security-tracker.debian.org/tracker/CVE-2020-21427 libfreeimage | CVE-2020-21428 | https://security-tracker.debian.org/tracker/CVE-2020-21428 libfreeimage | CVE-2021-33367 | https://security-tracker.debian.org/tracker/CVE-2021-33367 libgtk2 | CVE-2014-1949 | https://security-tracker.debian.org/tracker/CVE-2014-1949 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libkrb5 | CVE-2023-36054 | https://security-tracker.debian.org/tracker/CVE-2023-36054 libkrb5 | CVE-2023-39975 | https://security-tracker.debian.org/tracker/CVE-2023-39975 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libmpeg2 | CVE-2022-37416 | https://security-tracker.debian.org/tracker/CVE-2022-37416 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libraw | CVE-2020-22628 | https://security-tracker.debian.org/tracker/CVE-2020-22628 libsndfile | CVE-2022-33065 | https://security-tracker.debian.org/tracker/CVE-2022-33065 libtommath | CVE-2023-36328 | https://security-tracker.debian.org/tracker/CVE-2023-36328 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 libvirt | CVE-2023-3750 | https://security-tracker.debian.org/tracker/CVE-2023-3750 lrzip | CVE-2022-33067 | https://security-tracker.debian.org/tracker/CVE-2022-33067 lrzip | CVE-2023-39741 | https://security-tracker.debian.org/tracker/CVE-2023-39741 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 mbedtls | CVE-2021-36647 | https://security-tracker.debian.org/tracker/CVE-2021-36647 mbedtls | CVE-2021-43666 | https://security-tracker.debian.org/tracker/CVE-2021-43666 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mdadm | CVE-2023-28736 | https://security-tracker.debian.org/tracker/CVE-2023-28736 mdadm | CVE-2023-28938 | https://security-tracker.debian.org/tracker/CVE-2023-28938 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 nasm | CVE-2022-46456 | https://security-tracker.debian.org/tracker/CVE-2022-46456 netdata | CVE-2023-22496 | https://security-tracker.debian.org/tracker/CVE-2023-22496 netdata | CVE-2023-22497 | https://security-tracker.debian.org/tracker/CVE-2023-22497 netsnmp | CVE-2022-44792 | https://security-tracker.debian.org/tracker/CVE-2022-44792 netsnmp | CVE-2022-44793 | https://security-tracker.debian.org/tracker/CVE-2022-44793 ninja | CVE-2021-4336 | https://security-tracker.debian.org/tracker/CVE-2021-4336 nodejs | CVE-2023-32002 | https://security-tracker.debian.org/tracker/CVE-2023-32002 nodejs | CVE-2023-32006 | https://security-tracker.debian.org/tracker/CVE-2023-32006 nodejs | CVE-2023-32559 | https://security-tracker.debian.org/tracker/CVE-2023-32559 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 open-iscsi | CVE-2020-13987 | https://security-tracker.debian.org/tracker/CVE-2020-13987 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 opencv3 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 opencv4 | CVE-2023-2617 | https://security-tracker.debian.org/tracker/CVE-2023-2617 opencv4 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openldap | CVE-2022-29155 | https://security-tracker.debian.org/tracker/CVE-2022-29155 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openssh | CVE-2023-38408 | https://security-tracker.debian.org/tracker/CVE-2023-38408 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 openvmtools | CVE-2014-4199 | https://security-tracker.debian.org/tracker/CVE-2014-4199 openvmtools | CVE-2014-4200 | https://security-tracker.debian.org/tracker/CVE-2014-4200 openvmtools | CVE-2021-31693 | https://security-tracker.debian.org/tracker/CVE-2021-31693 openvmtools | CVE-2022-22943 | https://security-tracker.debian.org/tracker/CVE-2022-22943 openvmtools | CVE-2022-31693 | https://security-tracker.debian.org/tracker/CVE-2022-31693 openvmtools | CVE-2023-20867 | https://security-tracker.debian.org/tracker/CVE-2023-20867 openvmtools | CVE-2023-20900 | https://security-tracker.debian.org/tracker/CVE-2023-20900 opus | CVE-2022-25345 | https://security-tracker.debian.org/tracker/CVE-2022-25345 oracle-mysql | CVE-2012-0583 | https://security-tracker.debian.org/tracker/CVE-2012-0583 oracle-mysql | CVE-2012-1696 | https://security-tracker.debian.org/tracker/CVE-2012-1696 oracle-mysql | CVE-2012-3144 | https://security-tracker.debian.org/tracker/CVE-2012-3144 oracle-mysql | CVE-2012-3147 | https://security-tracker.debian.org/tracker/CVE-2012-3147 oracle-mysql | CVE-2012-3149 | https://security-tracker.debian.org/tracker/CVE-2012-3149 oracle-mysql | CVE-2012-3156 | https://security-tracker.debian.org/tracker/CVE-2012-3156 oracle-mysql | CVE-2012-4414 | https://security-tracker.debian.org/tracker/CVE-2012-4414 oracle-mysql | CVE-2013-1566 | https://security-tracker.debian.org/tracker/CVE-2013-1566 oracle-mysql | CVE-2013-1567 | https://security-tracker.debian.org/tracker/CVE-2013-1567 oracle-mysql | CVE-2013-1570 | https://security-tracker.debian.org/tracker/CVE-2013-1570 oracle-mysql | CVE-2013-2381 | https://security-tracker.debian.org/tracker/CVE-2013-2381 oracle-mysql | CVE-2013-2395 | https://security-tracker.debian.org/tracker/CVE-2013-2395 oracle-mysql | CVE-2013-3795 | https://security-tracker.debian.org/tracker/CVE-2013-3795 oracle-mysql | CVE-2013-3796 | https://security-tracker.debian.org/tracker/CVE-2013-3796 oracle-mysql | CVE-2013-3798 | https://security-tracker.debian.org/tracker/CVE-2013-3798 oracle-mysql | CVE-2013-3806 | https://security-tracker.debian.org/tracker/CVE-2013-3806 oracle-mysql | CVE-2013-3807 | https://security-tracker.debian.org/tracker/CVE-2013-3807 oracle-mysql | CVE-2013-3810 | https://security-tracker.debian.org/tracker/CVE-2013-3810 oracle-mysql | CVE-2013-3811 | https://security-tracker.debian.org/tracker/CVE-2013-3811 oracle-mysql | CVE-2013-5767 | https://security-tracker.debian.org/tracker/CVE-2013-5767 oracle-mysql | CVE-2013-5770 | https://security-tracker.debian.org/tracker/CVE-2013-5770 oracle-mysql | CVE-2013-5786 | https://security-tracker.debian.org/tracker/CVE-2013-5786 oracle-mysql | CVE-2013-5793 | https://security-tracker.debian.org/tracker/CVE-2013-5793 oracle-mysql | CVE-2013-5860 | https://security-tracker.debian.org/tracker/CVE-2013-5860 oracle-mysql | CVE-2013-5881 | https://security-tracker.debian.org/tracker/CVE-2013-5881 oracle-mysql | CVE-2013-5882 | https://security-tracker.debian.org/tracker/CVE-2013-5882 oracle-mysql | CVE-2013-5894 | https://security-tracker.debian.org/tracker/CVE-2013-5894 oracle-mysql | CVE-2014-0427 | https://security-tracker.debian.org/tracker/CVE-2014-0427 oracle-mysql | CVE-2014-0430 | https://security-tracker.debian.org/tracker/CVE-2014-0430 oracle-mysql | CVE-2014-0431 | https://security-tracker.debian.org/tracker/CVE-2014-0431 oracle-mysql | CVE-2014-0433 | https://security-tracker.debian.org/tracker/CVE-2014-0433 oracle-mysql | CVE-2014-2434 | https://security-tracker.debian.org/tracker/CVE-2014-2434 oracle-mysql | CVE-2014-2435 | https://security-tracker.debian.org/tracker/CVE-2014-2435 oracle-mysql | CVE-2014-2442 | https://security-tracker.debian.org/tracker/CVE-2014-2442 oracle-mysql | CVE-2014-2444 | https://security-tracker.debian.org/tracker/CVE-2014-2444 oracle-mysql | CVE-2014-2450 | https://security-tracker.debian.org/tracker/CVE-2014-2450 oracle-mysql | CVE-2014-2451 | https://security-tracker.debian.org/tracker/CVE-2014-2451 oracle-mysql | CVE-2014-2484 | https://security-tracker.debian.org/tracker/CVE-2014-2484 oracle-mysql | CVE-2014-4214 | https://security-tracker.debian.org/tracker/CVE-2014-4214 oracle-mysql | CVE-2014-4233 | https://security-tracker.debian.org/tracker/CVE-2014-4233 oracle-mysql | CVE-2014-4238 | https://security-tracker.debian.org/tracker/CVE-2014-4238 oracle-mysql | CVE-2014-4240 | https://security-tracker.debian.org/tracker/CVE-2014-4240 oracle-mysql | CVE-2015-0385 | https://security-tracker.debian.org/tracker/CVE-2015-0385 oracle-mysql | CVE-2015-0405 | https://security-tracker.debian.org/tracker/CVE-2015-0405 oracle-mysql | CVE-2015-0409 | https://security-tracker.debian.org/tracker/CVE-2015-0409 oracle-mysql | CVE-2015-0423 | https://security-tracker.debian.org/tracker/CVE-2015-0423 oracle-mysql | CVE-2015-0438 | https://security-tracker.debian.org/tracker/CVE-2015-0438 oracle-mysql | CVE-2015-0439 | https://security-tracker.debian.org/tracker/CVE-2015-0439 oracle-mysql | CVE-2015-0498 | https://security-tracker.debian.org/tracker/CVE-2015-0498 oracle-mysql | CVE-2015-0500 | https://security-tracker.debian.org/tracker/CVE-2015-0500 oracle-mysql | CVE-2015-0503 | https://security-tracker.debian.org/tracker/CVE-2015-0503 oracle-mysql | CVE-2015-0506 | https://security-tracker.debian.org/tracker/CVE-2015-0506 oracle-mysql | CVE-2015-0507 | https://security-tracker.debian.org/tracker/CVE-2015-0507 oracle-mysql | CVE-2015-0508 | https://security-tracker.debian.org/tracker/CVE-2015-0508 oracle-mysql | CVE-2015-0511 | https://security-tracker.debian.org/tracker/CVE-2015-0511 oracle-mysql | CVE-2015-2566 | https://security-tracker.debian.org/tracker/CVE-2015-2566 oracle-mysql | CVE-2015-2567 | https://security-tracker.debian.org/tracker/CVE-2015-2567 oracle-mysql | CVE-2015-2611 | https://security-tracker.debian.org/tracker/CVE-2015-2611 oracle-mysql | CVE-2015-2617 | https://security-tracker.debian.org/tracker/CVE-2015-2617 oracle-mysql | CVE-2015-2639 | https://security-tracker.debian.org/tracker/CVE-2015-2639 oracle-mysql | CVE-2015-2641 | https://security-tracker.debian.org/tracker/CVE-2015-2641 oracle-mysql | CVE-2015-2661 | https://security-tracker.debian.org/tracker/CVE-2015-2661 oracle-mysql | CVE-2015-3152 | https://security-tracker.debian.org/tracker/CVE-2015-3152 oracle-mysql | CVE-2015-4730 | https://security-tracker.debian.org/tracker/CVE-2015-4730 oracle-mysql | CVE-2015-4756 | https://security-tracker.debian.org/tracker/CVE-2015-4756 oracle-mysql | CVE-2015-4761 | https://security-tracker.debian.org/tracker/CVE-2015-4761 oracle-mysql | CVE-2015-4766 | https://security-tracker.debian.org/tracker/CVE-2015-4766 oracle-mysql | CVE-2015-4767 | https://security-tracker.debian.org/tracker/CVE-2015-4767 oracle-mysql | CVE-2015-4769 | https://security-tracker.debian.org/tracker/CVE-2015-4769 oracle-mysql | CVE-2015-4771 | https://security-tracker.debian.org/tracker/CVE-2015-4771 oracle-mysql | CVE-2015-4772 | https://security-tracker.debian.org/tracker/CVE-2015-4772 oracle-mysql | CVE-2015-4791 | https://security-tracker.debian.org/tracker/CVE-2015-4791 oracle-mysql | CVE-2015-4800 | https://security-tracker.debian.org/tracker/CVE-2015-4800 oracle-mysql | CVE-2015-4833 | https://security-tracker.debian.org/tracker/CVE-2015-4833 oracle-mysql | CVE-2015-4862 | https://security-tracker.debian.org/tracker/CVE-2015-4862 oracle-mysql | CVE-2015-4890 | https://security-tracker.debian.org/tracker/CVE-2015-4890 oracle-mysql | CVE-2015-4904 | https://security-tracker.debian.org/tracker/CVE-2015-4904 oracle-mysql | CVE-2015-4905 | https://security-tracker.debian.org/tracker/CVE-2015-4905 oracle-mysql | CVE-2015-4910 | https://security-tracker.debian.org/tracker/CVE-2015-4910 oracle-mysql | CVE-2016-0503 | https://security-tracker.debian.org/tracker/CVE-2016-0503 oracle-mysql | CVE-2016-0504 | https://security-tracker.debian.org/tracker/CVE-2016-0504 oracle-mysql | CVE-2016-0594 | https://security-tracker.debian.org/tracker/CVE-2016-0594 oracle-mysql | CVE-2016-0595 | https://security-tracker.debian.org/tracker/CVE-2016-0595 oracle-mysql | CVE-2016-0607 | https://security-tracker.debian.org/tracker/CVE-2016-0607 oracle-mysql | CVE-2016-0610 | https://security-tracker.debian.org/tracker/CVE-2016-0610 oracle-mysql | CVE-2016-0611 | https://security-tracker.debian.org/tracker/CVE-2016-0611 oracle-mysql | CVE-2016-0616 | https://security-tracker.debian.org/tracker/CVE-2016-0616 oracle-mysql | CVE-2016-0652 | https://security-tracker.debian.org/tracker/CVE-2016-0652 oracle-mysql | CVE-2016-0653 | https://security-tracker.debian.org/tracker/CVE-2016-0653 oracle-mysql | CVE-2016-0654 | https://security-tracker.debian.org/tracker/CVE-2016-0654 oracle-mysql | CVE-2016-0656 | https://security-tracker.debian.org/tracker/CVE-2016-0656 oracle-mysql | CVE-2016-0657 | https://security-tracker.debian.org/tracker/CVE-2016-0657 oracle-mysql | CVE-2016-0658 | https://security-tracker.debian.org/tracker/CVE-2016-0658 oracle-mysql | CVE-2016-0659 | https://security-tracker.debian.org/tracker/CVE-2016-0659 oracle-mysql | CVE-2016-0662 | https://security-tracker.debian.org/tracker/CVE-2016-0662 oracle-mysql | CVE-2016-0663 | https://security-tracker.debian.org/tracker/CVE-2016-0663 oracle-mysql | CVE-2016-0667 | https://security-tracker.debian.org/tracker/CVE-2016-0667 oracle-mysql | CVE-2016-3424 | https://security-tracker.debian.org/tracker/CVE-2016-3424 oracle-mysql | CVE-2016-3440 | https://security-tracker.debian.org/tracker/CVE-2016-3440 oracle-mysql | CVE-2016-3518 | https://security-tracker.debian.org/tracker/CVE-2016-3518 oracle-mysql | CVE-2016-3588 | https://security-tracker.debian.org/tracker/CVE-2016-3588 oracle-mysql | CVE-2016-5436 | https://security-tracker.debian.org/tracker/CVE-2016-5436 oracle-mysql | CVE-2016-5437 | https://security-tracker.debian.org/tracker/CVE-2016-5437 oracle-mysql | CVE-2016-5441 | https://security-tracker.debian.org/tracker/CVE-2016-5441 oracle-mysql | CVE-2016-5442 | https://security-tracker.debian.org/tracker/CVE-2016-5442 oracle-mysql | CVE-2016-5443 | https://security-tracker.debian.org/tracker/CVE-2016-5443 oracle-mysql | CVE-2016-5628 | https://security-tracker.debian.org/tracker/CVE-2016-5628 oracle-mysql | CVE-2016-5631 | https://security-tracker.debian.org/tracker/CVE-2016-5631 oracle-mysql | CVE-2016-5632 | https://security-tracker.debian.org/tracker/CVE-2016-5632 oracle-mysql | CVE-2016-5633 | https://security-tracker.debian.org/tracker/CVE-2016-5633 oracle-mysql | CVE-2016-5634 | https://security-tracker.debian.org/tracker/CVE-2016-5634 oracle-mysql | CVE-2016-5635 | https://security-tracker.debian.org/tracker/CVE-2016-5635 oracle-mysql | CVE-2016-8286 | https://security-tracker.debian.org/tracker/CVE-2016-8286 oracle-mysql | CVE-2016-8287 | https://security-tracker.debian.org/tracker/CVE-2016-8287 oracle-mysql | CVE-2016-8289 | https://security-tracker.debian.org/tracker/CVE-2016-8289 oracle-mysql | CVE-2016-8290 | https://security-tracker.debian.org/tracker/CVE-2016-8290 oracle-mysql | CVE-2017-10165 | https://security-tracker.debian.org/tracker/CVE-2017-10165 oracle-mysql | CVE-2017-10167 | https://security-tracker.debian.org/tracker/CVE-2017-10167 oracle-mysql | CVE-2017-10284 | https://security-tracker.debian.org/tracker/CVE-2017-10284 oracle-mysql | CVE-2017-10296 | https://security-tracker.debian.org/tracker/CVE-2017-10296 oracle-mysql | CVE-2017-10311 | https://security-tracker.debian.org/tracker/CVE-2017-10311 oracle-mysql | CVE-2017-10313 | https://security-tracker.debian.org/tracker/CVE-2017-10313 oracle-mysql | CVE-2017-3251 | https://security-tracker.debian.org/tracker/CVE-2017-3251 oracle-mysql | CVE-2017-3256 | https://security-tracker.debian.org/tracker/CVE-2017-3256 oracle-mysql | CVE-2017-3319 | https://security-tracker.debian.org/tracker/CVE-2017-3319 oracle-mysql | CVE-2017-3320 | https://security-tracker.debian.org/tracker/CVE-2017-3320 oracle-mysql | CVE-2017-3452 | https://security-tracker.debian.org/tracker/CVE-2017-3452 oracle-mysql | CVE-2017-3454 | https://security-tracker.debian.org/tracker/CVE-2017-3454 oracle-mysql | CVE-2017-3455 | https://security-tracker.debian.org/tracker/CVE-2017-3455 oracle-mysql | CVE-2017-3457 | https://security-tracker.debian.org/tracker/CVE-2017-3457 oracle-mysql | CVE-2017-3458 | https://security-tracker.debian.org/tracker/CVE-2017-3458 oracle-mysql | CVE-2017-3459 | https://security-tracker.debian.org/tracker/CVE-2017-3459 oracle-mysql | CVE-2017-3460 | https://security-tracker.debian.org/tracker/CVE-2017-3460 oracle-mysql | CVE-2017-3465 | https://security-tracker.debian.org/tracker/CVE-2017-3465 oracle-mysql | CVE-2017-3467 | https://security-tracker.debian.org/tracker/CVE-2017-3467 oracle-mysql | CVE-2017-3468 | https://security-tracker.debian.org/tracker/CVE-2017-3468 oracle-mysql | CVE-2017-3529 | https://security-tracker.debian.org/tracker/CVE-2017-3529 oracle-mysql | CVE-2017-3637 | https://security-tracker.debian.org/tracker/CVE-2017-3637 oracle-mysql | CVE-2017-3638 | https://security-tracker.debian.org/tracker/CVE-2017-3638 oracle-mysql | CVE-2017-3639 | https://security-tracker.debian.org/tracker/CVE-2017-3639 oracle-mysql | CVE-2017-3640 | https://security-tracker.debian.org/tracker/CVE-2017-3640 oracle-mysql | CVE-2017-3642 | https://security-tracker.debian.org/tracker/CVE-2017-3642 oracle-mysql | CVE-2017-3643 | https://security-tracker.debian.org/tracker/CVE-2017-3643 oracle-mysql | CVE-2017-3644 | https://security-tracker.debian.org/tracker/CVE-2017-3644 oracle-mysql | CVE-2017-3645 | https://security-tracker.debian.org/tracker/CVE-2017-3645 oracle-mysql | CVE-2017-3646 | https://security-tracker.debian.org/tracker/CVE-2017-3646 oracle-mysql | CVE-2017-3650 | https://security-tracker.debian.org/tracker/CVE-2017-3650 oracle-mysql | CVE-2018-0735 | https://security-tracker.debian.org/tracker/CVE-2018-0735 oracle-mysql | CVE-2018-3061 | https://security-tracker.debian.org/tracker/CVE-2018-3061 oracle-mysql | CVE-2018-3071 | https://security-tracker.debian.org/tracker/CVE-2018-3071 oracle-mysql | CVE-2019-2731 | https://security-tracker.debian.org/tracker/CVE-2019-2731 oracle-mysql | CVE-2019-2741 | https://security-tracker.debian.org/tracker/CVE-2019-2741 oracle-mysql | CVE-2019-2755 | https://security-tracker.debian.org/tracker/CVE-2019-2755 oracle-mysql | CVE-2019-2757 | https://security-tracker.debian.org/tracker/CVE-2019-2757 oracle-mysql | CVE-2019-7317 | https://security-tracker.debian.org/tracker/CVE-2019-7317 oracle-mysql | CVE-2020-14760 | https://security-tracker.debian.org/tracker/CVE-2020-14760 oracle-mysql | CVE-2020-14814 | https://security-tracker.debian.org/tracker/CVE-2020-14814 oracle-mysql | CVE-2020-14830 | https://security-tracker.debian.org/tracker/CVE-2020-14830 oracle-mysql | CVE-2020-14837 | https://security-tracker.debian.org/tracker/CVE-2020-14837 oracle-mysql | CVE-2020-14839 | https://security-tracker.debian.org/tracker/CVE-2020-14839 oracle-mysql | CVE-2020-14845 | https://security-tracker.debian.org/tracker/CVE-2020-14845 oracle-mysql | CVE-2020-14846 | https://security-tracker.debian.org/tracker/CVE-2020-14846 oracle-mysql | CVE-2020-14852 | https://security-tracker.debian.org/tracker/CVE-2020-14852 oracle-mysql | CVE-2020-15358 | https://security-tracker.debian.org/tracker/CVE-2020-15358 oracle-mysql | CVE-2020-1967 | https://security-tracker.debian.org/tracker/CVE-2020-1967 oracle-mysql | CVE-2020-1971 | https://security-tracker.debian.org/tracker/CVE-2020-1971 oracle-mysql | CVE-2021-22570 | https://security-tracker.debian.org/tracker/CVE-2021-22570 oracle-mysql | CVE-2021-2356 | https://security-tracker.debian.org/tracker/CVE-2021-2356 oracle-mysql | CVE-2022-21417 | https://security-tracker.debian.org/tracker/CVE-2022-21417 oracle-mysql | CVE-2022-21444 | https://security-tracker.debian.org/tracker/CVE-2022-21444 oracle-mysql | CVE-2023-21977 | https://security-tracker.debian.org/tracker/CVE-2023-21977 oracle-mysql | CVE-2023-21980 | https://security-tracker.debian.org/tracker/CVE-2023-21980 oracle-mysql | CVE-2023-22007 | https://security-tracker.debian.org/tracker/CVE-2023-22007 oracle-mysql | CVE-2023-22053 | https://security-tracker.debian.org/tracker/CVE-2023-22053 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 perl | CVE-2023-31484 | https://security-tracker.debian.org/tracker/CVE-2023-31484 perl | CVE-2023-31486 | https://security-tracker.debian.org/tracker/CVE-2023-31486 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 pkgconf | CVE-2023-24056 | https://security-tracker.debian.org/tracker/CVE-2023-24056 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 python-py | CVE-2022-42969 | https://security-tracker.debian.org/tracker/CVE-2022-42969 python-scipy | CVE-2023-25399 | https://security-tracker.debian.org/tracker/CVE-2023-25399 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2023-1386 | https://security-tracker.debian.org/tracker/CVE-2023-1386 qemu | CVE-2023-2680 | https://security-tracker.debian.org/tracker/CVE-2023-2680 qemu | CVE-2023-3019 | https://security-tracker.debian.org/tracker/CVE-2023-3019 qemu | CVE-2023-3180 | https://security-tracker.debian.org/tracker/CVE-2023-3180 qemu | CVE-2023-3255 | https://security-tracker.debian.org/tracker/CVE-2023-3255 qemu | CVE-2023-3301 | https://security-tracker.debian.org/tracker/CVE-2023-3301 qemu | CVE-2023-3354 | https://security-tracker.debian.org/tracker/CVE-2023-3354 qemu | CVE-2023-40360 | https://security-tracker.debian.org/tracker/CVE-2023-40360 qemu | CVE-2023-4135 | https://security-tracker.debian.org/tracker/CVE-2023-4135 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-c | CVE-2023-35789 | https://security-tracker.debian.org/tracker/CVE-2023-35789 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rust | CVE-2023-40030 | https://security-tracker.debian.org/tracker/CVE-2023-40030 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-14628 | https://security-tracker.debian.org/tracker/CVE-2018-14628 samba4 | CVE-2021-3670 | https://security-tracker.debian.org/tracker/CVE-2021-3670 samba4 | CVE-2022-1615 | https://security-tracker.debian.org/tracker/CVE-2022-1615 samba4 | CVE-2022-32743 | https://security-tracker.debian.org/tracker/CVE-2022-32743 samba4 | CVE-2022-37966 | https://security-tracker.debian.org/tracker/CVE-2022-37966 samba4 | CVE-2022-37967 | https://security-tracker.debian.org/tracker/CVE-2022-37967 samba4 | CVE-2022-38023 | https://security-tracker.debian.org/tracker/CVE-2022-38023 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 shadow | CVE-2013-4235 | https://security-tracker.debian.org/tracker/CVE-2013-4235 shim | CVE-2022-28737 | https://security-tracker.debian.org/tracker/CVE-2022-28737 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 speechd | CVE-2001-0956 | https://security-tracker.debian.org/tracker/CVE-2001-0956 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 sudo | CVE-2023-27320 | https://security-tracker.debian.org/tracker/CVE-2023-27320 syslog-ng | CVE-2022-38725 | https://security-tracker.debian.org/tracker/CVE-2022-38725 sysstat | CVE-2023-33204 | https://security-tracker.debian.org/tracker/CVE-2023-33204 tar | CVE-2022-48303 | https://security-tracker.debian.org/tracker/CVE-2022-48303 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 tpm2-tss | CVE-2023-22745 | https://security-tracker.debian.org/tracker/CVE-2023-22745 uboot-tools | CVE-2022-2347 | https://security-tracker.debian.org/tracker/CVE-2022-2347 uboot-tools | CVE-2022-30767 | https://security-tracker.debian.org/tracker/CVE-2022-30767 uboot-tools | CVE-2022-33103 | https://security-tracker.debian.org/tracker/CVE-2022-33103 uboot-tools | CVE-2022-34835 | https://security-tracker.debian.org/tracker/CVE-2022-34835 unrar | CVE-2022-30333 | https://security-tracker.debian.org/tracker/CVE-2022-30333 unzip | CVE-2021-4217 | https://security-tracker.debian.org/tracker/CVE-2021-4217 upx | CVE-2023-23456 | https://security-tracker.debian.org/tracker/CVE-2023-23456 upx | CVE-2023-23457 | https://security-tracker.debian.org/tracker/CVE-2023-23457 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-21123 | https://security-tracker.debian.org/tracker/CVE-2022-21123 xen | CVE-2022-21125 | https://security-tracker.debian.org/tracker/CVE-2022-21125 xen | CVE-2022-21127 | https://security-tracker.debian.org/tracker/CVE-2022-21127 xen | CVE-2022-21166 | https://security-tracker.debian.org/tracker/CVE-2022-21166 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23824 | https://security-tracker.debian.org/tracker/CVE-2022-23824 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xen | CVE-2022-26362 | https://security-tracker.debian.org/tracker/CVE-2022-26362 xen | CVE-2022-26363 | https://security-tracker.debian.org/tracker/CVE-2022-26363 xen | CVE-2022-26364 | https://security-tracker.debian.org/tracker/CVE-2022-26364 xen | CVE-2022-26365 | https://security-tracker.debian.org/tracker/CVE-2022-26365 xen | CVE-2022-29900 | https://security-tracker.debian.org/tracker/CVE-2022-29900 xen | CVE-2022-29901 | https://security-tracker.debian.org/tracker/CVE-2022-29901 xen | CVE-2022-33740 | https://security-tracker.debian.org/tracker/CVE-2022-33740 xen | CVE-2022-33741 | https://security-tracker.debian.org/tracker/CVE-2022-33741 xen | CVE-2022-33742 | https://security-tracker.debian.org/tracker/CVE-2022-33742 xen | CVE-2022-33743 | https://security-tracker.debian.org/tracker/CVE-2022-33743 xen | CVE-2022-33745 | https://security-tracker.debian.org/tracker/CVE-2022-33745 xen | CVE-2022-33746 | https://security-tracker.debian.org/tracker/CVE-2022-33746 xen | CVE-2022-33747 | https://security-tracker.debian.org/tracker/CVE-2022-33747 xen | CVE-2022-33748 | https://security-tracker.debian.org/tracker/CVE-2022-33748 xen | CVE-2022-40982 | https://security-tracker.debian.org/tracker/CVE-2022-40982 xen | CVE-2022-42309 | https://security-tracker.debian.org/tracker/CVE-2022-42309 xen | CVE-2022-42311 | https://security-tracker.debian.org/tracker/CVE-2022-42311 xen | CVE-2022-42312 | https://security-tracker.debian.org/tracker/CVE-2022-42312 xen | CVE-2022-42313 | https://security-tracker.debian.org/tracker/CVE-2022-42313 xen | CVE-2022-42314 | https://security-tracker.debian.org/tracker/CVE-2022-42314 xen | CVE-2022-42315 | https://security-tracker.debian.org/tracker/CVE-2022-42315 xen | CVE-2022-42316 | https://security-tracker.debian.org/tracker/CVE-2022-42316 xen | CVE-2022-42317 | https://security-tracker.debian.org/tracker/CVE-2022-42317 xen | CVE-2022-42318 | https://security-tracker.debian.org/tracker/CVE-2022-42318 xen | CVE-2022-42319 | https://security-tracker.debian.org/tracker/CVE-2022-42319 xen | CVE-2022-42320 | https://security-tracker.debian.org/tracker/CVE-2022-42320 xen | CVE-2022-42321 | https://security-tracker.debian.org/tracker/CVE-2022-42321 xen | CVE-2022-42322 | https://security-tracker.debian.org/tracker/CVE-2022-42322 xen | CVE-2022-42323 | https://security-tracker.debian.org/tracker/CVE-2022-42323 xen | CVE-2022-42324 | https://security-tracker.debian.org/tracker/CVE-2022-42324 xen | CVE-2022-42325 | https://security-tracker.debian.org/tracker/CVE-2022-42325 xen | CVE-2022-42326 | https://security-tracker.debian.org/tracker/CVE-2022-42326 xen | CVE-2022-42331 | https://security-tracker.debian.org/tracker/CVE-2022-42331 xen | CVE-2022-42332 | https://security-tracker.debian.org/tracker/CVE-2022-42332 xen | CVE-2022-42333 | https://security-tracker.debian.org/tracker/CVE-2022-42333 xen | CVE-2022-42334 | https://security-tracker.debian.org/tracker/CVE-2022-42334 xen | CVE-2023-34319 | https://security-tracker.debian.org/tracker/CVE-2023-34319 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 yajl | CVE-2023-33460 | https://security-tracker.debian.org/tracker/CVE-2023-33460 yasm | CVE-2021-33454 | https://security-tracker.debian.org/tracker/CVE-2021-33454 yasm | CVE-2021-33455 | https://security-tracker.debian.org/tracker/CVE-2021-33455 yasm | CVE-2021-33456 | https://security-tracker.debian.org/tracker/CVE-2021-33456 yasm | CVE-2021-33457 | https://security-tracker.debian.org/tracker/CVE-2021-33457 yasm | CVE-2021-33458 | https://security-tracker.debian.org/tracker/CVE-2021-33458 yasm | CVE-2021-33459 | https://security-tracker.debian.org/tracker/CVE-2021-33459 yasm | CVE-2021-33460 | https://security-tracker.debian.org/tracker/CVE-2021-33460 yasm | CVE-2021-33461 | https://security-tracker.debian.org/tracker/CVE-2021-33461 yasm | CVE-2021-33462 | https://security-tracker.debian.org/tracker/CVE-2021-33462 yasm | CVE-2021-33463 | https://security-tracker.debian.org/tracker/CVE-2021-33463 yasm | CVE-2021-33464 | https://security-tracker.debian.org/tracker/CVE-2021-33464 yasm | CVE-2021-33465 | https://security-tracker.debian.org/tracker/CVE-2021-33465 yasm | CVE-2021-33466 | https://security-tracker.debian.org/tracker/CVE-2021-33466 yasm | CVE-2021-33467 | https://security-tracker.debian.org/tracker/CVE-2021-33467 yasm | CVE-2021-33468 | https://security-tracker.debian.org/tracker/CVE-2021-33468 yasm | CVE-2023-30402 | https://security-tracker.debian.org/tracker/CVE-2023-30402 yasm | CVE-2023-31972 | https://security-tracker.debian.org/tracker/CVE-2023-31972 yasm | CVE-2023-31973 | https://security-tracker.debian.org/tracker/CVE-2023-31973 yasm | CVE-2023-31974 | https://security-tracker.debian.org/tracker/CVE-2023-31974 yasm | CVE-2023-31975 | https://security-tracker.debian.org/tracker/CVE-2023-31975 zbar | CVE-2023-40889 | https://security-tracker.debian.org/tracker/CVE-2023-40889 zbar | CVE-2023-40890 | https://security-tracker.debian.org/tracker/CVE-2023-40890 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 -- http://autobuild.buildroot.net From peter at korsgaard.com Mon Oct 2 08:41:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:41:47 +0200 Subject: [Buildroot] [PATCH v2] package/wilc-driver: fix build failure with Linux 6.3+ In-Reply-To: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> (Giulio Benetti's message of "Sun, 1 Oct 2023 21:01:01 +0200") References: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> Message-ID: <87y1glh0vo.fsf@48ers.dk> >>>>> "Giulio" == Giulio Benetti writes: > Add local patches pending upstream to fix build failure on Linux 6.3+ > Fixes: > http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f > Signed-off-by: Giulio Benetti Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 2 08:42:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:42:28 +0200 Subject: [Buildroot] [PATCH] package/netsnmp: security bump to version 5.9.4 In-Reply-To: <20231001190639.1391551-2-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 21:06:39 +0200") References: <20231001190639.1391551-2-dalang@gmx.at> Message-ID: <87ttr9h0uj.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c > in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can > be used by a remote attacker (who has write access) to cause the > instance to crash via a crafted UDP packet, resulting in Denial of > Service. > CVE-2022-44793 handle_ipv6IpForwarding in > agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a > NULL Pointer Exception bug that can be used by a remote attacker to > cause the instance to crash via a crafted UDP packet, resulting in > Denial of Service. > The pgp key was changed [0] as the old one expired [1]. > [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ > [1]: https://github.com/net-snmp/net-snmp/issues/595 > Signed-off-by: Daniel Lang Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 2 08:42:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:42:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/sslh: add SSLH_CPE_ID_VENDOR In-Reply-To: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 18:56:01 +0200") References: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> Message-ID: <87pm1xh0to.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: > https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 2 08:44:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:44:06 +0200 Subject: [Buildroot] [PATCH] package/efl: bump to version 1.26.3 In-Reply-To: <20231001180437.1274555-2-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 20:04:37 +0200") References: <20231001180437.1274555-2-dalang@gmx.at> Message-ID: <87leclh0rt.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > This is a bug-fix release. > See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 > Signed-off-by: Daniel Lang Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 2 08:42:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 10:42:05 +0200 Subject: [Buildroot] [git commit] package/netsnmp: security bump to version 5.9.4 Message-ID: <20231002084432.074B384088@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=868603755c16296ae2a61845891edeafc36e48ca branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker (who has write access) to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. CVE-2022-44793 handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. The pgp key was changed [0] as the old one expired [1]. [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ [1]: https://github.com/net-snmp/net-snmp/issues/595 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard --- package/netsnmp/netsnmp.hash | 6 +++--- package/netsnmp/netsnmp.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash index e1e9d10898..7898941271 100644 --- a/package/netsnmp/netsnmp.hash +++ b/package/netsnmp/netsnmp.hash @@ -1,7 +1,7 @@ # Locally calculated after checking pgp signature at -# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3/net-snmp-5.9.3.tar.gz.asc -# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 -sha256 2097f29b7e1bf3f1300b4bae52fa2308d0bb8d5d3998dbe02f9462a413a2ef0a net-snmp-5.9.3.tar.gz +# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.tar.gz.asc +# using key 6E6718AEF1EB5C65C32D1B2A356BC0B552D53CAB +sha256 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 net-snmp-5.9.4.tar.gz # Hash for license file sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index c7df49f947..b0c35aa894 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -4,7 +4,7 @@ # ################################################################################ -NETSNMP_VERSION = 5.9.3 +NETSNMP_VERSION = 5.9.4 NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz NETSNMP_LICENSE = Various BSD-like From peter at korsgaard.com Mon Oct 2 08:40:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 10:40:14 +0200 Subject: [Buildroot] [git commit] package/sslh: add SSLH_CPE_ID_VENDOR Message-ID: <20231002084431.E527284086@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5fcd2ef29d2f6e782b9bd5928e2e835daf627ae8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/sslh/sslh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk index 897b3b6505..6ef7cda1a9 100644 --- a/package/sslh/sslh.mk +++ b/package/sslh/sslh.mk @@ -9,6 +9,7 @@ SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz SSLH_SITE = http://www.rutschle.net/tech/sslh SSLH_LICENSE = GPL-2.0+ SSLH_LICENSE_FILES = COPYING +SSLH_CPE_ID_VENDOR = sslh_project SSLH_DEPENDENCIES = pcre2 SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" From peter at korsgaard.com Mon Oct 2 08:43:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 10:43:11 +0200 Subject: [Buildroot] [git commit] package/efl: bump to version 1.26.3 Message-ID: <20231002084432.139D784089@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6037f9387a108f2dfc0add56a07073ee96f5f240 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is a bug-fix release. See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard --- package/efl/efl.hash | 4 ++-- package/efl/efl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/efl/efl.hash b/package/efl/efl.hash index 8d50400eb7..72ff3199d0 100644 --- a/package/efl/efl.hash +++ b/package/efl/efl.hash @@ -1,5 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-efl-1.26.1 -sha256 86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642 efl-1.26.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 +sha256 d9f83aa0fd9334f44deeb4e4952dc0e5144683afac786feebce6030951617d15 efl-1.26.3.tar.xz sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING diff --git a/package/efl/efl.mk b/package/efl/efl.mk index d4a16475e5..29b3b1955a 100644 --- a/package/efl/efl.mk +++ b/package/efl/efl.mk @@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.26.1 +EFL_VERSION = 1.26.3 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = https://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT From peter at korsgaard.com Mon Oct 2 08:40:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 10:40:27 +0200 Subject: [Buildroot] [git commit] package/wilc-driver: fix build failure with Linux 6.3+ Message-ID: <20231002084431.F030A84087@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c495aab88390767a217f6a0fc22008ff1aafc114 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add local patches pending upstream to fix build failure on Linux 6.3+ Fixes: http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f Signed-off-by: Giulio Benetti Signed-off-by: Peter Korsgaard --- package/wilc-driver/0006-Support-Linux-6.3.patch | 43 ++++++++++++++++++++++++ package/wilc-driver/0007-Support-Linux-6.4.patch | 36 ++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/package/wilc-driver/0006-Support-Linux-6.3.patch b/package/wilc-driver/0006-Support-Linux-6.3.patch new file mode 100644 index 0000000000..f5a92027da --- /dev/null +++ b/package/wilc-driver/0006-Support-Linux-6.3.patch @@ -0,0 +1,43 @@ +From 14b5eccf4145e7a5afc8bc65a15f26ac691f98d8 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 10:54:18 +0200 +Subject: [PATCH] Support Linux 6.3 + +With Linux 6.3 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=40fc56ee608cdb20022c225ac6f1e4b7ba63f8f1 +function of_get_named_gpio_flags() has been dropped but it was only a +wrapper to call of_get_named_gpio() if the flags passed was NULL and this +is the case. So let's use of_get_named_gpio() in place of +of_get_named_gpio_flags() since of_get_named_gpio() never changed +after its adding in Linux version 3.1. + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/4 + +Signed-off-by: Giulio Benetti +--- + power.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/power.c b/power.c +index 6c59e0b..6ab8d63 100644 +--- a/power.c ++++ b/power.c +@@ -25,13 +25,11 @@ int wilc_of_parse_power_pins(struct wilc *wilc) + const struct wilc_power_gpios *gpios = &default_gpios[0]; + int ret; + +- power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, +- NULL); ++ power->gpios.reset = of_get_named_gpio(of, "reset-gpios", 0); + if (!gpio_is_valid(power->gpios.reset)) + power->gpios.reset = gpios->reset; + +- power->gpios.chip_en = of_get_named_gpio_flags(of, "chip_en-gpios", 0, +- NULL); ++ power->gpios.chip_en = of_get_named_gpio(of, "chip_en-gpios", 0); + if (!gpio_is_valid(power->gpios.chip_en)) + power->gpios.chip_en = gpios->chip_en; + +-- +2.34.1 + diff --git a/package/wilc-driver/0007-Support-Linux-6.4.patch b/package/wilc-driver/0007-Support-Linux-6.4.patch new file mode 100644 index 0000000000..8339cc3cb6 --- /dev/null +++ b/package/wilc-driver/0007-Support-Linux-6.4.patch @@ -0,0 +1,36 @@ +From 94fc4594659494b8c5cbdf1a719aea4d66d3398d Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 11:20:50 +0200 +Subject: [PATCH] Support Linux 6.4 + +With Linux 6.4 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1aaba11da9aa7d7d6b52a74d45b31cac118295a1 +class_create() doesn't require first argument THIS_MODULE anymore so let's +drop first argument if Linux version >= 6.4 + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/5 + +Signed-off-by: Giulio Benetti +--- + bt.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/bt.c b/bt.c +index 48a5302..a752457 100644 +--- a/bt.c ++++ b/bt.c +@@ -135,7 +135,11 @@ static void wilc_bt_create_device(void) + ret = alloc_chrdev_region(&chc_dev_no, 0, 1, "atmel"); + if (ret < 0) + return; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) ++ chc_dev_class = class_create("atmel"); ++#else + chc_dev_class = class_create(THIS_MODULE, "atmel"); ++#endif + if (IS_ERR(chc_dev_class)) { + unregister_chrdev_region(chc_dev_no, 1); + return; +-- +2.34.1 + From peter at korsgaard.com Mon Oct 2 08:59:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:59:17 +0200 Subject: [Buildroot] [git commit] docs/manual: add a FAQ entry about Y2038 support In-Reply-To: <20231001191539.B15DC83F75@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Sun, 1 Oct 2023 21:14:07 +0200") References: <20231001191539.B15DC83F75@busybox.osuosl.org> Message-ID: <87h6n9h02i.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: https://git.buildroot.net/buildroot/commit/?id=f10f47ff2873d2259e4a03060e9cf0fd1b0f05e0 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > This was reviewed in person by Arnout. > Signed-off-by: Thomas Petazzoni > --- > docs/manual/faq-troubleshooting.adoc | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > diff --git a/docs/manual/faq-troubleshooting.adoc b/docs/manual/faq-troubleshooting.adoc > index b08bf9bc4a..a61276d4c5 100644 > --- a/docs/manual/faq-troubleshooting.adoc > +++ b/docs/manual/faq-troubleshooting.adoc > @@ -242,3 +242,31 @@ help reduce the build time: > * Experiment with top-level parallel build, see > xref:top-level-parallel-build[]. > + > +[[faq-2038]] > +=== How does Buildroot support Y2038? > + > +There are multiple situations to consider: > + > + * On 64-bit architectures, there is no problem, as +time_t+ has > + always been 64-bit. > + > + * On 32-bit architectures, the situation depends on the C library: > + > + ** With _uclibc-ng_, there is no support for 64-bit +time_t+ on > + 32-bit architectures, so systems using _uclibc-ng_ on 32-bit > + platforms will not be Y2038 compatible. > + > + ** With _musl_, 64-bit +time_t+ has always been used on 32-bit > + architectures, so systems using _musl_ on 32-bit platforms are > + Y2038 compatible. "has always been used" is not really true, it was added in musl 1.2.0: https://musl.libc.org/time64.html Maybe we should say "always uses" instead? > + > + ** With _glibc_, 64-bit +time_t+ on 32-bit architectures is enabled > + by the Buildroot option +BR2_TIME_BITS_64+. With this option > + enabled, systems using _glibc_ on 32-bit platforms are Y2038 > + compatible. > + > +Note that the above only comments about the capabilities of the C > +library. Individual user-space libraries or applications, even when > +built in a Y2038-compatible setup, can exhibit incorrect behavior if > +they do not make correct use of the time APIs and types. We should probably also mention the kernel dependency, E.G. the above is only correct if using Linux 5.6+ kernel / headers: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=22b17db4ea05561c7c8e4d770f10751e22e339f9 -- Bye, Peter Korsgaard From jamie.gibbons at microchip.com Mon Oct 2 10:53:24 2023 From: jamie.gibbons at microchip.com (Jamie Gibbons) Date: Mon, 2 Oct 2023 11:53:24 +0100 Subject: [Buildroot] [PATCH 1/1] configs/microchip_mpfs_icicle_defconfig: fix zicsr build error Message-ID: <20231002105324.2167088-1-jamie.gibbons@microchip.com> Build is failing with an unrecognised opcode error due to missing `zicsr` extension requirement. This is introduced with GCC version 12. When binutils was updated to v2.38 they updated to the default ISA spec version 20191213. In this version the original i extension split into i, Zicsr and Zifencei. A fix for this has been added since U-Boot version 2022.01 to detect new Zicsr and Zifencei extensions and enable it when needed therefore, an updated U-Boot tag to our latest 2023.09 release will fix this as in our latest release we have updated to U-Boot version 2023.07. Update the kernel verion in line with the U-Boot release version to ensure compatiblities and latest features and fixes are included. Remove riscv_g selection as it is now selected by default. Signed-off-by: Jamie Gibbons --- configs/microchip_mpfs_icicle_defconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configs/microchip_mpfs_icicle_defconfig b/configs/microchip_mpfs_icicle_defconfig index 54a4d55a5f..1af7a3c474 100644 --- a/configs/microchip_mpfs_icicle_defconfig +++ b/configs/microchip_mpfs_icicle_defconfig @@ -1,12 +1,11 @@ BR2_riscv=y -BR2_riscv_g=y BR2_RISCV_ISA_RVC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TARGET_GENERIC_HOSTNAME="mpfs_icicle" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/microchip/mpfs_icicle/post-image.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux-6.1-mchp+fpga)/linux4microchip+fpga-2023.06.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux-6.1-mchp+fpga)/linux4microchip+fpga-2023.09.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="mpfs" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/microchip/mpfs_icicle/linux.fragment" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -16,7 +15,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,polarfire-soc,u-boot)linux4microchip+fpga-2023.06.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,polarfire-soc,u-boot)linux4microchip+fpga-2023.09.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="microchip_mpfs_icicle" BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/microchip/mpfs_icicle/uboot-fragment-rootfs.config" BR2_TARGET_UBOOT_NEEDS_DTC=y -- 2.34.1 From peter at korsgaard.com Mon Oct 2 11:22:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 13:22:58 +0200 Subject: [Buildroot] [git commit] package/gnuplot: unbreak !gd builds since 5.4.9 bump Message-ID: <20231002112323.6A05B84094@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7d4443343aa6ddd8f7eca40ffdcf8decb4c290f0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/ Fix a build failure for --without-gd builds since the bump to 5.4.9 with commit 6dc3d3c3606 (package/gnuplot: bump version to 5.4.9): In file included from term.h:298, from term.c:1211: ../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant 4016 | fputs("%%%%BeginImage\n", gppsfile); Add a patch fixing that. Signed-off-by: Peter Korsgaard --- ...t.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch b/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch new file mode 100644 index 0000000000..c3edb39cc6 --- /dev/null +++ b/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch @@ -0,0 +1,51 @@ +From 84002a5bd7f4cb10e9beffab88ae55b4e982bcea Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Sun, 1 Oct 2023 10:20:31 +0200 +Subject: [PATCH] term/post.trm: unbreak !HAVE_DEFLATE_ENCODER builds + +Commit 2f2cf617808 (post: handle RGBA images (only current use is to render +a pixmap)) added an extra '}' outside the HAVE_DEFLATE_ENCODER (gd support) +conditional, leading to build breakage: + +In file included from term.h:298, + from term.c:1211: +../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant + 4016 | fputs("%%%%BeginImage\n", gppsfile); + +http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/build-end.log + +Fix it by dropping the extra { } added by the above commit. + +Signed-off-by: Peter Korsgaard +Upstream: https://sourceforge.net/p/gnuplot/gnuplot-main/merge-requests/28/ +--- + term/post.trm | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/term/post.trm b/term/post.trm +index 186eb9d3c..100811b86 100644 +--- a/term/post.trm ++++ b/term/post.trm +@@ -4000,17 +4000,16 @@ PS_image (unsigned int M, unsigned int N, coordval *image, gpiPoint *corner, t_i + cscale = 1.0; + + #ifdef HAVE_DEFLATE_ENCODER +- if (ps_params->level3) { ++ if (ps_params->level3) + encoded_image = (void *)PS_encode_png_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + &num_encoded_bytes); +- } else { ++ else + #endif + encoded_image = PS_encode_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + (ps_params->level1 ? PS_ASCII_HEX : PS_ASCII85), + &num_encoded_bytes); +- } + + + fputs("%%%%BeginImage\n", gppsfile); +-- +2.30.2 + From peter at korsgaard.com Mon Oct 2 11:23:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 13:23:34 +0200 Subject: [Buildroot] [PATCH] package/gnuplot: unbreak !gd builds since 5.4.9 bump In-Reply-To: <20231001094408.3880093-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 1 Oct 2023 11:44:08 +0200") References: <20231001094408.3880093-1-peter@korsgaard.com> Message-ID: <87cyxxgte1.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes: > http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/ > Fix a build failure for --without-gd builds since the bump to 5.4.9 with > commit 6dc3d3c3606 (package/gnuplot: bump version to 5.4.9): > In file included from term.h:298, > from term.c:1211: > ../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant > 4016 | fputs("%%%%BeginImage\n", gppsfile); > Add a patch fixing that. > Signed-off-by: Peter Korsgaard This is now merged upstream - Committed, thanks. -- Bye, Peter Korsgaard From thomas.perale at essensium.com Mon Oct 2 12:47:22 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:22 +0200 Subject: [Buildroot] [PATCH 0/6] support for a pre-compiled Go compiler Message-ID: <20231002124736.179251-1-thomas.perale@essensium.com> From: Thomas Perale Improvement suggested on the buildroot TODO list (https://www.elinux.org/Buildroot#Todo_list). This patch adds support for a pre-built version of the Go compiler that doesn't requires users to go through the different compilation stages of the Go compiler and speeds up the overall build time. This is a new version of a patch I proposed for the same feature last year (see https://lore.kernel.org/buildroot/CA+h8R2pNRrBsChKS3PHQtT0_rsVF3Wi3LwMTD9jKFoKf1ot2-A at mail.gmail.com/#b). It introduces a new directory structure for host compilers with different providers: package/ ?? go/ <-- Virtual package ? ?? go-src/ <-- Build from source option ? ?? go-bin/ <-- Download pre-build option ? ?? go-bootstrap-stage1/ <-- Dependency for go-bootstrap-stage2 ? ?? go-bootstrap-stage2/ <-- Dependency for go-src ? ?? go.mk <-- Common variables ? ?? Config.in <-- Common variables/virtual package definition The subdirectory structure is used to put the `GO_VERSION` variable in common between the different provider. This subdirectory proposal should be extended to the Rust compiler case and NodeJS proposal Thomas Petazzoni did (https://patchwork.ozlabs.org/project/buildroot/list/?series=319967) to unify the naming of for the different compilers options. Thomas Perale (6): DEVELOPERS: add Thomas Perale for 'go' package/go: new subdirectory for go variants package/go: make host package a virtual package package/pkg-golang: select go compiler package/go/go-bin: new go provider support/testing: add tests for Go providers .checkpackageignore | 2 +- DEVELOPERS | 5 +- package/Config.in.host | 2 - package/balena-engine/Config.in | 1 + package/cni-plugins/Config.in | 1 + package/containerd/Config.in | 1 + package/crucible/Config.in | 1 + package/delve/Config.in | 1 + package/delve/Config.in.host | 1 + package/docker-cli/Config.in | 1 + package/docker-compose/Config.in | 1 + package/docker-engine/Config.in | 1 + package/embiggen-disk/Config.in | 1 + package/flannel/Config.in | 1 + package/gitlab-runner/Config.in | 1 + package/go/Config.in.host | 44 +++++++++++++++ package/go/go-bin/Config.in.host | 14 +++++ package/go/go-bin/go-bin.hash | 8 +++ package/go/go-bin/go-bin.mk | 19 +++++++ .../go-bootstrap-stage1/Config.in.host | 0 .../go-bootstrap-stage1.hash | 0 .../go-bootstrap-stage1.mk | 0 .../go-bootstrap-stage2/Config.in.host | 0 .../go-bootstrap-stage2.hash | 0 .../go-bootstrap-stage2.mk | 0 ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{go.hash => go-src/go-src.hash} | 0 package/go/go-src/go-src.mk | 54 +++++++++++++++++++ package/go/go.mk | 42 ++------------- package/gocryptfs/Config.in | 1 + package/mender-artifact/Config.in.host | 1 + package/mender-connect/Config.in | 1 + package/mender/Config.in | 1 + package/moby-buildkit/Config.in | 1 + package/moby-buildkit/Config.in.host | 1 + package/nerdctl/Config.in | 1 + package/runc/Config.in | 1 + package/runc/Config.in.host | 1 + package/tinifier/Config.in | 1 + package/wtfutil/Config.in | 1 + support/testing/tests/package/test_go.py | 41 ++++++++++++++ 42 files changed, 211 insertions(+), 43 deletions(-) create mode 100644 package/go/go-bin/Config.in.host create mode 100644 package/go/go-bin/go-bin.hash create mode 100644 package/go/go-bin/go-bin.mk rename package/{ => go}/go-bootstrap-stage1/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.hash (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.mk (100%) rename package/{ => go}/go-bootstrap-stage2/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.hash (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.mk (100%) rename package/go/{ => go-src}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{ => go-src}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{go.hash => go-src/go-src.hash} (100%) create mode 100644 package/go/go-src/go-src.mk create mode 100644 support/testing/tests/package/test_go.py -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:23 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:23 +0200 Subject: [Buildroot] [PATCH 1/6] DEVELOPERS: add Thomas Perale for 'go' In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-2-thomas.perale@essensium.com> From: Thomas Perale Signed-off-by: Thomas Perale --- DEVELOPERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..4681b2a21f 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2898,6 +2898,9 @@ F: package/frotz/ F: package/kvm-unit-tests/ F: package/xorcurses/ +N: Thomas Perale +F: package/go/ + N: Thomas Petazzoni F: arch/Config.in.arm F: board/beaglev/ -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:24 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:24 +0200 Subject: [Buildroot] [PATCH 2/6] package/go: new subdirectory for go variants In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-3-thomas.perale@essensium.com> From: Thomas Perale Move every go compiler-related packages into a newly created package/go/ subdirectory. All the common variables are kept in package/go/go.mk and package/go/Config.in.host. This subdirectory structure move the GO_VERSION variable in common in the package/go/go.mk file. In the next commits host-go will be turned into a virtual-package and the common GO_VERSION force the providers to use the same Go compiler version. Also, the subdirectory structure force the evaluation of the common GO_VERSION before the providers access it. Signed-off-by: Thomas Perale --- .checkpackageignore | 2 +- DEVELOPERS | 2 - package/Config.in.host | 2 - package/go/Config.in.host | 3 ++ .../go-bootstrap-stage1/Config.in.host | 0 .../go-bootstrap-stage1.hash | 0 .../go-bootstrap-stage1.mk | 0 .../go-bootstrap-stage2/Config.in.host | 0 .../go-bootstrap-stage2.hash | 0 .../go-bootstrap-stage2.mk | 0 package/go/go.mk | 40 +------------- ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{ => go}/go.hash | 0 package/go/go/go.mk | 53 +++++++++++++++++++ 15 files changed, 59 insertions(+), 43 deletions(-) rename package/{ => go}/go-bootstrap-stage1/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.hash (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.mk (100%) rename package/{ => go}/go-bootstrap-stage2/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.hash (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.mk (100%) rename package/go/{ => go}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{ => go}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{ => go}/go.hash (100%) create mode 100644 package/go/go/go.mk diff --git a/.checkpackageignore b/.checkpackageignore index 28de1745e4..becaf6a9fc 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -514,7 +514,7 @@ package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch Upstream package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch Upstream package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch Upstream package/gnuplot/0001-configure-add-without-demo-option.patch Upstream -package/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream +package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream package/gob2/0001-dont-include-from-prefix.patch Upstream package/gobject-introspection/0001-disable-tests.patch Upstream package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch Upstream diff --git a/DEVELOPERS b/DEVELOPERS index 4681b2a21f..b9c7b4f1a9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -586,8 +586,6 @@ F: package/docker-engine/ F: package/embiggen-disk/ F: package/fuse-overlayfs/ F: package/go/ -F: package/go-bootstrap-stage1/ -F: package/go-bootstrap-stage2/ F: package/gocryptfs/ F: package/mbpfan/ F: package/moby-buildkit/ diff --git a/package/Config.in.host b/package/Config.in.host index c80842c33a..3a8e613fa3 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -44,8 +44,6 @@ menu "Host utilities" source "package/genpart/Config.in.host" source "package/gnupg/Config.in.host" source "package/go/Config.in.host" - source "package/go-bootstrap-stage1/Config.in.host" - source "package/go-bootstrap-stage2/Config.in.host" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" diff --git a/package/go/Config.in.host b/package/go/Config.in.host index b87b862cec..277d75e2b6 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -31,3 +31,6 @@ config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + +source "package/go/go-bootstrap-stage1/Config.in.host" +source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go-bootstrap-stage1/Config.in.host b/package/go/go-bootstrap-stage1/Config.in.host similarity index 100% rename from package/go-bootstrap-stage1/Config.in.host rename to package/go/go-bootstrap-stage1/Config.in.host diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.hash b/package/go/go-bootstrap-stage1/go-bootstrap-stage1.hash similarity index 100% rename from package/go-bootstrap-stage1/go-bootstrap-stage1.hash rename to package/go/go-bootstrap-stage1/go-bootstrap-stage1.hash diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.mk b/package/go/go-bootstrap-stage1/go-bootstrap-stage1.mk similarity index 100% rename from package/go-bootstrap-stage1/go-bootstrap-stage1.mk rename to package/go/go-bootstrap-stage1/go-bootstrap-stage1.mk diff --git a/package/go-bootstrap-stage2/Config.in.host b/package/go/go-bootstrap-stage2/Config.in.host similarity index 100% rename from package/go-bootstrap-stage2/Config.in.host rename to package/go/go-bootstrap-stage2/Config.in.host diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash b/package/go/go-bootstrap-stage2/go-bootstrap-stage2.hash similarity index 100% rename from package/go-bootstrap-stage2/go-bootstrap-stage2.hash rename to package/go/go-bootstrap-stage2/go-bootstrap-stage2.hash diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk b/package/go/go-bootstrap-stage2/go-bootstrap-stage2.mk similarity index 100% rename from package/go-bootstrap-stage2/go-bootstrap-stage2.mk rename to package/go/go-bootstrap-stage2/go-bootstrap-stage2.mk diff --git a/package/go/go.mk b/package/go/go.mk index 6f080be5c0..21051a2050 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -5,14 +5,7 @@ ################################################################################ GO_VERSION = 1.21.1 -GO_SITE = https://storage.googleapis.com/golang -GO_SOURCE = go$(GO_VERSION).src.tar.gz -GO_LICENSE = BSD-3-Clause -GO_LICENSE_FILES = LICENSE -GO_CPE_ID_VENDOR = golang - -HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 HOST_GO_GOPATH = $(HOST_DIR)/share/go-path HOST_GO_HOST_CACHE = $(HOST_DIR)/share/host-go-cache HOST_GO_ROOT = $(HOST_DIR)/lib/go @@ -96,15 +89,6 @@ else HOST_GO_CGO_ENABLED = 0 endif -HOST_GO_CROSS_ENV = \ - CC_FOR_TARGET="$(TARGET_CC)" \ - CXX_FOR_TARGET="$(TARGET_CXX)" \ - GOOS="linux" \ - GOARCH=$(GO_GOARCH) \ - $(if $(GO_GO386),GO386=$(GO_GO386)) \ - $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ - GO_ASSUME_CROSSCOMPILING=1 - else # !BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS # host-go can still be used to build packages for the host. No need to set all # the arch stuff since we will not be cross-compiling. @@ -123,27 +107,7 @@ HOST_GO_HOST_ENV = \ CGO_CXXFLAGS="$(HOST_CXXFLAGS)" \ CGO_LDFLAGS="$(HOST_LDFLAGS)" -# The go build system is not compatible with ccache, so use -# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. -HOST_GO_MAKE_ENV = \ - GO111MODULE=off \ - GOCACHE=$(HOST_GO_HOST_CACHE) \ - GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ - GOROOT_FINAL=$(HOST_GO_ROOT) \ - GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" \ - GOOS=linux \ - CC=$(HOSTCC_NOCCACHE) \ - CXX=$(HOSTCXX_NOCCACHE) \ - CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ - $(HOST_GO_CROSS_ENV) - -define HOST_GO_BUILD_CMDS - cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) -endef - -define HOST_GO_INSTALL_CMDS +define GO_BINARIES_INSTALL $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt @@ -165,4 +129,4 @@ define HOST_GO_INSTALL_CMDS find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef -$(eval $(host-generic-package)) +include $(sort $(wildcard package/go/*/*.mk)) diff --git a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch similarity index 100% rename from package/go/0001-build.go-explicit-option-for-crosscompilation.patch rename to package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch similarity index 100% rename from package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch rename to package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch diff --git a/package/go/go.hash b/package/go/go/go.hash similarity index 100% rename from package/go/go.hash rename to package/go/go/go.hash diff --git a/package/go/go/go.mk b/package/go/go/go.mk new file mode 100644 index 0000000000..8e3780eb29 --- /dev/null +++ b/package/go/go/go.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# go +# +################################################################################ + +GO_SITE = https://storage.googleapis.com/golang +GO_SOURCE = go$(GO_VERSION).src.tar.gz + +GO_LICENSE = BSD-3-Clause +GO_LICENSE_FILES = LICENSE +GO_CPE_ID_VENDOR = golang + +HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 + +ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) + +HOST_GO_CROSS_ENV = \ + CC_FOR_TARGET="$(TARGET_CC)" \ + CXX_FOR_TARGET="$(TARGET_CXX)" \ + GOOS="linux" \ + GOARCH=$(GO_GOARCH) \ + $(if $(GO_GO386),GO386=$(GO_GO386)) \ + $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ + GO_ASSUME_CROSSCOMPILING=1 + +endif + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_MAKE_ENV = \ + GO111MODULE=off \ + GOCACHE=$(HOST_GO_HOST_CACHE) \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ + GOROOT_FINAL=$(HOST_GO_ROOT) \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + GOOS=linux \ + CC=$(HOSTCC_NOCCACHE) \ + CXX=$(HOSTCXX_NOCCACHE) \ + CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ + $(HOST_GO_CROSS_ENV) + +define HOST_GO_BUILD_CMDS + cd $(@D)/src && \ + $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) +endef + +define HOST_GO_INSTALL_CMDS + $(GO_BINARIES_INSTALL) +endef + +$(eval $(host-generic-package)) -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:26 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:26 +0200 Subject: [Buildroot] [PATCH 4/6] package/pkg-golang: select go compiler In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-5-thomas.perale@essensium.com> From: Thomas Perale Select the 'go' virtual package in every package built by the Go compiler. This maintains the correct dependencies in 'menuconfig'. The same pattern is currently used for Rust packages. Signed-off-by: Thomas Perale --- package/balena-engine/Config.in | 1 + package/cni-plugins/Config.in | 1 + package/containerd/Config.in | 1 + package/crucible/Config.in | 1 + package/delve/Config.in | 1 + package/delve/Config.in.host | 1 + package/docker-cli/Config.in | 1 + package/docker-compose/Config.in | 1 + package/docker-engine/Config.in | 1 + package/embiggen-disk/Config.in | 1 + package/flannel/Config.in | 1 + package/gitlab-runner/Config.in | 1 + package/gocryptfs/Config.in | 1 + package/mender-artifact/Config.in.host | 1 + package/mender-connect/Config.in | 1 + package/mender/Config.in | 1 + package/moby-buildkit/Config.in | 1 + package/moby-buildkit/Config.in.host | 1 + package/nerdctl/Config.in | 1 + package/runc/Config.in | 1 + package/runc/Config.in.host | 1 + package/tinifier/Config.in | 1 + package/wtfutil/Config.in | 1 + 23 files changed, 23 insertions(+) diff --git a/package/balena-engine/Config.in b/package/balena-engine/Config.in index 02f694515e..5966b33f58 100644 --- a/package/balena-engine/Config.in +++ b/package/balena-engine/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_BALENA_ENGINE depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU # util-linux select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_IPTABLES # runtime select BR2_PACKAGE_UTIL_LINUX # runtime select BR2_PACKAGE_UTIL_LINUX_BINARIES # runtime diff --git a/package/cni-plugins/Config.in b/package/cni-plugins/Config.in index 25e6ff534d..6d4ca0a5b4 100644 --- a/package/cni-plugins/Config.in +++ b/package/cni-plugins/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_CNI_PLUGINS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU + select BR2_PACKAGE_HOST_GO help Container Networking Interface plugins. diff --git a/package/containerd/Config.in b/package/containerd/Config.in index e69dd6768a..e92764f304 100644 --- a/package/containerd/Config.in +++ b/package/containerd/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_CONTAINERD depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc depends on BR2_USE_MMU # util-linux + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # runtime dependency select BR2_PACKAGE_UTIL_LINUX # runtime dependency select BR2_PACKAGE_UTIL_LINUX_BINARIES diff --git a/package/crucible/Config.in b/package/crucible/Config.in index b27eb31ae5..1e1b29c3df 100644 --- a/package/crucible/Config.in +++ b/package/crucible/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_CRUCIBLE bool "crucible" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help Crucible is a One-Time-Programmable (OTP) fusing tool for the i.MX family. diff --git a/package/delve/Config.in b/package/delve/Config.in index 9428e4016a..288dc1ea15 100644 --- a/package/delve/Config.in +++ b/package/delve/Config.in @@ -7,6 +7,7 @@ config BR2_PACKAGE_DELVE_ARCH_SUPPORTS default y if BR2_x86_64 depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + select BR2_PACKAGE_HOST_GO config BR2_PACKAGE_DELVE bool "delve" diff --git a/package/delve/Config.in.host b/package/delve/Config.in.host index dab5ca8914..0938ab0659 100644 --- a/package/delve/Config.in.host +++ b/package/delve/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_DELVE bool "host delve" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help Delve is a debugger for the Go programming language. diff --git a/package/docker-cli/Config.in b/package/docker-cli/Config.in index 6f187c9d22..52e7f7c871 100644 --- a/package/docker-cli/Config.in +++ b/package/docker-cli/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_DOCKER_CLI depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help Docker is a platform to build, ship, and run applications as lightweight containers. diff --git a/package/docker-compose/Config.in b/package/docker-compose/Config.in index 59128f7a19..f3560e402b 100644 --- a/package/docker-compose/Config.in +++ b/package/docker-compose/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_DOCKER_COMPOSE depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_PACKAGE_DOCKER_CLI + select BR2_PACKAGE_HOST_GO help Multi-container applications with the Docker CLI. diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 570b2ff681..a6d8f64a1c 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_DOCKER_ENGINE depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # libseccomp select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency select BR2_PACKAGE_CONTAINERD # runtime dependency + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_IPTABLES # runtime dependency select BR2_PACKAGE_LIBSECCOMP help diff --git a/package/embiggen-disk/Config.in b/package/embiggen-disk/Config.in index 667d71c86e..c323fb1b6d 100644 --- a/package/embiggen-disk/Config.in +++ b/package/embiggen-disk/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_EMBIGGEN_DISK depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU # util-linux + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_UTIL_LINUX # sfdisk select BR2_PACKAGE_UTIL_LINUX_BINARIES # sfdisk help diff --git a/package/flannel/Config.in b/package/flannel/Config.in index eb8d798f48..f37cfaa9cc 100644 --- a/package/flannel/Config.in +++ b/package/flannel/Config.in @@ -8,6 +8,7 @@ config BR2_PACKAGE_FLANNEL depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help Flannel is a virtual network that gives a subnet to each host for use with container runtimes. diff --git a/package/gitlab-runner/Config.in b/package/gitlab-runner/Config.in index 4289613ab9..cfe8c941bc 100644 --- a/package/gitlab-runner/Config.in +++ b/package/gitlab-runner/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_GITLAB_RUNNER select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash select BR2_PACKAGE_CA_CERTIFICATES # runtime select BR2_PACKAGE_GIT # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_LIBCURL # runtime select BR2_PACKAGE_LIBCURL_CURL # runtime select BR2_PACKAGE_LIBCURL_FORCE_TLS # runtime diff --git a/package/gocryptfs/Config.in b/package/gocryptfs/Config.in index 2630cafdcf..2c70b9b21b 100644 --- a/package/gocryptfs/Config.in +++ b/package/gocryptfs/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GOCRYPTFS bool "gocryptfs" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help gocryptfs is an encrypted FUSE overlay filesystem. diff --git a/package/mender-artifact/Config.in.host b/package/mender-artifact/Config.in.host index c7be0ed261..39353b23e7 100644 --- a/package/mender-artifact/Config.in.host +++ b/package/mender-artifact/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_MENDER_ARTIFACT bool "host mender-artifact" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help The mender-artifact tool is a CLI implementation of the Mender artifacts library. diff --git a/package/mender-connect/Config.in b/package/mender-connect/Config.in index 0845910880..d478e468c2 100644 --- a/package/mender-connect/Config.in +++ b/package/mender-connect/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_MENDER_CONNECT depends on BR2_USE_WCHAR # libglib2 -> gettext depends on BR2_USE_MMU # dbus -> fork() select BR2_PACKAGE_DBUS # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_MENDER # runtime select BR2_PACKAGE_OPENSSL diff --git a/package/mender/Config.in b/package/mender/Config.in index 7d768cebec..4831548f76 100644 --- a/package/mender/Config.in +++ b/package/mender/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_MENDER depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 diff --git a/package/moby-buildkit/Config.in b/package/moby-buildkit/Config.in index 93c852bcdb..1a0b599097 100644 --- a/package/moby-buildkit/Config.in +++ b/package/moby-buildkit/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_MOBY_BUILDKIT depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on BR2_USE_MMU select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency + select BR2_PACKAGE_HOST_GO help BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. diff --git a/package/moby-buildkit/Config.in.host b/package/moby-buildkit/Config.in.host index a3b18548f8..d4eb0d74c3 100644 --- a/package/moby-buildkit/Config.in.host +++ b/package/moby-buildkit/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_MOBY_BUILDKIT bool "host moby-buildkit" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help BuildKit is a toolkit for converting source code to build artifacts in an efficient expressive and repeatable manner. diff --git a/package/nerdctl/Config.in b/package/nerdctl/Config.in index 969b9bb40e..062b36ab85 100644 --- a/package/nerdctl/Config.in +++ b/package/nerdctl/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_NERDCTL depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd depends on BR2_USE_MMU # util-linux select BR2_PACKAGE_CONTAINERD # runtime + select BR2_PACKAGE_HOST_GO help Docker-compatible CLI for containerd, controlling runc. diff --git a/package/runc/Config.in b/package/runc/Config.in index fe527b1954..73eac72527 100644 --- a/package/runc/Config.in +++ b/package/runc/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_RUNC depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve + select BR2_PACKAGE_HOST_GO help runC is a CLI tool for spawning and running containers according to the OCI specification. diff --git a/package/runc/Config.in.host b/package/runc/Config.in.host index 4b2555e029..78193cb499 100644 --- a/package/runc/Config.in.host +++ b/package/runc/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_RUNC bool "host runc" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help runC is a CLI tool for spawning and running containers according to the OCI specification. diff --git a/package/tinifier/Config.in b/package/tinifier/Config.in index fbadfe6bd9..eae8b8f499 100644 --- a/package/tinifier/Config.in +++ b/package/tinifier/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TINIFIER bool "tinifier" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help CLI tool for images compressing diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in index 8c3efcea5d..3fd8c41bab 100644 --- a/package/wtfutil/Config.in +++ b/package/wtfutil/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_WTFUTIL bool "wtfutil" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help WTF is the personal information dashboard for your terminal. -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:25 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:25 +0200 Subject: [Buildroot] [PATCH 3/6] package/go: make host package a virtual package In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-4-thomas.perale@essensium.com> From: Thomas Perale Turn host-go into a virtual package, which has two providers: - host-go-src, which build host-go from source based on the same logic that was previously used in package/go/go/go.mk, now moved in package/go/go-src/go-src.mk to remove any ambiguity on the role of the package. - host-go-bin, which will be introduced in the next commit and installs a pre-built Go compiler. The usage of a virtual package enables the support for pre-built Go compiler which reduce the build time for of host-go. A similar solution is proposed for host-rust. By default, host-go is built from sources to keep the same behaviour as the former version. Signed-off-by: Thomas Perale --- .checkpackageignore | 2 +- package/go/Config.in.host | 32 +++++++++++++++++++ ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{go/go.hash => go-src/go-src.hash} | 0 package/go/{go/go.mk => go-src/go-src.mk} | 25 ++++++++------- package/go/go.mk | 2 ++ 7 files changed, 48 insertions(+), 13 deletions(-) rename package/go/{go => go-src}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{go => go-src}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{go/go.hash => go-src/go-src.hash} (100%) rename package/go/{go/go.mk => go-src/go-src.mk} (68%) diff --git a/.checkpackageignore b/.checkpackageignore index becaf6a9fc..ca4b2a8afb 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -514,7 +514,7 @@ package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch Upstream package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch Upstream package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch Upstream package/gnuplot/0001-configure-add-without-demo-option.patch Upstream -package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream +package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch Upstream package/gob2/0001-dont-include-from-prefix.patch Upstream package/gobject-introspection/0001-disable-tests.patch Upstream package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch Upstream diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 277d75e2b6..742d484420 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -32,5 +32,37 @@ config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS +config BR2_PACKAGE_HOST_GO + bool "host go compiler" + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + help + Compiler for the Go language + + https://go.dev + +if BR2_PACKAGE_HOST_GO + +choice + prompt "Go compiler variant" + default BR2_PACKAGE_HOST_GO_SRC + help + Select a Go compiler variant. + + Default to 'host-go-src'. + +config BR2_PACKAGE_HOST_GO_SRC + bool "host go (source)" + help + This package will build the go compiler for the host. + +endchoice + +config BR2_PACKAGE_PROVIDES_HOST_GO + string + # Default to host-go-src + default "host-go-src" if BR2_PACKAGE_HOST_GO_SRC + +endif + source "package/go/go-bootstrap-stage1/Config.in.host" source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch similarity index 100% rename from package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch rename to package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch diff --git a/package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/go-src/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch similarity index 100% rename from package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch rename to package/go/go-src/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch diff --git a/package/go/go/go.hash b/package/go/go-src/go-src.hash similarity index 100% rename from package/go/go/go.hash rename to package/go/go-src/go-src.hash diff --git a/package/go/go/go.mk b/package/go/go-src/go-src.mk similarity index 68% rename from package/go/go/go.mk rename to package/go/go-src/go-src.mk index 8e3780eb29..07809ecb3e 100644 --- a/package/go/go/go.mk +++ b/package/go/go-src/go-src.mk @@ -1,21 +1,22 @@ ################################################################################ # -# go +# go-src # ################################################################################ -GO_SITE = https://storage.googleapis.com/golang -GO_SOURCE = go$(GO_VERSION).src.tar.gz +GO_SRC_SITE = https://storage.googleapis.com/golang +GO_SRC_SOURCE = go$(GO_VERSION).src.tar.gz -GO_LICENSE = BSD-3-Clause -GO_LICENSE_FILES = LICENSE -GO_CPE_ID_VENDOR = golang +GO_SRC_LICENSE = BSD-3-Clause +GO_SRC_LICENSE_FILES = LICENSE +GO_SRC_CPE_ID_VENDOR = golang -HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 +HOST_GO_SRC_PROVIDES = host-go +HOST_GO_SRC_DEPENDENCIES = host-go-bootstrap-stage2 ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) -HOST_GO_CROSS_ENV = \ +HOST_GO_SRC_CROSS_ENV = \ CC_FOR_TARGET="$(TARGET_CC)" \ CXX_FOR_TARGET="$(TARGET_CXX)" \ GOOS="linux" \ @@ -28,7 +29,7 @@ endif # The go build system is not compatible with ccache, so use # HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. -HOST_GO_MAKE_ENV = \ +HOST_GO_SRC_MAKE_ENV = \ GO111MODULE=off \ GOCACHE=$(HOST_GO_HOST_CACHE) \ GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ @@ -41,12 +42,12 @@ HOST_GO_MAKE_ENV = \ CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ $(HOST_GO_CROSS_ENV) -define HOST_GO_BUILD_CMDS +define HOST_GO_SRC_BUILD_CMDS cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) + $(HOST_GO_SRC_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) endef -define HOST_GO_INSTALL_CMDS +define HOST_GO_SRC_INSTALL_CMDS $(GO_BINARIES_INSTALL) endef diff --git a/package/go/go.mk b/package/go/go.mk index 21051a2050..42ea218e6c 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -129,4 +129,6 @@ define GO_BINARIES_INSTALL find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef +$(eval $(host-virtual-package)) + include $(sort $(wildcard package/go/*/*.mk)) -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:27 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:27 +0200 Subject: [Buildroot] [PATCH 5/6] package/go/go-bin: new go provider In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-6-thomas.perale@essensium.com> From: Thomas Perale This package provides a pre-built version for the host-go virtual package introduced in the previous commits. host-go-bin install a pre-built version of the Go compiler. The menuconfig entry for host-go is updated to expose the host-go-bin provider. The dependencies are set as such as if host-go-bin does not support the host architecture it will automatically fall back to host-go-src and vice-versa. Signed-off-by: Thomas Perale --- package/go/Config.in.host | 15 ++++++++++++--- package/go/go-bin/Config.in.host | 14 ++++++++++++++ package/go/go-bin/go-bin.hash | 8 ++++++++ package/go/go-bin/go-bin.mk | 19 +++++++++++++++++++ 4 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 package/go/go-bin/Config.in.host create mode 100644 package/go/go-bin/go-bin.hash create mode 100644 package/go/go-bin/go-bin.mk diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 742d484420..b3906fbae5 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -30,11 +30,11 @@ config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS || BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS config BR2_PACKAGE_HOST_GO bool "host go compiler" - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS help Compiler for the Go language @@ -44,7 +44,8 @@ if BR2_PACKAGE_HOST_GO choice prompt "Go compiler variant" - default BR2_PACKAGE_HOST_GO_SRC + default BR2_PACKAGE_HOST_GO_SRC if BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + default BR2_PACKAGE_HOST_GO_BIN if BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS help Select a Go compiler variant. @@ -52,9 +53,16 @@ choice config BR2_PACKAGE_HOST_GO_SRC bool "host go (source)" + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS help This package will build the go compiler for the host. +config BR2_PACKAGE_HOST_GO_BIN + bool "host go (pre-built)" + depends on BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + help + This package will install pre-built versions of the compiler + endchoice config BR2_PACKAGE_PROVIDES_HOST_GO @@ -64,5 +72,6 @@ config BR2_PACKAGE_PROVIDES_HOST_GO endif +source "package/go/go-bin/Config.in.host" source "package/go/go-bootstrap-stage1/Config.in.host" source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go/go-bin/Config.in.host b/package/go/go-bin/Config.in.host new file mode 100644 index 0000000000..b259afa197 --- /dev/null +++ b/package/go/go-bin/Config.in.host @@ -0,0 +1,14 @@ +config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH + string "Translate the HOSTARCH into the architecture name used by the Go compiler" + default armv6l if BR2_HOSTARCH = "arm" + default arm64 if BR2_HOSTARCH = "aarch64" + default ppc64le if BR2_HOSTARCH = "powerpc64le" + default s390x if BR2_HOSTARCH = "s390x" + default 386 if BR2_HOSTARCH = "x86" + default amd64 if BR2_HOSTARCH = "x86_64" + default "" + +config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH != "" diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash new file mode 100644 index 0000000000..3952014f44 --- /dev/null +++ b/package/go/go-bin/go-bin.hash @@ -0,0 +1,8 @@ +# sha256 checksum from https://go.dev/dl/ +sha256 b93850666cdadbd696a986cf7b03111fe99db8c34a9aaa113d7c96d0081e1901 go1.21.1.linux-386.tar.gz +sha256 b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae go1.21.1.linux-amd64.tar.gz +sha256 7da1a3936a928fd0b2602ed4f3ef535b8cd1990f1503b8d3e1acc0fa0759c967 go1.21.1.linux-arm64.tar.gz +sha256 f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85 go1.21.1.linux-armv6l.tar.gz +sha256 eddf018206f8a5589bda75252b72716d26611efebabdca5d0083ec15e9e41ab7 go1.21.1.linux-ppc64le.tar.gz +sha256 a83b3e8eb4dbf76294e773055eb51397510ff4d612a247bad9903560267bba6d go1.21.1.linux-s390x.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go-bin/go-bin.mk b/package/go/go-bin/go-bin.mk new file mode 100644 index 0000000000..6c5c1b6485 --- /dev/null +++ b/package/go/go-bin/go-bin.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# go-bin +# +################################################################################ + +GO_BIN_SITE = https://go.dev/dl +GO_BIN_LICENSE = BSD-3-Clause +GO_BIN_LICENSE_FILES = LICENSE + +HOST_GO_BIN_PROVIDES = host-go + +HOST_GO_BIN_SOURCE = go$(GO_VERSION).linux-$(call qstrip, $(BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH)).tar.gz + +define HOST_GO_BIN_INSTALL_CMDS + $(GO_BINARIES_INSTALL) +endef + +$(eval $(host-generic-package)) -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:28 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:28 +0200 Subject: [Buildroot] [PATCH 6/6] support/testing: add tests for Go providers In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-7-thomas.perale@essensium.com> From: Thomas Perale Test the two providers of host-go to build a Go package. - TestGoBin tests host-go-bin - TestGoSource tests host-go-src The tests consist of building and installing a Go package in the root file system of a ARM vexpress QEMU system. The tests pass if the program can be ran correctly on the target. Signed-off-by: Thomas Perale --- support/testing/tests/package/test_go.py | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 support/testing/tests/package/test_go.py diff --git a/support/testing/tests/package/test_go.py b/support/testing/tests/package/test_go.py new file mode 100644 index 0000000000..9beb66d0d9 --- /dev/null +++ b/support/testing/tests/package/test_go.py @@ -0,0 +1,41 @@ +import os + +import infra.basetest + + +class TestGoBase(infra.basetest.BRTest): + + def login(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() + + +class TestGoBin(TestGoBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + BR2_PACKAGE_HOST_GO=y + BR2_PACKAGE_HOST_GO_SRC=y + BR2_PACKAGE_TINIFIER=y + """ + + def test_run(self): + self.login() + self.assertRunOk("tinifier -h") + + +class TestGoSource(TestGoBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + BR2_PACKAGE_HOST_GO=y + BR2_PACKAGE_HOST_GO_BIN=y + BR2_PACKAGE_TINIFIER=y + """ + + def test_run(self): + self.login() + self.assertRunOk("tinifier -h") -- 2.42.0 From fontaine.fabrice at gmail.com Mon Oct 2 13:55:51 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 15:55:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltris: bump to version 1.2.7 In-Reply-To: <20231002135147.2707988-1-julien.boibessot@armadeus.com> References: <20231002135147.2707988-1-julien.boibessot@armadeus.com> Message-ID: Hello Julien, Le lun. 2 oct. 2023 ? 15:52, Julien BOIBESSOT a ?crit : > Latest release. Asked by autobuild.buildroot.net. > Remove integrated fix. > You forgot to update .checkpackageignore > > Signed-off-by: Julien BOIBESSOT > --- > .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- > package/ltris/ltris.hash | 2 +- > package/ltris/ltris.mk | 2 +- > 3 files changed, 2 insertions(+), 22 deletions(-) > delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch > > diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch > b/package/ltris/0001-fix-build-with-gcc-4.8.patch > deleted file mode 100644 > index d6bbf6a946..0000000000 > --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch > +++ /dev/null > @@ -1,20 +0,0 @@ > -Fix build with gcc 4.8 > - > -Signed-off-by: Fabrice Fontaine > -[Upstream status: https://sourceforge.net/p/lgames/patches/28] > -Index: ltris/src/bowl.c > -=================================================================== > ---- ltris/src/bowl.c (r?vision 421) > -+++ ltris/src/bowl.c (copie de travail) > -@@ -828,9 +828,10 @@ > - */ > - void bowl_init_block_masks() > - { > -+ int i; > - int masksize = sizeof(block_masks[0].mask); // same for all > - > -- for (int i = 0; i < 7; i++) { > -+ for (i = 0; i < 7; i++) { > - block_masks[i].rx = 2; > - block_masks[i].ry = 2; > - memset(block_masks[i].mask, 0, masksize ); > diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash > index f696e3af17..abe6853d9b 100644 > --- a/package/ltris/ltris.hash > +++ b/package/ltris/ltris.hash > @@ -1,3 +1,3 @@ > # Locally computed: > -sha256 a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 > ltris-1.2.tar.gz > +sha256 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 > ltris-1.2.7.tar.gz > sha256 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 > COPYING > diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk > index 9b59613417..98902de44c 100644 > --- a/package/ltris/ltris.mk > +++ b/package/ltris/ltris.mk > @@ -5,7 +5,7 @@ > > ################################################################################ > > LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris > -LTRIS_VERSION = 1.2 > +LTRIS_VERSION = 1.2.7 > LTRIS_LICENSE = GPL-2.0+ > LTRIS_LICENSE_FILES = COPYING > > -- > 2.25.1 > Best Regards, Fabrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.wolsieffer at hefring.com Mon Oct 2 14:18:08 2023 From: ben.wolsieffer at hefring.com (Ben Wolsieffer) Date: Mon, 2 Oct 2023 10:18:08 -0400 Subject: [Buildroot] [PATCH v3 0/8] Add support for FDPIC binaries on ARM In-Reply-To: <20230930221218.023aa2c5@windsurf> References: <20220819151734.926106-1-Ben.Wolsieffer@hefring.com> <20230930221218.023aa2c5@windsurf> Message-ID: Hi Thomas, On Sat, Sep 30, 2023 at 10:12:18PM +0200, Thomas Petazzoni wrote: > Hello Ben, > > On Fri, 19 Aug 2022 11:17:25 -0400 > Ben Wolsieffer wrote: > > > Ben Wolsieffer (8): > > Revert "arch: drop now useless support for FDPIC" > > arch: don't enable FDPIC binaries by default > > arch: make FDPIC dependent on toolchain support > > arch/arm: add support for FDPIC > > boot/uboot: pass -mno-fdpic if FDPIC is enabled > > linux: pass -mno-fdpic if FDPIC is enabled > > package/uclibc: enable NPTL on no-MMU ARM w/ FDPIC > > package/pkg-autotools: patch libtool to support ARM FDPIC > > Thanks for submitting this, and as Yann said already many months ago, > sorry for the delay. > > To be honest, we're not entirely sure we want to merge this without a > really active user of it. The changes are not too complicated, but it's > another fairly special use-case to support, and we would really like to > have someone using it "for real" before we merge this. > > Also, Waldemar pointed out a number of small issues he encountered > while testing this. There's not been activity on this topic for a year, > so we're not sure how committed you are to pushing this and more > importantly maintaining this. > > Could you provide more details on whether you're actually using this in > a project/product? Or is anyone else using this, or going to use it? > > Best regards, > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com No problem about the delay, we haven't had a chance to work on this again until recently either. We are actively using this feature now on a custom platform based around Emcraft's STM32F746 SOM [1]. I have a version of these patches locally that addresses most of the feedback from the first submission, and I just need to fix a few more things before submitting it again. Thanks, Ben [1] https://emcraft.com/products/700 From adam.duskett at amarulasolutions.com Mon Oct 2 14:31:19 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 2 Oct 2023 08:31:19 -0600 Subject: [Buildroot] [PATCH 1/4] package/flutter-sdk-bin: bump version to 3.13.6 Message-ID: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- 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 9daf6c58be..9255f9a6bf 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 d9bbfbfb6fe3c72a29c1040235126edd0cd461e4e18556335fd1cf217c2e1473 flutter_linux_3.13.4-stable.tar.xz +sha256 c8b64bdf6982d51fc303376bc0b8e27b416fb23a137c0268f7fe401216e57bf4 flutter_linux_3.13.6-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 dc6d68fdcb..c3891fc954 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.13.4 +FLUTTER_SDK_BIN_VERSION = 3.13.6 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 -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 2 14:31:20 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 2 Oct 2023 08:31:20 -0600 Subject: [Buildroot] [PATCH 2/4] package/flutter-engine: bump version to 3.13.6 In-Reply-To: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> References: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> Message-ID: <20231002143122.257820-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/flutter-engine/flutter-engine.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/flutter-engine/flutter-engine.mk b/package/flutter-engine/flutter-engine.mk index 942b07786b..b502dbcee1 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.13.4 +FLUTTER_ENGINE_VERSION = 3.13.6 # There is nothing for Buildroot to download. This is handled by gclient. FLUTTER_ENGINE_SITE = -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 2 14:31:21 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 2 Oct 2023 08:31:21 -0600 Subject: [Buildroot] [PATCH 3/4] package/flutter-pi: bump version to d62e84350d2869b3ec1dfb1af21bfe234c4b817f In-Reply-To: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> References: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> Message-ID: <20231002143122.257820-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/flutter-pi/flutter-pi.hash | 2 +- package/flutter-pi/flutter-pi.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/flutter-pi/flutter-pi.hash b/package/flutter-pi/flutter-pi.hash index f7148963a4..6cd7116cd7 100644 --- a/package/flutter-pi/flutter-pi.hash +++ b/package/flutter-pi/flutter-pi.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 e4af79c8f53c15913f52a83a221f099a2a750d023a0bc4560d0db6f15def79a2 flutter-pi-d62e84350d2869b3ec1dfb1af21bfe234c4b817f-br1.tar.gz +sha256 1fb5f4faebebd8b78294aae05eb9a57c3ca80228972d7ffe1f5b9dfc264cfb0e flutter-pi-4e9b44bcb332547c05b728687edf895847eb0aa9-br1.tar.gz sha256 b34df9d3e1b4e5d1ba70b1740ec74b69f1189b44efd0c96b898b074ef8db1c70 LICENSE diff --git a/package/flutter-pi/flutter-pi.mk b/package/flutter-pi/flutter-pi.mk index 27f140c177..dc825c95a2 100644 --- a/package/flutter-pi/flutter-pi.mk +++ b/package/flutter-pi/flutter-pi.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLUTTER_PI_VERSION = d62e84350d2869b3ec1dfb1af21bfe234c4b817f +FLUTTER_PI_VERSION = 4e9b44bcb332547c05b728687edf895847eb0aa9 FLUTTER_PI_SITE = https://github.com/ardera/flutter-pi.git FLUTTER_PI_SITE_METHOD = git FLUTTER_PI_LICENSE = MIT -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 2 14:31:22 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 2 Oct 2023 08:31:22 -0600 Subject: [Buildroot] [PATCH 4/4] package/flutter-pi: enable vulkan support In-Reply-To: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> References: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> Message-ID: <20231002143122.257820-4-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/flutter-pi/flutter-pi.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/flutter-pi/flutter-pi.mk b/package/flutter-pi/flutter-pi.mk index dc825c95a2..d297ada747 100644 --- a/package/flutter-pi/flutter-pi.mk +++ b/package/flutter-pi/flutter-pi.mk @@ -24,7 +24,6 @@ FLUTTER_PI_CONF_OPTS = \ -DENABLE_TESTS=OFF \ -DENABLE_TSAN=OFF \ -DENABLE_UBSAN=OFF \ - -DENABLE_VULKAN=OFF \ -DFILESYSTEM_LAYOUT=meta-flutter \ -DLINT_EGL_HEADERS=OFF \ -DTRY_BUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN=OFF \ @@ -82,4 +81,11 @@ else FLUTTER_PI_CONF_OPTS += -DENABLE_SESSION_SWITCHING=OFF endif +ifeq ($(BR2_PACKAGE_VULKAN_LOADER),y) +FLUTTER_PI_DEPENDENCIES += vulkan-loader +FLUTTER_PI_CONF_OPTS += -DENABLE_VULKAN=ON +else +FLUTTER_PI_CONF_OPTS += -DENABLE_VULKAN=OFF +endif + $(eval $(cmake-package)) -- 2.41.0 From fontaine.fabrice at gmail.com Mon Oct 2 15:07:08 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 17:07:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/open-iscsi: fix musl build In-Reply-To: <20230930160831.11292fee@windsurf> References: <20230930132822.436857-1-fontaine.fabrice@gmail.com> <20230930160831.11292fee@windsurf> Message-ID: Le sam. 30 sept. 2023 ? 16:08, Thomas Petazzoni < thomas.petazzoni at bootlin.com> a ?crit : > On Sat, 30 Sep 2023 15:28:22 +0200 > Fabrice Fontaine wrote: > > > ++#ifndef GLOB_ONLYDIR > > ++#define GLOB_ONLYDIR 0x100 > > ++#endif > > But musl doesn't support this flag, so isn't that wrong? musl will most > likely ignore it. What is the impact on the application if the glob > also matches files, not just directories? Perhaps it breaks the > application behavior. Are you sure we can just blindly do this > workaround? > Upstream thinks that the application will not break: https://github.com/open-iscsi/open-iscsi/pull/426#issuecomment-1743136865 > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com Best Regards, Fabrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.boibessot at armadeus.com Mon Oct 2 13:51:47 2023 From: julien.boibessot at armadeus.com (Julien BOIBESSOT) Date: Mon, 2 Oct 2023 15:51:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltris: bump to version 1.2.7 Message-ID: <20231002135147.2707988-1-julien.boibessot@armadeus.com> Latest release. Asked by autobuild.buildroot.net. Remove integrated fix. Signed-off-by: Julien BOIBESSOT --- .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- package/ltris/ltris.hash | 2 +- package/ltris/ltris.mk | 2 +- 3 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch b/package/ltris/0001-fix-build-with-gcc-4.8.patch deleted file mode 100644 index d6bbf6a946..0000000000 --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch +++ /dev/null @@ -1,20 +0,0 @@ -Fix build with gcc 4.8 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://sourceforge.net/p/lgames/patches/28] -Index: ltris/src/bowl.c -=================================================================== ---- ltris/src/bowl.c (r?vision 421) -+++ ltris/src/bowl.c (copie de travail) -@@ -828,9 +828,10 @@ - */ - void bowl_init_block_masks() - { -+ int i; - int masksize = sizeof(block_masks[0].mask); // same for all - -- for (int i = 0; i < 7; i++) { -+ for (i = 0; i < 7; i++) { - block_masks[i].rx = 2; - block_masks[i].ry = 2; - memset(block_masks[i].mask, 0, masksize ); diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash index f696e3af17..abe6853d9b 100644 --- a/package/ltris/ltris.hash +++ b/package/ltris/ltris.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 ltris-1.2.tar.gz +sha256 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 ltris-1.2.7.tar.gz sha256 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 COPYING diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk index 9b59613417..98902de44c 100644 --- a/package/ltris/ltris.mk +++ b/package/ltris/ltris.mk @@ -5,7 +5,7 @@ ################################################################################ LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris -LTRIS_VERSION = 1.2 +LTRIS_VERSION = 1.2.7 LTRIS_LICENSE = GPL-2.0+ LTRIS_LICENSE_FILES = COPYING -- 2.25.1 From arnout at mind.be Mon Oct 2 15:42:57 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 2 Oct 2023 17:42:57 +0200 Subject: [Buildroot] [PATCH RFC 1/4] DEVELOPERS: add Thomas Petazzoni for nodejs In-Reply-To: <20220925204030.1661583-1-thomas.petazzoni@bootlin.com> References: <20220925204030.1661583-1-thomas.petazzoni@bootlin.com> Message-ID: <422a9653-0f29-e6ed-103d-d8126561b477@mind.be> On 25/09/2022 22:40, Thomas Petazzoni via buildroot wrote: > Signed-off-by: Thomas Petazzoni Series applied to master, after reworking similar to the just-posted go-bin series [1]. Regards, Arnout [1] https://patchwork.ozlabs.org/project/buildroot/list/?series=375729 > --- > DEVELOPERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/DEVELOPERS b/DEVELOPERS > index 564149de0f..f82472bbb5 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2902,6 +2902,7 @@ F: package/msmtp/ > F: package/musl/ > F: package/musl-fts/ > F: package/ne10/ > +F: package/nodejs/ > F: package/pkg-python.mk > F: package/pkg-autotools.mk > F: package/pkg-generic.mk From Brandon.Maier at collins.com Mon Oct 2 16:21:45 2023 From: Brandon.Maier at collins.com (Maier, Brandon L Collins) Date: Mon, 2 Oct 2023 16:21:45 +0000 Subject: [Buildroot] [External] Re: [PATCH 1/4] board/freescale: fix arm-trusted-firmware for binutils 2.39+ In-Reply-To: <20230930172024.5aaf0df6@windsurf> References: <20230921215633.34828-1-brandon.maier@collins.com> <20230930172024.5aaf0df6@windsurf> Message-ID: Hi Thomas, > -----Original Message----- > From: Thomas Petazzoni > Sent: Saturday, September 30, 2023 10:20 AM > To: Brandon Maier via buildroot > Cc: Maier, Brandon L Collins ; Fabio Estevam > ; Gilles Talis ; Stephane Viau > ; Maeva Manuel > > Subject: [External] Re: [Buildroot] [PATCH 1/4] board/freescale: fix arm- > trusted-firmware for binutils 2.39+ > > On Thu, 21 Sep 2023 21:56:30 +0000 > Brandon Maier via buildroot wrote: > > > The NXP arm-trusted-firmware forks use an older version of ATF that will > > error with "LOAD segment with RWX permissions". Similar patches are > > present in boot/arm-trusted-firmware/ for older ATF versions. > > > > Signed-off-by: Brandon Maier > > --- > > ...dd-support-for-new-binutils-versions.patch | 61 +++++++++++++++++++ > > configs/freescale_imx8mmevk_defconfig | 1 + > > configs/freescale_imx8mnevk_defconfig | 1 + > > configs/freescale_imx8mpevk_defconfig | 1 + > > configs/freescale_imx8mqevk_defconfig | 1 + > > configs/freescale_imx8qmmek_defconfig | 1 + > > configs/freescale_imx8qxpmek_defconfig | 1 + > > configs/ls1028ardb_defconfig | 3 + > > 8 files changed, 70 insertions(+) > > create mode 100644 board/freescale/common/patches/arm-trusted- > firmware/0001-feat-build-add-support-for-new-binutils-versions.patch > > Applied to master after references to the Gitlab CI failures that are > fixed by this change. If you have the boards at hand, it would be even > nicer to upgrade to newer BSP component versions. Perhaps this is > something that Maeva, Stephane or Gilles can help with? Romain said he updated one of the i.MX boards as well. I would like to update the others, as I'm using latest lf-6.1.22-2.0.0 for our own boards. But I do not own any of those other boards to boot test, I could send out a patch to update the versions and verify they build at least. > > Thanks! > > Thomas > -- > Thomas Petazzoni, CTO, Bootlin > Embedded Linux and Kernel engineering > https://urldefense.com/v3/__https://bootlin.com__;!!MvWE!CEcPUERRV2wb > 6IOiaXKEBuPqtpbxfJ7WlCyGhnSVJpmVsxQ- > BplmLtE6chgxY5ptrX1qJdKVaeR_cTbbMBQdNQ0nkDOmn90$ Thanks, Brandon From fontaine.fabrice at gmail.com Mon Oct 2 16:52:35 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 18:52:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library Message-ID: <20231002165235.346092-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump to version 1.4.2-168-ged3039c in commit 2e330dff6a7ce7965ceb0dccdc9dcbcb329167bb: /home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `libfdt/libfdt-1.6.1.so' Fixes: - http://autobuild.buildroot.org/results/6788d86c10d551b3d617e33c85083b817eb5d0b2 Signed-off-by: Fabrice Fontaine --- package/sunxi-tools/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/sunxi-tools/Config.in b/package/sunxi-tools/Config.in index 14f7da5bf2..16550f4e55 100644 --- a/package/sunxi-tools/Config.in +++ b/package/sunxi-tools/Config.in @@ -23,6 +23,7 @@ config BR2_PACKAGE_SUNXI_TOOLS_BOOTINFO config BR2_PACKAGE_SUNXI_TOOLS_FEL bool "sunxi-fel" + depends on !BR2_STATIC_LIBS # dtc depends on BR2_TOOLCHAIN_HAS_THREADS # libusb depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb select BR2_PACKAGE_DTC @@ -33,8 +34,8 @@ config BR2_PACKAGE_SUNXI_TOOLS_FEL fel mode. This allows do download code to memory and execute it. -comment "sunxi-fel needs a toolchain w/ threads, gcc >= 4.9" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ +comment "sunxi-fel needs a toolchain w/ dynamic library, threads, gcc >= 4.9" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 config BR2_PACKAGE_SUNXI_TOOLS_NAND_PART -- 2.40.1 From fperrad at gmail.com Mon Oct 2 16:53:01 2023 From: fperrad at gmail.com (Francois Perrad) Date: Mon, 2 Oct 2023 18:53:01 +0200 Subject: [Buildroot] [PATCH 1/2] package/perl-module-build-tiny: bump to version 0.047 Message-ID: <20231002165302.3341402-1-francois.perrad@gadz.org> LICENSE: switch to Perl Artistic see https://metacpan.org/release/LEONT/Module-Build-Tiny-0.047/diff/LEONT/Module-Build-Tiny-0.039#LICENSE Signed-off-by: Francois Perrad --- .../perl-module-build-tiny/perl-module-build-tiny.hash | 8 ++++---- package/perl-module-build-tiny/perl-module-build-tiny.mk | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/perl-module-build-tiny/perl-module-build-tiny.hash b/package/perl-module-build-tiny/perl-module-build-tiny.hash index 7f03f96c1..7b503ff06 100644 --- a/package/perl-module-build-tiny/perl-module-build-tiny.hash +++ b/package/perl-module-build-tiny/perl-module-build-tiny.hash @@ -1,6 +1,6 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 2332c90c17454107fea3f2614e11a3a9 Module-Build-Tiny-0.039.tar.gz -sha256 7d580ff6ace0cbe555bf36b86dc8ea232581530cbeaaea09bccb57b55797f11c Module-Build-Tiny-0.039.tar.gz +# retrieved by scancpan from https://cpan.metacpan.org/ +md5 de9814b3c22825837438fc70adad58ac Module-Build-Tiny-0.047.tar.gz +sha256 71260e9421b93c33dd1b3e7d0cf15f759c0ca7c753fa840279ec3be70f8f8c9d Module-Build-Tiny-0.047.tar.gz # computed by scancpan -sha256 09fd2bc0428920c455f10c5a6c52e2bb4615114e88966c75ce27a07af028c36b LICENSE +sha256 1ce3282467869416f29b0c5f7773d1b80181fb9e08bef64e3829e8c53e19b64e LICENSE diff --git a/package/perl-module-build-tiny/perl-module-build-tiny.mk b/package/perl-module-build-tiny/perl-module-build-tiny.mk index cdf6ac3ec..e2e3d83e7 100644 --- a/package/perl-module-build-tiny/perl-module-build-tiny.mk +++ b/package/perl-module-build-tiny/perl-module-build-tiny.mk @@ -4,14 +4,14 @@ # ################################################################################ -PERL_MODULE_BUILD_TINY_VERSION = 0.039 +PERL_MODULE_BUILD_TINY_VERSION = 0.047 PERL_MODULE_BUILD_TINY_SOURCE = Module-Build-Tiny-$(PERL_MODULE_BUILD_TINY_VERSION).tar.gz PERL_MODULE_BUILD_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEONT HOST_PERL_MODULE_BUILD_TINY_DEPENDENCIES = \ host-perl-extutils-config \ host-perl-extutils-helpers \ host-perl-extutils-installpaths -PERL_MODULE_BUILD_TINY_LICENSE = Artistic or GPL-1.0+ +PERL_MODULE_BUILD_TINY_LICENSE = Artistic-1.0-Perl or GPL-1.0+ PERL_MODULE_BUILD_TINY_LICENSE_FILES = LICENSE PERL_MODULE_BUILD_TINY_DISTNAME = Module-Build-Tiny -- 2.39.2 From fperrad at gmail.com Mon Oct 2 16:53:02 2023 From: fperrad at gmail.com (Francois Perrad) Date: Mon, 2 Oct 2023 18:53:02 +0200 Subject: [Buildroot] [PATCH 2/2] package/perl-module-build: bump to version 0.4234 In-Reply-To: <20231002165302.3341402-1-francois.perrad@gadz.org> References: <20231002165302.3341402-1-francois.perrad@gadz.org> Message-ID: <20231002165302.3341402-2-francois.perrad@gadz.org> LICENSE: now filled with a real content see https://metacpan.org/release/LEONT/Module-Build-0.4234/diff/LEONT/Module-Build-0.4232#LICENSE Signed-off-by: Francois Perrad --- package/perl-module-build/perl-module-build.hash | 8 ++++---- package/perl-module-build/perl-module-build.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/perl-module-build/perl-module-build.hash b/package/perl-module-build/perl-module-build.hash index a2181290e..590307e78 100644 --- a/package/perl-module-build/perl-module-build.hash +++ b/package/perl-module-build/perl-module-build.hash @@ -1,6 +1,6 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 144885f1cbaf9420017bbed696ec6b83 Module-Build-0.4232.tar.gz -sha256 67c82ee245d94ba06decfa25572ab75fdcd26a9009094289d8f45bc54041771b Module-Build-0.4232.tar.gz +# retrieved by scancpan from https://cpan.metacpan.org/ +md5 0032d0c0bc36a3b68ef41c947829d5e3 Module-Build-0.4234.tar.gz +sha256 66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f Module-Build-0.4234.tar.gz # computed by scancpan -sha256 f35ac2cc6b808a38c42c2d230b875217b0a24bb51e5a497ebb630cbb3d806c3e LICENSE +sha256 af1570e8af55af52b4e86d040e2a993cb684566275c43c4d7a8b0cc5a90e08a4 LICENSE diff --git a/package/perl-module-build/perl-module-build.mk b/package/perl-module-build/perl-module-build.mk index d95a30647..972902e04 100644 --- a/package/perl-module-build/perl-module-build.mk +++ b/package/perl-module-build/perl-module-build.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_MODULE_BUILD_VERSION = 0.4232 +PERL_MODULE_BUILD_VERSION = 0.4234 PERL_MODULE_BUILD_SOURCE = Module-Build-$(PERL_MODULE_BUILD_VERSION).tar.gz PERL_MODULE_BUILD_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEONT PERL_MODULE_BUILD_LICENSE = Artistic or GPL-1.0+ -- 2.39.2 From fontaine.fabrice at gmail.com Mon Oct 2 16:53:45 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 18:53:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnvme: fix python build Message-ID: <20231002165345.346937-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since the addition of the package in commit cd7bc6b1c410514765c51821bb8d843f136fea4a: Program python3 found: YES (/home/autobuild/autobuild/instance-6/output-1/host/bin/python3) Program swig found: NO ../output-1/build/libnvme-1.5/libnvme/meson.build:15:11: ERROR: Program 'swig' not found or not executable Fixes: - http://autobuild.buildroot.org/results/3cb05b4939eb7d1ce0460088c365402ffcd6b13b Signed-off-by: Fabrice Fontaine --- package/libnvme/libnvme.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 71885e198c..c8984093d0 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -11,7 +11,7 @@ LIBNVME_LICENSE_FILES = COPYING LIBNVME_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_PYTHON3),y) -LIBNVME_DEPENDENCIES += python3 +LIBNVME_DEPENDENCIES += host-swig python3 LIBNVME_CONF_OPTS += -Dpython=enabled else LIBNVME_CONF_OPTS += -Dpython=disabled -- 2.40.1 From fontaine.fabrice at gmail.com Mon Oct 2 16:54:35 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 18:54:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/spirv-tools: needs C++17 Message-ID: <20231002165435.347541-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since the addition of the package in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: CMake Error at CMakeLists.txt:17 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/aff5b968342bf05f036c8e1e557c404060345d30 Signed-off-by: Fabrice Fontaine --- package/spirv-tools/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in index e2f46253a9..39fdb80b86 100644 --- a/package/spirv-tools/Config.in +++ b/package/spirv-tools/Config.in @@ -1,8 +1,14 @@ config BR2_PACKAGE_SPIRV_TOOLS bool "spirv-tools" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 select BR2_PACKAGE_SPIRV_HEADERS help The SPIR-V Tools project provides an API and commands for processing SPIR-V modules. https://github.com/KhronosGroup/SPIRV-Tools + +comment "spirv-tools needs a toolchain w/ C++, gcc >= 7" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 -- 2.40.1 From giulio.benetti at benettiengineering.com Mon Oct 2 17:20:47 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Mon, 2 Oct 2023 19:20:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnvme: fix python build In-Reply-To: <20231002165345.346937-1-fontaine.fabrice@gmail.com> References: <20231002165345.346937-1-fontaine.fabrice@gmail.com> Message-ID: <9B60377C-1188-4453-9CB3-2B12E8D4FF2F@benettiengineering.com> Hi Fabrice, > Il giorno 2 ott 2023, alle ore 18:54, Fabrice Fontaine ha scritto: > > ?Fix the following build failure raised since the addition of the package > in commit cd7bc6b1c410514765c51821bb8d843f136fea4a: > > Program python3 found: YES (/home/autobuild/autobuild/instance-6/output-1/host/bin/python3) > Program swig found: NO > > ../output-1/build/libnvme-1.5/libnvme/meson.build:15:11: ERROR: Program 'swig' not found or not executable > > Fixes: > - http://autobuild.buildroot.org/results/3cb05b4939eb7d1ce0460088c365402ffcd6b13b > > Signed-off-by: Fabrice Fontaine Reviewed-by: Giulio Benetti Thank you for fixing Giulio > --- > package/libnvme/libnvme.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk > index 71885e198c..c8984093d0 100644 > --- a/package/libnvme/libnvme.mk > +++ b/package/libnvme/libnvme.mk > @@ -11,7 +11,7 @@ LIBNVME_LICENSE_FILES = COPYING > LIBNVME_INSTALL_STAGING = YES > > ifeq ($(BR2_PACKAGE_PYTHON3),y) > -LIBNVME_DEPENDENCIES += python3 > +LIBNVME_DEPENDENCIES += host-swig python3 > LIBNVME_CONF_OPTS += -Dpython=enabled > else > LIBNVME_CONF_OPTS += -Dpython=disabled > -- > 2.40.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From yann.morin.1998 at free.fr Mon Oct 2 17:33:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 2 Oct 2023 19:33:10 +0200 Subject: [Buildroot] [PATCH v6 1/4] pkg-cmake: add option to select the Ninja generator In-Reply-To: <20230806141506.GS421096@scaer> References: <20230802111447.41714-1-thomas@devoogdt.com> <20230806141506.GS421096@scaer> Message-ID: <20231002173310.GA2957@scaer> Thomas, All, On 2023-08-06 16:15 +0200, Yann E. MORIN spake thusly: > On 2023-08-02 13:14 +0200, Thomas Devoogdt spake thusly: > > From: Thomas Devoogdt > > Cmake supports multiple generators. Ninja is a small build system with a > > focus on speed. It is mainly used with the meson build system, but also > > cmake has very good support for it. This adds optional support for the > > Ninja build system. [--SNIP--] > Please review the new code. If I broke something, please send followup > fixup patches with appropriate explanations (there's a kind of d?j?-vu > here...) While reviewing another patch, I now noticed that we did lose something with the introduction of this ninja backend. that I totally missed when I applied it. Indeed, previously, the install step was done with the install/fast rule: $(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install/fast $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install/fast But this got removed with your patch, with nothing to replace it. See commit dfcc18f84b0d (pkg-cmake: Skip compilation in installation step) for the rationale of using install/fast. Could you look into restoring this, please? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From kazemi.ms at gmail.com Mon Oct 2 17:36:28 2023 From: kazemi.ms at gmail.com (Saeed Kazemi) Date: Mon, 2 Oct 2023 19:36:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/eza: new package Message-ID: <20231002173628.2812917-1-kazemi.ms@gmail.com> eza is a modern, maintained replacement for ls, built on exa. https://github.com/eza-community/eza.git Signed-off-by: Saeed Kazemi --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/eza/Config.in | 8 ++++++++ package/eza/eza.hash | 3 +++ package/eza/eza.mk | 12 ++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/eza/Config.in create mode 100644 package/eza/eza.hash create mode 100644 package/eza/eza.mk diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..944c4fd8bd 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2626,6 +2626,9 @@ F: package/agent-proxy/ N: Ryan Wilkins F: package/biosdevname/ +N: Saeed Kazemi +F: package/eza/ + N: Sam Lancia F: package/lrzip/ diff --git a/package/Config.in b/package/Config.in index 009f7ba186..589dfc682a 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2633,6 +2633,7 @@ comment "Utilities" source "package/dialog/Config.in" source "package/dtach/Config.in" source "package/easy-rsa/Config.in" + source "package/eza/Config.in" source "package/file/Config.in" source "package/gnupg/Config.in" source "package/gnupg2/Config.in" diff --git a/package/eza/Config.in b/package/eza/Config.in new file mode 100644 index 0000000000..b0a49afefb --- /dev/null +++ b/package/eza/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_EZA + bool "eza" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_RUSTC + help + eza is a modern, maintained replacement for ls, built on exa. + + https://github.com/eza-community/eza.git diff --git a/package/eza/eza.hash b/package/eza/eza.hash new file mode 100644 index 0000000000..39923ceb48 --- /dev/null +++ b/package/eza/eza.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 2dac8aa41433eeaa07c4eabdf557b7e134c3fda9ba9edb8ab57959354856e20c eza-0.14.0.tar.gz +sha256 2762990c7fbba9d550802a2593c1d857dcd52596bb0f9f192a97e9a7ac5f4f9e LICENCE diff --git a/package/eza/eza.mk b/package/eza/eza.mk new file mode 100644 index 0000000000..a327de0dcc --- /dev/null +++ b/package/eza/eza.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# eza +# +################################################################################ + +EZA_VERSION = 0.14.0 +EZA_SITE = $(call github,eza-community,eza,v$(EZA_VERSION)) +EZA_LICENSE = MIT +EZA_LICENSE_FILES = LICENCE + +$(eval $(cargo-package)) -- 2.34.1 From christian at aperture.us Mon Oct 2 18:24:21 2023 From: christian at aperture.us (Christian Stewart) Date: Mon, 2 Oct 2023 11:24:21 -0700 Subject: [Buildroot] [PATCH 6/6] support/testing: add tests for Go providers In-Reply-To: <20231002124736.179251-7-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> <20231002124736.179251-7-thomas.perale@essensium.com> Message-ID: Hi Thomas, Thanks for this series, it looks good overall. A few minor fixes for this patch: On Mon, Oct 2, 2023 at 5:48?AM Thomas Perale wrote: > +class TestGoBin(TestGoBase): > + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ > + """ > + BR2_TARGET_ROOTFS_CPIO=y > + BR2_PACKAGE_HOST_GO=y > + BR2_PACKAGE_HOST_GO_SRC=y > + BR2_PACKAGE_TINIFIER=y > + """ I think you meant to put HOST_GO_BIN here (for TestGoBin). > +class TestGoSource(TestGoBase): > + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ > + """ > + BR2_TARGET_ROOTFS_CPIO=y > + BR2_PACKAGE_HOST_GO=y > + BR2_PACKAGE_HOST_GO_BIN=y > + BR2_PACKAGE_TINIFIER=y > + """ I think you meant to put HOST_GO_SRC here (for TestGoSource). Best regards, Christian Stewart From christian at aperture.us Mon Oct 2 18:28:49 2023 From: christian at aperture.us (Christian Stewart) Date: Mon, 2 Oct 2023 11:28:49 -0700 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump version to v1.6.22 In-Reply-To: <87r0mgay0o.fsf@48ers.dk> References: <20230727232235.449788-1-christian@aperture.us> <08DC739C-F115-4DB2-9F9A-0CD6E9BFEA42@agner.ch> <23f2b3bd59cb6d860ea52b566eacfdb8@agner.ch> <87r0mgay0o.fsf@48ers.dk> Message-ID: Hi Peter, https://github.com/containerd/containerd/issues/9139#issuecomment-1736477534 On Sat, Sep 30, 2023 at 1:03?AM Peter Korsgaard wrote: > If cri is only needed for when containerd is used with kubernetes, then > perhaps we should disable it by default so other people don't need to > debug the same issue. I think we can safely disable cri on the default config. Best, Christian From christian at aperture.us Mon Oct 2 19:17:04 2023 From: christian at aperture.us (Christian Stewart) Date: Mon, 2 Oct 2023 12:17:04 -0700 Subject: [Buildroot] [PATCH v1 1/1] package/amlogic-boot-fip: fix typo in Config.in.host Message-ID: <20231002191704.57123-1-christian@aperture.us> Signed-off-by: Christian Stewart --- package/amlogic-boot-fip/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/amlogic-boot-fip/Config.in.host b/package/amlogic-boot-fip/Config.in.host index d72bac568e..bccc6296d1 100644 --- a/package/amlogic-boot-fip/Config.in.host +++ b/package/amlogic-boot-fip/Config.in.host @@ -2,7 +2,7 @@ config BR2_PACKAGE_HOST_AMLOGIC_BOOT_FIP bool "host amlogic-boot-fip" depends on BR2_HOSTARCH = "x86_64" help - Firmware Image Pacakge (FIP) sources used to sign Amlogic + Firmware Image Package (FIP) sources used to sign Amlogic u-boot binaries in LibreELEC images https://github.com/LibreELEC/amlogic-boot-fip -- 2.42.0 From bernd at kuhls.net Mon Oct 2 19:51:59 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 2 Oct 2023 21:51:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix cross build Message-ID: <20231002195159.3053254-1-bernd@kuhls.net> Fixes build error Building dns library in /home/bernd/buildroot/br4/output/build/dhcp-4.4.3- P1/bind/bind-9.11.36/lib/dns ./gen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./gen) make[4]: *** [Makefile:601: include/dns/enumtype.h] Error 1 make[3]: *** [Makefile:595: include] Error 2 with this defconfig BR2_x86_64=y BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_DHCP=y Please note that this build error only occurs when the target and the host system have the same arch. For example this defconfig builds fine: BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_DHCP=y on a Debian 12 x86_64 host using glibc-2.36: $ /lib/ld-linux.so.2 --version ld.so (Debian GLIBC 2.36-9+deb12u1) stable release version 2.36. The error occurs since buildroot commit 34f8d874ee which bumped glibc from 2.37 to 2.38. This patch is inspired by the Yocto Project: https://patchwork.yoctoproject.org/project/oe/patch/20230715212159.3265080-1-raj.khem at gmail.com/ Signed-off-by: Bernd Kuhls --- package/dhcp/dhcp.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 7be40191c8..094d361e45 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -32,6 +32,9 @@ DHCP_CONF_ENV = \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' DHCP_BIND_EXTRA_CONFIG = \ + --build=$(GNU_HOST_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --target=$(GNU_TARGET_NAME) \ BUILD_CC='$(HOSTCC)' \ BUILD_CFLAGS='$(HOST_CFLAGS)' \ BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ -- 2.39.2 From bernd at kuhls.net Mon Oct 2 19:53:36 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 02 Oct 2023 21:53:36 +0200 Subject: [Buildroot] [PATCH 1/2] package/{glibc, localedef}: bump to version 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 References: <20230911210917.1114974-1-romain.naour@gmail.com> <87edigg4hb.fsf__32334.269203578$1696015980$gmane$org@48ers.dk> <87r0mf74yf.fsf@48ers.dk> Message-ID: Am Sat, 30 Sep 2023 22:59:20 +0200 schrieb Peter Korsgaard: > So gen is presumably built for the target, but the build system for some > reason tries to execute it on the host - E.G. it was already a problem, > but it only happened to work before as the glibc version on your build > host matched better (was >=) than the 2.38.x version we use now. Hi Peter, sent https://patchwork.ozlabs.org/project/buildroot/patch/ 20231002195159.3053254-1-bernd at kuhls.net/ Regards, Bernd From yann.morin.1998 at free.fr Mon Oct 2 20:01:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 2 Oct 2023 22:01:12 +0200 Subject: [Buildroot] [PATCH v2] package/qt5/qt5webkit: fix generated artifacts In-Reply-To: <20220929181350.1026033-1-thomas.ballasi@savoirfairelinux.com> References: <20220922214512.2098221-1-thomas.ballasi@savoirfairelinux.com> <20220929181350.1026033-1-thomas.ballasi@savoirfairelinux.com> Message-ID: <20231002200112.GB2957@scaer> Thomas, All, Sorry for the awfully long delay in looking at this patch; it has all the words that make it scary to review: qt5. cmake. webkit... On 2022-09-29 14:13 -0400, Thomas Ballasi spake thusly: > Generated artifacts of the installation process were wrongly located, > causing packages using qt5webkit (qt-webkit-kiosk and python-pyqt5) to > fail at build time. It would have been good to provide an example of such a failure, and they are pretty rare: http://autobuild.buildroot.org/?reason=qt-webkit-kiosk% The last one is from 2023-09-04, pretty recent, but the one before that was in 2022-12-14, but it was more common before that (a few a month on average). We usually add a reference to such a build failure directly in the commit log: http://autobuild.buildroot.org/results/91a/91a2d87eb42bf62f8d4f2b24788deef6c5e866f6/ > Firstly, *.h files are wrongly located a directory below where supposed > (inside qt5/ directory). This is caused by using DATADIR which assumed > include files were to be located in sysroot/usr/include/. Disabling this > variable by removing it from build options leads to a correct behavior. I don't see where/how you are disabling the use of DATADIR. > Secondly, in order to locate *.pri artifacts correctly, we set the conf > option CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT on, From the cmake documentation, it looks like that variable i set by cmake, and is not to be set manually like you do: https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT.html qt5webkit looks for the value of CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT to set CMAKE_INSTALL_PREFIX: qt5webkit-5.212.0-alpha4/Source/cmake/OptionsQt.cmake 1004 query_qmake(qt_install_prefix_dir QT_INSTALL_PREFIX) 1005 if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) 1006 set(CMAKE_INSTALL_PREFIX "${qt_install_prefix_dir}" CACHE PATH "Install path prefix, prepended onto install? 1007 endif () And this looks to me very close to what Looking a bit around, I only noticed jpeg-turbo doing something similar, but I don't understand why it looks if the path s set to its efault value to just then set it to its default value... I think the proper solution in pur case would be to drop that conditional block... > which in turn > sets the variable KDE_INSTALL_USE_QT_SYS_PATHS on, for the following > reasons: > > 1. *.pri files are wrongly located in the host's and target's sysroot > directores while buildroot implements its own mkspecs directory. > By setting KDE_INSTALL_USE_QT_SYS_PATHS on, mkspecs modules are now > being installed in host's data dir (ECM_MKSPECS_INSTALL_DIR is set > accordingly @ line 102 in Source/cmake/ECMGeneratePriFile.cmake). > This also required to prevent using the CMake package's default > DATADIR variable, as done previously, as it enforced to install > artifacts under the sysroot directory. > > 2. *.pri files' content have hardcoded include and library paths. This > has been corrected by setting on KDE_INSTALL_USE_QT_SYS_PATHS as > their content is written according to this value (see line 514 and > 739 in file Source/WebKit/PlatformQt.cmake). I think both issues should be fixed by removing that conditional block... [--SNIP--] > diff --git a/package/qt5/qt5webkit/qt5webkit.mk b/package/qt5/qt5webkit/qt5webkit.mk > index 6912359674..8310ef20c8 100644 > --- a/package/qt5/qt5webkit/qt5webkit.mk > +++ b/package/qt5/qt5webkit/qt5webkit.mk > @@ -51,10 +51,18 @@ QT5WEBKIT_CONF_OPTS += -DENABLE_SAMPLING_PROFILER=OFF > endif > > QT5WEBKIT_CONF_OPTS += \ > + -DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=ON \ > -DENABLE_TOOLS=OFF \ > -DPORT=Qt \ > -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ > -DSHARED_CORE=ON \ > -DUSE_LIBHYPHEN=OFF > > +QT5WEBKIT_INSTALL_STAGING_OPTS = install/fast The default _INSTALL_STAGING_OPTS contains DESTDIR and isntall/fast: https://gitlab.com/buildroot.org/buildroot/-/blob/68b68518a8cc372cd6bfb34414a91311e7266044/package/pkg-cmake.mk#L56 So what you're doing is to rem ove setting DESTDIR, which feels horribly wrong. > +define QT5WEBKIT_INSTALL_TARGET_CMDS > + $(TARGET_MAKE_ENV) $(BR2_CMAKE) --install $(QT5WEBKIT_BUILDDIR) \ > + --prefix $(TARGET_DIR)/usr Ditto, not using DESTDIR as the install step for target looks highly suspicious. Note that the current state of affairs with cmake has slightly evolved since you posted your patch. as we recently merged support for using ninja as the backend (it is opt-in to that backend, the default is still Makefiles), and we may have a bit of a fallout. Still, I was able to reproduce the issue... So, I started a build (wee, 3 hours!) that have removed the conditional block in qt5webkit, let's see what that does... Regards, Yann E. MORIN. > +endef > + > $(eval $(cmake-package)) -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From bernd at kuhls.net Mon Oct 2 20:04:51 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 2 Oct 2023 22:04:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: bump version to 3.11.6 Message-ID: <20231002200451.3445210-1-bernd@kuhls.net> Release notes: https://www.python.org/downloads/release/python-3116/ Signed-off-by: Bernd Kuhls --- package/python3/python3.hash | 6 +++--- package/python3/python3.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 1a0fee3290..39a16c1f71 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3115/ -md5 393856f1b7713aa8bba4b642ab9985d3 Python-3.11.5.tar.xz +# From https://www.python.org/downloads/release/python-3116/ +md5 d0c5a1a31efe879723e51addf56dd206 Python-3.11.6.tar.xz # Locally computed -sha256 85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f Python-3.11.5.tar.xz +sha256 0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 Python-3.11.6.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cfe5e1ee6e..b9c5054a21 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.11 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).5 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).6 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others -- 2.39.2 From thomas at devoogdt.com Mon Oct 2 20:26:40 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Mon, 2 Oct 2023 22:26:40 +0200 Subject: [Buildroot] [PATCH v6 1/4] pkg-cmake: add option to select the Ninja generator In-Reply-To: <20231002173310.GA2957@scaer> References: <20230802111447.41714-1-thomas@devoogdt.com> <20230806141506.GS421096@scaer> <20231002173310.GA2957@scaer> Message-ID: Hi Yann, All, I will check what I can do. A quick search gives me this flag: https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html , which is probably what we want. Otherwise I don't see much additional install options. And calling the make install/fast target directly is not very generator generic. Kr, Thomas Op ma 2 okt. 2023 19:33 schreef Yann E. MORIN : > Thomas, All, > > On 2023-08-06 16:15 +0200, Yann E. MORIN spake thusly: > > On 2023-08-02 13:14 +0200, Thomas Devoogdt spake thusly: > > > From: Thomas Devoogdt > > > Cmake supports multiple generators. Ninja is a small build system with > a > > > focus on speed. It is mainly used with the meson build system, but also > > > cmake has very good support for it. This adds optional support for the > > > Ninja build system. > [--SNIP--] > > Please review the new code. If I broke something, please send followup > > fixup patches with appropriate explanations (there's a kind of d?j?-vu > > here...) > > While reviewing another patch, I now noticed that we did lose something > with the introduction of this ninja backend. that I totally missed when > I applied it. > > Indeed, previously, the install step was done with the install/fast > rule: > > $(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install/fast > $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install/fast > > But this got removed with your patch, with nothing to replace it. > > See commit dfcc18f84b0d (pkg-cmake: Skip compilation in installation > step) for the rationale of using install/fast. > > Could you look into restoring this, please? > > Regards, > Yann E. MORIN. > > -- > > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' > conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ > | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is > no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v > conspiracy. | > > '------------------------------^-------^------------------^--------------------' > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.morin.1998 at free.fr Mon Oct 2 20:43:28 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 2 Oct 2023 22:43:28 +0200 Subject: [Buildroot] [PATCH v6 1/4] pkg-cmake: add option to select the Ninja generator In-Reply-To: References: <20230802111447.41714-1-thomas@devoogdt.com> <20230806141506.GS421096@scaer> <20231002173310.GA2957@scaer> Message-ID: <20231002204328.GC2957@scaer> Thomas, All, On 2023-10-02 22:26 +0200, Thomas Devoogdt spake thusly: > I will check what I can do. A quick search gives me this flag: > [1]https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html , > which is probably what we want. Otherwise I don't see much additional install options. If I understood it properly, this makes 'install' behave as 'install/fast' by default, so looks like we should indeed be passing this option instead. If that does not make sense for the ninja case, then we'd set it only for the makefiles case. > And calling the make install/fast target > directly is not very generator generic. If we reinstate 'install/fast' as it was previously, we'd do that only for the makefiels case, of course. Regards, Yann E. MORIN. > Kr, > Thomas? > Op ma 2 okt. 2023 19:33 schreef Yann E. MORIN < [2]yann.morin.1998 at free.fr>: > > Thomas, All, > > On 2023-08-06 16:15 +0200, Yann E. MORIN spake thusly: > > On 2023-08-02 13:14 +0200, Thomas Devoogdt spake thusly: > > > From: Thomas Devoogdt < [3]thomas.devoogdt at barco.com> > > > Cmake supports multiple generators. Ninja is a small build system with a > > > focus on speed. It is mainly used with the meson build system, but also > > > cmake has very good support for it. This adds optional support for the > > > Ninja build system. > [--SNIP--] > > Please review the new code. If I broke something, please send followup > > fixup patches with appropriate explanations (there's a kind of d?j?-vu > > here...) > > While reviewing another patch, I now noticed that we did lose something > with the introduction of this ninja backend. that I totally missed when > I applied it. > > Indeed, previously, the install step was done with the install/fast > rule: > > ? ? $(2)_INSTALL_STAGING_OPTS? ? ? ?= DESTDIR=$$(STAGING_DIR) install/fast > ? ? $(2)_INSTALL_TARGET_OPTS? ? ? ??= DESTDIR=$$(TARGET_DIR) install/fast > > But this got removed with your patch, with nothing to replace it. > > See commit dfcc18f84b0d (pkg-cmake: Skip compilation in installation > step) for the rationale of using install/fast. > > Could you look into restoring this, please? > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > |? Yann E. MORIN? | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software? Designer | \ / CAMPAIGN? ? ?|? ___? ? ? ? ? ? > ? ?| > | +33 561 099 427 `------------.-------:? X? AGAINST? ? ? |? \e/? There is no? | > | [4]http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL? ? |? ?v? ?conspiracy.? | > '------------------------------^-------^------------------^--------------------' > > Links: > 1. https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html > 2. mailto:yann.morin.1998 at free.fr > 3. mailto:thomas.devoogdt at barco.com > 4. http://ymorin.is-a-geek.org/ -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 2 20:51:44 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 2 Oct 2023 22:51:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix cross build In-Reply-To: <20231002195159.3053254-1-bernd@kuhls.net> References: <20231002195159.3053254-1-bernd@kuhls.net> Message-ID: <20231002205144.GD2957@scaer> Bernd, All, On 2023-10-02 21:51 +0200, Bernd Kuhls spake thusly: > Fixes build error > > Building dns library in /home/bernd/buildroot/br4/output/build/dhcp-4.4.3- > P1/bind/bind-9.11.36/lib/dns > ./gen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found > (required by ./gen) > make[4]: *** [Makefile:601: include/dns/enumtype.h] Error 1 > make[3]: *** [Makefile:595: include] Error 2 > > with this defconfig > > BR2_x86_64=y > BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y > BR2_PACKAGE_DHCP=y > > Please note that this build error only occurs when the target and the > host system have the same arch. For example this defconfig builds fine: > > BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y > BR2_PACKAGE_DHCP=y > > on a Debian 12 x86_64 host using glibc-2.36: > > $ /lib/ld-linux.so.2 --version > ld.so (Debian GLIBC 2.36-9+deb12u1) stable release version 2.36. > > The error occurs since buildroot commit 34f8d874ee which bumped glibc > from 2.37 to 2.38. > > This patch is inspired by the Yocto Project: > https://patchwork.yoctoproject.org/project/oe/patch/20230715212159.3265080-1-raj.khem at gmail.com/ That patch has an important tidbit of inoormation that yours is missing, and that is important to get: this is passing the configure options to the internal bind. Indeed, I was very puzzled why passing the same --build, --host, and --target as pkg-autotools already does, would fix the issue. But indeed, isch dhcp internally configure a bundled bind, and messes when doing so. So your patch looks like it is correct. However, I would challenge it on other grounds: ISC decided to stop maintaing dhcp starting end of 2022, almost a year ago, when they released the last version of dhcp. Should we just drop that package now and be done with it? Regards, Yann E. MORIN. > Signed-off-by: Bernd Kuhls > --- > package/dhcp/dhcp.mk | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 7be40191c8..094d361e45 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -32,6 +32,9 @@ DHCP_CONF_ENV = \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > DHCP_BIND_EXTRA_CONFIG = \ > + --build=$(GNU_HOST_NAME) \ > + --host=$(GNU_TARGET_NAME) \ > + --target=$(GNU_TARGET_NAME) \ > BUILD_CC='$(HOSTCC)' \ > BUILD_CFLAGS='$(HOST_CFLAGS)' \ > BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fperrad at gmail.com Tue Oct 3 05:21:20 2023 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 3 Oct 2023 07:21:20 +0200 Subject: [Buildroot] [PATCH] configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot Message-ID: <20231003052120.3594513-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/olimex_a20_olinuxino_lime2_defconfig | 4 ++-- configs/olimex_a20_olinuxino_lime_defconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig index d817e1dd1..3294748b1 100644 --- a/configs/olimex_a20_olinuxino_lime2_defconfig +++ b/configs/olimex_a20_olinuxino_lime2_defconfig @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.38" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.55" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig index 88967e70c..6b46794df 100644 --- a/configs/olimex_a20_olinuxino_lime_defconfig +++ b/configs/olimex_a20_olinuxino_lime_defconfig @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.38" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.55" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -- 2.39.2 From thomas.petazzoni at bootlin.com Tue Oct 3 05:37:03 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 03 Oct 2023 05:37:03 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-02 Message-ID: <20231003053710.0179C81FEB@smtp1.osuosl.org> Hello, Autobuild statistics for 2023-10-02 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 16 | 12 | 0 | 28 | 2023.08.x | 19 | 16 | 0 | 35 | master | 74 | 121 | 2 | 197 | Classification of failures by reason for master ----------------------------------------------- unknown | 11 openrc-0.43.3 | 10 alsa-lib-1.2.10 | 8 alsa-utils-1.2.10 | 7 spirv-tools-1.3.261.1 | 6 bird-2.0.12 | 4 elfutils-0.189 | 4 gobject-introspection-1.76.1 | 4 conmon-2.1.8 | 3 glibc-2.38-13-g92201f16cbcf... | 3 linux-6.5.5 | 3 bat-0.23.0 | 2 brltty-6.5 | 2 gcc-final-12.3.0 | 2 gnuplot-5.4.9 | 2 gobject-introspection | 2 google-breakpad-c85eb4a59b6... | 2 host-sentry-cli-2.20.3 | 2 libarchive-3.7.2 | 2 libnvme-1.5 | 2 monit-5.33.0 | 2 open-iscsi-2.1.9 | 2 powertop-2.15 | 2 wolfssl-5.6.3 | 2 xenomai-3.0.10 | 2 android-tools-4.2.2+git2013... | 1 dc3dd-7.2.641 | 1 dmraid-1.0.0.rc16-3 | 1 dtc-1.6.1 | 1 faad2-2.10.1 | 1 fmt-10.1.1 | 1 gcc-final-11.4.0 | 1 gcc-final-13.2.0 | 1 host-go-1.21.1 | 1 host-rust-1.71.1 | 1 igh-ethercat-f5dc109176400f... | 1 janus-gateway-1.1.2 | 1 leptonica-1.82.0 | 1 libdill-32d0e8b733416208e04... | 1 libglib2-2.76.1 | 1 libglvnd-1.4.0 | 1 linux-5.10.162-cip24 | 1 mariadb-10.11.4 | 1 motion-4.5.1 | 1 ncmpc-0.47 | 1 network-manager-1.42.0 | 1 pound-4.8 | 1 pv-1.6.20 | 1 python-bcrypt-4.0.1 | 1 python-cryptography-39.0.2 | 1 reproc-14.2.4 | 1 rwmem-c8291705c82bb0686be9a... | 1 squid-6.2 | 1 tar-1.35 | 1 volk-3.0.0 | 1 xtables-addons-3.22 | 1 zxing-cpp-2.1.0 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/24a2ac2b3cad160b413928f496d7345af2ed4096 | aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/d2a653f43a597e522a41a3365cb54ebca7301fbc | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a663abfc7c68674c65f22a53b7765c7e17073e8f | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a4bc61f3d271e217a8747a479018bc1059b7025 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bb53dd5e8931f88a14603191e96e1e954be13a9a | aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/0f02daed122aa793f73780fd9cf13437efb9d24e | sh4a | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6b8c5e5b447299f52d9bece52b1ad5abe7307026 | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/41a0b1b4aa50edd9414441430afe2c6eb6116259 | sh4a | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3934e2b750bb1af0e6c35f7f7e7116825f157112 | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/9d0ac33e926b144d1aa76164aa0317e70ce34afa | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/a0fa5bd395c424acd62d9d9b18e073e80a994dab | sh4aeb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6c5bee263b1524231019d1039aab01b3712992bf | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/d099d2c9bd356ecf068e2e656249bd63a29b8c3c | microblazeel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/53bdf92a16322068d88cfcc0c0001d97ccfb74cb | mips64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/4d6acc8682bc68d5735036d26cd4774ab1f47e6b | mips64 | android-tools-4.2.2+git2013... | NOK | http://autobuild.buildroot.net/results/afc154c1861824abd7e8248695ab81f4e2393c2f | mipsel | bat-0.23.0 | NOK | http://autobuild.buildroot.net/results/8d24fd5747d270817d352b389cf597b5bf28d8d7 | armeb | bat-0.23.0 | NOK | http://autobuild.buildroot.net/results/595752d12541aabfca9d7c29731f890935e23b13 | aarch64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/014a5caa82412d144f417c61b5e3e19fa4eb93f1 | arc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/76b86eb7c4ede7206c877826f2e9a4ebc8ea6b77 | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c7c1a6bb08c89a037a35f295fab31df7989d6fb3 | arceb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/7b497164095d86a1d4b8dbfb9237fbb8d6dbfc4f | nios2 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/8781bce65e549c3fb7d88b6b70596b0bff1e7594 | nios2 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/2922513fe9e6d759a6a2607648bb892fd3d12163 | sparc | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/f814744bfd6bf9339334c3639d55d739ebc783b9 | arm | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/8639d09fac5aa9ebcb7d607aa6524642fd727c4d | arm | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/1417bbbd18d214dc1bda6705b685bdd605131cca | or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/2f6929f8f61972cbca9717a4eca07a2fd3a809a6 | ORPH powerpc64le | dmraid-1.0.0.rc16-3 | NOK | http://autobuild.buildroot.net/results/7b21b9e9e1a1c4c2e4b564ed006c2459de9ca6ae | ORPH arm | dtc-1.6.1 | NOK | http://autobuild.buildroot.net/results/6788d86c10d551b3d617e33c85083b817eb5d0b2 | nios2 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/32c0ee258d82113cd4a33b4fd58c75877746fb7c | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/9cace3042284b126c96820333a85af7583e396c5 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/f6587e215928952795af838cf0ad2f5b7060ef8d | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/ddc071671c0117ed922b518921335df1d2431820 | ORPH sh4aeb | faad2-2.10.1 | NOK | http://autobuild.buildroot.net/results/357077d53aa0d2fc863e46e7cb1f9ecff8bb86ae | mipsel | fmt-10.1.1 | NOK | http://autobuild.buildroot.net/results/4445452c641d224cb70a232445810e05d3612a0a | m68k | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/fc088b487e9cfabae20d7750a509810009ebbda2 | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/0b9abe6829575e0d9d51fe7d289a85c0c68b8f79 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/a00d2afe37065c2cd796c0cfce7f56ebdffb8894 | armeb | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/c013b957538721513596737da45413a4514d8764 | arceb | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/1106e9351544e55315418f15adde76fe87b66cf3 | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/21fa82cf5dc88b750e0a5c39b1f2d15bdfb887ce | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/5f34de9371494d3504e9a8c50dc35bbfe9fd092b | arm | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/6f5259cd0939f4fcd0ae8c5d9b6c92dcf791b264 | powerpc64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/adce9fb06c68e468f46a671fe2014ce6a73845e9 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/9482d9328685f25bef00ca2cdc96590cce0ec209 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/9a4e8b7db4813486498eaadfcf0fa10b69391434 | nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/9fcf78fd360dcfe5900b971f60785facaddcd8a3 | ORPH s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8d764c69b5431ba23ba786da4881fb03d2bdb474 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/79998f0c4378409a6cf83962d2442c497453b87c | ORPH nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8f3fd45d133146ea6eaa1d46834bc2c4b4232109 | ORPH mips | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/dc44675387265076e4c53524c884e2a912c6869d | i686 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/c8f35d097e86a0753e671826c2d59b308d59bd97 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/2cd2e76dd8a0c54aeccf0dda18befda0b776b1c2 | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/5c0d0cc2618c592dc8b73224c7c00214c9a4eacc | powerpc | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/83cdcaf659e0b50c0947744e99f5f654b8edab70 | xtensa | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/bf44979243dc977449a803169d223e5861beaba2 | i686 | igh-ethercat-f5dc109176400f... | NOK | http://autobuild.buildroot.net/results/aac17535b9c466dc0158fd7756ef26f692580d11 | mips | janus-gateway-1.1.2 | NOK | http://autobuild.buildroot.net/results/a06206c52137a87257791d1755f12b19604ca15c | sh4 | leptonica-1.82.0 | NOK | http://autobuild.buildroot.net/results/85aa6420cebc2f774e14f6a9839ba6355d92265a | sh4eb | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/055ca94ecd7675c3dcda6f46c87d8228dff614ff | aarch64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/128235efb4931a42e83b05858246ac08a3960fc9 | riscv32 | libdill-32d0e8b733416208e04... | NOK | http://autobuild.buildroot.net/results/cca34f3246f238bbfefc7999bdf709c2b41c3d0a | arc | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/0fa80027f8f5b8df92f06a2f9c1f9c793ed48941 | microblazeel | libglvnd-1.4.0 | NOK | http://autobuild.buildroot.net/results/697e2de11b6e8f47ef18d7cef8b7ae479bc6e91f | ORPH aarch64_be | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/3cb05b4939eb7d1ce0460088c365402ffcd6b13b | mips64el | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/b5359817ae62f3a1c1206c20747e81d9d4e3e54d | mips64 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/d1919685340a3d0c437a8ddd4ff68a1759fb6a87 | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/19bfe32a104c1e77cc8ff605a49ebfd6475703c3 | ORPH microblazeel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/729623d8e26b9ee6424b979bb560df349c45ffcc | ORPH i686 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/547dc3b3eedadd19d2324fbbb41d922515a67006 | ORPH mipsel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/a76fa1c981acb7c1dee591fd4440d4243424f6ef | ORPH microblaze | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/2b989ba012c1eea1a81a3810acf0a38ad312c4e1 | powerpc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/5402f59476f6d4f6dbe2fbc21402b274d4800d57 | nios2 | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/ff9e61b8d801cabcc599efb99f2cde762b3631ac | or1k | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/46947abf859b3735a4e8c77d5b67c10809a9971f | powerpc64le | network-manager-1.42.0 | NOK | http://autobuild.buildroot.net/results/361e4f3f3a6ed5e43704fb75b89474cd2ef8a8ef | ORPH x86_64 | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/582a8884e52df47536b7536e697c12c057bbc686 | aarch64_be | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/b3e79906db04cfd5b275fbc02834297c076e1899 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/af787327358e9c180c3ab967f64426b8b1a10dd4 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7591af3b537301f69afb3d429fc45567b71455da | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/61e5f9b1eacf79efeac117100c785117ac41abc8 | sh4eb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cdf2448fe9c8c3a2b52d9083a9f7d74e1f8f1514 | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/0a337eec99c4a5d56d882011cab385545f39d65c | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/fab41ce1ed7b793fa753d024f7d608846aa61d65 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6beae5aa1f196acd695e404283b4260e016ea87b | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a9d148aa7939a91b98715ffe29c045ec06b16648 | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3dbee9b3bf533e75564f0da4aeb8fdf4b9a89585 | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ec2f4628de5868bf671787fca13c2a6cf842c819 | powerpc64le | pound-4.8 | NOK | http://autobuild.buildroot.net/results/973aa40406e8b800a27517ed60c5427d6b243d1b | ORPH nios2 | powertop-2.15 | NOK | http://autobuild.buildroot.net/results/b4e057c4ef4309332be8c7d3532c6d7883efb6ba | powerpc64le | powertop-2.15 | NOK | http://autobuild.buildroot.net/results/cf39e3e3681e3ea4c43e6a0ca0c1d892b4f31d2b | armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/0396bb9f55ae760e2dfb0b23504dd196c0df8a13 | ORPH mipsel | python-bcrypt-4.0.1 | NOK | http://autobuild.buildroot.net/results/28d21448197758f01a719643706e84b66d0e27bc | mipsel | python-cryptography-39.0.2 | NOK | http://autobuild.buildroot.net/results/3d799d7e009e1face77d95ef359746742039a0fa | riscv64 | reproc-14.2.4 | NOK | http://autobuild.buildroot.net/results/5ad039f03c958c5b0e007d3d9ae985c561ac77b9 | s390x | rwmem-c8291705c82bb0686be9a... | NOK | http://autobuild.buildroot.net/results/a3630a00145a1e9f463a030f02a1345235c77e13 | ORPH mips64el | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/dc5c9e7be63f43e4584f8fce47fb23bc8c24e3c9 | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5178a7a56ceda955dad045622ea841504a9aa900 | ORPH armeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/cbd381b0d2a7c2d56a51725437cdaa1b7ba7d7a2 | ORPH arceb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/aff5b968342bf05f036c8e1e557c404060345d30 | ORPH microblazeel | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/ac5dff3e9ff4acd542fb753731a76eadfb18f767 | ORPH i686 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/6ae10c106e96a206a462c6f228f1aa51edbce137 | ORPH nios2 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/5d658cc58fda2768611cf9abb3faff8b83aaf75a | ORPH mips64el | tar-1.35 | NOK | http://autobuild.buildroot.net/results/6826441ee994efd75a16c3b51d691ba64d951c06 | ORPH x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/f5df3ae8d83c55b536e37f3482c3113aea2c0c6f | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/df7263c1eb47bcd3199d819e85dc784c100983a4 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/6814a808d969aa00962b6206fd0012d2e25c6d06 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/ae058ba92129e453c3e5d8f7c02c1b0a6858e96b | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/264bf9ec060e9a3d4c4d8b9a849a696f30869b64 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/5d6e0da13f1c8084b180baab3958c914b2d614b7 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/c989fc58eab51ae455bb46e874d58d9c086c7a0e | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/475ad58563d1f0f0bcd4c26464c11e80999893bb | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/eea900741febdb3a0a3c674642727855e64c1069 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/ee535286fd925c57816fc9f96e6bb40d6fed32cf | arm | unknown | NOK | http://autobuild.buildroot.net/results/11fa2f74a5a9dcfebf9ed3df4318324af84961d8 | powerpc | volk-3.0.0 | NOK | http://autobuild.buildroot.net/results/ace89dc6e3bcf3833dd2c70851d1f1b66b7f6636 | microblazeel | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/6393fb13b7a5625ac93d1690bca0d86523b7b377 | powerpc | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/6de913935cff60992456b53baf13a4af3ff07118 | nios2 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/59ea3849163f3c415cfb7d85099f6494c8f93fd1 | sh4a | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/218227e5c427d81ca9aaa5d8b32b50e7b25d249d | arm | xtables-addons-3.22 | NOK | http://autobuild.buildroot.net/results/df68ea0fab258e4f3a8c5bdaa3dfd5f8613ffcdd | ORPH arm | zxing-cpp-2.1.0 | NOK | http://autobuild.buildroot.net/results/13b104287040cca4ec56f410cf90103f95e500ab | Classification of failures by reason for 2023.02.x -------------------------------------------------- unknown | 2 elfutils-0.186 | 1 fontconfig-2.13.1 | 1 gobject-introspection-1.72.0 | 1 host-rust-1.67.1 | 1 libdill-32d0e8b733416208e04... | 1 linux-5.10.162-cip24 | 1 linux-6.1.55 | 1 rocksdb-6.20.3 | 1 valgrind-3.19.0 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/516f2998641c061f87ec92b844b80e2a2b8b5e84 | ORPH riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/9ec29983a0ff5aaa62fa710f77bb655c3f90fe98 | ORPH powerpc64le | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/a6afa3f1c330a4b1916d24420c357d9183535ade | ORPH sparc64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/d94f4b08c35a33e8f9b09613fe6743882d294b9a | riscv32 | libdill-32d0e8b733416208e04... | NOK | http://autobuild.buildroot.net/results/4596e254f538e04249e250635f2563572a7391d7 | mips | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/6f66235afb766c8211dc707ad385344d457bd6b1 | ORPH mips64 | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/41b47a65ec7ddc12ac4dc2b2f8e8dcee20c6a895 | ORPH powerpc64 | rocksdb-6.20.3 | NOK | http://autobuild.buildroot.net/results/7a3353fd478f3b9eac8c495833530be96fe638fc | arc | unknown | NOK | http://autobuild.buildroot.net/results/4ebd1c9c114e1f300997571ecb481f557d82dbf3 | i586 | unknown | NOK | http://autobuild.buildroot.net/results/e13c34a9535e3649adc705c1101fecbf09b73d77 | mipsel | valgrind-3.19.0 | NOK | http://autobuild.buildroot.net/results/4b7c407ee9f686d1082e55f9631455033907ddb4 | ORPH mips64el | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/0e07a4dc7a1a59d000229c2b72ce185c2a8c1db4 | Classification of failures by reason for 2023.08.x -------------------------------------------------- host-sentry-cli-2.8.0 | 2 unknown | 2 batman-adv-2022.3 | 1 conmon-2.1.8 | 1 coreutils-9.3 | 1 elfutils-0.189 | 1 gobject-introspection-1.76.1 | 1 host-go-1.20.8 | 1 linux-6.4.16 | 1 ltp-testsuite-20230127 | 1 perl-5.36.1 | 1 php-8.2.11 | 1 python-cryptography-39.0.2 | 1 python-stack-data-0.6.2 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- i686 | batman-adv-2022.3 | NOK | http://autobuild.buildroot.net/results/c753ab70abe4289df975bba11f0fea5abf8a87d4 | aarch64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/717a696904546759d5a4c368d5442a1fac73621c | arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/b0d6b24d1fcd09e9b5461a67f94d6df6f24b6624 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/a68a9bbfb23158eda5ba7419d819a43e38fdc342 | ORPH mipsel | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/48b594637ffb613b8a3c3a75531ecb1fcc60f92d | ORPH mips64 | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/6d95870c1d02fc5bba466535bfcf85fa94eec0a9 | xtensa | host-sentry-cli-2.8.0 | NOK | http://autobuild.buildroot.net/results/265f324e3ab9254d47aca5be4a3a3a1f3ce6c56b | mips64el | host-sentry-cli-2.8.0 | NOK | http://autobuild.buildroot.net/results/b5da017faf209d5b726c380d917b766ee2eb470e | mips | linux-6.4.16 | NOK | http://autobuild.buildroot.net/results/8dc4546ec2f79bd6bd37457adc17279d7f88a5e3 | ORPH or1k | ltp-testsuite-20230127 | NOK | http://autobuild.buildroot.net/results/c406df59d8c6225d77ce7a80d48d8e0386683f43 | arm | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/b9268857d905084eda9bd17e5efd0c69eb07e075 | or1k | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/40232d115edffad1da8b781f72004851fa5027ad | mips | python-cryptography-39.0.2 | NOK | http://autobuild.buildroot.net/results/556476521a89858f91892e65a7ce859efd4c6e01 | arm | python-stack-data-0.6.2 | NOK | http://autobuild.buildroot.net/results/f3aecce82feee2f5aa28e81439e433584ee57a8b | s390x | unknown | NOK | http://autobuild.buildroot.net/results/6d928640ed5583f491c4a75bea51bcee0f90d2d0 | m68k | unknown | NOK | http://autobuild.buildroot.net/results/1cc9b4fa681d067e105540cd0ee0efe9e71cae8c | Gitlab CI results for 2023-10-02 ================================ Detail of runtime-test failures for master ------------------------------------------ runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestIPythonPy3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302375 | ORPH TestLuaLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302396 | ORPH TestLuaLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302413 | ORPH TestLuajitLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302397 | ORPH TestLuajitLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302416 | ORPH TestOla | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302575 | ORPH TestPolkitInitd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302661 | ORPH TestPolkitSystemd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302665 | ORPH TestPythonPahoMQTT | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302843 | ORPH TestPythonPy3Construct | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302728 | ORPH TestPythonPy3Dicttoxml2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302760 | ORPH TestPythonPy3Dtschema | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302774 | ORPH TestPythonPy3Hkdf | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302816 | ORPH TestPythonPy3Mako | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302828 | ORPH TestPythonPy3MakoExt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302832 | ORPH TestPythonPy3Passlib | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302848 | ORPH TestPythonPy3Pynacl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302857 | ORPH TestPythonPy3Pysmb | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302860 | ORPH TestPythonPy3Pyyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302864 | ORPH TestPythonPy3RSA | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302870 | ORPH TestPythonPy3SciPy | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302877 | ORPH TestPythonPy3Spake2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302891 | ORPH TestStressNG | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302928 | ORPH TestZfsGlibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302966 | ORPH TestZfsMusl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302971 | ORPH TestZfsUclibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302977 | ORPH -- http://autobuild.buildroot.net From bernd at kuhls.net Tue Oct 3 07:15:36 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 09:15:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.1 Message-ID: <20231003071536.297478-1-bernd@kuhls.net> Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: https://exim.org/static/doc/security/CVE-2023-zdi.txt Signed-off-by: Bernd Kuhls --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 2336aaa5c6..6cdeea0614 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 299a56927b2eb3477daafd3c5bda02bc67e5c4e5898a7aeaf2740875278cf1a3 exim-4.96.tar.xz +sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 6b863661465a0b9897c1b71875c5196a1903cf560dd85de45b08242b9731edb2bc10eb56945d62e477e5d15cc7a8d493915bff2ca81689673a8091c66f62c89e exim-4.96.tar.xz +sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index b84a51d6de..f5695d048d 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96 +EXIM_VERSION = 4.96.1 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ -- 2.39.2 From luca.ceresoli at bootlin.com Tue Oct 3 07:15:39 2023 From: luca.ceresoli at bootlin.com (Luca Ceresoli) Date: Tue, 3 Oct 2023 09:15:39 +0200 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> <877co67fgz.fsf@48ers.dk> Message-ID: <20231003091539.5e26d558@booty> Hi Neal, Peter, On Sun, 1 Oct 2023 16:11:23 +0000 "Frager, Neal" wrote: > Hello Peter, > > >>> Is this ok for both of you? > >> > >> I'm OK with the whole approach, except for the sentence "I do not >> believe there is currently any organized effort to upstream any of >> these patches"... which is probably already clear to the recipients >> of this message, and thus is not going to be solved in this thread, >> however I just want to be sure my position is clear. I'd also like to >> stress that I appreciate a lot the work you are doing to properly >> support the pmufw in Buildroot. Thanks! > >> > >> Luca > > > Your position is very clear. And I can assure you that both Ibai and I agree with it. > > > It would be much better if all of these binutils and gcc patches for > microblaze go upstream, and both Ibai and I have pushed for it > internally at AMD / Xilinx. > > > The only thing I can say is that change is always possible. > > Yesterday, we could not build a zynqmp pmufw, versal plm or versal > psmfw in buildroot. Today, we have submitted a solution to change > that. > > > Tomorrow (figurative meaning the future), we hope to get all these > binutils and gcc patches upstream, so the upstream toolchain matches > the AMD Xilinx distributed toolchain. > > > One step at a time. > > > Sure! Sorry, I am somewhat late to the review game here. I wonder how this fits with Luca's zynqmp-pmufw-builder? > > From my view, we can continue maintaining Luca's zynqmp-pmufw-builder in parallel. Buildroot will still offer the option to accept a pre-built pmufw binary without needing to build a microblaze toolchain, so if users prefer to build the pmufw outside of buildroot (to have a faster buildroot build perhaps), this capability will still be available. As Neal wrote, if/when Buildroot will be able to build a pmufw on its own (with the proposed approach, or a downloaded toolchain, or both), zynqmp-pmufw-builder can continue existing even though the use cases for it will be reduced. I have no plan to stop maintaining it for the foreseeable future. > > E.G. today the setup is that the pmufw is built outside Buildroot and we just point the u-boot package to where it can fetch the prebuilt firmware binary - This is nice in the sense that it is fast and simple, but makes is somewhat annoying to make modifications to the firmware. > > > This series instead goes to the other extreme, E.G. we build the entire microblaze toolchain from scratch and then use it to build the firmware and use it in the u-boot package - This is nice because it is all in Buildroot and we have it all under control, but also brings quite some build time overhead for building the toolchain before building the > (small) toolchain. You can naturally "solve" it by using two defconfigs, E.G. one that builds the pmufw and another that uses the prebuilt one, but it isn't very handy either. I think the approach taken here by Neal and Ibai is valuable, especially as it would allow Buildroot defconfigs to be self-standing. Additionally it is already proving useful as it prompted "the community" (mostly Neal -- thanks about that) to upstream patches needed to support Microblaze in binutils and gcc, that are currently downstream. > > Would an in between option not be more interesting, E.G. use (or > download) a prebuilt microblaze toolchain and use that to build the firmware? That would still give the flexibility to easily tweak the firmware, but not the overhead of building the toolchain every time? > > > I guess the problems with that are what to do about the meta-xilinx patches and where/who wants to host a prebuilt one? > > This is a good point. As for the meta-xilinx patches, Ibai and I have started going through them and have even started upstreaming a few. The majority of the meta-xilinx patches are actually for enabling 64-bit microblaze support, which is not available in the upstream gnu binutils or gcc. Since we do not need 64-bit microblaze for the zynqmp pmufw or the versal plm and psmfw applications, we can easily skip these patches. > > Our current objective is to get all microblaze 32-bit bug fix and feature support patches (such as the barrel shift instructions used by the pmufw) upstreamed. Since this appears to be a small subset of the overall meta-xilinx patches, we hope to be able to enable the use of the upstream gnu binutils and gcc, so that the meta-xilinx patches will no longer be needed for our use case of building the zynqmp pmufw, versal plm and versal psmfw applications. > > However, in order to achieve what you are asking for, we would still need someone to host a pre-built microblaze compiler somewhere, if we would want to go this route. At the moment, it is not in the AMD Xilinx plan to host the toolchains somewhere outside of a Petalinux or Vitis download. > > If the upstream toolchain included all the necessary meta-xilinx patches, could bootlin potentially host a pre-built toolchain somewhere? I fyou are thinking about toolchains.bootlin.com, I am not the maintainer of those toolchains but I think the idea is to only have Linux toolchains there, not bare metal ones, thus newlib is not supported. Also I'm pretty sure downstream feature patches are absolutely not welcome there. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From bernd at kuhls.net Tue Oct 3 07:17:41 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 09:17:41 +0200 Subject: [Buildroot] [PATCH 1/2] package/kodi-pvr-hts: bump version to 20.6.3-Nexus Message-ID: <20231003071742.300900-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-hts/kodi-pvr-hts.hash | 2 +- package/kodi-pvr-hts/kodi-pvr-hts.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-hts/kodi-pvr-hts.hash b/package/kodi-pvr-hts/kodi-pvr-hts.hash index 7b55eb88fd..c9fe1cfe6a 100644 --- a/package/kodi-pvr-hts/kodi-pvr-hts.hash +++ b/package/kodi-pvr-hts/kodi-pvr-hts.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 e77bd87f1f4d1abc06e32d0347a0bb635bc129bec43a07864cb8a9e6b0e4d374 kodi-pvr-hts-20.6.2-Nexus.tar.gz +sha256 8febdacb795eb724456f88af5c55a6e0a5393447f673b2be72d1ca9276479cdd kodi-pvr-hts-20.6.3-Nexus.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-hts/kodi-pvr-hts.mk b/package/kodi-pvr-hts/kodi-pvr-hts.mk index d32ce87388..04de82dc64 100644 --- a/package/kodi-pvr-hts/kodi-pvr-hts.mk +++ b/package/kodi-pvr-hts/kodi-pvr-hts.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_HTS_VERSION = 20.6.2-Nexus +KODI_PVR_HTS_VERSION = 20.6.3-Nexus KODI_PVR_HTS_SITE = $(call github,kodi-pvr,pvr.hts,$(KODI_PVR_HTS_VERSION)) KODI_PVR_HTS_LICENSE = GPL-2.0+ KODI_PVR_HTS_LICENSE_FILES = LICENSE.md -- 2.39.2 From bernd at kuhls.net Tue Oct 3 07:17:42 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 09:17:42 +0200 Subject: [Buildroot] [PATCH 2/2] package/kodi-pvr-waipu: bump version to 20.10.1-Nexus In-Reply-To: <20231003071742.300900-1-bernd@kuhls.net> References: <20231003071742.300900-1-bernd@kuhls.net> Message-ID: <20231003071742.300900-2-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index d025beaa3b..37e4ca95e2 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 740f96e68c6c33cba18e482f90ff377e412f1bc2bb09313d342f783794da792f kodi-pvr-waipu-20.10.0-Nexus.tar.gz +sha256 8f55056838798c6dc39ce1cd611553b65150f6d628e9b3d201d472e93aecf289 kodi-pvr-waipu-20.10.1-Nexus.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 53e3f716d7..e7ec7d6555 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 20.10.0-Nexus +KODI_PVR_WAIPU_VERSION = 20.10.1-Nexus KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt -- 2.39.2 From bernd at kuhls.net Tue Oct 3 07:33:03 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 09:33:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-firmware: bump version to 20230919 Message-ID: <20231003073303.305988-1-bernd@kuhls.net> Updated license hash due to various commits: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/WHENCE Signed-off-by: Bernd Kuhls --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- package/kodi/kodi.hash | 8 ++++---- package/kodi/kodi.mk | 2 +- package/linux-firmware/linux-firmware.hash | 4 ++-- package/linux-firmware/linux-firmware.mk | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index 4e2c72ec65..a97e340733 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 c39923af8e3473cd80f7daedfcc1790d63111b55f1786606a843f89bf88b84d6 kodi-pvr-waipu-21.4.0-Omega.tar.gz +sha256 d336d154ee3e571d1b990dd7077587602595bedcc78ccb98ac6ed420a0fb3b96 kodi-pvr-waipu-21.4.1-Omega.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 4fdc3dedd1..8b194e45d4 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 21.4.0-Omega +KODI_PVR_WAIPU_VERSION = 21.4.1-Omega KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt diff --git a/package/kodi/kodi.hash b/package/kodi/kodi.hash index e5a47f9036..7b08344456 100644 --- a/package/kodi/kodi.hash +++ b/package/kodi/kodi.hash @@ -1,7 +1,7 @@ # Locally computed sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz -sha256 d03792719f61a702da8b33ecb145f469ac0a7ba4de7ee8fe475e4a120449eba8 kodi-e7a7395af00cb3f78fe503ae19c921bad0b31a7d.tar.gz -sha256 f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e kodi-libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz -sha256 584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc kodi-libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz -sha256 719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62 kodi-libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz sha256 9d2396ef3e091d3b82bc84143e070700412984e8589513570f54e0675d1e8851 LICENSE.md diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index 43bda54f0b..4e998635e7 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -8,7 +8,7 @@ # and kodi-texturepacker KODI_VERSION_MAJOR = 21.0a3 KODI_VERSION_NAME = Omega -KODI_VERSION = e7a7395af00cb3f78fe503ae19c921bad0b31a7d +KODI_VERSION = 21.0a3-Omega KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION)) KODI_LICENSE = GPL-2.0 KODI_LICENSE_FILES = LICENSE.md diff --git a/package/linux-firmware/linux-firmware.hash b/package/linux-firmware/linux-firmware.hash index 31bbfddfaa..d33215ecd1 100644 --- a/package/linux-firmware/linux-firmware.hash +++ b/package/linux-firmware/linux-firmware.hash @@ -1,5 +1,5 @@ # From https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/sha256sums.asc -sha256 88d46c543847ee3b03404d4941d91c92974690ee1f6fdcbee9cef3e5f97db688 linux-firmware-20230804.tar.xz +sha256 97fada0d02bdafc4e017a4dcc456e7fa48bc8daf2ddf75161f39a92e38f084ad linux-firmware-20230919.tar.xz # Hash for license files sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis @@ -36,6 +36,6 @@ sha256 8542aeabf2761935122d693561e16766ce1bcc2b0d003204f9040b7d6d929f2e LICENS sha256 be904cd28cb292b80cdb6cf412ab0d9159d431671e987ad433c1f62e0988a9bc LICENSE.qcom sha256 fc6223d4bfe9f2f9e2eddc44b9fe5721d0caf49f01cb08d602906add686d8c6f LICENSE.radeon sha256 2bdd2e716f05d9737d3f9a20f9a3a3c0caee0e866100ddb0673f1178e42f92b9 LICENSE.sdma_firmware -sha256 0f87f8f67de39828d8e59c69369f850e0a80de638795e22ddfdd1f7f31cdf889 WHENCE +sha256 960bbc08cdd5f505b05645947360461aa5a62fe56c97f5ffbae064ca33a922ec WHENCE sha256 fa43e1b9a13b341a07adca9dbe73d0f9072d7966fdfe811c01f0dd2872d7309a qcom/NOTICE.txt sha256 bef9c828e84f21e7835b4de7daf954a327e1ff777871b58e116039b684c0d604 LICENCE.e100 diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 0cd1f30c16..6f15ff7400 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -4,7 +4,7 @@ # ################################################################################ -LINUX_FIRMWARE_VERSION = 20230804 +LINUX_FIRMWARE_VERSION = 20230919 LINUX_FIRMWARE_SOURCE = linux-firmware-$(LINUX_FIRMWARE_VERSION).tar.xz LINUX_FIRMWARE_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/firmware LINUX_FIRMWARE_INSTALL_IMAGES = YES -- 2.39.2 From baruch at tkos.co.il Tue Oct 3 07:58:39 2023 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 03 Oct 2023 10:58:39 +0300 Subject: [Buildroot] [PATCH 1/1] package/linux-firmware: bump version to 20230919 In-Reply-To: <20231003073303.305988-1-bernd@kuhls.net> References: <20231003073303.305988-1-bernd@kuhls.net> Message-ID: <87edicdtmc.fsf@tarshish> Hi Bernd, On Tue, Oct 03 2023, Bernd Kuhls wrote: > Updated license hash due to various commits: > https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/WHENCE > > Signed-off-by: Bernd Kuhls > --- > package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- > package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- > package/kodi/kodi.hash | 8 ++++---- > package/kodi/kodi.mk | 2 +- These changes look unrelated. baruch > package/linux-firmware/linux-firmware.hash | 4 ++-- > package/linux-firmware/linux-firmware.mk | 2 +- > 6 files changed, 10 insertions(+), 10 deletions(-) > > diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > index 4e2c72ec65..a97e340733 100644 > --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 c39923af8e3473cd80f7daedfcc1790d63111b55f1786606a843f89bf88b84d6 kodi-pvr-waipu-21.4.0-Omega.tar.gz > +sha256 d336d154ee3e571d1b990dd7077587602595bedcc78ccb98ac6ed420a0fb3b96 kodi-pvr-waipu-21.4.1-Omega.tar.gz > sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt > diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > index 4fdc3dedd1..8b194e45d4 100644 > --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_PVR_WAIPU_VERSION = 21.4.0-Omega > +KODI_PVR_WAIPU_VERSION = 21.4.1-Omega > KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) > KODI_PVR_WAIPU_LICENSE = GPL-2.0+ > KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt > diff --git a/package/kodi/kodi.hash b/package/kodi/kodi.hash > index e5a47f9036..7b08344456 100644 > --- a/package/kodi/kodi.hash > +++ b/package/kodi/kodi.hash > @@ -1,7 +1,7 @@ > # Locally computed > sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > -sha256 d03792719f61a702da8b33ecb145f469ac0a7ba4de7ee8fe475e4a120449eba8 > kodi-e7a7395af00cb3f78fe503ae19c921bad0b31a7d.tar.gz > -sha256 f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e > kodi-libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz > -sha256 584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc > kodi-libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz > -sha256 719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62 > kodi-libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz > +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > sha256 9d2396ef3e091d3b82bc84143e070700412984e8589513570f54e0675d1e8851 LICENSE.md > diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk > index 43bda54f0b..4e998635e7 100644 > --- a/package/kodi/kodi.mk > +++ b/package/kodi/kodi.mk > @@ -8,7 +8,7 @@ > # and kodi-texturepacker > KODI_VERSION_MAJOR = 21.0a3 > KODI_VERSION_NAME = Omega > -KODI_VERSION = e7a7395af00cb3f78fe503ae19c921bad0b31a7d > +KODI_VERSION = 21.0a3-Omega > KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION)) > KODI_LICENSE = GPL-2.0 > KODI_LICENSE_FILES = LICENSE.md > diff --git a/package/linux-firmware/linux-firmware.hash b/package/linux-firmware/linux-firmware.hash > index 31bbfddfaa..d33215ecd1 100644 > --- a/package/linux-firmware/linux-firmware.hash > +++ b/package/linux-firmware/linux-firmware.hash > @@ -1,5 +1,5 @@ > # From https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/sha256sums.asc > -sha256 88d46c543847ee3b03404d4941d91c92974690ee1f6fdcbee9cef3e5f97db688 linux-firmware-20230804.tar.xz > +sha256 97fada0d02bdafc4e017a4dcc456e7fa48bc8daf2ddf75161f39a92e38f084ad linux-firmware-20230919.tar.xz > > # Hash for license files > sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis > @@ -36,6 +36,6 @@ sha256 8542aeabf2761935122d693561e16766ce1bcc2b0d003204f9040b7d6d929f2e LICENS > sha256 be904cd28cb292b80cdb6cf412ab0d9159d431671e987ad433c1f62e0988a9bc LICENSE.qcom > sha256 fc6223d4bfe9f2f9e2eddc44b9fe5721d0caf49f01cb08d602906add686d8c6f LICENSE.radeon > sha256 2bdd2e716f05d9737d3f9a20f9a3a3c0caee0e866100ddb0673f1178e42f92b9 LICENSE.sdma_firmware > -sha256 0f87f8f67de39828d8e59c69369f850e0a80de638795e22ddfdd1f7f31cdf889 WHENCE > +sha256 960bbc08cdd5f505b05645947360461aa5a62fe56c97f5ffbae064ca33a922ec WHENCE > sha256 fa43e1b9a13b341a07adca9dbe73d0f9072d7966fdfe811c01f0dd2872d7309a qcom/NOTICE.txt > sha256 bef9c828e84f21e7835b4de7daf954a327e1ff777871b58e116039b684c0d604 LICENCE.e100 > diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk > index 0cd1f30c16..6f15ff7400 100644 > --- a/package/linux-firmware/linux-firmware.mk > +++ b/package/linux-firmware/linux-firmware.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LINUX_FIRMWARE_VERSION = 20230804 > +LINUX_FIRMWARE_VERSION = 20230919 > LINUX_FIRMWARE_SOURCE = linux-firmware-$(LINUX_FIRMWARE_VERSION).tar.xz > LINUX_FIRMWARE_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/firmware > LINUX_FIRMWARE_INSTALL_IMAGES = YES -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From bernd at kuhls.net Tue Oct 3 09:15:19 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 11:15:19 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/linux-firmware: bump version to 20230919 Message-ID: <20231003091519.4709-1-bernd@kuhls.net> Updated license hash due to various commits: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/WHENCE Signed-off-by: Bernd Kuhls --- v2: removed unrelated parts (Baruch) package/linux-firmware/linux-firmware.hash | 4 ++-- package/linux-firmware/linux-firmware.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/linux-firmware/linux-firmware.hash b/package/linux-firmware/linux-firmware.hash index 31bbfddfaa..d33215ecd1 100644 --- a/package/linux-firmware/linux-firmware.hash +++ b/package/linux-firmware/linux-firmware.hash @@ -1,5 +1,5 @@ # From https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/sha256sums.asc -sha256 88d46c543847ee3b03404d4941d91c92974690ee1f6fdcbee9cef3e5f97db688 linux-firmware-20230804.tar.xz +sha256 97fada0d02bdafc4e017a4dcc456e7fa48bc8daf2ddf75161f39a92e38f084ad linux-firmware-20230919.tar.xz # Hash for license files sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis @@ -36,6 +36,6 @@ sha256 8542aeabf2761935122d693561e16766ce1bcc2b0d003204f9040b7d6d929f2e LICENS sha256 be904cd28cb292b80cdb6cf412ab0d9159d431671e987ad433c1f62e0988a9bc LICENSE.qcom sha256 fc6223d4bfe9f2f9e2eddc44b9fe5721d0caf49f01cb08d602906add686d8c6f LICENSE.radeon sha256 2bdd2e716f05d9737d3f9a20f9a3a3c0caee0e866100ddb0673f1178e42f92b9 LICENSE.sdma_firmware -sha256 0f87f8f67de39828d8e59c69369f850e0a80de638795e22ddfdd1f7f31cdf889 WHENCE +sha256 960bbc08cdd5f505b05645947360461aa5a62fe56c97f5ffbae064ca33a922ec WHENCE sha256 fa43e1b9a13b341a07adca9dbe73d0f9072d7966fdfe811c01f0dd2872d7309a qcom/NOTICE.txt sha256 bef9c828e84f21e7835b4de7daf954a327e1ff777871b58e116039b684c0d604 LICENCE.e100 diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 0cd1f30c16..6f15ff7400 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -4,7 +4,7 @@ # ################################################################################ -LINUX_FIRMWARE_VERSION = 20230804 +LINUX_FIRMWARE_VERSION = 20230919 LINUX_FIRMWARE_SOURCE = linux-firmware-$(LINUX_FIRMWARE_VERSION).tar.xz LINUX_FIRMWARE_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/firmware LINUX_FIRMWARE_INSTALL_IMAGES = YES -- 2.39.2 From julien.boibessot at armadeus.com Tue Oct 3 09:36:45 2023 From: julien.boibessot at armadeus.com (julien.boibessot at armadeus.com) Date: Tue, 03 Oct 2023 11:36:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltris: bump to version 1.2.7 In-Reply-To: References: <20231002135147.2707988-1-julien.boibessot@armadeus.com> Message-ID: <4b75128a7a53e2fed27a1799f97a7828@armadeus.com> Hello Fabrice, Thanks for the feedback ! Le 2023-10-02 15:55, Fabrice Fontaine a ?crit : > Hello Julien, > > Le lun. 2 oct. 2023 ? 15:52, Julien BOIBESSOT > a ?crit : > >> Latest release. Asked by autobuild.buildroot.net. >> Remove integrated fix. > > You forgot to update .checkpackageignore > Oups, I've missed that feature in BR. Am I supposed to remove file entry in this file and that's it ? Best regards, Julien >> Signed-off-by: Julien BOIBESSOT >> --- >> .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- >> package/ltris/ltris.hash | 2 +- >> package/ltris/ltris.mk | 2 +- >> 3 files changed, 2 insertions(+), 22 deletions(-) >> delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch >> >> diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch >> b/package/ltris/0001-fix-build-with-gcc-4.8.patch >> deleted file mode 100644 >> index d6bbf6a946..0000000000 >> --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch >> +++ /dev/null >> @@ -1,20 +0,0 @@ >> -Fix build with gcc 4.8 >> - >> -Signed-off-by: Fabrice Fontaine >> -[Upstream status: https://sourceforge.net/p/lgames/patches/28] >> -Index: ltris/src/bowl.c >> -=================================================================== >> ---- ltris/src/bowl.c (r?vision 421) >> -+++ ltris/src/bowl.c (copie de travail) >> -@@ -828,9 +828,10 @@ >> - */ >> - void bowl_init_block_masks() >> - { >> -+ int i; >> - int masksize = sizeof(block_masks[0].mask); // same for all >> - >> -- for (int i = 0; i < 7; i++) { >> -+ for (i = 0; i < 7; i++) { >> - block_masks[i].rx = 2; >> - block_masks[i].ry = 2; >> - memset(block_masks[i].mask, 0, masksize ); >> diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash >> index f696e3af17..abe6853d9b 100644 >> --- a/package/ltris/ltris.hash >> +++ b/package/ltris/ltris.hash >> @@ -1,3 +1,3 @@ >> # Locally computed: >> -sha256 >> a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 >> ltris-1.2.tar.gz >> +sha256 >> 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 >> ltris-1.2.7.tar.gz >> sha256 >> 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 >> COPYING >> diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk >> index 9b59613417..98902de44c 100644 >> --- a/package/ltris/ltris.mk >> +++ b/package/ltris/ltris.mk >> @@ -5,7 +5,7 @@ >> ################################################################################ >> >> LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris >> -LTRIS_VERSION = 1.2 >> +LTRIS_VERSION = 1.2.7 >> LTRIS_LICENSE = GPL-2.0+ >> LTRIS_LICENSE_FILES = COPYING >> >> -- >> 2.25.1 > > Best Regards, > > Fabrice From fontaine.fabrice at gmail.com Tue Oct 3 09:40:58 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 3 Oct 2023 11:40:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltris: bump to version 1.2.7 In-Reply-To: <4b75128a7a53e2fed27a1799f97a7828@armadeus.com> References: <20231002135147.2707988-1-julien.boibessot@armadeus.com> <4b75128a7a53e2fed27a1799f97a7828@armadeus.com> Message-ID: Hello Julien, Le mar. 3 oct. 2023 ? 11:36, a ?crit : > Hello Fabrice, > > Thanks for the feedback ! > > Le 2023-10-02 15:55, Fabrice Fontaine a ?crit : > > > Hello Julien, > > > > Le lun. 2 oct. 2023 ? 15:52, Julien BOIBESSOT > > a ?crit : > > > >> Latest release. Asked by autobuild.buildroot.net. > >> Remove integrated fix. > > > > You forgot to update .checkpackageignore > > > > Oups, I've missed that feature in BR. Am I supposed to remove file entry > in this file and that's it ? > Yes, just remove the entry. > > Best regards, > > Julien > > >> Signed-off-by: Julien BOIBESSOT > >> --- > >> .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- > >> package/ltris/ltris.hash | 2 +- > >> package/ltris/ltris.mk | 2 +- > >> 3 files changed, 2 insertions(+), 22 deletions(-) > >> delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch > >> > >> diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch > >> b/package/ltris/0001-fix-build-with-gcc-4.8.patch > >> deleted file mode 100644 > >> index d6bbf6a946..0000000000 > >> --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch > >> +++ /dev/null > >> @@ -1,20 +0,0 @@ > >> -Fix build with gcc 4.8 > >> - > >> -Signed-off-by: Fabrice Fontaine > >> -[Upstream status: https://sourceforge.net/p/lgames/patches/28] > >> -Index: ltris/src/bowl.c > >> -=================================================================== > >> ---- ltris/src/bowl.c (r?vision 421) > >> -+++ ltris/src/bowl.c (copie de travail) > >> -@@ -828,9 +828,10 @@ > >> - */ > >> - void bowl_init_block_masks() > >> - { > >> -+ int i; > >> - int masksize = sizeof(block_masks[0].mask); // same for all > >> - > >> -- for (int i = 0; i < 7; i++) { > >> -+ for (i = 0; i < 7; i++) { > >> - block_masks[i].rx = 2; > >> - block_masks[i].ry = 2; > >> - memset(block_masks[i].mask, 0, masksize ); > >> diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash > >> index f696e3af17..abe6853d9b 100644 > >> --- a/package/ltris/ltris.hash > >> +++ b/package/ltris/ltris.hash > >> @@ -1,3 +1,3 @@ > >> # Locally computed: > >> -sha256 > >> a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 > >> ltris-1.2.tar.gz > >> +sha256 > >> 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 > >> ltris-1.2.7.tar.gz > >> sha256 > >> 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 > >> COPYING > >> diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk > >> index 9b59613417..98902de44c 100644 > >> --- a/package/ltris/ltris.mk > >> +++ b/package/ltris/ltris.mk > >> @@ -5,7 +5,7 @@ > >> > ################################################################################ > >> > >> LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris > >> -LTRIS_VERSION = 1.2 > >> +LTRIS_VERSION = 1.2.7 > >> LTRIS_LICENSE = GPL-2.0+ > >> LTRIS_LICENSE_FILES = COPYING > >> > >> -- > >> 2.25.1 > > > > Best Regards, > > > > Fabrice > Best Regards, Fabrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From enki at fsck.pl Tue Oct 3 09:44:57 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:44:57 +0200 Subject: [Buildroot] [PATCH 0/3] Support for D-Link DNS-320L Message-ID: <20231003094501.61914-1-enki@fsck.pl> Hello, This is a short patchset to support a D-Link DNS-320L NAS. There are two device-specific packages which are required for proper system management on the device as well as a out-of-tree DTS. I am going to send it upstream when I learn more about device trees. I have added myself as a maintainer to the DEVELOPERS file for all relevant parts. The packages have been checked with no issues detected: ? buildroot git:(master) ? utils/docker-run make check-package 389271 lines processed 0 warnings generated An example boot log is presented below: https://gist.github.com/enkiusz/482fab68ef7a630c8cfaad6f13f63919 I have noticed that the packages do not build for all architectures which is a problem I do not yet know how to solve: ? buildroot git:(master) ? cat iniparser.config BR2_PACKAGE_INIPARSER=y ? buildroot git:(master) ? utils/test-pkg --config iniparser.config -p iniparser bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: FAILED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: FAILED sourcery-arm [6/6]: OK ? buildroot git:(master) ? cat dns320l-daemon.config BR2_PACKAGE_DNS320L_DAEMON=y ? buildroot git:(master) ? utils/test-pkg --config dns320l-daemon.config -p dns320l-daemon bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: FAILED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: FAILED sourcery-arm [6/6]: OK 6 builds, 0 skipped, 2 build failed, 0 legal-info failed, 0 show-info failed These failures however don't seem to be relevant for the device I'm building the packages for as they run armv5 which is successful. Are successful builds for all toolchains a prerequisite for upstream inclusion? I do not want to spam the autobuilder logs with failures. Cheers, Maciej Grela (3): package/iniparser: new package package/dns320l-daemon: new package board/netgear/dns320l: new board DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ package/Config.in | 2 + package/dns320l-daemon/Config.in | 7 + package/dns320l-daemon/S50dns320l-daemon | 37 +++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 +++ package/iniparser/Config.in | 6 + package/iniparser/iniparser.hash | 2 + package/iniparser/iniparser.mk | 42 ++++ 11 files changed, 368 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk -- 2.39.2 From enki at fsck.pl Tue Oct 3 09:46:09 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:46:09 +0200 Subject: [Buildroot] [PATCH 0/3] Support for D-Link DNS-320L Message-ID: <20231003094612.62025-1-enki@fsck.pl> Hello, This is a short patchset to support a D-Link DNS-320L NAS. There are two device-specific packages which are required for proper system management on the device as well as a out-of-tree DTS. I am going to send it upstream when I learn more about device trees. I have added myself as a maintainer to the DEVELOPERS file for all relevant parts. The packages have been checked with no issues detected: ? buildroot git:(master) ? utils/docker-run make check-package 389271 lines processed 0 warnings generated An example boot log is presented below: https://gist.github.com/enkiusz/482fab68ef7a630c8cfaad6f13f63919 I have noticed that the packages do not build for all architectures which is a problem I do not yet know how to solve: ? buildroot git:(master) ? cat iniparser.config BR2_PACKAGE_INIPARSER=y ? buildroot git:(master) ? utils/test-pkg --config iniparser.config -p iniparser bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: FAILED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: FAILED sourcery-arm [6/6]: OK ? buildroot git:(master) ? cat dns320l-daemon.config BR2_PACKAGE_DNS320L_DAEMON=y ? buildroot git:(master) ? utils/test-pkg --config dns320l-daemon.config -p dns320l-daemon bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: FAILED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: FAILED sourcery-arm [6/6]: OK 6 builds, 0 skipped, 2 build failed, 0 legal-info failed, 0 show-info failed These failures however don't seem to be relevant for the device I'm building the packages for as they run armv5 which is successful. Are successful builds for all toolchains a prerequisite for upstream inclusion? I do not want to spam the autobuilder logs with failures. Cheers, Maciej Grela (3): package/iniparser: new package package/dns320l-daemon: new package board/netgear/dns320l: new board DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ package/Config.in | 2 + package/dns320l-daemon/Config.in | 7 + package/dns320l-daemon/S50dns320l-daemon | 37 +++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 +++ package/iniparser/Config.in | 6 + package/iniparser/iniparser.hash | 2 + package/iniparser/iniparser.mk | 42 ++++ 11 files changed, 368 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk -- 2.39.2 From enki at fsck.pl Tue Oct 3 09:46:10 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:46:10 +0200 Subject: [Buildroot] [PATCH 1/3] package/iniparser: new package In-Reply-To: <20231003094612.62025-1-enki@fsck.pl> References: <20231003094612.62025-1-enki@fsck.pl> Message-ID: <20231003094612.62025-2-enki@fsck.pl> iniparser is a required dependency of dns320l-daemon Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/iniparser/Config.in | 6 +++++ package/iniparser/iniparser.hash | 2 ++ package/iniparser/iniparser.mk | 42 ++++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..228e9eb1e3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2085,6 +2085,7 @@ menu "Other" source "package/gtest/Config.in" source "package/gumbo-parser/Config.in" source "package/highway/Config.in" + source "package/iniparser/Config.in" source "package/jemalloc/Config.in" source "package/lapack/Config.in" source "package/libabseil-cpp/Config.in" diff --git a/package/iniparser/Config.in b/package/iniparser/Config.in new file mode 100644 index 0000000000..4932869943 --- /dev/null +++ b/package/iniparser/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_INIPARSER + bool "iniparser" + help + ini file parser + + https://github.com/ndevilla/iniparser diff --git a/package/iniparser/iniparser.hash b/package/iniparser/iniparser.hash new file mode 100644 index 0000000000..a745062fcd --- /dev/null +++ b/package/iniparser/iniparser.hash @@ -0,0 +1,2 @@ +# From https://github.com/ndevilla/iniparser/releases +sha256 960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae iniparser-4.1.tar.gz diff --git a/package/iniparser/iniparser.mk b/package/iniparser/iniparser.mk new file mode 100644 index 0000000000..dedb829140 --- /dev/null +++ b/package/iniparser/iniparser.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# iniparser +# +################################################################################ + +INIPARSER_VERSION = 4.1 +INIPARSER_SITE = $(call github,ndevilla,iniparser,v$(INIPARSER_VERSION)) +INIPARSER_INSTALL_STAGING = YES +INIPARSER_LICENSE = MIT +INIPARSER_LICENSE_FILES = LICENSE +INIPARSER_SO_TARGET = libiniparser.so.1 +INIPARSER_A_TARGET = libiniparser.a + +INIPARSER_CONFIGURE_OPTS = $(TARGET_CONFIGURE_OPTS) + +define INIPARSER_BUILD_CMDS + $(INIPARSER_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define INIPARSER_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_SO_TARGET) $(STAGING_DIR)/usr/lib/ + $(INSTALL) -D -m 0644 $(@D)/src/iniparser.h $(@D)/src/dictionary.h $(STAGING_DIR)/usr/include/ + $(if ifeq ($(BR2_STATIC_LIBS),y),$(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_A_TARGET) $(STAGING_DIR)/usr/lib/) +endef + +define INIPARSER_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_SO_TARGET) $(TARGET_DIR)/usr/lib/ + $(if ifeq ($(BR2_STATIC_LIBS),y),$(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_A_TARGET) $(TARGET_DIR)/usr/lib/) +endef + +define HOST_INIPARSER_BUILD_CMDS + $(HOST_CONFIGURE_OPTS) $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define HOST_INIPARSER_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_SO_TARGET) $(HOST_DIR)/lib/ + $(if ifeq ($(BR2_STATIC_LIBS),y),$(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_A_TARGET) $(HOST_DIR)/lib/) +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) -- 2.39.2 From enki at fsck.pl Tue Oct 3 09:46:11 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:46:11 +0200 Subject: [Buildroot] [PATCH 2/3] package/dns320l-daemon: new package In-Reply-To: <20231003094612.62025-1-enki@fsck.pl> References: <20231003094612.62025-1-enki@fsck.pl> Message-ID: <20231003094612.62025-3-enki@fsck.pl> dns320l-daemon is a simple system management daemon for the D-Link DNS-320L NAS. It handles power, Wake-on-LAN, temperature, fan speed and some LEDs. Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/dns320l-daemon/Config.in | 7 ++++ package/dns320l-daemon/S50dns320l-daemon | 37 ++++++++++++++++++++++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 ++++++++++++++++++ 5 files changed, 77 insertions(+) create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk diff --git a/package/Config.in b/package/Config.in index 228e9eb1e3..f1c451890f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2684,6 +2684,7 @@ menu "System tools" source "package/dcron/Config.in" source "package/ddrescue/Config.in" source "package/debianutils/Config.in" + source "package/dns320l-daemon/Config.in" source "package/docker-cli/Config.in" source "package/docker-compose/Config.in" source "package/docker-engine/Config.in" diff --git a/package/dns320l-daemon/Config.in b/package/dns320l-daemon/Config.in new file mode 100644 index 0000000000..c335e749f0 --- /dev/null +++ b/package/dns320l-daemon/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_DNS320L_DAEMON + bool "dns320l-daemon" + select BR2_PACKAGE_INIPARSER + help + MCU Daemon for the D-Link DNS-320L + + https://www.aboehler.at/hg/dns320l-daemon diff --git a/package/dns320l-daemon/S50dns320l-daemon b/package/dns320l-daemon/S50dns320l-daemon new file mode 100644 index 0000000000..3e0b4a3339 --- /dev/null +++ b/package/dns320l-daemon/S50dns320l-daemon @@ -0,0 +1,37 @@ +#!/bin/sh + +DAEMON="dns320l-daemon" + +start() { + printf 'Starting %s: ' "$DAEMON" + start-stop-daemon -S -x "/usr/bin/$DAEMON" + status="$?" + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -x "/usr/bin/$DAEMON" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + restart;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac diff --git a/package/dns320l-daemon/dns320l-daemon.hash b/package/dns320l-daemon/dns320l-daemon.hash new file mode 100644 index 0000000000..4396eb8f5d --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.hash @@ -0,0 +1 @@ +sha256 eac74a64f0d4127748e629b8a5f723eab58ac83064a3f249f97b85bcd7faf061 tip.tar.bz2 diff --git a/package/dns320l-daemon/dns320l-daemon.mk b/package/dns320l-daemon/dns320l-daemon.mk new file mode 100644 index 0000000000..fd87ac1be3 --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# dns320l-daemon +# +################################################################################ + +DNS320L_DAEMON_VERSION = 1.0 +DNS320L_DAEMON_SOURCE = tip.tar.bz2 +DNS320L_DAEMON_SITE = https://www.aboehler.at/hg/dns320l-daemon/archive +DNS320L_DAEMON_LICENSE = GPL-3 +DNS320L_DAEMON_DEPENDENCIES = iniparser + +define DNS320L_DAEMON_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" +endef + +define DNS320L_DAEMON_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/dns320l-daemon $(TARGET_DIR)/usr/bin/ + $(INSTALL) -D -m 0600 $(@D)/dns320l-daemon.ini $(TARGET_DIR)/etc/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/dns320l-daemon.service $(TARGET_DIR)/lib/systemd/system/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/dns320l-daemon/S50dns320l-daemon $(TARGET_DIR)/etc/init.d/S50dns320l-daemon +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Tue Oct 3 09:46:12 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:46:12 +0200 Subject: [Buildroot] [PATCH 3/3] board/netgear/dns320l: new board In-Reply-To: <20231003094612.62025-1-enki@fsck.pl> References: <20231003094612.62025-1-enki@fsck.pl> Message-ID: <20231003094612.62025-4-enki@fsck.pl> Add support for the D-Link DNS-320L using: - U-Boot 1.1.4 (in device flash) - Linux kernel 6.5.5 This is a 2-Bay 3.5'' SATA NAS with the following specs: - Marvell 88F6702 (1 GHz) CPU - 256 MiB DDR2 RAM - 128 MiB NAND Flash - 2 x SATA - 1 x 1000 Mbit/s Ethernet port - 1 x USB 2.0 The builtin bootloader banner is: U-Boot 1.1.4 (Aug 22 2012 - 17:06:54) Marvell version: 3.6.0.DNS-320L.01 Manufacturer product page: http://sharecenter.dlink.com/products/DNS-320 Device wiki: https://wikidevi.wi-cat.ru/D-Link_DNS-320L_rev_A1 Signed-off-by: Maciej Grela --- DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ 3 files changed, 240 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..76e8644073 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1950,6 +1950,12 @@ N: Ludwig Kormann F: board/in-circuit/ F: configs/icnova* +N: Maciej Grela +F: board/d-link/dns320l/ +F: configs/dns320l_defconfig +F: package/dns320l-daemon +F: package/iniparser + N: Maeva Manuel F: board/freescale/imx8qmmek/ F: configs/freescale_imx8qmmek_defconfig diff --git a/board/d-link/dns320l/dts/kirkwood-dns320l.dts b/board/d-link/dns320l/dts/kirkwood-dns320l.dts new file mode 100644 index 0000000000..660508a51a --- /dev/null +++ b/board/d-link/dns320l/dts/kirkwood-dns320l.dts @@ -0,0 +1,218 @@ +/dts-v1/; + +/* + * Device Tree file for DLINK DNS-320L + * + * Copyright (C) 2015, Sunke Schl?ters + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + * + * + * This file is based on the work of Andreas B?hler : + * - http://www.aboehler.at/doku/doku.php/projects:dns320l + * - http://www.aboehler.at/hg/linux-dns320l/file/ba7a60ad7687/linux-3.12/kirkwood-dns320l.dts + */ + +#include "marvell/kirkwood.dtsi" +#include "marvell/kirkwood-6281.dtsi" + +/ { + model = "D-Link DNS-320L"; + compatible = "dlink,dns-320l", "marvell,kirkwood-88f6702", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + stdout-path = &uart0; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>; + pinctrl-names = "default"; + + button at 1 { + label = "Reset push button"; + linux,code = ; + gpios = <&gpio0 28 1>; + }; + button at 2 { + label = "USB unmount button"; + linux,code = ; + gpios = <&gpio0 27 1>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pmx_led_usb_blue &pmx_led_red_right_hdd + &pmx_led_red_left_hdd &pmx_led_usb_orange>; + pinctrl-names = "default"; + + blue-usb { + label = "usb_blue"; + gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + }; + orange-usb { + label = "usb_orange"; + gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; + }; + orange-l_hdd { + label = "hdd1_orange"; + gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; + }; + orange-r_hdd { + label = "hdd2_orange"; + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; + }; + }; + + ocp at f1000000 { + pinctrl: pin-controller at 10000 { + + pinctrl-0 = <&pmx_button_power>; + pinctrl-names = "default"; + + pmx_sata0: pmx-sata0 { + marvell,pins = "mpp20"; + marvell,function = "sata0"; + }; + pmx_sata1: pmx-sata1 { + marvell,pins = "mpp21"; + marvell,function = "sata1"; + }; + pmx_led_red_right_hdd: pmx-led-red-right-hdd { + marvell,pins = "mpp22"; + marvell,function = "gpio"; + }; + pmx_led_red_left_hdd: pmx-led-red-left-hdd { + marvell,pins = "mpp23"; + marvell,function = "gpio"; + }; + pmx_power_sata: pmx-power-sata { + marvell,pins = "mpp24"; + marvell,function = "gpio"; + }; + pmx_led_usb_blue: pmx-led-usb-blue { + marvell,pins = "mpp25"; + marvell,function = "gpio"; + }; + pmx_led_usb_orange: pmx-led-usb-orange { + marvell,pins = "mpp26"; + marvell,function = "gpio"; + }; + pmx_button_usb_copy: pmx-button-usb-copy { + marvell,pins = "mpp27"; + marvell,function = "gpio"; + }; + pmx_button_reset: pmx-button-reset { + marvell,pins = "mpp28"; + marvell,function = "gpio"; + }; + pmx_button_power: pmx-button-power { // I can't get this one to trigger a button press... + marvell,pins = "mpp29"; + marvell,function = "gpio"; + }; + }; + sata at 80000 { + status = "okay"; + nr-ports = <2>; + }; + serial at 12000 { + status = "okay"; + }; + + serial at 12100 { + pinctrl-0 = <&pmx_uart1>; + pinctrl-names = "default"; + status = "okay"; + }; + }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_power_sata>; + pinctrl-names = "default"; + + sata_power: regulator at 1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "SATA Power"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio1 24 0>; + }; + }; +}; + +&nand { + pinctrl-0 = <&pmx_nand>; + pinctrl-names = "default"; + status = "okay"; + chip-delay = <35>; + + partition at 0 { + label = "u-boot"; + reg = <0x0000000 0x100000>; + read-only; + }; + + partition at 100000 { + label = "uImage"; + reg = <0x0100000 0x500000>; + }; + + partition at 600000 { + label = "ramdisk"; + reg = <0x0600000 0x500000>; + }; + + partition at b00000 { + label = "image"; + reg = <0x0b00000 0x6400000>; + }; + + partition at 6f00000 { + label = "mini firmware"; + reg = <0x6f00000 0xa00000>; + }; + + partition at 7900000 { + label = "config"; + reg = <0x7900000 0x500000>; + }; + + partition at 7e00000 { + label = "my-dlink"; + reg = <0x7e00000 0x200000>; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy at 0 { + reg = <0>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port at 0 { + phy-handle = <ðphy0>; + }; +}; diff --git a/configs/dns320l_defconfig b/configs/dns320l_defconfig new file mode 100644 index 0000000000..f281984267 --- /dev/null +++ b/configs/dns320l_defconfig @@ -0,0 +1,16 @@ +BR2_arm=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_SYSTEM_DHCP="eth0" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.5" +BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" +BR2_LINUX_KERNEL_APPENDED_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/d-link/dns320l/dts/kirkwood-dns320l.dts" +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_CPIO_UIMAGE=y + +# The package is required for proper power management +BR2_PACKAGE_DNS320L_DAEMON=y -- 2.39.2 From luca.ceresoli at bootlin.com Tue Oct 3 10:03:50 2023 From: luca.ceresoli at bootlin.com (Luca Ceresoli) Date: Tue, 3 Oct 2023 12:03:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.1 In-Reply-To: <20231003071536.297478-1-bernd@kuhls.net> References: <20231003071536.297478-1-bernd@kuhls.net> Message-ID: <20231003120350.56aefc32@booty> Hello Bernd, On Tue, 3 Oct 2023 09:15:36 +0200 Bernd Kuhls wrote: > Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: > https://exim.org/static/doc/security/CVE-2023-zdi.txt > > Signed-off-by: Bernd Kuhls Thanks! Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From bernd at kuhls.net Tue Oct 3 11:12:10 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 03 Oct 2023 13:12:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix cross build References: <20231002195159.3053254-1-bernd@kuhls.net> <20231002205144.GD2957__28552.5928296678$1696279934$gmane$org@scaer> Message-ID: Am Mon, 2 Oct 2023 22:51:44 +0200 schrieb Yann E. MORIN: > So your patch looks like it is correct. > > However, I would challenge it on other grounds: ISC decided to stop > maintaing dhcp starting end of 2022, almost a year ago, when they > released the last version of dhcp. > > Should we just drop that package now and be done with it? Hi Yann, my patch follows Peter's intention: "If it is dead upstream and hard to fix then that naturally makes it harder to do, but the intention is to fix it." http://lists.busybox.net/pipermail/buildroot/2022-April/640709.html The ISC dhcp package is also used in current Debian releases: https://tracker.debian.org/pkg/isc-dhcp Regards, Bernd From bernd at kuhls.net Tue Oct 3 12:22:00 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:22:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/stellarium: bump version to 23.3 Message-ID: <20231003122200.2677353-1-bernd@kuhls.net> Release notes: http://stellarium.org/release/2023/09/25/stellarium-23.3.html Signed-off-by: Bernd Kuhls --- package/stellarium/stellarium.hash | 2 +- package/stellarium/stellarium.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash index e0ee61d2b6..a2f511a283 100644 --- a/package/stellarium/stellarium.hash +++ b/package/stellarium/stellarium.hash @@ -1,4 +1,4 @@ # From https://github.com/Stellarium/stellarium/releases -sha256 3aee154d0de3ed484e3e6fee027cf73e6dd0a677b3ea1af348b225ac02339008 stellarium-23.2.tar.xz +sha256 179420e9e9f11278b78dc54e14458452c92055cc8923538748c8a0f961714fc2 stellarium-23.3.tar.xz # Locally computed sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk index 43c99413dd..94ad4e1352 100644 --- a/package/stellarium/stellarium.mk +++ b/package/stellarium/stellarium.mk @@ -4,7 +4,7 @@ # ################################################################################ -STELLARIUM_VERSION = 23.2 +STELLARIUM_VERSION = 23.3 STELLARIUM_SOURCE = stellarium-$(STELLARIUM_VERSION).tar.xz STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) STELLARIUM_LICENSE = GPL-2.0+ -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:24:06 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:24:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireless-regdb: bump version to 2023.09.01 Message-ID: <20231003122406.2678498-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- package/wireless-regdb/wireless-regdb.hash | 2 +- package/wireless-regdb/wireless-regdb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wireless-regdb/wireless-regdb.hash b/package/wireless-regdb/wireless-regdb.hash index b4e8dcaf54..71f92aaf91 100644 --- a/package/wireless-regdb/wireless-regdb.hash +++ b/package/wireless-regdb/wireless-regdb.hash @@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc -sha256 f254d08ab3765aeae2b856222e11a95d44aef519a6663877c71ef68fae4c8c12 wireless-regdb-2023.05.03.tar.xz +sha256 26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491 wireless-regdb-2023.09.01.tar.xz # Locally computed sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk index db9c7f42d5..e9003ce2e6 100644 --- a/package/wireless-regdb/wireless-regdb.mk +++ b/package/wireless-regdb/wireless-regdb.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRELESS_REGDB_VERSION = 2023.05.03 +WIRELESS_REGDB_VERSION = 2023.09.01 WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb WIRELESS_REGDB_LICENSE = ISC -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:32:08 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:32:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/mpg123: bump version to 1.32.3 Message-ID: <20231003123208.2688289-1-bernd@kuhls.net> Removed patch which was applied upstream: https://github.com/madebr/mpg123/commit/e1e6aa201a88d9d7f91c806b71270dd0013c6ca6 Signed-off-by: Bernd Kuhls --- package/mpg123/0001-mpg123-buildfix.patch | 24 ----------------------- package/mpg123/mpg123.hash | 6 +++--- package/mpg123/mpg123.mk | 2 +- 3 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 package/mpg123/0001-mpg123-buildfix.patch diff --git a/package/mpg123/0001-mpg123-buildfix.patch b/package/mpg123/0001-mpg123-buildfix.patch deleted file mode 100644 index cc731ea967..0000000000 --- a/package/mpg123/0001-mpg123-buildfix.patch +++ /dev/null @@ -1,24 +0,0 @@ -Signed-off-by: Waldemar Brodkorb -Upstream: https://sourceforge.net/p/mpg123/bugs/353/ - -diff -Nur mpg123-1.31.3.orig/src/libmpg123/getcpuflags.h mpg123-1.31.3/src/libmpg123/getcpuflags.h ---- mpg123-1.31.3.orig/src/libmpg123/getcpuflags.h 2023-03-15 09:02:58.000000000 +0100 -+++ mpg123-1.31.3/src/libmpg123/getcpuflags.h 2023-08-07 15:57:19.444106173 +0200 -@@ -44,6 +44,8 @@ - - unsigned int getcpuflags(struct cpuflags* cf); - -+#if ((defined OPT_X86) || (defined OPT_X86_64) || (defined OPT_NEON) || (defined OPT_NEON64)) && (defined OPT_MULTI) -+ - #ifdef WANT_GETCPUFLAGS - #include - // Wrapper needed for ignorant clang memory sanitizer that chokes -@@ -55,8 +57,6 @@ - } - #endif - --#if ((defined OPT_X86) || (defined OPT_X86_64) || (defined OPT_NEON) || (defined OPT_NEON64)) && (defined OPT_MULTI) -- - // We really evaluate the CPU flags. - #define OPT_CPU_FLAGS - diff --git a/package/mpg123/mpg123.hash b/package/mpg123/mpg123.hash index 39ded93fb9..0fe4699606 100644 --- a/package/mpg123/mpg123.hash +++ b/package/mpg123/mpg123.hash @@ -1,6 +1,6 @@ -# From https://sourceforge.net/projects/mpg123/files/mpg123/1.31.3/ -sha1 c41b98e4c5ac55a5b3787b5aa309a71a6d458145 mpg123-1.31.3.tar.bz2 +# From https://sourceforge.net/projects/mpg123/files/mpg123/1.32.3/ +sha1 3a94848a620db7917c757cb21e261c711e44618f mpg123-1.32.3.tar.bz2 # Locally calculated -sha256 1ca77d3a69a5ff845b7a0536f783fee554e1041139a6b978f6afe14f5814ad1a mpg123-1.31.3.tar.bz2 +sha256 2d9913a57d4ee8f497a182c6e82582602409782a4fb481e989feebf4435867b4 mpg123-1.32.3.tar.bz2 # License file sha256 c22482728a634a8dfdb4ff72a96d4c1ed64cd8f3e79335c401751ac591609366 COPYING diff --git a/package/mpg123/mpg123.mk b/package/mpg123/mpg123.mk index 5ec5590267..4de5f99bdf 100644 --- a/package/mpg123/mpg123.mk +++ b/package/mpg123/mpg123.mk @@ -4,7 +4,7 @@ # ################################################################################ -MPG123_VERSION = 1.31.3 +MPG123_VERSION = 1.32.3 MPG123_SOURCE = mpg123-$(MPG123_VERSION).tar.bz2 MPG123_SITE = https://downloads.sourceforge.net/project/mpg123/mpg123/$(MPG123_VERSION) MPG123_INSTALL_STAGING = YES -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:34:30 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:34:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/libvpx: bump version to 1.13.1 Message-ID: <20231003123430.2693572-1-bernd@kuhls.net> Removed patch which was backported from upstream and is now included in this release. Signed-off-by: Bernd Kuhls --- ...02-VP8-disallow-thread-count-changes.patch | 38 ------------------- package/libvpx/libvpx.hash | 2 +- package/libvpx/libvpx.mk | 2 +- 3 files changed, 2 insertions(+), 40 deletions(-) delete mode 100644 package/libvpx/0002-VP8-disallow-thread-count-changes.patch diff --git a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch deleted file mode 100644 index d625255a9f..0000000000 --- a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 3fbd1dca6a4d2dad332a2110d646e4ffef36d590 Mon Sep 17 00:00:00 2001 -From: James Zern -Date: Mon, 25 Sep 2023 18:55:59 -0700 -Subject: [PATCH] VP8: disallow thread count changes - -Currently allocations are done at encoder creation time. Going from -threaded to non-threaded would cause a crash. - -Bug: chromium:1486441 -Change-Id: Ie301c2a70847dff2f0daae408fbef1e4d42e73d4 - -Fixes CVE-2023-5217: https://www.cve.org/CVERecord?id=CVE-2023-5217 - -Upstream: https://github.com/webmproject/libvpx/commit/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 -Upstream: https://chromium.googlesource.com/webm/libvpx/+/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 - -[Bernd: Removed patch for test/encode_api_test.cc] -Signed-off-by: Bernd Kuhls ---- - vp8/encoder/onyx_if.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c -index c65afc643bf..c5e9970c3cc 100644 ---- a/vp8/encoder/onyx_if.c -+++ b/vp8/encoder/onyx_if.c -@@ -1447,6 +1447,11 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) { - last_h = cpi->oxcf.Height; - prev_number_of_layers = cpi->oxcf.number_of_layers; - -+ if (cpi->initial_width) { -+ // TODO(https://crbug.com/1486441): Allow changing thread counts; the -+ // allocation is done once in vp8_create_compressor(). -+ oxcf->multi_threaded = cpi->oxcf.multi_threaded; -+ } - cpi->oxcf = *oxcf; - - switch (cpi->oxcf.Mode) { diff --git a/package/libvpx/libvpx.hash b/package/libvpx/libvpx.hash index c88e6840cf..7cda8cc2eb 100644 --- a/package/libvpx/libvpx.hash +++ b/package/libvpx/libvpx.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 cb2a393c9c1fae7aba76b950bb0ad393ba105409fe1a147ccd61b0aaa1501066 libvpx-1.13.0.tar.gz +sha256 00dae80465567272abd077f59355f95ac91d7809a2d3006f9ace2637dd429d14 libvpx-1.13.1.tar.gz sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 LICENSE sha256 cc3273e0694ea5896145e0677699b53471b03ea43021ddc50e7923fbb9f5023c PATENTS diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index b558c41981..ec2e39a74f 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBVPX_VERSION = 1.13.0 +LIBVPX_VERSION = 1.13.1 LIBVPX_SITE = $(call github,webmproject,libvpx,v$(LIBVPX_VERSION)) LIBVPX_LICENSE = BSD-3-Clause LIBVPX_LICENSE_FILES = LICENSE PATENTS -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:36:59 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:36:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsndfile: bump to version 1.2.2 Message-ID: <20231003123659.2704273-1-bernd@kuhls.net> Release notes: https://github.com/libsndfile/libsndfile/releases/tag/1.2.1 https://github.com/libsndfile/libsndfile/releases/tag/1.2.2 Signed-off-by: Bernd Kuhls --- package/libsndfile/libsndfile.hash | 2 +- package/libsndfile/libsndfile.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libsndfile/libsndfile.hash b/package/libsndfile/libsndfile.hash index be3ba41dc6..94d6f96335 100644 --- a/package/libsndfile/libsndfile.hash +++ b/package/libsndfile/libsndfile.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -sha256 0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a libsndfile-1.2.0.tar.xz +sha256 3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e libsndfile-1.2.2.tar.xz # Locally calculated sha256 ad01ea5cd2755f6048383c8d54c88459cd6fcb17757c5c8892f8c5ea060f6140 COPYING diff --git a/package/libsndfile/libsndfile.mk b/package/libsndfile/libsndfile.mk index d8d1725444..89eb4f3c1d 100644 --- a/package/libsndfile/libsndfile.mk +++ b/package/libsndfile/libsndfile.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSNDFILE_VERSION = 1.2.0 +LIBSNDFILE_VERSION = 1.2.2 LIBSNDFILE_SOURCE = libsndfile-$(LIBSNDFILE_VERSION).tar.xz LIBSNDFILE_SITE = https://github.com/libsndfile/libsndfile/releases/download/$(LIBSNDFILE_VERSION) LIBSNDFILE_INSTALL_STAGING = YES -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:39:02 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:39:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/libdeflate: bump version to 1.19 Message-ID: <20231003123902.2706496-1-bernd@kuhls.net> Release notes: https://github.com/ebiggers/libdeflate/blob/master/NEWS.md Signed-off-by: Bernd Kuhls --- package/libdeflate/libdeflate.hash | 2 +- package/libdeflate/libdeflate.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libdeflate/libdeflate.hash b/package/libdeflate/libdeflate.hash index c6a50efbfc..8609f5ab02 100644 --- a/package/libdeflate/libdeflate.hash +++ b/package/libdeflate/libdeflate.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 225d982bcaf553221c76726358d2ea139bb34913180b20823c782cede060affd libdeflate-1.18.tar.gz +sha256 27bf62d71cd64728ff43a9feb92f2ac2f2bf748986d856133cc1e51992428c25 libdeflate-1.19.tar.gz sha256 5d246dd2537307b80fed9ba5fdddf5d0fe7a8f023393a071182b9daed56b40fe COPYING diff --git a/package/libdeflate/libdeflate.mk b/package/libdeflate/libdeflate.mk index 00de2e82a9..3000a58407 100644 --- a/package/libdeflate/libdeflate.mk +++ b/package/libdeflate/libdeflate.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBDEFLATE_VERSION = 1.18 +LIBDEFLATE_VERSION = 1.19 LIBDEFLATE_SITE = $(call github,ebiggers,libdeflate,v$(LIBDEFLATE_VERSION)) LIBDEFLATE_LICENSE = MIT LIBDEFLATE_LICENSE_FILES = COPYING -- 2.39.2 From takumiiinn at gmail.com Tue Oct 3 12:40:03 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Tue, 3 Oct 2023 21:40:03 +0900 Subject: [Buildroot] [PATCH] package/libcanberra: new package Message-ID: <20231003124004.983018-1-takumiiinn@gmail.com> This package defines a simple abstract interface for playing event sounds. It is mainly used by desktop applications such as GDM and GNOME Session. http://0pointer.de/lennart/projects/libcanberra/ Signed-off-by: Takumi Takahashi --- package/Config.in | 1 + package/libcanberra/Config.in | 17 ++++++++ package/libcanberra/libcanberra.hash | 3 ++ package/libcanberra/libcanberra.mk | 59 ++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 package/libcanberra/Config.in create mode 100644 package/libcanberra/libcanberra.hash create mode 100644 package/libcanberra/libcanberra.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..8f44e3efab 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1425,6 +1425,7 @@ menu "Audio/Sound" source "package/fdk-aac/Config.in" source "package/libao/Config.in" source "package/libbroadvoice/Config.in" + source "package/libcanberra/Config.in" source "package/libcdaudio/Config.in" source "package/libcddb/Config.in" source "package/libcdio/Config.in" diff --git a/package/libcanberra/Config.in b/package/libcanberra/Config.in new file mode 100644 index 0000000000..4274bcbec9 --- /dev/null +++ b/package/libcanberra/Config.in @@ -0,0 +1,17 @@ +comment "libcanberra needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + +comment "libcanberra needs a alsa-lib or pulseaudio or gstreamer" + depends on !BR2_PACKAGE_ALSA_LIB && !BR2_PACKAGE_PULSEAUDIO && !BR2_PACKAGE_GSTREAMER1 + +config BR2_PACKAGE_LIBCANBERRA + bool "libcanberra" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBTOOL + select BR2_PACKAGE_LIBVORBIS + help + libcanberra defines a simple abstract interface for playing event sounds. + + http://0pointer.de/lennart/projects/libcanberra/ diff --git a/package/libcanberra/libcanberra.hash b/package/libcanberra/libcanberra.hash new file mode 100644 index 0000000000..8dc90ccd88 --- /dev/null +++ b/package/libcanberra/libcanberra.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72 libcanberra-0.30.tar.xz +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 LGPL diff --git a/package/libcanberra/libcanberra.mk b/package/libcanberra/libcanberra.mk new file mode 100644 index 0000000000..1eadcb571b --- /dev/null +++ b/package/libcanberra/libcanberra.mk @@ -0,0 +1,59 @@ +################################################################################ +# +# libcanberra +# +################################################################################ + +LIBCANBERRA_VERSION = 0.30 +LIBCANBERRA_SOURCE = libcanberra-$(LIBCANBERRA_VERSION).tar.xz +LIBCANBERRA_SITE = http://0pointer.de/lennart/projects/libcanberra +LIBCANBERRA_LICENSE = LGPL-2.1+ +LIBCANBERRA_LICENSE_FILES = LICENSE +LIBCANBERRA_INSTALL_STAGING = YES + +LIBCANBERRA_DEPENDENCIES = host-pkgconf libtool libvorbis +LIBCANBERRA_CONF_OPTS = --disable-oss --disable-null --disable-tdb --disable-lynx + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIBCANBERRA_CONF_OPTS += --enable-udev +LIBCANBERRA_DEPENDENCIES += udev +else +LIBCANBERRA_CONF_OPTS += --disable-udev +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +LIBCANBERRA_CONF_OPTS += --enable-alsa +LIBCANBERRA_DEPENDENCIES += alsa-lib +else +LIBCANBERRA_CONF_OPTS += --disable-alsa +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +LIBCANBERRA_CONF_OPTS += --enable-pulse +LIBCANBERRA_DEPENDENCIES += pulseaudio +else +LIBCANBERRA_CONF_OPTS += --disable-pulse +endif + +ifeq ($(BR2_PACKAGE_GSTREAMER1),y) +LIBCANBERRA_CONF_OPTS += --enable-gstreamer +LIBCANBERRA_DEPENDENCIES += gstreamer1 +else +LIBCANBERRA_CONF_OPTS += --disable-gstreamer +endif + +ifeq ($(BR2_PACKAGE_LIBGTK2),y) +LIBCANBERRA_CONF_OPTS += --enable-gtk +LIBCANBERRA_DEPENDENCIES += libgtk2 +else +LIBCANBERRA_CONF_OPTS += --disable-gtk +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) +LIBCANBERRA_CONF_OPTS += --enable-gtk3 +LIBCANBERRA_DEPENDENCIES += libgtk3 +else +LIBCANBERRA_CONF_OPTS += --disable-gtk3 +endif + +$(eval $(autotools-package)) -- 2.42.0 From julien.boibessot at armadeus.com Tue Oct 3 12:25:17 2023 From: julien.boibessot at armadeus.com (Julien BOIBESSOT) Date: Tue, 3 Oct 2023 14:25:17 +0200 Subject: [Buildroot] [PATCH v2] package/ltris: bump to version 1.2.7 Message-ID: <20231003122517.2725616-1-julien.boibessot@armadeus.com> Latest release. Asked by autobuild.buildroot.net. Remove integrated fix. Signed-off-by: Julien BOIBESSOT --- Changes v1 -> v2: - updated .checkpackageignore as requested by Fabrice Fontaine --- .checkpackageignore | 1 - .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- package/ltris/ltris.hash | 2 +- package/ltris/ltris.mk | 2 +- 4 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch diff --git a/.checkpackageignore b/.checkpackageignore index 28de1745e4..393fac0638 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -824,7 +824,6 @@ package/lshw/0001-solve-Compile-error-when-g-version-is-less-than-5.patch Upstre package/ltrace/0001-arm-plt.patch Upstream package/ltrace/0002-sparc-add-missing-library.h-include.patch Upstream package/ltrace/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch Upstream -package/ltris/0001-fix-build-with-gcc-4.8.patch Upstream package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch Upstream package/lttng-babeltrace/0002-configure.ac-fix-popt-static-build.patch Upstream package/lttng-libust/0001-configure.ac-add-disable-tests.patch Upstream diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch b/package/ltris/0001-fix-build-with-gcc-4.8.patch deleted file mode 100644 index d6bbf6a946..0000000000 --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch +++ /dev/null @@ -1,20 +0,0 @@ -Fix build with gcc 4.8 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://sourceforge.net/p/lgames/patches/28] -Index: ltris/src/bowl.c -=================================================================== ---- ltris/src/bowl.c (r?vision 421) -+++ ltris/src/bowl.c (copie de travail) -@@ -828,9 +828,10 @@ - */ - void bowl_init_block_masks() - { -+ int i; - int masksize = sizeof(block_masks[0].mask); // same for all - -- for (int i = 0; i < 7; i++) { -+ for (i = 0; i < 7; i++) { - block_masks[i].rx = 2; - block_masks[i].ry = 2; - memset(block_masks[i].mask, 0, masksize ); diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash index f696e3af17..abe6853d9b 100644 --- a/package/ltris/ltris.hash +++ b/package/ltris/ltris.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 ltris-1.2.tar.gz +sha256 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 ltris-1.2.7.tar.gz sha256 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 COPYING diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk index 9b59613417..98902de44c 100644 --- a/package/ltris/ltris.mk +++ b/package/ltris/ltris.mk @@ -5,7 +5,7 @@ ################################################################################ LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris -LTRIS_VERSION = 1.2 +LTRIS_VERSION = 1.2.7 LTRIS_LICENSE = GPL-2.0+ LTRIS_LICENSE_FILES = COPYING -- 2.25.1 From bernd at kuhls.net Tue Oct 3 12:43:36 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:43:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcodec2: bump version to 1.2.0 Message-ID: <20231003124336.2837869-1-bernd@kuhls.net> Release notes: https://github.com/drowe67/codec2/releases/tag/1.2.0 Signed-off-by: Bernd Kuhls --- package/libcodec2/libcodec2.hash | 2 +- package/libcodec2/libcodec2.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcodec2/libcodec2.hash b/package/libcodec2/libcodec2.hash index edaa275bbc..828efa3e4d 100644 --- a/package/libcodec2/libcodec2.hash +++ b/package/libcodec2/libcodec2.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 44015b071968d98ee326012c498db6a8308bed1a7a914ecb6d4d8e2a354a4611 libcodec2-1.1.1.tar.gz +sha256 cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449 libcodec2-1.2.0.tar.gz sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING diff --git a/package/libcodec2/libcodec2.mk b/package/libcodec2/libcodec2.mk index 295dd8983f..5fc190aefd 100644 --- a/package/libcodec2/libcodec2.mk +++ b/package/libcodec2/libcodec2.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBCODEC2_VERSION = 1.1.1 -LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) +LIBCODEC2_VERSION = 1.2.0 +LIBCODEC2_SITE = $(call github,drowe67,codec2,$(LIBCODEC2_VERSION)) LIBCODEC2_LICENSE = LGPL-2.1 LIBCODEC2_LICENSE_FILES = COPYING LIBCODEC2_INSTALL_STAGING = YES -- 2.39.2 From angelo at amarulasolutions.com Tue Oct 3 14:29:25 2023 From: angelo at amarulasolutions.com (Angelo Compagnucci) Date: Tue, 3 Oct 2023 16:29:25 +0200 Subject: [Buildroot] [PATCH v4 3/5] package/wpa_supplicant: configure wifi on systemd when enabled In-Reply-To: References: <20221004110421.137795-1-angelo@amarulasolutions.com> <20221004110421.137795-4-angelo@amarulasolutions.com> Message-ID: Hi Arnout, On Sat, Sep 30, 2023 at 6:51?PM Arnout Vandecappelle wrote: > > > > On 04/10/2022 13:04, Angelo Compagnucci wrote: > > Configure a default basic wifi setup able to automatically connect > > to the selected access point. > > I think this feature is indeed useful. IIUC, currently wpa_supplicant actually > isn't started, even though we do install a service file. I do not think I'm going to respin another version of this patch due to the fact the other patches in the series were rejected. This patch is indeed not useful without the others: what's the point of having systemd configured for wpa_supplicant if in any case the user must configure an overlay to add a working wpa_supplicant.conf file? The series was meant to offer an easy way to configure the wifi in the same way we do for the ethernet. Moreover, if we configure wpa_supplicant here, it's not going to work without clearly explain somewhere that the user must implement its own wpa_supplicant.conf file. Imho it's way more confusing than offering a completely DIY solution as we do now. In the first case we need to explain somewhere what to do, in the latter the user will figure it out. > > > > > Signed-off-by: Angelo Compagnucci > > --- > > package/wpa_supplicant/wpa_supplicant.mk | 10 ++++++++++ > > system/Config.in | 1 + > > 2 files changed, 11 insertions(+) > > > > diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk > > index 60ae290e26..8611fc6577 100644 > > --- a/package/wpa_supplicant/wpa_supplicant.mk > > +++ b/package/wpa_supplicant/wpa_supplicant.mk > > @@ -277,6 +277,15 @@ define WPA_SUPPLICANT_ENABLE_WIFI > > echo "}"; \ > > ) >> $(TARGET_DIR)/etc/wpa_supplicant.conf > > endef > > +define WPA_SUPPLICANT_WIFI_INSTALL_INIT_SYSTEMD > > + $(INSTALL) -m 0755 -d $(TARGET_DIR)/etc/wpa_supplicant/ > > + ln -sf ../wpa_supplicant.conf \ > > + $(TARGET_DIR)/etc/wpa_supplicant/wpa_supplicant-$(BR2_SYSTEM_DHCP).conf > > If the interface-specific service is used rather than the global one, I think > the idea is to be able to use separate conf files for them. So I think it makes > more sense to copy than symlink. > > That said, I'm not sure if it's really useful to use the per-interface > service. The global one should work as well, no? I think the only thing we're > missing is to enable it for the wifi interface. > > Also, I don't think it's a good idea to reuse BR2_SYSTEM_DHCP for this. There > are quite a few boards that have both ethernet and wifi and ideally we want both > to come up. So I think it's worth adding a BR2_SYSTEM_WLAN to specify the wifi > interface - and perhaps automatically select wpa_supplicant if that option is > set (although we could just as well use iwd instead of supplicant, of course). > > > +endef > > +define WPA_SUPPLICANT_WIFI_INSTALL_INIT_SYSTEMD_PRESET > > + $(HOST_DIR)/bin/systemctl --root=$(TARGET_DIR) preset wpa_supplicant\@$(BR2_SYSTEM_DHCP).service > > I'm not sure what this is supposed to do. Doesn't it just undo the disable we > do in 50-wpa_supplicant.preset? Wouldn't it be better to just remove that preset > somehow? > > > +endef > > +SYSTEMD_ROOTFS_PRE_CMD_HOOKS += WPA_SUPPLICANT_WIFI_INSTALL_INIT_SYSTEMD_PRESET > > endif > > > > define WPA_SUPPLICANT_INSTALL_TARGET_CMDS > > @@ -304,6 +313,7 @@ define WPA_SUPPLICANT_INSTALL_INIT_SYSTEMD > > $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-wired at .service > > $(INSTALL) -D -m 644 $(WPA_SUPPLICANT_PKGDIR)/50-wpa_supplicant.preset \ > > $(TARGET_DIR)/usr/lib/systemd/system-preset/50-wpa_supplicant.preset > > + $(WPA_SUPPLICANT_WIFI_INSTALL_INIT_SYSTEMD) > > endef > > > > $(eval $(generic-package)) > > diff --git a/system/Config.in b/system/Config.in > > index 647072b965..761a5a95c2 100644 > > --- a/system/Config.in > > +++ b/system/Config.in > > @@ -421,6 +421,7 @@ comment "automatic network configuration via DHCP needs ifupdown or busybox or n > > config BR2_SYSTEM_CONNECT_WIFI > > bool "Connect to a default wifi access point" > > depends on BR2_SYSTEM_DHCP != "" && BR2_PACKAGE_WPA_SUPPLICANT > > + select BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE if BR2_PACKAGE_SYSTEMD > > This needs some explanation. I don't see the service files requiring this > anywhere. > > On the other hand, the global service file does start wpa_supplicant with the > -u option so it would need dbus. > > > Regards, > Arnout > > > > > config BR2_SYSTEM_CONNECT_WIFI_SSID > > string "Access point SSID" -- Angelo Compagnucci Software Engineer angelo at amarulasolutions.com __________________________________ Amarula Solutions SRL Via le Canevare 30, 31100 Treviso, Veneto, IT T. +39 (0)42 243 5310 info at amarulasolutions.com www.amarulasolutions.com [`as] https://www.amarulasolutions.com| From flaniel at linux.microsoft.com Tue Oct 3 15:21:01 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Tue, 3 Oct 2023 18:21:01 +0300 Subject: [Buildroot] [PATCH 1/1] package/tbb: bump to version 2021.10.0. Message-ID: <20231003152101.40980-1-flaniel@linux.microsoft.com> Signed-off-by: Francis Laniel --- package/tbb/tbb.hash | 2 +- package/tbb/tbb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 579581cfe4..1caf81c5c5 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.8.0.tar.gz +sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index c3e06a4e6d..75cca5e99d 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -4,7 +4,7 @@ # ################################################################################ -TBB_VERSION = 2021.8.0 +TBB_VERSION = 2021.10.0 TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 -- 2.34.1 From takumiiinn at gmail.com Tue Oct 3 16:36:13 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Wed, 4 Oct 2023 01:36:13 +0900 Subject: [Buildroot] [PATCH] package/gsettings-desktop-schemas: bump to version 45.0 Message-ID: <20231003163614.1177692-1-takumiiinn@gmail.com> This update is required to install the latest version of the GNOME desktop. Currently, only gvfs depends on this package, and we have confirmed that gvfs can be built. Signed-off-by: Takumi Takahashi --- DEVELOPERS | 3 +++ .../gsettings-desktop-schemas/gsettings-desktop-schemas.hash | 4 ++-- .../gsettings-desktop-schemas/gsettings-desktop-schemas.mk | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..24d2f5c946 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2823,6 +2823,9 @@ F: package/reproc/ F: package/termcolor/ F: package/tl-expected/ +N: Takumi Takahashi +F: package/gsettings-desktop-schemas/ + N: Tan En De F: package/libkcapi/ diff --git a/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash b/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash index bad8eab91d..0d80c87e06 100644 --- a/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash +++ b/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/gsettings-desktop-schemas/3.36/gsettings-desktop-schemas-3.36.1.sha256sum -sha256 004bdbe43cf8290f2de7d8537e14d8957610ca479a4fa368e34dbd03f03ec9d9 gsettings-desktop-schemas-3.36.1.tar.xz +# From https://download.gnome.org/sources/gsettings-desktop-schemas/45/gsettings-desktop-schemas-45.0.sha256sum +sha256 365c8d04daf79b38c8b3dc9626349a024f9e4befdd31fede74b42f7a9fbe0ae2 gsettings-desktop-schemas-45.0.tar.xz # Hash for license file sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk b/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk index b77397d565..b47097b9fe 100644 --- a/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk +++ b/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk @@ -4,8 +4,8 @@ # ################################################################################ -GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR = 3.36 -GSETTINGS_DESKTOP_SCHEMAS_VERSION = $(GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR).1 +GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR = 45 +GSETTINGS_DESKTOP_SCHEMAS_VERSION = $(GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR).0 GSETTINGS_DESKTOP_SCHEMAS_SOURCE = gsettings-desktop-schemas-$(GSETTINGS_DESKTOP_SCHEMAS_VERSION).tar.xz GSETTINGS_DESKTOP_SCHEMAS_SITE = https://download.gnome.org/sources/gsettings-desktop-schemas/$(GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR) GSETTINGS_DESKTOP_SCHEMAS_INSTALL_STAGING = YES -- 2.42.0 From fontaine.fabrice at gmail.com Tue Oct 3 18:56:03 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 3 Oct 2023 20:56:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: bump to version 20230924 Message-ID: <20231003185603.233238-1-fontaine.fabrice@gmail.com> https://udpcast.linux.lu/mailman3/hyperkitty/list/udpcast at udpcast.linux.lu/thread/BXBS6HOFXCMOF3LKCOVWXDPRD43S6B3Z Signed-off-by: Fabrice Fontaine --- package/udpcast/udpcast.hash | 2 +- package/udpcast/udpcast.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/udpcast/udpcast.hash b/package/udpcast/udpcast.hash index 9ce91330fd..aca098d982 100644 --- a/package/udpcast/udpcast.hash +++ b/package/udpcast/udpcast.hash @@ -1,3 +1,3 @@ # locally computed hash -sha256 a3cebee7a87ecf1bca0645f125be78fbd7b37846a4da82fecef96b92cc64d050 udpcast-20211207.tar.gz +sha256 17b5cd8b1e54f7e2e53357ac02ee86e4198bf704096987a03a3b5c402a0ecea1 udpcast-20230924.tar.gz sha256 422befd3503b1f39a6027017f639874c1f274e37ec60ba3174894646b584ccbc COPYING diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 4ea73e20c7..64a0bfbd37 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -4,7 +4,7 @@ # ################################################################################ -UDPCAST_VERSION = 20211207 +UDPCAST_VERSION = 20230924 UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ -- 2.40.1 From giulio.benetti at benettiengineering.com Tue Oct 3 18:58:41 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 3 Oct 2023 20:58:41 +0200 Subject: [Buildroot] [PATCH] package/libnss: bump version to 3.94 Message-ID: <20231003185841.3613075-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/libnss/libnss.hash | 4 ++-- package/libnss/libnss.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash index a3b98b0f8c..50889f8d13 100644 --- a/package/libnss/libnss.hash +++ b/package/libnss/libnss.hash @@ -1,4 +1,4 @@ -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_93_RTM/src/SHA256SUMS -sha256 15f54bb72048eb105f8c0e936a04b899e74c3db9a19bbc1e00acee2af9476a8a nss-3.93.tar.gz +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_94_RTM/src/SHA256SUMS +sha256 463ae180ee9e5ee9e3ad4f629326657e236780cc865572a930a16520abad9dd8 nss-3.94.tar.gz # Locally calculated sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index abdce32efb..51694c77bf 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNSS_VERSION = 3.93 +LIBNSS_VERSION = 3.94 LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src LIBNSS_DISTDIR = dist -- 2.34.1 From yann.morin.1998 at free.fr Tue Oct 3 20:34:41 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:34:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: bump to version 20230924 In-Reply-To: <20231003185603.233238-1-fontaine.fabrice@gmail.com> References: <20231003185603.233238-1-fontaine.fabrice@gmail.com> Message-ID: <20231003203441.GE2957@scaer> Fabrice, All, On 2023-10-03 20:56 +0200, Fabrice Fontaine spake thusly: > https://udpcast.linux.lu/mailman3/hyperkitty/list/udpcast at udpcast.linux.lu/thread/BXBS6HOFXCMOF3LKCOVWXDPRD43S6B3Z > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/udpcast/udpcast.hash | 2 +- > package/udpcast/udpcast.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/udpcast/udpcast.hash b/package/udpcast/udpcast.hash > index 9ce91330fd..aca098d982 100644 > --- a/package/udpcast/udpcast.hash > +++ b/package/udpcast/udpcast.hash > @@ -1,3 +1,3 @@ > # locally computed hash > -sha256 a3cebee7a87ecf1bca0645f125be78fbd7b37846a4da82fecef96b92cc64d050 udpcast-20211207.tar.gz > +sha256 17b5cd8b1e54f7e2e53357ac02ee86e4198bf704096987a03a3b5c402a0ecea1 udpcast-20230924.tar.gz > sha256 422befd3503b1f39a6027017f639874c1f274e37ec60ba3174894646b584ccbc COPYING > diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk > index 4ea73e20c7..64a0bfbd37 100644 > --- a/package/udpcast/udpcast.mk > +++ b/package/udpcast/udpcast.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -UDPCAST_VERSION = 20211207 > +UDPCAST_VERSION = 20230924 > UDPCAST_SITE = http://www.udpcast.linux.lu/download > UDPCAST_DEPENDENCIES = host-m4 > UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ > -- > 2.40.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 3 20:34:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:34:52 +0200 Subject: [Buildroot] [PATCH] package/libnss: bump version to 3.94 In-Reply-To: <20231003185841.3613075-1-giulio.benetti@benettiengineering.com> References: <20231003185841.3613075-1-giulio.benetti@benettiengineering.com> Message-ID: <20231003203452.GF2957@scaer> Giulio, All, On 2023-10-03 20:58 +0200, Giulio Benetti spake thusly: > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libnss/libnss.hash | 4 ++-- > package/libnss/libnss.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash > index a3b98b0f8c..50889f8d13 100644 > --- a/package/libnss/libnss.hash > +++ b/package/libnss/libnss.hash > @@ -1,4 +1,4 @@ > -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_93_RTM/src/SHA256SUMS > -sha256 15f54bb72048eb105f8c0e936a04b899e74c3db9a19bbc1e00acee2af9476a8a nss-3.93.tar.gz > +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_94_RTM/src/SHA256SUMS > +sha256 463ae180ee9e5ee9e3ad4f629326657e236780cc865572a930a16520abad9dd8 nss-3.94.tar.gz > # Locally calculated > sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING > diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk > index abdce32efb..51694c77bf 100644 > --- a/package/libnss/libnss.mk > +++ b/package/libnss/libnss.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBNSS_VERSION = 3.93 > +LIBNSS_VERSION = 3.94 > LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz > LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src > LIBNSS_DISTDIR = dist > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 3 20:35:25 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:35:25 +0200 Subject: [Buildroot] [git commit] package/libnss: bump version to 3.94 Message-ID: <20231003203542.8633984173@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3edaa9def7809ae20d88b5cb48d01b4ce119d708 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Giulio Benetti Signed-off-by: Yann E. MORIN --- package/libnss/libnss.hash | 4 ++-- package/libnss/libnss.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash index a3b98b0f8c..50889f8d13 100644 --- a/package/libnss/libnss.hash +++ b/package/libnss/libnss.hash @@ -1,4 +1,4 @@ -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_93_RTM/src/SHA256SUMS -sha256 15f54bb72048eb105f8c0e936a04b899e74c3db9a19bbc1e00acee2af9476a8a nss-3.93.tar.gz +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_94_RTM/src/SHA256SUMS +sha256 463ae180ee9e5ee9e3ad4f629326657e236780cc865572a930a16520abad9dd8 nss-3.94.tar.gz # Locally calculated sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index e859f479bb..e6f4d2f42a 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNSS_VERSION = 3.93 +LIBNSS_VERSION = 3.94 LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src LIBNSS_DISTDIR = dist From yann.morin.1998 at free.fr Tue Oct 3 20:35:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:35:22 +0200 Subject: [Buildroot] [git commit] package/udpcast: bump to version 20230924 Message-ID: <20231003203542.7BDCA84171@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=24c8e0440bdd9035f1e7b23a0f90a130473a751e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://udpcast.linux.lu/mailman3/hyperkitty/list/udpcast at udpcast.linux.lu/thread/BXBS6HOFXCMOF3LKCOVWXDPRD43S6B3Z Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/udpcast/udpcast.hash | 2 +- package/udpcast/udpcast.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/udpcast/udpcast.hash b/package/udpcast/udpcast.hash index 9ce91330fd..aca098d982 100644 --- a/package/udpcast/udpcast.hash +++ b/package/udpcast/udpcast.hash @@ -1,3 +1,3 @@ # locally computed hash -sha256 a3cebee7a87ecf1bca0645f125be78fbd7b37846a4da82fecef96b92cc64d050 udpcast-20211207.tar.gz +sha256 17b5cd8b1e54f7e2e53357ac02ee86e4198bf704096987a03a3b5c402a0ecea1 udpcast-20230924.tar.gz sha256 422befd3503b1f39a6027017f639874c1f274e37ec60ba3174894646b584ccbc COPYING diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 4ea73e20c7..64a0bfbd37 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -4,7 +4,7 @@ # ################################################################################ -UDPCAST_VERSION = 20211207 +UDPCAST_VERSION = 20230924 UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ From yann.morin.1998 at free.fr Tue Oct 3 20:36:46 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:36:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: bump to version 2021.10.0. In-Reply-To: <20231003152101.40980-1-flaniel@linux.microsoft.com> References: <20231003152101.40980-1-flaniel@linux.microsoft.com> Message-ID: <20231003203646.GG2957@scaer> Francis, All, On 2023-10-03 18:21 +0300, Francis Laniel spake thusly: > Signed-off-by: Francis Laniel Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/tbb/tbb.hash | 2 +- > package/tbb/tbb.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > index 579581cfe4..1caf81c5c5 100644 > --- a/package/tbb/tbb.hash > +++ b/package/tbb/tbb.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.8.0.tar.gz > +sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz > sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt > diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > index c3e06a4e6d..75cca5e99d 100644 > --- a/package/tbb/tbb.mk > +++ b/package/tbb/tbb.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -TBB_VERSION = 2021.8.0 > +TBB_VERSION = 2021.10.0 > TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) > TBB_INSTALL_STAGING = YES > TBB_LICENSE = Apache-2.0 > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 3 20:36:23 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:36:23 +0200 Subject: [Buildroot] [git commit] package/tbb: bump to version 2021.10.0. Message-ID: <20231003203743.D29938417D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=74b50d553eafb0e3ec7a9a7eec5181d552b71707 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francis Laniel Signed-off-by: Yann E. MORIN --- package/tbb/tbb.hash | 2 +- package/tbb/tbb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 579581cfe4..1caf81c5c5 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.8.0.tar.gz +sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index c3e06a4e6d..75cca5e99d 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -4,7 +4,7 @@ # ################################################################################ -TBB_VERSION = 2021.8.0 +TBB_VERSION = 2021.10.0 TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 From yann.morin.1998 at free.fr Tue Oct 3 20:46:54 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:46:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcodec2: bump version to 1.2.0 In-Reply-To: <20231003124336.2837869-1-bernd@kuhls.net> References: <20231003124336.2837869-1-bernd@kuhls.net> Message-ID: <20231003204654.GH2957@scaer> Bernd, All, On 2023-10-03 14:43 +0200, Bernd Kuhls spake thusly: > Release notes: https://github.com/drowe67/codec2/releases/tag/1.2.0 > > Signed-off-by: Bernd Kuhls > --- > package/libcodec2/libcodec2.hash | 2 +- > package/libcodec2/libcodec2.mk | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libcodec2/libcodec2.hash b/package/libcodec2/libcodec2.hash > index edaa275bbc..828efa3e4d 100644 > --- a/package/libcodec2/libcodec2.hash > +++ b/package/libcodec2/libcodec2.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 44015b071968d98ee326012c498db6a8308bed1a7a914ecb6d4d8e2a354a4611 libcodec2-1.1.1.tar.gz > +sha256 cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449 libcodec2-1.2.0.tar.gz > sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING > diff --git a/package/libcodec2/libcodec2.mk b/package/libcodec2/libcodec2.mk > index 295dd8983f..5fc190aefd 100644 > --- a/package/libcodec2/libcodec2.mk > +++ b/package/libcodec2/libcodec2.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -LIBCODEC2_VERSION = 1.1.1 > -LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) > +LIBCODEC2_VERSION = 1.2.0 > +LIBCODEC2_SITE = $(call github,drowe67,codec2,$(LIBCODEC2_VERSION)) I was curious to see that they dopped the leading 'v' in front of tags, so I had a look at the repository, and indeed the 1.2.0 tag has no leading 'v'. But surprisingly, *there is no other tag*! Even the v1.1.1 tag that we were using so far is missing! So I had a look, and stumbled on: https://github.com/drowe67/codec2/issues/5 Basically, the full history was rewritten for some reason, the old repository has been moved to; https://github.com/drowe67/codec2-dev/ So, this is an important bit of information: we need to fix the existing maintenance branches to refer to the old repository (or backport this commit). I have added a blurb about that in the commit log, and applied to master. Regards, Yann E. MORIN. > LIBCODEC2_LICENSE = LGPL-2.1 > LIBCODEC2_LICENSE_FILES = COPYING > LIBCODEC2_INSTALL_STAGING = YES > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 3 20:39:26 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:39:26 +0200 Subject: [Buildroot] [git commit] package/libcodec2: bump version to 1.2.0 Message-ID: <20231003204721.13D7D8418D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=61b72fb9d490bf8b2e50b2da8e13699dee6b223e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The tag we currently use no longer exists in the upstream repository, as the history has ben "rewritten": https://github.com/drowe67/codec2/issues/5 Bump to the latest (and only) tag in the new repository. Release notes: https://github.com/drowe67/codec2/releases/tag/1.2.0 Signed-off-by: Bernd Kuhls [yann.morin.1998 at free.fr: explain about missing tag] Signed-off-by: Yann E. MORIN --- package/libcodec2/libcodec2.hash | 2 +- package/libcodec2/libcodec2.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcodec2/libcodec2.hash b/package/libcodec2/libcodec2.hash index edaa275bbc..828efa3e4d 100644 --- a/package/libcodec2/libcodec2.hash +++ b/package/libcodec2/libcodec2.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 44015b071968d98ee326012c498db6a8308bed1a7a914ecb6d4d8e2a354a4611 libcodec2-1.1.1.tar.gz +sha256 cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449 libcodec2-1.2.0.tar.gz sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING diff --git a/package/libcodec2/libcodec2.mk b/package/libcodec2/libcodec2.mk index 295dd8983f..5fc190aefd 100644 --- a/package/libcodec2/libcodec2.mk +++ b/package/libcodec2/libcodec2.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBCODEC2_VERSION = 1.1.1 -LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) +LIBCODEC2_VERSION = 1.2.0 +LIBCODEC2_SITE = $(call github,drowe67,codec2,$(LIBCODEC2_VERSION)) LIBCODEC2_LICENSE = LGPL-2.1 LIBCODEC2_LICENSE_FILES = COPYING LIBCODEC2_INSTALL_STAGING = YES From ajd at linux.ibm.com Tue Oct 3 23:47:34 2023 From: ajd at linux.ibm.com (Andrew Donnellan) Date: Wed, 4 Oct 2023 10:47:34 +1100 Subject: [Buildroot] [PATCH] package/libzlib: Switch to using HTTPS Message-ID: <20231003234734.525050-1-ajd@linux.ibm.com> Switch to using HTTPS for downloading libzlib from zlib.net. (zlib.net doesn't default to HTTPS but does suggest HTTPS in the permalink for the latest zlib release. Also works better with some corporate firewalls that get suspicious about zlib for some reason.) Signed-off-by: Andrew Donnellan --- package/libzlib/libzlib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libzlib/libzlib.mk b/package/libzlib/libzlib.mk index da452af8e9..e0a4e454e1 100644 --- a/package/libzlib/libzlib.mk +++ b/package/libzlib/libzlib.mk @@ -6,7 +6,7 @@ LIBZLIB_VERSION = 1.3 LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz -LIBZLIB_SITE = http://www.zlib.net +LIBZLIB_SITE = https://www.zlib.net LIBZLIB_LICENSE = Zlib LIBZLIB_LICENSE_FILES = LICENSE LIBZLIB_INSTALL_STAGING = YES -- 2.25.1 From thomas.petazzoni at bootlin.com Wed Oct 4 05:39:27 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 04 Oct 2023 05:39:27 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-03 Message-ID: <20231004053933.AAAB941479@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-03 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 19 | 13 | 0 | 32 | 2023.08.x | 11 | 13 | 0 | 24 | master | 84 | 115 | 1 | 200 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 12 gcc-final-12.3.0 | 9 alsa-lib-1.2.10 | 7 alsa-utils-1.2.10 | 7 unknown | 6 glibc-2.38-13-g92201f16cbcf... | 5 spirv-tools-1.3.261.1 | 5 bird-2.0.12 | 3 gobject-introspection-1.76.1 | 3 host-sentry-cli-2.20.3 | 3 linux-6.5.5 | 3 linux-pam-1.5.3 | 3 check-11970a7e112dfe243a2e6... | 2 elfutils-0.189 | 2 google-breakpad-c85eb4a59b6... | 2 libarchive-3.7.2 | 2 libnvme-1.5 | 2 mariadb-10.11.4 | 2 monit-5.33.0 | 2 openfpgaloader-0.10.0 | 2 s390-tools-2.29.0 | 2 util-linux-2.39.2 | 2 android-tools-4.2.2+git2013... | 1 apache-2.4.57 | 1 apcupsd-3.14.14 | 1 binutils-arc-2020.09-release | 1 brltty-6.5 | 1 crun-1.8.4 | 1 dahdi-linux-3.2.0 | 1 dc3dd-7.2.641 | 1 erlang-26.0.2 | 1 ffmpeg | 1 gcc-final-11.4.0 | 1 gcc-final-arc-2020.09-release | 1 host-rust-1.71.1 | 1 lapack-3.10.1 | 1 libglib2-2.76.1 | 1 libselinux-3.5 | 1 libsoup3-3.4.2 | 1 liquid-dsp-1.5.0 | 1 openal-1.22.0 | 1 perl-5.36.1 | 1 pound-4.8 | 1 rtl8822cs-758d861bfa4d18d39... | 1 stress-ng-0.15.07 | 1 systemd-254 | 1 trace-cmd-2.9.7 | 1 uclibc-1.0.44 | 1 xenomai-3.0.10 | 1 xvisor-0.3.2 | 1 zabbix-6.2.7 | 1 zlib-ng-2.1.3 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5084c27031302b6d736cb287fe5e9f2a48f21e6c | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/2744128687ac42cd29b38715765e7b8d98e5fa5e | microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/71272b1f5e8ce6c5b83d7fb7e951376c76c679cb | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/2d5ec8eee29b1af41d0a0e66acdca5d8434af8a1 | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/fe49d8ec944e4af9ddbe19bef72f90ee74f5d3c4 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7422536935268f8d6d1910d1a1e53b252c3c4975 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/37548748006710e5d2a96936919829e5b21c4a9e | powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/d120ebcf4e275493f732ca6d67ee4d2b854cb7a7 | s390x | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/25533ce6191661a83e05a49c68e14fde8554cc20 | microblazeel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f56979acd7c54180ed5a77c637006abda870e8cb | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/bb6c9d2fbc5d26ef8be52599bed7579443d329ff | arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/61a8ee243d7e6718d5510e977f067ae0b3635612 | arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5e6573c878adfae8cbdd000be3eeae844442a52a | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/0d34e277e83dc5d84ae990e5669a5913f72e7023 | powerpc64le | android-tools-4.2.2+git2013... | NOK | http://autobuild.buildroot.net/results/d7c814784d77cdeabb954164001027d1e09a290d | or1k | apache-2.4.57 | NOK | http://autobuild.buildroot.net/results/54b729e390fb312632e9dfc9dc69e8db65f51c9c | microblazeel | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/3566244f4ecd1849b31f568551009be5a0fec86f | arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/51e925dee2a240a9d257133827755127743bc9cd | sh4a | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/58bf48a08ec0c9cd2d49a668bd5f6acdab552014 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/55f52467129c6e6d4802d403f03b0c18b9f05a8f | i586 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/666823155b4711f1ccd7c1d15f44e99c15d6272d | mips | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/d237bd56f01c5658f21a79fda41ed2f3421fde3e | arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/f0b60edd69b2ae751bd28469b0aa07228cd7c180 | ORPH arm | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/537cbfdb44ffb7f8cb7e255a1575f64e72fb5c7d | ORPH powerpc | crun-1.8.4 | NOK | http://autobuild.buildroot.net/results/0de8d766dcf11399e4525666c72908c3bcc056dd | mips64 | dahdi-linux-3.2.0 | NOK | http://autobuild.buildroot.net/results/4e7f12cf1c546d041fc2b12638b53db89952bdd3 | arm | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/3720fca1120595f4a4019c92354227aff1c8d6db | ORPH or1k | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/9f272fef29ead73b0da375d9cf7735d6449744d1 | ORPH i686 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/7bd6490bbeaec8853205aef5044ef32fb2a7e095 | ORPH aarch64 | erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/11416d81d5b27fc0627b335a971154c088d5754a | i686 | ffmpeg | TIM | http://autobuild.buildroot.net/results/8bb2e47b1c44662c4221e9c92c1b6e677631afa0 | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/1999efdadc6a0e53e064ad9f5b67318bac337ed6 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/42638ba9c666ae08db4a9045c50f48a5f7cefc3d | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/3b32e117609e27f4545424b86e7cc3dc5e09d858 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/23cb7f23749868050c814dd7d49081c85e494a92 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6887e2566302a427dad2bd99217ab6fd4847b475 | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fdb143b103908a4f235515e48e0f47a4b0649ca9 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/a4c3c5c9a9da191a75874660dbb332054aaaa87d | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/54ae6c9c76ebaa643bbf3b9973db1e8f0093105e | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/948068a890f9ba310cb7359004a24f5240fe797e | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/2c78f19fb9bffcb48aacf36f00b78d3a2f61da0e | arceb | gcc-final-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/2e1bd6ff1634ef48e87dcb21aa65449c5a415ec0 | arc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/dafd3f371e7315d2ff025731e42483ee8db8b349 | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/409d70fedb25937591c994a1e93a15a6dfffec9e | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/c766f00f46772beba47b9d774ddf58ad05825c30 | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/dc08134c133abe0f0729f8cf5f4cdd8aee0d6e6b | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/605c8226bbcbc864638910a1985e0a957ac81bb2 | nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8a36d7b3a34266a54e2b10e4bfeecc642211aa77 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/dba268bae09aa463104fb6c18646a48ce0cfc523 | ORPH x86_64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/de2cbd904243e5dfd9ef41b6a8d82c5ef69aba9b | ORPH i686 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/a3dac512cd35feff647cfac77d456029a9fdc035 | mips | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/94e42083c0dc8fe647c3412a97ed8be7e7487c43 | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/ef607282f270f82f3ac5496c39adb4120bb37443 | aarch64 | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/eb146d53ba0a0f79fb2eb876f9d6e6d03d09d669 | microblaze | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/67c51de13e77248b608ce76db65578d459af8f78 | or1k | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/51d72948f4772bad1c7cb7f40e665a7df5580106 | sh4 | lapack-3.10.1 | NOK | http://autobuild.buildroot.net/results/a7f43ec38c3c173174e2a2ae0fc10966aa65a59e | aarch64_be | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/40f3cc1e8a4494f058ea866e215dd63fdb312e71 | i686 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/e8b78be63cd93dbf0b042fed36085c9a5142e05c | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/8cf1a815c3647663b6e9bba2c270aca58bd56056 | arc | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/b10625ce859ad1ffa6d340b831653af839bc5935 | powerpc64 | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/1b215c0c4f27df278856160ba21bad2f3f6bb807 | mips | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/71a9feb57123165917b893641be6ec52a7ae396a | sparc | libsoup3-3.4.2 | NOK | http://autobuild.buildroot.net/results/113ab714fce41687778ce984c7e2498840f57e3a | mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/6b056ccb6060fb0a7de0fc9292624572795a1a3b | ORPH sh4aeb | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/47d0bd8ddb7c1494d15c790fce9165ea35573519 | ORPH mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/f800ef7cc0398611bd760abcf2b0144a8f808728 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/053a0bc2bdd052500f73fe5777a295e8176e3cc9 | ORPH arc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/fd32a70a37d27c4de201702100bac98f44feb6d6 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/7a84d5ec5337f671ca884abf64ee85ad39558049 | ORPH arm | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/0df772f8c3508f3593c764d7a9e3c1afdb49982f | or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/60215b985137f524352326da3f054f6bbc5ae1f2 | ORPH s390x | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/1a022da81024fa56e71c0203ad58dcf15de57c8b | ORPH arceb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/3f3cf42c9b7665a44a8751703365fc05c8452f11 | i586 | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/ac56cce97613ac5a66b3826a62df2488cbe50545 | mips | openal-1.22.0 | NOK | http://autobuild.buildroot.net/results/52406ba98be7b205d47846c4c3dc0532f906d2ae | ORPH microblaze | openfpgaloader-0.10.0 | NOK | http://autobuild.buildroot.net/results/570042111f137cf9c8b352734f73635dbed3e0c7 | riscv64 | openfpgaloader-0.10.0 | NOK | http://autobuild.buildroot.net/results/e7f04cf486546238e973195f5fea263535861de8 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/159dcac966ba87ec2b85d8cf481155be8ca2c9eb | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a97089b3474431c84a7c3cb9d8502846d9ca78a1 | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c0b22705373b2f4546738e697dd851593c1e72da | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/8ca3b486ee44648ccf716c2c5181f1c86c0ac6b5 | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/af96c703c16320feb856da2c37cf72abd185878f | arm | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ebad068a18cf0fd9bbedf21bd5a90f3b5659e8ca | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/4b0e089c033f31cceebf57a8de5fa9b6f2d624b8 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a15f131a81c688b82e7bf34ba077a44b93a518de | m68k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/dc34c458b985576f5b5709511ef318bca6af224d | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e878fd6b45123cd2fad57b4a5e1c1ed34a162241 | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/403fcc69443b073933f31aac6a6e5eab4d321986 | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/8695a8fa194c6f60a3dabde66f318279977381ca | arceb | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/b364c1201137f67a558d7ac44b172009e0b6a2fe | sh4a | pound-4.8 | NOK | http://autobuild.buildroot.net/results/849be4fc3686a57257f6611a13fbd349396e01da | ORPH powerpc64 | rtl8822cs-758d861bfa4d18d39... | NOK | http://autobuild.buildroot.net/results/3600153fa9d7bb267c835ef896e35cd11458163e | s390x | s390-tools-2.29.0 | NOK | http://autobuild.buildroot.net/results/05f5cfffea55a9cb1c2ee7eca3941427cc03eca0 | s390x | s390-tools-2.29.0 | NOK | http://autobuild.buildroot.net/results/3e4a888d37b46d11495cc73bc41fbdfb52416c6e | arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/914c78cd31c25c858d6f4debae57e7eada35cbf3 | ORPH riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/e17f00b58ff8fa6c30bb147a112ef910c51206d1 | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/4675b118d0776d00ee9b9c2a1b90f1cae855c049 | ORPH powerpc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/7454f257522e63d7593d0d3872462d30b7654bab | ORPH riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/4c5e95784cc82b3a1f25cb929263a6637cd0246e | ORPH aarch64_be | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/c47e425d7bbb240e9b59898e88815a8ebad279fc | mipsel | systemd-254 | NOK | http://autobuild.buildroot.net/results/f2c194906a0bb77e087f8c36469fecca07c6ec4d | riscv64 | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/1c74f2a10b0121e99cb4d17323261c3c525f4900 | riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/68bc2f560ff88d8f0c5eb22d367e9e342ec59138 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/511781eafa3bb616935710ae1191622f0585ffb6 | arm | unknown | NOK | http://autobuild.buildroot.net/results/0df80904d22740a7f5fb666345c504aac7129221 | mips | unknown | NOK | http://autobuild.buildroot.net/results/c2363a82f354a13aba0caf26dc3a07e0763039e1 | m68k | unknown | NOK | http://autobuild.buildroot.net/results/f04b6dfb18dbef9232b5f91e5ca09fa7f02274a6 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/8454f9b9a21819c333562f2b29776d6b91282480 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/a42e5423e699606a83c47bf541e17bdea0e4325b | mips64 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/ca9f27ed058eda855ad107ec21896a16dbe26885 | ORPH powerpc | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/dbb71479c221d25bafbb10bdb4c8f220538a7302 | ORPH aarch64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/8f583268d06eecc58bb692f6c4905aaa56463514 | x86_64 | xvisor-0.3.2 | NOK | http://autobuild.buildroot.net/results/798aea4e7e2d35ee60b503a3b6b61d6c9ac7a8c2 | s390x | zabbix-6.2.7 | NOK | http://autobuild.buildroot.net/results/b494e94feffc06c92e9643503163613b0f9970d6 | powerpc | zlib-ng-2.1.3 | NOK | http://autobuild.buildroot.net/results/f47a36a91cb86d4b51ce53aee909ba6829facc3e | ORPH Classification of failures by reason for 2023.02.x -------------------------------------------------- wavemon-0.9.4 | 2 xenomai-3.0.10 | 2 bird-2.0.12 | 1 host-rust-1.67.1 | 1 lttng-modules-2.13.7 | 1 poke-3.0 | 1 python-pycryptodomex-3.16.0 | 1 reaver-1.6.6 | 1 suricata-6.0.14 | 1 unknown | 1 zxing-cpp-1.4.0 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/bb8a8798fdbe434bd8e4e942f6030e6d22feb96a | sparc64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/70b9a117b225111e4408dacf046f73432ebe9b8f | arceb | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/bd9adea5bf301db0ca0fc72670efa40d28802060 | sparc64 | poke-3.0 | NOK | http://autobuild.buildroot.net/results/efb53678d2b45c8f4d418fa1d1e8d8b98952bdfc | ORPH arm | python-pycryptodomex-3.16.0 | NOK | http://autobuild.buildroot.net/results/cc1adc4890e4e667773e5f95717d3d43f7dfdb36 | arceb | reaver-1.6.6 | NOK | http://autobuild.buildroot.net/results/a9f931ee4f58f18fda0330228b6a13dc32527918 | aarch64 | suricata-6.0.14 | NOK | http://autobuild.buildroot.net/results/ae8265d8c2bb754f682e3a1eda72844896f54645 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/7e2b72076d2b1c535a78f51f26748ddef4b45b20 | arm | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/9cde125ccee9073b79cdeb19699fe0ba4b0c29ae | ORPH sh4 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/30716304a3d5d2a75d422e015f60aa9058887d16 | ORPH s390x | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/149bb05cd384c0cc3848fdaa6d6bbba5d817d7d5 | aarch64_be | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/f513841dc711ac5198d0a8cd1dbc298808360dd7 | arm | zxing-cpp-1.4.0 | NOK | http://autobuild.buildroot.net/results/1e5cadb01fe8dd0326cbfde1a2eadf046d0dab57 | Classification of failures by reason for 2023.08.x -------------------------------------------------- bird-2.0.12 | 3 util-linux-2.39.1 | 3 batman-adv-2022.3 | 1 host-go-1.20.8 | 1 host-rust-1.71.1 | 1 host-sentry-cli-2.8.0 | 1 mongodb-4.2.18 | 1 perl-5.36.1 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- sparc64 | batman-adv-2022.3 | NOK | http://autobuild.buildroot.net/results/c1a7a57b76952b22df343810982903befed25796 | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/f2d53af8d935cd75bd4e49201c24764d6966b17a | arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/7ffe9d26000dbb1189409bf642be4e0935535512 | s390x | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8d421857d2a45caec215e6f4ae745332625d9376 | mips64el | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/578206def12e7645d443d5f38a28d4b045956672 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/f6826415ba18f1162dca4b06ad9a7d3a68e53712 | mipsel | host-sentry-cli-2.8.0 | NOK | http://autobuild.buildroot.net/results/efc6eb9d63e1cef24154967e31f7c3ac0705b881 | x86_64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/8227f4ca55d8cc2c1872e2658feb60645e86cfab | arm | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/d0a39e4e5787a19e2c3f1b73bedd1bc027d81c6a | mips | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/662b3886dfc53d94e99577511c4a2d2a8c74428f | ORPH arceb | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/47879811b223a7f4a50875c82718432e6cd4a8fe | ORPH mips | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/532ebd6c1a0dbcf83c6d82f689139220200d129a | ORPH mips64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/4a2eedf13a357b638df2244bdf1fa43365742b34 | -- http://autobuild.buildroot.net From flaniel at linux.microsoft.com Wed Oct 4 07:02:21 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Wed, 04 Oct 2023 10:02:21 +0300 Subject: [Buildroot] [PATCH 1/1] package/tbb: bump to version 2021.10.0. In-Reply-To: <20231003203646.GG2957@scaer> References: <20231003152101.40980-1-flaniel@linux.microsoft.com> <20231003203646.GG2957@scaer> Message-ID: <12296775.O9o76ZdvQC@pwmachine> Hi. Le mardi 3 octobre 2023, 23:36:46 EEST Yann E. MORIN a ?crit : > Francis, All, > > On 2023-10-03 18:21 +0300, Francis Laniel spake thusly: > > Signed-off-by: Francis Laniel > > Applied to master, thanks. Thank you! For the record, this is part of a series to bump sysdig to latest version but they added extra complication to have it built the "buildroot way" and I was not successful yesterday at getting it compiled. I will nonetheless try again later but I cannot really guarantee I will come up with something. > Regards, > Yann E. MORIN. Best regards. > > --- > > > > package/tbb/tbb.hash | 2 +- > > package/tbb/tbb.mk | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > > index 579581cfe4..1caf81c5c5 100644 > > --- a/package/tbb/tbb.hash > > +++ b/package/tbb/tbb.hash > > @@ -1,3 +1,3 @@ > > > > # Locally calculated > > > > -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b > > tbb-2021.8.0.tar.gz +sha256 > > eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b > > tbb-2021.10.0.tar.gz> > > sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 > > LICENSE.txt> > > diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > > index c3e06a4e6d..75cca5e99d 100644 > > --- a/package/tbb/tbb.mk > > +++ b/package/tbb/tbb.mk > > @@ -4,7 +4,7 @@ > > > > # > > ######################################################################### > > #######> > > -TBB_VERSION = 2021.8.0 > > +TBB_VERSION = 2021.10.0 > > > > TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) > > TBB_INSTALL_STAGING = YES > > TBB_LICENSE = Apache-2.0 > > > > -- > > 2.34.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot From laurent at vivier.eu Wed Oct 4 06:58:35 2023 From: laurent at vivier.eu (Laurent Vivier) Date: Wed, 4 Oct 2023 08:58:35 +0200 Subject: [Buildroot] [PATCH] package/petitboot: bump to version 1.14 Message-ID: <20231004065835.2190872-1-laurent@vivier.eu> Signed-off-by: Laurent Vivier --- package/petitboot/petitboot.hash | 2 +- package/petitboot/petitboot.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/petitboot/petitboot.hash b/package/petitboot/petitboot.hash index bf7bf56a6751..a9a21f2c1b69 100644 --- a/package/petitboot/petitboot.hash +++ b/package/petitboot/petitboot.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 b42ae4fb2a81e9cf68f727c3f54c6312788c654bd97628ec9ba61b19a68990e6 petitboot-v1.13.tar.gz +sha256 fa2367370d3ce5dd9910ab08a0832071e2508c8bf75cfec6d3b9807fbefc507a petitboot-v1.14.tar.gz sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk index 8d220f88f45a..0992111cb1ec 100644 --- a/package/petitboot/petitboot.mk +++ b/package/petitboot/petitboot.mk @@ -4,7 +4,7 @@ # ################################################################################ -PETITBOOT_VERSION = 1.13 +PETITBOOT_VERSION = 1.14 PETITBOOT_SOURCE = petitboot-v$(PETITBOOT_VERSION).tar.gz PETITBOOT_SITE = https://github.com/open-power/petitboot/releases/download/v$(PETITBOOT_VERSION) PETITBOOT_DEPENDENCIES = elfutils ncurses udev host-bison host-flex lvm2 -- 2.41.0 From stefan at agner.ch Wed Oct 4 09:59:26 2023 From: stefan at agner.ch (Stefan Agner) Date: Wed, 04 Oct 2023 11:59:26 +0200 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump version to v1.6.22 In-Reply-To: References: <20230727232235.449788-1-christian@aperture.us> <08DC739C-F115-4DB2-9F9A-0CD6E9BFEA42@agner.ch> <23f2b3bd59cb6d860ea52b566eacfdb8@agner.ch> <87r0mgay0o.fsf@48ers.dk> Message-ID: On 2023-10-02 20:28, Christian Stewart wrote: > Hi Peter, > > https://github.com/containerd/containerd/issues/9139#issuecomment-1736477534 > > On Sat, Sep 30, 2023 at 1:03?AM Peter Korsgaard wrote: >> If cri is only needed for when containerd is used with kubernetes, then >> perhaps we should disable it by default so other people don't need to >> debug the same issue. > > I think we can safely disable cri on the default config. At that point we can also pass the no_cri build tag. I'll create a PR to do just that. -- Stefan From christian at aperture.us Wed Oct 4 10:04:35 2023 From: christian at aperture.us (Christian Stewart) Date: Wed, 4 Oct 2023 03:04:35 -0700 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump version to v1.6.22 In-Reply-To: References: <20230727232235.449788-1-christian@aperture.us> <08DC739C-F115-4DB2-9F9A-0CD6E9BFEA42@agner.ch> <23f2b3bd59cb6d860ea52b566eacfdb8@agner.ch> <87r0mgay0o.fsf@48ers.dk> Message-ID: Stefan, On Wed, Oct 4, 2023, 2:59 AM Stefan Agner wrote: > On 2023-10-02 20:28, Christian Stewart wrote: > > Hi Peter, > > > > > https://github.com/containerd/containerd/issues/9139#issuecomment-1736477534 > > > > On Sat, Sep 30, 2023 at 1:03?AM Peter Korsgaard > wrote: > >> If cri is only needed for when containerd is used with kubernetes, then > >> perhaps we should disable it by default so other people don't need to > >> debug the same issue. > > > > I think we can safely disable cri on the default config. > > At that point we can also pass the no_cri build tag. > > I'll create a PR to do just that. > Maybe make it a adjustable config option, since I definitely want to use kubernetes + cri w/ containerd in buildroot. Best, Christian -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefan at agner.ch Wed Oct 4 10:08:46 2023 From: stefan at agner.ch (Stefan Agner) Date: Wed, 04 Oct 2023 12:08:46 +0200 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump version to v1.6.22 In-Reply-To: References: <20230727232235.449788-1-christian@aperture.us> <08DC739C-F115-4DB2-9F9A-0CD6E9BFEA42@agner.ch> <23f2b3bd59cb6d860ea52b566eacfdb8@agner.ch> <87r0mgay0o.fsf@48ers.dk> Message-ID: On 2023-10-04 12:04, Christian Stewart wrote: > Stefan, > > On Wed, Oct 4, 2023, 2:59 AM Stefan Agner wrote: > >> On 2023-10-02 20:28, Christian Stewart wrote: >>> Hi Peter, >>> >>> https://github.com/containerd/containerd/issues/9139#issuecomment-1736477534 >>> >>> On Sat, Sep 30, 2023 at 1:03?AM Peter Korsgaard wrote: >>>> If cri is only needed for when containerd is used with kubernetes, then >>>> perhaps we should disable it by default so other people don't need to >>>> debug the same issue. >>> >>> I think we can safely disable cri on the default config. >> >> At that point we can also pass the no_cri build tag. >> >> I'll create a PR to do just that. > > Maybe make it a adjustable config option, since I definitely want to use kubernetes + cri w/ containerd in buildroot. Ok, I'll make a config for that. That said, I would not disable it via config in that case as I would expect someone who opts to build CRI will make sure that the prerequisites (such as writable /etc as it seems) are taken care of. -- Stefan From peter at korsgaard.com Wed Oct 4 11:44:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 04 Oct 2023 13:44:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.1 In-Reply-To: <20231003071536.297478-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 09:15:36 +0200") References: <20231003071536.297478-1-bernd@kuhls.net> Message-ID: <87jzs2fw7k.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: > https://exim.org/static/doc/security/CVE-2023-zdi.txt > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 4 11:45:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 04 Oct 2023 13:45:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsndfile: bump to version 1.2.2 In-Reply-To: <20231003123659.2704273-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 14:36:59 +0200") References: <20231003123659.2704273-1-bernd@kuhls.net> Message-ID: <87fs2qfw6f.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://github.com/libsndfile/libsndfile/releases/tag/1.2.1 > https://github.com/libsndfile/libsndfile/releases/tag/1.2.2 > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 4 11:45:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 04 Oct 2023 13:45:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/libdeflate: bump version to 1.19 In-Reply-To: <20231003123902.2706496-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 14:39:02 +0200") References: <20231003123902.2706496-1-bernd@kuhls.net> Message-ID: <87bkdefw6a.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://github.com/ebiggers/libdeflate/blob/master/NEWS.md > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 4 11:47:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 04 Oct 2023 13:47:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/libvpx: bump version to 1.13.1 In-Reply-To: <20231003123430.2693572-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 14:34:30 +0200") References: <20231003123430.2693572-1-bernd@kuhls.net> Message-ID: <877co2fw3i.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Removed patch which was backported from upstream and is now included > in this release. > Signed-off-by: Bernd Kuhls You forgot to drop the _IGNORE_CVES entry for that patch. Committed after fixing that, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 4 11:45:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 13:45:24 +0200 Subject: [Buildroot] [git commit] package/libdeflate: bump version to 1.19 Message-ID: <20231004114740.0E781841EF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5d2f4004d27d3937fd8a4a6d5ed244379ecc0fad branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://github.com/ebiggers/libdeflate/blob/master/NEWS.md Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/libdeflate/libdeflate.hash | 2 +- package/libdeflate/libdeflate.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libdeflate/libdeflate.hash b/package/libdeflate/libdeflate.hash index c6a50efbfc..8609f5ab02 100644 --- a/package/libdeflate/libdeflate.hash +++ b/package/libdeflate/libdeflate.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 225d982bcaf553221c76726358d2ea139bb34913180b20823c782cede060affd libdeflate-1.18.tar.gz +sha256 27bf62d71cd64728ff43a9feb92f2ac2f2bf748986d856133cc1e51992428c25 libdeflate-1.19.tar.gz sha256 5d246dd2537307b80fed9ba5fdddf5d0fe7a8f023393a071182b9daed56b40fe COPYING diff --git a/package/libdeflate/libdeflate.mk b/package/libdeflate/libdeflate.mk index 00de2e82a9..3000a58407 100644 --- a/package/libdeflate/libdeflate.mk +++ b/package/libdeflate/libdeflate.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBDEFLATE_VERSION = 1.18 +LIBDEFLATE_VERSION = 1.19 LIBDEFLATE_SITE = $(call github,ebiggers,libdeflate,v$(LIBDEFLATE_VERSION)) LIBDEFLATE_LICENSE = MIT LIBDEFLATE_LICENSE_FILES = COPYING From peter at korsgaard.com Wed Oct 4 11:45:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 13:45:17 +0200 Subject: [Buildroot] [git commit] package/libsndfile: bump to version 1.2.2 Message-ID: <20231004114740.05BAA841ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=850efb92b56253cace2ba8bce94df0afe347037a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://github.com/libsndfile/libsndfile/releases/tag/1.2.1 https://github.com/libsndfile/libsndfile/releases/tag/1.2.2 Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/libsndfile/libsndfile.hash | 2 +- package/libsndfile/libsndfile.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libsndfile/libsndfile.hash b/package/libsndfile/libsndfile.hash index be3ba41dc6..94d6f96335 100644 --- a/package/libsndfile/libsndfile.hash +++ b/package/libsndfile/libsndfile.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -sha256 0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a libsndfile-1.2.0.tar.xz +sha256 3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e libsndfile-1.2.2.tar.xz # Locally calculated sha256 ad01ea5cd2755f6048383c8d54c88459cd6fcb17757c5c8892f8c5ea060f6140 COPYING diff --git a/package/libsndfile/libsndfile.mk b/package/libsndfile/libsndfile.mk index d8d1725444..89eb4f3c1d 100644 --- a/package/libsndfile/libsndfile.mk +++ b/package/libsndfile/libsndfile.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSNDFILE_VERSION = 1.2.0 +LIBSNDFILE_VERSION = 1.2.2 LIBSNDFILE_SOURCE = libsndfile-$(LIBSNDFILE_VERSION).tar.xz LIBSNDFILE_SITE = https://github.com/libsndfile/libsndfile/releases/download/$(LIBSNDFILE_VERSION) LIBSNDFILE_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 4 11:44:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 13:44:29 +0200 Subject: [Buildroot] [git commit] package/exim: security bump version to 4.96.1 Message-ID: <20231004114739.EA4CF841EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=657d10b34b1ba2fc3478a3cfad7ac7fcf4ce1094 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: https://exim.org/static/doc/security/CVE-2023-zdi.txt Signed-off-by: Bernd Kuhls Reviewed-by: Luca Ceresoli Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 2336aaa5c6..6cdeea0614 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 299a56927b2eb3477daafd3c5bda02bc67e5c4e5898a7aeaf2740875278cf1a3 exim-4.96.tar.xz +sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 6b863661465a0b9897c1b71875c5196a1903cf560dd85de45b08242b9731edb2bc10eb56945d62e477e5d15cc7a8d493915bff2ca81689673a8091c66f62c89e exim-4.96.tar.xz +sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index b84a51d6de..f5695d048d 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96 +EXIM_VERSION = 4.96.1 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Wed Oct 4 11:46:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 13:46:24 +0200 Subject: [Buildroot] [git commit] package/libvpx: bump version to 1.13.1 Message-ID: <20231004114740.191EB841F0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=07a03a8549b0e1ed92993311be337c7a382b6446 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Removed patch which was backported from upstream and is now included in this release. Signed-off-by: Bernd Kuhls [Peter: drop CVE ignore for patch] Signed-off-by: Peter Korsgaard --- .../0002-VP8-disallow-thread-count-changes.patch | 38 ---------------------- package/libvpx/libvpx.hash | 2 +- package/libvpx/libvpx.mk | 5 +-- 3 files changed, 2 insertions(+), 43 deletions(-) diff --git a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch deleted file mode 100644 index d625255a9f..0000000000 --- a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 3fbd1dca6a4d2dad332a2110d646e4ffef36d590 Mon Sep 17 00:00:00 2001 -From: James Zern -Date: Mon, 25 Sep 2023 18:55:59 -0700 -Subject: [PATCH] VP8: disallow thread count changes - -Currently allocations are done at encoder creation time. Going from -threaded to non-threaded would cause a crash. - -Bug: chromium:1486441 -Change-Id: Ie301c2a70847dff2f0daae408fbef1e4d42e73d4 - -Fixes CVE-2023-5217: https://www.cve.org/CVERecord?id=CVE-2023-5217 - -Upstream: https://github.com/webmproject/libvpx/commit/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 -Upstream: https://chromium.googlesource.com/webm/libvpx/+/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 - -[Bernd: Removed patch for test/encode_api_test.cc] -Signed-off-by: Bernd Kuhls ---- - vp8/encoder/onyx_if.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c -index c65afc643bf..c5e9970c3cc 100644 ---- a/vp8/encoder/onyx_if.c -+++ b/vp8/encoder/onyx_if.c -@@ -1447,6 +1447,11 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) { - last_h = cpi->oxcf.Height; - prev_number_of_layers = cpi->oxcf.number_of_layers; - -+ if (cpi->initial_width) { -+ // TODO(https://crbug.com/1486441): Allow changing thread counts; the -+ // allocation is done once in vp8_create_compressor(). -+ oxcf->multi_threaded = cpi->oxcf.multi_threaded; -+ } - cpi->oxcf = *oxcf; - - switch (cpi->oxcf.Mode) { diff --git a/package/libvpx/libvpx.hash b/package/libvpx/libvpx.hash index c88e6840cf..7cda8cc2eb 100644 --- a/package/libvpx/libvpx.hash +++ b/package/libvpx/libvpx.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 cb2a393c9c1fae7aba76b950bb0ad393ba105409fe1a147ccd61b0aaa1501066 libvpx-1.13.0.tar.gz +sha256 00dae80465567272abd077f59355f95ac91d7809a2d3006f9ace2637dd429d14 libvpx-1.13.1.tar.gz sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 LICENSE sha256 cc3273e0694ea5896145e0677699b53471b03ea43021ddc50e7923fbb9f5023c PATENTS diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index b558c41981..9092ca6a8e 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -4,16 +4,13 @@ # ################################################################################ -LIBVPX_VERSION = 1.13.0 +LIBVPX_VERSION = 1.13.1 LIBVPX_SITE = $(call github,webmproject,libvpx,v$(LIBVPX_VERSION)) LIBVPX_LICENSE = BSD-3-Clause LIBVPX_LICENSE_FILES = LICENSE PATENTS LIBVPX_CPE_ID_VENDOR = webmproject LIBVPX_INSTALL_STAGING = YES -# 0002-VP8-disallow-thread-count-changes.patch -LIBVPX_IGNORE_CVES += CVE-2023-5217 - # ld is being used with cc options. therefore, pretend ld is cc. LIBVPX_CONF_ENV = \ LD="$(TARGET_CC)" \ From stefan at agner.ch Wed Oct 4 13:01:34 2023 From: stefan at agner.ch (Stefan Agner) Date: Wed, 4 Oct 2023 15:01:34 +0200 Subject: [Buildroot] [PATCH] package/docker-engine: Drop experimental build flag Message-ID: <6e269338d657663f4008a5acb9da58ba26f59898.1696424479.git.stefan@agner.ch> Since Docker v1.13.0 experimental only exists as a runtime flag. Drop the config from buildroot as well. Signed-off-by: Stefan Agner --- package/docker-engine/Config.in | 3 --- package/docker-engine/docker-engine.mk | 3 --- 2 files changed, 6 deletions(-) diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 570b2ff681..71bf670f17 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -19,9 +19,6 @@ config BR2_PACKAGE_DOCKER_ENGINE if BR2_PACKAGE_DOCKER_ENGINE -config BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL - bool "build experimental features" - config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS bool "btrfs filesystem driver" depends on BR2_USE_MMU # btrfs-progs diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index a8f47254a4..369a1b2826 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -34,9 +34,6 @@ ifeq ($(BR2_INIT_SYSTEMD),y) DOCKER_ENGINE_DEPENDENCIES += systemd DOCKER_ENGINE_TAGS += systemd journald endif -ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL),y) -DOCKER_ENGINE_TAGS += experimental -endif ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS),y) DOCKER_ENGINE_DEPENDENCIES += btrfs-progs -- 2.42.0 From enki at fsck.pl Wed Oct 4 13:12:52 2023 From: enki at fsck.pl (Maciej Grela) Date: Wed, 4 Oct 2023 15:12:52 +0200 Subject: [Buildroot] [PATCH v2 0/3] Support for D-Link DNS-320L In-Reply-To: <20231003094612.62025-2-enki@fsck.pl> References: <20231003094612.62025-2-enki@fsck.pl> Message-ID: <20231004131256.2113233-1-enki@fsck.pl> Hello, This is a short patchset to support a D-Link DNS-320L NAS. There are two device-specific packages which are required for proper system management on the device as well as a out-of-tree DTS. I am going to send it upstream when I learn more about device trees. I have added myself as a maintainer to the DEVELOPERS file for all relevant parts. The packages have been checked with no issues detected: ? buildroot git:(master) ? utils/docker-run make check-package 389271 lines processed 0 warnings generated An example boot log is presented below: https://gist.github.com/enkiusz/482fab68ef7a630c8cfaad6f13f63919 The packages build successfully using test-pkg: ? buildroot git:(master) ? cat iniparser.config BR2_PACKAGE_INIPARSER=y ? buildroot git:(master) ? utils/test-pkg --config iniparser.config -p iniparser bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: OK bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK 6 builds, 0 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ? buildroot git:(master) ? ? buildroot git:(master) ? cat dns320l-daemon.config BR2_PACKAGE_DNS320L_DAEMON=y ? buildroot git:(master) ? utils/test-pkg --config dns320l-daemon.config -p dns320l-daemon bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK 6 builds, 1 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ? buildroot git:(master) ? --- changes v1 -> v2: - don't build iniparser on the host - properly handle building static and shared iniparser in all combos - disable dns320l-daemon on platforms without fork() - DNS-320L is manufactured by D-Link not Netgear, change commit summaries to reflect that Maciej Grela (3): package/iniparser: new package package/dns320l-daemon: new package board/d-link/dns320l: new board DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ package/Config.in | 2 + package/dns320l-daemon/Config.in | 8 + package/dns320l-daemon/S50dns320l-daemon | 37 +++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 +++ package/iniparser/Config.in | 6 + package/iniparser/iniparser.hash | 2 + package/iniparser/iniparser.mk | 56 +++++ 11 files changed, 383 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk -- 2.39.2 From enki at fsck.pl Wed Oct 4 13:12:53 2023 From: enki at fsck.pl (Maciej Grela) Date: Wed, 4 Oct 2023 15:12:53 +0200 Subject: [Buildroot] [PATCH v2 1/3] package/iniparser: new package In-Reply-To: <20231003094612.62025-2-enki@fsck.pl> References: <20231003094612.62025-2-enki@fsck.pl> Message-ID: <20231004131256.2113233-2-enki@fsck.pl> iniparser is a required dependency of dns320l-daemon Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/iniparser/Config.in | 6 ++++ package/iniparser/iniparser.hash | 2 ++ package/iniparser/iniparser.mk | 56 ++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..228e9eb1e3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2085,6 +2085,7 @@ menu "Other" source "package/gtest/Config.in" source "package/gumbo-parser/Config.in" source "package/highway/Config.in" + source "package/iniparser/Config.in" source "package/jemalloc/Config.in" source "package/lapack/Config.in" source "package/libabseil-cpp/Config.in" diff --git a/package/iniparser/Config.in b/package/iniparser/Config.in new file mode 100644 index 0000000000..4932869943 --- /dev/null +++ b/package/iniparser/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_INIPARSER + bool "iniparser" + help + ini file parser + + https://github.com/ndevilla/iniparser diff --git a/package/iniparser/iniparser.hash b/package/iniparser/iniparser.hash new file mode 100644 index 0000000000..a745062fcd --- /dev/null +++ b/package/iniparser/iniparser.hash @@ -0,0 +1,2 @@ +# From https://github.com/ndevilla/iniparser/releases +sha256 960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae iniparser-4.1.tar.gz diff --git a/package/iniparser/iniparser.mk b/package/iniparser/iniparser.mk new file mode 100644 index 0000000000..f3f74601f3 --- /dev/null +++ b/package/iniparser/iniparser.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# iniparser +# +################################################################################ + +INIPARSER_VERSION = 4.1 +INIPARSER_SITE = $(call github,ndevilla,iniparser,v$(INIPARSER_VERSION)) +INIPARSER_INSTALL_STAGING = YES +INIPARSER_LICENSE = MIT +INIPARSER_LICENSE_FILES = LICENSE +INIPARSER_SO_TARGET = libiniparser.so.1 +INIPARSER_A_TARGET = libiniparser.a +INIPARSER_BUILD_TARGETS = +INIPARSER_STAGING_INSTALL_TGTS = +INIPARSER_TARGET_INSTALL_TGTS = + +INIPARSER_CONFIGURE_OPTS = $(TARGET_CONFIGURE_OPTS) + +ifeq ($(BR2_STATIC_LIBS),y) +INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET) +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_A_TARGET) +else ifeq ($(BR2_SHARED_LIBS),y) +INIPARSER_LINK_SO = y + +INIPARSER_BUILD_TARGETS = $(INIPARSER_SO_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_SO_TARGET) + +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET) +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +INIPARSER_LINK_SO = y + +INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET) + +# Don't install static libs on target +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET) +endif + +define INIPARSER_BUILD_CMDS + $(INIPARSER_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(INIPARSER_BUILD_TARGETS) +endef + +define INIPARSER_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 0644 $(@D)/src/iniparser.h $(@D)/src/dictionary.h $(STAGING_DIR)/usr/include/ + $(foreach target,$(INIPARSER_STAGING_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(STAGING_DIR)/usr/lib/) + $(if $(INIPARSER_LINK_SO),ln -s -r $(STAGING_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(STAGING_DIR)/usr/lib/libiniparser.so) +endef + +define INIPARSER_INSTALL_TARGET_CMDS + $(foreach target,$(INIPARSER_TARGET_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(TARGET_DIR)/usr/lib/) + $(if $(INIPARSER_LINK_SO),ln -s -r $(TARGET_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(TARGET_DIR)/usr/lib/libiniparser.so) +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Wed Oct 4 13:12:54 2023 From: enki at fsck.pl (Maciej Grela) Date: Wed, 4 Oct 2023 15:12:54 +0200 Subject: [Buildroot] [PATCH v2 2/3] package/dns320l-daemon: new package In-Reply-To: <20231003094612.62025-2-enki@fsck.pl> References: <20231003094612.62025-2-enki@fsck.pl> Message-ID: <20231004131256.2113233-3-enki@fsck.pl> dns320l-daemon is a simple system management daemon for the D-Link DNS-320L NAS. It handles power, Wake-on-LAN, temperature, fan speed and some LEDs. Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/dns320l-daemon/Config.in | 8 +++++ package/dns320l-daemon/S50dns320l-daemon | 37 ++++++++++++++++++++++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 ++++++++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk diff --git a/package/Config.in b/package/Config.in index 228e9eb1e3..f1c451890f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2684,6 +2684,7 @@ menu "System tools" source "package/dcron/Config.in" source "package/ddrescue/Config.in" source "package/debianutils/Config.in" + source "package/dns320l-daemon/Config.in" source "package/docker-cli/Config.in" source "package/docker-compose/Config.in" source "package/docker-engine/Config.in" diff --git a/package/dns320l-daemon/Config.in b/package/dns320l-daemon/Config.in new file mode 100644 index 0000000000..35bd30a9e5 --- /dev/null +++ b/package/dns320l-daemon/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_DNS320L_DAEMON + bool "dns320l-daemon" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_INIPARSER + help + MCU Daemon for the D-Link DNS-320L + + https://www.aboehler.at/hg/dns320l-daemon diff --git a/package/dns320l-daemon/S50dns320l-daemon b/package/dns320l-daemon/S50dns320l-daemon new file mode 100644 index 0000000000..3e0b4a3339 --- /dev/null +++ b/package/dns320l-daemon/S50dns320l-daemon @@ -0,0 +1,37 @@ +#!/bin/sh + +DAEMON="dns320l-daemon" + +start() { + printf 'Starting %s: ' "$DAEMON" + start-stop-daemon -S -x "/usr/bin/$DAEMON" + status="$?" + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -x "/usr/bin/$DAEMON" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + restart;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac diff --git a/package/dns320l-daemon/dns320l-daemon.hash b/package/dns320l-daemon/dns320l-daemon.hash new file mode 100644 index 0000000000..4396eb8f5d --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.hash @@ -0,0 +1 @@ +sha256 eac74a64f0d4127748e629b8a5f723eab58ac83064a3f249f97b85bcd7faf061 tip.tar.bz2 diff --git a/package/dns320l-daemon/dns320l-daemon.mk b/package/dns320l-daemon/dns320l-daemon.mk new file mode 100644 index 0000000000..fd87ac1be3 --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# dns320l-daemon +# +################################################################################ + +DNS320L_DAEMON_VERSION = 1.0 +DNS320L_DAEMON_SOURCE = tip.tar.bz2 +DNS320L_DAEMON_SITE = https://www.aboehler.at/hg/dns320l-daemon/archive +DNS320L_DAEMON_LICENSE = GPL-3 +DNS320L_DAEMON_DEPENDENCIES = iniparser + +define DNS320L_DAEMON_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" +endef + +define DNS320L_DAEMON_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/dns320l-daemon $(TARGET_DIR)/usr/bin/ + $(INSTALL) -D -m 0600 $(@D)/dns320l-daemon.ini $(TARGET_DIR)/etc/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/dns320l-daemon.service $(TARGET_DIR)/lib/systemd/system/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/dns320l-daemon/S50dns320l-daemon $(TARGET_DIR)/etc/init.d/S50dns320l-daemon +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Wed Oct 4 13:12:55 2023 From: enki at fsck.pl (Maciej Grela) Date: Wed, 4 Oct 2023 15:12:55 +0200 Subject: [Buildroot] [PATCH v2 3/3] board/d-link/dns320l: new board In-Reply-To: <20231003094612.62025-2-enki@fsck.pl> References: <20231003094612.62025-2-enki@fsck.pl> Message-ID: <20231004131256.2113233-4-enki@fsck.pl> Add support for the D-Link DNS-320L using: - U-Boot 1.1.4 (in device flash) - Linux kernel 6.5.5 This is a 2-Bay 3.5'' SATA NAS with the following specs: - Marvell 88F6702 (1 GHz) CPU - 256 MiB DDR2 RAM - 128 MiB NAND Flash - 2 x SATA - 1 x 1000 Mbit/s Ethernet port - 1 x USB 2.0 The builtin bootloader banner is: U-Boot 1.1.4 (Aug 22 2012 - 17:06:54) Marvell version: 3.6.0.DNS-320L.01 Manufacturer product page: http://sharecenter.dlink.com/products/DNS-320 Device wiki: https://wikidevi.wi-cat.ru/D-Link_DNS-320L_rev_A1 Signed-off-by: Maciej Grela --- DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ 3 files changed, 240 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..76e8644073 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1950,6 +1950,12 @@ N: Ludwig Kormann F: board/in-circuit/ F: configs/icnova* +N: Maciej Grela +F: board/d-link/dns320l/ +F: configs/dns320l_defconfig +F: package/dns320l-daemon +F: package/iniparser + N: Maeva Manuel F: board/freescale/imx8qmmek/ F: configs/freescale_imx8qmmek_defconfig diff --git a/board/d-link/dns320l/dts/kirkwood-dns320l.dts b/board/d-link/dns320l/dts/kirkwood-dns320l.dts new file mode 100644 index 0000000000..660508a51a --- /dev/null +++ b/board/d-link/dns320l/dts/kirkwood-dns320l.dts @@ -0,0 +1,218 @@ +/dts-v1/; + +/* + * Device Tree file for DLINK DNS-320L + * + * Copyright (C) 2015, Sunke Schl?ters + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + * + * + * This file is based on the work of Andreas B?hler : + * - http://www.aboehler.at/doku/doku.php/projects:dns320l + * - http://www.aboehler.at/hg/linux-dns320l/file/ba7a60ad7687/linux-3.12/kirkwood-dns320l.dts + */ + +#include "marvell/kirkwood.dtsi" +#include "marvell/kirkwood-6281.dtsi" + +/ { + model = "D-Link DNS-320L"; + compatible = "dlink,dns-320l", "marvell,kirkwood-88f6702", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + stdout-path = &uart0; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>; + pinctrl-names = "default"; + + button at 1 { + label = "Reset push button"; + linux,code = ; + gpios = <&gpio0 28 1>; + }; + button at 2 { + label = "USB unmount button"; + linux,code = ; + gpios = <&gpio0 27 1>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pmx_led_usb_blue &pmx_led_red_right_hdd + &pmx_led_red_left_hdd &pmx_led_usb_orange>; + pinctrl-names = "default"; + + blue-usb { + label = "usb_blue"; + gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + }; + orange-usb { + label = "usb_orange"; + gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; + }; + orange-l_hdd { + label = "hdd1_orange"; + gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; + }; + orange-r_hdd { + label = "hdd2_orange"; + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; + }; + }; + + ocp at f1000000 { + pinctrl: pin-controller at 10000 { + + pinctrl-0 = <&pmx_button_power>; + pinctrl-names = "default"; + + pmx_sata0: pmx-sata0 { + marvell,pins = "mpp20"; + marvell,function = "sata0"; + }; + pmx_sata1: pmx-sata1 { + marvell,pins = "mpp21"; + marvell,function = "sata1"; + }; + pmx_led_red_right_hdd: pmx-led-red-right-hdd { + marvell,pins = "mpp22"; + marvell,function = "gpio"; + }; + pmx_led_red_left_hdd: pmx-led-red-left-hdd { + marvell,pins = "mpp23"; + marvell,function = "gpio"; + }; + pmx_power_sata: pmx-power-sata { + marvell,pins = "mpp24"; + marvell,function = "gpio"; + }; + pmx_led_usb_blue: pmx-led-usb-blue { + marvell,pins = "mpp25"; + marvell,function = "gpio"; + }; + pmx_led_usb_orange: pmx-led-usb-orange { + marvell,pins = "mpp26"; + marvell,function = "gpio"; + }; + pmx_button_usb_copy: pmx-button-usb-copy { + marvell,pins = "mpp27"; + marvell,function = "gpio"; + }; + pmx_button_reset: pmx-button-reset { + marvell,pins = "mpp28"; + marvell,function = "gpio"; + }; + pmx_button_power: pmx-button-power { // I can't get this one to trigger a button press... + marvell,pins = "mpp29"; + marvell,function = "gpio"; + }; + }; + sata at 80000 { + status = "okay"; + nr-ports = <2>; + }; + serial at 12000 { + status = "okay"; + }; + + serial at 12100 { + pinctrl-0 = <&pmx_uart1>; + pinctrl-names = "default"; + status = "okay"; + }; + }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_power_sata>; + pinctrl-names = "default"; + + sata_power: regulator at 1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "SATA Power"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio1 24 0>; + }; + }; +}; + +&nand { + pinctrl-0 = <&pmx_nand>; + pinctrl-names = "default"; + status = "okay"; + chip-delay = <35>; + + partition at 0 { + label = "u-boot"; + reg = <0x0000000 0x100000>; + read-only; + }; + + partition at 100000 { + label = "uImage"; + reg = <0x0100000 0x500000>; + }; + + partition at 600000 { + label = "ramdisk"; + reg = <0x0600000 0x500000>; + }; + + partition at b00000 { + label = "image"; + reg = <0x0b00000 0x6400000>; + }; + + partition at 6f00000 { + label = "mini firmware"; + reg = <0x6f00000 0xa00000>; + }; + + partition at 7900000 { + label = "config"; + reg = <0x7900000 0x500000>; + }; + + partition at 7e00000 { + label = "my-dlink"; + reg = <0x7e00000 0x200000>; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy at 0 { + reg = <0>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port at 0 { + phy-handle = <ðphy0>; + }; +}; diff --git a/configs/dns320l_defconfig b/configs/dns320l_defconfig new file mode 100644 index 0000000000..f281984267 --- /dev/null +++ b/configs/dns320l_defconfig @@ -0,0 +1,16 @@ +BR2_arm=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_SYSTEM_DHCP="eth0" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.5" +BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" +BR2_LINUX_KERNEL_APPENDED_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/d-link/dns320l/dts/kirkwood-dns320l.dts" +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_CPIO_UIMAGE=y + +# The package is required for proper power management +BR2_PACKAGE_DNS320L_DAEMON=y -- 2.39.2 From peter at korsgaard.com Wed Oct 4 13:32:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 15:32:33 +0200 Subject: [Buildroot] [PATCH] package/nano: really disable nanorc for !BR2_PACKAGE_FILE Message-ID: <20231004133233.507482-1-peter@korsgaard.com> Commit 3c4fa30f7abf (package/nano: fix tiny build) tried to explicitly disable libmagic/coloring/nanorc, but accidently passed 2x --disable-libmagic instead of --disable-nanorc. Fix that. Cc: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/nano/nano.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/nano/nano.mk b/package/nano/nano.mk index 8a2003b92a..8b93527bec 100644 --- a/package/nano/nano.mk +++ b/package/nano/nano.mk @@ -34,7 +34,7 @@ ifeq ($(BR2_PACKAGE_FILE),y) NANO_DEPENDENCIES += file NANO_CONF_OPTS += --enable-libmagic --enable-color --enable-nanorc else -NANO_CONF_OPTS += --disable-libmagic --disable-libmagic --disable-color +NANO_CONF_OPTS += --disable-libmagic --disable-color --disable-nanorc endif # BR2_PACKAGE_FILE endif # BR2_PACKAGE_NANO_TINY -- 2.30.2 From adeep at lexina.in Wed Oct 4 13:27:56 2023 From: adeep at lexina.in (Viacheslav Bocharov) Date: Wed, 4 Oct 2023 16:27:56 +0300 Subject: [Buildroot] [PATCH] package/rtl8822cs: Bump driver version Message-ID: <20231004132756.548326-1-adeep@lexina.in> Bump driver version. Fix build failures: powerpc64 http://autobuild.buildroot.net/results/3600153fa9d7bb267c835ef896e35cd11458163e Signed-off-by: Viacheslav Bocharov --- package/rtl8822cs/rtl8822cs.hash | 2 +- package/rtl8822cs/rtl8822cs.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rtl8822cs/rtl8822cs.hash b/package/rtl8822cs/rtl8822cs.hash index aa3c86ce80..4b44512913 100644 --- a/package/rtl8822cs/rtl8822cs.hash +++ b/package/rtl8822cs/rtl8822cs.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 666b5312c372664b115d29fc2b2974244b0512db27ffa1c810fae30d1c714063 rtl8822cs-758d861bfa4d18d39e4297c550fd684c9817eb0d.tar.gz +sha256 b3b8543ff6d6d602ffaf60342969830edc8205917b96d004f84ed79524894dc7 rtl8822cs-2e4e99ae1502b173a938357dc1087e49475b26ed.tar.gz diff --git a/package/rtl8822cs/rtl8822cs.mk b/package/rtl8822cs/rtl8822cs.mk index 2db769aa69..6036acb864 100644 --- a/package/rtl8822cs/rtl8822cs.mk +++ b/package/rtl8822cs/rtl8822cs.mk @@ -4,7 +4,7 @@ # ################################################################################ -RTL8822CS_VERSION = 758d861bfa4d18d39e4297c550fd684c9817eb0d +RTL8822CS_VERSION = 2e4e99ae1502b173a938357dc1087e49475b26ed RTL8822CS_SITE = $(call github,jethome-ru,rtl88x2cs,$(RTL8822CS_VERSION)) RTL8822CS_LICENSE = GPL-2.0 -- 2.34.1 From thomas.perale at essensium.com Wed Oct 4 14:22:56 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:22:56 +0200 Subject: [Buildroot] [PATCH 0/6] support for a pre-built Go compiler Message-ID: <20231004142303.203520-1-thomas.perale@essensium.com> From: Thomas Perale Improvement suggested on the buildroot TODO list (https://www.elinux.org/Buildroot#Todo_list). This patch adds support for a pre-built version of the Go compiler that doesn't requires users to go through the different compilation stages of the Go compiler and speeds up the overall build time. This is a new version of a patch I proposed for the same feature last year (see https://lore.kernel.org/buildroot/CA+h8R2pNRrBsChKS3PHQtT0_rsVF3Wi3LwMTD9jKFoKf1ot2-A at mail.gmail.com/#b) and with a fix of the typo I made on the [PATCH 6/6]. It introduces a new directory structure for host compilers with different providers: package/ ?? go/ <-- Virtual package ? ?? go-src/ <-- Build from source option ? ?? go-bin/ <-- Download pre-built option ? ?? go-bootstrap-stage1/ <-- Dependency for go-bootstrap-stage2 ? ?? go-bootstrap-stage2/ <-- Dependency for go-src ? ?? go.mk <-- Common variables ? ?? Config.in <-- Common variables/virtual package definition The subdirectory structure is used to put the `GO_VERSION` variable in common between the different provider. This subdirectory proposal should be extended to the Rust compiler case and NodeJS proposal Thomas Petazzoni did (https://patchwork.ozlabs.org/project/buildroot/list/?series=319967) to unify the naming of for the different compilers options. Thomas Perale (6): DEVELOPERS: add Thomas Perale for 'go' package/go: new subdirectory for go variants package/go: make host package a virtual package package/pkg-golang: select go compiler package/go/go-bin: new go provider support/testing: add tests for Go providers .checkpackageignore | 2 +- DEVELOPERS | 5 +- package/Config.in.host | 2 - package/balena-engine/Config.in | 1 + package/cni-plugins/Config.in | 1 + package/containerd/Config.in | 1 + package/crucible/Config.in | 1 + package/delve/Config.in | 1 + package/delve/Config.in.host | 1 + package/docker-cli/Config.in | 1 + package/docker-compose/Config.in | 1 + package/docker-engine/Config.in | 1 + package/embiggen-disk/Config.in | 1 + package/flannel/Config.in | 1 + package/gitlab-runner/Config.in | 1 + package/go/Config.in.host | 44 +++++++++++++++ package/go/go-bin/Config.in.host | 14 +++++ package/go/go-bin/go-bin.hash | 8 +++ package/go/go-bin/go-bin.mk | 19 +++++++ .../go-bootstrap-stage1/Config.in.host | 0 .../go-bootstrap-stage1.hash | 0 .../go-bootstrap-stage1.mk | 0 .../go-bootstrap-stage2/Config.in.host | 0 .../go-bootstrap-stage2.hash | 0 .../go-bootstrap-stage2.mk | 0 ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{go.hash => go-src/go-src.hash} | 0 package/go/go-src/go-src.mk | 54 +++++++++++++++++++ package/go/go.mk | 42 ++------------- package/gocryptfs/Config.in | 1 + package/mender-artifact/Config.in.host | 1 + package/mender-connect/Config.in | 1 + package/mender/Config.in | 1 + package/moby-buildkit/Config.in | 1 + package/moby-buildkit/Config.in.host | 1 + package/nerdctl/Config.in | 1 + package/runc/Config.in | 1 + package/runc/Config.in.host | 1 + package/tinifier/Config.in | 1 + package/wtfutil/Config.in | 1 + support/testing/tests/package/test_go.py | 41 ++++++++++++++ 42 files changed, 211 insertions(+), 43 deletions(-) create mode 100644 package/go/go-bin/Config.in.host create mode 100644 package/go/go-bin/go-bin.hash create mode 100644 package/go/go-bin/go-bin.mk rename package/{ => go}/go-bootstrap-stage1/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.hash (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.mk (100%) rename package/{ => go}/go-bootstrap-stage2/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.hash (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.mk (100%) rename package/go/{ => go-src}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{ => go-src}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{go.hash => go-src/go-src.hash} (100%) create mode 100644 package/go/go-src/go-src.mk create mode 100644 support/testing/tests/package/test_go.py -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:22:57 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:22:57 +0200 Subject: [Buildroot] [PATCH 1/6] DEVELOPERS: add Thomas Perale for 'go' In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-2-thomas.perale@essensium.com> From: Thomas Perale Signed-off-by: Thomas Perale --- DEVELOPERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..4681b2a21f 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2898,6 +2898,9 @@ F: package/frotz/ F: package/kvm-unit-tests/ F: package/xorcurses/ +N: Thomas Perale +F: package/go/ + N: Thomas Petazzoni F: arch/Config.in.arm F: board/beaglev/ -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:22:58 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:22:58 +0200 Subject: [Buildroot] [PATCH 2/6] package/go: new subdirectory for go variants In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-3-thomas.perale@essensium.com> From: Thomas Perale Move every go compiler-related packages into a newly created package/go/ subdirectory. All the common variables are kept in package/go/go.mk and package/go/Config.in.host. This subdirectory structure move the GO_VERSION variable in common in the package/go/go.mk file. In the next commits host-go will be turned into a virtual-package and the common GO_VERSION force the providers to use the same Go compiler version. Also, the subdirectory structure force the evaluation of the common GO_VERSION before the providers access it. Signed-off-by: Thomas Perale --- .checkpackageignore | 2 +- DEVELOPERS | 2 - package/Config.in.host | 2 - package/go/Config.in.host | 3 ++ .../go-bootstrap-stage1/Config.in.host | 0 .../go-bootstrap-stage1.hash | 0 .../go-bootstrap-stage1.mk | 0 .../go-bootstrap-stage2/Config.in.host | 0 .../go-bootstrap-stage2.hash | 0 .../go-bootstrap-stage2.mk | 0 package/go/go.mk | 40 +------------- ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{ => go}/go.hash | 0 package/go/go/go.mk | 53 +++++++++++++++++++ 15 files changed, 59 insertions(+), 43 deletions(-) rename package/{ => go}/go-bootstrap-stage1/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.hash (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.mk (100%) rename package/{ => go}/go-bootstrap-stage2/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.hash (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.mk (100%) rename package/go/{ => go}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{ => go}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{ => go}/go.hash (100%) create mode 100644 package/go/go/go.mk diff --git a/.checkpackageignore b/.checkpackageignore index 28de1745e4..becaf6a9fc 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -514,7 +514,7 @@ package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch Upstream package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch Upstream package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch Upstream package/gnuplot/0001-configure-add-without-demo-option.patch Upstream -package/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream +package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream package/gob2/0001-dont-include-from-prefix.patch Upstream package/gobject-introspection/0001-disable-tests.patch Upstream package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch Upstream diff --git a/DEVELOPERS b/DEVELOPERS index 4681b2a21f..b9c7b4f1a9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -586,8 +586,6 @@ F: package/docker-engine/ F: package/embiggen-disk/ F: package/fuse-overlayfs/ F: package/go/ -F: package/go-bootstrap-stage1/ -F: package/go-bootstrap-stage2/ F: package/gocryptfs/ F: package/mbpfan/ F: package/moby-buildkit/ diff --git a/package/Config.in.host b/package/Config.in.host index c80842c33a..3a8e613fa3 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -44,8 +44,6 @@ menu "Host utilities" source "package/genpart/Config.in.host" source "package/gnupg/Config.in.host" source "package/go/Config.in.host" - source "package/go-bootstrap-stage1/Config.in.host" - source "package/go-bootstrap-stage2/Config.in.host" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" diff --git a/package/go/Config.in.host b/package/go/Config.in.host index b87b862cec..277d75e2b6 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -31,3 +31,6 @@ config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + +source "package/go/go-bootstrap-stage1/Config.in.host" +source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go-bootstrap-stage1/Config.in.host b/package/go/go-bootstrap-stage1/Config.in.host similarity index 100% rename from package/go-bootstrap-stage1/Config.in.host rename to package/go/go-bootstrap-stage1/Config.in.host diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.hash b/package/go/go-bootstrap-stage1/go-bootstrap-stage1.hash similarity index 100% rename from package/go-bootstrap-stage1/go-bootstrap-stage1.hash rename to package/go/go-bootstrap-stage1/go-bootstrap-stage1.hash diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.mk b/package/go/go-bootstrap-stage1/go-bootstrap-stage1.mk similarity index 100% rename from package/go-bootstrap-stage1/go-bootstrap-stage1.mk rename to package/go/go-bootstrap-stage1/go-bootstrap-stage1.mk diff --git a/package/go-bootstrap-stage2/Config.in.host b/package/go/go-bootstrap-stage2/Config.in.host similarity index 100% rename from package/go-bootstrap-stage2/Config.in.host rename to package/go/go-bootstrap-stage2/Config.in.host diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash b/package/go/go-bootstrap-stage2/go-bootstrap-stage2.hash similarity index 100% rename from package/go-bootstrap-stage2/go-bootstrap-stage2.hash rename to package/go/go-bootstrap-stage2/go-bootstrap-stage2.hash diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk b/package/go/go-bootstrap-stage2/go-bootstrap-stage2.mk similarity index 100% rename from package/go-bootstrap-stage2/go-bootstrap-stage2.mk rename to package/go/go-bootstrap-stage2/go-bootstrap-stage2.mk diff --git a/package/go/go.mk b/package/go/go.mk index 6f080be5c0..21051a2050 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -5,14 +5,7 @@ ################################################################################ GO_VERSION = 1.21.1 -GO_SITE = https://storage.googleapis.com/golang -GO_SOURCE = go$(GO_VERSION).src.tar.gz -GO_LICENSE = BSD-3-Clause -GO_LICENSE_FILES = LICENSE -GO_CPE_ID_VENDOR = golang - -HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 HOST_GO_GOPATH = $(HOST_DIR)/share/go-path HOST_GO_HOST_CACHE = $(HOST_DIR)/share/host-go-cache HOST_GO_ROOT = $(HOST_DIR)/lib/go @@ -96,15 +89,6 @@ else HOST_GO_CGO_ENABLED = 0 endif -HOST_GO_CROSS_ENV = \ - CC_FOR_TARGET="$(TARGET_CC)" \ - CXX_FOR_TARGET="$(TARGET_CXX)" \ - GOOS="linux" \ - GOARCH=$(GO_GOARCH) \ - $(if $(GO_GO386),GO386=$(GO_GO386)) \ - $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ - GO_ASSUME_CROSSCOMPILING=1 - else # !BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS # host-go can still be used to build packages for the host. No need to set all # the arch stuff since we will not be cross-compiling. @@ -123,27 +107,7 @@ HOST_GO_HOST_ENV = \ CGO_CXXFLAGS="$(HOST_CXXFLAGS)" \ CGO_LDFLAGS="$(HOST_LDFLAGS)" -# The go build system is not compatible with ccache, so use -# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. -HOST_GO_MAKE_ENV = \ - GO111MODULE=off \ - GOCACHE=$(HOST_GO_HOST_CACHE) \ - GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ - GOROOT_FINAL=$(HOST_GO_ROOT) \ - GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" \ - GOOS=linux \ - CC=$(HOSTCC_NOCCACHE) \ - CXX=$(HOSTCXX_NOCCACHE) \ - CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ - $(HOST_GO_CROSS_ENV) - -define HOST_GO_BUILD_CMDS - cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) -endef - -define HOST_GO_INSTALL_CMDS +define GO_BINARIES_INSTALL $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt @@ -165,4 +129,4 @@ define HOST_GO_INSTALL_CMDS find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef -$(eval $(host-generic-package)) +include $(sort $(wildcard package/go/*/*.mk)) diff --git a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch similarity index 100% rename from package/go/0001-build.go-explicit-option-for-crosscompilation.patch rename to package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch similarity index 100% rename from package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch rename to package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch diff --git a/package/go/go.hash b/package/go/go/go.hash similarity index 100% rename from package/go/go.hash rename to package/go/go/go.hash diff --git a/package/go/go/go.mk b/package/go/go/go.mk new file mode 100644 index 0000000000..8e3780eb29 --- /dev/null +++ b/package/go/go/go.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# go +# +################################################################################ + +GO_SITE = https://storage.googleapis.com/golang +GO_SOURCE = go$(GO_VERSION).src.tar.gz + +GO_LICENSE = BSD-3-Clause +GO_LICENSE_FILES = LICENSE +GO_CPE_ID_VENDOR = golang + +HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 + +ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) + +HOST_GO_CROSS_ENV = \ + CC_FOR_TARGET="$(TARGET_CC)" \ + CXX_FOR_TARGET="$(TARGET_CXX)" \ + GOOS="linux" \ + GOARCH=$(GO_GOARCH) \ + $(if $(GO_GO386),GO386=$(GO_GO386)) \ + $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ + GO_ASSUME_CROSSCOMPILING=1 + +endif + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_MAKE_ENV = \ + GO111MODULE=off \ + GOCACHE=$(HOST_GO_HOST_CACHE) \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ + GOROOT_FINAL=$(HOST_GO_ROOT) \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + GOOS=linux \ + CC=$(HOSTCC_NOCCACHE) \ + CXX=$(HOSTCXX_NOCCACHE) \ + CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ + $(HOST_GO_CROSS_ENV) + +define HOST_GO_BUILD_CMDS + cd $(@D)/src && \ + $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) +endef + +define HOST_GO_INSTALL_CMDS + $(GO_BINARIES_INSTALL) +endef + +$(eval $(host-generic-package)) -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:22:59 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:22:59 +0200 Subject: [Buildroot] [PATCH 3/6] package/go: make host package a virtual package In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-4-thomas.perale@essensium.com> From: Thomas Perale Turn host-go into a virtual package, which has two providers: - host-go-src, which build host-go from source based on the same logic that was previously used in package/go/go/go.mk, now moved in package/go/go-src/go-src.mk to remove any ambiguity on the role of the package. - host-go-bin, which will be introduced in the next commit and installs a pre-built Go compiler. The usage of a virtual package enables the support for pre-built Go compiler which reduce the build time for of host-go. A similar solution is proposed for host-rust. By default, host-go is built from sources to keep the same behaviour as the former version. Signed-off-by: Thomas Perale --- .checkpackageignore | 2 +- package/go/Config.in.host | 32 +++++++++++++++++++ ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{go/go.hash => go-src/go-src.hash} | 0 package/go/{go/go.mk => go-src/go-src.mk} | 25 ++++++++------- package/go/go.mk | 2 ++ 7 files changed, 48 insertions(+), 13 deletions(-) rename package/go/{go => go-src}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{go => go-src}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{go/go.hash => go-src/go-src.hash} (100%) rename package/go/{go/go.mk => go-src/go-src.mk} (68%) diff --git a/.checkpackageignore b/.checkpackageignore index becaf6a9fc..ca4b2a8afb 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -514,7 +514,7 @@ package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch Upstream package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch Upstream package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch Upstream package/gnuplot/0001-configure-add-without-demo-option.patch Upstream -package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream +package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch Upstream package/gob2/0001-dont-include-from-prefix.patch Upstream package/gobject-introspection/0001-disable-tests.patch Upstream package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch Upstream diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 277d75e2b6..742d484420 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -32,5 +32,37 @@ config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS +config BR2_PACKAGE_HOST_GO + bool "host go compiler" + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + help + Compiler for the Go language + + https://go.dev + +if BR2_PACKAGE_HOST_GO + +choice + prompt "Go compiler variant" + default BR2_PACKAGE_HOST_GO_SRC + help + Select a Go compiler variant. + + Default to 'host-go-src'. + +config BR2_PACKAGE_HOST_GO_SRC + bool "host go (source)" + help + This package will build the go compiler for the host. + +endchoice + +config BR2_PACKAGE_PROVIDES_HOST_GO + string + # Default to host-go-src + default "host-go-src" if BR2_PACKAGE_HOST_GO_SRC + +endif + source "package/go/go-bootstrap-stage1/Config.in.host" source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch similarity index 100% rename from package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch rename to package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch diff --git a/package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/go-src/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch similarity index 100% rename from package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch rename to package/go/go-src/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch diff --git a/package/go/go/go.hash b/package/go/go-src/go-src.hash similarity index 100% rename from package/go/go/go.hash rename to package/go/go-src/go-src.hash diff --git a/package/go/go/go.mk b/package/go/go-src/go-src.mk similarity index 68% rename from package/go/go/go.mk rename to package/go/go-src/go-src.mk index 8e3780eb29..07809ecb3e 100644 --- a/package/go/go/go.mk +++ b/package/go/go-src/go-src.mk @@ -1,21 +1,22 @@ ################################################################################ # -# go +# go-src # ################################################################################ -GO_SITE = https://storage.googleapis.com/golang -GO_SOURCE = go$(GO_VERSION).src.tar.gz +GO_SRC_SITE = https://storage.googleapis.com/golang +GO_SRC_SOURCE = go$(GO_VERSION).src.tar.gz -GO_LICENSE = BSD-3-Clause -GO_LICENSE_FILES = LICENSE -GO_CPE_ID_VENDOR = golang +GO_SRC_LICENSE = BSD-3-Clause +GO_SRC_LICENSE_FILES = LICENSE +GO_SRC_CPE_ID_VENDOR = golang -HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 +HOST_GO_SRC_PROVIDES = host-go +HOST_GO_SRC_DEPENDENCIES = host-go-bootstrap-stage2 ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) -HOST_GO_CROSS_ENV = \ +HOST_GO_SRC_CROSS_ENV = \ CC_FOR_TARGET="$(TARGET_CC)" \ CXX_FOR_TARGET="$(TARGET_CXX)" \ GOOS="linux" \ @@ -28,7 +29,7 @@ endif # The go build system is not compatible with ccache, so use # HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. -HOST_GO_MAKE_ENV = \ +HOST_GO_SRC_MAKE_ENV = \ GO111MODULE=off \ GOCACHE=$(HOST_GO_HOST_CACHE) \ GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ @@ -41,12 +42,12 @@ HOST_GO_MAKE_ENV = \ CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ $(HOST_GO_CROSS_ENV) -define HOST_GO_BUILD_CMDS +define HOST_GO_SRC_BUILD_CMDS cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) + $(HOST_GO_SRC_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) endef -define HOST_GO_INSTALL_CMDS +define HOST_GO_SRC_INSTALL_CMDS $(GO_BINARIES_INSTALL) endef diff --git a/package/go/go.mk b/package/go/go.mk index 21051a2050..42ea218e6c 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -129,4 +129,6 @@ define GO_BINARIES_INSTALL find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef +$(eval $(host-virtual-package)) + include $(sort $(wildcard package/go/*/*.mk)) -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:23:00 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:23:00 +0200 Subject: [Buildroot] [PATCH 4/6] package/pkg-golang: select go compiler In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-5-thomas.perale@essensium.com> From: Thomas Perale Select the 'go' virtual package in every package built by the Go compiler. This maintains the correct dependencies in 'menuconfig'. The same pattern is currently used for Rust packages. Signed-off-by: Thomas Perale --- package/balena-engine/Config.in | 1 + package/cni-plugins/Config.in | 1 + package/containerd/Config.in | 1 + package/crucible/Config.in | 1 + package/delve/Config.in | 1 + package/delve/Config.in.host | 1 + package/docker-cli/Config.in | 1 + package/docker-compose/Config.in | 1 + package/docker-engine/Config.in | 1 + package/embiggen-disk/Config.in | 1 + package/flannel/Config.in | 1 + package/gitlab-runner/Config.in | 1 + package/gocryptfs/Config.in | 1 + package/mender-artifact/Config.in.host | 1 + package/mender-connect/Config.in | 1 + package/mender/Config.in | 1 + package/moby-buildkit/Config.in | 1 + package/moby-buildkit/Config.in.host | 1 + package/nerdctl/Config.in | 1 + package/runc/Config.in | 1 + package/runc/Config.in.host | 1 + package/tinifier/Config.in | 1 + package/wtfutil/Config.in | 1 + 23 files changed, 23 insertions(+) diff --git a/package/balena-engine/Config.in b/package/balena-engine/Config.in index 02f694515e..5966b33f58 100644 --- a/package/balena-engine/Config.in +++ b/package/balena-engine/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_BALENA_ENGINE depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU # util-linux select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_IPTABLES # runtime select BR2_PACKAGE_UTIL_LINUX # runtime select BR2_PACKAGE_UTIL_LINUX_BINARIES # runtime diff --git a/package/cni-plugins/Config.in b/package/cni-plugins/Config.in index 25e6ff534d..6d4ca0a5b4 100644 --- a/package/cni-plugins/Config.in +++ b/package/cni-plugins/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_CNI_PLUGINS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU + select BR2_PACKAGE_HOST_GO help Container Networking Interface plugins. diff --git a/package/containerd/Config.in b/package/containerd/Config.in index e69dd6768a..e92764f304 100644 --- a/package/containerd/Config.in +++ b/package/containerd/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_CONTAINERD depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc depends on BR2_USE_MMU # util-linux + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # runtime dependency select BR2_PACKAGE_UTIL_LINUX # runtime dependency select BR2_PACKAGE_UTIL_LINUX_BINARIES diff --git a/package/crucible/Config.in b/package/crucible/Config.in index b27eb31ae5..1e1b29c3df 100644 --- a/package/crucible/Config.in +++ b/package/crucible/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_CRUCIBLE bool "crucible" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help Crucible is a One-Time-Programmable (OTP) fusing tool for the i.MX family. diff --git a/package/delve/Config.in b/package/delve/Config.in index 9428e4016a..288dc1ea15 100644 --- a/package/delve/Config.in +++ b/package/delve/Config.in @@ -7,6 +7,7 @@ config BR2_PACKAGE_DELVE_ARCH_SUPPORTS default y if BR2_x86_64 depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + select BR2_PACKAGE_HOST_GO config BR2_PACKAGE_DELVE bool "delve" diff --git a/package/delve/Config.in.host b/package/delve/Config.in.host index dab5ca8914..0938ab0659 100644 --- a/package/delve/Config.in.host +++ b/package/delve/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_DELVE bool "host delve" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help Delve is a debugger for the Go programming language. diff --git a/package/docker-cli/Config.in b/package/docker-cli/Config.in index 6f187c9d22..52e7f7c871 100644 --- a/package/docker-cli/Config.in +++ b/package/docker-cli/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_DOCKER_CLI depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help Docker is a platform to build, ship, and run applications as lightweight containers. diff --git a/package/docker-compose/Config.in b/package/docker-compose/Config.in index 59128f7a19..f3560e402b 100644 --- a/package/docker-compose/Config.in +++ b/package/docker-compose/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_DOCKER_COMPOSE depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_PACKAGE_DOCKER_CLI + select BR2_PACKAGE_HOST_GO help Multi-container applications with the Docker CLI. diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 570b2ff681..a6d8f64a1c 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_DOCKER_ENGINE depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # libseccomp select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency select BR2_PACKAGE_CONTAINERD # runtime dependency + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_IPTABLES # runtime dependency select BR2_PACKAGE_LIBSECCOMP help diff --git a/package/embiggen-disk/Config.in b/package/embiggen-disk/Config.in index 667d71c86e..c323fb1b6d 100644 --- a/package/embiggen-disk/Config.in +++ b/package/embiggen-disk/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_EMBIGGEN_DISK depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU # util-linux + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_UTIL_LINUX # sfdisk select BR2_PACKAGE_UTIL_LINUX_BINARIES # sfdisk help diff --git a/package/flannel/Config.in b/package/flannel/Config.in index eb8d798f48..f37cfaa9cc 100644 --- a/package/flannel/Config.in +++ b/package/flannel/Config.in @@ -8,6 +8,7 @@ config BR2_PACKAGE_FLANNEL depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help Flannel is a virtual network that gives a subnet to each host for use with container runtimes. diff --git a/package/gitlab-runner/Config.in b/package/gitlab-runner/Config.in index 4289613ab9..cfe8c941bc 100644 --- a/package/gitlab-runner/Config.in +++ b/package/gitlab-runner/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_GITLAB_RUNNER select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash select BR2_PACKAGE_CA_CERTIFICATES # runtime select BR2_PACKAGE_GIT # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_LIBCURL # runtime select BR2_PACKAGE_LIBCURL_CURL # runtime select BR2_PACKAGE_LIBCURL_FORCE_TLS # runtime diff --git a/package/gocryptfs/Config.in b/package/gocryptfs/Config.in index 2630cafdcf..2c70b9b21b 100644 --- a/package/gocryptfs/Config.in +++ b/package/gocryptfs/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GOCRYPTFS bool "gocryptfs" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help gocryptfs is an encrypted FUSE overlay filesystem. diff --git a/package/mender-artifact/Config.in.host b/package/mender-artifact/Config.in.host index c7be0ed261..39353b23e7 100644 --- a/package/mender-artifact/Config.in.host +++ b/package/mender-artifact/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_MENDER_ARTIFACT bool "host mender-artifact" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help The mender-artifact tool is a CLI implementation of the Mender artifacts library. diff --git a/package/mender-connect/Config.in b/package/mender-connect/Config.in index 0845910880..d478e468c2 100644 --- a/package/mender-connect/Config.in +++ b/package/mender-connect/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_MENDER_CONNECT depends on BR2_USE_WCHAR # libglib2 -> gettext depends on BR2_USE_MMU # dbus -> fork() select BR2_PACKAGE_DBUS # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_MENDER # runtime select BR2_PACKAGE_OPENSSL diff --git a/package/mender/Config.in b/package/mender/Config.in index 7d768cebec..4831548f76 100644 --- a/package/mender/Config.in +++ b/package/mender/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_MENDER depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 diff --git a/package/moby-buildkit/Config.in b/package/moby-buildkit/Config.in index 93c852bcdb..1a0b599097 100644 --- a/package/moby-buildkit/Config.in +++ b/package/moby-buildkit/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_MOBY_BUILDKIT depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on BR2_USE_MMU select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency + select BR2_PACKAGE_HOST_GO help BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. diff --git a/package/moby-buildkit/Config.in.host b/package/moby-buildkit/Config.in.host index a3b18548f8..d4eb0d74c3 100644 --- a/package/moby-buildkit/Config.in.host +++ b/package/moby-buildkit/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_MOBY_BUILDKIT bool "host moby-buildkit" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help BuildKit is a toolkit for converting source code to build artifacts in an efficient expressive and repeatable manner. diff --git a/package/nerdctl/Config.in b/package/nerdctl/Config.in index 969b9bb40e..062b36ab85 100644 --- a/package/nerdctl/Config.in +++ b/package/nerdctl/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_NERDCTL depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd depends on BR2_USE_MMU # util-linux select BR2_PACKAGE_CONTAINERD # runtime + select BR2_PACKAGE_HOST_GO help Docker-compatible CLI for containerd, controlling runc. diff --git a/package/runc/Config.in b/package/runc/Config.in index fe527b1954..73eac72527 100644 --- a/package/runc/Config.in +++ b/package/runc/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_RUNC depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve + select BR2_PACKAGE_HOST_GO help runC is a CLI tool for spawning and running containers according to the OCI specification. diff --git a/package/runc/Config.in.host b/package/runc/Config.in.host index 4b2555e029..78193cb499 100644 --- a/package/runc/Config.in.host +++ b/package/runc/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_RUNC bool "host runc" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help runC is a CLI tool for spawning and running containers according to the OCI specification. diff --git a/package/tinifier/Config.in b/package/tinifier/Config.in index fbadfe6bd9..eae8b8f499 100644 --- a/package/tinifier/Config.in +++ b/package/tinifier/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TINIFIER bool "tinifier" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help CLI tool for images compressing diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in index 8c3efcea5d..3fd8c41bab 100644 --- a/package/wtfutil/Config.in +++ b/package/wtfutil/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_WTFUTIL bool "wtfutil" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help WTF is the personal information dashboard for your terminal. -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:23:01 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:23:01 +0200 Subject: [Buildroot] [PATCH 5/6] package/go/go-bin: new go provider In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-6-thomas.perale@essensium.com> From: Thomas Perale This package provides a pre-built version for the host-go virtual package introduced in the previous commits. host-go-bin install a pre-built version of the Go compiler. The menuconfig entry for host-go is updated to expose the host-go-bin provider. The dependencies are set as such as if host-go-bin does not support the host architecture it will automatically fall back to host-go-src and vice-versa. Signed-off-by: Thomas Perale --- package/go/Config.in.host | 15 ++++++++++++--- package/go/go-bin/Config.in.host | 14 ++++++++++++++ package/go/go-bin/go-bin.hash | 8 ++++++++ package/go/go-bin/go-bin.mk | 19 +++++++++++++++++++ 4 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 package/go/go-bin/Config.in.host create mode 100644 package/go/go-bin/go-bin.hash create mode 100644 package/go/go-bin/go-bin.mk diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 742d484420..b3906fbae5 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -30,11 +30,11 @@ config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS || BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS config BR2_PACKAGE_HOST_GO bool "host go compiler" - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS help Compiler for the Go language @@ -44,7 +44,8 @@ if BR2_PACKAGE_HOST_GO choice prompt "Go compiler variant" - default BR2_PACKAGE_HOST_GO_SRC + default BR2_PACKAGE_HOST_GO_SRC if BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + default BR2_PACKAGE_HOST_GO_BIN if BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS help Select a Go compiler variant. @@ -52,9 +53,16 @@ choice config BR2_PACKAGE_HOST_GO_SRC bool "host go (source)" + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS help This package will build the go compiler for the host. +config BR2_PACKAGE_HOST_GO_BIN + bool "host go (pre-built)" + depends on BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + help + This package will install pre-built versions of the compiler + endchoice config BR2_PACKAGE_PROVIDES_HOST_GO @@ -64,5 +72,6 @@ config BR2_PACKAGE_PROVIDES_HOST_GO endif +source "package/go/go-bin/Config.in.host" source "package/go/go-bootstrap-stage1/Config.in.host" source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go/go-bin/Config.in.host b/package/go/go-bin/Config.in.host new file mode 100644 index 0000000000..b259afa197 --- /dev/null +++ b/package/go/go-bin/Config.in.host @@ -0,0 +1,14 @@ +config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH + string "Translate the HOSTARCH into the architecture name used by the Go compiler" + default armv6l if BR2_HOSTARCH = "arm" + default arm64 if BR2_HOSTARCH = "aarch64" + default ppc64le if BR2_HOSTARCH = "powerpc64le" + default s390x if BR2_HOSTARCH = "s390x" + default 386 if BR2_HOSTARCH = "x86" + default amd64 if BR2_HOSTARCH = "x86_64" + default "" + +config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH != "" diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash new file mode 100644 index 0000000000..3952014f44 --- /dev/null +++ b/package/go/go-bin/go-bin.hash @@ -0,0 +1,8 @@ +# sha256 checksum from https://go.dev/dl/ +sha256 b93850666cdadbd696a986cf7b03111fe99db8c34a9aaa113d7c96d0081e1901 go1.21.1.linux-386.tar.gz +sha256 b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae go1.21.1.linux-amd64.tar.gz +sha256 7da1a3936a928fd0b2602ed4f3ef535b8cd1990f1503b8d3e1acc0fa0759c967 go1.21.1.linux-arm64.tar.gz +sha256 f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85 go1.21.1.linux-armv6l.tar.gz +sha256 eddf018206f8a5589bda75252b72716d26611efebabdca5d0083ec15e9e41ab7 go1.21.1.linux-ppc64le.tar.gz +sha256 a83b3e8eb4dbf76294e773055eb51397510ff4d612a247bad9903560267bba6d go1.21.1.linux-s390x.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go-bin/go-bin.mk b/package/go/go-bin/go-bin.mk new file mode 100644 index 0000000000..6c5c1b6485 --- /dev/null +++ b/package/go/go-bin/go-bin.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# go-bin +# +################################################################################ + +GO_BIN_SITE = https://go.dev/dl +GO_BIN_LICENSE = BSD-3-Clause +GO_BIN_LICENSE_FILES = LICENSE + +HOST_GO_BIN_PROVIDES = host-go + +HOST_GO_BIN_SOURCE = go$(GO_VERSION).linux-$(call qstrip, $(BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH)).tar.gz + +define HOST_GO_BIN_INSTALL_CMDS + $(GO_BINARIES_INSTALL) +endef + +$(eval $(host-generic-package)) -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:23:02 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:23:02 +0200 Subject: [Buildroot] [PATCH 6/6] support/testing: add tests for Go providers In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-7-thomas.perale@essensium.com> From: Thomas Perale Test the two providers of host-go to build a Go package. - TestGoBin tests host-go-bin - TestGoSource tests host-go-src The tests consist of building and installing a Go package in the root file system of a ARM vexpress QEMU system. The tests pass if the program can be ran correctly on the target. Signed-off-by: Thomas Perale --- support/testing/tests/package/test_go.py | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 support/testing/tests/package/test_go.py diff --git a/support/testing/tests/package/test_go.py b/support/testing/tests/package/test_go.py new file mode 100644 index 0000000000..305f8aeb3b --- /dev/null +++ b/support/testing/tests/package/test_go.py @@ -0,0 +1,41 @@ +import os + +import infra.basetest + + +class TestGoBase(infra.basetest.BRTest): + + def login(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() + + +class TestGoBin(TestGoBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + BR2_PACKAGE_HOST_GO=y + BR2_PACKAGE_HOST_GO_BIN=y + BR2_PACKAGE_TINIFIER=y + """ + + def test_run(self): + self.login() + self.assertRunOk("tinifier -h") + + +class TestGoSource(TestGoBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + BR2_PACKAGE_HOST_GO=y + BR2_PACKAGE_HOST_GO_SRC=y + BR2_PACKAGE_TINIFIER=y + """ + + def test_run(self): + self.login() + self.assertRunOk("tinifier -h") -- 2.42.0 From stefan at agner.ch Wed Oct 4 16:17:36 2023 From: stefan at agner.ch (Stefan Agner) Date: Wed, 4 Oct 2023 18:17:36 +0200 Subject: [Buildroot] [PATCH] package/containerd: add control for additional build tags Message-ID: <4642abb656bb8e63ff759d6f2ab6eafeb2e3d39d.1696436249.git.stefan@agner.ch> Disable the AUFS snapshotter by default. AUFS support has been deprecated since v1.5 and won't be available with containerd v2.0. Add configuration option for the ZFS snapshotter and add the proper runtime dependencies. Add configuration option for Kubernetes CRI support. Note that CRI support requires a writeable /etc or an appropriate containerd configuration. Signed-off-by: Stefan Agner --- package/containerd/Config.in | 22 ++++++++++++++++++++++ package/containerd/containerd.mk | 13 +++++++++++++ 2 files changed, 35 insertions(+) diff --git a/package/containerd/Config.in b/package/containerd/Config.in index e69dd6768a..ceec5752df 100644 --- a/package/containerd/Config.in +++ b/package/containerd/Config.in @@ -26,6 +26,28 @@ config BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS help Build the btrfs snapshot driver for containerd. +config BR2_PACKAGE_CONTAINERD_DRIVER_DEVMAPPER + bool "devmapper snapshot driver" + depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 + depends on BR2_USE_MMU # lvm2 + depends on !BR2_STATIC_LIBS # lvm2 + select BR2_PACKAGE_LVM2 + help + Build the devmapper snapshot driver for containerd. + +config BR2_PACKAGE_CONTAINERD_DRIVER_ZFS + bool "zfs snapshot driver" + depends on BR2_LINUX_KERNEL # zfs + depends on BR2_PACKAGE_HAS_UDEV # zfs + select BR2_PACKAGE_ZFS + help + Build the zfs snapshot driver for containerd. + +config BR2_PACKAGE_CONTAINERD_CRI + bool "Build Kubernetes CRI support" + help + Build containerd with Kubernetes CRI support. + endif comment "containerd needs a glibc or musl toolchain w/ threads" diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 0591400709..f5a93f5f91 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -24,6 +24,7 @@ CONTAINERD_BUILD_TARGETS = \ cmd/ctr CONTAINERD_INSTALL_BINS = $(notdir $(CONTAINERD_BUILD_TARGETS)) +CONTAINERD_TAGS = no_aufs ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) CONTAINERD_DEPENDENCIES += libapparmor @@ -41,6 +42,18 @@ else CONTAINERD_TAGS += no_btrfs endif +ifneq ($(BR2_PACKAGE_CONTAINERD_DRIVER_DEVMAPPER),y) +CONTAINERD_TAGS += no_devmapper +endif + +ifneq ($(BR2_PACKAGE_CONTAINERD_DRIVER_ZFS),y) +CONTAINERD_TAGS += no_zfs +endif + +ifneq ($(BR2_PACKAGE_CONTAINERD_CRI),y) +CONTAINERD_TAGS += no_cri +endif + define CONTAINERD_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 0644 $(@D)/containerd.service \ $(TARGET_DIR)/usr/lib/systemd/system/containerd.service -- 2.42.0 From christian at aperture.us Wed Oct 4 17:38:01 2023 From: christian at aperture.us (Christian Stewart) Date: Wed, 4 Oct 2023 10:38:01 -0700 Subject: [Buildroot] [PATCH] package/containerd: add control for additional build tags In-Reply-To: <4642abb656bb8e63ff759d6f2ab6eafeb2e3d39d.1696436249.git.stefan@agner.ch> References: <4642abb656bb8e63ff759d6f2ab6eafeb2e3d39d.1696436249.git.stefan@agner.ch> Message-ID: Hi Stefan, On Wed, Oct 4, 2023 at 9:18?AM Stefan Agner wrote: > > Disable the AUFS snapshotter by default. AUFS support has been deprecated > since v1.5 and won't be available with containerd v2.0. > > Add configuration option for the ZFS snapshotter and add the proper > runtime dependencies. > > Add configuration option for Kubernetes CRI support. Note that CRI > support requires a writeable /etc or an appropriate containerd > configuration. Overall this looks good, but could you possibly split this into separate commits? I think it makes sense to have three: - package/docker-engine: drop aufs snapshotter - package/docker-engine: add zfs snapshotter - package/docker-engine: add option for k8s cri support Thanks! Christian Stewart From bernd at kuhls.net Wed Oct 4 18:06:02 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 4 Oct 2023 20:06:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/{mesa3d, mesa3d-headers}: bump version to 23.2.1 Message-ID: <20231004180602.53327-1-bernd@kuhls.net> Rebased patches 0002 & 0004. Removed patch 0006 which is included in this release. Release notes: https://gitlab.freedesktop.org/mesa/mesa/-/blob/23.2/docs/relnotes/23.2.1.rst Signed-off-by: Bernd Kuhls --- package/mesa3d-headers/mesa3d-headers.mk | 2 +- ...tion-to-disable-optional-neon-suppor.patch | 4 +- package/mesa3d/0004-Fix-uClibc-build.patch | 19 ++++---- ...5-Gallium-driver-includes-Intel-sour.patch | 46 ------------------- package/mesa3d/mesa3d.hash | 5 +- package/mesa3d/mesa3d.mk | 2 +- 6 files changed, 17 insertions(+), 61 deletions(-) delete mode 100644 package/mesa3d/0006-meson-ensure-i915-Gallium-driver-includes-Intel-sour.patch diff --git a/package/mesa3d-headers/mesa3d-headers.mk b/package/mesa3d-headers/mesa3d-headers.mk index e70d3fe137..3bc12ca86e 100644 --- a/package/mesa3d-headers/mesa3d-headers.mk +++ b/package/mesa3d-headers/mesa3d-headers.mk @@ -12,7 +12,7 @@ endif # Not possible to directly refer to mesa3d variables, because of # first/second expansion trickery... -MESA3D_HEADERS_VERSION = 23.1.8 +MESA3D_HEADERS_VERSION = 23.2.1 MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz MESA3D_HEADERS_SITE = https://archive.mesa3d.org MESA3D_HEADERS_DL_SUBDIR = mesa3d diff --git a/package/mesa3d/0002-vc4-add-meson-option-to-disable-optional-neon-suppor.patch b/package/mesa3d/0002-vc4-add-meson-option-to-disable-optional-neon-suppor.patch index 430bd3b4b9..f3919478a6 100644 --- a/package/mesa3d/0002-vc4-add-meson-option-to-disable-optional-neon-suppor.patch +++ b/package/mesa3d/0002-vc4-add-meson-option-to-disable-optional-neon-suppor.patch @@ -10,7 +10,7 @@ to force disabling it at compile time. Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4114 Signed-off-by: Peter Seiderer Signed-off-by: Bernd Kuhls -[rebased for 20.2.0, 20.3.0, 21.1.0 & 23.1.0] +[rebased for 20.2.0, 20.3.0, 21.1.0, 23.1.0 & 23.2.0] Signed-off-by: Peter Seiderer [fix syntax error after previous rebases] --- @@ -23,7 +23,7 @@ diff --git a/meson_options.txt b/meson_options.txt index 8e0bf2a..1cf0e07 100644 --- a/meson_options.txt +++ b/meson_options.txt -@@ -116,6 +116,13 @@ option( +@@ -124,6 +124,13 @@ option( description : 'enable gallium va frontend.', ) diff --git a/package/mesa3d/0004-Fix-uClibc-build.patch b/package/mesa3d/0004-Fix-uClibc-build.patch index ae1fc25f48..faa86b0d1b 100644 --- a/package/mesa3d/0004-Fix-uClibc-build.patch +++ b/package/mesa3d/0004-Fix-uClibc-build.patch @@ -26,6 +26,8 @@ Fixes build errors with uClibc and gcc-9.3.0: Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13898 Signed-off-by: Bernd Kuhls +[rebased for 23.2.0] +Signed-off-by: Bernd Kuhls --- src/util/compiler.h | 10 ++++++++++ src/util/macros.h | 1 + @@ -35,10 +37,11 @@ diff --git a/src/util/compiler.h b/src/util/compiler.h index d184ad455af..b5c56807acc 100644 --- a/src/util/compiler.h +++ b/src/util/compiler.h -@@ -36,6 +36,16 @@ +@@ -35,6 +35,17 @@ - #include + #include ++ +/* + * C11 static_assert() macro + * assert.h only defines that name for C11 and above @@ -49,21 +52,21 @@ index d184ad455af..b5c56807acc 100644 +#endif +#endif + - #include "util/macros.h" - - + #include + #include + #include diff --git a/src/util/macros.h b/src/util/macros.h index 22b18303826..8f73ee72693 100644 --- a/src/util/macros.h +++ b/src/util/macros.h -@@ -27,6 +27,7 @@ +@@ -31,6 +31,7 @@ #include #include #include +#include "util/compiler.h" - /* Compute the size of an array */ - #ifndef ARRAY_SIZE + #ifdef _GAMING_XBOX + #define strdup _strdup -- 2.34.1 diff --git a/package/mesa3d/0006-meson-ensure-i915-Gallium-driver-includes-Intel-sour.patch b/package/mesa3d/0006-meson-ensure-i915-Gallium-driver-includes-Intel-sour.patch deleted file mode 100644 index 6831bdafd3..0000000000 --- a/package/mesa3d/0006-meson-ensure-i915-Gallium-driver-includes-Intel-sour.patch +++ /dev/null @@ -1,46 +0,0 @@ -From cd861b7f38e448822ce765aee61304d1e0a3a8b5 Mon Sep 17 00:00:00 2001 -From: James Knight -Date: Thu, 13 Apr 2023 16:38:51 -0400 -Subject: meson: ensure i915 Gallium driver includes Intel sources - -Ensure builds flag the use of Intel sources when the i915 Gallium driver -is configured (`-Dgallium-drivers=i915`). Otherwise, a build may fail if -other Intel-based configuration options are not enabled: - - ./src/gallium/winsys/i915/drm/meson.build:21:0: ERROR: Unknown variable "libintel_common". - -Signed-off-by: James Knight -Part-of: - -Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/commit/cd861b7f38e448822ce765aee61304d1e0a3a8b5 - -Signed-off-by: Bernd Kuhls ---- - meson.build | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -(limited to 'meson.build') - -diff --git a/meson.build b/meson.build -index 23d2d965b37..a3e3c5478a8 100644 ---- a/meson.build -+++ b/meson.build -@@ -245,7 +245,14 @@ with_microsoft_vk = _vulkan_drivers.contains('microsoft-experimental') - with_any_vk = _vulkan_drivers.length() != 0 - - with_any_broadcom = with_gallium_vc4 or with_gallium_v3d or with_broadcom_vk --with_any_intel = with_intel_vk or with_intel_hasvk or with_gallium_iris or with_gallium_crocus or with_intel_tools -+with_any_intel = [ -+ with_gallium_crocus, -+ with_gallium_i915, -+ with_gallium_iris, -+ with_intel_hasvk, -+ with_intel_tools, -+ with_intel_vk, -+].contains(true) - - if with_swrast_vk and not with_gallium_softpipe - error('swrast vulkan requires gallium swrast') --- -cgit v1.2.1 - diff --git a/package/mesa3d/mesa3d.hash b/package/mesa3d/mesa3d.hash index a88ec5909f..0f4ca05831 100644 --- a/package/mesa3d/mesa3d.hash +++ b/package/mesa3d/mesa3d.hash @@ -1,5 +1,4 @@ -# From https://lists.freedesktop.org/archives/mesa-announce/2023-September/000730.html -sha256 45434ff91a709844130a3174d9c0ef39c6b50725b2bb0c13e736f36134db14ad mesa-23.1.8.tar.xz -sha512 02dc6f8b10dd3827a2b62fba3035726b1b60ec0c3188817deea2ad14f80f332a37272e9f15c5f653f20cecb14f8ff91697d73c89afc83674c19b686a674b677d mesa-23.1.8.tar.xz +# From https://gitlab.freedesktop.org/mesa/mesa/-/blob/23.2/docs/relnotes/23.2.1.rst +sha256 64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc mesa-23.2.1.tar.xz # License sha256 a00275a53178e2645fb65be99a785c110513446a5071ff2c698ed260ad917d75 docs/license.rst diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index a24a299a55..6d92eb56f3 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -5,7 +5,7 @@ ################################################################################ # When updating the version, please also update mesa3d-headers -MESA3D_VERSION = 23.1.8 +MESA3D_VERSION = 23.2.1 MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz MESA3D_SITE = https://archive.mesa3d.org MESA3D_LICENSE = MIT, SGI, Khronos -- 2.39.2 From bernd at kuhls.net Wed Oct 4 19:16:48 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 04 Oct 2023 21:16:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/mesa3d: rework dri3 handling References: <20230729180250.1494674-1-bernd@kuhls.net> Message-ID: Hi Romain, Am Sun, 1 Oct 2023 11:49:54 +0200 schrieb Romain Naour: > I'm able to reproduce this build issue. > But I can't find any autobuilder link. I do not know the reason for this, maybe the combination is too seldom? > Have you tested on other driver than the Intel drivers ? Yes, the current situation looks like this: config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_CROCUS - broken without "-Ddri3=enabled" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915 - broken without "-Ddri3=enabled" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS - broken without "-Ddri3=enabled" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" Yes, I tested all drivers based on the defconfig BR2_x86_64=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_OPENGL_GLX=y BR2_PACKAGE_MESA3D_OPENGL_EGL=y BR2_PACKAGE_MESA3D_OPENGL_ES=y BR2_PACKAGE_XORG7=y with only the tested driver additionally enabled and also found more broken drivers: config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_SWRAST - also broken, fixed by this patch The result is: All drivers are broken without "-Ddri3=enabled". Regards, Bernd From francois.dugast.foss at gmail.com Wed Oct 4 20:07:24 2023 From: francois.dugast.foss at gmail.com (Francois Dugast) Date: Wed, 4 Oct 2023 22:07:24 +0200 Subject: [Buildroot] [PATCH 1/2] board/licheepi_zero: move board files to their own directory Message-ID: <20231004200725.1952143-1-francois.dugast.foss@gmail.com> Group files for board licheepi_zero under a new directory. This is to prepare for a new board also coming to the licheepi directory. Signed-off-by: Francois Dugast --- board/licheepi/{ => licheepi_zero}/boot.cmd | 0 board/licheepi/{ => licheepi_zero}/genimage.cfg | 0 board/licheepi/{ => licheepi_zero}/readme.txt | 0 configs/licheepi_zero_defconfig | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) rename board/licheepi/{ => licheepi_zero}/boot.cmd (100%) rename board/licheepi/{ => licheepi_zero}/genimage.cfg (100%) rename board/licheepi/{ => licheepi_zero}/readme.txt (100%) diff --git a/board/licheepi/boot.cmd b/board/licheepi/licheepi_zero/boot.cmd similarity index 100% rename from board/licheepi/boot.cmd rename to board/licheepi/licheepi_zero/boot.cmd diff --git a/board/licheepi/genimage.cfg b/board/licheepi/licheepi_zero/genimage.cfg similarity index 100% rename from board/licheepi/genimage.cfg rename to board/licheepi/licheepi_zero/genimage.cfg diff --git a/board/licheepi/readme.txt b/board/licheepi/licheepi_zero/readme.txt similarity index 100% rename from board/licheepi/readme.txt rename to board/licheepi/licheepi_zero/readme.txt diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig index 0d3115a996..c8f74a7f04 100644 --- a/configs/licheepi_zero_defconfig +++ b/configs/licheepi_zero_defconfig @@ -12,7 +12,7 @@ BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Zero" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/genimage.cfg" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/licheepi_zero/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y @@ -45,7 +45,7 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/boot.cmd" +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/licheepi_zero/boot.cmd" # Required host utilities for building an SDCard image BR2_PACKAGE_HOST_DOSFSTOOLS=y -- 2.30.2 From francois.dugast.foss at gmail.com Wed Oct 4 20:07:25 2023 From: francois.dugast.foss at gmail.com (Francois Dugast) Date: Wed, 4 Oct 2023 22:07:25 +0200 Subject: [Buildroot] [PATCH 2/2] board/licheepi/licheepi_nano: new board In-Reply-To: <20231004200725.1952143-1-francois.dugast.foss@gmail.com> References: <20231004200725.1952143-1-francois.dugast.foss@gmail.com> Message-ID: <20231004200725.1952143-2-francois.dugast.foss@gmail.com> Add support for the LicheePi Nano with: - U-Boot 2023.04 - Linux current latest version Board homepage: https://linux-sunxi.org/LicheePi_Nano Signed-off-by: Francois Dugast --- board/licheepi/licheepi_nano/genimage.cfg | 33 ++++++++++ board/licheepi/licheepi_nano/linux.fragment | 11 ++++ board/licheepi/licheepi_nano/readme.txt | 68 +++++++++++++++++++++ board/licheepi/licheepi_nano/uboot.fragment | 3 + configs/licheepi_nano_defconfig | 43 +++++++++++++ 5 files changed, 158 insertions(+) create mode 100644 board/licheepi/licheepi_nano/genimage.cfg create mode 100644 board/licheepi/licheepi_nano/linux.fragment create mode 100644 board/licheepi/licheepi_nano/readme.txt create mode 100644 board/licheepi/licheepi_nano/uboot.fragment create mode 100644 configs/licheepi_nano_defconfig diff --git a/board/licheepi/licheepi_nano/genimage.cfg b/board/licheepi/licheepi_nano/genimage.cfg new file mode 100644 index 0000000000..5e398eeb21 --- /dev/null +++ b/board/licheepi/licheepi_nano/genimage.cfg @@ -0,0 +1,33 @@ +flash w25q128 { + pebsize = 65536 + numpebs = 256 + minimum-io-unit-size = 1 + sub-page-size = 1 + vid-header-offset = 64 +} + +image flash.bin { + flash {} + flashtype = w25q128 + + partition uboot { + image = "u-boot-sunxi-with-spl.bin" + size = 512K + } + + partition dtb { + image = "suniv-f1c100s-licheepi-nano.dtb" + size = 64K + } + + partition zimage { + image = "zImage" + size = 5M + } + + partition rootfs { + image = "rootfs.jffs2" + size = 0 + } +} + diff --git a/board/licheepi/licheepi_nano/linux.fragment b/board/licheepi/licheepi_nano/linux.fragment new file mode 100644 index 0000000000..af68f28167 --- /dev/null +++ b/board/licheepi/licheepi_nano/linux.fragment @@ -0,0 +1,11 @@ +# CONFIG_NET is not set +# CONFIG_DRM is not set +# CONFIG_CMA is not set +# CONFIG_ARCH_MULTI_V7 is not set +CONFIG_UEVENT_HELPER=y +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_SPI_NOR=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set +CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_JFFS2_FS=y diff --git a/board/licheepi/licheepi_nano/readme.txt b/board/licheepi/licheepi_nano/readme.txt new file mode 100644 index 0000000000..131d46a9d1 --- /dev/null +++ b/board/licheepi/licheepi_nano/readme.txt @@ -0,0 +1,68 @@ +Intro +===== + +This directory contains a buildroot configuration for building a +LicheePi Nano. + +How to build it +=============== + +Configure Buildroot +------------------- + + $ make licheepi_nano_defconfig + +Build the rootfs +---------------- + +Note: you will need to have access to the network, since Buildroot +will download the packages' sources. + +You may now build your rootfs with: + + $ make + +(This may take a while, consider getting yourself a coffee ;-) ) + +Result of the build +------------------- + +After building, you should obtain this tree: + + output/images/ + +-- boot.scr + +-- boot.vfat + +-- rootfs.ext2 + +-- rootfs.ext4 -> rootfs.ext2 + +-- rootfs.tar + +-- sdcard.img + +-- sun8i-v3s-licheepi-zero-dock.dtb + +-- sun8i-v3s-licheepi-zero.dtb + +-- u-boot.bin + +-- u-boot-sunxi-with-spl.bin + `-- zImage + +How to write the SD card +======================== + +Once the build process is finished you will have an image called +"sdcard.img" in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + +Alternatively, you can use the Etcher graphical tool to burn the image +to the SD card safely and on any platform: + +https://etcher.io/ + +Once the SD card is burned, insert it into your LicheePi Zero board, +and power it up. Your new system should come up now and start a +console on the UART0 serial port. +-- +sudo ./output/host/bin/sunxi-fel -p spiflash-write 0 output/images/flash.bin +-- +some kernel features are disabled to keep the size small but those are arbitrary tradeoffs, if you remove other stuff you can re enable them +-- +use internal flash to free MMC for sdio wifi like the *** provided with lichee zero diff --git a/board/licheepi/licheepi_nano/uboot.fragment b/board/licheepi/licheepi_nano/uboot.fragment new file mode 100644 index 0000000000..39f2bfe742 --- /dev/null +++ b/board/licheepi/licheepi_nano/uboot.fragment @@ -0,0 +1,3 @@ +CONFIG_USE_BOOTARGS=y +CONFIG_BOOTARGS="console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=spi0.0:512k(uboot)ro,64k(dtb),5M(kernel)ro,-(rootfs)" +CONFIG_BOOTCOMMAND="sf probe 0 50000000; sf read 0x80C00000 0x80000 0x4000; sf read 0x80008000 0x90000 0x500000; bootz 0x80008000 - 0x80C00000" diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig new file mode 100644 index 0000000000..3dbd29241f --- /dev/null +++ b/configs/licheepi_nano_defconfig @@ -0,0 +1,43 @@ +# Target options +BR2_arm=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="licheepi-nano" +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Nano" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/licheepi_nano/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/licheepi/licheepi_nano/linux.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/suniv-f1c100s-licheepi-nano" + +# Filesystem images +BR2_TARGET_ROOTFS_JFFS2=y +BR2_TARGET_ROOTFS_JFFS2_FLASH_64=y +BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y +BR2_TARGET_ROOTFS_JFFS2_PAD=y + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="licheepi_nano" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/licheepi/licheepi_nano/uboot.fragment" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# Required host utilities +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_E2FSPROGS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_SUNXI_TOOLS=y -- 2.30.2 From thomas.petazzoni at bootlin.com Wed Oct 4 21:57:56 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 4 Oct 2023 23:57:56 +0200 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: <20231003091539.5e26d558@booty> References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> <877co67fgz.fsf@48ers.dk> <20231003091539.5e26d558@booty> Message-ID: <20231004235756.255601f7@windsurf> Hello Luca, On Tue, 3 Oct 2023 09:15:39 +0200 Luca Ceresoli wrote: > > > This series instead goes to the other extreme, E.G. we build the > > > entire microblaze toolchain from scratch and then use it to build > > > the firmware and use it in the u-boot package - This is nice > > > because it is all in Buildroot and we have it all under control, > > > but also brings quite some build time overhead for building the > > > toolchain before building the > > (small) toolchain. You can naturally "solve" it by using two > > defconfigs, E.G. one that builds the pmufw and another that uses > > the prebuilt one, but it isn't very handy either. > > I think the approach taken here by Neal and Ibai is valuable, > especially as it would allow Buildroot defconfigs to be self-standing. > Additionally it is already proving useful as it prompted "the > community" (mostly Neal -- thanks about that) to upstream patches > needed to support Microblaze in binutils and gcc, that are currently > downstream. I agree. > I fyou are thinking about toolchains.bootlin.com, I am not the > maintainer of those toolchains but I think the idea is to only have > Linux toolchains there, not bare metal ones, thus newlib is not > supported. Also I'm pretty sure downstream feature patches are > absolutely not welcome there. Regarding providing a bare-metal toolchain on toolchains.bootlin.com, we have a chicken-and-egg problem: the toolchains on toolchains.bootlin.com are built using... Buildroot. So if we want toolchains.bootlin.com to offer pre-built bare-metal toolchains, we need Buildroot to be able to generate such bare-metal toolchains in the first place :-) Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Wed Oct 4 21:58:32 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 4 Oct 2023 23:58:32 +0200 Subject: [Buildroot] [External] Re: [PATCH 1/4] board/freescale: fix arm-trusted-firmware for binutils 2.39+ In-Reply-To: References: <20230921215633.34828-1-brandon.maier@collins.com> <20230930172024.5aaf0df6@windsurf> Message-ID: <20231004235832.75a2eb02@windsurf> On Mon, 2 Oct 2023 16:21:45 +0000 "Maier, Brandon L Collins" wrote: > > Applied to master after references to the Gitlab CI failures that are > > fixed by this change. If you have the boards at hand, it would be even > > nicer to upgrade to newer BSP component versions. Perhaps this is > > something that Maeva, Stephane or Gilles can help with? > > Romain said he updated one of the i.MX boards as well. I would like > to update the others, as I'm using latest lf-6.1.22-2.0.0 for our own > boards. But I do not own any of those other boards to boot test, I > could send out a patch to update the versions and verify they build > at least. Several persons from NXP are in Cc of this e-mail, so hopefully they can help with the testing on those platforms. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Thu Oct 5 05:45:55 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 05 Oct 2023 05:45:55 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-04 Message-ID: <20231005054600.8EE28408BC@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-04 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 22 | 11 | 0 | 33 | 2023.08.x | 16 | 10 | 0 | 26 | master | 89 | 150 | 0 | 239 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 13 unknown | 12 gcc-final-12.3.0 | 9 alsa-lib-1.2.10 | 8 gobject-introspection-1.76.1 | 8 monit-5.33.0 | 8 alsa-utils-1.2.10 | 7 bird-2.0.12 | 5 spirv-tools-1.3.261.1 | 4 linux-6.5.5 | 3 perl-5.36.1 | 3 squid-6.2 | 3 util-linux-2.39.2 | 3 xenomai-3.0.10 | 3 apcupsd-3.14.14 | 2 elfutils-0.189 | 2 frr-8.4.2 | 2 gcc-final-13.2.0 | 2 host-go-1.21.1 | 2 host-rust-1.71.1 | 2 host-sentry-cli-2.20.3 | 2 mariadb-10.11.4 | 2 netsnmp-5.9.4 | 2 pv-1.6.20 | 2 tbb-2021.10.0 | 2 android-tools-4.2.2+git2013... | 1 brltty-6.5 | 1 check-11970a7e112dfe243a2e6... | 1 coreutils-9.3 | 1 crun-1.8.4 | 1 cryptodev-linux-1.13 | 1 efivar-38 | 1 ethtool-6.5 | 1 ffmpeg-4.4.4 | 1 fftw-quad-3.3.10 | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gcc-final-11.4.0 | 1 gcc-final-arc-2020.09-release | 1 glibc-2.38-13-g92201f16cbcf... | 1 glslsandbox-player-2023.04.05 | 1 google-breakpad-c85eb4a59b6... | 1 host-gcc-final-12.3.0 | 1 host-python-numpy-1.25.0 | 1 libarchive-3.7.2 | 1 libdeflate-1.18 | 1 libglib2-2.76.1 | 1 libgpgme-1.22.0 | 1 libostree-2023.6 | 1 libressl-3.7.3 | 1 libselinux-3.5 | 1 libtorrent-rasterbar-1.2.15 | 1 libunwind-1.6.2 | 1 libzlib-1.3 | 1 ntp-4.2.8p17 | 1 ntpsec-1.2.2a | 1 open-iscsi-2.1.9 | 1 openal-1.22.0 | 1 pistache-3ec9d7c4f8b828fdd3... | 1 pppd-2.5.0 | 1 strongswan-5.9.11 | 1 tar-1.35 | 1 tpm2-tss-3.2.2 | 1 wolfssl-5.6.3 | 1 xwayland-23.1.1 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/8d574b33c204eb416f11e16950c2736e0a6374bb | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/9c7b4e49a32e94b78c51c09ce69b89fe904a2e66 | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7e4b22e5b30877795603cab2b2e190cf31978483 | aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7bc6bcace3f4c57ecbd495fc5df51c661473c027 | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/0a257d15d23344d794fa3ddbc0059186f7c3dbc6 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/8f61d942a8c70cfcb6067cef176fc49037290e3e | mips | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f14a15fc1de19773bb8ef19fd8fef2f0fc050ed8 | mips | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7e5410aa1286fd8f4c7ab1e27c7bd7053dfffe17 | x86_64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/d3199f29bd6b86fb49bcfa0fb8571edeb709adb2 | aarch64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/67674f7e719f94229defa15334612255191a4ea2 | mips64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3eae8f23088c735c3b797338e182e5e66bf0f7b0 | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/36b9709f124f1771e6051580786202daf4642be7 | sh4a | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f9eb4db4b9f7c943bf660025c44b36e5c6167c3f | sh4eb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/92efbfd03c73b5e605e5b51823de6800134d3bb5 | nios2 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/a7f858889f28c616c66c4ea0cb995c6594468ae9 | powerpc64le | android-tools-4.2.2+git2013... | NOK | http://autobuild.buildroot.net/results/f1fa6bf6478da9a3d14f9720db23d6342da663a5 | arceb | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/dda0f03aac3697251ef0c7e471fa5429b074e806 | m68k | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/4c3981f391d011631ea80416a8dac879064ff2c0 | aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/cda2b79abb7c59d3a3cb04f1a2fc083124b957a8 | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6b4c02269c1cb86abe383cd7982e19c363e4de91 | aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/69a22b1a688935abb00338e507e262bb4d0ccab4 | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a0e2e66d5d88e615b9a6bd4d120dcb281d1839ab | sh4 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/cfe901fe5912cb21745fee161e132a6c96fab512 | arm | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/e1113e26b54ae87b5b326b241ab4b79c685c812e | arceb | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/adc0778aeff3f20d609202b9738acde4ff1cb5f7 | ORPH powerpc | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/4aa7d3fc5868fabb5d66836d9d023b3170779c6f | ORPH sparc | crun-1.8.4 | NOK | http://autobuild.buildroot.net/results/88527a3f8d0dcfe205ce597d83fdbb4f72144302 | sh4eb | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/cc390f1ecee63aa19f9191c6956dba84a3aa898b | ORPH i686 | efivar-38 | NOK | http://autobuild.buildroot.net/results/27bf1067f04a191c23fac3d2e7224e8a92150832 | microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/7fcba02cf46f055b5e7ce6f37e54473e9c9364b2 | ORPH nios2 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/1ec9cbb424af93f596ff4d9d58ec1f39920d53f1 | ORPH mips64el | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/4bcd44fbb12b10241d5594db9fa514fab7d3e4f9 | arc | ffmpeg-4.4.4 | NOK | http://autobuild.buildroot.net/results/86c5f7804bd1aa05357430b1a87902d095d2f4dc | powerpc64le | fftw-quad-3.3.10 | NOK | http://autobuild.buildroot.net/results/baff574b5448cf220de5bc9a7ac3a3c59ffd0252 | ORPH arc | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/5942e79f769ec26b2bfc8207a732ff759a1e3c35 | xtensa | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/7fd33ea64b75ef9153143a9b53740cc2897f7db3 | aarch64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/55b794571565aa9dcd1149b461242a34a0cbf1a8 | m68k | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/f1b8e041584c4117be1058ce4cb03961f3ccdf25 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f6b57780a386e4d95bfa7e6c8926d3469f7b4a9d | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/4f5f2744842ab7c5228c13aa7f683c90186a3547 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f32835b7523fbb89e6f562b2d8f4c67257632852 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/187a108f97a1636b5eb393e9f244f0211bf56875 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/4be77a5feea57b4bc00cefe1386895031cc9f7c9 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/bb1465cac9cecd459afa3dfa15eaaa897b00fb80 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7e1d86ccda1ae41bce62372c7501225211897e9e | x86_64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/8bed14e7bdac490c321814a9558edeef3484e703 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/33425602e3d6b47294d67592de086023aa132046 | arceb | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/3d47b47b69a64787441d5f7f8e76a4a41ef01ead | arc | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/885c4dfba6feb54ba9e7019a07aba6c719ceead2 | arc | gcc-final-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/a259c9b18bdebcf7e1cf50f7f914d9b0a2eaf1cc | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/52392f2e34077823f32c45a087c8f6b39222a3b4 | arm | glslsandbox-player-2023.04.05 | NOK | http://autobuild.buildroot.net/results/f1efcee31b953d5aedf60ba3a1925b40cd5d5654 | nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/2c8f601f0beacf3d9c733b66c736e7590abe4a12 | ORPH nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/eff1b1a17a25b894eed11d7c29f9e5945f7308e3 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/7b434d93326236883f892130cbc61bfa648bf798 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/2120e7c4b06836d977de9db259b3708f0dd23629 | ORPH nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/e22cae378741a45ea396ea96fd7548b93753f3a6 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/5e19167b85b733b1f3b3dd72fc5f233066347c4e | ORPH i686 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/17e8e076cf1fe8a8829c67f674988005c1f55eaf | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/803cf9dc49d3d546016ebafe4af36ca62ddb4afe | ORPH mips | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/fb0c7183966a5f5e9e9b1d02a0af7ace7770c812 | microblaze | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7da5b40a6d915ee8a4941c51fe75bec54a83c77b | mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/da95f59bc97fd89c3cf32a440f62740564d7a765 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/595bd3fcb1d3d953932bc9a02343e5c1633d6764 | x86_64 | host-python-numpy-1.25.0 | NOK | http://autobuild.buildroot.net/results/5082b0329fe78643e6b4f02922e5fce13c3e23be | mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/71c398151fe6c578a15d3135b73e3ee79f6fe055 | powerpc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/54624637d049da170069b88e161c8f8f29d38773 | powerpc | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/623cc85483fe15a4e3f62e205a689bf5ff411093 | nios2 | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/d922531d6d7ae8b9609ca340dbd9a94c1875ff8a | microblaze | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/5a5096eb6109e96021609861419b5af79dc7e50e | armeb | libdeflate-1.18 | NOK | http://autobuild.buildroot.net/results/a9a33cec2d7e734f734119201a924f1d1cf18502 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/d4ad2dc960bcc91ce0c4ab1f8def8d4b6c18f0cd | sh4a | libgpgme-1.22.0 | NOK | http://autobuild.buildroot.net/results/dcf4b8f0b804779fa408230e067191251c39df8b | ORPH sparc64 | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/5c7e1e47c6eb43f7832ef7820ec2b5ac0f3c3696 | armeb | libressl-3.7.3 | NOK | http://autobuild.buildroot.net/results/4e58db855863c8f76a212a7c3e74282ad4901b64 | ORPH nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/294c36b4e2bc007cb7551d983c79047889181bab | arm | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/de33c8e94962d5ed61b1b3e8cc742d3d49dd0ff8 | mips | libunwind-1.6.2 | NOK | http://autobuild.buildroot.net/results/dee2a9020cc6284bf6c60929fa717310929c65ca | ORPH mips64 | libzlib-1.3 | NOK | http://autobuild.buildroot.net/results/a5e668048ec9078cf43ba1a3427c01983db9e416 | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/be699cbc444ad80eae932dcb2f8be42baf01b04d | ORPH mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/6fff4d6c0986ae3691504bd3e22923629723e6bb | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/c1f1906742a7645c90555e036a6cc0cc46f30c32 | ORPH or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/a3a9cb7605fc0916c5feb26a1e94d41d1c5d3353 | ORPH mipsel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/fa2e4a52c8047c620a96fb981d3053e4359ed443 | ORPH mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/e5b607a24e313344abda5e77c00368e8b6b2172f | arm | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/6aa4fbe42617c9a1e2e7da3125d7149311f06734 | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/f9aa07c88be7882629ade7ea0af2a0db40f3be92 | x86_64 | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/6eb671eb5d97a0c18e87dab33e6021b9d9b0916a | microblaze | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/23c92af7b7df94adb69530bf2f45604082f8c129 | x86_64 | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/446abd38f1ef836394fef34dc18932db26786d56 | mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/30cf02547ed96f9660a5534ef9fe6c5418297d62 | aarch64_be | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/7d7d3a759346efe7c94ce059d048b11cd659f0ec | microblaze | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/7d5944da62a33b9cade9eaf622c0ad7e53ba1b16 | ORPH powerpc | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/e2be3ee2c7fcc5e3d870c18638fca24b1f21290d | ORPH sh4aeb | ntp-4.2.8p17 | NOK | http://autobuild.buildroot.net/results/2b2bdcc391dd76aaaa84ad8d1edb90df54abda3e | microblazeel | ntpsec-1.2.2a | NOK | http://autobuild.buildroot.net/results/f8b0173fa7f5abe55a7e224be0b8da78ddebc305 | ORPH aarch64_be | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/1830cdcd0ee8bc8f6aa2466efa01a39a630858ff | mips | openal-1.22.0 | NOK | http://autobuild.buildroot.net/results/0812b4f36fedb5ed46a7fd40fe260567f1525176 | ORPH mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e1967d006f9990de3dc6be4843f974dd5c6c02fb | sh4a | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/37922e62265de6ea9e4fd3eb666b9a02e647fe26 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c570c0e386b50d3c5f6351d4744a87715c388941 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6b02f836024b7b4f6429780c2ccea5b044c4ce26 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/bdf21613f1253ca872e53b3eee458db4d62f994f | sh4 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/abdba77b093647930a70cd3e09a2a1e223767050 | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ef1f51dd29cd6604ec0e5e0ed7176173940934a0 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/39eb1e4068dcf260f38b523ac1082a1296e9de68 | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/17fcf3fae5e0f6d3548d7c2b9c261ebe9095288c | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/0836ade0246dd35fc0b6e2726810984ac8dcd8fa | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/089de0a21086afdc94bae15ee0e0691ed1c83288 | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/95eca9881d328fcc0fee76e71ff22a51d89a7955 | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cdfe94fc3d554a13ca6fa96c54bf89866a262add | mips64 | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/31819a663e6a11a09901cfcad4d73394da2eb6a2 | arceb | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/99071d132f1ffa25acd4a03236b996985aa05ccb | armeb | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/b71c129005d4d5056e49cd04482dd6baa291a780 | riscv32 | pistache-3ec9d7c4f8b828fdd3... | NOK | http://autobuild.buildroot.net/results/81f7642c2dac449271c22e737b1b8e27150047ad | ORPH sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/049d372da326becb6a7a8ddeffe5a5b936a78204 | armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/07005d1e49eb10490d65e9d4bb8a1a091dd9602f | ORPH armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/af7031e2aff4f2a37090dc87b4414a833a9f310f | ORPH m68k | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/19342a49d5b807b96f3cb2e113d3cade146225f3 | ORPH mipsel | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/8469555f43c60739f23f32c61d4430c08553991c | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/404cdc0844f052e3aaf9a4f81420c51c4e2481e9 | ORPH aarch64_be | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5d88549f5dff028459646283c276ff39a7d429cc | ORPH sparc | squid-6.2 | NOK | http://autobuild.buildroot.net/results/8b7cd69f3f7c0d966be98a2a359a9a6706f010ad | ORPH nios2 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/2a78ff4119005110ce82a9031271c794ddbe13ce | ORPH arc | squid-6.2 | NOK | http://autobuild.buildroot.net/results/bf405fa190c7c85842c16ab94d6af07c528000cb | ORPH sh4a | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/d6f70df6c5b4cd88d394c777c359274306b245b5 | arm | tar-1.35 | NOK | http://autobuild.buildroot.net/results/d3f498fbffa8b533b8d914c426e7262cceca7cf6 | ORPH or1k | tbb-2021.10.0 | NOK | http://autobuild.buildroot.net/results/588418a71d4d052338df6cbcab30b25fb11482a6 | arc | tbb-2021.10.0 | NOK | http://autobuild.buildroot.net/results/03686ddde96537fe40c68fa773441e2cf7486d36 | mips64 | tpm2-tss-3.2.2 | NOK | http://autobuild.buildroot.net/results/e4a3a43c8a79c96fc911ad95209824e4b8e2c1a7 | ORPH mips | unknown | NOK | http://autobuild.buildroot.net/results/e34c40fab3aebcc462b739a1120ac664866977f1 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/8b81da3e1b0cabd7e83e2d849f06344adabb3ef8 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/5622d45cc25f1fef07a8d9e459002963589ab445 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/d5d758a4f986cd7af6fc3128beb592a86e4f3f25 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/b6e45c742f9648d975ced73cf0a6332206fb35d0 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/36eb257c3d72220af078ae5b60326911b5150f35 | arm | unknown | NOK | http://autobuild.buildroot.net/results/8e68b92ce0cd58e34b49fad946a806fbe5f49cf8 | arm | unknown | NOK | http://autobuild.buildroot.net/results/6f06ba0ace72dbd68d6ed83a8ed9ec175a730076 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/86d2b931c0b9a7600f031e5c25783994d6fd1c85 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/ef035372812ce14e5566cc14a26b01f179e3383a | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/8992a40f37052bc87fad383bb664784c5d90b4dd | mips | unknown | NOK | http://autobuild.buildroot.net/results/23f8b50a6d573516fe678272cc1c638030ea89c1 | arceb | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/d0aa23a6355b95c66dd631043847209d5c39933d | ORPH arm | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/bdadd5653019f4def332dbd1233c7d05e9f46e21 | ORPH arm | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/136d20129bd63d23883a559ea520da0b699970f2 | ORPH arm | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/449ff36fe62c51dc6046b3b1b8f61d858adb5bfc | arm | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/b6c3b1961f185b5d6aad506b0b7be656e9b1abd4 | microblazeel | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/aa904080f91e664f2b9ff5ed222fe09a45f593e2 | powerpc | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/6b1329d74614bb768ef92e19d7cc25deed0f45ed | aarch64_be | xwayland-23.1.1 | NOK | http://autobuild.buildroot.net/results/d40b03e7f30b04484b21ec9e4860f40d50573f44 | Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 2 host-rust-1.67.1 | 2 elfutils-0.186 | 1 linux-6.1.55 | 1 madplay-0.15.2b | 1 motion-4.5.1 | 1 python-numpy-1.23.5 | 1 uclibc-1.0.44 | 1 zeek-4.1.1 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/20ebfc26467750e0a0320f8d6a2d0af3a078ee13 | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c5b41aba8f6e2d54f15b61d7a2828ffb638c69c8 | microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/9fb238aafa5ff7a3c659932426728b95fc1e1295 | ORPH powerpc64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/98e55f7c4540fa35f4add7452f294f2e86a4465f | x86_64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/d25983e276febd7d9accfb758d7f6c87a07fd7e7 | powerpc | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/d0e8d97b300361f17ce17d759a5479eb8c7eac25 | ORPH armeb | madplay-0.15.2b | NOK | http://autobuild.buildroot.net/results/091e1cfd7b4106b02844a665de29181822340fc7 | ORPH sparc64 | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/92cc0c5a717ff53b742171bc3f9fdfb1d369e250 | mips | python-numpy-1.23.5 | NOK | http://autobuild.buildroot.net/results/b0c9787ab704e77e2ebe7b33be886d7739e2382e | riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/7d89f0c7a7c02ed59941174fb3dd860fc4f18de6 | m68k | zeek-4.1.1 | NOK | http://autobuild.buildroot.net/results/0267af087a760dac688b99a2e7a83156ab90ec1d | Classification of failures by reason for 2023.08.x -------------------------------------------------- elfutils-0.189 | 3 bird-2.0.12 | 2 check-11970a7e112dfe243a2e6... | 1 lightning-2.2.2 | 1 mongodb-4.2.18 | 1 perl-5.36.1 | 1 util-linux-2.39.1 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/e02186fa66aabd9e0f8402064c7c4d69acddd035 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/372ced650267fd5f6290976dc1bf81913de99a9c | xtensa | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/1f37b938902b4f833ef1556e932a2a43c0a35eed | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/1e478f34073b978105d57823e643dc378d770aaa | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/8bc43430721b5a026306715d95147ba326a9081d | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3145746b20c7cdba8d97199497b0d165efbbd396 | ORPH mips64el | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/f951d91d2ca4647170a52499a243d45d13d3bced | aarch64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/c1d71ddeeab618365ed44e885f2b4ccbbd813efc | microblazeel | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/d1831bd358d7cf258f816c45641dbc238ccc4d1f | m68k | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/7d336bdaf68d7da73ff199ea8856544435ecea4a | ORPH -- http://autobuild.buildroot.net From neal.frager at amd.com Thu Oct 5 05:59:20 2023 From: neal.frager at amd.com (Frager, Neal) Date: Thu, 5 Oct 2023 05:59:20 +0000 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: <20231004235756.255601f7@windsurf> References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> <877co67fgz.fsf@48ers.dk> <20231003091539.5e26d558@booty> <20231004235756.255601f7@windsurf> Message-ID: Hi Thomas, Peter, > > > This series instead goes to the other extreme, E.G. we build the > > > entire microblaze toolchain from scratch and then use it to build > > > the firmware and use it in the u-boot package - This is nice > > > because it is all in Buildroot and we have it all under control, > > > but also brings quite some build time overhead for building the > > > toolchain before building the > > (small) toolchain. You can naturally "solve" it by using two > > defconfigs, E.G. one that builds the pmufw and another that uses the > > prebuilt one, but it isn't very handy either. > > I think the approach taken here by Neal and Ibai is valuable, > especially as it would allow Buildroot defconfigs to be self-standing. > Additionally it is already proving useful as it prompted "the > community" (mostly Neal -- thanks about that) to upstream patches > needed to support Microblaze in binutils and gcc, that are currently > downstream. > I agree. If we agree that being able to build everything (including the microblaze bare-metal) toolchain is valuable, then should we go ahead and commit v4 of my patch set? We can always figure out how to add a pre-built microblaze toolchain later. And if users wish to have a faster build time, they can always use the option of a pre-built pmufw in their defconfig. This will skip the build of the microblaze bare-metal toolchain. > I fyou are thinking about toolchains.bootlin.com, I am not the > maintainer of those toolchains but I think the idea is to only have > Linux toolchains there, not bare metal ones, thus newlib is not > supported. Also I'm pretty sure downstream feature patches are > absolutely not welcome there. >Regarding providing a bare-metal toolchain on toolchains.bootlin.com, we have a chicken-and-egg problem: the toolchains on toolchains.bootlin.com are built using... Buildroot. So if we want toolchains.bootlin.com to offer pre-built bare-metal toolchains, we need Buildroot to be able to generate such bare-metal toolchains in the first place :-) Understood. We will have to think of a place to host a pre-built toolchain. By the way, Ibai and I have successfully identified the minimum patch set required for correctly building the zynqmp pmufw, versal plm and versal psmfw including the barrel shift instructions. We are in the process of upstreaming all the necessary patches to gnu binutils. Once upstreamed, we can move the toolchain-bare-metal packages to the upstream version without needing the meta-xilinx patch set. I will update the toolchain-bare-metal packages when this is ready. Basically, we are skipping the majority of the patches which are just for enabling 64-bit microblaze support which we do not require for zynqmp or versal. The upstream binutils and gcc are actually in very good shape for 32-bit microblaze support. That is why the zynqmp-pmufw-builder works already today. Best regards, Neal Frager AMD From wbx at openadk.org Thu Oct 5 06:14:09 2023 From: wbx at openadk.org (Waldemar Brodkorb) Date: Thu, 5 Oct 2023 08:14:09 +0200 Subject: [Buildroot] [PATCH] package/squid: bump version to 6.3 Message-ID: Signed-off-by: Waldemar Brodkorb --- package/squid/squid.hash | 8 ++++---- package/squid/squid.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/squid/squid.hash b/package/squid/squid.hash index ec60a0e9d1..a6d4c5d056 100644 --- a/package/squid/squid.hash +++ b/package/squid/squid.hash @@ -1,6 +1,6 @@ -# From http://www.squid-cache.org/Versions/v6/squid-6.2.tar.xz.asc -md5 ad01b7d82b6a00ffd8cd39b97113d05a squid-6.2.tar.xz -sha1 29ddb4c522a36f1270e7cfa66f0dec8805fd2b57 squid-6.2.tar.xz +# From http://www.squid-cache.org/Versions/v6/squid-6.3.tar.xz.asc +md5 2512b5d27856e6f91a97719784506893 squid-6.3.tar.xz +sha1 7bd74034015c6a4d345a4d277a431908bed2ec4a squid-6.3.tar.xz # Locally calculated -sha256 dd759e151e997d31786d91743d327b1b4b532f1caea66bf81100ec8ba04ec4c1 squid-6.2.tar.xz +sha256 74a0f5586a7a5d89573d502708d5e1d66ddf0430cf4802cc7261b765653248fa squid-6.3.tar.xz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/squid/squid.mk b/package/squid/squid.mk index 167e9f67d8..019a202952 100644 --- a/package/squid/squid.mk +++ b/package/squid/squid.mk @@ -4,7 +4,7 @@ # ################################################################################ -SQUID_VERSION = 6.2 +SQUID_VERSION = 6.3 SQUID_SOURCE = squid-$(SQUID_VERSION).tar.xz SQUID_SITE = http://www.squid-cache.org/Versions/v6 SQUID_LICENSE = GPL-2.0+ -- 2.39.2 From flaniel at linux.microsoft.com Thu Oct 5 06:24:57 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 5 Oct 2023 09:24:57 +0300 Subject: [Buildroot] [PATCH 0/1] package/tbb: fixes hash Message-ID: <20231005062458.8973-1-flaniel@linux.microsoft.com> Hi. Sorry, I got mixed up while bumping tbb and the whole sysdig stuff and actually forgot to update the hash in the previous commit. Lesson learnt, I will clearly double check before sending next patches. The present patch fixes the situation with the correct (locally computed) hash. Francis Laniel (1): package/tbb: fixes hash package/tbb/tbb.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Best regards and again sorry for the disturbance. -- 2.34.1 From flaniel at linux.microsoft.com Thu Oct 5 06:24:58 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 5 Oct 2023 09:24:58 +0300 Subject: [Buildroot] [PATCH 1/1] package/tbb: fixes hash In-Reply-To: <20231005062458.8973-1-flaniel@linux.microsoft.com> References: <20231005062458.8973-1-flaniel@linux.microsoft.com> Message-ID: <20231005062458.8973-2-flaniel@linux.microsoft.com> Fixes: 74b50d553eaf ("package/tbb: bump to version 2021.10.0.") Signed-off-by: Francis Laniel --- package/tbb/tbb.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 1caf81c5c5..085d54109a 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz +sha256 487023a955e5a3cc6d3a0d5f89179f9b6c0ae7222613a7185b0227ba0c83700b tbb-2021.10.0.tar.gz sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt -- 2.34.1 From tomi.valkeinen at ideasonboard.com Thu Oct 5 14:42:50 2023 From: tomi.valkeinen at ideasonboard.com (Tomi Valkeinen) Date: Thu, 5 Oct 2023 17:42:50 +0300 Subject: [Buildroot] [PATCH 1/1] package/rwmem: bumb to latest version Message-ID: <20231005144250.43169-1-tomi.valkeinen@ideasonboard.com> Bumb rwmem to the latest version. The main reason to bumb is to get a fix for a compilation issue present when compiling with gcc-13 (need to include ). As the project has moved to C++20, we need to adjust the Config.in accordingly. Signed-off-by: Tomi Valkeinen --- package/rwmem/Config.in | 6 +++--- package/rwmem/rwmem.hash | 2 +- package/rwmem/rwmem.mk | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/rwmem/Config.in b/package/rwmem/Config.in index cd9a7f78f1..690b034070 100644 --- a/package/rwmem/Config.in +++ b/package/rwmem/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_RWMEM bool "rwmem" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20 depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR # fmt select BR2_PACKAGE_FMT @@ -10,6 +10,6 @@ config BR2_PACKAGE_RWMEM https://github.com/tomba/rwmem -comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 5" +comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 10" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 diff --git a/package/rwmem/rwmem.hash b/package/rwmem/rwmem.hash index 9becbc5b21..da74002cb4 100644 --- a/package/rwmem/rwmem.hash +++ b/package/rwmem/rwmem.hash @@ -1,2 +1,2 @@ -sha256 55d28f029c0cd5c21d3e1c89371e2905d5217f571ef5389ed0fce163804d1c4a rwmem-c8291705c82bb0686be9adf6a427a2b72114719a.tar.gz +sha256 e6cb76b77869aef9ec4a2c31d0d80af0182a5f9c9c3ae06225c8fb2f8266379f rwmem-c89bc9ad9a8f2359f358c510db57b7678eb156d1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/package/rwmem/rwmem.mk b/package/rwmem/rwmem.mk index 24c4e92efc..d6ef05193b 100644 --- a/package/rwmem/rwmem.mk +++ b/package/rwmem/rwmem.mk @@ -4,7 +4,7 @@ # ################################################################################ -RWMEM_VERSION = c8291705c82bb0686be9adf6a427a2b72114719a +RWMEM_VERSION = c89bc9ad9a8f2359f358c510db57b7678eb156d1 RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION)) RWMEM_LICENSE = GPL-2.0 RWMEM_LICENSE_FILES = LICENSE -- 2.34.1 From yann.morin.1998 at free.fr Thu Oct 5 16:17:38 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 18:17:38 +0200 Subject: [Buildroot] [PATCH 0/2 v2] support/runtime-test: extend graphic testing for weston + flutter (branch yem/flutter) Message-ID: Hello All! This little two-patch series extends the runtime tests with a helper to allow easily testing that a graphical application properly renders something, and converts the weston test to use it, and finally extends the flutter test to use it. Canges v1 -> v2: - fix flutter test Regards, Yann E. MORIN. ---------------------------------------------------------------- Yann E. MORIN (2): support/runtime-test: add helper to test graphics rendering suport/runtime-test: extend flutter test to check rendering is happening support/testing/tests/graphics_base.py | 39 ++++++++++++++ support/testing/tests/package/test_flutter.py | 35 ++++++++++--- .../flutter-gallery.service | 1 - support/testing/tests/package/test_weston.py | 61 ++++------------------ 4 files changed, 78 insertions(+), 58 deletions(-) create mode 100644 support/testing/tests/graphics_base.py delete mode 120000 support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Oct 5 16:17:40 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 18:17:40 +0200 Subject: [Buildroot] [PATCH 1/2 v2] support/runtime-test: add helper to test graphics rendering In-Reply-To: References: Message-ID: In 4edb0e3456ef (support/testing/tests/package/test_weston.py: new runtime test), the weston test was introduced, and thus was the first that needed to test that rendering was happening. Now we also have a test for a flutter application, and we'll want to have it test the rendering too. Move the corresponding code to a helper that can be reused by other tests, rather than duplicate (or reinvent) it. Switch weston to using that new helper. Signed-off-by: Yann E. MORIN Cc: Julien Olivain --- support/testing/tests/graphics_base.py | 39 +++++++++++++ support/testing/tests/package/test_weston.py | 61 ++++---------------- 2 files changed, 49 insertions(+), 51 deletions(-) create mode 100644 support/testing/tests/graphics_base.py diff --git a/support/testing/tests/graphics_base.py b/support/testing/tests/graphics_base.py new file mode 100644 index 0000000000..15a4c00bb2 --- /dev/null +++ b/support/testing/tests/graphics_base.py @@ -0,0 +1,39 @@ +class GraphicsBase: + def get_n_fb_crc(self, *, count=10, uniq=False, timeout=-1): + """ + Return count DRM CRC from the framebuffer. If uniq is True, + only unique CRCs are returned (which may be less than the + requested cont). + Returns a possibly empty list of integers. + Set timeout to -1 for no timeout, or to a positive number for + a timeout of that many seconds. + """ + # DRM CRCs are exposed through a sysfs pseudo file + try: + self.debugfs_mounted + except AttributeError: + # Note: some init system (e.g. systemd) may have this already + # mounted, so check beforehand + self.assertRunOk("mountpoint /sys/kernel/debug/ || mount -t debugfs none /sys/kernel/debug/") + self.debugfs_mounted = True + + # The first column is the frame number, the second column is the + # CRC measure. We use "head" to get the needed CRC count. + disp_crc_path = "/sys/kernel/debug/dri/0/crtc-0/crc/data" + cmd = f"head -{count} {disp_crc_path}" + + # The DRM CRC sysfs pseudo file lines are terminated by '\n' + # and '\0'. We remove the '\0' to have a text-only output. + cmd += " | tr -d '\\000'" + + # Finally, we drop the frame counter, and keep only the second + # column (CRC values) + cmd += " | cut -f 2 -d ' '" + + if uniq: + cmd += " | sort -u" + + output, exit_code = self.emulator.run(cmd, timeout=timeout) + self.assertTrue(exit_code == 0, f"'{cmd}' failed with exit code {exit_code}") + + return [int(crc, 16) for crc in output] diff --git a/support/testing/tests/package/test_weston.py b/support/testing/tests/package/test_weston.py index df1b7a4135..f37a73565f 100644 --- a/support/testing/tests/package/test_weston.py +++ b/support/testing/tests/package/test_weston.py @@ -2,9 +2,10 @@ import os import time import infra.basetest +from ..graphics_base import GraphicsBase -class TestWeston(infra.basetest.BRTest): +class TestWeston(infra.basetest.BRTest, GraphicsBase): config = \ """ BR2_aarch64=y @@ -36,31 +37,6 @@ class TestWeston(infra.basetest.BRTest): infra.filepath("tests/package/test_weston/linux-vkms.fragment") ) - def gen_read_disp_crcs_cmd(self, count=1): - # DRM CRCs are exposed through a sysfs pseudo file, one measure - # per line. The first column is the frame number, the second - # column is the CRC measure. We use "head" to get the needed - # CRC count. - disp_crc_path = "/sys/kernel/debug/dri/0/crtc-0/crc/data" - cmd = f"head -{count} {disp_crc_path}" - - # The DRM CRC sysfs pseudo file lines are terminated by '\n' - # and '\0'. We remove the '\0' to have a text-only output. - cmd += " | tr -d '\\000'" - - # Finally, we drop the frame counter, and keep only the second - # column (CRC values) - cmd += " | cut -f 2 -d ' '" - - return cmd - - def gen_count_unique_disp_crcs_cmd(self, count=10): - # We get the command generating one CRC per line... - cmd = self.gen_read_disp_crcs_cmd(count) - # ...then count the number of unique values - cmd += " | uniq | wc -l" - return cmd - def start_weston(self): self.assertRunOk("export XDG_RUNTIME_DIR=/tmp") @@ -106,25 +82,14 @@ class TestWeston(infra.basetest.BRTest): # Check a simple info client can communicate with the compositor self.assertRunOk("wayland-info", timeout=10) - # This test will use the Kernel VKMS DRM Display CRC support, - # which is exposed in debugfs. See: - # https://docs.kernel.org/gpu/drm-uapi.html#display-crc-support - self.assertRunOk("mount -t debugfs none /sys/kernel/debug/") - # We get 10 consecutive DRM frame CRCs and count how many # unique CRCs we have. Since weston is supposed to run idle, # we should have 10 times the same display CRC. - cmd = self.gen_count_unique_disp_crcs_cmd() - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertEqual(int(output[0]), 1) + self.assertTrue(len(self.get_n_fb_crc(uniq=True)) == 1) # We save the CRC value of an empty weston desktop for # later... - cmd = self.gen_read_disp_crcs_cmd() - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - weston_desktop_crc = int(output[0], 16) + weston_desktop_crc = self.get_n_fb_crc(count=1)[0] # We start the weston-simple-egl in background... Every # rendered frame is supposed to be different (as the triangle @@ -138,10 +103,8 @@ class TestWeston(infra.basetest.BRTest): # display something, we are now supposed to measure a # different display CRC than the one we measured when the # desktop was empty. - cmd = self.gen_read_disp_crcs_cmd() - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertNotEqual(int(output[0], 16), weston_desktop_crc) + crc = self.get_n_fb_crc(count=1)[0] + self.assertNotEqual(crc, weston_desktop_crc) # While weston-simple-egl is running, we check the VKMS DRM # CRCs are now changing. We get many CRCs, one per display @@ -152,10 +115,8 @@ class TestWeston(infra.basetest.BRTest): # remain very permissive to slow emulation situations. # Increase timeout, as the command is expected to run about 5s, # which is the default timeout. - cmd = self.gen_count_unique_disp_crcs_cmd(300) - output, exit_code = self.emulator.run(cmd, timeout=10) - self.assertEqual(exit_code, 0) - self.assertGreaterEqual(int(output[0]), 5) + crcs = self.get_n_fb_crc(count=300, timeout=10) + self.assertGreaterEqual(len(crcs), 5) # We stop weston-simple-egl, and sleep a bit to let Weston do # its cleanup and desktop repaint refresh... @@ -165,10 +126,8 @@ class TestWeston(infra.basetest.BRTest): # After we stopped the application, we should have the initial # weston desktop background. The CRC we measure now should be # the same as the one we saved earlier. - cmd = self.gen_read_disp_crcs_cmd() - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertEqual(int(output[0], 16), weston_desktop_crc) + crc = self.get_n_fb_crc(count=1)[0] + self.assertEqual(crc, weston_desktop_crc) self.stop_weston() -- 2.25.1 From yann.morin.1998 at free.fr Thu Oct 5 16:17:41 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 18:17:41 +0200 Subject: [Buildroot] [PATCH 2/2 v2] suport/runtime-test: extend flutter test to check rendering is happening In-Reply-To: References: Message-ID: <33ee4b08c20f9c4566cfe82c648f01599cab70b5.1696522656.git.yann.morin.1998@free.fr> Commit 7f0af11cee31 (support/testing/tests/package/test_flutter.py: new runtime test) added a simple test that just checked that the systemd unit launching the application, was active. It is perfectly possible, from a systemd perspective, that the unit is active, while the application actually crashes. Instead, what we need to check, is that the application does actually render "something"; we don't really care what, as long as we know it is actually rendering, thus the graphical stack is working and the aplication stack is running. Extend the flutter runtime test to also check that the framebuffer is modified by the application when it is running, similarly to what we do in the weston test. We drop the activation of the unit and start it manually, as we want to check the state of the CRC before, while, and after the application runs. We also need to disable the blinking cursor on the console, or we would not be able to detect whether a change in CRC is due to the application starting rendering, or to the cursor blinking. We tell the kernel to disable the cursor with the appropriate kernel command line parameter. Signed-off-by: Yann E. MORIN Cc: Adam Duskett --- Changes v1 -> v2: - don't mistake blinking cursor for application start (Adam) - properly terminate application (Adam) --- support/testing/tests/package/test_flutter.py | 35 +++++++++++++++---- .../flutter-gallery.service | 1 - 2 files changed, 29 insertions(+), 7 deletions(-) delete mode 120000 support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service diff --git a/support/testing/tests/package/test_flutter.py b/support/testing/tests/package/test_flutter.py index a3e98a43e5..515c95409f 100644 --- a/support/testing/tests/package/test_flutter.py +++ b/support/testing/tests/package/test_flutter.py @@ -1,8 +1,11 @@ import os +import time import infra.basetest +from ..graphics_base import GraphicsBase -class TestFlutter(infra.basetest.BRTest): + +class TestFlutter(infra.basetest.BRTest, GraphicsBase): config = f""" BR2_aarch64=y BR2_TOOLCHAIN_EXTERNAL=y @@ -39,7 +42,7 @@ class TestFlutter(infra.basetest.BRTest): self.emulator.boot( arch="aarch64", kernel=kern, - kernel_cmdline=["root=/dev/vda console=ttyAMA0"], + kernel_cmdline=["root=/dev/vda console=ttyAMA0 vt.global_cursor_default=0"], options=["-M", "virt", "-cpu", "cortex-a57", "-m", "512M", @@ -48,7 +51,27 @@ class TestFlutter(infra.basetest.BRTest): "-vnc", "none", "-drive", f"file={img},if=virtio,format=raw"]) self.emulator.login() - cmd = "systemctl is-active flutter-gallery" - output, exit_code = self.emulator.run(cmd, 10) - self.assertEqual(exit_code, 0) - self.assertEqual(output[0], "active") + + # Get the CRC from the current ramebuffer + empty_crc = self.get_n_fb_crc(count=1)[0] + + # Start the gallery App. It can take a bit of time to start, + # so lets try a few times. 600 samples should cover about 10s + # @60Hz (although, the rendering could be much slower on slow + # machines) + self.assertRunOk("systemctl start flutter-gallery", timeout=10) + for i in range(600): + gallery_crc = self.get_n_fb_crc(count=1)[0] + if gallery_crc != empty_crc: + break + time.sleep(1) + self.assertNotEqual(gallery_crc, empty_crc, "gallery app did not render anything on screen") + + # Stop the application, and check it restored the framebuffer content + self.assertRunOk("systemctl stop flutter-gallery", timeout=10) + for i in range(600): + gallery_crc = self.get_n_fb_crc(count=1)[0] + if gallery_crc == empty_crc: + break + time.sleep(1) + self.assertEqual(gallery_crc, empty_crc, "gallery app did not stop rendering") diff --git a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service deleted file mode 120000 index 40993fb16c..0000000000 --- a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service +++ /dev/null @@ -1 +0,0 @@ -../../../../usr/lib/systemd/system/flutter-gallery.service \ No newline at end of file -- 2.25.1 From peter at korsgaard.com Thu Oct 5 19:43:12 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 5 Oct 2023 21:43:12 +0200 Subject: [Buildroot] [PATCH] package/{glibc, localedef}: security bump to version glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 Message-ID: <20231005194313.1044692-1-peter@korsgaard.com> Fixes the following security issues: CVE-2023-4527: If the system is configured in no-aaaa mode via /etc/resolv.conf, getaddrinfo is called for the AF_UNSPEC address family, and a DNS response is received over TCP that is larger than 2048 bytes, getaddrinfo may potentially disclose stack contents via the returned address data, or crash. CVE-2023-4806: When an NSS plugin only implements the _gethostbyname2_r and _getcanonname_r callbacks, getaddrinfo could use memory that was freed during buffer resizing, potentially causing a crash or read or write to arbitrary memory. CVE-2023-5156: The fix for CVE-2023-4806 introduced a memory leak when an application calls getaddrinfo for AF_INET6 with AI_CANONNAME, AI_ALL and AI_V4MAPPED flags set. CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index 4d2e9fbbd2..00d9f1c985 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 06d73b1804767f83885ab03641e2a7bf8d73f0a6cf8caee4032d8d1cc2e76cce glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675.tar.gz +sha256 fd991e43997ff6e4994264c3cbc23fa87fa28b1b3c446eda8fc2d1d3834a2cfb glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 844bed5051..0b71530310 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 +GLIBC_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index 650b319a25..ed6d4b4968 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 +LOCALEDEF_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc -- 2.30.2 From yann.morin.1998 at free.fr Thu Oct 5 19:54:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:54:10 +0200 Subject: [Buildroot] [git commit] package/{glibc, localedef}: security bump to version glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 Message-ID: <20231005195451.DA29D84251@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8519de517e222c36108f0b573585de3057865ba7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: CVE-2023-4527: If the system is configured in no-aaaa mode via /etc/resolv.conf, getaddrinfo is called for the AF_UNSPEC address family, and a DNS response is received over TCP that is larger than 2048 bytes, getaddrinfo may potentially disclose stack contents via the returned address data, or crash. CVE-2023-4806: When an NSS plugin only implements the _gethostbyname2_r and _getcanonname_r callbacks, getaddrinfo could use memory that was freed during buffer resizing, potentially causing a crash or read or write to arbitrary memory. CVE-2023-5156: The fix for CVE-2023-4806 introduced a memory leak when an application calls getaddrinfo for AF_INET6 with AI_CANONNAME, AI_ALL and AI_V4MAPPED flags set. CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index 4d2e9fbbd2..00d9f1c985 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 06d73b1804767f83885ab03641e2a7bf8d73f0a6cf8caee4032d8d1cc2e76cce glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675.tar.gz +sha256 fd991e43997ff6e4994264c3cbc23fa87fa28b1b3c446eda8fc2d1d3834a2cfb glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 844bed5051..0b71530310 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 +GLIBC_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index 650b319a25..ed6d4b4968 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 +LOCALEDEF_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc From yann.morin.1998 at free.fr Thu Oct 5 19:54:57 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:54:57 +0200 Subject: [Buildroot] [PATCH] package/{glibc, localedef}: security bump to version glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 In-Reply-To: <20231005194313.1044692-1-peter@korsgaard.com> References: <20231005194313.1044692-1-peter@korsgaard.com> Message-ID: <20231005195457.GA2552@scaer> Peter, All, On 2023-10-05 21:43 +0200, Peter Korsgaard spake thusly: > Fixes the following security issues: > > CVE-2023-4527: If the system is configured in no-aaaa mode via > /etc/resolv.conf, getaddrinfo is called for the AF_UNSPEC address > family, and a DNS response is received over TCP that is larger than > 2048 bytes, getaddrinfo may potentially disclose stack contents via > the returned address data, or crash. > > CVE-2023-4806: When an NSS plugin only implements the > _gethostbyname2_r and _getcanonname_r callbacks, getaddrinfo could use > memory that was freed during buffer resizing, potentially causing a > crash or read or write to arbitrary memory. > > CVE-2023-5156: The fix for CVE-2023-4806 introduced a memory leak when > an application calls getaddrinfo for AF_INET6 with AI_CANONNAME, > AI_ALL and AI_V4MAPPED flags set. > > CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the > environment of a setuid program and NAME is valid, it may result in a > buffer overflow, which could be exploited to achieve escalated > privileges. This flaw was introduced in glibc 2.34. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/glibc/glibc.hash | 2 +- > package/glibc/glibc.mk | 2 +- > package/localedef/localedef.mk | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash > index 4d2e9fbbd2..00d9f1c985 100644 > --- a/package/glibc/glibc.hash > +++ b/package/glibc/glibc.hash > @@ -1,5 +1,5 @@ > # Locally calculated (fetched from Github) > -sha256 06d73b1804767f83885ab03641e2a7bf8d73f0a6cf8caee4032d8d1cc2e76cce glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675.tar.gz > +sha256 fd991e43997ff6e4994264c3cbc23fa87fa28b1b3c446eda8fc2d1d3834a2cfb glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701.tar.gz > > # Hashes for license files > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk > index 844bed5051..0b71530310 100644 > --- a/package/glibc/glibc.mk > +++ b/package/glibc/glibc.mk > @@ -7,7 +7,7 @@ > # Generate version string using: > # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- > # When updating the version, please also update localedef > -GLIBC_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 > +GLIBC_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 > # Upstream doesn't officially provide an https download link. > # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, > # sometimes the connection times out. So use an unofficial github mirror. > diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk > index 650b319a25..ed6d4b4968 100644 > --- a/package/localedef/localedef.mk > +++ b/package/localedef/localedef.mk > @@ -7,7 +7,7 @@ > # Use the same VERSION and SITE as target glibc > # As in glibc.mk, generate version string using: > # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- > -LOCALEDEF_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 > +LOCALEDEF_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 > LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz > LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) > HOST_LOCALEDEF_DL_SUBDIR = glibc > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Oct 5 19:55:15 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:55:15 +0200 Subject: [Buildroot] [git commit] package/tbb: fixes hash Message-ID: <20231005195603.918238426E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5bb58af5eb621084b7266c63bc8033d3e1736460 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: 74b50d553eaf ("package/tbb: bump to version 2021.10.0.") Signed-off-by: Francis Laniel Signed-off-by: Yann E. MORIN --- package/tbb/tbb.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 1caf81c5c5..085d54109a 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz +sha256 487023a955e5a3cc6d3a0d5f89179f9b6c0ae7222613a7185b0227ba0c83700b tbb-2021.10.0.tar.gz sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt From yann.morin.1998 at free.fr Thu Oct 5 19:56:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:56:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: fixes hash In-Reply-To: <20231005062458.8973-2-flaniel@linux.microsoft.com> References: <20231005062458.8973-1-flaniel@linux.microsoft.com> <20231005062458.8973-2-flaniel@linux.microsoft.com> Message-ID: <20231005195612.GB2552@scaer> Francis, All, On 2023-10-05 09:24 +0300, Francis Laniel spake thusly: > Fixes: 74b50d553eaf ("package/tbb: bump to version 2021.10.0.") > Signed-off-by: Francis Laniel Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/tbb/tbb.hash | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > index 1caf81c5c5..085d54109a 100644 > --- a/package/tbb/tbb.hash > +++ b/package/tbb/tbb.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz > +sha256 487023a955e5a3cc6d3a0d5f89179f9b6c0ae7222613a7185b0227ba0c83700b tbb-2021.10.0.tar.gz > sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Oct 5 19:59:29 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:59:29 +0200 Subject: [Buildroot] [git commit] package/rwmem: bumb to latest version Message-ID: <20231005195958.BF0D68427C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0c7568d6bb53532945c60f0b1794cacce10fae36 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bumb rwmem to the latest version. The main reason to bumb is to get a fix for a compilation issue present when compiling with gcc-13 (need to include ). As the project has moved to C++20, we need to adjust the Config.in accordingly. Signed-off-by: Tomi Valkeinen Signed-off-by: Yann E. MORIN --- package/rwmem/Config.in | 6 +++--- package/rwmem/rwmem.hash | 2 +- package/rwmem/rwmem.mk | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/rwmem/Config.in b/package/rwmem/Config.in index cd9a7f78f1..690b034070 100644 --- a/package/rwmem/Config.in +++ b/package/rwmem/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_RWMEM bool "rwmem" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20 depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR # fmt select BR2_PACKAGE_FMT @@ -10,6 +10,6 @@ config BR2_PACKAGE_RWMEM https://github.com/tomba/rwmem -comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 5" +comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 10" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 diff --git a/package/rwmem/rwmem.hash b/package/rwmem/rwmem.hash index 9becbc5b21..da74002cb4 100644 --- a/package/rwmem/rwmem.hash +++ b/package/rwmem/rwmem.hash @@ -1,2 +1,2 @@ -sha256 55d28f029c0cd5c21d3e1c89371e2905d5217f571ef5389ed0fce163804d1c4a rwmem-c8291705c82bb0686be9adf6a427a2b72114719a.tar.gz +sha256 e6cb76b77869aef9ec4a2c31d0d80af0182a5f9c9c3ae06225c8fb2f8266379f rwmem-c89bc9ad9a8f2359f358c510db57b7678eb156d1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/package/rwmem/rwmem.mk b/package/rwmem/rwmem.mk index 24c4e92efc..d6ef05193b 100644 --- a/package/rwmem/rwmem.mk +++ b/package/rwmem/rwmem.mk @@ -4,7 +4,7 @@ # ################################################################################ -RWMEM_VERSION = c8291705c82bb0686be9adf6a427a2b72114719a +RWMEM_VERSION = c89bc9ad9a8f2359f358c510db57b7678eb156d1 RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION)) RWMEM_LICENSE = GPL-2.0 RWMEM_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Thu Oct 5 20:00:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 22:00:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/rwmem: bumb to latest version In-Reply-To: <20231005144250.43169-1-tomi.valkeinen@ideasonboard.com> References: <20231005144250.43169-1-tomi.valkeinen@ideasonboard.com> Message-ID: <20231005200012.GC2552@scaer> Tomi, All, On 2023-10-05 17:42 +0300, Tomi Valkeinen spake thusly: > Bumb rwmem to the latest version. The main reason to bumb is to get a > fix for a compilation issue present when compiling with gcc-13 (need to > include ). > > As the project has moved to C++20, we need to adjust the Config.in > accordingly. > > Signed-off-by: Tomi Valkeinen Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/rwmem/Config.in | 6 +++--- > package/rwmem/rwmem.hash | 2 +- > package/rwmem/rwmem.mk | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/rwmem/Config.in b/package/rwmem/Config.in > index cd9a7f78f1..690b034070 100644 > --- a/package/rwmem/Config.in > +++ b/package/rwmem/Config.in > @@ -1,6 +1,6 @@ > config BR2_PACKAGE_RWMEM > bool "rwmem" > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20 > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_USE_WCHAR # fmt > select BR2_PACKAGE_FMT > @@ -10,6 +10,6 @@ config BR2_PACKAGE_RWMEM > > https://github.com/tomba/rwmem > > -comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 5" > +comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 10" > depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ > - !BR2_TOOLCHAIN_GCC_AT_LEAST_5 > + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 > diff --git a/package/rwmem/rwmem.hash b/package/rwmem/rwmem.hash > index 9becbc5b21..da74002cb4 100644 > --- a/package/rwmem/rwmem.hash > +++ b/package/rwmem/rwmem.hash > @@ -1,2 +1,2 @@ > -sha256 55d28f029c0cd5c21d3e1c89371e2905d5217f571ef5389ed0fce163804d1c4a rwmem-c8291705c82bb0686be9adf6a427a2b72114719a.tar.gz > +sha256 e6cb76b77869aef9ec4a2c31d0d80af0182a5f9c9c3ae06225c8fb2f8266379f rwmem-c89bc9ad9a8f2359f358c510db57b7678eb156d1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE > diff --git a/package/rwmem/rwmem.mk b/package/rwmem/rwmem.mk > index 24c4e92efc..d6ef05193b 100644 > --- a/package/rwmem/rwmem.mk > +++ b/package/rwmem/rwmem.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RWMEM_VERSION = c8291705c82bb0686be9adf6a427a2b72114719a > +RWMEM_VERSION = c89bc9ad9a8f2359f358c510db57b7678eb156d1 > RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION)) > RWMEM_LICENSE = GPL-2.0 > RWMEM_LICENSE_FILES = LICENSE > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Oct 5 20:07:01 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 5 Oct 2023 22:07:01 +0200 Subject: [Buildroot] [PATCH 2/2] package/skeleton-init-systemd: flexible reinstalls In-Reply-To: <20231001160559.GM2579@scaer> References: <20230505043002.1956-1-james.d.knight@live.com> <20231001160559.GM2579@scaer> Message-ID: On 01/10/2023 18:05, Yann E. MORIN wrote: > James, All, > > On 2023-05-05 00:30 -0400, James Knight spake thusly: >> The following commit tweaks the `skeleton-init-systemd` package to >> gracefully handle if a user invokes a reinstall for the package (e.g. >> when performing development tweaks to the initial skeleton). >> >> Signed-off-by: James Knight >> --- >> Only a suggestion; feel free to drop. > > I've spent a bit of time on this, and was about to apply... > > However, there are a few "issues" I noticed with it, mostly that > /etc/fstab should not be used with systemd, but mount units should be Really? The mount unit man page [1] says: "In general, configuring mount points through /etc/fstab is the preferred approach to manage mounts for humans. For tooling, writing mount units should be preferred over editing /etc/fstab." I'm not sure if the skeleton counts as tooling or as a human. Hm, probably tooling, indeed. > used, and so /etc/fstab should only contain this one line, so it does Well, no, if we say that the skeleton is tooling, it shouldn't contain that line at all; instead, there should be a mount unit to remount rw (and no mount unit at all for ro). > not make much sense to have it "reinstallable". [snip] >> diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk >> index 4076821c0c0429cf90681f4b16be114c44bde282..18ae91f2eea30277805ee82791c62d53f24dca1e 100644 >> --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk >> +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk >> @@ -18,13 +18,23 @@ SKELETON_INIT_SYSTEMD_PROVIDES = skeleton >> ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) >> >> define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW >> - echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab The original here _was_ already "reinstallable" because it just overwrites fstab. If there is any other package that writes fstab, it's wrong anyway. Unless it's done in the overlay or post-build-script, but the overlay/script anyway still gets applied after rebuild. >> + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ >> + echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab; \ >> + else \ >> + sed -i "s|/dev/root.*|/dev/root / auto rw 0 1|g" \ >> + $(TARGET_DIR)/etc/fstab; \ >> + fi >> endef >> >> else >> >> define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW >> - echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab >> + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ >> + echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab; \ >> + else \ >> + sed -i "s|/dev/root.*|/dev/root / auto ro 0 1|g" \ >> + $(TARGET_DIR)/etc/fstab; \ >> + fi >> endef >> >> # On a R/O rootfs, /var is a tmpfs filesystem. So, at build time, we >> @@ -78,9 +88,9 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS >> mkdir -p $(TARGET_DIR)/home >> mkdir -p $(TARGET_DIR)/srv >> mkdir -p $(TARGET_DIR)/var >> - ln -s ../run $(TARGET_DIR)/var/run >> + ln -sf ../run $(TARGET_DIR)/var/run IMHO this part is simply a good idea. Regards, Arnout [1] https://www.freedesktop.org/software/systemd/man/systemd.mount.html >> # prevent install scripts to create var/lock as directory >> - ln -s ../run/lock $(TARGET_DIR)/var/lock >> + ln -sf ../run/lock $(TARGET_DIR)/var/lock >> install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf >> $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) >> endef >> -- >> 2.40.1.windows.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > From thomas.petazzoni at bootlin.com Fri Oct 6 05:43:37 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 06 Oct 2023 05:43:37 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-05 Message-ID: <20231006054342.C135D834DE@smtp1.osuosl.org> Hello, Autobuild statistics for 2023-10-05 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 17 | 10 | 1 | 28 | 2023.08.x | 15 | 10 | 0 | 25 | master | 81 | 137 | 0 | 218 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 18 alsa-lib-1.2.10 | 11 alsa-utils-1.2.10 | 10 unknown | 9 gcc-final-12.3.0 | 8 gcc-final-11.4.0 | 5 libselinux-3.5 | 4 linux-6.5.5 | 4 monit-5.33.0 | 4 spirv-tools-1.3.261.1 | 4 glibc-2.38-13-g92201f16cbcf... | 3 gobject-introspection-1.76.1 | 3 brltty-6.5 | 2 check-11970a7e112dfe243a2e6... | 2 coreutils-9.3 | 2 gcc-final-13.2.0 | 2 host-go-1.21.1 | 2 host-rust-1.71.1 | 2 libarchive-3.7.2 | 2 openblas-0.3.24 | 2 acpid-2.0.34 | 1 boost-1.83.0 | 1 cryptodev-linux-1.13 | 1 dhcp-4.4.3-P1 | 1 efivar-38 | 1 freeswitch-1.10.10 | 1 google-breakpad-c85eb4a59b6... | 1 host-erlang-26.0.2 | 1 host-gcc-final-13.2.0 | 1 host-moby-buildkit-0.11.6 | 1 host-sentry-cli-2.20.3 | 1 iw-5.19 | 1 libcamera-v0.1.0 | 1 libsoup-2.74.2 | 1 lightning-2.2.2 | 1 linux-5.10.162-cip24 | 1 linux-pam-1.5.3 | 1 ltp-testsuite-20230929 | 1 madplay-0.15.2b | 1 mariadb-10.11.4 | 1 memcached-1.6.21 | 1 nfs-utils-2.6.3 | 1 pistache-3ec9d7c4f8b828fdd3... | 1 pppd-2.5.0 | 1 python-sip-4.19.25 | 1 python3-3.11.5 | 1 quickjs-2021-03-27 | 1 rwmem-c8291705c82bb0686be9a... | 1 spirv-headers-1.3.261.1 | 1 systemd-254 | 1 tbb-2021.10.0 | 1 uclibc-1.0.44 | 1 uhd-4.3.0.0 | 1 usbguard-1.1.2 | 1 util-linux-2.39.2 | 1 wolfssl-5.6.3 | 1 xenomai-3.0.10 | 1 xvisor-0.3.2 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/cc7f40fd78850b267786a7aa41b3be75966b5085 | ORPH m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/83d079d4d88dff9bff4dc28b1642c13e04ce42c6 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/577e22668cbb88ea6ffa9c6136f9767e19af160d | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/66f59aef666a32a61491f037eb90369357da1de1 | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a3ee4298ef4a34c71cb631d3356f8087c3d3996c | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5cf125e57e55aa854b601c38a1f962f4e8c59183 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1ad4b9833379873d4c4cc1654c3cf6a1b3298be2 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5565e7aaa497c0ce038a09a853fb45884203a4ff | armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/c575952edd06384db23319db578d2923d128a94c | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/294f07cfcfecc5c28bc04f4a00fb4d9b0d26aa17 | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/4b5fbf360d08c58d21cc906d983ec0160f183d40 | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bb90548400cc15fb8bcab2803ef93c989e1f1fb0 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6947cd4833934d94cb068b3cd121bd4b47b3c0e0 | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/21e69c542cd6e7c2869a7d594127eb59d1b15b2c | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7c7433043b3df5db57ceffafeae6df5d02caaf13 | aarch64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/dd1f552d89996dcae2bbf3feadfa0dabdb0ad85f | microblaze | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a6b0dd476fb2eb68485e698c80eb85f122c0a19 | xtensa | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/bbcf557a99fb28619034c85daa0d07b5306fa9a9 | or1k | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/84c134a66a8a3734ea66e9608b202c6b2a86696c | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f1adf1ff2f1c91ccfcd80f330b9656f75cf0810a | mipsel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f0910e8d719d2f47ab5c9b570b843b1fb2572ac2 | powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/48c9140b7365c1270c87bcc3fee443153b112c3b | arm | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/c755ad05edd1597d1d4623652062da8a69492b06 | m68k | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/fb6c7cd4166c0970cefde93fc5bff185f67f41fb | mips64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/f8218a8425f7e6910cb17f289a13936097a16452 | microblazeel | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/183bbcbf6aa5de2b53939391a635c7089cef6054 | ORPH arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/3bcec7cad5236f4b8831cfeec44bd033b1dfbcb3 | ORPH arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/cfe6774566d3edc4430d6f41e3b4f4f20baaa7fa | ORPH arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/7bdbee9a01262577b34596b60f082962c42c86a0 | ORPH i686 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/c3e071938028cea5810aee8ce1a8bdaf6555ce83 | ORPH aarch64 | dhcp-4.4.3-P1 | NOK | http://autobuild.buildroot.net/results/962c74b043d5e7a0dbccdee0d69cf76a5a8792aa | ORPH i686 | efivar-38 | NOK | http://autobuild.buildroot.net/results/e899ac69bd0e4bce833997a8b827c812bcfa87b2 | or1k | freeswitch-1.10.10 | NOK | http://autobuild.buildroot.net/results/178da0d217d6137867c59ac4fa0e037d4fabf158 | arm | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/b9ac0347d3b37ecae04d17cfb96f36938606be57 | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/0bfc402d1724347b1b9df31e7bce4c741a768317 | aarch64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/7cd15d9e1d443010206523a45c1105f4d1e9cef8 | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/8b61ad5c8e88f0f33e5122d35dac8dad5caf5951 | xtensa | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/e202b266d874464ffa0ff6e7bba134c750c0ffa1 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f219fab61e20a0ef959c143922281e533523f449 | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6ebbc6d1efe2ebaae7fb1bb9f41524f037f7560d | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f79259d51469c443c9e65a32e91d764433668038 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7a9d43359947c11c5fe6446395f7c9a7550d807c | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fd68f4fb6231d709d4fc181b48378bf7f2c265fb | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/68c338735fadaa2ef879eb401eab0b68d2889857 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/770921bdbaa95c2dfa5aa43698b376e826b68fbb | aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/654e8580a4183125b2b939105a6639f2953a2ea7 | arm | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/095552ea3a636d41de4df21b0b8c11dd19b4b590 | riscv64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/394f271393ccbe31ef6b35f102f14c1308be8efc | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/c168b6063c7e718a4946091c63bb111cac229c3a | arc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/a676160da51e5c2f55ffd510fd95869352af7f85 | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/180b1e1e6310682b8a43c2efaca0cfe44405dd42 | or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/79d2434679cbc18c3565f255b813e4e4008db030 | ORPH m68k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8085e3558acfb0cabcf1aaea9aea26c83232aa34 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/fc1b3a9c491214fc34e136d8a3bbdc8ccff69bac | ORPH x86_64 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/308627cb1841783fb27ae3ebdf90899ab3d3a392 | mipsel | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/530d3587be84d4e55e09cd6be0f75b89b3f3c504 | arceb | host-gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/7b7c75cbe5bfc7f39322cc814e776190ed9f6166 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/494d11d1fafecf927e7da79959b10b31eac57950 | mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/1399c1204c821eec54a0d1e2500007c8e621d237 | arm | host-moby-buildkit-0.11.6 | NOK | http://autobuild.buildroot.net/results/4cf0c18ab96ca125490add9dd4406d66b6c4bc54 | mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/d92a22e8cdc45bf1bc14e95816a6f363b5f44e21 | armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e299dac9967a176053ea7389c6384ad34f4dd4eb | powerpc64 | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/ceb60c673db986d537434645bd49bb966adc9a1b | arm | iw-5.19 | NOK | http://autobuild.buildroot.net/results/30dc81bb4021c32de9f8ed8dee0f86cff508f080 | ORPH s390x | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/473632627e1e05a1b0a5ec12f57d99f6d9c2482b | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/ff0a7394e293b0446f32fb400b8baa79eee03c50 | aarch64 | libcamera-v0.1.0 | NOK | http://autobuild.buildroot.net/results/0a2b06f7be5e02e32f3ea50c86be6087a3ff8314 | nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/c0aa5bec6aa9f19b80bf5585072cb914196bbf6d | sh4aeb | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/0497fbe693c6751b50160b34135341bcbd4cc8c7 | armeb | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/2593165c50e779dfafe5f1bb4e085b87b6977ceb | microblazeel | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/9d5ad44312cfc20b5a8612f4d2c2078e8c71a06f | sparc | libsoup-2.74.2 | NOK | http://autobuild.buildroot.net/results/5eb054a70e3cb806e4806319d0ecb8799e148e93 | mips64 | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/9f45e4776f93b60eb11a732d7344be9e0bc55172 | microblaze | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/481d3fe2f8341adc1c04158e90c7958e5235946a | ORPH powerpc | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/eef509dc309a47ccf2a1bd8f9dc63109e9c9ed2c | ORPH mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/3489682caa8a822e45f22d10536c9509f6fb7ce6 | ORPH mips64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/9eb3ce5dff9b761402592c32e3e973e002ca81fb | ORPH mips64el | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/1e2ea2e9c5702e4521317f8d32585229e367121d | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/502681b8b090e7a9b7e7c0c1898104bb35464573 | ORPH x86_64 | ltp-testsuite-20230929 | NOK | http://autobuild.buildroot.net/results/c9abd74429d34234dc764dc59c50301982a4b589 | arm | madplay-0.15.2b | NOK | http://autobuild.buildroot.net/results/77b398aff554871f1c0fb9608f0eeb2cfbfc193c | ORPH microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/fd0ff82697e9d62c24fb476182c012159ac99c40 | ORPH arceb | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/a8d1445a84170e9561405f29d3d5375bcf29e709 | ORPH arm | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/1cd652438a5677eefeb675655a0dc58e0d4e2450 | mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/8f53882637a393979d45180fe8c820afe3fa59a7 | or1k | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/1f9c98511d4f39d78d688214a7010e5368a1051d | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/02f90b50d0ca774dccbbaa01e978ef08e67742a8 | mips | nfs-utils-2.6.3 | NOK | http://autobuild.buildroot.net/results/672cfa7a93735567439d2953e22a1814f4ea40ea | mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6dedef7f2bba1995cb40605c67101521c3578a04 | mips64el | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6d46959655de5358485cc74aaff474fc9ff58d4d | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d3e1a1a5fcd13c4f05699c3464d84f1997444a0a | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/63fa0dab911385b8c453d84cd3df1419c64cb823 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/82edcf2b6122cf58b88a36d71929776c15848e8d | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/548d057b00b75065dc84818b918385dd1ee4c677 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cf95dcb380e6c18ed68ad1c78adbab5f8794b912 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/fb0761787e4282eb878e8dabc8b802e7f9a76f5e | or1k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f63ef4ec5abee42e9eb0c8223aab50a885f765d7 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/938039d38ab047ac754b98e2a7f9dadd90a7b2bd | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f73b8c6405f423092ecb3855c52c89c97f6b9b9e | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c58dac93acfbd2a231a91102a840e70321c24a74 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f7dfa6712462d835be9948f59aaf7f325946ff4d | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7b2d404bbe1e5ee46c6cac0f4b18b7853f0c08a7 | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7c9b64e5cc8b04d6093f677e0370ba4a9ee8414b | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/825b3465d449e4225ad96280eef805338fdbeffb | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ec415e9d7ed00872986dc9b327cc5fd26cf6c776 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7a83c1b28aa6dc5e3136a14d90f49811a6836ab6 | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2f722250c7dd71d99daecfa8bd46fad3a59db5c3 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ee381f4550d20f101b69f392cde22e79e30aab4a | powerpc64le | pistache-3ec9d7c4f8b828fdd3... | NOK | http://autobuild.buildroot.net/results/f54aaa19e0fe4140116a2de2daca925208870274 | ORPH sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/9f3f7d71bd24f5c3dd28682ac28ef2c80a89d1dd | powerpc64le | python-sip-4.19.25 | NOK | http://autobuild.buildroot.net/results/dd27fbf5fa4204cf0bfdca0fe30b3ad0275759e0 | sh4a | python3-3.11.5 | NOK | http://autobuild.buildroot.net/results/986276c92b82b26a09877a16bbdec8e5b45f93e7 | armeb | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/80402926ecd4014cd0f84d36d87b7a48b05619ef | m68k | rwmem-c8291705c82bb0686be9a... | NOK | http://autobuild.buildroot.net/results/2d3b20b20a42ad7dd53fdd3f768b94ec90976ab2 | ORPH powerpc64le | spirv-headers-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/6a387441759b10eb38301c1dafec3506c72446e9 | riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/47da3f56158fba3c1aa78c6768fef889b03470e0 | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/dd2f3d24061367f2da3152a62b1e673d7c3b8c99 | ORPH m68k | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/a885e6b28c06d5d96db893143f1e1da67b539d42 | ORPH powerpc64le | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/efb5f4c1ae9595ffa6ae505448e1ee336d18f0f2 | ORPH mips64 | systemd-254 | NOK | http://autobuild.buildroot.net/results/0bdd9f47f5fef47aaec674df604a1be0a187e3d2 | s390x | tbb-2021.10.0 | NOK | http://autobuild.buildroot.net/results/8f0a2ea99940d96f6d88c08eb84e0da495e22d58 | riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/472c4051a84d9b6da534e05cb56f1e709eab0e63 | s390x | uhd-4.3.0.0 | NOK | http://autobuild.buildroot.net/results/93381d9fd9e3da0b70895810d898e10833fc5c79 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/0b9da6ab6cad83382411afc3fb759fab7f68fc27 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/6416ad6a10b7b3f768ce061f08dd39843d1d0a45 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/24d6818790290371afe171063ffadcf409de10b8 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/0b4bc50a913d6e2aa7cb9df06672dbf87d681d05 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/dcf90dad7b9525f1b09f1323c1aac811c5936862 | sh4eb | unknown | NOK | http://autobuild.buildroot.net/results/beb24715673e00529c7b1b5eef311eb5f0684ed7 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/1a4db540dabb1cf7b476f58ba8d4785f23405a07 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/57c6b3d0483ae8d56f366c113a7f44c78359ee2d | arm | unknown | NOK | http://autobuild.buildroot.net/results/fb2fc91536cc931a553dff24e96333ea2981ad2d | microblazeel | usbguard-1.1.2 | NOK | http://autobuild.buildroot.net/results/1a08823020c37a73f4e4a40f47b02fca3f159748 | i686 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/aef2f73ffeadb7c6d8c7acf91d37bbafa1f3da85 | ORPH s390x | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/d7997a74c4c6a0745e51aa7a3e0cb4d939adc549 | arc | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/6a56fb98e3492ce115ec61dbbe7cde0793089878 | riscv32 | xvisor-0.3.2 | NOK | http://autobuild.buildroot.net/results/844c64d894221155645d2640d8e6cd4b5a20af35 | Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 3 btrfs-progs | 1 check-0.15.2 | 1 elfutils-0.186 | 1 host-go-1.19.13 | 1 motion-4.5.1 | 1 ocf-linux-20171122 | 1 wolfssl-5.5.3 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/04d7e4c3798a3d416c2a6ed8b44d5696ee66ad27 | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/4681da1856db567ca5a616d12730234351581fbd | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/1a36b64ede75dcb047efc10674836e3222328c42 | mips64el | btrfs-progs | TIM | http://autobuild.buildroot.net/results/72af1dafe03bbbe1019c7f3333cb2d66759a95a5 | arm | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/96c9020f28b836ff720cd70175708d2d9144fee9 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/e8d0d884fcb672457f21d421cec5e805857ddc91 | ORPH mips64el | host-go-1.19.13 | NOK | http://autobuild.buildroot.net/results/bfcec8a7ad2acd9d8b2e2ce254e3a59a75fecf4e | mipsel | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/7fc090138ec20d545e0c75131707d3675b01a371 | i686 | ocf-linux-20171122 | NOK | http://autobuild.buildroot.net/results/9226bc3f762b671dee65a77835698facb761d02b | mips64el | wolfssl-5.5.3 | NOK | http://autobuild.buildroot.net/results/5d99f13abde9d6b0069823eb5c1688db9d59f824 | arm | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/21e2dedaabf87caf073fcda287eaa6e2a58ecbca | Classification of failures by reason for 2023.08.x -------------------------------------------------- dc3dd-7.2.641 | 1 elfutils-0.189 | 1 ethtool-6.3 | 1 frr-8.4.2 | 1 gobject-introspection-1.76.1 | 1 host-go-1.20.8 | 1 host-rust-1.71.1 | 1 libgeos-3.12.0 | 1 pipewire-0.3.74 | 1 speechd-0.11.4 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/025a79b9f53867b8a8edf250c300921993ab250d | ORPH arceb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/752d6c0aacdd6980917bf1148685bd054181cf7a | ORPH arm | ethtool-6.3 | NOK | http://autobuild.buildroot.net/results/1080b35f0bc809347a76ea54d40cdfbf0bcfd372 | arc | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/3242f1674e4fe007f36810d0a34d2815f5769ed4 | s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/a7594202901567c02c43f1513c2c4aae282f1372 | ORPH armeb | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/16afd3bf590895bcfa7e143c752712be8699702a | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/eefb0cab17ddce079b2ded8dc1f48f8c4a9a32bd | or1k | libgeos-3.12.0 | NOK | http://autobuild.buildroot.net/results/72361949e1204db4de860f1ed6f0cc42b6e6cad1 | mips | pipewire-0.3.74 | NOK | http://autobuild.buildroot.net/results/53be2788f3fd65595e50d024e6c2c9b5ea06eb19 | arm | speechd-0.11.4 | NOK | http://autobuild.buildroot.net/results/8ab13cf474d732c95a1da65592d950b24b3d474b | -- http://autobuild.buildroot.net From peter at korsgaard.com Fri Oct 6 06:24:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 08:24:49 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/{glibc, localedef}: security bump to version glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 Message-ID: <20231006062449.1481741-1-peter@korsgaard.com> Fixes the following security issues: CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index ab310498b8..2b8f49ea6b 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 7129dfadea29e8f20865186a7fdec3dc3e65d055a81dc8fc399189491bba493c glibc-2.37-43-g94ef70136587c40a357f775677997c753b3de56c.tar.gz +sha256 19d874f03dadbccaca8ae88a0e96d38435066badfe6ed606c2ad1e525454dece glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 666d9e4a8c..319028b058 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c +GLIBC_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index d368121a1a..18f040d7c2 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c +LOCALEDEF_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc -- 2.30.2 From Nayabbasha.Sayed at microchip.com Fri Oct 6 06:18:56 2023 From: Nayabbasha.Sayed at microchip.com (Nayabbasha.Sayed at microchip.com) Date: Fri, 6 Oct 2023 06:18:56 +0000 Subject: [Buildroot] buildroot Digest, Vol 207, Issue 55 In-Reply-To: References: Message-ID: On 27/09/23 03:15, buildroot-request at buildroot.org wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > Send buildroot mailing list submissions to > buildroot at buildroot.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.buildroot.org/mailman/listinfo/buildroot > or, via email, send a message with subject or body 'help' to > buildroot-request at buildroot.org > > You can reach the person managing the list at > buildroot-owner at buildroot.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of buildroot digest..." > > > Today's Topics: > > 1. [git commit branch/2023.08.x] package/libcoap: ignore > CVE-2023-35862 (Peter Korsgaard) > 2. [git commit branch/2023.08.x] package/webkitgtk: security > bump to version 2.40.5 (Peter Korsgaard) > 3. [git commit branch/2023.08.x] package/libssh: ignore > CVE-2023-3603 (Peter Korsgaard) > 4. [git commit branch/2023.05.x] package/webkitgtk: security > bump to version 2.40.5 (Peter Korsgaard) > 5. [autobuild.buildroot.net] Daily results for 2023-09-25 > (Thomas Petazzoni) > 6. [PATCH] package/mmc-utils: fix build failure due to potential > overflow (Giulio Benetti) > 7. Re: [PATCH 1/1] docs/manual: add section to explain how to > give credits to a sponsor (Peter Korsgaard) > 8. Re: [PATCH v2] package/nut: package/nut: specify > --with-user/group when building NUT (Peter Korsgaard) > 9. Re: [PATCH] package/libpjsip: security bump to version 2.13.1 > (Peter Korsgaard) > 10. [git commit branch/2023.05.x] package/libpjsip: security bump > to version 2.13.1 (Peter Korsgaard) > 11. [git commit branch/2023.05.x] package/nut: package/nut: > specify --with-user/group when building NUT (Peter Korsgaard) > 12. [git commit branch/2023.05.x] docs/manual: add section to > explain how to give credits to a sponsor (Peter Korsgaard) > 13. [git commit branch/2023.08.x] package/nut: package/nut: > specify --with-user/group when building NUT (Peter Korsgaard) > 14. [git commit branch/2023.08.x] docs/manual: add section to > explain how to give credits to a sponsor (Peter Korsgaard) > 15. [git commit branch/2023.08.x] package/libpjsip: security bump > to version 2.13.1 (Peter Korsgaard) > 16. Re: [PATCH v2] package/nodejs: fix parallel build > (Peter Korsgaard) > 17. [git commit branch/2023.05.x] package/nodejs: fix parallel > build (Peter Korsgaard) > 18. [git commit branch/2023.08.x] package/nodejs: fix parallel > build (Peter Korsgaard) > 19. [git commit branch/2023.02.x] package/nodejs: fix parallel > build (Peter Korsgaard) > 20. [git commit branch/2023.02.x] package/nut: package/nut: > specify --with-user/group when building NUT (Peter Korsgaard) > 21. [git commit branch/2023.02.x] package/libpjsip: security bump > to version 2.13.1 (Peter Korsgaard) > 22. [git commit branch/2023.02.x] docs/manual: add section to > explain how to give credits to a sponsor (Peter Korsgaard) > 23. [PATCH v2 3/4] package/linux-tools: add rtla (Giulio Benetti) > 24. [PATCH v2 4/4] package/trace-cmd: bump to 3.1.7 (Giulio Benetti) > 25. [PATCH v2 1/4] package/libtraceevent: new package (Giulio Benetti) > 26. [PATCH v2 2/4] package/libtracefs: new package (Giulio Benetti) > 27. [git commit branch/2023.08.x] package/libopenssl: bump to > version 3.0.11 (Peter Korsgaard) > 28. [PATCH] support/runtime-test: fix weston test (Yann E. MORIN) > 29. Re: [PATCH v2] board: add Orangepi Zero3 support (Sergey Kuzminov) > 30. Re: [PATCH v9 7/7] > support/testing/tests/package/test_flutter.py: new runtime test > (Yann E. MORIN) > 31. [git commit branch/2023.05.x] Update for 2023.05.3 > (Peter Korsgaard) > 32. [git commit branch/2023.05.x] Revert "package/docker-cli: > backport fix for host header check" (Peter Korsgaard) > 33. [git commit branch/2023.05.x] Revert "package/docker-engine: > backport fix for host header check" (Peter Korsgaard) > 34. [git commit branch/2023.02.x] Revert "package/docker-cli: > backport fix for host header check" (Peter Korsgaard) > 35. [git commit branch/2023.02.x] Revert "package/docker-engine: > backport fix for host header check" (Peter Korsgaard) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 26 Sep 2023 08:09:22 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/libcoap: > ignore CVE-2023-35862 > Message-ID: <20230926061220.C1A7387816 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=335dbb595ab027b3a46a4fd764e93c1dc9d31e56 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > According to a collaborator [0] the affected code isn't in 4.3.1 > > [0]: https://github.com/obgm/libcoap/issues/1117 > > Signed-off-by: Daniel Lang > Signed-off-by: Arnout Vandecappelle > (cherry picked from commit 20c023a3b1363f914a18652a79f83648af2cf1e6) > Signed-off-by: Peter Korsgaard > --- > package/libcoap/libcoap.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk > index 3773ad293c..94bfc59702 100644 > --- a/package/libcoap/libcoap.mk > +++ b/package/libcoap/libcoap.mk > @@ -16,6 +16,8 @@ LIBCOAP_CONF_OPTS = \ > LIBCOAP_AUTORECONF = YES > # 0001-Backport-fix-for-CVE-2023-30362.patch > LIBCOAP_IGNORE_CVES += CVE-2023-30362 > +# Doesn't affect 4.3.1, see https://github.com/obgm/libcoap/issues/1117 > +LIBCOAP_IGNORE_CVES += CVE-2023-35862 > > ifeq ($(BR2_PACKAGE_GNUTLS),y) > LIBCOAP_DEPENDENCIES += gnutls > > > ------------------------------ > > Message: 2 > Date: Tue, 26 Sep 2023 08:04:07 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/webkitgtk: > security bump to version 2.40.5 > Message-ID: <20230926061220.A3EBC87813 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=f35f7c3eabc4225fda225f1e27a6d84e7596fbcb > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Bugfix release with many security fixes, including (but not limited to) > patches for CVE-2023-37450, CVE-2023-38133, CVE-2023-38572, CVE-2023-38592, > CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38599, > CVE-2023-38600, and CVE-2023-38611. > > Release notes: > > https://webkitgtk.org/2023/07/21/webkitgtk2.40.4-released.html > https://webkitgtk.org/2023/08/01/webkitgtk2.40.5-released.html > > Accompanying security advisory: > > https://webkitgtk.org/security/WSA-2023-0006.html > https://webkitgtk.org/security/WSA-2023-0007.html > > Signed-off-by: Thomas Devoogdt > Signed-off-by: Yann E. MORIN > (cherry picked from commit 3ba27e682a861e304138fa2a460c10db2c83abe4) > Signed-off-by: Peter Korsgaard > --- > ...ailure-when-gstreamer-support-is-disabled.patch | 36 ++++++++++++++++++++++ > package/webkitgtk/webkitgtk.hash | 6 ++-- > package/webkitgtk/webkitgtk.mk | 2 +- > 3 files changed, 40 insertions(+), 4 deletions(-) > > diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > new file mode 100644 > index 0000000000..3fa23b215b > --- /dev/null > +++ b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > @@ -0,0 +1,36 @@ > +From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 > +From: Matt Turner > +Date: Tue, 8 Aug 2023 16:51:25 -0700 > +Subject: [PATCH] Fix build failure when gstreamer support is disabled > + https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 > + > +Reviewed by Carlos Alberto Lopez Perez. > + > +* Source/WebCore/loader/MixedContentChecker.cpp: > + > +Canonical link: https://commits.webkit.org/260527.429 at fix-build > + > +(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) > + > +Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 > +Signed-off-by: Thomas Devoogdt > +--- > + Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp > +index 9b4c7fe62020..ac4733bc08bc 100644 > +--- a/Source/WebCore/loader/MixedContentChecker.cpp > ++++ b/Source/WebCore/loader/MixedContentChecker.cpp > +@@ -33,6 +33,8 @@ > + #include "ContentSecurityPolicy.h" > + #include "Document.h" > + #include "Frame.h" > ++#include "FrameLoader.h" > ++#include "FrameLoaderClient.h" > + #include "SecurityOrigin.h" > + > + namespace WebCore { > +-- > +2.42.0 > + > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 756ac13ec2..7f50f1aa7b 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,6 +1,6 @@ > -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.3.tar.xz.sums > -sha1 74ee7241f2add46897019e22bd4f8e19e09027bb webkitgtk-2.40.3.tar.xz > -sha256 cc0aa83f40dbc64c1c6ae42ec6b85af4be2a9dbf524cfcb95f89a367fb5098dd webkitgtk-2.40.3.tar.xz > +# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums > +sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz > +sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 56277a0a0a..d5e983e403 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.40.3 > +WEBKITGTK_VERSION = 2.40.5 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES > > > ------------------------------ > > Message: 3 > Date: Tue, 26 Sep 2023 08:07:52 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/libssh: > ignore CVE-2023-3603 > Message-ID: <20230926061220.AD43C87814 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=e69fb4864062f145366815a092779b857c244407 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > The affected code isn't present in any release, see [0]. > > [0]: https://www.libssh.org/2023/07/14/cve-2023-3603-potential-null-dereference-in-libsshs-sftp-server/ > > The CPE entry for this CVE is > cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:* > We interpret the "-" as matching any version. It actually means > "unspecified version", which is the cop-out in case there is nothing > useful to match. We can't really make our infrastructure ignore "-" > entirely, because for all we know our version is an unreleased commit > sha which _is_ vulnerable. Thus, the only way out is an exclusion which > we'll never be able to remove. > > Signed-off-by: Daniel Lang > Signed-off-by: Arnout Vandecappelle > (cherry picked from commit a34a370f4ea27981be43df817f49320a59088e68) > Signed-off-by: Peter Korsgaard > --- > package/libssh/libssh.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/libssh/libssh.mk b/package/libssh/libssh.mk > index e770d2b924..ff4cddaf91 100644 > --- a/package/libssh/libssh.mk > +++ b/package/libssh/libssh.mk > @@ -17,6 +17,10 @@ LIBSSH_CONF_OPTS = \ > -DWITH_STACK_PROTECTOR=OFF \ > -DWITH_EXAMPLES=OFF > > +# Not part of any release > +# https://www.libssh.org/2023/07/14/cve-2023-3603-potential-null-dereference-in-libsshs-sftp-server/ > +LIBSSH_IGNORE_CVES += CVE-2023-3603 > + > ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) > LIBSSH_CONF_OPTS += -DWITH_STACK_CLASH_PROTECTION=OFF > endif > > > ------------------------------ > > Message: 4 > Date: Tue, 26 Sep 2023 08:04:50 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] package/webkitgtk: > security bump to version 2.40.5 > Message-ID: <20230926061219.E197B87813 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=bd5eaa7df8025a3d5afa94c495c1c4b34ad53bee > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Bugfix release with many security fixes, including (but not limited to) > patches for CVE-2023-37450, CVE-2023-38133, CVE-2023-38572, CVE-2023-38592, > CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38599, > CVE-2023-38600, and CVE-2023-38611. > > Release notes: > > https://webkitgtk.org/2023/07/21/webkitgtk2.40.4-released.html > https://webkitgtk.org/2023/08/01/webkitgtk2.40.5-released.html > > Accompanying security advisory: > > https://webkitgtk.org/security/WSA-2023-0006.html > https://webkitgtk.org/security/WSA-2023-0007.html > > Signed-off-by: Thomas Devoogdt > Signed-off-by: Yann E. MORIN > (cherry picked from commit 3ba27e682a861e304138fa2a460c10db2c83abe4) > Signed-off-by: Peter Korsgaard > --- > ...ailure-when-gstreamer-support-is-disabled.patch | 36 ++++++++++++++++++++++ > package/webkitgtk/webkitgtk.hash | 6 ++-- > package/webkitgtk/webkitgtk.mk | 2 +- > 3 files changed, 40 insertions(+), 4 deletions(-) > > diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > new file mode 100644 > index 0000000000..3fa23b215b > --- /dev/null > +++ b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > @@ -0,0 +1,36 @@ > +From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 > +From: Matt Turner > +Date: Tue, 8 Aug 2023 16:51:25 -0700 > +Subject: [PATCH] Fix build failure when gstreamer support is disabled > + https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 > + > +Reviewed by Carlos Alberto Lopez Perez. > + > +* Source/WebCore/loader/MixedContentChecker.cpp: > + > +Canonical link: https://commits.webkit.org/260527.429 at fix-build > + > +(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) > + > +Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 > +Signed-off-by: Thomas Devoogdt > +--- > + Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp > +index 9b4c7fe62020..ac4733bc08bc 100644 > +--- a/Source/WebCore/loader/MixedContentChecker.cpp > ++++ b/Source/WebCore/loader/MixedContentChecker.cpp > +@@ -33,6 +33,8 @@ > + #include "ContentSecurityPolicy.h" > + #include "Document.h" > + #include "Frame.h" > ++#include "FrameLoader.h" > ++#include "FrameLoaderClient.h" > + #include "SecurityOrigin.h" > + > + namespace WebCore { > +-- > +2.42.0 > + > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 756ac13ec2..7f50f1aa7b 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,6 +1,6 @@ > -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.3.tar.xz.sums > -sha1 74ee7241f2add46897019e22bd4f8e19e09027bb webkitgtk-2.40.3.tar.xz > -sha256 cc0aa83f40dbc64c1c6ae42ec6b85af4be2a9dbf524cfcb95f89a367fb5098dd webkitgtk-2.40.3.tar.xz > +# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums > +sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz > +sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 56277a0a0a..d5e983e403 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.40.3 > +WEBKITGTK_VERSION = 2.40.5 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES > > > ------------------------------ > > Message: 5 > Date: Tue, 26 Sep 2023 06:50:40 -0000 > From: Thomas Petazzoni > To: buildroot at buildroot.org > Subject: [Buildroot] [autobuild.buildroot.net] Daily results for > 2023-09-25 > Message-ID: <20230926065047.EA45941E61 at smtp4.osuosl.org> > Content-Type: text/plain; charset="us-ascii" > > Hello, > > Autobuild statistics for 2023-09-25 > =================================== > > branch | OK | NOK | TIM | TOT | > 2023.02.x | 6 | 10 | 0 | 16 | > 2023.05.x | 10 | 6 | 0 | 16 | > 2023.08.x | 11 | 7 | 0 | 18 | > master | 78 | 76 | 0 | 154 | > > Classification of failures by reason for master > ----------------------------------------------- > > alsa-lib-1.2.10 | 10 > unknown | 6 > host-go-1.21.1 | 5 > alsa-utils-1.2.10 | 4 > bird-2.0.12 | 4 > glibc-2.37-2-g9f8513dc64119... | 4 > stress-ng-0.15.07 | 4 > elfutils-0.189 | 3 > host-rust-1.71.1 | 3 > libarchive-3.7.2 | 3 > mariadb-10.11.4 | 3 > proj-8.1.1 | 3 > brltty-6.5 | 2 > gobject-introspection-1.76.1 | 2 > linux-6.4.14 | 2 > xenomai-3.0.10 | 2 > check-11970a7e112dfe243a2e6... | 1 > conmon-2.1.8 | 1 > fs/romfs/romfs.mk:32: /home... | 1 > host-erlang-26.0.2 | 1 > host-gcc-final-12.3.0 | 1 > lightning-2.2.2 | 1 > lttng-modules-2.13.7 | 1 > mmc-utils-613495ecaca97a19f... | 1 > olsr-0.9.8 | 1 > php-8.2.10 | 1 > qemu-8.1.0 | 1 > squid-6.2 | 1 > systemd-254 | 1 > tcf-agent-1.7.0 | 1 > valgrind-3.21.0 | 1 > wolfssl-5.6.3 | 1 > > > Detail of failures for master > ----------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3ceec32f42947ce6807c83abaea54dadc8679198 | > aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b148d1cd0bdb6cecff56d2f1407b53fde49e285e | > x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6e3f23d6d774c332b7c797c046d1fd5480221ba1 | > or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/640fef2accaf666b9ddf6acd7f64937f8d0961b4 | > microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f94a864a05146f2c5cb4c04bb66460cde48f4309 | > m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/d56e5afc96152ac9b3d08acaf85219637745f6f8 | > arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7359e18a3dd50b1e18cad260a50567018ec70f16 | > sh4a | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bc09306a5f05b8939bad912fa02da0ed9a769aa6 | > microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/228d8be8b2437003df882eb672ef5bc73d8ff471 | > aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b1d7a5d9fd8ed6bd8bbf707c98638153c7b8a7f8 | > s390x | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/09faa170c4ab44c39de3450985c88b049f492ed2 | > x86_64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/94f72c01f462273d69138d629479055f0ddb443f | > arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f85e9c502de1647c19fb00502703e1aa55386c4e | > mipsel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/42ab6e4003cce672c3ed88cd090301f44d0c2e85 | > s390x | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/eea3097ed8652f6c6597fc4ef9d9536cbb4df23a | > sh4 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/db3a45acd435bee5c44109db66e87ebf930f5e2e | > mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b8edde854848bf5050733d591b5ac653d652b157 | > arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/54a984f41fd5c58fc14c5a722526ebf56c4fedd7 | > aarch64_be | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/964d3e46f79f7ae0d204dabed395b3759fab42ba | > mips64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/62383191117b33141cd516dce7b87bdb3517b40c | > arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/36de1229d6f2ad57fffcdc70e4c4883c10f28141 | ORPH > mips64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/2a4035bbf3139a3e50aeecb69a6068533cddfac2 | > microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/0e5255437a9fe10ff42fdad7284ff8b923c7ed49 | ORPH > microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3f3c024c0e7a487d31792dcdb1dc5764a9a384c8 | ORPH > microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3579a51bfc73fb12347112fd0d53a4cebdf7717f | ORPH > sparc64 | fs/romfs/romfs.mk:32: /home... | NOK | http://autobuild.buildroot.net/results/9d328fa4ec604ce80cdb6a80c8a0609ae692f4a4 | > powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/f9ad33c33a0d35f21dabe062792460b710b9ac5f | > powerpc64 | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/19207b530fd3106a07f6fb3d1964c07094c5918b | > powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/681291969190a3cfc08d409d916bec78b1499ddb | > powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/50fc667015f0a0c0f199cf9de92ac6bd2a8465fb | > nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/7027ffb259239827592d1adbeb7e09fb0ddb2bd3 | ORPH > sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/ae1bdde15333b5dbc59bd3564b836e4a96483ccb | ORPH > i686 | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/0e7ff49faf127491819d34a1c825b47d61794cd1 | > microblazeel | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/99439a74049df0ca417b74a7ad9bc4b9df1cab2f | > powerpc64le | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/ec1a401349b1275657aadec3fd39fb62b33b5bfa | > mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/2162ce22c7f91b587bb04ae2d81f4331333a74da | > mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/69e40e223f5ae215da9bb73aa0e805c3aefe1833 | > sparc64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/212dcc59e2b91dbc286e551b63277bf2fa09cd97 | > mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/a931bc4814682b5bbcc9cc0c9998909f2e28dc5a | > powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/2de8422fd79ccb3813c4df16cab183253bc3f335 | > x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e9dbd56ad6a5aa6204219d8ccf897117bd2d7103 | > mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/ca5dbdeebdfd63844665b7d9d43b7e8debb2851f | > arm | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/167f1ac03cf48f008531e722ae008b10ce70399c | > mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/a2b3243c0328977140c300d4fd9aea6ac57e05a1 | > mips | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/1cc40c078b6667e9e19ac11bf57a1909338f5cb7 | > mips64el | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/105f3900c5aafa255d47177e6cfcf7d2426e8d62 | > mips | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/33fe90580a8e5a36b6918075775d34cb15cebd0e | ORPH > arceb | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/d4ad93a6072bc719ebe9c963fdb75848d59e71bf | ORPH > powerpc64 | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/72f59d2ae40f8de8780b8e81ab45ecb1d314f4f4 | > microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/900bcae312f1df0059a94fefacca8904739fc9b2 | ORPH > or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/c6573324d4fbbb8ac4f7f3d4e8c3cbb6a0e3e180 | ORPH > mips | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/349a18666b9366adeb8555918a64a70890c434aa | ORPH > mipsel | mmc-utils-613495ecaca97a19f... | NOK | http://autobuild.buildroot.net/results/a53922c5db3e605a5e81e53c034f45017ebb7db7 | > mips64 | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/d80264776d3aea1b01034447b5a1c124531f1f00 | ORPH > m68k | php-8.2.10 | NOK | http://autobuild.buildroot.net/results/ebe7fcc6e3962028d07d0b14e79d422ea847d6e2 | > s390x | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/06760e59b408645586664a1d11615818b1e20f41 | > microblaze | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/e91f4bd62149b89ad3047320ea1d05efcc1c1d7d | > m68k | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/46b4651157762edd4615ef4508b85ca334bfc816 | > mips | qemu-8.1.0 | NOK | http://autobuild.buildroot.net/results/339ea98fe7ecbac8141649ae9736f0ae6c55ce49 | > aarch64 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/efcd624169b07b9071ef3f696d2b44e87deea2a7 | ORPH > mipsel | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/50704286cb67b9819131b82bcebdfeb5cd86cf88 | > powerpc64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/8223b862f25a3d0259f6780d09deac8ccce34666 | > aarch64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/248b83f2c584a6dc0218c1aefee85bb15b1fbed2 | > microblazeel | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/69e9b186202dcc56262a71351df2660029019ebb | > mipsel | systemd-254 | NOK | http://autobuild.buildroot.net/results/6db08456e4769511b2482fae9abdf4d04109858f | > microblaze | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/b6878b92132113e27633f30ed687ac62fb9bde24 | > powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/49d8e8aed43786a5814b2574574655ac6a255543 | > i686 | unknown | NOK | http://autobuild.buildroot.net/results/d3b48062f88afc327e4d81244fc874406964b6a3 | > armeb | unknown | NOK | http://autobuild.buildroot.net/results/04ecf6318e82517566272d89029711056b7aedfb | > x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/7966430f401b6d40b87d3bb1d941fff3946d0420 | > powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/d121267e4b375cbe4f461a6f8921deeb76c6bc12 | > powerpc | unknown | NOK | http://autobuild.buildroot.net/results/a237709eff56a2137f0e8b170a7417c999dfdcc4 | > mips64 | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/50b74189262cea892cc2ff055347b97442c80876 | ORPH > mips64el | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/ff2941823edf72532ff87d6319fdcdf4d701e459 | > mips | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/cc42a69cf49fa53ef7af355d8acdd7664b4d043a | > x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/fbddd2377f909b1bf66bfa2ba5a03144b42f33fb | > > > Classification of failures by reason for 2023.02.x > -------------------------------------------------- > > bird-2.0.12 | 3 > erlang-22.3.4.22 | 1 > gobject-introspection-1.72.0 | 1 > host-rust-1.67.1 | 1 > linux-5.10.162-cip24-rt10 | 1 > olsr-0.9.8 | 1 > ti-sgx-km-cf7f48cb30abfd5df... | 1 > unknown | 1 > > > Detail of failures for 2023.02.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > sparc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8ea3bb6e1f98d8896739223860b9f15277e5941f | > arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/9ef04fa3709f234e59755ff4c8aff2f71218653f | > i686 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/052108fa2620b67d300938c1760f28111048e7e2 | > powerpc | erlang-22.3.4.22 | NOK | http://autobuild.buildroot.net/results/145622f978f8719ec5c577495282920745edea81 | > microblazeel | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/273bca0f419fec75a0b91a038599bf28db9e01a6 | ORPH > mipsel | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/cfef05f7652dabddd355ec96557d7207981f9a29 | > mipsel | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/0cb4e9cd7cbe368ba19e0f761c769d65cb453ebd | ORPH > mipsel | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/c98874e513891ec1f24121acf807e6ac1e492706 | ORPH > arm | ti-sgx-km-cf7f48cb30abfd5df... | NOK | http://autobuild.buildroot.net/results/a5e4ff88303b3f7f03e5be89a667dec17b18458e | > aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/13bdb92814bdead58fe76c8828bc04e705707bc4 | > > > Classification of failures by reason for 2023.05.x > -------------------------------------------------- > > bird-2.0.12 | 2 > gobject-introspection-1.74.0 | 1 > host-binutils-2.37 | 1 > ola-0.10.9 | 1 > stress-ng-0.15.07 | 1 > > > Detail of failures for 2023.05.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > sh4eb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6a94ad7abd1040a189fd8dd1c71896006a83932a | > x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a723d543809207dadab172205e9513145c7bd91e | > or1k | gobject-introspection-1.74.0 | NOK | http://autobuild.buildroot.net/results/d9b197679085a2399508c0e5dce9d4d4dde20e36 | ORPH > riscv32 | host-binutils-2.37 | NOK | http://autobuild.buildroot.net/results/04eb1c37fe5f60d3cb70181fb2308948e9f599ee | > sparc | ola-0.10.9 | NOK | http://autobuild.buildroot.net/results/97e2da4b6c89aaaef9dd2bc7152a8b48b3a9d1c2 | > aarch64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/375f92dff8efb9cc6da60f39e517d75b114ad206 | > > > Classification of failures by reason for 2023.08.x > -------------------------------------------------- > > glibc-2.37-2-g9f8513dc64119... | 1 > libsepol-3.5 | 1 > linux-5.10.162-cip24-rt10 | 1 > linux-6.4.14 | 1 > ltp-testsuite-20230127 | 1 > ulog-0389d243352255f6182326... | 1 > xtables-addons-3.22 | 1 > > > Detail of failures for 2023.08.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > powerpc64 | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/add81369008b0a4192d9a3f097455cf72afe4027 | > armeb | libsepol-3.5 | NOK | http://autobuild.buildroot.net/results/277202f78bc1a126f51997ac55aaa1e02bb0977f | > mips64el | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/5e5b0416a1dc288b7e49db417a09f2d83573167b | ORPH > armeb | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/e2110fe35b83fdd302b93ceea1c2f79d0968ff62 | ORPH > x86_64 | ltp-testsuite-20230127 | NOK | http://autobuild.buildroot.net/results/57e919ed5e7d3df5cb6a7c2f6d7b0fd09aab6c1c | > x86_64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/78fed4877833c9ae083ee24ec9187cddf81e9b08 | > arceb | xtables-addons-3.22 | NOK | http://autobuild.buildroot.net/results/d6f605cbdf37c200a078d3bec19db3c2f9f2ffea | ORPH > > > Gitlab CI results for 2023-09-25 > ================================ > > Detail of runtime-test failures for master > ------------------------------------------ > > runtime-test | link to the job | orph? > --------------------------+---------------------------------------------------------------+------ > TestIPythonPy3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841047 | ORPH > TestLuaLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841246 | ORPH > TestLuaLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841320 | ORPH > TestLuajitLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841253 | ORPH > TestLuajitLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841325 | ORPH > TestLuvi | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841618 | ORPH > TestNodeJSBasic | https://gitlab.com/buildroot.org/buildroot/-/jobs/5157777865 | ORPH > TestNodeJSModule | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841719 | ORPH > TestOla | https://gitlab.com/buildroot.org/buildroot/-/jobs/5157777775 | ORPH > TestPigz | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841963 | ORPH > TestPolkitInitd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841975 | ORPH > TestPolkitSystemd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841980 | ORPH > TestPythonPahoMQTT | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842410 | ORPH > TestPythonPy3Construct | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842194 | ORPH > TestPythonPy3Dicttoxml2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842234 | ORPH > TestPythonPy3Dtschema | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842258 | ORPH > TestPythonPy3Hkdf | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842316 | ORPH > TestPythonPy3Passlib | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842416 | ORPH > TestPythonPy3Pynacl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842456 | ORPH > TestPythonPy3Pysmb | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842477 | ORPH > TestPythonPy3Pyyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842497 | ORPH > TestPythonPy3RSA | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842522 | ORPH > TestPythonPy3Spake2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842575 | ORPH > TestStressNG | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842732 | ORPH > TestWeston | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842839 | ORPH > TestZfsGlibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842957 | ORPH > TestZfsMusl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842969 | ORPH > TestZfsUclibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842979 | ORPH > > > > -- > http://autobuild.buildroot.net > > > ------------------------------ > > Message: 6 > Date: Tue, 26 Sep 2023 09:22:34 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Giulio Benetti , S?bastien > Szymanski > Subject: [Buildroot] [PATCH] package/mmc-utils: fix build failure due > to potential overflow > Message-ID: > <20230926072234.3639106-1-giulio.benetti at benettiengineering.com> > Content-Type: text/plain; charset=UTF-8 > > Add local patch pending upstream to fix potential overflow on read(). > This build failure is catched by fortify. > > Fixes: > http://autobuild.buildroot.net/results/a53922c5db3e605a5e81e53c034f45017ebb7db7 > > Signed-off-by: Giulio Benetti > --- > ...001-mmc-utils-fix-potential-overflow.patch | 49 +++++++++++++++++++ > 1 file changed, 49 insertions(+) > create mode 100644 package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch > > diff --git a/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch b/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch > new file mode 100644 > index 0000000000..d27df91fb0 > --- /dev/null > +++ b/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch > @@ -0,0 +1,49 @@ > +From e8a84c704583083cc8487ba41d1488faf1210aec Mon Sep 17 00:00:00 2001 > +From: Giulio Benetti > +Date: Tue, 26 Sep 2023 09:12:23 +0200 > +Subject: [PATCH] mmc-utils: fix potential overflow > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=UTF-8 > +Content-Transfer-Encoding: 8bit > + > +With fortify enabled gcc throws following error: > + from mmc_cmds.c:20: > +In function ?read?, > + inlined from ?do_rpmb_write_key? at mmc_cmds.c:2233:8: > +/home/giuliobenetti/br_reproduce/a53922c5db3e605a5e81e53c034f45017ebb7db7/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:38:10: error: ?__read_alias? writing 228 or more bytes into a region of size 32 overflows the destination [-Werror=stringop-overflow=] > + 38 | return __glibc_fortify (read, __nbytes, sizeof (char), > + | ^~~~~~~~~~~~~~~ > +mmc_cmds.c: In function ?do_rpmb_write_key?: > +mmc_cmds.c:2087:19: note: destination object ?key_mac? of size 32 > + 2087 | u_int8_t key_mac[32]; > + | ^~~~~~~ > +/home/giuliobenetti/br_reproduce/a53922c5db3e605a5e81e53c034f45017ebb7db7/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:26:16: note: in a call to function ?__read_alias? declared with attribute ?access (write_only, 2, 3)? > + 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, > + | ^~~~~~~~~~ > + > +read() could potentially return more than nbyte so let's check for > +ret < nbyte. > + > +Upstream: https://patchwork.kernel.org/project/linux-mmc/patch/20230926071524.3638706-1-giulio.benetti at benettiengineering.com/ > + > +Signed-off-by: Giulio Benetti > +--- > + mmc_cmds.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/mmc_cmds.c b/mmc_cmds.c > +index 10d063d..ae7b876 100644 > +--- a/mmc_cmds.c > ++++ b/mmc_cmds.c > +@@ -2065,7 +2065,7 @@ int do_sanitize(int nargs, char **argv) > + } \ > + else if (r > 0) \ > + ret += r; \ > +- } while (r != 0 && (size_t)ret != nbyte); \ > ++ } while (r != 0 && (size_t)ret < nbyte); \ > + \ > + ret; \ > + }) > +-- > +2.34.1 > + > -- > 2.34.1 > > > > ------------------------------ > > Message: 7 > Date: Tue, 26 Sep 2023 10:00:03 +0200 > From: Peter Korsgaard > To: Giulio Benetti > Cc: buildroot at buildroot.org, Thomas De Schampheleire > > Subject: Re: [Buildroot] [PATCH 1/1] docs/manual: add section to > explain how to give credits to a sponsor > Message-ID: <8734z1weik.fsf at 48ers.dk> > Content-Type: text/plain > >>>>>> "Giulio" == Giulio Benetti writes: > > Sometimes it happens that a Company or a Physical Person sponsors the > > creation and/or the upstreaming process of a patch, but at the moment > > there is no way to give credits to it. In Linux they prepend '+sponsor' > > to the e-mail of the contributor in both authorship and commit log tag as > > discussed here[0]. So let's describe in the manual how to do that as a > > standard. > > > [0]: > > https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ > > > Signed-off-by: Giulio Benetti > > Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. > > -- > Bye, Peter Korsgaard > > > ------------------------------ > > Message: 8 > Date: Tue, 26 Sep 2023 10:02:46 +0200 > From: Peter Korsgaard > To: Jens Maus via buildroot > Cc: Jens Maus , Bernd Kuhls , > "Yann E . MORIN" > Subject: Re: [Buildroot] [PATCH v2] package/nut: package/nut: specify > --with-user/group when building NUT > Message-ID: <87y1gtuztl.fsf at 48ers.dk> > Content-Type: text/plain > >>>>>> "Jens" == Jens Maus via buildroot writes: > > This commit fixes a problem where the NUT package couldn't be > > used as a NUT server due to the fact that the default group for > > nobody is "nogroup" and not "nobody" like the internal default > > of NUT. Thus, when starting a NUT server daemon the daemon starts > > with incorrect group permissions. This commit fixes this > > shortcoming by introducing a dedicated 'nut' user and 'nut' group > > to drop priviledges to it. > > > Signed-off-by: Jens Maus > > > --- > > Changes v1 -> v2: > > - added NUT_USERS with nut/nut user and group (Yann) > > > Signed-off-by: Jens Maus > > Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. > > -- > Bye, Peter Korsgaard > > > ------------------------------ > > Message: 9 > Date: Tue, 26 Sep 2023 10:03:09 +0200 > From: Peter Korsgaard > To: "Yann E. MORIN" > Cc: Luca Ceresoli , > buildroot at buildroot.org > Subject: Re: [Buildroot] [PATCH] package/libpjsip: security bump to > version 2.13.1 > Message-ID: <87r0mluzsy.fsf at 48ers.dk> > Content-Type: text/plain > >>>>>> "Peter" == Peter Korsgaard writes: >>>>>> "Yann" == Yann E MORIN writes: > >> Peter, All, > >> On 2023-09-23 11:24 +0200, Peter Korsgaard spake thusly: > >>> Fixes the following security vulnerability: > >>> > >>> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet > >>> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr > >>> > >>> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. > >>> > >>> Signed-off-by: Peter Korsgaard > >>> --- > >>> ...ull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ------------------- > >>> ...ull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ---------- > > >> $ make check-package > >> .checkpackageignore:743: ignored file > >> package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > >> is missing > >> .checkpackageignore:744: ignored file > >> package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > >> is missing > > >> Applied to master with the above fixed, thanks. > > > Argh, thanks! > > Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. > > -- > Bye, Peter Korsgaard > > > ------------------------------ > > Message: 10 > Date: Tue, 26 Sep 2023 10:01:37 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] package/libpjsip: > security bump to version 2.13.1 > Message-ID: <20230926080416.D94E287824 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=33f7d66c90c9c80683804f3cba61f9d863d82868 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Fixes the following security vulnerability: > > - CVE-2023-27585: Heap buffer overflow when parsing DNS packet > https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr > > Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. > > Signed-off-by: Peter Korsgaard > Signed-off-by: Yann E. MORIN > (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) > Signed-off-by: Peter Korsgaard > --- > .checkpackageignore | 2 - > ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- > ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ > package/libpjsip/libpjsip.hash | 2 +- > package/libpjsip/libpjsip.mk | 8 +- > 5 files changed, 2 insertions(+), 163 deletions(-) > > diff --git a/.checkpackageignore b/.checkpackageignore > index 6adc54891d..81fb9c2d8a 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -812,8 +812,6 @@ package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream > package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream > package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream > package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream > -package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch Upstream > -package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch Upstream > package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream > package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream > package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream > diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > deleted file mode 100644 > index 01e1878189..0000000000 > --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > +++ /dev/null > @@ -1,99 +0,0 @@ > -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 > -From: Nanang Izzuddin > -Date: Tue, 20 Dec 2022 11:39:12 +0700 > -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w > - > -* Fix buffer overread in STUN message decoder > - > -* Updates based on comments > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/include/pjnath/stun_msg.h | 4 ++++ > - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- > - 2 files changed, 15 insertions(+), 3 deletions(-) > - > -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h > -index b52f95c586..e49f096f3a 100644 > ---- a/pjnath/include/pjnath/stun_msg.h > -+++ b/pjnath/include/pjnath/stun_msg.h > -@@ -442,6 +442,7 @@ typedef enum pj_stun_status > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_msg_hdr > - { > - /** > -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr > - pj_uint8_t tsx_id[12]; > - > - } pj_stun_msg_hdr; > -+#pragma pack() > - > - > - /** > -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_attr_hdr > - { > - /** > -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr > - pj_uint16_t length; > - > - } pj_stun_attr_hdr; > -+#pragma pack() > - > - > - /** > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index 3def6b3eac..e904a0ba47 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) > - > - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ > - (a)->hdr.length=(pj_uint16_t)(l) > --#define ATTR_HDR_LEN 4 > -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) > - > - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) > - { > -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - status = pj_stun_msg_check(pdu, pdu_len, options); > - if (status != PJ_SUCCESS) > - return status; > -+ } else { > -+ /* For safety, verify packet length at least */ > -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; > -+ if (msg_len > pdu_len || > -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) > -+ { > -+ return PJNATH_EINSTUNMSGLEN; > -+ } > - } > - > - /* Create the message, copy the header, and convert to host byte order */ > -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - p_response = NULL; > - > - /* Parse attributes */ > -- while (pdu_len >= 4) { > -+ while (pdu_len >= ATTR_HDR_LEN) { > - unsigned attr_type, attr_val_len; > - const struct attr_desc *adesc; > - > -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - attr_val_len = (attr_val_len + 3) & (~3); > - > - /* Check length */ > -- if (pdu_len < attr_val_len) { > -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { > - pj_str_t err_msg; > - char err_msg_buf[80]; > - > diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > deleted file mode 100644 > index 82249a2076..0000000000 > --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > +++ /dev/null > @@ -1,54 +0,0 @@ > -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 > -From: sauwming > -Date: Fri, 23 Dec 2022 15:05:28 +0800 > -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr > - > -* Fixed heap buffer overflow when parsing STUN errcode attribute > - > -* Also fixed uint parsing > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- > - 1 file changed, 6 insertions(+), 5 deletions(-) > - > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index c6b0bdd284..b55d29849a 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -- attr->value = GETVAL32H(buf, 4); > -- > - /* Check that the attribute length is valid */ > - if (attr->hdr.length != 4) > - return PJNATH_ESTUNINATTRLEN; > - > -+ attr->value = GETVAL32H(buf, 4); > -+ > - /* Done */ > - *p_attr = attr; > - > -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -+ /* Check that the attribute length is valid */ > -+ if (attr->hdr.length < 4) > -+ return PJNATH_ESTUNINATTRLEN; > -+ > - attr->err_code = buf[6] * 100 + buf[7]; > - > - /* Get pointer to the string in the message */ > - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); > - value.slen = attr->hdr.length - 4; > -- /* Make sure the length is never negative */ > -- if (value.slen < 0) > -- value.slen = 0; > - > - /* Copy the string to the attribute */ > - pj_strdup(pool, &attr->reason, &value); > diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash > index 9935575567..2edd97bed4 100644 > --- a/package/libpjsip/libpjsip.hash > +++ b/package/libpjsip/libpjsip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz > +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk > index 24db641446..f97d547fd7 100644 > --- a/package/libpjsip/libpjsip.mk > +++ b/package/libpjsip/libpjsip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBPJSIP_VERSION = 2.13 > +LIBPJSIP_VERSION = 2.13.1 > LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz > LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) > > @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip > LIBPJSIP_INSTALL_STAGING = YES > LIBPJSIP_MAKE = $(MAKE1) > > -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 > - > -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 > - > LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 > > # relocation truncated to fit: R_68K_GOT16O > > > ------------------------------ > > Message: 11 > Date: Tue, 26 Sep 2023 10:01:15 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] package/nut: > package/nut: specify --with-user/group when building NUT > Message-ID: <20230926080416.CE0BA87822 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=c99a559d986a72891f3abe5fb5bba9899e12d0c4 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > This commit fixes a problem where the NUT package couldn't be > used as a NUT server due to the fact that the default group for > nobody is "nogroup" and not "nobody" like the internal default > of NUT. Thus, when starting a NUT server daemon the daemon starts > with incorrect group permissions. This commit fixes this > shortcoming by introducing a dedicated 'nut' user and 'nut' group > to drop priviledges to it. > > Signed-off-by: Jens Maus > Signed-off-by: Yann E. MORIN > (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) > Signed-off-by: Peter Korsgaard > --- > package/nut/nut.mk | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/package/nut/nut.mk b/package/nut/nut.mk > index fb98ba04f0..4c322aeb85 100644 > --- a/package/nut/nut.mk > +++ b/package/nut/nut.mk > @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE > NUT_CONF_OPTS = \ > --with-altpidpath=/var/run/upsd \ > --with-dev \ > - --without-doc > + --without-doc \ > + --with-user=nut \ > + --with-group=nut > > NUT_CONF_ENV = \ > ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ > @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ > ac_cv_func_strncasecmp=yes \ > ax_cv__printf_string_null=yes > > +define NUT_USERS > + nut -1 nut -1 * - - - NUT user > +endef > + > ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) > NUT_CONF_OPTS += --with-drivers=auto > else > > > ------------------------------ > > Message: 12 > Date: Tue, 26 Sep 2023 09:55:25 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] docs/manual: add > section to explain how to give credits to a sponsor > Message-ID: <20230926080416.C4BB487821 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=abedb15b530a188ae1f5f514dde7dc98ffd3e76c > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Sometimes it happens that a Company or a Physical Person sponsors the > creation and/or the upstreaming process of a patch, but at the moment > there is no way to give credits to it. In Linux they prepend '+sponsor' > to the e-mail of the contributor in both authorship and commit log tag as > discussed here[0]. So let's describe in the manual how to do that as a > standard. > > [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ > > Signed-off-by: Giulio Benetti > [yann.morin.1998 at free.fr: > - reword to reference sub-addressing and the RFC > - move to the "submitting patches" section, that already deals with > SoB tags > - differentiate between Your/Their names > ] > Signed-off-by: Yann E. MORIN > (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) > Signed-off-by: Peter Korsgaard > --- > docs/manual/contribute.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt > index 94f1c64496..15fe36aef0 100644 > --- a/docs/manual/contribute.txt > +++ b/docs/manual/contribute.txt > @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. > See http://developercertificate.org/[the Developer Certificate of > Origin] for details. > > +To give credits to who sponsored the creation of a patch or the process of > +upstreaming it, you may use > +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for > +your git identity (i.e. what is used as commit author and email +From:+ > +field, as well as your Signed-off-by tag); add suffix to the local part, > +separated from it by a plus `+` sign. E.g.: > + > +* for a company which sponsored the submitted work, use the company name > + as the detail (suffix) part: > ++ > +`Your-Name Your-Surname ` > + > +* for an individual who sponsored who sponsored the submitted work, use > + their name and surname: > ++ > +`Your-Name Your-Surname ` > + > When adding new packages, you should submit every package in a > separate patch. This patch should have the update to > +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the > > > ------------------------------ > > Message: 13 > Date: Tue, 26 Sep 2023 10:01:19 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/nut: > package/nut: specify --with-user/group when building NUT > Message-ID: <20230926080604.4ECB187844 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=cb7613ffb7c1253ae05ef9b5cf6fb77bd421893f > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > This commit fixes a problem where the NUT package couldn't be > used as a NUT server due to the fact that the default group for > nobody is "nogroup" and not "nobody" like the internal default > of NUT. Thus, when starting a NUT server daemon the daemon starts > with incorrect group permissions. This commit fixes this > shortcoming by introducing a dedicated 'nut' user and 'nut' group > to drop priviledges to it. > > Signed-off-by: Jens Maus > Signed-off-by: Yann E. MORIN > (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) > Signed-off-by: Peter Korsgaard > --- > package/nut/nut.mk | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/package/nut/nut.mk b/package/nut/nut.mk > index fb98ba04f0..4c322aeb85 100644 > --- a/package/nut/nut.mk > +++ b/package/nut/nut.mk > @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE > NUT_CONF_OPTS = \ > --with-altpidpath=/var/run/upsd \ > --with-dev \ > - --without-doc > + --without-doc \ > + --with-user=nut \ > + --with-group=nut > > NUT_CONF_ENV = \ > ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ > @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ > ac_cv_func_strncasecmp=yes \ > ax_cv__printf_string_null=yes > > +define NUT_USERS > + nut -1 nut -1 * - - - NUT user > +endef > + > ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) > NUT_CONF_OPTS += --with-drivers=auto > else > > > ------------------------------ > > Message: 14 > Date: Tue, 26 Sep 2023 09:55:16 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] docs/manual: add > section to explain how to give credits to a sponsor > Message-ID: <20230926080604.42D8387842 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=175260e1e7ba60d4a427d3bf52a0fb342011d530 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Sometimes it happens that a Company or a Physical Person sponsors the > creation and/or the upstreaming process of a patch, but at the moment > there is no way to give credits to it. In Linux they prepend '+sponsor' > to the e-mail of the contributor in both authorship and commit log tag as > discussed here[0]. So let's describe in the manual how to do that as a > standard. > > [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ > > Signed-off-by: Giulio Benetti > [yann.morin.1998 at free.fr: > - reword to reference sub-addressing and the RFC > - move to the "submitting patches" section, that already deals with > SoB tags > - differentiate between Your/Their names > ] > Signed-off-by: Yann E. MORIN > (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) > Signed-off-by: Peter Korsgaard > --- > docs/manual/contribute.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt > index 94f1c64496..15fe36aef0 100644 > --- a/docs/manual/contribute.txt > +++ b/docs/manual/contribute.txt > @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. > See http://developercertificate.org/[the Developer Certificate of > Origin] for details. > > +To give credits to who sponsored the creation of a patch or the process of > +upstreaming it, you may use > +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for > +your git identity (i.e. what is used as commit author and email +From:+ > +field, as well as your Signed-off-by tag); add suffix to the local part, > +separated from it by a plus `+` sign. E.g.: > + > +* for a company which sponsored the submitted work, use the company name > + as the detail (suffix) part: > ++ > +`Your-Name Your-Surname ` > + > +* for an individual who sponsored who sponsored the submitted work, use > + their name and surname: > ++ > +`Your-Name Your-Surname ` > + > When adding new packages, you should submit every package in a > separate patch. This patch should have the update to > +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the > > > ------------------------------ > > Message: 15 > Date: Tue, 26 Sep 2023 10:01:28 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/libpjsip: > security bump to version 2.13.1 > Message-ID: <20230926080604.5C7CE87845 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=7efe2b30fe58b021dd09672ca4b7f1ea4e1666a9 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Fixes the following security vulnerability: > > - CVE-2023-27585: Heap buffer overflow when parsing DNS packet > https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr > > Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. > > Signed-off-by: Peter Korsgaard > Signed-off-by: Yann E. MORIN > (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) > Signed-off-by: Peter Korsgaard > --- > .checkpackageignore | 2 - > ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- > ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ > package/libpjsip/libpjsip.hash | 2 +- > package/libpjsip/libpjsip.mk | 8 +- > 5 files changed, 2 insertions(+), 163 deletions(-) > > diff --git a/.checkpackageignore b/.checkpackageignore > index b6b9ba8bf1..428ff03233 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -754,8 +754,6 @@ package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream > package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream > package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream > package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream > -package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch Upstream > -package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch Upstream > package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream > package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream > package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream > diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > deleted file mode 100644 > index 01e1878189..0000000000 > --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > +++ /dev/null > @@ -1,99 +0,0 @@ > -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 > -From: Nanang Izzuddin > -Date: Tue, 20 Dec 2022 11:39:12 +0700 > -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w > - > -* Fix buffer overread in STUN message decoder > - > -* Updates based on comments > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/include/pjnath/stun_msg.h | 4 ++++ > - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- > - 2 files changed, 15 insertions(+), 3 deletions(-) > - > -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h > -index b52f95c586..e49f096f3a 100644 > ---- a/pjnath/include/pjnath/stun_msg.h > -+++ b/pjnath/include/pjnath/stun_msg.h > -@@ -442,6 +442,7 @@ typedef enum pj_stun_status > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_msg_hdr > - { > - /** > -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr > - pj_uint8_t tsx_id[12]; > - > - } pj_stun_msg_hdr; > -+#pragma pack() > - > - > - /** > -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_attr_hdr > - { > - /** > -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr > - pj_uint16_t length; > - > - } pj_stun_attr_hdr; > -+#pragma pack() > - > - > - /** > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index 3def6b3eac..e904a0ba47 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) > - > - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ > - (a)->hdr.length=(pj_uint16_t)(l) > --#define ATTR_HDR_LEN 4 > -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) > - > - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) > - { > -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - status = pj_stun_msg_check(pdu, pdu_len, options); > - if (status != PJ_SUCCESS) > - return status; > -+ } else { > -+ /* For safety, verify packet length at least */ > -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; > -+ if (msg_len > pdu_len || > -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) > -+ { > -+ return PJNATH_EINSTUNMSGLEN; > -+ } > - } > - > - /* Create the message, copy the header, and convert to host byte order */ > -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - p_response = NULL; > - > - /* Parse attributes */ > -- while (pdu_len >= 4) { > -+ while (pdu_len >= ATTR_HDR_LEN) { > - unsigned attr_type, attr_val_len; > - const struct attr_desc *adesc; > - > -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - attr_val_len = (attr_val_len + 3) & (~3); > - > - /* Check length */ > -- if (pdu_len < attr_val_len) { > -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { > - pj_str_t err_msg; > - char err_msg_buf[80]; > - > diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > deleted file mode 100644 > index 82249a2076..0000000000 > --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > +++ /dev/null > @@ -1,54 +0,0 @@ > -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 > -From: sauwming > -Date: Fri, 23 Dec 2022 15:05:28 +0800 > -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr > - > -* Fixed heap buffer overflow when parsing STUN errcode attribute > - > -* Also fixed uint parsing > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- > - 1 file changed, 6 insertions(+), 5 deletions(-) > - > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index c6b0bdd284..b55d29849a 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -- attr->value = GETVAL32H(buf, 4); > -- > - /* Check that the attribute length is valid */ > - if (attr->hdr.length != 4) > - return PJNATH_ESTUNINATTRLEN; > - > -+ attr->value = GETVAL32H(buf, 4); > -+ > - /* Done */ > - *p_attr = attr; > - > -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -+ /* Check that the attribute length is valid */ > -+ if (attr->hdr.length < 4) > -+ return PJNATH_ESTUNINATTRLEN; > -+ > - attr->err_code = buf[6] * 100 + buf[7]; > - > - /* Get pointer to the string in the message */ > - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); > - value.slen = attr->hdr.length - 4; > -- /* Make sure the length is never negative */ > -- if (value.slen < 0) > -- value.slen = 0; > - > - /* Copy the string to the attribute */ > - pj_strdup(pool, &attr->reason, &value); > diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash > index 9935575567..2edd97bed4 100644 > --- a/package/libpjsip/libpjsip.hash > +++ b/package/libpjsip/libpjsip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz > +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk > index 24db641446..f97d547fd7 100644 > --- a/package/libpjsip/libpjsip.mk > +++ b/package/libpjsip/libpjsip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBPJSIP_VERSION = 2.13 > +LIBPJSIP_VERSION = 2.13.1 > LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz > LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) > > @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip > LIBPJSIP_INSTALL_STAGING = YES > LIBPJSIP_MAKE = $(MAKE1) > > -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 > - > -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 > - > LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 > > # relocation truncated to fit: R_68K_GOT16O > > > ------------------------------ > > Message: 16 > Date: Tue, 26 Sep 2023 10:53:16 +0200 > From: Peter Korsgaard > To: "Yann E. MORIN" > Cc: Jens Maus , Daniel Price > , Martin Bark , > buildroot at buildroot.org > Subject: Re: [Buildroot] [PATCH v2] package/nodejs: fix parallel build > Message-ID: <87msx9uxhf.fsf at 48ers.dk> > Content-Type: text/plain > >>>>>> "Yann" == Yann E MORIN writes: > > Jens, All, > > On 2023-09-23 18:04 +0200, Jens Maus via buildroot spake thusly: > >> In ninja-based nodejs builds performing parallel builds using "make -jX" > >> is not working during buildroot initiated builds because the JOBS > >> variable is not set in the MAKE_OPTS variables in nodejs.mk. This commit > >> remedies the issue by setting JOBS to BR2_JLEVEL. > > > I was very confused that nodejs would not build in parallel; that would > > have made for very, very,very long builds. And indeed, it does build in > > parallel, in fact. > > > However, what it does, is use as many CPUs as are available, without > > accounting for the value set by the user in BR2_JLEVEL, thus > > overshooting the limits set by the user. If the BR2_JLEVEL value is not explicitly mentioned, the JOBS value for nodejs will still remain at 0 even when using make -jN. Tested with the tag 2023.02.5 btw. Without the BR2_JLEVEL value, my system ran into memory issue while compiling nodejs with the following dmesg log |Out of memory: Kill process 23747 (cc1plus) score 15 or sacrifice child Killed process 23747, UID 2243, (cc1plus) total-vm:214456kB, anon-rss:178936kB, file-rss:5908kB| > > > So, I reworded the whoe commit log to explain that. > > > Applied to master, thanks. > > Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. > > -- > Bye, Peter Korsgaard > > > ------------------------------ > > Message: 17 > Date: Tue, 26 Sep 2023 10:51:09 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] package/nodejs: fix > parallel build > Message-ID: <20230926090112.255BA806AE at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=bc6771657fcb8f7042450567360333f18d980b99 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Unless told otherwise, ninja will spawn as many jobs as there are CPU > (plus 2). Nodejs is built with ninja, but it is a generic package, so > there is no variable (like with cmake-package) that passes the proper > number of parallel jobs as configured by the user. > > As a consequence, the nodejs build will use as many CPU as are > available, possibly overcommitting the rsources the user expected to be > used. > > Set the JOBS variableto limit that number. > > Signed-off-by: Jens Maus > [yann.morin.1998 at free.fr: reword commit log] > Signed-off-by: Yann E. MORIN > (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) > Signed-off-by: Peter Korsgaard > --- > package/nodejs/nodejs.mk | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk > index fe629ada21..4e70bd71a3 100644 > --- a/package/nodejs/nodejs.mk > +++ b/package/nodejs/nodejs.mk > @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ > CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ > LDFLAGS.host="$(HOST_LDFLAGS)" \ > NO_LOAD=cctest.target.mk \ > - PATH=$(@D)/bin:$(BR_PATH) > + PATH=$(@D)/bin:$(BR_PATH) \ > + JOBS=$(BR2_JLEVEL) > > NODEJS_MAKE_OPTS = \ > $(TARGET_CONFIGURE_OPTS) \ > NO_LOAD=cctest.target.mk \ > PATH=$(@D)/bin:$(BR_PATH) \ > LDFLAGS="$(NODEJS_LDFLAGS)" \ > - LD="$(TARGET_CXX)" > + LD="$(TARGET_CXX)" \ > + JOBS=$(BR2_JLEVEL) > > # nodejs's build system uses python which can be a symlink to an unsupported > # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by > > > ------------------------------ > > Message: 18 > Date: Tue, 26 Sep 2023 10:50:22 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/nodejs: fix > parallel build > Message-ID: <20230926090112.7CD23806AE at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=9c4ef96fe8f213e713afee84dc6e642b1987e9fe > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Unless told otherwise, ninja will spawn as many jobs as there are CPU > (plus 2). Nodejs is built with ninja, but it is a generic package, so > there is no variable (like with cmake-package) that passes the proper > number of parallel jobs as configured by the user. > > As a consequence, the nodejs build will use as many CPU as are > available, possibly overcommitting the rsources the user expected to be > used. > > Set the JOBS variableto limit that number. > > Signed-off-by: Jens Maus > [yann.morin.1998 at free.fr: reword commit log] > Signed-off-by: Yann E. MORIN > (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) > Signed-off-by: Peter Korsgaard > --- > package/nodejs/nodejs.mk | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk > index fe629ada21..4e70bd71a3 100644 > --- a/package/nodejs/nodejs.mk > +++ b/package/nodejs/nodejs.mk > @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ > CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ > LDFLAGS.host="$(HOST_LDFLAGS)" \ > NO_LOAD=cctest.target.mk \ > - PATH=$(@D)/bin:$(BR_PATH) > + PATH=$(@D)/bin:$(BR_PATH) \ > + JOBS=$(BR2_JLEVEL) > > NODEJS_MAKE_OPTS = \ > $(TARGET_CONFIGURE_OPTS) \ > NO_LOAD=cctest.target.mk \ > PATH=$(@D)/bin:$(BR_PATH) \ > LDFLAGS="$(NODEJS_LDFLAGS)" \ > - LD="$(TARGET_CXX)" > + LD="$(TARGET_CXX)" \ > + JOBS=$(BR2_JLEVEL) > > # nodejs's build system uses python which can be a symlink to an unsupported > # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by > > > ------------------------------ > > Message: 19 > Date: Tue, 26 Sep 2023 10:51:16 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] package/nodejs: fix > parallel build > Message-ID: <20230926090230.69E1D80DC9 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=c132c520872ca3435e7c4218da498358fe0e3053 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > Unless told otherwise, ninja will spawn as many jobs as there are CPU > (plus 2). Nodejs is built with ninja, but it is a generic package, so > there is no variable (like with cmake-package) that passes the proper > number of parallel jobs as configured by the user. > > As a consequence, the nodejs build will use as many CPU as are > available, possibly overcommitting the rsources the user expected to be > used. > > Set the JOBS variableto limit that number. > > Signed-off-by: Jens Maus > [yann.morin.1998 at free.fr: reword commit log] > Signed-off-by: Yann E. MORIN > (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) > Signed-off-by: Peter Korsgaard > --- > package/nodejs/nodejs.mk | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk > index 225b371786..ff32ae6c13 100644 > --- a/package/nodejs/nodejs.mk > +++ b/package/nodejs/nodejs.mk > @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ > CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ > LDFLAGS.host="$(HOST_LDFLAGS)" \ > NO_LOAD=cctest.target.mk \ > - PATH=$(@D)/bin:$(BR_PATH) > + PATH=$(@D)/bin:$(BR_PATH) \ > + JOBS=$(BR2_JLEVEL) > > NODEJS_MAKE_OPTS = \ > $(TARGET_CONFIGURE_OPTS) \ > NO_LOAD=cctest.target.mk \ > PATH=$(@D)/bin:$(BR_PATH) \ > LDFLAGS="$(NODEJS_LDFLAGS)" \ > - LD="$(TARGET_CXX)" > + LD="$(TARGET_CXX)" \ > + JOBS=$(BR2_JLEVEL) > > # nodejs's build system uses python which can be a symlink to an unsupported > # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by > > > ------------------------------ > > Message: 20 > Date: Tue, 26 Sep 2023 10:01:09 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] package/nut: > package/nut: specify --with-user/group when building NUT > Message-ID: <20230926090230.58DDD80DA8 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=939ff67d15b7db28d67473b1503d1870578a83ca > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > This commit fixes a problem where the NUT package couldn't be > used as a NUT server due to the fact that the default group for > nobody is "nogroup" and not "nobody" like the internal default > of NUT. Thus, when starting a NUT server daemon the daemon starts > with incorrect group permissions. This commit fixes this > shortcoming by introducing a dedicated 'nut' user and 'nut' group > to drop priviledges to it. > > Signed-off-by: Jens Maus > Signed-off-by: Yann E. MORIN > (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) > Signed-off-by: Peter Korsgaard > --- > package/nut/nut.mk | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/package/nut/nut.mk b/package/nut/nut.mk > index fb98ba04f0..4c322aeb85 100644 > --- a/package/nut/nut.mk > +++ b/package/nut/nut.mk > @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE > NUT_CONF_OPTS = \ > --with-altpidpath=/var/run/upsd \ > --with-dev \ > - --without-doc > + --without-doc \ > + --with-user=nut \ > + --with-group=nut > > NUT_CONF_ENV = \ > ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ > @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ > ac_cv_func_strncasecmp=yes \ > ax_cv__printf_string_null=yes > > +define NUT_USERS > + nut -1 nut -1 * - - - NUT user > +endef > + > ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) > NUT_CONF_OPTS += --with-drivers=auto > else > > > ------------------------------ > > Message: 21 > Date: Tue, 26 Sep 2023 10:02:05 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] package/libpjsip: > security bump to version 2.13.1 > Message-ID: <20230926090230.6169880DB3 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=243ea6eb2927bdb689efbd3e61a1076e887944f3 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > Fixes the following security vulnerability: > > - CVE-2023-27585: Heap buffer overflow when parsing DNS packet > https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr > > Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. > > Signed-off-by: Peter Korsgaard > Signed-off-by: Yann E. MORIN > (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) > Signed-off-by: Peter Korsgaard > --- > ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- > ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ > package/libpjsip/libpjsip.hash | 2 +- > package/libpjsip/libpjsip.mk | 8 +- > 4 files changed, 2 insertions(+), 161 deletions(-) > > diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > deleted file mode 100644 > index 01e1878189..0000000000 > --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > +++ /dev/null > @@ -1,99 +0,0 @@ > -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 > -From: Nanang Izzuddin > -Date: Tue, 20 Dec 2022 11:39:12 +0700 > -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w > - > -* Fix buffer overread in STUN message decoder > - > -* Updates based on comments > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/include/pjnath/stun_msg.h | 4 ++++ > - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- > - 2 files changed, 15 insertions(+), 3 deletions(-) > - > -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h > -index b52f95c586..e49f096f3a 100644 > ---- a/pjnath/include/pjnath/stun_msg.h > -+++ b/pjnath/include/pjnath/stun_msg.h > -@@ -442,6 +442,7 @@ typedef enum pj_stun_status > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_msg_hdr > - { > - /** > -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr > - pj_uint8_t tsx_id[12]; > - > - } pj_stun_msg_hdr; > -+#pragma pack() > - > - > - /** > -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_attr_hdr > - { > - /** > -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr > - pj_uint16_t length; > - > - } pj_stun_attr_hdr; > -+#pragma pack() > - > - > - /** > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index 3def6b3eac..e904a0ba47 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) > - > - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ > - (a)->hdr.length=(pj_uint16_t)(l) > --#define ATTR_HDR_LEN 4 > -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) > - > - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) > - { > -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - status = pj_stun_msg_check(pdu, pdu_len, options); > - if (status != PJ_SUCCESS) > - return status; > -+ } else { > -+ /* For safety, verify packet length at least */ > -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; > -+ if (msg_len > pdu_len || > -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) > -+ { > -+ return PJNATH_EINSTUNMSGLEN; > -+ } > - } > - > - /* Create the message, copy the header, and convert to host byte order */ > -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - p_response = NULL; > - > - /* Parse attributes */ > -- while (pdu_len >= 4) { > -+ while (pdu_len >= ATTR_HDR_LEN) { > - unsigned attr_type, attr_val_len; > - const struct attr_desc *adesc; > - > -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - attr_val_len = (attr_val_len + 3) & (~3); > - > - /* Check length */ > -- if (pdu_len < attr_val_len) { > -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { > - pj_str_t err_msg; > - char err_msg_buf[80]; > - > diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > deleted file mode 100644 > index 82249a2076..0000000000 > --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > +++ /dev/null > @@ -1,54 +0,0 @@ > -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 > -From: sauwming > -Date: Fri, 23 Dec 2022 15:05:28 +0800 > -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr > - > -* Fixed heap buffer overflow when parsing STUN errcode attribute > - > -* Also fixed uint parsing > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- > - 1 file changed, 6 insertions(+), 5 deletions(-) > - > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index c6b0bdd284..b55d29849a 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -- attr->value = GETVAL32H(buf, 4); > -- > - /* Check that the attribute length is valid */ > - if (attr->hdr.length != 4) > - return PJNATH_ESTUNINATTRLEN; > - > -+ attr->value = GETVAL32H(buf, 4); > -+ > - /* Done */ > - *p_attr = attr; > - > -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -+ /* Check that the attribute length is valid */ > -+ if (attr->hdr.length < 4) > -+ return PJNATH_ESTUNINATTRLEN; > -+ > - attr->err_code = buf[6] * 100 + buf[7]; > - > - /* Get pointer to the string in the message */ > - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); > - value.slen = attr->hdr.length - 4; > -- /* Make sure the length is never negative */ > -- if (value.slen < 0) > -- value.slen = 0; > - > - /* Copy the string to the attribute */ > - pj_strdup(pool, &attr->reason, &value); > diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash > index 9935575567..2edd97bed4 100644 > --- a/package/libpjsip/libpjsip.hash > +++ b/package/libpjsip/libpjsip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz > +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk > index 24db641446..f97d547fd7 100644 > --- a/package/libpjsip/libpjsip.mk > +++ b/package/libpjsip/libpjsip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBPJSIP_VERSION = 2.13 > +LIBPJSIP_VERSION = 2.13.1 > LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz > LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) > > @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip > LIBPJSIP_INSTALL_STAGING = YES > LIBPJSIP_MAKE = $(MAKE1) > > -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 > - > -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 > - > LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 > > # relocation truncated to fit: R_68K_GOT16O > > > ------------------------------ > > Message: 22 > Date: Tue, 26 Sep 2023 09:55:31 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] docs/manual: add > section to explain how to give credits to a sponsor > Message-ID: <20230926090230.4E97180DA6 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=7da37962ced51497d9060c845b9f215fc67ec070 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > Sometimes it happens that a Company or a Physical Person sponsors the > creation and/or the upstreaming process of a patch, but at the moment > there is no way to give credits to it. In Linux they prepend '+sponsor' > to the e-mail of the contributor in both authorship and commit log tag as > discussed here[0]. So let's describe in the manual how to do that as a > standard. > > [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ > > Signed-off-by: Giulio Benetti > [yann.morin.1998 at free.fr: > - reword to reference sub-addressing and the RFC > - move to the "submitting patches" section, that already deals with > SoB tags > - differentiate between Your/Their names > ] > Signed-off-by: Yann E. MORIN > (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) > Signed-off-by: Peter Korsgaard > --- > docs/manual/contribute.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt > index 94f1c64496..15fe36aef0 100644 > --- a/docs/manual/contribute.txt > +++ b/docs/manual/contribute.txt > @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. > See http://developercertificate.org/[the Developer Certificate of > Origin] for details. > > +To give credits to who sponsored the creation of a patch or the process of > +upstreaming it, you may use > +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for > +your git identity (i.e. what is used as commit author and email +From:+ > +field, as well as your Signed-off-by tag); add suffix to the local part, > +separated from it by a plus `+` sign. E.g.: > + > +* for a company which sponsored the submitted work, use the company name > + as the detail (suffix) part: > ++ > +`Your-Name Your-Surname ` > + > +* for an individual who sponsored who sponsored the submitted work, use > + their name and surname: > ++ > +`Your-Name Your-Surname ` > + > When adding new packages, you should submit every package in a > separate patch. This patch should have the update to > +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the > > > ------------------------------ > > Message: 23 > Date: Tue, 26 Sep 2023 11:11:57 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Thomas Petazzoni , Maxime Chevallier > , Giulio Benetti > , "Yann E . MORIN" > , Pierre Floury > Subject: [Buildroot] [PATCH v2 3/4] package/linux-tools: add rtla > Message-ID: > <20230926091158.3767645-3-giulio.benetti at benettiengineering.com> > > From: Maxime Chevallier > > The RealTime Linux Analysis tool includes a set of commands that relies > on the osnoise and timerlat tracers from the ftrace kernel subsystem, > allowing to analyze the lantency sources coming from the hardware and > the kernel itself. > > This tool was introduced in v5.17, and relies on libtracefs and > libtraceevent, although libtraceevent itself is already a dependency for > libtracefs. > > Signed-off-by: Maxime Chevallier > [Giulio: fix install with recent Linux versions] > Signed-off-by: Giulio Benetti > --- > Giulio: > V1->V2: > * fix install with recent Linux versions > --- > DEVELOPERS | 1 + > package/linux-tools/Config.in | 10 +++++++ > package/linux-tools/linux-tool-rtla.mk.in | 36 +++++++++++++++++++++++ > 3 files changed, 47 insertions(+) > create mode 100644 package/linux-tools/linux-tool-rtla.mk.in > > diff --git a/DEVELOPERS b/DEVELOPERS > index 835c269461..31bfc67c8a 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2099,6 +2099,7 @@ F: package/timescaledb/ > N: Maxime Chevallier > F: package/libtraceevent/ > F: package/libtracefs > +F: package/linux-tools/linux-tool-rtla.mk.in > > N: Michael Durrant > F: board/arcturus/ > diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in > index 451b0eeff5..63e2796e45 100644 > --- a/package/linux-tools/Config.in > +++ b/package/linux-tools/Config.in > @@ -102,6 +102,16 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3 > > endif > > +config BR2_PACKAGE_LINUX_TOOLS_RTLA > + bool "rtla" > + select BR2_PACKAGE_LINUX_TOOLS > + select BR2_PACKAGE_LIBTRACEFS > + help > + Linux 5.17 and later has 2 new tracers, osnoise and timerlat. > + There tracers allow performing latency analysis, for which > + the rtla tool provides wrapper commands to visualize and > + extrace latency traces and reports. > + > config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS > bool"selftests" > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash > diff --git a/package/linux-tools/linux-tool-rtla.mk.in b/package/linux-tools/linux-tool-rtla.mk.in > new file mode 100644 > index 0000000000..a14571bb1c > --- /dev/null > +++ b/package/linux-tools/linux-tool-rtla.mk.in > @@ -0,0 +1,36 @@ > +################################################################################ > +# > +# rtla > +# > +################################################################################ > + > +LINUX_TOOLS += rtla > + > +RTLA_DEPENDENCIES = host-pkgconf libtracefs > +RTLA_MAKE_OPTS = $(LINUX_MAKE_FLAGS) \ > + CC=$(TARGET_CC) \ > + LDFLAGS="$(TARGET_LDFLAGS)" \ > + PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig > + > +define RTLA_BUILD_CMDS > + $(Q)if ! grep install $(LINUX_DIR)/tools/tracing/rtla/Makefile >/dev/null 2>&1 ; then \ > + echo "Your kernel version is too old and does not implement the rtla tool." ; \ > + echo "At least kernel 5.17 must be used." ; \ > + exit 1 ; \ > + fi > + > + $(TARGET_MAKE_ENV) \ > + $(MAKE) $(RTLA_MAKE_OPTS) \ > + -C $(LINUX_DIR)/tools/tracing rtla > +endef > + > +# make rtla_install build and install by default documentation using rst2man > +# but it's not available in Buildroot and we don't want manual files in target > +# folder so let's simply install the resulting rtla binary and create symlinks > +# like Linux does in its tools/tracing/rtla/Makefile > +define RTLA_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 -D $(LINUX_DIR)/tools/tracing/rtla/rtla $(TARGET_DIR)/usr/bin > + ln -sf rtla $(TARGET_DIR)/usr/bin/osnoise > + ln -sf rtla $(TARGET_DIR)/usr/bin/hwnoise > + ln -sf rtla $(TARGET_DIR)/usr/bin/timerlat > +endef > -- > 2.34.1 > > > > ------------------------------ > > Message: 24 > Date: Tue, 26 Sep 2023 11:11:58 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Thomas Petazzoni , Maxime Chevallier > , Giulio Benetti > , "Yann E . MORIN" > , Pierre Floury > Subject: [Buildroot] [PATCH v2 4/4] package/trace-cmd: bump to 3.1.7 > Message-ID: > <20230926091158.3767645-4-giulio.benetti at benettiengineering.com> > > From: Maxime Chevallier > > trace-cmd's dependencies 'libtracefs' and 'libtraceevent' were split > into dedicated projects, maintained outside of trace-cmd. > > This release, on top of bumping the version, adds this new dependencies. > > Signed-off-by: Maxime Chevallier > [Giulio: bump to version 3.1.7] > Signed-off-by: Giulio Benetti > --- > Giulio: > V1->V2: > * bump to version 3.1.7 > --- > package/trace-cmd/Config.in | 2 ++ > package/trace-cmd/trace-cmd.hash | 2 +- > package/trace-cmd/trace-cmd.mk | 6 ++++-- > 3 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in > index 2d0accd7ae..00b9ebbd9a 100644 > --- a/package/trace-cmd/Config.in > +++ b/package/trace-cmd/Config.in > @@ -4,6 +4,8 @@ config BR2_PACKAGE_TRACE_CMD > depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL > depends on BR2_USE_MMU # fork() > depends on !BR2_STATIC_LIBS # dlopen() > + select BR2_PACKAGE_LIBTRACEEVENT > + select BR2_PACKAGE_LIBTRACEFS > help > Command line reader for ftrace. > > diff --git a/package/trace-cmd/trace-cmd.hash b/package/trace-cmd/trace-cmd.hash > index 4d39e4d5ea..6edcaf0e1c 100644 > --- a/package/trace-cmd/trace-cmd.hash > +++ b/package/trace-cmd/trace-cmd.hash > @@ -1,5 +1,5 @@ > # Locally computed > -sha256 a74d9ade2633b88d0ad199360d51996427e23f4835594133e456cd6e3bd3a651 trace-cmd-v2.9.7.tar.gz > +sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz > sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING > sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB > sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 > diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk > index 52bb99036c..3d4d88c964 100644 > --- a/package/trace-cmd/trace-cmd.mk > +++ b/package/trace-cmd/trace-cmd.mk > @@ -4,14 +4,14 @@ > # > ################################################################################ > > -TRACE_CMD_VERSION = 2.9.7 > +TRACE_CMD_VERSION = 3.1.7 > TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz > TRACE_CMD_SITE = \ > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot > TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 > TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 > > -TRACE_CMD_DEPENDENCIES = host-pkgconf > +TRACE_CMD_DEPENDENCIES = host-pkgconf libtracefs libtraceevent > TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc > > ifeq ($(BR2_PACKAGE_AUDIT),y) > @@ -34,6 +34,8 @@ ifeq ($(BR2_sparc64),y) > TRACE_CMD_CFLAGS += -fPIC > endif > > +TRACE_CMD_CFLAGS += $($(HOST_DIR)/bin/pkg-config --cflags libtracefs) > + > # trace-cmd use CPPFLAGS to add some extra flags. > # But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE > # that causes build problems. > -- > 2.34.1 > > > > ------------------------------ > > Message: 25 > Date: Tue, 26 Sep 2023 11:11:55 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Thomas Petazzoni , Maxime Chevallier > , Giulio Benetti > , "Yann E . MORIN" > , Pierre Floury > Subject: [Buildroot] [PATCH v2 1/4] package/libtraceevent: new package > Message-ID: > <20230926091158.3767645-1-giulio.benetti at benettiengineering.com> > > From: Maxime Chevallier > > Introduce the libtraceevent library, that used to be bundled with the > trace-cmd tool. This library is now used by several tools and libraries > such as trace-cmd, libtracefs and rtla. > > This package tries to install libraries in /usr/local/lib by default, > hence the redefinition of the "prefix" variable, so that the library > gets installed in "/usr/lib" instead. > > The same applies to the pkgconfig handling of the proved Makefile, which > installs the .pc files in the /usr/local area by default, hence the > redefinition of the pkgconfig_dir to either the correct directory within the > staging area, or to empty value for the target to avoid installing the .pc > in that case. > > Signed-off-by: Maxime Chevallier > [Giulio: bump version to 1.7.3 and add hash file] > Signed-off-by: Giulio Benetti > --- > Giulio: > V1->V2: > * bump to version 1.7.3 > * add hash file > --- > DEVELOPERS | 3 +++ > package/Config.in | 1 + > package/libtraceevent/Config.in | 9 +++++++ > package/libtraceevent/libtraceevent.hash | 4 +++ > package/libtraceevent/libtraceevent.mk | 33 ++++++++++++++++++++++++ > 5 files changed, 50 insertions(+) > create mode 100644 package/libtraceevent/Config.in > create mode 100644 package/libtraceevent/libtraceevent.hash > create mode 100644 package/libtraceevent/libtraceevent.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index 38973a75dc..306c3cf2be 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2096,6 +2096,9 @@ F: package/postgresql/ > F: package/protozero/ > F: package/timescaledb/ > > +N: Maxime Chevallier > +F: package/libtraceevent/ > + > N: Michael Durrant > F: board/arcturus/ > F: configs/arcturus_ucp1020_defconfig > diff --git a/package/Config.in b/package/Config.in > index 1e8b6f90c1..cb7afd188e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -117,6 +117,7 @@ menu "Debugging, profiling and benchmark" > source "package/kyua/Config.in" > source "package/latencytop/Config.in" > source "package/libbpf/Config.in" > + source "package/libtraceevent/Config.in" > source "package/lmbench/Config.in" > source "package/lsof/Config.in" > source "package/ltp-testsuite/Config.in" > diff --git a/package/libtraceevent/Config.in b/package/libtraceevent/Config.in > new file mode 100644 > index 0000000000..d351e3b4de > --- /dev/null > +++ b/package/libtraceevent/Config.in > @@ -0,0 +1,9 @@ > +config BR2_PACKAGE_LIBTRACEEVENT > + bool "libtraceevent" > + help > + libtraceevent is a library that interfaces with the ftrace > + subsystem in the linux kernel. > + It used to be bundled directly in the trace-cmd > + tool, but it was eventually extracted so that it can be used > + by multiple other tools and libraries, such as libtracefs and > + rtla. > diff --git a/package/libtraceevent/libtraceevent.hash b/package/libtraceevent/libtraceevent.hash > new file mode 100644 > index 0000000000..15c4883afd > --- /dev/null > +++ b/package/libtraceevent/libtraceevent.hash > @@ -0,0 +1,4 @@ > +# Locally computed > +sha256 097b72e0d907f3107825fb2edf0188324bf70dc9da360f6efa68dc484ffde541 libtraceevent-1.7.3.tar.gz > +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 > +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 > diff --git a/package/libtraceevent/libtraceevent.mk b/package/libtraceevent/libtraceevent.mk > new file mode 100644 > index 0000000000..75c23f7410 > --- /dev/null > +++ b/package/libtraceevent/libtraceevent.mk > @@ -0,0 +1,33 @@ > +################################################################################ > +# > +# libtraceevent > +# > +################################################################################ > + > +LIBTRACEEVENT_VERSION = 1.7.3 > +LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot > +LIBTRACEEVENT_INSTALL_STAGING = YES > +LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 > +LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 > + > +define LIBTRACEEVENT_BUILD_CMDS > + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) > +endef > + > +define LIBTRACEEVENT_INSTALL_STAGING_CMDS > + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + DESTDIR=$(STAGING_DIR) \ > + pkgconfig_dir="/usr/lib/pkgconfig" \ > + prefix="/usr" \ > + install > +endef > + > +define LIBTRACEEVENT_INSTALL_TARGET_CMDS > + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + DESTDIR=$(TARGET_DIR) \ > + pkgconfig_dir="" \ > + prefix="/usr" \ > + install > +endef > + > +$(eval $(generic-package)) > -- > 2.34.1 > > > > ------------------------------ > > Message: 26 > Date: Tue, 26 Sep 2023 11:11:56 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Thomas Petazzoni , Maxime Chevallier > , Giulio Benetti > , "Yann E . MORIN" > , Pierre Floury > Subject: [Buildroot] [PATCH v2 2/4] package/libtracefs: new package > Message-ID: > <20230926091158.3767645-2-giulio.benetti at benettiengineering.com> > > From: Maxime Chevallier > > Introduce the libtracefs library, that used to be bundled with the > trace-cmd tool. This library is now used by several tools and libraries > such as trace-cmd and rtla, and is used as an interface to the ftrace > kernel subsystem through tracefs. > > This package tries to install libraries in /usr/local/lib by default, > hence the redefinition of the "prefix" variable, so that the library > gets installed in "/usr/lib" instead. > > The same applies to the pkgconfig handling of the proved Makefile, which > installs the .pc files in the /usr/local area by default, hence the > redefinition of the pkgconfig_dir to either the correct directory within the > staging area, or to empty value for the target to avoid installing the .pc > in that case. > > Signed-off-by: Maxime Chevallier > [Giulio: bump version to 1.7.0 and add hash file] > Signeg-off-by: Giulio Benetti > --- > Giulio: > V1->V2: > * bump to version 1.7.0 > * add hash file > --- > DEVELOPERS | 1 + > package/Config.in | 1 + > package/libtracefs/Config.in | 6 +++++ > package/libtracefs/libtracefs.hash | 4 ++++ > package/libtracefs/libtracefs.mk | 35 ++++++++++++++++++++++++++++++ > 5 files changed, 47 insertions(+) > create mode 100644 package/libtracefs/Config.in > create mode 100644 package/libtracefs/libtracefs.hash > create mode 100644 package/libtracefs/libtracefs.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index 306c3cf2be..835c269461 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2098,6 +2098,7 @@ F: package/timescaledb/ > > N: Maxime Chevallier > F: package/libtraceevent/ > +F: package/libtracefs > > N: Michael Durrant > F: board/arcturus/ > diff --git a/package/Config.in b/package/Config.in > index cb7afd188e..bd30e956bd 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -118,6 +118,7 @@ menu "Debugging, profiling and benchmark" > source "package/latencytop/Config.in" > source "package/libbpf/Config.in" > source "package/libtraceevent/Config.in" > + source "package/libtracefs/Config.in" > source "package/lmbench/Config.in" > source "package/lsof/Config.in" > source "package/ltp-testsuite/Config.in" > diff --git a/package/libtracefs/Config.in b/package/libtracefs/Config.in > new file mode 100644 > index 0000000000..92ce0986df > --- /dev/null > +++ b/package/libtracefs/Config.in > @@ -0,0 +1,6 @@ > +config BR2_PACKAGE_LIBTRACEFS > + bool "libtracefs" > + select BR2_PACKAGE_LIBTRACEEVENT > + help > + libtracefs is used to easily interface with the ftrace > + interface through the tracefs virtual filesystem. > diff --git a/package/libtracefs/libtracefs.hash b/package/libtracefs/libtracefs.hash > new file mode 100644 > index 0000000000..676fcf1111 > --- /dev/null > +++ b/package/libtracefs/libtracefs.hash > @@ -0,0 +1,4 @@ > +# Locally computed > +sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz > +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 > +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 > diff --git a/package/libtracefs/libtracefs.mk b/package/libtracefs/libtracefs.mk > new file mode 100644 > index 0000000000..0b32b2102a > --- /dev/null > +++ b/package/libtracefs/libtracefs.mk > @@ -0,0 +1,35 @@ > +################################################################################ > +# > +# libtracefs > +# > +################################################################################ > + > +LIBTRACEFS_VERSION = 1.7.0 > +LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot > +LIBTRACEFS_INSTALL_STAGING = YES > +LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1 > +LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 > + > +LIBTRACEFS_DEPENDENCIES = host-pkgconf libtraceevent > + > +define LIBTRACEFS_BUILD_CMDS > + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) > +endef > + > +define LIBTRACEFS_INSTALL_STAGING_CMDS > + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + DESTDIR=$(STAGING_DIR) \ > + pkgconfig_dir="/usr/lib/pkgconfig" \ > + prefix="/usr" \ > + install > +endef > + > +define LIBTRACEFS_INSTALL_TARGET_CMDS > + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + DESTDIR=$(TARGET_DIR) \ > + pkgconfig_dir="" \ > + prefix="/usr" \ > + install > +endef > + > +$(eval $(generic-package)) > -- > 2.34.1 > > > > ------------------------------ > > Message: 27 > Date: Tue, 26 Sep 2023 13:51:12 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/libopenssl: > bump to version 3.0.11 > Message-ID: <20230926115319.E953E81426 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=f4c3e4a55e4b43dec6dece3ee47c199cd5775f77 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Fixes CVE-2023-4807 (Windows-only): > https://www.openssl.org/news/vulnerabilities.html > > Changelog: https://www.openssl.org/news/openssl-3.0-notes.html > > Signed-off-by: Peter Korsgaard > --- > package/libopenssl/libopenssl.hash | 4 ++-- > package/libopenssl/libopenssl.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash > index b43281c7eb..27e2c73d1d 100644 > --- a/package/libopenssl/libopenssl.hash > +++ b/package/libopenssl/libopenssl.hash > @@ -1,5 +1,5 @@ > -# From https://www.openssl.org/source/openssl-3.0.10.tar.gz.sha256 > -sha256 1761d4f5b13a1028b9b6f3d4b8e17feb0cedc9370f6afe61d7193d2cdce83323 openssl-3.0.10.tar.gz > +# From https://www.openssl.org/source/openssl-3.0.11.tar.gz.sha256 > +sha256 b3425d3bb4a2218d0697eb41f7fc0cdede016ed19ca49d168b78e8d947887f55 openssl-3.0.11.tar.gz > > # License files > sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt > diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk > index 8bc3687921..5ff878dded 100644 > --- a/package/libopenssl/libopenssl.mk > +++ b/package/libopenssl/libopenssl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBOPENSSL_VERSION = 3.0.10 > +LIBOPENSSL_VERSION = 3.0.11 > LIBOPENSSL_SITE = https://www.openssl.org/source > LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz > LIBOPENSSL_LICENSE = Apache-2.0 > > > ------------------------------ > > Message: 28 > Date: Tue, 26 Sep 2023 17:47:03 +0200 > From: "Yann E. MORIN" > To: buildroot at buildroot.org > Cc: "Yann E. MORIN" , Julien Olivain > > Subject: [Buildroot] [PATCH] support/runtime-test: fix weston test > Message-ID: <20230926154703.160448-1-yann.morin.1998 at free.fr> > > The weston runtime test uses the CRC of the framebuffer to detect that > "something" is being drawned on the framebuffer. This requires that the > sampling of the CRC happens does not happen too early after trigerring > an action, or the rendering may be not be finishe, either: > > - weston may not have had time to initialise, or > - the test application may not have started rednering, > > The sequence of rendering that has been observed yields this sequence of > CRCs (elided for brevity): > > - boot: > - alternating between 0x4c4126bf and 0x5d2f9aa5: console cursor > blinking > > - start weston: > - 0x4c4126bf: weston switches to an clearted vt) > ... > - 0xe54b7895: weston is starting > ... > - 0xe54b7895: wayland socket appears! > ... > - 0x6bf28bdf: weston is ready > ... > > - start weston-simple-egl: > - 0x6bf28bdf: application is starting > ... > - 0xNNNNNNNN: random CRCs while the application renders > ... > > - stop weston-simple-egl: > - 0xNNNNNNNN: izero, one, or two random CRCs while the application > renders before it handles SIGTERM > - 0x6bf28bdf: application is stopped > ... > > - stop weston: > - 0x6bf28bdf: a few CRC identical to when weston was started, while > weston is processing SIGTERM > - ocillating between 0x4c4126bf and 0x5d2f9aa5: console cursor > blinking, back to initial vt, weston dead. > > So, we need to wait "enough" after each action. Moreover, when the > wayland socket appears, weston may not have stabilised yet, so we also > need to wait after the socket appears. > > Signed-off-by: Yann E. MORIN > Cc: Julien Olivain > --- > support/testing/tests/package/test_weston.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/support/testing/tests/package/test_weston.py b/support/testing/tests/package/test_weston.py > index 276788c649..df1b7a4135 100644 > --- a/support/testing/tests/package/test_weston.py > +++ b/support/testing/tests/package/test_weston.py > @@ -78,6 +78,7 @@ class TestWeston(infra.basetest.BRTest): > wayland_socket = "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}" > cmd = f"while [ ! -e \"{wayland_socket}\" ] ; do sleep 1 ; done" > self.assertRunOk(cmd, timeout=10) > + time.sleep(4) > > def stop_weston(self): > cmd = "killall weston && sleep 3" > -- > 2.25.1 > > > > ------------------------------ > > Message: 29 > Date: Tue, 26 Sep 2023 19:37:44 +0300 > From: Sergey Kuzminov > To: Marcin Niestroj , > buildroot at buildroot.org > Cc: Sergey Matyukevich , Peter Korsgaard > > Subject: Re: [Buildroot] [PATCH v2] board: add Orangepi Zero3 support > Message-ID: <05b7f0d8-163d-52e0-fa48-c275bb89fff0 at gmail.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Tested-by: Sergey Kuzminov > > 18.09.2023 09:47, Marcin Niestroj ?????: >> Add initial support for Orangepi Zero3 board: >> - U-Boot 2021.07 fork by Orangepi >> - Linux 6.1.31 fork by Orangepi >> - Default packages from buildroot >> >> Enable CONFIG_MFD_AC200 as it is used directly by other module, >> resulting in build failure when disabled. >> >> Signed-off-by: Marcin Niestroj >> --- >> v1 -> v2: >> * use 'linux_sunxi64' instead of default arch defconfig, which fixes >> ethernet networking (suggested by Sergey) >> * disabled rootfs.tar generation (suggested by Sergey) >> * increased ext2 fs size to 180M to fit more kernel modules >> * added DEVELOPERS entries for board files >> >> DEVELOPERS | 2 + >> board/orangepi/orangepi-zero3/linux.config | 1 + >> board/orangepi/orangepi-zero3/readme.txt | 34 +++++++++++++ >> configs/orangepi_zero3_defconfig | 57 ++++++++++++++++++++++ >> 4 files changed, 94 insertions(+) >> create mode 100644 board/orangepi/orangepi-zero3/linux.config >> create mode 100644 board/orangepi/orangepi-zero3/readme.txt >> create mode 100644 configs/orangepi_zero3_defconfig >> >> diff --git a/DEVELOPERS b/DEVELOPERS >> index e8b78a8d46..66abc39e16 100644 >> --- a/DEVELOPERS >> +++ b/DEVELOPERS >> @@ -1953,8 +1953,10 @@ F: package/ecryptfs-utils/ >> N: Marcin Niestroj >> F: board/grinn/ >> F: board/orangepi/orangepi-zero-plus/ >> +F: board/orangepi/orangepi-zero3/ >> F: configs/grinn_* >> F: configs/orangepi_zero_plus_defconfig >> +F: configs/orangepi_zero3_defconfig >> F: package/argparse/ >> F: package/dt-utils/ >> F: package/easydbus/ >> diff --git a/board/orangepi/orangepi-zero3/linux.config b/board/orangepi/orangepi-zero3/linux.config >> new file mode 100644 >> index 0000000000..09b7a93a5a >> --- /dev/null >> +++ b/board/orangepi/orangepi-zero3/linux.config >> @@ -0,0 +1 @@ >> +CONFIG_MFD_AC200=y >> diff --git a/board/orangepi/orangepi-zero3/readme.txt b/board/orangepi/orangepi-zero3/readme.txt >> new file mode 100644 >> index 0000000000..4872a363e7 >> --- /dev/null >> +++ b/board/orangepi/orangepi-zero3/readme.txt >> @@ -0,0 +1,34 @@ >> +Intro >> +===== >> + >> +This default configuration will allow you to start experimenting with the >> +buildroot environment for the Orangepi Zero3. With the current configuration >> +it will bring-up the board, and allow access through the serial console. >> + >> +Orangepi Zero3 link: >> +http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-3.html >> + >> +This configuration uses Orangepi's fork of U-Boot and Linux kernel. >> + >> +How to build >> +============ >> + >> + $ make orangepi_zero3_defconfig >> + $ make >> + >> +Note: you will need access to the internet to download the required >> +sources. >> + >> +How to write the SD card >> +======================== >> + >> +Once the build process is finished you will have an image called "sdcard.img" >> +in the output/images/ directory. >> + >> +Copy the bootable "sdcard.img" onto an SD card with "dd": >> + >> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX >> + $ sudo sync >> + >> +Insert the micro SDcard in your Orangepi Zero3 and power it up. The console >> +is on the serial line, 115200 8N1. >> diff --git a/configs/orangepi_zero3_defconfig b/configs/orangepi_zero3_defconfig >> new file mode 100644 >> index 0000000000..51a6efd3ed >> --- /dev/null >> +++ b/configs/orangepi_zero3_defconfig >> @@ -0,0 +1,57 @@ >> +BR2_aarch64=y >> +BR2_cortex_a53=y >> +BR2_ARM_FPU_VFPV4=y >> + >> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y >> +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y >> +BR2_SYSTEM_DHCP="eth0" >> + >> +# Firmware >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9" >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h616" >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y >> + >> +# Bootloader >> +BR2_TARGET_UBOOT=y >> +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y >> +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y >> +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,orangepi-xunlong,u-boot-orangepi,6fe17fac388aad17490cf386578b7532975e567f)/u-boot-orangepi-6fe17fac388aad17490cf386578b7532975e567f.tar.gz" >> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero3" >> +BR2_TARGET_UBOOT_NEEDS_DTC=y >> +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y >> +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y >> +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y >> +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y >> +BR2_TARGET_UBOOT_SPL=y >> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" >> +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" >> + >> +# Kernel >> +BR2_LINUX_KERNEL=y >> +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y >> +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,orangepi-xunlong,linux-orangepi,3495b5ee0594566c9fed930b96b1cae90600412e)/linux-orangepi-3495b5ee0594566c9fed930b96b1cae90600412e.tar.gz" >> +BR2_LINUX_KERNEL_DEFCONFIG="linux_sunxi64" >> +BR2_LINUX_KERNEL_DTS_SUPPORT=y >> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h616-orangepi-zero3" >> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y >> +BR2_LINUX_KERNEL_INSTALL_TARGET=y >> +BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y >> +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero3/linux.config" >> + >> +# Filesystem >> +BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero3" >> +BR2_TARGET_ROOTFS_EXT2=y >> +BR2_TARGET_ROOTFS_EXT2_4=y >> +BR2_TARGET_ROOTFS_EXT2_SIZE="180M" >> +# BR2_TARGET_ROOTFS_TAR is not set >> + >> +# host tools >> +BR2_PACKAGE_HOST_GENIMAGE=y >> +BR2_PACKAGE_HOST_UBOOT_TOOLS=y >> + >> +# image scripts >> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" >> +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" >> +BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" > > > ------------------------------ > > Message: 30 > Date: Tue, 26 Sep 2023 21:23:36 +0200 > From: "Yann E. MORIN" > To: Adam Duskett > Cc: Asaf Kahlon , Julien Olivain , > Thomas Petazzoni , > buildroot at buildroot.org, Michael Trimarchi > , Angelo Compagnucci > > Subject: Re: [Buildroot] [PATCH v9 7/7] > support/testing/tests/package/test_flutter.py: new runtime test > Message-ID: <20230926192336.GT1469982 at scaer> > Content-Type: text/plain; charset=utf-8 > > Adam, All, > > On 2023-09-23 10:35 +0200, Yann E. MORIN spake thusly: >> On 2023-09-19 14:42 -0600, Adam Duskett spake thusly: >>> This is a simple test that builds and runs the futter-gallery application and >>> checks if the service is active. >> This runtime test does not demonstrate a worlking flutter stack, because >> the application in fact does not work: > Note: as discussed on IRC: the above was a bit rough, sorry. > > I understand that you did manage to get a flutter stack working, and > this *is* impressive! > > What I meant is that this runtime test does not demonstrate that, > unfortunately. > > The CI/CD pipelines are running in containers that do not have access to > a GPU. Hence a runtime test that uses GPU passthrough as you initially > provided is not going to work. That is why I have been insistent on > doing a headless runtime test. > > We do already have working runtime tests for graphical packages, like > the weston test. What those tests do, is run the graphical application > to test, and check that the framebuffer changes (by comparing the CRC > provided by the kernel, as we don't care about what is rendered, just > that "something" is rendered). This is what I would have expected for > the flutter test too. > > [--SNIP--] >> So, a few things about this: >> - the real issues I'm most afraid of, are the one about mesa failing >> to load the proper drivers, > So I had a deeper look, and ran the weston test by hand (I had to fix it > while at it [0]), and noticed that weston whines about the exact same > drivers, yet works. So the issue about missing zynq and vkms is benign. > >> [snip] and/or that it can't create an EGL GBM >> surface; I think this is the real problem; > So, the remaining issue is that flutter-pi can't t create a GBM surface. > This is very very similar to an old upstream issue, which got fixed a > year ago: > > https://github.com/ardera/flutter-pi/issues/269 > https://github.com/ardera/flutter-pi/pull/270 > > However, upstream did a big overhaul of the code recently, and the fix > got lost in the rewrite. Here's what I now came up with (patch against > flutter-pi): > > From 856f9849763535d62ed01b538ba23905875c93f4 Mon Sep 17 00:00:00 2001 > From: "Yann E. MORIN" > Date: Tue, 26 Sep 2023 20:31:17 +0200 > Subject: [PATCH] src/egl_gbm_render_surface: properly fallback to surface with > no modifier > > In 869fa7fcfbeb, we added a fallback to be able to create an EGL sruface > when the driver do not support modifiers, like the llvmpipe software > renderer (or like some proprietary drivers, like the MALI ones), as > reported in #269 [0]. > > However, in c6537673c9b6, there was a big overhaul of renderer > infrastructure. That commit lost the with-modifiers code path and only > kept the without-modifiers fallback one (i.e. it only kept the call to > gbm_surface_create(), not to gbm_surface_create_with_modifiers()). > > Then in b0d09f5032a4, the with-modifiers code path was re-instated, but > in a way that made it exclusive with the without-modifiers one. That is, > the without-modifiers code path was not a fallback to when the other > failed. > > Re-instate the fallback mechanism as initially implemented. > > [0] https://github.com/ardera/flutter-pi/issues/269 > > Signed-off-by: Yann E. MORIN > --- > src/egl_gbm_render_surface.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/src/egl_gbm_render_surface.c b/src/egl_gbm_render_surface.c > index ce9e5e7..8a58667 100644 > --- a/src/egl_gbm_render_surface.c > +++ b/src/egl_gbm_render_surface.c > @@ -146,6 +146,7 @@ static int egl_gbm_render_surface_init( > } > #endif > > + gbm_surface = NULL; > if (allowed_modifiers != NULL) { > gbm_surface = gbm_surface_create_with_modifiers( > gbm_device, > @@ -158,9 +159,10 @@ static int egl_gbm_render_surface_init( > if (gbm_surface == NULL) { > ok = errno; > LOG_ERROR("Couldn't create GBM surface for rendering. gbm_surface_create_with_modifiers: %s\n", strerror(ok)); > - return ok; > + LOG_ERROR("Will retry without modifiers\n"); > } > - } else { > + } > + if (gbm_surface == NULL) { > gbm_surface = gbm_surface_create( > gbm_device, > size.x, > -- > 2.25.1 > > With this patch, the application no longer coredumps, and keeps running. > > As for the CRC of the framebuffer: without flutter-pi running, the value > is 0x4c4126bf. Starting the flutter application (and waiting quite a > bit), it suddenly changes to an arbitrary value! Stopping flutter-pi, > the CRC reverts to 0x4c4126bf. Starting again, new value! Note that it > can be like 10s or more before the CRC changes at application start. > > So, to me, that means the application is now running! I have no idea what > is supposed to be displayed, but something is being rendered, and that's > all that matters! > > Care to integrate that patch in your series, test in your actual setup, > see if it's possible to send it upstream, update the runtime test to > check on the CRC (instead of checkign the systemd unit status), and > respin the series, please? > > (I'm on the move the next few days, but I'll be able to dedicate time > during the WE). > >> - you're pointing the gallery app to /usr/share/flutter/gallery/release/ >> but therat does not exist (what should it contain, btw?). > (blark typoes of mine). I must have messed things with another test, > because /usr/share/flutter/gallery/release/ *is* populated as expected. > > [0] https://patchwork.ozlabs.org/project/buildroot/patch/20230926154703.160448-1-yann.morin.1998 at free.fr/ > > Regards, > Yann E. MORIN. > >> Can you look at that test, please? >> >> Regards, >> Yann E. MORIN. >> >>> Signed-off-by: Adam Duskett >>> --- >>> v8 -> v9: >>> - Changed to aarch64 to avoid problems with older versions of qemu. >>> - Added BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF >>> >>> DEVELOPERS | 1 + >>> support/testing/tests/package/test_flutter.py | 56 +++++++++++++++++++ >>> .../package/test_flutter/linux-vkms.fragment | 2 + >>> .../flutter-gallery.service | 1 + >>> .../systemd/system/flutter-gallery.service | 11 ++++ >>> 5 files changed, 71 insertions(+) >>> create mode 100644 support/testing/tests/package/test_flutter.py >>> create mode 100644 support/testing/tests/package/test_flutter/linux-vkms.fragment >>> create mode 120000 support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>> create mode 100644 support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>> >>> diff --git a/DEVELOPERS b/DEVELOPERS >>> index 48a4ec776a..f46d83679a 100644 >>> --- a/DEVELOPERS >>> +++ b/DEVELOPERS >>> @@ -37,6 +37,7 @@ F: package/flutter-engine/ >>> F: package/flutter-gallery/ >>> F: package/flutter-pi/ >>> F: package/flutter-sdk-bin/ >>> +F: support/testing/tests/package/test_flutter.py >>> >>> N: Adam Heinrich >>> F: package/jack1/ >>> diff --git a/support/testing/tests/package/test_flutter.py b/support/testing/tests/package/test_flutter.py >>> new file mode 100644 >>> index 0000000000..e17ed9f659 >>> --- /dev/null >>> +++ b/support/testing/tests/package/test_flutter.py >>> @@ -0,0 +1,56 @@ >>> +import os >>> +import time >>> +import infra.basetest >>> + >>> + >>> +class TestFlutter(infra.basetest.BRTest): >>> + config = f""" >>> + BR2_aarch64=y >>> + BR2_TOOLCHAIN_EXTERNAL=y >>> + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y >>> + BR2_ROOTFS_OVERLAY="{infra.filepath("tests/package/test_flutter/overlay")}" >>> + BR2_PER_PACKAGE_DIRECTORIES=y >>> + BR2_INIT_SYSTEMD=y >>> + BR2_LINUX_KERNEL=y >>> + BR2_LINUX_KERNEL_CUSTOM_VERSION=y >>> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.54" >>> + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y >>> + BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y >>> + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" >>> + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{infra.filepath("tests/package/test_flutter/linux-vkms.fragment")}" >>> + BR2_PACKAGE_LIBDRM=y >>> + BR2_PACKAGE_MESA3D=y >>> + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y >>> + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL=y >>> + BR2_PACKAGE_MESA3D_OPENGL_ES=y >>> + BR2_PACKAGE_FLUTTER_PI=y >>> + BR2_PACKAGE_FLUTTER_PI_RAW_KEYBOARD_PLUGIN=y >>> + BR2_PACKAGE_FLUTTER_PI_TEXT_INPUT_PLUGIN=y >>> + BR2_PACKAGE_FLUTTER_GALLERY=y >>> + BR2_PACKAGE_FLUTTER_ENGINE=y >>> + BR2_TARGET_ROOTFS_EXT2=y >>> + BR2_TARGET_ROOTFS_EXT2_4=y >>> + BR2_TARGET_ROOTFS_EXT2_SIZE="512M" >>> + # BR2_TARGET_ROOTFS_TAR is not set >>> + """ >>> + >>> + def test_run(self): >>> + timeout = 35 * self.emulator.timeout_multiplier >>> + img = os.path.join(self.builddir, "images", "rootfs.ext2") >>> + kern = os.path.join(self.builddir, "images", "Image") >>> + self.emulator.boot( >>> + arch="aarch64", >>> + kernel=kern, >>> + kernel_cmdline=["root=/dev/vda console=ttyAMA0"], >>> + options=["-M", "virt", >>> + "-cpu", "cortex-a57", >>> + "-m", "512M", >>> + "-smp", "4", >>> + "-vga", "std", >>> + "-vnc", "none", >>> + "-drive", f"file={img},if=virtio,format=raw"]) >>> + self.emulator.login() >>> + cmd = "systemctl is-active flutter-gallery" >>> + output, exit_code = self.emulator.run(cmd, 10) >>> + self.assertEqual(exit_code, 0) >>> + self.assertEqual(output[0], "active") >>> diff --git a/support/testing/tests/package/test_flutter/linux-vkms.fragment b/support/testing/tests/package/test_flutter/linux-vkms.fragment >>> new file mode 100644 >>> index 0000000000..3fc7a5dded >>> --- /dev/null >>> +++ b/support/testing/tests/package/test_flutter/linux-vkms.fragment >>> @@ -0,0 +1,2 @@ >>> +CONFIG_DEBUG_FS=y >>> +CONFIG_DRM_VKMS=y >>> diff --git a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>> new file mode 120000 >>> index 0000000000..40993fb16c >>> --- /dev/null >>> +++ b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>> @@ -0,0 +1 @@ >>> +../../../../usr/lib/systemd/system/flutter-gallery.service >>> \ No newline at end of file >>> diff --git a/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>> new file mode 100644 >>> index 0000000000..88a2bcbf0b >>> --- /dev/null >>> +++ b/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>> @@ -0,0 +1,11 @@ >>> +[Unit] >>> +Description=flutter-gallery daemon >>> +After=dbus.service systemd-udevd.service >>> + >>> +[Service] >>> +ExecStart=/usr/bin/flutter-pi --release /usr/share/flutter/gallery/release/ >>> +Restart=always >>> +KillMode=process >>> + >>> +[Install] >>> +WantedBy=multi-user.target >>> -- >>> 2.39.2 >>> >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot >> -- >> .-----------------.--------------------.------------------.--------------------. >> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | >> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | >> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | >> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | >> '------------------------------^-------^------------------^--------------------' >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' > > > ------------------------------ > > Message: 31 > Date: Tue, 26 Sep 2023 23:37:00 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] Update for > 2023.05.3 > Message-ID: <20230926214006.9067681D2A at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=70638523a704aca46313aba05b74783340b11b32 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Signed-off-by: Peter Korsgaard > --- > CHANGES | 29 +++++++++++++++++++++++++++++ > Makefile | 4 ++-- > support/misc/Vagrantfile | 2 +- > 3 files changed, 32 insertions(+), 3 deletions(-) > > diff --git a/CHANGES b/CHANGES > index fb52f9bd1a..bf9b57e21d 100644 > --- a/CHANGES > +++ b/CHANGES > @@ -1,3 +1,32 @@ > +2023.05.3, released September 26th, 2023 > + > + Important / security related fixes. > + > + Defconfigs: PC x86-64 bios/efi: Needs libelf. Raspberrypi: > + Also enable HDMI console when systemd is used. > + > + Updated/fixed packages: agentpp, asterisk, at91dataflashboot, > + aubio, berkeleydb, bind, bwm-ng, chocolate-doom, clamav, > + compiler-rt, connman, cpio, cups, dav1d, diffutils, dracut, > + dt, expect, fail2ban, fio, flite, freerdp, freeswitch, > + fstrcmp, gcc, gdb, ghostscript, gmp, go, grub2, haproxy, > + heirloom-mailx, hwloc, icu, intel-microcode, irssi, less, > + libcoap, libcurl, libglib2, libiec61850, libjxl, libks, > + libksba, libmodsecurity, libpjsip, libqb, libraw, libssh, > + libtommath, lldpd, log4cxx, lsof, mdadm, mosquitto, mpd, mpv, > + mutt, mv-ddr-marvell, ne10, netatalk, network-manager, > + nftables, nodejs, ntpsec, nut, openblas, openjdk, openjdk-bin, > + opensc, openssh, pcm-tools, perftest, petitboot, php, pixman, > + poppler, postgresql, python-django, python-ipython, > + python-pip, python-pylibfdt, python-tornado, python3, qt5, > + ramspeed, rtl8189fs, rtl8812au-aircrack-ng, samba4, screen, > + screenfetch, sngrep, sofia-sip, stellarium, stress-ng, > + strongswan, sysstat, tar, tcl, uboot, uclibc, vim, webkitgtk, > + webp, wireshark, xfsprogs, xserver_xorg-server, xterm, yajl, > + zbar, zxing-cpp > + > + New packages: xlib_libXpresent > + > 2023.05.2, released August 31th, 2023 > > Important / security related fixes. > diff --git a/Makefile b/Makefile > index 2ea0467fc9..eedf4ea296 100644 > --- a/Makefile > +++ b/Makefile > @@ -90,9 +90,9 @@ all: > .PHONY: all > > # Set and export the version string > -export BR2_VERSION := 2023.05.2 > +export BR2_VERSION := 2023.05.3 > # Actual time the release is cut (for reproducible builds) > -BR2_VERSION_EPOCH = 1693493000 > +BR2_VERSION_EPOCH = 1695764000 > > # Save running make version since it's clobbered by the make package > RUNNING_MAKE_VERSION := $(MAKE_VERSION) > diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile > index 75aae858b7..0b26583ea9 100644 > --- a/support/misc/Vagrantfile > +++ b/support/misc/Vagrantfile > @@ -5,7 +5,7 @@ > ################################################################################ > > # Buildroot version to use > -RELEASE='2023.05.2' > +RELEASE='2023.05.3' > > ### Change here for more memory/cores ### > VM_MEMORY=2048 > > > ------------------------------ > > Message: 32 > Date: Tue, 26 Sep 2023 13:55:57 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] Revert > "package/docker-cli: backport fix for host header check" > Message-ID: <20230926214006.7254E81A15 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=8515c0afcfa90b08a016966962d8db73b4303b50 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > This reverts commit ce1b80f27dc86d7b23aa221b7d1601dcd57e451e. > > With the bump to go 1.19.13, this workaround is no longer needed. > > Signed-off-by: Peter Korsgaard > --- > .checkpackageignore | 1 - > ...001-backport-fix-for-go-Host-header-check.patch | 127 --------------------- > 2 files changed, 128 deletions(-) > > diff --git a/.checkpackageignore b/.checkpackageignore > index 81fb9c2d8a..9ec76bc15f 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -354,7 +354,6 @@ package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch Upstream > package/dmraid/0001-fix-compilation-under-musl.patch Upstream > package/dmraid/S20dmraid Variables > package/dnsmasq/S80dnsmasq Shellcheck Variables > -package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch Upstream > package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch Upstream > package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch Upstream > package/docker-engine/S60dockerd Indent Shellcheck Variables > diff --git a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch b/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch > deleted file mode 100644 > index 2b58582538..0000000000 > --- a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch > +++ /dev/null > @@ -1,127 +0,0 @@ > -From 4dc783e2bdf414761ef7c209b435d0a30f17c858 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Sat, 15 Jul 2023 02:22:10 +0200 > -Subject: [PATCH] backport fix for go Host header check > - > -Go 1.20.6 and 1.19.11 include a security check of the http Host header: > - > - https://github.com/golang/go/issues/60374 > - > -docker-cli fails this check: > - > - $ docker exec -it ctr bash > - http: invalid Host header > - > -This is a backported patch to fix this issue. > - > -Issue: https://github.com/moby/moby/issues/45935 > -Upstream PR: https://github.com/moby/moby/pull/45942 > - > -The upstream PR has been merged and will be included in v24.0.5. > - > -Signed-off-by: Christian Stewart > -[Peter: drop vendor.mod/vendor.sum changes] > ---- > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the socket path as hostname, which gets rejected by > -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], > -which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > ---- > - .../github.com/docker/docker/client/client.go | 30 +++++++++++++++++ > - .../github.com/docker/docker/client/hijack.go | 6 +++- > - .../docker/docker/client/request.go | 10 +++--- > - 4 files changed, 72 insertions(+), 40 deletions(-) > - > -diff --git a/vendor/github.com/docker/docker/client/client.go b/vendor/github.com/docker/docker/client/client.go > -index 1c081a51ae..54fa36cca8 100644 > ---- a/vendor/github.com/docker/docker/client/client.go > -+++ b/vendor/github.com/docker/docker/client/client.go > -@@ -56,6 +56,36 @@ import ( > - "github.com/pkg/errors" > - ) > - > -+// DummyHost is a hostname used for local communication. > -+// > -+// It acts as a valid formatted hostname for local connections (such as "unix://" > -+// or "npipe://") which do not require a hostname. It should never be resolved, > -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] > -+// and [RFC 6761, Section 6.3]). > -+// > -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such > -+// cases: > -+// > -+// If the authority component is missing or undefined for the target URI, > -+// then a client MUST send a Host header field with an empty field-value. > -+// > -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not > -+// allow an empty header to be used, and requires req.URL.Scheme to be either > -+// "http" or "https". > -+// > -+// For further details, refer to: > -+// > -+// - https://github.com/docker/engine-api/issues/189 > -+// - https://github.com/golang/go/issues/13624 > -+// - https://github.com/golang/go/issues/61076 > -+// - https://github.com/moby/moby/issues/45935 > -+// > -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 > -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 > -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 > -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 > -+const DummyHost = "api.moby.localhost" > -+ > - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. > - var ErrRedirect = errors.New("unexpected redirect in response") > - > -diff --git a/vendor/github.com/docker/docker/client/hijack.go b/vendor/github.com/docker/docker/client/hijack.go > -index 6bdacab10a..4dcaaca4c5 100644 > ---- a/vendor/github.com/docker/docker/client/hijack.go > -+++ b/vendor/github.com/docker/docker/client/hijack.go > -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { > - } > - > - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { > -- req.Host = cli.addr > -+ req.URL.Host = cli.addr > -+ if cli.proto == "unix" || cli.proto == "npipe" { > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > -+ } > - req.Header.Set("Connection", "Upgrade") > - req.Header.Set("Upgrade", proto) > - > -diff --git a/vendor/github.com/docker/docker/client/request.go b/vendor/github.com/docker/docker/client/request.go > -index c799095c12..bcedcf3bd9 100644 > ---- a/vendor/github.com/docker/docker/client/request.go > -+++ b/vendor/github.com/docker/docker/client/request.go > -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea > - return nil, err > - } > - req = cli.addHeaders(req, headers) > -+ req.URL.Scheme = cli.scheme > -+ req.URL.Host = cli.addr > - > - if cli.proto == "unix" || cli.proto == "npipe" { > -- // For local communications, it doesn't matter what the host is. We just > -- // need a valid and meaningful host name. (See #189) > -- req.Host = "docker" > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > - } > - > -- req.URL.Host = cli.addr > -- req.URL.Scheme = cli.scheme > -- > - if expectedPayload && req.Header.Get("Content-Type") == "" { > - req.Header.Set("Content-Type", "text/plain") > - } > --- > -2.41.0 > - > > > ------------------------------ > > Message: 33 > Date: Tue, 26 Sep 2023 13:56:52 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] Revert > "package/docker-engine: backport fix for host header check" > Message-ID: <20230926214006.7E363805F4 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=763d1934598b581ebfdfa4039df3b2ce53ea0ca7 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > This reverts commit 0b608f0252f51b7d2f54219153976eac7e30669c. > > With the bump to go 1.19.13, this workaround is no longer needed. > > Signed-off-by: Peter Korsgaard > --- > .checkpackageignore | 2 - > ...ne-a-dummy-hostname-to-use-for-local-conn.patch | 174 --------------------- > ...-use-a-dummy-hostname-for-local-connectio.patch | 69 -------- > 3 files changed, 245 deletions(-) > > diff --git a/.checkpackageignore b/.checkpackageignore > index 9ec76bc15f..b627bda61d 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -354,8 +354,6 @@ package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch Upstream > package/dmraid/0001-fix-compilation-under-musl.patch Upstream > package/dmraid/S20dmraid Variables > package/dnsmasq/S80dnsmasq Shellcheck Variables > -package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch Upstream > -package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch Upstream > package/docker-engine/S60dockerd Indent Shellcheck Variables > package/docopt-cpp/0001-only-build-one-target-use-BUILD_SHARED_LIBS-where-appropriate.patch Upstream > package/domoticz/S99domoticz Shellcheck > diff --git a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch b/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch > deleted file mode 100644 > index c5f8d1eb71..0000000000 > --- a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch > +++ /dev/null > @@ -1,174 +0,0 @@ > -From 8ced4331e5e3a6760465a8ce2bd42c66d3232c96 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Wed, 12 Jul 2023 14:15:38 +0200 > -Subject: [PATCH] client: define a "dummy" hostname to use for local > - connections > - > -Go 1.20.6 and 1.19.11 include a security check of the http Host header: > - > - https://github.com/golang/go/issues/60374 > - > -This is a backported patch to fix this issue. > - > -Issue: https://github.com/moby/moby/issues/45935 > -Upstream PR: https://github.com/moby/moby/pull/45942 > - > -The upstream PR has been merged and will be included in v24.0.5. > - > -Signed-off-by: Christian Stewart > - > ---- > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the client's `addr` as hostname in some cases, which > -could contain the path for the unix-socket (`/var/run/docker.sock`), which > -gets rejected by go1.20.6 and go1.19.11 because of a security fix for > -[CVE-2023-29406 ][1], which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > - > -This patch introduces a `DummyHost` const, and uses this dummy host for > -cases where we don't need an actual hostname. > - > -Before this patch (using go1.20.6): > - > - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration > - === RUN TestAttachWithTTY > - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header > - --- FAIL: TestAttachWithTTY (0.11s) > - === RUN TestAttachWithoutTTy > - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header > - --- FAIL: TestAttachWithoutTTy (0.02s) > - FAIL > - > -With this patch applied: > - > - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration > - INFO: Testing against a local daemon > - === RUN TestAttachWithTTY > - --- PASS: TestAttachWithTTY (0.12s) > - === RUN TestAttachWithoutTTy > - --- PASS: TestAttachWithoutTTy (0.02s) > - PASS > - > -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx > - > -Signed-off-by: Sebastiaan van Stijn > -(cherry picked from commit 92975f0c11f0566cc3c36659f5e3bb9faf5cb176) > -Signed-off-by: Sebastiaan van Stijn > ---- > - client/client.go | 30 ++++++++++++++++++++++++++++++ > - client/hijack.go | 6 +++++- > - client/request.go | 10 ++++------ > - client/request_test.go | 4 ++-- > - 4 files changed, 41 insertions(+), 9 deletions(-) > - > -diff --git a/client/client.go b/client/client.go > -index 1c081a51ae..54fa36cca8 100644 > ---- a/client/client.go > -+++ b/client/client.go > -@@ -56,6 +56,36 @@ import ( > - "github.com/pkg/errors" > - ) > - > -+// DummyHost is a hostname used for local communication. > -+// > -+// It acts as a valid formatted hostname for local connections (such as "unix://" > -+// or "npipe://") which do not require a hostname. It should never be resolved, > -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] > -+// and [RFC 6761, Section 6.3]). > -+// > -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such > -+// cases: > -+// > -+// If the authority component is missing or undefined for the target URI, > -+// then a client MUST send a Host header field with an empty field-value. > -+// > -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not > -+// allow an empty header to be used, and requires req.URL.Scheme to be either > -+// "http" or "https". > -+// > -+// For further details, refer to: > -+// > -+// - https://github.com/docker/engine-api/issues/189 > -+// - https://github.com/golang/go/issues/13624 > -+// - https://github.com/golang/go/issues/61076 > -+// - https://github.com/moby/moby/issues/45935 > -+// > -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 > -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 > -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 > -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 > -+const DummyHost = "api.moby.localhost" > -+ > - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. > - var ErrRedirect = errors.New("unexpected redirect in response") > - > -diff --git a/client/hijack.go b/client/hijack.go > -index 6bdacab10a..4dcaaca4c5 100644 > ---- a/client/hijack.go > -+++ b/client/hijack.go > -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { > - } > - > - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { > -- req.Host = cli.addr > -+ req.URL.Host = cli.addr > -+ if cli.proto == "unix" || cli.proto == "npipe" { > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > -+ } > - req.Header.Set("Connection", "Upgrade") > - req.Header.Set("Upgrade", proto) > - > -diff --git a/client/request.go b/client/request.go > -index c799095c12..bcedcf3bd9 100644 > ---- a/client/request.go > -+++ b/client/request.go > -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea > - return nil, err > - } > - req = cli.addHeaders(req, headers) > -+ req.URL.Scheme = cli.scheme > -+ req.URL.Host = cli.addr > - > - if cli.proto == "unix" || cli.proto == "npipe" { > -- // For local communications, it doesn't matter what the host is. We just > -- // need a valid and meaningful host name. (See #189) > -- req.Host = "docker" > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > - } > - > -- req.URL.Host = cli.addr > -- req.URL.Scheme = cli.scheme > -- > - if expectedPayload && req.Header.Get("Content-Type") == "" { > - req.Header.Set("Content-Type", "text/plain") > - } > -diff --git a/client/request_test.go b/client/request_test.go > -index 6e5a6e81f2..50b09d954c 100644 > ---- a/client/request_test.go > -+++ b/client/request_test.go > -@@ -29,12 +29,12 @@ func TestSetHostHeader(t *testing.T) { > - }{ > - { > - "unix:///var/run/docker.sock", > -- "docker", > -+ DummyHost, > - "/var/run/docker.sock", > - }, > - { > - "npipe:////./pipe/docker_engine", > -- "docker", > -+ DummyHost, > - "//./pipe/docker_engine", > - }, > - { > --- > -2.41.0 > - > diff --git a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch b/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch > deleted file mode 100644 > index 5bd8682927..0000000000 > --- a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch > +++ /dev/null > @@ -1,69 +0,0 @@ > -From 09306e7eb3c26ade69ef1e4c99d5b1fd9c0b7364 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Wed, 12 Jul 2023 15:07:59 +0200 > -Subject: [PATCH] pkg/plugins: use a dummy hostname for local connections > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the socket path as hostname, which gets rejected by > -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], > -which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > - > -Before this patch, tests would fail on go1.20.6: > - > - === FAIL: pkg/authorization TestAuthZRequestPlugin (15.01s) > - time="2023-07-12T12:53:45Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 1s" > - time="2023-07-12T12:53:46Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 2s" > - time="2023-07-12T12:53:48Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 4s" > - time="2023-07-12T12:53:52Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 8s" > - authz_unix_test.go:82: Failed to authorize request Post "http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq": http: invalid Host header > - > -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx > - > -Signed-off-by: Sebastiaan van Stijn > -(cherry picked from commit 6b7705d5b29e226a24902a8dcc488836faaee33c) > -Signed-off-by: Sebastiaan van Stijn > ---- > - pkg/plugins/client.go | 14 ++++++++++++-- > - 1 file changed, 12 insertions(+), 2 deletions(-) > - > -diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go > -index 752fecd0ae..e683eb777d 100644 > ---- a/pkg/plugins/client.go > -+++ b/pkg/plugins/client.go > -@@ -18,6 +18,12 @@ import ( > - > - const ( > - defaultTimeOut = 30 > -+ > -+ // dummyHost is a hostname used for local communication. > -+ // > -+ // For local communications (npipe://, unix://), the hostname is not used, > -+ // but we need valid and meaningful hostname. > -+ dummyHost = "plugin.moby.localhost" > - ) > - > - func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transport, error) { > -@@ -44,8 +50,12 @@ func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transpor > - return nil, err > - } > - scheme := httpScheme(u) > -- > -- return transport.NewHTTPTransport(tr, scheme, socket), nil > -+ hostName := u.Host > -+ if hostName == "" || u.Scheme == "unix" || u.Scheme == "npipe" { > -+ // Override host header for non-tcp connections. > -+ hostName = dummyHost > -+ } > -+ return transport.NewHTTPTransport(tr, scheme, hostName), nil > - } > - > - // NewClient creates a new plugin client (http). > --- > -2.41.0 > - > > > ------------------------------ > > Message: 34 > Date: Tue, 26 Sep 2023 23:40:54 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] Revert > "package/docker-cli: backport fix for host header check" > Message-ID: <20230926214535.E846C81D55 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=4983ac79ff7da263392fb347b5b8f70bd8180c21 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > This reverts commit ce1b80f27dc86d7b23aa221b7d1601dcd57e451e. > > With the bump to go 1.19.13, this workaround is no longer needed. > > Signed-off-by: Peter Korsgaard > --- > ...001-backport-fix-for-go-Host-header-check.patch | 127 --------------------- > 1 file changed, 127 deletions(-) > > diff --git a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch b/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch > deleted file mode 100644 > index 2b58582538..0000000000 > --- a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch > +++ /dev/null > @@ -1,127 +0,0 @@ > -From 4dc783e2bdf414761ef7c209b435d0a30f17c858 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Sat, 15 Jul 2023 02:22:10 +0200 > -Subject: [PATCH] backport fix for go Host header check > - > -Go 1.20.6 and 1.19.11 include a security check of the http Host header: > - > - https://github.com/golang/go/issues/60374 > - > -docker-cli fails this check: > - > - $ docker exec -it ctr bash > - http: invalid Host header > - > -This is a backported patch to fix this issue. > - > -Issue: https://github.com/moby/moby/issues/45935 > -Upstream PR: https://github.com/moby/moby/pull/45942 > - > -The upstream PR has been merged and will be included in v24.0.5. > - > -Signed-off-by: Christian Stewart > -[Peter: drop vendor.mod/vendor.sum changes] > ---- > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the socket path as hostname, which gets rejected by > -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], > -which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > ---- > - .../github.com/docker/docker/client/client.go | 30 +++++++++++++++++ > - .../github.com/docker/docker/client/hijack.go | 6 +++- > - .../docker/docker/client/request.go | 10 +++--- > - 4 files changed, 72 insertions(+), 40 deletions(-) > - > -diff --git a/vendor/github.com/docker/docker/client/client.go b/vendor/github.com/docker/docker/client/client.go > -index 1c081a51ae..54fa36cca8 100644 > ---- a/vendor/github.com/docker/docker/client/client.go > -+++ b/vendor/github.com/docker/docker/client/client.go > -@@ -56,6 +56,36 @@ import ( > - "github.com/pkg/errors" > - ) > - > -+// DummyHost is a hostname used for local communication. > -+// > -+// It acts as a valid formatted hostname for local connections (such as "unix://" > -+// or "npipe://") which do not require a hostname. It should never be resolved, > -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] > -+// and [RFC 6761, Section 6.3]). > -+// > -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such > -+// cases: > -+// > -+// If the authority component is missing or undefined for the target URI, > -+// then a client MUST send a Host header field with an empty field-value. > -+// > -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not > -+// allow an empty header to be used, and requires req.URL.Scheme to be either > -+// "http" or "https". > -+// > -+// For further details, refer to: > -+// > -+// - https://github.com/docker/engine-api/issues/189 > -+// - https://github.com/golang/go/issues/13624 > -+// - https://github.com/golang/go/issues/61076 > -+// - https://github.com/moby/moby/issues/45935 > -+// > -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 > -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 > -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 > -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 > -+const DummyHost = "api.moby.localhost" > -+ > - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. > - var ErrRedirect = errors.New("unexpected redirect in response") > - > -diff --git a/vendor/github.com/docker/docker/client/hijack.go b/vendor/github.com/docker/docker/client/hijack.go > -index 6bdacab10a..4dcaaca4c5 100644 > ---- a/vendor/github.com/docker/docker/client/hijack.go > -+++ b/vendor/github.com/docker/docker/client/hijack.go > -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { > - } > - > - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { > -- req.Host = cli.addr > -+ req.URL.Host = cli.addr > -+ if cli.proto == "unix" || cli.proto == "npipe" { > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > -+ } > - req.Header.Set("Connection", "Upgrade") > - req.Header.Set("Upgrade", proto) > - > -diff --git a/vendor/github.com/docker/docker/client/request.go b/vendor/github.com/docker/docker/client/request.go > -index c799095c12..bcedcf3bd9 100644 > ---- a/vendor/github.com/docker/docker/client/request.go > -+++ b/vendor/github.com/docker/docker/client/request.go > -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea > - return nil, err > - } > - req = cli.addHeaders(req, headers) > -+ req.URL.Scheme = cli.scheme > -+ req.URL.Host = cli.addr > - > - if cli.proto == "unix" || cli.proto == "npipe" { > -- // For local communications, it doesn't matter what the host is. We just > -- // need a valid and meaningful host name. (See #189) > -- req.Host = "docker" > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > - } > - > -- req.URL.Host = cli.addr > -- req.URL.Scheme = cli.scheme > -- > - if expectedPayload && req.Header.Get("Content-Type") == "" { > - req.Header.Set("Content-Type", "text/plain") > - } > --- > -2.41.0 > - > > > ------------------------------ > > Message: 35 > Date: Tue, 26 Sep 2023 23:41:11 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] Revert > "package/docker-engine: backport fix for host header check" > Message-ID: <20230926214536.00A9C81D5C at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=a0a7113ae8d7efd7455e361d320d5d8b60bb9b02 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > This reverts commit 0b608f0252f51b7d2f54219153976eac7e30669c. > > With the bump to go 1.19.13, this workaround is no longer needed. > > Signed-off-by: Peter Korsgaard > --- > ...ne-a-dummy-hostname-to-use-for-local-conn.patch | 174 --------------------- > ...-use-a-dummy-hostname-for-local-connectio.patch | 69 -------- > 2 files changed, 243 deletions(-) > > diff --git a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch b/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch > deleted file mode 100644 > index c5f8d1eb71..0000000000 > --- a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch > +++ /dev/null > @@ -1,174 +0,0 @@ > -From 8ced4331e5e3a6760465a8ce2bd42c66d3232c96 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Wed, 12 Jul 2023 14:15:38 +0200 > -Subject: [PATCH] client: define a "dummy" hostname to use for local > - connections > - > -Go 1.20.6 and 1.19.11 include a security check of the http Host header: > - > - https://github.com/golang/go/issues/60374 > - > -This is a backported patch to fix this issue. > - > -Issue: https://github.com/moby/moby/issues/45935 > -Upstream PR: https://github.com/moby/moby/pull/45942 > - > -The upstream PR has been merged and will be included in v24.0.5. > - > -Signed-off-by: Christian Stewart > - > ---- > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the client's `addr` as hostname in some cases, which > -could contain the path for the unix-socket (`/var/run/docker.sock`), which > -gets rejected by go1.20.6 and go1.19.11 because of a security fix for > -[CVE-2023-29406 ][1], which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > - > -This patch introduces a `DummyHost` const, and uses this dummy host for > -cases where we don't need an actual hostname. > - > -Before this patch (using go1.20.6): > - > - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration > - === RUN TestAttachWithTTY > - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header > - --- FAIL: TestAttachWithTTY (0.11s) > - === RUN TestAttachWithoutTTy > - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header > - --- FAIL: TestAttachWithoutTTy (0.02s) > - FAIL > - > -With this patch applied: > - > - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration > - INFO: Testing against a local daemon > - === RUN TestAttachWithTTY > - --- PASS: TestAttachWithTTY (0.12s) > - === RUN TestAttachWithoutTTy > - --- PASS: TestAttachWithoutTTy (0.02s) > - PASS > - > -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx > - > -Signed-off-by: Sebastiaan van Stijn > -(cherry picked from commit 92975f0c11f0566cc3c36659f5e3bb9faf5cb176) > -Signed-off-by: Sebastiaan van Stijn > ---- > - client/client.go | 30 ++++++++++++++++++++++++++++++ > - client/hijack.go | 6 +++++- > - client/request.go | 10 ++++------ > - client/request_test.go | 4 ++-- > - 4 files changed, 41 insertions(+), 9 deletions(-) > - > -diff --git a/client/client.go b/client/client.go > -index 1c081a51ae..54fa36cca8 100644 > ---- a/client/client.go > -+++ b/client/client.go > -@@ -56,6 +56,36 @@ import ( > - "github.com/pkg/errors" > - ) > - > -+// DummyHost is a hostname used for local communication. > -+// > -+// It acts as a valid formatted hostname for local connections (such as "unix://" > -+// or "npipe://") which do not require a hostname. It should never be resolved, > -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] > -+// and [RFC 6761, Section 6.3]). > -+// > -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such > -+// cases: > -+// > -+// If the authority component is missing or undefined for the target URI, > -+// then a client MUST send a Host header field with an empty field-value. > -+// > -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not > -+// allow an empty header to be used, and requires req.URL.Scheme to be either > -+// "http" or "https". > -+// > -+// For further details, refer to: > -+// > -+// - https://github.com/docker/engine-api/issues/189 > -+// - https://github.com/golang/go/issues/13624 > -+// - https://github.com/golang/go/issues/61076 > -+// - https://github.com/moby/moby/issues/45935 > -+// > -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 > -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 > -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 > -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 > -+const DummyHost = "api.moby.localhost" > -+ > - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. > - var ErrRedirect = errors.New("unexpected redirect in response") > - > -diff --git a/client/hijack.go b/client/hijack.go > -index 6bdacab10a..4dcaaca4c5 100644 > ---- a/client/hijack.go > -+++ b/client/hijack.go > -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { > - } > - > - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { > -- req.Host = cli.addr > -+ req.URL.Host = cli.addr > -+ if cli.proto == "unix" || cli.proto == "npipe" { > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > -+ } > - req.Header.Set("Connection", "Upgrade") > - req.Header.Set("Upgrade", proto) > - > -diff --git a/client/request.go b/client/request.go > -index c799095c12..bcedcf3bd9 100644 > ---- a/client/request.go > -+++ b/client/request.go > -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea > - return nil, err > - } > - req = cli.addHeaders(req, headers) > -+ req.URL.Scheme = cli.scheme > -+ req.URL.Host = cli.addr > - > - if cli.proto == "unix" || cli.proto == "npipe" { > -- // For local communications, it doesn't matter what the host is. We just > -- // need a valid and meaningful host name. (See #189) > -- req.Host = "docker" > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > - } > - > -- req.URL.Host = cli.addr > -- req.URL.Scheme = cli.scheme > -- > - if expectedPayload && req.Header.Get("Content-Type") == "" { > - req.Header.Set("Content-Type", "text/plain") > - } > -diff --git a/client/request_test.go b/client/request_test.go > -index 6e5a6e81f2..50b09d954c 100644 > ---- a/client/request_test.go > -+++ b/client/request_test.go > -@@ -29,12 +29,12 @@ func TestSetHostHeader(t *testing.T) { > - }{ > - { > - "unix:///var/run/docker.sock", > -- "docker", > -+ DummyHost, > - "/var/run/docker.sock", > - }, > - { > - "npipe:////./pipe/docker_engine", > -- "docker", > -+ DummyHost, > - "//./pipe/docker_engine", > - }, > - { > --- > -2.41.0 > - > diff --git a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch b/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch > deleted file mode 100644 > index 5bd8682927..0000000000 > --- a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch > +++ /dev/null > @@ -1,69 +0,0 @@ > -From 09306e7eb3c26ade69ef1e4c99d5b1fd9c0b7364 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Wed, 12 Jul 2023 15:07:59 +0200 > -Subject: [PATCH] pkg/plugins: use a dummy hostname for local connections > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the socket path as hostname, which gets rejected by > -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], > -which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > - > -Before this patch, tests would fail on go1.20.6: > - > - === FAIL: pkg/authorization TestAuthZRequestPlugin (15.01s) > - time="2023-07-12T12:53:45Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 1s" > - time="2023-07-12T12:53:46Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 2s" > - time="2023-07-12T12:53:48Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 4s" > - time="2023-07-12T12:53:52Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 8s" > - authz_unix_test.go:82: Failed to authorize request Post "http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq": http: invalid Host header > - > -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx > - > -Signed-off-by: Sebastiaan van Stijn > -(cherry picked from commit 6b7705d5b29e226a24902a8dcc488836faaee33c) > -Signed-off-by: Sebastiaan van Stijn > ---- > - pkg/plugins/client.go | 14 ++++++++++++-- > - 1 file changed, 12 insertions(+), 2 deletions(-) > - > -diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go > -index 752fecd0ae..e683eb777d 100644 > ---- a/pkg/plugins/client.go > -+++ b/pkg/plugins/client.go > -@@ -18,6 +18,12 @@ import ( > - > - const ( > - defaultTimeOut = 30 > -+ > -+ // dummyHost is a hostname used for local communication. > -+ // > -+ // For local communications (npipe://, unix://), the hostname is not used, > -+ // but we need valid and meaningful hostname. > -+ dummyHost = "plugin.moby.localhost" > - ) > - > - func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transport, error) { > -@@ -44,8 +50,12 @@ func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transpor > - return nil, err > - } > - scheme := httpScheme(u) > -- > -- return transport.NewHTTPTransport(tr, scheme, socket), nil > -+ hostName := u.Host > -+ if hostName == "" || u.Scheme == "unix" || u.Scheme == "npipe" { > -+ // Override host header for non-tcp connections. > -+ hostName = dummyHost > -+ } > -+ return transport.NewHTTPTransport(tr, scheme, hostName), nil > - } > - > - // NewClient creates a new plugin client (http). > --- > -2.41.0 > - > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > > > ------------------------------ > > End of buildroot Digest, Vol 207, Issue 55 > ****************************************** -- Thanks, Nayab From peter at korsgaard.com Fri Oct 6 08:12:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 10:12:04 +0200 Subject: [Buildroot] [PATCH-2023.02.x] package/{glibc, localedef}: security bump to version glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c Message-ID: <20231006081205.1793625-1-peter@korsgaard.com> CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index 1a66b66984..dcff16d465 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 a4351e60a33e84236c1866c39eeab321f419dfdc274411b7d2615c9382ace351 glibc-2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d.tar.gz +sha256 d7d829f90f03e00d42d7d34ff7e972a59b14e2b70fa2e852893018349aafa5f7 glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 42de53ffc5..a3a84e86ec 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d +GLIBC_VERSION = 2.36-118-g22955ad85186ee05834e47e665056148ca07699c # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index e71424490b..51d3ddc932 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d +LOCALEDEF_VERSION = 2.36-118-g22955ad85186ee05834e47e665056148ca07699c LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc -- 2.30.2 From peter at korsgaard.com Fri Oct 6 09:37:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 11:37:25 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.2 Message-ID: <20231006093726.1931681-1-peter@korsgaard.com> Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.21.2 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the runtime/metrics package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index be8af438b3..a2ec6b5923 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99 go1.21.1.src.tar.gz +sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 6f080be5c0..2c32e90817 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.1 +GO_VERSION = 1.21.2 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz -- 2.30.2 From peter at korsgaard.com Fri Oct 6 09:51:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 11:51:42 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/go: security bump to version 1.20.9 Message-ID: <20231006095142.2051641-1-peter@korsgaard.com> Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the go command and the linker. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 19405982ba..ac603e6e3b 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e go1.20.8.src.tar.gz +sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index c1e9f2f8f6..d75c1afa9e 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.8 +GO_VERSION = 1.20.9 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz -- 2.30.2 From aduskett at gmail.com Fri Oct 6 11:11:23 2023 From: aduskett at gmail.com (Adam Duskett) Date: Fri, 6 Oct 2023 13:11:23 +0200 Subject: [Buildroot] [PATCH 2/2 v2] suport/runtime-test: extend flutter test to check rendering is happening In-Reply-To: <33ee4b08c20f9c4566cfe82c648f01599cab70b5.1696522656.git.yann.morin.1998@free.fr> References: <33ee4b08c20f9c4566cfe82c648f01599cab70b5.1696522656.git.yann.morin.1998@free.fr> Message-ID: Looks good to me! Reviewed-by: Adam Duskett On Thu, Oct 5, 2023 at 6:17?PM Yann E. MORIN wrote: > Commit 7f0af11cee31 (support/testing/tests/package/test_flutter.py: new > runtime test) added a simple test that just checked that the systemd > unit launching the application, was active. > > It is perfectly possible, from a systemd perspective, that the unit is > active, while the application actually crashes. > > Instead, what we need to check, is that the application does actually > render "something"; we don't really care what, as long as we know it is > actually rendering, thus the graphical stack is working and the > aplication stack is running. > > Extend the flutter runtime test to also check that the framebuffer is > modified by the application when it is running, similarly to what we do > in the weston test. > > We drop the activation of the unit and start it manually, as we want to > check the state of the CRC before, while, and after the application > runs. > > We also need to disable the blinking cursor on the console, or we would > not be able to detect whether a change in CRC is due to the application > starting rendering, or to the cursor blinking. We tell the kernel to > disable the cursor with the appropriate kernel command line parameter. > > Signed-off-by: Yann E. MORIN > Cc: Adam Duskett > > --- > Changes v1 -> v2: > - don't mistake blinking cursor for application start (Adam) > - properly terminate application (Adam) > --- > support/testing/tests/package/test_flutter.py | 35 +++++++++++++++---- > .../flutter-gallery.service | 1 - > 2 files changed, 29 insertions(+), 7 deletions(-) > delete mode 120000 > support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service > > diff --git a/support/testing/tests/package/test_flutter.py > b/support/testing/tests/package/test_flutter.py > index a3e98a43e5..515c95409f 100644 > --- a/support/testing/tests/package/test_flutter.py > +++ b/support/testing/tests/package/test_flutter.py > @@ -1,8 +1,11 @@ > import os > +import time > import infra.basetest > > +from ..graphics_base import GraphicsBase > > -class TestFlutter(infra.basetest.BRTest): > + > +class TestFlutter(infra.basetest.BRTest, GraphicsBase): > config = f""" > BR2_aarch64=y > BR2_TOOLCHAIN_EXTERNAL=y > @@ -39,7 +42,7 @@ class TestFlutter(infra.basetest.BRTest): > self.emulator.boot( > arch="aarch64", > kernel=kern, > - kernel_cmdline=["root=/dev/vda console=ttyAMA0"], > + kernel_cmdline=["root=/dev/vda console=ttyAMA0 > vt.global_cursor_default=0"], > options=["-M", "virt", > "-cpu", "cortex-a57", > "-m", "512M", > @@ -48,7 +51,27 @@ class TestFlutter(infra.basetest.BRTest): > "-vnc", "none", > "-drive", f"file={img},if=virtio,format=raw"]) > self.emulator.login() > - cmd = "systemctl is-active flutter-gallery" > - output, exit_code = self.emulator.run(cmd, 10) > - self.assertEqual(exit_code, 0) > - self.assertEqual(output[0], "active") > + > + # Get the CRC from the current ramebuffer > + empty_crc = self.get_n_fb_crc(count=1)[0] > + > + # Start the gallery App. It can take a bit of time to start, > + # so lets try a few times. 600 samples should cover about 10s > + # @60Hz (although, the rendering could be much slower on slow > + # machines) > + self.assertRunOk("systemctl start flutter-gallery", timeout=10) > + for i in range(600): > + gallery_crc = self.get_n_fb_crc(count=1)[0] > + if gallery_crc != empty_crc: > + break > + time.sleep(1) > + self.assertNotEqual(gallery_crc, empty_crc, "gallery app did not > render anything on screen") > + > + # Stop the application, and check it restored the framebuffer > content > + self.assertRunOk("systemctl stop flutter-gallery", timeout=10) > + for i in range(600): > + gallery_crc = self.get_n_fb_crc(count=1)[0] > + if gallery_crc == empty_crc: > + break > + time.sleep(1) > + self.assertEqual(gallery_crc, empty_crc, "gallery app did not > stop rendering") > diff --git > a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service > b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service > deleted file mode 120000 > index 40993fb16c..0000000000 > --- > a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service > +++ /dev/null > @@ -1 +0,0 @@ > -../../../../usr/lib/systemd/system/flutter-gallery.service > \ No newline at end of file > -- > 2.25.1 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcus.folkesson at gmail.com Fri Oct 6 11:46:09 2023 From: marcus.folkesson at gmail.com (Marcus Folkesson) Date: Fri, 6 Oct 2023 13:46:09 +0200 Subject: [Buildroot] [PATCH v3] package/criu: new package In-Reply-To: <20230918084825.786715-1-marcus.folkesson@gmail.com> References: <20230918084825.786715-1-marcus.folkesson@gmail.com> Message-ID: Julien, do you have the posibility to run test-pkg on this patch? I still get wierd errors (related to host-libzlib (?) ) for the bootlin-armv7-glibc toolchain. bootlin-x86-64-musl is 'OK' though. Thanks, Marcus -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From Nayabbasha.Sayed at microchip.com Fri Oct 6 12:50:50 2023 From: Nayabbasha.Sayed at microchip.com (Nayabbasha.Sayed at microchip.com) Date: Fri, 6 Oct 2023 12:50:50 +0000 Subject: [Buildroot] package: nodejs: system hangs while building In-Reply-To: References: Message-ID: <43efa36e-72a1-0edb-6808-b3864fad2c03@microchip.com> On 06/10/23 11:56, buildroot-request at buildroot.org wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > Send buildroot mailing list submissions to > buildroot at buildroot.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.buildroot.org/mailman/listinfo/buildroot > or, via email, send a message with subject or body 'help' to > buildroot-request at buildroot.org > > You can reach the person managing the list at > buildroot-owner at buildroot.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of buildroot digest..." > > > Today's Topics: > > 1. Re: [PATCH 2/2] package/skeleton-init-systemd: flexible > reinstalls (Arnout Vandecappelle) > 2. [autobuild.buildroot.net] Daily results for 2023-10-05 > (Thomas Petazzoni) > 3. [PATCH-2023.08.x] package/{glibc, localedef}: security bump > to version > glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 > (Peter Korsgaard) > 4. Re: buildroot Digest, Vol 207, Issue 55 > (Nayabbasha.Sayed at microchip.com) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 5 Oct 2023 22:07:01 +0200 > From: Arnout Vandecappelle > To: "Yann E. MORIN" , James Knight > > Cc: buildroot at buildroot.org > Subject: Re: [Buildroot] [PATCH 2/2] package/skeleton-init-systemd: > flexible reinstalls > Message-ID: > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > On 01/10/2023 18:05, Yann E. MORIN wrote: >> James, All, >> >> On 2023-05-05 00:30 -0400, James Knight spake thusly: >>> The following commit tweaks the `skeleton-init-systemd` package to >>> gracefully handle if a user invokes a reinstall for the package (e.g. >>> when performing development tweaks to the initial skeleton). >>> >>> Signed-off-by: James Knight >>> --- >>> Only a suggestion; feel free to drop. >> I've spent a bit of time on this, and was about to apply... >> >> However, there are a few "issues" I noticed with it, mostly that >> /etc/fstab should not be used with systemd, but mount units should be > Really? The mount unit man page [1] says: > > "In general, configuring mount points through /etc/fstab is the preferred > approach to manage mounts for humans. For tooling, writing mount units should be > preferred over editing /etc/fstab." > > I'm not sure if the skeleton counts as tooling or as a human. Hm, probably > tooling, indeed. > > >> used, and so /etc/fstab should only contain this one line, so it does > Well, no, if we say that the skeleton is tooling, it shouldn't contain that > line at all; instead, there should be a mount unit to remount rw (and no mount > unit at all for ro). > >> not make much sense to have it "reinstallable". > [snip] >>> diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk >>> index 4076821c0c0429cf90681f4b16be114c44bde282..18ae91f2eea30277805ee82791c62d53f24dca1e 100644 >>> --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk >>> +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk >>> @@ -18,13 +18,23 @@ SKELETON_INIT_SYSTEMD_PROVIDES = skeleton >>> ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) >>> >>> define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW >>> - echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab > The original here _was_ already "reinstallable" because it just overwrites > fstab. If there is any other package that writes fstab, it's wrong anyway. > Unless it's done in the overlay or post-build-script, but the overlay/script > anyway still gets applied after rebuild. > >>> + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ >>> + echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab; \ >>> + else \ >>> + sed -i "s|/dev/root.*|/dev/root / auto rw 0 1|g" \ >>> + $(TARGET_DIR)/etc/fstab; \ >>> + fi >>> endef >>> >>> else >>> >>> define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW >>> - echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab >>> + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ >>> + echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab; \ >>> + else \ >>> + sed -i "s|/dev/root.*|/dev/root / auto ro 0 1|g" \ >>> + $(TARGET_DIR)/etc/fstab; \ >>> + fi >>> endef >>> >>> # On a R/O rootfs, /var is a tmpfs filesystem. So, at build time, we >>> @@ -78,9 +88,9 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS >>> mkdir -p $(TARGET_DIR)/home >>> mkdir -p $(TARGET_DIR)/srv >>> mkdir -p $(TARGET_DIR)/var >>> - ln -s ../run $(TARGET_DIR)/var/run >>> + ln -sf ../run $(TARGET_DIR)/var/run > IMHO this part is simply a good idea. > > Regards, > Arnout > > [1] https://www.freedesktop.org/software/systemd/man/systemd.mount.html > > > >>> # prevent install scripts to create var/lock as directory >>> - ln -s ../run/lock $(TARGET_DIR)/var/lock >>> + ln -sf ../run/lock $(TARGET_DIR)/var/lock >>> install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf >>> $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) >>> endef >>> -- >>> 2.40.1.windows.1 >>> >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot > > ------------------------------ > > Message: 2 > Date: Fri, 06 Oct 2023 05:43:37 -0000 > From: Thomas Petazzoni > To: buildroot at buildroot.org > Subject: [Buildroot] [autobuild.buildroot.net] Daily results for > 2023-10-05 > Message-ID: <20231006054342.C135D834DE at smtp1.osuosl.org> > Content-Type: text/plain; charset="us-ascii" > > Hello, > > Autobuild statistics for 2023-10-05 > =================================== > > branch | OK | NOK | TIM | TOT | > 2023.02.x | 17 | 10 | 1 | 28 | > 2023.08.x | 15 | 10 | 0 | 25 | > master | 81 | 137 | 0 | 218 | > > Classification of failures by reason for master > ----------------------------------------------- > > openrc-0.43.3 | 18 > alsa-lib-1.2.10 | 11 > alsa-utils-1.2.10 | 10 > unknown | 9 > gcc-final-12.3.0 | 8 > gcc-final-11.4.0 | 5 > libselinux-3.5 | 4 > linux-6.5.5 | 4 > monit-5.33.0 | 4 > spirv-tools-1.3.261.1 | 4 > glibc-2.38-13-g92201f16cbcf... | 3 > gobject-introspection-1.76.1 | 3 > brltty-6.5 | 2 > check-11970a7e112dfe243a2e6... | 2 > coreutils-9.3 | 2 > gcc-final-13.2.0 | 2 > host-go-1.21.1 | 2 > host-rust-1.71.1 | 2 > libarchive-3.7.2 | 2 > openblas-0.3.24 | 2 > acpid-2.0.34 | 1 > boost-1.83.0 | 1 > cryptodev-linux-1.13 | 1 > dhcp-4.4.3-P1 | 1 > efivar-38 | 1 > freeswitch-1.10.10 | 1 > google-breakpad-c85eb4a59b6... | 1 > host-erlang-26.0.2 | 1 > host-gcc-final-13.2.0 | 1 > host-moby-buildkit-0.11.6 | 1 > host-sentry-cli-2.20.3 | 1 > iw-5.19 | 1 > libcamera-v0.1.0 | 1 > libsoup-2.74.2 | 1 > lightning-2.2.2 | 1 > linux-5.10.162-cip24 | 1 > linux-pam-1.5.3 | 1 > ltp-testsuite-20230929 | 1 > madplay-0.15.2b | 1 > mariadb-10.11.4 | 1 > memcached-1.6.21 | 1 > nfs-utils-2.6.3 | 1 > pistache-3ec9d7c4f8b828fdd3... | 1 > pppd-2.5.0 | 1 > python-sip-4.19.25 | 1 > python3-3.11.5 | 1 > quickjs-2021-03-27 | 1 > rwmem-c8291705c82bb0686be9a... | 1 > spirv-headers-1.3.261.1 | 1 > systemd-254 | 1 > tbb-2021.10.0 | 1 > uclibc-1.0.44 | 1 > uhd-4.3.0.0 | 1 > usbguard-1.1.2 | 1 > util-linux-2.39.2 | 1 > wolfssl-5.6.3 | 1 > xenomai-3.0.10 | 1 > xvisor-0.3.2 | 1 > > > Detail of failures for master > ----------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > mips64el | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/cc7f40fd78850b267786a7aa41b3be75966b5085 | ORPH > m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/83d079d4d88dff9bff4dc28b1642c13e04ce42c6 | > arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/577e22668cbb88ea6ffa9c6136f9767e19af160d | > powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/66f59aef666a32a61491f037eb90369357da1de1 | > aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a3ee4298ef4a34c71cb631d3356f8087c3d3996c | > arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5cf125e57e55aa854b601c38a1f962f4e8c59183 | > powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1ad4b9833379873d4c4cc1654c3cf6a1b3298be2 | > arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5565e7aaa497c0ce038a09a853fb45884203a4ff | > armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/c575952edd06384db23319db578d2923d128a94c | > x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/294f07cfcfecc5c28bc04f4a00fb4d9b0d26aa17 | > powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/4b5fbf360d08c58d21cc906d983ec0160f183d40 | > aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bb90548400cc15fb8bcab2803ef93c989e1f1fb0 | > i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6947cd4833934d94cb068b3cd121bd4b47b3c0e0 | > aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/21e69c542cd6e7c2869a7d594127eb59d1b15b2c | > arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7c7433043b3df5db57ceffafeae6df5d02caaf13 | > aarch64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/dd1f552d89996dcae2bbf3feadfa0dabdb0ad85f | > microblaze | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a6b0dd476fb2eb68485e698c80eb85f122c0a19 | > xtensa | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/bbcf557a99fb28619034c85daa0d07b5306fa9a9 | > or1k | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/84c134a66a8a3734ea66e9608b202c6b2a86696c | > mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f1adf1ff2f1c91ccfcd80f330b9656f75cf0810a | > mipsel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f0910e8d719d2f47ab5c9b570b843b1fb2572ac2 | > powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/48c9140b7365c1270c87bcc3fee443153b112c3b | > arm | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/c755ad05edd1597d1d4623652062da8a69492b06 | > m68k | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/fb6c7cd4166c0970cefde93fc5bff185f67f41fb | > mips64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/f8218a8425f7e6910cb17f289a13936097a16452 | > microblazeel | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/183bbcbf6aa5de2b53939391a635c7089cef6054 | ORPH > arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/3bcec7cad5236f4b8831cfeec44bd033b1dfbcb3 | ORPH > arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/cfe6774566d3edc4430d6f41e3b4f4f20baaa7fa | ORPH > arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/7bdbee9a01262577b34596b60f082962c42c86a0 | ORPH > i686 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/c3e071938028cea5810aee8ce1a8bdaf6555ce83 | ORPH > aarch64 | dhcp-4.4.3-P1 | NOK | http://autobuild.buildroot.net/results/962c74b043d5e7a0dbccdee0d69cf76a5a8792aa | ORPH > i686 | efivar-38 | NOK | http://autobuild.buildroot.net/results/e899ac69bd0e4bce833997a8b827c812bcfa87b2 | > or1k | freeswitch-1.10.10 | NOK | http://autobuild.buildroot.net/results/178da0d217d6137867c59ac4fa0e037d4fabf158 | > arm | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/b9ac0347d3b37ecae04d17cfb96f36938606be57 | > riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/0bfc402d1724347b1b9df31e7bce4c741a768317 | > aarch64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/7cd15d9e1d443010206523a45c1105f4d1e9cef8 | > riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/8b61ad5c8e88f0f33e5122d35dac8dad5caf5951 | > xtensa | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/e202b266d874464ffa0ff6e7bba134c750c0ffa1 | > riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f219fab61e20a0ef959c143922281e533523f449 | > armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6ebbc6d1efe2ebaae7fb1bb9f41524f037f7560d | > riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f79259d51469c443c9e65a32e91d764433668038 | > riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7a9d43359947c11c5fe6446395f7c9a7550d807c | > armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fd68f4fb6231d709d4fc181b48378bf7f2c265fb | > m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/68c338735fadaa2ef879eb401eab0b68d2889857 | > riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/770921bdbaa95c2dfa5aa43698b376e826b68fbb | > aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/654e8580a4183125b2b939105a6639f2953a2ea7 | > arm | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/095552ea3a636d41de4df21b0b8c11dd19b4b590 | > riscv64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/394f271393ccbe31ef6b35f102f14c1308be8efc | > powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/c168b6063c7e718a4946091c63bb111cac229c3a | > arc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/a676160da51e5c2f55ffd510fd95869352af7f85 | > powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/180b1e1e6310682b8a43c2efaca0cfe44405dd42 | > or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/79d2434679cbc18c3565f255b813e4e4008db030 | ORPH > m68k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8085e3558acfb0cabcf1aaea9aea26c83232aa34 | ORPH > sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/fc1b3a9c491214fc34e136d8a3bbdc8ccff69bac | ORPH > x86_64 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/308627cb1841783fb27ae3ebdf90899ab3d3a392 | > mipsel | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/530d3587be84d4e55e09cd6be0f75b89b3f3c504 | > arceb | host-gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/7b7c75cbe5bfc7f39322cc814e776190ed9f6166 | > mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/494d11d1fafecf927e7da79959b10b31eac57950 | > mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/1399c1204c821eec54a0d1e2500007c8e621d237 | > arm | host-moby-buildkit-0.11.6 | NOK | http://autobuild.buildroot.net/results/4cf0c18ab96ca125490add9dd4406d66b6c4bc54 | > mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/d92a22e8cdc45bf1bc14e95816a6f363b5f44e21 | > armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e299dac9967a176053ea7389c6384ad34f4dd4eb | > powerpc64 | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/ceb60c673db986d537434645bd49bb966adc9a1b | > arm | iw-5.19 | NOK | http://autobuild.buildroot.net/results/30dc81bb4021c32de9f8ed8dee0f86cff508f080 | ORPH > s390x | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/473632627e1e05a1b0a5ec12f57d99f6d9c2482b | > nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/ff0a7394e293b0446f32fb400b8baa79eee03c50 | > aarch64 | libcamera-v0.1.0 | NOK | http://autobuild.buildroot.net/results/0a2b06f7be5e02e32f3ea50c86be6087a3ff8314 | > nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/c0aa5bec6aa9f19b80bf5585072cb914196bbf6d | > sh4aeb | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/0497fbe693c6751b50160b34135341bcbd4cc8c7 | > armeb | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/2593165c50e779dfafe5f1bb4e085b87b6977ceb | > microblazeel | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/9d5ad44312cfc20b5a8612f4d2c2078e8c71a06f | > sparc | libsoup-2.74.2 | NOK | http://autobuild.buildroot.net/results/5eb054a70e3cb806e4806319d0ecb8799e148e93 | > mips64 | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/9f45e4776f93b60eb11a732d7344be9e0bc55172 | > microblaze | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/481d3fe2f8341adc1c04158e90c7958e5235946a | ORPH > powerpc | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/eef509dc309a47ccf2a1bd8f9dc63109e9c9ed2c | ORPH > mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/3489682caa8a822e45f22d10536c9509f6fb7ce6 | ORPH > mips64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/9eb3ce5dff9b761402592c32e3e973e002ca81fb | ORPH > mips64el | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/1e2ea2e9c5702e4521317f8d32585229e367121d | ORPH > sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/502681b8b090e7a9b7e7c0c1898104bb35464573 | ORPH > x86_64 | ltp-testsuite-20230929 | NOK | http://autobuild.buildroot.net/results/c9abd74429d34234dc764dc59c50301982a4b589 | > arm | madplay-0.15.2b | NOK | http://autobuild.buildroot.net/results/77b398aff554871f1c0fb9608f0eeb2cfbfc193c | ORPH > microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/fd0ff82697e9d62c24fb476182c012159ac99c40 | ORPH > arceb | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/a8d1445a84170e9561405f29d3d5375bcf29e709 | ORPH > arm | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/1cd652438a5677eefeb675655a0dc58e0d4e2450 | > mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/8f53882637a393979d45180fe8c820afe3fa59a7 | > or1k | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/1f9c98511d4f39d78d688214a7010e5368a1051d | > arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/02f90b50d0ca774dccbbaa01e978ef08e67742a8 | > mips | nfs-utils-2.6.3 | NOK | http://autobuild.buildroot.net/results/672cfa7a93735567439d2953e22a1814f4ea40ea | > mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6dedef7f2bba1995cb40605c67101521c3578a04 | > mips64el | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6d46959655de5358485cc74aaff474fc9ff58d4d | > x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d3e1a1a5fcd13c4f05699c3464d84f1997444a0a | > mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/63fa0dab911385b8c453d84cd3df1419c64cb823 | > sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/82edcf2b6122cf58b88a36d71929776c15848e8d | > powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/548d057b00b75065dc84818b918385dd1ee4c677 | > armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cf95dcb380e6c18ed68ad1c78adbab5f8794b912 | > mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/fb0761787e4282eb878e8dabc8b802e7f9a76f5e | > or1k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f63ef4ec5abee42e9eb0c8223aab50a885f765d7 | > i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/938039d38ab047ac754b98e2a7f9dadd90a7b2bd | > mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f73b8c6405f423092ecb3855c52c89c97f6b9b9e | > s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c58dac93acfbd2a231a91102a840e70321c24a74 | > aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f7dfa6712462d835be9948f59aaf7f325946ff4d | > powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7b2d404bbe1e5ee46c6cac0f4b18b7853f0c08a7 | > mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7c9b64e5cc8b04d6093f677e0370ba4a9ee8414b | > sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/825b3465d449e4225ad96280eef805338fdbeffb | > sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ec415e9d7ed00872986dc9b327cc5fd26cf6c776 | > armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7a83c1b28aa6dc5e3136a14d90f49811a6836ab6 | > powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2f722250c7dd71d99daecfa8bd46fad3a59db5c3 | > aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ee381f4550d20f101b69f392cde22e79e30aab4a | > powerpc64le | pistache-3ec9d7c4f8b828fdd3... | NOK | http://autobuild.buildroot.net/results/f54aaa19e0fe4140116a2de2daca925208870274 | ORPH > sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/9f3f7d71bd24f5c3dd28682ac28ef2c80a89d1dd | > powerpc64le | python-sip-4.19.25 | NOK | http://autobuild.buildroot.net/results/dd27fbf5fa4204cf0bfdca0fe30b3ad0275759e0 | > sh4a | python3-3.11.5 | NOK | http://autobuild.buildroot.net/results/986276c92b82b26a09877a16bbdec8e5b45f93e7 | > armeb | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/80402926ecd4014cd0f84d36d87b7a48b05619ef | > m68k | rwmem-c8291705c82bb0686be9a... | NOK | http://autobuild.buildroot.net/results/2d3b20b20a42ad7dd53fdd3f768b94ec90976ab2 | ORPH > powerpc64le | spirv-headers-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/6a387441759b10eb38301c1dafec3506c72446e9 | > riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/47da3f56158fba3c1aa78c6768fef889b03470e0 | ORPH > sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/dd2f3d24061367f2da3152a62b1e673d7c3b8c99 | ORPH > m68k | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/a885e6b28c06d5d96db893143f1e1da67b539d42 | ORPH > powerpc64le | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/efb5f4c1ae9595ffa6ae505448e1ee336d18f0f2 | ORPH > mips64 | systemd-254 | NOK | http://autobuild.buildroot.net/results/0bdd9f47f5fef47aaec674df604a1be0a187e3d2 | > s390x | tbb-2021.10.0 | NOK | http://autobuild.buildroot.net/results/8f0a2ea99940d96f6d88c08eb84e0da495e22d58 | > riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/472c4051a84d9b6da534e05cb56f1e709eab0e63 | > s390x | uhd-4.3.0.0 | NOK | http://autobuild.buildroot.net/results/93381d9fd9e3da0b70895810d898e10833fc5c79 | > aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/0b9da6ab6cad83382411afc3fb759fab7f68fc27 | > powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/6416ad6a10b7b3f768ce061f08dd39843d1d0a45 | > armeb | unknown | NOK | http://autobuild.buildroot.net/results/24d6818790290371afe171063ffadcf409de10b8 | > s390x | unknown | NOK | http://autobuild.buildroot.net/results/0b4bc50a913d6e2aa7cb9df06672dbf87d681d05 | > sparc | unknown | NOK | http://autobuild.buildroot.net/results/dcf90dad7b9525f1b09f1323c1aac811c5936862 | > sh4eb | unknown | NOK | http://autobuild.buildroot.net/results/beb24715673e00529c7b1b5eef311eb5f0684ed7 | > microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/1a4db540dabb1cf7b476f58ba8d4785f23405a07 | > powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/57c6b3d0483ae8d56f366c113a7f44c78359ee2d | > arm | unknown | NOK | http://autobuild.buildroot.net/results/fb2fc91536cc931a553dff24e96333ea2981ad2d | > microblazeel | usbguard-1.1.2 | NOK | http://autobuild.buildroot.net/results/1a08823020c37a73f4e4a40f47b02fca3f159748 | > i686 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/aef2f73ffeadb7c6d8c7acf91d37bbafa1f3da85 | ORPH > s390x | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/d7997a74c4c6a0745e51aa7a3e0cb4d939adc549 | > arc | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/6a56fb98e3492ce115ec61dbbe7cde0793089878 | > riscv32 | xvisor-0.3.2 | NOK | http://autobuild.buildroot.net/results/844c64d894221155645d2640d8e6cd4b5a20af35 | > > > Classification of failures by reason for 2023.02.x > -------------------------------------------------- > > bird-2.0.12 | 3 > btrfs-progs | 1 > check-0.15.2 | 1 > elfutils-0.186 | 1 > host-go-1.19.13 | 1 > motion-4.5.1 | 1 > ocf-linux-20171122 | 1 > wolfssl-5.5.3 | 1 > xenomai-3.0.10 | 1 > > > Detail of failures for 2023.02.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/04d7e4c3798a3d416c2a6ed8b44d5696ee66ad27 | > mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/4681da1856db567ca5a616d12730234351581fbd | > or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/1a36b64ede75dcb047efc10674836e3222328c42 | > mips64el | btrfs-progs | TIM | http://autobuild.buildroot.net/results/72af1dafe03bbbe1019c7f3333cb2d66759a95a5 | > arm | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/96c9020f28b836ff720cd70175708d2d9144fee9 | ORPH > microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/e8d0d884fcb672457f21d421cec5e805857ddc91 | ORPH > mips64el | host-go-1.19.13 | NOK | http://autobuild.buildroot.net/results/bfcec8a7ad2acd9d8b2e2ce254e3a59a75fecf4e | > mipsel | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/7fc090138ec20d545e0c75131707d3675b01a371 | > i686 | ocf-linux-20171122 | NOK | http://autobuild.buildroot.net/results/9226bc3f762b671dee65a77835698facb761d02b | > mips64el | wolfssl-5.5.3 | NOK | http://autobuild.buildroot.net/results/5d99f13abde9d6b0069823eb5c1688db9d59f824 | > arm | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/21e2dedaabf87caf073fcda287eaa6e2a58ecbca | > > > Classification of failures by reason for 2023.08.x > -------------------------------------------------- > > dc3dd-7.2.641 | 1 > elfutils-0.189 | 1 > ethtool-6.3 | 1 > frr-8.4.2 | 1 > gobject-introspection-1.76.1 | 1 > host-go-1.20.8 | 1 > host-rust-1.71.1 | 1 > libgeos-3.12.0 | 1 > pipewire-0.3.74 | 1 > speechd-0.11.4 | 1 > > > Detail of failures for 2023.08.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/025a79b9f53867b8a8edf250c300921993ab250d | ORPH > arceb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/752d6c0aacdd6980917bf1148685bd054181cf7a | ORPH > arm | ethtool-6.3 | NOK | http://autobuild.buildroot.net/results/1080b35f0bc809347a76ea54d40cdfbf0bcfd372 | > arc | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/3242f1674e4fe007f36810d0a34d2815f5769ed4 | > s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/a7594202901567c02c43f1513c2c4aae282f1372 | ORPH > armeb | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/16afd3bf590895bcfa7e143c752712be8699702a | > aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/eefb0cab17ddce079b2ded8dc1f48f8c4a9a32bd | > or1k | libgeos-3.12.0 | NOK | http://autobuild.buildroot.net/results/72361949e1204db4de860f1ed6f0cc42b6e6cad1 | > mips | pipewire-0.3.74 | NOK | http://autobuild.buildroot.net/results/53be2788f3fd65595e50d024e6c2c9b5ea06eb19 | > arm | speechd-0.11.4 | NOK | http://autobuild.buildroot.net/results/8ab13cf474d732c95a1da65592d950b24b3d474b | > > > > -- > http://autobuild.buildroot.net > > > ------------------------------ > > Message: 3 > Date: Fri, 6 Oct 2023 08:24:49 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Cc: Peter Korsgaard , Thomas Petazzoni > , Romain Naour > Subject: [Buildroot] [PATCH-2023.08.x] package/{glibc, localedef}: > security bump to version > glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 > Message-ID: <20231006062449.1481741-1-peter at korsgaard.com> > > Fixes the following security issues: > > CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the > environment of a setuid program and NAME is valid, it may result in a > buffer overflow, which could be exploited to achieve escalated > privileges. This flaw was introduced in glibc 2.34. > > Signed-off-by: Peter Korsgaard > --- > package/glibc/glibc.hash | 2 +- > package/glibc/glibc.mk | 2 +- > package/localedef/localedef.mk | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash > index ab310498b8..2b8f49ea6b 100644 > --- a/package/glibc/glibc.hash > +++ b/package/glibc/glibc.hash > @@ -1,5 +1,5 @@ > # Locally calculated (fetched from Github) > -sha256 7129dfadea29e8f20865186a7fdec3dc3e65d055a81dc8fc399189491bba493c glibc-2.37-43-g94ef70136587c40a357f775677997c753b3de56c.tar.gz > +sha256 19d874f03dadbccaca8ae88a0e96d38435066badfe6ed606c2ad1e525454dece glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3.tar.gz > > # Hashes for license files > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk > index 666d9e4a8c..319028b058 100644 > --- a/package/glibc/glibc.mk > +++ b/package/glibc/glibc.mk > @@ -7,7 +7,7 @@ > # Generate version string using: > # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- > # When updating the version, please also update localedef > -GLIBC_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c > +GLIBC_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 > # Upstream doesn't officially provide an https download link. > # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, > # sometimes the connection times out. So use an unofficial github mirror. > diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk > index d368121a1a..18f040d7c2 100644 > --- a/package/localedef/localedef.mk > +++ b/package/localedef/localedef.mk > @@ -7,7 +7,7 @@ > # Use the same VERSION and SITE as target glibc > # As in glibc.mk, generate version string using: > # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- > -LOCALEDEF_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c > +LOCALEDEF_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 > LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz > LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) > HOST_LOCALEDEF_DL_SUBDIR = glibc > -- > 2.30.2 > > > > ------------------------------ > > Message: 4 > Date: Fri, 6 Oct 2023 06:18:56 +0000 > From: > To: > Subject: Re: [Buildroot] buildroot Digest, Vol 207, Issue 55 > Message-ID: > Content-Type: text/plain; charset="utf-8" > > On 27/09/23 03:15, buildroot-request at buildroot.org wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe >> >> Send buildroot mailing list submissions to >> buildroot at buildroot.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.buildroot.org/mailman/listinfo/buildroot >> or, via email, send a message with subject or body 'help' to >> buildroot-request at buildroot.org >> >> You can reach the person managing the list at >> buildroot-owner at buildroot.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of buildroot digest..." >> >> >> Today's Topics: >> >> 1. [git commit branch/2023.08.x] package/libcoap: ignore >> CVE-2023-35862 (Peter Korsgaard) >> 2. [git commit branch/2023.08.x] package/webkitgtk: security >> bump to version 2.40.5 (Peter Korsgaard) >> 3. [git commit branch/2023.08.x] package/libssh: ignore >> CVE-2023-3603 (Peter Korsgaard) >> 4. [git commit branch/2023.05.x] package/webkitgtk: security >> bump to version 2.40.5 (Peter Korsgaard) >> 5. [autobuild.buildroot.net] Daily results for 2023-09-25 >> (Thomas Petazzoni) >> 6. [PATCH] package/mmc-utils: fix build failure due to potential >> overflow (Giulio Benetti) >> 7. Re: [PATCH 1/1] docs/manual: add section to explain how to >> give credits to a sponsor (Peter Korsgaard) >> 8. Re: [PATCH v2] package/nut: package/nut: specify >> --with-user/group when building NUT (Peter Korsgaard) >> 9. Re: [PATCH] package/libpjsip: security bump to version 2.13.1 >> (Peter Korsgaard) >> 10. [git commit branch/2023.05.x] package/libpjsip: security bump >> to version 2.13.1 (Peter Korsgaard) >> 11. [git commit branch/2023.05.x] package/nut: package/nut: >> specify --with-user/group when building NUT (Peter Korsgaard) >> 12. [git commit branch/2023.05.x] docs/manual: add section to >> explain how to give credits to a sponsor (Peter Korsgaard) >> 13. [git commit branch/2023.08.x] package/nut: package/nut: >> specify --with-user/group when building NUT (Peter Korsgaard) >> 14. [git commit branch/2023.08.x] docs/manual: add section to >> explain how to give credits to a sponsor (Peter Korsgaard) >> 15. [git commit branch/2023.08.x] package/libpjsip: security bump >> to version 2.13.1 (Peter Korsgaard) >> 16. Re: [PATCH v2] package/nodejs: fix parallel build >> (Peter Korsgaard) >> 17. [git commit branch/2023.05.x] package/nodejs: fix parallel >> build (Peter Korsgaard) >> 18. [git commit branch/2023.08.x] package/nodejs: fix parallel >> build (Peter Korsgaard) >> 19. [git commit branch/2023.02.x] package/nodejs: fix parallel >> build (Peter Korsgaard) >> 20. [git commit branch/2023.02.x] package/nut: package/nut: >> specify --with-user/group when building NUT (Peter Korsgaard) >> 21. [git commit branch/2023.02.x] package/libpjsip: security bump >> to version 2.13.1 (Peter Korsgaard) >> 22. [git commit branch/2023.02.x] docs/manual: add section to >> explain how to give credits to a sponsor (Peter Korsgaard) >> 23. [PATCH v2 3/4] package/linux-tools: add rtla (Giulio Benetti) >> 24. [PATCH v2 4/4] package/trace-cmd: bump to 3.1.7 (Giulio Benetti) >> 25. [PATCH v2 1/4] package/libtraceevent: new package (Giulio Benetti) >> 26. [PATCH v2 2/4] package/libtracefs: new package (Giulio Benetti) >> 27. [git commit branch/2023.08.x] package/libopenssl: bump to >> version 3.0.11 (Peter Korsgaard) >> 28. [PATCH] support/runtime-test: fix weston test (Yann E. MORIN) >> 29. Re: [PATCH v2] board: add Orangepi Zero3 support (Sergey Kuzminov) >> 30. Re: [PATCH v9 7/7] >> support/testing/tests/package/test_flutter.py: new runtime test >> (Yann E. MORIN) >> 31. [git commit branch/2023.05.x] Update for 2023.05.3 >> (Peter Korsgaard) >> 32. [git commit branch/2023.05.x] Revert "package/docker-cli: >> backport fix for host header check" (Peter Korsgaard) >> 33. [git commit branch/2023.05.x] Revert "package/docker-engine: >> backport fix for host header check" (Peter Korsgaard) >> 34. [git commit branch/2023.02.x] Revert "package/docker-cli: >> backport fix for host header check" (Peter Korsgaard) >> 35. [git commit branch/2023.02.x] Revert "package/docker-engine: >> backport fix for host header check" (Peter Korsgaard) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Tue, 26 Sep 2023 08:09:22 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/libcoap: >> ignore CVE-2023-35862 >> Message-ID: <20230926061220.C1A7387816 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=335dbb595ab027b3a46a4fd764e93c1dc9d31e56 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> According to a collaborator [0] the affected code isn't in 4.3.1 >> >> [0]: https://github.com/obgm/libcoap/issues/1117 >> >> Signed-off-by: Daniel Lang >> Signed-off-by: Arnout Vandecappelle >> (cherry picked from commit 20c023a3b1363f914a18652a79f83648af2cf1e6) >> Signed-off-by: Peter Korsgaard >> --- >> package/libcoap/libcoap.mk | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk >> index 3773ad293c..94bfc59702 100644 >> --- a/package/libcoap/libcoap.mk >> +++ b/package/libcoap/libcoap.mk >> @@ -16,6 +16,8 @@ LIBCOAP_CONF_OPTS = \ >> LIBCOAP_AUTORECONF = YES >> # 0001-Backport-fix-for-CVE-2023-30362.patch >> LIBCOAP_IGNORE_CVES += CVE-2023-30362 >> +# Doesn't affect 4.3.1, see https://github.com/obgm/libcoap/issues/1117 >> +LIBCOAP_IGNORE_CVES += CVE-2023-35862 >> >> ifeq ($(BR2_PACKAGE_GNUTLS),y) >> LIBCOAP_DEPENDENCIES += gnutls >> >> >> ------------------------------ >> >> Message: 2 >> Date: Tue, 26 Sep 2023 08:04:07 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/webkitgtk: >> security bump to version 2.40.5 >> Message-ID: <20230926061220.A3EBC87813 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=f35f7c3eabc4225fda225f1e27a6d84e7596fbcb >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Bugfix release with many security fixes, including (but not limited to) >> patches for CVE-2023-37450, CVE-2023-38133, CVE-2023-38572, CVE-2023-38592, >> CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38599, >> CVE-2023-38600, and CVE-2023-38611. >> >> Release notes: >> >> https://webkitgtk.org/2023/07/21/webkitgtk2.40.4-released.html >> https://webkitgtk.org/2023/08/01/webkitgtk2.40.5-released.html >> >> Accompanying security advisory: >> >> https://webkitgtk.org/security/WSA-2023-0006.html >> https://webkitgtk.org/security/WSA-2023-0007.html >> >> Signed-off-by: Thomas Devoogdt >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 3ba27e682a861e304138fa2a460c10db2c83abe4) >> Signed-off-by: Peter Korsgaard >> --- >> ...ailure-when-gstreamer-support-is-disabled.patch | 36 ++++++++++++++++++++++ >> package/webkitgtk/webkitgtk.hash | 6 ++-- >> package/webkitgtk/webkitgtk.mk | 2 +- >> 3 files changed, 40 insertions(+), 4 deletions(-) >> >> diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch >> new file mode 100644 >> index 0000000000..3fa23b215b >> --- /dev/null >> +++ b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch >> @@ -0,0 +1,36 @@ >> +From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 >> +From: Matt Turner >> +Date: Tue, 8 Aug 2023 16:51:25 -0700 >> +Subject: [PATCH] Fix build failure when gstreamer support is disabled >> + https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 >> + >> +Reviewed by Carlos Alberto Lopez Perez. >> + >> +* Source/WebCore/loader/MixedContentChecker.cpp: >> + >> +Canonical link: https://commits.webkit.org/260527.429 at fix-build >> + >> +(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) >> + >> +Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 >> +Signed-off-by: Thomas Devoogdt >> +--- >> + Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ >> + 1 file changed, 2 insertions(+) >> + >> +diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp >> +index 9b4c7fe62020..ac4733bc08bc 100644 >> +--- a/Source/WebCore/loader/MixedContentChecker.cpp >> ++++ b/Source/WebCore/loader/MixedContentChecker.cpp >> +@@ -33,6 +33,8 @@ >> + #include "ContentSecurityPolicy.h" >> + #include "Document.h" >> + #include "Frame.h" >> ++#include "FrameLoader.h" >> ++#include "FrameLoaderClient.h" >> + #include "SecurityOrigin.h" >> + >> + namespace WebCore { >> +-- >> +2.42.0 >> + >> diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash >> index 756ac13ec2..7f50f1aa7b 100644 >> --- a/package/webkitgtk/webkitgtk.hash >> +++ b/package/webkitgtk/webkitgtk.hash >> @@ -1,6 +1,6 @@ >> -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.3.tar.xz.sums >> -sha1 74ee7241f2add46897019e22bd4f8e19e09027bb webkitgtk-2.40.3.tar.xz >> -sha256 cc0aa83f40dbc64c1c6ae42ec6b85af4be2a9dbf524cfcb95f89a367fb5098dd webkitgtk-2.40.3.tar.xz >> +# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums >> +sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz >> +sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz >> >> # Hashes for license files: >> sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE >> diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk >> index 56277a0a0a..d5e983e403 100644 >> --- a/package/webkitgtk/webkitgtk.mk >> +++ b/package/webkitgtk/webkitgtk.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -WEBKITGTK_VERSION = 2.40.3 >> +WEBKITGTK_VERSION = 2.40.5 >> WEBKITGTK_SITE = https://www.webkitgtk.org/releases >> WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz >> WEBKITGTK_INSTALL_STAGING = YES >> >> >> ------------------------------ >> >> Message: 3 >> Date: Tue, 26 Sep 2023 08:07:52 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/libssh: >> ignore CVE-2023-3603 >> Message-ID: <20230926061220.AD43C87814 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=e69fb4864062f145366815a092779b857c244407 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> The affected code isn't present in any release, see [0]. >> >> [0]: https://www.libssh.org/2023/07/14/cve-2023-3603-potential-null-dereference-in-libsshs-sftp-server/ >> >> The CPE entry for this CVE is >> cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:* >> We interpret the "-" as matching any version. It actually means >> "unspecified version", which is the cop-out in case there is nothing >> useful to match. We can't really make our infrastructure ignore "-" >> entirely, because for all we know our version is an unreleased commit >> sha which _is_ vulnerable. Thus, the only way out is an exclusion which >> we'll never be able to remove. >> >> Signed-off-by: Daniel Lang >> Signed-off-by: Arnout Vandecappelle >> (cherry picked from commit a34a370f4ea27981be43df817f49320a59088e68) >> Signed-off-by: Peter Korsgaard >> --- >> package/libssh/libssh.mk | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/package/libssh/libssh.mk b/package/libssh/libssh.mk >> index e770d2b924..ff4cddaf91 100644 >> --- a/package/libssh/libssh.mk >> +++ b/package/libssh/libssh.mk >> @@ -17,6 +17,10 @@ LIBSSH_CONF_OPTS = \ >> -DWITH_STACK_PROTECTOR=OFF \ >> -DWITH_EXAMPLES=OFF >> >> +# Not part of any release >> +# https://www.libssh.org/2023/07/14/cve-2023-3603-potential-null-dereference-in-libsshs-sftp-server/ >> +LIBSSH_IGNORE_CVES += CVE-2023-3603 >> + >> ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) >> LIBSSH_CONF_OPTS += -DWITH_STACK_CLASH_PROTECTION=OFF >> endif >> >> >> ------------------------------ >> >> Message: 4 >> Date: Tue, 26 Sep 2023 08:04:50 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] package/webkitgtk: >> security bump to version 2.40.5 >> Message-ID: <20230926061219.E197B87813 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=bd5eaa7df8025a3d5afa94c495c1c4b34ad53bee >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Bugfix release with many security fixes, including (but not limited to) >> patches for CVE-2023-37450, CVE-2023-38133, CVE-2023-38572, CVE-2023-38592, >> CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38599, >> CVE-2023-38600, and CVE-2023-38611. >> >> Release notes: >> >> https://webkitgtk.org/2023/07/21/webkitgtk2.40.4-released.html >> https://webkitgtk.org/2023/08/01/webkitgtk2.40.5-released.html >> >> Accompanying security advisory: >> >> https://webkitgtk.org/security/WSA-2023-0006.html >> https://webkitgtk.org/security/WSA-2023-0007.html >> >> Signed-off-by: Thomas Devoogdt >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 3ba27e682a861e304138fa2a460c10db2c83abe4) >> Signed-off-by: Peter Korsgaard >> --- >> ...ailure-when-gstreamer-support-is-disabled.patch | 36 ++++++++++++++++++++++ >> package/webkitgtk/webkitgtk.hash | 6 ++-- >> package/webkitgtk/webkitgtk.mk | 2 +- >> 3 files changed, 40 insertions(+), 4 deletions(-) >> >> diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch >> new file mode 100644 >> index 0000000000..3fa23b215b >> --- /dev/null >> +++ b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch >> @@ -0,0 +1,36 @@ >> +From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 >> +From: Matt Turner >> +Date: Tue, 8 Aug 2023 16:51:25 -0700 >> +Subject: [PATCH] Fix build failure when gstreamer support is disabled >> + https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 >> + >> +Reviewed by Carlos Alberto Lopez Perez. >> + >> +* Source/WebCore/loader/MixedContentChecker.cpp: >> + >> +Canonical link: https://commits.webkit.org/260527.429 at fix-build >> + >> +(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) >> + >> +Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 >> +Signed-off-by: Thomas Devoogdt >> +--- >> + Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ >> + 1 file changed, 2 insertions(+) >> + >> +diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp >> +index 9b4c7fe62020..ac4733bc08bc 100644 >> +--- a/Source/WebCore/loader/MixedContentChecker.cpp >> ++++ b/Source/WebCore/loader/MixedContentChecker.cpp >> +@@ -33,6 +33,8 @@ >> + #include "ContentSecurityPolicy.h" >> + #include "Document.h" >> + #include "Frame.h" >> ++#include "FrameLoader.h" >> ++#include "FrameLoaderClient.h" >> + #include "SecurityOrigin.h" >> + >> + namespace WebCore { >> +-- >> +2.42.0 >> + >> diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash >> index 756ac13ec2..7f50f1aa7b 100644 >> --- a/package/webkitgtk/webkitgtk.hash >> +++ b/package/webkitgtk/webkitgtk.hash >> @@ -1,6 +1,6 @@ >> -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.3.tar.xz.sums >> -sha1 74ee7241f2add46897019e22bd4f8e19e09027bb webkitgtk-2.40.3.tar.xz >> -sha256 cc0aa83f40dbc64c1c6ae42ec6b85af4be2a9dbf524cfcb95f89a367fb5098dd webkitgtk-2.40.3.tar.xz >> +# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums >> +sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz >> +sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz >> >> # Hashes for license files: >> sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE >> diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk >> index 56277a0a0a..d5e983e403 100644 >> --- a/package/webkitgtk/webkitgtk.mk >> +++ b/package/webkitgtk/webkitgtk.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -WEBKITGTK_VERSION = 2.40.3 >> +WEBKITGTK_VERSION = 2.40.5 >> WEBKITGTK_SITE = https://www.webkitgtk.org/releases >> WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz >> WEBKITGTK_INSTALL_STAGING = YES >> >> >> ------------------------------ >> >> Message: 5 >> Date: Tue, 26 Sep 2023 06:50:40 -0000 >> From: Thomas Petazzoni >> To: buildroot at buildroot.org >> Subject: [Buildroot] [autobuild.buildroot.net] Daily results for >> 2023-09-25 >> Message-ID: <20230926065047.EA45941E61 at smtp4.osuosl.org> >> Content-Type: text/plain; charset="us-ascii" >> >> Hello, >> >> Autobuild statistics for 2023-09-25 >> =================================== >> >> branch | OK | NOK | TIM | TOT | >> 2023.02.x | 6 | 10 | 0 | 16 | >> 2023.05.x | 10 | 6 | 0 | 16 | >> 2023.08.x | 11 | 7 | 0 | 18 | >> master | 78 | 76 | 0 | 154 | >> >> Classification of failures by reason for master >> ----------------------------------------------- >> >> alsa-lib-1.2.10 | 10 >> unknown | 6 >> host-go-1.21.1 | 5 >> alsa-utils-1.2.10 | 4 >> bird-2.0.12 | 4 >> glibc-2.37-2-g9f8513dc64119... | 4 >> stress-ng-0.15.07 | 4 >> elfutils-0.189 | 3 >> host-rust-1.71.1 | 3 >> libarchive-3.7.2 | 3 >> mariadb-10.11.4 | 3 >> proj-8.1.1 | 3 >> brltty-6.5 | 2 >> gobject-introspection-1.76.1 | 2 >> linux-6.4.14 | 2 >> xenomai-3.0.10 | 2 >> check-11970a7e112dfe243a2e6... | 1 >> conmon-2.1.8 | 1 >> fs/romfs/romfs.mk:32: /home... | 1 >> host-erlang-26.0.2 | 1 >> host-gcc-final-12.3.0 | 1 >> lightning-2.2.2 | 1 >> lttng-modules-2.13.7 | 1 >> mmc-utils-613495ecaca97a19f... | 1 >> olsr-0.9.8 | 1 >> php-8.2.10 | 1 >> qemu-8.1.0 | 1 >> squid-6.2 | 1 >> systemd-254 | 1 >> tcf-agent-1.7.0 | 1 >> valgrind-3.21.0 | 1 >> wolfssl-5.6.3 | 1 >> >> >> Detail of failures for master >> ----------------------------- >> >> arch | reason | OK? | url | orph? >> -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- >> armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3ceec32f42947ce6807c83abaea54dadc8679198 | >> aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b148d1cd0bdb6cecff56d2f1407b53fde49e285e | >> x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6e3f23d6d774c332b7c797c046d1fd5480221ba1 | >> or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/640fef2accaf666b9ddf6acd7f64937f8d0961b4 | >> microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f94a864a05146f2c5cb4c04bb66460cde48f4309 | >> m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/d56e5afc96152ac9b3d08acaf85219637745f6f8 | >> arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7359e18a3dd50b1e18cad260a50567018ec70f16 | >> sh4a | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bc09306a5f05b8939bad912fa02da0ed9a769aa6 | >> microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/228d8be8b2437003df882eb672ef5bc73d8ff471 | >> aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b1d7a5d9fd8ed6bd8bbf707c98638153c7b8a7f8 | >> s390x | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/09faa170c4ab44c39de3450985c88b049f492ed2 | >> x86_64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/94f72c01f462273d69138d629479055f0ddb443f | >> arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f85e9c502de1647c19fb00502703e1aa55386c4e | >> mipsel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/42ab6e4003cce672c3ed88cd090301f44d0c2e85 | >> s390x | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/eea3097ed8652f6c6597fc4ef9d9536cbb4df23a | >> sh4 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/db3a45acd435bee5c44109db66e87ebf930f5e2e | >> mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b8edde854848bf5050733d591b5ac653d652b157 | >> arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/54a984f41fd5c58fc14c5a722526ebf56c4fedd7 | >> aarch64_be | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/964d3e46f79f7ae0d204dabed395b3759fab42ba | >> mips64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/62383191117b33141cd516dce7b87bdb3517b40c | >> arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/36de1229d6f2ad57fffcdc70e4c4883c10f28141 | ORPH >> mips64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/2a4035bbf3139a3e50aeecb69a6068533cddfac2 | >> microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/0e5255437a9fe10ff42fdad7284ff8b923c7ed49 | ORPH >> microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3f3c024c0e7a487d31792dcdb1dc5764a9a384c8 | ORPH >> microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3579a51bfc73fb12347112fd0d53a4cebdf7717f | ORPH >> sparc64 | fs/romfs/romfs.mk:32: /home... | NOK | http://autobuild.buildroot.net/results/9d328fa4ec604ce80cdb6a80c8a0609ae692f4a4 | >> powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/f9ad33c33a0d35f21dabe062792460b710b9ac5f | >> powerpc64 | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/19207b530fd3106a07f6fb3d1964c07094c5918b | >> powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/681291969190a3cfc08d409d916bec78b1499ddb | >> powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/50fc667015f0a0c0f199cf9de92ac6bd2a8465fb | >> nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/7027ffb259239827592d1adbeb7e09fb0ddb2bd3 | ORPH >> sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/ae1bdde15333b5dbc59bd3564b836e4a96483ccb | ORPH >> i686 | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/0e7ff49faf127491819d34a1c825b47d61794cd1 | >> microblazeel | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/99439a74049df0ca417b74a7ad9bc4b9df1cab2f | >> powerpc64le | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/ec1a401349b1275657aadec3fd39fb62b33b5bfa | >> mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/2162ce22c7f91b587bb04ae2d81f4331333a74da | >> mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/69e40e223f5ae215da9bb73aa0e805c3aefe1833 | >> sparc64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/212dcc59e2b91dbc286e551b63277bf2fa09cd97 | >> mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/a931bc4814682b5bbcc9cc0c9998909f2e28dc5a | >> powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/2de8422fd79ccb3813c4df16cab183253bc3f335 | >> x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e9dbd56ad6a5aa6204219d8ccf897117bd2d7103 | >> mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/ca5dbdeebdfd63844665b7d9d43b7e8debb2851f | >> arm | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/167f1ac03cf48f008531e722ae008b10ce70399c | >> mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/a2b3243c0328977140c300d4fd9aea6ac57e05a1 | >> mips | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/1cc40c078b6667e9e19ac11bf57a1909338f5cb7 | >> mips64el | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/105f3900c5aafa255d47177e6cfcf7d2426e8d62 | >> mips | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/33fe90580a8e5a36b6918075775d34cb15cebd0e | ORPH >> arceb | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/d4ad93a6072bc719ebe9c963fdb75848d59e71bf | ORPH >> powerpc64 | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/72f59d2ae40f8de8780b8e81ab45ecb1d314f4f4 | >> microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/900bcae312f1df0059a94fefacca8904739fc9b2 | ORPH >> or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/c6573324d4fbbb8ac4f7f3d4e8c3cbb6a0e3e180 | ORPH >> mips | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/349a18666b9366adeb8555918a64a70890c434aa | ORPH >> mipsel | mmc-utils-613495ecaca97a19f... | NOK | http://autobuild.buildroot.net/results/a53922c5db3e605a5e81e53c034f45017ebb7db7 | >> mips64 | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/d80264776d3aea1b01034447b5a1c124531f1f00 | ORPH >> m68k | php-8.2.10 | NOK | http://autobuild.buildroot.net/results/ebe7fcc6e3962028d07d0b14e79d422ea847d6e2 | >> s390x | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/06760e59b408645586664a1d11615818b1e20f41 | >> microblaze | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/e91f4bd62149b89ad3047320ea1d05efcc1c1d7d | >> m68k | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/46b4651157762edd4615ef4508b85ca334bfc816 | >> mips | qemu-8.1.0 | NOK | http://autobuild.buildroot.net/results/339ea98fe7ecbac8141649ae9736f0ae6c55ce49 | >> aarch64 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/efcd624169b07b9071ef3f696d2b44e87deea2a7 | ORPH >> mipsel | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/50704286cb67b9819131b82bcebdfeb5cd86cf88 | >> powerpc64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/8223b862f25a3d0259f6780d09deac8ccce34666 | >> aarch64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/248b83f2c584a6dc0218c1aefee85bb15b1fbed2 | >> microblazeel | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/69e9b186202dcc56262a71351df2660029019ebb | >> mipsel | systemd-254 | NOK | http://autobuild.buildroot.net/results/6db08456e4769511b2482fae9abdf4d04109858f | >> microblaze | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/b6878b92132113e27633f30ed687ac62fb9bde24 | >> powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/49d8e8aed43786a5814b2574574655ac6a255543 | >> i686 | unknown | NOK | http://autobuild.buildroot.net/results/d3b48062f88afc327e4d81244fc874406964b6a3 | >> armeb | unknown | NOK | http://autobuild.buildroot.net/results/04ecf6318e82517566272d89029711056b7aedfb | >> x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/7966430f401b6d40b87d3bb1d941fff3946d0420 | >> powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/d121267e4b375cbe4f461a6f8921deeb76c6bc12 | >> powerpc | unknown | NOK | http://autobuild.buildroot.net/results/a237709eff56a2137f0e8b170a7417c999dfdcc4 | >> mips64 | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/50b74189262cea892cc2ff055347b97442c80876 | ORPH >> mips64el | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/ff2941823edf72532ff87d6319fdcdf4d701e459 | >> mips | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/cc42a69cf49fa53ef7af355d8acdd7664b4d043a | >> x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/fbddd2377f909b1bf66bfa2ba5a03144b42f33fb | >> >> >> Classification of failures by reason for 2023.02.x >> -------------------------------------------------- >> >> bird-2.0.12 | 3 >> erlang-22.3.4.22 | 1 >> gobject-introspection-1.72.0 | 1 >> host-rust-1.67.1 | 1 >> linux-5.10.162-cip24-rt10 | 1 >> olsr-0.9.8 | 1 >> ti-sgx-km-cf7f48cb30abfd5df... | 1 >> unknown | 1 >> >> >> Detail of failures for 2023.02.x >> -------------------------------- >> >> arch | reason | OK? | url | orph? >> -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- >> sparc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8ea3bb6e1f98d8896739223860b9f15277e5941f | >> arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/9ef04fa3709f234e59755ff4c8aff2f71218653f | >> i686 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/052108fa2620b67d300938c1760f28111048e7e2 | >> powerpc | erlang-22.3.4.22 | NOK | http://autobuild.buildroot.net/results/145622f978f8719ec5c577495282920745edea81 | >> microblazeel | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/273bca0f419fec75a0b91a038599bf28db9e01a6 | ORPH >> mipsel | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/cfef05f7652dabddd355ec96557d7207981f9a29 | >> mipsel | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/0cb4e9cd7cbe368ba19e0f761c769d65cb453ebd | ORPH >> mipsel | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/c98874e513891ec1f24121acf807e6ac1e492706 | ORPH >> arm | ti-sgx-km-cf7f48cb30abfd5df... | NOK | http://autobuild.buildroot.net/results/a5e4ff88303b3f7f03e5be89a667dec17b18458e | >> aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/13bdb92814bdead58fe76c8828bc04e705707bc4 | >> >> >> Classification of failures by reason for 2023.05.x >> -------------------------------------------------- >> >> bird-2.0.12 | 2 >> gobject-introspection-1.74.0 | 1 >> host-binutils-2.37 | 1 >> ola-0.10.9 | 1 >> stress-ng-0.15.07 | 1 >> >> >> Detail of failures for 2023.05.x >> -------------------------------- >> >> arch | reason | OK? | url | orph? >> -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- >> sh4eb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6a94ad7abd1040a189fd8dd1c71896006a83932a | >> x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a723d543809207dadab172205e9513145c7bd91e | >> or1k | gobject-introspection-1.74.0 | NOK | http://autobuild.buildroot.net/results/d9b197679085a2399508c0e5dce9d4d4dde20e36 | ORPH >> riscv32 | host-binutils-2.37 | NOK | http://autobuild.buildroot.net/results/04eb1c37fe5f60d3cb70181fb2308948e9f599ee | >> sparc | ola-0.10.9 | NOK | http://autobuild.buildroot.net/results/97e2da4b6c89aaaef9dd2bc7152a8b48b3a9d1c2 | >> aarch64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/375f92dff8efb9cc6da60f39e517d75b114ad206 | >> >> >> Classification of failures by reason for 2023.08.x >> -------------------------------------------------- >> >> glibc-2.37-2-g9f8513dc64119... | 1 >> libsepol-3.5 | 1 >> linux-5.10.162-cip24-rt10 | 1 >> linux-6.4.14 | 1 >> ltp-testsuite-20230127 | 1 >> ulog-0389d243352255f6182326... | 1 >> xtables-addons-3.22 | 1 >> >> >> Detail of failures for 2023.08.x >> -------------------------------- >> >> arch | reason | OK? | url | orph? >> -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- >> powerpc64 | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/add81369008b0a4192d9a3f097455cf72afe4027 | >> armeb | libsepol-3.5 | NOK | http://autobuild.buildroot.net/results/277202f78bc1a126f51997ac55aaa1e02bb0977f | >> mips64el | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/5e5b0416a1dc288b7e49db417a09f2d83573167b | ORPH >> armeb | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/e2110fe35b83fdd302b93ceea1c2f79d0968ff62 | ORPH >> x86_64 | ltp-testsuite-20230127 | NOK | http://autobuild.buildroot.net/results/57e919ed5e7d3df5cb6a7c2f6d7b0fd09aab6c1c | >> x86_64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/78fed4877833c9ae083ee24ec9187cddf81e9b08 | >> arceb | xtables-addons-3.22 | NOK | http://autobuild.buildroot.net/results/d6f605cbdf37c200a078d3bec19db3c2f9f2ffea | ORPH >> >> >> Gitlab CI results for 2023-09-25 >> ================================ >> >> Detail of runtime-test failures for master >> ------------------------------------------ >> >> runtime-test | link to the job | orph? >> --------------------------+---------------------------------------------------------------+------ >> TestIPythonPy3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841047 | ORPH >> TestLuaLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841246 | ORPH >> TestLuaLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841320 | ORPH >> TestLuajitLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841253 | ORPH >> TestLuajitLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841325 | ORPH >> TestLuvi | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841618 | ORPH >> TestNodeJSBasic | https://gitlab.com/buildroot.org/buildroot/-/jobs/5157777865 | ORPH >> TestNodeJSModule | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841719 | ORPH >> TestOla | https://gitlab.com/buildroot.org/buildroot/-/jobs/5157777775 | ORPH >> TestPigz | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841963 | ORPH >> TestPolkitInitd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841975 | ORPH >> TestPolkitSystemd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841980 | ORPH >> TestPythonPahoMQTT | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842410 | ORPH >> TestPythonPy3Construct | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842194 | ORPH >> TestPythonPy3Dicttoxml2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842234 | ORPH >> TestPythonPy3Dtschema | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842258 | ORPH >> TestPythonPy3Hkdf | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842316 | ORPH >> TestPythonPy3Passlib | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842416 | ORPH >> TestPythonPy3Pynacl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842456 | ORPH >> TestPythonPy3Pysmb | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842477 | ORPH >> TestPythonPy3Pyyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842497 | ORPH >> TestPythonPy3RSA | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842522 | ORPH >> TestPythonPy3Spake2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842575 | ORPH >> TestStressNG | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842732 | ORPH >> TestWeston | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842839 | ORPH >> TestZfsGlibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842957 | ORPH >> TestZfsMusl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842969 | ORPH >> TestZfsUclibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842979 | ORPH >> >> >> >> -- >> http://autobuild.buildroot.net >> >> >> ------------------------------ >> >> Message: 6 >> Date: Tue, 26 Sep 2023 09:22:34 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Giulio Benetti , S?bastien >> Szymanski >> Subject: [Buildroot] [PATCH] package/mmc-utils: fix build failure due >> to potential overflow >> Message-ID: >> <20230926072234.3639106-1-giulio.benetti at benettiengineering.com> >> Content-Type: text/plain; charset=UTF-8 >> >> Add local patch pending upstream to fix potential overflow on read(). >> This build failure is catched by fortify. >> >> Fixes: >> http://autobuild.buildroot.net/results/a53922c5db3e605a5e81e53c034f45017ebb7db7 >> >> Signed-off-by: Giulio Benetti >> --- >> ...001-mmc-utils-fix-potential-overflow.patch | 49 +++++++++++++++++++ >> 1 file changed, 49 insertions(+) >> create mode 100644 package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch >> >> diff --git a/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch b/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch >> new file mode 100644 >> index 0000000000..d27df91fb0 >> --- /dev/null >> +++ b/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch >> @@ -0,0 +1,49 @@ >> +From e8a84c704583083cc8487ba41d1488faf1210aec Mon Sep 17 00:00:00 2001 >> +From: Giulio Benetti >> +Date: Tue, 26 Sep 2023 09:12:23 +0200 >> +Subject: [PATCH] mmc-utils: fix potential overflow >> +MIME-Version: 1.0 >> +Content-Type: text/plain; charset=UTF-8 >> +Content-Transfer-Encoding: 8bit >> + >> +With fortify enabled gcc throws following error: >> + from mmc_cmds.c:20: >> +In function ?read?, >> + inlined from ?do_rpmb_write_key? at mmc_cmds.c:2233:8: >> +/home/giuliobenetti/br_reproduce/a53922c5db3e605a5e81e53c034f45017ebb7db7/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:38:10: error: ?__read_alias? writing 228 or more bytes into a region of size 32 overflows the destination [-Werror=stringop-overflow=] >> + 38 | return __glibc_fortify (read, __nbytes, sizeof (char), >> + | ^~~~~~~~~~~~~~~ >> +mmc_cmds.c: In function ?do_rpmb_write_key?: >> +mmc_cmds.c:2087:19: note: destination object ?key_mac? of size 32 >> + 2087 | u_int8_t key_mac[32]; >> + | ^~~~~~~ >> +/home/giuliobenetti/br_reproduce/a53922c5db3e605a5e81e53c034f45017ebb7db7/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:26:16: note: in a call to function ?__read_alias? declared with attribute ?access (write_only, 2, 3)? >> + 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, >> + | ^~~~~~~~~~ >> + >> +read() could potentially return more than nbyte so let's check for >> +ret < nbyte. >> + >> +Upstream: https://patchwork.kernel.org/project/linux-mmc/patch/20230926071524.3638706-1-giulio.benetti at benettiengineering.com/ >> + >> +Signed-off-by: Giulio Benetti >> +--- >> + mmc_cmds.c | 2 +- >> + 1 file changed, 1 insertion(+), 1 deletion(-) >> + >> +diff --git a/mmc_cmds.c b/mmc_cmds.c >> +index 10d063d..ae7b876 100644 >> +--- a/mmc_cmds.c >> ++++ b/mmc_cmds.c >> +@@ -2065,7 +2065,7 @@ int do_sanitize(int nargs, char **argv) >> + } \ >> + else if (r > 0) \ >> + ret += r; \ >> +- } while (r != 0 && (size_t)ret != nbyte); \ >> ++ } while (r != 0 && (size_t)ret < nbyte); \ >> + \ >> + ret; \ >> + }) >> +-- >> +2.34.1 >> + >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 7 >> Date: Tue, 26 Sep 2023 10:00:03 +0200 >> From: Peter Korsgaard >> To: Giulio Benetti >> Cc: buildroot at buildroot.org, Thomas De Schampheleire >> >> Subject: Re: [Buildroot] [PATCH 1/1] docs/manual: add section to >> explain how to give credits to a sponsor >> Message-ID: <8734z1weik.fsf at 48ers.dk> >> Content-Type: text/plain >> >>>>>>> "Giulio" == Giulio Benetti writes: >> > Sometimes it happens that a Company or a Physical Person sponsors the >> > creation and/or the upstreaming process of a patch, but at the moment >> > there is no way to give credits to it. In Linux they prepend '+sponsor' >> > to the e-mail of the contributor in both authorship and commit log tag as >> > discussed here[0]. So let's describe in the manual how to do that as a >> > standard. >> >> > [0]: >> > https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ >> >> > Signed-off-by: Giulio Benetti >> >> Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. >> >> -- >> Bye, Peter Korsgaard >> >> >> ------------------------------ >> >> Message: 8 >> Date: Tue, 26 Sep 2023 10:02:46 +0200 >> From: Peter Korsgaard >> To: Jens Maus via buildroot >> Cc: Jens Maus , Bernd Kuhls , >> "Yann E . MORIN" >> Subject: Re: [Buildroot] [PATCH v2] package/nut: package/nut: specify >> --with-user/group when building NUT >> Message-ID: <87y1gtuztl.fsf at 48ers.dk> >> Content-Type: text/plain >> >>>>>>> "Jens" == Jens Maus via buildroot writes: >> > This commit fixes a problem where the NUT package couldn't be >> > used as a NUT server due to the fact that the default group for >> > nobody is "nogroup" and not "nobody" like the internal default >> > of NUT. Thus, when starting a NUT server daemon the daemon starts >> > with incorrect group permissions. This commit fixes this >> > shortcoming by introducing a dedicated 'nut' user and 'nut' group >> > to drop priviledges to it. >> >> > Signed-off-by: Jens Maus >> >> > --- >> > Changes v1 -> v2: >> > - added NUT_USERS with nut/nut user and group (Yann) >> >> > Signed-off-by: Jens Maus >> >> Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. >> >> -- >> Bye, Peter Korsgaard >> >> >> ------------------------------ >> >> Message: 9 >> Date: Tue, 26 Sep 2023 10:03:09 +0200 >> From: Peter Korsgaard >> To: "Yann E. MORIN" >> Cc: Luca Ceresoli , >> buildroot at buildroot.org >> Subject: Re: [Buildroot] [PATCH] package/libpjsip: security bump to >> version 2.13.1 >> Message-ID: <87r0mluzsy.fsf at 48ers.dk> >> Content-Type: text/plain >> >>>>>>> "Peter" == Peter Korsgaard writes: >>>>>>> "Yann" == Yann E MORIN writes: >> >> Peter, All, >> >> On 2023-09-23 11:24 +0200, Peter Korsgaard spake thusly: >> >>> Fixes the following security vulnerability: >> >>> >> >>> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet >> >>> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr >> >>> >> >>> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. >> >>> >> >>> Signed-off-by: Peter Korsgaard >> >>> --- >> >>> ...ull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ------------------- >> >>> ...ull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ---------- >> >> >> $ make check-package >> >> .checkpackageignore:743: ignored file >> >> package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> >> is missing >> >> .checkpackageignore:744: ignored file >> >> package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> >> is missing >> >> >> Applied to master with the above fixed, thanks. >> >> > Argh, thanks! >> >> Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. >> >> -- >> Bye, Peter Korsgaard >> >> >> ------------------------------ >> >> Message: 10 >> Date: Tue, 26 Sep 2023 10:01:37 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] package/libpjsip: >> security bump to version 2.13.1 >> Message-ID: <20230926080416.D94E287824 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=33f7d66c90c9c80683804f3cba61f9d863d82868 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Fixes the following security vulnerability: >> >> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet >> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr >> >> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. >> >> Signed-off-by: Peter Korsgaard >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) >> Signed-off-by: Peter Korsgaard >> --- >> .checkpackageignore | 2 - >> ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- >> ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ >> package/libpjsip/libpjsip.hash | 2 +- >> package/libpjsip/libpjsip.mk | 8 +- >> 5 files changed, 2 insertions(+), 163 deletions(-) >> >> diff --git a/.checkpackageignore b/.checkpackageignore >> index 6adc54891d..81fb9c2d8a 100644 >> --- a/.checkpackageignore >> +++ b/.checkpackageignore >> @@ -812,8 +812,6 @@ package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream >> package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream >> package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream >> package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream >> -package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch Upstream >> -package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch Upstream >> package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream >> package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream >> package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream >> diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> deleted file mode 100644 >> index 01e1878189..0000000000 >> --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> +++ /dev/null >> @@ -1,99 +0,0 @@ >> -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 >> -From: Nanang Izzuddin >> -Date: Tue, 20 Dec 2022 11:39:12 +0700 >> -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w >> - >> -* Fix buffer overread in STUN message decoder >> - >> -* Updates based on comments >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/include/pjnath/stun_msg.h | 4 ++++ >> - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- >> - 2 files changed, 15 insertions(+), 3 deletions(-) >> - >> -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h >> -index b52f95c586..e49f096f3a 100644 >> ---- a/pjnath/include/pjnath/stun_msg.h >> -+++ b/pjnath/include/pjnath/stun_msg.h >> -@@ -442,6 +442,7 @@ typedef enum pj_stun_status >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_msg_hdr >> - { >> - /** >> -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr >> - pj_uint8_t tsx_id[12]; >> - >> - } pj_stun_msg_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_attr_hdr >> - { >> - /** >> -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr >> - pj_uint16_t length; >> - >> - } pj_stun_attr_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index 3def6b3eac..e904a0ba47 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) >> - >> - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ >> - (a)->hdr.length=(pj_uint16_t)(l) >> --#define ATTR_HDR_LEN 4 >> -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) >> - >> - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) >> - { >> -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - status = pj_stun_msg_check(pdu, pdu_len, options); >> - if (status != PJ_SUCCESS) >> - return status; >> -+ } else { >> -+ /* For safety, verify packet length at least */ >> -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; >> -+ if (msg_len > pdu_len || >> -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) >> -+ { >> -+ return PJNATH_EINSTUNMSGLEN; >> -+ } >> - } >> - >> - /* Create the message, copy the header, and convert to host byte order */ >> -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - p_response = NULL; >> - >> - /* Parse attributes */ >> -- while (pdu_len >= 4) { >> -+ while (pdu_len >= ATTR_HDR_LEN) { >> - unsigned attr_type, attr_val_len; >> - const struct attr_desc *adesc; >> - >> -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - attr_val_len = (attr_val_len + 3) & (~3); >> - >> - /* Check length */ >> -- if (pdu_len < attr_val_len) { >> -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { >> - pj_str_t err_msg; >> - char err_msg_buf[80]; >> - >> diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> deleted file mode 100644 >> index 82249a2076..0000000000 >> --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> +++ /dev/null >> @@ -1,54 +0,0 @@ >> -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 >> -From: sauwming >> -Date: Fri, 23 Dec 2022 15:05:28 +0800 >> -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr >> - >> -* Fixed heap buffer overflow when parsing STUN errcode attribute >> - >> -* Also fixed uint parsing >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- >> - 1 file changed, 6 insertions(+), 5 deletions(-) >> - >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index c6b0bdd284..b55d29849a 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -- attr->value = GETVAL32H(buf, 4); >> -- >> - /* Check that the attribute length is valid */ >> - if (attr->hdr.length != 4) >> - return PJNATH_ESTUNINATTRLEN; >> - >> -+ attr->value = GETVAL32H(buf, 4); >> -+ >> - /* Done */ >> - *p_attr = attr; >> - >> -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -+ /* Check that the attribute length is valid */ >> -+ if (attr->hdr.length < 4) >> -+ return PJNATH_ESTUNINATTRLEN; >> -+ >> - attr->err_code = buf[6] * 100 + buf[7]; >> - >> - /* Get pointer to the string in the message */ >> - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); >> - value.slen = attr->hdr.length - 4; >> -- /* Make sure the length is never negative */ >> -- if (value.slen < 0) >> -- value.slen = 0; >> - >> - /* Copy the string to the attribute */ >> - pj_strdup(pool, &attr->reason, &value); >> diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash >> index 9935575567..2edd97bed4 100644 >> --- a/package/libpjsip/libpjsip.hash >> +++ b/package/libpjsip/libpjsip.hash >> @@ -1,3 +1,3 @@ >> # Locally computed >> -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz >> +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz >> sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING >> diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk >> index 24db641446..f97d547fd7 100644 >> --- a/package/libpjsip/libpjsip.mk >> +++ b/package/libpjsip/libpjsip.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -LIBPJSIP_VERSION = 2.13 >> +LIBPJSIP_VERSION = 2.13.1 >> LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz >> LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) >> >> @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip >> LIBPJSIP_INSTALL_STAGING = YES >> LIBPJSIP_MAKE = $(MAKE1) >> >> -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 >> - >> -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 >> - >> LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 >> >> # relocation truncated to fit: R_68K_GOT16O >> >> >> ------------------------------ >> >> Message: 11 >> Date: Tue, 26 Sep 2023 10:01:15 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] package/nut: >> package/nut: specify --with-user/group when building NUT >> Message-ID: <20230926080416.CE0BA87822 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=c99a559d986a72891f3abe5fb5bba9899e12d0c4 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> This commit fixes a problem where the NUT package couldn't be >> used as a NUT server due to the fact that the default group for >> nobody is "nogroup" and not "nobody" like the internal default >> of NUT. Thus, when starting a NUT server daemon the daemon starts >> with incorrect group permissions. This commit fixes this >> shortcoming by introducing a dedicated 'nut' user and 'nut' group >> to drop priviledges to it. >> >> Signed-off-by: Jens Maus >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) >> Signed-off-by: Peter Korsgaard >> --- >> package/nut/nut.mk | 8 +++++++- >> 1 file changed, 7 insertions(+), 1 deletion(-) >> >> diff --git a/package/nut/nut.mk b/package/nut/nut.mk >> index fb98ba04f0..4c322aeb85 100644 >> --- a/package/nut/nut.mk >> +++ b/package/nut/nut.mk >> @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE >> NUT_CONF_OPTS = \ >> --with-altpidpath=/var/run/upsd \ >> --with-dev \ >> - --without-doc >> + --without-doc \ >> + --with-user=nut \ >> + --with-group=nut >> >> NUT_CONF_ENV = \ >> ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ >> @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ >> ac_cv_func_strncasecmp=yes \ >> ax_cv__printf_string_null=yes >> >> +define NUT_USERS >> + nut -1 nut -1 * - - - NUT user >> +endef >> + >> ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) >> NUT_CONF_OPTS += --with-drivers=auto >> else >> >> >> ------------------------------ >> >> Message: 12 >> Date: Tue, 26 Sep 2023 09:55:25 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] docs/manual: add >> section to explain how to give credits to a sponsor >> Message-ID: <20230926080416.C4BB487821 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=abedb15b530a188ae1f5f514dde7dc98ffd3e76c >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Sometimes it happens that a Company or a Physical Person sponsors the >> creation and/or the upstreaming process of a patch, but at the moment >> there is no way to give credits to it. In Linux they prepend '+sponsor' >> to the e-mail of the contributor in both authorship and commit log tag as >> discussed here[0]. So let's describe in the manual how to do that as a >> standard. >> >> [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ >> >> Signed-off-by: Giulio Benetti >> [yann.morin.1998 at free.fr: >> - reword to reference sub-addressing and the RFC >> - move to the "submitting patches" section, that already deals with >> SoB tags >> - differentiate between Your/Their names >> ] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) >> Signed-off-by: Peter Korsgaard >> --- >> docs/manual/contribute.txt | 17 +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> >> diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt >> index 94f1c64496..15fe36aef0 100644 >> --- a/docs/manual/contribute.txt >> +++ b/docs/manual/contribute.txt >> @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. >> See http://developercertificate.org/[the Developer Certificate of >> Origin] for details. >> >> +To give credits to who sponsored the creation of a patch or the process of >> +upstreaming it, you may use >> +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for >> +your git identity (i.e. what is used as commit author and email +From:+ >> +field, as well as your Signed-off-by tag); add suffix to the local part, >> +separated from it by a plus `+` sign. E.g.: >> + >> +* for a company which sponsored the submitted work, use the company name >> + as the detail (suffix) part: >> ++ >> +`Your-Name Your-Surname ` >> + >> +* for an individual who sponsored who sponsored the submitted work, use >> + their name and surname: >> ++ >> +`Your-Name Your-Surname ` >> + >> When adding new packages, you should submit every package in a >> separate patch. This patch should have the update to >> +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the >> >> >> ------------------------------ >> >> Message: 13 >> Date: Tue, 26 Sep 2023 10:01:19 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/nut: >> package/nut: specify --with-user/group when building NUT >> Message-ID: <20230926080604.4ECB187844 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=cb7613ffb7c1253ae05ef9b5cf6fb77bd421893f >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> This commit fixes a problem where the NUT package couldn't be >> used as a NUT server due to the fact that the default group for >> nobody is "nogroup" and not "nobody" like the internal default >> of NUT. Thus, when starting a NUT server daemon the daemon starts >> with incorrect group permissions. This commit fixes this >> shortcoming by introducing a dedicated 'nut' user and 'nut' group >> to drop priviledges to it. >> >> Signed-off-by: Jens Maus >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) >> Signed-off-by: Peter Korsgaard >> --- >> package/nut/nut.mk | 8 +++++++- >> 1 file changed, 7 insertions(+), 1 deletion(-) >> >> diff --git a/package/nut/nut.mk b/package/nut/nut.mk >> index fb98ba04f0..4c322aeb85 100644 >> --- a/package/nut/nut.mk >> +++ b/package/nut/nut.mk >> @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE >> NUT_CONF_OPTS = \ >> --with-altpidpath=/var/run/upsd \ >> --with-dev \ >> - --without-doc >> + --without-doc \ >> + --with-user=nut \ >> + --with-group=nut >> >> NUT_CONF_ENV = \ >> ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ >> @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ >> ac_cv_func_strncasecmp=yes \ >> ax_cv__printf_string_null=yes >> >> +define NUT_USERS >> + nut -1 nut -1 * - - - NUT user >> +endef >> + >> ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) >> NUT_CONF_OPTS += --with-drivers=auto >> else >> >> >> ------------------------------ >> >> Message: 14 >> Date: Tue, 26 Sep 2023 09:55:16 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] docs/manual: add >> section to explain how to give credits to a sponsor >> Message-ID: <20230926080604.42D8387842 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=175260e1e7ba60d4a427d3bf52a0fb342011d530 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Sometimes it happens that a Company or a Physical Person sponsors the >> creation and/or the upstreaming process of a patch, but at the moment >> there is no way to give credits to it. In Linux they prepend '+sponsor' >> to the e-mail of the contributor in both authorship and commit log tag as >> discussed here[0]. So let's describe in the manual how to do that as a >> standard. >> >> [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ >> >> Signed-off-by: Giulio Benetti >> [yann.morin.1998 at free.fr: >> - reword to reference sub-addressing and the RFC >> - move to the "submitting patches" section, that already deals with >> SoB tags >> - differentiate between Your/Their names >> ] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) >> Signed-off-by: Peter Korsgaard >> --- >> docs/manual/contribute.txt | 17 +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> >> diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt >> index 94f1c64496..15fe36aef0 100644 >> --- a/docs/manual/contribute.txt >> +++ b/docs/manual/contribute.txt >> @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. >> See http://developercertificate.org/[the Developer Certificate of >> Origin] for details. >> >> +To give credits to who sponsored the creation of a patch or the process of >> +upstreaming it, you may use >> +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for >> +your git identity (i.e. what is used as commit author and email +From:+ >> +field, as well as your Signed-off-by tag); add suffix to the local part, >> +separated from it by a plus `+` sign. E.g.: >> + >> +* for a company which sponsored the submitted work, use the company name >> + as the detail (suffix) part: >> ++ >> +`Your-Name Your-Surname ` >> + >> +* for an individual who sponsored who sponsored the submitted work, use >> + their name and surname: >> ++ >> +`Your-Name Your-Surname ` >> + >> When adding new packages, you should submit every package in a >> separate patch. This patch should have the update to >> +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the >> >> >> ------------------------------ >> >> Message: 15 >> Date: Tue, 26 Sep 2023 10:01:28 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/libpjsip: >> security bump to version 2.13.1 >> Message-ID: <20230926080604.5C7CE87845 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=7efe2b30fe58b021dd09672ca4b7f1ea4e1666a9 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Fixes the following security vulnerability: >> >> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet >> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr >> >> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. >> >> Signed-off-by: Peter Korsgaard >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) >> Signed-off-by: Peter Korsgaard >> --- >> .checkpackageignore | 2 - >> ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- >> ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ >> package/libpjsip/libpjsip.hash | 2 +- >> package/libpjsip/libpjsip.mk | 8 +- >> 5 files changed, 2 insertions(+), 163 deletions(-) >> >> diff --git a/.checkpackageignore b/.checkpackageignore >> index b6b9ba8bf1..428ff03233 100644 >> --- a/.checkpackageignore >> +++ b/.checkpackageignore >> @@ -754,8 +754,6 @@ package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream >> package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream >> package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream >> package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream >> -package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch Upstream >> -package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch Upstream >> package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream >> package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream >> package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream >> diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> deleted file mode 100644 >> index 01e1878189..0000000000 >> --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> +++ /dev/null >> @@ -1,99 +0,0 @@ >> -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 >> -From: Nanang Izzuddin >> -Date: Tue, 20 Dec 2022 11:39:12 +0700 >> -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w >> - >> -* Fix buffer overread in STUN message decoder >> - >> -* Updates based on comments >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/include/pjnath/stun_msg.h | 4 ++++ >> - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- >> - 2 files changed, 15 insertions(+), 3 deletions(-) >> - >> -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h >> -index b52f95c586..e49f096f3a 100644 >> ---- a/pjnath/include/pjnath/stun_msg.h >> -+++ b/pjnath/include/pjnath/stun_msg.h >> -@@ -442,6 +442,7 @@ typedef enum pj_stun_status >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_msg_hdr >> - { >> - /** >> -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr >> - pj_uint8_t tsx_id[12]; >> - >> - } pj_stun_msg_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_attr_hdr >> - { >> - /** >> -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr >> - pj_uint16_t length; >> - >> - } pj_stun_attr_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index 3def6b3eac..e904a0ba47 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) >> - >> - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ >> - (a)->hdr.length=(pj_uint16_t)(l) >> --#define ATTR_HDR_LEN 4 >> -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) >> - >> - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) >> - { >> -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - status = pj_stun_msg_check(pdu, pdu_len, options); >> - if (status != PJ_SUCCESS) >> - return status; >> -+ } else { >> -+ /* For safety, verify packet length at least */ >> -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; >> -+ if (msg_len > pdu_len || >> -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) >> -+ { >> -+ return PJNATH_EINSTUNMSGLEN; >> -+ } >> - } >> - >> - /* Create the message, copy the header, and convert to host byte order */ >> -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - p_response = NULL; >> - >> - /* Parse attributes */ >> -- while (pdu_len >= 4) { >> -+ while (pdu_len >= ATTR_HDR_LEN) { >> - unsigned attr_type, attr_val_len; >> - const struct attr_desc *adesc; >> - >> -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - attr_val_len = (attr_val_len + 3) & (~3); >> - >> - /* Check length */ >> -- if (pdu_len < attr_val_len) { >> -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { >> - pj_str_t err_msg; >> - char err_msg_buf[80]; >> - >> diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> deleted file mode 100644 >> index 82249a2076..0000000000 >> --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> +++ /dev/null >> @@ -1,54 +0,0 @@ >> -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 >> -From: sauwming >> -Date: Fri, 23 Dec 2022 15:05:28 +0800 >> -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr >> - >> -* Fixed heap buffer overflow when parsing STUN errcode attribute >> - >> -* Also fixed uint parsing >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- >> - 1 file changed, 6 insertions(+), 5 deletions(-) >> - >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index c6b0bdd284..b55d29849a 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -- attr->value = GETVAL32H(buf, 4); >> -- >> - /* Check that the attribute length is valid */ >> - if (attr->hdr.length != 4) >> - return PJNATH_ESTUNINATTRLEN; >> - >> -+ attr->value = GETVAL32H(buf, 4); >> -+ >> - /* Done */ >> - *p_attr = attr; >> - >> -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -+ /* Check that the attribute length is valid */ >> -+ if (attr->hdr.length < 4) >> -+ return PJNATH_ESTUNINATTRLEN; >> -+ >> - attr->err_code = buf[6] * 100 + buf[7]; >> - >> - /* Get pointer to the string in the message */ >> - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); >> - value.slen = attr->hdr.length - 4; >> -- /* Make sure the length is never negative */ >> -- if (value.slen < 0) >> -- value.slen = 0; >> - >> - /* Copy the string to the attribute */ >> - pj_strdup(pool, &attr->reason, &value); >> diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash >> index 9935575567..2edd97bed4 100644 >> --- a/package/libpjsip/libpjsip.hash >> +++ b/package/libpjsip/libpjsip.hash >> @@ -1,3 +1,3 @@ >> # Locally computed >> -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz >> +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz >> sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING >> diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk >> index 24db641446..f97d547fd7 100644 >> --- a/package/libpjsip/libpjsip.mk >> +++ b/package/libpjsip/libpjsip.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -LIBPJSIP_VERSION = 2.13 >> +LIBPJSIP_VERSION = 2.13.1 >> LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz >> LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) >> >> @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip >> LIBPJSIP_INSTALL_STAGING = YES >> LIBPJSIP_MAKE = $(MAKE1) >> >> -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 >> - >> -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 >> - >> LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 >> >> # relocation truncated to fit: R_68K_GOT16O >> >> >> ------------------------------ >> >> Message: 16 >> Date: Tue, 26 Sep 2023 10:53:16 +0200 >> From: Peter Korsgaard >> To: "Yann E. MORIN" >> Cc: Jens Maus , Daniel Price >> , Martin Bark , >> buildroot at buildroot.org >> Subject: Re: [Buildroot] [PATCH v2] package/nodejs: fix parallel build >> Message-ID: <87msx9uxhf.fsf at 48ers.dk> >> Content-Type: text/plain >> >>>>>>> "Yann" == Yann E MORIN writes: >> > Jens, All, >> > On 2023-09-23 18:04 +0200, Jens Maus via buildroot spake thusly: >> >> In ninja-based nodejs builds performing parallel builds using "make -jX" >> >> is not working during buildroot initiated builds because the JOBS >> >> variable is not set in the MAKE_OPTS variables in nodejs.mk. This commit >> >> remedies the issue by setting JOBS to BR2_JLEVEL. >> >> > I was very confused that nodejs would not build in parallel; that would >> > have made for very, very,very long builds. And indeed, it does build in >> > parallel, in fact. >> >> > However, what it does, is use as many CPUs as are available, without >> > accounting for the value set by the user in BR2_JLEVEL, thus >> > overshooting the limits set by the user. > If the BR2_JLEVEL value is not explicitly mentioned, the JOBS value for > nodejs will still remain at 0 even when using make -jN. Tested with the > tag 2023.02.5 btw. Without the BR2_JLEVEL value, my system ran into > memory issue while compiling nodejs with the following dmesg log > > |Out of memory: Kill process 23747 (cc1plus) score 15 or sacrifice > child Killed process 23747, UID 2243, (cc1plus) total-vm:214456kB, > anon-rss:178936kB, file-rss:5908kB| Changing the mail subject line and resending. And also adding more info below. It's a 40 CPUs server with 64G RAM. When I try to build nodejs with `make nodejs V=1`, the server slows down and eventually hangs with dmesg log similar to above. I am wondering if anybody faces this!! I don't face the issue when the BR2_JLEVEL is set to max CPUs (40). > >> > So, I reworded the whoe commit log to explain that. >> >> > Applied to master, thanks. >> >> Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. >> >> -- >> Bye, Peter Korsgaard >> >> >> ------------------------------ >> >> Message: 17 >> Date: Tue, 26 Sep 2023 10:51:09 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] package/nodejs: fix >> parallel build >> Message-ID: <20230926090112.255BA806AE at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=bc6771657fcb8f7042450567360333f18d980b99 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Unless told otherwise, ninja will spawn as many jobs as there are CPU >> (plus 2). Nodejs is built with ninja, but it is a generic package, so >> there is no variable (like with cmake-package) that passes the proper >> number of parallel jobs as configured by the user. >> >> As a consequence, the nodejs build will use as many CPU as are >> available, possibly overcommitting the rsources the user expected to be >> used. >> >> Set the JOBS variableto limit that number. >> >> Signed-off-by: Jens Maus >> [yann.morin.1998 at free.fr: reword commit log] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) >> Signed-off-by: Peter Korsgaard >> --- >> package/nodejs/nodejs.mk | 6 ++++-- >> 1 file changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk >> index fe629ada21..4e70bd71a3 100644 >> --- a/package/nodejs/nodejs.mk >> +++ b/package/nodejs/nodejs.mk >> @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ >> CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ >> LDFLAGS.host="$(HOST_LDFLAGS)" \ >> NO_LOAD=cctest.target.mk \ >> - PATH=$(@D)/bin:$(BR_PATH) >> + PATH=$(@D)/bin:$(BR_PATH) \ >> + JOBS=$(BR2_JLEVEL) >> >> NODEJS_MAKE_OPTS = \ >> $(TARGET_CONFIGURE_OPTS) \ >> NO_LOAD=cctest.target.mk \ >> PATH=$(@D)/bin:$(BR_PATH) \ >> LDFLAGS="$(NODEJS_LDFLAGS)" \ >> - LD="$(TARGET_CXX)" >> + LD="$(TARGET_CXX)" \ >> + JOBS=$(BR2_JLEVEL) >> >> # nodejs's build system uses python which can be a symlink to an unsupported >> # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by >> >> >> ------------------------------ >> >> Message: 18 >> Date: Tue, 26 Sep 2023 10:50:22 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/nodejs: fix >> parallel build >> Message-ID: <20230926090112.7CD23806AE at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=9c4ef96fe8f213e713afee84dc6e642b1987e9fe >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Unless told otherwise, ninja will spawn as many jobs as there are CPU >> (plus 2). Nodejs is built with ninja, but it is a generic package, so >> there is no variable (like with cmake-package) that passes the proper >> number of parallel jobs as configured by the user. >> >> As a consequence, the nodejs build will use as many CPU as are >> available, possibly overcommitting the rsources the user expected to be >> used. >> >> Set the JOBS variableto limit that number. >> >> Signed-off-by: Jens Maus >> [yann.morin.1998 at free.fr: reword commit log] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) >> Signed-off-by: Peter Korsgaard >> --- >> package/nodejs/nodejs.mk | 6 ++++-- >> 1 file changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk >> index fe629ada21..4e70bd71a3 100644 >> --- a/package/nodejs/nodejs.mk >> +++ b/package/nodejs/nodejs.mk >> @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ >> CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ >> LDFLAGS.host="$(HOST_LDFLAGS)" \ >> NO_LOAD=cctest.target.mk \ >> - PATH=$(@D)/bin:$(BR_PATH) >> + PATH=$(@D)/bin:$(BR_PATH) \ >> + JOBS=$(BR2_JLEVEL) >> >> NODEJS_MAKE_OPTS = \ >> $(TARGET_CONFIGURE_OPTS) \ >> NO_LOAD=cctest.target.mk \ >> PATH=$(@D)/bin:$(BR_PATH) \ >> LDFLAGS="$(NODEJS_LDFLAGS)" \ >> - LD="$(TARGET_CXX)" >> + LD="$(TARGET_CXX)" \ >> + JOBS=$(BR2_JLEVEL) >> >> # nodejs's build system uses python which can be a symlink to an unsupported >> # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by >> >> >> ------------------------------ >> >> Message: 19 >> Date: Tue, 26 Sep 2023 10:51:16 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] package/nodejs: fix >> parallel build >> Message-ID: <20230926090230.69E1D80DC9 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=c132c520872ca3435e7c4218da498358fe0e3053 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> Unless told otherwise, ninja will spawn as many jobs as there are CPU >> (plus 2). Nodejs is built with ninja, but it is a generic package, so >> there is no variable (like with cmake-package) that passes the proper >> number of parallel jobs as configured by the user. >> >> As a consequence, the nodejs build will use as many CPU as are >> available, possibly overcommitting the rsources the user expected to be >> used. >> >> Set the JOBS variableto limit that number. >> >> Signed-off-by: Jens Maus >> [yann.morin.1998 at free.fr: reword commit log] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) >> Signed-off-by: Peter Korsgaard >> --- >> package/nodejs/nodejs.mk | 6 ++++-- >> 1 file changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk >> index 225b371786..ff32ae6c13 100644 >> --- a/package/nodejs/nodejs.mk >> +++ b/package/nodejs/nodejs.mk >> @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ >> CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ >> LDFLAGS.host="$(HOST_LDFLAGS)" \ >> NO_LOAD=cctest.target.mk \ >> - PATH=$(@D)/bin:$(BR_PATH) >> + PATH=$(@D)/bin:$(BR_PATH) \ >> + JOBS=$(BR2_JLEVEL) >> >> NODEJS_MAKE_OPTS = \ >> $(TARGET_CONFIGURE_OPTS) \ >> NO_LOAD=cctest.target.mk \ >> PATH=$(@D)/bin:$(BR_PATH) \ >> LDFLAGS="$(NODEJS_LDFLAGS)" \ >> - LD="$(TARGET_CXX)" >> + LD="$(TARGET_CXX)" \ >> + JOBS=$(BR2_JLEVEL) >> >> # nodejs's build system uses python which can be a symlink to an unsupported >> # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by >> >> >> ------------------------------ >> >> Message: 20 >> Date: Tue, 26 Sep 2023 10:01:09 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] package/nut: >> package/nut: specify --with-user/group when building NUT >> Message-ID: <20230926090230.58DDD80DA8 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=939ff67d15b7db28d67473b1503d1870578a83ca >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> This commit fixes a problem where the NUT package couldn't be >> used as a NUT server due to the fact that the default group for >> nobody is "nogroup" and not "nobody" like the internal default >> of NUT. Thus, when starting a NUT server daemon the daemon starts >> with incorrect group permissions. This commit fixes this >> shortcoming by introducing a dedicated 'nut' user and 'nut' group >> to drop priviledges to it. >> >> Signed-off-by: Jens Maus >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) >> Signed-off-by: Peter Korsgaard >> --- >> package/nut/nut.mk | 8 +++++++- >> 1 file changed, 7 insertions(+), 1 deletion(-) >> >> diff --git a/package/nut/nut.mk b/package/nut/nut.mk >> index fb98ba04f0..4c322aeb85 100644 >> --- a/package/nut/nut.mk >> +++ b/package/nut/nut.mk >> @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE >> NUT_CONF_OPTS = \ >> --with-altpidpath=/var/run/upsd \ >> --with-dev \ >> - --without-doc >> + --without-doc \ >> + --with-user=nut \ >> + --with-group=nut >> >> NUT_CONF_ENV = \ >> ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ >> @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ >> ac_cv_func_strncasecmp=yes \ >> ax_cv__printf_string_null=yes >> >> +define NUT_USERS >> + nut -1 nut -1 * - - - NUT user >> +endef >> + >> ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) >> NUT_CONF_OPTS += --with-drivers=auto >> else >> >> >> ------------------------------ >> >> Message: 21 >> Date: Tue, 26 Sep 2023 10:02:05 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] package/libpjsip: >> security bump to version 2.13.1 >> Message-ID: <20230926090230.6169880DB3 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=243ea6eb2927bdb689efbd3e61a1076e887944f3 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> Fixes the following security vulnerability: >> >> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet >> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr >> >> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. >> >> Signed-off-by: Peter Korsgaard >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) >> Signed-off-by: Peter Korsgaard >> --- >> ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- >> ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ >> package/libpjsip/libpjsip.hash | 2 +- >> package/libpjsip/libpjsip.mk | 8 +- >> 4 files changed, 2 insertions(+), 161 deletions(-) >> >> diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> deleted file mode 100644 >> index 01e1878189..0000000000 >> --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> +++ /dev/null >> @@ -1,99 +0,0 @@ >> -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 >> -From: Nanang Izzuddin >> -Date: Tue, 20 Dec 2022 11:39:12 +0700 >> -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w >> - >> -* Fix buffer overread in STUN message decoder >> - >> -* Updates based on comments >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/include/pjnath/stun_msg.h | 4 ++++ >> - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- >> - 2 files changed, 15 insertions(+), 3 deletions(-) >> - >> -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h >> -index b52f95c586..e49f096f3a 100644 >> ---- a/pjnath/include/pjnath/stun_msg.h >> -+++ b/pjnath/include/pjnath/stun_msg.h >> -@@ -442,6 +442,7 @@ typedef enum pj_stun_status >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_msg_hdr >> - { >> - /** >> -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr >> - pj_uint8_t tsx_id[12]; >> - >> - } pj_stun_msg_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_attr_hdr >> - { >> - /** >> -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr >> - pj_uint16_t length; >> - >> - } pj_stun_attr_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index 3def6b3eac..e904a0ba47 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) >> - >> - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ >> - (a)->hdr.length=(pj_uint16_t)(l) >> --#define ATTR_HDR_LEN 4 >> -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) >> - >> - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) >> - { >> -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - status = pj_stun_msg_check(pdu, pdu_len, options); >> - if (status != PJ_SUCCESS) >> - return status; >> -+ } else { >> -+ /* For safety, verify packet length at least */ >> -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; >> -+ if (msg_len > pdu_len || >> -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) >> -+ { >> -+ return PJNATH_EINSTUNMSGLEN; >> -+ } >> - } >> - >> - /* Create the message, copy the header, and convert to host byte order */ >> -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - p_response = NULL; >> - >> - /* Parse attributes */ >> -- while (pdu_len >= 4) { >> -+ while (pdu_len >= ATTR_HDR_LEN) { >> - unsigned attr_type, attr_val_len; >> - const struct attr_desc *adesc; >> - >> -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - attr_val_len = (attr_val_len + 3) & (~3); >> - >> - /* Check length */ >> -- if (pdu_len < attr_val_len) { >> -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { >> - pj_str_t err_msg; >> - char err_msg_buf[80]; >> - >> diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> deleted file mode 100644 >> index 82249a2076..0000000000 >> --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> +++ /dev/null >> @@ -1,54 +0,0 @@ >> -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 >> -From: sauwming >> -Date: Fri, 23 Dec 2022 15:05:28 +0800 >> -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr >> - >> -* Fixed heap buffer overflow when parsing STUN errcode attribute >> - >> -* Also fixed uint parsing >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- >> - 1 file changed, 6 insertions(+), 5 deletions(-) >> - >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index c6b0bdd284..b55d29849a 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -- attr->value = GETVAL32H(buf, 4); >> -- >> - /* Check that the attribute length is valid */ >> - if (attr->hdr.length != 4) >> - return PJNATH_ESTUNINATTRLEN; >> - >> -+ attr->value = GETVAL32H(buf, 4); >> -+ >> - /* Done */ >> - *p_attr = attr; >> - >> -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -+ /* Check that the attribute length is valid */ >> -+ if (attr->hdr.length < 4) >> -+ return PJNATH_ESTUNINATTRLEN; >> -+ >> - attr->err_code = buf[6] * 100 + buf[7]; >> - >> - /* Get pointer to the string in the message */ >> - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); >> - value.slen = attr->hdr.length - 4; >> -- /* Make sure the length is never negative */ >> -- if (value.slen < 0) >> -- value.slen = 0; >> - >> - /* Copy the string to the attribute */ >> - pj_strdup(pool, &attr->reason, &value); >> diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash >> index 9935575567..2edd97bed4 100644 >> --- a/package/libpjsip/libpjsip.hash >> +++ b/package/libpjsip/libpjsip.hash >> @@ -1,3 +1,3 @@ >> # Locally computed >> -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz >> +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz >> sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING >> diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk >> index 24db641446..f97d547fd7 100644 >> --- a/package/libpjsip/libpjsip.mk >> +++ b/package/libpjsip/libpjsip.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -LIBPJSIP_VERSION = 2.13 >> +LIBPJSIP_VERSION = 2.13.1 >> LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz >> LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) >> >> @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip >> LIBPJSIP_INSTALL_STAGING = YES >> LIBPJSIP_MAKE = $(MAKE1) >> >> -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 >> - >> -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 >> - >> LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 >> >> # relocation truncated to fit: R_68K_GOT16O >> >> >> ------------------------------ >> >> Message: 22 >> Date: Tue, 26 Sep 2023 09:55:31 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] docs/manual: add >> section to explain how to give credits to a sponsor >> Message-ID: <20230926090230.4E97180DA6 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=7da37962ced51497d9060c845b9f215fc67ec070 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> Sometimes it happens that a Company or a Physical Person sponsors the >> creation and/or the upstreaming process of a patch, but at the moment >> there is no way to give credits to it. In Linux they prepend '+sponsor' >> to the e-mail of the contributor in both authorship and commit log tag as >> discussed here[0]. So let's describe in the manual how to do that as a >> standard. >> >> [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ >> >> Signed-off-by: Giulio Benetti >> [yann.morin.1998 at free.fr: >> - reword to reference sub-addressing and the RFC >> - move to the "submitting patches" section, that already deals with >> SoB tags >> - differentiate between Your/Their names >> ] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) >> Signed-off-by: Peter Korsgaard >> --- >> docs/manual/contribute.txt | 17 +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> >> diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt >> index 94f1c64496..15fe36aef0 100644 >> --- a/docs/manual/contribute.txt >> +++ b/docs/manual/contribute.txt >> @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. >> See http://developercertificate.org/[the Developer Certificate of >> Origin] for details. >> >> +To give credits to who sponsored the creation of a patch or the process of >> +upstreaming it, you may use >> +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for >> +your git identity (i.e. what is used as commit author and email +From:+ >> +field, as well as your Signed-off-by tag); add suffix to the local part, >> +separated from it by a plus `+` sign. E.g.: >> + >> +* for a company which sponsored the submitted work, use the company name >> + as the detail (suffix) part: >> ++ >> +`Your-Name Your-Surname ` >> + >> +* for an individual who sponsored who sponsored the submitted work, use >> + their name and surname: >> ++ >> +`Your-Name Your-Surname ` >> + >> When adding new packages, you should submit every package in a >> separate patch. This patch should have the update to >> +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the >> >> >> ------------------------------ >> >> Message: 23 >> Date: Tue, 26 Sep 2023 11:11:57 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Thomas Petazzoni , Maxime Chevallier >> , Giulio Benetti >> , "Yann E . MORIN" >> , Pierre Floury >> Subject: [Buildroot] [PATCH v2 3/4] package/linux-tools: add rtla >> Message-ID: >> <20230926091158.3767645-3-giulio.benetti at benettiengineering.com> >> >> From: Maxime Chevallier >> >> The RealTime Linux Analysis tool includes a set of commands that relies >> on the osnoise and timerlat tracers from the ftrace kernel subsystem, >> allowing to analyze the lantency sources coming from the hardware and >> the kernel itself. >> >> This tool was introduced in v5.17, and relies on libtracefs and >> libtraceevent, although libtraceevent itself is already a dependency for >> libtracefs. >> >> Signed-off-by: Maxime Chevallier >> [Giulio: fix install with recent Linux versions] >> Signed-off-by: Giulio Benetti >> --- >> Giulio: >> V1->V2: >> * fix install with recent Linux versions >> --- >> DEVELOPERS | 1 + >> package/linux-tools/Config.in | 10 +++++++ >> package/linux-tools/linux-tool-rtla.mk.in | 36 +++++++++++++++++++++++ >> 3 files changed, 47 insertions(+) >> create mode 100644 package/linux-tools/linux-tool-rtla.mk.in >> >> diff --git a/DEVELOPERS b/DEVELOPERS >> index 835c269461..31bfc67c8a 100644 >> --- a/DEVELOPERS >> +++ b/DEVELOPERS >> @@ -2099,6 +2099,7 @@ F: package/timescaledb/ >> N: Maxime Chevallier >> F: package/libtraceevent/ >> F: package/libtracefs >> +F: package/linux-tools/linux-tool-rtla.mk.in >> >> N: Michael Durrant >> F: board/arcturus/ >> diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in >> index 451b0eeff5..63e2796e45 100644 >> --- a/package/linux-tools/Config.in >> +++ b/package/linux-tools/Config.in >> @@ -102,6 +102,16 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3 >> >> endif >> >> +config BR2_PACKAGE_LINUX_TOOLS_RTLA >> + bool "rtla" >> + select BR2_PACKAGE_LINUX_TOOLS >> + select BR2_PACKAGE_LIBTRACEFS >> + help >> + Linux 5.17 and later has 2 new tracers, osnoise and timerlat. >> + There tracers allow performing latency analysis, for which >> + the rtla tool provides wrapper commands to visualize and >> + extrace latency traces and reports. >> + >> config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS >> bool"selftests" >> depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash >> diff --git a/package/linux-tools/linux-tool-rtla.mk.in b/package/linux-tools/linux-tool-rtla.mk.in >> new file mode 100644 >> index 0000000000..a14571bb1c >> --- /dev/null >> +++ b/package/linux-tools/linux-tool-rtla.mk.in >> @@ -0,0 +1,36 @@ >> +################################################################################ >> +# >> +# rtla >> +# >> +################################################################################ >> + >> +LINUX_TOOLS += rtla >> + >> +RTLA_DEPENDENCIES = host-pkgconf libtracefs >> +RTLA_MAKE_OPTS = $(LINUX_MAKE_FLAGS) \ >> + CC=$(TARGET_CC) \ >> + LDFLAGS="$(TARGET_LDFLAGS)" \ >> + PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig >> + >> +define RTLA_BUILD_CMDS >> + $(Q)if ! grep install $(LINUX_DIR)/tools/tracing/rtla/Makefile >/dev/null 2>&1 ; then \ >> + echo "Your kernel version is too old and does not implement the rtla tool." ; \ >> + echo "At least kernel 5.17 must be used." ; \ >> + exit 1 ; \ >> + fi >> + >> + $(TARGET_MAKE_ENV) \ >> + $(MAKE) $(RTLA_MAKE_OPTS) \ >> + -C $(LINUX_DIR)/tools/tracing rtla >> +endef >> + >> +# make rtla_install build and install by default documentation using rst2man >> +# but it's not available in Buildroot and we don't want manual files in target >> +# folder so let's simply install the resulting rtla binary and create symlinks >> +# like Linux does in its tools/tracing/rtla/Makefile >> +define RTLA_INSTALL_TARGET_CMDS >> + $(INSTALL) -m 0755 -D $(LINUX_DIR)/tools/tracing/rtla/rtla $(TARGET_DIR)/usr/bin >> + ln -sf rtla $(TARGET_DIR)/usr/bin/osnoise >> + ln -sf rtla $(TARGET_DIR)/usr/bin/hwnoise >> + ln -sf rtla $(TARGET_DIR)/usr/bin/timerlat >> +endef >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 24 >> Date: Tue, 26 Sep 2023 11:11:58 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Thomas Petazzoni , Maxime Chevallier >> , Giulio Benetti >> , "Yann E . MORIN" >> , Pierre Floury >> Subject: [Buildroot] [PATCH v2 4/4] package/trace-cmd: bump to 3.1.7 >> Message-ID: >> <20230926091158.3767645-4-giulio.benetti at benettiengineering.com> >> >> From: Maxime Chevallier >> >> trace-cmd's dependencies 'libtracefs' and 'libtraceevent' were split >> into dedicated projects, maintained outside of trace-cmd. >> >> This release, on top of bumping the version, adds this new dependencies. >> >> Signed-off-by: Maxime Chevallier >> [Giulio: bump to version 3.1.7] >> Signed-off-by: Giulio Benetti >> --- >> Giulio: >> V1->V2: >> * bump to version 3.1.7 >> --- >> package/trace-cmd/Config.in | 2 ++ >> package/trace-cmd/trace-cmd.hash | 2 +- >> package/trace-cmd/trace-cmd.mk | 6 ++++-- >> 3 files changed, 7 insertions(+), 3 deletions(-) >> >> diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in >> index 2d0accd7ae..00b9ebbd9a 100644 >> --- a/package/trace-cmd/Config.in >> +++ b/package/trace-cmd/Config.in >> @@ -4,6 +4,8 @@ config BR2_PACKAGE_TRACE_CMD >> depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL >> depends on BR2_USE_MMU # fork() >> depends on !BR2_STATIC_LIBS # dlopen() >> + select BR2_PACKAGE_LIBTRACEEVENT >> + select BR2_PACKAGE_LIBTRACEFS >> help >> Command line reader for ftrace. >> >> diff --git a/package/trace-cmd/trace-cmd.hash b/package/trace-cmd/trace-cmd.hash >> index 4d39e4d5ea..6edcaf0e1c 100644 >> --- a/package/trace-cmd/trace-cmd.hash >> +++ b/package/trace-cmd/trace-cmd.hash >> @@ -1,5 +1,5 @@ >> # Locally computed >> -sha256 a74d9ade2633b88d0ad199360d51996427e23f4835594133e456cd6e3bd3a651 trace-cmd-v2.9.7.tar.gz >> +sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz >> sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING >> sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB >> sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 >> diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk >> index 52bb99036c..3d4d88c964 100644 >> --- a/package/trace-cmd/trace-cmd.mk >> +++ b/package/trace-cmd/trace-cmd.mk >> @@ -4,14 +4,14 @@ >> # >> ################################################################################ >> >> -TRACE_CMD_VERSION = 2.9.7 >> +TRACE_CMD_VERSION = 3.1.7 >> TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz >> TRACE_CMD_SITE = \ >> https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot >> TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 >> TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 >> >> -TRACE_CMD_DEPENDENCIES = host-pkgconf >> +TRACE_CMD_DEPENDENCIES = host-pkgconf libtracefs libtraceevent >> TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc >> >> ifeq ($(BR2_PACKAGE_AUDIT),y) >> @@ -34,6 +34,8 @@ ifeq ($(BR2_sparc64),y) >> TRACE_CMD_CFLAGS += -fPIC >> endif >> >> +TRACE_CMD_CFLAGS += $($(HOST_DIR)/bin/pkg-config --cflags libtracefs) >> + >> # trace-cmd use CPPFLAGS to add some extra flags. >> # But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE >> # that causes build problems. >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 25 >> Date: Tue, 26 Sep 2023 11:11:55 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Thomas Petazzoni , Maxime Chevallier >> , Giulio Benetti >> , "Yann E . MORIN" >> , Pierre Floury >> Subject: [Buildroot] [PATCH v2 1/4] package/libtraceevent: new package >> Message-ID: >> <20230926091158.3767645-1-giulio.benetti at benettiengineering.com> >> >> From: Maxime Chevallier >> >> Introduce the libtraceevent library, that used to be bundled with the >> trace-cmd tool. This library is now used by several tools and libraries >> such as trace-cmd, libtracefs and rtla. >> >> This package tries to install libraries in /usr/local/lib by default, >> hence the redefinition of the "prefix" variable, so that the library >> gets installed in "/usr/lib" instead. >> >> The same applies to the pkgconfig handling of the proved Makefile, which >> installs the .pc files in the /usr/local area by default, hence the >> redefinition of the pkgconfig_dir to either the correct directory within the >> staging area, or to empty value for the target to avoid installing the .pc >> in that case. >> >> Signed-off-by: Maxime Chevallier >> [Giulio: bump version to 1.7.3 and add hash file] >> Signed-off-by: Giulio Benetti >> --- >> Giulio: >> V1->V2: >> * bump to version 1.7.3 >> * add hash file >> --- >> DEVELOPERS | 3 +++ >> package/Config.in | 1 + >> package/libtraceevent/Config.in | 9 +++++++ >> package/libtraceevent/libtraceevent.hash | 4 +++ >> package/libtraceevent/libtraceevent.mk | 33 ++++++++++++++++++++++++ >> 5 files changed, 50 insertions(+) >> create mode 100644 package/libtraceevent/Config.in >> create mode 100644 package/libtraceevent/libtraceevent.hash >> create mode 100644 package/libtraceevent/libtraceevent.mk >> >> diff --git a/DEVELOPERS b/DEVELOPERS >> index 38973a75dc..306c3cf2be 100644 >> --- a/DEVELOPERS >> +++ b/DEVELOPERS >> @@ -2096,6 +2096,9 @@ F: package/postgresql/ >> F: package/protozero/ >> F: package/timescaledb/ >> >> +N: Maxime Chevallier >> +F: package/libtraceevent/ >> + >> N: Michael Durrant >> F: board/arcturus/ >> F: configs/arcturus_ucp1020_defconfig >> diff --git a/package/Config.in b/package/Config.in >> index 1e8b6f90c1..cb7afd188e 100644 >> --- a/package/Config.in >> +++ b/package/Config.in >> @@ -117,6 +117,7 @@ menu "Debugging, profiling and benchmark" >> source "package/kyua/Config.in" >> source "package/latencytop/Config.in" >> source "package/libbpf/Config.in" >> + source "package/libtraceevent/Config.in" >> source "package/lmbench/Config.in" >> source "package/lsof/Config.in" >> source "package/ltp-testsuite/Config.in" >> diff --git a/package/libtraceevent/Config.in b/package/libtraceevent/Config.in >> new file mode 100644 >> index 0000000000..d351e3b4de >> --- /dev/null >> +++ b/package/libtraceevent/Config.in >> @@ -0,0 +1,9 @@ >> +config BR2_PACKAGE_LIBTRACEEVENT >> + bool "libtraceevent" >> + help >> + libtraceevent is a library that interfaces with the ftrace >> + subsystem in the linux kernel. >> + It used to be bundled directly in the trace-cmd >> + tool, but it was eventually extracted so that it can be used >> + by multiple other tools and libraries, such as libtracefs and >> + rtla. >> diff --git a/package/libtraceevent/libtraceevent.hash b/package/libtraceevent/libtraceevent.hash >> new file mode 100644 >> index 0000000000..15c4883afd >> --- /dev/null >> +++ b/package/libtraceevent/libtraceevent.hash >> @@ -0,0 +1,4 @@ >> +# Locally computed >> +sha256 097b72e0d907f3107825fb2edf0188324bf70dc9da360f6efa68dc484ffde541 libtraceevent-1.7.3.tar.gz >> +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 >> +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 >> diff --git a/package/libtraceevent/libtraceevent.mk b/package/libtraceevent/libtraceevent.mk >> new file mode 100644 >> index 0000000000..75c23f7410 >> --- /dev/null >> +++ b/package/libtraceevent/libtraceevent.mk >> @@ -0,0 +1,33 @@ >> +################################################################################ >> +# >> +# libtraceevent >> +# >> +################################################################################ >> + >> +LIBTRACEEVENT_VERSION = 1.7.3 >> +LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot >> +LIBTRACEEVENT_INSTALL_STAGING = YES >> +LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 >> +LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 >> + >> +define LIBTRACEEVENT_BUILD_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) >> +endef >> + >> +define LIBTRACEEVENT_INSTALL_STAGING_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + DESTDIR=$(STAGING_DIR) \ >> + pkgconfig_dir="/usr/lib/pkgconfig" \ >> + prefix="/usr" \ >> + install >> +endef >> + >> +define LIBTRACEEVENT_INSTALL_TARGET_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + DESTDIR=$(TARGET_DIR) \ >> + pkgconfig_dir="" \ >> + prefix="/usr" \ >> + install >> +endef >> + >> +$(eval $(generic-package)) >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 26 >> Date: Tue, 26 Sep 2023 11:11:56 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Thomas Petazzoni , Maxime Chevallier >> , Giulio Benetti >> , "Yann E . MORIN" >> , Pierre Floury >> Subject: [Buildroot] [PATCH v2 2/4] package/libtracefs: new package >> Message-ID: >> <20230926091158.3767645-2-giulio.benetti at benettiengineering.com> >> >> From: Maxime Chevallier >> >> Introduce the libtracefs library, that used to be bundled with the >> trace-cmd tool. This library is now used by several tools and libraries >> such as trace-cmd and rtla, and is used as an interface to the ftrace >> kernel subsystem through tracefs. >> >> This package tries to install libraries in /usr/local/lib by default, >> hence the redefinition of the "prefix" variable, so that the library >> gets installed in "/usr/lib" instead. >> >> The same applies to the pkgconfig handling of the proved Makefile, which >> installs the .pc files in the /usr/local area by default, hence the >> redefinition of the pkgconfig_dir to either the correct directory within the >> staging area, or to empty value for the target to avoid installing the .pc >> in that case. >> >> Signed-off-by: Maxime Chevallier >> [Giulio: bump version to 1.7.0 and add hash file] >> Signeg-off-by: Giulio Benetti >> --- >> Giulio: >> V1->V2: >> * bump to version 1.7.0 >> * add hash file >> --- >> DEVELOPERS | 1 + >> package/Config.in | 1 + >> package/libtracefs/Config.in | 6 +++++ >> package/libtracefs/libtracefs.hash | 4 ++++ >> package/libtracefs/libtracefs.mk | 35 ++++++++++++++++++++++++++++++ >> 5 files changed, 47 insertions(+) >> create mode 100644 package/libtracefs/Config.in >> create mode 100644 package/libtracefs/libtracefs.hash >> create mode 100644 package/libtracefs/libtracefs.mk >> >> diff --git a/DEVELOPERS b/DEVELOPERS >> index 306c3cf2be..835c269461 100644 >> --- a/DEVELOPERS >> +++ b/DEVELOPERS >> @@ -2098,6 +2098,7 @@ F: package/timescaledb/ >> >> N: Maxime Chevallier >> F: package/libtraceevent/ >> +F: package/libtracefs >> >> N: Michael Durrant >> F: board/arcturus/ >> diff --git a/package/Config.in b/package/Config.in >> index cb7afd188e..bd30e956bd 100644 >> --- a/package/Config.in >> +++ b/package/Config.in >> @@ -118,6 +118,7 @@ menu "Debugging, profiling and benchmark" >> source "package/latencytop/Config.in" >> source "package/libbpf/Config.in" >> source "package/libtraceevent/Config.in" >> + source "package/libtracefs/Config.in" >> source "package/lmbench/Config.in" >> source "package/lsof/Config.in" >> source "package/ltp-testsuite/Config.in" >> diff --git a/package/libtracefs/Config.in b/package/libtracefs/Config.in >> new file mode 100644 >> index 0000000000..92ce0986df >> --- /dev/null >> +++ b/package/libtracefs/Config.in >> @@ -0,0 +1,6 @@ >> +config BR2_PACKAGE_LIBTRACEFS >> + bool "libtracefs" >> + select BR2_PACKAGE_LIBTRACEEVENT >> + help >> + libtracefs is used to easily interface with the ftrace >> + interface through the tracefs virtual filesystem. >> diff --git a/package/libtracefs/libtracefs.hash b/package/libtracefs/libtracefs.hash >> new file mode 100644 >> index 0000000000..676fcf1111 >> --- /dev/null >> +++ b/package/libtracefs/libtracefs.hash >> @@ -0,0 +1,4 @@ >> +# Locally computed >> +sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz >> +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 >> +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 >> diff --git a/package/libtracefs/libtracefs.mk b/package/libtracefs/libtracefs.mk >> new file mode 100644 >> index 0000000000..0b32b2102a >> --- /dev/null >> +++ b/package/libtracefs/libtracefs.mk >> @@ -0,0 +1,35 @@ >> +################################################################################ >> +# >> +# libtracefs >> +# >> +################################################################################ >> + >> +LIBTRACEFS_VERSION = 1.7.0 >> +LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot >> +LIBTRACEFS_INSTALL_STAGING = YES >> +LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1 >> +LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 >> + >> +LIBTRACEFS_DEPENDENCIES = host-pkgconf libtraceevent >> + >> +define LIBTRACEFS_BUILD_CMDS >> + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) >> +endef >> + >> +define LIBTRACEFS_INSTALL_STAGING_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + DESTDIR=$(STAGING_DIR) \ >> + pkgconfig_dir="/usr/lib/pkgconfig" \ >> + prefix="/usr" \ >> + install >> +endef >> + >> +define LIBTRACEFS_INSTALL_TARGET_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + DESTDIR=$(TARGET_DIR) \ >> + pkgconfig_dir="" \ >> + prefix="/usr" \ >> + install >> +endef >> + >> +$(eval $(generic-package)) >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 27 >> Date: Tue, 26 Sep 2023 13:51:12 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/libopenssl: >> bump to version 3.0.11 >> Message-ID: <20230926115319.E953E81426 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=f4c3e4a55e4b43dec6dece3ee47c199cd5775f77 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Fixes CVE-2023-4807 (Windows-only): >> https://www.openssl.org/news/vulnerabilities.html >> >> Changelog: https://www.openssl.org/news/openssl-3.0-notes.html >> >> Signed-off-by: Peter Korsgaard >> --- >> package/libopenssl/libopenssl.hash | 4 ++-- >> package/libopenssl/libopenssl.mk | 2 +- >> 2 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash >> index b43281c7eb..27e2c73d1d 100644 >> --- a/package/libopenssl/libopenssl.hash >> +++ b/package/libopenssl/libopenssl.hash >> @@ -1,5 +1,5 @@ >> -# From https://www.openssl.org/source/openssl-3.0.10.tar.gz.sha256 >> -sha256 1761d4f5b13a1028b9b6f3d4b8e17feb0cedc9370f6afe61d7193d2cdce83323 openssl-3.0.10.tar.gz >> +# From https://www.openssl.org/source/openssl-3.0.11.tar.gz.sha256 >> +sha256 b3425d3bb4a2218d0697eb41f7fc0cdede016ed19ca49d168b78e8d947887f55 openssl-3.0.11.tar.gz >> >> # License files >> sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt >> diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk >> index 8bc3687921..5ff878dded 100644 >> --- a/package/libopenssl/libopenssl.mk >> +++ b/package/libopenssl/libopenssl.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -LIBOPENSSL_VERSION = 3.0.10 >> +LIBOPENSSL_VERSION = 3.0.11 >> LIBOPENSSL_SITE = https://www.openssl.org/source >> LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz >> LIBOPENSSL_LICENSE = Apache-2.0 >> >> >> ------------------------------ >> >> Message: 28 >> Date: Tue, 26 Sep 2023 17:47:03 +0200 >> From: "Yann E. MORIN" >> To: buildroot at buildroot.org >> Cc: "Yann E. MORIN" , Julien Olivain >> >> Subject: [Buildroot] [PATCH] support/runtime-test: fix weston test >> Message-ID: <20230926154703.160448-1-yann.morin.1998 at free.fr> >> >> The weston runtime test uses the CRC of the framebuffer to detect that >> "something" is being drawned on the framebuffer. This requires that the >> sampling of the CRC happens does not happen too early after trigerring >> an action, or the rendering may be not be finishe, either: >> >> - weston may not have had time to initialise, or >> - the test application may not have started rednering, >> >> The sequence of rendering that has been observed yields this sequence of >> CRCs (elided for brevity): >> >> - boot: >> - alternating between 0x4c4126bf and 0x5d2f9aa5: console cursor >> blinking >> >> - start weston: >> - 0x4c4126bf: weston switches to an clearted vt) >> ... >> - 0xe54b7895: weston is starting >> ... >> - 0xe54b7895: wayland socket appears! >> ... >> - 0x6bf28bdf: weston is ready >> ... >> >> - start weston-simple-egl: >> - 0x6bf28bdf: application is starting >> ... >> - 0xNNNNNNNN: random CRCs while the application renders >> ... >> >> - stop weston-simple-egl: >> - 0xNNNNNNNN: izero, one, or two random CRCs while the application >> renders before it handles SIGTERM >> - 0x6bf28bdf: application is stopped >> ... >> >> - stop weston: >> - 0x6bf28bdf: a few CRC identical to when weston was started, while >> weston is processing SIGTERM >> - ocillating between 0x4c4126bf and 0x5d2f9aa5: console cursor >> blinking, back to initial vt, weston dead. >> >> So, we need to wait "enough" after each action. Moreover, when the >> wayland socket appears, weston may not have stabilised yet, so we also >> need to wait after the socket appears. >> >> Signed-off-by: Yann E. MORIN >> Cc: Julien Olivain >> --- >> support/testing/tests/package/test_weston.py | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/support/testing/tests/package/test_weston.py b/support/testing/tests/package/test_weston.py >> index 276788c649..df1b7a4135 100644 >> --- a/support/testing/tests/package/test_weston.py >> +++ b/support/testing/tests/package/test_weston.py >> @@ -78,6 +78,7 @@ class TestWeston(infra.basetest.BRTest): >> wayland_socket = "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}" >> cmd = f"while [ ! -e \"{wayland_socket}\" ] ; do sleep 1 ; done" >> self.assertRunOk(cmd, timeout=10) >> + time.sleep(4) >> >> def stop_weston(self): >> cmd = "killall weston && sleep 3" >> -- >> 2.25.1 >> >> >> >> ------------------------------ >> >> Message: 29 >> Date: Tue, 26 Sep 2023 19:37:44 +0300 >> From: Sergey Kuzminov >> To: Marcin Niestroj , >> buildroot at buildroot.org >> Cc: Sergey Matyukevich , Peter Korsgaard >> >> Subject: Re: [Buildroot] [PATCH v2] board: add Orangepi Zero3 support >> Message-ID: <05b7f0d8-163d-52e0-fa48-c275bb89fff0 at gmail.com> >> Content-Type: text/plain; charset=UTF-8; format=flowed >> >> Tested-by: Sergey Kuzminov >> >> 18.09.2023 09:47, Marcin Niestroj ?????: >>> Add initial support for Orangepi Zero3 board: >>> - U-Boot 2021.07 fork by Orangepi >>> - Linux 6.1.31 fork by Orangepi >>> - Default packages from buildroot >>> >>> Enable CONFIG_MFD_AC200 as it is used directly by other module, >>> resulting in build failure when disabled. >>> >>> Signed-off-by: Marcin Niestroj >>> --- >>> v1 -> v2: >>> * use 'linux_sunxi64' instead of default arch defconfig, which fixes >>> ethernet networking (suggested by Sergey) >>> * disabled rootfs.tar generation (suggested by Sergey) >>> * increased ext2 fs size to 180M to fit more kernel modules >>> * added DEVELOPERS entries for board files >>> >>> DEVELOPERS | 2 + >>> board/orangepi/orangepi-zero3/linux.config | 1 + >>> board/orangepi/orangepi-zero3/readme.txt | 34 +++++++++++++ >>> configs/orangepi_zero3_defconfig | 57 ++++++++++++++++++++++ >>> 4 files changed, 94 insertions(+) >>> create mode 100644 board/orangepi/orangepi-zero3/linux.config >>> create mode 100644 board/orangepi/orangepi-zero3/readme.txt >>> create mode 100644 configs/orangepi_zero3_defconfig >>> >>> diff --git a/DEVELOPERS b/DEVELOPERS >>> index e8b78a8d46..66abc39e16 100644 >>> --- a/DEVELOPERS >>> +++ b/DEVELOPERS >>> @@ -1953,8 +1953,10 @@ F: package/ecryptfs-utils/ >>> N: Marcin Niestroj >>> F: board/grinn/ >>> F: board/orangepi/orangepi-zero-plus/ >>> +F: board/orangepi/orangepi-zero3/ >>> F: configs/grinn_* >>> F: configs/orangepi_zero_plus_defconfig >>> +F: configs/orangepi_zero3_defconfig >>> F: package/argparse/ >>> F: package/dt-utils/ >>> F: package/easydbus/ >>> diff --git a/board/orangepi/orangepi-zero3/linux.config b/board/orangepi/orangepi-zero3/linux.config >>> new file mode 100644 >>> index 0000000000..09b7a93a5a >>> --- /dev/null >>> +++ b/board/orangepi/orangepi-zero3/linux.config >>> @@ -0,0 +1 @@ >>> +CONFIG_MFD_AC200=y >>> diff --git a/board/orangepi/orangepi-zero3/readme.txt b/board/orangepi/orangepi-zero3/readme.txt >>> new file mode 100644 >>> index 0000000000..4872a363e7 >>> --- /dev/null >>> +++ b/board/orangepi/orangepi-zero3/readme.txt >>> @@ -0,0 +1,34 @@ >>> +Intro >>> +===== >>> + >>> +This default configuration will allow you to start experimenting with the >>> +buildroot environment for the Orangepi Zero3. With the current configuration >>> +it will bring-up the board, and allow access through the serial console. >>> + >>> +Orangepi Zero3 link: >>> +http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-3.html >>> + >>> +This configuration uses Orangepi's fork of U-Boot and Linux kernel. >>> + >>> +How to build >>> +============ >>> + >>> + $ make orangepi_zero3_defconfig >>> + $ make >>> + >>> +Note: you will need access to the internet to download the required >>> +sources. >>> + >>> +How to write the SD card >>> +======================== >>> + >>> +Once the build process is finished you will have an image called "sdcard.img" >>> +in the output/images/ directory. >>> + >>> +Copy the bootable "sdcard.img" onto an SD card with "dd": >>> + >>> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX >>> + $ sudo sync >>> + >>> +Insert the micro SDcard in your Orangepi Zero3 and power it up. The console >>> +is on the serial line, 115200 8N1. >>> diff --git a/configs/orangepi_zero3_defconfig b/configs/orangepi_zero3_defconfig >>> new file mode 100644 >>> index 0000000000..51a6efd3ed >>> --- /dev/null >>> +++ b/configs/orangepi_zero3_defconfig >>> @@ -0,0 +1,57 @@ >>> +BR2_aarch64=y >>> +BR2_cortex_a53=y >>> +BR2_ARM_FPU_VFPV4=y >>> + >>> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y >>> +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y >>> +BR2_SYSTEM_DHCP="eth0" >>> + >>> +# Firmware >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9" >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h616" >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y >>> + >>> +# Bootloader >>> +BR2_TARGET_UBOOT=y >>> +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y >>> +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y >>> +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,orangepi-xunlong,u-boot-orangepi,6fe17fac388aad17490cf386578b7532975e567f)/u-boot-orangepi-6fe17fac388aad17490cf386578b7532975e567f.tar.gz" >>> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero3" >>> +BR2_TARGET_UBOOT_NEEDS_DTC=y >>> +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y >>> +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y >>> +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y >>> +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y >>> +BR2_TARGET_UBOOT_SPL=y >>> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" >>> +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" >>> + >>> +# Kernel >>> +BR2_LINUX_KERNEL=y >>> +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y >>> +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,orangepi-xunlong,linux-orangepi,3495b5ee0594566c9fed930b96b1cae90600412e)/linux-orangepi-3495b5ee0594566c9fed930b96b1cae90600412e.tar.gz" >>> +BR2_LINUX_KERNEL_DEFCONFIG="linux_sunxi64" >>> +BR2_LINUX_KERNEL_DTS_SUPPORT=y >>> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h616-orangepi-zero3" >>> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y >>> +BR2_LINUX_KERNEL_INSTALL_TARGET=y >>> +BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y >>> +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero3/linux.config" >>> + >>> +# Filesystem >>> +BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero3" >>> +BR2_TARGET_ROOTFS_EXT2=y >>> +BR2_TARGET_ROOTFS_EXT2_4=y >>> +BR2_TARGET_ROOTFS_EXT2_SIZE="180M" >>> +# BR2_TARGET_ROOTFS_TAR is not set >>> + >>> +# host tools >>> +BR2_PACKAGE_HOST_GENIMAGE=y >>> +BR2_PACKAGE_HOST_UBOOT_TOOLS=y >>> + >>> +# image scripts >>> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" >>> +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" >>> +BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" >> >> ------------------------------ >> >> Message: 30 >> Date: Tue, 26 Sep 2023 21:23:36 +0200 >> From: "Yann E. MORIN" >> To: Adam Duskett >> Cc: Asaf Kahlon , Julien Olivain , >> Thomas Petazzoni , >> buildroot at buildroot.org, Michael Trimarchi >> , Angelo Compagnucci >> >> Subject: Re: [Buildroot] [PATCH v9 7/7] >> support/testing/tests/package/test_flutter.py: new runtime test >> Message-ID: <20230926192336.GT1469982 at scaer> >> Content-Type: text/plain; charset=utf-8 >> >> Adam, All, >> >> On 2023-09-23 10:35 +0200, Yann E. MORIN spake thusly: >>> On 2023-09-19 14:42 -0600, Adam Duskett spake thusly: >>>> This is a simple test that builds and runs the futter-gallery application and >>>> checks if the service is active. >>> This runtime test does not demonstrate a worlking flutter stack, because >>> the application in fact does not work: >> Note: as discussed on IRC: the above was a bit rough, sorry. >> >> I understand that you did manage to get a flutter stack working, and >> this *is* impressive! >> >> What I meant is that this runtime test does not demonstrate that, >> unfortunately. >> >> The CI/CD pipelines are running in containers that do not have access to >> a GPU. Hence a runtime test that uses GPU passthrough as you initially >> provided is not going to work. That is why I have been insistent on >> doing a headless runtime test. >> >> We do already have working runtime tests for graphical packages, like >> the weston test. What those tests do, is run the graphical application >> to test, and check that the framebuffer changes (by comparing the CRC >> provided by the kernel, as we don't care about what is rendered, just >> that "something" is rendered). This is what I would have expected for >> the flutter test too. >> >> [--SNIP--] >>> So, a few things about this: >>> - the real issues I'm most afraid of, are the one about mesa failing >>> to load the proper drivers, >> So I had a deeper look, and ran the weston test by hand (I had to fix it >> while at it [0]), and noticed that weston whines about the exact same >> drivers, yet works. So the issue about missing zynq and vkms is benign. >> >>> [snip] and/or that it can't create an EGL GBM >>> surface; I think this is the real problem; >> So, the remaining issue is that flutter-pi can't t create a GBM surface. >> This is very very similar to an old upstream issue, which got fixed a >> year ago: >> >> https://github.com/ardera/flutter-pi/issues/269 >> https://github.com/ardera/flutter-pi/pull/270 >> >> However, upstream did a big overhaul of the code recently, and the fix >> got lost in the rewrite. Here's what I now came up with (patch against >> flutter-pi): >> >> From 856f9849763535d62ed01b538ba23905875c93f4 Mon Sep 17 00:00:00 2001 >> From: "Yann E. MORIN" >> Date: Tue, 26 Sep 2023 20:31:17 +0200 >> Subject: [PATCH] src/egl_gbm_render_surface: properly fallback to surface with >> no modifier >> >> In 869fa7fcfbeb, we added a fallback to be able to create an EGL sruface >> when the driver do not support modifiers, like the llvmpipe software >> renderer (or like some proprietary drivers, like the MALI ones), as >> reported in #269 [0]. >> >> However, in c6537673c9b6, there was a big overhaul of renderer >> infrastructure. That commit lost the with-modifiers code path and only >> kept the without-modifiers fallback one (i.e. it only kept the call to >> gbm_surface_create(), not to gbm_surface_create_with_modifiers()). >> >> Then in b0d09f5032a4, the with-modifiers code path was re-instated, but >> in a way that made it exclusive with the without-modifiers one. That is, >> the without-modifiers code path was not a fallback to when the other >> failed. >> >> Re-instate the fallback mechanism as initially implemented. >> >> [0] https://github.com/ardera/flutter-pi/issues/269 >> >> Signed-off-by: Yann E. MORIN >> --- >> src/egl_gbm_render_surface.c | 6 ++++-- >> 1 file changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/src/egl_gbm_render_surface.c b/src/egl_gbm_render_surface.c >> index ce9e5e7..8a58667 100644 >> --- a/src/egl_gbm_render_surface.c >> +++ b/src/egl_gbm_render_surface.c >> @@ -146,6 +146,7 @@ static int egl_gbm_render_surface_init( >> } >> #endif >> >> + gbm_surface = NULL; >> if (allowed_modifiers != NULL) { >> gbm_surface = gbm_surface_create_with_modifiers( >> gbm_device, >> @@ -158,9 +159,10 @@ static int egl_gbm_render_surface_init( >> if (gbm_surface == NULL) { >> ok = errno; >> LOG_ERROR("Couldn't create GBM surface for rendering. gbm_surface_create_with_modifiers: %s\n", strerror(ok)); >> - return ok; >> + LOG_ERROR("Will retry without modifiers\n"); >> } >> - } else { >> + } >> + if (gbm_surface == NULL) { >> gbm_surface = gbm_surface_create( >> gbm_device, >> size.x, >> -- >> 2.25.1 >> >> With this patch, the application no longer coredumps, and keeps running. >> >> As for the CRC of the framebuffer: without flutter-pi running, the value >> is 0x4c4126bf. Starting the flutter application (and waiting quite a >> bit), it suddenly changes to an arbitrary value! Stopping flutter-pi, >> the CRC reverts to 0x4c4126bf. Starting again, new value! Note that it >> can be like 10s or more before the CRC changes at application start. >> >> So, to me, that means the application is now running! I have no idea what >> is supposed to be displayed, but something is being rendered, and that's >> all that matters! >> >> Care to integrate that patch in your series, test in your actual setup, >> see if it's possible to send it upstream, update the runtime test to >> check on the CRC (instead of checkign the systemd unit status), and >> respin the series, please? >> >> (I'm on the move the next few days, but I'll be able to dedicate time >> during the WE). >> >>> - you're pointing the gallery app to /usr/share/flutter/gallery/release/ >>> but therat does not exist (what should it contain, btw?). >> (blark typoes of mine). I must have messed things with another test, >> because /usr/share/flutter/gallery/release/ *is* populated as expected. >> >> [0] https://patchwork.ozlabs.org/project/buildroot/patch/20230926154703.160448-1-yann.morin.1998 at free.fr/ >> >> Regards, >> Yann E. MORIN. >> >>> Can you look at that test, please? >>> >>> Regards, >>> Yann E. MORIN. >>> >>>> Signed-off-by: Adam Duskett >>>> --- >>>> v8 -> v9: >>>> - Changed to aarch64 to avoid problems with older versions of qemu. >>>> - Added BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF >>>> >>>> DEVELOPERS | 1 + >>>> support/testing/tests/package/test_flutter.py | 56 +++++++++++++++++++ >>>> .../package/test_flutter/linux-vkms.fragment | 2 + >>>> .../flutter-gallery.service | 1 + >>>> .../systemd/system/flutter-gallery.service | 11 ++++ >>>> 5 files changed, 71 insertions(+) >>>> create mode 100644 support/testing/tests/package/test_flutter.py >>>> create mode 100644 support/testing/tests/package/test_flutter/linux-vkms.fragment >>>> create mode 120000 support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>>> create mode 100644 support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>>> >>>> diff --git a/DEVELOPERS b/DEVELOPERS >>>> index 48a4ec776a..f46d83679a 100644 >>>> --- a/DEVELOPERS >>>> +++ b/DEVELOPERS >>>> @@ -37,6 +37,7 @@ F: package/flutter-engine/ >>>> F: package/flutter-gallery/ >>>> F: package/flutter-pi/ >>>> F: package/flutter-sdk-bin/ >>>> +F: support/testing/tests/package/test_flutter.py >>>> >>>> N: Adam Heinrich >>>> F: package/jack1/ >>>> diff --git a/support/testing/tests/package/test_flutter.py b/support/testing/tests/package/test_flutter.py >>>> new file mode 100644 >>>> index 0000000000..e17ed9f659 >>>> --- /dev/null >>>> +++ b/support/testing/tests/package/test_flutter.py >>>> @@ -0,0 +1,56 @@ >>>> +import os >>>> +import time >>>> +import infra.basetest >>>> + >>>> + >>>> +class TestFlutter(infra.basetest.BRTest): >>>> + config = f""" >>>> + BR2_aarch64=y >>>> + BR2_TOOLCHAIN_EXTERNAL=y >>>> + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y >>>> + BR2_ROOTFS_OVERLAY="{infra.filepath("tests/package/test_flutter/overlay")}" >>>> + BR2_PER_PACKAGE_DIRECTORIES=y >>>> + BR2_INIT_SYSTEMD=y >>>> + BR2_LINUX_KERNEL=y >>>> + BR2_LINUX_KERNEL_CUSTOM_VERSION=y >>>> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.54" >>>> + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y >>>> + BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y >>>> + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" >>>> + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{infra.filepath("tests/package/test_flutter/linux-vkms.fragment")}" >>>> + BR2_PACKAGE_LIBDRM=y >>>> + BR2_PACKAGE_MESA3D=y >>>> + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y >>>> + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL=y >>>> + BR2_PACKAGE_MESA3D_OPENGL_ES=y >>>> + BR2_PACKAGE_FLUTTER_PI=y >>>> + BR2_PACKAGE_FLUTTER_PI_RAW_KEYBOARD_PLUGIN=y >>>> + BR2_PACKAGE_FLUTTER_PI_TEXT_INPUT_PLUGIN=y >>>> + BR2_PACKAGE_FLUTTER_GALLERY=y >>>> + BR2_PACKAGE_FLUTTER_ENGINE=y >>>> + BR2_TARGET_ROOTFS_EXT2=y >>>> + BR2_TARGET_ROOTFS_EXT2_4=y >>>> + BR2_TARGET_ROOTFS_EXT2_SIZE="512M" >>>> + # BR2_TARGET_ROOTFS_TAR is not set >>>> + """ >>>> + >>>> + def test_run(self): >>>> + timeout = 35 * self.emulator.timeout_multiplier >>>> + img = os.path.join(self.builddir, "images", "rootfs.ext2") >>>> + kern = os.path.join(self.builddir, "images", "Image") >>>> + self.emulator.boot( >>>> + arch="aarch64", >>>> + kernel=kern, >>>> + kernel_cmdline=["root=/dev/vda console=ttyAMA0"], >>>> + options=["-M", "virt", >>>> + "-cpu", "cortex-a57", >>>> + "-m", "512M", >>>> + "-smp", "4", >>>> + "-vga", "std", >>>> + "-vnc", "none", >>>> + "-drive", f"file={img},if=virtio,format=raw"]) >>>> + self.emulator.login() >>>> + cmd = "systemctl is-active flutter-gallery" >>>> + output, exit_code = self.emulator.run(cmd, 10) >>>> + self.assertEqual(exit_code, 0) >>>> + self.assertEqual(output[0], "active") >>>> diff --git a/support/testing/tests/package/test_flutter/linux-vkms.fragment b/support/testing/tests/package/test_flutter/linux-vkms.fragment >>>> new file mode 100644 >>>> index 0000000000..3fc7a5dded >>>> --- /dev/null >>>> +++ b/support/testing/tests/package/test_flutter/linux-vkms.fragment >>>> @@ -0,0 +1,2 @@ >>>> +CONFIG_DEBUG_FS=y >>>> +CONFIG_DRM_VKMS=y >>>> diff --git a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>>> new file mode 120000 >>>> index 0000000000..40993fb16c >>>> --- /dev/null >>>> +++ b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>>> @@ -0,0 +1 @@ >>>> +../../../../usr/lib/systemd/system/flutter-gallery.service >>>> \ No newline at end of file >>>> diff --git a/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>>> new file mode 100644 >>>> index 0000000000..88a2bcbf0b >>>> --- /dev/null >>>> +++ b/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>>> @@ -0,0 +1,11 @@ >>>> +[Unit] >>>> +Description=flutter-gallery daemon >>>> +After=dbus.service systemd-udevd.service >>>> + >>>> +[Service] >>>> +ExecStart=/usr/bin/flutter-pi --release /usr/share/flutter/gallery/release/ >>>> +Restart=always >>>> +KillMode=process >>>> + >>>> +[Install] >>>> +WantedBy=multi-user.target >>>> -- >>>> 2.39.2 >>>> >>>> _______________________________________________ >>>> buildroot mailing list >>>> buildroot at buildroot.org >>>> https://lists.buildroot.org/mailman/listinfo/buildroot >>> -- >>> .-----------------.--------------------.------------------.--------------------. >>> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | >>> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | >>> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | >>> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | >>> '------------------------------^-------^------------------^--------------------' >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot >> -- >> .-----------------.--------------------.------------------.--------------------. >> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | >> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | >> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | >> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | >> '------------------------------^-------^------------------^--------------------' >> >> >> ------------------------------ >> >> Message: 31 >> Date: Tue, 26 Sep 2023 23:37:00 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] Update for >> 2023.05.3 >> Message-ID: <20230926214006.9067681D2A at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=70638523a704aca46313aba05b74783340b11b32 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Signed-off-by: Peter Korsgaard >> --- >> CHANGES | 29 +++++++++++++++++++++++++++++ >> Makefile | 4 ++-- >> support/misc/Vagrantfile | 2 +- >> 3 files changed, 32 insertions(+), 3 deletions(-) >> >> diff --git a/CHANGES b/CHANGES >> index fb52f9bd1a..bf9b57e21d 100644 >> --- a/CHANGES >> +++ b/CHANGES >> @@ -1,3 +1,32 @@ >> +2023.05.3, released September 26th, 2023 >> + >> + Important / security related fixes. >> + >> + Defconfigs: PC x86-64 bios/efi: Needs libelf. Raspberrypi: >> + Also enable HDMI console when systemd is used. >> + >> + Updated/fixed packages: agentpp, asterisk, at91dataflashboot, >> + aubio, berkeleydb, bind, bwm-ng, chocolate-doom, clamav, >> + compiler-rt, connman, cpio, cups, dav1d, diffutils, dracut, >> + dt, expect, fail2ban, fio, flite, freerdp, freeswitch, >> + fstrcmp, gcc, gdb, ghostscript, gmp, go, grub2, haproxy, >> + heirloom-mailx, hwloc, icu, intel-microcode, irssi, less, >> + libcoap, libcurl, libglib2, libiec61850, libjxl, libks, >> + libksba, libmodsecurity, libpjsip, libqb, libraw, libssh, >> + libtommath, lldpd, log4cxx, lsof, mdadm, mosquitto, mpd, mpv, >> + mutt, mv-ddr-marvell, ne10, netatalk, network-manager, >> + nftables, nodejs, ntpsec, nut, openblas, openjdk, openjdk-bin, >> + opensc, openssh, pcm-tools, perftest, petitboot, php, pixman, >> + poppler, postgresql, python-django, python-ipython, >> + python-pip, python-pylibfdt, python-tornado, python3, qt5, >> + ramspeed, rtl8189fs, rtl8812au-aircrack-ng, samba4, screen, >> + screenfetch, sngrep, sofia-sip, stellarium, stress-ng, >> + strongswan, sysstat, tar, tcl, uboot, uclibc, vim, webkitgtk, >> + webp, wireshark, xfsprogs, xserver_xorg-server, xterm, yajl, >> + zbar, zxing-cpp >> + >> + New packages: xlib_libXpresent >> + >> 2023.05.2, released August 31th, 2023 >> >> Important / security related fixes. >> diff --git a/Makefile b/Makefile >> index 2ea0467fc9..eedf4ea296 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -90,9 +90,9 @@ all: >> .PHONY: all >> >> # Set and export the version string >> -export BR2_VERSION := 2023.05.2 >> +export BR2_VERSION := 2023.05.3 >> # Actual time the release is cut (for reproducible builds) >> -BR2_VERSION_EPOCH = 1693493000 >> +BR2_VERSION_EPOCH = 1695764000 >> >> # Save running make version since it's clobbered by the make package >> RUNNING_MAKE_VERSION := $(MAKE_VERSION) >> diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile >> index 75aae858b7..0b26583ea9 100644 >> --- a/support/misc/Vagrantfile >> +++ b/support/misc/Vagrantfile >> @@ -5,7 +5,7 @@ >> ################################################################################ >> >> # Buildroot version to use >> -RELEASE='2023.05.2' >> +RELEASE='2023.05.3' >> >> ### Change here for more memory/cores ### >> VM_MEMORY=2048 >> >> >> ------------------------------ >> >> Message: 32 >> Date: Tue, 26 Sep 2023 13:55:57 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] Revert >> "package/docker-cli: backport fix for host header check" >> Message-ID: <20230926214006.7254E81A15 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=8515c0afcfa90b08a016966962d8db73b4303b50 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> This reverts commit ce1b80f27dc86d7b23aa221b7d1601dcd57e451e. >> >> With the bump to go 1.19.13, this workaround is no longer needed. >> >> Signed-off-by: Peter Korsgaard >> --- >> .checkpackageignore | 1 - >> ...001-backport-fix-for-go-Host-header-check.patch | 127 --------------------- >> 2 files changed, 128 deletions(-) >> >> diff --git a/.checkpackageignore b/.checkpackageignore >> index 81fb9c2d8a..9ec76bc15f 100644 >> --- a/.checkpackageignore >> +++ b/.checkpackageignore >> @@ -354,7 +354,6 @@ package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch Upstream >> package/dmraid/0001-fix-compilation-under-musl.patch Upstream >> package/dmraid/S20dmraid Variables >> package/dnsmasq/S80dnsmasq Shellcheck Variables >> -package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch Upstream >> package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch Upstream >> package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch Upstream >> package/docker-engine/S60dockerd Indent Shellcheck Variables >> diff --git a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch b/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch >> deleted file mode 100644 >> index 2b58582538..0000000000 >> --- a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch >> +++ /dev/null >> @@ -1,127 +0,0 @@ >> -From 4dc783e2bdf414761ef7c209b435d0a30f17c858 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Sat, 15 Jul 2023 02:22:10 +0200 >> -Subject: [PATCH] backport fix for go Host header check >> - >> -Go 1.20.6 and 1.19.11 include a security check of the http Host header: >> - >> - https://github.com/golang/go/issues/60374 >> - >> -docker-cli fails this check: >> - >> - $ docker exec -it ctr bash >> - http: invalid Host header >> - >> -This is a backported patch to fix this issue. >> - >> -Issue: https://github.com/moby/moby/issues/45935 >> -Upstream PR: https://github.com/moby/moby/pull/45942 >> - >> -The upstream PR has been merged and will be included in v24.0.5. >> - >> -Signed-off-by: Christian Stewart >> -[Peter: drop vendor.mod/vendor.sum changes] >> ---- >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the socket path as hostname, which gets rejected by >> -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], >> -which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> ---- >> - .../github.com/docker/docker/client/client.go | 30 +++++++++++++++++ >> - .../github.com/docker/docker/client/hijack.go | 6 +++- >> - .../docker/docker/client/request.go | 10 +++--- >> - 4 files changed, 72 insertions(+), 40 deletions(-) >> - >> -diff --git a/vendor/github.com/docker/docker/client/client.go b/vendor/github.com/docker/docker/client/client.go >> -index 1c081a51ae..54fa36cca8 100644 >> ---- a/vendor/github.com/docker/docker/client/client.go >> -+++ b/vendor/github.com/docker/docker/client/client.go >> -@@ -56,6 +56,36 @@ import ( >> - "github.com/pkg/errors" >> - ) >> - >> -+// DummyHost is a hostname used for local communication. >> -+// >> -+// It acts as a valid formatted hostname for local connections (such as "unix://" >> -+// or "npipe://") which do not require a hostname. It should never be resolved, >> -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] >> -+// and [RFC 6761, Section 6.3]). >> -+// >> -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such >> -+// cases: >> -+// >> -+// If the authority component is missing or undefined for the target URI, >> -+// then a client MUST send a Host header field with an empty field-value. >> -+// >> -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not >> -+// allow an empty header to be used, and requires req.URL.Scheme to be either >> -+// "http" or "https". >> -+// >> -+// For further details, refer to: >> -+// >> -+// - https://github.com/docker/engine-api/issues/189 >> -+// - https://github.com/golang/go/issues/13624 >> -+// - https://github.com/golang/go/issues/61076 >> -+// - https://github.com/moby/moby/issues/45935 >> -+// >> -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 >> -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 >> -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 >> -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 >> -+const DummyHost = "api.moby.localhost" >> -+ >> - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. >> - var ErrRedirect = errors.New("unexpected redirect in response") >> - >> -diff --git a/vendor/github.com/docker/docker/client/hijack.go b/vendor/github.com/docker/docker/client/hijack.go >> -index 6bdacab10a..4dcaaca4c5 100644 >> ---- a/vendor/github.com/docker/docker/client/hijack.go >> -+++ b/vendor/github.com/docker/docker/client/hijack.go >> -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { >> - } >> - >> - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { >> -- req.Host = cli.addr >> -+ req.URL.Host = cli.addr >> -+ if cli.proto == "unix" || cli.proto == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> -+ } >> - req.Header.Set("Connection", "Upgrade") >> - req.Header.Set("Upgrade", proto) >> - >> -diff --git a/vendor/github.com/docker/docker/client/request.go b/vendor/github.com/docker/docker/client/request.go >> -index c799095c12..bcedcf3bd9 100644 >> ---- a/vendor/github.com/docker/docker/client/request.go >> -+++ b/vendor/github.com/docker/docker/client/request.go >> -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea >> - return nil, err >> - } >> - req = cli.addHeaders(req, headers) >> -+ req.URL.Scheme = cli.scheme >> -+ req.URL.Host = cli.addr >> - >> - if cli.proto == "unix" || cli.proto == "npipe" { >> -- // For local communications, it doesn't matter what the host is. We just >> -- // need a valid and meaningful host name. (See #189) >> -- req.Host = "docker" >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> - } >> - >> -- req.URL.Host = cli.addr >> -- req.URL.Scheme = cli.scheme >> -- >> - if expectedPayload && req.Header.Get("Content-Type") == "" { >> - req.Header.Set("Content-Type", "text/plain") >> - } >> --- >> -2.41.0 >> - >> >> >> ------------------------------ >> >> Message: 33 >> Date: Tue, 26 Sep 2023 13:56:52 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] Revert >> "package/docker-engine: backport fix for host header check" >> Message-ID: <20230926214006.7E363805F4 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=763d1934598b581ebfdfa4039df3b2ce53ea0ca7 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> This reverts commit 0b608f0252f51b7d2f54219153976eac7e30669c. >> >> With the bump to go 1.19.13, this workaround is no longer needed. >> >> Signed-off-by: Peter Korsgaard >> --- >> .checkpackageignore | 2 - >> ...ne-a-dummy-hostname-to-use-for-local-conn.patch | 174 --------------------- >> ...-use-a-dummy-hostname-for-local-connectio.patch | 69 -------- >> 3 files changed, 245 deletions(-) >> >> diff --git a/.checkpackageignore b/.checkpackageignore >> index 9ec76bc15f..b627bda61d 100644 >> --- a/.checkpackageignore >> +++ b/.checkpackageignore >> @@ -354,8 +354,6 @@ package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch Upstream >> package/dmraid/0001-fix-compilation-under-musl.patch Upstream >> package/dmraid/S20dmraid Variables >> package/dnsmasq/S80dnsmasq Shellcheck Variables >> -package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch Upstream >> -package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch Upstream >> package/docker-engine/S60dockerd Indent Shellcheck Variables >> package/docopt-cpp/0001-only-build-one-target-use-BUILD_SHARED_LIBS-where-appropriate.patch Upstream >> package/domoticz/S99domoticz Shellcheck >> diff --git a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch b/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch >> deleted file mode 100644 >> index c5f8d1eb71..0000000000 >> --- a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch >> +++ /dev/null >> @@ -1,174 +0,0 @@ >> -From 8ced4331e5e3a6760465a8ce2bd42c66d3232c96 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Wed, 12 Jul 2023 14:15:38 +0200 >> -Subject: [PATCH] client: define a "dummy" hostname to use for local >> - connections >> - >> -Go 1.20.6 and 1.19.11 include a security check of the http Host header: >> - >> - https://github.com/golang/go/issues/60374 >> - >> -This is a backported patch to fix this issue. >> - >> -Issue: https://github.com/moby/moby/issues/45935 >> -Upstream PR: https://github.com/moby/moby/pull/45942 >> - >> -The upstream PR has been merged and will be included in v24.0.5. >> - >> -Signed-off-by: Christian Stewart >> - >> ---- >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the client's `addr` as hostname in some cases, which >> -could contain the path for the unix-socket (`/var/run/docker.sock`), which >> -gets rejected by go1.20.6 and go1.19.11 because of a security fix for >> -[CVE-2023-29406 ][1], which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> - >> -This patch introduces a `DummyHost` const, and uses this dummy host for >> -cases where we don't need an actual hostname. >> - >> -Before this patch (using go1.20.6): >> - >> - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration >> - === RUN TestAttachWithTTY >> - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header >> - --- FAIL: TestAttachWithTTY (0.11s) >> - === RUN TestAttachWithoutTTy >> - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header >> - --- FAIL: TestAttachWithoutTTy (0.02s) >> - FAIL >> - >> -With this patch applied: >> - >> - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration >> - INFO: Testing against a local daemon >> - === RUN TestAttachWithTTY >> - --- PASS: TestAttachWithTTY (0.12s) >> - === RUN TestAttachWithoutTTy >> - --- PASS: TestAttachWithoutTTy (0.02s) >> - PASS >> - >> -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx >> - >> -Signed-off-by: Sebastiaan van Stijn >> -(cherry picked from commit 92975f0c11f0566cc3c36659f5e3bb9faf5cb176) >> -Signed-off-by: Sebastiaan van Stijn >> ---- >> - client/client.go | 30 ++++++++++++++++++++++++++++++ >> - client/hijack.go | 6 +++++- >> - client/request.go | 10 ++++------ >> - client/request_test.go | 4 ++-- >> - 4 files changed, 41 insertions(+), 9 deletions(-) >> - >> -diff --git a/client/client.go b/client/client.go >> -index 1c081a51ae..54fa36cca8 100644 >> ---- a/client/client.go >> -+++ b/client/client.go >> -@@ -56,6 +56,36 @@ import ( >> - "github.com/pkg/errors" >> - ) >> - >> -+// DummyHost is a hostname used for local communication. >> -+// >> -+// It acts as a valid formatted hostname for local connections (such as "unix://" >> -+// or "npipe://") which do not require a hostname. It should never be resolved, >> -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] >> -+// and [RFC 6761, Section 6.3]). >> -+// >> -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such >> -+// cases: >> -+// >> -+// If the authority component is missing or undefined for the target URI, >> -+// then a client MUST send a Host header field with an empty field-value. >> -+// >> -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not >> -+// allow an empty header to be used, and requires req.URL.Scheme to be either >> -+// "http" or "https". >> -+// >> -+// For further details, refer to: >> -+// >> -+// - https://github.com/docker/engine-api/issues/189 >> -+// - https://github.com/golang/go/issues/13624 >> -+// - https://github.com/golang/go/issues/61076 >> -+// - https://github.com/moby/moby/issues/45935 >> -+// >> -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 >> -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 >> -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 >> -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 >> -+const DummyHost = "api.moby.localhost" >> -+ >> - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. >> - var ErrRedirect = errors.New("unexpected redirect in response") >> - >> -diff --git a/client/hijack.go b/client/hijack.go >> -index 6bdacab10a..4dcaaca4c5 100644 >> ---- a/client/hijack.go >> -+++ b/client/hijack.go >> -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { >> - } >> - >> - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { >> -- req.Host = cli.addr >> -+ req.URL.Host = cli.addr >> -+ if cli.proto == "unix" || cli.proto == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> -+ } >> - req.Header.Set("Connection", "Upgrade") >> - req.Header.Set("Upgrade", proto) >> - >> -diff --git a/client/request.go b/client/request.go >> -index c799095c12..bcedcf3bd9 100644 >> ---- a/client/request.go >> -+++ b/client/request.go >> -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea >> - return nil, err >> - } >> - req = cli.addHeaders(req, headers) >> -+ req.URL.Scheme = cli.scheme >> -+ req.URL.Host = cli.addr >> - >> - if cli.proto == "unix" || cli.proto == "npipe" { >> -- // For local communications, it doesn't matter what the host is. We just >> -- // need a valid and meaningful host name. (See #189) >> -- req.Host = "docker" >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> - } >> - >> -- req.URL.Host = cli.addr >> -- req.URL.Scheme = cli.scheme >> -- >> - if expectedPayload && req.Header.Get("Content-Type") == "" { >> - req.Header.Set("Content-Type", "text/plain") >> - } >> -diff --git a/client/request_test.go b/client/request_test.go >> -index 6e5a6e81f2..50b09d954c 100644 >> ---- a/client/request_test.go >> -+++ b/client/request_test.go >> -@@ -29,12 +29,12 @@ func TestSetHostHeader(t *testing.T) { >> - }{ >> - { >> - "unix:///var/run/docker.sock", >> -- "docker", >> -+ DummyHost, >> - "/var/run/docker.sock", >> - }, >> - { >> - "npipe:////./pipe/docker_engine", >> -- "docker", >> -+ DummyHost, >> - "//./pipe/docker_engine", >> - }, >> - { >> --- >> -2.41.0 >> - >> diff --git a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch b/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch >> deleted file mode 100644 >> index 5bd8682927..0000000000 >> --- a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch >> +++ /dev/null >> @@ -1,69 +0,0 @@ >> -From 09306e7eb3c26ade69ef1e4c99d5b1fd9c0b7364 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Wed, 12 Jul 2023 15:07:59 +0200 >> -Subject: [PATCH] pkg/plugins: use a dummy hostname for local connections >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the socket path as hostname, which gets rejected by >> -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], >> -which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> - >> -Before this patch, tests would fail on go1.20.6: >> - >> - === FAIL: pkg/authorization TestAuthZRequestPlugin (15.01s) >> - time="2023-07-12T12:53:45Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 1s" >> - time="2023-07-12T12:53:46Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 2s" >> - time="2023-07-12T12:53:48Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 4s" >> - time="2023-07-12T12:53:52Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 8s" >> - authz_unix_test.go:82: Failed to authorize request Post "http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq": http: invalid Host header >> - >> -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx >> - >> -Signed-off-by: Sebastiaan van Stijn >> -(cherry picked from commit 6b7705d5b29e226a24902a8dcc488836faaee33c) >> -Signed-off-by: Sebastiaan van Stijn >> ---- >> - pkg/plugins/client.go | 14 ++++++++++++-- >> - 1 file changed, 12 insertions(+), 2 deletions(-) >> - >> -diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go >> -index 752fecd0ae..e683eb777d 100644 >> ---- a/pkg/plugins/client.go >> -+++ b/pkg/plugins/client.go >> -@@ -18,6 +18,12 @@ import ( >> - >> - const ( >> - defaultTimeOut = 30 >> -+ >> -+ // dummyHost is a hostname used for local communication. >> -+ // >> -+ // For local communications (npipe://, unix://), the hostname is not used, >> -+ // but we need valid and meaningful hostname. >> -+ dummyHost = "plugin.moby.localhost" >> - ) >> - >> - func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transport, error) { >> -@@ -44,8 +50,12 @@ func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transpor >> - return nil, err >> - } >> - scheme := httpScheme(u) >> -- >> -- return transport.NewHTTPTransport(tr, scheme, socket), nil >> -+ hostName := u.Host >> -+ if hostName == "" || u.Scheme == "unix" || u.Scheme == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ hostName = dummyHost >> -+ } >> -+ return transport.NewHTTPTransport(tr, scheme, hostName), nil >> - } >> - >> - // NewClient creates a new plugin client (http). >> --- >> -2.41.0 >> - >> >> >> ------------------------------ >> >> Message: 34 >> Date: Tue, 26 Sep 2023 23:40:54 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] Revert >> "package/docker-cli: backport fix for host header check" >> Message-ID: <20230926214535.E846C81D55 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=4983ac79ff7da263392fb347b5b8f70bd8180c21 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> This reverts commit ce1b80f27dc86d7b23aa221b7d1601dcd57e451e. >> >> With the bump to go 1.19.13, this workaround is no longer needed. >> >> Signed-off-by: Peter Korsgaard >> --- >> ...001-backport-fix-for-go-Host-header-check.patch | 127 --------------------- >> 1 file changed, 127 deletions(-) >> >> diff --git a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch b/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch >> deleted file mode 100644 >> index 2b58582538..0000000000 >> --- a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch >> +++ /dev/null >> @@ -1,127 +0,0 @@ >> -From 4dc783e2bdf414761ef7c209b435d0a30f17c858 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Sat, 15 Jul 2023 02:22:10 +0200 >> -Subject: [PATCH] backport fix for go Host header check >> - >> -Go 1.20.6 and 1.19.11 include a security check of the http Host header: >> - >> - https://github.com/golang/go/issues/60374 >> - >> -docker-cli fails this check: >> - >> - $ docker exec -it ctr bash >> - http: invalid Host header >> - >> -This is a backported patch to fix this issue. >> - >> -Issue: https://github.com/moby/moby/issues/45935 >> -Upstream PR: https://github.com/moby/moby/pull/45942 >> - >> -The upstream PR has been merged and will be included in v24.0.5. >> - >> -Signed-off-by: Christian Stewart >> -[Peter: drop vendor.mod/vendor.sum changes] >> ---- >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the socket path as hostname, which gets rejected by >> -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], >> -which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> ---- >> - .../github.com/docker/docker/client/client.go | 30 +++++++++++++++++ >> - .../github.com/docker/docker/client/hijack.go | 6 +++- >> - .../docker/docker/client/request.go | 10 +++--- >> - 4 files changed, 72 insertions(+), 40 deletions(-) >> - >> -diff --git a/vendor/github.com/docker/docker/client/client.go b/vendor/github.com/docker/docker/client/client.go >> -index 1c081a51ae..54fa36cca8 100644 >> ---- a/vendor/github.com/docker/docker/client/client.go >> -+++ b/vendor/github.com/docker/docker/client/client.go >> -@@ -56,6 +56,36 @@ import ( >> - "github.com/pkg/errors" >> - ) >> - >> -+// DummyHost is a hostname used for local communication. >> -+// >> -+// It acts as a valid formatted hostname for local connections (such as "unix://" >> -+// or "npipe://") which do not require a hostname. It should never be resolved, >> -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] >> -+// and [RFC 6761, Section 6.3]). >> -+// >> -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such >> -+// cases: >> -+// >> -+// If the authority component is missing or undefined for the target URI, >> -+// then a client MUST send a Host header field with an empty field-value. >> -+// >> -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not >> -+// allow an empty header to be used, and requires req.URL.Scheme to be either >> -+// "http" or "https". >> -+// >> -+// For further details, refer to: >> -+// >> -+// - https://github.com/docker/engine-api/issues/189 >> -+// - https://github.com/golang/go/issues/13624 >> -+// - https://github.com/golang/go/issues/61076 >> -+// - https://github.com/moby/moby/issues/45935 >> -+// >> -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 >> -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 >> -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 >> -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 >> -+const DummyHost = "api.moby.localhost" >> -+ >> - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. >> - var ErrRedirect = errors.New("unexpected redirect in response") >> - >> -diff --git a/vendor/github.com/docker/docker/client/hijack.go b/vendor/github.com/docker/docker/client/hijack.go >> -index 6bdacab10a..4dcaaca4c5 100644 >> ---- a/vendor/github.com/docker/docker/client/hijack.go >> -+++ b/vendor/github.com/docker/docker/client/hijack.go >> -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { >> - } >> - >> - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { >> -- req.Host = cli.addr >> -+ req.URL.Host = cli.addr >> -+ if cli.proto == "unix" || cli.proto == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> -+ } >> - req.Header.Set("Connection", "Upgrade") >> - req.Header.Set("Upgrade", proto) >> - >> -diff --git a/vendor/github.com/docker/docker/client/request.go b/vendor/github.com/docker/docker/client/request.go >> -index c799095c12..bcedcf3bd9 100644 >> ---- a/vendor/github.com/docker/docker/client/request.go >> -+++ b/vendor/github.com/docker/docker/client/request.go >> -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea >> - return nil, err >> - } >> - req = cli.addHeaders(req, headers) >> -+ req.URL.Scheme = cli.scheme >> -+ req.URL.Host = cli.addr >> - >> - if cli.proto == "unix" || cli.proto == "npipe" { >> -- // For local communications, it doesn't matter what the host is. We just >> -- // need a valid and meaningful host name. (See #189) >> -- req.Host = "docker" >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> - } >> - >> -- req.URL.Host = cli.addr >> -- req.URL.Scheme = cli.scheme >> -- >> - if expectedPayload && req.Header.Get("Content-Type") == "" { >> - req.Header.Set("Content-Type", "text/plain") >> - } >> --- >> -2.41.0 >> - >> >> >> ------------------------------ >> >> Message: 35 >> Date: Tue, 26 Sep 2023 23:41:11 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] Revert >> "package/docker-engine: backport fix for host header check" >> Message-ID: <20230926214536.00A9C81D5C at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=a0a7113ae8d7efd7455e361d320d5d8b60bb9b02 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> This reverts commit 0b608f0252f51b7d2f54219153976eac7e30669c. >> >> With the bump to go 1.19.13, this workaround is no longer needed. >> >> Signed-off-by: Peter Korsgaard >> --- >> ...ne-a-dummy-hostname-to-use-for-local-conn.patch | 174 --------------------- >> ...-use-a-dummy-hostname-for-local-connectio.patch | 69 -------- >> 2 files changed, 243 deletions(-) >> >> diff --git a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch b/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch >> deleted file mode 100644 >> index c5f8d1eb71..0000000000 >> --- a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch >> +++ /dev/null >> @@ -1,174 +0,0 @@ >> -From 8ced4331e5e3a6760465a8ce2bd42c66d3232c96 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Wed, 12 Jul 2023 14:15:38 +0200 >> -Subject: [PATCH] client: define a "dummy" hostname to use for local >> - connections >> - >> -Go 1.20.6 and 1.19.11 include a security check of the http Host header: >> - >> - https://github.com/golang/go/issues/60374 >> - >> -This is a backported patch to fix this issue. >> - >> -Issue: https://github.com/moby/moby/issues/45935 >> -Upstream PR: https://github.com/moby/moby/pull/45942 >> - >> -The upstream PR has been merged and will be included in v24.0.5. >> - >> -Signed-off-by: Christian Stewart >> - >> ---- >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the client's `addr` as hostname in some cases, which >> -could contain the path for the unix-socket (`/var/run/docker.sock`), which >> -gets rejected by go1.20.6 and go1.19.11 because of a security fix for >> -[CVE-2023-29406 ][1], which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> - >> -This patch introduces a `DummyHost` const, and uses this dummy host for >> -cases where we don't need an actual hostname. >> - >> -Before this patch (using go1.20.6): >> - >> - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration >> - === RUN TestAttachWithTTY >> - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header >> - --- FAIL: TestAttachWithTTY (0.11s) >> - === RUN TestAttachWithoutTTy >> - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header >> - --- FAIL: TestAttachWithoutTTy (0.02s) >> - FAIL >> - >> -With this patch applied: >> - >> - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration >> - INFO: Testing against a local daemon >> - === RUN TestAttachWithTTY >> - --- PASS: TestAttachWithTTY (0.12s) >> - === RUN TestAttachWithoutTTy >> - --- PASS: TestAttachWithoutTTy (0.02s) >> - PASS >> - >> -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx >> - >> -Signed-off-by: Sebastiaan van Stijn >> -(cherry picked from commit 92975f0c11f0566cc3c36659f5e3bb9faf5cb176) >> -Signed-off-by: Sebastiaan van Stijn >> ---- >> - client/client.go | 30 ++++++++++++++++++++++++++++++ >> - client/hijack.go | 6 +++++- >> - client/request.go | 10 ++++------ >> - client/request_test.go | 4 ++-- >> - 4 files changed, 41 insertions(+), 9 deletions(-) >> - >> -diff --git a/client/client.go b/client/client.go >> -index 1c081a51ae..54fa36cca8 100644 >> ---- a/client/client.go >> -+++ b/client/client.go >> -@@ -56,6 +56,36 @@ import ( >> - "github.com/pkg/errors" >> - ) >> - >> -+// DummyHost is a hostname used for local communication. >> -+// >> -+// It acts as a valid formatted hostname for local connections (such as "unix://" >> -+// or "npipe://") which do not require a hostname. It should never be resolved, >> -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] >> -+// and [RFC 6761, Section 6.3]). >> -+// >> -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such >> -+// cases: >> -+// >> -+// If the authority component is missing or undefined for the target URI, >> -+// then a client MUST send a Host header field with an empty field-value. >> -+// >> -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not >> -+// allow an empty header to be used, and requires req.URL.Scheme to be either >> -+// "http" or "https". >> -+// >> -+// For further details, refer to: >> -+// >> -+// - https://github.com/docker/engine-api/issues/189 >> -+// - https://github.com/golang/go/issues/13624 >> -+// - https://github.com/golang/go/issues/61076 >> -+// - https://github.com/moby/moby/issues/45935 >> -+// >> -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 >> -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 >> -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 >> -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 >> -+const DummyHost = "api.moby.localhost" >> -+ >> - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. >> - var ErrRedirect = errors.New("unexpected redirect in response") >> - >> -diff --git a/client/hijack.go b/client/hijack.go >> -index 6bdacab10a..4dcaaca4c5 100644 >> ---- a/client/hijack.go >> -+++ b/client/hijack.go >> -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { >> - } >> - >> - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { >> -- req.Host = cli.addr >> -+ req.URL.Host = cli.addr >> -+ if cli.proto == "unix" || cli.proto == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> -+ } >> - req.Header.Set("Connection", "Upgrade") >> - req.Header.Set("Upgrade", proto) >> - >> -diff --git a/client/request.go b/client/request.go >> -index c799095c12..bcedcf3bd9 100644 >> ---- a/client/request.go >> -+++ b/client/request.go >> -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea >> - return nil, err >> - } >> - req = cli.addHeaders(req, headers) >> -+ req.URL.Scheme = cli.scheme >> -+ req.URL.Host = cli.addr >> - >> - if cli.proto == "unix" || cli.proto == "npipe" { >> -- // For local communications, it doesn't matter what the host is. We just >> -- // need a valid and meaningful host name. (See #189) >> -- req.Host = "docker" >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> - } >> - >> -- req.URL.Host = cli.addr >> -- req.URL.Scheme = cli.scheme >> -- >> - if expectedPayload && req.Header.Get("Content-Type") == "" { >> - req.Header.Set("Content-Type", "text/plain") >> - } >> -diff --git a/client/request_test.go b/client/request_test.go >> -index 6e5a6e81f2..50b09d954c 100644 >> ---- a/client/request_test.go >> -+++ b/client/request_test.go >> -@@ -29,12 +29,12 @@ func TestSetHostHeader(t *testing.T) { >> - }{ >> - { >> - "unix:///var/run/docker.sock", >> -- "docker", >> -+ DummyHost, >> - "/var/run/docker.sock", >> - }, >> - { >> - "npipe:////./pipe/docker_engine", >> -- "docker", >> -+ DummyHost, >> - "//./pipe/docker_engine", >> - }, >> - { >> --- >> -2.41.0 >> - >> diff --git a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch b/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch >> deleted file mode 100644 >> index 5bd8682927..0000000000 >> --- a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch >> +++ /dev/null >> @@ -1,69 +0,0 @@ >> -From 09306e7eb3c26ade69ef1e4c99d5b1fd9c0b7364 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Wed, 12 Jul 2023 15:07:59 +0200 >> -Subject: [PATCH] pkg/plugins: use a dummy hostname for local connections >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the socket path as hostname, which gets rejected by >> -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], >> -which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> - >> -Before this patch, tests would fail on go1.20.6: >> - >> - === FAIL: pkg/authorization TestAuthZRequestPlugin (15.01s) >> - time="2023-07-12T12:53:45Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 1s" >> - time="2023-07-12T12:53:46Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 2s" >> - time="2023-07-12T12:53:48Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 4s" >> - time="2023-07-12T12:53:52Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 8s" >> - authz_unix_test.go:82: Failed to authorize request Post "http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq": http: invalid Host header >> - >> -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx >> - >> -Signed-off-by: Sebastiaan van Stijn >> -(cherry picked from commit 6b7705d5b29e226a24902a8dcc488836faaee33c) >> -Signed-off-by: Sebastiaan van Stijn >> ---- >> - pkg/plugins/client.go | 14 ++++++++++++-- >> - 1 file changed, 12 insertions(+), 2 deletions(-) >> - >> -diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go >> -index 752fecd0ae..e683eb777d 100644 >> ---- a/pkg/plugins/client.go >> -+++ b/pkg/plugins/client.go >> -@@ -18,6 +18,12 @@ import ( >> - >> - const ( >> - defaultTimeOut = 30 >> -+ >> -+ // dummyHost is a hostname used for local communication. >> -+ // >> -+ // For local communications (npipe://, unix://), the hostname is not used, >> -+ // but we need valid and meaningful hostname. >> -+ dummyHost = "plugin.moby.localhost" >> - ) >> - >> - func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transport, error) { >> -@@ -44,8 +50,12 @@ func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transpor >> - return nil, err >> - } >> - scheme := httpScheme(u) >> -- >> -- return transport.NewHTTPTransport(tr, scheme, socket), nil >> -+ hostName := u.Host >> -+ if hostName == "" || u.Scheme == "unix" || u.Scheme == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ hostName = dummyHost >> -+ } >> -+ return transport.NewHTTPTransport(tr, scheme, hostName), nil >> - } >> - >> - // NewClient creates a new plugin client (http). >> --- >> -2.41.0 >> - >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot >> >> >> ------------------------------ >> >> End of buildroot Digest, Vol 207, Issue 55 >> ****************************************** > > -- > Thanks, > Nayab > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > > > ------------------------------ > > End of buildroot Digest, Vol 208, Issue 9 > ***************************************** -- Thanks, Nayab From enki at fsck.pl Fri Oct 6 14:05:08 2023 From: enki at fsck.pl (Maciej Grela) Date: Fri, 6 Oct 2023 16:05:08 +0200 Subject: [Buildroot] [PATCH v3 0/3] Support for D-Link DNS-320L In-Reply-To: <20231004131256.2113233-2-enki@fsck.pl> References: <20231004131256.2113233-2-enki@fsck.pl> Message-ID: <20231006140511.3840643-1-enki@fsck.pl> Hello, This is a short patchset to support a D-Link DNS-320L NAS. There are two device-specific packages which are required for proper system management on the device as well as a out-of-tree DTS. I am going to send it upstream when I learn more about device trees. I have added myself as a maintainer to the DEVELOPERS file for all relevant parts. The packages have been checked with no issues detected: ? buildroot git:(master) ? utils/docker-run make check-package 389271 lines processed 0 warnings generated An example boot log is presented below: https://gist.github.com/enkiusz/482fab68ef7a630c8cfaad6f13f63919 The packages build successfully using test-pkg: ? buildroot git:(master) ? cat iniparser.config BR2_PACKAGE_INIPARSER=y ? buildroot git:(master) ? utils/test-pkg --config iniparser.config -p iniparser bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: OK bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK 6 builds, 0 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ? buildroot git:(master) ? ? buildroot git:(master) ? cat dns320l-daemon.config BR2_PACKAGE_DNS320L_DAEMON=y ? buildroot git:(master) ? utils/test-pkg --config dns320l-daemon.config -p dns320l-daemon bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK 6 builds, 1 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ? buildroot git:(master) ? --- changes v1 -> v2: - don't build iniparser on the host - properly handle building static and shared iniparser in all combos - disable dns320l-daemon on platforms without fork() - DNS-320L is manufactured by D-Link not Netgear, change commit summaries to reflect that changes v2 -> v3: - use SIGTERM to restart dns320l-daemon not to trigger a device poweroff when the daemon is restarted - add a special 'poweroff' verb to the dns320l-daemon init script to trigger device poweroff - patch the default dns320l-daemon configuration to listen on localhost only Maciej Grela (3): package/iniparser: new package package/dns320l-daemon: new package board/d-link/dns320l: new board DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ package/Config.in | 2 + .../0001-listen-on-localhost.patch | 21 ++ package/dns320l-daemon/Config.in | 8 + package/dns320l-daemon/S50dns320l-daemon | 42 ++++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 32 +++ package/iniparser/Config.in | 6 + package/iniparser/iniparser.hash | 2 + package/iniparser/iniparser.mk | 56 +++++ 12 files changed, 410 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig create mode 100644 package/dns320l-daemon/0001-listen-on-localhost.patch create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk -- 2.39.2 From enki at fsck.pl Fri Oct 6 14:05:09 2023 From: enki at fsck.pl (Maciej Grela) Date: Fri, 6 Oct 2023 16:05:09 +0200 Subject: [Buildroot] [PATCH v3 1/3] package/iniparser: new package In-Reply-To: <20231004131256.2113233-2-enki@fsck.pl> References: <20231004131256.2113233-2-enki@fsck.pl> Message-ID: <20231006140511.3840643-2-enki@fsck.pl> iniparser is a required dependency of dns320l-daemon Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/iniparser/Config.in | 6 ++++ package/iniparser/iniparser.hash | 2 ++ package/iniparser/iniparser.mk | 56 ++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..228e9eb1e3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2085,6 +2085,7 @@ menu "Other" source "package/gtest/Config.in" source "package/gumbo-parser/Config.in" source "package/highway/Config.in" + source "package/iniparser/Config.in" source "package/jemalloc/Config.in" source "package/lapack/Config.in" source "package/libabseil-cpp/Config.in" diff --git a/package/iniparser/Config.in b/package/iniparser/Config.in new file mode 100644 index 0000000000..4932869943 --- /dev/null +++ b/package/iniparser/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_INIPARSER + bool "iniparser" + help + ini file parser + + https://github.com/ndevilla/iniparser diff --git a/package/iniparser/iniparser.hash b/package/iniparser/iniparser.hash new file mode 100644 index 0000000000..a745062fcd --- /dev/null +++ b/package/iniparser/iniparser.hash @@ -0,0 +1,2 @@ +# From https://github.com/ndevilla/iniparser/releases +sha256 960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae iniparser-4.1.tar.gz diff --git a/package/iniparser/iniparser.mk b/package/iniparser/iniparser.mk new file mode 100644 index 0000000000..f3f74601f3 --- /dev/null +++ b/package/iniparser/iniparser.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# iniparser +# +################################################################################ + +INIPARSER_VERSION = 4.1 +INIPARSER_SITE = $(call github,ndevilla,iniparser,v$(INIPARSER_VERSION)) +INIPARSER_INSTALL_STAGING = YES +INIPARSER_LICENSE = MIT +INIPARSER_LICENSE_FILES = LICENSE +INIPARSER_SO_TARGET = libiniparser.so.1 +INIPARSER_A_TARGET = libiniparser.a +INIPARSER_BUILD_TARGETS = +INIPARSER_STAGING_INSTALL_TGTS = +INIPARSER_TARGET_INSTALL_TGTS = + +INIPARSER_CONFIGURE_OPTS = $(TARGET_CONFIGURE_OPTS) + +ifeq ($(BR2_STATIC_LIBS),y) +INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET) +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_A_TARGET) +else ifeq ($(BR2_SHARED_LIBS),y) +INIPARSER_LINK_SO = y + +INIPARSER_BUILD_TARGETS = $(INIPARSER_SO_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_SO_TARGET) + +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET) +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +INIPARSER_LINK_SO = y + +INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET) + +# Don't install static libs on target +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET) +endif + +define INIPARSER_BUILD_CMDS + $(INIPARSER_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(INIPARSER_BUILD_TARGETS) +endef + +define INIPARSER_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 0644 $(@D)/src/iniparser.h $(@D)/src/dictionary.h $(STAGING_DIR)/usr/include/ + $(foreach target,$(INIPARSER_STAGING_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(STAGING_DIR)/usr/lib/) + $(if $(INIPARSER_LINK_SO),ln -s -r $(STAGING_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(STAGING_DIR)/usr/lib/libiniparser.so) +endef + +define INIPARSER_INSTALL_TARGET_CMDS + $(foreach target,$(INIPARSER_TARGET_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(TARGET_DIR)/usr/lib/) + $(if $(INIPARSER_LINK_SO),ln -s -r $(TARGET_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(TARGET_DIR)/usr/lib/libiniparser.so) +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Fri Oct 6 14:05:10 2023 From: enki at fsck.pl (Maciej Grela) Date: Fri, 6 Oct 2023 16:05:10 +0200 Subject: [Buildroot] [PATCH v3 2/3] package/dns320l-daemon: new package In-Reply-To: <20231004131256.2113233-2-enki@fsck.pl> References: <20231004131256.2113233-2-enki@fsck.pl> Message-ID: <20231006140511.3840643-3-enki@fsck.pl> dns320l-daemon is a simple system management daemon for the D-Link DNS-320L NAS. It handles power, Wake-on-LAN, temperature, fan speed and some LEDs. Signed-off-by: Maciej Grela --- package/Config.in | 1 + .../0001-listen-on-localhost.patch | 21 ++++++++++ package/dns320l-daemon/Config.in | 8 ++++ package/dns320l-daemon/S50dns320l-daemon | 42 +++++++++++++++++++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 32 ++++++++++++++ 6 files changed, 105 insertions(+) create mode 100644 package/dns320l-daemon/0001-listen-on-localhost.patch create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk diff --git a/package/Config.in b/package/Config.in index 228e9eb1e3..f1c451890f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2684,6 +2684,7 @@ menu "System tools" source "package/dcron/Config.in" source "package/ddrescue/Config.in" source "package/debianutils/Config.in" + source "package/dns320l-daemon/Config.in" source "package/docker-cli/Config.in" source "package/docker-compose/Config.in" source "package/docker-engine/Config.in" diff --git a/package/dns320l-daemon/0001-listen-on-localhost.patch b/package/dns320l-daemon/0001-listen-on-localhost.patch new file mode 100644 index 0000000000..50da024024 --- /dev/null +++ b/package/dns320l-daemon/0001-listen-on-localhost.patch @@ -0,0 +1,21 @@ +# HG changeset patch +# User Maciej Grela +# Date 1696540279 -7200 +# Thu Oct 05 23:11:19 2023 +0200 +# Node ID eca5ed65582402e64c36145290c214aee84b012b +# Parent 1f945ce22321a876143b38aaf5610c8915172b90 +Subject: [PATCH] Listen on localhost by default +Signed-off-by: Maciej Grela + +diff -r 1f945ce22321 -r eca5ed655824 dns320l-daemon.ini +--- a/dns320l-daemon.ini Tue Dec 09 12:24:29 2014 +0100 ++++ b/dns320l-daemon.ini Thu Oct 05 23:11:19 2023 +0200 +@@ -4,7 +4,7 @@ + + [Daemon] + ServerPort = 57367 +-ServerAddr = 0.0.0.0 ++ServerAddr = 127.0.0.1 + SyncTimeOnStartup = 0 + SyncTimeOnShutdown = 0 + DeviceShutdownDelay = 30 diff --git a/package/dns320l-daemon/Config.in b/package/dns320l-daemon/Config.in new file mode 100644 index 0000000000..35bd30a9e5 --- /dev/null +++ b/package/dns320l-daemon/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_DNS320L_DAEMON + bool "dns320l-daemon" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_INIPARSER + help + MCU Daemon for the D-Link DNS-320L + + https://www.aboehler.at/hg/dns320l-daemon diff --git a/package/dns320l-daemon/S50dns320l-daemon b/package/dns320l-daemon/S50dns320l-daemon new file mode 100644 index 0000000000..3bc2a60d0b --- /dev/null +++ b/package/dns320l-daemon/S50dns320l-daemon @@ -0,0 +1,42 @@ +#!/bin/sh + +DAEMON="dns320l-daemon" + +start() { + printf 'Starting %s: ' "$DAEMON" + start-stop-daemon -S -x "/usr/bin/$DAEMON" + status="$?" + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -s INT -K -x "/usr/bin/$DAEMON" +} + +poweroff() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -s TERM -K -x "/usr/bin/$DAEMON" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + restart;; + *) + echo "Usage: $0 {start|stop|restart|poweroff}" + exit 1 + ;; +esac diff --git a/package/dns320l-daemon/dns320l-daemon.hash b/package/dns320l-daemon/dns320l-daemon.hash new file mode 100644 index 0000000000..4396eb8f5d --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.hash @@ -0,0 +1 @@ +sha256 eac74a64f0d4127748e629b8a5f723eab58ac83064a3f249f97b85bcd7faf061 tip.tar.bz2 diff --git a/package/dns320l-daemon/dns320l-daemon.mk b/package/dns320l-daemon/dns320l-daemon.mk new file mode 100644 index 0000000000..bc24a553c2 --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# dns320l-daemon +# +################################################################################ + +DNS320L_DAEMON_VERSION = 1.0 +DNS320L_DAEMON_SOURCE = tip.tar.bz2 +DNS320L_DAEMON_SITE = https://www.aboehler.at/hg/dns320l-daemon/archive +DNS320L_DAEMON_LICENSE = GPL-3 +DNS320L_DAEMON_DEPENDENCIES = iniparser +DNS320l_DAEMON_PATCH = 0001-listen-on-localhost.patch + +define DNS320L_DAEMON_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" +endef + +define DNS320L_DAEMON_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/dns320l-daemon $(TARGET_DIR)/usr/bin/ + $(INSTALL) -D -m 0600 $(@D)/dns320l-daemon.ini $(TARGET_DIR)/etc/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/dns320l-daemon.service $(TARGET_DIR)/lib/systemd/system/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/dns320l-daemon/S50dns320l-daemon $(TARGET_DIR)/etc/init.d/S50dns320l-daemon +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Fri Oct 6 14:05:11 2023 From: enki at fsck.pl (Maciej Grela) Date: Fri, 6 Oct 2023 16:05:11 +0200 Subject: [Buildroot] [PATCH v3 3/3] board/d-link/dns320l: new board In-Reply-To: <20231004131256.2113233-2-enki@fsck.pl> References: <20231004131256.2113233-2-enki@fsck.pl> Message-ID: <20231006140511.3840643-4-enki@fsck.pl> Add support for the D-Link DNS-320L using: - U-Boot 1.1.4 (in device flash) - Linux kernel 6.5.5 This is a 2-Bay 3.5'' SATA NAS with the following specs: - Marvell 88F6702 (1 GHz) CPU - 256 MiB DDR2 RAM - 128 MiB NAND Flash - 2 x SATA - 1 x 1000 Mbit/s Ethernet port - 1 x USB 2.0 The builtin bootloader banner is: U-Boot 1.1.4 (Aug 22 2012 - 17:06:54) Marvell version: 3.6.0.DNS-320L.01 Manufacturer product page: http://sharecenter.dlink.com/products/DNS-320 Device wiki: https://wikidevi.wi-cat.ru/D-Link_DNS-320L_rev_A1 Signed-off-by: Maciej Grela --- DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ 3 files changed, 240 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..76e8644073 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1950,6 +1950,12 @@ N: Ludwig Kormann F: board/in-circuit/ F: configs/icnova* +N: Maciej Grela +F: board/d-link/dns320l/ +F: configs/dns320l_defconfig +F: package/dns320l-daemon +F: package/iniparser + N: Maeva Manuel F: board/freescale/imx8qmmek/ F: configs/freescale_imx8qmmek_defconfig diff --git a/board/d-link/dns320l/dts/kirkwood-dns320l.dts b/board/d-link/dns320l/dts/kirkwood-dns320l.dts new file mode 100644 index 0000000000..660508a51a --- /dev/null +++ b/board/d-link/dns320l/dts/kirkwood-dns320l.dts @@ -0,0 +1,218 @@ +/dts-v1/; + +/* + * Device Tree file for DLINK DNS-320L + * + * Copyright (C) 2015, Sunke Schl?ters + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + * + * + * This file is based on the work of Andreas B?hler : + * - http://www.aboehler.at/doku/doku.php/projects:dns320l + * - http://www.aboehler.at/hg/linux-dns320l/file/ba7a60ad7687/linux-3.12/kirkwood-dns320l.dts + */ + +#include "marvell/kirkwood.dtsi" +#include "marvell/kirkwood-6281.dtsi" + +/ { + model = "D-Link DNS-320L"; + compatible = "dlink,dns-320l", "marvell,kirkwood-88f6702", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + stdout-path = &uart0; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>; + pinctrl-names = "default"; + + button at 1 { + label = "Reset push button"; + linux,code = ; + gpios = <&gpio0 28 1>; + }; + button at 2 { + label = "USB unmount button"; + linux,code = ; + gpios = <&gpio0 27 1>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pmx_led_usb_blue &pmx_led_red_right_hdd + &pmx_led_red_left_hdd &pmx_led_usb_orange>; + pinctrl-names = "default"; + + blue-usb { + label = "usb_blue"; + gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + }; + orange-usb { + label = "usb_orange"; + gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; + }; + orange-l_hdd { + label = "hdd1_orange"; + gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; + }; + orange-r_hdd { + label = "hdd2_orange"; + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; + }; + }; + + ocp at f1000000 { + pinctrl: pin-controller at 10000 { + + pinctrl-0 = <&pmx_button_power>; + pinctrl-names = "default"; + + pmx_sata0: pmx-sata0 { + marvell,pins = "mpp20"; + marvell,function = "sata0"; + }; + pmx_sata1: pmx-sata1 { + marvell,pins = "mpp21"; + marvell,function = "sata1"; + }; + pmx_led_red_right_hdd: pmx-led-red-right-hdd { + marvell,pins = "mpp22"; + marvell,function = "gpio"; + }; + pmx_led_red_left_hdd: pmx-led-red-left-hdd { + marvell,pins = "mpp23"; + marvell,function = "gpio"; + }; + pmx_power_sata: pmx-power-sata { + marvell,pins = "mpp24"; + marvell,function = "gpio"; + }; + pmx_led_usb_blue: pmx-led-usb-blue { + marvell,pins = "mpp25"; + marvell,function = "gpio"; + }; + pmx_led_usb_orange: pmx-led-usb-orange { + marvell,pins = "mpp26"; + marvell,function = "gpio"; + }; + pmx_button_usb_copy: pmx-button-usb-copy { + marvell,pins = "mpp27"; + marvell,function = "gpio"; + }; + pmx_button_reset: pmx-button-reset { + marvell,pins = "mpp28"; + marvell,function = "gpio"; + }; + pmx_button_power: pmx-button-power { // I can't get this one to trigger a button press... + marvell,pins = "mpp29"; + marvell,function = "gpio"; + }; + }; + sata at 80000 { + status = "okay"; + nr-ports = <2>; + }; + serial at 12000 { + status = "okay"; + }; + + serial at 12100 { + pinctrl-0 = <&pmx_uart1>; + pinctrl-names = "default"; + status = "okay"; + }; + }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_power_sata>; + pinctrl-names = "default"; + + sata_power: regulator at 1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "SATA Power"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio1 24 0>; + }; + }; +}; + +&nand { + pinctrl-0 = <&pmx_nand>; + pinctrl-names = "default"; + status = "okay"; + chip-delay = <35>; + + partition at 0 { + label = "u-boot"; + reg = <0x0000000 0x100000>; + read-only; + }; + + partition at 100000 { + label = "uImage"; + reg = <0x0100000 0x500000>; + }; + + partition at 600000 { + label = "ramdisk"; + reg = <0x0600000 0x500000>; + }; + + partition at b00000 { + label = "image"; + reg = <0x0b00000 0x6400000>; + }; + + partition at 6f00000 { + label = "mini firmware"; + reg = <0x6f00000 0xa00000>; + }; + + partition at 7900000 { + label = "config"; + reg = <0x7900000 0x500000>; + }; + + partition at 7e00000 { + label = "my-dlink"; + reg = <0x7e00000 0x200000>; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy at 0 { + reg = <0>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port at 0 { + phy-handle = <ðphy0>; + }; +}; diff --git a/configs/dns320l_defconfig b/configs/dns320l_defconfig new file mode 100644 index 0000000000..f281984267 --- /dev/null +++ b/configs/dns320l_defconfig @@ -0,0 +1,16 @@ +BR2_arm=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_SYSTEM_DHCP="eth0" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.5" +BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" +BR2_LINUX_KERNEL_APPENDED_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/d-link/dns320l/dts/kirkwood-dns320l.dts" +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_CPIO_UIMAGE=y + +# The package is required for proper power management +BR2_PACKAGE_DNS320L_DAEMON=y -- 2.39.2 From arnout at mind.be Fri Oct 6 15:31:10 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:10 +0200 Subject: [Buildroot] [git commit] DEVELOPERS: add Thomas Petazzoni for nodejs Message-ID: <20231006153223.71FEE842FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=65dfac5d11596583e4e31ce83a05045a5c9a2ce6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..3fffc4346c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2946,6 +2946,7 @@ F: package/msmtp/ F: package/musl/ F: package/musl-fts/ F: package/ne10/ +F: package/nodejs/ F: package/pkg-python.mk F: package/pkg-autotools.mk F: package/pkg-generic.mk From arnout at mind.be Fri Oct 6 15:31:15 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:15 +0200 Subject: [Buildroot] [git commit] support/testing/tests/package/test_nodejs: test both host-nodejs-bin and host-nodejs-src Message-ID: <20231006153223.B7D4D84300@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3a1b68955cf06d7aaa32f02f324931ed30141068 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The TestNodeJSModule test triggers the build of host-nodejs to be able to install third party modules. Now that host-nodejs has two providers, it makes sense to test both cases, so we duplicate TestNodeJSModule into TestNodeJsModuleHostBin (which tests the host-nodejs-bin) and TestNodeJSModuleHostSrc (which tests the host-nodejs-src). Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle --- support/testing/tests/package/test_nodejs.py | 29 +++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/support/testing/tests/package/test_nodejs.py b/support/testing/tests/package/test_nodejs.py index 9463c76b72..b63d44c97e 100644 --- a/support/testing/tests/package/test_nodejs.py +++ b/support/testing/tests/package/test_nodejs.py @@ -27,7 +27,7 @@ class TestNodeJSBasic(infra.basetest.BRTest): self.assertRunOk("node sample_nodejs_basic.js") -class TestNodeJSModule(infra.basetest.BRTest): +class TestNodeJSModuleHostBin(infra.basetest.BRTest): config = \ """ BR2_arm=y @@ -36,6 +36,33 @@ class TestNodeJSModule(infra.basetest.BRTest): BR2_TOOLCHAIN_EXTERNAL=y BR2_PACKAGE_NODEJS=y BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL="lodash" + BR2_PACKAGE_HOST_NODEJS_BIN=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_ROOTFS_POST_BUILD_SCRIPT="{}" + BR2_ROOTFS_POST_SCRIPT_ARGS="{}" + """.format(infra.filepath("tests/package/copy-sample-script-to-target.sh"), + infra.filepath("tests/package/sample_nodejs_module.js")) + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv7", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + self.assertRunOk("node sample_nodejs_module.js") + + +class TestNodeJSModuleHostSrc(infra.basetest.BRTest): + config = \ + """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_PACKAGE_NODEJS=y + BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL="lodash" + BR2_PACKAGE_HOST_NODEJS_SRC=y BR2_TARGET_ROOTFS_CPIO=y # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="{}" From arnout at mind.be Fri Oct 6 15:31:13 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:13 +0200 Subject: [Buildroot] [git commit] package/nodejs: rename to nodejs-src and convert to virtual package Message-ID: <20231006153223.9B11784307@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4cbc2af604e73780c0c6b5c093c55c2f7ee2c4e3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master host-nodejs is quite long to build (5 minutes on a very fast build machine), and will become a download dependency when we implement vendoring for NodeJS-based packages. In order to mitigate this build time, an idea is to use a pre-compiled host NodeJS. One option would be to use a pre-installed NodeJS, but we're concerned by version compatibility issues of the host NodeJS/NPM does not have the same version as the target NodeJS/NPM. So another option is to use a pre-compiled NodeJS provided by the NodeJS project itself. To achieve this, this commit turns the host-nodejs package into a virtual package. For the time being, this has just one provider: host-nodejs-src, which builds host-nodejs from source. This is the original host-nodejs package, renamed to host-nodejs-src. The target nodejs package is also renamed to nodejs-src in order to have a single package nodejs-src that has a host and target version, as usual. We do keep the nodejs target package itself, but it's an empty package - not even a virtual package. This means the following. - Its VERSION, SOURCE and SITE variables are left empty. The existing variables are renamed to NODEJS_COMMON_VERSION etc. to allow them to be reused by nodejs-src and the future nodejs-bin. - It's a generic package with a single dependency, nodejs-src. - The Config.in remains unchanged, except that it selects BR2_PACKAGE_NODEJS_SRC. - BR2_PACKAGE_NODEJS_SRC is a blind option. Co-authored-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle Signed-off-by: Thomas Petazzoni --- package/nodejs/Config.in | 3 + package/nodejs/Config.in.host | 4 + .../0001-add-qemu-wrapper-support.patch | 0 ...002-check-if-uclibc-has-backtrace-support.patch | 0 ...3-include-obj-name-in-shared-intermediate.patch | 0 ...l-modules-cjs-loader.js-adjust-default-pa.patch | 0 package/nodejs/nodejs-src/Config.in | 2 + .../nodejs.hash => nodejs-src/nodejs-src.hash} | 0 .../{nodejs/nodejs.mk => nodejs-src/nodejs-src.mk} | 154 +++++++++++---------- .../{nodejs => nodejs-src}/v8-qemu-wrapper.in | 0 package/nodejs/nodejs.mk | 11 +- 11 files changed, 99 insertions(+), 75 deletions(-) diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in index 1489306be0..c684f8eb86 100644 --- a/package/nodejs/Config.in +++ b/package/nodejs/Config.in @@ -26,6 +26,7 @@ config BR2_PACKAGE_NODEJS # uses dlopen(). On ARMv5, we could technically support static # linking, but that's too much of a corner case to support it. depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_NODEJS_SRC select BR2_PACKAGE_HOST_NODEJS if BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL != "" select BR2_PACKAGE_HOST_PYTHON3 select BR2_PACKAGE_HOST_PYTHON3_BZIP2 @@ -85,3 +86,5 @@ config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS modules. endif + +source "package/nodejs/nodejs-src/Config.in" diff --git a/package/nodejs/Config.in.host b/package/nodejs/Config.in.host index 06a1ca22ad..72b498dada 100644 --- a/package/nodejs/Config.in.host +++ b/package/nodejs/Config.in.host @@ -28,4 +28,8 @@ config BR2_PACKAGE_HOST_NODEJS_COREPACK what currently happens with npm, which is shipped by Node.js by default. +config BR2_PACKAGE_PROVIDES_HOST_NODEJS + string + default "host-nodejs-src" + endif diff --git a/package/nodejs/nodejs/0001-add-qemu-wrapper-support.patch b/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch similarity index 100% rename from package/nodejs/nodejs/0001-add-qemu-wrapper-support.patch rename to package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch diff --git a/package/nodejs/nodejs/0002-check-if-uclibc-has-backtrace-support.patch b/package/nodejs/nodejs-src/0002-check-if-uclibc-has-backtrace-support.patch similarity index 100% rename from package/nodejs/nodejs/0002-check-if-uclibc-has-backtrace-support.patch rename to package/nodejs/nodejs-src/0002-check-if-uclibc-has-backtrace-support.patch diff --git a/package/nodejs/nodejs/0003-include-obj-name-in-shared-intermediate.patch b/package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch similarity index 100% rename from package/nodejs/nodejs/0003-include-obj-name-in-shared-intermediate.patch rename to package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch diff --git a/package/nodejs/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch b/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch similarity index 100% rename from package/nodejs/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch rename to package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch diff --git a/package/nodejs/nodejs-src/Config.in b/package/nodejs/nodejs-src/Config.in new file mode 100644 index 0000000000..90b061f616 --- /dev/null +++ b/package/nodejs/nodejs-src/Config.in @@ -0,0 +1,2 @@ +config BR2_PACKAGE_NODEJS_SRC + bool diff --git a/package/nodejs/nodejs/nodejs.hash b/package/nodejs/nodejs-src/nodejs-src.hash similarity index 100% rename from package/nodejs/nodejs/nodejs.hash rename to package/nodejs/nodejs-src/nodejs-src.hash diff --git a/package/nodejs/nodejs/nodejs.mk b/package/nodejs/nodejs-src/nodejs-src.mk similarity index 60% rename from package/nodejs/nodejs/nodejs.mk rename to package/nodejs/nodejs-src/nodejs-src.mk index 24cd4ded1f..3452c93728 100644 --- a/package/nodejs/nodejs/nodejs.mk +++ b/package/nodejs/nodejs-src/nodejs-src.mk @@ -1,12 +1,22 @@ ################################################################################ # -# nodejs +# nodejs-src # ################################################################################ -# version etc. already defined in package/nodejs/nodejs.mk +NODEJS_SRC_VERSION = $(NODEJS_COMMON_VERSION) +NODEJS_SRC_SOURCE = $(NODEJS_COMMON_SOURCE) +NODEJS_SRC_SITE = $(NODEJS_COMMON_SITE) +NODEJS_SRC_DL_SUBDIR = nodejs -NODEJS_DEPENDENCIES = \ +NODEJS_SRC_LICENSE = $(NODEJS_LICENSE) +NODEJS_SRC_LICENSE_FILES = $(NODEJS_LICENSE_FILES) +NODEJS_SRC_CPE_ID_VENDOR = $(NODEJS_CPE_ID_VENDOR) +NODEJS_SRC_CPE_ID_PRODUCT = $(NODEJS_CPE_ID_PRODUCT) + +HOST_NODEJS_SRC_PROVIDES = host-nodejs + +NODEJS_SRC_DEPENDENCIES = \ host-ninja \ host-pkgconf \ host-python3 \ @@ -16,16 +26,16 @@ NODEJS_DEPENDENCIES = \ nghttp2 \ zlib \ $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) -HOST_NODEJS_DEPENDENCIES = \ +HOST_NODEJS_SRC_DEPENDENCIES = \ host-icu \ host-libopenssl \ host-ninja \ host-pkgconf \ host-python3 \ host-zlib -NODEJS_INSTALL_STAGING = YES +NODEJS_SRC_INSTALL_STAGING = YES -NODEJS_CONF_OPTS = \ +NODEJS_SRC_CONF_OPTS = \ --shared-zlib \ --shared-cares \ --shared-libuv \ @@ -36,51 +46,51 @@ NODEJS_CONF_OPTS = \ --dest-os=linux \ --ninja -HOST_NODEJS_MAKE_OPTS = \ +HOST_NODEJS_SRC_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ - CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ + CXXFLAGS="$(HOST_NODEJS_SRC_CXXFLAGS)" \ LDFLAGS.host="$(HOST_LDFLAGS)" \ NO_LOAD=cctest.target.mk \ PATH=$(@D)/bin:$(BR_PATH) \ JOBS=$(PARALLEL_JOBS) -NODEJS_MAKE_OPTS = \ +NODEJS_SRC_MAKE_OPTS = \ $(TARGET_CONFIGURE_OPTS) \ NO_LOAD=cctest.target.mk \ PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ + LDFLAGS="$(NODEJS_SRC_LDFLAGS)" \ LD="$(TARGET_CXX)" \ JOBS=$(PARALLEL_JOBS) # nodejs's build system uses python which can be a symlink to an unsupported # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by # forcing host-python3 early in the PATH, via a python->python3 symlink. -define NODEJS_PYTHON3_SYMLINK +define NODEJS_SRC_PYTHON3_SYMLINK mkdir -p $(@D)/bin ln -sf $(HOST_DIR)/bin/python3 $(@D)/bin/python endef -HOST_NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK +HOST_NODEJS_SRC_PRE_CONFIGURE_HOOKS += NODEJS_SRC_PYTHON3_SYMLINK +NODEJS_SRC_PRE_CONFIGURE_HOOKS += NODEJS_SRC_PYTHON3_SYMLINK ifeq ($(BR2_PACKAGE_OPENSSL),y) -NODEJS_DEPENDENCIES += openssl -NODEJS_CONF_OPTS += --shared-openssl +NODEJS_SRC_DEPENDENCIES += openssl +NODEJS_SRC_CONF_OPTS += --shared-openssl else -NODEJS_CONF_OPTS += --without-ssl +NODEJS_SRC_CONF_OPTS += --without-ssl endif ifeq ($(BR2_PACKAGE_ICU),y) -NODEJS_DEPENDENCIES += icu -NODEJS_CONF_OPTS += --with-intl=system-icu +NODEJS_SRC_DEPENDENCIES += icu +NODEJS_SRC_CONF_OPTS += --with-intl=system-icu else -NODEJS_CONF_OPTS += --with-intl=none +NODEJS_SRC_CONF_OPTS += --with-intl=none endif ifneq ($(BR2_PACKAGE_NODEJS_NPM),y) -NODEJS_CONF_OPTS += --without-npm +NODEJS_SRC_CONF_OPTS += --without-npm endif -define HOST_NODEJS_CONFIGURE_CMDS +define HOST_NODEJS_SRC_CONFIGURE_CMDS cd $(@D); \ $(HOST_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) \ @@ -98,72 +108,72 @@ define HOST_NODEJS_CONFIGURE_CMDS --ninja endef -HOST_NODEJS_CXXFLAGS = $(HOST_CXXFLAGS) +HOST_NODEJS_SRC_CXXFLAGS = $(HOST_CXXFLAGS) -define HOST_NODEJS_BUILD_CMDS +define HOST_NODEJS_SRC_BUILD_CMDS $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) \ - $(HOST_NODEJS_MAKE_OPTS) + $(HOST_NODEJS_SRC_MAKE_OPTS) endef ifeq ($(BR2_PACKAGE_HOST_NODEJS_COREPACK),y) -define HOST_NODEJS_ENABLE_COREPACK +define HOST_NODEJS_SRC_ENABLE_COREPACK $(COREPACK) enable endef endif -define HOST_NODEJS_INSTALL_CMDS +define HOST_NODEJS_SRC_INSTALL_CMDS $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) install \ - $(HOST_NODEJS_MAKE_OPTS) - $(HOST_NODEJS_ENABLE_COREPACK) + $(HOST_NODEJS_SRC_MAKE_OPTS) + $(HOST_NODEJS_SRC_ENABLE_COREPACK) endef ifeq ($(BR2_i386),y) -NODEJS_CPU = ia32 +NODEJS_SRC_CPU = ia32 else ifeq ($(BR2_x86_64),y) -NODEJS_CPU = x64 +NODEJS_SRC_CPU = x64 else ifeq ($(BR2_mips),y) -NODEJS_CPU = mips +NODEJS_SRC_CPU = mips else ifeq ($(BR2_mipsel),y) -NODEJS_CPU = mipsel +NODEJS_SRC_CPU = mipsel else ifeq ($(BR2_arm),y) -NODEJS_CPU = arm +NODEJS_SRC_CPU = arm # V8 needs to know what floating point ABI the target is using. -NODEJS_ARM_FP = $(GCC_TARGET_FLOAT_ABI) +NODEJS_SRC_ARM_FP = $(GCC_TARGET_FLOAT_ABI) # it also wants to know which FPU to use, but only has support for # vfp, vfpv3, vfpv3-d16 and neon. ifeq ($(BR2_ARM_FPU_VFPV2),y) -NODEJS_ARM_FPU = vfp +NODEJS_SRC_ARM_FPU = vfp # vfpv4 is a superset of vfpv3 else ifeq ($(BR2_ARM_FPU_VFPV3)$(BR2_ARM_FPU_VFPV4),y) -NODEJS_ARM_FPU = vfpv3 +NODEJS_SRC_ARM_FPU = vfpv3 # vfpv4-d16 is a superset of vfpv3-d16 else ifeq ($(BR2_ARM_FPU_VFPV3D16)$(BR2_ARM_FPU_VFPV4D16),y) -NODEJS_ARM_FPU = vfpv3-d16 +NODEJS_SRC_ARM_FPU = vfpv3-d16 else ifeq ($(BR2_ARM_FPU_NEON),y) -NODEJS_ARM_FPU = neon +NODEJS_SRC_ARM_FPU = neon endif else ifeq ($(BR2_aarch64),y) -NODEJS_CPU = arm64 +NODEJS_SRC_CPU = arm64 endif # MIPS architecture specific options ifeq ($(BR2_mips)$(BR2_mipsel),y) ifeq ($(BR2_MIPS_CPU_MIPS32R6),y) -NODEJS_MIPS_ARCH_VARIANT = r6 -NODEJS_MIPS_FPU_MODE = fp64 +NODEJS_SRC_MIPS_ARCH_VARIANT = r6 +NODEJS_SRC_MIPS_FPU_MODE = fp64 else ifeq ($(BR2_MIPS_CPU_MIPS32R2),y) -NODEJS_MIPS_ARCH_VARIANT = r2 +NODEJS_SRC_MIPS_ARCH_VARIANT = r2 else ifeq ($(BR2_MIPS_CPU_MIPS32),y) -NODEJS_MIPS_ARCH_VARIANT = r1 +NODEJS_SRC_MIPS_ARCH_VARIANT = r1 endif endif -NODEJS_LDFLAGS = $(TARGET_LDFLAGS) +NODEJS_SRC_LDFLAGS = $(TARGET_LDFLAGS) ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -NODEJS_LDFLAGS += -latomic +NODEJS_SRC_LDFLAGS += -latomic endif # V8's JIT infrastructure requires binaries such as mksnapshot and @@ -172,8 +182,8 @@ endif # host targeting ARMv6 needs to produce a 32-bit binary). To work around this # issue, cross-compile the binaries for the target and run them on the # host with QEMU, much like gobject-introspection. -define NODEJS_INSTALL_V8_QEMU_WRAPPER - $(INSTALL) -D -m 755 $(NODEJS_PKGDIR)/v8-qemu-wrapper.in \ +define NODEJS_SRC_INSTALL_V8_QEMU_WRAPPER + $(INSTALL) -D -m 755 $(NODEJS_SRC_PKGDIR)/v8-qemu-wrapper.in \ $(@D)/out/Release/v8-qemu-wrapper $(SED) "s%@QEMU_USER@%$(QEMU_USER)%g" \ $(@D)/out/Release/v8-qemu-wrapper @@ -182,77 +192,77 @@ define NODEJS_INSTALL_V8_QEMU_WRAPPER $(SED) "s%@QEMU_USERMODE_ARGS@%$(call qstrip,$(BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS))%g" \ $(@D)/out/Release/v8-qemu-wrapper endef -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_INSTALL_V8_QEMU_WRAPPER +NODEJS_SRC_PRE_CONFIGURE_HOOKS += NODEJS_SRC_INSTALL_V8_QEMU_WRAPPER -define NODEJS_WRAPPER_FIXUP +define NODEJS_SRC_WRAPPER_FIXUP $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/node.gyp $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/tools/v8_gypfiles/v8.gyp endef -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_WRAPPER_FIXUP +NODEJS_SRC_PRE_CONFIGURE_HOOKS += NODEJS_SRC_WRAPPER_FIXUP # Do not run the qemu-wrapper for the host build. -define HOST_NODEJS_WRAPPER_FIXUP +define HOST_NODEJS_SRC_WRAPPER_FIXUP $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/node.gyp $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/tools/v8_gypfiles/v8.gyp endef -HOST_NODEJS_PRE_CONFIGURE_HOOKS += HOST_NODEJS_WRAPPER_FIXUP +HOST_NODEJS_SRC_PRE_CONFIGURE_HOOKS += HOST_NODEJS_SRC_WRAPPER_FIXUP -define NODEJS_CONFIGURE_CMDS +define NODEJS_SRC_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ + LDFLAGS="$(NODEJS_SRC_LDFLAGS)" \ LD="$(TARGET_CXX)" \ PYTHON=$(HOST_DIR)/bin/python3 \ $(HOST_DIR)/bin/python3 configure.py \ --prefix=/usr \ - --dest-cpu=$(NODEJS_CPU) \ - $(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \ - $(if $(NODEJS_ARM_FPU),--with-arm-fpu=$(NODEJS_ARM_FPU)) \ - $(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \ - $(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \ - $(NODEJS_CONF_OPTS) \ + --dest-cpu=$(NODEJS_SRC_CPU) \ + $(if $(NODEJS_SRC_ARM_FP),--with-arm-float-abi=$(NODEJS_SRC_ARM_FP)) \ + $(if $(NODEJS_SRC_ARM_FPU),--with-arm-fpu=$(NODEJS_SRC_ARM_FPU)) \ + $(if $(NODEJS_SRC_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_SRC_MIPS_ARCH_VARIANT)) \ + $(if $(NODEJS_SRC_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_SRC_MIPS_FPU_MODE)) \ + $(NODEJS_SRC_CONF_OPTS) \ ) endef -define NODEJS_BUILD_CMDS +define NODEJS_SRC_BUILD_CMDS $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) \ - $(NODEJS_MAKE_OPTS) + $(NODEJS_SRC_MAKE_OPTS) endef # # Build the list of modules to install. # -NODEJS_MODULES_LIST= $(call qstrip,\ +NODEJS_SRC_MODULES_LIST= $(call qstrip,\ $(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL)) # # We can only call NPM if there's something to install. # -ifneq ($(NODEJS_MODULES_LIST),) -NODEJS_DEPENDENCIES += host-nodejs -define NODEJS_INSTALL_MODULES +ifneq ($(NODEJS_SRC_MODULES_LIST),) +NODEJS_SRC_DEPENDENCIES += host-nodejs +define NODEJS_SRC_INSTALL_MODULES # If you're having trouble with module installation, adding -d to the # npm install call below and setting npm_config_rollback=false can both # help in diagnosing the problem. - $(NPM) install -g $(NODEJS_MODULES_LIST) + $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) endef endif -define NODEJS_INSTALL_STAGING_CMDS +define NODEJS_SRC_INSTALL_STAGING_CMDS $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) install \ DESTDIR=$(STAGING_DIR) \ - $(NODEJS_MAKE_OPTS) + $(NODEJS_SRC_MAKE_OPTS) endef -define NODEJS_INSTALL_TARGET_CMDS +define NODEJS_SRC_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) install \ DESTDIR=$(TARGET_DIR) \ - $(NODEJS_MAKE_OPTS) - $(NODEJS_INSTALL_MODULES) + $(NODEJS_SRC_MAKE_OPTS) + $(NODEJS_SRC_INSTALL_MODULES) endef # node.js configure is a Python script and does not use autotools diff --git a/package/nodejs/nodejs/v8-qemu-wrapper.in b/package/nodejs/nodejs-src/v8-qemu-wrapper.in similarity index 100% rename from package/nodejs/nodejs/v8-qemu-wrapper.in rename to package/nodejs/nodejs-src/v8-qemu-wrapper.in diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 16e85b7ab9..2a8c570932 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -4,9 +4,10 @@ # ################################################################################ -NODEJS_VERSION = 16.20.0 -NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz -NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) +# _VERSION, _SOURCE and _SITE must be kept empty to avoid downloading anything +NODEJS_COMMON_VERSION = 16.20.0 +NODEJS_COMMON_SOURCE = node-v$(NODEJS_COMMON_VERSION).tar.xz +NODEJS_COMMON_SITE = http://nodejs.org/dist/v$(NODEJS_COMMON_VERSION) NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) NODEJS_LICENSE_FILES = LICENSE @@ -31,4 +32,8 @@ PNPM = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/pnpm YARN = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/yarn endif +NODEJS_DEPENDENCIES = nodejs-src +$(eval $(generic-package)) +$(eval $(host-virtual-package)) + include $(sort $(wildcard package/nodejs/*/*.mk)) From arnout at mind.be Fri Oct 6 15:31:12 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:12 +0200 Subject: [Buildroot] [git commit] package/nodejs: move to package/nodejs/nodejs Message-ID: <20231006153223.8081484300@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4c66ee3cda45bebf9044d09f0d2ceec2ea4298cd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Later we will change host-nodejs into a virtual package with the option to download the binary, or to build from source. Those two implementations will share version etc., so we want them in a subdirectory in order to guarantee order of inclusion. As a preparatory step, move the existing, single nodejs implementation down into a subdirectory. The definitions in nodejs.mk that will later be shared between the source and binary variants of the package stay in package/nodejs/nodejs.mk; the rest moves down to package/nodejs/nodejs/nodejs.mk. The hash file will be shared between the implementations and therefore stays in package/nodejs/nodejs.hash. package/nodejs/nodejs/nodejs.hash is a symlink to it. The Config.in and Config.in.host don't move. The two implementations will only have blind options. Signed-off-by: Arnout Vandecappelle --- package/nodejs/nodejs.mk | 253 +-------------------- .../0001-add-qemu-wrapper-support.patch | 0 ...002-check-if-uclibc-has-backtrace-support.patch | 0 ...3-include-obj-name-in-shared-intermediate.patch | 0 ...l-modules-cjs-loader.js-adjust-default-pa.patch | 0 package/nodejs/nodejs/nodejs.hash | 1 + package/nodejs/{ => nodejs}/nodejs.mk | 27 +-- package/nodejs/{ => nodejs}/v8-qemu-wrapper.in | 0 8 files changed, 5 insertions(+), 276 deletions(-) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index b8e57e567d..16e85b7ab9 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -7,231 +7,12 @@ NODEJS_VERSION = 16.20.0 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) -NODEJS_DEPENDENCIES = \ - host-ninja \ - host-pkgconf \ - host-python3 \ - host-qemu \ - c-ares \ - libuv \ - nghttp2 \ - zlib \ - $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) -HOST_NODEJS_DEPENDENCIES = \ - host-icu \ - host-libopenssl \ - host-ninja \ - host-pkgconf \ - host-python3 \ - host-zlib -NODEJS_INSTALL_STAGING = YES + NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) NODEJS_LICENSE_FILES = LICENSE NODEJS_CPE_ID_VENDOR = nodejs NODEJS_CPE_ID_PRODUCT = node.js -NODEJS_CONF_OPTS = \ - --shared-zlib \ - --shared-cares \ - --shared-libuv \ - --shared-nghttp2 \ - --without-dtrace \ - --without-etw \ - --cross-compiling \ - --dest-os=linux \ - --ninja - -HOST_NODEJS_MAKE_OPTS = \ - $(HOST_CONFIGURE_OPTS) \ - CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ - LDFLAGS.host="$(HOST_LDFLAGS)" \ - NO_LOAD=cctest.target.mk \ - PATH=$(@D)/bin:$(BR_PATH) \ - JOBS=$(PARALLEL_JOBS) - -NODEJS_MAKE_OPTS = \ - $(TARGET_CONFIGURE_OPTS) \ - NO_LOAD=cctest.target.mk \ - PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" \ - JOBS=$(PARALLEL_JOBS) - -# nodejs's build system uses python which can be a symlink to an unsupported -# python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by -# forcing host-python3 early in the PATH, via a python->python3 symlink. -define NODEJS_PYTHON3_SYMLINK - mkdir -p $(@D)/bin - ln -sf $(HOST_DIR)/bin/python3 $(@D)/bin/python -endef -HOST_NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -NODEJS_DEPENDENCIES += openssl -NODEJS_CONF_OPTS += --shared-openssl -else -NODEJS_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_ICU),y) -NODEJS_DEPENDENCIES += icu -NODEJS_CONF_OPTS += --with-intl=system-icu -else -NODEJS_CONF_OPTS += --with-intl=none -endif - -ifneq ($(BR2_PACKAGE_NODEJS_NPM),y) -NODEJS_CONF_OPTS += --without-npm -endif - -define HOST_NODEJS_CONFIGURE_CMDS - cd $(@D); \ - $(HOST_CONFIGURE_OPTS) \ - PATH=$(@D)/bin:$(BR_PATH) \ - PYTHON=$(HOST_DIR)/bin/python3 \ - $(HOST_DIR)/bin/python3 configure.py \ - --prefix=$(HOST_DIR) \ - --without-dtrace \ - --without-etw \ - --shared-openssl \ - --shared-openssl-includes=$(HOST_DIR)/include \ - --shared-openssl-libpath=$(HOST_DIR)/lib \ - --shared-zlib \ - --no-cross-compiling \ - --with-intl=system-icu \ - --ninja -endef - -HOST_NODEJS_CXXFLAGS = $(HOST_CXXFLAGS) - -define HOST_NODEJS_BUILD_CMDS - $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) \ - $(HOST_NODEJS_MAKE_OPTS) -endef - -ifeq ($(BR2_PACKAGE_HOST_NODEJS_COREPACK),y) -define HOST_NODEJS_ENABLE_COREPACK - $(COREPACK) enable -endef -endif - -define HOST_NODEJS_INSTALL_CMDS - $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) install \ - $(HOST_NODEJS_MAKE_OPTS) - $(HOST_NODEJS_ENABLE_COREPACK) -endef - -ifeq ($(BR2_i386),y) -NODEJS_CPU = ia32 -else ifeq ($(BR2_x86_64),y) -NODEJS_CPU = x64 -else ifeq ($(BR2_mips),y) -NODEJS_CPU = mips -else ifeq ($(BR2_mipsel),y) -NODEJS_CPU = mipsel -else ifeq ($(BR2_arm),y) -NODEJS_CPU = arm -# V8 needs to know what floating point ABI the target is using. -NODEJS_ARM_FP = $(GCC_TARGET_FLOAT_ABI) -# it also wants to know which FPU to use, but only has support for -# vfp, vfpv3, vfpv3-d16 and neon. -ifeq ($(BR2_ARM_FPU_VFPV2),y) -NODEJS_ARM_FPU = vfp -# vfpv4 is a superset of vfpv3 -else ifeq ($(BR2_ARM_FPU_VFPV3)$(BR2_ARM_FPU_VFPV4),y) -NODEJS_ARM_FPU = vfpv3 -# vfpv4-d16 is a superset of vfpv3-d16 -else ifeq ($(BR2_ARM_FPU_VFPV3D16)$(BR2_ARM_FPU_VFPV4D16),y) -NODEJS_ARM_FPU = vfpv3-d16 -else ifeq ($(BR2_ARM_FPU_NEON),y) -NODEJS_ARM_FPU = neon -endif -else ifeq ($(BR2_aarch64),y) -NODEJS_CPU = arm64 -endif - -# MIPS architecture specific options -ifeq ($(BR2_mips)$(BR2_mipsel),y) -ifeq ($(BR2_MIPS_CPU_MIPS32R6),y) -NODEJS_MIPS_ARCH_VARIANT = r6 -NODEJS_MIPS_FPU_MODE = fp64 -else ifeq ($(BR2_MIPS_CPU_MIPS32R2),y) -NODEJS_MIPS_ARCH_VARIANT = r2 -else ifeq ($(BR2_MIPS_CPU_MIPS32),y) -NODEJS_MIPS_ARCH_VARIANT = r1 -endif -endif - -NODEJS_LDFLAGS = $(TARGET_LDFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -NODEJS_LDFLAGS += -latomic -endif - -# V8's JIT infrastructure requires binaries such as mksnapshot and -# mkpeephole to be run in the host during the build. However, these -# binaries must have the same bit-width as the target (e.g. a x86_64 -# host targeting ARMv6 needs to produce a 32-bit binary). To work around this -# issue, cross-compile the binaries for the target and run them on the -# host with QEMU, much like gobject-introspection. -define NODEJS_INSTALL_V8_QEMU_WRAPPER - $(INSTALL) -D -m 755 $(NODEJS_PKGDIR)/v8-qemu-wrapper.in \ - $(@D)/out/Release/v8-qemu-wrapper - $(SED) "s%@QEMU_USER@%$(QEMU_USER)%g" \ - $(@D)/out/Release/v8-qemu-wrapper - $(SED) "s%@TOOLCHAIN_HEADERS_VERSION@%$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)%g" \ - $(@D)/out/Release/v8-qemu-wrapper - $(SED) "s%@QEMU_USERMODE_ARGS@%$(call qstrip,$(BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS))%g" \ - $(@D)/out/Release/v8-qemu-wrapper -endef -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_INSTALL_V8_QEMU_WRAPPER - -define NODEJS_WRAPPER_FIXUP - $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/node.gyp - $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/tools/v8_gypfiles/v8.gyp -endef -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_WRAPPER_FIXUP - -# Do not run the qemu-wrapper for the host build. -define HOST_NODEJS_WRAPPER_FIXUP - $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/node.gyp - $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/tools/v8_gypfiles/v8.gyp -endef -HOST_NODEJS_PRE_CONFIGURE_HOOKS += HOST_NODEJS_WRAPPER_FIXUP - -define NODEJS_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_CONFIGURE_OPTS) \ - PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" \ - PYTHON=$(HOST_DIR)/bin/python3 \ - $(HOST_DIR)/bin/python3 configure.py \ - --prefix=/usr \ - --dest-cpu=$(NODEJS_CPU) \ - $(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \ - $(if $(NODEJS_ARM_FPU),--with-arm-fpu=$(NODEJS_ARM_FPU)) \ - $(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \ - $(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \ - $(NODEJS_CONF_OPTS) \ - ) -endef - -define NODEJS_BUILD_CMDS - $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) \ - $(NODEJS_MAKE_OPTS) -endef - -# -# Build the list of modules to install. -# -NODEJS_MODULES_LIST= $(call qstrip,\ - $(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL)) - NODEJS_BIN_ENV = $(TARGET_CONFIGURE_OPTS) \ LDFLAGS="$(NODEJS_LDFLAGS)" \ LD="$(TARGET_CXX)" \ @@ -250,34 +31,4 @@ PNPM = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/pnpm YARN = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/yarn endif -# -# We can only call NPM if there's something to install. -# -ifneq ($(NODEJS_MODULES_LIST),) -NODEJS_DEPENDENCIES += host-nodejs -define NODEJS_INSTALL_MODULES - # If you're having trouble with module installation, adding -d to the - # npm install call below and setting npm_config_rollback=false can both - # help in diagnosing the problem. - $(NPM) install -g $(NODEJS_MODULES_LIST) -endef -endif - -define NODEJS_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) install \ - DESTDIR=$(STAGING_DIR) \ - $(NODEJS_MAKE_OPTS) -endef - -define NODEJS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) install \ - DESTDIR=$(TARGET_DIR) \ - $(NODEJS_MAKE_OPTS) - $(NODEJS_INSTALL_MODULES) -endef - -# node.js configure is a Python script and does not use autotools -$(eval $(generic-package)) -$(eval $(host-generic-package)) +include $(sort $(wildcard package/nodejs/*/*.mk)) diff --git a/package/nodejs/0001-add-qemu-wrapper-support.patch b/package/nodejs/nodejs/0001-add-qemu-wrapper-support.patch similarity index 100% rename from package/nodejs/0001-add-qemu-wrapper-support.patch rename to package/nodejs/nodejs/0001-add-qemu-wrapper-support.patch diff --git a/package/nodejs/0002-check-if-uclibc-has-backtrace-support.patch b/package/nodejs/nodejs/0002-check-if-uclibc-has-backtrace-support.patch similarity index 100% rename from package/nodejs/0002-check-if-uclibc-has-backtrace-support.patch rename to package/nodejs/nodejs/0002-check-if-uclibc-has-backtrace-support.patch diff --git a/package/nodejs/0003-include-obj-name-in-shared-intermediate.patch b/package/nodejs/nodejs/0003-include-obj-name-in-shared-intermediate.patch similarity index 100% rename from package/nodejs/0003-include-obj-name-in-shared-intermediate.patch rename to package/nodejs/nodejs/0003-include-obj-name-in-shared-intermediate.patch diff --git a/package/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch b/package/nodejs/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch similarity index 100% rename from package/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch rename to package/nodejs/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch diff --git a/package/nodejs/nodejs/nodejs.hash b/package/nodejs/nodejs/nodejs.hash new file mode 120000 index 0000000000..0c3ac2ce77 --- /dev/null +++ b/package/nodejs/nodejs/nodejs.hash @@ -0,0 +1 @@ +../nodejs.hash \ No newline at end of file diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs/nodejs.mk similarity index 88% copy from package/nodejs/nodejs.mk copy to package/nodejs/nodejs/nodejs.mk index b8e57e567d..24cd4ded1f 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs/nodejs.mk @@ -4,9 +4,8 @@ # ################################################################################ -NODEJS_VERSION = 16.20.0 -NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz -NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) +# version etc. already defined in package/nodejs/nodejs.mk + NODEJS_DEPENDENCIES = \ host-ninja \ host-pkgconf \ @@ -25,10 +24,6 @@ HOST_NODEJS_DEPENDENCIES = \ host-python3 \ host-zlib NODEJS_INSTALL_STAGING = YES -NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) -NODEJS_LICENSE_FILES = LICENSE -NODEJS_CPE_ID_VENDOR = nodejs -NODEJS_CPE_ID_PRODUCT = node.js NODEJS_CONF_OPTS = \ --shared-zlib \ @@ -232,24 +227,6 @@ endef NODEJS_MODULES_LIST= $(call qstrip,\ $(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL)) -NODEJS_BIN_ENV = $(TARGET_CONFIGURE_OPTS) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" \ - npm_config_arch=$(NODEJS_CPU) \ - npm_config_target_arch=$(NODEJS_CPU) \ - npm_config_build_from_source=true \ - npm_config_nodedir=$(BUILD_DIR)/nodejs-$(NODEJS_VERSION) \ - npm_config_prefix=$(TARGET_DIR)/usr \ - npm_config_cache=$(BUILD_DIR)/.npm-cache - -# Define various packaging tools for other packages to use -NPM = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/npm -ifeq ($(BR2_PACKAGE_HOST_NODEJS_COREPACK),y) -COREPACK = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/corepack -PNPM = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/pnpm -YARN = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/yarn -endif - # # We can only call NPM if there's something to install. # diff --git a/package/nodejs/v8-qemu-wrapper.in b/package/nodejs/nodejs/v8-qemu-wrapper.in similarity index 100% rename from package/nodejs/v8-qemu-wrapper.in rename to package/nodejs/nodejs/v8-qemu-wrapper.in From arnout at mind.be Fri Oct 6 15:31:14 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:14 +0200 Subject: [Buildroot] [git commit] package/nodejs/nodejs-bin: new provider of host-nodejs Message-ID: <20231006153223.A8F6D842FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0fd6954fcb2b922ff95779420a36e99229e75f92 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package downloads the pre-built version of nodejs, if the host platform supports it. Reuse the variables defined in nodejs.mk. For the definition of BR2_PACKAGE_PROVIDES_HOST_NODEJS, take care of defaulting to host-nodejs-bin if host-nodejs is not selected at all. This makes sure that in the future we will be able to run 'make foo-source' for a package that uses nodejs vendoring, and it will use the prebuilt nodejs to perform the vendoring. Signed-off-by: Thomas Petazzoni [Arnout: - update to 16.20.0 to match nodejs.mk - including hashes; - add HOST_NODEJS_BIN_ACTUAL_SOURCE_TARBALL + hash; - move to package/nodejs/nodejs-bin; - drop DEVELOPERS change, it's already covered by package/nodejs; - re-order the series; - immediately add it as a virtual package provider; - add prompt and helpt text to choice; - select host-nodejs-bin as provider if host-nodejs is not selected at all. ] Signed-off-by: Arnout Vandecappelle --- package/nodejs/Config.in.host | 46 ++++++++++++++++++++++++++----- package/nodejs/nodejs-bin/nodejs-bin.hash | 1 + package/nodejs/nodejs-bin/nodejs-bin.mk | 37 +++++++++++++++++++++++++ package/nodejs/nodejs.hash | 8 ++++-- 4 files changed, 83 insertions(+), 9 deletions(-) diff --git a/package/nodejs/Config.in.host b/package/nodejs/Config.in.host index 72b498dada..a8ab89176c 100644 --- a/package/nodejs/Config.in.host +++ b/package/nodejs/Config.in.host @@ -1,12 +1,18 @@ +config BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "arm" + default y if BR2_HOSTARCH = "ppc64le" + default y if BR2_HOSTARCH = "x86_64" + comment "host nodejs needs a host gcc >= 8" + depends on !BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS depends on !BR2_HOST_GCC_AT_LEAST_8 config BR2_PACKAGE_HOST_NODEJS bool "host nodejs" - depends on BR2_HOST_GCC_AT_LEAST_8 - select BR2_PACKAGE_HOST_PYTHON3 - select BR2_PACKAGE_HOST_PYTHON3_BZIP2 - select BR2_PACKAGE_HOST_PYTHON3_SSL + depends on BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS || \ + BR2_HOST_GCC_AT_LEAST_8 help Event-driven I/O server-side JavaScript environment based on V8. @@ -15,6 +21,30 @@ config BR2_PACKAGE_HOST_NODEJS if BR2_PACKAGE_HOST_NODEJS +choice + prompt "host nodejs variant" + default BR2_PACKAGE_HOST_NODEJS_BIN if BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS + default BR2_PACKAGE_HOST_NODEJS_SRC + help + Select a nodejs variant - built from source or + pre-built. + +config BR2_PACKAGE_HOST_NODEJS_BIN + bool "pre-built version" + depends on BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS + +config BR2_PACKAGE_HOST_NODEJS_SRC + bool "compile from source" + depends on BR2_HOST_GCC_AT_LEAST_8 + select BR2_PACKAGE_HOST_PYTHON3 + select BR2_PACKAGE_HOST_PYTHON3_BZIP2 + select BR2_PACKAGE_HOST_PYTHON3_SSL + +comment "host nodejs from source needs a host gcc >= 8" + depends on !BR2_HOST_GCC_AT_LEAST_8 + +endchoice + config BR2_PACKAGE_HOST_NODEJS_COREPACK bool "Corepack" help @@ -28,8 +58,10 @@ config BR2_PACKAGE_HOST_NODEJS_COREPACK what currently happens with npm, which is shipped by Node.js by default. +endif + config BR2_PACKAGE_PROVIDES_HOST_NODEJS string - default "host-nodejs-src" - -endif + default "host-nodejs-src" if BR2_PACKAGE_HOST_NODEJS_SRC + # default to host-nodejs-bin so it's used if nothing is set explicitly + default "host-nodejs-bin" if !BR2_PACKAGE_HOST_NODEJS_SRC diff --git a/package/nodejs/nodejs-bin/nodejs-bin.hash b/package/nodejs/nodejs-bin/nodejs-bin.hash new file mode 120000 index 0000000000..0c3ac2ce77 --- /dev/null +++ b/package/nodejs/nodejs-bin/nodejs-bin.hash @@ -0,0 +1 @@ +../nodejs.hash \ No newline at end of file diff --git a/package/nodejs/nodejs-bin/nodejs-bin.mk b/package/nodejs/nodejs-bin/nodejs-bin.mk new file mode 100644 index 0000000000..bf603e573c --- /dev/null +++ b/package/nodejs/nodejs-bin/nodejs-bin.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# nodejs-bin +# +################################################################################ + +NODEJS_BIN_VERSION = $(NODEJS_COMMON_VERSION) +NODEJS_BIN_SITE = $(NODEJS_COMMON_SITE) +NODEJS_BIN_SOURCE = node-v$(NODEJS_BIN_VERSION)-linux-$(NODEJS_BIN_ARCH).tar.xz +HOST_NODEJS_BIN_ACTUAL_SOURCE_TARBALL = node-v$(NODEJS_BIN_VERSION).tar.xz +NODEJS_BIN_DL_SUBDIR = nodejs + +NODEJS_BIN_LICENSE = $(NODEJS_LICENSE) +NODEJS_BIN_LICENSE_FILES = $(NODEJS_LICENSE_FILES) +NODEJS_BIN_CPE_ID_VENDOR = $(NODEJS_CPE_ID_VENDOR) +NODEJS_BIN_CPE_ID_PRODUCT = $(NODEJS_CPE_ID_PRODUCT) + +HOST_NODEJS_BIN_PROVIDES = host-nodejs + +ifeq ($(HOSTARCH),aarch64) +NODEJS_BIN_ARCH = arm64 +else ifeq ($(HOSTARCH),arm) +# We assume that if someone does a build on ARM, it will be on an +# ARMv7 machine +NODEJS_BIN_ARCH = armv7l +else ifeq ($(HOSTARCH),ppc64le) +NODEJS_BIN_ARCH = ppc64le +else ifeq ($(HOSTARCH),x86_64) +NODEJS_BIN_ARCH = x64 +endif + +define HOST_NODEJS_BIN_INSTALL_CMDS + rsync -a --exclude=CHANGELOG.md --exclude=LICENSE --exclude=README.md \ + $(@D)/* $(HOST_DIR)/ +endef + +$(eval $(host-generic-package)) diff --git a/package/nodejs/nodejs.hash b/package/nodejs/nodejs.hash index 6ab4c53e79..eaf41f6437 100644 --- a/package/nodejs/nodejs.hash +++ b/package/nodejs/nodejs.hash @@ -1,5 +1,9 @@ -# From https://nodejs.org/dist/v16.20.0/SHASUMS256.txt +# From https://nodejs.org/dist/v16.20.0/SHASUMS256.txt.asc +sha256 aca4794ca60f2e17689a700eeaa95d7adcd5fd01cdd2e4f9d596ac41b600b796 node-v16.20.0-linux-arm64.tar.xz +sha256 5b79addab37bbdc31b442f8e648efad0b5d3aa5f3e0d682f23f4db483408eb2a node-v16.20.0-linux-armv7l.tar.xz +sha256 b439a8f874e8c2fad287ba75a3229407551f5ff9eb41e45e43e9bf67f184f618 node-v16.20.0-linux-ppc64le.tar.xz +sha256 dff21020b555cc165a1ac36da7d4f6c810b35409c94e00afc51d5d370aae47ae node-v16.20.0-linux-x64.tar.xz sha256 e0990f992234e40a51fe11f92c3816c93a77e1b081145d3dd762cd1026345349 node-v16.20.0.tar.xz -# Hash for license file +# Locally calculated sha256 ba325815d3df8819bebaf37cad67d6e1f82271e1e4a1189b53abd28e261977d6 LICENSE From peter at korsgaard.com Fri Oct 6 19:10:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:40 +0200 Subject: [Buildroot] [PATCH 03/12] package/gst1-plugins-good: security bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-3-peter@korsgaard.com> Fixes CVE-2023-37327: Heap-based buffer overflow in the FLAC parser when handling malformed image tags in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0001.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash | 4 ++-- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash index 604e74b57d..1b315ac1cc 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz.sha256sum -sha256 7c8cc59425f2b232f60ca7d13e56edd615da4f711e73dd01a7cffa46e6bc0cdd gst-plugins-good-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.6.tar.xz.sha256sum +sha256 b3b07fe3f1ce7fe93aa9be7217866044548f35c4a7792280eec7e108a32f9817 gst-plugins-good-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 41f4c727f3..4c6188c097 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_GOOD_VERSION = 1.22.2 +GST1_PLUGINS_GOOD_VERSION = 1.22.6 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:42 +0200 Subject: [Buildroot] [PATCH 05/12] package/gst1-plugins-ugly: security bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-5-peter@korsgaard.com> Fixes the following security issues: ZDI-CAN-21443: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0004.html ZDI-CAN-21444: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0005.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash | 4 ++-- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash index ed781df686..f55dd7b3a0 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.2.tar.xz.sha256sum -sha256 8f30f44db0bd063709bf6fbe55138e3a98af0abcb61c360f35582bbe10e80691 gst-plugins-ugly-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.6.tar.xz.sha256sum +sha256 3e31454c98cb2f7f6d2d355eceb933a892fa0f1dc09bc36c9abc930d8e29ca48 gst-plugins-ugly-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk index f1566b058e..ee3bd1b551 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_UGLY_VERSION = 1.22.2 +GST1_PLUGINS_UGLY_VERSION = 1.22.6 GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:39 +0200 Subject: [Buildroot] [PATCH 02/12] package/gst1-plugins-base: security bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-2-peter@korsgaard.com> Fixes CVE-2023-37328: Heap-based buffer overflow in the subparse subtitle parser when handling certain SRT subtitle files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0002.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash | 4 ++-- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash index 173f359afc..a46ce228c4 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz.sha256sum -sha256 eb65120c4ee79b7a153c3c1972d5c0158c2151877cc51ec7725bba5749679d49 gst-plugins-base-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.6.tar.xz.sha256sum +sha256 50f2b4d17c02eefe430bbefa8c5cd134b1be78a53c0f60e951136d96cf49fd4b gst-plugins-base-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk index 153187f743..7fcac012f2 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BASE_VERSION = 1.22.2 +GST1_PLUGINS_BASE_VERSION = 1.22.6 GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base GST1_PLUGINS_BASE_INSTALL_STAGING = YES -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:38 +0200 Subject: [Buildroot] [PATCH 01/12] package/gstreamer1: bump to version 1.22.6 Message-ID: <20231006191049.2450822-1-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gstreamer1/gstreamer1.hash | 4 ++-- package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1/gstreamer1.hash b/package/gstreamer1/gstreamer1/gstreamer1.hash index f74832ce6a..65045c1c30 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.hash +++ b/package/gstreamer1/gstreamer1/gstreamer1.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.2.tar.xz.sha256sum -sha256 b2afe73603921c608ba48969dbb7d743776744bfe5d8059ece241137b7f88e21 gstreamer-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.6.tar.xz.sha256sum +sha256 f500e6cfddff55908f937711fc26a0840de28a1e9ec49621c0b6f1adbd8f818e gstreamer-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 8584735129..352567ed52 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_VERSION = 1.22.2 +GSTREAMER1_VERSION = 1.22.6 GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer GSTREAMER1_INSTALL_STAGING = YES -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:41 +0200 Subject: [Buildroot] [PATCH 04/12] package/gst1-plugins-bad: security bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-4-peter@korsgaard.com> Fixes the following security issues: CVE-2023-37329: Heap-based buffer overflow in the PGS blu-ray subtitle decoder when handling certain files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0003.html CVE-2023-40474: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with uncompressed video in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0006.html CVE-2023-40475: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with AES3 audio in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0007.html CVE-2023-40476: Stack-based buffer overflow in the H.265 video parser when handling malformed H.265 video streams in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0008.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash | 4 ++-- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash index 2bbb8af904..c6d1f2e009 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.2.tar.xz.sha256sum -sha256 3d8faf1ce3402c8535ce3a8c4e1a6c960e4b5655dbda6b55943db9ac79022d0f gst-plugins-bad-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.6.tar.xz.sha256sum +sha256 b4029cd2908a089c55f1d902a565d007495c95b1442d838485dc47fb12df7137 gst-plugins-bad-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index 1713f0b4b8..983be754e9 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BAD_VERSION = 1.22.2 +GST1_PLUGINS_BAD_VERSION = 1.22.6 GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad GST1_PLUGINS_BAD_INSTALL_STAGING = YES -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:43 +0200 Subject: [Buildroot] [PATCH 06/12] package/gst1-devtools: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-6-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-devtools/gst1-devtools.hash | 4 ++-- package/gstreamer1/gst1-devtools/gst1-devtools.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash index 4abdd6ece4..9eada91614 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.2.tar.xz.sha256sum -sha256 eb62726d3e27a8782369a24fd6364a8885ed2462b3bbdab091dffc8139ee06d8 gst-devtools-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.6.tar.xz.sha256sum +sha256 8928560efaf16137c30285e718708e5d0bab0777eb4ef8127e0274e120d3d86b gst-devtools-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk index 7801f9b62c..8608c2f75b 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_DEVTOOLS_VERSION = 1.22.2 +GST1_DEVTOOLS_VERSION = 1.22.6 GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools GST1_DEVTOOLS_LICENSE = LGPL-2.1+ -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:47 +0200 Subject: [Buildroot] [PATCH 10/12] package/gst1-rtsp-vaapi: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-10-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-vaapi/gst1-vaapi.hash | 4 ++-- package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash index 2fdec4e83f..53dbe97ca9 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.2.tar.xz.sha256sum -sha256 d2e642f9745f97d9f73a7f5085e7659a9a31fe209b774e6e45dae041b435df06 gstreamer-vaapi-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.6.tar.xz.sha256sum +sha256 d9ba2fc26bef98c78e982c599f585d46bbb65fe122da89c2d7ab41f468a52c7b gstreamer-vaapi-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk index cae239094a..46a5839450 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_VAAPI_VERSION = 1.22.2 +GST1_VAAPI_VERSION = 1.22.6 GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz GST1_VAAPI_LICENSE = LGPL-2.1+ -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:45 +0200 Subject: [Buildroot] [PATCH 08/12] package/gst1-python: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-8-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-python/gst1-python.hash | 4 ++-- package/gstreamer1/gst1-python/gst1-python.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-python/gst1-python.hash b/package/gstreamer1/gst1-python/gst1-python.hash index 006d4985ef..4495e03945 100644 --- a/package/gstreamer1/gst1-python/gst1-python.hash +++ b/package/gstreamer1/gst1-python/gst1-python.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.2.tar.xz.sha256sum -sha256 bef2b3d82ce4be46b775b1bb56305c1003ee01b535a53a82f9fe8924972153ad gst-python-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.6.tar.xz.sha256sum +sha256 51de2d6d13b12ce095eac97c0b94ee59c2aeba3712bb7462b78c4d57dde176c5 gst-python-1.22.6.tar.xz sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/package/gstreamer1/gst1-python/gst1-python.mk b/package/gstreamer1/gst1-python/gst1-python.mk index 527d101786..475f2f2d87 100644 --- a/package/gstreamer1/gst1-python/gst1-python.mk +++ b/package/gstreamer1/gst1-python/gst1-python.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PYTHON_VERSION = 1.22.2 +GST1_PYTHON_VERSION = 1.22.6 GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python GST1_PYTHON_INSTALL_STAGING = YES -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:44 +0200 Subject: [Buildroot] [PATCH 07/12] package/gst1-libav: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-7-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-libav/gst1-libav.hash | 4 ++-- package/gstreamer1/gst1-libav/gst1-libav.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-libav/gst1-libav.hash b/package/gstreamer1/gst1-libav/gst1-libav.hash index c3e84a17d2..251e924792 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.hash +++ b/package/gstreamer1/gst1-libav/gst1-libav.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.2.tar.xz.sha256sum -sha256 fcaaf9878fe8f3bc82317ef13a1558824cb68df1f8968c6797f556c5e33bcffd gst-libav-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.6.tar.xz.sha256sum +sha256 7789e6408388a25f23cbf948cfc5c6230d735bbcd8b7f37f4a01c9e348a1e3a7 gst-libav-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-libav/gst1-libav.mk b/package/gstreamer1/gst1-libav/gst1-libav.mk index 0306db42c0..23d4a29799 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.mk +++ b/package/gstreamer1/gst1-libav/gst1-libav.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_LIBAV_VERSION = 1.22.2 +GST1_LIBAV_VERSION = 1.22.6 GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav GST1_LIBAV_LICENSE = LGPL-2.1+ -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:48 +0200 Subject: [Buildroot] [PATCH 11/12] package/gst-omx: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-11-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst-omx/gst-omx.hash | 4 ++-- package/gstreamer1/gst-omx/gst-omx.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst-omx/gst-omx.hash b/package/gstreamer1/gst-omx/gst-omx.hash index d4a95c631a..5878991b5b 100644 --- a/package/gstreamer1/gst-omx/gst-omx.hash +++ b/package/gstreamer1/gst-omx/gst-omx.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.2.tar.xz.sha256sum -sha256 1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2 gst-omx-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.6.tar.xz.sha256sum +sha256 223833c42518ad7eb1923bb4dd3726809f59a66d6e9aaaa69cb29ad0750c8758 gst-omx-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst-omx/gst-omx.mk b/package/gstreamer1/gst-omx/gst-omx.mk index 87f162f715..3d2ba90290 100644 --- a/package/gstreamer1/gst-omx/gst-omx.mk +++ b/package/gstreamer1/gst-omx/gst-omx.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST_OMX_VERSION = 1.22.2 +GST_OMX_VERSION = 1.22.6 GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:49 +0200 Subject: [Buildroot] [PATCH 12/12] package/gstreamer1-editing-services: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-12-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- .../gstreamer1-editing-services.hash | 4 ++-- .../gstreamer1-editing-services.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash index 0cdb18ea5d..11e93b8b65 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash @@ -1,5 +1,5 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.2.tar.xz.sha256sum -sha256 453b1464fc3857de269a7cb0ebd966afe02171d97bef672a0b8a0a6d43e0cebf gst-editing-services-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.6.tar.xz.sha256sum +sha256 748d423672c597f876e130804fb984848f5b4b89efd78a506cb17f7646795301 gst-editing-services-1.22.6.tar.xz # Hashes for license files: sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk index 9fdc877db0..bea59f256b 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.2 +GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.6 GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:46 +0200 Subject: [Buildroot] [PATCH 09/12] package/gst1-rtsp-server: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-9-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash | 4 ++-- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash index c98d10d79c..521a91ddd7 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash @@ -1,4 +1,4 @@ -# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.2.tar.xz.sha256sum -sha256 2be4aecfb88710100ea7115ed0216403e8094344ebf146094271b8d4d73828bf gst-rtsp-server-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.6.tar.xz.sha256sum +sha256 0ae33a8b50443b62f11581a9181e906b41cd3877b2d799dbea72912c3eda4bb3 gst-rtsp-server-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk index 6f5fc4f7aa..46d7606b1d 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_RTSP_SERVER_VERSION = 1.22.2 +GST1_RTSP_SERVER_VERSION = 1.22.6 GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server GST1_RTSP_SERVER_LICENSE = LGPL-2.1+ -- 2.30.2 From ju.o at free.fr Fri Oct 6 20:09:07 2023 From: ju.o at free.fr (Julien Olivain) Date: Fri, 06 Oct 2023 22:09:07 +0200 Subject: [Buildroot] [PATCH] support/runtime-test: fix weston test In-Reply-To: <20230926154703.160448-1-yann.morin.1998@free.fr> References: <20230926154703.160448-1-yann.morin.1998@free.fr> Message-ID: Hi Yann, On 26/09/2023 17:47, Yann E. MORIN wrote: > The weston runtime test uses the CRC of the framebuffer to detect that > "something" is being drawned on the framebuffer. This requires that the > sampling of the CRC happens does not happen too early after trigerring > an action, or the rendering may be not be finishe, either: > > - weston may not have had time to initialise, or > - the test application may not have started rednering, > > The sequence of rendering that has been observed yields this sequence > of > CRCs (elided for brevity): > > - boot: > - alternating between 0x4c4126bf and 0x5d2f9aa5: console cursor > blinking > > - start weston: > - 0x4c4126bf: weston switches to an clearted vt) > ... > - 0xe54b7895: weston is starting > ... > - 0xe54b7895: wayland socket appears! > ... > - 0x6bf28bdf: weston is ready > ... > > - start weston-simple-egl: > - 0x6bf28bdf: application is starting > ... > - 0xNNNNNNNN: random CRCs while the application renders > ... > > - stop weston-simple-egl: > - 0xNNNNNNNN: izero, one, or two random CRCs while the application > renders before it handles SIGTERM > - 0x6bf28bdf: application is stopped > ... > > - stop weston: > - 0x6bf28bdf: a few CRC identical to when weston was started, while > weston is processing SIGTERM > - ocillating between 0x4c4126bf and 0x5d2f9aa5: console cursor > blinking, back to initial vt, weston dead. > > So, we need to wait "enough" after each action. Moreover, when the > wayland socket appears, weston may not have stabilised yet, so we also > need to wait after the socket appears. > > Signed-off-by: Yann E. MORIN > Cc: Julien Olivain > --- > support/testing/tests/package/test_weston.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/support/testing/tests/package/test_weston.py > b/support/testing/tests/package/test_weston.py > index 276788c649..df1b7a4135 100644 > --- a/support/testing/tests/package/test_weston.py > +++ b/support/testing/tests/package/test_weston.py > @@ -78,6 +78,7 @@ class TestWeston(infra.basetest.BRTest): > wayland_socket = "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}" > cmd = f"while [ ! -e \"{wayland_socket}\" ] ; do sleep 1 ; > done" > self.assertRunOk(cmd, timeout=10) > + time.sleep(4) I was wondering if it would be relevant to add a BRTest.sleep() method for sleeping on the host test controller, that would adjust the sleep time with BRTest.timeout_multiplier. Since those sleep times are meant to adjust the host test controller with emulator execution speed, I believe it would also make sense to multiply those sleep time as same as timeout_multiplier for pexect timeouts. (Maybe timeout_multiplier will need to be renamed to something else like speed_multiplier). What do you think? > > def stop_weston(self): > cmd = "killall weston && sleep 3" > -- > 2.25.1 Best regards, Julien. From ju.o at free.fr Fri Oct 6 20:15:51 2023 From: ju.o at free.fr (Julien Olivain) Date: Fri, 06 Oct 2023 22:15:51 +0200 Subject: [Buildroot] [PATCH 1/2 v2] support/runtime-test: add helper to test graphics rendering In-Reply-To: References: Message-ID: <4b6283fd3a4f2c41d17a0be305e5b055@free.fr> Hi Yann, Thanks for this patch! On 05/10/2023 18:17, Yann E. MORIN wrote: > In 4edb0e3456ef (support/testing/tests/package/test_weston.py: new > runtime test), the weston test was introduced, and thus was the first > that needed to test that rendering was happening. > > Now we also have a test for a flutter application, and we'll want to > have it test the rendering too. > > Move the corresponding code to a helper that can be reused by other > tests, rather than duplicate (or reinvent) it. > > Switch weston to using that new helper. > > Signed-off-by: Yann E. MORIN > Cc: Julien Olivain > --- > support/testing/tests/graphics_base.py | 39 +++++++++++++ > support/testing/tests/package/test_weston.py | 61 ++++---------------- > 2 files changed, 49 insertions(+), 51 deletions(-) > create mode 100644 support/testing/tests/graphics_base.py > > diff --git a/support/testing/tests/graphics_base.py > b/support/testing/tests/graphics_base.py > new file mode 100644 > index 0000000000..15a4c00bb2 > --- /dev/null > +++ b/support/testing/tests/graphics_base.py > @@ -0,0 +1,39 @@ > +class GraphicsBase: For those graphics tests (llvmpipe/swrast Mesa3D, VKMS) to work properly, there is some common mandatory configurations which will always be needed. I am mainly thinking about: BR2_PACKAGE_LIBDRM=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y BR2_PACKAGE_MESA3D_LLVM=y BR2_PACKAGE_MESA3D_OPENGL_EGL=y BR2_PACKAGE_MESA3D_OPENGL_ES=y The Kernel will also always need at least: CONFIG_DEBUG_FS=y CONFIG_DRM_VKMS=y In term of cpu architecture and emulated machine, there is no mandatory requirements, but to achieve decent test execution speed, a fast "machines" that also allow SMP and higher amount of memory are recommended. armv5-7 machines can be limited in maximum amount of memory and slow to execute Mesa3D. So x86_64 pc, Aarch64 or RISC-V 64bit virt will generally be architectures/machines of choice. Do you think it would be relevant to provide some base reference Buildroot+Kernel configs or templates, and the emulator startup command line in this base class? > + def get_n_fb_crc(self, *, count=10, uniq=False, timeout=-1): > + """ > + Return count DRM CRC from the framebuffer. If uniq is True, > + only unique CRCs are returned (which may be less than the > + requested cont). > + Returns a possibly empty list of integers. > + Set timeout to -1 for no timeout, or to a positive number for > + a timeout of that many seconds. > + """ > + # DRM CRCs are exposed through a sysfs pseudo file > + try: > + self.debugfs_mounted > + except AttributeError: > + # Note: some init system (e.g. systemd) may have this > already > + # mounted, so check beforehand > + self.assertRunOk("mountpoint /sys/kernel/debug/ || mount > -t debugfs none /sys/kernel/debug/") > + self.debugfs_mounted = True > + > + # The first column is the frame number, the second column is > the > + # CRC measure. We use "head" to get the needed CRC count. > + disp_crc_path = "/sys/kernel/debug/dri/0/crtc-0/crc/data" > + cmd = f"head -{count} {disp_crc_path}" > + > + # The DRM CRC sysfs pseudo file lines are terminated by '\n' > + # and '\0'. We remove the '\0' to have a text-only output. > + cmd += " | tr -d '\\000'" > + > + # Finally, we drop the frame counter, and keep only the second > + # column (CRC values) > + cmd += " | cut -f 2 -d ' '" > + > + if uniq: > + cmd += " | sort -u" > + > + output, exit_code = self.emulator.run(cmd, timeout=timeout) > + self.assertTrue(exit_code == 0, f"'{cmd}' failed with exit > code {exit_code}") > + > + return [int(crc, 16) for crc in output] > diff --git a/support/testing/tests/package/test_weston.py > b/support/testing/tests/package/test_weston.py > index df1b7a4135..f37a73565f 100644 > --- a/support/testing/tests/package/test_weston.py > +++ b/support/testing/tests/package/test_weston.py > @@ -2,9 +2,10 @@ import os > import time > > import infra.basetest > +from ..graphics_base import GraphicsBase > > > -class TestWeston(infra.basetest.BRTest): > +class TestWeston(infra.basetest.BRTest, GraphicsBase): > config = \ > """ > BR2_aarch64=y > @@ -36,31 +37,6 @@ class TestWeston(infra.basetest.BRTest): > > infra.filepath("tests/package/test_weston/linux-vkms.fragment") > ) > > - def gen_read_disp_crcs_cmd(self, count=1): > - # DRM CRCs are exposed through a sysfs pseudo file, one > measure > - # per line. The first column is the frame number, the second > - # column is the CRC measure. We use "head" to get the needed > - # CRC count. > - disp_crc_path = "/sys/kernel/debug/dri/0/crtc-0/crc/data" > - cmd = f"head -{count} {disp_crc_path}" > - > - # The DRM CRC sysfs pseudo file lines are terminated by '\n' > - # and '\0'. We remove the '\0' to have a text-only output. > - cmd += " | tr -d '\\000'" > - > - # Finally, we drop the frame counter, and keep only the second > - # column (CRC values) > - cmd += " | cut -f 2 -d ' '" > - > - return cmd > - > - def gen_count_unique_disp_crcs_cmd(self, count=10): > - # We get the command generating one CRC per line... > - cmd = self.gen_read_disp_crcs_cmd(count) > - # ...then count the number of unique values > - cmd += " | uniq | wc -l" > - return cmd > - > def start_weston(self): > self.assertRunOk("export XDG_RUNTIME_DIR=/tmp") > > @@ -106,25 +82,14 @@ class TestWeston(infra.basetest.BRTest): > # Check a simple info client can communicate with the > compositor > self.assertRunOk("wayland-info", timeout=10) > > - # This test will use the Kernel VKMS DRM Display CRC support, > - # which is exposed in debugfs. See: > - # > https://docs.kernel.org/gpu/drm-uapi.html#display-crc-support > - self.assertRunOk("mount -t debugfs none /sys/kernel/debug/") > - > # We get 10 consecutive DRM frame CRCs and count how many > # unique CRCs we have. Since weston is supposed to run idle, > # we should have 10 times the same display CRC. > - cmd = self.gen_count_unique_disp_crcs_cmd() > - output, exit_code = self.emulator.run(cmd) > - self.assertEqual(exit_code, 0) > - self.assertEqual(int(output[0]), 1) > + self.assertTrue(len(self.get_n_fb_crc(uniq=True)) == 1) > > # We save the CRC value of an empty weston desktop for > # later... > - cmd = self.gen_read_disp_crcs_cmd() > - output, exit_code = self.emulator.run(cmd) > - self.assertEqual(exit_code, 0) > - weston_desktop_crc = int(output[0], 16) > + weston_desktop_crc = self.get_n_fb_crc(count=1)[0] > > # We start the weston-simple-egl in background... Every > # rendered frame is supposed to be different (as the triangle > @@ -138,10 +103,8 @@ class TestWeston(infra.basetest.BRTest): > # display something, we are now supposed to measure a > # different display CRC than the one we measured when the > # desktop was empty. > - cmd = self.gen_read_disp_crcs_cmd() > - output, exit_code = self.emulator.run(cmd) > - self.assertEqual(exit_code, 0) > - self.assertNotEqual(int(output[0], 16), weston_desktop_crc) > + crc = self.get_n_fb_crc(count=1)[0] > + self.assertNotEqual(crc, weston_desktop_crc) > > # While weston-simple-egl is running, we check the VKMS DRM > # CRCs are now changing. We get many CRCs, one per display > @@ -152,10 +115,8 @@ class TestWeston(infra.basetest.BRTest): > # remain very permissive to slow emulation situations. > # Increase timeout, as the command is expected to run about > 5s, > # which is the default timeout. > - cmd = self.gen_count_unique_disp_crcs_cmd(300) > - output, exit_code = self.emulator.run(cmd, timeout=10) > - self.assertEqual(exit_code, 0) > - self.assertGreaterEqual(int(output[0]), 5) > + crcs = self.get_n_fb_crc(count=300, timeout=10) > + self.assertGreaterEqual(len(crcs), 5) > > # We stop weston-simple-egl, and sleep a bit to let Weston do > # its cleanup and desktop repaint refresh... > @@ -165,10 +126,8 @@ class TestWeston(infra.basetest.BRTest): > # After we stopped the application, we should have the initial > # weston desktop background. The CRC we measure now should be > # the same as the one we saved earlier. > - cmd = self.gen_read_disp_crcs_cmd() > - output, exit_code = self.emulator.run(cmd) > - self.assertEqual(exit_code, 0) > - self.assertEqual(int(output[0], 16), weston_desktop_crc) > + crc = self.get_n_fb_crc(count=1)[0] > + self.assertEqual(crc, weston_desktop_crc) > > self.stop_weston() > > -- > 2.25.1 Best regards, Julien. From ju.o at free.fr Fri Oct 6 20:35:14 2023 From: ju.o at free.fr (Julien Olivain) Date: Fri, 06 Oct 2023 22:35:14 +0200 Subject: [Buildroot] [PATCH v3] package/criu: new package In-Reply-To: References: <20230918084825.786715-1-marcus.folkesson@gmail.com> Message-ID: <0d205f8ab83f4f387912227cbb95238c@free.fr> Hi Marcus, On 06/10/2023 13:46, Marcus Folkesson wrote: > Julien, do you have the posibility to run test-pkg on this patch? > > I still get wierd errors (related to host-libzlib (?) ) for the > bootlin-armv7-glibc toolchain. I ran a test-pkg on this v3 patch. I am not able to reproduce this host-libzlib failure (both on my host system and in the reference utils/docker-run Docker image). But I do see a build failure with the bootlin-armv7-glibc toolchain in the criu package: cat > criu.config < > bootlin-x86-64-musl is 'OK' though. > > Thanks, > Marcus Best regards, Julien. [1] https://github.com/checkpoint-restore/criu/blob/v3.18/Makefile#L35 From ju.o at free.fr Fri Oct 6 20:52:53 2023 From: ju.o at free.fr (Julien Olivain) Date: Fri, 06 Oct 2023 22:52:53 +0200 Subject: [Buildroot] [PATCH v3] package/criu: new package In-Reply-To: <20230918084825.786715-1-marcus.folkesson@gmail.com> References: <20230918084825.786715-1-marcus.folkesson@gmail.com> Message-ID: Hi Marcus, While testing this v3 patch, I've seen two small parts that would need to be reformatted. See below: On 18/09/2023 10:48, Marcus Folkesson wrote: > Checkpoint/Restore In Userspace (CRIU), is a software tool for the > Linux operating system to make it possible to freeze a running > application and checkpoint it to persistent storage as a collection of > files. > > Signed-off-by: Marcus Folkesson > --- > > Notes: > v2: > - Addressed comments from Thomas. > - Tested on ARM target and on x86_64 with qemu. > > v3: > - set CONFIG_CHECKPOINT_RESTORE in kernel config > - Only be available for ARMv6, ARMv7 and ARMv8 > > DEVELOPERS | 1 + > package/Config.in | 1 + > package/criu/Config.in | 48 ++++++++++++++++++++++++++++++++++ > package/criu/criu.hash | 3 +++ > package/criu/criu.mk | 59 ++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 112 insertions(+) > create mode 100644 package/criu/Config.in > create mode 100644 package/criu/criu.hash > create mode 100644 package/criu/criu.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index 7fae4841e4..d6e6a98202 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -1986,6 +1986,7 @@ > F: support/testing/tests/package/test_python_pytest.py > F: support/testing/tests/package/test_python_pytest_asyncio.py > > N: Marcus Folkesson > +F: package/criu/ > F: package/libcamera/ > F: package/libcamera-apps/ > F: package/libostree/ > diff --git a/package/Config.in b/package/Config.in > index e8dbadadf3..9a754cb072 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2667,6 +2667,7 @@ menu "System tools" > source "package/coreutils/Config.in" > source "package/cpulimit/Config.in" > source "package/cpuload/Config.in" > + source "package/criu/Config.in" > source "package/crun/Config.in" > source "package/daemon/Config.in" > source "package/dc3dd/Config.in" > diff --git a/package/criu/Config.in b/package/criu/Config.in > new file mode 100644 > index 0000000000..06e809fb83 > --- /dev/null > +++ b/package/criu/Config.in > @@ -0,0 +1,48 @@ > +# criu only builds on certain architectures > +config BR2_PACKAGE_CRIU_ARCH_SUPPORTS > + bool > + default y if BR2_ARM_CPU_ARMV6 > + default y if BR2_ARM_CPU_ARMV7A > + default y if BR2_ARM_CPU_ARMV7M > + default y if BR2_ARM_CPU_ARMV8A > + default y if BR2_ARM_CPU_ARMV8M > + default y if BR2_aarch64 > + default y if BR2_i386 > + default y if BR2_mips > + default y if BR2_x86_64 > + default y if BR2_powerpc64 > + default y if BR2_s390x > + > +menuconfig BR2_PACKAGE_CRIU > + bool "criu" > + depends on BR2_PACKAGE_CRIU_ARCH_SUPPORTS > + depends on BR2_PACKAGE_HOST_PYTHON3 # host-python3-ssl > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS > + depends on BR2_INSTALL_LIBSTDCPP # protobuf > + depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, libnl > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf > + depends on !BR2_STATIC_LIBS # protobuf, libbsd > + depends on BR2_USE_WCHAR # libbsd > + depends on BR2_USE_MMU # libcap > + select BR2_PACKAGE_HOST_PYTHON3_SSL > + select BR2_PACKAGE_PROTOBUF > + select BR2_PACKAGE_PROTOBUF_C > + select BR2_PACKAGE_LIBAIO > + select BR2_PACKAGE_LIBBSD > + select BR2_PACKAGE_LIBCAP > + select BR2_PACKAGE_LIBNET > + select BR2_PACKAGE_LIBNL > + select BR2_PACKAGE_PYTHON3 > + help > + Checkpoint/Restore In Userspace (CRIU), is a software > + tool for the Linux operating system to make it possible > + to freeze a running application and checkpoint it to > + persistent storage as a collection of files. > + > + https://criu.org/Main_Page > + > +comment "criu needs a toolchain w/ threads, dynamic library, wchar" > + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ > + || !BR2_USE_WCHAR > diff --git a/package/criu/criu.hash b/package/criu/criu.hash > new file mode 100644 > index 0000000000..2c4a07252b > --- /dev/null > +++ b/package/criu/criu.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 > 6a9997981c9fe4730c848ce59346b3a22fad69b803607cb67a3f6ec0557fa474 > criu-3.18.tar.gz > +sha256 > 568a1fa9d90e18a1a1a61ea58ec2eece16b56a5042cc72c1b4f8d4455ae6fcb7 > COPYING > diff --git a/package/criu/criu.mk b/package/criu/criu.mk > new file mode 100644 > index 0000000000..3da7ec90ab > --- /dev/null > +++ b/package/criu/criu.mk > @@ -0,0 +1,59 @@ > +################################################################################ > +# > +# CRIU > +# > +################################################################################ > + > +CRIU_VERSION = 3.18 > +CRIU_SOURCE = criu-$(CRIU_VERSION).tar.gz Running command: utils/docker-run make check-package generates the warning: package/criu/criu.mk:8: remove default value of _SOURCE variable (http://nightly.buildroot.org/#generic-package-reference) So this CRIU_SOURCE line can be removed. > +CRIU_SITE = > https://github.com/checkpoint-restore/criu/archive/refs/tags/v$(CRIU_VERSION) I suggest to use the Buildroot download helper for github here: CRIU_SITE = $(call github,checkpoint-restore,criu,v$(CRIU_VERSION)) > + > +CRIU_LICENSE = GPL-2.0 > +CRIU_LICENSE_FILES = COPYING > +CRIU_DEPENDENCIES =\ > + host-pkgconf \ > + host-protobuf-c \ > + host-python3 \ > + host-python-pip \ > + libaio \ > + libbsd \ > + libcap \ > + libnet \ > + libnl \ > + protobuf \ > + protobuf-c \ > + python3 > + > +CRIU_MAKE_ENV =\ > + $(TARGET_MAKE_ENV) \ > + $(TARGET_CONFIGURE_OPTS) \ > + CROSS_COMPILE=$(TARGET_CROSS) \ > + WERROR=0 > + > +#x86_64 is treated as x86 in criu > +#Also, powerpc64 is refered to as ppc64 in criu. > +ifeq ($(BR2_ARCH),"x86_64") > +CRIU_MAKE_ENV += ARCH=x86 > +else ifeq ($(BR2_ARCH),"powerpc64") > +CRIU_MAKE_ENV += ARCH=ppc64 > +else > +CRIU_MAKE_ENV += ARCH=$(BR2_ARCH) > +endif > + The following CRIU_LINUX_CONFIG_FIXUPS text blocks has extra spaces at the beginning of the lines that could be removed. > + # Criu needs Kernel Checkpoint/restore support which is not enabled > + # by default. > + define CRIU_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_CHECKPOINT_RESTORE) A single tab and no space would be better here. > + endef > + > +define CRIU_BUILD_CMDS > + rm -rf $(@D)/images/google/protobuf/descriptor.proto > + ln -s $(STAGING_DIR)/usr/include/google/protobuf/descriptor.proto > $(@D)/images/google/protobuf/descriptor.proto > + $(CRIU_MAKE_ENV) $(MAKE) USERCFLAGS="$(TARGET_CFLAGS)" -C $(@D) > +endef > + > +define CRIU_INSTALL_TARGET_CMDS > + $(CRIU_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) > install-criu install-lib install-compel > +endef > + > +$(eval $(generic-package)) > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot Best regards, Julien. From bugzilla at busybox.net Fri Oct 6 22:08:14 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Fri, 06 Oct 2023 22:08:14 +0000 Subject: [Buildroot] [Bug 15814] New: C++ not supported by bootlin toolchain Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 Bug ID: 15814 Summary: C++ not supported by bootlin toolchain Product: buildroot Version: 2023.08 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: stsp2 at yandex.ru CC: buildroot at uclibc.org Target Milestone: --- BR2_TOOLCHAIN_EXTERNAL_CXX depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM. BR2_TOOLCHAIN_BUILDROOT_CXX depends on BR2_TOOLCHAIN_BUILDROOT, which is not enabled when BR2_TOOLCHAIN_EXTERNAL_BOOTLIN is enabled. So it seems the config doesn't allow to enable C++ support together with selecting bootlin toolchain. Is there anything that can be done with that? -- You are receiving this mail because: You are on the CC list for the bug. From thomas.petazzoni at bootlin.com Sat Oct 7 05:47:02 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 07 Oct 2023 05:47:02 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-06 Message-ID: <20231007054708.BB6DB42D3B@smtp4.osuosl.org> Hello, Autobuild statistics for 2023-10-06 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 18 | 11 | 0 | 29 | 2023.08.x | 17 | 8 | 1 | 26 | master | 72 | 107 | 0 | 179 | Classification of failures by reason for master ----------------------------------------------- alsa-lib-1.2.10 | 12 openrc-0.43.3 | 11 unknown | 7 bird-2.0.12 | 6 gcc-final-12.3.0 | 5 glibc-2.38-27-g750a45a78390... | 5 alsa-utils-1.2.10 | 4 host-rust-1.71.1 | 4 linux-6.5.5 | 4 host-go-1.21.1 | 3 libarchive-3.7.2 | 3 spirv-tools-1.3.261.1 | 3 coreutils-9.3 | 2 gobject-introspection-1.76.1 | 2 libselinux-3.5 | 2 lightning-2.2.2 | 2 monit-5.33.0 | 2 ncmpc-0.47 | 2 acpid-2.0.34 | 1 apcupsd-3.14.14 | 1 at-spi2-core-2.48.3 | 1 binutils-arc-2020.09-release | 1 brltty-6.5 | 1 check-11970a7e112dfe243a2e6... | 1 cryptodev-linux-1.13 | 1 elfutils-0.189 | 1 ethtool-6.5 | 1 ffmpeg-4.4.4 | 1 flatbuffers-23.5.26 | 1 fs/axfs/axfs.mk:32: /home/b... | 1 gcc-final-11.4.0 | 1 gcc-final-13.2.0 | 1 gdal-3.6.2 | 1 host-python-sip-4.19.25 | 1 libostree-2023.6 | 1 linux-5.10.162-cip24 | 1 luajit-41fb94defa8f830ce69a... | 1 mariadb-10.11.4 | 1 mongodb-4.2.18 | 1 ola-0.10.9 | 1 perl-5.36.1 | 1 python-rpds-py-0.9.2 | 1 squid-6.2 | 1 xenomai-3.0.10 | 1 xtables-addons-3.22 | 1 zeek-4.1.1 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/c15343b7fca75f9c96ca0aa65900b0d0c012a8fe | ORPH aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/e8a77b6e4d0b3615ca0905d6824e246fa0413e94 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/c25e9f1fe890ce5682f7f5c89372f9e5877ec786 | microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a058022b430d7a88e395dc633cda45724dcf182 | m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/04fd04e191eaa434b6dda2aefa8e974fd1e9d19a | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/c34e9bde866c2fa620f79414be7405582f761f06 | i586 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/cf19be21355958f716da9f5dfa1ff4fd43bbbfa2 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/526a7dc6c83f8e9cff279caf34b241bf33990f40 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/8526213370991dbd78884f34ff79d755ffa1a647 | or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f48c73b95cc02ed5425ffccbb20d654cc881ee02 | armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a402e82adeb59ebedd123da190bb61f9043ecb1 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/e4f7fdf0c0555152f5d16f6a4c1fc703692d55b9 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/fee7392110009943dccbb3d19c019925e3ce7985 | powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/42f7b0fa05151284a36f83ecaf07a0e52e1298f6 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/e9458a8b911094508e2eeba4cb76a20f7071b677 | s390x | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/377cbef707e73d5a7235b60e23564516b7c1a4f3 | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5ebcc6cf664b6e273efc863dcbfda332d4d626bd | x86_64 | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/bd26c81f691f9c53516fbd1fc2a60b3832376fe6 | sparc | at-spi2-core-2.48.3 | NOK | http://autobuild.buildroot.net/results/236292a11bd316902ced95ebe2112cd2e70aba8b | arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/6727830619df0eed669a4693814b0f84db063a94 | arc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/39e02d4bc9ca5e93cbc31adfbd558751ae258e60 | sparc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/333f481fe1b6df601dbdb69e16975d0cde2b7bd6 | mips64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/acf5342d2336dc5a66dd7b132f57b6320a352e37 | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/ca8967264052867e4bdac53f1c6612f48eb38124 | arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/83621cdf93fe3812da7dfaf7dee66b7d53022ab6 | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c1e62df0c6170e35e5a8f61f5f5b013a5ac211c4 | arceb | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/d4a7ab002f094d3cd2554dd126cfcefd026bfe78 | arceb | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/07a7620bacefa136e4cde496486bd403c3157953 | ORPH sh4aeb | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/e125b33fc24ceb454367f44355ceb27dce19a677 | ORPH xtensa | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/eed692a580536d348dda8fe492d74dbd4dd2c50f | ORPH or1k | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/f7524afb93340ebf63953dc9407baef6197bf592 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/c264a7b04c9c19dc16784033a398122fc2509570 | ORPH mips64el | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/ecf828c4110155f47ca003bc3d2932cb4b987034 | microblazeel | ffmpeg-4.4.4 | NOK | http://autobuild.buildroot.net/results/a5b0ece3d27ce2ef5d7578a8fd1b1421949f6b26 | m68k | flatbuffers-23.5.26 | NOK | http://autobuild.buildroot.net/results/0357ccd0db165c22663f115d810f62ef6403b346 | armeb | fs/axfs/axfs.mk:32: /home/b... | NOK | http://autobuild.buildroot.net/results/812d047f4139497fe2c360130af7ce0c63046d6e | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/694528da174d3b6d144e9d8d11594dff37ed70b2 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f74febe7e7a3910420f63bdf4ca772fa7842ab31 | aarch64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7eaf92a78aca7de91c18a62ab0c972b095b8c3c3 | mips64el | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/9334f235b48f5774a7a659585b10ac97c24ad114 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/e7dfdd9e0c2ddb574d464deac05c7d5cdf12c195 | aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/e3c99d4dd8038c9f85b9e936814be74ce468aa4e | riscv64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/2ca2789bff1bafdc41b8e8cd916d59ce21c79506 | microblaze | gdal-3.6.2 | NOK | http://autobuild.buildroot.net/results/7e8edf849723a8b6ab50d0416c928ea65c42a9ee | arc | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/81b4b1ad6fde041707611b3ef6d856463dd70b10 | powerpc64le | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/504be4ddccd5eec26f3759b7ea3e28c8d0aa203d | powerpc64le | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/f88dcbc00025c269ba27c27b6c8853201c91526f | arc | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/db53b91853cfcd6c2c8c250efa771d873cf2715e | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/7651af18f5b99b3fc0a99c4efac72980412629d8 | or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/3ccfa77dc22ab550ab7d6202d802a7c3650753bb | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/033fb1e701b4ac21d4614c8d2feadbef96aae59b | ORPH mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/53cd8a952ae10061f2fb2c1c069d0c069007b2b8 | i686 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/0b418dab880fe5d23ca7eedbe2a44faae277b0f8 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/e20105ba53c51813a3b2a04facef1a46c7b5ee2f | powerpc64 | host-python-sip-4.19.25 | NOK | http://autobuild.buildroot.net/results/20484a3a04635df4749aa86568783b28bfe76844 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/fb893573af7d15089ae67e029310217d470408f7 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/10e38d88cec32c352d0576c006e1decabe5c04bc | mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c792e4b02fd4760003a4a48f620aaed76dcfa4cd | powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/f8ccd75d7a0b05040e27fb6dc66883424b2d8edb | mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/c5956cf4dc3d3899ed971cb31d250a36921a60bd | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/7f806800f3d21727847ff064c748f419b6a0a71a | powerpc64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/5efdfc101a2b502934f07e14a15f0238521d3a56 | or1k | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/0db0d777013ee9b8b5eb377bc67573269bd61f85 | nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/87e67270d284793eca0d5dd5f277aff392123016 | nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/331ff614b8ecf483a5888a0021fdcb35eb088996 | mips64 | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/37e2e1c58a8ea5b855acf56be28b5ae76522d657 | mips64el | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/f0f549705ed69892d7256d8b3f99d22d2d584fb4 | aarch64 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/7bbfd43f27698bf9604cd6e04155db5d706ee05d | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/9114f6856c7f0fcfef241ccd9942dccedc930587 | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/f66523b69eac6af82385949f4733bd627ecae771 | ORPH mips64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/8403f5ae6d24fcd251d473a66c491a59bfbd787c | ORPH mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/ca078772f3c835327bcbf53b93d4f620663bd638 | ORPH powerpc | luajit-41fb94defa8f830ce69a... | NOK | http://autobuild.buildroot.net/results/e77787e0c18bfb2bd8d38c891cdcebc137b43c3c | sparc64 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/7bec7868c3188a1a0c35def8f270696fd4dae8ae | ORPH aarch64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/bb1fc908a2b015affdadac5d8a962ecb21c5ce59 | sh4eb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/fc79907d5ea983b140704eafac9e29d892e72f82 | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/5f27a210031598ee931eb8207f51e62362b73aa5 | or1k | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/c151f7fc14f6f8c72e24e14bce5a5e028f0bd32d | sparc64 | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/ec77e7ae1280acf845cdf6b1cda44b70925e46b9 | sparc | ola-0.10.9 | NOK | http://autobuild.buildroot.net/results/0a8f924bca3e08cbc7c2c6e126bf6cc5d88aaf14 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ea43289a073dc81f6adee0e345d47d42c18ce86f | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2fdcd574b394eba1438a138fb22db35243aebf69 | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d07ba6ef03922d9aa42095eb710ab9eb2240756e | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/0a8cfcbb74597112db444b294f3f0745af6c33b6 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3a8a87199031d9f17b9fbbd41530a9ca6bbf02ba | aarch64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e85655effeaa5fa2d7dd6508d5ac6c3193493b65 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cab5d987220b183753ee1e4f2a14087b2f7ecee5 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/33de6295d1ef055b2b1cb08cd54d65c5e30af68e | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/18d5b8a5fb4ee9b3919eb8a90b3ac83e383b4fe6 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9fb3434f1740bf883e723c5b543612aeaf854178 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/768a8bf4a90175aa399c8ca6d9fe817b4c6db24c | arceb | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/5c94b6e2fb7eddb8171ca770e77dbe7d7424bd9a | mips64 | python-rpds-py-0.9.2 | NOK | http://autobuild.buildroot.net/results/c1304b70dbd71eada982431f933ddaf6888b1073 | powerpc | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/23c3d0159dfd03e13bf1b5325fc995b62fd9d8e2 | ORPH s390x | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5ba8c7c2cec07e43750d518a5174d81effe3e74f | ORPH mips64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/60724a29d8c668e7c7e15e19828e7c81e0e451fa | ORPH nios2 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/58dff88341da816bea8eefdec68d8c365e42b282 | ORPH microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/a6facb33879d80156315eb8b53b41a676c855a0c | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/aec6eb5f7de0de96fbbb9270d5fd2133d3e63926 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/1291f518a96b6b6da4f267c076237a6b8c2da7a9 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/09a8211ffde4862fbf2dcbf6cb16020aba1e7328 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/4791f5cb2b69f089508c57a27b0c4c4a373be10f | arm | unknown | NOK | http://autobuild.buildroot.net/results/433217555c0f41f8bff1eee97e3263c9716867fb | arm | unknown | NOK | http://autobuild.buildroot.net/results/bd92468de0fe3ac33cd6acc165d017968a540898 | microblazeel | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/8027e91d8e6a40d238cb2e6e039d55489296fc6f | aarch64 | xtables-addons-3.22 | NOK | http://autobuild.buildroot.net/results/876bd4913b057cf671ce3d4dc46509cc24254dcb | ORPH arm | zeek-4.1.1 | NOK | http://autobuild.buildroot.net/results/fd92faaf2747bd40186be0900b8f56fdc9c2dcd3 | Classification of failures by reason for 2023.02.x -------------------------------------------------- unknown | 2 check-0.15.2 | 1 cni-plugins-1.2.0 | 1 erlang-22.3.4.22 | 1 host-binutils-2.38 | 1 host-go-1.19.13 | 1 jack2-1.9.21 | 1 linux-5.10.162-cip24-rt10 | 1 skalibs-2.12.0.1 | 1 suricata-6.0.14 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64le | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/1a28ef4eec2f0267e75365f669dd0aed3bbcb5d2 | ORPH s390x | cni-plugins-1.2.0 | NOK | http://autobuild.buildroot.net/results/c1249b84039917a5bc3776c10310264007bbf314 | arm | erlang-22.3.4.22 | NOK | http://autobuild.buildroot.net/results/dd043faf7f168054143eef48b8b56d02ba6296b5 | mipsel | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/a6002e4f69b997aade24adafc58ee6984e9ff471 | i586 | host-go-1.19.13 | NOK | http://autobuild.buildroot.net/results/4e49ea10284b0a9b7102a975f1249a0d51c36395 | m68k | jack2-1.9.21 | NOK | http://autobuild.buildroot.net/results/e83af05df06e1851ef02556e38366661bd3d7877 | m68k | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/2acc10f2647b80ce9098036659c4103bd4dadf76 | ORPH or1k | skalibs-2.12.0.1 | NOK | http://autobuild.buildroot.net/results/c70f6e4051988083f6b5c771eb87bb95ade5c3d4 | i586 | suricata-6.0.14 | NOK | http://autobuild.buildroot.net/results/776cb60419f60760ebf21d6bc22bf78af7931ac5 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/cb523b75664696d1316b11e8c4e281d8f4c0ac38 | sh4 | unknown | NOK | http://autobuild.buildroot.net/results/a4c2201c21bfd78a2e955a3b3e6d92d52ccff4a4 | Classification of failures by reason for 2023.08.x -------------------------------------------------- bird-2.0.12 | 2 host-go-1.20.8 | 2 gobject-introspection | 1 host-rust-1.71.1 | 1 libglib2-2.76.1 | 1 linux-6.4.16 | 1 x264-baee400fa9ced6f5481a72... | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/90e3904cb055b6b42d72ef60adfb8ca7deb10354 | s390x | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/7e42d230c4c84b92b0828b67af349b71b6614acc | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/768470c4c269146a0469531dc4846e38390210d2 | mips64el | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/ccdf45c94fbc7bd93e749725304f0527792d7a55 | x86_64 | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/9a9d300f327d4bac8bb95db7afb6c689e3282054 | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/61b9b8082316370d39a3751185a82a9e94f2c94c | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/c9286252417647a080f31b00f49298dc8f3a75fd | s390x | linux-6.4.16 | NOK | http://autobuild.buildroot.net/results/dce708b584c4e537051fb1d3b664b12ad44aeae6 | ORPH i686 | x264-baee400fa9ced6f5481a72... | NOK | http://autobuild.buildroot.net/results/2ca88c7cce1b61d5fcb8208a3ea20e289fad8c14 | Gitlab CI results for 2023-10-06 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ at91sam9x5ek_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592198 | at91sam9x5ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592211 | atmel_sama5d27_som1_ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592215 | beaglev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592294 | broadcom_northstar | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592308 | canaan_kd233 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592317 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592382 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592460 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592469 | imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592474 | kontron_pitx_imx8m | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592492 | microchip_mpfs_icicle | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592512 | octavo_osd32mp1_brk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592607 | octavo_osd32mp1_red | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592610 | orangepi_lite2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592679 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592694 | qemu_m68k_mcf5208 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592772 | qemu_riscv64_nommu_virt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592862 | qemu_xtensa_lx60_nommu | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236767766 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236768237 | ORPH sipeed_maix_bit | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770179 | sipeed_maix_bit_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770203 | sipeed_maix_dock | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770213 | sipeed_maix_dock_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770290 | sipeed_maix_go | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770353 | sipeed_maix_go_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770420 | sipeed_maixduino | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770819 | sipeed_maixduino_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770958 | snps_arc700_axs101 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236771147 | snps_arc700_nsim | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236771309 | socrates_cyclone5 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236771652 | stm32mp157a_dk1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236772737 | stm32mp157c_dk2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236772806 | ti_am64x_sk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236773048 | toradex_apalis_imx6 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236773113 | -- http://autobuild.buildroot.net From bugzilla at busybox.net Sat Oct 7 08:52:32 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 08:52:32 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 Yann E. MORIN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yann.morin.1998 at free.fr Resolution|--- |INVALID --- Comment #1 from Yann E. MORIN --- stsp, All, > So it seems the config doesn't allow to > enable C++ support together with selecting > bootlin toolchain. Have you actually tried to enable a package written in C++? The symbols you reference are just intermediate symbols, that ultimately select BR2_INSTALL_LIBSTDCPP, which is the one symbol that represents whether C++ is available in the toolchain. All Bootlin toolchains with C++ support do select that symbol. > Is there anything that can be done with that? No, because it is already working as expected. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 08:57:35 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 08:57:35 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #2 from stsp --- > Have you actually tried to enable a package written in C++? Of course! Even if BR2_INSTALL_LIBSTDCPP is enabled, with bootlin tool-chain there is still no host g++ so the compilation fails. > No, because it is already working as expected. I think this is a premature judgement. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 09:26:52 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 09:26:52 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #3 from Yann E. MORIN --- stsp, All, > with bootlin tool-chain there is still no > host g++ The Bootlin tolchains are cross toolchains; they compile for the target, not for the host. The host C++ compiler is not provided by the cross toolchain. The host toolchain (of which g++ is part) is to be provided by the distribution you use on your host system; Buildroot does not handle it at all: it is expected to be present. Install the C++ part of the toolchain from your distribution; if that does not exist, ask your distribution to package it. > so the compilation fails. What exactly fails? Please provide a log of the failing build. > I think this is a premature judgement. Maybe... Does not look like it, though: the Bootlin toolchains are widely used, and I know for a fact that they do support C++ for the target, for using that daily. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From bernd at kuhls.net Sat Oct 7 10:25:00 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sat, 7 Oct 2023 12:25:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/libxml2: bump version to 2.11.5 Message-ID: <20231007102500.1293134-1-bernd@kuhls.net> Release notes: https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.news Signed-off-by: Bernd Kuhls --- package/libxml2/libxml2.hash | 4 ++-- package/libxml2/libxml2.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libxml2/libxml2.hash b/package/libxml2/libxml2.hash index f3650c5ec5..cad19f930f 100644 --- a/package/libxml2/libxml2.hash +++ b/package/libxml2/libxml2.hash @@ -1,4 +1,4 @@ -# From https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.4.sha256sum -sha256 737e1d7f8ab3f139729ca13a2494fd17bf30ddb4b7a427cf336252cab57f57f7 libxml2-2.11.4.tar.xz +# From https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.sha256sum +sha256 3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6 libxml2-2.11.5.tar.xz # License files, locally calculated sha256 c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd Copyright diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index 672a2cb0f0..fb7767297b 100644 --- a/package/libxml2/libxml2.mk +++ b/package/libxml2/libxml2.mk @@ -5,7 +5,7 @@ ################################################################################ LIBXML2_VERSION_MAJOR = 2.11 -LIBXML2_VERSION = $(LIBXML2_VERSION_MAJOR).4 +LIBXML2_VERSION = $(LIBXML2_VERSION_MAJOR).5 LIBXML2_SOURCE = libxml2-$(LIBXML2_VERSION).tar.xz LIBXML2_SITE = \ https://download.gnome.org/sources/libxml2/$(LIBXML2_VERSION_MAJOR) -- 2.39.2 From bernd at kuhls.net Sat Oct 7 10:28:50 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sat, 7 Oct 2023 12:28:50 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series Message-ID: <20231007102850.1303053-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- linux/Config.in | 2 +- linux/linux.hash | 6 +++--- package/linux-headers/Config.in.host | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 8dcc493e2e..a6b4967a8c 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.5" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.6" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index bdd27eb600..dfcc87802b 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,8 +1,8 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95 linux-6.5.5.tar.xz -sha256 a87e241ec15d53452c4efe219713a3769d88cc436b5b98cf6efb262c4aff15c0 linux-6.1.55.tar.xz +sha256 78e36d4214547051c24df2140f4ce09428d6c515ad9a71b38b28e8094a95d2f6 linux-6.5.6.tar.xz +sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 ef845e7934897b88e4448378ea9daacac19e07f156fe904844fab0a7d8ff5ddd linux-5.15.133.tar.xz +sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index d1023a15e6..e2e2655964 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -408,9 +408,9 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.19.295" if BR2_KERNEL_HEADERS_4_19 default "5.4.257" if BR2_KERNEL_HEADERS_5_4 default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.133" if BR2_KERNEL_HEADERS_5_15 - default "6.1.55" if BR2_KERNEL_HEADERS_6_1 - default "6.5.5" if BR2_KERNEL_HEADERS_6_5 + default "5.15.134" if BR2_KERNEL_HEADERS_5_15 + default "6.1.56" if BR2_KERNEL_HEADERS_6_1 + default "6.5.6" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ -- 2.39.2 From bugzilla at busybox.net Sat Oct 7 10:35:36 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 10:35:36 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #4 from stsp --- OK, I am sorry, "make clean" have fixed the problem. The problem was the missing output/host/bin/x86_64-linux-g++ (host g++), but its now there. So not sure what happened. :( -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 10:45:55 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 10:45:55 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #5 from Yann E. MORIN --- stsp, All, > "make clean" have fixed the problem. If you change the toolchain settings in menuconfig, then you have to rebuild from scratch; see the manual: https://buildroot.org/downloads/manual/manual.html#full-rebuild > output/host/bin/x86_64-linux-g++ (host g++) This is not the host C++ compiler. This is the cross-compiler. It looks like you just happen to have an x86-64 target, like you have an x86-64 host. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From paul at crapouillou.net Sat Oct 7 10:42:05 2023 From: paul at crapouillou.net (Paul Cercueil) Date: Sat, 7 Oct 2023 12:42:05 +0200 Subject: [Buildroot] [PATCH] package/lightning: fix build on mips64 Message-ID: <20231007104205.12608-1-paul@crapouillou.net> Grab commit 90f5c78f47dfb1ae4b953b0e30c7ef72a6438396 from upstream to fix the build on mips64 and mips64el. Signed-off-by: Paul Cercueil --- .../0001-Fix-build-on-mips64el.patch | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 package/lightning/0001-Fix-build-on-mips64el.patch diff --git a/package/lightning/0001-Fix-build-on-mips64el.patch b/package/lightning/0001-Fix-build-on-mips64el.patch new file mode 100644 index 0000000000..b3f087bb9e --- /dev/null +++ b/package/lightning/0001-Fix-build-on-mips64el.patch @@ -0,0 +1,65 @@ +From 90f5c78f47dfb1ae4b953b0e30c7ef72a6438396 Mon Sep 17 00:00:00 2001 +From: Paul Cercueil +Date: Thu, 5 Oct 2023 14:24:13 +0200 +Subject: [PATCH] Fix build on mips64el + +The "cvt_offset" field may be used for anything non-ARM in +jit_fallback.c, so enable this field on anything non-ARM. Worst case +scenario, this field is not used and it only occupies 4 bytes of RAM. + +Besides, when building for mips64el with the N32 ABI, the __WORDSIZE +ends up being 32 and not 64 (which may be a problem in itself), which +caused some more issues as the movi_d_w() macro referenced by +jit_mips.c was not defined anywhere. + +This caused Buildroot's CI to fail when building on mips64el: +http://autobuild.buildroot.net/results/f951d91d2ca4647170a52499a243d45d13d3bced/ + +Upstream: http://git.savannah.gnu.org/cgit/lightning.git/commit/?id=90f5c78f47dfb1ae4b953b0e30c7ef72a6438396 +Signed-off-by: Paul Cercueil +--- + include/lightning/jit_private.h | 5 +---- + lib/lightning.c | 4 ++-- + 2 files changed, 3 insertions(+), 6 deletions(-) + +diff --git a/include/lightning/jit_private.h b/include/lightning/jit_private.h +index 5052a36..9f8caf6 100644 +--- a/include/lightning/jit_private.h ++++ b/include/lightning/jit_private.h +@@ -555,10 +555,7 @@ struct jit_function { + jit_int32_t *regoff; + jit_regset_t regset; + jit_int32_t stack; +-#if defined(__i386__) || defined(__x86_64__) || \ +- defined(__powerpc__) || defined(__sparc__) || \ +- defined(__s390__) || defined(__s390x__) || \ +- defined(__hppa__) || defined(__alpha__) ++#if !defined(__arm__) + jit_int32_t cvt_offset; /* allocai'd offset for x87<->xmm or + * fpr<->gpr transfer using the stack */ + #endif +diff --git a/lib/lightning.c b/lib/lightning.c +index d5ea330..39c4fc2 100644 +--- a/lib/lightning.c ++++ b/lib/lightning.c +@@ -4285,7 +4285,7 @@ static void _htoni_ul(jit_state_t*, jit_int32_t, jit_word_t); + #endif + # define movi_f_w(r0, i0) _movi_f_w(_jit, r0, i0) + static void _movi_f_w(jit_state_t*, jit_int32_t, jit_float32_t); +-#if __WORDSIZE == 32 ++#if __WORDSIZE == 32 && !(defined(__mips__) && NEW_ABI) + # define movi_d_ww(r0, r1, i0) _movi_d_ww(_jit, r0, r1, i0) + static void _movi_d_ww(jit_state_t*, jit_int32_t, jit_int32_t, jit_float64_t); + #else +@@ -4569,7 +4569,7 @@ _movi_f_w(jit_state_t *_jit, jit_int32_t r0, jit_float32_t i0) + movi(r0, data.i); + } + +-#if __WORDSIZE == 32 ++#if __WORDSIZE == 32 && !(defined(__mips__) && NEW_ABI) + static void + _movi_d_ww(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1, jit_float64_t i0) + { +-- +2.40.1 + -- 2.40.1 From bugzilla at busybox.net Sat Oct 7 11:02:30 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 11:02:30 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #6 from stsp --- > If you change the toolchain settings in menuconfig, then you have to rebuild > from scratch; see the manual: Treating such things anyhow but bugs, is quite unhelpful. :) If you know "make clean" is now needed, then please tell me so on exit from menuconfig. Either by printing such a message, or, better yet, asking to run "make clean" (ok/cancel) before exiting TUI. > It looks like you just happen to have an x86-64 target, like you have > an x86-64 host. I see, thanks. So "host" in a dir name, doesn't make it a host compiler. Just a cross-compiler that runs on host. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 12:16:07 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 12:16:07 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #7 from Yann E. MORIN --- stsp, All,0 > Treating such things anyhow but > bugs, is quite unhelpful. :) > If you know "make clean" is now needed, > then please tell me so on exit from > menuconfig. Either by printing such a > message, or, better yet, asking to run > "make clean" (ok/cancel) before exiting > TUI. Rebuilding from scratch after menuconfig is not always required; if one just adds a new package which has no dependency and is not the dependency of another, then this is usually OK, and running "make" again is often just enough. So no, this is not a bug, and this is expected behaviour. It has limitations, and those are thoroughly explained in the manual. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 12:24:39 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 12:24:39 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #8 from stsp --- > Rebuilding from scratch after menuconfig is not always required; I am not saying about "always". Likewise, you pop up the "save settings?" TUI dialog only if the settings changed. You can do the same here by alerting the user when needed, or even offering to do the "make clean" from TUI. -- You are receiving this mail because: You are on the CC list for the bug. From arnout at mind.be Sat Oct 7 14:17:18 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 16:17:18 +0200 Subject: [Buildroot] [git commit] .checkpackageingore: refresh Message-ID: <20231007141818.7C3AC84138@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8cf183be9e660502af2ae7e3971ffc978cfec28b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 4cbc2af604e73780c0c6b5c093c55c2f7ee2c4e3 moved the nodejs patches to the nodejs-src directory, but forgot to update .checkpackageignore accordingly. Fix that, by running `make .checkpackageignore`. Signed-off-by: Arnout Vandecappelle --- .checkpackageignore | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 28de1745e4..539a571172 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -967,10 +967,10 @@ package/ngrep/0002-Check-for-libnet_init-in-configure-in.patch Upstream package/ngrep/0003-fix-disable-tcpkill.patch Upstream package/nilfs-utils/0001-nilfs_cleanerd-link-dynamically.patch Upstream package/nmap/0001-libdnet-wrapper-configure.patch Upstream -package/nodejs/0001-add-qemu-wrapper-support.patch Upstream -package/nodejs/0002-check-if-uclibc-has-backtrace-support.patch Upstream -package/nodejs/0003-include-obj-name-in-shared-intermediate.patch Upstream -package/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch Upstream +package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch Upstream +package/nodejs/nodejs-src/0002-check-if-uclibc-has-backtrace-support.patch Upstream +package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch Upstream +package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch Upstream package/nodm/S90nodm Indent Shellcheck Variables package/norm/0001-protolib-drop-linux-version-check.patch Upstream package/norm/0002-Use-print-as-function-call-for-Python3-compatibility.patch Upstream From adam.duskett at amarulasolutions.com Sat Oct 7 16:06:37 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 18:06:37 +0200 Subject: [Buildroot] [PATCH 1/1] board/ti/am62x-sk/readme.txt: fix defconfig target Message-ID: <20231007160637.97022-1-adam.duskett@amarulasolutions.com> am62x_sk_defconfig should be ti_am62x_sk_defconfig Signed-off-by: Adam Duskett --- board/ti/am62x-sk/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/am62x-sk/readme.txt b/board/ti/am62x-sk/readme.txt index f6251ea04a..5af1c59c2d 100644 --- a/board/ti/am62x-sk/readme.txt +++ b/board/ti/am62x-sk/readme.txt @@ -11,7 +11,7 @@ How to Build Select the default configuration for the target: -$ make am62x_sk_defconfig +$ make ti_am62x_sk_defconfig Optional: modify the configuration: -- 2.41.0 From yann.morin.1998 at free.fr Sat Oct 7 16:19:06 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 18:19:06 +0200 Subject: [Buildroot] [git commit] board/ti/am62x-sk/readme.txt: fix defconfig target Message-ID: <20231007161924.986A6841CC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=53d90b74f3ca7c258e6c34e768138703f5286345 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master am62x_sk_defconfig should be ti_am62x_sk_defconfig Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- board/ti/am62x-sk/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/am62x-sk/readme.txt b/board/ti/am62x-sk/readme.txt index f6251ea04a..5af1c59c2d 100644 --- a/board/ti/am62x-sk/readme.txt +++ b/board/ti/am62x-sk/readme.txt @@ -11,7 +11,7 @@ How to Build Select the default configuration for the target: -$ make am62x_sk_defconfig +$ make ti_am62x_sk_defconfig Optional: modify the configuration: From yann.morin.1998 at free.fr Sat Oct 7 16:19:28 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 18:19:28 +0200 Subject: [Buildroot] [PATCH 1/1] board/ti/am62x-sk/readme.txt: fix defconfig target In-Reply-To: <20231007160637.97022-1-adam.duskett@amarulasolutions.com> References: <20231007160637.97022-1-adam.duskett@amarulasolutions.com> Message-ID: <20231007161928.GF2552@scaer> ADam. All, On 2023-10-07 18:06 +0200, Adam Duskett spake thusly: > am62x_sk_defconfig should be ti_am62x_sk_defconfig > > Signed-off-by: Adam Duskett Applied to master, thanks. Regards, Yann E. MORIN. > --- > board/ti/am62x-sk/readme.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/ti/am62x-sk/readme.txt b/board/ti/am62x-sk/readme.txt > index f6251ea04a..5af1c59c2d 100644 > --- a/board/ti/am62x-sk/readme.txt > +++ b/board/ti/am62x-sk/readme.txt > @@ -11,7 +11,7 @@ How to Build > > Select the default configuration for the target: > > -$ make am62x_sk_defconfig > +$ make ti_am62x_sk_defconfig > > Optional: modify the configuration: > > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From adam.duskett at amarulasolutions.com Sat Oct 7 18:04:29 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:04:29 +0200 Subject: [Buildroot] [PATCH 1/2] package/refpolicy/Config.in: force merged usr when selecting upstream Message-ID: <20231007180430.1069138-1-adam.duskett@amarulasolutions.com> Refpolicy contexts expect a merged /usr file system. In fact, there are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user wants to go through the trouble of creating a policy that works with a non-merged system, they should be free to do so. As such, only select BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION Signed-off-by: Adam Duskett --- package/refpolicy/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..f1f3c7e64d 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -36,6 +36,7 @@ choice config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + select BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. -- 2.41.0 From adam.duskett at amarulasolutions.com Sat Oct 7 18:04:30 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:04:30 +0200 Subject: [Buildroot] [PATCH 2/2] package/refpolicy: bump version to 2.20221101 In-Reply-To: <20231007180430.1069138-1-adam.duskett@amarulasolutions.com> References: <20231007180430.1069138-1-adam.duskett@amarulasolutions.com> Message-ID: <20231007180430.1069138-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- 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 a09e59c270..70d1acc9af 100644 --- a/package/refpolicy/refpolicy.hash +++ b/package/refpolicy/refpolicy.hash @@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2 +sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 8fea7cc254..fb1c213b84 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.20221101 +REFPOLICY_VERSION = 2.20231002 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif -- 2.41.0 From thomas at devoogdt.com Sat Oct 7 18:10:13 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sat, 7 Oct 2023 20:10:13 +0200 Subject: [Buildroot] [PATCH v6 1/4] pkg-cmake: add option to select the Ninja generator In-Reply-To: <20231002204328.GC2957@scaer> References: <20230802111447.41714-1-thomas@devoogdt.com> <20230806141506.GS421096@scaer> <20231002173310.GA2957@scaer> <20231002204328.GC2957@scaer> Message-ID: Hi Yann, I did have a further look at the install/fast thing. It seems that it is not needed after all. Here is an example: I have a main.cpp file like this: ```c++ #include int main() { std::cout << "Hello World!"; return 0; } ``` And a CMakeLists.txt file like this: ```cmake cmake_minimum_required(VERSION 3.22) project(test) add_executable(${PROJECT_NAME} main.cpp) install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin) ``` If I run the normal 'make install', then I can indeed confirm that the target gets built: (Only an error because I didn't use sudo to install it.) ``` $ rm -rf build/ && cmake -B build/ . && make -C build/ install -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/thode/Documents/test/build make: Entering directory '/home/thode/Documents/test/build' make[1]: Entering directory '/home/thode/Documents/test/build' make[2]: Entering directory '/home/thode/Documents/test/build' make[2]: Leaving directory '/home/thode/Documents/test/build' make[2]: Entering directory '/home/thode/Documents/test/build' [ 50%] Building CXX object CMakeFiles/test.dir/main.cpp.o [100%] Linking CXX executable test make[2]: Leaving directory '/home/thode/Documents/test/build' [100%] Built target test make[1]: Leaving directory '/home/thode/Documents/test/build' Install the project... -- Install configuration: "" -- Installing: /usr/local/bin/test CMake Error at cmake_install.cmake:52 (file): file INSTALL cannot copy file "/home/thode/Documents/test/build/test" to "/usr/local/bin/test": Permission denied. make: *** [Makefile:100: install] Error 1 make: Leaving directory '/home/thode/Documents/test/build' ``` If I re-do the same but with 'make install/fast', then I get indeed the warning that the file isn't there: ``` $ rm -rf build/ && cmake -B build/ . && make -C build/ install/fast -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/thode/Documents/test/build make: Entering directory '/home/thode/Documents/test/build' Install the project... -- Install configuration: "" CMake Error at cmake_install.cmake:52 (file): file INSTALL cannot find "/home/thode/Documents/test/build/test": No such file or directory. make: *** [Makefile:106: install/fast] Error 1 make: Leaving directory '/home/thode/Documents/test/build' ``` If I now use the 'cmake --install' option, then I would first expect that it would also build the target first, but that is not the case: ``` $ rm -rf build/ && cmake -B build/ . && cmake --install build/ -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/thode/Documents/test/build -- Install configuration: "" CMake Error at build/cmake_install.cmake:52 (file): file INSTALL cannot find "/home/thode/Documents/test/build/test": No such file or directory. ``` So I indeed have to do the 'cmake --build' first. (beware that I again didn't use sudo.) ``` $ rm -rf build/ && cmake -B build/ . && cmake --build build/ && cmake --install build/ -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/thode/Documents/test/build [ 50%] Building CXX object CMakeFiles/test.dir/main.cpp.o [100%] Linking CXX executable test [100%] Built target test -- Install configuration: "" -- Installing: /usr/local/bin/test CMake Error at build/cmake_install.cmake:52 (file): file INSTALL cannot copy file "/home/thode/Documents/test/build/test" to "/usr/local/bin/test": Permission denied. ``` So in short, calling 'cmake --install' doesn't imply a build. For purely make, that was the case, but when using the cmake wrapper, this doesn't hold longer. Kr, Thomas Op ma 2 okt 2023 om 22:43 schreef Yann E. MORIN : > > Thomas, All, > > On 2023-10-02 22:26 +0200, Thomas Devoogdt spake thusly: > > I will check what I can do. A quick search gives me this flag: > > [1]https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html , > > which is probably what we want. Otherwise I don't see much additional install options. > > If I understood it properly, this makes 'install' behave as > 'install/fast' by default, so looks like we should indeed be passing > this option instead. If that does not make sense for the ninja case, > then we'd set it only for the makefiles case. > > > And calling the make install/fast target > > directly is not very generator generic. > > If we reinstate 'install/fast' as it was previously, we'd do that only > for the makefiels case, of course. > > Regards, > Yann E. MORIN. > > > Kr, > > Thomas > > Op ma 2 okt. 2023 19:33 schreef Yann E. MORIN < [2]yann.morin.1998 at free.fr>: > > > > Thomas, All, > > > > On 2023-08-06 16:15 +0200, Yann E. MORIN spake thusly: > > > On 2023-08-02 13:14 +0200, Thomas Devoogdt spake thusly: > > > > From: Thomas Devoogdt < [3]thomas.devoogdt at barco.com> > > > > Cmake supports multiple generators. Ninja is a small build system with a > > > > focus on speed. It is mainly used with the meson build system, but also > > > > cmake has very good support for it. This adds optional support for the > > > > Ninja build system. > > [--SNIP--] > > > Please review the new code. If I broke something, please send followup > > > fixup patches with appropriate explanations (there's a kind of d?j?-vu > > > here...) > > > > While reviewing another patch, I now noticed that we did lose something > > with the introduction of this ninja backend. that I totally missed when > > I applied it. > > > > Indeed, previously, the install step was done with the install/fast > > rule: > > > > $(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install/fast > > $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install/fast > > > > But this got removed with your patch, with nothing to replace it. > > > > See commit dfcc18f84b0d (pkg-cmake: Skip compilation in installation > > step) for the rationale of using install/fast. > > > > Could you look into restoring this, please? > > > > Regards, > > Yann E. MORIN. > > > > -- > > .-----------------.--------------------.------------------.--------------------. > > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ > > | > > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > > | [4]http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > > '------------------------------^-------^------------------^--------------------' > > > > Links: > > 1. https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html > > 2. mailto:yann.morin.1998 at free.fr > > 3. mailto:thomas.devoogdt at barco.com > > 4. http://ymorin.is-a-geek.org/ > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' > From adam.duskett at amarulasolutions.com Sat Oct 7 18:19:25 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:19:25 +0200 Subject: [Buildroot] [PATCH v2 1/2] package/refpolicy/Config.in: force merged usr when selecting upstream Message-ID: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> Refpolicy contexts expect a merged /usr file system. In fact, there are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user wants to go through the trouble of creating a policy that works with a non-merged system, they should be free to do so. As such, only select BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION Signed-off-by: Adam Duskett --- package/refpolicy/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..f1f3c7e64d 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -36,6 +36,7 @@ choice config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + select BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. -- 2.41.0 From adam.duskett at amarulasolutions.com Sat Oct 7 18:19:26 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:19:26 +0200 Subject: [Buildroot] [PATCH v2 2/2] package/refpolicy: bump version to 2.20221101 In-Reply-To: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> References: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> Message-ID: <20231007181926.7115-2-adam.duskett@amarulasolutions.com> Drop upstream patch Signed-off-by: Adam Duskett --- v1 -> v2: drop upstream patch ...ount-dbus-interface-must-be-optional.patch | 33 ------------------- package/refpolicy/refpolicy.hash | 2 +- package/refpolicy/refpolicy.mk | 2 +- 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch diff --git a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch b/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch deleted file mode 100644 index adec7d98d0..0000000000 --- a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6c6be65ccf0891391681d4662cc11f508c0f4aeb Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 24 Apr 2023 14:24:49 -0700 -Subject: [PATCH] mount: dbus interface must be optional - -If DBus isn't built, the build process fails due to mount.te always using a -dbus interface even if the dbus module. Fix this by setting the dbus interface -as optional. - -Signed-off-by: Adam Duskett -Upstream: https://github.com/SELinuxProject/refpolicy/commit/207b09a656c2c3ac5c286d3f7eef085325e35408 ---- - policy/modules/system/mount.te | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te -index d028723..af84af0 100644 ---- a/policy/modules/system/mount.te -+++ b/policy/modules/system/mount.te -@@ -145,7 +145,9 @@ selinux_getattr_fs(mount_t) - - userdom_use_all_users_fds(mount_t) - --dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+optional_policy(` -+ dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+') - - ifdef(`distro_redhat',` - optional_policy(` --- -2.40.0 - diff --git a/package/refpolicy/refpolicy.hash b/package/refpolicy/refpolicy.hash index a09e59c270..70d1acc9af 100644 --- a/package/refpolicy/refpolicy.hash +++ b/package/refpolicy/refpolicy.hash @@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2 +sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 8fea7cc254..fb1c213b84 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.20221101 +REFPOLICY_VERSION = 2.20231002 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif -- 2.41.0 From adam.duskett at amarulasolutions.com Sat Oct 7 18:30:53 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:30:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/setools: bump version to 4.4.3 Message-ID: <20231007183053.12650-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/setools/setools.hash | 2 +- package/setools/setools.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/setools/setools.hash b/package/setools/setools.hash index c353e1f609..6a61fc2809 100644 --- a/package/setools/setools.hash +++ b/package/setools/setools.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 998d12d01852feed1889110a4ca81090a47a2d9b47368e4dfe2b94d68696c813 setools-4.4.2.tar.gz +sha256 29f5e7d98764a6942b2e32c8aa44da6a618882818c79599ade967ece0cf1dace setools-4.4.3.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 b80d25a6b9..efb3869e5b 100644 --- a/package/setools/setools.mk +++ b/package/setools/setools.mk @@ -4,7 +4,7 @@ # ################################################################################ -SETOOLS_VERSION = 4.4.2 +SETOOLS_VERSION = 4.4.3 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 -- 2.41.0 From fperrad at gmail.com Sat Oct 7 19:22:14 2023 From: fperrad at gmail.com (Francois Perrad) Date: Sat, 7 Oct 2023 21:22:14 +0200 Subject: [Buildroot] [PATCH] package/libsoup: bump to version 2.74.3 Message-ID: <20231007192214.3670075-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libsoup/libsoup.hash | 4 ++-- package/libsoup/libsoup.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libsoup/libsoup.hash b/package/libsoup/libsoup.hash index 2f44e63d7..5f687068a 100644 --- a/package/libsoup/libsoup.hash +++ b/package/libsoup/libsoup.hash @@ -1,4 +1,4 @@ -# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.2.sha256sum -sha256 f0a427656e5fe19e1df71c107e88dfa1b2e673c25c547b7823b6018b40d01159 libsoup-2.74.2.tar.xz +# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.3.sha256sum +sha256 e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13 libsoup-2.74.3.tar.xz # Locally calculated sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk index 026ea3a8b..81bf42cab 100644 --- a/package/libsoup/libsoup.mk +++ b/package/libsoup/libsoup.mk @@ -5,7 +5,7 @@ ################################################################################ LIBSOUP_VERSION_MAJOR = 2.74 -LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).2 +LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).3 LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz LIBSOUP_SITE = https://download.gnome.org/sources/libsoup/$(LIBSOUP_VERSION_MAJOR) LIBSOUP_LICENSE = LGPL-2.0+ -- 2.39.2 From fperrad at gmail.com Sat Oct 7 19:22:25 2023 From: fperrad at gmail.com (Francois Perrad) Date: Sat, 7 Oct 2023 21:22:25 +0200 Subject: [Buildroot] [PATCH] package/mbedtls: bump to version 2.28.5 Message-ID: <20231007192225.3670096-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/mbedtls/mbedtls.hash | 2 +- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 6aa6d0235..d0cd0b210 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 62eda6ec9..1b941e04f 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.4 +MBEDTLS_VERSION = 2.28.5 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ -- 2.39.2 From yann.morin.1998 at free.fr Sat Oct 7 19:34:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 21:34:22 +0200 Subject: [Buildroot] [PATCH v2 1/2] package/refpolicy/Config.in: force merged usr when selecting upstream In-Reply-To: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> References: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> Message-ID: <20231007193422.GG2552@scaer> Adam, All, On 2023-10-07 20:19 +0200, Adam Duskett spake thusly: > Refpolicy contexts expect a merged /usr file system. In fact, there > are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user > wants to go through the trouble of creating a policy that works with a > non-merged system, they should be free to do so. As such, only select > BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > > Signed-off-by: Adam Duskett > --- > package/refpolicy/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in > index 0e72b895df..f1f3c7e64d 100644 > --- a/package/refpolicy/Config.in > +++ b/package/refpolicy/Config.in > @@ -36,6 +36,7 @@ choice > > config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > bool "Upstream version" > + select BR2_ROOTFS_MERGED_USR I wonder if this is the proper solution. I would have rather though of depends on rather than select: diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..c413c1244b 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -32,13 +32,17 @@ if BR2_PACKAGE_REFPOLICY choice prompt "Refpolicy version" - default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION + default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION if BR2_ROOTFS_MERGED_USR config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + depends on BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. +comment "upstream refpolicy needs merged /usr" + depends on !BR2_ROOTFS_MERGED_USR + config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT bool "Custom git repository" help Not totally sure either ways, though... Regards, Yann E. MORIN. > help > Use the refpolicy as provided by Buildroot. > > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Sat Oct 7 19:38:58 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 21:38:58 +0200 Subject: [Buildroot] [PATCH] system: add option for packages to require /bin/sh In-Reply-To: <20230122094453.1381079-1-yann.morin.1998@free.fr> References: <20230122094453.1381079-1-yann.morin.1998@free.fr> Message-ID: <75eb26ce-286d-5b1e-20e9-c2833ff90781@mind.be> On 22/01/2023 10:44, Yann E. MORIN wrote: > Some packages will require that /bin/sh exists and is a valid shell. > > For example, system needs a shell, but does not care much what it is. We > could provide it with whatever the user configures as BR2_SYSTEM_BIN_SH, > but that can be empty because of BR2_SYSTEM_BIN_SH_NONE. > > So, we add an option to restrict the choice and forbid BR2_SYSTEM_BIN_SH_NONE > from being a selectable option, this ensuring that there is a shell on > the system. As a side effect, it also ensures that /bin/sh exists. In Buildroot, we assume that the user is smart enough to not remove the basic Unix tools from the system (sh, sed, grep, ...) unless they know very well what they're doing. BIN_SH_NONE is there for various situations where none of the other options are appropriate: - a system which doesn't have a shell (or maybe even init system) at all; - /bin/sh is already provided by a custom skeleton; - /bin/sh is provided in some other external fashion, e.g. this is not a full rootfs but just an overlay; - /bin/sh is provided by a package in BR2_EXTERNAL; - probably there are use cases that I can't even think of. Except for the first one, in all of these cases it should be possible for the user to still enable systemd (or any other init system). > For systmd, we can then just tell it to unconditionally use /bin/sh as > the default user shell, and that will also match whatever the user > selected as the system-wide default shell. Well, if we go that way, this patch should always have been there, because the other init systems rely on /bin/sh even more (for executing /etc/init.d scripts). > > Signed-off-by: Yann E. MORIN > Cc: Norbert Lange Norbert's feedback was also not in favour. Therefore, marked as Rejected. Regards, Arnout > --- > Note: this is a prerequisite for the bump to systemd 252.4: > http://patchwork.ozlabs.org/project/buildroot/patch/20230115114840.9027-1-nolange79 at gmail.com/ > --- > system/Config.in | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/system/Config.in b/system/Config.in > index 806a747315..963192cb3f 100644 > --- a/system/Config.in > +++ b/system/Config.in > @@ -320,6 +320,17 @@ config BR2_TARGET_GENERIC_ROOT_PASSWD > the very least use a strong cryptographic hash for your > password! > > +config BR2_SYSTEM_NEEDS_BIN_SH > + bool > + # Busybox has a shell that does not need an MMU, but all the > + # standalone shells need one. If BR2_PACKAGE_BUSYBOX is not > + # set, BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is set, so we just need > + # an MMU. > + depends on BR2_USE_MMU || BR2_PACKAGE_BUSYBOX > + help > + Have your package select this (and proapgate the dependencies) > + if it absolutely needs /bin/sh to exist and be a valid shell. > + > choice > bool "/bin/sh" > default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX > @@ -360,6 +371,7 @@ comment "bash, dash, mksh, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS" > > config BR2_SYSTEM_BIN_SH_NONE > bool "none" > + depends on !BR2_SYSTEM_NEEDS_BIN_SH > > endchoice # /bin/sh > From arnout at mind.be Sat Oct 7 20:36:32 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 22:36:32 +0200 Subject: [Buildroot] [PATCH 1/2] utils/check-package: allow exception for global checks Message-ID: <20231007203633.2415431-1-arnout@mind.be> check-package has a mechanism for a specific file to make an exception to a specific checker, by preceding the offending line with "check-package ... ". However, this is not possible for the global checks that are done in the checker's after() function. Allow exceptions for the global checks by writing the same "check-package ... " comment on the last line of the file. Signed-off-by: Arnout Vandecappelle --- utils/check-package | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/check-package b/utils/check-package index 105902303e..38119f7136 100755 --- a/utils/check-package +++ b/utils/check-package @@ -247,6 +247,8 @@ def check_file_using_lib(fname): lastline = text for name, cf in objects: + if cf.disable.search(lastline): + continue warn, fail = print_warnings(cf.after(), name in xfail) if fail > 0: failed.add(name) -- 2.41.0 From arnout at mind.be Sat Oct 7 20:36:33 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 22:36:33 +0200 Subject: [Buildroot] [PATCH 2/2] package/initscripts: add service to load kernel modules at boot In-Reply-To: <20231007203633.2415431-1-arnout@mind.be> References: <20231007203633.2415431-1-arnout@mind.be> Message-ID: <20231007203633.2415431-2-arnout@mind.be> From: Angelo Compagnucci In cases where no hotplug is available (by choice or by the lack of a proper hotplug method for a device), this service can be used to load kernel module drivers by reading the /etc/modules-load.d/*.conf files. The modules files matches the one used by systemd, which in turn has a builtin mechanism to load a module at boot, therefore making systemv init on par with systemd features. Signed-off-by: Angelo Compagnucci [Arnout: - add exception for missing DAEMON variable; - fix shellcheck warnings ] Signed-off-by: Arnout Vandecappelle --- package/initscripts/init.d/S11modules | 62 +++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 package/initscripts/init.d/S11modules diff --git a/package/initscripts/init.d/S11modules b/package/initscripts/init.d/S11modules new file mode 100644 index 0000000000..ab9b93dae3 --- /dev/null +++ b/package/initscripts/init.d/S11modules @@ -0,0 +1,62 @@ +#!/bin/sh + +MODULES_DIR="/etc/modules-load.d/" + +[ -z "$(ls -A ${MODULES_DIR} 2> /dev/null)" ] && exit 0 + +load_unload() { + for module_file in "${MODULES_DIR}"/*.conf; do + while read -r module args; do + + case "$module" in + ""|"#"*) continue ;; + esac + + if [ "$1" = "load" ]; then + # shellcheck disable=SC2086 # We need word splitting for args + modprobe -q "${module}" ${args} >/dev/null && \ + printf '%s ' "$module" || RET='FAIL' + else + rmmod "${module}" >/dev/null + fi + + done < "${module_file}" + done + + RET='OK' +} + +start() { + printf 'Starting modules: ' + + load_unload load + + echo $RET +} + +stop() { + printf 'Stopping modules: ' + + load_unload unload + + echo $RET +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + # Restart, since there is no true "reload" feature. + restart;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac + +# check-package Ignore missing DAEMON Variables -- 2.41.0 From arnout at mind.be Sat Oct 7 20:40:10 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 22:40:10 +0200 Subject: [Buildroot] [PATCH v4 5/5] package/initscripts: add service to load kernel modules at boot In-Reply-To: <20221004110421.137795-6-angelo@amarulasolutions.com> References: <20221004110421.137795-1-angelo@amarulasolutions.com> <20221004110421.137795-6-angelo@amarulasolutions.com> Message-ID: On 04/10/2022 13:04, Angelo Compagnucci wrote: > In cases where no hotplug is available (by choice or by the lack of a > proper hotplug method for a device), this service can be used to load > kernel module drivers by reading the /etc/modules-load.d/*.conf files. > The modules files matches the one used by systemd, which in turn has > a builtin mechanism to load a module at boot, therefore making systemv > init on par with systemd features. > > Signed-off-by: Angelo Compagnucci > --- > v2: > * Moved script to initscripts (Arnout) > * Moved script to S11modules, after S10[mu]dev (Andreas) > * Use /etc/modules-load.d/ to share the same setup with systemd (me) > v4: > * Select only .conf file (Peter) > * Better ouput: printing module name only when loaded successfully, > print a FAIL when at least one module fails (Peter) > > package/initscripts/init.d/S11modules | 59 +++++++++++++++++++++++++++ > 1 file changed, 59 insertions(+) > create mode 100644 package/initscripts/init.d/S11modules > > diff --git a/package/initscripts/init.d/S11modules b/package/initscripts/init.d/S11modules > new file mode 100644 > index 0000000000..dcc2e79135 > --- /dev/null > +++ b/package/initscripts/init.d/S11modules > @@ -0,0 +1,59 @@ > +#!/bin/sh > + > +MODULES_DIR="/etc/modules-load.d/" The script was failing check-package because there's no DAEMON variable. Of course, it's not appropriate to have a DAEMON variable in this init script because there's no daemon to start... On option would be to set a dummy DAEMON variable, but that would be rather pointless. So instead, I used the check-package exception comment to avoid it. However, that feature didn't exist yet for global checks (done in the after() function). So I added that feature to check-package. Because the change became a bit too big to apply directly, I resent. Of course, stupid me forgot to add versioning information :-( > + > +[ -z "$(ls -A ${MODULES_DIR} 2> /dev/null)" ] && exit 0 > + > +load_unload() { > + for module_file in $(ls -1 ${MODULES_DIR}/*.conf); do This (and a few other lines) triggered a shellcheck warning. I fixed those. Could you test with the patch I sent? Regards, Arnout > + while read module args; do > + > + case "$module" in > + ""|"#"*) continue ;; > + esac > + > + if [ "$1" = "load" ]; then > + modprobe -q ${module} ${args} >/dev/null && \ > + printf '%s ' "$module" || RET='FAIL' > + else > + rmmod ${module} >/dev/null > + fi > + > + done < ${module_file} > + done > + > + RET='OK' > +} > + > +start() { > + printf 'Starting modules: ' > + > + load_unload load > + > + echo $RET > +} > + > +stop() { > + printf 'Stopping modules: ' > + > + load_unload unload > + > + echo $RET > +} > + > +restart() { > + stop > + sleep 1 > + start > +} > + > +case "$1" in > + start|stop|restart) > + "$1";; > + reload) > + # Restart, since there is no true "reload" feature. > + restart;; > + *) > + echo "Usage: $0 {start|stop|restart|reload}" > + exit 1 > +esac From arnout at mind.be Sat Oct 7 20:41:32 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 22:41:32 +0200 Subject: [Buildroot] [PATCH 2/2] package/initscripts: add service to load kernel modules at boot In-Reply-To: <20231007203633.2415431-2-arnout@mind.be> References: <20231007203633.2415431-1-arnout@mind.be> <20231007203633.2415431-2-arnout@mind.be> Message-ID: <013b2509-3af4-6130-6327-e4c52efaaa69@mind.be> On 07/10/2023 22:36, Arnout Vandecappelle wrote: > From: Angelo Compagnucci > > In cases where no hotplug is available (by choice or by the lack of a > proper hotplug method for a device), this service can be used to load > kernel module drivers by reading the /etc/modules-load.d/*.conf files. > The modules files matches the one used by systemd, which in turn has > a builtin mechanism to load a module at boot, therefore making systemv > init on par with systemd features. > > Signed-off-by: Angelo Compagnucci > [Arnout: > - add exception for missing DAEMON variable; > - fix shellcheck warnings > ] > Signed-off-by: Arnout Vandecappelle > --- I forgot the patch history. v2: * Moved script to initscripts (Arnout) * Moved script to S11modules, after S10[mu]dev (Andreas) * Use /etc/modules-load.d/ to share the same setup with systemd (me) v4: * Select only .conf file (Peter) * Better ouput: printing module name only when loaded successfully, print a FAIL when at least one module fails (Peter) v5 (Arnout): * Fix shellcheck warnings * Add exception for missing DAEMON variable Regards, Arnout > package/initscripts/init.d/S11modules | 62 +++++++++++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 package/initscripts/init.d/S11modules > > diff --git a/package/initscripts/init.d/S11modules b/package/initscripts/init.d/S11modules > new file mode 100644 > index 0000000000..ab9b93dae3 > --- /dev/null > +++ b/package/initscripts/init.d/S11modules > @@ -0,0 +1,62 @@ > +#!/bin/sh > + > +MODULES_DIR="/etc/modules-load.d/" > + > +[ -z "$(ls -A ${MODULES_DIR} 2> /dev/null)" ] && exit 0 > + > +load_unload() { > + for module_file in "${MODULES_DIR}"/*.conf; do > + while read -r module args; do > + > + case "$module" in > + ""|"#"*) continue ;; > + esac > + > + if [ "$1" = "load" ]; then > + # shellcheck disable=SC2086 # We need word splitting for args > + modprobe -q "${module}" ${args} >/dev/null && \ > + printf '%s ' "$module" || RET='FAIL' > + else > + rmmod "${module}" >/dev/null > + fi > + > + done < "${module_file}" > + done > + > + RET='OK' > +} > + > +start() { > + printf 'Starting modules: ' > + > + load_unload load > + > + echo $RET > +} > + > +stop() { > + printf 'Stopping modules: ' > + > + load_unload unload > + > + echo $RET > +} > + > +restart() { > + stop > + sleep 1 > + start > +} > + > +case "$1" in > + start|stop|restart) > + "$1";; > + reload) > + # Restart, since there is no true "reload" feature. > + restart;; > + *) > + echo "Usage: $0 {start|stop|restart|reload}" > + exit 1 > +esac > + > +# check-package Ignore missing DAEMON Variables From yann.morin.1998 at free.fr Sat Oct 7 20:52:33 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 22:52:33 +0200 Subject: [Buildroot] [git commit] package/erlang: drop leftover comment Message-ID: <20231007205658.8E0B084229@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=edfbc27fac56ccedc9e67684ca491c232f2a93d3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit b574a9606e62 (package/erlang: do not hard-code the Erlang Interface Version (EI_VSN)) removed the need to care about keeping the erlang version and its API version in sync, as the latter is automatically extracted from installed files. The corresponding comment was removed in that commit: # Whenever updating Erlang, this value should be updated as well, to the # value of EI_VSN in the file lib/erl_interface/vsn.mk However, the removal of the comment above the package version was leftover (probably because of a conflict with a version bump that was improperly resolved). Drop the comment now. Signed-off-by: Yann E. MORIN --- package/erlang/erlang.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/erlang/erlang.mk b/package/erlang/erlang.mk index 29e2b74cbd..1600b59381 100644 --- a/package/erlang/erlang.mk +++ b/package/erlang/erlang.mk @@ -4,7 +4,6 @@ # ################################################################################ -# See note below when updating Erlang ERLANG_VERSION = 26.0.2 ERLANG_RELEASE = $(firstword $(subst ., ,$(ERLANG_VERSION))) ERLANG_SITE = \ From yann.morin.1998 at free.fr Sat Oct 7 20:57:49 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 22:57:49 +0200 Subject: [Buildroot] [PATCH] support/bootlin-toolchains: don't depend on non-existent gcc version Message-ID: <20231007205749.443600-1-yann.morin.1998@free.fr> Commit a0d2a5cfec0a (support/scripts/gen-bootlin-toolchains: generate BR2_ARCH_NEEDS_GCC_AT_LEAST_X guard) added a negative dependency to the gcc version required by the configured architecture. However, when the toolchain is using the latest gcc version currently known to Buildroot, this generates a dependency on a non-existing gcc version. For example, a toolchain using gcc 13, the most recent version currently known to Buildroot, this would generate a dependency against BR2_ARCH_NEEDS_GCC_AT_LEAST_14, which does not exist yet. This dependency is in practice a no-op, because the symbol is missing, so Kconfig evaluates it to false, and since it is negated, the dependency is fulfilled. Still, this is spurious and semantically incorrect. We fix that by extracting the most recent gcc version that an architecture may require, and use that to decide whether the guard is needed for the toolchain. Signed-off-by: Yann E. MORIN Cc: Vincent Fazio --- support/scripts/gen-bootlin-toolchains | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/support/scripts/gen-bootlin-toolchains b/support/scripts/gen-bootlin-toolchains index 4344221213..3b5f65515d 100755 --- a/support/scripts/gen-bootlin-toolchains +++ b/support/scripts/gen-bootlin-toolchains @@ -305,7 +305,7 @@ class Toolchain: return os.path.join(BASE_URL, self.arch, "fragments", self.fname_prefix + ".frag") - def gen_config_in_options(self, f): + def gen_config_in_options(self, f, latest_gcc): f.write("config %s\n" % self.option_name) f.write("\tbool \"%s %s %s %s\"\n" % (self.arch, self.libc, self.variant, self.version)) @@ -339,7 +339,8 @@ class Toolchain: assert m, "Cannot get gcc version for toolchain %s" % self.fname_prefix selects.append("BR2_TOOLCHAIN_GCC_AT_LEAST_%s" % m[1]) # respect the GCC requirement for the selected CPU/arch tuning - depends.append("!BR2_ARCH_NEEDS_GCC_AT_LEAST_%s" % str(int(m[1]) + 1)) + if int(m[1]) + 1 <= latest_gcc: + depends.append("!BR2_ARCH_NEEDS_GCC_AT_LEAST_%s" % str(int(m[1]) + 1)) # kernel headers version if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HEADERS_"): @@ -462,6 +463,17 @@ class Toolchain: (self.arch, self.libc, self.variant, self.version, self.option_name) +def get_latest_gcc(): + match = "config BR2_ARCH_NEEDS_GCC_AT_LEAST_" + with open("arch/Config.in", "r") as f: + latest = sorted([ + int(line[len(match):].strip().split("_")[0]) + for line in f.readlines() + if line.startswith(match) + ])[-1] + return latest + + def get_toolchains(): toolchains = list() for arch, details in arches.items(): @@ -494,6 +506,7 @@ def get_toolchains(): def gen_config_in_options(toolchains, fpath): + latest_gcc = get_latest_gcc() with open(fpath, "w") as f: f.write(AUTOGENERATED_COMMENT) @@ -520,7 +533,7 @@ def gen_config_in_options(toolchains, fpath): f.write("\tprompt \"Bootlin toolchain variant\"\n") for toolchain in toolchains: - toolchain.gen_config_in_options(f) + toolchain.gen_config_in_options(f, latest_gcc) f.write("endchoice\n") f.write("endif\n") -- 2.25.1 From thomas.petazzoni at bootlin.com Sun Oct 8 05:38:28 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 08 Oct 2023 05:38:28 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-07 Message-ID: <20231008053835.62DEE419C3@smtp4.osuosl.org> Hello, Autobuild statistics for 2023-10-07 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 18 | 6 | 0 | 24 | 2023.08.x | 15 | 8 | 0 | 23 | master | 96 | 143 | 0 | 239 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 18 bird-2.0.12 | 12 alsa-lib-1.2.10 | 9 spirv-tools-1.3.261.1 | 8 unknown | 8 gobject-introspection-1.76.1 | 7 alsa-utils-1.2.10 | 4 gcc-final-12.3.0 | 4 glibc-2.38-27-g750a45a78390... | 4 google-breakpad-c85eb4a59b6... | 4 monit-5.33.0 | 4 elfutils-0.189 | 3 host-rust-1.71.1 | 3 linux-6.5.5 | 3 conmon-2.1.8 | 2 coreutils-9.3 | 2 host-sentry-cli-2.20.3 | 2 libarchive-3.7.2 | 2 libmemcached-1.1.4 | 2 linux-5.10.162-cip24-rt10 | 2 liquid-dsp-1.5.0 | 2 php-8.2.11 | 2 squid-6.2 | 2 acpid-2.0.34 | 1 apcupsd-3.14.14 | 1 boost-1.83.0 | 1 bullet-3.21 | 1 cairo-1.16.0 | 1 check-11970a7e112dfe243a2e6... | 1 cpuload-0.3 | 1 cryptodev-linux-1.13 | 1 edk2-edk2-stable202308 | 1 fio-3.34 | 1 flatbuffers-23.5.26 | 1 gcc-final-11.4.0 | 1 gcc-final-13.2.0 | 1 host-erlang-26.0.2 | 1 host-gcc-final-13.2.0 | 1 host-go-1.21.1 | 1 host-go-bootstrap-stage2-1.... | 1 kvmtool-f77d646ba01d04be5aa... | 1 lcms2-2.15 | 1 libopenssl-3.1.3 | 1 libselinux-3.5 | 1 mariadb-10.11.4 | 1 memcached-1.6.21 | 1 motion-4.5.1 | 1 netsnmp-5.9.4 | 1 openvmtools-11.3.5-18557794 | 1 pound-4.8 | 1 pv-1.6.20 | 1 skalibs-2.12.0.1 | 1 systemd-254 | 1 tpm2-tss-3.2.2 | 1 util-linux-2.39.2 | 1 valgrind-3.21.0 | 1 zlib-ng-2.1.3 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/2d9b7a82cf6e0b30b4746d53475a522486becb40 | ORPH or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/adbc3708a2575b8c35faeb782cadce794afe6175 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/eaf2fd899537d12c2c31749ad913932ffd6d287f | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/4c647e0f680d148ba3a67f754e7baccbd13b17c7 | or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1a6ca1f9c83e9295cd688f00550431269a351db5 | microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b4263e4e7df1d804b4b543d40a02ee298a8694a1 | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/543bd45d18fc8e395ef5c2c2e54e068b998751f8 | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/baa87e2fa9ee5223dc1c455ffe6238b2c5a87afb | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7ceebba4389ef0a95d1581f2e7f5fd6ea4e7cdb8 | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/9e5a85b426e6eb09deed07650705325d9f326d21 | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6430e41d4f52ed77e89b40c0f024830769b0688f | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/ef78b81988be72c2745a6bcd7d6bcb9bcbd892c9 | mips64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7137209e59f1c6d588cc68da82ab71a6a284582e | riscv32 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/0c1c35996e70004cea9044b72cca379972b2c9a9 | mips64el | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/38ccb0feecf71a9e8db3de2f9070929377a5797c | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/92351cbd55b712d4d44b4e7e46881f0cf40d8394 | arceb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/efb5c3d811d42e5734a4e4494566df5e7608324d | microblaze | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6fcb6e9ef580955b459ce0efafaa7d88d0164102 | arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b53739966e995bb47980d913ca82b4b928771fda | x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/0aca1131a471aab52fe3579f03e53b89f3b3204c | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8e9b80dfbd8f095e93abf8716fb714e7e9451cfa | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/7ee9da352baad127f1970a24a178ae22187abdbe | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/2d48915db31327ac1dc2a9378b33ced1c2bf6acc | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/494cb348e0ab0abd42d87e6ab43165c9ad5e2544 | sh4 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/e1f9e12fc4a86114e553f4692f71de76625ab61c | xtensa | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/0c487188103b298cc6ff84899863e0b63a8524c3 | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6cf7b187dfc03964b4abc76894312fc1e7ef5a45 | or1k | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/21088c2b4bcedbba6f15b5a9aaa68736b718ccc6 | xtensa | bullet-3.21 | NOK | http://autobuild.buildroot.net/results/a7d51995debe518cdb1d60aac12584b492ddd3f2 | xtensa | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/00f3abaab8825f070957119881c3f5ccba0d48f7 | mips | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/28c0231e4724c01c82f9f38525313a6aada29163 | ORPH aarch64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/a3f550ae79bf42074d1c8a3c9a3c8c52d0797de6 | mipsel | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/a3ed99f47aee2dae7e3223cfc1de546d3c425f22 | nios2 | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/f6c023123c7efeb8954503a034f5788c801f93fc | ORPH arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/7d36981bd262dd4f4a50babef820e0e76d6a9af1 | ORPH arceb | cpuload-0.3 | NOK | http://autobuild.buildroot.net/results/d23914e6000caa6586e68a75a736fc9276efac8c | powerpc64 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/34aba5d41658d37440547f1c9e3b0c4b5f2b464d | ORPH x86_64 | edk2-edk2-stable202308 | NOK | http://autobuild.buildroot.net/results/d9a92934f62d4841c02ce3af7da2eb0f2e4b7a03 | powerpc | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/eb4cdd89600ab39e86dcb221a044745ea8a20af5 | ORPH powerpc | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/f6e34636c79f4bd4a7c874c8ac3e2b239dfe760f | ORPH arceb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/5f5b783b4b61278a1d95663056ca54ff16a02d24 | ORPH mips | fio-3.34 | NOK | http://autobuild.buildroot.net/results/9b604eadadcafcc5613c865b732aec5eb8d74c68 | m68k | flatbuffers-23.5.26 | NOK | http://autobuild.buildroot.net/results/a159367bf02e28d71dc8d4c97f60b90c76161331 | mips64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/c9732dafff9f44c5f61326524fbde74e3ff3fb17 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/bf6c14da0a55ed9d9d6a4e8089710943ca5945bb | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/ca97671884a4fa3d21f80261a830f53af8463b78 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/22c796474f0d17c56ee39b8027fe476e845c3d28 | aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/d3adaf956c50dbe79d3c1ef6e365e195cdd0f49b | xtensa | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/3b07bc0eb6c7a3ddb31836c0e8da6db73d258015 | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/e851d99aee011093d8e8771d4026485c59816f1e | powerpc64le | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/5e4953c429c535136f621039bb25a684c533ff1b | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/0afb72385579111572d39c425f28ef4161c2a030 | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/77cea31375de775fe723e54cdd0a82b216cd4ee4 | or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/08a305e3de3ef2273c19cfb1aa93f03c1b9a31f5 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/c72bcb2d8c18d8f0a6089012389cac6e9415079f | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/e80192229fd13a6b319a974175f6d8d0100baf6c | ORPH sh4aeb | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/09687e4690a574baf8b7e64eede5b243e950cfe7 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/18069be9ecf6e1878745410a6912403529449f88 | ORPH mipsel | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/0e9ca55ae0cdb3b60ae2a37a67a3de3db2f26a84 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/7ac3eb243faa3231677be9e0bcca33f2d2805d03 | ORPH i686 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/81b0a8c14141309c6d759b61d7addd7b71377bbf | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/a11b8b16a89654ac7b8583c04e3cc20027deae39 | x86_64 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/db1d68d31e26f154f398a528bd2423d743831da2 | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/be960970896f5b14968a479e6ff831b66bcbbc3b | x86_64 | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/202f06dd639ddf6548975bc42d867f6aa8f918eb | powerpc | host-gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/5371e7f77369d7b52f7f56492c986f04c97d639e | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/986b83c2754fc3bd87d6758155edee326b3924de | riscv64 | host-go-bootstrap-stage2-1.... | NOK | http://autobuild.buildroot.net/results/b3674df5cb61f302ff33478a91c62d57e725efec | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4d9517307e3d9da1e04856fd890513b68a569459 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c0ffe09d4157706c7d493e93332a3d60c4cb1cb9 | armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/f085ed5918bec6be1d84e867c9038a555d260eb8 | or1k | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/55176fe4be2eeadddb056023c8fd75b05e7c0b95 | mipsel | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/a3d70f680c7ed3a9603765d91f640fd63b523622 | x86_64 | kvmtool-f77d646ba01d04be5aa... | NOK | http://autobuild.buildroot.net/results/a9a8d12ae3a037503405f50eead3172cbcce976c | ORPH powerpc | lcms2-2.15 | NOK | http://autobuild.buildroot.net/results/50a501343d0715872ff7919d615154a1759a4948 | aarch64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/abaaa65c0ed4abe59723494dcfc400d5222c5858 | x86_64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/e3364d5ba51e69fb7d307f23f87a0af350572497 | arm | libmemcached-1.1.4 | NOK | http://autobuild.buildroot.net/results/ea5468597c1f6ab12e186d9eae796adbdd005666 | ORPH sparc | libmemcached-1.1.4 | NOK | http://autobuild.buildroot.net/results/c8e4e1f9609d1339fe070afe440c63660892600e | ORPH arm | libopenssl-3.1.3 | NOK | http://autobuild.buildroot.net/results/727da5fa493907f9821f9732813c8d6dd67259da | ORPH or1k | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/10113bd377c1c0e77b2e43858182fe0ca01fcc42 | m68k | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/0b47fc48793a17c58c1b4e6adcdc703ec305e826 | ORPH mips | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/8eacc23298ca190300fde9ca2fba26b39d4ab54b | ORPH powerpc64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/e37c6ab73fcfe7fde5b3ff8559e696a33dafd8cb | ORPH arceb | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/284aa41d823efe4aaaf4cf6e04cb300fe1544b7b | ORPH powerpc64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/f53766324e8a7413a18791d72030938575c0d913 | ORPH x86_64 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/785014444f80355987a017f5eae76ba37188deda | x86_64 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/9d155f66b06ce8e2c36c36981c53e342afc6551f | microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/1864e37e59c96ab7389810c1277a1df0a39745d8 | ORPH or1k | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/e1bdb1615f0e1f61763d728ec514cf48d0d6943a | ORPH mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/9c0564678f8d01e4a43806a1e2ba21b89bf5c9f2 | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/f7a07448e36abc5e5f48e140d6ed566980b54a66 | microblaze | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/515a001f76be31a39af93049adabf9db8a0d5d9b | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/d70a4b8ab9736fb9130630db970827c706c55fc2 | powerpc64 | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/042d4ce7edc74a02ad3f4c536346c6feb74d2c9a | mips64el | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/d4cb12bf6d892b3e4ecc363db1ee35fb47ec5da5 | ORPH armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6a6f8a1e8bd03b1b17454ba492018570c6bcf63a | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6f3e89c0ac6f06fcdc3089db4556b66d1463dcb6 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2ffa7a86125772a7e5a5d68b4ec44b493c29e279 | aarch64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/804e3b059a228778497097826ae3b895d4fdc6ec | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/43ffd497a3f5f76104897ecca419bf845540354d | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3406992fa1836b30bb0b59c7d5313ed6d0b83ade | microblazeel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b8caea3d67b4fffdd895692223a9651b03108641 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6aaae44aef2e4c0ad1eb222847a165e112c60b5d | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/51736dc1c845557bb3da68db1309ea38eb62e92f | or1k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e6bba3e8bdcc8d60b4f6f72f532caed53b695d04 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e5c5777ceca625459b0aa72a163cd64e6e81bf02 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/31f822c5b28788c1da48dcb1d6124e58f0ae7f01 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b28a8bd0f518b3c748bff9838f36742bb08e757c | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5bc1f8f1482745b86100af331cdc6a641e55ec18 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9a31aaf961d94cc579aba945e8e6a7882c4a4621 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c069d29a59b97f25ac59fd101732782145ec83a0 | aarch64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/bdcf7ead416a21b814bfe60a86743823cea724e8 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/1404607632c2910d24c2e7870b5a38189e5bb16c | x86_64 | openvmtools-11.3.5-18557794 | NOK | http://autobuild.buildroot.net/results/07baf4c1bc7f6cc61d0e1c5e286da156f4d70a9e | armeb | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/9ebcd082a490a58ae74e033645aaf33c17f999f8 | sh4eb | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/2278d76768ddaa9fd78e6afb219515047c8aa485 | mipsel | pound-4.8 | NOK | http://autobuild.buildroot.net/results/573257807098b3be4be37ee261bf5f9227093ec6 | ORPH armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/ad63c9bbb130af53497040cd637ab7ede06eff19 | ORPH or1k | skalibs-2.12.0.1 | NOK | http://autobuild.buildroot.net/results/c1e02a5b38ac175e1744e198bedfc00835a0e1bf | armeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/7a2592d8cb44f9d2a137a59f5875e43d862fb145 | ORPH mips64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/9751bc146d325978843008adcde4663ad3b6aea0 | ORPH microblazeel | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/18e1172ae2e227f305c35a82c372a522c4d878f6 | ORPH powerpc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/e8e9cdb403f2b1977e645c4d349b79b6bf9bfbe9 | ORPH x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/3a186b2028a211c4bb8ac4c9627c1c75a49d8f76 | ORPH mips64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/fdf505ba05268706e719fea1c21e42055b5b949a | ORPH sh4a | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/bda9d55c69695f69407864ffcfa6ef82c29c105e | ORPH mips64el | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/afee3af66170d5ed782932ce413dfacf79933f50 | ORPH sparc | squid-6.2 | NOK | http://autobuild.buildroot.net/results/2129092a5f51d599131055de817dad56e71fb74c | ORPH aarch64 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/b8168738562a3e00531657b7415e3567c9a03c8d | ORPH powerpc | systemd-254 | NOK | http://autobuild.buildroot.net/results/ae872d45064a37cd33dbf8adc31b606f1133a393 | mips | tpm2-tss-3.2.2 | NOK | http://autobuild.buildroot.net/results/820f5f147d9c050bf88804d7eec1d662d8eca10a | ORPH s390x | unknown | NOK | http://autobuild.buildroot.net/results/00f0e533dcc4aa8c267505239bc9b661d9e2f414 | arm | unknown | NOK | http://autobuild.buildroot.net/results/6a7fd6d689ec14dc5b5204c9ba91776e8905693e | arm | unknown | NOK | http://autobuild.buildroot.net/results/8bd4be07dc0088d9a76f7d3d7a541ec0b1960db7 | arm | unknown | NOK | http://autobuild.buildroot.net/results/ed530cce91bed8fa7d02604d17be7811760a25b6 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/465c3030339f5801a019fab1f479f3190655759f | s390x | unknown | NOK | http://autobuild.buildroot.net/results/1076836d61fdd84c0f375d64cbddcb7e8a86756f | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/0b512bf3ada923059c35b7b82c4ac68dc27bc628 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/34a58f1201902441d9224267a0739b9756e0c6f6 | sh4 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/f2797fbf5f7fa54855ffb2615916fd4bbab6d143 | ORPH powerpc | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/2eeb33cccdd09f22e0ed723ed0171e0959771e54 | ORPH arm | zlib-ng-2.1.3 | NOK | http://autobuild.buildroot.net/results/560a69cf60639d4651dfa454c35ead0b76409927 | ORPH Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 1 check-0.15.2 | 1 elfutils-0.186 | 1 host-rust-1.67.1 | 1 unknown | 1 z3-4.12.1 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/67ec5bfda8e6a6409e83ad342965b1ab16cb16b5 | arm | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/fb69c7e5f286a3935ab57350b6d87346dbf0bd8e | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/265fa25e7549a15b73d57fa2a79c86b181304e99 | ORPH i686 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/b168f74b76afaf9a919a4cd29dfd813c78206b8a | microblaze | unknown | NOK | http://autobuild.buildroot.net/results/41144a922e61e9bc8521cac7001a393529868d76 | or1k | z3-4.12.1 | NOK | http://autobuild.buildroot.net/results/ed1beb50a948a3c32e425c24cbdcb6adc1d98323 | Classification of failures by reason for 2023.08.x -------------------------------------------------- liquid-dsp-1.5.0 | 2 host-go-1.20.8 | 1 luvi-2.14.0 | 1 unknown | 1 util-linux-2.39.1 | 1 util-linux-libs-2.39.1 | 1 wolfssl-5.6.3 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/f7a6a7008bf470d167ec6bd6eebf5d756f45eb12 | i686 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/60014472badc5d9d11c63cf45b570f416c196968 | i686 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/a5aa2e4e00c530888c9691323671fe0bce118a12 | aarch64_be | luvi-2.14.0 | NOK | http://autobuild.buildroot.net/results/2048957a8f3fdb27e75e6624e2c29c7d34930654 | ORPH mips64 | unknown | NOK | http://autobuild.buildroot.net/results/9556cf8e2f5d967b6e5eec4a09cc446d5a7a12c5 | microblazeel | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/516cec76470adf460d6d585835191b8e6be8c315 | ORPH arm | util-linux-libs-2.39.1 | NOK | http://autobuild.buildroot.net/results/1b93b1d92116fa72f3a40e1e18774241c89391c2 | ORPH x86_64 | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/cf19b89ac9d33ed094754cb6412088d621e50618 | -- http://autobuild.buildroot.net From arnout at mind.be Sun Oct 8 09:32:38 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 11:32:38 +0200 Subject: [Buildroot] [PATCH] support/bootlin-toolchains: don't depend on non-existent gcc version In-Reply-To: <20231007205749.443600-1-yann.morin.1998@free.fr> References: <20231007205749.443600-1-yann.morin.1998@free.fr> Message-ID: On 07/10/2023 22:57, Yann E. MORIN wrote: > Commit a0d2a5cfec0a (support/scripts/gen-bootlin-toolchains: generate > BR2_ARCH_NEEDS_GCC_AT_LEAST_X guard) added a negative dependency to the > gcc version required by the configured architecture. > > However, when the toolchain is using the latest gcc version currently > known to Buildroot, this generates a dependency on a non-existing gcc > version. For example, a toolchain using gcc 13, the most recent version > currently known to Buildroot, this would generate a dependency against > BR2_ARCH_NEEDS_GCC_AT_LEAST_14, which does not exist yet. That means, however, that if we add GCC 14, we need to remember to add the condition to the Bootlin toolchains again... Of course, that can easily be solved by regenerating them, but we don't currently do that when adding a new GCC version. So really, I would feel more comfortable just adding the symbols for GCC 14 support already. Regards, Arnout > > This dependency is in practice a no-op, because the symbol is missing, > so Kconfig evaluates it to false, and since it is negated, the > dependency is fulfilled. Still, this is spurious and semantically > incorrect. > > We fix that by extracting the most recent gcc version that an > architecture may require, and use that to decide whether the guard is > needed for the toolchain. > > Signed-off-by: Yann E. MORIN > Cc: Vincent Fazio > --- > support/scripts/gen-bootlin-toolchains | 19 ++++++++++++++++--- > 1 file changed, 16 insertions(+), 3 deletions(-) > > diff --git a/support/scripts/gen-bootlin-toolchains b/support/scripts/gen-bootlin-toolchains > index 4344221213..3b5f65515d 100755 > --- a/support/scripts/gen-bootlin-toolchains > +++ b/support/scripts/gen-bootlin-toolchains > @@ -305,7 +305,7 @@ class Toolchain: > return os.path.join(BASE_URL, self.arch, "fragments", > self.fname_prefix + ".frag") > > - def gen_config_in_options(self, f): > + def gen_config_in_options(self, f, latest_gcc): > f.write("config %s\n" % self.option_name) > f.write("\tbool \"%s %s %s %s\"\n" % > (self.arch, self.libc, self.variant, self.version)) > @@ -339,7 +339,8 @@ class Toolchain: > assert m, "Cannot get gcc version for toolchain %s" % self.fname_prefix > selects.append("BR2_TOOLCHAIN_GCC_AT_LEAST_%s" % m[1]) > # respect the GCC requirement for the selected CPU/arch tuning > - depends.append("!BR2_ARCH_NEEDS_GCC_AT_LEAST_%s" % str(int(m[1]) + 1)) > + if int(m[1]) + 1 <= latest_gcc: > + depends.append("!BR2_ARCH_NEEDS_GCC_AT_LEAST_%s" % str(int(m[1]) + 1)) > > # kernel headers version > if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HEADERS_"): > @@ -462,6 +463,17 @@ class Toolchain: > (self.arch, self.libc, self.variant, self.version, self.option_name) > > > +def get_latest_gcc(): > + match = "config BR2_ARCH_NEEDS_GCC_AT_LEAST_" > + with open("arch/Config.in", "r") as f: > + latest = sorted([ > + int(line[len(match):].strip().split("_")[0]) > + for line in f.readlines() > + if line.startswith(match) > + ])[-1] > + return latest > + > + > def get_toolchains(): > toolchains = list() > for arch, details in arches.items(): > @@ -494,6 +506,7 @@ def get_toolchains(): > > > def gen_config_in_options(toolchains, fpath): > + latest_gcc = get_latest_gcc() > with open(fpath, "w") as f: > f.write(AUTOGENERATED_COMMENT) > > @@ -520,7 +533,7 @@ def gen_config_in_options(toolchains, fpath): > f.write("\tprompt \"Bootlin toolchain variant\"\n") > > for toolchain in toolchains: > - toolchain.gen_config_in_options(f) > + toolchain.gen_config_in_options(f, latest_gcc) > > f.write("endchoice\n") > f.write("endif\n") From arnout at mind.be Sun Oct 8 09:40:11 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 11:40:11 +0200 Subject: [Buildroot] [PATCH v2 1/2] package/refpolicy/Config.in: force merged usr when selecting upstream In-Reply-To: <20231007193422.GG2552@scaer> References: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> <20231007193422.GG2552@scaer> Message-ID: <3e9f019b-a8ad-e856-3ed9-6fec0c119f83@mind.be> On 07/10/2023 21:34, Yann E. MORIN wrote: > Adam, All, > > On 2023-10-07 20:19 +0200, Adam Duskett spake thusly: >> Refpolicy contexts expect a merged /usr file system. In fact, there >> are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user >> wants to go through the trouble of creating a policy that works with a >> non-merged system, they should be free to do so. As such, only select >> BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION >> >> Signed-off-by: Adam Duskett >> --- >> package/refpolicy/Config.in | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in >> index 0e72b895df..f1f3c7e64d 100644 >> --- a/package/refpolicy/Config.in >> +++ b/package/refpolicy/Config.in >> @@ -36,6 +36,7 @@ choice >> >> config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION >> bool "Upstream version" >> + select BR2_ROOTFS_MERGED_USR > > I wonder if this is the proper solution. I would have rather though of > depends on rather than select: I agree. I don't think anything in the system/Config.in menu should be select'ed by packages. Currently we do select BR2_TARGET_TZ_INFO, and I'm not even sure if that is such a good idea. > diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in > index 0e72b895df..c413c1244b 100644 > --- a/package/refpolicy/Config.in > +++ b/package/refpolicy/Config.in > @@ -32,13 +32,17 @@ if BR2_PACKAGE_REFPOLICY > > choice > prompt "Refpolicy version" > - default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > + default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION if BR2_ROOTFS_MERGED_USR This is not great however... If merged /usr is not selected, it will default to git, which is not exactly a good default. But there's not much we can do about that I guess. Regards, Arnout > > config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > bool "Upstream version" > + depends on BR2_ROOTFS_MERGED_USR > help > Use the refpolicy as provided by Buildroot. > > +comment "upstream refpolicy needs merged /usr" > + depends on !BR2_ROOTFS_MERGED_USR > + > config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT > bool "Custom git repository" > help > > Not totally sure either ways, though... > > Regards, > Yann E. MORIN. > >> help >> Use the refpolicy as provided by Buildroot. >> >> -- >> 2.41.0 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > From peter at korsgaard.com Sun Oct 8 15:58:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 17:58:55 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/{glibc, localedef}: security bump to version glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c Message-ID: <20231008155922.7ADFC8431C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d6d032fc1efc8cb7bf870987023b196425cab445 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index 1a66b66984..dcff16d465 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 a4351e60a33e84236c1866c39eeab321f419dfdc274411b7d2615c9382ace351 glibc-2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d.tar.gz +sha256 d7d829f90f03e00d42d7d34ff7e972a59b14e2b70fa2e852893018349aafa5f7 glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 42de53ffc5..a3a84e86ec 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d +GLIBC_VERSION = 2.36-118-g22955ad85186ee05834e47e665056148ca07699c # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index e71424490b..51d3ddc932 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d +LOCALEDEF_VERSION = 2.36-118-g22955ad85186ee05834e47e665056148ca07699c LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc From peter at korsgaard.com Sun Oct 8 15:59:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 17:59:42 +0200 Subject: [Buildroot] [PATCH-2023.02.x] package/{glibc, localedef}: security bump to version glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c In-Reply-To: <20231006081205.1793625-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 10:12:04 +0200") References: <20231006081205.1793625-1-peter@korsgaard.com> Message-ID: <87pm1pds0h.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the > environment of a setuid program and NAME is valid, it may result in a > buffer overflow, which could be exploited to achieve escalated > privileges. This flaw was introduced in glibc 2.34. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 8 15:59:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 17:59:47 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/{glibc, localedef}: security bump to version glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 In-Reply-To: <20231006062449.1481741-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 08:24:49 +0200") References: <20231006062449.1481741-1-peter@korsgaard.com> Message-ID: <87lecdds0c.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issues: > CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the > environment of a setuid program and NAME is valid, it may result in a > buffer overflow, which could be exploited to achieve escalated > privileges. This flaw was introduced in glibc 2.34. > Signed-off-by: Peter Korsgaard Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 8 16:00:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 18:00:21 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.2 In-Reply-To: <20231006093726.1931681-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 11:37:25 +0200") References: <20231006093726.1931681-1-peter@korsgaard.com> Message-ID: <87h6n1drze.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the > restrictions on "//go:cgo_" directives, allowing blocked linker and compiler > flags to be passed during compilation. This can result in unexpected > execution of arbitrary code when running "go build". > go1.21.2 (released 2023-10-05) includes one security fixes to the cmd/go > package, as well as bug fixes to the compiler, the go command, the linker, > the runtime, and the runtime/metrics package. > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 8 16:00:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 18:00:35 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/go: security bump to version 1.20.9 Message-ID: <20231008160116.C44A084364@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1da113559fc7a6f7f420c9026c1f4102bd7ac81d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the go command and the linker. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 19405982ba..ac603e6e3b 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e go1.20.8.src.tar.gz +sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index c1e9f2f8f6..d75c1afa9e 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.8 +GO_VERSION = 1.20.9 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 16:00:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 18:00:13 +0200 Subject: [Buildroot] [git commit] package/go: security bump to version 1.21.2 Message-ID: <20231008160117.2F1C28435A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1316b4ef313cf5257a8cde39179b3e438f88318e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.21.2 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the runtime/metrics package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index be8af438b3..a2ec6b5923 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99 go1.21.1.src.tar.gz +sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 6f080be5c0..2c32e90817 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.1 +GO_VERSION = 1.21.2 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 15:59:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 17:59:22 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/{glibc, localedef}: security bump to version glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 Message-ID: <20231008160116.BBDF88435A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=03b44ac6d6a681e64cef2312187cccbd0b5b7958 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issues: CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index ab310498b8..2b8f49ea6b 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 7129dfadea29e8f20865186a7fdec3dc3e65d055a81dc8fc399189491bba493c glibc-2.37-43-g94ef70136587c40a357f775677997c753b3de56c.tar.gz +sha256 19d874f03dadbccaca8ae88a0e96d38435066badfe6ed606c2ad1e525454dece glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 666d9e4a8c..319028b058 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c +GLIBC_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index d368121a1a..18f040d7c2 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c +LOCALEDEF_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc From peter at korsgaard.com Sun Oct 8 16:11:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 18:11:51 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/go: security bump to version 1.20.9 In-Reply-To: <20231006095142.2051641-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 11:51:42 +0200") References: <20231006095142.2051641-1-peter@korsgaard.com> Message-ID: <87cyxpdrg8.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the > restrictions on "//go:cgo_" directives, allowing blocked linker and compiler > flags to be passed during compilation. This can result in unexpected > execution of arbitrary code when running "go build". > go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go > package, as well as bug fixes to the go command and the linker. > Signed-off-by: Peter Korsgaard Committed to 2023.08.x, thanks. I'll also bump 2023.02.x to this as 1.19.x no longer is getting updates. -- Bye, Peter Korsgaard From arnout at mind.be Sun Oct 8 18:16:37 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:16:37 +0200 Subject: [Buildroot] [PATCH 0/3 v4] system: add option to handle /var as an overlayfs with r/o rootfs (branch yem/systemdify-var) In-Reply-To: References: Message-ID: On 25/12/2022 23:08, Yann E. MORIN wrote: > Hello All! > > This three-patch series introduces an alternate option to handle /var as > an overlayfs, when using a read-only rootfs with systemd. > > The rationale behind wanting to use an overlayfs rather than the factory > we used to create so far, is that in some corner-cases, the factory does > not work, and can't easily be fixed (mesmerising hand-waving...), while > the overlayfs Just-Works? (at the expense of a little trickery at > runtime). > > This series would not have been entirely possible without the input from > Norbert, who provided the basis for the overlayfs-based solution, and > explanations on how things fit together in a systemd system. Thanks! > > Changes v3 -> v4: > - drop patches already applied > - split mounting the base tmpfs out of the service unit and into its > own .mount unit > - rename the service unit to a more appropriate name > - update explanations on hos to provide one's own backing store > instead of the tmpfs > > Changes v2 -> v3: > - introduce the overlayfs-based proposal from Norbert > - some rewording > - some typo fixes (yah, Yann being Yann being me...) > > Changes v1 -> v2: > - split Yann at work initial patch into the first two patch > - move the systemd-tmpfile handling to the skeleton > - introduce options to enable/disable factory or systemd-tmpfiles > > Regards, > Yann E. MORIN. > > > ---------------------------------------------------------------- > Yann E. MORIN (3): > system: introduce a choice for /var management > system: add option to use an overlayfs on /var on a r/o root w/ systemd > support/testing: add systemd tests for factory and overlayfs Series applied to master, thanks, with a number of modifications: On the overlayfs patch: - Merge commit messages from Yann and from Norbert. - Remove the run-buildroot-mounts-var.mount unit; instead, just reuse the existing tmpfs for the upper layer in the default case. - Update the help text to explain how to mount a custom upper layer with fstab. On the test patch: - use a simple mount unit for TestInitSystemSystemdRoFullOverlayfsVarBacking; - change the test of TestInitSystemSystemdRoFullOverlayfsVarBacking to check that the exact expected mount was performed; - add a test of var backing with fstab instead of mount unit. Regards, Arnout > > .../skeleton-init-systemd/{ => factory}/var.mount | 0 > .../overlayfs/prepare-var-overlay.service | 19 ++ > .../overlayfs/run-buildroot-mounts-var.mount | 12 ++ > package/skeleton-init-systemd/overlayfs/var.mount | 14 ++ > .../skeleton-init-systemd/skeleton-init-systemd.mk | 28 ++- > .../testing/conf/overlayfs-kernel-fragment.config | 1 + > .../run-buildroot-mounts-var.mount.d/base.conf | 2 + > support/testing/tests/init/test_systemd.py | 209 ++++++++++++++++++++- > system/Config.in | 48 ++++- > 9 files changed, 311 insertions(+), 22 deletions(-) > rename package/skeleton-init-systemd/{ => factory}/var.mount (100%) > create mode 100644 package/skeleton-init-systemd/overlayfs/prepare-var-overlay.service > create mode 100644 package/skeleton-init-systemd/overlayfs/run-buildroot-mounts-var.mount > create mode 100644 package/skeleton-init-systemd/overlayfs/var.mount > create mode 100644 support/testing/conf/overlayfs-kernel-fragment.config > create mode 100644 support/testing/tests/init/systemd-overlay/usr/lib/systemd/system/run-buildroot-mounts-var.mount.d/base.conf > From arnout at mind.be Sun Oct 8 18:11:59 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:11:59 +0200 Subject: [Buildroot] [git commit] system: introduce a choice for /var management Message-ID: <20231008182952.0D89C843A7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4c185a42fdad1b48f61286edf65421818d43fd79 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Currently, we have a single solution to handle the /var content on a read-only root filesystem, and users can opt out of using it. We're going to introduce another solution (based on an overlayfs), which is incompatible with using the factory, so we'll have a choice of three mutually exclusive options. Introduce that choice now with just the existing /var factory, and a new option to opt out of it. Signed-off-by: Yann E. MORIN Signed-off-by: Yann E. MORIN Cc: Norbert Lange Cc: Arnout Vandecappelle (Essensium/Mind) Cc: Romain Naour Cc : Je??re??my Rosen Acked-by: Norbert Lange Signed-off-by: Arnout Vandecappelle --- system/Config.in | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/system/Config.in b/system/Config.in index 24798dc068..c017d3797a 100644 --- a/system/Config.in +++ b/system/Config.in @@ -159,10 +159,16 @@ endchoice if BR2_INIT_SYSTEMD -config BR2_INIT_SYSTEMD_VAR_FACTORY - bool "build a factory to populate a tmpfs on /var" - default y # legacy +choice + bool "/var management" + default BR2_INIT_SYSTEMD_VAR_FACTORY # legacy depends on !BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW + help + Select how Buildroot provides a read-write /var when the + rootfs is not remounted read-write. + +config BR2_INIT_SYSTEMD_VAR_FACTORY + bool "build a factory to populate a tmpfs" help Build a factory of the content of /var as installed by packages, mount a tmpfs on /var at runtime, so that @@ -184,6 +190,16 @@ config BR2_INIT_SYSTEMD_VAR_FACTORY var.mount unit, that overrides the What and Type, and possibly the Options and After, fields. +config BR2_INIT_SYSTEMD_VAR_NONE + bool "do nothing" + help + Choose this if you have custom dispositions (like one or more + of a post-build script, a fakeroot script, systemd units, an + initramfs, or something else) that prepare /var to be writable + on a read-only rootfs. + +endchoice + config BR2_INIT_SYSTEMD_POPULATE_TMPFILES bool "trigger systemd-tmpfiles during build" default y # legacy From arnout at mind.be Sun Oct 8 18:15:13 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:15:13 +0200 Subject: [Buildroot] [git commit] support/testing: add systemd tests for factory and overlayfs Message-ID: <20231008182952.253DD843AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=083e65a67c84f83a3403c92c51d89f8c94907c55 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Yann E. MORIN [Arnout: - use a simple mount unit for TestInitSystemSystemdRoFullOverlayfsVarBacking; - change the test of TestInitSystemSystemdRoFullOverlayfsVarBacking to check that the exact expected mount was performed; - add a test of var backing with fstab instead of mount unit. ] Signed-off-by: Arnout Vandecappelle --- .../testing/conf/overlayfs-kernel-fragment.config | 1 + .../systemd/system/run-buildroot-mounts-var.mount | 13 ++ support/testing/tests/init/test_systemd.py | 233 ++++++++++++++++++++- 3 files changed, 238 insertions(+), 9 deletions(-) diff --git a/support/testing/conf/overlayfs-kernel-fragment.config b/support/testing/conf/overlayfs-kernel-fragment.config new file mode 100644 index 0000000000..9122238993 --- /dev/null +++ b/support/testing/conf/overlayfs-kernel-fragment.config @@ -0,0 +1 @@ +CONFIG_OVERLAY_FS=y diff --git a/support/testing/tests/init/systemd-overlay-mount-unit/usr/lib/systemd/system/run-buildroot-mounts-var.mount b/support/testing/tests/init/systemd-overlay-mount-unit/usr/lib/systemd/system/run-buildroot-mounts-var.mount new file mode 100644 index 0000000000..520cd6d9da --- /dev/null +++ b/support/testing/tests/init/systemd-overlay-mount-unit/usr/lib/systemd/system/run-buildroot-mounts-var.mount @@ -0,0 +1,13 @@ +[Unit] +Description=Variable permanent storage overlay +ConditionPathIsSymbolicLink=!/var +DefaultDependencies=no +After=local-fs-pre.target + +[Mount] +# Rather than creating an actual writable partition, we just create +# another tmpfs. For tmpfs, the What is not relevant - but we use it in +# the test to distinguish it from other tmpfses +What=other-var-backing-store +Where=/run/buildroot/mounts/var +Type=tmpfs diff --git a/support/testing/tests/init/test_systemd.py b/support/testing/tests/init/test_systemd.py index ddc32b0838..79061a86d7 100644 --- a/support/testing/tests/init/test_systemd.py +++ b/support/testing/tests/init/test_systemd.py @@ -1,7 +1,15 @@ import infra.basetest +import re from tests.init.base import InitSystemBase as InitSystemBase +# In the following tests, the read-only cases use the default settings, +# which historically used both a factory to populate a tmpfs on /var, +# and pre-populated /var at buildtime. Since these are the default +# settings, and they proved to generate a system that ultimately boots, +# we still want to keep testing that. See later, below, for the +# specialised test cases. + class InitSystemSystemdBase(InitSystemBase): config = \ """ @@ -17,7 +25,10 @@ class InitSystemSystemdBase(InitSystemBase): """ def check_systemd(self, fs): - self.start_emulator(fs) + if "BR2_LINUX_KERNEL=y" in self.config: + self.start_emulator(fs, "zImage", "vexpress-v2p-ca9") + else: + self.start_emulator(fs) self.check_init("/lib/systemd/systemd") # Test all units are OK @@ -40,19 +51,12 @@ class TestInitSystemSystemdRoNetworkd(InitSystemSystemdBase): """ BR2_SYSTEM_DHCP="eth0" # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set - BR2_ROOTFS_OVERLAY="{}" BR2_TARGET_ROOTFS_SQUASHFS=y - """.format(infra.filepath("tests/init/systemd-factory")) + """ def test_run(self): self.check_systemd("squashfs") - # This one must be executed on the target, to check that - # the factory feature works as expected - out, exit_code = self.emulator.run("cat /var/foo/bar") - self.assertEqual(exit_code, 0) - self.assertEqual(out[0], "foobar") - class TestInitSystemSystemdRwNetworkd(InitSystemSystemdBase): config = InitSystemSystemdBase.config + \ @@ -191,3 +195,214 @@ class TestInitSystemSystemdRwFull(InitSystemSystemdBase): def test_run(self): self.check_systemd("ext2") + + +# The following tests are all about read-only rootfs, and exercise either +# using an un-populated factory for /var, or an overlaysfs ontop of a +# pre-populated /var. They all specialise the TestInitSystemSystemdRo* +# test cases above. + + +# Helper class for factory-based tests +class InitSystemSystemdBaseFactory(): + config = \ + """ + # BR2_INIT_SYSTEMD_POPULATE_TMPFILES is not set + BR2_ROOTFS_OVERLAY="{}" + """.format(infra.filepath("tests/init/systemd-factory")) + + def test_run(self): + super().test_run() + + # This one must be executed on the target, to check that + # the factory feature works as expected + out, exit_code = self.emulator.run("cat /var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "foobar") + + # /var/foo/bar is from the /var factory + _, exit_code = self.emulator.run("test -e /usr/share/factory/var/foo/bar") + self.assertEqual(exit_code, 0) + + # We can write in /var/foo/bar + _, exit_code = self.emulator.run("echo barfoo >/var/foo/bar") + self.assertEqual(exit_code, 0) + # ... and it contains the new content + out, exit_code = self.emulator.run("cat /var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "barfoo") + # ... but the factory is umodified + out, exit_code = self.emulator.run("cat /usr/share/factory/var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "foobar") + + +class TestInitSystemSystemdRoNetworkdFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoNetworkd, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoNetworkd.config + + +class TestInitSystemSystemdRoIfupdownFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoIfupdown, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoIfupdown.config + + +class TestInitSystemSystemdRoIfupdownDbusbrokerFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoIfupdownDbusbroker, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoIfupdownDbusbroker.config + + +class TestInitSystemSystemdRoIfupdownDbusbrokerDbusFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoIfupdownDbusbrokerDbus, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoIfupdownDbusbrokerDbus.config + + +class TestInitSystemSystemdRoFullFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoFull, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoFull.config + + +# Helper class for overlayfs-based tests +class InitSystemSystemdBaseOverlayfs(): + config = \ + """ + # BR2_INIT_SYSTEMD_VAR_FACTORY is not set + BR2_INIT_SYSTEMD_VAR_OVERLAYFS=y + BR2_ROOTFS_OVERLAY="{}" + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" + BR2_LINUX_KERNEL_DTS_SUPPORT=y + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + """.format(infra.filepath("tests/init/systemd-factory"), + infra.filepath("conf/overlayfs-kernel-fragment.config")) + + def test_run(self): + super().test_run() + + # This one must be executed on the target, to check that + # the tmpfiles pre-populate works as expected + out, exit_code = self.emulator.run("cat /var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "foobar") + + # /var/foo/bar is from the pre-populated /var, so it should + # not be present in the upper of the overlay + _, exit_code = self.emulator.run("test -e /run/buildroot/mounts/var/upper/foo/bar") + self.assertNotEqual(exit_code, 0) + + # We can write in /var/foo/bar + _, exit_code = self.emulator.run("echo barfoo >/var/foo/bar") + self.assertEqual(exit_code, 0) + # ... and it contains the new content + out, exit_code = self.emulator.run("cat /var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "barfoo") + # ... and it to appears in the upper + _, exit_code = self.emulator.run("test -e /run/buildroot/mounts/var/upper/foo/bar") + self.assertEqual(exit_code, 0) + # ... with the new content + out, exit_code = self.emulator.run("cat /run/buildroot/mounts/var/upper/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "barfoo") + # ... while the lower still has the oldcontent + out, exit_code = self.emulator.run("cat /run/buildroot/mounts/var/lower/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "foobar") + + +class TestInitSystemSystemdRoNetworkdOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoNetworkd, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoNetworkd.config + + +class TestInitSystemSystemdRoIfupdownOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoIfupdown, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoIfupdown.config + + +class TestInitSystemSystemdRoIfupdownDbusbrokerOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoIfupdownDbusbroker, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoIfupdownDbusbroker.config + + +class TestInitSystemSystemdRoIfupdownDbusbrokerDbusOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoIfupdownDbusbrokerDbus, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoIfupdownDbusbrokerDbus.config + + +class TestInitSystemSystemdRoFullOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoFull, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoFull.config + + +class InitSystemSystemdBaseOverlayfsVarBacking(InitSystemBase): + @classmethod + def gen_config(cls, overlaydir: str) -> str: + return re.sub( + r'^\s*BR2_ROOTFS_OVERLAY="(.*)"$', + 'BR2_ROOTFS_OVERLAY="\\1 {}"'.format(infra.filepath(overlaydir)), + TestInitSystemSystemdRoFullOverlayfs.config, + flags=re.MULTILINE, + ) + + def check_var_mounted(self): + self.assertRunOk("grep '^other-var-backing-store /run/buildroot/mounts/var tmpfs' /proc/mounts") + + +class TestInitSystemSystemdRoFullOverlayfsVarBackingMountUnit( + TestInitSystemSystemdRoFullOverlayfs, + InitSystemSystemdBaseOverlayfsVarBacking, +): + config = InitSystemSystemdBaseOverlayfsVarBacking.gen_config( + 'tests/init/systemd-overlay-mount-unit', + ) + + def test_run(self): + super().test_run() + self.check_var_mounted() + + +class TestInitSystemSystemdRoFullOverlayfsVarBackingFstab( + TestInitSystemSystemdRoFullOverlayfs, + InitSystemSystemdBaseOverlayfsVarBacking, +): + config = InitSystemSystemdBaseOverlayfsVarBacking.gen_config( + 'tests/init/systemd-overlay-fstab', + ) + + def test_run(self): + super().test_run() + self.check_var_mounted() From arnout at mind.be Sun Oct 8 18:12:01 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:12:01 +0200 Subject: [Buildroot] [git commit] package/skeleton-init-systemd: add option to use overlayfs on /var Message-ID: <20231008182952.19FAC843A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=10c637ab06d935bbce4c833c4ab9695cdb32b6c8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Systemd requires /var to be writeable [1]. With read-only rootfs, we need a solution that makes sure /var is writeable. We already have a solution using a factory, with systemd-tmpfiles. This approach has a few limitations: - The behaviour of what happens when the rootfs is updated and the contents of the factory /var changes are not very intuitive. - systemd-tmpfiles is not started super early in the boot, so there's a relatively long time that /var is not writeable. There is also no easy way in systemd to express dependencies on the subdirectories of /var to have been populated from the factory. - The contents of /var is duplicated. If it is big, the rootfs size increases unnecessarily and it takes a long time before the copying is done. This is also not done atomically. This commit adds an alternative using an overlay filesystem that has the following characteristics: - Don't depend on anything being available, except the API File Systems [2]. In other words, this can be done very early in the boot process. This is useful because /var is meant to be available before normal and even some early services are running. - Be a clean drop-in, that can be trivially added / removed. - Make sure that overlayfs is available in the kernel. - Units are (partially) reusable for custom solutions. This goal is actually not fully reached yet: for that the service file should be converted into a template, and the mount unit should use a specifier for all repeated references to /var. Mounting the overlay is slightly acrobatic and requires a few steps: - First, we have to make sure the directories for overlayfs's upper, lower and work directories are available on a tmpfs. Note that "upper" and "work" must be on the same filesystem. - The writeable overlay upper directory must be mounted. - The original contents of /var must be bind-mounted to the overlay lower directory. - Finally, the overlay must be mounted on /var. For the overlayfs directories, we create a tree on /run. Since there is no standard name convention for this, we create a new directory "/run/buildroot" with subdirectory "mounts" for everything mount-related. Below that, a subdirectory is created for every mount point that needs helper directories. Thus, we arrive to /run/buildroot/mounts/var as the base directory for the overlay. Below this, the directories lower, upper and work are created. The bind-mount of /var is done in the same service as the one creating the overlay lower, upper and work directories. Creating those directories can't be done in a mount unit, and bind-mounting /var in a mount unit would create a circular dependency. Indeed, if we had a mount unit to do the bind mount, then it sould look like: # run-buildroot-mounts-var-lower.mount [Mount] What=/var Where=/run/buildroot/mounts/var/lower Options=bind and then the var.mount unit would need to have a dependency on that unit: # var.mount [Unit] After=run-buildroot-mounts-var-lower.mount [Mount] Where=/var However, the What=/var of the first unit automatically adds an implicit dependency on /var, and since there is a unit providing Where=/var, we would have run-buildroot-mounts-var-lower.mount depend on var.mount, but we need var.mount to depend on run-buildroot-mounts-var-lower.mount, so this is a circular dependency. There is no way to tell systemd no to add the implicit dependency. So we do the bind mont manually in the service unit that prepares the overlay structure. For the writeable upper layer, we don't need to do anything. In the default configuration, the upper layer is supposed to be a tmpfs, and /run/buildroot/mounts/var/upper is already a tmpfs so it can serve as is. To make it persistent, we suggest to the user to mount a writeable, persistent filesystem on /run/buildroot/mounts/var. The RequiresMountsFor dependency in the prepare-var-overlay service makes sure that that mount is performed before the overlay is started. Using /run/buildroot/mounts/var/upper as the mount point sounds more logical at first, but since the work directory is supposed to be on the same filesystem as the upper directory, this wouldn't work very well. As example, consider using /dev/sdc1 as upper layer for var, this can be achieved by adding the following line to fstab: /dev/sdc1 /run/buildroot/mounts/var ext4 defaults Systemd will convert this into a mount unit with all the proper dependencies. Norbert provided some systemd units as a starting point, and that was quite a huge help in understanding how to fit all those things together. [1] - https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems/ Co-authored-by: Norbert Lange Signed-off-by: Yann E. MORIN Cc: Norbert Lange Cc: Romain Naour Cc: Je??re??my Rosen Signed-off-by: Yann E. MORIN [Arnout: - Merge commit messages from Yann and from Norbert. - Remove the run-buildroot-mounts-var.mount unit; instead, just reuse the existing tmpfs for the upper layer in the default case. - Update the help text to explain how to mount a custom upper layer with fstab. ] Signed-off-by: Arnout Vandecappelle --- .../skeleton-init-systemd/{ => factory}/var.mount | 0 .../overlayfs/prepare-var-overlay.service | 19 ++++++++++++++++ package/skeleton-init-systemd/overlayfs/var.mount | 14 ++++++++++++ .../skeleton-init-systemd/skeleton-init-systemd.mk | 25 ++++++++++++++++++--- system/Config.in | 26 ++++++++++++++++------ 5 files changed, 74 insertions(+), 10 deletions(-) diff --git a/package/skeleton-init-systemd/var.mount b/package/skeleton-init-systemd/factory/var.mount similarity index 100% rename from package/skeleton-init-systemd/var.mount rename to package/skeleton-init-systemd/factory/var.mount diff --git a/package/skeleton-init-systemd/overlayfs/prepare-var-overlay.service b/package/skeleton-init-systemd/overlayfs/prepare-var-overlay.service new file mode 100644 index 0000000000..281aa0efb5 --- /dev/null +++ b/package/skeleton-init-systemd/overlayfs/prepare-var-overlay.service @@ -0,0 +1,19 @@ +[Unit] +Description=Variable storage overlay setup +ConditionPathIsSymbolicLink=!/var +DefaultDependencies=no +RequiresMountsFor=/run/buildroot/mounts/var + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/mkdir -p /run/buildroot/mounts/var/lower /run/buildroot/mounts/var/upper /run/buildroot/mounts/var/work + +# Ideally, we would like to use a systemd mount unit to manage the bind +# mount. Unfortunately, that creates a circular dependency: such a unit +# would have What=/var while var.mount has Where=/var so that introduces +# an implicit dependency from that unit to var.mount, but var.mount +# would have an explicit dependency to be ordered after that unit. +# So we handle the bind mount manually. +ExecStart=/usr/bin/mount -n -o bind,private /var /run/buildroot/mounts/var/lower +ExecStop=/usr/bin/umount -l /run/buildroot/mounts/var/lower diff --git a/package/skeleton-init-systemd/overlayfs/var.mount b/package/skeleton-init-systemd/overlayfs/var.mount new file mode 100644 index 0000000000..812e6ce7bf --- /dev/null +++ b/package/skeleton-init-systemd/overlayfs/var.mount @@ -0,0 +1,14 @@ +[Unit] +Description=Variable storage overlay +Documentation=man:file-hierarchy(7) +ConditionPathIsSymbolicLink=!/var +DefaultDependencies=no +After=prepare-var-overlay.service +BindsTo=prepare-var-overlay.service + +[Mount] +What=overlay_var +Where=/var +Type=overlay +Options=lowerdir=/run/buildroot/mounts/var/lower,upperdir=/run/buildroot/mounts/var/upper,workdir=/run/buildroot/mounts/var/work,redirect_dir=on,index=on,xino=on +LazyUnmount=true diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk index fb15552f99..b312fe33e4 100644 --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk @@ -33,7 +33,7 @@ endef # a real (but empty) directory, and the "factory files" will be copied # back there by the tmpfiles.d mechanism. ifeq ($(BR2_INIT_SYSTEMD_VAR_FACTORY),y) -define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR +define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR_FACTORY rm -rf $(TARGET_DIR)/usr/share/factory/var mv $(TARGET_DIR)/var $(TARGET_DIR)/usr/share/factory/var mkdir -p $(TARGET_DIR)/var @@ -52,11 +52,30 @@ define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR || exit 1; \ fi; \ done >$(TARGET_DIR)/usr/lib/tmpfiles.d/00-buildroot-var.conf - $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/var.mount \ + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/factory/var.mount \ $(TARGET_DIR)/usr/lib/systemd/system/var.mount endef -SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR +SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR_FACTORY endif # BR2_INIT_SYSTEMD_VAR_FACTORY + +ifeq ($(BR2_INIT_SYSTEMD_VAR_OVERLAYFS),y) + +define SKELETON_INIT_SYSTEMD_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS) +endef + +define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR_OVERLAYFS + $(INSTALL) -D -m 0644 \ + $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/prepare-var-overlay.service \ + $(TARGET_DIR)/usr/lib/systemd/system/prepare-var-overlay.service + $(INSTALL) -D -m 0644 \ + $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/var.mount \ + $(TARGET_DIR)/usr/lib/systemd/system/var.mount +endef +SKELETON_INIT_SYSTEMD_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR_OVERLAYFS + +endif # BR2_INIT_SYSTEMD_VAR_OVERLAYFS + endif # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW ifeq ($(BR2_INIT_SYSTEMD_POPULATE_TMPFILES),y) diff --git a/system/Config.in b/system/Config.in index c017d3797a..25485c2486 100644 --- a/system/Config.in +++ b/system/Config.in @@ -167,6 +167,14 @@ choice Select how Buildroot provides a read-write /var when the rootfs is not remounted read-write. + Note: Buildroot uses a tmpfs, either as a mount point or as + the upper of an overlayfs, so as to at least make the system + bootable out of the box; mounting a filesystem from actual + storage is left to the integration, as it is too specific and + may need preparatory work like partitionning a device and/or + formatting a filesystem first, which falls out of the scope + of Buildroot. + config BR2_INIT_SYSTEMD_VAR_FACTORY bool "build a factory to populate a tmpfs" help @@ -179,17 +187,21 @@ config BR2_INIT_SYSTEMD_VAR_FACTORY It probably does not play very well with triggering a call to systemd-tmpfiles at build time (below). - Note: Buildroot mounts a tmpfs on /var to at least make the - system bootable out of the box; mounting a filesystem from - actual storage is left to the integration, as it is too - specific and may need preparatory work like partitionning a - device and/or formatting a filesystem first, so that falls - out of the scope of Buildroot. - To use persistent storage, provide a systemd dropin for the var.mount unit, that overrides the What and Type, and possibly the Options and After, fields. +config BR2_INIT_SYSTEMD_VAR_OVERLAYFS + bool "mount an overlayfs backed by a tmpfs" + select BR2_INIT_SYSTEMD_POPULATE_TMPFILES + help + Mount an overlayfs on /var, with the upper as a tmpfs. + + To use a persistent storage, provide either a mount unit or a + fstab line to mount it on /run/buildroot/mounts/var, e.g. + + /dev/sdc1 /run/buildroot/mounts/var ext4 defaults + config BR2_INIT_SYSTEMD_VAR_NONE bool "do nothing" help From arnout at mind.be Sun Oct 8 18:37:35 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:37:35 +0200 Subject: [Buildroot] [PATCH 2/7] system: add overlayfs option for ro /var In-Reply-To: <20230115125253.280257-3-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-3-nolange79@gmail.com> Message-ID: <6cd42e77-43f4-7faf-37db-e987dc139af1@mind.be> Hi Norbert, On 15/01/2023 13:52, Norbert Lange wrote: > This commit adds an alternative that has the following characteristics: > > - Dont depend on anything being available, except the > API File Systems [1]. > > As /var is meant to be available before normal and even some early > services are running. > > - Be a clean drop-in, that can be trivially added / removed. > > - Depend on overlayfs being available in the kernel. > > - Units are supposed to be reusable for custom solutions. [snip] > > Cc: Yann E. MORIN > Cc: Romain Naour > Cc: Je?re?my Rosen > Signed-off-by: Norbert Lange In the end, I ended up applying Yann's v4 instead, with a few more modifications, as reported in that thread. I did take inspiration from this patch - mostly from the commit message. For your information, I'll give some feedback on this patch as well. > --- > .../overlayfs/br-bindmount-run at .service | 26 +++++++++++++++++++ > .../overlayfs/br-overlay-prepare at .service | 26 +++++++++++++++++++ > .../overlayfs/overlay.mount.in | 16 ++++++++++++ > .../skeleton-init-systemd.mk | 17 ++++++++++++ > system/Config.in | 13 ++++++++++ > 5 files changed, 98 insertions(+) > create mode 100644 package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > create mode 100644 package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > create mode 100644 package/skeleton-init-systemd/overlayfs/overlay.mount.in > > diff --git a/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service b/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > new file mode 100644 > index 0000000000..ce944efd92 > --- /dev/null > +++ b/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > @@ -0,0 +1,26 @@ > +[Unit] > +Description=Bind-mount rootfs directory (/%I) to /run > +Documentation=man:file-hierarchy(7) > +ConditionPathIsSymbolicLink=!/%I > +DefaultDependencies=no > +Conflicts=umount.target > +Before=umount.target > + > +# Needs to run after rootfs is properly mounted > +# and before regular mounts might interfere. > +After=systemd-remount-fs.service > +Before=local-fs-pre.target > + > +[Service] > +Type=oneshot > +RemainAfterExit=yes > +# dont fail if common dirs already exist > +ExecStartPre=/bin/mkdir -m755 -p /run/.br There's no reason to make it a hidden directory. Also, there is no reason to abbreviate the directory name so much. > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/bnd I don't see why it's useful to have a separate base directory for bind mounts. When you do a bind mount like this, it's always for a very specific purpose - not always for an overlay, but in any case, it makes more sense to mount on a mount point that is more related to the sepecific purpose. For the overlay case, it's very convenient to have everything that the overlay builds on next to each other, i.e. lower, upper, work. > + > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/bnd/%I > +ExecStart=/bin/mount --make-private -n --bind -o ro /%I /run/.br/bnd/%I > + > +# lazy unmount, dont block shutdown under any circumstances > +ExecStop=/bin/umount -n -l /run/.br/bnd/%I > +ExecStopPost=-/bin/rmdir /run/.br/bnd/%I > diff --git a/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service b/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > new file mode 100644 > index 0000000000..86b32900dd > --- /dev/null > +++ b/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > @@ -0,0 +1,26 @@ > +[Unit] > +Description=Mount and prepare tmpfs for overlay (/%I) > +Documentation=man:file-hierarchy(7) > +ConditionPathIsSymbolicLink=!/%I > +DefaultDependencies=no > +Conflicts=umount.target > +Before=local-fs.target umount.target > +# prepare for systemd mount units aswell > +RequiresMountsFor=/run/.br/ovl/%I > + > +[Service] > +Environment="OVERLAY_DIR=/run/.br/ovl/%I" > +Type=oneshot > +RemainAfterExit=yes > +# dont fail if common dirs already exist > +ExecStartPre=/bin/mkdir -m755 -p /run/.br > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/ovl I'm not sure if there's a good reason to make this mode 700 instead of the default 755. If there is a good reason, I'd accept a patch that modifies the prepare-var-overlay.service that I ended up applying. > +ExecStartPre=/bin/mkdir -m700 -p ${OVERLAY_DIR} > +# Create an override and edit this line for customization > +ExecStart=/bin/mount --make-private -n -t tmpfs tmpfs_br_ovl ${OVERLAY_DIR} There is in fact no reason to mount anything here - /run is already a tmpfs with all the required properties. We can just reuse it. > +ExecStartPost=/bin/mkdir -p ${OVERLAY_DIR}/up ${OVERLAY_DIR}/wd > + > +# lazy unmount, dont block shutdown under any circumstances > +ExecStop=/bin/umount -n -l ${OVERLAY_DIR} > +ExecStopPost=/bin/rmdir ${OVERLAY_DIR} > diff --git a/package/skeleton-init-systemd/overlayfs/overlay.mount.in b/package/skeleton-init-systemd/overlayfs/overlay.mount.in > new file mode 100644 > index 0000000000..84f4d9ee47 > --- /dev/null > +++ b/package/skeleton-init-systemd/overlayfs/overlay.mount.in > @@ -0,0 +1,16 @@ > +[Unit] > +Description=Variable storage (/@PATH@) > +Documentation=man:file-hierarchy(7) > +ConditionPathIsSymbolicLink=!/@PATH@ There's too much @PATH@ here. I actually think we can completely avoid it by using %p or %P as appropriate everywhere. I think that that way, we can indeed reuse both the overlay.mount.in and prepare-var-overlay at .service for other overlays. I unfortunately didn't have time to implement and test that, so instead I committed it without the %p/%P and without a template service. If you end up implementing it as a template, please make sure to also include a runtime test for it, e.g. with /etc as the overlay. Or even better something deeper - for the test it could be something silly, like /usr/share. > + > +After=br-bindmount-run@@PATH at .service > +Requires=br-bindmount-run@@PATH at .service > + > +After=br-overlay-prepare@@PATH at .service > +BindsTo=br-overlay-prepare@@PATH at .service > + > +[Mount] > +Type=overlay > +What=br_ovl_ at PATH@ > +Where=/@PATH@ > +Options=redirect_dir=on,index=on,xino=on,lowerdir=/run/.br/bnd/@PATH@,upperdir=/run/.br/ovl/@PATH@/up,workdir=/run/.br/ovl/@PATH@/wd > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index fb15552f99..ad529cddf6 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -57,6 +57,23 @@ define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR > endef > SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR > endif # BR2_INIT_SYSTEMD_VAR_FACTORY > + > +ifeq ($(BR2_INIT_SYSTEMD_VAR_OVERLAYFS),y) > +define SKELETON_INIT_SYSTEMD_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS) > +endef > +define SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > + sed 's, at PATH@,var,g' $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/overlay.mount.in >$(@D)/var.mount > + $(INSTALL) -D -m 0644 $(@D)/var.mount $(TARGET_DIR)/usr/lib/systemd/system/var.mount > + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-bindmount-run at .service \ > + $(TARGET_DIR)/usr/lib/systemd/system/br-bindmount-run at .service > + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-overlay-prepare at .service \ > + $(TARGET_DIR)/usr/lib/systemd/system/br-overlay-prepare at .service If it's templates, they can actually be installed independently of the BR2_INIT_SYSTEMD_VAR_OVERLAYFS option - maybe you want to use a factory for /var but an overlay for /etc... I've marked this patch as Superseded (because I took Yann's v4). The rest of the series I'll look at later. Regards, Arnout > + # /var mount gets pulled in automatically by basic.target > +endef > +SKELETON_INIT_SYSTEMD_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > +endif # BR2_INIT_SYSTEMD_VAR_OVERLAYFS > + > endif # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW > > ifeq ($(BR2_INIT_SYSTEMD_POPULATE_TMPFILES),y) > diff --git a/system/Config.in b/system/Config.in > index 87df031545..cdf383d0d4 100644 > --- a/system/Config.in > +++ b/system/Config.in > @@ -187,6 +187,19 @@ config BR2_INIT_SYSTEMD_VAR_FACTORY > var.mount unit, that overrides the What and Type, and possibly > the Options and After, fields. > > +config BR2_INIT_SYSTEMD_VAR_OVERLAYFS > + bool "mount an overlayfs backed by a tmpfs" > + help > + Mount an overlayfs on /var, with the upper as a tmpfs. > + > + You can customize the backing storage with an override, for > + ecample create this file and add the content following: > + /lib/systemd/system/br-overlay-prepare at var.service.d/mount.conf > + > + [Service] > + ExecStart= > + ExecStart=/bin/mount --make-private -n /dev/sdc1 ${OVERLAY_DIR} > + > config BR2_INIT_SYSTEMD_VAR_NONE > bool "do nothing" > help From christian at aperture.us Sun Oct 8 19:23:36 2023 From: christian at aperture.us (Christian Stewart) Date: Sun, 8 Oct 2023 12:23:36 -0700 Subject: [Buildroot] [PATCH-2023.08.x] package/go: security bump to version 1.20.9 In-Reply-To: <87cyxpdrg8.fsf@48ers.dk> References: <20231006095142.2051641-1-peter@korsgaard.com> <87cyxpdrg8.fsf@48ers.dk> Message-ID: Hi Peter, On Sun, Oct 8, 2023, 9:12 AM Peter Korsgaard wrote: > >>>>> "Peter" == Peter Korsgaard writes: > > > Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass > the > > restrictions on "//go:cgo_" directives, allowing blocked linker and > compiler > > flags to be passed during compilation. This can result in unexpected > > execution of arbitrary code when running "go build". > > > go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go > > package, as well as bug fixes to the go command and the linker. > > > Signed-off-by: Peter Korsgaard > > Committed to 2023.08.x, thanks. > > I'll also bump 2023.02.x to this as 1.19.x no longer is getting updates. > Please also note that the bump from 1.19 to 1.20 requires the additional bootstrap packages. Best, Christian Stewart > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at korsgaard.com Sun Oct 8 19:33:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 21:33:13 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/go: security bump to version 1.20.9 In-Reply-To: (Christian Stewart's message of "Sun, 8 Oct 2023 12:23:36 -0700") References: <20231006095142.2051641-1-peter@korsgaard.com> <87cyxpdrg8.fsf@48ers.dk> Message-ID: <874jj0ewp2.fsf@48ers.dk> >>>>> "Christian" == Christian Stewart writes: Hello, >> I'll also bump 2023.02.x to this as 1.19.x no longer is getting updates. >> > Please also note that the bump from 1.19 to 1.20 requires the additional > bootstrap packages. Thanks, but yes - Indeed. A bit unfortunate, but that's just how it is. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Oct 8 21:26:43 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 8 Oct 2023 23:26:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/libebml: bump to version 1.4.4 Message-ID: <20231008212643.67946-1-fontaine.fabrice@gmail.com> - Drop patch (already in version) - C++14 is required since https://github.com/Matroska-Org/libebml/commit/4159caf84c18f64137e6cdb5f15c5e76d0bb0976 https://github.com/Matroska-Org/libebml/blob/release-1.4.4/NEWS.md Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 1 - ...-header-files-for-std-numeric_limits.patch | 40 ------------------- package/libebml/Config.in | 6 ++- package/libebml/libebml.hash | 2 +- package/libebml/libebml.mk | 2 +- package/libmatroska/Config.in | 6 ++- 6 files changed, 10 insertions(+), 47 deletions(-) delete mode 100644 package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch diff --git a/.checkpackageignore b/.checkpackageignore index 0e8e5921ce..21a1009a1b 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -650,7 +650,6 @@ package/libdnet/0001-python-makefile.patch Upstream package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch Upstream package/libdvbcsa/0001-altivec-powerpc64.patch Upstream package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch Upstream -package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch Upstream package/libedit/0001-check-bsd-functions-in-libbsd.patch Upstream package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch Upstream package/libfcgi/0001-link-against-math.patch Upstream diff --git a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch b/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch deleted file mode 100644 index c7e789c02e..0000000000 --- a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch +++ /dev/null @@ -1,40 +0,0 @@ -From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001 -From: Moritz Bunkus -Date: Sat, 27 Feb 2021 20:36:52 +0100 -Subject: [PATCH] include appropriate header files for std::numeric_limits - -Fixes #80. - -[Retrieved (and updated to remove ChangeLog update) from: -https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806] -Signed-off-by: Fabrice Fontaine ---- - ChangeLog | 4 ++++ - src/EbmlString.cpp | 1 + - src/EbmlUnicodeString.cpp | 1 + - 3 files changed, 6 insertions(+) - -diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp -index 27e55fd..4c05fcf 100644 ---- a/src/EbmlString.cpp -+++ b/src/EbmlString.cpp -@@ -34,6 +34,7 @@ - \author Steve Lhomme - */ - #include -+#include - - #include "ebml/EbmlString.h" - -diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp -index 496a16a..99fc073 100644 ---- a/src/EbmlUnicodeString.cpp -+++ b/src/EbmlUnicodeString.cpp -@@ -36,6 +36,7 @@ - */ - - #include -+#include - - #include "ebml/EbmlUnicodeString.h" - diff --git a/package/libebml/Config.in b/package/libebml/Config.in index a00b894358..b770154af7 100644 --- a/package/libebml/Config.in +++ b/package/libebml/Config.in @@ -2,11 +2,13 @@ config BR2_PACKAGE_LIBEBML bool "libebml" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 help Access library for the EBML (Extensible Binary Meta Language, a binary derivative of XML) format. http://matroska.org -comment "libebml needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR +comment "libebml needs a toolchain w/ C++, wchar, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/libebml/libebml.hash b/package/libebml/libebml.hash index 32ca1e3dd3..c83fde32ab 100644 --- a/package/libebml/libebml.hash +++ b/package/libebml/libebml.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 41c7237ce05828fb220f62086018b080af4db4bb142f31bec0022c925889b9f2 libebml-1.4.2.tar.xz +sha256 82dc5f83356cc9340aee76ed7512210b3a4edf5f346bc9c2c7044f55052687a7 libebml-1.4.4.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL diff --git a/package/libebml/libebml.mk b/package/libebml/libebml.mk index 056cf888e1..c85638c03e 100644 --- a/package/libebml/libebml.mk +++ b/package/libebml/libebml.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBEBML_VERSION = 1.4.2 +LIBEBML_VERSION = 1.4.4 LIBEBML_SOURCE = libebml-$(LIBEBML_VERSION).tar.xz LIBEBML_SITE = http://dl.matroska.org/downloads/libebml LIBEBML_INSTALL_STAGING = YES diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in index ec0e8415d7..b2e4354df5 100644 --- a/package/libmatroska/Config.in +++ b/package/libmatroska/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA bool "libmatroska" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml select BR2_PACKAGE_LIBEBML help Extensible open standard audio/video container format access @@ -9,5 +10,6 @@ config BR2_PACKAGE_LIBMATROSKA http://matroska.org -comment "libmatroska needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR +comment "libmatroska needs a toolchain w/ C++, wchar, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 -- 2.40.1 From peter at korsgaard.com Sun Oct 8 21:17:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:40 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: security bump to version 1.20.8 Message-ID: <20231008212753.47067843FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dadc84b7c9952f1c0b1c9b1b680db6ccf0c6c6b3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x go1.20.8 (released 2023-09-06) includes two security fixes to the html/template package, as well as bug fixes to the compiler, the go command, the runtime, and the crypto/tls, go/types, net/http, and path/filepath packages. CVE-2023-39318: html/template: improper handling of HTML-like comments within script contexts CVE-2023-39319: html/template: improper handling of special tags within script contexts CVE-2023-39321: crypto/tls: panic when processing post-handshake message on QUIC connections https://go.dev/doc/devel/release#go1.20.0 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard (cherry picked from commit 2b72f1d1676afc330b4f94431b7914817c796bb3) Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 2298534d91..19405982ba 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597 go1.20.7.src.tar.gz +sha256 38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e go1.20.8.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index fc1d9ed681..c1e9f2f8f6 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.7 +GO_VERSION = 1.20.8 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 21:17:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:39 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: security bump to v1.20.7 Message-ID: <20231008212753.3E96D843F9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b6a17127cbe62873b0b63029ffcf1781b51a8ab3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x go1.20.7 (released 2023-08-01) includes a security fix to the crypto/tls package, as well as bug fixes to the assembler and the compiler. Fixes CVE-2023-29409: restrict RSA keys in certificates to <= 8192 bits Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. Limit this by restricting the size of RSA keys transmitted during handshakes to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable. https://go.dev/doc/devel/release#go1.20.7 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit ee7179497bbdd1b44c8d2dd6dbfa0ac4c234567d) Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 135d1ad37b..2298534d91 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 62ee5bc6fb55b8bae8f705e0cb8df86d6453626b4ecf93279e2867092e0b7f70 go1.20.6.src.tar.gz +sha256 2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597 go1.20.7.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index efa47e5781..fc1d9ed681 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.6 +GO_VERSION = 1.20.7 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 21:17:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:37 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go-bootstrap-stage2: bump version to 1.19.11 Message-ID: <20231008212753.1F9D2843FD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8943eb4a309fae575c2845cf0ec488746badb041 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x While it's not strictly necessary to update go-bootstrap-stage2, we can continue to update the package to the latest 1.19.x until Go 1.19.x is discontinued, at which point we can leave it at the final 1.19.x version. This package is only used when bootstrapping host-go. go1.19.11 includes a security fix to the net/http package, as well as bug fixes to cgo, the cover tool, the go command, the runtime, and the go/printer package. https://go.dev/doc/devel/release#go1.19.minor Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit df5fd7dec45eb26a2ac97c494cf1904123e29c5f) Signed-off-by: Peter Korsgaard --- package/go-bootstrap-stage2/go-bootstrap-stage2.hash | 2 +- package/go-bootstrap-stage2/go-bootstrap-stage2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash index 874737ea2d..6d4c718a40 100644 --- a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 13755bcce529747d5f2930dee034730c86d02bd3e521ab3e2bbede548d3b953f go1.19.10.src.tar.gz +sha256 e25c9ab72d811142b7f41ff6da5165fec2d1be5feec3ef2c66bc0bdecb431489 go1.19.11.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk index 477c24299c..72f3200a2e 100644 --- a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk @@ -6,7 +6,7 @@ # Use last Go version that go-bootstrap-stage1 can build: v1.19.x # See https://golang.org/doc/install/source#bootstrapFromSource -GO_BOOTSTRAP_STAGE2_VERSION = 1.19.10 +GO_BOOTSTRAP_STAGE2_VERSION = 1.19.11 GO_BOOTSTRAP_STAGE2_SITE = https://storage.googleapis.com/golang GO_BOOTSTRAP_STAGE2_SOURCE = go$(GO_BOOTSTRAP_STAGE2_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 21:03:31 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:03:31 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go-bootstrap: split into two stages: go1.4 and go1.19.10 Message-ID: <20231008212753.05791843F5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=490d118c3c6cae7d14a35c9731bdbc58f6ca0e4a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Go 1.20 requires a minimum version of go 1.17.13 to bootstrap. https://go.dev/doc/go1.20#bootstrap As Go 1.4 was the previous version that could be compiled with C, there is now no way to bootstrap go with a C compiler, unless we use a two-stage bootstrap: - build host-go-bootstrap-1.4-20170531 - build host-go-bootstrap-1.19.10 with host-go-bootstrap-1.4-20170531 - build host-go-1.20 with host-go-bootstrap-1.19.9 This is implemented in this commit first, before upgrading host-go to 1.20. Note: the .patch files from package/go version 1.19.x are not necessary for package/go-bootstrap-stage2 and have not been included there. Previous discussion of possible alternatives: https://lore.kernel.org/all/CA+h8R2rtcynkCBsz=_9yANOEguyPCOcQDj8_ns+cv8RS8+8t9A at mail.gmail.com/ https://lore.kernel.org/all/20220525234312.643dfc03 at windsurf/T/ Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit 6bedfdf6917ab7e4fb6d692f2e17eaff09b136a8) Signed-off-by: Peter Korsgaard --- DEVELOPERS | 2 + package/Config.in.host | 3 +- package/go-bootstrap-stage1/Config.in.host | 6 +++ .../go-bootstrap-stage1.hash} | 0 package/go-bootstrap-stage1/go-bootstrap-stage1.mk | 43 ++++++++++++++++++ package/go-bootstrap-stage2/Config.in.host | 4 ++ .../go-bootstrap-stage2/go-bootstrap-stage2.hash | 3 ++ package/go-bootstrap-stage2/go-bootstrap-stage2.mk | 53 ++++++++++++++++++++++ package/go-bootstrap/Config.in.host | 7 --- package/go-bootstrap/go-bootstrap.mk | 50 -------------------- package/go/Config.in.host | 4 +- package/go/go.mk | 4 +- 12 files changed, 117 insertions(+), 62 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 974fc8b284..98b92db483 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -556,6 +556,8 @@ F: package/docker-engine/ F: package/embiggen-disk/ F: package/fuse-overlayfs/ F: package/go/ +F: package/go-bootstrap-stage1/ +F: package/go-bootstrap-stage2/ F: package/gocryptfs/ F: package/mbpfan/ F: package/moby-buildkit/ diff --git a/package/Config.in.host b/package/Config.in.host index dcadbfdfc1..fff75cd165 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -40,7 +40,8 @@ menu "Host utilities" source "package/genpart/Config.in.host" source "package/gnupg/Config.in.host" source "package/go/Config.in.host" - source "package/go-bootstrap/Config.in.host" + source "package/go-bootstrap-stage1/Config.in.host" + source "package/go-bootstrap-stage2/Config.in.host" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" diff --git a/package/go-bootstrap-stage1/Config.in.host b/package/go-bootstrap-stage1/Config.in.host new file mode 100644 index 0000000000..56a743caf9 --- /dev/null +++ b/package/go-bootstrap-stage1/Config.in.host @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE1_ARCH_SUPPORTS + bool + # See src/cmd/dist/unix.c for the list of supported architectures + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "arm" diff --git a/package/go-bootstrap/go-bootstrap.hash b/package/go-bootstrap-stage1/go-bootstrap-stage1.hash similarity index 100% rename from package/go-bootstrap/go-bootstrap.hash rename to package/go-bootstrap-stage1/go-bootstrap-stage1.hash diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.mk b/package/go-bootstrap-stage1/go-bootstrap-stage1.mk new file mode 100644 index 0000000000..3e4ee57432 --- /dev/null +++ b/package/go-bootstrap-stage1/go-bootstrap-stage1.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# go-bootstrap-stage1 +# +################################################################################ + +# Use last C-based Go compiler: v1.4.x +# See https://golang.org/doc/install/source#bootstrapFromSource +GO_BOOTSTRAP_STAGE1_VERSION = 1.4-bootstrap-20171003 +GO_BOOTSTRAP_STAGE1_SITE = https://dl.google.com/go +GO_BOOTSTRAP_STAGE1_SOURCE = go$(GO_BOOTSTRAP_STAGE1_VERSION).tar.gz + +GO_BOOTSTRAP_STAGE1_LICENSE = BSD-3-Clause +GO_BOOTSTRAP_STAGE1_LICENSE_FILES = LICENSE + +HOST_GO_BOOTSTRAP_STAGE1_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_STAGE1_VERSION) + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_BOOTSTRAP_STAGE1_MAKE_ENV = \ + GOOS=linux \ + GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_STAGE1_ROOT)" \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + CC=$(HOSTCC_NOCCACHE) \ + CGO_ENABLED=0 + +define HOST_GO_BOOTSTRAP_STAGE1_BUILD_CMDS + cd $(@D)/src && $(HOST_GO_BOOTSTRAP_STAGE1_MAKE_ENV) ./make.bash +endef + +define HOST_GO_BOOTSTRAP_STAGE1_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/bin/go + $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/bin/gofmt + + cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/ + cp -a $(@D)/pkg $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/ + + # The Go sources must be installed to the host/ tree for the Go stdlib. + cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/ +endef + +$(eval $(host-generic-package)) diff --git a/package/go-bootstrap-stage2/Config.in.host b/package/go-bootstrap-stage2/Config.in.host new file mode 100644 index 0000000000..967ddaed1d --- /dev/null +++ b/package/go-bootstrap-stage2/Config.in.host @@ -0,0 +1,4 @@ +config BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE1_ARCH_SUPPORTS diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash new file mode 100644 index 0000000000..874737ea2d --- /dev/null +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash @@ -0,0 +1,3 @@ +# From https://go.dev/dl +sha256 13755bcce529747d5f2930dee034730c86d02bd3e521ab3e2bbede548d3b953f go1.19.10.src.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk new file mode 100644 index 0000000000..477c24299c --- /dev/null +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# go-bootstrap-stage2 +# +################################################################################ + +# Use last Go version that go-bootstrap-stage1 can build: v1.19.x +# See https://golang.org/doc/install/source#bootstrapFromSource +GO_BOOTSTRAP_STAGE2_VERSION = 1.19.10 +GO_BOOTSTRAP_STAGE2_SITE = https://storage.googleapis.com/golang +GO_BOOTSTRAP_STAGE2_SOURCE = go$(GO_BOOTSTRAP_STAGE2_VERSION).src.tar.gz + +GO_BOOTSTRAP_STAGE2_LICENSE = BSD-3-Clause +GO_BOOTSTRAP_STAGE2_LICENSE_FILES = LICENSE + +# Use go-bootstrap-stage1 to bootstrap. +HOST_GO_BOOTSTRAP_STAGE2_DEPENDENCIES = host-go-bootstrap-stage1 + +HOST_GO_BOOTSTRAP_STAGE2_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_STAGE2_VERSION) + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_BOOTSTRAP_STAGE2_MAKE_ENV = \ + GO111MODULE=off \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE1_ROOT) \ + GOROOT_FINAL=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + GOOS=linux \ + CC=$(HOSTCC_NOCCACHE) \ + CXX=$(HOSTCXX_NOCCACHE) \ + CGO_ENABLED=0 + +define HOST_GO_BOOTSTRAP_STAGE2_BUILD_CMDS + cd $(@D)/src && \ + $(HOST_GO_BOOTSTRAP_STAGE2_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) +endef + +define HOST_GO_BOOTSTRAP_STAGE2_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/bin/go + $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/bin/gofmt + + cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/ + + mkdir -p $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/pkg + cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/pkg/ + cp -a $(@D)/pkg/tool $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/pkg/ + + # The Go sources must be installed to the host/ tree for the Go stdlib. + cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/ +endef + +$(eval $(host-generic-package)) diff --git a/package/go-bootstrap/Config.in.host b/package/go-bootstrap/Config.in.host deleted file mode 100644 index fab80d24b4..0000000000 --- a/package/go-bootstrap/Config.in.host +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS - bool - # See src/cmd/dist/unix.c for the list of support - # architectures - default y if BR2_HOSTARCH = "x86" - default y if BR2_HOSTARCH = "x86_64" - default y if BR2_HOSTARCH = "arm" diff --git a/package/go-bootstrap/go-bootstrap.mk b/package/go-bootstrap/go-bootstrap.mk deleted file mode 100644 index 71696a1540..0000000000 --- a/package/go-bootstrap/go-bootstrap.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# go-bootstrap -# -################################################################################ - -# Use last C-based Go compiler: v1.4.x -# See https://golang.org/doc/install/source#bootstrapFromSource -GO_BOOTSTRAP_VERSION = 1.4-bootstrap-20171003 -GO_BOOTSTRAP_SITE = https://dl.google.com/go -GO_BOOTSTRAP_SOURCE = go$(GO_BOOTSTRAP_VERSION).tar.gz - -GO_BOOTSTRAP_LICENSE = BSD-3-Clause -GO_BOOTSTRAP_LICENSE_FILES = LICENSE - -# To build programs that need cgo support the toolchain needs to be -# available, so the toolchain is not needed to build host-go-bootstrap -# itself, but needed by other packages that depend on -# host-go-bootstrap. -HOST_GO_BOOTSTRAP_DEPENDENCIES = toolchain - -HOST_GO_BOOTSTRAP_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_VERSION) - -# The go build system is not compatable with ccache, so use HOSTCC_NOCCACHE -# here. See https://github.com/golang/go/issues/11685. -HOST_GO_BOOTSTRAP_MAKE_ENV = \ - GOOS=linux \ - GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_ROOT)" \ - GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" \ - CC=$(HOSTCC_NOCCACHE) \ - CGO_ENABLED=0 - -define HOST_GO_BOOTSTRAP_BUILD_CMDS - cd $(@D)/src && $(HOST_GO_BOOTSTRAP_MAKE_ENV) ./make.bash -endef - -define HOST_GO_BOOTSTRAP_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_ROOT)/bin/go - $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_ROOT)/bin/gofmt - - cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_ROOT)/ - cp -a $(@D)/pkg $(HOST_GO_BOOTSTRAP_ROOT)/ - - # There is a known issue which requires the go sources to be installed - # https://golang.org/issue/2775 - cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_ROOT)/ -endef - -$(eval $(host-generic-package)) diff --git a/package/go/Config.in.host b/package/go/Config.in.host index ded02d3b3a..90a54f0da6 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -2,7 +2,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x @@ -28,4 +28,4 @@ config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS diff --git a/package/go/go.mk b/package/go/go.mk index ea2a46f36c..222d642b7b 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -12,7 +12,7 @@ GO_LICENSE = BSD-3-Clause GO_LICENSE_FILES = LICENSE GO_CPE_ID_VENDOR = golang -HOST_GO_DEPENDENCIES = host-go-bootstrap +HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 HOST_GO_GOPATH = $(HOST_DIR)/share/go-path HOST_GO_HOST_CACHE = $(HOST_DIR)/share/host-go-cache HOST_GO_ROOT = $(HOST_DIR)/lib/go @@ -126,7 +126,7 @@ HOST_GO_HOST_ENV = \ HOST_GO_MAKE_ENV = \ GO111MODULE=off \ GOCACHE=$(HOST_GO_HOST_CACHE) \ - GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_ROOT) \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ GOROOT_FINAL=$(HOST_GO_ROOT) \ GOROOT="$(@D)" \ GOBIN="$(@D)/bin" \ From peter at korsgaard.com Sun Oct 8 21:05:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:05:20 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: bump to version 1.20.6 Message-ID: <20231008212753.16250843FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a278b02e47b0a15d1be959cc3e1a34f077ca7a08 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The latest Go release, version 1.20, arrives six months after Go 1.19. Most of its changes are in the implementation of the toolchain, runtime, and libraries. https://go.dev/doc/go1.20 https://go.dev/doc/devel/release#go1.20.6 https://github.com/golang/go/issues?q=milestone%3AGo1.20.6+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit 78d80aa395a59cf6187ca1da1d83e0f6b6d2db93) Signed-off-by: Peter Korsgaard --- .../0003-runtime-support-riscv64-SV57-mode.patch | 65 ---------------------- package/go/go.hash | 2 +- package/go/go.mk | 4 +- 3 files changed, 3 insertions(+), 68 deletions(-) diff --git a/package/go/0003-runtime-support-riscv64-SV57-mode.patch b/package/go/0003-runtime-support-riscv64-SV57-mode.patch deleted file mode 100644 index f51c2ca093..0000000000 --- a/package/go/0003-runtime-support-riscv64-SV57-mode.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 6618c7af436488fa12018cdcd31eeedb3a698745 Mon Sep 17 00:00:00 2001 -From: Dmitry Vyukov -Date: Fri, 27 May 2022 18:55:35 +0200 -Subject: [PATCH] runtime: support riscv64 SV57 mode - -Riscv64 has SV57 mode when user-space VA is 56 bits. -Linux kernel recently got support for this mode and Go binaries started crashing as: - -runtime: lfstack.push invalid packing: node=0xffffff5908a940 cnt=0x1 -packed=0xffff5908a9400001 -> node=0xffff5908a940 - -Adjust lfstack code to use only 8 top bits of pointers on riscv64. - -For context see: -https://groups.google.com/g/syzkaller-bugs/c/lU0GQTZoNQQ/m/O_c3vmE3AAAJ - -Update #54104 - -Change-Id: Ib5d3d6a79c0c6eddf11618d73fcc8bc1832a9c25 -Signed-off-by: Christian Stewart ---- - -Upstream: https://go-review.googlesource.com/c/go/+/409055/4 ---- - src/runtime/lfstack_64bit.go | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/src/runtime/lfstack_64bit.go b/src/runtime/lfstack_64bit.go -index 154130cf63..39fa647b9e 100644 ---- a/src/runtime/lfstack_64bit.go -+++ b/src/runtime/lfstack_64bit.go -@@ -36,12 +36,21 @@ const ( - // We use one bit to distinguish between the two ranges. - aixAddrBits = 57 - aixCntBits = 64 - aixAddrBits + 3 -+ -+ // Riscv64 SV57 mode gives 56 bits of userspace VA. -+ // lfstack code supports it, but broader support for SV57 mode is incomplete, -+ // and there may be other issues (see #54104). -+ riscv64AddrBits = 56 -+ riscv64CntBits = 64 - riscv64AddrBits + 3 - ) - - func lfstackPack(node *lfnode, cnt uintptr) uint64 { - if GOARCH == "ppc64" && GOOS == "aix" { - return uint64(uintptr(unsafe.Pointer(node)))<<(64-aixAddrBits) | uint64(cnt&(1<> aixCntBits << 3) | 0xa<<56))) - } -+ if GOARCH == "riscv64" { -+ return (*lfnode)(unsafe.Pointer(uintptr(val >> riscv64CntBits << 3))) -+ } - return (*lfnode)(unsafe.Pointer(uintptr(val >> cntBits << 3))) - } --- -2.35.1 - diff --git a/package/go/go.hash b/package/go/go.hash index d61663cac9..135d1ad37b 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 ccf36b53fb0024a017353c3ddb22c1f00bc7a8073c6aac79042da24ee34434d3 go1.19.13.src.tar.gz +sha256 62ee5bc6fb55b8bae8f705e0cb8df86d6453626b4ecf93279e2867092e0b7f70 go1.20.6.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index fa1f4c4797..efa47e5781 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.13 +GO_VERSION = 1.20.6 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz @@ -151,7 +151,7 @@ define HOST_GO_INSTALL_CMDS cp -a $(@D)/lib $(HOST_GO_ROOT)/ mkdir -p $(HOST_GO_ROOT)/pkg - cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_ROOT)/pkg/ + cp -a $(@D)/pkg/include $(HOST_GO_ROOT)/pkg/ cp -a $(@D)/pkg/tool $(HOST_GO_ROOT)/pkg/ # The Go sources must be installed to the host/ tree for the Go stdlib. From peter at korsgaard.com Sun Oct 8 21:17:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:38 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: adjust Upstream header in patch Message-ID: <20231008212753.32454843F5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=98afa7bc86eb3652e2cc65980bddc602ba9f0bba branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes: package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch:0: missing Upstream in the header (http://nightly.buildroot.org/#_additional_patch_documentation) In: https://gitlab.com/buildroot.org/buildroot/-/jobs/4763324039 Signed-off-by: Thomas Petazzoni (cherry picked from commit d536197234c75d301448369ef47415c79e38a974) Signed-off-by: Peter Korsgaard --- .../go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch index e7158a2b3f..4f53356ffc 100644 --- a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch +++ b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch @@ -46,7 +46,7 @@ Fixes: https://github.com/golang/go/issues/61620 --- -Upstream PR: https://github.com/golang/go/pull/61621 +Upstream: https://github.com/golang/go/pull/61621 Signed-off-by: Christian Stewart From peter at korsgaard.com Sun Oct 8 21:17:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:41 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: security bump to version 1.20.9 Message-ID: <20231008212753.4FA83843FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e57c04d9204736f331cb522d441f9981065b79c3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the go command and the linker. Signed-off-by: Peter Korsgaard (cherry picked from commit 1da113559fc7a6f7f420c9026c1f4102bd7ac81d) Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 19405982ba..ac603e6e3b 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e go1.20.8.src.tar.gz +sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index c1e9f2f8f6..d75c1afa9e 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.8 +GO_VERSION = 1.20.9 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 21:17:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:38 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: fix go-bootstrap when parent dir contains invalid .git Message-ID: <20231008212753.28984843FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5b570f6c74a9427212562fc430810400cd510c84 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Building host-go within docker fails: error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. Reproduction of the issue: mkdir go-issue-61620 cd ./go-issue-61620 wget https://go.dev/dl/go1.19.11.src.tar.gz mkdir go-bootstrap tar -xf go1.19.11.src.tar.gz -C ./go-bootstrap --strip-components=1 cd ./go-bootstrap/src/ bash make.bash cd ../../ wget https://go.dev/dl/go1.20.6.src.tar.gz mkdir go tar -xf go1.20.6.src.tar.gz -C ./go/ --strip-components=1 printf "gitdir: ../../does/not/exist/.git" > ./.git cd ./go/src/ GOROOT_BOOTSTRAP=$(pwd)/../../go-bootstrap/ bash make.bash The error only occurs when the .git that git detects in the parent directory of the GOROOT_BOOTSTRAP is invalid or not present causing errors when running `git` commands within GOROOT_BOOTSTRAP. Report: https://lists.buildroot.org/pipermail/buildroot/2023-July/671344.html Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/4725186525 Upstream issue: https://github.com/golang/go/issues/61620 Upstream PR: https://github.com/golang/go/pull/61621 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit bc8e70a08ba083d978c828e31442a7645c9099d7) Signed-off-by: Peter Korsgaard --- ...t-buildvcs-false-when-building-go-bootstr.patch | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch new file mode 100644 index 0000000000..e7158a2b3f --- /dev/null +++ b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch @@ -0,0 +1,73 @@ +From 6b05378097c6a386ed9912d2471976dc39504e86 Mon Sep 17 00:00:00 2001 +From: Christian Stewart +Date: Thu, 27 Jul 2023 21:28:47 -0700 +Subject: [PATCH] cmd/dist: set buildvcs=false when building go-bootstrap + +When building go-bootstrap as part of the make.bash process, the cmd/dist +invokes the bootstrap Go compiler to build the go_bootstrap tool: + +${GOROOT_BOOTSTRAP}/bin/go install -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/... + +If there is an invalid .git directory in a parent of ${GOROOT_BOOTSTRAP}, +make.bash will fail. Reproduction of the issue: + + mkdir go-issue-61620 + cd ./go-issue-61620 + wget https://go.dev/dl/go1.19.11.src.tar.gz + mkdir go-bootstrap + tar -xf go1.19.11.src.tar.gz -C ./go-bootstrap --strip-components=1 + cd ./go-bootstrap/src/ + bash make.bash + cd ../../ + wget https://go.dev/dl/go1.20.6.src.tar.gz + mkdir go + tar -xf go1.20.6.src.tar.gz -C ./go/ --strip-components=1 + printf "gitdir: ../../does/not/exist/.git" > ./.git + cd ./go/src/ + GOROOT_BOOTSTRAP=$(pwd)/../../go-bootstrap/ bash make.bash + +The build fails with the following error: + + Building Go toolchain1 using [snip]/go-1.19.10. + error obtaining VCS status: exit status 128 + Use -buildvcs=false to disable VCS stamping. + go tool dist: FAILED: [snip]/go-1.19.10/bin/go install -tags=math_big_pure_go \ + compiler_bootstrap purego bootstrap/cmd/...: exit status 1 + +This change unconditionally sets -buildvcs=false when compiling go-bootstrap. We +don't need the revision information in those binaries anyway. Setting this flag +was previously not done as we were unsure if the go-bootstrap compiler would be +new enough to support the buildvcs build flag. Since Go 1.20.x, Go 1.19.x is the +minimum version for go-bootstrap, and supports -buildvcs=false. We can now set +-buildvcs=false without worrying about compatibility. + +Related: https://github.com/golang/go/issues/54852 +Fixes: https://github.com/golang/go/issues/61620 + +--- + +Upstream PR: https://github.com/golang/go/pull/61621 + +Signed-off-by: Christian Stewart + +--- + src/cmd/dist/buildtool.go | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go +index a528d7aa76..3b411d6ebb 100644 +--- a/src/cmd/dist/buildtool.go ++++ b/src/cmd/dist/buildtool.go +@@ -221,6 +221,9 @@ func bootstrapBuildTools() { + cmd := []string{ + pathf("%s/bin/go", goroot_bootstrap), + "install", ++ // Fixes cases where an invalid .git is present in a parent of GOROOT_BOOTSTRAP. ++ // See: https://github.com/golang/go/issues/61620 ++ "-buildvcs=false", + "-tags=math_big_pure_go compiler_bootstrap purego", + } + if vflag > 0 { +-- +2.41.0 + From peter at korsgaard.com Sun Oct 8 21:04:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:04:06 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: adjust comments Message-ID: <20231008212753.0DEC1843F9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c3b7ce430341e3a2fdf45324acf299a31c5b3173 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Adjust comments in the Go package to improve clarity: Config.in.host: - Add comment mentioning list of supported architectures. go.mk: - Reword comment re: copying src/ to host/ - the previously linked issue is not relevant. - instead: mention that src/ is needed for stdlib. - Adjust comment re: adjusting file timestamps. - mention this is needed to avoid rebuilding stdlib Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit 651835dbd7c68f3873a63b4f70c9aca9769c019e) Signed-off-by: Peter Korsgaard --- package/go/Config.in.host | 2 ++ package/go/go.mk | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 90a54f0da6..b87b862cec 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -3,6 +3,8 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS bool default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + # See https://go.dev/doc/install/source#environment + # See src/go/build/syslist.go for the list of supported architectures depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x diff --git a/package/go/go.mk b/package/go/go.mk index 222d642b7b..fa1f4c4797 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -154,12 +154,11 @@ define HOST_GO_INSTALL_CMDS cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_ROOT)/pkg/ cp -a $(@D)/pkg/tool $(HOST_GO_ROOT)/pkg/ - # There is a known issue which requires the go sources to be installed - # https://golang.org/issue/2775 + # The Go sources must be installed to the host/ tree for the Go stdlib. cp -a $(@D)/src $(HOST_GO_ROOT)/ - # Set all file timestamps to prevent the go compiler from rebuilding any - # built in packages when programs are built. + # Set file timestamps to prevent the Go compiler from rebuilding the stdlib + # when compiling other programs. find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef From fontaine.fabrice at gmail.com Sun Oct 8 21:34:18 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 8 Oct 2023 23:34:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/c-ares: bump to version 1.20.1 Message-ID: <20231008213418.85380-1-fontaine.fabrice@gmail.com> Update hash of license file (modern MIT license text used since https://github.com/c-ares/c-ares/commit/6d077838f7e3f1899ba93da9d301b7fe49b311ce) https://c-ares.org/changelog.html#1_20_1 Signed-off-by: Fabrice Fontaine --- package/c-ares/c-ares.hash | 4 ++-- package/c-ares/c-ares.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/c-ares/c-ares.hash b/package/c-ares/c-ares.hash index 3e1573f2cf..c2897f6e44 100644 --- a/package/c-ares/c-ares.hash +++ b/package/c-ares/c-ares.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 321700399b72ed0e037d0074c629e7741f6b2ec2dda92956abe3e9671d3e268e c-ares-1.19.1.tar.gz +sha256 de24a314844cb157909730828560628704f4f896d167dd7da0fa2fb93ea18b10 c-ares-1.20.1.tar.gz # Hash for license file -sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md +sha256 80fff25340df53b0cf0c3cddbca9050b559b9cbed2ad71830327cfef54959aef LICENSE.md diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk index 46b8acd673..7a49b2639a 100644 --- a/package/c-ares/c-ares.mk +++ b/package/c-ares/c-ares.mk @@ -4,7 +4,7 @@ # ################################################################################ -C_ARES_VERSION = 1.19.1 +C_ARES_VERSION = 1.20.1 C_ARES_SITE = http://c-ares.haxx.se/download C_ARES_INSTALL_STAGING = YES C_ARES_CONF_OPTS = --with-random=/dev/urandom -- 2.40.1 From flaniel at linux.microsoft.com Mon Oct 9 06:07:24 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 09 Oct 2023 09:07:24 +0300 Subject: [Buildroot] [PATCH 1/1] package/tbb: fixes hash In-Reply-To: <20231005195612.GB2552@scaer> References: <20231005062458.8973-1-flaniel@linux.microsoft.com> <20231005062458.8973-2-flaniel@linux.microsoft.com> <20231005195612.GB2552@scaer> Message-ID: <2701824.mvXUDI8C0e@pwmachine> Hi. Le jeudi 5 octobre 2023, 22:56:12 EEST Yann E. MORIN a ?crit : > Francis, All, > > On 2023-10-05 09:24 +0300, Francis Laniel spake thusly: > > Fixes: 74b50d553eaf ("package/tbb: bump to version 2021.10.0.") > > Signed-off-by: Francis Laniel > > Applied to master, thanks. Thank you for the merge! > Regards, > Yann E. MORIN. > > > --- > > > > package/tbb/tbb.hash | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > > index 1caf81c5c5..085d54109a 100644 > > --- a/package/tbb/tbb.hash > > +++ b/package/tbb/tbb.hash > > @@ -1,3 +1,3 @@ > > > > # Locally calculated > > > > -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b > > tbb-2021.10.0.tar.gz +sha256 > > 487023a955e5a3cc6d3a0d5f89179f9b6c0ae7222613a7185b0227ba0c83700b > > tbb-2021.10.0.tar.gz> > > sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 > > LICENSE.txt Best regards. From adam.duskett at amarulasolutions.com Mon Oct 9 08:06:11 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 10:06:11 +0200 Subject: [Buildroot] [PATCH v3 1/2] package/refpolicy: bump version to 2.20231002 Message-ID: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- 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 a09e59c270..70d1acc9af 100644 --- a/package/refpolicy/refpolicy.hash +++ b/package/refpolicy/refpolicy.hash @@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2 +sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 8fea7cc254..fb1c213b84 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.20221101 +REFPOLICY_VERSION = 2.20231002 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 08:06:12 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 10:06:12 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> References: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009080612.23347-2-adam.duskett@amarulasolutions.com> Refpolicy contexts expect a merged /usr file system. In fact, there are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user wants to go through the trouble of creating a policy that works with a non-merged system, they should be free to do so. As such, only select BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION. Signed-off-by: Adam Duskett --- v2 -> v3: Depends on, do not select BR2_ROOTFS_MERGED_USR [Yann] ...ount-dbus-interface-must-be-optional.patch | 33 ------------------- package/refpolicy/Config.in | 4 +++ 2 files changed, 4 insertions(+), 33 deletions(-) delete mode 100644 package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch diff --git a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch b/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch deleted file mode 100644 index adec7d98d0..0000000000 --- a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6c6be65ccf0891391681d4662cc11f508c0f4aeb Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 24 Apr 2023 14:24:49 -0700 -Subject: [PATCH] mount: dbus interface must be optional - -If DBus isn't built, the build process fails due to mount.te always using a -dbus interface even if the dbus module. Fix this by setting the dbus interface -as optional. - -Signed-off-by: Adam Duskett -Upstream: https://github.com/SELinuxProject/refpolicy/commit/207b09a656c2c3ac5c286d3f7eef085325e35408 ---- - policy/modules/system/mount.te | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te -index d028723..af84af0 100644 ---- a/policy/modules/system/mount.te -+++ b/policy/modules/system/mount.te -@@ -145,7 +145,9 @@ selinux_getattr_fs(mount_t) - - userdom_use_all_users_fds(mount_t) - --dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+optional_policy(` -+ dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+') - - ifdef(`distro_redhat',` - optional_policy(` --- -2.40.0 - diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..d2fe391d8d 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -36,9 +36,13 @@ choice config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + depends on BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. +comment "Upstream refpolicy requires a merged /usr filesystem" + depends on !BR2_ROOTFS_MERGED_USR + config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT bool "Custom git repository" help -- 2.41.0 From marcus.folkesson at gmail.com Mon Oct 9 08:29:40 2023 From: marcus.folkesson at gmail.com (Marcus Folkesson) Date: Mon, 9 Oct 2023 10:29:40 +0200 Subject: [Buildroot] [PATCH v3] package/criu: new package In-Reply-To: <0d205f8ab83f4f387912227cbb95238c@free.fr> References: <20230918084825.786715-1-marcus.folkesson@gmail.com> <0d205f8ab83f4f387912227cbb95238c@free.fr> Message-ID: Hi Julian, On Fri, Oct 06, 2023 at 10:35:14PM +0200, Julien Olivain wrote: > Hi Marcus, > > On 06/10/2023 13:46, Marcus Folkesson wrote: > > Julien, do you have the posibility to run test-pkg on this patch? > > > > I still get wierd errors (related to host-libzlib (?) ) for the > > bootlin-armv7-glibc toolchain. > > I ran a test-pkg on this v3 patch. I am not able to reproduce this > host-libzlib failure (both on my host system and in the reference > utils/docker-run Docker image). But I do see a build failure with > the bootlin-armv7-glibc toolchain in the criu package: > > cat > criu.config < BR2_PACKAGE_HOST_PYTHON3=y > BR2_PACKAGE_CRIU=y > EOF > > utils/test-pkg -c criu.config -p criu > bootlin-armv5-uclibc [1/6]: SKIPPED > bootlin-armv7-glibc [2/6]: FAILED > bootlin-armv7m-uclibc [3/6]: SKIPPED > bootlin-x86-64-musl [4/6]: OK > br-arm-full-static [5/6]: SKIPPED > sourcery-arm [6/6]: SKIPPED > 6 builds, 4 skipped, 1 build failed, 0 legal-info failed, 0 show-info > failed > > It fails with output: > > /home/br-user/br-test-pkg/bootlin-armv7-glibc/host/bin/arm-linux-ld: > ./compel/plugins/std.lib.a(string.o): in function `std_vdprintf': > string.c:(.text+0x114): undefined reference to `__aeabi_idivmod' > > Maybe the SUBARCH make variable need to be set for Arm, because the > criu Makefile adjust few flags based on its value. See [1]. Thank you for testing, it is highly appreciated. I will try to build using the docker image as I'm only getting problem with host-libzlib, even for a clean build. I will add this for the next patch version ifeq ($(BR2_ARM_CPU_ARMV6), y) CRIU_MAKE_ENV += SUBARCH=armv6 else ifeq ($(BR2_ARM_CPU_ARMV7A), y) CRIU_MAKE_ENV += SUBARCH=armv7 else ifeq ($(BR2_ARM_CPU_ARMV7M), y) CRIU_MAKE_ENV += SUBARCH=armv7 else ifeq ($(BR2_ARM_CPU_ARMV8A), y) CRIU_MAKE_ENV += SUBARCH=armv8 else ifeq ($(BR2_ARM_CPU_ARMV8M), y) CRIU_MAKE_ENV += SUBARCH=armv8 endif But the Makefile defaults to armv7, so I do not think it make any difference for bootlin-armv7-glibc. > > > > > bootlin-x86-64-musl is 'OK' though. > > > > Thanks, > > Marcus > > Best regards, > > Julien. > > [1] https://github.com/checkpoint-restore/criu/blob/v3.18/Makefile#L35 /Marcus -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From nolange79 at gmail.com Mon Oct 9 12:16:13 2023 From: nolange79 at gmail.com (Norbert Lange) Date: Mon, 9 Oct 2023 14:16:13 +0200 Subject: [Buildroot] [PATCH 2/7] system: add overlayfs option for ro /var In-Reply-To: <6cd42e77-43f4-7faf-37db-e987dc139af1@mind.be> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-3-nolange79@gmail.com> <6cd42e77-43f4-7faf-37db-e987dc139af1@mind.be> Message-ID: Am So., 8. Okt. 2023 um 20:37 Uhr schrieb Arnout Vandecappelle : > > Hi Norbert, > > On 15/01/2023 13:52, Norbert Lange wrote: > > This commit adds an alternative that has the following characteristics: > > > > - Dont depend on anything being available, except the > > API File Systems [1]. > > > > As /var is meant to be available before normal and even some early > > services are running. > > > > - Be a clean drop-in, that can be trivially added / removed. > > > > - Depend on overlayfs being available in the kernel. > > > > - Units are supposed to be reusable for custom solutions. > > [snip] > > > > Cc: Yann E. MORIN > > Cc: Romain Naour > > Cc: Je?re?my Rosen > > Signed-off-by: Norbert Lange > > In the end, I ended up applying Yann's v4 instead, with a few more > modifications, as reported in that thread. I did take inspiration from this > patch - mostly from the commit message. > > For your information, I'll give some feedback on this patch as well. Happy that there finally is some movement, still its weird that after a long back-and-forth a modified version is committed before feedback. > > > --- > > .../overlayfs/br-bindmount-run at .service | 26 +++++++++++++++++++ > > .../overlayfs/br-overlay-prepare at .service | 26 +++++++++++++++++++ > > .../overlayfs/overlay.mount.in | 16 ++++++++++++ > > .../skeleton-init-systemd.mk | 17 ++++++++++++ > > system/Config.in | 13 ++++++++++ > > 5 files changed, 98 insertions(+) > > create mode 100644 package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > > create mode 100644 package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > > create mode 100644 package/skeleton-init-systemd/overlayfs/overlay.mount.in > > > > diff --git a/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service b/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > > new file mode 100644 > > index 0000000000..ce944efd92 > > --- /dev/null > > +++ b/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > > @@ -0,0 +1,26 @@ > > +[Unit] > > +Description=Bind-mount rootfs directory (/%I) to /run > > +Documentation=man:file-hierarchy(7) > > +ConditionPathIsSymbolicLink=!/%I > > +DefaultDependencies=no > > +Conflicts=umount.target > > +Before=umount.target > > + > > +# Needs to run after rootfs is properly mounted > > +# and before regular mounts might interfere. > > +After=systemd-remount-fs.service > > +Before=local-fs-pre.target > > + > > +[Service] > > +Type=oneshot > > +RemainAfterExit=yes > > +# dont fail if common dirs already exist > > +ExecStartPre=/bin/mkdir -m755 -p /run/.br > > There's no reason to make it a hidden directory. Also, there is no reason to > abbreviate the directory name so much. should be short imho, to avoid running into path-length problems. its a technical detail, hidden from users > > > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/bnd > > I don't see why it's useful to have a separate base directory for bind mounts. > When you do a bind mount like this, it's always for a very specific purpose - > not always for an overlay, but in any case, it makes more sense to mount on a > mount point that is more related to the sepecific purpose. Because /run/.br could be for anything else later, and /run/.br/bnd should mirror the filesystem root. > > For the overlay case, it's very convenient to have everything that the overlay > builds on next to each other, i.e. lower, upper, work. Yeah, there was a reason for not doing that, had to do with being able to re-use that system of generic mount templates, ie. /run/.br/bnd would always mirror a part of the fs root, without changed hierarchies. ie. you could either use a single mount / to /run/.br/bnd, or say /etc to /run/.br/bnd/etc and /var to /run/.br/bnd/var. It would not effect the overlay units. > > > + > > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/bnd/%I > > +ExecStart=/bin/mount --make-private -n --bind -o ro /%I /run/.br/bnd/%I > > + > > +# lazy unmount, dont block shutdown under any circumstances > > +ExecStop=/bin/umount -n -l /run/.br/bnd/%I > > +ExecStopPost=-/bin/rmdir /run/.br/bnd/%I This got left out aswell: ExecStopPost=-/bin/rmdir /run/.br/bnd/%I Removing it, would allow new accesses to the filesystem thats in progress of being lazily unmounted. > > diff --git a/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service b/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > > new file mode 100644 > > index 0000000000..86b32900dd > > --- /dev/null > > +++ b/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > > @@ -0,0 +1,26 @@ > > +[Unit] > > +Description=Mount and prepare tmpfs for overlay (/%I) > > +Documentation=man:file-hierarchy(7) > > +ConditionPathIsSymbolicLink=!/%I > > +DefaultDependencies=no > > +Conflicts=umount.target > > +Before=local-fs.target umount.target > > +# prepare for systemd mount units aswell > > +RequiresMountsFor=/run/.br/ovl/%I > > + > > +[Service] > > +Environment="OVERLAY_DIR=/run/.br/ovl/%I" > > +Type=oneshot > > +RemainAfterExit=yes > > +# dont fail if common dirs already exist > > +ExecStartPre=/bin/mkdir -m755 -p /run/.br > > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/ovl > > I'm not sure if there's a good reason to make this mode 700 instead of the > default 755. If there is a good reason, I'd accept a patch that modifies the > prepare-var-overlay.service that I ended up applying. No one should access this directories directly, its being defensive > > > +ExecStartPre=/bin/mkdir -m700 -p ${OVERLAY_DIR} > > +# Create an override and edit this line for customization > > +ExecStart=/bin/mount --make-private -n -t tmpfs tmpfs_br_ovl ${OVERLAY_DIR} > > There is in fact no reason to mount anything here - /run is already a tmpfs > with all the required properties. We can just reuse it. Yes, problem is that the /run mount is limited in size, not configurable (parameters are in systemd's sources) and filling /var with stuff should never exhaust one of the most critical filesystems. > > > +ExecStartPost=/bin/mkdir -p ${OVERLAY_DIR}/up ${OVERLAY_DIR}/wd > > + > > +# lazy unmount, dont block shutdown under any circumstances > > +ExecStop=/bin/umount -n -l ${OVERLAY_DIR} > > +ExecStopPost=/bin/rmdir ${OVERLAY_DIR} > > diff --git a/package/skeleton-init-systemd/overlayfs/overlay.mount.in b/package/skeleton-init-systemd/overlayfs/overlay.mount.in > > new file mode 100644 > > index 0000000000..84f4d9ee47 > > --- /dev/null > > +++ b/package/skeleton-init-systemd/overlayfs/overlay.mount.in > > @@ -0,0 +1,16 @@ > > +[Unit] > > +Description=Variable storage (/@PATH@) > > +Documentation=man:file-hierarchy(7) > > +ConditionPathIsSymbolicLink=!/@PATH@ > > There's too much @PATH@ here. I actually think we can completely avoid it by > using %p or %P as appropriate everywhere. > > I think that that way, we can indeed reuse both the overlay.mount.in and > prepare-var-overlay at .service for other overlays. I unfortunately didn't have > time to implement and test that, so instead I committed it without the %p/%P and > without a template service. > > If you end up implementing it as a template, please make sure to also include > a runtime test for it, e.g. with /etc as the overlay. Or even better something > deeper - for the test it could be something silly, like /usr/share. Yeah, gonna rebase my stuff and pickup where I stopped long ago, gonna take a while. > > > + > > +After=br-bindmount-run@@PATH at .service > > +Requires=br-bindmount-run@@PATH at .service > > + > > +After=br-overlay-prepare@@PATH at .service > > +BindsTo=br-overlay-prepare@@PATH at .service > > + > > +[Mount] > > +Type=overlay > > +What=br_ovl_ at PATH@ > > +Where=/@PATH@ > > +Options=redirect_dir=on,index=on,xino=on,lowerdir=/run/.br/bnd/@PATH@,upperdir=/run/.br/ovl/@PATH@/up,workdir=/run/.br/ovl/@PATH@/wd > > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > > index fb15552f99..ad529cddf6 100644 > > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > > @@ -57,6 +57,23 @@ define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR > > endef > > SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR > > endif # BR2_INIT_SYSTEMD_VAR_FACTORY > > + > > +ifeq ($(BR2_INIT_SYSTEMD_VAR_OVERLAYFS),y) > > +define SKELETON_INIT_SYSTEMD_LINUX_CONFIG_FIXUPS > > + $(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS) > > +endef > > +define SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > > + sed 's, at PATH@,var,g' $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/overlay.mount.in >$(@D)/var.mount > > + $(INSTALL) -D -m 0644 $(@D)/var.mount $(TARGET_DIR)/usr/lib/systemd/system/var.mount > > + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-bindmount-run at .service \ > > + $(TARGET_DIR)/usr/lib/systemd/system/br-bindmount-run at .service > > + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-overlay-prepare at .service \ > > + $(TARGET_DIR)/usr/lib/systemd/system/br-overlay-prepare at .service > > If it's templates, they can actually be installed independently of the > BR2_INIT_SYSTEMD_VAR_OVERLAYFS option - maybe you want to use a factory for /var > but an overlay for /etc... Sure, but not sure if it should be installed unconditionally. Easy to just copy those files into a rootfs-overlay. > > > I've marked this patch as Superseded (because I took Yann's v4). The rest of > the series I'll look at later. Ok > > Regards, > Arnout > Regards, Norbert From nolange79 at gmail.com Mon Oct 9 13:11:20 2023 From: nolange79 at gmail.com (Norbert Lange) Date: Mon, 9 Oct 2023 15:11:20 +0200 Subject: [Buildroot] [PATCH v2] package/util-linux: fix build with old glibc Message-ID: <20231009131120.134257-1-nolange79@gmail.com> The build still fails if newer kernel versions are mixed with older glibc versions (Kernel 6.1 and glibc 2.28 for example). Apply upstream fix [1], see bug report [2]. [1] - https://github.com/schubi2/util-linux/commit/8d67fc4e66816791aaadf0b03940b96c6dc3d92c [2] - https://github.com/util-linux/util-linux/issues/2448 Signed-off-by: Norbert Lange --- Still cant build util-linux, neither on master nor on 2023.08.x v1->v2: * rebase using the commit in upstream master Signed-off-by: Norbert Lange --- .../0001-libmount-fix-statx-includes.patch | 127 ++++++++++++++++++ .../0001-libmount-fix-statx-includes.patch | 1 + package/util-linux/util-linux.mk | 2 +- 3 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 package/util-linux/0001-libmount-fix-statx-includes.patch create mode 120000 package/util-linux/util-linux-libs/0001-libmount-fix-statx-includes.patch diff --git a/package/util-linux/0001-libmount-fix-statx-includes.patch b/package/util-linux/0001-libmount-fix-statx-includes.patch new file mode 100644 index 0000000000..60cde1a63e --- /dev/null +++ b/package/util-linux/0001-libmount-fix-statx-includes.patch @@ -0,0 +1,127 @@ +From 8d67fc4e66816791aaadf0b03940b96c6dc3d92c Mon Sep 17 00:00:00 2001 +From: Karel Zak +Date: Wed, 23 Aug 2023 11:50:37 +0200 +Subject: [PATCH] libmount: fix statx() includes + +Using sys/stat.h and linux/stat is too tricky.h together. It seems +better to rely on libc and use sys/stat.h only. Users affected +by old libc must update to use recent util-linux. + +Fixes: https://github.com/util-linux/util-linux/issues/2448 +Signed-off-by: Karel Zak +Signed-off-by: Norbert Lange +--- + configure.ac | 5 ++--- + include/fileutils.h | 4 ++-- + libmount/src/hook_mount.c | 2 +- + libmount/src/utils.c | 2 +- + meson.build | 5 ++--- + 5 files changed, 8 insertions(+), 10 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 27c379a78be..aa4b3bc1c64 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -333,7 +333,6 @@ AC_CHECK_HEADERS([ \ + linux/nsfs.h \ + linux/pr.h \ + linux/raw.h \ +- linux/stat.h \ + linux/securebits.h \ + linux/tiocl.h \ + linux/version.h \ +@@ -527,7 +526,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + ]) + + AC_CHECK_TYPES([struct mount_attr], [], [], [[#include ]]) +-AC_CHECK_TYPES([struct statx], [], [], [[#include ]]) + AC_CHECK_TYPES([enum fsconfig_command], [], [], [[#include ]]) + + AC_CHECK_MEMBERS([struct termios.c_line],,, +@@ -536,8 +534,9 @@ AC_CHECK_MEMBERS([struct termios.c_line],,, + AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec],,, + [[#include ]]) + ++AC_CHECK_TYPES([struct statx], [], [], [[#include ]]) + AC_CHECK_MEMBERS([struct statx.stx_mnt_id],,, +- [[#include ]]) ++ [[#include ]]) + + AC_CHECK_DECLS([_NL_TIME_WEEK_1STDAY],[],[],[[#include ]]) + +diff --git a/include/fileutils.h b/include/fileutils.h +index a5fe517266f..538eab0b74e 100644 +--- a/include/fileutils.h ++++ b/include/fileutils.h +@@ -94,13 +94,13 @@ static inline int close_range(unsigned int first, unsigned int last, int flags) + # define HAVE_CLOSE_RANGE 1 + # endif /* SYS_close_range */ + +-# if !defined(HAVE_STATX) && defined(HAVE_STRUCT_STATX) && defined(SYS_statx) && defined(HAVE_LINUX_STAT_H) +-# include ++# if !defined(HAVE_STATX) && defined(HAVE_STRUCT_STATX) && defined(SYS_statx) + static inline int statx(int fd, const char *restrict path, int flags, + unsigned int mask, struct statx *stx) + { + return syscall(SYS_statx, fd, path, flags, mask, stx); + } ++# define HAVE_STATX 1 + # endif /* SYS_statx */ + + #endif /* HAVE_SYS_SYSCALL_H */ +diff --git a/libmount/src/hook_mount.c b/libmount/src/hook_mount.c +index 056338c4914..0ebb8299853 100644 +--- a/libmount/src/hook_mount.c ++++ b/libmount/src/hook_mount.c +@@ -294,7 +294,7 @@ static int hook_create_mount(struct libmnt_context *cxt, + /* cleanup after fail (libmount may only try the FS type) */ + close_sysapi_fds(api); + +-#if defined(HAVE_STRUCT_STATX) && defined(HAVE_STRUCT_STATX_STX_MNT_ID) ++#if defined(HAVE_STATX) && defined(HAVE_STRUCT_STATX) && defined(HAVE_STRUCT_STATX_STX_MNT_ID) + if (!rc && cxt->fs) { + struct statx st; + +diff --git a/libmount/src/utils.c b/libmount/src/utils.c +index 1d3f4abcece..3817b392711 100644 +--- a/libmount/src/utils.c ++++ b/libmount/src/utils.c +@@ -111,7 +111,7 @@ static int safe_stat(const char *target, struct stat *st, int nofollow) + + memset(st, 0, sizeof(struct stat)); + +-#if defined(AT_STATX_DONT_SYNC) && defined (HAVE_STRUCT_STATX) ++#if defined(HAVE_STATX) && defined(HAVE_STRUCT_STATX) && defined(AT_STATX_DONT_SYNC) + { + int rc; + struct statx stx = { 0 }; +diff --git a/meson.build b/meson.build +index 9a36c9157cc..d412ff38203 100644 +--- a/meson.build ++++ b/meson.build +@@ -84,7 +84,7 @@ have_mountfd_api = cc.sizeof('struct mount_attr', prefix : '#include ') > 0 ++have_struct_statx = cc.sizeof('struct statx', prefix : '#include ') > 0 + conf.set('HAVE_STRUCT_STATX', have_struct_statx ? 1 : false) + + build_libmount = not get_option('build-libmount').disabled() +@@ -182,7 +182,6 @@ headers = ''' + linux/nsfs.h + linux/mount.h + linux/pr.h +- linux/stat.h + linux/securebits.h + linux/tiocl.h + linux/version.h +@@ -645,7 +644,7 @@ have = cc.has_member('struct stat', 'st_mtim.tv_nsec', + conf.set('HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC', have ? 1 : false) + + have = cc.has_member('struct statx', 'stx_mnt_id', +- prefix : '#include ') ++ prefix : '#include ') + conf.set('HAVE_STRUCT_STATX_STX_MNT_ID', have ? 1 : false) + + # replacement for AC_STRUCT_TIMEZONE diff --git a/package/util-linux/util-linux-libs/0001-libmount-fix-statx-includes.patch b/package/util-linux/util-linux-libs/0001-libmount-fix-statx-includes.patch new file mode 120000 index 0000000000..bc21ebedb7 --- /dev/null +++ b/package/util-linux/util-linux-libs/0001-libmount-fix-statx-includes.patch @@ -0,0 +1 @@ +../0001-libmount-fix-statx-includes.patch \ No newline at end of file diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index ed9512c33c..fbfe579364 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -31,7 +31,7 @@ UTIL_LINUX_LICENSE_FILES = README.licensing \ UTIL_LINUX_CPE_ID_VENDOR = kernel -# 0001-libmount-ifdef-statx-call.patch +# 0001-libmount-fix-statx-includes.patch UTIL_LINUX_AUTORECONF = YES UTIL_LINUX_INSTALL_STAGING = YES -- 2.39.2 From adam.duskett at amarulasolutions.com Mon Oct 9 14:22:33 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:22:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/sysvinit: bump version to 3.04 Message-ID: <20231009142233.1773833-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/sysvinit/sysvinit.hash | 2 +- package/sysvinit/sysvinit.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/sysvinit/sysvinit.hash b/package/sysvinit/sysvinit.hash index f81e55fc44..67b0ab38f0 100644 --- a/package/sysvinit/sysvinit.hash +++ b/package/sysvinit/sysvinit.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 b05c3677bb698afe64c997968b00c49b2a9bd320ce963523230ee7ea41197757 sysvinit-2.99.tar.xz +sha256 2a621fe6e4528bc91308b74867ddaaebbdf7753f02395c0c5bae817bd2b7e3a5 sysvinit-3.04.tar.xz # Hash for license files: sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk index 1bf10deb63..b7fe39ca43 100644 --- a/package/sysvinit/sysvinit.mk +++ b/package/sysvinit/sysvinit.mk @@ -4,7 +4,7 @@ # ################################################################################ -SYSVINIT_VERSION = 2.99 +SYSVINIT_VERSION = 3.04 SYSVINIT_SOURCE = sysvinit-$(SYSVINIT_VERSION).tar.xz SYSVINIT_SITE = http://download.savannah.nongnu.org/releases/sysvinit SYSVINIT_LICENSE = GPL-2.0+ -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:29:12 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:29:12 +0200 Subject: [Buildroot] [PATCH 1/4] package/openrc: bump version to 0.50 Message-ID: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> - Convert to a meson package. - Remove uneeded make opts and installation commands. - Change OPENRC_MAKE_OPTS to OPENRC_CONF_OPTS Signed-off-by: Adam Duskett --- ....in-change-run-lock-from-root-uucp-t.patch | 2 +- ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++--------- ...lso-create-run-lock-subsys-directory.patch | 2 +- package/openrc/openrc.hash | 4 +- package/openrc/openrc.mk | 38 ++++--------------- 5 files changed, 30 insertions(+), 51 deletions(-) diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch index 457fbacb5b..2f0a81bbd3 100644 --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 222bbd3b..7f1a88db 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -85,7 +85,7 @@ fi +@@ -83,7 +83,7 @@ fi fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch index 733506ada9..41c367d953 100644 --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles only). Signed-off-by: Carlos Santos +Signed-off-by: Adam Duskett +Refresh for 0.50 --- - runlevels/Makefile | 6 ------ + tools/meson_runlevels.sh | 6 ------ 1 file changed, 6 deletions(-) -diff --git a/runlevels/Makefile b/runlevels/Makefile -index 73843d8b..dbfb59ca 100644 ---- a/runlevels/Makefile -+++ b/runlevels/Makefile -@@ -90,12 +90,6 @@ install: - fi; \ - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ - fi -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ -- done; \ -- fi - - check test:: +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh +index 1473d4e..eee256b 100755 +--- a/tools/meson_runlevels.sh ++++ b/tools/meson_runlevels.sh +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" + done + fi +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" +- done; +-fi + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" -- 2.18.2 diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch index cf592a88b0..ad78a4b8f7 100644 --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index e8afc1fb..662ab223 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash index 4fcfa9132f..24a6878911 100644 --- a/package/openrc/openrc.hash +++ b/package/openrc/openrc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 1d4e70f712..01c23a2a79 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.43.3 +OPENRC_VERSION = 0.50 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE @@ -12,40 +12,18 @@ OPENRC_CPE_ID_VENDOR = openrc_project OPENRC_DEPENDENCIES = ncurses -# set LIBNAME so openrc puts files in proper directories and sets proper -# paths in installed files. Since in buildroot /lib64 and /lib32 always -# points to /lib, it's safe to hardcode it to "lib" -OPENRC_MAKE_OPTS = \ - LIBNAME=lib \ - LIBEXECDIR=/usr/libexec/rc \ - MKPKGCONFIG=no \ - MKSYSVINIT=yes \ - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ - CC=$(TARGET_CC) - -ifeq ($(BR2_SHARED_LIBS),y) -OPENRC_MAKE_OPTS += MKSTATICLIBS=no -else -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes -endif +OPENRC_CONF_OPTS = \ + -Dos=Linux \ + -Dpkgconfig=false \ + -Dsysvinit=true ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux else -OPENRC_MAKE_OPTS += MKSELINUX=no +OPENRC_CONF_OPTS += -Dselinux=disabled endif -define OPENRC_BUILD_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) -endef - -define OPENRC_INSTALL_TARGET_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install - $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ - $(TARGET_DIR)/etc/init.d/sysv-rcs -endef - ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so # remove them if the kbd package is not selected (e.g. devices with serial @@ -90,4 +68,4 @@ endef OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY endif # BR2_TARGET_GENERIC_GETTY -$(eval $(generic-package)) +$(eval $(meson-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:29:13 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:29:13 +0200 Subject: [Buildroot] [PATCH 2/4] package/openrc: add linux-pam support In-Reply-To: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009142915.1775087-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 01c23a2a79..5e667de7f8 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -24,6 +24,13 @@ else OPENRC_CONF_OPTS += -Dselinux=disabled endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +OPENRC_CONF_OPTS += -Dpam=true +OPENRC_DEPENDENCIES += linux-pam +else +OPENRC_CONF_OPTS += -Dpam=false +endif + ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so # remove them if the kbd package is not selected (e.g. devices with serial -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:29:14 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:29:14 +0200 Subject: [Buildroot] [PATCH 3/4] package/openrc: add bash-completion support In-Reply-To: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009142915.1775087-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 5e667de7f8..80a9dec778 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -17,6 +17,12 @@ OPENRC_CONF_OPTS = \ -Dpkgconfig=false \ -Dsysvinit=true +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +OPENRC_CONF_OPTS += -Dbash-completions=true +else +OPENRC_CONF_OPTS += -Dbash-completions=false +endif + ifeq ($(BR2_PACKAGE_LIBSELINUX),y) OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:29:15 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:29:15 +0200 Subject: [Buildroot] [PATCH 4/4] package/openrc: add merged user support In-Reply-To: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009142915.1775087-4-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 80a9dec778..c80342a174 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -37,6 +37,12 @@ else OPENRC_CONF_OPTS += -Dpam=false endif +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +OPENRC_CONF_OPTS += -Dsplit-usr=true +else +OPENRC_CONF_OPTS += -Dsplit-usr=false +endif + ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so # remove them if the kbd package is not selected (e.g. devices with serial -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:31:22 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:31:22 +0200 Subject: [Buildroot] [PATCH 2/2] package/firewalld: enable firewalld selinux module In-Reply-To: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> References: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009143122.1775787-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/firewalld/firewalld.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 6b2813e54d..188550d449 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -23,6 +23,8 @@ FIREWALLD_DEPENDENCIES = \ python3 \ python-gobject +FIREWALLD_SELINUX_MODULES = firewalld + # Firewalld hard codes the python shebangs to the full path of the # python-interpreter. IE: #!/home/buildroot/output/host/bin/python. # Force the proper python path. -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:31:21 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:31:21 +0200 Subject: [Buildroot] [PATCH 1/2] package/firewalld: bump version to 2.0.1 Message-ID: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/firewalld/firewalld.hash | 2 +- package/firewalld/firewalld.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firewalld/firewalld.hash b/package/firewalld/firewalld.hash index d8be3f7ba0..53bfed0347 100644 --- a/package/firewalld/firewalld.hash +++ b/package/firewalld/firewalld.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 3be5a3caa36d1026c5b72d3f61dd963dccd953791b04af03d9946b24bef8391e firewalld-1.3.2.tar.gz +sha256 61022eec66fa7ea0561924dfe65d17bab5ec512b3559198a05048a32264612d1 firewalld-2.0.1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 13edba6d24..6b2813e54d 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -4,7 +4,7 @@ # ################################################################################ -FIREWALLD_VERSION = 1.3.2 +FIREWALLD_VERSION = 2.0.1 FIREWALLD_SITE = $(call github,firewalld,firewalld,v$(FIREWALLD_VERSION)) FIREWALLD_LICENSE = GPL-2.0 FIREWALLD_LICENSE_FILES = COPYING -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:34:40 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:34:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/openssh: select linux-pam if refpolicy upstream is selected Message-ID: <20231009143440.1776155-1-adam.duskett@amarulasolutions.com> linux-pam is required to login via OpenSSH if the upstream refpolicy for SELinux is enaabled, as linux-pam handles changing user contexts. If a user wants to make their own policy and use a refpolicy via git, we of course should let them do so. As such, only select linux-pam if the upstream version of refpolicy is selected. Signed-off-by: Adam Duskett --- package/openssh/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openssh/Config.in b/package/openssh/Config.in index 08d3c7d391..e7d8f46c07 100644 --- a/package/openssh/Config.in +++ b/package/openssh/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_OPENSSH depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_LINUX_PAM if BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION help A free version of the SSH protocol suite of network connectivity tools. The standard 'ssh', 'sshd', 'scp', and -- 2.41.0 From yann.morin.1998 at free.fr Mon Oct 9 14:58:54 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 16:58:54 +0200 Subject: [Buildroot] [PATCH 1/4] package/openrc: bump version to 0.50 In-Reply-To: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009145854.GA14234@scaer> Adam, All, On 2023-10-09 16:29 +0200, Adam Duskett spake thusly: > - Convert to a meson package. > - Remove uneeded make opts and installation commands. > - Change OPENRC_MAKE_OPTS to OPENRC_CONF_OPTS Don't describe the patch; explain it. For example: - why is the license hash changed? - why is the LIBNAME hack no longer needed (stating "Remove uneeded foo" is not really enough, maybe it's just "foo is now handled correctly by meson") - why don't we no longer need to install our sysv-rcs? And thus, why is it not removed from the tree? - where is the BRANDING gone? Regards, Yann E. MORIN. > Signed-off-by: Adam Duskett > --- > ....in-change-run-lock-from-root-uucp-t.patch | 2 +- > ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++--------- > ...lso-create-run-lock-subsys-directory.patch | 2 +- > package/openrc/openrc.hash | 4 +- > package/openrc/openrc.mk | 38 ++++--------------- > 5 files changed, 30 insertions(+), 51 deletions(-) > > diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch > index 457fbacb5b..2f0a81bbd3 100644 > --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch > +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch > @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in > index 222bbd3b..7f1a88db 100644 > --- a/sh/init.sh.Linux.in > +++ b/sh/init.sh.Linux.in > -@@ -85,7 +85,7 @@ fi > +@@ -83,7 +83,7 @@ fi > fi > > checkpath -d "$RC_SVCDIR" > diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch > index 733506ada9..41c367d953 100644 > --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch > +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch > @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles > only). > > Signed-off-by: Carlos Santos > +Signed-off-by: Adam Duskett > +Refresh for 0.50 > --- > - runlevels/Makefile | 6 ------ > + tools/meson_runlevels.sh | 6 ------ > 1 file changed, 6 deletions(-) > > -diff --git a/runlevels/Makefile b/runlevels/Makefile > -index 73843d8b..dbfb59ca 100644 > ---- a/runlevels/Makefile > -+++ b/runlevels/Makefile > -@@ -90,12 +90,6 @@ install: > - fi; \ > - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ > - fi > -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ > -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ > -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ > -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ > -- done; \ > -- fi > - > - check test:: > +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh > +index 1473d4e..eee256b 100755 > +--- a/tools/meson_runlevels.sh > ++++ b/tools/meson_runlevels.sh > +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then > + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" > + done > + fi > +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ > +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do > +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" > +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" > +- done; > +-fi > > + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" > -- > 2.18.2 > > diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch > index cf592a88b0..ad78a4b8f7 100644 > --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch > +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch > @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in > index e8afc1fb..662ab223 100644 > --- a/sh/init.sh.Linux.in > +++ b/sh/init.sh.Linux.in > -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then > +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then > fi > > checkpath -d "$RC_SVCDIR" > diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash > index 4fcfa9132f..24a6878911 100644 > --- a/package/openrc/openrc.hash > +++ b/package/openrc/openrc.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz > -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE > +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz > +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE > diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk > index 1d4e70f712..01c23a2a79 100644 > --- a/package/openrc/openrc.mk > +++ b/package/openrc/openrc.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -OPENRC_VERSION = 0.43.3 > +OPENRC_VERSION = 0.50 > OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) > OPENRC_LICENSE = BSD-2-Clause > OPENRC_LICENSE_FILES = LICENSE > @@ -12,40 +12,18 @@ OPENRC_CPE_ID_VENDOR = openrc_project > > OPENRC_DEPENDENCIES = ncurses > > -# set LIBNAME so openrc puts files in proper directories and sets proper > -# paths in installed files. Since in buildroot /lib64 and /lib32 always > -# points to /lib, it's safe to hardcode it to "lib" > -OPENRC_MAKE_OPTS = \ > - LIBNAME=lib \ > - LIBEXECDIR=/usr/libexec/rc \ > - MKPKGCONFIG=no \ > - MKSYSVINIT=yes \ > - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ > - CC=$(TARGET_CC) > - > -ifeq ($(BR2_SHARED_LIBS),y) > -OPENRC_MAKE_OPTS += MKSTATICLIBS=no > -else > -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes > -endif > +OPENRC_CONF_OPTS = \ > + -Dos=Linux \ > + -Dpkgconfig=false \ > + -Dsysvinit=true > > ifeq ($(BR2_PACKAGE_LIBSELINUX),y) > -OPENRC_MAKE_OPTS += MKSELINUX=yes > +OPENRC_CONF_OPTS += -Dselinux=enabled > OPENRC_DEPENDENCIES += libselinux > else > -OPENRC_MAKE_OPTS += MKSELINUX=no > +OPENRC_CONF_OPTS += -Dselinux=disabled > endif > > -define OPENRC_BUILD_CMDS > - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) > -endef > - > -define OPENRC_INSTALL_TARGET_CMDS > - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install > - $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ > - $(TARGET_DIR)/etc/init.d/sysv-rcs > -endef > - > ifeq ($(BR2_PACKAGE_KBD),) > # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so > # remove them if the kbd package is not selected (e.g. devices with serial > @@ -90,4 +68,4 @@ endef > OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY > endif # BR2_TARGET_GENERIC_GETTY > > -$(eval $(generic-package)) > +$(eval $(meson-package)) > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 15:00:43 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:00:43 +0200 Subject: [Buildroot] [PATCH 4/4] package/openrc: add merged user support In-Reply-To: <20231009142915.1775087-4-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> <20231009142915.1775087-4-adam.duskett@amarulasolutions.com> Message-ID: <20231009150042.GB14234@scaer> Adam, All, On 2023-10-09 16:29 +0200, Adam Duskett spake thusly: > Signed-off-by: Adam Duskett > --- > package/openrc/openrc.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk > index 80a9dec778..c80342a174 100644 > --- a/package/openrc/openrc.mk > +++ b/package/openrc/openrc.mk > @@ -37,6 +37,12 @@ else > OPENRC_CONF_OPTS += -Dpam=false > endif > > +ifeq ($(BR2_ROOTFS_MERGED_USR),y) > +OPENRC_CONF_OPTS += -Dsplit-usr=true So, if the user requested a merged usr, you instruct openrc to use a split usr, ... > +else > +OPENRC_CONF_OPTS += -Dsplit-usr=false ... and conversely? We need a runtime test to validate those two conditions. Regards, Yann E. MORIN. > +endif > + > ifeq ($(BR2_PACKAGE_KBD),) > # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so > # remove them if the kbd package is not selected (e.g. devices with serial > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 15:03:36 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:03:36 +0200 Subject: [Buildroot] [git commit] package/firewalld: bump version to 2.0.1 Message-ID: <20231009150615.41B188445E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bfb1ced92b570cde70a53062067771225ee752c7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- package/firewalld/firewalld.hash | 2 +- package/firewalld/firewalld.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firewalld/firewalld.hash b/package/firewalld/firewalld.hash index d8be3f7ba0..53bfed0347 100644 --- a/package/firewalld/firewalld.hash +++ b/package/firewalld/firewalld.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 3be5a3caa36d1026c5b72d3f61dd963dccd953791b04af03d9946b24bef8391e firewalld-1.3.2.tar.gz +sha256 61022eec66fa7ea0561924dfe65d17bab5ec512b3559198a05048a32264612d1 firewalld-2.0.1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 13edba6d24..6b2813e54d 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -4,7 +4,7 @@ # ################################################################################ -FIREWALLD_VERSION = 1.3.2 +FIREWALLD_VERSION = 2.0.1 FIREWALLD_SITE = $(call github,firewalld,firewalld,v$(FIREWALLD_VERSION)) FIREWALLD_LICENSE = GPL-2.0 FIREWALLD_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Mon Oct 9 15:03:42 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:03:42 +0200 Subject: [Buildroot] [git commit] package/firewalld: enable firewalld selinux module Message-ID: <20231009150615.5310D84460@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=96785cd8143d5905c7692b8b06864736c1178619 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- package/firewalld/firewalld.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 6b2813e54d..188550d449 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -23,6 +23,8 @@ FIREWALLD_DEPENDENCIES = \ python3 \ python-gobject +FIREWALLD_SELINUX_MODULES = firewalld + # Firewalld hard codes the python shebangs to the full path of the # python-interpreter. IE: #!/home/buildroot/output/host/bin/python. # Force the proper python path. From yann.morin.1998 at free.fr Mon Oct 9 15:06:27 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:06:27 +0200 Subject: [Buildroot] [PATCH 1/2] package/firewalld: bump version to 2.0.1 In-Reply-To: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> References: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009150627.GC14234@scaer> Adam, All, On 2023-10-09 16:31 +0200, Adam Duskett spake thusly: > Signed-off-by: Adam Duskett Both patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/firewalld/firewalld.hash | 2 +- > package/firewalld/firewalld.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/firewalld/firewalld.hash b/package/firewalld/firewalld.hash > index d8be3f7ba0..53bfed0347 100644 > --- a/package/firewalld/firewalld.hash > +++ b/package/firewalld/firewalld.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 3be5a3caa36d1026c5b72d3f61dd963dccd953791b04af03d9946b24bef8391e firewalld-1.3.2.tar.gz > +sha256 61022eec66fa7ea0561924dfe65d17bab5ec512b3559198a05048a32264612d1 firewalld-2.0.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk > index 13edba6d24..6b2813e54d 100644 > --- a/package/firewalld/firewalld.mk > +++ b/package/firewalld/firewalld.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FIREWALLD_VERSION = 1.3.2 > +FIREWALLD_VERSION = 2.0.1 > FIREWALLD_SITE = $(call github,firewalld,firewalld,v$(FIREWALLD_VERSION)) > FIREWALLD_LICENSE = GPL-2.0 > FIREWALLD_LICENSE_FILES = COPYING > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 15:12:00 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:12:00 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009080612.23347-2-adam.duskett@amarulasolutions.com> References: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> <20231009080612.23347-2-adam.duskett@amarulasolutions.com> Message-ID: <20231009151200.GD14234@scaer> Adam, All, Thanks for the quick respin. :-) On 2023-10-09 10:06 +0200, Adam Duskett spake thusly: > Refpolicy contexts expect a merged /usr file system. In fact, there > are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user > wants to go through the trouble of creating a policy that works with a > non-merged system, they should be free to do so. As such, only select > BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION. That last sentence is now incorrect. It could have been fixed when applying, but... > Signed-off-by: Adam Duskett > --- > v2 -> v3: Depends on, do not select BR2_ROOTFS_MERGED_USR [Yann] > > ...ount-dbus-interface-must-be-optional.patch | 33 ------------------- ... why is this patch removed? From the description of that patch, it does not look to be related to merged-usr at all... If that is due to the version bump, then it should have been part of the patch bumpng the version... Regards, Yann E. MORIN. > package/refpolicy/Config.in | 4 +++ > 2 files changed, 4 insertions(+), 33 deletions(-) > delete mode 100644 package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch > > diff --git a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch b/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch > deleted file mode 100644 > index adec7d98d0..0000000000 > --- a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch > +++ /dev/null > @@ -1,33 +0,0 @@ > -From 6c6be65ccf0891391681d4662cc11f508c0f4aeb Mon Sep 17 00:00:00 2001 > -From: Adam Duskett > -Date: Mon, 24 Apr 2023 14:24:49 -0700 > -Subject: [PATCH] mount: dbus interface must be optional > - > -If DBus isn't built, the build process fails due to mount.te always using a > -dbus interface even if the dbus module. Fix this by setting the dbus interface > -as optional. > - > -Signed-off-by: Adam Duskett > -Upstream: https://github.com/SELinuxProject/refpolicy/commit/207b09a656c2c3ac5c286d3f7eef085325e35408 > ---- > - policy/modules/system/mount.te | 4 +++- > - 1 file changed, 3 insertions(+), 1 deletion(-) > - > -diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te > -index d028723..af84af0 100644 > ---- a/policy/modules/system/mount.te > -+++ b/policy/modules/system/mount.te > -@@ -145,7 +145,9 @@ selinux_getattr_fs(mount_t) > - > - userdom_use_all_users_fds(mount_t) > - > --dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) > -+optional_policy(` > -+ dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) > -+') > - > - ifdef(`distro_redhat',` > - optional_policy(` > --- > -2.40.0 > - > diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in > index 0e72b895df..d2fe391d8d 100644 > --- a/package/refpolicy/Config.in > +++ b/package/refpolicy/Config.in > @@ -36,9 +36,13 @@ choice > > config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > bool "Upstream version" > + depends on BR2_ROOTFS_MERGED_USR > help > Use the refpolicy as provided by Buildroot. > > +comment "Upstream refpolicy requires a merged /usr filesystem" > + depends on !BR2_ROOTFS_MERGED_USR > + > config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT > bool "Custom git repository" > help > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 15:14:08 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:14:08 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009151200.GD14234@scaer> References: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> <20231009080612.23347-2-adam.duskett@amarulasolutions.com> <20231009151200.GD14234@scaer> Message-ID: <20231009151408.GE14234@scaer> Adam, All, Sorry, O was too fast at sending my reply... On 2023-10-09 17:12 +0200, Yann E. MORIN spake thusly: > On 2023-10-09 10:06 +0200, Adam Duskett spake thusly: > > Refpolicy contexts expect a merged /usr file system. In fact, there > > are no references to /bin, /sbin, /lib, or /lib64 at all Is this due to the version bump? If yes, then it should be part of the same patch. If not (i.e. that was already the case before the new version), then it should come before the version bump (so tht it can be more easily backported to maintenance branches) Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arbab at linux.ibm.com Mon Oct 9 15:17:22 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:22 -0500 Subject: [Buildroot] [PATCH v3 1/8] package/petitboot: fix menu comment In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-2-arbab@linux.ibm.com> The comment should appear if threads aren't enabled, not when they are. Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index 0b4dc762bbd8..b534b4900e88 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -26,6 +26,6 @@ comment "petitboot needs a uClibc or glibc toolchain w/ wchar, dynamic library, depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ - BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) || \ !BR2_PACKAGE_HAS_UDEV -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:24 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:24 -0500 Subject: [Buildroot] [PATCH v3 3/8] package/petitboot: use default logfile dir In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-4-arbab@linux.ibm.com> All the petitboot components assume /var/log/petitboot by default; pb-console can also put multiple logs there and pb-sos collects that directory when creating a diagnostic tarball. Defer to this default when launching pb-discover. If someone wants to override, let's call the file /etc/default/petitboot which makes more sense to be shared by all the components. Signed-off-by: Reza Arbab --- package/petitboot/S15pb-discover | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package/petitboot/S15pb-discover b/package/petitboot/S15pb-discover index 9b641298cafa..71ab62d99859 100644 --- a/package/petitboot/S15pb-discover +++ b/package/petitboot/S15pb-discover @@ -2,12 +2,9 @@ DAEMON="pb-discover" PIDFILE="/var/run/$DAEMON.pid" -LOGFILE="/var/log/$DAEMON.log" - -PB_DISCOVER_ARGS="-l $LOGFILE" # shellcheck source=/dev/null -[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" +[ -r "/etc/default/petitboot" ] && . "/etc/default/petitboot" if [ "$(pb-config debug)" = "enabled" ] ; then PB_DISCOVER_ARGS="$PB_DISCOVER_ARGS --verbose" @@ -15,6 +12,8 @@ fi start() { printf 'Starting %s: ' "$DAEMON" + mkdir -p /var/log/petitboot + # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ -- $PB_DISCOVER_ARGS -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:23 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:23 -0500 Subject: [Buildroot] [PATCH v3 2/8] package/petitboot: fix pb-discover pidfile creation In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-3-arbab@linux.ibm.com> pb-discover does not create its own pid file. Handle the creation and removal of the pid file in the init script. Signed-off-by: Reza Arbab --- package/petitboot/S15pb-discover | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/petitboot/S15pb-discover b/package/petitboot/S15pb-discover index 7ecc12e99103..9b641298cafa 100644 --- a/package/petitboot/S15pb-discover +++ b/package/petitboot/S15pb-discover @@ -16,7 +16,7 @@ fi start() { printf 'Starting %s: ' "$DAEMON" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -S -q -b -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ + start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ -- $PB_DISCOVER_ARGS status=$? if [ "$status" -eq 0 ]; then @@ -32,6 +32,7 @@ stop() { start-stop-daemon -K -q -p "$PIDFILE" status=$? if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" echo "OK" else echo "FAIL" -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:26 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:26 -0500 Subject: [Buildroot] [PATCH v3 5/8] package/petitboot: fix shutdown In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-6-arbab@linux.ibm.com> There are a few ways to set HOST_PROG_SHUTDOWN that enable us to successfully kexec the new kernel chosen from the petitboot menu. 1. HOST_PROG_SHUTDOWN=/usr/libexec/petitboot/bb-kexec-reboot `- bb-kexec-reboot does 'exec kill -QUIT 1' |- init sends SIGTERM to pb-console | `- pb-console does 'trap 'reset; echo "SIGTERM received, booting..."; sleep 2' SIGTERM' `- init runs 'null::restart:/usr/sbin/kexec-restart' `- kexec-restart does '/usr/sbin/kexec -f -e' 2. HOST_PROG_SHUTDOWN=/usr/sbin/kexec-restart `- kexec-restart does '/usr/sbin/kexec -f -e' 3. unset HOST_PROG_SHUTDOWN (default is /sbin/shutdown) `- petitboot tries, in order: |- 1. '/sbin/shutdown -r now' | `- file not found |- 2. '/usr/sbin/kexec -e' `- 3. '/usr/sbin/kexec -e -f' If we're using busybox init, do (1). This performs a proper shutdown before the kexec, giving us nice console output with a terminal reset and the "booting..." notification. Otherwise, fall back to (2). Signed-off-by: Reza Arbab --- package/petitboot/kexec-restart | 8 ++++++++ package/petitboot/petitboot.mk | 16 ++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100755 package/petitboot/kexec-restart diff --git a/package/petitboot/kexec-restart b/package/petitboot/kexec-restart new file mode 100755 index 000000000000..62fbea114513 --- /dev/null +++ b/package/petitboot/kexec-restart @@ -0,0 +1,8 @@ +#!/bin/sh + +/usr/sbin/kexec -f -e + +while : +do + sleep 1 +done diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk index 0992111cb1ec..5c7913b560b1 100644 --- a/package/petitboot/petitboot.mk +++ b/package/petitboot/petitboot.mk @@ -21,7 +21,6 @@ PETITBOOT_CONF_OPTS = \ --without-twin-x11 \ $(if $(BR2_PACKAGE_BUSYBOX),--enable-busybox,--disable-busybox) \ HOST_PROG_KEXEC=/usr/sbin/kexec \ - HOST_PROG_SHUTDOWN=/usr/libexec/petitboot/bb-kexec-reboot # HPA and Busybox tftp are supported. HPA tftp is part of Buildroot's tftpd # package. @@ -46,6 +45,17 @@ else PETITBOOT_CONF_OPTS += --without-fdt endif +ifeq ($(BR2_INIT_BUSYBOX),y) +PETITBOOT_CONF_OPTS += HOST_PROG_SHUTDOWN=/usr/libexec/petitboot/bb-kexec-reboot +define PETITBOOT_INITTAB + grep -q kexec-restart $(TARGET_DIR)/etc/inittab || \ + printf "\nnull::restart:/usr/sbin/kexec-restart\n" >> $(TARGET_DIR)/etc/inittab +endef +PETITBOOT_TARGET_FINALIZE_HOOKS += PETITBOOT_INITTAB +else +PETITBOOT_CONF_OPTS += HOST_PROG_SHUTDOWN=/usr/sbin/kexec-restart +endif + define PETITBOOT_POST_INSTALL $(INSTALL) -D -m 0755 $(@D)/utils/bb-kexec-reboot \ $(TARGET_DIR)/usr/libexec/petitboot/bb-kexec-reboot @@ -53,8 +63,10 @@ define PETITBOOT_POST_INSTALL $(TARGET_DIR)/etc/petitboot/boot.d/01-create-default-dtb $(INSTALL) -D -m 0755 $(@D)/utils/hooks/90-sort-dtb \ $(TARGET_DIR)/etc/petitboot/boot.d/90-sort-dtb - $(INSTALL) -m 0755 -D $(PETITBOOT_PKGDIR)/S15pb-discover \ + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/S15pb-discover \ $(TARGET_DIR)/etc/init.d/S15pb-discover + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/kexec-restart \ + $(TARGET_DIR)/usr/sbin/kexec-restart mkdir -p $(TARGET_DIR)/usr/share/udhcpc/default.script.d/ ln -sf /usr/sbin/pb-udhcpc \ $(TARGET_DIR)/usr/share/udhcpc/default.script.d/ -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:27 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:27 -0500 Subject: [Buildroot] [PATCH v3 6/8] package/petitboot: run petitboot UI on consoles In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-7-arbab@linux.ibm.com> Display the petitboot UI instead of a login prompt, allowing the configuration of custom tty(s) as we do for the login prompt. petitboot already depends on udev, so let's use it instead of rcS to launch pb-console. This has the advantage of easily wildcarding the list of ttys ("hvc*") and enables hotplug devices ("ttyUSB0"). Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 8 ++++++++ package/petitboot/pb-console | 36 ++++++++++++++++++++++++++++++++++ package/petitboot/petitboot.mk | 10 ++++++++++ system/Config.in | 2 +- 4 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 package/petitboot/pb-console diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index 4981c165bf76..5f1d91e77ecb 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -28,3 +28,11 @@ comment "petitboot needs a uClibc or glibc toolchain w/ wchar, dynamic library, !BR2_TOOLCHAIN_HAS_THREADS || \ !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) || \ !BR2_PACKAGE_HAS_UDEV + +config BR2_PACKAGE_PETITBOOT_GETTY_PORT + string "TTY port(s)" + default "console" + depends on BR2_PACKAGE_PETITBOOT + help + Specify a space-separated list of ports to run the petitboot UI on. + Wildcards are allowed. Example: "hvc* ttys0 ttyS*" diff --git a/package/petitboot/pb-console b/package/petitboot/pb-console new file mode 100644 index 000000000000..407ff3b30232 --- /dev/null +++ b/package/petitboot/pb-console @@ -0,0 +1,36 @@ +#!/bin/sh + +DAEMON="pb-console" + +PB_CONSOLE_PORT=${2:-"console"} +PB_CONSOLE_ARGS="--getty --detach -- -n -i 0 $PB_CONSOLE_PORT linux" + +# shellcheck source=/dev/null +[ -r "/etc/default/petitboot" ] && . "/etc/default/petitboot" + +start() { + printf 'Starting %s on %s: ' "$DAEMON" "$PB_CONSOLE_PORT" + mkdir -p /var/log/petitboot + + # shellcheck disable=SC2086 # we need the word splitting + start-stop-daemon -S -q -x "/usr/libexec/petitboot/$DAEMON" \ + -- $PB_CONSOLE_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +case "$1" in + start) + "$1";; + stop|restart|reload) + ;; + *) + echo "Usage: $0 {start|stop|restart|reload} [port]" + exit 1 + ;; +esac diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk index 5c7913b560b1..ff87f3498734 100644 --- a/package/petitboot/petitboot.mk +++ b/package/petitboot/petitboot.mk @@ -56,6 +56,8 @@ else PETITBOOT_CONF_OPTS += HOST_PROG_SHUTDOWN=/usr/sbin/kexec-restart endif +PETITBOOT_GETTY_PORT = $(patsubst %,'%',$(call qstrip,$(BR2_PACKAGE_PETITBOOT_GETTY_PORT))) + define PETITBOOT_POST_INSTALL $(INSTALL) -D -m 0755 $(@D)/utils/bb-kexec-reboot \ $(TARGET_DIR)/usr/libexec/petitboot/bb-kexec-reboot @@ -67,6 +69,14 @@ define PETITBOOT_POST_INSTALL $(TARGET_DIR)/etc/init.d/S15pb-discover $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/kexec-restart \ $(TARGET_DIR)/usr/sbin/kexec-restart + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/pb-console \ + $(TARGET_DIR)/etc/init.d/pb-console + + mkdir -p $(TARGET_DIR)/etc/udev/rules.d + (for port in $(PETITBOOT_GETTY_PORT); do \ + printf 'SUBSYSTEM=="tty", KERNEL=="%s", RUN+="/etc/init.d/pb-console start $$name"\n' "$$port"; \ + done) > $(TARGET_DIR)/etc/udev/rules.d/petitboot-console-ui.rules + mkdir -p $(TARGET_DIR)/usr/share/udhcpc/default.script.d/ ln -sf /usr/sbin/pb-udhcpc \ $(TARGET_DIR)/usr/share/udhcpc/default.script.d/ diff --git a/system/Config.in b/system/Config.in index 24798dc06803..9587dd9ce4db 100644 --- a/system/Config.in +++ b/system/Config.in @@ -375,7 +375,7 @@ config BR2_SYSTEM_BIN_SH menuconfig BR2_TARGET_GENERIC_GETTY bool "Run a getty (login prompt) after boot" - default y + default y if !BR2_PACKAGE_PETITBOOT if BR2_TARGET_GENERIC_GETTY config BR2_TARGET_GENERIC_GETTY_PORT -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:28 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:28 -0500 Subject: [Buildroot] [PATCH v3 7/8] package/petitboot: enable user separation In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-8-arbab@linux.ibm.com> Run the petitboot UI as an unprivileged user. This requires using the agetty package instead of the busybox getty utility, running the initial pb-console helper at user login rather than directly. If sudo is installed, with a sudoers policy allowing petituser to perform sudo with no password (or a blank password), the "drop to shell" feature of petitboot will automatically become a root shell. Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 1 + package/petitboot/S15pb-discover | 4 +++- package/petitboot/pb-console | 6 ++++-- package/petitboot/petitboot.mk | 12 ++++++++++++ package/petitboot/shell_config | 24 ++++++++++++++++++++++++ package/petitboot/shell_profile | 2 ++ 6 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 package/petitboot/shell_config create mode 100644 package/petitboot/shell_profile diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index 5f1d91e77ecb..0f965e71e628 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -16,6 +16,7 @@ config BR2_PACKAGE_PETITBOOT select BR2_PACKAGE_KEXEC_LITE if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) select BR2_PACKAGE_NVME if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) + select BR2_PACKAGE_UTIL_LINUX_AGETTY help Petitboot is a small kexec-based bootloader diff --git a/package/petitboot/S15pb-discover b/package/petitboot/S15pb-discover index 71ab62d99859..a37e33521f1a 100644 --- a/package/petitboot/S15pb-discover +++ b/package/petitboot/S15pb-discover @@ -12,7 +12,9 @@ fi start() { printf 'Starting %s: ' "$DAEMON" - mkdir -p /var/log/petitboot + # shellcheck disable=SC2174 # only apply -m to deepest dir + mkdir -p -m 0775 /var/log/petitboot + chown root:petitgroup /var/log/petitboot # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ diff --git a/package/petitboot/pb-console b/package/petitboot/pb-console index 407ff3b30232..eea40163d02f 100644 --- a/package/petitboot/pb-console +++ b/package/petitboot/pb-console @@ -3,14 +3,16 @@ DAEMON="pb-console" PB_CONSOLE_PORT=${2:-"console"} -PB_CONSOLE_ARGS="--getty --detach -- -n -i 0 $PB_CONSOLE_PORT linux" +PB_CONSOLE_ARGS="--getty=/sbin/agetty --detach -- -a petituser -n -i $PB_CONSOLE_PORT linux" # shellcheck source=/dev/null [ -r "/etc/default/petitboot" ] && . "/etc/default/petitboot" start() { printf 'Starting %s on %s: ' "$DAEMON" "$PB_CONSOLE_PORT" - mkdir -p /var/log/petitboot + # shellcheck disable=SC2174 # only apply -m to deepest dir + mkdir -p -m 0775 /var/log/petitboot + chown root:petitgroup /var/log/petitboot # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -x "/usr/libexec/petitboot/$DAEMON" \ diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk index ff87f3498734..5b517eb3b1a6 100644 --- a/package/petitboot/petitboot.mk +++ b/package/petitboot/petitboot.mk @@ -71,6 +71,10 @@ define PETITBOOT_POST_INSTALL $(TARGET_DIR)/usr/sbin/kexec-restart $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/pb-console \ $(TARGET_DIR)/etc/init.d/pb-console + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/shell_config \ + $(TARGET_DIR)/home/petituser/.shrc + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/shell_profile \ + $(TARGET_DIR)/home/petituser/.profile mkdir -p $(TARGET_DIR)/etc/udev/rules.d (for port in $(PETITBOOT_GETTY_PORT); do \ @@ -84,4 +88,12 @@ endef PETITBOOT_POST_INSTALL_TARGET_HOOKS += PETITBOOT_POST_INSTALL +define PETITBOOT_USERS + petituser -1 petitgroup -1 * /home/petituser /bin/sh - petitboot user +endef + +define PETITBOOT_PERMISSIONS + /var/petitboot d 775 root petitgroup - - - - - +endef + $(eval $(autotools-package)) diff --git a/package/petitboot/shell_config b/package/petitboot/shell_config new file mode 100644 index 000000000000..b10b95baae6c --- /dev/null +++ b/package/petitboot/shell_config @@ -0,0 +1,24 @@ +#!/bin/sh + +try_sudo() { + [ -x "$(command -v sudo)" ] || return + sudo -K + echo | sudo -S /bin/true >/dev/null 2>&1 || return + + echo "No password required, running as root." + sudo -i + sudo -K + exit +} + +reset + +echo "Exiting petitboot. Type 'exit' to return." +echo "You may run 'pb-sos' to gather diagnostic data." + +if [ "$(id -u)" != "0" ]; then + try_sudo + export PS1='$ ' +else + export PS1='# ' +fi diff --git a/package/petitboot/shell_profile b/package/petitboot/shell_profile new file mode 100644 index 000000000000..1ca5e6364dba --- /dev/null +++ b/package/petitboot/shell_profile @@ -0,0 +1,2 @@ +export ENV="/home/petituser/.shrc" +exec /usr/libexec/petitboot/pb-console -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:25 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:25 -0500 Subject: [Buildroot] [PATCH v3 4/8] package/petitboot: prefer kexec-lite on powerpc In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-5-arbab@linux.ibm.com> This is a better choice on devicetree-based platforms. Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index b534b4900e88..4981c165bf76 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -11,12 +11,11 @@ config BR2_PACKAGE_PETITBOOT select BR2_PACKAGE_ELFUTILS select BR2_PACKAGE_LVM2 # devmapper select BR2_PACKAGE_NCURSES - # run-time dependency only + # run-time dependencies select BR2_PACKAGE_KEXEC if !BR2_PACKAGE_KEXEC_LITE - # run-time dependency only - select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) - # run-time dependency only + select BR2_PACKAGE_KEXEC_LITE if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) select BR2_PACKAGE_NVME if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) + select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) help Petitboot is a small kexec-based bootloader -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:21 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:21 -0500 Subject: [Buildroot] [PATCH v3 0/8] package/petitboot: misc fixes/enhancement Message-ID: <20231009151729.2223963-1-arbab@linux.ibm.com> The br2-external tree used to build OpenPOWER firmware has long carried petitboot as a custom package[1]. Now that petitboot has been added to buildroot proper, it would be nice to leverage the base package instead. To make that transition easier, here is a set of patches which port over some of the enhancements made to that external package. [1] https://github.com/open-power/op-build/tree/master/openpower/package/petitboot --- v3: * Add a number of small fixes. * Add user separation, so the UI runs as non-root. * Remove udev rules that enabled some additional types of boot devices. These should more appropriately live outside of buildroot. * Remove a sysctl.d file to silence kernel output. I think there's a bug upstream; see https://github.com/open-power/petitboot/pull/103 v2: * Use Laurent's suggested additions to "run pb-console at boot" patch. Reza Arbab (8): package/petitboot: fix menu comment package/petitboot: fix pb-discover pidfile creation package/petitboot: use default logfile dir package/petitboot: prefer kexec-lite on powerpc package/petitboot: fix shutdown package/petitboot: run petitboot UI on consoles package/petitboot: enable user separation package/petitboot: prefer UTF-8 support package/petitboot/Config.in | 26 +++++++++++++++------ package/petitboot/S15pb-discover | 13 +++++++---- package/petitboot/kexec-restart | 8 +++++++ package/petitboot/pb-console | 39 ++++++++++++++++++++++++++++++++ package/petitboot/petitboot.mk | 38 +++++++++++++++++++++++++++++-- package/petitboot/shell_config | 24 ++++++++++++++++++++ package/petitboot/shell_profile | 5 ++++ system/Config.in | 2 +- 8 files changed, 140 insertions(+), 15 deletions(-) create mode 100755 package/petitboot/kexec-restart create mode 100644 package/petitboot/pb-console create mode 100644 package/petitboot/shell_config create mode 100644 package/petitboot/shell_profile -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:29 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:29 -0500 Subject: [Buildroot] [PATCH v3 8/8] package/petitboot: prefer UTF-8 support In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-9-arbab@linux.ibm.com> The petitboot UI looks much nicer in a Unicode locale: * Items in the language selection submenu use multibyte Unicode characters. In other locales, they say "Unable to display text in this locale". * The combination of TERM=linux with a UTF-8 locale is required to trigger a special-case workaround in ncurses code[1]. Without this, line-drawing characters in the menu look like q's. Add a reminder that a UTF-8 locale should be generated for things to look right. Assume C.UTF-8 by default, allowing $LANG to be overridden (by /etc/default/petitboot or otherwise) if something else is desired. [1] https://invisible-island.net/ncurses/ncurses.faq.html#no_line_drawing Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 8 ++++++-- package/petitboot/S15pb-discover | 1 + package/petitboot/pb-console | 1 + package/petitboot/shell_profile | 3 +++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index 0f965e71e628..a449ed87872c 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_PETITBOOT depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS depends on BR2_USE_MMU # lvm2 depends on BR2_USE_WCHAR # elfutils + depends on BR2_ENABLE_LOCALE depends on !BR2_STATIC_LIBS # elfutils, lvm2 depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, lvm2 depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils @@ -11,6 +12,7 @@ config BR2_PACKAGE_PETITBOOT select BR2_PACKAGE_ELFUTILS select BR2_PACKAGE_LVM2 # devmapper select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_NCURSES_WCHAR # run-time dependencies select BR2_PACKAGE_KEXEC if !BR2_PACKAGE_KEXEC_LITE select BR2_PACKAGE_KEXEC_LITE if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) @@ -20,12 +22,14 @@ config BR2_PACKAGE_PETITBOOT help Petitboot is a small kexec-based bootloader + NOTE: petitboot needs a working UTF-8 locale (BR2_GENERATE_LOCALE) + http://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html -comment "petitboot needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, udev /dev management" +comment "petitboot needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library, threads, udev /dev management" depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ + depends on !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE || BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_THREADS || \ !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) || \ !BR2_PACKAGE_HAS_UDEV diff --git a/package/petitboot/S15pb-discover b/package/petitboot/S15pb-discover index a37e33521f1a..15b428ce0e42 100644 --- a/package/petitboot/S15pb-discover +++ b/package/petitboot/S15pb-discover @@ -15,6 +15,7 @@ start() { # shellcheck disable=SC2174 # only apply -m to deepest dir mkdir -p -m 0775 /var/log/petitboot chown root:petitgroup /var/log/petitboot + export LANG="${LANG:-C.UTF-8}" # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ diff --git a/package/petitboot/pb-console b/package/petitboot/pb-console index eea40163d02f..55e5462f0457 100644 --- a/package/petitboot/pb-console +++ b/package/petitboot/pb-console @@ -13,6 +13,7 @@ start() { # shellcheck disable=SC2174 # only apply -m to deepest dir mkdir -p -m 0775 /var/log/petitboot chown root:petitgroup /var/log/petitboot + export LANG="${LANG:-C.UTF-8}" # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -x "/usr/libexec/petitboot/$DAEMON" \ diff --git a/package/petitboot/shell_profile b/package/petitboot/shell_profile index 1ca5e6364dba..6bbe49e6d113 100644 --- a/package/petitboot/shell_profile +++ b/package/petitboot/shell_profile @@ -1,2 +1,5 @@ +[ -r "/etc/default/petitboot" ] && . "/etc/default/petitboot" export ENV="/home/petituser/.shrc" +export LANG="${LANG:-C.UTF-8}" + exec /usr/libexec/petitboot/pb-console -- 2.39.3 From james.hilliard1 at gmail.com Mon Oct 9 15:50:18 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 9 Oct 2023 09:50:18 -0600 Subject: [Buildroot] [PATCH 1/1] package/libubootenv: bump to version 0.3.5 Message-ID: <20231009155018.1310642-1-james.hilliard1@gmail.com> Drop patch which is now upstream. Signed-off-by: James Hilliard --- ...-fix-bug-when-SPI-flash-write-size-s.patch | 71 ------------------- package/libubootenv/libubootenv.hash | 2 +- package/libubootenv/libubootenv.mk | 2 +- 3 files changed, 2 insertions(+), 73 deletions(-) delete mode 100644 package/libubootenv/0002-Revert-fw_setenv-fix-bug-when-SPI-flash-write-size-s.patch diff --git a/package/libubootenv/0002-Revert-fw_setenv-fix-bug-when-SPI-flash-write-size-s.patch b/package/libubootenv/0002-Revert-fw_setenv-fix-bug-when-SPI-flash-write-size-s.patch deleted file mode 100644 index 414cb3d205..0000000000 --- a/package/libubootenv/0002-Revert-fw_setenv-fix-bug-when-SPI-flash-write-size-s.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 35bbc4d8155ed86ca7200e060dad98bdfbce684d Mon Sep 17 00:00:00 2001 -From: Stefano Babic -Date: Thu, 15 Jun 2023 16:54:46 +0200 -Subject: [PATCH] Revert "fw_setenv: fix bug when SPI flash write size != - sector size" - -This reverts commit 44ecc1c216007272a6f99a104a71c9d410969d9e. - -mtd writesize was errouneously interpreted as maximum allowed size, but -it is the minimum size. The patch raises performance issues because on -NOR flashes single bytes are written. - -Signed-off-by: Stefano Babic -Upstream: https://github.com/sbabic/libubootenv/commit/9f17a00ee56dc5cfb1d9b51e6639d67b64cb3309 -Signed-off-by: Brandon Maier ---- - src/uboot_env.c | 29 +++++++++-------------------- - 1 file changed, 9 insertions(+), 20 deletions(-) - -diff --git a/src/uboot_env.c b/src/uboot_env.c -index c5eefe7..76e2619 100644 ---- a/src/uboot_env.c -+++ b/src/uboot_env.c -@@ -712,8 +712,6 @@ static int mtdwrite(struct uboot_flash_env *dev, void *data) - sectors = dev->envsectors ? dev->envsectors : 1; - buf = data; - while (count > 0) { -- int blockcount; -- - erase.start = start; - - skip = is_nand_badblock(dev, start); -@@ -744,26 +742,17 @@ static int mtdwrite(struct uboot_flash_env *dev, void *data) - ret =-EIO; - goto devwrite_out; - } -- -- blockcount = blocksize; -- -- /* writesize can be different than the sector size. */ -- -- while (blockcount > 0) { -- if (lseek(dev->fd, start, SEEK_SET) < 0) { -- ret =-EIO; -- goto devwrite_out; -- } -- if (write(dev->fd, buf, dev->mtdinfo.writesize) != dev->mtdinfo.writesize) { -- ret =-EIO; -- goto devwrite_out; -- } -- -- blockcount -= dev->mtdinfo.writesize; -- start += dev->mtdinfo.writesize; -- buf += dev->mtdinfo.writesize; -+ if (lseek(dev->fd, start, SEEK_SET) < 0) { -+ ret =-EIO; -+ goto devwrite_out; -+ } -+ if (write(dev->fd, buf, blocksize) != blocksize) { -+ ret =-EIO; -+ goto devwrite_out; - } - MTDLOCK(dev, &erase); -+ start += dev->sectorsize; -+ buf += blocksize; - count -= blocksize; - ret += blocksize; - } --- -2.41.0 - diff --git a/package/libubootenv/libubootenv.hash b/package/libubootenv/libubootenv.hash index b881994bfd..887ad6843d 100644 --- a/package/libubootenv/libubootenv.hash +++ b/package/libubootenv/libubootenv.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 78faadcfac67e50273e5d4e95e6cf6fee3d486ce9dc568d1fe25312271a88768 libubootenv-0.3.4.tar.gz +sha256 dc27ddcb377e259d898256e90449bc3128437660cacc33dc75f6630d3e52c44e libubootenv-0.3.5.tar.gz sha256 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192 LICENSES/CC0-1.0.txt sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1-or-later.txt sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSES/MIT.txt diff --git a/package/libubootenv/libubootenv.mk b/package/libubootenv/libubootenv.mk index b4c9588107..e5f5e9b15a 100644 --- a/package/libubootenv/libubootenv.mk +++ b/package/libubootenv/libubootenv.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBUBOOTENV_VERSION = 0.3.4 +LIBUBOOTENV_VERSION = 0.3.5 LIBUBOOTENV_SITE = $(call github,sbabic,libubootenv,v$(LIBUBOOTENV_VERSION)) LIBUBOOTENV_LICENSE = LGPL-2.1+, MIT, CC0-1.0 LIBUBOOTENV_LICENSE_FILES = LICENSES/CC0-1.0.txt \ -- 2.34.1 From adam.duskett at amarulasolutions.com Mon Oct 9 16:18:17 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 18:18:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-generic: Auto-install selinux modules only for upstream refpolicy Message-ID: <20231009161817.2832969-1-adam.duskett@amarulasolutions.com> The description of REFPOLICY_CUSTOM_GIT states: The custom refpolicy must define the full policy explicitly, and must be a fork of the original refpolicy, to have the same build system. When this is selected, only the custom policy definition are taken into account and all the modules of the policy are built into the binary policy. Currently, if a user definess their own policy, a package containing a selinux directory would add to their custom policy, which is not what they would want. Disable applying selinux policies in selinux/ directories for custom git refpolicies. Signed-off-by: Adam Duskett --- package/pkg-generic.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 6e944dd6b7..28595a105c 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -1237,8 +1237,11 @@ KEEP_PYTHON_PY_FILES += $$($(2)_KEEP_PY_FILES) ifneq ($$($(2)_SELINUX_MODULES),) PACKAGES_SELINUX_MODULES += $$($(2)_SELINUX_MODULES) endif + +ifeq ($(BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION),y) PACKAGES_SELINUX_EXTRA_MODULES_DIRS += \ $$(if $$(wildcard $$($(2)_PKGDIR)/selinux),$$($(2)_PKGDIR)/selinux) +endif ifeq ($$($(2)_SITE_METHOD),svn) DL_TOOLS_DEPENDENCIES += svn -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 17:04:27 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 19:04:27 +0200 Subject: [Buildroot] [PATCH v4 1/2] package/refpolicy: bump version to 2.20231002 Message-ID: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> Drop upstream patch Signed-off-by: Adam Duskett --- v3 -> v4: Drop upstream patch in this patch. ...ount-dbus-interface-must-be-optional.patch | 33 ------------------- package/refpolicy/refpolicy.hash | 2 +- package/refpolicy/refpolicy.mk | 2 +- 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch diff --git a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch b/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch deleted file mode 100644 index adec7d98d0..0000000000 --- a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6c6be65ccf0891391681d4662cc11f508c0f4aeb Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 24 Apr 2023 14:24:49 -0700 -Subject: [PATCH] mount: dbus interface must be optional - -If DBus isn't built, the build process fails due to mount.te always using a -dbus interface even if the dbus module. Fix this by setting the dbus interface -as optional. - -Signed-off-by: Adam Duskett -Upstream: https://github.com/SELinuxProject/refpolicy/commit/207b09a656c2c3ac5c286d3f7eef085325e35408 ---- - policy/modules/system/mount.te | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te -index d028723..af84af0 100644 ---- a/policy/modules/system/mount.te -+++ b/policy/modules/system/mount.te -@@ -145,7 +145,9 @@ selinux_getattr_fs(mount_t) - - userdom_use_all_users_fds(mount_t) - --dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+optional_policy(` -+ dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+') - - ifdef(`distro_redhat',` - optional_policy(` --- -2.40.0 - diff --git a/package/refpolicy/refpolicy.hash b/package/refpolicy/refpolicy.hash index a09e59c270..70d1acc9af 100644 --- a/package/refpolicy/refpolicy.hash +++ b/package/refpolicy/refpolicy.hash @@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2 +sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 8fea7cc254..fb1c213b84 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.20221101 +REFPOLICY_VERSION = 2.20231002 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 17:04:28 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 19:04:28 +0200 Subject: [Buildroot] [PATCH v4 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> References: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009170428.2836853-2-adam.duskett@amarulasolutions.com> Refpolicy contexts expect a merged /usr file system. In fact, there are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user wants to go through the trouble of creating a policy that works with a non-merged system, they should be free to do so. As such, only select BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION. Signed-off-by: Adam Duskett --- v3 -> v4: Remove accidental removal of upstream patch in this patch. package/refpolicy/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..d2fe391d8d 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -36,9 +36,13 @@ choice config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + depends on BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. +comment "Upstream refpolicy requires a merged /usr filesystem" + depends on !BR2_ROOTFS_MERGED_USR + config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT bool "Custom git repository" help -- 2.41.0 From yann.morin.1998 at free.fr Mon Oct 9 17:25:19 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 19:25:19 +0200 Subject: [Buildroot] [PATCH v4 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009170428.2836853-2-adam.duskett@amarulasolutions.com> References: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> <20231009170428.2836853-2-adam.duskett@amarulasolutions.com> Message-ID: <20231009172519.GF14234@scaer> Adam, All, On 2023-10-09 19:04 +0200, Adam Duskett spake thusly: > Refpolicy contexts expect a merged /usr file system. In fact, there > are no references to /bin, /sbin, /lib, or /lib64 at all. There is a file in the refpolicy upstream tree, which cntains (abbreviated) # This file can is used to configure base path aliases as in: # /aliased_path /original_path_as_configured_in_file_contexts # where original_path_as_configured_in_file_contexts is a base # path being used in the main file_contexts configuration file. /bin /usr/bin /lib /usr/lib [...] So, to me, it looks like it means something like: treat paths that starts with /lib as if they were starting with /sur/lib, and then check the context associated with the new path. But maybe that no longer works? Or maybe we need to take action to make that work? Matter for more thoughts... > However, if a user > wants to go through the trouble of creating a policy that works with a > non-merged system, they should be free to do so. As such, only select > BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION. This last sentence is still incorrect now: not seelct, but depends on. ;-) Regards, Yann E. MORIN. > Signed-off-by: Adam Duskett > --- > v3 -> v4: Remove accidental removal of upstream patch in this patch. > > package/refpolicy/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in > index 0e72b895df..d2fe391d8d 100644 > --- a/package/refpolicy/Config.in > +++ b/package/refpolicy/Config.in > @@ -36,9 +36,13 @@ choice > > config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > bool "Upstream version" > + depends on BR2_ROOTFS_MERGED_USR > help > Use the refpolicy as provided by Buildroot. > > +comment "Upstream refpolicy requires a merged /usr filesystem" > + depends on !BR2_ROOTFS_MERGED_USR > + > config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT > bool "Custom git repository" > help > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 20:05:53 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 22:05:53 +0200 Subject: [Buildroot] [PATCH v4 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009172519.GF14234@scaer> References: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> <20231009170428.2836853-2-adam.duskett@amarulasolutions.com> <20231009172519.GF14234@scaer> Message-ID: <20231009200553.GG14234@scaer> Adam, All, On 2023-10-09 19:25 +0200, Yann E. MORIN spake thusly: > On 2023-10-09 19:04 +0200, Adam Duskett spake thusly: > > Refpolicy contexts expect a merged /usr file system. In fact, there > > are no references to /bin, /sbin, /lib, or /lib64 at all. > There is a file in the refpolicy upstream tree, Bad copy-but-no-paste, so the file was: config/file_contexts.subs_dist [--SNIP--] > But maybe that no longer works? Or maybe we need to take action to make > that work? As discussed on IRC, that is indeed not an issue: refpolicy works even without a merged /usr. The issue stems from "dontaudit" rules that hid some other issue (if I understood correctly). Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From christian at aperture.us Mon Oct 9 21:36:24 2023 From: christian at aperture.us (Christian Stewart) Date: Mon, 9 Oct 2023 14:36:24 -0700 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump to version 1.7.7 Message-ID: <20231009213624.107730-1-christian@aperture.us> Contains various fixes and updates. https://github.com/containerd/containerd/releases/tag/v1.7.7 Signed-off-by: Christian Stewart --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5e0ef4517..450d1d1081 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 084a62f78f96cb5fda02221425f14df09d3e0acd093e4d4b3527900e3ff94677 containerd-1.7.6.tar.gz +sha256 4c6042b13746a803766d76b07f756d03678a33a944b52c0b832c238609db1b2e containerd-1.7.7.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 0591400709..d29a796a72 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.7.6 +CONTAINERD_VERSION = 1.7.7 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE -- 2.42.0 From ckhardin at gmail.com Mon Oct 9 21:37:31 2023 From: ckhardin at gmail.com (Charles Hardin) Date: Mon, 9 Oct 2023 14:37:31 -0700 Subject: [Buildroot] [RFC] Per-package and relocatable SDKs problem? Message-ID: For the curious, We have discovered a problem in that the per-package build of the host directory is doing an rsync to finalize the tree from the last per-package directory in the dependency chain (in our case below this is qt5tools). This means that several text files like the one below (shasum) contain the per-package directory path in them. For example - a per-package build and check the BUILD directory to check the shasum script $ head -5 host/bin/shasum #!/home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl eval 'exec /home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl -S $0 ${1+"$@"}' if 0; # ^ Run only under a shell #!perl ... snip snip ... This works in the build path but will fail when the SDK is made and relocated because the relocate-sdk.sh script doesn't handle per-package paths. # Make sure file uses the right language export LC_ALL=C # Replace the old path with the new one in all text files grep -lr "${OLDPATH}" . | while read -r FILE ; do if file -b --mime-type "${FILE}" | grep -q '^text/' && [ "${FILE}" != "${LOCFILE}" ] then sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" fi done The OLDPATH is the old location of the directory without the concept of the per-package paths in the tree. So, is this something that is known? Tried searching the mailing list and commits and didn't see a reference to this problem so was a bit curious. Charles From ramirez.clement3 at gmail.com Tue Oct 10 07:05:58 2023 From: ramirez.clement3 at gmail.com (Clement Ramirez) Date: Tue, 10 Oct 2023 09:05:58 +0200 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 Message-ID: <20231010070558.9791-1-ramirez.clement3@gmail.com> Fixes the following CVEs : - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR 56270e5d3d meson: Fix targetos match for illumos and Solaris. 60da8301fe s390x/ap: fix missing subsystem reset registration 8b479229ff ui: fix crash when there are no active_console d4919bbcc2 virtio-gpu/win32: set the destroy function on load cae7dc1452 target/riscv: Allocate itrigger timers only once 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 b822207513 hw/riscv: virt: Fix riscv,pmu DT node path 2947da750e linux-user/riscv: Use abi type for target_ucontext 60a7f5c8fe hw/intc: Make rtc variable names consistent 566dac7127 hw/intc: Fix upper/lower mtime write calculation 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first 987e90cfd2 target/riscv/cpu.c: add zmmul isa string b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts 9832a670b3 arm64: Restore trapless ptimer access df33ce9b6d virtio: Drop out of coroutine context in virtio_load() eeee989f72 qxl: don't assert() if device isn't yet initialized 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() 6356785daa docs tests: Fix use of migrate_set_parameter 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode d5361580ac hw/ide/ahci: fix broken SError handling e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr 5358980d33 hw/ppc/e500: fix broken snapshot replay 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects e975434d62 target/i386: raise FERR interrupt with iothread locked e5e77f256f linux-user: Adjust brk for load_bias 645b87f650 target/arm: properly document FEAT_CRC32 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section 441106eebb docs/about/license: Update LICENSE URL 63188a00bb target/arm: Fix 64-bit SSRA 7012e20b2d target/arm: Fix SME ST1Q c8e381d672 accel/kvm: Specify default IPA size for arm64 34808d041c kvm: Introduce kvm_arch_get_default_type hook 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 c12eddbd48 target/s390x: Fix VSTL with a large length 880e82ed78 target/s390x: Use a 16-bit immediate in VREP 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS Signed-off-by: Clement Ramirez --- package/qemu/qemu.hash | 2 +- package/qemu/qemu.mk | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash index 506afa8bf3..61e51a923f 100644 --- a/package/qemu/qemu.hash +++ b/package/qemu/qemu.hash @@ -1,4 +1,4 @@ # Locally computed, tarball verified with GPG signature -sha256 710c101198e334d4762eef65f649bc43fa8a5dd75303554b8acfec3eb25f0e55 qemu-8.1.0.tar.xz +sha256 37ce2ef5e500fb752f681117c68b45118303ea49a7e26bd54080ced54fab7def qemu-8.1.1.tar.xz sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 6aaed32336..167ae007f0 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -6,7 +6,7 @@ # When updating the version, check whether the list of supported targets # needs to be updated. -QEMU_VERSION = 8.1.0 +QEMU_VERSION = 8.1.1 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz QEMU_SITE = https://download.qemu.org QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c @@ -16,6 +16,10 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB # individual source files. QEMU_CPE_ID_VENDOR = qemu +QEMU_IGNORE_CVES += CVE-2023-4135 +QEMU_IGNORE_CVES += CVE-2023-3354 +QEMU_IGNORE_CVES += CVE-2023-3180 + #------------------------------------------------------------- # The build system is now partly based on Meson. -- 2.34.1 From baruch at tkos.co.il Tue Oct 10 07:47:38 2023 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 10 Oct 2023 10:47:38 +0300 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 In-Reply-To: <20231010070558.9791-1-ramirez.clement3@gmail.com> References: <20231010070558.9791-1-ramirez.clement3@gmail.com> Message-ID: <874jiydiiq.fsf@tarshish> Hi Clement, On Tue, Oct 10 2023, Clement Ramirez wrote: > Fixes the following CVEs : > - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) > - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) > - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) > > The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: > > 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release > 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR > 56270e5d3d meson: Fix targetos match for illumos and Solaris. > 60da8301fe s390x/ap: fix missing subsystem reset registration > 8b479229ff ui: fix crash when there are no active_console > d4919bbcc2 virtio-gpu/win32: set the destroy function on load > cae7dc1452 target/riscv: Allocate itrigger timers only once > 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes > 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 > b822207513 hw/riscv: virt: Fix riscv,pmu DT node path > 2947da750e linux-user/riscv: Use abi type for target_ucontext > 60a7f5c8fe hw/intc: Make rtc variable names consistent > 566dac7127 hw/intc: Fix upper/lower mtime write calculation > 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d > 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first > 987e90cfd2 target/riscv/cpu.c: add zmmul isa string > b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts > 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts > 9832a670b3 arm64: Restore trapless ptimer access > df33ce9b6d virtio: Drop out of coroutine context in virtio_load() > eeee989f72 qxl: don't assert() if device isn't yet initialized > 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() > 6356785daa docs tests: Fix use of migrate_set_parameter > 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options > 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error > 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode > d5361580ac hw/ide/ahci: fix broken SError handling > e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() > 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set > 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared > 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling > 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command > c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion > f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian > 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr > 5358980d33 hw/ppc/e500: fix broken snapshot replay > 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup > 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects > e975434d62 target/i386: raise FERR interrupt with iothread locked > e5e77f256f linux-user: Adjust brk for load_bias > 645b87f650 target/arm: properly document FEAT_CRC32 > 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup > 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section > 441106eebb docs/about/license: Update LICENSE URL > 63188a00bb target/arm: Fix 64-bit SSRA > 7012e20b2d target/arm: Fix SME ST1Q > c8e381d672 accel/kvm: Specify default IPA size for arm64 > 34808d041c kvm: Introduce kvm_arch_get_default_type hook > 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts > 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 > c12eddbd48 target/s390x: Fix VSTL with a large length > 880e82ed78 target/s390x: Use a 16-bit immediate in VREP > 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS > > Signed-off-by: Clement Ramirez > --- > package/qemu/qemu.hash | 2 +- > package/qemu/qemu.mk | 6 +++++- > 2 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash > index 506afa8bf3..61e51a923f 100644 > --- a/package/qemu/qemu.hash > +++ b/package/qemu/qemu.hash > @@ -1,4 +1,4 @@ > # Locally computed, tarball verified with GPG signature > -sha256 710c101198e334d4762eef65f649bc43fa8a5dd75303554b8acfec3eb25f0e55 qemu-8.1.0.tar.xz > +sha256 37ce2ef5e500fb752f681117c68b45118303ea49a7e26bd54080ced54fab7def qemu-8.1.1.tar.xz > sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB > diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk > index 6aaed32336..167ae007f0 100644 > --- a/package/qemu/qemu.mk > +++ b/package/qemu/qemu.mk > @@ -6,7 +6,7 @@ > > # When updating the version, check whether the list of supported targets > # needs to be updated. > -QEMU_VERSION = 8.1.0 > +QEMU_VERSION = 8.1.1 > QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz > QEMU_SITE = https://download.qemu.org > QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c > @@ -16,6 +16,10 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB > # individual source files. > QEMU_CPE_ID_VENDOR = qemu > > +QEMU_IGNORE_CVES += CVE-2023-4135 > +QEMU_IGNORE_CVES += CVE-2023-3354 > +QEMU_IGNORE_CVES += CVE-2023-3180 Provided that these CVEs are fixed with this version bump, why do we need to ignore them? baruch > + > #------------------------------------------------------------- > > # The build system is now partly based on Meson. -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From ramirez.clement3 at gmail.com Tue Oct 10 08:41:11 2023 From: ramirez.clement3 at gmail.com (=?UTF-8?Q?Cl=C3=A9ment_Ramirez?=) Date: Tue, 10 Oct 2023 10:41:11 +0200 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 In-Reply-To: <874jiydiiq.fsf@tarshish> References: <20231010070558.9791-1-ramirez.clement3@gmail.com> <874jiydiiq.fsf@tarshish> Message-ID: Hi Baruch, > Provided that these CVEs are fixed with this version bump, why do we > need to ignore them? When I don't ignore the CVEs fixed with the version bump, the pkg-stats tool keeps displaying them. I think it's because the CPE database has no entries for the qemu 8.1.1 version and therefore does not know which CVEs are fixed in this specific version. Cl?ment From baruch at tkos.co.il Tue Oct 10 08:54:57 2023 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 10 Oct 2023 11:54:57 +0300 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 In-Reply-To: References: <20231010070558.9791-1-ramirez.clement3@gmail.com> <874jiydiiq.fsf@tarshish> Message-ID: <87v8bec0pm.fsf@tarshish> Hi Cl?ment, On Tue, Oct 10 2023, Cl?ment Ramirez wrote: >> Provided that these CVEs are fixed with this version bump, why do we >> need to ignore them? > > When I don't ignore the CVEs fixed with the version bump, the > pkg-stats tool keeps displaying them. > I think it's because the CPE database has no entries for the qemu 8.1.1 version > and therefore does not know which CVEs are fixed in this specific version. This is something that should be fixed in the CPE database. In the mean time there should be a comment that explains why we ignore these CVEs even though they do not actually affect the current package version. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From ramirez.clement3 at gmail.com Tue Oct 10 09:15:13 2023 From: ramirez.clement3 at gmail.com (=?UTF-8?Q?Cl=C3=A9ment_Ramirez?=) Date: Tue, 10 Oct 2023 11:15:13 +0200 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 In-Reply-To: <87v8bec0pm.fsf@tarshish> References: <20231010070558.9791-1-ramirez.clement3@gmail.com> <874jiydiiq.fsf@tarshish> <87v8bec0pm.fsf@tarshish> Message-ID: Hi Baruch, > This is something that should be fixed in the CPE database. > > In the mean time there should be a comment that explains why we ignore > these CVEs even though they do not actually affect the current package > version. I will try to find a way to add an entry in the CPE database, and add a comment to explain why we are ignoring these CVEs. Thanks for your feedbacks, Cl?ment From adam.duskett at amarulasolutions.com Tue Oct 10 10:14:41 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:14:41 +0200 Subject: [Buildroot] [PATCH v2 2/4] package/openrc: add linux-pam support In-Reply-To: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> References: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010101443.719280-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 234fa6de2f..e55057249d 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -27,6 +27,13 @@ else OPENRC_CONF_OPTS += -Dselinux=disabled endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +OPENRC_CONF_OPTS += -Dpam=true +OPENRC_DEPENDENCIES += linux-pam +else +OPENRC_CONF_OPTS += -Dpam=false +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:14:40 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:14:40 +0200 Subject: [Buildroot] [PATCH v2 1/4] package/openrc: bump version to 0.50 Message-ID: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> OpenRC has not been updated for quite some time, and much has changed. - Convert to a meson package. - Update the license hash as the year has changed from 2015 to 2023. - Introduce two new patches: - 0007-Force-symlinking-of-openrc-init-to-init.patch: Prevents rebuillds of the package from failing by forcing symlinking openrc-init to openrc-init. (Upstream: https://github.com/OpenRC/openrc/pull/660) - 0008-allow-setting-rc_libexecdir-path.patch: Introduces the previous behavior of setting the rc directory to /usr/libexec/rc. (Upstream: Upstream: https://github.com/OpenRC/openrc/pull/443) - Install the sysv-rcs script in the new OPENRC_INSTALL_SYSV_RCS_SCRIPT post install hook as the OPENRC_BUILD_CMDS define no longer exists. Tested with tests.init.test_openrc all tests pass. Signed-off-by: Adam Duskett --- v1 -> v2: Reworked patch to actually work properly. Added better explinations and two new patches. ....in-change-run-lock-from-root-uucp-t.patch | 2 +- ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++------- ...lso-create-run-lock-subsys-directory.patch | 2 +- ...ce-symlinking-of-openrc-init-to-init.patch | 31 +++++++++++++ ...008-allow-setting-rc_libexecdir-path.patch | 44 +++++++++++++++++++ package/openrc/openrc.hash | 4 +- package/openrc/openrc.mk | 39 ++++++---------- 7 files changed, 110 insertions(+), 47 deletions(-) create mode 100644 package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch create mode 100644 package/openrc/0008-allow-setting-rc_libexecdir-path.patch diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch index 457fbacb5b..2f0a81bbd3 100644 --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 222bbd3b..7f1a88db 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -85,7 +85,7 @@ fi +@@ -83,7 +83,7 @@ fi fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch index 733506ada9..42f77ffdea 100644 --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles only). Signed-off-by: Carlos Santos +[Adam: update for 0.50] +Signed-off-by: Adam Duskett --- - runlevels/Makefile | 6 ------ + tools/meson_runlevels.sh | 6 ------ 1 file changed, 6 deletions(-) -diff --git a/runlevels/Makefile b/runlevels/Makefile -index 73843d8b..dbfb59ca 100644 ---- a/runlevels/Makefile -+++ b/runlevels/Makefile -@@ -90,12 +90,6 @@ install: - fi; \ - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ - fi -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ -- done; \ -- fi - - check test:: +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh +index 1473d4e..eee256b 100755 +--- a/tools/meson_runlevels.sh ++++ b/tools/meson_runlevels.sh +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" + done + fi +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" +- done; +-fi + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" -- 2.18.2 diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch index cf592a88b0..ad78a4b8f7 100644 --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index e8afc1fb..662ab223 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch new file mode 100644 index 0000000000..4f5aef6b94 --- /dev/null +++ b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch @@ -0,0 +1,31 @@ +From 14f883b672470e526f2576a5d11a75e2023e2ded Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 10 Oct 2023 10:00:24 +0200 +Subject: [PATCH] Force symlinking of openrc-init to init + +When building on embedded SDKs such as Buildroot or Yocto, if OpenRC has a +previous installation, the package will fail the installation step as the +openrc-init is already a symlink to "${DESTDIR}/${sbindir}"/init. Force +symlinking to prevent errors when reinstalling the package. + +Upstream: https://github.com/OpenRC/openrc/pull/660 + +Signed-off-by: Adam Duskett +--- + tools/meson_final.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/meson_final.sh b/tools/meson_final.sh +index ecec6eaa..ef91f9e3 100755 +--- a/tools/meson_final.sh ++++ b/tools/meson_final.sh +@@ -13,5 +13,5 @@ if [ "${os}" != Linux ]; then + fi + install -m 644 "${MESON_BUILD_ROOT}/src/shared/version" "${DESTDIR}/${rc_libexecdir}" + if [ "${os}" = Linux ] && [ "${sysvinit}" = yes ]; then +- ln -s openrc-init "${DESTDIR}/${sbindir}"/init ++ ln -sf openrc-init "${DESTDIR}/${sbindir}"/init + fi +-- +2.41.0 + diff --git a/package/openrc/0008-allow-setting-rc_libexecdir-path.patch b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch new file mode 100644 index 0000000000..a11c789275 --- /dev/null +++ b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch @@ -0,0 +1,44 @@ +From 89c42e7e0d8d5913789a76b007ed6a0c43078c63 Mon Sep 17 00:00:00 2001 +From: artoo +Date: Wed, 8 Sep 2021 22:41:58 +0200 +Subject: [PATCH] allow setting rc_libexecdir path + + - Allow to change the rc dir name of the rc_libexecdir path + - Introduce a librcdir option for override with value 'rc' + +Upstream: https://github.com/OpenRC/openrc/pull/443 + +Signed-off-by: artoo +[Adam: update for 0.50] +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + meson_options.txt | 2 ++ + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b3f8fa..40d4be1 100644 +--- a/meson.build ++++ b/meson.build +@@ -102,7 +102,7 @@ if os == 'Linux' and libexecdir == 'libexec' + libexecdir = 'lib' + endif + libexecdir = rootprefix / libexecdir +-rc_libexecdir = libexecdir / 'rc' ++rc_libexecdir = libexecdir / get_option('librcdir') + rc_bindir = rc_libexecdir / 'bin' + rc_sbindir = rc_libexecdir / 'sbin' + rc_shdir = rc_libexecdir / 'sh' +diff --git a/meson_options.txt b/meson_options.txt +index 2c74152..d2f67e4 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -37,3 +37,5 @@ option('termcap', type : 'combo', + description : 'the termcap library to use') + option('zsh-completions', type : 'boolean', + description : 'install zsh completions') ++option('librcdir', type : 'string', value : 'rc', ++ description : 'default location of rc libexec dir') +-- +2.41.0 + diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash index 4fcfa9132f..24a6878911 100644 --- a/package/openrc/openrc.hash +++ b/package/openrc/openrc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 1d4e70f712..234fa6de2f 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.43.3 +OPENRC_VERSION = 0.50 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE @@ -12,39 +12,26 @@ OPENRC_CPE_ID_VENDOR = openrc_project OPENRC_DEPENDENCIES = ncurses -# set LIBNAME so openrc puts files in proper directories and sets proper -# paths in installed files. Since in buildroot /lib64 and /lib32 always -# points to /lib, it's safe to hardcode it to "lib" -OPENRC_MAKE_OPTS = \ - LIBNAME=lib \ - LIBEXECDIR=/usr/libexec/rc \ - MKPKGCONFIG=no \ - MKSYSVINIT=yes \ - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ - CC=$(TARGET_CC) - -ifeq ($(BR2_SHARED_LIBS),y) -OPENRC_MAKE_OPTS += MKSTATICLIBS=no -else -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes -endif +OPENRC_CONF_OPTS = \ + -Dos=Linux \ + -Dlibrcdir=/usr/libexec/rc \ + -Dpkgconfig=false \ + -Dsysvinit=true \ + -Drootprefix=/ \ + -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux else -OPENRC_MAKE_OPTS += MKSELINUX=no +OPENRC_CONF_OPTS += -Dselinux=disabled endif -define OPENRC_BUILD_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) -endef - -define OPENRC_INSTALL_TARGET_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install +define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs endef +OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_INSTALL_SYSV_RCS_SCRIPT ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so @@ -90,4 +77,4 @@ endef OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY endif # BR2_TARGET_GENERIC_GETTY -$(eval $(generic-package)) +$(eval $(meson-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:14:42 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:14:42 +0200 Subject: [Buildroot] [PATCH v2 3/4] package/openrc: add bash-completion support In-Reply-To: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> References: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010101443.719280-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index e55057249d..9682296807 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -20,6 +20,12 @@ OPENRC_CONF_OPTS = \ -Drootprefix=/ \ -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +OPENRC_CONF_OPTS += -Dbash-completions=true +else +OPENRC_CONF_OPTS += -Dbash-completions=false +endif + ifeq ($(BR2_PACKAGE_LIBSELINUX),y) OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:14:43 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:14:43 +0200 Subject: [Buildroot] [PATCH v2 4/4] package/openrc: add split-user support In-Reply-To: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> References: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010101443.719280-4-adam.duskett@amarulasolutions.com> Also, introduce a new test in support/testing/tests/init/test_openrc.py that ensures split-user support works properly. Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ support/testing/tests/init/test_openrc.py | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 9682296807..25c22957b4 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -40,6 +40,12 @@ else OPENRC_CONF_OPTS += -Dpam=false endif +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +OPENRC_CONF_OPTS += -Dsplit-usr=true +else +OPENRC_CONF_OPTS += -Dsplit-usr=false +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs diff --git a/support/testing/tests/init/test_openrc.py b/support/testing/tests/init/test_openrc.py index c6ade7676d..c60e079bfa 100644 --- a/support/testing/tests/init/test_openrc.py +++ b/support/testing/tests/init/test_openrc.py @@ -44,3 +44,15 @@ class TestInitSystemOpenrcRwFull(InitSystemOpenrcBase): def test_run(self): self.start_emulator("ext2") self.check_init() + +class TestInitSystemOpenrcMergedUsrFull(InitSystemOpenrcBase): + config = InitSystemOpenrcBase.config + \ + """ + BR2_ROOTFS_MERGED_USR=y + BR2_SYSTEM_DHCP="eth0" + BR2_TARGET_ROOTFS_EXT2=y + """ + + def test_run(self): + self.start_emulator("ext2") + self.check_init() -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:47:32 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:47:32 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/openrc: bump version to 0.50 Message-ID: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> OpenRC has not been updated for quite some time, and much has changed. - Convert to a meson package. - Update the license hash as the year has changed from 2015 to 2023. - Introduce two new patches: - 0007-Force-symlinking-of-openrc-init-to-init.patch: Prevents rebuillds of the package from failing by forcing symlinking openrc-init to openrc-init. (Upstream: https://github.com/OpenRC/openrc/pull/660) - 0008-allow-setting-rc_libexecdir-path.patch: Introduces the previous behavior of setting the rc directory to /usr/libexec/rc. (Upstream: Upstream: https://github.com/OpenRC/openrc/pull/443) - Install the sysv-rcs script in the new OPENRC_INSTALL_SYSV_RCS_SCRIPT post install hook as the OPENRC_BUILD_CMDS define no longer exists. Tested with tests.init.test_openrc all tests pass. Signed-off-by: Adam Duskett --- ....in-change-run-lock-from-root-uucp-t.patch | 2 +- ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++------- ...lso-create-run-lock-subsys-directory.patch | 2 +- ...ce-symlinking-of-openrc-init-to-init.patch | 31 +++++++++++++ ...008-allow-setting-rc_libexecdir-path.patch | 44 +++++++++++++++++++ package/openrc/openrc.hash | 4 +- package/openrc/openrc.mk | 39 ++++++---------- 7 files changed, 110 insertions(+), 47 deletions(-) create mode 100644 package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch create mode 100644 package/openrc/0008-allow-setting-rc_libexecdir-path.patch diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch index 457fbacb5b..2f0a81bbd3 100644 --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 222bbd3b..7f1a88db 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -85,7 +85,7 @@ fi +@@ -83,7 +83,7 @@ fi fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch index 733506ada9..42f77ffdea 100644 --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles only). Signed-off-by: Carlos Santos +[Adam: update for 0.50] +Signed-off-by: Adam Duskett --- - runlevels/Makefile | 6 ------ + tools/meson_runlevels.sh | 6 ------ 1 file changed, 6 deletions(-) -diff --git a/runlevels/Makefile b/runlevels/Makefile -index 73843d8b..dbfb59ca 100644 ---- a/runlevels/Makefile -+++ b/runlevels/Makefile -@@ -90,12 +90,6 @@ install: - fi; \ - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ - fi -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ -- done; \ -- fi - - check test:: +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh +index 1473d4e..eee256b 100755 +--- a/tools/meson_runlevels.sh ++++ b/tools/meson_runlevels.sh +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" + done + fi +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" +- done; +-fi + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" -- 2.18.2 diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch index cf592a88b0..ad78a4b8f7 100644 --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index e8afc1fb..662ab223 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch new file mode 100644 index 0000000000..4f5aef6b94 --- /dev/null +++ b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch @@ -0,0 +1,31 @@ +From 14f883b672470e526f2576a5d11a75e2023e2ded Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 10 Oct 2023 10:00:24 +0200 +Subject: [PATCH] Force symlinking of openrc-init to init + +When building on embedded SDKs such as Buildroot or Yocto, if OpenRC has a +previous installation, the package will fail the installation step as the +openrc-init is already a symlink to "${DESTDIR}/${sbindir}"/init. Force +symlinking to prevent errors when reinstalling the package. + +Upstream: https://github.com/OpenRC/openrc/pull/660 + +Signed-off-by: Adam Duskett +--- + tools/meson_final.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/meson_final.sh b/tools/meson_final.sh +index ecec6eaa..ef91f9e3 100755 +--- a/tools/meson_final.sh ++++ b/tools/meson_final.sh +@@ -13,5 +13,5 @@ if [ "${os}" != Linux ]; then + fi + install -m 644 "${MESON_BUILD_ROOT}/src/shared/version" "${DESTDIR}/${rc_libexecdir}" + if [ "${os}" = Linux ] && [ "${sysvinit}" = yes ]; then +- ln -s openrc-init "${DESTDIR}/${sbindir}"/init ++ ln -sf openrc-init "${DESTDIR}/${sbindir}"/init + fi +-- +2.41.0 + diff --git a/package/openrc/0008-allow-setting-rc_libexecdir-path.patch b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch new file mode 100644 index 0000000000..a11c789275 --- /dev/null +++ b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch @@ -0,0 +1,44 @@ +From 89c42e7e0d8d5913789a76b007ed6a0c43078c63 Mon Sep 17 00:00:00 2001 +From: artoo +Date: Wed, 8 Sep 2021 22:41:58 +0200 +Subject: [PATCH] allow setting rc_libexecdir path + + - Allow to change the rc dir name of the rc_libexecdir path + - Introduce a librcdir option for override with value 'rc' + +Upstream: https://github.com/OpenRC/openrc/pull/443 + +Signed-off-by: artoo +[Adam: update for 0.50] +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + meson_options.txt | 2 ++ + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b3f8fa..40d4be1 100644 +--- a/meson.build ++++ b/meson.build +@@ -102,7 +102,7 @@ if os == 'Linux' and libexecdir == 'libexec' + libexecdir = 'lib' + endif + libexecdir = rootprefix / libexecdir +-rc_libexecdir = libexecdir / 'rc' ++rc_libexecdir = libexecdir / get_option('librcdir') + rc_bindir = rc_libexecdir / 'bin' + rc_sbindir = rc_libexecdir / 'sbin' + rc_shdir = rc_libexecdir / 'sh' +diff --git a/meson_options.txt b/meson_options.txt +index 2c74152..d2f67e4 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -37,3 +37,5 @@ option('termcap', type : 'combo', + description : 'the termcap library to use') + option('zsh-completions', type : 'boolean', + description : 'install zsh completions') ++option('librcdir', type : 'string', value : 'rc', ++ description : 'default location of rc libexec dir') +-- +2.41.0 + diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash index 4fcfa9132f..24a6878911 100644 --- a/package/openrc/openrc.hash +++ b/package/openrc/openrc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 1d4e70f712..234fa6de2f 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.43.3 +OPENRC_VERSION = 0.50 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE @@ -12,39 +12,26 @@ OPENRC_CPE_ID_VENDOR = openrc_project OPENRC_DEPENDENCIES = ncurses -# set LIBNAME so openrc puts files in proper directories and sets proper -# paths in installed files. Since in buildroot /lib64 and /lib32 always -# points to /lib, it's safe to hardcode it to "lib" -OPENRC_MAKE_OPTS = \ - LIBNAME=lib \ - LIBEXECDIR=/usr/libexec/rc \ - MKPKGCONFIG=no \ - MKSYSVINIT=yes \ - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ - CC=$(TARGET_CC) - -ifeq ($(BR2_SHARED_LIBS),y) -OPENRC_MAKE_OPTS += MKSTATICLIBS=no -else -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes -endif +OPENRC_CONF_OPTS = \ + -Dos=Linux \ + -Dlibrcdir=/usr/libexec/rc \ + -Dpkgconfig=false \ + -Dsysvinit=true \ + -Drootprefix=/ \ + -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux else -OPENRC_MAKE_OPTS += MKSELINUX=no +OPENRC_CONF_OPTS += -Dselinux=disabled endif -define OPENRC_BUILD_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) -endef - -define OPENRC_INSTALL_TARGET_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install +define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs endef +OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_INSTALL_SYSV_RCS_SCRIPT ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so @@ -90,4 +77,4 @@ endef OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY endif # BR2_TARGET_GENERIC_GETTY -$(eval $(generic-package)) +$(eval $(meson-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:47:33 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:47:33 +0200 Subject: [Buildroot] [PATCH v3 2/4] package/openrc: add linux-pam support In-Reply-To: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> References: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010104735.882133-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 234fa6de2f..e55057249d 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -27,6 +27,13 @@ else OPENRC_CONF_OPTS += -Dselinux=disabled endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +OPENRC_CONF_OPTS += -Dpam=true +OPENRC_DEPENDENCIES += linux-pam +else +OPENRC_CONF_OPTS += -Dpam=false +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:47:34 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:47:34 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/openrc: add bash-completion support In-Reply-To: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> References: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010104735.882133-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index e55057249d..9682296807 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -20,6 +20,12 @@ OPENRC_CONF_OPTS = \ -Drootprefix=/ \ -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +OPENRC_CONF_OPTS += -Dbash-completions=true +else +OPENRC_CONF_OPTS += -Dbash-completions=false +endif + ifeq ($(BR2_PACKAGE_LIBSELINUX),y) OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:47:35 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:47:35 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/openrc: add split-user support In-Reply-To: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> References: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010104735.882133-4-adam.duskett@amarulasolutions.com> Also, introduce a new test in support/testing/tests/init/test_openrc.py that ensures split-user support works properly. Signed-off-by: Adam Duskett --- V2 -> V3: Fixed inverse logic [Yann.] package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 9682296807..442731f900 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -40,6 +40,12 @@ else OPENRC_CONF_OPTS += -Dpam=false endif +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +OPENRC_CONF_OPTS += -Dsplit-usr=false +else +OPENRC_CONF_OPTS += -Dsplit-usr=true +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:52:00 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:52:00 +0200 Subject: [Buildroot] [PATCH v4 1/4] package/openrc: bump version to 0.50 Message-ID: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> OpenRC has not been updated for quite some time, and much has changed. - Convert to a meson package. - Update the license hash as the year has changed from 2015 to 2023. - Introduce two new patches: - 0007-Force-symlinking-of-openrc-init-to-init.patch: Prevents rebuillds of the package from failing by forcing symlinking openrc-init to openrc-init. (Upstream: https://github.com/OpenRC/openrc/pull/660) - 0008-allow-setting-rc_libexecdir-path.patch: Introduces the previous behavior of setting the rc directory to /usr/libexec/rc. (Upstream: Upstream: https://github.com/OpenRC/openrc/pull/443) - Install the sysv-rcs script in the new OPENRC_INSTALL_SYSV_RCS_SCRIPT post install hook as the OPENRC_BUILD_CMDS define no longer exists. Tested with tests.init.test_openrc all tests pass. Signed-off-by: Adam Duskett --- ....in-change-run-lock-from-root-uucp-t.patch | 2 +- ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++------- ...lso-create-run-lock-subsys-directory.patch | 2 +- ...ce-symlinking-of-openrc-init-to-init.patch | 31 +++++++++++++ ...008-allow-setting-rc_libexecdir-path.patch | 44 +++++++++++++++++++ package/openrc/openrc.hash | 4 +- package/openrc/openrc.mk | 39 ++++++---------- 7 files changed, 110 insertions(+), 47 deletions(-) create mode 100644 package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch create mode 100644 package/openrc/0008-allow-setting-rc_libexecdir-path.patch diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch index 457fbacb5b..2f0a81bbd3 100644 --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 222bbd3b..7f1a88db 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -85,7 +85,7 @@ fi +@@ -83,7 +83,7 @@ fi fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch index 733506ada9..42f77ffdea 100644 --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles only). Signed-off-by: Carlos Santos +[Adam: update for 0.50] +Signed-off-by: Adam Duskett --- - runlevels/Makefile | 6 ------ + tools/meson_runlevels.sh | 6 ------ 1 file changed, 6 deletions(-) -diff --git a/runlevels/Makefile b/runlevels/Makefile -index 73843d8b..dbfb59ca 100644 ---- a/runlevels/Makefile -+++ b/runlevels/Makefile -@@ -90,12 +90,6 @@ install: - fi; \ - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ - fi -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ -- done; \ -- fi - - check test:: +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh +index 1473d4e..eee256b 100755 +--- a/tools/meson_runlevels.sh ++++ b/tools/meson_runlevels.sh +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" + done + fi +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" +- done; +-fi + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" -- 2.18.2 diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch index cf592a88b0..ad78a4b8f7 100644 --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index e8afc1fb..662ab223 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch new file mode 100644 index 0000000000..4f5aef6b94 --- /dev/null +++ b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch @@ -0,0 +1,31 @@ +From 14f883b672470e526f2576a5d11a75e2023e2ded Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 10 Oct 2023 10:00:24 +0200 +Subject: [PATCH] Force symlinking of openrc-init to init + +When building on embedded SDKs such as Buildroot or Yocto, if OpenRC has a +previous installation, the package will fail the installation step as the +openrc-init is already a symlink to "${DESTDIR}/${sbindir}"/init. Force +symlinking to prevent errors when reinstalling the package. + +Upstream: https://github.com/OpenRC/openrc/pull/660 + +Signed-off-by: Adam Duskett +--- + tools/meson_final.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/meson_final.sh b/tools/meson_final.sh +index ecec6eaa..ef91f9e3 100755 +--- a/tools/meson_final.sh ++++ b/tools/meson_final.sh +@@ -13,5 +13,5 @@ if [ "${os}" != Linux ]; then + fi + install -m 644 "${MESON_BUILD_ROOT}/src/shared/version" "${DESTDIR}/${rc_libexecdir}" + if [ "${os}" = Linux ] && [ "${sysvinit}" = yes ]; then +- ln -s openrc-init "${DESTDIR}/${sbindir}"/init ++ ln -sf openrc-init "${DESTDIR}/${sbindir}"/init + fi +-- +2.41.0 + diff --git a/package/openrc/0008-allow-setting-rc_libexecdir-path.patch b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch new file mode 100644 index 0000000000..a11c789275 --- /dev/null +++ b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch @@ -0,0 +1,44 @@ +From 89c42e7e0d8d5913789a76b007ed6a0c43078c63 Mon Sep 17 00:00:00 2001 +From: artoo +Date: Wed, 8 Sep 2021 22:41:58 +0200 +Subject: [PATCH] allow setting rc_libexecdir path + + - Allow to change the rc dir name of the rc_libexecdir path + - Introduce a librcdir option for override with value 'rc' + +Upstream: https://github.com/OpenRC/openrc/pull/443 + +Signed-off-by: artoo +[Adam: update for 0.50] +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + meson_options.txt | 2 ++ + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b3f8fa..40d4be1 100644 +--- a/meson.build ++++ b/meson.build +@@ -102,7 +102,7 @@ if os == 'Linux' and libexecdir == 'libexec' + libexecdir = 'lib' + endif + libexecdir = rootprefix / libexecdir +-rc_libexecdir = libexecdir / 'rc' ++rc_libexecdir = libexecdir / get_option('librcdir') + rc_bindir = rc_libexecdir / 'bin' + rc_sbindir = rc_libexecdir / 'sbin' + rc_shdir = rc_libexecdir / 'sh' +diff --git a/meson_options.txt b/meson_options.txt +index 2c74152..d2f67e4 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -37,3 +37,5 @@ option('termcap', type : 'combo', + description : 'the termcap library to use') + option('zsh-completions', type : 'boolean', + description : 'install zsh completions') ++option('librcdir', type : 'string', value : 'rc', ++ description : 'default location of rc libexec dir') +-- +2.41.0 + diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash index 4fcfa9132f..24a6878911 100644 --- a/package/openrc/openrc.hash +++ b/package/openrc/openrc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 1d4e70f712..234fa6de2f 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.43.3 +OPENRC_VERSION = 0.50 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE @@ -12,39 +12,26 @@ OPENRC_CPE_ID_VENDOR = openrc_project OPENRC_DEPENDENCIES = ncurses -# set LIBNAME so openrc puts files in proper directories and sets proper -# paths in installed files. Since in buildroot /lib64 and /lib32 always -# points to /lib, it's safe to hardcode it to "lib" -OPENRC_MAKE_OPTS = \ - LIBNAME=lib \ - LIBEXECDIR=/usr/libexec/rc \ - MKPKGCONFIG=no \ - MKSYSVINIT=yes \ - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ - CC=$(TARGET_CC) - -ifeq ($(BR2_SHARED_LIBS),y) -OPENRC_MAKE_OPTS += MKSTATICLIBS=no -else -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes -endif +OPENRC_CONF_OPTS = \ + -Dos=Linux \ + -Dlibrcdir=/usr/libexec/rc \ + -Dpkgconfig=false \ + -Dsysvinit=true \ + -Drootprefix=/ \ + -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux else -OPENRC_MAKE_OPTS += MKSELINUX=no +OPENRC_CONF_OPTS += -Dselinux=disabled endif -define OPENRC_BUILD_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) -endef - -define OPENRC_INSTALL_TARGET_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install +define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs endef +OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_INSTALL_SYSV_RCS_SCRIPT ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so @@ -90,4 +77,4 @@ endef OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY endif # BR2_TARGET_GENERIC_GETTY -$(eval $(generic-package)) +$(eval $(meson-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:52:02 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:52:02 +0200 Subject: [Buildroot] [PATCH v4 3/4] package/openrc: add bash-completion support In-Reply-To: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> References: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010105203.883450-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index e55057249d..9682296807 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -20,6 +20,12 @@ OPENRC_CONF_OPTS = \ -Drootprefix=/ \ -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +OPENRC_CONF_OPTS += -Dbash-completions=true +else +OPENRC_CONF_OPTS += -Dbash-completions=false +endif + ifeq ($(BR2_PACKAGE_LIBSELINUX),y) OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:52:01 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:52:01 +0200 Subject: [Buildroot] [PATCH v4 2/4] package/openrc: add linux-pam support In-Reply-To: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> References: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010105203.883450-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 234fa6de2f..e55057249d 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -27,6 +27,13 @@ else OPENRC_CONF_OPTS += -Dselinux=disabled endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +OPENRC_CONF_OPTS += -Dpam=true +OPENRC_DEPENDENCIES += linux-pam +else +OPENRC_CONF_OPTS += -Dpam=false +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:52:03 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:52:03 +0200 Subject: [Buildroot] [PATCH v4 4/4] package/openrc: add split-user support In-Reply-To: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> References: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010105203.883450-4-adam.duskett@amarulasolutions.com> Also, introduce a new test in support/testing/tests/init/test_openrc.py that ensures split-user support works properly. Signed-off-by: Adam Duskett --- V2 -> V3: Fixed inverse logic [Yann.] V3 -> V4: Add missing test package/openrc/openrc.mk | 6 ++++++ support/testing/tests/init/test_openrc.py | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 9682296807..442731f900 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -40,6 +40,12 @@ else OPENRC_CONF_OPTS += -Dpam=false endif +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +OPENRC_CONF_OPTS += -Dsplit-usr=false +else +OPENRC_CONF_OPTS += -Dsplit-usr=true +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs diff --git a/support/testing/tests/init/test_openrc.py b/support/testing/tests/init/test_openrc.py index c6ade7676d..c60e079bfa 100644 --- a/support/testing/tests/init/test_openrc.py +++ b/support/testing/tests/init/test_openrc.py @@ -44,3 +44,15 @@ class TestInitSystemOpenrcRwFull(InitSystemOpenrcBase): def test_run(self): self.start_emulator("ext2") self.check_init() + +class TestInitSystemOpenrcMergedUsrFull(InitSystemOpenrcBase): + config = InitSystemOpenrcBase.config + \ + """ + BR2_ROOTFS_MERGED_USR=y + BR2_SYSTEM_DHCP="eth0" + BR2_TARGET_ROOTFS_EXT2=y + """ + + def test_run(self): + self.start_emulator("ext2") + self.check_init() -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 12:02:38 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 14:02:38 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/nodejs: bump version to 18.18.0 Message-ID: <20231010120238.1064684-1-adam.duskett@amarulasolutions.com> - Refactor 0001-add-qemu-wrapper-support.patch for 18.18.0 - NodeJS now requires GCC 8.3 due to the introduction of the charconv header. However, as there is no BR2_TOOLCHAIN_GCC_AT_LEAST_8_3, we round up to BR2_TOOLCHAIN_GCC_AT_LEAST_9. - Update support/testing/tests/package/test_nodejs.py to use BR2_TOOLCHAIN_EXTERNAL_BOOTLIN, otherwise the test fails as the gcc version selected will be 7. - Update the hash file for LICENSE.txt due to numerous changes, such as the addition of new libraries and updated dates. No new license types are added. Signed-off-by: Adam Duskett --- v1 ->. v2: Rebase off of 4c66ee3cda45bebf9044d09f0d2ceec2ea4298cd package/nodejs/Config.in | 8 +++--- .../0001-add-qemu-wrapper-support.patch | 25 ++++++++++--------- ...ules-cjs-loader.js-adjust-default-pa.patch | 2 +- package/nodejs/nodejs.hash | 15 ++++++----- package/nodejs/nodejs.mk | 2 +- support/testing/tests/package/test_nodejs.py | 2 ++ 6 files changed, 28 insertions(+), 26 deletions(-) diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in index c684f8eb86..76058ebc80 100644 --- a/package/nodejs/Config.in +++ b/package/nodejs/Config.in @@ -7,19 +7,19 @@ config BR2_PACKAGE_NODEJS_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS -comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 7, wchar, host gcc >= 8" +comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 9, wchar, host gcc >= 9" depends on BR2_USE_MMU depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_HOST_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR + !BR2_HOST_GCC_AT_LEAST_9 || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || !BR2_USE_WCHAR config BR2_PACKAGE_NODEJS bool "nodejs" depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv depends on BR2_INSTALL_LIBSTDCPP depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS - depends on BR2_HOST_GCC_AT_LEAST_8 # qemu - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_HOST_GCC_AT_LEAST_9 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # uses fork() depends on BR2_USE_MMU diff --git a/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch b/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch index 184f3d19b7..ea55cc48bc 100644 --- a/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch +++ b/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch @@ -15,6 +15,7 @@ qemu-wrapper, so add @MAYBE_WRAPPER@ to the needed files and sed the path to the qemu-wrapper on target builds, and remove @MAYBE_WRAPPER@ entirely on host-builds. +[Adam: Update for 18.18.0] Signed-off-by: Adam Duskett --- node.gyp | 4 ++-- @@ -25,16 +26,7 @@ diff --git a/node.gyp b/node.gyp index 97cdbb531d..db5cf51ce6 100644 --- a/node.gyp +++ b/node.gyp -@@ -319,7 +319,7 @@ - 'action_name': 'run_mkcodecache', - 'process_outputs_as_sources': 1, - 'inputs': [ -- '<(mkcodecache_exec)', -+ @MAYBE_WRAPPER@ '<(mkcodecache_exec)', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/node_code_cache.cc', -@@ -346,7 +346,7 @@ +@@ -322,7 +322,7 @@ 'action_name': 'node_mksnapshot', 'process_outputs_as_sources': 1, 'inputs': [ @@ -43,6 +35,15 @@ index 97cdbb531d..db5cf51ce6 100644 '<(node_snapshot_main)', ], 'outputs': [ +@@ -342,7 +342,7 @@ + 'action_name': 'node_mksnapshot', + 'process_outputs_as_sources': 1, + 'inputs': [ +- '<(node_mksnapshot_exec)', ++ @MAYBE_WRAPPER@ '<(node_mksnapshot_exec)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/node_snapshot.cc', diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 73099a03e4..88ca91efb4 100644 --- a/tools/v8_gypfiles/v8.gyp @@ -74,7 +75,7 @@ index 73099a03e4..88ca91efb4 100644 ], 'outputs': [ '<(generate_bytecode_builtins_list_output)', -@@ -395,7 +395,7 @@ +@@ -400,7 +400,7 @@ ], }, 'inputs': [ @@ -83,7 +84,7 @@ index 73099a03e4..88ca91efb4 100644 ], 'outputs': [ '<(INTERMEDIATE_DIR)/snapshot.cc', -@@ -1505,7 +1505,7 @@ +@@ -1569,7 +1569,7 @@ { 'action_name': 'run_gen-regexp-special-case_action', 'inputs': [ diff --git a/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch b/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch index 5b93998e5e..f1cdad3d9c 100644 --- a/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch +++ b/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch @@ -21,7 +21,7 @@ diff --git a/lib/internal/modules/cjs/loader.js b/lib/internal/modules/cjs/loade index f1971c40a4..5fe3884156 100644 --- a/lib/internal/modules/cjs/loader.js +++ b/lib/internal/modules/cjs/loader.js -@@ -1261,7 +1261,8 @@ Module._initPaths = function() { +@@ -1391,7 +1391,8 @@ Module._initPaths = function() { path.resolve(process.execPath, '..') : path.resolve(process.execPath, '..', '..'); diff --git a/package/nodejs/nodejs.hash b/package/nodejs/nodejs.hash index eaf41f6437..2fff229ed7 100644 --- a/package/nodejs/nodejs.hash +++ b/package/nodejs/nodejs.hash @@ -1,9 +1,8 @@ -# From https://nodejs.org/dist/v16.20.0/SHASUMS256.txt.asc -sha256 aca4794ca60f2e17689a700eeaa95d7adcd5fd01cdd2e4f9d596ac41b600b796 node-v16.20.0-linux-arm64.tar.xz -sha256 5b79addab37bbdc31b442f8e648efad0b5d3aa5f3e0d682f23f4db483408eb2a node-v16.20.0-linux-armv7l.tar.xz -sha256 b439a8f874e8c2fad287ba75a3229407551f5ff9eb41e45e43e9bf67f184f618 node-v16.20.0-linux-ppc64le.tar.xz -sha256 dff21020b555cc165a1ac36da7d4f6c810b35409c94e00afc51d5d370aae47ae node-v16.20.0-linux-x64.tar.xz -sha256 e0990f992234e40a51fe11f92c3816c93a77e1b081145d3dd762cd1026345349 node-v16.20.0.tar.xz - +# From https://nodejs.org/dist/v18.18.0/SHASUMS256.txt.asc +sha256 e2931643cc3ee37375ae5c6dc2028ff526948a227d9fd5d481316240de6e58a5 node-v18.18.0-linux-arm64.tar.xz +sha256 afcc9e01345243a19fbc05ce662b693568f31925679e8e0e7067d752296831f1 node-v18.18.0-linux-armv7l.tar.xz +sha256 121204a93ac931146b3325a1748ae06d8b4d75db37566a792032e1c859bc8911 node-v18.18.0-linux-ppc64le.tar.xz +sha256 3008408e9098f2462f7b1a0f6a48b8a46079beb1c92b6ec43b04713265c96978 node-v18.18.0-linux-x64.tar.xz +sha256 e4d4dbac3634d99f892f00db47da78f98493c339582e8a95fb2dd59f5cfe0f90 node-v18.18.0.tar.xz # Locally calculated -sha256 ba325815d3df8819bebaf37cad67d6e1f82271e1e4a1189b53abd28e261977d6 LICENSE +sha256 a6871483905199033882d66453649675f0e88ffaa07f9f8acb257ce7504bc758 LICENSE diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 2a8c570932..90560d05ff 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -5,7 +5,7 @@ ################################################################################ # _VERSION, _SOURCE and _SITE must be kept empty to avoid downloading anything -NODEJS_COMMON_VERSION = 16.20.0 +NODEJS_COMMON_VERSION = 18.18.0 NODEJS_COMMON_SOURCE = node-v$(NODEJS_COMMON_VERSION).tar.xz NODEJS_COMMON_SITE = http://nodejs.org/dist/v$(NODEJS_COMMON_VERSION) diff --git a/support/testing/tests/package/test_nodejs.py b/support/testing/tests/package/test_nodejs.py index b63d44c97e..c793391649 100644 --- a/support/testing/tests/package/test_nodejs.py +++ b/support/testing/tests/package/test_nodejs.py @@ -10,6 +10,7 @@ class TestNodeJSBasic(infra.basetest.BRTest): BR2_cortex_a9=y BR2_ARM_ENABLE_VFP=y BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_PACKAGE_NODEJS=y BR2_TARGET_ROOTFS_CPIO=y # BR2_TARGET_ROOTFS_TAR is not set @@ -34,6 +35,7 @@ class TestNodeJSModuleHostBin(infra.basetest.BRTest): BR2_cortex_a9=y BR2_ARM_ENABLE_VFP=y BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_PACKAGE_NODEJS=y BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL="lodash" BR2_PACKAGE_HOST_NODEJS_BIN=y -- 2.41.0 From giulio.benetti at benettiengineering.com Tue Oct 10 12:19:09 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 10 Oct 2023 14:19:09 +0200 Subject: [Buildroot] [PATCH] package/libfuse3: bump to version 3.16.2 Message-ID: <20231010121909.1476603-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/libfuse3/libfuse3.hash | 2 +- package/libfuse3/libfuse3.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfuse3/libfuse3.hash b/package/libfuse3/libfuse3.hash index e812bb81e8..6f3b3ce122 100644 --- a/package/libfuse3/libfuse3.hash +++ b/package/libfuse3/libfuse3.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 checksums -sha256 17c44c13f6a123c0c13d074fcf61c230a88531202a40c864187dee78f5851693 libfuse3-3.16.1.tar.gz +sha256 1bc306be1a1f4f6c8965fbdd79c9ccca021fdc4b277d501483a711cbd7dbcd6c libfuse3-3.16.2.tar.gz sha256 b8832d9caaa075bbbd2aef24efa09f8b7ab66a832812d88c602da0c7b4397fad LICENSE diff --git a/package/libfuse3/libfuse3.mk b/package/libfuse3/libfuse3.mk index a4b1f08266..f5c9dae8f7 100644 --- a/package/libfuse3/libfuse3.mk +++ b/package/libfuse3/libfuse3.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFUSE3_VERSION = 3.16.1 +LIBFUSE3_VERSION = 3.16.2 LIBFUSE3_SITE = $(call github,libfuse,libfuse,fuse-$(LIBFUSE3_VERSION)) LIBFUSE3_LICENSE = LGPL-2.1 LIBFUSE3_LICENSE_FILES = LICENSE -- 2.34.1 From florian.schaeffner at physiomed.de Tue Oct 10 12:59:07 2023 From: florian.schaeffner at physiomed.de (=?iso-8859-1?Q?Sch=E4ffner=2C_Florian?=) Date: Tue, 10 Oct 2023 12:59:07 +0000 Subject: [Buildroot] Future buildroot with QtQuick/QML Support Message-ID: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> Hello, our application is built in the development environment with Qt 6 and QtQuick/QML. Now i tried, but wasn't able to setup a working buildroot for our application to run on a embedded device. I found the conversation about qt6 and QML Support on the buildroot mailing list and that it seems to be not possible to setup a buildroot for our needs with Qt6 and QML support. https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ If I understood the answer from Giulio Benetti correctly, there is currently no chance to make this configuration work for our embedded board with buildroot? Can you please tell me if there will be support for this in the next major buildroot version? Or is it not planned or foreseeable when a QML support is possible with buildroot? Thank you and kind regards Florian -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.claveirole at green-communications.fr Tue Oct 10 13:13:27 2023 From: thomas.claveirole at green-communications.fr (Thomas Claveirole) Date: Tue, 10 Oct 2023 15:13:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/openlayers: bump to version 8.1.0 Message-ID: <20231010131327.1128307-1-thomas.claveirole@green-communications.fr> Signed-off-by: Thomas Claveirole --- package/openlayers/openlayers.hash | 2 +- package/openlayers/openlayers.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/openlayers/openlayers.hash b/package/openlayers/openlayers.hash index 61fe8aea2a..af9087ede2 100644 --- a/package/openlayers/openlayers.hash +++ b/package/openlayers/openlayers.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5d89c7017ca85b53bea6402a1222909dc49a061ffa351d3d1e0ac40b94dd2d38 v7.3.0-package.zip +sha256 867778afdd66cd29fe0f14ac4ed316a0ab393f5dccfd2219450848cd0347f1d6 v8.1.0-package.zip sha256 6c4347b83a8c9feef18d57b18e3b6c44cf901b3c344a4a1fbd837e421555ab8e LICENSE.md diff --git a/package/openlayers/openlayers.mk b/package/openlayers/openlayers.mk index 37e530220a..fde83d6e84 100644 --- a/package/openlayers/openlayers.mk +++ b/package/openlayers/openlayers.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENLAYERS_VERSION = 7.3.0 +OPENLAYERS_VERSION = 8.1.0 OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-package.zip OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION) OPENLAYERS_LICENSE = BSD-2-Clause -- 2.42.0 From giulio.benetti at benettiengineering.com Tue Oct 10 13:18:44 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 10 Oct 2023 15:18:44 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> Message-ID: <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> Hello Florian, On 10/10/23 14:59, Sch?ffner, Florian wrote: > Hello, > > our application is built in the development environment with Qt 6 and > QtQuick/QML. Now i tried, but wasn?t able to setup a working buildroot > for our application to run on a embedded device. > > I found the conversation about qt6 and QML Support on the buildroot > mailing list and that it seems to be not possible to setup a buildroot > for our needs with Qt6 and QML support. > > https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > > If I understood the answer from Giulio Benetti correctly, there is > currently no chance to make this configuration work for our embedded > board with buildroot? > > Can you please tell me if there will be support for this in the next > major buildroot version? Or is it not planned or foreseeable when a QML > support is possible with buildroot? as I can see from Buildroot patchork at the moment there is no pending patches to add features, but this doesn't mean it won't be added. Which modules would you be interested in most of all? Best regards -- Giulio Benetti CEO&CTO at Benetti Engineering sas From thomas.claveirole at green-communications.fr Tue Oct 10 13:16:25 2023 From: thomas.claveirole at green-communications.fr (Thomas Claveirole) Date: Tue, 10 Oct 2023 15:16:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/vuejs: bump to version 3.3.4 Message-ID: <20231010131626.1128436-1-thomas.claveirole@green-communications.fr> Signed-off-by: Thomas Claveirole --- package/vuejs/vuejs.hash | 2 +- package/vuejs/vuejs.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vuejs/vuejs.hash b/package/vuejs/vuejs.hash index 488608bc4c..d3bca46803 100644 --- a/package/vuejs/vuejs.hash +++ b/package/vuejs/vuejs.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 b4d0234f0806a723d79a89426c7dbb351cf6cf554c323cf2625a3e078a93d065 vue-3.3.2.tgz +sha256 5d3ab0144d5b8eaf28ccfbf27500669a91463226c4767041c7293ce76065171a vue-3.3.4.tgz sha256 1bb85cc9b13b81ef41c81c51866172fc345e0503c86726a6755b796590b70175 LICENSE diff --git a/package/vuejs/vuejs.mk b/package/vuejs/vuejs.mk index 50b7100b8a..29bf3bc66b 100644 --- a/package/vuejs/vuejs.mk +++ b/package/vuejs/vuejs.mk @@ -4,7 +4,7 @@ # ################################################################################ -VUEJS_VERSION = 3.3.2 +VUEJS_VERSION = 3.3.4 VUEJS_SOURCE = vue-$(VUEJS_VERSION).tgz VUEJS_SITE = https://registry.npmjs.org/vue/- VUEJS_LICENSE = MIT -- 2.42.0 From thomas.claveirole at green-communications.fr Tue Oct 10 13:16:26 2023 From: thomas.claveirole at green-communications.fr (Thomas Claveirole) Date: Tue, 10 Oct 2023 15:16:26 +0200 Subject: [Buildroot] [PATCH 2/2] package/vuejs-router: bump to version 4.2.5 In-Reply-To: <20231010131626.1128436-1-thomas.claveirole@green-communications.fr> References: <20231010131626.1128436-1-thomas.claveirole@green-communications.fr> Message-ID: <20231010131626.1128436-2-thomas.claveirole@green-communications.fr> Signed-off-by: Thomas Claveirole --- package/vuejs-router/vuejs-router.hash | 2 +- package/vuejs-router/vuejs-router.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vuejs-router/vuejs-router.hash b/package/vuejs-router/vuejs-router.hash index d9468e722d..f87d18f7ed 100644 --- a/package/vuejs-router/vuejs-router.hash +++ b/package/vuejs-router/vuejs-router.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 b044e304367baaaf60fd2ee6880fb02d4e9875bc4321a4e2672a60ad4c5c55b2 vue-router-4.2.0.tgz +sha256 61dc033860c42a2f3af046d461ef14348b1fe9094b27d107f7be6d1420d39b11 vue-router-4.2.5.tgz sha256 91a2845c4db44e7497b514b98634a674c737986ad0db81599307cf733bf850b2 LICENSE diff --git a/package/vuejs-router/vuejs-router.mk b/package/vuejs-router/vuejs-router.mk index 2737134919..7f73fed5d5 100644 --- a/package/vuejs-router/vuejs-router.mk +++ b/package/vuejs-router/vuejs-router.mk @@ -4,7 +4,7 @@ # ################################################################################ -VUEJS_ROUTER_VERSION = 4.2.0 +VUEJS_ROUTER_VERSION = 4.2.5 VUEJS_ROUTER_SOURCE = vue-router-$(VUEJS_ROUTER_VERSION).tgz VUEJS_ROUTER_SITE = https://registry.npmjs.org/vue-router/- VUEJS_ROUTER_LICENSE = MIT -- 2.42.0 From thomas at devoogdt.com Tue Oct 10 14:34:16 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Tue, 10 Oct 2023 16:34:16 +0200 Subject: [Buildroot] [PATCH] package/opengl/libegl: remove BR2_PACKAGE_HAS_LIBEGL_WAYLAND Message-ID: Hi Thomas, Yann, All, What is the status of this patch? It seems useful to have libegl/libgbm support in mesa without pulling in Wayland. Especially for WebKitGTK, Kr, Thomas Devoogdt From adam.duskett at amarulasolutions.com Tue Oct 10 16:45:54 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 18:45:54 +0200 Subject: [Buildroot] [PATCH 2/2] support/testing/tests/package/test_postgresql.py: new test In-Reply-To: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> References: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010164554.2954023-2-adam.duskett@amarulasolutions.com> Perform a basic check that performs the following: - Check if /var/lib/pgsql/postmaster.pid exists. - Check if 'psql -c SHOW server_version;' returns sucessfully. Note: systemd takes quite a while to start up, so check the output of `systemctl is-active postgresql` until it shows "active" with a timeout of 15 seconds. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + .../testing/tests/package/test_postgresql.py | 76 +++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 support/testing/tests/package/test_postgresql.py diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..2421bf8ff7 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -38,6 +38,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: support/testing/tests/package/test_flutter.py +F: support/testing/tests/package/test_postgresql.py N: Adam Heinrich F: package/jack1/ diff --git a/support/testing/tests/package/test_postgresql.py b/support/testing/tests/package/test_postgresql.py new file mode 100644 index 0000000000..b510a02f44 --- /dev/null +++ b/support/testing/tests/package/test_postgresql.py @@ -0,0 +1,76 @@ +import os +import time +import infra.basetest + + +class TestPostgreSQLInitd(infra.basetest.BRTest): + config: str = """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PER_PACKAGE_DIRECTORIES=y + BR2_PACKAGE_POSTGRESQL=y + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_4=y + BR2_TARGET_ROOTFS_EXT2_SIZE="128M" + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.ext2") + self.emulator.boot( + arch="armv7", + kernel="builtin", + kernel_cmdline=["root=/dev/mmcblk0"], + options=["-drive", f"file={img},if=sd,format=raw"]) + self.emulator.login() + + # Check if the Daemon is running + self.assertRunOk("ls /var/lib/pgsql/postmaster.pid") + + # Check if we can connect to the database. + self.assertRunOk("su postgres -c \"psql -c 'SHOW server_version;'\"") + + +class TestPostgreSQLSystemd(infra.basetest.BRTest): + config: str = """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_INIT_SYSTEMD=y + BR2_PER_PACKAGE_DIRECTORIES=y + BR2_PACKAGE_POSTGRESQL=y + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_4=y + BR2_TARGET_ROOTFS_EXT2_SIZE="128M" + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.ext2") + self.emulator.boot( + arch="armv7", + kernel="builtin", + kernel_cmdline=["root=/dev/mmcblk0"], + options=["-drive", f"file={img},if=sd,format=raw"]) + self.emulator.login() + + # Check if the Daemon is running + self.assertRunOk("ls /var/lib/pgsql/postmaster.pid") + + # It may take some time for PostgreSQL to finish startup. Give it at least 15 seconds. + is_active = False + for i in range(15): + output, _ = self.emulator.run("systemctl is-active postgresql") + if output[0] == "active": + is_active = True + break + time.sleep(1) + if not is_active: + self.fail("postgresql failed to active.") + # Check if we can connect to the database. + self.assertRunOk("cd / && su postgres -c \"psql -c 'SHOW server_version;'\"") -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 16:45:53 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 18:45:53 +0200 Subject: [Buildroot] [PATCH 1/2] package/postgresql/postgresql.service: set locale for initdb to C Message-ID: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> From: Peter Seiderer >From this patch from Sept. 20, 2020, postgresql.service is still broken on startup: Postgresql systemd startup fails with: Starting PostgreSQL database server... [FAILED] Failed to start PostgreSQL database server. See 'systemctl status postgresql.service' for details. $ systemctl status postgresql.service | cat ? postgresql.service - PostgreSQL database server Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2020-09-12 12:16:35 UTC; 35s ago Process: 164 ExecStartPre=/bin/sh -c if [ ! -f /var/lib/pgsql/PG_VERSION ]; then /usr/bin/pg_ctl initdb -D /var/lib/pgsql; fi (code=exited, status=1/FAILURE) Sep 12 12:16:35 buildroot systemd[1]: Starting PostgreSQL database server... Sep 12 12:16:35 buildroot postgres[166]: The files belonging to this database system will be owned by user "postgres". Sep 12 12:16:35 buildroot postgres[166]: This user must also own the server process. Sep 12 12:16:35 buildroot postgres[166]: initdb: error: invalid locale settings; check LANG and LC_* environment variables Sep 12 12:16:35 buildroot systemd[1]: postgresql.service: Control process exited, code=exited, status=1/FAILURE Sep 12 12:16:35 buildroot postgres[164]: pg_ctl: database system initialization failed Sep 12 12:16:35 buildroot systemd[1]: postgresql.service: Failed with result 'exit-code'. Sep 12 12:16:35 buildroot systemd[1]: Failed to start PostgreSQL database server. Fix it by setting a sane/always available locale=C in the startup files. A similare failure/fix was reported by Pascal de Bruijn ([1]), but with en_US.UTF-8 instead of C. [1] http://lists.busybox.net/pipermail/buildroot/2019-November/266700.html Signed-off-by: Peter Seiderer Signed-off-by: Adam Duskett --- package/postgresql/postgresql.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/postgresql/postgresql.service b/package/postgresql/postgresql.service index 539eea8964..245375b77d 100644 --- a/package/postgresql/postgresql.service +++ b/package/postgresql/postgresql.service @@ -16,7 +16,7 @@ StandardOutput=syslog StandardError=syslog SyslogIdentifier=postgres -ExecStartPre=/bin/sh -c "if [ ! -f /var/lib/pgsql/PG_VERSION ]; then /usr/bin/pg_ctl initdb -D /var/lib/pgsql; fi" +ExecStartPre=/bin/sh -c "if [ ! -f /var/lib/pgsql/PG_VERSION ]; then /usr/bin/pg_ctl initdb -D /var/lib/pgsql -o --locale=C; fi" ExecStart=/usr/bin/postgres -D /var/lib/pgsql ExecReload=/usr/bin/kill -HUP $MAINPID KillMode=mixed -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:25 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:25 +0200 Subject: [Buildroot] [PATCH 1/9] package/dhcp: enable selinux module Message-ID: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/dhcp/dhcp.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 7be40191c8..9d0bcf001f 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -7,6 +7,7 @@ DHCP_VERSION = 4.4.3-P1 DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES +DHCP_SELINUX_MODULES = dhcp DHCP_LICENSE = MPL-2.0 DHCP_LICENSE_FILES = LICENSE DHCP_DEPENDENCIES = host-gawk -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:26 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:26 +0200 Subject: [Buildroot] [PATCH 2/9] package/docker: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/docker/docker.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/docker/docker.mk b/package/docker/docker.mk index 4a8c6fcd8d..39f7ee4580 100644 --- a/package/docker/docker.mk +++ b/package/docker/docker.mk @@ -7,7 +7,7 @@ DOCKER_VERSION = 1.5 DOCKER_SITE = http://icculus.org/openbox/2/docker DOCKER_DEPENDENCIES = host-pkgconf libglib2 xlib_libX11 - +DOCKER_SELINUX_MODULES = docker DOCKER_LICENSE = GPL-2.0+ # The 'or later' is specified at the end of the README, so include that one too. DOCKER_LICENSE_FILES = COPYING README -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:27 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:27 +0200 Subject: [Buildroot] [PATCH 3/9] package/mono: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/mono/mono.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mono/mono.mk b/package/mono/mono.mk index b88f2b379e..aead85bac0 100644 --- a/package/mono/mono.mk +++ b/package/mono/mono.mk @@ -7,6 +7,7 @@ MONO_VERSION = 6.12.0.182 MONO_SITE = http://download.mono-project.com/sources/mono MONO_SOURCE = mono-$(MONO_VERSION).tar.xz +MONO_SELINUX_MODULES = mono MONO_LICENSE = GPL-2.0 or MIT (compiler, tools), MIT (libs) or commercial MONO_LICENSE_FILES = LICENSE mcs/COPYING \ external/Newtonsoft.Json/Tools/7-zip/copying.txt -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:28 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:28 +0200 Subject: [Buildroot] [PATCH 4/9] package/qemu: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-4-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/qemu/qemu.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 6aaed32336..208233cfd9 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -9,6 +9,7 @@ QEMU_VERSION = 8.1.0 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz QEMU_SITE = https://download.qemu.org +QEMU_SELINUX_MODULES = qemu QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c QEMU_LICENSE_FILES = COPYING COPYING.LIB # NOTE: there is no top-level license file for non-(L)GPL licenses; -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:30 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:30 +0200 Subject: [Buildroot] [PATCH 6/9] package/watchdog: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-6-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/watchdog/watchdog.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/watchdog/watchdog.mk b/package/watchdog/watchdog.mk index 2699fb474f..c5066ad5b1 100644 --- a/package/watchdog/watchdog.mk +++ b/package/watchdog/watchdog.mk @@ -6,6 +6,7 @@ WATCHDOG_VERSION = 5.16 WATCHDOG_SITE = http://downloads.sourceforge.net/sourceforge/watchdog +WATCHDOG_SELINUX_MODULES = watchdog WATCHDOG_LICENSE = GPL-2.0+ WATCHDOG_LICENSE_FILES = COPYING # By default installs binaries in /usr/sbin/, but we want them in -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:29 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:29 +0200 Subject: [Buildroot] [PATCH 5/9] package/tzdata: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-5-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/tzdata/tzdata.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/tzdata/tzdata.mk b/package/tzdata/tzdata.mk index 08f3c83bd1..33e296d7d7 100644 --- a/package/tzdata/tzdata.mk +++ b/package/tzdata/tzdata.mk @@ -7,6 +7,7 @@ TZDATA_VERSION = 2023c TZDATA_SOURCE = tzdata$(TZDATA_VERSION).tar.gz TZDATA_SITE = https://www.iana.org/time-zones/repository/releases +TZDATA_SELINUX_MODULES = tzdata TZDATA_STRIP_COMPONENTS = 0 TZDATA_DEPENDENCIES = host-tzdata HOST_TZDATA_DEPENDENCIES = host-zic -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:31 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:31 +0200 Subject: [Buildroot] [PATCH 7/9] package/xen: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-7-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/xen/xen.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/xen/xen.mk b/package/xen/xen.mk index 169753e89f..fcf35144a5 100644 --- a/package/xen/xen.mk +++ b/package/xen/xen.mk @@ -6,6 +6,7 @@ XEN_VERSION = 4.14.5 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) +XEN_SELINUX_MODULES = xen XEN_LICENSE = GPL-2.0 XEN_LICENSE_FILES = COPYING XEN_CPE_ID_VENDOR = xen -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:33 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:33 +0200 Subject: [Buildroot] [PATCH 9/9] package/zfs: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-9-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/zfs/zfs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk index b852d8d4e2..f0461ea9ec 100644 --- a/package/zfs/zfs.mk +++ b/package/zfs/zfs.mk @@ -7,6 +7,7 @@ ZFS_VERSION = 2.1.12 ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION) ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch +ZFS_SELINUX_MODULES = zfs ZFS_LICENSE = CDDL ZFS_LICENSE_FILES = LICENSE COPYRIGHT ZFS_CPE_ID_VENDOR = openzfs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:32 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:32 +0200 Subject: [Buildroot] [PATCH 8/9] package/zabbix: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-8-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/zabbix/zabbix.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zabbix/zabbix.mk b/package/zabbix/zabbix.mk index 0d6c579f4c..3b126caa49 100644 --- a/package/zabbix/zabbix.mk +++ b/package/zabbix/zabbix.mk @@ -7,6 +7,7 @@ ZABBIX_VERSION_MAJOR = 6.2 ZABBIX_VERSION = $(ZABBIX_VERSION_MAJOR).7 ZABBIX_SITE = https://cdn.zabbix.com/zabbix/sources/stable/$(ZABBIX_VERSION_MAJOR) +ZABBIX_SELINUX_MODULES = zabbix ZABBIX_LICENSE = GPL-2.0+ ZABBIX_LICENSE_FILES = README COPYING ZABBIX_CPE_ID_VENDOR = zabbix -- 2.41.0 From fido_max at inbox.ru Tue Oct 10 17:02:38 2023 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Tue, 10 Oct 2023 20:02:38 +0300 Subject: [Buildroot] [PATCH 1/2] package/postgresql/postgresql.service: set locale for initdb to C In-Reply-To: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> References: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> Message-ID: <9fb1ef66-66d6-460b-bb12-9ed8f067947a@inbox.ru> On 10.10.2023 19:45, Adam Duskett wrote: > From: Peter Seiderer > > From this patch from Sept. 20, 2020, postgresql.service is still broken on > startup: > > Postgresql systemd startup fails with: > Signed-off-by: Peter Seiderer > Signed-off-by: Adam Duskett Reviewed-by: Maxim Kochetkov From arnout at mind.be Tue Oct 10 18:10:51 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 20:10:51 +0200 Subject: [Buildroot] [RFC] Per-package and relocatable SDKs problem? In-Reply-To: References: Message-ID: Hi Charles, On 09/10/2023 23:37, Charles Hardin wrote: > For the curious, > > We have discovered a problem in that the per-package build of the host > directory is doing an rsync to finalize the tree from the last > per-package directory in the dependency chain (in our case below this > is qt5tools). This means that several text files like the one below > (shasum) contain the per-package directory path in them. > > For example - a per-package build and check the BUILD directory to > check the shasum script > > $ head -5 host/bin/shasum > #!/home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl > eval 'exec > /home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl > -S $0 ${1+"$@"}' > if 0; # ^ Run only under a shell > #!perl > ... snip snip ... > > This works in the build path but will fail when the SDK is made and > relocated because the relocate-sdk.sh script doesn't handle > per-package paths. > > # Make sure file uses the right language > export LC_ALL=C > # Replace the old path with the new one in all text files > grep -lr "${OLDPATH}" . | while read -r FILE ; do > if file -b --mime-type "${FILE}" | grep -q '^text/' && [ > "${FILE}" != "${LOCFILE}" ] > then > sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" > fi > done > > > The OLDPATH is the old location of the directory without the concept > of the per-package paths in the tree. So, is this something that is > known? Tried searching the mailing list and commits and didn't see a > reference to this problem so was a bit curious. I believe that should be fixed by [1]. Apparently nobody else encountered this problem up to now because that patch never received any Acked-by or Tested-by :-) Regards, Arnout [1] https://patchwork.ozlabs.org/project/buildroot/patch/20221227154300.10556-1-brandon.maier at collins.com/ > > Charles > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Oct 10 18:24:02 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 20:24:02 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> Message-ID: <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> On 10/10/2023 15:18, Giulio Benetti wrote: > Hello Florian, > > On 10/10/23 14:59, Sch?ffner, Florian wrote: >> Hello, >> >> our application is built in the development environment with Qt 6 and >> QtQuick/QML. Now i tried, but wasn?t able to setup a working buildroot for our >> application to run on a embedded device. >> >> I found the conversation about qt6 and QML Support on the buildroot mailing >> list and that it seems to be not possible to setup a buildroot for our needs >> with Qt6 and QML support. >> >> https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ >> >> If I understood the answer from Giulio Benetti correctly, there is currently >> no chance to make this configuration work for our embedded board with buildroot? >> >> Can you please tell me if there will be support for this in the next major >> buildroot version? Or is it not planned or foreseeable when a QML support is >> possible with buildroot? Buildroot is a volunteer project - nothing is "planned" unless someone goes through the effort of contributing it. > as I can see from Buildroot patchork at the moment there is no pending > patches to add features, but this doesn't mean it won't be added. > > Which modules would you be interested in most of all? If you're not able or willing to develop the Qt6 QML support yourself, you may want to hire some help to do it. At the bottom of the "support" page on the website [1] some companies are mentioned that can provide that help (I work for one of them). Or you can find a freelancer - like Giulio. You can also ask the original contributor of Qt6 (Jesse, added in Cc) if they perhaps have some PoC for QML already. Or perhaps their employer would be willing to share the cost of developing it. Regards, Arnout From stefan.nickl at gmail.com Tue Oct 10 18:50:40 2023 From: stefan.nickl at gmail.com (Stefan Nickl) Date: Tue, 10 Oct 2023 20:50:40 +0200 Subject: [Buildroot] candidate packages : ros2 and wxwidgets In-Reply-To: References: <2209e11a-bda9-5193-9b4d-20a5f0fa34e3@linatsea.fr> Message-ID: On Wed, 2022-06-29 at 15:29 +0100, Mike Davies wrote: > I have spent many hours (over 100 so far) trying to get ROS2 built as > part of buildroot. I have been using the recommended ROS source build > route of using rosdep/colcon etc., to build ROS2 Galactic and more > recently Humble > > Starting with buildroot-2022.02 I have had to add 41 new packages, and > alter an existing 6 packages - either adding host builds or changing > configuration options. > > So far I have managed to build 157 of the 340 odd components. I can get > code onto the target, but it doesn't do a lot because so many > components are missing. > > Alas, I have got to the stage where I think it is no longer possible to > progress, or at least, it is going to take vastly more time than I am > willing to take. Hey Mike, I just found this old thread and wondered if you could share the work you've done so far. I'm interested in using ROS2 in an embedded system with buildroot and cross-compilation to aarch64. I don't need a full ros distribution, just enable some basic C/C++ programs on the target to talk with other ros nodes on the network via topics, services and actions. Maybe having just a very stripped-down version of ROS2 in buildroot would be useful for others as well. Thanks, Stefan From jesseevg at gmail.com Tue Oct 10 18:55:20 2023 From: jesseevg at gmail.com (Jesse Van Gavere) Date: Tue, 10 Oct 2023 20:55:20 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> Message-ID: Hi, Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle : > > > > On 10/10/2023 15:18, Giulio Benetti wrote: > > Hello Florian, > > > > On 10/10/23 14:59, Sch?ffner, Florian wrote: > >> Hello, > >> > >> our application is built in the development environment with Qt 6 and > >> QtQuick/QML. Now i tried, but wasn?t able to setup a working buildroot for our > >> application to run on a embedded device. > >> > >> I found the conversation about qt6 and QML Support on the buildroot mailing > >> list and that it seems to be not possible to setup a buildroot for our needs > >> with Qt6 and QML support. > >> > >> https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > >> > >> If I understood the answer from Giulio Benetti correctly, there is currently > >> no chance to make this configuration work for our embedded board with buildroot? > >> > >> Can you please tell me if there will be support for this in the next major > >> buildroot version? Or is it not planned or foreseeable when a QML support is > >> possible with buildroot? > > Buildroot is a volunteer project - nothing is "planned" unless someone goes > through the effort of contributing it. > > > as I can see from Buildroot patchork at the moment there is no pending > > patches to add features, but this doesn't mean it won't be added. > > > > Which modules would you be interested in most of all? > > If you're not able or willing to develop the Qt6 QML support yourself, you may > want to hire some help to do it. At the bottom of the "support" page on the > website [1] some companies are mentioned that can provide that help (I work for > one of them). Or you can find a freelancer - like Giulio. > > You can also ask the original contributor of Qt6 (Jesse, added in Cc) if they > perhaps have some PoC for QML already. Or perhaps their employer would be > willing to share the cost of developing it. I do have a working POC to build QML with a plan for supporting QtQuick, which I very much wanted to get upstreamed, however I've been swamped with other non-buildroot work sadly. That said, it should be very doable to add this support with not too much work. In a nutshell: You need to add qtshadertools because of the qsb tool it builds, this is a dependency for qtdeclarative to build QtQuick This patch will be important: http://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ The tricky thing there is that the host qt package does not build the GUI by default, however since qt6 certain tools need to be built through the host package, qsb is one of those, and to actually build qsb through the qtshadertools package you need GUI support in the host build, Thomas has provided some valuable feedback there how a proper follow up patch could look like to add this functionality the right way. Once that's done QML/QtQuick will be quite trivial to add, I already have a qt6declarative package you could work with and (with some refreshing of my memory) I could provide you the necessary config options to add QtQuick alongside it. As said I don't have the time myself at the moment to do it right, and I don't have a timeline for when I'll be able to do so, but if you're willing to continue on the work I have to get it merged in, I'll gladly help out where I can with some of my initial work and what I know of how to get it all working, the finishing touches and testing will be up to you however :) > > Regards, > Arnout > From ckhardin at gmail.com Tue Oct 10 19:05:31 2023 From: ckhardin at gmail.com (Charles Hardin) Date: Tue, 10 Oct 2023 12:05:31 -0700 Subject: [Buildroot] [RFC] Per-package and relocatable SDKs problem? In-Reply-To: References: Message-ID: Hi Arnout On Tue, Oct 10, 2023 at 11:10?AM Arnout Vandecappelle wrote: > > Hi Charles, > > On 09/10/2023 23:37, Charles Hardin wrote: > > For the curious, > > > > We have discovered a problem in that the per-package build of the host > > directory is doing an rsync to finalize the tree from the last > > per-package directory in the dependency chain (in our case below this > > is qt5tools). This means that several text files like the one below > > (shasum) contain the per-package directory path in them. > > > > For example - a per-package build and check the BUILD directory to > > check the shasum script > > > > $ head -5 host/bin/shasum > > #!/home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl > > eval 'exec > > /home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl > > -S $0 ${1+"$@"}' > > if 0; # ^ Run only under a shell > > #!perl > > ... snip snip ... > > > > This works in the build path but will fail when the SDK is made and > > relocated because the relocate-sdk.sh script doesn't handle > > per-package paths. > > > > # Make sure file uses the right language > > export LC_ALL=C > > # Replace the old path with the new one in all text files > > grep -lr "${OLDPATH}" . | while read -r FILE ; do > > if file -b --mime-type "${FILE}" | grep -q '^text/' && [ > > "${FILE}" != "${LOCFILE}" ] > > then > > sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" > > fi > > done > > > > > > The OLDPATH is the old location of the directory without the concept > > of the per-package paths in the tree. So, is this something that is > > known? Tried searching the mailing list and commits and didn't see a > > reference to this problem so was a bit curious. > > I believe that should be fixed by [1]. > > Apparently nobody else encountered this problem up to now because that patch > never received any Acked-by or Tested-by :-) > > Regards, > Arnout > > [1] > https://patchwork.ozlabs.org/project/buildroot/patch/20221227154300.10556-1-brandon.maier at collins.com/ > Confirmed - this fixed the problem. Thanks. Applied the patch for our project - hopefully it get's merged into mainline. > > > > > > Charles > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Oct 10 19:32:21 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 21:32:21 +0200 Subject: [Buildroot] [PATCH 3/7] package/skeleton-init-systemd: force permissions for buildroot runtime dirs In-Reply-To: <20230115125253.280257-4-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-4-nolange79@gmail.com> Message-ID: <42d44a84-66e8-65f5-8e06-92f95b381291@mind.be> Hi Norbert, Obviously, this doesn't apply any more because I committed a different tree. However... On 15/01/2023 13:52, Norbert Lange wrote: > A previous commit introduced /run/.br and /tmp/.br and a few > subdirectories. > Add a tmpfile to ensure the existance, ownership and permissions. > > Signed-off-by: Norbert Lange > --- > package/skeleton-init-systemd/00-buildroot.conf | 7 +++++++ > package/skeleton-init-systemd/skeleton-init-systemd.mk | 1 + > 2 files changed, 8 insertions(+) > create mode 100644 package/skeleton-init-systemd/00-buildroot.conf > > diff --git a/package/skeleton-init-systemd/00-buildroot.conf b/package/skeleton-init-systemd/00-buildroot.conf > new file mode 100644 > index 0000000000..a4c7bf0576 > --- /dev/null > +++ b/package/skeleton-init-systemd/00-buildroot.conf > @@ -0,0 +1,7 @@ > +# Create buildroot API directories and fix permissions > + > +d /run/.br 0755 root root - > +d /tmp/.br 0755 root root - I don't think this tmp directory is used anywhere? > +z /run/.br/bnd 0700 root root - > +z /run/.br/ovl 0700 root root - What's the point of doing this? These directories are created by the overlay service file. systemd-tmpfiles is started after local-fs.target and the /var overlay mount comes before, so it's the overlay service file that has to create them. You could say "hey maybe there's some other service that makes use of those directories" - but if so, that's another service that is going to come before local-fs.target, so it _also_ has to create those directories itself... There's a bit of a problem with systemd-tmpfiles, that it doesn't allow to specify dependencies/ordering. That's in fact one of the reasons the factory approach doesn't work so well. systemd-tmpfiles only works for services after sysinit.target, really - and therefore doesn't work for anything related to local filesystems. IMHO it would have been better to put tmpfile blocks in service definitions. But that's not the world we live in :-) So, I've marked as Rejected, but feel free to argue my points. Regards, Arnout > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index ad529cddf6..f431ec4612 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -91,6 +91,7 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS > ln -s ../run $(TARGET_DIR)/var/run > # prevent install scripts to create var/lock as directory > ln -s ../run/lock $(TARGET_DIR)/var/lock > + install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/00-buildroot.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/00-buildroot.conf > install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf > $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) > endef From adam.duskett at amarulasolutions.com Tue Oct 10 19:52:18 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 21:52:18 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> Message-ID: I can see about porting the package tomorrow! No worries! Adam Duskett Senior Embedded Systems Developer M. +1208-515-8102 adam.duskett at amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9170 info at amarulasolutions.com www.amarulasolutions.com On Tue, Oct 10, 2023 at 8:55?PM Jesse Van Gavere wrote: > Hi, > > Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle : > > > > > > > > On 10/10/2023 15:18, Giulio Benetti wrote: > > > Hello Florian, > > > > > > On 10/10/23 14:59, Sch?ffner, Florian wrote: > > >> Hello, > > >> > > >> our application is built in the development environment with Qt 6 and > > >> QtQuick/QML. Now i tried, but wasn?t able to setup a working > buildroot for our > > >> application to run on a embedded device. > > >> > > >> I found the conversation about qt6 and QML Support on the buildroot > mailing > > >> list and that it seems to be not possible to setup a buildroot for > our needs > > >> with Qt6 and QML support. > > >> > > >> > https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > > >> > > >> If I understood the answer from Giulio Benetti correctly, there is > currently > > >> no chance to make this configuration work for our embedded board with > buildroot? > > >> > > >> Can you please tell me if there will be support for this in the next > major > > >> buildroot version? Or is it not planned or foreseeable when a QML > support is > > >> possible with buildroot? > > > > Buildroot is a volunteer project - nothing is "planned" unless someone > goes > > through the effort of contributing it. > > > > > as I can see from Buildroot patchork at the moment there is no pending > > > patches to add features, but this doesn't mean it won't be added. > > > > > > Which modules would you be interested in most of all? > > > > If you're not able or willing to develop the Qt6 QML support yourself, > you may > > want to hire some help to do it. At the bottom of the "support" page on > the > > website [1] some companies are mentioned that can provide that help (I > work for > > one of them). Or you can find a freelancer - like Giulio. > > > > You can also ask the original contributor of Qt6 (Jesse, added in Cc) > if they > > perhaps have some PoC for QML already. Or perhaps their employer would be > > willing to share the cost of developing it. > > I do have a working POC to build QML with a plan for supporting > QtQuick, which I very much wanted to get upstreamed, however I've been > swamped with other non-buildroot work sadly. > That said, it should be very doable to add this support with not too much > work. > In a nutshell: > You need to add qtshadertools because of the qsb tool it builds, this > is a dependency for qtdeclarative to build QtQuick > This patch will be important: > > http://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ > The tricky thing there is that the host qt package does not build the > GUI by default, however since qt6 certain tools need to be built > through the host package, qsb is one of those, and to actually build > qsb through the qtshadertools package you need GUI support in the host > build, Thomas has provided some valuable feedback there how a proper > follow up patch could look like to add this functionality the right > way. > > Once that's done QML/QtQuick will be quite trivial to add, I already > have a qt6declarative package you could work with and (with some > refreshing of my memory) I could provide you the necessary config > options to add QtQuick alongside it. > > As said I don't have the time myself at the moment to do it right, and > I don't have a timeline for when I'll be able to do so, but if you're > willing to continue on the work I have to get it merged in, I'll > gladly help out where I can with some of my initial work and what I > know of how to get it all working, the finishing touches and testing > will be up to you however :) > > > > > Regards, > > Arnout > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnout at mind.be Tue Oct 10 19:59:53 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 21:59:53 +0200 Subject: [Buildroot] [PATCH 4/7] system: add systemd generator for /var In-Reply-To: <20230115125253.280257-5-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-5-nolange79@gmail.com> Message-ID: <4aaccdae-a9d8-6fea-8efb-99cdacf359b4@mind.be> Hi Norbert, I'm not entirely sure about this one, but not completely against it either. Since I do have a few comments below, I've marked as Changes Requested. On 15/01/2023 13:52, Norbert Lange wrote: > This commit adds an alternative that has the following characteristics: This commit adds an alternative /var management method that has the following characteristics: > > - Dont depend on anything being available, except the > API File Systems [1]. > > - Be a clean drop-in, that can be trivially added / removed. > > - Runs before systemd loads its configuration. > > Could be extended to handle more tricky paths like /etc. Well, for /etc there is no real reason for it to be writeable (but not persistent), is there? There are some debugging situations where it could be useful, but then I think you could just as well use the overlayfs approach. What is missing here still is why you'd prefer this over the overlay approach. That's explained in the help text though. Not that I really believe there's a good reason though - see below. > For more explaination, see the commit introducing the overlay method. That's commit 10c637ab06d935bbce4c833c4ab9695cdb32b6c8 now. I put most of your explanation in the commit message so this reference should still apply. explaination -> explanation > > The implementation doesnt focus on being expandable but simple, doesn't > in the future there could be an attempt to source shell scripts > for configuration. > So that multiple paths can be covered (/etc), > or the mounts and handling specified > (do-nothing, copy-over or overlay original contents). I don't think it makes sense to refer to an unproven theoretical extension like trying for some kind of half-baked writeable overlay without using overlayfs. Well, I shouldn't be talking, my current project is in fact doing exactly that - but let me tell you, it's half baked :-) > The intent is to have a direct replacement for the var factory method. > > [1] - https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems/ > > Cc: Yann E. MORIN > Cc: Romain Naour > Cc: Je?re?my Rosen > Signed-off-by: Norbert Lange > --- > .../generator/br-mount-generator | 19 +++++++++++++++++++ > .../skeleton-init-systemd.mk | 10 +++++++++- > system/Config.in | 13 +++++++++++++ > 3 files changed, 41 insertions(+), 1 deletion(-) > create mode 100755 package/skeleton-init-systemd/generator/br-mount-generator > > diff --git a/package/skeleton-init-systemd/generator/br-mount-generator b/package/skeleton-init-systemd/generator/br-mount-generator > new file mode 100755 > index 0000000000..fd10659c1c > --- /dev/null > +++ b/package/skeleton-init-systemd/generator/br-mount-generator > @@ -0,0 +1,19 @@ > +#!/bin/sh > +set -e > +# SPDX-License-Identifier: MIT The MIT license suggest that you copied this from somewhere else. If so, you must refer to the original - at least to the original author, as required by the MIT license. > +# Note: doing heavy stuff here is not recommended, but this way > +# the ordering is guaranteed. Be quick about everything. > +# Know that the generator can be run again later. > + > +[ "${SYSTEMD_IN_INITRD-0}" = 1 ] && exit I don't like this redundant default of 0 much. But that's just minor. > +grep '^tmpfs_br_var /var tmpfs' /proc/self/mounts >/dev/null && exit Why >/dev/null instead of grep -q? > + > +TMPMOUNT=/run/.br/.tmpvar > +trap "umount -l $TMPMOUNT || :; rmdir $TMPMOUNT || :" 0 > + > +mkdir -m755 -p $TMPMOUNT > +mount -n -t tmpfs -o nosuid,nodev,size=50% tmpfs_br_var $TMPMOUNT > + > +cp -r -p /var/. $TMPMOUNT > +# this is a shared mount so --move wont work "this" seems to refer to /run/.br/.tmpvar, which is _not_ a shared mount (and it's anyway not relevant if it is). /run is a shared mount and that is the reason you can't --move it. And perhaps add "so instead, bind-mount and unmount $TMPMOUNT afterwards (in the trap handler)." > +mount -n --bind $TMPMOUNT /var > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index f431ec4612..b9b8492f58 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -69,11 +69,19 @@ define SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > $(TARGET_DIR)/usr/lib/systemd/system/br-bindmount-run at .service > $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-overlay-prepare at .service \ > $(TARGET_DIR)/usr/lib/systemd/system/br-overlay-prepare at .service > - # /var mount gets pulled in automatically by basic.target > + # var.mount gets pulled in automatically by basic.target If you're anyway going to correct this comment, correct it correctly :-) It's pulled in by local-fs.target, not basic.target. > endef > SKELETON_INIT_SYSTEMD_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > endif # BR2_INIT_SYSTEMD_VAR_OVERLAYFS > > +ifeq ($(BR2_INIT_SYSTEMD_VAR_GENERATOR),y) > +define SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_GENERATOR > + $(INSTALL) -D -m 0755 $(SKELETON_INIT_SYSTEMD_PKGDIR)/generator/br-mount-generator \ > + $(TARGET_DIR)/usr/lib/systemd/system-generators/br-var-mount-generator Please keep the same name in PKGDIR. I know the intention is to keep it general so it can be used for other things (e.g. /etc), but it _isn't_ general so don't try pretending it is. > +endef > +SKELETON_INIT_SYSTEMD_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_GENERATOR > +endif # BR2_INIT_SYSTEMD_VAR_GENERATOR > + > endif # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW > > ifeq ($(BR2_INIT_SYSTEMD_POPULATE_TMPFILES),y) > diff --git a/system/Config.in b/system/Config.in > index cdf383d0d4..14fefbf283 100644 > --- a/system/Config.in > +++ b/system/Config.in > @@ -200,6 +200,19 @@ config BR2_INIT_SYSTEMD_VAR_OVERLAYFS > ExecStart= > ExecStart=/bin/mount --make-private -n /dev/sdc1 ${OVERLAY_DIR} > > +config BR2_INIT_SYSTEMD_VAR_GENERATOR > + bool "use a systemd generator to mount and populate a tmpfs" > + help > + Mount an tmpfs on /var, with the the original contents copied. > + > + The logic is contained in a systemd generator, to ensure this > + is done early and ordered before anything can access /var. > + > + Unlike the var factory, nothing needs to be prepared and > + the populating happens before any unit accesses /var. Well, nothing is _allowed_ to access /var before local-fs-pre.target, exactly because /var may be mounted (and mounting something depends on local-fs.target). If you do need to access /var, you need to do special magic like journald does and wait with using it until it gets mounted. Do you have an actual proven use case of something that requires /var before local-fs-pre.target (and that isn't an unacceptable hack)? > + Unlike the var factory, it does not need an overlayfs. If this is the only reason, then I don't think it's worth the bother to replace the factory. Regards, Arnout > + > config BR2_INIT_SYSTEMD_VAR_NONE > bool "do nothing" > help From arnout at mind.be Tue Oct 10 20:01:54 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:01:54 +0200 Subject: [Buildroot] [PATCH 5/7] package/skeleton-init-systemd: fix var.mount options In-Reply-To: <20230115125253.280257-6-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-6-nolange79@gmail.com> Message-ID: <8cf0f4df-0b95-4253-cee5-91cfc2b74205@mind.be> On 15/01/2023 13:52, Norbert Lange wrote: > The mode should reflect the mount directory, > and 755 is the default - so drop the mount option. > > Cc: Yann E. MORIN > Signed-off-by: Norbert Lange Applied to master, thanks. Regards, Arnout > --- > package/skeleton-init-systemd/var.mount | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/skeleton-init-systemd/var.mount b/package/skeleton-init-systemd/var.mount > index e97accef93..a681ab0c54 100644 > --- a/package/skeleton-init-systemd/var.mount > +++ b/package/skeleton-init-systemd/var.mount > @@ -12,4 +12,4 @@ After=swap.target > What=tmpfs > Where=/var > Type=tmpfs > -Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m > +Options=nosuid,nodev,size=50%%,nr_inodes=1m From arnout at mind.be Tue Oct 10 20:33:41 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:33:41 +0200 Subject: [Buildroot] [PATCH 6/7] package/systemd: handle creation of /var/log/journal In-Reply-To: <20230115125253.280257-7-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-7-nolange79@gmail.com> Message-ID: <1d3a588b-ccda-d232-e968-632d9fc54172@mind.be> On 15/01/2023 13:52, Norbert Lange wrote: > journald will always have a runtime log in /run/systemd/journal, > and a persistent one in /var/log/journal under certain conditions. > By default it will check for the existence of that directory. > > When /var is not backed by mass-storage you typically dont want your > log duplicated and journald should be tuned to account for > having only RAM available. > > Buildroot will now create this directory conditionally together with > it's handling of /var under a read-only filesystem. The patch now only creates the directory if rootfs-rw is enabled. This is actually not great IMHO - we have too many things hinging on that config setting that give meaning to it which doesn't really exist. Still, there's no better way to do it, really. > It is rather easy for users to opt-in by either creating that directory > or editing /etc/systemd/journald.conf. We really should have documentation of how to do this, and a runtime test that proves that it works. But OK, I anyway already committed this to master, thanks. Regards, Arnout > > Signed-off-by: Norbert Lange > --- > package/systemd/systemd.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index b96873b73f..420197005c 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -61,6 +61,7 @@ SYSTEMD_SELINUX_MODULES = systemd udev xdg > SYSTEMD_PROVIDES = udev > > SYSTEMD_CONF_OPTS += \ > + -Dcreate-log-dirs=false \ > -Ddefault-hierarchy=unified \ > -Didn=true \ > -Dima=false \ > @@ -100,6 +101,10 @@ ifeq ($(BR2_nios2),y) > SYSTEMD_LDFLAGS = $(TARGET_LDFLAGS) -Wl,--no-fatal-warnings > endif > > +ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) > +SYSTEMD_JOURNALD_PERMISSIONS = /var/log/journal d 2755 root systemd-journal - - - - - > +endif > + > ifeq ($(BR2_PACKAGE_ACL),y) > SYSTEMD_DEPENDENCIES += acl > SYSTEMD_CONF_OPTS += -Dacl=true > @@ -603,6 +608,7 @@ define SYSTEMD_PERMISSIONS > /var/lib/private d 700 0 0 - - - - - > /var/log/private d 700 0 0 - - - - - > /var/cache/private d 700 0 0 - - - - - > + $(SYSTEMD_JOURNALD_PERMISSIONS) > $(SYSTEMD_LOGIND_PERMISSIONS) > $(SYSTEMD_MACHINED_PERMISSIONS) > $(SYSTEMD_HOMED_PERMISSIONS) > @@ -782,6 +788,7 @@ HOST_SYSTEMD_CONF_OPTS = \ > --libdir=lib \ > --sysconfdir=/etc \ > --localstatedir=/var \ > + -Dcreate-log-dirs=false \ > -Dmode=release \ > -Dutmp=false \ > -Dhibernate=false \ From arnout at mind.be Tue Oct 10 20:36:05 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:36:05 +0200 Subject: [Buildroot] [PATCH 7/7] package/systemd: create the /boot directory In-Reply-To: <20230115125253.280257-8-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-8-nolange79@gmail.com> Message-ID: On 15/01/2023 13:52, Norbert Lange wrote: > The gpt-auto-generator can generate the boot.mount unit, and > report an error if this directory cant be created (read-only fs). > > Signed-off-by: Norbert Lange Applied to master, thanks. Regards, Arnout > --- > package/systemd/systemd.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index 420197005c..0074fa8791 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -603,6 +603,7 @@ define SYSTEMD_INSTALL_IMAGES_CMDS > endef > > define SYSTEMD_PERMISSIONS > + /boot d 700 0 0 - - - - - > /var/spool d 755 0 0 - - - - - > /var/lib d 755 0 0 - - - - - > /var/lib/private d 700 0 0 - - - - - From arnout at mind.be Tue Oct 10 20:34:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:34:29 +0200 Subject: [Buildroot] [git commit] package/systemd: create the /boot directory Message-ID: <20231010203622.7FCB6844B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7490cac62d42370a0a954d44ec34537e81234dd9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The gpt-auto-generator can generate the boot.mount unit, which reports an error if this directory can't be created (if / is read-only). There is no reason not to create this directory, even if the platform doesn't actually have a boot partition that can be mounted there. Signed-off-by: Norbert Lange Signed-off-by: Arnout Vandecappelle --- package/systemd/systemd.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 824c811c0c..13cd41f75b 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -621,6 +621,7 @@ define SYSTEMD_INSTALL_IMAGES_CMDS endef define SYSTEMD_PERMISSIONS + /boot d 700 0 0 - - - - - /var/spool d 755 0 0 - - - - - /var/lib d 755 0 0 - - - - - /var/lib/private d 700 0 0 - - - - - From arnout at mind.be Tue Oct 10 20:00:44 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:00:44 +0200 Subject: [Buildroot] [git commit] package/skeleton-init-systemd: fix var.mount options Message-ID: <20231010203622.68100844AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d9ac23c6d669f1d7d0ee6da8ccdae511a673235a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The mode should reflect the mount directory, and 755 is the default - so drop the mount option. Cc: Yann E. MORIN Signed-off-by: Norbert Lange Signed-off-by: Arnout Vandecappelle --- package/skeleton-init-systemd/factory/var.mount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/skeleton-init-systemd/factory/var.mount b/package/skeleton-init-systemd/factory/var.mount index e97accef93..a681ab0c54 100644 --- a/package/skeleton-init-systemd/factory/var.mount +++ b/package/skeleton-init-systemd/factory/var.mount @@ -12,4 +12,4 @@ After=swap.target What=tmpfs Where=/var Type=tmpfs -Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m +Options=nosuid,nodev,size=50%%,nr_inodes=1m From arnout at mind.be Tue Oct 10 20:29:15 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:29:15 +0200 Subject: [Buildroot] [git commit] package/systemd: handle creation of /var/log/journal Message-ID: <20231010203622.74162844B1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=23c5fe7909cc5ee3222331fb822496b580163e04 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master journald will always have a runtime log in /run/systemd/journal, and a persistent one in /var/log/journal under certain conditions. By default it will check for the existence of that directory. When /var is not backed by mass-storage you typically don't want your log duplicated and journald should be tuned to account for having only RAM available. With this commit, the directory will no longer be created automatically, but instead it's created only if the root filesystem is writeable. It is rather easy for users to opt-in by either creating that directory (e.g. with a tmpfiles fragment) or editing /etc/systemd/journald.conf. Signed-off-by: Norbert Lange Signed-off-by: Arnout Vandecappelle --- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index d220673572..824c811c0c 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -63,6 +63,7 @@ SYSTEMD_SELINUX_MODULES = systemd udev xdg SYSTEMD_PROVIDES = udev SYSTEMD_CONF_OPTS += \ + -Dcreate-log-dirs=false \ -Ddbus=false \ -Ddbus-interfaces-dir=no \ -Ddefault-compression='auto' \ @@ -111,6 +112,10 @@ ifeq ($(BR2_nios2),y) SYSTEMD_LDFLAGS = $(TARGET_LDFLAGS) -Wl,--no-fatal-warnings endif +ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) +SYSTEMD_JOURNALD_PERMISSIONS = /var/log/journal d 2755 root systemd-journal - - - - - +endif + ifeq ($(BR2_PACKAGE_ACL),y) SYSTEMD_DEPENDENCIES += acl SYSTEMD_CONF_OPTS += -Dacl=true @@ -621,6 +626,7 @@ define SYSTEMD_PERMISSIONS /var/lib/private d 700 0 0 - - - - - /var/log/private d 700 0 0 - - - - - /var/cache/private d 700 0 0 - - - - - + $(SYSTEMD_JOURNALD_PERMISSIONS) $(SYSTEMD_LOGIND_PERMISSIONS) $(SYSTEMD_MACHINED_PERMISSIONS) $(SYSTEMD_HOMED_PERMISSIONS) @@ -800,6 +806,7 @@ HOST_SYSTEMD_CONF_OPTS = \ --libdir=lib \ --sysconfdir=/etc \ --localstatedir=/var \ + -Dcreate-log-dirs=false \ -Dmode=release \ -Dutmp=false \ -Dhibernate=false \ From arnout at mind.be Tue Oct 10 20:39:25 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:39:25 +0200 Subject: [Buildroot] [RFC] Per-package and relocatable SDKs problem? In-Reply-To: References: Message-ID: <61aa0b20-3ffb-c1f8-a03b-3669bf4a1903@mind.be> On 10/10/2023 21:05, Charles Hardin wrote: > Hi Arnout > > On Tue, Oct 10, 2023 at 11:10?AM Arnout Vandecappelle wrote: >> >> Hi Charles, >> >> On 09/10/2023 23:37, Charles Hardin wrote: >>> For the curious, >>> >>> We have discovered a problem in that the per-package build of the host >>> directory is doing an rsync to finalize the tree from the last >>> per-package directory in the dependency chain (in our case below this >>> is qt5tools). This means that several text files like the one below >>> (shasum) contain the per-package directory path in them. >>> >>> For example - a per-package build and check the BUILD directory to >>> check the shasum script >>> >>> $ head -5 host/bin/shasum >>> #!/home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl >>> eval 'exec >>> /home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl >>> -S $0 ${1+"$@"}' >>> if 0; # ^ Run only under a shell >>> #!perl >>> ... snip snip ... >>> >>> This works in the build path but will fail when the SDK is made and >>> relocated because the relocate-sdk.sh script doesn't handle >>> per-package paths. >>> >>> # Make sure file uses the right language >>> export LC_ALL=C >>> # Replace the old path with the new one in all text files >>> grep -lr "${OLDPATH}" . | while read -r FILE ; do >>> if file -b --mime-type "${FILE}" | grep -q '^text/' && [ >>> "${FILE}" != "${LOCFILE}" ] >>> then >>> sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" >>> fi >>> done >>> >>> >>> The OLDPATH is the old location of the directory without the concept >>> of the per-package paths in the tree. So, is this something that is >>> known? Tried searching the mailing list and commits and didn't see a >>> reference to this problem so was a bit curious. >> >> I believe that should be fixed by [1]. >> >> Apparently nobody else encountered this problem up to now because that patch >> never received any Acked-by or Tested-by :-) >> >> Regards, >> Arnout >> >> [1] >> https://patchwork.ozlabs.org/project/buildroot/patch/20221227154300.10556-1-brandon.maier at collins.com/ >> > > Confirmed - this fixed the problem. Thanks. > > Applied the patch for our project - hopefully it get's merged into mainline. You can expedite that by replying to the patch with Tested-by: Your Name And if you actually review it (i.e. look at the code, check that indeed the code block was moved without modification, etc.), you can also added Acked-by: Your Name Regards, Arnout > >> >> >>> >>> Charles >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Oct 10 20:51:12 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:51:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/setools: bump version to 4.4.3 In-Reply-To: <20231007183053.12650-1-adam.duskett@amarulasolutions.com> References: <20231007183053.12650-1-adam.duskett@amarulasolutions.com> Message-ID: <24908e21-304c-46f6-bc39-3c7e88d383aa@mind.be> On 07/10/2023 20:30, Adam Duskett wrote: > Signed-off-by: Adam Duskett Applied to master, thanks. Regards, Arnout > --- > package/setools/setools.hash | 2 +- > package/setools/setools.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/setools/setools.hash b/package/setools/setools.hash > index c353e1f609..6a61fc2809 100644 > --- a/package/setools/setools.hash > +++ b/package/setools/setools.hash > @@ -1,5 +1,5 @@ > # Locally computed > -sha256 998d12d01852feed1889110a4ca81090a47a2d9b47368e4dfe2b94d68696c813 setools-4.4.2.tar.gz > +sha256 29f5e7d98764a6942b2e32c8aa44da6a618882818c79599ade967ece0cf1dace setools-4.4.3.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 b80d25a6b9..efb3869e5b 100644 > --- a/package/setools/setools.mk > +++ b/package/setools/setools.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SETOOLS_VERSION = 4.4.2 > +SETOOLS_VERSION = 4.4.3 > 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 arnout at mind.be Tue Oct 10 20:52:05 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:52:05 +0200 Subject: [Buildroot] [PATCH] package/libsoup: bump to version 2.74.3 In-Reply-To: <20231007192214.3670075-1-francois.perrad@gadz.org> References: <20231007192214.3670075-1-francois.perrad@gadz.org> Message-ID: On 07/10/2023 21:22, Francois Perrad wrote: > Signed-off-by: Francois Perrad It's really annoying that your Sob doesn't match your From address. Can you fix things up in your git config so that doesn't happen anymore? Applied to master, with the author changed to @gadz.org, thanks. Regards, Arnout > --- > package/libsoup/libsoup.hash | 4 ++-- > package/libsoup/libsoup.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libsoup/libsoup.hash b/package/libsoup/libsoup.hash > index 2f44e63d7..5f687068a 100644 > --- a/package/libsoup/libsoup.hash > +++ b/package/libsoup/libsoup.hash > @@ -1,4 +1,4 @@ > -# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.2.sha256sum > -sha256 f0a427656e5fe19e1df71c107e88dfa1b2e673c25c547b7823b6018b40d01159 libsoup-2.74.2.tar.xz > +# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.3.sha256sum > +sha256 e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13 libsoup-2.74.3.tar.xz > # Locally calculated > sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING > diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk > index 026ea3a8b..81bf42cab 100644 > --- a/package/libsoup/libsoup.mk > +++ b/package/libsoup/libsoup.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > LIBSOUP_VERSION_MAJOR = 2.74 > -LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).2 > +LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).3 > LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz > LIBSOUP_SITE = https://download.gnome.org/sources/libsoup/$(LIBSOUP_VERSION_MAJOR) > LIBSOUP_LICENSE = LGPL-2.0+ From arnout at mind.be Tue Oct 10 20:52:13 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:52:13 +0200 Subject: [Buildroot] [PATCH] package/mbedtls: bump to version 2.28.5 In-Reply-To: <20231007192225.3670096-1-francois.perrad@gadz.org> References: <20231007192225.3670096-1-francois.perrad@gadz.org> Message-ID: On 07/10/2023 21:22, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > package/mbedtls/mbedtls.hash | 2 +- > package/mbedtls/mbedtls.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash > index 6aa6d0235..d0cd0b210 100644 > --- a/package/mbedtls/mbedtls.hash > +++ b/package/mbedtls/mbedtls.hash > @@ -1,4 +1,4 @@ > # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: > -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz > +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz > # Locally calculated > sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE > diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk > index 62eda6ec9..1b941e04f 100644 > --- a/package/mbedtls/mbedtls.mk > +++ b/package/mbedtls/mbedtls.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MBEDTLS_VERSION = 2.28.4 > +MBEDTLS_VERSION = 2.28.5 > MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) > MBEDTLS_CONF_OPTS = \ > -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From arnout at mind.be Tue Oct 10 20:52:35 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:52:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/libebml: bump to version 1.4.4 In-Reply-To: <20231008212643.67946-1-fontaine.fabrice@gmail.com> References: <20231008212643.67946-1-fontaine.fabrice@gmail.com> Message-ID: On 08/10/2023 23:26, Fabrice Fontaine wrote: > - Drop patch (already in version) > - C++14 is required since > https://github.com/Matroska-Org/libebml/commit/4159caf84c18f64137e6cdb5f15c5e76d0bb0976 > > https://github.com/Matroska-Org/libebml/blob/release-1.4.4/NEWS.md > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .checkpackageignore | 1 - > ...-header-files-for-std-numeric_limits.patch | 40 ------------------- > package/libebml/Config.in | 6 ++- > package/libebml/libebml.hash | 2 +- > package/libebml/libebml.mk | 2 +- > package/libmatroska/Config.in | 6 ++- > 6 files changed, 10 insertions(+), 47 deletions(-) > delete mode 100644 package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch > > diff --git a/.checkpackageignore b/.checkpackageignore > index 0e8e5921ce..21a1009a1b 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -650,7 +650,6 @@ package/libdnet/0001-python-makefile.patch Upstream > package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch Upstream > package/libdvbcsa/0001-altivec-powerpc64.patch Upstream > package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch Upstream > -package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch Upstream > package/libedit/0001-check-bsd-functions-in-libbsd.patch Upstream > package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch Upstream > package/libfcgi/0001-link-against-math.patch Upstream > diff --git a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch b/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch > deleted file mode 100644 > index c7e789c02e..0000000000 > --- a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch > +++ /dev/null > @@ -1,40 +0,0 @@ > -From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001 > -From: Moritz Bunkus > -Date: Sat, 27 Feb 2021 20:36:52 +0100 > -Subject: [PATCH] include appropriate header files for std::numeric_limits > - > -Fixes #80. > - > -[Retrieved (and updated to remove ChangeLog update) from: > -https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806] > -Signed-off-by: Fabrice Fontaine > ---- > - ChangeLog | 4 ++++ > - src/EbmlString.cpp | 1 + > - src/EbmlUnicodeString.cpp | 1 + > - 3 files changed, 6 insertions(+) > - > -diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp > -index 27e55fd..4c05fcf 100644 > ---- a/src/EbmlString.cpp > -+++ b/src/EbmlString.cpp > -@@ -34,6 +34,7 @@ > - \author Steve Lhomme > - */ > - #include > -+#include > - > - #include "ebml/EbmlString.h" > - > -diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp > -index 496a16a..99fc073 100644 > ---- a/src/EbmlUnicodeString.cpp > -+++ b/src/EbmlUnicodeString.cpp > -@@ -36,6 +36,7 @@ > - */ > - > - #include > -+#include > - > - #include "ebml/EbmlUnicodeString.h" > - > diff --git a/package/libebml/Config.in b/package/libebml/Config.in > index a00b894358..b770154af7 100644 > --- a/package/libebml/Config.in > +++ b/package/libebml/Config.in > @@ -2,11 +2,13 @@ config BR2_PACKAGE_LIBEBML > bool "libebml" > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_USE_WCHAR > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 > help > Access library for the EBML (Extensible Binary Meta > Language, a binary derivative of XML) format. > > http://matroska.org > > -comment "libebml needs a toolchain w/ C++, wchar" > - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR > +comment "libebml needs a toolchain w/ C++, wchar, gcc >= 4.9" > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ > + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 > diff --git a/package/libebml/libebml.hash b/package/libebml/libebml.hash > index 32ca1e3dd3..c83fde32ab 100644 > --- a/package/libebml/libebml.hash > +++ b/package/libebml/libebml.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 41c7237ce05828fb220f62086018b080af4db4bb142f31bec0022c925889b9f2 libebml-1.4.2.tar.xz > +sha256 82dc5f83356cc9340aee76ed7512210b3a4edf5f346bc9c2c7044f55052687a7 libebml-1.4.4.tar.xz > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL > diff --git a/package/libebml/libebml.mk b/package/libebml/libebml.mk > index 056cf888e1..c85638c03e 100644 > --- a/package/libebml/libebml.mk > +++ b/package/libebml/libebml.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBEBML_VERSION = 1.4.2 > +LIBEBML_VERSION = 1.4.4 > LIBEBML_SOURCE = libebml-$(LIBEBML_VERSION).tar.xz > LIBEBML_SITE = http://dl.matroska.org/downloads/libebml > LIBEBML_INSTALL_STAGING = YES > diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in > index ec0e8415d7..b2e4354df5 100644 > --- a/package/libmatroska/Config.in > +++ b/package/libmatroska/Config.in > @@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA > bool "libmatroska" > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_USE_WCHAR > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml > select BR2_PACKAGE_LIBEBML > help > Extensible open standard audio/video container format access > @@ -9,5 +10,6 @@ config BR2_PACKAGE_LIBMATROSKA > > http://matroska.org > > -comment "libmatroska needs a toolchain w/ C++, wchar" > - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR > +comment "libmatroska needs a toolchain w/ C++, wchar, gcc >= 4.9" > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ > + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 From arnout at mind.be Tue Oct 10 20:52:43 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:52:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/c-ares: bump to version 1.20.1 In-Reply-To: <20231008213418.85380-1-fontaine.fabrice@gmail.com> References: <20231008213418.85380-1-fontaine.fabrice@gmail.com> Message-ID: <57818d90-c714-f612-465a-3194f7206076@mind.be> On 08/10/2023 23:34, Fabrice Fontaine wrote: > Update hash of license file (modern MIT license text used since > https://github.com/c-ares/c-ares/commit/6d077838f7e3f1899ba93da9d301b7fe49b311ce) > > https://c-ares.org/changelog.html#1_20_1 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/c-ares/c-ares.hash | 4 ++-- > package/c-ares/c-ares.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/c-ares/c-ares.hash b/package/c-ares/c-ares.hash > index 3e1573f2cf..c2897f6e44 100644 > --- a/package/c-ares/c-ares.hash > +++ b/package/c-ares/c-ares.hash > @@ -1,5 +1,5 @@ > # Locally calculated after checking pgp signature > -sha256 321700399b72ed0e037d0074c629e7741f6b2ec2dda92956abe3e9671d3e268e c-ares-1.19.1.tar.gz > +sha256 de24a314844cb157909730828560628704f4f896d167dd7da0fa2fb93ea18b10 c-ares-1.20.1.tar.gz > > # Hash for license file > -sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md > +sha256 80fff25340df53b0cf0c3cddbca9050b559b9cbed2ad71830327cfef54959aef LICENSE.md > diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk > index 46b8acd673..7a49b2639a 100644 > --- a/package/c-ares/c-ares.mk > +++ b/package/c-ares/c-ares.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -C_ARES_VERSION = 1.19.1 > +C_ARES_VERSION = 1.20.1 > C_ARES_SITE = http://c-ares.haxx.se/download > C_ARES_INSTALL_STAGING = YES > C_ARES_CONF_OPTS = --with-random=/dev/urandom From arnout at mind.be Tue Oct 10 20:48:45 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:48:45 +0200 Subject: [Buildroot] [git commit] package/c-ares: bump to version 1.20.1 Message-ID: <20231010205304.6A201844E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c26939ea3f477fd34c09d872e4b1b3de358904a6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update hash of license file (modern MIT license text used since https://github.com/c-ares/c-ares/commit/6d077838f7e3f1899ba93da9d301b7fe49b311ce) https://c-ares.org/changelog.html#1_20_1 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- package/c-ares/c-ares.hash | 4 ++-- package/c-ares/c-ares.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/c-ares/c-ares.hash b/package/c-ares/c-ares.hash index 3e1573f2cf..c2897f6e44 100644 --- a/package/c-ares/c-ares.hash +++ b/package/c-ares/c-ares.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 321700399b72ed0e037d0074c629e7741f6b2ec2dda92956abe3e9671d3e268e c-ares-1.19.1.tar.gz +sha256 de24a314844cb157909730828560628704f4f896d167dd7da0fa2fb93ea18b10 c-ares-1.20.1.tar.gz # Hash for license file -sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md +sha256 80fff25340df53b0cf0c3cddbca9050b559b9cbed2ad71830327cfef54959aef LICENSE.md diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk index 46b8acd673..7a49b2639a 100644 --- a/package/c-ares/c-ares.mk +++ b/package/c-ares/c-ares.mk @@ -4,7 +4,7 @@ # ################################################################################ -C_ARES_VERSION = 1.19.1 +C_ARES_VERSION = 1.20.1 C_ARES_SITE = http://c-ares.haxx.se/download C_ARES_INSTALL_STAGING = YES C_ARES_CONF_OPTS = --with-random=/dev/urandom From arnout at mind.be Tue Oct 10 20:45:38 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:45:38 +0200 Subject: [Buildroot] [git commit] package/setools: bump version to 4.4.3 Message-ID: <20231010205304.35D68844E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1c6c4c0767f81295ec6167d7132bc542973e0409 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Adam Duskett Signed-off-by: Arnout Vandecappelle --- package/setools/setools.hash | 2 +- package/setools/setools.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/setools/setools.hash b/package/setools/setools.hash index c353e1f609..6a61fc2809 100644 --- a/package/setools/setools.hash +++ b/package/setools/setools.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 998d12d01852feed1889110a4ca81090a47a2d9b47368e4dfe2b94d68696c813 setools-4.4.2.tar.gz +sha256 29f5e7d98764a6942b2e32c8aa44da6a618882818c79599ade967ece0cf1dace setools-4.4.3.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 b80d25a6b9..efb3869e5b 100644 --- a/package/setools/setools.mk +++ b/package/setools/setools.mk @@ -4,7 +4,7 @@ # ################################################################################ -SETOOLS_VERSION = 4.4.2 +SETOOLS_VERSION = 4.4.3 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 arnout at mind.be Tue Oct 10 20:47:18 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:47:18 +0200 Subject: [Buildroot] [git commit] package/libebml: bump to version 1.4.4 Message-ID: <20231010205304.5F4DF844EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cef841bf7d428a92b5af41b6ea21d7f8ae004526 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Drop patch (already in version) - C++14 is required since https://github.com/Matroska-Org/libebml/commit/4159caf84c18f64137e6cdb5f15c5e76d0bb0976 https://github.com/Matroska-Org/libebml/blob/release-1.4.4/NEWS.md Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- .checkpackageignore | 1 - ...riate-header-files-for-std-numeric_limits.patch | 40 ---------------------- package/libebml/Config.in | 6 ++-- package/libebml/libebml.hash | 2 +- package/libebml/libebml.mk | 2 +- package/libmatroska/Config.in | 6 ++-- 6 files changed, 10 insertions(+), 47 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 539a571172..d746cde45e 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -650,7 +650,6 @@ package/libdnet/0001-python-makefile.patch Upstream package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch Upstream package/libdvbcsa/0001-altivec-powerpc64.patch Upstream package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch Upstream -package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch Upstream package/libedit/0001-check-bsd-functions-in-libbsd.patch Upstream package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch Upstream package/libfcgi/0001-link-against-math.patch Upstream diff --git a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch b/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch deleted file mode 100644 index c7e789c02e..0000000000 --- a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch +++ /dev/null @@ -1,40 +0,0 @@ -From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001 -From: Moritz Bunkus -Date: Sat, 27 Feb 2021 20:36:52 +0100 -Subject: [PATCH] include appropriate header files for std::numeric_limits - -Fixes #80. - -[Retrieved (and updated to remove ChangeLog update) from: -https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806] -Signed-off-by: Fabrice Fontaine ---- - ChangeLog | 4 ++++ - src/EbmlString.cpp | 1 + - src/EbmlUnicodeString.cpp | 1 + - 3 files changed, 6 insertions(+) - -diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp -index 27e55fd..4c05fcf 100644 ---- a/src/EbmlString.cpp -+++ b/src/EbmlString.cpp -@@ -34,6 +34,7 @@ - \author Steve Lhomme - */ - #include -+#include - - #include "ebml/EbmlString.h" - -diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp -index 496a16a..99fc073 100644 ---- a/src/EbmlUnicodeString.cpp -+++ b/src/EbmlUnicodeString.cpp -@@ -36,6 +36,7 @@ - */ - - #include -+#include - - #include "ebml/EbmlUnicodeString.h" - diff --git a/package/libebml/Config.in b/package/libebml/Config.in index a00b894358..b770154af7 100644 --- a/package/libebml/Config.in +++ b/package/libebml/Config.in @@ -2,11 +2,13 @@ config BR2_PACKAGE_LIBEBML bool "libebml" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 help Access library for the EBML (Extensible Binary Meta Language, a binary derivative of XML) format. http://matroska.org -comment "libebml needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR +comment "libebml needs a toolchain w/ C++, wchar, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/libebml/libebml.hash b/package/libebml/libebml.hash index 32ca1e3dd3..c83fde32ab 100644 --- a/package/libebml/libebml.hash +++ b/package/libebml/libebml.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 41c7237ce05828fb220f62086018b080af4db4bb142f31bec0022c925889b9f2 libebml-1.4.2.tar.xz +sha256 82dc5f83356cc9340aee76ed7512210b3a4edf5f346bc9c2c7044f55052687a7 libebml-1.4.4.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL diff --git a/package/libebml/libebml.mk b/package/libebml/libebml.mk index 056cf888e1..c85638c03e 100644 --- a/package/libebml/libebml.mk +++ b/package/libebml/libebml.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBEBML_VERSION = 1.4.2 +LIBEBML_VERSION = 1.4.4 LIBEBML_SOURCE = libebml-$(LIBEBML_VERSION).tar.xz LIBEBML_SITE = http://dl.matroska.org/downloads/libebml LIBEBML_INSTALL_STAGING = YES diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in index ec0e8415d7..b2e4354df5 100644 --- a/package/libmatroska/Config.in +++ b/package/libmatroska/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA bool "libmatroska" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml select BR2_PACKAGE_LIBEBML help Extensible open standard audio/video container format access @@ -9,5 +10,6 @@ config BR2_PACKAGE_LIBMATROSKA http://matroska.org -comment "libmatroska needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR +comment "libmatroska needs a toolchain w/ C++, wchar, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 From arnout at mind.be Tue Oct 10 20:46:42 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:46:42 +0200 Subject: [Buildroot] [git commit] package/libsoup: bump to version 2.74.3 Message-ID: <20231010205304.4238D844E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d701d420a155300a3ce77cbb08b0a98bb06b4452 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle --- package/libsoup/libsoup.hash | 4 ++-- package/libsoup/libsoup.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libsoup/libsoup.hash b/package/libsoup/libsoup.hash index 2f44e63d71..5f687068ab 100644 --- a/package/libsoup/libsoup.hash +++ b/package/libsoup/libsoup.hash @@ -1,4 +1,4 @@ -# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.2.sha256sum -sha256 f0a427656e5fe19e1df71c107e88dfa1b2e673c25c547b7823b6018b40d01159 libsoup-2.74.2.tar.xz +# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.3.sha256sum +sha256 e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13 libsoup-2.74.3.tar.xz # Locally calculated sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk index 026ea3a8b7..81bf42cabe 100644 --- a/package/libsoup/libsoup.mk +++ b/package/libsoup/libsoup.mk @@ -5,7 +5,7 @@ ################################################################################ LIBSOUP_VERSION_MAJOR = 2.74 -LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).2 +LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).3 LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz LIBSOUP_SITE = https://download.gnome.org/sources/libsoup/$(LIBSOUP_VERSION_MAJOR) LIBSOUP_LICENSE = LGPL-2.0+ From arnout at mind.be Tue Oct 10 20:47:00 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:47:00 +0200 Subject: [Buildroot] [git commit] package/mbedtls: bump to version 2.28.5 Message-ID: <20231010205304.4CD5A844EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=26762e30090585e8c64333d3ffe4249e7a0b0f43 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle --- package/mbedtls/mbedtls.hash | 2 +- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 6aa6d0235d..d0cd0b2105 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 62eda6ec99..1b941e04f4 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.4 +MBEDTLS_VERSION = 2.28.5 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From arnout at mind.be Tue Oct 10 20:50:19 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:50:19 +0200 Subject: [Buildroot] [git commit] package/sysvinit: bump version to 3.04 Message-ID: <20231010205304.76B51844E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33b9225dff45079ff41dc56cde8084ad7937818c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Adam Duskett Signed-off-by: Arnout Vandecappelle --- package/sysvinit/sysvinit.hash | 2 +- package/sysvinit/sysvinit.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/sysvinit/sysvinit.hash b/package/sysvinit/sysvinit.hash index f81e55fc44..67b0ab38f0 100644 --- a/package/sysvinit/sysvinit.hash +++ b/package/sysvinit/sysvinit.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 b05c3677bb698afe64c997968b00c49b2a9bd320ce963523230ee7ea41197757 sysvinit-2.99.tar.xz +sha256 2a621fe6e4528bc91308b74867ddaaebbdf7753f02395c0c5bae817bd2b7e3a5 sysvinit-3.04.tar.xz # Hash for license files: sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk index 1bf10deb63..b7fe39ca43 100644 --- a/package/sysvinit/sysvinit.mk +++ b/package/sysvinit/sysvinit.mk @@ -4,7 +4,7 @@ # ################################################################################ -SYSVINIT_VERSION = 2.99 +SYSVINIT_VERSION = 3.04 SYSVINIT_SOURCE = sysvinit-$(SYSVINIT_VERSION).tar.xz SYSVINIT_SITE = http://download.savannah.nongnu.org/releases/sysvinit SYSVINIT_LICENSE = GPL-2.0+ From arnout at mind.be Tue Oct 10 20:53:23 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:53:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/sysvinit: bump version to 3.04 In-Reply-To: <20231009142233.1773833-1-adam.duskett@amarulasolutions.com> References: <20231009142233.1773833-1-adam.duskett@amarulasolutions.com> Message-ID: On 09/10/2023 16:22, Adam Duskett wrote: > Signed-off-by: Adam Duskett Applied to master, thanks. Regards, Arnout > --- > package/sysvinit/sysvinit.hash | 2 +- > package/sysvinit/sysvinit.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/sysvinit/sysvinit.hash b/package/sysvinit/sysvinit.hash > index f81e55fc44..67b0ab38f0 100644 > --- a/package/sysvinit/sysvinit.hash > +++ b/package/sysvinit/sysvinit.hash > @@ -1,5 +1,5 @@ > # Locally computed: > -sha256 b05c3677bb698afe64c997968b00c49b2a9bd320ce963523230ee7ea41197757 sysvinit-2.99.tar.xz > +sha256 2a621fe6e4528bc91308b74867ddaaebbdf7753f02395c0c5bae817bd2b7e3a5 sysvinit-3.04.tar.xz > > # Hash for license files: > sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING > diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk > index 1bf10deb63..b7fe39ca43 100644 > --- a/package/sysvinit/sysvinit.mk > +++ b/package/sysvinit/sysvinit.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SYSVINIT_VERSION = 2.99 > +SYSVINIT_VERSION = 3.04 > SYSVINIT_SOURCE = sysvinit-$(SYSVINIT_VERSION).tar.xz > SYSVINIT_SITE = http://download.savannah.nongnu.org/releases/sysvinit > SYSVINIT_LICENSE = GPL-2.0+ From thomas.petazzoni at bootlin.com Wed Oct 11 05:36:11 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 11 Oct 2023 05:36:11 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-10 Message-ID: <20231011053617.16C93417BE@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-10 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 22 | 14 | 0 | 36 | 2023.08.x | 20 | 17 | 0 | 37 | master | 97 | 162 | 0 | 259 | Classification of failures by reason for master ----------------------------------------------- unknown | 15 openrc-0.43.3 | 14 alsa-lib-1.2.10 | 10 alsa-utils-1.2.10 | 9 spirv-tools-1.3.261.1 | 9 gcc-final-12.3.0 | 8 bird-2.0.12 | 6 gobject-introspection-1.76.1 | 6 linux-6.5.5 | 5 monit-5.33.0 | 5 coreutils-9.3 | 3 gcc-final-13.2.0 | 3 host-go-1.21.2 | 3 host-sentry-cli-2.20.3 | 3 mariadb-10.11.4 | 3 squid-6.2 | 3 apcupsd-3.14.14 | 2 gcc-final-11.4.0 | 2 google-breakpad-c85eb4a59b6... | 2 host-rust-1.71.1 | 2 libselinux-3.5 | 2 netsnmp-5.9.4 | 2 openblas-0.3.24 | 2 perl-5.36.1 | 2 boost-1.83.0 | 1 c-icap-0.5.10 | 1 conmon-2.1.8 | 1 crucible-2023.04.12 | 1 cryptodev-linux-1.13 | 1 dahdi-linux-3.2.0 | 1 dc3dd-7.2.641 | 1 edk2-edk2-stable202308 | 1 efivar-38 | 1 elfutils-0.189 | 1 ethtool-6.5 | 1 fftw-quad-3.3.10 | 1 frr-8.4.2 | 1 fs/cpio/cpio.mk:128: /home/... | 1 gsl-2.7.1 | 1 host-gcc-final-12.3.0 | 1 host-runc-1.1.7 | 1 hyperfine-1.14.0 | 1 igh-ethercat-f5dc109176400f... | 1 libarchive-3.7.2 | 1 libfreeimage-3.18.0 | 1 libmemcached-1.1.4 | 1 libopenssl-3.1.3 | 1 linux-5.10.162-cip24 | 1 linux-pam-1.5.3 | 1 memcached-1.6.21 | 1 motion-4.5.1 | 1 ntpsec-1.2.2a | 1 open-iscsi-2.1.9 | 1 open62541-v1.3.7 | 1 pixz-1.0.7 | 1 poppler-22.12.0 | 1 python-orjson-3.9.2 | 1 tar-1.35 | 1 tinifier-3.4.0 | 1 tinymembench-0.4 | 1 util-linux-2.39.2 | 1 wolfssl-5.6.3 | 1 xapp_xfd-1.1.4 | 1 xenomai-3.0.10 | 1 xmrig-6.20.0 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/62416488f431fe043a8150805cf94137a8b632f5 | aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6c48bd1bdf7771b303ee05e122b3a4128dcfbcc9 | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a0695ddba87e3e092270cb30759026ae4cae502a | riscv64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/cceb418be00eaabd53856f811ff82f57260d4df1 | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/670dc56810732df7ffbdafe6a07d8f3192246924 | riscv64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/63d1228974de5ef2af40e507ffddb1226867516b | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/43a2e3e0af89fc2b29855388041008583803b7b6 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1b7d95eefa8a5b3071dae16c38233ea747eafeb9 | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b655cb6625be198b6444c2a5a5f283f295facde1 | microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/35648ea06491bceee9311cb1cf1204ded8c73d13 | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7c67aa744575377ea725a5e614e0d3785d77a1c1 | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f029d7af34b10445f14ee0f2555e52b2abda1b81 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/2db0d9cefe6268a166a237d11eb530dc908b19e9 | mips64el | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/54740ff426e1df1637c0a14c2eadec2b15db9779 | microblazeel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/50ecbf3e2c037decdc5884293dad0be5971079da | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/b3be715a598b6cb713bc4805c20b789168393853 | powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/91f588e0b6cf2003dee7fb43b4e3fc33347e7de4 | sh4aeb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/95535ca66a8e5b83836fb3f245042da50f39de8f | sparc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7868f725ceb9d8b64b956b78309e474a952d4b30 | nios2 | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/46ae31792837b49524a39ae1f1f2289367014b49 | mipsel | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/03d500f7e4c9ace3eb9e732c8e3ee1bf64d80832 | arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/5742f51b794e581bc2d4bb88dd7532da8fee931b | i686 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b2ecf7b0bb3416427841c5b4bc29bc3223739fb6 | xtensa | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b8643737d5f6a6d643ac43e5f884760b0b74f6dc | riscv64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/763a05e1ebed830fc800970b16454d8ba6c84951 | powerpc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/00034b16dae183bb1817716c295ab65f7c492654 | powerpc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/4dbdb9e10b6447bdb28af9d50ad416489466789d | or1k | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/78a7aa6f678f5e6aba5f15db0d13ecda6500503a | x86_64 | c-icap-0.5.10 | NOK | http://autobuild.buildroot.net/results/77db9a2abe42ac4df70d28dc10a73ef0673dc83c | ORPH i686 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/ee461721fe926d67797b1ccf4d6ee3f7329f82c0 | nios2 | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/55c0324f847ec1916752eb5e1bdb1656a9edb9fd | ORPH microblazeel | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/12828d707994a2f274e59cdcc6ccffda2932eae9 | ORPH m68k | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/22062205409b09ebaf9ced9decb2a1ee9c4f3851 | ORPH powerpc64le | crucible-2023.04.12 | NOK | http://autobuild.buildroot.net/results/826c13d4037f2f88b8d4dd5d5f7a85fa53eff259 | powerpc64 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/352d58e3206a3e9f0c47b5010fc289c9170bd48d | ORPH s390x | dahdi-linux-3.2.0 | NOK | http://autobuild.buildroot.net/results/b1fa63ebe3535fc97fd191daca020d73003d299b | or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/02a70f1c27229c7fd9618d69ad13a53f5eccd639 | ORPH i686 | edk2-edk2-stable202308 | NOK | http://autobuild.buildroot.net/results/6f17071bf034d899c153d4787a807a2e3a04ce5f | arm | efivar-38 | NOK | http://autobuild.buildroot.net/results/02f54ee4cb78a78430fcf8158811296c7a2dc440 | microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/4e80958bbe5024fedbe1df20efd8e1c1b494c7ad | ORPH powerpc | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/3716a8b42db3b59978dcf845ac62415cffb2280f | powerpc64le | fftw-quad-3.3.10 | NOK | http://autobuild.buildroot.net/results/c5d1cc113a37f918d8ca1eca3443ead0149720e8 | ORPH arceb | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/7cce2f74111c7ac88d8203814f6bbf013d3828c5 | riscv64 | fs/cpio/cpio.mk:128: /home/... | NOK | http://autobuild.buildroot.net/results/254290817d343ecb208091c265b3fea4d73c9fc7 | aarch64_be | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/abe3e78757c0f8c5b02965cb562b807a32103ddb | m68k | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/d2218955a71d3b7da683206b3b27a639a6171a83 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/8d65db33e5eccfe94afc6070aa3ed442d369b209 | mips64el | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/e577ed9fd8a27fe155645ad094cdca7bcdbbe53c | i686 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/d741cf20437ebfd0c967e2409ada36c5c063be2a | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/57d4a423756b42766047b0174e8c9cb3322fb3c2 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/4cad7ef9affc18a30f76990ea05bb0e4ed83db8e | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/e09f4bf0a88a66f38f09121c2ed23a2b12d057cb | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/af5c75e5d62aaf61b30d97e0599e04c0d6bb7daf | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/d06fa1265e678a1b9065235214508fe87b9345c7 | arm | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/da82ca0103a88c8f2526b5048c7b175cc7f72c29 | arceb | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/d3c9bebb17fab56d6128b4bfe5c6e24dd23404f7 | mips64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/9657348422577164089735e8f1a95c7d72f45616 | sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/5e74cbe088380525eb1c2e921bb5f47af10488fc | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/f4e38687b9777e8d068711e46120b4bf61d87734 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/3d2be5808f9097986acf5f3b5b9d57947a79401f | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8ceb42152299dde957635bee5967b512c0b0e125 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/d88cf3403a426ca3d0c09806846a11b764caa038 | ORPH m68k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/175ef23e20a93a4e6b4b12612faaa7ec120958c9 | ORPH mips | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/ff81523366002b3fd9b03bdd229b631f3d30137d | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/632ac16fcf5f27d4cde3c842054a663cad746da0 | m68k | gsl-2.7.1 | NOK | http://autobuild.buildroot.net/results/9f686b375fa9db4511fbf00a23e99626c35cc0cf | ORPH microblaze | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/4b06d68c3e5ae289d74a67fe7a1d3e7cbfd9529c | arceb | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/a428d8719a4f458e5faf8f5e5ef28840d6debb13 | mips64el | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/5e730d54350cab9d0ce3fd8cf89e3902d5117f4d | mips64 | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/f03fd08e7903bfb280d16519bce918aa49530104 | arm | host-runc-1.1.7 | NOK | http://autobuild.buildroot.net/results/43050e8bdf77da8bdf14e88537c4413c56754214 | powerpc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/31da9322ec64ebd55f7413131a796af61ad6aa95 | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4fca4cdb76e9e643ed2527d2d942e7f23cc08bdc | m68k | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/a62b3282addc9b946a77fdf0d802f5aaee889270 | aarch64_be | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/689dc2634fc6dfbe6ed25ed25e079d0e70c24321 | s390x | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/0bb9fefcecdbf4592b8ccb4ff05ff919c7fddb02 | mips | hyperfine-1.14.0 | NOK | http://autobuild.buildroot.net/results/9a51cd4bff9129538d3fad05d19ebd99f835c731 | ORPH x86_64 | igh-ethercat-f5dc109176400f... | NOK | http://autobuild.buildroot.net/results/2a952b29961a3d4c8a284e7de11c9240696a5614 | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/f3814d0e14d2486f3d36ed37c89236b717178d4e | microblazeel | libfreeimage-3.18.0 | NOK | http://autobuild.buildroot.net/results/8e41780e6049f632d59d68ff8f5846584d908f83 | arm | libmemcached-1.1.4 | NOK | http://autobuild.buildroot.net/results/202aeec4dda822ac341d8882f84f968a303697c3 | ORPH arm | libopenssl-3.1.3 | NOK | http://autobuild.buildroot.net/results/824332272233dcf5943c8a3814964e2bd0e51754 | ORPH microblaze | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/472dac1e0c858a0c7087ce37fac2583dc779e5fa | m68k | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/6c1444eb1e613091a7f5642f03ecf64ed5293295 | mips64el | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/3a7186072b68b4d5f8cc42a0ab482b7cc0c54b93 | ORPH powerpc64le | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/95bbc31902d6db5d8c7a0f3b609d34c6bfd2f552 | ORPH m68k | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/8c1f82a3c429fc5b56adcb22cbcebbc16c2c3191 | ORPH arc | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/6661ffee5f2a06d727a24097b8232a9a806ebbcd | ORPH m68k | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/66f14fe9441c36023bc4b491e701eae831be41dc | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/f596343ae318eef9d1cd8d6bad05da9554724d8c | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/0b65a8a35161fae0bfa68df894a824be275de651 | ORPH sparc | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/54902d52880ca234550e2c53a552abbf5dd12a20 | ORPH aarch64_be | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/bf4e9924ea8569881c4814e209757a91b3824478 | ORPH i686 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/483e10d6e30d7b5d448ba794bcbca332df891d98 | ORPH arc | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/6b74a5d3df687b6d15fb67e4635ee2514af64ccb | ORPH i586 | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/42cdf7630b5af42cdaf86e9536ff6af84f6d528b | sparc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/8967362ffac6134252c9d9bcea3d7212c455c980 | powerpc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/e5c5e09cf537bf1c452c2bace3603c7c4e74a70b | mips64el | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/ae96f42f9c01a1539aa58fe98dcf768b0d847172 | xtensa | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/cf4072bb4ddddfbf994340541af77d9162e4802a | armeb | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/ffc74309ea3a9e5dadc96700d6b256737a0dd517 | powerpc64le | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/e18aa911a377e8c10fbe4acc8c1e4dd8ba73fcb4 | ORPH m68k | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/2493ec05e61e38fdb8c4397db20a774ca3df7aa9 | ORPH xtensa | ntpsec-1.2.2a | NOK | http://autobuild.buildroot.net/results/e71842b09a9b6b93e7234e4705d32d827da9d5d6 | ORPH powerpc64le | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/a84d308a8227415e51c29aba5c5d6d99451fa8c8 | riscv32 | open62541-v1.3.7 | NOK | http://autobuild.buildroot.net/results/1fb9eceea17ba98f2ee6ac95519575b30aaccb12 | ORPH mips64el | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6302d3035741739e3709fc8b8652fac3c9576206 | mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/a6141fc2e303596de9eb420b7790faf4bbc7aa5f | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/49406123fb67007e55fa3ec97358ea59ca55dfac | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f15cb4805a418748f462f6de3e17f5fd878b5e08 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/dab31b3289f6b650d573c85ba5e5ca810ebc009a | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3c1fc4ab4f1ffe56dfcbf3f3b2cc96c9a8257d96 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6b9b649443e688a5ef1b1aff632e06295b2e227b | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/601288233d8d1d13e0f5ff90985e9349bd248359 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/4a198a72ac366421f6a8785ec54c56595eaab5bb | or1k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2fd96066be20f115f651b5442d0a3031b0a21f9e | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6e6e4ca5d9f357c6c451f8e798bbc4c9f5656019 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/510dfb18fd598c6abccc97747009937f973c54b2 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/31fbdbf0f67fa5209f24b1313afee64c1bb58091 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/908957765d2ea41471050092b7fd909187d06c5e | sh4aeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6141621e51d19728d999aeab94cf43053a195a9d | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/54bc97e523849f62f22b62997162e76757d4e9f0 | microblaze | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/0b321294c26c3b2a63e4eef10a815c96d07699dd | arc | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/1ef7999f12cd11033c5e4eea7d67644bd2e68aba | x86_64 | pixz-1.0.7 | NOK | http://autobuild.buildroot.net/results/9713ee64d346434a0628a7a16a5eec1fe73f2da8 | xtensa | poppler-22.12.0 | NOK | http://autobuild.buildroot.net/results/d254b535f7ffbf00786ac437f4847481ef2e5b2f | mips64 | python-orjson-3.9.2 | NOK | http://autobuild.buildroot.net/results/218bf2d5647069a42160018407d68369e3e43e7b | x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/cede7916737970f174ee642fd5813cf23e055369 | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/d0e589accd1db98b273d25e4ff1c793914f45b9b | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/a049d3c5b507dfe1d596577fdd2843155e15530e | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/11b691a1f04d25d76f9afa6a2521e1f8cdfe591b | ORPH powerpc | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/449034f62f7db35945e8949df53712f89b05affe | ORPH s390x | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/9194b1b2c999db6118f93f0ffb9f4f2cec05fe8f | ORPH x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/c5aefcf2f2f1e81c68455cf2accd4e305e617eec | ORPH sh4aeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/7b779845f0ec7a3e0a67cd1d56d3e3750da8af3c | ORPH armeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/4f312622f5e71dc2a1d838b576f6928ca5a4bf49 | ORPH powerpc | squid-6.2 | NOK | http://autobuild.buildroot.net/results/e98daf84050eb7aaa214c70c13a42c3c8d93c0f9 | ORPH nios2 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/e7d5f00287a0f2498db536d2b499e8047ed98c64 | ORPH sh4 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/b69e9250a97495d542f16206fddc2c24b5c952e5 | ORPH powerpc64le | tar-1.35 | NOK | http://autobuild.buildroot.net/results/18227c60a80e59c4cc09d92ec70bcba053e1387e | ORPH mips64 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/4a7206113eb2778dfdc193cee14017758cda98cc | armeb | tinymembench-0.4 | NOK | http://autobuild.buildroot.net/results/16fd7ed116edfcb4f7566b37c25434012e737663 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/50586ea28f8846a5c58a2d61a5a579bdbac6e958 | sh4a | unknown | NOK | http://autobuild.buildroot.net/results/a06a5e32565610985d241d723c37a344fbe3e9b1 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/0458c751a0110cf73c5fc08e8a6517380cd7d68a | or1k | unknown | NOK | http://autobuild.buildroot.net/results/4aecd1b3f3e4ab7a08337412942d36d5016b1920 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/800aef02b241aad1f3caa86a4001d2fd40e7cfe5 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/2057d3c23b5937cb253997b58ea7d439f02d2095 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/06bd5e010fe1eda65db6ad232d97925897942735 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/68b4ac22c8c2dbfd61abcd5c5a4247aa739fd8b8 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/8fa0f2cd7a027d3d8fae56125621b0b814e132da | s390x | unknown | NOK | http://autobuild.buildroot.net/results/4b8d98fb10c9ebdfb4f3d576f75f2fc351e98bd8 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/7ad0fbb41cce85ca60c7369ea056a9642009d08d | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/f79d9052820e4678be75fb1d0dab4960553628e9 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/4f5cab672831ae94c97841d7866cae2025c106e0 | arm | unknown | NOK | http://autobuild.buildroot.net/results/c0921543d6c21431eef4401f3a30abe03fa6a700 | i686 | unknown | NOK | http://autobuild.buildroot.net/results/8b7e847fc3d2e21e605c38c4fe8fb5d860baed80 | sh4 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/cb3b6032238d30a26eb551852fe0fc1f2fe677ad | ORPH riscv64 | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/b8133fdc801ece552f0d80f328857f812770ed82 | s390x | xapp_xfd-1.1.4 | NOK | http://autobuild.buildroot.net/results/3263e0c7b63b39d56d28e876a53a10aa2aee0c36 | ORPH i686 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/d334a4e2ad35f1359d6d6db5e44494a7f4c76ebf | arm | xmrig-6.20.0 | NOK | http://autobuild.buildroot.net/results/7e4947d885a4ee263f8c7f13dbb127929eb0461b | Classification of failures by reason for 2023.02.x -------------------------------------------------- linux-6.1.55 | 2 unknown | 2 boost-1.80.0 | 1 coreutils-9.1 | 1 frr-8.4.2 | 1 gobject-introspection-1.72.0 | 1 host-binutils-2.38 | 1 host-gcc-final-11.4.0 | 1 host-go-1.20.9 | 1 libsodium-1.0.18 | 1 suricata-6.0.14 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arceb | boost-1.80.0 | NOK | http://autobuild.buildroot.net/results/0714e676ddbfceaad9f3258db4ea66cc3ac48e7a | sh4aeb | coreutils-9.1 | NOK | http://autobuild.buildroot.net/results/25ed3b36d8788830d68a12407bef298a26bd2c9f | ORPH arc | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/0ab53f25fffa6e2f57a9f7485a9cbad410c92c56 | sparc64 | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/459bc0b706627cf0bb5647cfe59e020965c95217 | ORPH i686 | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/5f695f1601dae6ec2d2fb551f7a8681d589546c0 | microblaze | host-gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/8b554085aa6f7bcca346c44ad5cd6d1972e9cf5e | mipsel | host-go-1.20.9 | NOK | http://autobuild.buildroot.net/results/7cc3ee4f104b00daa93c27f8530112ebfb1f4ceb | arceb | libsodium-1.0.18 | NOK | http://autobuild.buildroot.net/results/b02c95fada962457cc81b9c54b1fbb04268c6ff4 | sh4a | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/bba82818a082a194f95c0185c9b2411eae0d2b3d | ORPH powerpc64 | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/f0dd1acc57b8e9e64f208db9c096bad89bd2988a | ORPH arm | suricata-6.0.14 | NOK | http://autobuild.buildroot.net/results/991a9637dcaa03ef530a877d969b55a443c1b269 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/a5027a59eefa35860803edf592c7f75df46fb085 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/79eb994acc1bbb4c2834e857c7e3a21554e00a78 | x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/a70b0f32a970f231fafa44654927e3845e609e3c | Classification of failures by reason for 2023.08.x -------------------------------------------------- bird-2.0.12 | 3 elfutils-0.189 | 2 check-11970a7e112dfe243a2e6... | 1 dc3dd-7.2.641 | 1 fftw-quad-3.3.10 | 1 glibc-2.37-45-gb4e23c75aea7... | 1 gobject-introspection-1.76.1 | 1 host-go-1.20.9 | 1 host-sentry-cli-2.8.0 | 1 linux-5.10.162-cip24 | 1 linux-6.4.16 | 1 linux-pam-1.5.3 | 1 lttng-modules-2.13.7 | 1 unknown | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/62aeba5f46d000760d4f7d01c4b008db7bff3587 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/778d618ee091ac702cd110510daca5b93099f174 | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/de38b160c118e95566f0e652c3f1c15c00656eb1 | riscv64 | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/2da070f05925e7600138e43acf1acf258f013c32 | ORPH or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/15cdbb3487a4617f232734418aa28dc1bc904f7d | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/2a3c04074cf54ad5b52a7fcad0ebaf273814f0c1 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3fb423272b6187a6e5588adf18050e4a7042d892 | ORPH powerpc64 | fftw-quad-3.3.10 | NOK | http://autobuild.buildroot.net/results/2e8adfc8fe1e0232f7b58c43f75e0e0e24464496 | ORPH powerpc64 | glibc-2.37-45-gb4e23c75aea7... | NOK | http://autobuild.buildroot.net/results/0b064ab01a32c50609cc9b63f4ad12d3a31d2310 | i686 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/f67a2acd7e8ba04f2d97e212faf28dc7f967c695 | ORPH mips64el | host-go-1.20.9 | NOK | http://autobuild.buildroot.net/results/734814bf69efecda66de757536f2a9c2c8757dbe | powerpc64le | host-sentry-cli-2.8.0 | NOK | http://autobuild.buildroot.net/results/43cba92c5187b0a64f3ad56e0df1f840b272555e | i686 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/25eee23aba4f89b64d7a1311ea058089a6567f72 | ORPH powerpc | linux-6.4.16 | NOK | http://autobuild.buildroot.net/results/f59532ec2e4087c68974ba857cfbe33860be1434 | ORPH arm | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/bd94cd37aa5ed1290cf88281e5c75b8a74474b97 | ORPH sparc64 | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/ca6d5ed37de56dc536728c0a754cac32f00d9690 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/c6fba47e509f14d28469246762db0b347e4f8116 | -- http://autobuild.buildroot.net From ramirez.clement3 at gmail.com Wed Oct 11 07:12:44 2023 From: ramirez.clement3 at gmail.com (Clement Ramirez) Date: Wed, 11 Oct 2023 09:12:44 +0200 Subject: [Buildroot] [PATCH v2] package/qemu: security bump version to 8.1.1 Message-ID: <20231011071244.419815-1-ramirez.clement3@gmail.com> Fixes the following CVEs : - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR 56270e5d3d meson: Fix targetos match for illumos and Solaris. 60da8301fe s390x/ap: fix missing subsystem reset registration 8b479229ff ui: fix crash when there are no active_console d4919bbcc2 virtio-gpu/win32: set the destroy function on load cae7dc1452 target/riscv: Allocate itrigger timers only once 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 b822207513 hw/riscv: virt: Fix riscv,pmu DT node path 2947da750e linux-user/riscv: Use abi type for target_ucontext 60a7f5c8fe hw/intc: Make rtc variable names consistent 566dac7127 hw/intc: Fix upper/lower mtime write calculation 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first 987e90cfd2 target/riscv/cpu.c: add zmmul isa string b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts 9832a670b3 arm64: Restore trapless ptimer access df33ce9b6d virtio: Drop out of coroutine context in virtio_load() eeee989f72 qxl: don't assert() if device isn't yet initialized 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() 6356785daa docs tests: Fix use of migrate_set_parameter 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode d5361580ac hw/ide/ahci: fix broken SError handling e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr 5358980d33 hw/ppc/e500: fix broken snapshot replay 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects e975434d62 target/i386: raise FERR interrupt with iothread locked e5e77f256f linux-user: Adjust brk for load_bias 645b87f650 target/arm: properly document FEAT_CRC32 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section 441106eebb docs/about/license: Update LICENSE URL 63188a00bb target/arm: Fix 64-bit SSRA 7012e20b2d target/arm: Fix SME ST1Q c8e381d672 accel/kvm: Specify default IPA size for arm64 34808d041c kvm: Introduce kvm_arch_get_default_type hook 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 c12eddbd48 target/s390x: Fix VSTL with a large length 880e82ed78 target/s390x: Use a 16-bit immediate in VREP 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS Signed-off-by: Clement Ramirez --- Changes v1 -> v2: - add a comment to explain why ignoring CVEs is required Signed-off-by: Clement Ramirez --- package/qemu/qemu.hash | 2 +- package/qemu/qemu.mk | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash index 506afa8bf3..61e51a923f 100644 --- a/package/qemu/qemu.hash +++ b/package/qemu/qemu.hash @@ -1,4 +1,4 @@ # Locally computed, tarball verified with GPG signature -sha256 710c101198e334d4762eef65f649bc43fa8a5dd75303554b8acfec3eb25f0e55 qemu-8.1.0.tar.xz +sha256 37ce2ef5e500fb752f681117c68b45118303ea49a7e26bd54080ced54fab7def qemu-8.1.1.tar.xz sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 6aaed32336..5ce0cedec1 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -6,7 +6,7 @@ # When updating the version, check whether the list of supported targets # needs to be updated. -QEMU_VERSION = 8.1.0 +QEMU_VERSION = 8.1.1 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz QEMU_SITE = https://download.qemu.org QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c @@ -16,6 +16,12 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB # individual source files. QEMU_CPE_ID_VENDOR = qemu +# Need to ignore the following CVEs because the CPE database does +# not have an entry for the 8.1.1 version yet. +QEMU_IGNORE_CVES += CVE-2023-4135 +QEMU_IGNORE_CVES += CVE-2023-3354 +QEMU_IGNORE_CVES += CVE-2023-3180 + #------------------------------------------------------------- # The build system is now partly based on Meson. -- 2.34.1 From yegorslists at googlemail.com Wed Oct 11 07:27:01 2023 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Wed, 11 Oct 2023 09:27:01 +0200 Subject: [Buildroot] [PATCH] python-configobj: new package Message-ID: <20231011072701.1014328-1-yegorslists@googlemail.com> From: Yegor Yefremov python-configobj package was removed in 8d264a96172cfa1c1f515d1160b921c013fa3bd7 because of the missing support for Python 3.x. Meanwhile, this problem was fixed, hence readd the package. Signed-off-by: Yegor Yefremov --- Config.in.legacy | 6 ------ package/Config.in | 1 + package/python-configobj/Config.in | 7 +++++++ package/python-configobj/python-configobj.hash | 5 +++++ package/python-configobj/python-configobj.mk | 14 ++++++++++++++ 5 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 package/python-configobj/Config.in create mode 100644 package/python-configobj/python-configobj.hash create mode 100644 package/python-configobj/python-configobj.mk diff --git a/Config.in.legacy b/Config.in.legacy index ca80279212..b817e80e55 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -724,12 +724,6 @@ config BR2_PACKAGE_PYTHON_DIALOG help Package was removed together with python 2.7 support. -config BR2_PACKAGE_PYTHON_CONFIGOBJ - bool "python-configobj removed" - select BR2_LEGACY - help - Package was removed together with python 2.7 support. - config BR2_PACKAGE_PYTHON_YIELDFROM bool "python-yieldfrom removed" select BR2_LEGACY diff --git a/package/Config.in b/package/Config.in index 009f7ba186..1327a13f4e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1026,6 +1026,7 @@ menu "External python modules" source "package/python-colorama/Config.in" source "package/python-colorlog/Config.in" source "package/python-colorzero/Config.in" + source "package/python-configobj/Config.in" source "package/python-configshell-fb/Config.in" source "package/python-constantly/Config.in" source "package/python-construct/Config.in" diff --git a/package/python-configobj/Config.in b/package/python-configobj/Config.in new file mode 100644 index 0000000000..365aa17fcb --- /dev/null +++ b/package/python-configobj/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_CONFIGOBJ + bool "python-configobj" + select BR2_PACKAGE_PYTHON_SIX # runtime + help + Config file reading, writing and validation. + + https://github.com/DiffSK/configobj diff --git a/package/python-configobj/python-configobj.hash b/package/python-configobj/python-configobj.hash new file mode 100644 index 0000000000..682dc987f1 --- /dev/null +++ b/package/python-configobj/python-configobj.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/configobj/json +md5 8dda7b31bb3aea87ecfe3b7a87812b17 configobj-5.0.8.tar.gz +sha256 6f704434a07dc4f4dc7c9a745172c1cad449feb548febd9f7fe362629c627a97 configobj-5.0.8.tar.gz +# Locally computed sha256 checksums +sha256 0d95e648469a711f5ec1e59e6d4492150ec65d968c1ea6c6d96154a92879997a LICENSE diff --git a/package/python-configobj/python-configobj.mk b/package/python-configobj/python-configobj.mk new file mode 100644 index 0000000000..fe1776f79f --- /dev/null +++ b/package/python-configobj/python-configobj.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-configobj +# +################################################################################ + +PYTHON_CONFIGOBJ_VERSION = 5.0.8 +PYTHON_CONFIGOBJ_SOURCE = configobj-$(PYTHON_CONFIGOBJ_VERSION).tar.gz +PYTHON_CONFIGOBJ_SITE = https://files.pythonhosted.org/packages/cb/87/17d4c6d634c044ab08b11c0cd2a8a136d103713d438f8792d7be2c5148fb +PYTHON_CONFIGOBJ_SETUP_TYPE = setuptools +PYTHON_CONFIGOBJ_LICENSE = BSD-3-Clause +PYTHON_CONFIGOBJ_LICENSE_FILES = LICENSE + +$(eval $(python-package)) -- 2.34.1 From sairon at sairon.cz Wed Oct 11 07:35:05 2023 From: sairon at sairon.cz (=?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?=) Date: Wed, 11 Oct 2023 09:35:05 +0200 Subject: [Buildroot] [PATCH] package/libcurl: security bump to 8.4.0 Message-ID: <20231011073506.687039-1-sairon@sairon.cz> Fixes following two vulnerabilities: * CVE-2023-38545: SOCKS5 heap buffer overflow https://curl.se/docs/CVE-2023-38545.html * CVE-2023-38546: cookie injection with none file https://curl.se/docs/CVE-2023-38546.html Signed-off-by: Jan ?erm?k --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 371d20a632..ecd5d63909 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-8.3.0.tar.xz.asc +# https://curl.se/download/curl-8.4.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63 curl-8.3.0.tar.xz +sha256 16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82d curl-8.4.0.tar.xz sha256 b1d7feb949ea5023552029fbe0bf5db4f23c2f85e9b8e51e18536f0ecbf9c524 COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index dd4cf43c6a..bd331a55aa 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 8.3.0 +LIBCURL_VERSION = 8.4.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ -- 2.34.1 From peter at korsgaard.com Wed Oct 11 08:39:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 10:39:51 +0200 Subject: [Buildroot] [PATCH] package/libcue: security bump to version 2.3.0 Message-ID: <20231011083951.177891-1-peter@korsgaard.com> Fixes the following security issue: CVE-2023-43641: Out-of-bounds array access in track_set_index https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj For more details, see the github writeup: https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ Signed-off-by: Peter Korsgaard --- package/libcue/libcue.hash | 2 +- package/libcue/libcue.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcue/libcue.hash b/package/libcue/libcue.hash index 93ae2dacdb..47fe906e1a 100644 --- a/package/libcue/libcue.hash +++ b/package/libcue/libcue.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 f27bc3ebb2e892cd9d32a7bee6d84576a60f955f29f748b9b487b173712f1200 libcue-2.2.1.tar.gz +sha256 cc1b3a65c60bd88b77a1ddd1574042d83cf7cc32b85fe9481c99613359eb7cfe libcue-2.3.0.tar.gz sha256 c388d36583fa54e13b6d73ad924d0b68d073ed8a5771e17cb49104705df4504f LICENSE diff --git a/package/libcue/libcue.mk b/package/libcue/libcue.mk index 3edb4f3b69..7ef27f5a17 100644 --- a/package/libcue/libcue.mk +++ b/package/libcue/libcue.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCUE_VERSION = 2.2.1 +LIBCUE_VERSION = 2.3.0 LIBCUE_SITE = $(call github,lipnitsk,libcue,v$(LIBCUE_VERSION)) LIBCUE_LICENSE = GPL-2.0, BSD-2-Clause (rem.c) LIBCUE_LICENSE_FILES = LICENSE -- 2.30.2 From peter at korsgaard.com Wed Oct 11 08:52:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 10:52:30 +0200 Subject: [Buildroot] [PATCH] package/libcurl: security bump to 8.4.0 In-Reply-To: <20231011073506.687039-1-sairon@sairon.cz> ("Jan =?utf-8?B?xIxlcm3DoWsiJ3M=?= message of "Wed, 11 Oct 2023 09:35:05 +0200") References: <20231011073506.687039-1-sairon@sairon.cz> Message-ID: <87il7dczht.fsf@48ers.dk> >>>>> "Jan" == Jan ?erm?k writes: > Fixes following two vulnerabilities: > * CVE-2023-38545: SOCKS5 heap buffer overflow > https://curl.se/docs/CVE-2023-38545.html > * CVE-2023-38546: cookie injection with none file > https://curl.se/docs/CVE-2023-38546.html > Signed-off-by: Jan ?erm?k Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 08:40:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 10:40:17 +0200 Subject: [Buildroot] [git commit] package/libcurl: security bump to 8.4.0 Message-ID: <20231011085253.3CD09844F2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30dd60ba7eb3e6da4f0ae91b3b08f8aa8fb8d786 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes following two vulnerabilities: * CVE-2023-38545: SOCKS5 heap buffer overflow https://curl.se/docs/CVE-2023-38545.html * CVE-2023-38546: cookie injection with none file https://curl.se/docs/CVE-2023-38546.html Signed-off-by: Jan ??erm??k Signed-off-by: Peter Korsgaard --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 371d20a632..ecd5d63909 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-8.3.0.tar.xz.asc +# https://curl.se/download/curl-8.4.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63 curl-8.3.0.tar.xz +sha256 16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82d curl-8.4.0.tar.xz sha256 b1d7feb949ea5023552029fbe0bf5db4f23c2f85e9b8e51e18536f0ecbf9c524 COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index dd4cf43c6a..bd331a55aa 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 8.3.0 +LIBCURL_VERSION = 8.4.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ From peter at korsgaard.com Wed Oct 11 09:00:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:17 +0200 Subject: [Buildroot] [PATCH] package/cups: add upstream security fix for CVE-2023-4504 In-Reply-To: <20231001142024.3959758-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 1 Oct 2023 16:20:24 +0200") References: <20231001142024.3959758-1-peter@korsgaard.com> Message-ID: <87edi1cz4u.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-4504: Postscript Parsing Heap Overflow > https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h > https://takeonme.org/cves/CVE-2023-4504.html > There is a 2.4.7 release with this fix, but upstream unfortunately broke > !gnutls builds, so backport the security fix instead: > https://github.com/OpenPrinting/cups/issues/762 > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 09:02:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:02:02 +0200 Subject: [Buildroot] [PATCH 01/12] package/gstreamer1: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 21:10:38 +0200") References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <87a5spcz1x.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Signed-off-by: Peter Korsgaard Committed series, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 09:03:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:03:01 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series In-Reply-To: <20231007102850.1303053-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 7 Oct 2023 12:28:50 +0200") References: <20231007102850.1303053-1-bernd@kuhls.net> Message-ID: <875y3dcz0a.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 09:03:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:03:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/libxml2: bump version to 2.11.5 In-Reply-To: <20231007102500.1293134-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 7 Oct 2023 12:25:00 +0200") References: <20231007102500.1293134-1-bernd@kuhls.net> Message-ID: <871qe1cyzu.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.news > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 09:00:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:36 +0200 Subject: [Buildroot] [git commit] package/gstreamer1: bump to version 1.22.6 Message-ID: <20231011090436.E669584507@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=133ced8e02f00820f6e83effa5ffac1d8a6c7200 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gstreamer1/gstreamer1.hash | 4 ++-- package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1/gstreamer1.hash b/package/gstreamer1/gstreamer1/gstreamer1.hash index f74832ce6a..65045c1c30 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.hash +++ b/package/gstreamer1/gstreamer1/gstreamer1.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.2.tar.xz.sha256sum -sha256 b2afe73603921c608ba48969dbb7d743776744bfe5d8059ece241137b7f88e21 gstreamer-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.6.tar.xz.sha256sum +sha256 f500e6cfddff55908f937711fc26a0840de28a1e9ec49621c0b6f1adbd8f818e gstreamer-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 8584735129..352567ed52 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_VERSION = 1.22.2 +GSTREAMER1_VERSION = 1.22.6 GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer GSTREAMER1_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 11 09:01:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:15 +0200 Subject: [Buildroot] [git commit] package/gst1-python: bump to version 1.22.6 Message-ID: <20231011090437.3088684508@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3aff0c2cde63cc19ac8ea5ce50adfd19567f04b2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-python/gst1-python.hash | 4 ++-- package/gstreamer1/gst1-python/gst1-python.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-python/gst1-python.hash b/package/gstreamer1/gst1-python/gst1-python.hash index 006d4985ef..4495e03945 100644 --- a/package/gstreamer1/gst1-python/gst1-python.hash +++ b/package/gstreamer1/gst1-python/gst1-python.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.2.tar.xz.sha256sum -sha256 bef2b3d82ce4be46b775b1bb56305c1003ee01b535a53a82f9fe8924972153ad gst-python-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.6.tar.xz.sha256sum +sha256 51de2d6d13b12ce095eac97c0b94ee59c2aeba3712bb7462b78c4d57dde176c5 gst-python-1.22.6.tar.xz sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/package/gstreamer1/gst1-python/gst1-python.mk b/package/gstreamer1/gst1-python/gst1-python.mk index 527d101786..475f2f2d87 100644 --- a/package/gstreamer1/gst1-python/gst1-python.mk +++ b/package/gstreamer1/gst1-python/gst1-python.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PYTHON_VERSION = 1.22.2 +GST1_PYTHON_VERSION = 1.22.6 GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python GST1_PYTHON_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 11 08:59:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 10:59:52 +0200 Subject: [Buildroot] [git commit] package/cups: add upstream security fix for CVE-2023-4504 Message-ID: <20231011090436.DD25E844F6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b9d9497019f0caa3388f51c458a2469fdeefd146 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-4504: Postscript Parsing Heap Overflow https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h https://takeonme.org/cves/CVE-2023-4504.html There is a 2.4.7 release with this fix, but upstream unfortunately broke !gnutls builds, so backport the security fix instead: https://github.com/OpenPrinting/cups/issues/762 Signed-off-by: Peter Korsgaard --- ...0005-raster-interpret.c-Fix-CVE-2023-4504.patch | 45 ++++++++++++++++++++++ package/cups/cups.mk | 3 ++ 2 files changed, 48 insertions(+) diff --git a/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch new file mode 100644 index 0000000000..d1dff4e1fa --- /dev/null +++ b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch @@ -0,0 +1,45 @@ +From 2431caddb7e6a87f04ac90b5c6366ad268b6ff31 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Wed, 20 Sep 2023 14:45:17 +0200 +Subject: [PATCH] raster-interpret.c: Fix CVE-2023-4504 + +We didn't check for end of buffer if it looks there is an escaped +character - check for NULL terminator there and if found, return NULL +as return value and in `ptr`, because a lone backslash is not +a valid PostScript character. + +Upstream: https://github.com/OpenPrinting/cups/commit/2431caddb7e6a87f04ac90b5c6366ad268b6ff31 +[Peter: drop CHANGES hunk] +Signed-off-by: Peter Korsgaard +--- + cups/raster-interpret.c | 14 +++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/cups/raster-interpret.c b/cups/raster-interpret.c +index 6fcf731b5..b8655c8c6 100644 +--- a/cups/raster-interpret.c ++++ b/cups/raster-interpret.c +@@ -1116,7 +1116,19 @@ scan_ps(_cups_ps_stack_t *st, /* I - Stack */ + + cur ++; + +- if (*cur == 'b') ++ /* ++ * Return NULL if we reached NULL terminator, a lone backslash ++ * is not a valid character in PostScript. ++ */ ++ ++ if (!*cur) ++ { ++ *ptr = NULL; ++ ++ return (NULL); ++ } ++ ++ if (*cur == 'b') + *valptr++ = '\b'; + else if (*cur == 'f') + *valptr++ = '\f'; +-- +2.30.2 + diff --git a/package/cups/cups.mk b/package/cups/cups.mk index a3bb2f8dfc..4bc5eeedee 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -13,6 +13,9 @@ CUPS_CPE_ID_VENDOR = openprinting CUPS_SELINUX_MODULES = cups CUPS_INSTALL_STAGING = YES +# 0005-raster-interpret.c-Fix-CVE-2023-4504.patch +CUPS_IGNORE_CVES += CVE-2023-4504 + # Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. define CUPS_RUN_AUTOCONF cd $(@D); $(AUTOCONF) -f From peter at korsgaard.com Wed Oct 11 09:00:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:50 +0200 Subject: [Buildroot] [git commit] package/gst1-plugins-good: security bump to version 1.22.6 Message-ID: <20231011090437.03F5E84522@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=40c3696131a2b93ea3da2556352dc79c19ac2e9c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-37327: Heap-based buffer overflow in the FLAC parser when handling malformed image tags in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0001.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash | 4 ++-- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash index 604e74b57d..1b315ac1cc 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz.sha256sum -sha256 7c8cc59425f2b232f60ca7d13e56edd615da4f711e73dd01a7cffa46e6bc0cdd gst-plugins-good-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.6.tar.xz.sha256sum +sha256 b3b07fe3f1ce7fe93aa9be7217866044548f35c4a7792280eec7e108a32f9817 gst-plugins-good-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 41f4c727f3..4c6188c097 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_GOOD_VERSION = 1.22.2 +GST1_PLUGINS_GOOD_VERSION = 1.22.6 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING From peter at korsgaard.com Wed Oct 11 09:00:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:43 +0200 Subject: [Buildroot] [git commit] package/gst1-plugins-base: security bump to version 1.22.6 Message-ID: <20231011090436.EF36B84508@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=14e2374592284ba61384782ced095ea01ab4dfc5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-37328: Heap-based buffer overflow in the subparse subtitle parser when handling certain SRT subtitle files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0002.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash | 4 ++-- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash index 173f359afc..a46ce228c4 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz.sha256sum -sha256 eb65120c4ee79b7a153c3c1972d5c0158c2151877cc51ec7725bba5749679d49 gst-plugins-base-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.6.tar.xz.sha256sum +sha256 50f2b4d17c02eefe430bbefa8c5cd134b1be78a53c0f60e951136d96cf49fd4b gst-plugins-base-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk index 153187f743..7fcac012f2 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BASE_VERSION = 1.22.2 +GST1_PLUGINS_BASE_VERSION = 1.22.6 GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base GST1_PLUGINS_BASE_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 11 09:00:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:59 +0200 Subject: [Buildroot] [git commit] package/gst1-plugins-ugly: security bump to version 1.22.6 Message-ID: <20231011090437.150DB844F6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7f2571f594cc87fc7543b5476eeda1bdda4d7264 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: ZDI-CAN-21443: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0004.html ZDI-CAN-21444: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0005.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash | 4 ++-- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash index ed781df686..f55dd7b3a0 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.2.tar.xz.sha256sum -sha256 8f30f44db0bd063709bf6fbe55138e3a98af0abcb61c360f35582bbe10e80691 gst-plugins-ugly-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.6.tar.xz.sha256sum +sha256 3e31454c98cb2f7f6d2d355eceb933a892fa0f1dc09bc36c9abc930d8e29ca48 gst-plugins-ugly-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk index f1566b058e..ee3bd1b551 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_UGLY_VERSION = 1.22.2 +GST1_PLUGINS_UGLY_VERSION = 1.22.6 GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING From peter at korsgaard.com Wed Oct 11 09:01:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:20 +0200 Subject: [Buildroot] [git commit] package/gst1-rtsp-server: bump to version 1.22.6 Message-ID: <20231011090437.3945F84522@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7a0cbea0e35ef6f62c0b073fd0724e02235921fc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash | 4 ++-- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash index c98d10d79c..521a91ddd7 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash @@ -1,4 +1,4 @@ -# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.2.tar.xz.sha256sum -sha256 2be4aecfb88710100ea7115ed0216403e8094344ebf146094271b8d4d73828bf gst-rtsp-server-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.6.tar.xz.sha256sum +sha256 0ae33a8b50443b62f11581a9181e906b41cd3877b2d799dbea72912c3eda4bb3 gst-rtsp-server-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk index 6f5fc4f7aa..46d7606b1d 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_RTSP_SERVER_VERSION = 1.22.2 +GST1_RTSP_SERVER_VERSION = 1.22.6 GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server GST1_RTSP_SERVER_LICENSE = LGPL-2.1+ From peter at korsgaard.com Wed Oct 11 09:01:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:05 +0200 Subject: [Buildroot] [git commit] package/gst1-devtools: bump to version 1.22.6 Message-ID: <20231011090437.1E12F84507@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=637cf8fdab953d7a77e640fbc10b63166c3b3b20 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-devtools/gst1-devtools.hash | 4 ++-- package/gstreamer1/gst1-devtools/gst1-devtools.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash index 4abdd6ece4..9eada91614 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.2.tar.xz.sha256sum -sha256 eb62726d3e27a8782369a24fd6364a8885ed2462b3bbdab091dffc8139ee06d8 gst-devtools-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.6.tar.xz.sha256sum +sha256 8928560efaf16137c30285e718708e5d0bab0777eb4ef8127e0274e120d3d86b gst-devtools-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk index 7801f9b62c..8608c2f75b 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_DEVTOOLS_VERSION = 1.22.2 +GST1_DEVTOOLS_VERSION = 1.22.6 GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools GST1_DEVTOOLS_LICENSE = LGPL-2.1+ From peter at korsgaard.com Wed Oct 11 09:03:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:03:16 +0200 Subject: [Buildroot] [git commit] package/libxml2: bump version to 2.11.5 Message-ID: <20231011090437.6BE3184522@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=622698d78472aad0b4afa2775fd35dd5bff7a865 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.news Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/libxml2/libxml2.hash | 4 ++-- package/libxml2/libxml2.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libxml2/libxml2.hash b/package/libxml2/libxml2.hash index f3650c5ec5..cad19f930f 100644 --- a/package/libxml2/libxml2.hash +++ b/package/libxml2/libxml2.hash @@ -1,4 +1,4 @@ -# From https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.4.sha256sum -sha256 737e1d7f8ab3f139729ca13a2494fd17bf30ddb4b7a427cf336252cab57f57f7 libxml2-2.11.4.tar.xz +# From https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.sha256sum +sha256 3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6 libxml2-2.11.5.tar.xz # License files, locally calculated sha256 c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd Copyright diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index 672a2cb0f0..fb7767297b 100644 --- a/package/libxml2/libxml2.mk +++ b/package/libxml2/libxml2.mk @@ -5,7 +5,7 @@ ################################################################################ LIBXML2_VERSION_MAJOR = 2.11 -LIBXML2_VERSION = $(LIBXML2_VERSION_MAJOR).4 +LIBXML2_VERSION = $(LIBXML2_VERSION_MAJOR).5 LIBXML2_SOURCE = libxml2-$(LIBXML2_VERSION).tar.xz LIBXML2_SITE = \ https://download.gnome.org/sources/libxml2/$(LIBXML2_VERSION_MAJOR) From peter at korsgaard.com Wed Oct 11 09:00:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:55 +0200 Subject: [Buildroot] [git commit] package/gst1-plugins-bad: security bump to version 1.22.6 Message-ID: <20231011090437.0CE5684524@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=19fe76b8b4dd09bd11fce6832932cd799332ffb5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: CVE-2023-37329: Heap-based buffer overflow in the PGS blu-ray subtitle decoder when handling certain files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0003.html CVE-2023-40474: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with uncompressed video in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0006.html CVE-2023-40475: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with AES3 audio in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0007.html CVE-2023-40476: Stack-based buffer overflow in the H.265 video parser when handling malformed H.265 video streams in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0008.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash | 4 ++-- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash index 2bbb8af904..c6d1f2e009 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.2.tar.xz.sha256sum -sha256 3d8faf1ce3402c8535ce3a8c4e1a6c960e4b5655dbda6b55943db9ac79022d0f gst-plugins-bad-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.6.tar.xz.sha256sum +sha256 b4029cd2908a089c55f1d902a565d007495c95b1442d838485dc47fb12df7137 gst-plugins-bad-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index 1713f0b4b8..983be754e9 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BAD_VERSION = 1.22.2 +GST1_PLUGINS_BAD_VERSION = 1.22.6 GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad GST1_PLUGINS_BAD_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 11 09:01:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:50 +0200 Subject: [Buildroot] [git commit] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series Message-ID: <20231011090437.64606844F6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=003cdd5de31dd6558b02d0a719bc779bb1fc8db5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 6 +++--- package/linux-headers/Config.in.host | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 8dcc493e2e..a6b4967a8c 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.5" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.6" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index bdd27eb600..dfcc87802b 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,8 +1,8 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95 linux-6.5.5.tar.xz -sha256 a87e241ec15d53452c4efe219713a3769d88cc436b5b98cf6efb262c4aff15c0 linux-6.1.55.tar.xz +sha256 78e36d4214547051c24df2140f4ce09428d6c515ad9a71b38b28e8094a95d2f6 linux-6.5.6.tar.xz +sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 ef845e7934897b88e4448378ea9daacac19e07f156fe904844fab0a7d8ff5ddd linux-5.15.133.tar.xz +sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index d1023a15e6..e2e2655964 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -408,9 +408,9 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.19.295" if BR2_KERNEL_HEADERS_4_19 default "5.4.257" if BR2_KERNEL_HEADERS_5_4 default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.133" if BR2_KERNEL_HEADERS_5_15 - default "6.1.55" if BR2_KERNEL_HEADERS_6_1 - default "6.5.5" if BR2_KERNEL_HEADERS_6_5 + default "5.15.134" if BR2_KERNEL_HEADERS_5_15 + default "6.1.56" if BR2_KERNEL_HEADERS_6_1 + default "6.5.6" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Wed Oct 11 09:01:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:09 +0200 Subject: [Buildroot] [git commit] package/gst1-libav: bump to version 1.22.6 Message-ID: <20231011090437.264AC84526@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=57fc4d90d07e00c2d49240d42141056c00fdfd6a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-libav/gst1-libav.hash | 4 ++-- package/gstreamer1/gst1-libav/gst1-libav.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-libav/gst1-libav.hash b/package/gstreamer1/gst1-libav/gst1-libav.hash index c3e84a17d2..251e924792 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.hash +++ b/package/gstreamer1/gst1-libav/gst1-libav.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.2.tar.xz.sha256sum -sha256 fcaaf9878fe8f3bc82317ef13a1558824cb68df1f8968c6797f556c5e33bcffd gst-libav-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.6.tar.xz.sha256sum +sha256 7789e6408388a25f23cbf948cfc5c6230d735bbcd8b7f37f4a01c9e348a1e3a7 gst-libav-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-libav/gst1-libav.mk b/package/gstreamer1/gst1-libav/gst1-libav.mk index 0306db42c0..23d4a29799 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.mk +++ b/package/gstreamer1/gst1-libav/gst1-libav.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_LIBAV_VERSION = 1.22.2 +GST1_LIBAV_VERSION = 1.22.6 GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav GST1_LIBAV_LICENSE = LGPL-2.1+ From peter at korsgaard.com Wed Oct 11 09:01:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:26 +0200 Subject: [Buildroot] [git commit] package/gst1-rtsp-vaapi: bump to version 1.22.6 Message-ID: <20231011090437.4503E844F6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=688dcef3d7d2f72119320280dd63726787b1486b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-vaapi/gst1-vaapi.hash | 4 ++-- package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash index 2fdec4e83f..53dbe97ca9 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.2.tar.xz.sha256sum -sha256 d2e642f9745f97d9f73a7f5085e7659a9a31fe209b774e6e45dae041b435df06 gstreamer-vaapi-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.6.tar.xz.sha256sum +sha256 d9ba2fc26bef98c78e982c599f585d46bbb65fe122da89c2d7ab41f468a52c7b gstreamer-vaapi-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk index cae239094a..46a5839450 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_VAAPI_VERSION = 1.22.2 +GST1_VAAPI_VERSION = 1.22.6 GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz GST1_VAAPI_LICENSE = LGPL-2.1+ From peter at korsgaard.com Wed Oct 11 09:01:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:32 +0200 Subject: [Buildroot] [git commit] package/gst-omx: bump to version 1.22.6 Message-ID: <20231011090437.51CA384507@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6339e7f4132230e086a8efc5e266c21fbc3ef3c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst-omx/gst-omx.hash | 4 ++-- package/gstreamer1/gst-omx/gst-omx.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst-omx/gst-omx.hash b/package/gstreamer1/gst-omx/gst-omx.hash index d4a95c631a..5878991b5b 100644 --- a/package/gstreamer1/gst-omx/gst-omx.hash +++ b/package/gstreamer1/gst-omx/gst-omx.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.2.tar.xz.sha256sum -sha256 1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2 gst-omx-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.6.tar.xz.sha256sum +sha256 223833c42518ad7eb1923bb4dd3726809f59a66d6e9aaaa69cb29ad0750c8758 gst-omx-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst-omx/gst-omx.mk b/package/gstreamer1/gst-omx/gst-omx.mk index 87f162f715..3d2ba90290 100644 --- a/package/gstreamer1/gst-omx/gst-omx.mk +++ b/package/gstreamer1/gst-omx/gst-omx.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST_OMX_VERSION = 1.22.2 +GST_OMX_VERSION = 1.22.6 GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx From peter at korsgaard.com Wed Oct 11 09:01:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:42 +0200 Subject: [Buildroot] [git commit] package/gstreamer1-editing-services: bump to version 1.22.6 Message-ID: <20231011090437.5C64D84508@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c8ff426744d5c4977e06b1554185fde69a2f146 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- .../gstreamer1-editing-services/gstreamer1-editing-services.hash | 4 ++-- .../gstreamer1-editing-services/gstreamer1-editing-services.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash index 0cdb18ea5d..11e93b8b65 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash @@ -1,5 +1,5 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.2.tar.xz.sha256sum -sha256 453b1464fc3857de269a7cb0ebd966afe02171d97bef672a0b8a0a6d43e0cebf gst-editing-services-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.6.tar.xz.sha256sum +sha256 748d423672c597f876e130804fb984848f5b4b89efd78a506cb17f7646795301 gst-editing-services-1.22.6.tar.xz # Hashes for license files: sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk index 9fdc877db0..bea59f256b 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.2 +GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.6 GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ From adam.duskett at amarulasolutions.com Wed Oct 11 09:22:50 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Wed, 11 Oct 2023 11:22:50 +0200 Subject: [Buildroot] [PATCH 2/2] support/testing/tests/package/test_firewalld.py: new test In-Reply-To: <20231011092250.3739529-1-adam.duskett@amarulasolutions.com> References: <20231011092250.3739529-1-adam.duskett@amarulasolutions.com> Message-ID: <20231011092250.3739529-2-adam.duskett@amarulasolutions.com> This test case runs firewalld using both system and sysvinit. run `firewalld-cmd --state` and ensure the output is "running" with a return code of 0. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + .../testing/tests/package/test_firewalld.py | 94 +++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 support/testing/tests/package/test_firewalld.py diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..349f609e64 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -37,6 +37,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: support/testing/tests/package/test_firewalld.py F: support/testing/tests/package/test_flutter.py N: Adam Heinrich diff --git a/support/testing/tests/package/test_firewalld.py b/support/testing/tests/package/test_firewalld.py new file mode 100644 index 0000000000..4b0282d3e4 --- /dev/null +++ b/support/testing/tests/package/test_firewalld.py @@ -0,0 +1,94 @@ +"""Test firewalld for both systemd and sysvinit.""" +import os +import infra.basetest + + +class TestFirewalldSystemd(infra.basetest.BRTest): + """Build the kernel as firewalld requires several the nftable options.""" + + __test__ = True + config: str = """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PER_PACKAGE_DIRECTORIES=y + BR2_INIT_SYSTEMD=y + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_DTS_SUPPORT=y + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_FIREWALLD=y + 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") + kernel_file = os.path.join(self.builddir, "images", "zImage") + dtb_file = os.path.join(self.builddir, "images", "vexpress-v2p-ca9.dtb") + self.emulator.boot(arch="armv7", + kernel=kernel_file, + kernel_cmdline=["console=ttyAMA0,115200"], + options=[ + "-initrd", cpio_file, + "-dtb", dtb_file, + "-M", "vexpress-a9" + ]) + # It takes quite some time for the system to boot with firewalld, + self.emulator.timeout_multiplier *= 10 + self.emulator.login() + cmd = "firewall-cmd --state" + output, exit_code = self.emulator.run(cmd, timeout=10) + self.assertIn("running", output[0]) + self.assertEqual(exit_code, 0) + + +class TestFirewalldSysVInit(infra.basetest.BRTest): + """Build the kernel as firewalld requires several nftable options.""" + + __test__ = True + config: str = """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PER_PACKAGE_DIRECTORIES=y + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_DTS_SUPPORT=y + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_FIREWALLD=y + 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") + kernel_file = os.path.join(self.builddir, "images", "zImage") + dtb_file = os.path.join(self.builddir, "images", "vexpress-v2p-ca9.dtb") + self.emulator.boot(arch="armv7", + kernel=kernel_file, + kernel_cmdline=["console=ttyAMA0,115200"], + options=[ + "-initrd", cpio_file, + "-dtb", dtb_file, + "-M", "vexpress-a9" + ]) + # It takes quite some time for the system to boot with firewalld. + self.emulator.timeout_multiplier *= 10 + self.emulator.login() + cmd = "firewall-cmd --state" + output, exit_code = self.emulator.run(cmd, timeout=10) + self.assertIn("running", output[0]) + self.assertEqual(exit_code, 0) -- 2.41.0 From adam.duskett at amarulasolutions.com Wed Oct 11 09:22:49 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Wed, 11 Oct 2023 11:22:49 +0200 Subject: [Buildroot] [PATCH 1/2] package/firewalld: enable missing kernel config options Message-ID: <20231011092250.3739529-1-adam.duskett@amarulasolutions.com> Firewalld requires IPV6 to function. We also should enable the other dependencies such as networking support to ensure all other options in the giant list of kernel config options are selected properly. Signed-off-by: Adam Duskett --- package/firewalld/firewalld.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 188550d449..23ba1e6c2a 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -72,9 +72,16 @@ define FIREWALLD_INSTALL_INIT_SYSV $(TARGET_DIR)/etc/init.d/S46firewalld endef +# Firewalld needs ipv6 # Firewalld requires almost every single nftable option selected. define FIREWALLD_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_BRIDGE) + $(call KCONFIG_ENABLE_OPT,CONFIG_INET) + $(call KCONFIG_ENABLE_OPT,CONFIG_INET_DIAG) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED) + $(call KCONFIG_ENABLE_OPT,CONFIG_IPV6) $(call KCONFIG_ENABLE_OPT,CONFIG_IP6_NF_FILTER) $(call KCONFIG_ENABLE_OPT,CONFIG_IP6_NF_IPTABLES) $(call KCONFIG_ENABLE_OPT,CONFIG_IP6_NF_MANGLE) -- 2.41.0 From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:30 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:30 +0200 Subject: [Buildroot] [PATCH 2/4] package/freescale-imx: add i.MX91 and i.MX93 SoC support In-Reply-To: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> Message-ID: <20231011110932.4425-3-sebastien.szymanski@armadeus.com> This commit adds i.MX91 and i.MX93 support to Buildroot. https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-9-processors:IMX9-PROCESSORS There is no i.MX95 software provided by NXP at the moment that's why i.MX95 is left behind. Adapt package firmware-imx for the LPPDR4 firwmares binaries. Signed-off-by: S?bastien Szymanski --- package/freescale-imx/Config.in | 8 +++++++ package/freescale-imx/firmware-imx/Config.in | 9 ++++++++ .../firmware-imx/firmware-imx.mk | 23 +++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in index fe3f265941a8..192b1c0d70d1 100644 --- a/package/freescale-imx/Config.in +++ b/package/freescale-imx/Config.in @@ -61,6 +61,12 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL bool "imx8dxl" +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + bool "imx91" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 + bool "imx93" + endchoice config BR2_PACKAGE_FREESCALE_IMX_PLATFORM @@ -80,6 +86,8 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM default "IMX8MM" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM default "IMX8MN" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN default "IMX8MP" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP + default "IMX91" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + default "IMX93" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU bool diff --git a/package/freescale-imx/firmware-imx/Config.in b/package/freescale-imx/firmware-imx/Config.in index 087ddef8771b..7be6761253c9 100644 --- a/package/freescale-imx/firmware-imx/Config.in +++ b/package/freescale-imx/firmware-imx/Config.in @@ -55,6 +55,8 @@ config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 if BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW @@ -73,11 +75,15 @@ config BR2_PACKAGE_FIRMWARE_IMX_LPDDR4 config BR2_PACKAGE_FIRMWARE_IMX_DDR4 bool "DDR4" + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 help Use DDR4 binaries (i.e.: ddr4_*_201810.bin). config BR2_PACKAGE_FIRMWARE_IMX_DDR3 bool "DDR3" + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 help Use DDR3 binaries (i.e.: ddr3_*_201810.bin). @@ -89,6 +95,9 @@ config BR2_PACKAGE_FIRMWARE_IMX_DDR_VERSION # unconditionally use HW version 201810 when DDR3/DDR4 was # selected default "201810" if BR2_PACKAGE_FIRMWARE_IMX_DDR3 || BR2_PACKAGE_FIRMWARE_IMX_DDR4 + default "202201" if \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 help Use a specific version of the imx ddr binaries. Leaving this field empty will select the default version. diff --git a/package/freescale-imx/firmware-imx/firmware-imx.mk b/package/freescale-imx/firmware-imx/firmware-imx.mk index 66ef8c3930be..a08e8c4fb097 100644 --- a/package/freescale-imx/firmware-imx/firmware-imx.mk +++ b/package/freescale-imx/firmware-imx/firmware-imx.mk @@ -43,11 +43,33 @@ endef FIRMWARE_IMX_DDR_VERSION = $(call qstrip,$(BR2_PACKAGE_FIRMWARE_IMX_DDR_VERSION)) ifneq ($(FIRMWARE_IMX_DDR_VERSION),) FIRMWARE_IMX_DDR_VERSION_SUFFIX = _$(FIRMWARE_IMX_DDR_VERSION) +ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91)$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93),y) +FIRMWARE_IMX_DDR_VERSION_SUFFIX = _v$(FIRMWARE_IMX_DDR_VERSION) +endif endif ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_LPDDR4),y) FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys +ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91)$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93),y) +define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW + # Create padded versions of lpddr4_pmu_* and generate lpddr4_pmu_train_fw.bin. + # lpddr4_pmu_train_fw.bin is needed when generating imx9-boot-sd.bin + # which is done in post-image script. + $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ + lpddr4_imem_1d$(FIRMWARE_IMX_DDR_VERSION_SUFFIX), + lpddr4_dmem_1d$(FIRMWARE_IMX_DDR_VERSION_SUFFIX), + lpddr4_pmu_train_1d_fw) + $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ + lpddr4_imem_2d$(FIRMWARE_IMX_DDR_VERSION_SUFFIX), + lpddr4_dmem_2d$(FIRMWARE_IMX_DDR_VERSION_SUFFIX), + lpddr4_pmu_train_2d_fw) + cat $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_1d_fw.bin \ + $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_2d_fw.bin > \ + $(BINARIES_DIR)/lpddr4_pmu_train_fw.bin + ln -sf $(BINARIES_DIR)/lpddr4_pmu_train_fw.bin $(BINARIES_DIR)/ddr_fw.bin +endef +else define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW # Create padded versions of lpddr4_pmu_* and generate lpddr4_pmu_train_fw.bin. # lpddr4_pmu_train_fw.bin is needed when generating imx8-boot-sd.bin @@ -71,6 +93,7 @@ define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW cp $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4*.bin $(BINARIES_DIR)/ endef endif +endif ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_DDR4),y) FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys -- 2.41.0 From peter at korsgaard.com Wed Oct 11 11:47:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 13:47:35 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.3 Message-ID: <20231011114736.311388-1-peter@korsgaard.com> Fixes CVE-2023-39325: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. go1.21.3 (released 2023-10-10) includes a security fix to the net/http package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index a2ec6b5923..9499f50964 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz +sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21.3.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 2c32e90817..ef27f32835 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.2 +GO_VERSION = 1.21.3 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz -- 2.30.2 From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:32 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:32 +0200 Subject: [Buildroot] [PATCH 4/4] configs/freescale_imx93evk: new defconfig In-Reply-To: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> Message-ID: <20231011110932.4425-5-sebastien.szymanski@armadeus.com> This patch adds support for the NXP i.MX 93 11x11 EVK board [1]. [1] https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-93-evaluation-kit:i.MX93EVK Signed-off-by: S?bastien Szymanski --- .../common/imx/genimage.cfg.template_imx9 | 41 +++++++++++ .../common/imx/imx9-bootloader-prepare.sh | 34 +++++++++ board/freescale/common/imx/post-image.sh | 4 + board/freescale/imx93evk/readme.txt | 73 +++++++++++++++++++ configs/freescale_imx93evk_defconfig | 38 ++++++++++ 5 files changed, 190 insertions(+) create mode 100644 board/freescale/common/imx/genimage.cfg.template_imx9 create mode 100755 board/freescale/common/imx/imx9-bootloader-prepare.sh create mode 100644 board/freescale/imx93evk/readme.txt create mode 100644 configs/freescale_imx93evk_defconfig diff --git a/board/freescale/common/imx/genimage.cfg.template_imx9 b/board/freescale/common/imx/genimage.cfg.template_imx9 new file mode 100644 index 000000000000..10e192ce5774 --- /dev/null +++ b/board/freescale/common/imx/genimage.cfg.template_imx9 @@ -0,0 +1,41 @@ +# Minimal SD card image for the Freescale iMX9 boards +# +# We mimic the .sdcard Freescale's image format: +# * the SD card must have 32 kB free space at the beginning, +# * U-Boot is integrated into imx9-boot-sd.bin and is dumped as is, +# * a FAT partition at offset 8MB is containing Image and DTB files +# * a single root filesystem partition is required (ext2, ext3 or ext4) +# + +image boot.vfat { + vfat { + label = "boot" + files = { + %FILES% + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition imx-boot { + in-partition-table = "no" + image = "imx9-boot-sd.bin" + offset = %IMXOFFSET% + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 8M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + } +} diff --git a/board/freescale/common/imx/imx9-bootloader-prepare.sh b/board/freescale/common/imx/imx9-bootloader-prepare.sh new file mode 100755 index 000000000000..3c3757354d63 --- /dev/null +++ b/board/freescale/common/imx/imx9-bootloader-prepare.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash + +main () +{ + SPL_LOAD_ADDR=0x2049A000 + ATF_LOAD_ADDR=0x204E0000 + if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91=y$" ${BR2_CONFIG}; then + SPL_LOAD_ADDR=0x204A0000 + ATF_LOAD_ADDR=0x204C0000 + fi + + dd if=${BINARIES_DIR}/u-boot-spl.bin of=${BINARIES_DIR}/u-boot-spl-padded.bin bs=4 conv=sync + cat ${BINARIES_DIR}/u-boot-spl-padded.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin + + ${HOST_DIR}/bin/mkimage_imx8 -commit > ${BINARIES_DIR}/mkimg.commit + cat ${BINARIES_DIR}/u-boot.bin ${BINARIES_DIR}/mkimg.commit > ${BINARIES_DIR}/u-boot-hash.bin + rm -f ${BINARIES_DIR}/mkimg.commit + + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + ${HOST_DIR}/bin/mkimage_imx8 -soc IMX9 -c -ap ${BINARIES_DIR}/bl31.bin a35 ${ATF_LOAD_ADDR} -ap ${BINARIES_DIR}/u-boot-hash.bin a35 0x80200000 -ap ${BINARIES_DIR}/tee.bin a35 0x96000000 -out ${BINARIES_DIR}/u-boot-atf-container.img + else + ${HOST_DIR}/bin/mkimage_imx8 -soc IMX9 -c -ap ${BINARIES_DIR}/bl31.bin a35 ${ATF_LOAD_ADDR} -ap ${BINARIES_DIR}/u-boot-hash.bin a35 0x80200000 -out ${BINARIES_DIR}/u-boot-atf-container.img + fi + + ${HOST_DIR}/bin/mkimage_imx8 -soc IMX9 -append ${BINARIES_DIR}/ahab-container.img -c -ap ${BINARIES_DIR}/u-boot-spl-ddr.bin a35 ${SPL_LOAD_ADDR} -out ${BINARIES_DIR}/imx9-boot-sd.bin + + flashbin_size=$(wc -c ${BINARIES_DIR}/imx9-boot-sd.bin | awk '{print $1}') + pad_cnt=$(($((flashbin_size + 0x400 - 1)) / 0x400)) + dd if=${BINARIES_DIR}/u-boot-atf-container.img of=${BINARIES_DIR}/imx9-boot-sd.bin bs=1K seek=${pad_cnt} + + exit $? +} + +main $@ diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh index c359ef6032a6..3df7e820938b 100755 --- a/board/freescale/common/imx/post-image.sh +++ b/board/freescale/common/imx/post-image.sh @@ -48,6 +48,10 @@ genimage_type() echo "genimage.cfg.template_imx8" elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL=y$" ${BR2_CONFIG}; then echo "genimage.cfg.template_imx8" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx9" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx9" elif grep -Eq "^BR2_LINUX_KERNEL_INSTALL_TARGET=y$" ${BR2_CONFIG}; then if grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then echo "genimage.cfg.template_no_boot_part_spl" diff --git a/board/freescale/imx93evk/readme.txt b/board/freescale/imx93evk/readme.txt new file mode 100644 index 000000000000..f34624dd32e4 --- /dev/null +++ b/board/freescale/imx93evk/readme.txt @@ -0,0 +1,73 @@ +********************* +NXP i.MX93 EVK board +********************* + +This file documents the Buildroot support for the i.MX 93 EVK board. + +Build +===== + +First, configure Buildroot for the i.MX 93 EVK board: + + make freescale_imx93evk_defconfig + +Build all components: + + make + +You will find in output/images/ the following files: + - ahab-container.img + - bl31.bin + - boot.vfat + - ddr_fw.bin + - Image + - imx93-11x11-evk.dtb + - imx9-boot-sd.bin + - lpddr4_pmu_train_fw.bin + - rootfs.ext2 + - rootfs.ext4 + - rootfs.tar + - sdcard.img + - u-boot-atf-container.img + - u-boot.bin + - u-boot-hash.bin + - u-boot-spl.bin + - u-boot-spl-ddr.bin + - u-boot-spl-padded.bin + +Create a bootable SD card +========================= + +To determine the device associated to the SD card have a look in the +/proc/partitions file: + + cat /proc/partitions + +Buildroot prepares a bootable "sdcard.img" image in the output/images/ +directory, ready to be dumped on a SD card. Launch the following +command as root: + + dd if=output/images/sdcard.img of=/dev/ + +*** WARNING! This will destroy all the card content. Use with care! *** + +For details about the medium image layout, see the definition in +board/freescale/common/imx/genimage.cfg.template_imx9. + +Boot the i.MX 93 EVK board +=============================== + +To boot your newly created system (refer to the i.MX 8M Plus EVK Documentation +[1] for guidance): +- insert the SD card in the SD slot of the board; +- Configure the switches as follows (X = "don't care"): +SW1301: 0100 SW1301[1-4] +- put a micro USB cable into the Debug USB Port and connect using a terminal + emulator at 115200 bps, 8n1; +- power on the board. + +Enjoy! + +References +========== +[1] https://www.nxp.com/document/guide/getting-started-with-the-i-mx93-evk:GS-IMX93EVK diff --git a/configs/freescale_imx93evk_defconfig b/configs/freescale_imx93evk_defconfig new file mode 100644 index 000000000000..f0e4a95930c6 --- /dev/null +++ b/configs/freescale_imx93evk_defconfig @@ -0,0 +1,38 @@ +BR2_aarch64=y +BR2_cortex_a55=y +BR2_ARM_FPU_VFPV4D16=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y +BR2_DL_DIR="/home/sszy/development/buildroot-download" +BR2_TARGET_GENERIC_GETTY_PORT="ttyLP0" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx9-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.1.22-2.0.0)/linux-imx-lf-6.1.22-2.0.0.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx93-11x11-evk" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y +BR2_PACKAGE_FIRMWARE_IMX=y +BR2_PACKAGE_FIRMWARE_SENTINEL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-6.1.22-2.0.0)/imx-atf-lf-6.1.22-2.0.0.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx93" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.1.22-2.0.0)/uboot-imx-lf-6.1.22-2.0.0.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx93_11x11_evk" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_SPL=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y -- 2.41.0 From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:31 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:31 +0200 Subject: [Buildroot] [PATCH 3/4] package/freescale-imx/firmware-sentinel: new package In-Reply-To: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> Message-ID: <20231011110932.4425-4-sebastien.szymanski@armadeus.com> This package provides firmware blobs for the i.MX9 Edgelock secure enclave (ELE). Signed-off-by: S?bastien Szymanski --- package/freescale-imx/Config.in | 1 + .../freescale-imx/firmware-sentinel/Config.in | 34 +++++++++++++++++++ .../firmware-sentinel/firmware-sentinel.hash | 4 +++ .../firmware-sentinel/firmware-sentinel.mk | 27 +++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 package/freescale-imx/firmware-sentinel/Config.in create mode 100644 package/freescale-imx/firmware-sentinel/firmware-sentinel.hash create mode 100644 package/freescale-imx/firmware-sentinel/firmware-sentinel.mk diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in index 192b1c0d70d1..4d31bcc4f4cf 100644 --- a/package/freescale-imx/Config.in +++ b/package/freescale-imx/Config.in @@ -126,6 +126,7 @@ source "package/freescale-imx/imx-vpu/Config.in" source "package/freescale-imx/imx-vpu-hantro/Config.in" source "package/freescale-imx/imx-vpuwrap/Config.in" source "package/freescale-imx/firmware-imx/Config.in" +source "package/freescale-imx/firmware-sentinel/Config.in" source "package/freescale-imx/imx-sc-firmware/Config.in" source "package/freescale-imx/imx-seco/Config.in" source "package/freescale-imx/imx-vpu-hantro-daemon/Config.in" diff --git a/package/freescale-imx/firmware-sentinel/Config.in b/package/freescale-imx/firmware-sentinel/Config.in new file mode 100644 index 000000000000..9ceecd5a39dc --- /dev/null +++ b/package/freescale-imx/firmware-sentinel/Config.in @@ -0,0 +1,34 @@ +config BR2_PACKAGE_FIRMWARE_SENTINEL + bool "firmware-sentinel" + depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 + help + Firmware blobs for the i.MX9 Edgelock secure enclave (ELE). + + This library is provided by Freescale as-is and doesn't have + an upstream. + +if BR2_PACKAGE_FIRMWARE_SENTINEL + +choice + prompt "i.MX Sentinel Firmware Release" + help + Select the appropriate ahab container image to install + to match the iMX asics revision. + + Note - mismatches result in a failure to boot + +config BR2_PACKAGE_FIRMWARE_SENTINEL_A0 + bool "A0" + +config BR2_PACKAGE_FIRMWARE_SENTINEL_A1 + bool "A1" + +endchoice + +config BR2_PACKAGE_FIRMWARE_SENTINEL_AHAB_CONTAINER_IMAGE + string + default "mx93a0-ahab-container.img" if BR2_PACKAGE_FIRMWARE_SENTINEL_A0 + default "mx93a1-ahab-container.img" if BR2_PACKAGE_FIRMWARE_SENTINEL_A1 + +endif # BR2_PACKAGE_FIRMWARE_SENTINEL diff --git a/package/freescale-imx/firmware-sentinel/firmware-sentinel.hash b/package/freescale-imx/firmware-sentinel/firmware-sentinel.hash new file mode 100644 index 000000000000..1a9ff0543250 --- /dev/null +++ b/package/freescale-imx/firmware-sentinel/firmware-sentinel.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 269480417a8ae9aa4cc4101ab947287fc33455a931021dbdc4d9badb5212bceb firmware-sentinel-0.11.bin +sha256 de37a0bcbf1717b910c1a53ea6eab853c404e61e8143bb6c081d39f532571e54 COPYING +sha256 c800aaca3a7e9f470d99d7cde0a48c95982ed601d4c306f7b8f43f3710054f28 SCR.txt diff --git a/package/freescale-imx/firmware-sentinel/firmware-sentinel.mk b/package/freescale-imx/firmware-sentinel/firmware-sentinel.mk new file mode 100644 index 000000000000..f68467194cbc --- /dev/null +++ b/package/freescale-imx/firmware-sentinel/firmware-sentinel.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# firmware-sentinel +# +################################################################################ + +FIRMWARE_SENTINEL_VERSION = 0.11 +FIRMWARE_SENTINEL_SITE = $(FREESCALE_IMX_SITE) +FIRMWARE_SENTINEL_SOURCE = firmware-sentinel-$(FIRMWARE_SENTINEL_VERSION).bin + +FIRMWARE_SENTINEL_LICENSE = NXP Semiconductor Software License Agreement +FIRMWARE_SENTINEL_LICENSE_FILES = COPYING SCR.txt +FIRMWARE_SENTINEL_REDISTRIBUTE = NO + +FIRMWARE_SENTINEL_INSTALL_IMAGES = YES + +define FIRMWARE_SENTINEL_EXTRACT_CMDS + $(call NXP_EXTRACT_HELPER,$(FIRMWARE_SENTINEL_DL_DIR)/$(FIRMWARE_SENTINEL_SOURCE)) +endef + +FIRMWARE_SENTINEL_AHAB_CONTAINER_IMAGE = $(call qstrip,$(BR2_PACKAGE_FIRMWARE_SENTINEL_AHAB_CONTAINER_IMAGE)) + +define FIRMWARE_SENTINEL_INSTALL_IMAGES_CMDS + cp $(@D)/$(FIRMWARE_SENTINEL_AHAB_CONTAINER_IMAGE) $(BINARIES_DIR)/ahab-container.img +endef + +$(eval $(generic-package)) -- 2.41.0 From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:28 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:28 +0200 Subject: [Buildroot] [PATCH 0/4] i.MX91 and i.MX93 support Message-ID: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> This series adds i.MX91, i.MX93 and i.MX93 11x11 EVK to Buildroot. S?bastien Szymanski (4): package/imx-mkimage: bump version to lf-6.1.36-2.1.0 package/freescale-imx: add i.MX91 and i.MX93 SoC support package/freescale-imx/firmware-sentinel: new package configs/freescale_imx93evk: new defconfig .../common/imx/genimage.cfg.template_imx9 | 41 +++++++++++ .../common/imx/imx9-bootloader-prepare.sh | 34 +++++++++ board/freescale/common/imx/post-image.sh | 4 + board/freescale/imx93evk/readme.txt | 73 +++++++++++++++++++ configs/freescale_imx93evk_defconfig | 38 ++++++++++ package/freescale-imx/Config.in | 9 +++ package/freescale-imx/firmware-imx/Config.in | 9 +++ .../firmware-imx/firmware-imx.mk | 23 ++++++ .../freescale-imx/firmware-sentinel/Config.in | 34 +++++++++ .../firmware-sentinel/firmware-sentinel.hash | 4 + .../firmware-sentinel/firmware-sentinel.mk | 27 +++++++ ...overriding-BL32-and-BL33-not-only-BL.patch | 60 --------------- .../0002-Add-LDFLAGS-to-link-step.patch | 26 ------- ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 ---------------- package/imx-mkimage/imx-mkimage.hash | 2 +- package/imx-mkimage/imx-mkimage.mk | 7 +- 16 files changed, 301 insertions(+), 151 deletions(-) create mode 100644 board/freescale/common/imx/genimage.cfg.template_imx9 create mode 100755 board/freescale/common/imx/imx9-bootloader-prepare.sh create mode 100644 board/freescale/imx93evk/readme.txt create mode 100644 configs/freescale_imx93evk_defconfig create mode 100644 package/freescale-imx/firmware-sentinel/Config.in create mode 100644 package/freescale-imx/firmware-sentinel/firmware-sentinel.hash create mode 100644 package/freescale-imx/firmware-sentinel/firmware-sentinel.mk delete mode 100644 package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch delete mode 100644 package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch delete mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch -- 2.41.0 From Noreply at busybox.net Wed Oct 11 13:42:23 2023 From: Noreply at busybox.net (Noreply at busybox.net) Date: 11 Oct 2023 15:42:23 +0200 Subject: [Buildroot] E-mail Account Verification For buildroot@busybox.net !!! Message-ID: <20231011154223.B0E7CABB5F36C42F@busybox.net> An HTML attachment was scrubbed... URL: From nicolas.cavallari at green-communications.fr Wed Oct 11 13:43:54 2023 From: nicolas.cavallari at green-communications.fr (Nicolas Cavallari) Date: Wed, 11 Oct 2023 15:43:54 +0200 Subject: [Buildroot] [PATCH 4/4] configs/freescale_imx93evk: new defconfig In-Reply-To: <20231011110932.4425-5-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> <20231011110932.4425-5-sebastien.szymanski@armadeus.com> Message-ID: <5d1cff30-4bfe-4480-8eb9-b07114d110cb@green-communications.fr> Small nit: On 11/10/2023 13:09, S?bastien Szymanski wrote: > diff --git a/configs/freescale_imx93evk_defconfig > b/configs/freescale_imx93evk_defconfig new file mode 100644 index > 000000000000..f0e4a95930c6 --- /dev/null +++ > b/configs/freescale_imx93evk_defconfig @@ -0,0 +1,38 @@ +BR2_aarch64=y > [...] > +BR2_DL_DIR="/home/sszy/development/buildroot-download" You probably want to remove that line. From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:29 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:29 +0200 Subject: [Buildroot] [PATCH 1/4] package/imx-mkimage: bump version to lf-6.1.36-2.1.0 In-Reply-To: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> Message-ID: <20231011110932.4425-2-sebastien.szymanski@armadeus.com> Bump imx-mkimage to the latest version to gain i.MX9 support. Patch 0001 and 0004 are merged upstream: https://github.com/nxp-imx/imx-mkimage/commit/ff23c4fd84bb88d73b52a0ccad733522d2faa477 https://github.com/nxp-imx/imx-mkimage/commit/bce82912c8206edd0cc97af8c6b30240229fae7f Patch 0002 is no more needed, BUILD_LDFLAGS var is now available: https://github.com/nxp-imx/imx-mkimage/commit/8185a000a7c6af562e773da812c6c8d141815531 Signed-off-by: S?bastien Szymanski --- ...overriding-BL32-and-BL33-not-only-BL.patch | 60 ------------------ .../0002-Add-LDFLAGS-to-link-step.patch | 26 -------- ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 ------------------- package/imx-mkimage/imx-mkimage.hash | 2 +- package/imx-mkimage/imx-mkimage.mk | 7 ++- 5 files changed, 5 insertions(+), 151 deletions(-) delete mode 100644 package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch delete mode 100644 package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch delete mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch diff --git a/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch b/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch deleted file mode 100644 index 66891ac8e758..000000000000 --- a/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch +++ /dev/null @@ -1,60 +0,0 @@ -From a4993eda7483cd01662f3f3e2965e7a568cb7178 Mon Sep 17 00:00:00 2001 -From: Erik Larsson -Date: Thu, 8 Mar 2018 19:04:37 +0100 -Subject: [PATCH] Add support for overriding BL32 and BL33 not only BL31 - -Signed-off-by: Erik Larsson -Signed-off-by: Christopher Dahlberg -Signed-off-by: Marcus Folkesson ---- - iMX8M/mkimage_fit_atf.sh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/iMX8M/mkimage_fit_atf.sh b/iMX8M/mkimage_fit_atf.sh -index 4f2b3f3..0444ff0 100755 ---- a/iMX8M/mkimage_fit_atf.sh -+++ b/iMX8M/mkimage_fit_atf.sh -@@ -18,23 +18,23 @@ if [ ! -f $BL31 ]; then - echo "ERROR: BL31 file $BL31 NOT found" >&2 - exit 0 - else -- echo "bl31.bin size: " >&2 -- ls -lct bl31.bin | awk '{print $5}' >&2 -+ echo "$BL31 size: " >&2 -+ ls -lct $BL31 | awk '{print $5}' >&2 - fi - --BL32="tee.bin" -+[ -z "$BL32" ] && BL32="tee.bin" - LOADABLES="\"atf-1\"" - - if [ ! -f $BL32 ]; then - BL32=/dev/null - else - echo "Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete tee.bin" >&2 -- echo "tee.bin size: " >&2 -- ls -lct tee.bin | awk '{print $5}' >&2 -+ echo "$BL32 size: " >&2 -+ ls -lct $BL32 | awk '{print $5}' >&2 - LOADABLES="$LOADABLES, \"tee-1\"" - fi - --BL33="u-boot-nodtb.bin" -+[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" - DEK_BLOB="dek_blob_fit_dummy.bin" - - if [ ! -f $DEK_BLOB ]; then -@@ -49,8 +49,8 @@ if [ ! -f $BL33 ]; then - exit 0 - else - -- echo "u-boot-nodtb.bin size: " >&2 -- ls -lct u-boot-nodtb.bin | awk '{print $5}' >&2 -+ echo "$BL33 size: " >&2 -+ ls -lct $BL33 | awk '{print $5}' >&2 - fi - - for dtname in $* --- -2.31.1 - diff --git a/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch b/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch deleted file mode 100644 index 086e634d2318..000000000000 --- a/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b7ace564b419a05a375a205fd4df8933716b241a Mon Sep 17 00:00:00 2001 -From: Erik Larsson -Date: Tue, 6 Mar 2018 12:28:39 +0100 -Subject: [PATCH] Add LDFLAGS to link step - -Signed-off-by: Erik Larsson ---- - iMX8M/soc.mak | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak -index 4bfdc37..806b805 100644 ---- a/iMX8M/soc.mak -+++ b/iMX8M/soc.mak -@@ -84,7 +84,7 @@ FW_DIR = imx-boot/imx-boot-tools/$(PLAT) - $(MKIMG): mkimage_imx8.c - @echo "PLAT="$(PLAT) "HDMI="$(HDMI) - @echo "Compiling mkimage_imx8" -- $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) -lz -+ $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) $(LDFLAGS) -lz - - lpddr4_imem_1d = lpddr4_pmu_train_1d_imem$(LPDDR_FW_VERSION).bin - lpddr4_dmem_1d = lpddr4_pmu_train_1d_dmem$(LPDDR_FW_VERSION).bin --- -2.31.1 - diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch deleted file mode 100644 index 494aaf156659..000000000000 --- a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch +++ /dev/null @@ -1,61 +0,0 @@ -From b1e77d8ccabc6a3910ede2441ff567326291a355 Mon Sep 17 00:00:00 2001 -From: Thomas Perrot -Date: Tue, 26 Apr 2022 15:10:04 +0200 -Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 - -Signed-off-by: Thomas Perrot ---- - iMX8M/print_fit_hab.sh | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh -index b915115..dbc28f2 100755 ---- a/iMX8M/print_fit_hab.sh -+++ b/iMX8M/print_fit_hab.sh -@@ -1,12 +1,16 @@ - #!/bin/bash - --BL32="tee.bin" -- - let fit_off=$1 - - # keep backward compatibility - [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" - -+[ -z "$BL31" ] && BL31="bl31.bin" -+ -+[ -z "$BL32" ] && BL32="tee.bin" -+ -+[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" -+ - if [ -z "$ATF_LOAD_ADDR" ]; then - echo "ERROR: BL31 load address is not set" >&2 - exit 0 -@@ -26,7 +30,7 @@ else - let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) - fi - --let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') -+let uboot_size=$(ls -lct $BL33 | awk '{print $5}') - let uboot_load_addr=0x40200000 - - let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) -@@ -64,13 +68,13 @@ done - - let atf_sign_off=$((last_sign_off)) - let atf_load_addr=$ATF_LOAD_ADDR --let atf_size=$(ls -lct bl31.bin | awk '{print $5}') -+let atf_size=$(ls -lct $BL31 | awk '{print $5}') - - if [ ! -f $BL32 ]; then - let tee_size=0x0 - let tee_sign_off=$((atf_sign_off + atf_size)) - else -- let tee_size=$(ls -lct tee.bin | awk '{print $5}') -+ let tee_size=$(ls -lct $BL32 | awk '{print $5}') - - let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) - let tee_load_addr=$TEE_LOAD_ADDR --- -2.31.1 - diff --git a/package/imx-mkimage/imx-mkimage.hash b/package/imx-mkimage/imx-mkimage.hash index 8346fd64b1fb..070d2eee7c61 100644 --- a/package/imx-mkimage/imx-mkimage.hash +++ b/package/imx-mkimage/imx-mkimage.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 593bd94aac027844bc58c62aae55557c14e1f8a99e68ba235a46f083759df3d4 imx-mkimage-lf-5.10.72_2.2.0.tar.gz +sha256 fd538dc571ce06609d6a4d9ee8cfd7d0c93ec4685afa9f1079e5a5931ad3bdbc imx-mkimage-lf-6.1.36_2.1.0.tar.gz sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 54c948e0d308..d5598692663e 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -4,7 +4,7 @@ # ################################################################################ -IMX_MKIMAGE_VERSION = lf-5.10.72_2.2.0 +IMX_MKIMAGE_VERSION = lf-6.1.36_2.1.0 IMX_MKIMAGE_SITE = $(call github,nxp-imx,imx-mkimage,$(IMX_MKIMAGE_VERSION)) IMX_MKIMAGE_LICENSE = GPL-2.0+ IMX_MKIMAGE_LICENSE_FILES = COPYING @@ -15,7 +15,8 @@ ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M)$(BR2_PACKAGE_FREESCALE_IMX_PLA define HOST_IMX_MKIMAGE_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ CFLAGS="$(HOST_CFLAGS) -std=c99" \ - -C $(@D)/iMX8M -f soc.mak mkimage_imx8 + BUILD_LDFLAGS="$(HOST_LDFLAGS)" \ + -C $(@D)/iMX8M SOC_DIR=iMX8M -f soc.mak mkimage_imx8 endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 @@ -23,7 +24,7 @@ define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else -# i.MX8 and i.MX8X +# i.MX8, i.MX8X and i.MX9 define HOST_IMX_MKIMAGE_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ CFLAGS="$(HOST_CFLAGS) -std=c99" \ -- 2.41.0 From peter at korsgaard.com Wed Oct 11 15:11:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:11:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: bump version to 3.11.6 In-Reply-To: <20231002200451.3445210-1-bernd@kuhls.net> (Bernd Kuhls's message of "Mon, 2 Oct 2023 22:04:51 +0200") References: <20231002200451.3445210-1-bernd@kuhls.net> Message-ID: <87wmvtb3d4.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://www.python.org/downloads/release/python-3116/ > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 15:12:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/kodi-pvr-hts: bump version to 20.6.3-Nexus In-Reply-To: <20231003071742.300900-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 09:17:41 +0200") References: <20231003071742.300900-1-bernd@kuhls.net> Message-ID: <87sf6hb3c6.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 15:12:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:29 +0200 Subject: [Buildroot] [PATCH 2/2] package/kodi-pvr-waipu: bump version to 20.10.1-Nexus In-Reply-To: <20231003071742.300900-2-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 09:17:42 +0200") References: <20231003071742.300900-1-bernd@kuhls.net> <20231003071742.300900-2-bernd@kuhls.net> Message-ID: <87o7h5b3c2.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 15:12:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireless-regdb: bump version to 2023.09.01 In-Reply-To: <20231003122406.2678498-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 14:24:06 +0200") References: <20231003122406.2678498-1-bernd@kuhls.net> Message-ID: <87jzrtb3bc.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 15:10:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:10:44 +0200 Subject: [Buildroot] [git commit] package/python3: bump version to 3.11.6 Message-ID: <20231011151320.5B38C84550@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=337485b232dd452937fd2f96de0a596c968f4b47 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://www.python.org/downloads/release/python-3116/ Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/python3/python3.hash | 6 +++--- package/python3/python3.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 1a0fee3290..39a16c1f71 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3115/ -md5 393856f1b7713aa8bba4b642ab9985d3 Python-3.11.5.tar.xz +# From https://www.python.org/downloads/release/python-3116/ +md5 d0c5a1a31efe879723e51addf56dd206 Python-3.11.6.tar.xz # Locally computed -sha256 85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f Python-3.11.5.tar.xz +sha256 0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 Python-3.11.6.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cfe5e1ee6e..b9c5054a21 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.11 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).5 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).6 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others From peter at korsgaard.com Wed Oct 11 15:12:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:13 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-hts: bump version to 20.6.3-Nexus Message-ID: <20231011151320.67AE884551@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=36e56a81f13eea86c6b655efa378973619e66e74 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/kodi-pvr-hts/kodi-pvr-hts.hash | 2 +- package/kodi-pvr-hts/kodi-pvr-hts.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-hts/kodi-pvr-hts.hash b/package/kodi-pvr-hts/kodi-pvr-hts.hash index 7b55eb88fd..c9fe1cfe6a 100644 --- a/package/kodi-pvr-hts/kodi-pvr-hts.hash +++ b/package/kodi-pvr-hts/kodi-pvr-hts.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 e77bd87f1f4d1abc06e32d0347a0bb635bc129bec43a07864cb8a9e6b0e4d374 kodi-pvr-hts-20.6.2-Nexus.tar.gz +sha256 8febdacb795eb724456f88af5c55a6e0a5393447f673b2be72d1ca9276479cdd kodi-pvr-hts-20.6.3-Nexus.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-hts/kodi-pvr-hts.mk b/package/kodi-pvr-hts/kodi-pvr-hts.mk index d32ce87388..04de82dc64 100644 --- a/package/kodi-pvr-hts/kodi-pvr-hts.mk +++ b/package/kodi-pvr-hts/kodi-pvr-hts.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_HTS_VERSION = 20.6.2-Nexus +KODI_PVR_HTS_VERSION = 20.6.3-Nexus KODI_PVR_HTS_SITE = $(call github,kodi-pvr,pvr.hts,$(KODI_PVR_HTS_VERSION)) KODI_PVR_HTS_LICENSE = GPL-2.0+ KODI_PVR_HTS_LICENSE_FILES = LICENSE.md From peter at korsgaard.com Wed Oct 11 15:12:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:45 +0200 Subject: [Buildroot] [git commit] package/wireless-regdb: bump version to 2023.09.01 Message-ID: <20231011151320.7C06684506@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=29b6e170b7337c47444a8ef34529eabc2c59567f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/wireless-regdb/wireless-regdb.hash | 2 +- package/wireless-regdb/wireless-regdb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wireless-regdb/wireless-regdb.hash b/package/wireless-regdb/wireless-regdb.hash index b4e8dcaf54..71f92aaf91 100644 --- a/package/wireless-regdb/wireless-regdb.hash +++ b/package/wireless-regdb/wireless-regdb.hash @@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc -sha256 f254d08ab3765aeae2b856222e11a95d44aef519a6663877c71ef68fae4c8c12 wireless-regdb-2023.05.03.tar.xz +sha256 26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491 wireless-regdb-2023.09.01.tar.xz # Locally computed sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk index db9c7f42d5..e9003ce2e6 100644 --- a/package/wireless-regdb/wireless-regdb.mk +++ b/package/wireless-regdb/wireless-regdb.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRELESS_REGDB_VERSION = 2023.05.03 +WIRELESS_REGDB_VERSION = 2023.09.01 WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb WIRELESS_REGDB_LICENSE = ISC From peter at korsgaard.com Wed Oct 11 15:12:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:19 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-waipu: bump version to 20.10.1-Nexus Message-ID: <20231011151320.73E9C84552@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fd4666809389d6c205bfae303f94998bd05711c1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index d025beaa3b..37e4ca95e2 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 740f96e68c6c33cba18e482f90ff377e412f1bc2bb09313d342f783794da792f kodi-pvr-waipu-20.10.0-Nexus.tar.gz +sha256 8f55056838798c6dc39ce1cd611553b65150f6d628e9b3d201d472e93aecf289 kodi-pvr-waipu-20.10.1-Nexus.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 53e3f716d7..e7ec7d6555 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 20.10.0-Nexus +KODI_PVR_WAIPU_VERSION = 20.10.1-Nexus KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt From romain.naour at gmail.com Wed Oct 11 16:34:08 2023 From: romain.naour at gmail.com (Romain Naour) Date: Wed, 11 Oct 2023 18:34:08 +0200 Subject: [Buildroot] [PATCH] package/python3: really disable zlib Message-ID: <20231011163408.32325-1-romain.naour@gmail.com> The Bootlin toolchain 2023.08-1 provide (by mistake [1]) libz.so in its sysroot and break several python test in the gitlab-ci [2] since the python package detect zlib while the zlib package is not build. So there is no zlib library installed to the target rootfs. The issue [1] has been fixed in Buildroot [3] but the Bootlin toolchain needs to be rebuild with the fix to remove libz.so from the sysroot. With Bootlin toolchain 2023.08-1, zlib is detected by pkg-config and enable zlib support in binascii python module (-DUSE_ZLIB_CRC32) even if the zlib module is disabled. If binascii python module is used at runtime, it fail to load zlib: Failed to run: python sample_python_pyyaml_enc.py output was: Traceback (most recent call last): File "/root/sample_python_pyyaml_enc.py", line 1, in import yaml File "/usr/lib/python3.11/site-packages/yaml/__init__.py", line 8, in File "/usr/lib/python3.11/site-packages/yaml/loader.py", line 8, in File "/usr/lib/python3.11/site-packages/yaml/constructor.py", line 14, in File "/usr/lib/python3.11/base64.py", line 11, in ImportError: libz.so.1: cannot open shared object file: No such file or directory This is also a reproducible build issue since python doesn't provide the same features if zlib is buid before or after the python build. Fix this issue by disabling zlib support along with the zlib python module (--disable-zlib). Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302864 (TestPythonPy3Pyyaml) https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302828 (TestPythonPy3Mako) (and many other) [1] 3341ceb1e58536cf43a4c000e4bb3cdbff3f6de5 (package/gdb: zlib is mandatory, not optional) [2] https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302864 [3] 8ce33fed49aea319da556eab388211a705afe7d0 (package/gdb: gdbserver does not need zlib) Cc; Asaf Kahlon Cc: James Hilliard Cc: Thomas Petazzoni Cc: Yegor Yefremov Signed-off-by: Romain Naour --- runtime tested: TestPythonPy3Flask.test_run (with zlib & zlib python module enabled) TestPythonPy3Pyyaml (without zlib) --- ...032-configure.ac-really-disable-zlib.patch | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 package/python3/0032-configure.ac-really-disable-zlib.patch diff --git a/package/python3/0032-configure.ac-really-disable-zlib.patch b/package/python3/0032-configure.ac-really-disable-zlib.patch new file mode 100644 index 0000000000..6d9fb2c3f1 --- /dev/null +++ b/package/python3/0032-configure.ac-really-disable-zlib.patch @@ -0,0 +1,96 @@ +From 9b5a79f7b5bc5ccfa8f3909ee6d3a94b2efb617d Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Wed, 11 Oct 2023 15:33:54 +0200 +Subject: [PATCH] configure.ac: really disable zlib + +Commit "Add options to disable zlib, bzip2 and xz modules" allowed +to disable the python zlib module but the configure script still +check for zlib library using pkg-config even if --disable-zlib is +provided. + +If zlib is detected by pkg-config it enable zlib support in binascii +python module (-DUSE_ZLIB_CRC32) even if the zlib module is disabled. +This is also a reproducible build issue since python doesn't provide +the same features if zlib is buid before or after the python build. + +Fix this issue by disabling zlib support along with the zlib python +module (--disable-zlib). + +Upstream: Not applicable +(patching a BR patch 0025-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch) + +Signed-off-by: Romain Naour +--- + configure.ac | 45 ++++++++++++++++++++++++--------------------- + 1 file changed, 24 insertions(+), 21 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 3f5e7400c6..fa7cdfa0df 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -4288,7 +4288,8 @@ AC_ARG_ENABLE(zlib, + AS_HELP_STRING([--disable-zlib], [disable zlib]), + [ if test "$enableval" = "no"; then + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} zlib" +- fi]) ++ enable_zlib=${enableval} ++ fi], [enable_zlib=auto]) + + AC_ARG_ENABLE(xz, + AS_HELP_STRING([--disable-xz], [disable xz]), +@@ -4899,30 +4900,32 @@ if test "$ac_cv_have_lchflags" = yes ; then + AC_DEFINE(HAVE_LCHFLAGS, 1, [Define to 1 if you have the 'lchflags' function.]) + fi + +-dnl Check for compression libraries +-AH_TEMPLATE([HAVE_ZLIB_COPY], [Define if the zlib library has inflateCopy]) ++if test "x$enable_zlib" != xno; then ++ dnl Check for compression libraries ++ AH_TEMPLATE([HAVE_ZLIB_COPY], [Define if the zlib library has inflateCopy]) + +-dnl detect zlib from Emscripten emport +-PY_CHECK_EMSCRIPTEN_PORT([ZLIB], [-sUSE_ZLIB]) ++ dnl detect zlib from Emscripten emport ++ PY_CHECK_EMSCRIPTEN_PORT([ZLIB], [-sUSE_ZLIB]) + +-PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.0], [ +- have_zlib=yes +- dnl zlib 1.2.0 (2003) added inflateCopy +- AC_DEFINE([HAVE_ZLIB_COPY], [1]) +-], [ +- WITH_SAVE_ENV([ +- CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS" +- LDFLAGS="$LDFLAGS $ZLIB_LIBS" +- AC_CHECK_HEADERS([zlib.h], [ +- PY_CHECK_LIB([z], [gzread], [have_zlib=yes], [have_zlib=no]) +- ], [have_zlib=no]) +- AS_VAR_IF([have_zlib], [yes], [ +- ZLIB_CFLAGS=${ZLIB_CFLAGS-""} +- ZLIB_LIBS=${ZLIB_LIBS-"-lz"} +- PY_CHECK_LIB([z], [inflateCopy], [AC_DEFINE([HAVE_ZLIB_COPY], [1])]) ++ PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.0], [ ++ have_zlib=yes ++ dnl zlib 1.2.0 (2003) added inflateCopy ++ AC_DEFINE([HAVE_ZLIB_COPY], [1]) ++ ], [ ++ WITH_SAVE_ENV([ ++ CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS" ++ LDFLAGS="$LDFLAGS $ZLIB_LIBS" ++ AC_CHECK_HEADERS([zlib.h], [ ++ PY_CHECK_LIB([z], [gzread], [have_zlib=yes], [have_zlib=no]) ++ ], [have_zlib=no]) ++ AS_VAR_IF([have_zlib], [yes], [ ++ ZLIB_CFLAGS=${ZLIB_CFLAGS-""} ++ ZLIB_LIBS=${ZLIB_LIBS-"-lz"} ++ PY_CHECK_LIB([z], [inflateCopy], [AC_DEFINE([HAVE_ZLIB_COPY], [1])]) ++ ]) + ]) + ]) +-]) ++fi + + dnl binascii can use zlib for optimized crc32. + AS_VAR_IF([have_zlib], [yes], [ +-- +2.41.0 + -- 2.41.0 From dev at bybram.com Wed Oct 11 16:24:30 2023 From: dev at bybram.com (Bram Oosterhuis) Date: Wed, 11 Oct 2023 18:24:30 +0200 Subject: [Buildroot] [PATCH 2/2] package/rpi-firmware: bump version to a3b20e7 In-Reply-To: <20231011162430.3484150-1-dev@bybram.com> References: <20231011162430.3484150-1-dev@bybram.com> Message-ID: <20231011162430.3484150-2-dev@bybram.com> Version a3b20e7 will match the with kernel 6.1.55-v7 Signed-off-by: Bram Oosterhuis --- package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rpi-firmware/rpi-firmware.hash b/package/rpi-firmware/rpi-firmware.hash index ec13115f3b..25de5cfb83 100644 --- a/package/rpi-firmware/rpi-firmware.hash +++ b/package/rpi-firmware/rpi-firmware.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33aea2cb9c3be94c3dd6a96fbb3443eee5af1dc5fc9140e1fadc50832983064e rpi-firmware-3f20b832b27cd730deb6419b570f31a98167eef6.tar.gz +sha256 4c39f37f772a0bdcbd11aa882b9069eb09077f3f25d5811d817ca808a49a940a rpi-firmware-a3b20e7dd41aa174ae50b872c8c9c66beafd63e2.tar.gz sha256 c7283ff51f863d93a275c66e3b4cb08021a5dd4d8c1e7acc47d872fbe52d3d6b boot/LICENCE.broadcom diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk index 53d6d8ca06..429bbb036e 100644 --- a/package/rpi-firmware/rpi-firmware.mk +++ b/package/rpi-firmware/rpi-firmware.mk @@ -4,7 +4,7 @@ # ################################################################################ -RPI_FIRMWARE_VERSION = 3f20b832b27cd730deb6419b570f31a98167eef6 +RPI_FIRMWARE_VERSION = a3b20e7dd41aa174ae50b872c8c9c66beafd63e2 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) RPI_FIRMWARE_LICENSE = BSD-3-Clause RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom -- 2.34.1 From dev at bybram.com Wed Oct 11 16:24:29 2023 From: dev at bybram.com (Bram Oosterhuis) Date: Wed, 11 Oct 2023 18:24:29 +0200 Subject: [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55 Message-ID: <20231011162430.3484150-1-dev@bybram.com> Linux 6.1 has been marked LTS for a long time now. Time to bump Linux for RaspberryPi's to the latest 6.1.55-v7. Since April 2022 the RaspberryPi defconfigs have compressed kernel module enabled by default. (see [1] and [2]). To load compressed kernel modules kmod and xz packages are needed because busybox doesn't support it. [1] https://github.com/raspberrypi/linux/commit/c45b4223a4e4a8cfe39edbb4949329ea478fa4e2 [2] https://github.com/raspberrypi/linux/issues/4966 Signed-off-by: Bram Oosterhuis --- configs/raspberrypi0_defconfig | 13 ++++++++++--- configs/raspberrypi0w_defconfig | 13 ++++++++++--- configs/raspberrypi2_defconfig | 13 ++++++++++--- configs/raspberrypi3_64_defconfig | 13 ++++++++++--- configs/raspberrypi3_defconfig | 13 ++++++++++--- configs/raspberrypi3_qt5we_defconfig | 13 ++++++++++--- configs/raspberrypi4_64_defconfig | 13 ++++++++++--- configs/raspberrypi4_defconfig | 13 ++++++++++--- configs/raspberrypi_defconfig | 13 ++++++++++--- configs/raspberrypicm4io_64_defconfig | 13 ++++++++++--- configs/raspberrypicm4io_defconfig | 13 ++++++++++--- configs/raspberrypizero2w_defconfig | 13 ++++++++++--- 12 files changed, 120 insertions(+), 36 deletions(-) diff --git a/configs/raspberrypi0_defconfig b/configs/raspberrypi0_defconfig index 4506e94bce..4b4c3ff696 100644 --- a/configs/raspberrypi0_defconfig +++ b/configs/raspberrypi0_defconfig @@ -2,14 +2,14 @@ BR2_arm=y BR2_arm1176jzf_s=y BR2_ARM_EABIHF=y -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B from the kernel sources: the zero is the same @@ -37,3 +37,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi0w_defconfig b/configs/raspberrypi0w_defconfig index 7a35794c2d..aace7cf70a 100644 --- a/configs/raspberrypi0w_defconfig +++ b/configs/raspberrypi0w_defconfig @@ -2,14 +2,14 @@ BR2_arm=y BR2_arm1176jzf_s=y BR2_ARM_EABIHF=y -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w" @@ -32,3 +32,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0w/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0w/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig index 9b484c5588..d679510f66 100644 --- a/configs/raspberrypi2_defconfig +++ b/configs/raspberrypi2_defconfig @@ -7,12 +7,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources @@ -39,3 +39,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi2/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi2/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig index 4d838ae0e8..5577442872 100644 --- a/configs/raspberrypi3_64_defconfig +++ b/configs/raspberrypi3_64_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" # Build the DTB from the kernel sources @@ -37,3 +37,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3-64/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig index 0a59ab42a9..b6db81f027 100644 --- a/configs/raspberrypi3_defconfig +++ b/configs/raspberrypi3_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources @@ -37,3 +37,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi3_qt5we_defconfig b/configs/raspberrypi3_qt5we_defconfig index 40d0c0f888..3767b7d4bc 100644 --- a/configs/raspberrypi3_qt5we_defconfig +++ b/configs/raspberrypi3_qt5we_defconfig @@ -7,12 +7,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources @@ -51,3 +51,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="400M" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi4_64_defconfig b/configs/raspberrypi4_64_defconfig index 5942f7c4e1..55d6f3a7fa 100644 --- a/configs/raspberrypi4_64_defconfig +++ b/configs/raspberrypi4_64_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources @@ -36,3 +36,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4-64/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4-64/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi4_defconfig b/configs/raspberrypi4_defconfig index 4e5580c140..54176fde19 100644 --- a/configs/raspberrypi4_defconfig +++ b/configs/raspberrypi4_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources @@ -36,3 +36,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig index cca53f9b37..064037dfb0 100644 --- a/configs/raspberrypi_defconfig +++ b/configs/raspberrypi_defconfig @@ -4,14 +4,14 @@ BR2_ARM_EABIHF=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B, A+/B+ and compute module from the kernel sources @@ -38,3 +38,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypicm4io_64_defconfig b/configs/raspberrypicm4io_64_defconfig index 29cb0472d7..23114da28a 100644 --- a/configs/raspberrypicm4io_64_defconfig +++ b/configs/raspberrypicm4io_64_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources @@ -39,3 +39,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io-64/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io-64/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypicm4io_defconfig b/configs/raspberrypicm4io_defconfig index 017aecc0dd..c50704a227 100644 --- a/configs/raspberrypicm4io_defconfig +++ b/configs/raspberrypicm4io_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources @@ -39,3 +39,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypizero2w_defconfig b/configs/raspberrypizero2w_defconfig index 2ea503ca24..8f9d598cbf 100644 --- a/configs/raspberrypizero2w_defconfig +++ b/configs/raspberrypizero2w_defconfig @@ -2,14 +2,14 @@ BR2_arm=y BR2_cortex_a53=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6.1=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources @@ -34,3 +34,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypizero2w/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypizero2w/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file -- 2.34.1 From bernd at kuhls.net Wed Oct 11 17:23:56 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:23:56 +0200 Subject: [Buildroot] [PATCH] package/python3: really disable zlib References: <20231011163408.32325-1-romain.naour__9329.73186006478$1697042081$gmane$org@gmail.com> Message-ID: Am Wed, 11 Oct 2023 18:34:08 +0200 schrieb Romain Naour: > +Upstream: Not applicable +(patching a BR patch > 0025-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch) Hi Romain, did you test whether this patch also fixes the problem? https://patchwork.ozlabs.org/project/buildroot/patch/ 20230809211401.3587177-4-bernd at kuhls.net/ Regards, Bernd From bernd at kuhls.net Wed Oct 11 17:46:20 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:46:20 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231011174620.52181-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index a6b4967a8c..3aef7142c2 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.6" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.7" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index dfcc87802b..92ea8cdb88 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 78e36d4214547051c24df2140f4ce09428d6c515ad9a71b38b28e8094a95d2f6 linux-6.5.6.tar.xz -sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz +sha256 0d09ea448005c9cfe5383e4c72a872b39188b928f8c44e146b03b1b7851fbb8c linux-6.5.7.tar.xz +sha256 f9ebfe3ddc5152d87b37e33be30e31875d137433be10a57ce29d2eae7b6e91b1 linux-6.1.57.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz -sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz -sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz +sha256 14835e629e237f136cfed484fdb533c95242429809bdcdb2a2d66dfcb7447170 linux-5.15.135.tar.xz +sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz +sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 b732c2e4f08576a9dd5bb14213cead3835acbb101a91aaba3d6ace302fd538ac linux-4.19.295.tar.xz -sha256 555ce40f1df4c0f4a74cbefcaad0c67108615860968720faabe51cdee2df1478 linux-4.14.326.tar.xz +sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz +sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index e2e2655964..a93458c399 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -404,13 +404,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.326" if BR2_KERNEL_HEADERS_4_14 - default "4.19.295" if BR2_KERNEL_HEADERS_4_19 - default "5.4.257" if BR2_KERNEL_HEADERS_5_4 - default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.134" if BR2_KERNEL_HEADERS_5_15 - default "6.1.56" if BR2_KERNEL_HEADERS_6_1 - default "6.5.6" if BR2_KERNEL_HEADERS_6_5 + default "4.14.327" if BR2_KERNEL_HEADERS_4_14 + default "4.19.296" if BR2_KERNEL_HEADERS_4_19 + default "5.4.258" if BR2_KERNEL_HEADERS_5_4 + default "5.10.198" if BR2_KERNEL_HEADERS_5_10 + default "5.15.135" if BR2_KERNEL_HEADERS_5_15 + default "6.1.57" if BR2_KERNEL_HEADERS_6_1 + default "6.5.7" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ -- 2.39.2 From bernd at kuhls.net Wed Oct 11 17:50:20 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:50:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: bump version to 0.3.81 Message-ID: <20231011175020.55779-1-bernd@kuhls.net> Release notes: https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/NEWS Signed-off-by: Bernd Kuhls --- package/pipewire/pipewire.hash | 2 +- package/pipewire/pipewire.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash index 2f04931284..3370d86641 100644 --- a/package/pipewire/pipewire.hash +++ b/package/pipewire/pipewire.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 cf4b770fe4e2379527f63e01b52b50a37d529608f766ecb40fe57da4c087a507 pipewire-0.3.80.tar.bz2 +sha256 2b6e0c4d2e544f5030fa7f4ecf1edd9e5eed15dda1c97135e8a1fded9f3425fe pipewire-0.3.81.tar.bz2 sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index f0b37a0e43..628c69ff8a 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -4,7 +4,7 @@ # ################################################################################ -PIPEWIRE_VERSION = 0.3.80 +PIPEWIRE_VERSION = 0.3.81 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) -- 2.39.2 From bernd at kuhls.net Wed Oct 11 17:54:59 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:54:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/cmake: bump version to 3.27.7 Message-ID: <20231011175459.72943-1-bernd@kuhls.net> Changelog: https://cmake.org/cmake/help/v3.27/release/3.27.html#updates Signed-off-by: Bernd Kuhls --- package/cmake/cmake.hash | 4 ++-- package/cmake/cmake.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash index 8b1ae5b4a6..e495061bae 100644 --- a/package/cmake/cmake.hash +++ b/package/cmake/cmake.hash @@ -1,5 +1,5 @@ -# From https://cmake.org/files/v3.27/cmake-3.27.6-SHA-256.txt -sha256 ef3056df528569e0e8956f6cf38806879347ac6de6a4ff7e4105dc4578732cfb cmake-3.27.6.tar.gz +# From https://cmake.org/files/v3.27/cmake-3.27.7-SHA-256.txt +sha256 08f71a106036bf051f692760ef9558c0577c42ac39e96ba097e7662bd4158d8e cmake-3.27.7.tar.gz # Locally calculated sha256 4a01ccf2dc580ba570d02bc015bbe0ec92f1f318717aae9540ba841ba7946756 Copyright.txt diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk index 3bb2c4bffb..41278bf6db 100644 --- a/package/cmake/cmake.mk +++ b/package/cmake/cmake.mk @@ -6,7 +6,7 @@ # When updating the version, please also update BR2_HOST_CMAKE_AT_LEAST_X_Y CMAKE_VERSION_MAJOR = 3.27 -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6 +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).7 CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR) CMAKE_LICENSE = BSD-3-Clause CMAKE_LICENSE_FILES = Copyright.txt -- 2.39.2 From bernd at kuhls.net Wed Oct 11 17:59:26 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:59:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/gettext-gnu: bump version to 0.22.3 Message-ID: <20231011175926.74349-1-bernd@kuhls.net> Release notes: https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob;f=NEWS;h=9ed51966572af1c65074fcfbd18db24f1321c55d;hb=c9af3e4eeccc178a0833754e3d8c7083591e75ba Signed-off-by: Bernd Kuhls --- package/gettext-gnu/gettext-gnu.hash | 2 +- package/gettext-gnu/gettext-gnu.mk | 2 +- package/gettext-tiny/gettext-tiny.hash | 2 +- package/gettext-tiny/gettext-tiny.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/gettext-gnu/gettext-gnu.hash b/package/gettext-gnu/gettext-gnu.hash index 878253bea4..f307b4a9fd 100644 --- a/package/gettext-gnu/gettext-gnu.hash +++ b/package/gettext-gnu/gettext-gnu.hash @@ -1,5 +1,5 @@ # Please keep in sync with package/gettext-tiny/gettext-tiny.hash # Locally calculated -sha256 4c82fbfe5e53d71a97c634aa98a898b9da807b08b27410f6a4641e8bb44dc4b2 gettext-0.22.2.tar.xz +sha256 b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6 gettext-0.22.3.tar.xz sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b COPYING sha256 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288 gettext-runtime/intl/COPYING.LIB diff --git a/package/gettext-gnu/gettext-gnu.mk b/package/gettext-gnu/gettext-gnu.mk index 06ada568b1..35b79d1926 100644 --- a/package/gettext-gnu/gettext-gnu.mk +++ b/package/gettext-gnu/gettext-gnu.mk @@ -6,7 +6,7 @@ # Please keep in sync with GETTEXT_TINY_ARCHIVE_VERSION in # gettext-tiny/gettext-tiny.mk -GETTEXT_GNU_VERSION = 0.22.2 +GETTEXT_GNU_VERSION = 0.22.3 GETTEXT_GNU_SITE = $(BR2_GNU_MIRROR)/gettext GETTEXT_GNU_SOURCE = gettext-$(GETTEXT_GNU_VERSION).tar.xz GETTEXT_GNU_INSTALL_STAGING = YES diff --git a/package/gettext-tiny/gettext-tiny.hash b/package/gettext-tiny/gettext-tiny.hash index 02d9a803da..a72b0c35e4 100644 --- a/package/gettext-tiny/gettext-tiny.hash +++ b/package/gettext-tiny/gettext-tiny.hash @@ -3,4 +3,4 @@ sha256 29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383 gettex sha256 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f LICENSE sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b extra/COPYING # Locally Computed: -sha256 4c82fbfe5e53d71a97c634aa98a898b9da807b08b27410f6a4641e8bb44dc4b2 gettext-0.22.2.tar.xz +sha256 b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6 gettext-0.22.3.tar.xz diff --git a/package/gettext-tiny/gettext-tiny.mk b/package/gettext-tiny/gettext-tiny.mk index 0aef4b0058..e4a3625c5a 100644 --- a/package/gettext-tiny/gettext-tiny.mk +++ b/package/gettext-tiny/gettext-tiny.mk @@ -15,7 +15,7 @@ GETTEXT_TINY_PROVIDES = gettext # needed for gettextize # Please keep in sync with package/gettext-gnu/gettext-gnu.mk -GETTEXT_TINY_ARCHIVE_VERSION = 0.22.2 +GETTEXT_TINY_ARCHIVE_VERSION = 0.22.3 GETTEXT_TINY_EXTRA_GETTEXT_FILES = \ gettext-tools/misc/gettextize.in \ -- 2.39.2 From bernd at kuhls.net Wed Oct 11 18:01:40 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 20:01:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/dav1d: bump version to 1.3.0 Message-ID: <20231011180140.74551-1-bernd@kuhls.net> Release notes: https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS Signed-off-by: Bernd Kuhls --- package/dav1d/dav1d.hash | 4 ++-- package/dav1d/dav1d.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/dav1d/dav1d.hash b/package/dav1d/dav1d.hash index 68757060bf..0b2c53ec21 100644 --- a/package/dav1d/dav1d.hash +++ b/package/dav1d/dav1d.hash @@ -1,4 +1,4 @@ -# From https://download.videolan.org/pub/videolan/dav1d/1.2.1/dav1d-1.2.1.tar.xz.sha256 -sha256 4e33eb61ec54c768a16da0cf8fa0928b4c4593f5f804a3c887d4a21c318340b2 dav1d-1.2.1.tar.xz +# From https://download.videolan.org/pub/videolan/dav1d/1.3.0/dav1d-1.3.0.tar.xz.sha256 +sha256 6d8be2741c505c47f8f1ced3c9cc427759243436553d01d1acce201f87b39e71 dav1d-1.3.0.tar.xz # Locally computed sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING diff --git a/package/dav1d/dav1d.mk b/package/dav1d/dav1d.mk index e90f53dc1a..3650f28730 100644 --- a/package/dav1d/dav1d.mk +++ b/package/dav1d/dav1d.mk @@ -4,7 +4,7 @@ # ################################################################################ -DAV1D_VERSION = 1.2.1 +DAV1D_VERSION = 1.3.0 DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz DAV1D_SITE = https://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION) DAV1D_LICENSE = BSD-2-Clause -- 2.39.2 From christian at aperture.us Wed Oct 11 20:02:22 2023 From: christian at aperture.us (Christian Stewart) Date: Wed, 11 Oct 2023 13:02:22 -0700 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.3 In-Reply-To: <20231011114736.311388-1-peter@korsgaard.com> References: <20231011114736.311388-1-peter@korsgaard.com> Message-ID: Hi Peter, On Wed, Oct 11, 2023 at 4:47?AM Peter Korsgaard wrote: > > Fixes CVE-2023-39325: rapid stream resets can cause excessive work > > A malicious HTTP/2 client which rapidly creates requests and immediately > resets them can cause excessive server resource consumption. While the > total number of requests is bounded to the http2.Server.MaxConcurrentStreams > setting, resetting an in-progress request allows the attacker to create a > new request while the existing one is still executing. > > go1.21.3 (released 2023-10-10) includes a security fix to the net/http > package. > > Signed-off-by: Peter Korsgaard > --- > package/go/go.hash | 2 +- > package/go/go.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/go/go.hash b/package/go/go.hash > index a2ec6b5923..9499f50964 100644 > --- a/package/go/go.hash > +++ b/package/go/go.hash > @@ -1,3 +1,3 @@ > # From https://go.dev/dl > -sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz > +sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21.3.src.tar.gz > sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE > diff --git a/package/go/go.mk b/package/go/go.mk > index 2c32e90817..ef27f32835 100644 > --- a/package/go/go.mk > +++ b/package/go/go.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GO_VERSION = 1.21.2 > +GO_VERSION = 1.21.3 > GO_SITE = https://storage.googleapis.com/golang > GO_SOURCE = go$(GO_VERSION).src.tar.gz Reviewed-by: Christian Stewart Thanks. From alistair23 at gmail.com Thu Oct 12 00:32:28 2023 From: alistair23 at gmail.com (Alistair Francis) Date: Thu, 12 Oct 2023 10:32:28 +1000 Subject: [Buildroot] [PATCH] package/libspdm: bump version to 3.1.0 Message-ID: <20231012003228.2046171-1-alistair.francis@wdc.com> Signed-off-by: Alistair Francis --- ...-x509-Remove-internal-OpenSSL-crypto.patch | 44 ---------- ...lib_openssl-ecd-Allow-disabling-code.patch | 56 ------------- ...-ec-Remove-internal-OpenSSL-crypto-i.patch | 82 ------------------- ...llow-disabling-EDDSA-support-from-co.patch | 31 ------- package/libspdm/libspdm.hash | 2 +- package/libspdm/libspdm.mk | 2 +- 6 files changed, 2 insertions(+), 215 deletions(-) delete mode 100644 package/libspdm/0001-cryptlib_openssl-x509-Remove-internal-OpenSSL-crypto.patch delete mode 100644 package/libspdm/0002-cryptlib_openssl-ecd-Allow-disabling-code.patch delete mode 100644 package/libspdm/0003-cryptlib_openssl-ec-Remove-internal-OpenSSL-crypto-i.patch delete mode 100644 package/libspdm/0004-CMakeLists.txt-Allow-disabling-EDDSA-support-from-co.patch diff --git a/package/libspdm/0001-cryptlib_openssl-x509-Remove-internal-OpenSSL-crypto.patch b/package/libspdm/0001-cryptlib_openssl-x509-Remove-internal-OpenSSL-crypto.patch deleted file mode 100644 index d5d233b7ab..0000000000 --- a/package/libspdm/0001-cryptlib_openssl-x509-Remove-internal-OpenSSL-crypto.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 7db883cdb3369cfaf9f0890b0eda503f47a5ffa3 Mon Sep 17 00:00:00 2001 -From: Alistair Francis -Date: Fri, 11 Aug 2023 16:26:53 -0400 -Subject: [PATCH] cryptlib_openssl: x509: Remove internal OpenSSL crypto - include - -The OpenSSL source code describes the crypto include as: -"Internal EC functions for other submodules: not for application use" - - https://github.com/openssl/openssl/blob/master/include/crypto/ec.h - -Using the internal APIS makes it difficult to use libspdm as a library -with other packages. So let's remove the uses of the internal API and -instead use the public API. - -Signed-off-by: Alistair Francis -Upstream: https://github.com/DMTF/libspdm/commit/7db883cdb3369cfaf9f0890b0eda503f47a5ffa3 ---- - os_stub/cryptlib_openssl/pk/x509.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/os_stub/cryptlib_openssl/pk/x509.c b/os_stub/cryptlib_openssl/pk/x509.c -index c067f3d0ca..1a2736132b 100644 ---- a/os_stub/cryptlib_openssl/pk/x509.c -+++ b/os_stub/cryptlib_openssl/pk/x509.c -@@ -17,7 +17,6 @@ - #include - #include - #include --#include - - #if LIBSPDM_CERT_PARSE_SUPPORT - -@@ -2318,7 +2317,7 @@ bool libspdm_set_attribute_for_req(X509_REQ *req, uint8_t *req_info, size_t req_ - /*get subject name from req_info and set it to CSR*/ - x509_req_info = d2i_X509_REQ_INFO(NULL, (const unsigned char **)(&req_info), req_info_len); - if (x509_req_info) { -- X509_REQ_set_subject_name(req, x509_req_info->subject); -+ X509_REQ_set_subject_name(req, X509_REQ_get_subject_name((X509_REQ *)x509_req_info)); - X509_REQ_INFO_free(x509_req_info); - } else { - return false; --- -2.40.1 - diff --git a/package/libspdm/0002-cryptlib_openssl-ecd-Allow-disabling-code.patch b/package/libspdm/0002-cryptlib_openssl-ecd-Allow-disabling-code.patch deleted file mode 100644 index 0ab347b3e0..0000000000 --- a/package/libspdm/0002-cryptlib_openssl-ecd-Allow-disabling-code.patch +++ /dev/null @@ -1,56 +0,0 @@ -From e87687d72688e980b929920b7d77dca26fff169e Mon Sep 17 00:00:00 2001 -From: Alistair Francis -Date: Mon, 21 Aug 2023 14:00:46 -0400 -Subject: [PATCH] cryptlib_openssl: ecd: Allow disabling code - -The OpenSSL source code describes the crypto include as: -"Internal EC functions for other submodules: not for application use" - - https://github.com/openssl/openssl/blob/master/include/crypto/ec.h - -Using the internal APIS makes it difficult to use libspdm as a library -with other packages. So let's remove the uses of the internal API and -instead use the public API. - -The current ECD code uses internal APIs, making it unsuitable for use in -production code or libraries. - -The supported way to do this is via OSSL params, either with -EVP_PKEY_fromdata() [1] or using EVP_PKEY_set_octet_string_param(). - -Unfortunately this isn't supported in OpenSSL and ed25519_set_params() -and ed448_set_params() will always return 1, indicating no support. - -As there doesn't appear to be a supported method in OpenSSL to set the -public and private keys, let's instead allow users to disable this -support so the library can be used with the regular OpenSSL libraries. - -https://www.openssl.org/docs/man3.0/man3/EVP_PKEY_fromdata.html - -Signed-off-by: Alistair Francis -Upstream: https://github.com/DMTF/libspdm/commit/e87687d72688e980b929920b7d77dca26fff169e ---- - os_stub/cryptlib_openssl/pk/ecd.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/os_stub/cryptlib_openssl/pk/ecd.c b/os_stub/cryptlib_openssl/pk/ecd.c -index d7cc156d86..23dbd0390b 100644 ---- a/os_stub/cryptlib_openssl/pk/ecd.c -+++ b/os_stub/cryptlib_openssl/pk/ecd.c -@@ -12,6 +12,9 @@ - **/ - - #include "internal_crypt_lib.h" -+ -+#if (LIBSPDM_EDDSA_ED25519_SUPPORT) || (LIBSPDM_EDDSA_ED448_SUPPORT) -+ - #include - #include - -@@ -471,3 +474,4 @@ bool libspdm_eddsa_verify(const void *ecd_context, size_t hash_nid, - EVP_MD_CTX_free(ctx); - return true; - } -+#endif /* (LIBSPDM_EDDSA_ED25519_SUPPORT) || (LIBSPDM_EDDSA_ED448_SUPPORT) */ --- -2.40.1 - diff --git a/package/libspdm/0003-cryptlib_openssl-ec-Remove-internal-OpenSSL-crypto-i.patch b/package/libspdm/0003-cryptlib_openssl-ec-Remove-internal-OpenSSL-crypto-i.patch deleted file mode 100644 index aacda14789..0000000000 --- a/package/libspdm/0003-cryptlib_openssl-ec-Remove-internal-OpenSSL-crypto-i.patch +++ /dev/null @@ -1,82 +0,0 @@ -From 567b1c8ea731fe42650d43ede50a105b772dc7aa Mon Sep 17 00:00:00 2001 -From: Alistair Francis -Date: Fri, 11 Aug 2023 16:24:23 -0400 -Subject: [PATCH] cryptlib_openssl: ec: Remove internal OpenSSL crypto include - -The OpenSSL source code describes the crypto include as: -"Internal EC functions for other submodules: not for application use" - - https://github.com/openssl/openssl/blob/master/include/crypto/ec.h - -Using the internal APIS makes it difficult to use libspdm as a library -with other packages. So let's remove the uses of the internal API and -instead use the public API. - -Signed-off-by: Alistair Francis -Upstream: https://github.com/DMTF/libspdm/commit/567b1c8ea731fe42650d43ede50a105b772dc7aa ---- - os_stub/cryptlib_openssl/pk/ec.c | 26 ++++++++++++++++++++++---- - 1 file changed, 22 insertions(+), 4 deletions(-) - -diff --git a/os_stub/cryptlib_openssl/pk/ec.c b/os_stub/cryptlib_openssl/pk/ec.c -index 7dd9a8b0f8..09df0b9a25 100644 ---- a/os_stub/cryptlib_openssl/pk/ec.c -+++ b/os_stub/cryptlib_openssl/pk/ec.c -@@ -15,7 +15,6 @@ - #include - #include - #include --#include - - /** - * Allocates and Initializes one Elliptic Curve context for subsequent use -@@ -854,7 +853,7 @@ static int libspdm_ecdsa_sign_setup_random(EC_KEY *eckey, BIGNUM **kinvp, BIGNUM - uint8_t* random, size_t random_len) - { - BN_CTX *ctx = NULL; -- BIGNUM *k = NULL, *r = NULL, *X = NULL; -+ BIGNUM *k = NULL, *r = NULL, *X = NULL, *e = NULL; - const BIGNUM *order; - EC_POINT *tmp_point = NULL; - const EC_GROUP *group; -@@ -901,6 +900,11 @@ static int libspdm_ecdsa_sign_setup_random(EC_KEY *eckey, BIGNUM **kinvp, BIGNUM - goto err; - } - -+ e = BN_CTX_get(ctx); -+ if (e == NULL) { -+ return 0; -+ } -+ - /*random number*/ - k = BN_bin2bn(random, random_len, NULL); - -@@ -915,10 +919,24 @@ static int libspdm_ecdsa_sign_setup_random(EC_KEY *eckey, BIGNUM **kinvp, BIGNUM - goto err; - } - -- /* compute the inverse of k */ -- if (!ossl_ec_group_do_inverse_ord(group, k, k, ctx)) { -+ /* -+ * compute the inverse of k -+ * Based on ossl_ec_group_do_inverse_ord() from OpenSSL -+ */ -+ BN_CTX_start(ctx); -+ if (!BN_set_word(e, 2)) { -+ BN_CTX_end(ctx); -+ goto err; -+ } -+ if (!BN_sub(e, order, e)) { -+ BN_CTX_end(ctx); -+ goto err; -+ } -+ if (!BN_mod_exp_mont(k, k, e, order, ctx, EC_GROUP_get_mont_data(group))) { -+ BN_CTX_end(ctx); - goto err; - } -+ BN_CTX_end(ctx); - - /* clear old values if necessary */ - BN_clear_free(*rp); --- -2.40.1 - diff --git a/package/libspdm/0004-CMakeLists.txt-Allow-disabling-EDDSA-support-from-co.patch b/package/libspdm/0004-CMakeLists.txt-Allow-disabling-EDDSA-support-from-co.patch deleted file mode 100644 index fe616490f7..0000000000 --- a/package/libspdm/0004-CMakeLists.txt-Allow-disabling-EDDSA-support-from-co.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 97611ce8279341205463ace6a5f2ff93c52fc417 Mon Sep 17 00:00:00 2001 -From: Alistair Francis -Date: Wed, 30 Aug 2023 13:37:07 +1000 -Subject: [PATCH] CMakeLists.txt: Allow disabling EDDSA support from command - line - -Signed-off-by: Alistair Francis -Upstream: https://github.com/DMTF/libspdm/pull/2330 ---- - CMakeLists.txt | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8a18c467a5..47b93f8bb7 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -155,6 +155,11 @@ else() - MESSAGE(FATAL_ERROR "Unknown CRYPTO") - endif() - -+if(DISABLE_EDDSA STREQUAL "1") -+ add_definitions(-DLIBSPDM_EDDSA_ED25519_SUPPORT=0) -+ add_definitions(-DLIBSPDM_EDDSA_ED448_SUPPORT=0) -+endif() -+ - if(ENABLE_BINARY_BUILD STREQUAL "1") - if(NOT CRYPTO STREQUAL "openssl") - MESSAGE(FATAL_ERROR "enabling binary build not supported for non-openssl") --- -2.40.1 - diff --git a/package/libspdm/libspdm.hash b/package/libspdm/libspdm.hash index 5095d3c3b8..3280ebfb88 100644 --- a/package/libspdm/libspdm.hash +++ b/package/libspdm/libspdm.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3a40daa59f32843062c3d2699acee09bd0ee217eb8ebf0378ae12b60b6db0636 libspdm-3.0.0.tar.gz +sha256 73e0d7df3c91beeb9f61a50eaa0a44c8e32b7a62ce32ed3cab1f0fab406ed5b8 libspdm-3.1.0.tar.gz sha256 7dc072bff163df39209bbb63e0916f4667c2a84cf3c36ccc84ec7425bc3e4779 LICENSE.md diff --git a/package/libspdm/libspdm.mk b/package/libspdm/libspdm.mk index cbcbed29de..b216d98093 100644 --- a/package/libspdm/libspdm.mk +++ b/package/libspdm/libspdm.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSPDM_VERSION = 3.0.0 +LIBSPDM_VERSION = 3.1.0 LIBSPDM_SITE = $(call github,DMTF,libspdm,$(LIBSPDM_VERSION)) LIBSPDM_LICENSE = BSD-3-Clause LIBSPDM_LICENSE_FILES = LICENSE.md -- 2.40.1 From nolange79 at gmail.com Thu Oct 12 07:53:12 2023 From: nolange79 at gmail.com (Norbert Lange) Date: Thu, 12 Oct 2023 09:53:12 +0200 Subject: [Buildroot] [PATCH 3/7] package/skeleton-init-systemd: force permissions for buildroot runtime dirs In-Reply-To: <42d44a84-66e8-65f5-8e06-92f95b381291@mind.be> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-4-nolange79@gmail.com> <42d44a84-66e8-65f5-8e06-92f95b381291@mind.be> Message-ID: Am Di., 10. Okt. 2023 um 21:32 Uhr schrieb Arnout Vandecappelle : > > Hi Norbert, > > Obviously, this doesn't apply any more because I committed a different tree. > However... > > On 15/01/2023 13:52, Norbert Lange wrote: > > A previous commit introduced /run/.br and /tmp/.br and a few > > subdirectories. > > Add a tmpfile to ensure the existance, ownership and permissions. > > > > Signed-off-by: Norbert Lange > > --- > > package/skeleton-init-systemd/00-buildroot.conf | 7 +++++++ > > package/skeleton-init-systemd/skeleton-init-systemd.mk | 1 + > > 2 files changed, 8 insertions(+) > > create mode 100644 package/skeleton-init-systemd/00-buildroot.conf > > > > diff --git a/package/skeleton-init-systemd/00-buildroot.conf b/package/skeleton-init-systemd/00-buildroot.conf > > new file mode 100644 > > index 0000000000..a4c7bf0576 > > --- /dev/null > > +++ b/package/skeleton-init-systemd/00-buildroot.conf > > @@ -0,0 +1,7 @@ > > +# Create buildroot API directories and fix permissions > > + > > +d /run/.br 0755 root root - > > +d /tmp/.br 0755 root root - > > I don't think this tmp directory is used anywhere? Not yet, these would reserve the paths. One usage would be to use /tmp/.br as base for overlay "upper" dirs, reusing the /tmp filesystem instead of mounting an extra tmpfs. Using /run for anything else but small files is a bad idea, as I mentioned in response to the commit "package/skeleton-init-systemd: add option to use overlayfs on /var". > > > +z /run/.br/bnd 0700 root root - > > +z /run/.br/ovl 0700 root root - > > What's the point of doing this? These directories are created by the overlay > service file. systemd-tmpfiles is started after local-fs.target and the /var > overlay mount comes before, so it's the overlay service file that has to create > them. You could say "hey maybe there's some other service that makes use of > those directories" - but if so, that's another service that is going to come > before local-fs.target, so it _also_ has to create those directories itself... Not all overlays/services have to be enabled, you generally should use tmpfiles.d to ensure owner/mode of some sort of protected files. Prevents hijacking. Think of mounting an overlay on-demand, running an system update, testing said update then "commiting" the (merged) overlay to a blockdevice. if anything breaks, you reboot and you are running the unmodified working system. > > There's a bit of a problem with systemd-tmpfiles, that it doesn't allow to > specify dependencies/ordering. That's in fact one of the reasons the factory > approach doesn't work so well. systemd-tmpfiles only works for services after > sysinit.target, really - and therefore doesn't work for anything related to > local filesystems. > > IMHO it would have been better to put tmpfile blocks in service definitions. > But that's not the world we live in :-) That's not what they are for. tmpfiles.d should set up the filesystem whether services are enabled or not. Erases a whole set of problems. > > So, I've marked as Rejected, but feel free to argue my points. The argument would be to create & protect paths buildroot services could be using. > > Regards, > Arnout > Regards, Norbert From adam.duskett at amarulasolutions.com Thu Oct 12 10:31:57 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:31:57 +0200 Subject: [Buildroot] [PATCH 00/12] SELinux: Basic config enforcing mode support. Message-ID: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> SELinux support in Buildroot is currently outstanding! However, one last major issue remains: Enforcing mode needs to work out of the box correctly, without denials, at least with a minimal defconfig. This patch series seeks to remedy this problem with a basic set of policies in several commonly selected packages to allow a user who wishes to use SELinux in enforcing mode the ability to do so without having to spend several hours writing the same policy that everyone who wishes to do the same thing would have to do. The packages I have selected are based on the pc_x86_64_bios_defconfig with all of the selinux packages selected because it was the most straightforward option I had to create a small, bootable system in Virtual Manager with ssh support to quickly build out a policy that didn't generate any denials in /var/log/audit.log. I want to address Yann's questions from a previous discussion on IRC: Q) What will be the maintenance effort? A) Minimal after this patch series. As you will see, most policies are only a few lines long! Q) How much time will we invest when we bump a package or add a dependency? A) Usually none! If a package bump/new dependency requires new permissions to the SELinux policy, this is a good thing! We should step back and question why a package previously accessing only files and libraries suddenly needs to (e.g.), change permissions on a /dev/ device! Note: This series depends on the following pending patches: https://patchwork.ozlabs.org/project/buildroot/patch/20231009161817.2832969-1-adam.duskett at amarulasolutions.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231009143440.1776155-1-adam.duskett at amarulasolutions.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231009170428.2836853-1-adam.duskett at amarulasolutions.com/ Thank you for considering and reviewing this series! Adam Adam Duskett (12): package/refpolicy/selinux: Add buildroot base policy package/busybox/selinux: Add buildroot busybox policy package/sysvinit/selinux: Add buildroot sysvinit policy package/systemd/selinux: Add buildroot systemd selinux policy package/openssh/selinux: Add buildroot openssh policy package/audit/selinux: Add buildroot audit policy package/polkit/selinux: Add buildroot polkit policy package/restorecond/selinux: Add buildroot restorecond policy package/acpid/selinux: Add buildroot acpid policy package/network-manager/selinux: Add buildroot network-manager policy package/iptables/selinux: Add buildroot iptables policy package/kmod/selinux: Add buildroot kmod policy DEVELOPERS | 12 ++++ package/acpid/selinux/buildroot-acpid.fc | 0 package/acpid/selinux/buildroot-acpid.if | 1 + package/acpid/selinux/buildroot-acpid.te | 10 +++ package/audit/selinux/buildroot-audit.fc | 0 package/audit/selinux/buildroot-audit.if | 1 + package/audit/selinux/buildroot-audit.te | 13 ++++ package/busybox/selinux/buildroot-busybox.fc | 1 + package/busybox/selinux/buildroot-busybox.if | 1 + package/busybox/selinux/buildroot-busybox.te | 16 +++++ .../iptables/selinux/buildroot-iptables.fc | 0 .../iptables/selinux/buildroot-iptables.if | 1 + .../iptables/selinux/buildroot-iptables.te | 5 ++ package/kmod/selinux/buildroot-kmod.fc | 0 package/kmod/selinux/buildroot-kmod.if | 1 + package/kmod/selinux/buildroot-kmod.te | 4 ++ .../selinux/buildroot-network-manager.fc | 0 .../selinux/buildroot-network-manager.if | 1 + .../selinux/buildroot-network-manager.te | 4 ++ package/openssh/selinux/buildroot-openssh.fc | 0 package/openssh/selinux/buildroot-openssh.if | 1 + package/openssh/selinux/buildroot-openssh.te | 23 +++++++ package/polkit/selinux/buildroot-polkit.fc | 0 package/polkit/selinux/buildroot-polkit.if | 1 + package/polkit/selinux/buildroot-polkit.te | 5 ++ package/refpolicy/selinux/buildroot.fc | 0 package/refpolicy/selinux/buildroot.if | 1 + package/refpolicy/selinux/buildroot.te | 67 +++++++++++++++++++ .../selinux/buildroot-restorecond.fc | 0 .../selinux/buildroot-restorecond.if | 1 + .../selinux/buildroot-restorecond.te | 13 ++++ package/systemd/selinux/buildroot-systemd.fc | 0 package/systemd/selinux/buildroot-systemd.if | 1 + package/systemd/selinux/buildroot-systemd.te | 66 ++++++++++++++++++ .../sysvinit/selinux/buildroot-sysvinit.fc | 0 .../sysvinit/selinux/buildroot-sysvinit.if | 1 + .../sysvinit/selinux/buildroot-sysvinit.te | 8 +++ 37 files changed, 259 insertions(+) create mode 100644 package/acpid/selinux/buildroot-acpid.fc create mode 100644 package/acpid/selinux/buildroot-acpid.if create mode 100644 package/acpid/selinux/buildroot-acpid.te create mode 100644 package/audit/selinux/buildroot-audit.fc create mode 100644 package/audit/selinux/buildroot-audit.if create mode 100644 package/audit/selinux/buildroot-audit.te create mode 100644 package/busybox/selinux/buildroot-busybox.fc create mode 100644 package/busybox/selinux/buildroot-busybox.if create mode 100644 package/busybox/selinux/buildroot-busybox.te create mode 100644 package/iptables/selinux/buildroot-iptables.fc create mode 100644 package/iptables/selinux/buildroot-iptables.if create mode 100644 package/iptables/selinux/buildroot-iptables.te create mode 100644 package/kmod/selinux/buildroot-kmod.fc create mode 100644 package/kmod/selinux/buildroot-kmod.if create mode 100644 package/kmod/selinux/buildroot-kmod.te create mode 100644 package/network-manager/selinux/buildroot-network-manager.fc create mode 100644 package/network-manager/selinux/buildroot-network-manager.if create mode 100644 package/network-manager/selinux/buildroot-network-manager.te create mode 100644 package/openssh/selinux/buildroot-openssh.fc create mode 100644 package/openssh/selinux/buildroot-openssh.if create mode 100644 package/openssh/selinux/buildroot-openssh.te create mode 100644 package/polkit/selinux/buildroot-polkit.fc create mode 100644 package/polkit/selinux/buildroot-polkit.if create mode 100644 package/polkit/selinux/buildroot-polkit.te create mode 100644 package/refpolicy/selinux/buildroot.fc create mode 100644 package/refpolicy/selinux/buildroot.if create mode 100644 package/refpolicy/selinux/buildroot.te create mode 100644 package/restorecond/selinux/buildroot-restorecond.fc create mode 100644 package/restorecond/selinux/buildroot-restorecond.if create mode 100644 package/restorecond/selinux/buildroot-restorecond.te create mode 100644 package/systemd/selinux/buildroot-systemd.fc create mode 100644 package/systemd/selinux/buildroot-systemd.if create mode 100644 package/systemd/selinux/buildroot-systemd.te create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.fc create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.if create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.te -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:31:58 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:31:58 +0200 Subject: [Buildroot] [PATCH 01/12] package/refpolicy/selinux: Add buildroot base policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-2-adam.duskett@amarulasolutions.com> This policy is the first in several that supports running Buildroot in enforcing mode without any denials. This is a generic set of Buildroot-specific permissions that are tied to the enabled repolicy modules enabled when a user selects the upstream version of refpolicy. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/refpolicy/selinux/buildroot.fc | 0 package/refpolicy/selinux/buildroot.if | 1 + package/refpolicy/selinux/buildroot.te | 67 ++++++++++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 package/refpolicy/selinux/buildroot.fc create mode 100644 package/refpolicy/selinux/buildroot.if create mode 100644 package/refpolicy/selinux/buildroot.te diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..e863d06535 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -37,6 +37,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/refpolicy/selinux/ F: support/testing/tests/package/test_flutter.py N: Adam Heinrich diff --git a/package/refpolicy/selinux/buildroot.fc b/package/refpolicy/selinux/buildroot.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/refpolicy/selinux/buildroot.if b/package/refpolicy/selinux/buildroot.if new file mode 100644 index 0000000000..acf797e604 --- /dev/null +++ b/package/refpolicy/selinux/buildroot.if @@ -0,0 +1 @@ +## Buildroot rules diff --git a/package/refpolicy/selinux/buildroot.te b/package/refpolicy/selinux/buildroot.te new file mode 100644 index 0000000000..1e004452ae --- /dev/null +++ b/package/refpolicy/selinux/buildroot.te @@ -0,0 +1,67 @@ +policy_module(buildroot, 1.0.0) + +#============= chkpwd_t ============== +allow chkpwd_t tmpfs_t:dir search; + +#============= getty_t ============== +allow getty_t device_t:chr_file { getattr ioctl open read setattr write }; +allow getty_t getty_runtime_t:file watch; +allow getty_t init_runtime_t:dir read; +allow getty_t init_runtime_t:sock_file write; +allow getty_t init_tmpfs_t:file { lock open read write }; +allow getty_t init_t:unix_stream_socket connectto; +allow getty_t proc_t:filesystem getattr; +allow getty_t sysctl_kernel_t:dir search; +allow getty_t sysctl_kernel_t:file { open read }; +allow getty_t sysctl_t:dir search; +allow getty_t tmpfs_t:dir search; +allow getty_t var_t:lnk_file read; + +#============= local_login_t ============== +allow local_login_t bin_t:file execute; +allow local_login_t device_t:chr_file { ioctl open read relabelfrom relabelto write }; +allow local_login_t init_tmpfs_t:file { lock open read write }; +allow local_login_t proc_t:filesystem getattr; +allow local_login_t var_log_t:file { create lock open read write }; +allow local_login_t var_run_t:dir { add_name write }; +allow local_login_t var_run_t:file { create lock open read write }; + +#============= semanage_t ============== +allow semanage_t tmpfs_t:dir search; + +#============= syslogd_t ============== +allow syslogd_t device_t:chr_file { open read write }; +allow syslogd_t self:capability audit_control; +allow syslogd_t self:netlink_audit_socket nlmsg_write; +allow syslogd_t tmpfs_t:dir { add_name search write }; +allow syslogd_t tmpfs_t:file { append create getattr open }; +allow syslogd_t var_t:dir { add_name write }; +allow syslogd_t var_t:file { append create }; +allow syslogd_t var_t:lnk_file read; + +#============= sysadm_t ============== +allow sysadm_t device_t:chr_file { ioctl open read write }; +allow sysadm_t kernel_t:fd use; +allow sysadm_t kernel_t:system module_request; +allow sysadm_t node_t:tcp_socket node_bind; +allow sysadm_t self:capability { audit_control audit_write}; +allow sysadm_t self:netlink_audit_socket { nlmsg_read nlmsg_write }; +allow sysadm_t selinux_config_t:file watch; +allow sysadm_t tmpfs_t:dir watch; +allow sysadm_t unlabeled_t:file { execute map read }; +allow sysadm_t unlabeled_t:lnk_file read; +allow sysadm_t var_t:dir watch; + +#============= klogd_t ============== +allow klogd_t device_t:chr_file { read write }; +allow klogd_t selinux_config_t:dir search; + +#============= ifconfig_t ============== +allow ifconfig_t device_t:chr_file { getattr ioctl read write }; +allow ifconfig_t proc_t:filesystem getattr; +allow ifconfig_t root_t:chr_file { read write }; +allow ifconfig_t sysctl_kernel_t:dir search; +allow ifconfig_t sysctl_kernel_t:file { open read }; + +#============= kernel_t ============== +allow kernel_t sysadm_t:process transition; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:31:59 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:31:59 +0200 Subject: [Buildroot] [PATCH 02/12] package/busybox/selinux: Add buildroot busybox policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-3-adam.duskett@amarulasolutions.com> This is a minimal selinux policy required to run busybox in enforcing mode without denials. It is based off of the applets that Buildroot selects by default. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/busybox/selinux/buildroot-busybox.fc | 1 + package/busybox/selinux/buildroot-busybox.if | 1 + package/busybox/selinux/buildroot-busybox.te | 16 ++++++++++++++++ 4 files changed, 19 insertions(+) create mode 100644 package/busybox/selinux/buildroot-busybox.fc create mode 100644 package/busybox/selinux/buildroot-busybox.if create mode 100644 package/busybox/selinux/buildroot-busybox.te diff --git a/DEVELOPERS b/DEVELOPERS index e863d06535..c206f5262f 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -32,6 +32,7 @@ F: package/vulkan-loader/ F: package/vulkan-tools/ N: Adam Duskett +F: package/busybox/selinux/ F: package/depot-tools/ F: package/flutter-engine/ F: package/flutter-gallery/ diff --git a/package/busybox/selinux/buildroot-busybox.fc b/package/busybox/selinux/buildroot-busybox.fc new file mode 100644 index 0000000000..6785e466f3 --- /dev/null +++ b/package/busybox/selinux/buildroot-busybox.fc @@ -0,0 +1 @@ +/lib/libbusybox* -- gen_context(system_u:object_r:lib_t,s0) diff --git a/package/busybox/selinux/buildroot-busybox.if b/package/busybox/selinux/buildroot-busybox.if new file mode 100644 index 0000000000..60ea4b190d --- /dev/null +++ b/package/busybox/selinux/buildroot-busybox.if @@ -0,0 +1 @@ +## Buildroot busybox rules diff --git a/package/busybox/selinux/buildroot-busybox.te b/package/busybox/selinux/buildroot-busybox.te new file mode 100644 index 0000000000..e7d0f510b9 --- /dev/null +++ b/package/busybox/selinux/buildroot-busybox.te @@ -0,0 +1,16 @@ +policy_module(buildroot-busybox, 1.0.0) + +#============= init_tmpfs_t ============== +allow init_tmpfs_t self:file { lock open read write }; + +#============= getty_t ============== +allow getty_t local_login_t:file { lock open read write }; +allow getty_t local_login_t:process { noatsecure rlimitinh siginh }; +allow getty_t security_t:filesystem getattr; +allow getty_t selinux_config_t:dir search; + +#============= local_login_t ============== +allow local_login_t device_t:chr_file { getattr setattr }; +allow local_login_t shadow_t:file { getattr open read }; +allow local_login_t sysadm_t:process { noatsecure siginh rlimitinh }; + -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:00 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:00 +0200 Subject: [Buildroot] [PATCH 03/12] package/sysvinit/selinux: Add buildroot sysvinit policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-4-adam.duskett@amarulasolutions.com> This policy is required to run systems with sysvinit in enforcing mode without denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/sysvinit/selinux/buildroot-sysvinit.fc | 0 package/sysvinit/selinux/buildroot-sysvinit.if | 1 + package/sysvinit/selinux/buildroot-sysvinit.te | 8 ++++++++ 4 files changed, 10 insertions(+) create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.fc create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.if create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.te diff --git a/DEVELOPERS b/DEVELOPERS index c206f5262f..36108715bf 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -39,6 +39,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: package/refpolicy/selinux/ +F: package/sysvinit/selinux/ F: support/testing/tests/package/test_flutter.py N: Adam Heinrich diff --git a/package/sysvinit/selinux/buildroot-sysvinit.fc b/package/sysvinit/selinux/buildroot-sysvinit.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/sysvinit/selinux/buildroot-sysvinit.if b/package/sysvinit/selinux/buildroot-sysvinit.if new file mode 100644 index 0000000000..2b8195dfe3 --- /dev/null +++ b/package/sysvinit/selinux/buildroot-sysvinit.if @@ -0,0 +1 @@ +## Buildroot sysvinit rules diff --git a/package/sysvinit/selinux/buildroot-sysvinit.te b/package/sysvinit/selinux/buildroot-sysvinit.te new file mode 100644 index 0000000000..58c3e14580 --- /dev/null +++ b/package/sysvinit/selinux/buildroot-sysvinit.te @@ -0,0 +1,8 @@ +policy_module(buildroot-sysvinit, 1.0.0) + +#============= getty_t ============== +allow getty_t tmpfs_t:dir { add_name write }; +allow getty_t tmpfs_t:file { create lock open read write }; + +#============= local_login_t ============== +allow local_login_t tmpfs_t:file { lock open read write }; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:01 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:01 +0200 Subject: [Buildroot] [PATCH 04/12] package/systemd/selinux: Add buildroot systemd selinux policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-5-adam.duskett@amarulasolutions.com> Systemd requires quite a bit of extra permissions not provided by the refpolicy systemd module to function properly in enforcing mode without denials. This is based off of Maxime Chevallier's previous work found here: https://patchwork.ozlabs.org/project/buildroot/patch/20210107135307.1762186-3-maxime.chevallier at bootlin.com/ Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/systemd/selinux/buildroot-systemd.fc | 0 package/systemd/selinux/buildroot-systemd.if | 1 + package/systemd/selinux/buildroot-systemd.te | 66 ++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 package/systemd/selinux/buildroot-systemd.fc create mode 100644 package/systemd/selinux/buildroot-systemd.if create mode 100644 package/systemd/selinux/buildroot-systemd.te diff --git a/DEVELOPERS b/DEVELOPERS index 36108715bf..e49960f572 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -39,6 +39,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: package/refpolicy/selinux/ +F: package/systemd/selinux/ F: package/sysvinit/selinux/ F: support/testing/tests/package/test_flutter.py diff --git a/package/systemd/selinux/buildroot-systemd.fc b/package/systemd/selinux/buildroot-systemd.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/systemd/selinux/buildroot-systemd.if b/package/systemd/selinux/buildroot-systemd.if new file mode 100644 index 0000000000..7c56777c32 --- /dev/null +++ b/package/systemd/selinux/buildroot-systemd.if @@ -0,0 +1 @@ +## Buildroot systemd rules diff --git a/package/systemd/selinux/buildroot-systemd.te b/package/systemd/selinux/buildroot-systemd.te new file mode 100644 index 0000000000..8d6dee99cf --- /dev/null +++ b/package/systemd/selinux/buildroot-systemd.te @@ -0,0 +1,66 @@ +policy_module(buildroot-systemd, 1.0.0) + +#============= sysadm_t ============== +allow sysadm_t init_t:fd use; + +#============= system_dbusd_t ============== +allow system_dbusd_t init_t:unix_stream_socket connectto; + +#============= systemd_generator_t ============== +allow systemd_generator_t locale_t:dir search; +allow systemd_generator_t locale_t:file { getattr open read }; +allow systemd_generator_t locale_t:lnk_file read; +allow systemd_generator_t self:capability dac_override; +allow systemd_generator_t self:process setfscreate; +allow systemd_generator_t selinux_config_t:dir { getattr search }; +allow systemd_generator_t tty_device_t:chr_file { ioctl open read write }; + +#============= systemd_homed_t ============== +allow systemd_homed_t self:unix_stream_socket listen; +allow systemd_homed_t selinux_config_t:dir search; + +#============= systemd_hw_t ============== +# allow systemd_hw_t init_runtime_t:dir search; + +#============= systemd_journal_init_t ============== +allow systemd_journal_init_t self:capability net_admin; +allow systemd_journal_init_t selinux_config_t:dir { getattr search }; + +#============= systemd_networkd_t ============== +allow systemd_networkd_t net_conf_t:dir { getattr open read search }; +allow systemd_networkd_t selinux_config_t:dir { getattr search }; +allow systemd_networkd_t selinux_config_t:dir search; +allow systemd_networkd_t system_dbusd_runtime_t:dir read; +allow systemd_networkd_t system_dbusd_runtime_t:sock_file read; +allow systemd_networkd_t var_run_t:dir read; + +#============= systemd_resolved_t ============== +allow systemd_resolved_t system_dbusd_runtime_t:dir read; +allow systemd_resolved_t system_dbusd_runtime_t:sock_file read; +allow systemd_resolved_t var_run_t:dir read; + +#============= systemd_sessions_t ============== +allow systemd_sessions_t self:capability net_admin; + +#============= systemd_sysctl_t ============== +allow systemd_sysctl_t selinux_config_t:dir { getattr search }; + +#============= systemd_sysusers_t ============== +allow systemd_sysusers_t self:capability net_admin; + +#============= systemd_tmpfiles_t ============== +allow systemd_tmpfiles_t auditd_log_t:dir { create getattr open read relabelfrom relabelto }; +allow systemd_tmpfiles_t etc_t:dir relabelfrom; +allow systemd_tmpfiles_t etc_t:file { relabelfrom relabelto }; +allow systemd_tmpfiles_t init_t:unix_stream_socket connectto; +allow systemd_tmpfiles_t ssh_home_t:dir { getattr relabelfrom relabelto }; +allow systemd_tmpfiles_t system_dbusd_var_lib_t:dir read; +allow systemd_tmpfiles_t systemd_journal_t:lnk_file { read getattr relabelfrom relabelto }; +allow systemd_tmpfiles_t user_home_dir_t:dir { getattr search relabelfrom relabelto }; +allow systemd_tmpfiles_t user_home_t:dir { getattr search relabelfrom relabelto }; +allow systemd_tmpfiles_t usr_t:dir read; +allow systemd_tmpfiles_t usr_t:file { open read }; +allow systemd_tmpfiles_t var_spool_t:dir create; + +#============= systemd_update_done_t ============== +allow systemd_update_done_t self:capability net_admin; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:02 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:02 +0200 Subject: [Buildroot] [PATCH 05/12] package/openssh/selinux: Add buildroot openssh policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-6-adam.duskett@amarulasolutions.com> This is a basic policy necessary for OpenSSH to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/openssh/selinux/buildroot-openssh.fc | 0 package/openssh/selinux/buildroot-openssh.if | 1 + package/openssh/selinux/buildroot-openssh.te | 23 ++++++++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/openssh/selinux/buildroot-openssh.fc create mode 100644 package/openssh/selinux/buildroot-openssh.if create mode 100644 package/openssh/selinux/buildroot-openssh.te diff --git a/DEVELOPERS b/DEVELOPERS index e49960f572..a90f453261 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -38,6 +38,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/openssh/selinux/ F: package/refpolicy/selinux/ F: package/systemd/selinux/ F: package/sysvinit/selinux/ diff --git a/package/openssh/selinux/buildroot-openssh.fc b/package/openssh/selinux/buildroot-openssh.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/openssh/selinux/buildroot-openssh.if b/package/openssh/selinux/buildroot-openssh.if new file mode 100644 index 0000000000..1969c20a4b --- /dev/null +++ b/package/openssh/selinux/buildroot-openssh.if @@ -0,0 +1 @@ +## Buildroot openssh rules diff --git a/package/openssh/selinux/buildroot-openssh.te b/package/openssh/selinux/buildroot-openssh.te new file mode 100644 index 0000000000..5dc8945c3e --- /dev/null +++ b/package/openssh/selinux/buildroot-openssh.te @@ -0,0 +1,23 @@ +policy_module(buildroot-openssh, 1.0.0) + +#============= sshd_t ============== +allow sshd_t device_t:chr_file { getattr open read write }; +allow sshd_t kernel_t:fd use; +allow sshd_t root_t:chr_file { read write }; +allow sshd_t sysadm_t:process { noatsecure rlimitinh siginh }; +allow sshd_t sysadm_t:process transition; +allow sshd_t var_t:lnk_file read; + +#============= ssh_keygen_t ============== +allow ssh_keygen_t cert_t:dir search; +allow ssh_keygen_t cert_t:file { getattr open read }; +allow ssh_keygen_t device_t:chr_file { open read write }; +allow ssh_keygen_t kernel_t:fd use; +allow ssh_keygen_t root_t:chr_file { getattr ioctl read write }; +allow ssh_keygen_t security_t:filesystem getattr; +allow ssh_keygen_t selinux_config_t:dir search; +allow ssh_keygen_t tmpfs_t:dir search; + +#============= restorecond_t ============== +allow restorecond_t ssh_home_t:dir watch; + -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:03 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:03 +0200 Subject: [Buildroot] [PATCH 06/12] package/audit/selinux: Add buildroot audit policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-7-adam.duskett@amarulasolutions.com> This is a basic policy necessary for audit to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/audit/selinux/buildroot-audit.fc | 0 package/audit/selinux/buildroot-audit.if | 1 + package/audit/selinux/buildroot-audit.te | 13 +++++++++++++ 4 files changed, 15 insertions(+) create mode 100644 package/audit/selinux/buildroot-audit.fc create mode 100644 package/audit/selinux/buildroot-audit.if create mode 100644 package/audit/selinux/buildroot-audit.te diff --git a/DEVELOPERS b/DEVELOPERS index a90f453261..5f4b7320ba 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -32,6 +32,7 @@ F: package/vulkan-loader/ F: package/vulkan-tools/ N: Adam Duskett +F: package/audit/selinux/ F: package/busybox/selinux/ F: package/depot-tools/ F: package/flutter-engine/ diff --git a/package/audit/selinux/buildroot-audit.fc b/package/audit/selinux/buildroot-audit.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/audit/selinux/buildroot-audit.if b/package/audit/selinux/buildroot-audit.if new file mode 100644 index 0000000000..2a739a1113 --- /dev/null +++ b/package/audit/selinux/buildroot-audit.if @@ -0,0 +1 @@ +## Buildroot audit rules diff --git a/package/audit/selinux/buildroot-audit.te b/package/audit/selinux/buildroot-audit.te new file mode 100644 index 0000000000..3cac330d30 --- /dev/null +++ b/package/audit/selinux/buildroot-audit.te @@ -0,0 +1,13 @@ +policy_module(buildroot-audit, 1.0.0) + +#============= auditd_t ============== +allow auditd_t auditd_etc_t:file map; +allow auditd_t device_t:chr_file { open read write }; +allow auditd_t kernel_t:fd use; +allow auditd_t root_t:chr_file { read write }; +allow auditd_t selinux_config_t:dir search; +allow auditd_t tmpfs_t:dir { remove_name add_name search write }; +allow auditd_t tmpfs_t:file { create open write unlink }; +allow auditd_t tmp_t:dir { add_name getattr open read search setattr write }; +allow auditd_t tmp_t:file { append create setattr getattr read open }; +allow auditd_t var_t:lnk_file read; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:04 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:04 +0200 Subject: [Buildroot] [PATCH 07/12] package/polkit/selinux: Add buildroot polkit policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-8-adam.duskett@amarulasolutions.com> This is a basic policy necessary for polkit to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/polkit/selinux/buildroot-polkit.fc | 0 package/polkit/selinux/buildroot-polkit.if | 1 + package/polkit/selinux/buildroot-polkit.te | 5 +++++ 4 files changed, 7 insertions(+) create mode 100644 package/polkit/selinux/buildroot-polkit.fc create mode 100644 package/polkit/selinux/buildroot-polkit.if create mode 100644 package/polkit/selinux/buildroot-polkit.te diff --git a/DEVELOPERS b/DEVELOPERS index 5f4b7320ba..f7506da57a 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -40,6 +40,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: package/openssh/selinux/ +F: package/polkit/selinux/ F: package/refpolicy/selinux/ F: package/systemd/selinux/ F: package/sysvinit/selinux/ diff --git a/package/polkit/selinux/buildroot-polkit.fc b/package/polkit/selinux/buildroot-polkit.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/polkit/selinux/buildroot-polkit.if b/package/polkit/selinux/buildroot-polkit.if new file mode 100644 index 0000000000..8db3562fa5 --- /dev/null +++ b/package/polkit/selinux/buildroot-polkit.if @@ -0,0 +1 @@ +## Buildroot polkit rules diff --git a/package/polkit/selinux/buildroot-polkit.te b/package/polkit/selinux/buildroot-polkit.te new file mode 100644 index 0000000000..3cc244868c --- /dev/null +++ b/package/polkit/selinux/buildroot-polkit.te @@ -0,0 +1,5 @@ +policy_module(buildroot-polkit, 1.0.0) + +#============= policykit_t ============== +allow policykit_t security_t:filesystem getattr; +allow policykit_t selinux_config_t:dir search; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:05 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:05 +0200 Subject: [Buildroot] [PATCH 08/12] package/restorecond/selinux: Add buildroot restorecond policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-9-adam.duskett@amarulasolutions.com> This is a basic policy necessary for restorecond to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + .../restorecond/selinux/buildroot-restorecond.fc | 0 .../restorecond/selinux/buildroot-restorecond.if | 1 + .../restorecond/selinux/buildroot-restorecond.te | 13 +++++++++++++ 4 files changed, 15 insertions(+) create mode 100644 package/restorecond/selinux/buildroot-restorecond.fc create mode 100644 package/restorecond/selinux/buildroot-restorecond.if create mode 100644 package/restorecond/selinux/buildroot-restorecond.te diff --git a/DEVELOPERS b/DEVELOPERS index f7506da57a..5082448b56 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -42,6 +42,7 @@ F: package/flutter-sdk-bin/ F: package/openssh/selinux/ F: package/polkit/selinux/ F: package/refpolicy/selinux/ +F: package/restorecond/selinux/ F: package/systemd/selinux/ F: package/sysvinit/selinux/ F: support/testing/tests/package/test_flutter.py diff --git a/package/restorecond/selinux/buildroot-restorecond.fc b/package/restorecond/selinux/buildroot-restorecond.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/restorecond/selinux/buildroot-restorecond.if b/package/restorecond/selinux/buildroot-restorecond.if new file mode 100644 index 0000000000..cec6d9d9a4 --- /dev/null +++ b/package/restorecond/selinux/buildroot-restorecond.if @@ -0,0 +1 @@ +## Buildroot restorecond rules diff --git a/package/restorecond/selinux/buildroot-restorecond.te b/package/restorecond/selinux/buildroot-restorecond.te new file mode 100644 index 0000000000..382e4c8f54 --- /dev/null +++ b/package/restorecond/selinux/buildroot-restorecond.te @@ -0,0 +1,13 @@ +policy_module(buildroot-restorecond, 1.0.0) + +#============= restorecond_t ============== +allow restorecond_t device_t:chr_file { open read write }; +allow restorecond_t etc_t:dir watch; +allow restorecond_t file_context_t:file { open read }; +allow restorecond_t selinux_config_t:file watch; +allow restorecond_t tmpfs_t:dir { remove_name write watch }; +allow restorecond_t tmpfs_t:file { append getattr open lock read write unlink }; +allow restorecond_t user_home_dir_t:dir watch; +allow restorecond_t var_log_t:dir watch; +allow restorecond_t var_run_t:dir watch; +allow restorecond_t var_t:dir watch; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:06 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:06 +0200 Subject: [Buildroot] [PATCH 09/12] package/acpid/selinux: Add buildroot acpid policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-10-adam.duskett@amarulasolutions.com> This is a basic policy necessary for acpid to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/acpid/selinux/buildroot-acpid.fc | 0 package/acpid/selinux/buildroot-acpid.if | 1 + package/acpid/selinux/buildroot-acpid.te | 10 ++++++++++ 4 files changed, 12 insertions(+) create mode 100644 package/acpid/selinux/buildroot-acpid.fc create mode 100644 package/acpid/selinux/buildroot-acpid.if create mode 100644 package/acpid/selinux/buildroot-acpid.te diff --git a/DEVELOPERS b/DEVELOPERS index 5082448b56..695738c4a9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -32,6 +32,7 @@ F: package/vulkan-loader/ F: package/vulkan-tools/ N: Adam Duskett +F: package/acpid/selinux/ F: package/audit/selinux/ F: package/busybox/selinux/ F: package/depot-tools/ diff --git a/package/acpid/selinux/buildroot-acpid.fc b/package/acpid/selinux/buildroot-acpid.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/acpid/selinux/buildroot-acpid.if b/package/acpid/selinux/buildroot-acpid.if new file mode 100644 index 0000000000..b2b568a823 --- /dev/null +++ b/package/acpid/selinux/buildroot-acpid.if @@ -0,0 +1 @@ +## Buildroot acpid rules diff --git a/package/acpid/selinux/buildroot-acpid.te b/package/acpid/selinux/buildroot-acpid.te new file mode 100644 index 0000000000..dd10e65c42 --- /dev/null +++ b/package/acpid/selinux/buildroot-acpid.te @@ -0,0 +1,10 @@ +policy_module(buildroot-acpid, 1.0.0) + +#============= acpid_t ============== +allow acpid_t device_t:chr_file { read open write ioctl }; +allow acpid_t kernel_t:fd use; +allow acpid_t root_t:chr_file { read write open ioctl }; +allow acpid_t tmpfs_t:dir { add_name write remove_name }; +allow acpid_t tmpfs_t:file { create open write unlink }; +allow acpid_t tmpfs_t:sock_file create; + -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:07 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:07 +0200 Subject: [Buildroot] [PATCH 10/12] package/network-manager/selinux: Add buildroot network-manager policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-11-adam.duskett@amarulasolutions.com> This is a basic policy necessary for network-manager to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/network-manager/selinux/buildroot-network-manager.fc | 0 package/network-manager/selinux/buildroot-network-manager.if | 1 + package/network-manager/selinux/buildroot-network-manager.te | 4 ++++ 4 files changed, 6 insertions(+) create mode 100644 package/network-manager/selinux/buildroot-network-manager.fc create mode 100644 package/network-manager/selinux/buildroot-network-manager.if create mode 100644 package/network-manager/selinux/buildroot-network-manager.te diff --git a/DEVELOPERS b/DEVELOPERS index 695738c4a9..05b4be1830 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -40,6 +40,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/network-manager/selinux/ F: package/openssh/selinux/ F: package/polkit/selinux/ F: package/refpolicy/selinux/ diff --git a/package/network-manager/selinux/buildroot-network-manager.fc b/package/network-manager/selinux/buildroot-network-manager.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/network-manager/selinux/buildroot-network-manager.if b/package/network-manager/selinux/buildroot-network-manager.if new file mode 100644 index 0000000000..2f33fa0b81 --- /dev/null +++ b/package/network-manager/selinux/buildroot-network-manager.if @@ -0,0 +1 @@ +## Buildroot network-manager rules diff --git a/package/network-manager/selinux/buildroot-network-manager.te b/package/network-manager/selinux/buildroot-network-manager.te new file mode 100644 index 0000000000..ce5180494c --- /dev/null +++ b/package/network-manager/selinux/buildroot-network-manager.te @@ -0,0 +1,4 @@ +policy_module(buildroot-network-manager, 1.0.0) + +#============= NetworkManager_t ============== +allow NetworkManager_t tmpfs_t:sock_file write; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:08 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:08 +0200 Subject: [Buildroot] [PATCH 11/12] package/iptables/selinux: Add buildroot iptables policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-12-adam.duskett@amarulasolutions.com> This is a basic policy necessary for iptables to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/iptables/selinux/buildroot-iptables.fc | 0 package/iptables/selinux/buildroot-iptables.if | 1 + package/iptables/selinux/buildroot-iptables.te | 5 +++++ 4 files changed, 7 insertions(+) create mode 100644 package/iptables/selinux/buildroot-iptables.fc create mode 100644 package/iptables/selinux/buildroot-iptables.if create mode 100644 package/iptables/selinux/buildroot-iptables.te diff --git a/DEVELOPERS b/DEVELOPERS index 05b4be1830..cfa0095969 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -40,6 +40,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/iptables/selinux/ F: package/network-manager/selinux/ F: package/openssh/selinux/ F: package/polkit/selinux/ diff --git a/package/iptables/selinux/buildroot-iptables.fc b/package/iptables/selinux/buildroot-iptables.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/iptables/selinux/buildroot-iptables.if b/package/iptables/selinux/buildroot-iptables.if new file mode 100644 index 0000000000..cb7e08744e --- /dev/null +++ b/package/iptables/selinux/buildroot-iptables.if @@ -0,0 +1 @@ +## Buildroot iptables rules diff --git a/package/iptables/selinux/buildroot-iptables.te b/package/iptables/selinux/buildroot-iptables.te new file mode 100644 index 0000000000..37107749ea --- /dev/null +++ b/package/iptables/selinux/buildroot-iptables.te @@ -0,0 +1,5 @@ +policy_module(buildroot-iptables, 1.0.0) + +#============= iptables_t ============== +allow iptables_t root_t:chr_file { read write }; + -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:09 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:09 +0200 Subject: [Buildroot] [PATCH 12/12] package/kmod/selinux: Add buildroot kmod policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-13-adam.duskett@amarulasolutions.com> This is a basic policy necessary for kmod to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/kmod/selinux/buildroot-kmod.fc | 0 package/kmod/selinux/buildroot-kmod.if | 1 + package/kmod/selinux/buildroot-kmod.te | 4 ++++ 4 files changed, 6 insertions(+) create mode 100644 package/kmod/selinux/buildroot-kmod.fc create mode 100644 package/kmod/selinux/buildroot-kmod.if create mode 100644 package/kmod/selinux/buildroot-kmod.te diff --git a/DEVELOPERS b/DEVELOPERS index cfa0095969..879aa96361 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -41,6 +41,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: package/iptables/selinux/ +F: package/kmod/selinux/ F: package/network-manager/selinux/ F: package/openssh/selinux/ F: package/polkit/selinux/ diff --git a/package/kmod/selinux/buildroot-kmod.fc b/package/kmod/selinux/buildroot-kmod.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/kmod/selinux/buildroot-kmod.if b/package/kmod/selinux/buildroot-kmod.if new file mode 100644 index 0000000000..fd978bf190 --- /dev/null +++ b/package/kmod/selinux/buildroot-kmod.if @@ -0,0 +1 @@ +## Buildroot kmod rules diff --git a/package/kmod/selinux/buildroot-kmod.te b/package/kmod/selinux/buildroot-kmod.te new file mode 100644 index 0000000000..c06b81345d --- /dev/null +++ b/package/kmod/selinux/buildroot-kmod.te @@ -0,0 +1,4 @@ +policy_module(buildroot-kmod, 1.0.0) + +#============= kmod_t ============== +allow kmod_t proc_t:filesystem getattr; -- 2.41.0 From romain.naour at smile.fr Thu Oct 12 11:52:42 2023 From: romain.naour at smile.fr (Romain Naour) Date: Thu, 12 Oct 2023 13:52:42 +0200 Subject: [Buildroot] [PATCH] package/python3: really disable zlib In-Reply-To: References: <20231011163408.32325-1-romain.naour__9329.73186006478$1697042081$gmane$org@gmail.com> Message-ID: <6e992358-2589-4b56-b9ac-fc8b6f53d8c1@smile.fr> Hello Bernd, Le 11/10/2023 ? 19:23, Bernd Kuhls a ?crit?: > Am Wed, 11 Oct 2023 18:34:08 +0200 schrieb Romain Naour: > >> +Upstream: Not applicable +(patching a BR patch >> 0025-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch) > > Hi Romain, > > did you test whether this patch also fixes the problem? > https://patchwork.ozlabs.org/project/buildroot/patch/ > 20230809211401.3587177-4-bernd at kuhls.net/ No but it's seems there is the same issue with python 3.12 [1]. Let's try to fix gitlab-ci issues related to python before switching to python 3.12 :) [1] https://github.com/python/cpython/blob/3.12/configure.ac#L5045 Best regards, Romain > > Regards, Bernd > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From sebastian.weyer at smile.fr Thu Oct 12 13:26:15 2023 From: sebastian.weyer at smile.fr (Sebastian Weyer) Date: Thu, 12 Oct 2023 15:26:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/qt5: bump packages to latest kde submodule versions Message-ID: <20231012132616.2180337-1-sebastian.weyer@smile.fr> Bump qt5 packages to latest submodule versions from: https://invent.kde.org/qt/qt/qt5/-/tree/kde/5.15 Signed-off-by: Sebastian Weyer --- The package qt53d was not updated with the rest as it fails with qgltf.cpp:29:10: fatal error: assimp/Importer.hpp: No such file or directory 29 | #include although assimp is installed and the header file is present in host/aarch64-buildroot-linux-gnu/sysroot/usr/include/assimp/Importer.hpp This package was also not updated in the last version bump to 5.15.10 in 6b23dff9e71786191797d3b41ce80afe659f0396. Starting from 5.15.9 it fails with this error. I couldn't find out why this package wasn't updated to 5.15.10 to begin with but it seems like it could be this error? So I thought it might be okay to leave it at 5.15.8 for now. What do you think? Signed-off-by: Sebastian Weyer --- package/qt5/qt5.mk | 2 +- package/qt5/qt5base/qt5base.hash | 2 +- package/qt5/qt5base/qt5base.mk | 2 +- package/qt5/qt5charts/qt5charts.hash | 2 +- package/qt5/qt5charts/qt5charts.mk | 2 +- package/qt5/qt5connectivity/qt5connectivity.hash | 2 +- package/qt5/qt5connectivity/qt5connectivity.mk | 2 +- package/qt5/qt5declarative/qt5declarative.hash | 2 +- package/qt5/qt5declarative/qt5declarative.mk | 2 +- package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash | 2 +- package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk | 2 +- package/qt5/qt5imageformats/qt5imageformats.hash | 2 +- package/qt5/qt5imageformats/qt5imageformats.mk | 2 +- package/qt5/qt5location/qt5location.hash | 2 +- package/qt5/qt5location/qt5location.mk | 2 +- package/qt5/qt5lottie/qt5lottie.hash | 2 +- package/qt5/qt5lottie/qt5lottie.mk | 2 +- package/qt5/qt5multimedia/qt5multimedia.hash | 2 +- package/qt5/qt5multimedia/qt5multimedia.mk | 2 +- package/qt5/qt5quickcontrols/qt5quickcontrols.hash | 2 +- package/qt5/qt5quickcontrols/qt5quickcontrols.mk | 2 +- package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash | 2 +- package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk | 2 +- package/qt5/qt5quicktimeline/qt5quicktimeline.hash | 2 +- package/qt5/qt5quicktimeline/qt5quicktimeline.mk | 2 +- package/qt5/qt5remoteobjects/qt5remoteobjects.hash | 2 +- package/qt5/qt5remoteobjects/qt5remoteobjects.mk | 2 +- package/qt5/qt5scxml/qt5scxml.hash | 2 +- package/qt5/qt5scxml/qt5scxml.mk | 2 +- package/qt5/qt5sensors/qt5sensors.hash | 2 +- package/qt5/qt5sensors/qt5sensors.mk | 2 +- package/qt5/qt5serialbus/qt5serialbus.hash | 2 +- package/qt5/qt5serialbus/qt5serialbus.mk | 2 +- package/qt5/qt5serialport/qt5serialport.hash | 2 +- package/qt5/qt5serialport/qt5serialport.mk | 2 +- package/qt5/qt5speech/qt5speech.hash | 2 +- package/qt5/qt5speech/qt5speech.mk | 2 +- package/qt5/qt5svg/qt5svg.hash | 2 +- package/qt5/qt5svg/qt5svg.mk | 2 +- package/qt5/qt5tools/qt5tools.hash | 2 +- package/qt5/qt5tools/qt5tools.mk | 2 +- package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash | 2 +- package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk | 2 +- package/qt5/qt5wayland/qt5wayland.hash | 2 +- package/qt5/qt5wayland/qt5wayland.mk | 2 +- package/qt5/qt5webchannel/qt5webchannel.hash | 2 +- package/qt5/qt5webchannel/qt5webchannel.mk | 2 +- package/qt5/qt5webengine/qt5webengine.hash | 2 +- package/qt5/qt5websockets/qt5websockets.hash | 2 +- package/qt5/qt5websockets/qt5websockets.mk | 2 +- package/qt5/qt5webview/qt5webview.hash | 2 +- package/qt5/qt5webview/qt5webview.mk | 2 +- package/qt5/qt5x11extras/qt5x11extras.hash | 2 +- package/qt5/qt5x11extras/qt5x11extras.mk | 2 +- package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash | 2 +- package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk | 2 +- 56 files changed, 56 insertions(+), 56 deletions(-) diff --git a/package/qt5/qt5.mk b/package/qt5/qt5.mk index b55accacf1..a43b36dd51 100644 --- a/package/qt5/qt5.mk +++ b/package/qt5/qt5.mk @@ -5,7 +5,7 @@ ################################################################################ QT5_VERSION_MAJOR = 5.15 -QT5_VERSION = $(QT5_VERSION_MAJOR).10 +QT5_VERSION = $(QT5_VERSION_MAJOR).11 QT5_SITE = https://invent.kde.org/qt/qt include $(sort $(wildcard package/qt5/*/*.mk)) diff --git a/package/qt5/qt5base/qt5base.hash b/package/qt5/qt5base/qt5base.hash index 4efc8fa172..ffc474f49e 100644 --- a/package/qt5/qt5base/qt5base.hash +++ b/package/qt5/qt5base/qt5base.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 5622a9053154af9a353b8e8be217104c6af068b5b5aba8b07ef4fea2dc79fded qtbase-e44097b63d17ba3178a637df7fac51ddc51cb48b.tar.bz2 +sha256 935d01f5c34903ad9e979431cec7a8a59332ed3fc539e639f5ba87e8d6989b9d qtbase-da6e958319e95fe564d3b30c931492dd666bfaff.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index cc29f5523f..7ee6124d4b 100644 --- a/package/qt5/qt5base/qt5base.mk +++ b/package/qt5/qt5base/qt5base.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5BASE_VERSION = e44097b63d17ba3178a637df7fac51ddc51cb48b +QT5BASE_VERSION = da6e958319e95fe564d3b30c931492dd666bfaff QT5BASE_SITE = $(QT5_SITE)/qtbase/-/archive/$(QT5BASE_VERSION) QT5BASE_SOURCE = qtbase-$(QT5BASE_VERSION).tar.bz2 diff --git a/package/qt5/qt5charts/qt5charts.hash b/package/qt5/qt5charts/qt5charts.hash index 0688f64615..fec54c86b1 100644 --- a/package/qt5/qt5charts/qt5charts.hash +++ b/package/qt5/qt5charts/qt5charts.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 9d2ad94a054bd7df08e5d11bc77b6422ccecbf99ea8dd6f06908bafc72ea869d qtcharts-841083c263f16f8acb81e4915bf24bbed0461c9a.tar.bz2 +sha256 66dae46a8bcb1dfc10dd3404296701c41e50658792e4a6a7317a182fad6f36c8 qtcharts-e17308d5ce83a8b66aeeaaaf16ce16d4ee6b2826.tar.bz2 # Hashes for license files: sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/package/qt5/qt5charts/qt5charts.mk b/package/qt5/qt5charts/qt5charts.mk index fa69263be4..bfc6021289 100644 --- a/package/qt5/qt5charts/qt5charts.mk +++ b/package/qt5/qt5charts/qt5charts.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5CHARTS_VERSION = 841083c263f16f8acb81e4915bf24bbed0461c9a +QT5CHARTS_VERSION = e17308d5ce83a8b66aeeaaaf16ce16d4ee6b2826 QT5CHARTS_SITE = $(QT5_SITE)/qtcharts/-/archive/$(QT5CHARTS_VERSION) QT5CHARTS_SOURCE = qtcharts-$(QT5CHARTS_VERSION).tar.bz2 QT5CHARTS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5connectivity/qt5connectivity.hash b/package/qt5/qt5connectivity/qt5connectivity.hash index 1252a73247..776448502b 100644 --- a/package/qt5/qt5connectivity/qt5connectivity.hash +++ b/package/qt5/qt5connectivity/qt5connectivity.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 ec1d91fc35d8b4a333209fb5fd85e00ab77345bff48b60b4e43b804a59f60979 qtconnectivity-c5f35f89e975c2ad58c83c6b606d40ba41057f15.tar.bz2 +sha256 7a44848e113e1d7232c077f9fa8021ab038f59765123920e11936e7d4b8e3c66 qtconnectivity-f0c98c39447894bba493aa91c65053d7f18d68cb.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5connectivity/qt5connectivity.mk b/package/qt5/qt5connectivity/qt5connectivity.mk index 72797de1a0..dc5e647e0b 100644 --- a/package/qt5/qt5connectivity/qt5connectivity.mk +++ b/package/qt5/qt5connectivity/qt5connectivity.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5CONNECTIVITY_VERSION = c5f35f89e975c2ad58c83c6b606d40ba41057f15 +QT5CONNECTIVITY_VERSION = f0c98c39447894bba493aa91c65053d7f18d68cb QT5CONNECTIVITY_SITE = $(QT5_SITE)/qtconnectivity/-/archive/$(QT5CONNECTIVITY_VERSION) QT5CONNECTIVITY_SOURCE = qtconnectivity-$(QT5CONNECTIVITY_VERSION).tar.bz2 QT5CONNECTIVITY_INSTALL_STAGING = YES diff --git a/package/qt5/qt5declarative/qt5declarative.hash b/package/qt5/qt5declarative/qt5declarative.hash index 0e7978dc58..3db5c94458 100644 --- a/package/qt5/qt5declarative/qt5declarative.hash +++ b/package/qt5/qt5declarative/qt5declarative.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 dbe0cdf84767564a56abf9d0d867c9cfcc754827169357a0f8162309c11882b5 qtdeclarative-b3aaf1482c48bbc0ca4f7c7934597c055afe4b6a.tar.bz2 +sha256 bebd1205aa087f529b8824f0284e127e08672ff7ce36a6b865cd921514ec1192 qtdeclarative-960a980dc885622cb84990c4da75d5060318302d.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5declarative/qt5declarative.mk b/package/qt5/qt5declarative/qt5declarative.mk index 18c1608fca..99c88e7d06 100644 --- a/package/qt5/qt5declarative/qt5declarative.mk +++ b/package/qt5/qt5declarative/qt5declarative.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5DECLARATIVE_VERSION = b3aaf1482c48bbc0ca4f7c7934597c055afe4b6a +QT5DECLARATIVE_VERSION = 960a980dc885622cb84990c4da75d5060318302d QT5DECLARATIVE_SITE = $(QT5_SITE)/qtdeclarative/-/archive/$(QT5DECLARATIVE_VERSION) QT5DECLARATIVE_SOURCE = qtdeclarative-$(QT5DECLARATIVE_VERSION).tar.bz2 QT5DECLARATIVE_INSTALL_STAGING = YES diff --git a/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash b/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash index 95567b2476..e5fdaf67bf 100644 --- a/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash +++ b/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 de41af344889d35252fec9a6b6c78e1f67b7a7be15a5d3986b2ec20e2fcafadc qtgraphicaleffects-e6e1e58ec28fd0f2e6426e6962cc4ccddb493349.tar.bz2 +sha256 18afbc24b40420ce0fe6bfad8331f43a1d8c8ec22501b7987ecec9334b69e9a2 qtgraphicaleffects-cce7d784237cd2dd4af1abe2757d048e34e02685.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk b/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk index f829c67122..ddf805303b 100644 --- a/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk +++ b/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5GRAPHICALEFFECTS_VERSION = e6e1e58ec28fd0f2e6426e6962cc4ccddb493349 +QT5GRAPHICALEFFECTS_VERSION = cce7d784237cd2dd4af1abe2757d048e34e02685 QT5GRAPHICALEFFECTS_SITE = $(QT5_SITE)/qtgraphicaleffects/-/archive/$(QT5GRAPHICALEFFECTS_VERSION) QT5GRAPHICALEFFECTS_SOURCE = qtgraphicaleffects-$(QT5GRAPHICALEFFECTS_VERSION).tar.bz2 QT5GRAPHICALEFFECTS_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5imageformats/qt5imageformats.hash b/package/qt5/qt5imageformats/qt5imageformats.hash index 9d821672b3..779db8d109 100644 --- a/package/qt5/qt5imageformats/qt5imageformats.hash +++ b/package/qt5/qt5imageformats/qt5imageformats.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 8bf646d4db7d0099dd49b7c049a64fb585a3e180d73fc2b6edf22a1384529d1d qtimageformats-9044695f4b1acdd7ec24e7b01f6a6ca61f982a75.tar.bz2 +sha256 bac150b9c5eaf0132a39a0b2a75cfca5400c11f4b8bf60f7362a6e0307f5c19e qtimageformats-6a1af670d52492ab0955933b830026b2a18ed6d6.tar.bz2 # Hashes for license files: sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 diff --git a/package/qt5/qt5imageformats/qt5imageformats.mk b/package/qt5/qt5imageformats/qt5imageformats.mk index 0ce6e4ffb4..27ef05777d 100644 --- a/package/qt5/qt5imageformats/qt5imageformats.mk +++ b/package/qt5/qt5imageformats/qt5imageformats.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5IMAGEFORMATS_VERSION = 9044695f4b1acdd7ec24e7b01f6a6ca61f982a75 +QT5IMAGEFORMATS_VERSION = 6a1af670d52492ab0955933b830026b2a18ed6d6 QT5IMAGEFORMATS_SITE = $(QT5_SITE)/qtimageformats/-/archive/$(QT5IMAGEFORMATS_VERSION) QT5IMAGEFORMATS_SOURCE = qtimageformats-$(QT5IMAGEFORMATS_VERSION).tar.bz2 QT5IMAGEFORMATS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5location/qt5location.hash b/package/qt5/qt5location/qt5location.hash index f73053f388..0188f51c83 100644 --- a/package/qt5/qt5location/qt5location.hash +++ b/package/qt5/qt5location/qt5location.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 90b57a335d8c7311a86865a56b2b9cd944a8a1cafa6a7499de5b35a105c5b247 qt5location-ebdf5b38da6e3fe0a183702bcca395c589c459ed-br1.tar.gz +sha256 133d28fc0071e419682b7ed736c17b39240545c8e9d6ff7e9905f365bb1eb693 qt5location-0ec8f5e82da7369a92824167c4d7331f6c502325-br1.tar.gz # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5location/qt5location.mk b/package/qt5/qt5location/qt5location.mk index 904d31a983..88bf3d289c 100644 --- a/package/qt5/qt5location/qt5location.mk +++ b/package/qt5/qt5location/qt5location.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5LOCATION_VERSION = ebdf5b38da6e3fe0a183702bcca395c589c459ed +QT5LOCATION_VERSION = 0ec8f5e82da7369a92824167c4d7331f6c502325 QT5LOCATION_SITE = $(QT5_SITE)/qtlocation QT5LOCATION_SITE_METHOD = git QT5LOCATION_GIT_SUBMODULES = YES diff --git a/package/qt5/qt5lottie/qt5lottie.hash b/package/qt5/qt5lottie/qt5lottie.hash index cbd94fd111..642625753c 100644 --- a/package/qt5/qt5lottie/qt5lottie.hash +++ b/package/qt5/qt5lottie/qt5lottie.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 82336dd063f8bedc28e9545cc8c0123053434d6c681e470434c80ad3908ca4b0 qtlottie-d40b67401afe7156b03c62c9a4d517b07555fe64.tar.bz2 +sha256 4d8a063687c25675b012821e252a1afd455bdb4ea43e6d79787f9991c68cb5c5 qtlottie-909b79f4810b8ac62baa3544837793cfb132593b.tar.bz2 # Hashes for license files: sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/package/qt5/qt5lottie/qt5lottie.mk b/package/qt5/qt5lottie/qt5lottie.mk index 42a920582a..d4ad3afc63 100644 --- a/package/qt5/qt5lottie/qt5lottie.mk +++ b/package/qt5/qt5lottie/qt5lottie.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5LOTTIE_VERSION = d40b67401afe7156b03c62c9a4d517b07555fe64 +QT5LOTTIE_VERSION = 909b79f4810b8ac62baa3544837793cfb132593b QT5LOTTIE_SITE = $(QT5_SITE)/qtlottie/-/archive/$(QT5LOTTIE_VERSION) QT5LOTTIE_SOURCE = qtlottie-$(QT5LOTTIE_VERSION).tar.bz2 QT5LOTTIE_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5multimedia/qt5multimedia.hash b/package/qt5/qt5multimedia/qt5multimedia.hash index 4803ef9230..7925c4fe05 100644 --- a/package/qt5/qt5multimedia/qt5multimedia.hash +++ b/package/qt5/qt5multimedia/qt5multimedia.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 842c5be64dafe7a68d2b120e24faffd14af6e4d9d8e9c0aa8bbf4330b3491aa3 qtmultimedia-76f84c545429a1b988b79f971734ef4bc3e6643f.tar.bz2 +sha256 3f78ede5dcc231d0e92e9907d11fa1d7a7cf506eb73d3f035e8461b57dc692b4 qtmultimedia-b4d58d8921d6d1c937b5e708e257e2a07a0c5dc4.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5multimedia/qt5multimedia.mk b/package/qt5/qt5multimedia/qt5multimedia.mk index 0d0f5dd53d..7a56d238f2 100644 --- a/package/qt5/qt5multimedia/qt5multimedia.mk +++ b/package/qt5/qt5multimedia/qt5multimedia.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5MULTIMEDIA_VERSION = 76f84c545429a1b988b79f971734ef4bc3e6643f +QT5MULTIMEDIA_VERSION = b4d58d8921d6d1c937b5e708e257e2a07a0c5dc4 QT5MULTIMEDIA_SITE = $(QT5_SITE)/qtmultimedia/-/archive/$(QT5MULTIMEDIA_VERSION) QT5MULTIMEDIA_SOURCE = qtmultimedia-$(QT5MULTIMEDIA_VERSION).tar.bz2 QT5MULTIMEDIA_INSTALL_STAGING = YES diff --git a/package/qt5/qt5quickcontrols/qt5quickcontrols.hash b/package/qt5/qt5quickcontrols/qt5quickcontrols.hash index 05a021e8b2..219dc8d588 100644 --- a/package/qt5/qt5quickcontrols/qt5quickcontrols.hash +++ b/package/qt5/qt5quickcontrols/qt5quickcontrols.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 e2c7bc6346a8eb4c21510f8fbf7e752648f68a0c5af8525a784e64503570f72c qtquickcontrols-e62b8b6d2f45a79652238b33f4bbe23023004ae7.tar.bz2 +sha256 8c02691d3eb45b9f144bef64c9705e26e8a4c725a0731b18450d39a589965c49 qtquickcontrols-dcc90558d9c0cba41eec7df290943994289b0e87.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5quickcontrols/qt5quickcontrols.mk b/package/qt5/qt5quickcontrols/qt5quickcontrols.mk index 25c1a74f5c..86792ddd8e 100644 --- a/package/qt5/qt5quickcontrols/qt5quickcontrols.mk +++ b/package/qt5/qt5quickcontrols/qt5quickcontrols.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5QUICKCONTROLS_VERSION = e62b8b6d2f45a79652238b33f4bbe23023004ae7 +QT5QUICKCONTROLS_VERSION = dcc90558d9c0cba41eec7df290943994289b0e87 QT5QUICKCONTROLS_SITE = $(QT5_SITE)/qtquickcontrols/-/archive/$(QT5QUICKCONTROLS_VERSION) QT5QUICKCONTROLS_SOURCE = qtquickcontrols-$(QT5QUICKCONTROLS_VERSION).tar.bz2 QT5QUICKCONTROLS_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash index 88777a5cc3..91fb31a7b7 100644 --- a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash +++ b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 53caea73e6bdf234cb445067be3bc4e07ed59af7da967638ac598188b719958e qtquickcontrols2-74e8db97fdb9b55c4b4614b83f4bf17e00df55e9.tar.bz2 +sha256 481220682ce3127711465d6ade22c9ce0e4a4130dd9735344f7464f9147d8f0d qtquickcontrols2-1ce461bd1dc713cd2f79fc16c5454d587b45eefa.tar.bz2 # Hashes for license files: sha256 d2cfc059acb4abd8e513cd0a73cd8489f34cbafa7bc34d5d31fb3210821cf8ca LICENSE.GPLv3 diff --git a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk index 1732921203..a2503eb9a3 100644 --- a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk +++ b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5QUICKCONTROLS2_VERSION = 74e8db97fdb9b55c4b4614b83f4bf17e00df55e9 +QT5QUICKCONTROLS2_VERSION = 1ce461bd1dc713cd2f79fc16c5454d587b45eefa QT5QUICKCONTROLS2_SITE = $(QT5_SITE)/qtquickcontrols2/-/archive/$(QT5QUICKCONTROLS2_VERSION) QT5QUICKCONTROLS2_SOURCE = qtquickcontrols2-$(QT5QUICKCONTROLS2_VERSION).tar.bz2 QT5QUICKCONTROLS2_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5quicktimeline/qt5quicktimeline.hash b/package/qt5/qt5quicktimeline/qt5quicktimeline.hash index a8acf3c5a2..1c9f436b1b 100644 --- a/package/qt5/qt5quicktimeline/qt5quicktimeline.hash +++ b/package/qt5/qt5quicktimeline/qt5quicktimeline.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 d22637609c4afcc7560d92c894eb55d4afa01706bb5c86499bf56f7c8723a605 qtquicktimeline-87ad61716a7cba5a070d8a7b1756c8b2b48d5d53.tar.bz2 +sha256 ee404943ef00dbac33928cf001b613ca517fdfdf2767b932a8def5f8c2b0797f qtquicktimeline-b1b4b882dabaa036c3fb73c4a879ba8efbb02ded.tar.bz2 # Hashes for license files: sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/package/qt5/qt5quicktimeline/qt5quicktimeline.mk b/package/qt5/qt5quicktimeline/qt5quicktimeline.mk index de94bd0375..3a8542ab1b 100644 --- a/package/qt5/qt5quicktimeline/qt5quicktimeline.mk +++ b/package/qt5/qt5quicktimeline/qt5quicktimeline.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5QUICKTIMELINE_VERSION = 87ad61716a7cba5a070d8a7b1756c8b2b48d5d53 +QT5QUICKTIMELINE_VERSION = b1b4b882dabaa036c3fb73c4a879ba8efbb02ded QT5QUICKTIMELINE_SITE = $(QT5_SITE)/qtquicktimeline/-/archive/$(QT5QUICKTIMELINE_VERSION) QT5QUICKTIMELINE_SOURCE = qtquicktimeline-$(QT5QUICKTIMELINE_VERSION).tar.bz2 QT5QUICKTIMELINE_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5remoteobjects/qt5remoteobjects.hash b/package/qt5/qt5remoteobjects/qt5remoteobjects.hash index 1b41ab675f..a931ce09cb 100644 --- a/package/qt5/qt5remoteobjects/qt5remoteobjects.hash +++ b/package/qt5/qt5remoteobjects/qt5remoteobjects.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 ef8e1f64911f7e03da6306693031fdf953af00d453ec154497178bb7ceab1aa2 qtremoteobjects-aa705010da0f658b78c1155babce7091ae44529a.tar.bz2 +sha256 677b8ccb5c07673296c4fa01bcbc6bd9b8e3a534d332624f61fe0360a5649703 qtremoteobjects-bdc316aca82769b43cb7821c10d80a1ca02b846e.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5remoteobjects/qt5remoteobjects.mk b/package/qt5/qt5remoteobjects/qt5remoteobjects.mk index 3160d37ad7..5fea3487a5 100644 --- a/package/qt5/qt5remoteobjects/qt5remoteobjects.mk +++ b/package/qt5/qt5remoteobjects/qt5remoteobjects.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5REMOTEOBJECTS_VERSION = aa705010da0f658b78c1155babce7091ae44529a +QT5REMOTEOBJECTS_VERSION = bdc316aca82769b43cb7821c10d80a1ca02b846e QT5REMOTEOBJECTS_SITE = $(QT5_SITE)/qtremoteobjects/-/archive/$(QT5REMOTEOBJECTS_VERSION) QT5REMOTEOBJECTS_SOURCE = qtremoteobjects-$(QT5REMOTEOBJECTS_VERSION).tar.bz2 QT5REMOTEOBJECTS_DEPENDENCIES = qt5base diff --git a/package/qt5/qt5scxml/qt5scxml.hash b/package/qt5/qt5scxml/qt5scxml.hash index f4d52b8a52..0f13743f45 100644 --- a/package/qt5/qt5scxml/qt5scxml.hash +++ b/package/qt5/qt5scxml/qt5scxml.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 a0113f54d9df14ebae15dd85530f87f093a284372ee8237d1ccceb02e6a4607b qtscxml-631fd7bcc34802b7650c2b1dc73691463954d982.tar.bz2 +sha256 d598238bfa3bbbe283a8bd2907a4e8e813e00c522f08297a856e6595bbd44099 qtscxml-e8727aabe55526956295407d27317ec15e12b283.tar.bz2 # Hashes for license files: sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT diff --git a/package/qt5/qt5scxml/qt5scxml.mk b/package/qt5/qt5scxml/qt5scxml.mk index f6ccb9298e..32ef425e97 100644 --- a/package/qt5/qt5scxml/qt5scxml.mk +++ b/package/qt5/qt5scxml/qt5scxml.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SCXML_VERSION = 631fd7bcc34802b7650c2b1dc73691463954d982 +QT5SCXML_VERSION = e8727aabe55526956295407d27317ec15e12b283 QT5SCXML_SITE = $(QT5_SITE)/qtscxml/-/archive/$(QT5SCXML_VERSION) QT5SCXML_SOURCE = qtscxml-$(QT5SCXML_VERSION).tar.bz2 QT5SCXML_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5sensors/qt5sensors.hash b/package/qt5/qt5sensors/qt5sensors.hash index d43fa8ba65..37a23516df 100644 --- a/package/qt5/qt5sensors/qt5sensors.hash +++ b/package/qt5/qt5sensors/qt5sensors.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 8325826a259189fc7dea66651df4022a92a73664e953f86bce5bf5946ebacdf5 qtsensors-35eb5ac7eaef4745a38958c3ca780d7baa2e4f30.tar.bz2 +sha256 f44148d1a21f3959d79f973d8aa233ddfacf37af6e27902fca8c885b91933fcc qtsensors-a41492b23cde20d1e00427d31e4637d06aea3638.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5sensors/qt5sensors.mk b/package/qt5/qt5sensors/qt5sensors.mk index 40bb72e038..29e257fdda 100644 --- a/package/qt5/qt5sensors/qt5sensors.mk +++ b/package/qt5/qt5sensors/qt5sensors.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SENSORS_VERSION = 35eb5ac7eaef4745a38958c3ca780d7baa2e4f30 +QT5SENSORS_VERSION = a41492b23cde20d1e00427d31e4637d06aea3638 QT5SENSORS_SITE = $(QT5_SITE)/qtsensors/-/archive/$(QT5SENSORS_VERSION) QT5SENSORS_SOURCE = qtsensors-$(QT5SENSORS_VERSION).tar.bz2 QT5SENSORS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5serialbus/qt5serialbus.hash b/package/qt5/qt5serialbus/qt5serialbus.hash index 01ffd7c215..1d1861a4a3 100644 --- a/package/qt5/qt5serialbus/qt5serialbus.hash +++ b/package/qt5/qt5serialbus/qt5serialbus.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 fe08415d2348797429dc09722478630ceee3d7477652a2712460e79127b7291b qtserialbus-f9f7eee60adac72fcf6617d164e3bf61222bb5c5.tar.bz2 +sha256 952b145ae64e03208d7c2a0b0b2b94b928e8998eb72c6762b54e4d9760737dde qtserialbus-c41785c9f36560722b917d373ee97eed8cc4089a.tar.bz2 # Hashes for license files: sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 diff --git a/package/qt5/qt5serialbus/qt5serialbus.mk b/package/qt5/qt5serialbus/qt5serialbus.mk index c718414932..3315ef5be7 100644 --- a/package/qt5/qt5serialbus/qt5serialbus.mk +++ b/package/qt5/qt5serialbus/qt5serialbus.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SERIALBUS_VERSION = f9f7eee60adac72fcf6617d164e3bf61222bb5c5 +QT5SERIALBUS_VERSION = c41785c9f36560722b917d373ee97eed8cc4089a QT5SERIALBUS_SITE = $(QT5_SITE)/qtserialbus/-/archive/$(QT5SERIALBUS_VERSION) QT5SERIALBUS_SOURCE = qtserialbus-$(QT5SERIALBUS_VERSION).tar.bz2 QT5SERIALBUS_DEPENDENCIES = qt5serialport diff --git a/package/qt5/qt5serialport/qt5serialport.hash b/package/qt5/qt5serialport/qt5serialport.hash index 58461430c7..e95392b880 100644 --- a/package/qt5/qt5serialport/qt5serialport.hash +++ b/package/qt5/qt5serialport/qt5serialport.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 6d49d0da174632f51291b0190f6f1db2397a3b339cf293514252766f8a20c63b qtserialport-c9abfcd5d88cb43c2a7c1d5ddecbff4cdd320694.tar.bz2 +sha256 2b7584de148f0b6ea2cf162609d44d7ad3bb893b1995427ceed72cb4562db6d7 qtserialport-3380465d5d4977326616c5e57789a81681be650e.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5serialport/qt5serialport.mk b/package/qt5/qt5serialport/qt5serialport.mk index 7d00bd2ab7..462d1dd7b9 100644 --- a/package/qt5/qt5serialport/qt5serialport.mk +++ b/package/qt5/qt5serialport/qt5serialport.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SERIALPORT_VERSION = c9abfcd5d88cb43c2a7c1d5ddecbff4cdd320694 +QT5SERIALPORT_VERSION = 3380465d5d4977326616c5e57789a81681be650e QT5SERIALPORT_SITE = $(QT5_SITE)/qtserialport/-/archive/$(QT5SERIALPORT_VERSION) QT5SERIALPORT_SOURCE = qtserialport-$(QT5SERIALPORT_VERSION).tar.bz2 QT5SERIALPORT_INSTALL_STAGING = YES diff --git a/package/qt5/qt5speech/qt5speech.hash b/package/qt5/qt5speech/qt5speech.hash index 595aac9f22..3be66a77fe 100644 --- a/package/qt5/qt5speech/qt5speech.hash +++ b/package/qt5/qt5speech/qt5speech.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 6d0794ab9d5286d04fbac2db44c00ed3306e569c876f84cfd91ac0e79c834b1e qtspeech-d32f4a479d38a11f547598004b975f4356424a16.tar.bz2 +sha256 4be0161595806cfc5c9c3160a83d0379269a2813dd4b3ffe2e2a1328f23d8fbc qtspeech-214dcefc7c408e11a3e9fe9d221e4a384e2eaca1.tar.bz2 # Hashes for license files: sha256 6c3f3c31b93985f1b93bfbb35fb609d37281697d0efc220c9f91cf4b59eaabde LICENSE.GPLv2 diff --git a/package/qt5/qt5speech/qt5speech.mk b/package/qt5/qt5speech/qt5speech.mk index 8cf6fe19c1..c8054431df 100644 --- a/package/qt5/qt5speech/qt5speech.mk +++ b/package/qt5/qt5speech/qt5speech.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SPEECH_VERSION = d32f4a479d38a11f547598004b975f4356424a16 +QT5SPEECH_VERSION = 214dcefc7c408e11a3e9fe9d221e4a384e2eaca1 QT5SPEECH_SITE = $(QT5_SITE)/qtspeech/-/archive/$(QT5SPEECH_VERSION) QT5SPEECH_SOURCE = qtspeech-$(QT5SPEECH_VERSION).tar.bz2 QT5SPEECH_INSTALL_STAGING = YES diff --git a/package/qt5/qt5svg/qt5svg.hash b/package/qt5/qt5svg/qt5svg.hash index 4816206d64..f3e47da5de 100644 --- a/package/qt5/qt5svg/qt5svg.hash +++ b/package/qt5/qt5svg/qt5svg.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 063ee53515b934c00a65838fe8521142e4a9161b07c8e19b5bb0ea26a0ce9ab3 qtsvg-a9752b00a03438de8e5b080073816e12409404b7.tar.bz2 +sha256 6a71029b46e71667f86c48923f0b292c3057ea56b2aedb8aeaa5af70e85e71c3 qtsvg-3385b64df939815e9df5955f991d270d47a5515b.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5svg/qt5svg.mk b/package/qt5/qt5svg/qt5svg.mk index 2a39ed18fe..c1d019000b 100644 --- a/package/qt5/qt5svg/qt5svg.mk +++ b/package/qt5/qt5svg/qt5svg.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SVG_VERSION = a9752b00a03438de8e5b080073816e12409404b7 +QT5SVG_VERSION = 3385b64df939815e9df5955f991d270d47a5515b QT5SVG_SITE = $(QT5_SITE)/qtsvg/-/archive/$(QT5SVG_VERSION) QT5SVG_SOURCE = qtsvg-$(QT5SVG_VERSION).tar.bz2 QT5SVG_INSTALL_STAGING = YES diff --git a/package/qt5/qt5tools/qt5tools.hash b/package/qt5/qt5tools/qt5tools.hash index d603598257..d4ea0dc047 100644 --- a/package/qt5/qt5tools/qt5tools.hash +++ b/package/qt5/qt5tools/qt5tools.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 b6eebbd61dcde981d63ce6de39b3c957bad8f11b0140585ba4d57d166c4dd79d qttools-32912a06aadfc3dcbc34e0a668ce2c78351eee6e.tar.bz2 +sha256 7214584115d0b89a362c6b0e8586d6228ac138f3ed5e52c97962b8634edbbcfd qttools-ddf6686e9bce7a3232af14a2966b4c895e654f02.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5tools/qt5tools.mk b/package/qt5/qt5tools/qt5tools.mk index a01a336584..98f3948d17 100644 --- a/package/qt5/qt5tools/qt5tools.mk +++ b/package/qt5/qt5tools/qt5tools.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5TOOLS_VERSION = 32912a06aadfc3dcbc34e0a668ce2c78351eee6e +QT5TOOLS_VERSION = ddf6686e9bce7a3232af14a2966b4c895e654f02 QT5TOOLS_SITE = $(QT5_SITE)/qttools/-/archive/$(QT5TOOLS_VERSION) QT5TOOLS_SOURCE = qttools-$(QT5TOOLS_VERSION).tar.bz2 diff --git a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash index 60d51fa5fe..89559b63f2 100644 --- a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash +++ b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 e1e356e81f3a3fb5da6f6739aa475c15aab15090e202de6704441a3bf41c335b qtvirtualkeyboard-9fbb837b55887bec5d73fad142c853ef68db35b3.tar.bz2 +sha256 c8dfb16614a63e39c714673abe35a7c30107d359356695634af619e62e8ce6cd qtvirtualkeyboard-817378aa10176fd26eed36542bc657e48d9dd42e.tar.bz2 # Hashes for license files: sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk index 49ce71b75e..5657d78c30 100644 --- a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk +++ b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5VIRTUALKEYBOARD_VERSION = 9fbb837b55887bec5d73fad142c853ef68db35b3 +QT5VIRTUALKEYBOARD_VERSION = 817378aa10176fd26eed36542bc657e48d9dd42e QT5VIRTUALKEYBOARD_SITE = $(QT5_SITE)/qtvirtualkeyboard/-/archive/$(QT5VIRTUALKEYBOARD_VERSION) QT5VIRTUALKEYBOARD_SOURCE = qtvirtualkeyboard-$(QT5VIRTUALKEYBOARD_VERSION).tar.bz2 QT5VIRTUALKEYBOARD_DEPENDENCIES = qt5declarative qt5svg diff --git a/package/qt5/qt5wayland/qt5wayland.hash b/package/qt5/qt5wayland/qt5wayland.hash index c9d7f3434c..f4a1663add 100644 --- a/package/qt5/qt5wayland/qt5wayland.hash +++ b/package/qt5/qt5wayland/qt5wayland.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 c881745403a7c3639ee928f64ac9e7252d7a941cb62ef682a7ee83ccf3ae0a60 qtwayland-8faf74a7966b520f0ac3eb4d88235f8ec63b31b8.tar.bz2 +sha256 d45149cce43ad76f0c8ee43f0469728259d2ab341cf7e2c02ddab6163c5f1d13 qtwayland-b8f1882df7215b6e00f66b7a6a08afafe230de29.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5wayland/qt5wayland.mk b/package/qt5/qt5wayland/qt5wayland.mk index aeca1b0381..4ce89fc46a 100644 --- a/package/qt5/qt5wayland/qt5wayland.mk +++ b/package/qt5/qt5wayland/qt5wayland.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5WAYLAND_VERSION = 8faf74a7966b520f0ac3eb4d88235f8ec63b31b8 +QT5WAYLAND_VERSION = b8f1882df7215b6e00f66b7a6a08afafe230de29 QT5WAYLAND_SITE = $(QT5_SITE)/qtwayland/-/archive/$(QT5WAYLAND_VERSION) QT5WAYLAND_SOURCE = qtwayland-$(QT5WAYLAND_VERSION).tar.bz2 QT5WAYLAND_DEPENDENCIES = wayland diff --git a/package/qt5/qt5webchannel/qt5webchannel.hash b/package/qt5/qt5webchannel/qt5webchannel.hash index b5e9f1a043..7f2a357dbb 100644 --- a/package/qt5/qt5webchannel/qt5webchannel.hash +++ b/package/qt5/qt5webchannel/qt5webchannel.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 a281a053471f5c480d7c2679caa0a759e8628f6eafc07c1781f1eb8bb97ee37d qtwebchannel-8c842152da613f941892481d62267c73c4a4f006.tar.bz2 +sha256 7d482e5140d789b417c359f557da783ed2cc07e8148133971caeb5b48b418645 qtwebchannel-48a520c11a0ef57f2553746159acf739c7f3863d.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5webchannel/qt5webchannel.mk b/package/qt5/qt5webchannel/qt5webchannel.mk index 54e6a70ddb..8ba81383d1 100644 --- a/package/qt5/qt5webchannel/qt5webchannel.mk +++ b/package/qt5/qt5webchannel/qt5webchannel.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5WEBCHANNEL_VERSION = 8c842152da613f941892481d62267c73c4a4f006 +QT5WEBCHANNEL_VERSION = 48a520c11a0ef57f2553746159acf739c7f3863d QT5WEBCHANNEL_SITE = $(QT5_SITE)/qtwebchannel/-/archive/$(QT5WEBCHANNEL_VERSION) QT5WEBCHANNEL_SOURCE = qtwebchannel-$(QT5WEBCHANNEL_VERSION).tar.bz2 QT5WEBCHANNEL_DEPENDENCIES = qt5websockets diff --git a/package/qt5/qt5webengine/qt5webengine.hash b/package/qt5/qt5webengine/qt5webengine.hash index 038446a9f4..e0447c70b1 100644 --- a/package/qt5/qt5webengine/qt5webengine.hash +++ b/package/qt5/qt5webengine/qt5webengine.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 4a3456df42e1c1b859232b3ee1d58360e629d55daf6e5ad308871142c1b0c2fa qtwebengine-v5.15.10-lts.tar.bz2 +sha256 e7c9534453472311c06605f2892e038e9920bf10ca3a0dad99b46955ea124618 qtwebengine-v5.15.11-lts.tar.bz2 # Locally calculated sha256 f34787ef0342c614b667186a6ec2f5d6b9d650e30142a2788a589a89743e88e9 LICENSE.Chromium diff --git a/package/qt5/qt5websockets/qt5websockets.hash b/package/qt5/qt5websockets/qt5websockets.hash index 72fbb4a599..fa3cc48995 100644 --- a/package/qt5/qt5websockets/qt5websockets.hash +++ b/package/qt5/qt5websockets/qt5websockets.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 00a6d312f2e0ec8c64c12f6a178681d5936ec65bc7f1b85948b58cdb5021a8b6 qtwebsockets-6a4991250793cd38efa5e8db858cd49c82439130.tar.bz2 +sha256 2e024a4c0706d58a9c846cc1d036f383906e392f3cd7c3051fc56915b7530eee qtwebsockets-50f3853a83ffc80a978cfa0882bdc2859e8de71e.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5websockets/qt5websockets.mk b/package/qt5/qt5websockets/qt5websockets.mk index 4eafb0b212..bb96fefe82 100644 --- a/package/qt5/qt5websockets/qt5websockets.mk +++ b/package/qt5/qt5websockets/qt5websockets.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5WEBSOCKETS_VERSION = 6a4991250793cd38efa5e8db858cd49c82439130 +QT5WEBSOCKETS_VERSION = 50f3853a83ffc80a978cfa0882bdc2859e8de71e QT5WEBSOCKETS_SITE = $(QT5_SITE)/qtwebsockets/-/archive/$(QT5WEBSOCKETS_VERSION) QT5WEBSOCKETS_SOURCE = qtwebsockets-$(QT5WEBSOCKETS_VERSION).tar.bz2 QT5WEBSOCKETS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5webview/qt5webview.hash b/package/qt5/qt5webview/qt5webview.hash index d928c7cdce..00525dbad2 100644 --- a/package/qt5/qt5webview/qt5webview.hash +++ b/package/qt5/qt5webview/qt5webview.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 38f6c0a2863e9144632286b0ef43db506b8631eeff0f8facae14b0da86ca0491 qtwebview-87577dde04ed219bda776dabca86176149736331.tar.bz2 +sha256 2427179da946d6df409e334c94ffe3f8589035a5d566caf52db2333cc9bfe47c qtwebview-f078642eb9a440f6aa88f2beaf10f445de1e29bb.tar.bz2 # Hashes for license files: sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/package/qt5/qt5webview/qt5webview.mk b/package/qt5/qt5webview/qt5webview.mk index a55fd8ae74..01a377c27b 100644 --- a/package/qt5/qt5webview/qt5webview.mk +++ b/package/qt5/qt5webview/qt5webview.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5WEBVIEW_VERSION = 87577dde04ed219bda776dabca86176149736331 +QT5WEBVIEW_VERSION = f078642eb9a440f6aa88f2beaf10f445de1e29bb QT5WEBVIEW_SITE = $(QT5_SITE)/qtwebview/-/archive/$(QT5WEBVIEW_VERSION) QT5WEBVIEW_SOURCE = qtwebview-$(QT5WEBVIEW_VERSION).tar.bz2 QT5WEBVIEW_DEPENDENCIES = qt5webengine diff --git a/package/qt5/qt5x11extras/qt5x11extras.hash b/package/qt5/qt5x11extras/qt5x11extras.hash index 87dac8625e..132c28dd96 100644 --- a/package/qt5/qt5x11extras/qt5x11extras.hash +++ b/package/qt5/qt5x11extras/qt5x11extras.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 cf9124f3d35f1c8db4e9e47943cb1ec86834abf2be38d70412d0452e64462906 qtx11extras-982f20eb585d77e5b5c721e05a466d7161f7f2d1.tar.bz2 +sha256 7d99fa4d900207c0ae1c7a514e7dc0b607c04e0232d2842a8d84f52534bd16e6 qtx11extras-5fb2e067a38d3583684310130f5d8aad064f512f.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5x11extras/qt5x11extras.mk b/package/qt5/qt5x11extras/qt5x11extras.mk index 80c5498518..a6fade0135 100644 --- a/package/qt5/qt5x11extras/qt5x11extras.mk +++ b/package/qt5/qt5x11extras/qt5x11extras.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5X11EXTRAS_VERSION = 982f20eb585d77e5b5c721e05a466d7161f7f2d1 +QT5X11EXTRAS_VERSION = 5fb2e067a38d3583684310130f5d8aad064f512f QT5X11EXTRAS_SITE = $(QT5_SITE)/qtx11extras/-/archive/$(QT5X11EXTRAS_VERSION) QT5X11EXTRAS_SOURCE = qtx11extras-$(QT5X11EXTRAS_VERSION).tar.bz2 QT5X11EXTRAS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash index 353dfc8485..9be7bb7831 100644 --- a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash +++ b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 067b801049f6fada8e7ebcfbce0530db6217a1a94b8ed34c99c530be4129889d qtxmlpatterns-30e6c84fe2752cde8b53aff9d38c2095cd7c8761.tar.bz2 +sha256 7770b333f2c0079cf65aa19dafd9e7d80fe058baf8e924f1c0d6e75c0b6e7374 qtxmlpatterns-5a1948ddc05bf44017ac12bd5c2b9bc79fbcb9a2.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk index 803c36cf04..2126d3c915 100644 --- a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk +++ b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5XMLPATTERNS_VERSION = 30e6c84fe2752cde8b53aff9d38c2095cd7c8761 +QT5XMLPATTERNS_VERSION = 5a1948ddc05bf44017ac12bd5c2b9bc79fbcb9a2 QT5XMLPATTERNS_SITE = $(QT5_SITE)/qtxmlpatterns/-/archive/$(QT5XMLPATTERNS_VERSION) QT5XMLPATTERNS_SOURCE = qtxmlpatterns-$(QT5XMLPATTERNS_VERSION).tar.bz2 QT5XMLPATTERNS_INSTALL_STAGING = YES -- 2.42.0 From peter at korsgaard.com Thu Oct 12 14:35:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:35:47 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series In-Reply-To: <20231011174620.52181-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:46:20 +0200") References: <20231011174620.52181-1-bernd@kuhls.net> Message-ID: <87edhzc3i4.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:35:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:35:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: bump version to 0.3.81 In-Reply-To: <20231011175020.55779-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:50:20 +0200") References: <20231011175020.55779-1-bernd@kuhls.net> Message-ID: <87a5snc3ht.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/NEWS > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:36:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/cmake: bump version to 3.27.7 In-Reply-To: <20231011175459.72943-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:54:59 +0200") References: <20231011175459.72943-1-bernd@kuhls.net> Message-ID: <875y3bc3hg.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Changelog: https://cmake.org/cmake/help/v3.27/release/3.27.html#updates > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:36:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/dav1d: bump version to 1.3.0 In-Reply-To: <20231011180140.74551-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 20:01:40 +0200") References: <20231011180140.74551-1-bernd@kuhls.net> Message-ID: <871qdzc3h2.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:36:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/gettext-gnu: bump version to 0.22.3 In-Reply-To: <20231011175926.74349-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:59:26 +0200") References: <20231011175926.74349-1-bernd@kuhls.net> Message-ID: <87wmvraovp.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob;f=NEWS;h=9ed51966572af1c65074fcfbd18db24f1321c55d;hb=c9af3e4eeccc178a0833754e3d8c7083591e75ba > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:37:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:37:26 +0200 Subject: [Buildroot] [PATCH] package/squid: bump version to 6.3 In-Reply-To: (Waldemar Brodkorb's message of "Thu, 5 Oct 2023 08:14:09 +0200") References: Message-ID: <87sf6faoux.fsf@48ers.dk> >>>>> "Waldemar" == Waldemar Brodkorb writes: > Signed-off-by: Waldemar Brodkorb Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:38:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:38:49 +0200 Subject: [Buildroot] [PATCH] package/libcue: security bump to version 2.3.0 In-Reply-To: <20231011083951.177891-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 11 Oct 2023 10:39:51 +0200") References: <20231011083951.177891-1-peter@korsgaard.com> Message-ID: <87o7h3aosm.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issue: > CVE-2023-43641: Out-of-bounds array access in track_set_index > https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj > For more details, see the github writeup: > https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:38:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:38:57 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.3 In-Reply-To: <20231011114736.311388-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 11 Oct 2023 13:47:35 +0200") References: <20231011114736.311388-1-peter@korsgaard.com> Message-ID: <87jzrraose.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-39325: rapid stream resets can cause excessive work > A malicious HTTP/2 client which rapidly creates requests and immediately > resets them can cause excessive server resource consumption. While the > total number of requests is bounded to the http2.Server.MaxConcurrentStreams > setting, resetting an in-progress request allows the attacker to create a > new request while the existing one is still executing. > go1.21.3 (released 2023-10-10) includes a security fix to the net/http > package. > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:35:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:35:55 +0200 Subject: [Buildroot] [git commit] package/pipewire: bump version to 0.3.81 Message-ID: <20231012143924.86209845F9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9e00cb0444b7cbaf1fca3a6d345ab3d487775d2b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/NEWS Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/pipewire/pipewire.hash | 2 +- package/pipewire/pipewire.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash index 2f04931284..3370d86641 100644 --- a/package/pipewire/pipewire.hash +++ b/package/pipewire/pipewire.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 cf4b770fe4e2379527f63e01b52b50a37d529608f766ecb40fe57da4c087a507 pipewire-0.3.80.tar.bz2 +sha256 2b6e0c4d2e544f5030fa7f4ecf1edd9e5eed15dda1c97135e8a1fded9f3425fe pipewire-0.3.81.tar.bz2 sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index f0b37a0e43..628c69ff8a 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -4,7 +4,7 @@ # ################################################################################ -PIPEWIRE_VERSION = 0.3.80 +PIPEWIRE_VERSION = 0.3.81 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) From peter at korsgaard.com Thu Oct 12 14:36:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:34 +0200 Subject: [Buildroot] [git commit] package/gettext-gnu: bump version to 0.22.3 Message-ID: <20231012143924.A23F5845F7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3e255877b76ceeaaa742861e5e1eac0e0b30403d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob;f=NEWS;h=9ed51966572af1c65074fcfbd18db24f1321c55d;hb=c9af3e4eeccc178a0833754e3d8c7083591e75ba Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/gettext-gnu/gettext-gnu.hash | 2 +- package/gettext-gnu/gettext-gnu.mk | 2 +- package/gettext-tiny/gettext-tiny.hash | 2 +- package/gettext-tiny/gettext-tiny.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/gettext-gnu/gettext-gnu.hash b/package/gettext-gnu/gettext-gnu.hash index 878253bea4..f307b4a9fd 100644 --- a/package/gettext-gnu/gettext-gnu.hash +++ b/package/gettext-gnu/gettext-gnu.hash @@ -1,5 +1,5 @@ # Please keep in sync with package/gettext-tiny/gettext-tiny.hash # Locally calculated -sha256 4c82fbfe5e53d71a97c634aa98a898b9da807b08b27410f6a4641e8bb44dc4b2 gettext-0.22.2.tar.xz +sha256 b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6 gettext-0.22.3.tar.xz sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b COPYING sha256 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288 gettext-runtime/intl/COPYING.LIB diff --git a/package/gettext-gnu/gettext-gnu.mk b/package/gettext-gnu/gettext-gnu.mk index 06ada568b1..35b79d1926 100644 --- a/package/gettext-gnu/gettext-gnu.mk +++ b/package/gettext-gnu/gettext-gnu.mk @@ -6,7 +6,7 @@ # Please keep in sync with GETTEXT_TINY_ARCHIVE_VERSION in # gettext-tiny/gettext-tiny.mk -GETTEXT_GNU_VERSION = 0.22.2 +GETTEXT_GNU_VERSION = 0.22.3 GETTEXT_GNU_SITE = $(BR2_GNU_MIRROR)/gettext GETTEXT_GNU_SOURCE = gettext-$(GETTEXT_GNU_VERSION).tar.xz GETTEXT_GNU_INSTALL_STAGING = YES diff --git a/package/gettext-tiny/gettext-tiny.hash b/package/gettext-tiny/gettext-tiny.hash index 02d9a803da..a72b0c35e4 100644 --- a/package/gettext-tiny/gettext-tiny.hash +++ b/package/gettext-tiny/gettext-tiny.hash @@ -3,4 +3,4 @@ sha256 29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383 gettex sha256 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f LICENSE sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b extra/COPYING # Locally Computed: -sha256 4c82fbfe5e53d71a97c634aa98a898b9da807b08b27410f6a4641e8bb44dc4b2 gettext-0.22.2.tar.xz +sha256 b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6 gettext-0.22.3.tar.xz diff --git a/package/gettext-tiny/gettext-tiny.mk b/package/gettext-tiny/gettext-tiny.mk index 0aef4b0058..e4a3625c5a 100644 --- a/package/gettext-tiny/gettext-tiny.mk +++ b/package/gettext-tiny/gettext-tiny.mk @@ -15,7 +15,7 @@ GETTEXT_TINY_PROVIDES = gettext # needed for gettextize # Please keep in sync with package/gettext-gnu/gettext-gnu.mk -GETTEXT_TINY_ARCHIVE_VERSION = 0.22.2 +GETTEXT_TINY_ARCHIVE_VERSION = 0.22.3 GETTEXT_TINY_EXTRA_GETTEXT_FILES = \ gettext-tools/misc/gettextize.in \ From peter at korsgaard.com Thu Oct 12 14:38:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:38:28 +0200 Subject: [Buildroot] [git commit] package/go: security bump to version 1.21.3 Message-ID: <20231012143924.AB453845F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=91045831247850d54d1eb13a54edcfdc5de80ab8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-39325: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. go1.21.3 (released 2023-10-10) includes a security fix to the net/http package. Signed-off-by: Peter Korsgaard Reviewed-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index a2ec6b5923..9499f50964 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz +sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21.3.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 2c32e90817..ef27f32835 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.2 +GO_VERSION = 1.21.3 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Thu Oct 12 14:34:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:34:45 +0200 Subject: [Buildroot] [git commit] package/squid: bump version to 6.3 Message-ID: <20231012143924.7194F845F7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0e15854fbcb12c22bda59affb658aecc002177ed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Waldemar Brodkorb Signed-off-by: Peter Korsgaard --- package/squid/squid.hash | 8 ++++---- package/squid/squid.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/squid/squid.hash b/package/squid/squid.hash index ec60a0e9d1..a6d4c5d056 100644 --- a/package/squid/squid.hash +++ b/package/squid/squid.hash @@ -1,6 +1,6 @@ -# From http://www.squid-cache.org/Versions/v6/squid-6.2.tar.xz.asc -md5 ad01b7d82b6a00ffd8cd39b97113d05a squid-6.2.tar.xz -sha1 29ddb4c522a36f1270e7cfa66f0dec8805fd2b57 squid-6.2.tar.xz +# From http://www.squid-cache.org/Versions/v6/squid-6.3.tar.xz.asc +md5 2512b5d27856e6f91a97719784506893 squid-6.3.tar.xz +sha1 7bd74034015c6a4d345a4d277a431908bed2ec4a squid-6.3.tar.xz # Locally calculated -sha256 dd759e151e997d31786d91743d327b1b4b532f1caea66bf81100ec8ba04ec4c1 squid-6.2.tar.xz +sha256 74a0f5586a7a5d89573d502708d5e1d66ddf0430cf4802cc7261b765653248fa squid-6.3.tar.xz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/squid/squid.mk b/package/squid/squid.mk index 167e9f67d8..019a202952 100644 --- a/package/squid/squid.mk +++ b/package/squid/squid.mk @@ -4,7 +4,7 @@ # ################################################################################ -SQUID_VERSION = 6.2 +SQUID_VERSION = 6.3 SQUID_SOURCE = squid-$(SQUID_VERSION).tar.xz SQUID_SITE = http://www.squid-cache.org/Versions/v6 SQUID_LICENSE = GPL-2.0+ From peter at korsgaard.com Thu Oct 12 14:38:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:38:35 +0200 Subject: [Buildroot] [git commit] package/libcue: security bump to version 2.3.0 Message-ID: <20231012143924.B6828845F9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3aee3a326d37ae5ddaf99bbc7bcf26a5c1ea7b2a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issue: CVE-2023-43641: Out-of-bounds array access in track_set_index https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj For more details, see the github writeup: https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ Signed-off-by: Peter Korsgaard --- package/libcue/libcue.hash | 2 +- package/libcue/libcue.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcue/libcue.hash b/package/libcue/libcue.hash index 93ae2dacdb..47fe906e1a 100644 --- a/package/libcue/libcue.hash +++ b/package/libcue/libcue.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 f27bc3ebb2e892cd9d32a7bee6d84576a60f955f29f748b9b487b173712f1200 libcue-2.2.1.tar.gz +sha256 cc1b3a65c60bd88b77a1ddd1574042d83cf7cc32b85fe9481c99613359eb7cfe libcue-2.3.0.tar.gz sha256 c388d36583fa54e13b6d73ad924d0b68d073ed8a5771e17cb49104705df4504f LICENSE diff --git a/package/libcue/libcue.mk b/package/libcue/libcue.mk index 3edb4f3b69..7ef27f5a17 100644 --- a/package/libcue/libcue.mk +++ b/package/libcue/libcue.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCUE_VERSION = 2.2.1 +LIBCUE_VERSION = 2.3.0 LIBCUE_SITE = $(call github,lipnitsk,libcue,v$(LIBCUE_VERSION)) LIBCUE_LICENSE = GPL-2.0, BSD-2-Clause (rem.c) LIBCUE_LICENSE_FILES = LICENSE From peter at korsgaard.com Thu Oct 12 14:35:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:35:33 +0200 Subject: [Buildroot] [git commit] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231012143924.7D9CF845F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d71743b7360c19d7555529077a47fb14eba8d234 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index a6b4967a8c..3aef7142c2 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.6" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.7" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index dfcc87802b..92ea8cdb88 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 78e36d4214547051c24df2140f4ce09428d6c515ad9a71b38b28e8094a95d2f6 linux-6.5.6.tar.xz -sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz +sha256 0d09ea448005c9cfe5383e4c72a872b39188b928f8c44e146b03b1b7851fbb8c linux-6.5.7.tar.xz +sha256 f9ebfe3ddc5152d87b37e33be30e31875d137433be10a57ce29d2eae7b6e91b1 linux-6.1.57.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz -sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz -sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz +sha256 14835e629e237f136cfed484fdb533c95242429809bdcdb2a2d66dfcb7447170 linux-5.15.135.tar.xz +sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz +sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 b732c2e4f08576a9dd5bb14213cead3835acbb101a91aaba3d6ace302fd538ac linux-4.19.295.tar.xz -sha256 555ce40f1df4c0f4a74cbefcaad0c67108615860968720faabe51cdee2df1478 linux-4.14.326.tar.xz +sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz +sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index e2e2655964..a93458c399 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -404,13 +404,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.326" if BR2_KERNEL_HEADERS_4_14 - default "4.19.295" if BR2_KERNEL_HEADERS_4_19 - default "5.4.257" if BR2_KERNEL_HEADERS_5_4 - default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.134" if BR2_KERNEL_HEADERS_5_15 - default "6.1.56" if BR2_KERNEL_HEADERS_6_1 - default "6.5.6" if BR2_KERNEL_HEADERS_6_5 + default "4.14.327" if BR2_KERNEL_HEADERS_4_14 + default "4.19.296" if BR2_KERNEL_HEADERS_4_19 + default "5.4.258" if BR2_KERNEL_HEADERS_5_4 + default "5.10.198" if BR2_KERNEL_HEADERS_5_10 + default "5.15.135" if BR2_KERNEL_HEADERS_5_15 + default "6.1.57" if BR2_KERNEL_HEADERS_6_1 + default "6.5.7" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Thu Oct 12 14:36:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:21 +0200 Subject: [Buildroot] [git commit] package/dav1d: bump version to 1.3.0 Message-ID: <20231012143924.983C9845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa30acd770f4ef4bf1bc548f9cb8df3adf06938b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/dav1d/dav1d.hash | 4 ++-- package/dav1d/dav1d.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/dav1d/dav1d.hash b/package/dav1d/dav1d.hash index 68757060bf..0b2c53ec21 100644 --- a/package/dav1d/dav1d.hash +++ b/package/dav1d/dav1d.hash @@ -1,4 +1,4 @@ -# From https://download.videolan.org/pub/videolan/dav1d/1.2.1/dav1d-1.2.1.tar.xz.sha256 -sha256 4e33eb61ec54c768a16da0cf8fa0928b4c4593f5f804a3c887d4a21c318340b2 dav1d-1.2.1.tar.xz +# From https://download.videolan.org/pub/videolan/dav1d/1.3.0/dav1d-1.3.0.tar.xz.sha256 +sha256 6d8be2741c505c47f8f1ced3c9cc427759243436553d01d1acce201f87b39e71 dav1d-1.3.0.tar.xz # Locally computed sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING diff --git a/package/dav1d/dav1d.mk b/package/dav1d/dav1d.mk index e90f53dc1a..3650f28730 100644 --- a/package/dav1d/dav1d.mk +++ b/package/dav1d/dav1d.mk @@ -4,7 +4,7 @@ # ################################################################################ -DAV1D_VERSION = 1.2.1 +DAV1D_VERSION = 1.3.0 DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz DAV1D_SITE = https://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION) DAV1D_LICENSE = BSD-2-Clause From peter at korsgaard.com Thu Oct 12 14:36:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:06 +0200 Subject: [Buildroot] [git commit] package/cmake: bump version to 3.27.7 Message-ID: <20231012143924.8F608845FD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5e4130d05cb50a39c1d90072bbef30406ebd6eb2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://cmake.org/cmake/help/v3.27/release/3.27.html#updates Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/cmake/cmake.hash | 4 ++-- package/cmake/cmake.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash index 8b1ae5b4a6..e495061bae 100644 --- a/package/cmake/cmake.hash +++ b/package/cmake/cmake.hash @@ -1,5 +1,5 @@ -# From https://cmake.org/files/v3.27/cmake-3.27.6-SHA-256.txt -sha256 ef3056df528569e0e8956f6cf38806879347ac6de6a4ff7e4105dc4578732cfb cmake-3.27.6.tar.gz +# From https://cmake.org/files/v3.27/cmake-3.27.7-SHA-256.txt +sha256 08f71a106036bf051f692760ef9558c0577c42ac39e96ba097e7662bd4158d8e cmake-3.27.7.tar.gz # Locally calculated sha256 4a01ccf2dc580ba570d02bc015bbe0ec92f1f318717aae9540ba841ba7946756 Copyright.txt diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk index 3bb2c4bffb..41278bf6db 100644 --- a/package/cmake/cmake.mk +++ b/package/cmake/cmake.mk @@ -6,7 +6,7 @@ # When updating the version, please also update BR2_HOST_CMAKE_AT_LEAST_X_Y CMAKE_VERSION_MAJOR = 3.27 -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6 +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).7 CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR) CMAKE_LICENSE = BSD-3-Clause CMAKE_LICENSE_FILES = Copyright.txt From peter at korsgaard.com Thu Oct 12 14:40:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:40:11 +0200 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump to version 1.7.7 In-Reply-To: <20231009213624.107730-1-christian@aperture.us> (Christian Stewart's message of "Mon, 9 Oct 2023 14:36:24 -0700") References: <20231009213624.107730-1-christian@aperture.us> Message-ID: <87fs2faoqc.fsf@48ers.dk> >>>>> "Christian" == Christian Stewart writes: > Contains various fixes and updates. > https://github.com/containerd/containerd/releases/tag/v1.7.7 > Signed-off-by: Christian Stewart Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:40:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:40:07 +0200 Subject: [Buildroot] [git commit] package/containerd: bump to version 1.7.7 Message-ID: <20231012144206.46B1E84601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=79e01ef9506a6cdc4836912607dc594ae7b1999d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Contains various fixes and updates. https://github.com/containerd/containerd/releases/tag/v1.7.7 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5e0ef4517..450d1d1081 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 084a62f78f96cb5fda02221425f14df09d3e0acd093e4d4b3527900e3ff94677 containerd-1.7.6.tar.gz +sha256 4c6042b13746a803766d76b07f756d03678a33a944b52c0b832c238609db1b2e containerd-1.7.7.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 0591400709..d29a796a72 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.7.6 +CONTAINERD_VERSION = 1.7.7 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From peter at korsgaard.com Thu Oct 12 16:03:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:03:04 +0200 Subject: [Buildroot] [PATCHv3] package/go: cgo for the target needs the toolchain In-Reply-To: <87pm20cg1v.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 08:48:28 +0200") References: <87pm20cg1v.fsf@48ers.dk> Message-ID: <877cnrakw7.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> writes: >> From: Christian Stewart >> Build go with cgo support needs to build some .c files to generate >> target support code, and thus calls the cross C compiler, which is >> failing when the toolchain is not built before host-go: >>>>> host-go 1.21.1 Building >> cd .../build/host-go-1.21.1/src && GO111MODULE=off GOCACHE=.../per-package/host-go/host/share/host-go-cache GOROOT_BOOTSTRAP=.../per-package/host-go/host/lib/go-1.19.11 GOROOT_FINAL=.../per-package/host-go/host/lib/go GOROOT=".../build/host-go-1.21.1" GOBIN=".../build/host-go-1.21.1/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-gcc" CXX_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-g++" GOOS="linux" GOARCH=arm GOARM=6 GO_ASSUME_CROSSCOMPILING=1 ./make.bash >> Building Go cmd/dist using .../per-package/host-go/host/lib/go-1.19.11. (go1.19.11 linux/amd64) >> go tool dist: cannot invoke C compiler [".../per-package/host-go/host/bin/arm-linux-gcc"]: fork/exec .../per-package/host-go/host/bin/arm-linux-gcc: no such file or directory >> Go needs a system C compiler for use with cgo. >> To set a C compiler, set CC=the-compiler. >> To disable cgo, set CGO_ENABLED=0. >> This happens systematically with PPD, and happens without PPD when >> host-go is explicitly built (by running: "make host-go"). >> Since only CGO support needs to compile C files, onmy add the toolchain >> dependency in that case. >> When the target is not supported by go, then there is obviously no need >> to depend on the toolchain (even if we unconditionally enable cgo >> support in only-for-the-host host-go). >> Signed-off-by: Christian Stewart >> [yann.morin at orange.com: >> - only add the toolchain dependency for target cgo >> - reword commit log >> ] >> Signed-off-by: Yann E. MORIN >> Cc: Thomas Petazzoni >> Cc: Anisse Astier >> --- >> Changes v2 -> v3: >> - properly reassign authorship to Christian (sorry for the screw up) >> Changes v1 -> v2: >> - only add the toolchain dependency for target cgo >> - reword commit log >> v1 by Christian: >> https://lore.kernel.org/buildroot/20230728052530.1122268-1-christian at aperture.us/ >> --- >> package/go/go.mk | 1 + >> 1 file changed, 1 insertion(+) > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 16:02:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:02:28 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: cgo for the target needs the toolchain Message-ID: <20231012160336.762558460E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e1d045174bfc99ee8eaf0833805628a300765023 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Building go with cgo support needs to build some .c files to generate target support code, and thus calls the cross C compiler, which is failing when the toolchain is not built before host-go: >>> host-go 1.21.1 Building cd .../build/host-go-1.21.1/src && GO111MODULE=off GOCACHE=.../per-package/host-go/host/share/host-go-cache GOROOT_BOOTSTRAP=.../per-package/host-go/host/lib/go-1.19.11 GOROOT_FINAL=.../per-package/host-go/host/lib/go GOROOT=".../build/host-go-1.21.1" GOBIN=".../build/host-go-1.21.1/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-gcc" CXX_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-g++" GOOS="linux" GOARCH=arm GOARM=6 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using .../per-package/host-go/host/lib/go-1.19.11. (go1.19.11 linux/amd64) go tool dist: cannot invoke C compiler [".../per-package/host-go/host/bin/arm-linux-gcc"]: fork/exec .../per-package/host-go/host/bin/arm-linux-gcc: no such file or directory Go needs a system C compiler for use with cgo. To set a C compiler, set CC=the-compiler. To disable cgo, set CGO_ENABLED=0. This happens systematically with PPD, and happens without PPD when host-go is explicitly built (by running: "make host-go"). Since only CGO support needs to compile C files, only add the toolchain dependency in that case. When the target is not supported by go, then there is obviously no need to depend on the toolchain (even if we unconditionally enable cgo support in only-for-the-host host-go). Signed-off-by: Christian Stewart [yann.morin at orange.com: - only add the toolchain dependency for target cgo - reword commit log ] Signed-off-by: Yann E. MORIN Cc: Thomas Petazzoni Cc: Anisse Astier Signed-off-by: Peter Korsgaard (cherry picked from commit 1a44f9242c960dcb114f60674043c8044c71c2c0) Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index d75c1afa9e..01442b0f62 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -89,6 +89,7 @@ HOST_GO_TARGET_ENV = \ # any target package needing cgo support must include # 'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file. ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +HOST_GO_DEPENDENCIES += toolchain HOST_GO_CGO_ENABLED = 1 else HOST_GO_CGO_ENABLED = 0 From peter at korsgaard.com Thu Oct 12 15:26:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 17:26:24 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/go: cgo for the target needs the toolchain Message-ID: <20231012160351.399038460E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ede5bd5859e27b2e2d81464e671836a8df7a4c94 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Building go with cgo support needs to build some .c files to generate target support code, and thus calls the cross C compiler, which is failing when the toolchain is not built before host-go: >>> host-go 1.21.1 Building cd .../build/host-go-1.21.1/src && GO111MODULE=off GOCACHE=.../per-package/host-go/host/share/host-go-cache GOROOT_BOOTSTRAP=.../per-package/host-go/host/lib/go-1.19.11 GOROOT_FINAL=.../per-package/host-go/host/lib/go GOROOT=".../build/host-go-1.21.1" GOBIN=".../build/host-go-1.21.1/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-gcc" CXX_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-g++" GOOS="linux" GOARCH=arm GOARM=6 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using .../per-package/host-go/host/lib/go-1.19.11. (go1.19.11 linux/amd64) go tool dist: cannot invoke C compiler [".../per-package/host-go/host/bin/arm-linux-gcc"]: fork/exec .../per-package/host-go/host/bin/arm-linux-gcc: no such file or directory Go needs a system C compiler for use with cgo. To set a C compiler, set CC=the-compiler. To disable cgo, set CGO_ENABLED=0. This happens systematically with PPD, and happens without PPD when host-go is explicitly built (by running: "make host-go"). Since only CGO support needs to compile C files, only add the toolchain dependency in that case. When the target is not supported by go, then there is obviously no need to depend on the toolchain (even if we unconditionally enable cgo support in only-for-the-host host-go). Signed-off-by: Christian Stewart [yann.morin at orange.com: - only add the toolchain dependency for target cgo - reword commit log ] Signed-off-by: Yann E. MORIN Cc: Thomas Petazzoni Cc: Anisse Astier Signed-off-by: Peter Korsgaard (cherry picked from commit 1a44f9242c960dcb114f60674043c8044c71c2c0) Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index d75c1afa9e..01442b0f62 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -89,6 +89,7 @@ HOST_GO_TARGET_ENV = \ # any target package needing cgo support must include # 'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file. ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +HOST_GO_DEPENDENCIES += toolchain HOST_GO_CGO_ENABLED = 1 else HOST_GO_CGO_ENABLED = 0 From fontaine.fabrice at gmail.com Thu Oct 12 16:20:57 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 12 Oct 2023 18:20:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/libmatroska: bump to version 1.7.1 Message-ID: <20231012162057.4366-1-fontaine.fabrice@gmail.com> C++14 is mandatory since version 1.7.0 and https://github.com/Matroska-Org/libmatroska/commit/7263bbaac134a20a79dfe7bd23b364fcd1a588cc https://github.com/Matroska-Org/libmatroska/blob/release-1.7.1/NEWS.md Signed-off-by: Fabrice Fontaine --- package/libmatroska/Config.in | 2 +- package/libmatroska/libmatroska.hash | 2 +- package/libmatroska/libmatroska.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in index b2e4354df5..4d775c43a0 100644 --- a/package/libmatroska/Config.in +++ b/package/libmatroska/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA bool "libmatroska" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 select BR2_PACKAGE_LIBEBML help Extensible open standard audio/video container format access diff --git a/package/libmatroska/libmatroska.hash b/package/libmatroska/libmatroska.hash index 81b418d030..a3eb74e832 100644 --- a/package/libmatroska/libmatroska.hash +++ b/package/libmatroska/libmatroska.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 daf91a63f58dd157ca340c457871e66260cb9c3333fefb008b318befbb0e081a libmatroska-1.6.3.tar.xz +sha256 572a3033b8d93d48a6a858e514abce4b2f7a946fe1f02cbfeca39bfd703018b3 libmatroska-1.7.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL diff --git a/package/libmatroska/libmatroska.mk b/package/libmatroska/libmatroska.mk index 7d326c0076..6b5f34476a 100644 --- a/package/libmatroska/libmatroska.mk +++ b/package/libmatroska/libmatroska.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMATROSKA_VERSION = 1.6.3 +LIBMATROSKA_VERSION = 1.7.1 LIBMATROSKA_SOURCE = libmatroska-$(LIBMATROSKA_VERSION).tar.xz LIBMATROSKA_SITE = http://dl.matroska.org/downloads/libmatroska LIBMATROSKA_INSTALL_STAGING = YES -- 2.42.0 From peter at korsgaard.com Thu Oct 12 16:32:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:32:06 +0200 Subject: [Buildroot] [PATCH] board/qemu/aarch64-virt/linux.config: enable base ACPI support In-Reply-To: <87msx4axxw.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 10:04:59 +0200") References: <20230927085823.3477476-1-ben.dooks@codethink.co.uk> <87msx4axxw.fsf@48ers.dk> Message-ID: <8734yfajjt.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Ben" == Ben Dooks via buildroot writes: >> When testing the virt machine with EDK2, the buildroot 6.1 kernel >> will not boot as it has no base ACPI support. Whilst you can run >> qemu with the -no-acpi option, it would help if basic ACPI support >> was there as otherwise there is no output from the kernel post the >> ACPI BIOS initialisation. >> Signed-off-by: Ben Dooks > Committed, thanks. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 16:31:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:31:39 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] board/qemu/aarch64-virt/linux.config: enable base ACPI support Message-ID: <20231012163223.3880A84616@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5567239034016358b250d2d314ff141111508d7c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x When testing the virt machine with EDK2, the buildroot 6.1 kernel will not boot as it has no base ACPI support. Whilst you can run qemu with the -no-acpi option, it would help if basic ACPI support was there as otherwise there is no output from the kernel post the ACPI BIOS initialisation. Signed-off-by: Ben Dooks Signed-off-by: Peter Korsgaard (cherry picked from commit b1f9c511626e2a91f99ed6113ff29a504a717711) Signed-off-by: Peter Korsgaard --- board/qemu/aarch64-virt/linux.config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/qemu/aarch64-virt/linux.config b/board/qemu/aarch64-virt/linux.config index f9763b73b7..971b9fcf86 100644 --- a/board/qemu/aarch64-virt/linux.config +++ b/board/qemu/aarch64-virt/linux.config @@ -12,8 +12,7 @@ CONFIG_SCHED_AUTOGROUP=y CONFIG_PROFILING=y CONFIG_ARCH_VEXPRESS=y CONFIG_COMPAT=y -CONFIG_FW_CFG_SYSFS=y -CONFIG_FW_CFG_SYSFS_CMDLINE=y +CONFIG_ACPI=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_BLK_DEV_BSGLIB=y @@ -34,6 +33,8 @@ CONFIG_PCI=y CONFIG_PCI_HOST_GENERIC=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_FW_CFG_SYSFS=y +CONFIG_FW_CFG_SYSFS_CMDLINE=y CONFIG_VIRTIO_BLK=y CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_SG=y From peter at korsgaard.com Thu Oct 12 16:33:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:33:29 +0200 Subject: [Buildroot] [PATCH v2] package/batman-adv: update to 2023.1 In-Reply-To: <20230930112539.5dc62e1d@windsurf> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 11:25:39 +0200") References: <20230930112539.5dc62e1d@windsurf> Message-ID: <87y1g794x2.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > On Fri, 11 Aug 2023 03:40:00 +0200 > Waldemar Brodkorb wrote: >> Older Batman-adv versions fail to build with kernel 6.4.x >> with following error message: >> bat_iv_ogm.c:283:18: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration] >> >> prandom_u32_max got removed in commit 3c202d14a9d73fb63c3dccb18feac5618c21e1c4 >> from the Linux kernel. >> >> Fixes: >> - http://autobuild.buildroot.net/results/205/2055ac3805d1941c148f1681a224570055dd83cd >> >> For other changes in this release, see: >> https://www.open-mesh.org/news/112 >> >> Signed-off-by: Waldemar Brodkorb >> --- >> v1 -> v2: >> - move locally computed sha256 hash to the right place, mentioned >> by Thomas Petazzoni >> --- >> package/batman-adv/batman-adv.hash | 7 ++++--- >> package/batman-adv/batman-adv.mk | 2 +- >> 2 files changed, 5 insertions(+), 4 deletions(-) > Applied to master, thanks. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Thu Oct 12 16:36:22 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 12 Oct 2023 18:36:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/nmap: fix build with libressl >= 3.5.0 Message-ID: <20231012163622.87846-1-fontaine.fabrice@gmail.com> Signed-off-by: Fabrice Fontaine --- ...pto.cc-fix-build-with-libressl-3.5.0.patch | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch diff --git a/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch new file mode 100644 index 0000000000..f2bdf5904d --- /dev/null +++ b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch @@ -0,0 +1,39 @@ +From 4ebea5c1d1a10be0d0165da3b9c0e1fa82c3db3c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 21 May 2022 17:51:37 +0200 +Subject: [PATCH] nping/Crypto.cc: fix build with libressl >= 3.5.0 + +Fix the following build failure with libressl >= 3.5.0: + +Crypto.cc: In static member function 'static int Crypto::aes128_cbc_encrypt(u8*, size_t, u8*, u8*, size_t, u8*)': +Crypto.cc:139:26: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined + 139 | EVP_CIPHER_CTX ctx; + | ^~~ + +Fixes: + - http://autobuild.buildroot.org/results/2e6eebbe2ed8305b88047bc92c19350c1ecada16 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/nmap/nmap/pull/2480 +--- + nping/Crypto.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/nping/Crypto.cc b/nping/Crypto.cc +index 850438352..9f7c88686 100644 +--- a/nping/Crypto.cc ++++ b/nping/Crypto.cc +@@ -70,7 +70,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_EVP_PKEY 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset +-- +2.35.1 + -- 2.42.0 From peter at korsgaard.com Thu Oct 12 16:40:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:40:30 +0200 Subject: [Buildroot] [PATCH v2] boot/grub2: fix incompat e2fsprogs feature use In-Reply-To: <87il7sasu8.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 11:55:11 +0200") References: <20230917200134.1251786-1-mail@jens-maus.de> <20230922184842.152406-1-mail@jens-maus.de> <87il7sasu8.fsf@48ers.dk> Message-ID: <87ttqv94ld.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Jens" == Jens Maus via buildroot writes: >> With bump of package/e2fsprogs to 1.47.0 [1] a freshly generated >> ext4 fs has unfortunately different default features enabled >> (e.g. metadata_csum_seed). This and some other newer fs features >> (e.g. large_dir) are however not supported by our grub2. >> Thus, newly generated ext-based rootfs won't be recognized by grub2 >> and are therefore not bootable/usable from grub2 anymore. This is >> an issue already known to other Linux derivates [2],[3],[4]. >> This commit introduces two additional upstream patches to >> package/grub2 which adds EXT4_FEATURE_INCOMPAT_CSUM_SEED and >> EXT4_FEATURE_INCOMPAT_LARGEDIR to the EXT2_DRIVER_IGNORED_INCOMPAT >> list of ignored incompatible ext features, allowing grub2 to >> use ext filesystems with these newer default feature sets. >> [1] https://git.buildroot.net/buildroot/commit/?id=6a21733f839478d902f3eab287a82b456e55f708 >> [2] https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1844012 >> [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031325 >> [4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030939 >> Signed-off-by: Jens Maus >> --- >> Changes v1 -> v2: >> - added Signed-off-by and Upstream link in patches (Arnout) > Committed, thanks. > Hopefully other bootloaders will not have similar issues. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 16:33:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:33:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/batman-adv: update to 2023.1 Message-ID: <20231012164159.0762D84622@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7704baa480556638ce51b42a5df087d9a56555fb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Older Batman-adv versions fail to build with kernel 6.4.x with following error message: bat_iv_ogm.c:283:18: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration] prandom_u32_max got removed in commit 3c202d14a9d73fb63c3dccb18feac5618c21e1c4 from the Linux kernel. Fixes: - http://autobuild.buildroot.net/results/205/2055ac3805d1941c148f1681a224570055dd83cd For other changes in this release, see: https://www.open-mesh.org/news/112 Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni (cherry picked from commit 01ec4a39f5ceb83c62b0040067ba53197a0a6843) Signed-off-by: Peter Korsgaard --- package/batman-adv/batman-adv.hash | 7 ++++--- package/batman-adv/batman-adv.mk | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/batman-adv/batman-adv.hash b/package/batman-adv/batman-adv.hash index 14a92c231a..b95dfa34dd 100644 --- a/package/batman-adv/batman-adv.hash +++ b/package/batman-adv/batman-adv.hash @@ -1,7 +1,8 @@ -# From https://downloads.open-mesh.org/batman/releases/batman-adv-2022.2/batman-adv-2022.2.tar.gz.sha1 -sha1 e1829e10fc37ea674a20cb9ba1d6c1483042fbfa batman-adv-2022.2.tar.gz +# From https://downloads.open-mesh.org/batman/stable/sources/batman-adv/batman-adv-2023.1.tar.gz.sha1 +sha1 e3d6e8d4db772156d7ad021b9a166832633a2ea5 batman-adv-2023.1.tar.gz +# locally computed +sha256 f46a7286660a5ec3506a1be7ef60b471c51ac70550597d598040479ab7b936b8 batman-adv-2022.3.tar.gz # Hash for license files -sha256 218ffb534fead1c9b5b0d90ec1b2fba688209cdf00e861bece1cbf469fe69953 batman-adv-2022.3.tar.gz sha256 cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025 LICENSES/preferred/GPL-2.0 sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/preferred/MIT diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk index 75b8292ee1..5b50572d11 100644 --- a/package/batman-adv/batman-adv.mk +++ b/package/batman-adv/batman-adv.mk @@ -4,7 +4,7 @@ # ################################################################################ -BATMAN_ADV_VERSION = 2022.3 +BATMAN_ADV_VERSION = 2023.1 BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv BATMAN_ADV_LICENSE = GPL-2.0, MIT (batman_adv.h) BATMAN_ADV_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT From peter at korsgaard.com Thu Oct 12 16:41:08 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:41:08 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/linux-pam: needs gcc >= 4.9 Message-ID: <20231012164159.2079C84624@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=339c49c24134404f5da3d17e8e7a6a03302f158b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x linux-pam raises the following build failure with gcc 4.8 since bump to version 1.5.3 in commit f8147e27cdac8f998ec6644a09ce4e8d62b6433c and https://github.com/linux-pam/linux-pam/commit/8f9816b57e3a475fc2d2cbb106c188b778098f85: pam_access.c: In function 'pam_sm_authenticate': pam_access.c:1084:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; filename_list[i] != NULL; i++) { ^ Those build failures could be fixed by adding -std=c99 but then the build will fails because stdadtomic.h is mandatory since https://github.com/linux-pam/linux-pam/commit/a35e092e24ee7632346a0e1b4a203c04d4cd2c62 Fixes: - http://autobuild.buildroot.org/results/9b2ba987d2c873f4a7caea72707acb655279d16b Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c77e25c3f113c44d753dec308334e52e4c0bec6c) Signed-off-by: Peter Korsgaard --- package/linux-pam/Config.in | 5 +++-- package/nodm/Config.in | 5 +++-- package/openvmtools/Config.in | 5 +++-- package/php-pam/Config.in | 5 +++-- package/rsh-redone/Config.in | 11 +++++++---- package/shadow/Config.in | 6 ++++-- 6 files changed, 23 insertions(+), 14 deletions(-) diff --git a/package/linux-pam/Config.in b/package/linux-pam/Config.in index 27ba55bd61..b17716f2f7 100644 --- a/package/linux-pam/Config.in +++ b/package/linux-pam/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_LINUX_PAM depends on BR2_USE_WCHAR depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h select BR2_PACKAGE_FLEX help A Security Framework that Provides Authentication for @@ -11,7 +12,7 @@ config BR2_PACKAGE_LINUX_PAM http://linux-pam.org -comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library" +comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on BR2_USE_MMU depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/nodm/Config.in b/package/nodm/Config.in index 2dd6f1e1cf..52fd031b9b 100644 --- a/package/nodm/Config.in +++ b/package/nodm/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_NODM depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam depends on !BR2_STATIC_LIBS # linux-pam depends on BR2_USE_MMU # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_LINUX_PAM help @@ -17,7 +18,7 @@ config BR2_PACKAGE_NODM https://github.com/spanezz/nodm/ -comment "nodm needs a toolchain w/ wchar, locale, dynamic library" +comment "nodm needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on BR2_PACKAGE_XORG7 depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/openvmtools/Config.in b/package/openvmtools/Config.in index 67855f50e0..066a7a4736 100644 --- a/package/openvmtools/Config.in +++ b/package/openvmtools/Config.in @@ -32,13 +32,14 @@ config BR2_PACKAGE_OPENVMTOOLS_PAM bool "PAM support" # linux-pam needs locale and wchar, but we already have this # dependency on the main symbol, above. + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LINUX_PAM help Support for PAM in openvmtools -comment "PAM support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "PAM support needs a toolchain w/ dynamic library, gcc >= 4.9" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 config BR2_PACKAGE_OPENVMTOOLS_RESOLUTIONKMS bool "resolutionkms support" diff --git a/package/php-pam/Config.in b/package/php-pam/Config.in index 70f62a3180..c91fa8b6fe 100644 --- a/package/php-pam/Config.in +++ b/package/php-pam/Config.in @@ -4,13 +4,14 @@ config BR2_PACKAGE_PHP_PAM depends on BR2_USE_WCHAR # linux-pam depends on BR2_USE_MMU # linux-pam depends on !BR2_STATIC_LIBS # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_LINUX_PAM help PHP PAM (Pluggable Authentication Modules) integration https://pecl.php.net/package/PAM -comment "php-pam needs a toolchain w/ wchar, locale, dynamic library" +comment "php-pam needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on BR2_USE_MMU depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/rsh-redone/Config.in b/package/rsh-redone/Config.in index 53ff2bea7f..fed643def4 100644 --- a/package/rsh-redone/Config.in +++ b/package/rsh-redone/Config.in @@ -19,11 +19,13 @@ config BR2_PACKAGE_RSH_REDONE_RLOGIND depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR depends on !BR2_TOOLCHAIN_USES_MUSL depends on BR2_USE_MMU # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_LINUX_PAM -comment "rlogind needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" +comment "rlogind needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL + || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 config BR2_PACKAGE_RSH_REDONE_RSH bool "rsh" @@ -33,10 +35,11 @@ config BR2_PACKAGE_RSH_REDONE_RSHD depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_LINUX_PAM -comment "rshd needs a toolchain w/ wchar, locale, dynamic library" +comment "rshd needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 endif diff --git a/package/shadow/Config.in b/package/shadow/Config.in index e3580c2cf5..e85e5884d2 100644 --- a/package/shadow/Config.in +++ b/package/shadow/Config.in @@ -20,14 +20,16 @@ config BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID depends on BR2_ENABLE_LOCALE # linux-pam depends on BR2_USE_WCHAR # linux-pam depends on !BR2_STATIC_LIBS # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_LINUX_PAM help Install the user and group management tools (e.g. groupadd) with setuid and authenticate the callers via PAM. -comment "account-tools-setuid needs a toolchain w/ dynamic library, wchar, locale" +comment "account-tools-setuid needs a toolchain w/ dynamic library, wchar, locale, gcc >= 4.9" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \ + !BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 config BR2_PACKAGE_SHADOW_UTMPX bool "utmpx" From peter at korsgaard.com Thu Oct 12 16:39:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:39:42 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] boot/grub2: fix incompat e2fsprogs feature use Message-ID: <20231012164159.13C4384623@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=52369b5b7a2098594457d2f020f0ac5723e2b95e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x With bump of package/e2fsprogs to 1.47.0 [1] a freshly generated ext4 fs has unfortunately different default features enabled (e.g. metadata_csum_seed). This and some other newer fs features (e.g. large_dir) are however not supported by our grub2. Thus, newly generated ext-based rootfs won't be recognized by grub2 and are therefore not bootable/usable from grub2 anymore. This is an issue already known to other Linux derivates [2],[3],[4]. This commit introduces two additional upstream patches to package/grub2 which adds EXT4_FEATURE_INCOMPAT_CSUM_SEED and EXT4_FEATURE_INCOMPAT_LARGEDIR to the EXT2_DRIVER_IGNORED_INCOMPAT list of ignored incompatible ext features, allowing grub2 to use ext filesystems with these newer default feature sets. [1] https://git.buildroot.net/buildroot/commit/?id=6a21733f839478d902f3eab287a82b456e55f708 [2] https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1844012 [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031325 [4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030939 Signed-off-by: Jens Maus Signed-off-by: Peter Korsgaard (cherry picked from commit 9c25f1b51eeb988449ad0f1f524283ef5361ee4d) Signed-off-by: Peter Korsgaard --- ...xt2-Ignore-checksum-seed-incompat-feature.patch | 61 ++++++++++++++++++++++ ...xt2-Ignore-the-large_dir-incompat-feature.patch | 60 +++++++++++++++++++++ 2 files changed, 121 insertions(+) diff --git a/boot/grub2/0019-fs-ext2-Ignore-checksum-seed-incompat-feature.patch b/boot/grub2/0019-fs-ext2-Ignore-checksum-seed-incompat-feature.patch new file mode 100644 index 0000000000..9a913e2279 --- /dev/null +++ b/boot/grub2/0019-fs-ext2-Ignore-checksum-seed-incompat-feature.patch @@ -0,0 +1,61 @@ +From 7fd5feff97c4b1f446f8fcf6d37aca0c64e7c763 Mon Sep 17 00:00:00 2001 +From: Javier Martinez Canillas +Date: Fri, 11 Jun 2021 21:36:16 +0200 +Subject: [PATCH] fs/ext2: Ignore checksum seed incompat feature + +This incompat feature is used to denote that the filesystem stored its +metadata checksum seed in the superblock. This is used to allow tune2fs +changing the UUID on a mounted metdata_csum filesystem without having +to rewrite all the disk metadata. However, the GRUB doesn't use the +metadata checksum at all. So, it can just ignore this feature if it +is enabled. This is consistent with the GRUB filesystem code in general +which just does a best effort to access the filesystem's data. + +The checksum seed incompat feature has to be removed from the ignore +list if the support for metadata checksum verification is added to the +GRUB ext2 driver later. + +Suggested-by: Eric Sandeen +Suggested-by: Lukas Czerner +Signed-off-by: Javier Martinez Canillas +Reviewed-by: Lukas Czerner +Reviewed-by: Daniel Kiper +Upstream: 7fd5feff97c4b1f446f8fcf6d37aca0c64e7c763 +Signed-off-by: Jens Maus +--- + grub-core/fs/ext2.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +diff --git a/grub-core/fs/ext2.c b/grub-core/fs/ext2.c +index e7dd78e66..4953a1591 100644 +--- a/grub-core/fs/ext2.c ++++ b/grub-core/fs/ext2.c +@@ -103,6 +103,7 @@ GRUB_MOD_LICENSE ("GPLv3+"); + #define EXT4_FEATURE_INCOMPAT_64BIT 0x0080 + #define EXT4_FEATURE_INCOMPAT_MMP 0x0100 + #define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 ++#define EXT4_FEATURE_INCOMPAT_CSUM_SEED 0x2000 + #define EXT4_FEATURE_INCOMPAT_ENCRYPT 0x10000 + + /* The set of back-incompatible features this driver DOES support. Add (OR) +@@ -123,10 +124,15 @@ GRUB_MOD_LICENSE ("GPLv3+"); + * mmp: Not really back-incompatible - was added as such to + * avoid multiple read-write mounts. Safe to ignore for this + * RO driver. ++ * checksum seed: Not really back-incompatible - was added to allow tools ++ * such as tune2fs to change the UUID on a mounted metadata ++ * checksummed filesystem. Safe to ignore for now since the ++ * driver doesn't support checksum verification. However, it ++ * has to be removed from this list if the support is added later. + */ + #define EXT2_DRIVER_IGNORED_INCOMPAT ( EXT3_FEATURE_INCOMPAT_RECOVER \ +- | EXT4_FEATURE_INCOMPAT_MMP) +- ++ | EXT4_FEATURE_INCOMPAT_MMP \ ++ | EXT4_FEATURE_INCOMPAT_CSUM_SEED) + + #define EXT3_JOURNAL_MAGIC_NUMBER 0xc03b3998U + +-- +2.34.1 + diff --git a/boot/grub2/0020-fs-ext2-Ignore-the-large_dir-incompat-feature.patch b/boot/grub2/0020-fs-ext2-Ignore-the-large_dir-incompat-feature.patch new file mode 100644 index 0000000000..43b182f968 --- /dev/null +++ b/boot/grub2/0020-fs-ext2-Ignore-the-large_dir-incompat-feature.patch @@ -0,0 +1,60 @@ +From 2e9fa73a040462b81bfbfe56c0bc7ad2d30b446b Mon Sep 17 00:00:00 2001 +From: Theodore Ts'o +Date: Tue, 30 Aug 2022 22:41:59 -0400 +Subject: [PATCH] fs/ext2: Ignore the large_dir incompat feature + +Recently, ext4 added the large_dir feature, which adds support for +a 3 level htree directory support. + +The GRUB supports existing file systems with htree directories by +ignoring their existence, and since the index nodes for the hash tree +look like deleted directory entries (by design), the GRUB can simply do +a brute force O(n) linear search of directories. The same is true for +3 level deep htrees indicated by large_dir feature flag. + +Hence, it is safe for the GRUB to ignore the large_dir incompat feature. + +Fixes: https://savannah.gnu.org/bugs/?61606 + +Signed-off-by: Theodore Ts'o +Reviewed-by: Daniel Kiper +Upstream: 2e9fa73a040462b81bfbfe56c0bc7ad2d30b446b +Signed-off-by: Jens Maus +--- + grub-core/fs/ext2.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/grub-core/fs/ext2.c b/grub-core/fs/ext2.c +index 0989e26e1..e1cc5e62a 100644 +--- a/grub-core/fs/ext2.c ++++ b/grub-core/fs/ext2.c +@@ -104,6 +104,7 @@ GRUB_MOD_LICENSE ("GPLv3+"); + #define EXT4_FEATURE_INCOMPAT_MMP 0x0100 + #define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 + #define EXT4_FEATURE_INCOMPAT_CSUM_SEED 0x2000 ++#define EXT4_FEATURE_INCOMPAT_LARGEDIR 0x4000 /* >2GB or 3 level htree */ + #define EXT4_FEATURE_INCOMPAT_ENCRYPT 0x10000 + + /* The set of back-incompatible features this driver DOES support. Add (OR) +@@ -129,10 +130,17 @@ GRUB_MOD_LICENSE ("GPLv3+"); + * checksummed filesystem. Safe to ignore for now since the + * driver doesn't support checksum verification. However, it + * has to be removed from this list if the support is added later. ++ * large_dir: Not back-incompatible given that the GRUB ext2 driver does ++ * not implement EXT2_FEATURE_COMPAT_DIR_INDEX. If the GRUB ++ * eventually supports the htree feature (aka dir_index) ++ * it should support 3 level htrees and then move ++ * EXT4_FEATURE_INCOMPAT_LARGEDIR to ++ * EXT2_DRIVER_SUPPORTED_INCOMPAT. + */ + #define EXT2_DRIVER_IGNORED_INCOMPAT ( EXT3_FEATURE_INCOMPAT_RECOVER \ + | EXT4_FEATURE_INCOMPAT_MMP \ +- | EXT4_FEATURE_INCOMPAT_CSUM_SEED) ++ | EXT4_FEATURE_INCOMPAT_CSUM_SEED \ ++ | EXT4_FEATURE_INCOMPAT_LARGEDIR) + + #define EXT3_JOURNAL_MAGIC_NUMBER 0xc03b3998U + +-- +2.34.1 + From peter at korsgaard.com Thu Oct 12 16:47:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:47:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-pam: needs gcc >= 4.9 In-Reply-To: <87edigaro0.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 12:20:31 +0200") References: <20230916135435.113400-1-fontaine.fabrice@gmail.com> <87edigaro0.fsf@48ers.dk> Message-ID: <87pm1j949i.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Fabrice" == Fabrice Fontaine writes: >> linux-pam raises the following build failure with gcc 4.8 since bump to >> version 1.5.3 in commit f8147e27cdac8f998ec6644a09ce4e8d62b6433c and >> https://github.com/linux-pam/linux-pam/commit/8f9816b57e3a475fc2d2cbb106c188b778098f85: >> pam_access.c: In function 'pam_sm_authenticate': >> pam_access.c:1084:13: error: 'for' loop initial declarations are only allowed in C99 mode >> for (int i = 0; filename_list[i] != NULL; i++) { >> ^ >> Those build failures could be fixed by adding -std=c99 but then the >> build will fails because stdadtomic.h is mandatory since >> https://github.com/linux-pam/linux-pam/commit/a35e092e24ee7632346a0e1b4a203c04d4cd2c62 >> Fixes: >> - http://autobuild.buildroot.org/results/9b2ba987d2c873f4a7caea72707acb655279d16b >> Signed-off-by: Fabrice Fontaine > Committed, thanks. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 19:45:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 21:45:19 +0200 Subject: [Buildroot] [PATCH] package/gtkmm3: bump to version 3.24.8 In-Reply-To: <20230930054253.486201-2-dalang@gmx.at> (Daniel Lang's message of "Sat, 30 Sep 2023 07:42:52 +0200") References: <20230930054253.486201-2-dalang@gmx.at> Message-ID: <87lec78w1c.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > https://gitlab.gnome.org/GNOME/gtkmm/-/blob/3.24.8/NEWS > Signed-off-by: Daniel Lang Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 19:44:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 21:44:43 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gtkmm3: bump to version 3.24.8 Message-ID: <20231012194627.8422084627@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=789b30afd044e435aaf3d3488bd92ea5ee0d5eca branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://gitlab.gnome.org/GNOME/gtkmm/-/blob/3.24.8/NEWS Signed-off-by: Daniel Lang Signed-off-by: Thomas Petazzoni (cherry picked from commit 7a14ef1d24a43bf14b760b76870b30927e1bbb84) Signed-off-by: Peter Korsgaard --- package/gtkmm3/gtkmm3.hash | 4 ++-- package/gtkmm3/gtkmm3.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gtkmm3/gtkmm3.hash b/package/gtkmm3/gtkmm3.hash index c54862de67..9bfd68e027 100644 --- a/package/gtkmm3/gtkmm3.hash +++ b/package/gtkmm3/gtkmm3.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.7.sha256sum -sha256 1d7a35af9c5ceccacb244ee3c2deb9b245720d8510ac5c7e6f4b6f9947e6789c gtkmm-3.24.7.tar.xz +# From https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.8.sha256sum +sha256 d2940c64922e5b958554b23d4c41d1839ea9e43e0d2e5b3819cfb46824a098c4 gtkmm-3.24.8.tar.xz # Locally computed sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools diff --git a/package/gtkmm3/gtkmm3.mk b/package/gtkmm3/gtkmm3.mk index f5a2fee6b9..f4fc54849c 100644 --- a/package/gtkmm3/gtkmm3.mk +++ b/package/gtkmm3/gtkmm3.mk @@ -5,7 +5,7 @@ ################################################################################ GTKMM3_VERSION_MAJOR = 3.24 -GTKMM3_VERSION = $(GTKMM3_VERSION_MAJOR).7 +GTKMM3_VERSION = $(GTKMM3_VERSION_MAJOR).8 GTKMM3_SOURCE = gtkmm-$(GTKMM3_VERSION).tar.xz GTKMM3_SITE = https://download.gnome.org/sources/gtkmm/$(GTKMM3_VERSION_MAJOR) GTKMM3_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) From fontaine.fabrice at gmail.com Thu Oct 12 20:40:47 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 12 Oct 2023 22:40:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/pound: force libopenssl Message-ID: <20231012204047.243690-1-fontaine.fabrice@gmail.com> Force libopenssl to avoid the following build failure with libressl raised since bump to version 4.8 in commit 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: pound.c: In function 'main': pound.c:971:27: error: 'l_id' undeclared (first use in this function) 971 | CRYPTO_set_id_callback (l_id); | ^~~~ Fixes: - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c Signed-off-by: Fabrice Fontaine --- package/pound/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pound/Config.in b/package/pound/Config.in index 60fafff935..aa0f103273 100644 --- a/package/pound/Config.in +++ b/package/pound/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_POUND depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable -- 2.42.0 From fontaine.fabrice at gmail.com Thu Oct 12 21:13:57 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 12 Oct 2023 23:13:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/netsnmp: fix musl build Message-ID: <20231012211357.643153-1-fontaine.fabrice@gmail.com> Fix the following musl build failure raised since bump to version 5.9.4 in commit 868603755c16296ae2a61845891edeafc36e48ca: large_fd_set.c: In function 'LFD_SET': ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? 1614 | #define NETSNMP_FD_MASK_TYPE unknown | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a Signed-off-by: Fabrice Fontaine --- ...onfiguration-of-NETSNMP_FD_MASK_TYPE.patch | 38 +++++++++++++++++++ package/netsnmp/netsnmp.mk | 2 + 2 files changed, 40 insertions(+) create mode 100644 package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch diff --git a/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch new file mode 100644 index 0000000000..91a00aec27 --- /dev/null +++ b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch @@ -0,0 +1,38 @@ +From a62169f1fa358be8f330ea8519ade0610fac525b Mon Sep 17 00:00:00 2001 +From: Adam Gajda +Date: Mon, 2 Oct 2023 16:40:31 +0200 +Subject: [PATCH] Fix configuration of NETSNMP_FD_MASK_TYPE + +Upstream: https://github.com/net-snmp/net-snmp/commit/a62169f1fa358be8f330ea8519ade0610fac525b +Signed-off-by: Fabrice Fontaine +--- + configure | 2 +- + configure.d/config_project_types | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 9f0a173d8a..945a27c663 100755 +--- a/configure ++++ b/configure +@@ -30871,7 +30871,7 @@ CFLAGS="$CFLAGS -Werror" + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits" >&5 + printf %s "checking for the type of fd_set::fds_bits... " >&6; } +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +diff --git a/configure.d/config_project_types b/configure.d/config_project_types +index 1b4c66b95e..a78e8ebb06 100644 +--- a/configure.d/config_project_types ++++ b/configure.d/config_project_types +@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -Werror" + + AC_MSG_CHECKING([for the type of fd_set::fds_bits]) +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include + #include diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index b0c35aa894..a79c13c611 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -40,6 +40,8 @@ NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true inst NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install NETSNMP_MAKE = $(MAKE1) NETSNMP_CONFIG_SCRIPTS = net-snmp-config +# We're patching configure.d/config_project_types +NETSNMP_AUTORECONF = YES define NETSNMP_USERS snmp -1 snmp -1 * - - - snmpd user -- 2.42.0 From thomas.petazzoni at bootlin.com Fri Oct 13 05:34:32 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 13 Oct 2023 05:34:32 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-12 Message-ID: <20231013053437.8D51261015@smtp3.osuosl.org> Hello, Autobuild statistics for 2023-10-12 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 14 | 4 | 0 | 18 | 2023.08.x | 11 | 7 | 1 | 19 | master | 75 | 107 | 2 | 184 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 13 spirv-tools-1.3.261.1 | 10 alsa-lib-1.2.10 | 7 gobject-introspection-1.76.1 | 6 alsa-utils-1.2.10 | 5 elfutils-0.189 | 5 unknown | 5 bird-2.0.12 | 3 mariadb-10.11.4 | 3 gcc-final-11.4.0 | 2 gcc-final-12.3.0 | 2 glibc-2.38-27-g750a45a78390... | 2 host-gcc-final-12.3.0 | 2 host-go-1.21.2 | 2 libarchive-3.7.2 | 2 libdill-32d0e8b733416208e04... | 2 pound-4.8 | 2 apcupsd-3.14.14 | 1 attr-2.5.1 | 1 bayer2rgb-neon-15feb1115b48... | 1 brltty-6.5 | 1 busybox-1.36.1 | 1 cryptodev-linux-1.13 | 1 flac-1.4.3 | 1 gcc-final-13.2.0 | 1 gdk-pixbuf-2.42.10 | 1 gobject-introspection | 1 heirloom-mailx | 1 host-gcc-final-11.4.0 | 1 host-ncurses-6.4-20230603 | 1 host-rust-1.71.1 | 1 libfreeimage-3.18.0 | 1 libnetfilter_log | 1 libostree-2023.6 | 1 libselinux-3.5 | 1 libsigsegv-2.14 | 1 libsoup-2.74.3 | 1 linux-5.10.162-cip24 | 1 linux-6.5.6 | 1 linux-pam-1.5.3 | 1 memcached-1.6.21 | 1 monit-5.33.0 | 1 nmap-7.92 | 1 open-iscsi-2.1.9 | 1 pdbg-3.5 | 1 perl-5.36.1 | 1 php-8.2.11 | 1 pppd-2.5.0 | 1 sdl-1.2.15 | 1 squid-6.2 | 1 util-linux-2.39.2 | 1 valgrind-3.21.0 | 1 xenomai-3.0.10 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/454a31890af8ef8ee20f5ed1adef41510410efcc | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f4b9f1e5c52a638baee6cc4a7ffcefebb1c08d2c | mips | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6017d1d8457091bab740d12157f38227412f3666 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/97239d22fd6bad4c0a7a32b0d05584b2c575b1d7 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/695cbab333ca1334447788a09f1e9ee49c41269e | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a0302ba5998248c5fbbb0be263a3a7a9b7674f43 | armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/2c2b2a7233f0e92f2bc2bc8a978a822b2771c3cd | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/17c63c038abd65dff751c85128a1b34427a27fbb | mips64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/1775cfe56c7d54130574ab57163822dd3e631c02 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/dc9e8398c45663181620f9c0d1c0b9f4892fb904 | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6bdfb4c8b1e4642314edf59e19ae9f8b84390112 | sh4 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/ecc9132414ddc8304e67ffd248d3b8cb42588595 | microblaze | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/6e0cbd6e214acff284546c438f8829cc07cdf387 | mips64 | attr-2.5.1 | NOK | http://autobuild.buildroot.net/results/f4d5d7c79ebe599337ac20d1298b3b9d14345700 | aarch64 | bayer2rgb-neon-15feb1115b48... | NOK | http://autobuild.buildroot.net/results/ca8d25df50ab25a01fa1b135c3c3879aa55a21c3 | sh4aeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/0f7670e71083ed994f10f82967a4ff3bddfa1515 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/2827f45076bf97b72e3446a84fc045fd0c2b04a0 | arc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/f077d3144e907d4b995fac1c32edbe05f71ec886 | nios2 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/ab4001df89038b7378453503eec34b8ee89f2550 | riscv32 | busybox-1.36.1 | NOK | http://autobuild.buildroot.net/results/d0e06f1ebe9b439ca5d241b70e9b0a66702791d4 | ORPH i686 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/f45e6f9dcfadba08050de48d673a3dc585424c80 | ORPH mips | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/a1547472dd89b8fac4d2b0fd6a59d9521328af3e | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/8bd3b9b7c882d16c4b98186a4dafa41c8460e78f | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/192e5458c2529d5737fff0a34d500a0909be6de1 | ORPH i586 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/df179c84afe7d587d37bf79b9828a8edcc998f32 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/4640a336c99675a4a75f9347122ae9ba063f2f57 | ORPH sh4aeb | flac-1.4.3 | NOK | http://autobuild.buildroot.net/results/660e551e7e58a236273f094a6915b35d3c43c65a | aarch64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/f62f282267c0879549e969462c1ee343191944cd | xtensa | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/cd50f2f362bbbcd224a11184aa281b5f26ded89e | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fb0ddd774f997129f52cefde15db999e61a2ced8 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/75cdd8e978ea137dd7c492da9bac32912fb8f423 | xtensa | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/47d670ebfac0b617012d0a2fb86f35c831c23d97 | sparc | gdk-pixbuf-2.42.10 | NOK | http://autobuild.buildroot.net/results/142142cfeebcf0deb220e43480b16d2b2123d890 | ORPH powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/17868721069b9587476ea4c6b437626ae5b17f33 | powerpc64le | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/47284fcae1cbe9e3bb536fb2455a644c9dd58fa8 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/8299fd128422477f8367b52295c523fb444fcaae | s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/ea831518a1e4e72d4fa9481363d6e1d337dd05d9 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/df3fe3cc91630738a84c3fcc355f71df6ae12231 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/17c8ea0c730a43e55bc21b04376f822cf28a9a58 | ORPH nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8af222d89323620d7694ab3134b9901596cd3614 | ORPH s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/c90e7347640cfa758dfdc6add739a83e1560cb17 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/aee385b64456886312f3d2348c60ae0a32c9c024 | ORPH armeb | heirloom-mailx | TIM | http://autobuild.buildroot.net/results/0e881260a7846d67e25bee0742a2c69641ce475b | microblazeel | host-gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/87428ea8b9e8231f6a817b941fd599884abc1bfd | microblaze | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/9d3727562232960e4cea28681ba32c46fc1c3c9a | arm | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/41ba2924775bec4e2d73a50c8be177a2f8f6b300 | mips64 | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/fa31138a0afdda7698301b5147531ec924f4b30a | i686 | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/157711987663ddb51df310fec822fa70a8a5d4c8 | microblazeel | host-ncurses-6.4-20230603 | NOK | http://autobuild.buildroot.net/results/9c12f55cdf853ebd7bc9288aa02c359a45dd7740 | ORPH aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/773d6195ec1d65a41eb5e9c582458e7b9c449f9b | m68k | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/fbde23b13f515b7728fdf09cf226c7c5a1c3db4b | sh4aeb | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/690cea99c926b9347e399d5bdf594d1de9ac1f28 | mips | libdill-32d0e8b733416208e04... | NOK | http://autobuild.buildroot.net/results/a0b50ecfc42a072893f173b4d861abc8816ab799 | riscv32 | libdill-32d0e8b733416208e04... | NOK | http://autobuild.buildroot.net/results/0ac3e2ceebea0bbb47ed9174218079431c1acb6d | powerpc64 | libfreeimage-3.18.0 | NOK | http://autobuild.buildroot.net/results/54bb00d28525bc5773c114b43b1417fb565fdd8f | nios2 | libnetfilter_log | NOK | http://autobuild.buildroot.net/results/5800e81fadfb537847c6855e4c33a0532672364a | mips64el | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/3d6c925f03c671044cc2120b57f8112de7d50904 | nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/738bee35557d0623e8fa58f8967655509074ebf1 | arceb | libsigsegv-2.14 | NOK | http://autobuild.buildroot.net/results/394dff568fa01880a2ad36127a4c57037254c74f | sparc | libsoup-2.74.3 | NOK | http://autobuild.buildroot.net/results/50434b24ade1515c4b0f952816a262853d771649 | mips64el | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/ec3d007f6806e23d6c4f4e95f1c35b7287005d39 | ORPH mipsel | linux-6.5.6 | NOK | http://autobuild.buildroot.net/results/a227f09e3648c4389cedca295467364bee325153 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/f37e59abe8ee0714e3811aa879b56e68c3a53bac | ORPH or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/6467e53461e350715f2aeb12ee34ee5b7ce8508a | ORPH m68k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/662c2d3d288df8ea833d6f09848e37ae16d2a74d | ORPH aarch64_be | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/3db8185d05d8595e5ae627f1e67e001e5c7784f9 | ORPH arceb | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/b025c357936be83ae1c84cf3685910f81e8e8f8c | ORPH aarch64_be | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/bdc0f6d54d80be51ea156ce94e787e05ee158f1d | mips64 | nmap-7.92 | NOK | http://autobuild.buildroot.net/results/a58f6a69f71718cf1d76e4d49ada75b28d3a2651 | ORPH powerpc64le | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/3c3072c4eb270052f2b6f8e7015cd4a44556751f | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d5d0d26e4dcd0ecb0a2bf2b6c6d50339b4ea0a3a | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b55613680ea502c58ffb149dde505252c36128f2 | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c2c5bf3a7f0aefb7c0e0deb89a24d03c55ed05ad | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b161f0a1d2f13fbf9b7dad26eb8b6b98c2e8a6f5 | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7f79a1dab9bfbcf435003dbdc1a03be3e4d6ddc4 | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5c5418a0a223df9f18b682ad368be98b283d3c43 | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/42cb62aae5aedc632af0d424faa889e3c461dadf | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f3659eb8a220d9200f3f08447e8da2feaf53841b | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9a56ed7f2bdc25e4cc3fbdaf58385bce2222becc | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/889f157860f4f350fa9f502bbd3e1b730c398000 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/31685306a258d640bc6d5f10a9f4eb05f491b448 | sh4aeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ae47fcfa115bc7bab93e5e88642c1db6f22cce70 | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a0aee6df974cf1a4896e39b61b74204d5f7474ac | powerpc64 | pdbg-3.5 | NOK | http://autobuild.buildroot.net/results/e3e17e6d26794e1bd0e5db9bfa30b80736f03fbf | aarch64_be | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/9763f08f7167a264ac62ca993adb53ec5f27fa26 | or1k | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/8bba9cba15c72aeb86559d7400f51a76153cd356 | sparc64 | pound-4.8 | NOK | http://autobuild.buildroot.net/results/43b2ef7b199b686b7c57e55ea54defb3eb9f25c9 | ORPH m68k | pound-4.8 | NOK | http://autobuild.buildroot.net/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c | ORPH sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/0570d9e4606a518da59c48cc12c40eb73bf723d2 | sh4a | sdl-1.2.15 | NOK | http://autobuild.buildroot.net/results/f996fe88d06b1870518d59f3a554d4ec3a84cd32 | ORPH i686 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5e7ee637173fa9631271733571fcb765f7635427 | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/56a23b2500dfa5f670dd0c97ff30c9dc0d10bad4 | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/d5a327f6b9e787168f062a70f18e5803091acd6a | ORPH x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/7854c3016255dd5ad0839436066f55fcddb1f5ab | ORPH mips64el | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/196bf27874aeb953e57ecb766ae31074a627ab20 | ORPH powerpc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/58f9aeade8ff5c2f38b51b76ee18a0ba1ab76b3c | ORPH powerpc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/57ca5dae5b523a9cf7821c1e48bd552c3f62e6db | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/c37aa23426b9af50354f3947afc3aff08d400a7d | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/881254c4dc297cda2b535627c19e81e2936d9213 | ORPH riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/ce92846706b8919af109556546fd9aaff174c4db | ORPH powerpc64le | squid-6.2 | NOK | http://autobuild.buildroot.net/results/c07f8c2cd1d10ae9559130d6056935975a573124 | ORPH powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/3dd960d68c6fbcd43492f04e724c387ea33c1c88 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/7ec2b6914ebaaed0a97cb1bdf9f7b8076d7eefd5 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/815158cf206c67a0d7b9d772d4ad8117b65cbbe4 | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/28a22c29e3417d0aaae28c925edd82c26a703a56 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/02e9ee2181bab797114b4144c5c842f98e0dfb97 | arc | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/99b606d5a5f45228f4cdd55748080aa81c0aee07 | ORPH powerpc | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/8b1eb0e74cff41a4c15272bf7eab4826b795e806 | ORPH mips64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/edda2b407c5c5db21b1114303123ae10a92d7eaa | Classification of failures by reason for 2023.02.x -------------------------------------------------- ltp-testsuite-20220930 | 1 unknown | 1 valgrind-3.19.0 | 1 xvisor-0.3.1 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | ltp-testsuite-20220930 | NOK | http://autobuild.buildroot.net/results/e50d5234c1109ebb43b6a02c2ecb370995c32618 | mips | unknown | NOK | http://autobuild.buildroot.net/results/b1f22b0287a72df1cbf8c71a4b8d8e8dd57f2d1e | mips64el | valgrind-3.19.0 | NOK | http://autobuild.buildroot.net/results/a880018bb6b9d1678cd71f3d9bfbd5ba756fcc32 | ORPH aarch64 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/049a35832e99ec55314763fd4df02b31f2e00f63 | Classification of failures by reason for 2023.08.x -------------------------------------------------- host-rust-1.71.1 | 2 libglib2-2.76.1 | 1 nodejs | 1 ruby-3.1.3 | 1 suricata-6.0.14 | 1 vlc-3.0.18 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c303b552779e994801eb69a8d0f794fca77c254e | s390x | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/d14c4c6a643c4aeb31400375b05a5e221824fba8 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/6cb46134c9180cbf0900594e0d6fe459c101d346 | i686 | nodejs | TIM | http://autobuild.buildroot.net/results/9925369b5049bb164a31a2150c0c2ca91b34ab27 | arc | ruby-3.1.3 | NOK | http://autobuild.buildroot.net/results/7a2c30adb9b78016ccbd4489449ba84d09b2427b | x86_64 | suricata-6.0.14 | NOK | http://autobuild.buildroot.net/results/fdf728ac0a4033547cc738cf8f99bed81f4dd27f | sh4a | vlc-3.0.18 | NOK | http://autobuild.buildroot.net/results/5543fecce7308470a3a006cd89c2216ee39c7e08 | aarch64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/953b6d0bed26a59ac4e99ce3ee27e4ee84ffe685 | -- http://autobuild.buildroot.net From peter at korsgaard.com Fri Oct 13 06:03:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:03:32 +0200 Subject: [Buildroot] [PATCH 1/4] board/freescale: fix arm-trusted-firmware for binutils 2.39+ In-Reply-To: <20230921215633.34828-1-brandon.maier@collins.com> (Brandon Maier via buildroot's message of "Thu, 21 Sep 2023 21:56:30 +0000") References: <20230921215633.34828-1-brandon.maier@collins.com> Message-ID: <87fs2f83ez.fsf@48ers.dk> >>>>> "Brandon" == Brandon Maier via buildroot writes: > The NXP arm-trusted-firmware forks use an older version of ATF that will > error with "LOAD segment with RWX permissions". Similar patches are > present in boot/arm-trusted-firmware/ for older ATF versions. > Signed-off-by: Brandon Maier Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:03:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:03:44 +0200 Subject: [Buildroot] [PATCH 2/4] board/freescale: fix imx arm-trusted-firmware for GCC12 In-Reply-To: <20230921215633.34828-2-brandon.maier@collins.com> (Brandon Maier via buildroot's message of "Thu, 21 Sep 2023 21:56:31 +0000") References: <20230921215633.34828-1-brandon.maier@collins.com> <20230921215633.34828-2-brandon.maier@collins.com> Message-ID: <87bkd383en.fsf@48ers.dk> >>>>> "Brandon" == Brandon Maier via buildroot writes: > The arm-trusted-firmware package for IMX boards fails due to a GCC bug. > See the attached patch description for detail. > Signed-off-by: Brandon Maier Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:05:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:05:39 +0200 Subject: [Buildroot] [PATCH next 1/1] package/pipewire: fix typo in Kconfig comment In-Reply-To: <87wmw78xvo.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 17:49:15 +0200") References: <20230815151700.18920-1-ju.o@free.fr> <87wmw78xvo.fsf@48ers.dk> Message-ID: <877cnr83bg.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Julien" == Julien Olivain writes: >> "NTPL" should read "NPTL" (Native POSIX Threads Library). >> Signed-off-by: Julien Olivain > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:08:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:08:01 +0200 Subject: [Buildroot] [PATCH v2] package/openblas: Add support for RISC-V architecture In-Reply-To: <20230924084615.2811477-1-peterlin@andestech.com> (Yu Chien Peter Lin's message of "Sun, 24 Sep 2023 16:46:15 +0800") References: <20230924084615.2811477-1-peterlin@andestech.com> Message-ID: <8734yf837i.fsf@48ers.dk> >>>>> "Yu" == Yu Chien Peter Lin writes: > OpenBLAS RISC-V 64bit support was added in [1] and was renamed to > "RISCV64_GENERIC" in [2]. Those commits were first included in > OpenBLAS release v0.3.13. This support can now be enabled. With this > commit, we can install the library and packages such as GNU Octave on > RISC-V platforms. > This patch also adjusts the alignment for adding "RISCV64_GENERIC" > in Config.in. > [1] https://github.com/OpenMathLib/OpenBLAS/commit/c167a3d6f41ed2f5680c2a72846b4c9b5d416543 > [2] https://github.com/OpenMathLib/OpenBLAS/commit/265ab484c89d10dfff2d5df678221918d7a880e3 > Signed-off-by: Yu Chien Peter Lin > Reviewed-by: Julien Olivain > Tested-by: Julien Olivain Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:10:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:10:39 +0200 Subject: [Buildroot] [git commit] package/python-mako: add missing dependency on python-markupsafe In-Reply-To: <20230930164848.D376D83C18@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 18:48:23 +0200") References: <20230930164848.D376D83C18@busybox.osuosl.org> Message-ID: <87wmvr6oio.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: https://git.buildroot.net/buildroot/commit/?id=2b506cb2dd031f2bdecc3c90111e31e145211d75 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Mako imports markupsafe so it needs to be selected when selecting > BR2_PACKAGE_PYTHON_MAKO. > Fixes: > https://bugs.busybox.net/show_bug.cgi?id=15628 > Signed-off-by: Sebastian Weyer > Signed-off-by: Thomas Petazzoni Committed to 2023.02.x and 2023.08.x, thanks. > --- > package/python-mako/Config.in | 1 + > 1 file changed, 1 insertion(+) > diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in > index 442e290efa..e6a10c9c2e 100644 > --- a/package/python-mako/Config.in > +++ b/package/python-mako/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_PYTHON_MAKO > bool "python-mako" > + select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime > help > Mako is a template library written in Python. It provides a > familiar, non-XML syntax which compiles into Python modules > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:12:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:12:15 +0200 Subject: [Buildroot] [git commit] package/python-mako: add optional runtime dependency on python-babel In-Reply-To: <20230930164849.0A38783C18@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 18:48:26 +0200") References: <20230930164849.0A38783C18@busybox.osuosl.org> Message-ID: <87sf6f6og0.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: https://git.buildroot.net/buildroot/commit/?id=411a3deb1a4850f4eeff3faebdb87b8ef544d650 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Some extensions of python-mako use python-babel, if they are used, > python-babel must be added as a runtime dependency. > Signed-off-by: Romain Naour > Signed-off-by: Thomas Petazzoni Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:12:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:12:21 +0200 Subject: [Buildroot] [git commit] package/python-mako: add optional runtime dependency on python-pygments In-Reply-To: <20230930164848.E53B683C1A@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 18:48:25 +0200") References: <20230930164848.E53B683C1A@busybox.osuosl.org> Message-ID: <87o7h36ofu.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: https://git.buildroot.net/buildroot/commit/?id=adb3f5a3e0d5bd6df60c91c46a03a2ff9c867dbb > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Some extensions of python-mako use python-pygments, if they are used, > python-pygments must be added as a runtime dependency. > Signed-off-by: Romain Naour > Signed-off-by: Thomas Petazzoni Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:14:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:14:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/olsr: fix build with gpsd >= 3.25 In-Reply-To: <87lecn8u3j.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 19:10:56 +0200") References: <20230212130336.373391-1-fontaine.fabrice@gmail.com> <87lecn8u3j.fsf@48ers.dk> Message-ID: <87jzrr6ocw.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Fabrice" == Fabrice Fontaine writes: >> Fix the following build failure with gpsd >= 3.25 raised since commit >> 3c7fece853f3def9a425eccc384b9dacb1010051: >> In file included from src/configuration.h:50, >> from src/configuration.c:46: >> src/gpsdclient.h:64:8: error: redefinition of 'struct fixsource_t' >> 64 | struct fixsource_t { >> | ^~~~~~~~~~~ >> In file included from src/gpsdclient.h:49, >> from src/configuration.h:50, >> from src/configuration.c:46: >> /tmp/instance-17/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/gps.h:2714:8: note: originally defined here >> 2714 | struct fixsource_t >> | ^~~~~~~~~~~ >> Fixes: >> - http://autobuild.buildroot.org/results/47a619686bb47debd525c92aa7e14bee5c40ca9e >> Signed-off-by: Fabrice Fontaine > Yanns fix apprently never made it upstream, so committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:21:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:21:06 +0200 Subject: [Buildroot] [PATCH] package/gnu-efi: disable on mips64el In-Reply-To: <20230930102328.537070-1-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 12:23:28 +0200") References: <20230930102328.537070-1-thomas.petazzoni@bootlin.com> Message-ID: <87fs2f6o19.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > The gnu-efi package was enabled on mips64el by commit > 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add > mips64el support"). However, it has been failing to build for a long > time, and nobody bothered fixing it: > gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format > Even reverting back to gnu-efi 3.0.10, which was the version used at > the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the > issue. We tested updating to the latest gnu-efi version, 3.0.17, and > the problem still exists. > Since EFI on MIPS is extremely niche, we don't really want to invest > the time to fix this issue, so let's disable it again. If someone > cares enough, it can be fixed and re-enabled. > Fixes: > http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/ > Signed-off-by: Thomas Petazzoni Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:21:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:21:59 +0200 Subject: [Buildroot] [PATCH 1/2] package/powertop: picutils is optional, not mandatory In-Reply-To: <20230929161208.1106775-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 29 Sep 2023 18:12:07 +0200") References: <20230929161208.1106775-1-fontaine.fabrice@gmail.com> Message-ID: <87bkd36nzs.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > pciutils is optional, not mandatory since version 2.1 and the addition > of the package in commit 0adc0e24eed72efca0097c7567319f07b8af6d94 and > https://github.com/fenrus75/powertop/commit/98ca605e7cf856795facc4a3a4f9c5b9baf1cab1 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:05:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:05:09 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/pipewire: fix typo in Kconfig comment Message-ID: <20231013062252.D26978468D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5a594e2cf854cfa747fd1d51f193c458ff942e7c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x "NTPL" should read "NPTL" (Native POSIX Threads Library). Signed-off-by: Julien Olivain Signed-off-by: Peter Korsgaard (cherry picked from commit b9300f70b26f15d4cc58c0d5cff17f86b6e43bf6) Signed-off-by: Peter Korsgaard --- package/pipewire/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index 4929e5d3d1..9d2de6c866 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -60,7 +60,7 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NPTL, gcc >= 5" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ From peter at korsgaard.com Fri Oct 13 06:11:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:11:59 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-mako: add optional runtime dependency on python-babel Message-ID: <20231013062253.05EB68468C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3ff6c0ba88543dc6e95a6cea172e567c1f751181 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Some extensions of python-mako use python-babel, if they are used, python-babel must be added as a runtime dependency. Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni (cherry picked from commit 411a3deb1a4850f4eeff3faebdb87b8ef544d650) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index 2e1094189f..7bba31943e 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -17,4 +17,11 @@ config BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN Provide python-pygments support for mako.ext.pygmentplugin +config BR2_PACKAGE_PYTHON_MAKO_EXT_BABELPLUGIN + bool "mako extension babelplugin" + select BR2_PACKAGE_PYTHON_BABEL # runtime + help + Provide python-babel support for + mako.ext.babelplugin + endif From peter at korsgaard.com Fri Oct 13 06:00:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:00:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] board/freescale: fix i.MX arm-trusted-firmware for GCC12 Message-ID: <20231013062252.C89EF8468C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5b1a3bd2c3314b2cc2b1b9ba13b62fe5b88c5b33 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The arm-trusted-firmware package for IMX boards fails due to a GCC bug. See the attached patch description for detail. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910620 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910622 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910624 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910627 Signed-off-by: Brandon Maier Signed-off-by: Thomas Petazzoni (cherry picked from commit 977965a83a2bc8da163ce45739c55bb775db55ce) Signed-off-by: Peter Korsgaard --- ...-fix-Makefile-Suppress-array-bounds-error.patch | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch b/board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch new file mode 100644 index 0000000000..7a7a7bbc28 --- /dev/null +++ b/board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch @@ -0,0 +1,51 @@ +From b2a94de52ae4a940a87d569815b19d3fa92dd32a Mon Sep 17 00:00:00 2001 +From: Tom Hochstein +Date: Mon, 16 May 2022 13:45:16 -0500 +Subject: [PATCH] LF-7968-01 fix(Makefile): Suppress array-bounds error + +The array-bounds error is triggered now in cases where it was silent +before, causing errors like: + +``` +plat/imx/imx8m/hab.c: In function 'imx_hab_handler': +plat/imx/imx8m/hab.c:64:57: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'unsigned int[]'} [-Werror=array-bounds] + 64 | #define HAB_RVT_CHECK_TARGET_ARM64 ((unsigned long)*(uint32_t *)(HAB_RVT_BASE + 0x18)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +``` + +The error is a false-positive and is entered as a bug [1]. The problem +is fixed partially in GCC 12 and fully in GCC 13 [2]. + +The partial fix does not work here because the constant addresses used +are less than the 4kB boundary chosen for the partial fix, so suppress +the error until GCC is upgraded to 13. + +[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 +[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578#c39 + +Upstream-Status: Inappropriate [other] +Signed-off-by: Tom Hochstein +Signed-off-by: Jacky Bai +Reviewed-by: Ye Li +Signed-off-by: Brandon Maier +Upstream: https://github.com/nxp-imx/imx-atf/commit/058bf0f104115037d03e277f079825ef3659c5b9 +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index c87c3ae08..2d6b90f47 100644 +--- a/Makefile ++++ b/Makefile +@@ -346,7 +346,7 @@ WARNINGS += -Wshift-overflow -Wshift-sign-overflow \ + endif + + ifneq (${E},0) +-ERRORS := -Werror ++ERRORS := -Werror -Wno-error=array-bounds + endif + + CPPFLAGS = ${DEFINES} ${INCLUDES} ${MBEDTLS_INC} -nostdinc \ +-- +2.41.0 + From peter at korsgaard.com Fri Oct 13 06:07:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:07:01 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/openblas: Add support for RISC-V architecture Message-ID: <20231013062252.DCEED8468E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=252b6ade2c0cfa2ee37ee274547344d64d785367 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x OpenBLAS RISC-V 64bit support was added in [1] and was renamed to "RISCV64_GENERIC" in [2]. Those commits were first included in OpenBLAS release v0.3.13. This support can now be enabled. With this commit, we can install the library and packages such as GNU Octave on RISC-V platforms. This patch also adjusts the alignment for adding "RISCV64_GENERIC" in Config.in. [1] https://github.com/OpenMathLib/OpenBLAS/commit/c167a3d6f41ed2f5680c2a72846b4c9b5d416543 [2] https://github.com/OpenMathLib/OpenBLAS/commit/265ab484c89d10dfff2d5df678221918d7a880e3 Signed-off-by: Yu Chien Peter Lin Reviewed-by: Julien Olivain Tested-by: Julien Olivain Signed-off-by: Peter Korsgaard (cherry picked from commit c789bcddf0fb17580bef0cdc45b5334a90ecdf13) Signed-off-by: Peter Korsgaard --- package/openblas/Config.in | 73 +++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/package/openblas/Config.in b/package/openblas/Config.in index 58976e657a..26a76d29fb 100644 --- a/package/openblas/Config.in +++ b/package/openblas/Config.in @@ -1,55 +1,56 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET string - default "P2" if BR2_x86_pentium2 - default "KATMAI" if BR2_x86_pentium3 - default "NORTHWOOD" if BR2_x86_pentium4 - default "PRESCOTT" if BR2_x86_prescott || BR2_x86_nocona - default "BANIAS" if BR2_x86_pentium_m - default "CORE2" if BR2_x86_core2 - default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont || BR2_x86_westmere - default "SANDYBRIDGE" if BR2_x86_corei7_avx - default "HASWELL" if BR2_x86_core_avx2 - default "ATOM" if BR2_x86_atom - default "ATHLON" if BR2_x86_athlon || BR2_x86_athlon_4 - default "OPTERON" if BR2_x86_opteron - default "OPTERON_SSE3" if BR2_x86_opteron_sse3 - default "BARCELONA" if BR2_x86_barcelona - default "BOBCAT" if BR2_x86_jaguar - default "STEAMROLLER" if BR2_x86_steamroller - default "VIAC3" if BR2_x86_c3 || BR2_x86_c32 - default "POWER4" if BR2_powerpc_power4 - default "POWER5" if BR2_powerpc_power5 - default "POWER6" if BR2_powerpc_power6 - default "POWER7" if BR2_powerpc_power7 - default "POWER8" if BR2_powerpc_power8 - default "PPCG4" if BR2_powerpc_7400 || BR2_powerpc_7450 - default "PPC970" if BR2_powerpc_970 - default "PPC440" if BR2_powerpc_440 - default "PPC440FP2" if BR2_powerpc_440fp + default "P2" if BR2_x86_pentium2 + default "KATMAI" if BR2_x86_pentium3 + default "NORTHWOOD" if BR2_x86_pentium4 + default "PRESCOTT" if BR2_x86_prescott || BR2_x86_nocona + default "BANIAS" if BR2_x86_pentium_m + default "CORE2" if BR2_x86_core2 + default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont || BR2_x86_westmere + default "SANDYBRIDGE" if BR2_x86_corei7_avx + default "HASWELL" if BR2_x86_core_avx2 + default "ATOM" if BR2_x86_atom + default "ATHLON" if BR2_x86_athlon || BR2_x86_athlon_4 + default "OPTERON" if BR2_x86_opteron + default "OPTERON_SSE3" if BR2_x86_opteron_sse3 + default "BARCELONA" if BR2_x86_barcelona + default "BOBCAT" if BR2_x86_jaguar + default "STEAMROLLER" if BR2_x86_steamroller + default "VIAC3" if BR2_x86_c3 || BR2_x86_c32 + default "POWER4" if BR2_powerpc_power4 + default "POWER5" if BR2_powerpc_power5 + default "POWER6" if BR2_powerpc_power6 + default "POWER7" if BR2_powerpc_power7 + default "POWER8" if BR2_powerpc_power8 + default "PPCG4" if BR2_powerpc_7400 || BR2_powerpc_7450 + default "PPC970" if BR2_powerpc_970 + default "PPC440" if BR2_powerpc_440 + default "PPC440FP2" if BR2_powerpc_440fp # P5600 is built with MSA support which is only available in Codescape toolchains - default "P5600" if BR2_mips_p5600 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS - default "SICORTEX" if BR2_MIPS_CPU_MIPS64 + default "P5600" if BR2_mips_p5600 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS + default "SICORTEX" if BR2_MIPS_CPU_MIPS64 # I6400 is built with MSA support which is only available in Codescape toolchains - default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS + default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS # OpenBLAS assumes SPARC=Sparc v9 - default "SPARC" if BR2_sparc_v9 + default "SPARC" if BR2_sparc_v9 # Cortex-A15 always have a VFPv4 - default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF) + default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF) # Cortex-A9 have an optional VFPv3, so we need to make sure it # is available - default "CORTEXA9" if (BR2_cortex_a9 && BR2_ARM_EABIHF && \ + default "CORTEXA9" if (BR2_cortex_a9 && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV3) - default "ARMV5" if BR2_ARM_CPU_ARMV5 + default "ARMV5" if BR2_ARM_CPU_ARMV5 # On ARMv6, OpenBLAS assumes that a VFP is available, and # EABIhf is used - default "ARMV6" if (BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && \ + default "ARMV6" if (BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV2) # On ARMv7, OpenBLAS assumes that a full VFPv3+ is available # (and not the more limited D16 variant), and that EABIhf is # used. - default "ARMV7" if (BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && \ + default "ARMV7" if (BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV3) - default "ARMV8" if BR2_aarch64 || BR2_aarch64_be + default "ARMV8" if BR2_aarch64 || BR2_aarch64_be + default "RISCV64_GENERIC" if BR2_RISCV_64 help OpenBLAS target CPU. See TargetList.txt in the source tree for the possible target strings. A possible value is set From peter at korsgaard.com Thu Oct 12 21:07:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 23:07:59 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] board/freescale: fix arm-trusted-firmware for binutils 2.39+ Message-ID: <20231013062252.BBCD08468B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0c6524edfd0c6738ec0197fe00a73119d5ef77b8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The NXP arm-trusted-firmware forks use an older version of ATF that will error with "LOAD segment with RWX permissions". Similar patches are present in boot/arm-trusted-firmware/ for older ATF versions. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910852 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910630 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910631 (and a bunch of others which are not yet visible as they are hidden by other build issues) Signed-off-by: Brandon Maier Signed-off-by: Thomas Petazzoni (cherry picked from commit 8f3c940cbebbbdb5c94c41e60066d2f87ef13045) Signed-off-by: Peter Korsgaard --- ...ild-add-support-for-new-binutils-versions.patch | 61 ++++++++++++++++++++++ configs/freescale_imx8mmevk_defconfig | 1 + configs/freescale_imx8mnevk_defconfig | 1 + configs/freescale_imx8mpevk_defconfig | 1 + configs/freescale_imx8mqevk_defconfig | 1 + configs/freescale_imx8qmmek_defconfig | 1 + configs/freescale_imx8qxpmek_defconfig | 1 + configs/ls1028ardb_defconfig | 3 ++ 8 files changed, 70 insertions(+) diff --git a/board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch b/board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch new file mode 100644 index 0000000000..335c18553a --- /dev/null +++ b/board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch @@ -0,0 +1,61 @@ +From 0f75b03c008eacb9818af3a56dc088e72a623d17 Mon Sep 17 00:00:00 2001 +From: Marco Felsch +Date: Wed, 9 Nov 2022 12:59:09 +0100 +Subject: [PATCH] feat(build): add support for new binutils versions + +Users of GNU ld (BPF) from binutils 2.39+ will observe multiple instaces +of a new warning when linking the bl*.elf in the form: + + ld.bfd: warning: stm32mp1_helper.o: missing .note.GNU-stack section implies executable stack + ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker + ld.bfd: warning: bl2.elf has a LOAD segment with RWX permissions + ld.bfd: warning: bl32.elf has a LOAD segment with RWX permissions + +These new warnings are enbaled by default to secure elf binaries: + - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 + - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0d38576a34ec64a1b4500c9277a8e9d0f07e6774 + +Fix it in a similar way to what the Linux kernel does, see: +https://lore.kernel.org/all/20220810222442.2296651-1-ndesaulniers at google.com/ + +Following the reasoning there, we set "-z noexecstack" for all linkers +(although LLVM's LLD defaults to it) and optional add +--no-warn-rwx-segments since this a ld.bfd related. + +Signed-off-by: Marco Felsch +Signed-off-by: Robert Schwebel +Change-Id: I9430f5fa5036ca88da46cd3b945754d62616b617 +Signed-off-by: Heiko Thiery +Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/1f49db5f25cdd4e43825c9bcc0575070b80f628c +--- + Makefile | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 1ddb7b844..470956b19 100644 +--- a/Makefile ++++ b/Makefile +@@ -416,6 +416,8 @@ endif + + GCC_V_OUTPUT := $(shell $(CC) -v 2>&1) + ++TF_LDFLAGS += -z noexecstack ++ + # LD = armlink + ifneq ($(findstring armlink,$(notdir $(LD))),) + TF_LDFLAGS += --diag_error=warning --lto_level=O1 +@@ -442,7 +444,10 @@ TF_LDFLAGS += $(subst --,-Xlinker --,$(TF_LDFLAGS_$(ARCH))) + + # LD = gcc-ld (ld) or llvm-ld (ld.lld) or other + else +-TF_LDFLAGS += --fatal-warnings -O1 ++# With ld.bfd version 2.39 and newer new warnings are added. Skip those since we ++# are not loaded by a elf loader. ++TF_LDFLAGS += $(call ld_option, --no-warn-rwx-segments) ++TF_LDFLAGS += -O1 + TF_LDFLAGS += --gc-sections + # ld.lld doesn't recognize the errata flags, + # therefore don't add those in that case +-- +2.30.2 + diff --git a/configs/freescale_imx8mmevk_defconfig b/configs/freescale_imx8mmevk_defconfig index dcb4b42540..ca5c308da6 100644 --- a/configs/freescale_imx8mmevk_defconfig +++ b/configs/freescale_imx8mmevk_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mm-evk.dtb" diff --git a/configs/freescale_imx8mnevk_defconfig b/configs/freescale_imx8mnevk_defconfig index 0653978d91..ac73bea769 100644 --- a/configs/freescale_imx8mnevk_defconfig +++ b/configs/freescale_imx8mnevk_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mn-ddr4-evk.dtb" diff --git a/configs/freescale_imx8mpevk_defconfig b/configs/freescale_imx8mpevk_defconfig index 5a72406b67..913c190d87 100644 --- a/configs/freescale_imx8mpevk_defconfig +++ b/configs/freescale_imx8mpevk_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mp-evk.dtb" diff --git a/configs/freescale_imx8mqevk_defconfig b/configs/freescale_imx8mqevk_defconfig index e3f88dc44c..79375d7f88 100644 --- a/configs/freescale_imx8mqevk_defconfig +++ b/configs/freescale_imx8mqevk_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mq-evk.dtb" diff --git a/configs/freescale_imx8qmmek_defconfig b/configs/freescale_imx8qmmek_defconfig index 75777646df..0fc3fe7b07 100644 --- a/configs/freescale_imx8qmmek_defconfig +++ b/configs/freescale_imx8qmmek_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV4=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8qm-mek.dtb" BR2_LINUX_KERNEL=y diff --git a/configs/freescale_imx8qxpmek_defconfig b/configs/freescale_imx8qxpmek_defconfig index ce8f6b7c84..47a2104d5b 100644 --- a/configs/freescale_imx8qxpmek_defconfig +++ b/configs/freescale_imx8qxpmek_defconfig @@ -2,6 +2,7 @@ BR2_aarch64=y BR2_cortex_a35=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttyLP0" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8qxp-mek.dtb" diff --git a/configs/ls1028ardb_defconfig b/configs/ls1028ardb_defconfig index a46b94511a..d92c543b44 100644 --- a/configs/ls1028ardb_defconfig +++ b/configs/ls1028ardb_defconfig @@ -2,6 +2,9 @@ BR2_aarch64=y BR2_cortex_a72=y +# patches +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" + # Toolchain # Linux headers same as kernel, a 5.10 series BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y From peter at korsgaard.com Fri Oct 13 06:11:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:11:53 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-mako: add optional runtime dependency on python-pygments Message-ID: <20231013062252.F12568468B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=889446cf967547963bfe62576a67f41e2b9aff78 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Some extensions of python-mako use python-pygments, if they are used, python-pygments must be added as a runtime dependency. Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni (cherry picked from commit adb3f5a3e0d5bd6df60c91c46a03a2ff9c867dbb) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index e6a10c9c2e..2e1094189f 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -7,3 +7,14 @@ config BR2_PACKAGE_PYTHON_MAKO for maximum performance. https://pypi.python.org/pypi/Mako + +if BR2_PACKAGE_PYTHON_MAKO + +config BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN + bool "mako extension pygmentplugin" + select BR2_PACKAGE_PYTHON_PYGMENTS # runtime + help + Provide python-pygments support for + mako.ext.pygmentplugin + +endif From peter at korsgaard.com Fri Oct 13 06:20:31 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:20:31 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gnu-efi: disable on mips64el Message-ID: <20231013062253.1A80F8468E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fb3aef53d22aed75f31d1c8327cad8150a8b34fa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The gnu-efi package was enabled on mips64el by commit 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add mips64el support"). However, it has been failing to build for a long time, and nobody bothered fixing it: gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format Even reverting back to gnu-efi 3.0.10, which was the version used at the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the issue. We tested updating to the latest gnu-efi version, 3.0.17, and the problem still exists. Since EFI on MIPS is extremely niche, we don't really want to invest the time to fix this issue, so let's disable it again. If someone cares enough, it can be fixed and re-enabled. Fixes: http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/ Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 13b0e6bbf3b1473993972fff8e4590a28749d823) Signed-off-by: Peter Korsgaard --- package/gnu-efi/Config.in | 1 - package/gnu-efi/gnu-efi.mk | 2 -- 2 files changed, 3 deletions(-) diff --git a/package/gnu-efi/Config.in b/package/gnu-efi/Config.in index 8e35fddbcb..d456a23837 100644 --- a/package/gnu-efi/Config.in +++ b/package/gnu-efi/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_aarch64_be default y if BR2_i386 - default y if BR2_mips64el default y if BR2_x86_64 config BR2_PACKAGE_GNU_EFI diff --git a/package/gnu-efi/gnu-efi.mk b/package/gnu-efi/gnu-efi.mk index 93b5888370..686a14be01 100644 --- a/package/gnu-efi/gnu-efi.mk +++ b/package/gnu-efi/gnu-efi.mk @@ -24,8 +24,6 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y) GNU_EFI_PLATFORM = arm else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) GNU_EFI_PLATFORM = aarch64 -else ifeq ($(BR2_mips64el),y) -GNU_EFI_PLATFORM = mips64el endif GNU_EFI_MAKE_OPTS = \ From peter at korsgaard.com Fri Oct 13 06:21:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:21:42 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/powertop: picutils is optional, not mandatory Message-ID: <20231013062253.248C08468B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f8483dbae4c72491792d6efb9b5cdacc485b8eb9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x pciutils is optional, not mandatory since version 2.1 and the addition of the package in commit 0adc0e24eed72efca0097c7567319f07b8af6d94 and https://github.com/fenrus75/powertop/commit/98ca605e7cf856795facc4a3a4f9c5b9baf1cab1 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: - one item per multi-line in _DEPENDENCIES - reorder _DEPENDENCIES ] Signed-off-by: Yann E. MORIN (cherry picked from commit bcfcc07413c9e5222ad82552208c7b17ffb17105) Signed-off-by: Peter Korsgaard --- package/powertop/Config.in | 1 - package/powertop/powertop.mk | 10 ++++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/powertop/Config.in b/package/powertop/Config.in index 0f323a7bfb..fd88a3d0eb 100644 --- a/package/powertop/Config.in +++ b/package/powertop/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_POWERTOP depends on BR2_TOOLCHAIN_HAS_THREADS # libnl depends on BR2_USE_WCHAR select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_PCIUTILS select BR2_PACKAGE_LIBNL help A tool to diagnose issues with power consumption and power diff --git a/package/powertop/powertop.mk b/package/powertop/powertop.mk index c3e8d2549c..e035868fa9 100644 --- a/package/powertop/powertop.mk +++ b/package/powertop/powertop.mk @@ -6,10 +6,16 @@ POWERTOP_VERSION = 2.13 POWERTOP_SITE = https://01.org/sites/default/files/downloads -POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-pkgconf \ - $(TARGET_NLS_DEPENDENCIES) POWERTOP_LICENSE = GPL-2.0 POWERTOP_LICENSE_FILES = COPYING + +POWERTOP_DEPENDENCIES = \ + host-pkgconf \ + libnl \ + ncurses \ + $(if $(BR2_PACKAGE_PCIUTILS),pciutils) \ + $(TARGET_NLS_DEPENDENCIES) + POWERTOP_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) # 0001-dont-force-stack-smashing-protection.patch POWERTOP_AUTORECONF = YES From peter at korsgaard.com Fri Oct 13 06:09:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:09:20 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-mako: add missing dependency on python-markupsafe Message-ID: <20231013062252.E676484690@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b370a3bfab44c2343deb56935653de6dee28e702 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Mako imports markupsafe so it needs to be selected when selecting BR2_PACKAGE_PYTHON_MAKO. Fixes: https://bugs.busybox.net/show_bug.cgi?id=15628 Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni (cherry picked from commit 2b506cb2dd031f2bdecc3c90111e31e145211d75) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index 442e290efa..e6a10c9c2e 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_MAKO bool "python-mako" + select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime help Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules From peter at korsgaard.com Fri Oct 13 06:14:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:14:02 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/olsr: fix build with gpsd >= 3.25 Message-ID: <20231013062253.111F08468D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7f420077e0d4664feb7fc5fdc6fcba29b48b27c3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix the following build failure with gpsd >= 3.25 raised since commit 3c7fece853f3def9a425eccc384b9dacb1010051: In file included from src/configuration.h:50, from src/configuration.c:46: src/gpsdclient.h:64:8: error: redefinition of 'struct fixsource_t' 64 | struct fixsource_t { | ^~~~~~~~~~~ In file included from src/gpsdclient.h:49, from src/configuration.h:50, from src/configuration.c:46: /tmp/instance-17/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/gps.h:2714:8: note: originally defined here 2714 | struct fixsource_t | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/47a619686bb47debd525c92aa7e14bee5c40ca9e Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 4c32b3d9ff8727fd61dbf2d55105c2900f0d2dec) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 1 + package/olsr/0006-build-patch-for-gpsd-3-25.patch | 31 +++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/.checkpackageignore b/.checkpackageignore index 44220bbb55..1ff0f4e0c0 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1038,6 +1038,7 @@ package/olsr/0001-olsrd-migrate-to-using-bison-3.7.1.patch Upstream package/olsr/0002-lib-pud-Makefile-fix-parallel-build.patch Upstream package/olsr/0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch Upstream package/olsr/0005-lib-pud-src-gpsdclient.c-drop-handling-of-gpsdata-fi.patch Upstream +package/olsr/0006-build-patch-for-gpsd-3-25.patch Upstream package/olsr/S50olsr Indent Shellcheck Variables package/omxplayer/0001-Update-Makefile-to-be-compatible-with-buildroot.patch Upstream package/open-iscsi/0001-SHA3-is-not-supported-by-libressl.patch Upstream diff --git a/package/olsr/0006-build-patch-for-gpsd-3-25.patch b/package/olsr/0006-build-patch-for-gpsd-3-25.patch new file mode 100644 index 0000000000..c82bc1bb28 --- /dev/null +++ b/package/olsr/0006-build-patch-for-gpsd-3-25.patch @@ -0,0 +1,31 @@ +From 17d583258969c1d182361e0e168b3cad79ef64e6 Mon Sep 17 00:00:00 2001 +From: Rui Chen +Date: Mon, 16 Jan 2023 18:35:32 -0500 +Subject: [PATCH] build: patch for gpsd 3.25 + +Signed-off-by: Rui Chen +[Retrieved from: https://github.com/OLSR/olsrd/pull/119] +Signed-off-by: Fabrice Fontaine +--- + lib/pud/src/gpsdclient.h | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/lib/pud/src/gpsdclient.h b/lib/pud/src/gpsdclient.h +index 061056b12..a51dd2211 100644 +--- a/lib/pud/src/gpsdclient.h ++++ b/lib/pud/src/gpsdclient.h +@@ -60,14 +60,6 @@ struct GpsdConnectionState { + struct devconfig_t dev[MAXUSERDEVS]; + }; + +-/* describe a data source */ +-struct fixsource_t { +- char spec[PATH_MAX]; /* working space, will be modified */ +- char *server; /* pointer into spec field */ +- char *port; /* pointer into spec field */ +- char *device; /* pointer into spec field */ +-}; +- + /** + * The gpsd daemon spec + */ From peter at korsgaard.com Fri Oct 13 06:11:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:11:47 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-mako: add optional runtime dependency on python-pygments Message-ID: <20231013062403.958D6846AC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=371018f7c4678768aae6b0fbbbad55fe82f22eff branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Some extensions of python-mako use python-pygments, if they are used, python-pygments must be added as a runtime dependency. Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni (cherry picked from commit adb3f5a3e0d5bd6df60c91c46a03a2ff9c867dbb) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index e6a10c9c2e..2e1094189f 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -7,3 +7,14 @@ config BR2_PACKAGE_PYTHON_MAKO for maximum performance. https://pypi.python.org/pypi/Mako + +if BR2_PACKAGE_PYTHON_MAKO + +config BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN + bool "mako extension pygmentplugin" + select BR2_PACKAGE_PYTHON_PYGMENTS # runtime + help + Provide python-pygments support for + mako.ext.pygmentplugin + +endif From peter at korsgaard.com Fri Oct 13 06:13:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:13:15 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/olsr: fix build with gpsd >= 3.25 Message-ID: <20231013062403.A7202846C2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=40f8284dd627910603ce86cdc79691dd3df214f2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix the following build failure with gpsd >= 3.25 raised since commit 3c7fece853f3def9a425eccc384b9dacb1010051: In file included from src/configuration.h:50, from src/configuration.c:46: src/gpsdclient.h:64:8: error: redefinition of 'struct fixsource_t' 64 | struct fixsource_t { | ^~~~~~~~~~~ In file included from src/gpsdclient.h:49, from src/configuration.h:50, from src/configuration.c:46: /tmp/instance-17/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/gps.h:2714:8: note: originally defined here 2714 | struct fixsource_t | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/47a619686bb47debd525c92aa7e14bee5c40ca9e Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 4c32b3d9ff8727fd61dbf2d55105c2900f0d2dec) Signed-off-by: Peter Korsgaard --- package/olsr/0006-build-patch-for-gpsd-3-25.patch | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/package/olsr/0006-build-patch-for-gpsd-3-25.patch b/package/olsr/0006-build-patch-for-gpsd-3-25.patch new file mode 100644 index 0000000000..c82bc1bb28 --- /dev/null +++ b/package/olsr/0006-build-patch-for-gpsd-3-25.patch @@ -0,0 +1,31 @@ +From 17d583258969c1d182361e0e168b3cad79ef64e6 Mon Sep 17 00:00:00 2001 +From: Rui Chen +Date: Mon, 16 Jan 2023 18:35:32 -0500 +Subject: [PATCH] build: patch for gpsd 3.25 + +Signed-off-by: Rui Chen +[Retrieved from: https://github.com/OLSR/olsrd/pull/119] +Signed-off-by: Fabrice Fontaine +--- + lib/pud/src/gpsdclient.h | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/lib/pud/src/gpsdclient.h b/lib/pud/src/gpsdclient.h +index 061056b12..a51dd2211 100644 +--- a/lib/pud/src/gpsdclient.h ++++ b/lib/pud/src/gpsdclient.h +@@ -60,14 +60,6 @@ struct GpsdConnectionState { + struct devconfig_t dev[MAXUSERDEVS]; + }; + +-/* describe a data source */ +-struct fixsource_t { +- char spec[PATH_MAX]; /* working space, will be modified */ +- char *server; /* pointer into spec field */ +- char *port; /* pointer into spec field */ +- char *device; /* pointer into spec field */ +-}; +- + /** + * The gpsd daemon spec + */ From peter at korsgaard.com Fri Oct 13 06:05:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:05:15 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/pipewire: fix typo in Kconfig comment Message-ID: <20231013062403.6EDFC846AC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e3994a549fb995ff0176693d29285b926c0a955e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x "NTPL" should read "NPTL" (Native POSIX Threads Library). Signed-off-by: Julien Olivain Signed-off-by: Peter Korsgaard (cherry picked from commit b9300f70b26f15d4cc58c0d5cff17f86b6e43bf6) Signed-off-by: Peter Korsgaard --- package/pipewire/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index 4929e5d3d1..9d2de6c866 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -60,7 +60,7 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NPTL, gcc >= 5" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ From peter at korsgaard.com Fri Oct 13 06:21:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:21:36 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/powertop: picutils is optional, not mandatory Message-ID: <20231013062403.B9C94846B4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dd6ec5949eee32654709b074e20ca11046ad4f3b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x pciutils is optional, not mandatory since version 2.1 and the addition of the package in commit 0adc0e24eed72efca0097c7567319f07b8af6d94 and https://github.com/fenrus75/powertop/commit/98ca605e7cf856795facc4a3a4f9c5b9baf1cab1 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: - one item per multi-line in _DEPENDENCIES - reorder _DEPENDENCIES ] Signed-off-by: Yann E. MORIN (cherry picked from commit bcfcc07413c9e5222ad82552208c7b17ffb17105) Signed-off-by: Peter Korsgaard --- package/powertop/Config.in | 1 - package/powertop/powertop.mk | 10 ++++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/powertop/Config.in b/package/powertop/Config.in index 0f323a7bfb..fd88a3d0eb 100644 --- a/package/powertop/Config.in +++ b/package/powertop/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_POWERTOP depends on BR2_TOOLCHAIN_HAS_THREADS # libnl depends on BR2_USE_WCHAR select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_PCIUTILS select BR2_PACKAGE_LIBNL help A tool to diagnose issues with power consumption and power diff --git a/package/powertop/powertop.mk b/package/powertop/powertop.mk index c3e8d2549c..e035868fa9 100644 --- a/package/powertop/powertop.mk +++ b/package/powertop/powertop.mk @@ -6,10 +6,16 @@ POWERTOP_VERSION = 2.13 POWERTOP_SITE = https://01.org/sites/default/files/downloads -POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-pkgconf \ - $(TARGET_NLS_DEPENDENCIES) POWERTOP_LICENSE = GPL-2.0 POWERTOP_LICENSE_FILES = COPYING + +POWERTOP_DEPENDENCIES = \ + host-pkgconf \ + libnl \ + ncurses \ + $(if $(BR2_PACKAGE_PCIUTILS),pciutils) \ + $(TARGET_NLS_DEPENDENCIES) + POWERTOP_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) # 0001-dont-force-stack-smashing-protection.patch POWERTOP_AUTORECONF = YES From peter at korsgaard.com Fri Oct 13 06:06:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:06:52 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/openblas: Add support for RISC-V architecture Message-ID: <20231013062403.83DF7846B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=91821019604a369af5d236685062f33824cb2f1e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x OpenBLAS RISC-V 64bit support was added in [1] and was renamed to "RISCV64_GENERIC" in [2]. Those commits were first included in OpenBLAS release v0.3.13. This support can now be enabled. With this commit, we can install the library and packages such as GNU Octave on RISC-V platforms. This patch also adjusts the alignment for adding "RISCV64_GENERIC" in Config.in. [1] https://github.com/OpenMathLib/OpenBLAS/commit/c167a3d6f41ed2f5680c2a72846b4c9b5d416543 [2] https://github.com/OpenMathLib/OpenBLAS/commit/265ab484c89d10dfff2d5df678221918d7a880e3 Signed-off-by: Yu Chien Peter Lin Reviewed-by: Julien Olivain Tested-by: Julien Olivain Signed-off-by: Peter Korsgaard (cherry picked from commit c789bcddf0fb17580bef0cdc45b5334a90ecdf13) Signed-off-by: Peter Korsgaard --- package/openblas/Config.in | 73 +++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/package/openblas/Config.in b/package/openblas/Config.in index 0144e93a3f..4a5f08783c 100644 --- a/package/openblas/Config.in +++ b/package/openblas/Config.in @@ -1,55 +1,56 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET string - default "P2" if BR2_x86_pentium2 - default "KATMAI" if BR2_x86_pentium3 - default "NORTHWOOD" if BR2_x86_pentium4 - default "PRESCOTT" if BR2_x86_prescott || BR2_x86_nocona - default "BANIAS" if BR2_x86_pentium_m - default "CORE2" if BR2_x86_core2 - default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont || BR2_x86_westmere - default "SANDYBRIDGE" if BR2_x86_corei7_avx - default "HASWELL" if BR2_x86_core_avx2 - default "ATOM" if BR2_x86_atom - default "ATHLON" if BR2_x86_athlon || BR2_x86_athlon_4 - default "OPTERON" if BR2_x86_opteron - default "OPTERON_SSE3" if BR2_x86_opteron_sse3 - default "BARCELONA" if BR2_x86_barcelona - default "BOBCAT" if BR2_x86_jaguar - default "STEAMROLLER" if BR2_x86_steamroller - default "VIAC3" if BR2_x86_c3 || BR2_x86_c32 - default "POWER4" if BR2_powerpc_power4 - default "POWER5" if BR2_powerpc_power5 - default "POWER6" if BR2_powerpc_power6 - default "POWER7" if BR2_powerpc_power7 - default "POWER8" if BR2_powerpc_power8 - default "PPCG4" if BR2_powerpc_7400 || BR2_powerpc_7450 - default "PPC970" if BR2_powerpc_970 - default "PPC440" if BR2_powerpc_440 - default "PPC440FP2" if BR2_powerpc_440fp + default "P2" if BR2_x86_pentium2 + default "KATMAI" if BR2_x86_pentium3 + default "NORTHWOOD" if BR2_x86_pentium4 + default "PRESCOTT" if BR2_x86_prescott || BR2_x86_nocona + default "BANIAS" if BR2_x86_pentium_m + default "CORE2" if BR2_x86_core2 + default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont || BR2_x86_westmere + default "SANDYBRIDGE" if BR2_x86_corei7_avx + default "HASWELL" if BR2_x86_core_avx2 + default "ATOM" if BR2_x86_atom + default "ATHLON" if BR2_x86_athlon || BR2_x86_athlon_4 + default "OPTERON" if BR2_x86_opteron + default "OPTERON_SSE3" if BR2_x86_opteron_sse3 + default "BARCELONA" if BR2_x86_barcelona + default "BOBCAT" if BR2_x86_jaguar + default "STEAMROLLER" if BR2_x86_steamroller + default "VIAC3" if BR2_x86_c3 || BR2_x86_c32 + default "POWER4" if BR2_powerpc_power4 + default "POWER5" if BR2_powerpc_power5 + default "POWER6" if BR2_powerpc_power6 + default "POWER7" if BR2_powerpc_power7 + default "POWER8" if BR2_powerpc_power8 + default "PPCG4" if BR2_powerpc_7400 || BR2_powerpc_7450 + default "PPC970" if BR2_powerpc_970 + default "PPC440" if BR2_powerpc_440 + default "PPC440FP2" if BR2_powerpc_440fp # P5600 is built with MSA support which is only available in Codescape toolchains - default "P5600" if BR2_mips_p5600 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS - default "SICORTEX" if BR2_MIPS_CPU_MIPS64 + default "P5600" if BR2_mips_p5600 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS + default "SICORTEX" if BR2_MIPS_CPU_MIPS64 # I6400 is built with MSA support which is only available in Codescape toolchains - default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS + default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS # OpenBLAS assumes SPARC=Sparc v9 - default "SPARC" if BR2_sparc_v9 + default "SPARC" if BR2_sparc_v9 # Cortex-A15 always have a VFPv4 - default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF) + default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF) # Cortex-A9 have an optional VFPv3, so we need to make sure it # is available - default "CORTEXA9" if (BR2_cortex_a9 && BR2_ARM_EABIHF && \ + default "CORTEXA9" if (BR2_cortex_a9 && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV3) - default "ARMV5" if BR2_ARM_CPU_ARMV5 + default "ARMV5" if BR2_ARM_CPU_ARMV5 # On ARMv6, OpenBLAS assumes that a VFP is available, and # EABIhf is used - default "ARMV6" if (BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && \ + default "ARMV6" if (BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV2) # On ARMv7, OpenBLAS assumes that a full VFPv3+ is available # (and not the more limited D16 variant), and that EABIhf is # used. - default "ARMV7" if (BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && \ + default "ARMV7" if (BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV3) - default "ARMV8" if BR2_aarch64 || BR2_aarch64_be + default "ARMV8" if BR2_aarch64 || BR2_aarch64_be + default "RISCV64_GENERIC" if BR2_RISCV_64 help OpenBLAS target CPU. See TargetList.txt in the source tree for the possible target strings. A possible value is set From peter at korsgaard.com Fri Oct 13 06:12:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:12:04 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-mako: add optional runtime dependency on python-babel Message-ID: <20231013062403.9E01B846BC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1c00ef0684ab83b1af01397e78bb30dcda51df95 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Some extensions of python-mako use python-babel, if they are used, python-babel must be added as a runtime dependency. Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni (cherry picked from commit 411a3deb1a4850f4eeff3faebdb87b8ef544d650) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index 2e1094189f..7bba31943e 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -17,4 +17,11 @@ config BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN Provide python-pygments support for mako.ext.pygmentplugin +config BR2_PACKAGE_PYTHON_MAKO_EXT_BABELPLUGIN + bool "mako extension babelplugin" + select BR2_PACKAGE_PYTHON_BABEL # runtime + help + Provide python-babel support for + mako.ext.babelplugin + endif From peter at korsgaard.com Fri Oct 13 06:09:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:09:40 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-mako: add missing dependency on python-markupsafe Message-ID: <20231013062403.8C248846B4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5cb2f87f96ef797979d0e7f6f5b7014ed9f71997 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Mako imports markupsafe so it needs to be selected when selecting BR2_PACKAGE_PYTHON_MAKO. Fixes: https://bugs.busybox.net/show_bug.cgi?id=15628 Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni (cherry picked from commit 2b506cb2dd031f2bdecc3c90111e31e145211d75) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index 442e290efa..e6a10c9c2e 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_MAKO bool "python-mako" + select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime help Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules From peter at korsgaard.com Fri Oct 13 06:20:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:20:50 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gnu-efi: disable on mips64el Message-ID: <20231013062403.B1B2E846B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7943809590aa15c997c4e8b9ce31065e3b682c53 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The gnu-efi package was enabled on mips64el by commit 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add mips64el support"). However, it has been failing to build for a long time, and nobody bothered fixing it: gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format Even reverting back to gnu-efi 3.0.10, which was the version used at the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the issue. We tested updating to the latest gnu-efi version, 3.0.17, and the problem still exists. Since EFI on MIPS is extremely niche, we don't really want to invest the time to fix this issue, so let's disable it again. If someone cares enough, it can be fixed and re-enabled. Fixes: http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/ Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 13b0e6bbf3b1473993972fff8e4590a28749d823) Signed-off-by: Peter Korsgaard --- package/gnu-efi/Config.in | 1 - package/gnu-efi/gnu-efi.mk | 2 -- 2 files changed, 3 deletions(-) diff --git a/package/gnu-efi/Config.in b/package/gnu-efi/Config.in index 8e35fddbcb..d456a23837 100644 --- a/package/gnu-efi/Config.in +++ b/package/gnu-efi/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_aarch64_be default y if BR2_i386 - default y if BR2_mips64el default y if BR2_x86_64 config BR2_PACKAGE_GNU_EFI diff --git a/package/gnu-efi/gnu-efi.mk b/package/gnu-efi/gnu-efi.mk index 93b5888370..686a14be01 100644 --- a/package/gnu-efi/gnu-efi.mk +++ b/package/gnu-efi/gnu-efi.mk @@ -24,8 +24,6 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y) GNU_EFI_PLATFORM = arm else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) GNU_EFI_PLATFORM = aarch64 -else ifeq ($(BR2_mips64el),y) -GNU_EFI_PLATFORM = mips64el endif GNU_EFI_MAKE_OPTS = \ From adam.duskett at amarulasolutions.com Fri Oct 13 08:30:37 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 10:30:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: bump version to 254.5 Message-ID: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> All tests passed in Debian 11 with the following command: ./support/testing/run-tests tests.init.test_systemd Signed-off-by: Adam Duskett --- package/systemd/systemd.hash | 2 +- package/systemd/systemd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/systemd/systemd.hash b/package/systemd/systemd.hash index 10f4bc04fa..f0c3db60e7 100644 --- a/package/systemd/systemd.hash +++ b/package/systemd/systemd.hash @@ -1,5 +1,5 @@ # sha256 locally computed -sha256 18db69c8fc33afebf95a40cfa3769df5f0e4a07bccdebd33b2fd81c8b75e7a02 systemd-254.tar.gz +sha256 41873783aa1c680e10d2f2626797a1c2fef8018d69b68c8c77639e140ee7846d systemd-254.5.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index d220673572..d428765ec3 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -19,7 +19,7 @@ # - Diff sysusers.d with the previous version # - Diff factory/etc/nsswitch.conf with the previous version # (details are often sprinkled around in README and manpages) -SYSTEMD_VERSION = 254 +SYSTEMD_VERSION = 254.5 SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) SYSTEMD_LICENSE = \ LGPL-2.1+, \ -- 2.41.0 From adam.duskett at amarulasolutions.com Fri Oct 13 09:35:41 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 11:35:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/rauc: bump version to 1.10.1 Message-ID: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/rauc/rauc.hash | 2 +- package/rauc/rauc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rauc/rauc.hash b/package/rauc/rauc.hash index 3a1fa6f5f9..38fea45b8a 100644 --- a/package/rauc/rauc.hash +++ b/package/rauc/rauc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d3eec057e74d41565bbdfa10ff8bb2edb38e39af2b2126f8ad1d2174ae034d47 rauc-1.10.tar.xz +sha256 aa99164c5f54fd29b5c8456221b51f92c900884af66de3e1b7f15a25b7db98a7 rauc-1.10.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk index 9f0571402f..4211abdcc4 100644 --- a/package/rauc/rauc.mk +++ b/package/rauc/rauc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RAUC_VERSION = 1.10 +RAUC_VERSION = 1.10.1 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION) RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz RAUC_LICENSE = LGPL-2.1 -- 2.41.0 From nolange79 at gmail.com Fri Oct 13 09:59:36 2023 From: nolange79 at gmail.com (Norbert Lange) Date: Fri, 13 Oct 2023 11:59:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: bump version to 254.5 In-Reply-To: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> References: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> Message-ID: Am Fr., 13. Okt. 2023 um 10:30 Uhr schrieb Adam Duskett : > > All tests passed in Debian 11 with the following command: > > ./support/testing/run-tests tests.init.test_systemd > > Signed-off-by: Adam Duskett Acked-by: Norbert Lange > --- > package/systemd/systemd.hash | 2 +- > package/systemd/systemd.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/systemd/systemd.hash b/package/systemd/systemd.hash > index 10f4bc04fa..f0c3db60e7 100644 > --- a/package/systemd/systemd.hash > +++ b/package/systemd/systemd.hash > @@ -1,5 +1,5 @@ > # sha256 locally computed > -sha256 18db69c8fc33afebf95a40cfa3769df5f0e4a07bccdebd33b2fd81c8b75e7a02 systemd-254.tar.gz > +sha256 41873783aa1c680e10d2f2626797a1c2fef8018d69b68c8c77639e140ee7846d systemd-254.5.tar.gz > sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 > sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index d220673572..d428765ec3 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -19,7 +19,7 @@ > # - Diff sysusers.d with the previous version > # - Diff factory/etc/nsswitch.conf with the previous version > # (details are often sprinkled around in README and manpages) > -SYSTEMD_VERSION = 254 > +SYSTEMD_VERSION = 254.5 > SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) > SYSTEMD_LICENSE = \ > LGPL-2.1+, \ > -- > 2.41.0 > Using an identical patch for a few days, no problems to be expected. Regards, Norbert From peter at korsgaard.com Fri Oct 13 10:15:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:15:07 +0200 Subject: [Buildroot] [git commit] package/opkg-utils: actually install to target In-Reply-To: <20230930190343.CDF7A83C8B@busybox.osuosl.org> (Peter Korsgaard's message of "Sat, 30 Sep 2023 21:03:24 +0200") References: <20230930190343.CDF7A83C8B@busybox.osuosl.org> Message-ID: <874jiu7rro.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > commit: https://git.buildroot.net/buildroot/commit/?id=8c3c741439acb817e156fe28083ba0c6a0c4c720 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Commit b9bf1c6535cb (package/opkg-utils: add opkg-utils as target pkg) > misspelled the macro to install to target, most probably as a bad > copy-paste from the host macro. > Fix that. > Reported-by: Michael Hacker > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 10:15:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:15:36 +0200 Subject: [Buildroot] [PATCH] package/urandom-scripts: move seedrng init script to S01 In-Reply-To: <20230930134234.3567570-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sat, 30 Sep 2023 15:42:34 +0200") References: <20230930134234.3567570-1-peter@korsgaard.com> Message-ID: <87zg0m6d6f.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > We want to initialize the kernel random number generator as soon as > possible, as early init scripts may also need random numbers (E.G. > syslog-ng in S01syslog-ng does). > Seedrng was presumably only using S20 because the previos urandom script > used S20, which (after som moves) dates all the way back to: > commit 8262508fc4456b5230216473ea14c897268ba791 > Author: Eric Andersen > Date: Fri Apr 26 22:01:43 2002 +0000 > With this update, everything now works as expected. > -Erik > Seedrng needs persistent storage, but mount -a is run before executing the > init scripts, so S01 should be as good as S20 - Atleast with the scripts in > upstream Buildroot. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 10:23:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:23:10 +0200 Subject: [Buildroot] [git commit] package/rockchip-mali: fix hash of generated archive In-Reply-To: <20230930221348.6363783D49@busybox.osuosl.org> (Yann E. MORIN's message of "Sun, 1 Oct 2023 00:13:20 +0200") References: <20230930221348.6363783D49@busybox.osuosl.org> Message-ID: <87v8ba6ctt.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > commit: https://git.buildroot.net/buildroot/commit/?id=f7f2de3da7e1a5af4e2773ff6bb9e528159be7d3 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > The "official" repository we used to reference disapeared quite some > time ago, so in commit 8c25838b53e6 (package/rockchip-mali: fix build > failure due to missing URL) we switched to using a mirror. > The tarballs generated on the Github side have a top-level directory > that is named "repo-name-HASH", so when we switched to a repository > named "libmali" to one named "mirrors", the content of the generated > tarball changed, even though the content of the files did not. > We can't just change the hash to the new value, or that would conflict > with thecopy on s.b.o and older versions of Buildroot. > So, we drop one cahr from the commit hash, which eans the tarball name > changes, and thus we can calculate a new hash for that tarball, and > there will be no conflict with any existing tarball on s.b.o. > Reported-by: Thomas Petazzoni > Signed-off-by: Yann E. MORIN Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 10:24:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:24:13 +0200 Subject: [Buildroot] [PATCH] boot/at91bootstrap: disable PIE and stack-protector build flags In-Reply-To: <20231001110422.0810c899@windsurf> (Thomas Petazzoni via buildroot's message of "Sun, 1 Oct 2023 11:04:22 +0200") References: <20221004125242.136925-1-kory.maincent@bootlin.com> <20231001110422.0810c899@windsurf> Message-ID: <87r0ly6cs2.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > Hello K?ry, > On Tue, 4 Oct 2022 14:52:41 +0200 > K?ry Maincent via buildroot wrote: >> From: Kory Maincent >> >> The toolchain wrapper add automatically Position Independent Execution >> and stack protector flags in the build process when selected in the >> configuration. at91bootstrap does not support these, therefore I added a >> patch to disable them in the Makefiles >> >> Signed-off-by: Kory Maincent >> --- >> ...ck-protector-and-the-PIE-build-flags.patch | 502 ++++++++++++++++++ >> 1 file changed, 502 insertions(+) >> create mode 100644 boot/at91bootstrap/0004-ensure-the-stack-protector-and-the-PIE-build-flags.patch > Thanks for the patch. However, the at91bootstrap patch was highly > repetitive, and we have no chance of merging it upstream since upstream > is essentially dead. So instead, I committed this: > +# The at91bootstrap Makefile doesn't support customizing > +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and > +# LD. > define AT91BOOTSTRAP_BUILD_CMDS > - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) > + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ > + CC="$(TARGET_CC) -fno-stack-protector" \ > + LD="$(TARGET_CC) -fno-PIE" \ > + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) > endef > which achieves exactly the same, but is more concise. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 10:13:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:13:25 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/opkg-utils: actually install to target Message-ID: <20231013102431.084E2846D3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=814281c439af9e14eba69ad06cb93f23383c8125 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Commit b9bf1c6535cb (package/opkg-utils: add opkg-utils as target pkg) misspelled the macro to install to target, most probably as a bad copy-paste from the host macro. Fix that. Reported-by: Michael Hacker Signed-off-by: Peter Korsgaard (cherry picked from commit 8c3c741439acb817e156fe28083ba0c6a0c4c720) Signed-off-by: Peter Korsgaard --- package/opkg-utils/opkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/opkg-utils/opkg-utils.mk b/package/opkg-utils/opkg-utils.mk index ad267c5c94..384a7323ee 100644 --- a/package/opkg-utils/opkg-utils.mk +++ b/package/opkg-utils/opkg-utils.mk @@ -16,7 +16,7 @@ HOST_OPKG_UTILS_DEPENDENCIES = \ host-xz # Nothing to build; only scripts to install. -define OPKG_UTILS_INSTALL_CMDS +define OPKG_UTILS_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install-utils endef From peter at korsgaard.com Fri Oct 13 10:13:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:13:37 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/urandom-scripts: move seedrng init script to S01 Message-ID: <20231013102431.141C2846D4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bd682063d04cf77b0e430c215fad23d8b6e323ba branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x We want to initialize the kernel random number generator as soon as possible, as early init scripts may also need random numbers (E.G. syslog-ng in S01syslog-ng does). Seedrng was presumably only using S20 because the previos urandom script used S20, which (after som moves) dates all the way back to: commit 8262508fc4456b5230216473ea14c897268ba791 Author: Eric Andersen Date: Fri Apr 26 22:01:43 2002 +0000 With this update, everything now works as expected. -Erik Seedrng needs persistent storage, but mount -a is run before executing the init scripts, so S01 should be as good as S20 - Atleast with the scripts in upstream Buildroot. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 11a46002ae11a0766a4ec9d3d8ccafe7be42c2fc) Signed-off-by: Peter Korsgaard --- package/urandom-scripts/{S20seedrng => S01seedrng} | 0 package/urandom-scripts/urandom-scripts.mk | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/urandom-scripts/S20seedrng b/package/urandom-scripts/S01seedrng similarity index 100% rename from package/urandom-scripts/S20seedrng rename to package/urandom-scripts/S01seedrng diff --git a/package/urandom-scripts/urandom-scripts.mk b/package/urandom-scripts/urandom-scripts.mk index 32f3e09343..89abdfff72 100644 --- a/package/urandom-scripts/urandom-scripts.mk +++ b/package/urandom-scripts/urandom-scripts.mk @@ -5,8 +5,8 @@ ################################################################################ define URANDOM_SCRIPTS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(URANDOM_SCRIPTS_PKGDIR)/S20seedrng \ - $(TARGET_DIR)/etc/init.d/S20seedrng + $(INSTALL) -D -m 0755 $(URANDOM_SCRIPTS_PKGDIR)/S01seedrng \ + $(TARGET_DIR)/etc/init.d/S01seedrng endef $(eval $(generic-package)) From peter at korsgaard.com Fri Oct 13 10:21:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:21:51 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/rockchip-mali: fix hash of generated archive Message-ID: <20231013102431.1EF22846D5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e785e38dcc0d717f9f265a4aba8ad29b0a3d3c1b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The "official" repository we used to reference disapeared quite some time ago, so in commit 8c25838b53e6 (package/rockchip-mali: fix build failure due to missing URL) we switched to using a mirror. The tarballs generated on the Github side have a top-level directory that is named "repo-name-HASH", so when we switched to a repository named "libmali" to one named "mirrors", the content of the generated tarball changed, even though the content of the files did not. We can't just change the hash to the new value, or that would conflict with the copy on s.b.o and older versions of Buildroot. So, we drop one char from the commit hash, which eans the tarball name changes, and thus we can calculate a new hash for that tarball, and there will be no conflict with any existing tarball on s.b.o. Reported-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit f7f2de3da7e1a5af4e2773ff6bb9e528159be7d3) Signed-off-by: Peter Korsgaard --- package/rockchip-mali/rockchip-mali.hash | 2 +- package/rockchip-mali/rockchip-mali.mk | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package/rockchip-mali/rockchip-mali.hash b/package/rockchip-mali/rockchip-mali.hash index 446bf9ac65..b19937fa07 100644 --- a/package/rockchip-mali/rockchip-mali.hash +++ b/package/rockchip-mali/rockchip-mali.hash @@ -1,2 +1,2 @@ -sha256 ee440d859e9d7dfdf29b9a00c7a633337913c407be567d3651c29c12eb75fd9c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e60427.tar.gz +sha256 1a291bbd75f317ee9205eb356aed617ac269db166ad6528a1734361cc08f8f7c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e6042.tar.gz sha256 a78acc73de9909efb879800d4daa4640c4aaa55cd751238a133954aba15e4285 END_USER_LICENCE_AGREEMENT.txt diff --git a/package/rockchip-mali/rockchip-mali.mk b/package/rockchip-mali/rockchip-mali.mk index 5c8e554346..125b1c61fd 100644 --- a/package/rockchip-mali/rockchip-mali.mk +++ b/package/rockchip-mali/rockchip-mali.mk @@ -4,7 +4,15 @@ # ################################################################################ -ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e60427 +# Full sha1 is 721653b5b3b525a4f80d15aa7e2f9df7b7e60427, but we use the +# "mirrors" repository, which names the top-level directory "mirrors-VERSION" +# while the original was the "libmali" repository which named the top-level +# directory "libmali-VERSION". Hence the content changes, and thus the hash +# changes. +# To avoid conflict with the old tarball on s.b.o. used by older versions of +# Buildroot, we can't use the same filename for the generated archive, so we +# drop the last char in the commit hash. +ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e6042 ROCKCHIP_MALI_SITE = $(call github,JeffyCN,mirrors,$(ROCKCHIP_MALI_VERSION)) ROCKCHIP_MALI_LICENSE = Proprietary ROCKCHIP_MALI_LICENSE_FILES = END_USER_LICENCE_AGREEMENT.txt From peter at korsgaard.com Fri Oct 13 10:23:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:23:59 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] boot/at91bootstrap: disable PIE and stack-protector build flags Message-ID: <20231013102431.2D613846D8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=67c5936f4249b8edcda8de9e70146d332730524a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The toolchain wrapper automatically adds Position Independent Execution and stack protector flags in the build process when selected in the configuration. at91bootstrap being freestanding code, it doesn't support these, so we have to disable them. Signed-off-by: Kory Maincent Signed-off-by: Thomas Petazzoni (cherry picked from commit 1351222486b93b72c00057fb3401d40967025164) Signed-off-by: Peter Korsgaard --- boot/at91bootstrap/at91bootstrap.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk index 1a084756fd..385957b5d4 100644 --- a/boot/at91bootstrap/at91bootstrap.mk +++ b/boot/at91bootstrap/at91bootstrap.mk @@ -32,8 +32,14 @@ endef AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES endif +# The at91bootstrap Makefile doesn't support customizing +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and +# LD. define AT91BOOTSTRAP_BUILD_CMDS - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ + CC="$(TARGET_CC) -fno-stack-protector" \ + LD="$(TARGET_CC) -fno-PIE" \ + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) endef define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS From peter at korsgaard.com Fri Oct 13 10:23:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:23:35 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] boot/at91bootstrap: disable PIE and stack-protector build flags Message-ID: <20231013102537.9AF87846EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4cb43fc95700b648933587001a4e29f968b065fb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The toolchain wrapper automatically adds Position Independent Execution and stack protector flags in the build process when selected in the configuration. at91bootstrap being freestanding code, it doesn't support these, so we have to disable them. Signed-off-by: Kory Maincent Signed-off-by: Thomas Petazzoni (cherry picked from commit 1351222486b93b72c00057fb3401d40967025164) Signed-off-by: Peter Korsgaard --- boot/at91bootstrap/at91bootstrap.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk index 1a084756fd..385957b5d4 100644 --- a/boot/at91bootstrap/at91bootstrap.mk +++ b/boot/at91bootstrap/at91bootstrap.mk @@ -32,8 +32,14 @@ endef AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES endif +# The at91bootstrap Makefile doesn't support customizing +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and +# LD. define AT91BOOTSTRAP_BUILD_CMDS - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ + CC="$(TARGET_CC) -fno-stack-protector" \ + LD="$(TARGET_CC) -fno-PIE" \ + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) endef define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS From peter at korsgaard.com Fri Oct 13 10:13:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:13:47 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/urandom-scripts: move seedrng init script to S01 Message-ID: <20231013102537.8B9D5846E4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=46ec2b32f74797f2f1c81a2445679b5b97ab7d63 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x We want to initialize the kernel random number generator as soon as possible, as early init scripts may also need random numbers (E.G. syslog-ng in S01syslog-ng does). Seedrng was presumably only using S20 because the previos urandom script used S20, which (after som moves) dates all the way back to: commit 8262508fc4456b5230216473ea14c897268ba791 Author: Eric Andersen Date: Fri Apr 26 22:01:43 2002 +0000 With this update, everything now works as expected. -Erik Seedrng needs persistent storage, but mount -a is run before executing the init scripts, so S01 should be as good as S20 - Atleast with the scripts in upstream Buildroot. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 11a46002ae11a0766a4ec9d3d8ccafe7be42c2fc) Signed-off-by: Peter Korsgaard --- package/urandom-scripts/{S20seedrng => S01seedrng} | 0 package/urandom-scripts/urandom-scripts.mk | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/urandom-scripts/S20seedrng b/package/urandom-scripts/S01seedrng similarity index 100% rename from package/urandom-scripts/S20seedrng rename to package/urandom-scripts/S01seedrng diff --git a/package/urandom-scripts/urandom-scripts.mk b/package/urandom-scripts/urandom-scripts.mk index 32f3e09343..89abdfff72 100644 --- a/package/urandom-scripts/urandom-scripts.mk +++ b/package/urandom-scripts/urandom-scripts.mk @@ -5,8 +5,8 @@ ################################################################################ define URANDOM_SCRIPTS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(URANDOM_SCRIPTS_PKGDIR)/S20seedrng \ - $(TARGET_DIR)/etc/init.d/S20seedrng + $(INSTALL) -D -m 0755 $(URANDOM_SCRIPTS_PKGDIR)/S01seedrng \ + $(TARGET_DIR)/etc/init.d/S01seedrng endef $(eval $(generic-package)) From peter at korsgaard.com Fri Oct 13 10:22:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:22:20 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/rockchip-mali: fix hash of generated archive Message-ID: <20231013102537.93E2E846ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=13967f09637198c32599b8f2c17d0f946820e85c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The "official" repository we used to reference disapeared quite some time ago, so in commit 8c25838b53e6 (package/rockchip-mali: fix build failure due to missing URL) we switched to using a mirror. The tarballs generated on the Github side have a top-level directory that is named "repo-name-HASH", so when we switched to a repository named "libmali" to one named "mirrors", the content of the generated tarball changed, even though the content of the files did not. We can't just change the hash to the new value, or that would conflict with the copy on s.b.o and older versions of Buildroot. So, we drop one char from the commit hash, which eans the tarball name changes, and thus we can calculate a new hash for that tarball, and there will be no conflict with any existing tarball on s.b.o. Reported-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit f7f2de3da7e1a5af4e2773ff6bb9e528159be7d3) Signed-off-by: Peter Korsgaard --- package/rockchip-mali/rockchip-mali.hash | 2 +- package/rockchip-mali/rockchip-mali.mk | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package/rockchip-mali/rockchip-mali.hash b/package/rockchip-mali/rockchip-mali.hash index 446bf9ac65..b19937fa07 100644 --- a/package/rockchip-mali/rockchip-mali.hash +++ b/package/rockchip-mali/rockchip-mali.hash @@ -1,2 +1,2 @@ -sha256 ee440d859e9d7dfdf29b9a00c7a633337913c407be567d3651c29c12eb75fd9c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e60427.tar.gz +sha256 1a291bbd75f317ee9205eb356aed617ac269db166ad6528a1734361cc08f8f7c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e6042.tar.gz sha256 a78acc73de9909efb879800d4daa4640c4aaa55cd751238a133954aba15e4285 END_USER_LICENCE_AGREEMENT.txt diff --git a/package/rockchip-mali/rockchip-mali.mk b/package/rockchip-mali/rockchip-mali.mk index 5c8e554346..125b1c61fd 100644 --- a/package/rockchip-mali/rockchip-mali.mk +++ b/package/rockchip-mali/rockchip-mali.mk @@ -4,7 +4,15 @@ # ################################################################################ -ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e60427 +# Full sha1 is 721653b5b3b525a4f80d15aa7e2f9df7b7e60427, but we use the +# "mirrors" repository, which names the top-level directory "mirrors-VERSION" +# while the original was the "libmali" repository which named the top-level +# directory "libmali-VERSION". Hence the content changes, and thus the hash +# changes. +# To avoid conflict with the old tarball on s.b.o. used by older versions of +# Buildroot, we can't use the same filename for the generated archive, so we +# drop the last char in the commit hash. +ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e6042 ROCKCHIP_MALI_SITE = $(call github,JeffyCN,mirrors,$(ROCKCHIP_MALI_VERSION)) ROCKCHIP_MALI_LICENSE = Proprietary ROCKCHIP_MALI_LICENSE_FILES = END_USER_LICENCE_AGREEMENT.txt From peter at korsgaard.com Fri Oct 13 10:13:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:13:44 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/opkg-utils: actually install to target Message-ID: <20231013102537.82DFA846E3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fd28c24131fc5471de3ef6776c11ace91f139987 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Commit b9bf1c6535cb (package/opkg-utils: add opkg-utils as target pkg) misspelled the macro to install to target, most probably as a bad copy-paste from the host macro. Fix that. Reported-by: Michael Hacker Signed-off-by: Peter Korsgaard (cherry picked from commit 8c3c741439acb817e156fe28083ba0c6a0c4c720) Signed-off-by: Peter Korsgaard --- package/opkg-utils/opkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/opkg-utils/opkg-utils.mk b/package/opkg-utils/opkg-utils.mk index ad267c5c94..384a7323ee 100644 --- a/package/opkg-utils/opkg-utils.mk +++ b/package/opkg-utils/opkg-utils.mk @@ -16,7 +16,7 @@ HOST_OPKG_UTILS_DEPENDENCIES = \ host-xz # Nothing to build; only scripts to install. -define OPKG_UTILS_INSTALL_CMDS +define OPKG_UTILS_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install-utils endef From florian.schaeffner at physiomed.de Fri Oct 13 11:24:18 2023 From: florian.schaeffner at physiomed.de (=?utf-8?B?U2Now6RmZm5lciwgRmxvcmlhbg==?=) Date: Fri, 13 Oct 2023 11:24:18 +0000 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> Message-ID: <0df9596a80db41b88f9b83c5c254ea97@physiomed.de> Hello all, thank you all for your support and offers. It would be great to give something back, but i?m afraid that i?m not able to finish your work Jesse. Sadly by now i was just a user of the given configurations that could be downloaded. I?ll try to use Qt5 or hire some help. Thanks again for your support. Kind regards Florian Von: Adam Duskett Gesendet: Dienstag, 10. Oktober 2023 21:52 An: Jesse Van Gavere Cc: Arnout Vandecappelle ; Giulio Benetti ; Sch?ffner, Florian ; buildroot at buildroot.org Betreff: Re: [Buildroot] Future buildroot with QtQuick/QML Support I can see about porting the package tomorrow! No worries! Adam Duskett Senior Embedded Systems Developer M. +1208-515-8102 adam.duskett at amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9170 info at amarulasolutions.com www.amarulasolutions.com On Tue, Oct 10, 2023 at 8:55?PM Jesse Van Gavere > wrote: Hi, Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle >: > > > > On 10/10/2023 15:18, Giulio Benetti wrote: > > Hello Florian, > > > > On 10/10/23 14:59, Sch?ffner, Florian wrote: > >> Hello, > >> > >> our application is built in the development environment with Qt 6 and > >> QtQuick/QML. Now i tried, but wasn?t able to setup a working buildroot for our > >> application to run on a embedded device. > >> > >> I found the conversation about qt6 and QML Support on the buildroot mailing > >> list and that it seems to be not possible to setup a buildroot for our needs > >> with Qt6 and QML support. > >> > >> https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > >> > >> If I understood the answer from Giulio Benetti correctly, there is currently > >> no chance to make this configuration work for our embedded board with buildroot? > >> > >> Can you please tell me if there will be support for this in the next major > >> buildroot version? Or is it not planned or foreseeable when a QML support is > >> possible with buildroot? > > Buildroot is a volunteer project - nothing is "planned" unless someone goes > through the effort of contributing it. > > > as I can see from Buildroot patchork at the moment there is no pending > > patches to add features, but this doesn't mean it won't be added. > > > > Which modules would you be interested in most of all? > > If you're not able or willing to develop the Qt6 QML support yourself, you may > want to hire some help to do it. At the bottom of the "support" page on the > website [1] some companies are mentioned that can provide that help (I work for > one of them). Or you can find a freelancer - like Giulio. > > You can also ask the original contributor of Qt6 (Jesse, added in Cc) if they > perhaps have some PoC for QML already. Or perhaps their employer would be > willing to share the cost of developing it. I do have a working POC to build QML with a plan for supporting QtQuick, which I very much wanted to get upstreamed, however I've been swamped with other non-buildroot work sadly. That said, it should be very doable to add this support with not too much work. In a nutshell: You need to add qtshadertools because of the qsb tool it builds, this is a dependency for qtdeclarative to build QtQuick This patch will be important: http://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ The tricky thing there is that the host qt package does not build the GUI by default, however since qt6 certain tools need to be built through the host package, qsb is one of those, and to actually build qsb through the qtshadertools package you need GUI support in the host build, Thomas has provided some valuable feedback there how a proper follow up patch could look like to add this functionality the right way. Once that's done QML/QtQuick will be quite trivial to add, I already have a qt6declarative package you could work with and (with some refreshing of my memory) I could provide you the necessary config options to add QtQuick alongside it. As said I don't have the time myself at the moment to do it right, and I don't have a timeline for when I'll be able to do so, but if you're willing to continue on the work I have to get it merged in, I'll gladly help out where I can with some of my initial work and what I know of how to get it all working, the finishing touches and testing will be up to you however :) > > Regards, > Arnout > _______________________________________________ buildroot mailing list buildroot at buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam.duskett at amarulasolutions.com Fri Oct 13 13:56:05 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 15:56:05 +0200 Subject: [Buildroot] [PATCH 1/2] package/qt6/qt6base: Add GUI support option for the host Message-ID: <20231013135606.3382121-1-adam.duskett@amarulasolutions.com> This is needed for the qsb binary.from host-qt6shadertools which allows building qml applications. Signed-off-by: Adam Duskett --- package/Config.in.host | 1 + package/qt6/qt6base/Config.in.host | 17 +++++++++++++++++ package/qt6/qt6base/qt6base.mk | 15 ++++++++++++++- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 package/qt6/qt6base/Config.in.host diff --git a/package/Config.in.host b/package/Config.in.host index c80842c33a..15d42a7694 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -93,6 +93,7 @@ menu "Host utilities" source "package/python3/Config.in.host" source "package/qemu/Config.in.host" source "package/qoriq-rcw/Config.in.host" + source "package/qt6/qt6base/Config.in.host" source "package/raspberrypi-usbboot/Config.in.host" source "package/rauc/Config.in.host" source "package/riscv-isa-sim/Config.in.host" diff --git a/package/qt6/qt6base/Config.in.host b/package/qt6/qt6base/Config.in.host new file mode 100644 index 0000000000..1305a3341c --- /dev/null +++ b/package/qt6/qt6base/Config.in.host @@ -0,0 +1,17 @@ +config BR2_PACKAGE_HOST_QT6BASE + bool "host QT6Base" + depends on BR2_HOST_GCC_AT_LEAST_8 + help + This option enables the host Qt6 framework. + + http://qt.io + +if BR2_PACKAGE_HOST_QT6BASE + +config BR2_PACKAGE_HOST_QT6BASE_GUI + bool "GUI support" + help + Enable GUI support. Needed for the qsb package from + the host-qt6shadertools packages + +endif diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk index c32089f551..0b512ad6cb 100644 --- a/package/qt6/qt6base/qt6base.mk +++ b/package/qt6/qt6base/qt6base.mk @@ -82,7 +82,6 @@ HOST_QT6BASE_DEPENDENCIES = \ host-pcre2 \ host-zlib HOST_QT6BASE_CONF_OPTS = \ - -DFEATURE_gui=OFF \ -DFEATURE_concurrent=OFF \ -DFEATURE_xml=ON \ -DFEATURE_sql=OFF \ @@ -96,6 +95,20 @@ HOST_QT6BASE_CONF_OPTS = \ -DFEATURE_system_pcre2=ON \ -DFEATURE_system_zlib=ON +# This is needed to build the qsb binary.from host-qt6shadertools +ifeq ($(BR2_PACKAGE_HOST_QT6BASE_GUI),y) +HOST_QT6BASE_CONF_OPTS += \ + -DFEATURE_gui=ON \ + -DFEATURE_vulkan=OFF \ + -DINPUT_opengl=no \ + -DFEATURE_linuxfb=ON \ + -DFEATURE_eglfs=OFF \ + -DFEATURE_opengl=OFF \ + -DINPUT_opengl=no +else +HOST_QT6BASE_CONF_OPTS += -DFEATURE_gui=OFF +endif + # Conditional blocks below are ordered by alphabetic ordering of the # BR2_PACKAGE_* option. -- 2.41.0 From adam.duskett at amarulasolutions.com Fri Oct 13 13:56:06 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 15:56:06 +0200 Subject: [Buildroot] [PATCH 2/2] package/qt6/qt6shadertools: new package In-Reply-To: <20231013135606.3382121-1-adam.duskett@amarulasolutions.com> References: <20231013135606.3382121-1-adam.duskett@amarulasolutions.com> Message-ID: <20231013135606.3382121-2-adam.duskett@amarulasolutions.com> Based off of previous work by Jesse Van Gavere found here: https://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ Changes: - Select BR2_PACKAGE_HOST_QT6BASE_GUI - Select BR2_PACKAGE_QT6BASE_GUI - Add host-qt6base to HOST_QT6SHADERTOOLS_DEPENDENCIES Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/qt6/Config.in | 1 + package/qt6/qt6shadertools/Config.in | 14 ++++++ .../qt6/qt6shadertools/qt6shadertools.hash | 13 +++++ package/qt6/qt6shadertools/qt6shadertools.mk | 49 +++++++++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 package/qt6/qt6shadertools/Config.in create mode 100644 package/qt6/qt6shadertools/qt6shadertools.hash create mode 100644 package/qt6/qt6shadertools/qt6shadertools.mk diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..bdc1463e83 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -37,6 +37,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/qt6/qt6shadertools/ F: support/testing/tests/package/test_flutter.py N: Adam Heinrich diff --git a/package/qt6/Config.in b/package/qt6/Config.in index 276a0217ab..b7e95a6885 100644 --- a/package/qt6/Config.in +++ b/package/qt6/Config.in @@ -47,6 +47,7 @@ source "package/qt6/qt6base/Config.in" source "package/qt6/qt6core5compat/Config.in" source "package/qt6/qt6serialbus/Config.in" source "package/qt6/qt6serialport/Config.in" +source "package/qt6/qt6shadertools/Config.in" source "package/qt6/qt6svg/Config.in" endif diff --git a/package/qt6/qt6shadertools/Config.in b/package/qt6/qt6shadertools/Config.in new file mode 100644 index 0000000000..423c686444 --- /dev/null +++ b/package/qt6/qt6shadertools/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_QT6SHADERTOOLS + bool "qt6shadertools" + select BR2_PACKAGE_HOST_QT6BASE + select BR2_PACKAGE_QT6BASE_GUI + select BR2_PACKAGE_HOST_QT6BASE_GUI + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt Shader Tools module builds on the SPIR-V Open + Source Ecosystem as described at the Khronos SPIR-V web + site. + + https://doc.qt.io/qt-6/qtshadertools-index.html diff --git a/package/qt6/qt6shadertools/qt6shadertools.hash b/package/qt6/qt6shadertools/qt6shadertools.hash new file mode 100644 index 0000000000..803a083518 --- /dev/null +++ b/package/qt6/qt6shadertools/qt6shadertools.hash @@ -0,0 +1,13 @@ +# Hash from: https://download.qt.io/official_releases/qt/6.4/6.4.3/submodules/qtshadertools-everywhere-src-6.4.3.tar.xz.sha256 +sha256 c648b74ce3e769a20bd62792a589c540bceacfedf2f38fc7273d2c39782768f8 qtshadertools-everywhere-src-6.4.3.tar.xz + +# Hashes for license files +sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt +sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt +sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt +sha256 c7d81f456bf5488fec8b2d249eec6b02e70bbdc353c373cd5a077e898345e943 src/3rdparty/SPIRV-Cross/KHRONOS-LICENSE.txt +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 src/3rdparty/SPIRV-Cross/LICENSE +sha256 5b1050253c0b933016f0538bce3354bb062e42b4d59d1082c0d0f9eca9b439c7 src/3rdparty/glslang/LICENSE.txt diff --git a/package/qt6/qt6shadertools/qt6shadertools.mk b/package/qt6/qt6shadertools/qt6shadertools.mk new file mode 100644 index 0000000000..4cc6d6fcbf --- /dev/null +++ b/package/qt6/qt6shadertools/qt6shadertools.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# qt6shadertools +# +################################################################################ + +QT6SHADERTOOLS_VERSION = $(QT6_VERSION) +QT6SHADERTOOLS_SITE = $(QT6_SITE) +QT6SHADERTOOLS_SOURCE = qtshadertools-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SHADERTOOLS_VERSION).tar.xz +QT6SHADERTOOLS_INSTALL_STAGING = YES +QT6SHADERTOOLS_SUPPORTS_IN_SOURCE_BUILD = NO + +QT6SHADERTOOLS_CMAKE_BACKEND = ninja + +QT6SHADERTOOLS_LICENSE = \ + GPL-3.0-only WITH Qt-GPL-exception-1.0, \ + GPL-2.0-only or LGPL-3.0-only, \ + GFDL-1.3-no-invariants-only, \ + Apache-2.0 or MIT, \ + BSD-3-Clause, \ + BSD-2-Clause, \ + Apache-2.0, \ + GPL-3.0-or-later WITH Bison-Exception-2.2 + +QT6SHADERTOOLS_LICENSE_FILES = \ + LICENSES/BSD-3-Clause.txt \ + LICENSES/GFDL-1.3-no-invariants-only.txt \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/Qt-GPL-exception-1.0.txt \ + src/3rdparty/SPIRV-Cross/KHRONOS-LICENSE.txt \ + src/3rdparty/SPIRV-Cross/LICENSE \ + src/3rdparty/glslang/LICENSE.txt + +QT6SHADERTOOLS_CONF_OPTS = \ + -DBUILD_WITH_PCH=OFF \ + -DQT_BUILD_EXAMPLES=OFF \ + -DQT_BUILD_TESTS=OFF + +QT6SHADERTOOLS_DEPENDENCIES = \ + host-pkgconf \ + qt6base \ + host-qt6shadertools + +HOST_QT6SHADERTOOLS_DEPENDENCIES = host-qt6base + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Fri Oct 13 13:57:29 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 15:57:29 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: <0df9596a80db41b88f9b83c5c254ea97@physiomed.de> References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> <0df9596a80db41b88f9b83c5c254ea97@physiomed.de> Message-ID: Jesse; I have submitted an initial patch series to add the qt6shadertools package to buildroot. Could you please test it and let me know if it works for you? https://patchwork.ozlabs.org/project/buildroot/list/?series=377514 Thanks! Adam Duskett Senior Embedded Systems Developer M. +1208-515-8102 adam.duskett at amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9170 info at amarulasolutions.com www.amarulasolutions.com On Fri, Oct 13, 2023 at 1:24?PM Sch?ffner, Florian < florian.schaeffner at physiomed.de> wrote: > Hello all, > > > > thank you all for your support and offers. It would be great to give > something back, but i?m afraid that i?m not able to finish your work Jesse. > Sadly by now i was just a user of the given configurations that could be > downloaded. I?ll try to use Qt5 or hire some help. Thanks again for your > support. > > Kind regards > > Florian > > > > *Von:* Adam Duskett > *Gesendet:* Dienstag, 10. Oktober 2023 21:52 > *An:* Jesse Van Gavere > *Cc:* Arnout Vandecappelle ; Giulio Benetti < > giulio.benetti at benettiengineering.com>; Sch?ffner, Florian < > florian.schaeffner at physiomed.de>; buildroot at buildroot.org > *Betreff:* Re: [Buildroot] Future buildroot with QtQuick/QML Support > > > > I can see about porting the package tomorrow! No worries! > > > > Adam Duskett > > Senior Embedded Systems Developer > > M. +1208-515-8102 > > adam.duskett at amarulasolutions.com > > __________________________________ > > > Amarula Solutions BV > > Joop Geesinkweg 125, 1114 AB, Amsterdam, NL > > T. +31 (0)85 111 9170 > info at amarulasolutions.com > > www.amarulasolutions.com > > > > > > > > On Tue, Oct 10, 2023 at 8:55?PM Jesse Van Gavere > wrote: > > Hi, > > Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle : > > > > > > > > On 10/10/2023 15:18, Giulio Benetti wrote: > > > Hello Florian, > > > > > > On 10/10/23 14:59, Sch?ffner, Florian wrote: > > >> Hello, > > >> > > >> our application is built in the development environment with Qt 6 and > > >> QtQuick/QML. Now i tried, but wasn?t able to setup a working > buildroot for our > > >> application to run on a embedded device. > > >> > > >> I found the conversation about qt6 and QML Support on the buildroot > mailing > > >> list and that it seems to be not possible to setup a buildroot for > our needs > > >> with Qt6 and QML support. > > >> > > >> > https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > > >> > > >> If I understood the answer from Giulio Benetti correctly, there is > currently > > >> no chance to make this configuration work for our embedded board with > buildroot? > > >> > > >> Can you please tell me if there will be support for this in the next > major > > >> buildroot version? Or is it not planned or foreseeable when a QML > support is > > >> possible with buildroot? > > > > Buildroot is a volunteer project - nothing is "planned" unless someone > goes > > through the effort of contributing it. > > > > > as I can see from Buildroot patchork at the moment there is no pending > > > patches to add features, but this doesn't mean it won't be added. > > > > > > Which modules would you be interested in most of all? > > > > If you're not able or willing to develop the Qt6 QML support yourself, > you may > > want to hire some help to do it. At the bottom of the "support" page on > the > > website [1] some companies are mentioned that can provide that help (I > work for > > one of them). Or you can find a freelancer - like Giulio. > > > > You can also ask the original contributor of Qt6 (Jesse, added in Cc) > if they > > perhaps have some PoC for QML already. Or perhaps their employer would be > > willing to share the cost of developing it. > > I do have a working POC to build QML with a plan for supporting > QtQuick, which I very much wanted to get upstreamed, however I've been > swamped with other non-buildroot work sadly. > That said, it should be very doable to add this support with not too much > work. > In a nutshell: > You need to add qtshadertools because of the qsb tool it builds, this > is a dependency for qtdeclarative to build QtQuick > This patch will be important: > > http://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ > The tricky thing there is that the host qt package does not build the > GUI by default, however since qt6 certain tools need to be built > through the host package, qsb is one of those, and to actually build > qsb through the qtshadertools package you need GUI support in the host > build, Thomas has provided some valuable feedback there how a proper > follow up patch could look like to add this functionality the right > way. > > Once that's done QML/QtQuick will be quite trivial to add, I already > have a qt6declarative package you could work with and (with some > refreshing of my memory) I could provide you the necessary config > options to add QtQuick alongside it. > > As said I don't have the time myself at the moment to do it right, and > I don't have a timeline for when I'll be able to do so, but if you're > willing to continue on the work I have to get it merged in, I'll > gladly help out where I can with some of my initial work and what I > know of how to get it all working, the finishing touches and testing > will be up to you however :) > > > > > Regards, > > Arnout > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at korsgaard.com Fri Oct 13 14:34:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:34:04 +0200 Subject: [Buildroot] [PATCH] package/linux-tools: fix SysV init script In-Reply-To: <87bkdi7jwp.fsf@48ers.dk> (Peter Korsgaard's message of "Sun, 01 Oct 2023 11:48:38 +0200") References: <20230923100035.1504933-1-mail@jens-maus.de> <87bkdi7jwp.fsf@48ers.dk> Message-ID: <87edhy617n.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Jens" == Jens Maus via buildroot writes: >> This commit fixes the S10hyperv SysV init script which expects binaries >> to be locate in /sbin while they are installed in /usr/sbin. Please >> note, that the systemd init scripts correctly reference them. >> Furthermore, the SysV init script did not check for an actual HyperV >> environment to be present, which is also corrected. In addition, this >> commit also fixes check-package warnings regarding a missing DAEMON >> definition. >> Signed-off-by: Jens Maus >> --- >> package/linux-tools/S10hyperv | 8 ++++++-- >> 1 file changed, 6 insertions(+), 2 deletions(-) > This means we can now drop the entry in .checkpackageignore. Committed > with that included, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:35:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:35:43 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/webkitgtk: require GCC 9 for the 2.40.x series In-Reply-To: <87zg125yr2.fsf@48ers.dk> (Peter Korsgaard's message of "Sun, 01 Oct 2023 14:10:57 +0200") References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <87zg125yr2.fsf@48ers.dk> Message-ID: <87a5sm614w.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Thomas" == Thomas Devoogdt writes: >> Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. >> Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, >> we do check on >= GCC 9, because we can't check on >= GCC 9.3. >> [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 >> Signed-off-by: Thomas Devoogdt > Committed, thanks. What about wpewebkit? This seems to be common code, > so we presumably need GCC 9 there as well? Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:36:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:36:18 +0200 Subject: [Buildroot] [PATCH v3 10/16] Makefile: breaks hardlinks in global {TARGET, HOST}_DIR on per-package build In-Reply-To: <1bc18a02-9cf3-0cd1-cf8a-e716ceb78b9a@korsgaard.com> (Peter Korsgaard's message of "Sun, 1 Oct 2023 14:56:19 +0200") References: <20210817083930.3718711-1-herve.codina@bootlin.com> <20210817083930.3718711-11-herve.codina@bootlin.com> <1bc18a02-9cf3-0cd1-cf8a-e716ceb78b9a@korsgaard.com> Message-ID: <875y3a613x.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > On 17/08/2021 10.39, Herve Codina wrote: > Hi, > Sorry, very old patch. >> Without this patch, a make _rebuild detects overwrites. Indeed, in >> target_finalize steps some modifications are done on installed files (ie >> strip or TARGET_FINALIZE_HOOKS for instance). >> In order to avoid these modifications seen from per-package >> {TARGET,HOST}_DIR >> and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built >> using a full copy of the involved per-package files instead of hardlinks. >> Signed-off-by: Herve Codina >> Reviewed-by: Yann E. MORIN >> --- >> Changes v1 to v2: >> - Added 'Reviewed-by: Yann E. MORIN' > We have similar issues if you have a post-build script making changes > with sed or similar, so committed to master after fixing it up (the > logic was in the mean time moved to package/pkg-utils.mk), thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:37:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:37:13 +0200 Subject: [Buildroot] [PATCHv2] package/go: fix installation In-Reply-To: <87il7q5s0o.fsf@48ers.dk> (Peter Korsgaard's message of "Sun, 01 Oct 2023 16:36:23 +0200") References: <87il7q5s0o.fsf@48ers.dk> Message-ID: <871qdy612e.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> writes: >> From: "Yann E. MORIN" >> When building for a target architecture that go does not support, the >> isntallation fails with: >> $ make host-go >> [...] >> ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ >> ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory >> Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a >> host package, so it needs to be explicitly created before we can create >> entries in there. >> Signed-off-by: Yann E. MORIN >> Cc: Christian Stewart >> Cc: Anisse Astier >> --- >> Changes v1 -> v2: >> - drop surious hunk > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:38:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:38:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/syslog-ng: fix libressl build In-Reply-To: <20231001100009.468927-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 12:00:09 +0200") References: <20231001100009.468927-1-fontaine.fabrice@gmail.com> Message-ID: <87wmvq4mg8.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fox the following build failure with libressl raised since bump to > version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and > https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: > lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': > lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? > 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); > | ^~~~~~~~~~~~ > | SSL_AEAD_CTX > Fixes: > - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:39:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:39:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/tar: security bump to version 1.35 In-Reply-To: <20231001142356.908755-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 16:23:56 +0200") References: <20231001142356.908755-1-fontaine.fabrice@gmail.com> Message-ID: <87sf6e4meg.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds > read that results in use of uninitialized memory for a conditional > jump. Exploitation to change the flow of control has not been > demonstrated. The issue occurs in from_header in list.c via a V7 > archive in which mtime has approximately 11 whitespace characters. > - Update hash of COPYING (http replaced by https) > https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:41:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:41:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-generic.mk: fix rule order for re{install, build, configure} In-Reply-To: (Arnout Vandecappelle via buildroot's message of "Sun, 1 Oct 2023 18:05:19 +0200") References: <20221018034605.800593-1-james.hilliard1@gmail.com> Message-ID: <87o7h24mab.fsf@48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle via buildroot writes: > Hi James, > On 18/10/2022 05:46, James Hilliard wrote: >> These command rely on the clean operations being first so that the >> stamp files being deleted will rebuild the targets. >> The execution ordering of the clean and rebuild operations may >> change, for example if --shuffle=reversed is set. >> To ensure the evaluation order is always correct use double colon >> rules to make the evaluation order explicit as per make docs: >> The double-colon rules for a target are executed in the order they >> appear in the makefile. > As noted in earlier discussions, this feels a bit hackish and it's > not clear if this behaviour is going to be kept in future versions of > make. > Since make 4.4, however, there's a better solution: it introduced a > .WAIT phony target that enforces the ordering of dependencies. So I > instead made a commit[1] that uses that approach. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:43:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:43:18 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/Makefile.in: set --shuffle=none for MAKE1 In-Reply-To: (Arnout Vandecappelle via buildroot's message of "Sun, 1 Oct 2023 18:09:48 +0200") References: <20221016193014.3384022-1-james.hilliard1@gmail.com> Message-ID: <87jzrq4m7t.fsf@48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle via buildroot writes: > On 16/10/2022 21:30, James Hilliard wrote: >> Make 4.4 introduces a shuffle mode which randomizes prerequisites >> in order to better flush out issues with parallel builds, as this >> mode randomizes prerequisites even when using -j1 builds we must >> also explicitely mark parallel incompatible builds by setting >> --shuffle=none which disables goals prerequisites randomization >> for the parallel incompatible package when running in shuffle mode. >> Signed-off-by: James Hilliard > Applied to master with a slightly extended commit message, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:37:03 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:37:03 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: fix installation Message-ID: <20231013144605.B3116847A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fe1dd05d4cc5f23eb27ea64ad87aab2508a4ce70 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x When building for a target architecture that go does not support, the installation fails with: $ make host-go [...] ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a host package, so it needs to be explicitly created before we can create entries in there. Signed-off-by: Yann E. MORIN Cc: Christian Stewart Cc: Anisse Astier Signed-off-by: Peter Korsgaard (cherry picked from commit 1db38d928292aaca493c80527008b9bd7e6db602) Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index 01442b0f62..cc374aa44f 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -146,6 +146,7 @@ define HOST_GO_INSTALL_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt + mkdir -p $(HOST_DIR)/bin ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/ ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/ From peter at korsgaard.com Fri Oct 13 14:43:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:43:05 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/Makefile.in: set --shuffle=none for MAKE1 Message-ID: <20231013144605.D5553847A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf2aef7992e423f89334257310a3bb867c997e24 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Make 4.4 introduces a shuffle mode which randomizes prerequisites in order to better flush out issues with parallel builds. On the other hand, we use MAKE1 to build packages that are known to be broken with parallel build. For these, passing the shuffle option would be counter-productive and lead to spurious build failures. The --shuffle=none option exists to turn off shuffling again. We can't add this option unconditionally, however, because Make < 4.4 doesn't know it. Therefore, conditionally pass --shuffle=none only if there is a shuffle option in MAKEFLAGS. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (cherry picked from commit f664d7dc24c70ef08ced78d5d3f50a8ad673ea02) Signed-off-by: Peter Korsgaard --- package/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index d70aded82b..7e6ae19559 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -17,7 +17,9 @@ else PARALLEL_JOBS := $(BR2_JLEVEL) endif -MAKE1 := $(HOSTMAKE) -j1 +# Only build one job at a time, *and* to not randomise goals and +# prerequisites ordering in make 4.4+ +MAKE1 := $(HOSTMAKE) -j1 $(if $(findstring --shuffle,$(MAKEFLAGS)),--shuffle=none) override MAKE = $(HOSTMAKE) \ $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) From peter at korsgaard.com Fri Oct 13 14:32:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:32:02 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/linux-tools: fix SysV init script Message-ID: <20231013144605.92F3F847A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2055dc5ae57298aa6aa4e81b985affa5577c7e01 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x This commit fixes the S10hyperv SysV init script which expects binaries to be locate in /sbin while they are installed in /usr/sbin. Please note, that the systemd init scripts correctly reference them. Furthermore, the SysV init script did not check for an actual HyperV environment to be present, which is also corrected. In addition, this commit also fixes check-package warnings regarding a missing DAEMON definition. Signed-off-by: Jens Maus [Peter: drop from .checkpackageignore] Signed-off-by: Peter Korsgaard (cherry picked from commit 14c4bd7bf8150283e158c50df87c77d63bb1b73c) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 1 - package/linux-tools/S10hyperv | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 4faa3a8b8f..dbff352d3b 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -93,7 +93,6 @@ package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patch Sob package/libiio/S99iiod Shellcheck Variables package/libmad/0001-mips-h-constraint-removal.patch Sob package/lighttpd/S50lighttpd EmptyLastLine Indent Shellcheck Variables -package/linux-tools/S10hyperv Variables package/linuxptp/S65ptp4l Indent Shellcheck package/linuxptp/S66phc2sys Indent Shellcheck package/lirc-tools/S25lircd Indent Variables diff --git a/package/linux-tools/S10hyperv b/package/linux-tools/S10hyperv index 32887d1b6c..be9ed2c5df 100644 --- a/package/linux-tools/S10hyperv +++ b/package/linux-tools/S10hyperv @@ -2,14 +2,18 @@ PROGS="@PROGS@" PIDDIR="/var/run" +DAEMON="hyperv" # shellcheck source=/dev/null -[ -r "/etc/default/hyperv" ] && . "/etc/default/hyperv" +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +# only continue if we are in a HyperV platform +[ -e "/sys/bus/vmbus" ] || exit 0 start_one() { printf 'Starting %s: ' "$1" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/sbin/$1" -- -n + start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/usr/sbin/$1" -- -n status=$? if [ "$status" -eq 0 ]; then echo "OK" From peter at korsgaard.com Fri Oct 13 14:36:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:36:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/pkg-utils.mk: break hardlinks in global {TARGET, HOST}_DIR on per-package build Message-ID: <20231013144605.A9022847A4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=71132ca41bc1b99374f406267d985be50aca9679 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Without this patch, a make _rebuild detects overwrites. Indeed, in target_finalize steps some modifications are done on installed files (ie strip or TARGET_FINALIZE_HOOKS for instance). In order to avoid these modifications seen from per-package {TARGET,HOST}_DIR and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built using a full copy of the involved per-package files instead of hardlinks. Signed-off-by: Herve Codina Reviewed-by: Yann E. MORIN Signed-off-by: Peter Korsgaard (cherry picked from commit 21d52e52d8dee0940d28b3a38551eb183be37813) Signed-off-by: Peter Korsgaard --- package/pkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index 530638566c..bdbdf20c23 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -217,7 +217,7 @@ ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) define per-package-rsync mkdir -p $(3) $(foreach pkg,$(1),\ - rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ + rsync -a \ $(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ $(3)$(sep)) endef From peter at korsgaard.com Fri Oct 13 14:35:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:35:33 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/webkitgtk: require GCC 9 for the 2.40.x series Message-ID: <20231013144605.9FA7A846D2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=18a767beca20833760f7cc7ebf179b20ea85e9e6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard (cherry picked from commit de38484ec31437e3f2f0d7c0fa46f2f30d0a8fbb) Signed-off-by: Peter Korsgaard --- package/webkitgtk/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 23c0bf41db..d47d6a8c1b 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 8, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS From peter at korsgaard.com Fri Oct 13 14:41:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:41:21 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/pkg-generic.mk: fix rule order for reinstall/rebuild/reconfigure Message-ID: <20231013144605.CC23D846D2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3038bcc6c1532123fbcc8e22a4e684aaadd94723 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The reinstall, rebuild and reconfigure commands rely on the left-to-right order of evaluation of the dependencies to make sure that the stamp files are removed before attempting to rebuild. However, this order of evaluation is not guaranteed. In particular, if top-level parallel build is enabled, they are executed in parallel and the stamp file may not have been removed yet when it is evaluated to decide if rebuild has to be done. Since make 4.4, it is possible to reproduce this issue by passing `--shuffle=reverse` to the make commandline. To solve this, add a .WAIT directive between the clean and install/build/configure dependencies. .WAIT was introduced in make 4.4 as well. It makes sure that the dependencies on the left are evaluated before the dependencies on the right - exactly what we want here. Earlier versions of make don't know about .WAIT, so we need to add a .PHONY dependency to effectively ignore it. Note that this doesn't fix the problem for make versions earlier than 4.4. However, the issue isn't really that important: reinstall, rebuild and reconfigure are development tools, they're not fully reliable to begin with, and it's anyway less likely that someone uses `make -j` when doing a reinstall/rebuild/reconfigure. Signed-off-by: Arnout Vandecappelle Reported-by: James Hilliard (cherry picked from commit 7e3105d5c8bd9ab31e728af9732a67d203c0a2e4) Signed-off-by: Peter Korsgaard --- Makefile | 3 +++ package/pkg-generic.mk | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a7b7729946..67d3f3105a 100644 --- a/Makefile +++ b/Makefile @@ -1270,4 +1270,7 @@ include docs/manual/manual.mk .PHONY: $(noconfig_targets) +# .WAIT was introduced in make 4.4. For older make, define it as phony. +.PHONY: .WAIT + endif #umask / $(CURDIR) / $(O) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 82187d7db9..1796f29b1f 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -1057,17 +1057,17 @@ endif rm -f $$($(2)_TARGET_INSTALL_IMAGES) rm -f $$($(2)_TARGET_INSTALL_HOST) -$(1)-reinstall: $(1)-clean-for-reinstall $(1) +$(1)-reinstall: $(1)-clean-for-reinstall .WAIT $(1) $(1)-clean-for-rebuild: $(1)-clean-for-reinstall rm -f $$($(2)_TARGET_BUILD) -$(1)-rebuild: $(1)-clean-for-rebuild $(1) +$(1)-rebuild: $(1)-clean-for-rebuild .WAIT $(1) $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild rm -f $$($(2)_TARGET_CONFIGURE) -$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) +$(1)-reconfigure: $(1)-clean-for-reconfigure .WAIT $(1) # define the PKG variable for all targets, containing the # uppercase package variable prefix From peter at korsgaard.com Fri Oct 13 14:39:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:39:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/tar: security bump to version 1.35 Message-ID: <20231013144605.BD25E847A6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ec4bbdeaf86fdc10babef276ed605742050e48e7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. - Update hash of COPYING (http replaced by https) https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit d4d483451f0a305781b94b96c15a6cf4b489cd84) Signed-off-by: Peter Korsgaard --- package/tar/tar.hash | 6 +++--- package/tar/tar.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/tar/tar.hash b/package/tar/tar.hash index 1914a9f3b4..108a95ee62 100644 --- a/package/tar/tar.hash +++ b/package/tar/tar.hash @@ -1,4 +1,4 @@ # Locally calculated after checking signature -sha256 63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz -sha256 51337b19c71df92cd4f51c50efe4dc6ddc267d31fd54679be9e9bc2e6ce8132b tar-1.34.cpio.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16 tar-1.35.tar.xz +sha256 c77a38fcf25b21fd8209d20d35638744344ded239cfc7df80138bf46d3c6b16d tar-1.35.cpio.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 690a5952ba..eea112ebc7 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -4,7 +4,7 @@ # ################################################################################ -TAR_VERSION = 1.34 +TAR_VERSION = 1.35 TAR_SOURCE = tar-$(TAR_VERSION).tar.xz TAR_SITE = $(BR2_GNU_MIRROR)/tar # busybox installs in /bin, so we need tar to install as well in /bin From peter at korsgaard.com Fri Oct 13 14:35:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:35:10 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/webkitgtk: require GCC 9 for the 2.40.x series Message-ID: <20231013144706.CCEE7847A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6c57e265174b3dd207114208421a107eebca9943 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard (cherry picked from commit de38484ec31437e3f2f0d7c0fa46f2f30d0a8fbb) Signed-off-by: Peter Korsgaard --- package/webkitgtk/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 23c0bf41db..d47d6a8c1b 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 8, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS From peter at korsgaard.com Fri Oct 13 14:36:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:36:58 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/go: fix installation Message-ID: <20231013144706.DFC30847A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cbe2f10910dd3208b656ccca0029f54cefd4321e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x When building for a target architecture that go does not support, the installation fails with: $ make host-go [...] ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a host package, so it needs to be explicitly created before we can create entries in there. Signed-off-by: Yann E. MORIN Cc: Christian Stewart Cc: Anisse Astier Signed-off-by: Peter Korsgaard (cherry picked from commit 1db38d928292aaca493c80527008b9bd7e6db602) Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index 01442b0f62..cc374aa44f 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -146,6 +146,7 @@ define HOST_GO_INSTALL_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt + mkdir -p $(HOST_DIR)/bin ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/ ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/ From peter at korsgaard.com Fri Oct 13 14:37:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:37:51 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/syslog-ng: fix libressl build Message-ID: <20231013144706.E966D847A6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=29e7a27801cf665f2fad14a2f6663b5c9ba41231 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fox the following build failure with libressl raised since bump to version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); | ^~~~~~~~~~~~ | SSL_AEAD_CTX Fixes: - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit b38aed4eb4246dff4815d85ae1603db2899fa98f) Signed-off-by: Peter Korsgaard --- ...ransport-tls-context.c-fix-libressl-build.patch | 97 ++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch new file mode 100644 index 0000000000..17cc72b983 --- /dev/null +++ b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch @@ -0,0 +1,97 @@ +From ede106afd7d70a8f962acf10a4e3f4a50a70cb15 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Oct 2023 11:27:09 +0200 +Subject: [PATCH] lib/transport/tls-context.c: fix libressl build + +Fix the following build failure with libressl raised since version 4.0.0 +and +https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: + +lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': +lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? + 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); + | ^~~~~~~~~~~~ + | SSL_AEAD_CTX + +Fixes: + - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/syslog-ng/syslog-ng/pull/4655 +--- + cmake/openssl_functions.cmake | 1 + + configure.ac | 1 + + lib/transport/tls-context.c | 4 ++++ + syslog-ng-config.h.in | 1 + + 4 files changed, 7 insertions(+) + +diff --git a/cmake/openssl_functions.cmake b/cmake/openssl_functions.cmake +index 5afbd7f12..da06ca59a 100644 +--- a/cmake/openssl_functions.cmake ++++ b/cmake/openssl_functions.cmake +@@ -41,6 +41,7 @@ function (openssl_set_defines) + X509_get_extension_flags + DH_set0_pqg + BN_get_rfc3526_prime_2048 ++ SSL_CONF_CTX_new + SSL_CTX_set_num_tickets + SSL_CTX_set_ciphersuites + SSL_CTX_set1_sigalgs_list +diff --git a/configure.ac b/configure.ac +index d636bbefa..46e43db7b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1136,6 +1136,7 @@ AC_CHECK_DECLS([EVP_MD_CTX_reset], [], [], [[#include ]]) + AC_CHECK_DECLS([ASN1_STRING_get0_data], [], [], [[#include ]]) + AC_CHECK_DECLS([DH_set0_pqg], [], [], [[#include ]]) + AC_CHECK_DECLS([BN_get_rfc3526_prime_2048], [], [], [[#include ]]) ++AC_CHECK_DECLS([SSL_CONF_CTX_new],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set_num_tickets],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_sigalgs_list],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_client_sigalgs_list],[], [], [[#include ]]) +diff --git a/lib/transport/tls-context.c b/lib/transport/tls-context.c +index be2fea68d..713b63f31 100644 +--- a/lib/transport/tls-context.c ++++ b/lib/transport/tls-context.c +@@ -314,6 +314,7 @@ tls_context_setup_sigalgs(TLSContext *self) + return TRUE; + } + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + static gboolean + tls_context_setup_cmd_context(TLSContext *self) + { +@@ -347,6 +348,7 @@ tls_context_setup_cmd_context(TLSContext *self) + SSL_CONF_CTX_free(ssl_conf_ctx); + return result; + } ++#endif + + static PKCS12 * + _load_pkcs12_file(TLSContext *self, const gchar *pkcs12_file) +@@ -593,8 +595,10 @@ tls_context_setup_context(TLSContext *self) + if (!tls_context_setup_sigalgs(self)) + goto error; + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + if (!tls_context_setup_cmd_context(self)) + goto error; ++#endif + + return TLS_CONTEXT_SETUP_OK; + +diff --git a/syslog-ng-config.h.in b/syslog-ng-config.h.in +index 412294d2a..6d01b84a0 100644 +--- a/syslog-ng-config.h.in ++++ b/syslog-ng-config.h.in +@@ -60,6 +60,7 @@ + #cmakedefine ENV_LD_LIBRARY_PATH @ENV_LD_LIBRARY_PATH@ + #cmakedefine01 SYSLOG_NG_HAVE_DECL_EVP_MD_CTX_RESET + #cmakedefine01 SYSLOG_NG_HAVE_DECL_ASN1_STRING_GET0_DATA ++#cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_GET0_PARAM + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET_CIPHERSUITES + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET1_SIGALGS_LIST +-- +2.40.1 + From peter at korsgaard.com Fri Oct 13 14:36:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:36:05 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/pkg-utils.mk: break hardlinks in global {TARGET, HOST}_DIR on per-package build Message-ID: <20231013144706.D6898847A4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=15a57fab296a9d5ed131b3eb7d63ce0557483afe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Without this patch, a make _rebuild detects overwrites. Indeed, in target_finalize steps some modifications are done on installed files (ie strip or TARGET_FINALIZE_HOOKS for instance). In order to avoid these modifications seen from per-package {TARGET,HOST}_DIR and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built using a full copy of the involved per-package files instead of hardlinks. Signed-off-by: Herve Codina Reviewed-by: Yann E. MORIN Signed-off-by: Peter Korsgaard (cherry picked from commit 21d52e52d8dee0940d28b3a38551eb183be37813) Signed-off-by: Peter Korsgaard --- package/pkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index 530638566c..bdbdf20c23 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -217,7 +217,7 @@ ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) define per-package-rsync mkdir -p $(3) $(foreach pkg,$(1),\ - rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ + rsync -a \ $(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ $(3)$(sep)) endef From peter at korsgaard.com Fri Oct 13 14:42:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:42:59 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/Makefile.in: set --shuffle=none for MAKE1 Message-ID: <20231013144707.1794C814B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=80388d5a8019ee8ce6513877e4ff680e77e6706b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Make 4.4 introduces a shuffle mode which randomizes prerequisites in order to better flush out issues with parallel builds. On the other hand, we use MAKE1 to build packages that are known to be broken with parallel build. For these, passing the shuffle option would be counter-productive and lead to spurious build failures. The --shuffle=none option exists to turn off shuffling again. We can't add this option unconditionally, however, because Make < 4.4 doesn't know it. Therefore, conditionally pass --shuffle=none only if there is a shuffle option in MAKEFLAGS. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (cherry picked from commit f664d7dc24c70ef08ced78d5d3f50a8ad673ea02) Signed-off-by: Peter Korsgaard --- package/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index d70aded82b..7e6ae19559 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -17,7 +17,9 @@ else PARALLEL_JOBS := $(BR2_JLEVEL) endif -MAKE1 := $(HOSTMAKE) -j1 +# Only build one job at a time, *and* to not randomise goals and +# prerequisites ordering in make 4.4+ +MAKE1 := $(HOSTMAKE) -j1 $(if $(findstring --shuffle,$(MAKEFLAGS)),--shuffle=none) override MAKE = $(HOSTMAKE) \ $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) From peter at korsgaard.com Fri Oct 13 14:38:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:38:41 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/tar: security bump to version 1.35 Message-ID: <20231013144706.F291E843FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=97128028df9b116149fb2d2f482e0454bc1077e5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. - Update hash of COPYING (http replaced by https) https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit d4d483451f0a305781b94b96c15a6cf4b489cd84) Signed-off-by: Peter Korsgaard --- package/tar/tar.hash | 6 +++--- package/tar/tar.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/tar/tar.hash b/package/tar/tar.hash index 1914a9f3b4..108a95ee62 100644 --- a/package/tar/tar.hash +++ b/package/tar/tar.hash @@ -1,4 +1,4 @@ # Locally calculated after checking signature -sha256 63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz -sha256 51337b19c71df92cd4f51c50efe4dc6ddc267d31fd54679be9e9bc2e6ce8132b tar-1.34.cpio.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16 tar-1.35.tar.xz +sha256 c77a38fcf25b21fd8209d20d35638744344ded239cfc7df80138bf46d3c6b16d tar-1.35.cpio.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 690a5952ba..eea112ebc7 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -4,7 +4,7 @@ # ################################################################################ -TAR_VERSION = 1.34 +TAR_VERSION = 1.35 TAR_SOURCE = tar-$(TAR_VERSION).tar.xz TAR_SITE = $(BR2_GNU_MIRROR)/tar # busybox installs in /bin, so we need tar to install as well in /bin From peter at korsgaard.com Fri Oct 13 14:41:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:41:34 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/pkg-generic.mk: fix rule order for reinstall/rebuild/reconfigure Message-ID: <20231013144707.0DB8D847A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8fceb06e6c31067e79bedc28f7ac1f8df749335b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The reinstall, rebuild and reconfigure commands rely on the left-to-right order of evaluation of the dependencies to make sure that the stamp files are removed before attempting to rebuild. However, this order of evaluation is not guaranteed. In particular, if top-level parallel build is enabled, they are executed in parallel and the stamp file may not have been removed yet when it is evaluated to decide if rebuild has to be done. Since make 4.4, it is possible to reproduce this issue by passing `--shuffle=reverse` to the make commandline. To solve this, add a .WAIT directive between the clean and install/build/configure dependencies. .WAIT was introduced in make 4.4 as well. It makes sure that the dependencies on the left are evaluated before the dependencies on the right - exactly what we want here. Earlier versions of make don't know about .WAIT, so we need to add a .PHONY dependency to effectively ignore it. Note that this doesn't fix the problem for make versions earlier than 4.4. However, the issue isn't really that important: reinstall, rebuild and reconfigure are development tools, they're not fully reliable to begin with, and it's anyway less likely that someone uses `make -j` when doing a reinstall/rebuild/reconfigure. Signed-off-by: Arnout Vandecappelle Reported-by: James Hilliard (cherry picked from commit 7e3105d5c8bd9ab31e728af9732a67d203c0a2e4) Signed-off-by: Peter Korsgaard --- Makefile | 3 +++ package/pkg-generic.mk | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5635bff6e8..ae7ba3cdbe 100644 --- a/Makefile +++ b/Makefile @@ -1254,4 +1254,7 @@ include docs/manual/manual.mk .PHONY: $(noconfig_targets) +# .WAIT was introduced in make 4.4. For older make, define it as phony. +.PHONY: .WAIT + endif #umask / $(CURDIR) / $(O) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 5d1c1da128..9947e4cc6d 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -1057,17 +1057,17 @@ endif rm -f $$($(2)_TARGET_INSTALL_IMAGES) rm -f $$($(2)_TARGET_INSTALL_HOST) -$(1)-reinstall: $(1)-clean-for-reinstall $(1) +$(1)-reinstall: $(1)-clean-for-reinstall .WAIT $(1) $(1)-clean-for-rebuild: $(1)-clean-for-reinstall rm -f $$($(2)_TARGET_BUILD) -$(1)-rebuild: $(1)-clean-for-rebuild $(1) +$(1)-rebuild: $(1)-clean-for-rebuild .WAIT $(1) $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild rm -f $$($(2)_TARGET_CONFIGURE) -$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) +$(1)-reconfigure: $(1)-clean-for-reconfigure .WAIT $(1) # define the PKG variable for all targets, containing the # uppercase package variable prefix From peter at korsgaard.com Fri Oct 13 14:33:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:33:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/linux-tools: fix SysV init script Message-ID: <20231013144706.C3994843FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4ede63c069d81aaabbe1960d4ff63689d2c2b67a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x This commit fixes the S10hyperv SysV init script which expects binaries to be locate in /sbin while they are installed in /usr/sbin. Please note, that the systemd init scripts correctly reference them. Furthermore, the SysV init script did not check for an actual HyperV environment to be present, which is also corrected. In addition, this commit also fixes check-package warnings regarding a missing DAEMON definition. Signed-off-by: Jens Maus [Peter: drop from .checkpackageignore] Signed-off-by: Peter Korsgaard (cherry picked from commit 14c4bd7bf8150283e158c50df87c77d63bb1b73c) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 1 - package/linux-tools/S10hyperv | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 1ff0f4e0c0..526df2d781 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -825,7 +825,6 @@ package/linux-fusion/0001-fix-for-linux-4-and-above.patch Upstream package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch Upstream package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch Upstream package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch Upstream -package/linux-tools/S10hyperv Variables package/linux-zigbee/0001-test-serial-Remove-test-serial.patch Upstream package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch Upstream package/linuxptp/S65ptp4l Indent Shellcheck diff --git a/package/linux-tools/S10hyperv b/package/linux-tools/S10hyperv index 32887d1b6c..be9ed2c5df 100644 --- a/package/linux-tools/S10hyperv +++ b/package/linux-tools/S10hyperv @@ -2,14 +2,18 @@ PROGS="@PROGS@" PIDDIR="/var/run" +DAEMON="hyperv" # shellcheck source=/dev/null -[ -r "/etc/default/hyperv" ] && . "/etc/default/hyperv" +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +# only continue if we are in a HyperV platform +[ -e "/sys/bus/vmbus" ] || exit 0 start_one() { printf 'Starting %s: ' "$1" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/sbin/$1" -- -n + start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/usr/sbin/$1" -- -n status=$? if [ "$status" -eq 0 ]; then echo "OK" From peter at korsgaard.com Fri Oct 13 14:58:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:58:43 +0200 Subject: [Buildroot] [PATCH v1] package/wpewebkit: needs >= GCC 9 In-Reply-To: <20231001172905.1962565-1-thomas.devoogdt@barco.com> (Thomas Devoogdt's message of "Sun, 1 Oct 2023 19:29:05 +0200") References: <20231001172905.1962565-1-thomas.devoogdt@barco.com> Message-ID: <87fs2e4li4.fsf@48ers.dk> >>>>> "Thomas" == Thomas Devoogdt writes: > Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. > Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, > we do check on >= GCC 9, because we can't check on >= GCC 9.3. > [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 > Signed-off-by: Thomas Devoogdt Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:00:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:00:59 +0200 Subject: [Buildroot] [PATCH] package/enlightenment: security bump to version 0.25.4 In-Reply-To: <20231001181141.1275330-3-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 20:11:42 +0200") References: <20231001181141.1275330-3-dalang@gmx.at> Message-ID: <87bkd24lec.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > This is a bugfix release which fixes a CVE. > See: > https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 > CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows > local users to gain privileges because it is setuid root, and the system > library function mishandles pathnames that begin with a /dev/.. > substring." > Hashes were never part of the online news page, therefore mark them as > locally computed. > Signed-off-by: Daniel Lang Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:02:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:02:57 +0200 Subject: [Buildroot] [PATCH] package/libmodplug: add a patch fixing cctype UB In-Reply-To: <20231001194952.GO2579@scaer> (Yann E. MORIN's message of "Sun, 1 Oct 2023 21:49:52 +0200") References: <20230109220041.33943-1-glex.spb@gmail.com> <20231001194952.GO2579@scaer> Message-ID: <877cnq4lb2.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > Gleb, All, > Sorry for the delay, now I've handled that patch... > On 2023-01-09 22:00 +0000, Gleb Mazovetskiy spake thusly: >> libmodplug calls `cctype` functions, such as `isspace`, >> with negative values. This is undefined behaviour. >> >> While glibc allows it, it crashes on uClibc compiled >> without `UCLIBC_HAS_CTYPE_SIGNED`. >> >> Adds a patch that resolves the issue. > We discussed it during the hackathon this WE, and we were a bit ,eh > about that patch, because it is a bit big, and upstream has not > responded to it. > However, upstream does indeed look pretty dead with no activity in the > past two years and only the occasional commit before that, so there is > very low risk at integrating this patch in Buildroot, as it should not > cause much maintenance issue. On the off chance upstream ever release > something new, we can assess the situation then. >> Also sent upstream. However, the library author has not merged >> any pull request for about a year. >> https://github.com/Konstanty/libmodplug/pull/92 >> >> Signed-off-by: Gleb Mazovetskiy > $ make check-package > package/libmodplug/0001-fix-cctype-ub.patch:0: missing > Signed-off-by in the header > (http://nightly.buildroot.org/#_format_and_licensing_of_the_package_patches) > package/libmodplug/0001-fix-cctype-ub.patch:0: missing Upstream in > the header > (http://nightly.buildroot.org/#_additional_patch_documentation) > The latter is newer than your patch, so that's not your fault; I fixed > it when applying. > For the former, since your SoB-ed your Buildoot contribution, I > copy-pasted it to the bundled patch too. > Applied to master with that fixed, thanks. > Eh, btw: I'm surprised people are still doing MOD nowadays! :-) Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:04:03 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:04:03 +0200 Subject: [Buildroot] [git commit] package/libmodplug: use a full-length hash as version In-Reply-To: <20231001195516.9BA4383F9E@busybox.osuosl.org> (Yann E. MORIN's message of "Sun, 1 Oct 2023 21:52:12 +0200") References: <20231001195516.9BA4383F9E@busybox.osuosl.org> Message-ID: <8734ye4l98.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > commit: https://git.buildroot.net/buildroot/commit/?id=80e94c76169fd15d2433b18a9e54d6a4f3c4ff18 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Commit 369ff9a88ff8 (package/libmodplug: update to git version) > improperly used a short hash as version, so switch to the full-length > hash. > Github use the full-length hash when it creates the top-level directory > of the generated archive, so the hash of the archive does not in fact > change, only its filename. This is perfectly fine fine our handling of > s.b.o. > Signed-off-by: Yann E. MORIN Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:57:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:57:51 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/wpewebkit: needs >= GCC 9 Message-ID: <20231013150445.C6DF5847B5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7590babc70e7994ebdb940d257734925aef511a0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard (cherry picked from commit 603fa625b14c849ef42262c7b755276fa9231c25) Signed-off-by: Peter Korsgaard --- package/wpewebkit/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in index 7a8dc557c3..ea2159945d 100644 --- a/package/wpewebkit/Config.in +++ b/package/wpewebkit/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" +comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \ || !BR2_HOST_GCC_AT_LEAST_4_9 comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" @@ -37,7 +37,7 @@ config BR2_PACKAGE_WPEWEBKIT depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy From peter at korsgaard.com Fri Oct 13 15:03:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:03:52 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libmodplug: use a full-length hash as version Message-ID: <20231013150445.EE5FC847B8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=90e5c7cdb83c9b50f1ec60c75fdc56baa73e1bb1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Commit 369ff9a88ff8 (package/libmodplug: update to git version) improperly used a short hash as version, so switch to the full-length hash. Github use the full-length hash when it creates the top-level directory of the generated archive, so the hash of the archive does not in fact change, only its filename. This is perfectly fine fine our handling of s.b.o. Signed-off-by: Yann E. MORIN (cherry picked from commit 80e94c76169fd15d2433b18a9e54d6a4f3c4ff18) Signed-off-by: Peter Korsgaard --- package/libmodplug/libmodplug.hash | 2 +- package/libmodplug/libmodplug.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libmodplug/libmodplug.hash b/package/libmodplug/libmodplug.hash index 01ff71014c..8aaf500a3a 100644 --- a/package/libmodplug/libmodplug.hash +++ b/package/libmodplug/libmodplug.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed.tar.gz +sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed0020bc620a059d3675d1854b40bd2608d.tar.gz sha256 49942e7b3b175f549e751feb08b5270ca6f6c5fb7a1be9f9517db275ec32c92e COPYING diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk index 735d0e704d..c5d2463fdb 100644 --- a/package/libmodplug/libmodplug.mk +++ b/package/libmodplug/libmodplug.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMODPLUG_VERSION = d1b97ed +LIBMODPLUG_VERSION = d1b97ed0020bc620a059d3675d1854b40bd2608d LIBMODPLUG_SITE = $(call github,Konstanty,libmodplug,$(LIBMODPLUG_VERSION)) LIBMODPLUG_INSTALL_STAGING = YES LIBMODPLUG_LICENSE = Public Domain From peter at korsgaard.com Fri Oct 13 14:59:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:59:20 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/enlightenment: security bump to version 0.25.4 Message-ID: <20231013150445.D2FD2847B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=20542acda60788162fef0c3043df8ccb2d9ef610 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x This is a bugfix release which fixes a CVE. See: https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring." Hashes were never part of the online news page, therefore mark them as locally computed. Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 83ffe153faa97b08acbfd0d15d4ca7f77604c17a) Signed-off-by: Peter Korsgaard --- package/enlightenment/enlightenment.hash | 5 +++-- package/enlightenment/enlightenment.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/enlightenment/enlightenment.hash b/package/enlightenment/enlightenment.hash index 2d977b86f7..ed5d6b24ef 100644 --- a/package/enlightenment/enlightenment.hash +++ b/package/enlightenment/enlightenment.hash @@ -1,4 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-enlightenment-0.25.1 -sha256 2cf05fe3d96ef35e823619dbc0ac513ecabcae2186800ecd804924a637112444 enlightenment-0.25.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 +sha256 56db5d206b821b9a8831d26e713e410ac70b2255a6f43fcdf7c01eefde23b7a2 enlightenment-0.25.4.tar.xz +# Locally computed sha256 8d2fbc393e967cd6f5b8559d1744881a6a1ceb3ec6e1c2368c3916809ffccb8d COPYING sha256 cdc77ee1732455b203610f923fe4196046b3f7509038c48dc0b0c7e3492c23f3 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk index 95670e800d..836c6e581d 100644 --- a/package/enlightenment/enlightenment.mk +++ b/package/enlightenment/enlightenment.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENLIGHTENMENT_VERSION = 0.25.1 +ENLIGHTENMENT_VERSION = 0.25.4 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz ENLIGHTENMENT_SITE = https://download.enlightenment.org/rel/apps/enlightenment ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) From peter at korsgaard.com Fri Oct 13 15:02:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:02:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libmodplug: add a patch fixing cctype UB Message-ID: <20231013150445.E03C8847B7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=880ddba3f39d95f3953610a9b4f18c8a4f8dd275 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x libmodplug calls `cctype` functions, such as `isspace`, with negative values. This is undefined behaviour. While glibc allows it, it crashes on uClibc compiled without `UCLIBC_HAS_CTYPE_SIGNED`. Adds a patch that resolves the issue. Also sent upstream. However, the library author has not merged any pull request for about a year. Signed-off-by: Gleb Mazovetskiy [yann.morin.1998 at free.fr: - add Gleb's SoB to the patch - add upstream URL to the patch ] Signed-off-by: Yann E. MORIN (cherry picked from commit 33d0a13c3b7b86cbbff3dddb4c39ad41cae1c1c0) Signed-off-by: Peter Korsgaard --- package/libmodplug/0001-fix-cctype-ub.patch | 957 ++++++++++++++++++++++++++++ 1 file changed, 957 insertions(+) diff --git a/package/libmodplug/0001-fix-cctype-ub.patch b/package/libmodplug/0001-fix-cctype-ub.patch new file mode 100644 index 0000000000..c75919b6a8 --- /dev/null +++ b/package/libmodplug/0001-fix-cctype-ub.patch @@ -0,0 +1,957 @@ +From dc6d5994b4912cb00d0d183b400edfd656d6530c Mon Sep 17 00:00:00 2001 +From: Gleb Mazovetskiy +Date: Wed, 21 Dec 2022 11:44:27 +0000 +Subject: [PATCH] Fix UB when calling cctype functions + +Calling cctype functions, such as isspace, with negative values +is undefined behaviour. + +While glibc allows it, it crashes on uClibc compiled without +`UCLIBC_HAS_CTYPE_SIGNED`. + +Fixes the undefined behaviour by casting all arguments to +cctype functions to `unsigned char`. + +Upstream: https://github.com/Konstanty/libmodplug/pull/92 +Signed-off-by: Gleb Mazovetskiy +--- + src/load_abc.cpp | 284 +++++++++++++++++++++++------------------------ + src/load_mid.cpp | 2 +- + src/load_pat.cpp | 30 ++--- + 3 files changed, 158 insertions(+), 158 deletions(-) + +diff --git a/src/load_abc.cpp b/src/load_abc.cpp +index b45f972f..8444bd87 100644 +--- a/src/load_abc.cpp ++++ b/src/load_abc.cpp +@@ -260,13 +260,13 @@ static uint32_t abc_pattracktime(ABCHANDLE *h, uint32_t tracktime); + static int abc_patno(ABCHANDLE *h, uint32_t tracktime); + + +-static int abc_isvalidchar(char c) { ++static int abc_isvalidchar(unsigned char c) { + return(isalpha(c) || isdigit(c) || isspace(c) || c == '%' || c == ':'); + } + #if 0 + static const char *abc_skipspace(const char *p) + { +- while (*p && isspace(*p)) ++ while (*p && isspace(static_cast(*p))) + p++; + return p; + } +@@ -275,7 +275,7 @@ static const char *abc_skipspace(const char *p) + static void abc_extractkeyvalue(char *key, size_t key_max, + char *value, size_t value_max, const char *src) + { +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t key_size; +@@ -286,17 +286,17 @@ static void abc_extractkeyvalue(char *key, size_t key_max, + } + key[key_size++] = *src++; + } +- while (key_size > 0 && isspace(key[key_size - 1])) ++ while (key_size > 0 && isspace(static_cast(key[key_size - 1]))) + key_size--; + key[key_size] = '\0'; + +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t value_size; + for (value_size = 0; value_size < value_max - 1 && *src;) + value[value_size++] = *src++; +- while (value_size > 0 && isspace(value[value_size - 1])) ++ while (value_size > 0 && isspace(static_cast(value[value_size - 1]))) + value_size--; + value[value_size] = '\0'; + +@@ -359,7 +359,7 @@ static void abc_dumptracks(ABCHANDLE *h, const char *p) + nn[0] = "CCCDDEFFGGAABccddeffggaabb"[e->par[chordnote]]; + nn[1] = "b # # # # # # # # # # #"[e->par[chordnote]]; + nn[2] = '\0'; +- if( isspace(nn[1]) ) nn[1] = '\0'; ++ if( isspace(static_cast(nn[1])) ) nn[1] = '\0'; + printf("CMD %c: gchord %s%s", + (char)(e->cmd), nn, chordname[e->par[chordnum]]); + if( e->par[chordbase] != e->par[chordnote] ) { +@@ -557,7 +557,7 @@ static void abc_new_umacro(ABCHANDLE *h, const char *m) + ABCMACRO *retval, *mp; + char key[256], value[256]; + abc_extractkeyvalue(key, sizeof(key), value, sizeof(value), m); +- if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(key[0])) == 0 ) return; ++ if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(static_cast(key[0]))) == 0 ) return; + while( char *q = strchr(key, '!') ) + *q = '+'; // translate oldstyle to newstyle + if( !strcmp(key,"+nil+") ) { // delete a macro +@@ -823,7 +823,7 @@ static ABCTRACK *abc_locate_track(ABCHANDLE *h, const char *voice, int pos) + char vc[21]; + int i, trans=0, voiceno=0, instrno = 1, channo = 0; + for( ; *voice == ' '; voice++ ) ; // skip leading spaces +- for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(*voice); voice++ ) // can work with inline voice instructions ++ for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(static_cast(*voice)); voice++ ) // can work with inline voice instructions + vc[i++] = *voice; + vc[i] = '\0'; + prev = NULL; +@@ -1250,32 +1250,32 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + switch(ch) { + case '^': + if( p[0] == '^' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'x'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '_': + if( p[0] == '_' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'b'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '=': +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + break; + default: +- n = ch; ++ n = static_cast(ch); + i = 0; + break; + } +@@ -1332,7 +1332,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + else + d[note] = 0; // someone has doen ^X3 or something like it... +- while( p[i] && strchr(",'",p[i]) ) { ++ while( p[i] && strchr(",'",static_cast(p[i])) ) { + if( p[i]==',' ) oct--; + else oct++; + i++; +@@ -1381,7 +1381,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + } + tp->tienote->tiednote = 1; // mark him for the pattern writers +- for( j=i; isdigit(p[j]) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too ++ for( j=i; isdigit(static_cast(p[j])) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too + if( p[j] != '-' ) // is this note tied too? + tp->tienote = NULL; // if not the tie ends here... + return i; +@@ -1603,7 +1603,7 @@ static int abc_getnumber(const char *p, int *number) + int i,h; + i = 0; + h = 0; +- while( isdigit(p[i]) ) { ++ while( isdigit(static_cast(p[i])) ) { + if (i < 9) + h = 10 * h + p[i] - '0'; + i++; +@@ -1619,7 +1619,7 @@ static int abc_getexpr(const char *p, int *number) + { + int i, term, total; + i = 0; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + if( p[i] == '(' ) { + i += abc_getexpr(p+i+1, number); +@@ -1628,12 +1628,12 @@ static int abc_getexpr(const char *p, int *number) + return i; + } + i += abc_getnumber(p+i, &total); +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + while( p[i] == '+' ) { + i += 1 + abc_getexpr(p+i+1, &term); + total += term; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + } + *number = total; +@@ -1649,7 +1649,7 @@ static int abc_notelen(const char *p, int *len, int *div) + h *= 2; + i++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + h /= 2; + i += abc_getnumber(p+i,&k); + } +@@ -1738,7 +1738,7 @@ static int abc_extract_tempo(const char *p, int invoice) + case '=': + break; + default: +- if( isdigit(*q) ) { ++ if( isdigit(static_cast(*q)) ) { + if( state ) { + q+=abc_getnumber(q,&nd1)-1; + state = 0; +@@ -1812,10 +1812,10 @@ static void abc_set_parts(char **d, char *p) + j=0; + k=0; + for( i=0; p[i] && p[i] != '%'; i++ ) { +- if( isupper(p[i]) ) { ++ if( isupper(static_cast(p[i])) ) { + j++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n=abc_getnumber(p+i, &k); + if( k == 0 ) + k = 1; +@@ -1833,7 +1833,7 @@ static void abc_set_parts(char **d, char *p) + // now copy bytes from p to *d, taking parens and digits in account + j = 0; + for( i=0; p[i] && p[i] != '%' && j < size && i < (int)size; i++ ) { +- if( isdigit(p[i]) || isupper(p[i]) || p[i] == '(' || p[i] == ')' ) { ++ if( isdigit(static_cast(p[i])) || isupper(static_cast(p[i])) || p[i] == '(' || p[i] == ')' ) { + if( p[i] == ')' ) { + for( n=j; n > 0 && q[n-1] != '('; n-- ) ; // find open paren in q + // q[n+1] to q[j] contains the substring that must be repeated +@@ -1856,7 +1856,7 @@ static void abc_set_parts(char **d, char *p) + } + continue; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n = abc_getnumber(p+i,&k); + i += n - 1; + // if nothing is ready to 'repeat', skip it. +@@ -2243,7 +2243,7 @@ static void abc_preprocess(ABCHANDLE *h, ABCMACRO *m) + char *p = s; + for( j=0; jsubst[j]; +- if( a > 'g' && islower(a) ) { ++ if( a > 'g' && islower(static_cast(a)) ) { + b = a - 'n'; + a = "CDEFGABCDEFGABcdefgabcdefgabcdefgab"[i+b+7]; + *p++ = a; +@@ -2339,11 +2339,11 @@ BOOL CSoundFile::TestABC(const BYTE *lpStream, DWORD dwMemLength) + } + if(id[0]=='K' + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) return 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) return 1; + // disable binary error if have any "tag" + if((id[0]>='A' && id[0]<='Z') + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) hasText = 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) hasText = 1; + } + return 0; + } +@@ -2367,7 +2367,7 @@ static ABCHANDLE *ABC_Init(void) + retval->barticks = 0; + p = getenv(ABC_ENV_NORANDOMPICK); + if( p ) { +- if( isdigit(*p) ) ++ if( isdigit(static_cast(*p)) ) + retval->pickrandom = atoi(p); + if( *p == '-' ) { + retval->pickrandom = atoi(p+1)-1; // xmms preloads the file +@@ -2652,12 +2652,12 @@ static int ABC_Key(const char *p) + int i,j; + char c[8]; + const char *q; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + q = p; + memset(c, 0, 8); + for( i=0; i<8 && *p && *p != ']'; p++ ) { +- if( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ if( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if( strncasecmp(p, "min", 3) && strncasecmp(p, "maj", 3) ) + break; + } +@@ -2687,9 +2687,9 @@ static int ABC_Key(const char *p) + + static char *abc_skip_word(char *p) + { +- while( isspace(*p) ) p++; +- while( *p && !isspace(*p) && *p != ']') p++; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; ++ while( *p && !isspace(static_cast(*p)) && *p != ']') p++; ++ while( isspace(static_cast(*p)) ) p++; + return p; + } + +@@ -2798,7 +2798,7 @@ static void abc_setup_chordnames() + static int abc_MIDI_getnumber(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 0 ) n = 0; + if( n > 127 ) n = 127; +@@ -2808,7 +2808,7 @@ static int abc_MIDI_getnumber(const char *p) + static int abc_MIDI_getprog(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 1 ) n = 1; + if( n > 128 ) n = 128; +@@ -2819,32 +2819,32 @@ static int abc_MIDI_getprog(const char *p) + static void abc_MIDI_drone(const char *p, int *gm, int *ptch, int *vol) + { + int i; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + i++; // adjust for 1..128 + if( i>0 && i < 129 ) + *gm = i; + else + *gm = 71; // bassoon +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[0] = i; + else + ptch[0] = 45; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[1] = i; + else + ptch[1] = 33; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[0] = i; + else + vol[0] = 80; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[1] = i; +@@ -2869,8 +2869,8 @@ static void abc_MIDI_channel(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); + if( i2 >= 1 && i2 <= 16 ) + abc_chan_to_tracks(h, i1, i2); // we start at 1 +@@ -2894,11 +2894,11 @@ static void abc_MIDI_program(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + i1 = i2; + abc_getnumber(p, &i2); + } +@@ -2919,25 +2919,25 @@ static void abc_mute_voice(ABCHANDLE *h, ABCTRACK *tp, int m) + static void abc_MIDI_voice(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( strncmp(p,"instrument=",11) && strncmp(p,"mute",4) ) { + tp = abc_locate_track(h, p, 0); +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + i1 = tp? tp->vno: 1; + i2 = 0; +- if( !strncmp(p,"instrument=",11) && isdigit(p[11]) ) { ++ if( !strncmp(p,"instrument=",11) && isdigit(static_cast(p[11])) ) { + p += 11; + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"bank=",5) && isdigit(p[5]) ) { +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"bank=",5) && isdigit(static_cast(p[5])) ) { ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + } + if( tp ) abc_mute_voice(h,tp,0); +- if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(p[4])) ) { ++ if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(static_cast(p[4]))) ) { + if( tp ) abc_mute_voice(h,tp,1); + } + abc_instr_to_tracks(h, i1, i2); // starts already at 1 (draft 4.0) +@@ -2949,7 +2949,7 @@ static void abc_MIDI_chordname(const char *p) + char name[20]; + int i; + +- for(; *p && isspace(*p); p++) ++ for(; *p && isspace(static_cast(*p)); p++) + ; + i = 0; + while ((i < 19) && (*p != ' ') && (*p != '\0')) { +@@ -2965,8 +2965,8 @@ static void abc_MIDI_chordname(const char *p) + int notes[6]; + i = 0; + memset(notes, 0, sizeof(notes)); +- while ((i < 6) && isspace(*p)) { +- for(; *p && isspace(*p); p++) ++ while ((i < 6) && isspace(static_cast(*p))) { ++ for(; *p && isspace(static_cast(*p)); p++) + ; + p += abc_getnumber(p, ¬es[i]); + i = i + 1; +@@ -2981,21 +2981,21 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + { + char *q; + int i, n, m, len; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; + n = 0; len = 0; +- for( q = h->drum; *p && !isspace(*p); p++ ) { ++ for( q = h->drum; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("dz0123456789",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->drum)-1 ) { +- if( !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->drum)-1 ) { ++ if( !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + n++; // count the silences too.... + } + if (len >= (int)sizeof(h->drum)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3003,10 +3003,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumins; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3017,10 +3017,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumvol; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3036,17 +3036,17 @@ static int abc_MIDI_gchord(const char *p, ABCHANDLE *h) + { + char *q; + int len = 0; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; +- for( q = h->gchord; *p && !isspace(*p); p++ ) { ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; ++ for( q = h->gchord; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("fbcz0123456789ghijGHIJ",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->gchord)-1 && !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->gchord)-1 && !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + if (len >= (int)sizeof(h->gchord)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3099,7 +3099,7 @@ static void abc_metric_gchord(ABCHANDLE *h, int mlen, int mdiv) + + static void abc_MIDI_legato(const char *p, ABCTRACK *tp) + { +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"off",3) ) tp->legato = 0; + else tp->legato = 1; + } +@@ -3130,7 +3130,7 @@ static int abc_drum_steps(const char *dch) + const char *p; + int i=0; + for( p=dch; *p; p++ ) { +- if( isdigit(*p) ) i += *p - '0';; ++ if( isdigit(static_cast(*p)) ) i += *p - '0';; + } + return i; + } +@@ -3185,7 +3185,7 @@ static int abc_gchord_steps(const char *gch) + const char *p; + int i=0; + for( p=gch; *p; p++ ) +- if( isdigit(*p) ) i += *p - '0'; ++ if( isdigit(static_cast(*p)) ) i += *p - '0'; + return i; + } + +@@ -3231,7 +3231,7 @@ static void abc_add_gchord(ABCHANDLE *h, uint32_t tracktime, uint32_t bartime) + stime = (tracktime - etime) * steps; + rtime = 0; + while( rtime < stime ) { +- gnote = h->gchord[2*g]; ++ gnote = static_cast(h->gchord[2*g]); + glen = h->gchord[2*g+1] - '0'; + if( ++g == gsteps ) g = 0; + switch(gnote) { +@@ -3313,7 +3313,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + h->beat[2] = 110; + h->beat[3] = 1; + for( j=0; j<4; j++ ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( *p ) { + p += abc_getnumber(p, &i); + if( i < 0 ) i = 0; +@@ -3336,7 +3336,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + // %%MIDI beatstring fppmpmp + static void abc_MIDI_beatstring(ABCHANDLE *h, const char *p) + { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( h->beatstring ) _mm_free(h->allochandle, h->beatstring); + if( strlen(p) ) + h->beatstring = DupStr(h->allochandle,p,strlen(p)+1); +@@ -3483,47 +3483,47 @@ static void abc_recalculate_tracktime(ABCHANDLE *h) { + static void abc_MIDI_command(ABCHANDLE *h, char *p, char delim) { + int t; + // interpret some of the possibilitys +- if( !strncmp(p,"bassprog",8) && isspace(p[8]) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; +- if( !strncmp(p,"bassvol",7) && isspace(p[7]) ) h->abcbassvol = abc_MIDI_getnumber(p+7); +- if( !strncmp(p,"beat",4) && isspace(p[4]) ) abc_MIDI_beat(h, p+4); +- if( !strncmp(p,"beatstring",10) && isspace(p[10]) ) abc_MIDI_beatstring(h, p+4); +- if( !strncmp(p,"chordname",9) && isspace(p[9]) ) abc_MIDI_chordname(p+9); +- if( !strncmp(p,"chordprog",9) && isspace(p[9]) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; +- if( !strncmp(p,"chordvol",8) && isspace(p[8]) ) h->abcchordvol = abc_MIDI_getnumber(p+8); +- if( !strncmp(p,"drone",5) && isspace(p[5]) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); +- if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->droneon = 0; +- if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->droneon = 1; ++ if( !strncmp(p,"bassprog",8) && isspace(static_cast(p[8])) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; ++ if( !strncmp(p,"bassvol",7) && isspace(static_cast(p[7])) ) h->abcbassvol = abc_MIDI_getnumber(p+7); ++ if( !strncmp(p,"beat",4) && isspace(static_cast(p[4])) ) abc_MIDI_beat(h, p+4); ++ if( !strncmp(p,"beatstring",10) && isspace(static_cast(p[10])) ) abc_MIDI_beatstring(h, p+4); ++ if( !strncmp(p,"chordname",9) && isspace(static_cast(p[9])) ) abc_MIDI_chordname(p+9); ++ if( !strncmp(p,"chordprog",9) && isspace(static_cast(p[9])) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; ++ if( !strncmp(p,"chordvol",8) && isspace(static_cast(p[8])) ) h->abcchordvol = abc_MIDI_getnumber(p+8); ++ if( !strncmp(p,"drone",5) && isspace(static_cast(p[5])) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); ++ if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->droneon = 0; ++ if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->droneon = 1; + t = h->drumon; +- if( !strncmp(p,"drum",4) && isspace(p[4]) ) { ++ if( !strncmp(p,"drum",4) && isspace(static_cast(p[4])) ) { + h->drumon = abc_MIDI_drum(p+4, h); + if( h->drumon ) --h->drumon; + else h->drumon = t; + } +- if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->drumon = 0; +- if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) h->drumon = 1; ++ if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->drumon = 0; ++ if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) h->drumon = 1; + if( t != h->drumon ) { + if( h->drumon && !h->tpr ) h->tpr = h->track; + if( h->tpr ) abc_add_drum_sync(h, h->tpr, h->tracktime); // don't start drumming from the beginning of time! + if( h->tpr && !h->drumon ) h->tpr = NULL; + } + t = h->gchordon; +- if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) { ++ if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) { + h->gchordon = abc_MIDI_gchord(p+6, h); + if( h->gchordon ) --h->gchordon; + else h->gchordon = t; + } +- if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(p[9])) ) h->gchordon = 0; +- if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->gchordon = 1; ++ if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(static_cast(p[9]))) ) h->gchordon = 0; ++ if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->gchordon = 1; + if( t != h->gchordon ) { + if( h->tpc ) abc_add_gchord_syncs(h, h->tpc, h->tracktime); + } +- if( !strncmp(p,"channel",7) && isspace(p[7]) ) ++ if( !strncmp(p,"channel",7) && isspace(static_cast(p[7])) ) + abc_MIDI_channel(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"program",7) && isspace(p[7]) ) ++ if( !strncmp(p,"program",7) && isspace(static_cast(p[7])) ) + abc_MIDI_program(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"voice",5) && isspace(p[5]) ) ++ if( !strncmp(p,"voice",5) && isspace(static_cast(p[5])) ) + abc_MIDI_voice(p+6, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) ++ if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) + abc_MIDI_legato(p+6, h->tp = abc_check_track(h, h->tp)); + } + +@@ -3548,13 +3548,13 @@ static char *abc_continuated(ABCHANDLE *h, MMFILE *mmf, char *p) { + abc_message("line not properly continued\n%s", p1); + return p1; + } +- while( *pm && isspace(*pm) ) ++pm; ++ while( *pm && isspace(static_cast(*pm)) ) ++pm; + if( !strncmp(pm,"%%",2) ) { +- for( p2 = pm+2; *p2 && isspace(*p2); p2++ ) ; +- if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(p2[4])) ) { +- for( p2+=5; *p2 && isspace(*p2); p2++ ) ; ++ for( p2 = pm+2; *p2 && isspace(static_cast(*p2)); p2++ ) ; ++ if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(static_cast(p2[4]))) ) { ++ for( p2+=5; *p2 && isspace(static_cast(*p2)); p2++ ) ; + if( *p2 == '=' ) +- for( p2+=1; *p2 && isspace(*p2); p2++ ) ; ++ for( p2+=1; *p2 && isspace(static_cast(*p2)); p2++ ) ; + abc_MIDI_command(h,p2,'%'); + } + continued = 1; +@@ -3685,7 +3685,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcxcount = 0; + mmfseek(mmfile,0,SEEK_SET); + while ((line=abc_gets(h, mmfile)) != NULL) { +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"X:",2) ) abcxcount++; + } + if( abcxcount == 0 ) +@@ -3699,7 +3699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + mmsp--; + while ((line=abc_gets(h, mmstack[mmsp])) != NULL) { + char blankline[3] = "% "; +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + switch(abcstate) { + case INSKIPFORX: + if( !strncmp(p,"X:",2) ) { +@@ -3711,7 +3711,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( !strncmp(p,"X:",2) ) { + abcstate = INHEAD; + memset(m_szNames[0], 0, 32); +- for( p+=2; isspace(*p); p++ ) ; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; + abcxnumber = atoi(p); + abchornpipe = 0; + h->droneon = 0; +@@ -3792,8 +3792,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"R:",2) ) { +- for( p+=2; isspace(*p); p++ ) ; +- if( !strncmp(p,"hornpipe",8) && (isspace(p[8]) || p[8]=='\0') ) abchornpipe = 1; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"hornpipe",8) && (isspace(static_cast(p[8])) || p[8]=='\0') ) abchornpipe = 1; + else abchornpipe = 0; + break; + } +@@ -3980,8 +3980,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + p[1]= '%'; + } + if( !strncmp(p,"%%",2) ) { +- for( p+=2; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"abc-include",11) && isspace(p[11]) ) { ++ for( p+=2; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"abc-include",11) && isspace(static_cast(p[11])) ) { + for( t=12; isspace(p[t]); t++ ) ; + if( p[t] ) { + mmsp++; +@@ -3998,10 +3998,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + else abc_message("failure: abc-include missing file name, %s", p); + } +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) && abcstate != INSKIPFORX ) { +- for( p+=5; *p && isspace(*p); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) && abcstate != INSKIPFORX ) { ++ for( p+=5; *p && isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p+=1; *p && isspace(*p); p++ ) ; ++ for( p+=1; *p && isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h,p,'%'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4034,7 +4034,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication + while( p[2]==' ' || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4073,7 +4073,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + ch0 = ' '; + pp = 0; + while (*p && (ch = *p++) != '\0') { +- if( !pp && isalpha(ch) && *p != ':' ) { // maybe a macro ++ if( !pp && isalpha(static_cast(ch)) && *p != ':' ) { // maybe a macro + for( mp=h->umacro; mp; mp=mp->next ) { + if( ch == mp->name[0] ) { + pp = p; +@@ -4131,8 +4131,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + else + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication +- while( isspace(p[2]) || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ while( isspace(static_cast(p[2])) || p[2]=='.' ) p++; // skip blancs and dots ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4152,11 +4152,11 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"I:",2) ) { // interpret some of the possibilitys +- for( p += 2; isspace(*p); p++ ) ; +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) ) { // interpret some of the possibilitys +- for( p += 4; isspace(*p); p++ ) ; ++ for( p += 2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) ) { // interpret some of the possibilitys ++ for( p += 4; isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p += 1; isspace(*p); p++ ) ; ++ for( p += 1; isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h, p, ']'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4235,7 +4235,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + notelen *= cnotelen; + notediv *= cnotediv; + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4278,7 +4278,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( abceffoper != 255 ) abceffect = none; + break; + } +- if( isdigit(*p) ) { // different endings in repeats [i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats [i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4304,7 +4304,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + case '(': // slurs follow or some tuplet (duplet, triplet etc.) + abcto = 0; +- if( isdigit(*p) ) { ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p,&tupletp); + tupletr = tupletp; // ABC draft 2.0 (4.13): if r is not given it defaults to p + switch( tupletp ) { // ABC draft 2.0 (4.13): q defaults depending on p and time signature +@@ -4323,10 +4323,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletq); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletq); + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletr); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletr); + } + } + } +@@ -4375,7 +4375,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + sprintf(barsig, "%s%s", sig[abckey], sig[abckey]); // reset the key signature + bartime = h->tracktime; + if( h->tp && h->tp->vpos ) h->tp = abc_locate_track(h, h->tp->v, 0); // reset from voice overlay +- if( isdigit(*p) ) { // different endings in repeats |i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats |i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4426,7 +4426,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + break; + case '"': // chord notation +- if( !strchr("_^<>@", *p) && !isdigit(*p) ) { // if it's not a annotation string ++ if( !strchr("_^<>@", *p) && !isdigit(static_cast(*p)) ) { // if it's not a annotation string + h->tp = abc_check_track(h, h->tp); + if( !h->tpc ) h->tpc = abc_locate_track(h, h->tp->v, 0); + if( h->tp == h->tpc ) abc_add_chord(p, h, h->tpc, h->tracktime); // only do chords for one voice +@@ -4443,8 +4443,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcto = -1; + } + else +- if( !isspace(*p) ) abcto = 0; +- if( !strncasecmp(p,"to",2) && (isspace(p[2]) || p[2] == '"') ) abcto = 1; ++ if( !isspace(static_cast(*p)) ) abcto = 0; ++ if( !strncasecmp(p,"to",2) && (isspace(static_cast(p[2])) || p[2] == '"') ) abcto = 1; + } + if( !ch ) abcstate = INSKIPFORQUOTE; + break; +@@ -4665,7 +4665,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + h->tp->tienote = h->tp->tail; + } + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4699,7 +4699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abc_track_clear_tiednote(h); + p += abc_notelen(p, ¬elen, ¬ediv); + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4752,7 +4752,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcarpeggio = 0; + break; + } +- if( isalpha(ch) && *p==':' ) { ++ if( isalpha(static_cast(ch)) && *p==':' ) { + // some unprocessed field line? + while( *p ) p++; // skip it + break; +diff --git a/src/load_mid.cpp b/src/load_mid.cpp +index fe02f5e4..749b5d0c 100644 +--- a/src/load_mid.cpp ++++ b/src/load_mid.cpp +@@ -1198,7 +1198,7 @@ BOOL CSoundFile::ReadMID(const BYTE *lpStream, DWORD dwMemLength) + if (h->miditracks == 0) goto ErrorCleanup; + + p = (BYTE *)getenv(ENV_MMMID_SPEED); +- if( p && isdigit(*p) && p[0] != '0' && p[1] == '\0' ) { ++ if( p && isdigit(static_cast(*p)) && p[0] != '0' && p[1] == '\0' ) { + // transform speed + t = *p - '0'; + h->speed *= t; +diff --git a/src/load_pat.cpp b/src/load_pat.cpp +index fe787311..dfa640e5 100644 +--- a/src/load_pat.cpp ++++ b/src/load_pat.cpp +@@ -392,31 +392,31 @@ void pat_init_patnames(void) + _mm_fgets(mmcfg, line, PATH_MAX); + while( !_mm_feof(mmcfg) ) { + p = line; +- while ( isspace(*p) ) p ++; +- if( isdigit(p[0]) ) { ++ while ( isspace(static_cast(*p)) ) p ++; ++ if( isdigit(static_cast(p[0])) ) { + // get pat number + i = atoi(p); +- while ( isdigit(*p) ) p ++; +- while ( isspace(*p) ) p ++; ++ while ( isdigit(static_cast(*p)) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + // get pat file name + if( *p && i < MAXSMP && i >= 0 && *p != '#' ) { + q = isdrumset ? midipat[pat_gm_drumnr(i)-1] : midipat[i]; + pfnlen = 0; +- while( *p && !isspace(*p) && *p != '#' && pfnlen < 128 ) { ++ while( *p && !isspace(static_cast(*p)) && *p != '#' && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isblank(*p) && *(p+1) != '#' && pfnlen < 128 ) { ++ if( isblank(static_cast(*p)) && *(p+1) != '#' && pfnlen < 128 ) { + *q++ = ':'; pfnlen ++; +- while( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if ( *p == '#' ) { // comment + +- } else while( *p && !isspace(*p) && pfnlen < 128 ) { ++ } else while( *p && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isspace(*p) ) { *q++ = ' '; pfnlen++; } ++ if( isspace(static_cast(*p)) ) { *q++ = ' '; pfnlen++; } + } + } + *q++ = '\0'; +@@ -429,11 +429,11 @@ void pat_init_patnames(void) + } + else if( !strncmp(p,"dir",3) ) { + p += 3; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + q = p + strlen(p); + if(q > p) { + --q; +- while ( q > p && isspace(*q) ) *(q--) = 0; ++ while ( q > p && isspace(static_cast(*q)) ) *(q--) = 0; + strncpy(pathforpat, p, PATH_MAX - 1); + pathforpat[PATH_MAX - 1] = 0; + } +@@ -441,9 +441,9 @@ void pat_init_patnames(void) + else if( !strncmp(p,"source",6) && nsources < 5 ) { + q = cfgsources[nsources]; + p += 6; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + pfnlen = 0; +- while ( *p && *p != '#' && !isspace(*p) && pfnlen < 128 ) { ++ while ( *p && *p != '#' && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +@@ -857,7 +857,7 @@ static void PAT_ReadPatterns(MODCOMMAND *pattern[], WORD psize[], PATHANDLE *h, + i = tt2 - 16 * ((h->samples - 1 - ch) & 3); + if( tt1 < i ) { + t = t % 64; +- if( isalpha(tune[t]) ) { ++ if( isalpha(static_cast(tune[t])) ) { + n = pat_modnote(pat_note(tune[t])); + ins = ch + 1; + vol = 40; From peter at korsgaard.com Fri Oct 13 14:59:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:59:01 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/enlightenment: security bump to version 0.25.4 Message-ID: <20231013150556.0E889847E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d8bf581531b8d8b3ab5d122319cc647e7f8550b1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x This is a bugfix release which fixes a CVE. See: https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring." Hashes were never part of the online news page, therefore mark them as locally computed. Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 83ffe153faa97b08acbfd0d15d4ca7f77604c17a) Signed-off-by: Peter Korsgaard --- package/enlightenment/enlightenment.hash | 5 +++-- package/enlightenment/enlightenment.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/enlightenment/enlightenment.hash b/package/enlightenment/enlightenment.hash index 2d977b86f7..ed5d6b24ef 100644 --- a/package/enlightenment/enlightenment.hash +++ b/package/enlightenment/enlightenment.hash @@ -1,4 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-enlightenment-0.25.1 -sha256 2cf05fe3d96ef35e823619dbc0ac513ecabcae2186800ecd804924a637112444 enlightenment-0.25.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 +sha256 56db5d206b821b9a8831d26e713e410ac70b2255a6f43fcdf7c01eefde23b7a2 enlightenment-0.25.4.tar.xz +# Locally computed sha256 8d2fbc393e967cd6f5b8559d1744881a6a1ceb3ec6e1c2368c3916809ffccb8d COPYING sha256 cdc77ee1732455b203610f923fe4196046b3f7509038c48dc0b0c7e3492c23f3 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk index 95670e800d..836c6e581d 100644 --- a/package/enlightenment/enlightenment.mk +++ b/package/enlightenment/enlightenment.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENLIGHTENMENT_VERSION = 0.25.1 +ENLIGHTENMENT_VERSION = 0.25.4 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz ENLIGHTENMENT_SITE = https://download.enlightenment.org/rel/apps/enlightenment ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) From peter at korsgaard.com Fri Oct 13 14:57:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:57:33 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/wpewebkit: needs >= GCC 9 Message-ID: <20231013150556.04D0D847E7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=87c22b9f79cb1fe90b55d236ec6b092935c4ea45 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard (cherry picked from commit 603fa625b14c849ef42262c7b755276fa9231c25) Signed-off-by: Peter Korsgaard --- package/wpewebkit/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in index 7a8dc557c3..ea2159945d 100644 --- a/package/wpewebkit/Config.in +++ b/package/wpewebkit/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" +comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \ || !BR2_HOST_GCC_AT_LEAST_4_9 comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" @@ -37,7 +37,7 @@ config BR2_PACKAGE_WPEWEBKIT depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy From peter at korsgaard.com Fri Oct 13 15:03:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:03:47 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libmodplug: use a full-length hash as version Message-ID: <20231013150556.22EAA847F3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f71f481f79825713bf3f794f2117dfb9e8a44f0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Commit 369ff9a88ff8 (package/libmodplug: update to git version) improperly used a short hash as version, so switch to the full-length hash. Github use the full-length hash when it creates the top-level directory of the generated archive, so the hash of the archive does not in fact change, only its filename. This is perfectly fine fine our handling of s.b.o. Signed-off-by: Yann E. MORIN (cherry picked from commit 80e94c76169fd15d2433b18a9e54d6a4f3c4ff18) Signed-off-by: Peter Korsgaard --- package/libmodplug/libmodplug.hash | 2 +- package/libmodplug/libmodplug.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libmodplug/libmodplug.hash b/package/libmodplug/libmodplug.hash index 01ff71014c..8aaf500a3a 100644 --- a/package/libmodplug/libmodplug.hash +++ b/package/libmodplug/libmodplug.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed.tar.gz +sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed0020bc620a059d3675d1854b40bd2608d.tar.gz sha256 49942e7b3b175f549e751feb08b5270ca6f6c5fb7a1be9f9517db275ec32c92e COPYING diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk index 735d0e704d..c5d2463fdb 100644 --- a/package/libmodplug/libmodplug.mk +++ b/package/libmodplug/libmodplug.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMODPLUG_VERSION = d1b97ed +LIBMODPLUG_VERSION = d1b97ed0020bc620a059d3675d1854b40bd2608d LIBMODPLUG_SITE = $(call github,Konstanty,libmodplug,$(LIBMODPLUG_VERSION)) LIBMODPLUG_INSTALL_STAGING = YES LIBMODPLUG_LICENSE = Public Domain From peter at korsgaard.com Fri Oct 13 15:02:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:02:14 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libmodplug: add a patch fixing cctype UB Message-ID: <20231013150556.19256847EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ebe613d115e816136e8eef893d97f8ea4c4994c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x libmodplug calls `cctype` functions, such as `isspace`, with negative values. This is undefined behaviour. While glibc allows it, it crashes on uClibc compiled without `UCLIBC_HAS_CTYPE_SIGNED`. Adds a patch that resolves the issue. Also sent upstream. However, the library author has not merged any pull request for about a year. Signed-off-by: Gleb Mazovetskiy [yann.morin.1998 at free.fr: - add Gleb's SoB to the patch - add upstream URL to the patch ] Signed-off-by: Yann E. MORIN (cherry picked from commit 33d0a13c3b7b86cbbff3dddb4c39ad41cae1c1c0) Signed-off-by: Peter Korsgaard --- package/libmodplug/0001-fix-cctype-ub.patch | 957 ++++++++++++++++++++++++++++ 1 file changed, 957 insertions(+) diff --git a/package/libmodplug/0001-fix-cctype-ub.patch b/package/libmodplug/0001-fix-cctype-ub.patch new file mode 100644 index 0000000000..c75919b6a8 --- /dev/null +++ b/package/libmodplug/0001-fix-cctype-ub.patch @@ -0,0 +1,957 @@ +From dc6d5994b4912cb00d0d183b400edfd656d6530c Mon Sep 17 00:00:00 2001 +From: Gleb Mazovetskiy +Date: Wed, 21 Dec 2022 11:44:27 +0000 +Subject: [PATCH] Fix UB when calling cctype functions + +Calling cctype functions, such as isspace, with negative values +is undefined behaviour. + +While glibc allows it, it crashes on uClibc compiled without +`UCLIBC_HAS_CTYPE_SIGNED`. + +Fixes the undefined behaviour by casting all arguments to +cctype functions to `unsigned char`. + +Upstream: https://github.com/Konstanty/libmodplug/pull/92 +Signed-off-by: Gleb Mazovetskiy +--- + src/load_abc.cpp | 284 +++++++++++++++++++++++------------------------ + src/load_mid.cpp | 2 +- + src/load_pat.cpp | 30 ++--- + 3 files changed, 158 insertions(+), 158 deletions(-) + +diff --git a/src/load_abc.cpp b/src/load_abc.cpp +index b45f972f..8444bd87 100644 +--- a/src/load_abc.cpp ++++ b/src/load_abc.cpp +@@ -260,13 +260,13 @@ static uint32_t abc_pattracktime(ABCHANDLE *h, uint32_t tracktime); + static int abc_patno(ABCHANDLE *h, uint32_t tracktime); + + +-static int abc_isvalidchar(char c) { ++static int abc_isvalidchar(unsigned char c) { + return(isalpha(c) || isdigit(c) || isspace(c) || c == '%' || c == ':'); + } + #if 0 + static const char *abc_skipspace(const char *p) + { +- while (*p && isspace(*p)) ++ while (*p && isspace(static_cast(*p))) + p++; + return p; + } +@@ -275,7 +275,7 @@ static const char *abc_skipspace(const char *p) + static void abc_extractkeyvalue(char *key, size_t key_max, + char *value, size_t value_max, const char *src) + { +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t key_size; +@@ -286,17 +286,17 @@ static void abc_extractkeyvalue(char *key, size_t key_max, + } + key[key_size++] = *src++; + } +- while (key_size > 0 && isspace(key[key_size - 1])) ++ while (key_size > 0 && isspace(static_cast(key[key_size - 1]))) + key_size--; + key[key_size] = '\0'; + +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t value_size; + for (value_size = 0; value_size < value_max - 1 && *src;) + value[value_size++] = *src++; +- while (value_size > 0 && isspace(value[value_size - 1])) ++ while (value_size > 0 && isspace(static_cast(value[value_size - 1]))) + value_size--; + value[value_size] = '\0'; + +@@ -359,7 +359,7 @@ static void abc_dumptracks(ABCHANDLE *h, const char *p) + nn[0] = "CCCDDEFFGGAABccddeffggaabb"[e->par[chordnote]]; + nn[1] = "b # # # # # # # # # # #"[e->par[chordnote]]; + nn[2] = '\0'; +- if( isspace(nn[1]) ) nn[1] = '\0'; ++ if( isspace(static_cast(nn[1])) ) nn[1] = '\0'; + printf("CMD %c: gchord %s%s", + (char)(e->cmd), nn, chordname[e->par[chordnum]]); + if( e->par[chordbase] != e->par[chordnote] ) { +@@ -557,7 +557,7 @@ static void abc_new_umacro(ABCHANDLE *h, const char *m) + ABCMACRO *retval, *mp; + char key[256], value[256]; + abc_extractkeyvalue(key, sizeof(key), value, sizeof(value), m); +- if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(key[0])) == 0 ) return; ++ if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(static_cast(key[0]))) == 0 ) return; + while( char *q = strchr(key, '!') ) + *q = '+'; // translate oldstyle to newstyle + if( !strcmp(key,"+nil+") ) { // delete a macro +@@ -823,7 +823,7 @@ static ABCTRACK *abc_locate_track(ABCHANDLE *h, const char *voice, int pos) + char vc[21]; + int i, trans=0, voiceno=0, instrno = 1, channo = 0; + for( ; *voice == ' '; voice++ ) ; // skip leading spaces +- for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(*voice); voice++ ) // can work with inline voice instructions ++ for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(static_cast(*voice)); voice++ ) // can work with inline voice instructions + vc[i++] = *voice; + vc[i] = '\0'; + prev = NULL; +@@ -1250,32 +1250,32 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + switch(ch) { + case '^': + if( p[0] == '^' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'x'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '_': + if( p[0] == '_' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'b'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '=': +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + break; + default: +- n = ch; ++ n = static_cast(ch); + i = 0; + break; + } +@@ -1332,7 +1332,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + else + d[note] = 0; // someone has doen ^X3 or something like it... +- while( p[i] && strchr(",'",p[i]) ) { ++ while( p[i] && strchr(",'",static_cast(p[i])) ) { + if( p[i]==',' ) oct--; + else oct++; + i++; +@@ -1381,7 +1381,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + } + tp->tienote->tiednote = 1; // mark him for the pattern writers +- for( j=i; isdigit(p[j]) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too ++ for( j=i; isdigit(static_cast(p[j])) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too + if( p[j] != '-' ) // is this note tied too? + tp->tienote = NULL; // if not the tie ends here... + return i; +@@ -1603,7 +1603,7 @@ static int abc_getnumber(const char *p, int *number) + int i,h; + i = 0; + h = 0; +- while( isdigit(p[i]) ) { ++ while( isdigit(static_cast(p[i])) ) { + if (i < 9) + h = 10 * h + p[i] - '0'; + i++; +@@ -1619,7 +1619,7 @@ static int abc_getexpr(const char *p, int *number) + { + int i, term, total; + i = 0; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + if( p[i] == '(' ) { + i += abc_getexpr(p+i+1, number); +@@ -1628,12 +1628,12 @@ static int abc_getexpr(const char *p, int *number) + return i; + } + i += abc_getnumber(p+i, &total); +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + while( p[i] == '+' ) { + i += 1 + abc_getexpr(p+i+1, &term); + total += term; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + } + *number = total; +@@ -1649,7 +1649,7 @@ static int abc_notelen(const char *p, int *len, int *div) + h *= 2; + i++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + h /= 2; + i += abc_getnumber(p+i,&k); + } +@@ -1738,7 +1738,7 @@ static int abc_extract_tempo(const char *p, int invoice) + case '=': + break; + default: +- if( isdigit(*q) ) { ++ if( isdigit(static_cast(*q)) ) { + if( state ) { + q+=abc_getnumber(q,&nd1)-1; + state = 0; +@@ -1812,10 +1812,10 @@ static void abc_set_parts(char **d, char *p) + j=0; + k=0; + for( i=0; p[i] && p[i] != '%'; i++ ) { +- if( isupper(p[i]) ) { ++ if( isupper(static_cast(p[i])) ) { + j++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n=abc_getnumber(p+i, &k); + if( k == 0 ) + k = 1; +@@ -1833,7 +1833,7 @@ static void abc_set_parts(char **d, char *p) + // now copy bytes from p to *d, taking parens and digits in account + j = 0; + for( i=0; p[i] && p[i] != '%' && j < size && i < (int)size; i++ ) { +- if( isdigit(p[i]) || isupper(p[i]) || p[i] == '(' || p[i] == ')' ) { ++ if( isdigit(static_cast(p[i])) || isupper(static_cast(p[i])) || p[i] == '(' || p[i] == ')' ) { + if( p[i] == ')' ) { + for( n=j; n > 0 && q[n-1] != '('; n-- ) ; // find open paren in q + // q[n+1] to q[j] contains the substring that must be repeated +@@ -1856,7 +1856,7 @@ static void abc_set_parts(char **d, char *p) + } + continue; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n = abc_getnumber(p+i,&k); + i += n - 1; + // if nothing is ready to 'repeat', skip it. +@@ -2243,7 +2243,7 @@ static void abc_preprocess(ABCHANDLE *h, ABCMACRO *m) + char *p = s; + for( j=0; jsubst[j]; +- if( a > 'g' && islower(a) ) { ++ if( a > 'g' && islower(static_cast(a)) ) { + b = a - 'n'; + a = "CDEFGABCDEFGABcdefgabcdefgabcdefgab"[i+b+7]; + *p++ = a; +@@ -2339,11 +2339,11 @@ BOOL CSoundFile::TestABC(const BYTE *lpStream, DWORD dwMemLength) + } + if(id[0]=='K' + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) return 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) return 1; + // disable binary error if have any "tag" + if((id[0]>='A' && id[0]<='Z') + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) hasText = 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) hasText = 1; + } + return 0; + } +@@ -2367,7 +2367,7 @@ static ABCHANDLE *ABC_Init(void) + retval->barticks = 0; + p = getenv(ABC_ENV_NORANDOMPICK); + if( p ) { +- if( isdigit(*p) ) ++ if( isdigit(static_cast(*p)) ) + retval->pickrandom = atoi(p); + if( *p == '-' ) { + retval->pickrandom = atoi(p+1)-1; // xmms preloads the file +@@ -2652,12 +2652,12 @@ static int ABC_Key(const char *p) + int i,j; + char c[8]; + const char *q; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + q = p; + memset(c, 0, 8); + for( i=0; i<8 && *p && *p != ']'; p++ ) { +- if( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ if( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if( strncasecmp(p, "min", 3) && strncasecmp(p, "maj", 3) ) + break; + } +@@ -2687,9 +2687,9 @@ static int ABC_Key(const char *p) + + static char *abc_skip_word(char *p) + { +- while( isspace(*p) ) p++; +- while( *p && !isspace(*p) && *p != ']') p++; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; ++ while( *p && !isspace(static_cast(*p)) && *p != ']') p++; ++ while( isspace(static_cast(*p)) ) p++; + return p; + } + +@@ -2798,7 +2798,7 @@ static void abc_setup_chordnames() + static int abc_MIDI_getnumber(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 0 ) n = 0; + if( n > 127 ) n = 127; +@@ -2808,7 +2808,7 @@ static int abc_MIDI_getnumber(const char *p) + static int abc_MIDI_getprog(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 1 ) n = 1; + if( n > 128 ) n = 128; +@@ -2819,32 +2819,32 @@ static int abc_MIDI_getprog(const char *p) + static void abc_MIDI_drone(const char *p, int *gm, int *ptch, int *vol) + { + int i; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + i++; // adjust for 1..128 + if( i>0 && i < 129 ) + *gm = i; + else + *gm = 71; // bassoon +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[0] = i; + else + ptch[0] = 45; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[1] = i; + else + ptch[1] = 33; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[0] = i; + else + vol[0] = 80; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[1] = i; +@@ -2869,8 +2869,8 @@ static void abc_MIDI_channel(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); + if( i2 >= 1 && i2 <= 16 ) + abc_chan_to_tracks(h, i1, i2); // we start at 1 +@@ -2894,11 +2894,11 @@ static void abc_MIDI_program(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + i1 = i2; + abc_getnumber(p, &i2); + } +@@ -2919,25 +2919,25 @@ static void abc_mute_voice(ABCHANDLE *h, ABCTRACK *tp, int m) + static void abc_MIDI_voice(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( strncmp(p,"instrument=",11) && strncmp(p,"mute",4) ) { + tp = abc_locate_track(h, p, 0); +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + i1 = tp? tp->vno: 1; + i2 = 0; +- if( !strncmp(p,"instrument=",11) && isdigit(p[11]) ) { ++ if( !strncmp(p,"instrument=",11) && isdigit(static_cast(p[11])) ) { + p += 11; + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"bank=",5) && isdigit(p[5]) ) { +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"bank=",5) && isdigit(static_cast(p[5])) ) { ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + } + if( tp ) abc_mute_voice(h,tp,0); +- if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(p[4])) ) { ++ if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(static_cast(p[4]))) ) { + if( tp ) abc_mute_voice(h,tp,1); + } + abc_instr_to_tracks(h, i1, i2); // starts already at 1 (draft 4.0) +@@ -2949,7 +2949,7 @@ static void abc_MIDI_chordname(const char *p) + char name[20]; + int i; + +- for(; *p && isspace(*p); p++) ++ for(; *p && isspace(static_cast(*p)); p++) + ; + i = 0; + while ((i < 19) && (*p != ' ') && (*p != '\0')) { +@@ -2965,8 +2965,8 @@ static void abc_MIDI_chordname(const char *p) + int notes[6]; + i = 0; + memset(notes, 0, sizeof(notes)); +- while ((i < 6) && isspace(*p)) { +- for(; *p && isspace(*p); p++) ++ while ((i < 6) && isspace(static_cast(*p))) { ++ for(; *p && isspace(static_cast(*p)); p++) + ; + p += abc_getnumber(p, ¬es[i]); + i = i + 1; +@@ -2981,21 +2981,21 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + { + char *q; + int i, n, m, len; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; + n = 0; len = 0; +- for( q = h->drum; *p && !isspace(*p); p++ ) { ++ for( q = h->drum; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("dz0123456789",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->drum)-1 ) { +- if( !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->drum)-1 ) { ++ if( !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + n++; // count the silences too.... + } + if (len >= (int)sizeof(h->drum)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3003,10 +3003,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumins; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3017,10 +3017,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumvol; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3036,17 +3036,17 @@ static int abc_MIDI_gchord(const char *p, ABCHANDLE *h) + { + char *q; + int len = 0; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; +- for( q = h->gchord; *p && !isspace(*p); p++ ) { ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; ++ for( q = h->gchord; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("fbcz0123456789ghijGHIJ",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->gchord)-1 && !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->gchord)-1 && !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + if (len >= (int)sizeof(h->gchord)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3099,7 +3099,7 @@ static void abc_metric_gchord(ABCHANDLE *h, int mlen, int mdiv) + + static void abc_MIDI_legato(const char *p, ABCTRACK *tp) + { +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"off",3) ) tp->legato = 0; + else tp->legato = 1; + } +@@ -3130,7 +3130,7 @@ static int abc_drum_steps(const char *dch) + const char *p; + int i=0; + for( p=dch; *p; p++ ) { +- if( isdigit(*p) ) i += *p - '0';; ++ if( isdigit(static_cast(*p)) ) i += *p - '0';; + } + return i; + } +@@ -3185,7 +3185,7 @@ static int abc_gchord_steps(const char *gch) + const char *p; + int i=0; + for( p=gch; *p; p++ ) +- if( isdigit(*p) ) i += *p - '0'; ++ if( isdigit(static_cast(*p)) ) i += *p - '0'; + return i; + } + +@@ -3231,7 +3231,7 @@ static void abc_add_gchord(ABCHANDLE *h, uint32_t tracktime, uint32_t bartime) + stime = (tracktime - etime) * steps; + rtime = 0; + while( rtime < stime ) { +- gnote = h->gchord[2*g]; ++ gnote = static_cast(h->gchord[2*g]); + glen = h->gchord[2*g+1] - '0'; + if( ++g == gsteps ) g = 0; + switch(gnote) { +@@ -3313,7 +3313,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + h->beat[2] = 110; + h->beat[3] = 1; + for( j=0; j<4; j++ ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( *p ) { + p += abc_getnumber(p, &i); + if( i < 0 ) i = 0; +@@ -3336,7 +3336,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + // %%MIDI beatstring fppmpmp + static void abc_MIDI_beatstring(ABCHANDLE *h, const char *p) + { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( h->beatstring ) _mm_free(h->allochandle, h->beatstring); + if( strlen(p) ) + h->beatstring = DupStr(h->allochandle,p,strlen(p)+1); +@@ -3483,47 +3483,47 @@ static void abc_recalculate_tracktime(ABCHANDLE *h) { + static void abc_MIDI_command(ABCHANDLE *h, char *p, char delim) { + int t; + // interpret some of the possibilitys +- if( !strncmp(p,"bassprog",8) && isspace(p[8]) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; +- if( !strncmp(p,"bassvol",7) && isspace(p[7]) ) h->abcbassvol = abc_MIDI_getnumber(p+7); +- if( !strncmp(p,"beat",4) && isspace(p[4]) ) abc_MIDI_beat(h, p+4); +- if( !strncmp(p,"beatstring",10) && isspace(p[10]) ) abc_MIDI_beatstring(h, p+4); +- if( !strncmp(p,"chordname",9) && isspace(p[9]) ) abc_MIDI_chordname(p+9); +- if( !strncmp(p,"chordprog",9) && isspace(p[9]) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; +- if( !strncmp(p,"chordvol",8) && isspace(p[8]) ) h->abcchordvol = abc_MIDI_getnumber(p+8); +- if( !strncmp(p,"drone",5) && isspace(p[5]) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); +- if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->droneon = 0; +- if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->droneon = 1; ++ if( !strncmp(p,"bassprog",8) && isspace(static_cast(p[8])) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; ++ if( !strncmp(p,"bassvol",7) && isspace(static_cast(p[7])) ) h->abcbassvol = abc_MIDI_getnumber(p+7); ++ if( !strncmp(p,"beat",4) && isspace(static_cast(p[4])) ) abc_MIDI_beat(h, p+4); ++ if( !strncmp(p,"beatstring",10) && isspace(static_cast(p[10])) ) abc_MIDI_beatstring(h, p+4); ++ if( !strncmp(p,"chordname",9) && isspace(static_cast(p[9])) ) abc_MIDI_chordname(p+9); ++ if( !strncmp(p,"chordprog",9) && isspace(static_cast(p[9])) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; ++ if( !strncmp(p,"chordvol",8) && isspace(static_cast(p[8])) ) h->abcchordvol = abc_MIDI_getnumber(p+8); ++ if( !strncmp(p,"drone",5) && isspace(static_cast(p[5])) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); ++ if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->droneon = 0; ++ if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->droneon = 1; + t = h->drumon; +- if( !strncmp(p,"drum",4) && isspace(p[4]) ) { ++ if( !strncmp(p,"drum",4) && isspace(static_cast(p[4])) ) { + h->drumon = abc_MIDI_drum(p+4, h); + if( h->drumon ) --h->drumon; + else h->drumon = t; + } +- if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->drumon = 0; +- if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) h->drumon = 1; ++ if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->drumon = 0; ++ if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) h->drumon = 1; + if( t != h->drumon ) { + if( h->drumon && !h->tpr ) h->tpr = h->track; + if( h->tpr ) abc_add_drum_sync(h, h->tpr, h->tracktime); // don't start drumming from the beginning of time! + if( h->tpr && !h->drumon ) h->tpr = NULL; + } + t = h->gchordon; +- if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) { ++ if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) { + h->gchordon = abc_MIDI_gchord(p+6, h); + if( h->gchordon ) --h->gchordon; + else h->gchordon = t; + } +- if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(p[9])) ) h->gchordon = 0; +- if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->gchordon = 1; ++ if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(static_cast(p[9]))) ) h->gchordon = 0; ++ if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->gchordon = 1; + if( t != h->gchordon ) { + if( h->tpc ) abc_add_gchord_syncs(h, h->tpc, h->tracktime); + } +- if( !strncmp(p,"channel",7) && isspace(p[7]) ) ++ if( !strncmp(p,"channel",7) && isspace(static_cast(p[7])) ) + abc_MIDI_channel(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"program",7) && isspace(p[7]) ) ++ if( !strncmp(p,"program",7) && isspace(static_cast(p[7])) ) + abc_MIDI_program(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"voice",5) && isspace(p[5]) ) ++ if( !strncmp(p,"voice",5) && isspace(static_cast(p[5])) ) + abc_MIDI_voice(p+6, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) ++ if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) + abc_MIDI_legato(p+6, h->tp = abc_check_track(h, h->tp)); + } + +@@ -3548,13 +3548,13 @@ static char *abc_continuated(ABCHANDLE *h, MMFILE *mmf, char *p) { + abc_message("line not properly continued\n%s", p1); + return p1; + } +- while( *pm && isspace(*pm) ) ++pm; ++ while( *pm && isspace(static_cast(*pm)) ) ++pm; + if( !strncmp(pm,"%%",2) ) { +- for( p2 = pm+2; *p2 && isspace(*p2); p2++ ) ; +- if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(p2[4])) ) { +- for( p2+=5; *p2 && isspace(*p2); p2++ ) ; ++ for( p2 = pm+2; *p2 && isspace(static_cast(*p2)); p2++ ) ; ++ if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(static_cast(p2[4]))) ) { ++ for( p2+=5; *p2 && isspace(static_cast(*p2)); p2++ ) ; + if( *p2 == '=' ) +- for( p2+=1; *p2 && isspace(*p2); p2++ ) ; ++ for( p2+=1; *p2 && isspace(static_cast(*p2)); p2++ ) ; + abc_MIDI_command(h,p2,'%'); + } + continued = 1; +@@ -3685,7 +3685,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcxcount = 0; + mmfseek(mmfile,0,SEEK_SET); + while ((line=abc_gets(h, mmfile)) != NULL) { +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"X:",2) ) abcxcount++; + } + if( abcxcount == 0 ) +@@ -3699,7 +3699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + mmsp--; + while ((line=abc_gets(h, mmstack[mmsp])) != NULL) { + char blankline[3] = "% "; +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + switch(abcstate) { + case INSKIPFORX: + if( !strncmp(p,"X:",2) ) { +@@ -3711,7 +3711,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( !strncmp(p,"X:",2) ) { + abcstate = INHEAD; + memset(m_szNames[0], 0, 32); +- for( p+=2; isspace(*p); p++ ) ; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; + abcxnumber = atoi(p); + abchornpipe = 0; + h->droneon = 0; +@@ -3792,8 +3792,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"R:",2) ) { +- for( p+=2; isspace(*p); p++ ) ; +- if( !strncmp(p,"hornpipe",8) && (isspace(p[8]) || p[8]=='\0') ) abchornpipe = 1; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"hornpipe",8) && (isspace(static_cast(p[8])) || p[8]=='\0') ) abchornpipe = 1; + else abchornpipe = 0; + break; + } +@@ -3980,8 +3980,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + p[1]= '%'; + } + if( !strncmp(p,"%%",2) ) { +- for( p+=2; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"abc-include",11) && isspace(p[11]) ) { ++ for( p+=2; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"abc-include",11) && isspace(static_cast(p[11])) ) { + for( t=12; isspace(p[t]); t++ ) ; + if( p[t] ) { + mmsp++; +@@ -3998,10 +3998,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + else abc_message("failure: abc-include missing file name, %s", p); + } +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) && abcstate != INSKIPFORX ) { +- for( p+=5; *p && isspace(*p); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) && abcstate != INSKIPFORX ) { ++ for( p+=5; *p && isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p+=1; *p && isspace(*p); p++ ) ; ++ for( p+=1; *p && isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h,p,'%'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4034,7 +4034,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication + while( p[2]==' ' || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4073,7 +4073,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + ch0 = ' '; + pp = 0; + while (*p && (ch = *p++) != '\0') { +- if( !pp && isalpha(ch) && *p != ':' ) { // maybe a macro ++ if( !pp && isalpha(static_cast(ch)) && *p != ':' ) { // maybe a macro + for( mp=h->umacro; mp; mp=mp->next ) { + if( ch == mp->name[0] ) { + pp = p; +@@ -4131,8 +4131,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + else + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication +- while( isspace(p[2]) || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ while( isspace(static_cast(p[2])) || p[2]=='.' ) p++; // skip blancs and dots ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4152,11 +4152,11 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"I:",2) ) { // interpret some of the possibilitys +- for( p += 2; isspace(*p); p++ ) ; +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) ) { // interpret some of the possibilitys +- for( p += 4; isspace(*p); p++ ) ; ++ for( p += 2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) ) { // interpret some of the possibilitys ++ for( p += 4; isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p += 1; isspace(*p); p++ ) ; ++ for( p += 1; isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h, p, ']'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4235,7 +4235,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + notelen *= cnotelen; + notediv *= cnotediv; + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4278,7 +4278,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( abceffoper != 255 ) abceffect = none; + break; + } +- if( isdigit(*p) ) { // different endings in repeats [i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats [i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4304,7 +4304,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + case '(': // slurs follow or some tuplet (duplet, triplet etc.) + abcto = 0; +- if( isdigit(*p) ) { ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p,&tupletp); + tupletr = tupletp; // ABC draft 2.0 (4.13): if r is not given it defaults to p + switch( tupletp ) { // ABC draft 2.0 (4.13): q defaults depending on p and time signature +@@ -4323,10 +4323,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletq); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletq); + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletr); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletr); + } + } + } +@@ -4375,7 +4375,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + sprintf(barsig, "%s%s", sig[abckey], sig[abckey]); // reset the key signature + bartime = h->tracktime; + if( h->tp && h->tp->vpos ) h->tp = abc_locate_track(h, h->tp->v, 0); // reset from voice overlay +- if( isdigit(*p) ) { // different endings in repeats |i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats |i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4426,7 +4426,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + break; + case '"': // chord notation +- if( !strchr("_^<>@", *p) && !isdigit(*p) ) { // if it's not a annotation string ++ if( !strchr("_^<>@", *p) && !isdigit(static_cast(*p)) ) { // if it's not a annotation string + h->tp = abc_check_track(h, h->tp); + if( !h->tpc ) h->tpc = abc_locate_track(h, h->tp->v, 0); + if( h->tp == h->tpc ) abc_add_chord(p, h, h->tpc, h->tracktime); // only do chords for one voice +@@ -4443,8 +4443,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcto = -1; + } + else +- if( !isspace(*p) ) abcto = 0; +- if( !strncasecmp(p,"to",2) && (isspace(p[2]) || p[2] == '"') ) abcto = 1; ++ if( !isspace(static_cast(*p)) ) abcto = 0; ++ if( !strncasecmp(p,"to",2) && (isspace(static_cast(p[2])) || p[2] == '"') ) abcto = 1; + } + if( !ch ) abcstate = INSKIPFORQUOTE; + break; +@@ -4665,7 +4665,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + h->tp->tienote = h->tp->tail; + } + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4699,7 +4699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abc_track_clear_tiednote(h); + p += abc_notelen(p, ¬elen, ¬ediv); + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4752,7 +4752,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcarpeggio = 0; + break; + } +- if( isalpha(ch) && *p==':' ) { ++ if( isalpha(static_cast(ch)) && *p==':' ) { + // some unprocessed field line? + while( *p ) p++; // skip it + break; +diff --git a/src/load_mid.cpp b/src/load_mid.cpp +index fe02f5e4..749b5d0c 100644 +--- a/src/load_mid.cpp ++++ b/src/load_mid.cpp +@@ -1198,7 +1198,7 @@ BOOL CSoundFile::ReadMID(const BYTE *lpStream, DWORD dwMemLength) + if (h->miditracks == 0) goto ErrorCleanup; + + p = (BYTE *)getenv(ENV_MMMID_SPEED); +- if( p && isdigit(*p) && p[0] != '0' && p[1] == '\0' ) { ++ if( p && isdigit(static_cast(*p)) && p[0] != '0' && p[1] == '\0' ) { + // transform speed + t = *p - '0'; + h->speed *= t; +diff --git a/src/load_pat.cpp b/src/load_pat.cpp +index fe787311..dfa640e5 100644 +--- a/src/load_pat.cpp ++++ b/src/load_pat.cpp +@@ -392,31 +392,31 @@ void pat_init_patnames(void) + _mm_fgets(mmcfg, line, PATH_MAX); + while( !_mm_feof(mmcfg) ) { + p = line; +- while ( isspace(*p) ) p ++; +- if( isdigit(p[0]) ) { ++ while ( isspace(static_cast(*p)) ) p ++; ++ if( isdigit(static_cast(p[0])) ) { + // get pat number + i = atoi(p); +- while ( isdigit(*p) ) p ++; +- while ( isspace(*p) ) p ++; ++ while ( isdigit(static_cast(*p)) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + // get pat file name + if( *p && i < MAXSMP && i >= 0 && *p != '#' ) { + q = isdrumset ? midipat[pat_gm_drumnr(i)-1] : midipat[i]; + pfnlen = 0; +- while( *p && !isspace(*p) && *p != '#' && pfnlen < 128 ) { ++ while( *p && !isspace(static_cast(*p)) && *p != '#' && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isblank(*p) && *(p+1) != '#' && pfnlen < 128 ) { ++ if( isblank(static_cast(*p)) && *(p+1) != '#' && pfnlen < 128 ) { + *q++ = ':'; pfnlen ++; +- while( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if ( *p == '#' ) { // comment + +- } else while( *p && !isspace(*p) && pfnlen < 128 ) { ++ } else while( *p && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isspace(*p) ) { *q++ = ' '; pfnlen++; } ++ if( isspace(static_cast(*p)) ) { *q++ = ' '; pfnlen++; } + } + } + *q++ = '\0'; +@@ -429,11 +429,11 @@ void pat_init_patnames(void) + } + else if( !strncmp(p,"dir",3) ) { + p += 3; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + q = p + strlen(p); + if(q > p) { + --q; +- while ( q > p && isspace(*q) ) *(q--) = 0; ++ while ( q > p && isspace(static_cast(*q)) ) *(q--) = 0; + strncpy(pathforpat, p, PATH_MAX - 1); + pathforpat[PATH_MAX - 1] = 0; + } +@@ -441,9 +441,9 @@ void pat_init_patnames(void) + else if( !strncmp(p,"source",6) && nsources < 5 ) { + q = cfgsources[nsources]; + p += 6; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + pfnlen = 0; +- while ( *p && *p != '#' && !isspace(*p) && pfnlen < 128 ) { ++ while ( *p && *p != '#' && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +@@ -857,7 +857,7 @@ static void PAT_ReadPatterns(MODCOMMAND *pattern[], WORD psize[], PATHANDLE *h, + i = tt2 - 16 * ((h->samples - 1 - ch) & 3); + if( tt1 < i ) { + t = t % 64; +- if( isalpha(tune[t]) ) { ++ if( isalpha(static_cast(tune[t])) ) { + n = pat_modnote(pat_note(tune[t])); + ins = ch + 1; + vol = 40; From peter at korsgaard.com Fri Oct 13 15:15:03 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:15:03 +0200 Subject: [Buildroot] [PATCH] package/gptfdisk: fix bug with util-linux (libuuid) 2.38 In-Reply-To: <20231001231123.58838dcb@windsurf> (Thomas Petazzoni via buildroot's message of "Sun, 1 Oct 2023 23:11:23 +0200") References: <20230913212000.987236-2-ben.wolsieffer@hefring.com> <20231001231123.58838dcb@windsurf> Message-ID: <87y1g6366g.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > On Wed, 13 Sep 2023 17:20:01 -0400 > Ben Wolsieffer wrote: >> Fix the following error message by backporting an upstream patch [0]: >> >> Warning! Unable to generate a proper UUID! Creating an improper one as a last >> resort! Windows 7 may crash if you save this partition table! >> >> Additionally, now that gptfdisk uses libuuid again, the build fails >> because passing LIBS to make overrides the default value in the >> Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. >> >> [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f >> >> Signed-off-by: Ben Wolsieffer >> --- >> ...to-deal-with-minor-change-in-libuuid.patch | 40 +++++++++++++++++++ >> package/gptfdisk/gptfdisk.mk | 2 + >> 2 files changed, 42 insertions(+) >> create mode 100644 package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch > Sorry for the delay, I have applied this patch after improving the > commit log: > https://gitlab.com/buildroot.org/buildroot/-/commit/58fbfe870640cf20678d4f6a40999ea5223c6fca > Best regards, Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:15:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:15:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/sslh: add SSLH_CPE_ID_VENDOR In-Reply-To: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 18:56:01 +0200") References: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> Message-ID: <87ttqu365j.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: > https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:16:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:16:49 +0200 Subject: [Buildroot] [PATCH v2] package/wilc-driver: fix build failure with Linux 6.3+ In-Reply-To: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> (Giulio Benetti's message of "Sun, 1 Oct 2023 21:01:01 +0200") References: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> Message-ID: <87pm1i363i.fsf@48ers.dk> >>>>> "Giulio" == Giulio Benetti writes: > Add local patches pending upstream to fix build failure on Linux 6.3+ > Fixes: > http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f > Signed-off-by: Giulio Benetti Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:17:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:17:46 +0200 Subject: [Buildroot] [PATCH] package/netsnmp: security bump to version 5.9.4 In-Reply-To: <20231001190639.1391551-2-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 21:06:39 +0200") References: <20231001190639.1391551-2-dalang@gmx.at> Message-ID: <87lec6361x.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c > in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can > be used by a remote attacker (who has write access) to cause the > instance to crash via a crafted UDP packet, resulting in Denial of > Service. > CVE-2022-44793 handle_ipv6IpForwarding in > agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a > NULL Pointer Exception bug that can be used by a remote attacker to > cause the instance to crash via a crafted UDP packet, resulting in > Denial of Service. > The pgp key was changed [0] as the old one expired [1]. > [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ > [1]: https://github.com/net-snmp/net-snmp/issues/595 > Signed-off-by: Daniel Lang Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:18:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:18:44 +0200 Subject: [Buildroot] [PATCH] package/efl: bump to version 1.26.3 In-Reply-To: <20231001180437.1274555-2-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 20:04:37 +0200") References: <20231001180437.1274555-2-dalang@gmx.at> Message-ID: <87h6mu360b.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > This is a bug-fix release. > See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 > Signed-off-by: Daniel Lang Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:15:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:15:24 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/sslh: add SSLH_CPE_ID_VENDOR Message-ID: <20231013152133.D6EFC848AE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9401df198985d871a9b594a810d01be0f3e4c36e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5fcd2ef29d2f6e782b9bd5928e2e835daf627ae8) Signed-off-by: Peter Korsgaard --- package/sslh/sslh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk index 897b3b6505..6ef7cda1a9 100644 --- a/package/sslh/sslh.mk +++ b/package/sslh/sslh.mk @@ -9,6 +9,7 @@ SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz SSLH_SITE = http://www.rutschle.net/tech/sslh SSLH_LICENSE = GPL-2.0+ SSLH_LICENSE_FILES = COPYING +SSLH_CPE_ID_VENDOR = sslh_project SSLH_DEPENDENCIES = pcre2 SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" From peter at korsgaard.com Fri Oct 13 15:16:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:16:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/wilc-driver: fix build failure with Linux 6.3+ Message-ID: <20231013152133.EDC16848BF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e31a049bbc74d59cc39554a7d02fd9a152354cdb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Add local patches pending upstream to fix build failure on Linux 6.3+ Fixes: http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f Signed-off-by: Giulio Benetti Signed-off-by: Peter Korsgaard (cherry picked from commit c495aab88390767a217f6a0fc22008ff1aafc114) Signed-off-by: Peter Korsgaard --- package/wilc-driver/0006-Support-Linux-6.3.patch | 43 ++++++++++++++++++++++++ package/wilc-driver/0007-Support-Linux-6.4.patch | 36 ++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/package/wilc-driver/0006-Support-Linux-6.3.patch b/package/wilc-driver/0006-Support-Linux-6.3.patch new file mode 100644 index 0000000000..f5a92027da --- /dev/null +++ b/package/wilc-driver/0006-Support-Linux-6.3.patch @@ -0,0 +1,43 @@ +From 14b5eccf4145e7a5afc8bc65a15f26ac691f98d8 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 10:54:18 +0200 +Subject: [PATCH] Support Linux 6.3 + +With Linux 6.3 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=40fc56ee608cdb20022c225ac6f1e4b7ba63f8f1 +function of_get_named_gpio_flags() has been dropped but it was only a +wrapper to call of_get_named_gpio() if the flags passed was NULL and this +is the case. So let's use of_get_named_gpio() in place of +of_get_named_gpio_flags() since of_get_named_gpio() never changed +after its adding in Linux version 3.1. + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/4 + +Signed-off-by: Giulio Benetti +--- + power.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/power.c b/power.c +index 6c59e0b..6ab8d63 100644 +--- a/power.c ++++ b/power.c +@@ -25,13 +25,11 @@ int wilc_of_parse_power_pins(struct wilc *wilc) + const struct wilc_power_gpios *gpios = &default_gpios[0]; + int ret; + +- power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, +- NULL); ++ power->gpios.reset = of_get_named_gpio(of, "reset-gpios", 0); + if (!gpio_is_valid(power->gpios.reset)) + power->gpios.reset = gpios->reset; + +- power->gpios.chip_en = of_get_named_gpio_flags(of, "chip_en-gpios", 0, +- NULL); ++ power->gpios.chip_en = of_get_named_gpio(of, "chip_en-gpios", 0); + if (!gpio_is_valid(power->gpios.chip_en)) + power->gpios.chip_en = gpios->chip_en; + +-- +2.34.1 + diff --git a/package/wilc-driver/0007-Support-Linux-6.4.patch b/package/wilc-driver/0007-Support-Linux-6.4.patch new file mode 100644 index 0000000000..8339cc3cb6 --- /dev/null +++ b/package/wilc-driver/0007-Support-Linux-6.4.patch @@ -0,0 +1,36 @@ +From 94fc4594659494b8c5cbdf1a719aea4d66d3398d Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 11:20:50 +0200 +Subject: [PATCH] Support Linux 6.4 + +With Linux 6.4 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1aaba11da9aa7d7d6b52a74d45b31cac118295a1 +class_create() doesn't require first argument THIS_MODULE anymore so let's +drop first argument if Linux version >= 6.4 + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/5 + +Signed-off-by: Giulio Benetti +--- + bt.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/bt.c b/bt.c +index 48a5302..a752457 100644 +--- a/bt.c ++++ b/bt.c +@@ -135,7 +135,11 @@ static void wilc_bt_create_device(void) + ret = alloc_chrdev_region(&chc_dev_no, 0, 1, "atmel"); + if (ret < 0) + return; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) ++ chc_dev_class = class_create("atmel"); ++#else + chc_dev_class = class_create(THIS_MODULE, "atmel"); ++#endif + if (IS_ERR(chc_dev_class)) { + unregister_chrdev_region(chc_dev_no, 1); + return; +-- +2.34.1 + From peter at korsgaard.com Fri Oct 13 15:13:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:13:49 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gptfdisk: fix bug with util-linux 2.38 Message-ID: <20231013152133.BCF2F84898@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c6d2eba3d3cda999854afd60f14f4df925c7e1a4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Due to a change in util-linux (commit 10f5f79485964ab52272ebe79c3b0047b1f84d82, "libbuid: use _UL_LIBUUID_UUID_H to cover uuid.h"), gptfdisk no longer detects the availability of libuuid to generate UUIDs, causing the following message at runtime: Warning! Unable to generate a proper UUID! Creating an improper one as a last resort! Windows 7 may crash if you save this partition table! This issue exists since util-linux was bumped to version 2.38 in Buildroot ee978e853a6a4c9bb5ed661c1ae704e79f155a35 ("package/util-linux: bump version to 2.38"). This issue has been fixed in upstream gptfdisk, but the fix [0] is not yet in a new stable release, so we backport it. Additionally, now that gptfdisk uses libuuid again, the build fails because passing LDLIBS to make overrides the default value in the Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f Signed-off-by: Ben Wolsieffer Signed-off-by: Thomas Petazzoni (cherry picked from commit 58fbfe870640cf20678d4f6a40999ea5223c6fca) Signed-off-by: Peter Korsgaard --- ...d.cc-to-deal-with-minor-change-in-libuuid.patch | 41 ++++++++++++++++++++++ package/gptfdisk/gptfdisk.mk | 2 ++ 2 files changed, 43 insertions(+) diff --git a/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch new file mode 100644 index 0000000000..22c34ced6f --- /dev/null +++ b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch @@ -0,0 +1,41 @@ +From 6a8416cbd12d55f882bb751993b94f72d338d96f Mon Sep 17 00:00:00 2001 +From: Rod Smith +Date: Sat, 16 Apr 2022 09:32:04 -0400 +Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid + +Upstream: https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f +Signed-off-by: Ben Wolsieffer +--- + NEWS | 2 ++ + guid.cc | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/NEWS b/NEWS +index 9e153fd..9ec7e63 100644 +--- a/NEWS ++++ b/NEWS +@@ -6,6 +6,8 @@ + (commit 740, which is pre-release as I type; presumably version 1.19 and + later once released). + ++- Updated guid.cc to deal with minor change in libuuid. ++ + 1.0.9 (4/14/2022): + ------------------ + +diff --git a/guid.cc b/guid.cc +index 1e73ab7..d3e4fd5 100644 +--- a/guid.cc ++++ b/guid.cc +@@ -141,7 +141,7 @@ void GUIDData::Zero(void) { + void GUIDData::Randomize(void) { + int i, uuidGenerated = 0; + +-#ifdef _UUID_UUID_H ++#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H) + uuid_generate(uuidData); + ReverseBytes(&uuidData[0], 4); + ReverseBytes(&uuidData[4], 2); +-- +2.42.0 + diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index f3fc930202..393ea9469a 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -14,6 +14,8 @@ GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk GPTFDISK_DEPENDENCIES += util-linux +GPTFDISK_LDLIBS += -luuid + ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) GPTFDISK_DEPENDENCIES += host-pkgconf popt GPTFDISK_SGDISK_LDLIBS += `$(PKG_CONFIG_HOST_BINARY) --libs popt` From peter at korsgaard.com Fri Oct 13 15:18:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:18:33 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/efl: bump to version 1.26.3 Message-ID: <20231013152134.2BA53848AE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f2a2b833830e91a5d8f4ce7cc908038e637927b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x This is a bug-fix release. See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 6037f9387a108f2dfc0add56a07073ee96f5f240) Signed-off-by: Peter Korsgaard --- package/efl/efl.hash | 4 ++-- package/efl/efl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/efl/efl.hash b/package/efl/efl.hash index 8d50400eb7..72ff3199d0 100644 --- a/package/efl/efl.hash +++ b/package/efl/efl.hash @@ -1,5 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-efl-1.26.1 -sha256 86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642 efl-1.26.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 +sha256 d9f83aa0fd9334f44deeb4e4952dc0e5144683afac786feebce6030951617d15 efl-1.26.3.tar.xz sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING diff --git a/package/efl/efl.mk b/package/efl/efl.mk index d4a16475e5..29b3b1955a 100644 --- a/package/efl/efl.mk +++ b/package/efl/efl.mk @@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.26.1 +EFL_VERSION = 1.26.3 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = https://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT From peter at korsgaard.com Fri Oct 13 15:17:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:17:18 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/netsnmp: security bump to version 5.9.4 Message-ID: <20231013152134.0FF6A84898@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ddf9ad1065b11c387d9d43e00675c11425dbc51c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker (who has write access) to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. CVE-2022-44793 handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. The pgp key was changed [0] as the old one expired [1]. [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ [1]: https://github.com/net-snmp/net-snmp/issues/595 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 868603755c16296ae2a61845891edeafc36e48ca) Signed-off-by: Peter Korsgaard --- package/netsnmp/netsnmp.hash | 6 +++--- package/netsnmp/netsnmp.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash index e1e9d10898..7898941271 100644 --- a/package/netsnmp/netsnmp.hash +++ b/package/netsnmp/netsnmp.hash @@ -1,7 +1,7 @@ # Locally calculated after checking pgp signature at -# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3/net-snmp-5.9.3.tar.gz.asc -# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 -sha256 2097f29b7e1bf3f1300b4bae52fa2308d0bb8d5d3998dbe02f9462a413a2ef0a net-snmp-5.9.3.tar.gz +# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.tar.gz.asc +# using key 6E6718AEF1EB5C65C32D1B2A356BC0B552D53CAB +sha256 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 net-snmp-5.9.4.tar.gz # Hash for license file sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index 15bc318e36..ae85f2697f 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -4,7 +4,7 @@ # ################################################################################ -NETSNMP_VERSION = 5.9.3 +NETSNMP_VERSION = 5.9.4 NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz NETSNMP_LICENSE = Various BSD-like From peter at korsgaard.com Fri Oct 13 15:17:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:17:36 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/netsnmp: security bump to version 5.9.4 Message-ID: <20231013152517.349C784905@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=13fc9dcb34926e9b6310b23662920c55c96d83a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker (who has write access) to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. CVE-2022-44793 handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. The pgp key was changed [0] as the old one expired [1]. [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ [1]: https://github.com/net-snmp/net-snmp/issues/595 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 868603755c16296ae2a61845891edeafc36e48ca) Signed-off-by: Peter Korsgaard --- package/netsnmp/netsnmp.hash | 6 +++--- package/netsnmp/netsnmp.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash index e1e9d10898..7898941271 100644 --- a/package/netsnmp/netsnmp.hash +++ b/package/netsnmp/netsnmp.hash @@ -1,7 +1,7 @@ # Locally calculated after checking pgp signature at -# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3/net-snmp-5.9.3.tar.gz.asc -# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 -sha256 2097f29b7e1bf3f1300b4bae52fa2308d0bb8d5d3998dbe02f9462a413a2ef0a net-snmp-5.9.3.tar.gz +# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.tar.gz.asc +# using key 6E6718AEF1EB5C65C32D1B2A356BC0B552D53CAB +sha256 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 net-snmp-5.9.4.tar.gz # Hash for license file sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index 15bc318e36..ae85f2697f 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -4,7 +4,7 @@ # ################################################################################ -NETSNMP_VERSION = 5.9.3 +NETSNMP_VERSION = 5.9.4 NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz NETSNMP_LICENSE = Various BSD-like From peter at korsgaard.com Fri Oct 13 15:15:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:15:16 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/sslh: add SSLH_CPE_ID_VENDOR Message-ID: <20231013152517.2B92F848E6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=00855772b8b09e86fdc6c450259997a30dd16594 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5fcd2ef29d2f6e782b9bd5928e2e835daf627ae8) Signed-off-by: Peter Korsgaard --- package/sslh/sslh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk index 897b3b6505..6ef7cda1a9 100644 --- a/package/sslh/sslh.mk +++ b/package/sslh/sslh.mk @@ -9,6 +9,7 @@ SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz SSLH_SITE = http://www.rutschle.net/tech/sslh SSLH_LICENSE = GPL-2.0+ SSLH_LICENSE_FILES = COPYING +SSLH_CPE_ID_VENDOR = sslh_project SSLH_DEPENDENCIES = pcre2 SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" From peter at korsgaard.com Fri Oct 13 15:14:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:14:30 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gptfdisk: fix bug with util-linux 2.38 Message-ID: <20231013152517.22A88848E5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0aa03c6b9283f5a8bc302cc79e2712fafc18df10 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Due to a change in util-linux (commit 10f5f79485964ab52272ebe79c3b0047b1f84d82, "libbuid: use _UL_LIBUUID_UUID_H to cover uuid.h"), gptfdisk no longer detects the availability of libuuid to generate UUIDs, causing the following message at runtime: Warning! Unable to generate a proper UUID! Creating an improper one as a last resort! Windows 7 may crash if you save this partition table! This issue exists since util-linux was bumped to version 2.38 in Buildroot ee978e853a6a4c9bb5ed661c1ae704e79f155a35 ("package/util-linux: bump version to 2.38"). This issue has been fixed in upstream gptfdisk, but the fix [0] is not yet in a new stable release, so we backport it. Additionally, now that gptfdisk uses libuuid again, the build fails because passing LDLIBS to make overrides the default value in the Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f Signed-off-by: Ben Wolsieffer Signed-off-by: Thomas Petazzoni (cherry picked from commit 58fbfe870640cf20678d4f6a40999ea5223c6fca) Signed-off-by: Peter Korsgaard --- ...d.cc-to-deal-with-minor-change-in-libuuid.patch | 41 ++++++++++++++++++++++ package/gptfdisk/gptfdisk.mk | 2 ++ 2 files changed, 43 insertions(+) diff --git a/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch new file mode 100644 index 0000000000..22c34ced6f --- /dev/null +++ b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch @@ -0,0 +1,41 @@ +From 6a8416cbd12d55f882bb751993b94f72d338d96f Mon Sep 17 00:00:00 2001 +From: Rod Smith +Date: Sat, 16 Apr 2022 09:32:04 -0400 +Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid + +Upstream: https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f +Signed-off-by: Ben Wolsieffer +--- + NEWS | 2 ++ + guid.cc | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/NEWS b/NEWS +index 9e153fd..9ec7e63 100644 +--- a/NEWS ++++ b/NEWS +@@ -6,6 +6,8 @@ + (commit 740, which is pre-release as I type; presumably version 1.19 and + later once released). + ++- Updated guid.cc to deal with minor change in libuuid. ++ + 1.0.9 (4/14/2022): + ------------------ + +diff --git a/guid.cc b/guid.cc +index 1e73ab7..d3e4fd5 100644 +--- a/guid.cc ++++ b/guid.cc +@@ -141,7 +141,7 @@ void GUIDData::Zero(void) { + void GUIDData::Randomize(void) { + int i, uuidGenerated = 0; + +-#ifdef _UUID_UUID_H ++#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H) + uuid_generate(uuidData); + ReverseBytes(&uuidData[0], 4); + ReverseBytes(&uuidData[4], 2); +-- +2.42.0 + diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index f3fc930202..393ea9469a 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -14,6 +14,8 @@ GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk GPTFDISK_DEPENDENCIES += util-linux +GPTFDISK_LDLIBS += -luuid + ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) GPTFDISK_DEPENDENCIES += host-pkgconf popt GPTFDISK_SGDISK_LDLIBS += `$(PKG_CONFIG_HOST_BINARY) --libs popt` From peter at korsgaard.com Fri Oct 13 15:18:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:18:28 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/efl: bump to version 1.26.3 Message-ID: <20231013152517.3D66384906@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2ee81d616b7b74841e2cac6f7ea2aee4cff51321 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x This is a bug-fix release. See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 6037f9387a108f2dfc0add56a07073ee96f5f240) Signed-off-by: Peter Korsgaard --- package/efl/efl.hash | 4 ++-- package/efl/efl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/efl/efl.hash b/package/efl/efl.hash index 8d50400eb7..72ff3199d0 100644 --- a/package/efl/efl.hash +++ b/package/efl/efl.hash @@ -1,5 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-efl-1.26.1 -sha256 86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642 efl-1.26.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 +sha256 d9f83aa0fd9334f44deeb4e4952dc0e5144683afac786feebce6030951617d15 efl-1.26.3.tar.xz sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING diff --git a/package/efl/efl.mk b/package/efl/efl.mk index d4a16475e5..29b3b1955a 100644 --- a/package/efl/efl.mk +++ b/package/efl/efl.mk @@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.26.1 +EFL_VERSION = 1.26.3 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = https://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT From peter at korsgaard.com Fri Oct 13 15:41:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:41:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcodec2: bump version to 1.2.0 In-Reply-To: <20231003204654.GH2957@scaer> (Yann E. MORIN's message of "Tue, 3 Oct 2023 22:46:54 +0200") References: <20231003124336.2837869-1-bernd@kuhls.net> <20231003204654.GH2957@scaer> Message-ID: <87cyxi34xp.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > Bernd, All, > On 2023-10-03 14:43 +0200, Bernd Kuhls spake thusly: >> Release notes: https://github.com/drowe67/codec2/releases/tag/1.2.0 >> >> Signed-off-by: Bernd Kuhls >> --- >> package/libcodec2/libcodec2.hash | 2 +- >> package/libcodec2/libcodec2.mk | 4 ++-- >> 2 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/package/libcodec2/libcodec2.hash b/package/libcodec2/libcodec2.hash >> index edaa275bbc..828efa3e4d 100644 >> --- a/package/libcodec2/libcodec2.hash >> +++ b/package/libcodec2/libcodec2.hash >> @@ -1,3 +1,3 @@ >> # Locally computed >> -sha256 44015b071968d98ee326012c498db6a8308bed1a7a914ecb6d4d8e2a354a4611 libcodec2-1.1.1.tar.gz >> +sha256 cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449 libcodec2-1.2.0.tar.gz >> sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING >> diff --git a/package/libcodec2/libcodec2.mk b/package/libcodec2/libcodec2.mk >> index 295dd8983f..5fc190aefd 100644 >> --- a/package/libcodec2/libcodec2.mk >> +++ b/package/libcodec2/libcodec2.mk >> @@ -4,8 +4,8 @@ >> # >> ################################################################################ >> >> -LIBCODEC2_VERSION = 1.1.1 >> -LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) >> +LIBCODEC2_VERSION = 1.2.0 >> +LIBCODEC2_SITE = $(call github,drowe67,codec2,$(LIBCODEC2_VERSION)) > I was curious to see that they dopped the leading 'v' in front of tags, > so I had a look at the repository, and indeed the 1.2.0 tag has no > leading 'v'. > But surprisingly, *there is no other tag*! Even the v1.1.1 tag that we > were using so far is missing! > So I had a look, and stumbled on: > https://github.com/drowe67/codec2/issues/5 > Basically, the full history was rewritten for some reason, the old > repository has been moved to; > https://github.com/drowe67/codec2-dev/ > So, this is an important bit of information: we need to fix the existing > maintenance branches to refer to the old repository (or backport this > commit). How would we go about fixing the existing branches? Like the recent rockchip-mali fix showed (f7f2de3da7e1), changing the name to the repo also changes the tarball hash, but the filename stays the same. I think I will simply leave it as is so Buildroot falls back to s.b.o for now. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:42:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:42:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.1 In-Reply-To: <20231003071536.297478-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 09:15:36 +0200") References: <20231003071536.297478-1-bernd@kuhls.net> Message-ID: <878r8634w9.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: > https://exim.org/static/doc/security/CVE-2023-zdi.txt > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From gael.portay at rtone.fr Fri Oct 13 18:01:42 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 20:01:42 +0200 Subject: [Buildroot] [RFC PATCH 0/3] Add support for Pi5 Message-ID: <20231013180145.162565-1-gael.portay@rtone.fr> Hello world, This patch series starts the initial support for the Pi5 for both variants 32-bit and 64-bit. It compiles fine with an external toolchain, but the images are not tested on target yet as I do not own an hardware for now (crossed fingers to get it by the end of the month). The first patch bumps the package rpi-firmware to get the dtb overlays to the commit 7e9c2063fc15274fbc4dab1ca614f9228834d881[4]; that commit states "Add support for PI 5" and bumps the kernel files but it does **NOT** bump the files for VideoCore. It is not clear for now if the BCM2712/VC7 reuses the files from the BCM2711/VC6. I assume it does it for now. Therefore, that patch updates the comments of Pi4 variants for Pi5. If someone knows something about it, information is welcomed :) The second patch adds the defconfig for the Pi5 64-bit; it uses the raspberrypi kernel 6.1 up to commit[1]. The branch rpi-6.1 is the only one supporting the Pi5. It contains the defconfig bcm2712_defconfig[2] and the device-tree source bcm2712-rpi-5-b.dts[3]. The third patch is analogous to the first one but for supporting Pi5 32-bit. Question 1: should I bump all the Pi defconfigs to use the current stable downstream kernel 6.1? 5.10 is pretty old isn't it, is there any good reason to stay on that 22-month old release[5]? Question 2: if I am right, the device-tree overlays are taken from the rpi-firmware; is there a plan to compile the one from the downstream kernel sources instead? by tweaking the linux.mk maybe? For the curious, here are the differences between the BCM2711 and BCM2712 defconfigs (Pi4 and the Pi5): gportay at archlinux ~/src/linux-raspberrypi $ diff -Nurd arch/arm64/configs/bcm271* --- arch/arm64/configs/bcm2711_defconfig 2023-10-08 11:45:20.470238993 +0200 +++ arch/arm64/configs/bcm2712_defconfig 2023-10-08 11:45:20.470238993 +0200 @@ -1,4 +1,4 @@ -CONFIG_LOCALVERSION="-v8" +CONFIG_LOCALVERSION="-v8_16k" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y @@ -41,6 +41,7 @@ # CONFIG_CAVIUM_ERRATUM_22375 is not set # CONFIG_CAVIUM_ERRATUM_23154 is not set # CONFIG_CAVIUM_ERRATUM_27456 is not set +CONFIG_ARM64_16K_PAGES=y CONFIG_COMPAT=y CONFIG_ARMV8_DEPRECATED=y CONFIG_SWP_EMULATION=y @@ -65,6 +66,8 @@ CONFIG_VIRTUALIZATION=y CONFIG_KVM=y CONFIG_JUMP_LABEL=y +CONFIG_ARCH_MMAP_RND_BITS=18 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11 CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y The defconfig bcm2711_defconfig sets the following values for the CONFIG_ARCH_MMAP_RND_* configs: CONFIG_ARCH_MMAP_RND_BITS_MIN=18 CONFIG_ARCH_MMAP_RND_BITS_MAX=24 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 Here is a diff between the full .config: gportay at archlinux ~/src/linux-raspberrypi $ diff -Nurd output-bcm2711_defconfig/.config output-bcm2712_defconfig/.config --- output-bcm2711_defconfig/.config 2023-10-09 09:35:36.460206163 +0200 +++ output-bcm2712_defconfig/.config 2023-10-09 09:37:57.050577252 +0200 @@ -28,7 +28,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_COMPILE_TEST is not set # CONFIG_WERROR is not set -CONFIG_LOCALVERSION="-v8" +CONFIG_LOCALVERSION="-v8_16k" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_BUILD_SALT="" CONFIG_DEFAULT_INIT="" @@ -268,12 +268,12 @@ CONFIG_GCC_SUPPORTS_DYNAMIC_FTRACE_WITH_REGS=y CONFIG_64BIT=y CONFIG_MMU=y -CONFIG_ARM64_PAGE_SHIFT=12 -CONFIG_ARM64_CONT_PTE_SHIFT=4 -CONFIG_ARM64_CONT_PMD_SHIFT=4 -CONFIG_ARCH_MMAP_RND_BITS_MIN=18 -CONFIG_ARCH_MMAP_RND_BITS_MAX=24 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11 +CONFIG_ARM64_PAGE_SHIFT=14 +CONFIG_ARM64_CONT_PTE_SHIFT=7 +CONFIG_ARM64_CONT_PMD_SHIFT=5 +CONFIG_ARCH_MMAP_RND_BITS_MIN=16 +CONFIG_ARCH_MMAP_RND_BITS_MAX=30 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=9 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 CONFIG_STACKTRACE_SUPPORT=y CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 @@ -388,12 +388,13 @@ CONFIG_SOCIONEXT_SYNQUACER_PREITS=y # end of ARM errata workarounds via the alternatives framework -CONFIG_ARM64_4K_PAGES=y -# CONFIG_ARM64_16K_PAGES is not set +# CONFIG_ARM64_4K_PAGES is not set +CONFIG_ARM64_16K_PAGES=y # CONFIG_ARM64_64K_PAGES is not set -CONFIG_ARM64_VA_BITS_39=y +# CONFIG_ARM64_VA_BITS_36 is not set +CONFIG_ARM64_VA_BITS_47=y # CONFIG_ARM64_VA_BITS_48 is not set -CONFIG_ARM64_VA_BITS=39 +CONFIG_ARM64_VA_BITS=47 CONFIG_ARM64_PA_BITS_48=y CONFIG_ARM64_PA_BITS=48 # CONFIG_CPU_BIG_ENDIAN is not set @@ -417,7 +418,7 @@ # CONFIG_KEXEC_FILE is not set # CONFIG_CRASH_DUMP is not set # CONFIG_XEN is not set -CONFIG_ARCH_FORCE_MAX_ORDER=11 +CONFIG_ARCH_FORCE_MAX_ORDER=12 CONFIG_UNMAP_KERNEL_AT_EL0=y CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y @@ -865,7 +866,6 @@ CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y # CONFIG_MEMORY_FAILURE is not set -CONFIG_ARCH_WANTS_THP_SWAP=y # CONFIG_TRANSPARENT_HUGEPAGE is not set CONFIG_FRONTSWAP=y CONFIG_CMA=y [1]: https://github.com/raspberrypi/linux/commit/feb4ea51e77af09c1a4c7c3e5dd33237750f95cd [2]: https://github.com/raspberrypi/linux/commit/9cfb379147f803b0362b0fe249e5b145d232bea3 [3]: https://github.com/raspberrypi/linux/commit/1196bf1a7736ff0ab79f5012fa84082e298031a7 [4]: https://github.com/raspberrypi/firmware/commit/7e9c2063fc15274fbc4dab1ca614f9228834d881 [5]: https://github.com/raspberrypi/linux/commit/0b54dbda3cca2beb51e236a25738784e90853b64 Best Regards, Ga?l PORTAY (3): package/rpi-firmware: bump version for pi5 support configs: add raspberrypi 5 64-bit defconfig configs: add raspberrypi 5 32-bit defconfig board/raspberrypi/config_5.txt | 23 ++++++++++++++++ board/raspberrypi/config_5_64bit.txt | 30 ++++++++++++++++++++ board/raspberrypi/readme.txt | 2 ++ board/raspberrypi5 | 1 + board/raspberrypi5-64 | 1 + configs/raspberrypi5_64_defconfig | 38 ++++++++++++++++++++++++++ configs/raspberrypi5_defconfig | 38 ++++++++++++++++++++++++++ package/rpi-firmware/Config.in | 22 +++++++-------- package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 2 +- 10 files changed, 146 insertions(+), 13 deletions(-) create mode 100644 board/raspberrypi/config_5.txt create mode 100644 board/raspberrypi/config_5_64bit.txt create mode 120000 board/raspberrypi5 create mode 120000 board/raspberrypi5-64 create mode 100644 configs/raspberrypi5_64_defconfig create mode 100644 configs/raspberrypi5_defconfig -- 2.42.0 From gael.portay at rtone.fr Fri Oct 13 18:01:43 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 20:01:43 +0200 Subject: [Buildroot] [RFC PATCH 1/3] package/rpi-firmware: bump version for pi5 support In-Reply-To: <20231013180145.162565-1-gael.portay@rtone.fr> References: <20231013180145.162565-1-gael.portay@rtone.fr> Message-ID: <20231013180145.162565-2-gael.portay@rtone.fr> This bumps to 7e9c2063fc15274fbc4dab1ca614f9228834d881[1] that states "Add support for PI 5", and it updates the comments of Pi4 variants for Pi5. Note: That commit bumps the kernel files (images, modules, device-trees and device-tree overlays) but it does not bump the bootloader files for VC (start.elf, fixup.dat). This bump appears to not be really needed to bring the support for the Pi 5; it assumes the Pi5's VC7 uses the exact same files as the Pi4's VC6 (i.e. start4.elf, fixup4.dat, and cd, x and debug variants) at least for now. [1]: https://github.com/raspberrypi/firmware/commit/7e9c2063fc15274fbc4dab1ca614f9228834d881 Signed-off-by: Ga?l PORTAY --- package/rpi-firmware/Config.in | 22 +++++++++++----------- package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package/rpi-firmware/Config.in b/package/rpi-firmware/Config.in index a9aeaed745..90ad35fd3c 100644 --- a/package/rpi-firmware/Config.in +++ b/package/rpi-firmware/Config.in @@ -14,9 +14,9 @@ if BR2_PACKAGE_RPI_FIRMWARE config BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN bool "rpi 0/1/2/3 bootcode.bin" help - The bootcode.bin for versions Zero/1/2/3 (not needed on rpi4, - because it has been replaced by boot code in the onboard - EEPROM). + The bootcode.bin for versions Zero/1/2/3 (not needed on + rpi4/5, because it has been replaced by boot code in the + onboard EEPROM). config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI bool "rpi 0/1/2/3 (default)" @@ -41,27 +41,27 @@ config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_DB The debug set of files for versions Zero/1/2/3. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4 - bool "rpi 4 (default)" + bool "rpi 4/5 (default)" help - The default set of files for versions 4 (standard GPU + The default set of files for versions 4/5 (standard GPU features). config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X - bool "rpi 4 (extended)" + bool "rpi 4/5 (extended)" help - The extended set of files for versions 4 (additional GPU + The extended set of files for versions 4/5 (additional GPU features, eg. more audio/video codecs). config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_CD - bool "rpi 4 (cut-down)" + bool "rpi 4/5 (cut-down)" help - The cut-down set of files for versions 4 (only features + The cut-down set of files for versions 4/5 (only features required to boot a Linux kernel). config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_DB - bool "rpi 4 (debug)" + bool "rpi 4/5 (debug)" help - The debug set of files for versions 4. + The debug set of files for versions 4/5. config BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE string "Path to a file stored as boot/config.txt" diff --git a/package/rpi-firmware/rpi-firmware.hash b/package/rpi-firmware/rpi-firmware.hash index ec13115f3b..659613591d 100644 --- a/package/rpi-firmware/rpi-firmware.hash +++ b/package/rpi-firmware/rpi-firmware.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33aea2cb9c3be94c3dd6a96fbb3443eee5af1dc5fc9140e1fadc50832983064e rpi-firmware-3f20b832b27cd730deb6419b570f31a98167eef6.tar.gz +sha256 f3442fb80966faf1e28a32f9d9b91acb4b87c6ff33f0ced4179ec6ccbfa92c65 rpi-firmware-7e9c2063fc15274fbc4dab1ca614f9228834d881.tar.gz sha256 c7283ff51f863d93a275c66e3b4cb08021a5dd4d8c1e7acc47d872fbe52d3d6b boot/LICENCE.broadcom diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk index 53d6d8ca06..e765d0ea82 100644 --- a/package/rpi-firmware/rpi-firmware.mk +++ b/package/rpi-firmware/rpi-firmware.mk @@ -4,7 +4,7 @@ # ################################################################################ -RPI_FIRMWARE_VERSION = 3f20b832b27cd730deb6419b570f31a98167eef6 +RPI_FIRMWARE_VERSION = 7e9c2063fc15274fbc4dab1ca614f9228834d881 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) RPI_FIRMWARE_LICENSE = BSD-3-Clause RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom -- 2.42.0 From gael.portay at rtone.fr Fri Oct 13 18:01:44 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 20:01:44 +0200 Subject: [Buildroot] [RFC PATCH 2/3] configs: add raspberrypi 5 64-bit defconfig In-Reply-To: <20231013180145.162565-1-gael.portay@rtone.fr> References: <20231013180145.162565-1-gael.portay@rtone.fr> Message-ID: <20231013180145.162565-3-gael.portay@rtone.fr> This configuration builds a 64-bit image for RaspberryPi 5. Signed-off-by: Ga?l PORTAY --- board/raspberrypi/config_5_64bit.txt | 30 ++++++++++++++++++++++ board/raspberrypi/readme.txt | 1 + board/raspberrypi5-64 | 1 + configs/raspberrypi5_64_defconfig | 38 ++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 board/raspberrypi/config_5_64bit.txt create mode 120000 board/raspberrypi5-64 create mode 100644 configs/raspberrypi5_64_defconfig diff --git a/board/raspberrypi/config_5_64bit.txt b/board/raspberrypi/config_5_64bit.txt new file mode 100644 index 0000000000..0511f2c400 --- /dev/null +++ b/board/raspberrypi/config_5_64bit.txt @@ -0,0 +1,30 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start4.elf +fixup_file=fixup4.dat + +kernel=Image + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +dtoverlay=vc4-kms-v3d-pi5 +dtoverlay=imx219 +#dtoverlay=ov5647 + +# enable 64bits support +arm_64bit=1 diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt index c81fd801ae..f2af502251 100644 --- a/board/raspberrypi/readme.txt +++ b/board/raspberrypi/readme.txt @@ -90,6 +90,7 @@ After building, you should obtain this tree: +-- bcm2710-rpi-cm3.dtb [1] +-- bcm2711-rpi-4-b.dtb [1] +-- bcm2711-rpi-cm4.dtb [1] + +-- bcm2712-rpi-5-b.dtb [1] +-- bcm2837-rpi-3-b.dtb [1] +-- boot.vfat +-- rootfs.ext4 diff --git a/board/raspberrypi5-64 b/board/raspberrypi5-64 new file mode 120000 index 0000000000..fcdafc81ed --- /dev/null +++ b/board/raspberrypi5-64 @@ -0,0 +1 @@ +raspberrypi \ No newline at end of file diff --git a/configs/raspberrypi5_64_defconfig b/configs/raspberrypi5_64_defconfig new file mode 100644 index 0000000000..717082f215 --- /dev/null +++ b/configs/raspberrypi5_64_defconfig @@ -0,0 +1,38 @@ +BR2_aarch64=y +BR2_cortex_a76_a55=y +BR2_ARM_FPU_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2712" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2712-rpi-5-b" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi5-64/config_5_64bit.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi5-64/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi5-64/post-image.sh" -- 2.42.0 From gael.portay at rtone.fr Fri Oct 13 18:01:45 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 20:01:45 +0200 Subject: [Buildroot] [RFC PATCH 3/3] configs: add raspberrypi 5 32-bit defconfig In-Reply-To: <20231013180145.162565-1-gael.portay@rtone.fr> References: <20231013180145.162565-1-gael.portay@rtone.fr> Message-ID: <20231013180145.162565-4-gael.portay@rtone.fr> This configuration builds a 32-bit image for RaspberryPi 5. Note: It reuses the Pi4'S defconfig as there is no specific defconfig for BCM2712 on ARM 32-bit. On ARM 64-bit, the main difference is the BCM2712 uses 16k pages while the BC2711 uses 4k pages. See the difference below between the two ARM64 defconfigs: gportay at archlinux ~/src/linux-raspberrypi $ diff -Nurd arch/arm64/configs/bcm271* --- arch/arm64/configs/bcm2711_defconfig 2023-10-08 11:45:20.470238993 +0200 +++ arch/arm64/configs/bcm2712_defconfig 2023-10-08 11:45:20.470238993 +0200 @@ -1,4 +1,4 @@ -CONFIG_LOCALVERSION="-v8" +CONFIG_LOCALVERSION="-v8_16k" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y @@ -41,6 +41,7 @@ # CONFIG_CAVIUM_ERRATUM_22375 is not set # CONFIG_CAVIUM_ERRATUM_23154 is not set # CONFIG_CAVIUM_ERRATUM_27456 is not set +CONFIG_ARM64_16K_PAGES=y CONFIG_COMPAT=y CONFIG_ARMV8_DEPRECATED=y CONFIG_SWP_EMULATION=y @@ -65,6 +66,8 @@ CONFIG_VIRTUALIZATION=y CONFIG_KVM=y CONFIG_JUMP_LABEL=y +CONFIG_ARCH_MMAP_RND_BITS=18 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11 CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y Signed-off-by: Ga?l PORTAY --- board/raspberrypi/config_5.txt | 23 ++++++++++++++++++++ board/raspberrypi/readme.txt | 1 + board/raspberrypi5 | 1 + configs/raspberrypi5_defconfig | 38 ++++++++++++++++++++++++++++++++++ 4 files changed, 63 insertions(+) create mode 100644 board/raspberrypi/config_5.txt create mode 120000 board/raspberrypi5 create mode 100644 configs/raspberrypi5_defconfig diff --git a/board/raspberrypi/config_5.txt b/board/raspberrypi/config_5.txt new file mode 100644 index 0000000000..ac343250c8 --- /dev/null +++ b/board/raspberrypi/config_5.txt @@ -0,0 +1,23 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start4.elf +fixup_file=fixup4.dat + +kernel=zImage + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt index f2af502251..de93ad6772 100644 --- a/board/raspberrypi/readme.txt +++ b/board/raspberrypi/readme.txt @@ -102,6 +102,7 @@ After building, you should obtain this tree: | +-- fixup4.dat [1] | +-- start.elf [1] | +-- start4.elf [1] + | +-- start5.elf [1] | `-- overlays/ [2] +-- sdcard.img +-- Image [1] diff --git a/board/raspberrypi5 b/board/raspberrypi5 new file mode 120000 index 0000000000..fcdafc81ed --- /dev/null +++ b/board/raspberrypi5 @@ -0,0 +1 @@ +raspberrypi \ No newline at end of file diff --git a/configs/raspberrypi5_defconfig b/configs/raspberrypi5_defconfig new file mode 100644 index 0000000000..df00e035da --- /dev/null +++ b/configs/raspberrypi5_defconfig @@ -0,0 +1,38 @@ +BR2_arm=y +BR2_cortex_a76_a55=y +BR2_ARM_FPU_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2712-rpi-5-b" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI5=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi5/config_5.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi5/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi5/post-image.sh" -- 2.42.0 From peter at korsgaard.com Fri Oct 13 18:11:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:11:22 +0200 Subject: [Buildroot] [PATCH] package/mbedtls: bump to version 2.28.5 In-Reply-To: <20231007192225.3670096-1-francois.perrad@gadz.org> (Francois Perrad's message of "Sat, 7 Oct 2023 21:22:25 +0200") References: <20231007192225.3670096-1-francois.perrad@gadz.org> Message-ID: <874jiu2y0l.fsf@48ers.dk> >>>>> "Francois" == Francois Perrad writes: > Signed-off-by: Francois Perrad The release notes mentions that this is a security fix: https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2023-10-1/ So marked as such and committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:13:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:13:38 +0200 Subject: [Buildroot] [PATCH] package/libcurl: security bump to 8.4.0 In-Reply-To: <20231011073506.687039-1-sairon@sairon.cz> ("Jan =?utf-8?B?xIxlcm3DoWsiJ3M=?= message of "Wed, 11 Oct 2023 09:35:05 +0200") References: <20231011073506.687039-1-sairon@sairon.cz> Message-ID: <87zg0m1jcd.fsf@48ers.dk> >>>>> "Jan" == Jan ?erm?k writes: > Fixes following two vulnerabilities: > * CVE-2023-38545: SOCKS5 heap buffer overflow > https://curl.se/docs/CVE-2023-38545.html > * CVE-2023-38546: cookie injection with none file > https://curl.se/docs/CVE-2023-38546.html > Signed-off-by: Jan ?erm?k Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:15:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:15:32 +0200 Subject: [Buildroot] [PATCH] package/cups: add upstream security fix for CVE-2023-4504 In-Reply-To: <20231001142024.3959758-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 1 Oct 2023 16:20:24 +0200") References: <20231001142024.3959758-1-peter@korsgaard.com> Message-ID: <87v8ba1j97.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-4504: Postscript Parsing Heap Overflow > https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h > https://takeonme.org/cves/CVE-2023-4504.html > There is a 2.4.7 release with this fix, but upstream unfortunately broke > !gnutls builds, so backport the security fix instead: > https://github.com/OpenPrinting/cups/issues/762 > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:20:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:20:10 +0200 Subject: [Buildroot] [PATCH 01/12] package/gstreamer1: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 21:10:38 +0200") References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <87r0ly1j1h.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Signed-off-by: Peter Korsgaard Series committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:24:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:24:09 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series In-Reply-To: <20231007102850.1303053-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 7 Oct 2023 12:28:50 +0200") References: <20231007102850.1303053-1-bernd@kuhls.net> Message-ID: <87mswm1iuu.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x (except for the 6.5.x bump), thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:25:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:25:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: bump version to 3.11.6 In-Reply-To: <87wmvtb3d4.fsf@48ers.dk> (Peter Korsgaard's message of "Wed, 11 Oct 2023 17:11:51 +0200") References: <20231002200451.3445210-1-bernd@kuhls.net> <87wmvtb3d4.fsf@48ers.dk> Message-ID: <87il7a1itf.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Bernd" == Bernd Kuhls writes: >> Release notes: https://www.python.org/downloads/release/python-3116/ >> Signed-off-by: Bernd Kuhls > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:25:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:25:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireless-regdb: bump version to 2023.09.01 In-Reply-To: <87jzrtb3bc.fsf@48ers.dk> (Peter Korsgaard's message of "Wed, 11 Oct 2023 17:12:55 +0200") References: <20231003122406.2678498-1-bernd@kuhls.net> <87jzrtb3bc.fsf@48ers.dk> Message-ID: <87edhy1irx.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Bernd" == Bernd Kuhls writes: >> Signed-off-by: Bernd Kuhls > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:29:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:29:27 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series In-Reply-To: <20231011174620.52181-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:46:20 +0200") References: <20231011174620.52181-1-bernd@kuhls.net> Message-ID: <87a5sm1im0.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x (except for the 6.5.x bump), thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:44:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:44:02 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.3 In-Reply-To: <20231011114736.311388-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 11 Oct 2023 13:47:35 +0200") References: <20231011114736.311388-1-peter@korsgaard.com> Message-ID: <875y3a1hxp.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-39325: rapid stream resets can cause excessive work > A malicious HTTP/2 client which rapidly creates requests and immediately > resets them can cause excessive server resource consumption. While the > total number of requests is bounded to the http2.Server.MaxConcurrentStreams > setting, resetting an in-progress request allows the attacker to create a > new request while the existing one is still executing. > go1.21.3 (released 2023-10-10) includes a security fix to the net/http > package. > Signed-off-by: Peter Korsgaard For 2023.02.x and 2023.08.x I have instead bumped to 1.20.10 which contains the same fix. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:44:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:44:41 +0200 Subject: [Buildroot] [PATCH] package/libcue: security bump to version 2.3.0 In-Reply-To: <20231011083951.177891-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 11 Oct 2023 10:39:51 +0200") References: <20231011083951.177891-1-peter@korsgaard.com> Message-ID: <871qdy1hwm.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issue: > CVE-2023-43641: Out-of-bounds array access in track_set_index > https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj > For more details, see the github writeup: > https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:17:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:55 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-libav: bump to version 1.22.6 Message-ID: <20231013184521.814BF84C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=102ef88df41d22cb8de131252d5b90f6aaade4c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 57fc4d90d07e00c2d49240d42141056c00fdfd6a) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-libav/gst1-libav.hash | 4 ++-- package/gstreamer1/gst1-libav/gst1-libav.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-libav/gst1-libav.hash b/package/gstreamer1/gst1-libav/gst1-libav.hash index c3e84a17d2..251e924792 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.hash +++ b/package/gstreamer1/gst1-libav/gst1-libav.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.2.tar.xz.sha256sum -sha256 fcaaf9878fe8f3bc82317ef13a1558824cb68df1f8968c6797f556c5e33bcffd gst-libav-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.6.tar.xz.sha256sum +sha256 7789e6408388a25f23cbf948cfc5c6230d735bbcd8b7f37f4a01c9e348a1e3a7 gst-libav-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-libav/gst1-libav.mk b/package/gstreamer1/gst1-libav/gst1-libav.mk index 0306db42c0..23d4a29799 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.mk +++ b/package/gstreamer1/gst1-libav/gst1-libav.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_LIBAV_VERSION = 1.22.2 +GST1_LIBAV_VERSION = 1.22.6 GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav GST1_LIBAV_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:16:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:45 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-plugins-base: security bump to version 1.22.6 Message-ID: <20231013184521.493C384C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f006bbedc19e0b4c8aed2488ffb15797ee45b63 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-37328: Heap-based buffer overflow in the subparse subtitle parser when handling certain SRT subtitle files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0002.html Signed-off-by: Peter Korsgaard (cherry picked from commit 14e2374592284ba61384782ced095ea01ab4dfc5) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash | 4 ++-- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash index 173f359afc..a46ce228c4 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz.sha256sum -sha256 eb65120c4ee79b7a153c3c1972d5c0158c2151877cc51ec7725bba5749679d49 gst-plugins-base-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.6.tar.xz.sha256sum +sha256 50f2b4d17c02eefe430bbefa8c5cd134b1be78a53c0f60e951136d96cf49fd4b gst-plugins-base-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk index 153187f743..7fcac012f2 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BASE_VERSION = 1.22.2 +GST1_PLUGINS_BASE_VERSION = 1.22.6 GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base GST1_PLUGINS_BASE_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:09:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:09:29 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/mbedtls: security bump to version 2.28.5 Message-ID: <20231013184521.15A7484C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=93800e3256640daf1f7571a0c80af481614edf9a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issue: CVE-2023-43615: Buffer overread in TLS stream cipher suites https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2023-10-1/ Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (cherry picked from commit 26762e30090585e8c64333d3ffe4249e7a0b0f43) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 2 +- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 6aa6d0235d..d0cd0b2105 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 62eda6ec99..1b941e04f4 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.4 +MBEDTLS_VERSION = 2.28.5 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 18:16:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:06 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gstreamer1: bump to version 1.22.6 Message-ID: <20231013184521.3D78084C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b73a345f4ff4bd1b5e51888242b698cd0d10402c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 133ced8e02f00820f6e83effa5ffac1d8a6c7200) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gstreamer1/gstreamer1.hash | 4 ++-- package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1/gstreamer1.hash b/package/gstreamer1/gstreamer1/gstreamer1.hash index f74832ce6a..65045c1c30 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.hash +++ b/package/gstreamer1/gstreamer1/gstreamer1.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.2.tar.xz.sha256sum -sha256 b2afe73603921c608ba48969dbb7d743776744bfe5d8059ece241137b7f88e21 gstreamer-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.6.tar.xz.sha256sum +sha256 f500e6cfddff55908f937711fc26a0840de28a1e9ec49621c0b6f1adbd8f818e gstreamer-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 8584735129..352567ed52 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_VERSION = 1.22.2 +GSTREAMER1_VERSION = 1.22.6 GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer GSTREAMER1_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:18:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:15 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-python: bump to version 1.22.6 Message-ID: <20231013184521.9AC6884897@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7c83c55df6354bdc059744fa856314627a4d6739 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 3aff0c2cde63cc19ac8ea5ce50adfd19567f04b2) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-python/gst1-python.hash | 4 ++-- package/gstreamer1/gst1-python/gst1-python.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-python/gst1-python.hash b/package/gstreamer1/gst1-python/gst1-python.hash index 006d4985ef..4495e03945 100644 --- a/package/gstreamer1/gst1-python/gst1-python.hash +++ b/package/gstreamer1/gst1-python/gst1-python.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.2.tar.xz.sha256sum -sha256 bef2b3d82ce4be46b775b1bb56305c1003ee01b535a53a82f9fe8924972153ad gst-python-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.6.tar.xz.sha256sum +sha256 51de2d6d13b12ce095eac97c0b94ee59c2aeba3712bb7462b78c4d57dde176c5 gst-python-1.22.6.tar.xz sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/package/gstreamer1/gst1-python/gst1-python.mk b/package/gstreamer1/gst1-python/gst1-python.mk index 527d101786..475f2f2d87 100644 --- a/package/gstreamer1/gst1-python/gst1-python.mk +++ b/package/gstreamer1/gst1-python/gst1-python.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PYTHON_VERSION = 1.22.2 +GST1_PYTHON_VERSION = 1.22.6 GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python GST1_PYTHON_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:16:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:55 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-plugins-good: security bump to version 1.22.6 Message-ID: <20231013184521.5473584C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=63a69b18f49d21ffcfad092c32905fb128ffcefe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-37327: Heap-based buffer overflow in the FLAC parser when handling malformed image tags in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0001.html Signed-off-by: Peter Korsgaard (cherry picked from commit 40c3696131a2b93ea3da2556352dc79c19ac2e9c) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash | 4 ++-- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash index 604e74b57d..1b315ac1cc 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz.sha256sum -sha256 7c8cc59425f2b232f60ca7d13e56edd615da4f711e73dd01a7cffa46e6bc0cdd gst-plugins-good-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.6.tar.xz.sha256sum +sha256 b3b07fe3f1ce7fe93aa9be7217866044548f35c4a7792280eec7e108a32f9817 gst-plugins-good-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 41f4c727f3..4c6188c097 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_GOOD_VERSION = 1.22.2 +GST1_PLUGINS_GOOD_VERSION = 1.22.6 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING From peter at korsgaard.com Fri Oct 13 18:13:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:13:54 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/cups: add upstream security fix for CVE-2023-4504 Message-ID: <20231013184521.2F4FE84C53@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=85e9e4a2fcf3c65995fd0163a80b880c0a923eb2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-4504: Postscript Parsing Heap Overflow https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h https://takeonme.org/cves/CVE-2023-4504.html There is a 2.4.7 release with this fix, but upstream unfortunately broke !gnutls builds, so backport the security fix instead: https://github.com/OpenPrinting/cups/issues/762 Signed-off-by: Peter Korsgaard (cherry picked from commit b9d9497019f0caa3388f51c458a2469fdeefd146) Signed-off-by: Peter Korsgaard --- ...0005-raster-interpret.c-Fix-CVE-2023-4504.patch | 45 ++++++++++++++++++++++ package/cups/cups.mk | 3 ++ 2 files changed, 48 insertions(+) diff --git a/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch new file mode 100644 index 0000000000..d1dff4e1fa --- /dev/null +++ b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch @@ -0,0 +1,45 @@ +From 2431caddb7e6a87f04ac90b5c6366ad268b6ff31 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Wed, 20 Sep 2023 14:45:17 +0200 +Subject: [PATCH] raster-interpret.c: Fix CVE-2023-4504 + +We didn't check for end of buffer if it looks there is an escaped +character - check for NULL terminator there and if found, return NULL +as return value and in `ptr`, because a lone backslash is not +a valid PostScript character. + +Upstream: https://github.com/OpenPrinting/cups/commit/2431caddb7e6a87f04ac90b5c6366ad268b6ff31 +[Peter: drop CHANGES hunk] +Signed-off-by: Peter Korsgaard +--- + cups/raster-interpret.c | 14 +++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/cups/raster-interpret.c b/cups/raster-interpret.c +index 6fcf731b5..b8655c8c6 100644 +--- a/cups/raster-interpret.c ++++ b/cups/raster-interpret.c +@@ -1116,7 +1116,19 @@ scan_ps(_cups_ps_stack_t *st, /* I - Stack */ + + cur ++; + +- if (*cur == 'b') ++ /* ++ * Return NULL if we reached NULL terminator, a lone backslash ++ * is not a valid character in PostScript. ++ */ ++ ++ if (!*cur) ++ { ++ *ptr = NULL; ++ ++ return (NULL); ++ } ++ ++ if (*cur == 'b') + *valptr++ = '\b'; + else if (*cur == 'f') + *valptr++ = '\f'; +-- +2.30.2 + diff --git a/package/cups/cups.mk b/package/cups/cups.mk index a3bb2f8dfc..4bc5eeedee 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -13,6 +13,9 @@ CUPS_CPE_ID_VENDOR = openprinting CUPS_SELINUX_MODULES = cups CUPS_INSTALL_STAGING = YES +# 0005-raster-interpret.c-Fix-CVE-2023-4504.patch +CUPS_IGNORE_CVES += CVE-2023-4504 + # Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. define CUPS_RUN_AUTOCONF cd $(@D); $(AUTOCONF) -f From peter at korsgaard.com Fri Oct 13 18:24:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:24:52 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/python3: bump version to 3.11.6 Message-ID: <20231013184521.CD73C84C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5fb0d39752307f1051329d3b13f5804273f67bdd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Release notes: https://www.python.org/downloads/release/python-3116/ Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 337485b232dd452937fd2f96de0a596c968f4b47) Signed-off-by: Peter Korsgaard --- package/python3/python3.hash | 6 +++--- package/python3/python3.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 1a0fee3290..39a16c1f71 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3115/ -md5 393856f1b7713aa8bba4b642ab9985d3 Python-3.11.5.tar.xz +# From https://www.python.org/downloads/release/python-3116/ +md5 d0c5a1a31efe879723e51addf56dd206 Python-3.11.6.tar.xz # Locally computed -sha256 85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f Python-3.11.5.tar.xz +sha256 0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 Python-3.11.6.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cfe5e1ee6e..b9c5054a21 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.11 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).5 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).6 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others From peter at korsgaard.com Fri Oct 13 18:18:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:46 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-rtsp-vaapi: bump to version 1.22.6 Message-ID: <20231013184521.A24F084C4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=73075f6684c3eeef0ecdab582b9b4dea47bd9973 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 688dcef3d7d2f72119320280dd63726787b1486b) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-vaapi/gst1-vaapi.hash | 4 ++-- package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash index 2fdec4e83f..53dbe97ca9 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.2.tar.xz.sha256sum -sha256 d2e642f9745f97d9f73a7f5085e7659a9a31fe209b774e6e45dae041b435df06 gstreamer-vaapi-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.6.tar.xz.sha256sum +sha256 d9ba2fc26bef98c78e982c599f585d46bbb65fe122da89c2d7ab41f468a52c7b gstreamer-vaapi-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk index cae239094a..46a5839450 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_VAAPI_VERSION = 1.22.2 +GST1_VAAPI_VERSION = 1.22.6 GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz GST1_VAAPI_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:21:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:21:58 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series Message-ID: <20231013184521.C0D0D84C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0f95c3b4c2ee8f70d4288e3205db7510a4abc589 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 003cdd5de31dd6558b02d0a719bc779bb1fc8db5) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/linux.hash | 4 ++-- package/linux-headers/Config.in.host | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linux/linux.hash b/linux/linux.hash index cac7fba207..9330900b13 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,8 +1,8 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc sha256 9626ec84a39ecb009bf11a271dd520941159c165d4e62f82e3a77b79d20ff27d linux-6.4.16.tar.xz -sha256 a87e241ec15d53452c4efe219713a3769d88cc436b5b98cf6efb262c4aff15c0 linux-6.1.55.tar.xz +sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 ef845e7934897b88e4448378ea9daacac19e07f156fe904844fab0a7d8ff5ddd linux-5.15.133.tar.xz +sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index a0bdbe8555..d106e99f98 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -404,8 +404,8 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.19.295" if BR2_KERNEL_HEADERS_4_19 default "5.4.257" if BR2_KERNEL_HEADERS_5_4 default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.133" if BR2_KERNEL_HEADERS_5_15 - default "6.1.55" if BR2_KERNEL_HEADERS_6_1 + default "5.15.134" if BR2_KERNEL_HEADERS_5_15 + default "6.1.56" if BR2_KERNEL_HEADERS_6_1 default "6.4.16" if BR2_KERNEL_HEADERS_6_4 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL From peter at korsgaard.com Fri Oct 13 18:44:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:44:22 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libcue: security bump to version 2.3.0 Message-ID: <20231013184522.045B484C4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d4ad6cefeeac80f093e57ada976d0c05b1caa4c0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issue: CVE-2023-43641: Out-of-bounds array access in track_set_index https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj For more details, see the github writeup: https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ Signed-off-by: Peter Korsgaard (cherry picked from commit 3aee3a326d37ae5ddaf99bbc7bcf26a5c1ea7b2a) Signed-off-by: Peter Korsgaard --- package/libcue/libcue.hash | 2 +- package/libcue/libcue.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcue/libcue.hash b/package/libcue/libcue.hash index 93ae2dacdb..47fe906e1a 100644 --- a/package/libcue/libcue.hash +++ b/package/libcue/libcue.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 f27bc3ebb2e892cd9d32a7bee6d84576a60f955f29f748b9b487b173712f1200 libcue-2.2.1.tar.gz +sha256 cc1b3a65c60bd88b77a1ddd1574042d83cf7cc32b85fe9481c99613359eb7cfe libcue-2.3.0.tar.gz sha256 c388d36583fa54e13b6d73ad924d0b68d073ed8a5771e17cb49104705df4504f LICENSE diff --git a/package/libcue/libcue.mk b/package/libcue/libcue.mk index 3edb4f3b69..7ef27f5a17 100644 --- a/package/libcue/libcue.mk +++ b/package/libcue/libcue.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCUE_VERSION = 2.2.1 +LIBCUE_VERSION = 2.3.0 LIBCUE_SITE = $(call github,lipnitsk,libcue,v$(LIBCUE_VERSION)) LIBCUE_LICENSE = GPL-2.0, BSD-2-Clause (rem.c) LIBCUE_LICENSE_FILES = LICENSE From peter at korsgaard.com Fri Oct 13 18:19:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:19:14 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gstreamer1-editing-services: bump to version 1.22.6 Message-ID: <20231013184521.B63CC84C53@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d982e4b6daadc3840733386f2a04bfe28be2c482 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 8c8ff426744d5c4977e06b1554185fde69a2f146) Signed-off-by: Peter Korsgaard --- .../gstreamer1-editing-services/gstreamer1-editing-services.hash | 4 ++-- .../gstreamer1-editing-services/gstreamer1-editing-services.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash index 0cdb18ea5d..11e93b8b65 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash @@ -1,5 +1,5 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.2.tar.xz.sha256sum -sha256 453b1464fc3857de269a7cb0ebd966afe02171d97bef672a0b8a0a6d43e0cebf gst-editing-services-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.6.tar.xz.sha256sum +sha256 748d423672c597f876e130804fb984848f5b4b89efd78a506cb17f7646795301 gst-editing-services-1.22.6.tar.xz # Hashes for license files: sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk index 9fdc877db0..bea59f256b 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.2 +GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.6 GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ From peter at korsgaard.com Fri Oct 13 15:44:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:44:29 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] DEVELOPERS: add Thomas Petazzoni for nodejs Message-ID: <20231013184521.0E82D84C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=010cd4640f0ed025dd9b1455b840975bd6202377 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle (cherry picked from commit 65dfac5d11596583e4e31ce83a05045a5c9a2ce6) Signed-off-by: Peter Korsgaard --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index 26d0a0c223..885cc28ed7 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2915,6 +2915,7 @@ F: package/msmtp/ F: package/musl/ F: package/musl-fts/ F: package/ne10/ +F: package/nodejs/ F: package/pkg-python.mk F: package/pkg-autotools.mk F: package/pkg-generic.mk From peter at korsgaard.com Fri Oct 13 18:17:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:25 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-plugins-ugly: security bump to version 1.22.6 Message-ID: <20231013184521.6C6C784C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c48d23e5d03791eaea2ad311f0a572dea33983b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issues: ZDI-CAN-21443: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0004.html ZDI-CAN-21444: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0005.html Signed-off-by: Peter Korsgaard (cherry picked from commit 7f2571f594cc87fc7543b5476eeda1bdda4d7264) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash | 4 ++-- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash index ed781df686..f55dd7b3a0 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.2.tar.xz.sha256sum -sha256 8f30f44db0bd063709bf6fbe55138e3a98af0abcb61c360f35582bbe10e80691 gst-plugins-ugly-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.6.tar.xz.sha256sum +sha256 3e31454c98cb2f7f6d2d355eceb933a892fa0f1dc09bc36c9abc930d8e29ca48 gst-plugins-ugly-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk index f1566b058e..ee3bd1b551 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_UGLY_VERSION = 1.22.2 +GST1_PLUGINS_UGLY_VERSION = 1.22.6 GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING From peter at korsgaard.com Fri Oct 13 18:42:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:42:32 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/go: security bump to version 1.20.10 Message-ID: <20231013184521.EC54484C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bc0f65857ef6cb3c82a364ebfa5867a3fa3bc350 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-39325: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. go1.20.10 (released 2023-10-10) includes a security fix to the net/http package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index ac603e6e3b..a4aafbe6e4 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz +sha256 72d2f51805c47150066c103754c75fddb2c19d48c9219fa33d1e46696c841dbb go1.20.10.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index cc374aa44f..c3f88b8682 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.9 +GO_VERSION = 1.20.10 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Fri Oct 13 18:27:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:27:52 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231013184521.E1BF384C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ac51d2a9032376ed375a9b8d65025c90daa24f1e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit d71743b7360c19d7555529077a47fb14eba8d234) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/linux.hash | 12 ++++++------ package/linux-headers/Config.in.host | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/linux/linux.hash b/linux/linux.hash index 9330900b13..283c07693f 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc sha256 9626ec84a39ecb009bf11a271dd520941159c165d4e62f82e3a77b79d20ff27d linux-6.4.16.tar.xz -sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz +sha256 f9ebfe3ddc5152d87b37e33be30e31875d137433be10a57ce29d2eae7b6e91b1 linux-6.1.57.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz -sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz -sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz +sha256 14835e629e237f136cfed484fdb533c95242429809bdcdb2a2d66dfcb7447170 linux-5.15.135.tar.xz +sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz +sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 b732c2e4f08576a9dd5bb14213cead3835acbb101a91aaba3d6ace302fd538ac linux-4.19.295.tar.xz -sha256 555ce40f1df4c0f4a74cbefcaad0c67108615860968720faabe51cdee2df1478 linux-4.14.326.tar.xz +sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz +sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index d106e99f98..ed32b32ea4 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -400,12 +400,12 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.326" if BR2_KERNEL_HEADERS_4_14 - default "4.19.295" if BR2_KERNEL_HEADERS_4_19 - default "5.4.257" if BR2_KERNEL_HEADERS_5_4 - default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.134" if BR2_KERNEL_HEADERS_5_15 - default "6.1.56" if BR2_KERNEL_HEADERS_6_1 + default "4.14.327" if BR2_KERNEL_HEADERS_4_14 + default "4.19.296" if BR2_KERNEL_HEADERS_4_19 + default "5.4.258" if BR2_KERNEL_HEADERS_5_4 + default "5.10.198" if BR2_KERNEL_HEADERS_5_10 + default "5.15.135" if BR2_KERNEL_HEADERS_5_15 + default "6.1.57" if BR2_KERNEL_HEADERS_6_1 default "6.4.16" if BR2_KERNEL_HEADERS_6_4 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL From peter at korsgaard.com Fri Oct 13 18:09:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:09:01 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/mbedtls: bump to version 2.28.4 Message-ID: <20231013184521.028A284897@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a2cbf289d452d621fc089343105346625fb77bb6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni (cherry picked from commit 7dc2462a8e511629e1ea300f32aa43ee1ec74fa1) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 4 ++-- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 2281bd5fe5..6aa6d0235d 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ -# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.3: -sha256 bdf7c5bbdc338da3edad89b2885d4f8668f9a6fffeba6ec17a60333e36dade6f mbedtls-2.28.3.tar.gz +# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: +sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 8f09fd72a8..62eda6ec99 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.3 +MBEDTLS_VERSION = 2.28.4 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 18:18:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:22 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-rtsp-server: bump to version 1.22.6 Message-ID: <20231013184521.9C1F684C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3e167b8c65d79567cce3801b18f2e7e27a762d1c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 7a0cbea0e35ef6f62c0b073fd0724e02235921fc) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash | 4 ++-- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash index c98d10d79c..521a91ddd7 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash @@ -1,4 +1,4 @@ -# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.2.tar.xz.sha256sum -sha256 2be4aecfb88710100ea7115ed0216403e8094344ebf146094271b8d4d73828bf gst-rtsp-server-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.6.tar.xz.sha256sum +sha256 0ae33a8b50443b62f11581a9181e906b41cd3877b2d799dbea72912c3eda4bb3 gst-rtsp-server-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk index 6f5fc4f7aa..46d7606b1d 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_RTSP_SERVER_VERSION = 1.22.2 +GST1_RTSP_SERVER_VERSION = 1.22.6 GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server GST1_RTSP_SERVER_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:13:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:13:02 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libcurl: security bump to 8.4.0 Message-ID: <20231013184521.2106684C4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f9d1275643b7b179342e2bdd86f7bce7a10a97ee branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes following two vulnerabilities: * CVE-2023-38545: SOCKS5 heap buffer overflow https://curl.se/docs/CVE-2023-38545.html * CVE-2023-38546: cookie injection with none file https://curl.se/docs/CVE-2023-38546.html Signed-off-by: Jan ??erm??k Signed-off-by: Peter Korsgaard (cherry picked from commit 30dd60ba7eb3e6da4f0ae91b3b08f8aa8fb8d786) Signed-off-by: Peter Korsgaard --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 371d20a632..ecd5d63909 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-8.3.0.tar.xz.asc +# https://curl.se/download/curl-8.4.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63 curl-8.3.0.tar.xz +sha256 16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82d curl-8.4.0.tar.xz sha256 b1d7feb949ea5023552029fbe0bf5db4f23c2f85e9b8e51e18536f0ecbf9c524 COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index dd4cf43c6a..bd331a55aa 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 8.3.0 +LIBCURL_VERSION = 8.4.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ From peter at korsgaard.com Fri Oct 13 18:25:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:25:43 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/wireless-regdb: bump version to 2023.09.01 Message-ID: <20231013184521.D79FA84C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=58bf67263b52c9fffbaaeebea22fbb635ef032cf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 29b6e170b7337c47444a8ef34529eabc2c59567f) Signed-off-by: Peter Korsgaard --- package/wireless-regdb/wireless-regdb.hash | 2 +- package/wireless-regdb/wireless-regdb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wireless-regdb/wireless-regdb.hash b/package/wireless-regdb/wireless-regdb.hash index b4e8dcaf54..71f92aaf91 100644 --- a/package/wireless-regdb/wireless-regdb.hash +++ b/package/wireless-regdb/wireless-regdb.hash @@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc -sha256 f254d08ab3765aeae2b856222e11a95d44aef519a6663877c71ef68fae4c8c12 wireless-regdb-2023.05.03.tar.xz +sha256 26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491 wireless-regdb-2023.09.01.tar.xz # Locally computed sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk index db9c7f42d5..e9003ce2e6 100644 --- a/package/wireless-regdb/wireless-regdb.mk +++ b/package/wireless-regdb/wireless-regdb.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRELESS_REGDB_VERSION = 2023.05.03 +WIRELESS_REGDB_VERSION = 2023.09.01 WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb WIRELESS_REGDB_LICENSE = ISC From peter at korsgaard.com Fri Oct 13 15:42:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:42:36 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/exim: security bump version to 4.96.1 Message-ID: <20231013184520.EADE984C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=620fb8fb0f7e2d8c3d3d18960bae69b820551422 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: https://exim.org/static/doc/security/CVE-2023-zdi.txt Signed-off-by: Bernd Kuhls Reviewed-by: Luca Ceresoli Signed-off-by: Peter Korsgaard (cherry picked from commit 657d10b34b1ba2fc3478a3cfad7ac7fcf4ce1094) Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 2336aaa5c6..6cdeea0614 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 299a56927b2eb3477daafd3c5bda02bc67e5c4e5898a7aeaf2740875278cf1a3 exim-4.96.tar.xz +sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 6b863661465a0b9897c1b71875c5196a1903cf560dd85de45b08242b9731edb2bc10eb56945d62e477e5d15cc7a8d493915bff2ca81689673a8091c66f62c89e exim-4.96.tar.xz +sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index b84a51d6de..f5695d048d 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96 +EXIM_VERSION = 4.96.1 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Fri Oct 13 18:18:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:53 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst-omx: bump to version 1.22.6 Message-ID: <20231013184521.ACB7C84C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=206402e5a92b34d498e5d6d56bdab8ecaf5687c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 6339e7f4132230e086a8efc5e266c21fbc3ef3c6) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst-omx/gst-omx.hash | 4 ++-- package/gstreamer1/gst-omx/gst-omx.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst-omx/gst-omx.hash b/package/gstreamer1/gst-omx/gst-omx.hash index d4a95c631a..5878991b5b 100644 --- a/package/gstreamer1/gst-omx/gst-omx.hash +++ b/package/gstreamer1/gst-omx/gst-omx.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.2.tar.xz.sha256sum -sha256 1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2 gst-omx-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.6.tar.xz.sha256sum +sha256 223833c42518ad7eb1923bb4dd3726809f59a66d6e9aaaa69cb29ad0750c8758 gst-omx-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst-omx/gst-omx.mk b/package/gstreamer1/gst-omx/gst-omx.mk index 87f162f715..3d2ba90290 100644 --- a/package/gstreamer1/gst-omx/gst-omx.mk +++ b/package/gstreamer1/gst-omx/gst-omx.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST_OMX_VERSION = 1.22.2 +GST_OMX_VERSION = 1.22.6 GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx From peter at korsgaard.com Fri Oct 13 18:17:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:45 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-devtools: bump to version 1.22.6 Message-ID: <20231013184521.77E1F84C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5922259b415841aa0d326f51c49de8fd388b02b7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 637cf8fdab953d7a77e640fbc10b63166c3b3b20) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-devtools/gst1-devtools.hash | 4 ++-- package/gstreamer1/gst1-devtools/gst1-devtools.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash index 4abdd6ece4..9eada91614 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.2.tar.xz.sha256sum -sha256 eb62726d3e27a8782369a24fd6364a8885ed2462b3bbdab091dffc8139ee06d8 gst-devtools-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.6.tar.xz.sha256sum +sha256 8928560efaf16137c30285e718708e5d0bab0777eb4ef8127e0274e120d3d86b gst-devtools-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk index 7801f9b62c..8608c2f75b 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_DEVTOOLS_VERSION = 1.22.2 +GST1_DEVTOOLS_VERSION = 1.22.6 GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools GST1_DEVTOOLS_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:17:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-plugins-bad: security bump to version 1.22.6 Message-ID: <20231013184521.5FE5884C4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=47c4d44e5ce568da406d6a71233842bda08f9935 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issues: CVE-2023-37329: Heap-based buffer overflow in the PGS blu-ray subtitle decoder when handling certain files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0003.html CVE-2023-40474: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with uncompressed video in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0006.html CVE-2023-40475: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with AES3 audio in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0007.html CVE-2023-40476: Stack-based buffer overflow in the H.265 video parser when handling malformed H.265 video streams in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0008.html Signed-off-by: Peter Korsgaard (cherry picked from commit 19fe76b8b4dd09bd11fce6832932cd799332ffb5) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash | 4 ++-- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash index 2bbb8af904..c6d1f2e009 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.2.tar.xz.sha256sum -sha256 3d8faf1ce3402c8535ce3a8c4e1a6c960e4b5655dbda6b55943db9ac79022d0f gst-plugins-bad-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.6.tar.xz.sha256sum +sha256 b4029cd2908a089c55f1d902a565d007495c95b1442d838485dc47fb12df7137 gst-plugins-bad-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index 1713f0b4b8..983be754e9 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BAD_VERSION = 1.22.2 +GST1_PLUGINS_BAD_VERSION = 1.22.6 GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad GST1_PLUGINS_BAD_INSTALL_STAGING = YES From bernd at kuhls.net Fri Oct 13 18:45:51 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 20:45:51 +0200 Subject: [Buildroot] [PATCH 1/4] package/alsa-lib: fix musl build Message-ID: <20231013184554.337101-1-bernd@kuhls.net> Buildroot commit 227d414ded bumped alsa-lib to version 1.2.10 which introduced a build error with musl toolchains. Fixes: http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ Signed-off-by: Bernd Kuhls --- ...STRING-macro-outside-PIC-ifdef-block.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch diff --git a/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch new file mode 100644 index 0000000000..7bd67507fd --- /dev/null +++ b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch @@ -0,0 +1,50 @@ +From 10bd599970acc71c92f85eb08943eb8d3d702a9c Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 6 Sep 2023 15:16:44 +0200 +Subject: [PATCH] global.h: move __STRING() macro outside !PIC ifdef block + +It solves the musl libc compilation issue. + +control.c: In function 'snd_ctl_open_conf': +../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio] + 98 | #define SND_DLSYM_VERSION(version) __STRING(version) + | ^~~~~~~~ + +Fixes: https://github.com/alsa-project/alsa-lib/issues/350 +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-lib/commit/10bd599970acc71c92f85eb08943eb8d3d702a9c + +Signed-off-by: Bernd Kuhls +--- + include/global.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/include/global.h b/include/global.h +index dfe9bc2b..3ecaeee8 100644 +--- a/include/global.h ++++ b/include/global.h +@@ -51,6 +51,11 @@ const char *snd_asoundlib_version(void); + #define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) + #endif + ++#ifndef __STRING ++/** \brief Return 'x' argument as string */ ++#define __STRING(x) #x ++#endif ++ + #ifdef PIC /* dynamic build */ + + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ +@@ -71,11 +76,6 @@ struct snd_dlsym_link { + + extern struct snd_dlsym_link *snd_dlsym_start; + +-#ifndef __STRING +-/** \brief Return 'x' argument as string */ +-#define __STRING(x) #x +-#endif +- + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ + #define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version + /** -- 2.39.2 From bernd at kuhls.net Fri Oct 13 18:45:52 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 20:45:52 +0200 Subject: [Buildroot] [PATCH 2/4] package/alsa-utils: fix build with gcc < 11 In-Reply-To: <20231013184554.337101-1-bernd@kuhls.net> References: <20231013184554.337101-1-bernd@kuhls.net> Message-ID: <20231013184554.337101-2-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/bfd/bfde1d5c3067e98d983ce1eebc1560bd13d00b8a/ Signed-off-by: Bernd Kuhls --- ...UTE_UNUSED-instead-remove-argument-n.patch | 233 +++++++++++++ ...UTE_UNUSED-instead-remove-argument-n.patch | 34 ++ ...RIBUTE_UNUSED-instead-remove-argumen.patch | 57 ++++ ...E_UNUSED-instead-remove-argument-nam.patch | 67 ++++ ...E_UNUSED-instead-remove-argument-nam.patch | 93 ++++++ ...IBUTE_UNUSED-instead-remove-argument.patch | 109 ++++++ ...RIBUTE_UNUSED-instead-remove-argumen.patch | 312 ++++++++++++++++++ 7 files changed, 905 insertions(+) create mode 100644 package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch create mode 100644 package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch create mode 100644 package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch create mode 100644 package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch create mode 100644 package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch create mode 100644 package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch create mode 100644 package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch diff --git a/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..92622292c0 --- /dev/null +++ b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,233 @@ +From a90faa2dd644af585d6a00f0aaf297c15ea0aa7b Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:33:47 +0200 +Subject: [PATCH] axfer: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: ad5a1c0 ("axfer: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/a90faa2dd644af585d6a00f0aaf297c15ea0aa7b + +Signed-off-by: Bernd Kuhls +--- + axfer/container-raw.c | 14 +++++++------- + axfer/mapper-single.c | 6 +++--- + axfer/subcmd-list.c | 2 +- + axfer/subcmd-transfer.c | 4 ++-- + axfer/waiter-poll.c | 4 ++-- + axfer/waiter-select.c | 4 ++-- + axfer/waiter.h | 1 + + axfer/xfer-libasound-irq-rw.c | 2 +- + axfer/xfer-libasound.c | 4 ++-- + axfer/xfer-options.c | 3 ++- + 10 files changed, 23 insertions(+), 21 deletions(-) + +diff --git a/axfer/container-raw.c b/axfer/container-raw.c +index 071f94c..1886045 100644 +--- a/axfer/container-raw.c ++++ b/axfer/container-raw.c +@@ -13,10 +13,10 @@ + #include + #include + +-static int raw_builder_pre_process(struct container_context *, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++static int raw_builder_pre_process(struct container_context *cntr ATTRIBUTE_UNUSED, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + *byte_count = UINT64_MAX; +@@ -25,9 +25,9 @@ static int raw_builder_pre_process(struct container_context *, + } + + static int raw_parser_pre_process(struct container_context *cntr, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + struct stat buf = {0}; +diff --git a/axfer/mapper-single.c b/axfer/mapper-single.c +index 13e7fc5..f669f7f 100644 +--- a/axfer/mapper-single.c ++++ b/axfer/mapper-single.c +@@ -62,7 +62,7 @@ static void align_from_vector(void *frame_buf, unsigned int frame_count, + + static int single_pre_process(struct mapper_context *mapper, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + unsigned int bytes_per_buffer; +@@ -110,7 +110,7 @@ static int single_muxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *src; +@@ -141,7 +141,7 @@ static int single_demuxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *dst; +diff --git a/axfer/subcmd-list.c b/axfer/subcmd-list.c +index f9c8e0f..187e1d7 100644 +--- a/axfer/subcmd-list.c ++++ b/axfer/subcmd-list.c +@@ -19,7 +19,7 @@ enum list_op { + }; + + static int dump_device(snd_ctl_t *handle, const char *id, const char *name, +- snd_pcm_stream_t, snd_pcm_info_t *info) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED, snd_pcm_info_t *info) + { + unsigned int i, count; + int err; +diff --git a/axfer/subcmd-transfer.c b/axfer/subcmd-transfer.c +index b39fde8..8d63043 100644 +--- a/axfer/subcmd-transfer.c ++++ b/axfer/subcmd-transfer.c +@@ -40,7 +40,7 @@ static void handle_unix_signal_for_finish(int sig) + ctx_ptr->interrupted = true; + } + +-static void handle_unix_signal_for_suspend(int) ++static void handle_unix_signal_for_suspend(int sig ATTRIBUTE_UNUSED) + { + sigset_t curr, prev; + struct sigaction sa = {0}; +@@ -439,7 +439,7 @@ static int context_process_frames(struct context *ctx, + } + + static void context_post_process(struct context *ctx, +- uint64_t) ++ uint64_t accumulated_frame_count ATTRIBUTE_UNUSED) + { + uint64_t total_frame_count; + unsigned int i; +diff --git a/axfer/waiter-poll.c b/axfer/waiter-poll.c +index 31fab88..b81300c 100644 +--- a/axfer/waiter-poll.c ++++ b/axfer/waiter-poll.c +@@ -13,7 +13,7 @@ + #include + #include + +-static int poll_prepare(struct waiter_context *) ++static int poll_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return 0; +@@ -30,7 +30,7 @@ static int poll_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void poll_release(struct waiter_context *) ++static void poll_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return; +diff --git a/axfer/waiter-select.c b/axfer/waiter-select.c +index 164c9c8..fe19776 100644 +--- a/axfer/waiter-select.c ++++ b/axfer/waiter-select.c +@@ -34,7 +34,7 @@ struct select_state { + fd_set rfds_ex; + }; + +-static int select_prepare(struct waiter_context *) ++static int select_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return 0; + } +@@ -94,7 +94,7 @@ static int select_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void select_release(struct waiter_context *) ++static void select_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return; + } +diff --git a/axfer/waiter.h b/axfer/waiter.h +index db18e33..0f4e9b9 100644 +--- a/axfer/waiter.h ++++ b/axfer/waiter.h +@@ -9,6 +9,7 @@ + #ifndef __ALSA_UTILS_AXFER_WAITER__H_ + #define __ALSA_UTILS_AXFER_WAITER__H_ + ++#include + #include + + enum waiter_type { +diff --git a/axfer/xfer-libasound-irq-rw.c b/axfer/xfer-libasound-irq-rw.c +index b7f0645..45fb6d5 100644 +--- a/axfer/xfer-libasound-irq-rw.c ++++ b/axfer/xfer-libasound-irq-rw.c +@@ -313,7 +313,7 @@ error: + } + + static int w_process_frames_nonblocking(struct libasound_state *state, +- snd_pcm_state_t, ++ snd_pcm_state_t pcm_state ATTRIBUTE_UNUSED, + unsigned int *frame_count, + struct mapper_context *mapper, + struct container_context *cntrs) +diff --git a/axfer/xfer-libasound.c b/axfer/xfer-libasound.c +index 9713533..36ee08d 100644 +--- a/axfer/xfer-libasound.c ++++ b/axfer/xfer-libasound.c +@@ -60,7 +60,7 @@ static const struct option l_opts[] = { + }; + + static int xfer_libasound_init(struct xfer_context *xfer, +- snd_pcm_stream_t) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED) + { + struct libasound_state *state = xfer->private_data; + int err; +@@ -887,7 +887,7 @@ static void xfer_libasound_destroy(struct xfer_context *xfer) + state->log = NULL; + } + +-static void xfer_libasound_help(struct xfer_context *) ++static void xfer_libasound_help(struct xfer_context *xfer ATTRIBUTE_UNUSED) + { + printf( + " [BASICS]\n" +diff --git a/axfer/xfer-options.c b/axfer/xfer-options.c +index 974570c..e716ded 100644 +--- a/axfer/xfer-options.c ++++ b/axfer/xfer-options.c +@@ -447,7 +447,8 @@ static int generate_path_with_suffix(struct xfer_context *xfer, + + static int generate_path_without_suffix(struct xfer_context *xfer, + const char *template, +- unsigned int index, const char *) ++ unsigned int index, ++ const char *suffix ATTRIBUTE_UNUSED) + { + static const char *const single_format = "%s"; + static const char *const multiple_format = "%s-%i"; +-- +2.39.2 + diff --git a/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..12a098b6fb --- /dev/null +++ b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,34 @@ +From 2db896afd475b0b3ad07e97ba74ec9680b4f7f6d Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:37:24 +0200 +Subject: [PATCH] amidi: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 1843540 ("amidi: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/2db896afd475b0b3ad07e97ba74ec9680b4f7f6d + +Signed-off-by: Bernd Kuhls +--- + amidi/amidi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/amidi/amidi.c b/amidi/amidi.c +index f930ca8..75fb8c0 100644 +--- a/amidi/amidi.c ++++ b/amidi/amidi.c +@@ -446,7 +446,7 @@ static void print_byte(unsigned char byte, struct timespec *ts) + printf("%02X", byte); + } + +-static void sig_handler(int) ++static void sig_handler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +-- +2.39.2 + diff --git a/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..4720531415 --- /dev/null +++ b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,57 @@ +From 7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:45:09 +0200 +Subject: [PATCH] alsaloop: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d609a58 ("alsaloop: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa + +Signed-off-by: Bernd Kuhls +--- + alsaloop/alsaloop.c | 2 +- + alsaloop/pcmjob.c | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c +index b10733e..51fb646 100644 +--- a/alsaloop/alsaloop.c ++++ b/alsaloop/alsaloop.c +@@ -821,7 +821,7 @@ static void send_to_all(int sig) + } + } + +-static void signal_handler(int) ++static void signal_handler(int sig ATTRIBUTE_UNUSED) + { + quit = 1; + send_to_all(SIGUSR2); +diff --git a/alsaloop/pcmjob.c b/alsaloop/pcmjob.c +index be71971..ffb439b 100644 +--- a/alsaloop/pcmjob.c ++++ b/alsaloop/pcmjob.c +@@ -625,7 +625,7 @@ static void buf_add_src(struct loopback *loop) + } + } + #else +-static void buf_add_src(struct loopback *) ++static void buf_add_src(struct loopback *loop ATTRIBUTE_UNUSED) + { + } + #endif +@@ -1794,7 +1794,7 @@ static int ctl_event_check(snd_ctl_elem_value_t *val, snd_ctl_event_t *ev) + } + + static int handle_ctl_events(struct loopback_handle *lhandle, +- unsigned short) ++ unsigned short events ATTRIBUTE_UNUSED) + { + struct loopback *loop = lhandle->loopback; + snd_ctl_event_t *ev; +-- +2.39.2 + diff --git a/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..1a42f24d3c --- /dev/null +++ b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,67 @@ +From 94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:49:03 +0200 +Subject: [PATCH] bat: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: b366875 ("bat: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 + +Signed-off-by: Bernd Kuhls +--- + bat/bat.c | 3 ++- + bat/common.c | 3 ++- + bat/common.h | 5 +++++ + 3 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/bat/bat.c b/bat/bat.c +index e88c65f..ea04ed9 100644 +--- a/bat/bat.c ++++ b/bat/bat.c +@@ -158,7 +158,8 @@ static void get_format(struct bat *bat, char *optarg) + } + } + +-static inline int thread_wait_completion(struct bat *, pthread_t id, int **val) ++static inline int thread_wait_completion(struct bat *bat ATTRIBUTE_UNUSED, ++ pthread_t id, int **val) + { + int err; + +diff --git a/bat/common.c b/bat/common.c +index 9ff9405..470a7e6 100644 +--- a/bat/common.c ++++ b/bat/common.c +@@ -47,7 +47,8 @@ static int update_fmt_to_bat(struct bat *bat, struct chunk_fmt *fmt) + } + + /* calculate frames and update to bat */ +-static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, FILE *) ++static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, ++ FILE *file ATTRIBUTE_UNUSED) + { + /* The number of analyzed captured frames is arbitrarily set to half of + the number of frames of the wav file or the number of frames of the +diff --git a/bat/common.h b/bat/common.h +index a9bae5d..bb51b0d 100644 +--- a/bat/common.h ++++ b/bat/common.h +@@ -13,6 +13,11 @@ + * + */ + ++#ifndef ATTRIBUTE_UNUSED ++/** do not print warning (gcc) when function parameter is not used */ ++#define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) ++#endif ++ + #define TEMP_RECORD_FILE_NAME "/tmp/bat.wav.XXXXXX" + #define DEFAULT_DEV_NAME "default" + +-- +2.39.2 + diff --git a/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..9e7e7da5ce --- /dev/null +++ b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,93 @@ +From 66112d60e4ce68720022eaf26080c0f1a2caf81f Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:52:46 +0200 +Subject: [PATCH] seq: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 181e190 ("aplaymidi: fix the verbose compilation warnings for latest gcc") +Fixes: a03377a ("aseqnet: fix the verbose compilation warnings for latest gcc") +Fixes: 429c32a ("aseqdump: fix the verbose compilation warnings for latest gcc") +Fixes: 0b48dd6 ("aconnect: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/66112d60e4ce68720022eaf26080c0f1a2caf81f + +Signed-off-by: Bernd Kuhls +--- + seq/aconnect/aconnect.c | 9 ++++++--- + seq/aplaymidi/arecordmidi.c | 2 +- + seq/aseqdump/aseqdump.c | 2 +- + seq/aseqnet/aseqnet.c | 2 +- + 4 files changed, 9 insertions(+), 6 deletions(-) + +diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c +index 3a10de9..7096feb 100644 +--- a/seq/aconnect/aconnect.c ++++ b/seq/aconnect/aconnect.c +@@ -193,7 +193,8 @@ static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action) + } + + +-static void print_port(snd_seq_t *, snd_seq_client_info_t *cinfo, ++static void print_port(snd_seq_t *seq ATTRIBUTE_UNUSED, ++ snd_seq_client_info_t *cinfo, + snd_seq_port_info_t *pinfo, int count) + { + if (! count) { +@@ -247,8 +248,10 @@ static void print_port_and_subs(snd_seq_t *seq, snd_seq_client_info_t *cinfo, + /* + * remove all (exported) connections + */ +-static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *, +- snd_seq_port_info_t *pinfo, int) ++static void remove_connection(snd_seq_t *seq, ++ snd_seq_client_info_t *info ATTRIBUTE_UNUSED, ++ snd_seq_port_info_t *pinfo, ++ int count ATTRIBUTE_UNUSED) + { + snd_seq_query_subscribe_t *query; + snd_seq_port_info_t *port; +diff --git a/seq/aplaymidi/arecordmidi.c b/seq/aplaymidi/arecordmidi.c +index ce71472..a4c1181 100644 +--- a/seq/aplaymidi/arecordmidi.c ++++ b/seq/aplaymidi/arecordmidi.c +@@ -719,7 +719,7 @@ static void version(void) + fputs("arecordmidi version " SND_UTIL_VERSION_STR "\n", stderr); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c +index 8455ecb..af4ca21 100644 +--- a/seq/aseqdump/aseqdump.c ++++ b/seq/aseqdump/aseqdump.c +@@ -676,7 +676,7 @@ static void version(void) + puts("aseqdump version " SND_UTIL_VERSION_STR); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c +index f40de7d..aa70b50 100644 +--- a/seq/aseqnet/aseqnet.c ++++ b/seq/aseqnet/aseqnet.c +@@ -334,7 +334,7 @@ static void get_net_addr(struct addrinfo *rp, char *buf, size_t buflen) + /* + * signal handler + */ +-static void sigterm_exit(int) ++static void sigterm_exit(int sig ATTRIBUTE_UNUSED) + { + close_files(); + exit(1); +-- +2.39.2 + diff --git a/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch new file mode 100644 index 0000000000..66826c4515 --- /dev/null +++ b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch @@ -0,0 +1,109 @@ +From 9e5e9a6d70de63bea01f0669b01319952f2cfdea Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:57:47 +0200 +Subject: [PATCH] alsaucm: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d7bbc26 ("alsaucm: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/9e5e9a6d70de63bea01f0669b01319952f2cfdea + +Signed-off-by: Bernd Kuhls +--- + alsaucm/dump.c | 22 ++++++++++++---------- + 1 file changed, 12 insertions(+), 10 deletions(-) + +diff --git a/alsaucm/dump.c b/alsaucm/dump.c +index 102ac4d..a5c57f2 100644 +--- a/alsaucm/dump.c ++++ b/alsaucm/dump.c +@@ -93,7 +93,8 @@ static char *tesc(const char *s, char *buf, size_t buf_len) + + #define ESC(s, esc) tesc((s), (esc), sizeof(esc)) + +-static int text_verb_start(struct renderer *, const char *verb, const char *comment) ++static int text_verb_start(struct renderer *r ATTRIBUTE_UNUSED, ++ const char *verb, const char *comment) + { + char buf1[128], buf2[128]; + printf("Verb.%s {\n", ESC(verb, buf1)); +@@ -102,13 +103,13 @@ static int text_verb_start(struct renderer *, const char *verb, const char *comm + return 0; + } + +-static int text_verb_end(struct renderer *) ++static int text_verb_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("}\n"); + return 0; + } + +-static int text_2nd_level_begin(struct renderer *, ++static int text_2nd_level_begin(struct renderer *r ATTRIBUTE_UNUSED, + const char *key, + const char *val, + const char *comment) +@@ -120,19 +121,19 @@ static int text_2nd_level_begin(struct renderer *, + return 0; + } + +-static int text_2nd_level_end(struct renderer *) ++static int text_2nd_level_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("\t}\n"); + return 0; + } + +-static int text_2nd_level(struct renderer *, const char *txt) ++static int text_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t%s", txt); + return 0; + } + +-static int text_3rd_level(struct renderer *, const char *txt) ++static int text_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t\t%s", txt); + return 0; +@@ -266,7 +267,7 @@ static void json_block(struct renderer *r, int level, int last) + j->block[level] = last ? 0 : 1; + } + +-static int json_init(struct renderer *) ++static int json_init(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("{\n \"Verbs\": {"); + return 0; +@@ -325,13 +326,13 @@ static int json_2nd_level_end(struct renderer *r) + return 0; + } + +-static int json_2nd_level(struct renderer *, const char *txt) ++static int json_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; + } + +-static int json_3rd_level(struct renderer *, const char *txt) ++static int json_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; +@@ -360,7 +361,8 @@ static int json_supcon_start(struct renderer *r, const char *key) + return 0; + } + +-static int json_supcon_value(struct renderer *r, const char *value, int) ++static int json_supcon_value(struct renderer *r, const char *value, ++ int last ATTRIBUTE_UNUSED) + { + char buf[256]; + JESC(value, buf); +-- +2.39.2 + diff --git a/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..07b10b3ab8 --- /dev/null +++ b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,312 @@ +From dfe1c7143ab6ea01789e276b1ba361a00e545997 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 17:11:05 +0200 +Subject: [PATCH] topology: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 153d185 ("topology: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/dfe1c7143ab6ea01789e276b1ba361a00e545997 + +Signed-off-by: Bernd Kuhls +--- + topology/nhlt/intel/dmic-nhlt.c | 3 ++- + topology/nhlt/intel/dmic/dmic-debug.c | 7 ++++--- + topology/nhlt/intel/ssp/ssp-debug.c | 5 +++-- + topology/nhlt/intel/ssp/ssp-process.c | 4 +++- + topology/nhlt/nhlt-processor.c | 7 +++++-- + topology/pre-process-class.c | 10 +++++----- + topology/pre-process-object.c | 21 +++++++++++---------- + topology/pre-processor.c | 10 ++++++---- + 8 files changed, 39 insertions(+), 28 deletions(-) + +diff --git a/topology/nhlt/intel/dmic-nhlt.c b/topology/nhlt/intel/dmic-nhlt.c +index 70a22e3..de659cf 100644 +--- a/topology/nhlt/intel/dmic-nhlt.c ++++ b/topology/nhlt/intel/dmic-nhlt.c +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -155,7 +156,7 @@ static int set_vendor_mic_data(struct intel_nhlt_params *nhlt, snd_config_t *cfg + horizontal_angle_end); + } + +-static int set_bytes_data(struct intel_nhlt_params *, snd_config_t *cfg) ++static int set_bytes_data(struct intel_nhlt_params *nhlt ATTRIBUTE_UNUSED, snd_config_t *cfg) + { + snd_config_iterator_t i, next; + snd_config_t *n; +diff --git a/topology/nhlt/intel/dmic/dmic-debug.c b/topology/nhlt/intel/dmic/dmic-debug.c +index f99d308..a977c93 100644 +--- a/topology/nhlt/intel/dmic/dmic-debug.c ++++ b/topology/nhlt/intel/dmic/dmic-debug.c +@@ -8,6 +8,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "dmic-debug.h" + + #ifdef NHLT_DEBUG +@@ -181,7 +182,7 @@ void dmic_print_internal(struct intel_dmic_params *dmic) + } + + #else /* NHLT_DEBUG */ +-void dmic_print_bytes_as_hex(uint8_t *, size_t) {} +-void dmic_print_integers_as_hex(uint32_t *, size_t) {} +-void dmic_print_internal(struct intel_dmic_params *) {} ++void dmic_print_bytes_as_hex(uint8_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_integers_as_hex(uint32_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_internal(struct intel_dmic_params *dmic ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-debug.c b/topology/nhlt/intel/ssp/ssp-debug.c +index 8c64675..2d2f6b0 100644 +--- a/topology/nhlt/intel/ssp/ssp-debug.c ++++ b/topology/nhlt/intel/ssp/ssp-debug.c +@@ -7,6 +7,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "ssp-debug.h" + #include "../intel-nhlt.h" + +@@ -252,6 +253,6 @@ void ssp_print_internal(struct intel_ssp_params *ssp) + } + + #else /* NHLT_DEBUG */ +-void ssp_print_internal(struct intel_ssp_params *) {} +-void ssp_print_calculated(struct intel_ssp_params *) {} ++void ssp_print_internal(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} ++void ssp_print_calculated(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-process.c b/topology/nhlt/intel/ssp/ssp-process.c +index 9cda5c3..17b88d2 100644 +--- a/topology/nhlt/intel/ssp/ssp-process.c ++++ b/topology/nhlt/intel/ssp/ssp-process.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -952,7 +953,8 @@ int ssp_set_params(struct intel_nhlt_params *nhlt, const char *dir, int dai_inde + return 0; + } + +-int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, const char *, ++int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, ++ const char *mclk ATTRIBUTE_UNUSED, + const char *bclk, const char *bclk_invert, const char *fsync, + const char *fsync_invert, int mclk_freq, int bclk_freq, int fsync_freq, + int tdm_slots, int tdm_slot_width, int tx_slots, int rx_slots) +diff --git a/topology/nhlt/nhlt-processor.c b/topology/nhlt/nhlt-processor.c +index 567fa5c..ca539c3 100644 +--- a/topology/nhlt/nhlt-processor.c ++++ b/topology/nhlt/nhlt-processor.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -87,7 +88,8 @@ static void debug_print_nhlt(struct nhlt *blob, struct endpoint_descriptor **eps + fprintf(stdout, "\n"); + } + #else +-static void debug_print_nhlt(struct nhlt *, struct endpoint_descriptor **) {} ++static void debug_print_nhlt(struct nhlt *blob ATTRIBUTE_UNUSED, ++ struct endpoint_descriptor **eps ATTRIBUTE_UNUSED) {} + #endif + + static int print_as_hex_bytes(uint8_t *manifest_buffer, uint32_t manifest_size, +@@ -313,7 +315,8 @@ static int nhlt_get_flat_buffer(struct nhlt *blob, struct endpoint_descriptor ** + } + + /* called at the end of topology pre-processing, create flat buffer from variable size nhlt */ +-static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, snd_config_t *, ++static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, ++ snd_config_t *output ATTRIBUTE_UNUSED, + uint8_t **nhlt_buffer, uint32_t *nhlt_size) + { + struct endpoint_descriptor *eps[MAX_ENDPOINT_COUNT]; +diff --git a/topology/pre-process-class.c b/topology/pre-process-class.c +index d883d05..bedcebe 100644 +--- a/topology/pre-process-class.c ++++ b/topology/pre-process-class.c +@@ -127,7 +127,7 @@ snd_config_t *tplg_class_lookup(struct tplg_pre_processor *tplg_pp, snd_config_t + } + + /* find the attribute config by name in the class definition */ +-snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, ++snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *tplg_p ATTRIBUTE_UNUSED, + snd_config_t *class, const char *name) + { + snd_config_t *attr = NULL; +@@ -152,7 +152,7 @@ snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, + } + + /* get the name of the attribute that must have a unique value in the object instance */ +-const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, ++const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class) + { + snd_config_t *unique; +@@ -177,7 +177,7 @@ const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, + } + + /* get attribute type from the definition */ +-snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, ++snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *attr) + { + snd_config_t *type; +@@ -208,7 +208,7 @@ snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, + } + + /* get token_ref for attribute with name attr_name in the class */ +-const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, ++const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *attr_name) + { + snd_config_t *attributes, *attr, *token_ref; +@@ -235,7 +235,7 @@ const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, + } + + /* convert a valid attribute string value to the corresponding tuple value */ +-long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *, ++long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, snd_config_t *attr) + { + +diff --git a/topology/pre-process-object.c b/topology/pre-process-object.c +index 48555e7..61cc85f 100644 +--- a/topology/pre-process-object.c ++++ b/topology/pre-process-object.c +@@ -31,7 +31,8 @@ + + /* Parse VendorToken object, create the "SectionVendorToken" and save it */ + int tplg_build_vendor_token_object(struct tplg_pre_processor *tplg_pp, +- snd_config_t *obj_cfg, snd_config_t *) ++ snd_config_t *obj_cfg, ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_iterator_t i, next; + snd_config_t *vtop, *n, *obj; +@@ -196,7 +197,7 @@ int tplg_build_data_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj + return tplg_parent_update(tplg_pp, parent, "data", name); + } + +-static int tplg_create_config_template(struct tplg_pre_processor *, ++static int tplg_create_config_template(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t **template, + const struct config_template_items *items) + { +@@ -499,7 +500,7 @@ min_max_check: + } + + /* get object's name attribute value */ +-const char *tplg_object_get_name(struct tplg_pre_processor *, ++const char *tplg_object_get_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *object) + { + snd_config_t *cfg; +@@ -518,7 +519,7 @@ const char *tplg_object_get_name(struct tplg_pre_processor *, + } + + /* look up the instance of object in a config */ +-static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *, ++static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *type, + const char *class_name, const char *id) + { +@@ -977,7 +978,7 @@ template: + } + + static int tplg_build_generic_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, +- snd_config_t *) ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_t *wtop; + const char *name; +@@ -1090,7 +1091,7 @@ const struct build_function_map object_build_map[] = { + NULL, &pcm_caps_config}, + }; + +-static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *, ++static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj) + { + snd_config_iterator_t first; +@@ -1145,7 +1146,7 @@ snd_config_t *tplg_object_get_section(struct tplg_pre_processor *tplg_pp, snd_co + } + + /* return 1 if attribute not found in search_config, 0 on success and negative value on error */ +-static int tplg_object_copy_and_add_param(struct tplg_pre_processor *, ++static int tplg_object_copy_and_add_param(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj, + snd_config_t *attr_cfg, + snd_config_t *search_config) +@@ -1351,8 +1352,8 @@ static int tplg_object_pre_process_children(struct tplg_pre_processor *tplg_pp, + return 0; + } + +-static int tplg_construct_object_name(struct tplg_pre_processor *, snd_config_t *obj, +- snd_config_t *class_cfg) ++static int tplg_construct_object_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *obj, snd_config_t *class_cfg) + { + snd_config_iterator_t i, next; + snd_config_t *args, *n; +@@ -1547,7 +1548,7 @@ static int tplg_object_set_unique_attribute(struct tplg_pre_processor *tplg_pp, + * Helper function to get object instance config which is 2 nodes down from class_type config. + * ex: Get the pointer to the config node with ID "0" from the input config Widget.pga.0 {} + */ +-snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *, ++snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class_type) + { + snd_config_iterator_t first; +diff --git a/topology/pre-processor.c b/topology/pre-processor.c +index 3903dee..01f8a5d 100644 +--- a/topology/pre-processor.c ++++ b/topology/pre-processor.c +@@ -231,8 +231,9 @@ void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) + snd_config_save(cfg, tplg_pp->dbg_output); + } + #else +-void tplg_pp_debug(char *, ...) {} +-void tplg_pp_config_debug(struct tplg_pre_processor *, snd_config_t *){} ++void tplg_pp_debug(char *fmt ATTRIBUTE_UNUSED, ...) {} ++void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *cfg ATTRIBUTE_UNUSED) {} + #endif + + static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) +@@ -640,8 +641,9 @@ static int pre_process_includes_all(struct tplg_pre_processor *tplg_pp, snd_conf + } + + /* duplicate the existing objects in src into dest and update with new attribute */ +-static int pre_process_add_objects(struct tplg_pre_processor *, int *object_count, +- snd_config_t *src, snd_config_t *dest, snd_config_t *attr_cfg) ++static int pre_process_add_objects(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ int *object_count, snd_config_t *src, ++ snd_config_t *dest, snd_config_t *attr_cfg) + { + snd_config_iterator_t i, next; + int ret; +-- +2.39.2 + -- 2.39.2 From bernd at kuhls.net Fri Oct 13 18:45:53 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 20:45:53 +0200 Subject: [Buildroot] [PATCH 3/4] package/alsa-utils: Fix musl build In-Reply-To: <20231013184554.337101-1-bernd@kuhls.net> References: <20231013184554.337101-1-bernd@kuhls.net> Message-ID: <20231013184554.337101-3-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ This musl-related autobuilder error occured when building alsa-lib and is fixed by https://patchwork.ozlabs.org/project/buildroot/patch/20230927052204.231589-1-bernd at kuhls.net/ When continuing the build of this defconfig we see a build error with alsa-utils which is fixed by this patch. Signed-off-by: Bernd Kuhls --- .../0009-topology-include-locale.h.patch | 33 +++++++++++++++++++ ...nhlt-dmic-info.c-include-sys-types.h.patch | 33 +++++++++++++++++++ package/alsa-utils/Config.in | 1 + 3 files changed, 67 insertions(+) create mode 100644 package/alsa-utils/0009-topology-include-locale.h.patch create mode 100644 package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch diff --git a/package/alsa-utils/0009-topology-include-locale.h.patch b/package/alsa-utils/0009-topology-include-locale.h.patch new file mode 100644 index 0000000000..14a059cbf6 --- /dev/null +++ b/package/alsa-utils/0009-topology-include-locale.h.patch @@ -0,0 +1,33 @@ +From 8c229270f6bae83b705a03714c46067a7aa57b02 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:29 +0200 +Subject: [PATCH] topology: include locale.h + +This solves an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/239 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02 + +Signed-off-by: Bernd Kuhls +--- + topology/topology.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/topology/topology.c b/topology/topology.c +index 1840ffe..5d03a8b 100644 +--- a/topology/topology.c ++++ b/topology/topology.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include + #include +-- +2.39.2 + diff --git a/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch new file mode 100644 index 0000000000..b5f8489703 --- /dev/null +++ b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch @@ -0,0 +1,33 @@ +From 0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:30 +0200 +Subject: [PATCH] nhlt-dmic-info.c: include sys/types.h + +This fixes an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/238 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 + +Signed-off-by: Bernd Kuhls +--- + nhlt/nhlt-dmic-info.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c +index 3f6c64d..331555a 100644 +--- a/nhlt/nhlt-dmic-info.c ++++ b/nhlt/nhlt-dmic-info.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + + int debug = 0; +-- +2.39.2 + diff --git a/package/alsa-utils/Config.in b/package/alsa-utils/Config.in index 3429d0b406..be222501b9 100644 --- a/package/alsa-utils/Config.in +++ b/package/alsa-utils/Config.in @@ -65,6 +65,7 @@ config BR2_PACKAGE_ALSA_UTILS_APLAY config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI bool "aplaymidi" + select BR2_PACKAGE_ALSA_LIB_RAWMIDI select BR2_PACKAGE_ALSA_LIB_SEQ config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI -- 2.39.2 From peter at korsgaard.com Fri Oct 13 18:10:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:10:23 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mbedtls: bump to 2.28.3 Message-ID: <20231013184632.D55CF84FCB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8032a566d5922f8b5a11a70b3b1351866cc4e016 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN (cherry picked from commit 8941de8454b3a3b780241790c6470f54df5f2e4f) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 4 ++-- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 876cd7b77e..2281bd5fe5 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ -# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.2: -sha256 bc55232bf71fd66045122ba9050a29ea7cb2e8f99b064a9e6334a82f715881a0 mbedtls-2.28.2.tar.gz +# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.3: +sha256 bdf7c5bbdc338da3edad89b2885d4f8668f9a6fffeba6ec17a60333e36dade6f mbedtls-2.28.3.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 7a605ac5b1..8f09fd72a8 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.2 +MBEDTLS_VERSION = 2.28.3 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 15:44:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:44:35 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] DEVELOPERS: add Thomas Petazzoni for nodejs Message-ID: <20231013184632.C9AD384FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e5d9ea090d844cc960f5dd385402882f5c87e2a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle (cherry picked from commit 65dfac5d11596583e4e31ce83a05045a5c9a2ce6) Signed-off-by: Peter Korsgaard --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index 98b92db483..bdfd3ff3ef 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2839,6 +2839,7 @@ F: package/msmtp/ F: package/musl/ F: package/musl-fts/ F: package/ne10/ +F: package/nodejs/ F: package/pkg-python.mk F: package/pkg-autotools.mk F: package/pkg-generic.mk From peter at korsgaard.com Fri Oct 13 18:12:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:12:57 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libcurl: security bump to 8.4.0 Message-ID: <20231013184633.0BDC784FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5f56122cd00b023a0c9f97762b8026c4cb86d921 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes following two vulnerabilities: * CVE-2023-38545: SOCKS5 heap buffer overflow https://curl.se/docs/CVE-2023-38545.html * CVE-2023-38546: cookie injection with none file https://curl.se/docs/CVE-2023-38546.html Signed-off-by: Jan ??erm??k Signed-off-by: Peter Korsgaard (cherry picked from commit 30dd60ba7eb3e6da4f0ae91b3b08f8aa8fb8d786) Signed-off-by: Peter Korsgaard --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 371d20a632..ecd5d63909 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-8.3.0.tar.xz.asc +# https://curl.se/download/curl-8.4.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63 curl-8.3.0.tar.xz +sha256 16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82d curl-8.4.0.tar.xz sha256 b1d7feb949ea5023552029fbe0bf5db4f23c2f85e9b8e51e18536f0ecbf9c524 COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index dd4cf43c6a..bd331a55aa 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 8.3.0 +LIBCURL_VERSION = 8.4.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ From peter at korsgaard.com Fri Oct 13 18:10:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:10:29 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mbedtls: bump to version 2.28.4 Message-ID: <20231013184632.E3C5484FED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0b4c5daf4a3ca3018cf263dd8d407e10768cac41 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni (cherry picked from commit 7dc2462a8e511629e1ea300f32aa43ee1ec74fa1) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 4 ++-- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 2281bd5fe5..6aa6d0235d 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ -# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.3: -sha256 bdf7c5bbdc338da3edad89b2885d4f8668f9a6fffeba6ec17a60333e36dade6f mbedtls-2.28.3.tar.gz +# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: +sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 8f09fd72a8..62eda6ec99 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.3 +MBEDTLS_VERSION = 2.28.4 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 18:14:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:14:22 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/cups: add upstream security fix for CVE-2023-4504 Message-ID: <20231013184633.16FBB84FCB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ff02d18d29a0fd50ca08eac4312edecc62f26105 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-4504: Postscript Parsing Heap Overflow https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h https://takeonme.org/cves/CVE-2023-4504.html There is a 2.4.7 release with this fix, but upstream unfortunately broke !gnutls builds, so backport the security fix instead: https://github.com/OpenPrinting/cups/issues/762 Signed-off-by: Peter Korsgaard (cherry picked from commit b9d9497019f0caa3388f51c458a2469fdeefd146) Signed-off-by: Peter Korsgaard --- ...0005-raster-interpret.c-Fix-CVE-2023-4504.patch | 45 ++++++++++++++++++++++ package/cups/cups.mk | 3 ++ 2 files changed, 48 insertions(+) diff --git a/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch new file mode 100644 index 0000000000..d1dff4e1fa --- /dev/null +++ b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch @@ -0,0 +1,45 @@ +From 2431caddb7e6a87f04ac90b5c6366ad268b6ff31 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Wed, 20 Sep 2023 14:45:17 +0200 +Subject: [PATCH] raster-interpret.c: Fix CVE-2023-4504 + +We didn't check for end of buffer if it looks there is an escaped +character - check for NULL terminator there and if found, return NULL +as return value and in `ptr`, because a lone backslash is not +a valid PostScript character. + +Upstream: https://github.com/OpenPrinting/cups/commit/2431caddb7e6a87f04ac90b5c6366ad268b6ff31 +[Peter: drop CHANGES hunk] +Signed-off-by: Peter Korsgaard +--- + cups/raster-interpret.c | 14 +++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/cups/raster-interpret.c b/cups/raster-interpret.c +index 6fcf731b5..b8655c8c6 100644 +--- a/cups/raster-interpret.c ++++ b/cups/raster-interpret.c +@@ -1116,7 +1116,19 @@ scan_ps(_cups_ps_stack_t *st, /* I - Stack */ + + cur ++; + +- if (*cur == 'b') ++ /* ++ * Return NULL if we reached NULL terminator, a lone backslash ++ * is not a valid character in PostScript. ++ */ ++ ++ if (!*cur) ++ { ++ *ptr = NULL; ++ ++ return (NULL); ++ } ++ ++ if (*cur == 'b') + *valptr++ = '\b'; + else if (*cur == 'f') + *valptr++ = '\f'; +-- +2.30.2 + diff --git a/package/cups/cups.mk b/package/cups/cups.mk index a3bb2f8dfc..4bc5eeedee 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -13,6 +13,9 @@ CUPS_CPE_ID_VENDOR = openprinting CUPS_SELINUX_MODULES = cups CUPS_INSTALL_STAGING = YES +# 0005-raster-interpret.c-Fix-CVE-2023-4504.patch +CUPS_IGNORE_CVES += CVE-2023-4504 + # Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. define CUPS_RUN_AUTOCONF cd $(@D); $(AUTOCONF) -f From peter at korsgaard.com Fri Oct 13 15:42:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:42:32 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/exim: security bump version to 4.96.1 Message-ID: <20231013184632.BCCE984FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=056e5618b30953ca18a9a5734c9c361e28b8890d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: https://exim.org/static/doc/security/CVE-2023-zdi.txt Signed-off-by: Bernd Kuhls Reviewed-by: Luca Ceresoli Signed-off-by: Peter Korsgaard (cherry picked from commit 657d10b34b1ba2fc3478a3cfad7ac7fcf4ce1094) Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 2336aaa5c6..6cdeea0614 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 299a56927b2eb3477daafd3c5bda02bc67e5c4e5898a7aeaf2740875278cf1a3 exim-4.96.tar.xz +sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 6b863661465a0b9897c1b71875c5196a1903cf560dd85de45b08242b9731edb2bc10eb56945d62e477e5d15cc7a8d493915bff2ca81689673a8091c66f62c89e exim-4.96.tar.xz +sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index b84a51d6de..f5695d048d 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96 +EXIM_VERSION = 4.96.1 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Fri Oct 13 18:16:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:33 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gstreamer1: bump to version 1.22.6 Message-ID: <20231013184633.2388F84FED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f9558079c48c076d577afaa8d1e62ca04db42a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 133ced8e02f00820f6e83effa5ffac1d8a6c7200) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gstreamer1/gstreamer1.hash | 4 ++-- package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1/gstreamer1.hash b/package/gstreamer1/gstreamer1/gstreamer1.hash index f74832ce6a..65045c1c30 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.hash +++ b/package/gstreamer1/gstreamer1/gstreamer1.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.2.tar.xz.sha256sum -sha256 b2afe73603921c608ba48969dbb7d743776744bfe5d8059ece241137b7f88e21 gstreamer-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.6.tar.xz.sha256sum +sha256 f500e6cfddff55908f937711fc26a0840de28a1e9ec49621c0b6f1adbd8f818e gstreamer-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 8584735129..352567ed52 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_VERSION = 1.22.2 +GSTREAMER1_VERSION = 1.22.6 GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer GSTREAMER1_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:16:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:59 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-plugins-good: security bump to version 1.22.6 Message-ID: <20231013184633.37FBE84FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0284e84d46ad78b2aa3fab3c84467a496d4e9c2e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-37327: Heap-based buffer overflow in the FLAC parser when handling malformed image tags in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0001.html Signed-off-by: Peter Korsgaard (cherry picked from commit 40c3696131a2b93ea3da2556352dc79c19ac2e9c) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash | 4 ++-- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash index 604e74b57d..1b315ac1cc 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz.sha256sum -sha256 7c8cc59425f2b232f60ca7d13e56edd615da4f711e73dd01a7cffa46e6bc0cdd gst-plugins-good-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.6.tar.xz.sha256sum +sha256 b3b07fe3f1ce7fe93aa9be7217866044548f35c4a7792280eec7e108a32f9817 gst-plugins-good-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index bbcd3aecab..cfe1a55f31 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_GOOD_VERSION = 1.22.2 +GST1_PLUGINS_GOOD_VERSION = 1.22.6 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING From peter at korsgaard.com Fri Oct 13 18:18:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-libav: bump to version 1.22.6 Message-ID: <20231013184633.671DE84FEF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=16937c87a5ca5f9b752553e98d8e588eaeb1ea97 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 57fc4d90d07e00c2d49240d42141056c00fdfd6a) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-libav/gst1-libav.hash | 4 ++-- package/gstreamer1/gst1-libav/gst1-libav.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-libav/gst1-libav.hash b/package/gstreamer1/gst1-libav/gst1-libav.hash index c3e84a17d2..251e924792 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.hash +++ b/package/gstreamer1/gst1-libav/gst1-libav.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.2.tar.xz.sha256sum -sha256 fcaaf9878fe8f3bc82317ef13a1558824cb68df1f8968c6797f556c5e33bcffd gst-libav-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.6.tar.xz.sha256sum +sha256 7789e6408388a25f23cbf948cfc5c6230d735bbcd8b7f37f4a01c9e348a1e3a7 gst-libav-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-libav/gst1-libav.mk b/package/gstreamer1/gst1-libav/gst1-libav.mk index 0306db42c0..23d4a29799 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.mk +++ b/package/gstreamer1/gst1-libav/gst1-libav.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_LIBAV_VERSION = 1.22.2 +GST1_LIBAV_VERSION = 1.22.6 GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav GST1_LIBAV_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:17:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:05 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-plugins-bad: security bump to version 1.22.6 Message-ID: <20231013184633.45CB084FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b1e2cd3e25f9f1d96d932ee1a17a8285cb58f2cd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issues: CVE-2023-37329: Heap-based buffer overflow in the PGS blu-ray subtitle decoder when handling certain files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0003.html CVE-2023-40474: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with uncompressed video in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0006.html CVE-2023-40475: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with AES3 audio in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0007.html CVE-2023-40476: Stack-based buffer overflow in the H.265 video parser when handling malformed H.265 video streams in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0008.html Signed-off-by: Peter Korsgaard (cherry picked from commit 19fe76b8b4dd09bd11fce6832932cd799332ffb5) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash | 4 ++-- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash index 2bbb8af904..c6d1f2e009 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.2.tar.xz.sha256sum -sha256 3d8faf1ce3402c8535ce3a8c4e1a6c960e4b5655dbda6b55943db9ac79022d0f gst-plugins-bad-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.6.tar.xz.sha256sum +sha256 b4029cd2908a089c55f1d902a565d007495c95b1442d838485dc47fb12df7137 gst-plugins-bad-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index 1713f0b4b8..983be754e9 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BAD_VERSION = 1.22.2 +GST1_PLUGINS_BAD_VERSION = 1.22.6 GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad GST1_PLUGINS_BAD_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:17:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:41 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-devtools: bump to version 1.22.6 Message-ID: <20231013184633.58971848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=24ae784a09136553139b5d07eea70ff633e0f0ec branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 637cf8fdab953d7a77e640fbc10b63166c3b3b20) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-devtools/gst1-devtools.hash | 4 ++-- package/gstreamer1/gst1-devtools/gst1-devtools.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash index 4abdd6ece4..9eada91614 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.2.tar.xz.sha256sum -sha256 eb62726d3e27a8782369a24fd6364a8885ed2462b3bbdab091dffc8139ee06d8 gst-devtools-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.6.tar.xz.sha256sum +sha256 8928560efaf16137c30285e718708e5d0bab0777eb4ef8127e0274e120d3d86b gst-devtools-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk index 7801f9b62c..8608c2f75b 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_DEVTOOLS_VERSION = 1.22.2 +GST1_DEVTOOLS_VERSION = 1.22.6 GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools GST1_DEVTOOLS_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:19:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:19:10 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gstreamer1-editing-services: bump to version 1.22.6 Message-ID: <20231013184633.A121584FCB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=440594bb9b0e477088cce9183a42b9e15dc5547b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 8c8ff426744d5c4977e06b1554185fde69a2f146) Signed-off-by: Peter Korsgaard --- .../gstreamer1-editing-services/gstreamer1-editing-services.hash | 4 ++-- .../gstreamer1-editing-services/gstreamer1-editing-services.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash index 0cdb18ea5d..11e93b8b65 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash @@ -1,5 +1,5 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.2.tar.xz.sha256sum -sha256 453b1464fc3857de269a7cb0ebd966afe02171d97bef672a0b8a0a6d43e0cebf gst-editing-services-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.6.tar.xz.sha256sum +sha256 748d423672c597f876e130804fb984848f5b4b89efd78a506cb17f7646795301 gst-editing-services-1.22.6.tar.xz # Hashes for license files: sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk index 9fdc877db0..bea59f256b 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.2 +GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.6 GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ From peter at korsgaard.com Fri Oct 13 18:23:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:23:16 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series Message-ID: <20231013184633.AE80284FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e7f646b715649ab851b420af024d8cd4f60e8c17 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 003cdd5de31dd6558b02d0a719bc779bb1fc8db5) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 4 ++-- package/linux-headers/Config.in.host | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 731b4288df..ced11e6917 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.1.55" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.1.56" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 99cb880bb7..e66a6cdb7d 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,7 +1,7 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 a87e241ec15d53452c4efe219713a3769d88cc436b5b98cf6efb262c4aff15c0 linux-6.1.55.tar.xz +sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 ef845e7934897b88e4448378ea9daacac19e07f156fe904844fab0a7d8ff5ddd linux-5.15.133.tar.xz +sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 3a2bec1a18..3d76d2eda1 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -388,8 +388,8 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.19.295" if BR2_KERNEL_HEADERS_4_19 default "5.4.257" if BR2_KERNEL_HEADERS_5_4 default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.133" if BR2_KERNEL_HEADERS_5_15 - default "6.1.55" if BR2_KERNEL_HEADERS_6_1 + default "5.15.134" if BR2_KERNEL_HEADERS_5_15 + default "6.1.56" if BR2_KERNEL_HEADERS_6_1 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Fri Oct 13 18:28:56 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:28:56 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231013184633.CF62184FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d2cc929ce7b813d6a13a181b5515dbdd2a18c1c5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit d71743b7360c19d7555529077a47fb14eba8d234) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 12 ++++++------ package/linux-headers/Config.in.host | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index ced11e6917..b5b486cc3e 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.1.56" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.1.57" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index e66a6cdb7d..f52ca6bad1 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,12 +1,12 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz +sha256 f9ebfe3ddc5152d87b37e33be30e31875d137433be10a57ce29d2eae7b6e91b1 linux-6.1.57.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz -sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz -sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz +sha256 14835e629e237f136cfed484fdb533c95242429809bdcdb2a2d66dfcb7447170 linux-5.15.135.tar.xz +sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz +sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 b732c2e4f08576a9dd5bb14213cead3835acbb101a91aaba3d6ace302fd538ac linux-4.19.295.tar.xz -sha256 555ce40f1df4c0f4a74cbefcaad0c67108615860968720faabe51cdee2df1478 linux-4.14.326.tar.xz +sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz +sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 3d76d2eda1..61ff9a6739 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -384,12 +384,12 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.326" if BR2_KERNEL_HEADERS_4_14 - default "4.19.295" if BR2_KERNEL_HEADERS_4_19 - default "5.4.257" if BR2_KERNEL_HEADERS_5_4 - default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.134" if BR2_KERNEL_HEADERS_5_15 - default "6.1.56" if BR2_KERNEL_HEADERS_6_1 + default "4.14.327" if BR2_KERNEL_HEADERS_4_14 + default "4.19.296" if BR2_KERNEL_HEADERS_4_19 + default "5.4.258" if BR2_KERNEL_HEADERS_5_4 + default "5.10.198" if BR2_KERNEL_HEADERS_5_10 + default "5.15.135" if BR2_KERNEL_HEADERS_5_15 + default "6.1.57" if BR2_KERNEL_HEADERS_6_1 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Fri Oct 13 18:17:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:35 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-plugins-ugly: security bump to version 1.22.6 Message-ID: <20231013184633.4F43A84FED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d157536698faafa7ba3eb1212307102a82d9cdbd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issues: ZDI-CAN-21443: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0004.html ZDI-CAN-21444: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0005.html Signed-off-by: Peter Korsgaard (cherry picked from commit 7f2571f594cc87fc7543b5476eeda1bdda4d7264) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash | 4 ++-- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash index ed781df686..f55dd7b3a0 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.2.tar.xz.sha256sum -sha256 8f30f44db0bd063709bf6fbe55138e3a98af0abcb61c360f35582bbe10e80691 gst-plugins-ugly-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.6.tar.xz.sha256sum +sha256 3e31454c98cb2f7f6d2d355eceb933a892fa0f1dc09bc36c9abc930d8e29ca48 gst-plugins-ugly-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk index f1566b058e..ee3bd1b551 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_UGLY_VERSION = 1.22.2 +GST1_PLUGINS_UGLY_VERSION = 1.22.6 GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING From peter at korsgaard.com Fri Oct 13 18:10:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:10:36 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mbedtls: security bump to version 2.28.5 Message-ID: <20231013184632.F1943848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6543b632735196dffd14cf4a233e62d547861a39 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issue: CVE-2023-43615: Buffer overread in TLS stream cipher suites https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2023-10-1/ Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (cherry picked from commit 26762e30090585e8c64333d3ffe4249e7a0b0f43) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 2 +- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 6aa6d0235d..d0cd0b2105 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 62eda6ec99..1b941e04f4 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.4 +MBEDTLS_VERSION = 2.28.5 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 18:19:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:19:01 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst-omx: bump to version 1.22.6 Message-ID: <20231013184633.97838848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ba99b48bd80a338e3b89388e289f46b4ae12f64d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 6339e7f4132230e086a8efc5e266c21fbc3ef3c6) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst-omx/gst-omx.hash | 4 ++-- package/gstreamer1/gst-omx/gst-omx.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst-omx/gst-omx.hash b/package/gstreamer1/gst-omx/gst-omx.hash index d4a95c631a..5878991b5b 100644 --- a/package/gstreamer1/gst-omx/gst-omx.hash +++ b/package/gstreamer1/gst-omx/gst-omx.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.2.tar.xz.sha256sum -sha256 1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2 gst-omx-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.6.tar.xz.sha256sum +sha256 223833c42518ad7eb1923bb4dd3726809f59a66d6e9aaaa69cb29ad0750c8758 gst-omx-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst-omx/gst-omx.mk b/package/gstreamer1/gst-omx/gst-omx.mk index 87f162f715..3d2ba90290 100644 --- a/package/gstreamer1/gst-omx/gst-omx.mk +++ b/package/gstreamer1/gst-omx/gst-omx.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST_OMX_VERSION = 1.22.2 +GST_OMX_VERSION = 1.22.6 GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx From peter at korsgaard.com Fri Oct 13 18:25:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:25:29 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/wireless-regdb: bump version to 2023.09.01 Message-ID: <20231013184633.C4D4784FED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2424d3501241e62ba6d4e6722442757ba307eb70 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 29b6e170b7337c47444a8ef34529eabc2c59567f) Signed-off-by: Peter Korsgaard --- package/wireless-regdb/wireless-regdb.hash | 2 +- package/wireless-regdb/wireless-regdb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wireless-regdb/wireless-regdb.hash b/package/wireless-regdb/wireless-regdb.hash index b4e8dcaf54..71f92aaf91 100644 --- a/package/wireless-regdb/wireless-regdb.hash +++ b/package/wireless-regdb/wireless-regdb.hash @@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc -sha256 f254d08ab3765aeae2b856222e11a95d44aef519a6663877c71ef68fae4c8c12 wireless-regdb-2023.05.03.tar.xz +sha256 26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491 wireless-regdb-2023.09.01.tar.xz # Locally computed sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk index db9c7f42d5..e9003ce2e6 100644 --- a/package/wireless-regdb/wireless-regdb.mk +++ b/package/wireless-regdb/wireless-regdb.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRELESS_REGDB_VERSION = 2023.05.03 +WIRELESS_REGDB_VERSION = 2023.09.01 WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb WIRELESS_REGDB_LICENSE = ISC From peter at korsgaard.com Fri Oct 13 18:41:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:41:45 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: security bump to version 1.20.10 Message-ID: <20231013184633.DF1AE84FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43133fafaec135de86b4f21700d747984ca38aa7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-39325: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. go1.20.10 (released 2023-10-10) includes a security fix to the net/http package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index ac603e6e3b..a4aafbe6e4 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz +sha256 72d2f51805c47150066c103754c75fddb2c19d48c9219fa33d1e46696c841dbb go1.20.10.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index cc374aa44f..c3f88b8682 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.9 +GO_VERSION = 1.20.10 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Fri Oct 13 18:16:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:40 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-plugins-base: security bump to version 1.22.6 Message-ID: <20231013184633.2DD72848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6aa971dffb4e5d1b853be7f1623f72cbec72dd63 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-37328: Heap-based buffer overflow in the subparse subtitle parser when handling certain SRT subtitle files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0002.html Signed-off-by: Peter Korsgaard (cherry picked from commit 14e2374592284ba61384782ced095ea01ab4dfc5) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash | 4 ++-- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash index 173f359afc..a46ce228c4 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz.sha256sum -sha256 eb65120c4ee79b7a153c3c1972d5c0158c2151877cc51ec7725bba5749679d49 gst-plugins-base-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.6.tar.xz.sha256sum +sha256 50f2b4d17c02eefe430bbefa8c5cd134b1be78a53c0f60e951136d96cf49fd4b gst-plugins-base-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk index 153187f743..7fcac012f2 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BASE_VERSION = 1.22.2 +GST1_PLUGINS_BASE_VERSION = 1.22.6 GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base GST1_PLUGINS_BASE_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:18:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:26 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-rtsp-server: bump to version 1.22.6 Message-ID: <20231013184633.7F81D84FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=af3e6c8ebcc07803522b49da0b664e0c38148019 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 7a0cbea0e35ef6f62c0b073fd0724e02235921fc) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash | 4 ++-- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash index c98d10d79c..521a91ddd7 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash @@ -1,4 +1,4 @@ -# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.2.tar.xz.sha256sum -sha256 2be4aecfb88710100ea7115ed0216403e8094344ebf146094271b8d4d73828bf gst-rtsp-server-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.6.tar.xz.sha256sum +sha256 0ae33a8b50443b62f11581a9181e906b41cd3877b2d799dbea72912c3eda4bb3 gst-rtsp-server-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk index 6f5fc4f7aa..46d7606b1d 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_RTSP_SERVER_VERSION = 1.22.2 +GST1_RTSP_SERVER_VERSION = 1.22.6 GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server GST1_RTSP_SERVER_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:18:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:09 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-python: bump to version 1.22.6 Message-ID: <20231013184633.72C9784FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fb980f430f11350680291cb22914d6ffeecb7a82 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 3aff0c2cde63cc19ac8ea5ce50adfd19567f04b2) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-python/gst1-python.hash | 4 ++-- package/gstreamer1/gst1-python/gst1-python.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-python/gst1-python.hash b/package/gstreamer1/gst1-python/gst1-python.hash index 006d4985ef..4495e03945 100644 --- a/package/gstreamer1/gst1-python/gst1-python.hash +++ b/package/gstreamer1/gst1-python/gst1-python.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.2.tar.xz.sha256sum -sha256 bef2b3d82ce4be46b775b1bb56305c1003ee01b535a53a82f9fe8924972153ad gst-python-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.6.tar.xz.sha256sum +sha256 51de2d6d13b12ce095eac97c0b94ee59c2aeba3712bb7462b78c4d57dde176c5 gst-python-1.22.6.tar.xz sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/package/gstreamer1/gst1-python/gst1-python.mk b/package/gstreamer1/gst1-python/gst1-python.mk index 527d101786..475f2f2d87 100644 --- a/package/gstreamer1/gst1-python/gst1-python.mk +++ b/package/gstreamer1/gst1-python/gst1-python.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PYTHON_VERSION = 1.22.2 +GST1_PYTHON_VERSION = 1.22.6 GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python GST1_PYTHON_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:18:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:38 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-rtsp-vaapi: bump to version 1.22.6 Message-ID: <20231013184633.8B21A84FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=718fcd47eda9586dcd2919d07fbd2ec652100cb9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 688dcef3d7d2f72119320280dd63726787b1486b) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-vaapi/gst1-vaapi.hash | 4 ++-- package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash index 2fdec4e83f..53dbe97ca9 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.2.tar.xz.sha256sum -sha256 d2e642f9745f97d9f73a7f5085e7659a9a31fe209b774e6e45dae041b435df06 gstreamer-vaapi-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.6.tar.xz.sha256sum +sha256 d9ba2fc26bef98c78e982c599f585d46bbb65fe122da89c2d7ab41f468a52c7b gstreamer-vaapi-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk index cae239094a..46a5839450 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_VAAPI_VERSION = 1.22.2 +GST1_VAAPI_VERSION = 1.22.6 GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz GST1_VAAPI_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:24:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:24:48 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/python3: bump version to 3.11.6 Message-ID: <20231013184633.BB6DA848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5d99a2a05054adef3b6e6a6a7aa9df7a3b84cb34 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Release notes: https://www.python.org/downloads/release/python-3116/ Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 337485b232dd452937fd2f96de0a596c968f4b47) Signed-off-by: Peter Korsgaard --- package/python3/python3.hash | 6 +++--- package/python3/python3.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 1a0fee3290..39a16c1f71 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3115/ -md5 393856f1b7713aa8bba4b642ab9985d3 Python-3.11.5.tar.xz +# From https://www.python.org/downloads/release/python-3116/ +md5 d0c5a1a31efe879723e51addf56dd206 Python-3.11.6.tar.xz # Locally computed -sha256 85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f Python-3.11.5.tar.xz +sha256 0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 Python-3.11.6.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cfe5e1ee6e..b9c5054a21 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.11 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).5 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).6 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others From bernd at kuhls.net Fri Oct 13 18:45:54 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 20:45:54 +0200 Subject: [Buildroot] [PATCH 4/4] package/alsa-utils: fix UMP support detection In-Reply-To: <20231013184554.337101-1-bernd@kuhls.net> References: <20231013184554.337101-1-bernd@kuhls.net> Message-ID: <20231013184554.337101-4-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ Signed-off-by: Bernd Kuhls --- ...nfigure.ac-fix-UMP-support-detection.patch | 38 +++++++++++++++++++ package/alsa-utils/alsa-utils.mk | 2 + 2 files changed, 40 insertions(+) create mode 100644 package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch diff --git a/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch new file mode 100644 index 0000000000..66cf051733 --- /dev/null +++ b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch @@ -0,0 +1,38 @@ +From 8a0da6d4484cd2ca4f1939a6c44941e070db2147 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 13 Oct 2023 20:32:32 +0200 +Subject: [PATCH] configure.ac: fix UMP support detection + +https://github.com/alsa-project/alsa-utils/commit/b399fb85a919636b7da34e8bcf17f484dd9046f7 +added usage of alsa/ump_msg.h without checking whether alsa-lib was +compiled with rawmidi support: +https://github.com/alsa-project/alsa-lib/blob/master/include/Makefile.am#L37 + +Fixes a build error when alsa-lib was compiled with --disable-rawmidi + +aplaymidi.c:34:10: fatal error: alsa/ump_msg.h: No such file or directory + 34 | #include + +Upstream: https://github.com/alsa-project/alsa-utils/pull/240 + +Signed-off-by: Bernd Kuhls +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index beb4963..4217741 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,7 +55,7 @@ if test "$HAVE_SEQ_CLIENT_INFO_GET_PID" = "yes" ; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid]) + fi + AC_CHECK_LIB([asound], [snd_seq_client_info_get_midi_version], [HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION="yes"]) +-if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" ; then ++if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" -a "$have_rawmidi" = "yes"; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION], 1, [alsa-lib supports snd_seq_client_info_get_midi_version]) + fi + AC_CHECK_LIB([atopology], [snd_tplg_save], [have_topology="yes"], [have_topology="no"]) +-- +2.39.2 + diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk index 7487e3c2bb..6f6021400e 100644 --- a/package/alsa-utils/alsa-utils.mk +++ b/package/alsa-utils/alsa-utils.mk @@ -9,6 +9,8 @@ ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils ALSA_UTILS_LICENSE = GPL-2.0 ALSA_UTILS_LICENSE_FILES = COPYING +# 0011-configure.ac-fix-UMP-support-detection.patch +ALSA_UTILS_AUTORECONF = YES ALSA_UTILS_INSTALL_STAGING = YES ALSA_UTILS_DEPENDENCIES = host-pkgconf alsa-lib \ $(if $(BR2_PACKAGE_NCURSES),ncurses) \ -- 2.39.2 From peter at korsgaard.com Fri Oct 13 18:44:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:44:30 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libcue: security bump to version 2.3.0 Message-ID: <20231013184633.EA61184FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1dedb69aef6b1d495eb255fa4a3d6917913df13c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issue: CVE-2023-43641: Out-of-bounds array access in track_set_index https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj For more details, see the github writeup: https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ Signed-off-by: Peter Korsgaard (cherry picked from commit 3aee3a326d37ae5ddaf99bbc7bcf26a5c1ea7b2a) Signed-off-by: Peter Korsgaard --- package/libcue/libcue.hash | 2 +- package/libcue/libcue.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcue/libcue.hash b/package/libcue/libcue.hash index 93ae2dacdb..47fe906e1a 100644 --- a/package/libcue/libcue.hash +++ b/package/libcue/libcue.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 f27bc3ebb2e892cd9d32a7bee6d84576a60f955f29f748b9b487b173712f1200 libcue-2.2.1.tar.gz +sha256 cc1b3a65c60bd88b77a1ddd1574042d83cf7cc32b85fe9481c99613359eb7cfe libcue-2.3.0.tar.gz sha256 c388d36583fa54e13b6d73ad924d0b68d073ed8a5771e17cb49104705df4504f LICENSE diff --git a/package/libcue/libcue.mk b/package/libcue/libcue.mk index 3edb4f3b69..7ef27f5a17 100644 --- a/package/libcue/libcue.mk +++ b/package/libcue/libcue.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCUE_VERSION = 2.2.1 +LIBCUE_VERSION = 2.3.0 LIBCUE_SITE = $(call github,lipnitsk,libcue,v$(LIBCUE_VERSION)) LIBCUE_LICENSE = GPL-2.0, BSD-2-Clause (rem.c) LIBCUE_LICENSE_FILES = LICENSE From bernd at kuhls.net Fri Oct 13 19:48:52 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 21:48:52 +0200 Subject: [Buildroot] [PATCH 2/2] package/alsa-utils: bump version to 1.2.10 References: <20230923114713.1466381-1-bernd@kuhls.net> <20230923114713.1466381-2-bernd@kuhls.net> <20230930144927.57fe951f__30987.6495086186$1696078194$gmane$org@windsurf> Message-ID: Am Sat, 30 Sep 2023 15:01:21 +0200 schrieb Bernd Kuhls: > yes, I saw that error as well but left it for the moment due to time > constraints. Hi, finally found some time to fix the error, sent a new patch series https://patchwork.ozlabs.org/project/buildroot/list/?series=377557 containing the previous three patches and a new one. Hopefully all build errors will be fixed by them. Regards, Bernd From gael.portay at rtone.fr Fri Oct 13 20:25:28 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 22:25:28 +0200 Subject: [Buildroot] [PATCH] board/raspberrypi: fix typo in comment Message-ID: <20231013202528.164224-1-gael.portay@rtone.fr> This fixes a typo by dropping off the spurious x in ensure. Signed-off-by: Ga?l PORTAY --- board/raspberrypi/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh index 38fdc80734..0bd7bc3d17 100755 --- a/board/raspberrypi/post-build.sh +++ b/board/raspberrypi/post-build.sh @@ -15,5 +15,5 @@ elif [ -d ${TARGET_DIR}/etc/systemd ]; then "${TARGET_DIR}/etc/systemd/system/getty.target.wants/getty at tty1.service" fi -# exnsure overlays exists for genimage +# ensure overlays exists for genimage mkdir -p "${BINARIES_DIR}/rpi-firmware/overlays" -- 2.42.0 From giulio.benetti at benettiengineering.com Fri Oct 13 20:37:22 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 22:37:22 +0200 Subject: [Buildroot] [PATCH v3 2/4] package/libtracefs: new package In-Reply-To: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> References: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> Message-ID: <20231013203724.120389-2-giulio.benetti@benettiengineering.com> From: Maxime Chevallier Introduce the libtracefs library, that used to be bundled with the trace-cmd tool. This library is now used by several tools and libraries such as trace-cmd and rtla, and is used as an interface to the ftrace kernel subsystem through tracefs. This package tries to install libraries in /usr/local/lib by default, hence the redefinition of the "prefix" variable, so that the library gets installed in "/usr/lib" instead. The same applies to the pkgconfig handling of the proved Makefile, which installs the .pc files in the /usr/local area by default, hence the redefinition of the pkgconfig_dir to either the correct directory within the staging area, or to empty value for the target to avoid installing the .pc in that case. Signed-off-by: Maxime Chevallier [Giulio: bump version to 1.7.0 and add hash file] Signed-off-by: Giulio Benetti --- Giulio: V1->V2: * bump to version 1.7.0 * add hash file --- DEVELOPERS | 1 + package/Config.in | 1 + package/libtracefs/Config.in | 6 +++++ package/libtracefs/libtracefs.hash | 4 ++++ package/libtracefs/libtracefs.mk | 35 ++++++++++++++++++++++++++++++ 5 files changed, 47 insertions(+) create mode 100644 package/libtracefs/Config.in create mode 100644 package/libtracefs/libtracefs.hash create mode 100644 package/libtracefs/libtracefs.mk diff --git a/DEVELOPERS b/DEVELOPERS index e426f65cc2..8932c88953 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2113,6 +2113,7 @@ F: package/timescaledb/ N: Maxime Chevallier F: package/libtraceevent/ +F: package/libtracefs N: Michael Durrant F: board/arcturus/ diff --git a/package/Config.in b/package/Config.in index 2b3d3e612f..821bd1b366 100644 --- a/package/Config.in +++ b/package/Config.in @@ -118,6 +118,7 @@ menu "Debugging, profiling and benchmark" source "package/latencytop/Config.in" source "package/libbpf/Config.in" source "package/libtraceevent/Config.in" + source "package/libtracefs/Config.in" source "package/lmbench/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" diff --git a/package/libtracefs/Config.in b/package/libtracefs/Config.in new file mode 100644 index 0000000000..92ce0986df --- /dev/null +++ b/package/libtracefs/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBTRACEFS + bool "libtracefs" + select BR2_PACKAGE_LIBTRACEEVENT + help + libtracefs is used to easily interface with the ftrace + interface through the tracefs virtual filesystem. diff --git a/package/libtracefs/libtracefs.hash b/package/libtracefs/libtracefs.hash new file mode 100644 index 0000000000..676fcf1111 --- /dev/null +++ b/package/libtracefs/libtracefs.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 diff --git a/package/libtracefs/libtracefs.mk b/package/libtracefs/libtracefs.mk new file mode 100644 index 0000000000..0b32b2102a --- /dev/null +++ b/package/libtracefs/libtracefs.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# libtracefs +# +################################################################################ + +LIBTRACEFS_VERSION = 1.7.0 +LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot +LIBTRACEFS_INSTALL_STAGING = YES +LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1 +LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +LIBTRACEFS_DEPENDENCIES = host-pkgconf libtraceevent + +define LIBTRACEFS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define LIBTRACEFS_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(STAGING_DIR) \ + pkgconfig_dir="/usr/lib/pkgconfig" \ + prefix="/usr" \ + install +endef + +define LIBTRACEFS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(TARGET_DIR) \ + pkgconfig_dir="" \ + prefix="/usr" \ + install +endef + +$(eval $(generic-package)) -- 2.34.1 From giulio.benetti at benettiengineering.com Fri Oct 13 20:37:21 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 22:37:21 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/libtraceevent: new package Message-ID: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> From: Maxime Chevallier Introduce the libtraceevent library, that used to be bundled with the trace-cmd tool. This library is now used by several tools and libraries such as trace-cmd, libtracefs and rtla. This package tries to install libraries in /usr/local/lib by default, hence the redefinition of the "prefix" variable, so that the library gets installed in "/usr/lib" instead. The same applies to the pkgconfig handling of the proved Makefile, which installs the .pc files in the /usr/local area by default, hence the redefinition of the pkgconfig_dir to either the correct directory within the staging area, or to empty value for the target to avoid installing the .pc in that case. Signed-off-by: Maxime Chevallier [Giulio: bump version to 1.7.3 and add hash file] Signed-off-by: Giulio Benetti --- Giulio: V1->V2: * bump to version 1.7.3 * add hash file --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/libtraceevent/Config.in | 9 +++++++ package/libtraceevent/libtraceevent.hash | 4 +++ package/libtraceevent/libtraceevent.mk | 33 ++++++++++++++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 package/libtraceevent/Config.in create mode 100644 package/libtraceevent/libtraceevent.hash create mode 100644 package/libtraceevent/libtraceevent.mk diff --git a/DEVELOPERS b/DEVELOPERS index 06583c3c0a..e426f65cc2 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2111,6 +2111,9 @@ F: package/postgresql/ F: package/protozero/ F: package/timescaledb/ +N: Maxime Chevallier +F: package/libtraceevent/ + N: Michael Durrant F: board/arcturus/ F: configs/arcturus_ucp1020_defconfig diff --git a/package/Config.in b/package/Config.in index f4399a6021..2b3d3e612f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -117,6 +117,7 @@ menu "Debugging, profiling and benchmark" source "package/kyua/Config.in" source "package/latencytop/Config.in" source "package/libbpf/Config.in" + source "package/libtraceevent/Config.in" source "package/lmbench/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" diff --git a/package/libtraceevent/Config.in b/package/libtraceevent/Config.in new file mode 100644 index 0000000000..d351e3b4de --- /dev/null +++ b/package/libtraceevent/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBTRACEEVENT + bool "libtraceevent" + help + libtraceevent is a library that interfaces with the ftrace + subsystem in the linux kernel. + It used to be bundled directly in the trace-cmd + tool, but it was eventually extracted so that it can be used + by multiple other tools and libraries, such as libtracefs and + rtla. diff --git a/package/libtraceevent/libtraceevent.hash b/package/libtraceevent/libtraceevent.hash new file mode 100644 index 0000000000..15c4883afd --- /dev/null +++ b/package/libtraceevent/libtraceevent.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 097b72e0d907f3107825fb2edf0188324bf70dc9da360f6efa68dc484ffde541 libtraceevent-1.7.3.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 diff --git a/package/libtraceevent/libtraceevent.mk b/package/libtraceevent/libtraceevent.mk new file mode 100644 index 0000000000..75c23f7410 --- /dev/null +++ b/package/libtraceevent/libtraceevent.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# libtraceevent +# +################################################################################ + +LIBTRACEEVENT_VERSION = 1.7.3 +LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot +LIBTRACEEVENT_INSTALL_STAGING = YES +LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 +LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +define LIBTRACEEVENT_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define LIBTRACEEVENT_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(STAGING_DIR) \ + pkgconfig_dir="/usr/lib/pkgconfig" \ + prefix="/usr" \ + install +endef + +define LIBTRACEEVENT_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(TARGET_DIR) \ + pkgconfig_dir="" \ + prefix="/usr" \ + install +endef + +$(eval $(generic-package)) -- 2.34.1 From giulio.benetti at benettiengineering.com Fri Oct 13 20:37:23 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 22:37:23 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/linux-tools: add rtla In-Reply-To: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> References: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> Message-ID: <20231013203724.120389-3-giulio.benetti@benettiengineering.com> From: Maxime Chevallier The RealTime Linux Analysis tool includes a set of commands that relies on the osnoise and timerlat tracers from the ftrace kernel subsystem, allowing to analyze the lantency sources coming from the hardware and the kernel itself. This tool was introduced in v5.17, and relies on libtracefs and libtraceevent, although libtraceevent itself is already a dependency for libtracefs. Signed-off-by: Maxime Chevallier [Giulio: fix install on recent Linux versions] Signed-off-by: Giulio Benetti --- Giulio: V1->V2: * fix install with recent Linux versions V2->V3: * deal with hwnoise presence as suggested by Yann Morin * change Config.in comment according to the point above --- DEVELOPERS | 1 + package/linux-tools/Config.in | 10 ++++++ package/linux-tools/linux-tool-rtla.mk.in | 40 +++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 package/linux-tools/linux-tool-rtla.mk.in diff --git a/DEVELOPERS b/DEVELOPERS index 8932c88953..86496f6cc5 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2114,6 +2114,7 @@ F: package/timescaledb/ N: Maxime Chevallier F: package/libtraceevent/ F: package/libtracefs +F: package/linux-tools/linux-tool-rtla.mk.in N: Michael Durrant F: board/arcturus/ diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in index 451b0eeff5..4df73159be 100644 --- a/package/linux-tools/Config.in +++ b/package/linux-tools/Config.in @@ -102,6 +102,16 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3 endif +config BR2_PACKAGE_LINUX_TOOLS_RTLA + bool "rtla" + select BR2_PACKAGE_LINUX_TOOLS + select BR2_PACKAGE_LIBTRACEFS + help + Linux 5.19 and later has 2 new tracers, osnoise and timerlat. + Linux 6.3 has new tracer hwnoise. These tracers allow performing + latency analysis, for which the rtla tool provides wrapper + commands to visualize and extract latency traces and reports. + config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS bool"selftests" depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash diff --git a/package/linux-tools/linux-tool-rtla.mk.in b/package/linux-tools/linux-tool-rtla.mk.in new file mode 100644 index 0000000000..04b98f443d --- /dev/null +++ b/package/linux-tools/linux-tool-rtla.mk.in @@ -0,0 +1,40 @@ +################################################################################ +# +# rtla +# +################################################################################ + +LINUX_TOOLS += rtla + +RTLA_DEPENDENCIES = host-pkgconf libtracefs +RTLA_MAKE_OPTS = $(LINUX_MAKE_FLAGS) \ + CC=$(TARGET_CC) \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig + +define RTLA_BUILD_CMDS + $(Q)if ! grep install $(LINUX_DIR)/tools/tracing/rtla/Makefile >/dev/null 2>&1 ; then \ + echo "Your kernel version is too old and does not implement the rtla tool." ; \ + echo "At least kernel 5.19 must be used." ; \ + exit 1 ; \ + fi + + $(TARGET_MAKE_ENV) \ + $(MAKE) $(RTLA_MAKE_OPTS) \ + -C $(LINUX_DIR)/tools/tracing rtla +endef + +# make rtla_install build and install by default documentation using rst2man +# but it's not available in Buildroot and we don't want manual files in target +# folder so let's simply install the resulting rtla binary and create symlinks +# like Linux does in its tools/tracing/rtla/Makefile +define RTLA_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(LINUX_DIR)/tools/tracing/rtla/rtla $(TARGET_DIR)/usr/bin + ln -sf rtla $(TARGET_DIR)/usr/bin/osnoise + ln -sf rtla $(TARGET_DIR)/usr/bin/timerlat + + # Check if hwnoise is provided or not + if grep -q hwnoise $(LINUX_DIR)/tools/tracing/rtla/Makefile; then \ + ln -sf rtla $(TARGET_DIR)/usr/bin/hwnoise ; \ + fi +endef -- 2.34.1 From giulio.benetti at benettiengineering.com Fri Oct 13 20:37:24 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 22:37:24 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/trace-cmd: bump to 3.1.7 In-Reply-To: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> References: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> Message-ID: <20231013203724.120389-4-giulio.benetti@benettiengineering.com> From: Maxime Chevallier trace-cmd's dependencies 'libtracefs' and 'libtraceevent' were split into dedicated projects, maintained outside of trace-cmd. This release, on top of bumping the version, adds this new dependencies. Signed-off-by: Maxime Chevallier [Giulio: bump to version 3.1.7] Signed-off-by: Giulio Benetti --- Giulio: V1->V2: * bump to version 3.1.7 --- package/trace-cmd/Config.in | 2 ++ package/trace-cmd/trace-cmd.hash | 2 +- package/trace-cmd/trace-cmd.mk | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 2d0accd7ae..00b9ebbd9a 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -4,6 +4,8 @@ config BR2_PACKAGE_TRACE_CMD depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() + select BR2_PACKAGE_LIBTRACEEVENT + select BR2_PACKAGE_LIBTRACEFS help Command line reader for ftrace. diff --git a/package/trace-cmd/trace-cmd.hash b/package/trace-cmd/trace-cmd.hash index 4d39e4d5ea..6edcaf0e1c 100644 --- a/package/trace-cmd/trace-cmd.hash +++ b/package/trace-cmd/trace-cmd.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 a74d9ade2633b88d0ad199360d51996427e23f4835594133e456cd6e3bd3a651 trace-cmd-v2.9.7.tar.gz +sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk index 52bb99036c..3d4d88c964 100644 --- a/package/trace-cmd/trace-cmd.mk +++ b/package/trace-cmd/trace-cmd.mk @@ -4,14 +4,14 @@ # ################################################################################ -TRACE_CMD_VERSION = 2.9.7 +TRACE_CMD_VERSION = 3.1.7 TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz TRACE_CMD_SITE = \ https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 -TRACE_CMD_DEPENDENCIES = host-pkgconf +TRACE_CMD_DEPENDENCIES = host-pkgconf libtracefs libtraceevent TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc ifeq ($(BR2_PACKAGE_AUDIT),y) @@ -34,6 +34,8 @@ ifeq ($(BR2_sparc64),y) TRACE_CMD_CFLAGS += -fPIC endif +TRACE_CMD_CFLAGS += $($(HOST_DIR)/bin/pkg-config --cflags libtracefs) + # trace-cmd use CPPFLAGS to add some extra flags. # But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE # that causes build problems. -- 2.34.1 From fontaine.fabrice at gmail.com Fri Oct 13 21:08:30 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 13 Oct 2023 23:08:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/mutt: fix libgpgme static build Message-ID: <20231013210830.143696-1-fontaine.fabrice@gmail.com> Fix the following static build failure with libgpgme raised since at least bump to version 2.2.9 in commit 7a2afdb7b1180bed3b6ad92c22c908805467ead3: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): in function `my_usleep': assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' Fixes: - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 Signed-off-by: Fabrice Fontaine --- package/mutt/mutt.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk index 09f547a091..2fe7b92b38 100644 --- a/package/mutt/mutt.mk +++ b/package/mutt/mutt.mk @@ -40,7 +40,11 @@ MUTT_CONF_OPTS += \ # Force the path to "gpgrt-config" (from the libgpg-error package) to # avoid using the one on host, if present. -MUTT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +MUTT_GPGRT_CONFIG = $(STAGING_DIR)/usr/bin/gpgrt-config +ifeq ($(BR2_STATIC_LIBS),y) +MUTT_GPGRT_CONFIG += --static +endif +MUTT_CONF_ENV += GPGRT_CONFIG="$(MUTT_GPGRT_CONFIG)" else MUTT_CONF_OPTS += --disable-gpgme endif -- 2.42.0 From giulio.benetti at benettiengineering.com Fri Oct 13 21:08:41 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 23:08:41 +0200 Subject: [Buildroot] [PATCH 2/2] board/bananapi/bananapi-m2-ultra: switch to use extlinux.conf In-Reply-To: <20231013210841.153788-1-giulio.benetti@benettiengineering.com> References: <20231013210841.153788-1-giulio.benetti@benettiengineering.com> Message-ID: <20231013210841.153788-2-giulio.benetti@benettiengineering.com> While switching bump Linux version to 6.1.57 and U-Boot version to 2023.10. Signed-off-by: Giulio Benetti --- board/bananapi/bananapi-m2-ultra/boot.cmd | 7 ------- board/bananapi/bananapi-m2-ultra/extlinux.conf | 4 ++++ board/bananapi/bananapi-m2-ultra/genimage.cfg | 18 ------------------ board/bananapi/bananapi-m2-ultra/post-build.sh | 5 +++++ configs/bananapi_m2_ultra_defconfig | 9 ++++----- 5 files changed, 13 insertions(+), 30 deletions(-) delete mode 100644 board/bananapi/bananapi-m2-ultra/boot.cmd create mode 100644 board/bananapi/bananapi-m2-ultra/extlinux.conf create mode 100755 board/bananapi/bananapi-m2-ultra/post-build.sh diff --git a/board/bananapi/bananapi-m2-ultra/boot.cmd b/board/bananapi/bananapi-m2-ultra/boot.cmd deleted file mode 100644 index 9c24eabff6..0000000000 --- a/board/bananapi/bananapi-m2-ultra/boot.cmd +++ /dev/null @@ -1,7 +0,0 @@ -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -mmc dev 0 -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun8i-r40-bananapi-m2-ultra.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/bananapi/bananapi-m2-ultra/extlinux.conf b/board/bananapi/bananapi-m2-ultra/extlinux.conf new file mode 100644 index 0000000000..f5f35c1d8f --- /dev/null +++ b/board/bananapi/bananapi-m2-ultra/extlinux.conf @@ -0,0 +1,4 @@ +label Bananapi M2 Ultra linux + kernel /boot/zImage + devicetree /boot/sun8i-r40-bananapi-m2-ultra.dtb + append console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait diff --git a/board/bananapi/bananapi-m2-ultra/genimage.cfg b/board/bananapi/bananapi-m2-ultra/genimage.cfg index 88324f1f24..92c8677545 100644 --- a/board/bananapi/bananapi-m2-ultra/genimage.cfg +++ b/board/bananapi/bananapi-m2-ultra/genimage.cfg @@ -1,15 +1,3 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-r40-bananapi-m2-ultra.dtb", - "boot.scr" - } - } - - size = 64M -} - image sdcard.img { hdimage { } @@ -21,12 +9,6 @@ image sdcard.img { size = 1016K # 1MB - 8KB } - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - partition rootfs { partition-type = 0x83 image = "rootfs.ext4" diff --git a/board/bananapi/bananapi-m2-ultra/post-build.sh b/board/bananapi/bananapi-m2-ultra/post-build.sh new file mode 100755 index 0000000000..1f5ff6a611 --- /dev/null +++ b/board/bananapi/bananapi-m2-ultra/post-build.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/configs/bananapi_m2_ultra_defconfig b/configs/bananapi_m2_ultra_defconfig index 0f267021f8..6b2ba13e41 100644 --- a/configs/bananapi_m2_ultra_defconfig +++ b/configs/bananapi_m2_ultra_defconfig @@ -2,21 +2,23 @@ BR2_arm=y BR2_cortex_a7=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Ultra" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/bananapi/bananapi-m2-ultra/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-ultra/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.12" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-r40-bananapi-m2-ultra" +BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m2_berry" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y @@ -27,6 +29,3 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m2-ultra/boot.cmd" -- 2.34.1 From giulio.benetti at benettiengineering.com Fri Oct 13 21:08:40 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 23:08:40 +0200 Subject: [Buildroot] [PATCH 1/2] board/bananapi/bananapi-m2-berry: switch to use extlinux.conf Message-ID: <20231013210841.153788-1-giulio.benetti@benettiengineering.com> While switching bump Linux version to 6.1.57 and U-Boot version to 2023.10. Signed-off-by: Giulio Benetti --- board/bananapi/bananapi-m2-berry/boot.cmd | 7 ------- board/bananapi/bananapi-m2-berry/extlinux.conf | 4 ++++ board/bananapi/bananapi-m2-berry/genimage.cfg | 18 ------------------ board/bananapi/bananapi-m2-berry/post-build.sh | 5 +++++ configs/bananapi_m2_berry_defconfig | 9 ++++----- 5 files changed, 13 insertions(+), 30 deletions(-) delete mode 100644 board/bananapi/bananapi-m2-berry/boot.cmd create mode 100644 board/bananapi/bananapi-m2-berry/extlinux.conf create mode 100755 board/bananapi/bananapi-m2-berry/post-build.sh diff --git a/board/bananapi/bananapi-m2-berry/boot.cmd b/board/bananapi/bananapi-m2-berry/boot.cmd deleted file mode 100644 index 9efb6bc89d..0000000000 --- a/board/bananapi/bananapi-m2-berry/boot.cmd +++ /dev/null @@ -1,7 +0,0 @@ -setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait - -mmc dev 0 -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun8i-v40-bananapi-m2-berry.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/bananapi/bananapi-m2-berry/extlinux.conf b/board/bananapi/bananapi-m2-berry/extlinux.conf new file mode 100644 index 0000000000..1f1b4f5cf3 --- /dev/null +++ b/board/bananapi/bananapi-m2-berry/extlinux.conf @@ -0,0 +1,4 @@ +label Bananapi M2 Berry linux + kernel /boot/zImage + devicetree /boot/sun8i-v40-bananapi-m2-berry.dtb + append console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait diff --git a/board/bananapi/bananapi-m2-berry/genimage.cfg b/board/bananapi/bananapi-m2-berry/genimage.cfg index 535f3dffee..92c8677545 100644 --- a/board/bananapi/bananapi-m2-berry/genimage.cfg +++ b/board/bananapi/bananapi-m2-berry/genimage.cfg @@ -1,15 +1,3 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-v40-bananapi-m2-berry.dtb", - "boot.scr" - } - } - - size = 64M -} - image sdcard.img { hdimage { } @@ -21,12 +9,6 @@ image sdcard.img { size = 1016K # 1MB - 8KB } - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - partition rootfs { partition-type = 0x83 image = "rootfs.ext4" diff --git a/board/bananapi/bananapi-m2-berry/post-build.sh b/board/bananapi/bananapi-m2-berry/post-build.sh new file mode 100755 index 0000000000..1f5ff6a611 --- /dev/null +++ b/board/bananapi/bananapi-m2-berry/post-build.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/configs/bananapi_m2_berry_defconfig b/configs/bananapi_m2_berry_defconfig index 300261d07f..200257ac0d 100644 --- a/configs/bananapi_m2_berry_defconfig +++ b/configs/bananapi_m2_berry_defconfig @@ -2,21 +2,23 @@ BR2_arm=y BR2_cortex_a7=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Berry" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/bananapi/bananapi-m2-berry/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-berry/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.38" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-v40-bananapi-m2-berry" +BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m2_berry" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y @@ -26,6 +28,3 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m2-berry/boot.cmd" -- 2.34.1 From veredz72 at gmail.com Fri Oct 13 21:09:19 2023 From: veredz72 at gmail.com (Zvi Vered) Date: Sat, 14 Oct 2023 00:09:19 +0300 Subject: [Buildroot] buildroot 2021.02.1: black screen after Xorg launched Message-ID: Hello, Using buildroot 2021.02.1 for x64 I built root file system that contain Xorg. Right after Xorg is launched I got black screen. According to Xorg.0.0.log (attached) there is no error. I tried to run: xeyes and got: Can't open display I noticed the following lines in Xorg.0.0.log: Code: [ 5.116] (==) No Layout section. Using the first Screen section. [ 5.116] (==) No screen section available. Using defaults. [ 5.116] (**) |-->Screen "Default Screen Section" (0) [ 5.116] (**) | |-->Monitor "" [ 5.117] (==) No monitor specified for screen "Default Screen Section". On the same PC I booted Knoppix 9.1. Xorg works fine. I noticed that Knoppix contains several files in: /usr/share/X11/xorg.conf.d But in my file system this folder contains only the file: 10-quirks.conf Can you please advise what can be the reason for the black screen ? Thank you, Zvika -------------------------------------------------------------Xorg.0.0.log ------------------------------------- [ 5.080] X.Org X Server 1.20.10 X Protocol Version 11, Revision 0 [ 5.080] Build Operating System: Linux 5.4.0-150-generic x86_64 [ 5.080] Current Operating System: Linux buildroot 4.19.135 #2 SMP Sat Aug 12 21:28:59 IDT 2023 x86_64 [ 5.080] Kernel command line: BOOT_IMAGE=/boot/bzImage root=/dev/sdb2 ip=:::::eth0:on [ 5.080] Build Date: 09 October 2023 11:15:40PM [ 5.080] [ 5.080] Current version of pixman: 0.40.0 [ 5.080] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 5.080] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 5.080] (==) Log file: "/var/log/Xorg.0.0.log", Time: Fri Oct 13 23:00:12 2023 [ 5.082] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 5.083] (==) No Layout section. Using the first Screen section. [ 5.083] (==) No screen section available. Using defaults. [ 5.083] (**) |-->Screen "Default Screen Section" (0) [ 5.083] (**) | |-->Monitor "" [ 5.083] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 5.083] (==) Automatically adding devices [ 5.083] (==) Automatically enabling devices [ 5.083] (==) Automatically adding GPU devices [ 5.084] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 5.085] (WW) The directory "/usr/share/fonts/X11//TTF/" does not exist. [ 5.085] Entry deleted from font path. [ 5.085] (WW) The directory "/usr/share/fonts/X11//OTF/" does not exist. [ 5.085] Entry deleted from font path. [ 5.085] (WW) The directory "/usr/share/fonts/X11//Type1/" does not exist. [ 5.085] Entry deleted from font path. [ 5.086] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11//100dpi/". [ 5.086] Entry deleted from font path. [ 5.086] (Run 'mkfontdir' on "/usr/share/fonts/X11//100dpi/"). [ 5.086] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11//75dpi/". [ 5.086] Entry deleted from font path. [ 5.086] (Run 'mkfontdir' on "/usr/share/fonts/X11//75dpi/"). [ 5.086] (==) FontPath set to: /usr/share/fonts/X11//misc/ [ 5.086] (==) ModulePath set to "/usr/lib/xorg/modules" [ 5.086] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 5.086] (II) Loader magic: 0x5feb40 [ 5.086] (II) Module ABI versions: [ 5.086] X.Org ANSI C Emulation: 0.4 [ 5.086] X.Org Video Driver: 24.1 [ 5.086] X.Org XInput driver : 24.1 [ 5.086] X.Org Server Extension : 10.0 [ 5.086] (II) xfree86: Adding drm device (/dev/dri/card0) [ 5.100] (--) PCI:*(0 at 0:2:0) 8086:3e92:1043:872f rev 0, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072 [ 5.100] (--) PCI: (1 at 0:0:0) 10de:1b06:1043:85e5 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288 [ 5.100] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [ 5.100] (==) Matched intel as autoconfigured driver 0 [ 5.100] (==) Matched modesetting as autoconfigured driver 1 [ 5.100] (==) Matched fbdev as autoconfigured driver 2 [ 5.100] (==) Matched vesa as autoconfigured driver 3 [ 5.100] (==) Assigned the driver to the xf86ConfigLayout [ 5.100] (II) LoadModule: "intel" [ 5.101] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [ 5.104] (II) Module intel: vendor="X.Org Foundation" [ 5.104] compiled for 1.20.10, module version = 2.99.917 [ 5.104] Module class: X.Org Video Driver [ 5.104] ABI class: X.Org Video Driver, version 24.1 [ 5.104] (II) LoadModule: "modesetting" [ 5.104] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 5.105] (II) Module modesetting: vendor="X.Org Foundation" [ 5.105] compiled for 1.20.10, module version = 1.20.10 [ 5.105] Module class: X.Org Video Driver [ 5.105] ABI class: X.Org Video Driver, version 24.1 [ 5.106] (II) LoadModule: "fbdev" [ 5.106] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 5.106] (II) Module fbdev: vendor="X.Org Foundation" [ 5.106] compiled for 1.20.10, module version = 0.5.0 [ 5.106] Module class: X.Org Video Driver [ 5.106] ABI class: X.Org Video Driver, version 24.1 [ 5.106] (II) LoadModule: "vesa" [ 5.106] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 5.107] (II) Module vesa: vendor="X.Org Foundation" [ 5.107] compiled for 1.20.10, module version = 2.5.0 [ 5.107] Module class: X.Org Video Driver [ 5.107] ABI class: X.Org Video Driver, version 24.1 [ 5.107] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 [ 5.107] (II) intel: Driver for Intel(R) HD Graphics [ 5.107] (II) intel: Driver for Intel(R) Iris(TM) Graphics [ 5.107] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics [ 5.107] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 5.107] (II) FBDEV: driver for framebuffer: fbdev [ 5.107] (II) VESA: driver for VESA chipsets: vesa [ 5.107] (++) using VT number 1 [ 5.107] (WW) xf86OpenConsole: setpgid failed: Operation not permitted [ 5.108] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20180719 [ 5.122] (WW) Falling back to old probe method for modesetting [ 5.122] (WW) Falling back to old probe method for fbdev [ 5.122] (II) Loading sub module "fbdevhw" [ 5.122] (II) LoadModule: "fbdevhw" [ 5.123] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 5.123] (II) Module fbdevhw: vendor="X.Org Foundation" [ 5.123] compiled for 1.20.10, module version = 0.0.2 [ 5.123] ABI class: X.Org Video Driver, version 24.1 [ 5.124] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics [ 5.124] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 6 threads [ 5.124] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 5.124] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [ 5.124] (==) intel(0): RGB weight 888 [ 5.124] (==) intel(0): Default visual is TrueColor [ 5.126] (II) intel(0): Output HDMI1 has no monitor section [ 5.126] (II) intel(0): Enabled output HDMI1 [ 5.126] (II) intel(0): Output HDMI2 has no monitor section [ 5.126] (II) intel(0): Enabled output HDMI2 [ 5.126] (--) intel(0): Using a maximum size of 256x256 for hardware cursors [ 5.126] (II) intel(0): Output VIRTUAL1 has no monitor section [ 5.126] (II) intel(0): Enabled output VIRTUAL1 [ 5.126] (--) intel(0): Output HDMI1 using initial mode 1920x1080 on pipe 0 [ 5.127] (==) intel(0): TearFree enabled [ 5.127] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0) [ 5.127] (==) intel(0): DPI set to (96, 96) [ 5.127] (II) Loading sub module "dri3" [ 5.127] (II) LoadModule: "dri3" [ 5.127] (II) Module "dri3" already built-in [ 5.127] (II) Loading sub module "dri2" [ 5.127] (II) LoadModule: "dri2" [ 5.127] (II) Module "dri2" already built-in [ 5.127] (II) Loading sub module "present" [ 5.127] (II) LoadModule: "present" [ 5.127] (II) Module "present" already built-in [ 5.127] (II) UnloadModule: "modesetting" [ 5.127] (II) Unloading modesetting [ 5.127] (II) UnloadModule: "fbdev" [ 5.127] (II) Unloading fbdev [ 5.127] (II) UnloadSubModule: "fbdevhw" [ 5.127] (II) Unloading fbdevhw [ 5.127] (II) UnloadModule: "vesa" [ 5.127] (II) Unloading vesa [ 5.130] (II) intel(0): SNA initialized with Coffeelake (gen9) backend [ 5.130] (==) intel(0): Backing store disabled [ 5.130] (==) intel(0): Silken mouse enabled [ 5.131] (II) intel(0): HW Cursor enabled [ 5.131] (==) intel(0): DPMS enabled [ 5.132] (==) intel(0): Display hotplug detection enabled [ 5.132] (II) intel(0): [DRI2] Setup complete [ 5.132] (II) intel(0): [DRI2] DRI driver: i965 [ 5.132] (II) intel(0): [DRI2] VDPAU driver: va_gl [ 5.132] (II) intel(0): direct rendering: DRI2 enabled [ 5.132] (II) intel(0): hardware support for Present enabled [ 5.132] (II) Initializing extension Generic Event Extension [ 5.132] (II) Initializing extension SHAPE [ 5.132] (II) Initializing extension MIT-SHM [ 5.132] (II) Initializing extension XInputExtension [ 5.132] (II) Initializing extension XTEST [ 5.132] (II) Initializing extension BIG-REQUESTS [ 5.132] (II) Initializing extension SYNC [ 5.132] (II) Initializing extension XKEYBOARD [ 5.132] (II) Initializing extension XC-MISC [ 5.132] (II) Initializing extension XFIXES [ 5.132] (II) Initializing extension RENDER [ 5.132] (II) Initializing extension RANDR [ 5.132] (II) Initializing extension DAMAGE [ 5.132] (II) Initializing extension DOUBLE-BUFFER [ 5.132] (II) Initializing extension RECORD [ 5.132] (II) Initializing extension DPMS [ 5.132] (II) Initializing extension Present [ 5.132] (II) Initializing extension DRI3 [ 5.132] (II) Initializing extension X-Resource [ 5.132] (II) Initializing extension XVideo [ 5.132] (II) Initializing extension XVideo-MotionCompensation [ 5.132] (II) Initializing extension XFree86-VidModeExtension [ 5.132] (II) Initializing extension XFree86-DGA [ 5.132] (II) Initializing extension DRI2 [ 5.137] (II) intel(0): switch to mode 1920x1080 at 60.0 on HDMI1 using pipe 0, position (0, 0), rotation normal, reflection none [ 5.144] (II) intel(0): Setting screen physical size to 508 x 285 [ 5.214] (II) config/udev: Adding input device Power Button (/dev/input/event2) [ 5.214] (**) Power Button: Applying InputClass "evdev keyboard catchall" [ 5.214] (II) LoadModule: "evdev" [ 5.214] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 5.217] (II) Module evdev: vendor="X.Org Foundation" [ 5.217] compiled for 1.20.10, module version = 2.10.6 [ 5.217] Module class: X.Org XInput Driver [ 5.217] ABI class: X.Org XInput driver, version 24.1 [ 5.217] (II) Using input driver 'evdev' for 'Power Button' [ 5.217] (**) Power Button: always reports core events [ 5.217] (**) evdev: Power Button: Device: "/dev/input/event2" [ 5.217] (--) evdev: Power Button: Vendor 0 Product 0x1 [ 5.217] (--) evdev: Power Button: Found keys [ 5.217] (II) evdev: Power Button: Configuring as keyboard [ 5.217] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2" [ 5.217] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6) [ 5.217] (**) Option "xkb_rules" "evdev" [ 5.217] (II) config/udev: Adding input device Video Bus (/dev/input/event3) [ 5.217] (**) Video Bus: Applying InputClass "evdev keyboard catchall" [ 5.217] (II) Using input driver 'evdev' for 'Video Bus' [ 5.217] (**) Video Bus: always reports core events [ 5.217] (**) evdev: Video Bus: Device: "/dev/input/event3" [ 5.217] (--) evdev: Video Bus: Vendor 0 Product 0x6 [ 5.217] (--) evdev: Video Bus: Found keys [ 5.217] (II) evdev: Video Bus: Configuring as keyboard [ 5.217] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3/event3" [ 5.217] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7) [ 5.217] (**) Option "xkb_rules" "evdev" [ 5.217] (II) config/udev: Adding input device Power Button (/dev/input/event1) [ 5.217] (**) Power Button: Applying InputClass "evdev keyboard catchall" [ 5.217] (II) Using input driver 'evdev' for 'Power Button' [ 5.217] (**) Power Button: always reports core events [ 5.217] (**) evdev: Power Button: Device: "/dev/input/event1" [ 5.217] (--) evdev: Power Button: Vendor 0 Product 0x1 [ 5.217] (--) evdev: Power Button: Found keys [ 5.217] (II) evdev: Power Button: Configuring as keyboard [ 5.217] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1" [ 5.217] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8) [ 5.217] (**) Option "xkb_rules" "evdev" [ 5.218] (II) config/udev: Adding input device Sleep Button (/dev/input/event0) [ 5.218] (**) Sleep Button: Applying InputClass "evdev keyboard catchall" [ 5.218] (II) Using input driver 'evdev' for 'Sleep Button' [ 5.218] (**) Sleep Button: always reports core events [ 5.218] (**) evdev: Sleep Button: Device: "/dev/input/event0" [ 5.218] (--) evdev: Sleep Button: Vendor 0 Product 0x3 [ 5.218] (--) evdev: Sleep Button: Found keys [ 5.218] (II) evdev: Sleep Button: Configuring as keyboard [ 5.218] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0" [ 5.218] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9) [ 5.218] (**) Option "xkb_rules" "evdev" [ 5.218] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed (/dev/input/event4) [ 5.218] (**) Razer Razer DeathAdder V2 X HyperSpeed: Applying InputClass "evdev pointer catchall" [ 5.218] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed' [ 5.218] (**) Razer Razer DeathAdder V2 X HyperSpeed: always reports core events [ 5.218] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Device: "/dev/input/event4" [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Vendor 0x1532 Product 0x9c [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found 9 mouse buttons [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found scroll wheel(s) [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found relative axes [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found x and y relative axes [ 5.270] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Configuring as mouse [ 5.270] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Adding scrollwheel support [ 5.270] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed: YAxisMapping: buttons 4 and 5 [ 5.270] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 5.270] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:1532:009C.0001/input/input4/event4" [ 5.270] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed" (type: MOUSE, id 10) [ 5.270] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed: initialized for relative axes. [ 5.270] (**) Razer Razer DeathAdder V2 X HyperSpeed: (accel) keeping acceleration scheme 1 [ 5.270] (**) Razer Razer DeathAdder V2 X HyperSpeed: (accel) acceleration profile 0 [ 5.270] (**) Razer Razer DeathAdder V2 X HyperSpeed: (accel) acceleration factor: 2.000 [ 5.270] (**) Razer Razer DeathAdder V2 X HyperSpeed: (accel) acceleration threshold: 4 [ 5.271] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed Keyboard (/dev/input/event5) [ 5.271] (**) Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Applying InputClass "evdev keyboard catchall" [ 5.271] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed Keyboard' [ 5.271] (**) Razer Razer DeathAdder V2 X HyperSpeed Keyboard: always reports core events [ 5.271] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Device: "/dev/input/event5" [ 5.271] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Vendor 0x1532 Product 0x9c [ 5.271] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Found keys [ 5.271] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Configuring as keyboard [ 5.271] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:1532:009C.0002/input/input5/event5" [ 5.271] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed Keyboard" (type: KEYBOARD, id 11) [ 5.271] (**) Option "xkb_rules" "evdev" [ 5.272] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed Mouse (/dev/input/event6) [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: Applying InputClass "evdev pointer catchall" [ 5.272] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed Mouse' [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: always reports core events [ 5.272] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Device: "/dev/input/event6" [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Vendor 0x1532 Product 0x9c [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Found 10 mouse buttons [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Found scroll wheel(s) [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Found relative axes [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Found x and y relative axes [ 5.272] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Configuring as mouse [ 5.272] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Adding scrollwheel support [ 5.272] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: YAxisMapping: buttons 4 and 5 [ 5.272] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 5.272] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:1532:009C.0002/input/input6/event6" [ 5.272] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed Mouse" (type: MOUSE, id 12) [ 5.272] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: initialized for relative axes. [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: (accel) keeping acceleration scheme 1 [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: (accel) acceleration profile 0 [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: (accel) acceleration factor: 2.000 [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: (accel) acceleration threshold: 4 [ 5.273] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed Consumer Control (/dev/input/event7) [ 5.273] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Applying InputClass "evdev keyboard catchall" [ 5.273] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed Consumer Control' [ 5.273] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: always reports core events [ 5.273] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Device: "/dev/input/event7" [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Vendor 0x1532 Product 0x9c [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found 1 mouse buttons [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found scroll wheel(s) [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found relative axes [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Forcing relative x/y axes to exist. [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found absolute axes [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Forcing absolute x/y axes to exist. [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found keys [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Configuring as mouse [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Configuring as keyboard [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Adding scrollwheel support [ 5.273] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: YAxisMapping: buttons 4 and 5 [ 5.273] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 5.273] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:1532:009C.0002/input/input7/event7" [ 5.273] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed Consumer Control" (type: KEYBOARD, id 13) [ 5.273] (**) Option "xkb_rules" "evdev" [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: initialized for relative axes. [ 5.273] (WW) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: ignoring absolute axes. [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: (accel) keeping acceleration scheme 1 [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: (accel) acceleration profile 0 [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: (accel) acceleration factor: 2.000 [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: (accel) acceleration threshold: 4 [ 5.274] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed System Control (/dev/input/event8) [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed System Control: Applying InputClass "evdev keyboard catchall" [ 5.274] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed System Control' [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed System Control: always reports core events [ 5.274] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed System Control: Device: "/dev/input/event8" [ 5.274] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed System Control: Vendor 0x1532 Product 0x9c [ 5.274] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed System Control: Found keys [ 5.274] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed System Control: Configuring as keyboard [ 5.274] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:1532:009C.0002/input/input8/event8" [ 5.274] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed System Control" (type: KEYBOARD, id 14) [ 5.274] (**) Option "xkb_rules" "evdev" [ 5.275] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed (/dev/input/event9) [ 5.275] (II) No input driver specified, ignoring this device. [ 5.275] (II) This device may have been added with another device file. [ 5.276] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed (/dev/input/event10) [ 5.276] (**) Razer Razer DeathAdder V2 X HyperSpeed: Applying InputClass "evdev keyboard catchall" [ 5.276] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed' [ 5.276] (**) Razer Razer DeathAdder V2 X HyperSpeed: always reports core events [ 5.276] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Device: "/dev/input/event10" [ 5.276] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Vendor 0x1532 Product 0x9c [ 5.276] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found keys [ 5.276] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Configuring as keyboard [ 5.276] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:1532:009C.0003/input/input10/event10" [ 5.276] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed" (type: KEYBOARD, id 15) [ 5.276] (**) Option "xkb_rules" "evdev" [ 5.277] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed Consumer Control (/dev/input/event11) [ 5.277] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Applying InputClass "evdev keyboard catchall" [ 5.277] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed Consumer Control' [ 5.277] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: always reports core events [ 5.277] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Device: "/dev/input/event11" [ 5.277] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Vendor 0x1532 Product 0x9c [ 5.277] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found keys [ 5.277] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Configuring as keyboard [ 5.278] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.3/0003:1532:009C.0005/input/input11/event11" [ 5.278] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed Consumer Control" (type: KEYBOARD, id 16) [ 5.278] (**) Option "xkb_rules" "evdev" [ 5.279] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event12) [ 5.279] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall" [ 5.279] (II) Using input driver 'evdev' for 'Logitech USB Keyboard' [ 5.279] (**) Logitech USB Keyboard: always reports core events [ 5.279] (**) evdev: Logitech USB Keyboard: Device: "/dev/input/event12" [ 5.279] (--) evdev: Logitech USB Keyboard: Vendor 0x46d Product 0xc31c [ 5.279] (--) evdev: Logitech USB Keyboard: Found keys [ 5.279] (II) evdev: Logitech USB Keyboard: Configuring as keyboard [ 5.279] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/usb3/3-2/3-2:1.0/0003:046D:C31C.0006/input/input12/event12" [ 5.279] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 17) [ 5.279] (**) Option "xkb_rules" "evdev" [ 5.280] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event13) [ 5.280] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall" [ 5.280] (II) Using input driver 'evdev' for 'Logitech USB Keyboard' [ 5.280] (**) Logitech USB Keyboard: always reports core events [ 5.280] (**) evdev: Logitech USB Keyboard: Device: "/dev/input/event13" [ 5.280] (--) evdev: Logitech USB Keyboard: Vendor 0x46d Product 0xc31c [ 5.280] (--) evdev: Logitech USB Keyboard: Found 1 mouse buttons [ 5.280] (--) evdev: Logitech USB Keyboard: Found scroll wheel(s) [ 5.280] (--) evdev: Logitech USB Keyboard: Found relative axes [ 5.280] (II) evdev: Logitech USB Keyboard: Forcing relative x/y axes to exist. [ 5.280] (--) evdev: Logitech USB Keyboard: Found absolute axes [ 5.280] (II) evdev: Logitech USB Keyboard: Forcing absolute x/y axes to exist. [ 5.280] (--) evdev: Logitech USB Keyboard: Found keys [ 5.280] (II) evdev: Logitech USB Keyboard: Configuring as mouse [ 5.280] (II) evdev: Logitech USB Keyboard: Configuring as keyboard [ 5.280] (II) evdev: Logitech USB Keyboard: Adding scrollwheel support [ 5.280] (**) evdev: Logitech USB Keyboard: YAxisMapping: buttons 4 and 5 [ 5.280] (**) evdev: Logitech USB Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 5.280] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/usb3/3-2/3-2:1.1/0003:046D:C31C.0007/input/input13/event13" [ 5.280] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 18) [ 5.280] (**) Option "xkb_rules" "evdev" [ 5.281] (II) evdev: Logitech USB Keyboard: initialized for relative axes. [ 5.281] (WW) evdev: Logitech USB Keyboard: ignoring absolute axes. [ 5.281] (**) Logitech USB Keyboard: (accel) keeping acceleration scheme 1 [ 5.281] (**) Logitech USB Keyboard: (accel) acceleration profile 0 [ 5.281] (**) Logitech USB Keyboard: (accel) acceleration factor: 2.000 [ 5.281] (**) Logitech USB Keyboard: (accel) acceleration threshold: 4 [ 7.160] (II) intel(0): EDID vendor "GSM", prod id 23353 [ 7.160] (II) intel(0): Using EDID range info for horizontal sync [ 7.160] (II) intel(0): Using EDID range info for vertical refresh [ 7.160] (II) intel(0): Printing DDC gathered Modelines: [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 185.60 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (84.4 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 325.08 1920 1944 1976 2056 1080 1083 1088 1098 +hsync +vsync (158.1 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 285.50 1920 1968 2000 2080 1080 1083 1088 1144 +hsync +vsync (137.3 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 235.50 1920 1968 2000 2080 1080 1083 1088 1133 -hsync -vsync (113.2 kHz e) [ 7.160] (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e) [ 7.160] (II) intel(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e) [ 7.160] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e) [ 7.160] (II) intel(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e) [ 7.160] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 297.00 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (135.0 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 297.00 1920 2448 2492 2640 1080 1084 1094 1125 +hsync +vsync (112.5 kHz e) [ 7.160] (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 7.160] (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e) [ 7.160] (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e) [ 7.160] (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e) [ 7.160] (II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e) [ 7.160] (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 7.160] (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e) [ 7.160] (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e) [ 7.160] (II) intel(0): Modeline "640x480"x120.0 52.41 640 680 744 848 480 481 484 515 -hsync +vsync (61.8 kHz e) [ 7.160] (II) intel(0): Modeline "800x600"x100.0 68.18 800 848 936 1072 600 601 604 636 -hsync +vsync (63.6 kHz e) [ 7.161] (II) intel(0): Modeline "800x600"x0.0 73.25 800 848 880 960 600 603 607 636 +hsync -vsync (76.3 kHz e) [ 7.161] (II) intel(0): Modeline "1024x768"x0.0 115.50 1024 1072 1104 1184 768 771 775 813 +hsync -vsync (97.6 kHz e) [ 7.161] (II) intel(0): Modeline "1280x960"x100.0 178.99 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync (101.7 kHz e) [ 7.161] (II) intel(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e) [ 7.161] (II) intel(0): Modeline "1280x1024"x0.0 187.25 1280 1328 1360 1440 1024 1027 1034 1084 +hsync -vsync (130.0 kHz e) [ 7.161] (II) intel(0): Modeline "1440x900"x0.0 182.75 1440 1488 1520 1600 900 903 909 953 +hsync -vsync (114.2 kHz e) ------------------------------------------------------------------------------------------------------------------- From peter at korsgaard.com Fri Oct 13 21:29:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 23:29:55 +0200 Subject: [Buildroot] buildroot 2021.02.1: black screen after Xorg launched In-Reply-To: (Zvi Vered's message of "Sat, 14 Oct 2023 00:09:19 +0300") References: Message-ID: <87wmvqyzvw.fsf@48ers.dk> >>>>> "Zvi" == Zvi Vered writes: > Hello, > Using buildroot 2021.02.1 for x64 I built root file system that contain Xorg. > Right after Xorg is launched I got black screen. 2021.02.1 is a release from almost 3 years ago, which has been end of life since April 2022. Please use a supported version (E.G. 2023.02.x or 2023.08.x). > According to Xorg.0.0.log (attached) there is no error. > I tried to run: xeyes and got: > Can't open display Does it work if you set the DISPLAY environment variable? export DISPLAY=:0 -- Bye, Peter Korsgaard From veredz72 at gmail.com Fri Oct 13 21:43:22 2023 From: veredz72 at gmail.com (Zvi Vered) Date: Sat, 14 Oct 2023 00:43:22 +0300 Subject: [Buildroot] buildroot 2021.02.1: black screen after Xorg launched In-Reply-To: <87wmvqyzvw.fsf@48ers.dk> References: <87wmvqyzvw.fsf@48ers.dk> Message-ID: Hi Peter, I ran: export DISPLAY=:0 and then, xeyes works ! Does it make sense to insert this export in rootfs.tar created by buildroot ? Thank you very much. Zvika On Sat, Oct 14, 2023 at 12:30?AM Peter Korsgaard wrote: > > >>>>> "Zvi" == Zvi Vered writes: > > > Hello, > > Using buildroot 2021.02.1 for x64 I built root file system that contain Xorg. > > Right after Xorg is launched I got black screen. > > 2021.02.1 is a release from almost 3 years ago, which has been end of > life since April 2022. Please use a supported version (E.G. 2023.02.x or > 2023.08.x). > > > According to Xorg.0.0.log (attached) there is no error. > > I tried to run: xeyes and got: > > Can't open display > > Does it work if you set the DISPLAY environment variable? > > export DISPLAY=:0 > > -- > Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Fri Oct 13 21:53:55 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 13 Oct 2023 23:53:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/usbguard: fix build with gcc >= 13 Message-ID: <20231013215355.323987-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 13: In file included from src/Library/Base64.cpp:23: src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 Signed-off-by: Fabrice Fontaine --- ...tHub-Actions-cover-build-with-GCC-13.patch | 114 ++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch diff --git a/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch new file mode 100644 index 0000000000..415b8e1dd1 --- /dev/null +++ b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch @@ -0,0 +1,114 @@ +From 22b1e0897af977cc96af926c730ff948bd120bb5 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Fri, 31 Mar 2023 09:39:49 +0200 +Subject: [PATCH] Fix build for GCC 13 + make GitHub Actions cover build with + GCC 13 (#586) + +* include missing + +gcc 13 moved some includes around and as a result is no +longer transitively included [1]. Explicitly include it for +uint8_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj + +* docker.yml: Cover openSUSE Tumbleweed with GCC 13+ + +Based on scripts/docker/build_on_centos_8_2.Dockerfile . + +--------- + +Signed-off-by: Khem Raj +Co-authored-by: Khem Raj +Upstream: https://github.com/USBGuard/usbguard/commit/22b1e0897af977cc96af926c730ff948bd120bb5 +Signed-off-by: Fabrice Fontaine +--- + .github/workflows/docker.yml | 1 + + .../build_on_opensuse_tumbleweed.Dockerfile | 50 +++++++++++++++++++ + src/Library/Base64.cpp | 1 - + src/Library/Base64.hpp | 1 + + 4 files changed, 52 insertions(+), 1 deletion(-) + create mode 100644 scripts/docker/build_on_opensuse_tumbleweed.Dockerfile + +diff --git a/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +new file mode 100644 +index 00000000..d0993d8c +--- /dev/null ++++ b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +@@ -0,0 +1,50 @@ ++## ++## Copyright (c) 2023 Sebastian Pipping ++## ++## This program is free software; you can redistribute it and/or modify ++## it under the terms of the GNU General Public License as published by ++## the Free Software Foundation; either version 2 of the License, or ++## (at your option) any later version. ++## ++## This program is distributed in the hope that it will be useful, ++## but WITHOUT ANY WARRANTY; without even the implied warranty of ++## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++## GNU General Public License for more details. ++## ++## You should have received a copy of the GNU General Public License ++## along with this program. If not, see . ++ ++FROM opensuse/tumbleweed:latest ++RUN zypper --non-interactive install dnf rpm-repos-openSUSE-Tumbleweed \ ++ && \ ++ dnf install -y \ ++ asciidoc \ ++ autoconf \ ++ automake \ ++ dbus-1-glib-devel \ ++ diffutils \ ++ file \ ++ gcc-c++ \ ++ git \ ++ libgcrypt-devel \ ++ libqb-devel \ ++ libsodium-devel \ ++ libtool \ ++ libxslt \ ++ make \ ++ polkit-devel \ ++ protobuf-devel ++ADD usbguard.tar usbguard/ ++ADD catch.tar usbguard/src/ThirdParty/Catch/ ++ADD pegtl.tar usbguard/src/ThirdParty/PEGTL/ ++WORKDIR usbguard ++RUN git init &>/dev/null && ./autogen.sh ++RUN ./configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN make dist ++RUN tar xf usbguard-*.tar.gz ++RUN mv -v usbguard-*.*.*/ usbguard-release/ ++RUN mkdir usbguard-release/build/ ++WORKDIR usbguard-release/build/ ++RUN ../configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN bash -c 'set -o pipefail; make V=1 "-j$(nproc)" |& tee build.log' ++RUN ! grep -F 'include file not found' build.log +diff --git a/src/Library/Base64.cpp b/src/Library/Base64.cpp +index ddb28dce..0246a134 100644 +--- a/src/Library/Base64.cpp ++++ b/src/Library/Base64.cpp +@@ -22,7 +22,6 @@ + + #include "Base64.hpp" + #include +-#include + + namespace usbguard + { +diff --git a/src/Library/Base64.hpp b/src/Library/Base64.hpp +index 0947f214..e0c745cb 100644 +--- a/src/Library/Base64.hpp ++++ b/src/Library/Base64.hpp +@@ -23,6 +23,7 @@ + #endif + + #include ++#include + #include + + namespace usbguard -- 2.42.0 From thomas.petazzoni at bootlin.com Sat Oct 14 05:36:56 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 14 Oct 2023 05:36:56 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-13 Message-ID: <20231014053702.41FFE60BA6@smtp3.osuosl.org> Hello, Autobuild statistics for 2023-10-13 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 13 | 10 | 0 | 23 | 2023.08.x | 13 | 6 | 0 | 19 | master | 88 | 114 | 0 | 202 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 17 alsa-utils-1.2.10 | 9 gcc-final-12.3.0 | 9 host-go-1.21.3 | 6 linux-6.5.7 | 5 mariadb-10.11.4 | 5 spirv-tools-1.3.261.1 | 5 alsa-lib-1.2.10 | 4 bird-2.0.12 | 3 memcached-1.6.21 | 3 coreutils-9.3 | 2 elfutils-0.189 | 2 libarchive-3.7.2 | 2 libglib2-2.76.1 | 2 ncmpc-0.47 | 2 openblas-0.3.24 | 2 pppd-2.5.0 | 2 unknown | 2 acpid-2.0.34 | 1 bat-0.23.0 | 1 brltty-6.5 | 1 conmon-2.1.8 | 1 cryptodev-linux-1.13 | 1 dust-0.8.1 | 1 edk2-edk2-stable202308 | 1 erlang-26.0.2 | 1 ffmpeg-4.4.4 | 1 gcc-final-13.2.0 | 1 glibc-2.38-27-g750a45a78390... | 1 gobject-introspection-1.76.1 | 1 host-gcc-final-12.3.0 | 1 host-rust-1.71.1 | 1 host-sentry-cli-2.20.3 | 1 libostree-2023.6 | 1 libselinux-3.5 | 1 libv4l-1.24.1 | 1 linux-5.10.162-cip24 | 1 linux-5.10.162-cip24-rt10 | 1 linux-tools | 1 lttng-modules-2.13.7 | 1 mutt-2.2.12 | 1 pango-1.50.14 | 1 pcre2-10.42 | 1 poke-3.0 | 1 systemd-254 | 1 tar-1.35 | 1 tpm2-tss-3.2.2 | 1 usbguard-1.1.2 | 1 valgrind-3.21.0 | 1 x264-baee400fa9ced6f5481a72... | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/251023cf51dc234314073967ab1698b454f738d5 | ORPH powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/481ac9da78d977ff4ee14a00b4b344d1e2d293a1 | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a57f1c0ec0709d8010e6f14969faf35c0508da13 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/902103db2cdce93e7c566c74fee075db0e9b70a3 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f84f064120f693ae8b1e8ee954d1d0d7731a80fc | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/1d2c20257724c651cf801cf865e171f50e261e7f | powerpc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/a00aa41bbae29d211b2939d899a621112f6ed9e0 | sh4aeb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5a03cba08bf24d61c816b8e2f257c18004bad3d7 | arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/2561e1f14ac2ff0c272c20f096e6f8469a6ffa44 | x86_64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/241d170015c04313647b66e9dc1cb797364c0f33 | or1k | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/9d5ef1bb088b69b1c2838bc482c51b7a840a3e93 | sparc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/af3ed2e9b00f1be0e585a2db3b22e8d006b58250 | aarch64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f2beba0cc5ffda9f27e609fe95486ab22f4f5574 | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/b383b6bf77f1c947d87f5d0b088963b85f5f3fd1 | armeb | bat-0.23.0 | NOK | http://autobuild.buildroot.net/results/cead55d7df7db450fbafbd70ebe799b7675ad681 | armeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/9a09ebd9d676a8ffed678296472a69d9ea879d51 | arc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c601197b89b911ae318026310cee99124fb2d970 | powerpc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/cbb78de5d842506c8d156a8fdb2111b5c15f6f1e | microblazeel | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/5f3af77a3104c138cf00c98adc9526459145e6b2 | sparc | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/f5a554bd7d71ea92ae05202b921eab9a5e95a973 | mips | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/3ee0b65f25cfe6d8c0e48bfac87b2f9706b59f20 | ORPH or1k | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/2af5cf88720ffb93aaed3fe6a65091bd963ef8ef | ORPH arceb | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/cdf78824aecd90a73c379720a026a341e69627f8 | ORPH armeb | dust-0.8.1 | NOK | http://autobuild.buildroot.net/results/7c9a6de5d167fb3734b2f3012afeefaa8021220a | ORPH i686 | edk2-edk2-stable202308 | NOK | http://autobuild.buildroot.net/results/61cd42fda236c5507842604a4db8c28b0b8ebe2f | microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/a2b1f801f4533ded8a95e423d883ed7001c26259 | ORPH nios2 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/ae7373105dc383cb5a1b784fcd4d5a4ff0c9d4e6 | ORPH x86_64 | erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/007358eb184dece4d203a8514a6d473f8b116619 | i686 | ffmpeg-4.4.4 | NOK | http://autobuild.buildroot.net/results/983beccc3c1366130524a8b85a69931bddaf2046 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/492887de1da1d8dde551c0f1745c65d6216140a6 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/3a481dc60971f9f144290ef6bd213c9f76e64594 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/2d1fab7e81727f7c2c1a85ba0fd53d8a858f2cf0 | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/14a6d5432d4df4d35aff5a87cfcd059e2cf22486 | aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/270ae0c201c6d47d975943b1418e6a2e1395c3fb | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/45411af96bdb0c336dc4b5a1574107f9435ba0d4 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/833884c404d00679b98b48896095e5734fcb6be9 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f0a78d0e8feccde63f44f8adf566de005e785228 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/c0666eb5f2bd405bc47a363cacc2279303ba1912 | x86_64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/ed264c8f35d0d922ef8b2044614c5dd04e10c47f | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/dad34bdd6d86af5f66e027adea35ffe124d7db1f | nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/034d65b81b93a8c97c64565da46f970d036765f8 | ORPH microblazeel | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/8e04390222984ecba8a48114fe27d260cf5e3070 | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/1f00e1b024d0dcf776ab5e9bec82bad159d2ad8f | powerpc64le | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/80ad00874fcdaec212b0ebe79837720a032c292b | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/976e7ccfcd818868575f1d9f328c955820e87018 | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/17249cbfb451378abcae3be8f367383139a5f1b8 | nios2 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/ec2e3b9855168293201ac84c7eb54a279fc53b15 | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/a32004c9eb031ef79370de3de39d409eeca45224 | s390x | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4623ad817128bc44bd8aad1f32c28ba0b30a863e | s390x | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/2fc08b07153ce3e38e0d1ed34fad524c0d5ea9d3 | microblaze | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/cd98d951ab762dbf5fd03477748042a7fc2c52da | arm | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/c117d29b3c40ff96f6a788545bac70a745ddebef | arc | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/9476fc4d2ed8f29b1f942a05fd21a4ad9b892531 | arc | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/1cb9c2c01c4cba054bcbb6830bfa27b42bc5f053 | arm | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/31ca0dd49f5ec39fa71d039619bdc3ca0e89d987 | microblazeel | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/8b03dcb1211ddf35936a6c0a3b6f837c79800cf9 | m68k | libv4l-1.24.1 | NOK | http://autobuild.buildroot.net/results/445f074e4c66e06032455be7fc8f2f9c243852ce | x86_64 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/37db1aea1cf2e61addf73f66c153b7a1614336bf | ORPH i686 | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/5de8c58db5729d90e842783c3f51ac7725d8381c | ORPH sh4a | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/caa7411af800aa9226940f6b5925e90ca0c0489f | ORPH powerpc64 | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/1e38a3812bf103418f1518583d446090005f45af | ORPH mips64el | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/b925fe0dc865c3ca3cfb900dbc9d09c0ad865df0 | ORPH mips64 | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/54f6547d0c6002ca1eae17a791aca34d8ffb44c8 | ORPH powerpc64le | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/4ba333bb3b0d7ad7dc0e50e79d608360248ddb5c | ORPH i686 | linux-tools | NOK | http://autobuild.buildroot.net/results/e329fdbf2b9be57531abcc4104b8e92d78b5f645 | ORPH aarch64 | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/3d454bf766463b9a57b4395f20115362ec8e5462 | powerpc | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/9bf8a234d8e796ff3ab41a504532d45573a3fe59 | ORPH xtensa | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/c64b34a0b4a6e0bdc70620412436c34cf28a0ff7 | ORPH powerpc64le | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/0789fcf7732dc2e70cfaa3aeba2ca8a86d2a4a4c | ORPH s390x | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/d70c65363eb9c1729fcfd4d7b47fc09ecd1e31c0 | ORPH powerpc64le | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/d256032dcfde72d50f8a5be79f828d4122139320 | ORPH xtensa | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/c06d0f270689c80dc2a99d264e782a8e54db62ff | ORPH arc | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/bc89372da294962168e899df1be59072312e2c8a | ORPH powerpc | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/fd21b0a8f332aa648e4dd8a8b74881b64bc4f79f | ORPH armeb | mutt-2.2.12 | NOK | http://autobuild.buildroot.net/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 | mipsel | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/f5884167f177bf86bc394acd6c6d62d4d494c2ba | microblazeel | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/996164bca901842ad0c4ed6655a9f03cbb28ce5c | mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/fbf4b7ec58c37e9786adb7e7146adb8dc0efdd7d | i686 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/cf297f9ac5dded372d2bb2e7fd552f0e47dcaeee | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5fee37ac55628d4e8e3eb4f88b04db33506a5c89 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/441d61539d533688cca71f8fcc5c3b6ee1b91532 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ae2d8d4ec2539be0aaf6b067226776554739c097 | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/bdd57c92e039ea4bba8b8c830e79b711b1dcaf9a | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2eb8c9077d3dd39bb4c835fc48e61aabecd6031b | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/021c1f7395a309d7b69a174bf20ff60c9fbecb8d | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/558f13c399f74acc75f384051bef597697d73d93 | arm | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7e21bd12e3ab80816bec743183c1ad5caf8061f0 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c741e472cdc0a3e8a8b46a88f53e2e8dca74d367 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a9005109f3078b9606ce20e5f466ca69ad431590 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/622ebb8061ee169eca384771c44960d16ca7033a | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/8e3f477d25ac550fd6983bac7b71ce5b5767748f | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/603299299b4d869a76fbe4760ebfe5505074f2e2 | sh4aeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a03a3d5a5f473f37bbfd5c01c006771cc3d8ff15 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/562045f5cebd261c13c1d8d806d10ad0624882c1 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/36107efefb6e522e1578ceaf69f4a6aed6152a74 | sh4eb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/4e314fd029a0bdd99f65b913637936bd146c2fa0 | s390x | pango-1.50.14 | NOK | http://autobuild.buildroot.net/results/38040bb26a3a098e35ad8e3680ca805a0ee327b0 | ORPH mips | pcre2-10.42 | NOK | http://autobuild.buildroot.net/results/40e52f70be576ffaf5ca2e20c0ff4b1a349900f9 | ORPH sparc64 | poke-3.0 | NOK | http://autobuild.buildroot.net/results/840b540eb013304477d11e7acc064b5e2c36ef80 | ORPH sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/bb40f323c93e63888af9fd9d3ae058ed98c6f97f | sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/97b35ba147632da012921c12217358f9ff93b141 | x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/deb20180bdf6e87149735f667a43d9a164e98354 | ORPH mips | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/3503e484b37e9239ba46338725ee07a6783754f0 | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/597760cfc643bed49d5da968d7f30ba2861370e9 | ORPH microblazeel | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/8527d094434e82b62d09489f83ddcf49be3cdc89 | ORPH aarch64_be | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/929ba5858ceeeccad2a5ac3741cec7acbbe23ef9 | ORPH s390x | systemd-254 | NOK | http://autobuild.buildroot.net/results/293fc5f10afe342439166954073fed1a091cce20 | xtensa | tar-1.35 | NOK | http://autobuild.buildroot.net/results/2d8f0dab69b2d18f60d7b29eb8d1005663c3577b | ORPH aarch64_be | tpm2-tss-3.2.2 | NOK | http://autobuild.buildroot.net/results/e0bb431d7d658b558c30d67ec5d7650fff9715a8 | ORPH sh4a | unknown | NOK | http://autobuild.buildroot.net/results/b26c43d753463a22597e373e241dcc4f956eff42 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/0a3cc15de64a10e8f4324eb632ce3978e1ef4026 | arceb | usbguard-1.1.2 | NOK | http://autobuild.buildroot.net/results/c3ac232326a92811f8497ef44ac5a5b63b02996f | mips64el | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/b20a8161873f9d631e613b7cf424acbf6cef444a | ORPH i686 | x264-baee400fa9ced6f5481a72... | NOK | http://autobuild.buildroot.net/results/78d01c69c92ab01cf66b9962003521515ffc9f23 | Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 3 host-go-1.20.9 | 2 host-rust-1.67.1 | 2 elfutils-0.186 | 1 host-binutils-2.39 | 1 qemu-7.2.1 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- xtensa | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/28ad0a23bb6d6048ec94fb401f7e3ef905f5a375 | armeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/2e4e2ebc0916c1a80439dc9ced60d437528ba593 | mips64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8c59a0ecbdb1e2eff7258e60628eb0396638fc5b | arceb | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/94c558bc8bd90cedeef7223b126327a38a5f3df5 | ORPH microblaze | host-binutils-2.39 | NOK | http://autobuild.buildroot.net/results/ed95b30b18fc1ad625d50c0e1c2ce77a0785b6b4 | mips64el | host-go-1.20.9 | NOK | http://autobuild.buildroot.net/results/7716b71e6c355f6386db9e97162c9d6c8af75f8a | mips64 | host-go-1.20.9 | NOK | http://autobuild.buildroot.net/results/9a9ae6e30dd46ec4054ceea888c70607218a162b | mips | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/f636075250957d5c9112f65cc671f37f696f643a | x86_64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/e7df70d18dbcc99d378fa90da0e71f3a654f0a40 | aarch64 | qemu-7.2.1 | NOK | http://autobuild.buildroot.net/results/0e74f55f3ac85b90162b826ff4cd0bb305f290ee | Classification of failures by reason for 2023.08.x -------------------------------------------------- gobject-introspection-1.76.1 | 2 host-rust-1.71.1 | 2 bird-2.0.12 | 1 python-stack-data-0.6.2 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/191b684a1862c87a3fce30172d5f96d3611ec4dd | sh4aeb | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/96063e644d954378ce604c6665927721c0ef0850 | ORPH mipsel | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/a0b678803192bd8df3f0a8807c381330585e4d5f | ORPH mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/a8f60b099b6759cd5df6672cc93415a3e053ae67 | powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4c804e3578e9843a3ba16165a458dc77314ef43f | s390x | python-stack-data-0.6.2 | NOK | http://autobuild.buildroot.net/results/866dfc5ca64daafeb59dea4e6eb32f827355ebc6 | Gitlab CI results for 2023-10-13 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ at91sam9x5ek_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539719 | at91sam9x5ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539725 | beaglev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539782 | broadcom_northstar | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539787 | canaan_kd233 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539789 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539858 | grinn_chiliboard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539899 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539967 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539991 | imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540001 | kontron_pitx_imx8m | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540020 | microchip_mpfs_icicle | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540061 | octavo_osd32mp1_brk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540153 | octavo_osd32mp1_red | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540156 | orangepi_lite2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540186 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540192 | qemu_m68k_mcf5208 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540268 | qemu_riscv64_nommu_virt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540294 | qemu_xtensa_lx60_nommu | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285816899 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285836583 | ORPH sipeed_maix_bit | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838372 | sipeed_maix_bit_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838387 | sipeed_maix_dock | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838487 | sipeed_maix_dock_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838704 | sipeed_maix_go | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838976 | sipeed_maix_go_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839425 | sipeed_maixduino | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839492 | sipeed_maixduino_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839529 | snps_arc700_axs101 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839654 | snps_arc700_nsim | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839721 | socrates_cyclone5 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839990 | stm32mp157a_dk1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285840392 | stm32mp157c_dk2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285840446 | toradex_apalis_imx6 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285840749 | Detail of runtime-test failures for master ------------------------------------------ runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestIPythonPy3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971447 | ORPH ...erlayfsVarBackingFstab | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971040 | ORPH ...yfsVarBackingMountUnit | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971043 | ORPH ...busbrokerDbusOverlayfs | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971057 | ORPH TestLuaLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971573 | ORPH TestLuaLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971659 | ORPH TestLuajitLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971579 | ORPH TestLuajitLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971661 | ORPH TestOla | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972107 | ORPH TestPolkitInitd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972256 | ORPH TestPolkitSystemd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972261 | ORPH TestPythonPahoMQTT | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972480 | ORPH TestPythonPy3Construct | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972348 | ORPH TestPythonPy3Dicttoxml2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972370 | ORPH TestPythonPy3Dtschema | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972378 | ORPH TestPythonPy3Hkdf | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972413 | ORPH ...PythonPy3MagicWormhole | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972447 | ORPH TestPythonPy3Mako | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972457 | ORPH TestPythonPy3MakoExt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972464 | ORPH TestPythonPy3Passlib | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972481 | ORPH TestPythonPy3Pynacl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972501 | ORPH TestPythonPy3Pysmb | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972507 | ORPH TestPythonPy3Pyyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972522 | ORPH TestPythonPy3RSA | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972547 | ORPH TestPythonPy3SciPy | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972564 | ORPH TestPythonPy3Spake2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972594 | ORPH TestStressNG | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972758 | ORPH TestZfsGlibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972875 | ORPH TestZfsMusl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972883 | ORPH TestZfsUclibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972897 | ORPH -- http://autobuild.buildroot.net From Noreply at busybox.net Sat Oct 14 06:41:13 2023 From: Noreply at busybox.net (Noreply at busybox.net) Date: 14 Oct 2023 08:41:13 +0200 Subject: [Buildroot] E-mail Account Verification For buildroot@busybox.net !!! Message-ID: <20231014084112.9245F7C0FA108C77@busybox.net> An HTML attachment was scrubbed... URL: From veredz72 at gmail.com Sat Oct 14 07:39:31 2023 From: veredz72 at gmail.com (Zvi Vered) Date: Sat, 14 Oct 2023 10:39:31 +0300 Subject: [Buildroot] buildroot 2021.0.1: couldn't find RGB GLX visual or fbconfig Message-ID: Hello, In my .config I enabled few MESA3D components in order to use OpenGL Upon running glxinfo I got: couldn't find RGB GLX visual or fbconfig In my .config file I found the following section: # # linux-fusion needs a Linux kernel to be built # BR2_PACKAGE_MESA3D=y # BR2_PACKAGE_MESA3D_LLVM is not set BR2_PACKAGE_MESA3D_GALLIUM_DRIVER=y BR2_PACKAGE_MESA3D_DRI_DRIVER=y BR2_PACKAGE_MESA3D_DRIVER=y BR2_PACKAGE_MESA3D_NEEDS_X11=y Does it mean that I have to modify my kernel configuration for "linux-fusion" ? Kernel version: vanilla 4.19.135 (x64) Thank you, Zvika From bernd at kuhls.net Sat Oct 14 12:42:43 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sat, 14 Oct 2023 14:42:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: security bump version to 4.18.8 Message-ID: <20231014124243.80138-1-bernd@kuhls.net> Release notes: https://www.samba.org/samba/history/samba-4.18.8.html Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & CVE-2023-42670. Signed-off-by: Bernd Kuhls --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fea760c500..9843d419f0 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc -sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc +sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index cfa94fc141..9cf7a59d9b 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.7 +SAMBA4_VERSION = 4.18.8 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES -- 2.39.2 From hanyuan-z at qq.com Sat Oct 14 15:11:40 2023 From: hanyuan-z at qq.com (Hanyuan Zhao) Date: Sat, 14 Oct 2023 23:11:40 +0800 Subject: [Buildroot] [PATCH 1/1] package/wiringX: add GPIO library wiringX Message-ID: wiringX is a cross-platform GPIO interface that allows developers to control the GPIO of various platforms with generic and uniform functions. By using wiringX, the same code will run on all platforms supported by wiringX. https://github.com/wiringX/wiringX Signed-off-by: Hanyuan Zhao --- package/Config.in | 1 + ...ed-time-type-error-when-compiling-by.patch | 47 +++++++++++++++++++ package/wiringx/Config.in | 18 +++++++ package/wiringx/wiringx.hash | 3 ++ package/wiringx/wiringx.mk | 12 +++++ 5 files changed, 81 insertions(+) create mode 100644 package/wiringx/0001-Fix-the-undeclared-time-type-error-when-compiling-by.patch create mode 100644 package/wiringx/Config.in create mode 100644 package/wiringx/wiringx.hash create mode 100644 package/wiringx/wiringx.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..b13f91263a 100644 --- a/package/Config.in +++ b/package/Config.in @@ -651,6 +651,7 @@ endmenu source "package/wf111/Config.in" source "package/wilc-driver/Config.in" source "package/wipe/Config.in" + source "package/wiringx/Config.in" source "package/xorriso/Config.in" source "package/xr819-xradio/Config.in" endmenu diff --git a/package/wiringx/0001-Fix-the-undeclared-time-type-error-when-compiling-by.patch b/package/wiringx/0001-Fix-the-undeclared-time-type-error-when-compiling-by.patch new file mode 100644 index 0000000000..43f2afc7a3 --- /dev/null +++ b/package/wiringx/0001-Fix-the-undeclared-time-type-error-when-compiling-by.patch @@ -0,0 +1,47 @@ +From 3185311331f8fb90ce5dd9376e8b35bff4bb083f Mon Sep 17 00:00:00 2001 +From: Hanyuan Zhao +Date: Sat, 14 Oct 2023 14:46:15 +0800 +Subject: [PATCH] Fix the undeclared time type error when compiling by + buildroot + +Signed-off-by: Hanyuan Zhao +--- + src/wiringx.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/wiringx.c b/src/wiringx.c +index e831caa..b424c5b 100644 +--- a/src/wiringx.c ++++ b/src/wiringx.c +@@ -119,8 +119,8 @@ static void delayMicrosecondsHard(unsigned int howLong) { + tLong.tv_sec = howLong / 1000000; + tLong.tv_usec = howLong % 1000000; + #else +- tLong.tv_sec = (__time_t)howLong / 1000000; +- tLong.tv_usec = (__suseconds_t)howLong % 1000000; ++ tLong.tv_sec = (time_t)howLong / 1000000; ++ tLong.tv_usec = (suseconds_t)howLong % 1000000; + #endif + timeradd(&tNow, &tLong, &tEnd); + +@@ -135,7 +135,7 @@ EXPORT void delayMicroseconds(unsigned int howLong) { + long int uSecs = howLong % 1000000; + unsigned int wSecs = howLong / 1000000; + #else +- long int uSecs = (__time_t)howLong % 1000000; ++ long int uSecs = (time_t)howLong % 1000000; + unsigned int wSecs = howLong / 1000000; + #endif + +@@ -147,7 +147,7 @@ EXPORT void delayMicroseconds(unsigned int howLong) { + #ifdef _WIN32 + sleeper.tv_sec = wSecs; + #else +- sleeper.tv_sec = (__time_t)wSecs; ++ sleeper.tv_sec = (time_t)wSecs; + #endif + sleeper.tv_nsec = (long)(uSecs * 1000L); + nanosleep(&sleeper, NULL); +-- +2.34.1 + diff --git a/package/wiringx/Config.in b/package/wiringx/Config.in new file mode 100644 index 0000000000..9c1e7d168e --- /dev/null +++ b/package/wiringx/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_WIRINGX + bool "wiringX" + help + wiringX is a cross-platform GPIO interface that allows + developers to control the GPIO of various platforms with + generic and uniform functions. By using wiringX, the same + code will run on all platforms supported by wiringX. + + Supported vendors: + + allwinner = + amlogic = + broadcom = + nXP = + rockchip = + samsung = + + https://wiringx.org/ diff --git a/package/wiringx/wiringx.hash b/package/wiringx/wiringx.hash new file mode 100644 index 0000000000..b98e707326 --- /dev/null +++ b/package/wiringx/wiringx.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 62a0bae8f749ad934f1309cdb9df1dbc79a6ce2abc8c6da11040673564c8fb0b wiringx-54030cd9b68ef895439e1444f418524e16cbb4c1.tar.gz +sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 LICENSE diff --git a/package/wiringx/wiringx.mk b/package/wiringx/wiringx.mk new file mode 100644 index 0000000000..b72046ab60 --- /dev/null +++ b/package/wiringx/wiringx.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# wiringX +# +################################################################################ + +WIRINGX_VERSION = 54030cd9b68ef895439e1444f418524e16cbb4c1 +WIRINGX_SITE = $(call github,wiringX,wiringX,$(WIRINGX_VERSION)) +WIRINGX_LICENSE = MPL-2.0 +WIRINGX_LICENSE_FILES = LICENSE + +$(eval $(cmake-package)) -- 2.34.1 From baruch at tkos.co.il Sat Oct 14 18:13:52 2023 From: baruch at tkos.co.il (Baruch Siach) Date: Sat, 14 Oct 2023 21:13:52 +0300 Subject: [Buildroot] [PATCH 3/4] package/alsa-utils: Fix musl build In-Reply-To: <20231013184554.337101-3-bernd@kuhls.net> References: <20231013184554.337101-1-bernd@kuhls.net> <20231013184554.337101-3-bernd@kuhls.net> Message-ID: <87a5sl2hpy.fsf@tarshish> Hi Bernd, On Fri, Oct 13 2023, Bernd Kuhls wrote: > Fixes: > http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ > > This musl-related autobuilder error occured when building alsa-lib and > is fixed by > https://patchwork.ozlabs.org/project/buildroot/patch/20230927052204.231589-1-bernd at kuhls.net/ > > When continuing the build of this defconfig we see a build error with > alsa-utils which is fixed by this patch. > > Signed-off-by: Bernd Kuhls > --- > .../0009-topology-include-locale.h.patch | 33 +++++++++++++++++++ > ...nhlt-dmic-info.c-include-sys-types.h.patch | 33 +++++++++++++++++++ > package/alsa-utils/Config.in | 1 + > 3 files changed, 67 insertions(+) > create mode 100644 package/alsa-utils/0009-topology-include-locale.h.patch > create mode 100644 package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch [...] > diff --git a/package/alsa-utils/Config.in b/package/alsa-utils/Config.in > index 3429d0b406..be222501b9 100644 > --- a/package/alsa-utils/Config.in > +++ b/package/alsa-utils/Config.in > @@ -65,6 +65,7 @@ config BR2_PACKAGE_ALSA_UTILS_APLAY > > config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI > bool "aplaymidi" > + select BR2_PACKAGE_ALSA_LIB_RAWMIDI Is this related to the musl build fix? baruch > select BR2_PACKAGE_ALSA_LIB_SEQ > > config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From giulio.benetti at benettiengineering.com Sat Oct 14 18:45:21 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 20:45:21 +0200 Subject: [Buildroot] [PATCH 2/2] DEVELOPERS: add Giulio Benetti for board Rockpro64 In-Reply-To: <20231014184521.87527-1-giulio.benetti@benettiengineering.com> References: <20231014184521.87527-1-giulio.benetti@benettiengineering.com> Message-ID: <20231014184521.87527-2-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- DEVELOPERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index 86496f6cc5..4d0b9debc5 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1200,6 +1200,7 @@ F: board/bananapi/bananapi-m2-ultra/ F: board/freescale/imx6ullevk/ F: board/freescale/imxrt1050evk/ F: board/olimex/a* +F: board/pine64/rockpro64 F: configs/amarula_vyasa_rk3288_defconfig F: configs/asus_tinker_rk3288_defconfig F: configs/bananapi_m2_berry_defconfig @@ -1208,6 +1209,7 @@ F: configs/freescale_imx6ullevk_defconfig F: configs/imx6ullevk_defconfig F: configs/imxrt1050-evk_defconfig F: configs/olimex_a* +F: configs/rockpro64_defconfig F: package/at/ F: package/binutils/ F: package/cryptsetup/ -- 2.34.1 From giulio.benetti at benettiengineering.com Sat Oct 14 18:45:20 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 20:45:20 +0200 Subject: [Buildroot] [PATCH 1/2] configs/rockpro64_defconfig: bump ATF to 2.9, U-Boot to 2023.07 and Linux to 6.5.7 Message-ID: <20231014184521.87527-1-giulio.benetti@benettiengineering.com> Also, since wi ith Linux commit [1] it's been defined the mmc* order making sd-card number to be 1 instead of 0. This prevent to boot from mmc0 with Linux version 5.10+ so let's change mmcblk0p4 to mmcblk1p4 in extlinux.conf in order to boot since we bump to Linux 6.5.7 [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0011c6d182774fc781fb9e115ebe8baa356029ae Signed-off-by: Giulio Benetti --- board/pine64/rockpro64/extlinux.conf | 2 +- configs/rockpro64_defconfig | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/board/pine64/rockpro64/extlinux.conf b/board/pine64/rockpro64/extlinux.conf index ea081a1f0b..83467ef43c 100644 --- a/board/pine64/rockpro64/extlinux.conf +++ b/board/pine64/rockpro64/extlinux.conf @@ -1,4 +1,4 @@ label RK3399_ROCKPRO64 linux kernel /Image devicetree /rk3399-rockpro64.dtb - append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk0p4 rw rootwait + append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p4 rw rootwait diff --git a/configs/rockpro64_defconfig b/configs/rockpro64_defconfig index d39640f855..4704ac7206 100644 --- a/configs/rockpro64_defconfig +++ b/configs/rockpro64_defconfig @@ -2,13 +2,13 @@ BR2_aarch64=y BR2_cortex_a72_a53=y -# Linux headers same as kernel, a 5.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y +# Linux headers same as kernel, a 6.5 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_5=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9.0" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y @@ -18,7 +18,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rockpro64-rk3399" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y @@ -32,7 +32,7 @@ BR2_TARGET_UBOOT_SPL_NAME="idbloader.img" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.2" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.7" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-rockpro64" -- 2.34.1 From yann.morin.1998 at free.fr Sat Oct 14 20:36:45 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 14 Oct 2023 22:36:45 +0200 Subject: [Buildroot] [PATCH] package/gcc: remoce leftover from legacy PowerPC patch Message-ID: <20231014203645.866867-1-yann.morin.1998@free.fr> In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching logic), the macro defining the conditional patch was removed, but it was still referenced and expanded in the apply-patches hook. Drop that now. Signed-off-by: Yann E. MORIN Cc: Romain Naour --- package/gcc/gcc.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 4a3b780618..9a164c8374 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -44,7 +44,6 @@ define HOST_GCC_APPLY_PATCHES $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ fi; \ done - $(HOST_GCC_APPLY_POWERPC_PATCH) endef HOST_GCC_EXCLUDES = \ -- 2.25.1 From giulio.benetti at benettiengineering.com Sat Oct 14 21:57:40 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 23:57:40 +0200 Subject: [Buildroot] [PATCH v4 3/4] package/linux-tools: add rtla In-Reply-To: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> References: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> Message-ID: <20231014215741.716289-3-giulio.benetti@benettiengineering.com> From: Maxime Chevallier The RealTime Linux Analysis tool includes a set of commands that relies on the osnoise and timerlat tracers from the ftrace kernel subsystem, allowing to analyze the lantency sources coming from the hardware and the kernel itself. This tool was introduced in v5.17, and relies on libtracefs and libtraceevent, although libtraceevent itself is already a dependency for libtracefs. Signed-off-by: Maxime Chevallier [Giulio: fix install on recent Linux versions] Signed-off-by: Giulio Benetti --- V1->V2: * fix install with recent Linux versions V2->V3: * deal with hwnoise presence as suggested by Yann Morin * change Config.in comment according to the point above --- DEVELOPERS | 2 ++ package/linux-tools/Config.in | 10 ++++++ package/linux-tools/linux-tool-rtla.mk.in | 40 +++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 package/linux-tools/linux-tool-rtla.mk.in diff --git a/DEVELOPERS b/DEVELOPERS index 5c4bc87e16..8f76d471ee 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1223,6 +1223,7 @@ F: package/libnss/ F: package/libnvme/ F: package/libtraceevent/ F: package/libtracefs +F: package/linux-tools/linux-tool-rtla.mk.in F: package/mali-driver/ F: package/minicom/ F: package/mmc-utils/ @@ -2116,6 +2117,7 @@ F: package/timescaledb/ N: Maxime Chevallier F: package/libtraceevent/ F: package/libtracefs +F: package/linux-tools/linux-tool-rtla.mk.in N: Michael Durrant F: board/arcturus/ diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in index 451b0eeff5..4df73159be 100644 --- a/package/linux-tools/Config.in +++ b/package/linux-tools/Config.in @@ -102,6 +102,16 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3 endif +config BR2_PACKAGE_LINUX_TOOLS_RTLA + bool "rtla" + select BR2_PACKAGE_LINUX_TOOLS + select BR2_PACKAGE_LIBTRACEFS + help + Linux 5.19 and later has 2 new tracers, osnoise and timerlat. + Linux 6.3 has new tracer hwnoise. These tracers allow performing + latency analysis, for which the rtla tool provides wrapper + commands to visualize and extract latency traces and reports. + config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS bool"selftests" depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash diff --git a/package/linux-tools/linux-tool-rtla.mk.in b/package/linux-tools/linux-tool-rtla.mk.in new file mode 100644 index 0000000000..04b98f443d --- /dev/null +++ b/package/linux-tools/linux-tool-rtla.mk.in @@ -0,0 +1,40 @@ +################################################################################ +# +# rtla +# +################################################################################ + +LINUX_TOOLS += rtla + +RTLA_DEPENDENCIES = host-pkgconf libtracefs +RTLA_MAKE_OPTS = $(LINUX_MAKE_FLAGS) \ + CC=$(TARGET_CC) \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig + +define RTLA_BUILD_CMDS + $(Q)if ! grep install $(LINUX_DIR)/tools/tracing/rtla/Makefile >/dev/null 2>&1 ; then \ + echo "Your kernel version is too old and does not implement the rtla tool." ; \ + echo "At least kernel 5.19 must be used." ; \ + exit 1 ; \ + fi + + $(TARGET_MAKE_ENV) \ + $(MAKE) $(RTLA_MAKE_OPTS) \ + -C $(LINUX_DIR)/tools/tracing rtla +endef + +# make rtla_install build and install by default documentation using rst2man +# but it's not available in Buildroot and we don't want manual files in target +# folder so let's simply install the resulting rtla binary and create symlinks +# like Linux does in its tools/tracing/rtla/Makefile +define RTLA_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(LINUX_DIR)/tools/tracing/rtla/rtla $(TARGET_DIR)/usr/bin + ln -sf rtla $(TARGET_DIR)/usr/bin/osnoise + ln -sf rtla $(TARGET_DIR)/usr/bin/timerlat + + # Check if hwnoise is provided or not + if grep -q hwnoise $(LINUX_DIR)/tools/tracing/rtla/Makefile; then \ + ln -sf rtla $(TARGET_DIR)/usr/bin/hwnoise ; \ + fi +endef -- 2.34.1 From giulio.benetti at benettiengineering.com Sat Oct 14 21:57:39 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 23:57:39 +0200 Subject: [Buildroot] [PATCH v4 2/4] package/libtracefs: new package In-Reply-To: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> References: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> Message-ID: <20231014215741.716289-2-giulio.benetti@benettiengineering.com> From: Maxime Chevallier Introduce the libtracefs library, that is used to be bundled with the trace-cmd tool. This library is now used by several tools and libraries such as trace-cmd and rtla, and is used as an interface to the ftrace kernel subsystem through tracefs. To build with meson, this package requires to disable documentation generation, and since this is not possible add a local patch pending upstream that adds -Ddoc=false support to libtracefs. Signed-off-by: Maxime Chevallier [Giulio: - bump version to 1.7.0 and add hash file - move to meson build system ] Signed-off-by: Giulio Benetti V1->V2: * bump to version 1.7.0 * add hash file V2->V3: * switch to meson build system --- DEVELOPERS | 2 + package/Config.in | 1 + ...-add-option-to-disable-documentation.patch | 51 +++++++++++++++++++ package/libtracefs/Config.in | 6 +++ package/libtracefs/libtracefs.hash | 4 ++ package/libtracefs/libtracefs.mk | 18 +++++++ 6 files changed, 82 insertions(+) create mode 100644 package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch create mode 100644 package/libtracefs/Config.in create mode 100644 package/libtracefs/libtracefs.hash create mode 100644 package/libtracefs/libtracefs.mk diff --git a/DEVELOPERS b/DEVELOPERS index 5506082545..5c4bc87e16 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1222,6 +1222,7 @@ F: package/libnspr/ F: package/libnss/ F: package/libnvme/ F: package/libtraceevent/ +F: package/libtracefs F: package/mali-driver/ F: package/minicom/ F: package/mmc-utils/ @@ -2114,6 +2115,7 @@ F: package/timescaledb/ N: Maxime Chevallier F: package/libtraceevent/ +F: package/libtracefs N: Michael Durrant F: board/arcturus/ diff --git a/package/Config.in b/package/Config.in index 2b3d3e612f..821bd1b366 100644 --- a/package/Config.in +++ b/package/Config.in @@ -118,6 +118,7 @@ menu "Debugging, profiling and benchmark" source "package/latencytop/Config.in" source "package/libbpf/Config.in" source "package/libtraceevent/Config.in" + source "package/libtracefs/Config.in" source "package/lmbench/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" diff --git a/package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch b/package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch new file mode 100644 index 0000000000..0813451008 --- /dev/null +++ b/package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch @@ -0,0 +1,51 @@ +From 881e23ed774360f93ca81f820d7897bd9bbd6d63 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sat, 30 Sep 2023 22:40:08 +0200 +Subject: [PATCH] libtracefs: add option to disable documentation + +On some Linux environment builder(i.e. Buildroot) host asciidoc is not +provided since by default all man/docs are not installed to target but +meson.build at the moment build ascii and html documentation and +requires asciidoc making the building to fail. So let's add doc option +set to true by default to let the user to override it and not produce +the documentation. + +Upstream: https://patchwork.kernel.org/project/linux-trace-devel/patch/20230930204008.2528607-1-giulio.benetti at benettiengineering.com/ + +Signed-off-by: Giulio Benetti +--- + meson.build | 3 +++ + meson_options.txt | 2 ++ + 2 files changed, 5 insertions(+) + +diff --git a/meson.build b/meson.build +index 9d42d78..f1e492e 100644 +--- a/meson.build ++++ b/meson.build +@@ -39,6 +39,8 @@ if cunit_dep.found() + subdir('utest') + endif + subdir('samples') ++ ++if get_option('doc') + subdir('Documentation') + + custom_target( +@@ -46,3 +48,4 @@ custom_target( + output: 'docs', + depends: [html, man], + command: ['echo']) ++endif +diff --git a/meson_options.txt b/meson_options.txt +index 1d92c28..5533a88 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -14,3 +14,5 @@ option('man-bold-literal', type : 'boolean', value : false, + description : 'enable bold literals') + option('docbook-suppress-sp', type : 'boolean', value : false, + description : 'docbook suppress sp') ++option('doc', type : 'boolean', value: true, ++ description : 'produce documentation') +-- +2.34.1 + diff --git a/package/libtracefs/Config.in b/package/libtracefs/Config.in new file mode 100644 index 0000000000..92ce0986df --- /dev/null +++ b/package/libtracefs/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBTRACEFS + bool "libtracefs" + select BR2_PACKAGE_LIBTRACEEVENT + help + libtracefs is used to easily interface with the ftrace + interface through the tracefs virtual filesystem. diff --git a/package/libtracefs/libtracefs.hash b/package/libtracefs/libtracefs.hash new file mode 100644 index 0000000000..676fcf1111 --- /dev/null +++ b/package/libtracefs/libtracefs.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 diff --git a/package/libtracefs/libtracefs.mk b/package/libtracefs/libtracefs.mk new file mode 100644 index 0000000000..cb705d4298 --- /dev/null +++ b/package/libtracefs/libtracefs.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# libtracefs +# +################################################################################ + +LIBTRACEFS_VERSION = 1.7.0 +LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot +LIBTRACEFS_INSTALL_STAGING = YES +LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1 +LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +LIBTRACEFS_DEPENDENCIES = host-pkgconf libtraceevent + +LIBTRACEFS_CONF_OPTS = \ + -Ddoc=false + +$(eval $(meson-package)) -- 2.34.1 From giulio.benetti at benettiengineering.com Sat Oct 14 21:57:38 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 23:57:38 +0200 Subject: [Buildroot] [PATCH v4 1/4] package/libtraceevent: new package Message-ID: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> From: Maxime Chevallier Introduce the libtraceevent library, that is used to be bundled with the trace-cmd tool. This library is now used by several tools and libraries such as trace-cmd, libtracefs and rtla. To build with meson, this package requires to disable documentation generation, and since this is not possible add a local patch pending upstream that adds -Ddoc=false support to libtraceevent. Signed-off-by: Maxime Chevallier [Giulio: - bump version to 1.7.3 and add hash file - move to meson build system ] Signed-off-by: Giulio Benetti --- V1->V2: * bump to version 1.7.3 * add hash file V3->V4: * switch to meson build system --- DEVELOPERS | 4 ++ package/Config.in | 1 + ...-add-option-to-disable-documentation.patch | 51 +++++++++++++++++++ package/libtraceevent/Config.in | 9 ++++ package/libtraceevent/libtraceevent.hash | 4 ++ package/libtraceevent/libtraceevent.mk | 16 ++++++ 6 files changed, 85 insertions(+) create mode 100644 package/libtraceevent/0001-libtraceevent-add-option-to-disable-documentation.patch create mode 100644 package/libtraceevent/Config.in create mode 100644 package/libtraceevent/libtraceevent.hash create mode 100644 package/libtraceevent/libtraceevent.mk diff --git a/DEVELOPERS b/DEVELOPERS index 06583c3c0a..5506082545 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1221,6 +1221,7 @@ F: package/libfuse3/ F: package/libnspr/ F: package/libnss/ F: package/libnvme/ +F: package/libtraceevent/ F: package/mali-driver/ F: package/minicom/ F: package/mmc-utils/ @@ -2111,6 +2112,9 @@ F: package/postgresql/ F: package/protozero/ F: package/timescaledb/ +N: Maxime Chevallier +F: package/libtraceevent/ + N: Michael Durrant F: board/arcturus/ F: configs/arcturus_ucp1020_defconfig diff --git a/package/Config.in b/package/Config.in index f4399a6021..2b3d3e612f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -117,6 +117,7 @@ menu "Debugging, profiling and benchmark" source "package/kyua/Config.in" source "package/latencytop/Config.in" source "package/libbpf/Config.in" + source "package/libtraceevent/Config.in" source "package/lmbench/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" diff --git a/package/libtraceevent/0001-libtraceevent-add-option-to-disable-documentation.patch b/package/libtraceevent/0001-libtraceevent-add-option-to-disable-documentation.patch new file mode 100644 index 0000000000..ba55315175 --- /dev/null +++ b/package/libtraceevent/0001-libtraceevent-add-option-to-disable-documentation.patch @@ -0,0 +1,51 @@ +From 62740520e25c9afbdfbd8cd8ef2e1c6b02d91915 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sat, 30 Sep 2023 22:40:17 +0200 +Subject: [PATCH] libtraceevent: add option to disable documentation + +On some Linux environment builder(i.e. Buildroot) host asciidoc is not +provided since by default all man/docs are not installed to target but +meson.build at the moment build ascii and html documentation and +requires asciidoc making the building to fail. So let's add doc option +set to true by default to let the user to override it and not produce +the documentation. + +Upstream: https://patchwork.kernel.org/project/linux-trace-devel/patch/20230930204017.2528627-1-giulio.benetti at benettiengineering.com/ + +Signed-off-by: Giulio Benetti +--- + meson.build | 3 +++ + meson_options.txt | 2 ++ + 2 files changed, 5 insertions(+) + +diff --git a/meson.build b/meson.build +index b61c873..9a18e02 100644 +--- a/meson.build ++++ b/meson.build +@@ -45,6 +45,8 @@ if cunit_dep.found() + subdir('utest') + endif + subdir('samples') ++ ++if get_option('doc') + subdir('Documentation') + + custom_target( +@@ -52,3 +54,4 @@ custom_target( + output: 'docs', + depends: [html, man], + command: ['echo']) ++endif +diff --git a/meson_options.txt b/meson_options.txt +index b2294f6..9a40dad 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -16,3 +16,5 @@ option('man-bold-literal', type : 'boolean', value : false, + description : 'enable bold literals') + option('docbook-suppress-sp', type : 'boolean', value : false, + description : 'docbook suppress sp') ++option('doc', type : 'boolean', value: true, ++ description : 'produce documentation') +-- +2.34.1 + diff --git a/package/libtraceevent/Config.in b/package/libtraceevent/Config.in new file mode 100644 index 0000000000..d351e3b4de --- /dev/null +++ b/package/libtraceevent/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBTRACEEVENT + bool "libtraceevent" + help + libtraceevent is a library that interfaces with the ftrace + subsystem in the linux kernel. + It used to be bundled directly in the trace-cmd + tool, but it was eventually extracted so that it can be used + by multiple other tools and libraries, such as libtracefs and + rtla. diff --git a/package/libtraceevent/libtraceevent.hash b/package/libtraceevent/libtraceevent.hash new file mode 100644 index 0000000000..15c4883afd --- /dev/null +++ b/package/libtraceevent/libtraceevent.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 097b72e0d907f3107825fb2edf0188324bf70dc9da360f6efa68dc484ffde541 libtraceevent-1.7.3.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 diff --git a/package/libtraceevent/libtraceevent.mk b/package/libtraceevent/libtraceevent.mk new file mode 100644 index 0000000000..1a3dae463e --- /dev/null +++ b/package/libtraceevent/libtraceevent.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libtraceevent +# +################################################################################ + +LIBTRACEEVENT_VERSION = 1.7.3 +LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot +LIBTRACEEVENT_INSTALL_STAGING = YES +LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 +LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +LIBTRACEEVENT_CONF_OPTS = \ + -Ddoc=false + +$(eval $(meson-package)) -- 2.34.1 From giulio.benetti at benettiengineering.com Sat Oct 14 21:57:41 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 23:57:41 +0200 Subject: [Buildroot] [PATCH v4 4/4] package/trace-cmd: bump to 3.1.7 In-Reply-To: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> References: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> Message-ID: <20231014215741.716289-4-giulio.benetti@benettiengineering.com> From: Maxime Chevallier trace-cmd's dependencies 'libtracefs' and 'libtraceevent' were split into dedicated projects, maintained outside of trace-cmd. This release, on top of bumping the version, adds this new dependencies. Signed-off-by: Maxime Chevallier [Giulio: bump to version 3.1.7] Signed-off-by: Giulio Benetti --- V1->V2: * bump to version 3.1.7 --- package/trace-cmd/Config.in | 2 ++ package/trace-cmd/trace-cmd.hash | 2 +- package/trace-cmd/trace-cmd.mk | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 2d0accd7ae..00b9ebbd9a 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -4,6 +4,8 @@ config BR2_PACKAGE_TRACE_CMD depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() + select BR2_PACKAGE_LIBTRACEEVENT + select BR2_PACKAGE_LIBTRACEFS help Command line reader for ftrace. diff --git a/package/trace-cmd/trace-cmd.hash b/package/trace-cmd/trace-cmd.hash index 4d39e4d5ea..6edcaf0e1c 100644 --- a/package/trace-cmd/trace-cmd.hash +++ b/package/trace-cmd/trace-cmd.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 a74d9ade2633b88d0ad199360d51996427e23f4835594133e456cd6e3bd3a651 trace-cmd-v2.9.7.tar.gz +sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk index 52bb99036c..3d4d88c964 100644 --- a/package/trace-cmd/trace-cmd.mk +++ b/package/trace-cmd/trace-cmd.mk @@ -4,14 +4,14 @@ # ################################################################################ -TRACE_CMD_VERSION = 2.9.7 +TRACE_CMD_VERSION = 3.1.7 TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz TRACE_CMD_SITE = \ https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 -TRACE_CMD_DEPENDENCIES = host-pkgconf +TRACE_CMD_DEPENDENCIES = host-pkgconf libtracefs libtraceevent TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc ifeq ($(BR2_PACKAGE_AUDIT),y) @@ -34,6 +34,8 @@ ifeq ($(BR2_sparc64),y) TRACE_CMD_CFLAGS += -fPIC endif +TRACE_CMD_CFLAGS += $($(HOST_DIR)/bin/pkg-config --cflags libtracefs) + # trace-cmd use CPPFLAGS to add some extra flags. # But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE # that causes build problems. -- 2.34.1 From yann.morin.1998 at free.fr Sat Oct 14 22:25:41 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 15 Oct 2023 00:25:41 +0200 Subject: [Buildroot] [PATCH] package/pkg-generic: drop support for arch-specific patches Message-ID: <20231014222541.891768-1-yann.morin.1998@free.fr> The last architecture-specific patch we had was removed 2015-02-14 with commit 9863553fe8fa (packages: all salute the passing of avr32), where we eventually got rid of the avr32-specific patch for fbv. Since then, we've only had common patches (that apply systematically), of conditional patches, that are applied in an ad-hoc manner with post-patch hooks. Currently, we even only have one such patch (for Linux). Since we do not advertise that possibility in the manual, and since we do not want to have such patches, drop the support for it. This has the potential for breaking existing br2-external trees, but there is a workaround for those: they can provide a pre-patch ook that copies the ecessary per-arch patches if needed. We document this in the manual. Signed-off-by: Yann E. MORIN --- docs/manual/migrating.adoc | 23 +++++++++++++++++++++++ package/pkg-generic.mk | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/manual/migrating.adoc b/docs/manual/migrating.adoc index 2667aeab96..21277f947b 100644 --- a/docs/manual/migrating.adoc +++ b/docs/manual/migrating.adoc @@ -100,3 +100,26 @@ change implies that: to be updated appropriately; * the archive version suffix has been updated to +-br3+, so the hash files must be updated appropriately. + +Before Buildroot 2023.11, it was possible (but undocumented and unused) +to apply architecture-specific patches, by prefixing the patch filename +with the architecture, e.g. `0001-some-changes.patch.arm` and such a +patch would only be applied for that architecture. With Buildroot 2023.11, +this is no longer supported, and such patches are now longer applied at +all. + +If you still need per-architecture patches, then you may provide a +xref:hooks[pre-patch hook] that copies the patches applicable to the +configured architecture, e.g.: + +---- +define LIBFOO_ARCH_PATCHES + $(foreach p,$(wildcard $(LIBFOO_PKGDIR)/*.patch.$(ARCH)), \ + cp -f $(p) $(patsubst %.$(ARCH),%,$(p)) + ) +endef +LIBFOO_PRE_PATCH_HOOKS += LIBFOO_ARCH_PATCHES +---- + +Note that no package in Buildroot has architecture-specific patches, and +that such patches will most probably not be accepted. diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 6e944dd6b7..face2dc6d9 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -252,9 +252,9 @@ $(BUILD_DIR)/%/.stamp_patched: for D in $(PATCH_BASE_DIRS); do \ if test -d $${D}; then \ if test -d $${D}/$($(PKG)_VERSION); then \ - $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch \*.patch.$(ARCH) || exit 1; \ + $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch || exit 1; \ else \ - $(APPLY_PATCHES) $(@D) $${D} \*.patch \*.patch.$(ARCH) || exit 1; \ + $(APPLY_PATCHES) $(@D) $${D} \*.patch || exit 1; \ fi; \ fi; \ done; \ -- 2.25.1 From james.hilliard1 at gmail.com Sun Oct 15 05:15:44 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 14 Oct 2023 23:15:44 -0600 Subject: [Buildroot] [PATCH 1/1] package/network-manager: bump to version 1.44.2 Message-ID: <20231015051544.429666-1-james.hilliard1@gmail.com> Drop patches which are now upstream. CONTRIBUTING.md hash changed due to text updates: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/987488a7ac4a193ea6160ab65a4bb215481cafb7 Signed-off-by: James Hilliard --- ...option-to-set-the-mobile-broadband-p.patch | 60 ------------------- ...build-failure-with-Dmodem_manager-fa.patch | 38 ------------ package/network-manager/network-manager.hash | 6 +- package/network-manager/network-manager.mk | 4 +- 4 files changed, 5 insertions(+), 103 deletions(-) delete mode 100644 package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch delete mode 100644 package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch diff --git a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch b/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch deleted file mode 100644 index 4336472e45..0000000000 --- a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 03ba04d4784fa4fc7ec31455070fb5ecf25ade23 Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Fri, 27 Jan 2023 22:38:42 +0100 -Subject: [PATCH] build: meson: add option to set the - mobile-broadband-provider-info database - -When building network-manager in cross-compile environment meson is not able -to detect the right location of the mobile-broadband-provider-info -database by using the pkg-config module. - -By adding the option 'mobile_broadband_provider_info_database' to set the -correct path to the datafile this can be solved. - -Signed-off-by: Heiko Thiery - -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1519 ---- - meson.build | 6 +++++- - meson_options.txt | 1 + - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 0adc42f738..84ce52c736 100644 ---- a/meson.build -+++ b/meson.build -@@ -584,7 +584,10 @@ enable_modem_manager = get_option('modem_manager') - if enable_modem_manager - mm_glib_dep = dependency('mm-glib', version: '>= 0.7.991') - -- mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') -+ mobile_broadband_provider_info_database = get_option('mobile_broadband_provider_info_database') -+ if mobile_broadband_provider_info_database == '' -+ mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') -+ endif - config_h.set_quoted('MOBILE_BROADBAND_PROVIDER_INFO_DATABASE', mobile_broadband_provider_info_database) - endif - -@@ -1054,6 +1057,7 @@ output += ' jansson: ' + jansson_msg + '\n' - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' -+output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' - output += ' ofono: ' + enable_ofono.to_string() + '\n' - output += ' concheck: ' + enable_concheck.to_string() + '\n' - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' -diff --git a/meson_options.txt b/meson_options.txt -index 8b1d32e645..4e359f9e92 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -32,6 +32,7 @@ option('ppp', type: 'boolean', value: true, description: 'enable PPP/PPPoE suppo - option('pppd', type: 'string', value: '', description: 'path to pppd binary') - option('pppd_plugin_dir', type: 'string', value: '', description: 'path to the pppd plugins directory') - option('modem_manager', type: 'boolean', value: true, description: 'Enable new ModemManager1 interface support') -+option('mobile_broadband_provider_info_database', type: 'string', value: '', description: 'path to the mobile-broadband-provider-info database') - option('ofono', type: 'boolean', value: false, description: 'Enable oFono support (experimental)') - option('concheck', type: 'boolean', value: true, description: 'enable connectivity checking support') - option('teamdctl', type: 'boolean', value: false, description: 'enable Teamd control support') --- -2.20.1 - diff --git a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch b/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch deleted file mode 100644 index 648be027e0..0000000000 --- a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 736a2c356c1c4871e8c4e70be622c65c87d3bca8 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 21 Feb 2023 13:03:00 +0100 -Subject: [PATCH] meson.build: fix build failure with -Dmodem_manager=false - -Fix the following build failure with -Dmodem_manager=false raised since -https://gitlab.freedesktop.org/ffontaine/NetworkManager/-/commit/03ba04d4784fa4fc7ec31455070fb5ecf25ade23: - -../output-1/build/network-manager-1.40.10/meson.build:1060:0: ERROR: Unknown variable "mobile_broadband_provider_info_database". - -Fixes: - - http://autobuild.buildroot.org/results/896879c8e8ce022556ee834216ced2f962ff279c - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1544] ---- - meson.build | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 84ce52c736..b79240efc0 100644 ---- a/meson.build -+++ b/meson.build -@@ -1057,7 +1057,9 @@ output += ' jansson: ' + jansson_msg + '\n' - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' --output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' -+if enable_modem_manager -+ output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' -+endif - output += ' ofono: ' + enable_ofono.to_string() + '\n' - output += ' concheck: ' + enable_concheck.to_string() + '\n' - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' --- -2.39.0 - diff --git a/package/network-manager/network-manager.hash b/package/network-manager/network-manager.hash index 895351a537..0196d68c55 100644 --- a/package/network-manager/network-manager.hash +++ b/package/network-manager/network-manager.hash @@ -1,6 +1,6 @@ -# From https://download.gnome.org/sources/NetworkManager/1.42/NetworkManager-1.42.0.sha256sum -sha256 2f6756d507bb6b46716594b67e6fe7491891e1b5b167bbafc5157dfa7753d5b4 NetworkManager-1.42.0.tar.xz +# From https://download.gnome.org/sources/NetworkManager/1.44/NetworkManager-1.44.2.sha256sum +sha256 4b58bf3ac57e2cefb5652efd0945eb0b4bc36a63d92a61ab471d8bb2c9a420e1 NetworkManager-1.44.2.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL -sha256 cfb6c71f6df5898e1724be3debe9adac48c115b903915406c1e7dfd362b57892 CONTRIBUTING.md +sha256 e7cf3d92bda8e5365eaf4514d572146a19e93336f7a966493778d0d0c4476fae CONTRIBUTING.md diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 9188af29eb..f6ef923d55 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -4,8 +4,8 @@ # ################################################################################ -NETWORK_MANAGER_VERSION_MAJOR = 1.42 -NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).0 +NETWORK_MANAGER_VERSION_MAJOR = 1.44 +NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).2 NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) NETWORK_MANAGER_INSTALL_STAGING = YES -- 2.34.1 From thomas.petazzoni at bootlin.com Sun Oct 15 05:39:20 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 15 Oct 2023 05:39:20 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-14 Message-ID: <20231015053926.232F440B6E@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-14 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 21 | 10 | 0 | 31 | 2023.08.x | 11 | 12 | 0 | 23 | master | 56 | 74 | 1 | 131 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 8 gcc-final-12.3.0 | 5 host-rust-1.71.1 | 5 alsa-lib-1.2.10 | 4 unknown | 4 bird-2.0.12 | 3 monit-5.33.0 | 3 duma-2.5.15 | 2 elfutils-0.189 | 2 gcc-final-11.4.0 | 2 gobject-introspection-1.76.1 | 2 host-go-1.21.3 | 2 linux-6.5.7 | 2 spirv-tools-1.3.261.1 | 2 systemd-254 | 2 alsa-utils-1.2.10 | 1 apparmor-3.1.2 | 1 binutils-arc-2020.09-release | 1 brltty-6.5 | 1 cryptodev-linux-1.13 | 1 docker-cli-24.0.6 | 1 ethtool-6.5 | 1 fs/romfs/romfs.mk:32: /home... | 1 glibc-2.38-27-g750a45a78390... | 1 gobject-introspection | 1 libarchive-3.7.2 | 1 libglib2-2.76.1 | 1 libnvme-1.5 | 1 libressl-3.7.3 | 1 libselinux-3.5 | 1 liquid-dsp-1.5.0 | 1 memcached-1.6.21 | 1 motion-4.5.1 | 1 netsnmp-5.9.4 | 1 ola-0.10.9 | 1 php-8.2.11 | 1 rdma-core-47.0 | 1 ulog-0389d243352255f6182326... | 1 util-linux-2.39.2 | 1 valgrind-3.21.0 | 1 xenomai-3.0.10 | 1 zabbix-6.2.7 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/359021a25a9ddc9242c25037023b4c27ad6594e6 | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/38f0508b169944f8253694cc0f2048d1962b3360 | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a1d9395c5f9633780383297a61ecb7ac7170deb0 | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/da397c058137e42f5aaa91bed827e9a1e45dabd2 | mips64el | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/59811267bc51037175c388c47f5e2479f608107d | arc | apparmor-3.1.2 | NOK | http://autobuild.buildroot.net/results/ee70f60d74bc1b1ba11d65fd0c567eb1ad50869b | arceb | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/712d6d81a01a35ed115d22eb97b119268e41e409 | armeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/765e5dbb92685272e62987e1a619667f77f1e0b3 | mips64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b1380a675b88e6b3535c31e926af1a0897e2534b | microblazeel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/09cb8097664f60fadeea0818296cb59d504309ca | x86_64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/4df5304281ba1a825ed0b91f8128e3c077326942 | powerpc64 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/5b058683496a421c692f6019ff591962328b8c53 | ORPH x86_64 | docker-cli-24.0.6 | NOK | http://autobuild.buildroot.net/results/fecaf8d037b61ff05ea3a9114b19d12ba5e3b82d | sparc64 | duma-2.5.15 | NOK | http://autobuild.buildroot.net/results/009558e053bc7428dc3613a47fea9c5f8bb84515 | ORPH sparc64 | duma-2.5.15 | NOK | http://autobuild.buildroot.net/results/aae3d90264b1964b5f0f11a72b8e2785004ae374 | ORPH mipsel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/763ce9cb9c0c415da7f11169832c31620c7d267f | ORPH arceb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/e06729aaa6fe23fcbba8581e177471e2d2ab4d52 | ORPH aarch64_be | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/69e01b7f370920630d132fc43a40104fa5b3959f | aarch64 | fs/romfs/romfs.mk:32: /home... | NOK | http://autobuild.buildroot.net/results/ef3e711fc4806c9efa5fa0dd9ac641cf8da15651 | xtensa | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/aa0b9254d4e9ca8720ead9c25a3fa966d1f23554 | x86_64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/bd83c37054dee9514cddcb602e45a456e12e0240 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/a7a6433e99c7b23c4b254eb1f60ee6261c089763 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/1207a535ce4947ed1e44cd6a42a6bd6bb04202ec | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/38cba25bdbd5c0d4ef8272f4331493b8fcbda500 | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/322fb85e62db09e9b078e607ae251e7c028e738c | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/60e2896a57ac0f3ac510aa153594681f3f0cef4c | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/3bd297214c3ef33fe0f65ad4fd145549f728a486 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/453858e184f4d93836da101ce2094e80e7371c85 | powerpc | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/ef27714b84927da8e2b22256dd77d40ef78854d4 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/2b1b27cae0f56c7207942b79e09f744d461486d0 | ORPH mips64 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/54a61b4dcd7f55ed17f7c2dd2ebb53dfc4cae86d | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/37f79e47056e144995cee0e2d821c665da665173 | i686 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e733b8aae4628c7bea258f51e42ee4ba2c695fad | i686 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/1c6d86432f2508a1172086c300550ed6aa86036d | mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4fa75af0fa7afe1daca68b3d7236ad607ef6e24d | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/1eeace1b3b6deb900a7228243ff23639aa2ed503 | mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/18405add345587d82cb9eab401b768bcd15bebc1 | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/64657132d1f60f2aacffd838a2699f1a31deacfb | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/9fba7d1f7eb62eb31ee1151c75f7ee94446fd481 | i686 | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/eb31150f2aaa824d65210a66e198ce1561ce9145 | armeb | libressl-3.7.3 | NOK | http://autobuild.buildroot.net/results/ed98f049a5ea2695f4497b72c72261355b8ee3ee | ORPH nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/f030cbbc0f828e04974a7fa027711267f492350f | mips64el | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/6a02a195d29caf4e40043fafa8f7bc7f60b3f05f | ORPH mips64 | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/0d6a9d76ecdb8717e1946a2ec5b8c176a554913b | ORPH i686 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/1a807f6cdd1b13da6361ca2adedc13e40e7fef5b | x86_64 | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/22b193afe3d19ba195b55c30f0af3ff8728acc67 | ORPH arceb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/369dca6155df0224b9f35bc6ace6b6071fe08866 | arceb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/8b33256a32bfaaa5e9ee09bd1c4ed2dbed591d43 | microblazeel | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/b0af09edd63dbef5e2206b3f3be96aa2752531fc | nios2 | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/6f1b56b4479f181afbf180e1a2cbb24575a0ec9b | armeb | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/9688fe44b99b898ea0ad0212a4dc2516c54fda9a | ORPH sparc64 | ola-0.10.9 | NOK | http://autobuild.buildroot.net/results/a69efa83ec857fd0a6207efebe52236f680fe6b9 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/148dc55f385ef93d520bc62bac32990f8e109221 | sh4aeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/8a8c712a67bce658965358b65a58a15df8d767ed | sh4eb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7509b2c137aa78268a1ded3fd9455526071fc2ce | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3763ee3a0962fcd557521e0a9997d0214aa53981 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/18b17dee11f5c4f1a5d84bdaa1f82104d557d8cf | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e66aa6881b85a8c7311b4e8349e44ff67c7b3403 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c7294bbe829ef5e8ab919c578274928dc1383bc4 | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/14c7f9b2f226220c96ca38d6eeace63ac8378e16 | microblaze | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/9baadc07fad24f3a4ae502b09690b865d14d7a04 | mips64el | rdma-core-47.0 | NOK | http://autobuild.buildroot.net/results/2df58f9b98aacf00960932f53510b29199393461 | arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/ca8c741bc3deb3880dbcda9a90a2429b1159f555 | ORPH i686 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/8ce88457b8ec394657ce734710f30b812c77e32f | ORPH s390x | systemd-254 | NOK | http://autobuild.buildroot.net/results/42b1ca386145133ecf812af70cfbf374d2d7dcaa | mips64el | systemd-254 | NOK | http://autobuild.buildroot.net/results/7eb96da563cd26ba232038d11ccb585c5c6aa655 | sparc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/b7a1dfe8e1ea5c16c4dfb018647608e1632c4d0b | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/44d9e1dd2855fceb91b4a7f75f38063a1f54ec49 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/af90c767bb83ccaf472aceed2cbb1a2b2498f1b2 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/4930078b1f4116b53535a4e0d20945cbfbda6ed0 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/efd966327eab54bfc31d260e1640f99e6c892b92 | arm | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/f76437b621f760a4f485d560fbcd1d945ee518e4 | ORPH powerpc | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/ad1f00e582a2c3f9fbe76c39aefb3627b77eb323 | ORPH powerpc64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/8011fd036ea3562990dcd30fd157415a360d6bbf | s390x | zabbix-6.2.7 | NOK | http://autobuild.buildroot.net/results/ab403b45761c82f49a9380564bf10d3e7ae935f2 | Classification of failures by reason for 2023.02.x -------------------------------------------------- unknown | 2 gcnano-binaries-0ac1a89d7a5... | 1 gobject-introspection-1.72.0 | 1 host-binutils-2.38 | 1 linux-5.10.162-cip24-rt10 | 1 mariadb-10.3.36 | 1 nftables-python-1.0.7 | 1 openblas-0.3.21 | 1 perl-5.36.0 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | gcnano-binaries-0ac1a89d7a5... | NOK | http://autobuild.buildroot.net/results/1aea1bcf972b526f5e8d408a07583e7fa1349a01 | sparc64 | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/d257cec272c40422ab6ae0a079e4fe3ee844b9c2 | ORPH x86_64 | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/bb792cbf1d1b766d6f3bd5fd822c2fdfe32571ea | mips | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/e88cd6e817d42e927cab4a550f98793fa54e6f37 | ORPH powerpc64le | mariadb-10.3.36 | NOK | http://autobuild.buildroot.net/results/13ba4dcff58abc41b8670f07384e108ccd308684 | ORPH armeb | nftables-python-1.0.7 | NOK | http://autobuild.buildroot.net/results/f697a2e87372bf743288f5f0f0dc001e133d4da8 | mips64el | openblas-0.3.21 | NOK | http://autobuild.buildroot.net/results/83d08f325744f64033e3e6b8cb50862b6c253dd8 | powerpc64le | perl-5.36.0 | NOK | http://autobuild.buildroot.net/results/753d06d8ef38deae2a318ee8adfce181244660f7 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/9da03072f680a4387f22ed5f454e9f31e17b6f93 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/bbc55714a41c48f66aaa38e95d082bc1fc846da1 | Classification of failures by reason for 2023.08.x -------------------------------------------------- unknown | 3 bat-0.23.0 | 1 bird-2.0.12 | 1 elfutils-0.189 | 1 highway-1.0.3 | 1 host-go-1.20.10 | 1 mc-4.8.29 | 1 util-linux-2.39.1 | 1 valgrind-3.21.0 | 1 wolfssl-5.6.3 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- i686 | bat-0.23.0 | NOK | http://autobuild.buildroot.net/results/0d351054dfa531e4110d0371b843d6140e20d700 | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/57226d30be99de2ed8d52d22f435bc535c3fcec1 | microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/e7bb1cfe9d30f23cdef79f3ed154fefb9f7924c9 | ORPH aarch64_be | highway-1.0.3 | NOK | http://autobuild.buildroot.net/results/2b149819501c7e145e4e18909dbd865aabf1da1b | i686 | host-go-1.20.10 | NOK | http://autobuild.buildroot.net/results/711c2620208e711f2c3be38d0f603fcd61f52953 | arc | mc-4.8.29 | NOK | http://autobuild.buildroot.net/results/a57bf9bf6db3b427833cf02cb5211f388b692555 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/8aedabbc0a0f885d95cb0f7d825a877478cf2fa7 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/ef83e23995a3346325fee29fca25c7c9af1807af | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/8a15c2c1c781d5ce22be742b76c8af3c7b1439ac | arceb | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/114da31496349ac5c84d5bbe1d8dcefd71d9c021 | ORPH mips64 | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/e9205878607772f8e8a32900527654e9b8772a43 | ORPH mips | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/7ade02277cf222f231333fdd75ae0803753470ba | -- http://autobuild.buildroot.net From troglobit at gmail.com Sun Oct 15 06:36:46 2023 From: troglobit at gmail.com (Joachim Wiberg) Date: Sun, 15 Oct 2023 08:36:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/inadyn: bump to v2.12.0 Message-ID: <20231015063648.1360322-1-troglobit@gmail.com> New features and DDNS provider support (IPv64.net), but also a lot of fixes to regressions introduced in v2.11.0, e.g.: - dynv6.com not working at all, regression in v2.11.0 - Regression in DDNS provider names, introduced in v2.11.0: - dyndns at 3322.org - dyndns at he.net - default at dynv6.com - ipv6tb at he.net >From https://github.com/troglobit/inadyn/releases/tag/v2.12.0 Signed-off-by: Joachim Wiberg --- package/inadyn/inadyn.hash | 2 +- package/inadyn/inadyn.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/inadyn/inadyn.hash b/package/inadyn/inadyn.hash index 94af9f87b7..eb5249e371 100644 --- a/package/inadyn/inadyn.hash +++ b/package/inadyn/inadyn.hash @@ -1,5 +1,5 @@ # Upstream .sha256 from GitHub -sha256 9ddac7b6b0a1ed372c6cb5afaec6bea927ab539db02c8536dd10d73bd1d37c95 inadyn-2.11.0.tar.gz +sha256 38fe00f20b293e64a89efc85f766ff40f0be3bcf9c3ed68b842104540a60806e inadyn-2.12.0.tar.gz # Locally computed sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk index 3e346fd769..fa2eedc1f3 100644 --- a/package/inadyn/inadyn.mk +++ b/package/inadyn/inadyn.mk @@ -4,7 +4,7 @@ # ################################################################################ -INADYN_VERSION = 2.11.0 +INADYN_VERSION = 2.12.0 INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VERSION) INADYN_LICENSE = GPL-2.0+ INADYN_LICENSE_FILES = COPYING -- 2.34.1 From troglobit at gmail.com Sun Oct 15 06:41:16 2023 From: troglobit at gmail.com (Joachim Wiberg) Date: Sun, 15 Oct 2023 08:41:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/libite: bump to v2.6.0 Message-ID: <20231015064117.1362398-1-troglobit@gmail.com> Only new APIS, no fixes compared to v2.5.3. For details, see the full changelog at: https://github.com/troglobit/libite/releases/tag/v2.6.0 LICENSE hash changed due to bump in copyright years. Signed-off-by: Joachim Wiberg --- package/libite/libite.hash | 4 ++-- package/libite/libite.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libite/libite.hash b/package/libite/libite.hash index 7dac198ab8..b0cdc32800 100644 --- a/package/libite/libite.hash +++ b/package/libite/libite.hash @@ -1,7 +1,7 @@ # Upstream .sha256 from GitHub -sha256 ca086adc7ebf0c2ebf2ed7a6787f9567fb802db8583576228dd5dd5ddfb7bb97 libite-2.5.3.tar.xz +sha256 da468005bab3d9d096974e61278b2e6a8eecf204fa018986ea21f639f38013eb libite-2.6.0.tar.gz # Locally calculated -sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE +sha256 3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422 LICENSE sha256 c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14 src/chomp.c sha256 bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918 src/pidfile.c diff --git a/package/libite/libite.mk b/package/libite/libite.mk index 1cef992e53..e8c57aa2e9 100644 --- a/package/libite/libite.mk +++ b/package/libite/libite.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBITE_VERSION = 2.5.3 +LIBITE_VERSION = 2.6.0 LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause -- 2.34.1 From peter at korsgaard.com Sun Oct 15 08:48:08 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:48:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: security bump version to 4.18.8 In-Reply-To: <20231014124243.80138-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 14 Oct 2023 14:42:43 +0200") References: <20231014124243.80138-1-bernd@kuhls.net> Message-ID: <87o7h0z2yf.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://www.samba.org/samba/history/samba-4.18.8.html > Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & > CVE-2023-42670. > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:49:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:49:30 +0200 Subject: [Buildroot] [PATCH] package/gcc: remoce leftover from legacy PowerPC patch In-Reply-To: <20231014203645.866867-1-yann.morin.1998@free.fr> (Yann E. MORIN's message of "Sat, 14 Oct 2023 22:36:45 +0200") References: <20231014203645.866867-1-yann.morin.1998@free.fr> Message-ID: <87jzroz2w5.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching > logic), the macro defining the conditional patch was removed, but it was > still referenced and expanded in the apply-patches hook. > Drop that now. > Signed-off-by: Yann E. MORIN > Cc: Romain Naour Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:51:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:51:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/libmatroska: bump to version 1.7.1 In-Reply-To: <20231012162057.4366-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 18:20:57 +0200") References: <20231012162057.4366-1-fontaine.fabrice@gmail.com> Message-ID: <87fs2cz2sx.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > C++14 is mandatory since version 1.7.0 and > https://github.com/Matroska-Org/libmatroska/commit/7263bbaac134a20a79dfe7bd23b364fcd1a588cc > https://github.com/Matroska-Org/libmatroska/blob/release-1.7.1/NEWS.md > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:52:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:52:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/nmap: fix build with libressl >= 3.5.0 In-Reply-To: <20231012163622.87846-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 18:36:22 +0200") References: <20231012163622.87846-1-fontaine.fabrice@gmail.com> Message-ID: <87bkd0z2qv.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:53:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:53:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/pound: force libopenssl In-Reply-To: <20231012204047.243690-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 22:40:47 +0200") References: <20231012204047.243690-1-fontaine.fabrice@gmail.com> Message-ID: <877cnoz2q0.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Force libopenssl to avoid the following build failure with libressl > raised since bump to version 4.8 in commit > 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: > pound.c: In function 'main': > pound.c:971:27: error: 'l_id' undeclared (first use in this function) > 971 | CRYPTO_set_id_callback (l_id); > | ^~~~ > Fixes: > - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:54:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:54:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/netsnmp: fix musl build In-Reply-To: <20231012211357.643153-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 23:13:57 +0200") References: <20231012211357.643153-1-fontaine.fabrice@gmail.com> Message-ID: <8734ycz2nw.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following musl build failure raised since bump to version 5.9.4 > in commit 868603755c16296ae2a61845891edeafc36e48ca: > large_fd_set.c: In function 'LFD_SET': > ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? > 1614 | #define NETSNMP_FD_MASK_TYPE unknown > | ^~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:54:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:54:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: bump version to 254.5 In-Reply-To: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> (Adam Duskett's message of "Fri, 13 Oct 2023 10:30:37 +0200") References: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> Message-ID: <87y1g4xo2p.fsf@48ers.dk> >>>>> "Adam" == Adam Duskett writes: > All tests passed in Debian 11 with the following command: > ./support/testing/run-tests tests.init.test_systemd > Signed-off-by: Adam Duskett Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:56:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:56:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/rauc: bump version to 1.10.1 In-Reply-To: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> (Adam Duskett's message of "Fri, 13 Oct 2023 11:35:41 +0200") References: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> Message-ID: <87ttqsxo08.fsf@48ers.dk> >>>>> "Adam" == Adam Duskett writes: > Signed-off-by: Adam Duskett Committed, thanks. I marked it as a bugfix release so I won't forget to backport it to 2023.08.x. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:56:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:56:49 +0200 Subject: [Buildroot] [PATCH] board/raspberrypi: fix typo in comment In-Reply-To: <20231013202528.164224-1-gael.portay@rtone.fr> (=?utf-8?Q?=22?= =?utf-8?Q?Ga=C3=ABl?= PORTAY"'s message of "Fri, 13 Oct 2023 22:25:28 +0200") References: <20231013202528.164224-1-gael.portay@rtone.fr> Message-ID: <87pm1gxnzi.fsf@48ers.dk> >>>>> "Ga?l" == Ga?l PORTAY writes: > This fixes a typo by dropping off the spurious x in ensure. > Signed-off-by: Ga?l PORTAY Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:58:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:58:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/mutt: fix libgpgme static build In-Reply-To: <20231013210830.143696-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 13 Oct 2023 23:08:30 +0200") References: <20231013210830.143696-1-fontaine.fabrice@gmail.com> Message-ID: <87lec4xnwy.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following static build failure with libgpgme raised since at > least bump to version 2.2.9 in commit > 7a2afdb7b1180bed3b6ad92c22c908805467ead3: > /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: > /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): > in function `my_usleep': > assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' > Fixes: > - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf > - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:59:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:59:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/usbguard: fix build with gcc >= 13 In-Reply-To: <20231013215355.323987-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 13 Oct 2023 23:53:55 +0200") References: <20231013215355.323987-1-fontaine.fabrice@gmail.com> Message-ID: <87h6msxnv5.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with gcc >= 13: > In file included from src/Library/Base64.cpp:23: > src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type > 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); > | ^~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 09:02:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 11:02:23 +0200 Subject: [Buildroot] [PATCH v2] package/qemu: security bump version to 8.1.1 In-Reply-To: <20231011071244.419815-1-ramirez.clement3@gmail.com> (Clement Ramirez's message of "Wed, 11 Oct 2023 09:12:44 +0200") References: <20231011071244.419815-1-ramirez.clement3@gmail.com> Message-ID: <87cyxgxnq8.fsf@48ers.dk> >>>>> "Clement" == Clement Ramirez writes: > Fixes the following CVEs : > - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) > - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) > - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) > The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: > 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release > 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR > 56270e5d3d meson: Fix targetos match for illumos and Solaris. > 60da8301fe s390x/ap: fix missing subsystem reset registration > 8b479229ff ui: fix crash when there are no active_console > d4919bbcc2 virtio-gpu/win32: set the destroy function on load > cae7dc1452 target/riscv: Allocate itrigger timers only once > 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes > 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 > b822207513 hw/riscv: virt: Fix riscv,pmu DT node path > 2947da750e linux-user/riscv: Use abi type for target_ucontext > 60a7f5c8fe hw/intc: Make rtc variable names consistent > 566dac7127 hw/intc: Fix upper/lower mtime write calculation > 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d > 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first > 987e90cfd2 target/riscv/cpu.c: add zmmul isa string > b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts > 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts > 9832a670b3 arm64: Restore trapless ptimer access > df33ce9b6d virtio: Drop out of coroutine context in virtio_load() > eeee989f72 qxl: don't assert() if device isn't yet initialized > 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() > 6356785daa docs tests: Fix use of migrate_set_parameter > 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options > 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error > 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode > d5361580ac hw/ide/ahci: fix broken SError handling > e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() > 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set > 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared > 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling > 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command > c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion > f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian > 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr > 5358980d33 hw/ppc/e500: fix broken snapshot replay > 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup > 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects > e975434d62 target/i386: raise FERR interrupt with iothread locked > e5e77f256f linux-user: Adjust brk for load_bias > 645b87f650 target/arm: properly document FEAT_CRC32 > 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup > 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section > 441106eebb docs/about/license: Update LICENSE URL > 63188a00bb target/arm: Fix 64-bit SSRA > 7012e20b2d target/arm: Fix SME ST1Q > c8e381d672 accel/kvm: Specify default IPA size for arm64 > 34808d041c kvm: Introduce kvm_arch_get_default_type hook > 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts > 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 > c12eddbd48 target/s390x: Fix VSTL with a large length > 880e82ed78 target/s390x: Use a 16-bit immediate in VREP > 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS > Signed-off-by: Clement Ramirez > --- > Changes v1 -> v2: > - add a comment to explain why ignoring CVEs is required Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:49:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:49:15 +0200 Subject: [Buildroot] [git commit] package/gcc: remove leftover from legacy PowerPC patch Message-ID: <20231015090300.612A384600@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=84cdd92f0172ccc49fd2c037caaf3a659a26194d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching logic), the macro defining the conditional patch was removed, but it was still referenced and expanded in the apply-patches hook. Drop that now. Signed-off-by: Yann E. MORIN Cc: Romain Naour Signed-off-by: Peter Korsgaard --- package/gcc/gcc.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 4a3b780618..9a164c8374 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -44,7 +44,6 @@ define HOST_GCC_APPLY_PATCHES $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ fi; \ done - $(HOST_GCC_APPLY_POWERPC_PATCH) endef HOST_GCC_EXCLUDES = \ From peter at korsgaard.com Sun Oct 15 08:53:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:53:06 +0200 Subject: [Buildroot] [git commit] package/pound: force libopenssl Message-ID: <20231015090300.97FB484600@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=648502bdbdcf6a8996db897af731fd2219d777d1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Force libopenssl to avoid the following build failure with libressl raised since bump to version 4.8 in commit 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: pound.c: In function 'main': pound.c:971:27: error: 'l_id' undeclared (first use in this function) 971 | CRYPTO_set_id_callback (l_id); | ^~~~ Fixes: - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/pound/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pound/Config.in b/package/pound/Config.in index 60fafff935..aa0f103273 100644 --- a/package/pound/Config.in +++ b/package/pound/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_POUND depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable From peter at korsgaard.com Sun Oct 15 08:47:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:47:45 +0200 Subject: [Buildroot] [git commit] package/samba4: security bump version to 4.18.8 Message-ID: <20231015090300.51694851BB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2dc61bfa768659ffa208b179967c332e6252d5ad branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://www.samba.org/samba/history/samba-4.18.8.html Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & CVE-2023-42670. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fea760c500..9843d419f0 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc -sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc +sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index cfa94fc141..9cf7a59d9b 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.7 +SAMBA4_VERSION = 4.18.8 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 15 08:53:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:53:33 +0200 Subject: [Buildroot] [git commit] package/netsnmp: fix musl build Message-ID: <20231015090300.A4613851C9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dad81003c905c5fe33599c1676ed46108b512bc0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following musl build failure raised since bump to version 5.9.4 in commit 868603755c16296ae2a61845891edeafc36e48ca: large_fd_set.c: In function 'LFD_SET': ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? 1614 | #define NETSNMP_FD_MASK_TYPE unknown | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch | 38 ++++++++++++++++++++++ package/netsnmp/netsnmp.mk | 2 ++ 2 files changed, 40 insertions(+) diff --git a/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch new file mode 100644 index 0000000000..91a00aec27 --- /dev/null +++ b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch @@ -0,0 +1,38 @@ +From a62169f1fa358be8f330ea8519ade0610fac525b Mon Sep 17 00:00:00 2001 +From: Adam Gajda +Date: Mon, 2 Oct 2023 16:40:31 +0200 +Subject: [PATCH] Fix configuration of NETSNMP_FD_MASK_TYPE + +Upstream: https://github.com/net-snmp/net-snmp/commit/a62169f1fa358be8f330ea8519ade0610fac525b +Signed-off-by: Fabrice Fontaine +--- + configure | 2 +- + configure.d/config_project_types | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 9f0a173d8a..945a27c663 100755 +--- a/configure ++++ b/configure +@@ -30871,7 +30871,7 @@ CFLAGS="$CFLAGS -Werror" + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits" >&5 + printf %s "checking for the type of fd_set::fds_bits... " >&6; } +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +diff --git a/configure.d/config_project_types b/configure.d/config_project_types +index 1b4c66b95e..a78e8ebb06 100644 +--- a/configure.d/config_project_types ++++ b/configure.d/config_project_types +@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -Werror" + + AC_MSG_CHECKING([for the type of fd_set::fds_bits]) +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include + #include diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index b0c35aa894..a79c13c611 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -40,6 +40,8 @@ NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true inst NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install NETSNMP_MAKE = $(MAKE1) NETSNMP_CONFIG_SCRIPTS = net-snmp-config +# We're patching configure.d/config_project_types +NETSNMP_AUTORECONF = YES define NETSNMP_USERS snmp -1 snmp -1 * - - - snmpd user From peter at korsgaard.com Sun Oct 15 08:54:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:54:37 +0200 Subject: [Buildroot] [git commit] package/systemd: bump version to 254.5 Message-ID: <20231015090300.B3FD2851CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1c6b1ee63f614a7480ad100aceb6f5e85353326f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master All tests passed in Debian 11 with the following command: ./support/testing/run-tests tests.init.test_systemd Signed-off-by: Adam Duskett Acked-by: Norbert Lange Signed-off-by: Peter Korsgaard --- package/systemd/systemd.hash | 2 +- package/systemd/systemd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/systemd/systemd.hash b/package/systemd/systemd.hash index 10f4bc04fa..f0c3db60e7 100644 --- a/package/systemd/systemd.hash +++ b/package/systemd/systemd.hash @@ -1,5 +1,5 @@ # sha256 locally computed -sha256 18db69c8fc33afebf95a40cfa3769df5f0e4a07bccdebd33b2fd81c8b75e7a02 systemd-254.tar.gz +sha256 41873783aa1c680e10d2f2626797a1c2fef8018d69b68c8c77639e140ee7846d systemd-254.5.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 13cd41f75b..ccc0e14874 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -19,7 +19,7 @@ # - Diff sysusers.d with the previous version # - Diff factory/etc/nsswitch.conf with the previous version # (details are often sprinkled around in README and manpages) -SYSTEMD_VERSION = 254 +SYSTEMD_VERSION = 254.5 SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) SYSTEMD_LICENSE = \ LGPL-2.1+, \ From peter at korsgaard.com Sun Oct 15 08:58:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:58:11 +0200 Subject: [Buildroot] [git commit] package/mutt: fix libgpgme static build Message-ID: <20231015090300.DB01F851C9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b518b0f161c81582f31c79c50552b5106f693df2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following static build failure with libgpgme raised since at least bump to version 2.2.9 in commit 7a2afdb7b1180bed3b6ad92c22c908805467ead3: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): in function `my_usleep': assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' Fixes: - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/mutt/mutt.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk index 09f547a091..2fe7b92b38 100644 --- a/package/mutt/mutt.mk +++ b/package/mutt/mutt.mk @@ -40,7 +40,11 @@ MUTT_CONF_OPTS += \ # Force the path to "gpgrt-config" (from the libgpg-error package) to # avoid using the one on host, if present. -MUTT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +MUTT_GPGRT_CONFIG = $(STAGING_DIR)/usr/bin/gpgrt-config +ifeq ($(BR2_STATIC_LIBS),y) +MUTT_GPGRT_CONFIG += --static +endif +MUTT_CONF_ENV += GPGRT_CONFIG="$(MUTT_GPGRT_CONFIG)" else MUTT_CONF_OPTS += --disable-gpgme endif From peter at korsgaard.com Sun Oct 15 08:56:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:56:40 +0200 Subject: [Buildroot] [git commit] board/raspberrypi: fix typo in comment Message-ID: <20231015090300.CD503851BB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3381a084330e8f48785fb472e95c01d7a9602b36 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This fixes a typo by dropping off the spurious x in ensure. Signed-off-by: Ga??l PORTAY Signed-off-by: Peter Korsgaard --- board/raspberrypi/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh index 38fdc80734..0bd7bc3d17 100755 --- a/board/raspberrypi/post-build.sh +++ b/board/raspberrypi/post-build.sh @@ -15,5 +15,5 @@ elif [ -d ${TARGET_DIR}/etc/systemd ]; then "${TARGET_DIR}/etc/systemd/system/getty.target.wants/getty at tty1.service" fi -# exnsure overlays exists for genimage +# ensure overlays exists for genimage mkdir -p "${BINARIES_DIR}/rpi-firmware/overlays" From peter at korsgaard.com Sun Oct 15 08:51:12 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:51:12 +0200 Subject: [Buildroot] [git commit] package/libmatroska: bump to version 1.7.1 Message-ID: <20231015090300.76E69851CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99dbbcc1d51caf8203022cef0a74472737c527f4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master C++14 is mandatory since version 1.7.0 and https://github.com/Matroska-Org/libmatroska/commit/7263bbaac134a20a79dfe7bd23b364fcd1a588cc https://github.com/Matroska-Org/libmatroska/blob/release-1.7.1/NEWS.md Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/libmatroska/Config.in | 2 +- package/libmatroska/libmatroska.hash | 2 +- package/libmatroska/libmatroska.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in index b2e4354df5..4d775c43a0 100644 --- a/package/libmatroska/Config.in +++ b/package/libmatroska/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA bool "libmatroska" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 select BR2_PACKAGE_LIBEBML help Extensible open standard audio/video container format access diff --git a/package/libmatroska/libmatroska.hash b/package/libmatroska/libmatroska.hash index 81b418d030..a3eb74e832 100644 --- a/package/libmatroska/libmatroska.hash +++ b/package/libmatroska/libmatroska.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 daf91a63f58dd157ca340c457871e66260cb9c3333fefb008b318befbb0e081a libmatroska-1.6.3.tar.xz +sha256 572a3033b8d93d48a6a858e514abce4b2f7a946fe1f02cbfeca39bfd703018b3 libmatroska-1.7.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL diff --git a/package/libmatroska/libmatroska.mk b/package/libmatroska/libmatroska.mk index 7d326c0076..6b5f34476a 100644 --- a/package/libmatroska/libmatroska.mk +++ b/package/libmatroska/libmatroska.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMATROSKA_VERSION = 1.6.3 +LIBMATROSKA_VERSION = 1.7.1 LIBMATROSKA_SOURCE = libmatroska-$(LIBMATROSKA_VERSION).tar.xz LIBMATROSKA_SITE = http://dl.matroska.org/downloads/libmatroska LIBMATROSKA_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 15 08:51:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:51:45 +0200 Subject: [Buildroot] [git commit] package/nmap: fix build with libressl >= 3.5.0 Message-ID: <20231015090300.859B3851E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=796ebbcf34298ef56ff63fc845cd97a5acb7dc8a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...g-Crypto.cc-fix-build-with-libressl-3.5.0.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch new file mode 100644 index 0000000000..f2bdf5904d --- /dev/null +++ b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch @@ -0,0 +1,39 @@ +From 4ebea5c1d1a10be0d0165da3b9c0e1fa82c3db3c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 21 May 2022 17:51:37 +0200 +Subject: [PATCH] nping/Crypto.cc: fix build with libressl >= 3.5.0 + +Fix the following build failure with libressl >= 3.5.0: + +Crypto.cc: In static member function 'static int Crypto::aes128_cbc_encrypt(u8*, size_t, u8*, u8*, size_t, u8*)': +Crypto.cc:139:26: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined + 139 | EVP_CIPHER_CTX ctx; + | ^~~ + +Fixes: + - http://autobuild.buildroot.org/results/2e6eebbe2ed8305b88047bc92c19350c1ecada16 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/nmap/nmap/pull/2480 +--- + nping/Crypto.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/nping/Crypto.cc b/nping/Crypto.cc +index 850438352..9f7c88686 100644 +--- a/nping/Crypto.cc ++++ b/nping/Crypto.cc +@@ -70,7 +70,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_EVP_PKEY 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset +-- +2.35.1 + From peter at korsgaard.com Sun Oct 15 08:55:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:55:23 +0200 Subject: [Buildroot] [git commit] package/rauc: bump version to 1.10.1 Message-ID: <20231015090300.C1D91851E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e55770e8827567c8c4952713c9cd149012f5d68f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release: https://github.com/rauc/rauc/releases/tag/v1.10.1 Signed-off-by: Adam Duskett Signed-off-by: Peter Korsgaard --- package/rauc/rauc.hash | 2 +- package/rauc/rauc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rauc/rauc.hash b/package/rauc/rauc.hash index 3a1fa6f5f9..38fea45b8a 100644 --- a/package/rauc/rauc.hash +++ b/package/rauc/rauc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d3eec057e74d41565bbdfa10ff8bb2edb38e39af2b2126f8ad1d2174ae034d47 rauc-1.10.tar.xz +sha256 aa99164c5f54fd29b5c8456221b51f92c900884af66de3e1b7f15a25b7db98a7 rauc-1.10.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk index 9f0571402f..4211abdcc4 100644 --- a/package/rauc/rauc.mk +++ b/package/rauc/rauc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RAUC_VERSION = 1.10 +RAUC_VERSION = 1.10.1 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION) RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz RAUC_LICENSE = LGPL-2.1 From peter at korsgaard.com Sun Oct 15 08:59:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:59:02 +0200 Subject: [Buildroot] [git commit] package/usbguard: fix build with gcc >= 13 Message-ID: <20231015090300.E6B3C851CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=05db019ea6f12c407a1ff7e8a365ba2743668d81 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc >= 13: In file included from src/Library/Base64.cpp:23: src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...ke-GitHub-Actions-cover-build-with-GCC-13.patch | 114 +++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch new file mode 100644 index 0000000000..415b8e1dd1 --- /dev/null +++ b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch @@ -0,0 +1,114 @@ +From 22b1e0897af977cc96af926c730ff948bd120bb5 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Fri, 31 Mar 2023 09:39:49 +0200 +Subject: [PATCH] Fix build for GCC 13 + make GitHub Actions cover build with + GCC 13 (#586) + +* include missing + +gcc 13 moved some includes around and as a result is no +longer transitively included [1]. Explicitly include it for +uint8_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj + +* docker.yml: Cover openSUSE Tumbleweed with GCC 13+ + +Based on scripts/docker/build_on_centos_8_2.Dockerfile . + +--------- + +Signed-off-by: Khem Raj +Co-authored-by: Khem Raj +Upstream: https://github.com/USBGuard/usbguard/commit/22b1e0897af977cc96af926c730ff948bd120bb5 +Signed-off-by: Fabrice Fontaine +--- + .github/workflows/docker.yml | 1 + + .../build_on_opensuse_tumbleweed.Dockerfile | 50 +++++++++++++++++++ + src/Library/Base64.cpp | 1 - + src/Library/Base64.hpp | 1 + + 4 files changed, 52 insertions(+), 1 deletion(-) + create mode 100644 scripts/docker/build_on_opensuse_tumbleweed.Dockerfile + +diff --git a/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +new file mode 100644 +index 00000000..d0993d8c +--- /dev/null ++++ b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +@@ -0,0 +1,50 @@ ++## ++## Copyright (c) 2023 Sebastian Pipping ++## ++## This program is free software; you can redistribute it and/or modify ++## it under the terms of the GNU General Public License as published by ++## the Free Software Foundation; either version 2 of the License, or ++## (at your option) any later version. ++## ++## This program is distributed in the hope that it will be useful, ++## but WITHOUT ANY WARRANTY; without even the implied warranty of ++## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++## GNU General Public License for more details. ++## ++## You should have received a copy of the GNU General Public License ++## along with this program. If not, see . ++ ++FROM opensuse/tumbleweed:latest ++RUN zypper --non-interactive install dnf rpm-repos-openSUSE-Tumbleweed \ ++ && \ ++ dnf install -y \ ++ asciidoc \ ++ autoconf \ ++ automake \ ++ dbus-1-glib-devel \ ++ diffutils \ ++ file \ ++ gcc-c++ \ ++ git \ ++ libgcrypt-devel \ ++ libqb-devel \ ++ libsodium-devel \ ++ libtool \ ++ libxslt \ ++ make \ ++ polkit-devel \ ++ protobuf-devel ++ADD usbguard.tar usbguard/ ++ADD catch.tar usbguard/src/ThirdParty/Catch/ ++ADD pegtl.tar usbguard/src/ThirdParty/PEGTL/ ++WORKDIR usbguard ++RUN git init &>/dev/null && ./autogen.sh ++RUN ./configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN make dist ++RUN tar xf usbguard-*.tar.gz ++RUN mv -v usbguard-*.*.*/ usbguard-release/ ++RUN mkdir usbguard-release/build/ ++WORKDIR usbguard-release/build/ ++RUN ../configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN bash -c 'set -o pipefail; make V=1 "-j$(nproc)" |& tee build.log' ++RUN ! grep -F 'include file not found' build.log +diff --git a/src/Library/Base64.cpp b/src/Library/Base64.cpp +index ddb28dce..0246a134 100644 +--- a/src/Library/Base64.cpp ++++ b/src/Library/Base64.cpp +@@ -22,7 +22,6 @@ + + #include "Base64.hpp" + #include +-#include + + namespace usbguard + { +diff --git a/src/Library/Base64.hpp b/src/Library/Base64.hpp +index 0947f214..e0c745cb 100644 +--- a/src/Library/Base64.hpp ++++ b/src/Library/Base64.hpp +@@ -23,6 +23,7 @@ + #endif + + #include ++#include + #include + + namespace usbguard From peter at korsgaard.com Sun Oct 15 09:00:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 11:00:37 +0200 Subject: [Buildroot] [git commit] package/qemu: security bump version to 8.1.1 Message-ID: <20231015090300.F31EA851BB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf367aac0aae21ea3b142963daa815cef22e1172 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following CVEs : - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR 56270e5d3d meson: Fix targetos match for illumos and Solaris. 60da8301fe s390x/ap: fix missing subsystem reset registration 8b479229ff ui: fix crash when there are no active_console d4919bbcc2 virtio-gpu/win32: set the destroy function on load cae7dc1452 target/riscv: Allocate itrigger timers only once 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 b822207513 hw/riscv: virt: Fix riscv,pmu DT node path 2947da750e linux-user/riscv: Use abi type for target_ucontext 60a7f5c8fe hw/intc: Make rtc variable names consistent 566dac7127 hw/intc: Fix upper/lower mtime write calculation 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first 987e90cfd2 target/riscv/cpu.c: add zmmul isa string b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts 9832a670b3 arm64: Restore trapless ptimer access df33ce9b6d virtio: Drop out of coroutine context in virtio_load() eeee989f72 qxl: don't assert() if device isn't yet initialized 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() 6356785daa docs tests: Fix use of migrate_set_parameter 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode d5361580ac hw/ide/ahci: fix broken SError handling e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr 5358980d33 hw/ppc/e500: fix broken snapshot replay 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects e975434d62 target/i386: raise FERR interrupt with iothread locked e5e77f256f linux-user: Adjust brk for load_bias 645b87f650 target/arm: properly document FEAT_CRC32 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section 441106eebb docs/about/license: Update LICENSE URL 63188a00bb target/arm: Fix 64-bit SSRA 7012e20b2d target/arm: Fix SME ST1Q c8e381d672 accel/kvm: Specify default IPA size for arm64 34808d041c kvm: Introduce kvm_arch_get_default_type hook 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 c12eddbd48 target/s390x: Fix VSTL with a large length 880e82ed78 target/s390x: Use a 16-bit immediate in VREP 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS Signed-off-by: Clement Ramirez Signed-off-by: Peter Korsgaard --- package/qemu/qemu.hash | 2 +- package/qemu/qemu.mk | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash index 506afa8bf3..61e51a923f 100644 --- a/package/qemu/qemu.hash +++ b/package/qemu/qemu.hash @@ -1,4 +1,4 @@ # Locally computed, tarball verified with GPG signature -sha256 710c101198e334d4762eef65f649bc43fa8a5dd75303554b8acfec3eb25f0e55 qemu-8.1.0.tar.xz +sha256 37ce2ef5e500fb752f681117c68b45118303ea49a7e26bd54080ced54fab7def qemu-8.1.1.tar.xz sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 6aaed32336..5ce0cedec1 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -6,7 +6,7 @@ # When updating the version, check whether the list of supported targets # needs to be updated. -QEMU_VERSION = 8.1.0 +QEMU_VERSION = 8.1.1 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz QEMU_SITE = https://download.qemu.org QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c @@ -16,6 +16,12 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB # individual source files. QEMU_CPE_ID_VENDOR = qemu +# Need to ignore the following CVEs because the CPE database does +# not have an entry for the 8.1.1 version yet. +QEMU_IGNORE_CVES += CVE-2023-4135 +QEMU_IGNORE_CVES += CVE-2023-3354 +QEMU_IGNORE_CVES += CVE-2023-3180 + #------------------------------------------------------------- # The build system is now partly based on Meson. From troglobit at gmail.com Sun Oct 15 09:26:50 2023 From: troglobit at gmail.com (Joachim Wiberg) Date: Sun, 15 Oct 2023 11:26:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/libite: bump to v2.6.1 In-Reply-To: <20231015064117.1362398-1-troglobit@gmail.com> References: <20231015064117.1362398-1-troglobit@gmail.com> Message-ID: <20231015092650.392835-1-troglobit@gmail.com> Changes: - New APIs introduced in v2.6.0, for details, see https://github.com/troglobit/libite/releases/tag/v2.6.0 - FTBFS fix for uClibc and musl libc, v2.6.1 https://github.com/troglobit/libite/releases/tag/v2.6.1 Packaging: - LICENSE hash changed due to bump in copyright years - Disable doxygen (html docs) in build, introduced in v2.4.1 Signed-off-by: Joachim Wiberg --- package/libite/libite.hash | 4 ++-- package/libite/libite.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libite/libite.hash b/package/libite/libite.hash index 7dac198ab8..3abad09b0a 100644 --- a/package/libite/libite.hash +++ b/package/libite/libite.hash @@ -1,7 +1,7 @@ # Upstream .sha256 from GitHub -sha256 ca086adc7ebf0c2ebf2ed7a6787f9567fb802db8583576228dd5dd5ddfb7bb97 libite-2.5.3.tar.xz +sha256 0185c3e76874c5821825deaf17cd45e81ce49aaa424e09de5f3665243c59026b libite-2.6.1.tar.xz # Locally calculated -sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE +sha256 3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422 LICENSE sha256 c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14 src/chomp.c sha256 bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918 src/pidfile.c diff --git a/package/libite/libite.mk b/package/libite/libite.mk index 1cef992e53..e4bd845487 100644 --- a/package/libite/libite.mk +++ b/package/libite/libite.mk @@ -4,12 +4,12 @@ # ################################################################################ -LIBITE_VERSION = 2.5.3 +LIBITE_VERSION = 2.6.1 LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause LIBITE_LICENSE_FILES = LICENSE src/chomp.c src/pidfile.c LIBITE_INSTALL_STAGING = YES -LIBITE_CONF_OPTS = --without-symlink +LIBITE_CONF_OPTS = --without-symlink --disable-doxygen-doc $(eval $(autotools-package)) -- 2.34.1 From bernd at kuhls.net Sun Oct 15 09:33:07 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:33:07 +0200 Subject: [Buildroot] [PATCH v2 1/4] package/alsa-lib: fix musl build Message-ID: <20231015093310.1138805-1-bernd@kuhls.net> Buildroot commit 227d414ded bumped alsa-lib to version 1.2.10 which introduced a build error with musl toolchains. Fixes: http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ Signed-off-by: Bernd Kuhls --- v2: no changes ...STRING-macro-outside-PIC-ifdef-block.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch diff --git a/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch new file mode 100644 index 0000000000..7bd67507fd --- /dev/null +++ b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch @@ -0,0 +1,50 @@ +From 10bd599970acc71c92f85eb08943eb8d3d702a9c Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 6 Sep 2023 15:16:44 +0200 +Subject: [PATCH] global.h: move __STRING() macro outside !PIC ifdef block + +It solves the musl libc compilation issue. + +control.c: In function 'snd_ctl_open_conf': +../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio] + 98 | #define SND_DLSYM_VERSION(version) __STRING(version) + | ^~~~~~~~ + +Fixes: https://github.com/alsa-project/alsa-lib/issues/350 +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-lib/commit/10bd599970acc71c92f85eb08943eb8d3d702a9c + +Signed-off-by: Bernd Kuhls +--- + include/global.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/include/global.h b/include/global.h +index dfe9bc2b..3ecaeee8 100644 +--- a/include/global.h ++++ b/include/global.h +@@ -51,6 +51,11 @@ const char *snd_asoundlib_version(void); + #define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) + #endif + ++#ifndef __STRING ++/** \brief Return 'x' argument as string */ ++#define __STRING(x) #x ++#endif ++ + #ifdef PIC /* dynamic build */ + + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ +@@ -71,11 +76,6 @@ struct snd_dlsym_link { + + extern struct snd_dlsym_link *snd_dlsym_start; + +-#ifndef __STRING +-/** \brief Return 'x' argument as string */ +-#define __STRING(x) #x +-#endif +- + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ + #define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version + /** -- 2.39.2 From bernd at kuhls.net Sun Oct 15 09:33:08 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:33:08 +0200 Subject: [Buildroot] [PATCH v2 2/4] package/alsa-utils: fix build with gcc < 11 In-Reply-To: <20231015093310.1138805-1-bernd@kuhls.net> References: <20231015093310.1138805-1-bernd@kuhls.net> Message-ID: <20231015093310.1138805-2-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/bfd/bfde1d5c3067e98d983ce1eebc1560bd13d00b8a/ Signed-off-by: Bernd Kuhls --- v2: no changes ...UTE_UNUSED-instead-remove-argument-n.patch | 233 +++++++++++++ ...UTE_UNUSED-instead-remove-argument-n.patch | 34 ++ ...RIBUTE_UNUSED-instead-remove-argumen.patch | 57 ++++ ...E_UNUSED-instead-remove-argument-nam.patch | 67 ++++ ...E_UNUSED-instead-remove-argument-nam.patch | 93 ++++++ ...IBUTE_UNUSED-instead-remove-argument.patch | 109 ++++++ ...RIBUTE_UNUSED-instead-remove-argumen.patch | 312 ++++++++++++++++++ 7 files changed, 905 insertions(+) create mode 100644 package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch create mode 100644 package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch create mode 100644 package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch create mode 100644 package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch create mode 100644 package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch create mode 100644 package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch create mode 100644 package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch diff --git a/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..92622292c0 --- /dev/null +++ b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,233 @@ +From a90faa2dd644af585d6a00f0aaf297c15ea0aa7b Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:33:47 +0200 +Subject: [PATCH] axfer: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: ad5a1c0 ("axfer: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/a90faa2dd644af585d6a00f0aaf297c15ea0aa7b + +Signed-off-by: Bernd Kuhls +--- + axfer/container-raw.c | 14 +++++++------- + axfer/mapper-single.c | 6 +++--- + axfer/subcmd-list.c | 2 +- + axfer/subcmd-transfer.c | 4 ++-- + axfer/waiter-poll.c | 4 ++-- + axfer/waiter-select.c | 4 ++-- + axfer/waiter.h | 1 + + axfer/xfer-libasound-irq-rw.c | 2 +- + axfer/xfer-libasound.c | 4 ++-- + axfer/xfer-options.c | 3 ++- + 10 files changed, 23 insertions(+), 21 deletions(-) + +diff --git a/axfer/container-raw.c b/axfer/container-raw.c +index 071f94c..1886045 100644 +--- a/axfer/container-raw.c ++++ b/axfer/container-raw.c +@@ -13,10 +13,10 @@ + #include + #include + +-static int raw_builder_pre_process(struct container_context *, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++static int raw_builder_pre_process(struct container_context *cntr ATTRIBUTE_UNUSED, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + *byte_count = UINT64_MAX; +@@ -25,9 +25,9 @@ static int raw_builder_pre_process(struct container_context *, + } + + static int raw_parser_pre_process(struct container_context *cntr, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + struct stat buf = {0}; +diff --git a/axfer/mapper-single.c b/axfer/mapper-single.c +index 13e7fc5..f669f7f 100644 +--- a/axfer/mapper-single.c ++++ b/axfer/mapper-single.c +@@ -62,7 +62,7 @@ static void align_from_vector(void *frame_buf, unsigned int frame_count, + + static int single_pre_process(struct mapper_context *mapper, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + unsigned int bytes_per_buffer; +@@ -110,7 +110,7 @@ static int single_muxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *src; +@@ -141,7 +141,7 @@ static int single_demuxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *dst; +diff --git a/axfer/subcmd-list.c b/axfer/subcmd-list.c +index f9c8e0f..187e1d7 100644 +--- a/axfer/subcmd-list.c ++++ b/axfer/subcmd-list.c +@@ -19,7 +19,7 @@ enum list_op { + }; + + static int dump_device(snd_ctl_t *handle, const char *id, const char *name, +- snd_pcm_stream_t, snd_pcm_info_t *info) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED, snd_pcm_info_t *info) + { + unsigned int i, count; + int err; +diff --git a/axfer/subcmd-transfer.c b/axfer/subcmd-transfer.c +index b39fde8..8d63043 100644 +--- a/axfer/subcmd-transfer.c ++++ b/axfer/subcmd-transfer.c +@@ -40,7 +40,7 @@ static void handle_unix_signal_for_finish(int sig) + ctx_ptr->interrupted = true; + } + +-static void handle_unix_signal_for_suspend(int) ++static void handle_unix_signal_for_suspend(int sig ATTRIBUTE_UNUSED) + { + sigset_t curr, prev; + struct sigaction sa = {0}; +@@ -439,7 +439,7 @@ static int context_process_frames(struct context *ctx, + } + + static void context_post_process(struct context *ctx, +- uint64_t) ++ uint64_t accumulated_frame_count ATTRIBUTE_UNUSED) + { + uint64_t total_frame_count; + unsigned int i; +diff --git a/axfer/waiter-poll.c b/axfer/waiter-poll.c +index 31fab88..b81300c 100644 +--- a/axfer/waiter-poll.c ++++ b/axfer/waiter-poll.c +@@ -13,7 +13,7 @@ + #include + #include + +-static int poll_prepare(struct waiter_context *) ++static int poll_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return 0; +@@ -30,7 +30,7 @@ static int poll_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void poll_release(struct waiter_context *) ++static void poll_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return; +diff --git a/axfer/waiter-select.c b/axfer/waiter-select.c +index 164c9c8..fe19776 100644 +--- a/axfer/waiter-select.c ++++ b/axfer/waiter-select.c +@@ -34,7 +34,7 @@ struct select_state { + fd_set rfds_ex; + }; + +-static int select_prepare(struct waiter_context *) ++static int select_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return 0; + } +@@ -94,7 +94,7 @@ static int select_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void select_release(struct waiter_context *) ++static void select_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return; + } +diff --git a/axfer/waiter.h b/axfer/waiter.h +index db18e33..0f4e9b9 100644 +--- a/axfer/waiter.h ++++ b/axfer/waiter.h +@@ -9,6 +9,7 @@ + #ifndef __ALSA_UTILS_AXFER_WAITER__H_ + #define __ALSA_UTILS_AXFER_WAITER__H_ + ++#include + #include + + enum waiter_type { +diff --git a/axfer/xfer-libasound-irq-rw.c b/axfer/xfer-libasound-irq-rw.c +index b7f0645..45fb6d5 100644 +--- a/axfer/xfer-libasound-irq-rw.c ++++ b/axfer/xfer-libasound-irq-rw.c +@@ -313,7 +313,7 @@ error: + } + + static int w_process_frames_nonblocking(struct libasound_state *state, +- snd_pcm_state_t, ++ snd_pcm_state_t pcm_state ATTRIBUTE_UNUSED, + unsigned int *frame_count, + struct mapper_context *mapper, + struct container_context *cntrs) +diff --git a/axfer/xfer-libasound.c b/axfer/xfer-libasound.c +index 9713533..36ee08d 100644 +--- a/axfer/xfer-libasound.c ++++ b/axfer/xfer-libasound.c +@@ -60,7 +60,7 @@ static const struct option l_opts[] = { + }; + + static int xfer_libasound_init(struct xfer_context *xfer, +- snd_pcm_stream_t) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED) + { + struct libasound_state *state = xfer->private_data; + int err; +@@ -887,7 +887,7 @@ static void xfer_libasound_destroy(struct xfer_context *xfer) + state->log = NULL; + } + +-static void xfer_libasound_help(struct xfer_context *) ++static void xfer_libasound_help(struct xfer_context *xfer ATTRIBUTE_UNUSED) + { + printf( + " [BASICS]\n" +diff --git a/axfer/xfer-options.c b/axfer/xfer-options.c +index 974570c..e716ded 100644 +--- a/axfer/xfer-options.c ++++ b/axfer/xfer-options.c +@@ -447,7 +447,8 @@ static int generate_path_with_suffix(struct xfer_context *xfer, + + static int generate_path_without_suffix(struct xfer_context *xfer, + const char *template, +- unsigned int index, const char *) ++ unsigned int index, ++ const char *suffix ATTRIBUTE_UNUSED) + { + static const char *const single_format = "%s"; + static const char *const multiple_format = "%s-%i"; +-- +2.39.2 + diff --git a/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..12a098b6fb --- /dev/null +++ b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,34 @@ +From 2db896afd475b0b3ad07e97ba74ec9680b4f7f6d Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:37:24 +0200 +Subject: [PATCH] amidi: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 1843540 ("amidi: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/2db896afd475b0b3ad07e97ba74ec9680b4f7f6d + +Signed-off-by: Bernd Kuhls +--- + amidi/amidi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/amidi/amidi.c b/amidi/amidi.c +index f930ca8..75fb8c0 100644 +--- a/amidi/amidi.c ++++ b/amidi/amidi.c +@@ -446,7 +446,7 @@ static void print_byte(unsigned char byte, struct timespec *ts) + printf("%02X", byte); + } + +-static void sig_handler(int) ++static void sig_handler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +-- +2.39.2 + diff --git a/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..4720531415 --- /dev/null +++ b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,57 @@ +From 7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:45:09 +0200 +Subject: [PATCH] alsaloop: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d609a58 ("alsaloop: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa + +Signed-off-by: Bernd Kuhls +--- + alsaloop/alsaloop.c | 2 +- + alsaloop/pcmjob.c | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c +index b10733e..51fb646 100644 +--- a/alsaloop/alsaloop.c ++++ b/alsaloop/alsaloop.c +@@ -821,7 +821,7 @@ static void send_to_all(int sig) + } + } + +-static void signal_handler(int) ++static void signal_handler(int sig ATTRIBUTE_UNUSED) + { + quit = 1; + send_to_all(SIGUSR2); +diff --git a/alsaloop/pcmjob.c b/alsaloop/pcmjob.c +index be71971..ffb439b 100644 +--- a/alsaloop/pcmjob.c ++++ b/alsaloop/pcmjob.c +@@ -625,7 +625,7 @@ static void buf_add_src(struct loopback *loop) + } + } + #else +-static void buf_add_src(struct loopback *) ++static void buf_add_src(struct loopback *loop ATTRIBUTE_UNUSED) + { + } + #endif +@@ -1794,7 +1794,7 @@ static int ctl_event_check(snd_ctl_elem_value_t *val, snd_ctl_event_t *ev) + } + + static int handle_ctl_events(struct loopback_handle *lhandle, +- unsigned short) ++ unsigned short events ATTRIBUTE_UNUSED) + { + struct loopback *loop = lhandle->loopback; + snd_ctl_event_t *ev; +-- +2.39.2 + diff --git a/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..1a42f24d3c --- /dev/null +++ b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,67 @@ +From 94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:49:03 +0200 +Subject: [PATCH] bat: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: b366875 ("bat: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 + +Signed-off-by: Bernd Kuhls +--- + bat/bat.c | 3 ++- + bat/common.c | 3 ++- + bat/common.h | 5 +++++ + 3 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/bat/bat.c b/bat/bat.c +index e88c65f..ea04ed9 100644 +--- a/bat/bat.c ++++ b/bat/bat.c +@@ -158,7 +158,8 @@ static void get_format(struct bat *bat, char *optarg) + } + } + +-static inline int thread_wait_completion(struct bat *, pthread_t id, int **val) ++static inline int thread_wait_completion(struct bat *bat ATTRIBUTE_UNUSED, ++ pthread_t id, int **val) + { + int err; + +diff --git a/bat/common.c b/bat/common.c +index 9ff9405..470a7e6 100644 +--- a/bat/common.c ++++ b/bat/common.c +@@ -47,7 +47,8 @@ static int update_fmt_to_bat(struct bat *bat, struct chunk_fmt *fmt) + } + + /* calculate frames and update to bat */ +-static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, FILE *) ++static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, ++ FILE *file ATTRIBUTE_UNUSED) + { + /* The number of analyzed captured frames is arbitrarily set to half of + the number of frames of the wav file or the number of frames of the +diff --git a/bat/common.h b/bat/common.h +index a9bae5d..bb51b0d 100644 +--- a/bat/common.h ++++ b/bat/common.h +@@ -13,6 +13,11 @@ + * + */ + ++#ifndef ATTRIBUTE_UNUSED ++/** do not print warning (gcc) when function parameter is not used */ ++#define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) ++#endif ++ + #define TEMP_RECORD_FILE_NAME "/tmp/bat.wav.XXXXXX" + #define DEFAULT_DEV_NAME "default" + +-- +2.39.2 + diff --git a/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..9e7e7da5ce --- /dev/null +++ b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,93 @@ +From 66112d60e4ce68720022eaf26080c0f1a2caf81f Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:52:46 +0200 +Subject: [PATCH] seq: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 181e190 ("aplaymidi: fix the verbose compilation warnings for latest gcc") +Fixes: a03377a ("aseqnet: fix the verbose compilation warnings for latest gcc") +Fixes: 429c32a ("aseqdump: fix the verbose compilation warnings for latest gcc") +Fixes: 0b48dd6 ("aconnect: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/66112d60e4ce68720022eaf26080c0f1a2caf81f + +Signed-off-by: Bernd Kuhls +--- + seq/aconnect/aconnect.c | 9 ++++++--- + seq/aplaymidi/arecordmidi.c | 2 +- + seq/aseqdump/aseqdump.c | 2 +- + seq/aseqnet/aseqnet.c | 2 +- + 4 files changed, 9 insertions(+), 6 deletions(-) + +diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c +index 3a10de9..7096feb 100644 +--- a/seq/aconnect/aconnect.c ++++ b/seq/aconnect/aconnect.c +@@ -193,7 +193,8 @@ static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action) + } + + +-static void print_port(snd_seq_t *, snd_seq_client_info_t *cinfo, ++static void print_port(snd_seq_t *seq ATTRIBUTE_UNUSED, ++ snd_seq_client_info_t *cinfo, + snd_seq_port_info_t *pinfo, int count) + { + if (! count) { +@@ -247,8 +248,10 @@ static void print_port_and_subs(snd_seq_t *seq, snd_seq_client_info_t *cinfo, + /* + * remove all (exported) connections + */ +-static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *, +- snd_seq_port_info_t *pinfo, int) ++static void remove_connection(snd_seq_t *seq, ++ snd_seq_client_info_t *info ATTRIBUTE_UNUSED, ++ snd_seq_port_info_t *pinfo, ++ int count ATTRIBUTE_UNUSED) + { + snd_seq_query_subscribe_t *query; + snd_seq_port_info_t *port; +diff --git a/seq/aplaymidi/arecordmidi.c b/seq/aplaymidi/arecordmidi.c +index ce71472..a4c1181 100644 +--- a/seq/aplaymidi/arecordmidi.c ++++ b/seq/aplaymidi/arecordmidi.c +@@ -719,7 +719,7 @@ static void version(void) + fputs("arecordmidi version " SND_UTIL_VERSION_STR "\n", stderr); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c +index 8455ecb..af4ca21 100644 +--- a/seq/aseqdump/aseqdump.c ++++ b/seq/aseqdump/aseqdump.c +@@ -676,7 +676,7 @@ static void version(void) + puts("aseqdump version " SND_UTIL_VERSION_STR); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c +index f40de7d..aa70b50 100644 +--- a/seq/aseqnet/aseqnet.c ++++ b/seq/aseqnet/aseqnet.c +@@ -334,7 +334,7 @@ static void get_net_addr(struct addrinfo *rp, char *buf, size_t buflen) + /* + * signal handler + */ +-static void sigterm_exit(int) ++static void sigterm_exit(int sig ATTRIBUTE_UNUSED) + { + close_files(); + exit(1); +-- +2.39.2 + diff --git a/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch new file mode 100644 index 0000000000..66826c4515 --- /dev/null +++ b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch @@ -0,0 +1,109 @@ +From 9e5e9a6d70de63bea01f0669b01319952f2cfdea Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:57:47 +0200 +Subject: [PATCH] alsaucm: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d7bbc26 ("alsaucm: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/9e5e9a6d70de63bea01f0669b01319952f2cfdea + +Signed-off-by: Bernd Kuhls +--- + alsaucm/dump.c | 22 ++++++++++++---------- + 1 file changed, 12 insertions(+), 10 deletions(-) + +diff --git a/alsaucm/dump.c b/alsaucm/dump.c +index 102ac4d..a5c57f2 100644 +--- a/alsaucm/dump.c ++++ b/alsaucm/dump.c +@@ -93,7 +93,8 @@ static char *tesc(const char *s, char *buf, size_t buf_len) + + #define ESC(s, esc) tesc((s), (esc), sizeof(esc)) + +-static int text_verb_start(struct renderer *, const char *verb, const char *comment) ++static int text_verb_start(struct renderer *r ATTRIBUTE_UNUSED, ++ const char *verb, const char *comment) + { + char buf1[128], buf2[128]; + printf("Verb.%s {\n", ESC(verb, buf1)); +@@ -102,13 +103,13 @@ static int text_verb_start(struct renderer *, const char *verb, const char *comm + return 0; + } + +-static int text_verb_end(struct renderer *) ++static int text_verb_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("}\n"); + return 0; + } + +-static int text_2nd_level_begin(struct renderer *, ++static int text_2nd_level_begin(struct renderer *r ATTRIBUTE_UNUSED, + const char *key, + const char *val, + const char *comment) +@@ -120,19 +121,19 @@ static int text_2nd_level_begin(struct renderer *, + return 0; + } + +-static int text_2nd_level_end(struct renderer *) ++static int text_2nd_level_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("\t}\n"); + return 0; + } + +-static int text_2nd_level(struct renderer *, const char *txt) ++static int text_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t%s", txt); + return 0; + } + +-static int text_3rd_level(struct renderer *, const char *txt) ++static int text_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t\t%s", txt); + return 0; +@@ -266,7 +267,7 @@ static void json_block(struct renderer *r, int level, int last) + j->block[level] = last ? 0 : 1; + } + +-static int json_init(struct renderer *) ++static int json_init(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("{\n \"Verbs\": {"); + return 0; +@@ -325,13 +326,13 @@ static int json_2nd_level_end(struct renderer *r) + return 0; + } + +-static int json_2nd_level(struct renderer *, const char *txt) ++static int json_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; + } + +-static int json_3rd_level(struct renderer *, const char *txt) ++static int json_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; +@@ -360,7 +361,8 @@ static int json_supcon_start(struct renderer *r, const char *key) + return 0; + } + +-static int json_supcon_value(struct renderer *r, const char *value, int) ++static int json_supcon_value(struct renderer *r, const char *value, ++ int last ATTRIBUTE_UNUSED) + { + char buf[256]; + JESC(value, buf); +-- +2.39.2 + diff --git a/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..07b10b3ab8 --- /dev/null +++ b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,312 @@ +From dfe1c7143ab6ea01789e276b1ba361a00e545997 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 17:11:05 +0200 +Subject: [PATCH] topology: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 153d185 ("topology: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/dfe1c7143ab6ea01789e276b1ba361a00e545997 + +Signed-off-by: Bernd Kuhls +--- + topology/nhlt/intel/dmic-nhlt.c | 3 ++- + topology/nhlt/intel/dmic/dmic-debug.c | 7 ++++--- + topology/nhlt/intel/ssp/ssp-debug.c | 5 +++-- + topology/nhlt/intel/ssp/ssp-process.c | 4 +++- + topology/nhlt/nhlt-processor.c | 7 +++++-- + topology/pre-process-class.c | 10 +++++----- + topology/pre-process-object.c | 21 +++++++++++---------- + topology/pre-processor.c | 10 ++++++---- + 8 files changed, 39 insertions(+), 28 deletions(-) + +diff --git a/topology/nhlt/intel/dmic-nhlt.c b/topology/nhlt/intel/dmic-nhlt.c +index 70a22e3..de659cf 100644 +--- a/topology/nhlt/intel/dmic-nhlt.c ++++ b/topology/nhlt/intel/dmic-nhlt.c +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -155,7 +156,7 @@ static int set_vendor_mic_data(struct intel_nhlt_params *nhlt, snd_config_t *cfg + horizontal_angle_end); + } + +-static int set_bytes_data(struct intel_nhlt_params *, snd_config_t *cfg) ++static int set_bytes_data(struct intel_nhlt_params *nhlt ATTRIBUTE_UNUSED, snd_config_t *cfg) + { + snd_config_iterator_t i, next; + snd_config_t *n; +diff --git a/topology/nhlt/intel/dmic/dmic-debug.c b/topology/nhlt/intel/dmic/dmic-debug.c +index f99d308..a977c93 100644 +--- a/topology/nhlt/intel/dmic/dmic-debug.c ++++ b/topology/nhlt/intel/dmic/dmic-debug.c +@@ -8,6 +8,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "dmic-debug.h" + + #ifdef NHLT_DEBUG +@@ -181,7 +182,7 @@ void dmic_print_internal(struct intel_dmic_params *dmic) + } + + #else /* NHLT_DEBUG */ +-void dmic_print_bytes_as_hex(uint8_t *, size_t) {} +-void dmic_print_integers_as_hex(uint32_t *, size_t) {} +-void dmic_print_internal(struct intel_dmic_params *) {} ++void dmic_print_bytes_as_hex(uint8_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_integers_as_hex(uint32_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_internal(struct intel_dmic_params *dmic ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-debug.c b/topology/nhlt/intel/ssp/ssp-debug.c +index 8c64675..2d2f6b0 100644 +--- a/topology/nhlt/intel/ssp/ssp-debug.c ++++ b/topology/nhlt/intel/ssp/ssp-debug.c +@@ -7,6 +7,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "ssp-debug.h" + #include "../intel-nhlt.h" + +@@ -252,6 +253,6 @@ void ssp_print_internal(struct intel_ssp_params *ssp) + } + + #else /* NHLT_DEBUG */ +-void ssp_print_internal(struct intel_ssp_params *) {} +-void ssp_print_calculated(struct intel_ssp_params *) {} ++void ssp_print_internal(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} ++void ssp_print_calculated(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-process.c b/topology/nhlt/intel/ssp/ssp-process.c +index 9cda5c3..17b88d2 100644 +--- a/topology/nhlt/intel/ssp/ssp-process.c ++++ b/topology/nhlt/intel/ssp/ssp-process.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -952,7 +953,8 @@ int ssp_set_params(struct intel_nhlt_params *nhlt, const char *dir, int dai_inde + return 0; + } + +-int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, const char *, ++int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, ++ const char *mclk ATTRIBUTE_UNUSED, + const char *bclk, const char *bclk_invert, const char *fsync, + const char *fsync_invert, int mclk_freq, int bclk_freq, int fsync_freq, + int tdm_slots, int tdm_slot_width, int tx_slots, int rx_slots) +diff --git a/topology/nhlt/nhlt-processor.c b/topology/nhlt/nhlt-processor.c +index 567fa5c..ca539c3 100644 +--- a/topology/nhlt/nhlt-processor.c ++++ b/topology/nhlt/nhlt-processor.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -87,7 +88,8 @@ static void debug_print_nhlt(struct nhlt *blob, struct endpoint_descriptor **eps + fprintf(stdout, "\n"); + } + #else +-static void debug_print_nhlt(struct nhlt *, struct endpoint_descriptor **) {} ++static void debug_print_nhlt(struct nhlt *blob ATTRIBUTE_UNUSED, ++ struct endpoint_descriptor **eps ATTRIBUTE_UNUSED) {} + #endif + + static int print_as_hex_bytes(uint8_t *manifest_buffer, uint32_t manifest_size, +@@ -313,7 +315,8 @@ static int nhlt_get_flat_buffer(struct nhlt *blob, struct endpoint_descriptor ** + } + + /* called at the end of topology pre-processing, create flat buffer from variable size nhlt */ +-static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, snd_config_t *, ++static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, ++ snd_config_t *output ATTRIBUTE_UNUSED, + uint8_t **nhlt_buffer, uint32_t *nhlt_size) + { + struct endpoint_descriptor *eps[MAX_ENDPOINT_COUNT]; +diff --git a/topology/pre-process-class.c b/topology/pre-process-class.c +index d883d05..bedcebe 100644 +--- a/topology/pre-process-class.c ++++ b/topology/pre-process-class.c +@@ -127,7 +127,7 @@ snd_config_t *tplg_class_lookup(struct tplg_pre_processor *tplg_pp, snd_config_t + } + + /* find the attribute config by name in the class definition */ +-snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, ++snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *tplg_p ATTRIBUTE_UNUSED, + snd_config_t *class, const char *name) + { + snd_config_t *attr = NULL; +@@ -152,7 +152,7 @@ snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, + } + + /* get the name of the attribute that must have a unique value in the object instance */ +-const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, ++const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class) + { + snd_config_t *unique; +@@ -177,7 +177,7 @@ const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, + } + + /* get attribute type from the definition */ +-snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, ++snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *attr) + { + snd_config_t *type; +@@ -208,7 +208,7 @@ snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, + } + + /* get token_ref for attribute with name attr_name in the class */ +-const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, ++const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *attr_name) + { + snd_config_t *attributes, *attr, *token_ref; +@@ -235,7 +235,7 @@ const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, + } + + /* convert a valid attribute string value to the corresponding tuple value */ +-long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *, ++long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, snd_config_t *attr) + { + +diff --git a/topology/pre-process-object.c b/topology/pre-process-object.c +index 48555e7..61cc85f 100644 +--- a/topology/pre-process-object.c ++++ b/topology/pre-process-object.c +@@ -31,7 +31,8 @@ + + /* Parse VendorToken object, create the "SectionVendorToken" and save it */ + int tplg_build_vendor_token_object(struct tplg_pre_processor *tplg_pp, +- snd_config_t *obj_cfg, snd_config_t *) ++ snd_config_t *obj_cfg, ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_iterator_t i, next; + snd_config_t *vtop, *n, *obj; +@@ -196,7 +197,7 @@ int tplg_build_data_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj + return tplg_parent_update(tplg_pp, parent, "data", name); + } + +-static int tplg_create_config_template(struct tplg_pre_processor *, ++static int tplg_create_config_template(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t **template, + const struct config_template_items *items) + { +@@ -499,7 +500,7 @@ min_max_check: + } + + /* get object's name attribute value */ +-const char *tplg_object_get_name(struct tplg_pre_processor *, ++const char *tplg_object_get_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *object) + { + snd_config_t *cfg; +@@ -518,7 +519,7 @@ const char *tplg_object_get_name(struct tplg_pre_processor *, + } + + /* look up the instance of object in a config */ +-static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *, ++static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *type, + const char *class_name, const char *id) + { +@@ -977,7 +978,7 @@ template: + } + + static int tplg_build_generic_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, +- snd_config_t *) ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_t *wtop; + const char *name; +@@ -1090,7 +1091,7 @@ const struct build_function_map object_build_map[] = { + NULL, &pcm_caps_config}, + }; + +-static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *, ++static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj) + { + snd_config_iterator_t first; +@@ -1145,7 +1146,7 @@ snd_config_t *tplg_object_get_section(struct tplg_pre_processor *tplg_pp, snd_co + } + + /* return 1 if attribute not found in search_config, 0 on success and negative value on error */ +-static int tplg_object_copy_and_add_param(struct tplg_pre_processor *, ++static int tplg_object_copy_and_add_param(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj, + snd_config_t *attr_cfg, + snd_config_t *search_config) +@@ -1351,8 +1352,8 @@ static int tplg_object_pre_process_children(struct tplg_pre_processor *tplg_pp, + return 0; + } + +-static int tplg_construct_object_name(struct tplg_pre_processor *, snd_config_t *obj, +- snd_config_t *class_cfg) ++static int tplg_construct_object_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *obj, snd_config_t *class_cfg) + { + snd_config_iterator_t i, next; + snd_config_t *args, *n; +@@ -1547,7 +1548,7 @@ static int tplg_object_set_unique_attribute(struct tplg_pre_processor *tplg_pp, + * Helper function to get object instance config which is 2 nodes down from class_type config. + * ex: Get the pointer to the config node with ID "0" from the input config Widget.pga.0 {} + */ +-snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *, ++snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class_type) + { + snd_config_iterator_t first; +diff --git a/topology/pre-processor.c b/topology/pre-processor.c +index 3903dee..01f8a5d 100644 +--- a/topology/pre-processor.c ++++ b/topology/pre-processor.c +@@ -231,8 +231,9 @@ void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) + snd_config_save(cfg, tplg_pp->dbg_output); + } + #else +-void tplg_pp_debug(char *, ...) {} +-void tplg_pp_config_debug(struct tplg_pre_processor *, snd_config_t *){} ++void tplg_pp_debug(char *fmt ATTRIBUTE_UNUSED, ...) {} ++void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *cfg ATTRIBUTE_UNUSED) {} + #endif + + static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) +@@ -640,8 +641,9 @@ static int pre_process_includes_all(struct tplg_pre_processor *tplg_pp, snd_conf + } + + /* duplicate the existing objects in src into dest and update with new attribute */ +-static int pre_process_add_objects(struct tplg_pre_processor *, int *object_count, +- snd_config_t *src, snd_config_t *dest, snd_config_t *attr_cfg) ++static int pre_process_add_objects(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ int *object_count, snd_config_t *src, ++ snd_config_t *dest, snd_config_t *attr_cfg) + { + snd_config_iterator_t i, next; + int ret; +-- +2.39.2 + -- 2.39.2 From bernd at kuhls.net Sun Oct 15 09:33:09 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:33:09 +0200 Subject: [Buildroot] [PATCH v2 3/4] package/alsa-utils: Fix musl build In-Reply-To: <20231015093310.1138805-1-bernd@kuhls.net> References: <20231015093310.1138805-1-bernd@kuhls.net> Message-ID: <20231015093310.1138805-3-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/5a0/5a03cba08bf24d61c816b8e2f257c18004bad3d7/ Signed-off-by: Bernd Kuhls --- v2: removed left-over from previous try to fix http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ (Baruch) .../0009-topology-include-locale.h.patch | 33 +++++++++++++++++++ ...nhlt-dmic-info.c-include-sys-types.h.patch | 33 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 package/alsa-utils/0009-topology-include-locale.h.patch create mode 100644 package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch diff --git a/package/alsa-utils/0009-topology-include-locale.h.patch b/package/alsa-utils/0009-topology-include-locale.h.patch new file mode 100644 index 0000000000..14a059cbf6 --- /dev/null +++ b/package/alsa-utils/0009-topology-include-locale.h.patch @@ -0,0 +1,33 @@ +From 8c229270f6bae83b705a03714c46067a7aa57b02 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:29 +0200 +Subject: [PATCH] topology: include locale.h + +This solves an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/239 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02 + +Signed-off-by: Bernd Kuhls +--- + topology/topology.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/topology/topology.c b/topology/topology.c +index 1840ffe..5d03a8b 100644 +--- a/topology/topology.c ++++ b/topology/topology.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include + #include +-- +2.39.2 + diff --git a/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch new file mode 100644 index 0000000000..b5f8489703 --- /dev/null +++ b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch @@ -0,0 +1,33 @@ +From 0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:30 +0200 +Subject: [PATCH] nhlt-dmic-info.c: include sys/types.h + +This fixes an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/238 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 + +Signed-off-by: Bernd Kuhls +--- + nhlt/nhlt-dmic-info.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c +index 3f6c64d..331555a 100644 +--- a/nhlt/nhlt-dmic-info.c ++++ b/nhlt/nhlt-dmic-info.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + + int debug = 0; +-- +2.39.2 + -- 2.39.2 From bernd at kuhls.net Sun Oct 15 09:33:10 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:33:10 +0200 Subject: [Buildroot] [PATCH v2 4/4] package/alsa-utils: fix UMP support detection In-Reply-To: <20231015093310.1138805-1-bernd@kuhls.net> References: <20231015093310.1138805-1-bernd@kuhls.net> Message-ID: <20231015093310.1138805-4-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ Signed-off-by: Bernd Kuhls --- v2: no changes ...nfigure.ac-fix-UMP-support-detection.patch | 38 +++++++++++++++++++ package/alsa-utils/alsa-utils.mk | 2 + 2 files changed, 40 insertions(+) create mode 100644 package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch diff --git a/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch new file mode 100644 index 0000000000..66cf051733 --- /dev/null +++ b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch @@ -0,0 +1,38 @@ +From 8a0da6d4484cd2ca4f1939a6c44941e070db2147 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 13 Oct 2023 20:32:32 +0200 +Subject: [PATCH] configure.ac: fix UMP support detection + +https://github.com/alsa-project/alsa-utils/commit/b399fb85a919636b7da34e8bcf17f484dd9046f7 +added usage of alsa/ump_msg.h without checking whether alsa-lib was +compiled with rawmidi support: +https://github.com/alsa-project/alsa-lib/blob/master/include/Makefile.am#L37 + +Fixes a build error when alsa-lib was compiled with --disable-rawmidi + +aplaymidi.c:34:10: fatal error: alsa/ump_msg.h: No such file or directory + 34 | #include + +Upstream: https://github.com/alsa-project/alsa-utils/pull/240 + +Signed-off-by: Bernd Kuhls +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index beb4963..4217741 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,7 +55,7 @@ if test "$HAVE_SEQ_CLIENT_INFO_GET_PID" = "yes" ; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid]) + fi + AC_CHECK_LIB([asound], [snd_seq_client_info_get_midi_version], [HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION="yes"]) +-if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" ; then ++if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" -a "$have_rawmidi" = "yes"; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION], 1, [alsa-lib supports snd_seq_client_info_get_midi_version]) + fi + AC_CHECK_LIB([atopology], [snd_tplg_save], [have_topology="yes"], [have_topology="no"]) +-- +2.39.2 + diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk index 7487e3c2bb..6f6021400e 100644 --- a/package/alsa-utils/alsa-utils.mk +++ b/package/alsa-utils/alsa-utils.mk @@ -9,6 +9,8 @@ ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils ALSA_UTILS_LICENSE = GPL-2.0 ALSA_UTILS_LICENSE_FILES = COPYING +# 0011-configure.ac-fix-UMP-support-detection.patch +ALSA_UTILS_AUTORECONF = YES ALSA_UTILS_INSTALL_STAGING = YES ALSA_UTILS_DEPENDENCIES = host-pkgconf alsa-lib \ $(if $(BR2_PACKAGE_NCURSES),ncurses) \ -- 2.39.2 From bernd at kuhls.net Sun Oct 15 09:34:34 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:34:34 +0200 Subject: [Buildroot] [PATCH 3/4] package/alsa-utils: Fix musl build References: <20231013184554.337101-1-bernd@kuhls.net> <20231013184554.337101-3-bernd@kuhls.net> <87a5sl2hpy.fsf__10926.7796551407$1697307373$gmane$org@tarshish> Message-ID: Am Sat, 14 Oct 2023 21:13:52 +0300 schrieb Baruch Siach via buildroot: >> config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI >> bool "aplaymidi" >> + select BR2_PACKAGE_ALSA_LIB_RAWMIDI > > Is this related to the musl build fix? Hi, oops, no, this is a left-over from a previous try to fix http:// autobuild.buildroot.net/results/e26/ e269f862ebade30cf870d783a1006aba8fedc129/ Sent v2 of the series: https://patchwork.ozlabs.org/project/buildroot/list/?series=377655 Regards, Bernd From bernd at kuhls.net Sun Oct 15 09:35:32 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:35:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.19.1 Message-ID: <20231015093532.1139778-1-bernd@kuhls.net> Removed patch 0004, not needed anymore due to upstream commit https://github.com/samba-team/samba/commit/a25f549e9a03010996300b04271a7909b6fbf756#diff-6e2c3d973b3ce82db7b4f67111e36116517b040ed64c28f40114d2e0d535706a Release notes: https://www.samba.org/samba/history/samba-4.19.0.html https://www.samba.org/samba/history/samba-4.19.1.html Signed-off-by: Bernd Kuhls --- ...-Use-perl-module-JSON-part-of-core-i.patch | 41 ------------------- package/samba4/samba4.hash | 4 +- package/samba4/samba4.mk | 2 +- 3 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch diff --git a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch b/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch deleted file mode 100644 index aa55c09891..0000000000 --- a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch +++ /dev/null @@ -1,41 +0,0 @@ -From bd8fc19c8383914b518a9d56f4c08fba3baeb967 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Sun, 7 May 2023 11:02:26 +0200 -Subject: [PATCH] 3rdparty/heimdal: Use perl module JSON:PP, part of core, instead - of JSON package - -Downloaded from -https://github.com/openwrt/packages/blob/master/net/samba4/patches/105-perl-json-pp.patch - -Signed-off-by: Bernd Kuhls -Signed-off-by: Yann E. MORIN -Upstream: https://github.com/heimdal/heimdal/pull/1176 ---- - third_party/heimdal/cf/make-proto.pl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/third_party/heimdal/cf/make-proto.pl b/third_party/heimdal/cf/make-proto.pl -index 36a040ce6c0..ad21dbad9e1 100644 ---- a/third_party/heimdal/cf/make-proto.pl -+++ b/third_party/heimdal/cf/make-proto.pl -@@ -4,7 +4,7 @@ - use Getopt::Std; - use File::Compare; - --use JSON; -+use JSON::PP; - - my $comment = 0; - my $doxygen = 0; -@@ -70,7 +70,7 @@ if($opt_x) { - my $EXP; - local $/; - open(EXP, '<', $opt_x) || die "open ${opt_x}"; -- my $obj = JSON->new->utf8->decode(); -+ my $obj = JSON::PP->new->utf8->decode(); - close $EXP; - - foreach my $x (keys %$obj) { --- -2.25.1 - diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index 9843d419f0..5e65295e4c 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc -sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.19.1.tar.asc +sha256 ce3b7f0d18bf91aa5fd646e8bb385a3b35375b703c6e5123b02b85a1abc81879 samba-4.19.1.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 9cf7a59d9b..124ce564d2 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.8 +SAMBA4_VERSION = 4.19.1 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES -- 2.39.2 From titouanchristophe at gmail.com Sun Oct 15 11:41:27 2023 From: titouanchristophe at gmail.com (Titouan Christophe) Date: Sun, 15 Oct 2023 13:41:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/redis: bump to v7.2.1 Message-ID: <20231015114127.227700-1-titouanchristophe@gmail.com> Signed-off-by: Titouan Christophe --- package/redis/0001-uclibc.patch | 8 +++++--- package/redis/redis.hash | 2 +- package/redis/redis.mk | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package/redis/0001-uclibc.patch b/package/redis/0001-uclibc.patch index 197f43e7a7..6761f9f3fe 100644 --- a/package/redis/0001-uclibc.patch +++ b/package/redis/0001-uclibc.patch @@ -12,17 +12,19 @@ Signed-off-by: Martin Bark Signed-off-by: Titouan Christophe [Fabrice: update for 6.0.9] Signed-off-by: Fabrice Fontaine +[Titouan: adapt to 7.2.1] +Signed-off-by: Titouan Christophe ========================================================================= diff -ur old/src/config.h new/src/config.h --- old/src/config.h 2012-10-26 07:20:24.000000000 -0700 +++ new/src/config.h 2012-10-31 13:41:51.206309564 -0700 -@@ -62,7 +62,7 @@ +@@ -71,7 +71,7 @@ #endif /* Test for backtrace() */ -#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || \ +#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__)) || \ - defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__)) && defined(USE_BACKTRACE))\ - || defined(__DragonFly__) + defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__) || defined(__sun)) && defined(USE_BACKTRACE))\ + || defined(__DragonFly__) || (defined(__UCLIBC__) && defined(__UCLIBC_HAS_BACKTRACE__)) #define HAVE_BACKTRACE 1 diff --git a/package/redis/redis.hash b/package/redis/redis.hash index 69bfc1475f..b73df17790 100644 --- a/package/redis/redis.hash +++ b/package/redis/redis.hash @@ -1,5 +1,5 @@ # From https://github.com/redis/redis-hashes/blob/master/README -sha256 ce250d1fba042c613de38a15d40889b78f7cb6d5461a27e35017ba39b07221e3 redis-7.0.11.tar.gz +sha256 5c76d990a1b1c5f949bcd1eed90d0c8a4f70369bdbdcb40288c561ddf88967a4 redis-7.2.1.tar.gz # Locally calculated sha256 97f0a15b7bbae580d2609dad2e11f1956ae167be296ab60f4691ab9c30ee9828 COPYING diff --git a/package/redis/redis.mk b/package/redis/redis.mk index e5d3de8eb9..04f4697e7d 100644 --- a/package/redis/redis.mk +++ b/package/redis/redis.mk @@ -4,7 +4,7 @@ # ################################################################################ -REDIS_VERSION = 7.0.11 +REDIS_VERSION = 7.2.1 REDIS_SITE = http://download.redis.io/releases REDIS_LICENSE = BSD-3-Clause (core); MIT and BSD family licenses (Bundled components) REDIS_LICENSE_FILES = COPYING -- 2.42.0 From titouanchristophe at gmail.com Sun Oct 15 11:46:15 2023 From: titouanchristophe at gmail.com (Titouan Christophe) Date: Sun, 15 Oct 2023 13:46:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/waf: bump to v2.0.26 Message-ID: <20231015114615.235625-1-titouanchristophe@gmail.com> Signed-off-by: Titouan Christophe --- package/waf/waf.hash | 6 +++--- package/waf/waf.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/waf/waf.hash b/package/waf/waf.hash index c8d464ebfb..1ad535febb 100644 --- a/package/waf/waf.hash +++ b/package/waf/waf.hash @@ -1,7 +1,7 @@ # Locally computed -sha1 9cc6db88ecda57067024f368722ecbf48a3bba1a waf-2.0.24 -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf-2.0.24 +sha1 e310e29a44f23f80591f2aa6c2d4c30e5f1a26a8 waf-2.0.26 +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf-2.0.26 # The waf script also contains its license, but is renamed `waf` in the extract # step, so this is a synonym for the above, to check WAF_LICENSE -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf diff --git a/package/waf/waf.mk b/package/waf/waf.mk index d98ab489ca..bffa27a926 100644 --- a/package/waf/waf.mk +++ b/package/waf/waf.mk @@ -4,7 +4,7 @@ # ################################################################################ -WAF_VERSION = 2.0.24 +WAF_VERSION = 2.0.26 WAF_SOURCE = waf-$(WAF_VERSION) WAF_SITE = https://waf.io WAF_LICENSE = BSD-3-Clause -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 15 12:35:04 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 14:35:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/ksmbd-tools: security bump to version 3.4.9 Message-ID: <20231015123504.189034-1-fontaine.fabrice@gmail.com> Fix two security issues that reported by ZDI. https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.7 https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.8 https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.9 Signed-off-by: Fabrice Fontaine --- package/ksmbd-tools/ksmbd-tools.hash | 2 +- package/ksmbd-tools/ksmbd-tools.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ksmbd-tools/ksmbd-tools.hash b/package/ksmbd-tools/ksmbd-tools.hash index b31c66bbe7..6f7064c6eb 100644 --- a/package/ksmbd-tools/ksmbd-tools.hash +++ b/package/ksmbd-tools/ksmbd-tools.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 09ab343e9bf10ddfdd3216f400b19740a391645bf3645fa6f136b8da36306559 ksmbd-tools-3.4.6.tar.gz +sha256 418c7d87e8359355d150bdde6784612cd2ebd48ec87765852169e289d9de67e6 ksmbd-tools-3.4.9.tar.gz sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING diff --git a/package/ksmbd-tools/ksmbd-tools.mk b/package/ksmbd-tools/ksmbd-tools.mk index c4f9c503e6..c758c17bf2 100644 --- a/package/ksmbd-tools/ksmbd-tools.mk +++ b/package/ksmbd-tools/ksmbd-tools.mk @@ -4,7 +4,7 @@ # ################################################################################ -KSMBD_TOOLS_VERSION = 3.4.6 +KSMBD_TOOLS_VERSION = 3.4.9 KSMBD_TOOLS_SITE = https://github.com/cifsd-team/ksmbd-tools/releases/download/$(KSMBD_TOOLS_VERSION) KSMBD_TOOLS_LICENSE = GPL-2.0+ KSMBD_TOOLS_LICENSE_FILES = COPYING -- 2.42.0 From giulio.benetti at benettiengineering.com Sun Oct 15 12:39:41 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 15 Oct 2023 14:39:41 +0200 Subject: [Buildroot] [PATCH] package/libnvme: bump to version 1.6 Message-ID: <20231015123941.1099291-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/libnvme/libnvme.hash | 2 +- package/libnvme/libnvme.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libnvme/libnvme.hash b/package/libnvme/libnvme.hash index b869ae295a..b9e0281189 100644 --- a/package/libnvme/libnvme.hash +++ b/package/libnvme/libnvme.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 checksums -sha256 f73ba1edde059b2d5e7c1048ad4f895e6047bff241c94b34a7aff5894779d086 libnvme-1.5.tar.gz +sha256 0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7 libnvme-1.6.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 71885e198c..32d28c4ad2 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNVME_VERSION = 1.5 +LIBNVME_VERSION = 1.6 LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION)) LIBNVME_LICENSE = LGPL-2.1 LIBNVME_LICENSE_FILES = COPYING -- 2.34.1 From fontaine.fabrice at gmail.com Sun Oct 15 12:46:53 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 14:46:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpfm4: bump to version 4.13.0 Message-ID: <20231015124654.197965-1-fontaine.fabrice@gmail.com> https://perfmon2.sourceforge.net Signed-off-by: Fabrice Fontaine --- package/libpfm4/libpfm4.hash | 6 +++--- package/libpfm4/libpfm4.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libpfm4/libpfm4.hash b/package/libpfm4/libpfm4.hash index 42740adb1e..80dc66c62e 100644 --- a/package/libpfm4/libpfm4.hash +++ b/package/libpfm4/libpfm4.hash @@ -1,6 +1,6 @@ # From http://sourceforge.net/projects/perfmon2/files/libpfm4/: -sha1 4c61cfb489426d9fff15428cb8536ba0e391c8ac libpfm-4.12.0.tar.gz -md5 9e4f9b89d23171eb9314a948a51b4284 libpfm-4.12.0.tar.gz +sha1 bcb52090f02bc7bcb5ac066494cd55bbd5084e65 libpfm-4.13.0.tar.gz +md5 673aaf0613f8fd1d886b4c5867c2fef1 libpfm-4.13.0.tar.gz # Locally calculated -sha256 4b0c1f53f39a61525b69bebf532c68040c1b984d7544a8ae0844b13cd91e1ee4 libpfm-4.12.0.tar.gz +sha256 d18b97764c755528c1051d376e33545d0eb60c6ebf85680436813fa5b04cc3d1 libpfm-4.13.0.tar.gz sha256 beef323d68fc5db9c67b20e8e9de7ccde371d20cdbcdd686804055b18b926d90 COPYING diff --git a/package/libpfm4/libpfm4.mk b/package/libpfm4/libpfm4.mk index 7165d78cd9..1a18a31ce8 100644 --- a/package/libpfm4/libpfm4.mk +++ b/package/libpfm4/libpfm4.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBPFM4_VERSION = 4.12.0 +LIBPFM4_VERSION = 4.13.0 LIBPFM4_SOURCE = libpfm-$(LIBPFM4_VERSION).tar.gz LIBPFM4_SITE = http://downloads.sourceforge.net/project/perfmon2/libpfm4 LIBPFM4_LICENSE = libpfm4 license -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 15 13:55:32 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 15:55:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/librsync: bump to version 2.3.4 Message-ID: <20231015135532.540647-1-fontaine.fabrice@gmail.com> https://github.com/librsync/librsync/blob/v2.3.4/NEWS.md Signed-off-by: Fabrice Fontaine --- package/librsync/librsync.hash | 2 +- package/librsync/librsync.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/librsync/librsync.hash b/package/librsync/librsync.hash index c8ca61e516..7fc7395a49 100644 --- a/package/librsync/librsync.hash +++ b/package/librsync/librsync.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 ef8ce23df38d5076d25510baa2cabedffbe0af460d887d86c2413a1c2b0c676f librsync-2.3.2.tar.gz +sha256 a0dedf9fff66d8e29e7c25d23c1f42beda2089fb4eac1b36e6acd8a29edfbd1f librsync-2.3.4.tar.gz sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING diff --git a/package/librsync/librsync.mk b/package/librsync/librsync.mk index 97f5c607b0..1465963c61 100644 --- a/package/librsync/librsync.mk +++ b/package/librsync/librsync.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRSYNC_VERSION = 2.3.2 +LIBRSYNC_VERSION = 2.3.4 LIBRSYNC_SITE = https://github.com/librsync/librsync/releases/download/v$(LIBRSYNC_VERSION) LIBRSYNC_LICENSE = LGPL-2.1+ LIBRSYNC_LICENSE_FILES = COPYING -- 2.42.0 From ckhardin at gmail.com Sun Oct 15 17:12:36 2023 From: ckhardin at gmail.com (Charles Hardin) Date: Sun, 15 Oct 2023 10:12:36 -0700 Subject: [Buildroot] [PATCH v2 1/1] Makefile: fix SDK relocation for per-package-dirs In-Reply-To: <20221227154300.10556-1-brandon.maier@collins.com> References: <20221227154300.10556-1-brandon.maier@collins.com> Message-ID: On Tue, Dec 27, 2022 at 7:43?AM Brandon Maier via buildroot wrote: > > The relocate-sdk.sh script does not work correctly when > BR2_PER_PACKAGE_DIRECTORIES is enabled. relocate-sdk.sh expects > everything to point at $HOST_DIR, but each package will be pointing at > its $(O)/per-package/*/host. > > Use the same command for scrubing host paths during the build, to scrub > to the final host directory location. > > Signed-off-by: Brandon Maier Acked-by: Charles Hardin Tested and verified the host paths in the shasum as an example > --- > v2: > - drop original implementation in favor of reusing the existing > PPD_FIXUP_PATHS code. > --- > Makefile | 1 + > package/pkg-generic.mk | 12 +----------- > package/pkg-utils.mk | 15 +++++++++++++++ > 3 files changed, 17 insertions(+), 11 deletions(-) > > diff --git a/Makefile b/Makefile > index 88f90cd2fa..ac3540b36c 100644 > --- a/Makefile > +++ b/Makefile > @@ -598,6 +598,7 @@ prepare-sdk: world > @$(call MESSAGE,"Rendering the SDK relocatable") > PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath host > PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath staging > + $(call ppd-fixup-paths,$(BASE_DIR)) > $(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh > mkdir -p $(HOST_DIR)/share/buildroot > echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index f24e03a325..210af1bbef 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -92,18 +92,8 @@ endif > > ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) > > -# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the > -# proper staging and host directories for the current package: find > -# all text files that contain the PPD root, and replace it with the > -# current package's PPD. > define PPD_FIXUP_PATHS > - $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ > - |while read -d '' f; do \ > - file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ > - printf '%s\0' "$${f}"; \ > - done \ > - |xargs -0 --no-run-if-empty \ > - $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/:g' > + $(call ppd-fixup-paths,$(PER_PACKAGE_DIR)/$($(PKG)_NAME)) > endef > > # Remove python's pre-compiled "sysconfigdata", as it may contain paths to > diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk > index 0945e6ed31..f22562fbed 100644 > --- a/package/pkg-utils.mk > +++ b/package/pkg-utils.mk > @@ -233,6 +233,21 @@ define prepare-per-package-directory > $(call per-package-rsync,$(1),host,$(HOST_DIR)) > $(call per-package-rsync,$(1),target,$(TARGET_DIR)) > endef > + > +# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the > +# proper staging and host directories for the current package: find > +# all text files that contain the PPD root, and replace it with the > +# current package's PPD. > +# $1: destination root directory containing host and staging > +define ppd-fixup-paths > + $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ > + |while read -d '' f; do \ > + file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ > + printf '%s\0' "$${f}"; \ > + done \ > + |xargs -0 --no-run-if-empty \ > + $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(1)/:g' > +endef > endif > > # > -- > 2.39.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From bernd at kuhls.net Sun Oct 15 17:37:06 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 19:37:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.2 Message-ID: <20231015173706.408993-1-bernd@kuhls.net> Release notes: https://seclists.org/oss-sec/2023/q4/107 Signed-off-by: Bernd Kuhls --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 6cdeea0614..e784bf7521 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index f5695d048d..166a4ead54 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96.1 +EXIM_VERSION = 4.96.2 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ -- 2.39.2 From arnout at mind.be Sun Oct 15 18:13:44 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:13:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.2 In-Reply-To: <20231015173706.408993-1-bernd@kuhls.net> References: <20231015173706.408993-1-bernd@kuhls.net> Message-ID: <6e13becd-d5a4-48ab-7453-17f09665bcba@mind.be> On 15/10/2023 19:37, Bernd Kuhls wrote: > Release notes: https://seclists.org/oss-sec/2023/q4/107 > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/exim/exim.hash | 4 ++-- > package/exim/exim.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/exim/exim.hash b/package/exim/exim.hash > index 6cdeea0614..e784bf7521 100644 > --- a/package/exim/exim.hash > +++ b/package/exim/exim.hash > @@ -1,6 +1,6 @@ > # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt > -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz > +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz > # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt > -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz > +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz > # Locally calculated > sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE > diff --git a/package/exim/exim.mk b/package/exim/exim.mk > index f5695d048d..166a4ead54 100644 > --- a/package/exim/exim.mk > +++ b/package/exim/exim.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -EXIM_VERSION = 4.96.1 > +EXIM_VERSION = 4.96.2 > EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz > EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 > EXIM_LICENSE = GPL-2.0+ From arnout at mind.be Sun Oct 15 18:13:07 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:13:07 +0200 Subject: [Buildroot] [git commit] package/exim: security bump version to 4.96.2 Message-ID: <20231015181421.964B785234@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5759ec066ae63eb8f41da3f890bf645df20047c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://seclists.org/oss-sec/2023/q4/107 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 6cdeea0614..e784bf7521 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index f5695d048d..166a4ead54 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96.1 +EXIM_VERSION = 4.96.2 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Sun Oct 15 18:17:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:17:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/librsync: bump to version 2.3.4 In-Reply-To: <20231015135532.540647-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 15 Oct 2023 15:55:32 +0200") References: <20231015135532.540647-1-fontaine.fabrice@gmail.com> Message-ID: <878r83ycly.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/librsync/librsync/blob/v2.3.4/NEWS.md > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:17:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:17:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/redis: bump to v7.2.1 In-Reply-To: <20231015114127.227700-1-titouanchristophe@gmail.com> (Titouan Christophe's message of "Sun, 15 Oct 2023 13:41:27 +0200") References: <20231015114127.227700-1-titouanchristophe@gmail.com> Message-ID: <874jiryckt.fsf@48ers.dk> >>>>> "Titouan" == Titouan Christophe writes: > Signed-off-by: Titouan Christophe Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:18:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:18:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpfm4: bump to version 4.13.0 In-Reply-To: <20231015124654.197965-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 15 Oct 2023 14:46:53 +0200") References: <20231015124654.197965-1-fontaine.fabrice@gmail.com> Message-ID: <87zg0jwxzo.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://perfmon2.sourceforge.net > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:16:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:16:34 +0200 Subject: [Buildroot] [git commit] package/librsync: bump to version 2.3.4 Message-ID: <20231015181834.33A71852C8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4919f7f9c312ab6680bf888d2ab438788f1c7475 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/librsync/librsync/blob/v2.3.4/NEWS.md Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/librsync/librsync.hash | 2 +- package/librsync/librsync.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/librsync/librsync.hash b/package/librsync/librsync.hash index c8ca61e516..7fc7395a49 100644 --- a/package/librsync/librsync.hash +++ b/package/librsync/librsync.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 ef8ce23df38d5076d25510baa2cabedffbe0af460d887d86c2413a1c2b0c676f librsync-2.3.2.tar.gz +sha256 a0dedf9fff66d8e29e7c25d23c1f42beda2089fb4eac1b36e6acd8a29edfbd1f librsync-2.3.4.tar.gz sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING diff --git a/package/librsync/librsync.mk b/package/librsync/librsync.mk index 97f5c607b0..1465963c61 100644 --- a/package/librsync/librsync.mk +++ b/package/librsync/librsync.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRSYNC_VERSION = 2.3.2 +LIBRSYNC_VERSION = 2.3.4 LIBRSYNC_SITE = https://github.com/librsync/librsync/releases/download/v$(LIBRSYNC_VERSION) LIBRSYNC_LICENSE = LGPL-2.1+ LIBRSYNC_LICENSE_FILES = COPYING From peter at korsgaard.com Sun Oct 15 18:17:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:17:32 +0200 Subject: [Buildroot] [git commit] package/redis: bump to v7.2.1 Message-ID: <20231015181834.400B585233@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d49f53f8aaf0bff9c8d04c16485c844fef2832d0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Titouan Christophe Signed-off-by: Peter Korsgaard --- package/redis/0001-uclibc.patch | 8 +++++--- package/redis/redis.hash | 2 +- package/redis/redis.mk | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package/redis/0001-uclibc.patch b/package/redis/0001-uclibc.patch index 197f43e7a7..6761f9f3fe 100644 --- a/package/redis/0001-uclibc.patch +++ b/package/redis/0001-uclibc.patch @@ -12,17 +12,19 @@ Signed-off-by: Martin Bark Signed-off-by: Titouan Christophe [Fabrice: update for 6.0.9] Signed-off-by: Fabrice Fontaine +[Titouan: adapt to 7.2.1] +Signed-off-by: Titouan Christophe ========================================================================= diff -ur old/src/config.h new/src/config.h --- old/src/config.h 2012-10-26 07:20:24.000000000 -0700 +++ new/src/config.h 2012-10-31 13:41:51.206309564 -0700 -@@ -62,7 +62,7 @@ +@@ -71,7 +71,7 @@ #endif /* Test for backtrace() */ -#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || \ +#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__)) || \ - defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__)) && defined(USE_BACKTRACE))\ - || defined(__DragonFly__) + defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__) || defined(__sun)) && defined(USE_BACKTRACE))\ + || defined(__DragonFly__) || (defined(__UCLIBC__) && defined(__UCLIBC_HAS_BACKTRACE__)) #define HAVE_BACKTRACE 1 diff --git a/package/redis/redis.hash b/package/redis/redis.hash index 69bfc1475f..b73df17790 100644 --- a/package/redis/redis.hash +++ b/package/redis/redis.hash @@ -1,5 +1,5 @@ # From https://github.com/redis/redis-hashes/blob/master/README -sha256 ce250d1fba042c613de38a15d40889b78f7cb6d5461a27e35017ba39b07221e3 redis-7.0.11.tar.gz +sha256 5c76d990a1b1c5f949bcd1eed90d0c8a4f70369bdbdcb40288c561ddf88967a4 redis-7.2.1.tar.gz # Locally calculated sha256 97f0a15b7bbae580d2609dad2e11f1956ae167be296ab60f4691ab9c30ee9828 COPYING diff --git a/package/redis/redis.mk b/package/redis/redis.mk index e5d3de8eb9..04f4697e7d 100644 --- a/package/redis/redis.mk +++ b/package/redis/redis.mk @@ -4,7 +4,7 @@ # ################################################################################ -REDIS_VERSION = 7.0.11 +REDIS_VERSION = 7.2.1 REDIS_SITE = http://download.redis.io/releases REDIS_LICENSE = BSD-3-Clause (core); MIT and BSD family licenses (Bundled components) REDIS_LICENSE_FILES = COPYING From peter at korsgaard.com Sun Oct 15 18:18:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:18:15 +0200 Subject: [Buildroot] [git commit] package/libpfm4: bump to version 4.13.0 Message-ID: <20231015181834.51911852CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=708eb34bf4ad8c658c3e46d7d0afe410096a1b23 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://perfmon2.sourceforge.net Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/libpfm4/libpfm4.hash | 6 +++--- package/libpfm4/libpfm4.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libpfm4/libpfm4.hash b/package/libpfm4/libpfm4.hash index 42740adb1e..80dc66c62e 100644 --- a/package/libpfm4/libpfm4.hash +++ b/package/libpfm4/libpfm4.hash @@ -1,6 +1,6 @@ # From http://sourceforge.net/projects/perfmon2/files/libpfm4/: -sha1 4c61cfb489426d9fff15428cb8536ba0e391c8ac libpfm-4.12.0.tar.gz -md5 9e4f9b89d23171eb9314a948a51b4284 libpfm-4.12.0.tar.gz +sha1 bcb52090f02bc7bcb5ac066494cd55bbd5084e65 libpfm-4.13.0.tar.gz +md5 673aaf0613f8fd1d886b4c5867c2fef1 libpfm-4.13.0.tar.gz # Locally calculated -sha256 4b0c1f53f39a61525b69bebf532c68040c1b984d7544a8ae0844b13cd91e1ee4 libpfm-4.12.0.tar.gz +sha256 d18b97764c755528c1051d376e33545d0eb60c6ebf85680436813fa5b04cc3d1 libpfm-4.13.0.tar.gz sha256 beef323d68fc5db9c67b20e8e9de7ccde371d20cdbcdd686804055b18b926d90 COPYING diff --git a/package/libpfm4/libpfm4.mk b/package/libpfm4/libpfm4.mk index 7165d78cd9..1a18a31ce8 100644 --- a/package/libpfm4/libpfm4.mk +++ b/package/libpfm4/libpfm4.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBPFM4_VERSION = 4.12.0 +LIBPFM4_VERSION = 4.13.0 LIBPFM4_SOURCE = libpfm-$(LIBPFM4_VERSION).tar.gz LIBPFM4_SITE = http://downloads.sourceforge.net/project/perfmon2/libpfm4 LIBPFM4_LICENSE = libpfm4 license From arnout at mind.be Sun Oct 15 18:20:30 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:20:30 +0200 Subject: [Buildroot] [PATCH v2 1/1] Makefile: fix SDK relocation for per-package-dirs In-Reply-To: <20221227154300.10556-1-brandon.maier@collins.com> References: <20221227154300.10556-1-brandon.maier@collins.com> Message-ID: <5f76c7de-bdaf-d208-9cca-c3d7ac9635a2@mind.be> On 27/12/2022 16:43, Brandon Maier wrote: > The relocate-sdk.sh script does not work correctly when > BR2_PER_PACKAGE_DIRECTORIES is enabled. relocate-sdk.sh expects > everything to point at $HOST_DIR, but each package will be pointing at > its $(O)/per-package/*/host. > > Use the same command for scrubing host paths during the build, to scrub > to the final host directory location. > > Signed-off-by: Brandon Maier Applied to master, thanks. And thank you Charles for the review. Regards, Arnout > --- > v2: > - drop original implementation in favor of reusing the existing > PPD_FIXUP_PATHS code. > --- > Makefile | 1 + > package/pkg-generic.mk | 12 +----------- > package/pkg-utils.mk | 15 +++++++++++++++ > 3 files changed, 17 insertions(+), 11 deletions(-) > > diff --git a/Makefile b/Makefile > index 88f90cd2fa..ac3540b36c 100644 > --- a/Makefile > +++ b/Makefile > @@ -598,6 +598,7 @@ prepare-sdk: world > @$(call MESSAGE,"Rendering the SDK relocatable") > PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath host > PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath staging > + $(call ppd-fixup-paths,$(BASE_DIR)) > $(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh > mkdir -p $(HOST_DIR)/share/buildroot > echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index f24e03a325..210af1bbef 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -92,18 +92,8 @@ endif > > ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) > > -# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the > -# proper staging and host directories for the current package: find > -# all text files that contain the PPD root, and replace it with the > -# current package's PPD. > define PPD_FIXUP_PATHS > - $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ > - |while read -d '' f; do \ > - file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ > - printf '%s\0' "$${f}"; \ > - done \ > - |xargs -0 --no-run-if-empty \ > - $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/:g' > + $(call ppd-fixup-paths,$(PER_PACKAGE_DIR)/$($(PKG)_NAME)) > endef > > # Remove python's pre-compiled "sysconfigdata", as it may contain paths to > diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk > index 0945e6ed31..f22562fbed 100644 > --- a/package/pkg-utils.mk > +++ b/package/pkg-utils.mk > @@ -233,6 +233,21 @@ define prepare-per-package-directory > $(call per-package-rsync,$(1),host,$(HOST_DIR)) > $(call per-package-rsync,$(1),target,$(TARGET_DIR)) > endef > + > +# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the > +# proper staging and host directories for the current package: find > +# all text files that contain the PPD root, and replace it with the > +# current package's PPD. > +# $1: destination root directory containing host and staging > +define ppd-fixup-paths > + $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ > + |while read -d '' f; do \ > + file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ > + printf '%s\0' "$${f}"; \ > + done \ > + |xargs -0 --no-run-if-empty \ > + $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(1)/:g' > +endef > endif > > # From peter at korsgaard.com Sun Oct 15 18:21:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:21:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: security bump version to 4.18.8 In-Reply-To: <20231014124243.80138-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 14 Oct 2023 14:42:43 +0200") References: <20231014124243.80138-1-bernd@kuhls.net> Message-ID: <87v8b7wxur.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://www.samba.org/samba/history/samba-4.18.8.html > Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & > CVE-2023-42670. > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:21:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:21:24 +0200 Subject: [Buildroot] [PATCH] package/gcc: remoce leftover from legacy PowerPC patch In-Reply-To: <20231014203645.866867-1-yann.morin.1998@free.fr> (Yann E. MORIN's message of "Sat, 14 Oct 2023 22:36:45 +0200") References: <20231014203645.866867-1-yann.morin.1998@free.fr> Message-ID: <87r0lvwxuj.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching > logic), the macro defining the conditional patch was removed, but it was > still referenced and expanded in the apply-patches hook. > Drop that now. > Signed-off-by: Yann E. MORIN > Cc: Romain Naour Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Sun Oct 15 18:20:36 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:20:36 +0200 Subject: [Buildroot] [git commit] Makefile: fix SDK relocation for per-package-dirs Message-ID: <20231015182135.EF568852ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=25e60fbe1cabb678952330a8d8d48efe7f8e5048 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The relocate-sdk.sh script does not work correctly when BR2_PER_PACKAGE_DIRECTORIES is enabled. relocate-sdk.sh expects everything to point at $HOST_DIR, but each package will be pointing at its $(O)/per-package/*/host. Use the same command for scrubing host paths during the build, to scrub to the final host directory location. Signed-off-by: Brandon Maier Acked-by: Charles Hardin Signed-off-by: Arnout Vandecappelle --- Makefile | 1 + package/pkg-generic.mk | 12 +----------- package/pkg-utils.mk | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index dc4dbc64e1..f87f4458ba 100644 --- a/Makefile +++ b/Makefile @@ -600,6 +600,7 @@ prepare-sdk: world PARALLEL_JOBS=$(PARALLEL_JOBS) \ PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) \ $(TOPDIR)/support/scripts/fix-rpath staging + $(call ppd-fixup-paths,$(BASE_DIR)) $(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh mkdir -p $(HOST_DIR)/share/buildroot echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 6e944dd6b7..e140145ee3 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -92,18 +92,8 @@ endif ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the -# proper staging and host directories for the current package: find -# all text files that contain the PPD root, and replace it with the -# current package's PPD. define PPD_FIXUP_PATHS - $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ - |while read -d '' f; do \ - file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ - printf '%s\0' "$${f}"; \ - done \ - |xargs -0 --no-run-if-empty \ - $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/:g' + $(call ppd-fixup-paths,$(PER_PACKAGE_DIR)/$($(PKG)_NAME)) endef # Remove python's pre-compiled "sysconfigdata", as it may contain paths to diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index bdbdf20c23..ba3da68a7b 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -233,6 +233,21 @@ define prepare-per-package-directory $(call per-package-rsync,$(1),host,$(HOST_DIR)) $(call per-package-rsync,$(1),target,$(TARGET_DIR)) endef + +# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the +# proper staging and host directories for the current package: find +# all text files that contain the PPD root, and replace it with the +# current package's PPD. +# $1: destination root directory containing host and staging +define ppd-fixup-paths + $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ + |while read -d '' f; do \ + file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ + printf '%s\0' "$${f}"; \ + done \ + |xargs -0 --no-run-if-empty \ + $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(1)/:g' +endef endif # From peter at korsgaard.com Sun Oct 15 18:21:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:21:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/nmap: fix build with libressl >= 3.5.0 In-Reply-To: <20231012163622.87846-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 18:36:22 +0200") References: <20231012163622.87846-1-fontaine.fabrice@gmail.com> Message-ID: <87mswjwxu4.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:22:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:22:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/pound: force libopenssl In-Reply-To: <20231012204047.243690-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 22:40:47 +0200") References: <20231012204047.243690-1-fontaine.fabrice@gmail.com> Message-ID: <87il77wxrx.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Force libopenssl to avoid the following build failure with libressl > raised since bump to version 4.8 in commit > 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: > pound.c: In function 'main': > pound.c:971:27: error: 'l_id' undeclared (first use in this function) > 971 | CRYPTO_set_id_callback (l_id); > | ^~~~ > Fixes: > - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:23:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:23:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/netsnmp: fix musl build In-Reply-To: <20231012211357.643153-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 23:13:57 +0200") References: <20231012211357.643153-1-fontaine.fabrice@gmail.com> Message-ID: <87edhvwxqz.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following musl build failure raised since bump to version 5.9.4 > in commit 868603755c16296ae2a61845891edeafc36e48ca: > large_fd_set.c: In function 'LFD_SET': > ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? > 1614 | #define NETSNMP_FD_MASK_TYPE unknown > | ^~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:24:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: bump version to 254.5 In-Reply-To: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> (Adam Duskett's message of "Fri, 13 Oct 2023 10:30:37 +0200") References: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> Message-ID: <87a5sjwxpw.fsf@48ers.dk> >>>>> "Adam" == Adam Duskett writes: > All tests passed in Debian 11 with the following command: > ./support/testing/run-tests tests.init.test_systemd > Signed-off-by: Adam Duskett Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:24:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/rauc: bump version to 1.10.1 In-Reply-To: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> (Adam Duskett's message of "Fri, 13 Oct 2023 11:35:41 +0200") References: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> Message-ID: <875y37wxow.fsf@48ers.dk> >>>>> "Adam" == Adam Duskett writes: > Signed-off-by: Adam Duskett Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:24:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:54 +0200 Subject: [Buildroot] [PATCH] board/raspberrypi: fix typo in comment In-Reply-To: <20231013202528.164224-1-gael.portay@rtone.fr> (=?utf-8?Q?=22?= =?utf-8?Q?Ga=C3=ABl?= PORTAY"'s message of "Fri, 13 Oct 2023 22:25:28 +0200") References: <20231013202528.164224-1-gael.portay@rtone.fr> Message-ID: <871qdvwxop.fsf@48ers.dk> >>>>> "Ga?l" == Ga?l PORTAY writes: > This fixes a typo by dropping off the spurious x in ensure. > Signed-off-by: Ga?l PORTAY Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:25:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:25:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/mutt: fix libgpgme static build In-Reply-To: <20231013210830.143696-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 13 Oct 2023 23:08:30 +0200") References: <20231013210830.143696-1-fontaine.fabrice@gmail.com> Message-ID: <87wmvnvj33.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following static build failure with libgpgme raised since at > least bump to version 2.2.9 in commit > 7a2afdb7b1180bed3b6ad92c22c908805467ead3: > /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: > /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): > in function `my_usleep': > assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' > Fixes: > - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf > - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:31:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:31:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/usbguard: fix build with gcc >= 13 In-Reply-To: <20231013215355.323987-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 13 Oct 2023 23:53:55 +0200") References: <20231013215355.323987-1-fontaine.fabrice@gmail.com> Message-ID: <87sf6bvisw.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with gcc >= 13: > In file included from src/Library/Base64.cpp:23: > src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type > 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); > | ^~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:19:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:19:55 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gcc: remove leftover from legacy PowerPC patch Message-ID: <20231015183250.5B227855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1a91b6a04418c4b6549bece9c607570baa0b626a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching logic), the macro defining the conditional patch was removed, but it was still referenced and expanded in the apply-patches hook. Drop that now. Signed-off-by: Yann E. MORIN Cc: Romain Naour Signed-off-by: Peter Korsgaard (cherry picked from commit 84cdd92f0172ccc49fd2c037caaf3a659a26194d) Signed-off-by: Peter Korsgaard --- package/gcc/gcc.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 3050229176..5d023d725f 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -41,7 +41,6 @@ define HOST_GCC_APPLY_PATCHES $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ fi; \ done - $(HOST_GCC_APPLY_POWERPC_PATCH) endef HOST_GCC_EXCLUDES = \ From peter at korsgaard.com Sun Oct 15 18:19:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:19:37 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/samba4: security bump version to 4.18.8 Message-ID: <20231015183250.50B328559B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fa8d1acc2d9d376de56232bf219e0b17797e4252 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Release notes: https://www.samba.org/samba/history/samba-4.18.8.html Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & CVE-2023-42670. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 2dc61bfa768659ffa208b179967c332e6252d5ad) Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fea760c500..9843d419f0 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc -sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc +sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index cfa94fc141..9cf7a59d9b 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.7 +SAMBA4_VERSION = 4.18.8 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 15 18:32:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:32:38 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/exim: security bump version to 4.96.2 Message-ID: <20231015183250.9C77284C30@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0481d1100363c2ae07758d5b43b40edb029105b4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Release notes: https://seclists.org/oss-sec/2023/q4/107 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (cherry picked from commit 5759ec066ae63eb8f41da3f890bf645df20047c6) Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 6cdeea0614..e784bf7521 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index f5695d048d..166a4ead54 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96.1 +EXIM_VERSION = 4.96.2 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Sun Oct 15 18:25:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:25:19 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mutt: fix libgpgme static build Message-ID: <20231015183250.911D7855AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f72ce56f8d59cc31af934ef07f95172d0cdc00f2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix the following static build failure with libgpgme raised since at least bump to version 2.2.9 in commit 7a2afdb7b1180bed3b6ad92c22c908805467ead3: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): in function `my_usleep': assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' Fixes: - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit b518b0f161c81582f31c79c50552b5106f693df2) Signed-off-by: Peter Korsgaard --- package/mutt/mutt.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk index 09f547a091..2fe7b92b38 100644 --- a/package/mutt/mutt.mk +++ b/package/mutt/mutt.mk @@ -40,7 +40,11 @@ MUTT_CONF_OPTS += \ # Force the path to "gpgrt-config" (from the libgpg-error package) to # avoid using the one on host, if present. -MUTT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +MUTT_GPGRT_CONFIG = $(STAGING_DIR)/usr/bin/gpgrt-config +ifeq ($(BR2_STATIC_LIBS),y) +MUTT_GPGRT_CONFIG += --static +endif +MUTT_CONF_ENV += GPGRT_CONFIG="$(MUTT_GPGRT_CONFIG)" else MUTT_CONF_OPTS += --disable-gpgme endif From peter at korsgaard.com Sun Oct 15 18:20:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:20:54 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/nmap: fix build with libressl >= 3.5.0 Message-ID: <20231015183250.677EA855A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3d2cffe1a249a26ea907257a7c1cc445c680b994 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 796ebbcf34298ef56ff63fc845cd97a5acb7dc8a) Signed-off-by: Peter Korsgaard --- ...g-Crypto.cc-fix-build-with-libressl-3.5.0.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch new file mode 100644 index 0000000000..f2bdf5904d --- /dev/null +++ b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch @@ -0,0 +1,39 @@ +From 4ebea5c1d1a10be0d0165da3b9c0e1fa82c3db3c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 21 May 2022 17:51:37 +0200 +Subject: [PATCH] nping/Crypto.cc: fix build with libressl >= 3.5.0 + +Fix the following build failure with libressl >= 3.5.0: + +Crypto.cc: In static member function 'static int Crypto::aes128_cbc_encrypt(u8*, size_t, u8*, u8*, size_t, u8*)': +Crypto.cc:139:26: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined + 139 | EVP_CIPHER_CTX ctx; + | ^~~ + +Fixes: + - http://autobuild.buildroot.org/results/2e6eebbe2ed8305b88047bc92c19350c1ecada16 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/nmap/nmap/pull/2480 +--- + nping/Crypto.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/nping/Crypto.cc b/nping/Crypto.cc +index 850438352..9f7c88686 100644 +--- a/nping/Crypto.cc ++++ b/nping/Crypto.cc +@@ -70,7 +70,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_EVP_PKEY 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset +-- +2.35.1 + From peter at korsgaard.com Sun Oct 15 18:24:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:29 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/rauc: bump version to 1.10.1 Message-ID: <20231015183251.E4F48855A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3f854cea477ab977ab8fb00125f69f7208e352a3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Bugfix release: https://github.com/rauc/rauc/releases/tag/v1.10.1 Signed-off-by: Adam Duskett Signed-off-by: Peter Korsgaard (cherry picked from commit e55770e8827567c8c4952713c9cd149012f5d68f) Signed-off-by: Peter Korsgaard --- package/rauc/rauc.hash | 2 +- package/rauc/rauc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rauc/rauc.hash b/package/rauc/rauc.hash index 3a1fa6f5f9..38fea45b8a 100644 --- a/package/rauc/rauc.hash +++ b/package/rauc/rauc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d3eec057e74d41565bbdfa10ff8bb2edb38e39af2b2126f8ad1d2174ae034d47 rauc-1.10.tar.xz +sha256 aa99164c5f54fd29b5c8456221b51f92c900884af66de3e1b7f15a25b7db98a7 rauc-1.10.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk index 9f0571402f..4211abdcc4 100644 --- a/package/rauc/rauc.mk +++ b/package/rauc/rauc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RAUC_VERSION = 1.10 +RAUC_VERSION = 1.10.1 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION) RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz RAUC_LICENSE = LGPL-2.1 From peter at korsgaard.com Sun Oct 15 18:23:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:23:22 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/netsnmp: fix musl build Message-ID: <20231015183250.73EFD84C30@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=56caafceab3ec12669ccb7aa6fc8b653778064e1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix the following musl build failure raised since bump to version 5.9.4 in commit 868603755c16296ae2a61845891edeafc36e48ca: large_fd_set.c: In function 'LFD_SET': ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? 1614 | #define NETSNMP_FD_MASK_TYPE unknown | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit dad81003c905c5fe33599c1676ed46108b512bc0) Signed-off-by: Peter Korsgaard --- ...Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch | 38 ++++++++++++++++++++++ package/netsnmp/netsnmp.mk | 2 ++ 2 files changed, 40 insertions(+) diff --git a/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch new file mode 100644 index 0000000000..91a00aec27 --- /dev/null +++ b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch @@ -0,0 +1,38 @@ +From a62169f1fa358be8f330ea8519ade0610fac525b Mon Sep 17 00:00:00 2001 +From: Adam Gajda +Date: Mon, 2 Oct 2023 16:40:31 +0200 +Subject: [PATCH] Fix configuration of NETSNMP_FD_MASK_TYPE + +Upstream: https://github.com/net-snmp/net-snmp/commit/a62169f1fa358be8f330ea8519ade0610fac525b +Signed-off-by: Fabrice Fontaine +--- + configure | 2 +- + configure.d/config_project_types | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 9f0a173d8a..945a27c663 100755 +--- a/configure ++++ b/configure +@@ -30871,7 +30871,7 @@ CFLAGS="$CFLAGS -Werror" + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits" >&5 + printf %s "checking for the type of fd_set::fds_bits... " >&6; } +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +diff --git a/configure.d/config_project_types b/configure.d/config_project_types +index 1b4c66b95e..a78e8ebb06 100644 +--- a/configure.d/config_project_types ++++ b/configure.d/config_project_types +@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -Werror" + + AC_MSG_CHECKING([for the type of fd_set::fds_bits]) +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include + #include diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index ae85f2697f..b5cda30a7b 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -40,6 +40,8 @@ NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true inst NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install NETSNMP_MAKE = $(MAKE1) NETSNMP_CONFIG_SCRIPTS = net-snmp-config +# We're patching configure.d/config_project_types +NETSNMP_AUTORECONF = YES ifeq ($(BR2_ENDIAN),"BIG") NETSNMP_CONF_OPTS += --with-endianness=big From peter at korsgaard.com Sun Oct 15 18:26:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:26:13 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/usbguard: fix build with gcc >= 13 Message-ID: <20231015183252.10D2D855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=175bc20117fa13f9731a3a75f2e22a2740ac740d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix the following build failure with gcc >= 13: In file included from src/Library/Base64.cpp:23: src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 05db019ea6f12c407a1ff7e8a365ba2743668d81) Signed-off-by: Peter Korsgaard --- ...ke-GitHub-Actions-cover-build-with-GCC-13.patch | 114 +++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch new file mode 100644 index 0000000000..415b8e1dd1 --- /dev/null +++ b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch @@ -0,0 +1,114 @@ +From 22b1e0897af977cc96af926c730ff948bd120bb5 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Fri, 31 Mar 2023 09:39:49 +0200 +Subject: [PATCH] Fix build for GCC 13 + make GitHub Actions cover build with + GCC 13 (#586) + +* include missing + +gcc 13 moved some includes around and as a result is no +longer transitively included [1]. Explicitly include it for +uint8_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj + +* docker.yml: Cover openSUSE Tumbleweed with GCC 13+ + +Based on scripts/docker/build_on_centos_8_2.Dockerfile . + +--------- + +Signed-off-by: Khem Raj +Co-authored-by: Khem Raj +Upstream: https://github.com/USBGuard/usbguard/commit/22b1e0897af977cc96af926c730ff948bd120bb5 +Signed-off-by: Fabrice Fontaine +--- + .github/workflows/docker.yml | 1 + + .../build_on_opensuse_tumbleweed.Dockerfile | 50 +++++++++++++++++++ + src/Library/Base64.cpp | 1 - + src/Library/Base64.hpp | 1 + + 4 files changed, 52 insertions(+), 1 deletion(-) + create mode 100644 scripts/docker/build_on_opensuse_tumbleweed.Dockerfile + +diff --git a/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +new file mode 100644 +index 00000000..d0993d8c +--- /dev/null ++++ b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +@@ -0,0 +1,50 @@ ++## ++## Copyright (c) 2023 Sebastian Pipping ++## ++## This program is free software; you can redistribute it and/or modify ++## it under the terms of the GNU General Public License as published by ++## the Free Software Foundation; either version 2 of the License, or ++## (at your option) any later version. ++## ++## This program is distributed in the hope that it will be useful, ++## but WITHOUT ANY WARRANTY; without even the implied warranty of ++## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++## GNU General Public License for more details. ++## ++## You should have received a copy of the GNU General Public License ++## along with this program. If not, see . ++ ++FROM opensuse/tumbleweed:latest ++RUN zypper --non-interactive install dnf rpm-repos-openSUSE-Tumbleweed \ ++ && \ ++ dnf install -y \ ++ asciidoc \ ++ autoconf \ ++ automake \ ++ dbus-1-glib-devel \ ++ diffutils \ ++ file \ ++ gcc-c++ \ ++ git \ ++ libgcrypt-devel \ ++ libqb-devel \ ++ libsodium-devel \ ++ libtool \ ++ libxslt \ ++ make \ ++ polkit-devel \ ++ protobuf-devel ++ADD usbguard.tar usbguard/ ++ADD catch.tar usbguard/src/ThirdParty/Catch/ ++ADD pegtl.tar usbguard/src/ThirdParty/PEGTL/ ++WORKDIR usbguard ++RUN git init &>/dev/null && ./autogen.sh ++RUN ./configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN make dist ++RUN tar xf usbguard-*.tar.gz ++RUN mv -v usbguard-*.*.*/ usbguard-release/ ++RUN mkdir usbguard-release/build/ ++WORKDIR usbguard-release/build/ ++RUN ../configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN bash -c 'set -o pipefail; make V=1 "-j$(nproc)" |& tee build.log' ++RUN ! grep -F 'include file not found' build.log +diff --git a/src/Library/Base64.cpp b/src/Library/Base64.cpp +index ddb28dce..0246a134 100644 +--- a/src/Library/Base64.cpp ++++ b/src/Library/Base64.cpp +@@ -22,7 +22,6 @@ + + #include "Base64.hpp" + #include +-#include + + namespace usbguard + { +diff --git a/src/Library/Base64.hpp b/src/Library/Base64.hpp +index 0947f214..e0c745cb 100644 +--- a/src/Library/Base64.hpp ++++ b/src/Library/Base64.hpp +@@ -23,6 +23,7 @@ + #endif + + #include ++#include + #include + + namespace usbguard From peter at korsgaard.com Sun Oct 15 18:20:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:20:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gcc: remove leftover from legacy PowerPC patch Message-ID: <20231015183251.ACE73855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d354a46ad32a6c4012a870ed0e756724e03a6487 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching logic), the macro defining the conditional patch was removed, but it was still referenced and expanded in the apply-patches hook. Drop that now. Signed-off-by: Yann E. MORIN Cc: Romain Naour Signed-off-by: Peter Korsgaard (cherry picked from commit 84cdd92f0172ccc49fd2c037caaf3a659a26194d) Signed-off-by: Peter Korsgaard --- package/gcc/gcc.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 3050229176..5d023d725f 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -41,7 +41,6 @@ define HOST_GCC_APPLY_PATCHES $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ fi; \ done - $(HOST_GCC_APPLY_POWERPC_PATCH) endef HOST_GCC_EXCLUDES = \ From peter at korsgaard.com Sun Oct 15 18:20:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:20:38 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/nmap: fix build with libressl >= 3.5.0 Message-ID: <20231015183251.BA968855A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a9a7d01b5c7edb2e308a5ddb69ae8955131d9966 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 796ebbcf34298ef56ff63fc845cd97a5acb7dc8a) Signed-off-by: Peter Korsgaard --- ...g-Crypto.cc-fix-build-with-libressl-3.5.0.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch new file mode 100644 index 0000000000..f2bdf5904d --- /dev/null +++ b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch @@ -0,0 +1,39 @@ +From 4ebea5c1d1a10be0d0165da3b9c0e1fa82c3db3c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 21 May 2022 17:51:37 +0200 +Subject: [PATCH] nping/Crypto.cc: fix build with libressl >= 3.5.0 + +Fix the following build failure with libressl >= 3.5.0: + +Crypto.cc: In static member function 'static int Crypto::aes128_cbc_encrypt(u8*, size_t, u8*, u8*, size_t, u8*)': +Crypto.cc:139:26: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined + 139 | EVP_CIPHER_CTX ctx; + | ^~~ + +Fixes: + - http://autobuild.buildroot.org/results/2e6eebbe2ed8305b88047bc92c19350c1ecada16 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/nmap/nmap/pull/2480 +--- + nping/Crypto.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/nping/Crypto.cc b/nping/Crypto.cc +index 850438352..9f7c88686 100644 +--- a/nping/Crypto.cc ++++ b/nping/Crypto.cc +@@ -70,7 +70,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_EVP_PKEY 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset +-- +2.35.1 + From peter at korsgaard.com Sun Oct 15 18:24:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:02 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/systemd: bump version to 254.5 Message-ID: <20231015183251.D9AB2855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=461155fc78abc012eca7a5c42948d17ba18e25e8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x All tests passed in Debian 11 with the following command: ./support/testing/run-tests tests.init.test_systemd Signed-off-by: Adam Duskett Acked-by: Norbert Lange Signed-off-by: Peter Korsgaard (cherry picked from commit 1c6b1ee63f614a7480ad100aceb6f5e85353326f) Signed-off-by: Peter Korsgaard --- package/systemd/systemd.hash | 2 +- package/systemd/systemd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/systemd/systemd.hash b/package/systemd/systemd.hash index 10f4bc04fa..f0c3db60e7 100644 --- a/package/systemd/systemd.hash +++ b/package/systemd/systemd.hash @@ -1,5 +1,5 @@ # sha256 locally computed -sha256 18db69c8fc33afebf95a40cfa3769df5f0e4a07bccdebd33b2fd81c8b75e7a02 systemd-254.tar.gz +sha256 41873783aa1c680e10d2f2626797a1c2fef8018d69b68c8c77639e140ee7846d systemd-254.5.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index d220673572..d428765ec3 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -19,7 +19,7 @@ # - Diff sysusers.d with the previous version # - Diff factory/etc/nsswitch.conf with the previous version # (details are often sprinkled around in README and manpages) -SYSTEMD_VERSION = 254 +SYSTEMD_VERSION = 254.5 SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) SYSTEMD_LICENSE = \ LGPL-2.1+, \ From peter at korsgaard.com Sun Oct 15 18:22:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:22:50 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/pound: force libopenssl Message-ID: <20231015183251.C4D8C855AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8f5cf8d488fd77038dede3f8e48f6288d15203a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Force libopenssl to avoid the following build failure with libressl raised since bump to version 4.8 in commit 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: pound.c: In function 'main': pound.c:971:27: error: 'l_id' undeclared (first use in this function) 971 | CRYPTO_set_id_callback (l_id); | ^~~~ Fixes: - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 648502bdbdcf6a8996db897af731fd2219d777d1) Signed-off-by: Peter Korsgaard --- package/pound/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pound/Config.in b/package/pound/Config.in index 60fafff935..aa0f103273 100644 --- a/package/pound/Config.in +++ b/package/pound/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_POUND depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable From peter at korsgaard.com Sun Oct 15 18:24:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:35 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] board/raspberrypi: fix typo in comment Message-ID: <20231015183251.EF2F6855AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f8b4a006a42f8d43d05ea529d936ebea874c7dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x This fixes a typo by dropping off the spurious x in ensure. Signed-off-by: Ga??l PORTAY Signed-off-by: Peter Korsgaard (cherry picked from commit 3381a084330e8f48785fb472e95c01d7a9602b36) Signed-off-by: Peter Korsgaard --- board/raspberrypi/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh index 38fdc80734..0bd7bc3d17 100755 --- a/board/raspberrypi/post-build.sh +++ b/board/raspberrypi/post-build.sh @@ -15,5 +15,5 @@ elif [ -d ${TARGET_DIR}/etc/systemd ]; then "${TARGET_DIR}/etc/systemd/system/getty.target.wants/getty at tty1.service" fi -# exnsure overlays exists for genimage +# ensure overlays exists for genimage mkdir -p "${BINARIES_DIR}/rpi-firmware/overlays" From peter at korsgaard.com Sun Oct 15 18:32:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:32:32 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/exim: security bump version to 4.96.2 Message-ID: <20231015183252.1B83C82AEC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7b860e69ae094175292e4c58bd868a4eb17ca554 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Release notes: https://seclists.org/oss-sec/2023/q4/107 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (cherry picked from commit 5759ec066ae63eb8f41da3f890bf645df20047c6) Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 6cdeea0614..e784bf7521 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index f5695d048d..166a4ead54 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96.1 +EXIM_VERSION = 4.96.2 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Sun Oct 15 18:19:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:19:30 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/samba4: security bump version to 4.18.8 Message-ID: <20231015183251.A28F98559B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a4cfbf072edf545c3e13fb14ad85e77cc81f0d08 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Release notes: https://www.samba.org/samba/history/samba-4.18.8.html Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & CVE-2023-42670. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 2dc61bfa768659ffa208b179967c332e6252d5ad) Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fea760c500..9843d419f0 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc -sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc +sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index cfa94fc141..9cf7a59d9b 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.7 +SAMBA4_VERSION = 4.18.8 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 15 18:24:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:41 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] board/raspberrypi: fix typo in comment Message-ID: <20231015183250.87044855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=eaad8eda679a93ba10a3a6b773af5147bf73a647 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x This fixes a typo by dropping off the spurious x in ensure. Signed-off-by: Ga??l PORTAY Signed-off-by: Peter Korsgaard (cherry picked from commit 3381a084330e8f48785fb472e95c01d7a9602b36) Signed-off-by: Peter Korsgaard --- board/raspberrypi/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh index 38fdc80734..0bd7bc3d17 100755 --- a/board/raspberrypi/post-build.sh +++ b/board/raspberrypi/post-build.sh @@ -15,5 +15,5 @@ elif [ -d ${TARGET_DIR}/etc/systemd ]; then "${TARGET_DIR}/etc/systemd/system/getty.target.wants/getty at tty1.service" fi -# exnsure overlays exists for genimage +# ensure overlays exists for genimage mkdir -p "${BINARIES_DIR}/rpi-firmware/overlays" From peter at korsgaard.com Sun Oct 15 18:23:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:23:15 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/netsnmp: fix musl build Message-ID: <20231015183251.CF2D88559B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=72b50b9043be5ea506bb20ad861b2fb0e1f75fe2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix the following musl build failure raised since bump to version 5.9.4 in commit 868603755c16296ae2a61845891edeafc36e48ca: large_fd_set.c: In function 'LFD_SET': ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? 1614 | #define NETSNMP_FD_MASK_TYPE unknown | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit dad81003c905c5fe33599c1676ed46108b512bc0) Signed-off-by: Peter Korsgaard --- ...Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch | 38 ++++++++++++++++++++++ package/netsnmp/netsnmp.mk | 2 ++ 2 files changed, 40 insertions(+) diff --git a/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch new file mode 100644 index 0000000000..91a00aec27 --- /dev/null +++ b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch @@ -0,0 +1,38 @@ +From a62169f1fa358be8f330ea8519ade0610fac525b Mon Sep 17 00:00:00 2001 +From: Adam Gajda +Date: Mon, 2 Oct 2023 16:40:31 +0200 +Subject: [PATCH] Fix configuration of NETSNMP_FD_MASK_TYPE + +Upstream: https://github.com/net-snmp/net-snmp/commit/a62169f1fa358be8f330ea8519ade0610fac525b +Signed-off-by: Fabrice Fontaine +--- + configure | 2 +- + configure.d/config_project_types | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 9f0a173d8a..945a27c663 100755 +--- a/configure ++++ b/configure +@@ -30871,7 +30871,7 @@ CFLAGS="$CFLAGS -Werror" + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits" >&5 + printf %s "checking for the type of fd_set::fds_bits... " >&6; } +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +diff --git a/configure.d/config_project_types b/configure.d/config_project_types +index 1b4c66b95e..a78e8ebb06 100644 +--- a/configure.d/config_project_types ++++ b/configure.d/config_project_types +@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -Werror" + + AC_MSG_CHECKING([for the type of fd_set::fds_bits]) +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include + #include diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index ae85f2697f..b5cda30a7b 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -40,6 +40,8 @@ NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true inst NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install NETSNMP_MAKE = $(MAKE1) NETSNMP_CONFIG_SCRIPTS = net-snmp-config +# We're patching configure.d/config_project_types +NETSNMP_AUTORECONF = YES ifeq ($(BR2_ENDIAN),"BIG") NETSNMP_CONF_OPTS += --with-endianness=big From peter at korsgaard.com Sun Oct 15 18:32:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:32:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.2 In-Reply-To: <20231015173706.408993-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sun, 15 Oct 2023 19:37:06 +0200") References: <20231015173706.408993-1-bernd@kuhls.net> Message-ID: <87o7gzviqy.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://seclists.org/oss-sec/2023/q4/107 > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:25:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:25:28 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/mutt: fix libgpgme static build Message-ID: <20231015183252.06CDB8559B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9c442c86e5a8b82cf57f08b2b8498bf410def817 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix the following static build failure with libgpgme raised since at least bump to version 2.2.9 in commit 7a2afdb7b1180bed3b6ad92c22c908805467ead3: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): in function `my_usleep': assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' Fixes: - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit b518b0f161c81582f31c79c50552b5106f693df2) Signed-off-by: Peter Korsgaard --- package/mutt/mutt.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk index 09f547a091..2fe7b92b38 100644 --- a/package/mutt/mutt.mk +++ b/package/mutt/mutt.mk @@ -40,7 +40,11 @@ MUTT_CONF_OPTS += \ # Force the path to "gpgrt-config" (from the libgpg-error package) to # avoid using the one on host, if present. -MUTT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +MUTT_GPGRT_CONFIG = $(STAGING_DIR)/usr/bin/gpgrt-config +ifeq ($(BR2_STATIC_LIBS),y) +MUTT_GPGRT_CONFIG += --static +endif +MUTT_CONF_ENV += GPGRT_CONFIG="$(MUTT_GPGRT_CONFIG)" else MUTT_CONF_OPTS += --disable-gpgme endif From arnout at mind.be Sun Oct 15 18:48:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:48:29 +0200 Subject: [Buildroot] [PATCH v4] package/cutekeyboard: new package In-Reply-To: <20221018151624.882453-1-angelo@amarulasolutions.com> References: <20221018151624.882453-1-angelo@amarulasolutions.com> Message-ID: <9497df91-af07-8291-b28b-f5a8b40148e1@mind.be> Hi Angelo, I'm going through some old patches :-) On 18/10/2022 17:16, Angelo Compagnucci wrote: > CuteKeyboard is a Qt virtual keyboard plugin for embedded applications > > Signed-off-by: Angelo Compagnucci > Acked-by: Andrea Ricchi Applied to master, thanks, with some changes, see below. > --- > v2: > * bump to verison v1.0.1 > v3: > * Adding me to developers file > v4: > * Fixing typo in Config.in > > package/Config.in | 1 + > package/cutekeyboard/Config.in | 19 +++++++++++++++++++ > package/cutekeyboard/cutekeyboard.hash | 3 +++ > package/cutekeyboard/cutekeyboard.mk | 18 ++++++++++++++++++ DEVELOPERS entry missing. I put it under your name - with the gmail address, not the Amarula address. If it's not OK, please send a patch to fix it. > 4 files changed, 41 insertions(+) > create mode 100644 package/cutekeyboard/Config.in > create mode 100644 package/cutekeyboard/cutekeyboard.hash > create mode 100644 package/cutekeyboard/cutekeyboard.mk > > diff --git a/package/Config.in b/package/Config.in > index e3a34d6e97..f11210d313 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -1522,6 +1522,7 @@ menu "Graphics" > source "package/cairo/Config.in" > source "package/cairomm/Config.in" > source "package/chipmunk/Config.in" > + source "package/cutekeyboard/Config.in" > source "package/exempi/Config.in" > source "package/exiv2/Config.in" > source "package/fltk/Config.in" > diff --git a/package/cutekeyboard/Config.in b/package/cutekeyboard/Config.in > new file mode 100644 > index 0000000000..59362f0648 > --- /dev/null > +++ b/package/cutekeyboard/Config.in > @@ -0,0 +1,19 @@ > +config BR2_PACKAGE_CUTEKEYBOARD > + bool "cutekeyboard" > + depends on BR2_PACKAGE_QT5DECLARATIVE > + depends on BR2_PACKAGE_QT5DECLARATIVE_QUICK > + depends on BR2_PACKAGE_QT5QUICKCONTROLS2 This should have been select rather than depends. I did leave a depends on Qt5 itself, of course. > + help > + CuteKeyboard is a Qt virtual keyboard plugin for > + embedded applications. Just for my information, what differentiates this from qt5virtualkeyboard? > + > + https://amarula.github.io/cutekeyboard/ > + > +if BR2_PACKAGE_CUTEKEYBOARD > + > +config BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES > + bool "cutekeyboard examples" > + help > + Compile also application example > + > +endif > diff --git a/package/cutekeyboard/cutekeyboard.hash b/package/cutekeyboard/cutekeyboard.hash > new file mode 100644 > index 0000000000..3d3ec2f858 > --- /dev/null > +++ b/package/cutekeyboard/cutekeyboard.hash > @@ -0,0 +1,3 @@ > +# Locally computed > +sha256 8cbaddc5fbf479d5e20fc88228e9af5928fa5e588052ee496c2f2efbe2afc510 cutekeyboard-afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7.tar.gz > +sha256 bdde6ec2ae2686623c0bb414bfb8bd731b314beff2264c602116ea60dd65964d LICENSE > diff --git a/package/cutekeyboard/cutekeyboard.mk b/package/cutekeyboard/cutekeyboard.mk > new file mode 100644 > index 0000000000..3e4c08f44e > --- /dev/null > +++ b/package/cutekeyboard/cutekeyboard.mk > @@ -0,0 +1,18 @@ > +################################################################################ > +# > +# qt5virtualkeyboard cutekeyboard :-) Regards, Arnout > +# > +################################################################################ > + > +CUTEKEYBOARD_VERSION = afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7 > +CUTEKEYBOARD_SITE = $(call github,amarula,cutekeyboard,$(CUTEKEYBOARD_VERSION)) > +CUTEKEYBOARD_DEPENDENCIES = qt5declarative qt5quickcontrols2 > +CUTEKEYBOARD_INSTALL_STAGING = YES > +CUTEKEYBOARD_LICENSE = MIT > +CUTEKEYBOARD_LICENSE_FILES = LICENSE > + > +ifeq ($(BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES),y) > +CUTEKEYBOARD_CONF_OPTS += CONFIG+=BUILD_EXAMPLES This installs something called "example" in /usr/bin. Not the most distinctive name... I left it like that though. Regards, Arnout > +endif > + > +$(eval $(qmake-package)) From arnout at mind.be Sun Oct 15 18:53:31 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:53:31 +0200 Subject: [Buildroot] [PATCH] Properly note many dependencies for opencv modules In-Reply-To: <20221125123801.4233-1-wdouglass@carnegierobotics.com> References: <20221125123801.4233-1-wdouglass@carnegierobotics.com> Message-ID: <4fb78d21-73ee-d85f-8b53-12b4777c941b@mind.be> Hi Woodrow, The subject of the patch should always start with "package/opencv4-contrib: ..." Applied to master with that fixed, and one more fix... On 25/11/2022 13:38, Woodrow Douglass via buildroot wrote: > Also, add myself to the DEVELOPERS file > > Signed-off-by: Woodrow Douglass [snip] > config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE > bool "face" > + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECCT ^^^^^^^^^^ OBJDETECT This was detected by check-package (but perhaps at the time you sent this patch, that feature hadn't been added to check-package yet). Regards, Arnout > help > Face Recognition -- Face recognition techniques: Eigen, Fisher > and Local Binary Pattern Histograms LBPH methods. [snip] From arnout at mind.be Sun Oct 15 18:33:41 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:33:41 +0200 Subject: [Buildroot] [git commit] package/cutekeyboard: new package Message-ID: <20231015185349.474B085638@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0aaeae26f69be2e3e0586dbb6d7243e229239f25 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master CuteKeyboard is a Qt virtual keyboard plugin for embedded applications Signed-off-by: Angelo Compagnucci Acked-by: Andrea Ricchi [Arnout: - add DEVELOPERS entry; - fixed the title in the .mk file; - use select instead of depends on; - with the above, add depends on QT5 and QT5_JSCORE. ] Signed-off-by: Arnout Vandecappelle --- DEVELOPERS | 1 + package/Config.in | 1 + package/cutekeyboard/Config.in | 21 +++++++++++++++++++++ package/cutekeyboard/cutekeyboard.hash | 3 +++ package/cutekeyboard/cutekeyboard.mk | 18 ++++++++++++++++++ 5 files changed, 44 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..01e9777be6 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -183,6 +183,7 @@ F: package/apparmor/ F: package/corkscrew/ F: package/cups/ F: package/cups-filters/ +F: package/cutekeyboard/ F: package/fail2ban/ F: package/grep/ F: package/htpdate/ diff --git a/package/Config.in b/package/Config.in index 009f7ba186..4e489c4706 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1589,6 +1589,7 @@ menu "Graphics" source "package/cairomm/Config.in" source "package/cairomm1_14/Config.in" source "package/chipmunk/Config.in" + source "package/cutekeyboard/Config.in" source "package/exempi/Config.in" source "package/exiv2/Config.in" source "package/fltk/Config.in" diff --git a/package/cutekeyboard/Config.in b/package/cutekeyboard/Config.in new file mode 100644 index 0000000000..bd661b0cd4 --- /dev/null +++ b/package/cutekeyboard/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_CUTEKEYBOARD + bool "cutekeyboard" + depends on BR2_PACKAGE_QT5 + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative + select BR2_PACKAGE_QT5DECLARATIVE + select BR2_PACKAGE_QT5DECLARATIVE_QUICK + select BR2_PACKAGE_QT5QUICKCONTROLS2 + help + CuteKeyboard is a Qt virtual keyboard plugin for + embedded applications. + + https://amarula.github.io/cutekeyboard/ + +if BR2_PACKAGE_CUTEKEYBOARD + +config BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES + bool "cutekeyboard examples" + help + Compile also application example + +endif diff --git a/package/cutekeyboard/cutekeyboard.hash b/package/cutekeyboard/cutekeyboard.hash new file mode 100644 index 0000000000..3d3ec2f858 --- /dev/null +++ b/package/cutekeyboard/cutekeyboard.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 8cbaddc5fbf479d5e20fc88228e9af5928fa5e588052ee496c2f2efbe2afc510 cutekeyboard-afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7.tar.gz +sha256 bdde6ec2ae2686623c0bb414bfb8bd731b314beff2264c602116ea60dd65964d LICENSE diff --git a/package/cutekeyboard/cutekeyboard.mk b/package/cutekeyboard/cutekeyboard.mk new file mode 100644 index 0000000000..a7b3ba7a1d --- /dev/null +++ b/package/cutekeyboard/cutekeyboard.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# cutekeyboard +# +################################################################################ + +CUTEKEYBOARD_VERSION = afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7 +CUTEKEYBOARD_SITE = $(call github,amarula,cutekeyboard,$(CUTEKEYBOARD_VERSION)) +CUTEKEYBOARD_DEPENDENCIES = qt5declarative qt5quickcontrols2 +CUTEKEYBOARD_INSTALL_STAGING = YES +CUTEKEYBOARD_LICENSE = MIT +CUTEKEYBOARD_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES),y) +CUTEKEYBOARD_CONF_OPTS += CONFIG+=BUILD_EXAMPLES +endif + +$(eval $(qmake-package)) From arnout at mind.be Sun Oct 15 18:50:55 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:50:55 +0200 Subject: [Buildroot] [git commit] package/opencv4-contrib: properly note dependencies between modules Message-ID: <20231015185349.55B21852E0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a7736afacaefc9250f8e68825e42c8f7c229b410 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Also, add myself to the DEVELOPERS file Signed-off-by: Woodrow Douglass [Arnout: fix typo BR2_PACKAGE_OPENCV4_LIB_OBJDETECCT] Signed-off-by: Arnout Vandecappelle --- DEVELOPERS | 4 ++++ package/opencv4-contrib/Config.in | 20 ++++++++++++++++++++ package/opencv4/opencv4.mk | 9 ++++++--- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 01e9777be6..57015e245e 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -3101,6 +3101,10 @@ F: package/python-pyusb/ N: Wojciech Nizi??ski F: package/fwup/ +N: Woodrow Douglass +F: package/opencv4 +F: package/opencv4-contrib + N: Xuanhao Shi F: board/ti/am62x-sk/ F: board/ti/am64x-sk/ diff --git a/package/opencv4-contrib/Config.in b/package/opencv4-contrib/Config.in index 9800333035..851241ce5e 100644 --- a/package/opencv4-contrib/Config.in +++ b/package/opencv4-contrib/Config.in @@ -17,6 +17,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_ALPHAMAT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_ARUCO bool "aruco" + select BR2_PACKAGE_OPENCV4_LIB_CALIB3D help ArUco and ChArUco Markers -- Augmented reality ArUco marker and "ChARUco" markers where ArUco markers embedded inside the @@ -29,6 +30,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BARCODE config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BGSEGM bool "bgsegm" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO help Background segmentation algorithm combining statistical background image estimation and per-pixel Bayesian @@ -43,6 +45,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BIOINSPIRED config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_CCALIB bool "ccalib" + select BR2_PACKAGE_OPENCV4_LIB_HIGHGUI help Custom Calibration -- Patterns for 3D reconstruction, omnidirectional camera calibration, random pattern calibration @@ -71,6 +74,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DATASETS config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT bool "dnn_objdetect" + select BR2_PACKAGE_OPENCV4_LIB_DNN help Object Detection using CNNs -- Implements compact CNN Model for object detection. Trained using Caffe but uses @@ -78,6 +82,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES bool "dnn_superres" + select BR2_PACKAGE_OPENCV4_LIB_DNN help Superresolution using CNNs -- Contains four trained convolutional neural networks to upscale images. @@ -90,12 +95,14 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNNS_EASILY_FOOLED config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DPM bool "dpm" + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Deformable Part Model -- Felzenszwalb's Cascade with deformable parts object recognition code. config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE bool "face" + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Face Recognition -- Face recognition techniques: Eigen, Fisher and Local Binary Pattern Histograms LBPH methods. @@ -165,6 +172,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_MCC config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_OPTFLOW bool "optflow" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO help Optical Flow -- Algorithms for running and evaluating deepflow, simpleflow, sparsetodenseflow and motion @@ -219,6 +227,11 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SALIENCY config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SFM bool "sfm" + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_IMGCODECS + select BR2_PACKAGE_EIGEN + select BR2_PACKAGE_GLOG + select BR2_PACKAGE_GFLAGS help Structure from Motion -- This module contains algorithms to perform 3d reconstruction from 2d images. The core of @@ -231,6 +244,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SHAPE config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_STEREO bool "stereo" + select BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TRACKING help Stereo Correspondence -- Stereo matching done with different descriptors: Census / CS-Census / MCT / BRIEF / MV and dense @@ -244,6 +258,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_STRUCTURED_LIGHT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SUPERRES bool "superres" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO help Super Resolution @@ -262,12 +277,15 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TEXT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TRACKING bool "tracking" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO help Vision Based Object Tracking -- Use and/or evaluate different visual object tracking techniques. config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_VIDEOSTAB bool "videostab" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO + select BR2_PACKAGE_OPENCV4_LIB_PHOTO help Video Stabilization @@ -299,6 +317,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XIMGPROC config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XOBJDETECT bool "xobjdetect" + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Boosted 2D Object Detection -- Uses a Waldboost cascade and local binary patterns computed as integral features for 2D @@ -306,6 +325,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XOBJDETECT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO bool "xphoto" + select BR2_PACKAGE_OPENCV4_LIB_PHOTO help Extra Computational Photography -- Additional photo processing algorithms: Color balance / Denoising / Inpainting. diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk index a665793ad9..2a05de42fb 100644 --- a/package/opencv4/opencv4.mk +++ b/package/opencv4/opencv4.mk @@ -203,12 +203,10 @@ OPENCV4_CONF_OPTS += \ -DINSTALL_PYTHON_EXAMPLES=OFF \ -DINSTALL_TO_MANGLED_PATHS=OFF -# Disabled features (mostly because they are not available in Buildroot), but -# - eigen: OpenCV does not use it, not take any benefit from it. +# Disabled features (mostly because they are not available in Buildroot) OPENCV4_CONF_OPTS += \ -DWITH_1394=OFF \ -DWITH_CLP=OFF \ - -DWITH_EIGEN=OFF \ -DWITH_GDAL=OFF \ -DWITH_GPHOTO2=OFF \ -DWITH_GSTREAMER_0_10=OFF \ @@ -284,6 +282,11 @@ OPENCV4_CONF_OPTS += \ -DBUILD_opencv_xphoto=$(if $(BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO),ON,OFF) endif +ifeq ($(BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SFM),y) +OPENCV4_DEPENDENCIES += eigen glog gflags +OPENCV4_CONF_OPTS += -DWITH_EIGEN=ON +endif + ifeq ($(BR2_PACKAGE_OPENCV4_JPEG2000_WITH_JASPER),y) OPENCV4_CONF_OPTS += -DWITH_JASPER=ON OPENCV4_DEPENDENCIES += jasper From arnout at mind.be Sun Oct 15 19:07:56 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:07:56 +0200 Subject: [Buildroot] [PATCH] package/iptables: add option to use iptables with nf_tables backend In-Reply-To: <330af443072a1a0716c5890eb87216a6bfbe99e7.1669645942.git.stefan@agner.ch> References: <330af443072a1a0716c5890eb87216a6bfbe99e7.1669645942.git.stefan@agner.ch> Message-ID: On 28/11/2022 15:33, Stefan Agner wrote: > Add a configuration option to let the iptables and ip6tables symlinks > point to the nf_tables variant. > > Signed-off-by: Stefan Agner > --- > package/iptables/Config.in | 5 +++++ > package/iptables/iptables.mk | 9 +++++++++ > 2 files changed, 14 insertions(+) > > diff --git a/package/iptables/Config.in b/package/iptables/Config.in > index e6b12603e0..ec7fbb7eea 100644 > --- a/package/iptables/Config.in > +++ b/package/iptables/Config.in > @@ -24,6 +24,11 @@ config BR2_PACKAGE_IPTABLES_NFTABLES > help > Build nftables compat utilities. > > +config BR2_PACKAGE_IPTABLES_NFTABLES_DEFAULT > + bool "nftables compat as default" Shouldn't this depend on BR2_PACKAGE_IPTABLES_NFTABLES ? > + help > + Use nftables compat utilities by default for iptables/ip6tables. > + > comment "nftables compat needs a toolchain w/ wchar, dynamic library, headers >= 3.12" > depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \ > !BR2_USE_WCHAR || BR2_STATIC_LIBS > diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk > index a6143677d1..b53ae928af 100644 > --- a/package/iptables/iptables.mk > +++ b/package/iptables/iptables.mk > @@ -49,6 +49,15 @@ else > IPTABLES_CONF_OPTS += --disable-bpf-compiler --disable-nfsynproxy > endif > > +ifeq ($(BR2_PACKAGE_IPTABLES_NFTABLES_DEFAULT),y) > +define IPTABLES_INSTALL_SYMLINK > + ln -fs xtables-nft-multi $(TARGET_DIR)/usr/sbin/iptables > + ln -fs xtables-nft-multi $(TARGET_DIR)/usr/sbin/ip6tables This only changes the default for those two, not for a bunch of others e.g. iptables-save. To do this properly, I think it's better to send a patch upstream that adds a configure option and changes the Makefile.am to install those symlinks. Regards, Arnout > +endef > + > +IPTABLES_POST_INSTALL_TARGET_HOOKS += IPTABLES_INSTALL_SYMLINK > +endif > + > define IPTABLES_LINUX_CONFIG_FIXUPS > $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_IPTABLES) > $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER) From fontaine.fabrice at gmail.com Sun Oct 15 19:15:08 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 21:15:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/nushell: bump to version 0.85 Message-ID: <20231015191508.735072-1-fontaine.fabrice@gmail.com> - This bump will fix the following build failure with libressl raised since the addition of the package in commit f8047ff5987efc80f6ead51edae126911c02a8ad: This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5 through 3.5, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. - Update hash of license file (year updated with https://github.com/nushell/nushell/commit/a256f6d0d15c9fed69365be36b3484c4c8418d21) https://www.nushell.sh/blog Fixes: - http://autobuild.buildroot.org/results/8b7e277bb67c52a57e7b9f17c30f1780b9c5ea67 Signed-off-by: Fabrice Fontaine --- package/nushell/nushell.hash | 4 ++-- package/nushell/nushell.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/nushell/nushell.hash b/package/nushell/nushell.hash index b553a6c2bc..02fc8214b6 100644 --- a/package/nushell/nushell.hash +++ b/package/nushell/nushell.hash @@ -1,3 +1,3 @@ # Locally generated -sha256 352e807698d5f95e9bfdd9dd5512acab3cbef315379299a32e5f322a76eb718a nushell-0.76.0.tar.gz -sha256 e189616e535e9f7bf410a72e6fc51ad1e0ae461c58d592e186c2669daa5d1e5d LICENSE +sha256 94af22278f584b59c7c4b2390e2d15d9934d5207a756309259d1c4b92f5af7ef nushell-0.85.0.tar.gz +sha256 2dc1f03f729c21902d869b4d8f8dc528fc730f4c6ad83fc128672bda0ad69196 LICENSE diff --git a/package/nushell/nushell.mk b/package/nushell/nushell.mk index b9c1ee6434..779a3c4393 100644 --- a/package/nushell/nushell.mk +++ b/package/nushell/nushell.mk @@ -4,7 +4,7 @@ # ################################################################################ -NUSHELL_VERSION = 0.76.0 +NUSHELL_VERSION = 0.85.0 NUSHELL_SITE = $(call github,nushell,nushell,$(NUSHELL_VERSION)) NUSHELL_LICENSE = MIT NUSHELL_LICENSE_FILES = LICENSE -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 15 19:45:11 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 21:45:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/casync: fix build with gcc >= 13 Message-ID: <20231015194511.1158058-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 13: In file included from ../src/compressor.c:3: ../src/compressor.h:59:59: error: unknown type name 'size_t' 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); | ^~~~~~ ../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? 18 | #include "cacompression.h" +++ |+#include 19 | Fixes: - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f Signed-off-by: Fabrice Fontaine --- ...c-compressor.h-fix-build-with-gcc-13.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch diff --git a/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch new file mode 100644 index 0000000000..32af9142a7 --- /dev/null +++ b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch @@ -0,0 +1,40 @@ +From 8db993c32f97188bdd6de4b2aa177fc513ee7e9f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 15 Oct 2023 21:22:58 +0200 +Subject: [PATCH] src/compressor.h: fix build with gcc >= 13 + +Fix the following build failure with gcc >= 13: + +In file included from ../src/compressor.c:3: +../src/compressor.h:59:59: error: unknown type name 'size_t' + 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); + | ^~~~~~ +../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? + 18 | #include "cacompression.h" + +++ |+#include + 19 | + +Fixes: + - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/systemd/casync/pull/270 +--- + src/compressor.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/compressor.h b/src/compressor.h +index 2c9f93b..ae2eb30 100644 +--- a/src/compressor.h ++++ b/src/compressor.h +@@ -4,6 +4,7 @@ + #define foocompresshorhfoo + + #include ++#include + + #if HAVE_LIBLZMA + # include +-- +2.42.0 + -- 2.42.0 From giulio.benetti at benettiengineering.com Sun Oct 15 19:48:00 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 15 Oct 2023 21:48:00 +0200 Subject: [Buildroot] [PATCH v2] package/libnvme: bump to version 1.6 Message-ID: <20231015194800.1894656-1-giulio.benetti@benettiengineering.com> Add 2 local patches, one to avoid build failure due to different libc ioctl() prototype and one to avoid link conflict due to test unit enabled by default. Signed-off-by: Giulio Benetti --- V1->V2: * fix build failure due to ioctl() and test unit --- ...01-test-handle-POSIX-ioctl-prototype.patch | 70 +++++++++++++++++++ ...eson-make-building-tests-conditional.patch | 46 ++++++++++++ package/libnvme/libnvme.hash | 2 +- package/libnvme/libnvme.mk | 5 +- 4 files changed, 121 insertions(+), 2 deletions(-) create mode 100644 package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch create mode 100644 package/libnvme/0002-meson-make-building-tests-conditional.patch diff --git a/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch new file mode 100644 index 0000000000..175cdcd7dd --- /dev/null +++ b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch @@ -0,0 +1,70 @@ +From ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 30 Sep 2023 06:38:53 +0100 +Subject: [PATCH] test: handle POSIX ioctl prototype + +glibc has the following prototype for ioctl: int ioctl(int fd, unsigned long request, ...) +POSIX (inc. musl) has the following for ioctl: int ioctl(int fd, int request, ...) + +Check which prototype is used in to avoid a conflict and conditionally +define the right one for the system. + +Upstream: https://github.com/linux-nvme/libnvme/commit/ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 + +Bug: https://bugs.gentoo.org/914921 +Signed-off-by: Sam James +Signed-off-by: Giulio Benetti +--- + meson.build | 10 ++++++++++ + test/ioctl/mock.c | 6 +++++- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 6fcf1da..2c979cc 100644 +--- a/meson.build ++++ b/meson.build +@@ -230,6 +230,16 @@ conf.set( + ), + description: 'Is network address and service translation available' + ) ++conf.set( ++ 'HAVE_GLIBC_IOCTL', ++ cc.compiles( ++ '''#include ++ int ioctl(int fd, unsigned long request, ...); ++ ''', ++ name: 'ioctl has glibc-style prototype' ++ ), ++ description: 'Is ioctl the glibc interface (rather than POSIX)' ++) + + if cc.has_function_attribute('fallthrough') + conf.set('fallthrough', '__attribute__((__fallthrough__))') +diff --git a/test/ioctl/mock.c b/test/ioctl/mock.c +index e917244..5d2ac94 100644 +--- a/test/ioctl/mock.c ++++ b/test/ioctl/mock.c +@@ -114,7 +114,11 @@ void end_mock_cmds(void) + } \ + }) + ++#ifdef HAVE_GLIBC_IOCTL + int ioctl(int fd, unsigned long request, ...) ++#else ++int ioctl(int fd, int request, ...) ++#endif + { + struct mock_cmds *mock_cmds; + bool result64; +@@ -141,7 +145,7 @@ int ioctl(int fd, unsigned long request, ...) + result64 = true; + break; + default: +- fail("unexpected %s %lu", __func__, request); ++ fail("unexpected %s %lu", __func__, (unsigned long) request); + } + check(mock_cmds->remaining_cmds, + "unexpected %s command", mock_cmds->name); +-- +2.34.1 + diff --git a/package/libnvme/0002-meson-make-building-tests-conditional.patch b/package/libnvme/0002-meson-make-building-tests-conditional.patch new file mode 100644 index 0000000000..0b6d3681ca --- /dev/null +++ b/package/libnvme/0002-meson-make-building-tests-conditional.patch @@ -0,0 +1,46 @@ +From ff742e792725c316ba6de0800188bf36751bd1d1 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 30 Sep 2023 06:43:39 +0100 +Subject: [PATCH] meson: make building tests conditional + +Just like we do for docs. + +Upstream: https://github.com/linux-nvme/libnvme/commit/ff742e792725c316ba6de0800188bf36751bd1d1 + +Signed-off-by: Sam James +Signed-off-by: Giulio Benetti +--- + meson.build | 4 +++- + meson_options.txt | 1 + + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 2c979cc..a9263b5 100644 +--- a/meson.build ++++ b/meson.build +@@ -273,7 +273,9 @@ subdir('internal') + subdir('ccan') + subdir('src') + subdir('libnvme') +-subdir('test') ++if get_option('tests') ++ subdir('test') ++endif + subdir('examples') + subdir('doc') + +diff --git a/meson_options.txt b/meson_options.txt +index a1ed79f..251ae11 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -6,6 +6,7 @@ option('rstdir', type : 'string', value : '', description : 'directory for ReST + + option('docs', type : 'combo', choices : ['false', 'html', 'man', 'rst', 'all'], description : 'install documentation') + option('docs-build', type : 'boolean', value : false, description : 'build documentation') ++option('tests', type : 'boolean', value : true, description : 'build tests') + + option('python', type : 'feature', value: 'auto', description : 'Generate libnvme python bindings') + option('openssl', type : 'feature', value: 'auto', description : 'OpenSSL support') +-- +2.34.1 + diff --git a/package/libnvme/libnvme.hash b/package/libnvme/libnvme.hash index b869ae295a..b9e0281189 100644 --- a/package/libnvme/libnvme.hash +++ b/package/libnvme/libnvme.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 checksums -sha256 f73ba1edde059b2d5e7c1048ad4f895e6047bff241c94b34a7aff5894779d086 libnvme-1.5.tar.gz +sha256 0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7 libnvme-1.6.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 71885e198c..38394b9931 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -4,12 +4,15 @@ # ################################################################################ -LIBNVME_VERSION = 1.5 +LIBNVME_VERSION = 1.6 LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION)) LIBNVME_LICENSE = LGPL-2.1 LIBNVME_LICENSE_FILES = COPYING LIBNVME_INSTALL_STAGING = YES +LIBNVME_CONF_OPTS += \ + -Dtests=false + ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBNVME_DEPENDENCIES += python3 LIBNVME_CONF_OPTS += -Dpython=enabled -- 2.34.1 From arnout at mind.be Sun Oct 15 19:57:14 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:57:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/ksmbd-tools: security bump to version 3.4.9 In-Reply-To: <20231015123504.189034-1-fontaine.fabrice@gmail.com> References: <20231015123504.189034-1-fontaine.fabrice@gmail.com> Message-ID: <7d5a6ceb-8945-6635-c3b6-7897645b61f5@mind.be> On 15/10/2023 14:35, Fabrice Fontaine wrote: > Fix two security issues that reported by ZDI. > > https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.7 > https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.8 > https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.9 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/ksmbd-tools/ksmbd-tools.hash | 2 +- > package/ksmbd-tools/ksmbd-tools.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/ksmbd-tools/ksmbd-tools.hash b/package/ksmbd-tools/ksmbd-tools.hash > index b31c66bbe7..6f7064c6eb 100644 > --- a/package/ksmbd-tools/ksmbd-tools.hash > +++ b/package/ksmbd-tools/ksmbd-tools.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 09ab343e9bf10ddfdd3216f400b19740a391645bf3645fa6f136b8da36306559 ksmbd-tools-3.4.6.tar.gz > +sha256 418c7d87e8359355d150bdde6784612cd2ebd48ec87765852169e289d9de67e6 ksmbd-tools-3.4.9.tar.gz > sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING > diff --git a/package/ksmbd-tools/ksmbd-tools.mk b/package/ksmbd-tools/ksmbd-tools.mk > index c4f9c503e6..c758c17bf2 100644 > --- a/package/ksmbd-tools/ksmbd-tools.mk > +++ b/package/ksmbd-tools/ksmbd-tools.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KSMBD_TOOLS_VERSION = 3.4.6 > +KSMBD_TOOLS_VERSION = 3.4.9 > KSMBD_TOOLS_SITE = https://github.com/cifsd-team/ksmbd-tools/releases/download/$(KSMBD_TOOLS_VERSION) > KSMBD_TOOLS_LICENSE = GPL-2.0+ > KSMBD_TOOLS_LICENSE_FILES = COPYING From arnout at mind.be Sun Oct 15 19:56:35 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:56:35 +0200 Subject: [Buildroot] [git commit] package/ksmbd-tools: security bump to version 3.4.9 Message-ID: <20231015195737.351C4856C2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5eac719129f66185a83bba6adff8658b41420159 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix two security issues that reported by ZDI. https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.7 https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.8 https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.9 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- package/ksmbd-tools/ksmbd-tools.hash | 2 +- package/ksmbd-tools/ksmbd-tools.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ksmbd-tools/ksmbd-tools.hash b/package/ksmbd-tools/ksmbd-tools.hash index b31c66bbe7..6f7064c6eb 100644 --- a/package/ksmbd-tools/ksmbd-tools.hash +++ b/package/ksmbd-tools/ksmbd-tools.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 09ab343e9bf10ddfdd3216f400b19740a391645bf3645fa6f136b8da36306559 ksmbd-tools-3.4.6.tar.gz +sha256 418c7d87e8359355d150bdde6784612cd2ebd48ec87765852169e289d9de67e6 ksmbd-tools-3.4.9.tar.gz sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING diff --git a/package/ksmbd-tools/ksmbd-tools.mk b/package/ksmbd-tools/ksmbd-tools.mk index c4f9c503e6..c758c17bf2 100644 --- a/package/ksmbd-tools/ksmbd-tools.mk +++ b/package/ksmbd-tools/ksmbd-tools.mk @@ -4,7 +4,7 @@ # ################################################################################ -KSMBD_TOOLS_VERSION = 3.4.6 +KSMBD_TOOLS_VERSION = 3.4.9 KSMBD_TOOLS_SITE = https://github.com/cifsd-team/ksmbd-tools/releases/download/$(KSMBD_TOOLS_VERSION) KSMBD_TOOLS_LICENSE = GPL-2.0+ KSMBD_TOOLS_LICENSE_FILES = COPYING From arnout at mind.be Sun Oct 15 19:58:49 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:58:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/nushell: bump to version 0.85 In-Reply-To: <20231015191508.735072-1-fontaine.fabrice@gmail.com> References: <20231015191508.735072-1-fontaine.fabrice@gmail.com> Message-ID: On 15/10/2023 21:15, Fabrice Fontaine wrote: > - This bump will fix the following build failure with libressl raised > since the addition of the package in commit > f8047ff5987efc80f6ead51edae126911c02a8ad: > > This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5 > through 3.5, but a different version of OpenSSL was found. The build is now aborting > due to this version mismatch. > > - Update hash of license file (year updated with > https://github.com/nushell/nushell/commit/a256f6d0d15c9fed69365be36b3484c4c8418d21) > > https://www.nushell.sh/blog > > Fixes: > - http://autobuild.buildroot.org/results/8b7e277bb67c52a57e7b9f17c30f1780b9c5ea67 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/nushell/nushell.hash | 4 ++-- > package/nushell/nushell.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/nushell/nushell.hash b/package/nushell/nushell.hash > index b553a6c2bc..02fc8214b6 100644 > --- a/package/nushell/nushell.hash > +++ b/package/nushell/nushell.hash > @@ -1,3 +1,3 @@ > # Locally generated > -sha256 352e807698d5f95e9bfdd9dd5512acab3cbef315379299a32e5f322a76eb718a nushell-0.76.0.tar.gz > -sha256 e189616e535e9f7bf410a72e6fc51ad1e0ae461c58d592e186c2669daa5d1e5d LICENSE > +sha256 94af22278f584b59c7c4b2390e2d15d9934d5207a756309259d1c4b92f5af7ef nushell-0.85.0.tar.gz > +sha256 2dc1f03f729c21902d869b4d8f8dc528fc730f4c6ad83fc128672bda0ad69196 LICENSE > diff --git a/package/nushell/nushell.mk b/package/nushell/nushell.mk > index b9c1ee6434..779a3c4393 100644 > --- a/package/nushell/nushell.mk > +++ b/package/nushell/nushell.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -NUSHELL_VERSION = 0.76.0 > +NUSHELL_VERSION = 0.85.0 > NUSHELL_SITE = $(call github,nushell,nushell,$(NUSHELL_VERSION)) > NUSHELL_LICENSE = MIT > NUSHELL_LICENSE_FILES = LICENSE From arnout at mind.be Sun Oct 15 19:57:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:57:29 +0200 Subject: [Buildroot] [git commit] package/nushell: bump to version 0.85 Message-ID: <20231015195913.AF99B856EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=470f0fb1ec0bd2ba03340f2aea34891ca8d7739d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - This bump will fix the following build failure with libressl raised since the addition of the package in commit f8047ff5987efc80f6ead51edae126911c02a8ad: This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5 through 3.5, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. - Update hash of license file (year updated with https://github.com/nushell/nushell/commit/a256f6d0d15c9fed69365be36b3484c4c8418d21) https://www.nushell.sh/blog Fixes: - http://autobuild.buildroot.org/results/8b7e277bb67c52a57e7b9f17c30f1780b9c5ea67 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- package/nushell/nushell.hash | 4 ++-- package/nushell/nushell.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/nushell/nushell.hash b/package/nushell/nushell.hash index b553a6c2bc..02fc8214b6 100644 --- a/package/nushell/nushell.hash +++ b/package/nushell/nushell.hash @@ -1,3 +1,3 @@ # Locally generated -sha256 352e807698d5f95e9bfdd9dd5512acab3cbef315379299a32e5f322a76eb718a nushell-0.76.0.tar.gz -sha256 e189616e535e9f7bf410a72e6fc51ad1e0ae461c58d592e186c2669daa5d1e5d LICENSE +sha256 94af22278f584b59c7c4b2390e2d15d9934d5207a756309259d1c4b92f5af7ef nushell-0.85.0.tar.gz +sha256 2dc1f03f729c21902d869b4d8f8dc528fc730f4c6ad83fc128672bda0ad69196 LICENSE diff --git a/package/nushell/nushell.mk b/package/nushell/nushell.mk index b9c1ee6434..779a3c4393 100644 --- a/package/nushell/nushell.mk +++ b/package/nushell/nushell.mk @@ -4,7 +4,7 @@ # ################################################################################ -NUSHELL_VERSION = 0.76.0 +NUSHELL_VERSION = 0.85.0 NUSHELL_SITE = $(call github,nushell,nushell,$(NUSHELL_VERSION)) NUSHELL_LICENSE = MIT NUSHELL_LICENSE_FILES = LICENSE From arnout at mind.be Sun Oct 15 19:59:01 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:59:01 +0200 Subject: [Buildroot] [git commit] package/casync: fix build with gcc >= 13 Message-ID: <20231015195913.BB2BB856F1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=39e092a06ed79a98e3842f9d897c089a132eaa58 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc >= 13: In file included from ../src/compressor.c:3: ../src/compressor.h:59:59: error: unknown type name 'size_t' 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); | ^~~~~~ ../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? 18 | #include "cacompression.h" +++ |+#include 19 | Fixes: - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- ...01-src-compressor.h-fix-build-with-gcc-13.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch new file mode 100644 index 0000000000..32af9142a7 --- /dev/null +++ b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch @@ -0,0 +1,40 @@ +From 8db993c32f97188bdd6de4b2aa177fc513ee7e9f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 15 Oct 2023 21:22:58 +0200 +Subject: [PATCH] src/compressor.h: fix build with gcc >= 13 + +Fix the following build failure with gcc >= 13: + +In file included from ../src/compressor.c:3: +../src/compressor.h:59:59: error: unknown type name 'size_t' + 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); + | ^~~~~~ +../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? + 18 | #include "cacompression.h" + +++ |+#include + 19 | + +Fixes: + - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/systemd/casync/pull/270 +--- + src/compressor.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/compressor.h b/src/compressor.h +index 2c9f93b..ae2eb30 100644 +--- a/src/compressor.h ++++ b/src/compressor.h +@@ -4,6 +4,7 @@ + #define foocompresshorhfoo + + #include ++#include + + #if HAVE_LIBLZMA + # include +-- +2.42.0 + From fontaine.fabrice at gmail.com Sun Oct 15 19:59:38 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 21:59:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/motion: fix build with gettext-gnu >= 0.22 Message-ID: <20231015195938.1270893-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump of gettext-gnu to version 0.22 in commit f6a6e3a8363a32e5443c9eadc2ee047853640d1a: fi.po:3435: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 1, the character 'l' is not a valid conversion specifier. Fixes: - http://autobuild.buildroot.org/results/e426a245075f5a8615a3129187126804bf48a34b Signed-off-by: Fabrice Fontaine --- package/motion/0001-Gettext-0-22.patch | 164 +++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 package/motion/0001-Gettext-0-22.patch diff --git a/package/motion/0001-Gettext-0-22.patch b/package/motion/0001-Gettext-0-22.patch new file mode 100644 index 0000000000..aeacd0e2ec --- /dev/null +++ b/package/motion/0001-Gettext-0-22.patch @@ -0,0 +1,164 @@ +From 2d8d68cfcc1cf4fc8861671e185fdf235dcf9740 Mon Sep 17 00:00:00 2001 +From: David Seifert <16636962+SoapGentoo at users.noreply.github.com> +Date: Fri, 30 Jun 2023 05:37:50 +0200 +Subject: [PATCH] Gettext 0.22 (#1681) + +* po: fix gettext 0.22 format specifier + +Bug: https://bugs.gentoo.org/908965 +Bug: https://savannah.gnu.org/bugs/index.php?64334#comment1 + +* Autotools: fix `make distcheck` + +* use correct `dist_` specifiers for including files in tarball +* do not override `docdir`, since this is a user variable +* include headers in tarball + +Upstream: https://github.com/Motion-Project/motion/commit/2d8d68cfcc1cf4fc8861671e185fdf235dcf9740 +Signed-off-by: Fabrice Fontaine +--- + Makefile.am | 11 +++++------ + configure.ac | 1 - + man/Makefile.am | 1 - + po/de.po | 2 +- + po/fi.po | 2 +- + src/Makefile.am | 52 ++++++++++++++++++++++++++++++++++++------------- + 6 files changed, 46 insertions(+), 23 deletions(-) + delete mode 100644 man/Makefile.am + +diff --git a/Makefile.am b/Makefile.am +index 3d2f968e2..5ae03cd2c 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,19 +1,18 @@ + ACLOCAL_AMFLAGS = -I m4 + +-SUBDIRS = src po man ++SUBDIRS = src po + +-sysconfdir = @sysconfdir@/$(PACKAGE) +-sysconf_DATA = \ ++pkgsysconfdir = $(sysconfdir)/@PACKAGE@ ++dist_pkgsysconf_DATA = \ + data/motion-dist.conf \ + data/camera1-dist.conf \ + data/camera2-dist.conf \ + data/camera3-dist.conf \ + data/camera4-dist.conf + +-man_MANS = man/motion.1 ++dist_man_MANS = man/motion.1 + +-docdir = $(datadir)/doc/@PACKAGE@ +-doc_DATA = \ ++dist_doc_DATA = \ + doc/mask1.png \ + doc/normal.jpg \ + doc/outputmotion1.jpg \ +diff --git a/configure.ac b/configure.ac +index dfcf5eae2..ce588f65b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -496,7 +496,6 @@ AC_CONFIG_FILES([ + Makefile + src/Makefile + po/Makefile.in +- man/Makefile + data/camera1-dist.conf + data/camera2-dist.conf + data/camera3-dist.conf +diff --git a/man/Makefile.am b/man/Makefile.am +deleted file mode 100644 +index 14aa069f0..000000000 +--- a/man/Makefile.am ++++ /dev/null +@@ -1 +0,0 @@ +-man_MANS = motion.1 +\ No newline at end of file +diff --git a/po/de.po b/po/de.po +index 9142c9195..ccd5f09d7 100644 +--- a/po/de.po ++++ b/po/de.po +@@ -3458,7 +3458,7 @@ msgstr "Sprache: Deutsch" + #: src/util.c + #, c-format + msgid "Could not allocate %llu bytes of memory!" +-msgstr "%Llu Bytes Speicher konnten nicht zugeordnet werden!" ++msgstr "%llu Bytes Speicher konnten nicht zugeordnet werden!" + + #: src/util.c + #, c-format +diff --git a/po/fi.po b/po/fi.po +index 1afbdb68b..d3117a922 100644 +--- a/po/fi.po ++++ b/po/fi.po +@@ -3432,7 +3432,7 @@ msgstr "Kieli: englanti" + #: src/util.c + #, c-format + msgid "Could not allocate %llu bytes of memory!" +-msgstr "%Llu-tavua muistia ei voitu varata!" ++msgstr "%llu-tavua muistia ei voitu varata!" + + #: src/util.c + #, c-format +diff --git a/src/Makefile.am b/src/Makefile.am +index f93decf55..6f9d02e6b 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,17 +1,43 @@ +-AM_CPPFLAGS= -Dsysconfdir=\"$(sysconfdir)/motion\" -DLOCALEDIR=\"$(DESTDIR)$(localedir)\" +- +-if INC_MMAL_SRC +-MMAL_SRC=raspicam/RaspiCamControl.c raspicam/RaspiCLI.c +-endif +- +-LIBS = @LIBINTL@ @LIBS@ ++AM_CPPFLAGS= -Dsysconfdir=\"$(sysconfdir)/motion\" -DLOCALEDIR=\"$(localedir)\" ++LDADD = $(LIBINTL) + + bin_PROGRAMS = motion + +-motion_SOURCES = motion.c logger.c conf.c draw.c jpegutils.c video_loopback.c \ +- video_v4l2.c video_common.c video_bktr.c netcam.c netcam_http.c netcam_ftp.c \ +- netcam_jpeg.c netcam_wget.c netcam_rtsp.c track.c alg.c event.c picture.c \ +- rotate.c translate.c ffmpeg.c util.c dbse.c webu_status.c \ +- webu.c webu_html.c webu_stream.c webu_text.c mmalcam.c $(MMAL_SRC) +- ++motion_SOURCES = \ ++ alg.h alg.c \ ++ conf.h conf.c \ ++ dbse.h dbse.c \ ++ draw.h draw.c \ ++ event.h event.c \ ++ ffmpeg.h ffmpeg.c \ ++ jpegutils.h jpegutils.c \ ++ logger.h logger.c \ ++ mmalcam.h mmalcam.c \ ++ motion.h motion.c \ ++ netcam.h netcam.c \ ++ netcam_ftp.h netcam_ftp.c \ ++ netcam_http.h netcam_http.c \ ++ netcam_jpeg.h netcam_jpeg.c \ ++ netcam_rtsp.h netcam_rtsp.c \ ++ netcam_wget.h netcam_wget.c \ ++ picture.h picture.c \ ++ rotate.h rotate.c \ ++ track.h track.c \ ++ translate.h translate.c \ ++ util.h util.c \ ++ video_bktr.h video_bktr.c \ ++ video_common.h video_common.c \ ++ video_loopback.h video_loopback.c \ ++ video_v4l2.h video_v4l2.c \ ++ webu.h webu.c \ ++ webu_html.h webu_html.c \ ++ webu_status.h webu_status.c \ ++ webu_stream.h webu_stream.c \ ++ webu_text.h webu_text.c \ ++ mmx.h pwc-ioctl.h + ++if INC_MMAL_SRC ++motion_SOURCES += \ ++ raspicam/RaspiCamControl.h raspicam/RaspiCamControl.c \ ++ raspicam/RaspiCLI.h raspicam/RaspiCLI.c ++endif -- 2.42.0 From arnout at mind.be Sun Oct 15 20:00:14 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:00:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/casync: fix build with gcc >= 13 In-Reply-To: <20231015194511.1158058-1-fontaine.fabrice@gmail.com> References: <20231015194511.1158058-1-fontaine.fabrice@gmail.com> Message-ID: <8aaf5c1e-e7c0-bc4f-2e8a-18c155c39a4b@mind.be> On 15/10/2023 21:45, Fabrice Fontaine wrote: > Fix the following build failure with gcc >= 13: > > In file included from ../src/compressor.c:3: > ../src/compressor.h:59:59: error: unknown type name 'size_t' > 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); > | ^~~~~~ > ../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? > 18 | #include "cacompression.h" > +++ |+#include > 19 | > > Fixes: > - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...c-compressor.h-fix-build-with-gcc-13.patch | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch > > diff --git a/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch > new file mode 100644 > index 0000000000..32af9142a7 > --- /dev/null > +++ b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch > @@ -0,0 +1,40 @@ > +From 8db993c32f97188bdd6de4b2aa177fc513ee7e9f Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 15 Oct 2023 21:22:58 +0200 > +Subject: [PATCH] src/compressor.h: fix build with gcc >= 13 > + > +Fix the following build failure with gcc >= 13: > + > +In file included from ../src/compressor.c:3: > +../src/compressor.h:59:59: error: unknown type name 'size_t' > + 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); > + | ^~~~~~ > +../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? > + 18 | #include "cacompression.h" > + +++ |+#include > + 19 | > + > +Fixes: > + - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f > + > +Signed-off-by: Fabrice Fontaine > +Upstream: https://github.com/systemd/casync/pull/270 > +--- > + src/compressor.h | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/src/compressor.h b/src/compressor.h > +index 2c9f93b..ae2eb30 100644 > +--- a/src/compressor.h > ++++ b/src/compressor.h > +@@ -4,6 +4,7 @@ > + #define foocompresshorhfoo > + > + #include > ++#include > + > + #if HAVE_LIBLZMA > + # include > +-- > +2.42.0 > + From arnout at mind.be Sun Oct 15 20:02:33 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:02:33 +0200 Subject: [Buildroot] [PATCH v2] package/libnvme: bump to version 1.6 In-Reply-To: <20231015194800.1894656-1-giulio.benetti@benettiengineering.com> References: <20231015194800.1894656-1-giulio.benetti@benettiengineering.com> Message-ID: <8d6b9863-e522-7b0a-c831-976ba9be5ec2@mind.be> On 15/10/2023 21:48, Giulio Benetti wrote: > Add 2 local patches, one to avoid build failure due to different libc > ioctl() prototype and one to avoid link conflict due to test unit enabled > by default. > > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Arnout > --- > V1->V2: > * fix build failure due to ioctl() and test unit > --- > ...01-test-handle-POSIX-ioctl-prototype.patch | 70 +++++++++++++++++++ > ...eson-make-building-tests-conditional.patch | 46 ++++++++++++ > package/libnvme/libnvme.hash | 2 +- > package/libnvme/libnvme.mk | 5 +- > 4 files changed, 121 insertions(+), 2 deletions(-) > create mode 100644 package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch > create mode 100644 package/libnvme/0002-meson-make-building-tests-conditional.patch > > diff --git a/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch > new file mode 100644 > index 0000000000..175cdcd7dd > --- /dev/null > +++ b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch > @@ -0,0 +1,70 @@ > +From ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 Mon Sep 17 00:00:00 2001 > +From: Sam James > +Date: Sat, 30 Sep 2023 06:38:53 +0100 > +Subject: [PATCH] test: handle POSIX ioctl prototype > + > +glibc has the following prototype for ioctl: int ioctl(int fd, unsigned long request, ...) > +POSIX (inc. musl) has the following for ioctl: int ioctl(int fd, int request, ...) > + > +Check which prototype is used in to avoid a conflict and conditionally > +define the right one for the system. > + > +Upstream: https://github.com/linux-nvme/libnvme/commit/ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 > + > +Bug: https://bugs.gentoo.org/914921 > +Signed-off-by: Sam James > +Signed-off-by: Giulio Benetti > +--- > + meson.build | 10 ++++++++++ > + test/ioctl/mock.c | 6 +++++- > + 2 files changed, 15 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 6fcf1da..2c979cc 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -230,6 +230,16 @@ conf.set( > + ), > + description: 'Is network address and service translation available' > + ) > ++conf.set( > ++ 'HAVE_GLIBC_IOCTL', > ++ cc.compiles( > ++ '''#include > ++ int ioctl(int fd, unsigned long request, ...); > ++ ''', > ++ name: 'ioctl has glibc-style prototype' > ++ ), > ++ description: 'Is ioctl the glibc interface (rather than POSIX)' > ++) > + > + if cc.has_function_attribute('fallthrough') > + conf.set('fallthrough', '__attribute__((__fallthrough__))') > +diff --git a/test/ioctl/mock.c b/test/ioctl/mock.c > +index e917244..5d2ac94 100644 > +--- a/test/ioctl/mock.c > ++++ b/test/ioctl/mock.c > +@@ -114,7 +114,11 @@ void end_mock_cmds(void) > + } \ > + }) > + > ++#ifdef HAVE_GLIBC_IOCTL > + int ioctl(int fd, unsigned long request, ...) > ++#else > ++int ioctl(int fd, int request, ...) > ++#endif > + { > + struct mock_cmds *mock_cmds; > + bool result64; > +@@ -141,7 +145,7 @@ int ioctl(int fd, unsigned long request, ...) > + result64 = true; > + break; > + default: > +- fail("unexpected %s %lu", __func__, request); > ++ fail("unexpected %s %lu", __func__, (unsigned long) request); > + } > + check(mock_cmds->remaining_cmds, > + "unexpected %s command", mock_cmds->name); > +-- > +2.34.1 > + > diff --git a/package/libnvme/0002-meson-make-building-tests-conditional.patch b/package/libnvme/0002-meson-make-building-tests-conditional.patch > new file mode 100644 > index 0000000000..0b6d3681ca > --- /dev/null > +++ b/package/libnvme/0002-meson-make-building-tests-conditional.patch > @@ -0,0 +1,46 @@ > +From ff742e792725c316ba6de0800188bf36751bd1d1 Mon Sep 17 00:00:00 2001 > +From: Sam James > +Date: Sat, 30 Sep 2023 06:43:39 +0100 > +Subject: [PATCH] meson: make building tests conditional > + > +Just like we do for docs. > + > +Upstream: https://github.com/linux-nvme/libnvme/commit/ff742e792725c316ba6de0800188bf36751bd1d1 > + > +Signed-off-by: Sam James > +Signed-off-by: Giulio Benetti > +--- > + meson.build | 4 +++- > + meson_options.txt | 1 + > + 2 files changed, 4 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 2c979cc..a9263b5 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -273,7 +273,9 @@ subdir('internal') > + subdir('ccan') > + subdir('src') > + subdir('libnvme') > +-subdir('test') > ++if get_option('tests') > ++ subdir('test') > ++endif > + subdir('examples') > + subdir('doc') > + > +diff --git a/meson_options.txt b/meson_options.txt > +index a1ed79f..251ae11 100644 > +--- a/meson_options.txt > ++++ b/meson_options.txt > +@@ -6,6 +6,7 @@ option('rstdir', type : 'string', value : '', description : 'directory for ReST > + > + option('docs', type : 'combo', choices : ['false', 'html', 'man', 'rst', 'all'], description : 'install documentation') > + option('docs-build', type : 'boolean', value : false, description : 'build documentation') > ++option('tests', type : 'boolean', value : true, description : 'build tests') > + > + option('python', type : 'feature', value: 'auto', description : 'Generate libnvme python bindings') > + option('openssl', type : 'feature', value: 'auto', description : 'OpenSSL support') > +-- > +2.34.1 > + > diff --git a/package/libnvme/libnvme.hash b/package/libnvme/libnvme.hash > index b869ae295a..b9e0281189 100644 > --- a/package/libnvme/libnvme.hash > +++ b/package/libnvme/libnvme.hash > @@ -1,3 +1,3 @@ > # Locally calculated sha256 checksums > -sha256 f73ba1edde059b2d5e7c1048ad4f895e6047bff241c94b34a7aff5894779d086 libnvme-1.5.tar.gz > +sha256 0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7 libnvme-1.6.tar.gz > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING > diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk > index 71885e198c..38394b9931 100644 > --- a/package/libnvme/libnvme.mk > +++ b/package/libnvme/libnvme.mk > @@ -4,12 +4,15 @@ > # > ################################################################################ > > -LIBNVME_VERSION = 1.5 > +LIBNVME_VERSION = 1.6 > LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION)) > LIBNVME_LICENSE = LGPL-2.1 > LIBNVME_LICENSE_FILES = COPYING > LIBNVME_INSTALL_STAGING = YES > > +LIBNVME_CONF_OPTS += \ > + -Dtests=false > + > ifeq ($(BR2_PACKAGE_PYTHON3),y) > LIBNVME_DEPENDENCIES += python3 > LIBNVME_CONF_OPTS += -Dpython=enabled From arnout at mind.be Sun Oct 15 20:01:05 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:01:05 +0200 Subject: [Buildroot] [git commit] package/libnvme: bump to version 1.6 Message-ID: <20231015200243.1AC2A85758@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=087e2cef0e96609032e80c44d54fa7c4021277d8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add 2 upstream patches, one to avoid build failure due to different libc ioctl() prototype and one to avoid link conflict due to test unit enabled by default. Signed-off-by: Giulio Benetti Signed-off-by: Arnout Vandecappelle --- .../0001-test-handle-POSIX-ioctl-prototype.patch | 70 ++++++++++++++++++++++ ...002-meson-make-building-tests-conditional.patch | 46 ++++++++++++++ package/libnvme/libnvme.hash | 2 +- package/libnvme/libnvme.mk | 5 +- 4 files changed, 121 insertions(+), 2 deletions(-) diff --git a/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch new file mode 100644 index 0000000000..175cdcd7dd --- /dev/null +++ b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch @@ -0,0 +1,70 @@ +From ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 30 Sep 2023 06:38:53 +0100 +Subject: [PATCH] test: handle POSIX ioctl prototype + +glibc has the following prototype for ioctl: int ioctl(int fd, unsigned long request, ...) +POSIX (inc. musl) has the following for ioctl: int ioctl(int fd, int request, ...) + +Check which prototype is used in to avoid a conflict and conditionally +define the right one for the system. + +Upstream: https://github.com/linux-nvme/libnvme/commit/ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 + +Bug: https://bugs.gentoo.org/914921 +Signed-off-by: Sam James +Signed-off-by: Giulio Benetti +--- + meson.build | 10 ++++++++++ + test/ioctl/mock.c | 6 +++++- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 6fcf1da..2c979cc 100644 +--- a/meson.build ++++ b/meson.build +@@ -230,6 +230,16 @@ conf.set( + ), + description: 'Is network address and service translation available' + ) ++conf.set( ++ 'HAVE_GLIBC_IOCTL', ++ cc.compiles( ++ '''#include ++ int ioctl(int fd, unsigned long request, ...); ++ ''', ++ name: 'ioctl has glibc-style prototype' ++ ), ++ description: 'Is ioctl the glibc interface (rather than POSIX)' ++) + + if cc.has_function_attribute('fallthrough') + conf.set('fallthrough', '__attribute__((__fallthrough__))') +diff --git a/test/ioctl/mock.c b/test/ioctl/mock.c +index e917244..5d2ac94 100644 +--- a/test/ioctl/mock.c ++++ b/test/ioctl/mock.c +@@ -114,7 +114,11 @@ void end_mock_cmds(void) + } \ + }) + ++#ifdef HAVE_GLIBC_IOCTL + int ioctl(int fd, unsigned long request, ...) ++#else ++int ioctl(int fd, int request, ...) ++#endif + { + struct mock_cmds *mock_cmds; + bool result64; +@@ -141,7 +145,7 @@ int ioctl(int fd, unsigned long request, ...) + result64 = true; + break; + default: +- fail("unexpected %s %lu", __func__, request); ++ fail("unexpected %s %lu", __func__, (unsigned long) request); + } + check(mock_cmds->remaining_cmds, + "unexpected %s command", mock_cmds->name); +-- +2.34.1 + diff --git a/package/libnvme/0002-meson-make-building-tests-conditional.patch b/package/libnvme/0002-meson-make-building-tests-conditional.patch new file mode 100644 index 0000000000..0b6d3681ca --- /dev/null +++ b/package/libnvme/0002-meson-make-building-tests-conditional.patch @@ -0,0 +1,46 @@ +From ff742e792725c316ba6de0800188bf36751bd1d1 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 30 Sep 2023 06:43:39 +0100 +Subject: [PATCH] meson: make building tests conditional + +Just like we do for docs. + +Upstream: https://github.com/linux-nvme/libnvme/commit/ff742e792725c316ba6de0800188bf36751bd1d1 + +Signed-off-by: Sam James +Signed-off-by: Giulio Benetti +--- + meson.build | 4 +++- + meson_options.txt | 1 + + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 2c979cc..a9263b5 100644 +--- a/meson.build ++++ b/meson.build +@@ -273,7 +273,9 @@ subdir('internal') + subdir('ccan') + subdir('src') + subdir('libnvme') +-subdir('test') ++if get_option('tests') ++ subdir('test') ++endif + subdir('examples') + subdir('doc') + +diff --git a/meson_options.txt b/meson_options.txt +index a1ed79f..251ae11 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -6,6 +6,7 @@ option('rstdir', type : 'string', value : '', description : 'directory for ReST + + option('docs', type : 'combo', choices : ['false', 'html', 'man', 'rst', 'all'], description : 'install documentation') + option('docs-build', type : 'boolean', value : false, description : 'build documentation') ++option('tests', type : 'boolean', value : true, description : 'build tests') + + option('python', type : 'feature', value: 'auto', description : 'Generate libnvme python bindings') + option('openssl', type : 'feature', value: 'auto', description : 'OpenSSL support') +-- +2.34.1 + diff --git a/package/libnvme/libnvme.hash b/package/libnvme/libnvme.hash index b869ae295a..b9e0281189 100644 --- a/package/libnvme/libnvme.hash +++ b/package/libnvme/libnvme.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 checksums -sha256 f73ba1edde059b2d5e7c1048ad4f895e6047bff241c94b34a7aff5894779d086 libnvme-1.5.tar.gz +sha256 0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7 libnvme-1.6.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 71885e198c..38394b9931 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -4,12 +4,15 @@ # ################################################################################ -LIBNVME_VERSION = 1.5 +LIBNVME_VERSION = 1.6 LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION)) LIBNVME_LICENSE = LGPL-2.1 LIBNVME_LICENSE_FILES = COPYING LIBNVME_INSTALL_STAGING = YES +LIBNVME_CONF_OPTS += \ + -Dtests=false + ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBNVME_DEPENDENCIES += python3 LIBNVME_CONF_OPTS += -Dpython=enabled From arnout at mind.be Sun Oct 15 20:04:01 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:04:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/waf: bump to v2.0.26 In-Reply-To: <20231015114615.235625-1-titouanchristophe@gmail.com> References: <20231015114615.235625-1-titouanchristophe@gmail.com> Message-ID: On 15/10/2023 13:46, Titouan Christophe wrote: > Signed-off-by: Titouan Christophe Applied to master, thanks. Regards, Arnout > --- > package/waf/waf.hash | 6 +++--- > package/waf/waf.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/waf/waf.hash b/package/waf/waf.hash > index c8d464ebfb..1ad535febb 100644 > --- a/package/waf/waf.hash > +++ b/package/waf/waf.hash > @@ -1,7 +1,7 @@ > # Locally computed > -sha1 9cc6db88ecda57067024f368722ecbf48a3bba1a waf-2.0.24 > -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf-2.0.24 > +sha1 e310e29a44f23f80591f2aa6c2d4c30e5f1a26a8 waf-2.0.26 > +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf-2.0.26 > > # The waf script also contains its license, but is renamed `waf` in the extract > # step, so this is a synonym for the above, to check WAF_LICENSE > -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf > +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf > diff --git a/package/waf/waf.mk b/package/waf/waf.mk > index d98ab489ca..bffa27a926 100644 > --- a/package/waf/waf.mk > +++ b/package/waf/waf.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WAF_VERSION = 2.0.24 > +WAF_VERSION = 2.0.26 > WAF_SOURCE = waf-$(WAF_VERSION) > WAF_SITE = https://waf.io > WAF_LICENSE = BSD-3-Clause From arnout at mind.be Sun Oct 15 20:02:42 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:02:42 +0200 Subject: [Buildroot] [git commit] package/waf: bump to v2.0.26 Message-ID: <20231015200412.DF4E785782@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cebff375c230386adef9ccbba5074042d0d0da7d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Titouan Christophe Signed-off-by: Arnout Vandecappelle --- package/waf/waf.hash | 6 +++--- package/waf/waf.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/waf/waf.hash b/package/waf/waf.hash index c8d464ebfb..1ad535febb 100644 --- a/package/waf/waf.hash +++ b/package/waf/waf.hash @@ -1,7 +1,7 @@ # Locally computed -sha1 9cc6db88ecda57067024f368722ecbf48a3bba1a waf-2.0.24 -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf-2.0.24 +sha1 e310e29a44f23f80591f2aa6c2d4c30e5f1a26a8 waf-2.0.26 +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf-2.0.26 # The waf script also contains its license, but is renamed `waf` in the extract # step, so this is a synonym for the above, to check WAF_LICENSE -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf diff --git a/package/waf/waf.mk b/package/waf/waf.mk index d98ab489ca..bffa27a926 100644 --- a/package/waf/waf.mk +++ b/package/waf/waf.mk @@ -4,7 +4,7 @@ # ################################################################################ -WAF_VERSION = 2.0.24 +WAF_VERSION = 2.0.26 WAF_SOURCE = waf-$(WAF_VERSION) WAF_SITE = https://waf.io WAF_LICENSE = BSD-3-Clause From arnout at mind.be Sun Oct 15 20:05:20 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:05:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.19.1 In-Reply-To: <20231015093532.1139778-1-bernd@kuhls.net> References: <20231015093532.1139778-1-bernd@kuhls.net> Message-ID: <4a66d4aa-0a83-818a-d0fa-462ef39cd83f@mind.be> On 15/10/2023 11:35, Bernd Kuhls wrote: > Removed patch 0004, not needed anymore due to upstream commit > https://github.com/samba-team/samba/commit/a25f549e9a03010996300b04271a7909b6fbf756#diff-6e2c3d973b3ce82db7b4f67111e36116517b040ed64c28f40114d2e0d535706a > > Release notes: > https://www.samba.org/samba/history/samba-4.19.0.html > https://www.samba.org/samba/history/samba-4.19.1.html > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > ...-Use-perl-module-JSON-part-of-core-i.patch | 41 ------------------- > package/samba4/samba4.hash | 4 +- > package/samba4/samba4.mk | 2 +- > 3 files changed, 3 insertions(+), 44 deletions(-) > delete mode 100644 package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch > > diff --git a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch b/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch > deleted file mode 100644 > index aa55c09891..0000000000 > --- a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch > +++ /dev/null > @@ -1,41 +0,0 @@ > -From bd8fc19c8383914b518a9d56f4c08fba3baeb967 Mon Sep 17 00:00:00 2001 > -From: "Yann E. MORIN" > -Date: Sun, 7 May 2023 11:02:26 +0200 > -Subject: [PATCH] 3rdparty/heimdal: Use perl module JSON:PP, part of core, instead > - of JSON package > - > -Downloaded from > -https://github.com/openwrt/packages/blob/master/net/samba4/patches/105-perl-json-pp.patch > - > -Signed-off-by: Bernd Kuhls > -Signed-off-by: Yann E. MORIN > -Upstream: https://github.com/heimdal/heimdal/pull/1176 > ---- > - third_party/heimdal/cf/make-proto.pl | 4 ++-- > - 1 file changed, 2 insertions(+), 2 deletions(-) > - > -diff --git a/third_party/heimdal/cf/make-proto.pl b/third_party/heimdal/cf/make-proto.pl > -index 36a040ce6c0..ad21dbad9e1 100644 > ---- a/third_party/heimdal/cf/make-proto.pl > -+++ b/third_party/heimdal/cf/make-proto.pl > -@@ -4,7 +4,7 @@ > - use Getopt::Std; > - use File::Compare; > - > --use JSON; > -+use JSON::PP; > - > - my $comment = 0; > - my $doxygen = 0; > -@@ -70,7 +70,7 @@ if($opt_x) { > - my $EXP; > - local $/; > - open(EXP, '<', $opt_x) || die "open ${opt_x}"; > -- my $obj = JSON->new->utf8->decode(); > -+ my $obj = JSON::PP->new->utf8->decode(); > - close $EXP; > - > - foreach my $x (keys %$obj) { > --- > -2.25.1 > - > diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash > index 9843d419f0..5e65295e4c 100644 > --- a/package/samba4/samba4.hash > +++ b/package/samba4/samba4.hash > @@ -1,4 +1,4 @@ > # Locally calculated after checking pgp signature > -# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc > -sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz > +# https://download.samba.org/pub/samba/stable/samba-4.19.1.tar.asc > +sha256 ce3b7f0d18bf91aa5fd646e8bb385a3b35375b703c6e5123b02b85a1abc81879 samba-4.19.1.tar.gz > sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk > index 9cf7a59d9b..124ce564d2 100644 > --- a/package/samba4/samba4.mk > +++ b/package/samba4/samba4.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SAMBA4_VERSION = 4.18.8 > +SAMBA4_VERSION = 4.19.1 > SAMBA4_SITE = https://download.samba.org/pub/samba/stable > SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz > SAMBA4_INSTALL_STAGING = YES From arnout at mind.be Sun Oct 15 20:04:06 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:04:06 +0200 Subject: [Buildroot] [git commit] package/samba4: bump version to 4.19.1 Message-ID: <20231015200531.8DE7A8578B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8ff60cff9402dcd04fffb67af15dfe2caab0995 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Removed patch 0004, not needed anymore due to upstream commit https://github.com/samba-team/samba/commit/a25f549e9a03010996300b04271a7909b6fbf756#diff-6e2c3d973b3ce82db7b4f67111e36116517b040ed64c28f40114d2e0d535706a Release notes: https://www.samba.org/samba/history/samba-4.19.0.html https://www.samba.org/samba/history/samba-4.19.1.html Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- ...indal-Use-perl-module-JSON-part-of-core-i.patch | 41 ---------------------- package/samba4/samba4.hash | 4 +-- package/samba4/samba4.mk | 2 +- 3 files changed, 3 insertions(+), 44 deletions(-) diff --git a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch b/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch deleted file mode 100644 index aa55c09891..0000000000 --- a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch +++ /dev/null @@ -1,41 +0,0 @@ -From bd8fc19c8383914b518a9d56f4c08fba3baeb967 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Sun, 7 May 2023 11:02:26 +0200 -Subject: [PATCH] 3rdparty/heimdal: Use perl module JSON:PP, part of core, instead - of JSON package - -Downloaded from -https://github.com/openwrt/packages/blob/master/net/samba4/patches/105-perl-json-pp.patch - -Signed-off-by: Bernd Kuhls -Signed-off-by: Yann E. MORIN -Upstream: https://github.com/heimdal/heimdal/pull/1176 ---- - third_party/heimdal/cf/make-proto.pl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/third_party/heimdal/cf/make-proto.pl b/third_party/heimdal/cf/make-proto.pl -index 36a040ce6c0..ad21dbad9e1 100644 ---- a/third_party/heimdal/cf/make-proto.pl -+++ b/third_party/heimdal/cf/make-proto.pl -@@ -4,7 +4,7 @@ - use Getopt::Std; - use File::Compare; - --use JSON; -+use JSON::PP; - - my $comment = 0; - my $doxygen = 0; -@@ -70,7 +70,7 @@ if($opt_x) { - my $EXP; - local $/; - open(EXP, '<', $opt_x) || die "open ${opt_x}"; -- my $obj = JSON->new->utf8->decode(); -+ my $obj = JSON::PP->new->utf8->decode(); - close $EXP; - - foreach my $x (keys %$obj) { --- -2.25.1 - diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index 9843d419f0..5e65295e4c 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc -sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.19.1.tar.asc +sha256 ce3b7f0d18bf91aa5fd646e8bb385a3b35375b703c6e5123b02b85a1abc81879 samba-4.19.1.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 9cf7a59d9b..124ce564d2 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.8 +SAMBA4_VERSION = 4.19.1 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From fontaine.fabrice at gmail.com Sun Oct 15 20:12:04 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 22:12:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgeos: drop DISABLE_GEOS_INLINE Message-ID: <20231015201204.1277675-1-fontaine.fabrice@gmail.com> DISABLE_GEOS_INLINE has ben dropped since version 3.11.0 and https://github.com/libgeos/geos/commit/1516e42eeae3b3114585f1e94a0e723d835f7757 Signed-off-by: Fabrice Fontaine --- package/libgeos/libgeos.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package/libgeos/libgeos.mk b/package/libgeos/libgeos.mk index e0931dbb30..70f8ca3495 100644 --- a/package/libgeos/libgeos.mk +++ b/package/libgeos/libgeos.mk @@ -19,10 +19,6 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) LIBGEOS_CXXFLAGS += -O0 endif -ifeq ($(BR2_arm)$(BR2_armeb),y) -LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON -endif - ifeq ($(BR2_or1k),y) LIBGEOS_CXXFLAGS += -mcmodel=large endif -- 2.42.0 From arnout at mind.be Sun Oct 15 20:13:00 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:13:00 +0200 Subject: [Buildroot] [PATCH v2 3/4] package/alsa-utils: Fix musl build In-Reply-To: <20231015093310.1138805-3-bernd@kuhls.net> References: <20231015093310.1138805-1-bernd@kuhls.net> <20231015093310.1138805-3-bernd@kuhls.net> Message-ID: On 15/10/2023 11:33, Bernd Kuhls wrote: > Fixes: > http://autobuild.buildroot.net/results/5a0/5a03cba08bf24d61c816b8e2f257c18004bad3d7/ > > Signed-off-by: Bernd Kuhls The first time you posted this patch, you followed up with a reference to the Buildroot commit that introduced the error. That's very useful for Peter to decide if it needs to be backported, so I included that here. The other two don't have that information unfortunately. Anyway, all 4 applied to master, thanks. Regards, Arnout > --- > v2: removed left-over from previous try to fix > http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ > (Baruch) > > .../0009-topology-include-locale.h.patch | 33 +++++++++++++++++++ > ...nhlt-dmic-info.c-include-sys-types.h.patch | 33 +++++++++++++++++++ > 2 files changed, 66 insertions(+) > create mode 100644 package/alsa-utils/0009-topology-include-locale.h.patch > create mode 100644 package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch > > diff --git a/package/alsa-utils/0009-topology-include-locale.h.patch b/package/alsa-utils/0009-topology-include-locale.h.patch > new file mode 100644 > index 0000000000..14a059cbf6 > --- /dev/null > +++ b/package/alsa-utils/0009-topology-include-locale.h.patch > @@ -0,0 +1,33 @@ > +From 8c229270f6bae83b705a03714c46067a7aa57b02 Mon Sep 17 00:00:00 2001 > +From: Michael Opdenacker > +Date: Tue, 19 Sep 2023 13:14:29 +0200 > +Subject: [PATCH] topology: include locale.h > + > +This solves an issue compiling with the musl libc. > + > +Fixes: https://github.com/alsa-project/alsa-utils/issues/239 > +Signed-off-by: Michael Opdenacker > +Signed-off-by: Jaroslav Kysela > + > +Upstream: https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02 > + > +Signed-off-by: Bernd Kuhls > +--- > + topology/topology.c | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/topology/topology.c b/topology/topology.c > +index 1840ffe..5d03a8b 100644 > +--- a/topology/topology.c > ++++ b/topology/topology.c > +@@ -32,6 +32,7 @@ > + #include > + #include > + #include > ++#include > + > + #include > + #include > +-- > +2.39.2 > + > diff --git a/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch > new file mode 100644 > index 0000000000..b5f8489703 > --- /dev/null > +++ b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch > @@ -0,0 +1,33 @@ > +From 0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 Mon Sep 17 00:00:00 2001 > +From: Michael Opdenacker > +Date: Tue, 19 Sep 2023 13:14:30 +0200 > +Subject: [PATCH] nhlt-dmic-info.c: include sys/types.h > + > +This fixes an issue compiling with the musl libc. > + > +Fixes: https://github.com/alsa-project/alsa-utils/issues/238 > +Signed-off-by: Michael Opdenacker > +Signed-off-by: Jaroslav Kysela > + > +Upstream: https://github.com/alsa-project/alsa-utils/commit/0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 > + > +Signed-off-by: Bernd Kuhls > +--- > + nhlt/nhlt-dmic-info.c | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c > +index 3f6c64d..331555a 100644 > +--- a/nhlt/nhlt-dmic-info.c > ++++ b/nhlt/nhlt-dmic-info.c > +@@ -33,6 +33,7 @@ > + #include > + #include > + #include > ++#include > + #include > + > + int debug = 0; > +-- > +2.39.2 > + From arnout at mind.be Sun Oct 15 20:11:27 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:11:27 +0200 Subject: [Buildroot] [git commit] package/alsa-utils: fix UMP support detection Message-ID: <20231015201321.DCF4785A84@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f86b539d564679b2d8321d5f2f904d0396cb4979 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- ...11-configure.ac-fix-UMP-support-detection.patch | 38 ++++++++++++++++++++++ package/alsa-utils/alsa-utils.mk | 2 ++ 2 files changed, 40 insertions(+) diff --git a/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch new file mode 100644 index 0000000000..66cf051733 --- /dev/null +++ b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch @@ -0,0 +1,38 @@ +From 8a0da6d4484cd2ca4f1939a6c44941e070db2147 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 13 Oct 2023 20:32:32 +0200 +Subject: [PATCH] configure.ac: fix UMP support detection + +https://github.com/alsa-project/alsa-utils/commit/b399fb85a919636b7da34e8bcf17f484dd9046f7 +added usage of alsa/ump_msg.h without checking whether alsa-lib was +compiled with rawmidi support: +https://github.com/alsa-project/alsa-lib/blob/master/include/Makefile.am#L37 + +Fixes a build error when alsa-lib was compiled with --disable-rawmidi + +aplaymidi.c:34:10: fatal error: alsa/ump_msg.h: No such file or directory + 34 | #include + +Upstream: https://github.com/alsa-project/alsa-utils/pull/240 + +Signed-off-by: Bernd Kuhls +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index beb4963..4217741 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,7 +55,7 @@ if test "$HAVE_SEQ_CLIENT_INFO_GET_PID" = "yes" ; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid]) + fi + AC_CHECK_LIB([asound], [snd_seq_client_info_get_midi_version], [HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION="yes"]) +-if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" ; then ++if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" -a "$have_rawmidi" = "yes"; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION], 1, [alsa-lib supports snd_seq_client_info_get_midi_version]) + fi + AC_CHECK_LIB([atopology], [snd_tplg_save], [have_topology="yes"], [have_topology="no"]) +-- +2.39.2 + diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk index 7487e3c2bb..6f6021400e 100644 --- a/package/alsa-utils/alsa-utils.mk +++ b/package/alsa-utils/alsa-utils.mk @@ -9,6 +9,8 @@ ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils ALSA_UTILS_LICENSE = GPL-2.0 ALSA_UTILS_LICENSE_FILES = COPYING +# 0011-configure.ac-fix-UMP-support-detection.patch +ALSA_UTILS_AUTORECONF = YES ALSA_UTILS_INSTALL_STAGING = YES ALSA_UTILS_DEPENDENCIES = host-pkgconf alsa-lib \ $(if $(BR2_PACKAGE_NCURSES),ncurses) \ From arnout at mind.be Sun Oct 15 20:10:57 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:10:57 +0200 Subject: [Buildroot] [git commit] package/alsa-utils: Fix musl build Message-ID: <20231015201321.CDBC285A8B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=828bb54c6dba795db3d71c2de42870bd77a32f68 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The build error was introduced when bumping alsa-utils to 1.2.10 with buildroot commit f7ae22240bac0300961fa60c7d684b6584d7a631 Fixes: http://autobuild.buildroot.net/results/5a0/5a03cba08bf24d61c816b8e2f257c18004bad3d7/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- .../0009-topology-include-locale.h.patch | 33 ++++++++++++++++++++++ ...0010-nhlt-dmic-info.c-include-sys-types.h.patch | 33 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/package/alsa-utils/0009-topology-include-locale.h.patch b/package/alsa-utils/0009-topology-include-locale.h.patch new file mode 100644 index 0000000000..14a059cbf6 --- /dev/null +++ b/package/alsa-utils/0009-topology-include-locale.h.patch @@ -0,0 +1,33 @@ +From 8c229270f6bae83b705a03714c46067a7aa57b02 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:29 +0200 +Subject: [PATCH] topology: include locale.h + +This solves an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/239 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02 + +Signed-off-by: Bernd Kuhls +--- + topology/topology.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/topology/topology.c b/topology/topology.c +index 1840ffe..5d03a8b 100644 +--- a/topology/topology.c ++++ b/topology/topology.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include + #include +-- +2.39.2 + diff --git a/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch new file mode 100644 index 0000000000..b5f8489703 --- /dev/null +++ b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch @@ -0,0 +1,33 @@ +From 0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:30 +0200 +Subject: [PATCH] nhlt-dmic-info.c: include sys/types.h + +This fixes an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/238 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 + +Signed-off-by: Bernd Kuhls +--- + nhlt/nhlt-dmic-info.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c +index 3f6c64d..331555a 100644 +--- a/nhlt/nhlt-dmic-info.c ++++ b/nhlt/nhlt-dmic-info.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + + int debug = 0; +-- +2.39.2 + From arnout at mind.be Sun Oct 15 20:05:36 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:05:36 +0200 Subject: [Buildroot] [git commit] package/alsa-lib: fix musl build Message-ID: <20231015201321.ADB5985A84@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8fb216e977c8aeae1b6736bade53e2bb7b382d60 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Buildroot commit 227d414ded bumped alsa-lib to version 1.2.10 which introduced a build error with musl toolchains. Fixes: http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- ...ve-__STRING-macro-outside-PIC-ifdef-block.patch | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch new file mode 100644 index 0000000000..7bd67507fd --- /dev/null +++ b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch @@ -0,0 +1,50 @@ +From 10bd599970acc71c92f85eb08943eb8d3d702a9c Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 6 Sep 2023 15:16:44 +0200 +Subject: [PATCH] global.h: move __STRING() macro outside !PIC ifdef block + +It solves the musl libc compilation issue. + +control.c: In function 'snd_ctl_open_conf': +../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio] + 98 | #define SND_DLSYM_VERSION(version) __STRING(version) + | ^~~~~~~~ + +Fixes: https://github.com/alsa-project/alsa-lib/issues/350 +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-lib/commit/10bd599970acc71c92f85eb08943eb8d3d702a9c + +Signed-off-by: Bernd Kuhls +--- + include/global.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/include/global.h b/include/global.h +index dfe9bc2b..3ecaeee8 100644 +--- a/include/global.h ++++ b/include/global.h +@@ -51,6 +51,11 @@ const char *snd_asoundlib_version(void); + #define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) + #endif + ++#ifndef __STRING ++/** \brief Return 'x' argument as string */ ++#define __STRING(x) #x ++#endif ++ + #ifdef PIC /* dynamic build */ + + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ +@@ -71,11 +76,6 @@ struct snd_dlsym_link { + + extern struct snd_dlsym_link *snd_dlsym_start; + +-#ifndef __STRING +-/** \brief Return 'x' argument as string */ +-#define __STRING(x) #x +-#endif +- + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ + #define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version + /** From arnout at mind.be Sun Oct 15 20:06:04 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:06:04 +0200 Subject: [Buildroot] [git commit] package/alsa-utils: fix build with gcc < 11 Message-ID: <20231015201321.BEB3785A86@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ea3ee730cfd5ed55d8c54289fdaeb629c0e37673 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: http://autobuild.buildroot.net/results/bfd/bfde1d5c3067e98d983ce1eebc1560bd13d00b8a/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- ...TTRIBUTE_UNUSED-instead-remove-argument-n.patch | 233 +++++++++++++++ ...TTRIBUTE_UNUSED-instead-remove-argument-n.patch | 34 +++ ...e-ATTRIBUTE_UNUSED-instead-remove-argumen.patch | 57 ++++ ...RIBUTE_UNUSED-instead-remove-argument-nam.patch | 67 +++++ ...RIBUTE_UNUSED-instead-remove-argument-nam.patch | 93 ++++++ ...-ATTRIBUTE_UNUSED-instead-remove-argument.patch | 109 +++++++ ...e-ATTRIBUTE_UNUSED-instead-remove-argumen.patch | 312 +++++++++++++++++++++ 7 files changed, 905 insertions(+) diff --git a/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..92622292c0 --- /dev/null +++ b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,233 @@ +From a90faa2dd644af585d6a00f0aaf297c15ea0aa7b Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:33:47 +0200 +Subject: [PATCH] axfer: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: ad5a1c0 ("axfer: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/a90faa2dd644af585d6a00f0aaf297c15ea0aa7b + +Signed-off-by: Bernd Kuhls +--- + axfer/container-raw.c | 14 +++++++------- + axfer/mapper-single.c | 6 +++--- + axfer/subcmd-list.c | 2 +- + axfer/subcmd-transfer.c | 4 ++-- + axfer/waiter-poll.c | 4 ++-- + axfer/waiter-select.c | 4 ++-- + axfer/waiter.h | 1 + + axfer/xfer-libasound-irq-rw.c | 2 +- + axfer/xfer-libasound.c | 4 ++-- + axfer/xfer-options.c | 3 ++- + 10 files changed, 23 insertions(+), 21 deletions(-) + +diff --git a/axfer/container-raw.c b/axfer/container-raw.c +index 071f94c..1886045 100644 +--- a/axfer/container-raw.c ++++ b/axfer/container-raw.c +@@ -13,10 +13,10 @@ + #include + #include + +-static int raw_builder_pre_process(struct container_context *, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++static int raw_builder_pre_process(struct container_context *cntr ATTRIBUTE_UNUSED, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + *byte_count = UINT64_MAX; +@@ -25,9 +25,9 @@ static int raw_builder_pre_process(struct container_context *, + } + + static int raw_parser_pre_process(struct container_context *cntr, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + struct stat buf = {0}; +diff --git a/axfer/mapper-single.c b/axfer/mapper-single.c +index 13e7fc5..f669f7f 100644 +--- a/axfer/mapper-single.c ++++ b/axfer/mapper-single.c +@@ -62,7 +62,7 @@ static void align_from_vector(void *frame_buf, unsigned int frame_count, + + static int single_pre_process(struct mapper_context *mapper, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + unsigned int bytes_per_buffer; +@@ -110,7 +110,7 @@ static int single_muxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *src; +@@ -141,7 +141,7 @@ static int single_demuxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *dst; +diff --git a/axfer/subcmd-list.c b/axfer/subcmd-list.c +index f9c8e0f..187e1d7 100644 +--- a/axfer/subcmd-list.c ++++ b/axfer/subcmd-list.c +@@ -19,7 +19,7 @@ enum list_op { + }; + + static int dump_device(snd_ctl_t *handle, const char *id, const char *name, +- snd_pcm_stream_t, snd_pcm_info_t *info) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED, snd_pcm_info_t *info) + { + unsigned int i, count; + int err; +diff --git a/axfer/subcmd-transfer.c b/axfer/subcmd-transfer.c +index b39fde8..8d63043 100644 +--- a/axfer/subcmd-transfer.c ++++ b/axfer/subcmd-transfer.c +@@ -40,7 +40,7 @@ static void handle_unix_signal_for_finish(int sig) + ctx_ptr->interrupted = true; + } + +-static void handle_unix_signal_for_suspend(int) ++static void handle_unix_signal_for_suspend(int sig ATTRIBUTE_UNUSED) + { + sigset_t curr, prev; + struct sigaction sa = {0}; +@@ -439,7 +439,7 @@ static int context_process_frames(struct context *ctx, + } + + static void context_post_process(struct context *ctx, +- uint64_t) ++ uint64_t accumulated_frame_count ATTRIBUTE_UNUSED) + { + uint64_t total_frame_count; + unsigned int i; +diff --git a/axfer/waiter-poll.c b/axfer/waiter-poll.c +index 31fab88..b81300c 100644 +--- a/axfer/waiter-poll.c ++++ b/axfer/waiter-poll.c +@@ -13,7 +13,7 @@ + #include + #include + +-static int poll_prepare(struct waiter_context *) ++static int poll_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return 0; +@@ -30,7 +30,7 @@ static int poll_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void poll_release(struct waiter_context *) ++static void poll_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return; +diff --git a/axfer/waiter-select.c b/axfer/waiter-select.c +index 164c9c8..fe19776 100644 +--- a/axfer/waiter-select.c ++++ b/axfer/waiter-select.c +@@ -34,7 +34,7 @@ struct select_state { + fd_set rfds_ex; + }; + +-static int select_prepare(struct waiter_context *) ++static int select_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return 0; + } +@@ -94,7 +94,7 @@ static int select_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void select_release(struct waiter_context *) ++static void select_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return; + } +diff --git a/axfer/waiter.h b/axfer/waiter.h +index db18e33..0f4e9b9 100644 +--- a/axfer/waiter.h ++++ b/axfer/waiter.h +@@ -9,6 +9,7 @@ + #ifndef __ALSA_UTILS_AXFER_WAITER__H_ + #define __ALSA_UTILS_AXFER_WAITER__H_ + ++#include + #include + + enum waiter_type { +diff --git a/axfer/xfer-libasound-irq-rw.c b/axfer/xfer-libasound-irq-rw.c +index b7f0645..45fb6d5 100644 +--- a/axfer/xfer-libasound-irq-rw.c ++++ b/axfer/xfer-libasound-irq-rw.c +@@ -313,7 +313,7 @@ error: + } + + static int w_process_frames_nonblocking(struct libasound_state *state, +- snd_pcm_state_t, ++ snd_pcm_state_t pcm_state ATTRIBUTE_UNUSED, + unsigned int *frame_count, + struct mapper_context *mapper, + struct container_context *cntrs) +diff --git a/axfer/xfer-libasound.c b/axfer/xfer-libasound.c +index 9713533..36ee08d 100644 +--- a/axfer/xfer-libasound.c ++++ b/axfer/xfer-libasound.c +@@ -60,7 +60,7 @@ static const struct option l_opts[] = { + }; + + static int xfer_libasound_init(struct xfer_context *xfer, +- snd_pcm_stream_t) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED) + { + struct libasound_state *state = xfer->private_data; + int err; +@@ -887,7 +887,7 @@ static void xfer_libasound_destroy(struct xfer_context *xfer) + state->log = NULL; + } + +-static void xfer_libasound_help(struct xfer_context *) ++static void xfer_libasound_help(struct xfer_context *xfer ATTRIBUTE_UNUSED) + { + printf( + " [BASICS]\n" +diff --git a/axfer/xfer-options.c b/axfer/xfer-options.c +index 974570c..e716ded 100644 +--- a/axfer/xfer-options.c ++++ b/axfer/xfer-options.c +@@ -447,7 +447,8 @@ static int generate_path_with_suffix(struct xfer_context *xfer, + + static int generate_path_without_suffix(struct xfer_context *xfer, + const char *template, +- unsigned int index, const char *) ++ unsigned int index, ++ const char *suffix ATTRIBUTE_UNUSED) + { + static const char *const single_format = "%s"; + static const char *const multiple_format = "%s-%i"; +-- +2.39.2 + diff --git a/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..12a098b6fb --- /dev/null +++ b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,34 @@ +From 2db896afd475b0b3ad07e97ba74ec9680b4f7f6d Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:37:24 +0200 +Subject: [PATCH] amidi: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 1843540 ("amidi: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/2db896afd475b0b3ad07e97ba74ec9680b4f7f6d + +Signed-off-by: Bernd Kuhls +--- + amidi/amidi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/amidi/amidi.c b/amidi/amidi.c +index f930ca8..75fb8c0 100644 +--- a/amidi/amidi.c ++++ b/amidi/amidi.c +@@ -446,7 +446,7 @@ static void print_byte(unsigned char byte, struct timespec *ts) + printf("%02X", byte); + } + +-static void sig_handler(int) ++static void sig_handler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +-- +2.39.2 + diff --git a/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..4720531415 --- /dev/null +++ b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,57 @@ +From 7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:45:09 +0200 +Subject: [PATCH] alsaloop: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d609a58 ("alsaloop: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa + +Signed-off-by: Bernd Kuhls +--- + alsaloop/alsaloop.c | 2 +- + alsaloop/pcmjob.c | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c +index b10733e..51fb646 100644 +--- a/alsaloop/alsaloop.c ++++ b/alsaloop/alsaloop.c +@@ -821,7 +821,7 @@ static void send_to_all(int sig) + } + } + +-static void signal_handler(int) ++static void signal_handler(int sig ATTRIBUTE_UNUSED) + { + quit = 1; + send_to_all(SIGUSR2); +diff --git a/alsaloop/pcmjob.c b/alsaloop/pcmjob.c +index be71971..ffb439b 100644 +--- a/alsaloop/pcmjob.c ++++ b/alsaloop/pcmjob.c +@@ -625,7 +625,7 @@ static void buf_add_src(struct loopback *loop) + } + } + #else +-static void buf_add_src(struct loopback *) ++static void buf_add_src(struct loopback *loop ATTRIBUTE_UNUSED) + { + } + #endif +@@ -1794,7 +1794,7 @@ static int ctl_event_check(snd_ctl_elem_value_t *val, snd_ctl_event_t *ev) + } + + static int handle_ctl_events(struct loopback_handle *lhandle, +- unsigned short) ++ unsigned short events ATTRIBUTE_UNUSED) + { + struct loopback *loop = lhandle->loopback; + snd_ctl_event_t *ev; +-- +2.39.2 + diff --git a/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..1a42f24d3c --- /dev/null +++ b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,67 @@ +From 94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:49:03 +0200 +Subject: [PATCH] bat: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: b366875 ("bat: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 + +Signed-off-by: Bernd Kuhls +--- + bat/bat.c | 3 ++- + bat/common.c | 3 ++- + bat/common.h | 5 +++++ + 3 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/bat/bat.c b/bat/bat.c +index e88c65f..ea04ed9 100644 +--- a/bat/bat.c ++++ b/bat/bat.c +@@ -158,7 +158,8 @@ static void get_format(struct bat *bat, char *optarg) + } + } + +-static inline int thread_wait_completion(struct bat *, pthread_t id, int **val) ++static inline int thread_wait_completion(struct bat *bat ATTRIBUTE_UNUSED, ++ pthread_t id, int **val) + { + int err; + +diff --git a/bat/common.c b/bat/common.c +index 9ff9405..470a7e6 100644 +--- a/bat/common.c ++++ b/bat/common.c +@@ -47,7 +47,8 @@ static int update_fmt_to_bat(struct bat *bat, struct chunk_fmt *fmt) + } + + /* calculate frames and update to bat */ +-static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, FILE *) ++static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, ++ FILE *file ATTRIBUTE_UNUSED) + { + /* The number of analyzed captured frames is arbitrarily set to half of + the number of frames of the wav file or the number of frames of the +diff --git a/bat/common.h b/bat/common.h +index a9bae5d..bb51b0d 100644 +--- a/bat/common.h ++++ b/bat/common.h +@@ -13,6 +13,11 @@ + * + */ + ++#ifndef ATTRIBUTE_UNUSED ++/** do not print warning (gcc) when function parameter is not used */ ++#define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) ++#endif ++ + #define TEMP_RECORD_FILE_NAME "/tmp/bat.wav.XXXXXX" + #define DEFAULT_DEV_NAME "default" + +-- +2.39.2 + diff --git a/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..9e7e7da5ce --- /dev/null +++ b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,93 @@ +From 66112d60e4ce68720022eaf26080c0f1a2caf81f Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:52:46 +0200 +Subject: [PATCH] seq: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 181e190 ("aplaymidi: fix the verbose compilation warnings for latest gcc") +Fixes: a03377a ("aseqnet: fix the verbose compilation warnings for latest gcc") +Fixes: 429c32a ("aseqdump: fix the verbose compilation warnings for latest gcc") +Fixes: 0b48dd6 ("aconnect: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/66112d60e4ce68720022eaf26080c0f1a2caf81f + +Signed-off-by: Bernd Kuhls +--- + seq/aconnect/aconnect.c | 9 ++++++--- + seq/aplaymidi/arecordmidi.c | 2 +- + seq/aseqdump/aseqdump.c | 2 +- + seq/aseqnet/aseqnet.c | 2 +- + 4 files changed, 9 insertions(+), 6 deletions(-) + +diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c +index 3a10de9..7096feb 100644 +--- a/seq/aconnect/aconnect.c ++++ b/seq/aconnect/aconnect.c +@@ -193,7 +193,8 @@ static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action) + } + + +-static void print_port(snd_seq_t *, snd_seq_client_info_t *cinfo, ++static void print_port(snd_seq_t *seq ATTRIBUTE_UNUSED, ++ snd_seq_client_info_t *cinfo, + snd_seq_port_info_t *pinfo, int count) + { + if (! count) { +@@ -247,8 +248,10 @@ static void print_port_and_subs(snd_seq_t *seq, snd_seq_client_info_t *cinfo, + /* + * remove all (exported) connections + */ +-static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *, +- snd_seq_port_info_t *pinfo, int) ++static void remove_connection(snd_seq_t *seq, ++ snd_seq_client_info_t *info ATTRIBUTE_UNUSED, ++ snd_seq_port_info_t *pinfo, ++ int count ATTRIBUTE_UNUSED) + { + snd_seq_query_subscribe_t *query; + snd_seq_port_info_t *port; +diff --git a/seq/aplaymidi/arecordmidi.c b/seq/aplaymidi/arecordmidi.c +index ce71472..a4c1181 100644 +--- a/seq/aplaymidi/arecordmidi.c ++++ b/seq/aplaymidi/arecordmidi.c +@@ -719,7 +719,7 @@ static void version(void) + fputs("arecordmidi version " SND_UTIL_VERSION_STR "\n", stderr); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c +index 8455ecb..af4ca21 100644 +--- a/seq/aseqdump/aseqdump.c ++++ b/seq/aseqdump/aseqdump.c +@@ -676,7 +676,7 @@ static void version(void) + puts("aseqdump version " SND_UTIL_VERSION_STR); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c +index f40de7d..aa70b50 100644 +--- a/seq/aseqnet/aseqnet.c ++++ b/seq/aseqnet/aseqnet.c +@@ -334,7 +334,7 @@ static void get_net_addr(struct addrinfo *rp, char *buf, size_t buflen) + /* + * signal handler + */ +-static void sigterm_exit(int) ++static void sigterm_exit(int sig ATTRIBUTE_UNUSED) + { + close_files(); + exit(1); +-- +2.39.2 + diff --git a/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch new file mode 100644 index 0000000000..66826c4515 --- /dev/null +++ b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch @@ -0,0 +1,109 @@ +From 9e5e9a6d70de63bea01f0669b01319952f2cfdea Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:57:47 +0200 +Subject: [PATCH] alsaucm: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d7bbc26 ("alsaucm: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/9e5e9a6d70de63bea01f0669b01319952f2cfdea + +Signed-off-by: Bernd Kuhls +--- + alsaucm/dump.c | 22 ++++++++++++---------- + 1 file changed, 12 insertions(+), 10 deletions(-) + +diff --git a/alsaucm/dump.c b/alsaucm/dump.c +index 102ac4d..a5c57f2 100644 +--- a/alsaucm/dump.c ++++ b/alsaucm/dump.c +@@ -93,7 +93,8 @@ static char *tesc(const char *s, char *buf, size_t buf_len) + + #define ESC(s, esc) tesc((s), (esc), sizeof(esc)) + +-static int text_verb_start(struct renderer *, const char *verb, const char *comment) ++static int text_verb_start(struct renderer *r ATTRIBUTE_UNUSED, ++ const char *verb, const char *comment) + { + char buf1[128], buf2[128]; + printf("Verb.%s {\n", ESC(verb, buf1)); +@@ -102,13 +103,13 @@ static int text_verb_start(struct renderer *, const char *verb, const char *comm + return 0; + } + +-static int text_verb_end(struct renderer *) ++static int text_verb_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("}\n"); + return 0; + } + +-static int text_2nd_level_begin(struct renderer *, ++static int text_2nd_level_begin(struct renderer *r ATTRIBUTE_UNUSED, + const char *key, + const char *val, + const char *comment) +@@ -120,19 +121,19 @@ static int text_2nd_level_begin(struct renderer *, + return 0; + } + +-static int text_2nd_level_end(struct renderer *) ++static int text_2nd_level_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("\t}\n"); + return 0; + } + +-static int text_2nd_level(struct renderer *, const char *txt) ++static int text_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t%s", txt); + return 0; + } + +-static int text_3rd_level(struct renderer *, const char *txt) ++static int text_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t\t%s", txt); + return 0; +@@ -266,7 +267,7 @@ static void json_block(struct renderer *r, int level, int last) + j->block[level] = last ? 0 : 1; + } + +-static int json_init(struct renderer *) ++static int json_init(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("{\n \"Verbs\": {"); + return 0; +@@ -325,13 +326,13 @@ static int json_2nd_level_end(struct renderer *r) + return 0; + } + +-static int json_2nd_level(struct renderer *, const char *txt) ++static int json_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; + } + +-static int json_3rd_level(struct renderer *, const char *txt) ++static int json_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; +@@ -360,7 +361,8 @@ static int json_supcon_start(struct renderer *r, const char *key) + return 0; + } + +-static int json_supcon_value(struct renderer *r, const char *value, int) ++static int json_supcon_value(struct renderer *r, const char *value, ++ int last ATTRIBUTE_UNUSED) + { + char buf[256]; + JESC(value, buf); +-- +2.39.2 + diff --git a/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..07b10b3ab8 --- /dev/null +++ b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,312 @@ +From dfe1c7143ab6ea01789e276b1ba361a00e545997 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 17:11:05 +0200 +Subject: [PATCH] topology: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 153d185 ("topology: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/dfe1c7143ab6ea01789e276b1ba361a00e545997 + +Signed-off-by: Bernd Kuhls +--- + topology/nhlt/intel/dmic-nhlt.c | 3 ++- + topology/nhlt/intel/dmic/dmic-debug.c | 7 ++++--- + topology/nhlt/intel/ssp/ssp-debug.c | 5 +++-- + topology/nhlt/intel/ssp/ssp-process.c | 4 +++- + topology/nhlt/nhlt-processor.c | 7 +++++-- + topology/pre-process-class.c | 10 +++++----- + topology/pre-process-object.c | 21 +++++++++++---------- + topology/pre-processor.c | 10 ++++++---- + 8 files changed, 39 insertions(+), 28 deletions(-) + +diff --git a/topology/nhlt/intel/dmic-nhlt.c b/topology/nhlt/intel/dmic-nhlt.c +index 70a22e3..de659cf 100644 +--- a/topology/nhlt/intel/dmic-nhlt.c ++++ b/topology/nhlt/intel/dmic-nhlt.c +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -155,7 +156,7 @@ static int set_vendor_mic_data(struct intel_nhlt_params *nhlt, snd_config_t *cfg + horizontal_angle_end); + } + +-static int set_bytes_data(struct intel_nhlt_params *, snd_config_t *cfg) ++static int set_bytes_data(struct intel_nhlt_params *nhlt ATTRIBUTE_UNUSED, snd_config_t *cfg) + { + snd_config_iterator_t i, next; + snd_config_t *n; +diff --git a/topology/nhlt/intel/dmic/dmic-debug.c b/topology/nhlt/intel/dmic/dmic-debug.c +index f99d308..a977c93 100644 +--- a/topology/nhlt/intel/dmic/dmic-debug.c ++++ b/topology/nhlt/intel/dmic/dmic-debug.c +@@ -8,6 +8,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "dmic-debug.h" + + #ifdef NHLT_DEBUG +@@ -181,7 +182,7 @@ void dmic_print_internal(struct intel_dmic_params *dmic) + } + + #else /* NHLT_DEBUG */ +-void dmic_print_bytes_as_hex(uint8_t *, size_t) {} +-void dmic_print_integers_as_hex(uint32_t *, size_t) {} +-void dmic_print_internal(struct intel_dmic_params *) {} ++void dmic_print_bytes_as_hex(uint8_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_integers_as_hex(uint32_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_internal(struct intel_dmic_params *dmic ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-debug.c b/topology/nhlt/intel/ssp/ssp-debug.c +index 8c64675..2d2f6b0 100644 +--- a/topology/nhlt/intel/ssp/ssp-debug.c ++++ b/topology/nhlt/intel/ssp/ssp-debug.c +@@ -7,6 +7,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "ssp-debug.h" + #include "../intel-nhlt.h" + +@@ -252,6 +253,6 @@ void ssp_print_internal(struct intel_ssp_params *ssp) + } + + #else /* NHLT_DEBUG */ +-void ssp_print_internal(struct intel_ssp_params *) {} +-void ssp_print_calculated(struct intel_ssp_params *) {} ++void ssp_print_internal(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} ++void ssp_print_calculated(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-process.c b/topology/nhlt/intel/ssp/ssp-process.c +index 9cda5c3..17b88d2 100644 +--- a/topology/nhlt/intel/ssp/ssp-process.c ++++ b/topology/nhlt/intel/ssp/ssp-process.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -952,7 +953,8 @@ int ssp_set_params(struct intel_nhlt_params *nhlt, const char *dir, int dai_inde + return 0; + } + +-int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, const char *, ++int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, ++ const char *mclk ATTRIBUTE_UNUSED, + const char *bclk, const char *bclk_invert, const char *fsync, + const char *fsync_invert, int mclk_freq, int bclk_freq, int fsync_freq, + int tdm_slots, int tdm_slot_width, int tx_slots, int rx_slots) +diff --git a/topology/nhlt/nhlt-processor.c b/topology/nhlt/nhlt-processor.c +index 567fa5c..ca539c3 100644 +--- a/topology/nhlt/nhlt-processor.c ++++ b/topology/nhlt/nhlt-processor.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -87,7 +88,8 @@ static void debug_print_nhlt(struct nhlt *blob, struct endpoint_descriptor **eps + fprintf(stdout, "\n"); + } + #else +-static void debug_print_nhlt(struct nhlt *, struct endpoint_descriptor **) {} ++static void debug_print_nhlt(struct nhlt *blob ATTRIBUTE_UNUSED, ++ struct endpoint_descriptor **eps ATTRIBUTE_UNUSED) {} + #endif + + static int print_as_hex_bytes(uint8_t *manifest_buffer, uint32_t manifest_size, +@@ -313,7 +315,8 @@ static int nhlt_get_flat_buffer(struct nhlt *blob, struct endpoint_descriptor ** + } + + /* called at the end of topology pre-processing, create flat buffer from variable size nhlt */ +-static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, snd_config_t *, ++static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, ++ snd_config_t *output ATTRIBUTE_UNUSED, + uint8_t **nhlt_buffer, uint32_t *nhlt_size) + { + struct endpoint_descriptor *eps[MAX_ENDPOINT_COUNT]; +diff --git a/topology/pre-process-class.c b/topology/pre-process-class.c +index d883d05..bedcebe 100644 +--- a/topology/pre-process-class.c ++++ b/topology/pre-process-class.c +@@ -127,7 +127,7 @@ snd_config_t *tplg_class_lookup(struct tplg_pre_processor *tplg_pp, snd_config_t + } + + /* find the attribute config by name in the class definition */ +-snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, ++snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *tplg_p ATTRIBUTE_UNUSED, + snd_config_t *class, const char *name) + { + snd_config_t *attr = NULL; +@@ -152,7 +152,7 @@ snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, + } + + /* get the name of the attribute that must have a unique value in the object instance */ +-const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, ++const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class) + { + snd_config_t *unique; +@@ -177,7 +177,7 @@ const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, + } + + /* get attribute type from the definition */ +-snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, ++snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *attr) + { + snd_config_t *type; +@@ -208,7 +208,7 @@ snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, + } + + /* get token_ref for attribute with name attr_name in the class */ +-const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, ++const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *attr_name) + { + snd_config_t *attributes, *attr, *token_ref; +@@ -235,7 +235,7 @@ const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, + } + + /* convert a valid attribute string value to the corresponding tuple value */ +-long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *, ++long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, snd_config_t *attr) + { + +diff --git a/topology/pre-process-object.c b/topology/pre-process-object.c +index 48555e7..61cc85f 100644 +--- a/topology/pre-process-object.c ++++ b/topology/pre-process-object.c +@@ -31,7 +31,8 @@ + + /* Parse VendorToken object, create the "SectionVendorToken" and save it */ + int tplg_build_vendor_token_object(struct tplg_pre_processor *tplg_pp, +- snd_config_t *obj_cfg, snd_config_t *) ++ snd_config_t *obj_cfg, ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_iterator_t i, next; + snd_config_t *vtop, *n, *obj; +@@ -196,7 +197,7 @@ int tplg_build_data_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj + return tplg_parent_update(tplg_pp, parent, "data", name); + } + +-static int tplg_create_config_template(struct tplg_pre_processor *, ++static int tplg_create_config_template(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t **template, + const struct config_template_items *items) + { +@@ -499,7 +500,7 @@ min_max_check: + } + + /* get object's name attribute value */ +-const char *tplg_object_get_name(struct tplg_pre_processor *, ++const char *tplg_object_get_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *object) + { + snd_config_t *cfg; +@@ -518,7 +519,7 @@ const char *tplg_object_get_name(struct tplg_pre_processor *, + } + + /* look up the instance of object in a config */ +-static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *, ++static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *type, + const char *class_name, const char *id) + { +@@ -977,7 +978,7 @@ template: + } + + static int tplg_build_generic_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, +- snd_config_t *) ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_t *wtop; + const char *name; +@@ -1090,7 +1091,7 @@ const struct build_function_map object_build_map[] = { + NULL, &pcm_caps_config}, + }; + +-static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *, ++static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj) + { + snd_config_iterator_t first; +@@ -1145,7 +1146,7 @@ snd_config_t *tplg_object_get_section(struct tplg_pre_processor *tplg_pp, snd_co + } + + /* return 1 if attribute not found in search_config, 0 on success and negative value on error */ +-static int tplg_object_copy_and_add_param(struct tplg_pre_processor *, ++static int tplg_object_copy_and_add_param(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj, + snd_config_t *attr_cfg, + snd_config_t *search_config) +@@ -1351,8 +1352,8 @@ static int tplg_object_pre_process_children(struct tplg_pre_processor *tplg_pp, + return 0; + } + +-static int tplg_construct_object_name(struct tplg_pre_processor *, snd_config_t *obj, +- snd_config_t *class_cfg) ++static int tplg_construct_object_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *obj, snd_config_t *class_cfg) + { + snd_config_iterator_t i, next; + snd_config_t *args, *n; +@@ -1547,7 +1548,7 @@ static int tplg_object_set_unique_attribute(struct tplg_pre_processor *tplg_pp, + * Helper function to get object instance config which is 2 nodes down from class_type config. + * ex: Get the pointer to the config node with ID "0" from the input config Widget.pga.0 {} + */ +-snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *, ++snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class_type) + { + snd_config_iterator_t first; +diff --git a/topology/pre-processor.c b/topology/pre-processor.c +index 3903dee..01f8a5d 100644 +--- a/topology/pre-processor.c ++++ b/topology/pre-processor.c +@@ -231,8 +231,9 @@ void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) + snd_config_save(cfg, tplg_pp->dbg_output); + } + #else +-void tplg_pp_debug(char *, ...) {} +-void tplg_pp_config_debug(struct tplg_pre_processor *, snd_config_t *){} ++void tplg_pp_debug(char *fmt ATTRIBUTE_UNUSED, ...) {} ++void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *cfg ATTRIBUTE_UNUSED) {} + #endif + + static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) +@@ -640,8 +641,9 @@ static int pre_process_includes_all(struct tplg_pre_processor *tplg_pp, snd_conf + } + + /* duplicate the existing objects in src into dest and update with new attribute */ +-static int pre_process_add_objects(struct tplg_pre_processor *, int *object_count, +- snd_config_t *src, snd_config_t *dest, snd_config_t *attr_cfg) ++static int pre_process_add_objects(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ int *object_count, snd_config_t *src, ++ snd_config_t *dest, snd_config_t *attr_cfg) + { + snd_config_iterator_t i, next; + int ret; +-- +2.39.2 + From arnout at mind.be Sun Oct 15 20:14:40 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:14:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/inadyn: bump to v2.12.0 In-Reply-To: <20231015063648.1360322-1-troglobit@gmail.com> References: <20231015063648.1360322-1-troglobit@gmail.com> Message-ID: <3b608e07-d48b-ee86-6806-efc1c023046c@mind.be> On 15/10/2023 08:36, Joachim Wiberg wrote: > New features and DDNS provider support (IPv64.net), but also a lot of > fixes to regressions introduced in v2.11.0, e.g.: > > - dynv6.com not working at all, regression in v2.11.0 > - Regression in DDNS provider names, introduced in v2.11.0: > - dyndns at 3322.org > - dyndns at he.net > - default at dynv6.com > - ipv6tb at he.net > > From https://github.com/troglobit/inadyn/releases/tag/v2.12.0 > > Signed-off-by: Joachim Wiberg Applied to master, thanks. Regards, Arnout > --- > package/inadyn/inadyn.hash | 2 +- > package/inadyn/inadyn.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/inadyn/inadyn.hash b/package/inadyn/inadyn.hash > index 94af9f87b7..eb5249e371 100644 > --- a/package/inadyn/inadyn.hash > +++ b/package/inadyn/inadyn.hash > @@ -1,5 +1,5 @@ > # Upstream .sha256 from GitHub > -sha256 9ddac7b6b0a1ed372c6cb5afaec6bea927ab539db02c8536dd10d73bd1d37c95 inadyn-2.11.0.tar.gz > +sha256 38fe00f20b293e64a89efc85f766ff40f0be3bcf9c3ed68b842104540a60806e inadyn-2.12.0.tar.gz > > # Locally computed > sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING > diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk > index 3e346fd769..fa2eedc1f3 100644 > --- a/package/inadyn/inadyn.mk > +++ b/package/inadyn/inadyn.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -INADYN_VERSION = 2.11.0 > +INADYN_VERSION = 2.12.0 > INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VERSION) > INADYN_LICENSE = GPL-2.0+ > INADYN_LICENSE_FILES = COPYING From arnout at mind.be Sun Oct 15 20:13:21 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:13:21 +0200 Subject: [Buildroot] [git commit] package/inadyn: bump to v2.12.0 Message-ID: <20231015201452.C5B4B85AAC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dc84952eb38bf1ef63fc8718dc2ced200a3e52dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master New features and DDNS provider support (IPv64.net), but also a lot of fixes to regressions introduced in v2.11.0, e.g.: - dynv6.com not working at all, regression in v2.11.0 - Regression in DDNS provider names, introduced in v2.11.0: - dyndns at 3322.org - dyndns at he.net - default at dynv6.com - ipv6tb at he.net >From https://github.com/troglobit/inadyn/releases/tag/v2.12.0 Signed-off-by: Joachim Wiberg Signed-off-by: Arnout Vandecappelle --- package/inadyn/inadyn.hash | 2 +- package/inadyn/inadyn.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/inadyn/inadyn.hash b/package/inadyn/inadyn.hash index 94af9f87b7..eb5249e371 100644 --- a/package/inadyn/inadyn.hash +++ b/package/inadyn/inadyn.hash @@ -1,5 +1,5 @@ # Upstream .sha256 from GitHub -sha256 9ddac7b6b0a1ed372c6cb5afaec6bea927ab539db02c8536dd10d73bd1d37c95 inadyn-2.11.0.tar.gz +sha256 38fe00f20b293e64a89efc85f766ff40f0be3bcf9c3ed68b842104540a60806e inadyn-2.12.0.tar.gz # Locally computed sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk index 3e346fd769..fa2eedc1f3 100644 --- a/package/inadyn/inadyn.mk +++ b/package/inadyn/inadyn.mk @@ -4,7 +4,7 @@ # ################################################################################ -INADYN_VERSION = 2.11.0 +INADYN_VERSION = 2.12.0 INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VERSION) INADYN_LICENSE = GPL-2.0+ INADYN_LICENSE_FILES = COPYING From fontaine.fabrice at gmail.com Sun Oct 15 20:14:49 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 22:14:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgeos: needs gcc >= 4.9 Message-ID: <20231015201449.1279312-1-fontaine.fabrice@gmail.com> libgeos needs gcc >= 4.9 since bump to version 3.12.0 in commit 16727d4595dd1972a46e92bbd2260a896cc19b60 and https://github.com/libgeos/geos/commit/289ed4efb26a9944f4385381e1574184b1e7448e: In file included from /home/thomas/autobuild/instance-0/output-1/build/libgeos-3.12.0/src/algorithm/ConvexHull.cpp:30:0: /home/thomas/autobuild/instance-0/output-1/build/libgeos-3.12.0/include/geos/util.h:38:12: error: 'std::make_unique' has not been declared using std::make_unique; ^ Fixes: - http://autobuild.buildroot.org/results/56bb572fb1d56d45dbb950a73b9b888239fa6968 Signed-off-by: Fabrice Fontaine --- package/libgeos/Config.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libgeos/Config.in b/package/libgeos/Config.in index 8411627d43..2a27c6f2a4 100644 --- a/package/libgeos/Config.in +++ b/package/libgeos/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBGEOS depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 help GEOS (Geometry Engine - Open Source) is a C++ port of the @@ -13,7 +14,8 @@ config BR2_PACKAGE_LIBGEOS https://trac.osgeo.org/geos -comment "libgeos needs a toolchain w/ C++, wchar, threads not binutils bug 27597" +comment "libgeos needs a toolchain w/ C++, wchar, gcc >= 4.9, threads not binutils bug 27597" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 -- 2.42.0 From arnout at mind.be Sun Oct 15 20:16:37 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:16:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/libite: bump to v2.6.1 In-Reply-To: <20231015092650.392835-1-troglobit@gmail.com> References: <20231015064117.1362398-1-troglobit@gmail.com> <20231015092650.392835-1-troglobit@gmail.com> Message-ID: <40b075d9-cffc-321a-294d-39f24ca5d5a6@mind.be> On 15/10/2023 11:26, Joachim Wiberg wrote: > Changes: > - New APIs introduced in v2.6.0, for details, see > https://github.com/troglobit/libite/releases/tag/v2.6.0 > - FTBFS fix for uClibc and musl libc, v2.6.1 > https://github.com/troglobit/libite/releases/tag/v2.6.1 > > Packaging: > - LICENSE hash changed due to bump in copyright years > - Disable doxygen (html docs) in build, introduced in v2.4.1 > > Signed-off-by: Joachim Wiberg Applied to master, thanks. Regards, Arnout > --- > package/libite/libite.hash | 4 ++-- > package/libite/libite.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/libite/libite.hash b/package/libite/libite.hash > index 7dac198ab8..3abad09b0a 100644 > --- a/package/libite/libite.hash > +++ b/package/libite/libite.hash > @@ -1,7 +1,7 @@ > # Upstream .sha256 from GitHub > -sha256 ca086adc7ebf0c2ebf2ed7a6787f9567fb802db8583576228dd5dd5ddfb7bb97 libite-2.5.3.tar.xz > +sha256 0185c3e76874c5821825deaf17cd45e81ce49aaa424e09de5f3665243c59026b libite-2.6.1.tar.xz > > # Locally calculated > -sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE > +sha256 3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422 LICENSE > sha256 c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14 src/chomp.c > sha256 bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918 src/pidfile.c > diff --git a/package/libite/libite.mk b/package/libite/libite.mk > index 1cef992e53..e4bd845487 100644 > --- a/package/libite/libite.mk > +++ b/package/libite/libite.mk > @@ -4,12 +4,12 @@ > # > ################################################################################ > > -LIBITE_VERSION = 2.5.3 > +LIBITE_VERSION = 2.6.1 > LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz > LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) > LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause > LIBITE_LICENSE_FILES = LICENSE src/chomp.c src/pidfile.c > LIBITE_INSTALL_STAGING = YES > -LIBITE_CONF_OPTS = --without-symlink > +LIBITE_CONF_OPTS = --without-symlink --disable-doxygen-doc > > $(eval $(autotools-package)) From arnout at mind.be Sun Oct 15 20:14:51 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:14:51 +0200 Subject: [Buildroot] [git commit] package/libite: bump to v2.6.1 Message-ID: <20231015201648.B4F4E85AB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=560f9dbc88f1dc68ba8dc4db8b9459d902786993 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changes: - New APIs introduced in v2.6.0, for details, see https://github.com/troglobit/libite/releases/tag/v2.6.0 - FTBFS fix for uClibc and musl libc, v2.6.1 https://github.com/troglobit/libite/releases/tag/v2.6.1 Packaging: - LICENSE hash changed due to bump in copyright years - Disable doxygen (html docs) in build, introduced in v2.4.1 Signed-off-by: Joachim Wiberg Signed-off-by: Arnout Vandecappelle --- package/libite/libite.hash | 4 ++-- package/libite/libite.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libite/libite.hash b/package/libite/libite.hash index 7dac198ab8..3abad09b0a 100644 --- a/package/libite/libite.hash +++ b/package/libite/libite.hash @@ -1,7 +1,7 @@ # Upstream .sha256 from GitHub -sha256 ca086adc7ebf0c2ebf2ed7a6787f9567fb802db8583576228dd5dd5ddfb7bb97 libite-2.5.3.tar.xz +sha256 0185c3e76874c5821825deaf17cd45e81ce49aaa424e09de5f3665243c59026b libite-2.6.1.tar.xz # Locally calculated -sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE +sha256 3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422 LICENSE sha256 c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14 src/chomp.c sha256 bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918 src/pidfile.c diff --git a/package/libite/libite.mk b/package/libite/libite.mk index 1cef992e53..e4bd845487 100644 --- a/package/libite/libite.mk +++ b/package/libite/libite.mk @@ -4,12 +4,12 @@ # ################################################################################ -LIBITE_VERSION = 2.5.3 +LIBITE_VERSION = 2.6.1 LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause LIBITE_LICENSE_FILES = LICENSE src/chomp.c src/pidfile.c LIBITE_INSTALL_STAGING = YES -LIBITE_CONF_OPTS = --without-symlink +LIBITE_CONF_OPTS = --without-symlink --disable-doxygen-doc $(eval $(autotools-package)) From giulio.benetti at benettiengineering.com Sun Oct 15 20:20:34 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 15 Oct 2023 22:20:34 +0200 Subject: [Buildroot] [PATCH] package/python-uvloop: bump version to 0.18.0 Message-ID: <20231015202034.1921882-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/python-uvloop/python-uvloop.hash | 4 ++-- package/python-uvloop/python-uvloop.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-uvloop/python-uvloop.hash b/package/python-uvloop/python-uvloop.hash index 69834d5243..598a3ef285 100644 --- a/package/python-uvloop/python-uvloop.hash +++ b/package/python-uvloop/python-uvloop.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/uvloop/json -md5 bc5e841a1c3f6e8935eeaf9d82b5ee29 uvloop-0.17.0.tar.gz -sha256 0ddf6baf9cf11a1a22c71487f39f15b2cf78eb5bde7e5b45fbb99e8a9d91b9e1 uvloop-0.17.0.tar.gz +md5 a7679334af9a39dc89f9298088d8d235 uvloop-0.18.0.tar.gz +sha256 d5d1135beffe9cd95d0350f19e2716bc38be47d5df296d7cc46e3b7557c0d1ff uvloop-0.18.0.tar.gz # Locally computed sha256 checksums sha256 377025287798f9dcd819e1f826fa5fc5e2f382528691ab0528c5cf8c8c282c27 LICENSE-APACHE sha256 6dd4c399f26de043d77a2ad7e31db4cb5bf08ea8368b0a42d6e158635cc8ab62 LICENSE-MIT diff --git a/package/python-uvloop/python-uvloop.mk b/package/python-uvloop/python-uvloop.mk index 147062cf7b..9c8462d972 100644 --- a/package/python-uvloop/python-uvloop.mk +++ b/package/python-uvloop/python-uvloop.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_UVLOOP_VERSION = 0.17.0 +PYTHON_UVLOOP_VERSION = 0.18.0 PYTHON_UVLOOP_SOURCE = uvloop-$(PYTHON_UVLOOP_VERSION).tar.gz -PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/ba/86/6dda1760481abf244cbd3908b79a4520d757040ca9ec37a79fc0fd01e2a0 +PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/80/f9/94d2d914d351c7d5db80e102fb0d7ab3bbb798e8322ab71a9fe9f8bfa31b PYTHON_UVLOOP_SETUP_TYPE = setuptools PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT -- 2.34.1 From arnout at mind.be Sun Oct 15 20:24:02 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:24:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/network-manager: bump to version 1.44.2 In-Reply-To: <20231015051544.429666-1-james.hilliard1@gmail.com> References: <20231015051544.429666-1-james.hilliard1@gmail.com> Message-ID: <32fce31e-418f-6781-dd4c-693013215171@mind.be> On 15/10/2023 07:15, James Hilliard wrote: > Drop patches which are now upstream. > > CONTRIBUTING.md hash changed due to text updates: > https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/987488a7ac4a193ea6160ab65a4bb215481cafb7 That explanation wasn't really sufficient, though I admit it's difficult to do better :-) I changed it to: CONTRIBUTING.md hash changed due to text various text updates, most of them outside of the section about licensing. The only change in that section is: Applied to master, thanks. Regards, Arnout > > Signed-off-by: James Hilliard > --- > ...option-to-set-the-mobile-broadband-p.patch | 60 ------------------- > ...build-failure-with-Dmodem_manager-fa.patch | 38 ------------ > package/network-manager/network-manager.hash | 6 +- > package/network-manager/network-manager.mk | 4 +- > 4 files changed, 5 insertions(+), 103 deletions(-) > delete mode 100644 package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch > delete mode 100644 package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch > > diff --git a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch b/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch > deleted file mode 100644 > index 4336472e45..0000000000 > --- a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch > +++ /dev/null > @@ -1,60 +0,0 @@ > -From 03ba04d4784fa4fc7ec31455070fb5ecf25ade23 Mon Sep 17 00:00:00 2001 > -From: Heiko Thiery > -Date: Fri, 27 Jan 2023 22:38:42 +0100 > -Subject: [PATCH] build: meson: add option to set the > - mobile-broadband-provider-info database > - > -When building network-manager in cross-compile environment meson is not able > -to detect the right location of the mobile-broadband-provider-info > -database by using the pkg-config module. > - > -By adding the option 'mobile_broadband_provider_info_database' to set the > -correct path to the datafile this can be solved. > - > -Signed-off-by: Heiko Thiery > - > -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1519 > ---- > - meson.build | 6 +++++- > - meson_options.txt | 1 + > - 2 files changed, 6 insertions(+), 1 deletion(-) > - > -diff --git a/meson.build b/meson.build > -index 0adc42f738..84ce52c736 100644 > ---- a/meson.build > -+++ b/meson.build > -@@ -584,7 +584,10 @@ enable_modem_manager = get_option('modem_manager') > - if enable_modem_manager > - mm_glib_dep = dependency('mm-glib', version: '>= 0.7.991') > - > -- mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') > -+ mobile_broadband_provider_info_database = get_option('mobile_broadband_provider_info_database') > -+ if mobile_broadband_provider_info_database == '' > -+ mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') > -+ endif > - config_h.set_quoted('MOBILE_BROADBAND_PROVIDER_INFO_DATABASE', mobile_broadband_provider_info_database) > - endif > - > -@@ -1054,6 +1057,7 @@ output += ' jansson: ' + jansson_msg + '\n' > - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' > - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' > - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' > -+output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' > - output += ' ofono: ' + enable_ofono.to_string() + '\n' > - output += ' concheck: ' + enable_concheck.to_string() + '\n' > - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' > -diff --git a/meson_options.txt b/meson_options.txt > -index 8b1d32e645..4e359f9e92 100644 > ---- a/meson_options.txt > -+++ b/meson_options.txt > -@@ -32,6 +32,7 @@ option('ppp', type: 'boolean', value: true, description: 'enable PPP/PPPoE suppo > - option('pppd', type: 'string', value: '', description: 'path to pppd binary') > - option('pppd_plugin_dir', type: 'string', value: '', description: 'path to the pppd plugins directory') > - option('modem_manager', type: 'boolean', value: true, description: 'Enable new ModemManager1 interface support') > -+option('mobile_broadband_provider_info_database', type: 'string', value: '', description: 'path to the mobile-broadband-provider-info database') > - option('ofono', type: 'boolean', value: false, description: 'Enable oFono support (experimental)') > - option('concheck', type: 'boolean', value: true, description: 'enable connectivity checking support') > - option('teamdctl', type: 'boolean', value: false, description: 'enable Teamd control support') > --- > -2.20.1 > - > diff --git a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch b/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch > deleted file mode 100644 > index 648be027e0..0000000000 > --- a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch > +++ /dev/null > @@ -1,38 +0,0 @@ > -From 736a2c356c1c4871e8c4e70be622c65c87d3bca8 Mon Sep 17 00:00:00 2001 > -From: Fabrice Fontaine > -Date: Tue, 21 Feb 2023 13:03:00 +0100 > -Subject: [PATCH] meson.build: fix build failure with -Dmodem_manager=false > - > -Fix the following build failure with -Dmodem_manager=false raised since > -https://gitlab.freedesktop.org/ffontaine/NetworkManager/-/commit/03ba04d4784fa4fc7ec31455070fb5ecf25ade23: > - > -../output-1/build/network-manager-1.40.10/meson.build:1060:0: ERROR: Unknown variable "mobile_broadband_provider_info_database". > - > -Fixes: > - - http://autobuild.buildroot.org/results/896879c8e8ce022556ee834216ced2f962ff279c > - > -Signed-off-by: Fabrice Fontaine > -[Upstream status: > -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1544] > ---- > - meson.build | 4 +++- > - 1 file changed, 3 insertions(+), 1 deletion(-) > - > -diff --git a/meson.build b/meson.build > -index 84ce52c736..b79240efc0 100644 > ---- a/meson.build > -+++ b/meson.build > -@@ -1057,7 +1057,9 @@ output += ' jansson: ' + jansson_msg + '\n' > - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' > - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' > - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' > --output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' > -+if enable_modem_manager > -+ output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' > -+endif > - output += ' ofono: ' + enable_ofono.to_string() + '\n' > - output += ' concheck: ' + enable_concheck.to_string() + '\n' > - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' > --- > -2.39.0 > - > diff --git a/package/network-manager/network-manager.hash b/package/network-manager/network-manager.hash > index 895351a537..0196d68c55 100644 > --- a/package/network-manager/network-manager.hash > +++ b/package/network-manager/network-manager.hash > @@ -1,6 +1,6 @@ > -# From https://download.gnome.org/sources/NetworkManager/1.42/NetworkManager-1.42.0.sha256sum > -sha256 2f6756d507bb6b46716594b67e6fe7491891e1b5b167bbafc5157dfa7753d5b4 NetworkManager-1.42.0.tar.xz > +# From https://download.gnome.org/sources/NetworkManager/1.44/NetworkManager-1.44.2.sha256sum > +sha256 4b58bf3ac57e2cefb5652efd0945eb0b4bc36a63d92a61ab471d8bb2c9a420e1 NetworkManager-1.44.2.tar.xz > # Locally computed > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL > -sha256 cfb6c71f6df5898e1724be3debe9adac48c115b903915406c1e7dfd362b57892 CONTRIBUTING.md > +sha256 e7cf3d92bda8e5365eaf4514d572146a19e93336f7a966493778d0d0c4476fae CONTRIBUTING.md > diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk > index 9188af29eb..f6ef923d55 100644 > --- a/package/network-manager/network-manager.mk > +++ b/package/network-manager/network-manager.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -NETWORK_MANAGER_VERSION_MAJOR = 1.42 > -NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).0 > +NETWORK_MANAGER_VERSION_MAJOR = 1.44 > +NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).2 > NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz > NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) > NETWORK_MANAGER_INSTALL_STAGING = YES From arnout at mind.be Sun Oct 15 20:21:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:21:29 +0200 Subject: [Buildroot] [git commit] package/network-manager: bump to version 1.44.2 Message-ID: <20231015202416.4DB7385AD9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0455f957a363e9b6a522a0f13b81715f27af11fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop patches which are now upstream. CONTRIBUTING.md hash changed due to text various text updates, most of them outside of the section about licensing. The only change in that section is: @@ -39,26 +39,29 @@ new contributions already must already agree to that. For more details see [RELICENSE.md](RELICENSE.md). +Do not use "Signed-off-by:" lines in commits for NetworkManager. It has no meaning. + Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle --- ...-add-option-to-set-the-mobile-broadband-p.patch | 60 ---------------------- ...-fix-build-failure-with-Dmodem_manager-fa.patch | 38 -------------- package/network-manager/network-manager.hash | 6 +-- package/network-manager/network-manager.mk | 4 +- 4 files changed, 5 insertions(+), 103 deletions(-) diff --git a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch b/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch deleted file mode 100644 index 4336472e45..0000000000 --- a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 03ba04d4784fa4fc7ec31455070fb5ecf25ade23 Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Fri, 27 Jan 2023 22:38:42 +0100 -Subject: [PATCH] build: meson: add option to set the - mobile-broadband-provider-info database - -When building network-manager in cross-compile environment meson is not able -to detect the right location of the mobile-broadband-provider-info -database by using the pkg-config module. - -By adding the option 'mobile_broadband_provider_info_database' to set the -correct path to the datafile this can be solved. - -Signed-off-by: Heiko Thiery - -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1519 ---- - meson.build | 6 +++++- - meson_options.txt | 1 + - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 0adc42f738..84ce52c736 100644 ---- a/meson.build -+++ b/meson.build -@@ -584,7 +584,10 @@ enable_modem_manager = get_option('modem_manager') - if enable_modem_manager - mm_glib_dep = dependency('mm-glib', version: '>= 0.7.991') - -- mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') -+ mobile_broadband_provider_info_database = get_option('mobile_broadband_provider_info_database') -+ if mobile_broadband_provider_info_database == '' -+ mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') -+ endif - config_h.set_quoted('MOBILE_BROADBAND_PROVIDER_INFO_DATABASE', mobile_broadband_provider_info_database) - endif - -@@ -1054,6 +1057,7 @@ output += ' jansson: ' + jansson_msg + '\n' - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' -+output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' - output += ' ofono: ' + enable_ofono.to_string() + '\n' - output += ' concheck: ' + enable_concheck.to_string() + '\n' - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' -diff --git a/meson_options.txt b/meson_options.txt -index 8b1d32e645..4e359f9e92 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -32,6 +32,7 @@ option('ppp', type: 'boolean', value: true, description: 'enable PPP/PPPoE suppo - option('pppd', type: 'string', value: '', description: 'path to pppd binary') - option('pppd_plugin_dir', type: 'string', value: '', description: 'path to the pppd plugins directory') - option('modem_manager', type: 'boolean', value: true, description: 'Enable new ModemManager1 interface support') -+option('mobile_broadband_provider_info_database', type: 'string', value: '', description: 'path to the mobile-broadband-provider-info database') - option('ofono', type: 'boolean', value: false, description: 'Enable oFono support (experimental)') - option('concheck', type: 'boolean', value: true, description: 'enable connectivity checking support') - option('teamdctl', type: 'boolean', value: false, description: 'enable Teamd control support') --- -2.20.1 - diff --git a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch b/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch deleted file mode 100644 index 648be027e0..0000000000 --- a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 736a2c356c1c4871e8c4e70be622c65c87d3bca8 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 21 Feb 2023 13:03:00 +0100 -Subject: [PATCH] meson.build: fix build failure with -Dmodem_manager=false - -Fix the following build failure with -Dmodem_manager=false raised since -https://gitlab.freedesktop.org/ffontaine/NetworkManager/-/commit/03ba04d4784fa4fc7ec31455070fb5ecf25ade23: - -../output-1/build/network-manager-1.40.10/meson.build:1060:0: ERROR: Unknown variable "mobile_broadband_provider_info_database". - -Fixes: - - http://autobuild.buildroot.org/results/896879c8e8ce022556ee834216ced2f962ff279c - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1544] ---- - meson.build | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 84ce52c736..b79240efc0 100644 ---- a/meson.build -+++ b/meson.build -@@ -1057,7 +1057,9 @@ output += ' jansson: ' + jansson_msg + '\n' - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' --output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' -+if enable_modem_manager -+ output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' -+endif - output += ' ofono: ' + enable_ofono.to_string() + '\n' - output += ' concheck: ' + enable_concheck.to_string() + '\n' - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' --- -2.39.0 - diff --git a/package/network-manager/network-manager.hash b/package/network-manager/network-manager.hash index 895351a537..0196d68c55 100644 --- a/package/network-manager/network-manager.hash +++ b/package/network-manager/network-manager.hash @@ -1,6 +1,6 @@ -# From https://download.gnome.org/sources/NetworkManager/1.42/NetworkManager-1.42.0.sha256sum -sha256 2f6756d507bb6b46716594b67e6fe7491891e1b5b167bbafc5157dfa7753d5b4 NetworkManager-1.42.0.tar.xz +# From https://download.gnome.org/sources/NetworkManager/1.44/NetworkManager-1.44.2.sha256sum +sha256 4b58bf3ac57e2cefb5652efd0945eb0b4bc36a63d92a61ab471d8bb2c9a420e1 NetworkManager-1.44.2.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL -sha256 cfb6c71f6df5898e1724be3debe9adac48c115b903915406c1e7dfd362b57892 CONTRIBUTING.md +sha256 e7cf3d92bda8e5365eaf4514d572146a19e93336f7a966493778d0d0c4476fae CONTRIBUTING.md diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 9188af29eb..f6ef923d55 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -4,8 +4,8 @@ # ################################################################################ -NETWORK_MANAGER_VERSION_MAJOR = 1.42 -NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).0 +NETWORK_MANAGER_VERSION_MAJOR = 1.44 +NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).2 NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) NETWORK_MANAGER_INSTALL_STAGING = YES From arnout at mind.be Sun Oct 15 20:27:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:27:29 +0200 Subject: [Buildroot] [PATCH] package/pkg-generic: drop support for arch-specific patches In-Reply-To: <20231014222541.891768-1-yann.morin.1998@free.fr> References: <20231014222541.891768-1-yann.morin.1998@free.fr> Message-ID: On 15/10/2023 00:25, Yann E. MORIN wrote: > The last architecture-specific patch we had was removed 2015-02-14 with > commit 9863553fe8fa (packages: all salute the passing of avr32), where > we eventually got rid of the avr32-specific patch for fbv. > > Since then, we've only had common patches (that apply systematically), > of conditional patches, that are applied in an ad-hoc manner with > post-patch hooks. Currently, we even only have one such patch (for > Linux). > > Since we do not advertise that possibility in the manual, and since we > do not want to have such patches, drop the support for it. > > This has the potential for breaking existing br2-external trees, but > there is a workaround for those: they can provide a pre-patch ook that > copies the ecessary per-arch patches if needed. We document this in the > manual. > > Signed-off-by: Yann E. MORIN Applied to master, thanks. Regards, Arnout > --- > docs/manual/migrating.adoc | 23 +++++++++++++++++++++++ > package/pkg-generic.mk | 4 ++-- > 2 files changed, 25 insertions(+), 2 deletions(-) > > diff --git a/docs/manual/migrating.adoc b/docs/manual/migrating.adoc > index 2667aeab96..21277f947b 100644 > --- a/docs/manual/migrating.adoc > +++ b/docs/manual/migrating.adoc > @@ -100,3 +100,26 @@ change implies that: > to be updated appropriately; > * the archive version suffix has been updated to +-br3+, so the hash > files must be updated appropriately. > + > +Before Buildroot 2023.11, it was possible (but undocumented and unused) > +to apply architecture-specific patches, by prefixing the patch filename > +with the architecture, e.g. `0001-some-changes.patch.arm` and such a > +patch would only be applied for that architecture. With Buildroot 2023.11, > +this is no longer supported, and such patches are now longer applied at > +all. > + > +If you still need per-architecture patches, then you may provide a > +xref:hooks[pre-patch hook] that copies the patches applicable to the > +configured architecture, e.g.: > + > +---- > +define LIBFOO_ARCH_PATCHES > + $(foreach p,$(wildcard $(LIBFOO_PKGDIR)/*.patch.$(ARCH)), \ > + cp -f $(p) $(patsubst %.$(ARCH),%,$(p)) > + ) > +endef > +LIBFOO_PRE_PATCH_HOOKS += LIBFOO_ARCH_PATCHES > +---- > + > +Note that no package in Buildroot has architecture-specific patches, and > +that such patches will most probably not be accepted. > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index 6e944dd6b7..face2dc6d9 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -252,9 +252,9 @@ $(BUILD_DIR)/%/.stamp_patched: > for D in $(PATCH_BASE_DIRS); do \ > if test -d $${D}; then \ > if test -d $${D}/$($(PKG)_VERSION); then \ > - $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch \*.patch.$(ARCH) || exit 1; \ > + $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch || exit 1; \ > else \ > - $(APPLY_PATCHES) $(@D) $${D} \*.patch \*.patch.$(ARCH) || exit 1; \ > + $(APPLY_PATCHES) $(@D) $${D} \*.patch || exit 1; \ > fi; \ > fi; \ > done; \ From arnout at mind.be Sun Oct 15 20:24:51 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:24:51 +0200 Subject: [Buildroot] [git commit] package/pkg-generic: drop support for arch-specific patches Message-ID: <20231015202740.D869F85B02@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6480774c430227688119cac3935f23b624608824 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The last architecture-specific patch we had was removed 2015-02-14 with commit 9863553fe8fa (packages: all salute the passing of avr32), where we eventually got rid of the avr32-specific patch for fbv. Since then, we've only had common patches (that apply systematically), or conditional patches, that are applied in an ad-hoc manner with post-patch hooks. Currently, we even only have one such patch (for Linux). Since we do not advertise that possibility in the manual, and since we do not want to have such patches, drop the support for it. This has the potential for breaking existing br2-external trees, but there is a workaround for those: they can provide a pre-patch ook that copies the necessary per-arch patches if needed. We document this in the manual. Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle --- docs/manual/migrating.adoc | 23 +++++++++++++++++++++++ package/pkg-generic.mk | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/manual/migrating.adoc b/docs/manual/migrating.adoc index 2667aeab96..21277f947b 100644 --- a/docs/manual/migrating.adoc +++ b/docs/manual/migrating.adoc @@ -100,3 +100,26 @@ change implies that: to be updated appropriately; * the archive version suffix has been updated to +-br3+, so the hash files must be updated appropriately. + +Before Buildroot 2023.11, it was possible (but undocumented and unused) +to apply architecture-specific patches, by prefixing the patch filename +with the architecture, e.g. `0001-some-changes.patch.arm` and such a +patch would only be applied for that architecture. With Buildroot 2023.11, +this is no longer supported, and such patches are now longer applied at +all. + +If you still need per-architecture patches, then you may provide a +xref:hooks[pre-patch hook] that copies the patches applicable to the +configured architecture, e.g.: + +---- +define LIBFOO_ARCH_PATCHES + $(foreach p,$(wildcard $(LIBFOO_PKGDIR)/*.patch.$(ARCH)), \ + cp -f $(p) $(patsubst %.$(ARCH),%,$(p)) + ) +endef +LIBFOO_PRE_PATCH_HOOKS += LIBFOO_ARCH_PATCHES +---- + +Note that no package in Buildroot has architecture-specific patches, and +that such patches will most probably not be accepted. diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index e140145ee3..289fa552b4 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -242,9 +242,9 @@ $(BUILD_DIR)/%/.stamp_patched: for D in $(PATCH_BASE_DIRS); do \ if test -d $${D}; then \ if test -d $${D}/$($(PKG)_VERSION); then \ - $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch \*.patch.$(ARCH) || exit 1; \ + $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch || exit 1; \ else \ - $(APPLY_PATCHES) $(@D) $${D} \*.patch \*.patch.$(ARCH) || exit 1; \ + $(APPLY_PATCHES) $(@D) $${D} \*.patch || exit 1; \ fi; \ fi; \ done; \ From peter at korsgaard.com Sun Oct 15 20:47:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 22:47:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libhtp: bump to version 0.5.45 Message-ID: <20231015204716.2AE5985B30@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b638d8d337c7e22a4b93d50b972ddc839be47a8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Needed by suricata 6.0.14: http://autobuild.buildroot.net/results/b9d/b9df165b014698e5b4c2d218574947476cf23216/ https://github.com/OISF/libhtp/blob/0.5.45/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit d821de0e4632a8016b4eaf8019bf885fb56f3579) Signed-off-by: Peter Korsgaard --- package/libhtp/libhtp.hash | 2 +- package/libhtp/libhtp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash index 8759823e16..c016cb3439 100644 --- a/package/libhtp/libhtp.hash +++ b/package/libhtp/libhtp.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz +sha256 d4214f94522fa5a1ec1909dbb52831c534788d93bc6b2ca8252de9332b11b606 libhtp-0.5.45.tar.gz sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk index bb8aa73b42..8a732d1d5c 100644 --- a/package/libhtp/libhtp.mk +++ b/package/libhtp/libhtp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBHTP_VERSION = 0.5.40 +LIBHTP_VERSION = 0.5.45 LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) LIBHTP_LICENSE = BSD-3-Clause LIBHTP_LICENSE_FILES = LICENSE From bernd at kuhls.net Sun Oct 15 20:47:53 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 22:47:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/pppd: disable for sparc and sparc64 architectures Message-ID: <20231015204753.5775-1-bernd@kuhls.net> pppd fails to build on sparc and sparc64 architectures with a redefinition of 'struct termio' error, with no proper fix or workaround for now. See discussions in [1] and [2] and picocom source code in [3]. [1] http://patchwork.ozlabs.org/project/buildroot/patch/20191227204520.1500501-1-fontaine.fabrice at gmail.com/ [2] http://patchwork.ozlabs.org/project/buildroot/patch/20200511142602.46170-1-vadim4j at gmail.com/ [3] https://github.com/npat-efault/picocom/blob/master/termbits2.h#L37 So let's disable it for now on sparc and sparc64 architectures. Fixes: http://autobuild.buildroot.net/results/c0a/c0a9dd410664dec670f90966e12b76e68f9883ee/ Signed-off-by: Bernd Kuhls --- package/network-manager/Config.in | 1 + package/pppd/Config.in | 8 ++++++++ package/rp-pppoe/Config.in | 1 + 3 files changed, 10 insertions(+) diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in index 57d7543131..8c284024e1 100644 --- a/package/network-manager/Config.in +++ b/package/network-manager/Config.in @@ -48,6 +48,7 @@ config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER config BR2_PACKAGE_NETWORK_MANAGER_PPPD bool "pppd support" + depends on !BR2_sparc64 && !BR2_sparc # pppd select BR2_PACKAGE_PPPD help This option enables support for PPPD daemon diff --git a/package/pppd/Config.in b/package/pppd/Config.in index 88c2180a9b..3ff8123aab 100644 --- a/package/pppd/Config.in +++ b/package/pppd/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PPPD bool "pppd" + depends on !BR2_sparc64 && !BR2_sparc depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU select BR2_PACKAGE_OPENSSL if BR2_TOOLCHAIN_USES_GLIBC @@ -22,5 +23,12 @@ config BR2_PACKAGE_PPPD_FILTER endif comment "pppd needs a toolchain w/ dynamic library" + depends on !BR2_sparc64 && !BR2_sparc depends on BR2_STATIC_LIBS depends on BR2_USE_MMU + +# pppd is disabled for sparc and sparc64 architectures because it fails +# to build with a redefinition of 'struct termio' error, with no proper +# fix or workaround for now +comment "pppd is disabled for sparc and sparc64 architectures" + depends on BR2_sparc64 || BR2_sparc diff --git a/package/rp-pppoe/Config.in b/package/rp-pppoe/Config.in index 6ff005a1e1..27eb0276db 100644 --- a/package/rp-pppoe/Config.in +++ b/package/rp-pppoe/Config.in @@ -4,6 +4,7 @@ comment "rp-pppoe needs a toolchain w/ dynamic library" config BR2_PACKAGE_RP_PPPOE bool "rp-pppoe" + depends on !BR2_sparc64 && !BR2_sparc # pppd depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_PPPD -- 2.39.2 From peter at korsgaard.com Sun Oct 15 20:46:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 22:46:02 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libhtp: bump to version 0.5.45 Message-ID: <20231015204822.AF26585B50@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bbe4466ad7cb3d1d218c01c7cfc7401f4281d563 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Needed by suricata 6.0.14: http://autobuild.buildroot.net/results/b9d/b9df165b014698e5b4c2d218574947476cf23216/ https://github.com/OISF/libhtp/blob/0.5.45/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit d821de0e4632a8016b4eaf8019bf885fb56f3579) Signed-off-by: Peter Korsgaard --- package/libhtp/libhtp.hash | 2 +- package/libhtp/libhtp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash index 8759823e16..c016cb3439 100644 --- a/package/libhtp/libhtp.hash +++ b/package/libhtp/libhtp.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz +sha256 d4214f94522fa5a1ec1909dbb52831c534788d93bc6b2ca8252de9332b11b606 libhtp-0.5.45.tar.gz sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk index bb8aa73b42..8a732d1d5c 100644 --- a/package/libhtp/libhtp.mk +++ b/package/libhtp/libhtp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBHTP_VERSION = 0.5.40 +LIBHTP_VERSION = 0.5.45 LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) LIBHTP_LICENSE = BSD-3-Clause LIBHTP_LICENSE_FILES = LICENSE From peter at korsgaard.com Sun Oct 15 20:48:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 22:48:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/libhtp: bump to version 0.5.45 In-Reply-To: <20230927200708.491826-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 27 Sep 2023 22:07:07 +0200") References: <20230927200708.491826-1-fontaine.fabrice@gmail.com> Message-ID: <87il77vch2.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/OISF/libhtp/blob/0.5.45/ChangeLog > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Oct 15 21:00:27 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 23:00:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/monit: fix build without SSP Message-ID: <20231015210027.1587075-1-fontaine.fabrice@gmail.com> Fix build without SSP raised since bump to version 5.33.0 in commit 8cedb39764f70f9d467bf0cc1acc99a8bbb963d6: configure:10524: checking for pthread_create in -lpthread configure:10547: /home/thomas/autobuild/instance-1/output-1/host/bin/arceb-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -Wextra -fstack-protector-all -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lpthread >&5 /home/thomas/autobuild/instance-1/output-1/host/lib/gcc/arceb-buildroot-linux-uclibc/10.2.0/../../../../arceb-buildroot-linux-uclibc/bin/ld: cannot find -lssp_nonshared [...] checking for pthread_create in -lpthread... no configure: error: POSIX thread library is required Fixes: - http://autobuild.buildroot.org/results/ce0f9f62d60f801b03a079135941424ad147cf45 Signed-off-by: Fabrice Fontaine --- package/monit/monit.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/monit/monit.mk b/package/monit/monit.mk index f9d6617a54..4766ce3d9e 100644 --- a/package/monit/monit.mk +++ b/package/monit/monit.mk @@ -18,6 +18,7 @@ MONIT_AUTORECONF = YES MONIT_CONF_ENV = \ libmonit_cv_setjmp_available=yes \ libmonit_cv_vsnprintf_c99_conformant=yes \ + ax_cv_check_cflags___fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) \ ac_cv_ipv6=yes MONIT_CONF_OPTS += \ -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 15 21:01:25 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 23:01:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/monit: fix openssl static build Message-ID: <20231015210125.1587623-1-fontaine.fabrice@gmail.com> Fix the following openssl static build failure raised since bump to version 5.33.0 in commit 8cedb39764f70f9d467bf0cc1acc99a8bbb963d6: configure: error: Could not find SSL library, please use --with-ssl-lib-dir option or disabled the SSL support using --without-ssl Fixes: - http://autobuild.buildroot.org/results/b2fe4ecd1d84c3cf7d0eb8f606b20bc6638d6d65 Signed-off-by: Fabrice Fontaine --- package/monit/monit.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/monit/monit.mk b/package/monit/monit.mk index ce0f5f0e92..f9d6617a54 100644 --- a/package/monit/monit.mk +++ b/package/monit/monit.mk @@ -25,8 +25,9 @@ MONIT_CONF_OPTS += \ --with-largefiles ifeq ($(BR2_PACKAGE_OPENSSL),y) +MONIT_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` MONIT_CONF_OPTS += --with-ssl --with-ssl-dir=$(STAGING_DIR)/usr -MONIT_DEPENDENCIES += openssl +MONIT_DEPENDENCIES += host-pkgconf openssl else MONIT_CONF_OPTS += --without-ssl endif -- 2.42.0 From bernd at kuhls.net Sun Oct 15 21:05:48 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 23:05:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/ethtool: switch to git snapshot Message-ID: <20231015210548.36882-1-bernd@kuhls.net> Upstream tarball does not include several header files leading to build errors with older kernels. For details see: https://patchwork.kernel.org/project/netdevbpf/patch/20231005163053.1800218-1-florian.fainelli at broadcom.com/ Switch _SITE to git snapshot and add _AUTORECONF = YES which needs host-pkgconf to fix subsequent configure error: ./configure: line 4723: PKG_PROG_PKG_CONFIG: command not found ./configure: line 5055: syntax error near unexpected token `MNL,' ./configure: line 5055: ` PKG_CHECK_MODULES(MNL, libmnl)' Fixes: http://autobuild.buildroot.net/results/69e/69e01b7f370920630d132fc43a40104fa5b3959f/ Signed-off-by: Bernd Kuhls --- package/ethtool/ethtool.hash | 3 +-- package/ethtool/ethtool.mk | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 8d2bf58420..812e4dd8d1 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,4 @@ -# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 814171ea4b8026b081c0741dbbf32e6968311483ecf64711232faec2ac70a14c ethtool-6.5.tar.xz # Locally calculated +sha256 b1f5fa66f71c3bab9daeacbd77e010b52c47df0a711b216847f78405f3299189 ethtool-6.5.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index 94d14b123b..ee710e0021 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -5,8 +5,11 @@ ################################################################################ ETHTOOL_VERSION = 6.5 -ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz -ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool +ETHTOOL_SITE = https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/snapshot +# needed only for autoreconf +ETHTOOL_DEPENDENCIES = host-pkgconf +# GIT version, shipped without configure +ETHTOOL_AUTORECONF = YES ETHTOOL_LICENSE = GPL-2.0 ETHTOOL_LICENSE_FILES = LICENSE COPYING ETHTOOL_CPE_ID_VENDOR = kernel -- 2.39.2 From peter at korsgaard.com Sun Oct 15 21:07:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 23:07:16 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] Update for 2023.08.2 Message-ID: <20231015210741.4099685B96@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fe50c054bce7fb9b2e073b9c1bc78dd8a187289a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard --- CHANGES | 39 +++++++++++++++++++++++++++++++++++++++ Makefile | 4 ++-- support/misc/Vagrantfile | 2 +- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index fa7dc51b42..6ebaa4f773 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,42 @@ +2023.08.2, released October 15th, 2023 + + Important / security related fixes. + + Defconfigs: Freescale ARM: Add ATF patch to fix build issue + with binutils 2.39+. QEMU Aarch64-virt: Enable ACPI support + for EDK2. Visionfive2: Bump kernel to fix build issue with GCC + 13. + + Per-package builds: Do not use hard links for host / target + dirs, fixing issues with package rebuilds or post-build + scripts modifications. + + Infrastructure: Explicitly disable shuffle mode for Make >= + 4.4 where needed. + + Urandom-scripts: Move seedrng init script to S01 for earlier + random number entrophy initialization. + + Updated/fixed packages: at91bootstrap, batman-adv, bind, cups, + efl, enlightenment, exim, gcc, glibc, gnu-efi, go, gptfdisk, + grub2, gst-omx, gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rstp-server, gst1-rtsp-vaapi, gstreamer1, + gstreamer1-editing-services, gtkmm3, libcue, libcurl, + libfastjson, libhtp, libmodplug, librsvg, libvpx, libyang, + linux-pam, linux-tools, mbedtls, mosquitto, mutt, neon, + netsnmp, nmap, nodejs, olsr, openblas, opkg-utils, php, pound, + powertop, python-mako, python3, rauc, rockchip-mali, samba4, + sslh, stress-ng, suricata, syslog-ng, systemd, tar, unifdef, + urandom-scripts, usbguard, webkitgtk, wilc-driver, + wireless-regdb, wpewebkit + + Issues resolved (http://bugs.uclibc.org): + + #15628: Missing dependencies in BR2_PACKAGE_PYTHON_MAKO + #15808: connman is not supported on musl + #15814: C++ not supported by bootlin toolchain + 2023.08.1, released September 27th, 2023 Important / security related fixes. diff --git a/Makefile b/Makefile index ae7ba3cdbe..3c0e27ce16 100644 --- a/Makefile +++ b/Makefile @@ -90,9 +90,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2023.08.1 +export BR2_VERSION := 2023.08.2 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1695852000 +BR2_VERSION_EPOCH = 1697404000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index a7e3b7456c..1d42a647ac 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2023.08.1' +RELEASE='2023.08.2' ### Change here for more memory/cores ### VM_MEMORY=2048 From fontaine.fabrice at gmail.com Sun Oct 15 21:22:42 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 23:22:42 +0200 Subject: [Buildroot] [PATCH 1/1] package/zabbix: add missing BR2_OPTIMIZE_FAST Message-ID: <20231015212242.1600362-1-fontaine.fabrice@gmail.com> Add missing BR2_OPTIMIZE_FAST dependency to BR2_PACKAGE_ZABBIX_SERVER to avoid the following build failure raised since commit e702a05d8998a1f2416225eb62b43b6585738fe9: checking for Zabbix server/proxy database selection... error configure: error: No database selected for Zabbix server/proxy. Use --with-mysql or --with-oracle or --with-postgresql or --with-sqlite3. Fixes: - http://autobuild.buildroot.org/results/ab403b45761c82f49a9380564bf10d3e7ae935f2 Signed-off-by: Fabrice Fontaine --- package/zabbix/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/zabbix/Config.in b/package/zabbix/Config.in index 377c0ff692..af677f782e 100644 --- a/package/zabbix/Config.in +++ b/package/zabbix/Config.in @@ -26,7 +26,7 @@ config BR2_PACKAGE_ZABBIX_SERVER depends on BR2_USE_MMU # mysql, postgresql depends on \ (BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) || \ - (BR2_USE_WCHAR && !BR2_STATIC_LIBS) + (BR2_USE_WCHAR && !BR2_STATIC_LIBS && !BR2_OPTIMIZE_FAST) select BR2_PACKAGE_ZLIB select BR2_PACKAGE_LIBEVENT -- 2.42.0 From yegorslists at googlemail.com Sun Oct 15 22:09:13 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Mon, 16 Oct 2023 00:09:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/ethtool: switch to git snapshot In-Reply-To: <20231015210548.36882-1-bernd@kuhls.net> References: <20231015210548.36882-1-bernd@kuhls.net> Message-ID: On Sun, Oct 15, 2023 at 11:06?PM Bernd Kuhls wrote: > > Upstream tarball does not include several header files leading to build > errors with older kernels. For details see: > https://patchwork.kernel.org/project/netdevbpf/patch/20231005163053.1800218-1-florian.fainelli at broadcom.com/ > > Switch _SITE to git snapshot and add _AUTORECONF = YES which needs > host-pkgconf to fix subsequent configure error: > > ./configure: line 4723: PKG_PROG_PKG_CONFIG: command not found > > ./configure: line 5055: syntax error near unexpected token `MNL,' > ./configure: line 5055: ` PKG_CHECK_MODULES(MNL, libmnl)' > > Fixes: > http://autobuild.buildroot.net/results/69e/69e01b7f370920630d132fc43a40104fa5b3959f/ > > Signed-off-by: Bernd Kuhls Reviewed-by: Yegor Yefremov > --- > package/ethtool/ethtool.hash | 3 +-- > package/ethtool/ethtool.mk | 7 +++++-- > 2 files changed, 6 insertions(+), 4 deletions(-) > > diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash > index 8d2bf58420..812e4dd8d1 100644 > --- a/package/ethtool/ethtool.hash > +++ b/package/ethtool/ethtool.hash > @@ -1,5 +1,4 @@ > -# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc > -sha256 814171ea4b8026b081c0741dbbf32e6968311483ecf64711232faec2ac70a14c ethtool-6.5.tar.xz > # Locally calculated > +sha256 b1f5fa66f71c3bab9daeacbd77e010b52c47df0a711b216847f78405f3299189 ethtool-6.5.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE > diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk > index 94d14b123b..ee710e0021 100644 > --- a/package/ethtool/ethtool.mk > +++ b/package/ethtool/ethtool.mk > @@ -5,8 +5,11 @@ > ################################################################################ > > ETHTOOL_VERSION = 6.5 > -ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz > -ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool > +ETHTOOL_SITE = https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/snapshot > +# needed only for autoreconf > +ETHTOOL_DEPENDENCIES = host-pkgconf > +# GIT version, shipped without configure > +ETHTOOL_AUTORECONF = YES > ETHTOOL_LICENSE = GPL-2.0 > ETHTOOL_LICENSE_FILES = LICENSE COPYING > ETHTOOL_CPE_ID_VENDOR = kernel > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fido_max at inbox.ru Mon Oct 16 06:18:02 2023 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Mon, 16 Oct 2023 09:18:02 +0300 Subject: [Buildroot] [PATCH 1/1] package/libgeos: drop DISABLE_GEOS_INLINE In-Reply-To: <20231015201204.1277675-1-fontaine.fabrice@gmail.com> References: <20231015201204.1277675-1-fontaine.fabrice@gmail.com> Message-ID: <586a020d-5a67-4025-8263-08c74a6372fc@inbox.ru> On 15.10.2023 23:12, Fabrice Fontaine wrote: > DISABLE_GEOS_INLINE has ben dropped since version 3.11.0 and > https://github.com/libgeos/geos/commit/1516e42eeae3b3114585f1e94a0e723d835f7757 > > Signed-off-by: Fabrice Fontaine Reviewed-by: Maxim Kochetkov From peter at korsgaard.com Mon Oct 16 07:32:03 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 09:32:03 +0200 Subject: [Buildroot] Buildroot 2023.08.2 released Message-ID: <87edhvuioc.fsf@48ers.dk> Hi, Buildroot is a simple tool for creating complete embedded Linux systems (http://buildroot.org). Buildroot 2023.08.2 is released - Go download it at: http://buildroot.org/downloads/buildroot-2023.08.2.tar.gz or http://buildroot.org/downloads/buildroot-2023.08.2.tar.xz Or get it from Git: git://git.buildroot.org/buildroot Buildroot 2023.08.2 is a bugfix release, fixing a number of important / security related issues discovered since the 2023.08.1 release. - Defconfigs: Freescale ARM: Add ATF patch to fix build issue with binutils 2.39+. QEMU Aarch64-virt: Enable ACPI support for EDK2. Visionfive2: Bump kernel to fix build issue with GCC 13. - Per-package builds: Do not use hard links for host / target dirs, fixing issues with package rebuilds or post-build scripts modifications. - Infrastructure: Explicitly disable shuffle mode for Make >= 4.4 where needed. - Urandom-scripts: Move seedrng init script to S01 for earlier random number entrophy initialization. - Security fixes for bind, cups, enlightenment, exim, glibc, gst1-plugins-base, gst1-plugins-good, gst1-plugins-bad, gst1-plugins-ugly, go, libcue, libcurl, libfastjson, librsvg, libvpx, libyang, mbedtls, netsnmp, samba4, suricata, tar - Fixes for download/compilation/runtime/license issues in at91bootstrap, batman-adv, efl, gnu-efi, gst-omx, gst1-devtools, gst1-libav, gst1-python, gst1-rtsp-server, gst1-rtsp-vaapi, gstreamer1, gstreamer1-editing-services, go, gptfdisk, grub2, gtkmm3, libhtp, libmodplug, linux-pam, linux-tools, mosquitto, mutt, neon, nmap, nodejs, olsr, openblas, opkg-utils, php, pound, powertop, python-mako, python3, rauc, rockchip-mali, sslh, stress-ng, syslog-ng, systemd, unifdef, urandom-scripts, usbguard, webkitgtk, wilc-driver, wireless-regdb, wpewebkit For more details, see the CHANGES file: https://git.buildroot.net/buildroot/plain/CHANGES?id=2023.08.2 Users of the affected packages are strongly encouraged to upgrade. Many thanks to all the people contributing to this release: git shortlog -sn 2023.08.1.. 22 Peter Korsgaard 18 Fabrice Fontaine 11 Bernd Kuhls 5 Yann E. MORIN 4 Daniel Lang 3 Brandon Maier 3 Francois Perrad 2 Adam Duskett 2 Jens Maus 2 Romain Naour 2 Thomas Devoogdt 2 Thomas Petazzoni 1 Arnout Vandecappelle 1 Ben Dooks 1 Ben Wolsieffer 1 Christian Stewart 1 Ga?l PORTAY 1 Giulio Benetti 1 Gleb Mazovetskiy 1 Herve Codina 1 James Hilliard 1 Jan ?erm?k 1 Julien Olivain 1 Kory Maincent 1 Maxim Kochetkov 1 Sebastian Weyer 1 Waldemar Brodkorb 1 Yu Chien Peter Lin -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 16 08:19:31 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 10:19:31 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] Update for 2023.02.6 Message-ID: <20231016081957.52F6685C00@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=593454c77e542ca7f6924087376ad0de71412e49 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard --- CHANGES | 36 ++++++++++++++++++++++++++++++++++++ Makefile | 4 ++-- support/misc/Vagrantfile | 2 +- 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index c6ccc09e3f..5c7041963c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,39 @@ +2023.02.6, released October 16th, 2023 + + Important / security related fixes. + + Per-package builds: Do not use hard links for host / target + dirs, fixing issues with package rebuilds or post-build + scripts modifications. + + Infrastructure: Explicitly disable shuffle mode for Make >= + 4.4 where needed. + + Urandom-scripts: Move seedrng init script to S01 for earlier + random number entrophy initialization. + + Go: Bump to 1.20.x as 1.19.x is now EOL and affected by + security issues. + + Updated/fixed packages: at91bootstrap, bind, cups, efl, + enlightenment, exim, gcc, glibc, gnu-efi, go, go-bootstrap, + gptfdisk, gst-omx, gst1-devtools, gst1-libav, + gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, + gst1-plugins-ugly, gst1-python, gst1-rstp-server, + gst1-rtsp-vaapi, gstreamer1, gstreamer1-editing-services, + libcue, libcurl, libfastjson, libhtp, libmodplug, librsvg, + libvpx, libyang, linux-tools, mbedtls, mosquitto, mutt, neon, + netsnmp, nmap, nodejs, olsr, openblas, opkg-utils, php, + powertop, python-mako, python3, rockchip-mali, samba4, sslh, + suricata, tar, unifdef, unrandom-scripts, webkitgtk, + wireless-regdb, wpewebkit + + Issues resolved (http://bugs.uclibc.org): + + #15628: Missing dependencies in BR2_PACKAGE_PYTHON_MAKO + #15808: connman is not supported on musl + #15814: C++ not supported by bootlin toolchain + 2023.02.5, released September 27th, 2023 Important / security related fixes. diff --git a/Makefile b/Makefile index 67d3f3105a..0fcd1cedab 100644 --- a/Makefile +++ b/Makefile @@ -90,9 +90,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2023.02.5 +export BR2_VERSION := 2023.02.6 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1695815000 +BR2_VERSION_EPOCH = 1697444000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index ae060e4425..911e7ed463 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2023.02.5' +RELEASE='2023.02.6' ### Change here for more memory/cores ### VM_MEMORY=2048 From fido_max at inbox.ru Mon Oct 16 08:35:12 2023 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Mon, 16 Oct 2023 11:35:12 +0300 Subject: [Buildroot] [PATCH 1/1] package/libgeos: needs gcc >= 4.9 In-Reply-To: <20231015201449.1279312-1-fontaine.fabrice@gmail.com> References: <20231015201449.1279312-1-fontaine.fabrice@gmail.com> Message-ID: On 15.10.2023 23:14, Fabrice Fontaine wrote: > libgeos needs gcc >= 4.9 since bump to version 3.12.0 in commit > 16727d4595dd1972a46e92bbd2260a896cc19b60 and > https://github.com/libgeos/geos/commit/289ed4efb26a9944f4385381e1574184b1e7448e: > > In file included from /home/thomas/autobuild/instance-0/output-1/build/libgeos-3.12.0/src/algorithm/ConvexHull.cpp:30:0: > /home/thomas/autobuild/instance-0/output-1/build/libgeos-3.12.0/include/geos/util.h:38:12: error: 'std::make_unique' has not been declared > using std::make_unique; > ^ > > Fixes: > - http://autobuild.buildroot.org/results/56bb572fb1d56d45dbb950a73b9b888239fa6968 > > Signed-off-by: Fabrice Fontaine Reviewed-by: Maxim Kochetkov From peter at korsgaard.com Mon Oct 16 09:19:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 11:19:32 +0200 Subject: [Buildroot] Buildroot 2023.02.6 released Message-ID: <87a5sivs9n.fsf@48ers.dk> Hi, Buildroot is a simple tool for creating complete embedded Linux systems (http://buildroot.org). Buildroot 2023.02.6 is released - Go download it at: http://buildroot.org/downloads/buildroot-2023.02.6.tar.gz or http://buildroot.org/downloads/buildroot-2023.02.6.tar.xz Or get it from Git: git://git.buildroot.org/buildroot Buildroot 2023.02.6 is a bugfix release on the current long term release, fixing a number of important / security related issues discovered since the 2023.02.5 release. - Per-package builds: Do not use hard links for host / target dirs, fixing issues with package rebuilds or post-build scripts modifications. - Infrastructure: Explicitly disable shuffle mode for Make >= 4.4 where needed. - Urandom-scripts: Move seedrng init script to S01 for earlier random number entrophy initialization. - Go: Bump to 1.20.x as 1.19.x is now EOL and affected by security issues. - Security fixes for bind, cups, enlightenment, exim, glibc, go, gst1-plugins-base, gst1-plugins-bad, gst1-plugins-good, gst1-plugins-ugly, libcue, libcurl, libfastjson, librsvg, libvpx, libyang, mbedtls, netsnmp, samba4, suricata, tar - Fixes for download/compilation/runtime/license issues in at91bootstrap, efl, gnu-efi, go, gptfdisk, gst-omx, gst1-devtools, gst1-libav, gst1-python, gst1-rstp-server, gst1-rstp-vaapi, gstreamer1, gstreamer1-editing-services, libhtp, libmodplug, linux-tools, mosquitto, mutt, neon, nmap, nodejs, olsr, openblas, opkg-utils, php, powertop, python-mako, python3, rockchip-mali, sslh, unifdef, urandom-scripts, webkitgtk, wireless-regdb, wpewebkit For more details, see the CHANGES file: https://git.buildroot.net/buildroot/plain/CHANGES?id=2023.02.6 Users of the affected packages are strongly encouraged to upgrade. Many thanks to all the people contributing to this release: git shortlog -sn 2023.02.5.. 22 Peter Korsgaard 13 Fabrice Fontaine 12 Bernd Kuhls 8 Christian Stewart 5 Yann E. MORIN 4 Francois Perrad 3 Daniel Lang 3 Thomas Petazzoni 2 Romain Naour 2 Thomas Devoogdt 1 Arnout Vandecappelle 1 Ben Wolsieffer 1 Brandon Maier 1 Ga?l PORTAY 1 Gleb Mazovetskiy 1 Herve Codina 1 James Hilliard 1 Jan ?erm?k 1 Jens Maus 1 Julien Olivain 1 Kory Maincent 1 Sebastian Weyer 1 Yu Chien Peter Lin -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 16 09:34:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 11:34:39 +0200 Subject: [Buildroot] [git commit] Update for 2023.08.2 Message-ID: <20231016094106.99A7485C8F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cc31a8057a98454b4ed3bfca2e3b2bfee49c70f2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard (cherry picked from commit fe50c054bce7fb9b2e073b9c1bc78dd8a187289a) [Peter: drop Makefile change] Signed-off-by: Peter Korsgaard --- CHANGES | 39 +++++++++++++++++++++++++++++++++++++++ support/misc/Vagrantfile | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 4164bd81f3..81bc209b92 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,42 @@ +2023.08.2, released October 15th, 2023 + + Important / security related fixes. + + Defconfigs: Freescale ARM: Add ATF patch to fix build issue + with binutils 2.39+. QEMU Aarch64-virt: Enable ACPI support + for EDK2. Visionfive2: Bump kernel to fix build issue with GCC + 13. + + Per-package builds: Do not use hard links for host / target + dirs, fixing issues with package rebuilds or post-build + scripts modifications. + + Infrastructure: Explicitly disable shuffle mode for Make >= + 4.4 where needed. + + Urandom-scripts: Move seedrng init script to S01 for earlier + random number entrophy initialization. + + Updated/fixed packages: at91bootstrap, batman-adv, bind, cups, + efl, enlightenment, exim, gcc, glibc, gnu-efi, go, gptfdisk, + grub2, gst-omx, gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rstp-server, gst1-rtsp-vaapi, gstreamer1, + gstreamer1-editing-services, gtkmm3, libcue, libcurl, + libfastjson, libhtp, libmodplug, librsvg, libvpx, libyang, + linux-pam, linux-tools, mbedtls, mosquitto, mutt, neon, + netsnmp, nmap, nodejs, olsr, openblas, opkg-utils, php, pound, + powertop, python-mako, python3, rauc, rockchip-mali, samba4, + sslh, stress-ng, suricata, syslog-ng, systemd, tar, unifdef, + urandom-scripts, usbguard, webkitgtk, wilc-driver, + wireless-regdb, wpewebkit + + Issues resolved (http://bugs.uclibc.org): + + #15628: Missing dependencies in BR2_PACKAGE_PYTHON_MAKO + #15808: connman is not supported on musl + #15814: C++ not supported by bootlin toolchain + 2023.08.1, released September 27th, 2023 Important / security related fixes. diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index a7e3b7456c..1d42a647ac 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2023.08.1' +RELEASE='2023.08.2' ### Change here for more memory/cores ### VM_MEMORY=2048 From peter at korsgaard.com Mon Oct 16 09:40:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 11:40:37 +0200 Subject: [Buildroot] [git commit] docs/website: Update for 2023.08.2 Message-ID: <20231016094106.AFA1585AFF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e077133a6577821946e7377489d54be01fbbe576 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- docs/website/download.html | 18 +++++++++--------- docs/website/news.html | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/docs/website/download.html b/docs/website/download.html index af39ddc9eb..f4f35c949f 100644 --- a/docs/website/download.html +++ b/docs/website/download.html @@ -42,37 +42,37 @@ -

Latest stable release: 2023.08.1

+

Latest stable release: 2023.08.2

https://bugs.busybox.net/attachment.cgi?id=9649&action=edit configure cmd of python2 and python3 Hello, We are passing from python 2.7.18 to python 3.9.7 on buildroot 2021.11 and we have a big drop on the performance. On our platform (arm-cortexA8), python3 is 2.5 times slower than python2 Our searches on the internet never spoke about a loss of performance as big as this one. So we are thinking we have a problem about our python and the way it is compiled, this is why we post here. We create an image with both, python2 and python3 on it, no other software is running on background, and run the following test: ``` # cat test_python.py #!/usr/bin/python import sys n = int(sys.argv[1]) while n: n -= 1 # python2 --version Python 2.7.18 # time python2 ./test_python.py 10000000 real 0m 21.23s user 0m 20.73s sys 0m 0.48s # python3 --version Python 3.9.7 # time python3 ./test_python.py 10000000 real 0m 51.39s user 0m 51.34s sys 0m 0.02s ``` Our `./configure` are almost identic. And flags used during compile time as well. We tried python 3.11.5 on buildroot 2023.08.3 and performance are as bad as 3.9.7. Do you have any ideas about where we can lead our research? Thank you. -- You are receiving this mail because: You are on the CC list for the bug. From stefan at agner.ch Fri Oct 27 15:46:13 2023 From: stefan at agner.ch (Stefan Agner) Date: Fri, 27 Oct 2023 17:46:13 +0200 Subject: [Buildroot] [PATCH 2/2] package/docker-cli: bump version to v24.0.7 In-Reply-To: References: Message-ID: Minor bugfix in docker ps status description. https://github.com/moby/moby/releases/tag/v24.0.7 Signed-off-by: Stefan Agner --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index 5d8c1b0f59..9c8d08bba5 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c1a4a580ced3633e489c5c9869a20198415da44df7023fdc200d425cdf5fa652 docker-cli-24.0.6.tar.gz +sha256 72a54d131c28938221c81bd08364459fed9c71c093d4d615d324aaf31de6db1d docker-cli-24.0.7.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index 53c9ddb6b8..95fce27ffb 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 24.0.6 +DOCKER_CLI_VERSION = 24.0.7 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 -- 2.42.0 From stefan at agner.ch Fri Oct 27 15:46:12 2023 From: stefan at agner.ch (Stefan Agner) Date: Fri, 27 Oct 2023 17:46:12 +0200 Subject: [Buildroot] [PATCH 1/2] package/docker-engine: bump version to v24.0.7 Message-ID: The overlay2 layers metadata are now written atomically. Many other bugfixes and hardening against security issues around the power capping framework. https://github.com/moby/moby/releases/tag/v24.0.7 Signed-off-by: Stefan Agner --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 7a8b17d3f3..931d6529e1 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 29a8ee54e9ea008b40eebca42dec8b67ab257eb8ac175f67e79c110e4187d7d2 docker-engine-24.0.6.tar.gz +sha256 16a2cb4cf4d314a070085e0df06e3a6bd9ec678d28715b64060af694fc9051d5 docker-engine-24.0.7.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index a8f47254a4..34e74c09c6 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 24.0.6 +DOCKER_ENGINE_VERSION = 24.0.7 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 -- 2.42.0 From ovlevin at salutedevices.com Fri Oct 27 15:52:21 2023 From: ovlevin at salutedevices.com (Oleg Lyovin) Date: Fri, 27 Oct 2023 18:52:21 +0300 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: fix package build with gcc 4.8 Message-ID: <20231027155221.977752-1-ovlevin@salutedevices.com> python-pycryptodomex uses C99 features like variable declaration in for-loop statement, while old compilers assumes C89 by default. This patch explicitly specifies C99 standard. Change-Id: I934211714307cea43541167fbc72ff30fb66ad5f Signed-off-by: Oleg Lyovin --- package/python-pycryptodomex/python-pycryptodomex.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index 3790aa4787..ee8ce6e069 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -13,5 +13,11 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ Public Domain (pycrypto original code) PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto +PYTHON_PYCRYPTODOMEX_CFLAGS = -std=c99 + +PYTHON_PYCRYPTODOMEX_ENV = \ + CFLAGS="$(PYTHON_PYCRYPTODOMEX_CFLAGS)" +HOST_PYTHON_PYCRYPTODOMEX_ENV = $(PYTHON_PYCRYPTODOMEX_ENV) + $(eval $(python-package)) $(eval $(host-python-package)) -- 2.42.0.270.gbcb6cae296 From ovlevin at salutedevices.com Fri Oct 27 16:10:10 2023 From: ovlevin at salutedevices.com (Oleg Lyovin) Date: Fri, 27 Oct 2023 19:10:10 +0300 Subject: [Buildroot] [PATCH 1/1] package/fscryptctl: add choice between v1 and v2 versions Message-ID: <20231027161010.980901-1-ovlevin@salutedevices.com> b832f6eb9d bumped fscryptctl to the version that does not support fscrypt v1. However, there may be active users that already has v1 configuration without an ability to migrate to v2, so the above change would break them. This patch adds the option to choice which fscryptctl version to use assuming v2 by default. Signed-off-by: Oleg Lyovin --- package/fscryptctl/Config.in | 22 +++++++++++++++++++ package/fscryptctl/fscryptctl.mk | 22 +------------------ .../fscryptctl_v1/fscryptctl_v1.hash | 3 +++ .../fscryptctl/fscryptctl_v1/fscryptctl_v1.mk | 20 +++++++++++++++++ .../fscryptctl_v2.hash} | 2 +- .../fscryptctl/fscryptctl_v2/fscryptctl_v2.mk | 21 ++++++++++++++++++ 6 files changed, 68 insertions(+), 22 deletions(-) create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk rename package/fscryptctl/{fscryptctl.hash => fscryptctl_v2/fscryptctl_v2.hash} (81%) create mode 100644 package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk diff --git a/package/fscryptctl/Config.in b/package/fscryptctl/Config.in index 91b9ba8ebe..2fb7176ad9 100644 --- a/package/fscryptctl/Config.in +++ b/package/fscryptctl/Config.in @@ -10,3 +10,25 @@ config BR2_PACKAGE_FSCRYPTCTL (BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O encrypt -b 4096") https://github.com/google/fscryptctl + +if BR2_PACKAGE_FSCRYPTCTL + +choice + prompt "fscryptctl variant" + default BR2_PACKAGE_FSCRYPTCTL_V2 + help + Select the version of fscrypt. + +config BR2_PACKAGE_FSCRYPTCTL_V2 + bool "fscrpyctl_v2" + help + Support the latest fscrypt v2 implementation. + +config BR2_PACKAGE_FSCRYPTCTL_V1 + bool "fscryptctl_v1" + help + v1 is deprecated, enable this only for legacy configurations. + +endchoice + +endif diff --git a/package/fscryptctl/fscryptctl.mk b/package/fscryptctl/fscryptctl.mk index 0546f67a1f..e3571f4e07 100644 --- a/package/fscryptctl/fscryptctl.mk +++ b/package/fscryptctl/fscryptctl.mk @@ -1,21 +1 @@ -################################################################################ -# -# fscryptctl -# -################################################################################ - -FSCRYPTCTL_VERSION = 1.0.0 -FSCRYPTCTL_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_VERSION)) -FSCRYPTCTL_LICENSE = Apache-2.0 -FSCRYPTCTL_LICENSE_FILES = LICENSE - -define FSCRYPTCTL_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl -endef - -define FSCRYPTCTL_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl -endef - -$(eval $(generic-package)) +include $(sort $(wildcard package/fscryptctl/*/*.mk)) diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash new file mode 100644 index 0000000000..f810aaacb5 --- /dev/null +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 970a8febbcbf315313711d8a7ee3d954dea593d8087744d3cba65f6cb4bebcc1 fscryptctl_v1-f037dcf4354ce8f25d0f371b58dfe7a7ac27576f.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk new file mode 100644 index 0000000000..c1c1ab34f2 --- /dev/null +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# fscryptctl_v1 +# +################################################################################ + +FSCRYPTCTL_V1_VERSION = f037dcf4354ce8f25d0f371b58dfe7a7ac27576f +FSCRYPTCTL_V1_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_V1_VERSION)) +FSCRYPTCTL_V1_LICENSE = Apache-2.0 +FSCRYPTCTL_V1_LICENSE_FILES = LICENSE + +define FSCRYPTCTL_V1_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) fscryptctl +endef + +define FSCRYPTCTL_V1_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl +endef + +$(eval $(generic-package)) diff --git a/package/fscryptctl/fscryptctl.hash b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash similarity index 81% rename from package/fscryptctl/fscryptctl.hash rename to package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash index 0dcca6893e..61ff022310 100644 --- a/package/fscryptctl/fscryptctl.hash +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl-1.0.0.tar.gz +sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl_v2-1.0.0.tar.gz sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk new file mode 100644 index 0000000000..847a7bbcda --- /dev/null +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# fscryptctl_v2 +# +################################################################################ + +FSCRYPTCTL_V2_VERSION = 1.0.0 +FSCRYPTCTL_V2_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_V2_VERSION)) +FSCRYPTCTL_V2_LICENSE = Apache-2.0 +FSCRYPTCTL_V2_LICENSE_FILES = LICENSE + +define FSCRYPTCTL_V2_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl +endef + +define FSCRYPTCTL_V2_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl +endef + +$(eval $(generic-package)) -- 2.42.0.270.gbcb6cae296 From bugzilla at busybox.net Fri Oct 27 17:27:29 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Fri, 27 Oct 2023 17:27:29 +0000 Subject: [Buildroot] [Bug 15832] Low performance with python3 compare to python2 on the same platform In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15832 --- Comment #1 from Vincent Fazio --- What's the output of `python -m cProfile test_python.py 10000000` on each? I do see some variances even in Docker containers but not to that degree. On an rpi CM3 it doesn't take anywhere near the numbers you're posting below (only 8s). One option would be to profile the python interpreter itself. 3.12 has hooks for `perf` but they may not be representative of the situation you're seeing as recent interpreters try to perform opcode specialization. Otherwise you may have to build the interpreter with profiling enabled and use another external tool to collect that data. -- You are receiving this mail because: You are on the CC list for the bug. From bernd at kuhls.net Fri Oct 27 18:07:09 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 27 Oct 2023 20:07:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-iptvsimple: bump version to 20.11.1-Nexus Message-ID: <20231027180709.47696-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- 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 8f60721163..0895b2e910 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 c2014b11dd928a1d4789279d7f3ce25af8af4047194e8406f9dfd99d16fe2ee2 kodi-pvr-iptvsimple-20.11.0-Nexus.tar.gz +sha256 5c8bd2f04b3114311294e1dc064e592f712a62ff283a451bc8c19878f05286bd kodi-pvr-iptvsimple-20.11.1-Nexus.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 1ea3975be5..7314e855d9 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 = 20.11.0-Nexus +KODI_PVR_IPTVSIMPLE_VERSION = 20.11.1-Nexus 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 -- 2.39.2 From fabien.nogue at etictelecom.com Fri Oct 27 15:55:38 2023 From: fabien.nogue at etictelecom.com (Fabien Nogue) Date: Fri, 27 Oct 2023 17:55:38 +0200 Subject: [Buildroot] Low performance with python3 compare to python2 on the same platform Message-ID: <514a891e-7d31-4592-b050-d9d9402152cc@etictelecom.com> My bad, I create a bug (15832) instead of sending a mail to the mailing list... Hello, We are passing from python 2.7.18 to python 3.9.7 on buildroot 2021.11 and we have a big drop on the performance. On our platform (arm-cortexA8), python3 is 2.5 times slower than python2 Our searches on the internet never spoke about a loss of performance as big as this one. So we are thinking we have a problem about our python and the way it is compiled, this is why we post here. We create an image with both, python2 and python3 on it, no other software is running on background, and run the following test: ``` # cat test_python.py #!/usr/bin/python import sys n = int(sys.argv[1]) while n: n -= 1 # python2 --version Python 2.7.18 # time python2 ./test_python.py 10000000 real 0m 21.23s user 0m 20.73s sys 0m 0.48s # python3 --version Python 3.9.7 # time python3 ./test_python.py 10000000 real 0m 51.39s user 0m 51.34s sys 0m 0.02s ``` Our `./configure` are almost identic. And flags used during compile time as well. We tried python 3.11.5 on buildroot 2023.08.3 and performance are as bad as 3.9.7. Do you have any ideas about where we can lead our research? Thank you. Fabien Nogue -------------- next part -------------- An HTML attachment was scrubbed... URL: From Noreply at busybox.net Fri Oct 27 18:58:54 2023 From: Noreply at busybox.net (Noreply at busybox.net) Date: 27 Oct 2023 20:58:54 +0200 Subject: [Buildroot] E-mail Account Verification For buildroot@busybox.net !!! Message-ID: <20231027205853.9CD0A8A33E383508@busybox.net> An HTML attachment was scrubbed... URL: From thomas.petazzoni at bootlin.com Sat Oct 28 05:42:03 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 28 Oct 2023 05:42:03 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-27 Message-ID: <20231028054209.95BBE41EBA@smtp4.osuosl.org> Hello, Autobuild statistics for 2023-10-27 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 15 | 3 | 0 | 18 | 2023.08.x | 14 | 4 | 0 | 18 | master | 46 | 82 | 0 | 128 | Classification of failures by reason for master ----------------------------------------------- unknown | 9 elfutils-0.189 | 6 openrc-0.43.3 | 6 bird-2.0.12 | 5 mariadb-10.11.4 | 5 gcc-final-12.3.0 | 4 gobject-introspection-1.76.1 | 4 host-go-1.21.3 | 4 libarchive-3.7.2 | 3 spirv-tools-1.3.261.1 | 3 linux-5.10.162-cip24-rt10 | 2 linux-6.5.8 | 2 strongswan-5.9.11 | 2 ulog-0389d243352255f6182326... | 2 apcupsd-3.14.14 | 1 at-spi2-core-2.48.3 | 1 brltty-6.5 | 1 c-icap-0.5.10 | 1 dc3dd-7.2.641 | 1 frr-8.4.2 | 1 gcc-final-11.4.0 | 1 host-rust-1.71.1 | 1 libglib2-2.76.1 | 1 libglvnd-1.4.0 | 1 libostree-2023.6 | 1 libselinux-3.5 | 1 libsoup-2.74.3 | 1 libunwind-1.6.2 | 1 lightning-2.2.2 | 1 linux-pam-1.5.3 | 1 liquid-dsp-1.5.0 | 1 lttng-modules-2.13.7 | 1 motion-4.5.1 | 1 nushell-0.85.0 | 1 pango-1.50.14 | 1 python3-3.11.6 | 1 qemu-8.1.1 | 1 samba4-4.19.1 | 1 trace-cmd-2.9.7 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mipsel | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/f41522dd8585f7b937512f9c04ac8cace265b135 | sparc | at-spi2-core-2.48.3 | NOK | http://autobuild.buildroot.net/results/cce9f0d283c86b0c15f495af400b586adb62da92 | microblazeel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c290d74b5f4a0a7046173ecf025bbfdad2f2074f | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a1e04c9a51ae8ecdd2d69a5ba39b14808b6c3f9e | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/0ef1626f91d840ff5435eadb64de0127094ed230 | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/33e08e3937e215449c9f1421553ab8397e197450 | microblazeel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6278ac4e9dab2dc5814300079a644655d65d6e2e | mipsel | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/998e694791d7eb0b9650368e263cbf63191869e2 | mipsel | c-icap-0.5.10 | NOK | http://autobuild.buildroot.net/results/9d54bb42e8218174e4fade142e5219500a4ed31f | ORPH or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/9b5b105778de10d963bad442fae7eb061e6e95b8 | ORPH mipsel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/449c12c0325e47a0d80ab801a6c3f9396a949db4 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/9796a1fcab227797f685a4d5469d4e02a2509023 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/f2f0dbbd0cb8a7307ef2ffe56f048fc04c8f6fe1 | ORPH or1k | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/d06dcff767f6165085744abbb5b8ee5894d51865 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/6e82d0e1bfc5cb57a7975dd8c59fe85dd16ee2e3 | ORPH armeb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/263a3c3527eedd581da13571f42802652b04883e | ORPH xtensa | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/60f7b54fb565564444c53fbcf2431458edec6336 | aarch64_be | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/4f61b2b1d626d5926b95be9b94211e4e93468472 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/dad942dafe0a537ed7412412d593780402da76d7 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7c2a4697f615a34498ee028f1ff583b084e1a683 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/0858f76b190383a5119125da794c475cf9517b49 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/5c3844dd0018bca64573955823447257cf9bcc7e | i686 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/57e23c88b14378d0d66549faf129075889af7355 | ORPH powerpc | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/adef0faa3118a40ab91b6e840f76d8cea1ee86e9 | ORPH s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/13d17d5fee75a8ad2d1b3c85716686c2106f3039 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/363f982cc1fda5d729bfd683c62e985b6832a156 | ORPH i686 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/1d69c50385f70223d365d59ed7743aaf4f92d5fb | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/68b0ce69a669de839119f93a214b30dc786088e5 | mips64 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/80350c53cc2861f09599fca04c8bcf7a2ebf1289 | mips64 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/e7bf6d0a94ce4179edec0f93e0b33abe61cac247 | powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/1ff36f48bb24cc43b29604c250eea46914b7ebcb | mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/1cb5845b72dd0171f102f42c14db2fc720fbee59 | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/1d31fe7de52c8268108899a64fe16998af98228a | powerpc | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/542959d2fbec7abcc194777eb4df4421db91494b | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/b707b8dafea5285dd243e112b3dc86f7c4cefca5 | sh4 | libglvnd-1.4.0 | NOK | http://autobuild.buildroot.net/results/bde796c819358e8552ef50f189289248b7239641 | ORPH s390x | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/52d09ae1388dd25ea4f6f467c9bce5600c558338 | microblazeel | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/bd86e61822df51291930e191e6f86a40c303d3e6 | sparc | libsoup-2.74.3 | NOK | http://autobuild.buildroot.net/results/f2aae1c3842af45753fc69ef4c9971dcf717afd8 | mipsel | libunwind-1.6.2 | NOK | http://autobuild.buildroot.net/results/bc60e0be2912956c683373ce1e4853921e0f4dab | ORPH mips64 | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/cb8012c4b48de21191142430e3a022299a5e5288 | riscv64 | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/cf1adf9331fd32bab8fa181b0f872190a5b7c438 | ORPH m68k | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/6b2905492fd1b96dc16d7bbb1245de457637b1e7 | ORPH m68k | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/bbd52fac29963a71364cbd776a494d12ae4d2f47 | ORPH s390x | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/46370ef2a371ac445ad33ee2a1c880ca6b4a86a0 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/09d87ff6c2c9dbc84bcfb154a4812dcb5fd32339 | ORPH x86_64 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/acad28be4bd5499ecff49046d647a898cd617f22 | or1k | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/a0bf49a1a9b3c7da6c6466c53ab9ac0e7c30c0f4 | powerpc64le | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/73d9c956b00ccc19e8b2226c60207b59cfd4eefa | ORPH aarch64 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/2a6323fee39e8d4be6122b0fb0802e0da00647b1 | ORPH microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/11e77254e26b81cbd8a4789c2f14fd9f8feff2ab | ORPH i686 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/3e21f2939a78ba5ee2cbb0a35e8bc27a017a1683 | ORPH mipsel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/6d0f7ed6d0df6b670170647f4d2505921411ad8f | ORPH mips | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/f5df448a7afd661268a3607347eddda9ccd137d9 | sparc64 | nushell-0.85.0 | NOK | http://autobuild.buildroot.net/results/b41f94baf1e57e7edf27e697cf6f251dccd472f6 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6ee76dc186993c131e509cd0cc45bc04b5ce0523 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/fa69e84fe7da382270cadb9912d652a7ecd1beb3 | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5e8672d49e1b7494ad7961e4ce345fca668ae964 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e7d3e946fb48bcf3b79eb3c8d1f6e9eae26da638 | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a6cbb01692127600a41a91cac8d2b9ddd01ce847 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c03655ad982fb9f48e3432b9f20458969c7639e3 | x86_64 | pango-1.50.14 | NOK | http://autobuild.buildroot.net/results/e8b5a752a62621099942b29c1642747eef2930cb | ORPH x86_64 | python3-3.11.6 | NOK | http://autobuild.buildroot.net/results/b67a4e4bd97518e36508ea1c32b26d3b053a7cce | mips | qemu-8.1.1 | NOK | http://autobuild.buildroot.net/results/44c5b7c5815ed79213b7f34e8a0381f7d75a2dfc | powerpc64 | samba4-4.19.1 | NOK | http://autobuild.buildroot.net/results/1358b7c7768025e0dd4561e241c81ef762ede4a9 | s390x | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/b9685355b31b6c71ad248d4d3fa3d08bfed75369 | ORPH m68k | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/57f0bb17ba312a26a93f7f6494bebf0404685f37 | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/912e213237205fef529195471a42564abf6ed1b0 | ORPH i686 | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/fdde7226f7d00a379654146eb7b016c6b7980d87 | aarch64_be | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/9bc68b2ac0af79968874fce029a456d7d26eb6e9 | mips64el | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/2bc9adca486a120114b5368865161e5bb568ab04 | mips64el | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/2eaf3af9346e0a5299d9e381e41823aa1e5e978e | sparc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/77dfc6352d722dbba83fd72b0e40a7d882060744 | mips | unknown | NOK | http://autobuild.buildroot.net/results/38ef832fd7ed201a7affd21fbc03662d153b9c49 | arc | unknown | NOK | http://autobuild.buildroot.net/results/28040b58c8bad807ccc1147074df60e872701aeb | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/0ca6560c669a44d39e9fa25bfacef43e4c2b1f6e | m68k | unknown | NOK | http://autobuild.buildroot.net/results/38a61f62a8ad8d94b35750dc40352563a0ee8aa1 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/2b8c6bc67d99dd7fb4874d80d477122ea92622b3 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/ef0e3effab557c380f50a8f64c23082fc5608fa2 | i686 | unknown | NOK | http://autobuild.buildroot.net/results/e0665006f1fe8d2b26a910014fd30746e828055e | arc | unknown | NOK | http://autobuild.buildroot.net/results/62be7800efa7a6217fe417afac55c99687fb0c07 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/8405717c26a8d2969c80f3ba75285c564db6f48a | Classification of failures by reason for 2023.02.x -------------------------------------------------- gobject-introspection-1.72.0 | 1 host-go-1.20.10 | 1 linux-6.1.58 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- s390x | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/567584b54c1eee2b8e6ffd9907d07724bdcd9338 | ORPH mips64el | host-go-1.20.10 | NOK | http://autobuild.buildroot.net/results/73b508341aa0819f8a303bd239d9cbb686326973 | sh4 | linux-6.1.58 | NOK | http://autobuild.buildroot.net/results/09f9f839b6ea09a62d2e5dc88717c223c91914e6 | ORPH Classification of failures by reason for 2023.08.x -------------------------------------------------- elfutils-0.189 | 1 host-rust-1.71.1 | 1 systemd-254.5 | 1 unknown | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/d2d21993aefc25e070ca82113f39058ea78683ee | ORPH x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/f8108247ecb1ff5e437ee481bc901beb203dff1b | nios2 | systemd-254.5 | NOK | http://autobuild.buildroot.net/results/73555d7c1450fddad9cf881802ed172fec805a34 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/3218b7f6276bfbc6bce08ef64caffb9549d99a07 | Gitlab CI results for 2023-10-27 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ at91sam9x5ek_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622376 | at91sam9x5ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622385 | beaglebone_qt5 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622456 | beaglev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622465 | broadcom_northstar | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622478 | canaan_kd233 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622482 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622538 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622582 | imx8mn_bsh_smm_s2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622585 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622588 | imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622591 | kontron_pitx_imx8m | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622599 | microchip_mpfs_icicle | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622615 | microchip_sam9x60ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622618 | octavo_osd32mp1_brk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622685 | octavo_osd32mp1_red | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622686 | olimex_a64_olinuxino | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622740 | orangepi_lite2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622769 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622777 | qemu_arm_ebbr | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622829 | qemu_m68k_mcf5208 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622842 | qemu_riscv64_nommu_virt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622920 | qemu_sh4_r2d | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622932 | qemu_xtensa_lx60_nommu | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622950 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389164905 | ORPH sipeed_maix_bit | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389165746 | sipeed_maix_bit_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389165810 | sipeed_maix_dock | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389165851 | sipeed_maix_dock_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389165917 | sipeed_maix_go | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389166017 | sipeed_maix_go_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389166075 | sipeed_maixduino | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389166280 | sipeed_maixduino_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389166679 | snps_arc700_axs101 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167076 | snps_arc700_nsim | https://gitlab.com/buildroot.org/buildroot/-/jobs/5391013846 | socrates_cyclone5 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167416 | stm32mp157a_dk1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167628 | stm32mp157c_dk2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167644 | toradex_apalis_imx6 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167753 | -- http://autobuild.buildroot.net From yegorslists at googlemail.com Sat Oct 28 10:24:35 2023 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Sat, 28 Oct 2023 12:24:35 +0200 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend Message-ID: <20231028102435.1771460-1-yegorslists@googlemail.com> From: Yegor Yefremov Since version 41.0.0, setuptools has an experimental PEP517 support. Signed-off-by: Yegor Yefremov --- package/pkg-python.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 28ee4cb85f..00f71f6b19 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) $(2)_DEPENDENCIES += host-python-setuptools-rust endif else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer host-python-setuptools ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif -- 2.34.1 From yegorslists at googlemail.com Sat Oct 28 10:30:47 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Sat, 28 Oct 2023 12:30:47 +0200 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend In-Reply-To: <20231028102435.1771460-1-yegorslists@googlemail.com> References: <20231028102435.1771460-1-yegorslists@googlemail.com> Message-ID: Hi all, On Sat, Oct 28, 2023 at 12:25?PM wrote: > > From: Yegor Yefremov > > Since version 41.0.0, setuptools has an experimental PEP517 support. > > Signed-off-by: Yegor Yefremov > --- > package/pkg-python.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 28ee4cb85f..00f71f6b19 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > $(2)_DEPENDENCIES += host-python-setuptools-rust > endif > else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer host-python-setuptools > ifeq ($$($(2)_SETUP_TYPE),flit) > $(2)_DEPENDENCIES += host-python-flit-core > endif This patch is more a workaround to convert such packages as python-tornado, python-configobj, etc. to PEP517 infrastructure. These packages just use a build-system section and otherwise rely on the setup.py file: [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" What is the plan to support this backend? Just use setuptools-rust or convert "_SETUP_TYPE=setuptools" to PEP517 after the introduction of Python 12.x? Regards, Yegor From james.hilliard1 at gmail.com Sat Oct 28 10:44:38 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 28 Oct 2023 04:44:38 -0600 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend In-Reply-To: References: <20231028102435.1771460-1-yegorslists@googlemail.com> Message-ID: On Sat, Oct 28, 2023 at 4:31?AM Yegor Yefremov wrote: > Hi all, > > On Sat, Oct 28, 2023 at 12:25?PM wrote: > > > > From: Yegor Yefremov > > > > Since version 41.0.0, setuptools has an experimental PEP517 support. > > > > Signed-off-by: Yegor Yefremov > > --- > > package/pkg-python.mk | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > > index 28ee4cb85f..00f71f6b19 100644 > > --- a/package/pkg-python.mk > > +++ b/package/pkg-python.mk > > @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > > $(2)_DEPENDENCIES += host-python-setuptools-rust > > endif > > else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > > -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > > +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > host-python-setuptools > > ifeq ($$($(2)_SETUP_TYPE),flit) > > $(2)_DEPENDENCIES += host-python-flit-core > > endif > > This patch is more a workaround to convert such packages as > python-tornado, python-configobj, etc. to PEP517 infrastructure. These > packages just use a build-system section and otherwise rely on the > setup.py file: > Are these failing to build without PEP517 infrastructure for setuptools? > > [build-system] > requires = ["setuptools"] > build-backend = "setuptools.build_meta" > > What is the plan to support this backend? Just use setuptools-rust or > convert "_SETUP_TYPE=setuptools" to PEP517 after the introduction of > Python 12.x? > I already have a patch converting our setuptools infrastructure to PEP517: https://lore.kernel.org/buildroot/20230930152517.1077576-3-james.hilliard1 at gmail.com/ > > Regards, > Yegor > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bremenpl at gmail.com Sat Oct 28 14:41:08 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Sat, 28 Oct 2023 14:41:08 +0000 Subject: [Buildroot] Help with DTO Message-ID: Hi guys! In my free time I am working on this open HW/ SW project called BeagleNode: https://github.com/bremenpl/BeagleNodeHW The aim is for this device to be used in homes with Home Assistant to control various lights, switches or shades. It has 16x outputs and 16x inputs (can be 230 VAC driven), so its quite versatile. My goal was for it to be a drop in for electrical installations that are "Star" connected in the switchboards cabinets. So I have the HW and virgin working Buildroot image baked thanks to this tutorial . What I wanted to do next is to create a device tree overlay for all required GPIOs that would be compiled at kernel build time. But I am not sure how to do that... I need a total of 32 GPIO outputs (2 per relay) and 16 inputs controlled via both PRUs. I would appreciate all feedback regarding some pointers and sources on where I could learn this. Also, in case anyone is interested in contributing to this project- please let me know! -- ?ukasz Przenios?o -------------- next part -------------- An HTML attachment was scrubbed... URL: From fontaine.fabrice at gmail.com Sat Oct 28 15:14:45 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 17:14:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/spirv-headers: needs C++ Message-ID: <20231028151445.10334-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since the addition of the package in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: CMake Error at /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/4b94edf6dee03e74ff53939aa228069cc6ba4292 Signed-off-by: Fabrice Fontaine --- package/spirv-headers/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in index fd20f301d4..e03a6ca1ee 100644 --- a/package/spirv-headers/Config.in +++ b/package/spirv-headers/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_SPIRV_HEADERS bool "spirv-headers" + depends on BR2_INSTALL_LIBSTDCPP help Machine-readable files for the SPIR-V Registry https://www.khronos.org/registry/spir-v + +comment "spirv-headers needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 15:34:47 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 17:34:47 +0200 Subject: [Buildroot] [PATCH 1/2] package/zchunk: add ZCHUNK_CPE_ID_VENDOR Message-ID: <20231028153448.142511-1-fontaine.fabrice@gmail.com> cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA Signed-off-by: Fabrice Fontaine --- package/zchunk/zchunk.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index fc91f90431..2acdaba3a1 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE +ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 15:34:48 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 17:34:48 +0200 Subject: [Buildroot] [PATCH 2/2] package/zchunk: security bump to version 1.3.2 In-Reply-To: <20231028153448.142511-1-fontaine.fabrice@gmail.com> References: <20231028153448.142511-1-fontaine.fabrice@gmail.com> Message-ID: <20231028153448.142511-2-fontaine.fabrice@gmail.com> - Drop patches (already in version) - tests can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 - docs can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, lib/dl/multipart.c, or lib/header.c. https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 2 - ...rgp-standalone-wrap-and-find_library.patch | 106 ------------------ ...002-zck-declare-write_data-as-static.patch | 34 ------ package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 3 +- 5 files changed, 3 insertions(+), 144 deletions(-) delete mode 100644 package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch delete mode 100644 package/zchunk/0002-zck-declare-write_data-as-static.patch diff --git a/.checkpackageignore b/.checkpackageignore index 894810bab1..7f12a9a3b4 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1540,8 +1540,6 @@ package/ympd/0002-added-forward-declarations.patch Upstream package/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch Upstream package/zabbix/0002-fix-build-with-libressl-3.5.0.patch Upstream package/zbar/0001-python-enum-fix-build-for-Python-3.11.patch Upstream -package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch Upstream -package/zchunk/0002-zck-declare-write_data-as-static.patch Upstream package/zic/0001-remove-dependency-check-on-version-file.patch Upstream package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch Upstream package/zip/0002-configure-Don-t-use-host-CPP.patch Upstream diff --git a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch b/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch deleted file mode 100644 index 6c9cdba3ad..0000000000 --- a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 473c97cda44b95f5cea08a0cdd566e602df564db Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Thu, 21 Apr 2022 14:24:01 -0600 -Subject: [PATCH] meson: fix argp-standalone wrap and find_library - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -473c97cda44b95f5cea08a0cdd566e602df564db] ---- - .github/workflows/main.yml | 27 --------------------------- - meson.build | 6 +++--- - subprojects/argp-standalone.wrap | 7 +++++++ - 3 files changed, 10 insertions(+), 30 deletions(-) - create mode 100644 subprojects/argp-standalone.wrap - -diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml -index c49806f..35667af 100644 ---- a/.github/workflows/main.yml -+++ b/.github/workflows/main.yml -@@ -35,25 +35,11 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - name: Install mamba - uses: mamba-org/provision-with-micromamba at main - with: - environment-file: .github/environment.yml - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- CALL micromamba activate zchunk_test_env -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir --prefix=%CONDA_PREFIX%\Library -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -@@ -75,11 +61,6 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - uses: actions/setup-python at v1 - with: - python-version: '3.x' -@@ -87,14 +68,6 @@ jobs: - - name: Install meson and ninja - run: pip install meson ninja - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -diff --git a/meson.build b/meson.build -index 1c6b32d..aa7dd25 100644 ---- a/meson.build -+++ b/meson.build -@@ -58,10 +58,10 @@ endif - - # argp-standalone dependency (if required) - if build_machine.system() == 'windows' or build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include \nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}') -- if fs.is_dir(join_paths([get_option('prefix'), 'include'])) -- inc += include_directories(join_paths([get_option('prefix'), 'include'])) -+ argplib = cc.find_library('argp', has_headers : ['argp.h'], required: false) -+ if not argplib.found() -+ argplib = dependency('argp-standalone') - endif -- argplib = cc.find_library('argp', dirs : join_paths([get_option('prefix'), 'lib'])) - else - argplib = dependency('', required : false) - endif -diff --git a/subprojects/argp-standalone.wrap b/subprojects/argp-standalone.wrap -new file mode 100644 -index 0000000..14c0b63 ---- /dev/null -+++ b/subprojects/argp-standalone.wrap -@@ -0,0 +1,7 @@ -+[wrap-git] -+directory = argp-standalone-1.4.1 -+url = https://github.com/argp-standalone/argp-standalone.git -+revision = 21855f34ec9997c37e1a08cd69497336513a5800 -+ -+[provide] -+dependency_names = argp-standalone --- -2.25.1 - diff --git a/package/zchunk/0002-zck-declare-write_data-as-static.patch b/package/zchunk/0002-zck-declare-write_data-as-static.patch deleted file mode 100644 index 3c48ab3d50..0000000000 --- a/package/zchunk/0002-zck-declare-write_data-as-static.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Wed, 4 May 2022 16:32:48 -0600 -Subject: [PATCH] zck: declare write_data as static - -This needs to be declared static to avoid a symbol conflict: -io.c:(.text+0xe8): multiple definition of `write_data'; src/zck.p/zck.c.o:zck.c:(.text+0x1f4): first defined here - -Fixes: - - http://autobuild.buildroot.net/results/225/22590a7038a40da3700d56c1f82f7dc74225702a - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc] ---- - src/zck.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/zck.c b/src/zck.c -index 7727479..83b2630 100644 ---- a/src/zck.c -+++ b/src/zck.c -@@ -159,7 +159,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) { - - static struct argp argp = {options, parse_opt, args_doc, doc}; - --void write_data(zckCtx *zck, char *data, ssize_t in_size) { -+static void write_data(zckCtx *zck, char *data, ssize_t in_size) { - if(zck_write(zck, data, in_size) < 0) { - LOG_ERROR("%s", zck_get_error(zck)); - exit(1); --- -2.25.1 - diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index fa097d4ae0..15103a9ea0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz +sha256 4d923d32af7db33f3c0a6655b258e857a2ca564912cf85ddce14e9b1b7d495bf zchunk-1.3.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 2acdaba3a1..39d51ac352 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,12 +4,13 @@ # ################################################################################ -ZCHUNK_VERSION = 1.2.2 +ZCHUNK_VERSION = 1.3.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES +ZCHUNK_CONF_OPTS = -Ddocs=false -Dtests=false ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) ZCHUNK_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 15:57:09 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 17:57:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/atop: bump to version 2.9.0 Message-ID: <20231028155709.180474-1-fontaine.fabrice@gmail.com> https://www.atoptool.nl/downloadatop.php Signed-off-by: Fabrice Fontaine --- package/atop/atop.hash | 2 +- package/atop/atop.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/atop/atop.hash b/package/atop/atop.hash index e42354739a..0b7ee061dd 100644 --- a/package/atop/atop.hash +++ b/package/atop/atop.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 3b002cb9774a7d6b3e820451773ae5e909b5e725738c6f375f14d1c1976d9fba atop-2.8.0.tar.gz +sha256 8d82f211b712a227000ef254c0a2b53bcb71235bf40d93316acce80b04bff926 atop-2.9.0.tar.gz # Hash for license file: sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/atop/atop.mk b/package/atop/atop.mk index 04a554b474..6a0ff3a0d1 100644 --- a/package/atop/atop.mk +++ b/package/atop/atop.mk @@ -4,7 +4,7 @@ # ################################################################################ -ATOP_VERSION = 2.8.0 +ATOP_VERSION = 2.9.0 ATOP_SITE = http://www.atoptool.nl/download ATOP_LICENSE = GPL-2.0+ ATOP_LICENSE_FILES = COPYING -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 16:12:44 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 18:12:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/tiff: security bump to version 4.6.0 Message-ID: <20231028161244.221857-1-fontaine.fabrice@gmail.com> - Drop --without-x (now unrecognized) - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. - Fix CVE-2023-41175: A vulnerability was found in libtiff due to multiple potential integer overflows in raw2tiff.c. This flaw allows remote attackers to cause a denial of service or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html Signed-off-by: Fabrice Fontaine --- package/tiff/tiff.hash | 2 +- package/tiff/tiff.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/tiff/tiff.hash b/package/tiff/tiff.hash index 0fa503a02a..3aae7dc4d5 100644 --- a/package/tiff/tiff.hash +++ b/package/tiff/tiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b tiff-4.5.1.tar.gz +sha256 88b3979e6d5c7e32b50d7ec72fb15af724f6ab2cbf7e10880c360a77e4b5d99a tiff-4.6.0.tar.gz sha256 0780558a8bfba0af1160ec1ff11ade4f41c0d7deafd6ecfc796b492a788e380d LICENSE.md diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 0006f461a0..e384e8b814 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIFF_VERSION = 4.5.1 +TIFF_VERSION = 4.6.0 TIFF_SITE = http://download.osgeo.org/libtiff TIFF_LICENSE = tiff license TIFF_LICENSE_FILES = LICENSE.md @@ -17,14 +17,12 @@ TIFF_INSTALL_STAGING = YES TIFF_CONF_OPTS = \ --disable-contrib \ --disable-tests \ - --disable-webp \ - --without-x + --disable-webp TIFF_DEPENDENCIES = host-pkgconf HOST_TIFF_CONF_OPTS = \ --disable-cxx \ - --without-x \ --disable-zlib \ --disable-libdeflate \ --disable-lzma \ -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 16:21:20 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 18:21:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/dracut: bump to version 059 Message-ID: <20231028162120.260832-1-fontaine.fabrice@gmail.com> https://github.com/dracutdevs/dracut/blob/059/NEWS.md Signed-off-by: Fabrice Fontaine --- package/dracut/dracut.hash | 2 +- package/dracut/dracut.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/dracut/dracut.hash b/package/dracut/dracut.hash index 34db6af23b..6ca352c542 100644 --- a/package/dracut/dracut.hash +++ b/package/dracut/dracut.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 24f149d683d188c0d25756529b7d1e5cd6be8028e0c1043110f303d0d706757d dracut-057.tar.gz +sha256 eabf0bb685420c1e1d5475b6855ef787104508f0135ff570312845256e0fcecf dracut-059.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/dracut/dracut.mk b/package/dracut/dracut.mk index 3eb9bcc474..1de11d208d 100644 --- a/package/dracut/dracut.mk +++ b/package/dracut/dracut.mk @@ -4,7 +4,7 @@ # ################################################################################ -DRACUT_VERSION = 057 +DRACUT_VERSION = 059 DRACUT_SITE = $(call github,dracutdevs,dracut,$(DRACUT_VERSION)) DRACUT_LICENSE = GPL-2.0 DRACUT_LICENSE_FILES = COPYING -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 16:42:29 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 18:42:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/powerpc-utils: bump to version 1.3.11 Message-ID: <20231028164229.550018-1-fontaine.fabrice@gmail.com> https://github.com/ibm-power-utilities/powerpc-utils/blob/v1.3.11/Changelog Signed-off-by: Fabrice Fontaine --- package/powerpc-utils/powerpc-utils.hash | 2 +- package/powerpc-utils/powerpc-utils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/powerpc-utils/powerpc-utils.hash b/package/powerpc-utils/powerpc-utils.hash index b3c77fb223..32387014cc 100644 --- a/package/powerpc-utils/powerpc-utils.hash +++ b/package/powerpc-utils/powerpc-utils.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d64d9016a3e63a1e44c6e0833742cf964ae6bb1c6a9c7f0c7c5748aa335dc3db powerpc-utils-1.3.10.tar.gz +sha256 6bb16078068d8b889afdd78927d2f061702ef155e57fc548ae573e2b0b90ca13 powerpc-utils-1.3.11.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/powerpc-utils/powerpc-utils.mk b/package/powerpc-utils/powerpc-utils.mk index 19fa84946c..8d5491133b 100644 --- a/package/powerpc-utils/powerpc-utils.mk +++ b/package/powerpc-utils/powerpc-utils.mk @@ -4,7 +4,7 @@ # ################################################################################ -POWERPC_UTILS_VERSION = 1.3.10 +POWERPC_UTILS_VERSION = 1.3.11 POWERPC_UTILS_SITE = $(call github,ibm-power-utilities,powerpc-utils,v$(POWERPC_UTILS_VERSION)) POWERPC_UTILS_DEPENDENCIES = zlib numactl POWERPC_UTILS_AUTORECONF = YES -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 16:51:24 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 18:51:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/avrdude: bump to version 7.2 Message-ID: <20231028165124.594087-1-fontaine.fabrice@gmail.com> https://github.com/avrdudes/avrdude/blob/v7.2/NEWS Signed-off-by: Fabrice Fontaine --- package/avrdude/avrdude.hash | 2 +- package/avrdude/avrdude.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/avrdude/avrdude.hash b/package/avrdude/avrdude.hash index 5910a568db..cb34e6b6f9 100644 --- a/package/avrdude/avrdude.hash +++ b/package/avrdude/avrdude.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 016a5c95746fadc169cfb3009f6aa306ccdea2ff279fdb6fddcbe7526d84e5eb avrdude-7.1.tar.gz +sha256 beb4e0b0a07f8d47e550329ab93c345d5252350de6f833afde51b4d8bd934674 avrdude-7.2.tar.gz sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 COPYING diff --git a/package/avrdude/avrdude.mk b/package/avrdude/avrdude.mk index 8ebe33b372..89637d4ca6 100644 --- a/package/avrdude/avrdude.mk +++ b/package/avrdude/avrdude.mk @@ -4,7 +4,7 @@ # ################################################################################ -AVRDUDE_VERSION = 7.1 +AVRDUDE_VERSION = 7.2 AVRDUDE_SITE = $(call github,avrdudes,avrdude,v$(AVRDUDE_VERSION)) AVRDUDE_LICENSE = GPL-2.0+ AVRDUDE_LICENSE_FILES = COPYING -- 2.42.0 From bonet at grenoble.cnrs.fr Sat Oct 28 18:58:38 2023 From: bonet at grenoble.cnrs.fr (Edgar Bonet) Date: Sat, 28 Oct 2023 20:58:38 +0200 Subject: [Buildroot] Help with DTO In-Reply-To: References: Message-ID: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Hello! ?ukasz Przenios?o wrote, about the BeagleBone: > So I have the HW and virgin working Buildroot image baked thanks to > this tutorial. > (https://blog.billvanleeuwen.ca/creating-a-minimal-linux-system-for-the-beaglebone-black-with-buildroot) This tutorial walks you through a manual configuration. Note that Buildroot ships a ready-made configuration you can use: make beaglebone_defconfig # load the ready-made defconfig make menuconfig # if you want to tweak it make > What I wanted to do next is to create a device tree overlay for all > required GPIOs that would be compiled at kernel build time. I do not understand why you need a device tree overlay. The tutorial gets you a kernel together with the am335x-boneblack device tree. This device tree already defines four GPIO chips. Can't you see them? Try ls /dev/gpiochip* If you want to play with the GPIOs, I suggest you install the tools that come with libgpiod: in Target packages / Libraries / Hardware handling, select ?libgpiod?, then ?install tools?. Then, on the booted system, type gpiodetect gpioinfo You should see all the available GPIO chips, then all the GPIO lines. Regards, Edgar. From yann.morin.1998 at free.fr Sat Oct 28 19:30:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:52 +0200 Subject: [Buildroot] [PATCH] Config.in: default to HTTPS for s.b.n backup site In-Reply-To: <20231027121252.1855024-1-peter@korsgaard.com> References: <20231027121252.1855024-1-peter@korsgaard.com> Message-ID: <20231028193052.GD2582@scaer> Peter, All, On 2023-10-27 14:12 +0200, Peter Korsgaard spake thusly: > Now that we have HTTPS support for sources.buildroot.net (through Lets > encrypt / Cloudflare), it makes sense to default to it for our backup site. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > Config.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Config.in b/Config.in > index dbcca4c55a..556b6c2575 100644 > --- a/Config.in > +++ b/Config.in > @@ -241,7 +241,7 @@ if !BR2_PRIMARY_SITE_ONLY > > config BR2_BACKUP_SITE > string "Backup download site" > - default "http://sources.buildroot.net" > + default "https://sources.buildroot.net" > help > Backup site to download from. If this option is set then > buildroot will fall back to download package sources from here > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:31:13 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:31:13 +0200 Subject: [Buildroot] [PATCH 1/2] package/aufs: use HTTPS for git.code.sf.net In-Reply-To: <20231027122551.1856719-1-peter@korsgaard.com> References: <20231027122551.1856719-1-peter@korsgaard.com> Message-ID: <20231028193113.GE2582@scaer> Petr, All, On 2023-10-27 14:25 +0200, Peter Korsgaard spake thusly: > git.code.sf.net is available over HTTPS, so use that for security and > consistency with the other packages. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/aufs/aufs.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk > index 4e95a350a0..d00e7a1a21 100644 > --- a/package/aufs/aufs.mk > +++ b/package/aufs/aufs.mk > @@ -9,7 +9,7 @@ AUFS_LICENSE = GPL-2.0 > AUFS_LICENSE_FILES = COPYING > > ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) > -AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone > +AUFS_SITE = https://git.code.sf.net/p/aufs/aufs3-standalone > AUFS_SITE_METHOD = git > else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4) > AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:32:18 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:32:18 +0200 Subject: [Buildroot] [PATCH 2/2] package/aufs-util: use HTTPS for git.code.sf.net In-Reply-To: <20231027122551.1856719-2-peter@korsgaard.com> References: <20231027122551.1856719-1-peter@korsgaard.com> <20231027122551.1856719-2-peter@korsgaard.com> Message-ID: <20231028193218.GF2582@scaer> Peter, All, On 2023-10-27 14:25 +0200, Peter Korsgaard spake thusly: > git.code.sf.net is available over HTTPS, so use that for security and > consistency with the other packages. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/aufs-util/aufs-util.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk > index d954f02958..32f3bca151 100644 > --- a/package/aufs-util/aufs-util.mk > +++ b/package/aufs-util/aufs-util.mk > @@ -6,7 +6,7 @@ > > # linux-headers > AUFS_UTIL_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_UTIL_VERSION)) > -AUFS_UTIL_SITE = http://git.code.sf.net/p/aufs/aufs-util > +AUFS_UTIL_SITE = https://git.code.sf.net/p/aufs/aufs-util > AUFS_UTIL_SITE_METHOD = git > AUFS_UTIL_LICENSE = GPL-2.0 > AUFS_UTIL_LICENSE_FILES = COPYING > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:32:50 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:32:50 +0200 Subject: [Buildroot] [PATCH] package/dfu-programmer: bump version to 1.1.0 In-Reply-To: <20231027130738.1939583-1-peter@korsgaard.com> References: <20231027130738.1939583-1-peter@korsgaard.com> Message-ID: <20231028193250.GG2582@scaer> Peter, All, On 2023-10-27 15:07 +0200, Peter Korsgaard spake thusly: > The update-bash-completion.sh issue is now fixed, so remove the workaround: > > https://github.com/dfu-programmer/dfu-programmer/pull/91 > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/dfu-programmer/dfu-programmer.hash | 2 +- > package/dfu-programmer/dfu-programmer.mk | 10 +--------- > 2 files changed, 2 insertions(+), 10 deletions(-) > > diff --git a/package/dfu-programmer/dfu-programmer.hash b/package/dfu-programmer/dfu-programmer.hash > index afa1d97aed..7260dfce0d 100644 > --- a/package/dfu-programmer/dfu-programmer.hash > +++ b/package/dfu-programmer/dfu-programmer.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 867eaf0a8cd10123715491807ab99cecb54dc6f09dddade4b2a42b0b0ef9e6b0 dfu-programmer-1.0.0.tar.gz > +sha256 844e469be559657bc52c9d9d03c30846acd11ffbb1ddd42438fa8af1d2b8587d dfu-programmer-1.1.0.tar.gz > sha256 d8fb44c26fecbb2b8a368a6c0ed4f5478a401fab03744325407736a80383af76 COPYING > diff --git a/package/dfu-programmer/dfu-programmer.mk b/package/dfu-programmer/dfu-programmer.mk > index 707e143eb3..4e5f2299d6 100644 > --- a/package/dfu-programmer/dfu-programmer.mk > +++ b/package/dfu-programmer/dfu-programmer.mk > @@ -4,20 +4,12 @@ > # > ################################################################################ > > -DFU_PROGRAMMER_VERSION = 1.0.0 > +DFU_PROGRAMMER_VERSION = 1.1.0 > DFU_PROGRAMMER_SITE = https://github.com/dfu-programmer/dfu-programmer/releases/download/v$(DFU_PROGRAMMER_VERSION) > DFU_PROGRAMMER_LICENSE = GPL-2.0+ > DFU_PROGRAMMER_LICENSE_FILES = COPYING > DFU_PROGRAMMER_DEPENDENCIES = libusb > > -# No update-bash-completion.sh in tarball. Fix sent upstream: > -# https://github.com/dfu-programmer/dfu-programmer/pull/91 > -define DFU_PROGRAMMER_ADD_MISSING_FILE > - ln -s /bin/true $(@D)/update-bash-completion.sh > -endef > - > -DFU_PROGRAMMER_POST_PATCH_HOOKS == DFU_PROGRAMMER_ADD_MISSING_FILE > - > ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > DFU_PROGRAMMER_CONF_OPTS += LIBS=-latomic > endif > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:33:08 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:33:08 +0200 Subject: [Buildroot] [PATCH] package/riscv64-elf-toolchain: add .hash file In-Reply-To: <20231027084159.1841045-1-peter@korsgaard.com> References: <20231027084159.1841045-1-peter@korsgaard.com> Message-ID: <20231028193308.GH2582@scaer> Peter, All, On 2023-10-27 10:41 +0200, Peter Korsgaard spake thusly: > The host-riscv64-elf-toolchain package was missing a hash file, add it now. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash | 2 ++ > 1 file changed, 2 insertions(+) > create mode 100644 package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash > > diff --git a/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash > new file mode 100644 > index 0000000000..9f40da0941 > --- /dev/null > +++ b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash > @@ -0,0 +1,2 @@ > +# Locally calculated > +sha256 de2bb188300dc38d74103516ce5cfd1060dfd105e8a408e9e3991512cf27285e riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-centos6.tar.gz > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:30:18 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:18 +0200 Subject: [Buildroot] [git commit] Config.in: default to HTTPS for s.b.n backup site Message-ID: <20231028193446.BD3EA85EFA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=05296ced369bab8877efa624f3d9b4d201ba5b38 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Now that we have HTTPS support for sources.buildroot.net (through Lets encrypt / Cloudflare), it makes sense to default to it for our backup site. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config.in b/Config.in index dbcca4c55a..556b6c2575 100644 --- a/Config.in +++ b/Config.in @@ -241,7 +241,7 @@ if !BR2_PRIMARY_SITE_ONLY config BR2_BACKUP_SITE string "Backup download site" - default "http://sources.buildroot.net" + default "https://sources.buildroot.net" help Backup site to download from. If this option is set then buildroot will fall back to download package sources from here From yann.morin.1998 at free.fr Sat Oct 28 19:30:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:12 +0200 Subject: [Buildroot] [git commit] package/riscv64-elf-toolchain: add .hash file Message-ID: <20231028193446.A931785EFB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf2dcaa1ecede670a0bc54841652a0e3bea5c744 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The host-riscv64-elf-toolchain package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash new file mode 100644 index 0000000000..9f40da0941 --- /dev/null +++ b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 de2bb188300dc38d74103516ce5cfd1060dfd105e8a408e9e3991512cf27285e riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-centos6.tar.gz From yann.morin.1998 at free.fr Sat Oct 28 19:30:30 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:30 +0200 Subject: [Buildroot] [git commit] package/aufs-util: use HTTPS for git.code.sf.net Message-ID: <20231028193446.D4F9A85EFC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99d525028f969220719a4e6bcd694f7d9cfd5b67 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/aufs-util/aufs-util.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index d954f02958..32f3bca151 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -6,7 +6,7 @@ # linux-headers AUFS_UTIL_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_UTIL_VERSION)) -AUFS_UTIL_SITE = http://git.code.sf.net/p/aufs/aufs-util +AUFS_UTIL_SITE = https://git.code.sf.net/p/aufs/aufs-util AUFS_UTIL_SITE_METHOD = git AUFS_UTIL_LICENSE = GPL-2.0 AUFS_UTIL_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sat Oct 28 19:30:24 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:24 +0200 Subject: [Buildroot] [git commit] package/aufs: use HTTPS for git.code.sf.net Message-ID: <20231028193446.C9C9285F05@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f2a590750f5bedcee48ce7beb8f35356b42eda11 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/aufs/aufs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk index 4e95a350a0..d00e7a1a21 100644 --- a/package/aufs/aufs.mk +++ b/package/aufs/aufs.mk @@ -9,7 +9,7 @@ AUFS_LICENSE = GPL-2.0 AUFS_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) -AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone +AUFS_SITE = https://git.code.sf.net/p/aufs/aufs3-standalone AUFS_SITE_METHOD = git else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4) AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) From yann.morin.1998 at free.fr Sat Oct 28 19:30:36 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:36 +0200 Subject: [Buildroot] [git commit] package/dfu-programmer: bump version to 1.1.0 Message-ID: <20231028193446.E035D85F16@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ecce7bf95a8a5febbbe1d22563a079326bbf1ea4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The update-bash-completion.sh issue is now fixed, so remove the workaround: https://github.com/dfu-programmer/dfu-programmer/pull/91 Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/dfu-programmer/dfu-programmer.hash | 2 +- package/dfu-programmer/dfu-programmer.mk | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/package/dfu-programmer/dfu-programmer.hash b/package/dfu-programmer/dfu-programmer.hash index afa1d97aed..7260dfce0d 100644 --- a/package/dfu-programmer/dfu-programmer.hash +++ b/package/dfu-programmer/dfu-programmer.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 867eaf0a8cd10123715491807ab99cecb54dc6f09dddade4b2a42b0b0ef9e6b0 dfu-programmer-1.0.0.tar.gz +sha256 844e469be559657bc52c9d9d03c30846acd11ffbb1ddd42438fa8af1d2b8587d dfu-programmer-1.1.0.tar.gz sha256 d8fb44c26fecbb2b8a368a6c0ed4f5478a401fab03744325407736a80383af76 COPYING diff --git a/package/dfu-programmer/dfu-programmer.mk b/package/dfu-programmer/dfu-programmer.mk index 707e143eb3..4e5f2299d6 100644 --- a/package/dfu-programmer/dfu-programmer.mk +++ b/package/dfu-programmer/dfu-programmer.mk @@ -4,20 +4,12 @@ # ################################################################################ -DFU_PROGRAMMER_VERSION = 1.0.0 +DFU_PROGRAMMER_VERSION = 1.1.0 DFU_PROGRAMMER_SITE = https://github.com/dfu-programmer/dfu-programmer/releases/download/v$(DFU_PROGRAMMER_VERSION) DFU_PROGRAMMER_LICENSE = GPL-2.0+ DFU_PROGRAMMER_LICENSE_FILES = COPYING DFU_PROGRAMMER_DEPENDENCIES = libusb -# No update-bash-completion.sh in tarball. Fix sent upstream: -# https://github.com/dfu-programmer/dfu-programmer/pull/91 -define DFU_PROGRAMMER_ADD_MISSING_FILE - ln -s /bin/true $(@D)/update-bash-completion.sh -endef - -DFU_PROGRAMMER_POST_PATCH_HOOKS == DFU_PROGRAMMER_ADD_MISSING_FILE - ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) DFU_PROGRAMMER_CONF_OPTS += LIBS=-latomic endif From fontaine.fabrice at gmail.com Sat Oct 28 19:41:19 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 21:41:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/rabbitmq-c: fix CVE-2023-35789 Message-ID: <20231028194119.987835-1-fontaine.fabrice@gmail.com> An issue was discovered in the C AMQP client library (aka rabbitmq-c) through 0.13.0 for RabbitMQ. Credentials can only be entered on the command line (e.g., for amqp-publish or amqp-consume) and are thus visible to local attackers by listing a process and its arguments. Signed-off-by: Fabrice Fontaine --- ...-to-read-username-password-from-file.patch | 130 ++++++++++++++++++ package/rabbitmq-c/rabbitmq-c.mk | 3 + 2 files changed, 133 insertions(+) create mode 100644 package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch diff --git a/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch new file mode 100644 index 0000000000..347063cfb3 --- /dev/null +++ b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch @@ -0,0 +1,130 @@ +From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001 +From: Christian Kastner +Date: Tue, 13 Jun 2023 14:21:52 +0200 +Subject: [PATCH] Add option to read username/password from file (#781) + +* Add option to read username/password from file + +Upstream: https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 +Signed-off-by: Fabrice Fontaine +--- + tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + +diff --git a/tools/common.c b/tools/common.c +index 73b47e25..7efe557b 100644 +--- a/tools/common.c ++++ b/tools/common.c +@@ -18,6 +18,11 @@ + #include "compat.h" + #endif + ++/* For when reading auth data from a file */ ++#define MAXAUTHTOKENLEN 128 ++#define USERNAMEPREFIX "username:" ++#define PASSWORDPREFIX "password:" ++ + void die(const char *fmt, ...) { + va_list ap; + va_start(ap, fmt); +@@ -125,6 +130,7 @@ static char *amqp_vhost; + static char *amqp_username; + static char *amqp_password; + static int amqp_heartbeat = 0; ++static char *amqp_authfile; + #ifdef WITH_SSL + static int amqp_ssl = 0; + static char *amqp_cacert = "/etc/ssl/certs/cacert.pem"; +@@ -147,6 +153,8 @@ struct poptOption connect_options[] = { + "the password to login with", "password"}, + {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0, + "heartbeat interval, set to 0 to disable", "heartbeat"}, ++ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0, ++ "path to file containing username/password for authentication", "file"}, + #ifdef WITH_SSL + {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL}, + {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0, +@@ -158,6 +166,50 @@ struct poptOption connect_options[] = { + #endif /* WITH_SSL */ + {NULL, '\0', 0, NULL, 0, NULL, NULL}}; + ++void read_authfile(const char *path) { ++ size_t n; ++ FILE *fp = NULL; ++ char token[MAXAUTHTOKENLEN]; ++ ++ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL || ++ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) { ++ die("Out of memory"); ++ } else if ((fp = fopen(path, "r")) == NULL) { ++ die("Could not read auth data file %s", path); ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) { ++ die("Malformed auth file (missing username)"); ++ } ++ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_username); ++ if (amqp_username[n - 1] != '\n') { ++ die("Username too long"); ++ } else { ++ amqp_username[n - 1] = '\0'; ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) { ++ die("Malformed auth file (missing password)"); ++ } ++ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_password); ++ if (amqp_password[n - 1] != '\n') { ++ die("Password too long"); ++ } else { ++ amqp_password[n - 1] = '\0'; ++ } ++ ++ (void)fgetc(fp); ++ if (!feof(fp)) { ++ die("Malformed auth file (trailing data)"); ++ } ++} ++ + static void init_connection_info(struct amqp_connection_info *ci) { + ci->user = NULL; + ci->password = NULL; +@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_username) { + if (amqp_url) { + die("--username and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--username and --authfile options cannot be used at the same time"); + } + + ci->user = amqp_username; +@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_password) { + if (amqp_url) { + die("--password and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--password and --authfile options cannot be used at the same time"); + } + + ci->password = amqp_password; + } + ++ if (amqp_authfile) { ++ if (amqp_url) { ++ die("--authfile and --url options cannot be used at the same time"); ++ } ++ ++ read_authfile(amqp_authfile); ++ ci->user = amqp_username; ++ ci->password = amqp_password; ++ } ++ + if (amqp_vhost) { + if (amqp_url) { + die("--vhost and --url options cannot be used at the same time"); diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index 18ecaa3098..fad6655e4e 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -14,6 +14,9 @@ RABBITMQ_C_CONF_OPTS = \ -DBUILD_API_DOCS=OFF \ -DBUILD_TOOLS_DOCS=OFF +# 0001-Add-option-to-read-username-password-from-file.patch +RABBITMQ_C_IGNORE_CVES += CVE-2023-35789 + # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable ifeq ($(BR2_SHARED_STATIC_LIBS),y) RABBITMQ_C_CONF_OPTS += -DBUILD_STATIC_LIBS=ON -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 19:44:47 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 21:44:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptopp: bump to version 8.9.0 Message-ID: <20231028194447.989851-1-fontaine.fabrice@gmail.com> - Drop patch (already in version) - Update hash of License.txt (minor updates with: https://github.com/weidai11/cryptopp/commit/bc2c8423a1d8a193dcf1e5706c124587f9491b7f https://github.com/weidai11/cryptopp/commit/b418f93483562f1b59d0ba963dcdcc16b6a6a793 https://github.com/weidai11/cryptopp/commit/2bce06d5dbd3f53ebfcff44eef467667e44d8839) https://www.cryptopp.com/release890.html https://www.cryptopp.com/release880.html https://www.cryptopp.com/release870.html Signed-off-by: Fabrice Fontaine --- ...e-add-missing-shared-library-symlink.patch | 62 ------------------- package/cryptopp/cryptopp.hash | 6 +- package/cryptopp/cryptopp.mk | 2 +- 3 files changed, 4 insertions(+), 66 deletions(-) delete mode 100644 package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch diff --git a/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch b/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch deleted file mode 100644 index 5f87414d53..0000000000 --- a/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch +++ /dev/null @@ -1,62 +0,0 @@ -From e4c2e3bc8174f24cf63923619f5d06d85b84ae1d Mon Sep 17 00:00:00 2001 -From: Kamel Bouhara -Date: Fri, 7 Jan 2022 22:59:23 +0100 -Subject: [PATCH] GNUmakefile: add missing shared library symlink - -The GNUmakefile install-lib target currently installs the following -symlink: - - libcryptopp.so -> libcryptopp.so.8.6.0 - -However, it does not create the following symlink: - - libcryptopp.so.8 -> libcryptopp.so.8.6.0 - -This symlink is necessary at runtime because libcryptopp.so.8 is the -SONAME of the cryptopp library, and therefore this is what the dynamic -loader will search when starting a program that is linked against -cryptopp. - -For native compilation, the 'ldconfig' invocation that immediately -follows will create that symlink, so everything works. - -For cross-compilation however, ldconfig can't be used, and therefore -LDCONFIG is passed as /bin/true, and therefore it doesn't create the -symlink. So instead, create it directly inside the GNUmakefile, -without relying on ldconfig. - -Upstream: https://github.com/weidai11/cryptopp/pull/1101 -Signed-off-by: Kamel Bouhara -Signed-off-by: Thomas Petazzoni ---- - GNUmakefile | 1 + - GNUmakefile-cross | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/GNUmakefile b/GNUmakefile -index 23273edb..3b55e420 100644 ---- a/GNUmakefile -+++ b/GNUmakefile -@@ -1412,6 +1412,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) - $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) - ifeq ($(HAS_SOLIB_VERSION),1) - -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so -+ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) - $(LDCONF) $(DESTDIR)$(LIBDIR) - endif - endif -diff --git a/GNUmakefile-cross b/GNUmakefile-cross -index 9847f04b..a2b87e4a 100644 ---- a/GNUmakefile-cross -+++ b/GNUmakefile-cross -@@ -856,6 +856,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) - $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) - ifeq ($(HAS_SOLIB_VERSION),1) - -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so -+ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) - $(LDCONF) $(DESTDIR)$(LIBDIR) - endif - endif --- -2.33.1 - diff --git a/package/cryptopp/cryptopp.hash b/package/cryptopp/cryptopp.hash index 9a113b8f04..a7bc578da4 100644 --- a/package/cryptopp/cryptopp.hash +++ b/package/cryptopp/cryptopp.hash @@ -1,5 +1,5 @@ -# Hash from: https://www.cryptopp.com/release860.html: -sha512 e7773f5e4a7dc7e8e735b1702524bee56ba38e5211544c9c9778bc51ed8dc7b376c17f2e406410043b636312336f26f76dc963f298872f8c13933e88c232fc03 cryptopp860.zip +# Hash from: https://www.cryptopp.com/release890.html: +sha512 903970c4c0312272e93bae0cc3477be66b273dd38c9329fda9f7157ec44e247a3bc16b9d2b4ad625f258af0eaf2dc2c4210d4d14829b455f180983859a5c4b41 cryptopp890.zip # Hash for license file: -sha256 e668af8c73a38a66a1e8951d14ec24e7582fee5254dd6c3dae488a416d105d5f License.txt +sha256 78e4010b682cb94187fe0b57e50116d0ba271ef81104d1ddb35c80c3d81e3169 License.txt diff --git a/package/cryptopp/cryptopp.mk b/package/cryptopp/cryptopp.mk index 87d6fba237..a538f8c17d 100644 --- a/package/cryptopp/cryptopp.mk +++ b/package/cryptopp/cryptopp.mk @@ -4,7 +4,7 @@ # ################################################################################ -CRYPTOPP_VERSION = 8.6.0 +CRYPTOPP_VERSION = 8.9.0 CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip CRYPTOPP_SITE = https://cryptopp.com CRYPTOPP_LICENSE = BSL-1.0, BSD-3-Clause (CRYPTOGAMS), Public domain (ChaCha SSE2 and AVX) -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:00:24 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:00:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-urllib3: security bump to version 2.0.7 Message-ID: <20231028200024.1054270-1-fontaine.fabrice@gmail.com> Fix CVE-2023-43804 and CVE-2023-45803 https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 https://github.com/urllib3/urllib3/blob/2.0.7/CHANGES.rst Signed-off-by: Fabrice Fontaine --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2da7abdf29..209cfe277e 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 5d541b944febe50221e24c31cd6e887d urllib3-2.0.4.tar.gz -sha256 8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11 urllib3-2.0.4.tar.gz +md5 5a264ef3ae827e5842bbc80536a343dd urllib3-2.0.7.tar.gz +sha256 c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 urllib3-2.0.7.tar.gz # Locally computed sha256 checksums sha256 130e3a64d5fdd5d096a752694634a7d9df284469de86e5732100268041e3d686 LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index 7ff58d9a4a..ba041082db 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 2.0.4 +PYTHON_URLLIB3_VERSION = 2.0.7 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/31/ab/46bec149bbd71a4467a3063ac22f4486ecd2ceb70ae8c70d5d8e4c2a7946 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/af/47/b215df9f71b4fdba1025fc05a77db2ad243fa0926755a52c5e71659f4e3c PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:08:48 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:08:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/x11r7/xlib_libXpm: security bump to version 3.5.17 Message-ID: <20231028200848.1134223-1-fontaine.fabrice@gmail.com> Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003425.html Signed-off-by: Fabrice Fontaine --- package/x11r7/xlib_libXpm/xlib_libXpm.hash | 6 +++--- package/x11r7/xlib_libXpm/xlib_libXpm.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.hash b/package/x11r7/xlib_libXpm/xlib_libXpm.hash index a041f0d440..3582169891 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.hash +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.hash @@ -1,6 +1,6 @@ -# From https://lists.x.org/archives/xorg-announce/2023-April/003385.html -sha256 e6bc5da7a69dbd9bcc67e87c93d4904fe2f5177a0711c56e71fa2f6eff649f51 libXpm-3.5.16.tar.xz -sha512 ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2 libXpm-3.5.16.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003425.html +sha256 64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43 libXpm-3.5.17.tar.xz +sha512 52f9d2664a47a26c1a6ad65d18867de870b66947b0b0d99cca3512756a0aaa6ce2a245c0b49f20b70c3ce48bf04c47c333e8119a147465c277bca727f6ab017e libXpm-3.5.17.tar.xz # Locally calculated sha256 a80d706759624a04aa90fd62bc644a360fc3d72e08dcbfb129f167c11ca285de COPYING sha256 cbe4ced0abc8a32bea471204ae01038c202758ce4e772d3d329a341ffa761e71 COPYRIGHT diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk index 51f6283370..0bba3ea946 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.mk +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBXPM_VERSION = 3.5.16 +XLIB_LIBXPM_VERSION = 3.5.17 XLIB_LIBXPM_SOURCE = libXpm-$(XLIB_LIBXPM_VERSION).tar.xz XLIB_LIBXPM_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBXPM_LICENSE = MIT -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:14:13 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:14:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/x11r7/xlib_libX11: security bump to version 1.8.7 Message-ID: <20231028201413.1160957-1-fontaine.fabrice@gmail.com> Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003426.html Signed-off-by: Fabrice Fontaine --- package/x11r7/xlib_libX11/xlib_libX11.hash | 6 +++--- package/x11r7/xlib_libX11/xlib_libX11.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libX11/xlib_libX11.hash b/package/x11r7/xlib_libX11/xlib_libX11.hash index f443d947a4..56fecee9ff 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.hash +++ b/package/x11r7/xlib_libX11/xlib_libX11.hash @@ -1,5 +1,5 @@ -# From https://lists.x.org/archives/xorg-announce/2023-June/003407.html -sha256 59535b7cc6989ba806a022f7e8533b28c4397b9d86e9d07b6df0c0703fa25cc9 libX11-1.8.6.tar.xz -sha512 b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade libX11-1.8.6.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003426.html +sha256 05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee libX11-1.8.7.tar.xz +sha512 d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 libX11-1.8.7.tar.xz # Locally computed sha256 2e7012a140f000735a7172674a2d314398d79622444fba65d108b029b29ab283 COPYING diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk index 75199f1a3d..920a5d9aed 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.mk +++ b/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBX11_VERSION = 1.8.6 +XLIB_LIBX11_VERSION = 1.8.7 XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.xz XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBX11_LICENSE = MIT -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:32:52 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:32:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/cjson: bump to version 1.7.16 Message-ID: <20231028203252.1177951-1-fontaine.fabrice@gmail.com> https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 Signed-off-by: Fabrice Fontaine --- package/cjson/cjson.hash | 2 +- package/cjson/cjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash index c39e884cdd..74844d6aa6 100644 --- a/package/cjson/cjson.hash +++ b/package/cjson/cjson.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2 cjson-1.7.15.tar.gz +sha256 451131a92c55efc5457276807fc0c4c2c2707c9ee96ef90c47d68852d5384c6c cjson-1.7.16.tar.gz sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index ad9d76a4ba..7ed732ac90 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -CJSON_VERSION = 1.7.15 +CJSON_VERSION = 1.7.16 CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:37:00 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:37:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/cli11: bump to version 2.3.2 Message-ID: <20231028203700.1182700-1-fontaine.fabrice@gmail.com> Update hash of LICENSE file (update in year: https://github.com/CLIUtils/CLI11/commit/39a5f1981e9395e82be863e77b4b0c69239ec338) https://github.com/CLIUtils/CLI11/releases/tag/v2.3.2 Signed-off-by: Fabrice Fontaine --- package/cli11/cli11.hash | 4 ++-- package/cli11/cli11.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/cli11/cli11.hash b/package/cli11/cli11.hash index 12e5b4fb55..42ab5d1311 100644 --- a/package/cli11/cli11.hash +++ b/package/cli11/cli11.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 378da73d2d1d9a7b82ad6ed2b5bda3e7bc7093c4034a1d680a2e009eb067e7b2 cli11-2.3.1.tar.gz -sha256 89022151dbf5827a22430557ef2f8a75808dd25fa1e9a12709ef5421d363e66d LICENSE +sha256 aac0ab42108131ac5d3344a9db0fdf25c4db652296641955720a4fbe52334e22 cli11-2.3.2.tar.gz +sha256 4110754959bd99e0ebc34001ed0402ff5f371364e83f9db6d1e230d02368984f LICENSE diff --git a/package/cli11/cli11.mk b/package/cli11/cli11.mk index b02bd4478f..349c14fe60 100644 --- a/package/cli11/cli11.mk +++ b/package/cli11/cli11.mk @@ -4,7 +4,7 @@ # ################################################################################ -CLI11_VERSION = 2.3.1 +CLI11_VERSION = 2.3.2 CLI11_SITE = $(call github,CLIUtils,CLI11,v$(CLI11_VERSION)) CLI11_LICENSE = BSD-3-Clause CLI11_LICENSE_FILES = LICENSE -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:40:24 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:40:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/cppzmq: bump to version 4.10.0 Message-ID: <20231028204024.1193680-1-fontaine.fabrice@gmail.com> https://github.com/zeromq/cppzmq/releases/tag/v4.10.0 Signed-off-by: Fabrice Fontaine --- package/cppzmq/cppzmq.hash | 2 +- package/cppzmq/cppzmq.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cppzmq/cppzmq.hash b/package/cppzmq/cppzmq.hash index 3fbee7af28..dd6e06494a 100644 --- a/package/cppzmq/cppzmq.hash +++ b/package/cppzmq/cppzmq.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3fdf5b100206953f674c94d40599bdb3ea255244dcc42fab0d75855ee3645581 cppzmq-4.9.0.tar.gz +sha256 c81c81bba8a7644c84932225f018b5088743a22999c6d82a2b5f5cd1e6942b74 cppzmq-4.10.0.tar.gz sha256 7e6db90e2e805c72b3daa77849d1cb5f1f92da0e69750c8a4aa1d86d70704748 LICENSE diff --git a/package/cppzmq/cppzmq.mk b/package/cppzmq/cppzmq.mk index d702cc174e..90213ec0f6 100644 --- a/package/cppzmq/cppzmq.mk +++ b/package/cppzmq/cppzmq.mk @@ -4,7 +4,7 @@ # ################################################################################ -CPPZMQ_VERSION = 4.9.0 +CPPZMQ_VERSION = 4.10.0 CPPZMQ_SITE = $(call github,zeromq,cppzmq,v$(CPPZMQ_VERSION)) CPPZMQ_INSTALL_STAGING = YES CPPZMQ_DEPENDENCIES = host-pkgconf zeromq -- 2.42.0 From yann.morin.1998 at free.fr Sat Oct 28 20:41:23 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:41:23 +0200 Subject: [Buildroot] [git commit] package/spirv-headers: needs C++ Message-ID: <20231028204443.00A2685F64@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3155bd54ebf705b9e436856f38b0c7d1a584b8ae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since the addition of the package in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: CMake Error at /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/4b94edf6dee03e74ff53939aa228069cc6ba4292 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: propagate to spirv-tools] Signed-off-by: Yann E. MORIN --- package/spirv-headers/Config.in | 4 ++++ package/spirv-tools/Config.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in index fd20f301d4..e03a6ca1ee 100644 --- a/package/spirv-headers/Config.in +++ b/package/spirv-headers/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_SPIRV_HEADERS bool "spirv-headers" + depends on BR2_INSTALL_LIBSTDCPP help Machine-readable files for the SPIR-V Registry https://www.khronos.org/registry/spir-v + +comment "spirv-headers needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in index e2f46253a9..345b8e7331 100644 --- a/package/spirv-tools/Config.in +++ b/package/spirv-tools/Config.in @@ -1,8 +1,12 @@ config BR2_PACKAGE_SPIRV_TOOLS bool "spirv-tools" + depends on BR2_INSTALL_LIBSTDCPP # spirv-headers select BR2_PACKAGE_SPIRV_HEADERS help The SPIR-V Tools project provides an API and commands for processing SPIR-V modules. https://github.com/KhronosGroup/SPIRV-Tools + +comment "spirv-tools needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From yann.morin.1998 at free.fr Sat Oct 28 20:45:32 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:45:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/spirv-headers: needs C++ In-Reply-To: <20231028151445.10334-1-fontaine.fabrice@gmail.com> References: <20231028151445.10334-1-fontaine.fabrice@gmail.com> Message-ID: <20231028204532.GI2582@scaer> Fabrice, All, On 2023-10-28 17:14 +0200, Fabrice Fontaine spake thusly: > Fix the following build failure raised since the addition of the package > in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: > > CMake Error at /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message): > The C++ compiler > > "/usr/bin/c++" > > is not able to compile a simple test program. > > Fixes: > - http://autobuild.buildroot.org/results/4b94edf6dee03e74ff53939aa228069cc6ba4292 > > Signed-off-by: Fabrice Fontaine > --- > package/spirv-headers/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in > index fd20f301d4..e03a6ca1ee 100644 > --- a/package/spirv-headers/Config.in > +++ b/package/spirv-headers/Config.in > @@ -1,6 +1,10 @@ > config BR2_PACKAGE_SPIRV_HEADERS > bool "spirv-headers" > + depends on BR2_INSTALL_LIBSTDCPP spirv-headers are selected by spirv-tools, so the dependency must be propagated there. Applied to master with the above fixed, thanks. Regards, Yann E. MORIN. > help > Machine-readable files for the SPIR-V Registry > > https://www.khronos.org/registry/spir-v > + > +comment "spirv-headers needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sat Oct 28 20:51:00 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:51:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/acsccid: bump to version 1.1.10 Message-ID: <20231028205100.1220118-1-fontaine.fabrice@gmail.com> https://sourceforge.net/p/acsccid/news/2023/04/acsccid-119-released/ https://sourceforge.net/p/acsccid/news/2023/08/acsccid-1110-released/ Signed-off-by: Fabrice Fontaine --- package/acsccid/acsccid.hash | 8 ++++---- package/acsccid/acsccid.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/acsccid/acsccid.hash b/package/acsccid/acsccid.hash index f43a7930a4..5310d78144 100644 --- a/package/acsccid/acsccid.hash +++ b/package/acsccid/acsccid.hash @@ -1,6 +1,6 @@ -# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.7/ -sha1 c0062401e5fedf3ec12c8c2d375d6e1561a8a8ed acsccid-1.1.8.tar.bz2 -md5 3eba7b2527aa0b14c73b1a620a1d72d2 acsccid-1.1.8.tar.bz2 +# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.10/ +sha1 6284a693b8edb511f2f80d9069af9b4a41fd55ae acsccid-1.1.10.tar.bz2 +md5 4d2b7f34414aed029084c96dd05a0e7d acsccid-1.1.10.tar.bz2 # Locally computed -sha256 f86fd846bc88594a569ea27040cb441d933b7eca8d51d2a90bacf161e7740051 acsccid-1.1.8.tar.bz2 +sha256 5ee112febdcac6656629025f3a85923f155f6ca150b2d24fd716f9043265528e acsccid-1.1.10.tar.bz2 sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING diff --git a/package/acsccid/acsccid.mk b/package/acsccid/acsccid.mk index db74e9cb76..463f0f24d6 100644 --- a/package/acsccid/acsccid.mk +++ b/package/acsccid/acsccid.mk @@ -4,7 +4,7 @@ # ################################################################################ -ACSCCID_VERSION = 1.1.8 +ACSCCID_VERSION = 1.1.10 ACSCCID_SOURCE = acsccid-$(ACSCCID_VERSION).tar.bz2 ACSCCID_SITE = http://downloads.sourceforge.net/acsccid ACSCCID_LICENSE = LGPL-2.1+ -- 2.42.0 From yann.morin.1998 at free.fr Sat Oct 28 20:49:27 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:27 +0200 Subject: [Buildroot] [git commit] package/powerpc-utils: bump to version 1.3.11 Message-ID: <20231028210321.A694F85F52@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf746901dd59e4de56114ea9e9250e155d11231b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/ibm-power-utilities/powerpc-utils/blob/v1.3.11/Changelog Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/powerpc-utils/powerpc-utils.hash | 2 +- package/powerpc-utils/powerpc-utils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/powerpc-utils/powerpc-utils.hash b/package/powerpc-utils/powerpc-utils.hash index b3c77fb223..32387014cc 100644 --- a/package/powerpc-utils/powerpc-utils.hash +++ b/package/powerpc-utils/powerpc-utils.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d64d9016a3e63a1e44c6e0833742cf964ae6bb1c6a9c7f0c7c5748aa335dc3db powerpc-utils-1.3.10.tar.gz +sha256 6bb16078068d8b889afdd78927d2f061702ef155e57fc548ae573e2b0b90ca13 powerpc-utils-1.3.11.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/powerpc-utils/powerpc-utils.mk b/package/powerpc-utils/powerpc-utils.mk index 19fa84946c..8d5491133b 100644 --- a/package/powerpc-utils/powerpc-utils.mk +++ b/package/powerpc-utils/powerpc-utils.mk @@ -4,7 +4,7 @@ # ################################################################################ -POWERPC_UTILS_VERSION = 1.3.10 +POWERPC_UTILS_VERSION = 1.3.11 POWERPC_UTILS_SITE = $(call github,ibm-power-utilities,powerpc-utils,v$(POWERPC_UTILS_VERSION)) POWERPC_UTILS_DEPENDENCIES = zlib numactl POWERPC_UTILS_AUTORECONF = YES From yann.morin.1998 at free.fr Sat Oct 28 20:49:34 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:34 +0200 Subject: [Buildroot] [git commit] package/avrdude: bump to version 7.2 Message-ID: <20231028210321.B26DB86079@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=afe32537d13ebbc869825779db95d36a8a713417 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/avrdudes/avrdude/blob/v7.2/NEWS Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/avrdude/avrdude.hash | 2 +- package/avrdude/avrdude.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/avrdude/avrdude.hash b/package/avrdude/avrdude.hash index 5910a568db..cb34e6b6f9 100644 --- a/package/avrdude/avrdude.hash +++ b/package/avrdude/avrdude.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 016a5c95746fadc169cfb3009f6aa306ccdea2ff279fdb6fddcbe7526d84e5eb avrdude-7.1.tar.gz +sha256 beb4e0b0a07f8d47e550329ab93c345d5252350de6f833afde51b4d8bd934674 avrdude-7.2.tar.gz sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 COPYING diff --git a/package/avrdude/avrdude.mk b/package/avrdude/avrdude.mk index 8ebe33b372..89637d4ca6 100644 --- a/package/avrdude/avrdude.mk +++ b/package/avrdude/avrdude.mk @@ -4,7 +4,7 @@ # ################################################################################ -AVRDUDE_VERSION = 7.1 +AVRDUDE_VERSION = 7.2 AVRDUDE_SITE = $(call github,avrdudes,avrdude,v$(AVRDUDE_VERSION)) AVRDUDE_LICENSE = GPL-2.0+ AVRDUDE_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sat Oct 28 20:49:20 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:20 +0200 Subject: [Buildroot] [git commit] package/dracut: bump to version 059 Message-ID: <20231028210321.9BA5F8607C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=145f01ded5e340ec269d82d5d88cf61fc0b314a3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/dracutdevs/dracut/blob/059/NEWS.md Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/dracut/dracut.hash | 2 +- package/dracut/dracut.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/dracut/dracut.hash b/package/dracut/dracut.hash index 34db6af23b..6ca352c542 100644 --- a/package/dracut/dracut.hash +++ b/package/dracut/dracut.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 24f149d683d188c0d25756529b7d1e5cd6be8028e0c1043110f303d0d706757d dracut-057.tar.gz +sha256 eabf0bb685420c1e1d5475b6855ef787104508f0135ff570312845256e0fcecf dracut-059.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/dracut/dracut.mk b/package/dracut/dracut.mk index 3eb9bcc474..1de11d208d 100644 --- a/package/dracut/dracut.mk +++ b/package/dracut/dracut.mk @@ -4,7 +4,7 @@ # ################################################################################ -DRACUT_VERSION = 057 +DRACUT_VERSION = 059 DRACUT_SITE = $(call github,dracutdevs,dracut,$(DRACUT_VERSION)) DRACUT_LICENSE = GPL-2.0 DRACUT_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sat Oct 28 20:49:02 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:02 +0200 Subject: [Buildroot] [git commit] package/zchunk: security bump to version 1.3.2 Message-ID: <20231028210321.7847B85F52@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8716942ca68e98e384746c09871fedfb36c0f629 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Drop patches (already in version) - tests can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 - docs can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, lib/dl/multipart.c, or lib/header.c. https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- .checkpackageignore | 2 - ...fix-argp-standalone-wrap-and-find_library.patch | 106 --------------------- .../0002-zck-declare-write_data-as-static.patch | 34 ------- package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 3 +- 5 files changed, 3 insertions(+), 144 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index b1d0b93b32..bb23c60a25 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1542,8 +1542,6 @@ package/ympd/0002-added-forward-declarations.patch Upstream package/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch Upstream package/zabbix/0002-fix-build-with-libressl-3.5.0.patch Upstream package/zbar/0001-python-enum-fix-build-for-Python-3.11.patch Upstream -package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch Upstream -package/zchunk/0002-zck-declare-write_data-as-static.patch Upstream package/zic/0001-remove-dependency-check-on-version-file.patch Upstream package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch Upstream package/zip/0002-configure-Don-t-use-host-CPP.patch Upstream diff --git a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch b/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch deleted file mode 100644 index 6c9cdba3ad..0000000000 --- a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 473c97cda44b95f5cea08a0cdd566e602df564db Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Thu, 21 Apr 2022 14:24:01 -0600 -Subject: [PATCH] meson: fix argp-standalone wrap and find_library - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -473c97cda44b95f5cea08a0cdd566e602df564db] ---- - .github/workflows/main.yml | 27 --------------------------- - meson.build | 6 +++--- - subprojects/argp-standalone.wrap | 7 +++++++ - 3 files changed, 10 insertions(+), 30 deletions(-) - create mode 100644 subprojects/argp-standalone.wrap - -diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml -index c49806f..35667af 100644 ---- a/.github/workflows/main.yml -+++ b/.github/workflows/main.yml -@@ -35,25 +35,11 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - name: Install mamba - uses: mamba-org/provision-with-micromamba at main - with: - environment-file: .github/environment.yml - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- CALL micromamba activate zchunk_test_env -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir --prefix=%CONDA_PREFIX%\Library -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -@@ -75,11 +61,6 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - uses: actions/setup-python at v1 - with: - python-version: '3.x' -@@ -87,14 +68,6 @@ jobs: - - name: Install meson and ninja - run: pip install meson ninja - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -diff --git a/meson.build b/meson.build -index 1c6b32d..aa7dd25 100644 ---- a/meson.build -+++ b/meson.build -@@ -58,10 +58,10 @@ endif - - # argp-standalone dependency (if required) - if build_machine.system() == 'windows' or build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include \nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}') -- if fs.is_dir(join_paths([get_option('prefix'), 'include'])) -- inc += include_directories(join_paths([get_option('prefix'), 'include'])) -+ argplib = cc.find_library('argp', has_headers : ['argp.h'], required: false) -+ if not argplib.found() -+ argplib = dependency('argp-standalone') - endif -- argplib = cc.find_library('argp', dirs : join_paths([get_option('prefix'), 'lib'])) - else - argplib = dependency('', required : false) - endif -diff --git a/subprojects/argp-standalone.wrap b/subprojects/argp-standalone.wrap -new file mode 100644 -index 0000000..14c0b63 ---- /dev/null -+++ b/subprojects/argp-standalone.wrap -@@ -0,0 +1,7 @@ -+[wrap-git] -+directory = argp-standalone-1.4.1 -+url = https://github.com/argp-standalone/argp-standalone.git -+revision = 21855f34ec9997c37e1a08cd69497336513a5800 -+ -+[provide] -+dependency_names = argp-standalone --- -2.25.1 - diff --git a/package/zchunk/0002-zck-declare-write_data-as-static.patch b/package/zchunk/0002-zck-declare-write_data-as-static.patch deleted file mode 100644 index 3c48ab3d50..0000000000 --- a/package/zchunk/0002-zck-declare-write_data-as-static.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Wed, 4 May 2022 16:32:48 -0600 -Subject: [PATCH] zck: declare write_data as static - -This needs to be declared static to avoid a symbol conflict: -io.c:(.text+0xe8): multiple definition of `write_data'; src/zck.p/zck.c.o:zck.c:(.text+0x1f4): first defined here - -Fixes: - - http://autobuild.buildroot.net/results/225/22590a7038a40da3700d56c1f82f7dc74225702a - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc] ---- - src/zck.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/zck.c b/src/zck.c -index 7727479..83b2630 100644 ---- a/src/zck.c -+++ b/src/zck.c -@@ -159,7 +159,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) { - - static struct argp argp = {options, parse_opt, args_doc, doc}; - --void write_data(zckCtx *zck, char *data, ssize_t in_size) { -+static void write_data(zckCtx *zck, char *data, ssize_t in_size) { - if(zck_write(zck, data, in_size) < 0) { - LOG_ERROR("%s", zck_get_error(zck)); - exit(1); --- -2.25.1 - diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index fa097d4ae0..15103a9ea0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz +sha256 4d923d32af7db33f3c0a6655b258e857a2ca564912cf85ddce14e9b1b7d495bf zchunk-1.3.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 2acdaba3a1..39d51ac352 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,12 +4,13 @@ # ################################################################################ -ZCHUNK_VERSION = 1.2.2 +ZCHUNK_VERSION = 1.3.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES +ZCHUNK_CONF_OPTS = -Ddocs=false -Dtests=false ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) ZCHUNK_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) From yann.morin.1998 at free.fr Sat Oct 28 20:49:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:52 +0200 Subject: [Buildroot] [git commit] package/python-urllib3: security bump to version 2.0.7 Message-ID: <20231028210321.EBC6F86079@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e0e96336aba445d711a352caadab68ed87e87d07 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2023-43804 and CVE-2023-45803 https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 https://github.com/urllib3/urllib3/blob/2.0.7/CHANGES.rst Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2da7abdf29..209cfe277e 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 5d541b944febe50221e24c31cd6e887d urllib3-2.0.4.tar.gz -sha256 8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11 urllib3-2.0.4.tar.gz +md5 5a264ef3ae827e5842bbc80536a343dd urllib3-2.0.7.tar.gz +sha256 c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 urllib3-2.0.7.tar.gz # Locally computed sha256 checksums sha256 130e3a64d5fdd5d096a752694634a7d9df284469de86e5732100268041e3d686 LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index 7ff58d9a4a..ba041082db 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 2.0.4 +PYTHON_URLLIB3_VERSION = 2.0.7 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/31/ab/46bec149bbd71a4467a3063ac22f4486ecd2ceb70ae8c70d5d8e4c2a7946 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/af/47/b215df9f71b4fdba1025fc05a77db2ad243fa0926755a52c5e71659f4e3c PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python From yann.morin.1998 at free.fr Sat Oct 28 20:49:14 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:14 +0200 Subject: [Buildroot] [git commit] package/tiff: security bump to version 4.6.0 Message-ID: <20231028210321.917058607B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e96b1c4b0b06d65c54a764fe4a59d886afc70df5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Drop --without-x (now unrecognized) - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. - Fix CVE-2023-41175: A vulnerability was found in libtiff due to multiple potential integer overflows in raw2tiff.c. This flaw allows remote attackers to cause a denial of service or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/tiff/tiff.hash | 2 +- package/tiff/tiff.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/tiff/tiff.hash b/package/tiff/tiff.hash index 0fa503a02a..3aae7dc4d5 100644 --- a/package/tiff/tiff.hash +++ b/package/tiff/tiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b tiff-4.5.1.tar.gz +sha256 88b3979e6d5c7e32b50d7ec72fb15af724f6ab2cbf7e10880c360a77e4b5d99a tiff-4.6.0.tar.gz sha256 0780558a8bfba0af1160ec1ff11ade4f41c0d7deafd6ecfc796b492a788e380d LICENSE.md diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 0006f461a0..e384e8b814 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIFF_VERSION = 4.5.1 +TIFF_VERSION = 4.6.0 TIFF_SITE = http://download.osgeo.org/libtiff TIFF_LICENSE = tiff license TIFF_LICENSE_FILES = LICENSE.md @@ -17,14 +17,12 @@ TIFF_INSTALL_STAGING = YES TIFF_CONF_OPTS = \ --disable-contrib \ --disable-tests \ - --disable-webp \ - --without-x + --disable-webp TIFF_DEPENDENCIES = host-pkgconf HOST_TIFF_CONF_OPTS = \ --disable-cxx \ - --without-x \ --disable-zlib \ --disable-libdeflate \ --disable-lzma \ From yann.morin.1998 at free.fr Sat Oct 28 20:50:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:50:22 +0200 Subject: [Buildroot] [git commit] package/cppzmq: bump to version 4.10.0 Message-ID: <20231028210322.33F1D86079@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f3319e0bb82379aecc3bac401d973648b22a1b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/zeromq/cppzmq/releases/tag/v4.10.0 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppzmq/cppzmq.hash | 2 +- package/cppzmq/cppzmq.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cppzmq/cppzmq.hash b/package/cppzmq/cppzmq.hash index 3fbee7af28..dd6e06494a 100644 --- a/package/cppzmq/cppzmq.hash +++ b/package/cppzmq/cppzmq.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3fdf5b100206953f674c94d40599bdb3ea255244dcc42fab0d75855ee3645581 cppzmq-4.9.0.tar.gz +sha256 c81c81bba8a7644c84932225f018b5088743a22999c6d82a2b5f5cd1e6942b74 cppzmq-4.10.0.tar.gz sha256 7e6db90e2e805c72b3daa77849d1cb5f1f92da0e69750c8a4aa1d86d70704748 LICENSE diff --git a/package/cppzmq/cppzmq.mk b/package/cppzmq/cppzmq.mk index d702cc174e..90213ec0f6 100644 --- a/package/cppzmq/cppzmq.mk +++ b/package/cppzmq/cppzmq.mk @@ -4,7 +4,7 @@ # ################################################################################ -CPPZMQ_VERSION = 4.9.0 +CPPZMQ_VERSION = 4.10.0 CPPZMQ_SITE = $(call github,zeromq,cppzmq,v$(CPPZMQ_VERSION)) CPPZMQ_INSTALL_STAGING = YES CPPZMQ_DEPENDENCIES = host-pkgconf zeromq From yann.morin.1998 at free.fr Sat Oct 28 20:49:08 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:08 +0200 Subject: [Buildroot] [git commit] package/atop: bump to version 2.9.0 Message-ID: <20231028210321.85D888607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c70374c4f0f9f77875eac26a5e51ab662575c1c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://www.atoptool.nl/downloadatop.php Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/atop/atop.hash | 2 +- package/atop/atop.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/atop/atop.hash b/package/atop/atop.hash index e42354739a..0b7ee061dd 100644 --- a/package/atop/atop.hash +++ b/package/atop/atop.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 3b002cb9774a7d6b3e820451773ae5e909b5e725738c6f375f14d1c1976d9fba atop-2.8.0.tar.gz +sha256 8d82f211b712a227000ef254c0a2b53bcb71235bf40d93316acce80b04bff926 atop-2.9.0.tar.gz # Hash for license file: sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/atop/atop.mk b/package/atop/atop.mk index 04a554b474..6a0ff3a0d1 100644 --- a/package/atop/atop.mk +++ b/package/atop/atop.mk @@ -4,7 +4,7 @@ # ################################################################################ -ATOP_VERSION = 2.8.0 +ATOP_VERSION = 2.9.0 ATOP_SITE = http://www.atoptool.nl/download ATOP_LICENSE = GPL-2.0+ ATOP_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sat Oct 28 20:48:55 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:48:55 +0200 Subject: [Buildroot] [git commit] package/zchunk: add ZCHUNK_CPE_ID_VENDOR Message-ID: <20231028210321.6A77886077@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3499c75ccf8b481fb3499a218920a3e276b09fa9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/zchunk/zchunk.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index fc91f90431..2acdaba3a1 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE +ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) From yann.morin.1998 at free.fr Sat Oct 28 20:49:40 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:40 +0200 Subject: [Buildroot] [git commit] package/rabbitmq-c: fix CVE-2023-35789 Message-ID: <20231028210321.C0A6286077@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c3fcaeaaa7fc0a6023d44ac16c9197b847504706 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master An issue was discovered in the C AMQP client library (aka rabbitmq-c) through 0.13.0 for RabbitMQ. Credentials can only be entered on the command line (e.g., for amqp-publish or amqp-consume) and are thus visible to local attackers by listing a process and its arguments. Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...ption-to-read-username-password-from-file.patch | 130 +++++++++++++++++++++ package/rabbitmq-c/rabbitmq-c.mk | 3 + 2 files changed, 133 insertions(+) diff --git a/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch new file mode 100644 index 0000000000..347063cfb3 --- /dev/null +++ b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch @@ -0,0 +1,130 @@ +From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001 +From: Christian Kastner +Date: Tue, 13 Jun 2023 14:21:52 +0200 +Subject: [PATCH] Add option to read username/password from file (#781) + +* Add option to read username/password from file + +Upstream: https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 +Signed-off-by: Fabrice Fontaine +--- + tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + +diff --git a/tools/common.c b/tools/common.c +index 73b47e25..7efe557b 100644 +--- a/tools/common.c ++++ b/tools/common.c +@@ -18,6 +18,11 @@ + #include "compat.h" + #endif + ++/* For when reading auth data from a file */ ++#define MAXAUTHTOKENLEN 128 ++#define USERNAMEPREFIX "username:" ++#define PASSWORDPREFIX "password:" ++ + void die(const char *fmt, ...) { + va_list ap; + va_start(ap, fmt); +@@ -125,6 +130,7 @@ static char *amqp_vhost; + static char *amqp_username; + static char *amqp_password; + static int amqp_heartbeat = 0; ++static char *amqp_authfile; + #ifdef WITH_SSL + static int amqp_ssl = 0; + static char *amqp_cacert = "/etc/ssl/certs/cacert.pem"; +@@ -147,6 +153,8 @@ struct poptOption connect_options[] = { + "the password to login with", "password"}, + {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0, + "heartbeat interval, set to 0 to disable", "heartbeat"}, ++ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0, ++ "path to file containing username/password for authentication", "file"}, + #ifdef WITH_SSL + {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL}, + {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0, +@@ -158,6 +166,50 @@ struct poptOption connect_options[] = { + #endif /* WITH_SSL */ + {NULL, '\0', 0, NULL, 0, NULL, NULL}}; + ++void read_authfile(const char *path) { ++ size_t n; ++ FILE *fp = NULL; ++ char token[MAXAUTHTOKENLEN]; ++ ++ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL || ++ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) { ++ die("Out of memory"); ++ } else if ((fp = fopen(path, "r")) == NULL) { ++ die("Could not read auth data file %s", path); ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) { ++ die("Malformed auth file (missing username)"); ++ } ++ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_username); ++ if (amqp_username[n - 1] != '\n') { ++ die("Username too long"); ++ } else { ++ amqp_username[n - 1] = '\0'; ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) { ++ die("Malformed auth file (missing password)"); ++ } ++ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_password); ++ if (amqp_password[n - 1] != '\n') { ++ die("Password too long"); ++ } else { ++ amqp_password[n - 1] = '\0'; ++ } ++ ++ (void)fgetc(fp); ++ if (!feof(fp)) { ++ die("Malformed auth file (trailing data)"); ++ } ++} ++ + static void init_connection_info(struct amqp_connection_info *ci) { + ci->user = NULL; + ci->password = NULL; +@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_username) { + if (amqp_url) { + die("--username and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--username and --authfile options cannot be used at the same time"); + } + + ci->user = amqp_username; +@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_password) { + if (amqp_url) { + die("--password and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--password and --authfile options cannot be used at the same time"); + } + + ci->password = amqp_password; + } + ++ if (amqp_authfile) { ++ if (amqp_url) { ++ die("--authfile and --url options cannot be used at the same time"); ++ } ++ ++ read_authfile(amqp_authfile); ++ ci->user = amqp_username; ++ ci->password = amqp_password; ++ } ++ + if (amqp_vhost) { + if (amqp_url) { + die("--vhost and --url options cannot be used at the same time"); diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index 18ecaa3098..fad6655e4e 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -14,6 +14,9 @@ RABBITMQ_C_CONF_OPTS = \ -DBUILD_API_DOCS=OFF \ -DBUILD_TOOLS_DOCS=OFF +# 0001-Add-option-to-read-username-password-from-file.patch +RABBITMQ_C_IGNORE_CVES += CVE-2023-35789 + # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable ifeq ($(BR2_SHARED_STATIC_LIBS),y) RABBITMQ_C_CONF_OPTS += -DBUILD_STATIC_LIBS=ON From yann.morin.1998 at free.fr Sat Oct 28 20:50:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:50:10 +0200 Subject: [Buildroot] [git commit] package/cjson: bump to version 1.7.16 Message-ID: <20231028210322.1FB6B86077@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=654f18c61709cf8c7d92236c1b81bb80a9ce70d6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cjson/cjson.hash | 2 +- package/cjson/cjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash index c39e884cdd..74844d6aa6 100644 --- a/package/cjson/cjson.hash +++ b/package/cjson/cjson.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2 cjson-1.7.15.tar.gz +sha256 451131a92c55efc5457276807fc0c4c2c2707c9ee96ef90c47d68852d5384c6c cjson-1.7.16.tar.gz sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index ad9d76a4ba..7ed732ac90 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -CJSON_VERSION = 1.7.15 +CJSON_VERSION = 1.7.16 CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT From yann.morin.1998 at free.fr Sat Oct 28 20:50:16 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:50:16 +0200 Subject: [Buildroot] [git commit] package/cli11: bump to version 2.3.2 Message-ID: <20231028210322.2981D8607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e324475294bf4714d81dfc3e8fe5f2c62335fb9f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update hash of LICENSE file (update in year: https://github.com/CLIUtils/CLI11/commit/39a5f1981e9395e82be863e77b4b0c69239ec338) https://github.com/CLIUtils/CLI11/releases/tag/v2.3.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cli11/cli11.hash | 4 ++-- package/cli11/cli11.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/cli11/cli11.hash b/package/cli11/cli11.hash index 12e5b4fb55..42ab5d1311 100644 --- a/package/cli11/cli11.hash +++ b/package/cli11/cli11.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 378da73d2d1d9a7b82ad6ed2b5bda3e7bc7093c4034a1d680a2e009eb067e7b2 cli11-2.3.1.tar.gz -sha256 89022151dbf5827a22430557ef2f8a75808dd25fa1e9a12709ef5421d363e66d LICENSE +sha256 aac0ab42108131ac5d3344a9db0fdf25c4db652296641955720a4fbe52334e22 cli11-2.3.2.tar.gz +sha256 4110754959bd99e0ebc34001ed0402ff5f371364e83f9db6d1e230d02368984f LICENSE diff --git a/package/cli11/cli11.mk b/package/cli11/cli11.mk index b02bd4478f..349c14fe60 100644 --- a/package/cli11/cli11.mk +++ b/package/cli11/cli11.mk @@ -4,7 +4,7 @@ # ################################################################################ -CLI11_VERSION = 2.3.1 +CLI11_VERSION = 2.3.2 CLI11_SITE = $(call github,CLIUtils,CLI11,v$(CLI11_VERSION)) CLI11_LICENSE = BSD-3-Clause CLI11_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Sat Oct 28 20:50:04 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:50:04 +0200 Subject: [Buildroot] [git commit] package/x11r7/xlib_libX11: security bump to version 1.8.7 Message-ID: <20231028210322.0ED7186079@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=98d0a7b95f416c88581788b5ad3ee3d1d5cbbd67 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003426.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/x11r7/xlib_libX11/xlib_libX11.hash | 6 +++--- package/x11r7/xlib_libX11/xlib_libX11.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libX11/xlib_libX11.hash b/package/x11r7/xlib_libX11/xlib_libX11.hash index f443d947a4..56fecee9ff 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.hash +++ b/package/x11r7/xlib_libX11/xlib_libX11.hash @@ -1,5 +1,5 @@ -# From https://lists.x.org/archives/xorg-announce/2023-June/003407.html -sha256 59535b7cc6989ba806a022f7e8533b28c4397b9d86e9d07b6df0c0703fa25cc9 libX11-1.8.6.tar.xz -sha512 b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade libX11-1.8.6.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003426.html +sha256 05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee libX11-1.8.7.tar.xz +sha512 d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 libX11-1.8.7.tar.xz # Locally computed sha256 2e7012a140f000735a7172674a2d314398d79622444fba65d108b029b29ab283 COPYING diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk index 75199f1a3d..920a5d9aed 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.mk +++ b/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBX11_VERSION = 1.8.6 +XLIB_LIBX11_VERSION = 1.8.7 XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.xz XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBX11_LICENSE = MIT From yann.morin.1998 at free.fr Sat Oct 28 21:03:24 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:03:24 +0200 Subject: [Buildroot] [PATCH 1/2] package/zchunk: add ZCHUNK_CPE_ID_VENDOR In-Reply-To: <20231028153448.142511-1-fontaine.fabrice@gmail.com> References: <20231028153448.142511-1-fontaine.fabrice@gmail.com> Message-ID: <20231028210324.GA687180@scaer> Fabrice, All, On 2023-10-28 17:34 +0200, Fabrice Fontaine spake thusly: > cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: > > https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA > > Signed-off-by: Fabrice Fontaine Both patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/zchunk/zchunk.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk > index fc91f90431..2acdaba3a1 100644 > --- a/package/zchunk/zchunk.mk > +++ b/package/zchunk/zchunk.mk > @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 > ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) > ZCHUNK_LICENSE = BSD-2-Clause > ZCHUNK_LICENSE_FILES = LICENSE > +ZCHUNK_CPE_ID_VENDOR = zchunk > ZCHUNK_INSTALL_STAGING = YES > > ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 20:49:58 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:58 +0200 Subject: [Buildroot] [git commit] package/x11r7/xlib_libXpm: security bump to version 3.5.17 Message-ID: <20231028210322.02C7386077@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c709ab6fff85285c3f44eacbe780302a29a32ede branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003425.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/x11r7/xlib_libXpm/xlib_libXpm.hash | 6 +++--- package/x11r7/xlib_libXpm/xlib_libXpm.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.hash b/package/x11r7/xlib_libXpm/xlib_libXpm.hash index a041f0d440..3582169891 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.hash +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.hash @@ -1,6 +1,6 @@ -# From https://lists.x.org/archives/xorg-announce/2023-April/003385.html -sha256 e6bc5da7a69dbd9bcc67e87c93d4904fe2f5177a0711c56e71fa2f6eff649f51 libXpm-3.5.16.tar.xz -sha512 ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2 libXpm-3.5.16.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003425.html +sha256 64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43 libXpm-3.5.17.tar.xz +sha512 52f9d2664a47a26c1a6ad65d18867de870b66947b0b0d99cca3512756a0aaa6ce2a245c0b49f20b70c3ce48bf04c47c333e8119a147465c277bca727f6ab017e libXpm-3.5.17.tar.xz # Locally calculated sha256 a80d706759624a04aa90fd62bc644a360fc3d72e08dcbfb129f167c11ca285de COPYING sha256 cbe4ced0abc8a32bea471204ae01038c202758ce4e772d3d329a341ffa761e71 COPYRIGHT diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk index 51f6283370..0bba3ea946 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.mk +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBXPM_VERSION = 3.5.16 +XLIB_LIBXPM_VERSION = 3.5.17 XLIB_LIBXPM_SOURCE = libXpm-$(XLIB_LIBXPM_VERSION).tar.xz XLIB_LIBXPM_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBXPM_LICENSE = MIT From yann.morin.1998 at free.fr Sat Oct 28 20:49:46 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:46 +0200 Subject: [Buildroot] [git commit] package/cryptopp: bump to version 8.9.0 Message-ID: <20231028210321.DE1068607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7217661e3a4a324852982ab3e61ea319c068be4e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Drop patch (already in version) - Update hash of License.txt (minor updates with: https://github.com/weidai11/cryptopp/commit/bc2c8423a1d8a193dcf1e5706c124587f9491b7f https://github.com/weidai11/cryptopp/commit/b418f93483562f1b59d0ba963dcdcc16b6a6a793 https://github.com/weidai11/cryptopp/commit/2bce06d5dbd3f53ebfcff44eef467667e44d8839) https://www.cryptopp.com/release890.html https://www.cryptopp.com/release880.html https://www.cryptopp.com/release870.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...kefile-add-missing-shared-library-symlink.patch | 62 ---------------------- package/cryptopp/cryptopp.hash | 6 +-- package/cryptopp/cryptopp.mk | 2 +- 3 files changed, 4 insertions(+), 66 deletions(-) diff --git a/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch b/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch deleted file mode 100644 index 5f87414d53..0000000000 --- a/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch +++ /dev/null @@ -1,62 +0,0 @@ -From e4c2e3bc8174f24cf63923619f5d06d85b84ae1d Mon Sep 17 00:00:00 2001 -From: Kamel Bouhara -Date: Fri, 7 Jan 2022 22:59:23 +0100 -Subject: [PATCH] GNUmakefile: add missing shared library symlink - -The GNUmakefile install-lib target currently installs the following -symlink: - - libcryptopp.so -> libcryptopp.so.8.6.0 - -However, it does not create the following symlink: - - libcryptopp.so.8 -> libcryptopp.so.8.6.0 - -This symlink is necessary at runtime because libcryptopp.so.8 is the -SONAME of the cryptopp library, and therefore this is what the dynamic -loader will search when starting a program that is linked against -cryptopp. - -For native compilation, the 'ldconfig' invocation that immediately -follows will create that symlink, so everything works. - -For cross-compilation however, ldconfig can't be used, and therefore -LDCONFIG is passed as /bin/true, and therefore it doesn't create the -symlink. So instead, create it directly inside the GNUmakefile, -without relying on ldconfig. - -Upstream: https://github.com/weidai11/cryptopp/pull/1101 -Signed-off-by: Kamel Bouhara -Signed-off-by: Thomas Petazzoni ---- - GNUmakefile | 1 + - GNUmakefile-cross | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/GNUmakefile b/GNUmakefile -index 23273edb..3b55e420 100644 ---- a/GNUmakefile -+++ b/GNUmakefile -@@ -1412,6 +1412,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) - $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) - ifeq ($(HAS_SOLIB_VERSION),1) - -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so -+ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) - $(LDCONF) $(DESTDIR)$(LIBDIR) - endif - endif -diff --git a/GNUmakefile-cross b/GNUmakefile-cross -index 9847f04b..a2b87e4a 100644 ---- a/GNUmakefile-cross -+++ b/GNUmakefile-cross -@@ -856,6 +856,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) - $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) - ifeq ($(HAS_SOLIB_VERSION),1) - -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so -+ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) - $(LDCONF) $(DESTDIR)$(LIBDIR) - endif - endif --- -2.33.1 - diff --git a/package/cryptopp/cryptopp.hash b/package/cryptopp/cryptopp.hash index 9a113b8f04..a7bc578da4 100644 --- a/package/cryptopp/cryptopp.hash +++ b/package/cryptopp/cryptopp.hash @@ -1,5 +1,5 @@ -# Hash from: https://www.cryptopp.com/release860.html: -sha512 e7773f5e4a7dc7e8e735b1702524bee56ba38e5211544c9c9778bc51ed8dc7b376c17f2e406410043b636312336f26f76dc963f298872f8c13933e88c232fc03 cryptopp860.zip +# Hash from: https://www.cryptopp.com/release890.html: +sha512 903970c4c0312272e93bae0cc3477be66b273dd38c9329fda9f7157ec44e247a3bc16b9d2b4ad625f258af0eaf2dc2c4210d4d14829b455f180983859a5c4b41 cryptopp890.zip # Hash for license file: -sha256 e668af8c73a38a66a1e8951d14ec24e7582fee5254dd6c3dae488a416d105d5f License.txt +sha256 78e4010b682cb94187fe0b57e50116d0ba271ef81104d1ddb35c80c3d81e3169 License.txt diff --git a/package/cryptopp/cryptopp.mk b/package/cryptopp/cryptopp.mk index 87d6fba237..a538f8c17d 100644 --- a/package/cryptopp/cryptopp.mk +++ b/package/cryptopp/cryptopp.mk @@ -4,7 +4,7 @@ # ################################################################################ -CRYPTOPP_VERSION = 8.6.0 +CRYPTOPP_VERSION = 8.9.0 CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip CRYPTOPP_SITE = https://cryptopp.com CRYPTOPP_LICENSE = BSL-1.0, BSD-3-Clause (CRYPTOGAMS), Public domain (ChaCha SSE2 and AVX) From fontaine.fabrice at gmail.com Sat Oct 28 21:03:48 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 23:03:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/flashrom: bump to version 1.3.0 Message-ID: <20231028210348.1235466-1-fontaine.fabrice@gmail.com> https://www.flashrom.org/release_notes/v_1_3.html Signed-off-by: Fabrice Fontaine --- package/flashrom/flashrom.hash | 4 ++-- package/flashrom/flashrom.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/flashrom/flashrom.hash b/package/flashrom/flashrom.hash index 2ab463d93a..d3bfbad781 100644 --- a/package/flashrom/flashrom.hash +++ b/package/flashrom/flashrom.hash @@ -1,4 +1,4 @@ # Locally computed after checking pgp signature -# https://download.flashrom.org/releases/flashrom-v1.2.1.tar.bz2.asc -sha256 89a7ff5beb08c89b8795bbd253a51b9453547a864c31793302296b56bbc56d65 flashrom-v1.2.1.tar.bz2 +# https://download.flashrom.org/releases/flashrom-v1.3.0.tar.bz2.asc +sha256 a053234453ccd012e79f3443bdcc61625cf97b7fd7cb4cdd8bfbffbe8b149623 flashrom-v1.3.0.tar.bz2 sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index dd505987ed..ca55592dba 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLASHROM_VERSION = 1.2.1 +FLASHROM_VERSION = 1.3.0 FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2 FLASHROM_SITE = https://download.flashrom.org/releases FLASHROM_LICENSE = GPL-2.0+ -- 2.42.0 From bremenpl at gmail.com Sat Oct 28 21:04:22 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Sat, 28 Oct 2023 21:04:22 +0000 Subject: [Buildroot] Help with DTO In-Reply-To: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Message-ID: Hi Edgar and thank you for the answer! This tutorial walks you through a manual configuration. Note that Buildroot ships a ready-made configuration you can use: make beaglebone_defconfig # load the ready-made defconfig make menuconfig # if you want to tweak it make I see, so this is like a more proper template for BBB specifically, thanks! I started from scratch, because I wanted to try to learn as much as possible + the fact that I do not need the HDMI pins. Furthermore, I need to reuse them as gpio outputs and PRU inputs- for these, I think I need to configure the pins in specific mode 5 (PRU1) or 6 (PRU0). I do not understand why you need a device tree overlay. The tutorial gets you a kernel together with the am335x-boneblack device tree. This device tree already defines four GPIO chips. Can't you see them? Try ls /dev/gpiochip* Yes, I do see them: # ls /dev/gpiochip* /dev/gpiochip0 /dev/gpiochip1 /dev/gpiochip2 /dev/gpiochip3 My problem was that I was unable to export any of the gpios: # pwd /sys/class/gpio # echo 66 > export [23448.896503] export_store: invalid GPIO 66 sh: write error: Invalid argument I thought that these cannot be exported due to incorrect DTS- no? If you want to play with the GPIOs, I suggest you install the tools that come with libgpiod: in Target packages / Libraries / Hardware handling, select ?libgpiod?, then ?install tools?. Then, on the booted system, type Here, do you mean to choose all this in the make menuconfig dialog? Thanks already and in advance! -- ?ukasz Przenios?o ------ Original Message ------ >From "Edgar Bonet" To "?ukasz Przenios?o" ; buildroot at buildroot.org Date 2023-10-28 20:58:38 Subject Re: [Buildroot] Help with DTO >Hello! > >?ukasz Przenios?o wrote, about the BeagleBone: >> So I have the HW and virgin working Buildroot image baked thanks to >> this tutorial. >> (https://blog.billvanleeuwen.ca/creating-a-minimal-linux-system-for-the-beaglebone-black-with-buildroot) > >This tutorial walks you through a manual configuration. Note that >Buildroot ships a ready-made configuration you can use: > > make beaglebone_defconfig # load the ready-made defconfig > make menuconfig # if you want to tweak it > make > >> What I wanted to do next is to create a device tree overlay for all >> required GPIOs that would be compiled at kernel build time. > >I do not understand why you need a device tree overlay. The tutorial >gets you a kernel together with the am335x-boneblack device tree. This >device tree already defines four GPIO chips. Can't you see them? Try > > ls /dev/gpiochip* > >If you want to play with the GPIOs, I suggest you install the tools that >come with libgpiod: in Target packages / Libraries / Hardware handling, >select ?libgpiod?, then ?install tools?. Then, on the booted system, >type > > gpiodetect > gpioinfo > >You should see all the available GPIO chips, then all the GPIO lines. > >Regards, > >Edgar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.morin.1998 at free.fr Sat Oct 28 21:05:37 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:05:37 +0200 Subject: [Buildroot] [git commit] package/acsccid: bump to version 1.1.10 Message-ID: <20231028210559.CFE8A8607E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f1b14ea5a37c2ce338cf279bf6c750a5599036ae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://sourceforge.net/p/acsccid/news/2023/04/acsccid-119-released/ https://sourceforge.net/p/acsccid/news/2023/08/acsccid-1110-released/ Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/acsccid/acsccid.hash | 8 ++++---- package/acsccid/acsccid.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/acsccid/acsccid.hash b/package/acsccid/acsccid.hash index f43a7930a4..5310d78144 100644 --- a/package/acsccid/acsccid.hash +++ b/package/acsccid/acsccid.hash @@ -1,6 +1,6 @@ -# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.7/ -sha1 c0062401e5fedf3ec12c8c2d375d6e1561a8a8ed acsccid-1.1.8.tar.bz2 -md5 3eba7b2527aa0b14c73b1a620a1d72d2 acsccid-1.1.8.tar.bz2 +# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.10/ +sha1 6284a693b8edb511f2f80d9069af9b4a41fd55ae acsccid-1.1.10.tar.bz2 +md5 4d2b7f34414aed029084c96dd05a0e7d acsccid-1.1.10.tar.bz2 # Locally computed -sha256 f86fd846bc88594a569ea27040cb441d933b7eca8d51d2a90bacf161e7740051 acsccid-1.1.8.tar.bz2 +sha256 5ee112febdcac6656629025f3a85923f155f6ca150b2d24fd716f9043265528e acsccid-1.1.10.tar.bz2 sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING diff --git a/package/acsccid/acsccid.mk b/package/acsccid/acsccid.mk index db74e9cb76..463f0f24d6 100644 --- a/package/acsccid/acsccid.mk +++ b/package/acsccid/acsccid.mk @@ -4,7 +4,7 @@ # ################################################################################ -ACSCCID_VERSION = 1.1.8 +ACSCCID_VERSION = 1.1.10 ACSCCID_SOURCE = acsccid-$(ACSCCID_VERSION).tar.bz2 ACSCCID_SITE = http://downloads.sourceforge.net/acsccid ACSCCID_LICENSE = LGPL-2.1+ From yegorslists at googlemail.com Sat Oct 28 21:06:06 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Sat, 28 Oct 2023 23:06:06 +0200 Subject: [Buildroot] [PATCH v3 3/3] package/pkg-python.mk: migrate setuptools to pep517 In-Reply-To: <20230930152517.1077576-3-james.hilliard1@gmail.com> References: <20230930152517.1077576-1-james.hilliard1@gmail.com> <20230930152517.1077576-3-james.hilliard1@gmail.com> Message-ID: On Sat, Sep 30, 2023 at 5:25?PM James Hilliard wrote: > > Now that setuptools and its dependencies are using pep517 we can > migrate the setuptools infrastructure itself to use the pep517 > build frontend. > > As part of this we need to migrate the all python packages using > _BUILD_OPTS to the new config settings format used by the pep517 > build frontend. > > As maturin and setuptools-rust are now both pep517 based we can > combine the PYO3 env variables. > > Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov > --- > Changes v1 -> v3: > - rebase on master > - combine setuptools-rust and maturin env variables > - drop patch which is now upstream > --- > package/pkg-python.mk | 83 +++------------------- > package/python-evdev/python-evdev.mk | 4 +- > package/python-lxml/python-lxml.mk | 8 +-- > package/python-m2crypto/python-m2crypto.mk | 4 +- > package/python-pillow/python-pillow.mk | 35 +++++---- > package/python-psycopg2/python-psycopg2.mk | 5 +- > package/python-pyzmq/python-pyzmq.mk | 4 +- > package/python-uvloop/python-uvloop.mk | 6 +- > 8 files changed, 46 insertions(+), 103 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 28ee4cb85f..21c70df863 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -79,48 +79,6 @@ HOST_PKG_PYTHON_DISTUTILS_ENV = \ > HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ > --prefix=$(HOST_DIR) > > -# Target setuptools-based packages > -PKG_PYTHON_SETUPTOOLS_ENV = \ > - $(PKG_PYTHON_ENV) > - > -PKG_PYTHON_SETUPTOOLS_CMD = \ > - $(if $(wildcard $($(PKG)_BUILDDIR)/setup.py),setup.py,-c 'from setuptools import setup;setup()') > - > -PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --prefix=/usr \ > - --executable=/usr/bin/python \ > - --single-version-externally-managed > - > -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ > - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ > - --root=$(TARGET_DIR) > - > -PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ > - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ > - --root=$(STAGING_DIR) > - > -# Host setuptools-based packages > -HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ > - $(HOST_PKG_PYTHON_ENV) > - > -HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > - --prefix=$(HOST_DIR) \ > - --root=/ \ > - --single-version-externally-managed > - > -# Target setuptools-rust-based packages > -PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ > - $(PKG_PYTHON_SETUPTOOLS_ENV) \ > - $(PKG_CARGO_ENV) \ > - PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" > - > -# Host setuptools-rust-based packages > -HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ > - $(HOST_PKG_PYTHON_SETUPTOOLS_ENV) \ > - $(HOST_PKG_CARGO_ENV) \ > - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)" > - > # Target pep517-based packages > PKG_PYTHON_PEP517_ENV = \ > $(PKG_PYTHON_ENV) > @@ -158,14 +116,14 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ > --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages > > -# Target maturin packages > -PKG_PYTHON_MATURIN_ENV = \ > +# Target pyo3 packages > +PKG_PYTHON_PYO3_ENV = \ > $(PKG_PYTHON_PEP517_ENV) \ > $(PKG_CARGO_ENV) \ > PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" > > -# Host maturin packages > -HOST_PKG_PYTHON_MATURIN_ENV = \ > +# Host pyo3 packages > +HOST_PKG_PYTHON_PYO3_ENV = \ > $(HOST_PKG_PYTHON_PEP517_ENV) \ > $(HOST_PKG_CARGO_ENV) \ > PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)" > @@ -207,30 +165,10 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_DISTUTILS_ENV) > $(2)_BASE_BUILD_CMD = setup.py build > $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) > endif > -# Setuptools > -else ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) > -ifeq ($(4),target) > -ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > -$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_ENV) > -else > -$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) > -endif > -$(2)_BASE_BUILD_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) build > -$(2)_BASE_INSTALL_TARGET_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install --no-compile $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) > -$(2)_BASE_INSTALL_STAGING_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) > -else > -ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV) > -else > -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) > -endif > -$(2)_BASE_BUILD_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) build > -$(2)_BASE_INSTALL_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) > -endif > -else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > +else ifneq ($$(filter flit maturin pep517 setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) > ifeq ($(4),target) > -ifeq ($$($(2)_SETUP_TYPE),maturin) > -$(2)_BASE_ENV = $$(PKG_PYTHON_MATURIN_ENV) > +ifneq ($$(filter maturin setuptools-rust,$$($(2)_SETUP_TYPE)),) > +$(2)_BASE_ENV = $$(PKG_PYTHON_PYO3_ENV) > else > $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) > endif > @@ -238,8 +176,8 @@ $(2)_BASE_BUILD_CMD = -m build -n -w > $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS) > $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) > else > -ifeq ($$($(2)_SETUP_TYPE),maturin) > -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_MATURIN_ENV) > +ifneq ($$(filter maturin setuptools-rust,$$($(2)_SETUP_TYPE)),) > +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PYO3_ENV) > else > $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) > endif > @@ -299,7 +237,8 @@ $(2)_DEPENDENCIES += host-python-setuptools > ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > $(2)_DEPENDENCIES += host-python-setuptools-rust > endif > -else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > +endif > +ifneq ($$(filter flit maturin pep517 setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) > $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > ifeq ($$($(2)_SETUP_TYPE),flit) > $(2)_DEPENDENCIES += host-python-flit-core > diff --git a/package/python-evdev/python-evdev.mk b/package/python-evdev/python-evdev.mk > index 5cf62b5160..b509b43e8a 100644 > --- a/package/python-evdev/python-evdev.mk > +++ b/package/python-evdev/python-evdev.mk > @@ -12,7 +12,7 @@ PYTHON_EVDEV_LICENSE = Revised BSD License > PYTHON_EVDEV_LICENSE_FILES = LICENSE > > PYTHON_EVDEV_BUILD_OPTS = \ > - build_ecodes \ > - --evdev-headers $(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h > + -C--build-option=build_ecodes \ > + -C--build-option=--evdev-headers=$(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h > > $(eval $(python-package)) > diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk > index 3ef3aabdbc..4454f5aa0c 100644 > --- a/package/python-lxml/python-lxml.mk > +++ b/package/python-lxml/python-lxml.mk > @@ -28,11 +28,11 @@ HOST_PYTHON_LXML_DEPENDENCIES = host-libxml2 host-libxslt host-zlib > # python-lxml needs these scripts in order to properly detect libxml2 and > # libxslt compiler and linker flags > PYTHON_LXML_BUILD_OPTS = \ > - --xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ > - --xml2-config=$(STAGING_DIR)/usr/bin/xml2-config > + -C--build-option=--xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ > + -C--build-option=--xml2-config=$(STAGING_DIR)/usr/bin/xml2-config > HOST_PYTHON_LXML_BUILD_OPTS = \ > - --xslt-config=$(HOST_DIR)/bin/xslt-config \ > - --xml2-config=$(HOST_DIR)/bin/xml2-config > + -C--build-option=--xslt-config=$(HOST_DIR)/bin/xslt-config \ > + -C--build-option=--xml2-config=$(HOST_DIR)/bin/xml2-config > > $(eval $(python-package)) > $(eval $(host-python-package)) > diff --git a/package/python-m2crypto/python-m2crypto.mk b/package/python-m2crypto/python-m2crypto.mk > index 3c28fa3b0d..d95361e689 100644 > --- a/package/python-m2crypto/python-m2crypto.mk > +++ b/package/python-m2crypto/python-m2crypto.mk > @@ -13,7 +13,9 @@ PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE > PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project > PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto > PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig > -PYTHON_M2CRYPTO_BUILD_OPTS = --openssl=$(STAGING_DIR)/usr > +PYTHON_M2CRYPTO_BUILD_OPTS = \ > + -C--build-option=build_ext \ > + -C--build-option=--openssl=$(STAGING_DIR)/usr > > # 0001-Mitigate-the-Bleichenbacher-timing-attacks-in-the-RSA-decryption-API-CVE-2020-25657.patch > PYTHON_M2CRYPTO_IGNORE_CVES += CVE-2020-25657 > diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk > index d9f6fba861..f37218b7c4 100644 > --- a/package/python-pillow/python-pillow.mk > +++ b/package/python-pillow/python-pillow.mk > @@ -14,61 +14,60 @@ PYTHON_PILLOW_CPE_ID_PRODUCT = pillow > PYTHON_PILLOW_SETUP_TYPE = setuptools > > PYTHON_PILLOW_DEPENDENCIES = host-pkgconf > -PYTHON_PILLOW_BUILD_OPTS = build_ext --disable-platform-guessing > -PYTHON_PILLOW_INSTALL_TARGET_OPTS = $(PYTHON_PILLOW_BUILD_OPTS) > +PYTHON_PILLOW_BUILD_OPTS = -C--build-option=build_ext -C--build-option=--disable-platform-guessing > > ifeq ($(BR2_PACKAGE_FREETYPE),y) > PYTHON_PILLOW_DEPENDENCIES += freetype > -PYTHON_PILLOW_BUILD_OPTS += --enable-freetype > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-freetype > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-freetype > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-freetype > endif > > ifeq ($(BR2_PACKAGE_JPEG),y) > PYTHON_PILLOW_DEPENDENCIES += jpeg > -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg > endif > > ifeq ($(BR2_PACKAGE_LCMS2),y) > PYTHON_PILLOW_DEPENDENCIES += lcms2 > -PYTHON_PILLOW_BUILD_OPTS += --enable-lcms > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-lcms > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-lcms > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-lcms > endif > > ifeq ($(BR2_PACKAGE_LIBXCB),y) > PYTHON_PILLOW_DEPENDENCIES += libxcb > -PYTHON_PILLOW_BUILD_OPTS += --enable-xcb > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-xcb > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-xcb > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-xcb > endif > > ifeq ($(BR2_PACKAGE_OPENJPEG),y) > PYTHON_PILLOW_DEPENDENCIES += openjpeg > -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000 > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg2000 > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg2000 > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg2000 > endif > > ifeq ($(BR2_PACKAGE_TIFF),y) > PYTHON_PILLOW_DEPENDENCIES += tiff > -PYTHON_PILLOW_BUILD_OPTS += --enable-tiff > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-tiff > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-tiff > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-tiff > endif > > ifeq ($(BR2_PACKAGE_WEBP),y) > PYTHON_PILLOW_DEPENDENCIES += webp > -PYTHON_PILLOW_BUILD_OPTS += --enable-webp > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webp > ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) > -PYTHON_PILLOW_BUILD_OPTS += --enable-webpmux > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webpmux > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-webpmux > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webpmux > endif > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webp -C--build-option=--disable-webpmux > endif > > $(eval $(python-package)) > diff --git a/package/python-psycopg2/python-psycopg2.mk b/package/python-psycopg2/python-psycopg2.mk > index fa23c2814f..6eea825b1c 100644 > --- a/package/python-psycopg2/python-psycopg2.mk > +++ b/package/python-psycopg2/python-psycopg2.mk > @@ -13,7 +13,8 @@ PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE > PYTHON_PSYCOPG2_DEPENDENCIES = postgresql > # Force psycopg2 to use the Buildroot provided postgresql version > # instead of the one from the host machine > -PYTHON_PSYCOPG2_BUILD_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config > -PYTHON_PSYCOPG2_INSTALL_TARGET_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config > +PYTHON_PSYCOPG2_BUILD_OPTS = \ > + -C--build-option=build_ext \ > + -C--build-option=--pg-config=$(STAGING_DIR)/usr/bin/pg_config > > $(eval $(python-package)) > diff --git a/package/python-pyzmq/python-pyzmq.mk b/package/python-pyzmq/python-pyzmq.mk > index 5792957eaf..1b7bceae5e 100644 > --- a/package/python-pyzmq/python-pyzmq.mk > +++ b/package/python-pyzmq/python-pyzmq.mk > @@ -12,7 +12,7 @@ PYTHON_PYZMQ_LICENSE = LGPL-3.0+, BSD-3-Clause, Apache-2.0 > PYTHON_PYZMQ_LICENSE_FILES = COPYING.LESSER COPYING.BSD > PYTHON_PYZMQ_DEPENDENCIES = host-python-packaging zeromq > PYTHON_PYZMQ_SETUP_TYPE = setuptools > -PYTHON_PYZMQ_BUILD_OPTS = --zmq=$(STAGING_DIR)/usr > +PYTHON_PYZMQ_BUILD_OPTS = -C--build-option=--zmq=$(STAGING_DIR)/usr > > # Due to issues with cross-compiling, hardcode to the zeromq in BR > define PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION > @@ -23,7 +23,7 @@ endef > PYTHON_PYZMQ_POST_PATCH_HOOKS += PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION > > ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y) > -PYTHON_PYZMQ_BUILD_OPTS += --enable-drafts > +PYTHON_PYZMQ_BUILD_OPTS += -C--build-option=--enable-drafts > endif > > $(eval $(python-package)) > diff --git a/package/python-uvloop/python-uvloop.mk b/package/python-uvloop/python-uvloop.mk > index 147062cf7b..b072f37313 100644 > --- a/package/python-uvloop/python-uvloop.mk > +++ b/package/python-uvloop/python-uvloop.mk > @@ -10,8 +10,10 @@ PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/ba/86/6dda1760481ab > PYTHON_UVLOOP_SETUP_TYPE = setuptools > PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT > PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > -PYTHON_UVLOOP_BUILD_OPTS = build_ext --inplace --use-system-libuv > -PYTHON_UVLOOP_INSTALL_TARGET_OPTS = build_ext --inplace --use-system-libuv > PYTHON_UVLOOP_DEPENDENCIES = libuv > +PYTHON_UVLOOP_BUILD_OPTS = \ > + -C--build-option=build_ext \ > + -C--build-option=--inplace \ > + -C--build-option=--use-system-libuv > > $(eval $(python-package)) > -- > 2.34.1 > From yann.morin.1998 at free.fr Sat Oct 28 21:08:07 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:08:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/acsccid: bump to version 1.1.10 In-Reply-To: <20231028205100.1220118-1-fontaine.fabrice@gmail.com> References: <20231028205100.1220118-1-fontaine.fabrice@gmail.com> Message-ID: <20231028210807.GB687180@scaer> Fabrice, All, On 2023-10-28 22:51 +0200, Fabrice Fontaine spake thusly: > https://sourceforge.net/p/acsccid/news/2023/04/acsccid-119-released/ > https://sourceforge.net/p/acsccid/news/2023/08/acsccid-1110-released/ > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. ... along with the set of version bumps from tonight you sent so far. Regards, Yann E. MORIN. > --- > package/acsccid/acsccid.hash | 8 ++++---- > package/acsccid/acsccid.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/acsccid/acsccid.hash b/package/acsccid/acsccid.hash > index f43a7930a4..5310d78144 100644 > --- a/package/acsccid/acsccid.hash > +++ b/package/acsccid/acsccid.hash > @@ -1,6 +1,6 @@ > -# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.7/ > -sha1 c0062401e5fedf3ec12c8c2d375d6e1561a8a8ed acsccid-1.1.8.tar.bz2 > -md5 3eba7b2527aa0b14c73b1a620a1d72d2 acsccid-1.1.8.tar.bz2 > +# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.10/ > +sha1 6284a693b8edb511f2f80d9069af9b4a41fd55ae acsccid-1.1.10.tar.bz2 > +md5 4d2b7f34414aed029084c96dd05a0e7d acsccid-1.1.10.tar.bz2 > # Locally computed > -sha256 f86fd846bc88594a569ea27040cb441d933b7eca8d51d2a90bacf161e7740051 acsccid-1.1.8.tar.bz2 > +sha256 5ee112febdcac6656629025f3a85923f155f6ca150b2d24fd716f9043265528e acsccid-1.1.10.tar.bz2 > sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING > diff --git a/package/acsccid/acsccid.mk b/package/acsccid/acsccid.mk > index db74e9cb76..463f0f24d6 100644 > --- a/package/acsccid/acsccid.mk > +++ b/package/acsccid/acsccid.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -ACSCCID_VERSION = 1.1.8 > +ACSCCID_VERSION = 1.1.10 > ACSCCID_SOURCE = acsccid-$(ACSCCID_VERSION).tar.bz2 > ACSCCID_SITE = http://downloads.sourceforge.net/acsccid > ACSCCID_LICENSE = LGPL-2.1+ > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 21:09:04 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:04 +0200 Subject: [Buildroot] [PATCH 0/4] support/download: accept user-provided list of extra hash files (branch yem/multi-hash) Message-ID: Hello All! For packages where the version can be specified by the user (e.g. with a custom version string, a custom tarball location, a custom git tree and changeset...), Buildroot can't carry hashes for those, and thus does not check the integritiy of the downloads. Add the possibility for users to provide hashes for those, by leveraging the global patch dir setting, to look up extra hash files in a way similar to how extra patches are looked up in there. Users who provide such extra hashes will most probably be interested in ensuring that no download ever gets used without an actual integrity check, so also add an option the requires all downloads to have at least one valid hash (and no invalid ones, of course), rather than ignoring downloads for custom versions. Regards, Yann E. MORIN. ---------------------------------------------------------------- Yann E. MORIN (4): docs/manual: svn downloads can be hash-checked support/download: teach dl-wrapper to handle more than one hash file package/pkg-download: lookup hash files in global-patch-dir pkg-download: add option to enforce hash checking Config.in | 30 ++++++++++++-- docs/manual/adding-packages-directory.adoc | 12 ++++-- docs/manual/customize-patches.adoc | 25 +++++++++++- package/pkg-download.mk | 15 +++++-- support/download/check-hash | 64 ++++++++++++++++-------------- support/download/dl-wrapper | 10 ++--- 6 files changed, 110 insertions(+), 46 deletions(-) -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 21:09:04 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:04 +0200 Subject: [Buildroot] [PATCH 1/4] docs/manual: svn downloads can be hash-checked In-Reply-To: References: Message-ID: <5d97168a26fda40c66ff51e3b52faeb8d6a8201e.1698527340.git.yann.morin.1998@free.fr> Since commit 89f5e989323a (support/download/svn: generate reproducible svn archives), we've been able to generate reproducible archives, and thus we have been able to verify the hashes for those archives. However, the manual was not changed, and still falsely hinted that this was not the cae. Fix that. Signed-off-by: Yann E. MORIN --- docs/manual/adding-packages-directory.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual/adding-packages-directory.adoc b/docs/manual/adding-packages-directory.adoc index 04f5241d05..7150018a3b 100644 --- a/docs/manual/adding-packages-directory.adoc +++ b/docs/manual/adding-packages-directory.adoc @@ -534,9 +534,9 @@ typically indicates that the +.hash+ file is wrong but the downloaded file is probably OK. Hashes are currently checked for files fetched from http/ftp servers, -Git repositories, files copied using scp and local files. Hashes are -not checked for other version control systems (such as Subversion, -CVS, etc.) because Buildroot currently does not generate reproducible +Git or subversion repositories, files copied using scp and local files. +Hashes are not checked for other version control systems (such as CVS, +mercurial) because Buildroot currently does not generate reproducible tarballs when source code is fetched from such version control systems. -- 2.25.1 From yann.morin.1998 at free.fr Sat Oct 28 21:09:05 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:05 +0200 Subject: [Buildroot] [PATCH 2/4] support/download: teach dl-wrapper to handle more than one hash file In-Reply-To: References: Message-ID: <16d16274d5380dc52799d359704f1075c777c1eb.1698527340.git.yann.morin.1998@free.fr> Currently, we expect and only use hash files that lie within the package directory, alongside the .mk file. Those hash files are thus bundeld with Buildroot. This implies that only what's known to Buildroot can ever get into those hash files. For packages where the version is fixed (or a static choice), then we can carry hashes for those known versions. However, we do have a few packages for which the version is a free-form entry, where the user can provide a custom location and/or version. like a custom VCS tree and revision, or a custom tarball URL. This means that Buildroot has no way to be able to cary hashes for such custom versions. This means that there is no integrity check that what was downloaded is what was expected. For a sha1 in a git tree, this is a minor issue, because the sha1 by itself is already a hash of the expected content. But for custom tarballs URLs, or for a tag in a VCS, there is indeed no integrity check. Buildroot can't provide such hashes, but interested users may want to provide those, and currently there is no (easy) way to do so. So, we need our download helpers to be able to accept more than one hash file to lookup for hashes. Extend the dl-wrapper and the check-hash helpers thusly. Reported-by: "Martin Zeiser (mzeiser)" Signed-off-by: Yann E. MORIN --- support/download/check-hash | 64 ++++++++++++++++++++----------------- support/download/dl-wrapper | 10 +++--- 2 files changed, 39 insertions(+), 35 deletions(-) diff --git a/support/download/check-hash b/support/download/check-hash index 5a47f49bc3..03a6557187 100755 --- a/support/download/check-hash +++ b/support/download/check-hash @@ -3,12 +3,12 @@ set -e # Helper to check a file matches its known hash # Call it with: -# $1: the path of the file containing all the expected hashes -# $2: the full path to the temporary file that was downloaded, and +# $1: the full path to the temporary file that was downloaded, and # that is to be checked -# $3: the final basename of the file, to which it will be ultimately +# $2: the final basename of the file, to which it will be ultimately # saved as, to be able to match it to the corresponding hashes # in the .hash file +# $*: the paths of the files containing all the expected hashes # # Exit codes: # 0: the hash file exists and the file to check matches all its hashes, @@ -27,28 +27,21 @@ while getopts :q OPT; do done shift $((OPTIND-1)) -h_file="${1}" -file="${2}" -base="${3}" - -# Bail early if no hash to check -if [ -z "${h_file}" ]; then - exit 0 -fi -# Does the hash-file exist? -if [ ! -f "${h_file}" ]; then - printf "WARNING: no hash file for %s\n" "${base}" >&2 - exit 0 -fi +file="${1}" +base="${2}" +shift 2 +declare -a h_files=( "${@}" ) # Check one hash for a file # $1: algo hash # $2: known hash # $3: file (full path) +# $4: hash file (full path) check_one_hash() { _h="${1}" _known="${2}" _file="${3}" + _h_file="${4}" # Note: md5 is supported, but undocumented on purpose. # Note: sha3 is not supported, since there is currently no implementation @@ -70,6 +63,7 @@ check_one_hash() { return 0 fi + printf "ERROR: while checking hashes from %s\n" "${_h_file}" >&2 printf "ERROR: %s has wrong %s hash:\n" "${base}" "${_h}" >&2 printf "ERROR: expected: %s\n" "${_known}" >&2 printf "ERROR: got : %s\n" "${_hash}" >&2 @@ -79,21 +73,31 @@ check_one_hash() { } # Do we know one or more hashes for that file? +nb_h_files=0 nb_checks=0 -while read t h f; do - case "${t}" in - ''|'#'*) - # Skip comments and empty lines - continue - ;; - *) - if [ "${f}" = "${base}" ]; then - check_one_hash "${t}" "${h}" "${file}" - : $((nb_checks++)) - fi - ;; - esac -done <"${h_file}" +for h_file in "${h_files[@]}"; do + [ -f "${h_file}" ] || continue + : $((nb_h_files++)) + while read t h f; do + case "${t}" in + ''|'#'*) + # Skip comments and empty lines + continue + ;; + *) + if [ "${f}" = "${base}" ]; then + check_one_hash "${t}" "${h}" "${file}" "${h_file}" + : $((nb_checks++)) + fi + ;; + esac + done <"${h_file}" +done + +if [ ${nb_h_files} -eq 0 ]; then + printf "WARNING: no hash file for %s\n" "${base}" >&2 + exit 0 +fi if [ ${nb_checks} -eq 0 ]; then case " ${BR_NO_CHECK_HASH_FOR} " in diff --git a/support/download/dl-wrapper b/support/download/dl-wrapper index 1e8d6058f6..35428faeef 100755 --- a/support/download/dl-wrapper +++ b/support/download/dl-wrapper @@ -21,8 +21,8 @@ export BR_BACKEND_DL_GETOPTS=":hc:d:o:n:N:H:lru:qf:e" main() { local OPT OPTARG - local backend output hfile large_file recurse quiet rc - local -a uris + local backend output large_file recurse quiet rc + local -a uris hfiles # Parse our options; anything after '--' is for the backend while getopts ":c:d:D:o:n:N:H:lrf:u:qp:" OPT; do @@ -33,7 +33,7 @@ main() { o) output="${OPTARG}";; n) raw_base_name="${OPTARG}";; N) base_name="${OPTARG}";; - H) hfile="${OPTARG}";; + H) hfiles+=( "${OPTARG}" );; l) large_file="-l";; r) recurse="-r";; f) filename="${OPTARG}";; @@ -70,7 +70,7 @@ main() { # - fails at least one of its hashes: force a re-download # - there's no hash (but a .hash file): consider it a hard error if [ -e "${output}" ]; then - if support/download/check-hash ${quiet} "${hfile}" "${output}" "${output##*/}"; then + if support/download/check-hash ${quiet} "${output}" "${output##*/}" "${hfiles[@]}"; then exit 0 elif [ ${?} -ne 2 ]; then # Do not remove the file, otherwise it might get re-downloaded @@ -154,7 +154,7 @@ main() { # Check if the downloaded file is sane, and matches the stored hashes # for that file - if support/download/check-hash ${quiet} "${hfile}" "${tmpf}" "${output##*/}"; then + if support/download/check-hash ${quiet} "${tmpf}" "${output##*/}" "${hfiles[@]}"; then rc=0 else if [ ${?} -ne 3 ]; then -- 2.25.1 From yann.morin.1998 at free.fr Sat Oct 28 21:09:06 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:06 +0200 Subject: [Buildroot] [PATCH 3/4] package/pkg-download: lookup hash files in global-patch-dir In-Reply-To: References: Message-ID: Currently, we expect and only use hash files that lie within the package directory, alongside the .mk file. Those hash files are thus bundeld with Buildroot. This implies that only what's known to Buildroot can ever get into those hash files. For packages where the version is fixed (or a static choice), then we can carry hashes for those known versions. However, we do have a few packages for which the version is a free-form entry, where the user can provide a custom location and/or version. like a custom VCS tree and revision, or a custom tarball URL. This means that Buildroot has no way to be able to cary hashes for such custom versions. This means that there is no integrity check that what was downloaded is what was expected. For a sha1 in a git tree, this is a minor issue, because the sha1 by itself is already a hash of the expected content. But for custom tarballs URLs, or for a tag in a VCS, there is indeed no integrity check. Buildroot can't provide such hashes, but interested users may want to provide those, and currently there is no (easy) way to do so. We leverage the existng global-patch-dir mechanism to look for extra hash files. We use the same heuristic that is used for bundled hash files, plus a simple way to provide hashes in bulk, and use the first to exist: 1. look into ///.hash 2. look into //.hash 3. look into /all.hash Note: we do not introduce the use of /.hash on purpose, as we believe it is better to provide and use a single all.hash file. Reported-by: "Martin Zeiser (mzeiser)" Signed-off-by: Yann E. MORIN --- Config.in | 11 ++++++---- docs/manual/adding-packages-directory.adoc | 6 ++++++ docs/manual/customize-patches.adoc | 25 +++++++++++++++++++++- package/pkg-download.mk | 10 +++++++++ 4 files changed, 47 insertions(+), 5 deletions(-) diff --git a/Config.in b/Config.in index 556b6c2575..a808e51a68 100644 --- a/Config.in +++ b/Config.in @@ -664,12 +664,12 @@ config BR2_PACKAGE_OVERRIDE_FILE documentation for more details on this feature. config BR2_GLOBAL_PATCH_DIR - string "global patch directories" + string "global patch and hash directories" help You may specify a space separated list of one or more - directories containing global package patches. For a specific - version of a specific package , - patches are applied as follows: + directories containing global package patches and/or hashes. + For a specific version of a specific package + , patches are looked up as follows: First, the default Buildroot patch set for the package is applied from the package's directory in Buildroot. @@ -683,6 +683,9 @@ config BR2_GLOBAL_PATCH_DIR exists, then all *.patch files in the directory will be applied. + The hash files are looked up similarly to the patches, with + an additional fallback in /all.hash. + menu "Advanced" config BR2_FORCE_HOST_BUILD diff --git a/docs/manual/adding-packages-directory.adoc b/docs/manual/adding-packages-directory.adoc index 7150018a3b..da7aa4640e 100644 --- a/docs/manual/adding-packages-directory.adoc +++ b/docs/manual/adding-packages-directory.adoc @@ -540,6 +540,12 @@ mercurial) because Buildroot currently does not generate reproducible tarballs when source code is fetched from such version control systems. +Additionally, for packages for which it is possible to specify a custom +version (e.g. a custom version string, a remote tarball URL, or a VCS +repository location and changeset, Buildroot can't carry hashes for +those. It is however possible to xref:customize-hashes[provide a list of +extra hashes] that can cover such cases. + Hashes should only be added in +.hash+ files for files that are guaranteed to be stable. For example, patches auto-generated by Github are not guaranteed to be stable, and therefore their hashes can change diff --git a/docs/manual/customize-patches.adoc b/docs/manual/customize-patches.adoc index eb98d1bea2..925ea09d8e 100644 --- a/docs/manual/customize-patches.adoc +++ b/docs/manual/customize-patches.adoc @@ -1,8 +1,10 @@ // -*- mode:doc -*- ; // vim: set syntax=asciidoc: +=== Adding project-specific patches and hashes + [[customize-patches]] -=== Adding project-specific patches +==== Providing extra patches It is sometimes useful to apply 'extra' patches to packages - on top of those provided in Buildroot. This might be used to support custom @@ -57,3 +59,24 @@ are available at a URL. *Note:* +BR2_LINUX_KERNEL_PATCH+ specifies kernel patches that are applied after patches available in +BR2_GLOBAL_PATCH_DIR+, as it is done from a post-patch hook of the Linux package. + +[[customize-hashes]] +==== Providing extra hashes + +Buildroot bundles a xref:adding-packages-hash[list of hashes] against +which it checks the integrity of the downloaded archives, or of those +it generates locally from VCS checkouts). However, it can only do so +for the known versions; for packages where it is possible to specify +a custom version (e.g. a custom version string, a remote tarball URL, +or a VCS repository location and changeset), Buildroot can't carry +hashes for those. + +For users concerned with the integrity of such downloads, it is possible +to provide a list of hashes that Buildroot can use to check arbitrary +downloaded files. Those extra hashes are looked up similarly to the +extra patches (above); for each directory in +BR2_GLOBAL_PATCH_DIR+, +the first file to exist is used to check a package download: + +* +///.hash+ +* +//.hash+ +* +/all.hash+ diff --git a/package/pkg-download.mk b/package/pkg-download.mk index e5cd83d859..0d38ff7a5f 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -116,6 +116,16 @@ define DOWNLOAD -D '$(DL_DIR)' \ -f '$(notdir $(1))' \ -H '$($(2)_HASH_FILE)' \ + $(foreach d, $(call qstrip,$(BR2_GLOBAL_PATCH_DIR)), \ + -H \ + $(if $(wildcard $(d)/$($(2)_RAWNAME)/$($(2)_VERSION)/$($(2)_RAWNAME).hash), \ + '$(d)/$($(2)_RAWNAME)/$($(2)_VERSION)/$($(2)_RAWNAME).hash', \ + $(if $(wildcard $(d)/$($(2)_RAWNAME)/$($(2)_RAWNAME).hash), \ + '$(d)/$($(2)_RAWNAME)/$($(2)_RAWNAME).hash', \ + '$(d)/all.hash' \ + ) \ + ) \ + ) \ -n '$($(2)_BASENAME_RAW)' \ -N '$($(2)_RAWNAME)' \ -o '$($(2)_DL_DIR)/$(notdir $(1))' \ -- 2.25.1 From yann.morin.1998 at free.fr Sat Oct 28 21:09:07 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:07 +0200 Subject: [Buildroot] [PATCH 4/4] pkg-download: add option to enforce hash checking In-Reply-To: References: Message-ID: <12e7348f0897e91fac5ce1b331939424340e7e27.1698527340.git.yann.morin.1998@free.fr> Currently, when a pacakge is downloaded from a custom location or version, Buildroot excludes such a package from the mandatory integrity check with hashes, because it was until now not possible to have such hashes. We now have a mechanism which users can leverage to provide additional hashes, and so custom versions or locations can now be checked too. Buildroot has no way to know that hashes have indeed been provided for a custom location/version, and so will still happilly ignore an unchecked package. However, users who do provide extra hashes most probably do expect that no download is done without an integrity check, and thus expect that a missing hash not be ignored. Add an option that users can select to make Buildroot forcibly require at least one valid hash, and no invalid hash, for all downloads. Reported-by: "Martin Zeiser (mzeiser)" Signed-off-by: Yann E. MORIN --- Config.in | 19 +++++++++++++++++++ package/pkg-download.mk | 5 ++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/Config.in b/Config.in index a808e51a68..7808947a05 100644 --- a/Config.in +++ b/Config.in @@ -700,6 +700,25 @@ config BR2_FORCE_HOST_BUILD This option will increase build time. +config BR2_DOWNLOAD_FORCE_CHECK_HASHES + bool "Force all downloads to have a valid hash" + depends on BR2_GLOBAL_PATCH_DIR != "" + help + For packages where a custom version or location can be set, + Buildroot does not carry a hash for those custom versions or + locations, so the integrity of such downloads is not verified. + + Say 'y' here to enforce downloads to have at least one valid + hash (and of course, that all hashes be valid). + + Those hashes are looked in files in BR2_GLOBAL_PATCH_DIR, + using the same heuristic as for the patches. Additionally, a + file named 'all.hash' can be used to store the hashes of many + packages. + +comment "Forcing all downloads to have a valid hash needs a global patch directory" + depends on BR2_GLOBAL_PATCH_DIR = "" + config BR2_REPRODUCIBLE bool "Make the build reproducible (experimental)" # SOURCE_DATE_EPOCH support in toolchain-wrapper requires GCC 4.4 diff --git a/package/pkg-download.mk b/package/pkg-download.mk index 0d38ff7a5f..a7d856d2c4 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -66,9 +66,7 @@ github = https://github.com/$(1)/$(2)/archive/$(3) gitlab = https://gitlab.com/$(1)/$(2)/-/archive/$(3) # Expressly do not check hashes for those files -# Exported variables default to immediately expanded in some versions of -# make, but we need it to be recursively-epxanded, so explicitly assign it. -export BR_NO_CHECK_HASH_FOR = +BR_NO_CHECK_HASH_FOR = ################################################################################ # DOWNLOAD_URIS - List the candidates URIs where to get the package from: @@ -110,6 +108,7 @@ endif define DOWNLOAD $(Q)mkdir -p $($(2)_DL_DIR) $(Q)$(EXTRA_ENV) $($(2)_DL_ENV) \ + BR_NO_CHECK_HASH_FOR="$(if $(BR2_DOWNLOAD_FORCE_CHECK_HASHES),,$(BR_NO_CHECK_HASH_FOR))" \ flock $($(2)_DL_DIR)/.lock $(DL_WRAPPER) \ -c '$($(2)_DL_VERSION)' \ -d '$($(2)_DL_DIR)' \ -- 2.25.1 From yann.morin.1998 at free.fr Sat Oct 28 22:08:20 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:08:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/spirv-tools: needs C++17 In-Reply-To: <20231002165435.347541-1-fontaine.fabrice@gmail.com> References: <20231002165435.347541-1-fontaine.fabrice@gmail.com> Message-ID: <20231028220820.GD687180@scaer> Fabrice, All, On 2023-10-02 18:54 +0200, Fabrice Fontaine spake thusly: > Fix the following build failure raised since the addition of the package > in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: > > CMake Error at CMakeLists.txt:17 (project): > No CMAKE_CXX_COMPILER could be found. > > Fixes: > - http://autobuild.buildroot.org/results/aff5b968342bf05f036c8e1e557c404060345d30 > > Signed-off-by: Fabrice Fontaine > --- > package/spirv-tools/Config.in | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in > index e2f46253a9..39fdb80b86 100644 > --- a/package/spirv-tools/Config.in > +++ b/package/spirv-tools/Config.in > @@ -1,8 +1,14 @@ > config BR2_PACKAGE_SPIRV_TOOLS > bool "spirv-tools" > + depends on BR2_INSTALL_LIBSTDCPP Ah, you already had a C++ dependency in spirv-tools before the one added for spirv-headers... Applied to master, thanks. Regards, Yann E. MORIN. > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 > select BR2_PACKAGE_SPIRV_HEADERS > help > The SPIR-V Tools project provides an API and commands for > processing SPIR-V modules. > > https://github.com/KhronosGroup/SPIRV-Tools > + > +comment "spirv-tools needs a toolchain w/ C++, gcc >= 7" > + depends on !BR2_INSTALL_LIBSTDCPP || \ > + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 > -- > 2.40.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 22:13:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:13:10 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/spirv-tools: fix build issue In-Reply-To: <20231027091526.2224829-1-enki@fsck.pl> References: <20231027091526.2224829-1-enki@fsck.pl> Message-ID: <20231028221310.GE687180@scaer> Maciej, All, On 2023-10-27 11:15 +0200, Maciej Grela spake thusly: > spirv-tools requires a C++ toolchain with shared libs, add flag dependency and comment. Fabrice had already sent a patch adding C++ requirement, and since it also was more strict in requiring C++17, I applied his patch. > Fixes: http://autobuild.buildroot.net/results/53b3cf124d6c299398e620120465eca396ddcdff > Fixes: http://autobuild.buildroot.net/results/a1f615d2410bffb6fdacc8586761c9def05aafa9 > Fixes: http://autobuild.buildroot.net/results/294ade8c9aa3d650fa5ab6cc34701c4176bc197f > Fixes: http://autobuild.buildroot.net/results/40e8f50eb7e82ca42f84fa5f4336cefb51204a28 > Fixes: http://autobuild.buildroot.net/results/3c3be2c454863709d0db896bafbe11cd9df092a3 > Fixes: http://autobuild.buildroot.net/results/8df8de1aeaf1317f6ba43f6752502da2eedcdea1 > Fixes: http://autobuild.buildroot.net/results/ea2c1f97e82efcd867c79f05ab02f5f099140379 > Fixes: http://autobuild.buildroot.net/results/fa4e39d1e78e885d20851201ed8a6fcf9d48d7d6 > Fixes: http://autobuild.buildroot.net/results/4ed3f13b3ce178f8fe87de7aee86acb9642e3434 > Fixes: http://autobuild.buildroot.net/results/e1b4853a7e8714fd2af8f8677681c9895034b3e8 AFAICS, none of those relate to shared libraries, but only to C++. Can you point to a build failure that is explicitly about shared libs? > Signed-off-by: Maciej Grela > --- > package/spirv-tools/Config.in | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in > index e2f46253a9..f1ae11bd09 100644 > --- a/package/spirv-tools/Config.in > +++ b/package/spirv-tools/Config.in > @@ -1,6 +1,11 @@ > +comment "spirv-tools needs a toolchain w/ C++, dynamic library" > + depends on !BR2_INSTALL_LIBSTDCPP || ( !BR2_SHARED_LIBS && !BR2_SHARED_STATIC_LIBS ) > + > config BR2_PACKAGE_SPIRV_TOOLS > bool "spirv-tools" > select BR2_PACKAGE_SPIRV_HEADERS > + depends on BR2_INSTALL_LIBSTDCPP > + depends on BR2_SHARED_LIBS || BR2_SHARED_STATIC_LIBS Also this is technically correct (and I would thinkg semantically the best), we usally use the shorter dependnecy on !static: depends on !BR2_STATIC_LIBS You also forgot to add a comment for when the condition is not met. So, if sahred libs is really required, can you respin a patch with the above fixed, please? Regards, Yann E. MORIN. > help > The SPIR-V Tools project provides an API and commands for > processing SPIR-V modules. > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 22:06:35 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:06:35 +0200 Subject: [Buildroot] [git commit] package/spirv-tools: needs C++17 Message-ID: <20231028221546.C67F386088@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=836a11aaa68593e80466c26fea49384b622dc2eb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since the addition of the package in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: CMake Error at CMakeLists.txt:17 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/aff5b968342bf05f036c8e1e557c404060345d30 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: needs C++ for itself, drop inherited comment] Signed-off-by: Yann E. MORIN --- package/spirv-tools/Config.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in index 345b8e7331..39fdb80b86 100644 --- a/package/spirv-tools/Config.in +++ b/package/spirv-tools/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_SPIRV_TOOLS bool "spirv-tools" - depends on BR2_INSTALL_LIBSTDCPP # spirv-headers + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 select BR2_PACKAGE_SPIRV_HEADERS help The SPIR-V Tools project provides an API and commands for @@ -8,5 +9,6 @@ config BR2_PACKAGE_SPIRV_TOOLS https://github.com/KhronosGroup/SPIRV-Tools -comment "spirv-tools needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP +comment "spirv-tools needs a toolchain w/ C++, gcc >= 7" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 From yann.morin.1998 at free.fr Sat Oct 28 22:35:03 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:35:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: fix package build with gcc 4.8 In-Reply-To: <20231027155221.977752-1-ovlevin@salutedevices.com> References: <20231027155221.977752-1-ovlevin@salutedevices.com> Message-ID: <20231028223503.GF687180@scaer> Oleg, All, On 2023-10-27 18:52 +0300, Oleg Lyovin via buildroot spake thusly: > python-pycryptodomex uses C99 features like variable > declaration in for-loop statement, while old compilers > assumes C89 by default. > > This patch explicitly specifies C99 standard. > > Change-Id: I934211714307cea43541167fbc72ff30fb66ad5f > Signed-off-by: Oleg Lyovin > --- > package/python-pycryptodomex/python-pycryptodomex.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk > index 3790aa4787..ee8ce6e069 100644 > --- a/package/python-pycryptodomex/python-pycryptodomex.mk > +++ b/package/python-pycryptodomex/python-pycryptodomex.mk > @@ -13,5 +13,11 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ > Public Domain (pycrypto original code) > PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto > > +PYTHON_PYCRYPTODOMEX_CFLAGS = -std=c99 > + > +PYTHON_PYCRYPTODOMEX_ENV = \ > + CFLAGS="$(PYTHON_PYCRYPTODOMEX_CFLAGS)" > +HOST_PYTHON_PYCRYPTODOMEX_ENV = $(PYTHON_PYCRYPTODOMEX_ENV) It is weird to use the target settings for the host settings, even if they appear to be identical. Instead, we prefer duplicating the assignment; indeed if the target variable gains target-related settings in the future, they would inadvertently leak into the host variant. The second issue is that (AFAIU) passing CFLAGS in the environment will override the other CFLAGS we set in our infrastructure, and we instead must complement them, see for example how it's done in python-brotli. So, I've done that, and... the target settings leaked into the host variable... So, I've fixed that so that the host and target variant are based of the TARGET/HOST_CFLAGS, plus -std=c99 Applied to master with the above fix, thanks. Regards, Yann E. MORIN. > $(eval $(python-package)) > $(eval $(host-python-package)) > -- > 2.42.0.270.gbcb6cae296 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 22:30:17 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:30:17 +0200 Subject: [Buildroot] [git commit] package/python-pycryptodomex: fix package build with gcc 4.8 Message-ID: <20231028223510.7C8E586093@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c6f3af24db4b79d652874dd6c381ce3d6c5266b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-pycryptodomex uses C99 features like variable declaration in for-loop statement, while old compilers assumes C89 by default. This patch explicitly specifies C99 standard. Signed-off-by: Oleg Lyovin [yann.morin.1998 at free.fr: use TARGET/HOST_CFLAGS] Signed-off-by: Yann E. MORIN --- package/python-pycryptodomex/python-pycryptodomex.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index 3790aa4787..d6eb2a9513 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -13,5 +13,8 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ Public Domain (pycrypto original code) PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto +PYTHON_PYCRYPTODOMEX_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99" +HOST_PYTHON_PYCRYPTODOMEX_ENV = CFLAGS="$(HOST_CFLAGS) -std=c99" + $(eval $(python-package)) $(eval $(host-python-package)) From yann.morin.1998 at free.fr Sat Oct 28 22:50:38 2023 From: yann.morin.1998 at free.fr (Yann E. MO RIN) Date: Sun, 29 Oct 2023 00:50:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/fscryptctl: add choice between v1 and v2 versions In-Reply-To: <20231027161010.980901-1-ovlevin@salutedevices.com> References: <20231027161010.980901-1-ovlevin@salutedevices.com> Message-ID: <20231028225038.GG687180@scaer> Oleg, All, +John for commit b832f6eb9d On 2023-10-27 19:10 +0300, Oleg Lyovin via buildroot spake thusly: > b832f6eb9d bumped fscryptctl to the version that > does not support fscrypt v1. However, there may be > active users that already has v1 configuration without > an ability to migrate to v2, so the above change would > break them. > > This patch adds the option to choice which fscryptctl > version to use assuming v2 by default. It is very exceptional that we allow chosing a version, so you'll need to provide more explanations than "without an ability to migrate to v2". Why is it not possible for those users to migrate? Note that commit b832f6eb9d stated: There are unlikely to be many v1 users and the format has some known vulnerabilities so no compatibility option is included. So this was a mindful decision not to provide such compatibility, especially because of the vulnerability issues. In the odd case that we do indeed need to provide that choice, then there is no need to split in two, as it is totally possible to write everything in a single .mk in conditional blocs. E.g. (elided for brevity): choice prompt "fscryptctl variant" config BR2_PACKAGE_FSCRYPTCTL_V1 bool "v1 (deprecated)" config BR2_PACKAGE_FSCRYPTCTL_V2 bool "v2" endchoice config BR2_PACKAGE_FSCRYPTCTL_VERSION string default "f037dcf4354ce8f25d0f371b58dfe7a7ac27576f" if BR2_PACKAGE_FSCRYPTCTL_V1 default "1.0.0" if BR2_PACKAGE_FSCRYPTCTL_V2 and then in the .mk: FSCRYPTCTL_VERSION = $(call qstrip,$(BR2_PACKAGE_FSCRYPTCTL_VERSION)) FSCRYPTCTL_GIT_VERSION = $(if $(BR2_PACKAGE_FSCRYPTCTL_V2),v)$(FSCRYPTCTL_VERSION) FSCRYPTCTL_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_GIT_VERSION)) FSCRYPTCTL_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_PACKAGE_FSCRYPTCTL_V2),y) FSCRYPTCTL_CFLAGS += -std=c99 endif define FSCRYPTCTL_BUILD_CMDS $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(FSCRYPTCTL_CFLAGS)" fscryptctl endef define FSCRYPTCTL_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl endef $(eval $(generic-package)) Toally untested, and missing all the rest of the usual variables... But of course, this still needs a good explanations why this is needed. Regards, Yann E. MORIN. > Signed-off-by: Oleg Lyovin > --- > package/fscryptctl/Config.in | 22 +++++++++++++++++++ > package/fscryptctl/fscryptctl.mk | 22 +------------------ > .../fscryptctl_v1/fscryptctl_v1.hash | 3 +++ > .../fscryptctl/fscryptctl_v1/fscryptctl_v1.mk | 20 +++++++++++++++++ > .../fscryptctl_v2.hash} | 2 +- > .../fscryptctl/fscryptctl_v2/fscryptctl_v2.mk | 21 ++++++++++++++++++ > 6 files changed, 68 insertions(+), 22 deletions(-) > create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash > create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk > rename package/fscryptctl/{fscryptctl.hash => fscryptctl_v2/fscryptctl_v2.hash} (81%) > create mode 100644 package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk > > diff --git a/package/fscryptctl/Config.in b/package/fscryptctl/Config.in > index 91b9ba8ebe..2fb7176ad9 100644 > --- a/package/fscryptctl/Config.in > +++ b/package/fscryptctl/Config.in > @@ -10,3 +10,25 @@ config BR2_PACKAGE_FSCRYPTCTL > (BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O encrypt -b 4096") > > https://github.com/google/fscryptctl > + > +if BR2_PACKAGE_FSCRYPTCTL > + > +choice > + prompt "fscryptctl variant" > + default BR2_PACKAGE_FSCRYPTCTL_V2 > + help > + Select the version of fscrypt. > + > +config BR2_PACKAGE_FSCRYPTCTL_V2 > + bool "fscrpyctl_v2" > + help > + Support the latest fscrypt v2 implementation. > + > +config BR2_PACKAGE_FSCRYPTCTL_V1 > + bool "fscryptctl_v1" > + help > + v1 is deprecated, enable this only for legacy configurations. > + > +endchoice > + > +endif > diff --git a/package/fscryptctl/fscryptctl.mk b/package/fscryptctl/fscryptctl.mk > index 0546f67a1f..e3571f4e07 100644 > --- a/package/fscryptctl/fscryptctl.mk > +++ b/package/fscryptctl/fscryptctl.mk > @@ -1,21 +1 @@ > -################################################################################ > -# > -# fscryptctl > -# > -################################################################################ > - > -FSCRYPTCTL_VERSION = 1.0.0 > -FSCRYPTCTL_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_VERSION)) > -FSCRYPTCTL_LICENSE = Apache-2.0 > -FSCRYPTCTL_LICENSE_FILES = LICENSE > - > -define FSCRYPTCTL_BUILD_CMDS > - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > - CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl > -endef > - > -define FSCRYPTCTL_INSTALL_TARGET_CMDS > - $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl > -endef > - > -$(eval $(generic-package)) > +include $(sort $(wildcard package/fscryptctl/*/*.mk)) > diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash > new file mode 100644 > index 0000000000..f810aaacb5 > --- /dev/null > +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 970a8febbcbf315313711d8a7ee3d954dea593d8087744d3cba65f6cb4bebcc1 fscryptctl_v1-f037dcf4354ce8f25d0f371b58dfe7a7ac27576f.tar.gz > +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE > diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk > new file mode 100644 > index 0000000000..c1c1ab34f2 > --- /dev/null > +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk > @@ -0,0 +1,20 @@ > +################################################################################ > +# > +# fscryptctl_v1 > +# > +################################################################################ > + > +FSCRYPTCTL_V1_VERSION = f037dcf4354ce8f25d0f371b58dfe7a7ac27576f > +FSCRYPTCTL_V1_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_V1_VERSION)) > +FSCRYPTCTL_V1_LICENSE = Apache-2.0 > +FSCRYPTCTL_V1_LICENSE_FILES = LICENSE > + > +define FSCRYPTCTL_V1_BUILD_CMDS > + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) fscryptctl > +endef > + > +define FSCRYPTCTL_V1_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl > +endef > + > +$(eval $(generic-package)) > diff --git a/package/fscryptctl/fscryptctl.hash b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash > similarity index 81% > rename from package/fscryptctl/fscryptctl.hash > rename to package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash > index 0dcca6893e..61ff022310 100644 > --- a/package/fscryptctl/fscryptctl.hash > +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl-1.0.0.tar.gz > +sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl_v2-1.0.0.tar.gz > sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE > diff --git a/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk > new file mode 100644 > index 0000000000..847a7bbcda > --- /dev/null > +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk > @@ -0,0 +1,21 @@ > +################################################################################ > +# > +# fscryptctl_v2 > +# > +################################################################################ > + > +FSCRYPTCTL_V2_VERSION = 1.0.0 > +FSCRYPTCTL_V2_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_V2_VERSION)) > +FSCRYPTCTL_V2_LICENSE = Apache-2.0 > +FSCRYPTCTL_V2_LICENSE_FILES = LICENSE > + > +define FSCRYPTCTL_V2_BUILD_CMDS > + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl > +endef > + > +define FSCRYPTCTL_V2_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl > +endef > + > +$(eval $(generic-package)) > -- > 2.42.0.270.gbcb6cae296 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From thomas.petazzoni at bootlin.com Sun Oct 29 06:34:41 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 29 Oct 2023 06:34:41 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-28 Message-ID: <20231029063447.E2AFB405C5@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-28 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 17 | 6 | 0 | 23 | 2023.08.x | 15 | 6 | 0 | 21 | master | 39 | 82 | 0 | 121 | Classification of failures by reason for master ----------------------------------------------- unknown | 8 openrc-0.43.3 | 7 bird-2.0.12 | 6 gcc-final-12.3.0 | 5 linux-6.5.8 | 4 spirv-tools-1.3.261.1 | 4 host-rust-1.71.1 | 3 linux-pam-1.5.3 | 3 liquid-dsp-1.5.0 | 3 gcc-final-11.4.0 | 2 host-sentry-cli-2.20.3 | 2 libarchive-3.7.2 | 2 libglib2-2.76.1 | 2 monit-5.33.0 | 2 motion-4.5.1 | 2 nushell-0.85.0 | 2 samba4-4.19.1 | 2 apcupsd-3.14.14 | 1 at-spi2-core-2.48.3 | 1 check-11970a7e112dfe243a2e6... | 1 cryptodev-linux-1.13 | 1 docker-compose-2.23.0 | 1 elfutils-0.189 | 1 fftw-quad-3.3.10 | 1 glibc-2.38-27-g750a45a78390... | 1 gobject-introspection-1.76.1 | 1 grub2-2.06 | 1 host-go-1.21.3 | 1 irqbalance-1.9.0 | 1 libmemcached-1.1.4 | 1 libselinux-3.5 | 1 linux-5.10.162-cip24 | 1 ltrace-82c66409c7a93ca6ad2e... | 1 mongodb-4.2.18 | 1 openvmtools-11.3.5-18557794 | 1 pppd-2.5.0 | 1 ruby-3.1.3 | 1 spirv-headers-1.3.261.1 | 1 trace-cmd-2.9.7 | 1 xenomai-3.0.10 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/9c4637cbcb0ad25f2bd7bffbff6cdf4565bdc3d6 | mipsel | at-spi2-core-2.48.3 | NOK | http://autobuild.buildroot.net/results/1c96b1bcd4edcd0d726c5cff1cabbaa514d7e536 | x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a98c671e42241c2cc6393f794293592142d5ff8b | sh4aeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/17beebb3e156af16bfab49a195025d5f7590d00b | x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/82b1b07eef6fed903e62d149d4ae837160b67e93 | i686 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/22e9388ee77c89066833b84f17ade6ed68e10fb0 | mips64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b356e0be3a526eb8e24503ecbf318cb2a27e2366 | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/dce8459f911d9ca1e358048890b6b7b968263b3c | arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/26f55f56326534529f6cf91c12f08cc1651d1b77 | ORPH mipsel | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/2ae20e4d0465e8899aae777e0c64aebe318d38f5 | ORPH x86_64 | docker-compose-2.23.0 | NOK | http://autobuild.buildroot.net/results/58ea41d912513fe371a43b53198e0b476d2b4ede | microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/4cc4d624581beb5cd15862ce7b2794eb66e236c4 | ORPH powerpc64le | fftw-quad-3.3.10 | NOK | http://autobuild.buildroot.net/results/ba79decc92e7c017e6083d2efa3790e2ef6c6ba1 | ORPH or1k | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/c91db3a6f039836a86db6a4eda1b52c1bd521925 | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/d62ff2f6e83c81e4b204488d3ae6fb1a72e2173c | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/8ecc437bb4c2df9b40710f1222c9f817f7c9e433 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/30523b9e26bcc49a5888e75445534231ae56a453 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/390d2255731f7723fc7d9f5f13f6ffb7ccb229d1 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/bb4bafcf1ad8d13b5769ace3fcf25a20ae278ef6 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/84e2982489c5eb47d8d3b4c056a0c72d3da561ce | powerpc | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/a74cfadddc2adea37a234ff9f827dfabbc1ff4ae | i686 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/70e8fef490eca118e9a94ec483450bda4d7104d9 | ORPH arm | grub2-2.06 | NOK | http://autobuild.buildroot.net/results/8fd74ec7aae3e9b5602644744012c8e5e94c16a4 | mips64 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/dd890e1befbeba5faf5b0cf80e737fb64c26413b | mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/9e7b2add9bb3d9c41933b2fc125f10be8962e050 | armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/46593270ea6eb53661cd141615ea9cfe36bb35d3 | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/707909455c2fb5637fdc0783a44d21ab69093d1b | sh4eb | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/0e75dd926d4b0c8a5e7e99b760f4f80fb76b2458 | microblaze | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/8b8ba5288fe3da81859f53eb8474aec558d36358 | sparc | irqbalance-1.9.0 | NOK | http://autobuild.buildroot.net/results/da78821f5e12147df8ee1fb4cfd7f0c2042211da | powerpc64le | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/07fe8422d228140f432f0963875ce53fd48bd62c | riscv64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/82029895ea856f221a26a2bcd5fde5ccb191cda5 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/0468f506839aa1a26864539d658a0743d9333482 | arc | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/6bba844865c32bf8c709053e2be3a821a8b50f35 | arc | libmemcached-1.1.4 | NOK | http://autobuild.buildroot.net/results/00d54363bf812c07a42bfb4eb0f4e4b2c6bb9003 | ORPH microblaze | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/1479e3fb29879b741334dd9e2a49ae0132d1fd13 | powerpc64le | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/a4293c5b7e81eae07c40a4c369fa59c951bc39c9 | ORPH mipsel | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/569f5dd8ca0d4d392aa9acf53ad58ce6d58d7611 | ORPH arm | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/665b4ad4b2f9a0b738f649c31815db1f55c06f6c | ORPH microblazeel | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/72f1981fd13182dbec86d1b8f9a6ed5e3abf1ba6 | ORPH mips | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/da8794715cf1d37c2abb4f7f1ab484ab8b6f926e | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/a0b8c3a287c4b420ab937d8c92e8130453bd46c4 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/73e34c461f9c8e162584f0256f0a41df5cbea670 | ORPH arm | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/bc0c77108a529b913dbecbd4baf97b8721a17028 | ORPH arm | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/cf5ec48d468834d59ef5d0b1067d34af3a061969 | i686 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/852a4121dff6b660fe0e9383ef8f971678a4d7a7 | x86_64 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/11555089361d53f9734028c8781078ca1055e6ff | x86_64 | ltrace-82c66409c7a93ca6ad2e... | NOK | http://autobuild.buildroot.net/results/fab58a9d13238dee7f3069029cf3beee737b6842 | ORPH x86_64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/f1ec704978ce7352890342f2babc6e39573c2fbd | arceb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/d29dc251b41d2e83dc7e7b1c2a198ec744a8b5e1 | sparc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/72448be2c6ebb10a3dde20e84c75a18360e51411 | s390x | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/371f3cbc97ac7b31aedd03c1d25d377568eca6c1 | powerpc | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/859764c490059ffee1da298e0e7f4df6502296c4 | sparc64 | nushell-0.85.0 | NOK | http://autobuild.buildroot.net/results/3fb882629cb1f36adab6e59f65a1ef17b0cb4fef | mips | nushell-0.85.0 | NOK | http://autobuild.buildroot.net/results/ca8fbbbd4d68f345b885599856ecdf3a04b9f66d | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c9ade5e9367237ce2de9e3cd7810131f067fa82a | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9c8c090aa0557f83d8951b3edd9b9dcec19f132a | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ce607fb7cb6b22a00637e9cc08845b0388222a7e | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b01b3071a7e497314beabaf436a14c16a7eaa137 | arm | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a29e90b90f213baa2b6dc7ed99eea8937f50f124 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a4afe60719bf08a7dc4edcb2c6acf790a87350ba | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/21290b5c8ceb8b0ea9c5a12921f2952368ab10de | x86_64 | openvmtools-11.3.5-18557794 | NOK | http://autobuild.buildroot.net/results/875b1df22d28f7458102fa6d9ec0895fe24932a2 | sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/83146b60ee7cb7ba01f11f1249c1d8bcbb8617fa | arc | ruby-3.1.3 | NOK | http://autobuild.buildroot.net/results/a3b07ce03d1ad923f4f6d6214ddc1a4861d11fd0 | or1k | samba4-4.19.1 | NOK | http://autobuild.buildroot.net/results/230d94fcfb237016cf010b2e91f9e33c8f64582e | arm | samba4-4.19.1 | NOK | http://autobuild.buildroot.net/results/d11e9a06079acd73f1bd267d7cdceb348aa0f091 | xtensa | spirv-headers-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/4b94edf6dee03e74ff53939aa228069cc6ba4292 | riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/41321c99ef42448320e5ca8d19e797cb5355d51c | ORPH armeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5fe759a566a2475171c33cfd077a55c669fb2b27 | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/f44be881a988fe9f90b713b2cec5fe7fbd91315e | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5f8989964f94ded7b2255e1f4ca94e0cf242b0c2 | ORPH sh4a | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/e5fb39324d4d99c9aec39d686fda9e1e18e6750e | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/aa4e142e0883faa24b7191618bd7e285f817c508 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/05b4f63a6e0cb7c731129ff86699ce079e3f072c | arceb | unknown | NOK | http://autobuild.buildroot.net/results/ddfe0f287e52f3c84a9052dc0b1427be4de5bcbe | m68k | unknown | NOK | http://autobuild.buildroot.net/results/6e51cd25fccf6a7a55316e8722377195c115c2b1 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/2aa60e5c53087f7423cb3f1677b71a805506e2fb | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/4c2d95e9edfc9ce4506bd97116134ada2f3db5ec | riscv32 | unknown | NOK | http://autobuild.buildroot.net/results/24589bd70ca57c0db2651b02d0d8afa3998c2ede | armeb | unknown | NOK | http://autobuild.buildroot.net/results/dcb5ff5b40b3363a4afc5444a812f246a0ba7b8f | sh4eb | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/55f863811798dcf9052ecb0cbaec95e5fa3f1d33 | Classification of failures by reason for 2023.02.x -------------------------------------------------- elfutils-0.186 | 2 host-rust-1.67.1 | 2 libxml2-2.10.4 | 1 unknown | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/2f1f230b82cd6725451b874107cebf37b0f41954 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/6b23a1e25bafbf844ba1a772e7fed3b8182a0047 | ORPH aarch64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/532d67a98e051041d415fe19d8760129d8ecb653 | mipsel | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/ecdebc67bf128583035d1f928692a9e354f7863a | armeb | libxml2-2.10.4 | NOK | http://autobuild.buildroot.net/results/43c5cde010b6925a41d21af59d8ba7173bc12d6b | sh4aeb | unknown | NOK | http://autobuild.buildroot.net/results/e2a7e003beafcedb994996c808fab9e56a2d6261 | Classification of failures by reason for 2023.08.x -------------------------------------------------- libglib2-2.76.1 | 2 host-go-1.20.10 | 1 trace-cmd-2.9.7 | 1 unknown | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | host-go-1.20.10 | NOK | http://autobuild.buildroot.net/results/d092f1c786c563a6a53f257c32314e01169ef031 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/e306f52dfa9032bafa0bfccab02df08095f42050 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/13c5b3e0de5dc4b95999ef16a1a1fd92c0179160 | arm | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/a9c77463a107f69d6da5813269616f9bbe9f06e1 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/7a1bdc79893b016b7ad98bdece320566e462215e | aarch64_be | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/3f8cb5b436d66fa61c661a03d86c56315b739431 | -- http://autobuild.buildroot.net From yann.morin.1998 at free.fr Sun Oct 29 08:32:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:52 +0100 Subject: [Buildroot] [git commit] package/libopenssl: security bump version to 3.1.4 Message-ID: <20231029083901.55BBC860E0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c4006bff7cb51041bb61740880ed5839ccc30bc7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-5363: https://www.openssl.org/news/secadv/20231024.txt https://www.openssl.org/news/vulnerabilities.html Changelog: https://www.openssl.org/news/cl31.txt Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/libopenssl/libopenssl.hash | 4 ++-- package/libopenssl/libopenssl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash index 9126175977..29ced7cddd 100644 --- a/package/libopenssl/libopenssl.hash +++ b/package/libopenssl/libopenssl.hash @@ -1,5 +1,5 @@ -# From https://www.openssl.org/source/openssl-3.1.3.tar.gz.sha256 -sha256 f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6 openssl-3.1.3.tar.gz +# From https://www.openssl.org/source/openssl-3.1.4.tar.gz.sha256 +sha256 840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3 openssl-3.1.4.tar.gz # License files sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index b69ef032f2..b8b6ec6bff 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOPENSSL_VERSION = 3.1.3 +LIBOPENSSL_VERSION = 3.1.4 LIBOPENSSL_SITE = https://www.openssl.org/source LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz LIBOPENSSL_LICENSE = Apache-2.0 From yann.morin.1998 at free.fr Sun Oct 29 08:32:58 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:58 +0100 Subject: [Buildroot] [git commit] package/sdbus-cpp: bump to version 1.4.0 Message-ID: <20231029083901.5FCEF860E1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b02338f06635478df7f862cfeef261ac873787d5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://github.com/Kistler-Group/sdbus-cpp/releases/tag/v1.4.0 Signed-off-by: Sergey Bobrenok Signed-off-by: Yann E. MORIN --- package/sdbus-cpp/sdbus-cpp.hash | 2 +- package/sdbus-cpp/sdbus-cpp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash index f5fc8d6868..379864e3ba 100644 --- a/package/sdbus-cpp/sdbus-cpp.hash +++ b/package/sdbus-cpp/sdbus-cpp.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 d44f59abdd64d8f1ca3af7db58bc6518cb081fc9ff16285c3d75a68f5c073d10 v1.3.0.tar.gz +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk index 2a6b67d6e3..2c3844094e 100644 --- a/package/sdbus-cpp/sdbus-cpp.mk +++ b/package/sdbus-cpp/sdbus-cpp.mk @@ -4,7 +4,7 @@ # ################################################################################ -SDBUS_CPP_VERSION = 1.3.0 +SDBUS_CPP_VERSION = 1.4.0 SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) SDBUS_CPP_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Sun Oct 29 08:32:33 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:33 +0100 Subject: [Buildroot] [git commit] package/php: bump version to 8.2.12 Message-ID: <20231029083901.36B9C860DD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a40924107d63551906050b199fe6b93d479a96ce branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 Release notes: https://www.php.net/releases/8_2_12.php Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index e5f94a5e05..0f77f0082f 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz +sha256 e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132 php-8.2.12.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index ee33000a6f..add46584c6 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.11 +PHP_VERSION = 8.2.12 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Sun Oct 29 08:33:17 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:17 +0100 Subject: [Buildroot] [git commit] package/docker-cli: bump version to v24.0.7 Message-ID: <20231029083901.7C5CB860DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ae2dc6ae619dfea517a833cd184890b8bca3768a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Minor bugfix in docker ps status description. https://github.com/moby/moby/releases/tag/v24.0.7 Signed-off-by: Stefan Agner Signed-off-by: Yann E. MORIN --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index 5d8c1b0f59..9c8d08bba5 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c1a4a580ced3633e489c5c9869a20198415da44df7023fdc200d425cdf5fa652 docker-cli-24.0.6.tar.gz +sha256 72a54d131c28938221c81bd08364459fed9c71c093d4d615d324aaf31de6db1d docker-cli-24.0.7.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index 53c9ddb6b8..95fce27ffb 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 24.0.6 +DOCKER_CLI_VERSION = 24.0.7 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From yann.morin.1998 at free.fr Sun Oct 29 08:33:11 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:11 +0100 Subject: [Buildroot] [git commit] package/docker-engine: bump version to v24.0.7 Message-ID: <20231029083901.737FB860DD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d2290e614196bfec05c3bd08cdca1c98cb7d0bf2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The overlay2 layers metadata are now written atomically. Many other bugfixes and hardening against security issues around the power capping framework. https://github.com/moby/moby/releases/tag/v24.0.7 Signed-off-by: Stefan Agner Signed-off-by: Yann E. MORIN --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 7a8b17d3f3..931d6529e1 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 29a8ee54e9ea008b40eebca42dec8b67ab257eb8ac175f67e79c110e4187d7d2 docker-engine-24.0.6.tar.gz +sha256 16a2cb4cf4d314a070085e0df06e3a6bd9ec678d28715b64060af694fc9051d5 docker-engine-24.0.7.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index a8f47254a4..34e74c09c6 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 24.0.6 +DOCKER_ENGINE_VERSION = 24.0.7 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From yann.morin.1998 at free.fr Sun Oct 29 08:33:31 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:31 +0100 Subject: [Buildroot] [git commit] package/flashrom: bump to version 1.3.0 Message-ID: <20231029083901.8E776860E1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=073b0fc9c1fe9945eccf4b792b948633aae9a9b8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://www.flashrom.org/release_notes/v_1_3.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/flashrom/flashrom.hash | 4 ++-- package/flashrom/flashrom.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/flashrom/flashrom.hash b/package/flashrom/flashrom.hash index 2ab463d93a..d3bfbad781 100644 --- a/package/flashrom/flashrom.hash +++ b/package/flashrom/flashrom.hash @@ -1,4 +1,4 @@ # Locally computed after checking pgp signature -# https://download.flashrom.org/releases/flashrom-v1.2.1.tar.bz2.asc -sha256 89a7ff5beb08c89b8795bbd253a51b9453547a864c31793302296b56bbc56d65 flashrom-v1.2.1.tar.bz2 +# https://download.flashrom.org/releases/flashrom-v1.3.0.tar.bz2.asc +sha256 a053234453ccd012e79f3443bdcc61625cf97b7fd7cb4cdd8bfbffbe8b149623 flashrom-v1.3.0.tar.bz2 sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index dd505987ed..ca55592dba 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLASHROM_VERSION = 1.2.1 +FLASHROM_VERSION = 1.3.0 FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2 FLASHROM_SITE = https://download.flashrom.org/releases FLASHROM_LICENSE = GPL-2.0+ From yann.morin.1998 at free.fr Sun Oct 29 08:32:46 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:46 +0100 Subject: [Buildroot] [git commit] package/tvheadend: bump version Message-ID: <20231029083901.46A16860DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c1b3aac218afcda84b5ce20fdbb8b1522457bd18 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes build with python 3.12. Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/tvheadend/tvheadend.hash | 2 +- package/tvheadend/tvheadend.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tvheadend/tvheadend.hash b/package/tvheadend/tvheadend.hash index 5b021edcc3..5a9ec3df23 100644 --- a/package/tvheadend/tvheadend.hash +++ b/package/tvheadend/tvheadend.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 9d8e68d1442403709846b93e7994652a1eca0f03924924d3a4dd31b882851375 tvheadend-fe47ecb5504a521fed9c1ca9705fb0dd2bb8443a.tar.gz +sha256 98a27a6a5ce2fc800df6d154534f494582418f6b24b3a1c30267785d191e50df tvheadend-62adbebfd062d7b97829268274aad92df2033784.tar.gz sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942 LICENSE.md diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk index f9303ef2fe..1d4e6ee30c 100644 --- a/package/tvheadend/tvheadend.mk +++ b/package/tvheadend/tvheadend.mk @@ -4,7 +4,7 @@ # ################################################################################ -TVHEADEND_VERSION = fe47ecb5504a521fed9c1ca9705fb0dd2bb8443a +TVHEADEND_VERSION = 62adbebfd062d7b97829268274aad92df2033784 TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION)) TVHEADEND_LICENSE = GPL-3.0+ TVHEADEND_LICENSE_FILES = LICENSE.md From yann.morin.1998 at free.fr Sun Oct 29 08:33:04 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:04 +0100 Subject: [Buildroot] [git commit] package/onevpl-intel-gpu: bump version to 23.4.0 Message-ID: <20231029083901.6A0F586091@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c76fc2cda140e793964d012a87d9c3136ac85b45 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/onevpl-intel-gpu/onevpl-intel-gpu.hash | 2 +- package/onevpl-intel-gpu/onevpl-intel-gpu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/onevpl-intel-gpu/onevpl-intel-gpu.hash b/package/onevpl-intel-gpu/onevpl-intel-gpu.hash index fa25c507eb..5f7728e5f9 100644 --- a/package/onevpl-intel-gpu/onevpl-intel-gpu.hash +++ b/package/onevpl-intel-gpu/onevpl-intel-gpu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 9de6bfd17259b7434f2bb4fb6d2874decf9b1d4587ec9b90d91188049921e32f onevpl-intel-gpu-23.3.4.tar.gz +sha256 0939232daa2ef3e35b453e4aa0d25674a9b2376b4ef814fb64712cf587654787 onevpl-intel-gpu-23.4.0.tar.gz sha256 c31c3cc5fd66d1250dbca1c3d9011a9f874537442ac71c8de80f2f0fed13f297 LICENSE diff --git a/package/onevpl-intel-gpu/onevpl-intel-gpu.mk b/package/onevpl-intel-gpu/onevpl-intel-gpu.mk index c7c557e9e2..8c9275fe75 100644 --- a/package/onevpl-intel-gpu/onevpl-intel-gpu.mk +++ b/package/onevpl-intel-gpu/onevpl-intel-gpu.mk @@ -4,7 +4,7 @@ # ################################################################################ -ONEVPL_INTEL_GPU_VERSION = 23.3.4 +ONEVPL_INTEL_GPU_VERSION = 23.4.0 ONEVPL_INTEL_GPU_SITE = $(call github,oneapi-src,oneVPL-intel-gpu,intel-onevpl-$(ONEVPL_INTEL_GPU_VERSION)) ONEVPL_INTEL_GPU_LICENSE = MIT ONEVPL_INTEL_GPU_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Sun Oct 29 08:32:40 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:40 +0100 Subject: [Buildroot] [git commit] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231029083901.3C6C186091@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=96298d3b547670f3fdff26dccc095161ef17d6e4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 21313ded51..195b0dc00e 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.8" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.9" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 720598252b..78d1395e66 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 299cca897d90deaa176eebec42f0a80eeb7516afed330a45c14da9de086cf717 linux-6.5.8.tar.xz -sha256 627f7724c675036639290fb5c39e3fdeb3d566b80b192c45f4a808ab54c8c0a0 linux-6.1.59.tar.xz +sha256 c6662f64713f56bf30e009c32eac15536fad5fd1c02e8a3daf62a0dc2f058fd5 linux-6.5.9.tar.xz +sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 c624b9fe7ee4708d34cfd0b7ebc58037afac7463338cc498641ea31c55eeacb8 linux-5.15.136.tar.xz -sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz -sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz +sha256 9749b21609f9e7ad9c46160c2c107db823b99cef77fa6cb080b6c2dc685fb2f7 linux-5.15.137.tar.xz +sha256 a0ea77a1f5eeb1387d62e7a8df585ffc53758e4da153d98224ccd833bd2624c1 linux-5.10.199.tar.xz +sha256 ffe6e4fa1266d5480e529fc8659f572c57030040c548face30f56fd5a223bba4 linux-5.4.259.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz -sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz +sha256 9d89e0bc6503c0d61178fd1605f6ed04b016873b9f370372866644b11fee3d31 linux-4.19.297.tar.xz +sha256 1db5926e02dc29b30d77f731228d3bd31402e2feba3aa59bfb2c730eedbeecc5 linux-4.14.328.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index d48cfa3787..bb624147ec 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -404,13 +404,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.327" if BR2_KERNEL_HEADERS_4_14 - default "4.19.296" if BR2_KERNEL_HEADERS_4_19 - default "5.4.258" if BR2_KERNEL_HEADERS_5_4 - default "5.10.198" if BR2_KERNEL_HEADERS_5_10 - default "5.15.136" if BR2_KERNEL_HEADERS_5_15 - default "6.1.59" if BR2_KERNEL_HEADERS_6_1 - default "6.5.8" if BR2_KERNEL_HEADERS_6_5 + default "4.14.328" if BR2_KERNEL_HEADERS_4_14 + default "4.19.297" if BR2_KERNEL_HEADERS_4_19 + default "5.4.259" if BR2_KERNEL_HEADERS_5_4 + default "5.10.199" if BR2_KERNEL_HEADERS_5_10 + default "5.15.137" if BR2_KERNEL_HEADERS_5_15 + default "6.1.60" if BR2_KERNEL_HEADERS_6_1 + default "6.5.9" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From yann.morin.1998 at free.fr Sun Oct 29 08:33:24 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:24 +0100 Subject: [Buildroot] [git commit] package/kodi-pvr-iptvsimple: bump version to 20.11.1-Nexus Message-ID: <20231029083901.85D0D860E0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e110aad3abb7eeff1359cd8254419e459b91172f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- 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 8f60721163..0895b2e910 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 c2014b11dd928a1d4789279d7f3ce25af8af4047194e8406f9dfd99d16fe2ee2 kodi-pvr-iptvsimple-20.11.0-Nexus.tar.gz +sha256 5c8bd2f04b3114311294e1dc064e592f712a62ff283a451bc8c19878f05286bd kodi-pvr-iptvsimple-20.11.1-Nexus.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 1ea3975be5..7314e855d9 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 = 20.11.0-Nexus +KODI_PVR_IPTVSIMPLE_VERSION = 20.11.1-Nexus 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 yann.morin.1998 at free.fr Sun Oct 29 08:39:06 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:39:06 +0100 Subject: [Buildroot] [PATCH 1/1] package/flashrom: bump to version 1.3.0 In-Reply-To: <20231028210348.1235466-1-fontaine.fabrice@gmail.com> References: <20231028210348.1235466-1-fontaine.fabrice@gmail.com> Message-ID: <20231029083906.GH687180@scaer> Fabrice, All, On 2023-10-28 23:03 +0200, Fabrice Fontaine spake thusly: > https://www.flashrom.org/release_notes/v_1_3.html > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/flashrom/flashrom.hash | 4 ++-- > package/flashrom/flashrom.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/flashrom/flashrom.hash b/package/flashrom/flashrom.hash > index 2ab463d93a..d3bfbad781 100644 > --- a/package/flashrom/flashrom.hash > +++ b/package/flashrom/flashrom.hash > @@ -1,4 +1,4 @@ > # Locally computed after checking pgp signature > -# https://download.flashrom.org/releases/flashrom-v1.2.1.tar.bz2.asc > -sha256 89a7ff5beb08c89b8795bbd253a51b9453547a864c31793302296b56bbc56d65 flashrom-v1.2.1.tar.bz2 > +# https://download.flashrom.org/releases/flashrom-v1.3.0.tar.bz2.asc > +sha256 a053234453ccd012e79f3443bdcc61625cf97b7fd7cb4cdd8bfbffbe8b149623 flashrom-v1.3.0.tar.bz2 > sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING > diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk > index dd505987ed..ca55592dba 100644 > --- a/package/flashrom/flashrom.mk > +++ b/package/flashrom/flashrom.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FLASHROM_VERSION = 1.2.1 > +FLASHROM_VERSION = 1.3.0 > FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2 > FLASHROM_SITE = https://download.flashrom.org/releases > FLASHROM_LICENSE = GPL-2.0+ > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:39:39 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:39:39 +0100 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-iptvsimple: bump version to 20.11.1-Nexus In-Reply-To: <20231027180709.47696-1-bernd@kuhls.net> References: <20231027180709.47696-1-bernd@kuhls.net> Message-ID: <20231029083939.GI687180@scaer> Bernd, All, On 2023-10-27 20:07 +0200, Bernd Kuhls spake thusly: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > 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 8f60721163..0895b2e910 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 c2014b11dd928a1d4789279d7f3ce25af8af4047194e8406f9dfd99d16fe2ee2 kodi-pvr-iptvsimple-20.11.0-Nexus.tar.gz > +sha256 5c8bd2f04b3114311294e1dc064e592f712a62ff283a451bc8c19878f05286bd kodi-pvr-iptvsimple-20.11.1-Nexus.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 1ea3975be5..7314e855d9 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 = 20.11.0-Nexus > +KODI_PVR_IPTVSIMPLE_VERSION = 20.11.1-Nexus > 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 > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:42:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:42:22 +0100 Subject: [Buildroot] [PATCH 1/2] package/docker-engine: bump version to v24.0.7 In-Reply-To: References: Message-ID: <20231029084222.GJ687180@scaer> Stefan, All, +Peter for backports On 2023-10-27 17:46 +0200, Stefan Agner spake thusly: > The overlay2 layers metadata are now written atomically. Many other > bugfixes and hardening against security issues around the power capping > framework. > > https://github.com/moby/moby/releases/tag/v24.0.7 > > Signed-off-by: Stefan Agner Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/docker-engine/docker-engine.hash | 2 +- > package/docker-engine/docker-engine.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash > index 7a8b17d3f3..931d6529e1 100644 > --- a/package/docker-engine/docker-engine.hash > +++ b/package/docker-engine/docker-engine.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 29a8ee54e9ea008b40eebca42dec8b67ab257eb8ac175f67e79c110e4187d7d2 docker-engine-24.0.6.tar.gz > +sha256 16a2cb4cf4d314a070085e0df06e3a6bd9ec678d28715b64060af694fc9051d5 docker-engine-24.0.7.tar.gz > sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE > diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk > index a8f47254a4..34e74c09c6 100644 > --- a/package/docker-engine/docker-engine.mk > +++ b/package/docker-engine/docker-engine.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DOCKER_ENGINE_VERSION = 24.0.6 > +DOCKER_ENGINE_VERSION = 24.0.7 > DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) > > DOCKER_ENGINE_LICENSE = Apache-2.0 > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:42:36 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:42:36 +0100 Subject: [Buildroot] [PATCH 2/2] package/docker-cli: bump version to v24.0.7 In-Reply-To: References: Message-ID: <20231029084236.GK687180@scaer> Stefan, All, On 2023-10-27 17:46 +0200, Stefan Agner spake thusly: > Minor bugfix in docker ps status description. > > https://github.com/moby/moby/releases/tag/v24.0.7 > > Signed-off-by: Stefan Agner Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/docker-cli/docker-cli.hash | 2 +- > package/docker-cli/docker-cli.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash > index 5d8c1b0f59..9c8d08bba5 100644 > --- a/package/docker-cli/docker-cli.hash > +++ b/package/docker-cli/docker-cli.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 c1a4a580ced3633e489c5c9869a20198415da44df7023fdc200d425cdf5fa652 docker-cli-24.0.6.tar.gz > +sha256 72a54d131c28938221c81bd08364459fed9c71c093d4d615d324aaf31de6db1d docker-cli-24.0.7.tar.gz > sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE > diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk > index 53c9ddb6b8..95fce27ffb 100644 > --- a/package/docker-cli/docker-cli.mk > +++ b/package/docker-cli/docker-cli.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DOCKER_CLI_VERSION = 24.0.6 > +DOCKER_CLI_VERSION = 24.0.7 > DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) > > DOCKER_CLI_LICENSE = Apache-2.0 > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:43:16 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:43:16 +0100 Subject: [Buildroot] [PATCH 1/1] package/onevpl-intel-gpu: bump version to 23.4.0 In-Reply-To: <20231027050817.17828-1-bernd@kuhls.net> References: <20231027050817.17828-1-bernd@kuhls.net> Message-ID: <20231029084316.GL687180@scaer> Bernd, All, On 2023-10-27 07:08 +0200, Bernd Kuhls spake thusly: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/onevpl-intel-gpu/onevpl-intel-gpu.hash | 2 +- > package/onevpl-intel-gpu/onevpl-intel-gpu.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/onevpl-intel-gpu/onevpl-intel-gpu.hash b/package/onevpl-intel-gpu/onevpl-intel-gpu.hash > index fa25c507eb..5f7728e5f9 100644 > --- a/package/onevpl-intel-gpu/onevpl-intel-gpu.hash > +++ b/package/onevpl-intel-gpu/onevpl-intel-gpu.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 9de6bfd17259b7434f2bb4fb6d2874decf9b1d4587ec9b90d91188049921e32f onevpl-intel-gpu-23.3.4.tar.gz > +sha256 0939232daa2ef3e35b453e4aa0d25674a9b2376b4ef814fb64712cf587654787 onevpl-intel-gpu-23.4.0.tar.gz > sha256 c31c3cc5fd66d1250dbca1c3d9011a9f874537442ac71c8de80f2f0fed13f297 LICENSE > diff --git a/package/onevpl-intel-gpu/onevpl-intel-gpu.mk b/package/onevpl-intel-gpu/onevpl-intel-gpu.mk > index c7c557e9e2..8c9275fe75 100644 > --- a/package/onevpl-intel-gpu/onevpl-intel-gpu.mk > +++ b/package/onevpl-intel-gpu/onevpl-intel-gpu.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -ONEVPL_INTEL_GPU_VERSION = 23.3.4 > +ONEVPL_INTEL_GPU_VERSION = 23.4.0 > ONEVPL_INTEL_GPU_SITE = $(call github,oneapi-src,oneVPL-intel-gpu,intel-onevpl-$(ONEVPL_INTEL_GPU_VERSION)) > ONEVPL_INTEL_GPU_LICENSE = MIT > ONEVPL_INTEL_GPU_LICENSE_FILES = LICENSE > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:43:42 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:43:42 +0100 Subject: [Buildroot] [PATCH 1/1] package/sdbus-cpp: bump to version 1.4.0 In-Reply-To: <20231026201145.130747-1-bobrofon@gmail.com> References: <20231026201145.130747-1-bobrofon@gmail.com> Message-ID: <20231029084342.GM687180@scaer> Sergey, All, On 2023-10-26 23:11 +0300, Sergey Bobrenok spake thusly: > Changelog: > https://github.com/Kistler-Group/sdbus-cpp/releases/tag/v1.4.0 > > Signed-off-by: Sergey Bobrenok Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/sdbus-cpp/sdbus-cpp.hash | 2 +- > package/sdbus-cpp/sdbus-cpp.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash > index f5fc8d6868..379864e3ba 100644 > --- a/package/sdbus-cpp/sdbus-cpp.hash > +++ b/package/sdbus-cpp/sdbus-cpp.hash > @@ -1,4 +1,4 @@ > # Locally computed: > -sha256 d44f59abdd64d8f1ca3af7db58bc6518cb081fc9ff16285c3d75a68f5c073d10 v1.3.0.tar.gz > +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz > sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING > sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception > diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk > index 2a6b67d6e3..2c3844094e 100644 > --- a/package/sdbus-cpp/sdbus-cpp.mk > +++ b/package/sdbus-cpp/sdbus-cpp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SDBUS_CPP_VERSION = 1.3.0 > +SDBUS_CPP_VERSION = 1.4.0 > SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz > SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) > SDBUS_CPP_INSTALL_STAGING = YES > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:45:27 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:45:27 +0100 Subject: [Buildroot] [PATCH 1/1] package/sdbus-cpp: bump to version 1.4.0 In-Reply-To: <20231026201145.130747-1-bobrofon@gmail.com> References: <20231026201145.130747-1-bobrofon@gmail.com> Message-ID: <20231029084527.GN687180@scaer> Sergey, All, On 2023-10-26 23:11 +0300, Sergey Bobrenok spake thusly: [--SNIP--] > diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk > index 2a6b67d6e3..2c3844094e 100644 > --- a/package/sdbus-cpp/sdbus-cpp.mk > +++ b/package/sdbus-cpp/sdbus-cpp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SDBUS_CPP_VERSION = 1.3.0 > +SDBUS_CPP_VERSION = 1.4.0 > SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz I just noticed thatwe for the _SOURCE, but usually that is not needed when we use the github helper, like we do below. Could you try and send a patch to drop it, please? Regards, Yann E. MORIN. > SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) > SDBUS_CPP_INSTALL_STAGING = YES > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:45:48 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:45:48 +0100 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: <20231026181904.3218122-1-bernd@kuhls.net> References: <20231026181904.3218122-1-bernd@kuhls.net> Message-ID: <20231029084548.GO687180@scaer> Bernd, All, On 2023-10-26 20:19 +0200, Bernd Kuhls spake thusly: > Fixes CVE-2023-5363: > https://www.openssl.org/news/secadv/20231024.txt > https://www.openssl.org/news/vulnerabilities.html > > Changelog: https://www.openssl.org/news/cl31.txt > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libopenssl/libopenssl.hash | 4 ++-- > package/libopenssl/libopenssl.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash > index 9126175977..29ced7cddd 100644 > --- a/package/libopenssl/libopenssl.hash > +++ b/package/libopenssl/libopenssl.hash > @@ -1,5 +1,5 @@ > -# From https://www.openssl.org/source/openssl-3.1.3.tar.gz.sha256 > -sha256 f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6 openssl-3.1.3.tar.gz > +# From https://www.openssl.org/source/openssl-3.1.4.tar.gz.sha256 > +sha256 840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3 openssl-3.1.4.tar.gz > > # License files > sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt > diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk > index b69ef032f2..b8b6ec6bff 100644 > --- a/package/libopenssl/libopenssl.mk > +++ b/package/libopenssl/libopenssl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBOPENSSL_VERSION = 3.1.3 > +LIBOPENSSL_VERSION = 3.1.4 > LIBOPENSSL_SITE = https://www.openssl.org/source > LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz > LIBOPENSSL_LICENSE = Apache-2.0 > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:46:05 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:46:05 +0100 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: bump version In-Reply-To: <20231026180416.3147682-1-bernd@kuhls.net> References: <20231026180416.3147682-1-bernd@kuhls.net> Message-ID: <20231029084605.GP687180@scaer> Bernd, All, On 2023-10-26 20:04 +0200, Bernd Kuhls spake thusly: > Fixes build with python 3.12. > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/tvheadend/tvheadend.hash | 2 +- > package/tvheadend/tvheadend.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/tvheadend/tvheadend.hash b/package/tvheadend/tvheadend.hash > index 5b021edcc3..5a9ec3df23 100644 > --- a/package/tvheadend/tvheadend.hash > +++ b/package/tvheadend/tvheadend.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 9d8e68d1442403709846b93e7994652a1eca0f03924924d3a4dd31b882851375 tvheadend-fe47ecb5504a521fed9c1ca9705fb0dd2bb8443a.tar.gz > +sha256 98a27a6a5ce2fc800df6d154534f494582418f6b24b3a1c30267785d191e50df tvheadend-62adbebfd062d7b97829268274aad92df2033784.tar.gz > sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942 LICENSE.md > diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk > index f9303ef2fe..1d4e6ee30c 100644 > --- a/package/tvheadend/tvheadend.mk > +++ b/package/tvheadend/tvheadend.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -TVHEADEND_VERSION = fe47ecb5504a521fed9c1ca9705fb0dd2bb8443a > +TVHEADEND_VERSION = 62adbebfd062d7b97829268274aad92df2033784 > TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION)) > TVHEADEND_LICENSE = GPL-3.0+ > TVHEADEND_LICENSE_FILES = LICENSE.md > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:46:21 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:46:21 +0100 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series In-Reply-To: <20231026173836.4149430-1-bernd@kuhls.net> References: <20231026173836.4149430-1-bernd@kuhls.net> Message-ID: <20231029084621.GQ687180@scaer> Bernd, All, On 2023-10-26 19:38 +0200, Bernd Kuhls spake thusly: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > linux/Config.in | 2 +- > linux/linux.hash | 14 +++++++------- > package/linux-headers/Config.in.host | 14 +++++++------- > 3 files changed, 15 insertions(+), 15 deletions(-) > > diff --git a/linux/Config.in b/linux/Config.in > index 21313ded51..195b0dc00e 100644 > --- a/linux/Config.in > +++ b/linux/Config.in > @@ -128,7 +128,7 @@ endif > > config BR2_LINUX_KERNEL_VERSION > string > - default "6.5.8" if BR2_LINUX_KERNEL_LATEST_VERSION > + default "6.5.9" if BR2_LINUX_KERNEL_LATEST_VERSION > default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION > default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION > default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ > diff --git a/linux/linux.hash b/linux/linux.hash > index 720598252b..78d1395e66 100644 > --- a/linux/linux.hash > +++ b/linux/linux.hash > @@ -1,13 +1,13 @@ > # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc > -sha256 299cca897d90deaa176eebec42f0a80eeb7516afed330a45c14da9de086cf717 linux-6.5.8.tar.xz > -sha256 627f7724c675036639290fb5c39e3fdeb3d566b80b192c45f4a808ab54c8c0a0 linux-6.1.59.tar.xz > +sha256 c6662f64713f56bf30e009c32eac15536fad5fd1c02e8a3daf62a0dc2f058fd5 linux-6.5.9.tar.xz > +sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz > # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc > -sha256 c624b9fe7ee4708d34cfd0b7ebc58037afac7463338cc498641ea31c55eeacb8 linux-5.15.136.tar.xz > -sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz > -sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz > +sha256 9749b21609f9e7ad9c46160c2c107db823b99cef77fa6cb080b6c2dc685fb2f7 linux-5.15.137.tar.xz > +sha256 a0ea77a1f5eeb1387d62e7a8df585ffc53758e4da153d98224ccd833bd2624c1 linux-5.10.199.tar.xz > +sha256 ffe6e4fa1266d5480e529fc8659f572c57030040c548face30f56fd5a223bba4 linux-5.4.259.tar.xz > # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc > -sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz > -sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz > +sha256 9d89e0bc6503c0d61178fd1605f6ed04b016873b9f370372866644b11fee3d31 linux-4.19.297.tar.xz > +sha256 1db5926e02dc29b30d77f731228d3bd31402e2feba3aa59bfb2c730eedbeecc5 linux-4.14.328.tar.xz > # Locally computed > sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz > sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz > diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host > index d48cfa3787..bb624147ec 100644 > --- a/package/linux-headers/Config.in.host > +++ b/package/linux-headers/Config.in.host > @@ -404,13 +404,13 @@ endchoice > > config BR2_DEFAULT_KERNEL_HEADERS > string > - default "4.14.327" if BR2_KERNEL_HEADERS_4_14 > - default "4.19.296" if BR2_KERNEL_HEADERS_4_19 > - default "5.4.258" if BR2_KERNEL_HEADERS_5_4 > - default "5.10.198" if BR2_KERNEL_HEADERS_5_10 > - default "5.15.136" if BR2_KERNEL_HEADERS_5_15 > - default "6.1.59" if BR2_KERNEL_HEADERS_6_1 > - default "6.5.8" if BR2_KERNEL_HEADERS_6_5 > + default "4.14.328" if BR2_KERNEL_HEADERS_4_14 > + default "4.19.297" if BR2_KERNEL_HEADERS_4_19 > + default "5.4.259" if BR2_KERNEL_HEADERS_5_4 > + default "5.10.199" if BR2_KERNEL_HEADERS_5_10 > + default "5.15.137" if BR2_KERNEL_HEADERS_5_15 > + default "6.1.60" if BR2_KERNEL_HEADERS_6_1 > + default "6.5.9" if BR2_KERNEL_HEADERS_6_5 > default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION > default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL > default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:46:57 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:46:57 +0100 Subject: [Buildroot] [PATCH 1/1] package/php: bump version to 8.2.12 In-Reply-To: <20231026172713.4147295-1-bernd@kuhls.net> References: <20231026172713.4147295-1-bernd@kuhls.net> Message-ID: <20231029084657.GR687180@scaer> Bernd, All, On 2023-10-26 19:27 +0200, Bernd Kuhls spake thusly: > Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 > Release notes: https://www.php.net/releases/8_2_12.php > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/php/php.hash | 2 +- > package/php/php.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/php/php.hash b/package/php/php.hash > index e5f94a5e05..0f77f0082f 100644 > --- a/package/php/php.hash > +++ b/package/php/php.hash > @@ -1,5 +1,5 @@ > # From https://www.php.net/downloads.php > -sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz > +sha256 e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132 php-8.2.12.tar.xz > > # License file > sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE > diff --git a/package/php/php.mk b/package/php/php.mk > index ee33000a6f..add46584c6 100644 > --- a/package/php/php.mk > +++ b/package/php/php.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PHP_VERSION = 8.2.11 > +PHP_VERSION = 8.2.12 > PHP_SITE = https://www.php.net/distributions > PHP_SOURCE = php-$(PHP_VERSION).tar.xz > PHP_INSTALL_STAGING = YES > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:47:16 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:47:16 +0100 Subject: [Buildroot] [git commit] package/kodi: fix build with python 3.12 Message-ID: <20231029084733.9EE69860E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf368a3d117a226741569a579820e044a6998079 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- ...ngs-TypeInfo-add-initialization-of-tp_wat.patch | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch b/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch new file mode 100644 index 0000000000..ed0c340f52 --- /dev/null +++ b/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch @@ -0,0 +1,59 @@ +From cbfee0e6add2b57c6a2a8641a60b4322543f4675 Mon Sep 17 00:00:00 2001 +From: Lukas Rusak +Date: Wed, 12 Jul 2023 19:58:08 -0700 +Subject: [PATCH] PythonBindings: TypeInfo: add initialization of + tp_watched for PyTypeObject + +This member was added in upstream commit https://github.com/python/cpython/commit/82ccbf69a842db25d8117f1c41b47aa5b4ed96ab + +This change first appeared in Python v3.12.0a1 + +Signed-off-by: Lukas Rusak + +Upstream: https://github.com/xbmc/xbmc/commit/2c84ee54a75770e291f38d4ebb2c31c8f2c3b8c5 + +Signed-off-by: Bernd Kuhls +--- + xbmc/interfaces/python/swig.cpp | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/xbmc/interfaces/python/swig.cpp b/xbmc/interfaces/python/swig.cpp +index 5a2599a84ea0f..74baa72ee5c4c 100644 +--- a/xbmc/interfaces/python/swig.cpp ++++ b/xbmc/interfaces/python/swig.cpp +@@ -71,6 +71,9 @@ namespace PythonBindings + #endif + #if PY_VERSION_HEX < 0x03090000 + 0, ++#endif ++#if PY_VERSION_HEX >= 0x030C00A1 ++ 0, + #endif + }; + + +From e3ba40936cc10de05c46d507851568ee3e351f43 Mon Sep 17 00:00:00 2001 +From: Lukas Rusak +Date: Thu, 13 Jul 2023 08:57:38 -0700 +Subject: [PATCH] swig.cpp: add clang-format formatting + +Signed-off-by: Lukas Rusak +--- + xbmc/interfaces/python/swig.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/xbmc/interfaces/python/swig.cpp b/xbmc/interfaces/python/swig.cpp +index 74baa72ee5c4c..0c49f87ca84e1 100644 +--- a/xbmc/interfaces/python/swig.cpp ++++ b/xbmc/interfaces/python/swig.cpp +@@ -18,8 +18,8 @@ namespace PythonBindings + { + TypeInfo::TypeInfo(const std::type_info& ti) : swigType(NULL), parentType(NULL), typeIndex(ti) + { +- static PyTypeObject py_type_object_header = +- { PyVarObject_HEAD_INIT(nullptr, 0) 0, ++ static PyTypeObject py_type_object_header = { ++ PyVarObject_HEAD_INIT(nullptr, 0) 0, + 0, + 0, + 0, From yann.morin.1998 at free.fr Sun Oct 29 08:47:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:47:10 +0100 Subject: [Buildroot] [git commit] package/clamav: security bump version to 1.0.4 Message-ID: <20231029084733.8687B860E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ce7d054878ddfcdfaa4718085d6621c7f527f7ae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://blog.clamav.net/2023/10/clamav-121-113-104-010311-patch.html Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/clamav/clamav.hash | 2 +- package/clamav/clamav.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/clamav/clamav.hash b/package/clamav/clamav.hash index c140a2df07..cb4f67156c 100644 --- a/package/clamav/clamav.hash +++ b/package/clamav/clamav.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 8779458dc31fdee1232eb8986f092d25568b39f5d337c0cbcd9c1abb5dc2886b clamav-1.0.3.tar.gz +sha256 3d6b99644874558b7de5faf9b340737a9bbc1083878fcd95a49f989c7c980146 clamav-1.0.4.tar.gz sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING.txt sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING/COPYING.bzip2 sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING/COPYING.file diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk index e1e0fa8c63..c9012261fa 100644 --- a/package/clamav/clamav.mk +++ b/package/clamav/clamav.mk @@ -4,7 +4,7 @@ # ################################################################################ -CLAMAV_VERSION = 1.0.3 +CLAMAV_VERSION = 1.0.4 CLAMAV_SITE = https://www.clamav.net/downloads/production CLAMAV_LICENSE = GPL-2.0 CLAMAV_LICENSE_FILES = \ From yann.morin.1998 at free.fr Sun Oct 29 08:47:37 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:47:37 +0100 Subject: [Buildroot] [PATCH 1/1] package/clamav: security bump version to 1.0.4 In-Reply-To: <20231026173442.4149220-1-bernd@kuhls.net> References: <20231026173442.4149220-1-bernd@kuhls.net> Message-ID: <20231029084737.GS687180@scaer> Bernd, All, On 2023-10-26 19:34 +0200, Bernd Kuhls spake thusly: > Release notes: > https://blog.clamav.net/2023/10/clamav-121-113-104-010311-patch.html > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/clamav/clamav.hash | 2 +- > package/clamav/clamav.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/clamav/clamav.hash b/package/clamav/clamav.hash > index c140a2df07..cb4f67156c 100644 > --- a/package/clamav/clamav.hash > +++ b/package/clamav/clamav.hash > @@ -1,5 +1,5 @@ > # Locally calculated > -sha256 8779458dc31fdee1232eb8986f092d25568b39f5d337c0cbcd9c1abb5dc2886b clamav-1.0.3.tar.gz > +sha256 3d6b99644874558b7de5faf9b340737a9bbc1083878fcd95a49f989c7c980146 clamav-1.0.4.tar.gz > sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING.txt > sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING/COPYING.bzip2 > sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING/COPYING.file > diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk > index e1e0fa8c63..c9012261fa 100644 > --- a/package/clamav/clamav.mk > +++ b/package/clamav/clamav.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -CLAMAV_VERSION = 1.0.3 > +CLAMAV_VERSION = 1.0.4 > CLAMAV_SITE = https://www.clamav.net/downloads/production > CLAMAV_LICENSE = GPL-2.0 > CLAMAV_LICENSE_FILES = \ > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:47:49 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:47:49 +0100 Subject: [Buildroot] [PATCH 1/1] package/kodi: fix build with python 3.12 In-Reply-To: <20231026180751.3150845-1-bernd@kuhls.net> References: <20231026180751.3150845-1-bernd@kuhls.net> Message-ID: <20231029084749.GT687180@scaer> Bernd, All, On 2023-10-26 20:07 +0200, Bernd Kuhls spake thusly: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > ...ypeInfo-add-initialization-of-tp_wat.patch | 59 +++++++++++++++++++ > 1 file changed, 59 insertions(+) > create mode 100644 package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch > > diff --git a/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch b/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch > new file mode 100644 > index 0000000000..ed0c340f52 > --- /dev/null > +++ b/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch > @@ -0,0 +1,59 @@ > +From cbfee0e6add2b57c6a2a8641a60b4322543f4675 Mon Sep 17 00:00:00 2001 > +From: Lukas Rusak > +Date: Wed, 12 Jul 2023 19:58:08 -0700 > +Subject: [PATCH] PythonBindings: TypeInfo: add initialization of > + tp_watched for PyTypeObject > + > +This member was added in upstream commit https://github.com/python/cpython/commit/82ccbf69a842db25d8117f1c41b47aa5b4ed96ab > + > +This change first appeared in Python v3.12.0a1 > + > +Signed-off-by: Lukas Rusak > + > +Upstream: https://github.com/xbmc/xbmc/commit/2c84ee54a75770e291f38d4ebb2c31c8f2c3b8c5 > + > +Signed-off-by: Bernd Kuhls > +--- > + xbmc/interfaces/python/swig.cpp | 3 +++ > + 1 file changed, 3 insertions(+) > + > +diff --git a/xbmc/interfaces/python/swig.cpp b/xbmc/interfaces/python/swig.cpp > +index 5a2599a84ea0f..74baa72ee5c4c 100644 > +--- a/xbmc/interfaces/python/swig.cpp > ++++ b/xbmc/interfaces/python/swig.cpp > +@@ -71,6 +71,9 @@ namespace PythonBindings > + #endif > + #if PY_VERSION_HEX < 0x03090000 > + 0, > ++#endif > ++#if PY_VERSION_HEX >= 0x030C00A1 > ++ 0, > + #endif > + }; > + > + > +From e3ba40936cc10de05c46d507851568ee3e351f43 Mon Sep 17 00:00:00 2001 > +From: Lukas Rusak > +Date: Thu, 13 Jul 2023 08:57:38 -0700 > +Subject: [PATCH] swig.cpp: add clang-format formatting > + > +Signed-off-by: Lukas Rusak > +--- > + xbmc/interfaces/python/swig.cpp | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/xbmc/interfaces/python/swig.cpp b/xbmc/interfaces/python/swig.cpp > +index 74baa72ee5c4c..0c49f87ca84e1 100644 > +--- a/xbmc/interfaces/python/swig.cpp > ++++ b/xbmc/interfaces/python/swig.cpp > +@@ -18,8 +18,8 @@ namespace PythonBindings > + { > + TypeInfo::TypeInfo(const std::type_info& ti) : swigType(NULL), parentType(NULL), typeIndex(ti) > + { > +- static PyTypeObject py_type_object_header = > +- { PyVarObject_HEAD_INIT(nullptr, 0) 0, > ++ static PyTypeObject py_type_object_header = { > ++ PyVarObject_HEAD_INIT(nullptr, 0) 0, > + 0, > + 0, > + 0, > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Oct 29 08:58:31 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 09:58:31 +0100 Subject: [Buildroot] [PATCH 1/1] package/pango: fix build with gcc >= 13 Message-ID: <20231029085831.234005-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 13: In function 'find_best_lang_match_cached', inlined from 'find_best_lang_match_cached' at ../pango/pango-language.c:501:1, inlined from 'pango_language_get_scripts' at ../pango/pango-language.c:661:21: ../pango/pango-language.c:518:12: error: array subscript 0 is outside array bounds of 'const void *[0]' {aka 'const void *[]'} [-Werror=array-bounds=] 518 | *cache = result; | ~~~~~~~^~~~~~~~ In function 'pango_language_get_scripts': cc1: note: source object is likely at address zero cc1: some warnings being treated as errors Fixes: - http://autobuild.buildroot.org/results/e8b5a752a62621099942b29c1642747eef2930cb Signed-off-by: Fabrice Fontaine --- .../pango/0001-Drop-Werror-array-bounds.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 package/pango/0001-Drop-Werror-array-bounds.patch diff --git a/package/pango/0001-Drop-Werror-array-bounds.patch b/package/pango/0001-Drop-Werror-array-bounds.patch new file mode 100644 index 0000000000..45821e8533 --- /dev/null +++ b/package/pango/0001-Drop-Werror-array-bounds.patch @@ -0,0 +1,40 @@ +From e93dbd66973040f1e0afcba0dc7c712c27d75d59 Mon Sep 17 00:00:00 2001 +From: Matthias Clasen +Date: Mon, 1 May 2023 23:27:52 -0400 +Subject: [PATCH] Drop -Werror=array-bounds + +gcc has strange issues with this and produces false +positives that recently started breaking the build of +pango as a subproject in gtk. + +See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 + +Upstream: https://gitlab.gnome.org/GNOME/pango/-/commit/e93dbd66973040f1e0afcba0dc7c712c27d75d59 +Signed-off-by: Fabrice Fontaine +--- + meson.build | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/meson.build b/meson.build +index 930f41082..2d30c0141 100644 +--- a/meson.build ++++ b/meson.build +@@ -89,7 +89,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' + '-Wuninitialized', + '-Wunused', + '-Werror=address', +- '-Werror=array-bounds', + '-Werror=empty-body', + '-Werror=implicit', + '-Werror=implicit-fallthrough', +@@ -132,7 +131,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' + '-Werror=sequence-point', + '-Werror=return-type', + '-Werror=trigraphs', +- '-Werror=array-bounds', + '-Werror=write-strings', + '-Werror=address', + '-Werror=int-to-pointer-cast', +-- +GitLab + -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 08:59:47 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 09:59:47 +0100 Subject: [Buildroot] [PATCH 1/1] package/rabbitmq-c: bump to version 0.13.0 Message-ID: <20231029085947.234836-1-fontaine.fabrice@gmail.com> License file renamed and slightly updated with https://github.com/alanxz/rabbitmq-c/commit/83a75b3943fd4d374e98f4eb758f0a170d8c8ffc https://github.com/alanxz/rabbitmq-c/commit/fd51cf8fdc41c3d4f4a1e8cc7ea9aea5bfbe0a0d https://github.com/alanxz/rabbitmq-c/blob/v0.13.0/ChangeLog.md Signed-off-by: Fabrice Fontaine --- package/rabbitmq-c/rabbitmq-c.hash | 5 +++-- package/rabbitmq-c/rabbitmq-c.mk | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/rabbitmq-c/rabbitmq-c.hash b/package/rabbitmq-c/rabbitmq-c.hash index dc1406d3d5..66768ef34f 100644 --- a/package/rabbitmq-c/rabbitmq-c.hash +++ b/package/rabbitmq-c/rabbitmq-c.hash @@ -1,3 +1,4 @@ # Locally calculated -sha256 437d45e0e35c18cf3e59bcfe5dfe37566547eb121e69fca64b98f5d2c1c2d424 rabbitmq-c-0.11.0.tar.gz -sha256 94a12c906acb31a66c2c8a6c1b6e46cab52bc5694c5ada2a06d86b05d3d3f422 LICENSE-MIT +sha256 8b224e41bba504fc52b02f918d8df7e4bf5359d493cbbff36c06078655c676e6 rabbitmq-c-0.13.0.tar.gz +sha256 3111fdaa26e86dd844d7c6cbb2723d0ed31702a840978ef116c86963c2429b0f LICENSE +sha256 defee723621ff1c556539af42780f449f258e47e3dcc8254bcbc095863f02b7c README.md diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index fad6655e4e..cac0f67ddc 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -4,10 +4,10 @@ # ################################################################################ -RABBITMQ_C_VERSION = 0.11.0 +RABBITMQ_C_VERSION = 0.13.0 RABBITMQ_C_SITE = $(call github,alanxz,rabbitmq-c,v$(RABBITMQ_C_VERSION)) RABBITMQ_C_LICENSE = MIT -RABBITMQ_C_LICENSE_FILES = LICENSE-MIT +RABBITMQ_C_LICENSE_FILES = LICENSE README.md RABBITMQ_C_CPE_ID_VENDOR = rabbitmq-c_project RABBITMQ_C_INSTALL_STAGING = YES RABBITMQ_C_CONF_OPTS = \ -- 2.42.0 From bobrofon at gmail.com Sun Oct 29 10:11:25 2023 From: bobrofon at gmail.com (Sergey Bobrenok) Date: Sun, 29 Oct 2023 13:11:25 +0300 Subject: [Buildroot] [PATCH 1/1] package/sdbus-cpp: remove redundant SDBUS_CPP_SOURCE variable In-Reply-To: <20231029084527.GN687180@scaer> References: <20231029084527.GN687180@scaer> Message-ID: <20231029101125.34481-1-bobrofon@gmail.com> There is no need to define SDBUS_CPP_SOURCE explicitly because the github helper defines this variable internally (but uses a different file name). Signed-off-by: Sergey Bobrenok --- package/sdbus-cpp/sdbus-cpp.hash | 2 +- package/sdbus-cpp/sdbus-cpp.mk | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash index 379864e3ba..f4336228af 100644 --- a/package/sdbus-cpp/sdbus-cpp.hash +++ b/package/sdbus-cpp/sdbus-cpp.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 sdbus-cpp-1.4.0.tar.gz sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk index 2c3844094e..9ffaeb26d2 100644 --- a/package/sdbus-cpp/sdbus-cpp.mk +++ b/package/sdbus-cpp/sdbus-cpp.mk @@ -5,7 +5,6 @@ ################################################################################ SDBUS_CPP_VERSION = 1.4.0 -SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) SDBUS_CPP_INSTALL_STAGING = YES SDBUS_CPP_DEPENDENCIES = host-pkgconf systemd -- 2.41.0 From yann.morin.1998 at free.fr Sun Oct 29 11:03:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:03:22 +0100 Subject: [Buildroot] [git commit] package/sdbus-cpp: remove redundant SDBUS_CPP_SOURCE variable Message-ID: <20231029110439.508C7860F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=651b65381494fed9ce6acc23b1805e70b7f93146 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master There is no need to define SDBUS_CPP_SOURCE explicitly because the github helper works perfectly well with the default _SOURCE value. Signed-off-by: Sergey Bobrenok Signed-off-by: Yann E. MORIN --- package/sdbus-cpp/sdbus-cpp.hash | 2 +- package/sdbus-cpp/sdbus-cpp.mk | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash index 379864e3ba..f4336228af 100644 --- a/package/sdbus-cpp/sdbus-cpp.hash +++ b/package/sdbus-cpp/sdbus-cpp.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 sdbus-cpp-1.4.0.tar.gz sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk index 2c3844094e..9ffaeb26d2 100644 --- a/package/sdbus-cpp/sdbus-cpp.mk +++ b/package/sdbus-cpp/sdbus-cpp.mk @@ -5,7 +5,6 @@ ################################################################################ SDBUS_CPP_VERSION = 1.4.0 -SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) SDBUS_CPP_INSTALL_STAGING = YES SDBUS_CPP_DEPENDENCIES = host-pkgconf systemd From yann.morin.1998 at free.fr Sun Oct 29 11:07:19 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:07:19 +0100 Subject: [Buildroot] [PATCH 1/1] package/sdbus-cpp: remove redundant SDBUS_CPP_SOURCE variable In-Reply-To: <20231029101125.34481-1-bobrofon@gmail.com> References: <20231029101125.34481-1-bobrofon@gmail.com> Message-ID: <20231029110719.GU687180@scaer> Sergey, All, On 2023-10-29 13:11 +0300, Sergey Bobrenok spake thusly: > There is no need to define SDBUS_CPP_SOURCE explicitly because the > github helper defines this variable internally (but uses a different > file name). The _SOURCE value is not set by the github helper, but the github helper works equally well with the default _SOURCE value. In fact, the github URLs do not care what the final component of the URL is, as it is not used bu github to decide what to archvie. Applied to master with the commit log slightly amended, thanks. Regards, Yann E. MORIN. > Signed-off-by: Sergey Bobrenok > --- > package/sdbus-cpp/sdbus-cpp.hash | 2 +- > package/sdbus-cpp/sdbus-cpp.mk | 1 - > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash > index 379864e3ba..f4336228af 100644 > --- a/package/sdbus-cpp/sdbus-cpp.hash > +++ b/package/sdbus-cpp/sdbus-cpp.hash > @@ -1,4 +1,4 @@ > # Locally computed: > -sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz > +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 sdbus-cpp-1.4.0.tar.gz > sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING > sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception > diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk > index 2c3844094e..9ffaeb26d2 100644 > --- a/package/sdbus-cpp/sdbus-cpp.mk > +++ b/package/sdbus-cpp/sdbus-cpp.mk > @@ -5,7 +5,6 @@ > ################################################################################ > > SDBUS_CPP_VERSION = 1.4.0 > -SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz > SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) > SDBUS_CPP_INSTALL_STAGING = YES > SDBUS_CPP_DEPENDENCIES = host-pkgconf systemd > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 11:13:21 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:13:21 +0100 Subject: [Buildroot] [git commit] package/rabbitmq-c: bump to version 0.13.0 Message-ID: <20231029111406.F12C5860F7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ffe48fac1d0144fb591241103a5c8d6a75df8610 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master License file renamed and slightly updated without any change in applicable terms: https://github.com/alanxz/rabbitmq-c/commit/83a75b3943fd4d374e98f4eb758f0a170d8c8ffc https://github.com/alanxz/rabbitmq-c/commit/fd51cf8fdc41c3d4f4a1e8cc7ea9aea5bfbe0a0d Detailed changelog: https://github.com/alanxz/rabbitmq-c/blob/v0.13.0/ChangeLog.md Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/rabbitmq-c/rabbitmq-c.hash | 5 +++-- package/rabbitmq-c/rabbitmq-c.mk | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/rabbitmq-c/rabbitmq-c.hash b/package/rabbitmq-c/rabbitmq-c.hash index dc1406d3d5..66768ef34f 100644 --- a/package/rabbitmq-c/rabbitmq-c.hash +++ b/package/rabbitmq-c/rabbitmq-c.hash @@ -1,3 +1,4 @@ # Locally calculated -sha256 437d45e0e35c18cf3e59bcfe5dfe37566547eb121e69fca64b98f5d2c1c2d424 rabbitmq-c-0.11.0.tar.gz -sha256 94a12c906acb31a66c2c8a6c1b6e46cab52bc5694c5ada2a06d86b05d3d3f422 LICENSE-MIT +sha256 8b224e41bba504fc52b02f918d8df7e4bf5359d493cbbff36c06078655c676e6 rabbitmq-c-0.13.0.tar.gz +sha256 3111fdaa26e86dd844d7c6cbb2723d0ed31702a840978ef116c86963c2429b0f LICENSE +sha256 defee723621ff1c556539af42780f449f258e47e3dcc8254bcbc095863f02b7c README.md diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index fad6655e4e..cac0f67ddc 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -4,10 +4,10 @@ # ################################################################################ -RABBITMQ_C_VERSION = 0.11.0 +RABBITMQ_C_VERSION = 0.13.0 RABBITMQ_C_SITE = $(call github,alanxz,rabbitmq-c,v$(RABBITMQ_C_VERSION)) RABBITMQ_C_LICENSE = MIT -RABBITMQ_C_LICENSE_FILES = LICENSE-MIT +RABBITMQ_C_LICENSE_FILES = LICENSE README.md RABBITMQ_C_CPE_ID_VENDOR = rabbitmq-c_project RABBITMQ_C_INSTALL_STAGING = YES RABBITMQ_C_CONF_OPTS = \ From yann.morin.1998 at free.fr Sun Oct 29 11:11:54 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:11:54 +0100 Subject: [Buildroot] [git commit] package/pango: fix build with gcc >= 13 Message-ID: <20231029111406.E461B8610B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=477b39a1e08452a3210a71c4f83b6f910a062566 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc >= 13: In function 'find_best_lang_match_cached', inlined from 'find_best_lang_match_cached' at ../pango/pango-language.c:501:1, inlined from 'pango_language_get_scripts' at ../pango/pango-language.c:661:21: ../pango/pango-language.c:518:12: error: array subscript 0 is outside array bounds of 'const void *[0]' {aka 'const void *[]'} [-Werror=array-bounds=] 518 | *cache = result; | ~~~~~~~^~~~~~~~ In function 'pango_language_get_scripts': cc1: note: source object is likely at address zero cc1: some warnings being treated as errors Fixes: - http://autobuild.buildroot.org/results/e8b5a752a62621099942b29c1642747eef2930cb Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/pango/0001-Drop-Werror-array-bounds.patch | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/pango/0001-Drop-Werror-array-bounds.patch b/package/pango/0001-Drop-Werror-array-bounds.patch new file mode 100644 index 0000000000..45821e8533 --- /dev/null +++ b/package/pango/0001-Drop-Werror-array-bounds.patch @@ -0,0 +1,40 @@ +From e93dbd66973040f1e0afcba0dc7c712c27d75d59 Mon Sep 17 00:00:00 2001 +From: Matthias Clasen +Date: Mon, 1 May 2023 23:27:52 -0400 +Subject: [PATCH] Drop -Werror=array-bounds + +gcc has strange issues with this and produces false +positives that recently started breaking the build of +pango as a subproject in gtk. + +See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 + +Upstream: https://gitlab.gnome.org/GNOME/pango/-/commit/e93dbd66973040f1e0afcba0dc7c712c27d75d59 +Signed-off-by: Fabrice Fontaine +--- + meson.build | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/meson.build b/meson.build +index 930f41082..2d30c0141 100644 +--- a/meson.build ++++ b/meson.build +@@ -89,7 +89,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' + '-Wuninitialized', + '-Wunused', + '-Werror=address', +- '-Werror=array-bounds', + '-Werror=empty-body', + '-Werror=implicit', + '-Werror=implicit-fallthrough', +@@ -132,7 +131,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' + '-Werror=sequence-point', + '-Werror=return-type', + '-Werror=trigraphs', +- '-Werror=array-bounds', + '-Werror=write-strings', + '-Werror=address', + '-Werror=int-to-pointer-cast', +-- +GitLab + From yann.morin.1998 at free.fr Sun Oct 29 11:15:05 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:15:05 +0100 Subject: [Buildroot] [PATCH 1/1] package/rabbitmq-c: bump to version 0.13.0 In-Reply-To: <20231029085947.234836-1-fontaine.fabrice@gmail.com> References: <20231029085947.234836-1-fontaine.fabrice@gmail.com> Message-ID: <20231029111505.GV687180@scaer> Fabrice, All, On 2023-10-29 09:59 +0100, Fabrice Fontaine spake thusly: > License file renamed and slightly updated with > https://github.com/alanxz/rabbitmq-c/commit/83a75b3943fd4d374e98f4eb758f0a170d8c8ffc > https://github.com/alanxz/rabbitmq-c/commit/fd51cf8fdc41c3d4f4a1e8cc7ea9aea5bfbe0a0d What are those "slight changes"? Do they affect the licensing terms? I've slightly reworded the commit log to state that the slight changes have no impact on the licensing terms. > https://github.com/alanxz/rabbitmq-c/blob/v0.13.0/ChangeLog.md > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/rabbitmq-c/rabbitmq-c.hash | 5 +++-- > package/rabbitmq-c/rabbitmq-c.mk | 4 ++-- > 2 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/package/rabbitmq-c/rabbitmq-c.hash b/package/rabbitmq-c/rabbitmq-c.hash > index dc1406d3d5..66768ef34f 100644 > --- a/package/rabbitmq-c/rabbitmq-c.hash > +++ b/package/rabbitmq-c/rabbitmq-c.hash > @@ -1,3 +1,4 @@ > # Locally calculated > -sha256 437d45e0e35c18cf3e59bcfe5dfe37566547eb121e69fca64b98f5d2c1c2d424 rabbitmq-c-0.11.0.tar.gz > -sha256 94a12c906acb31a66c2c8a6c1b6e46cab52bc5694c5ada2a06d86b05d3d3f422 LICENSE-MIT > +sha256 8b224e41bba504fc52b02f918d8df7e4bf5359d493cbbff36c06078655c676e6 rabbitmq-c-0.13.0.tar.gz > +sha256 3111fdaa26e86dd844d7c6cbb2723d0ed31702a840978ef116c86963c2429b0f LICENSE > +sha256 defee723621ff1c556539af42780f449f258e47e3dcc8254bcbc095863f02b7c README.md > diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk > index fad6655e4e..cac0f67ddc 100644 > --- a/package/rabbitmq-c/rabbitmq-c.mk > +++ b/package/rabbitmq-c/rabbitmq-c.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -RABBITMQ_C_VERSION = 0.11.0 > +RABBITMQ_C_VERSION = 0.13.0 > RABBITMQ_C_SITE = $(call github,alanxz,rabbitmq-c,v$(RABBITMQ_C_VERSION)) > RABBITMQ_C_LICENSE = MIT > -RABBITMQ_C_LICENSE_FILES = LICENSE-MIT > +RABBITMQ_C_LICENSE_FILES = LICENSE README.md > RABBITMQ_C_CPE_ID_VENDOR = rabbitmq-c_project > RABBITMQ_C_INSTALL_STAGING = YES > RABBITMQ_C_CONF_OPTS = \ > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 11:15:20 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:15:20 +0100 Subject: [Buildroot] [PATCH 1/1] package/pango: fix build with gcc >= 13 In-Reply-To: <20231029085831.234005-1-fontaine.fabrice@gmail.com> References: <20231029085831.234005-1-fontaine.fabrice@gmail.com> Message-ID: <20231029111520.GW687180@scaer> Fabrice, All, On 2023-10-29 09:58 +0100, Fabrice Fontaine spake thusly: > Fix the following build failure with gcc >= 13: > > In function 'find_best_lang_match_cached', > inlined from 'find_best_lang_match_cached' at ../pango/pango-language.c:501:1, > inlined from 'pango_language_get_scripts' at ../pango/pango-language.c:661:21: > ../pango/pango-language.c:518:12: error: array subscript 0 is outside array bounds of 'const void *[0]' {aka 'const void *[]'} [-Werror=array-bounds=] > 518 | *cache = result; > | ~~~~~~~^~~~~~~~ > In function 'pango_language_get_scripts': > cc1: note: source object is likely at address zero > cc1: some warnings being treated as errors > > Fixes: > - http://autobuild.buildroot.org/results/e8b5a752a62621099942b29c1642747eef2930cb > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > .../pango/0001-Drop-Werror-array-bounds.patch | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 package/pango/0001-Drop-Werror-array-bounds.patch > > diff --git a/package/pango/0001-Drop-Werror-array-bounds.patch b/package/pango/0001-Drop-Werror-array-bounds.patch > new file mode 100644 > index 0000000000..45821e8533 > --- /dev/null > +++ b/package/pango/0001-Drop-Werror-array-bounds.patch > @@ -0,0 +1,40 @@ > +From e93dbd66973040f1e0afcba0dc7c712c27d75d59 Mon Sep 17 00:00:00 2001 > +From: Matthias Clasen > +Date: Mon, 1 May 2023 23:27:52 -0400 > +Subject: [PATCH] Drop -Werror=array-bounds > + > +gcc has strange issues with this and produces false > +positives that recently started breaking the build of > +pango as a subproject in gtk. > + > +See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 > + > +Upstream: https://gitlab.gnome.org/GNOME/pango/-/commit/e93dbd66973040f1e0afcba0dc7c712c27d75d59 > +Signed-off-by: Fabrice Fontaine > +--- > + meson.build | 2 -- > + 1 file changed, 2 deletions(-) > + > +diff --git a/meson.build b/meson.build > +index 930f41082..2d30c0141 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -89,7 +89,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' > + '-Wuninitialized', > + '-Wunused', > + '-Werror=address', > +- '-Werror=array-bounds', > + '-Werror=empty-body', > + '-Werror=implicit', > + '-Werror=implicit-fallthrough', > +@@ -132,7 +131,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' > + '-Werror=sequence-point', > + '-Werror=return-type', > + '-Werror=trigraphs', > +- '-Werror=array-bounds', > + '-Werror=write-strings', > + '-Werror=address', > + '-Werror=int-to-pointer-cast', > +-- > +GitLab > + > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 11:33:26 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:33:26 +0100 Subject: [Buildroot] [PATCH] package/libnvme: needs host-swig In-Reply-To: <20231026155754.1637976-1-giulio.benetti@benettiengineering.com> References: <20231026155754.1637976-1-giulio.benetti@benettiengineering.com> Message-ID: <20231029113325.GX687180@scaer> Giulio, All, On 2023-10-26 17:57 +0200, Giulio Benetti spake thusly: > Fixes: > http://autobuild.buildroot.net/results/a63d18fd318783d7e3d1cede062c9c7cacb10282/ > > Signed-off-by: Giulio Benetti > --- > package/libnvme/libnvme.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk > index 38394b9931..3b622839fa 100644 > --- a/package/libnvme/libnvme.mk > +++ b/package/libnvme/libnvme.mk > @@ -10,6 +10,8 @@ LIBNVME_LICENSE = LGPL-2.1 > LIBNVME_LICENSE_FILES = COPYING > LIBNVME_INSTALL_STAGING = YES > > +LIBNVME_DEPENDENCIES += host-swig swig is only needed to build the python bindings, no? In which case it should be in the python conditional block, right? Regards, Yann E. MORIN. > LIBNVME_CONF_OPTS += \ > -Dtests=false > > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From ovlevin at salutedevices.com Sun Oct 29 12:18:50 2023 From: ovlevin at salutedevices.com (Oleg Lyovin) Date: Sun, 29 Oct 2023 15:18:50 +0300 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: fix package build with gcc 4.8 In-Reply-To: <20231028223503.GF687180@scaer> References: <20231027155221.977752-1-ovlevin@salutedevices.com> <20231028223503.GF687180@scaer> Message-ID: Yann, On 29.10.2023 01:35, Yann E. MORIN wrote: > Oleg, All, > > On 2023-10-27 18:52 +0300, Oleg Lyovin via buildroot spake thusly: >> python-pycryptodomex uses C99 features like variable >> declaration in for-loop statement, while old compilers >> assumes C89 by default. >> >> This patch explicitly specifies C99 standard. >> >> Change-Id: I934211714307cea43541167fbc72ff30fb66ad5f >> Signed-off-by: Oleg Lyovin >> --- >> package/python-pycryptodomex/python-pycryptodomex.mk | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk >> index 3790aa4787..ee8ce6e069 100644 >> --- a/package/python-pycryptodomex/python-pycryptodomex.mk >> +++ b/package/python-pycryptodomex/python-pycryptodomex.mk >> @@ -13,5 +13,11 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ >> Public Domain (pycrypto original code) >> PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto >> >> +PYTHON_PYCRYPTODOMEX_CFLAGS = -std=c99 >> + >> +PYTHON_PYCRYPTODOMEX_ENV = \ >> + CFLAGS="$(PYTHON_PYCRYPTODOMEX_CFLAGS)" >> +HOST_PYTHON_PYCRYPTODOMEX_ENV = $(PYTHON_PYCRYPTODOMEX_ENV) > > It is weird to use the target settings for the host settings, even if > they appear to be identical. Instead, we prefer duplicating the > assignment; indeed if the target variable gains target-related settings > in the future, they would inadvertently leak into the host variant. > > The second issue is that (AFAIU) passing CFLAGS in the environment will > override the other CFLAGS we set in our infrastructure, and we instead > must complement them, see for example how it's done in python-brotli. > > So, I've done that, and... the target settings leaked into the host > variable... > > So, I've fixed that so that the host and target variant are based of the > TARGET/HOST_CFLAGS, plus -std=c99 > > Applied to master with the above fix, thanks. > > Regards, > Yann E. MORIN. > >> $(eval $(python-package)) >> $(eval $(host-python-package)) >> -- >> 2.42.0.270.gbcb6cae296 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > Much appreciate for the great explanation and patch fix! From ovlevin at salutedevices.com Sun Oct 29 13:27:37 2023 From: ovlevin at salutedevices.com (Oleg Lyovin) Date: Sun, 29 Oct 2023 16:27:37 +0300 Subject: [Buildroot] [PATCH 1/1] package/fscryptctl: add choice between v1 and v2 versions In-Reply-To: <20231028225038.GG687180@scaer> References: <20231027161010.980901-1-ovlevin@salutedevices.com> <20231028225038.GG687180@scaer> Message-ID: <5ee15a06-a3d5-4920-a7af-195f9e2aca05@salutedevices.com> Yann, All, On 29.10.2023 01:50, Yann E. MO RIN wrote: > Oleg, All, > > +John for commit b832f6eb9d > > On 2023-10-27 19:10 +0300, Oleg Lyovin via buildroot spake thusly: >> b832f6eb9d bumped fscryptctl to the version that >> does not support fscrypt v1. However, there may be >> active users that already has v1 configuration without >> an ability to migrate to v2, so the above change would >> break them. >> >> This patch adds the option to choice which fscryptctl >> version to use assuming v2 by default. > > It is very exceptional that we allow chosing a version, so you'll need > to provide more explanations than "without an ability to migrate to v2". > > Why is it not possible for those users to migrate? > > Note that commit b832f6eb9d stated: > There are unlikely to be many v1 users and the format has some known > vulnerabilities so no compatibility option is included. > > So this was a mindful decision not to provide such compatibility, > especially because of the vulnerability issues. > > In the odd case that we do indeed need to provide that choice, then > there is no need to split in two, as it is totally possible to write > everything in a single .mk in conditional blocs. E.g. (elided for > brevity): > > choice > prompt "fscryptctl variant" > > config BR2_PACKAGE_FSCRYPTCTL_V1 > bool "v1 (deprecated)" > > config BR2_PACKAGE_FSCRYPTCTL_V2 > bool "v2" > > endchoice > > config BR2_PACKAGE_FSCRYPTCTL_VERSION > string > default "f037dcf4354ce8f25d0f371b58dfe7a7ac27576f" if BR2_PACKAGE_FSCRYPTCTL_V1 > default "1.0.0" if BR2_PACKAGE_FSCRYPTCTL_V2 > > and then in the .mk: > > FSCRYPTCTL_VERSION = $(call qstrip,$(BR2_PACKAGE_FSCRYPTCTL_VERSION)) > FSCRYPTCTL_GIT_VERSION = $(if $(BR2_PACKAGE_FSCRYPTCTL_V2),v)$(FSCRYPTCTL_VERSION) > FSCRYPTCTL_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_GIT_VERSION)) > > FSCRYPTCTL_CFLAGS = $(TARGET_CFLAGS) > ifeq ($(BR2_PACKAGE_FSCRYPTCTL_V2),y) > FSCRYPTCTL_CFLAGS += -std=c99 > endif > > define FSCRYPTCTL_BUILD_CMDS > $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > CFLAGS="$(FSCRYPTCTL_CFLAGS)" fscryptctl > endef > > define FSCRYPTCTL_INSTALL_TARGET_CMDS > $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl > endef > > $(eval $(generic-package)) > > Toally untested, and missing all the rest of the usual variables... > > But of course, this still needs a good explanations why this is needed. > > Regards, > Yann E. MORIN. > >> Signed-off-by: Oleg Lyovin >> --- >> package/fscryptctl/Config.in | 22 +++++++++++++++++++ >> package/fscryptctl/fscryptctl.mk | 22 +------------------ >> .../fscryptctl_v1/fscryptctl_v1.hash | 3 +++ >> .../fscryptctl/fscryptctl_v1/fscryptctl_v1.mk | 20 +++++++++++++++++ >> .../fscryptctl_v2.hash} | 2 +- >> .../fscryptctl/fscryptctl_v2/fscryptctl_v2.mk | 21 ++++++++++++++++++ >> 6 files changed, 68 insertions(+), 22 deletions(-) >> create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash >> create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk >> rename package/fscryptctl/{fscryptctl.hash => fscryptctl_v2/fscryptctl_v2.hash} (81%) >> create mode 100644 package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk >> >> diff --git a/package/fscryptctl/Config.in b/package/fscryptctl/Config.in >> index 91b9ba8ebe..2fb7176ad9 100644 >> --- a/package/fscryptctl/Config.in >> +++ b/package/fscryptctl/Config.in >> @@ -10,3 +10,25 @@ config BR2_PACKAGE_FSCRYPTCTL >> (BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O encrypt -b 4096") >> >> https://github.com/google/fscryptctl >> + >> +if BR2_PACKAGE_FSCRYPTCTL >> + >> +choice >> + prompt "fscryptctl variant" >> + default BR2_PACKAGE_FSCRYPTCTL_V2 >> + help >> + Select the version of fscrypt. >> + >> +config BR2_PACKAGE_FSCRYPTCTL_V2 >> + bool "fscrpyctl_v2" >> + help >> + Support the latest fscrypt v2 implementation. >> + >> +config BR2_PACKAGE_FSCRYPTCTL_V1 >> + bool "fscryptctl_v1" >> + help >> + v1 is deprecated, enable this only for legacy configurations. >> + >> +endchoice >> + >> +endif >> diff --git a/package/fscryptctl/fscryptctl.mk b/package/fscryptctl/fscryptctl.mk >> index 0546f67a1f..e3571f4e07 100644 >> --- a/package/fscryptctl/fscryptctl.mk >> +++ b/package/fscryptctl/fscryptctl.mk >> @@ -1,21 +1 @@ >> -################################################################################ >> -# >> -# fscryptctl >> -# >> -################################################################################ >> - >> -FSCRYPTCTL_VERSION = 1.0.0 >> -FSCRYPTCTL_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_VERSION)) >> -FSCRYPTCTL_LICENSE = Apache-2.0 >> -FSCRYPTCTL_LICENSE_FILES = LICENSE >> - >> -define FSCRYPTCTL_BUILD_CMDS >> - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> - CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl >> -endef >> - >> -define FSCRYPTCTL_INSTALL_TARGET_CMDS >> - $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl >> -endef >> - >> -$(eval $(generic-package)) >> +include $(sort $(wildcard package/fscryptctl/*/*.mk)) >> diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash >> new file mode 100644 >> index 0000000000..f810aaacb5 >> --- /dev/null >> +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash >> @@ -0,0 +1,3 @@ >> +# Locally calculated >> +sha256 970a8febbcbf315313711d8a7ee3d954dea593d8087744d3cba65f6cb4bebcc1 fscryptctl_v1-f037dcf4354ce8f25d0f371b58dfe7a7ac27576f.tar.gz >> +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE >> diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk >> new file mode 100644 >> index 0000000000..c1c1ab34f2 >> --- /dev/null >> +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk >> @@ -0,0 +1,20 @@ >> +################################################################################ >> +# >> +# fscryptctl_v1 >> +# >> +################################################################################ >> + >> +FSCRYPTCTL_V1_VERSION = f037dcf4354ce8f25d0f371b58dfe7a7ac27576f >> +FSCRYPTCTL_V1_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_V1_VERSION)) >> +FSCRYPTCTL_V1_LICENSE = Apache-2.0 >> +FSCRYPTCTL_V1_LICENSE_FILES = LICENSE >> + >> +define FSCRYPTCTL_V1_BUILD_CMDS >> + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) fscryptctl >> +endef >> + >> +define FSCRYPTCTL_V1_INSTALL_TARGET_CMDS >> + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl >> +endef >> + >> +$(eval $(generic-package)) >> diff --git a/package/fscryptctl/fscryptctl.hash b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash >> similarity index 81% >> rename from package/fscryptctl/fscryptctl.hash >> rename to package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash >> index 0dcca6893e..61ff022310 100644 >> --- a/package/fscryptctl/fscryptctl.hash >> +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash >> @@ -1,3 +1,3 @@ >> # Locally calculated >> -sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl-1.0.0.tar.gz >> +sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl_v2-1.0.0.tar.gz >> sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE >> diff --git a/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk >> new file mode 100644 >> index 0000000000..847a7bbcda >> --- /dev/null >> +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk >> @@ -0,0 +1,21 @@ >> +################################################################################ >> +# >> +# fscryptctl_v2 >> +# >> +################################################################################ >> + >> +FSCRYPTCTL_V2_VERSION = 1.0.0 >> +FSCRYPTCTL_V2_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_V2_VERSION)) >> +FSCRYPTCTL_V2_LICENSE = Apache-2.0 >> +FSCRYPTCTL_V2_LICENSE_FILES = LICENSE >> + >> +define FSCRYPTCTL_V2_BUILD_CMDS >> + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl >> +endef >> + >> +define FSCRYPTCTL_V2_INSTALL_TARGET_CMDS >> + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl >> +endef >> + >> +$(eval $(generic-package)) >> -- >> 2.42.0.270.gbcb6cae296 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > > It is very exceptional that we allow chosing a version, so you'll need > to provide more explanations than "without an ability to migrate to v2". Thanks a lot for your comments. Indeed, I haven't found any cases like this among the current buildroot packages, so it seems I should have written the cover letter for the patch. Let me try to describe my motivation for it. > Note that commit b832f6eb9d stated: > There are unlikely to be many v1 users and the format has some known > vulnerabilities so no compatibility option is included. > > So this was a mindful decision not to provide such compatibility, > especially because of the vulnerability issues. The same explanation is given in the original commit that completely removes fscrypt v1 support in the fscryptctl tool: commit d2066cded914860164ffacebc24ea0afc0b57963 Author: Eric Biggers Date: Tue Feb 2 15:52:59 2021 -0800 Remove support for v1 encryption policies Since not many people are using fscryptctl yet, and v1 encryption policies have some annoying limitations which people keep running into, and all major users of filesystem encryption have already switched to v2 by default, it's better to just drop the fscryptctl support for v1 policies and only support v2. This keeps things much simpler going forward, and reduces the chance that people misconfigure things. If anyone really needs to continue to use v1-encrypted directories with fscryptctl (despite the known limitations with key visibility and so on), they can just use an older version of fscryptctl. Based on that, the original motivation of removing v1 support from the fscryptctl is to make the tool simpler, so users won't be able to make an initial fscrypt setup with fscrypt v1, which is no doubt worse than v2. Also, the author assumes that "not many people are using fscryptctl", so there are not many already configured v1 installations, but if there are, users can just use an older version of the fscryptctl tool. This is exactly what my patch is intended for: to give buildroot users an ability to use buildroots fscryptctl package for configurations with already existing v1-encrypted directories. Still, it chooses fscrypt v2 by default. Moreover, it is worth noticing, that fscrypt v1 support is still existing in linux kernel mainline, and I didn't find any news that the maintainers are going to remove it. > Why is it not possible for those users to migrate? buildroot is often used with embedded devices, and embedded devices often have limited disk space. As far as I understand, the only way to migrate from fscrypt v1 to v2 is to create v2-encrypted volume and then **copy** all the data into it. Without taking into account the technical difficulties of this task, it may be heavy load for storage device and will require additional disk space: according to linux kernel documentation, ""moving" an unencrypted file into an encrypted directory, e.g. with the mv program, is implemented in userspace by a copy followed by a delete". (https://www.kernel.org/doc/html/latest/filesystems/fscrypt.html?highlight=fscrypt#access-semantics) > In the odd case that we do indeed need to provide that choice, then > there is no need to split in two, as it is totally possible to write > everything in a single .mk in conditional blocs Thanks for the snippet, no doubt it is better to use a single .mk. However, I didn't find solution for having in a single .hash file different entries for different fscryptctl versions depending on user choice. From bremenpl at gmail.com Sun Oct 29 15:24:01 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Sun, 29 Oct 2023 15:24:01 +0000 Subject: [Buildroot] Help with DTO In-Reply-To: References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Message-ID: Hi Edgar and all, Edgar, as you suggested, I went with the beaglebone_defconfig as a template- when booted, I could normally export the GPIOs via sysfs. Again, I do not understand why this was not possible in the "virgin" buildroot system... Right now I am trying to figure out how to provide a device tree overlay on this system, that would define my specific baseboard (or cape, or hat...). What I do need to do is: Disable the HDMI pins, I think I dont need to do anything with pins that I need to use as outputs- I can just work with sysfs and userspace for these, Configure specific pins as belonging to PRU0 or PRU1, Enable the ethernet phy with DHCP by default (not sure if this is to be defined in the overlay). So question is: how to create such a DTO and make buildroot compile it and then later uBoot automatically load it, so the booted system has all the HW ready to be used? I would appreciate all further feedback! -- ?ukasz Przenios?o ------ Original Message ------ >From "?ukasz Przenios?o" To "Edgar Bonet" Cc buildroot at buildroot.org Date 2023-10-28 23:04:22 Subject Re[2]: [Buildroot] Help with DTO >Hi Edgar and thank you for the answer! > >This tutorial walks you through a manual configuration. Note that >Buildroot ships a ready-made configuration you can use: > > make beaglebone_defconfig # load the ready-made defconfig > make menuconfig # if you want to tweak it > make >I see, so this is like a more proper template for BBB specifically, >thanks! I started from scratch, because I wanted to try to learn as >much as possible + the fact that I do not need the HDMI pins. >Furthermore, I need to reuse them as gpio outputs and PRU inputs- for >these, I think I need to configure the pins in specific mode 5 (PRU1) >or 6 (PRU0). > >I do not understand why you need a device tree overlay. The tutorial >gets you a kernel together with the am335x-boneblack device tree. This >device tree already defines four GPIO chips. Can't you see them? Try > > ls /dev/gpiochip* >Yes, I do see them: > ># ls /dev/gpiochip* >/dev/gpiochip0 /dev/gpiochip1 /dev/gpiochip2 /dev/gpiochip3 > >My problem was that I was unable to export any of the gpios: > ># pwd >/sys/class/gpio ># echo 66 > export >[23448.896503] export_store: invalid GPIO 66 >sh: write error: Invalid argument > >I thought that these cannot be exported due to incorrect DTS- no? > >If you want to play with the GPIOs, I suggest you install the tools that >come with libgpiod: in Target packages / Libraries / Hardware handling, >select ?libgpiod?, then ?install tools?. Then, on the booted system, >type >Here, do you mean to choose all this in the make menuconfig dialog? > >Thanks already and in advance! > >-- >?ukasz Przenios?o > > >------ Original Message ------ >From "Edgar Bonet" >To "?ukasz Przenios?o" ; buildroot at buildroot.org >Date 2023-10-28 20:58:38 >Subject Re: [Buildroot] Help with DTO > >>Hello! >> >>?ukasz Przenios?o wrote, about the BeagleBone: >>> So I have the HW and virgin working Buildroot image baked thanks to >>> this tutorial. >>> (https://blog.billvanleeuwen.ca/creating-a-minimal-linux-system-for-the-beaglebone-black-with-buildroot) >> >>This tutorial walks you through a manual configuration. Note that >>Buildroot ships a ready-made configuration you can use: >> >> make beaglebone_defconfig # load the ready-made defconfig >> make menuconfig # if you want to tweak it >> make >> >>> What I wanted to do next is to create a device tree overlay for all >>> required GPIOs that would be compiled at kernel build time. >> >>I do not understand why you need a device tree overlay. The tutorial >>gets you a kernel together with the am335x-boneblack device tree. This >>device tree already defines four GPIO chips. Can't you see them? Try >> >> ls /dev/gpiochip* >> >>If you want to play with the GPIOs, I suggest you install the tools that >>come with libgpiod: in Target packages / Libraries / Hardware handling, >>select ?libgpiod?, then ?install tools?. Then, on the booted system, >>type >> >> gpiodetect >> gpioinfo >> >>You should see all the available GPIO chips, then all the GPIO lines. >> >>Regards, >> >>Edgar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fontaine.fabrice at gmail.com Sun Oct 29 18:05:09 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 19:05:09 +0100 Subject: [Buildroot] [PATCH 1/1] package/atop: fix musl build Message-ID: <20231029180509.283133-1-fontaine.fabrice@gmail.com> Fix the following build failure with musl raised since bump to version 2.9.0 in commit 8c70374c4f0f9f77875eac26a5e51ab662575c1c: atop.h:157:1: error: unknown type name 'time_t' 157 | time_t normalize_epoch(time_t, long); | ^~~~~~ atop.h:157:1: note: 'time_t' is defined in header ''; did you forget to '#include '? atop.h:157:40: error: expected ')' before 'long' 157 | time_t normalize_epoch(time_t, long); | ^~~~~ | ) Fixes: - http://autobuild.buildroot.org/results/e7ec8d16f2299320f374a0198c8e9b18a102b037 Signed-off-by: Fabrice Fontaine --- package/atop/0001-atop.h-include-time.h.patch | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/atop/0001-atop.h-include-time.h.patch diff --git a/package/atop/0001-atop.h-include-time.h.patch b/package/atop/0001-atop.h-include-time.h.patch new file mode 100644 index 0000000000..2b8a390e71 --- /dev/null +++ b/package/atop/0001-atop.h-include-time.h.patch @@ -0,0 +1,41 @@ +From 03c5c4dd29bc7590baccb55a36d61e7f4b39c1fe Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 29 Oct 2023 18:56:35 +0100 +Subject: [PATCH] atop.h: include time.h + +Include time.h to avoid the following build failure with musl: + +atop.h:157:1: error: unknown type name 'time_t' + 157 | time_t normalize_epoch(time_t, long); + | ^~~~~~ +atop.h:157:1: note: 'time_t' is defined in header ''; did you forget to '#include '? +atop.h:157:40: error: expected ')' before 'long' + 157 | time_t normalize_epoch(time_t, long); + | ^~~~~ + | ) + +Fixes: + - http://autobuild.buildroot.org/results/e7ec8d16f2299320f374a0198c8e9b18a102b037 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/Atoptool/atop/pull/280 +--- + atop.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/atop.h b/atop.h +index 9274fc5..3d5fea4 100644 +--- a/atop.h ++++ b/atop.h +@@ -24,6 +24,8 @@ + #ifndef __ATOP__ + #define __ATOP__ + ++#include ++ + #define EQ 0 + #define SECONDSINDAY 86400 + #define RAWNAMESZ 256 +-- +2.42.0 + -- 2.42.0 From yann.morin.1998 at free.fr Sun Oct 29 18:42:56 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:42:56 +0100 Subject: [Buildroot] [git commit] board/licheepi_zero: move board files to their own directory Message-ID: <20231029184356.15E7F8612E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=72c653367daaccb47089bfed4ca7ce459a75bde7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Group files for board licheepi_zero under the existing manufacturer directory, like all the other boards by Sipeed. Signed-off-by: Francois Dugast [yann.morin.1998 at free.fr: use the manufacturer sub-dir] Signed-off-by: Yann E. MORIN --- board/{licheepi => sipeed/licheepi_zero}/boot.cmd | 0 board/{licheepi => sipeed/licheepi_zero}/genimage.cfg | 0 board/{licheepi => sipeed/licheepi_zero}/readme.txt | 2 +- configs/licheepi_zero_defconfig | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/licheepi/boot.cmd b/board/sipeed/licheepi_zero/boot.cmd similarity index 100% rename from board/licheepi/boot.cmd rename to board/sipeed/licheepi_zero/boot.cmd diff --git a/board/licheepi/genimage.cfg b/board/sipeed/licheepi_zero/genimage.cfg similarity index 100% rename from board/licheepi/genimage.cfg rename to board/sipeed/licheepi_zero/genimage.cfg diff --git a/board/licheepi/readme.txt b/board/sipeed/licheepi_zero/readme.txt similarity index 97% rename from board/licheepi/readme.txt rename to board/sipeed/licheepi_zero/readme.txt index 6b8bf94b45..2f122125b7 100644 --- a/board/licheepi/readme.txt +++ b/board/sipeed/licheepi_zero/readme.txt @@ -10,7 +10,7 @@ How to build it Configure Buildroot ------------------- - $ make licheepi_zero_defconfig + $ make sipeed_licheepi_zero_defconfig Build the rootfs ---------------- diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig index 0d3115a996..1fa76923c8 100644 --- a/configs/licheepi_zero_defconfig +++ b/configs/licheepi_zero_defconfig @@ -12,7 +12,7 @@ BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Zero" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/genimage.cfg" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/licheepi_zero/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y @@ -45,7 +45,7 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/boot.cmd" +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/sipeed/licheepi_zero/boot.cmd" # Required host utilities for building an SDCard image BR2_PACKAGE_HOST_DOSFSTOOLS=y From yann.morin.1998 at free.fr Sun Oct 29 18:43:29 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:43:29 +0100 Subject: [Buildroot] [git commit] configs/sipeed_licheepi_nano: new board Message-ID: <20231029184356.2515F86109@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9a51a07a9175cd564fffa89a6b8b851c258384a0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add support for the LicheePi Nano with mainline components: - U-Boot 2023.04 - Linux 6.5.9 Board homepage and more usable WiKi: - https://wiki.sipeed.com/hardware/en/lichee/Nano/Nano.html - https://linux-sunxi.org/LicheePi_Nano linux.fragment is required to disable some features in order to keep the kernel size small, otherwise the board does not boot due to limited memory. See note in readme.txt. Signed-off-by: Francois Dugast [yann.morin.1998 at free.fr: - use fixed kernel version - use manufacturer directory ] Signed-off-by: Yann E. MORIN --- board/sipeed/licheepi_nano/genimage.cfg | 33 ++++++++++++ board/sipeed/licheepi_nano/linux.fragment | 11 ++++ board/sipeed/licheepi_nano/readme.txt | 84 +++++++++++++++++++++++++++++++ board/sipeed/licheepi_nano/uboot.fragment | 3 ++ configs/sipeed_licheepi_nano_defconfig | 45 +++++++++++++++++ 5 files changed, 176 insertions(+) diff --git a/board/sipeed/licheepi_nano/genimage.cfg b/board/sipeed/licheepi_nano/genimage.cfg new file mode 100644 index 0000000000..5e398eeb21 --- /dev/null +++ b/board/sipeed/licheepi_nano/genimage.cfg @@ -0,0 +1,33 @@ +flash w25q128 { + pebsize = 65536 + numpebs = 256 + minimum-io-unit-size = 1 + sub-page-size = 1 + vid-header-offset = 64 +} + +image flash.bin { + flash {} + flashtype = w25q128 + + partition uboot { + image = "u-boot-sunxi-with-spl.bin" + size = 512K + } + + partition dtb { + image = "suniv-f1c100s-licheepi-nano.dtb" + size = 64K + } + + partition zimage { + image = "zImage" + size = 5M + } + + partition rootfs { + image = "rootfs.jffs2" + size = 0 + } +} + diff --git a/board/sipeed/licheepi_nano/linux.fragment b/board/sipeed/licheepi_nano/linux.fragment new file mode 100644 index 0000000000..af68f28167 --- /dev/null +++ b/board/sipeed/licheepi_nano/linux.fragment @@ -0,0 +1,11 @@ +# CONFIG_NET is not set +# CONFIG_DRM is not set +# CONFIG_CMA is not set +# CONFIG_ARCH_MULTI_V7 is not set +CONFIG_UEVENT_HELPER=y +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_SPI_NOR=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set +CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_JFFS2_FS=y diff --git a/board/sipeed/licheepi_nano/readme.txt b/board/sipeed/licheepi_nano/readme.txt new file mode 100644 index 0000000000..1f1f8ef17d --- /dev/null +++ b/board/sipeed/licheepi_nano/readme.txt @@ -0,0 +1,84 @@ +Intro +===== + +This directory contains a buildroot configuration for building a +LicheePi Nano image which can be flashed into the board. + +This frees the MMC port which can be used for an additional SD +card of for a WiFi adapter. + +How to build it +=============== + +Configure Buildroot +------------------- + + $ make sipeed_licheepi_nano_defconfig + +Build the rootfs +---------------- + +Note: you will need to have access to the network, since Buildroot +will download the packages' sources. + +You may now build your rootfs with: + + $ make + +(This may take a while, consider getting yourself a coffee ;-) ) + +Result of the build +------------------- + +After building, you should obtain this tree: + + output/images/ + +-- flash.bin + +-- rootfs.jffs2 + +-- rootfs.tar + +-- suniv-f1c100s-licheepi-nano.dtb + +-- u-boot.bin + +-- u-boot-sunxi-with-spl.bin + `-- zImage + +How to flash +============ + +Once the build process is finished you will have an image called +"flash.bin" in the output/images/ directory. It contains the +bootloader, the device tree, the kernel and the root file system. + +The device can be flashed when it is in special mode called "FEL +mode". There are multiple ways to enter this mode described here: +https://linux-sunxi.org/FEL#Entering_FEL_mode + +One way is to write one file from sunxi-tools to a SD card with: + + $ sudo dd if=./output/build/host-sunxi-tools-*/bin/fel-sdboot.sunxi of=/dev/sdX bs=1024 seek=8 + +Once the SD card is burned, insert it into your LicheePi Nano board, +and plug the USB cable. A new USB device should be visible with +lsusb: + + 1f3a:efe8 Allwinner Technology sunxi SoC OTG connector in FEL/flashing mode + +The image can be flashed with: + + $ sudo ./output/host/bin/sunxi-fel -p spiflash-write 0 output/images/flash.bin + +Once this completes, remove the SD card and power the board. Your +new system should come up now and start a console on the UART0 +serial port. + +Note +==== + +Some standard kernel features are disabled using the fragment in +order to reduce the size. They can be enabled again if other +features are disabled instead. + +For U-Boot, the upstream repository is preferred and the system +boots, but loading the image from the flash takes a long time. It +is much faster when using the branch "licheepi-nano-v2020.01" of +this fork: +https://github.com/florpor/u-boot diff --git a/board/sipeed/licheepi_nano/uboot.fragment b/board/sipeed/licheepi_nano/uboot.fragment new file mode 100644 index 0000000000..39f2bfe742 --- /dev/null +++ b/board/sipeed/licheepi_nano/uboot.fragment @@ -0,0 +1,3 @@ +CONFIG_USE_BOOTARGS=y +CONFIG_BOOTARGS="console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=spi0.0:512k(uboot)ro,64k(dtb),5M(kernel)ro,-(rootfs)" +CONFIG_BOOTCOMMAND="sf probe 0 50000000; sf read 0x80C00000 0x80000 0x4000; sf read 0x80008000 0x90000 0x500000; bootz 0x80008000 - 0x80C00000" diff --git a/configs/sipeed_licheepi_nano_defconfig b/configs/sipeed_licheepi_nano_defconfig new file mode 100644 index 0000000000..8be26165d9 --- /dev/null +++ b/configs/sipeed_licheepi_nano_defconfig @@ -0,0 +1,45 @@ +# Target options +BR2_arm=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="licheepi-nano" +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Nano" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/licheepi_nano/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.9" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/licheepi_nano/linux.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/suniv-f1c100s-licheepi-nano" + +# Filesystem images +BR2_TARGET_ROOTFS_JFFS2=y +BR2_TARGET_ROOTFS_JFFS2_FLASH_64=y +BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y +BR2_TARGET_ROOTFS_JFFS2_PAD=y + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="licheepi_nano" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/sipeed/licheepi_nano/uboot.fragment" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# Required host utilities +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_E2FSPROGS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_SUNXI_TOOLS=y From bremenpl at gmail.com Sun Oct 29 18:44:33 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Sun, 29 Oct 2023 18:44:33 +0000 Subject: [Buildroot] Help with DTO In-Reply-To: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Message-ID: Hi Edgar and all, With your suggestion: If you want to play with the GPIOs, I suggest you install the tools that come with libgpiod: in Target packages / Libraries / Hardware handling, select ?libgpiod?, then ?install tools?. Then, on the booted system, type gpiodetect gpioinfo You should see all the available GPIO chips, then all the GPIO lines. I have installed libgpiod and I am able to see the mentioned tools: gpiodetect gpiofind gpioget gpioinfo gpiomon gpioset The problem is that thse mentioned commands provide no output in my shell (here run one by one with no output): # gpiodetect # gpioinfo # And I think none of these libgpiod tools do... At the same time, I am able to use the old sysfs way to export a gpio and toggle it and so on. I tried googling around, but I could find no reference to these tools not providing any output. Am I missing anything in the buildroot config? In the menuconfig I have checked both libgpiod and its tools... I would appreciate all feedback! -- ?ukasz Przenios?o ------ Original Message ------ >From "Edgar Bonet" To "?ukasz Przenios?o" ; buildroot at buildroot.org Date 2023-10-28 20:58:38 Subject Re: [Buildroot] Help with DTO >Hello! > >?ukasz Przenios?o wrote, about the BeagleBone: >> So I have the HW and virgin working Buildroot image baked thanks to >> this tutorial. >> (https://blog.billvanleeuwen.ca/creating-a-minimal-linux-system-for-the-beaglebone-black-with-buildroot) > >This tutorial walks you through a manual configuration. Note that >Buildroot ships a ready-made configuration you can use: > > make beaglebone_defconfig # load the ready-made defconfig > make menuconfig # if you want to tweak it > make > >> What I wanted to do next is to create a device tree overlay for all >> required GPIOs that would be compiled at kernel build time. > >I do not understand why you need a device tree overlay. The tutorial >gets you a kernel together with the am335x-boneblack device tree. This >device tree already defines four GPIO chips. Can't you see them? Try > > ls /dev/gpiochip* > >If you want to play with the GPIOs, I suggest you install the tools that >come with libgpiod: in Target packages / Libraries / Hardware handling, >select ?libgpiod?, then ?install tools?. Then, on the booted system, >type > > gpiodetect > gpioinfo > >You should see all the available GPIO chips, then all the GPIO lines. > >Regards, > >Edgar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.morin.1998 at free.fr Sun Oct 29 18:45:33 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:45:33 +0100 Subject: [Buildroot] [PATCH 1/2] board/licheepi_zero: move board files to their own directory In-Reply-To: <20231027114700.1904-1-francois.dugast.foss@gmail.com> References: <20231027114700.1904-1-francois.dugast.foss@gmail.com> Message-ID: <20231029184533.GY687180@scaer> Fran?ois, All, On 2023-10-27 13:46 +0200, Francois Dugast spake thusly: > Group files for board licheepi_zero under a new directory. This is > to prepare for a new board also coming to the licheepi directory. Licheepi-zero is a board by Sipeed, the manufacturer, and we already had a subdir for them, so I moved the board files there rather than introduce the board/licheepi/ sub-dir. Applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Francois Dugast > --- > board/licheepi/{ => licheepi_zero}/boot.cmd | 0 > board/licheepi/{ => licheepi_zero}/genimage.cfg | 0 > board/licheepi/{ => licheepi_zero}/readme.txt | 0 > configs/licheepi_zero_defconfig | 4 ++-- > 4 files changed, 2 insertions(+), 2 deletions(-) > rename board/licheepi/{ => licheepi_zero}/boot.cmd (100%) > rename board/licheepi/{ => licheepi_zero}/genimage.cfg (100%) > rename board/licheepi/{ => licheepi_zero}/readme.txt (100%) > > diff --git a/board/licheepi/boot.cmd b/board/licheepi/licheepi_zero/boot.cmd > similarity index 100% > rename from board/licheepi/boot.cmd > rename to board/licheepi/licheepi_zero/boot.cmd > diff --git a/board/licheepi/genimage.cfg b/board/licheepi/licheepi_zero/genimage.cfg > similarity index 100% > rename from board/licheepi/genimage.cfg > rename to board/licheepi/licheepi_zero/genimage.cfg > diff --git a/board/licheepi/readme.txt b/board/licheepi/licheepi_zero/readme.txt > similarity index 100% > rename from board/licheepi/readme.txt > rename to board/licheepi/licheepi_zero/readme.txt > diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig > index 0d3115a996..c8f74a7f04 100644 > --- a/configs/licheepi_zero_defconfig > +++ b/configs/licheepi_zero_defconfig > @@ -12,7 +12,7 @@ BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Zero" > BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" > BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y > BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" > -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/genimage.cfg" > +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/licheepi_zero/genimage.cfg" > > # Kernel > BR2_LINUX_KERNEL=y > @@ -45,7 +45,7 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM=y > BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" > BR2_PACKAGE_HOST_UBOOT_TOOLS=y > BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y > -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/boot.cmd" > +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/licheepi_zero/boot.cmd" > > # Required host utilities for building an SDCard image > BR2_PACKAGE_HOST_DOSFSTOOLS=y > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 18:49:44 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:49:44 +0100 Subject: [Buildroot] [PATCH 2/2] board/licheepi/licheepi_nano: new board In-Reply-To: <20231027114700.1904-2-francois.dugast.foss@gmail.com> References: <20231027114700.1904-1-francois.dugast.foss@gmail.com> <20231027114700.1904-2-francois.dugast.foss@gmail.com> Message-ID: <20231029184944.GZ687180@scaer> Fran?ois. All, On 2023-10-27 13:47 +0200, Francois Dugast spake thusly: > Add support for the LicheePi Nano with: > - U-Boot 2023.04 > - Linux current latest version We do not leave the kernel version to the l;atest one, because we want to have known-working defconfigs, and so bumping the kernel (and bootloader) version should be explicit (and tested) rather than follow whatever the latest kernel version is. So I pinned the version to kernel 6.5.9, which is the current latest known to Biuldroot (so, presumably what you tested with). > Board homepage: https://linux-sunxi.org/LicheePi_Nano I added the true home page on the manufacturer website, and kept the linux-sunxi wiki URL too. > linux.fragment is required to disable some features in order > to keep the kernel size small, otherwise the board does not > boot due to limited memory. See note in readme.txt. > > Signed-off-by: Francois Dugast > --- > board/licheepi/licheepi_nano/genimage.cfg | 33 ++++++++ > board/licheepi/licheepi_nano/linux.fragment | 11 +++ > board/licheepi/licheepi_nano/readme.txt | 84 +++++++++++++++++++++ > board/licheepi/licheepi_nano/uboot.fragment | 3 + > configs/licheepi_nano_defconfig | 43 +++++++++++ > 5 files changed, 174 insertions(+) > create mode 100644 board/licheepi/licheepi_nano/genimage.cfg > create mode 100644 board/licheepi/licheepi_nano/linux.fragment > create mode 100644 board/licheepi/licheepi_nano/readme.txt > create mode 100644 board/licheepi/licheepi_nano/uboot.fragment > create mode 100644 configs/licheepi_nano_defconfig Of course, like for licheepi_zero, I moved that to the sipeed sub-dir. And as for licheepi_zero, I renamed the defconfig to start with sipeed, like all the other sipeed boards. Oops, I forgot to rename licheepi_zero, so I've pushed a fixup commit... Applied to master with the above changes, thanks. Regards, Yann E. MORIN. > diff --git a/board/licheepi/licheepi_nano/genimage.cfg b/board/licheepi/licheepi_nano/genimage.cfg > new file mode 100644 > index 0000000000..5e398eeb21 > --- /dev/null > +++ b/board/licheepi/licheepi_nano/genimage.cfg > @@ -0,0 +1,33 @@ > +flash w25q128 { > + pebsize = 65536 > + numpebs = 256 > + minimum-io-unit-size = 1 > + sub-page-size = 1 > + vid-header-offset = 64 > +} > + > +image flash.bin { > + flash {} > + flashtype = w25q128 > + > + partition uboot { > + image = "u-boot-sunxi-with-spl.bin" > + size = 512K > + } > + > + partition dtb { > + image = "suniv-f1c100s-licheepi-nano.dtb" > + size = 64K > + } > + > + partition zimage { > + image = "zImage" > + size = 5M > + } > + > + partition rootfs { > + image = "rootfs.jffs2" > + size = 0 > + } > +} > + > diff --git a/board/licheepi/licheepi_nano/linux.fragment b/board/licheepi/licheepi_nano/linux.fragment > new file mode 100644 > index 0000000000..af68f28167 > --- /dev/null > +++ b/board/licheepi/licheepi_nano/linux.fragment > @@ -0,0 +1,11 @@ > +# CONFIG_NET is not set > +# CONFIG_DRM is not set > +# CONFIG_CMA is not set > +# CONFIG_ARCH_MULTI_V7 is not set > +CONFIG_UEVENT_HELPER=y > +CONFIG_MTD=y > +CONFIG_MTD_BLOCK=y > +CONFIG_MTD_SPI_NOR=y > +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set > +CONFIG_MTD_CMDLINE_PARTS=y > +CONFIG_JFFS2_FS=y > diff --git a/board/licheepi/licheepi_nano/readme.txt b/board/licheepi/licheepi_nano/readme.txt > new file mode 100644 > index 0000000000..55aa602777 > --- /dev/null > +++ b/board/licheepi/licheepi_nano/readme.txt > @@ -0,0 +1,84 @@ > +Intro > +===== > + > +This directory contains a buildroot configuration for building a > +LicheePi Nano image which can be flashed into the board. > + > +This frees the MMC port which can be used for an additional SD > +card of for a WiFi adapter. > + > +How to build it > +=============== > + > +Configure Buildroot > +------------------- > + > + $ make licheepi_nano_defconfig > + > +Build the rootfs > +---------------- > + > +Note: you will need to have access to the network, since Buildroot > +will download the packages' sources. > + > +You may now build your rootfs with: > + > + $ make > + > +(This may take a while, consider getting yourself a coffee ;-) ) > + > +Result of the build > +------------------- > + > +After building, you should obtain this tree: > + > + output/images/ > + +-- flash.bin > + +-- rootfs.jffs2 > + +-- rootfs.tar > + +-- suniv-f1c100s-licheepi-nano.dtb > + +-- u-boot.bin > + +-- u-boot-sunxi-with-spl.bin > + `-- zImage > + > +How to flash > +============ > + > +Once the build process is finished you will have an image called > +"flash.bin" in the output/images/ directory. It contains the > +bootloader, the device tree, the kernel and the root file system. > + > +The device can be flashed when it is in special mode called "FEL > +mode". There are multiple ways to enter this mode described here: > +https://linux-sunxi.org/FEL#Entering_FEL_mode > + > +One way is to write one file from sunxi-tools to a SD card with: > + > + $ sudo dd if=./output/build/host-sunxi-tools-*/bin/fel-sdboot.sunxi of=/dev/sdX bs=1024 seek=8 > + > +Once the SD card is burned, insert it into your LicheePi Nano board, > +and plug the USB cable. A new USB device should be visible with > +lsusb: > + > + 1f3a:efe8 Allwinner Technology sunxi SoC OTG connector in FEL/flashing mode > + > +The image can be flashed with: > + > + $ sudo ./output/host/bin/sunxi-fel -p spiflash-write 0 output/images/flash.bin > + > +Once this completes, remove the SD card and power the board. Your > +new system should come up now and start a console on the UART0 > +serial port. > + > +Note > +==== > + > +Some standard kernel features are disabled using the fragment in > +order to reduce the size. They can be enabled again if other > +features are disabled instead. > + > +For U-Boot, the upstream repository is preferred and the system > +boots, but loading the image from the flash takes a long time. It > +is much faster when using the branch "licheepi-nano-v2020.01" of > +this fork: > +https://github.com/florpor/u-boot > diff --git a/board/licheepi/licheepi_nano/uboot.fragment b/board/licheepi/licheepi_nano/uboot.fragment > new file mode 100644 > index 0000000000..39f2bfe742 > --- /dev/null > +++ b/board/licheepi/licheepi_nano/uboot.fragment > @@ -0,0 +1,3 @@ > +CONFIG_USE_BOOTARGS=y > +CONFIG_BOOTARGS="console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=spi0.0:512k(uboot)ro,64k(dtb),5M(kernel)ro,-(rootfs)" > +CONFIG_BOOTCOMMAND="sf probe 0 50000000; sf read 0x80C00000 0x80000 0x4000; sf read 0x80008000 0x90000 0x500000; bootz 0x80008000 - 0x80C00000" > diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig > new file mode 100644 > index 0000000000..3dbd29241f > --- /dev/null > +++ b/configs/licheepi_nano_defconfig > @@ -0,0 +1,43 @@ > +# Target options > +BR2_arm=y > + > +# System configuration > +BR2_TARGET_GENERIC_HOSTNAME="licheepi-nano" > +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Nano" > +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" > +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y > +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" > +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/licheepi_nano/genimage.cfg" > + > +# Kernel > +BR2_LINUX_KERNEL=y > +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" > +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/licheepi/licheepi_nano/linux.fragment" > +BR2_LINUX_KERNEL_DTS_SUPPORT=y > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/suniv-f1c100s-licheepi-nano" > + > +# Filesystem images > +BR2_TARGET_ROOTFS_JFFS2=y > +BR2_TARGET_ROOTFS_JFFS2_FLASH_64=y > +BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y > +BR2_TARGET_ROOTFS_JFFS2_PAD=y > + > +# Bootloaders > +BR2_TARGET_UBOOT=y > +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > +BR2_TARGET_UBOOT_CUSTOM_VERSION=y > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" > +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="licheepi_nano" > +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/licheepi/licheepi_nano/uboot.fragment" > +BR2_TARGET_UBOOT_SPL=y > +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" > +BR2_TARGET_UBOOT_NEEDS_DTC=y > +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y > +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y > + > +# Required host utilities > +BR2_PACKAGE_HOST_DOSFSTOOLS=y > +BR2_PACKAGE_HOST_E2FSPROGS=y > +BR2_PACKAGE_HOST_GENIMAGE=y > +BR2_PACKAGE_HOST_MTOOLS=y > +BR2_PACKAGE_HOST_SUNXI_TOOLS=y > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Oct 29 19:30:44 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 20:30:44 +0100 Subject: [Buildroot] [PATCH 1/1] package/ace: bump to version 7.1.1 Message-ID: <20231029193044.672993-1-fontaine.fabrice@gmail.com> - Drop patches (already in version) - C++14 is mandatory since version 7.1.0 https://github.com/DOCGroup/ACE_TAO/blob/ACE%2BTAO-7_1_1/ACE/NEWS Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 2 - ...Asynch_BIO.cpp-fix-build-with-libres.patch | 52 ----------------- ...Asynch_BIO.cpp-fix-build-with-libres.patch | 56 ------------------- package/ace/Config.in | 6 +- package/ace/ace.hash | 6 +- package/ace/ace.mk | 4 +- 6 files changed, 8 insertions(+), 118 deletions(-) delete mode 100644 package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch delete mode 100644 package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch diff --git a/.checkpackageignore b/.checkpackageignore index 7f12a9a3b4..d5c894ff25 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -124,8 +124,6 @@ boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch Up linux/5.10.162-cip24-rt10/0001-arch-microblaze-mm-init.c-fix-build.patch Upstream package/18xx-ti-utils/0001-plt.h-fix-build-with-gcc-10.patch Upstream package/4th/0001-avoid-regen-during-install.patch Upstream -package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch Upstream -package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch Upstream package/acl/0001-Build-with-old-GCC-versions.patch Upstream package/acpid/0001-dont-use-isfdtype.patch Upstream package/alchemy/0001-toolchains-remove-hash-style-management.patch Upstream diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch deleted file mode 100644 index ad82c10172..0000000000 --- a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch +++ /dev/null @@ -1,52 +0,0 @@ -From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 3 Apr 2022 15:25:49 +0200 -Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl - -Fix the following build failure with libressl: - -/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? - 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) - | ^~~~~~~~~~~~ - | BIO_set_init - -Fixes: - - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] ---- - ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp -index a657d8a14e6f7..64aa14c6ab9a7 100644 ---- a/ace/SSL/SSL_Asynch_BIO.cpp -+++ b/ace/SSL/SSL_Asynch_BIO.cpp -@@ -41,7 +41,7 @@ extern "C" - - #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - static BIO_METHOD methods_ACE = - { - BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, -@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = - #else - static BIO_METHOD* methods_ACE; - # define BIO_set_num(b, val) --#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ -+#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL - - BIO * - ACE_SSL_make_BIO (void * ssl_asynch_stream) - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - BIO * const pBIO = BIO_new (&methods_ACE); - #else - if (!methods_ACE) diff --git a/package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch deleted file mode 100644 index 4f9fde5579..0000000000 --- a/package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 82b139f921ddb549c1bd236030bbc86e314852b3 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 21 Feb 2023 14:20:11 +0100 -Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl >= - 3.5.0 - -Fix the following build failure with libressl >= 3.5.0: - -/tmp/instance-17/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:45:19: error: variable 'BIO_METHOD methods_ACE' has initializer but incomplete type - 45 | static BIO_METHOD methods_ACE = - | ^~~~~~~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/7f40d6dde03134238151c248fbbd66e4713546cb - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/DOCGroup/ACE_TAO/pull/2053] ---- - ACE/ace/SSL/SSL_Asynch_BIO.cpp | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp -index 0faa775fc0..5543598873 100644 ---- a/ace/SSL/SSL_Asynch_BIO.cpp -+++ b/ace/SSL/SSL_Asynch_BIO.cpp -@@ -41,7 +41,8 @@ extern "C" - - #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x30500000L) - static BIO_METHOD methods_ACE = - { - BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, -@@ -68,14 +69,15 @@ static BIO_METHOD methods_ACE = - #else - static BIO_METHOD* methods_ACE; - # define BIO_set_num(b, val) --#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ -+#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x30500000L) */ - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL - - BIO * - ACE_SSL_make_BIO (void * ssl_asynch_stream) - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x30500000L) - BIO * const pBIO = BIO_new (&methods_ACE); - #else - if (!methods_ACE) --- -2.39.0 - diff --git a/package/ace/Config.in b/package/ace/Config.in index 5000f2352f..cf3819284b 100644 --- a/package/ace/Config.in +++ b/package/ace/Config.in @@ -3,14 +3,14 @@ config BR2_PACKAGE_ACE depends on BR2_TOOLCHAIN_USES_GLIBC depends on !BR2_STATIC_LIBS depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 help The ADAPTIVE Communication Environment (ACE(TM)) An OO Network Programming Toolkit in C++. http://www.dre.vanderbilt.edu/~schmidt/ACE.html -comment "ACE needs a glibc toolchain, dynamic library, C++, gcc >= 4.8" +comment "ACE needs a glibc toolchain, dynamic library, C++, gcc >= 4.9" depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/ace/ace.hash b/package/ace/ace.hash index 2387927879..0c5ed12c97 100644 --- a/package/ace/ace.hash +++ b/package/ace/ace.hash @@ -1,6 +1,6 @@ -# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.0.6.tar.bz2.md5: -md5 d1656851619aff15365270ccf2d56c6e ACE-7.0.6.tar.bz2 +# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.1.1.tar.bz2.md5: +md5 6c86ec6c7879703783b9749d5409a67f ACE-7.1.1.tar.bz2 # Locally Computed: -sha256 4a0cd7da4851f769fddfcf33f663eba4afad824efeff9f59f134c4640ee80216 ACE-7.0.6.tar.bz2 +sha256 fe5fdeab1dddf4fdd99f73c59420886cf61ca2ce92adf2cc6b612b752986df62 ACE-7.1.1.tar.bz2 sha256 687bf9d16119e0caf6fb5c18214928fd6ea0da10df91e906255b7613af8061d8 COPYING diff --git a/package/ace/ace.mk b/package/ace/ace.mk index 29555eea74..1f79508629 100644 --- a/package/ace/ace.mk +++ b/package/ace/ace.mk @@ -4,7 +4,7 @@ # ################################################################################ -ACE_VERSION = 7.0.6 +ACE_VERSION = 7.1.1 ACE_SOURCE = ACE-$(ACE_VERSION).tar.bz2 ACE_SITE = http://download.dre.vanderbilt.edu/previous_versions ACE_LICENSE = DOC @@ -17,7 +17,7 @@ ACE_CPE_ID_PRODUCT = adaptive_communication_environment # Only compiling ACE libraries (no TAO) ACE_LIBRARIES = ace ACEXML Kokyu netsvcs protocols/ace -ACE_CPPFLAGS = $(TARGET_CPPFLAGS) -std=c++11 +ACE_CPPFLAGS = $(TARGET_CPPFLAGS) -std=c++14 ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101915),y) ACE_CPPFLAGS += -O0 -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 19:36:23 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 20:36:23 +0100 Subject: [Buildroot] [PATCH 1/1] package/aespipe: bump to version 2.4g Message-ID: <20231029193623.679637-1-fontaine.fabrice@gmail.com> aespipe-v2.4g October 23 2023 - Added configure script autodetection for -fno-strict-aliasing compile flag. This option is needed with some compilers that miscompile code when link-time-optimization is used. Signed-off-by: Fabrice Fontaine --- package/aespipe/aespipe.hash | 8 ++++---- package/aespipe/aespipe.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/aespipe/aespipe.hash b/package/aespipe/aespipe.hash index f7491278e0..4fe7d0753b 100644 --- a/package/aespipe/aespipe.hash +++ b/package/aespipe/aespipe.hash @@ -1,5 +1,5 @@ -# From https://sourceforge.net/projects/loop-aes/files/aespipe/v2.4f/ -sha1 2c23e1a6be298cf4f173f06b1123e4ecd5e9a202 aespipe-v2.4f.tar.bz2 -md5 ed05c62c1954110f009bedda4bc1562f aespipe-v2.4f.tar.bz2 +# From https://sourceforge.net/projects/loop-aes/files/aespipe/v2.4g/ +sha1 fb6b0108176d653f0e5b3be2385b132be791d800 aespipe-v2.4g.tar.bz2 +md5 c216c6c9e939fac69f859af0ad2fd8ef aespipe-v2.4g.tar.bz2 # Locally computed: -sha256 b135e1659f58dc9be5e3c88923cd03d2a936096ab8cd7f2b3af4cb7a844cef96 aespipe-v2.4f.tar.bz2 +sha256 bfb97e7de161e8d7ce113b163bda1d1a8ec77d2c1afab56dcc8153d7a90187fc aespipe-v2.4g.tar.bz2 diff --git a/package/aespipe/aespipe.mk b/package/aespipe/aespipe.mk index fd4f776dda..4769536d2f 100644 --- a/package/aespipe/aespipe.mk +++ b/package/aespipe/aespipe.mk @@ -4,7 +4,7 @@ # ################################################################################ -AESPIPE_VERSION = 2.4f +AESPIPE_VERSION = 2.4g AESPIPE_SOURCE = aespipe-v$(AESPIPE_VERSION).tar.bz2 AESPIPE_SITE = http://loop-aes.sourceforge.net/aespipe AESPIPE_LICENSE = GPL -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 19:41:41 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 20:41:41 +0100 Subject: [Buildroot] [PATCH 1/1] package/bcm2835: bump to version 1.73 Message-ID: <20231029194141.684797-1-fontaine.fabrice@gmail.com> 1.72 Added examples/smi/smi.c showing how to use new SMI bus support, courtesy Benoit Bouchez. Added support for disabling documentation genetration with "./configure --with-docs=no", courtesy of Christian Zuckschwerdt. 1.73 Fixed some inconsistent indenting in bcm2835.c that triggers warnings for some people. Added Timeout checks to bcm2835_i2c_write() in case of IO problems. New reason cade BCM2835_I2C_REASON_ERROR_TIMEOUT added. Patch courtesy Simon Peacock. Signed-off-by: Fabrice Fontaine --- package/bcm2835/bcm2835.hash | 2 +- package/bcm2835/bcm2835.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/bcm2835/bcm2835.hash b/package/bcm2835/bcm2835.hash index 2cdc35fcee..802f34335b 100644 --- a/package/bcm2835/bcm2835.hash +++ b/package/bcm2835/bcm2835.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 564920d205977d7e2846e434947708455d468d3a952feca9faef643abd03a227 bcm2835-1.71.tar.gz +sha256 e67a986462618988a5a86752e36e3ebdd7c5cae66940ff7330aea243b2762525 bcm2835-1.73.tar.gz sha256 8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b COPYING diff --git a/package/bcm2835/bcm2835.mk b/package/bcm2835/bcm2835.mk index 4870aa10ba..dcf21cb5f0 100644 --- a/package/bcm2835/bcm2835.mk +++ b/package/bcm2835/bcm2835.mk @@ -4,7 +4,7 @@ # ################################################################################ -BCM2835_VERSION = 1.71 +BCM2835_VERSION = 1.73 BCM2835_SITE = https://www.airspayce.com/mikem/bcm2835 BCM2835_LICENSE = GPL-3.0 BCM2835_LICENSE_FILES = COPYING -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 19:53:37 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 20:53:37 +0100 Subject: [Buildroot] [PATCH 1/1] package/c-periphery: bump to version 2.4.2 Message-ID: <20231029195337.755864-1-fontaine.fabrice@gmail.com> Update hash of LICENSE file (year updated with https://github.com/vsergeev/c-periphery/commit/415b0cf5e826b26a35f7ddf752d092c1adbf11ee) https://github.com/vsergeev/c-periphery/blob/v2.4.2/CHANGELOG.md Signed-off-by: Fabrice Fontaine --- package/c-periphery/c-periphery.hash | 4 ++-- package/c-periphery/c-periphery.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/c-periphery/c-periphery.hash b/package/c-periphery/c-periphery.hash index 516cfb33e5..f8f0654b4f 100644 --- a/package/c-periphery/c-periphery.hash +++ b/package/c-periphery/c-periphery.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 ba298aac5c1f6ebe2b89ed623a2f678bedfa3b9dc78aaf4f0534a1dd304629da c-periphery-2.3.1.tar.gz -sha256 7121a0a2ba36ed9388be2f1a916f0e3584d8e49cc7888fbcfcf83bab2a8bebef LICENSE +sha256 24327bc2a22588444b2576fa1c9560619f6faad986c236c54f4b3f36b20dad56 c-periphery-2.4.2.tar.gz +sha256 2c29e38ac4d393558522c5fa671bd03f9d6f7d751c899a3482b20ab2a0ba5122 LICENSE diff --git a/package/c-periphery/c-periphery.mk b/package/c-periphery/c-periphery.mk index 722679f9f8..367ac319b3 100644 --- a/package/c-periphery/c-periphery.mk +++ b/package/c-periphery/c-periphery.mk @@ -4,7 +4,7 @@ # ################################################################################ -C_PERIPHERY_VERSION = 2.3.1 +C_PERIPHERY_VERSION = 2.4.2 C_PERIPHERY_SITE = $(call github,vsergeev,c-periphery,v$(C_PERIPHERY_VERSION)) C_PERIPHERY_INSTALL_STAGING = YES C_PERIPHERY_LICENSE = MIT -- 2.42.0 From yegorslists at googlemail.com Sun Oct 29 20:11:59 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Sun, 29 Oct 2023 21:11:59 +0100 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend In-Reply-To: References: <20231028102435.1771460-1-yegorslists@googlemail.com> Message-ID: Hi James, all, On Sat, Oct 28, 2023 at 12:44?PM James Hilliard wrote: > > On Sat, Oct 28, 2023 at 4:31?AM Yegor Yefremov wrote: >> >> Hi all, >> >> On Sat, Oct 28, 2023 at 12:25?PM wrote: >> > >> > From: Yegor Yefremov >> > >> > Since version 41.0.0, setuptools has an experimental PEP517 support. >> > >> > Signed-off-by: Yegor Yefremov >> > --- >> > package/pkg-python.mk | 2 +- >> > 1 file changed, 1 insertion(+), 1 deletion(-) >> > >> > diff --git a/package/pkg-python.mk b/package/pkg-python.mk >> > index 28ee4cb85f..00f71f6b19 100644 >> > --- a/package/pkg-python.mk >> > +++ b/package/pkg-python.mk >> > @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) >> > $(2)_DEPENDENCIES += host-python-setuptools-rust >> > endif >> > else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) >> > -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer >> > +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer host-python-setuptools >> > ifeq ($$($(2)_SETUP_TYPE),flit) >> > $(2)_DEPENDENCIES += host-python-flit-core >> > endif >> >> This patch is more a workaround to convert such packages as >> python-tornado, python-configobj, etc. to PEP517 infrastructure. These >> packages just use a build-system section and otherwise rely on the >> setup.py file: > > > Are these failing to build without PEP517 infrastructure for setuptools? No, they are working as expected in both "worlds". >> >> [build-system] >> requires = ["setuptools"] >> build-backend = "setuptools.build_meta" >> >> What is the plan to support this backend? Just use setuptools-rust or >> convert "_SETUP_TYPE=setuptools" to PEP517 after the introduction of >> Python 12.x? > > > I already have a patch converting our setuptools infrastructure to PEP517: > https://lore.kernel.org/buildroot/20230930152517.1077576-3-james.hilliard1 at gmail.com/ I have overlooked your series. Meanwhile, I could test it (as you have probably seen) and so far, both my packages and tornado could be successfully built. But at some point, I ran across the python-msgpack issue, which you have already tried to fix. Are you going to post v4 of your series containing the python-msgpack fix? Regards, Yegor From yann.morin.1998 at free.fr Sun Oct 29 18:50:07 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:50:07 +0100 Subject: [Buildroot] [git commit] configs/licheepi_zero: rename with manufacturer prefix Message-ID: <20231029201851.EF46F86134@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=750392e95e480d0b6f9facb266187b5cd9bb3eb2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 72c653367daa (board/licheepi_zero: move board files to their own directory) forgot to rename the defconfig file, even though the readme.txt was updated. Do the rename now. Signed-off-by: Yann E. MORIN --- configs/{licheepi_zero_defconfig => sipeed_licheepi_zero_defconfig} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/configs/licheepi_zero_defconfig b/configs/sipeed_licheepi_zero_defconfig similarity index 100% rename from configs/licheepi_zero_defconfig rename to configs/sipeed_licheepi_zero_defconfig From giulio.benetti at benettiengineering.com Sun Oct 29 20:43:21 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 29 Oct 2023 21:43:21 +0100 Subject: [Buildroot] [PATCH] package/libnvme: needs host-swig In-Reply-To: <20231029113325.GX687180@scaer> References: <20231026155754.1637976-1-giulio.benetti@benettiengineering.com> <20231029113325.GX687180@scaer> Message-ID: <4b77e07f-b11d-4cba-9c5d-2b98ddb07777@benettiengineering.com> On 29/10/23 12:33, Yann E. MORIN wrote: > Giulio, All, > > On 2023-10-26 17:57 +0200, Giulio Benetti spake thusly: >> Fixes: >> http://autobuild.buildroot.net/results/a63d18fd318783d7e3d1cede062c9c7cacb10282/ >> >> Signed-off-by: Giulio Benetti >> --- >> package/libnvme/libnvme.mk | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk >> index 38394b9931..3b622839fa 100644 >> --- a/package/libnvme/libnvme.mk >> +++ b/package/libnvme/libnvme.mk >> @@ -10,6 +10,8 @@ LIBNVME_LICENSE = LGPL-2.1 >> LIBNVME_LICENSE_FILES = COPYING >> LIBNVME_INSTALL_STAGING = YES >> >> +LIBNVME_DEPENDENCIES += host-swig > > swig is only needed to build the python bindings, no? > In which case it should be in the python conditional block, right? Oh, yes, absolutely. Thanks for reviewing. Going to send V2 Kind regards -- Giulio Benetti CEO&CTO at Benetti Engineering sas > Regards, > Yann E. MORIN. > >> LIBNVME_CONF_OPTS += \ >> -Dtests=false >> >> -- >> 2.34.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > From giulio.benetti at benettiengineering.com Sun Oct 29 20:48:28 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 29 Oct 2023 21:48:28 +0100 Subject: [Buildroot] [PATCH v2] package/libnvme: needs host-swig when python is enabled Message-ID: <20231029204828.81352-1-giulio.benetti@benettiengineering.com> Fixes: http://autobuild.buildroot.net/results/a63d18fd318783d7e3d1cede062c9c7cacb10282/ Signed-off-by: Giulio Benetti --- V1->V2: * moved host-swig dependency under python3 check as suggested by Yann Morin --- package/libnvme/libnvme.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 38394b9931..b393122c85 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -14,7 +14,7 @@ LIBNVME_CONF_OPTS += \ -Dtests=false ifeq ($(BR2_PACKAGE_PYTHON3),y) -LIBNVME_DEPENDENCIES += python3 +LIBNVME_DEPENDENCIES += python3 host-swig LIBNVME_CONF_OPTS += -Dpython=enabled else LIBNVME_CONF_OPTS += -Dpython=disabled -- 2.34.1 From bonet at grenoble.cnrs.fr Sun Oct 29 20:51:12 2023 From: bonet at grenoble.cnrs.fr (Edgar Bonet) Date: Sun, 29 Oct 2023 21:51:12 +0100 Subject: [Buildroot] Help with DTO In-Reply-To: References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Message-ID: <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> Hello! ?ukasz Przenios?o wrote: > The problem is that thse mentioned commands [gpiodetect, gpioinfo...] > provide no output in my shell (here run one by one with no output): I find it weird that `ls` sees /dev/gpiochip*, yet `gpiodetect` does not detect anything. Are you using the configuration from the tutorial or Buildroot's beaglebone_defconfig? One notable difference between them that the latter uses the Beagleboard Linux kernel from GitHub, whereas the former uses mainline Linux 6.0. I wonder whether this may make a difference for you. Regarding the DT overlay, I have never tried something similar. I found a tutorial from Bootlin.[1] According to it, the overlay is managed just like the defconfig itself. If you write such an overlay, Buildroot should compile it if, on `make menuconfig`, you list it under Kernel / Out-of-tree Device Tree Source file paths Regards, Edgar. [1] https://bootlin.com/blog/using-device-tree-overlays-example-on-beaglebone-boards/ From yann.morin.1998 at free.fr Sun Oct 29 21:03:38 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 22:03:38 +0100 Subject: [Buildroot] [git commit] DEVELOPPERS: fix licheepi entries Message-ID: <20231029210413.4BB268613A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a9d2040b064d8cb0623c7cc75f1036a2f3bf9ee5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Reported-by: Giulio Benetti Signed-off-by: Yann E. MORIN --- DEVELOPERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 57015e245e..6a501f45e9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2159,8 +2159,8 @@ F: package/openrc/ F: package/skeleton-init-openrc/ N: Michel Stempin -F: board/licheepi/ -F: configs/licheepi_zero_defconfig +F: board/sipeed/licheepi_zero/ +F: configs/sipeed_licheepi_zero_defconfig N: Mike Frampton F: package/qcom-db410c-firmware/ From bremenpl at gmail.com Sun Oct 29 21:20:22 2023 From: bremenpl at gmail.com (Bremenpl) Date: Sun, 29 Oct 2023 22:20:22 +0100 Subject: [Buildroot] Help with DTO In-Reply-To: <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> Message-ID: <18b7d4f29f0.284e.a291efdfec6f8802d64589cd992131fb@gmail.com> Hi Edgar, thanks for the answer. > I find it weird that `ls` sees /dev/gpiochip*, yet `gpiodetect` does not > detect anything. Are you using the configuration from the tutorial or > Buildroot's beaglebone_defconfig? One notable difference between them > that the latter uses the Beagleboard Linux kernel from GitHub, whereas > the former uses mainline Linux 6.0. I wonder whether this may make a > difference for you. I am using the one from Buildroot's dir (so the latter). I can try again to use the one from the tutorial for double checking, but for me it seems more as if these tools were broken or there was a problem with stdout? I am giving this guess based on the fact that none of them ge erate no output at all, not even something that would say "no gpios"- unless that is by design for these tools... Do these tools return any output on you BBB with Buildroot image? > Regarding the DT overlay, I have never tried something similar. I found > a tutorial from Bootlin.[1] According to it, the overlay is managed just > like the defconfig itself. If you write such an overlay, Buildroot > should compile it if, on `make menuconfig`, you list it under > > Kernel / Out-of-tree Device Tree Source file paths Yes, this one has caught my eyes. The issue is that it was too high level (or too generic) explanation for me, so I was not able to deduce how to actually do what I want to do. I was hoping to find some more noob friendly manual/ tutorial. Either way, I will keep digging/ trying. Thank you a lot! On October 29, 2023 21:51:14 Edgar Bonet wrote: > Hello! > > ?ukasz Przenios?o wrote: >> The problem is that thse mentioned commands [gpiodetect, gpioinfo...] >> provide no output in my shell (here run one by one with no output): > > I find it weird that `ls` sees /dev/gpiochip*, yet `gpiodetect` does not > detect anything. Are you using the configuration from the tutorial or > Buildroot's beaglebone_defconfig? One notable difference between them > that the latter uses the Beagleboard Linux kernel from GitHub, whereas > the former uses mainline Linux 6.0. I wonder whether this may make a > difference for you. > > Regarding the DT overlay, I have never tried something similar. I found > a tutorial from Bootlin.[1] According to it, the overlay is managed just > like the defconfig itself. If you write such an overlay, Buildroot > should compile it if, on `make menuconfig`, you list it under > > Kernel / Out-of-tree Device Tree Source file paths > > Regards, > > Edgar. > > [1] > https://bootlin.com/blog/using-device-tree-overlays-example-on-beaglebone-boards/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From fontaine.fabrice at gmail.com Sun Oct 29 21:43:09 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 22:43:09 +0100 Subject: [Buildroot] [PATCH 1/1] package/yaml-cpp: bump to version 0.8.0 Message-ID: <20231029214309.8929-1-fontaine.fabrice@gmail.com> https://github.com/jbeder/yaml-cpp/releases/tag/0.8.0 Signed-off-by: Fabrice Fontaine --- package/yaml-cpp/yaml-cpp.hash | 2 +- package/yaml-cpp/yaml-cpp.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/yaml-cpp/yaml-cpp.hash b/package/yaml-cpp/yaml-cpp.hash index 9ad9041439..92bf65d2f7 100644 --- a/package/yaml-cpp/yaml-cpp.hash +++ b/package/yaml-cpp/yaml-cpp.hash @@ -1,3 +1,3 @@ # locally computed -sha256 43e6a9fcb146ad871515f0d0873947e5d497a1c9c60c58cb102a97b47208b7c3 yaml-cpp-0.7.0.tar.gz +sha256 fbe74bbdcee21d656715688706da3c8becfd946d92cd44705cc6098bb23b3a16 yaml-cpp-0.8.0.tar.gz sha256 aa6fcc27be034e41e21dd832f9175bfe694a48491d9e14ff0fa278e19ad14f1b LICENSE diff --git a/package/yaml-cpp/yaml-cpp.mk b/package/yaml-cpp/yaml-cpp.mk index 367df27ff1..1f87956589 100644 --- a/package/yaml-cpp/yaml-cpp.mk +++ b/package/yaml-cpp/yaml-cpp.mk @@ -4,8 +4,8 @@ # ################################################################################ -YAML_CPP_VERSION = 0.7.0 -YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,yaml-cpp-$(YAML_CPP_VERSION)) +YAML_CPP_VERSION = 0.8.0 +YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,$(YAML_CPP_VERSION)) YAML_CPP_INSTALL_STAGING = YES YAML_CPP_LICENSE = MIT YAML_CPP_LICENSE_FILES = LICENSE -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 21:53:48 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 22:53:48 +0100 Subject: [Buildroot] [PATCH 1/1] package/zeromq: bump to version 4.3.5 Message-ID: <20231029215348.25075-1-fontaine.fabrice@gmail.com> - Drop patch (already in version) - Relicensing from LGPL-3.0+ to MPL-2.0: https://github.com/zeromq/libzmq/commit/da31917f4f443df751871ee359f7562cf6d77bde https://github.com/zeromq/libzmq/releases/tag/v4.3.5 Signed-off-by: Fabrice Fontaine --- .../0001-define-missing-rebind-type.patch | 62 ------------------- package/zeromq/zeromq.hash | 9 ++- package/zeromq/zeromq.mk | 6 +- 3 files changed, 7 insertions(+), 70 deletions(-) delete mode 100644 package/zeromq/0001-define-missing-rebind-type.patch diff --git a/package/zeromq/0001-define-missing-rebind-type.patch b/package/zeromq/0001-define-missing-rebind-type.patch deleted file mode 100644 index f7484931e8..0000000000 --- a/package/zeromq/0001-define-missing-rebind-type.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 438d5d88392baffa6c2c5e0737d9de19d6686f0d Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Tue, 20 Dec 2022 21:45:16 +0000 -Subject: [PATCH] src/secure_allocator.hpp: define missing 'rebind' type - -`gcc-13` added an assert to standard headers to make sure custom -allocators have intended implementation of rebind type instead -of inherited rebind. gcc change: - https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=64c986b49558a7 - -Without the fix build fails on this week's `gcc-13` as: - - [ 92%] Building CXX object tests/CMakeFiles/test_security_curve.dir/test_security_curve.cpp.o - In file included from /<>/gcc-13.0.0/include/c++/13.0.0/ext/alloc_traits.h:34, - from /<>/gcc-13.0.0/include/c++/13.0.0/bits/stl_uninitialized.h:64, - from /<>/gcc-13.0.0/include/c++/13.0.0/memory:69, - from tests/../src/secure_allocator.hpp:42, - from tests/../src/curve_client_tools.hpp:49, - from tests/test_security_curve.cpp:53: - /<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h: In instantiation of 'struct std::__allocator_traits_base::__rebind, unsigned char, void>': - /<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:94:11: required by substitution of 'template using std::__alloc_rebind = typename std::__allocator_traits_base::__rebind<_Alloc, _Up>::type [with _Alloc = zmq::secure_allocator_t; _Up = unsigned char]' - /<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:228:8: required by substitution of 'template template using std::allocator_traits< >::rebind_alloc = std::__alloc_rebind<_Alloc, _Tp> [with _Tp = unsigned char; _Alloc = zmq::secure_allocator_t]' - /<>/gcc-13.0.0/include/c++/13.0.0/ext/alloc_traits.h:126:65: required from 'struct __gnu_cxx::__alloc_traits, unsigned char>::rebind' - /<>/gcc-13.0.0/include/c++/13.0.0/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base >' - /<>/gcc-13.0.0/include/c++/13.0.0/bits/stl_vector.h:423:11: required from 'class std::vector >' - tests/../src/curve_client_tools.hpp:64:76: required from here - /<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:70:31: error: static assertion failed: allocator_traits::rebind_alloc must be A - 70 | _Tp>::value, - | ^~~~~ - -The change adds trivial `rebind` definition with expected return type -and satisfies conversion requirements. - -Upstream: merged. Commit: bdd471fa17100fe84f64da348951dab3ee4780bb -Signed-off-by: Sergei Trofimovich -Signed-off-by: Adam Duskett ---- - src/secure_allocator.hpp | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/src/secure_allocator.hpp b/src/secure_allocator.hpp -index e0871dcc99..5e97368911 100644 ---- a/src/secure_allocator.hpp -+++ b/src/secure_allocator.hpp -@@ -99,6 +99,17 @@ bool operator!= (const secure_allocator_t &, const secure_allocator_t &) - #else - template struct secure_allocator_t : std::allocator - { -+ secure_allocator_t () ZMQ_DEFAULT; -+ -+ template -+ secure_allocator_t (const secure_allocator_t &) ZMQ_NOEXCEPT -+ { -+ } -+ -+ template struct rebind -+ { -+ typedef secure_allocator_t other; -+ }; - }; - #endif - } diff --git a/package/zeromq/zeromq.hash b/package/zeromq/zeromq.hash index 5085fbca33..e5ac289656 100644 --- a/package/zeromq/zeromq.hash +++ b/package/zeromq/zeromq.hash @@ -1,7 +1,6 @@ # From https://github.com/zeromq/libzmq/releases -md5 c897d4005a3f0b8276b00b7921412379 zeromq-4.3.4.tar.gz -sha1 47277a64749049123d1401600e8cfbab10a3ae28 zeromq-4.3.4.tar.gz +md5 ae933b1e98411fd7cb8309f9502d2737 zeromq-4.3.5.tar.gz +sha1 bdbf686c8a40ba638e21cf74e34dbb425e108500 zeromq-4.3.5.tar.gz # Locally computed -sha256 c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5 zeromq-4.3.4.tar.gz -sha256 4fd86507c9b486764343065a9e035222869a27b5789efeb4fd93edc85412d7a3 COPYING -sha256 83f32abe61ee58ffb1b007412c08415168c052501dbf56d7a47aaaac52b03ef6 COPYING.LESSER +sha256 6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43 zeromq-4.3.5.tar.gz +sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk index 452c5f4291..137fad1a66 100644 --- a/package/zeromq/zeromq.mk +++ b/package/zeromq/zeromq.mk @@ -4,12 +4,12 @@ # ################################################################################ -ZEROMQ_VERSION = 4.3.4 +ZEROMQ_VERSION = 4.3.5 ZEROMQ_SITE = https://github.com/zeromq/libzmq/releases/download/v$(ZEROMQ_VERSION) ZEROMQ_INSTALL_STAGING = YES ZEROMQ_CONF_OPTS = --disable-Werror --without-documentation -ZEROMQ_LICENSE = LGPL-3.0+ with exceptions -ZEROMQ_LICENSE_FILES = COPYING COPYING.LESSER +ZEROMQ_LICENSE = MPL-2.0 +ZEROMQ_LICENSE_FILES = LICENSE ZEROMQ_CPE_ID_VENDOR = zeromq ZEROMQ_CPE_ID_PRODUCT = libzmq -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 22:02:14 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 23:02:14 +0100 Subject: [Buildroot] [PATCH 1/1] package/uftrace: bump to version 0.14 Message-ID: <20231029220214.32159-1-fontaine.fabrice@gmail.com> Add Upstream link to patch (even if it was rejected) https://github.com/namhyung/uftrace/blob/v0.14/NEWS Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 1 - ...01-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch | 1 + package/uftrace/uftrace.hash | 2 +- package/uftrace/uftrace.mk | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index d5c894ff25..31f6672eb3 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1397,7 +1397,6 @@ package/uboot-tools/0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.pa package/ubus/0001-Install-server-and-client-examples.patch Upstream package/udpcast/0001-fix-musl-build.patch Upstream package/uemacs/01-clear-ixon-termios-flag.patch Upstream -package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch Upstream package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch Upstream package/uhttpd/0001-Remove-Werror.patch Upstream package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch Upstream diff --git a/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch b/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch index 6913012c3b..2855be0d9e 100644 --- a/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch +++ b/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch @@ -11,6 +11,7 @@ Using a #ifdef ... #endif test doesn't work as this value is defined through an enum in glibc. Signed-off-by: Thomas Petazzoni +Upstream: https://github.com/namhyung/uftrace/pull/1389 --- cmds/record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/uftrace/uftrace.hash b/package/uftrace/uftrace.hash index 195f0605c8..c4aad39016 100644 --- a/package/uftrace/uftrace.hash +++ b/package/uftrace/uftrace.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2aad01f27d4f18717b681824c7a28ac3e1efd5e7bbed3ec888a3ea5af60e3700 uftrace-0.12.tar.gz +sha256 b81255bc288e79e96a5b158d4875fa6425ad51c85f4c4c8523c1defb9366ad12 uftrace-0.14.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/uftrace/uftrace.mk b/package/uftrace/uftrace.mk index d36c3bd8f5..c005a32b76 100644 --- a/package/uftrace/uftrace.mk +++ b/package/uftrace/uftrace.mk @@ -4,7 +4,7 @@ # ################################################################################ -UFTRACE_VERSION = 0.12 +UFTRACE_VERSION = 0.14 UFTRACE_SITE = $(call github,namhyung,uftrace,v$(UFTRACE_VERSION)) UFTRACE_LICENSE = GPL-2.0 UFTRACE_LICENSE_FILES = COPYING -- 2.42.0 From james.hilliard1 at gmail.com Sun Oct 29 23:40:00 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:40:00 -0600 Subject: [Buildroot] [PATCH v4 1/4] package/python-poetry-core: new host package Message-ID: <20231029234003.2606006-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- Changes v1 -> v2: - update to 1.7.0 - drop patch which is now upstream --- package/python-poetry-core/python-poetry-core.hash | 5 +++++ package/python-poetry-core/python-poetry-core.mk | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 package/python-poetry-core/python-poetry-core.hash create mode 100644 package/python-poetry-core/python-poetry-core.mk diff --git a/package/python-poetry-core/python-poetry-core.hash b/package/python-poetry-core/python-poetry-core.hash new file mode 100644 index 0000000000..c6b180c852 --- /dev/null +++ b/package/python-poetry-core/python-poetry-core.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/poetry-core/json +md5 7461547cac0e0e9c8cd7463aa87e7470 poetry_core-1.7.0.tar.gz +sha256 8f679b83bd9c820082637beca1204124d5d2a786e4818da47ec8acefd0353b74 poetry_core-1.7.0.tar.gz +# Locally computed sha256 checksums +sha256 f1978133782b90f4733bc308ddb19267c3fe04797c88d9ed3bc219032495a982 LICENSE diff --git a/package/python-poetry-core/python-poetry-core.mk b/package/python-poetry-core/python-poetry-core.mk new file mode 100644 index 0000000000..4ca587b11d --- /dev/null +++ b/package/python-poetry-core/python-poetry-core.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-poetry-core +# +################################################################################ + +PYTHON_POETRY_CORE_VERSION = 1.7.0 +PYTHON_POETRY_CORE_SOURCE = poetry_core-$(PYTHON_POETRY_CORE_VERSION).tar.gz +PYTHON_POETRY_CORE_SITE = https://files.pythonhosted.org/packages/cb/1c/af7f886e723b2dfbaea9b8a739153f227b386dd856cf956f9fd0ed0a502b +PYTHON_POETRY_CORE_SETUP_TYPE = pep517 +PYTHON_POETRY_CORE_LICENSE = MIT +PYTHON_POETRY_CORE_LICENSE_FILES = LICENSE + +$(eval $(host-python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 29 23:40:01 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:40:01 -0600 Subject: [Buildroot] [PATCH v4 2/4] package/python-terminaltables: use correct pep517 build backend In-Reply-To: <20231029234003.2606006-1-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> Message-ID: <20231029234003.2606006-2-james.hilliard1@gmail.com> We need to migrate python-terminaltables to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. Upstream has merged a patch replacing poetry with poetry-core, however we can not backport this using a patch file due to CRLF line ending issues so we will have to apply the change in the patch using sed instead. See upstream commit: https://github.com/matthewdeanmartin/terminaltables/commit/9e3dda0efb54fee6934c744a13a7336d24c6e9e9 Signed-off-by: James Hilliard --- Changes v1 -> v2: - add more details regarding pep517 frontend compatibility --- package/python-terminaltables/python-terminaltables.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package/python-terminaltables/python-terminaltables.mk b/package/python-terminaltables/python-terminaltables.mk index b31ed332b6..385c71ae2d 100644 --- a/package/python-terminaltables/python-terminaltables.mk +++ b/package/python-terminaltables/python-terminaltables.mk @@ -7,8 +7,16 @@ PYTHON_TERMINALTABLES_VERSION = 3.1.10 PYTHON_TERMINALTABLES_SOURCE = terminaltables-$(PYTHON_TERMINALTABLES_VERSION).tar.gz PYTHON_TERMINALTABLES_SITE = https://files.pythonhosted.org/packages/f5/fc/0b73d782f5ab7feba8d007573a3773c58255f223c5940a7b7085f02153c3 -PYTHON_TERMINALTABLES_SETUP_TYPE = setuptools +PYTHON_TERMINALTABLES_SETUP_TYPE = pep517 PYTHON_TERMINALTABLES_LICENSE = MIT PYTHON_TERMINALTABLES_LICENSE_FILES = LICENSE +PYTHON_TERMINALTABLES_DEPENDENCIES = host-python-poetry-core + +# we can't use a normal patch file due to different line endings +define PYTHON_TERMINALTABLES_USE_POETRY_CORE + $(SED) 's/requires = \["poetry>=0.12"\]/requires = \["poetry-core>=1.0.0"\]/' $(@D)/pyproject.toml + $(SED) 's/build-backend = "poetry.masonry.api"/build-backend = "poetry.core.masonry.api"/' $(@D)/pyproject.toml +endef +PYTHON_TERMINALTABLES_POST_PATCH_HOOKS += PYTHON_TERMINALTABLES_USE_POETRY_CORE $(eval $(python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 29 23:40:02 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:40:02 -0600 Subject: [Buildroot] [PATCH v4 3/4] package/python-msgpack: add host cython dependency In-Reply-To: <20231029234003.2606006-1-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> Message-ID: <20231029234003.2606006-3-james.hilliard1@gmail.com> We need host-python-cython for python-msgpack to build correctly. This is a hard error when using a pep517 frontend. Fixes: * Getting build dependencies for wheel... running egg_info writing msgpack.egg-info/PKG-INFO writing dependency_links to msgpack.egg-info/dependency_links.txt writing top-level names to msgpack.egg-info/top_level.txt reading manifest file 'msgpack.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.c' under directory 'msgpack' adding license file 'COPYING' writing manifest file 'msgpack.egg-info/SOURCES.txt' ERROR Missing dependencies: Cython~=0.29.30 Signed-off-by: James Hilliard --- package/python-msgpack/python-msgpack.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-msgpack/python-msgpack.mk b/package/python-msgpack/python-msgpack.mk index 785fec9f00..c0b76e55ab 100644 --- a/package/python-msgpack/python-msgpack.mk +++ b/package/python-msgpack/python-msgpack.mk @@ -10,5 +10,6 @@ PYTHON_MSGPACK_SITE = https://files.pythonhosted.org/packages/dc/a1/eba11a0d4b76 PYTHON_MSGPACK_LICENSE = Apache-2.0 PYTHON_MSGPACK_LICENSE_FILES = COPYING PYTHON_MSGPACK_SETUP_TYPE = setuptools +PYTHON_MSGPACK_DEPENDENCIES = host-python-cython $(eval $(python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 29 23:40:03 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:40:03 -0600 Subject: [Buildroot] [PATCH v4 4/4] package/pkg-python.mk: migrate setuptools to pep517 In-Reply-To: <20231029234003.2606006-1-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> Message-ID: <20231029234003.2606006-4-james.hilliard1@gmail.com> Now that setuptools and its dependencies are using pep517 we can migrate the setuptools infrastructure itself to use the pep517 build frontend. As part of this we need to migrate the all python packages using _BUILD_OPTS to the new config settings format used by the pep517 build frontend. As maturin and setuptools-rust are now both pep517 based we can combine the PYO3 env variables. Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov --- Changes v1 -> v3: - rebase on master - combine setuptools-rust and maturin env variables - drop patch which is now upstream --- package/pkg-python.mk | 83 +++------------------- package/python-evdev/python-evdev.mk | 4 +- package/python-lxml/python-lxml.mk | 8 +-- package/python-m2crypto/python-m2crypto.mk | 4 +- package/python-pillow/python-pillow.mk | 35 +++++---- package/python-psycopg2/python-psycopg2.mk | 5 +- package/python-pyzmq/python-pyzmq.mk | 4 +- package/python-uvloop/python-uvloop.mk | 6 +- 8 files changed, 46 insertions(+), 103 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 28ee4cb85f..21c70df863 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -79,48 +79,6 @@ HOST_PKG_PYTHON_DISTUTILS_ENV = \ HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) -# Target setuptools-based packages -PKG_PYTHON_SETUPTOOLS_ENV = \ - $(PKG_PYTHON_ENV) - -PKG_PYTHON_SETUPTOOLS_CMD = \ - $(if $(wildcard $($(PKG)_BUILDDIR)/setup.py),setup.py,-c 'from setuptools import setup;setup()') - -PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed - -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ - --root=$(TARGET_DIR) - -PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ - --root=$(STAGING_DIR) - -# Host setuptools-based packages -HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - $(HOST_PKG_PYTHON_ENV) - -HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ - --prefix=$(HOST_DIR) \ - --root=/ \ - --single-version-externally-managed - -# Target setuptools-rust-based packages -PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ - $(PKG_PYTHON_SETUPTOOLS_ENV) \ - $(PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" - -# Host setuptools-rust-based packages -HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ - $(HOST_PKG_PYTHON_SETUPTOOLS_ENV) \ - $(HOST_PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)" - # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ $(PKG_PYTHON_ENV) @@ -158,14 +116,14 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages -# Target maturin packages -PKG_PYTHON_MATURIN_ENV = \ +# Target pyo3 packages +PKG_PYTHON_PYO3_ENV = \ $(PKG_PYTHON_PEP517_ENV) \ $(PKG_CARGO_ENV) \ PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -# Host maturin packages -HOST_PKG_PYTHON_MATURIN_ENV = \ +# Host pyo3 packages +HOST_PKG_PYTHON_PYO3_ENV = \ $(HOST_PKG_PYTHON_PEP517_ENV) \ $(HOST_PKG_CARGO_ENV) \ PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)" @@ -207,30 +165,10 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_DISTUTILS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) endif -# Setuptools -else ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) -ifeq ($(4),target) -ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) -$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_ENV) -else -$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) -endif -$(2)_BASE_BUILD_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) build -$(2)_BASE_INSTALL_TARGET_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install --no-compile $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) -$(2)_BASE_INSTALL_STAGING_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) -else -ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV) -else -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) -endif -$(2)_BASE_BUILD_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) build -$(2)_BASE_INSTALL_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) -endif -else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit maturin pep517 setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) -ifeq ($$($(2)_SETUP_TYPE),maturin) -$(2)_BASE_ENV = $$(PKG_PYTHON_MATURIN_ENV) +ifneq ($$(filter maturin setuptools-rust,$$($(2)_SETUP_TYPE)),) +$(2)_BASE_ENV = $$(PKG_PYTHON_PYO3_ENV) else $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) endif @@ -238,8 +176,8 @@ $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS) $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else -ifeq ($$($(2)_SETUP_TYPE),maturin) -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_MATURIN_ENV) +ifneq ($$(filter maturin setuptools-rust,$$($(2)_SETUP_TYPE)),) +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PYO3_ENV) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) endif @@ -299,7 +237,8 @@ $(2)_DEPENDENCIES += host-python-setuptools ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) $(2)_DEPENDENCIES += host-python-setuptools-rust endif -else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) +endif +ifneq ($$(filter flit maturin pep517 setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core diff --git a/package/python-evdev/python-evdev.mk b/package/python-evdev/python-evdev.mk index 5cf62b5160..b509b43e8a 100644 --- a/package/python-evdev/python-evdev.mk +++ b/package/python-evdev/python-evdev.mk @@ -12,7 +12,7 @@ PYTHON_EVDEV_LICENSE = Revised BSD License PYTHON_EVDEV_LICENSE_FILES = LICENSE PYTHON_EVDEV_BUILD_OPTS = \ - build_ecodes \ - --evdev-headers $(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h + -C--build-option=build_ecodes \ + -C--build-option=--evdev-headers=$(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h $(eval $(python-package)) diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk index 3ef3aabdbc..4454f5aa0c 100644 --- a/package/python-lxml/python-lxml.mk +++ b/package/python-lxml/python-lxml.mk @@ -28,11 +28,11 @@ HOST_PYTHON_LXML_DEPENDENCIES = host-libxml2 host-libxslt host-zlib # python-lxml needs these scripts in order to properly detect libxml2 and # libxslt compiler and linker flags PYTHON_LXML_BUILD_OPTS = \ - --xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ - --xml2-config=$(STAGING_DIR)/usr/bin/xml2-config + -C--build-option=--xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ + -C--build-option=--xml2-config=$(STAGING_DIR)/usr/bin/xml2-config HOST_PYTHON_LXML_BUILD_OPTS = \ - --xslt-config=$(HOST_DIR)/bin/xslt-config \ - --xml2-config=$(HOST_DIR)/bin/xml2-config + -C--build-option=--xslt-config=$(HOST_DIR)/bin/xslt-config \ + -C--build-option=--xml2-config=$(HOST_DIR)/bin/xml2-config $(eval $(python-package)) $(eval $(host-python-package)) diff --git a/package/python-m2crypto/python-m2crypto.mk b/package/python-m2crypto/python-m2crypto.mk index 3c28fa3b0d..d95361e689 100644 --- a/package/python-m2crypto/python-m2crypto.mk +++ b/package/python-m2crypto/python-m2crypto.mk @@ -13,7 +13,9 @@ PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig -PYTHON_M2CRYPTO_BUILD_OPTS = --openssl=$(STAGING_DIR)/usr +PYTHON_M2CRYPTO_BUILD_OPTS = \ + -C--build-option=build_ext \ + -C--build-option=--openssl=$(STAGING_DIR)/usr # 0001-Mitigate-the-Bleichenbacher-timing-attacks-in-the-RSA-decryption-API-CVE-2020-25657.patch PYTHON_M2CRYPTO_IGNORE_CVES += CVE-2020-25657 diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk index d9f6fba861..f37218b7c4 100644 --- a/package/python-pillow/python-pillow.mk +++ b/package/python-pillow/python-pillow.mk @@ -14,61 +14,60 @@ PYTHON_PILLOW_CPE_ID_PRODUCT = pillow PYTHON_PILLOW_SETUP_TYPE = setuptools PYTHON_PILLOW_DEPENDENCIES = host-pkgconf -PYTHON_PILLOW_BUILD_OPTS = build_ext --disable-platform-guessing -PYTHON_PILLOW_INSTALL_TARGET_OPTS = $(PYTHON_PILLOW_BUILD_OPTS) +PYTHON_PILLOW_BUILD_OPTS = -C--build-option=build_ext -C--build-option=--disable-platform-guessing ifeq ($(BR2_PACKAGE_FREETYPE),y) PYTHON_PILLOW_DEPENDENCIES += freetype -PYTHON_PILLOW_BUILD_OPTS += --enable-freetype +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-freetype else -PYTHON_PILLOW_BUILD_OPTS += --disable-freetype +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-freetype endif ifeq ($(BR2_PACKAGE_JPEG),y) PYTHON_PILLOW_DEPENDENCIES += jpeg -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg else -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg endif ifeq ($(BR2_PACKAGE_LCMS2),y) PYTHON_PILLOW_DEPENDENCIES += lcms2 -PYTHON_PILLOW_BUILD_OPTS += --enable-lcms +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-lcms else -PYTHON_PILLOW_BUILD_OPTS += --disable-lcms +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-lcms endif ifeq ($(BR2_PACKAGE_LIBXCB),y) PYTHON_PILLOW_DEPENDENCIES += libxcb -PYTHON_PILLOW_BUILD_OPTS += --enable-xcb +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-xcb else -PYTHON_PILLOW_BUILD_OPTS += --disable-xcb +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-xcb endif ifeq ($(BR2_PACKAGE_OPENJPEG),y) PYTHON_PILLOW_DEPENDENCIES += openjpeg -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000 +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg2000 else -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg2000 +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg2000 endif ifeq ($(BR2_PACKAGE_TIFF),y) PYTHON_PILLOW_DEPENDENCIES += tiff -PYTHON_PILLOW_BUILD_OPTS += --enable-tiff +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-tiff else -PYTHON_PILLOW_BUILD_OPTS += --disable-tiff +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-tiff endif ifeq ($(BR2_PACKAGE_WEBP),y) PYTHON_PILLOW_DEPENDENCIES += webp -PYTHON_PILLOW_BUILD_OPTS += --enable-webp +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webp ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) -PYTHON_PILLOW_BUILD_OPTS += --enable-webpmux +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webpmux else -PYTHON_PILLOW_BUILD_OPTS += --disable-webpmux +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webpmux endif else -PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webp -C--build-option=--disable-webpmux endif $(eval $(python-package)) diff --git a/package/python-psycopg2/python-psycopg2.mk b/package/python-psycopg2/python-psycopg2.mk index fa23c2814f..6eea825b1c 100644 --- a/package/python-psycopg2/python-psycopg2.mk +++ b/package/python-psycopg2/python-psycopg2.mk @@ -13,7 +13,8 @@ PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE PYTHON_PSYCOPG2_DEPENDENCIES = postgresql # Force psycopg2 to use the Buildroot provided postgresql version # instead of the one from the host machine -PYTHON_PSYCOPG2_BUILD_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config -PYTHON_PSYCOPG2_INSTALL_TARGET_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config +PYTHON_PSYCOPG2_BUILD_OPTS = \ + -C--build-option=build_ext \ + -C--build-option=--pg-config=$(STAGING_DIR)/usr/bin/pg_config $(eval $(python-package)) diff --git a/package/python-pyzmq/python-pyzmq.mk b/package/python-pyzmq/python-pyzmq.mk index 5792957eaf..1b7bceae5e 100644 --- a/package/python-pyzmq/python-pyzmq.mk +++ b/package/python-pyzmq/python-pyzmq.mk @@ -12,7 +12,7 @@ PYTHON_PYZMQ_LICENSE = LGPL-3.0+, BSD-3-Clause, Apache-2.0 PYTHON_PYZMQ_LICENSE_FILES = COPYING.LESSER COPYING.BSD PYTHON_PYZMQ_DEPENDENCIES = host-python-packaging zeromq PYTHON_PYZMQ_SETUP_TYPE = setuptools -PYTHON_PYZMQ_BUILD_OPTS = --zmq=$(STAGING_DIR)/usr +PYTHON_PYZMQ_BUILD_OPTS = -C--build-option=--zmq=$(STAGING_DIR)/usr # Due to issues with cross-compiling, hardcode to the zeromq in BR define PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION @@ -23,7 +23,7 @@ endef PYTHON_PYZMQ_POST_PATCH_HOOKS += PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y) -PYTHON_PYZMQ_BUILD_OPTS += --enable-drafts +PYTHON_PYZMQ_BUILD_OPTS += -C--build-option=--enable-drafts endif $(eval $(python-package)) diff --git a/package/python-uvloop/python-uvloop.mk b/package/python-uvloop/python-uvloop.mk index 147062cf7b..b072f37313 100644 --- a/package/python-uvloop/python-uvloop.mk +++ b/package/python-uvloop/python-uvloop.mk @@ -10,8 +10,10 @@ PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/ba/86/6dda1760481ab PYTHON_UVLOOP_SETUP_TYPE = setuptools PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT -PYTHON_UVLOOP_BUILD_OPTS = build_ext --inplace --use-system-libuv -PYTHON_UVLOOP_INSTALL_TARGET_OPTS = build_ext --inplace --use-system-libuv PYTHON_UVLOOP_DEPENDENCIES = libuv +PYTHON_UVLOOP_BUILD_OPTS = \ + -C--build-option=build_ext \ + -C--build-option=--inplace \ + -C--build-option=--use-system-libuv $(eval $(python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 29 23:42:07 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:42:07 -0600 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend In-Reply-To: References: <20231028102435.1771460-1-yegorslists@googlemail.com> Message-ID: On Sun, Oct 29, 2023 at 2:12?PM Yegor Yefremov wrote: > > Hi James, all, > > On Sat, Oct 28, 2023 at 12:44?PM James Hilliard > wrote: > > > > On Sat, Oct 28, 2023 at 4:31?AM Yegor Yefremov wrote: > >> > >> Hi all, > >> > >> On Sat, Oct 28, 2023 at 12:25?PM wrote: > >> > > >> > From: Yegor Yefremov > >> > > >> > Since version 41.0.0, setuptools has an experimental PEP517 support. > >> > > >> > Signed-off-by: Yegor Yefremov > >> > --- > >> > package/pkg-python.mk | 2 +- > >> > 1 file changed, 1 insertion(+), 1 deletion(-) > >> > > >> > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > >> > index 28ee4cb85f..00f71f6b19 100644 > >> > --- a/package/pkg-python.mk > >> > +++ b/package/pkg-python.mk > >> > @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > >> > $(2)_DEPENDENCIES += host-python-setuptools-rust > >> > endif > >> > else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > >> > -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > >> > +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer host-python-setuptools > >> > ifeq ($$($(2)_SETUP_TYPE),flit) > >> > $(2)_DEPENDENCIES += host-python-flit-core > >> > endif > >> > >> This patch is more a workaround to convert such packages as > >> python-tornado, python-configobj, etc. to PEP517 infrastructure. These > >> packages just use a build-system section and otherwise rely on the > >> setup.py file: > > > > > > Are these failing to build without PEP517 infrastructure for setuptools? > > No, they are working as expected in both "worlds". > > >> > >> [build-system] > >> requires = ["setuptools"] > >> build-backend = "setuptools.build_meta" > >> > >> What is the plan to support this backend? Just use setuptools-rust or > >> convert "_SETUP_TYPE=setuptools" to PEP517 after the introduction of > >> Python 12.x? > > > > > > I already have a patch converting our setuptools infrastructure to PEP517: > > https://lore.kernel.org/buildroot/20230930152517.1077576-3-james.hilliard1 at gmail.com/ > > I have overlooked your series. Meanwhile, I could test it (as you have > probably seen) and so far, both my packages and tornado could be > successfully built. But at some point, I ran across the python-msgpack > issue, which you have already tried to fix. Are you going to post v4 > of your series containing the python-msgpack fix? Sent as part of v4: https://patchwork.ozlabs.org/project/buildroot/patch/20231029234003.2606006-3-james.hilliard1 at gmail.com/ > > Regards, > Yegor From dlemoal at kernel.org Mon Oct 30 00:27:48 2023 From: dlemoal at kernel.org (Damien Le Moal) Date: Mon, 30 Oct 2023 09:27:48 +0900 Subject: [Buildroot] [PATCH] package/gcc: Fix gcc finale library installation Message-ID: <20231030002748.280144-1-dlemoal@kernel.org> When BR2_TOOLCHAIN_HAS_LIBATOMIC is "n", there is no gcc libatomic.so library to install. For configurations with such settings, compilation fails as gcc-final.mk unconditionally adds libatomic as an installation target. This error, for instance, shows for all Canaan K210 riscv configs, as they all use uclibc flat binary format which disabled libatomic: Fix this by modifying package/gcc/gcc-final/gcc-final.mk to add libatomic to GCC_FINAL_LIBS only for configurations that have BR2_TOOLCHAIN_HAS_LIBATOMIC set to "y". Signed-off-by: Damien Le Moal --- package/gcc/gcc-final/gcc-final.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk index edb9b2f73a..99d7047b5f 100644 --- a/package/gcc/gcc-final/gcc-final.mk +++ b/package/gcc/gcc-final/gcc-final.mk @@ -144,7 +144,11 @@ HOST_GCC_FINAL_POST_INSTALL_HOOKS += TOOLCHAIN_WRAPPER_INSTALL # -cc symlink to the wrapper is not created. HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_INSTALL_WRAPPER_AND_SIMPLE_SYMLINKS -GCC_FINAL_LIBS = libatomic +GCC_FINAL_LIBS = + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GCC_FINAL_LIBS += libatomic +endif ifeq ($(BR2_STATIC_LIBS),) GCC_FINAL_LIBS += libgcc_s -- 2.41.0 From bernd at kuhls.net Mon Oct 30 06:41:01 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 30 Oct 2023 07:41:01 +0100 Subject: [Buildroot] [PATCH 2/2] linux: bump latest version to 6.6 In-Reply-To: <20231030064101.362244-1-bernd@kuhls.net> References: <20231030064101.362244-1-bernd@kuhls.net> Message-ID: <20231030064101.362244-2-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- linux/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 195b0dc00e..f0951df7a2 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -28,8 +28,8 @@ choice prompt "Kernel version" config BR2_LINUX_KERNEL_LATEST_VERSION - bool "Latest version (6.5)" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 if BR2_KERNEL_HEADERS_AS_KERNEL + bool "Latest version (6.6)" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 if BR2_KERNEL_HEADERS_AS_KERNEL config BR2_LINUX_KERNEL_LATEST_CIP_VERSION bool "Latest CIP SLTS version (5.10.162-cip24)" @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.9" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.6" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ -- 2.39.2 From bernd at kuhls.net Mon Oct 30 06:41:00 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 30 Oct 2023 07:41:00 +0100 Subject: [Buildroot] [PATCH 1/2] {toolchain, linux-headers}: add support for 6.6 headers Message-ID: <20231030064101.362244-1-bernd@kuhls.net> And add (and default to) 6.6 to linux-headers. Signed-off-by: Bernd Kuhls --- linux/linux.hash | 1 + package/linux-headers/Config.in.host | 13 +++++++++++-- toolchain/Config.in | 5 +++++ .../toolchain-external-custom/Config.in.options | 6 +++++- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/linux/linux.hash b/linux/linux.hash index 78d1395e66..7b56d19cb5 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,4 +1,5 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256 d926a06c63dd8ac7df3f86ee1ffc2ce2a3b81a2d168484e76b5b389aba8e56d0 linux-6.6.tar.xz sha256 c6662f64713f56bf30e009c32eac15536fad5fd1c02e8a3daf62a0dc2f058fd5 linux-6.5.9.tar.xz sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index bb624147ec..74d445ff27 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -3,7 +3,7 @@ comment "Kernel Header Options" choice prompt "Kernel Headers" default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL - default BR2_KERNEL_HEADERS_6_5 + default BR2_KERNEL_HEADERS_6_6 help Select the kernel version to get headers from. @@ -52,6 +52,10 @@ config BR2_KERNEL_HEADERS_6_1 config BR2_KERNEL_HEADERS_6_5 bool "Linux 6.5.x kernel headers" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 + +config BR2_KERNEL_HEADERS_6_6 + bool "Linux 6.6.x kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 select BR2_KERNEL_HEADERS_LATEST config BR2_KERNEL_HEADERS_VERSION @@ -129,8 +133,12 @@ choice If your kernel headers are more recent than the latest version in the choice, then select the latest version. +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6 + bool "6.6.x or later" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 + config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_5 - bool "6.5.x or later" + bool "6.5.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4 @@ -411,6 +419,7 @@ config BR2_DEFAULT_KERNEL_HEADERS default "5.15.137" if BR2_KERNEL_HEADERS_5_15 default "6.1.60" if BR2_KERNEL_HEADERS_6_1 default "6.5.9" if BR2_KERNEL_HEADERS_6_5 + default "6.6" if BR2_KERNEL_HEADERS_6_6 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ diff --git a/toolchain/Config.in b/toolchain/Config.in index d8081f1b9d..34e0ae2c5f 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -640,6 +640,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 bool select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 select BR2_TOOLCHAIN_HEADERS_LATEST # This should be selected by the latest version, above, to indicate that @@ -653,6 +657,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_HEADERS_AT_LEAST string + default "6.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 default "6.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 default "6.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4 default "6.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3 diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index 556ca7a642..5554d56719 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -162,8 +162,12 @@ choice If your toolchain uses headers newer than the latest version in the choice, then select the latest version. +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_6 + bool "6.6.x or later" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 + config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_5 - bool "6.5.x or later" + bool "6.5.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_4 -- 2.39.2 From peter at korsgaard.com Mon Oct 30 07:40:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 08:40:18 +0100 Subject: [Buildroot] [PATCH 1/1] package/python-django: bump version to 4.2.6 In-Reply-To: <875y2uphio.fsf@48ers.dk> (Peter Korsgaard's message of "Wed, 25 Oct 2023 22:35:27 +0200") References: <20231020082703.1610281-1-adam.duskett@amarulasolutions.com> <875y2uphio.fsf@48ers.dk> Message-ID: <87a5s0lfrx.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Adam" == Adam Duskett writes: >> Tested with tests.package.test_python_django.TestPythonPy3Django.test_run in >> Fedora 38 and Debian 11 >> Signed-off-by: Adam Duskett > Looking at > https://www.djangoproject.com/weblog/2023/oct/04/security-releases/, > Django 4.2.6 was a security release, so it should have been marked as > such (and ideally we would first have bumped to 4.1.12 for easier > backporting). > 4.2.6 apparently also introduced a regression, so it would be good if > you could send a bump to 4.2.7: > https://docs.djangoproject.com/en/dev/releases/4.2.7/ For 2023.02.x and 2023.08.x I have instead bumped to 4.1.12, which contains the same security fix. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 07:39:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 08:39:24 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-django: security bump to version 4.1.12 Message-ID: <20231030074035.5270D86154@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ec7785adc8e9c03e651d879341d1a78391cc8232 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issue: CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator Following the fix for CVE-2019-14232, the regular expressions used in the implementation of django.utils.text.Truncator???s chars() and words() methods (with html=True) were revised and improved. However, these regular expressions still exhibited linear backtracking complexity, so when given a very long, potentially malformed HTML input, the evaluation would still be slow, leading to a potential denial of service vulnerability. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus also vulnerable. The input processed by Truncator, when operating in HTML mode, has been limited to the first five million characters in order to avoid potential performance and memory issues. https://www.djangoproject.com/weblog/2023/oct/04/security-releases/ Signed-off-by: Peter Korsgaard --- package/python-django/python-django.hash | 4 ++-- package/python-django/python-django.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-django/python-django.hash b/package/python-django/python-django.hash index ee1776b44f..4979f20ca5 100644 --- a/package/python-django/python-django.hash +++ b/package/python-django/python-django.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/django/json -md5 3720c85a8c25cacbce2f95d345d0f5ad Django-4.1.10.tar.gz -sha256 56343019a9fd839e2e5bf203daf45f25af79d5bffa4c71d56eae4f4404d82ade Django-4.1.10.tar.gz +md5 6f95e92e5e8964c4a1e00e2fcaadf437 Django-4.1.12.tar.gz +sha256 d02483ad49872238fa59875c1269293fe4f17ecee13c121893607cc0b284696b Django-4.1.12.tar.gz # Locally computed sha256 checksums sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE diff --git a/package/python-django/python-django.mk b/package/python-django/python-django.mk index 61dfd54dcd..944cf1e3ca 100644 --- a/package/python-django/python-django.mk +++ b/package/python-django/python-django.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_DJANGO_VERSION = 4.1.10 +PYTHON_DJANGO_VERSION = 4.1.12 PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz # The official Django site has an unpractical URL -PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/70/d4/eded564fa5928f68771d082ec0eef4d023f9d19dfa1d2923305bc3e62afe +PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/68/76/b1cf87eda3bf5b2d7dd9a23bb4df70ea5511e426a54a04ed2c4ca2ff67cd PYTHON_DJANGO_LICENSE = BSD-3-Clause PYTHON_DJANGO_LICENSE_FILES = LICENSE PYTHON_DJANGO_CPE_ID_VENDOR = djangoproject From peter at korsgaard.com Mon Oct 30 07:35:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 08:35:24 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-django: security bump to version 4.1.12 Message-ID: <20231030074035.CD16086154@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0bc9bf988829d45253e80625ef0709bc22ded8bb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issue: CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator Following the fix for CVE-2019-14232, the regular expressions used in the implementation of django.utils.text.Truncator???s chars() and words() methods (with html=True) were revised and improved. However, these regular expressions still exhibited linear backtracking complexity, so when given a very long, potentially malformed HTML input, the evaluation would still be slow, leading to a potential denial of service vulnerability. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus also vulnerable. The input processed by Truncator, when operating in HTML mode, has been limited to the first five million characters in order to avoid potential performance and memory issues. https://www.djangoproject.com/weblog/2023/oct/04/security-releases/ Signed-off-by: Peter Korsgaard --- package/python-django/python-django.hash | 4 ++-- package/python-django/python-django.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-django/python-django.hash b/package/python-django/python-django.hash index ee1776b44f..4979f20ca5 100644 --- a/package/python-django/python-django.hash +++ b/package/python-django/python-django.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/django/json -md5 3720c85a8c25cacbce2f95d345d0f5ad Django-4.1.10.tar.gz -sha256 56343019a9fd839e2e5bf203daf45f25af79d5bffa4c71d56eae4f4404d82ade Django-4.1.10.tar.gz +md5 6f95e92e5e8964c4a1e00e2fcaadf437 Django-4.1.12.tar.gz +sha256 d02483ad49872238fa59875c1269293fe4f17ecee13c121893607cc0b284696b Django-4.1.12.tar.gz # Locally computed sha256 checksums sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE diff --git a/package/python-django/python-django.mk b/package/python-django/python-django.mk index 61dfd54dcd..944cf1e3ca 100644 --- a/package/python-django/python-django.mk +++ b/package/python-django/python-django.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_DJANGO_VERSION = 4.1.10 +PYTHON_DJANGO_VERSION = 4.1.12 PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz # The official Django site has an unpractical URL -PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/70/d4/eded564fa5928f68771d082ec0eef4d023f9d19dfa1d2923305bc3e62afe +PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/68/76/b1cf87eda3bf5b2d7dd9a23bb4df70ea5511e426a54a04ed2c4ca2ff67cd PYTHON_DJANGO_LICENSE = BSD-3-Clause PYTHON_DJANGO_LICENSE_FILES = LICENSE PYTHON_DJANGO_CPE_ID_VENDOR = djangoproject From bugzilla at busybox.net Mon Oct 30 07:44:37 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 30 Oct 2023 07:44:37 +0000 Subject: [Buildroot] [Bug 15835] New: Incompatibility between network-manager and libcurl 8.4 Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15835 Bug ID: 15835 Summary: Incompatibility between network-manager and libcurl 8.4 Product: buildroot Version: 2023.02.6 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: chhitz at gmx.net CC: buildroot at uclibc.org Target Milestone: --- In buildroot 2023.02.6 libcurl was updated from 8.3 to 8.4. This new libcurl version triggers an issue in network-manager: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1756 In our case the command `nmcli device disconnect` will always time-out when called when connected to the internet and having the connection check enabled. Applying the path from above mentioned issue to network-manager fixes the issue. -- You are receiving this mail because: You are on the CC list for the bug. From fontaine.fabrice at gmail.com Mon Oct 30 08:50:54 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 30 Oct 2023 09:50:54 +0100 Subject: [Buildroot] [PATCH 1/1] package/sedutil: fix build with gcc >= 13 Message-ID: <20231030085054.31859-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 13: In file included from ./Common/log.h:45, from LinuxPBA/LinuxPBA.cpp:25: ./Common/DtaOptions.h:33:5: error: 'uint8_t' does not name a type 33 | uint8_t password; /**< password supplied */ | ^~~~~~~ ./Common/DtaOptions.h:1:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? Fixes: - http://autobuild.buildroot.org/results/b6feb4fb33d595414b61174deb9867e8c30cd186 Signed-off-by: Fabrice Fontaine --- .../0002-include-missing-cstdint.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/sedutil/0002-include-missing-cstdint.patch diff --git a/package/sedutil/0002-include-missing-cstdint.patch b/package/sedutil/0002-include-missing-cstdint.patch new file mode 100644 index 0000000000..07a617c5e7 --- /dev/null +++ b/package/sedutil/0002-include-missing-cstdint.patch @@ -0,0 +1,31 @@ +From 927cd88cad7bea94c2eebecc18f7881f0defaccb Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 23:36:29 -0800 +Subject: [PATCH] include missing + +gcc 13 moved some includes around and as a result +is no longer transitively included [1]. Explicitly include +it for uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj + +Upstream: https://github.com/Drive-Trust-Alliance/sedutil/pull/425 +Signed-off-by: Fabrice Fontaine +--- + Common/DtaOptions.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Common/DtaOptions.h b/Common/DtaOptions.h +index c012af1d..7530a0b7 100644 +--- a/Common/DtaOptions.h ++++ b/Common/DtaOptions.h +@@ -21,6 +21,7 @@ along with sedutil. If not, see . + #ifndef _DTAOPTIONS_H + #define _DTAOPTIONS_H + ++#include + /** Output modes */ + typedef enum _sedutiloutput { + sedutilNormal, -- 2.42.0 From robertbarnes at airmail.cc Mon Oct 30 09:06:25 2023 From: robertbarnes at airmail.cc (robertbarnes at airmail.cc) Date: Mon, 30 Oct 2023 09:06:25 +0000 Subject: [Buildroot] Enable -fPIC for static toolchain libs Message-ID: <1fd098d8770a499f7151d7ca25a541b1@airmail.cc> Hello, I am trying to enable -fPIC when building the static libs for the buildroot toolchain (BR2_STATIC_LIBS=y). I need the static libs to be built with PIC in order to use them when building dynamic libraries (.so's) that uses these static libs. How can I enable all static libs to be compiled with -fPIC? Can I use some global CFLAG/CXXFLAG-override? I understand that this is not very common, so hacks are welcome. For example, there is a config parameter in: Toolchain -> "Additional gcc options" - can I use this parameter to force the buildroot toolchain to always use -fPIC? Please speak up if you have done this yourself, or if you know, or think you know of a solution. I am currently using the LTS (2018.08) version but I can make a switch if it is needed. Best, Robert From yann.morin at orange.com Mon Oct 30 09:22:47 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Mon, 30 Oct 2023 10:22:47 +0100 Subject: [Buildroot] [PATCH 0/2] package/filebeat: new package Message-ID: From: "Yann E. MORIN" Hello All! This two-patch series introduces filebeat, an ElasticSearch-related tool to grab local log files and send them to a remote ElasticSearch server. It is a bit convoluted (see commit log), and requires a little extension in our golang-package infrastructure, which we introduce as the first patch in the series. $ echo BR2_PACKAGE_FILEBEAT=y >filebeat.cfg $ ./utils/test-pkg -c filebeat.cfg -p filebeat -d $(pwd)/test-pkg -a arm-aarch64 [ 1/45]: OK bootlin-aarch64-glibc [ 2/45]: OK bootlin-arcle-hs38-uclibc [ 3/45]: SKIPPED bootlin-armv5-uclibc [ 4/45]: OK bootlin-armv7-glibc [ 5/45]: OK bootlin-armv7m-uclibc [ 6/45]: SKIPPED bootlin-armv7-musl [ 7/45]: OK bootlin-m68k-5208-uclibc [ 8/45]: SKIPPED bootlin-m68k-68040-uclibc [ 9/45]: SKIPPED bootlin-microblazeel-uclibc [10/45]: SKIPPED bootlin-mipsel32r6-glibc [11/45]: SKIPPED bootlin-mipsel-uclibc [12/45]: SKIPPED bootlin-nios2-glibc [13/45]: SKIPPED bootlin-openrisc-uclibc [14/45]: SKIPPED bootlin-powerpc64le-power8-glibc [15/45]: OK bootlin-powerpc-e500mc-uclibc [16/45]: SKIPPED bootlin-riscv32-glibc [17/45]: SKIPPED bootlin-riscv64-glibc [18/45]: SKIPPED bootlin-riscv64-musl [19/45]: SKIPPED bootlin-s390x-z13-glibc [20/45]: OK bootlin-sh4-uclibc [21/45]: SKIPPED bootlin-sparc64-glibc [22/45]: SKIPPED bootlin-sparc-uclibc [23/45]: SKIPPED bootlin-x86-64-glibc [24/45]: OK bootlin-x86-64-musl [25/45]: OK bootlin-x86-64-uclibc [26/45]: OK bootlin-xtensa-uclibc [27/45]: SKIPPED br-arm-basic [28/45]: OK br-arm-full-nothread [29/45]: OK br-arm-full-static [30/45]: SKIPPED br-i386-pentium4-full [31/45]: OK br-i386-pentium-mmx-musl [32/45]: OK br-mips64-n64-full [33/45]: OK br-mips64r6-el-hf-glibc [34/45]: SKIPPED br-powerpc-603e-basic-cpp [35/45]: SKIPPED br-powerpc64-power7-glibc [36/45]: SKIPPED linaro-aarch64-be [37/45]: SKIPPED linaro-aarch64 [38/45]: OK linaro-arm [39/45]: OK sourcery-arm-armv4t [40/45]: SKIPPED sourcery-arm [41/45]: FAILED sourcery-arm-thumb2 [42/45]: FAILED sourcery-mips64 [43/45]: FAILED sourcery-mips [44/45]: SKIPPED sourcery-nios2 [45/45]: SKIPPED 45 builds, 23 skipped, 5 build failed, 0 legal-info failed, 0 show-info failed Analysis of each build failure: - sourcery-arm, sourcery-arm-thumb2: => the failure with the sourcery-arm toolchain is expected: it is very old, and uses binutils that did not not have a ld.gold, so no ld.bfd either, just a plain ld, hence our workaround against the go workaround does not work, as expected. - sourcery-mips64: => host-go does not build, so not a filebeat issue - bootlin-riscv64-glibc, bootlin-riscv64-musl: => filebeat has no implementation for its internal atomic ints on riscv64 - other skips due to go arch dependencies: no go, no beat. Regards, Yann E. MORIN. The following changes since commit bc8d214e988b95b125ad2b9409286cbf820370b0 package/python-django: bump version to 4.2.6 (2023-10-22 20:37:13 +0200) are available as patches in this mail series, for you to apply patches up to dd3cad7bdab3590524ea1273910c66812cb4f4d8 package/filebeat: new package (2023-10-30 10:21:47 +0100) ---------------------------------------------------------------- Yann E. MORIN (2): package/pkg-golang: allow packages to provide extldflags package/filebeat: new package docs/manual/adding-packages-golang.adoc | 6 ++- package/Config.in | 1 + package/filebeat/Config.in | 14 ++++++ package/filebeat/filebeat.default | 1 + package/filebeat/filebeat.hash | 5 ++ package/filebeat/filebeat.mk | 85 +++++++++++++++++++++++++++++++++ package/filebeat/filebeat.service | 13 +++++ package/filebeat/filebeat.yml | 5 ++ package/pkg-golang.mk | 6 ++- 9 files changed, 133 insertions(+), 3 deletions(-) create mode 100644 package/filebeat/Config.in create mode 100644 package/filebeat/filebeat.default create mode 100644 package/filebeat/filebeat.hash create mode 100644 package/filebeat/filebeat.mk create mode 100644 package/filebeat/filebeat.service create mode 100644 package/filebeat/filebeat.yml -- ____________ .-----------------.--------------------: _ :------------------. | Yann E. MORIN | Real-Time Embedded | __/ ) | /"\ ASCII RIBBON | | | Software Designer | _/ - /' | \ / CAMPAIGN | | +33 638.411.245 '--------------------: (_ `--, | X AGAINST | | yann.morin (at) orange.com |_=" ,--' | / \ HTML MAIL | '--------------------------------------:______/_____:------------------' ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From yann.morin at orange.com Mon Oct 30 09:22:49 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Mon, 30 Oct 2023 10:22:49 +0100 Subject: [Buildroot] [PATCH 1/2] package/pkg-golang: allow packages to provide extldflags In-Reply-To: References: Message-ID: From: "Yann E. MORIN" For some packages, it may be necessary to pass extra extldflags. For example, some packages will need to be able to specify what ld to use, and so will need to pass -fuse-ld={bfd,gold} as extldflags. Introduce FOO_EXTLDFLAGS, that packages can set to pass such flags. Signed-off-by: Yann E. MORIN --- docs/manual/adding-packages-golang.adoc | 6 ++++-- package/pkg-golang.mk | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/manual/adding-packages-golang.adoc b/docs/manual/adding-packages-golang.adoc index c952cde577..c238050096 100644 --- a/docs/manual/adding-packages-golang.adoc +++ b/docs/manual/adding-packages-golang.adoc @@ -84,8 +84,10 @@ therefore only use a few of them, or none. infrastructure will automatically generate a minimal +go.mod+ file in the package source tree if it doesn't exist. -* +FOO_LDFLAGS+ and +FOO_TAGS+ can be used to pass respectively the - +LDFLAGS+ or the +TAGS+ to the +go+ build command. +* +FOO_LDFLAGS+, +FOO_EXTLDFLAGS+, and +FOO_TAGS+ can be used to pass + respectively the go +LDFLAGS+ (via the `-ldflags` command line flag), + the external linker flags +EXTLDFLAGS+ (via the `-extldflags` + command line flag), or the +TAGS+ to the +go+ build command. * +FOO_BUILD_TARGETS+ can be used to pass the list of targets that should be built. If +FOO_BUILD_TARGETS+ is not specified, it diff --git a/package/pkg-golang.mk b/package/pkg-golang.mk index 7ba82284f3..ba49ce153e 100644 --- a/package/pkg-golang.mk +++ b/package/pkg-golang.mk @@ -101,10 +101,14 @@ ifndef $(2)_BUILD_CMDS ifeq ($(4),target) ifeq ($(BR2_STATIC_LIBS),y) -$(2)_LDFLAGS += -extldflags '-static' +$(2)_EXTLDFLAGS += -static $(2)_TAGS += osusergo netgo endif +ifneq ($$($(2)_EXTLDFLAGS),) +$(2)_LDFLAGS += -extldflags '$$($(2)_EXTLDFLAGS)' +endif + # Build package for target define $(2)_BUILD_CMDS $$(foreach d,$$($(2)_BUILD_TARGETS),\ -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From yann.morin at orange.com Mon Oct 30 09:22:50 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Mon, 30 Oct 2023 10:22:50 +0100 Subject: [Buildroot] [PATCH 2/2] package/filebeat: new package In-Reply-To: References: Message-ID: From: "Yann E. MORIN" filebeat is one of the many Elastic 'beats' that can send data to a remote ElasticSearch (ES) engine or to a remote logstash. This is a go package, but the ES developers are using layers upon layers of abstractions to try and fail to provide an easier build mechanism. First, they use a convoluted set of Makefiles to wrap a lot of arcane commands. There is no obvious way to follow what's going on, especially as... ... second they use mage [0] as a first layer to abstract 'go build', but mage really does not play nicely in cross-compilation; it is a PITA to use, and it very easily gets confused. Building natively is also very fragile and heavily dependent on the user's environment (env, path, tools versions...), which makes it fails quite easily and spectacularly... But in the end, a simple "go build" works like a charm to build the beats' executable. This means we can just use Buildroot's golang-package infrastructure. Wee! However, there does not seem to be actual commands to generate the dataset (like the modules definitions or the kibana dashboards) from source (they basically are YAML descriptions, but they need to be aggregated in a special way, not just concatenated); even running the Makefile as described in the documentation for a native build does not produce those modules... To work around this issue, we just grab the release tarball, and copy all the data from it. This is an ugly workaround, indeed, but this is the best we can do before our mental health degrades beyond hope... On AArch64, the link may fail with errors like: [...] github.com/elastic/beats/v7/filebeat # github.com/elastic/beats/v7/filebeat [...]/output/per-package/filebeat/host/lib/go/pkg/tool/linux_amd64/link: running [...]/output/per-package/filebeat/host/bin/aarch64-linux-gcc failed: exit status 1 collect2: fatal error: cannot find ?ld? compilation terminated. The error happens because go, on AArch64, will forcibly want to use ld.gold, as a workaround for a alleged binutils breakage: https://github.com/golang/go/commit/3c8d6af8e02bbf230c2bef9f181d8ea393068299 https://github.com/golang/go/issues/22040 https://go-review.googlesource.com/c/go/+/22141 https://sourceware.org/bugzilla/show_bug.cgi?id=19962 This is supposedly fixed in binutils 2.36, but go still wants to use ld.gold. As not all toolchains have gold, force use of ld.bfd, which in practice has been shown to work correctly with recent-ish binutils versions: the link succeeds, and the program runs. This may still break on older toolchains, especially those with older binutils that did not have ld.gold (so they would not have ld.bfd either, just ld), but better have breakage on older toolchains, for which there's not much we can do, than on newer ones. (the same issue also occurred for ARM, but the ld.gold requirement was dropped in cd77738198ff, first included in go 1.21, which is now what we use in Buildroot) On riscv64, the build fails because of missing atomic ints: github.com/elastic/beats/v7/libbeat/statestore github.com/elastic/beats/v7/filebeat/inputsource/common/streaming # github.com/elastic/beats/v7/libbeat/statestore libbeat/statestore/store.go:28:18: undefined: atomic.Int libbeat/statestore/store.go:48:20: undefined: atomic.MakeInt github.com/elastic/beats/v7/libbeat/processors/ratelimit github.com/elastic/beats/v7/filebeat/input/kafka # github.com/elastic/beats/v7/filebeat/inputsource/common/streaming filebeat/inputsource/common/streaming/listener.go:48:25: undefined: atomic.Int # github.com/elastic/beats/v7/libbeat/processors/ratelimit libbeat/processors/ratelimit/token_bucket.go:53:20: undefined: atomic.Uint libbeat/processors/ratelimit/token_bucket.go:96:21: undefined: atomic.Uint libbeat/processors/ratelimit/token_bucket.go:193:34: undefined: atomic.MakeUint # github.com/elastic/beats/v7/filebeat/input/kafka filebeat/input/kafka/input.go:395:23: undefined: atomic.MakeInt That's because beats reimplement/wrap atomic ints, but the file implementing those is not whitelisted for riscv64 (yes, 7.0 because this is what kafka's input module imports even in 8.2.2): https://github.com/elastic/beats/blame/7.0/libbeat/common/atomic/atomic64.go#L18 and it has still not changed in 8.2.2 anyway: https://github.com/elastic/beats/blame/v8.2.2/libbeat/common/atomic/atomic64.go#L18 (thanks to Vincent Fazzio for pointing this out.) Finally, we only package version 8.8.2, because any later version can't be vendored, see: https://github.com/elastic/beats/issues/36949 [0] https://magefile.org/ Signed-off-by: Yann E. MORIN Cc: Vincent Fazio --- package/Config.in | 1 + package/filebeat/Config.in | 14 +++++ package/filebeat/filebeat.default | 1 + package/filebeat/filebeat.hash | 5 ++ package/filebeat/filebeat.mk | 85 +++++++++++++++++++++++++++++++ package/filebeat/filebeat.service | 13 +++++ package/filebeat/filebeat.yml | 5 ++ 7 files changed, 124 insertions(+) create mode 100644 package/filebeat/Config.in create mode 100644 package/filebeat/filebeat.default create mode 100644 package/filebeat/filebeat.hash create mode 100644 package/filebeat/filebeat.mk create mode 100644 package/filebeat/filebeat.service create mode 100644 package/filebeat/filebeat.yml diff --git a/package/Config.in b/package/Config.in index 4e489c4706..11deb7ccee 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2350,6 +2350,7 @@ endif source "package/fail2ban/Config.in" source "package/fastd/Config.in" source "package/fcgiwrap/Config.in" + source "package/filebeat/Config.in" source "package/firewalld/Config.in" source "package/flannel/Config.in" source "package/fmc/Config.in" diff --git a/package/filebeat/Config.in b/package/filebeat/Config.in new file mode 100644 index 0000000000..78adae11cd --- /dev/null +++ b/package/filebeat/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_FILEBEAT + bool "filebeat" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on !BR2_RISCV_64 + help + Lightweight data shippers + + Beats is a free and open platform for single-purpose data + shippers. They send data from hundreds or thousands of + machines and systems to Logstash or Elasticsearch. + + This package only installs filebeat. + + https://www.elastic.co/products/beats diff --git a/package/filebeat/filebeat.default b/package/filebeat/filebeat.default new file mode 100644 index 0000000000..ab51c81018 --- /dev/null +++ b/package/filebeat/filebeat.default @@ -0,0 +1 @@ +FILEBEAT_OPTS=-c /etc/filebeat/filebeat.yml diff --git a/package/filebeat/filebeat.hash b/package/filebeat/filebeat.hash new file mode 100644 index 0000000000..11a86f81f2 --- /dev/null +++ b/package/filebeat/filebeat.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 713d109760bbdfcdb30651861bd3899945114325ed65cb2bd744d7ff02c399a9 filebeat-8.8.2.tar.gz +sha256 23e50a1dead216922519026a878d3c75cc2860eb4ca6de186ac64100f85623f3 filebeat-8.8.2-linux-x86_64.tar.gz +sha256 7f0eb504dd0b8b090b52cff384296249be3168374f271b142ce03130c987c8e5 LICENSE.txt +sha256 928b3ded5ea8db33fadb8e5bea8bb10e1f79d2a904e9c97745f54b57e6a1588b NOTICE.txt diff --git a/package/filebeat/filebeat.mk b/package/filebeat/filebeat.mk new file mode 100644 index 0000000000..02cc8d917f --- /dev/null +++ b/package/filebeat/filebeat.mk @@ -0,0 +1,85 @@ +################################################################################ +# +# filebeat +# +################################################################################ + +# When updating, regenerate the list of licenses, below +FILEBEAT_VERSION = 8.8.2 +FILEBEAT_SITE = $(call github,elastic,beats,v$(FILEBEAT_VERSION)) +FILEBEAT_DL_SUBDIR = elastic-beats +FILEBEAT_EXTRA_SITE = https://artifacts.elastic.co/downloads/beats/filebeat +FILEBEAT_EXTRA_SOURCE = filebeat-$(FILEBEAT_VERSION)-linux-x86_64.tar.gz +FILEBEAT_EXTRA_DOWNLOADS = $(FILEBEAT_EXTRA_SITE)/$(FILEBEAT_EXTRA_SOURCE) + +# License list obtained with: +# sed -r -e '/^Licence type.*: (.+)$/!d; s//\1/;' NOTICE.txt |sort -u +FILEBEAT_LICENSE = \ + Apache-2.0, \ + BSD, \ + BSD-2-Clause, \ + BSD-2-Clause-FreeBSD, \ + BSD-3-Clause, \ + Elastic, \ + ISC, \ + MIT, \ + MPL-2.0 + +FILEBEAT_LICENSE_FILES = LICENSE.txt NOTICE.txt + +FILEBEAT_GOMOD = github.com/elastic/beats/v7 +FILEBEAT_BUILD_TARGETS = filebeat + +ifeq ($(BR2_arm)$(BR2_aarch64),y) +# On aarch64, go will forcibly use gold, on the assumption that ld.bfd is +# broken, but that is supposedly fixed on binutils master, and at least +# released in 2.36 onward. So, we force it back to use ld.bfd, as not all +# toolchains have ld.gold (for example, the Bootlin toolchians, built with +# Buildroot, do not). +FILEBEAT_EXTLDFLAGS += -fuse-ld=bfd +endif + +FILEBEAT_PREBUILT_MODULES_DIR = $(@D)/.elastic-pre-built-for-modules + +# We extract the pre-built release of filebeat, just for the modules +# and stuff (building those from the actual source tree seems to be +# so arcanne that it is not documented anywhere). Modules are but +# a large collection of yaml and json files, though. +define FILEBEAT_EXTRACT_MODULES + $(Q)mkdir -p $(FILEBEAT_PREBUILT_MODULES_DIR) + $(Q)$(call suitable-extractor,$(FILEBEAT_EXTRA_SOURCE)) \ + $(FILEBEAT_DL_DIR)/$(FILEBEAT_EXTRA_SOURCE) \ + |$(TAR) --strip-components=1 \ + -C $(FILEBEAT_PREBUILT_MODULES_DIR) \ + $(TAR_OPTIONS) - +endef +FILEBEAT_POST_EXTRACT_HOOKS += FILEBEAT_EXTRACT_MODULES + +# This layout mirrors the one in the .deb released by Elastic +define FILEBEAT_INSTALL_MODULES + $(Q)mkdir -p $(TARGET_DIR)/etc/filebeat $(TARGET_DIR)/usr/share/filebeat + cp -a \ + $(FILEBEAT_PREBUILT_MODULES_DIR)/fields.yml \ + $(FILEBEAT_PREBUILT_MODULES_DIR)/modules.d \ + $(TARGET_DIR)/etc/filebeat/ + cp -a \ + $(FILEBEAT_PREBUILT_MODULES_DIR)/kibana \ + $(FILEBEAT_PREBUILT_MODULES_DIR)/module \ + $(TARGET_DIR)/usr/share/filebeat/ +endef +FILEBEAT_POST_INSTALL_TARGET_HOOKS += FILEBEAT_INSTALL_MODULES + +define FILEBEAT_INSTALL_CONFIG + $(INSTALL) -D -m 0644 $(FILEBEAT_PKGDIR)/filebeat.yml \ + $(TARGET_DIR)/etc/filebeat/filebeat.yml + $(INSTALL) -D -m 0644 $(FILEBEAT_PKGDIR)/filebeat.default \ + $(TARGET_DIR)/etc/default/filebeat +endef +FILEBEAT_POST_INSTALL_TARGET_HOOKS += FILEBEAT_INSTALL_CONFIG + +define FILEBEAT_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(FILEBEAT_PKGDIR)/filebeat.service \ + $(TARGET_DIR)/usr/lib/systemd/system/filebeat.service +endef + +$(eval $(golang-package)) diff --git a/package/filebeat/filebeat.service b/package/filebeat/filebeat.service new file mode 100644 index 0000000000..08234f50b6 --- /dev/null +++ b/package/filebeat/filebeat.service @@ -0,0 +1,13 @@ +[Unit] +Description=Filebeat +Wants=network-online.target +After=network-online.target + +[Service] +UMask=0027 +EnvironmentFile=/etc/default/filebeat +ExecStart=/usr/bin/filebeat --environment systemd $FILEBEAT_OPTS +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/package/filebeat/filebeat.yml b/package/filebeat/filebeat.yml new file mode 100644 index 0000000000..147c1d55dd --- /dev/null +++ b/package/filebeat/filebeat.yml @@ -0,0 +1,5 @@ +path: + home: /usr/share/filebeat + config: /etc/filebeat + data: /var/lib/filebeat + logs: /var/log/filebeat -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From etienne.carriere at foss.st.com Mon Oct 30 09:30:02 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:30:02 +0100 Subject: [Buildroot] [PATCH 5/5] board/qemu/arm-vexpress-tz: fix info regarding Qemu enable=on In-Reply-To: <20231030093002.1047149-1-etienne.carriere@foss.st.com> References: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Message-ID: <20231030093002.1047149-5-etienne.carriere@foss.st.com> Since Qemu 6.0.0, a warning appear in the log if a short-form boolean option is used. This was fixed by Romain for the main cmdline description (see 04afe86cd7e8 ("board/qemu/arm-vexpress-tz: use enable=on")) but was not updated in the alternate cmdlines for when using a dual console or a GDB debug setup. By the way, fix description mentioning qemu-system-arm command line option -S that is an uppercase S, not a lower case s. Signed-off-by: Etienne Carriere --- board/qemu/arm-vexpress-tz/readme.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/qemu/arm-vexpress-tz/readme.txt b/board/qemu/arm-vexpress-tz/readme.txt index 3036dd54ca..3e84fe6391 100644 --- a/board/qemu/arm-vexpress-tz/readme.txt +++ b/board/qemu/arm-vexpress-tz/readme.txt @@ -62,7 +62,7 @@ consoles over telnet connections: -serial telnet:127.0.0.1:1235,server \ -serial telnet:127.0.0.1:1236,server \ -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable,target=native \ + -semihosting-config enable=on,target=native \ -bios flash.bin QEMU is now waiting for the telnet connection. From another shell, open a @@ -91,7 +91,7 @@ From a first shell: -smp 1 -s -m 1024 -d unimp \ -serial stdio \ -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable,target=native \ + -semihosting-config enable=on,target=native \ -bios flash.bin \ -S @@ -123,7 +123,7 @@ Emulation has started, TF-A has loaded OP-TEE and U-boot images in memory and has booted OP-TEE. Emulation stopped at OP-TEE core entry. Note: QEMU hosts a GDB service listening to TCP port 1234, as set through -qemu-system-arm command line option -s. +qemu-system-arm command line option -S. Note: To build the GDB server, the following extra options have to be added to the Buildroot configuration: -- 2.25.1 From bremenpl at gmail.com Mon Oct 30 09:44:07 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Mon, 30 Oct 2023 09:44:07 +0000 Subject: [Buildroot] Help with DTO In-Reply-To: <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> Message-ID: Hi Edgar and all, One notable difference between them that the latter uses the Beagleboard Linux kernel from GitHub, whereas the former uses mainline Linux 6.0. I wonder whether this may make a difference for you. This was a good guess. I have re-run the config as per the tutorial, from scratch, with latest kernel. The gpiodetect and gpioinfo now work: # gpiodetect gpiochip0 [gpio-0-31] (32 lines) gpiochip1 [gpio-32-63] (32 lines) gpiochip2 [gpio-64-95] (32 lines) gpiochip3 [gpio-96-127] (32 lines) # gpioinfo gpiochip0 - 32 lines: line 0: "P8_25 [mmc1_dat0]" unused input active-high line 1: "[mmc1_dat1]" unused input active-high line 2: "P8_5 [mmc1_dat2]" unused input active-high line 3: "P8_6 [mmc1_dat3]" unused input active-high line 4: "P8_23 [mmc1_dat4]" unused input active-high line 5: "P8_22 [mmc1_dat5]" unused input active-high line 6: "P8_3 [mmc1_dat6]" unused input active-high line 7: "P8_4 [mmc1_dat7]" unused input active-high line 8: "NC" unused input active-high line 9: "NC" unused input active-high line 10: "NC" unused input active-high line 11: "NC" unused input active-high line 12: "P8_12" unused input active-high line 13: "P8_11" unused input active-high line 14: "P8_16" unused input active-high line 15: "P8_15" unused input active-high line 16: "P9_15A" unused input active-high line 17: "P9_23" unused input active-high line 18: "P9_14 [ehrpwm1a]" unused input active-high line 19: "P9_16 [ehrpwm1b]" unused input active-high line 20: "[emmc rst]" unused input active-high line 21: "[usr0 led]" unused input active-high line 22: "[usr1 led]" unused input active-high line 23: "[usr2 led]" unused input active-high line 24: "[usr3 led]" unused input active-high line 25: "[hdmi irq]" unused input active-high line 26: "[usb vbus oc]" unused input active-high line 27: "[hdmi audio]" "enable" output active-high [used] line 28: "P9_12" unused input active-high line 29: "P8_26" unused input active-high line 30: "P8_21 [emmc]" unused input active-high line 31: "P8_20 [emmc]" unused input active-high gpiochip1 - 32 lines: line 0: "P9_15B" unused input active-high line 1: "P8_18" unused input active-high line 2: "P8_7" unused input active-high line 3: "P8_8" unused input active-high line 4: "P8_10" unused input active-high line 5: "P8_9" unused input active-high line 6: "P8_45 [hdmi]" unused input active-high line 7: "P8_46 [hdmi]" unused input active-high line 8: "P8_43 [hdmi]" unused input active-high line 9: "P8_44 [hdmi]" unused input active-high line 10: "P8_41 [hdmi]" unused input active-high line 11: "P8_42 [hdmi]" unused input active-high line 12: "P8_39 [hdmi]" unused input active-high line 13: "P8_40 [hdmi]" unused input active-high line 14: "P8_37 [hdmi]" unused input active-high line 15: "P8_38 [hdmi]" unused input active-high line 16: "P8_36 [hdmi]" unused input active-high line 17: "P8_34 [hdmi]" unused input active-high line 18: "[rmii1_rxd3]" unused input active-high line 19: "[rmii1_rxd2]" unused input active-high line 20: "[rmii1_rxd1]" unused input active-high line 21: "[rmii1_rxd0]" unused input active-high line 22: "P8_27 [hdmi]" unused input active-high line 23: "P8_29 [hdmi]" unused input active-high line 24: "P8_28 [hdmi]" unused input active-high line 25: "P8_30 [hdmi]" unused input active-high line 26: "[mmc0_dat3]" unused input active-high line 27: "[mmc0_dat2]" unused input active-high line 28: "[mmc0_dat1]" unused input active-high line 29: "[mmc0_dat0]" unused input active-high line 30: "[mmc0_clk]" unused input active-high line 31: "[mmc0_cmd]" unused input active-high gpiochip2 - 32 lines: line 0: "[mii col]" unused input active-high line 1: "[mii crs]" unused input active-high line 2: "[mii rx err]" unused input active-high line 3: "[mii tx en]" unused input active-high line 4: "[mii rx dv]" unused input active-high line 5: "[i2c0 sda]" unused input active-high line 6: "[i2c0 scl]" unused input active-high line 7: "[jtag emu0]" unused input active-high line 8: "[jtag emu1]" unused input active-high line 9: "[mii tx clk]" unused input active-high line 10: "[mii rx clk]" unused input active-high line 11: "NC" unused input active-high line 12: "NC" unused input active-high line 13: "[usb vbus en]" unused input active-high line 14: "P9_31 [spi1_sclk]" unused input active-high line 15: "P9_29 [spi1_d0]" unused input active-high line 16: "P9_30 [spi1_d1]" unused input active-high line 17: "P9_28 [spi1_cs0]" unused input active-high line 18: "P9_42B [ecappwm0]" unused input active-high line 19: "P9_27" unused input active-high line 20: "P9_41A" unused input active-high line 21: "P9_25" unused input active-high line 22: "NC" unused input active-high line 23: "NC" unused input active-high line 24: "NC" unused input active-high line 25: "NC" unused input active-high line 26: "NC" unused input active-high line 27: "NC" unused input active-high line 28: "NC" unused input active-high line 29: "NC" unused input active-high line 30: "NC" unused input active-high line 31: "NC" unused input active-high gpiochip3 - 32 lines: line 0: "[mdio_data]" unused input active-high line 1: "[mdio_clk]" unused input active-high line 2: "P9_22 [spi0_sclk]" unused input active-high line 3: "P9_21 [spi0_d0]" unused input active-high line 4: "P9_18 [spi0_d1]" unused input active-high line 5: "P9_17 [spi0_cs0]" unused input active-high line 6: "[mmc0_cd]" "cd" input active-low [used] line 7: "P8_42A [ecappwm0]" unused input active-high line 8: "P8_35 [lcd d12]" unused input active-high line 9: "P8_33 [lcd d13]" unused input active-high line 10: "P8_31 [lcd d14]" unused input active-high line 11: "P8_32 [lcd d15]" unused input active-high line 12: "P9_20 [i2c2_sda]" unused input active-high line 13: "P9_19 [i2c2_scl]" unused input active-high line 14: "P9_26 [uart1_rxd]" unused input active-high line 15: "P9_24 [uart1_txd]" unused input active-high line 16: "[rmii1_txd3]" unused input active-high line 17: "[rmii1_txd2]" unused input active-high line 18: "[usb0_drvvbus]" unused input active-high line 19: "[hdmi cec]" unused input active-high line 20: "P9_41B" unused input active-high line 21: "[rmii1_txd1]" unused input active-high line 22: "P8_19 [ehrpwm2a]" unused input active-high line 23: "P8_13 [ehrpwm2b]" unused input active-high line 24: "NC" unused input active-high line 25: "NC" unused input active-high line 26: "P8_14" unused input active-high line 27: "P8_17" unused input active-high line 28: "[rmii1_txd0]" unused input active-high line 29: "[rmii1_refclk]" unused input active-high line 30: "P9_11 [uart4_rxd]" unused input active-high line 31: "P9_13 [uart4_txd]" unused input active-high Also it is possible to use the given tools to manipulate the GPIOs, as opposed to sysfs in this build... Any idea who to inform about the broken lingpiod in the beaglebone_defconfig? -- ?ukasz Przenios?o ------ Original Message ------ >From "Edgar Bonet" To "?ukasz Przenios?o" Cc buildroot at buildroot.org Date 2023-10-29 21:51:12 Subject Re: [Buildroot] Help with DTO >Hello! > >?ukasz Przenios?o wrote: >> The problem is that thse mentioned commands [gpiodetect, gpioinfo...] >> provide no output in my shell (here run one by one with no output): > >I find it weird that `ls` sees /dev/gpiochip*, yet `gpiodetect` does not >detect anything. Are you using the configuration from the tutorial or >Buildroot's beaglebone_defconfig? One notable difference between them >that the latter uses the Beagleboard Linux kernel from GitHub, whereas >the former uses mainline Linux 6.0. I wonder whether this may make a >difference for you. > >Regarding the DT overlay, I have never tried something similar. I found >a tutorial from Bootlin.[1] According to it, the overlay is managed just >like the defconfig itself. If you write such an overlay, Buildroot >should compile it if, on `make menuconfig`, you list it under > > Kernel / Out-of-tree Device Tree Source file paths > >Regards, > >Edgar. > >[1] https://bootlin.com/blog/using-device-tree-overlays-example-on-beaglebone-boards/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From etienne.carriere at foss.st.com Mon Oct 30 09:29:59 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:29:59 +0100 Subject: [Buildroot] [PATCH 2/5] package/optee-client: bump to version 4.0.0 In-Reply-To: <20231030093002.1047149-1-etienne.carriere@foss.st.com> References: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Message-ID: <20231030093002.1047149-2-etienne.carriere@foss.st.com> Bumps OP-TEE client package version to OP-TEE release 4.0.0. Signed-off-by: Etienne Carriere --- package/optee-client/optee-client.hash | 4 ++-- package/optee-client/optee-client.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-client/optee-client.hash b/package/optee-client/optee-client.hash index 69016eae11..bb97820ab1 100644 --- a/package/optee-client/optee-client.hash +++ b/package/optee-client/optee-client.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_client/archive/3.21.0/optee-client-3.21.0.tar.gz -sha256 368164a539b85557d2079fa6cd839ec444869109f96de65d6569e58b0615d026 optee-client-3.21.0.tar.gz +# From https://github.com/OP-TEE/optee_client/archive/4.0.0/optee-client-4.0.0.tar.gz +sha256 bcdac9c3a9f2e93c64d114667cc6d1feddf9f978992cdc2d59745885f9bd8fbe optee-client-4.0.0.tar.gz # Locally computed sha256 fda8385993f112d7ca61b88b54ba5b4cbeec7e43a0f9b317d5186703c1985e8f LICENSE diff --git a/package/optee-client/optee-client.mk b/package/optee-client/optee-client.mk index 4b95842efa..99c922a171 100644 --- a/package/optee-client/optee-client.mk +++ b/package/optee-client/optee-client.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_CLIENT_VERSION = 3.21.0 +OPTEE_CLIENT_VERSION = 4.0.0 OPTEE_CLIENT_SITE = $(call github,OP-TEE,optee_client,$(OPTEE_CLIENT_VERSION)) OPTEE_CLIENT_LICENSE = BSD-2-Clause OPTEE_CLIENT_LICENSE_FILES = LICENSE -- 2.25.1 From etienne.carriere at foss.st.com Mon Oct 30 09:29:58 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:29:58 +0100 Subject: [Buildroot] [PATCH 1/5] boot/optee-os: bump to version 4.0.0 Message-ID: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Bumps OP-TEE OS package version to OP-TEE release 4.0.0. Signed-off-by: Etienne Carriere --- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in index cc2c90b5ac..75bf00d450 100644 --- a/boot/optee-os/Config.in +++ b/boot/optee-os/Config.in @@ -18,7 +18,7 @@ choice Select the version of OP-TEE OS you want to use config BR2_TARGET_OPTEE_OS_LATEST - bool "3.21.0" + bool "4.0.0" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY help @@ -70,7 +70,7 @@ endif config BR2_TARGET_OPTEE_OS_VERSION string - default "3.21.0" if BR2_TARGET_OPTEE_OS_LATEST + default "4.0.0" if BR2_TARGET_OPTEE_OS_LATEST default "custom" if BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ if BR2_TARGET_OPTEE_OS_CUSTOM_GIT diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash index cf3ee7a36e..1f13931ca2 100644 --- a/boot/optee-os/optee-os.hash +++ b/boot/optee-os/optee-os.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_os/archive/3.21.0/optee-os-3.21.0.tar.gz -sha256 92a16e841b0bdb4bfcb1c20b6a1bd3309092203d534ed167dfdb5a5f395bf60b optee-os-3.21.0.tar.gz +# From https://github.com/OP-TEE/optee_os/archive/4.0.0/optee-os-4.0.0.tar.gz +sha256 2c2c9525b36c96dfad6216520721b8e9663e6cacc61d0108a0c8bffc0ea175f1 optee-os-4.0.0.tar.gz # Locally computed sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE -- 2.25.1 From aperez at igalia.com Mon Oct 30 10:11:04 2023 From: aperez at igalia.com (Adrian Perez de Castro) Date: Mon, 30 Oct 2023 12:11:04 +0200 Subject: [Buildroot] [PATCH 0/3] Update wlroots to 0.16.x and dependent packages Message-ID: <20231030101115.2214402-1-aperez@igalia.com> Hello! This patch series updates wlroots to the most recent stable release, plus the cage and sway compositors to their latest releases as well. These are the two only Buildroot packages which depend on wlroots, and part of their changes includes support for building against wlroots 0.16.x, which had some bits of its public API changed. Cheers, Adrian Perez de Castro (3): package/wlroots: bump to version 0.16.2 package/cage: bump to version 0.1.5 package/sway: bump to version 1.8.1 .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ------------------ package/cage/cage.hash | 4 +- package/cage/cage.mk | 2 +- package/sway/sway.hash | 2 +- package/sway/sway.mk | 4 +- package/wlroots/wlroots.hash | 4 +- package/wlroots/wlroots.mk | 2 +- 7 files changed, 9 insertions(+), 321 deletions(-) delete mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch -- 2.42.0 From aperez at igalia.com Mon Oct 30 10:11:06 2023 From: aperez at igalia.com (Adrian Perez de Castro) Date: Mon, 30 Oct 2023 12:11:06 +0200 Subject: [Buildroot] [PATCH 2/3] package/cage: bump to version 0.1.5 In-Reply-To: <20231030101115.2214402-1-aperez@igalia.com> References: <20231030101115.2214402-1-aperez@igalia.com> Message-ID: <20231030101115.2214402-3-aperez@igalia.com> Update Cage to version 0.1.5, which is a bug fix release that supports using wlroots 0.16.x. Signed-off-by: Adrian Perez de Castro --- .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ------------------ package/cage/cage.hash | 4 +- package/cage/cage.mk | 2 +- 3 files changed, 3 insertions(+), 315 deletions(-) delete mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch diff --git a/package/cage/0001-Upgrade-to-wlroots-0.15.patch b/package/cage/0001-Upgrade-to-wlroots-0.15.patch deleted file mode 100644 index a5716ede43..0000000000 --- a/package/cage/0001-Upgrade-to-wlroots-0.15.patch +++ /dev/null @@ -1,312 +0,0 @@ -From e51bef3fdad649d453276717294cc6177666cf5a Mon Sep 17 00:00:00 2001 -From: Simon Ser -Date: Wed, 11 Aug 2021 11:31:14 +0200 -Subject: [PATCH] Upgrade to wlroots 0.15 - -- Update wlr_box includes to util/box.h: the wlroots header has - been moved upstream. -- Subsurface fields have been moved -- Create renderer and allocator, stop using wlr_backend_get_renderer -- Initalize output rendering - -Signed-off-by: Adrian Perez de Castro -Upstream status: https://github.com/Hjdskes/cage/commit/395189fb051ed722c7b10b6cb11caa8f6904079c ---- - cage.c | 21 +++++++++++++++++---- - meson.build | 2 +- - output.c | 5 +++++ - render.c | 26 ++++++++------------------ - server.h | 2 ++ - util.c | 2 -- - util.h | 2 +- - view.c | 5 ++--- - view.h | 2 +- - xdg_shell.c | 1 - - xwayland.c | 1 - - 11 files changed, 37 insertions(+), 32 deletions(-) - -diff --git a/cage.c b/cage.c -index 5392535..f9db7a9 100644 ---- a/cage.c -+++ b/cage.c -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -261,7 +262,6 @@ main(int argc, char *argv[]) - struct wl_event_source *sigint_source = NULL; - struct wl_event_source *sigterm_source = NULL; - struct wl_event_source *sigchld_source = NULL; -- struct wlr_renderer *renderer = NULL; - struct wlr_compositor *compositor = NULL; - struct wlr_data_device_manager *data_device_manager = NULL; - struct wlr_server_decoration_manager *server_decoration_manager = NULL; -@@ -316,8 +316,21 @@ main(int argc, char *argv[]) - goto end; - } - -- renderer = wlr_backend_get_renderer(server.backend); -- wlr_renderer_init_wl_display(renderer, server.wl_display); -+ server.renderer = wlr_renderer_autocreate(server.backend); -+ if (!server.renderer) { -+ wlr_log(WLR_ERROR, "Unable to create the wlroots renderer"); -+ ret = 1; -+ goto end; -+ } -+ -+ server.allocator = wlr_allocator_autocreate(server.backend, server.renderer); -+ if (!server.allocator) { -+ wlr_log(WLR_ERROR, "Unable to create the wlroots allocator"); -+ ret = 1; -+ goto end; -+ } -+ -+ wlr_renderer_init_wl_display(server.renderer, server.wl_display); - - wl_list_init(&server.views); - wl_list_init(&server.outputs); -@@ -329,7 +342,7 @@ main(int argc, char *argv[]) - goto end; - } - -- compositor = wlr_compositor_create(server.wl_display, renderer); -+ compositor = wlr_compositor_create(server.wl_display, server.renderer); - if (!compositor) { - wlr_log(WLR_ERROR, "Unable to create the wlroots compositor"); - ret = 1; -diff --git a/meson.build b/meson.build -index 3a84794..f2e5428 100644 ---- a/meson.build -+++ b/meson.build -@@ -34,7 +34,7 @@ if is_freebsd - ) - endif - --wlroots = dependency('wlroots', version: '>= 0.14.0') -+wlroots = dependency('wlroots', version: '>= 0.15.0') - wayland_protos = dependency('wayland-protocols', version: '>=1.14') - wayland_server = dependency('wayland-server') - pixman = dependency('pixman-1') -diff --git a/output.c b/output.c -index d8da3b9..e8b3a22 100644 ---- a/output.c -+++ b/output.c -@@ -442,6 +442,11 @@ handle_new_output(struct wl_listener *listener, void *data) - struct cg_server *server = wl_container_of(listener, server, new_output); - struct wlr_output *wlr_output = data; - -+ if (!wlr_output_init_render(wlr_output, server->allocator, server->renderer)) { -+ wlr_log(WLR_ERROR, "Failed to initialize output rendering"); -+ return; -+ } -+ - struct cg_output *output = calloc(1, sizeof(struct cg_output)); - if (!output) { - wlr_log(WLR_ERROR, "Failed to allocate output"); -diff --git a/render.c b/render.c -index 166a088..ffa960f 100644 ---- a/render.c -+++ b/render.c -@@ -10,11 +10,11 @@ - #include - #include - #include --#include - #include - #include - #include - #include -+#include - #include - #include - -@@ -27,8 +27,6 @@ - static void - scissor_output(struct wlr_output *output, pixman_box32_t *rect) - { -- struct wlr_renderer *renderer = wlr_backend_get_renderer(output->backend); -- - struct wlr_box box = { - .x = rect->x1, - .y = rect->y1, -@@ -41,7 +39,7 @@ scissor_output(struct wlr_output *output, pixman_box32_t *rect) - enum wl_output_transform transform = wlr_output_transform_invert(output->transform); - wlr_box_transform(&box, &box, transform, output_width, output_height); - -- wlr_renderer_scissor(renderer, &box); -+ wlr_renderer_scissor(output->renderer, &box); - } - - struct render_data { -@@ -52,8 +50,6 @@ static void - render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, struct wlr_texture *texture, - const struct wlr_box *box, const float matrix[static 9]) - { -- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); -- - pixman_region32_t damage; - pixman_region32_init(&damage); - pixman_region32_union_rect(&damage, &damage, box->x, box->y, box->width, box->height); -@@ -66,7 +62,7 @@ render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, - pixman_box32_t *rects = pixman_region32_rectangles(&damage, &nrects); - for (int i = 0; i < nrects; i++) { - scissor_output(wlr_output, &rects[i]); -- wlr_render_texture_with_matrix(renderer, texture, matrix, 1.0f); -+ wlr_render_texture_with_matrix(wlr_output->renderer, texture, matrix, 1.0f); - } - - damage_finish: -@@ -134,13 +130,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) - struct cg_server *server = output->server; - struct wlr_output *wlr_output = output->wlr_output; - -- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); -- if (!renderer) { -- wlr_log(WLR_DEBUG, "Expected the output backend to have a renderer"); -- return; -- } -- -- wlr_renderer_begin(renderer, wlr_output->width, wlr_output->height); -+ wlr_renderer_begin(server->renderer, wlr_output->width, wlr_output->height); - - if (!pixman_region32_not_empty(damage)) { - wlr_log(WLR_DEBUG, "Output isn't damaged but needs a buffer swap"); -@@ -149,7 +139,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) - - #ifdef DEBUG - if (server->debug_damage_tracking) { -- wlr_renderer_clear(renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); -+ wlr_renderer_clear(server->renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); - } - #endif - -@@ -158,7 +148,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) - pixman_box32_t *rects = pixman_region32_rectangles(damage, &nrects); - for (int i = 0; i < nrects; i++) { - scissor_output(wlr_output, &rects[i]); -- wlr_renderer_clear(renderer, color); -+ wlr_renderer_clear(server->renderer, color); - } - - // TODO: render only top view, possibly use focused view for this, see #35. -@@ -178,8 +168,8 @@ renderer_end: - /* Draw software cursor in case hardware cursors aren't - available. This is a no-op when they are. */ - wlr_output_render_software_cursors(wlr_output, damage); -- wlr_renderer_scissor(renderer, NULL); -- wlr_renderer_end(renderer); -+ wlr_renderer_scissor(server->renderer, NULL); -+ wlr_renderer_end(server->renderer); - - int output_width, output_height; - wlr_output_transformed_resolution(wlr_output, &output_width, &output_height); -diff --git a/server.h b/server.h -index 817637b..74970c5 100644 ---- a/server.h -+++ b/server.h -@@ -25,6 +25,8 @@ struct cg_server { - struct wl_display *wl_display; - struct wl_list views; - struct wlr_backend *backend; -+ struct wlr_renderer *renderer; -+ struct wlr_allocator *allocator; - - struct cg_seat *seat; - struct wlr_idle *idle; -diff --git a/util.c b/util.c -index 95de499..714c7e3 100644 ---- a/util.c -+++ b/util.c -@@ -6,8 +6,6 @@ - * See the LICENSE file accompanying this file. - */ - --#include -- - #include "util.h" - - int -diff --git a/util.h b/util.h -index db6bc7d..b6281f3 100644 ---- a/util.h -+++ b/util.h -@@ -1,7 +1,7 @@ - #ifndef CG_UTIL_H - #define CG_UTIL_H - --#include -+#include - - /** Apply scale to a width or height. */ - int scale_length(int length, int offset, float scale); -diff --git a/view.c b/view.c -index 3f3b0ed..33b59b4 100644 ---- a/view.c -+++ b/view.c -@@ -12,7 +12,6 @@ - #include - #include - #include --#include - #include - #include - -@@ -235,10 +234,10 @@ view_map(struct cg_view *view, struct wlr_surface *surface) - view->wlr_surface = surface; - - struct wlr_subsurface *subsurface; -- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_below, parent_link) { -+ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_below, current.link) { - subsurface_create(view, subsurface); - } -- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_above, parent_link) { -+ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_above, current.link) { - subsurface_create(view, subsurface); - } - -diff --git a/view.h b/view.h -index cd16e42..87477d0 100644 ---- a/view.h -+++ b/view.h -@@ -5,9 +5,9 @@ - - #include - #include --#include - #include - #include -+#include - #if CAGE_HAS_XWAYLAND - #include - #endif -diff --git a/xdg_shell.c b/xdg_shell.c -index 2e42347..d676552 100644 ---- a/xdg_shell.c -+++ b/xdg_shell.c -@@ -9,7 +9,6 @@ - #include - #include - #include --#include - #include - #include - -diff --git a/xwayland.c b/xwayland.c -index 2aae0f9..ebd8e54 100644 ---- a/xwayland.c -+++ b/xwayland.c -@@ -9,7 +9,6 @@ - #include - #include - #include --#include - #include - #include - --- -2.36.0 - diff --git a/package/cage/cage.hash b/package/cage/cage.hash index 57a1c12638..d5517bd918 100644 --- a/package/cage/cage.hash +++ b/package/cage/cage.hash @@ -1,5 +1,5 @@ -# Generated locally after checking GPG signature -sha256 dfe27fb0c7d43db72d6c82f01e2736580a0791a23ba69d7b56285d08af98ad90 cage-0.1.4.tar.gz +# Generated locally after checking GPG signature from https://github.com/cage-kiosk/cage/releases/download/v0.1.5/cage-0.1.5.tar.gz.sig +sha256 ece0312e559289df0238289ea6c60e9fed32d27fe3ae8a8f83eeff26ddc239e1 cage-0.1.5.tar.gz # Hashes for license files: sha256 e117104073335dbaf78596fb1bedf89dda63c71f60f0b665947b2d369c77ecee LICENSE diff --git a/package/cage/cage.mk b/package/cage/cage.mk index c132f086f6..119950bc00 100644 --- a/package/cage/cage.mk +++ b/package/cage/cage.mk @@ -4,7 +4,7 @@ # ################################################################################ -CAGE_VERSION = 0.1.4 +CAGE_VERSION = 0.1.5 CAGE_SITE = https://github.com/Hjdskes/cage/releases/download/v$(CAGE_VERSION) CAGE_LICENSE = MIT CAGE_LICENSE_FILES = LICENSE -- 2.42.0 From aperez at igalia.com Mon Oct 30 10:11:05 2023 From: aperez at igalia.com (Adrian Perez de Castro) Date: Mon, 30 Oct 2023 12:11:05 +0200 Subject: [Buildroot] [PATCH 1/3] package/wlroots: bump to version 0.16.2 In-Reply-To: <20231030101115.2214402-1-aperez@igalia.com> References: <20231030101115.2214402-1-aperez@igalia.com> Message-ID: <20231030101115.2214402-2-aperez@igalia.com> Update to version 0.16.2, which brings in support for a few new Wayland protocols, and improved input device and scene graph APIs. Applications which use wlroots might need to be adapted, and at least rebuilt. The only packages in Buildroot which use wlroots at the moment are the Cage and Sway compositors, to be updated in follow-up patches. Signed-off-by: Adrian Perez de Castro --- package/wlroots/wlroots.hash | 4 ++-- package/wlroots/wlroots.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wlroots/wlroots.hash b/package/wlroots/wlroots.hash index 04bbd65e43..8ab05393b1 100644 --- a/package/wlroots/wlroots.hash +++ b/package/wlroots/wlroots.hash @@ -1,5 +1,5 @@ -# Generated locally, after checking https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.15.1/downloads/wlroots-0.15.1.tar.gz.sig -sha256 5b92f11a52d978919ed1306e0d54c9d59f1762b28d44f0a2da3ef3b351305373 wlroots-0.15.1.tar.gz +# Generated locally, after checking https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.16.2/downloads/wlroots-0.16.2.tar.gz.sig +sha256 83e9a11605f23d4bf781ab1947089483d9ec3f7e9ba65398e0609593b77d44aa wlroots-0.16.2.tar.gz # Hashes for license files: sha256 ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b LICENSE diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index 5b930a51be..b478e57abb 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -4,7 +4,7 @@ # ################################################################################ -WLROOTS_VERSION = 0.15.1 +WLROOTS_VERSION = 0.16.2 WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads WLROOTS_LICENSE = MIT WLROOTS_LICENSE_FILES = LICENSE -- 2.42.0 From aperez at igalia.com Mon Oct 30 10:11:07 2023 From: aperez at igalia.com (Adrian Perez de Castro) Date: Mon, 30 Oct 2023 12:11:07 +0200 Subject: [Buildroot] [PATCH 3/3] package/sway: bump to version 1.8.1 In-Reply-To: <20231030101115.2214402-1-aperez@igalia.com> References: <20231030101115.2214402-1-aperez@igalia.com> Message-ID: <20231030101115.2214402-4-aperez@igalia.com> Update Sway to version 1.8.1, which brings a new release series to Buildroot and can be built with wlroots 0.16.x Signed-off-by: Adrian Perez de Castro --- package/sway/sway.hash | 2 +- package/sway/sway.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/sway/sway.hash b/package/sway/sway.hash index 6dfa71730f..86b6581f1c 100644 --- a/package/sway/sway.hash +++ b/package/sway/sway.hash @@ -1,3 +1,3 @@ # Locally computed, tarball verified with GPG signature -sha256 0c64536fb2883ec518e75cfb119f9300115fb49b084e3fde62b794fe2c6c8d84 sway-1.7.tar.gz +sha256 73f08fd2cf7948e8af900709efe44eae412ae11c5773960e25c9aa09f73bad41 sway-1.8.1.tar.gz sha256 bd35722bff46327f5eded1d211207277bbe043d2a22048b282c42ef801593b8b LICENSE diff --git a/package/sway/sway.mk b/package/sway/sway.mk index 802371c827..19f90b8b00 100644 --- a/package/sway/sway.mk +++ b/package/sway/sway.mk @@ -4,8 +4,8 @@ # ################################################################################ -SWAY_VERSION = 1.7 -SWAY_SITE = $(call github,swaywm,sway,v$(SWAY_VERSION)) +SWAY_VERSION = 1.8.1 +SWAY_SITE = https://github.com/swaywm/sway/releases/download/$(SWAY_VERSION) SWAY_LICENSE = MIT SWAY_LICENSE_FILES = LICENSE SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre cairo pango -- 2.42.0 From etienne.carriere at foss.st.com Mon Oct 30 09:30:01 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:30:01 +0100 Subject: [Buildroot] [PATCH 4/5] package/optee-examples: bump to version 4.0.0 In-Reply-To: <20231030093002.1047149-1-etienne.carriere@foss.st.com> References: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Message-ID: <20231030093002.1047149-4-etienne.carriere@foss.st.com> Bumps OP-TEE examples package version to OP-TEE release 4.0.0. Signed-off-by: Etienne Carriere --- package/optee-examples/optee-examples.hash | 4 ++-- package/optee-examples/optee-examples.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-examples/optee-examples.hash b/package/optee-examples/optee-examples.hash index c61c434c60..71cd95605d 100644 --- a/package/optee-examples/optee-examples.hash +++ b/package/optee-examples/optee-examples.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_examples/archive/3.21.0/optee-examples-3.21.0.tar.gz -sha256 9b965f829adc532b5228534d3b9b38ae1fc4f2ac55d73159a39d43e59749f3ed optee-examples-3.21.0.tar.gz +# From https://github.com/linaro-swg/optee_examples/archive/4.0.0/optee-examples-4.0.0.tar.gz +sha256 4e21455c889ffb93085eb76f76ce191e24f394b3fa8f1d2429cad38a36e4f6e5 optee-examples-4.0.0.tar.gz # Locally computed sha256 6f1ef8449cb82ae79d2155605f7985bdf0f08e7ab5007de9b4362e8bf28733b9 LICENSE diff --git a/package/optee-examples/optee-examples.mk b/package/optee-examples/optee-examples.mk index c182bab4cc..d620f0e36a 100644 --- a/package/optee-examples/optee-examples.mk +++ b/package/optee-examples/optee-examples.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_EXAMPLES_VERSION = 3.21.0 +OPTEE_EXAMPLES_VERSION = 4.0.0 OPTEE_EXAMPLES_SITE = $(call github,linaro-swg,optee_examples,$(OPTEE_EXAMPLES_VERSION)) OPTEE_EXAMPLES_LICENSE = BSD-2-Clause OPTEE_EXAMPLES_LICENSE_FILES = LICENSE -- 2.25.1 From peter at korsgaard.com Mon Oct 30 10:13:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:13:37 +0100 Subject: [Buildroot] [PATCH 1/1] package/pkg-kernel-module: add BR2_MAKE_HOST_DEPENDENCY In-Reply-To: <20231024153023.19173-1-sibobrenok@salutedevices.com> (Sergey Bobrenok via buildroot's message of "Tue, 24 Oct 2023 18:30:23 +0300") References: <20231024153023.19173-1-sibobrenok@salutedevices.com> Message-ID: <87o7gg5sfi.fsf@48ers.dk> >>>>> "Sergey" == Sergey Bobrenok via buildroot writes: > From: Alexey Romanov > Commit 0b9efc991f ("linux: use BR2_MAKE") switched LINUX_MAKE to > $(BR2_MAKE) to avoid build issue with kernel version >= 6.2 and GNU > Make version < 3.82. However, the same issue is actual for kernel > modules as well. > Using $(BR2_MAKE) should guarantee a consistent behavior between > kernel and kernel-modules builds. > Signed-off-by: Alexey Romanov > Signed-off-by: Sergey Bobrenok Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:16:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:16:15 +0100 Subject: [Buildroot] [PATCH 1/1] package/apache: security bump version to 2.4.58 In-Reply-To: <20231019165111.95933-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 19 Oct 2023 18:51:11 +0200") References: <20231019165111.95933-1-bernd@kuhls.net> Message-ID: <87jzr45sb4.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2023-31122, CVE-2023-43622 & CVE-2023-45802: > https://httpd.apache.org/security/vulnerabilities_24.html > Release notes: > https://lists.apache.org/thread/1qnr3jpk1mdnqc2c6foyjvg0ch636h1n > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:16:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:16:59 +0100 Subject: [Buildroot] [PATCH 1/1] package/wireshark: security bump to version 4.0.10 In-Reply-To: <20231022203348.55926-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 22 Oct 2023 22:33:48 +0200") References: <20231022203348.55926-1-fontaine.fabrice@gmail.com> Message-ID: <87fs1s5s9w.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://www.wireshark.org/news/20231004.html > https://www.wireshark.org/news/20231004a.html > Fix CVE-2023-5371: > https://www.wireshark.org/security/wnpa-sec-2023-27.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:18:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:18:05 +0100 Subject: [Buildroot] [PATCH 1/1] package/nghttp2: security bump to version 1.57.0 In-Reply-To: <20231022211721.88737-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 22 Oct 2023 23:17:21 +0200") References: <20231022211721.88737-1-fontaine.fabrice@gmail.com> Message-ID: <87bkcg5s82.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-44487: The HTTP/2 protocol allows a denial of service > (server resource consumption) because request cancellation can reset > many streams quickly, as exploited in the wild in August through October > 2023. > Fix CVE-2023-35945: nghttp2 fails to release memory when PUSH_PROMISE or > HEADERS frame cannot be sent, and nghttp2_on_stream_close_callback fails > with a fatal error. For example, if GOAWAY frame has been received, a > HEADERS frame that opens new stream cannot be sent. > https://github.com/nghttp2/nghttp2/security/advisories/GHSA-vx74-f528-fxqg > https://github.com/nghttp2/nghttp2/security/advisories/GHSA-6pcr-v3hg-752p > https://github.com/nghttp2/nghttp2/compare/v1.41.0...v1.57.0 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:18:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:18:27 +0100 Subject: [Buildroot] [PATCH 1/1] package/libtommath: add LIBTOMMATH_CPE_ID_VENDOR In-Reply-To: <20231022212355.92599-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 22 Oct 2023 23:23:55 +0200") References: <20231022212355.92599-1-fontaine.fabrice@gmail.com> Message-ID: <877cn45s7g.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:libtom:libtommath is a valid CPE identifier for this package: > https://nvd.nist.gov/products/cpe/detail/F0D99614-AA27-4713-ADD2-103647C8838B > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:16:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:16:46 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/wireshark: security bump to version 4.0.10 Message-ID: <20231030101903.0CF2D86168@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ac17539d61fa19920b4545d204251f75ddb2597 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://www.wireshark.org/news/20231004.html https://www.wireshark.org/news/20231004a.html Fix CVE-2023-5371: https://www.wireshark.org/security/wnpa-sec-2023-27.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 7385c7f8b302db76a944240ee32d9afafa1db2f7) Signed-off-by: Peter Korsgaard --- package/wireshark/wireshark.hash | 6 +++--- package/wireshark/wireshark.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/wireshark/wireshark.hash b/package/wireshark/wireshark.hash index f044f99483..c9b693c9cb 100644 --- a/package/wireshark/wireshark.hash +++ b/package/wireshark/wireshark.hash @@ -1,6 +1,6 @@ -# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-4.0.8.txt -sha1 8ca1cc4471d0cb835cd5216833c393fa23bc154f wireshark-4.0.8.tar.xz -sha256 16663585c0ffefd5593a6628d4a20cc8241b9703b11283cfe71ead2b750888c8 wireshark-4.0.8.tar.xz +# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-4.0.10.txt +sha1 830ba7ff602da90323bbc5ec15941c0878d9ee4a wireshark-4.0.10.tar.xz +sha256 b2e3ff03fa2be9058a9ffbedd12b0a670433bd16c8cc6c432ab48dabc2df1898 wireshark-4.0.10.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index 500bdbb77a..2f563950b2 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRESHARK_VERSION = 4.0.8 +WIRESHARK_VERSION = 4.0.10 WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions WIRESHARK_LICENSE = wireshark license From peter at korsgaard.com Mon Oct 30 10:18:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:18:22 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/libtommath: add LIBTOMMATH_CPE_ID_VENDOR Message-ID: <20231030101903.231CE8616C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b2a0d00ef064600c1d9ee2544f972f26e6e3b5e8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x cpe:2.3:a:libtom:libtommath is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/F0D99614-AA27-4713-ADD2-103647C8838B Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 17ffb91551cc7c76427fd9675bc5e5a01d683afe) Signed-off-by: Peter Korsgaard --- package/libtommath/libtommath.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk index 25d4e836bb..7b5305faf6 100644 --- a/package/libtommath/libtommath.mk +++ b/package/libtommath/libtommath.mk @@ -9,6 +9,7 @@ LIBTOMMATH_SITE = https://github.com/libtom/libtommath/releases/download/v$(LIBT LIBTOMMATH_SOURCE = ltm-$(LIBTOMMATH_VERSION).tar.xz LIBTOMMATH_LICENSE = Unlicense LIBTOMMATH_LICENSE_FILES = LICENSE +LIBTOMMATH_CPE_ID_VENDOR = libtom LIBTOMMATH_INSTALL_STAGING = YES LIBTOMMATH_INSTALL_TARGET = NO # only static library From peter at korsgaard.com Mon Oct 30 10:17:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:17:24 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/nghttp2: security bump to version 1.57.0 Message-ID: <20231030101903.1875886169@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e6e88ccf8009447b5764e9cb023ac8fb3f0eec0b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-44487: The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023. Fix CVE-2023-35945: nghttp2 fails to release memory when PUSH_PROMISE or HEADERS frame cannot be sent, and nghttp2_on_stream_close_callback fails with a fatal error. For example, if GOAWAY frame has been received, a HEADERS frame that opens new stream cannot be sent. https://github.com/nghttp2/nghttp2/security/advisories/GHSA-vx74-f528-fxqg https://github.com/nghttp2/nghttp2/security/advisories/GHSA-6pcr-v3hg-752p https://github.com/nghttp2/nghttp2/compare/v1.41.0...v1.57.0 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 07c44afc8d297c5a2e13bd6303e07f48f18b5c8a) Signed-off-by: Peter Korsgaard --- package/nghttp2/nghttp2.hash | 2 +- package/nghttp2/nghttp2.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/nghttp2/nghttp2.hash b/package/nghttp2/nghttp2.hash index 3702a91b5e..18774d01d4 100644 --- a/package/nghttp2/nghttp2.hash +++ b/package/nghttp2/nghttp2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eacc6f0f8543583ecd659faf0a3f906ed03826f1d4157b536b4b385fe47c5bb8 nghttp2-1.41.0.tar.gz +sha256 9210b0113109f43be526ac5835d58a701411821a4d39e155c40d67c40f47a958 nghttp2-1.57.0.tar.xz sha256 6b94f3abc1aabd0c72a7c7d92a77f79dda7c8a0cb3df839a97890b4116a2de2a COPYING diff --git a/package/nghttp2/nghttp2.mk b/package/nghttp2/nghttp2.mk index 9190fa30d6..70a25d409c 100644 --- a/package/nghttp2/nghttp2.mk +++ b/package/nghttp2/nghttp2.mk @@ -4,7 +4,8 @@ # ################################################################################ -NGHTTP2_VERSION = 1.41.0 +NGHTTP2_VERSION = 1.57.0 +NGHTTP2_SOURCE = nghttp2-$(NGHTTP2_VERSION).tar.xz NGHTTP2_SITE = https://github.com/nghttp2/nghttp2/releases/download/v$(NGHTTP2_VERSION) NGHTTP2_LICENSE = MIT NGHTTP2_LICENSE_FILES = COPYING From peter at korsgaard.com Mon Oct 30 10:12:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:12:43 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/pkg-kernel-module: add BR2_MAKE_HOST_DEPENDENCY Message-ID: <20231030101902.EEB1B86167@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6489cb62b217044eecb598c173d86f5d9da58313 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Commit 0b9efc991f ("linux: use BR2_MAKE") switched LINUX_MAKE to $(BR2_MAKE) to avoid build issue with kernel version >= 6.2 and GNU Make version < 3.82. However, the same issue is actual for kernel modules as well. Using $(BR2_MAKE) should guarantee a consistent behavior between kernel and kernel-modules builds. Signed-off-by: Alexey Romanov Signed-off-by: Sergey Bobrenok [yann.morin.1998 at free.fr: minor coding style] Signed-off-by: Yann E. MORIN (cherry picked from commit 75fa573ef9336b57d1cfb86bfcaaed4872f64ac6) Signed-off-by: Peter Korsgaard --- package/pkg-kernel-module.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/pkg-kernel-module.mk b/package/pkg-kernel-module.mk index fcd6b8bc29..4f64a73f11 100644 --- a/package/pkg-kernel-module.mk +++ b/package/pkg-kernel-module.mk @@ -50,11 +50,13 @@ LINUX_NEEDS_MODULES = y endif # The kernel must be built first. -$(2)_DEPENDENCIES += linux +$(2)_DEPENDENCIES += \ + linux \ + $$(BR2_MAKE_HOST_DEPENDENCY) # This is only defined in some infrastructures (e.g. autotools, cmake), # but not in others (e.g. generic). So define it here as well. -$(2)_MAKE ?= $$(MAKE) +$(2)_MAKE ?= $$(BR2_MAKE) # If not specified, consider the source of the kernel module to be at # the root of the package. From peter at korsgaard.com Mon Oct 30 10:15:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:15:37 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/apache: security bump version to 2.4.58 Message-ID: <20231030101903.0356985FD1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=be9c7b92e4e77074e2de34c190ea901784a6ec2f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-31122, CVE-2023-43622 & CVE-2023-45802: https://httpd.apache.org/security/vulnerabilities_24.html Release notes: https://lists.apache.org/thread/1qnr3jpk1mdnqc2c6foyjvg0ch636h1n Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit d00881cad152040cc679c37124d636196ab7eb82) Signed-off-by: Peter Korsgaard --- package/apache/apache.hash | 6 +++--- package/apache/apache.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/apache/apache.hash b/package/apache/apache.hash index 1f0020f65a..854bc85dcc 100644 --- a/package/apache/apache.hash +++ b/package/apache/apache.hash @@ -1,5 +1,5 @@ -# From https://archive.apache.org/dist/httpd/httpd-2.4.57.tar.bz2.{sha256,sha512} -sha256 dbccb84aee95e095edfbb81e5eb926ccd24e6ada55dcd83caecb262e5cf94d2a httpd-2.4.57.tar.bz2 -sha512 4d1e0a274ee90bdfb5f38d4a7d73a7367ed1c6388e26280e640014e49abc0df03683705b88dcfe2ec2da313dda4c7b4a3b86daffa1911f58e224eba89d82d155 httpd-2.4.57.tar.bz2 +# From https://archive.apache.org/dist/httpd/httpd-2.4.58.tar.bz2.{sha256,sha512} +sha256 fa16d72a078210a54c47dd5bef2f8b9b8a01d94909a51453956b3ec6442ea4c5 httpd-2.4.58.tar.bz2 +sha512 d6e73bf413a507ec16b621ff635e178206207a9e9810ce3944b3dc98d39cde8f225307110167fc9da5822175796c8cb66f98be5b9f0d8b76dcd83a401d39b2c1 httpd-2.4.58.tar.bz2 # Locally computed sha256 47b8c2b6c3309282a99d4a3001575c790fead690cc14734628c4667d2bbffc43 LICENSE diff --git a/package/apache/apache.mk b/package/apache/apache.mk index 320a6ad20e..cac62134ed 100644 --- a/package/apache/apache.mk +++ b/package/apache/apache.mk @@ -4,7 +4,7 @@ # ################################################################################ -APACHE_VERSION = 2.4.57 +APACHE_VERSION = 2.4.58 APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2 APACHE_SITE = https://downloads.apache.org/httpd APACHE_LICENSE = Apache-2.0 From peter at korsgaard.com Mon Oct 30 10:16:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:16:42 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/wireshark: security bump to version 4.0.10 Message-ID: <20231030102016.D1B308617B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8eb970bdf1c7ac2b83120528d006c8f7093d84e5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x https://www.wireshark.org/news/20231004.html https://www.wireshark.org/news/20231004a.html Fix CVE-2023-5371: https://www.wireshark.org/security/wnpa-sec-2023-27.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 7385c7f8b302db76a944240ee32d9afafa1db2f7) Signed-off-by: Peter Korsgaard --- package/wireshark/wireshark.hash | 6 +++--- package/wireshark/wireshark.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/wireshark/wireshark.hash b/package/wireshark/wireshark.hash index f044f99483..c9b693c9cb 100644 --- a/package/wireshark/wireshark.hash +++ b/package/wireshark/wireshark.hash @@ -1,6 +1,6 @@ -# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-4.0.8.txt -sha1 8ca1cc4471d0cb835cd5216833c393fa23bc154f wireshark-4.0.8.tar.xz -sha256 16663585c0ffefd5593a6628d4a20cc8241b9703b11283cfe71ead2b750888c8 wireshark-4.0.8.tar.xz +# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-4.0.10.txt +sha1 830ba7ff602da90323bbc5ec15941c0878d9ee4a wireshark-4.0.10.tar.xz +sha256 b2e3ff03fa2be9058a9ffbedd12b0a670433bd16c8cc6c432ab48dabc2df1898 wireshark-4.0.10.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index 500bdbb77a..2f563950b2 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRESHARK_VERSION = 4.0.8 +WIRESHARK_VERSION = 4.0.10 WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions WIRESHARK_LICENSE = wireshark license From peter at korsgaard.com Mon Oct 30 10:15:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:15:58 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/apache: security bump version to 2.4.58 Message-ID: <20231030102016.C73CE86176@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d9ac35d9a442f3516fd3e40817872b5f8b089e3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-31122, CVE-2023-43622 & CVE-2023-45802: https://httpd.apache.org/security/vulnerabilities_24.html Release notes: https://lists.apache.org/thread/1qnr3jpk1mdnqc2c6foyjvg0ch636h1n Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit d00881cad152040cc679c37124d636196ab7eb82) Signed-off-by: Peter Korsgaard --- package/apache/apache.hash | 6 +++--- package/apache/apache.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/apache/apache.hash b/package/apache/apache.hash index 1f0020f65a..854bc85dcc 100644 --- a/package/apache/apache.hash +++ b/package/apache/apache.hash @@ -1,5 +1,5 @@ -# From https://archive.apache.org/dist/httpd/httpd-2.4.57.tar.bz2.{sha256,sha512} -sha256 dbccb84aee95e095edfbb81e5eb926ccd24e6ada55dcd83caecb262e5cf94d2a httpd-2.4.57.tar.bz2 -sha512 4d1e0a274ee90bdfb5f38d4a7d73a7367ed1c6388e26280e640014e49abc0df03683705b88dcfe2ec2da313dda4c7b4a3b86daffa1911f58e224eba89d82d155 httpd-2.4.57.tar.bz2 +# From https://archive.apache.org/dist/httpd/httpd-2.4.58.tar.bz2.{sha256,sha512} +sha256 fa16d72a078210a54c47dd5bef2f8b9b8a01d94909a51453956b3ec6442ea4c5 httpd-2.4.58.tar.bz2 +sha512 d6e73bf413a507ec16b621ff635e178206207a9e9810ce3944b3dc98d39cde8f225307110167fc9da5822175796c8cb66f98be5b9f0d8b76dcd83a401d39b2c1 httpd-2.4.58.tar.bz2 # Locally computed sha256 47b8c2b6c3309282a99d4a3001575c790fead690cc14734628c4667d2bbffc43 LICENSE diff --git a/package/apache/apache.mk b/package/apache/apache.mk index 320a6ad20e..cac62134ed 100644 --- a/package/apache/apache.mk +++ b/package/apache/apache.mk @@ -4,7 +4,7 @@ # ################################################################################ -APACHE_VERSION = 2.4.57 +APACHE_VERSION = 2.4.58 APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2 APACHE_SITE = https://downloads.apache.org/httpd APACHE_LICENSE = Apache-2.0 From peter at korsgaard.com Mon Oct 30 10:18:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:18:16 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/libtommath: add LIBTOMMATH_CPE_ID_VENDOR Message-ID: <20231030102016.E72228617D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b4989f431c5dc3b01cc6937d5b7f5952c00e16de branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x cpe:2.3:a:libtom:libtommath is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/F0D99614-AA27-4713-ADD2-103647C8838B Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 17ffb91551cc7c76427fd9675bc5e5a01d683afe) Signed-off-by: Peter Korsgaard --- package/libtommath/libtommath.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk index 25d4e836bb..7b5305faf6 100644 --- a/package/libtommath/libtommath.mk +++ b/package/libtommath/libtommath.mk @@ -9,6 +9,7 @@ LIBTOMMATH_SITE = https://github.com/libtom/libtommath/releases/download/v$(LIBT LIBTOMMATH_SOURCE = ltm-$(LIBTOMMATH_VERSION).tar.xz LIBTOMMATH_LICENSE = Unlicense LIBTOMMATH_LICENSE_FILES = LICENSE +LIBTOMMATH_CPE_ID_VENDOR = libtom LIBTOMMATH_INSTALL_STAGING = YES LIBTOMMATH_INSTALL_TARGET = NO # only static library From peter at korsgaard.com Mon Oct 30 10:17:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:17:32 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/nghttp2: security bump to version 1.57.0 Message-ID: <20231030102016.DA9FB8617C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c2770f7cc3953aac1484af8895f2febd9d074cf7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix CVE-2023-44487: The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023. Fix CVE-2023-35945: nghttp2 fails to release memory when PUSH_PROMISE or HEADERS frame cannot be sent, and nghttp2_on_stream_close_callback fails with a fatal error. For example, if GOAWAY frame has been received, a HEADERS frame that opens new stream cannot be sent. https://github.com/nghttp2/nghttp2/security/advisories/GHSA-vx74-f528-fxqg https://github.com/nghttp2/nghttp2/security/advisories/GHSA-6pcr-v3hg-752p https://github.com/nghttp2/nghttp2/compare/v1.41.0...v1.57.0 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 07c44afc8d297c5a2e13bd6303e07f48f18b5c8a) Signed-off-by: Peter Korsgaard --- package/nghttp2/nghttp2.hash | 2 +- package/nghttp2/nghttp2.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/nghttp2/nghttp2.hash b/package/nghttp2/nghttp2.hash index 3702a91b5e..18774d01d4 100644 --- a/package/nghttp2/nghttp2.hash +++ b/package/nghttp2/nghttp2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eacc6f0f8543583ecd659faf0a3f906ed03826f1d4157b536b4b385fe47c5bb8 nghttp2-1.41.0.tar.gz +sha256 9210b0113109f43be526ac5835d58a701411821a4d39e155c40d67c40f47a958 nghttp2-1.57.0.tar.xz sha256 6b94f3abc1aabd0c72a7c7d92a77f79dda7c8a0cb3df839a97890b4116a2de2a COPYING diff --git a/package/nghttp2/nghttp2.mk b/package/nghttp2/nghttp2.mk index 9190fa30d6..70a25d409c 100644 --- a/package/nghttp2/nghttp2.mk +++ b/package/nghttp2/nghttp2.mk @@ -4,7 +4,8 @@ # ################################################################################ -NGHTTP2_VERSION = 1.41.0 +NGHTTP2_VERSION = 1.57.0 +NGHTTP2_SOURCE = nghttp2-$(NGHTTP2_VERSION).tar.xz NGHTTP2_SITE = https://github.com/nghttp2/nghttp2/releases/download/v$(NGHTTP2_VERSION) NGHTTP2_LICENSE = MIT NGHTTP2_LICENSE_FILES = COPYING From etienne.carriere at foss.st.com Mon Oct 30 09:30:00 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:30:00 +0100 Subject: [Buildroot] [PATCH 3/5] package/optee-test: bump to version 4.0.0 In-Reply-To: <20231030093002.1047149-1-etienne.carriere@foss.st.com> References: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Message-ID: <20231030093002.1047149-3-etienne.carriere@foss.st.com> Bumps OP-TEE test package version to OP-TEE release 4.0.0. Removes the local patch on OpenSSL support that has been integrated into mainline repository before release tag 4.0.0. Signed-off-by: Etienne Carriere --- ...-xtest-add-DOPENSSL_API_COMPAT-10100.patch | 57 ------------------- package/optee-test/optee-test.hash | 4 +- package/optee-test/optee-test.mk | 2 +- 3 files changed, 3 insertions(+), 60 deletions(-) delete mode 100644 package/optee-test/0001-xtest-add-DOPENSSL_API_COMPAT-10100.patch diff --git a/package/optee-test/0001-xtest-add-DOPENSSL_API_COMPAT-10100.patch b/package/optee-test/0001-xtest-add-DOPENSSL_API_COMPAT-10100.patch deleted file mode 100644 index b876c3385f..0000000000 --- a/package/optee-test/0001-xtest-add-DOPENSSL_API_COMPAT-10100.patch +++ /dev/null @@ -1,57 +0,0 @@ -From a0db2b60b9f5c14e9f69c0e06e1a8d35f9fb1b5a Mon Sep 17 00:00:00 2001 -From: Jerome Forissier -Date: Tue, 25 Jul 2023 14:39:25 +0200 -Subject: [PATCH] xtest: add -DOPENSSL_API_COMPAT=10100 - -regression_1000.c uses OpenSSL functions that have been deprecated -after version 1.1. In particular, building with version 3.0 causes the -following error (and other similar ones not pasted here): - - optee_test/host/xtest/regression_1000.c: In function 'check_signature': - optee_test/host/xtest/regression_1000.c:2735:9: error: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] - 2735 | SHA256_Init(&ctx); - | ^~~~~~~~~~~ - -Add -DOPENSSL_API_COMPAT=10100 to the build flags to avoid this and be -flexible with regards to which version of OpenSSL build environment has -to provide. - -Signed-off-by: Jerome Forissier -Acked-by: Jens Wiklander -(cherry picked from commit cf111604c4c32a76be90f29aab25fa9b882c8715) -Upstream: https://github.com/OP-TEE/optee_test/commit/cf111604c4c32a76be90f29aab25fa9b882c8715 -Signed-off-by: Romain Naour ---- - host/xtest/CMakeLists.txt | 2 +- - host/xtest/Makefile | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/host/xtest/CMakeLists.txt b/host/xtest/CMakeLists.txt -index 776787b..ae0f4e0 100644 ---- a/host/xtest/CMakeLists.txt -+++ b/host/xtest/CMakeLists.txt -@@ -12,7 +12,7 @@ endif() - - find_package(OpenSSL) - if(OPENSSL_FOUND) -- add_compile_options(-DOPENSSL_FOUND=1) -+ add_compile_options(-DOPENSSL_FOUND=1 -DOPENSSL_API_COMPAT=10100) - set (OPENSSL_PRIVATE_LINK OpenSSL::Crypto) - endif() - -diff --git a/host/xtest/Makefile b/host/xtest/Makefile -index 8505629..2497850 100644 ---- a/host/xtest/Makefile -+++ b/host/xtest/Makefile -@@ -39,7 +39,7 @@ endef - # - User/group login tests 1027 and 1028 - WITH_OPENSSL ?= y - ifeq ($(WITH_OPENSSL),y) --CFLAGS += -DOPENSSL_FOUND=1 -+CFLAGS += -DOPENSSL_FOUND=1 -DOPENSSL_API_COMPAT=10100 - ifneq ($(OPTEE_OPENSSL_EXPORT),) - LDFLAGS += -lcrypto - CFLAGS += -I$(OPTEE_OPENSSL_EXPORT) --- -2.41.0 - diff --git a/package/optee-test/optee-test.hash b/package/optee-test/optee-test.hash index 08b3331374..9744ab6d92 100644 --- a/package/optee-test/optee-test.hash +++ b/package/optee-test/optee-test.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_test/archive/3.21.0/optee-test-3.21.0.tar.gz -sha256 44c7dc3df48e9d73f12bbbef1cc2a4e22d859ab8a5e67a07923267f924175d65 optee-test-3.21.0.tar.gz +# From https://github.com/OP-TEE/optee_test/archive/4.0.0/optee-test-4.0.0.tar.gz +sha256 dc37b90c98db54068e61b31e20378878e2cfdf3c71f90c8a635786164651c62f optee-test-4.0.0.tar.gz # Locally computed sha256 6e6810981f0ddab9e0d44399d0700a15d9f760a3c2843cc866659c2074139ae7 LICENSE.md diff --git a/package/optee-test/optee-test.mk b/package/optee-test/optee-test.mk index d306ef8269..44d3015ae1 100644 --- a/package/optee-test/optee-test.mk +++ b/package/optee-test/optee-test.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_TEST_VERSION = 3.21.0 +OPTEE_TEST_VERSION = 4.0.0 OPTEE_TEST_SITE = $(call github,OP-TEE,optee_test,$(OPTEE_TEST_VERSION)) OPTEE_TEST_LICENSE = GPL-2.0, BSD-2-Clause, OPTEE_TEST_LICENSE_FILES = LICENSE.md -- 2.25.1 From marcus.folkesson at gmail.com Mon Oct 30 10:39:31 2023 From: marcus.folkesson at gmail.com (Marcus Folkesson) Date: Mon, 30 Oct 2023 11:39:31 +0100 Subject: [Buildroot] [PATCH v5] package/criu: new package Message-ID: <20231030103931.2684786-1-marcus.folkesson@gmail.com> Checkpoint/Restore In Userspace (CRIU), is a software tool for the Linux operating system to make it possible to freeze a running application and checkpoint it to persistent storage as a collection of files. Signed-off-by: Marcus Folkesson --- Notes: v2: - Addressed comments from Thomas. - Tested on ARM target and on x86_64 with qemu. v3: - set CONFIG_CHECKPOINT_RESTORE in kernel config - Only be available for ARMv6, ARMv7 and ARMv8 v4: - set SUBARCH for armv6, armv7 and armv8 - Use github download helper Result from test-pkg: bootlin-armv5-uclibc [1/6]: SKIPPED bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: SKIPPED sourcery-arm [6/6]: SKIPPED 6 builds, 4 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed v5: - Remove support for s390 arch - Depend on BR2_HOST_GCC_AT_LEAST_8 - Depend on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 - Depend on !BR2_TOOLCHAIN_USES_UCLIBC - Use BR2_NORMALIZED_ARCH instead of BR2_ARCH DEVELOPERS | 1 + package/Config.in | 1 + package/criu/Config.in | 55 ++++++++++++++++++++++++++++++++ package/criu/criu.hash | 3 ++ package/criu/criu.mk | 71 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 131 insertions(+) create mode 100644 package/criu/Config.in create mode 100644 package/criu/criu.hash create mode 100644 package/criu/criu.mk diff --git a/DEVELOPERS b/DEVELOPERS index 57015e245e..2047827bd9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2007,6 +2007,7 @@ F: support/testing/tests/package/test_python_pytest.py F: support/testing/tests/package/test_python_pytest_asyncio.py N: Marcus Folkesson +F: package/criu/ F: package/libcamera/ F: package/libcamera-apps/ F: package/libostree/ diff --git a/package/Config.in b/package/Config.in index 4e489c4706..9e2099f6a5 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2678,6 +2678,7 @@ menu "System tools" source "package/coreutils/Config.in" source "package/cpulimit/Config.in" source "package/cpuload/Config.in" + source "package/criu/Config.in" source "package/crun/Config.in" source "package/daemon/Config.in" source "package/dc3dd/Config.in" diff --git a/package/criu/Config.in b/package/criu/Config.in new file mode 100644 index 0000000000..7963e6e8df --- /dev/null +++ b/package/criu/Config.in @@ -0,0 +1,55 @@ +# criu only builds on certain architectures +config BR2_PACKAGE_CRIU_ARCH_SUPPORTS + bool + default y if BR2_ARM_CPU_ARMV6 + default y if BR2_ARM_CPU_ARMV7A + default y if BR2_ARM_CPU_ARMV7M + default y if BR2_ARM_CPU_ARMV8A + default y if BR2_ARM_CPU_ARMV8M + default y if BR2_aarch64 + default y if BR2_i386 + default y if BR2_mips + default y if BR2_x86_64 + default y if BR2_BR2_powerpc64le #Only support powerpc64 with LE + #default y if BR2_s390x + #CRIU has "some" support for s390 but it is not included due to + #BE/LE endian issues. + +menuconfig BR2_PACKAGE_CRIU + bool "criu" + depends on BR2_HOST_GCC_AT_LEAST_8 # -march=armv7-a+fp + depends on BR2_PACKAGE_CRIU_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_PYTHON3 # host-python3-ssl + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS + depends on BR2_INSTALL_LIBSTDCPP # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, libnl + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 # rseq.h + depends on !BR2_TOOLCHAIN_USES_UCLIBC # no aio.h + depends on !BR2_STATIC_LIBS # protobuf, libbsd + depends on BR2_USE_WCHAR # libbsd + depends on BR2_USE_MMU # libcap + select BR2_PACKAGE_HOST_PYTHON3_SSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_PROTOBUF_C + select BR2_PACKAGE_LIBAIO + select BR2_PACKAGE_LIBBSD + select BR2_PACKAGE_LIBCAP + select BR2_PACKAGE_LIBNET + select BR2_PACKAGE_LIBNL + select BR2_PACKAGE_PYTHON3 + help + Checkpoint/Restore In Userspace (CRIU), is a software + tool for the Linux operating system to make it possible + to freeze a running application and checkpoint it to + persistent storage as a collection of files. + + https://criu.org/Main_Page + +comment "criu needs a toolchain w/ threads, dynamic library, wchar" + depends on !BR2_HOST_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 \ + || BR2_TOOLCHAIN_USES_UCLIBC \ + || BR2_STATIC_LIBS || !BR2_USE_WCHAR diff --git a/package/criu/criu.hash b/package/criu/criu.hash new file mode 100644 index 0000000000..2c4a07252b --- /dev/null +++ b/package/criu/criu.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 6a9997981c9fe4730c848ce59346b3a22fad69b803607cb67a3f6ec0557fa474 criu-3.18.tar.gz +sha256 568a1fa9d90e18a1a1a61ea58ec2eece16b56a5042cc72c1b4f8d4455ae6fcb7 COPYING diff --git a/package/criu/criu.mk b/package/criu/criu.mk new file mode 100644 index 0000000000..9814e4a0de --- /dev/null +++ b/package/criu/criu.mk @@ -0,0 +1,71 @@ +################################################################################ +# +# CRIU +# +################################################################################ + +CRIU_VERSION = 3.18 +CRIU_SITE = $(call github,checkpoint-restore,criu,v$(CRIU_VERSION)) + +CRIU_LICENSE = GPL-2.0 +CRIU_LICENSE_FILES = COPYING +CRIU_DEPENDENCIES =\ + host-pkgconf \ + host-protobuf-c \ + host-python3 \ + host-python-pip \ + libaio \ + libbsd \ + libcap \ + libnet \ + libnl \ + protobuf \ + protobuf-c \ + python3 + +CRIU_MAKE_ENV =\ + $(TARGET_MAKE_ENV) \ + $(TARGET_CONFIGURE_OPTS) \ + CROSS_COMPILE=$(TARGET_CROSS) \ + WERROR=0 + +#Remap to match the used in criu. +ifeq ($(BR2_NORMALIZED_ARCH),"x86_64") +CRIU_MAKE_ENV += ARCH=x86 +else ifeq ($(BR2_NORMALIZED_ARCH),"powerpc") +CRIU_MAKE_ENV += ARCH=ppc64 +else ifeq ($(BR2_NORMALIZED_ARCH),"arm64") +CRIU_MAKE_ENV += ARCH=aarch64 +else +CRIU_MAKE_ENV += ARCH=$(BR2_NORMALIZED_ARCH) +endif + +ifeq ($(BR2_ARM_CPU_ARMV6), y) +CRIU_MAKE_ENV += SUBARCH=armv6 +else ifeq ($(BR2_ARM_CPU_ARMV7A), y) +CRIU_MAKE_ENV += SUBARCH=armv7 +else ifeq ($(BR2_ARM_CPU_ARMV7M), y) +CRIU_MAKE_ENV += SUBARCH=armv7 +else ifeq ($(BR2_ARM_CPU_ARMV8A), y) +CRIU_MAKE_ENV += SUBARCH=armv8 +else ifeq ($(BR2_ARM_CPU_ARMV8M), y) +CRIU_MAKE_ENV += SUBARCH=armv8 +endif + +# Criu needs Kernel Checkpoint/restore support which is not enabled +# by default. +define CRIU_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CHECKPOINT_RESTORE) +endef + +define CRIU_BUILD_CMDS + rm -rf $(@D)/images/google/protobuf/descriptor.proto + ln -s $(STAGING_DIR)/usr/include/google/protobuf/descriptor.proto $(@D)/images/google/protobuf/descriptor.proto + $(CRIU_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define CRIU_INSTALL_TARGET_CMDS + $(CRIU_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install-criu install-lib install-compel +endef + +$(eval $(generic-package)) -- 2.42.0 From yegorslists at googlemail.com Mon Oct 30 12:30:30 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Mon, 30 Oct 2023 13:30:30 +0100 Subject: [Buildroot] [PATCH v4 3/4] package/python-msgpack: add host cython dependency In-Reply-To: <20231029234003.2606006-3-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> <20231029234003.2606006-3-james.hilliard1@gmail.com> Message-ID: On Mon, Oct 30, 2023 at 12:40?AM James Hilliard wrote: > > We need host-python-cython for python-msgpack to build correctly. > This is a hard error when using a pep517 frontend. > > Fixes: > * Getting build dependencies for wheel... > running egg_info > writing msgpack.egg-info/PKG-INFO > writing dependency_links to msgpack.egg-info/dependency_links.txt > writing top-level names to msgpack.egg-info/top_level.txt > reading manifest file 'msgpack.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no files found matching '*.c' under directory 'msgpack' > adding license file 'COPYING' > writing manifest file 'msgpack.egg-info/SOURCES.txt' > > ERROR Missing dependencies: > Cython~=0.29.30 > > Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov > --- > package/python-msgpack/python-msgpack.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/python-msgpack/python-msgpack.mk b/package/python-msgpack/python-msgpack.mk > index 785fec9f00..c0b76e55ab 100644 > --- a/package/python-msgpack/python-msgpack.mk > +++ b/package/python-msgpack/python-msgpack.mk > @@ -10,5 +10,6 @@ PYTHON_MSGPACK_SITE = https://files.pythonhosted.org/packages/dc/a1/eba11a0d4b76 > PYTHON_MSGPACK_LICENSE = Apache-2.0 > PYTHON_MSGPACK_LICENSE_FILES = COPYING > PYTHON_MSGPACK_SETUP_TYPE = setuptools > +PYTHON_MSGPACK_DEPENDENCIES = host-python-cython > > $(eval $(python-package)) > -- > 2.34.1 > From peter at korsgaard.com Mon Oct 30 12:41:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:41:14 +0100 Subject: [Buildroot] [PATCH 1/1] package/minizip-zlib: fix CVE-2023-45853 In-Reply-To: <20231022213226.101602-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 22 Oct 2023 23:32:26 +0200") References: <20231022213226.101602-1-fontaine.fabrice@gmail.com> Message-ID: <8734xs5llh.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > MiniZip in zlib through 1.3 has an integer overflow and resultant > heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long > filename, comment, or extra field. NOTE: MiniZip is not a supported part > of the zlib product. > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 12:41:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:41:44 +0100 Subject: [Buildroot] [PATCH] package/mxsldr: add .hash file In-Reply-To: <20231025193017.1051787-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 25 Oct 2023 21:30:17 +0200") References: <20231025193017.1051787-1-peter@korsgaard.com> Message-ID: <87y1fk4707.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > The host-mxsldr package was missing a hash file, add it now. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 12:15:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:15:14 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/minizip-zlib: bump to version 1.3 Message-ID: <20231030124156.0167186186@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f684243a8991c7f458e66ad9eac3b9afac54ead branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x https://github.com/madler/zlib/commits/v1.3/contrib/minizip Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c6bf26cfb2ab61675cbab146c43c21511d0d5c29) Signed-off-by: Peter Korsgaard --- package/minizip-zlib/minizip-zlib.hash | 2 +- package/minizip-zlib/minizip-zlib.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip-zlib/minizip-zlib.hash b/package/minizip-zlib/minizip-zlib.hash index df5e8d723a..23bfda8474 100644 --- a/package/minizip-zlib/minizip-zlib.hash +++ b/package/minizip-zlib/minizip-zlib.hash @@ -1,4 +1,4 @@ # From http://www.zlib.net/ -sha256 d14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98 zlib-1.2.13.tar.xz +sha256 8a9ba2898e1d0d774eca6ba5b4627a11e5588ba85c8851336eb38de4683050a7 zlib-1.3.tar.xz # License files, locally calculated sha256 845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243 LICENSE diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk index 4367a2420f..259570f75c 100644 --- a/package/minizip-zlib/minizip-zlib.mk +++ b/package/minizip-zlib/minizip-zlib.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_ZLIB_VERSION = 1.2.13 +MINIZIP_ZLIB_VERSION = 1.3 MINIZIP_ZLIB_SOURCE = zlib-$(MINIZIP_ZLIB_VERSION).tar.xz MINIZIP_ZLIB_SITE = http://www.zlib.net MINIZIP_ZLIB_LICENSE = Zlib From peter at korsgaard.com Mon Oct 30 12:41:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:41:32 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/mxsldr: add .hash file Message-ID: <20231030124156.1555286189@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2d7e2c32d06a8644658cb1465c0e1b1b8a3a6c48 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The host-mxsldr package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit fefcfddc5e6a265c66adbdff615558f99133f148) Signed-off-by: Peter Korsgaard --- package/mxsldr/mxsldr.hash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/mxsldr/mxsldr.hash b/package/mxsldr/mxsldr.hash new file mode 100644 index 0000000000..c2a7b4ad64 --- /dev/null +++ b/package/mxsldr/mxsldr.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 8ef7b7abb8d17c879e70b2c3911df8c5ce97f38779fa65d40be7f34febba55e1 mxsldr-2793a657ab7a22487d21c1b020957806f8ae8383-br1.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING From peter at korsgaard.com Mon Oct 30 12:15:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:15:20 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/minizip-zlib: fix CVE-2023-45853 Message-ID: <20231030124156.0BC2E86187@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e4ee3423836b8e977005d022ea5b664e4669dfed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long filename, comment, or extra field. NOTE: MiniZip is not a supported part of the zlib product. Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit de7bc4ada2ab5ef2e4094934acd5271c0aca19a1) Signed-off-by: Peter Korsgaard --- ...overflows-of-zip-header-fields-in-minizip.patch | 39 ++++++++++++++++++++++ package/minizip-zlib/minizip-zlib.mk | 2 ++ 2 files changed, 41 insertions(+) diff --git a/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch b/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch new file mode 100644 index 0000000000..f4eacc7fdc --- /dev/null +++ b/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch @@ -0,0 +1,39 @@ +From 73331a6a0481067628f065ffe87bb1d8f787d10c Mon Sep 17 00:00:00 2001 +From: Hans Wennborg +Date: Fri, 18 Aug 2023 11:05:33 +0200 +Subject: [PATCH] Reject overflows of zip header fields in minizip. + +This checks the lengths of the file name, extra field, and comment +that would be put in the zip headers, and rejects them if they are +too long. They are each limited to 65535 bytes in length by the zip +format. This also avoids possible buffer overflows if the provided +fields are too long. + +Upstream: https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c +Signed-off-by: Fabrice Fontaine +--- + contrib/minizip/zip.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c +index 3d3d4cadd..0446109b2 100644 +--- a/contrib/minizip/zip.c ++++ b/contrib/minizip/zip.c +@@ -1043,6 +1043,17 @@ extern int ZEXPORT zipOpenNewFileInZip4_64(zipFile file, const char* filename, c + return ZIP_PARAMERROR; + #endif + ++ // The filename and comment length must fit in 16 bits. ++ if ((filename!=NULL) && (strlen(filename)>0xffff)) ++ return ZIP_PARAMERROR; ++ if ((comment!=NULL) && (strlen(comment)>0xffff)) ++ return ZIP_PARAMERROR; ++ // The extra field length must fit in 16 bits. If the member also requires ++ // a Zip64 extra block, that will also need to fit within that 16-bit ++ // length, but that will be checked for later. ++ if ((size_extrafield_local>0xffff) || (size_extrafield_global>0xffff)) ++ return ZIP_PARAMERROR; ++ + zi = (zip64_internal*)file; + + if (zi->in_opened_file_inzip == 1) diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk index 259570f75c..81fee3c687 100644 --- a/package/minizip-zlib/minizip-zlib.mk +++ b/package/minizip-zlib/minizip-zlib.mk @@ -16,5 +16,7 @@ MINIZIP_ZLIB_AUTORECONF = YES MINIZIP_ZLIB_DEPENDENCIES = zlib # demos must be disabled to avoid a conflict with BR2_PACKAGE_MINIZIP_DEMOS MINIZIP_ZLIB_CONF_OPTS = --disable-demos +# 0001-Reject-overflows-of-zip-header-fields-in-minizip.patch +MINIZIP_ZLIB_IGNORE_CVES += CVE-2023-45853 $(eval $(autotools-package)) From peter at korsgaard.com Mon Oct 30 12:41:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:41:27 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/mxsldr: add .hash file Message-ID: <20231030124259.D153D86166@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d8bd44d455f8ec6b1575fb72eb8f3da8a34e9323 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The host-mxsldr package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit fefcfddc5e6a265c66adbdff615558f99133f148) Signed-off-by: Peter Korsgaard --- package/mxsldr/mxsldr.hash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/mxsldr/mxsldr.hash b/package/mxsldr/mxsldr.hash new file mode 100644 index 0000000000..c2a7b4ad64 --- /dev/null +++ b/package/mxsldr/mxsldr.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 8ef7b7abb8d17c879e70b2c3911df8c5ce97f38779fa65d40be7f34febba55e1 mxsldr-2793a657ab7a22487d21c1b020957806f8ae8383-br1.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING From peter at korsgaard.com Mon Oct 30 12:40:31 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:40:31 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/minizip-zlib: fix CVE-2023-45853 Message-ID: <20231030124259.BD4B486191@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4616a30c63a444e9502e67d1fe325f4cf30833e0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long filename, comment, or extra field. NOTE: MiniZip is not a supported part of the zlib product. Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit de7bc4ada2ab5ef2e4094934acd5271c0aca19a1) Signed-off-by: Peter Korsgaard --- ...overflows-of-zip-header-fields-in-minizip.patch | 39 ++++++++++++++++++++++ package/minizip-zlib/minizip-zlib.mk | 2 ++ 2 files changed, 41 insertions(+) diff --git a/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch b/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch new file mode 100644 index 0000000000..f4eacc7fdc --- /dev/null +++ b/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch @@ -0,0 +1,39 @@ +From 73331a6a0481067628f065ffe87bb1d8f787d10c Mon Sep 17 00:00:00 2001 +From: Hans Wennborg +Date: Fri, 18 Aug 2023 11:05:33 +0200 +Subject: [PATCH] Reject overflows of zip header fields in minizip. + +This checks the lengths of the file name, extra field, and comment +that would be put in the zip headers, and rejects them if they are +too long. They are each limited to 65535 bytes in length by the zip +format. This also avoids possible buffer overflows if the provided +fields are too long. + +Upstream: https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c +Signed-off-by: Fabrice Fontaine +--- + contrib/minizip/zip.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c +index 3d3d4cadd..0446109b2 100644 +--- a/contrib/minizip/zip.c ++++ b/contrib/minizip/zip.c +@@ -1043,6 +1043,17 @@ extern int ZEXPORT zipOpenNewFileInZip4_64(zipFile file, const char* filename, c + return ZIP_PARAMERROR; + #endif + ++ // The filename and comment length must fit in 16 bits. ++ if ((filename!=NULL) && (strlen(filename)>0xffff)) ++ return ZIP_PARAMERROR; ++ if ((comment!=NULL) && (strlen(comment)>0xffff)) ++ return ZIP_PARAMERROR; ++ // The extra field length must fit in 16 bits. If the member also requires ++ // a Zip64 extra block, that will also need to fit within that 16-bit ++ // length, but that will be checked for later. ++ if ((size_extrafield_local>0xffff) || (size_extrafield_global>0xffff)) ++ return ZIP_PARAMERROR; ++ + zi = (zip64_internal*)file; + + if (zi->in_opened_file_inzip == 1) diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk index 259570f75c..81fee3c687 100644 --- a/package/minizip-zlib/minizip-zlib.mk +++ b/package/minizip-zlib/minizip-zlib.mk @@ -16,5 +16,7 @@ MINIZIP_ZLIB_AUTORECONF = YES MINIZIP_ZLIB_DEPENDENCIES = zlib # demos must be disabled to avoid a conflict with BR2_PACKAGE_MINIZIP_DEMOS MINIZIP_ZLIB_CONF_OPTS = --disable-demos +# 0001-Reject-overflows-of-zip-header-fields-in-minizip.patch +MINIZIP_ZLIB_IGNORE_CVES += CVE-2023-45853 $(eval $(autotools-package)) From peter at korsgaard.com Mon Oct 30 12:40:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:40:27 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/minizip-zlib: bump to version 1.3 Message-ID: <20231030124259.B3CAF86190@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30472d98b8766d626759a7aa52d76c4f9a0164c5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://github.com/madler/zlib/commits/v1.3/contrib/minizip Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c6bf26cfb2ab61675cbab146c43c21511d0d5c29) Signed-off-by: Peter Korsgaard --- package/minizip-zlib/minizip-zlib.hash | 2 +- package/minizip-zlib/minizip-zlib.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip-zlib/minizip-zlib.hash b/package/minizip-zlib/minizip-zlib.hash index df5e8d723a..23bfda8474 100644 --- a/package/minizip-zlib/minizip-zlib.hash +++ b/package/minizip-zlib/minizip-zlib.hash @@ -1,4 +1,4 @@ # From http://www.zlib.net/ -sha256 d14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98 zlib-1.2.13.tar.xz +sha256 8a9ba2898e1d0d774eca6ba5b4627a11e5588ba85c8851336eb38de4683050a7 zlib-1.3.tar.xz # License files, locally calculated sha256 845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243 LICENSE diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk index 4367a2420f..259570f75c 100644 --- a/package/minizip-zlib/minizip-zlib.mk +++ b/package/minizip-zlib/minizip-zlib.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_ZLIB_VERSION = 1.2.13 +MINIZIP_ZLIB_VERSION = 1.3 MINIZIP_ZLIB_SOURCE = zlib-$(MINIZIP_ZLIB_VERSION).tar.xz MINIZIP_ZLIB_SITE = http://www.zlib.net MINIZIP_ZLIB_LICENSE = Zlib From peter at korsgaard.com Mon Oct 30 13:04:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:04:59 +0100 Subject: [Buildroot] [PATCH 1/1] package/dhcpcd: bump to version 10.0.4 In-Reply-To: <20231019210117.417632-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 19 Oct 2023 23:01:17 +0200") References: <20231019210117.417632-1-fontaine.fabrice@gmail.com> Message-ID: <87sf5s45xg.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.2 > https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.3 > https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.4 > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 13:06:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:06:05 +0100 Subject: [Buildroot] [PATCH 1/1] package/paho-mqtt-c: bump to version 1.3.13 In-Reply-To: <20231019210701.423113-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 19 Oct 2023 23:07:01 +0200") References: <20231019210701.423113-1-fontaine.fabrice@gmail.com> Message-ID: <87o7gg45vm.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.13 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 13:07:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:07:40 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/riscv64-elf-toolchain: add .hash file Message-ID: <20231030130755.B04DE86197@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=68d7581cb318c3ab30521334326707284a4743bc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The host-riscv64-elf-toolchain package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit cf2dcaa1ecede670a0bc54841652a0e3bea5c744) Signed-off-by: Peter Korsgaard --- package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash new file mode 100644 index 0000000000..9f40da0941 --- /dev/null +++ b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 de2bb188300dc38d74103516ce5cfd1060dfd105e8a408e9e3991512cf27285e riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-centos6.tar.gz From peter at korsgaard.com Mon Oct 30 13:05:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:05:54 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/paho-mqtt-c: bump to version 1.3.13 Message-ID: <20231030130755.A42B586196@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a460a1be345dedd4d8a50dd5e7c4d0a1edaa3350 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.13 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 97d6a77d1ef0057c9ccf3da91ac0bdebdb129112) Signed-off-by: Peter Korsgaard --- package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash index 529c538ff2..d359edf36e 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.hash +++ b/package/paho-mqtt-c/paho-mqtt-c.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 6a70a664ed3bbcc1eafdc45a5dc11f3ad70c9bac12a54c2f8cef15c0e7d0a93b paho-mqtt-c-1.3.12.tar.gz +sha256 47c77e95609812da82feee30db435c3b7c720d4fd3147d466ead126e657b6d9c paho-mqtt-c-1.3.13.tar.gz sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk index 8d1fe009a7..ec4e96c77f 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.mk +++ b/package/paho-mqtt-c/paho-mqtt-c.mk @@ -4,7 +4,7 @@ # ################################################################################ -PAHO_MQTT_C_VERSION = 1.3.12 +PAHO_MQTT_C_VERSION = 1.3.13 PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From peter at korsgaard.com Mon Oct 30 13:07:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:07:33 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/riscv64-elf-toolchain: add .hash file Message-ID: <20231030130901.08DC0861A4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33a967ed85c4a38a85e257a88fef5ef9b00e55cb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The host-riscv64-elf-toolchain package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit cf2dcaa1ecede670a0bc54841652a0e3bea5c744) Signed-off-by: Peter Korsgaard --- package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash new file mode 100644 index 0000000000..9f40da0941 --- /dev/null +++ b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 de2bb188300dc38d74103516ce5cfd1060dfd105e8a408e9e3991512cf27285e riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-centos6.tar.gz From peter at korsgaard.com Mon Oct 30 13:05:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:05:58 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/paho-mqtt-c: bump to version 1.3.13 Message-ID: <20231030130900.F2CF7861A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=70cb03d1b0b03f7bd40016c52e7b02fb00179ab2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.13 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 97d6a77d1ef0057c9ccf3da91ac0bdebdb129112) Signed-off-by: Peter Korsgaard --- package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash index 529c538ff2..d359edf36e 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.hash +++ b/package/paho-mqtt-c/paho-mqtt-c.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 6a70a664ed3bbcc1eafdc45a5dc11f3ad70c9bac12a54c2f8cef15c0e7d0a93b paho-mqtt-c-1.3.12.tar.gz +sha256 47c77e95609812da82feee30db435c3b7c720d4fd3147d466ead126e657b6d9c paho-mqtt-c-1.3.13.tar.gz sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk index 8d1fe009a7..ec4e96c77f 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.mk +++ b/package/paho-mqtt-c/paho-mqtt-c.mk @@ -4,7 +4,7 @@ # ################################################################################ -PAHO_MQTT_C_VERSION = 1.3.12 +PAHO_MQTT_C_VERSION = 1.3.13 PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From peter at korsgaard.com Mon Oct 30 13:04:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:04:35 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/dhcpcd: bump to version 10.0.4 Message-ID: <20231030130900.E8191861A2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cc74b71ea0729c6d52ced43c4d0d3fbb835ea706 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.2 https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.3 https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.4 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit f6890c1c4e04a968484ccf0c89ffce8b57ff3281) Signed-off-by: Peter Korsgaard --- package/dhcpcd/dhcpcd.hash | 4 ++-- package/dhcpcd/dhcpcd.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/dhcpcd/dhcpcd.hash b/package/dhcpcd/dhcpcd.hash index 88032f05c1..b015dce4ac 100644 --- a/package/dhcpcd/dhcpcd.hash +++ b/package/dhcpcd/dhcpcd.hash @@ -1,4 +1,4 @@ -# sha256 from https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.1 -sha256 6e9f6a5c47fcd8a763cfa26f1ca6eedf1e534992224a01d6c1ab8abb154af972 dhcpcd-10.0.1.tar.xz +# sha256 from https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.4 +sha256 ced5bbde8da3726eac77b9e77e4f31a89c9849d811ef8a2c749664fc5f55a718 dhcpcd-10.0.4.tar.xz # Locally calculated sha256 a7d6da3a202cdd38eaab0bcea4d25f60d002980f3785b3e896d9bf387f093ac8 LICENSE diff --git a/package/dhcpcd/dhcpcd.mk b/package/dhcpcd/dhcpcd.mk index 82efe10ef9..a194bce323 100644 --- a/package/dhcpcd/dhcpcd.mk +++ b/package/dhcpcd/dhcpcd.mk @@ -4,7 +4,7 @@ # ################################################################################ -DHCPCD_VERSION = 10.0.1 +DHCPCD_VERSION = 10.0.4 DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.xz DHCPCD_SITE = https://github.com/NetworkConfiguration/dhcpcd/releases/download/v$(DHCPCD_VERSION) DHCPCD_DEPENDENCIES = host-pkgconf From peter at korsgaard.com Mon Oct 30 13:09:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:09:20 +0100 Subject: [Buildroot] [PATCH] package/riscv64-elf-toolchain: add .hash file In-Reply-To: <20231027084159.1841045-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 27 Oct 2023 10:41:59 +0200") References: <20231027084159.1841045-1-peter@korsgaard.com> Message-ID: <87jzr445q7.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > The host-riscv64-elf-toolchain package was missing a hash file, add it now. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Mon Oct 30 13:10:52 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 30 Oct 2023 14:10:52 +0100 Subject: [Buildroot] [PATCH 1/1] package/flashrom: disable -Werror Message-ID: <20231030131052.661107-1-fontaine.fabrice@gmail.com> Disable -Werror to avoid the following build failure raised since bump to version 1.3.0 in commit 073b0fc9c1fe9945eccf4b792b948633aae9a9b8: chipset_enable.c:27: error: "_LARGEFILE64_SOURCE" redefined [-Werror] 27 | #define _LARGEFILE64_SOURCE | : note: this is the location of the previous definition Fixes: - http://autobuild.buildroot.org/results/b8d8c30d1306c2ba8f59b48f457a7ef930306b8c Signed-off-by: Fabrice Fontaine --- package/flashrom/flashrom.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index ca55592dba..1ccef572da 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -9,6 +9,7 @@ FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2 FLASHROM_SITE = https://download.flashrom.org/releases FLASHROM_LICENSE = GPL-2.0+ FLASHROM_LICENSE_FILES = COPYING +FLASHROM_MAKE_OPTS = WARNERROR=no ifeq ($(BR2_PACKAGE_LIBFTDI),y) FLASHROM_DEPENDENCIES += host-pkgconf libftdi -- 2.42.0 From enki at fsck.pl Mon Oct 30 13:23:21 2023 From: enki at fsck.pl (enki) Date: Mon, 30 Oct 2023 14:23:21 +0100 Subject: [Buildroot] [PATCH v2 1/1] package/spirv-tools: fix build issue In-Reply-To: <20231027091526.2224829-1-enki@fsck.pl> References: <20231027091526.2224829-1-enki@fsck.pl> Message-ID: <18b80c0ce62.cb399136547843.6065948676717076989@fsck.pl> > Maciej, All, Sorry for not replying to your email directly but instead mashing this response out of the original email as I seem to have deleted the thread somehow :/. > On 2023-10-27 11:15 +0200, Maciej Grela spake thusly: > > spirv-tools requires a C++ toolchain with shared libs, add flag dependency and comment. > > Fabrice had already sent a patch adding C++ requirement, and since it > also was more strict in requiring C++17, I applied his patch. > > > Fixes: http://autobuild.buildroot.net/results/53b3cf124d6c299398e620120465eca396ddcdff > > Fixes: http://autobuild.buildroot.net/results/a1f615d2410bffb6fdacc8586761c9def05aafa9 > > Fixes: http://autobuild.buildroot.net/results/294ade8c9aa3d650fa5ab6cc34701c4176bc197f > > Fixes: http://autobuild.buildroot.net/results/40e8f50eb7e82ca42f84fa5f4336cefb51204a28 > > Fixes: http://autobuild.buildroot.net/results/3c3be2c454863709d0db896bafbe11cd9df092a3 > > Fixes: http://autobuild.buildroot.net/results/8df8de1aeaf1317f6ba43f6752502da2eedcdea1 > > Fixes: http://autobuild.buildroot.net/results/ea2c1f97e82efcd867c79f05ab02f5f099140379 > > Fixes: http://autobuild.buildroot.net/results/fa4e39d1e78e885d20851201ed8a6fcf9d48d7d6 > > Fixes: http://autobuild.buildroot.net/results/4ed3f13b3ce178f8fe87de7aee86acb9642e3434 > > Fixes: http://autobuild.buildroot.net/results/e1b4853a7e8714fd2af8f8677681c9895034b3e8 > > AFAICS, none of those relate to shared libraries, but only to C++. > > Can you point to a build failure that is explicitly about shared libs? > Consider a1f615d2410bffb6fdacc8586761c9def05aafa9, when you try download the config and try to build spirv-tools with just enabling the C++ toolchain it fails with the following error: [ 54%] Building CXX object source/opt/CMakeFiles/SPIRV-Tools-opt.dir/dataflow.cpp.o [ 55%] Building CXX object source/opt/CMakeFiles/SPIRV-Tools-opt.dir/dead_branch_elim_pass.cpp.o /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0x140): undefined reference to `__fini_array_start' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x144): undefined reference to `__fini_array_end' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x148): undefined reference to `__fini_array_start' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_main': __uClibc_main.c:(.text+0x430): undefined reference to `__preinit_array_start' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x434): undefined reference to `__preinit_array_end' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x438): undefined reference to `__init_array_start' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x43c): undefined reference to `__init_array_end' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: libSPIRV-Tools-shared.so: hidden symbol `__preinit_array_start' isn't defined /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status As far as my research about these errors suggested this is a result of trying to do a dynamic link with a static library. After enabling BR2_SHARED_LIBS and rebuilding the entire toolchain (make clean + make spirv-tools again) the build succeeds: [ 99%] Building CXX object tools/CMakeFiles/spirv-reduce.dir/util/cli_consumer.cpp.o [ 99%] Building CXX object tools/CMakeFiles/spirv-reduce.dir/reduce/reduce.cpp.o [ 99%] Linking CXX executable spirv-link [ 99%] Built target spirv-link [100%] Linking CXX executable spirv-diff [100%] Built target spirv-diff [100%] Linking CXX executable spirv-reduce [100%] Built target spirv-reduce >>> spirv-tools 1.3.261.1 Installing to staging directory PATH="/home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/bin:/home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/sbin:/home/enki/.local/bin:/home/enki/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" DESTDIR=/home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/armeb-buildroot-linux-uclibcgnueabi/sysroot /usr/bin/cmake --install /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/build/spirv-tools-1.3.261.1/ The failure mode here might be caused by the fact that the .mk file explicitly disables static builds for spirv-tools: ? buildroot git:(75fa573ef9) ? cat package/spirv-tools/spirv-tools.mk # Keep in sync with spirv-headers version SPIRV_TOOLS_VERSION = 1.3.261.1 SPIRV_TOOLS_SITE = $(call github,KhronosGroup,SPIRV-Tools,sdk-$(SPIRV_TOOLS_VERSION)) SPIRV_TOOLS_LICENSE = Apache-2.0 SPIRV_TOOLS_LICENSE_FILES = LICENSE SPIRV_TOOLS_DEPENDENCIES = spirv-headers SPIRV_TOOLS_INSTALL_STAGING = YES SPIRV_TOOLS_CONF_OPTS = \ -DSPIRV-Headers_SOURCE_DIR=$(STAGING_DIR)/usr \ *** -DSPIRV_TOOLS_BUILD_STATIC=OFF \ **** -DSPIRV_SKIP_TESTS=ON \ -DSPIRV_WERROR=OFF > > Signed-off-by: Maciej Grela > > --- > > package/spirv-tools/Config.in | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in > > index e2f46253a9..f1ae11bd09 100644 > > --- a/package/spirv-tools/Config.in > > +++ b/package/spirv-tools/Config.in > > @@ -1,6 +1,11 @@ > > +comment "spirv-tools needs a toolchain w/ C++, dynamic library" > > + depends on !BR2_INSTALL_LIBSTDCPP || ( !BR2_SHARED_LIBS && !BR2_SHARED_STATIC_LIBS ) > > + > > config BR2_PACKAGE_SPIRV_TOOLS > > bool "spirv-tools" > > select BR2_PACKAGE_SPIRV_HEADERS > > + depends on BR2_INSTALL_LIBSTDCPP > > + depends on BR2_SHARED_LIBS || BR2_SHARED_STATIC_LIBS > Also this is technically correct (and I would thinkg semantically the > best), we usally use the shorter dependnecy on !static: > > depends on !BR2_STATIC_LIBS > > You also forgot to add a comment for when the condition is not met. > > So, if sahred libs is really required, can you respin a patch with the > above fixed, please? Yes, one sec. -- enki From enki at fsck.pl Mon Oct 30 13:28:40 2023 From: enki at fsck.pl (Maciej Grela) Date: Mon, 30 Oct 2023 14:28:40 +0100 Subject: [Buildroot] [PATCH v3 1/1] package/spirv-tools: fix build issue In-Reply-To: <18b80c0ce62.cb399136547843.6065948676717076989@fsck.pl> References: <18b80c0ce62.cb399136547843.6065948676717076989@fsck.pl> Message-ID: <20231030132841.3052429-1-enki@fsck.pl> spirv-tools requires a toolchain w/ shared libs, add flag dependency and comment. Fixes: http://autobuild.buildroot.net/results/53b3cf124d6c299398e620120465eca396ddcdff Fixes: http://autobuild.buildroot.net/results/a1f615d2410bffb6fdacc8586761c9def05aafa9 Fixes: http://autobuild.buildroot.net/results/294ade8c9aa3d650fa5ab6cc34701c4176bc197f Fixes: http://autobuild.buildroot.net/results/40e8f50eb7e82ca42f84fa5f4336cefb51204a28 Fixes: http://autobuild.buildroot.net/results/8df8de1aeaf1317f6ba43f6752502da2eedcdea1 Fixes: http://autobuild.buildroot.net/results/ea2c1f97e82efcd867c79f05ab02f5f099140379 Fixes: http://autobuild.buildroot.net/results/fa4e39d1e78e885d20851201ed8a6fcf9d48d7d6 Fixes: http://autobuild.buildroot.net/results/4ed3f13b3ce178f8fe87de7aee86acb9642e3434 Fixes: http://autobuild.buildroot.net/results/e1b4853a7e8714fd2af8f8677681c9895034b3e8 Signed-off-by: Maciej Grela --- package/spirv-tools/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in index 39fdb80b86..c1d3a4f9bc 100644 --- a/package/spirv-tools/Config.in +++ b/package/spirv-tools/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_SPIRV_TOOLS bool "spirv-tools" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + depends on !BR2_STATIC_LIBS select BR2_PACKAGE_SPIRV_HEADERS help The SPIR-V Tools project provides an API and commands for @@ -9,6 +10,8 @@ config BR2_PACKAGE_SPIRV_TOOLS https://github.com/KhronosGroup/SPIRV-Tools -comment "spirv-tools needs a toolchain w/ C++, gcc >= 7" +comment "spirv-tools needs a toolchain w/ C++, gcc >= 7, dynamic library" depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + BR2_STATIC_LIBS + -- 2.39.2 From fontaine.fabrice at gmail.com Mon Oct 30 13:38:33 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 30 Oct 2023 14:38:33 +0100 Subject: [Buildroot] [PATCH 1/1] package/tar: fix NLS build Message-ID: <20231030133833.1102839-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump to version 1.35 in commit d4d483451f0a305781b94b96c15a6cf4b489cd84: /home/thomas/autobuild/instance-1/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/12.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: buffer.o: in function `bufmap_reset': buffer.c:(.text+0xe8): undefined reference to `libintl_gettext' Fixes: - http://autobuild.buildroot.org/results/99b05d4b495b6337c6a48ea5a551a3a84c6d2e6b Signed-off-by: Fabrice Fontaine --- package/tar/tar.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 8a612b6f45..5908b9ec3e 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -19,6 +19,8 @@ TAR_CONF_OPTS = \ TAR_LICENSE = GPL-3.0+ TAR_LICENSE_FILES = COPYING TAR_CPE_ID_VENDOR = gnu +TAR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +TAR_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) ifeq ($(BR2_PACKAGE_ACL),y) TAR_DEPENDENCIES += acl -- 2.42.0 From peter at korsgaard.com Mon Oct 30 14:21:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 15:21:53 +0100 Subject: [Buildroot] [PATCH] package/xen: security bump to version 4.14.6 Message-ID: <20231030142153.645962-1-peter@korsgaard.com> Includes a number of bugfixes and the security fixes up to xsa-436: https://xenproject.org/downloads/xen-project-archives/xen-project-4-14-series/xen-project-4-14-6/ Signed-off-by: Peter Korsgaard --- package/xen/xen.hash | 2 +- package/xen/xen.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xen/xen.hash b/package/xen/xen.hash index 5637f0e8d9..d2350ac515 100644 --- a/package/xen/xen.hash +++ b/package/xen/xen.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a1a24092ad14658eed420b7d56b67d0d9d5b314e96c30a799b45f3a721f98bf0 xen-4.14.5.tar.gz +sha256 7917681bc6e744789815131fcf7799e6b83a0d45b5801ac654322b037ce472f8 xen-4.14.6.tar.gz sha256 ecca9538e9d3f7e3c2bff827502f4495e2ef9e22c451298696ea08886b176c2c COPYING diff --git a/package/xen/xen.mk b/package/xen/xen.mk index 169753e89f..651442cfdf 100644 --- a/package/xen/xen.mk +++ b/package/xen/xen.mk @@ -4,7 +4,7 @@ # ################################################################################ -XEN_VERSION = 4.14.5 +XEN_VERSION = 4.14.6 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) XEN_LICENSE = GPL-2.0 XEN_LICENSE_FILES = COPYING -- 2.39.2 From peter at korsgaard.com Mon Oct 30 17:18:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:18:04 +0100 Subject: [Buildroot] [PATCH] Config.in: default to HTTPS for s.b.n backup site In-Reply-To: <20231027121252.1855024-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 27 Oct 2023 14:12:51 +0200") References: <20231027121252.1855024-1-peter@korsgaard.com> Message-ID: <87fs1s3u7n.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Now that we have HTTPS support for sources.buildroot.net (through Lets > encrypt / Cloudflare), it makes sense to default to it for our backup site. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:18:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:18:15 +0100 Subject: [Buildroot] [PATCH 1/2] package/aufs: use HTTPS for git.code.sf.net In-Reply-To: <20231027122551.1856719-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 27 Oct 2023 14:25:50 +0200") References: <20231027122551.1856719-1-peter@korsgaard.com> Message-ID: <87bkcg3u7c.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > git.code.sf.net is available over HTTPS, so use that for security and > consistency with the other packages. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:18:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:18:25 +0100 Subject: [Buildroot] [PATCH 2/2] package/aufs-util: use HTTPS for git.code.sf.net In-Reply-To: <20231027122551.1856719-2-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 27 Oct 2023 14:25:51 +0200") References: <20231027122551.1856719-1-peter@korsgaard.com> <20231027122551.1856719-2-peter@korsgaard.com> Message-ID: <877cn43u72.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > git.code.sf.net is available over HTTPS, so use that for security and > consistency with the other packages. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:22:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:22:39 +0100 Subject: [Buildroot] [PATCH 1/2] package/zchunk: add ZCHUNK_CPE_ID_VENDOR In-Reply-To: <20231028153448.142511-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 17:34:47 +0200") References: <20231028153448.142511-1-fontaine.fabrice@gmail.com> Message-ID: <8734xs3u00.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: > https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:22:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:22:45 +0100 Subject: [Buildroot] [PATCH 2/2] package/zchunk: security bump to version 1.3.2 In-Reply-To: <20231028153448.142511-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 17:34:48 +0200") References: <20231028153448.142511-1-fontaine.fabrice@gmail.com> <20231028153448.142511-2-fontaine.fabrice@gmail.com> Message-ID: <87y1fk2ffe.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Drop patches (already in version) > - tests can be disabled since version 1.2.3 and > https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 > - docs can be disabled since version 1.2.3 and > https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 > - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows > via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, > lib/dl/multipart.c, or lib/header.c. > https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:23:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:23:57 +0100 Subject: [Buildroot] [PATCH 1/1] package/tiff: security bump to version 4.6.0 In-Reply-To: <20231028161244.221857-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 18:12:44 +0200") References: <20231028161244.221857-1-fontaine.fabrice@gmail.com> Message-ID: <87ttq82fde.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Drop --without-x (now unrecognized) > - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This > flaw allows remote attackers to cause a denial of service (application > crash) or possibly execute an arbitrary code via a crafted tiff image, > which triggers a heap-based buffer overflow. > - Fix CVE-2023-41175: A vulnerability was found in libtiff due to > multiple potential integer overflows in raw2tiff.c. This flaw allows > remote attackers to cause a denial of service or possibly execute an > arbitrary code via a crafted tiff image, which triggers a heap-based > buffer overflow. > https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:17:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:30 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/aufs: use HTTPS for git.code.sf.net Message-ID: <20231030172428.1B70B861C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=639b6ececb93af8b8c3d44a4f727f07e5dd96e43 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit f2a590750f5bedcee48ce7beb8f35356b42eda11) Signed-off-by: Peter Korsgaard --- package/aufs/aufs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk index 4e95a350a0..d00e7a1a21 100644 --- a/package/aufs/aufs.mk +++ b/package/aufs/aufs.mk @@ -9,7 +9,7 @@ AUFS_LICENSE = GPL-2.0 AUFS_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) -AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone +AUFS_SITE = https://git.code.sf.net/p/aufs/aufs3-standalone AUFS_SITE_METHOD = git else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4) AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) From peter at korsgaard.com Mon Oct 30 17:20:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:20:58 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/zchunk: add ZCHUNK_CPE_ID_VENDOR Message-ID: <20231030172428.2AFD4861BF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f8625442e96e5f098d354b71363d8855e811862e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 3499c75ccf8b481fb3499a218920a3e276b09fa9) Signed-off-by: Peter Korsgaard --- package/zchunk/zchunk.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index fc91f90431..2acdaba3a1 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE +ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) From peter at korsgaard.com Mon Oct 30 17:21:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:21:10 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/zchunk: security bump to version 1.3.2 Message-ID: <20231030172428.1AA96861A1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=60de45e18416e63bcbf0829291083e25a5773a75 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x - Drop patches (already in version) - tests can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 - docs can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, lib/dl/multipart.c, or lib/header.c. https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 8716942ca68e98e384746c09871fedfb36c0f629) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 2 - ...fix-argp-standalone-wrap-and-find_library.patch | 106 --------------------- .../0002-zck-declare-write_data-as-static.patch | 34 ------- package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 3 +- 5 files changed, 3 insertions(+), 144 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 526df2d781..6d43a7457f 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1597,8 +1597,6 @@ package/ytree/0001-fix-musl.patch Upstream package/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch Upstream package/zabbix/0002-fix-build-with-libressl-3.5.0.patch Upstream package/zbar/0001-python-enum-fix-build-for-Python-3.11.patch Upstream -package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch Upstream -package/zchunk/0002-zck-declare-write_data-as-static.patch Upstream package/zic/0001-remove-dependency-check-on-version-file.patch Upstream package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch Upstream package/zip/0002-configure-Don-t-use-host-CPP.patch Upstream diff --git a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch b/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch deleted file mode 100644 index 6c9cdba3ad..0000000000 --- a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 473c97cda44b95f5cea08a0cdd566e602df564db Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Thu, 21 Apr 2022 14:24:01 -0600 -Subject: [PATCH] meson: fix argp-standalone wrap and find_library - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -473c97cda44b95f5cea08a0cdd566e602df564db] ---- - .github/workflows/main.yml | 27 --------------------------- - meson.build | 6 +++--- - subprojects/argp-standalone.wrap | 7 +++++++ - 3 files changed, 10 insertions(+), 30 deletions(-) - create mode 100644 subprojects/argp-standalone.wrap - -diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml -index c49806f..35667af 100644 ---- a/.github/workflows/main.yml -+++ b/.github/workflows/main.yml -@@ -35,25 +35,11 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - name: Install mamba - uses: mamba-org/provision-with-micromamba at main - with: - environment-file: .github/environment.yml - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- CALL micromamba activate zchunk_test_env -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir --prefix=%CONDA_PREFIX%\Library -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -@@ -75,11 +61,6 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - uses: actions/setup-python at v1 - with: - python-version: '3.x' -@@ -87,14 +68,6 @@ jobs: - - name: Install meson and ninja - run: pip install meson ninja - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -diff --git a/meson.build b/meson.build -index 1c6b32d..aa7dd25 100644 ---- a/meson.build -+++ b/meson.build -@@ -58,10 +58,10 @@ endif - - # argp-standalone dependency (if required) - if build_machine.system() == 'windows' or build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include \nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}') -- if fs.is_dir(join_paths([get_option('prefix'), 'include'])) -- inc += include_directories(join_paths([get_option('prefix'), 'include'])) -+ argplib = cc.find_library('argp', has_headers : ['argp.h'], required: false) -+ if not argplib.found() -+ argplib = dependency('argp-standalone') - endif -- argplib = cc.find_library('argp', dirs : join_paths([get_option('prefix'), 'lib'])) - else - argplib = dependency('', required : false) - endif -diff --git a/subprojects/argp-standalone.wrap b/subprojects/argp-standalone.wrap -new file mode 100644 -index 0000000..14c0b63 ---- /dev/null -+++ b/subprojects/argp-standalone.wrap -@@ -0,0 +1,7 @@ -+[wrap-git] -+directory = argp-standalone-1.4.1 -+url = https://github.com/argp-standalone/argp-standalone.git -+revision = 21855f34ec9997c37e1a08cd69497336513a5800 -+ -+[provide] -+dependency_names = argp-standalone --- -2.25.1 - diff --git a/package/zchunk/0002-zck-declare-write_data-as-static.patch b/package/zchunk/0002-zck-declare-write_data-as-static.patch deleted file mode 100644 index 3c48ab3d50..0000000000 --- a/package/zchunk/0002-zck-declare-write_data-as-static.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Wed, 4 May 2022 16:32:48 -0600 -Subject: [PATCH] zck: declare write_data as static - -This needs to be declared static to avoid a symbol conflict: -io.c:(.text+0xe8): multiple definition of `write_data'; src/zck.p/zck.c.o:zck.c:(.text+0x1f4): first defined here - -Fixes: - - http://autobuild.buildroot.net/results/225/22590a7038a40da3700d56c1f82f7dc74225702a - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc] ---- - src/zck.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/zck.c b/src/zck.c -index 7727479..83b2630 100644 ---- a/src/zck.c -+++ b/src/zck.c -@@ -159,7 +159,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) { - - static struct argp argp = {options, parse_opt, args_doc, doc}; - --void write_data(zckCtx *zck, char *data, ssize_t in_size) { -+static void write_data(zckCtx *zck, char *data, ssize_t in_size) { - if(zck_write(zck, data, in_size) < 0) { - LOG_ERROR("%s", zck_get_error(zck)); - exit(1); --- -2.25.1 - diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index fa097d4ae0..15103a9ea0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz +sha256 4d923d32af7db33f3c0a6655b258e857a2ca564912cf85ddce14e9b1b7d495bf zchunk-1.3.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 2acdaba3a1..39d51ac352 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,12 +4,13 @@ # ################################################################################ -ZCHUNK_VERSION = 1.2.2 +ZCHUNK_VERSION = 1.3.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES +ZCHUNK_CONF_OPTS = -Ddocs=false -Dtests=false ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) ZCHUNK_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) From peter at korsgaard.com Mon Oct 30 17:17:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:14 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] Config.in: default to HTTPS for s.b.n backup site Message-ID: <20231030172428.17FD4861C7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9614e6ee786c9a6c4a7feeb947e667f85d708785 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Now that we have HTTPS support for sources.buildroot.net (through Lets encrypt / Cloudflare), it makes sense to default to it for our backup site. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 05296ced369bab8877efa624f3d9b4d201ba5b38) Signed-off-by: Peter Korsgaard --- Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config.in b/Config.in index 670e199c0b..1fcf549e62 100644 --- a/Config.in +++ b/Config.in @@ -241,7 +241,7 @@ if !BR2_PRIMARY_SITE_ONLY config BR2_BACKUP_SITE string "Backup download site" - default "http://sources.buildroot.net" + default "https://sources.buildroot.net" help Backup site to download from. If this option is set then buildroot will fall back to download package sources from here From peter at korsgaard.com Mon Oct 30 17:17:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:34 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/aufs-util: use HTTPS for git.code.sf.net Message-ID: <20231030172428.22EC3861C4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7aad5e1b433e4eb60a33c05474a6dcd2bffa8ce9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 99d525028f969220719a4e6bcd694f7d9cfd5b67) Signed-off-by: Peter Korsgaard --- package/aufs-util/aufs-util.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index d954f02958..32f3bca151 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -6,7 +6,7 @@ # linux-headers AUFS_UTIL_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_UTIL_VERSION)) -AUFS_UTIL_SITE = http://git.code.sf.net/p/aufs/aufs-util +AUFS_UTIL_SITE = https://git.code.sf.net/p/aufs/aufs-util AUFS_UTIL_SITE_METHOD = git AUFS_UTIL_LICENSE = GPL-2.0 AUFS_UTIL_LICENSE_FILES = COPYING From peter at korsgaard.com Mon Oct 30 17:23:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:23:34 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/tiff: security bump to version 4.6.0 Message-ID: <20231030172428.21F6B861BE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=49bed3048ba18a4ed0aee4fbc3e2331ac698bd80 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x - Drop --without-x (now unrecognized) - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. - Fix CVE-2023-41175: A vulnerability was found in libtiff due to multiple potential integer overflows in raw2tiff.c. This flaw allows remote attackers to cause a denial of service or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e96b1c4b0b06d65c54a764fe4a59d886afc70df5) Signed-off-by: Peter Korsgaard --- package/tiff/tiff.hash | 2 +- package/tiff/tiff.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/tiff/tiff.hash b/package/tiff/tiff.hash index 0fa503a02a..3aae7dc4d5 100644 --- a/package/tiff/tiff.hash +++ b/package/tiff/tiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b tiff-4.5.1.tar.gz +sha256 88b3979e6d5c7e32b50d7ec72fb15af724f6ab2cbf7e10880c360a77e4b5d99a tiff-4.6.0.tar.gz sha256 0780558a8bfba0af1160ec1ff11ade4f41c0d7deafd6ecfc796b492a788e380d LICENSE.md diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 0006f461a0..e384e8b814 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIFF_VERSION = 4.5.1 +TIFF_VERSION = 4.6.0 TIFF_SITE = http://download.osgeo.org/libtiff TIFF_LICENSE = tiff license TIFF_LICENSE_FILES = LICENSE.md @@ -17,14 +17,12 @@ TIFF_INSTALL_STAGING = YES TIFF_CONF_OPTS = \ --disable-contrib \ --disable-tests \ - --disable-webp \ - --without-x + --disable-webp TIFF_DEPENDENCIES = host-pkgconf HOST_TIFF_CONF_OPTS = \ --disable-cxx \ - --without-x \ --disable-zlib \ --disable-libdeflate \ --disable-lzma \ From peter at korsgaard.com Mon Oct 30 17:17:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:40 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/aufs-util: use HTTPS for git.code.sf.net Message-ID: <20231030172538.288F6861DA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4c4115a45f2fb1a13154c41b5d4a4d302b08ce6f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 99d525028f969220719a4e6bcd694f7d9cfd5b67) Signed-off-by: Peter Korsgaard --- package/aufs-util/aufs-util.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index d954f02958..32f3bca151 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -6,7 +6,7 @@ # linux-headers AUFS_UTIL_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_UTIL_VERSION)) -AUFS_UTIL_SITE = http://git.code.sf.net/p/aufs/aufs-util +AUFS_UTIL_SITE = https://git.code.sf.net/p/aufs/aufs-util AUFS_UTIL_SITE_METHOD = git AUFS_UTIL_LICENSE = GPL-2.0 AUFS_UTIL_LICENSE_FILES = COPYING From peter at korsgaard.com Mon Oct 30 17:17:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:25 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/aufs: use HTTPS for git.code.sf.net Message-ID: <20231030172538.1EDB9861D9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d91519910b879607cce8501489bdb087872b3f6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit f2a590750f5bedcee48ce7beb8f35356b42eda11) Signed-off-by: Peter Korsgaard --- package/aufs/aufs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk index 4e95a350a0..d00e7a1a21 100644 --- a/package/aufs/aufs.mk +++ b/package/aufs/aufs.mk @@ -9,7 +9,7 @@ AUFS_LICENSE = GPL-2.0 AUFS_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) -AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone +AUFS_SITE = https://git.code.sf.net/p/aufs/aufs3-standalone AUFS_SITE_METHOD = git else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4) AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) From peter at korsgaard.com Mon Oct 30 17:17:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:20 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] Config.in: default to HTTPS for s.b.n backup site Message-ID: <20231030172538.145DA861D8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=47a5fa5cf36b1efa3ec6154e655635bf2a033a21 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Now that we have HTTPS support for sources.buildroot.net (through Lets encrypt / Cloudflare), it makes sense to default to it for our backup site. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 05296ced369bab8877efa624f3d9b4d201ba5b38) Signed-off-by: Peter Korsgaard --- Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config.in b/Config.in index 670e199c0b..1fcf549e62 100644 --- a/Config.in +++ b/Config.in @@ -241,7 +241,7 @@ if !BR2_PRIMARY_SITE_ONLY config BR2_BACKUP_SITE string "Backup download site" - default "http://sources.buildroot.net" + default "https://sources.buildroot.net" help Backup site to download from. If this option is set then buildroot will fall back to download package sources from here From peter at korsgaard.com Mon Oct 30 17:21:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:21:26 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/zchunk: add ZCHUNK_CPE_ID_VENDOR Message-ID: <20231030172538.326C6861DB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9535e09087421d1cb8c35bc8f63ca9627635fc1f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 3499c75ccf8b481fb3499a218920a3e276b09fa9) Signed-off-by: Peter Korsgaard --- package/zchunk/zchunk.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index fc91f90431..2acdaba3a1 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE +ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) From peter at korsgaard.com Mon Oct 30 17:23:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:23:26 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/tiff: security bump to version 4.6.0 Message-ID: <20231030172538.46934861DE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c33c40a45e28842937a4d1e3f2d45a5090e864ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x - Drop --without-x (now unrecognized) - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. - Fix CVE-2023-41175: A vulnerability was found in libtiff due to multiple potential integer overflows in raw2tiff.c. This flaw allows remote attackers to cause a denial of service or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e96b1c4b0b06d65c54a764fe4a59d886afc70df5) Signed-off-by: Peter Korsgaard --- package/tiff/tiff.hash | 2 +- package/tiff/tiff.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/tiff/tiff.hash b/package/tiff/tiff.hash index 0fa503a02a..3aae7dc4d5 100644 --- a/package/tiff/tiff.hash +++ b/package/tiff/tiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b tiff-4.5.1.tar.gz +sha256 88b3979e6d5c7e32b50d7ec72fb15af724f6ab2cbf7e10880c360a77e4b5d99a tiff-4.6.0.tar.gz sha256 0780558a8bfba0af1160ec1ff11ade4f41c0d7deafd6ecfc796b492a788e380d LICENSE.md diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 0006f461a0..e384e8b814 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIFF_VERSION = 4.5.1 +TIFF_VERSION = 4.6.0 TIFF_SITE = http://download.osgeo.org/libtiff TIFF_LICENSE = tiff license TIFF_LICENSE_FILES = LICENSE.md @@ -17,14 +17,12 @@ TIFF_INSTALL_STAGING = YES TIFF_CONF_OPTS = \ --disable-contrib \ --disable-tests \ - --disable-webp \ - --without-x + --disable-webp TIFF_DEPENDENCIES = host-pkgconf HOST_TIFF_CONF_OPTS = \ --disable-cxx \ - --without-x \ --disable-zlib \ --disable-libdeflate \ --disable-lzma \ From peter at korsgaard.com Mon Oct 30 17:22:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:22:00 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/zchunk: security bump to version 1.3.2 Message-ID: <20231030172538.3C9AC861DD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=052896e15ee905066b077b885b422706cd4157c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x - Drop patches (already in version) - tests can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 - docs can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, lib/dl/multipart.c, or lib/header.c. https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 8716942ca68e98e384746c09871fedfb36c0f629) Signed-off-by: Peter Korsgaard --- ...fix-argp-standalone-wrap-and-find_library.patch | 106 --------------------- .../0002-zck-declare-write_data-as-static.patch | 34 ------- package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 3 +- 4 files changed, 3 insertions(+), 142 deletions(-) diff --git a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch b/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch deleted file mode 100644 index 6c9cdba3ad..0000000000 --- a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 473c97cda44b95f5cea08a0cdd566e602df564db Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Thu, 21 Apr 2022 14:24:01 -0600 -Subject: [PATCH] meson: fix argp-standalone wrap and find_library - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -473c97cda44b95f5cea08a0cdd566e602df564db] ---- - .github/workflows/main.yml | 27 --------------------------- - meson.build | 6 +++--- - subprojects/argp-standalone.wrap | 7 +++++++ - 3 files changed, 10 insertions(+), 30 deletions(-) - create mode 100644 subprojects/argp-standalone.wrap - -diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml -index c49806f..35667af 100644 ---- a/.github/workflows/main.yml -+++ b/.github/workflows/main.yml -@@ -35,25 +35,11 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - name: Install mamba - uses: mamba-org/provision-with-micromamba at main - with: - environment-file: .github/environment.yml - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- CALL micromamba activate zchunk_test_env -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir --prefix=%CONDA_PREFIX%\Library -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -@@ -75,11 +61,6 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - uses: actions/setup-python at v1 - with: - python-version: '3.x' -@@ -87,14 +68,6 @@ jobs: - - name: Install meson and ninja - run: pip install meson ninja - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -diff --git a/meson.build b/meson.build -index 1c6b32d..aa7dd25 100644 ---- a/meson.build -+++ b/meson.build -@@ -58,10 +58,10 @@ endif - - # argp-standalone dependency (if required) - if build_machine.system() == 'windows' or build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include \nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}') -- if fs.is_dir(join_paths([get_option('prefix'), 'include'])) -- inc += include_directories(join_paths([get_option('prefix'), 'include'])) -+ argplib = cc.find_library('argp', has_headers : ['argp.h'], required: false) -+ if not argplib.found() -+ argplib = dependency('argp-standalone') - endif -- argplib = cc.find_library('argp', dirs : join_paths([get_option('prefix'), 'lib'])) - else - argplib = dependency('', required : false) - endif -diff --git a/subprojects/argp-standalone.wrap b/subprojects/argp-standalone.wrap -new file mode 100644 -index 0000000..14c0b63 ---- /dev/null -+++ b/subprojects/argp-standalone.wrap -@@ -0,0 +1,7 @@ -+[wrap-git] -+directory = argp-standalone-1.4.1 -+url = https://github.com/argp-standalone/argp-standalone.git -+revision = 21855f34ec9997c37e1a08cd69497336513a5800 -+ -+[provide] -+dependency_names = argp-standalone --- -2.25.1 - diff --git a/package/zchunk/0002-zck-declare-write_data-as-static.patch b/package/zchunk/0002-zck-declare-write_data-as-static.patch deleted file mode 100644 index 3c48ab3d50..0000000000 --- a/package/zchunk/0002-zck-declare-write_data-as-static.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Wed, 4 May 2022 16:32:48 -0600 -Subject: [PATCH] zck: declare write_data as static - -This needs to be declared static to avoid a symbol conflict: -io.c:(.text+0xe8): multiple definition of `write_data'; src/zck.p/zck.c.o:zck.c:(.text+0x1f4): first defined here - -Fixes: - - http://autobuild.buildroot.net/results/225/22590a7038a40da3700d56c1f82f7dc74225702a - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc] ---- - src/zck.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/zck.c b/src/zck.c -index 7727479..83b2630 100644 ---- a/src/zck.c -+++ b/src/zck.c -@@ -159,7 +159,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) { - - static struct argp argp = {options, parse_opt, args_doc, doc}; - --void write_data(zckCtx *zck, char *data, ssize_t in_size) { -+static void write_data(zckCtx *zck, char *data, ssize_t in_size) { - if(zck_write(zck, data, in_size) < 0) { - LOG_ERROR("%s", zck_get_error(zck)); - exit(1); --- -2.25.1 - diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index fa097d4ae0..15103a9ea0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz +sha256 4d923d32af7db33f3c0a6655b258e857a2ca564912cf85ddce14e9b1b7d495bf zchunk-1.3.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 2acdaba3a1..39d51ac352 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,12 +4,13 @@ # ################################################################################ -ZCHUNK_VERSION = 1.2.2 +ZCHUNK_VERSION = 1.3.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES +ZCHUNK_CONF_OPTS = -Ddocs=false -Dtests=false ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) ZCHUNK_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) From peter at korsgaard.com Mon Oct 30 19:03:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:03:20 +0100 Subject: [Buildroot] [PATCH 1/1] package/rabbitmq-c: fix CVE-2023-35789 In-Reply-To: <20231028194119.987835-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 21:41:19 +0200") References: <20231028194119.987835-1-fontaine.fabrice@gmail.com> Message-ID: <87pm0w2arr.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > An issue was discovered in the C AMQP client library (aka rabbitmq-c) > through 0.13.0 for RabbitMQ. Credentials can only be entered on the > command line (e.g., for amqp-publish or amqp-consume) and are thus > visible to local attackers by listing a process and its arguments. > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 19:09:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:09:10 +0100 Subject: [Buildroot] [PATCH 1/1] package/python-urllib3: security bump to version 2.0.7 In-Reply-To: <20231028200024.1054270-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 22:00:24 +0200") References: <20231028200024.1054270-1-fontaine.fabrice@gmail.com> Message-ID: <87lebk2ai1.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-43804 and CVE-2023-45803 > https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f > https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 > https://github.com/urllib3/urllib3/blob/2.0.7/CHANGES.rst > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. For 2023.02.x I will instead bump to 1.26.18, which contains the same fixes. -- Bye, Peter Korsgaard From havran.jan at email.cz Mon Oct 30 19:02:49 2023 From: havran.jan at email.cz (Jan Havran) Date: Mon, 30 Oct 2023 20:02:49 +0100 Subject: [Buildroot] [PATCH 1/1] configs/pine64_pinecube_defconfig: bump to Linux 6.1.60 and U-Boot 2023.10 Message-ID: Signed-off-by: Jan Havran --- configs/pine64_pinecube_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/pine64_pinecube_defconfig b/configs/pine64_pinecube_defconfig index 8f60115f8f..5cdaf59fae 100644 --- a/configs/pine64_pinecube_defconfig +++ b/configs/pine64_pinecube_defconfig @@ -4,7 +4,7 @@ BR2_cortex_a7=y BR2_ARM_FPU_VFPV4=y # Toolchain options -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y # System configuration BR2_TARGET_GENERIC_HOSTNAME="pinecube" @@ -17,7 +17,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/pinecube/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.61" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.60" BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-s3-pinecube" @@ -31,7 +31,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pinecube" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -- 2.42.0 From peter at korsgaard.com Mon Oct 30 19:02:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:02:54 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/rabbitmq-c: fix CVE-2023-35789 Message-ID: <20231030192304.7D293861E2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=499256cd1cdac6c5541f508bfd71d96027da544f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x An issue was discovered in the C AMQP client library (aka rabbitmq-c) through 0.13.0 for RabbitMQ. Credentials can only be entered on the command line (e.g., for amqp-publish or amqp-consume) and are thus visible to local attackers by listing a process and its arguments. Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c3fcaeaaa7fc0a6023d44ac16c9197b847504706) Signed-off-by: Peter Korsgaard --- ...ption-to-read-username-password-from-file.patch | 130 +++++++++++++++++++++ package/rabbitmq-c/rabbitmq-c.mk | 3 + 2 files changed, 133 insertions(+) diff --git a/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch new file mode 100644 index 0000000000..347063cfb3 --- /dev/null +++ b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch @@ -0,0 +1,130 @@ +From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001 +From: Christian Kastner +Date: Tue, 13 Jun 2023 14:21:52 +0200 +Subject: [PATCH] Add option to read username/password from file (#781) + +* Add option to read username/password from file + +Upstream: https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 +Signed-off-by: Fabrice Fontaine +--- + tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + +diff --git a/tools/common.c b/tools/common.c +index 73b47e25..7efe557b 100644 +--- a/tools/common.c ++++ b/tools/common.c +@@ -18,6 +18,11 @@ + #include "compat.h" + #endif + ++/* For when reading auth data from a file */ ++#define MAXAUTHTOKENLEN 128 ++#define USERNAMEPREFIX "username:" ++#define PASSWORDPREFIX "password:" ++ + void die(const char *fmt, ...) { + va_list ap; + va_start(ap, fmt); +@@ -125,6 +130,7 @@ static char *amqp_vhost; + static char *amqp_username; + static char *amqp_password; + static int amqp_heartbeat = 0; ++static char *amqp_authfile; + #ifdef WITH_SSL + static int amqp_ssl = 0; + static char *amqp_cacert = "/etc/ssl/certs/cacert.pem"; +@@ -147,6 +153,8 @@ struct poptOption connect_options[] = { + "the password to login with", "password"}, + {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0, + "heartbeat interval, set to 0 to disable", "heartbeat"}, ++ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0, ++ "path to file containing username/password for authentication", "file"}, + #ifdef WITH_SSL + {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL}, + {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0, +@@ -158,6 +166,50 @@ struct poptOption connect_options[] = { + #endif /* WITH_SSL */ + {NULL, '\0', 0, NULL, 0, NULL, NULL}}; + ++void read_authfile(const char *path) { ++ size_t n; ++ FILE *fp = NULL; ++ char token[MAXAUTHTOKENLEN]; ++ ++ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL || ++ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) { ++ die("Out of memory"); ++ } else if ((fp = fopen(path, "r")) == NULL) { ++ die("Could not read auth data file %s", path); ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) { ++ die("Malformed auth file (missing username)"); ++ } ++ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_username); ++ if (amqp_username[n - 1] != '\n') { ++ die("Username too long"); ++ } else { ++ amqp_username[n - 1] = '\0'; ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) { ++ die("Malformed auth file (missing password)"); ++ } ++ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_password); ++ if (amqp_password[n - 1] != '\n') { ++ die("Password too long"); ++ } else { ++ amqp_password[n - 1] = '\0'; ++ } ++ ++ (void)fgetc(fp); ++ if (!feof(fp)) { ++ die("Malformed auth file (trailing data)"); ++ } ++} ++ + static void init_connection_info(struct amqp_connection_info *ci) { + ci->user = NULL; + ci->password = NULL; +@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_username) { + if (amqp_url) { + die("--username and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--username and --authfile options cannot be used at the same time"); + } + + ci->user = amqp_username; +@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_password) { + if (amqp_url) { + die("--password and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--password and --authfile options cannot be used at the same time"); + } + + ci->password = amqp_password; + } + ++ if (amqp_authfile) { ++ if (amqp_url) { ++ die("--authfile and --url options cannot be used at the same time"); ++ } ++ ++ read_authfile(amqp_authfile); ++ ci->user = amqp_username; ++ ci->password = amqp_password; ++ } ++ + if (amqp_vhost) { + if (amqp_url) { + die("--vhost and --url options cannot be used at the same time"); diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index 18ecaa3098..fad6655e4e 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -14,6 +14,9 @@ RABBITMQ_C_CONF_OPTS = \ -DBUILD_API_DOCS=OFF \ -DBUILD_TOOLS_DOCS=OFF +# 0001-Add-option-to-read-username-password-from-file.patch +RABBITMQ_C_IGNORE_CVES += CVE-2023-35789 + # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable ifeq ($(BR2_SHARED_STATIC_LIBS),y) RABBITMQ_C_CONF_OPTS += -DBUILD_STATIC_LIBS=ON From peter at korsgaard.com Mon Oct 30 19:05:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:05:07 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-urllib3: security bump to version 2.0.7 Message-ID: <20231030192304.87564861E4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=61b918ecc90c029c4c73b18e61a8e77b3a5a11fd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-43804 and CVE-2023-45803 https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 https://github.com/urllib3/urllib3/blob/2.0.7/CHANGES.rst Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e0e96336aba445d711a352caadab68ed87e87d07) Signed-off-by: Peter Korsgaard --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2da7abdf29..209cfe277e 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 5d541b944febe50221e24c31cd6e887d urllib3-2.0.4.tar.gz -sha256 8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11 urllib3-2.0.4.tar.gz +md5 5a264ef3ae827e5842bbc80536a343dd urllib3-2.0.7.tar.gz +sha256 c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 urllib3-2.0.7.tar.gz # Locally computed sha256 checksums sha256 130e3a64d5fdd5d096a752694634a7d9df284469de86e5732100268041e3d686 LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index 7ff58d9a4a..ba041082db 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 2.0.4 +PYTHON_URLLIB3_VERSION = 2.0.7 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/31/ab/46bec149bbd71a4467a3063ac22f4486ecd2ceb70ae8c70d5d8e4c2a7946 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/af/47/b215df9f71b4fdba1025fc05a77db2ad243fa0926755a52c5e71659f4e3c PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python From peter at korsgaard.com Mon Oct 30 21:52:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:52:24 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-urllib3: security bump to version 1.26.18 Message-ID: <20231030215315.82B62861D7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f1e83065c7cbc99efcbc67d9d2b6822750aeadb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-43804 and CVE-2023-45803 https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 Signed-off-by: Peter Korsgaard --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 963967332e..aa42f1a711 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 38f7d1589aa9720101316d07fcbd05c8 urllib3-1.26.13.tar.gz -sha256 c083dd0dce68dbfbe1129d5271cb90f9447dea7d52097c6e0126120c521ddea8 urllib3-1.26.13.tar.gz +md5 f986d8e9616d2a43389f678d5dad9893 urllib3-1.26.18.tar.gz +sha256 f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0 urllib3-1.26.18.tar.gz # Locally computed sha256 checksums sha256 c37bf186e27cf9dbe9619e55edfe3cea7b30091ceb3da63c7dacbe0e6d77907b LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index 5868927440..b22a11361f 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 1.26.13 +PYTHON_URLLIB3_VERSION = 1.26.18 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/c2/51/32da03cf19d17d46cce5c731967bf58de9bd71db3a379932f53b094deda4 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/0c/39/64487bf07df2ed854cc06078c27c0d0abc59bd27b32232876e403c333a08 PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python From peter at korsgaard.com Mon Oct 30 19:03:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:03:02 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/rabbitmq-c: fix CVE-2023-35789 Message-ID: <20231030215315.7FFC6861F3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=31e3736a882bf7fd0a10208d6712c7307abc9f36 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x An issue was discovered in the C AMQP client library (aka rabbitmq-c) through 0.13.0 for RabbitMQ. Credentials can only be entered on the command line (e.g., for amqp-publish or amqp-consume) and are thus visible to local attackers by listing a process and its arguments. Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c3fcaeaaa7fc0a6023d44ac16c9197b847504706) Signed-off-by: Peter Korsgaard --- ...ption-to-read-username-password-from-file.patch | 130 +++++++++++++++++++++ package/rabbitmq-c/rabbitmq-c.mk | 3 + 2 files changed, 133 insertions(+) diff --git a/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch new file mode 100644 index 0000000000..347063cfb3 --- /dev/null +++ b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch @@ -0,0 +1,130 @@ +From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001 +From: Christian Kastner +Date: Tue, 13 Jun 2023 14:21:52 +0200 +Subject: [PATCH] Add option to read username/password from file (#781) + +* Add option to read username/password from file + +Upstream: https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 +Signed-off-by: Fabrice Fontaine +--- + tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + +diff --git a/tools/common.c b/tools/common.c +index 73b47e25..7efe557b 100644 +--- a/tools/common.c ++++ b/tools/common.c +@@ -18,6 +18,11 @@ + #include "compat.h" + #endif + ++/* For when reading auth data from a file */ ++#define MAXAUTHTOKENLEN 128 ++#define USERNAMEPREFIX "username:" ++#define PASSWORDPREFIX "password:" ++ + void die(const char *fmt, ...) { + va_list ap; + va_start(ap, fmt); +@@ -125,6 +130,7 @@ static char *amqp_vhost; + static char *amqp_username; + static char *amqp_password; + static int amqp_heartbeat = 0; ++static char *amqp_authfile; + #ifdef WITH_SSL + static int amqp_ssl = 0; + static char *amqp_cacert = "/etc/ssl/certs/cacert.pem"; +@@ -147,6 +153,8 @@ struct poptOption connect_options[] = { + "the password to login with", "password"}, + {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0, + "heartbeat interval, set to 0 to disable", "heartbeat"}, ++ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0, ++ "path to file containing username/password for authentication", "file"}, + #ifdef WITH_SSL + {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL}, + {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0, +@@ -158,6 +166,50 @@ struct poptOption connect_options[] = { + #endif /* WITH_SSL */ + {NULL, '\0', 0, NULL, 0, NULL, NULL}}; + ++void read_authfile(const char *path) { ++ size_t n; ++ FILE *fp = NULL; ++ char token[MAXAUTHTOKENLEN]; ++ ++ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL || ++ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) { ++ die("Out of memory"); ++ } else if ((fp = fopen(path, "r")) == NULL) { ++ die("Could not read auth data file %s", path); ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) { ++ die("Malformed auth file (missing username)"); ++ } ++ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_username); ++ if (amqp_username[n - 1] != '\n') { ++ die("Username too long"); ++ } else { ++ amqp_username[n - 1] = '\0'; ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) { ++ die("Malformed auth file (missing password)"); ++ } ++ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_password); ++ if (amqp_password[n - 1] != '\n') { ++ die("Password too long"); ++ } else { ++ amqp_password[n - 1] = '\0'; ++ } ++ ++ (void)fgetc(fp); ++ if (!feof(fp)) { ++ die("Malformed auth file (trailing data)"); ++ } ++} ++ + static void init_connection_info(struct amqp_connection_info *ci) { + ci->user = NULL; + ci->password = NULL; +@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_username) { + if (amqp_url) { + die("--username and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--username and --authfile options cannot be used at the same time"); + } + + ci->user = amqp_username; +@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_password) { + if (amqp_url) { + die("--password and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--password and --authfile options cannot be used at the same time"); + } + + ci->password = amqp_password; + } + ++ if (amqp_authfile) { ++ if (amqp_url) { ++ die("--authfile and --url options cannot be used at the same time"); ++ } ++ ++ read_authfile(amqp_authfile); ++ ci->user = amqp_username; ++ ci->password = amqp_password; ++ } ++ + if (amqp_vhost) { + if (amqp_url) { + die("--vhost and --url options cannot be used at the same time"); diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index 18ecaa3098..fad6655e4e 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -14,6 +14,9 @@ RABBITMQ_C_CONF_OPTS = \ -DBUILD_API_DOCS=OFF \ -DBUILD_TOOLS_DOCS=OFF +# 0001-Add-option-to-read-username-password-from-file.patch +RABBITMQ_C_IGNORE_CVES += CVE-2023-35789 + # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable ifeq ($(BR2_SHARED_STATIC_LIBS),y) RABBITMQ_C_CONF_OPTS += -DBUILD_STATIC_LIBS=ON From peter at korsgaard.com Mon Oct 30 21:55:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:55:24 +0100 Subject: [Buildroot] [PATCH 1/1] package/x11r7/xlib_libXpm: security bump to version 3.5.17 In-Reply-To: <20231028200848.1134223-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 22:08:48 +0200") References: <20231028200848.1134223-1-fontaine.fabrice@gmail.com> Message-ID: <87h6m73hdf.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 > https://lists.x.org/archives/xorg-announce/2023-October/003424.html > https://lists.x.org/archives/xorg-announce/2023-October/003425.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 21:55:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:55:28 +0100 Subject: [Buildroot] [PATCH 1/1] package/x11r7/xlib_libX11: security bump to version 1.8.7 In-Reply-To: <20231028201413.1160957-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 22:14:13 +0200") References: <20231028201413.1160957-1-fontaine.fabrice@gmail.com> Message-ID: <87cywv3hdb.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 > https://lists.x.org/archives/xorg-announce/2023-October/003424.html > https://lists.x.org/archives/xorg-announce/2023-October/003426.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 21:54:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:54:48 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/x11r7/xlib_libXpm: security bump to version 3.5.17 Message-ID: <20231030215541.E67B5861FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f64601392e7edb296e2fa4ed6039e0ee27476c79 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003425.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c709ab6fff85285c3f44eacbe780302a29a32ede) Signed-off-by: Peter Korsgaard --- package/x11r7/xlib_libXpm/xlib_libXpm.hash | 6 +++--- package/x11r7/xlib_libXpm/xlib_libXpm.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.hash b/package/x11r7/xlib_libXpm/xlib_libXpm.hash index a041f0d440..3582169891 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.hash +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.hash @@ -1,6 +1,6 @@ -# From https://lists.x.org/archives/xorg-announce/2023-April/003385.html -sha256 e6bc5da7a69dbd9bcc67e87c93d4904fe2f5177a0711c56e71fa2f6eff649f51 libXpm-3.5.16.tar.xz -sha512 ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2 libXpm-3.5.16.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003425.html +sha256 64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43 libXpm-3.5.17.tar.xz +sha512 52f9d2664a47a26c1a6ad65d18867de870b66947b0b0d99cca3512756a0aaa6ce2a245c0b49f20b70c3ce48bf04c47c333e8119a147465c277bca727f6ab017e libXpm-3.5.17.tar.xz # Locally calculated sha256 a80d706759624a04aa90fd62bc644a360fc3d72e08dcbfb129f167c11ca285de COPYING sha256 cbe4ced0abc8a32bea471204ae01038c202758ce4e772d3d329a341ffa761e71 COPYRIGHT diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk index 51f6283370..0bba3ea946 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.mk +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBXPM_VERSION = 3.5.16 +XLIB_LIBXPM_VERSION = 3.5.17 XLIB_LIBXPM_SOURCE = libXpm-$(XLIB_LIBXPM_VERSION).tar.xz XLIB_LIBXPM_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBXPM_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:55:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:55:07 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/x11r7/xlib_libX11: security bump to version 1.8.7 Message-ID: <20231030215542.03C6A861F0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0dcf6edd9b7c3c19cd812103942d53e763ac47f8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003426.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 98d0a7b95f416c88581788b5ad3ee3d1d5cbbd67) Signed-off-by: Peter Korsgaard --- package/x11r7/xlib_libX11/xlib_libX11.hash | 6 +++--- package/x11r7/xlib_libX11/xlib_libX11.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libX11/xlib_libX11.hash b/package/x11r7/xlib_libX11/xlib_libX11.hash index f443d947a4..56fecee9ff 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.hash +++ b/package/x11r7/xlib_libX11/xlib_libX11.hash @@ -1,5 +1,5 @@ -# From https://lists.x.org/archives/xorg-announce/2023-June/003407.html -sha256 59535b7cc6989ba806a022f7e8533b28c4397b9d86e9d07b6df0c0703fa25cc9 libX11-1.8.6.tar.xz -sha512 b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade libX11-1.8.6.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003426.html +sha256 05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee libX11-1.8.7.tar.xz +sha512 d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 libX11-1.8.7.tar.xz # Locally computed sha256 2e7012a140f000735a7172674a2d314398d79622444fba65d108b029b29ab283 COPYING diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk index 75199f1a3d..920a5d9aed 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.mk +++ b/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBX11_VERSION = 1.8.6 +XLIB_LIBX11_VERSION = 1.8.7 XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.xz XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBX11_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:54:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:54:07 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/x11r7/xlib_libXpm: security bump to version 3.5.17 Message-ID: <20231030215647.B339386213@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=396c902ec9648e92308f0895c91de5e8bcf8f59f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003425.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c709ab6fff85285c3f44eacbe780302a29a32ede) Signed-off-by: Peter Korsgaard --- package/x11r7/xlib_libXpm/xlib_libXpm.hash | 6 +++--- package/x11r7/xlib_libXpm/xlib_libXpm.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.hash b/package/x11r7/xlib_libXpm/xlib_libXpm.hash index a041f0d440..3582169891 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.hash +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.hash @@ -1,6 +1,6 @@ -# From https://lists.x.org/archives/xorg-announce/2023-April/003385.html -sha256 e6bc5da7a69dbd9bcc67e87c93d4904fe2f5177a0711c56e71fa2f6eff649f51 libXpm-3.5.16.tar.xz -sha512 ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2 libXpm-3.5.16.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003425.html +sha256 64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43 libXpm-3.5.17.tar.xz +sha512 52f9d2664a47a26c1a6ad65d18867de870b66947b0b0d99cca3512756a0aaa6ce2a245c0b49f20b70c3ce48bf04c47c333e8119a147465c277bca727f6ab017e libXpm-3.5.17.tar.xz # Locally calculated sha256 a80d706759624a04aa90fd62bc644a360fc3d72e08dcbfb129f167c11ca285de COPYING sha256 cbe4ced0abc8a32bea471204ae01038c202758ce4e772d3d329a341ffa761e71 COPYRIGHT diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk index 51f6283370..0bba3ea946 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.mk +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBXPM_VERSION = 3.5.16 +XLIB_LIBXPM_VERSION = 3.5.17 XLIB_LIBXPM_SOURCE = libXpm-$(XLIB_LIBXPM_VERSION).tar.xz XLIB_LIBXPM_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBXPM_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:53:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:53:53 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/x11r7/xlib_libX11: security bump to version 1.8.7 Message-ID: <20231030215647.A660886211@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ef4f123ee3fb111ff4927bfc7580e4abf41a632a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003426.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 98d0a7b95f416c88581788b5ad3ee3d1d5cbbd67) Signed-off-by: Peter Korsgaard --- package/x11r7/xlib_libX11/xlib_libX11.hash | 6 +++--- package/x11r7/xlib_libX11/xlib_libX11.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libX11/xlib_libX11.hash b/package/x11r7/xlib_libX11/xlib_libX11.hash index f443d947a4..56fecee9ff 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.hash +++ b/package/x11r7/xlib_libX11/xlib_libX11.hash @@ -1,5 +1,5 @@ -# From https://lists.x.org/archives/xorg-announce/2023-June/003407.html -sha256 59535b7cc6989ba806a022f7e8533b28c4397b9d86e9d07b6df0c0703fa25cc9 libX11-1.8.6.tar.xz -sha512 b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade libX11-1.8.6.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003426.html +sha256 05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee libX11-1.8.7.tar.xz +sha512 d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 libX11-1.8.7.tar.xz # Locally computed sha256 2e7012a140f000735a7172674a2d314398d79622444fba65d108b029b29ab283 COPYING diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk index 75199f1a3d..920a5d9aed 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.mk +++ b/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBX11_VERSION = 1.8.6 +XLIB_LIBX11_VERSION = 1.8.7 XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.xz XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBX11_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:56:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:56:50 +0100 Subject: [Buildroot] [PATCH 1/1] package/cjson: bump to version 1.7.16 In-Reply-To: <20231028203252.1177951-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 22:32:52 +0200") References: <20231028203252.1177951-1-fontaine.fabrice@gmail.com> Message-ID: <878r7j3hb1.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 21:56:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:56:42 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/cjson: bump to version 1.7.16 Message-ID: <20231030215809.7822486219@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f5f5ae024472e9862236ab062d126f071d16fed6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 654f18c61709cf8c7d92236c1b81bb80a9ce70d6) Signed-off-by: Peter Korsgaard --- package/cjson/cjson.hash | 2 +- package/cjson/cjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash index c39e884cdd..74844d6aa6 100644 --- a/package/cjson/cjson.hash +++ b/package/cjson/cjson.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2 cjson-1.7.15.tar.gz +sha256 451131a92c55efc5457276807fc0c4c2c2707c9ee96ef90c47d68852d5384c6c cjson-1.7.16.tar.gz sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index ad9d76a4ba..7ed732ac90 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -CJSON_VERSION = 1.7.15 +CJSON_VERSION = 1.7.16 CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:56:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:56:34 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/cjson: bump to version 1.7.16 Message-ID: <20231030215913.DB0218621D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4a5f362728b99c4292b709ac54496568bf190ade branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 654f18c61709cf8c7d92236c1b81bb80a9ce70d6) Signed-off-by: Peter Korsgaard --- package/cjson/cjson.hash | 2 +- package/cjson/cjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash index c39e884cdd..74844d6aa6 100644 --- a/package/cjson/cjson.hash +++ b/package/cjson/cjson.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2 cjson-1.7.15.tar.gz +sha256 451131a92c55efc5457276807fc0c4c2c2707c9ee96ef90c47d68852d5384c6c cjson-1.7.16.tar.gz sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index ad9d76a4ba..7ed732ac90 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -CJSON_VERSION = 1.7.15 +CJSON_VERSION = 1.7.16 CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 22:00:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:00:51 +0100 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: fix package build with gcc 4.8 In-Reply-To: <20231027155221.977752-1-ovlevin@salutedevices.com> (Oleg Lyovin via buildroot's message of "Fri, 27 Oct 2023 18:52:21 +0300") References: <20231027155221.977752-1-ovlevin@salutedevices.com> Message-ID: <874ji73h4c.fsf@48ers.dk> >>>>> "Oleg" == Oleg Lyovin via buildroot writes: > python-pycryptodomex uses C99 features like variable > declaration in for-loop statement, while old compilers > assumes C89 by default. > This patch explicitly specifies C99 standard. > Change-Id: I934211714307cea43541167fbc72ff30fb66ad5f > Signed-off-by: Oleg Lyovin Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 22:00:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:00:16 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-pycryptodomex: fix package build with gcc 4.8 Message-ID: <20231030220111.D44ED8622A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e856907cd9f0a601e71985abcfed74e08498495c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x python-pycryptodomex uses C99 features like variable declaration in for-loop statement, while old compilers assumes C89 by default. This patch explicitly specifies C99 standard. Signed-off-by: Oleg Lyovin [yann.morin.1998 at free.fr: use TARGET/HOST_CFLAGS] Signed-off-by: Yann E. MORIN (cherry picked from commit 3c6f3af24db4b79d652874dd6c381ce3d6c5266b) Signed-off-by: Peter Korsgaard --- package/python-pycryptodomex/python-pycryptodomex.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index 3790aa4787..d6eb2a9513 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -13,5 +13,8 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ Public Domain (pycrypto original code) PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto +PYTHON_PYCRYPTODOMEX_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99" +HOST_PYTHON_PYCRYPTODOMEX_ENV = CFLAGS="$(HOST_CFLAGS) -std=c99" + $(eval $(python-package)) $(eval $(host-python-package)) From peter at korsgaard.com Mon Oct 30 22:01:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:01:38 +0100 Subject: [Buildroot] [PATCH 1/1] package/php: bump version to 8.2.12 In-Reply-To: <20231026172713.4147295-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 26 Oct 2023 19:27:13 +0200") References: <20231026172713.4147295-1-bernd@kuhls.net> Message-ID: <87zfzz22il.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 > Release notes: https://www.php.net/releases/8_2_12.php > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 22:01:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:01:14 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/php: bump version to 8.2.12 Message-ID: <20231030220301.4317E86239@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e18785ef382702a31ac67d51a85504f2acd801e9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 Release notes: https://www.php.net/releases/8_2_12.php Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit a40924107d63551906050b199fe6b93d479a96ce) Signed-off-by: Peter Korsgaard --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index e5f94a5e05..0f77f0082f 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz +sha256 e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132 php-8.2.12.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index 88493b4e0f..e2cdccb275 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.11 +PHP_VERSION = 8.2.12 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From peter at korsgaard.com Mon Oct 30 22:01:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:01:06 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/php: bump version to 8.2.12 Message-ID: <20231030220301.AB0A786239@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4196900a1c5e6c03576f617bf7c8ff81bf66dd06 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 Release notes: https://www.php.net/releases/8_2_12.php Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit a40924107d63551906050b199fe6b93d479a96ce) Signed-off-by: Peter Korsgaard --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index e5f94a5e05..0f77f0082f 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz +sha256 e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132 php-8.2.12.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index ee33000a6f..add46584c6 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.11 +PHP_VERSION = 8.2.12 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From alistair23 at gmail.com Tue Oct 31 04:04:27 2023 From: alistair23 at gmail.com (Alistair Francis) Date: Tue, 31 Oct 2023 14:04:27 +1000 Subject: [Buildroot] [PATCH] package/xen: security bump to version 4.14.6 In-Reply-To: <20231030142153.645962-1-peter@korsgaard.com> References: <20231030142153.645962-1-peter@korsgaard.com> Message-ID: On Tue, Oct 31, 2023 at 12:22?AM Peter Korsgaard wrote: > > Includes a number of bugfixes and the security fixes up to xsa-436: > https://xenproject.org/downloads/xen-project-archives/xen-project-4-14-series/xen-project-4-14-6/ > > Signed-off-by: Peter Korsgaard Reviewed-by: Alistair Francis Alistair > --- > package/xen/xen.hash | 2 +- > package/xen/xen.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/xen/xen.hash b/package/xen/xen.hash > index 5637f0e8d9..d2350ac515 100644 > --- a/package/xen/xen.hash > +++ b/package/xen/xen.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 a1a24092ad14658eed420b7d56b67d0d9d5b314e96c30a799b45f3a721f98bf0 xen-4.14.5.tar.gz > +sha256 7917681bc6e744789815131fcf7799e6b83a0d45b5801ac654322b037ce472f8 xen-4.14.6.tar.gz > sha256 ecca9538e9d3f7e3c2bff827502f4495e2ef9e22c451298696ea08886b176c2c COPYING > diff --git a/package/xen/xen.mk b/package/xen/xen.mk > index 169753e89f..651442cfdf 100644 > --- a/package/xen/xen.mk > +++ b/package/xen/xen.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -XEN_VERSION = 4.14.5 > +XEN_VERSION = 4.14.6 > XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) > XEN_LICENSE = GPL-2.0 > XEN_LICENSE_FILES = COPYING > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From neal.frager at amd.com Tue Oct 31 07:32:43 2023 From: neal.frager at amd.com (Frager, Neal) Date: Tue, 31 Oct 2023 07:32:43 +0000 Subject: [Buildroot] [PATCH v6 01/10] package/binutils-bare-metal: new package In-Reply-To: <20231026180649.66bdde4b@booty> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231026180649.66bdde4b@booty> Message-ID: Hi Thomas, Peter, > This patch adds a new package for building binutils for a bare-metal toolchain. > The cpu architecture is defined by a toolchain-bare-metal virtual package. > While any cpu architecture could be used, the default configuration > will be a Xilinx microblaze little endian architecture, so that > buildroot will be able to build the microblaze firmware applications for zynqmp and versal. > > In order to build the zynqmp pmufw and versal plm applications without > error, binutils version 2.41 or higher is required with the following > patches. All six of these patches have been submitted upstream with > five of them already applied. > [Tested on Kria KV260 starter kit] > Tested-by: Luca Ceresoli > Reviewed-by: Luca Ceresoli > -- > Luca Ceresoli, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com As you can see, Luca has tested and validated the patch set on the AMD Kria KV260 Starter Kit. Do you have any feedback regarding the patch set? If the only concern is build time, I would be ok with making two sets of zynqmp defconfigs. One that builds the pmufw from source for each board, and the other which downloads a pre-built pmufw. Then users can easily choose which they prefer. What are your thoughts? Best regards, Neal Frager AMD From peter at korsgaard.com Tue Oct 31 07:50:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 08:50:44 +0100 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series In-Reply-To: <20231026173836.4149430-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 26 Oct 2023 19:38:36 +0200") References: <20231026173836.4149430-1-bernd@kuhls.net> Message-ID: <87sf5r1b8r.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x (without the 6.5.x bump), thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Oct 31 07:52:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 08:52:06 +0100 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: <20231026181904.3218122-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 26 Oct 2023 20:19:04 +0200") References: <20231026181904.3218122-1-bernd@kuhls.net> Message-ID: <87o7gf1b6h.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2023-5363: > https://www.openssl.org/news/secadv/20231024.txt > https://www.openssl.org/news/vulnerabilities.html > Changelog: https://www.openssl.org/news/cl31.txt > Signed-off-by: Bernd Kuhls For 2023.08.x I will instead bump to 3.0.12, which contains the same fix. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Oct 31 08:43:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 09:43:18 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/libopenssl: security bump to version 3.0.12 Message-ID: <20231031084413.046B78625B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c4f67bf98102e2ad1a338be22231605d97669daf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-5363: https://www.openssl.org/news/secadv/20231024.txt https://www.openssl.org/news/vulnerabilities.html Signed-off-by: Peter Korsgaard --- package/libopenssl/libopenssl.hash | 4 ++-- package/libopenssl/libopenssl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash index 27e2c73d1d..532d8f9aa6 100644 --- a/package/libopenssl/libopenssl.hash +++ b/package/libopenssl/libopenssl.hash @@ -1,5 +1,5 @@ -# From https://www.openssl.org/source/openssl-3.0.11.tar.gz.sha256 -sha256 b3425d3bb4a2218d0697eb41f7fc0cdede016ed19ca49d168b78e8d947887f55 openssl-3.0.11.tar.gz +# From https://www.openssl.org/source/openssl-3.0.12.tar.gz.sha256 +sha256 f93c9e8edde5e9166119de31755fc87b4aa34863662f67ddfcba14d0b6b69b61 openssl-3.0.12.tar.gz # License files sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index 5ff878dded..7da1c9699a 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOPENSSL_VERSION = 3.0.11 +LIBOPENSSL_VERSION = 3.0.12 LIBOPENSSL_SITE = https://www.openssl.org/source LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz LIBOPENSSL_LICENSE = Apache-2.0 From peter at korsgaard.com Tue Oct 31 07:47:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 08:47:06 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231031084412.DF7D08625A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d329d67020d101e2d05a011d07f5d3163c450241 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit 96298d3b547670f3fdff26dccc095161ef17d6e4) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/linux.hash | 12 ++++++------ package/linux-headers/Config.in.host | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/linux/linux.hash b/linux/linux.hash index e8621b2b9c..506e3ead7b 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc sha256 9626ec84a39ecb009bf11a271dd520941159c165d4e62f82e3a77b79d20ff27d linux-6.4.16.tar.xz -sha256 627f7724c675036639290fb5c39e3fdeb3d566b80b192c45f4a808ab54c8c0a0 linux-6.1.59.tar.xz +sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 c624b9fe7ee4708d34cfd0b7ebc58037afac7463338cc498641ea31c55eeacb8 linux-5.15.136.tar.xz -sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz -sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz +sha256 9749b21609f9e7ad9c46160c2c107db823b99cef77fa6cb080b6c2dc685fb2f7 linux-5.15.137.tar.xz +sha256 a0ea77a1f5eeb1387d62e7a8df585ffc53758e4da153d98224ccd833bd2624c1 linux-5.10.199.tar.xz +sha256 ffe6e4fa1266d5480e529fc8659f572c57030040c548face30f56fd5a223bba4 linux-5.4.259.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz -sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz +sha256 9d89e0bc6503c0d61178fd1605f6ed04b016873b9f370372866644b11fee3d31 linux-4.19.297.tar.xz +sha256 1db5926e02dc29b30d77f731228d3bd31402e2feba3aa59bfb2c730eedbeecc5 linux-4.14.328.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index f56cce3495..51f29a0d8c 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -400,12 +400,12 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.327" if BR2_KERNEL_HEADERS_4_14 - default "4.19.296" if BR2_KERNEL_HEADERS_4_19 - default "5.4.258" if BR2_KERNEL_HEADERS_5_4 - default "5.10.198" if BR2_KERNEL_HEADERS_5_10 - default "5.15.136" if BR2_KERNEL_HEADERS_5_15 - default "6.1.59" if BR2_KERNEL_HEADERS_6_1 + default "4.14.328" if BR2_KERNEL_HEADERS_4_14 + default "4.19.297" if BR2_KERNEL_HEADERS_4_19 + default "5.4.259" if BR2_KERNEL_HEADERS_5_4 + default "5.10.199" if BR2_KERNEL_HEADERS_5_10 + default "5.15.137" if BR2_KERNEL_HEADERS_5_15 + default "6.1.60" if BR2_KERNEL_HEADERS_6_1 default "6.4.16" if BR2_KERNEL_HEADERS_6_4 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL From peter at korsgaard.com Tue Oct 31 07:48:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 08:48:54 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231031084518.368CE86262@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=915f157d476c132ce6d24c85600d9d1978051e46 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit 96298d3b547670f3fdff26dccc095161ef17d6e4) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 12 ++++++------ package/linux-headers/Config.in.host | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index f1862c0f30..ab93ed8b5b 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.1.59" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.1.60" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 1f065f57a4..bc15492672 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,12 +1,12 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 627f7724c675036639290fb5c39e3fdeb3d566b80b192c45f4a808ab54c8c0a0 linux-6.1.59.tar.xz +sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 c624b9fe7ee4708d34cfd0b7ebc58037afac7463338cc498641ea31c55eeacb8 linux-5.15.136.tar.xz -sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz -sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz +sha256 9749b21609f9e7ad9c46160c2c107db823b99cef77fa6cb080b6c2dc685fb2f7 linux-5.15.137.tar.xz +sha256 a0ea77a1f5eeb1387d62e7a8df585ffc53758e4da153d98224ccd833bd2624c1 linux-5.10.199.tar.xz +sha256 ffe6e4fa1266d5480e529fc8659f572c57030040c548face30f56fd5a223bba4 linux-5.4.259.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz -sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz +sha256 9d89e0bc6503c0d61178fd1605f6ed04b016873b9f370372866644b11fee3d31 linux-4.19.297.tar.xz +sha256 1db5926e02dc29b30d77f731228d3bd31402e2feba3aa59bfb2c730eedbeecc5 linux-4.14.328.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 65327d6b9f..dd7676f81c 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -384,12 +384,12 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.327" if BR2_KERNEL_HEADERS_4_14 - default "4.19.296" if BR2_KERNEL_HEADERS_4_19 - default "5.4.258" if BR2_KERNEL_HEADERS_5_4 - default "5.10.198" if BR2_KERNEL_HEADERS_5_10 - default "5.15.136" if BR2_KERNEL_HEADERS_5_15 - default "6.1.59" if BR2_KERNEL_HEADERS_6_1 + default "4.14.328" if BR2_KERNEL_HEADERS_4_14 + default "4.19.297" if BR2_KERNEL_HEADERS_4_19 + default "5.4.259" if BR2_KERNEL_HEADERS_5_4 + default "5.10.199" if BR2_KERNEL_HEADERS_5_10 + default "5.15.137" if BR2_KERNEL_HEADERS_5_15 + default "6.1.60" if BR2_KERNEL_HEADERS_6_1 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From fancp2007 at gmail.com Tue Oct 31 08:49:35 2023 From: fancp2007 at gmail.com (Scott Fan) Date: Tue, 31 Oct 2023 16:49:35 +0800 Subject: [Buildroot] [PATCH] configs/friendlyarm_nanopi_neo2_defconfig: new board Message-ID: <20231031084936.2397858-1-fancp2007@gmail.com> Add support for the FriendlyARM NanoPi NEO2 with mainline components: - U-Boot 2023.10 - Linux 6.1.60 Board's wiki page: - https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO2 Signed-off-by: Scott Fan --- board/friendlyarm/nanopi-neo2/extlinux.conf | 4 ++ board/friendlyarm/nanopi-neo2/genimage.cfg | 40 ++++++++++++++++ board/friendlyarm/nanopi-neo2/post-build.sh | 8 ++++ board/friendlyarm/nanopi-neo2/readme.txt | 34 +++++++++++++ .../nanopi-neo2/uboot/fit_spl.fragment | 1 + .../nanopi-neo2/uboot/fit_spl_atf_its.patch | 48 +++++++++++++++++++ configs/friendlyarm_nanopi_neo2_defconfig | 48 +++++++++++++++++++ 7 files changed, 183 insertions(+) create mode 100644 board/friendlyarm/nanopi-neo2/extlinux.conf create mode 100644 board/friendlyarm/nanopi-neo2/genimage.cfg create mode 100755 board/friendlyarm/nanopi-neo2/post-build.sh create mode 100644 board/friendlyarm/nanopi-neo2/readme.txt create mode 100644 board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment create mode 100644 board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch create mode 100644 configs/friendlyarm_nanopi_neo2_defconfig diff --git a/board/friendlyarm/nanopi-neo2/extlinux.conf b/board/friendlyarm/nanopi-neo2/extlinux.conf new file mode 100644 index 0000000000..04aea276a2 --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/extlinux.conf @@ -0,0 +1,4 @@ +label friendlyarm-nanopi-buildroot + kernel /Image + devicetree /sun50i-h5-nanopi-neo2.dtb + append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait diff --git a/board/friendlyarm/nanopi-neo2/genimage.cfg b/board/friendlyarm/nanopi-neo2/genimage.cfg new file mode 100644 index 0000000000..54465ca7fe --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-nanopi-neo2.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/board/friendlyarm/nanopi-neo2/post-build.sh b/board/friendlyarm/nanopi-neo2/post-build.sh new file mode 100755 index 0000000000..0ee47013f1 --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/post-build.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +# Parse BINARIES_DIR variable from arguments while missing in environment variable +[ -n "${BINARIES_DIR}" ] || BINARIES_DIR="$1" + +install -m 0644 -D "${BOARD_DIR}/extlinux.conf" "${BINARIES_DIR}/extlinux/extlinux.conf" diff --git a/board/friendlyarm/nanopi-neo2/readme.txt b/board/friendlyarm/nanopi-neo2/readme.txt new file mode 100644 index 0000000000..50795a1cfb --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/readme.txt @@ -0,0 +1,34 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the Nanopi NEO2. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Wiki link: +https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO2 + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make friendlyarm_nanopi_neo2_defconfig + $ make + +Note: you will need access to the internet to download the required +sources. + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + $ sudo sync + +Insert the micro SDcard in your Nanopi NEO2 and power it up. The console +is on the serial line, 115200 8N1. diff --git a/board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment b/board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment new file mode 100644 index 0000000000..50447d0dff --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment @@ -0,0 +1 @@ +CONFIG_SPL_FIT_SOURCE="board/friendlyarm/nanopi-neo2/fit_spl_atf.its" diff --git a/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch b/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch new file mode 100644 index 0000000000..b2edd9fb37 --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch @@ -0,0 +1,48 @@ +diff --git a/board/friendlyarm/nanopi-neo2/fit_spl_atf.its b/board/friendlyarm/nanopi-neo2/fit_spl_atf.its +new file mode 100644 +index 0000000000..7447d23988 +--- /dev/null ++++ b/board/friendlyarm/nanopi-neo2/fit_spl_atf.its +@@ -0,0 +1,42 @@ ++/dts-v1/; ++ ++/ { ++ description = "Configuration to load ATF before U-Boot"; ++ #address-cells = <1>; ++ ++ images { ++ uboot { ++ description = "U-Boot (64-bit)"; ++ data = /incbin/("u-boot-nodtb.bin"); ++ type = "standalone"; ++ arch = "arm64"; ++ compression = "none"; ++ load = <0x4a000000>; ++ }; ++ atf { ++ description = "ARM Trusted Firmware"; ++ data = /incbin/("bl31.bin"); ++ type = "firmware"; ++ arch = "arm64"; ++ compression = "none"; ++ load = <0x44000>; ++ entry = <0x44000>; ++ }; ++ fdt_1 { ++ description = "sun50i-h5-nanopi-neo2"; ++ data = /incbin/("arch/arm/dts/sun50i-h5-nanopi-neo2.dtb"); ++ type = "flat_dt"; ++ compression = "none"; ++ }; ++ }; ++ configurations { ++ default = "config_1"; ++ ++ config_1 { ++ description = "sun50i-h5-nanopi-neo2"; ++ firmware = "uboot"; ++ loadables = "atf"; ++ fdt = "fdt_1"; ++ }; ++ }; ++}; diff --git a/configs/friendlyarm_nanopi_neo2_defconfig b/configs/friendlyarm_nanopi_neo2_defconfig new file mode 100644 index 0000000000..a88bf8957c --- /dev/null +++ b/configs/friendlyarm_nanopi_neo2_defconfig @@ -0,0 +1,48 @@ +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV4=y + +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y + +# Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" +BR2_TARGET_UBOOT_PATCH="board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo2" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_FORMAT_ITB=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.60" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-nanopi-neo2" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_GENERIC_ISSUE="Welcome to FriendlyARM NanoPi NEO2" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/friendlyarm/nanopi-neo2/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-neo2/genimage.cfg" -- 2.25.1 From fancp2007 at gmail.com Tue Oct 31 09:00:46 2023 From: fancp2007 at gmail.com (Scott Fan) Date: Tue, 31 Oct 2023 17:00:46 +0800 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: <87o7gf1b6h.fsf@48ers.dk> References: <20231026181904.3218122-1-bernd@kuhls.net> <87o7gf1b6h.fsf@48ers.dk> Message-ID: For 2023.02.x branch, it need bump to 1.1.1w version. Scott Fan On Tue, Oct 31, 2023 at 3:52?PM Peter Korsgaard wrote: > > >>>>> "Bernd" == Bernd Kuhls writes: > > > Fixes CVE-2023-5363: > > https://www.openssl.org/news/secadv/20231024.txt > > https://www.openssl.org/news/vulnerabilities.html > > > Changelog: https://www.openssl.org/news/cl31.txt > > > Signed-off-by: Bernd Kuhls > > For 2023.08.x I will instead bump to 3.0.12, which contains the same > fix. > > -- > Bye, Peter Korsgaard > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From giulio.benetti at benettiengineering.com Tue Oct 31 09:01:14 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 31 Oct 2023 10:01:14 +0100 Subject: [Buildroot] [PATCH] package/nodejs: fix additional modules installation Message-ID: <20231031090114.618913-1-giulio.benetti@benettiengineering.com> At the moment the npm_config_nodedir is set to the build directory but npm nodedir must be the one on target to find the expected files. So let's set npm_config_nodedir to $(TARGET_DIR)/usr. Fixes: https://bugs.busybox.net/show_bug.cgi?id=15826 Signed-off-by: Giulio Benetti --- package/nodejs/nodejs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 2a8c570932..8f86413049 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -20,7 +20,7 @@ NODEJS_BIN_ENV = $(TARGET_CONFIGURE_OPTS) \ npm_config_arch=$(NODEJS_CPU) \ npm_config_target_arch=$(NODEJS_CPU) \ npm_config_build_from_source=true \ - npm_config_nodedir=$(BUILD_DIR)/nodejs-$(NODEJS_VERSION) \ + npm_config_nodedir=$(TARGET_DIR)/usr \ npm_config_prefix=$(TARGET_DIR)/usr \ npm_config_cache=$(BUILD_DIR)/.npm-cache -- 2.34.1 From bugzilla at busybox.net Tue Oct 31 09:03:46 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 31 Oct 2023 09:03:46 +0000 Subject: [Buildroot] [Bug 15826] nodejs modules with native extensions fail to install In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15826 --- Comment #2 from Giulio Benetti --- Hi Marcus, can you please try this [0] patch and report the bug is fixed? https://patchwork.ozlabs.org/project/buildroot/patch/20231031090114.618913-1-giulio.benetti at benettiengineering.com/ Thank you Best regards -- You are receiving this mail because: You are on the CC list for the bug. From peter at korsgaard.com Tue Oct 31 09:48:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 10:48:26 +0100 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: (Scott Fan's message of "Tue, 31 Oct 2023 17:00:46 +0800") References: <20231026181904.3218122-1-bernd@kuhls.net> <87o7gf1b6h.fsf@48ers.dk> Message-ID: <87jzr315sl.fsf@48ers.dk> >>>>> "Scott" == Scott Fan writes: > For 2023.02.x branch, it need bump to 1.1.1w version. Why? Isn't 1.1.1w only including the security fix for the Windows-only CVE-2023-4807 vulnerability? https://www.openssl.org/news/secadv/20230908.txt -- Bye, Peter Korsgaard From yann.morin at orange.com Tue Oct 31 10:22:14 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Tue, 31 Oct 2023 11:22:14 +0100 Subject: [Buildroot] [PATCH 0/2] utils/docker-run network improvements Message-ID: From: "Yann E. MORIN" Hello All! Make our utils/docker-run wrapper easier to use in corporate networks: - don't create a private, NATed network - expose the user's proxy variables in the container Regards, Yann E. MORIN. The following changes since commit bc8d214e988b95b125ad2b9409286cbf820370b0 package/python-django: bump version to 4.2.6 (2023-10-22 20:37:13 +0200) are available as patches in this mail series, for you to apply patches up to 31538ce771c6cd9f4719a969740b6ff04e3c8e62 utils/docker-run: propagate user's proxy settings (2023-10-31 11:21:03 +0100) ---------------------------------------------------------------- Yann E. MORIN (2): utils/docker: use host's network setup utils/docker-run: propagate user's proxy settings utils/docker-run | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- ____________ .-----------------.--------------------: _ :------------------. | Yann E. MORIN | Real-Time Embedded | __/ ) | /"\ ASCII RIBBON | | | Software Designer | _/ - /' | \ / CAMPAIGN | | +33 638.411.245 '--------------------: (_ `--, | X AGAINST | | yann.morin (at) orange.com |_=" ,--' | / \ HTML MAIL | '--------------------------------------:______/_____:------------------' ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From yann.morin at orange.com Tue Oct 31 10:22:16 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Tue, 31 Oct 2023 11:22:16 +0100 Subject: [Buildroot] [PATCH 1/2] utils/docker: use host's network setup In-Reply-To: References: Message-ID: <68133ee58ba7da20be579110a95d6413a49c4049.1698747732.git.yann.morin@orange.com> From: "Yann E. MORIN" Our utils/docker-run wrapper is needed to provide a reproducible build environment: tools, variables, etc... but is not meant for isolation. As such, we do not care what the network configuration is used. In some settings (e.g. enterprise networks), it is often the case that a VPN is in use, especially in those wonderful times of widespread remote work. Letting Docker decide on the network setup, will most usually lead to it creating a private network that is NATed onto the principal network interface, leading to non-functional network in the container when a VPN is in use. As such, always use the host network configuration, and do not let Docker create a private network for the container. Signed-off-by: Yann E. MORIN Cc: Ricardo Martincoski --- utils/docker-run | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/docker-run b/utils/docker-run index 848e9b3840..464cbf691f 100755 --- a/utils/docker-run +++ b/utils/docker-run @@ -21,6 +21,7 @@ declare -a docker_opts=( --user "$(id -u):$(id -g)" --workdir "$(pwd)" --security-opt label=disable + --network host ) declare -a mountpoints=( -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From yann.morin at orange.com Tue Oct 31 10:22:17 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Tue, 31 Oct 2023 11:22:17 +0100 Subject: [Buildroot] [PATCH 2/2] utils/docker-run: propagate user's proxy settings In-Reply-To: References: Message-ID: <31538ce771c6cd9f4719a969740b6ff04e3c8e62.1698747732.git.yann.morin@orange.com> From: "Yann E. MORIN" When dealing in enterprise-grade networks, it is more often than not the case that the wider internet is unreachable but through proxies. There is a usual set of variables that users can set in the environment to point various tools (curl, git...) to use those proxies. Propagate those variables inside the container. Note that there are a few tools (e.g. cvs, svn) that may not recognise those variables; instead, they require custom setup that is too complex to handle, so is left as an exercise to interested parties. Similarly, there exists another type of proxy, socks4 or socks5, that also requires custom setup that is not trivial to replicate in a container, so is also left out as an exrcise for interested parties. In the large majority of cases, those few variables are enough to Make Things Work?. Signed-off-by: Yann E. MORIN Cc: Ricardo Martincoski --- utils/docker-run | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/utils/docker-run b/utils/docker-run index 464cbf691f..79694474c1 100755 --- a/utils/docker-run +++ b/utils/docker-run @@ -29,6 +29,26 @@ declare -a mountpoints=( "$(pwd)" ) +# curl lists (and recognises and uses) other types of *_proxy variables, +# but only those make sense for Buildroot: +for env in all_proxy http_proxy https_proxy ftp_proxy no_proxy; do + if [ "${!env}" ]; then + docker_opts+=( --env "${env}" ) + # The lower-case variant takes precedence on the upper-case one + # (dixit curl) + continue + fi + # http_proxy is only lower-case (dixit curl) + if [ "${env}" = http_proxy ]; then + continue + fi + # All the others also exist in the upper-case variant + env="${env^^}" + if [ "${!env}" ]; then + docker_opts+=( --env "${env}" ) + fi +done + # Empty GIT_DIR means that we are not in a workdir, *and* git is too old # to know about worktrees, so we're not in a worktree either. So it means # we're in the main git working copy, and thus we don't need to mount the -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From fancp2007 at gmail.com Tue Oct 31 11:08:46 2023 From: fancp2007 at gmail.com (Scott Fan) Date: Tue, 31 Oct 2023 19:08:46 +0800 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: <87jzr315sl.fsf@48ers.dk> References: <20231026181904.3218122-1-bernd@kuhls.net> <87o7gf1b6h.fsf@48ers.dk> <87jzr315sl.fsf@48ers.dk> Message-ID: Sorry, i thought it would always follow the upstream. Scott Fan On Tue, Oct 31, 2023 at 5:48?PM Peter Korsgaard wrote: > > >>>>> "Scott" == Scott Fan writes: > > > For 2023.02.x branch, it need bump to 1.1.1w version. > > Why? Isn't 1.1.1w only including the security fix for the Windows-only > CVE-2023-4807 vulnerability? > > https://www.openssl.org/news/secadv/20230908.txt > > -- > Bye, Peter Korsgaard From luca.ceresoli at bootlin.com Tue Oct 31 11:12:22 2023 From: luca.ceresoli at bootlin.com (Luca Ceresoli) Date: Tue, 31 Oct 2023 12:12:22 +0100 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: <20231018111357.2898095-1-neal.frager@amd.com> References: <20231018111357.2898095-1-neal.frager@amd.com> Message-ID: <20231031121222.1dfa4035@booty> Hi Neal, On Wed, 18 Oct 2023 12:13:57 +0100 Neal Frager wrote: > This patch adds support for Xilinx Zynq ZC702 starter kit. > > ZC702 features can be found here: > https://www.xilinx.com/products/boards-and-kits/ek-z7-zc702-g.html > > Signed-off-by: Neal Frager This patch looks very clean, however I have a question. The zc702 config you are adding is identical to the existing one for the zc706 except for the device tree: -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc706" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc702" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc706" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc702" However, exactly because it is so similar, I am not sure about the usefulness of having a large number of (from the build system perspective) very similar configurations, where a user can simply 'sed s/zc706/zc702/' to work on a different board. I'm wondering whether we could have a unique defconfig that builds artifacts able to boot on both boards. This probably build down to whether the hardware components involved in the boot process are similar enough to allow U-Boot to boot with the same embedded device tree for both boards. At a quick glance the two dts files appear very similar. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From yegorslists at googlemail.com Tue Oct 31 11:39:39 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Tue, 31 Oct 2023 12:39:39 +0100 Subject: [Buildroot] [PATCH v4 2/4] package/python-terminaltables: use correct pep517 build backend In-Reply-To: <20231029234003.2606006-2-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> <20231029234003.2606006-2-james.hilliard1@gmail.com> Message-ID: On Mon, Oct 30, 2023 at 12:40?AM James Hilliard wrote: > > We need to migrate python-terminaltables to the pep517 poetry-core > backend as setuptools is not supported when building with a pep517 > frontend. > > This package currently builds using setuptools as we do not yet > use setuptools with a pep517 build frontend. The package contains > a setuptools fallback which only can be used when using setuptools > without a pep517 frontend as the pep517 frontend will only use the > build backend specified in the package pyproject.toml which is > poetry-core and not setuptools. > > Upstream has merged a patch replacing poetry with poetry-core, however > we can not backport this using a patch file due to CRLF line ending > issues so we will have to apply the change in the patch using sed > instead. > > See upstream commit: > https://github.com/matthewdeanmartin/terminaltables/commit/9e3dda0efb54fee6934c744a13a7336d24c6e9e9 > > Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov > --- > Changes v1 -> v2: > - add more details regarding pep517 frontend compatibility > --- > package/python-terminaltables/python-terminaltables.mk | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/package/python-terminaltables/python-terminaltables.mk b/package/python-terminaltables/python-terminaltables.mk > index b31ed332b6..385c71ae2d 100644 > --- a/package/python-terminaltables/python-terminaltables.mk > +++ b/package/python-terminaltables/python-terminaltables.mk > @@ -7,8 +7,16 @@ > PYTHON_TERMINALTABLES_VERSION = 3.1.10 > PYTHON_TERMINALTABLES_SOURCE = terminaltables-$(PYTHON_TERMINALTABLES_VERSION).tar.gz > PYTHON_TERMINALTABLES_SITE = https://files.pythonhosted.org/packages/f5/fc/0b73d782f5ab7feba8d007573a3773c58255f223c5940a7b7085f02153c3 > -PYTHON_TERMINALTABLES_SETUP_TYPE = setuptools > +PYTHON_TERMINALTABLES_SETUP_TYPE = pep517 > PYTHON_TERMINALTABLES_LICENSE = MIT > PYTHON_TERMINALTABLES_LICENSE_FILES = LICENSE > +PYTHON_TERMINALTABLES_DEPENDENCIES = host-python-poetry-core > + > +# we can't use a normal patch file due to different line endings > +define PYTHON_TERMINALTABLES_USE_POETRY_CORE > + $(SED) 's/requires = \["poetry>=0.12"\]/requires = \["poetry-core>=1.0.0"\]/' $(@D)/pyproject.toml > + $(SED) 's/build-backend = "poetry.masonry.api"/build-backend = "poetry.core.masonry.api"/' $(@D)/pyproject.toml > +endef > +PYTHON_TERMINALTABLES_POST_PATCH_HOOKS += PYTHON_TERMINALTABLES_USE_POETRY_CORE > > $(eval $(python-package)) > -- > 2.34.1 > From yegorslists at googlemail.com Tue Oct 31 11:40:17 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Tue, 31 Oct 2023 12:40:17 +0100 Subject: [Buildroot] [PATCH v4 1/4] package/python-poetry-core: new host package In-Reply-To: <20231029234003.2606006-1-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> Message-ID: On Mon, Oct 30, 2023 at 12:40?AM James Hilliard wrote: > > Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov > --- > Changes v1 -> v2: > - update to 1.7.0 > - drop patch which is now upstream > --- > package/python-poetry-core/python-poetry-core.hash | 5 +++++ > package/python-poetry-core/python-poetry-core.mk | 14 ++++++++++++++ > 2 files changed, 19 insertions(+) > create mode 100644 package/python-poetry-core/python-poetry-core.hash > create mode 100644 package/python-poetry-core/python-poetry-core.mk > > diff --git a/package/python-poetry-core/python-poetry-core.hash b/package/python-poetry-core/python-poetry-core.hash > new file mode 100644 > index 0000000000..c6b180c852 > --- /dev/null > +++ b/package/python-poetry-core/python-poetry-core.hash > @@ -0,0 +1,5 @@ > +# md5, sha256 from https://pypi.org/pypi/poetry-core/json > +md5 7461547cac0e0e9c8cd7463aa87e7470 poetry_core-1.7.0.tar.gz > +sha256 8f679b83bd9c820082637beca1204124d5d2a786e4818da47ec8acefd0353b74 poetry_core-1.7.0.tar.gz > +# Locally computed sha256 checksums > +sha256 f1978133782b90f4733bc308ddb19267c3fe04797c88d9ed3bc219032495a982 LICENSE > diff --git a/package/python-poetry-core/python-poetry-core.mk b/package/python-poetry-core/python-poetry-core.mk > new file mode 100644 > index 0000000000..4ca587b11d > --- /dev/null > +++ b/package/python-poetry-core/python-poetry-core.mk > @@ -0,0 +1,14 @@ > +################################################################################ > +# > +# python-poetry-core > +# > +################################################################################ > + > +PYTHON_POETRY_CORE_VERSION = 1.7.0 > +PYTHON_POETRY_CORE_SOURCE = poetry_core-$(PYTHON_POETRY_CORE_VERSION).tar.gz > +PYTHON_POETRY_CORE_SITE = https://files.pythonhosted.org/packages/cb/1c/af7f886e723b2dfbaea9b8a739153f227b386dd856cf956f9fd0ed0a502b > +PYTHON_POETRY_CORE_SETUP_TYPE = pep517 > +PYTHON_POETRY_CORE_LICENSE = MIT > +PYTHON_POETRY_CORE_LICENSE_FILES = LICENSE > + > +$(eval $(host-python-package)) > -- > 2.34.1 > From giulio.benetti at benettiengineering.com Tue Oct 31 12:07:13 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 31 Oct 2023 13:07:13 +0100 Subject: [Buildroot] [PATCH] package/nodejs/nodejs-src: remove .node files with different architecture Message-ID: <20231031120713.678783-1-giulio.benetti@benettiengineering.com> Actually nodejs-src fails to build when additional modules with prebuilt .node files are added. This is due to Buildroot's check-bin-arch that checks for executable files and libraries that have different architecture from the one we're building for. So let's go through all .node files in $(TARGET_DIR)/usr/lib/node_modules and check if the architecture is different or not found and in case delete the .node file. Fixes: https://bugs.busybox.net/show_bug.cgi?id=15823 Signed-off-by: Giulio Benetti --- package/nodejs/nodejs-src/nodejs-src.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/nodejs/nodejs-src/nodejs-src.mk b/package/nodejs/nodejs-src/nodejs-src.mk index 3452c93728..bdbf0709c6 100644 --- a/package/nodejs/nodejs-src/nodejs-src.mk +++ b/package/nodejs/nodejs-src/nodejs-src.mk @@ -247,6 +247,18 @@ define NODEJS_SRC_INSTALL_MODULES # npm install call below and setting npm_config_rollback=false can both # help in diagnosing the problem. $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) + + # Remove prebuilt files which are not compatible with the architecture + # and OS(Linux) we're building for. NOTE: .node files that don't have a + # readelf output have different ABI(i.e. Windows, Darwin etc.) + for f in $$(find $(TARGET_DIR)/usr/lib/node_modules -type f -name "*.node"); do \ + echo $$f; \ + arch=`$(TARGET_READELF) -h "$$f" 2>&1 | \ + sed -r -e '/^ Machine: +(.+)/!d; s//\1/;' | head -1`; \ + if [ "$$arch" != "$(BR2_READELF_ARCH_NAME)" ]; then \ + rm -f $$f; \ + fi \ + done endef endif -- 2.34.1 From bugzilla at busybox.net Tue Oct 31 12:09:11 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 31 Oct 2023 12:09:11 +0000 Subject: [Buildroot] [Bug 15823] Installing nodejs modules with native extensions fails on first run In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15823 --- Comment #2 from Giulio Benetti --- Hi Marcus, can you please give a try to this [0] pending patch? [0]: https://patchwork.ozlabs.org/project/buildroot/patch/20231031120713.678783-1-giulio.benetti at benettiengineering.com/ Thank you -- You are receiving this mail because: You are on the CC list for the bug. From neal.frager at amd.com Tue Oct 31 12:12:47 2023 From: neal.frager at amd.com (Frager, Neal) Date: Tue, 31 Oct 2023 12:12:47 +0000 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: <20231031121222.1dfa4035@booty> References: <20231018111357.2898095-1-neal.frager@amd.com> <20231031121222.1dfa4035@booty> Message-ID: Hi Luca, > This patch adds support for Xilinx Zynq ZC702 starter kit. > > ZC702 features can be found here: > https://www.xilinx.com/products/boards-and-kits/ek-z7-zc702-g.html > > Signed-off-by: Neal Frager > This patch looks very clean, however I have a question. The zc702 config you are adding is identical to the existing one for the zc706 except for the device tree: > -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc706" > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc702" > -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc706" > +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc702" > However, exactly because it is so similar, I am not sure about the usefulness of having a large number of (from the build system > perspective) very similar configurations, where a user can simply 'sed s/zc706/zc702/' to work on a different board. > I'm wondering whether we could have a unique defconfig that builds artifacts able to boot on both boards. This probably build down to whether the hardware components involved in the boot process are similar enough to allow U-Boot to boot with the same embedded device tree for both boards. At a quick glance the two dts files appear very similar. I do understand your point. From this perspective, we can say the same thing about the zynq_zed_defconfig and the zynq_microzed_defconfig as well. For all 4 of these zynq boards, the DTS definition is all that changes from one defconfig to another. And in all 4 cases, the only differences in the dts files are things like gpio LEDs, switches and whether or not there is a CAN peripheral on board. So you could potentially boot the same images across these boards. You would just lose a peripheral or two that is included in one dts file but not another. My reasoning for creating the zynq_zc702_defconfig is the same as with the zynqmp_kr260_defconfig. I would like for buildroot to be a clear alternative to yocto. This is my primary motivation as an AMD employee. At the moment, if a new user wants to run a yocto or petalinux build for any AMD Xilinx evaluation board, they simply need to use that board's configuration as all of them are included with the meta-xilinx releases. I get that knowledgeable buildroot users can simply 'sed s/zc706/zc702/' to work on a different board. But what about the new user who does not know that changing the dts is all that needs to be done? It may be hard to believe, but I have received questions about certain boards like the zc702 or the zcu104 which do not have an explicit buildroot defconfig, and some users interpret that to mean the board is not supported. But in reality, you and I both know that it takes very little to support another zynq or zynqmp evaluation board now that all the board support is already included in buildroot. The new user does not know this. Even internally at AMD, some people think buildroot does not have support for our products. @Peter can vouch for this as he has personally been involved in getting AMD technical support, and received the feedback that we need to duplicate the problem using the "petalinux flow" even though buildroot and petalinux use the exact same u-boot and Linux release tags. If we compare buildroot with yocto/petalinux, we can see how many boards are supported "out of the box" by yocto/petalinux without having a buildroot defconfig. Below is a nice github containing all of the yocto/petalinux pre-built binaries. https://github.com/Xilinx/soc-prebuilt-firmware/tree/xlnx_rel_v2023.2 You can see that buildroot only includes the following defconfigs: zynq: 1 out 2 defconfigs zynqmp: 2 out of 5 defconfigs kria: 1 out of 3 defconfigs versal: 1 out of 5 defconfigs In many cases, I think this can be a blocker for many new users when deciding to go the buildroot or yocto path. If having too many defconfigs is an issue for buildroot, I would propose we drop support of some boards like the zynq_qmtech board, and include more of the boards that are still actively supported. Would the community be ok with the following list of AMD defconfigs being included in buildroot? I believe the following list includes the most popular boards on our side. I know 10 defconfigs is a lot, but I have no problem with maintaining them, and it would definitely give buildroot the appearance of being an officially supported platform for new users. Half of these defconfigs are already included in buildroot. zynq_zc702 zynq_zc706 zynqmp_zcu102 zynqmp_zcu104 zynqmp_zcu106 kria_kd240 kria_kr260 kria_kv260 versal_vck190 versal_vmk180 What do you think? Best regards, Neal Frager AMD From ju.o at free.fr Tue Oct 31 12:23:00 2023 From: ju.o at free.fr (Julien Olivain) Date: Tue, 31 Oct 2023 13:23:00 +0100 Subject: [Buildroot] [PATCH v5] package/criu: new package In-Reply-To: <20231030103931.2684786-1-marcus.folkesson@gmail.com> References: <20231030103931.2684786-1-marcus.folkesson@gmail.com> Message-ID: <627c2e7888ad6a916e976d470fc23dd6@free.fr> Hi Marcus, Thanks for this updated v5 patch! I confirm I successfully tested this patch on branch master at commit a9d2040 with commands: utils/docker-run make check-package ... 0 warnings generated cat >criu.config < Checkpoint/Restore In Userspace (CRIU), is a software tool for the > Linux operating system to make it possible to freeze a running > application and checkpoint it to persistent storage as a collection of > files. > > Signed-off-by: Marcus Folkesson > --- > > Notes: > v2: > - Addressed comments from Thomas. > - Tested on ARM target and on x86_64 with qemu. > > v3: > - set CONFIG_CHECKPOINT_RESTORE in kernel config > - Only be available for ARMv6, ARMv7 and ARMv8 > > v4: > - set SUBARCH for armv6, armv7 and armv8 > - Use github download helper > > Result from test-pkg: > bootlin-armv5-uclibc [1/6]: SKIPPED > bootlin-armv7-glibc [2/6]: OK > bootlin-armv7m-uclibc [3/6]: SKIPPED > bootlin-x86-64-musl [4/6]: OK > br-arm-full-static [5/6]: SKIPPED > sourcery-arm [6/6]: SKIPPED > 6 builds, 4 skipped, 0 build failed, 0 legal-info failed, 0 > show-info failed > > v5: > - Remove support for s390 arch > - Depend on BR2_HOST_GCC_AT_LEAST_8 > - Depend on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 > - Depend on !BR2_TOOLCHAIN_USES_UCLIBC > - Use BR2_NORMALIZED_ARCH instead of BR2_ARCH > > DEVELOPERS | 1 + > package/Config.in | 1 + > package/criu/Config.in | 55 ++++++++++++++++++++++++++++++++ > package/criu/criu.hash | 3 ++ > package/criu/criu.mk | 71 ++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 131 insertions(+) > create mode 100644 package/criu/Config.in > create mode 100644 package/criu/criu.hash > create mode 100644 package/criu/criu.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index 57015e245e..2047827bd9 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2007,6 +2007,7 @@ > F: support/testing/tests/package/test_python_pytest.py > F: support/testing/tests/package/test_python_pytest_asyncio.py > > N: Marcus Folkesson > +F: package/criu/ > F: package/libcamera/ > F: package/libcamera-apps/ > F: package/libostree/ > diff --git a/package/Config.in b/package/Config.in > index 4e489c4706..9e2099f6a5 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2678,6 +2678,7 @@ menu "System tools" > source "package/coreutils/Config.in" > source "package/cpulimit/Config.in" > source "package/cpuload/Config.in" > + source "package/criu/Config.in" > source "package/crun/Config.in" > source "package/daemon/Config.in" > source "package/dc3dd/Config.in" > diff --git a/package/criu/Config.in b/package/criu/Config.in > new file mode 100644 > index 0000000000..7963e6e8df > --- /dev/null > +++ b/package/criu/Config.in > @@ -0,0 +1,55 @@ > +# criu only builds on certain architectures > +config BR2_PACKAGE_CRIU_ARCH_SUPPORTS > + bool > + default y if BR2_ARM_CPU_ARMV6 > + default y if BR2_ARM_CPU_ARMV7A > + default y if BR2_ARM_CPU_ARMV7M > + default y if BR2_ARM_CPU_ARMV8A > + default y if BR2_ARM_CPU_ARMV8M > + default y if BR2_aarch64 > + default y if BR2_i386 > + default y if BR2_mips > + default y if BR2_x86_64 > + default y if BR2_BR2_powerpc64le #Only support powerpc64 with LE > + #default y if BR2_s390x I think this BR2_s390x Kconfig line can be removed. Keeping only the following comment will be sufficient. > + #CRIU has "some" support for s390 but it is not included due to > + #BE/LE endian issues. > + > +menuconfig BR2_PACKAGE_CRIU > + bool "criu" > + depends on BR2_HOST_GCC_AT_LEAST_8 # -march=armv7-a+fp This should be BR2_TOOLCHAIN_GCC_AT_LEAST_8 (i.e. target gcc). It should then replace the "depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8" you already have for protobuf. I didn't see any build failure, as it is probably hidden with the kernel headers >= 4.18 dependency. > + depends on BR2_PACKAGE_CRIU_ARCH_SUPPORTS > + depends on BR2_PACKAGE_HOST_PYTHON3 # host-python3-ssl > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS > + depends on BR2_INSTALL_LIBSTDCPP # protobuf > + depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, libnl > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf This line should be replaced by BR2_HOST_GCC_AT_LEAST_8, as commented earlier. > + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 # rseq.h > + depends on !BR2_TOOLCHAIN_USES_UCLIBC # no aio.h > + depends on !BR2_STATIC_LIBS # protobuf, libbsd > + depends on BR2_USE_WCHAR # libbsd > + depends on BR2_USE_MMU # libcap > + select BR2_PACKAGE_HOST_PYTHON3_SSL > + select BR2_PACKAGE_PROTOBUF > + select BR2_PACKAGE_PROTOBUF_C > + select BR2_PACKAGE_LIBAIO > + select BR2_PACKAGE_LIBBSD > + select BR2_PACKAGE_LIBCAP > + select BR2_PACKAGE_LIBNET > + select BR2_PACKAGE_LIBNL > + select BR2_PACKAGE_PYTHON3 > + help > + Checkpoint/Restore In Userspace (CRIU), is a software > + tool for the Linux operating system to make it possible > + to freeze a running application and checkpoint it to > + persistent storage as a collection of files. > + > + https://criu.org/Main_Page > + > +comment "criu needs a toolchain w/ threads, dynamic library, wchar" The comment should be slightly refined, with something like, in one line: "criu needs a glibc or musl toolchain w/ threads, gcc >= 8, headers >= 4.18, dynamic library, wchar" > + depends on !BR2_HOST_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS \ The change I proposed earlier should also be reflected here: depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || ... > + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 \ > + || BR2_TOOLCHAIN_USES_UCLIBC \ > + || BR2_STATIC_LIBS || !BR2_USE_WCHAR > diff --git a/package/criu/criu.hash b/package/criu/criu.hash > new file mode 100644 > index 0000000000..2c4a07252b > --- /dev/null > +++ b/package/criu/criu.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 > 6a9997981c9fe4730c848ce59346b3a22fad69b803607cb67a3f6ec0557fa474 > criu-3.18.tar.gz > +sha256 > 568a1fa9d90e18a1a1a61ea58ec2eece16b56a5042cc72c1b4f8d4455ae6fcb7 > COPYING > diff --git a/package/criu/criu.mk b/package/criu/criu.mk > new file mode 100644 > index 0000000000..9814e4a0de > --- /dev/null > +++ b/package/criu/criu.mk > @@ -0,0 +1,71 @@ > +################################################################################ > +# > +# CRIU > +# > +################################################################################ > + > +CRIU_VERSION = 3.18 > +CRIU_SITE = $(call github,checkpoint-restore,criu,v$(CRIU_VERSION)) > + > +CRIU_LICENSE = GPL-2.0 > +CRIU_LICENSE_FILES = COPYING > +CRIU_DEPENDENCIES =\ > + host-pkgconf \ > + host-protobuf-c \ > + host-python3 \ > + host-python-pip \ > + libaio \ > + libbsd \ > + libcap \ > + libnet \ > + libnl \ > + protobuf \ > + protobuf-c \ > + python3 > + > +CRIU_MAKE_ENV =\ > + $(TARGET_MAKE_ENV) \ > + $(TARGET_CONFIGURE_OPTS) \ > + CROSS_COMPILE=$(TARGET_CROSS) \ > + WERROR=0 > + > +#Remap to match the used in criu. > +ifeq ($(BR2_NORMALIZED_ARCH),"x86_64") > +CRIU_MAKE_ENV += ARCH=x86 > +else ifeq ($(BR2_NORMALIZED_ARCH),"powerpc") > +CRIU_MAKE_ENV += ARCH=ppc64 > +else ifeq ($(BR2_NORMALIZED_ARCH),"arm64") > +CRIU_MAKE_ENV += ARCH=aarch64 > +else > +CRIU_MAKE_ENV += ARCH=$(BR2_NORMALIZED_ARCH) > +endif > + > +ifeq ($(BR2_ARM_CPU_ARMV6), y) > +CRIU_MAKE_ENV += SUBARCH=armv6 > +else ifeq ($(BR2_ARM_CPU_ARMV7A), y) > +CRIU_MAKE_ENV += SUBARCH=armv7 > +else ifeq ($(BR2_ARM_CPU_ARMV7M), y) > +CRIU_MAKE_ENV += SUBARCH=armv7 > +else ifeq ($(BR2_ARM_CPU_ARMV8A), y) > +CRIU_MAKE_ENV += SUBARCH=armv8 > +else ifeq ($(BR2_ARM_CPU_ARMV8M), y) > +CRIU_MAKE_ENV += SUBARCH=armv8 > +endif > + > +# Criu needs Kernel Checkpoint/restore support which is not enabled > +# by default. > +define CRIU_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_CHECKPOINT_RESTORE) > +endef > + > +define CRIU_BUILD_CMDS > + rm -rf $(@D)/images/google/protobuf/descriptor.proto > + ln -s $(STAGING_DIR)/usr/include/google/protobuf/descriptor.proto > $(@D)/images/google/protobuf/descriptor.proto > + $(CRIU_MAKE_ENV) $(MAKE) -C $(@D) > +endef > + > +define CRIU_INSTALL_TARGET_CMDS > + $(CRIU_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) > install-criu install-lib install-compel > +endef > + > +$(eval $(generic-package)) > -- > 2.42.0 Best regards, Julien. From thomas.petazzoni at bootlin.com Tue Oct 31 12:34:15 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:34:15 +0100 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: References: <20231018111357.2898095-1-neal.frager@amd.com> <20231031121222.1dfa4035@booty> Message-ID: <20231031133415.1d89db5a@windsurf> Hello Neal, On Tue, 31 Oct 2023 12:12:47 +0000 "Frager, Neal" wrote: > I do understand your point. From this perspective, we can say the > same thing about the zynq_zed_defconfig and the > zynq_microzed_defconfig as well. For all 4 of these zynq boards, the > DTS definition is all that changes from one defconfig to another. > And in all 4 cases, the only differences in the dts files are things > like gpio LEDs, switches and whether or not there is a CAN peripheral > on board. So you could potentially boot the same images across these > boards. You would just lose a peripheral or two that is included in > one dts file but not another. I think the discussion is not being specific enough here, so let me provide some more background. If the only differences between the zc706 and zc702 defconfigs is the Linux kernel Device Tree (and I insist on Linux kernel Device Tree, not Device Tree for the bootloaders/firmware), then you can have a single configuration that builds multiple Device Trees, and the bootloader selects the right one depending on which board we're booting on. This is exactly what happens in beaglebone_defconfig: BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless" We build multiple Linux kernel Device Trees, and the U-Boot bootloader detects which board we boot on, and selects the right Device Tree. If you are in this situation, then yes we want a single defconfig. However, if the bootloader needs to be different on ZCU702 vs ZCU706, and this difference is not detected at boot-time/run-time, but is handled as a different build-time configuration, then you have no other choice but to have 2 separate defconfigs. Now I see this: +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc702" in the ZCU702 defconfig, vs. BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc706" Which means you need to have a different build-time configuration of U-Boot, and therefore it's not possible to support both platforms in the same Buildroot defconfig. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:37:46 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:37:46 +0100 Subject: [Buildroot] [PATCH v6 01/10] package/binutils-bare-metal: new package In-Reply-To: <20231020114236.4129636-1-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> Message-ID: <20231031133746.5ce62f07@windsurf> Hello, I'm late to the party, but here are some comments. On Fri, 20 Oct 2023 12:42:27 +0100 Neal Frager via buildroot wrote: > diff --git a/package/binutils-bare-metal/2.41/0001-sh-conf.patch b/package/binutils-bare-metal/2.41/0001-sh-conf.patch > new file mode 120000 > index 0000000000..26dff99523 > --- /dev/null > +++ b/package/binutils-bare-metal/2.41/0001-sh-conf.patch I'm not happy with how patches are handled here. I think package/binutils-bare-metal/2.41/ should be a symlink to package/binutils/2.41/, and all patches you need should be added to package/binutils/2.41/. I don't want to see a different patch stack to be applied on binutils-bare-metal compared to binutils. > diff --git a/package/binutils-bare-metal/Config.in.host b/package/binutils-bare-metal/Config.in.host > new file mode 100644 > index 0000000000..e70bee8fa2 > --- /dev/null > +++ b/package/binutils-bare-metal/Config.in.host > @@ -0,0 +1,15 @@ > +config BR2_PACKAGE_HOST_BINUTILS_BARE_METAL > + bool "host binutils-bare-metal" This visible config option is useless, as it's anyway only selected by host-toolchain-bare-metal. I believe it can simply be dropped. > + help > + Build GNU binutils for a bare-metal toolchain > + > +if BR2_PACKAGE_HOST_BINUTILS_BARE_METAL > + > +config BR2_PACKAGE_HOST_BINUTILS_BARE_METAL_VERSION > + string > + default "2.41" This option is invisible (it has no prompt), so it is useless. Just hardcode 2.41 in package/binutils-bare-metal/binutils-bare-metal.mk. > diff --git a/package/binutils-bare-metal/binutils-bare-metal.hash b/package/binutils-bare-metal/binutils-bare-metal.hash > new file mode 100644 > index 0000000000..3aab4d433d > --- /dev/null > +++ b/package/binutils-bare-metal/binutils-bare-metal.hash > @@ -0,0 +1,6 @@ > +# From https://gcc.gnu.org/pub/binutils/releases/sha512.sum > +sha512 5df45d0bd6ddabdce4f35878c041e46a92deef01e7dea5facc97fd65cc06b59abc6fba0eb454b68e571c7e14038dc823fe7f2263843e6e627b7444eaf0fe9374 binutils-2.41.tar.xz > + > +# locally calculated > +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING3 > +sha256 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d COPYING.LIB Perhaps this should be a symlink to package/binutils/binutils.hash ? > diff --git a/package/binutils-bare-metal/binutils-bare-metal.mk b/package/binutils-bare-metal/binutils-bare-metal.mk > new file mode 100644 > index 0000000000..c361a5102a > --- /dev/null > +++ b/package/binutils-bare-metal/binutils-bare-metal.mk > @@ -0,0 +1,39 @@ > +################################################################################ > +# > +# binutils-bare-metal > +# > +################################################################################ > + > +HOST_BINUTILS_BARE_METAL_VERSION = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_BINUTILS_BARE_METAL_VERSION)) > +ifeq ($(HOST_BINUTILS_BARE_METAL_VERSION),) > +HOST_BINUTILS_BARE_METAL_VERSION = 2.41 > +endif # BINUTILS_VERSION Just hardcode the version to 2.41, no option needed. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:41:52 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:41:52 +0100 Subject: [Buildroot] [PATCH v6 02/10] package/gcc-bare-metal: new package In-Reply-To: <20231020114236.4129636-2-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-2-neal.frager@amd.com> Message-ID: <20231031134152.792af099@windsurf> Hello, On Fri, 20 Oct 2023 12:42:28 +0100 Neal Frager via buildroot wrote: > diff --git a/package/gcc-bare-metal/Config.in.host b/package/gcc-bare-metal/Config.in.host > new file mode 100644 > index 0000000000..ca7735340c > --- /dev/null > +++ b/package/gcc-bare-metal/Config.in.host > @@ -0,0 +1,12 @@ > +config BR2_PACKAGE_HOST_GCC_BARE_METAL > + bool "host gcc-bare-metal" > + help > + Build GCC for a bare-metal toolchain > + > +if BR2_PACKAGE_HOST_GCC_BARE_METAL > + > +config BR2_PACKAGE_HOST_GCC_BARE_METAL_VERSION > + string > + default "13.2.0" Both of these options are useless, they should be dropped. > diff --git a/package/gcc-bare-metal/gcc-bare-metal.hash b/package/gcc-bare-metal/gcc-bare-metal.hash > new file mode 100644 > index 0000000000..5c5c28fa7e > --- /dev/null > +++ b/package/gcc-bare-metal/gcc-bare-metal.hash Symlink to package/gcc/gcc.hash ? > diff --git a/package/gcc-bare-metal/gcc-bare-metal.mk b/package/gcc-bare-metal/gcc-bare-metal.mk > new file mode 100644 > index 0000000000..fe6f931008 > --- /dev/null > +++ b/package/gcc-bare-metal/gcc-bare-metal.mk > @@ -0,0 +1,68 @@ > +################################################################################ > +# > +# gcc-bare-metal > +# > +################################################################################ > + > +HOST_GCC_BARE_METAL_VERSION = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_GCC_BARE_METAL_VERSION)) > +ifeq ($(HOST_GCC_BARE_METAL_VERSION),) > +HOST_GCC_BARE_METAL_VERSION = 13.2.0 > +endif Just harcode the version. > + > +HOST_GCC_BARE_METAL_SITE = \ > + https://ftp.gnu.org/gnu/gcc/gcc-$(HOST_GCC_BARE_METAL_VERSION) > +HOST_GCC_BARE_METAL_SOURCE = gcc-$(HOST_GCC_BARE_METAL_VERSION).tar.xz > + > +HOST_GCC_BARE_METAL_LICENSE = GPL-2.0, GPL-3.0, LGPL-2.1, LGPL-3.0 > +HOST_GCC_BARE_METAL_LICENSE_FILES = COPYING COPYING3 COPYING.LIB COPYING3.LIB > + > +HOST_GCC_BARE_METAL_DEPENDENCIES = \ > + host-binutils-bare-metal \ > + host-gmp \ > + host-mpc \ > + host-mpfr \ > + host-isl > + > +# gcc doesn't support in-tree build, so we create a 'build' > +# subdirectory in the gcc sources, and build from there. > +define GCC_BARE_METAL_CONFIGURE_SYMLINK > + mkdir -p $(@D)/build > + ln -sf ../configure $(@D)/build/configure > +endef > + > +HOST_GCC_BARE_METAL_PRE_CONFIGURE_HOOKS += GCC_BARE_METAL_CONFIGURE_SYMLINK > +HOST_GCC_BARE_METAL_SUBDIR = build > + > +HOST_GCC_BARE_METAL_MAKE_OPTS = \ > + $(HOST_GCC_COMMON_MAKE_OPTS) \ > + all-gcc \ > + all-target-libgcc > + > +HOST_GCC_BARE_METAL_INSTALL_OPTS = install-gcc install-target-libgcc > + > +GCC_BARE_METAL_ARCH = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH)) From a patch sequencing perspective, this is a bit weird because BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH does not even exist yet. But I don't have a very good suggestion on how to handle this, so it's fine as is. Should the variable be named HOST_GCC_BARE_METAL_ARCH, for consistency with the other variables? > +HOST_GCC_BARE_METAL_CONF_OPTS = \ > + --target=$(GCC_BARE_METAL_ARCH)-elf \ I'm wondering if BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH shouldn't be the full tuple, instead of assuming it's also going to end in -elf. Whenever we've assumed things like this, it sometimes turned out to be wrong. So I would suggest that BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH carry the full tuple instead. > + --disable-initfini_array \ > + --disable-__cxa_atexit \ > + --disable-libstdcxx-pch \ > + --with-newlib \ > + --disable-threads \ > + --enable-plugins \ > + --with-gnu-as \ > + --disable-libitm \ > + --without-long-double-128 \ > + --without-headers \ > + --enable-languages=c \ > + --disable-multilib \ > + --with-gmp=$(HOST_DIR) \ > + --with-mpc=$(HOST_DIR) \ > + --with-mpfr=$(HOST_DIR) \ > + --with-isl=$(HOST_DIR) \ > + AR_FOR_TARGET=$(O)/host/bin/$(GCC_BARE_METAL_ARCH)-elf-ar \ > + RANLIB_FOR_TARGET=$(O)/host/bin/$(GCC_BARE_METAL_ARCH)-elf-ranlib $(HOST_DIR) instead of $(O)/host/bin Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:43:17 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:43:17 +0100 Subject: [Buildroot] [PATCH v6 03/10] package/newlib-bare-metal: new package In-Reply-To: <20231020114236.4129636-3-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-3-neal.frager@amd.com> Message-ID: <20231031134317.4ce2349e@windsurf> Hello, On Fri, 20 Oct 2023 12:42:29 +0100 Neal Frager via buildroot wrote: > diff --git a/package/newlib-bare-metal/Config.in.host b/package/newlib-bare-metal/Config.in.host > new file mode 100644 > index 0000000000..be92a1d6a6 > --- /dev/null > +++ b/package/newlib-bare-metal/Config.in.host > @@ -0,0 +1,12 @@ > +config BR2_PACKAGE_HOST_NEWLIB_BARE_METAL > + bool "host newlib-bare-metal" > + help > + Build the newlib C library for a bare-metal toolchain > + > +if BR2_PACKAGE_HOST_NEWLIB_BARE_METAL > + > +config BR2_PACKAGE_HOST_NEWLIB_BARE_METAL_VERSION > + string > + default "4.1.0" > + > +endif #BR2_PACKAGE_HOST_NEWLIB_BARE_METAL Like the other packages: this Config.in is useless, so it can be dropped. > diff --git a/package/newlib-bare-metal/newlib-bare-metal.hash b/package/newlib-bare-metal/newlib-bare-metal.hash > new file mode 100644 > index 0000000000..1a681ecf77 > --- /dev/null > +++ b/package/newlib-bare-metal/newlib-bare-metal.hash > @@ -0,0 +1,8 @@ > +# Locally calculated > +sha256 f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154 newlib-4.1.0.tar.gz > + > +# Hashes for license files locally calculated > +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING > +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB > +sha256 f3b7f3e4426b1fa6f60198dae7adfedd94b77b28db2d108adc0253575011e0ff COPYING.LIBGLOSS > +sha256 422aa40293093fb54fc66e692a0d68fd0b24ed5602e5d1d33ad05ba3909057e9 COPYING.NEWLIB > diff --git a/package/newlib-bare-metal/newlib-bare-metal.mk b/package/newlib-bare-metal/newlib-bare-metal.mk > new file mode 100644 > index 0000000000..a42e04877a > --- /dev/null > +++ b/package/newlib-bare-metal/newlib-bare-metal.mk > @@ -0,0 +1,37 @@ > +################################################################################ > +# > +# newlib-bare-metal > +# > +################################################################################ > + > +HOST_NEWLIB_BARE_METAL_VERSION = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_NEWLIB_BARE_METAL_VERSION)) > +ifeq ($(HOST_NEWLIB_BARE_METAL_VERSION),) > +HOST_NEWLIB_BARE_METAL_VERSION = 4.1.0 > +endif Just hardcode the version number. > + > +HOST_NEWLIB_BARE_METAL_SITE = ftp://sourceware.org/pub/newlib > +HOST_NEWLIB_BARE_METAL_SOURCE = newlib-$(HOST_NEWLIB_BARE_METAL_VERSION).tar.gz > +HOST_NEWLIB_BARE_METAL_DEPENDENCIES = host-gcc-bare-metal > + > +HOST_NEWLIB_BARE_METAL_LICENSE = GPL-2.0, GPL-3.0, LGPL-2.1, LGPL-3.0 > +HOST_NEWLIB_BARE_METAL_LICENSE_FILES = COPYING \ > + COPYING.LIB \ > + COPYING.LIBGLOSS \ > + COPYING.NEWLIB > + > +NEWLIB_ARCH = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH)) > + > +HOST_NEWLIB_BARE_METAL_CONF_OPTS = \ > + --target=$(NEWLIB_ARCH)-elf \ > + CC_FOR_TARGET=$(HOST_DIR)/bin/$(NEWLIB_ARCH)-elf-gcc \ > + AR_FOR_TARGET=$(HOST_DIR)/bin/$(NEWLIB_ARCH)-elf-ar \ > + RANLIB_FOR_TARGET=$(HOST_DIR)/bin/$(NEWLIB_ARCH)-elf-ranlib \ Same comment as on the gcc patch on whether BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH should carry the architecture name, or the full tuple. Preference for the latter on my side. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:51:10 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:51:10 +0100 Subject: [Buildroot] [PATCH v6 04/10] toolchain/toolchain-bare-metal-buildroot: new toolchain In-Reply-To: <20231020114236.4129636-4-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-4-neal.frager@amd.com> Message-ID: <20231031135110.3927dd18@windsurf> Hello, On Fri, 20 Oct 2023 12:42:30 +0100 Neal Frager via buildroot wrote: > diff --git a/toolchain/Config.in b/toolchain/Config.in > index d8081f1b9d..b1333f92f0 100644 > --- a/toolchain/Config.in > +++ b/toolchain/Config.in > @@ -59,6 +59,7 @@ config BR2_TOOLCHAIN_EXTERNAL > > endchoice > > +source "toolchain/toolchain-bare-metal-buildroot/Config.in" > source "toolchain/toolchain-buildroot/Config.in" > source "toolchain/toolchain-external/Config.in" I'm not really happy with where this ends up showing in menuconfig. Indeed, in menuconfig, we end up seeing something like this: Toolchain type (External toolchain) ---> [*] host toolchain-bare-metal -*- host binutils-bare-metal -*- host gcc-bare-metal -*- host newlib-bare-metal *** Toolchain External Options *** Toolchain (Bootlin toolchains) ---> So basically, right in the middle of the settings for the "normal" toolchain, we have those options about the bare-metal toolchain. Maybe something like this instead: diff --git a/toolchain/Config.in b/toolchain/Config.in index b1333f92f0..278d1de65c 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -59,7 +59,6 @@ config BR2_TOOLCHAIN_EXTERNAL endchoice -source "toolchain/toolchain-bare-metal-buildroot/Config.in" source "toolchain/toolchain-buildroot/Config.in" source "toolchain/toolchain-external/Config.in" @@ -919,4 +918,8 @@ config BR2_TOOLCHAIN_HAS_LIBQUADMATH default y if BR2_i386 || BR2_x86_64 default y if BR2_POWERPC_CPU_HAS_VSX +comment "Bare metal toolchain" + +source "toolchain/toolchain-bare-metal-buildroot/Config.in" + endmenu Basically, move it at the end of toolchain/Config.in, with a small Config.in comment separating it from the rest. > > diff --git a/toolchain/toolchain-bare-metal-buildroot/Config.in b/toolchain/toolchain-bare-metal-buildroot/Config.in > new file mode 100644 > index 0000000000..6ebf2cdf86 > --- /dev/null > +++ b/toolchain/toolchain-bare-metal-buildroot/Config.in > @@ -0,0 +1,21 @@ > +config BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT > + bool "host toolchain-bare-metal" > + select BR2_PACKAGE_HOST_BINUTILS_BARE_METAL > + select BR2_PACKAGE_HOST_GCC_BARE_METAL > + select BR2_PACKAGE_HOST_NEWLIB_BARE_METAL Those selects are no longer needed, as all those options will be gone. > + help > + Build a bare-metal toolchain in addition to the main Linux toolchain > + > +if BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT > + > +config BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH > + string This option needs to be made visible (with a prompt), otherwise nobody can chose a different architecture/tuple. > + default "microblazeel-xilinx" Is "xilinx" really relevant here? I don't think it is. I'm also wondering whether having a default value actually makes sense. It should probably just stay empty by default, and be defined by the specific defconfigs that need this? > + help > + select architecture for bare-metal toolchain > + > +source "package/binutils-bare-metal/Config.in.host" > +source "package/gcc-bare-metal/Config.in.host" > +source "package/newlib-bare-metal/Config.in.host" These file inclusions can be dropped. > +++ b/toolchain/toolchain-bare-metal-buildroot/toolchain-bare-metal-buildroot.mk > @@ -0,0 +1,7 @@ > +################################################################################ > +# > +# toolchain-bare-metal-buildroot > +# > +################################################################################ > + > +(eval $(host-virtual-package)) I'm a bit rusty with virtual packages, but I don't see where this virtual package pulls in host-newlib-bare-metal as a dependency. Don't you need: TOOLCHAIN_BARE_METAL_BUILDROOT_DEPENDENCIES = host-newlib-bare-metal to make sure you trigger the build of host-newlib-bare-metal -> host-gcc-bare-metal -> host-binutils-bare-metal ? Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:52:07 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:52:07 +0100 Subject: [Buildroot] [PATCH v6 03/10] package/newlib-bare-metal: new package In-Reply-To: <20231020114236.4129636-3-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-3-neal.frager@amd.com> Message-ID: <20231031135207.6de4a317@windsurf> On Fri, 20 Oct 2023 12:42:29 +0100 Neal Frager via buildroot wrote: > +$(eval $(host-autotools-package)) Thinking more about this, this should very likely be a target package (newlib-bare-metal) rather than a host package (host-newlib-bare-metal). Indeed, newlib is really cross-compiled for the target, it's akin to the glibc/musl/uclibc packages, but for the bare metal toolchain. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:54:19 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:54:19 +0100 Subject: [Buildroot] [PATCH v6 05/10] boot/zynqmp-firmware: new boot firmware In-Reply-To: <20231020114236.4129636-5-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-5-neal.frager@amd.com> Message-ID: <20231031135419.56b25f1c@windsurf> Hello, On Fri, 20 Oct 2023 12:42:31 +0100 Neal Frager via buildroot wrote: > diff --git a/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify-sequential-Makefiles.patch b/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify-sequential-Makefiles.patch > new file mode 100644 > index 0000000000..29c652d6ef > --- /dev/null > +++ b/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify-sequential-Makefiles.patch > @@ -0,0 +1,115 @@ > +From 23002defd462845db376425a7b7d975f3deba83d Mon Sep 17 00:00:00 2001 > +From: Neal Frager > +Date: Mon, 24 Apr 2023 12:53:25 +0100 > +Subject: [PATCH v1 1/1] pmufw: misc/Makefile: specify sequential Makefiles No patch numbering (1/1). This is normally reported by "make check-package". > +ZYNQMP_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_ZYNQMP_FIRMWARE_VERSION)) > +ZYNQMP_FIRMWARE_SITE = \ > + $(call github,Xilinx,embeddedsw,$(ZYNQMP_FIRMWARE_VERSION)) > +ZYNQMP_FIRMWARE_LICENSE = MIT > +ZYNQMP_FIRMWARE_LICENSE_FILES = license.txt > +ZYNQMP_FIRMWARE_INSTALL_IMAGES = YES > +ZYNQMP_FIRMWARE_INSTALL_TARGET = NO > +ZYNQMP_FIRMWARE_DEPENDENCIES = host-newlib-bare-metal This should be host-toolchain-bare-metal-buildroot. Otherwise your toolchain-bare-metal-buildroot virtual package is useless. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:57:10 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:57:10 +0100 Subject: [Buildroot] [PATCH v6 08/10] boot/versal-firmware: new boot firmware In-Reply-To: <20231020114236.4129636-8-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-8-neal.frager@amd.com> Message-ID: <20231031135710.7fd653b1@windsurf> Hello, On Fri, 20 Oct 2023 12:42:34 +0100 Neal Frager via buildroot wrote: > diff --git a/boot/versal-firmware/Config.in b/boot/versal-firmware/Config.in > new file mode 100644 > index 0000000000..b7ca7b866f > --- /dev/null > +++ b/boot/versal-firmware/Config.in > @@ -0,0 +1,38 @@ > +config BR2_TARGET_VERSAL_FIRMWARE > + bool "versal-firmware" > + select BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT Selecting host packages is not really needed, and this case it doesn't even really make sense because this package anyway needs to be configured to be told for which architecture the bare-metal toolchain should be compiled. > +VERSAL_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_VERSAL_FIRMWARE_VERSION)) > +VERSAL_FIRMWARE_SITE = \ > + $(call github,Xilinx,embeddedsw,$(VERSAL_FIRMWARE_VERSION)) > +VERSAL_FIRMWARE_LICENSE = MIT > +VERSAL_FIRMWARE_LICENSE_FILES = license.txt > +VERSAL_FIRMWARE_INSTALL_IMAGES = YES > +VERSAL_FIRMWARE_INSTALL_TARGET = NO > +VERSAL_FIRMWARE_DEPENDENCIES = host-newlib-bare-metal host-toolchain-bare-metal-buildroot > + > +CUSTOM_CFLAGS = $(call qstrip,$(BR2_TARGET_VERSAL_FIRMWARE_CUSTOM_CFLAGS)) Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > +VERSAL_CFLAGS = "-Os -flto -ffat-lto-objects $(CUSTOM_CFLAGS)" Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > + > +VERSAL_FIRMWARE_PDI = $(call qstrip,$(BR2_TARGET_VERSAL_FIRMWARE_PDI)) > + > +ifneq ($(findstring ://,$(VERSAL_FIRMWARE_PDI)),) > +VERSAL_FIRMWARE_EXTRA_DOWNLOADS = $(VERSAL_FIRMWARE_PDI) > +BR_NO_CHECK_HASH_FOR += $(notdir $(VERSAL_FIRMWARE_PDI)) > +PDI_PATH = $(VERSAL_FIRMWARE_DL_DIR)/$(notdir $(VERSAL_FIRMWARE_PDI)) Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > +else ifneq ($(VERSAL_FIRMWARE_PDI),) > +PDI_PATH = $(shell readlink -f $(VERSAL_FIRMWARE_PDI)) Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > +endif #VERSAL_FIRMWARE_PDI > + > +define VERSAL_FIRMWARE_BUILD_CMDS > + $(MAKE) -C $(@D)/lib/sw_apps/versal_plm/src/versal \ > + COMPILER=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc \ > + ARCHIVER=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc-ar \ > + CC=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc \ > + CFLAGS=$(VERSAL_CFLAGS) > + > + $(MAKE) -C $(@D)/lib/sw_apps/versal_psmfw/src/versal \ > + COMPILER=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc \ > + ARCHIVER=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc-ar \ > + CC=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc \ > + CFLAGS=$(VERSAL_CFLAGS) > +endef > + > +PLM_PATH = $(@D)/lib/sw_apps/versal_plm/src/versal/plm.elf > +PSMFW_PATH = $(@D)/lib/sw_apps/versal_psmfw/src/versal/psmfw.elf Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > diff --git a/boot/versal-firmware/xilinx_v2023.1/0001-sw_apps-versal_plm-add-support-of-parallel-build.patch b/boot/versal-firmware/xilinx_v2023.1/0001-sw_apps-versal_plm-add-support-of-parallel-build.patch > new file mode 100644 > index 0000000000..84fffc1d82 > --- /dev/null > +++ b/boot/versal-firmware/xilinx_v2023.1/0001-sw_apps-versal_plm-add-support-of-parallel-build.patch > @@ -0,0 +1,157 @@ > +From 245509f87776c7727973480f08ead6f293a2f3b2 Mon Sep 17 00:00:00 2001 > +From: Neal Frager > +Date: Mon, 4 Sep 2023 07:08:02 +0100 > +Subject: [PATCH 1/2] sw_apps:versal_plm: add support of parallel build No patch numbering (reported by "make check-package") > +Subject: [PATCH 2/2] sw_apps:versal_psmfw: add support of parallel build No patch numbering (reported by "make check-package") Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From peter at korsgaard.com Tue Oct 31 12:34:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 13:34:33 +0100 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: (Scott Fan's message of "Tue, 31 Oct 2023 19:08:46 +0800") References: <20231026181904.3218122-1-bernd@kuhls.net> <87o7gf1b6h.fsf@48ers.dk> <87jzr315sl.fsf@48ers.dk> Message-ID: <87fs1r0y3q.fsf@48ers.dk> >>>>> "Scott" == Scott Fan writes: > Sorry, i thought it would always follow the upstream. We normally do, but given that there is no added value for !windows, I haven't done the work to update the LTS. Normally it would be taken care of once the next update comes out with Linux fixes, but that is unlikely to happen for 1.1.1 given that it is EOL. But if you like to have 1.1.1w then that is fine by me, please send a patch. -- Bye, Peter Korsgaard From neal.frager at amd.com Tue Oct 31 13:30:15 2023 From: neal.frager at amd.com (Frager, Neal) Date: Tue, 31 Oct 2023 13:30:15 +0000 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: <8a0d97bb-2fe5-4e09-8e95-b928a431ce1e@amd.com> References: <20231018111357.2898095-1-neal.frager@amd.com> <20231031121222.1dfa4035@booty> <20231031133415.1d89db5a@windsurf> <8a0d97bb-2fe5-4e09-8e95-b928a431ce1e@amd.com> Message-ID: Hi Thomas, Luca, > Hello Neal, > > On Tue, 31 Oct 2023 12:12:47 +0000 > "Frager, Neal" wrote: > >> I do understand your point. From this perspective, we can say the >> same thing about the zynq_zed_defconfig and the >> zynq_microzed_defconfig as well. For all 4 of these zynq boards, the >> DTS definition is all that changes from one defconfig to another. >> And in all 4 cases, the only differences in the dts files are things >> like gpio LEDs, switches and whether or not there is a CAN peripheral >> on board. So you could potentially boot the same images across these >> boards. You would just lose a peripheral or two that is included in >> one dts file but not another. > > I think the discussion is not being specific enough here, so let me > provide some more background. > > If the only differences between the zc706 and zc702 defconfigs is the > Linux kernel Device Tree (and I insist on Linux kernel Device Tree, > not Device Tree for the bootloaders/firmware), then you can have a > single configuration that builds multiple Device Trees, and the > bootloader selects the right one depending on which board we're > booting on. This is exactly what happens in beaglebone_defconfig: > > BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless" > > We build multiple Linux kernel Device Trees, and the U-Boot bootloader > detects which board we boot on, and selects the right Device Tree. > > If you are in this situation, then yes we want a single defconfig. > > However, if the bootloader needs to be different on ZCU702 vs ZCU706, > and this difference is not detected at boot-time/run-time, but is > handled as a different build-time configuration, then you have no > other choice but to have 2 separate defconfigs. > I have never really get DTB U-Boot resection to work on these "old" boards. > It can be done and would work fine but the issue is that information about board is saved in eeprom which is user accessible without any RO protection. > I have seen a lot of these boards with empty eeproms that having detection mechanism based on it is not a good idea. > Another option would be use information about silicon version to differentiate between them but at the end of day it is not worth to spend time on it. > Thanks, > Michal In addition to not being able to detect which board we are running on, the zynq and zynqmp dts definitions are used to select the ps7_init or psu_init included by the spl for the target board as well. Some boards do not share the same ddr memory, such as the zcu106 revA and the zcu102 rev 1.0. So even if we were to build all of the device trees, we still need to know which board we are building for in order to have an spl which will be able to boot the target. Unfortunately, I do not see how to support the different boards outside of having an individual defconfig for each board. The remaining question is just a matter of how many zynq, zynqmp and versal defconfigs is the right amount for buildroot? I would like to be able to support the following 11 boards, if it would be ok for the buildroot community. 5 of these 11 are already included in buildroot. zynq_zc702 zynq_zc706 zynqmp_zcu102 zynqmp_zcu104 zynqmp_zcu106 zynqmp_kria_kd240 zynqmp_kria_kr260 zynqmp_kria_kv260 versal_vck190 versal_vek280 (coming next year) versal_vmk180 In exchange, I would be ok with dropping the zynq_qmtech board and possibly one of the zynq_zed boards. Best regards, Neal Frager AMD From yann.morin at orange.com Tue Oct 31 13:40:38 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Tue, 31 Oct 2023 14:40:38 +0100 Subject: [Buildroot] [PATCH] .editorconfig: add editor-agnostic configuration Message-ID: <5f5d6e6dbfc89ca509f3d73154d7e31d1b6659b5.1698759638.git.yann.morin@orange.com> From: "Yann E. MORIN" EditorConfig [0] is an editor-agnostic configuration file, to set preferences on how to edit text: tabs vs. spaces, tab width, indentation size, line endings... A large number of editors support EditorConfig, either natively [1] or with the help of plugins [2]. Add a basic .editorconfig that provides defaults for most of the files used by Buildroot. More can be added in the future if we can find more matching patterns. The values are chosen a bit arbitrarily, unless we already have a (un)written rule about it. Notably, indentation defaults to using 4 spaces, and only a set of files for which we require TABs (Makefile, essentially) or have already settled for TABs (Kconfig files, init scripts...) are configured so. The traditional width of TABs is 8 char, and we pair TAB indentation with TAB size. Trailing spaces are usually useless, except in asciidoc source where they can be used to force a new line without a new paragraph. One of the limitations of .editorconfig, tough, is that it matches on filenames (e.g. *.py), not on the content (e.g. no use of mimetype, or libmagic, or such). Still, this is enough to cover a lot of files in Buildroot. [0] https://editorconfig.org/ [1] https://editorconfig.org/#pre-installed [2] https://editorconfig.org/#download Signed-off-by: Yann E. MORIN --- .editorconfig | 29 +++++++++++++++++++++++++++++ DEVELOPERS | 1 + 2 files changed, 30 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..4acaf3486b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 4 +tab_width = 8 +trim_trailing_whitespace = true +insert_final_newline = true + +[DEVELOPERS] +indent_style = tab +indent_size = tab + +[{Config*.in*,linux/Config.ext.in}] +indent_style = tab +indent_size = tab + +[{Makefile*,*.mk}] +indent_style = tab +indent_size = tab + +[S{0..9}{0..9}*] +indent_style = tab +indent_size = tab + +[*.adoc] +trim_trailing_whitespace = false diff --git a/DEVELOPERS b/DEVELOPERS index 57015e245e..e180755fe4 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -3169,6 +3169,7 @@ F: package/zisofs-tools/ F: support/download/ N: Yann E. MORIN +F: .editorconfig F: package/gpsd/ N: Yegor Yefremov -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From fontaine.fabrice at gmail.com Tue Oct 31 14:58:30 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 31 Oct 2023 15:58:30 +0100 Subject: [Buildroot] [PATCH 1/1] package/wolfssl: security bump to version 5.6.4 Message-ID: <20231031145830.14831-1-fontaine.fabrice@gmail.com> [Medium] A fix was added, but still under review for completeness, for a Bleichenbacher style attack, leading to being able to decrypt a saved TLS connection and potentially forge a signature after probing with a large number of trial connections. This issue is around RSA decryption and affects static RSA cipher suites on the server side, which are not recommended to be used and are off by default. Static RSA cipher suites were also removed from the TLS 1.3 protocol and only present in TLS 1.2 and lower. All padding versions of RSA decrypt are affected since the code under review is outside of the padding processing. Information about the private keys is NOT compromised in affected code. It's recommended to disable static RSA cipher suites and update the version of wolfSSL used if using RSA private decryption alone outside of TLS. https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.4-stable Signed-off-by: Fabrice Fontaine --- package/wolfssl/wolfssl.hash | 2 +- package/wolfssl/wolfssl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wolfssl/wolfssl.hash b/package/wolfssl/wolfssl.hash index 3407586edd..fb5a570de8 100644 --- a/package/wolfssl/wolfssl.hash +++ b/package/wolfssl/wolfssl.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 2e74a397fa797c2902d7467d500de904907666afb4ff80f6464f6efd5afb114a wolfssl-5.6.3.tar.gz +sha256 031691906794ff45e1e792561cf31759f5d29ac74936bc8dffb8b14f16d820b4 wolfssl-5.6.4.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/wolfssl/wolfssl.mk b/package/wolfssl/wolfssl.mk index 9b35a6a84a..17452fdcaf 100644 --- a/package/wolfssl/wolfssl.mk +++ b/package/wolfssl/wolfssl.mk @@ -4,7 +4,7 @@ # ################################################################################ -WOLFSSL_VERSION = 5.6.3 +WOLFSSL_VERSION = 5.6.4 WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)-stable) WOLFSSL_INSTALL_STAGING = YES -- 2.42.0 From tianyuanhao3 at 163.com Tue Oct 31 15:50:29 2023 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Tue, 31 Oct 2023 15:50:29 +0000 Subject: [Buildroot] [PATCH 1/1] package/tini: move docker-init to /usr/libexec/docker/ Message-ID: <20231031155029.2689-1-tianyuanhao3@163.com> The docker-init is not intended to be a user-facing command, and as such it is more appropriate for it to be found in /usr/libexec/ than in $PATH. See: https://github.com/moby/moby/commit/6caaa8cadc9e4f1e122b7b2bb4451500bbec6086 https://github.com/docker/docker-ce-packaging/commit/5a998af6f53d978810aa6f5b566a484911ff4ca2 Signed-off-by: TIAN Yuanhao --- package/tini/tini.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/tini/tini.mk b/package/tini/tini.mk index 9da54f8a25..75b6786cfb 100644 --- a/package/tini/tini.mk +++ b/package/tini/tini.mk @@ -31,7 +31,8 @@ endef define TINI_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini - ln -sf tini $(TARGET_DIR)/usr/bin/docker-init + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/libexec/docker + ln -sf ../../bin/tini $(TARGET_DIR)/usr/libexec/docker/docker-init endef # Tini's CMakeLists.txt is not suitable for Buildroot. -- 2.34.1 From peter at korsgaard.com Tue Oct 31 16:39:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 17:39:36 +0100 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: (Neal Frager's message of "Tue, 31 Oct 2023 13:30:15 +0000") References: <20231018111357.2898095-1-neal.frager@amd.com> <20231031121222.1dfa4035@booty> <20231031133415.1d89db5a@windsurf> <8a0d97bb-2fe5-4e09-8e95-b928a431ce1e@amd.com> Message-ID: <87bkce21br.fsf@48ers.dk> >>>>> "Frager," == Frager, Neal writes: Hi, > The remaining question is just a matter of how many zynq, zynqmp and > versal defconfigs is the right amount for buildroot? I would like to > be able to support the following 11 boards, if it would be ok for the > buildroot community. 5 of these 11 are already included in > buildroot. > zynq_zc702 > zynq_zc706 > zynqmp_zcu102 > zynqmp_zcu104 > zynqmp_zcu106 > zynqmp_kria_kd240 > zynqmp_kria_kr260 > zynqmp_kria_kv260 > versal_vck190 > versal_vek280 (coming next year) > versal_vmk180 > In exchange, I would be ok with dropping the zynq_qmtech board and > possibly one of the zynq_zed > boards. I think the main issue with a lot of defconfigs is maintaining them (but you already do that) and the CI overhead from building all of them. I guess we could come up with some logic to skip some of the zynq* defconfigs from the Gitlab CI setup. Romain, any good ideas? -- Bye, Peter Korsgaard From aolvolk at salutedevices.com Tue Oct 31 17:24:15 2023 From: aolvolk at salutedevices.com (Alisa Volk) Date: Tue, 31 Oct 2023 20:24:15 +0300 Subject: [Buildroot] [PATCH] package/libcurl: introduce option to enable WebSockets support Message-ID: <20231031172415.18496-1-aolvolk@salutedevices.com> Signed-off-by: Alisa Volk --- package/libcurl/Config.in | 6 ++++++ package/libcurl/libcurl.mk | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in index 218309ed56..154215e17e 100644 --- a/package/libcurl/Config.in +++ b/package/libcurl/Config.in @@ -31,6 +31,12 @@ config BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT help Enable support for cookies. +config BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT + bool "websockets support" + default n + help + Enable support for websockets. + config BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES bool "enable extra protocols and features" default y diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index f2c679f162..be85ffa35a 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -152,6 +152,12 @@ else LIBCURL_CONF_OPTS += --disable-proxy endif +ifeq ($(BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT),y) +LIBCURL_CONF_OPTS += --enable-websockets +else +LIBCURL_CONF_OPTS += --disable-websockets +endif + ifeq ($(BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES),y) LIBCURL_CONF_OPTS += \ --enable-dict \ -- From peter at korsgaard.com Tue Oct 31 18:02:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 19:02:57 +0100 Subject: [Buildroot] [git commit] package/wolfssl: security bump to version 5.6.4 Message-ID: <20231031180340.CB50186139@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c4658ede712305455eaf72a67a74509d4434a46a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master [Medium] A fix was added, but still under review for completeness, for a Bleichenbacher style attack, leading to being able to decrypt a saved TLS connection and potentially forge a signature after probing with a large number of trial connections. This issue is around RSA decryption and affects static RSA cipher suites on the server side, which are not recommended to be used and are off by default. Static RSA cipher suites were also removed from the TLS 1.3 protocol and only present in TLS 1.2 and lower. All padding versions of RSA decrypt are affected since the code under review is outside of the padding processing. Information about the private keys is NOT compromised in affected code. It's recommended to disable static RSA cipher suites and update the version of wolfSSL used if using RSA private decryption alone outside of TLS. https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.4-stable Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/wolfssl/wolfssl.hash | 2 +- package/wolfssl/wolfssl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wolfssl/wolfssl.hash b/package/wolfssl/wolfssl.hash index 3407586edd..fb5a570de8 100644 --- a/package/wolfssl/wolfssl.hash +++ b/package/wolfssl/wolfssl.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 2e74a397fa797c2902d7467d500de904907666afb4ff80f6464f6efd5afb114a wolfssl-5.6.3.tar.gz +sha256 031691906794ff45e1e792561cf31759f5d29ac74936bc8dffb8b14f16d820b4 wolfssl-5.6.4.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/wolfssl/wolfssl.mk b/package/wolfssl/wolfssl.mk index 9b35a6a84a..17452fdcaf 100644 --- a/package/wolfssl/wolfssl.mk +++ b/package/wolfssl/wolfssl.mk @@ -4,7 +4,7 @@ # ################################################################################ -WOLFSSL_VERSION = 5.6.3 +WOLFSSL_VERSION = 5.6.4 WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)-stable) WOLFSSL_INSTALL_STAGING = YES From peter at korsgaard.com Tue Oct 31 18:02:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 19:02:45 +0100 Subject: [Buildroot] [git commit] package/xen: security bump to version 4.14.6 Message-ID: <20231031180340.BB82486270@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=957e2d2ffd94aa51f043c75ff0adf8453127b1ab branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Includes a number of bugfixes and the security fixes up to xsa-436: https://xenproject.org/downloads/xen-project-archives/xen-project-4-14-series/xen-project-4-14-6/ Signed-off-by: Peter Korsgaard Reviewed-by: Alistair Francis Signed-off-by: Peter Korsgaard --- package/xen/xen.hash | 2 +- package/xen/xen.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xen/xen.hash b/package/xen/xen.hash index 5637f0e8d9..d2350ac515 100644 --- a/package/xen/xen.hash +++ b/package/xen/xen.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a1a24092ad14658eed420b7d56b67d0d9d5b314e96c30a799b45f3a721f98bf0 xen-4.14.5.tar.gz +sha256 7917681bc6e744789815131fcf7799e6b83a0d45b5801ac654322b037ce472f8 xen-4.14.6.tar.gz sha256 ecca9538e9d3f7e3c2bff827502f4495e2ef9e22c451298696ea08886b176c2c COPYING diff --git a/package/xen/xen.mk b/package/xen/xen.mk index 169753e89f..651442cfdf 100644 --- a/package/xen/xen.mk +++ b/package/xen/xen.mk @@ -4,7 +4,7 @@ # ################################################################################ -XEN_VERSION = 4.14.5 +XEN_VERSION = 4.14.6 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) XEN_LICENSE = GPL-2.0 XEN_LICENSE_FILES = COPYING From peter at korsgaard.com Tue Oct 31 18:03:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 19:03:46 +0100 Subject: [Buildroot] [PATCH] package/xen: security bump to version 4.14.6 In-Reply-To: <20231030142153.645962-1-peter@korsgaard.com> (Peter Korsgaard's message of "Mon, 30 Oct 2023 15:21:53 +0100") References: <20231030142153.645962-1-peter@korsgaard.com> Message-ID: <877cn21xfh.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Includes a number of bugfixes and the security fixes up to xsa-436: > https://xenproject.org/downloads/xen-project-archives/xen-project-4-14-series/xen-project-4-14-6/ > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Oct 31 18:04:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 19:04:17 +0100 Subject: [Buildroot] [PATCH 1/1] package/wolfssl: security bump to version 5.6.4 In-Reply-To: <20231031145830.14831-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 31 Oct 2023 15:58:30 +0100") References: <20231031145830.14831-1-fontaine.fabrice@gmail.com> Message-ID: <8734xq1xem.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > [Medium] A fix was added, but still under review for completeness, for a > Bleichenbacher style attack, leading to being able to decrypt a saved > TLS connection and potentially forge a signature after probing with a > large number of trial connections. This issue is around RSA decryption > and affects static RSA cipher suites on the server side, which are not > recommended to be used and are off by default. Static RSA cipher suites > were also removed from the TLS 1.3 protocol and only present in TLS 1.2 > and lower. All padding versions of RSA decrypt are affected since the > code under review is outside of the padding processing. Information > about the private keys is NOT compromised in affected code. It's > recommended to disable static RSA cipher suites and update the version > of wolfSSL used if using RSA private decryption alone outside of TLS. > https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.4-stable > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From neal.frager at amd.com Tue Oct 31 19:07:29 2023 From: neal.frager at amd.com (Frager, Neal) Date: Tue, 31 Oct 2023 19:07:29 +0000 Subject: [Buildroot] [PATCH v6 05/10] boot/zynqmp-firmware: new boot firmware In-Reply-To: <20231031135419.56b25f1c@windsurf> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-5-neal.frager@amd.com> <20231031135419.56b25f1c@windsurf> Message-ID: Hello Thomas, > diff --git > a/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify > -sequential-Makefiles.patch > b/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify > -sequential-Makefiles.patch > new file mode 100644 > index 0000000000..29c652d6ef > --- /dev/null > +++ b/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-spe > +++ cify-sequential-Makefiles.patch > @@ -0,0 +1,115 @@ > +From 23002defd462845db376425a7b7d975f3deba83d Mon Sep 17 00:00:00 > +2001 > +From: Neal Frager > +Date: Mon, 24 Apr 2023 12:53:25 +0100 > +Subject: [PATCH v1 1/1] pmufw: misc/Makefile: specify sequential > +Makefiles > No patch numbering (1/1). This is normally reported by "make check-package". Ok. Done. > +ZYNQMP_FIRMWARE_VERSION = $(call > +qstrip,$(BR2_TARGET_ZYNQMP_FIRMWARE_VERSION)) > +ZYNQMP_FIRMWARE_SITE = \ > + $(call github,Xilinx,embeddedsw,$(ZYNQMP_FIRMWARE_VERSION)) > +ZYNQMP_FIRMWARE_LICENSE = MIT > +ZYNQMP_FIRMWARE_LICENSE_FILES = license.txt > +ZYNQMP_FIRMWARE_INSTALL_IMAGES = YES ZYNQMP_FIRMWARE_INSTALL_TARGET = > +NO ZYNQMP_FIRMWARE_DEPENDENCIES = host-newlib-bare-metal > This should be host-toolchain-bare-metal-buildroot. Otherwise your toolchain-bare-metal-buildroot virtual package is useless. When I do this, I am stuck with the following message: make: *** No rule to make target 'toolchain-bare-metal-buildroot', needed by '/buildroot/output/build/zynqmp-firmware-xilinx_v2023.1/.stamp_configured'. Stop. I also tried with host-toolchain-bare-metal-buildroot: make: *** No rule to make target 'host-toolchain-bare-metal-buildroot', needed by '/buildroot/output/build/zynqmp-firmware-xilinx_v2023.1/.stamp_configured'. Stop. I had this problem before which is why I solved it by just bypassing the dependency straight to newlib-bare-metal. Any ideas what the virtual package is missing? Best regards, Neal Frager AMD From bugzilla at busybox.net Tue Oct 31 20:30:04 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 31 Oct 2023 20:30:04 +0000 Subject: [Buildroot] [Bug 15835] Incompatibility between network-manager and libcurl 8.4 In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15835 Yann E. MORIN changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yann.morin.1998 at free.fr --- Comment #1 from Yann E. MORIN --- chhitz, All, Thanks for the report. > Applying the path from above mentioned issue to network-manager fixes the issue Can you send a patch doing that, tio the mailing list, please? Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From yann.morin.1998 at free.fr Tue Oct 31 20:41:49 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 21:41:49 +0100 Subject: [Buildroot] [git commit] package/tini: move docker-init to /usr/libexec/docker/ Message-ID: <20231031204207.C88BE86277@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9705d300266d9b0332f898b2517fad67b586e9d6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The docker-init is not intended to be a user-facing command, and as such it is more appropriate for it to be found in /usr/libexec/ than in $PATH. See: https://github.com/moby/moby/commit/6caaa8cadc9e4f1e122b7b2bb4451500bbec6086 https://github.com/docker/docker-ce-packaging/commit/5a998af6f53d978810aa6f5b566a484911ff4ca2 Signed-off-by: TIAN Yuanhao [yann.morin.1998 at free.fr: use mkdir -p, not install -d] Signed-off-by: Yann E. MORIN --- package/tini/tini.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/tini/tini.mk b/package/tini/tini.mk index 9da54f8a25..aa8e259db2 100644 --- a/package/tini/tini.mk +++ b/package/tini/tini.mk @@ -31,7 +31,8 @@ endef define TINI_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini - ln -sf tini $(TARGET_DIR)/usr/bin/docker-init + mkdir -p $(TARGET_DIR)/usr/libexec/docker + ln -sf ../../bin/tini $(TARGET_DIR)/usr/libexec/docker/docker-init endef # Tini's CMakeLists.txt is not suitable for Buildroot. From yann.morin.1998 at free.fr Tue Oct 31 20:42:50 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 21:42:50 +0100 Subject: [Buildroot] [PATCH 1/1] package/tini: move docker-init to /usr/libexec/docker/ In-Reply-To: <20231031155029.2689-1-tianyuanhao3@163.com> References: <20231031155029.2689-1-tianyuanhao3@163.com> Message-ID: <20231031204250.GA2568@scaer> Yuanhao, All, On 2023-10-31 15:50 +0000, TIAN Yuanhao spake thusly: > The docker-init is not intended to be a user-facing command, and as such > it is more appropriate for it to be found in /usr/libexec/ than in $PATH. > > See: > https://github.com/moby/moby/commit/6caaa8cadc9e4f1e122b7b2bb4451500bbec6086 > https://github.com/docker/docker-ce-packaging/commit/5a998af6f53d978810aa6f5b566a484911ff4ca2 > > Signed-off-by: TIAN Yuanhao > --- > package/tini/tini.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/tini/tini.mk b/package/tini/tini.mk > index 9da54f8a25..75b6786cfb 100644 > --- a/package/tini/tini.mk > +++ b/package/tini/tini.mk > @@ -31,7 +31,8 @@ endef > > define TINI_INSTALL_TARGET_CMDS > $(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini > - ln -sf tini $(TARGET_DIR)/usr/bin/docker-init > + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/libexec/docker Although what you did is correct, we usually use plain mkdir -p to create directories, so I've changed that. Applied to master, thanks. Regards, Yann E. MORIN. > + ln -sf ../../bin/tini $(TARGET_DIR)/usr/libexec/docker/docker-init > endef > > # Tini's CMakeLists.txt is not suitable for Buildroot. > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 31 20:49:08 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 21:49:08 +0100 Subject: [Buildroot] [PATCH] package/libcurl: introduce option to enable WebSockets support In-Reply-To: <20231031172415.18496-1-aolvolk@salutedevices.com> References: <20231031172415.18496-1-aolvolk@salutedevices.com> Message-ID: <20231031204908.GB2568@scaer> Alisa, All, On 2023-10-31 20:24 +0300, Alisa Volk via buildroot spake thusly: > Signed-off-by: Alisa Volk > --- > package/libcurl/Config.in | 6 ++++++ > package/libcurl/libcurl.mk | 6 ++++++ > 2 files changed, 12 insertions(+) > > diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in > index 218309ed56..154215e17e 100644 > --- a/package/libcurl/Config.in > +++ b/package/libcurl/Config.in > @@ -31,6 +31,12 @@ config BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT > help > Enable support for cookies. > > +config BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT > + bool "websockets support" > + default n The default is already 'n', so there is no need to state so. Applied to master with the above fixed, thanks. Regards, Yann E. MORIN. > + help > + Enable support for websockets. > + > config BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES > bool "enable extra protocols and features" > default y > diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > index f2c679f162..be85ffa35a 100644 > --- a/package/libcurl/libcurl.mk > +++ b/package/libcurl/libcurl.mk > @@ -152,6 +152,12 @@ else > LIBCURL_CONF_OPTS += --disable-proxy > endif > > +ifeq ($(BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT),y) > +LIBCURL_CONF_OPTS += --enable-websockets > +else > +LIBCURL_CONF_OPTS += --disable-websockets > +endif > + > ifeq ($(BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES),y) > LIBCURL_CONF_OPTS += \ > --enable-dict \ > -- > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 31 20:47:28 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 21:47:28 +0100 Subject: [Buildroot] [git commit] package/libcurl: introduce option to enable WebSockets support Message-ID: <20231031204918.E24E18627E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6e000dba5f050b1e1fb32352e722a209b9be94c9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Alisa Volk [yann.morin.1998 at free.fr: drop "default n"] Signed-off-by: Yann E. MORIN --- package/libcurl/Config.in | 5 +++++ package/libcurl/libcurl.mk | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in index adab1ca3e6..0e52bc69c2 100644 --- a/package/libcurl/Config.in +++ b/package/libcurl/Config.in @@ -31,6 +31,11 @@ config BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT help Enable support for cookies. +config BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT + bool "websockets support" + help + Enable support for websockets. + config BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES bool "enable extra protocols and features" default y diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index bd331a55aa..2c87821a48 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -154,6 +154,12 @@ else LIBCURL_CONF_OPTS += --disable-proxy endif +ifeq ($(BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT),y) +LIBCURL_CONF_OPTS += --enable-websockets +else +LIBCURL_CONF_OPTS += --disable-websockets +endif + ifeq ($(BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES),y) LIBCURL_CONF_OPTS += \ --enable-dict \ From yann.morin.1998 at free.fr Tue Oct 31 21:14:42 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 22:14:42 +0100 Subject: [Buildroot] [PATCH] configs/friendlyarm_nanopi_neo2_defconfig: new board In-Reply-To: <20231031084936.2397858-1-fancp2007@gmail.com> References: <20231031084936.2397858-1-fancp2007@gmail.com> Message-ID: <20231031211442.GC2568@scaer> Scott, All, On 2023-10-31 16:49 +0800, Scott Fan spake thusly: > Add support for the FriendlyARM NanoPi NEO2 with mainline components: > - U-Boot 2023.10 > - Linux 6.1.60 Funny, we removed a defconfig for that board a year ago, almost day-for-day: 24bb61071269 configs/friendlyarm_nanopi_neo2: remove defconfig It's OK to re-add a new, fixed defconfig, though! > Board's wiki page: > - https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO2 > > Signed-off-by: Scott Fan > --- [--SNIP--] > diff --git a/board/friendlyarm/nanopi-neo2/post-build.sh b/board/friendlyarm/nanopi-neo2/post-build.sh > new file mode 100755 > index 0000000000..0ee47013f1 > --- /dev/null > +++ b/board/friendlyarm/nanopi-neo2/post-build.sh > @@ -0,0 +1,8 @@ > +#!/bin/sh > + > +BOARD_DIR="$(dirname $0)" $ ./utils-docker-run make check-package board/friendlyarm/nanopi-neo2/post-build.sh:0: run 'shellcheck' and fix the warnings $ ./utils/docker-run shellcheck board/friendlyarm/nanopi-neo2/post-build.sh In board/friendlyarm/nanopi-neo2/post-build.sh line 3: BOARD_DIR="$(dirname $0)" ^-- SC2086: Double quote to prevent globbing and word splitting. > diff --git a/board/friendlyarm/nanopi-neo2/readme.txt b/board/friendlyarm/nanopi-neo2/readme.txt > new file mode 100644 > index 0000000000..50795a1cfb > --- /dev/null > +++ b/board/friendlyarm/nanopi-neo2/readme.txt > @@ -0,0 +1,34 @@ [--SNIP--] > + $ sudo dd if=output/images/sdcard.img of=/dev/sdX > + $ sudo sync No need for sudo to run sync [--SNIP--] > diff --git a/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch b/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch > new file mode 100644 > index 0000000000..b2edd9fb37 > --- /dev/null > +++ b/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch $ ./utils-docker-run make check-package board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch:0: use name -.patch (http://nightly.buildroot.org/#_providing_patches) board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch:0: missing Signed-off-by in the header (http://nightly.buildroot.org/#_format_and_licensing_of_the_package_patches) board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch:0: missing Upstream in the header (http://nightly.buildroot.org/#_additional_patch_documentation) Also, you need to provide a git-formatted patch, with a proper subject, a proper commit log, and as reported above, your signed-off, and the upstream status of this patch. [--SNIP--] > diff --git a/configs/friendlyarm_nanopi_neo2_defconfig b/configs/friendlyarm_nanopi_neo2_defconfig > new file mode 100644 > index 0000000000..a88bf8957c > --- /dev/null > +++ b/configs/friendlyarm_nanopi_neo2_defconfig > @@ -0,0 +1,48 @@ > +BR2_aarch64=y > +BR2_cortex_a53=y > +BR2_ARM_FPU_VFPV4=y > + > +# Linux headers same as kernel, a 6.1 series > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y > + > +# Firmware > +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y > +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" > +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y ATF is a bootloader, and as such, we want to use a pinned version, not the latest one, so as for uboot: BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE=v2.7 Care to fix all of those, and respin, please? Regards, Yann E. MORIN. > +# Bootloader > +BR2_TARGET_UBOOT=y > +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > +BR2_TARGET_UBOOT_CUSTOM_VERSION=y > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" > +BR2_TARGET_UBOOT_PATCH="board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch" > +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo2" > +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment" > +BR2_TARGET_UBOOT_NEEDS_DTC=y > +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y > +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y > +BR2_TARGET_UBOOT_FORMAT_ITB=y > +BR2_TARGET_UBOOT_SPL=y > +BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" > +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" > + > +# Kernel > +BR2_LINUX_KERNEL=y > +BR2_LINUX_KERNEL_CUSTOM_VERSION=y > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.60" > +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y > +BR2_LINUX_KERNEL_DTS_SUPPORT=y > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-nanopi-neo2" > +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y > + > +# Filesystem > +BR2_TARGET_GENERIC_ISSUE="Welcome to FriendlyARM NanoPi NEO2" > +BR2_TARGET_ROOTFS_EXT2=y > +BR2_TARGET_ROOTFS_EXT2_4=y > +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" > +BR2_PACKAGE_HOST_DOSFSTOOLS=y > +BR2_PACKAGE_HOST_GENIMAGE=y > +BR2_PACKAGE_HOST_MTOOLS=y > +BR2_ROOTFS_POST_BUILD_SCRIPT="board/friendlyarm/nanopi-neo2/post-build.sh" > +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" > +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-neo2/genimage.cfg" > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 31 21:27:43 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 22:27:43 +0100 Subject: [Buildroot] [PATCH] configs/friendlyarm_nanopi_neo2_defconfig: new board In-Reply-To: <20231031211442.GC2568@scaer> References: <20231031084936.2397858-1-fancp2007@gmail.com> <20231031211442.GC2568@scaer> Message-ID: <20231031212743.GD2568@scaer> Scott, All, On 2023-10-31 22:14 +0100, Yann E. MORIN spake thusly: > On 2023-10-31 16:49 +0800, Scott Fan spake thusly: > > Add support for the FriendlyARM NanoPi NEO2 with mainline components: > $ ./utils-docker-run make check-package That should have been: ./utils/docker-run Sorry for the noise... Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From brandon.maier at collins.com Tue Oct 31 22:57:51 2023 From: brandon.maier at collins.com (Brandon Maier) Date: Tue, 31 Oct 2023 22:57:51 +0000 Subject: [Buildroot] [PATCH 1/1] freeradius-server: enable default modules mschap and realm Message-ID: <20231031225751.35130-1-brandon.maier@collins.com> From: Kalpesh Panchal "mschap" and "realm" are already part of default required raddb modules(DEFAULT_MODULES in raddb/all.mk). so removed them from disabled module list so that radiusd.service can start without following errors: - /etc/raddb/mods-enabled/mschap[11]: Failed to link to module 'rlm_mschap': /usr/lib/rlm_mschap.so - /etc/raddb/mods-enabled/realm[21]: Failed to link to module 'rlm_realm': /usr/lib/rlm_realm.so Signed-off-by: Kalpesh Panchal Signed-off-by: Brandon Maier --- package/freeradius-server/freeradius-server.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/freeradius-server/freeradius-server.mk b/package/freeradius-server/freeradius-server.mk index af3320eb44..125427c9e2 100644 --- a/package/freeradius-server/freeradius-server.mk +++ b/package/freeradius-server/freeradius-server.mk @@ -45,9 +45,7 @@ FREERADIUS_SERVER_CONF_OPTS += \ FREERADIUS_SERVER_CONF_OPTS += \ --without-rlm_eap_ike \ --without-rlm_eap_tnc \ - --without-rlm_mschap \ --without-rlm_perl \ - --without-rlm_realm \ --without-rlm_sql_iodbc \ --without-rlm_sql_oracle \ --without-rlm_sql_freetds \ -- 2.41.0 From brandon.maier at collins.com Tue Oct 31 23:03:36 2023 From: brandon.maier at collins.com (Brandon Maier) Date: Tue, 31 Oct 2023 23:03:36 +0000 Subject: [Buildroot] [PATCH 1/1] aufs-util: fix build error for missing linux header Message-ID: <20231031230336.51110-1-brandon.maier@collins.com> From: Kalpesh Panchal added missing linux header path to fix below build error: - $(LINUX_DIR)/include/uapi/linux/stddef.h:5:10:fatal error: linux/compiler_types.h: No such file or directory Signed-off-by: Kalpesh Panchal Signed-off-by: Brandon Maier --- package/aufs-util/aufs-util.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index 32f3bca151..c334b8c014 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -21,11 +21,13 @@ AUFS_UTIL_DEPENDENCIES = linux AUFS_UTIL_HOST_CPPFLAGS = \ $(HOST_CPPFLAGS) \ -I$(LINUX_DIR)/include/uapi \ + -I$(LINUX_DIR)/include \ -D__user= AUFS_UTIL_CPPFLAGS = \ $(TARGET_CPPFLAGS) \ -I$(LINUX_DIR)/include/uapi \ + -I$(LINUX_DIR)/include \ -D__user= # rdu64 is supposed to provide the LFS variant of readdir(), -- 2.41.0 From brandon.maier at collins.com Tue Oct 31 23:07:09 2023 From: brandon.maier at collins.com (Brandon Maier) Date: Tue, 31 Oct 2023 23:07:09 +0000 Subject: [Buildroot] [PATCH 1/1] package/libgdiplus: bump to version 6.1 Message-ID: <20231031230709.60348-1-brandon.maier@collins.com> From: Kalpesh Panchal - bump to version 6.1 - updated makefile to download source from https://download.mono-project.com/sources/libgdiplus/ instead of github to avoid submodule build error from ./update_submodules.sh Signed-off-by: Kalpesh Panchal Signed-off-by: Brandon Maier --- package/libgdiplus/libgdiplus.hash | 2 +- package/libgdiplus/libgdiplus.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libgdiplus/libgdiplus.hash b/package/libgdiplus/libgdiplus.hash index 11cacc13f6..f6a9b5eaf7 100644 --- a/package/libgdiplus/libgdiplus.hash +++ b/package/libgdiplus/libgdiplus.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 1fd034f4b636214cc24e94c563cd10b3f3444d9f0660927b60e63fd4131d97fa libgdiplus-6.0.5.tar.gz +sha256 97d5a83d6d6d8f96c27fb7626f4ae11d3b38bc88a1726b4466aeb91451f3255b libgdiplus-6.1.tar.gz sha256 81317bf837e02a116dc20b032fa1d0cbf9ec357621f141ff2c2daf26c17cbb5d LICENSE diff --git a/package/libgdiplus/libgdiplus.mk b/package/libgdiplus/libgdiplus.mk index 97cb595c71..128270e0d7 100644 --- a/package/libgdiplus/libgdiplus.mk +++ b/package/libgdiplus/libgdiplus.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBGDIPLUS_VERSION = 6.0.5 -LIBGDIPLUS_SITE = $(call github,mono,libgdiplus,$(LIBGDIPLUS_VERSION)) +LIBGDIPLUS_VERSION = 6.1 +LIBGDIPLUS_SITE = https://download.mono-project.com/sources/libgdiplus LIBGDIPLUS_LICENSE = MIT LIBGDIPLUS_LICENSE_FILES = LICENSE -- 2.41.0 From takumiiinn at gmail.com Sun Oct 1 03:11:34 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 12:11:34 +0900 Subject: [Buildroot] [PATCH] package/python-pygments: support host package In-Reply-To: <20230930214108.387cefce@windsurf> References: <20230930190610.752987-1-takumiiinn@gmail.com> <20230930214108.387cefce@windsurf> Message-ID: Hello Thomas. Thank you for your review. > However, could you clarify on why you need a host variant of this > package, and how it gets used? > > Also, we require all patches to have a Signed-off-by line from their > author. Without this, we cannot apply patches that are contributed. > Could you send a new version that (1) has an explanation of why you > need a host package and what uses it and (2) has your Signed-off-by > line? (1) The reason this patch is needed is because gtk-doc requires pygments. The final goal is to submit a patch for lightdm, but since gtk-doc is required to build lightdm, pygments will also be required. Should I include the above reason in the commit log? I would appreciate any additional advice. (2) Sorry, I forgot to include `Signed-off-by`. Next version will include `Signed-off-by`. Thank you. Takumi 2023?10?1?(?) 4:41 Thomas Petazzoni : > > Hello Takumi, > > On Sun, 1 Oct 2023 04:06:10 +0900 > Takumi Takahashi wrote: > > > --- > > package/python-pygments/python-pygments.mk | 1 + > > 1 file changed, 1 insertion(+) > > Thanks for your patch. > > However, could you clarify on why you need a host variant of this > package, and how it gets used? > > Also, we require all patches to have a Signed-off-by line from their > author. Without this, we cannot apply patches that are contributed. > Could you send a new version that (1) has an explanation of why you > need a host package and what uses it and (2) has your Signed-off-by > line? > > Best regards, > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com From takumiiinn at gmail.com Sun Oct 1 03:29:44 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 12:29:44 +0900 Subject: [Buildroot] [PATCH] package/python-pygments: support host package Message-ID: <20231001032945.12820-1-takumiiinn@gmail.com> The reason this patch is needed is because gtk-doc requires pygments. The final goal is to submit a patch for lightdm, but since gtk-doc is required to build lightdm, pygments will also be required. Signed-off-by: Takumi Takahashi --- package/python-pygments/python-pygments.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-pygments/python-pygments.mk b/package/python-pygments/python-pygments.mk index f151f0061b..e6d5ba25f5 100644 --- a/package/python-pygments/python-pygments.mk +++ b/package/python-pygments/python-pygments.mk @@ -14,3 +14,4 @@ PYTHON_PYGMENTS_CPE_ID_PRODUCT = pygments PYTHON_PYGMENTS_SETUP_TYPE = setuptools $(eval $(python-package)) +$(eval $(host-python-package)) -- 2.42.0 From takumiiinn at gmail.com Sun Oct 1 03:37:20 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 12:37:20 +0900 Subject: [Buildroot] [PATCH] package/python-pygments: support host package In-Reply-To: <20231001032945.12820-1-takumiiinn@gmail.com> References: <20231001032945.12820-1-takumiiinn@gmail.com> Message-ID: Sorry, I'm not familiar with Git operations and forgot to add the patch version. Give the new patch version and submit again. 2023?10?1?(?) 12:29 Takumi Takahashi : > > The reason this patch is needed is because gtk-doc requires pygments. > The final goal is to submit a patch for lightdm, but since gtk-doc is > required to build lightdm, pygments will also be required. > > Signed-off-by: Takumi Takahashi > --- > package/python-pygments/python-pygments.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/python-pygments/python-pygments.mk b/package/python-pygments/python-pygments.mk > index f151f0061b..e6d5ba25f5 100644 > --- a/package/python-pygments/python-pygments.mk > +++ b/package/python-pygments/python-pygments.mk > @@ -14,3 +14,4 @@ PYTHON_PYGMENTS_CPE_ID_PRODUCT = pygments > PYTHON_PYGMENTS_SETUP_TYPE = setuptools > > $(eval $(python-package)) > +$(eval $(host-python-package)) > -- > 2.42.0 > From takumiiinn at gmail.com Sun Oct 1 03:42:46 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 12:42:46 +0900 Subject: [Buildroot] [PATCH v2] package/python-pygments: support host package In-Reply-To: <20230930190610.752987-1-takumiiinn@gmail.com> References: <20230930190610.752987-1-takumiiinn@gmail.com> Message-ID: <20231001034247.14022-1-takumiiinn@gmail.com> The reason this patch is needed is because gtk-doc requires pygments. The final goal is to submit a patch for lightdm, but since gtk-doc is required to build lightdm, pygments will also be required. Signed-off-by: Takumi Takahashi --- package/python-pygments/python-pygments.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-pygments/python-pygments.mk b/package/python-pygments/python-pygments.mk index f151f0061b..e6d5ba25f5 100644 --- a/package/python-pygments/python-pygments.mk +++ b/package/python-pygments/python-pygments.mk @@ -14,3 +14,4 @@ PYTHON_PYGMENTS_CPE_ID_PRODUCT = pygments PYTHON_PYGMENTS_SETUP_TYPE = setuptools $(eval $(python-package)) +$(eval $(host-python-package)) -- 2.42.0 From james.hilliard1 at gmail.com Sun Oct 1 04:05:27 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 30 Sep 2023 22:05:27 -0600 Subject: [Buildroot] package/pkg-python.mk: refactor setup-type variables In-Reply-To: <20230930221727.1458825-1-arnout@mind.be> References: <20230930221727.1458825-1-arnout@mind.be> Message-ID: On Sat, Sep 30, 2023 at 4:17?PM Arnout Vandecappelle wrote: > > Most of the python-package infrastructure consists of a big conditional > tree that sets various variables based on the package's setup type. > Initially, this was quite OK, but since we have 7 different setup types > now, some of which share some variables with others, it's becoming quite > complicated and hard to read. It might be a good idea to apply my setuptools pep517 patch first which simplifies things a bit by largely combining the setuptools setup type with pep517 builds. https://patchwork.ozlabs.org/project/buildroot/patch/20230930152517.1077576-3-james.hilliard1 at gmail.com/ We can probably drop distutils setup type as well as we should be able to instead just use setuptools for any packages using that. > > This patch series refactors it so that the inner-python-package doesn't > dispatch the setup type through a conditional tree, but instead does it > with variable indirection, i.e. by using variables like > $(PKG_PYTHON_$($(PKG)_SETUP_TYPE_UPPER)_ENV) > > The rist two patches are simple cleanups, removing variables that are > not really needed. > > The third patch is a preparatory one that splits the build commands for > target and host builds. This is necessary because we need to use > different variables for the two, i.e. HOST_PKG_PYTHON_* for host build. > > The fourth and fifth patch each replace one variable from the > conditional tree with an indirectly addressed one. > > The following three patches are needed because the ninth patch removes > the PKG_PYTHON_*_OPTS variables, which were used in 3 packages. It is in > fact not strictly needed to remove those variables, but IMHO they don't > add sufficient value to keep them. I think it's better to handle the few > special cases explicitly. > > The ninth patch replaces the remaining variables from the conditional > tree with indirectly addressed ones. The conditional tree is now empty, > and the error handling that was in there is made more explicit. > > The tenth patch edits the documentation to remove the references to the > PKG_PYTHON_*_OPTS variables that were removed in the previous patch. > > This series adds lines rather than removing lines. That is because > things are made more explicit, introducing per-setup-type variables > where previously several setup types were (partially) reusing the pep517 > variables. There are also some additional lines because of more line > splitting. > > To test this series, I built all the python packages with one specific > toolchain configuration, and I ran all runtime tests for python packages. > One package failed to build: host-python-sip. It also fails on master. > For the runtime tests, 14 of them failed, all of them also fail on > master. > > > The following changes since commit 7906272c39744e26ed73028725787aa3a4441c54: > > package/python-rtoml: migrate to setuptools-rust infrastructure (2023-09-29 22:02:31 +0200) > > are available in the Git repository at: > > git at gitlab.com:arnout/buildroot.git pkg-python-refactor-variables > > for you to fetch changes up to 89b33e004fc13e22a9c0bdcafcee245a97d2dd51: > > docs/manual: remove references to PKG_PYTHON_*_OPTS (2023-09-30 15:18:48 +0200) > > ---------------------------------------------------------------- > Arnout Vandecappelle (Essensium/Mind) (10): > package/pkg-python.mk: remove $(2)_PYTHON_INTERPRETER variable > package/pkg-python.mk: remove _BASE_BUILD_OPTS variable > package/pkg-python.mk: split the commands in a target and host section > package/pkg-python.mk: replace $(_BASE_ENV) with $($(SETUP_TYPE)_ENV) > package/pkg-python.mk: replace $(_BASE_BUILD_CMD) with $($(SETUP_TYPE)_BUILD_CMD) > package/python-flit-core: instantiate _INSTALL_CMDS > package/jailhouse: expand PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS > package/i2c-tools: expand PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS > package/pkg-python.mk: replace $(_BASE_INSTALL*_CMD) with $($(SETUP_TYPE)_INSTALL*_CMD) > docs/manual: remove references to PKG_PYTHON_*_OPTS > > docs/manual/adding-packages-python.txt | 14 +------- > package/i2c-tools/i2c-tools.mk | 6 ++-- > package/jailhouse/jailhouse.mk | 7 +++- > package/pkg-python.mk | 256 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------- > package/python-flit-core/python-flit-core.mk | 9 +++-- > 5 files changed, 173 insertions(+), 119 deletions(-) > > > From takumiiinn at gmail.com Sun Oct 1 04:35:05 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Sun, 1 Oct 2023 13:35:05 +0900 Subject: [Buildroot] [PATCH v2] package/itstool: new host package In-Reply-To: <1841628> References: <1841628> Message-ID: <20231001043505.19301-1-takumiiinn@gmail.com> ITS Tool allows you to translate your XML documents with PO files, using rules from the W3C Internationalization Tag Set (ITS) to determine what to translate and how to separate it into PO file messages. - This package is primarily used by documentation tools such as gtk-doc - After this patch is merged, a patch to add gtk-doc will be submitted - This package requires python bindings for libxml2 - This change has already been merged See below for libxml2 Python bindings: https://patchwork.ozlabs.org/project/buildroot/patch/20230930155548.1609970-1-takumiiinn at gmail.com/ Signed-off-by: Takumi Takahashi --- Changes v1 -> v2: - add entry to DEVELOPERS - add entry to package/Config.in.host - add file to package/itstool/Config.in.host - change commit log messages Signed-off-by: Takumi Takahashi --- DEVELOPERS | 3 +++ package/Config.in.host | 1 + package/itstool/Config.in.host | 11 +++++++++++ package/itstool/itstool.hash | 4 ++++ package/itstool/itstool.mk | 15 +++++++++++++++ 5 files changed, 34 insertions(+) create mode 100644 package/itstool/Config.in.host create mode 100644 package/itstool/itstool.hash create mode 100644 package/itstool/itstool.mk diff --git a/DEVELOPERS b/DEVELOPERS index bc4027932c..688d3ebce2 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2821,6 +2821,9 @@ F: package/reproc/ F: package/termcolor/ F: package/tl-expected/ +N: Takumi Takahashi +F: package/itstool/ + N: Tan En De F: package/libkcapi/ diff --git a/package/Config.in.host b/package/Config.in.host index c80842c33a..6bc1857df2 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -51,6 +51,7 @@ menu "Host utilities" source "package/imagemagick/Config.in.host" source "package/imx-mkimage/Config.in.host" source "package/imx-usb-loader/Config.in.host" + source "package/itstool/Config.in.host" source "package/jh71xx-tools/Config.in.host" source "package/jq/Config.in.host" source "package/jsmin/Config.in.host" diff --git a/package/itstool/Config.in.host b/package/itstool/Config.in.host new file mode 100644 index 0000000000..c64bcddc6a --- /dev/null +++ b/package/itstool/Config.in.host @@ -0,0 +1,11 @@ +config BR2_PACKAGE_HOST_ITSTOOL + bool "host itstool" + select BR2_PACKAGE_HOST_PYTHON3 + select BR2_PACKAGE_HOST_LIBXML2 + help + ITS Tool allows you to translate your XML documents with + PO files, using rules from the W3C Internationalization + Tag Set (ITS) to determine what to translate and how to + separate it into PO file messages. + + https://itstool.org/ diff --git a/package/itstool/itstool.hash b/package/itstool/itstool.hash new file mode 100644 index 0000000000..7bd533c0d2 --- /dev/null +++ b/package/itstool/itstool.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 fba78a37dc3535e4686c7f57407b97d03c676e3a57beac5fb2315162b0cc3176 itstool-2.0.7.tar.gz +sha256 f907bf6e8a3f4911af6904597c9dcb6b415ab2facf8d403fa3c5afa1f533ab90 COPYING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.GPL3 diff --git a/package/itstool/itstool.mk b/package/itstool/itstool.mk new file mode 100644 index 0000000000..3b738c2f01 --- /dev/null +++ b/package/itstool/itstool.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# itstool +# +################################################################################ + +ITSTOOL_VERSION = 2.0.7 +ITSTOOL_SITE = $(call github,itstool,itstool,$(ITSTOOL_VERSION)) +ITSTOOL_LICENSE = GPL-3.0+ +ITSTOOL_LICENSE_FILES = COPYING COPYING.GPL3 +HOST_ITSTOOL_DEPENDENCIES = host-python3 host-libxml2 + +ITSTOOL_AUTORECONF = YES + +$(eval $(host-autotools-package)) -- 2.42.0 From thomas.petazzoni at bootlin.com Sun Oct 1 05:33:44 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 01 Oct 2023 05:33:44 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-09-30 Message-ID: <20231001053349.F1AF182A17@smtp1.osuosl.org> Hello, Autobuild statistics for 2023-09-30 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 18 | 10 | 0 | 28 | 2023.08.x | 24 | 15 | 0 | 39 | master | 84 | 113 | 3 | 200 | Classification of failures by reason for master ----------------------------------------------- gnuplot-5.4.9 | 12 alsa-utils-1.2.10 | 7 libarchive-3.7.2 | 7 bird-2.0.12 | 6 openrc-0.43.3 | 6 unknown | 6 alsa-lib-1.2.10 | 5 host-go-1.21.1 | 5 glibc-2.38-13-g92201f16cbcf... | 4 check-11970a7e112dfe243a2e6... | 3 gobject-introspection | 3 gobject-introspection-1.76.1 | 3 monit-5.33.0 | 3 cairo-1.16.0 | 2 gcc-final-12.3.0 | 2 openfpgaloader-0.10.0 | 2 package/putty/putty.mk:22: ... | 2 util-linux-2.39.2 | 2 xenomai-3.0.10 | 2 assimp-5.2.5 | 1 axel-2.17.11 | 1 boost-1.83.0 | 1 brltty-6.5 | 1 bullet-3.21 | 1 conmon-2.1.8 | 1 elfutils-0.189 | 1 fdk-aac-2.0.2 | 1 glslsandbox-player-2023.04.05 | 1 heirloom-mailx-12.5 | 1 host-erlang-26.0.2 | 1 host-python-numpy-1.25.0 | 1 host-rust-1.71.1 | 1 host-sentry-cli-2.20.3 | 1 libsodium-1.0.18 | 1 libva-2.20.0 | 1 libvorbis-1.3.7 | 1 libxml2-2.11.4 | 1 linux-5.10.162-cip24 | 1 ltp-testsuite-20230127 | 1 mariadb-10.11.4 | 1 memcached-1.6.21 | 1 mtd-2.1.6 | 1 open-iscsi-2.1.9 | 1 openblas-0.3.24 | 1 python3-3.11.5 | 1 squid-6.2 | 1 strongswan-5.9.11 | 1 syslog-ng-4.3.1 | 1 ti-sgx-km-cf7f48cb30abfd5df... | 1 uclibc-1.0.44 | 1 ulog-0389d243352255f6182326... | 1 wolfssl-5.6.3 | 1 xen-4.14.5 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/60c8882d8c9ba6eb4802ad78b31be2a6c77beafa | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/d85f652ede39c97ff3e4413dbd85efa535bd7e38 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a5bf6596e3ec3bd8f38dddb40b37f06b96f0e68d | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/122346075d0878a7213767a9dc8ee20160e209d3 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/9e829f2eae65951e981e0983e63464d56f00cfff | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/2b02ad5f3aba3c8ce2846e881fed57194823c8b5 | mips64el | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5a7355954589d9b86b3f090852fc9acd545a6a2d | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/e269f862ebade30cf870d783a1006aba8fedc129 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/1ce4739fb3e866f9c5742f71fa1c0ea4959afe71 | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/fbc5386940ea0e8589bdb4bf4079845fbf20fe10 | microblazeel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/90824ec11ca33cc723fd389d3e6421e9dfb55231 | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5209205b9d51281b980452b53fdf8f2c2daa1894 | mips | assimp-5.2.5 | NOK | http://autobuild.buildroot.net/results/1a18b928bfddf1e6fe6eb5e6a021d0bd98403bc1 | ORPH mips64 | axel-2.17.11 | NOK | http://autobuild.buildroot.net/results/751551e06a9197fa4019323c3ac32bae86673d28 | x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/966e309d17e93d288f2d860b9359733d0fda1e06 | aarch64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/411255a490dda19fce06e5a6303a2125b2027843 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/14332c62049ec7404a2d0f96c93727272a53e90a | powerpc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/00f697ed6a4643fff16345203da83e2c2a5c161e | aarch64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8166935b611e55497797d7a022fe8a5e25acc804 | powerpc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/d94a8fdcbef19ed6e15d592e7dc6aeb2d0223751 | arm | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/09267144316866b16afbc4360cb974042728ed0d | arm | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/771e5da3316b0a67ad84684bb10d70efbbb0f667 | nios2 | bullet-3.21 | NOK | http://autobuild.buildroot.net/results/b913c567197ec2612f8754465917a94ac06ee5ef | xtensa | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/b8692ecac0fb0c337f43b77f47293ce7ad388a6e | xtensa | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/db6da1f305dcdfa13be8bcac59f163a1555eabef | m68k | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/afd3b70c87cd1bec3611d6723901395b9479f755 | ORPH m68k | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/b2ee48134d2bcabd978c5f71d1894b8dab87d42c | ORPH or1k | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/b861d400c63438f02e9c4e0698d7c6eda7463d6e | ORPH aarch64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/de51f4d608a651e7e105df23c39577d07bd309dc | microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/04f633ca983c69e316a2429d766733c7ae857b03 | ORPH i686 | fdk-aac-2.0.2 | NOK | http://autobuild.buildroot.net/results/6edb42893dfcdaa79f644d6b46866d0b05ccfb51 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/cfd9f6a5e7755431b0aae685a3f8befe1cdb2063 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/a2aac42eb48b025b35e85958f1e273a57645f169 | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/b5756b9ab6754484b5c10075dc59a4249b01f8b3 | riscv64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/3b0a52d710aaf710a8a0b9a822e8cac5f405a5ed | arc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/4d8637a4da4e87c703cd3e9d5a70b5d1d1057fc4 | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/080dec3455a221124b0fd6a1b940d0d81c1a29b7 | aarch64 | glslsandbox-player-2023.04.05 | NOK | http://autobuild.buildroot.net/results/ee8e57393d168cdcaede982fa37fd1de7505e38b | riscv32 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/9fdc97c8a6dc68ae6b7ffcf24781531c5ea70e6d | microblazeel | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/cbbce4ce9594cbe303d76f53145b746658408584 | powerpc64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433 | armeb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/f73073159cf295bdecae9b9988e399525c1e86ae | sh4aeb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/9b089db8b4c538a35d47fab94e4ff3d1d75b12e6 | armeb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/d5c23c836ca1be3759ad5ca467cfe6f0d5edd316 | riscv64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/5a74459ed1f4ffacaccf5a257f4e31f23166dc05 | arm | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/722f4861135fb71df1133e64713d6c91b2a47e63 | m68k | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/80bbe4444b7d5ce0f0e68355af5d4fde5efd998d | sh4eb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/28ac8cc1fe0c5e85310b9302f072423d626c32c9 | arceb | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/bc84770adab379c4d3caef6f330ff30585163fb2 | powerpc64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/13865d5ac8d25f9f05576b88dcced8c4555595ad | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/1b13366fe156e638dc860b1c72b906e09b892d22 | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/efda751cba54bceb1e862f4d6f5f492f3c0c0149 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/fa5cde5c1c8aefbe9ab6068e2a2da26b580121b5 | sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/9ac7e55fec685802abf9dd32e3969a2b2ed5e9eb | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/f42aa9832173029eb012ecea50e90fe087b8158a | ORPH sh4a | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8414b92010a120ab7bfd0daf6f144e3070a672b6 | ORPH sh4aeb | heirloom-mailx-12.5 | NOK | http://autobuild.buildroot.net/results/4c5525d1d6c3ddaa9314a17a43a46e87fff04d3f | mipsel | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/debffe3091fe2b558dfef39a3a31362fcca1e3f5 | s390x | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/f88051da8c1ee22a0e4b259b0b68016e38d87668 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/c788dde2a2f5cbef6e533424aca8070b28da8da1 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/7de5b2e86b876c620bf751688a98efaa19722b0e | i686 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/760c8760f77be47b3e5059e04a9e86d0f122a3da | powerpc | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/ec8eec6d966376c8893ecaa2ccdba5550a7e837d | arc | host-python-numpy-1.25.0 | NOK | http://autobuild.buildroot.net/results/9ec82be71c908873112064792ace283049355031 | armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c1688695c0cfc4035cfb4740af5476a96bd2d4dc | microblaze | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/862d802639a0532c99844c9e710d06ade05b1ceb | or1k | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/043fff4b3f0daa07d52ef262ef34a5bf8694cec7 | microblaze | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/31ea570325c7ad4c88e154fa75b8546dc2c6b894 | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/3cbf462a3e354c21254ca37b5bf15ae085c831d5 | powerpc | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/b74a7d1a4db21f085f883623969c7b33b42e4961 | mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/681193a33c256e1dc27d556cb581bbe3ff859af4 | or1k | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/719630e34b55ada8cb563748602b8ff9d96457bf | powerpc | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/001e1a9c5fef88d23c4aa29594398041387ba648 | arceb | libsodium-1.0.18 | NOK | http://autobuild.buildroot.net/results/95d341126a69c7414015fdf8931f80df95d849f5 | arm | libva-2.20.0 | NOK | http://autobuild.buildroot.net/results/9d124d900567bf3bc99a3ef850e83247121e3689 | powerpc | libvorbis-1.3.7 | NOK | http://autobuild.buildroot.net/results/c6ec3c9a211821d303930b0be3c8586105fb87d9 | arceb | libxml2-2.11.4 | NOK | http://autobuild.buildroot.net/results/3a85e69da712cf6e3a6f3baea921875b19a334a2 | x86_64 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/dd1926622ade88547d408c6b40265d564c23ec78 | ORPH s390x | ltp-testsuite-20230127 | NOK | http://autobuild.buildroot.net/results/f1e0785609a250bd57f36cf8d30da376a0a795ce | m68k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/0f5ec37500fab7284c7c92e41557716772ff6da9 | ORPH sh4 | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/3fc30fbe8033cc2a53fff398f458963ac4622356 | ORPH mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/34b553f6b71f072605c303ab8cd5921c47c20a1e | microblazeel | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/be5c0443c332533e357b635dd3bbe8c968f0e3f0 | or1k | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/6aac7733043e4644ae227177eaa451763b514c58 | mips | mtd-2.1.6 | NOK | http://autobuild.buildroot.net/results/e2e5dfbd7b19c7196cd70c36e9f061fd3ebadf98 | ORPH aarch64_be | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/14fc1c139f055b5b1eaa6e04e327863c06176a7b | mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/fe64117e7a8fa151a4740a23b348c43cbdc9ee55 | m68k | openfpgaloader-0.10.0 | NOK | http://autobuild.buildroot.net/results/b1b389bcdb901c0da0ad206235525fdf75be4353 | mips64el | openfpgaloader-0.10.0 | NOK | http://autobuild.buildroot.net/results/c9017c1b3a6559c4d6efc798bd1ae0b00971a379 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d92561fb7dbccc55a7324792bbc2482077efbdbd | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/45fb20ad162befeb95b4203ba19e36ada77596cf | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9f965aca6b9c091776d07fbaa068c5ccf4b662a5 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2b79d3650e0c05121ec0e767d7488aeab56c8a01 | arm | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7dc3f68a56b70dd77383aa7d071b73210622f119 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/1532dc51cac409a725513154ad45082c9babe7e6 | mips64el | package/putty/putty.mk:22: ... | NOK | http://autobuild.buildroot.net/results/044fdd08d1f21137472c3ff9abe63e60acb48682 | aarch64_be | package/putty/putty.mk:22: ... | NOK | http://autobuild.buildroot.net/results/69c286a8b4b679e6e5d81c4af25de9f7cf3fe670 | x86_64 | python3-3.11.5 | NOK | http://autobuild.buildroot.net/results/d921a5b82e05c6af7a2ebc185c0cbc1ed2ab344a | aarch64 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/a32711b915939de091e31a1070d925041f3f7f8a | ORPH sparc64 | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/d617397dcbaaf4c136a2b58fb45e2c1f260d446c | mips64el | syslog-ng-4.3.1 | NOK | http://autobuild.buildroot.net/results/dc4d60d752e579ef054915eee3d7e3e73c25929b | arm | ti-sgx-km-cf7f48cb30abfd5df... | NOK | http://autobuild.buildroot.net/results/37990b43c4f99abc8bb8a64a8797c5ad08731b13 | riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/dc917cb66a680f121fa50d8ed479f9a92e656cea | x86_64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/77e5ea378d3662c0fbfee100a4b56c08f4f024ba | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/2d5e385743222493628e688ec3ec841564da9024 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/4309a12fecf970f263b2fd9fb0eb13b1ab94b840 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/e6eccd6fe441832af531da1c436f2d89606ff8bf | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/c4a0bb625b0c8e0e18c1038d8b4d66962573038f | arm | unknown | NOK | http://autobuild.buildroot.net/results/3d4b50a9bd8c9dc9d447899c807fd7c719ec3f03 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/a5209f05d5579ea27b05d0decda4e517ddc0c8c8 | arceb | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/b9126e7f873babe357e76a6242648e329519ce15 | ORPH sh4 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/51bff8670623a4c0d4521ef7105875c491f1127b | ORPH or1k | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/f5bbaec0449e6918ca6ae2388eda847e5723e4b3 | arm | xen-4.14.5 | NOK | http://autobuild.buildroot.net/results/5013ca65ad5bb96651c020aeee1282c285de8f65 | aarch64_be | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/06ffe4c89f05fd7f74c0e8259689769e7644f075 | microblazeel | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/cea95a2e06c9e8b242214bb9329c4b481b3296ed | Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 3 elfutils-0.186 | 1 host-binutils-2.38 | 1 host-heimdal-f4faaeaba371ff... | 1 linux-6.1.55 | 1 olsr-0.9.8 | 1 php-8.2.10 | 1 v4l2loopback-0.12.7 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b5adacbec01c91e6acef7bc93ed46cb56c00ca8b | sparc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b9b3246278b28c336f8a7c66e7e19529c22f6f8b | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/bebeede133f63282aa353ea24e5b1364521460f9 | microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/3705ace7f539c77d89ecbc03607ada615fbe81a7 | ORPH s390x | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/eb891763e79a7bd8e064297bf731a1859e4143c7 | arm | host-heimdal-f4faaeaba371ff... | NOK | http://autobuild.buildroot.net/results/d4a039d1836ca4a65606eaeb32bb238d38a314da | ORPH arc | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/3b76b599f6bc1dfdfddea7b135ac3c7438ee0f07 | ORPH arm | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/b7ad320f312fd8afa4b5766791a66503fa17b2fe | ORPH microblazeel | php-8.2.10 | NOK | http://autobuild.buildroot.net/results/ace52f7f8438c0476f9818ba195928ba2d2f4c7d | sparc64 | v4l2loopback-0.12.7 | NOK | http://autobuild.buildroot.net/results/99aa1035b50c7cf394686cd8df8be3d7ad0f76a5 | Classification of failures by reason for 2023.08.x -------------------------------------------------- unknown | 2 util-linux-2.39.1 | 2 bird-2.0.12 | 1 check-11970a7e112dfe243a2e6... | 1 host-go-1.20.8 | 1 host-runc-1.1.7 | 1 host-rust-1.71.1 | 1 libglvnd-1.4.0 | 1 mmc-utils-d4c2910981ff99b98... | 1 pound-4.8 | 1 stress-ng-0.15.07 | 1 wavemon-0.9.4 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arceb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/04a85adcca1196a1a8fc363832b870355d931735 | riscv64 | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/bf8e02a5db02efe64274fe496dbe5df33c2c7a97 | ORPH arm | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/2fb89151bd46aba3587e6c48bbc3fec7c58c6058 | microblazeel | host-runc-1.1.7 | NOK | http://autobuild.buildroot.net/results/b81e0ba2879dddde05613b495473b06dea55419a | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/61c0ccee854963a229a8bbb8fb8dbb0b96d57e18 | m68k | libglvnd-1.4.0 | NOK | http://autobuild.buildroot.net/results/947270a5617dacce2428320cd0d18573ae800072 | ORPH arm | mmc-utils-d4c2910981ff99b98... | NOK | http://autobuild.buildroot.net/results/d6695c8ad6e1bdc3617fc9ad54fd8626611fee53 | powerpc64 | pound-4.8 | NOK | http://autobuild.buildroot.net/results/1228052039b0269477e22a8797b9d48228f0e783 | ORPH m68k | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/a023a44164aadee56975bf0fadd1b2011ecef34a | xtensa | unknown | NOK | http://autobuild.buildroot.net/results/863a17fb329debeaa86872ac7a7343316fc57148 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/6ef3a5f3420ad56480c09fd97cc0df7fb7b9218f | arm | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/fd495fa9d920e04cb967f47afeefbf20c7101d6a | ORPH arm | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/24f8baeefe1afe4f3a8552349e367fd702577dfb | ORPH powerpc64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/cf52e87e0751ce1ee04ba0588fb227a26181180d | ORPH xtensa | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/b1f102ca421f45b7eee6a2f3c50032fc23733448 | -- http://autobuild.buildroot.net From romain.naour at smile.fr Sun Oct 1 07:15:16 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 09:15:16 +0200 Subject: [Buildroot] [PATCH v2 4/4] configs/qemu_riscv32_nommu_virt_defconfig: New defconfig In-Reply-To: <20221217051337.3778405-5-Mr.Bossman075@gmail.com> References: <20221217051337.3778405-1-Mr.Bossman075@gmail.com> <20221217051337.3778405-5-Mr.Bossman075@gmail.com> Message-ID: <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> Hello, Le 17/12/2022 ? 06:13, Jesse Taube a ?crit?: > Add RISC-V 32-bit nommu defconfig for QEMU virt machine with MMU > disabled. > > Unlike qemu_riscv32_virt, qemu_riscv32_nommu_virt does not use OpenSBI, > since the kernel is running in machine mode (M-mode). > > Signed-off-by: Jesse Taube > Cc: Yimin Gu I rebased the elf2flt patch for risc32 [1] on top of elf2flt 2023.09 release, then I enabled the risc32 uclibc-ng support [2] without patching it since we use the latest release (v1.0.44) containing this commit [3]. But the system doesn't boot due to a reloc issue: binfmt_flat: reloc outside program 0xfff7b6dc (0 - 0x9cec0/0x8a180), killing sh! Starting init: /bin/sh exists but couldn't execute it (error -8) This issue may be related to the toolchain used to build this defconfig (gcc 12.3.0 and binutils 2.40) that is newer than the toolchain used at the time this series was tested. [1] http://patchwork.ozlabs.org/project/buildroot/patch/20221217051337.3778405-2-Mr.Bossman075 at gmail.com/ [2] http://patchwork.ozlabs.org/project/buildroot/patch/20221217051337.3778405-3-Mr.Bossman075 at gmail.com/ [3] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=0a5466d8d53bc8045ff56ff76cc1880aa85761c2 > --- > board/qemu/riscv32-virt/nommu/defconfig | 16 +++++++ > .../riscv32-virt/nommu/patches/linux-headers | 1 + > ...nfig-Allow-RV32-to-build-with-no-MMU.patch | 43 +++++++++++++++++++ > ...le-stat64-and-time32-for-RV32-uclibc.patch | 40 +++++++++++++++++ > board/qemu/riscv32-virt/readme.txt | 6 ++- > configs/qemu_riscv32_nommu_virt_defconfig | 31 +++++++++++++ > 6 files changed, 136 insertions(+), 1 deletion(-) > create mode 100644 board/qemu/riscv32-virt/nommu/defconfig > create mode 120000 board/qemu/riscv32-virt/nommu/patches/linux-headers > create mode 100644 board/qemu/riscv32-virt/nommu/patches/linux/6.0/0001-riscv-Kconfig-Allow-RV32-to-build-with-no-MMU.patch > create mode 100644 board/qemu/riscv32-virt/nommu/patches/linux/6.0/0002-riscv-Enable-stat64-and-time32-for-RV32-uclibc.patch > create mode 100644 configs/qemu_riscv32_nommu_virt_defconfig > > diff --git a/board/qemu/riscv32-virt/nommu/defconfig b/board/qemu/riscv32-virt/nommu/defconfig > new file mode 100644 > index 0000000000..460907253a > --- /dev/null > +++ b/board/qemu/riscv32-virt/nommu/defconfig > @@ -0,0 +1,16 @@ > +CONFIG_BLK_DEV_INITRD=y > +# CONFIG_MMU is not set > +CONFIG_COMPAT_32BIT_TIME=y > +CONFIG_SOC_VIRT=y > +CONFIG_NONPORTABLE=y > +CONFIG_ARCH_RV32I=y > +CONFIG_BINFMT_FLAT=y > +CONFIG_SLOB=y > +CONFIG_VIRTIO_BLK=y > +CONFIG_SERIAL_8250=y > +CONFIG_SERIAL_8250_CONSOLE=y > +CONFIG_SERIAL_OF_PLATFORM=y > +CONFIG_VIRTIO_MMIO=y > +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y > +CONFIG_EXT2_FS=y > +CONFIG_PRINTK_TIME=y > diff --git a/board/qemu/riscv32-virt/nommu/patches/linux-headers b/board/qemu/riscv32-virt/nommu/patches/linux-headers > new file mode 120000 > index 0000000000..ce5e2c77b2 > --- /dev/null > +++ b/board/qemu/riscv32-virt/nommu/patches/linux-headers > @@ -0,0 +1 @@ > +linux/ > \ No newline at end of file > diff --git a/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0001-riscv-Kconfig-Allow-RV32-to-build-with-no-MMU.patch b/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0001-riscv-Kconfig-Allow-RV32-to-build-with-no-MMU.patch > new file mode 100644 > index 0000000000..af11ddf953 > --- /dev/null > +++ b/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0001-riscv-Kconfig-Allow-RV32-to-build-with-no-MMU.patch > @@ -0,0 +1,43 @@ > +From 57800c87e422375ec0df4d5ad7f33659f7b60093 Mon Sep 17 00:00:00 2001 > +From: Yimin Gu > +Date: Sat, 10 Dec 2022 22:27:47 -0500 > +Subject: [PATCH] riscv: Kconfig: Allow RV32 to build with no MMU > + > +Some RISC-V 32bit ores do not have an MMU, and the kernel should be > +able to build for them. This patch enables the RV32 to be built with > +no MMU support. > + > +Signed-off-by: Yimin Gu > +CC=c: Jesse Taube > +Tested-By: Waldemar Brodkorb > +Signed-off-by: Jesse Taube > +--- > + arch/riscv/Kconfig | 5 ++--- > + 1 file changed, 2 insertions(+), 3 deletions(-) > + > +diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > +index 59d18881f35b..49759dbe6a8f 100644 > +--- a/arch/riscv/Kconfig > ++++ b/arch/riscv/Kconfig > +@@ -163,8 +163,8 @@ config MMU > + > + config PAGE_OFFSET > + hex > +- default 0xC0000000 if 32BIT > +- default 0x80000000 if 64BIT && !MMU > ++ default 0xC0000000 if 32BIT && MMU > ++ default 0x80000000 if !MMU > + default 0xff60000000000000 if 64BIT > + > + config KASAN_SHADOW_OFFSET > +@@ -262,7 +262,6 @@ config ARCH_RV32I > + select GENERIC_LIB_ASHRDI3 > + select GENERIC_LIB_LSHRDI3 > + select GENERIC_LIB_UCMPDI2 > +- select MMU > + > + config ARCH_RV64I > + bool "RV64I" > +-- > +2.38.1 > + > diff --git a/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0002-riscv-Enable-stat64-and-time32-for-RV32-uclibc.patch b/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0002-riscv-Enable-stat64-and-time32-for-RV32-uclibc.patch > new file mode 100644 > index 0000000000..f654cca7a6 > --- /dev/null > +++ b/board/qemu/riscv32-virt/nommu/patches/linux/6.0/0002-riscv-Enable-stat64-and-time32-for-RV32-uclibc.patch > @@ -0,0 +1,40 @@ > +From 1d985b3cd0fdb37567b4b8263cae740b49a1f46a Mon Sep 17 00:00:00 2001 > +From: Yimin Gu > +Date: Sat, 10 Dec 2022 22:31:06 -0500 > +Subject: [PATCH] riscv: Enable stat64 and time32 for RV32 uclibc > + > +To comply with current uclibc, macros __ARCH_WANT_STAT64 and > +__ARCH_WANT_TIME32_SYSCALLS are defined. CONFIG_COMPAT_32BIT_TIME also > +has to be turned on. It would be great if this patch could be upstreamed since we have to patch not only the kernel running at runtime but also the kernel headers used by the toolchain. > + > +Tested-By: Waldemar Brodkorb > +Signed-off-by: Yimin Gu > +Cc: Jesse Taube > +Signed-off-by: Jesse Taube > +--- > + arch/riscv/include/uapi/asm/unistd.h | 7 ++++++- > + 1 file changed, 6 insertions(+), 1 deletion(-) > + > +diff --git a/arch/riscv/include/uapi/asm/unistd.h b/arch/riscv/include/uapi/asm/unistd.h > +index 73d7cdd2ec49..3dc774bc201f 100644 > +--- a/arch/riscv/include/uapi/asm/unistd.h > ++++ b/arch/riscv/include/uapi/asm/unistd.h > +@@ -15,9 +15,14 @@ > + * along with this program. If not, see . > + */ > + > +-#if defined(__LP64__) && !defined(__SYSCALL_COMPAT) > ++#ifndef __SYSCALL_COMPAT > + #define __ARCH_WANT_NEW_STAT > + #define __ARCH_WANT_SET_GET_RLIMIT > ++#endif /* __SYSCALL_COMPAT */ > ++ > ++#ifndef __LP64__ > ++#define __ARCH_WANT_STAT64 > ++#define __ARCH_WANT_TIME32_SYSCALLS > + #endif /* __LP64__ */ > + > + #define __ARCH_WANT_SYS_CLONE3 > +-- > +2.38.1 > + > diff --git a/board/qemu/riscv32-virt/readme.txt b/board/qemu/riscv32-virt/readme.txt > index 32b4333512..067bb9f436 100644 > --- a/board/qemu/riscv32-virt/readme.txt > +++ b/board/qemu/riscv32-virt/readme.txt > @@ -1,5 +1,9 @@ > Run Linux in emulation with: > > - qemu-system-riscv32 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv32_virt_defconfig > +qemu_riscv32_virt_defconfig: > + qemu-system-riscv32 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic Please, don't modify "# qemu_riscv32_virt_defconfig" here, it used by the script that generate the start-qemu.sh script. > + > +qemu_riscv32_nommu_virt_defconfig: remove "qemu_riscv32_nommu_virt_defconfig:" > + qemu-system-riscv32 -M virt -bios none -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -nographic -cpu rv32,mmu=off add "# qemu_riscv32_nommu_virt_defconfig" at the end of this line. Can you have a look and resend an updated version of this series? Best regards, Romain > > The login prompt will appear in the terminal that started Qemu. > diff --git a/configs/qemu_riscv32_nommu_virt_defconfig b/configs/qemu_riscv32_nommu_virt_defconfig > new file mode 100644 > index 0000000000..8bfa1f7435 > --- /dev/null > +++ b/configs/qemu_riscv32_nommu_virt_defconfig > @@ -0,0 +1,31 @@ > +# Architecture > +BR2_riscv=y > +BR2_RISCV_32=y > +# BR2_RISCV_USE_MMU is not set > + > +# System > +BR2_TARGET_GENERIC_GETTY=y > +BR2_PTHREADS_NONE=y > + > +# Filesystem > +BR2_TARGET_ROOTFS_EXT2=y > + > +# Image > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" > +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" > + > +# Linux headers same as kernel > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0=y > + > +# Kernel > +BR2_LINUX_KERNEL=y > +BR2_LINUX_KERNEL_CUSTOM_VERSION=y > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.0" > +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y > +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/riscv32-virt/nommu/defconfig" > +BR2_LINUX_KERNEL_IMAGE=y > +BR2_GLOBAL_PATCH_DIR="board/qemu/riscv32-virt/nommu/patches" > + > +# host-qemu for gitlab testing > +BR2_PACKAGE_HOST_QEMU=y > +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y From peter at korsgaard.com Sun Oct 1 07:36:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 09:36:23 +0200 Subject: [Buildroot] [git commit] package/ethtool: bump to version 6.5 Message-ID: <20231001073647.3E55C83D5B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e5e51af4cf7a6186de0b60af51cebcf2cc9b6703 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/tree/NEWS?id=849ab2644bb80af40493c55c7456ed27e483a315 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/ethtool/ethtool.hash | 2 +- package/ethtool/ethtool.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 905b47fb06..8d2bf58420 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,5 @@ # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 d9425f0a3df138734001fccc4175fe178c025f938460ac25c4ebc39960168822 ethtool-6.3.tar.xz +sha256 814171ea4b8026b081c0741dbbf32e6968311483ecf64711232faec2ac70a14c ethtool-6.5.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index 9f1ef19e7b..94d14b123b 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -4,7 +4,7 @@ # ################################################################################ -ETHTOOL_VERSION = 6.3 +ETHTOOL_VERSION = 6.5 ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool ETHTOOL_LICENSE = GPL-2.0 From peter at korsgaard.com Sun Oct 1 07:35:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 09:35:42 +0200 Subject: [Buildroot] [git commit] package/ltp-testsuite: bump version to 20230929 Message-ID: <20231001073647.3011A83D5A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ceb5b326b8cd2a8d41eff1c843c2b196a2d3f2c8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Remove backported patch from this release. Upstream commit from this release [1] very likely fixes failure undefined reference to `__stack_chk_fail'. [1] https://github.com/linux-test-project/ltp/commit/72891ca1efb61787cc78a81ef3e379f3fea77ac1 Signed-off-by: Petr Vorel Signed-off-by: Peter Korsgaard --- ...001-configure.ac-fix-mount_attr-detection.patch | 54 ---------------------- package/ltp-testsuite/ltp-testsuite.hash | 4 +- package/ltp-testsuite/ltp-testsuite.mk | 2 +- 3 files changed, 3 insertions(+), 57 deletions(-) diff --git a/package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch b/package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch deleted file mode 100644 index 740d3a6d6a..0000000000 --- a/package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 30353a1eb3ee8940f38d6a0e8f5f39352fd8a179 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 26 Feb 2023 20:25:54 +0100 -Subject: [PATCH] configure.ac: fix mount_attr detection -Upstream: https://github.com/linux-test-project/ltp/commit/30353a1eb3ee8940f38d6a0e8f5f39352fd8a179 - -Commit b857f8723f30a4b9554bf6b0ff8fa52fd07e8b60 tried to fix build with -latest glibc which provides mount_attr in sys/mount.h. Unfortunately, -the following build failure is still raised because sys/mount is now -unconditionally included in include/lapi/fsmount.h: - -In file included from fsconfig01.c:9: -../../../../include/lapi/fsmount.h:55:8: error: redefinition of 'struct mount_attr' - 55 | struct mount_attr { - | ^~~~~~~~~~ -In file included from ../../../../include/lapi/fsmount.h:14: -/home/autobuild/autobuild/instance-4/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/sys/mount.h:210:8: note: originally defined here - 210 | struct mount_attr - | ^~~~~~~~~~ - -Fixes: b857f8723 ("lapi/fsmount: resolve conflict in different header files") -Fixes: http://autobuild.buildroot.org/results/4dbb72e1bf081afd3cd944571b9beeefc7608865 -Link: https://lore.kernel.org/ltp/20230226192554.669332-1-fontaine.fabrice at gmail.com/ -Reviewed-by: Li Wang -[ pvorel: fix from b857f8723 is needed for glibc before glibc-2.37~426, -i.e. without fix 774058d729 ("linux: Fix sys/mount.h usage with kernel headers") -(which was backported to 2.35 and 2.34 maintenance). ] -Reviewed-by: Petr Vorel -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 114468ae3..4c8763376 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -224,10 +224,10 @@ AC_CHECK_TYPES([struct __kernel_old_timeval, struct __kernel_old_timespec, struc - - AC_CHECK_TYPES([struct futex_waitv],,,[#include ]) - AC_CHECK_TYPES([struct mount_attr],,,[ --#ifdef HAVE_LINUX_MOUNT_H --# include --#else -+#ifdef HAVE_MOUNT_SETATTR - # include -+#elif HAVE_LINUX_MOUNT_H -+# include - #endif - ]) - --- -2.40.0 - diff --git a/package/ltp-testsuite/ltp-testsuite.hash b/package/ltp-testsuite/ltp-testsuite.hash index 59ba5d0045..2e84e978d1 100644 --- a/package/ltp-testsuite/ltp-testsuite.hash +++ b/package/ltp-testsuite/ltp-testsuite.hash @@ -1,4 +1,4 @@ -# From: https://github.com/linux-test-project/ltp/releases/download/20230127/ltp-full-20230127.tar.xz.sha256 -sha256 254412a52c7238f35a247337da186f485e76fb64c6549ed849b3442fc7a417ef ltp-full-20230127.tar.xz +# From: https://github.com/linux-test-project/ltp/releases/download/20230929/ltp-full-20230929.tar.xz.sha256 +sha256 eb161ff8f1966a1f3428fd4561eb20ebb9f83b7519e35cc12fc66bcfa7983b6b ltp-full-20230929.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk index 78271b0730..2a8c12fc25 100644 --- a/package/ltp-testsuite/ltp-testsuite.mk +++ b/package/ltp-testsuite/ltp-testsuite.mk @@ -4,7 +4,7 @@ # ################################################################################ -LTP_TESTSUITE_VERSION = 20230127 +LTP_TESTSUITE_VERSION = 20230929 LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).tar.xz LTP_TESTSUITE_SITE = https://github.com/linux-test-project/ltp/releases/download/$(LTP_TESTSUITE_VERSION) From peter at korsgaard.com Sun Oct 1 07:36:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 09:36:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/ethtool: bump to version 6.5 In-Reply-To: <20230930220352.227651-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 00:03:52 +0200") References: <20230930220352.227651-1-fontaine.fabrice@gmail.com> Message-ID: <87jzs67q0e.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/tree/NEWS?id=849ab2644bb80af40493c55c7456ed27e483a315 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 07:36:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 09:36:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltp-testsuite: bump version to 20230929 In-Reply-To: <20230930201702.985948-1-pevik@seznam.cz> (Petr Vorel's message of "Sat, 30 Sep 2023 22:17:02 +0200") References: <20230930201702.985948-1-pevik@seznam.cz> Message-ID: <87fs2u7q05.fsf@48ers.dk> >>>>> "Petr" == Petr Vorel writes: > From: Petr Vorel > Remove backported patch from this release. > Upstream commit from this release [1] very likely fixes failure > undefined reference to `__stack_chk_fail'. > [1] https://github.com/linux-test-project/ltp/commit/72891ca1efb61787cc78a81ef3e379f3fea77ac1 > Signed-off-by: Petr Vorel Committed, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Sun Oct 1 08:21:50 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 10:21:50 +0200 Subject: [Buildroot] package/pkg-python.mk: refactor setup-type variables In-Reply-To: References: <20230930221727.1458825-1-arnout@mind.be> Message-ID: <4ea102e8-0fb6-b158-c96a-b1d9d6004925@mind.be> On 01/10/2023 06:05, James Hilliard wrote: > On Sat, Sep 30, 2023 at 4:17?PM Arnout Vandecappelle wrote: >> >> Most of the python-package infrastructure consists of a big conditional >> tree that sets various variables based on the package's setup type. >> Initially, this was quite OK, but since we have 7 different setup types >> now, some of which share some variables with others, it's becoming quite >> complicated and hard to read. > > It might be a good idea to apply my setuptools pep517 patch first which > simplifies things a bit by largely combining the setuptools setup type with > pep517 builds. > > https://patchwork.ozlabs.org/project/buildroot/patch/20230930152517.1077576-3-james.hilliard1 at gmail.com/ Yeah, my series was already finished when you sent that, but the testing took more than 24 hours... The two will conflict with each other, obviously, but I think they can be applied in either order. > We can probably drop distutils setup type as well as we should be able to > instead just use setuptools for any packages using that. That's a bit a longer-term project. That said, assuming that distutils is gone, do you think the current condition tree would be simpler than the indirect variables that my series ends up with? Regards, Arnout [snip] From james.hilliard1 at gmail.com Sun Oct 1 08:41:17 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 02:41:17 -0600 Subject: [Buildroot] package/pkg-python.mk: refactor setup-type variables In-Reply-To: <4ea102e8-0fb6-b158-c96a-b1d9d6004925@mind.be> References: <20230930221727.1458825-1-arnout@mind.be> <4ea102e8-0fb6-b158-c96a-b1d9d6004925@mind.be> Message-ID: On Sun, Oct 1, 2023 at 2:21?AM Arnout Vandecappelle wrote: > > > > On 01/10/2023 06:05, James Hilliard wrote: > > On Sat, Sep 30, 2023 at 4:17?PM Arnout Vandecappelle wrote: > >> > >> Most of the python-package infrastructure consists of a big conditional > >> tree that sets various variables based on the package's setup type. > >> Initially, this was quite OK, but since we have 7 different setup types > >> now, some of which share some variables with others, it's becoming quite > >> complicated and hard to read. > > > > It might be a good idea to apply my setuptools pep517 patch first which > > simplifies things a bit by largely combining the setuptools setup type with > > pep517 builds. > > > > https://patchwork.ozlabs.org/project/buildroot/patch/20230930152517.1077576-3-james.hilliard1 at gmail.com/ > > Yeah, my series was already finished when you sent that, but the testing took > more than 24 hours... > > The two will conflict with each other, obviously, but I think they can be > applied in either order. True, however the complexity reduction of the pep517 migration should also simplify your series a bit and make it a lot easier to review. > > > > We can probably drop distutils setup type as well as we should be able to > > instead just use setuptools for any packages using that. > > That's a bit a longer-term project. I only see 4 packages still using distutils still so assuming they work ok under setuptools this may actually be quite simple. I'll try and test if those build under setuptools and migrate them if they do. > > That said, assuming that distutils is gone, do you think the current condition > tree would be simpler than the indirect variables that my series ends up with? It's a little hard to tell, ultimately we're only going to have pep517 style builds for everything plus flit-core-boostrap for bootstrapping our pep517 toolchain since the entire python ecosystem appears to have moved to pep517 packaging. > > Regards, > Arnout > > [snip] From thomas.petazzoni at bootlin.com Sun Oct 1 09:02:03 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 11:02:03 +0200 Subject: [Buildroot] [git commit] boot/at91bootstrap: disable PIE and stack-protector build flags Message-ID: <20231001090317.7670A83D8E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1351222486b93b72c00057fb3401d40967025164 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The toolchain wrapper automatically adds Position Independent Execution and stack protector flags in the build process when selected in the configuration. at91bootstrap being freestanding code, it doesn't support these, so we have to disable them. Signed-off-by: Kory Maincent Signed-off-by: Thomas Petazzoni --- boot/at91bootstrap/at91bootstrap.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk index 1a084756fd..385957b5d4 100644 --- a/boot/at91bootstrap/at91bootstrap.mk +++ b/boot/at91bootstrap/at91bootstrap.mk @@ -32,8 +32,14 @@ endef AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES endif +# The at91bootstrap Makefile doesn't support customizing +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and +# LD. define AT91BOOTSTRAP_BUILD_CMDS - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ + CC="$(TARGET_CC) -fno-stack-protector" \ + LD="$(TARGET_CC) -fno-PIE" \ + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) endef define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS From thomas.petazzoni at bootlin.com Sun Oct 1 09:04:22 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 11:04:22 +0200 Subject: [Buildroot] [PATCH] boot/at91bootstrap: disable PIE and stack-protector build flags In-Reply-To: <20221004125242.136925-1-kory.maincent@bootlin.com> References: <20221004125242.136925-1-kory.maincent@bootlin.com> Message-ID: <20231001110422.0810c899@windsurf> Hello K?ry, On Tue, 4 Oct 2022 14:52:41 +0200 K?ry Maincent via buildroot wrote: > From: Kory Maincent > > The toolchain wrapper add automatically Position Independent Execution > and stack protector flags in the build process when selected in the > configuration. at91bootstrap does not support these, therefore I added a > patch to disable them in the Makefiles > > Signed-off-by: Kory Maincent > --- > ...ck-protector-and-the-PIE-build-flags.patch | 502 ++++++++++++++++++ > 1 file changed, 502 insertions(+) > create mode 100644 boot/at91bootstrap/0004-ensure-the-stack-protector-and-the-PIE-build-flags.patch Thanks for the patch. However, the at91bootstrap patch was highly repetitive, and we have no chance of merging it upstream since upstream is essentially dead. So instead, I committed this: +# The at91bootstrap Makefile doesn't support customizing +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and +# LD. define AT91BOOTSTRAP_BUILD_CMDS - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ + CC="$(TARGET_CC) -fno-stack-protector" \ + LD="$(TARGET_CC) -fno-PIE" \ + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) endef which achieves exactly the same, but is more concise. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From wbx at openadk.org Sun Oct 1 09:10:33 2023 From: wbx at openadk.org (Waldemar Brodkorb) Date: Sun, 1 Oct 2023 11:10:33 +0200 Subject: [Buildroot] [PATCH v2] package/glibc: enable for m68k with MMU Message-ID: For qemu-system-m68k with emulates Q800 machine we need to add patches for glibc to let it compile and run on m68k cpu m68040. See here for discussions about the issue: https://sourceware.org/bugzilla/show_bug.cgi?id=30740 Signed-off-by: Waldemar Brodkorb --- v1 -> v2: - refresh patches from glibc git, requested by Romain Naour --- ...d-with-mcpu-68040-or-higher-BZ-30740.patch | 57 ++++++++++++ ...shift-and-__mpn_rshift-for-non-68020.patch | 47 ++++++++++ ...ALE_AVAILABLE-on-__mpn_lshift-and-__.patch | 93 +++++++++++++++++++ package/glibc/Config.in | 1 + 4 files changed, 198 insertions(+) create mode 100644 package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch create mode 100644 package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch create mode 100644 package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch diff --git a/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch new file mode 100644 index 0000000000..61f48e5893 --- /dev/null +++ b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch @@ -0,0 +1,57 @@ +From b85880633f69b737050c22eede858f8c13bb2248 Mon Sep 17 00:00:00 2001 +From: Adhemerval Zanella +Date: Fri, 18 Aug 2023 14:59:51 -0300 +Subject: [PATCH] m68k: Fix build with -mcpu=68040 or higher (BZ 30740) + +GCC currently does not define __mc68020__ for -mcpu=68040 or higher, +which memcpy/memmove assumptions. Since this memory copy optimization +seems only intended for m68020, disable for other m680X0 variants. + +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b85880633f69b737050c22eede858f8c13bb2248 +--- + sysdeps/m68k/m680x0/m68020/wordcopy.S | 1 - + sysdeps/m68k/wordcopy.c | 21 +++++++++++++++++++++ + 2 files changed, 21 insertions(+), 1 deletion(-) + delete mode 100644 sysdeps/m68k/m680x0/m68020/wordcopy.S + create mode 100644 sysdeps/m68k/wordcopy.c + +diff --git a/sysdeps/m68k/m680x0/m68020/wordcopy.S b/sysdeps/m68k/m680x0/m68020/wordcopy.S +deleted file mode 100644 +index 4fb1a4518f..0000000000 +--- a/sysdeps/m68k/m680x0/m68020/wordcopy.S ++++ /dev/null +@@ -1 +0,0 @@ +-/* Empty, not needed. */ +diff --git a/sysdeps/m68k/wordcopy.c b/sysdeps/m68k/wordcopy.c +new file mode 100644 +index 0000000000..f12d5b7803 +--- /dev/null ++++ b/sysdeps/m68k/wordcopy.c +@@ -0,0 +1,21 @@ ++/* Definitions for memory copy functions. Motorola 680X0 version ++ Copyright (C) 2023 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library. If not, see ++ . */ ++ ++#ifndef __mc68020__ ++# include ++#endif +-- +2.39.2 + diff --git a/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch new file mode 100644 index 0000000000..256da58d66 --- /dev/null +++ b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch @@ -0,0 +1,47 @@ +From 464fd8249e8b791248cab7b0e0cd91757435fa9e Mon Sep 17 00:00:00 2001 +From: Andreas Schwab +Date: Thu, 17 Aug 2023 17:15:34 +0200 +Subject: [PATCH] m68k: fix __mpn_lshift and __mpn_rshift for non-68020 + +From revision 03f3d275d0d6 in the gmp repository. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=464fd8249e8b791248cab7b0e0cd91757435fa9e +--- + sysdeps/m68k/m680x0/lshift.S | 4 ++-- + sysdeps/m68k/m680x0/rshift.S | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S +index 2aee10348e..4240738959 100644 +--- a/sysdeps/m68k/m680x0/lshift.S ++++ b/sysdeps/m68k/m680x0/lshift.S +@@ -77,8 +77,8 @@ L(Lnormal:) + #else /* not mc68000 */ + movel R(s_size),R(d0) + asll #2,R(d0) +- addl R(s_size),R(s_ptr) +- addl R(s_size),R(res_ptr) ++ addl R(d0),R(s_ptr) ++ addl R(d0),R(res_ptr) + #endif + movel MEM_PREDEC(s_ptr),R(d2) + movel R(d2),R(d0) +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S +index d16bca9307..d56a2b4a44 100644 +--- a/sysdeps/m68k/m680x0/rshift.S ++++ b/sysdeps/m68k/m680x0/rshift.S +@@ -127,8 +127,8 @@ L(Lspecial:) + #else /* not mc68000 */ + movel R(s_size),R(d0) + asll #2,R(d0) +- addl R(s_size),R(s_ptr) +- addl R(s_size),R(res_ptr) ++ addl R(d0),R(s_ptr) ++ addl R(d0),R(res_ptr) + #endif + + clrl R(d0) /* initialize carry */ +-- +2.39.2 + diff --git a/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch new file mode 100644 index 0000000000..2ea190eb5a --- /dev/null +++ b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch @@ -0,0 +1,93 @@ +From 87ced255bdf2681f5bf6c89d7121e59f6f342161 Mon Sep 17 00:00:00 2001 +From: Adhemerval Zanella +Date: Fri, 18 Aug 2023 14:49:31 -0300 +Subject: [PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and + __mpn_rshift + +This patch adds a new macro, M68K_SCALE_AVAILABLE, similar to gmp +scale_available_p (mpn/m68k/m68k-defs.m4) that expand to 1 if a +scale factor can be used in addressing modes. This is used +instead of __mc68020__ for some optimization decisions. + +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=87ced255bdf2681f5bf6c89d7121e59f6f342161 +--- + sysdeps/m68k/m680x0/lshift.S | 6 +++--- + sysdeps/m68k/m680x0/rshift.S | 8 ++++---- + sysdeps/m68k/m680x0/sysdep.h | 7 +++++++ + 3 files changed, 14 insertions(+), 7 deletions(-) + +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S +index 4240738959..74de90380b 100644 +--- a/sysdeps/m68k/m680x0/lshift.S ++++ b/sysdeps/m68k/m680x0/lshift.S +@@ -57,9 +57,9 @@ ENTRY(__mpn_lshift) + bne L(Lnormal) + cmpl R(s_ptr),R(res_ptr) + bls L(Lspecial) /* jump if s_ptr >= res_ptr */ +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(a2) +-#else /* not mc68020 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + lea MEM_INDX(s_ptr,d0,l),R(a2) +@@ -71,7 +71,7 @@ L(Lnormal:) + moveql #32,R(d5) + subl R(cnt),R(d5) + +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) + #else /* not mc68000 */ +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S +index d56a2b4a44..d398d0287e 100644 +--- a/sysdeps/m68k/m680x0/rshift.S ++++ b/sysdeps/m68k/m680x0/rshift.S +@@ -56,9 +56,9 @@ ENTRY(__mpn_rshift) + bne L(Lnormal) + cmpl R(res_ptr),R(s_ptr) + bls L(Lspecial) /* jump if res_ptr >= s_ptr */ +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(res_ptr,s_size,l,4),R(a2) +-#else /* not mc68020 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + lea MEM_INDX(res_ptr,d0,l),R(a2) +@@ -121,10 +121,10 @@ L(Lend:) + + cfi_restore_state + L(Lspecial:) +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) +-#else /* not mc68000 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + addl R(d0),R(s_ptr) +diff --git a/sysdeps/m68k/m680x0/sysdep.h b/sysdeps/m68k/m680x0/sysdep.h +index b31e101273..bee5b3391c 100644 +--- a/sysdeps/m68k/m680x0/sysdep.h ++++ b/sysdeps/m68k/m680x0/sysdep.h +@@ -37,3 +37,10 @@ + OP " " SRC "(" PC "), " DST + + #endif /* __ASSEMBLER__ */ ++ ++# if defined __mc68020__ || defined __mc68030__ || defined __mc68040__ \ ++ || defined __mc68060__ ++# define M68K_SCALE_AVAILABLE 1 ++# else ++# define M68K_SCALE_AVAILABLE 0 ++# endif +-- +2.39.2 + diff --git a/package/glibc/Config.in b/package/glibc/Config.in index d894507b89..81c64083f4 100644 --- a/package/glibc/Config.in +++ b/package/glibc/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_aarch64_be default y if BR2_i386 + default y if BR2_m68k_m68k default y if BR2_mips default y if BR2_mipsel default y if BR2_mips64 -- 2.39.2 From james.hilliard1 at gmail.com Sun Oct 1 09:16:16 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:16:16 -0600 Subject: [Buildroot] [PATCH 1/1] package/scons: switch from distutils to setuptools Message-ID: <20231001091616.1771725-1-james.hilliard1@gmail.com> distutils will be dropped with python 3.12. Remove no longer required --install-lib install option which was originally added in b08979477d65203b9b90c88d2a00246342c0b56a to work around a gentoo bug which predates scons using our python infrastructure and is unlikely to be relevant at all anymore. Signed-off-by: James Hilliard --- package/scons/scons.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package/scons/scons.mk b/package/scons/scons.mk index 6b75d3ddca..170c443fbe 100644 --- a/package/scons/scons.mk +++ b/package/scons/scons.mk @@ -8,10 +8,7 @@ SCONS_VERSION = 3.1.2 SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION) SCONS_LICENSE = MIT SCONS_LICENSE_FILES = LICENSE.txt -SCONS_SETUP_TYPE = distutils - -HOST_SCONS_INSTALL_OPTS = \ - --install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION) +SCONS_SETUP_TYPE = setuptools $(eval $(host-python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 1 09:18:02 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:18:02 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pygame: switch from distutils to setuptools Message-ID: <20231001091802.1771968-1-james.hilliard1@gmail.com> distutils will be dropped with python 3.12. Signed-off-by: James Hilliard --- package/python-pygame/python-pygame.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-pygame/python-pygame.mk b/package/python-pygame/python-pygame.mk index 600dd9e743..84fd6df4e2 100644 --- a/package/python-pygame/python-pygame.mk +++ b/package/python-pygame/python-pygame.mk @@ -10,7 +10,7 @@ PYTHON_PYGAME_VERSION = d61ea8eabd56 PYTHON_PYGAME_SOURCE = pygame-$(PYTHON_PYGAME_VERSION).tar.gz PYTHON_PYGAME_SITE = https://bitbucket.org/pygame/pygame PYTHON_PYGAME_SITE_METHOD = hg -PYTHON_PYGAME_SETUP_TYPE = distutils +PYTHON_PYGAME_SETUP_TYPE = setuptools PYTHON_PYGAME_LICENSE = LGPL-2.1+ PYTHON_PYGAME_LICENSE_FILES = LGPL -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 1 09:19:43 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:19:43 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-pyxb: switch from distutils to setuptools Message-ID: <20231001091943.1772441-1-james.hilliard1@gmail.com> distutils will be dropped with python 3.12. Signed-off-by: James Hilliard --- package/python-pyxb/python-pyxb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-pyxb/python-pyxb.mk b/package/python-pyxb/python-pyxb.mk index 6af10b51e7..8015bc874a 100644 --- a/package/python-pyxb/python-pyxb.mk +++ b/package/python-pyxb/python-pyxb.mk @@ -9,6 +9,6 @@ PYTHON_PYXB_SOURCE = PyXB-$(PYTHON_PYXB_VERSION).tar.gz PYTHON_PYXB_SITE = https://pypi.python.org/packages/e3/09/4fdb190ea2b7cb43d6d3e745276ee69f4d6181be70fcbfda7df3c5f72f0e PYTHON_PYXB_LICENSE = Apache-2.0 PYTHON_PYXB_LICENSE_FILES = LICENSE -PYTHON_PYXB_SETUP_TYPE = distutils +PYTHON_PYXB_SETUP_TYPE = setuptools $(eval $(python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 1 09:21:09 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:21:09 -0600 Subject: [Buildroot] [PATCH 1/1] package/python-systemd: switch from distutils to setuptools Message-ID: <20231001092109.1772658-1-james.hilliard1@gmail.com> distutils will be dropped with python 3.12. Signed-off-by: James Hilliard --- package/python-systemd/python-systemd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-systemd/python-systemd.mk b/package/python-systemd/python-systemd.mk index 3ccfd57ce5..7e45b35e38 100644 --- a/package/python-systemd/python-systemd.mk +++ b/package/python-systemd/python-systemd.mk @@ -7,7 +7,7 @@ PYTHON_SYSTEMD_VERSION = 234 # Should be kept in sync with $(SYSTEMD_VERSION) PYTHON_SYSTEMD_SOURCE = systemd-python-$(PYTHON_SYSTEMD_VERSION).tar.gz PYTHON_SYSTEMD_SITE = https://pypi.python.org/packages/e8/a8/00ba0f605837a8f69523e6c3a4fb14675a6430c163f836540129c50b3aef -PYTHON_SYSTEMD_SETUP_TYPE = distutils +PYTHON_SYSTEMD_SETUP_TYPE = setuptools PYTHON_SYSTEMD_LICENSE = LGPL-2.1 PYTHON_SYSTEMD_LICENSE_FILES = LICENSE.txt PYTHON_SYSTEMD_DEPENDENCIES = systemd # To be able to link against libsystemd -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 1 09:25:49 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 1 Oct 2023 03:25:49 -0600 Subject: [Buildroot] package/pkg-python.mk: refactor setup-type variables In-Reply-To: References: <20230930221727.1458825-1-arnout@mind.be> <4ea102e8-0fb6-b158-c96a-b1d9d6004925@mind.be> Message-ID: On Sun, Oct 1, 2023 at 2:41?AM James Hilliard wrote: > > On Sun, Oct 1, 2023 at 2:21?AM Arnout Vandecappelle wrote: > > > > > We can probably drop distutils setup type as well as we should be able to > > > instead just use setuptools for any packages using that. > > > > That's a bit a longer-term project. > > I only see 4 packages still using distutils still so assuming they work ok under > setuptools this may actually be quite simple. > > I'll try and test if those build under setuptools and migrate them if they do. > Yeah, they all seem to build fine under setuptools, I sent patches migrating those so we should be good to remove our distutils infrastructure any time after those are merged I think. https://patchwork.ozlabs.org/project/buildroot/patch/20231001091616.1771725-1-james.hilliard1 at gmail.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231001091802.1771968-1-james.hilliard1 at gmail.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231001091943.1772441-1-james.hilliard1 at gmail.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231001092109.1772658-1-james.hilliard1 at gmail.com/ From peter at korsgaard.com Sun Oct 1 09:44:08 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 11:44:08 +0200 Subject: [Buildroot] [PATCH] package/gnuplot: unbreak !gd builds since 5.4.9 bump Message-ID: <20231001094408.3880093-1-peter@korsgaard.com> Fixes: http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/ Fix a build failure for --without-gd builds since the bump to 5.4.9 with commit 6dc3d3c3606 (package/gnuplot: bump version to 5.4.9): In file included from term.h:298, from term.c:1211: ../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant 4016 | fputs("%%%%BeginImage\n", gppsfile); Add a patch fixing that. Signed-off-by: Peter Korsgaard --- ...-unbreak-HAVE_DEFLATE_ENCODER-builds.patch | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch diff --git a/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch b/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch new file mode 100644 index 0000000000..c3edb39cc6 --- /dev/null +++ b/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch @@ -0,0 +1,51 @@ +From 84002a5bd7f4cb10e9beffab88ae55b4e982bcea Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Sun, 1 Oct 2023 10:20:31 +0200 +Subject: [PATCH] term/post.trm: unbreak !HAVE_DEFLATE_ENCODER builds + +Commit 2f2cf617808 (post: handle RGBA images (only current use is to render +a pixmap)) added an extra '}' outside the HAVE_DEFLATE_ENCODER (gd support) +conditional, leading to build breakage: + +In file included from term.h:298, + from term.c:1211: +../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant + 4016 | fputs("%%%%BeginImage\n", gppsfile); + +http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/build-end.log + +Fix it by dropping the extra { } added by the above commit. + +Signed-off-by: Peter Korsgaard +Upstream: https://sourceforge.net/p/gnuplot/gnuplot-main/merge-requests/28/ +--- + term/post.trm | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/term/post.trm b/term/post.trm +index 186eb9d3c..100811b86 100644 +--- a/term/post.trm ++++ b/term/post.trm +@@ -4000,17 +4000,16 @@ PS_image (unsigned int M, unsigned int N, coordval *image, gpiPoint *corner, t_i + cscale = 1.0; + + #ifdef HAVE_DEFLATE_ENCODER +- if (ps_params->level3) { ++ if (ps_params->level3) + encoded_image = (void *)PS_encode_png_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + &num_encoded_bytes); +- } else { ++ else + #endif + encoded_image = PS_encode_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + (ps_params->level1 ? PS_ASCII_HEX : PS_ASCII85), + &num_encoded_bytes); +- } + + + fputs("%%%%BeginImage\n", gppsfile); +-- +2.30.2 + -- 2.30.2 From peter at korsgaard.com Sun Oct 1 09:48:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 11:48:38 +0200 Subject: [Buildroot] [PATCH] package/linux-tools: fix SysV init script In-Reply-To: <20230923100035.1504933-1-mail@jens-maus.de> (Jens Maus via buildroot's message of "Sat, 23 Sep 2023 12:00:35 +0200") References: <20230923100035.1504933-1-mail@jens-maus.de> Message-ID: <87bkdi7jwp.fsf@48ers.dk> >>>>> "Jens" == Jens Maus via buildroot writes: > This commit fixes the S10hyperv SysV init script which expects binaries > to be locate in /sbin while they are installed in /usr/sbin. Please > note, that the systemd init scripts correctly reference them. > Furthermore, the SysV init script did not check for an actual HyperV > environment to be present, which is also corrected. In addition, this > commit also fixes check-package warnings regarding a missing DAEMON > definition. > Signed-off-by: Jens Maus > --- > package/linux-tools/S10hyperv | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) This means we can now drop the entry in .checkpackageignore. Committed with that included, thanks. -- Bye, Peter Korsgaard From romain.naour at smile.fr Sun Oct 1 09:49:54 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 11:49:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/mesa3d: rework dri3 handling In-Reply-To: <20230729180250.1494674-1-bernd@kuhls.net> References: <20230729180250.1494674-1-bernd@kuhls.net> Message-ID: Hello Bernd, Le 29/07/2023 ? 20:02, Bernd Kuhls a ?crit?: > From: Bernd Kuhls > > While fixing a build error > > ../src/egl/drivers/dri2/platform_x11.c: In function 'dri2_x11_get_msc_rate': > ../src/egl/drivers/dri2/platform_x11.c:1229:44: > error: 'struct dri2_egl_display' has no member named 'screen_resources' > > with this defconfig: > > BR2_x86_64=y > BR2_TOOLCHAIN_BUILDROOT_CXX=y > BR2_PACKAGE_MESA3D=y > BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS=y > BR2_PACKAGE_MESA3D_OPENGL_GLX=y > BR2_PACKAGE_MESA3D_OPENGL_EGL=y > BR2_PACKAGE_MESA3D_OPENGL_ES=y > BR2_PACKAGE_XORG7=y I'm able to reproduce this build issue. But I can't find any autobuilder link. > > (crocus and i915 drivers are also affected) it turns out that we can > assume the need for dri3 support when X.org is enabled as a hard depen- > dency even if mesa3d's configure does not throw errors when missing, > like for the Intel drivers. Are we sure that there no corner case where mesa3d's configure script can throw an error? Otherwise we "only have" to add some select dri3 on iris, crocus and i915 driver. > > Before this patch these Config.in options were used: > > config BR2_PACKAGE_MESA3D_DRI3 > select BR2_PACKAGE_XLIB_LIBXSHMFENCE > select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > > which can be translated into: > > select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XORG7 > > and used at option BR2_PACKAGE_MESA3D_DRIVER. > > Configure option -Ddri3=enabled is passed to mesa3d when at least one > driver is enabled along with X.org: > ifeq ($(BR2_PACKAGE_MESA3D_DRIVER)$(BR2_PACKAGE_XORG7),yy) Have you tested on other driver than the Intel drivers ? Best regards, Romain > > Signed-off-by: Bernd Kuhls > --- > package/mesa3d/Config.in | 14 ++------------ > package/mesa3d/mesa3d.mk | 4 +--- > 2 files changed, 3 insertions(+), 15 deletions(-) > > diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in > index c7ee2a8db0..542d57e72c 100644 > --- a/package/mesa3d/Config.in > +++ b/package/mesa3d/Config.in > @@ -56,11 +56,7 @@ config BR2_PACKAGE_MESA3D_OPENCL > select BR2_PACKAGE_LIBCLC > select BR2_PACKAGE_HAS_LIBOPENCL > > -# inform the .mk file of gallium, dri, dri3 or vulkan driver selection > -config BR2_PACKAGE_MESA3D_DRI3 > - bool > - select BR2_PACKAGE_XLIB_LIBXSHMFENCE > - > +# inform the .mk file of gallium or vulkan driver selection > config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > bool > select BR2_PACKAGE_MESA3D_DRIVER > @@ -71,6 +67,7 @@ config BR2_PACKAGE_MESA3D_VULKAN_DRIVER > > config BR2_PACKAGE_MESA3D_DRIVER > bool > + select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XORG7 > > # Gallium xa state tracker. > # Quote from mesa3d meson.build: "XA state tracker requires at least > @@ -103,7 +100,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_CROCUS > config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV > bool "Gallium Etnaviv driver" > depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > select BR2_PACKAGE_LIBDRM_ETNAVIV > help > @@ -117,7 +113,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO > # can't see is just spurious. However, that dependency is about > # the toolchain having sync4 primitives, which is always a given > # for arm/aarch64. > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > select BR2_PACKAGE_LIBDRM_FREEDRENO > help > @@ -141,7 +136,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS > config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA > bool "Gallium lima driver" > depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > help > Mesa driver for ARM Mali Utgard GPUs. > @@ -158,7 +152,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU > config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST > bool "Gallium panfrost driver" > depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > help > Mesa driver for ARM Mali Midgard and Bifrost GPUs. > @@ -247,7 +240,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D > bool "Gallium v3d driver" > depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64 > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 # runtime > select BR2_PACKAGE_MESA3D_OPENGL_EGL > @@ -263,7 +255,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 > bool "Gallium vc4 driver" > depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64 > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER > select BR2_PACKAGE_LIBDRM_VC4 > select BR2_PACKAGE_MESA3D_OPENGL_EGL > @@ -305,7 +296,6 @@ config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL > depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence > depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h > depends on BR2_TOOLCHAIN_USES_GLIBC # ifunc, static_assert > - select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 > select BR2_PACKAGE_MESA3D_VULKAN_DRIVER > help > Vulkan driver for Intel hardware from Ivy Bridge onward. > diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk > index 6fa5c1c686..73f3b06518 100644 > --- a/package/mesa3d/mesa3d.mk > +++ b/package/mesa3d/mesa3d.mk > @@ -35,11 +35,9 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM),y) > MESA3D_CONF_OPTS += -Db_asneeded=false > endif > > -ifeq ($(BR2_PACKAGE_MESA3D_DRI3),y) > +ifeq ($(BR2_PACKAGE_MESA3D_DRIVER)$(BR2_PACKAGE_XORG7),yy) > MESA3D_CONF_OPTS += -Ddri3=enabled > -ifeq ($(BR2_PACKAGE_XLIB_LIBXSHMFENCE),y) > MESA3D_DEPENDENCIES += xlib_libxshmfence > -endif > else > MESA3D_CONF_OPTS += -Ddri3=disabled > endif From peter at korsgaard.com Sun Oct 1 09:47:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 11:47:27 +0200 Subject: [Buildroot] [git commit] package/linux-tools: fix SysV init script Message-ID: <20231001095229.59C1383D99@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=14c4bd7bf8150283e158c50df87c77d63bb1b73c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This commit fixes the S10hyperv SysV init script which expects binaries to be locate in /sbin while they are installed in /usr/sbin. Please note, that the systemd init scripts correctly reference them. Furthermore, the SysV init script did not check for an actual HyperV environment to be present, which is also corrected. In addition, this commit also fixes check-package warnings regarding a missing DAEMON definition. Signed-off-by: Jens Maus [Peter: drop from .checkpackageignore] Signed-off-by: Peter Korsgaard --- .checkpackageignore | 1 - package/linux-tools/S10hyperv | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 95695fa243..28de1745e4 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -797,7 +797,6 @@ package/linux-fusion/0001-fix-for-linux-4-and-above.patch Upstream package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch Upstream package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch Upstream package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch Upstream -package/linux-tools/S10hyperv Variables package/linux-zigbee/0001-test-serial-Remove-test-serial.patch Upstream package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch Upstream package/linuxptp/S65ptp4l Indent Shellcheck diff --git a/package/linux-tools/S10hyperv b/package/linux-tools/S10hyperv index 32887d1b6c..be9ed2c5df 100644 --- a/package/linux-tools/S10hyperv +++ b/package/linux-tools/S10hyperv @@ -2,14 +2,18 @@ PROGS="@PROGS@" PIDDIR="/var/run" +DAEMON="hyperv" # shellcheck source=/dev/null -[ -r "/etc/default/hyperv" ] && . "/etc/default/hyperv" +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +# only continue if we are in a HyperV platform +[ -e "/sys/bus/vmbus" ] || exit 0 start_one() { printf 'Starting %s: ' "$1" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/sbin/$1" -- -n + start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/usr/sbin/$1" -- -n status=$? if [ "$status" -eq 0 ]; then echo "OK" From fontaine.fabrice at gmail.com Sun Oct 1 10:00:09 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 12:00:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/syslog-ng: fix libressl build Message-ID: <20231001100009.468927-1-fontaine.fabrice@gmail.com> Fox the following build failure with libressl raised since bump to version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); | ^~~~~~~~~~~~ | SSL_AEAD_CTX Fixes: - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b Signed-off-by: Fabrice Fontaine --- ...ort-tls-context.c-fix-libressl-build.patch | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch diff --git a/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch new file mode 100644 index 0000000000..17cc72b983 --- /dev/null +++ b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch @@ -0,0 +1,97 @@ +From ede106afd7d70a8f962acf10a4e3f4a50a70cb15 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Oct 2023 11:27:09 +0200 +Subject: [PATCH] lib/transport/tls-context.c: fix libressl build + +Fix the following build failure with libressl raised since version 4.0.0 +and +https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: + +lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': +lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? + 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); + | ^~~~~~~~~~~~ + | SSL_AEAD_CTX + +Fixes: + - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/syslog-ng/syslog-ng/pull/4655 +--- + cmake/openssl_functions.cmake | 1 + + configure.ac | 1 + + lib/transport/tls-context.c | 4 ++++ + syslog-ng-config.h.in | 1 + + 4 files changed, 7 insertions(+) + +diff --git a/cmake/openssl_functions.cmake b/cmake/openssl_functions.cmake +index 5afbd7f12..da06ca59a 100644 +--- a/cmake/openssl_functions.cmake ++++ b/cmake/openssl_functions.cmake +@@ -41,6 +41,7 @@ function (openssl_set_defines) + X509_get_extension_flags + DH_set0_pqg + BN_get_rfc3526_prime_2048 ++ SSL_CONF_CTX_new + SSL_CTX_set_num_tickets + SSL_CTX_set_ciphersuites + SSL_CTX_set1_sigalgs_list +diff --git a/configure.ac b/configure.ac +index d636bbefa..46e43db7b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1136,6 +1136,7 @@ AC_CHECK_DECLS([EVP_MD_CTX_reset], [], [], [[#include ]]) + AC_CHECK_DECLS([ASN1_STRING_get0_data], [], [], [[#include ]]) + AC_CHECK_DECLS([DH_set0_pqg], [], [], [[#include ]]) + AC_CHECK_DECLS([BN_get_rfc3526_prime_2048], [], [], [[#include ]]) ++AC_CHECK_DECLS([SSL_CONF_CTX_new],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set_num_tickets],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_sigalgs_list],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_client_sigalgs_list],[], [], [[#include ]]) +diff --git a/lib/transport/tls-context.c b/lib/transport/tls-context.c +index be2fea68d..713b63f31 100644 +--- a/lib/transport/tls-context.c ++++ b/lib/transport/tls-context.c +@@ -314,6 +314,7 @@ tls_context_setup_sigalgs(TLSContext *self) + return TRUE; + } + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + static gboolean + tls_context_setup_cmd_context(TLSContext *self) + { +@@ -347,6 +348,7 @@ tls_context_setup_cmd_context(TLSContext *self) + SSL_CONF_CTX_free(ssl_conf_ctx); + return result; + } ++#endif + + static PKCS12 * + _load_pkcs12_file(TLSContext *self, const gchar *pkcs12_file) +@@ -593,8 +595,10 @@ tls_context_setup_context(TLSContext *self) + if (!tls_context_setup_sigalgs(self)) + goto error; + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + if (!tls_context_setup_cmd_context(self)) + goto error; ++#endif + + return TLS_CONTEXT_SETUP_OK; + +diff --git a/syslog-ng-config.h.in b/syslog-ng-config.h.in +index 412294d2a..6d01b84a0 100644 +--- a/syslog-ng-config.h.in ++++ b/syslog-ng-config.h.in +@@ -60,6 +60,7 @@ + #cmakedefine ENV_LD_LIBRARY_PATH @ENV_LD_LIBRARY_PATH@ + #cmakedefine01 SYSLOG_NG_HAVE_DECL_EVP_MD_CTX_RESET + #cmakedefine01 SYSLOG_NG_HAVE_DECL_ASN1_STRING_GET0_DATA ++#cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_GET0_PARAM + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET_CIPHERSUITES + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET1_SIGALGS_LIST +-- +2.40.1 + -- 2.40.1 From fperrad at gmail.com Sun Oct 1 10:32:15 2023 From: fperrad at gmail.com (Francois Perrad) Date: Sun, 1 Oct 2023 12:32:15 +0200 Subject: [Buildroot] [PATCH] package/lua-mqtt: bump to version 0.3.1 Message-ID: <20231001103215.3333968-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/lua-mqtt/lua-mqtt.hash | 4 ++-- package/lua-mqtt/lua-mqtt.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/lua-mqtt/lua-mqtt.hash b/package/lua-mqtt/lua-mqtt.hash index 62f8f350f..fecd4dbbd 100644 --- a/package/lua-mqtt/lua-mqtt.hash +++ b/package/lua-mqtt/lua-mqtt.hash @@ -1,3 +1,3 @@ # computed by luarocks/buildroot -sha256 1b5ec0aebb2d41700762e3d6f542517c55b8cf44e323c53d55a47f19e22b664a lua-mqtt-0.3.0-1.src.rock -sha256 c8d12c868b979f5b9592eec503fc3de54e9feb92163f3cfc50a141ee2bcccc25 lua-mqtt-0.3.0/COPYRIGHT +sha256 0444119ab5a1230e38e35f3948db19e8dc6310991b419ca75e6660588f2d95f7 lua-mqtt-0.3.1-1.src.rock +sha256 c8d12c868b979f5b9592eec503fc3de54e9feb92163f3cfc50a141ee2bcccc25 lua-mqtt-0.3.1/COPYRIGHT diff --git a/package/lua-mqtt/lua-mqtt.mk b/package/lua-mqtt/lua-mqtt.mk index ff889237e..a000ffdb1 100644 --- a/package/lua-mqtt/lua-mqtt.mk +++ b/package/lua-mqtt/lua-mqtt.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUA_MQTT_VERSION = 0.3.0-1 +LUA_MQTT_VERSION = 0.3.1-1 LUA_MQTT_LICENSE = MIT LUA_MQTT_LICENSE_FILES = $(LUA_MQTT_SUBDIR)/COPYRIGHT -- 2.39.2 From romain.naour at smile.fr Sun Oct 1 10:34:34 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 12:34:34 +0200 Subject: [Buildroot] [PATCH v2] package/glibc: enable for m68k with MMU In-Reply-To: References: Message-ID: Hello Waldemar, Le 01/10/2023 ? 11:10, Waldemar Brodkorb a ?crit?: > For qemu-system-m68k with emulates Q800 machine we need to add patches > for glibc to let it compile and run on m68k cpu m68040. > See here for discussions about the issue: > https://sourceware.org/bugzilla/show_bug.cgi?id=30740 > Thank you for your quick reply! Here is my test result: Welcome to Buildroot buildroot login: root # uname -a Linux buildroot 6.1.44 #1 Sun Oct 1 12:23:12 CEST 2023 m68k GNU/Linux > Signed-off-by: Waldemar Brodkorb > --- > v1 -> v2: > - refresh patches from glibc git, requested by Romain Naour > --- > ...d-with-mcpu-68040-or-higher-BZ-30740.patch | 57 ++++++++++++ > ...shift-and-__mpn_rshift-for-non-68020.patch | 47 ++++++++++ > ...ALE_AVAILABLE-on-__mpn_lshift-and-__.patch | 93 +++++++++++++++++++ > package/glibc/Config.in | 1 + > 4 files changed, 198 insertions(+) > create mode 100644 package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch > create mode 100644 package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch > create mode 100644 package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch > > diff --git a/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch > new file mode 100644 > index 0000000000..61f48e5893 > --- /dev/null > +++ b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch > @@ -0,0 +1,57 @@ > +From b85880633f69b737050c22eede858f8c13bb2248 Mon Sep 17 00:00:00 2001 > +From: Adhemerval Zanella > +Date: Fri, 18 Aug 2023 14:59:51 -0300 > +Subject: [PATCH] m68k: Fix build with -mcpu=68040 or higher (BZ 30740) > + > +GCC currently does not define __mc68020__ for -mcpu=68040 or higher, > +which memcpy/memmove assumptions. Since this memory copy optimization > +seems only intended for m68020, disable for other m680X0 variants. > + > +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. > + > +Signed-off-by: Waldemar Brodkorb > +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b85880633f69b737050c22eede858f8c13bb2248 We usually add the Upstream tag above the SoB line. (can be fixed while applying) > +--- > + sysdeps/m68k/m680x0/m68020/wordcopy.S | 1 - > + sysdeps/m68k/wordcopy.c | 21 +++++++++++++++++++++ > + 2 files changed, 21 insertions(+), 1 deletion(-) > + delete mode 100644 sysdeps/m68k/m680x0/m68020/wordcopy.S > + create mode 100644 sysdeps/m68k/wordcopy.c > + > +diff --git a/sysdeps/m68k/m680x0/m68020/wordcopy.S b/sysdeps/m68k/m680x0/m68020/wordcopy.S > +deleted file mode 100644 > +index 4fb1a4518f..0000000000 > +--- a/sysdeps/m68k/m680x0/m68020/wordcopy.S > ++++ /dev/null > +@@ -1 +0,0 @@ > +-/* Empty, not needed. */ > +diff --git a/sysdeps/m68k/wordcopy.c b/sysdeps/m68k/wordcopy.c > +new file mode 100644 > +index 0000000000..f12d5b7803 > +--- /dev/null > ++++ b/sysdeps/m68k/wordcopy.c > +@@ -0,0 +1,21 @@ > ++/* Definitions for memory copy functions. Motorola 680X0 version > ++ Copyright (C) 2023 Free Software Foundation, Inc. > ++ This file is part of the GNU C Library. > ++ > ++ The GNU C Library is free software; you can redistribute it and/or > ++ modify it under the terms of the GNU Lesser General Public > ++ License as published by the Free Software Foundation; either > ++ version 2.1 of the License, or (at your option) any later version. > ++ > ++ The GNU C Library is distributed in the hope that it will be useful, > ++ but WITHOUT ANY WARRANTY; without even the implied warranty of > ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > ++ Lesser General Public License for more details. > ++ > ++ You should have received a copy of the GNU Lesser General Public > ++ License along with the GNU C Library. If not, see > ++ . */ > ++ > ++#ifndef __mc68020__ > ++# include > ++#endif > +-- > +2.39.2 > + > diff --git a/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch > new file mode 100644 > index 0000000000..256da58d66 > --- /dev/null > +++ b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch > @@ -0,0 +1,47 @@ > +From 464fd8249e8b791248cab7b0e0cd91757435fa9e Mon Sep 17 00:00:00 2001 > +From: Andreas Schwab > +Date: Thu, 17 Aug 2023 17:15:34 +0200 > +Subject: [PATCH] m68k: fix __mpn_lshift and __mpn_rshift for non-68020 > + > +From revision 03f3d275d0d6 in the gmp repository. > + > +Signed-off-by: Waldemar Brodkorb > +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=464fd8249e8b791248cab7b0e0cd91757435fa9e > +--- > + sysdeps/m68k/m680x0/lshift.S | 4 ++-- > + sysdeps/m68k/m680x0/rshift.S | 4 ++-- > + 2 files changed, 4 insertions(+), 4 deletions(-) > + > +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S > +index 2aee10348e..4240738959 100644 > +--- a/sysdeps/m68k/m680x0/lshift.S > ++++ b/sysdeps/m68k/m680x0/lshift.S > +@@ -77,8 +77,8 @@ L(Lnormal:) > + #else /* not mc68000 */ > + movel R(s_size),R(d0) > + asll #2,R(d0) > +- addl R(s_size),R(s_ptr) > +- addl R(s_size),R(res_ptr) > ++ addl R(d0),R(s_ptr) > ++ addl R(d0),R(res_ptr) > + #endif > + movel MEM_PREDEC(s_ptr),R(d2) > + movel R(d2),R(d0) > +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S > +index d16bca9307..d56a2b4a44 100644 > +--- a/sysdeps/m68k/m680x0/rshift.S > ++++ b/sysdeps/m68k/m680x0/rshift.S > +@@ -127,8 +127,8 @@ L(Lspecial:) > + #else /* not mc68000 */ > + movel R(s_size),R(d0) > + asll #2,R(d0) > +- addl R(s_size),R(s_ptr) > +- addl R(s_size),R(res_ptr) > ++ addl R(d0),R(s_ptr) > ++ addl R(d0),R(res_ptr) > + #endif > + > + clrl R(d0) /* initialize carry */ > +-- > +2.39.2 > + > diff --git a/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch > new file mode 100644 > index 0000000000..2ea190eb5a > --- /dev/null > +++ b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch > @@ -0,0 +1,93 @@ > +From 87ced255bdf2681f5bf6c89d7121e59f6f342161 Mon Sep 17 00:00:00 2001 > +From: Adhemerval Zanella > +Date: Fri, 18 Aug 2023 14:49:31 -0300 > +Subject: [PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and > + __mpn_rshift > + > +This patch adds a new macro, M68K_SCALE_AVAILABLE, similar to gmp > +scale_available_p (mpn/m68k/m68k-defs.m4) that expand to 1 if a > +scale factor can be used in addressing modes. This is used > +instead of __mc68020__ for some optimization decisions. > + > +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. > + > +Signed-off-by: Waldemar Brodkorb > +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=87ced255bdf2681f5bf6c89d7121e59f6f342161 > +--- > + sysdeps/m68k/m680x0/lshift.S | 6 +++--- > + sysdeps/m68k/m680x0/rshift.S | 8 ++++---- > + sysdeps/m68k/m680x0/sysdep.h | 7 +++++++ > + 3 files changed, 14 insertions(+), 7 deletions(-) > + > +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S > +index 4240738959..74de90380b 100644 > +--- a/sysdeps/m68k/m680x0/lshift.S > ++++ b/sysdeps/m68k/m680x0/lshift.S > +@@ -57,9 +57,9 @@ ENTRY(__mpn_lshift) > + bne L(Lnormal) > + cmpl R(s_ptr),R(res_ptr) > + bls L(Lspecial) /* jump if s_ptr >= res_ptr */ > +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) > ++#if M68K_SCALE_AVAILABLE > + lea MEM_INDX1(s_ptr,s_size,l,4),R(a2) > +-#else /* not mc68020 */ > ++#else > + movel R(s_size),R(d0) > + asll #2,R(d0) > + lea MEM_INDX(s_ptr,d0,l),R(a2) > +@@ -71,7 +71,7 @@ L(Lnormal:) > + moveql #32,R(d5) > + subl R(cnt),R(d5) > + > +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) > ++#if M68K_SCALE_AVAILABLE > + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) > + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) > + #else /* not mc68000 */ > +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S > +index d56a2b4a44..d398d0287e 100644 > +--- a/sysdeps/m68k/m680x0/rshift.S > ++++ b/sysdeps/m68k/m680x0/rshift.S > +@@ -56,9 +56,9 @@ ENTRY(__mpn_rshift) > + bne L(Lnormal) > + cmpl R(res_ptr),R(s_ptr) > + bls L(Lspecial) /* jump if res_ptr >= s_ptr */ > +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) > ++#if M68K_SCALE_AVAILABLE > + lea MEM_INDX1(res_ptr,s_size,l,4),R(a2) > +-#else /* not mc68020 */ > ++#else > + movel R(s_size),R(d0) > + asll #2,R(d0) > + lea MEM_INDX(res_ptr,d0,l),R(a2) > +@@ -121,10 +121,10 @@ L(Lend:) > + > + cfi_restore_state > + L(Lspecial:) > +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) > ++#if M68K_SCALE_AVAILABLE > + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) > + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) > +-#else /* not mc68000 */ > ++#else > + movel R(s_size),R(d0) > + asll #2,R(d0) > + addl R(d0),R(s_ptr) > +diff --git a/sysdeps/m68k/m680x0/sysdep.h b/sysdeps/m68k/m680x0/sysdep.h > +index b31e101273..bee5b3391c 100644 > +--- a/sysdeps/m68k/m680x0/sysdep.h > ++++ b/sysdeps/m68k/m680x0/sysdep.h > +@@ -37,3 +37,10 @@ > + OP " " SRC "(" PC "), " DST > + > + #endif /* __ASSEMBLER__ */ > ++ > ++# if defined __mc68020__ || defined __mc68030__ || defined __mc68040__ \ > ++ || defined __mc68060__ > ++# define M68K_SCALE_AVAILABLE 1 > ++# else > ++# define M68K_SCALE_AVAILABLE 0 > ++# endif > +-- > +2.39.2 > + > diff --git a/package/glibc/Config.in b/package/glibc/Config.in > index d894507b89..81c64083f4 100644 > --- a/package/glibc/Config.in > +++ b/package/glibc/Config.in > @@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS > default y if BR2_aarch64 > default y if BR2_aarch64_be > default y if BR2_i386 > + default y if BR2_m68k_m68k Note: With this patch applied, the qemu_m68k_q800_defconfig will new use glibc instead of uClibc-ng. Best regards, Romain > default y if BR2_mips > default y if BR2_mipsel > default y if BR2_mips64 From yann.morin.1998 at free.fr Sun Oct 1 10:38:44 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 12:38:44 +0200 Subject: [Buildroot] [PATCH 1/2] package/skeleton-init-systemd: copy over etc-factory content In-Reply-To: References: Message-ID: <20231001103844.GK2579@scaer> James, All, On 2023-05-05 00:30 -0400, James Knight spake thusly: > The systemd package will prepare the folder `/usr/share/factory/etc/`, > which holds a series of default configuration files for a runtime > state [1]. For example, the etc-factory repository holds the default > template for `/etc/pam.d/system-auth` which is required in a default > environment configured to use systemd with SELinux. Without this file > prepared, login attempts will fail with the message: > > ... buildroot login[242]: PAM _pam_load_conf_file: unable to open config for system-auth > ... > > To avoid this, when preparing the initial skeleton structure for systemd > environments, copy over fallback configurations defined in etc-factory > into the target's `etc` folder. If a file is already prepared at this > state, these template files will be ignored. Why is that not listed in the systemd tmpfiles, so that it is installed when running systemd-tmpfiles, either at runtime by systemd on a r/w filesystem, or at buildtime with BR2_INIT_SYSTEMD_POPULATE_TMPFILES ? Also, none of our runtime tests for systemd exhibits this login issue: support/testing/tests/init/test_systemd.py support/testing/tests/init/test_systemd_selinux.py Could you try to add a bit more explanations and context, please? Regards, Yann E. MORIN. > [1]: https://www.freedesktop.org/software/systemd/man/file-hierarchy.html > > Signed-off-by: James Knight > --- > package/skeleton-init-systemd/skeleton-init-systemd.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index fb15552f99eafcc90bc5fa9dfcee3ad465492b81..4076821c0c0429cf90681f4b16be114c44bde282 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -68,6 +68,13 @@ SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_CREATE_TMPFI > endif # BR2_INIT_SYSTEMD_POPULATE_TMPFILES > > define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS > + if [ -d $(TARGET_DIR)/usr/share/factory/etc ]; then \ > + rsync -av --ignore-existing --remove-source-files \ > + $(TARGET_DIR)/usr/share/factory/etc/ $(TARGET_DIR)/etc/; \ > + rm -rf $(TARGET_DIR)/usr/share/factory/etc/; \ > + rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share/factory; \ > + fi > + > mkdir -p $(TARGET_DIR)/home > mkdir -p $(TARGET_DIR)/srv > mkdir -p $(TARGET_DIR)/var > -- > 2.40.1.windows.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From romain.naour at smile.fr Sun Oct 1 10:03:12 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 12:03:12 +0200 Subject: [Buildroot] [git commit] package/glibc: enable for m68k with MMU Message-ID: <20231001104237.B434683DA6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=96aab3f078e8c6c571f0c1ca6dc252ee83897dfd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master For qemu-system-m68k with emulates Q800 machine we need to add patches for glibc to let it compile and run on m68k cpu m68040. See here for discussions about the issue: https://sourceware.org/bugzilla/show_bug.cgi?id=30740 Signed-off-by: Waldemar Brodkorb Signed-off-by: Romain Naour --- ...-build-with-mcpu-68040-or-higher-BZ-30740.patch | 57 +++++++++++++ ...mpn_lshift-and-__mpn_rshift-for-non-68020.patch | 47 +++++++++++ ...8K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch | 93 ++++++++++++++++++++++ package/glibc/Config.in | 1 + 4 files changed, 198 insertions(+) diff --git a/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch new file mode 100644 index 0000000000..61f48e5893 --- /dev/null +++ b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch @@ -0,0 +1,57 @@ +From b85880633f69b737050c22eede858f8c13bb2248 Mon Sep 17 00:00:00 2001 +From: Adhemerval Zanella +Date: Fri, 18 Aug 2023 14:59:51 -0300 +Subject: [PATCH] m68k: Fix build with -mcpu=68040 or higher (BZ 30740) + +GCC currently does not define __mc68020__ for -mcpu=68040 or higher, +which memcpy/memmove assumptions. Since this memory copy optimization +seems only intended for m68020, disable for other m680X0 variants. + +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b85880633f69b737050c22eede858f8c13bb2248 +--- + sysdeps/m68k/m680x0/m68020/wordcopy.S | 1 - + sysdeps/m68k/wordcopy.c | 21 +++++++++++++++++++++ + 2 files changed, 21 insertions(+), 1 deletion(-) + delete mode 100644 sysdeps/m68k/m680x0/m68020/wordcopy.S + create mode 100644 sysdeps/m68k/wordcopy.c + +diff --git a/sysdeps/m68k/m680x0/m68020/wordcopy.S b/sysdeps/m68k/m680x0/m68020/wordcopy.S +deleted file mode 100644 +index 4fb1a4518f..0000000000 +--- a/sysdeps/m68k/m680x0/m68020/wordcopy.S ++++ /dev/null +@@ -1 +0,0 @@ +-/* Empty, not needed. */ +diff --git a/sysdeps/m68k/wordcopy.c b/sysdeps/m68k/wordcopy.c +new file mode 100644 +index 0000000000..f12d5b7803 +--- /dev/null ++++ b/sysdeps/m68k/wordcopy.c +@@ -0,0 +1,21 @@ ++/* Definitions for memory copy functions. Motorola 680X0 version ++ Copyright (C) 2023 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library. If not, see ++ . */ ++ ++#ifndef __mc68020__ ++# include ++#endif +-- +2.39.2 + diff --git a/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch new file mode 100644 index 0000000000..256da58d66 --- /dev/null +++ b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch @@ -0,0 +1,47 @@ +From 464fd8249e8b791248cab7b0e0cd91757435fa9e Mon Sep 17 00:00:00 2001 +From: Andreas Schwab +Date: Thu, 17 Aug 2023 17:15:34 +0200 +Subject: [PATCH] m68k: fix __mpn_lshift and __mpn_rshift for non-68020 + +From revision 03f3d275d0d6 in the gmp repository. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=464fd8249e8b791248cab7b0e0cd91757435fa9e +--- + sysdeps/m68k/m680x0/lshift.S | 4 ++-- + sysdeps/m68k/m680x0/rshift.S | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S +index 2aee10348e..4240738959 100644 +--- a/sysdeps/m68k/m680x0/lshift.S ++++ b/sysdeps/m68k/m680x0/lshift.S +@@ -77,8 +77,8 @@ L(Lnormal:) + #else /* not mc68000 */ + movel R(s_size),R(d0) + asll #2,R(d0) +- addl R(s_size),R(s_ptr) +- addl R(s_size),R(res_ptr) ++ addl R(d0),R(s_ptr) ++ addl R(d0),R(res_ptr) + #endif + movel MEM_PREDEC(s_ptr),R(d2) + movel R(d2),R(d0) +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S +index d16bca9307..d56a2b4a44 100644 +--- a/sysdeps/m68k/m680x0/rshift.S ++++ b/sysdeps/m68k/m680x0/rshift.S +@@ -127,8 +127,8 @@ L(Lspecial:) + #else /* not mc68000 */ + movel R(s_size),R(d0) + asll #2,R(d0) +- addl R(s_size),R(s_ptr) +- addl R(s_size),R(res_ptr) ++ addl R(d0),R(s_ptr) ++ addl R(d0),R(res_ptr) + #endif + + clrl R(d0) /* initialize carry */ +-- +2.39.2 + diff --git a/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch new file mode 100644 index 0000000000..2ea190eb5a --- /dev/null +++ b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch @@ -0,0 +1,93 @@ +From 87ced255bdf2681f5bf6c89d7121e59f6f342161 Mon Sep 17 00:00:00 2001 +From: Adhemerval Zanella +Date: Fri, 18 Aug 2023 14:49:31 -0300 +Subject: [PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and + __mpn_rshift + +This patch adds a new macro, M68K_SCALE_AVAILABLE, similar to gmp +scale_available_p (mpn/m68k/m68k-defs.m4) that expand to 1 if a +scale factor can be used in addressing modes. This is used +instead of __mc68020__ for some optimization decisions. + +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. + +Signed-off-by: Waldemar Brodkorb +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=87ced255bdf2681f5bf6c89d7121e59f6f342161 +--- + sysdeps/m68k/m680x0/lshift.S | 6 +++--- + sysdeps/m68k/m680x0/rshift.S | 8 ++++---- + sysdeps/m68k/m680x0/sysdep.h | 7 +++++++ + 3 files changed, 14 insertions(+), 7 deletions(-) + +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S +index 4240738959..74de90380b 100644 +--- a/sysdeps/m68k/m680x0/lshift.S ++++ b/sysdeps/m68k/m680x0/lshift.S +@@ -57,9 +57,9 @@ ENTRY(__mpn_lshift) + bne L(Lnormal) + cmpl R(s_ptr),R(res_ptr) + bls L(Lspecial) /* jump if s_ptr >= res_ptr */ +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(a2) +-#else /* not mc68020 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + lea MEM_INDX(s_ptr,d0,l),R(a2) +@@ -71,7 +71,7 @@ L(Lnormal:) + moveql #32,R(d5) + subl R(cnt),R(d5) + +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) + #else /* not mc68000 */ +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S +index d56a2b4a44..d398d0287e 100644 +--- a/sysdeps/m68k/m680x0/rshift.S ++++ b/sysdeps/m68k/m680x0/rshift.S +@@ -56,9 +56,9 @@ ENTRY(__mpn_rshift) + bne L(Lnormal) + cmpl R(res_ptr),R(s_ptr) + bls L(Lspecial) /* jump if res_ptr >= s_ptr */ +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(res_ptr,s_size,l,4),R(a2) +-#else /* not mc68020 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + lea MEM_INDX(res_ptr,d0,l),R(a2) +@@ -121,10 +121,10 @@ L(Lend:) + + cfi_restore_state + L(Lspecial:) +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) ++#if M68K_SCALE_AVAILABLE + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) +-#else /* not mc68000 */ ++#else + movel R(s_size),R(d0) + asll #2,R(d0) + addl R(d0),R(s_ptr) +diff --git a/sysdeps/m68k/m680x0/sysdep.h b/sysdeps/m68k/m680x0/sysdep.h +index b31e101273..bee5b3391c 100644 +--- a/sysdeps/m68k/m680x0/sysdep.h ++++ b/sysdeps/m68k/m680x0/sysdep.h +@@ -37,3 +37,10 @@ + OP " " SRC "(" PC "), " DST + + #endif /* __ASSEMBLER__ */ ++ ++# if defined __mc68020__ || defined __mc68030__ || defined __mc68040__ \ ++ || defined __mc68060__ ++# define M68K_SCALE_AVAILABLE 1 ++# else ++# define M68K_SCALE_AVAILABLE 0 ++# endif +-- +2.39.2 + diff --git a/package/glibc/Config.in b/package/glibc/Config.in index d894507b89..81c64083f4 100644 --- a/package/glibc/Config.in +++ b/package/glibc/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_aarch64_be default y if BR2_i386 + default y if BR2_m68k_m68k default y if BR2_mips default y if BR2_mipsel default y if BR2_mips64 From romain.naour at smile.fr Sun Oct 1 10:45:05 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 12:45:05 +0200 Subject: [Buildroot] [PATCH v2] package/glibc: enable for m68k with MMU In-Reply-To: References: Message-ID: <46ff9092-4c40-2c5a-2c90-62ea853ae134@smile.fr> Hello Waldemar, Le 01/10/2023 ? 12:34, Romain Naour a ?crit?: > Hello Waldemar, > > Le 01/10/2023 ? 11:10, Waldemar Brodkorb a ?crit?: >> For qemu-system-m68k with emulates Q800 machine we need to add patches >> for glibc to let it compile and run on m68k cpu m68040. >> See here for discussions about the issue: >> https://sourceware.org/bugzilla/show_bug.cgi?id=30740 >> > > Thank you for your quick reply! > > Here is my test result: > > Welcome to Buildroot > buildroot login: root > # uname -a > Linux buildroot 6.1.44 #1 Sun Oct 1 12:23:12 CEST 2023 m68k GNU/Linux Applied to master, thanks. Best regards, Romain > >> Signed-off-by: Waldemar Brodkorb >> --- >> v1 -> v2: >> - refresh patches from glibc git, requested by Romain Naour >> --- >> ...d-with-mcpu-68040-or-higher-BZ-30740.patch | 57 ++++++++++++ >> ...shift-and-__mpn_rshift-for-non-68020.patch | 47 ++++++++++ >> ...ALE_AVAILABLE-on-__mpn_lshift-and-__.patch | 93 +++++++++++++++++++ >> package/glibc/Config.in | 1 + >> 4 files changed, 198 insertions(+) >> create mode 100644 package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch >> create mode 100644 package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch >> create mode 100644 package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch >> >> diff --git a/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch >> new file mode 100644 >> index 0000000000..61f48e5893 >> --- /dev/null >> +++ b/package/glibc/0001-m68k-Fix-build-with-mcpu-68040-or-higher-BZ-30740.patch >> @@ -0,0 +1,57 @@ >> +From b85880633f69b737050c22eede858f8c13bb2248 Mon Sep 17 00:00:00 2001 >> +From: Adhemerval Zanella >> +Date: Fri, 18 Aug 2023 14:59:51 -0300 >> +Subject: [PATCH] m68k: Fix build with -mcpu=68040 or higher (BZ 30740) >> + >> +GCC currently does not define __mc68020__ for -mcpu=68040 or higher, >> +which memcpy/memmove assumptions. Since this memory copy optimization >> +seems only intended for m68020, disable for other m680X0 variants. >> + >> +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. >> + >> +Signed-off-by: Waldemar Brodkorb >> +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b85880633f69b737050c22eede858f8c13bb2248 > > We usually add the Upstream tag above the SoB line. (can be fixed while applying) > >> +--- >> + sysdeps/m68k/m680x0/m68020/wordcopy.S | 1 - >> + sysdeps/m68k/wordcopy.c | 21 +++++++++++++++++++++ >> + 2 files changed, 21 insertions(+), 1 deletion(-) >> + delete mode 100644 sysdeps/m68k/m680x0/m68020/wordcopy.S >> + create mode 100644 sysdeps/m68k/wordcopy.c >> + >> +diff --git a/sysdeps/m68k/m680x0/m68020/wordcopy.S b/sysdeps/m68k/m680x0/m68020/wordcopy.S >> +deleted file mode 100644 >> +index 4fb1a4518f..0000000000 >> +--- a/sysdeps/m68k/m680x0/m68020/wordcopy.S >> ++++ /dev/null >> +@@ -1 +0,0 @@ >> +-/* Empty, not needed. */ >> +diff --git a/sysdeps/m68k/wordcopy.c b/sysdeps/m68k/wordcopy.c >> +new file mode 100644 >> +index 0000000000..f12d5b7803 >> +--- /dev/null >> ++++ b/sysdeps/m68k/wordcopy.c >> +@@ -0,0 +1,21 @@ >> ++/* Definitions for memory copy functions. Motorola 680X0 version >> ++ Copyright (C) 2023 Free Software Foundation, Inc. >> ++ This file is part of the GNU C Library. >> ++ >> ++ The GNU C Library is free software; you can redistribute it and/or >> ++ modify it under the terms of the GNU Lesser General Public >> ++ License as published by the Free Software Foundation; either >> ++ version 2.1 of the License, or (at your option) any later version. >> ++ >> ++ The GNU C Library is distributed in the hope that it will be useful, >> ++ but WITHOUT ANY WARRANTY; without even the implied warranty of >> ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU >> ++ Lesser General Public License for more details. >> ++ >> ++ You should have received a copy of the GNU Lesser General Public >> ++ License along with the GNU C Library. If not, see >> ++ . */ >> ++ >> ++#ifndef __mc68020__ >> ++# include >> ++#endif >> +-- >> +2.39.2 >> + >> diff --git a/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch >> new file mode 100644 >> index 0000000000..256da58d66 >> --- /dev/null >> +++ b/package/glibc/0002-m68k-fix-__mpn_lshift-and-__mpn_rshift-for-non-68020.patch >> @@ -0,0 +1,47 @@ >> +From 464fd8249e8b791248cab7b0e0cd91757435fa9e Mon Sep 17 00:00:00 2001 >> +From: Andreas Schwab >> +Date: Thu, 17 Aug 2023 17:15:34 +0200 >> +Subject: [PATCH] m68k: fix __mpn_lshift and __mpn_rshift for non-68020 >> + >> +From revision 03f3d275d0d6 in the gmp repository. >> + >> +Signed-off-by: Waldemar Brodkorb >> +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=464fd8249e8b791248cab7b0e0cd91757435fa9e >> +--- >> + sysdeps/m68k/m680x0/lshift.S | 4 ++-- >> + sysdeps/m68k/m680x0/rshift.S | 4 ++-- >> + 2 files changed, 4 insertions(+), 4 deletions(-) >> + >> +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S >> +index 2aee10348e..4240738959 100644 >> +--- a/sysdeps/m68k/m680x0/lshift.S >> ++++ b/sysdeps/m68k/m680x0/lshift.S >> +@@ -77,8 +77,8 @@ L(Lnormal:) >> + #else /* not mc68000 */ >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> +- addl R(s_size),R(s_ptr) >> +- addl R(s_size),R(res_ptr) >> ++ addl R(d0),R(s_ptr) >> ++ addl R(d0),R(res_ptr) >> + #endif >> + movel MEM_PREDEC(s_ptr),R(d2) >> + movel R(d2),R(d0) >> +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S >> +index d16bca9307..d56a2b4a44 100644 >> +--- a/sysdeps/m68k/m680x0/rshift.S >> ++++ b/sysdeps/m68k/m680x0/rshift.S >> +@@ -127,8 +127,8 @@ L(Lspecial:) >> + #else /* not mc68000 */ >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> +- addl R(s_size),R(s_ptr) >> +- addl R(s_size),R(res_ptr) >> ++ addl R(d0),R(s_ptr) >> ++ addl R(d0),R(res_ptr) >> + #endif >> + >> + clrl R(d0) /* initialize carry */ >> +-- >> +2.39.2 >> + >> diff --git a/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch >> new file mode 100644 >> index 0000000000..2ea190eb5a >> --- /dev/null >> +++ b/package/glibc/0003-m68k-Use-M68K_SCALE_AVAILABLE-on-__mpn_lshift-and-__.patch >> @@ -0,0 +1,93 @@ >> +From 87ced255bdf2681f5bf6c89d7121e59f6f342161 Mon Sep 17 00:00:00 2001 >> +From: Adhemerval Zanella >> +Date: Fri, 18 Aug 2023 14:49:31 -0300 >> +Subject: [PATCH] m68k: Use M68K_SCALE_AVAILABLE on __mpn_lshift and >> + __mpn_rshift >> + >> +This patch adds a new macro, M68K_SCALE_AVAILABLE, similar to gmp >> +scale_available_p (mpn/m68k/m68k-defs.m4) that expand to 1 if a >> +scale factor can be used in addressing modes. This is used >> +instead of __mc68020__ for some optimization decisions. >> + >> +Checked on a build for m68k-linux-gnu target mc68020 and mc68040. >> + >> +Signed-off-by: Waldemar Brodkorb >> +Upstream: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=87ced255bdf2681f5bf6c89d7121e59f6f342161 >> +--- >> + sysdeps/m68k/m680x0/lshift.S | 6 +++--- >> + sysdeps/m68k/m680x0/rshift.S | 8 ++++---- >> + sysdeps/m68k/m680x0/sysdep.h | 7 +++++++ >> + 3 files changed, 14 insertions(+), 7 deletions(-) >> + >> +diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S >> +index 4240738959..74de90380b 100644 >> +--- a/sysdeps/m68k/m680x0/lshift.S >> ++++ b/sysdeps/m68k/m680x0/lshift.S >> +@@ -57,9 +57,9 @@ ENTRY(__mpn_lshift) >> + bne L(Lnormal) >> + cmpl R(s_ptr),R(res_ptr) >> + bls L(Lspecial) /* jump if s_ptr >= res_ptr */ >> +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) >> ++#if M68K_SCALE_AVAILABLE >> + lea MEM_INDX1(s_ptr,s_size,l,4),R(a2) >> +-#else /* not mc68020 */ >> ++#else >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> + lea MEM_INDX(s_ptr,d0,l),R(a2) >> +@@ -71,7 +71,7 @@ L(Lnormal:) >> + moveql #32,R(d5) >> + subl R(cnt),R(d5) >> + >> +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) >> ++#if M68K_SCALE_AVAILABLE >> + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) >> + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) >> + #else /* not mc68000 */ >> +diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S >> +index d56a2b4a44..d398d0287e 100644 >> +--- a/sysdeps/m68k/m680x0/rshift.S >> ++++ b/sysdeps/m68k/m680x0/rshift.S >> +@@ -56,9 +56,9 @@ ENTRY(__mpn_rshift) >> + bne L(Lnormal) >> + cmpl R(res_ptr),R(s_ptr) >> + bls L(Lspecial) /* jump if res_ptr >= s_ptr */ >> +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) >> ++#if M68K_SCALE_AVAILABLE >> + lea MEM_INDX1(res_ptr,s_size,l,4),R(a2) >> +-#else /* not mc68020 */ >> ++#else >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> + lea MEM_INDX(res_ptr,d0,l),R(a2) >> +@@ -121,10 +121,10 @@ L(Lend:) >> + >> + cfi_restore_state >> + L(Lspecial:) >> +-#if (defined (__mc68020__) || defined (__NeXT__) || defined(mc68020)) >> ++#if M68K_SCALE_AVAILABLE >> + lea MEM_INDX1(s_ptr,s_size,l,4),R(s_ptr) >> + lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) >> +-#else /* not mc68000 */ >> ++#else >> + movel R(s_size),R(d0) >> + asll #2,R(d0) >> + addl R(d0),R(s_ptr) >> +diff --git a/sysdeps/m68k/m680x0/sysdep.h b/sysdeps/m68k/m680x0/sysdep.h >> +index b31e101273..bee5b3391c 100644 >> +--- a/sysdeps/m68k/m680x0/sysdep.h >> ++++ b/sysdeps/m68k/m680x0/sysdep.h >> +@@ -37,3 +37,10 @@ >> + OP " " SRC "(" PC "), " DST >> + >> + #endif /* __ASSEMBLER__ */ >> ++ >> ++# if defined __mc68020__ || defined __mc68030__ || defined __mc68040__ \ >> ++ || defined __mc68060__ >> ++# define M68K_SCALE_AVAILABLE 1 >> ++# else >> ++# define M68K_SCALE_AVAILABLE 0 >> ++# endif >> +-- >> +2.39.2 >> + >> diff --git a/package/glibc/Config.in b/package/glibc/Config.in >> index d894507b89..81c64083f4 100644 >> --- a/package/glibc/Config.in >> +++ b/package/glibc/Config.in >> @@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS >> default y if BR2_aarch64 >> default y if BR2_aarch64_be >> default y if BR2_i386 >> + default y if BR2_m68k_m68k > > Note: With this patch applied, the qemu_m68k_q800_defconfig will new use glibc > instead of uClibc-ng. > > Best regards, > Romain > > >> default y if BR2_mips >> default y if BR2_mipsel >> default y if BR2_mips64 > From peter at korsgaard.com Sun Oct 1 11:24:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 13:24:28 +0200 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> (Neal Frager's message of "Mon, 25 Sep 2023 03:43:21 +0000") References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> Message-ID: <877co67fgz.fsf@48ers.dk> >>>>> "Frager," == Frager, Neal writes: Hello, >>> Is this ok for both of you? >> >> I'm OK with the whole approach, except for the sentence "I do not >> believe there is currently any organized effort to upstream any of >> these patches"... which is probably already clear to the recipients >> of this message, and thus is not going to be solved in this thread, >> however I just want to be sure my position is clear. I'd also like to >> stress that I appreciate a lot the work you are doing to properly >> support the pmufw in Buildroot. Thanks! >> >> Luca > Your position is very clear. And I can assure you that both Ibai and I agree with it. > It would be much better if all of these binutils and gcc patches for > microblaze go upstream, and both Ibai and I have pushed for it > internally at AMD / Xilinx. > The only thing I can say is that change is always possible. > Yesterday, we could not build a zynqmp pmufw, versal plm or versal > psmfw in buildroot. Today, we have submitted a solution to change > that. > Tomorrow (figurative meaning the future), we hope to get all these > binutils and gcc patches upstream, so the upstream toolchain matches > the AMD Xilinx distributed toolchain. > One step at a time. Sure! Sorry, I am somewhat late to the review game here. I wonder how this fits with Luca's zynqmp-pmufw-builder? E.G. today the setup is that the pmufw is built outside Buildroot and we just point the u-boot package to where it can fetch the prebuilt firmware binary - This is nice in the sense that it is fast and simple, but makes is somewhat annoying to make modifications to the firmware. This series instead goes to the other extreme, E.G. we build the entire microblaze toolchain from scratch and then use it to build the firmware and use it in the u-boot package - This is nice because it is all in Buildroot and we have it all under control, but also brings quite some build time overhead for building the toolchain before building the (small) toolchain. You can naturally "solve" it by using two defconfigs, E.G. one that builds the pmufw and another that uses the prebuilt one, but it isn't very handy either. Would an in between option not be more interesting, E.G. use (or download) a prebuilt microblaze toolchain and use that to build the firmware? That would still give the flexibility to easily tweak the firmware, but not the overhead of building the toolchain every time? I guess the problems with that are what to do about the meta-xilinx patches and where/who wants to host a prebuilt one? -- Bye, Peter Korsgaard From wbx at openadk.org Sun Oct 1 11:39:58 2023 From: wbx at openadk.org (Waldemar Brodkorb) Date: Sun, 1 Oct 2023 13:39:58 +0200 Subject: [Buildroot] [PATCH v2 4/4] configs/qemu_riscv32_nommu_virt_defconfig: New defconfig In-Reply-To: <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> References: <20221217051337.3778405-1-Mr.Bossman075@gmail.com> <20221217051337.3778405-5-Mr.Bossman075@gmail.com> <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> Message-ID: Hi Romain, Romain Naour wrote, > Hello, > > Le 17/12/2022 ? 06:13, Jesse Taube a ?crit?: > > Add RISC-V 32-bit nommu defconfig for QEMU virt machine with MMU > > disabled. > > > > Unlike qemu_riscv32_virt, qemu_riscv32_nommu_virt does not use OpenSBI, > > since the kernel is running in machine mode (M-mode). > > > > Signed-off-by: Jesse Taube > > Cc: Yimin Gu > > I rebased the elf2flt patch for risc32 [1] on top of elf2flt 2023.09 release, > then I enabled the risc32 uclibc-ng support [2] without patching it since we use > the latest release (v1.0.44) containing this commit [3]. > > But the system doesn't boot due to a reloc issue: > > binfmt_flat: reloc outside program 0xfff7b6dc (0 - 0x9cec0/0x8a180), killing sh! > Starting init: /bin/sh exists but couldn't execute it (error -8) > > This issue may be related to the toolchain used to build this defconfig (gcc > 12.3.0 and binutils 2.40) that is newer than the toolchain used at the time this > series was tested. Can you share your elf2flt patch, please. best regards Waldemar From romain.naour at smile.fr Sun Oct 1 12:02:57 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 14:02:57 +0200 Subject: [Buildroot] [PATCH v2 4/4] configs/qemu_riscv32_nommu_virt_defconfig: New defconfig In-Reply-To: References: <20221217051337.3778405-1-Mr.Bossman075@gmail.com> <20221217051337.3778405-5-Mr.Bossman075@gmail.com> <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> Message-ID: <3f01b947-21f8-d573-a8fe-b7ca6d044170@smile.fr> Hi Waldemar, Le 01/10/2023 ? 13:39, Waldemar Brodkorb a ?crit?: > Hi Romain, > > Romain Naour wrote, > >> Hello, >> >> Le 17/12/2022 ? 06:13, Jesse Taube a ?crit?: >>> Add RISC-V 32-bit nommu defconfig for QEMU virt machine with MMU >>> disabled. >>> >>> Unlike qemu_riscv32_virt, qemu_riscv32_nommu_virt does not use OpenSBI, >>> since the kernel is running in machine mode (M-mode). >>> >>> Signed-off-by: Jesse Taube >>> Cc: Yimin Gu >> >> I rebased the elf2flt patch for risc32 [1] on top of elf2flt 2023.09 release, >> then I enabled the risc32 uclibc-ng support [2] without patching it since we use >> the latest release (v1.0.44) containing this commit [3]. >> >> But the system doesn't boot due to a reloc issue: >> >> binfmt_flat: reloc outside program 0xfff7b6dc (0 - 0x9cec0/0x8a180), killing sh! >> Starting init: /bin/sh exists but couldn't execute it (error -8) >> >> This issue may be related to the toolchain used to build this defconfig (gcc >> 12.3.0 and binutils 2.40) that is newer than the toolchain used at the time this >> series was tested. > > Can you share your elf2flt patch, please. Sure, It the initial patch from Jesse Taube but without the relocation part that was part of riscv64 commit: https://github.com/uclinux-dev/elf2flt/commit/c5c8043c4d79a1cdd9bd359a542e6fdf3b04d5a1 I hope this can help. Best regards, Romain > > best regards > Waldemar -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Added-RISC-V-32-bit-support.patch Type: text/x-patch Size: 1843 bytes Desc: not available URL: From peter at korsgaard.com Sun Oct 1 12:10:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 14:10:57 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/webkitgtk: require GCC 9 for the 2.40.x series In-Reply-To: <20230929075844.1145939-1-thomas.devoogdt@barco.com> (Thomas Devoogdt's message of "Fri, 29 Sep 2023 09:58:24 +0200") References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> Message-ID: <87zg125yr2.fsf@48ers.dk> >>>>> "Thomas" == Thomas Devoogdt writes: > Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. > Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, > we do check on >= GCC 9, because we can't check on >= GCC 9.3. > [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 > Signed-off-by: Thomas Devoogdt Committed, thanks. What about wpewebkit? This seems to be common code, so we presumably need GCC 9 there as well? -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:11:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 14:11:11 +0200 Subject: [Buildroot] [git commit] package/webkitgtk: require GCC 9 for the 2.40.x series Message-ID: <20231001121137.C45E6817A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=de38484ec31437e3f2f0d7c0fa46f2f30d0a8fbb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard --- package/webkitgtk/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 6835467c46..927792b1e4 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 8, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS From peter at korsgaard.com Sun Oct 1 12:19:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 14:19:55 +0200 Subject: [Buildroot] [PATCH v3 2/4] package/webkitgtk: make gbm support optional In-Reply-To: <20230929075844.1145939-2-thomas.devoogdt@barco.com> (Thomas Devoogdt's message of "Fri, 29 Sep 2023 09:58:25 +0200") References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <20230929075844.1145939-2-thomas.devoogdt@barco.com> Message-ID: <87v8bq5yc4.fsf@48ers.dk> >>>>> "Thomas" == Thomas Devoogdt writes: > From: Thomas Devoogdt > This was added upstream in commit: > https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 This talks about gbm AND libdrm, but you don't seem to handle libdrm here? > The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', Should we then not disable USE_OPENGL_OR_ES and only enable it if we have opengl? -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:23:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 14:23:18 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/webkitgtk: select wpebackend-fdo if wayland target is enabled In-Reply-To: <20230929075844.1145939-3-thomas.devoogdt@barco.com> (Thomas Devoogdt's message of "Fri, 29 Sep 2023 09:58:26 +0200") References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <20230929075844.1145939-3-thomas.devoogdt@barco.com> Message-ID: <87r0me5y6h.fsf@48ers.dk> >>>>> "Thomas" == Thomas Devoogdt writes: > libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 > egl is mandatory if ENABLE_WAYLAND_TARGET > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 > So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. Huh? I cannot say that I understand the webkit mess, but I thought that webkitgtk and wpewebkit were two completely separate "ports"? Adrian, maybe you can clarify? -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:35:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 14:35:48 +0200 Subject: [Buildroot] [PATCH] package/lua-mqtt: bump to version 0.3.1 In-Reply-To: <20231001103215.3333968-1-francois.perrad@gadz.org> (Francois Perrad's message of "Sun, 1 Oct 2023 12:32:15 +0200") References: <20231001103215.3333968-1-francois.perrad@gadz.org> Message-ID: <87msx25xln.fsf@48ers.dk> >>>>> "Francois" == Francois Perrad writes: > Signed-off-by: Francois Perrad Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:37:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 14:37:15 +0200 Subject: [Buildroot] [git commit] package/lua-mqtt: bump to version 0.3.1 Message-ID: <20231001124056.4404E81EA4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4111a8db7fdfa8c2f1012cad38849d3fec41b5b3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- package/lua-mqtt/lua-mqtt.hash | 4 ++-- package/lua-mqtt/lua-mqtt.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/lua-mqtt/lua-mqtt.hash b/package/lua-mqtt/lua-mqtt.hash index 62f8f350fa..fecd4dbbdd 100644 --- a/package/lua-mqtt/lua-mqtt.hash +++ b/package/lua-mqtt/lua-mqtt.hash @@ -1,3 +1,3 @@ # computed by luarocks/buildroot -sha256 1b5ec0aebb2d41700762e3d6f542517c55b8cf44e323c53d55a47f19e22b664a lua-mqtt-0.3.0-1.src.rock -sha256 c8d12c868b979f5b9592eec503fc3de54e9feb92163f3cfc50a141ee2bcccc25 lua-mqtt-0.3.0/COPYRIGHT +sha256 0444119ab5a1230e38e35f3948db19e8dc6310991b419ca75e6660588f2d95f7 lua-mqtt-0.3.1-1.src.rock +sha256 c8d12c868b979f5b9592eec503fc3de54e9feb92163f3cfc50a141ee2bcccc25 lua-mqtt-0.3.1/COPYRIGHT diff --git a/package/lua-mqtt/lua-mqtt.mk b/package/lua-mqtt/lua-mqtt.mk index ff889237e4..a000ffdb16 100644 --- a/package/lua-mqtt/lua-mqtt.mk +++ b/package/lua-mqtt/lua-mqtt.mk @@ -4,7 +4,7 @@ # ################################################################################ -LUA_MQTT_VERSION = 0.3.0-1 +LUA_MQTT_VERSION = 0.3.1-1 LUA_MQTT_LICENSE = MIT LUA_MQTT_LICENSE_FILES = $(LUA_MQTT_SUBDIR)/COPYRIGHT From peter at korsgaard.com Sun Oct 1 12:56:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 14:56:19 +0200 Subject: [Buildroot] [PATCH v3 10/16] Makefile: breaks hardlinks in global {TARGET, HOST}_DIR on per-package build In-Reply-To: <20210817083930.3718711-11-herve.codina@bootlin.com> References: <20210817083930.3718711-1-herve.codina@bootlin.com> <20210817083930.3718711-11-herve.codina@bootlin.com> Message-ID: <1bc18a02-9cf3-0cd1-cf8a-e716ceb78b9a@korsgaard.com> On 17/08/2021 10.39, Herve Codina wrote: Hi, Sorry, very old patch. > Without this patch, a make _rebuild detects overwrites. Indeed, in > target_finalize steps some modifications are done on installed files (ie > strip or TARGET_FINALIZE_HOOKS for instance). > > In order to avoid these modifications seen from per-package {TARGET,HOST}_DIR > and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built > using a full copy of the involved per-package files instead of hardlinks. > > Signed-off-by: Herve Codina > Reviewed-by: Yann E. MORIN > --- > Changes v1 to v2: > - Added 'Reviewed-by: Yann E. MORIN' We have similar issues if you have a post-build script making changes with sed or similar, so committed to master after fixing it up (the logic was in the mean time moved to package/pkg-utils.mk), thanks. > > Changes v2 to v2: > None > > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 32fad004fe..ccf2020565 100644 > --- a/Makefile > +++ b/Makefile > @@ -734,7 +734,7 @@ ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) > define per-package-rsync-delta > $(Q)mkdir -p $(3) > $(foreach pkg,$(1),\ > - $(Q)rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(strip $(2))/ \ > + $(Q)rsync -a \ > --filter='merge $($(call UPPERCASE,$(pkg))_DIR)/$(strip $(4))' \ > $(PER_PACKAGE_DIR)/$(pkg)/$(strip $(2))/ \ > $(3)$(sep)) -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 12:55:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 14:55:33 +0200 Subject: [Buildroot] [git commit] package/pkg-utils.mk: break hardlinks in global {TARGET, HOST}_DIR on per-package build Message-ID: <20231001125702.553C582150@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=21d52e52d8dee0940d28b3a38551eb183be37813 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Without this patch, a make _rebuild detects overwrites. Indeed, in target_finalize steps some modifications are done on installed files (ie strip or TARGET_FINALIZE_HOOKS for instance). In order to avoid these modifications seen from per-package {TARGET,HOST}_DIR and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built using a full copy of the involved per-package files instead of hardlinks. Signed-off-by: Herve Codina Reviewed-by: Yann E. MORIN Signed-off-by: Peter Korsgaard --- package/pkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index 530638566c..bdbdf20c23 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -217,7 +217,7 @@ ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) define per-package-rsync mkdir -p $(3) $(foreach pkg,$(1),\ - rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ + rsync -a \ $(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ $(3)$(sep)) endef From fontaine.fabrice at gmail.com Sun Oct 1 13:04:59 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 15:04:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/memcached: fix uclibc-ng build Message-ID: <20231001130459.840149-1-fontaine.fabrice@gmail.com> Fix the following uclibc-ng build failure raised since bump to version 1.6.21 in commit 6ce55ab0ed3b7125cd11ecfe8c18aaf156b5f060 and https://github.com/memcached/memcached/commit/875371a75cbf1f92350de2d1fa0fae4a35ed572b: /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: memcached-thread.o: in function `thread_setname': thread.c:(.text+0xea2): undefined reference to `pthread_setname_np' Fixes: - http://autobuild.buildroot.org/results/e856d381f5ec7d2727f21c8bd46dacb456984416 Signed-off-by: Fabrice Fontaine --- .../0002-fix-build-on-uclibc-ng.patch | 64 +++++++++++++++++++ package/memcached/memcached.mk | 2 + 2 files changed, 66 insertions(+) create mode 100644 package/memcached/0002-fix-build-on-uclibc-ng.patch diff --git a/package/memcached/0002-fix-build-on-uclibc-ng.patch b/package/memcached/0002-fix-build-on-uclibc-ng.patch new file mode 100644 index 0000000000..a5af7a2adb --- /dev/null +++ b/package/memcached/0002-fix-build-on-uclibc-ng.patch @@ -0,0 +1,64 @@ +From c84e5e55e0e9e793849f721d30979242ed6a6ee3 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Oct 2023 14:12:38 +0200 +Subject: [PATCH] fix build on uclibc-ng + +Fix the following build failure with uclibc-ng raised since version +1.6.18 and +https://github.com/memcached/memcached/commit/875371a75cbf1f92350de2d1fa0fae4a35ed572b: + +/home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: memcached-thread.o: in function `thread_setname': +thread.c:(.text+0xea2): undefined reference to `pthread_setname_np' + +Fixes: + - http://autobuild.buildroot.org/results/e856d381f5ec7d2727f21c8bd46dacb456984416 + +Signed-off-by: Fabrice Fontaine +Upstream: unsent yet (waiting feedback on first patch) +--- + configure.ac | 1 + + extstore.c | 2 +- + thread.c | 2 +- + 3 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index d94f6fb..5ec5088 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -686,6 +686,7 @@ AC_CHECK_FUNCS(clock_gettime) + AC_CHECK_FUNCS(preadv) + AC_CHECK_FUNCS(pread) + AC_CHECK_FUNCS(eventfd) ++AC_CHECK_FUNCS([pthread_setname_np],[AC_DEFINE(HAVE_PTHREAD_SETNAME_NP, 1, [Define to 1 if support pthread_setname_np])]) + AC_CHECK_FUNCS([accept4], [AC_DEFINE(HAVE_ACCEPT4, 1, [Define to 1 if support accept4])]) + AC_CHECK_FUNCS([getopt_long], [AC_DEFINE(HAVE_GETOPT_LONG, 1, [Define to 1 if support getopt_long])]) + +diff --git a/extstore.c b/extstore.c +index b079465..f6a6180 100644 +--- a/extstore.c ++++ b/extstore.c +@@ -119,7 +119,7 @@ struct store_engine { + #define THR_NAME_MAXLEN 16 + static void thread_setname(pthread_t thread, const char *name) { + assert(strlen(name) < THR_NAME_MAXLEN); +-#if defined(__linux__) ++#if defined(__linux__) && defined(HAVE_PTHREAD_SETNAME_NP) + pthread_setname_np(thread, name); + #endif + } +diff --git a/thread.c b/thread.c +index ee120fa..76651c2 100644 +--- a/thread.c ++++ b/thread.c +@@ -635,7 +635,7 @@ static void thread_libevent_process(evutil_socket_t fd, short which, void *arg) + #define THR_NAME_MAXLEN 16 + void thread_setname(pthread_t thread, const char *name) { + assert(strlen(name) < THR_NAME_MAXLEN); +-#if defined(__linux__) ++#if defined(__linux__) && defined(HAVE_PTHREAD_SETNAME_NP) + pthread_setname_np(thread, name); + #endif + } +-- +2.40.1 + diff --git a/package/memcached/memcached.mk b/package/memcached/memcached.mk index 2ebc672d1c..a1a5eac049 100644 --- a/package/memcached/memcached.mk +++ b/package/memcached/memcached.mk @@ -13,6 +13,8 @@ MEMCACHED_LICENSE = BSD-3-Clause MEMCACHED_LICENSE_FILES = COPYING MEMCACHED_CPE_ID_VENDOR = memcached MEMCACHED_SELINUX_MODULES = memcached +# We're patching configure.ac +MEMCACHED_AUTORECONF = YES ifeq ($(BR2_ENDIAN),"BIG") MEMCACHED_CONF_ENV += ac_cv_c_endian=big -- 2.40.1 From romain.naour at smile.fr Sun Oct 1 13:11:52 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 15:11:52 +0200 Subject: [Buildroot] [PATCH 1/1] toolchain-external: refine support library search to lib directory In-Reply-To: <20221212153705.1807269-1-fhunleth@troodon-software.com> References: <20221212153705.1807269-1-fhunleth@troodon-software.com> Message-ID: <30d37b76-9de3-6726-2b94-25f2c9dfb1f9@smile.fr> Hello Frank, Le 12/12/2022 ? 16:37, Frank Hunleth via buildroot a ?crit?: > This fixes an issue where gcc support libraries like libstdc++.so and > libatomic.so were not copied to the target for a Crosstool-NG RISC-V > glibc toolchain. > > The Crosstool-NG's toolchain's sysroot looks like this (trimmed): > > sysroot > ??? lib > ??? ??? ld-linux-riscv64-lp64d.so.1 > ??? ??? libatomic.a > ??? ??? libatomic.so -> libatomic.so.1.2.0 > ??? ??? libatomic.so.1 -> libatomic.so.1.2.0 > ??? ??? libatomic.so.1.2.0 > ??? ??? libgcc_s.so > ??? ??? libgcc_s.so.1 > ??? ??? libstdc++.a > ??? ??? libstdc++.so -> libstdc++.so.6.0.29 > ??? ??? libstdc++.so.6 -> libstdc++.so.6.0.29 > ??? ??? libstdc++.so.6.0.29 > ??? ??? libsupc++.a > ??? lib64 > ??? ??? lp64d > ??? ??? libanl.so.1 > ??? ??? libc.so.6 > ??? ??? libdl.so.2 > ??? ??? libm.so.6 > ??? ??? libnsl.so.1 > ??? ??? libpthread.so.0 > ??? ??? libresolv.so.2 > ??? ??? librt.so.1 > ??? ??? libthread_db.so.1 > ??? ??? libutil.so.1 > > Without this patch, only the files in `lib64/lp64d` are copied to the > target since this is the $ARCH_LIB_DIR. $SUPPORT_LIB_DIR is empty since > libstdc++.a is in the sysroot. It's just not under $ARCH_LIB_DIR. > > Based on the comments, it looks like $SUPPORT_LIB_DIR was intended for > the case when the support libraries were somewhere completely outside of > the sysroot. Anywhere outside of $ARCH_LIB_DIR would seem to have the > same effect of being missed by the copy, though. > > See the following link for the RISC-V Crosstool-NG configuration: > https://github.com/crosstool-ng/crosstool-ng/blob/7f80447c5f66f588e57eb3da087b27eb2b0c8eec/samples/riscv64-unknown-linux-gnu/crosstool.config > > Signed-off-by: Frank Hunleth > --- > toolchain/toolchain-external/pkg-toolchain-external.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk > index 299b6008aa..4070cfdc1f 100644 > --- a/toolchain/toolchain-external/pkg-toolchain-external.mk > +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk > @@ -435,7 +435,7 @@ define TOOLCHAIN_EXTERNAL_INSTALL_SYSROOT_LIBS > ARCH_SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ ARCH_SYSROOT_DIR should be a full path like /<...>/host/opt/ext-toolchain/aarch64-none-linux-gnu/libc/ > ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ ARCH_LIB_DIR is just the name of the lib directory (lib64 or lib) lib64 > SUPPORT_LIB_DIR="" ; \ > - if test `find $${ARCH_SYSROOT_DIR} -name 'libstdc++.a' | wc -l` -eq 0 ; then \ > + if test `find $${ARCH_LIB_DIR} -name 'libstdc++.a' | wc -l` -eq 0 ; then \ So in this context, this change seems not correct (it probably breaks other toolchains). Can you double check? Best regards, Romain > LIBSTDCPP_A_LOCATION=$$(LANG=C $(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS) -print-file-name=libstdc++.a) ; \ > if [ -e "$${LIBSTDCPP_A_LOCATION}" ]; then \ > SUPPORT_LIB_DIR=`readlink -f $${LIBSTDCPP_A_LOCATION} | sed -r -e 's:libstdc\+\+\.a::'` ; \ > -- > 2.34.1 > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From bugzilla at busybox.net Sun Oct 1 13:18:57 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sun, 01 Oct 2023 13:18:57 +0000 Subject: [Buildroot] [Bug 15811] New: imx233_olinuxino defconfig snagging on python2 Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15811 Bug ID: 15811 Summary: imx233_olinuxino defconfig snagging on python2 Product: buildroot Version: unspecified Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Outdated package Assignee: unassigned at buildroot.uclibc.org Reporter: radio.m0krx at gmail.com CC: buildroot at uclibc.org Target Milestone: --- Basic defconfig build fails. libftd not able to build due to python2 dependency. I kicked the u-boot version to 2022.1 and it seems to have fixed the issue. -- You are receiving this mail because: You are on the CC list for the bug. From romain.naour at smile.fr Sun Oct 1 13:32:06 2023 From: romain.naour at smile.fr (Romain Naour) Date: Sun, 1 Oct 2023 15:32:06 +0200 Subject: [Buildroot] [PATCH v5] package/apache: add option to disable server In-Reply-To: <20230922211816.13469-1-giulio.benetti@benettiengineering.com> References: <20230922211816.13469-1-giulio.benetti@benettiengineering.com> Message-ID: <5e9b4a43-e16c-b2d5-09b7-cb1582a4b513@smile.fr> Hello Giulio, Le 22/09/2023 ? 23:18, Giulio Benetti a ?crit?: > From: Giulio Benetti > > Other packages (e.g. mongoose) can use htdigest and htpasswd, but those > are only available with apache. > > We don't want to build the whole apache server just for those tools, so > we add an option to disable the server; it is enabled by default for > legacy purposes (so that existing (def)configs still work). > > However, there is no way to tell the apache buildsystem to only build > those two tools, so we have to provide custom build and install > commands. > > Cc: Jim Reinhart > Cc: James Autry > Cc: Matthew Maron > Signed-off-by: Giulio Benetti > --- > V1->V2: > * Hide "External Apache modules" if BR2_PACKAGE_APACHE_UTILS_ONLY is enabled > V2->V3: > as suggested by Arnout: > * change negative option BR2_PACKAGE_APACHE_UTILS_ONLY to BR2_PACKAGE_APACHE_DAEMON > * set a common APACHE_CONF_OPTS and only add specific options for > BR2_PACKAGE_APACHE_DAEMON enabled or not > V3->V4: > * drop --with-static-* options as suggested by Arnout > V4->V5: > as suggested by Yann: > * drop BR2_PACKAGE_APACHE check in package/Config.in for > package/modsecurity2/Config.in > * make BR2_PACKAGE_PHP_SAPI_APACHE depends on BR2_PACKAGE_APACHE_DAEMON > * improve commit log > --- > package/Config.in | 2 -- > package/apache/Config.in | 9 +++++++++ > package/apache/apache.mk | 20 +++++++++++++++++--- > package/modsecurity2/Config.in | 2 +- > package/php/Config.in | 2 +- > 5 files changed, 28 insertions(+), 7 deletions(-) > > diff --git a/package/Config.in b/package/Config.in > index cc99be39fb..db6cf432e3 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2279,11 +2279,9 @@ menu "Networking applications" > source "package/alfred/Config.in" > source "package/aoetools/Config.in" > source "package/apache/Config.in" > -if BR2_PACKAGE_APACHE > menu "External Apache modules" > source "package/modsecurity2/Config.in" > endmenu > -endif > source "package/argus/Config.in" > source "package/arp-scan/Config.in" > source "package/arptables/Config.in" > diff --git a/package/apache/Config.in b/package/apache/Config.in > index 270296bce4..5e9e4c5f9d 100644 > --- a/package/apache/Config.in > +++ b/package/apache/Config.in > @@ -17,6 +17,14 @@ config BR2_PACKAGE_APACHE > > if BR2_PACKAGE_APACHE > > +config BR2_PACKAGE_APACHE_DAEMON > + bool "apache-daemon" > + default y > + help > + Provide entire Apache daemon, otherwise only htdigest and htpasswd > + will be built and installed. > + > +if BR2_PACKAGE_APACHE_DAEMON > choice > prompt "Multi-Processing Module (MPM)" > default BR2_PACKAGE_APACHE_MPM_WORKER > @@ -40,6 +48,7 @@ config BR2_PACKAGE_APACHE_MPM_WORKER > Implements a hybrid multi-threaded multi-process web server What about apparmor package? package/apparmor/apparmor.mk:ifeq ($(BR2_PACKAGE_APACHE),y) it seems we need to use BR2_PACKAGE_APACHE_DAEMON with this change. Best regards, Romain > > endchoice > +endif > > endif > > diff --git a/package/apache/apache.mk b/package/apache/apache.mk > index 320a6ad20e..994842b455 100644 > --- a/package/apache/apache.mk > +++ b/package/apache/apache.mk > @@ -12,8 +12,6 @@ APACHE_LICENSE_FILES = LICENSE > APACHE_CPE_ID_VENDOR = apache > APACHE_CPE_ID_PRODUCT = http_server > APACHE_SELINUX_MODULES = apache > -# Needed for mod_php > -APACHE_INSTALL_STAGING = YES > # We have a patch touching configure.in and Makefile.in, > # so we need to autoreconf: > APACHE_AUTORECONF = YES > @@ -32,10 +30,16 @@ APACHE_MPM = worker > endif > > APACHE_CONF_OPTS = \ > - --sysconfdir=/etc/apache2 \ > --with-apr=$(STAGING_DIR)/usr \ > --with-apr-util=$(STAGING_DIR)/usr \ > --with-pcre=$(STAGING_DIR)/usr/bin/pcre2-config \ > + > +ifeq ($(BR2_PACKAGE_APACHE_DAEMON),y) > +# Needed for mod_php > +APACHE_INSTALL_STAGING = YES > + > +APACHE_CONF_OPTS += \ > + --sysconfdir=/etc/apache2 \ > --enable-http \ > --enable-dbd \ > --enable-proxy \ > @@ -121,5 +125,15 @@ define APACHE_INSTALL_INIT_SYSTEMD > $(INSTALL) -D -m 644 package/apache/apache.service \ > $(TARGET_DIR)/usr/lib/systemd/system/apache.service > endef > +else > +define APACHE_BUILD_CMDS > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/support htdigest htpasswd > +endef > + > +define APACHE_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 -D $(@D)/support/htdigest $(TARGET_DIR)/usr/bin/htdigest > + $(INSTALL) -m 0755 -D $(@D)/support/htpasswd $(TARGET_DIR)/usr/bin/htpasswd > +endef > +endif > > $(eval $(autotools-package)) > diff --git a/package/modsecurity2/Config.in b/package/modsecurity2/Config.in > index fb1bfc960e..40c5fc55bc 100644 > --- a/package/modsecurity2/Config.in > +++ b/package/modsecurity2/Config.in > @@ -1,6 +1,6 @@ > config BR2_PACKAGE_MODSECURITY2 > bool "modsecurity2" > - depends on BR2_PACKAGE_APACHE > + depends on BR2_PACKAGE_APACHE_DAEMON > select BR2_PACKAGE_LIBXML2 > select BR2_PACKAGE_PCRE2 > help > diff --git a/package/php/Config.in b/package/php/Config.in > index 69b4268c1d..3a9e37dab6 100644 > --- a/package/php/Config.in > +++ b/package/php/Config.in > @@ -36,7 +36,7 @@ if BR2_PACKAGE_PHP > > config BR2_PACKAGE_PHP_SAPI_APACHE > bool "Apache interface" > - depends on BR2_PACKAGE_APACHE > + depends on BR2_PACKAGE_APACHE_DAEMON > help > Apache module > From wbx at openadk.org Sun Oct 1 14:09:14 2023 From: wbx at openadk.org (Waldemar Brodkorb) Date: Sun, 1 Oct 2023 16:09:14 +0200 Subject: [Buildroot] [PATCH v2 4/4] configs/qemu_riscv32_nommu_virt_defconfig: New defconfig In-Reply-To: <3f01b947-21f8-d573-a8fe-b7ca6d044170@smile.fr> References: <20221217051337.3778405-1-Mr.Bossman075@gmail.com> <20221217051337.3778405-5-Mr.Bossman075@gmail.com> <603887d9-3c48-b7de-3e5d-a472e6c08ed2@smile.fr> <3f01b947-21f8-d573-a8fe-b7ca6d044170@smile.fr> Message-ID: Hi Romain, Romain Naour wrote, > Hi Waldemar, > > Le 01/10/2023 ? 13:39, Waldemar Brodkorb a ?crit?: > > Hi Romain, > > > > Romain Naour wrote, > > > >> Hello, > >> > >> Le 17/12/2022 ? 06:13, Jesse Taube a ?crit?: > >>> Add RISC-V 32-bit nommu defconfig for QEMU virt machine with MMU > >>> disabled. > >>> > >>> Unlike qemu_riscv32_virt, qemu_riscv32_nommu_virt does not use OpenSBI, > >>> since the kernel is running in machine mode (M-mode). > >>> > >>> Signed-off-by: Jesse Taube > >>> Cc: Yimin Gu > >> > >> I rebased the elf2flt patch for risc32 [1] on top of elf2flt 2023.09 release, > >> then I enabled the risc32 uclibc-ng support [2] without patching it since we use > >> the latest release (v1.0.44) containing this commit [3]. > >> > >> But the system doesn't boot due to a reloc issue: > >> > >> binfmt_flat: reloc outside program 0xfff7b6dc (0 - 0x9cec0/0x8a180), killing sh! > >> Starting init: /bin/sh exists but couldn't execute it (error -8) > >> > >> This issue may be related to the toolchain used to build this defconfig (gcc > >> 12.3.0 and binutils 2.40) that is newer than the toolchain used at the time this > >> series was tested. > > > > Can you share your elf2flt patch, please. > > Sure, It the initial patch from Jesse Taube but without the relocation part that > was part of riscv64 commit: > > https://github.com/uclinux-dev/elf2flt/commit/c5c8043c4d79a1cdd9bd359a542e6fdf3b04d5a1 > > I hope this can help. See attached patch I am using, there is one change missing in your patch. best regards Waldemar -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-riscv32.patch Type: text/x-diff Size: 1555 bytes Desc: not available URL: From peter at korsgaard.com Sun Oct 1 14:20:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 16:20:24 +0200 Subject: [Buildroot] [PATCH] package/cups: add upstream security fix for CVE-2023-4504 Message-ID: <20231001142024.3959758-1-peter@korsgaard.com> Fixes CVE-2023-4504: Postscript Parsing Heap Overflow https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h https://takeonme.org/cves/CVE-2023-4504.html There is a 2.4.7 release with this fix, but upstream unfortunately broke !gnutls builds, so backport the security fix instead: https://github.com/OpenPrinting/cups/issues/762 Signed-off-by: Peter Korsgaard --- ...raster-interpret.c-Fix-CVE-2023-4504.patch | 45 +++++++++++++++++++ package/cups/cups.mk | 3 ++ 2 files changed, 48 insertions(+) create mode 100644 package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch diff --git a/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch new file mode 100644 index 0000000000..d1dff4e1fa --- /dev/null +++ b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch @@ -0,0 +1,45 @@ +From 2431caddb7e6a87f04ac90b5c6366ad268b6ff31 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Wed, 20 Sep 2023 14:45:17 +0200 +Subject: [PATCH] raster-interpret.c: Fix CVE-2023-4504 + +We didn't check for end of buffer if it looks there is an escaped +character - check for NULL terminator there and if found, return NULL +as return value and in `ptr`, because a lone backslash is not +a valid PostScript character. + +Upstream: https://github.com/OpenPrinting/cups/commit/2431caddb7e6a87f04ac90b5c6366ad268b6ff31 +[Peter: drop CHANGES hunk] +Signed-off-by: Peter Korsgaard +--- + cups/raster-interpret.c | 14 +++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/cups/raster-interpret.c b/cups/raster-interpret.c +index 6fcf731b5..b8655c8c6 100644 +--- a/cups/raster-interpret.c ++++ b/cups/raster-interpret.c +@@ -1116,7 +1116,19 @@ scan_ps(_cups_ps_stack_t *st, /* I - Stack */ + + cur ++; + +- if (*cur == 'b') ++ /* ++ * Return NULL if we reached NULL terminator, a lone backslash ++ * is not a valid character in PostScript. ++ */ ++ ++ if (!*cur) ++ { ++ *ptr = NULL; ++ ++ return (NULL); ++ } ++ ++ if (*cur == 'b') + *valptr++ = '\b'; + else if (*cur == 'f') + *valptr++ = '\f'; +-- +2.30.2 + diff --git a/package/cups/cups.mk b/package/cups/cups.mk index a3bb2f8dfc..4bc5eeedee 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -13,6 +13,9 @@ CUPS_CPE_ID_VENDOR = openprinting CUPS_SELINUX_MODULES = cups CUPS_INSTALL_STAGING = YES +# 0005-raster-interpret.c-Fix-CVE-2023-4504.patch +CUPS_IGNORE_CVES += CVE-2023-4504 + # Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. define CUPS_RUN_AUTOCONF cd $(@D); $(AUTOCONF) -f -- 2.30.2 From fontaine.fabrice at gmail.com Sun Oct 1 14:23:56 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 16:23:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/tar: security bump to version 1.35 Message-ID: <20231001142356.908755-1-fontaine.fabrice@gmail.com> - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. - Update hash of COPYING (http replaced by https) https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html Signed-off-by: Fabrice Fontaine --- package/tar/tar.hash | 6 +++--- package/tar/tar.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/tar/tar.hash b/package/tar/tar.hash index 1914a9f3b4..108a95ee62 100644 --- a/package/tar/tar.hash +++ b/package/tar/tar.hash @@ -1,4 +1,4 @@ # Locally calculated after checking signature -sha256 63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz -sha256 51337b19c71df92cd4f51c50efe4dc6ddc267d31fd54679be9e9bc2e6ce8132b tar-1.34.cpio.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16 tar-1.35.tar.xz +sha256 c77a38fcf25b21fd8209d20d35638744344ded239cfc7df80138bf46d3c6b16d tar-1.35.cpio.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 690a5952ba..eea112ebc7 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -4,7 +4,7 @@ # ################################################################################ -TAR_VERSION = 1.34 +TAR_VERSION = 1.35 TAR_SOURCE = tar-$(TAR_VERSION).tar.xz TAR_SITE = $(BR2_GNU_MIRROR)/tar # busybox installs in /bin, so we need tar to install as well in /bin -- 2.40.1 From peter at korsgaard.com Sun Oct 1 14:36:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 16:36:23 +0200 Subject: [Buildroot] [PATCHv2] package/go: fix installation In-Reply-To: (yann morin's message of "Mon, 25 Sep 2023 13:34:16 +0200") References: Message-ID: <87il7q5s0o.fsf@48ers.dk> >>>>> writes: > From: "Yann E. MORIN" > When building for a target architecture that go does not support, the > isntallation fails with: > $ make host-go > [...] > ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ > ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory > Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a > host package, so it needs to be explicitly created before we can create > entries in there. > Signed-off-by: Yann E. MORIN > Cc: Christian Stewart > Cc: Anisse Astier > --- > Changes v1 -> v2: > - drop surious hunk Committed, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Oct 1 14:37:08 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 16:37:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/rwmem: fix build with gcc 13 Message-ID: <20231001143708.964342-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc 13: In file included from ../librwmem/itarget.h:3, from ../librwmem/i2ctarget.h:4, from ../librwmem/i2ctarget.cpp:1: ../librwmem/helpers.h:51:39: error: 'uint64_t' has not been declared 51 | int parse_u64(const std::string& str, uint64_t* value); | ^~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/38f6d0fb007c3dc3c21243721395f85649442407 Signed-off-by: Fabrice Fontaine --- .../rwmem/0001-include-missing-cstdint.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/rwmem/0001-include-missing-cstdint.patch diff --git a/package/rwmem/0001-include-missing-cstdint.patch b/package/rwmem/0001-include-missing-cstdint.patch new file mode 100644 index 0000000000..d8369d0739 --- /dev/null +++ b/package/rwmem/0001-include-missing-cstdint.patch @@ -0,0 +1,30 @@ +From 84e884f99e581515b49d8973538bb17e1e6c0dc0 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 20:45:57 -0800 +Subject: [PATCH] include missing + +gcc 13 moved some includes around and as a result is no +longer transitively included [1]. Explicitly include it for +uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj +Upstream: https://github.com/tomba/rwmem/commit/84e884f99e581515b49d8973538bb17e1e6c0dc0 +Signed-off-by: Fabrice Fontaine +--- + librwmem/helpers.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/librwmem/helpers.h b/librwmem/helpers.h +index a0a738b..8d02c9c 100644 +--- a/librwmem/helpers.h ++++ b/librwmem/helpers.h +@@ -1,6 +1,7 @@ + #pragma once + + #include ++#include + #include + #include + #include -- 2.40.1 From peter at korsgaard.com Sun Oct 1 14:38:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 16:38:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/syslog-ng: fix libressl build In-Reply-To: <20231001100009.468927-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 12:00:09 +0200") References: <20231001100009.468927-1-fontaine.fabrice@gmail.com> Message-ID: <87edie5rwh.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fox the following build failure with libressl raised since bump to > version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and > https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: > lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': > lib/transport/tls-context.c:320:3: error: unknown type name > 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? > 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); > | ^~~~~~~~~~~~ > | SSL_AEAD_CTX > Fixes: > - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 14:47:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 16:47:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/tar: security bump to version 1.35 In-Reply-To: <20231001142356.908755-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 16:23:56 +0200") References: <20231001142356.908755-1-fontaine.fabrice@gmail.com> Message-ID: <87a5t25rik.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds > read that results in use of uninitialized memory for a conditional > jump. Exploitation to change the flow of control has not been > demonstrated. The issue occurs in from_header in list.c via a V7 > archive in which mtime has approximately 11 whitespace characters. > - Update hash of COPYING (http replaced by https) > https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 14:46:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 16:46:25 +0200 Subject: [Buildroot] [git commit] package/tar: security bump to version 1.35 Message-ID: <20231001144733.34FFF83567@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d4d483451f0a305781b94b96c15a6cf4b489cd84 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. - Update hash of COPYING (http replaced by https) https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/tar/tar.hash | 6 +++--- package/tar/tar.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/tar/tar.hash b/package/tar/tar.hash index 1914a9f3b4..108a95ee62 100644 --- a/package/tar/tar.hash +++ b/package/tar/tar.hash @@ -1,4 +1,4 @@ # Locally calculated after checking signature -sha256 63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz -sha256 51337b19c71df92cd4f51c50efe4dc6ddc267d31fd54679be9e9bc2e6ce8132b tar-1.34.cpio.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16 tar-1.35.tar.xz +sha256 c77a38fcf25b21fd8209d20d35638744344ded239cfc7df80138bf46d3c6b16d tar-1.35.cpio.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 690a5952ba..eea112ebc7 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -4,7 +4,7 @@ # ################################################################################ -TAR_VERSION = 1.34 +TAR_VERSION = 1.35 TAR_SOURCE = tar-$(TAR_VERSION).tar.xz TAR_SITE = $(BR2_GNU_MIRROR)/tar # busybox installs in /bin, so we need tar to install as well in /bin From peter at korsgaard.com Sun Oct 1 14:38:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 16:38:17 +0200 Subject: [Buildroot] [git commit] package/syslog-ng: fix libressl build Message-ID: <20231001144733.2976583566@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b38aed4eb4246dff4815d85ae1603db2899fa98f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fox the following build failure with libressl raised since bump to version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); | ^~~~~~~~~~~~ | SSL_AEAD_CTX Fixes: - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...ransport-tls-context.c-fix-libressl-build.patch | 97 ++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch new file mode 100644 index 0000000000..17cc72b983 --- /dev/null +++ b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch @@ -0,0 +1,97 @@ +From ede106afd7d70a8f962acf10a4e3f4a50a70cb15 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Oct 2023 11:27:09 +0200 +Subject: [PATCH] lib/transport/tls-context.c: fix libressl build + +Fix the following build failure with libressl raised since version 4.0.0 +and +https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: + +lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': +lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? + 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); + | ^~~~~~~~~~~~ + | SSL_AEAD_CTX + +Fixes: + - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/syslog-ng/syslog-ng/pull/4655 +--- + cmake/openssl_functions.cmake | 1 + + configure.ac | 1 + + lib/transport/tls-context.c | 4 ++++ + syslog-ng-config.h.in | 1 + + 4 files changed, 7 insertions(+) + +diff --git a/cmake/openssl_functions.cmake b/cmake/openssl_functions.cmake +index 5afbd7f12..da06ca59a 100644 +--- a/cmake/openssl_functions.cmake ++++ b/cmake/openssl_functions.cmake +@@ -41,6 +41,7 @@ function (openssl_set_defines) + X509_get_extension_flags + DH_set0_pqg + BN_get_rfc3526_prime_2048 ++ SSL_CONF_CTX_new + SSL_CTX_set_num_tickets + SSL_CTX_set_ciphersuites + SSL_CTX_set1_sigalgs_list +diff --git a/configure.ac b/configure.ac +index d636bbefa..46e43db7b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1136,6 +1136,7 @@ AC_CHECK_DECLS([EVP_MD_CTX_reset], [], [], [[#include ]]) + AC_CHECK_DECLS([ASN1_STRING_get0_data], [], [], [[#include ]]) + AC_CHECK_DECLS([DH_set0_pqg], [], [], [[#include ]]) + AC_CHECK_DECLS([BN_get_rfc3526_prime_2048], [], [], [[#include ]]) ++AC_CHECK_DECLS([SSL_CONF_CTX_new],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set_num_tickets],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_sigalgs_list],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_client_sigalgs_list],[], [], [[#include ]]) +diff --git a/lib/transport/tls-context.c b/lib/transport/tls-context.c +index be2fea68d..713b63f31 100644 +--- a/lib/transport/tls-context.c ++++ b/lib/transport/tls-context.c +@@ -314,6 +314,7 @@ tls_context_setup_sigalgs(TLSContext *self) + return TRUE; + } + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + static gboolean + tls_context_setup_cmd_context(TLSContext *self) + { +@@ -347,6 +348,7 @@ tls_context_setup_cmd_context(TLSContext *self) + SSL_CONF_CTX_free(ssl_conf_ctx); + return result; + } ++#endif + + static PKCS12 * + _load_pkcs12_file(TLSContext *self, const gchar *pkcs12_file) +@@ -593,8 +595,10 @@ tls_context_setup_context(TLSContext *self) + if (!tls_context_setup_sigalgs(self)) + goto error; + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + if (!tls_context_setup_cmd_context(self)) + goto error; ++#endif + + return TLS_CONTEXT_SETUP_OK; + +diff --git a/syslog-ng-config.h.in b/syslog-ng-config.h.in +index 412294d2a..6d01b84a0 100644 +--- a/syslog-ng-config.h.in ++++ b/syslog-ng-config.h.in +@@ -60,6 +60,7 @@ + #cmakedefine ENV_LD_LIBRARY_PATH @ENV_LD_LIBRARY_PATH@ + #cmakedefine01 SYSLOG_NG_HAVE_DECL_EVP_MD_CTX_RESET + #cmakedefine01 SYSLOG_NG_HAVE_DECL_ASN1_STRING_GET0_DATA ++#cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_GET0_PARAM + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET_CIPHERSUITES + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET1_SIGALGS_LIST +-- +2.40.1 + From peter at korsgaard.com Sun Oct 1 14:35:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 16:35:55 +0200 Subject: [Buildroot] [git commit] package/go: fix installation Message-ID: <20231001144733.1C4B98348F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1db38d928292aaca493c80527008b9bd7e6db602 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master When building for a target architecture that go does not support, the installation fails with: $ make host-go [...] ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a host package, so it needs to be explicitly created before we can create entries in there. Signed-off-by: Yann E. MORIN Cc: Christian Stewart Cc: Anisse Astier Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index 1cb3fb40ee..6f080be5c0 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -147,6 +147,7 @@ define HOST_GO_INSTALL_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt + mkdir -p $(HOST_DIR)/bin ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/ ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/ From fontaine.fabrice at gmail.com Sun Oct 1 14:52:04 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 16:52:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnfs: bump to version 5.0.2 Message-ID: <20231001145204.994189-1-fontaine.fabrice@gmail.com> - Update patch - Handle pthread support added with https://github.com/sahlberg/libnfs/commit/f55637619ecbeb7c7bbd4143768b6b45100be86c https://github.com/sahlberg/libnfs/blob/libnfs-5.0.2/CHANGELOG Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 1 - package/libnfs/0001-Fix-include-sys-time.h.patch | 9 +++++---- package/libnfs/libnfs.hash | 2 +- package/libnfs/libnfs.mk | 8 +++++++- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 95695fa243..445bd63827 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -716,7 +716,6 @@ package/libmpeg2/0004-fix-sparc.patch Upstream package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch Upstream package/libnetfilter_conntrack/0001-conntrack-fix-build-with-kernel-5-15-and-musl.patch Upstream package/libnfc/0001-autotools-make-example-build-optional.patch Upstream -package/libnfs/0001-Fix-include-sys-time.h.patch Upstream package/libnids/0001-libpcap-use-pkg-config.patch Upstream package/libnl/0001-Add-musl-workaround-to-the-libc-compat.h-copy.patch Upstream package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch Upstream diff --git a/package/libnfs/0001-Fix-include-sys-time.h.patch b/package/libnfs/0001-Fix-include-sys-time.h.patch index 15b281672a..c3779f13a2 100644 --- a/package/libnfs/0001-Fix-include-sys-time.h.patch +++ b/package/libnfs/0001-Fix-include-sys-time.h.patch @@ -11,10 +11,11 @@ POSIX says `struct timeval` is defined if is included. Instead of the mess that is currently done based on the system on which the stuff is being compiled, include it unconditionally. -Reported upstream: -https://github.com/sahlberg/libnfs/issues/272 +Upstream: https://github.com/sahlberg/libnfs/issues/272 Signed-off-by: J?rg Krause +[Fabrice: update for 5.0.2] +Signed-off-by: Fabrice Fontaine --- include/nfsc/libnfs.h | 5 ----- 1 file changed, 5 deletions(-) @@ -27,8 +28,8 @@ index 09dcf1c..b6db58c 100755 #define _LIBNFS_H_ #include --#if defined(__ANDROID__) || defined(AROS) \ -- || ( defined(__APPLE__) && defined(__MACH__) ) +-#if defined(__ANDROID__) || defined(AROS) || defined(__PPU__) \ +- || ( defined(__APPLE__) && defined(__MACH__) ) || defined(__FreeBSD__) || defined(__OpenBSD__) #include -#else -#include diff --git a/package/libnfs/libnfs.hash b/package/libnfs/libnfs.hash index ffb6c62073..b67a5d2eda 100644 --- a/package/libnfs/libnfs.hash +++ b/package/libnfs/libnfs.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 6ee77e9fe220e2d3e3b1f53cfea04fb319828cc7dbb97dd9df09e46e901d797d libnfs-4.0.0.tar.gz +sha256 637e56643b19da9fba98f06847788c4dad308b723156a64748041035dcdf9bd3 libnfs-5.0.2.tar.gz sha256 edd960c0142b8ada98b43b6396b78f4e557b0bc70ac601a51e397ad04070e2c5 COPYING sha256 d9406ced95457941032aa11d04623b8ab71f2827a3395ebef137aec475be35b1 LICENCE-BSD.txt sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENCE-LGPL-2.1.txt diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk index 173b2c5b06..8dc4d8f545 100644 --- a/package/libnfs/libnfs.mk +++ b/package/libnfs/libnfs.mk @@ -4,11 +4,17 @@ # ################################################################################ -LIBNFS_VERSION = 4.0.0 +LIBNFS_VERSION = 5.0.2 LIBNFS_SITE = $(call github,sahlberg,libnfs,libnfs-$(LIBNFS_VERSION)) LIBNFS_INSTALL_STAGING = YES LIBNFS_AUTORECONF = YES LIBNFS_LICENSE = LGPL-2.1+ (library), BSD-2-Clause (protocol, .x files), GPL-3.0+ (examples) LIBNFS_LICENSE_FILES = COPYING LICENCE-BSD.txt LICENCE-LGPL-2.1.txt LICENCE-GPL-3.txt +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBNFS_CONF_OPTS += --enable-threads +else +LIBNFS_CONF_OPTS += --disable-threads +endif + $(eval $(autotools-package)) -- 2.40.1 From fontaine.fabrice at gmail.com Sun Oct 1 15:20:05 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 17:20:05 +0200 Subject: [Buildroot] [PATCH v2,1/1] package/libnfs: bump to version 5.0.2 Message-ID: <20231001152005.1015070-1-fontaine.fabrice@gmail.com> - Update patch - Handle pthread support added with https://github.com/sahlberg/libnfs/commit/f55637619ecbeb7c7bbd4143768b6b45100be86c https://github.com/sahlberg/libnfs/blob/libnfs-5.0.2/CHANGELOG Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2: - Rebase patch on current master .checkpackageignore | 1 - package/libnfs/0001-Fix-include-sys-time.h.patch | 9 +++++---- package/libnfs/libnfs.hash | 2 +- package/libnfs/libnfs.mk | 8 +++++++- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 95695fa243..445bd63827 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -716,7 +716,6 @@ package/libmpeg2/0004-fix-sparc.patch Upstream package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch Upstream package/libnetfilter_conntrack/0001-conntrack-fix-build-with-kernel-5-15-and-musl.patch Upstream package/libnfc/0001-autotools-make-example-build-optional.patch Upstream -package/libnfs/0001-Fix-include-sys-time.h.patch Upstream package/libnids/0001-libpcap-use-pkg-config.patch Upstream package/libnl/0001-Add-musl-workaround-to-the-libc-compat.h-copy.patch Upstream package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch Upstream diff --git a/package/libnfs/0001-Fix-include-sys-time.h.patch b/package/libnfs/0001-Fix-include-sys-time.h.patch index 15b281672a..c3779f13a2 100644 --- a/package/libnfs/0001-Fix-include-sys-time.h.patch +++ b/package/libnfs/0001-Fix-include-sys-time.h.patch @@ -11,10 +11,11 @@ POSIX says `struct timeval` is defined if is included. Instead of the mess that is currently done based on the system on which the stuff is being compiled, include it unconditionally. -Reported upstream: -https://github.com/sahlberg/libnfs/issues/272 +Upstream: https://github.com/sahlberg/libnfs/issues/272 Signed-off-by: J?rg Krause +[Fabrice: update for 5.0.2] +Signed-off-by: Fabrice Fontaine --- include/nfsc/libnfs.h | 5 ----- 1 file changed, 5 deletions(-) @@ -27,8 +28,8 @@ index 09dcf1c..b6db58c 100755 #define _LIBNFS_H_ #include --#if defined(__ANDROID__) || defined(AROS) \ -- || ( defined(__APPLE__) && defined(__MACH__) ) +-#if defined(__ANDROID__) || defined(AROS) || defined(__PPU__) \ +- || ( defined(__APPLE__) && defined(__MACH__) ) || defined(__FreeBSD__) || defined(__OpenBSD__) #include -#else -#include diff --git a/package/libnfs/libnfs.hash b/package/libnfs/libnfs.hash index ffb6c62073..b67a5d2eda 100644 --- a/package/libnfs/libnfs.hash +++ b/package/libnfs/libnfs.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 6ee77e9fe220e2d3e3b1f53cfea04fb319828cc7dbb97dd9df09e46e901d797d libnfs-4.0.0.tar.gz +sha256 637e56643b19da9fba98f06847788c4dad308b723156a64748041035dcdf9bd3 libnfs-5.0.2.tar.gz sha256 edd960c0142b8ada98b43b6396b78f4e557b0bc70ac601a51e397ad04070e2c5 COPYING sha256 d9406ced95457941032aa11d04623b8ab71f2827a3395ebef137aec475be35b1 LICENCE-BSD.txt sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENCE-LGPL-2.1.txt diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk index 5f950b5cde..b013decfc7 100644 --- a/package/libnfs/libnfs.mk +++ b/package/libnfs/libnfs.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNFS_VERSION = 4.0.0 +LIBNFS_VERSION = 5.0.2 LIBNFS_SITE = $(call github,sahlberg,libnfs,libnfs-$(LIBNFS_VERSION)) LIBNFS_INSTALL_STAGING = YES LIBNFS_AUTORECONF = YES @@ -16,4 +16,10 @@ ifeq ($(BR2_PACKAGE_LIBTIRPC),y) LIBNFS_DEPENDENCIES += libtirpc endif +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBNFS_CONF_OPTS += --enable-threads +else +LIBNFS_CONF_OPTS += --disable-threads +endif + $(eval $(autotools-package)) -- 2.40.1 From fontaine.fabrice at gmail.com Sun Oct 1 15:25:18 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 17:25:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/libstrophe: add c-ares optional dependency Message-ID: <20231001152518.1065457-1-fontaine.fabrice@gmail.com> c-ares is an optional dependency since version 0.10.0 and https://github.com/strophe/libstrophe/commit/a13847d9949f05920f94768495872807ae49c773 Signed-off-by: Fabrice Fontaine --- package/libstrophe/libstrophe.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libstrophe/libstrophe.mk b/package/libstrophe/libstrophe.mk index de9012e67f..ad0860ad30 100644 --- a/package/libstrophe/libstrophe.mk +++ b/package/libstrophe/libstrophe.mk @@ -13,6 +13,13 @@ LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt LIBSTROPHE_INSTALL_STAGING = YES LIBSTROPHE_CONF_OPTS = --disable-examples +ifeq ($(BR2_PACKAGE_C_ARES),y) +LIBSTROPHE_CONF_OPTS += --enable-cares +LIBSTROPHE_DEPENDENCIES += c-ares +else +LIBSTROPHE_CONF_OPTS += --disable-cares +endif + ifeq ($(BR2_PACKAGE_EXPAT),y) LIBSTROPHE_CONF_OPTS += --without-libxml2 LIBSTROPHE_DEPENDENCIES += expat -- 2.40.1 From fontaine.fabrice at gmail.com Sun Oct 1 15:38:01 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 17:38:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpam-tacplus: bump to version 1.7.0 Message-ID: <20231001153801.1123445-1-fontaine.fabrice@gmail.com> - Use official tarball - Drop patch (already in version) - Add patch to fix build failure https://github.com/kravietz/pam_tacplus/blob/v1.7.0/ChangeLog Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 1 - ...0001-Add-an-option-to-disable-Werror.patch | 55 ------------------- .../0001-Remove-conflicting-man-flag.patch | 23 ++++++++ package/libpam-tacplus/libpam-tacplus.hash | 2 +- package/libpam-tacplus/libpam-tacplus.mk | 8 +-- 5 files changed, 28 insertions(+), 61 deletions(-) delete mode 100644 package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch create mode 100644 package/libpam-tacplus/0001-Remove-conflicting-man-flag.patch diff --git a/.checkpackageignore b/.checkpackageignore index 445bd63827..a9cf6e475f 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -731,7 +731,6 @@ package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream -package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream diff --git a/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch b/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch deleted file mode 100644 index 80da2f35b4..0000000000 --- a/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 88c78901503d50d0a62d85c96994ca4d67ab61e0 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 13 Nov 2020 20:50:27 +0100 -Subject: [PATCH] Add an option to disable -Werror - -Allow the user to disable -Werror to avoid the following build failure -with gcc 4.8: - -libtac/lib/magic.c:138:13: error: ignoring return value of 'read', declared with attribute warn_unused_result [-Werror=unused-result] - (void) read(rfd, &seed, sizeof(seed)); - ^ - -Fixes: - - http://autobuild.buildroot.org/results/5c17226f12eba104d907693ec37fc101cc6d447f - -Signed-off-by: Fabrice Fontaine ---- - Makefile.am | 6 +++++- - configure.ac | 3 +++ - 2 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/Makefile.am b/Makefile.am -index 0be3cdb..4a137e9 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -8,7 +8,11 @@ - - ACLOCAL_AMFLAGS = -I config - AUTOMAKE_OPTIONS = subdir-objects --AM_CFLAGS = -Wall -Wextra -Werror -+AM_CFLAGS = -Wall -Wextra -+ -+if ENABLE_WERROR -+AM_CFLAGS += -Werror -+endif - - if TACC - bin_PROGRAMS = tacc -diff --git a/configure.ac b/configure.ac -index d0c5eba..dd8a966 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -100,6 +100,9 @@ AC_SUBST(pamdir) - AC_ARG_ENABLE(doc, AS_HELP_STRING([--disable-doc], [do not build docs])) - AM_CONDITIONAL(DOC, test "x$enable_doc" != "xno") - -+AC_ARG_ENABLE(werror, AS_HELP_STRING([--disable-werror], [do not build with -Werror])) -+AM_CONDITIONAL(ENABLE_WERROR, test "x$enable_werror" != "xno") -+ - dnl -------------------------------------------------------------------- - dnl Switch for run-time debugging - AC_ARG_ENABLE(runtime-debugging, [AS_HELP_STRING([--enable-runtime-debugging], --- -2.28.0 - diff --git a/package/libpam-tacplus/0001-Remove-conflicting-man-flag.patch b/package/libpam-tacplus/0001-Remove-conflicting-man-flag.patch new file mode 100644 index 0000000000..a832366cb1 --- /dev/null +++ b/package/libpam-tacplus/0001-Remove-conflicting-man-flag.patch @@ -0,0 +1,23 @@ +From 104044848ffb0a283e1f1bf3466693fa4af450e9 Mon Sep 17 00:00:00 2001 +From: Pawel Krawczyk +Date: Mon, 7 Nov 2022 22:10:52 +0000 +Subject: [PATCH] Remove conflicting man flag + +Upstream: https://github.com/kravietz/pam_tacplus/commit/104044848ffb0a283e1f1bf3466693fa4af450e9 +Signed-off-by: Fabrice Fontaine +--- + Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index a481d7a..ef2b92b 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -15,7 +15,6 @@ bin_PROGRAMS = tacc + tacc_SOURCES = tacc.c + tacc_LDADD = libtac.la $(LTLIBINTL) $(LIB_CRYPTO) $(LIB_GETRANDOM) + tacc_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/libtac/include @rt_debug_defines@ -I $(top_srcdir)/lib +-dist_man_MANS = tacc.1 + man1_MANS = tacc.1 + + lib_LTLIBRARIES = libtac.la diff --git a/package/libpam-tacplus/libpam-tacplus.hash b/package/libpam-tacplus/libpam-tacplus.hash index 084a3e54a4..fc1db9fef7 100644 --- a/package/libpam-tacplus/libpam-tacplus.hash +++ b/package/libpam-tacplus/libpam-tacplus.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 73961800dc0d5e422751ad4c9f09b1863ab33e381e0bdb2a1d0343dcfc30e44e libpam-tacplus-1.6.1.tar.gz +sha256 cf00e27b687c1fafe4b2cf35e648116e99e9c9832718a0d3b479bcf43370adf4 pam_tacplus-1.7.0.tar.gz sha256 b2b961f07e97c4fb78074276da304ea36b85dc299aae5efb79080cedaea3d5ac COPYING diff --git a/package/libpam-tacplus/libpam-tacplus.mk b/package/libpam-tacplus/libpam-tacplus.mk index ff0dce9c0b..044b7207f9 100644 --- a/package/libpam-tacplus/libpam-tacplus.mk +++ b/package/libpam-tacplus/libpam-tacplus.mk @@ -4,8 +4,9 @@ # ################################################################################ -LIBPAM_TACPLUS_VERSION = 1.6.1 -LIBPAM_TACPLUS_SITE = $(call github,jeroennijhof,pam_tacplus,v$(LIBPAM_TACPLUS_VERSION)) +LIBPAM_TACPLUS_VERSION = 1.7.0 +LIBPAM_TACPLUS_SOURCE = pam_tacplus-$(LIBPAM_TACPLUS_VERSION).tar.gz +LIBPAM_TACPLUS_SITE = https://github.com/kravietz/pam_tacplus/releases/download/v$(LIBPAM_TACPLUS_VERSION) LIBPAM_TACPLUS_LICENSE = GPL-2.0+ LIBPAM_TACPLUS_LICENSE_FILES = COPYING LIBPAM_TACPLUS_CPE_ID_VENDOR = pam_tacplus_project @@ -13,8 +14,7 @@ LIBPAM_TACPLUS_CPE_ID_PRODUCT = pam_tacplus LIBPAM_TACPLUS_DEPENDENCIES = \ linux-pam \ $(if $(BR2_PACKAGE_OPENSSL),openssl) -# Fetching from github, we need to generate the configure script -# 0001-Add-an-option-to-disable-Werror.patch +# We're patching Makefile.am LIBPAM_TACPLUS_AUTORECONF = YES LIBPAM_TACPLUS_INSTALL_STAGING = YES LIBPAM_TACPLUS_CONF_ENV = \ -- 2.40.1 From fontaine.fabrice at gmail.com Sun Oct 1 15:45:40 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 17:45:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/liburing: bump to version 2.4 Message-ID: <20231001154540.1131198-1-fontaine.fabrice@gmail.com> Update hash of README (changes not related to licensing) https://github.com/axboe/liburing/blob/liburing-2.4/CHANGELOG Signed-off-by: Fabrice Fontaine --- package/liburing/liburing.hash | 4 ++-- package/liburing/liburing.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/liburing/liburing.hash b/package/liburing/liburing.hash index 7d3306850f..eaee8fcfa1 100644 --- a/package/liburing/liburing.hash +++ b/package/liburing/liburing.hash @@ -1,8 +1,8 @@ # Locally calculated -sha256 0fcd25dc1eb32cbeb534219f8e7fcfeadbd8dc2304aa447148e5ca8408076f22 liburing-2.2.tar.bz2 +sha256 ca260e7a5820c2d0e737ec1e9b999f10776dbe84a169a02a0eff10c8eeaf3394 liburing-2.4.tar.bz2 # Hash for license files sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL sha256 2ec12f7934cdfce25ff72b0557738989d79fc7a496d1cf9b2d3f9464fd61edbe LICENSE -sha256 1c3351726408c22787dafbb5cc4bfeaa38ca8e92eabf59a36a046a5a2e66108f README +sha256 51e124279343177cb3c214ffddc011f1355b6eba0bbefca4f4c41fbc56574c92 README diff --git a/package/liburing/liburing.mk b/package/liburing/liburing.mk index e98c710997..c35fb39390 100644 --- a/package/liburing/liburing.mk +++ b/package/liburing/liburing.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBURING_VERSION = 2.2 +LIBURING_VERSION = 2.4 LIBURING_SOURCE = liburing-$(LIBURING_VERSION).tar.bz2 LIBURING_SITE = https://git.kernel.dk/cgit/liburing/snapshot LIBURING_LICENSE = (GPL-2.0 with exceptions and LGPL-2.1+) or MIT -- 2.40.1 From arnout at mind.be Sun Oct 1 15:48:15 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 17:48:15 +0200 Subject: [Buildroot] [git commit] package/pkg-generic.mk: fix rule order for reinstall/rebuild/reconfigure Message-ID: <20231001155825.C6C1E8386F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7e3105d5c8bd9ab31e728af9732a67d203c0a2e4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The reinstall, rebuild and reconfigure commands rely on the left-to-right order of evaluation of the dependencies to make sure that the stamp files are removed before attempting to rebuild. However, this order of evaluation is not guaranteed. In particular, if top-level parallel build is enabled, they are executed in parallel and the stamp file may not have been removed yet when it is evaluated to decide if rebuild has to be done. Since make 4.4, it is possible to reproduce this issue by passing `--shuffle=reverse` to the make commandline. To solve this, add a .WAIT directive between the clean and install/build/configure dependencies. .WAIT was introduced in make 4.4 as well. It makes sure that the dependencies on the left are evaluated before the dependencies on the right - exactly what we want here. Earlier versions of make don't know about .WAIT, so we need to add a .PHONY dependency to effectively ignore it. Note that this doesn't fix the problem for make versions earlier than 4.4. However, the issue isn't really that important: reinstall, rebuild and reconfigure are development tools, they're not fully reliable to begin with, and it's anyway less likely that someone uses `make -j` when doing a reinstall/rebuild/reconfigure. Signed-off-by: Arnout Vandecappelle Reported-by: James Hilliard --- Makefile | 3 +++ package/pkg-generic.mk | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a12564ff96..dc4dbc64e1 100644 --- a/Makefile +++ b/Makefile @@ -1260,4 +1260,7 @@ include docs/manual/manual.mk .PHONY: $(noconfig_targets) +# .WAIT was introduced in make 4.4. For older make, define it as phony. +.PHONY: .WAIT + endif #umask / $(CURDIR) / $(O) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index d55edb1b74..6e944dd6b7 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -1063,17 +1063,17 @@ endif rm -f $$($(2)_TARGET_INSTALL_IMAGES) rm -f $$($(2)_TARGET_INSTALL_HOST) -$(1)-reinstall: $(1)-clean-for-reinstall $(1) +$(1)-reinstall: $(1)-clean-for-reinstall .WAIT $(1) $(1)-clean-for-rebuild: $(1)-clean-for-reinstall rm -f $$($(2)_TARGET_BUILD) -$(1)-rebuild: $(1)-clean-for-rebuild $(1) +$(1)-rebuild: $(1)-clean-for-rebuild .WAIT $(1) $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild rm -f $$($(2)_TARGET_CONFIGURE) -$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) +$(1)-reconfigure: $(1)-clean-for-reconfigure .WAIT $(1) # define the PKG variable for all targets, containing the # uppercase package variable prefix From arnout at mind.be Sun Oct 1 16:05:19 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 18:05:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-generic.mk: fix rule order for re{install, build, configure} In-Reply-To: <20221018034605.800593-1-james.hilliard1@gmail.com> References: <20221018034605.800593-1-james.hilliard1@gmail.com> Message-ID: Hi James, On 18/10/2022 05:46, James Hilliard wrote: > These command rely on the clean operations being first so that the > stamp files being deleted will rebuild the targets. > > The execution ordering of the clean and rebuild operations may > change, for example if --shuffle=reversed is set. > > To ensure the evaluation order is always correct use double colon > rules to make the evaluation order explicit as per make docs: > > The double-colon rules for a target are executed in the order they > appear in the makefile. As noted in earlier discussions, this feels a bit hackish and it's not clear if this behaviour is going to be kept in future versions of make. Since make 4.4, however, there's a better solution: it introduced a .WAIT phony target that enforces the ordering of dependencies. So I instead made a commit[1] that uses that approach. Regards, Arnout [1] https://gitlab.com/buildroot.org/buildroot/-/commit/7e3105d5c8bd9ab31e728af9732a67d203c0a2e4 > > Signed-off-by: James Hilliard > --- > package/pkg-generic.mk | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index f24e03a325..6cb461af90 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -1057,17 +1057,20 @@ endif > rm -f $$($(2)_TARGET_INSTALL_IMAGES) > rm -f $$($(2)_TARGET_INSTALL_HOST) > > -$(1)-reinstall: $(1)-clean-for-reinstall $(1) > +$(1)-reinstall:: $(1)-clean-for-reinstall > +$(1)-reinstall:: $(1) > > $(1)-clean-for-rebuild: $(1)-clean-for-reinstall > rm -f $$($(2)_TARGET_BUILD) > > -$(1)-rebuild: $(1)-clean-for-rebuild $(1) > +$(1)-rebuild:: $(1)-clean-for-rebuild > +$(1)-rebuild:: $(1) > > $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild > rm -f $$($(2)_TARGET_CONFIGURE) > > -$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) > +$(1)-reconfigure:: $(1)-clean-for-reconfigure > +$(1)-reconfigure:: $(1) > > # define the PKG variable for all targets, containing the > # uppercase package variable prefix From yann.morin.1998 at free.fr Sun Oct 1 16:05:59 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 18:05:59 +0200 Subject: [Buildroot] [PATCH 2/2] package/skeleton-init-systemd: flexible reinstalls In-Reply-To: References: <20230505043002.1956-1-james.d.knight@live.com> Message-ID: <20231001160559.GM2579@scaer> James, All, On 2023-05-05 00:30 -0400, James Knight spake thusly: > The following commit tweaks the `skeleton-init-systemd` package to > gracefully handle if a user invokes a reinstall for the package (e.g. > when performing development tweaks to the initial skeleton). > > Signed-off-by: James Knight > --- > Only a suggestion; feel free to drop. I've spent a bit of time on this, and was about to apply... However, there are a few "issues" I noticed with it, mostly that /etc/fstab should not be used with systemd, but mount units should be used, and so /etc/fstab should only contain this one line, so it does not make much sense to have it "reinstallable". Also, with BR2_PER_PACKAGE_DIRECTORIES=y, when the "final" target is aggregated there is no guarantee that the modified file gets used in this case. Indeed, assuming the following dependency chain (simplified for the sake of the explanation): S <-- A <-- target/ `<-- Z <--' I.e. A depends on S (the skeleton), Z also depends on S, and the target is aggreagated from A and Z, and S. When you first build, Z inherits the fstab from S, and because it sorts after S, that the one that gets used. If you rebuild S, Z will not get rebuild, so will not get the new fstab. And thus when you assemble target after the rebuild, you still get the old file from Z, not the new one from S. (there are more complex cases, the above is just a trivial example). Finally, the only guarantee Buildroot really offers is fof a full build from scratch. And last, reinstalling a skeleton package is very rare, so fixing it is not worth the effort, considering all the above. So I just decided to drop it. Regards, Yann E. MORIN. > --- > .../skeleton-init-systemd.mk | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) > > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index 4076821c0c0429cf90681f4b16be114c44bde282..18ae91f2eea30277805ee82791c62d53f24dca1e 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -18,13 +18,23 @@ SKELETON_INIT_SYSTEMD_PROVIDES = skeleton > ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) > > define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW > - echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab > + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ > + echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab; \ > + else \ > + sed -i "s|/dev/root.*|/dev/root / auto rw 0 1|g" \ > + $(TARGET_DIR)/etc/fstab; \ > + fi > endef > > else > > define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW > - echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab > + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ > + echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab; \ > + else \ > + sed -i "s|/dev/root.*|/dev/root / auto ro 0 1|g" \ > + $(TARGET_DIR)/etc/fstab; \ > + fi > endef > > # On a R/O rootfs, /var is a tmpfs filesystem. So, at build time, we > @@ -78,9 +88,9 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS > mkdir -p $(TARGET_DIR)/home > mkdir -p $(TARGET_DIR)/srv > mkdir -p $(TARGET_DIR)/var > - ln -s ../run $(TARGET_DIR)/var/run > + ln -sf ../run $(TARGET_DIR)/var/run > # prevent install scripts to create var/lock as directory > - ln -s ../run/lock $(TARGET_DIR)/var/lock > + ln -sf ../run/lock $(TARGET_DIR)/var/lock > install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf > $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) > endef > -- > 2.40.1.windows.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Sun Oct 1 16:09:48 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 18:09:48 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/Makefile.in: set --shuffle=none for MAKE1 In-Reply-To: <20221016193014.3384022-1-james.hilliard1@gmail.com> References: <20221016193014.3384022-1-james.hilliard1@gmail.com> Message-ID: On 16/10/2022 21:30, James Hilliard wrote: > Make 4.4 introduces a shuffle mode which randomizes prerequisites > in order to better flush out issues with parallel builds, as this > mode randomizes prerequisites even when using -j1 builds we must > also explicitely mark parallel incompatible builds by setting > --shuffle=none which disables goals prerequisites randomization > for the parallel incompatible package when running in shuffle mode. > > Signed-off-by: James Hilliard Applied to master with a slightly extended commit message, thanks. Regards, Arnout > --- > Changes v1 -> v2: > - use --shuffle=none to disable shuffle for MAKE1 > --- > package/Makefile.in | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/package/Makefile.in b/package/Makefile.in > index 43d214bcbe..c69c201c46 100644 > --- a/package/Makefile.in > +++ b/package/Makefile.in > @@ -17,7 +17,9 @@ else > PARALLEL_JOBS := $(BR2_JLEVEL) > endif > > -MAKE1 := $(HOSTMAKE) -j1 > +# Only build one job at a time, *and* to not randomise goals and > +# prerequisites ordering in make 4.4+ > +MAKE1 := $(HOSTMAKE) -j1 $(if $(findstring --shuffle,$(MAKEFLAGS)),--shuffle=none) > override MAKE = $(HOSTMAKE) \ > $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) > From arnout at mind.be Sun Oct 1 16:06:36 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 1 Oct 2023 18:06:36 +0200 Subject: [Buildroot] [git commit] package/Makefile.in: set --shuffle=none for MAKE1 Message-ID: <20231001161002.2E303838C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f664d7dc24c70ef08ced78d5d3f50a8ad673ea02 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Make 4.4 introduces a shuffle mode which randomizes prerequisites in order to better flush out issues with parallel builds. On the other hand, we use MAKE1 to build packages that are known to be broken with parallel build. For these, passing the shuffle option would be counter-productive and lead to spurious build failures. The --shuffle=none option exists to turn off shuffling again. We can't add this option unconditionally, however, because Make < 4.4 doesn't know it. Therefore, conditionally pass --shuffle=none only if there is a shuffle option in MAKEFLAGS. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle --- package/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index 4953d2d418..5c11cae732 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -17,7 +17,9 @@ else PARALLEL_JOBS := $(BR2_JLEVEL) endif -MAKE1 := $(HOSTMAKE) -j1 +# Only build one job at a time, *and* to not randomise goals and +# prerequisites ordering in make 4.4+ +MAKE1 := $(HOSTMAKE) -j1 $(if $(findstring --shuffle,$(MAKEFLAGS)),--shuffle=none) override MAKE = $(HOSTMAKE) \ $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) From neal.frager at amd.com Sun Oct 1 16:11:23 2023 From: neal.frager at amd.com (Frager, Neal) Date: Sun, 1 Oct 2023 16:11:23 +0000 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: <877co67fgz.fsf@48ers.dk> References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> <877co67fgz.fsf@48ers.dk> Message-ID: Hello Peter, >>> Is this ok for both of you? >> >> I'm OK with the whole approach, except for the sentence "I do not >> believe there is currently any organized effort to upstream any of >> these patches"... which is probably already clear to the recipients >> of this message, and thus is not going to be solved in this thread, >> however I just want to be sure my position is clear. I'd also like to >> stress that I appreciate a lot the work you are doing to properly >> support the pmufw in Buildroot. Thanks! >> >> Luca > Your position is very clear. And I can assure you that both Ibai and I agree with it. > It would be much better if all of these binutils and gcc patches for > microblaze go upstream, and both Ibai and I have pushed for it > internally at AMD / Xilinx. > The only thing I can say is that change is always possible. > Yesterday, we could not build a zynqmp pmufw, versal plm or versal > psmfw in buildroot. Today, we have submitted a solution to change > that. > Tomorrow (figurative meaning the future), we hope to get all these > binutils and gcc patches upstream, so the upstream toolchain matches > the AMD Xilinx distributed toolchain. > One step at a time. > Sure! Sorry, I am somewhat late to the review game here. I wonder how this fits with Luca's zynqmp-pmufw-builder? >From my view, we can continue maintaining Luca's zynqmp-pmufw-builder in parallel. Buildroot will still offer the option to accept a pre-built pmufw binary without needing to build a microblaze toolchain, so if users prefer to build the pmufw outside of buildroot (to have a faster buildroot build perhaps), this capability will still be available. > E.G. today the setup is that the pmufw is built outside Buildroot and we just point the u-boot package to where it can fetch the prebuilt firmware binary - This is nice in the sense that it is fast and simple, but makes is somewhat annoying to make modifications to the firmware. > This series instead goes to the other extreme, E.G. we build the entire microblaze toolchain from scratch and then use it to build the firmware and use it in the u-boot package - This is nice because it is all in Buildroot and we have it all under control, but also brings quite some build time overhead for building the toolchain before building the (small) toolchain. You can naturally "solve" it by using two defconfigs, E.G. one that builds the pmufw and another that uses the prebuilt one, but it isn't very handy either. > Would an in between option not be more interesting, E.G. use (or download) a prebuilt microblaze toolchain and use that to build the firmware? That would still give the flexibility to easily tweak the firmware, but not the overhead of building the toolchain every time? > I guess the problems with that are what to do about the meta-xilinx patches and where/who wants to host a prebuilt one? This is a good point. As for the meta-xilinx patches, Ibai and I have started going through them and have even started upstreaming a few. The majority of the meta-xilinx patches are actually for enabling 64-bit microblaze support, which is not available in the upstream gnu binutils or gcc. Since we do not need 64-bit microblaze for the zynqmp pmufw or the versal plm and psmfw applications, we can easily skip these patches. Our current objective is to get all microblaze 32-bit bug fix and feature support patches (such as the barrel shift instructions used by the pmufw) upstreamed. Since this appears to be a small subset of the overall meta-xilinx patches, we hope to be able to enable the use of the upstream gnu binutils and gcc, so that the meta-xilinx patches will no longer be needed for our use case of building the zynqmp pmufw, versal plm and versal psmfw applications. However, in order to achieve what you are asking for, we would still need someone to host a pre-built microblaze compiler somewhere, if we would want to go this route. At the moment, it is not in the AMD Xilinx plan to host the toolchains somewhere outside of a Petalinux or Vitis download. If the upstream toolchain included all the necessary meta-xilinx patches, could bootlin potentially host a pre-built toolchain somewhere? Even if we add the option to use a pre-built microblaze toolchain, I would still like to include the option we have developed in buildroot to build and control everything within buildroot itself. It is true that the build time is longer, but many users like the option of building the toolchains they use and would be willing to pay the build time price to have this option. From my view, adding a pre-built toolchain option should not be "instead of" offering the option to build a toolchain, but should instead be an option in "addition to" building a toolchain. Basically, following the same concept as using the buildroot internal toolchain or supplying an external one for the main Linux toolchain. What are your thoughts? Best regards, Neal Frager AMD From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:08 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:08 +0200 Subject: [Buildroot] [git commit] package/llvm-project/llvm: add llvm dump support Message-ID: <20231001163133.E60F783DB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43da0b8f78c890750a84d5085ba8163d51876c52 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master LLVM_ENABLE_DUMP required by mesa3d rusticl: https://docs.mesa3d.org/rusticl.html Signed-off-by: Romain Naour Acked-by: Daniel Lang Signed-off-by: Thomas Petazzoni --- package/llvm-project/llvm/Config.in | 6 ++++++ package/llvm-project/llvm/llvm.mk | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/package/llvm-project/llvm/Config.in b/package/llvm-project/llvm/Config.in index ebb0fca66a..4ee84b3bcc 100644 --- a/package/llvm-project/llvm/Config.in +++ b/package/llvm-project/llvm/Config.in @@ -57,6 +57,12 @@ config BR2_PACKAGE_LLVM_BPF Build BPF target. Select this option if you are going to install bcc on the target. +config BR2_PACKAGE_LLVM_DUMP + bool "enable dump" + help + Build LLVM with dump functions even when assertions are + disabled. + endif comment "llvm needs a toolchain w/ wchar, threads, C++, gcc >= 7, dynamic library, host gcc >= 7" diff --git a/package/llvm-project/llvm/llvm.mk b/package/llvm-project/llvm/llvm.mk index 556a2f8c35..6598d8b6c1 100644 --- a/package/llvm-project/llvm/llvm.mk +++ b/package/llvm-project/llvm/llvm.mk @@ -228,6 +228,13 @@ HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=OFF LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=OFF endif +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_DUMP=OFF +ifeq ($(BR2_PACKAGE_LLVM_DUMP),y) +LLVM_CONF_OPTS += -DLLVM_ENABLE_DUMP=ON +else +LLVM_CONF_OPTS += -DLLVM_ENABLE_DUMP=OFF +endif + # Compiler-rt not in the source tree. # llvm runtime libraries are not in the source tree. # Polly is not in the source tree. From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:12 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:12 +0200 Subject: [Buildroot] [git commit] package/spirv-llvm-translator: use host-spirv-headers Message-ID: <20231001163134.2710383DB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d249ed0bcd976b37424f8b46f2b7e0ef3fac0528 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master We recently discovered that host-spirv-llvm-translator downloads the SPIR-V headers during its build process, which is bad. Now that we have a host variant of spirv-headers, we use it to avoid the "downloading during the build". Signed-off-by: Thomas Petazzoni --- package/spirv-llvm-translator/spirv-llvm-translator.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/spirv-llvm-translator/spirv-llvm-translator.mk b/package/spirv-llvm-translator/spirv-llvm-translator.mk index 37db47340e..523890a986 100644 --- a/package/spirv-llvm-translator/spirv-llvm-translator.mk +++ b/package/spirv-llvm-translator/spirv-llvm-translator.mk @@ -10,11 +10,13 @@ SPIRV_LLVM_TRANSLATOR_VERSION = v15.0.0-46-ge82ecc2bd7295604fcf1824e47c95fa6a09c SPIRV_LLVM_TRANSLATOR_SITE = $(call github,KhronosGroup,SPIRV-LLVM-Translator,$(SPIRV_LLVM_TRANSLATOR_VERSION)) SPIRV_LLVM_TRANSLATOR_LICENSE = NCSA SPIRV_LLVM_TRANSLATOR_LICENSE_FILES = LICENSE.TXT -HOST_SPIRV_LLVM_TRANSLATOR_DEPENDENCIES = host-clang host-llvm +HOST_SPIRV_LLVM_TRANSLATOR_DEPENDENCIES = host-clang host-llvm host-spirv-headers HOST_SPIRV_LLVM_TRANSLATOR_CONF_OPTS = \ -DLLVM_BUILD_TOOLS=ON \ -DLLVM_DIR=$(HOST_DIR)/lib/cmake/llvm \ -DLLVM_SPIRV_BUILD_EXTERNAL=YES \ - -DLLVM_SPIRV_INCLUDE_TESTS=OFF + -DLLVM_SPIRV_INCLUDE_TESTS=OFF \ + -DLLVM_EXTERNAL_PROJECTS="SPIRV-Headers" \ + -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=$(HOST_DIR)/include $(eval $(host-cmake-package)) From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:07 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:07 +0200 Subject: [Buildroot] [git commit] package/rust-bindgen: new host package Message-ID: <20231001163133.D9A3D83DB7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=19372d52ab42be240561583896554e5eb29db72c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master host-rust-bindgen will be required to build several different rust-based packages, including a Linux kernel with rust modules and mesa3d's rusticl which is the rust-based implementation of OpenCL. The Cargo.toml file at the project root is a "virtual manifest". Since we only want to install rust-bindgen, we can specify RUST_BINDGEN_SUBDIR = bindgen-cli to use the Cargo.toml from this directory. Signed-off-by: Romain Naour Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/rust-bindgen/rust-bindgen.hash | 3 +++ package/rust-bindgen/rust-bindgen.mk | 17 +++++++++++++++++ 3 files changed, 21 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index bc4027932c..c1d9577ba5 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2649,6 +2649,7 @@ F: package/ripgrep/ N: Sebastian Weyer F: package/amlogic-boot-fip/ F: package/nushell/ +F: package/rust-bindgen/ F: support/testing/tests/package/sample_nu.nu F: support/testing/tests/package/test_nu.py diff --git a/package/rust-bindgen/rust-bindgen.hash b/package/rust-bindgen/rust-bindgen.hash new file mode 100644 index 0000000000..fe94bbc096 --- /dev/null +++ b/package/rust-bindgen/rust-bindgen.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 e1cdbaa8e0ed96f647e49807aecfc44d9239d438c2b1c084edb9a3cca0b1f68f rust-bindgen-0.65.1.tar.gz +sha256 c23953d9deb0a3312dbeaf6c128a657f3591acee45067612fa68405eaa4525db LICENSE diff --git a/package/rust-bindgen/rust-bindgen.mk b/package/rust-bindgen/rust-bindgen.mk new file mode 100644 index 0000000000..aa0d7d44a4 --- /dev/null +++ b/package/rust-bindgen/rust-bindgen.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# rust-bindgen +# +################################################################################ + +RUST_BINDGEN_VERSION = 0.65.1 +RUST_BINDGEN_SITE = $(call github,rust-lang,rust-bindgen,v$(RUST_BINDGEN_VERSION)) +RUST_BINDGEN_LICENSE = BSD-3-clause +RUST_BINDGEN_LICENSE_FILES = LICENSE + +# The Cargo.toml at the root directory is a "virtual manifest". +# Since we only want to build and install bindgen use the Cargo.toml +# from the bindgen-cli subdirectory. +RUST_BINDGEN_SUBDIR = bindgen-cli + +$(eval $(host-cargo-package)) From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:11 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:11 +0200 Subject: [Buildroot] [git commit] package/spirv-headers: add host variant Message-ID: <20231001163134.1C71A83DB7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=93a981cd9db69c0cdb18d15c92ee01eb58ca1941 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master We discovered that the existing host-spirv-llvm-translator package downloads the spirv-headers during its build process, which of course is very wrong. In order to fix this, we first introduce a host variant of the spirv-headers. Signed-off-by: Thomas Petazzoni --- package/spirv-headers/spirv-headers.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/spirv-headers/spirv-headers.mk b/package/spirv-headers/spirv-headers.mk index ff43dfd8e9..9f84c42b2d 100644 --- a/package/spirv-headers/spirv-headers.mk +++ b/package/spirv-headers/spirv-headers.mk @@ -14,3 +14,4 @@ SPIRV_HEADERS_INSTALL_STAGING = YES SPIRV_HEADERS_INSTALL_TARGET = NO $(eval $(cmake-package)) +$(eval $(host-cmake-package)) From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:09 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:09 +0200 Subject: [Buildroot] [git commit] package/spirv-headers: new package Message-ID: <20231001163134.01CC683DB9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4947445f278c1ca4476ca48220a5c1a7fb8ff9d4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master These headers are required to build the pacakge spirv-tools which is requried by mesa3d for building rusticl: https://docs.mesa3d.org/rusticl.html Signed-off-by: Romain Naour Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/spirv-headers/Config.in | 6 ++++++ package/spirv-headers/spirv-headers.hash | 3 +++ package/spirv-headers/spirv-headers.mk | 15 +++++++++++++++ 5 files changed, 26 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index c1d9577ba5..c45e7315da 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2650,6 +2650,7 @@ N: Sebastian Weyer F: package/amlogic-boot-fip/ F: package/nushell/ F: package/rust-bindgen/ +F: package/spirv-headers/ F: support/testing/tests/package/sample_nu.nu F: support/testing/tests/package/test_nu.py diff --git a/package/Config.in b/package/Config.in index d6364f976a..d673f0616d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -370,6 +370,7 @@ comment "Graphic libraries" source "package/sdl2_mixer/Config.in" source "package/sdl2_net/Config.in" source "package/sdl2_ttf/Config.in" + source "package/spirv-headers/Config.in" source "package/tk/Config.in" source "package/vulkan-headers/Config.in" source "package/vulkan-loader/Config.in" diff --git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in new file mode 100644 index 0000000000..fd20f301d4 --- /dev/null +++ b/package/spirv-headers/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_SPIRV_HEADERS + bool "spirv-headers" + help + Machine-readable files for the SPIR-V Registry + + https://www.khronos.org/registry/spir-v diff --git a/package/spirv-headers/spirv-headers.hash b/package/spirv-headers/spirv-headers.hash new file mode 100644 index 0000000000..136f3df733 --- /dev/null +++ b/package/spirv-headers/spirv-headers.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 32b4c6ae6a2fa9b56c2c17233c8056da47e331f76e117729925825ea3e77a739 spirv-headers-1.3.261.1.tar.gz +sha256 9b243f6f0bf44e295ff411a0f7b7642d1d0dff7cdc42507e9f7206f439e51b5a LICENSE diff --git a/package/spirv-headers/spirv-headers.mk b/package/spirv-headers/spirv-headers.mk new file mode 100644 index 0000000000..3ab506e0db --- /dev/null +++ b/package/spirv-headers/spirv-headers.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# spirv-headers +# +################################################################################ + +SPIRV_HEADERS_VERSION = 1.3.261.1 +SPIRV_HEADERS_SITE = $(call github,KhronosGroup,SPIRV-Headers,sdk-$(SPIRV_HEADERS_VERSION)) +SPIRV_HEADERS_LICENSE = MIT +SPIRV_HEADERS_LICENSE_FILES = LICENSE + +SPIRV_HEADERS_INSTALL_STAGING = YES +SPIRV_HEADERS_INSTALL_TARGET = NO + +$(eval $(cmake-package)) From thomas.petazzoni at bootlin.com Sun Oct 1 16:31:10 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:31:10 +0200 Subject: [Buildroot] [git commit] package/spirv-tools: new package Message-ID: <20231001163134.10D4483DBA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0a01085abeb7d8a097cb68b9f7f4faec7711543c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package is required by mesa3d for building rusticl: https://docs.mesa3d.org/rusticl.html As the version needs to be kept in sync between spirv-headers and spirv-tools, we add a small comment about this in each package. Signed-off-by: Romain Naour Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/spirv-headers/spirv-headers.mk | 1 + package/spirv-tools/Config.in | 8 ++++++++ package/spirv-tools/spirv-tools.hash | 3 +++ package/spirv-tools/spirv-tools.mk | 21 +++++++++++++++++++++ 5 files changed, 34 insertions(+) diff --git a/package/Config.in b/package/Config.in index d673f0616d..009f7ba186 100644 --- a/package/Config.in +++ b/package/Config.in @@ -327,6 +327,7 @@ comment "Graphic applications" source "package/pngquant/Config.in" source "package/qt5cinex/Config.in" source "package/rrdtool/Config.in" + source "package/spirv-tools/Config.in" source "package/stellarium/Config.in" source "package/sway/Config.in" source "package/swaybg/Config.in" diff --git a/package/spirv-headers/spirv-headers.mk b/package/spirv-headers/spirv-headers.mk index 3ab506e0db..ff43dfd8e9 100644 --- a/package/spirv-headers/spirv-headers.mk +++ b/package/spirv-headers/spirv-headers.mk @@ -4,6 +4,7 @@ # ################################################################################ +# Keep in sync with spirv-tools version SPIRV_HEADERS_VERSION = 1.3.261.1 SPIRV_HEADERS_SITE = $(call github,KhronosGroup,SPIRV-Headers,sdk-$(SPIRV_HEADERS_VERSION)) SPIRV_HEADERS_LICENSE = MIT diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in new file mode 100644 index 0000000000..e2f46253a9 --- /dev/null +++ b/package/spirv-tools/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_SPIRV_TOOLS + bool "spirv-tools" + select BR2_PACKAGE_SPIRV_HEADERS + help + The SPIR-V Tools project provides an API and commands for + processing SPIR-V modules. + + https://github.com/KhronosGroup/SPIRV-Tools diff --git a/package/spirv-tools/spirv-tools.hash b/package/spirv-tools/spirv-tools.hash new file mode 100644 index 0000000000..65cb9c619b --- /dev/null +++ b/package/spirv-tools/spirv-tools.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 ead95c626ad482882a141d1aa0ce47b9453871f72c42c0b28d39c82f60a52008 spirv-tools-1.3.261.1.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/spirv-tools/spirv-tools.mk b/package/spirv-tools/spirv-tools.mk new file mode 100644 index 0000000000..e863911b03 --- /dev/null +++ b/package/spirv-tools/spirv-tools.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# spirv-tools +# +################################################################################ + +# Keep in sync with spirv-headers version +SPIRV_TOOLS_VERSION = 1.3.261.1 +SPIRV_TOOLS_SITE = $(call github,KhronosGroup,SPIRV-Tools,sdk-$(SPIRV_TOOLS_VERSION)) +SPIRV_TOOLS_LICENSE = Apache-2.0 +SPIRV_TOOLS_LICENSE_FILES = LICENSE +SPIRV_TOOLS_DEPENDENCIES = spirv-headers +SPIRV_TOOLS_INSTALL_STAGING = YES + +SPIRV_TOOLS_CONF_OPTS = \ + -DSPIRV-Headers_SOURCE_DIR=$(STAGING_DIR)/usr \ + -DSPIRV_TOOLS_BUILD_STATIC=OFF \ + -DSPIRV_SKIP_TESTS=ON \ + -DSPIRV_WERROR=OFF + +$(eval $(cmake-package)) From giulio.benetti at benettiengineering.com Sun Oct 1 16:36:29 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 Oct 2023 18:36:29 +0200 Subject: [Buildroot] [PATCH v6] package/apache: add option to disable server Message-ID: <20231001163629.2635480-1-giulio.benetti@benettiengineering.com> From: Giulio Benetti Other packages (e.g. mongoose) can use htdigest and htpasswd, but those are only available with apache. We don't want to build the whole apache server just for those tools, so we add an option to disable the server; it is enabled by default for legacy purposes (so that existing (def)configs still work). However, there is no way to tell the apache buildsystem to only build those two tools, so we have to provide custom build and install commands. Cc: Jim Reinhart Cc: James Autry Cc: Matthew Maron Signed-off-by: Giulio Benetti --- V1->V2: * Hide "External Apache modules" if BR2_PACKAGE_APACHE_UTILS_ONLY is enabled V2->V3: as suggested by Arnout: * change negative option BR2_PACKAGE_APACHE_UTILS_ONLY to BR2_PACKAGE_APACHE_DAEMON * set a common APACHE_CONF_OPTS and only add specific options for BR2_PACKAGE_APACHE_DAEMON enabled or not V3->V4: * drop --with-static-* options as suggested by Arnout V4->V5: as suggested by Yann: * drop BR2_PACKAGE_APACHE check in package/Config.in for package/modsecurity2/Config.in * make BR2_PACKAGE_PHP_SAPI_APACHE depends on BR2_PACKAGE_APACHE_DAEMON * improve commit log V5->V6: as suggested by Romain: * update apparmor BR2_PACKAGE_APACHE to BR2_PACKAGE_APACHE_DAEMON --- package/Config.in | 2 -- package/apache/Config.in | 9 +++++++++ package/apache/apache.mk | 20 +++++++++++++++++--- package/apparmor/apparmor.mk | 2 +- package/modsecurity2/Config.in | 2 +- package/php/Config.in | 2 +- 6 files changed, 29 insertions(+), 8 deletions(-) diff --git a/package/Config.in b/package/Config.in index 90cfe25d05..a037fd50de 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2289,11 +2289,9 @@ menu "Networking applications" source "package/alfred/Config.in" source "package/aoetools/Config.in" source "package/apache/Config.in" -if BR2_PACKAGE_APACHE menu "External Apache modules" source "package/modsecurity2/Config.in" endmenu -endif source "package/argus/Config.in" source "package/arp-scan/Config.in" source "package/arptables/Config.in" diff --git a/package/apache/Config.in b/package/apache/Config.in index 270296bce4..5e9e4c5f9d 100644 --- a/package/apache/Config.in +++ b/package/apache/Config.in @@ -17,6 +17,14 @@ config BR2_PACKAGE_APACHE if BR2_PACKAGE_APACHE +config BR2_PACKAGE_APACHE_DAEMON + bool "apache-daemon" + default y + help + Provide entire Apache daemon, otherwise only htdigest and htpasswd + will be built and installed. + +if BR2_PACKAGE_APACHE_DAEMON choice prompt "Multi-Processing Module (MPM)" default BR2_PACKAGE_APACHE_MPM_WORKER @@ -40,6 +48,7 @@ config BR2_PACKAGE_APACHE_MPM_WORKER Implements a hybrid multi-threaded multi-process web server endchoice +endif endif diff --git a/package/apache/apache.mk b/package/apache/apache.mk index 320a6ad20e..994842b455 100644 --- a/package/apache/apache.mk +++ b/package/apache/apache.mk @@ -12,8 +12,6 @@ APACHE_LICENSE_FILES = LICENSE APACHE_CPE_ID_VENDOR = apache APACHE_CPE_ID_PRODUCT = http_server APACHE_SELINUX_MODULES = apache -# Needed for mod_php -APACHE_INSTALL_STAGING = YES # We have a patch touching configure.in and Makefile.in, # so we need to autoreconf: APACHE_AUTORECONF = YES @@ -32,10 +30,16 @@ APACHE_MPM = worker endif APACHE_CONF_OPTS = \ - --sysconfdir=/etc/apache2 \ --with-apr=$(STAGING_DIR)/usr \ --with-apr-util=$(STAGING_DIR)/usr \ --with-pcre=$(STAGING_DIR)/usr/bin/pcre2-config \ + +ifeq ($(BR2_PACKAGE_APACHE_DAEMON),y) +# Needed for mod_php +APACHE_INSTALL_STAGING = YES + +APACHE_CONF_OPTS += \ + --sysconfdir=/etc/apache2 \ --enable-http \ --enable-dbd \ --enable-proxy \ @@ -121,5 +125,15 @@ define APACHE_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/apache/apache.service \ $(TARGET_DIR)/usr/lib/systemd/system/apache.service endef +else +define APACHE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/support htdigest htpasswd +endef + +define APACHE_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/support/htdigest $(TARGET_DIR)/usr/bin/htdigest + $(INSTALL) -m 0755 -D $(@D)/support/htpasswd $(TARGET_DIR)/usr/bin/htpasswd +endef +endif $(eval $(autotools-package)) diff --git a/package/apparmor/apparmor.mk b/package/apparmor/apparmor.mk index eeedd805e6..f3ac27c5ed 100644 --- a/package/apparmor/apparmor.mk +++ b/package/apparmor/apparmor.mk @@ -50,7 +50,7 @@ APPARMOR_DEPENDENCIES += linux-pam APPARMOR_TOOLS += changehat/pam_apparmor endif -ifeq ($(BR2_PACKAGE_APACHE),y) +ifeq ($(BR2_PACKAGE_APACHE_DAEMON),y) APPARMOR_DEPENDENCIES += apache APPARMOR_TOOLS += changehat/mod_apparmor APPARMOR_MAKE_OPTS += APXS=$(STAGING_DIR)/usr/bin/apxs diff --git a/package/modsecurity2/Config.in b/package/modsecurity2/Config.in index fb1bfc960e..40c5fc55bc 100644 --- a/package/modsecurity2/Config.in +++ b/package/modsecurity2/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_MODSECURITY2 bool "modsecurity2" - depends on BR2_PACKAGE_APACHE + depends on BR2_PACKAGE_APACHE_DAEMON select BR2_PACKAGE_LIBXML2 select BR2_PACKAGE_PCRE2 help diff --git a/package/php/Config.in b/package/php/Config.in index 69b4268c1d..3a9e37dab6 100644 --- a/package/php/Config.in +++ b/package/php/Config.in @@ -36,7 +36,7 @@ if BR2_PACKAGE_PHP config BR2_PACKAGE_PHP_SAPI_APACHE bool "Apache interface" - depends on BR2_PACKAGE_APACHE + depends on BR2_PACKAGE_APACHE_DAEMON help Apache module -- 2.34.1 From thomas at devoogdt.com Sun Oct 1 16:36:20 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:36:20 +0200 Subject: [Buildroot] [PATCH v3 2/4] package/webkitgtk: make gbm support optional In-Reply-To: <87v8bq5yc4.fsf@48ers.dk> References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <20230929075844.1145939-2-thomas.devoogdt@barco.com> <87v8bq5yc4.fsf@48ers.dk> Message-ID: Hi Peter, all, The USE_GBM flag is only useful if USE_OPENGL_OR_ES is set, otherwise, the flag is ignored. But if USE_OPENGL_OR_ES has been set, then the default is that USE_GBM is also set, and that is what this commit avoids. About USE_OPENGL_OR_ES, yes, we only should enable it if we support it. It's a bit unclear to me what the exact dependencies are to enable it. According to this https://github.com/WebKit/WebKit/blob/e92f5f33fd267fc387efd7099bb6970e24e71afd/Source/cmake/OptionsGTK.cmake#L337, a fully functional EGL implementation is required. The flag USE_OPENGL_OR_ES on the other hand implies that libgl or libgles is sufficient, but this commit https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4, indicates that libgles is exclusively required. I also saw that mesa's libgles implementation depends on libegl (https://docs.mesa3d.org/opengles.html), so by this reason, I've added in a follow-up commit/bump, the USE_OPENGL_OR_ES under the libgles condition. Kr, Thomas Op zo 1 okt 2023 om 14:20 schreef Peter Korsgaard : > > >>>>> "Thomas" == Thomas Devoogdt writes: > > > From: Thomas Devoogdt > > This was added upstream in commit: > > > https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 > > This talks about gbm AND libdrm, but you don't seem to handle libdrm > here? > > > The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', > > Should we then not disable USE_OPENGL_OR_ES and only enable it if we > have opengl? > > -- > Bye, Peter Korsgaard > From giulio.benetti at benettiengineering.com Sun Oct 1 16:37:52 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 Oct 2023 18:37:52 +0200 Subject: [Buildroot] [PATCH v5] package/apache: add option to disable server In-Reply-To: <5e9b4a43-e16c-b2d5-09b7-cb1582a4b513@smile.fr> References: <20230922211816.13469-1-giulio.benetti@benettiengineering.com> <5e9b4a43-e16c-b2d5-09b7-cb1582a4b513@smile.fr> Message-ID: <741cc519-4d75-41ca-8bac-8b6318a36ab3@benettiengineering.com> Hi Romain, On 01/10/23 15:32, Romain Naour wrote: > Hello Giulio, > > Le 22/09/2023 ? 23:18, Giulio Benetti a ?crit?: >> From: Giulio Benetti >> >> Other packages (e.g. mongoose) can use htdigest and htpasswd, but those >> are only available with apache. >> >> We don't want to build the whole apache server just for those tools, so >> we add an option to disable the server; it is enabled by default for >> legacy purposes (so that existing (def)configs still work). >> >> However, there is no way to tell the apache buildsystem to only build >> those two tools, so we have to provide custom build and install >> commands. >> >> Cc: Jim Reinhart >> Cc: James Autry >> Cc: Matthew Maron >> Signed-off-by: Giulio Benetti >> --- >> V1->V2: >> * Hide "External Apache modules" if BR2_PACKAGE_APACHE_UTILS_ONLY is enabled >> V2->V3: >> as suggested by Arnout: >> * change negative option BR2_PACKAGE_APACHE_UTILS_ONLY to BR2_PACKAGE_APACHE_DAEMON >> * set a common APACHE_CONF_OPTS and only add specific options for >> BR2_PACKAGE_APACHE_DAEMON enabled or not >> V3->V4: >> * drop --with-static-* options as suggested by Arnout >> V4->V5: >> as suggested by Yann: >> * drop BR2_PACKAGE_APACHE check in package/Config.in for >> package/modsecurity2/Config.in >> * make BR2_PACKAGE_PHP_SAPI_APACHE depends on BR2_PACKAGE_APACHE_DAEMON >> * improve commit log >> --- >> package/Config.in | 2 -- >> package/apache/Config.in | 9 +++++++++ >> package/apache/apache.mk | 20 +++++++++++++++++--- >> package/modsecurity2/Config.in | 2 +- >> package/php/Config.in | 2 +- >> 5 files changed, 28 insertions(+), 7 deletions(-) >> >> diff --git a/package/Config.in b/package/Config.in >> index cc99be39fb..db6cf432e3 100644 >> --- a/package/Config.in >> +++ b/package/Config.in >> @@ -2279,11 +2279,9 @@ menu "Networking applications" >> source "package/alfred/Config.in" >> source "package/aoetools/Config.in" >> source "package/apache/Config.in" >> -if BR2_PACKAGE_APACHE >> menu "External Apache modules" >> source "package/modsecurity2/Config.in" >> endmenu >> -endif >> source "package/argus/Config.in" >> source "package/arp-scan/Config.in" >> source "package/arptables/Config.in" >> diff --git a/package/apache/Config.in b/package/apache/Config.in >> index 270296bce4..5e9e4c5f9d 100644 >> --- a/package/apache/Config.in >> +++ b/package/apache/Config.in >> @@ -17,6 +17,14 @@ config BR2_PACKAGE_APACHE >> >> if BR2_PACKAGE_APACHE >> >> +config BR2_PACKAGE_APACHE_DAEMON >> + bool "apache-daemon" >> + default y >> + help >> + Provide entire Apache daemon, otherwise only htdigest and htpasswd >> + will be built and installed. >> + >> +if BR2_PACKAGE_APACHE_DAEMON >> choice >> prompt "Multi-Processing Module (MPM)" >> default BR2_PACKAGE_APACHE_MPM_WORKER >> @@ -40,6 +48,7 @@ config BR2_PACKAGE_APACHE_MPM_WORKER >> Implements a hybrid multi-threaded multi-process web server > > What about apparmor package? > package/apparmor/apparmor.mk:ifeq ($(BR2_PACKAGE_APACHE),y) > > it seems we need to use BR2_PACKAGE_APACHE_DAEMON with this change. you're totally right. Just sent v6 with that change: https://patchwork.ozlabs.org/project/buildroot/patch/20231001163629.2635480-1-giulio.benetti at benettiengineering.com/ Thank you! Best regards -- Giulio Benetti CEO&CTO at Benetti Engineering sas > Best regards, > Romain > > >> >> endchoice >> +endif >> >> endif >> >> diff --git a/package/apache/apache.mk b/package/apache/apache.mk >> index 320a6ad20e..994842b455 100644 >> --- a/package/apache/apache.mk >> +++ b/package/apache/apache.mk >> @@ -12,8 +12,6 @@ APACHE_LICENSE_FILES = LICENSE >> APACHE_CPE_ID_VENDOR = apache >> APACHE_CPE_ID_PRODUCT = http_server >> APACHE_SELINUX_MODULES = apache >> -# Needed for mod_php >> -APACHE_INSTALL_STAGING = YES >> # We have a patch touching configure.in and Makefile.in, >> # so we need to autoreconf: >> APACHE_AUTORECONF = YES >> @@ -32,10 +30,16 @@ APACHE_MPM = worker >> endif >> >> APACHE_CONF_OPTS = \ >> - --sysconfdir=/etc/apache2 \ >> --with-apr=$(STAGING_DIR)/usr \ >> --with-apr-util=$(STAGING_DIR)/usr \ >> --with-pcre=$(STAGING_DIR)/usr/bin/pcre2-config \ >> + >> +ifeq ($(BR2_PACKAGE_APACHE_DAEMON),y) >> +# Needed for mod_php >> +APACHE_INSTALL_STAGING = YES >> + >> +APACHE_CONF_OPTS += \ >> + --sysconfdir=/etc/apache2 \ >> --enable-http \ >> --enable-dbd \ >> --enable-proxy \ >> @@ -121,5 +125,15 @@ define APACHE_INSTALL_INIT_SYSTEMD >> $(INSTALL) -D -m 644 package/apache/apache.service \ >> $(TARGET_DIR)/usr/lib/systemd/system/apache.service >> endef >> +else >> +define APACHE_BUILD_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/support htdigest htpasswd >> +endef >> + >> +define APACHE_INSTALL_TARGET_CMDS >> + $(INSTALL) -m 0755 -D $(@D)/support/htdigest $(TARGET_DIR)/usr/bin/htdigest >> + $(INSTALL) -m 0755 -D $(@D)/support/htpasswd $(TARGET_DIR)/usr/bin/htpasswd >> +endef >> +endif >> >> $(eval $(autotools-package)) >> diff --git a/package/modsecurity2/Config.in b/package/modsecurity2/Config.in >> index fb1bfc960e..40c5fc55bc 100644 >> --- a/package/modsecurity2/Config.in >> +++ b/package/modsecurity2/Config.in >> @@ -1,6 +1,6 @@ >> config BR2_PACKAGE_MODSECURITY2 >> bool "modsecurity2" >> - depends on BR2_PACKAGE_APACHE >> + depends on BR2_PACKAGE_APACHE_DAEMON >> select BR2_PACKAGE_LIBXML2 >> select BR2_PACKAGE_PCRE2 >> help >> diff --git a/package/php/Config.in b/package/php/Config.in >> index 69b4268c1d..3a9e37dab6 100644 >> --- a/package/php/Config.in >> +++ b/package/php/Config.in >> @@ -36,7 +36,7 @@ if BR2_PACKAGE_PHP >> >> config BR2_PACKAGE_PHP_SAPI_APACHE >> bool "Apache interface" >> - depends on BR2_PACKAGE_APACHE >> + depends on BR2_PACKAGE_APACHE_DAEMON >> help >> Apache module >> > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From thomas at devoogdt.com Sun Oct 1 16:38:03 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:38:03 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/webkitgtk: select wpebackend-fdo if wayland target is enabled In-Reply-To: <87r0me5y6h.fsf@48ers.dk> References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <20230929075844.1145939-3-thomas.devoogdt@barco.com> <87r0me5y6h.fsf@48ers.dk> Message-ID: Hi Peter, all, Yes, the links in the git message are about the OptionsGTK and not the OptionsWPE, so yes, these are apparently both sharing the wpebackend-fdo lib. Kr, Thomas Op zo 1 okt 2023 om 14:23 schreef Peter Korsgaard : > > >>>>> "Thomas" == Thomas Devoogdt writes: > > > libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND > > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 > > > egl is mandatory if ENABLE_WAYLAND_TARGET > > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 > > > So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. > > Huh? I cannot say that I understand the webkit mess, but I thought that > webkitgtk and wpewebkit were two completely separate "ports"? > > Adrian, maybe you can clarify? > > -- > Bye, Peter Korsgaard > From thomas.petazzoni at bootlin.com Sun Oct 1 16:40:02 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:40:02 +0200 Subject: [Buildroot] [PATCH v2 1/9] package/rust-bindgen: new host package In-Reply-To: <20230725173102.543874-2-sebastian.weyer@smile.fr> References: <20230725173102.543874-1-sebastian.weyer@smile.fr> <20230725173102.543874-2-sebastian.weyer@smile.fr> Message-ID: <20231001184002.25f8c5d7@windsurf> Hello, On Tue, 25 Jul 2023 19:30:53 +0200 Sebastian Weyer wrote: > From: Romain Naour > > host-rust-bindgen will be required to build several different rust-based > packages, including a Linux kernel with rust modules and mesa3d's > rusticl which is the rust-based implementation of OpenCL. > > The Cargo.toml file at the project root is a "virtual manifest". Since > we only want to install rust-bindgen, we can specify RUST_BINDGEN_SUBDIR > = bindgen-cli to use the Cargo.toml from this directory. > > Signed-off-by: Romain Naour > Signed-off-by: Sebastian Weyer > diff --git a/DEVELOPERS b/DEVELOPERS > index c690f1dac7..c9ac202de6 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2602,6 +2602,9 @@ F: support/misc/toolchainfile.cmake.in > N: Sam Voss > F: package/ripgrep/ > > +N: Sebastian Weyer > +F: package/rust-bindgen ^^^ missing final slash here Applied to master with this change. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Sun Oct 1 16:40:23 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:40:23 +0200 Subject: [Buildroot] [PATCH v2 2/9] package/llvm-project/llvm: add llvm dump support In-Reply-To: <20230725173102.543874-3-sebastian.weyer@smile.fr> References: <20230725173102.543874-1-sebastian.weyer@smile.fr> <20230725173102.543874-3-sebastian.weyer@smile.fr> Message-ID: <20231001184023.166b3941@windsurf> On Tue, 25 Jul 2023 19:30:54 +0200 Sebastian Weyer wrote: > From: Romain Naour > > LLVM_ENABLE_DUMP required by mesa3d rusticl: > > https://docs.mesa3d.org/rusticl.html > > Signed-off-by: Romain Naour > --- > package/llvm-project/llvm/Config.in | 6 ++++++ > package/llvm-project/llvm/llvm.mk | 7 +++++++ > 2 files changed, 13 insertions(+) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From thomas.petazzoni at bootlin.com Sun Oct 1 16:50:31 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:50:31 +0200 Subject: [Buildroot] [PATCH v2 4/9] package/spirv-headers: new package In-Reply-To: <20230725173102.543874-5-sebastian.weyer@smile.fr> References: <20230725173102.543874-1-sebastian.weyer@smile.fr> <20230725173102.543874-5-sebastian.weyer@smile.fr> Message-ID: <20231001185031.4d0e9a8d@windsurf> Hello, On Tue, 25 Jul 2023 19:30:56 +0200 Sebastian Weyer wrote: > package/Config.in | 1 + > package/spirv-headers/Config.in | 6 ++++++ > package/spirv-headers/spirv-headers.hash | 2 ++ > package/spirv-headers/spirv-headers.mk | 15 +++++++++++++++ > 4 files changed, 24 insertions(+) Missing entry in DEVELOPERS file, so I've added that. > diff --git a/package/spirv-headers/spirv-headers.hash b/package/spirv-headers/spirv-headers.hash > new file mode 100644 > index 0000000000..b83959f7a4 > --- /dev/null > +++ b/package/spirv-headers/spirv-headers.hash > @@ -0,0 +1,2 @@ Missing "Locally calculated" comment. > +sha256 71668e18ef7b318b06f8c466f46abad965b2646eaa322594cd015c2ac87133e6 spirv-headers-1.3.246.1.tar.gz > +sha256 9b243f6f0bf44e295ff411a0f7b7642d1d0dff7cdc42507e9f7206f439e51b5a LICENSE > diff --git a/package/spirv-headers/spirv-headers.mk b/package/spirv-headers/spirv-headers.mk > new file mode 100644 > index 0000000000..11119ac6b2 > --- /dev/null > +++ b/package/spirv-headers/spirv-headers.mk > @@ -0,0 +1,15 @@ > +################################################################################ > +# > +# spirv-headers > +# > +################################################################################ > + > +SPIRV_HEADERS_VERSION = 1.3.246.1 I've bumped to the latest version, which fixes a build issue: this older version was trying to build C++ code for an example/test. With the newer version, it still tries to build C++ stuff, but mistakenly with the host C++ compiler, which works because it has no dependencies. Romain and I didn't bother fixing that as we really don't care about this silly example being built. Note: as a follow-up patch, I added a host variant of this package, and a change to spirv-llvm-translator that makes use of it. Indeed host-spirv-llvm-translator was downloading its own copy of the spirv-headers during the build which is very bad (but not your fault, since you did not introduce host-spirv-llvm-translator). Anyway: this patch is applied. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas at devoogdt.com Sun Oct 1 16:52:10 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:52:10 +0200 Subject: [Buildroot] [PATCH v4 1/3] package/webkitgtk: make gbm support optional Message-ID: <20231001165218.1960930-1-thomas.devoogdt@barco.com> From: Thomas Devoogdt This was added upstream in commit: https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', so ensure that we unset 'USE_GBM' if we don't have libgbm. Signed-off-by: Thomas Devoogdt --- v2,3,4: no change --- package/webkitgtk/webkitgtk.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index bb6df3d592..88bdfae27b 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -88,6 +88,13 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF endif +ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) +WEBKITGTK_CONF_OPTS += -DUSE_GBM=ON +WEBKITGTK_DEPENDENCIES += libgbm +else +WEBKITGTK_CONF_OPTS += -DUSE_GBM=OFF +endif + ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) WEBKITGTK_CONF_OPTS += -DENABLE_X11_TARGET=ON WEBKITGTK_DEPENDENCIES += libgl \ -- 2.42.0 From thomas at devoogdt.com Sun Oct 1 16:52:11 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:52:11 +0200 Subject: [Buildroot] [PATCH v4 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled In-Reply-To: <20231001165218.1960930-1-thomas.devoogdt@barco.com> References: <20231001165218.1960930-1-thomas.devoogdt@barco.com> Message-ID: <20231001165218.1960930-2-thomas.devoogdt@barco.com> libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 egl is mandatory if ENABLE_WAYLAND_TARGET https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. Signed-off-by: Thomas Devoogdt --- v2: n/a v3,4: no change (added from another patch serie) --- package/webkitgtk/Config.in | 1 + package/webkitgtk/webkitgtk.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 927792b1e4..cb10784133 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -53,6 +53,7 @@ config BR2_PACKAGE_WEBKITGTK select BR2_PACKAGE_WEBP select BR2_PACKAGE_WEBP_DEMUX select BR2_PACKAGE_WOFF2 + select BR2_PACKAGE_WPEBACKEND_FDO if BR2_PACKAGE_LIBGTK3_WAYLAND select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11 diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 88bdfae27b..9c68fe73cf 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -115,7 +115,7 @@ ifeq ($(BR2_PACKAGE_LIBGTK3_X11):$(BR2_PACKAGE_LIBGTK3_WAYLAND):$(BR2_PACKAGE_LI WEBKITGTK_DEPENDENCIES += libegl endif -ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) +ifeq ($(BR2_PACKAGE_WPEBACKEND_FDO),y) WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON WEBKITGTK_DEPENDENCIES += wpebackend-fdo else -- 2.42.0 From thomas at devoogdt.com Sun Oct 1 16:52:12 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 18:52:12 +0200 Subject: [Buildroot] [PATCH v4 3/3] package/webkitgtk: bump to version 2.42.1 In-Reply-To: <20231001165218.1960930-1-thomas.devoogdt@barco.com> References: <20231001165218.1960930-1-thomas.devoogdt@barco.com> Message-ID: <20231001165218.1960930-3-thomas.devoogdt@barco.com> Update to a new major release. Release notes: https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html Security notes: https://webkitgtk.org/security/WSA-2023-0008.html - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. - ENABLE_GLES2 has been dropped, so drop it also here [2]. Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a dependency for libgles, so leave it out here. - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 10, because we can't check on >= GCC 10.2. [1] https://github.com/WebKit/WebKit/commit/93865414f33190c57e293a80492e10edc461d7f0 [2] https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4 [3] https://github.com/WebKit/WebKit/commit/133498aaee8f44443d9e3b2a08be4a4b77b93fc9 Signed-off-by: Thomas Devoogdt --- v2: n/a v3: - replace for package/webkitgtk: add a USE_OPENGL_OR_ES config option - 2.42.0 needs an extra bunch of patches, so bump to immediately to 2.42.1 v4: - fixed incomplete git massage (a ____ line splits the git message apparently) - re-added patches with upstream cherry-pick and hash --- ...e-when-gstreamer-support-is-disabled.patch | 36 --- ...EGL-checks-when-GBM-renderer-is-used.patch | 275 ++++++++++++++++++ ...nnection.cpp-fix-incomplete-type-Web.patch | 41 +++ package/webkitgtk/Config.in | 6 +- package/webkitgtk/webkitgtk.hash | 6 +- package/webkitgtk/webkitgtk.mk | 16 +- 6 files changed, 333 insertions(+), 47 deletions(-) delete mode 100644 package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch create mode 100644 package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch create mode 100644 package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch deleted file mode 100644 index 3fa23b215b..0000000000 --- a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 -From: Matt Turner -Date: Tue, 8 Aug 2023 16:51:25 -0700 -Subject: [PATCH] Fix build failure when gstreamer support is disabled - https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 - -Reviewed by Carlos Alberto Lopez Perez. - -* Source/WebCore/loader/MixedContentChecker.cpp: - -Canonical link: https://commits.webkit.org/260527.429 at fix-build - -(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) - -Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 -Signed-off-by: Thomas Devoogdt ---- - Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp -index 9b4c7fe62020..ac4733bc08bc 100644 ---- a/Source/WebCore/loader/MixedContentChecker.cpp -+++ b/Source/WebCore/loader/MixedContentChecker.cpp -@@ -33,6 +33,8 @@ - #include "ContentSecurityPolicy.h" - #include "Document.h" - #include "Frame.h" -+#include "FrameLoader.h" -+#include "FrameLoaderClient.h" - #include "SecurityOrigin.h" - - namespace WebCore { --- -2.42.0 - diff --git a/package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch b/package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch new file mode 100644 index 0000000000..8ef1ff1309 --- /dev/null +++ b/package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch @@ -0,0 +1,275 @@ +From 6e655c562bf04751a459f8048a4acf09971636ac Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt +Date: Fri, 29 Sep 2023 08:02:19 -0700 +Subject: [PATCH] [GTK] fix USE_EGL checks when GBM renderer is used + +https://bugs.webkit.org/show_bug.cgi?id=262169 + +Reviewed by Michael Catanzaro. + +Regression since commit 81c064ddb4182a34a36def401025d223ca0d31ba. + +webkitgtk-2.42.0/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:39:10: fatal error: epoxy/egl.h: No such file or directory + 39 | #include + | ^~~~~~~~~~~~~ + +Signed-off-by: Thomas Devoogdt +Canonical link: https://commits.webkit.org/266719.76 at bugfix/USE_EGL-2.42 +(cherry picked from commit b751733c75f724f9301cb828f7994af57605c52f) +Upstream: https://github.com/WebKit/WebKit/commit/b751733c75f724f9301cb828f7994af57605c52f +Signed-off-by: Thomas Devoogdt +--- + .../WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp | 8 ++++++++ + Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp | 4 +++- + Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp | 6 +++--- + .../UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp | 4 ++++ + .../WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h | 4 ++++ + .../gtk/AcceleratedBackingStoreDMABuf.messages.in | 2 ++ + Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp | 4 ++-- + .../WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp | 4 ++++ + .../WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h | 4 ++++ + .../WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in | 2 ++ + Source/WebKit/WebProcess/glib/WebProcessGLib.cpp | 2 +- + 11 files changed, 37 insertions(+), 7 deletions(-) + +diff --git a/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp b/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp +index 8bdcf48b446a..19b46a137d5b 100644 +--- a/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp ++++ b/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp +@@ -45,9 +45,11 @@ + #endif + + #if PLATFORM(GTK) ++#if USE(EGL) + #include "AcceleratedBackingStoreDMABuf.h" + #include "DMABufRendererBufferMode.h" + #include ++#endif + #include + + #if PLATFORM(WAYLAND) +@@ -164,6 +166,7 @@ static String dmabufRendererWithSupportedBuffers() + { + StringBuilder buffers; + buffers.append("DMABuf (Supported buffers: "_s); ++#if USE(EGL) + auto mode = AcceleratedBackingStoreDMABuf::rendererBufferMode(); + if (mode.contains(DMABufRendererBufferMode::Hardware)) + buffers.append("Hardware"_s); +@@ -172,6 +175,7 @@ static String dmabufRendererWithSupportedBuffers() + buffers.append(", "); + buffers.append("Shared Memory"_s); + } ++#endif + buffers.append(')'); + return buffers.toString(); + } +@@ -269,7 +273,11 @@ void WebKitProtocolHandler::handleGPU(WebKitURISchemeRequest* request) + #if PLATFORM(GTK) + addTableRow(versionObject, "GTK version"_s, makeString(GTK_MAJOR_VERSION, '.', GTK_MINOR_VERSION, '.', GTK_MICRO_VERSION, " (build) "_s, gtk_get_major_version(), '.', gtk_get_minor_version(), '.', gtk_get_micro_version(), " (runtime)"_s)); + ++#if USE(EGL) + bool usingDMABufRenderer = AcceleratedBackingStoreDMABuf::checkRequirements(); ++#else ++ bool usingDMABufRenderer = false; ++#endif + + #if PLATFORM(WAYLAND) + if (PlatformDisplay::sharedDisplay().type() == PlatformDisplay::Type::Wayland && !usingDMABufRenderer) { +diff --git a/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp b/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp +index d439751cee32..151c4b854cc3 100644 +--- a/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp ++++ b/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp +@@ -54,8 +54,10 @@ + + #if PLATFORM(GTK) + #include "GtkSettingsManager.h" ++#if USE(EGL) + #include "AcceleratedBackingStoreDMABuf.h" + #endif ++#endif + + + namespace WebKit { +@@ -88,7 +90,7 @@ void WebProcessPool::platformInitializeWebProcess(const WebProcessProxy& process + parameters.renderDeviceFile = WebCore::PlatformDisplay::sharedDisplay().drmRenderNodeFile(); + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + parameters.dmaBufRendererBufferMode = AcceleratedBackingStoreDMABuf::rendererBufferMode(); + #endif + +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp +index df4cdc2ada3d..2e8a6f59513e 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp +@@ -40,7 +40,7 @@ + #include "AcceleratedBackingStoreX11.h" + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + #include "AcceleratedBackingStoreDMABuf.h" + #endif + +@@ -72,7 +72,7 @@ static bool gtkCanUseHardwareAcceleration() + + bool AcceleratedBackingStore::checkRequirements() + { +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + if (AcceleratedBackingStoreDMABuf::checkRequirements()) + return gtkCanUseHardwareAcceleration(); + #endif +@@ -93,7 +93,7 @@ std::unique_ptr AcceleratedBackingStore::create(WebPage + if (!HardwareAccelerationManager::singleton().canUseHardwareAcceleration()) + return nullptr; + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + if (AcceleratedBackingStoreDMABuf::checkRequirements()) + return AcceleratedBackingStoreDMABuf::create(webPage); + #endif +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp +index 2a8d7127909d..64d04332a598 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp +@@ -26,6 +26,8 @@ + #include "config.h" + #include "AcceleratedBackingStoreDMABuf.h" + ++#if USE(EGL) ++ + #include "AcceleratedBackingStoreDMABufMessages.h" + #include "AcceleratedSurfaceDMABufMessages.h" + #include "DMABufRendererBufferMode.h" +@@ -575,3 +577,5 @@ bool AcceleratedBackingStoreDMABuf::paint(cairo_t* cr, const WebCore::IntRect& c + #endif + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h +index 1bc769ada313..f9a6cb620e38 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h +@@ -25,6 +25,8 @@ + + #pragma once + ++#if USE(EGL) ++ + #include "AcceleratedBackingStore.h" + + #include "MessageReceiver.h" +@@ -200,3 +202,5 @@ private: + }; + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in +index 28e3fabf693a..3ba247e40220 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in +@@ -20,8 +20,10 @@ + # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + ++#if USE(EGL) + messages -> AcceleratedBackingStoreDMABuf NotRefCounted { + Configure(UnixFileDescriptor backFD, UnixFileDescriptor frontFD, UnixFileDescriptor displayFD, WebCore::IntSize size, uint32_t format, uint32_t offset, uint32_t stride, uint64_t modifier) + ConfigureSHM(WebKit::ShareableBitmap::Handle backBufferHandle, WebKit::ShareableBitmap::Handle frontBufferHandle, WebKit::ShareableBitmap::Handle displayBufferHandle) + Frame() + } ++#endif +diff --git a/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp b/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp +index 1f64ab26c9dd..683a5350be22 100644 +--- a/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp ++++ b/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp +@@ -37,7 +37,7 @@ + #include "AcceleratedSurfaceLibWPE.h" + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + #include "AcceleratedSurfaceDMABuf.h" + #endif + +@@ -46,7 +46,7 @@ using namespace WebCore; + + std::unique_ptr AcceleratedSurface::create(WebPage& webPage, Client& client) + { +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + #if USE(GBM) + if (PlatformDisplay::sharedDisplayForCompositing().type() == PlatformDisplay::Type::GBM) + return AcceleratedSurfaceDMABuf::create(webPage, client); +diff --git a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp +index dc2d544c9d25..d474c4ca205c 100644 +--- a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp ++++ b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp +@@ -26,6 +26,8 @@ + #include "config.h" + #include "AcceleratedSurfaceDMABuf.h" + ++#if USE(EGL) ++ + #include "AcceleratedBackingStoreDMABufMessages.h" + #include "AcceleratedSurfaceDMABufMessages.h" + #include "ShareableBitmap.h" +@@ -490,3 +492,5 @@ void AcceleratedSurfaceDMABuf::frameDone() + } + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h +index e3985d468ad2..a230a1f02eef 100644 +--- a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h ++++ b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h +@@ -25,6 +25,8 @@ + + #pragma once + ++#if USE(EGL) ++ + #include "AcceleratedSurface.h" + + #include "MessageReceiver.h" +@@ -156,3 +158,5 @@ private: + }; + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in +index 0d0d2dbf9069..a481cd9bc60f 100644 +--- a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in ++++ b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in +@@ -20,6 +20,8 @@ + # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + ++#if USE(EGL) + messages -> AcceleratedSurfaceDMABuf NotRefCounted { + FrameDone() + } ++#endif +diff --git a/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp b/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp +index 686004f4ee82..e298cf9b94a2 100644 +--- a/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp ++++ b/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp +@@ -141,7 +141,7 @@ void WebProcess::platformInitializeWebProcess(WebProcessCreationParameters& para + WebCore::GBMDevice::singleton().initialize(parameters.renderDeviceFile); + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + m_dmaBufRendererBufferMode = parameters.dmaBufRendererBufferMode; + if (!m_dmaBufRendererBufferMode.isEmpty()) { + #if USE(GBM) +-- +2.42.0 + diff --git a/package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch b/package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch new file mode 100644 index 0000000000..90f0294228 --- /dev/null +++ b/package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch @@ -0,0 +1,41 @@ +From 1fec84bb47e72685b24f735f55d2986bcc187635 Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt +Date: Fri, 29 Sep 2023 08:06:42 -0700 +Subject: [PATCH] NetworkProcessConnection.cpp: fix incomplete type + WebCore::Page +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +https://bugs.webkit.org/show_bug.cgi?id=262359 + +Reviewed by Michael Catanzaro. + +webkitgtk-2.42.0/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp:327:11: error: incomplete type ?WebCore::Page? used in nested name specifier + 327 | Page::forEachPage([&] (auto& page) { + | ^~~~~~~~~~~ + +Signed-off-by: Thomas Devoogdt +Canonical link: https://commits.webkit.org/266719.77 at bugfix/NetworkProcessConnection-2.42 +(cherry picked from commit e92f5f33fd267fc387efd7099bb6970e24e71afd) +Upstream: https://github.com/WebKit/WebKit/commit/e92f5f33fd267fc387efd7099bb6970e24e71afd +Signed-off-by: Thomas Devoogdt +--- + Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp b/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp +index d6f22b0b1739..7c4779c0e037 100644 +--- a/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp ++++ b/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp +@@ -68,6 +68,7 @@ + #include + #include + #include ++#include + #include + #include + +-- +2.42.0 + diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index cb10784133..ace1b8739f 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 10, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 7f50f1aa7b..04e247077a 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,6 +1,6 @@ -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums -sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz -sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz +# From https://www.webkitgtk.org/releases/webkitgtk-2.42.1.tar.xz.sums +sha1 b9a0f964a157277d80195622316d3eea19c89d0d webkitgtk-2.42.1.tar.xz +sha256 6f41fac9989d3ee51c08c48de1d439cdeddecbc757e34b6180987d99b16d2499 webkitgtk-2.42.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 9c68fe73cf..035cbf15a2 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.40.5 +WEBKITGTK_VERSION = 2.42.1 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES @@ -73,6 +73,13 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF endif +ifeq ($(BR2_PACKAGE_LIBJXL),y) +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=ON +WEBKITGTK_DEPENDENCIES += libjxl +else +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=OFF +endif + ifeq ($(BR2_PACKAGE_LIBMANETTE),y) WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=ON WEBKITGTK_DEPENDENCIES += libmanette @@ -80,12 +87,11 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=OFF endif -# Use GLES if available and desktop GL is not. -ifeq ($(BR2_PACKAGE_HAS_LIBGL):$(BR2_PACKAGE_HAS_LIBGLES),:y) -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=ON +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=ON WEBKITGTK_DEPENDENCIES += libgles else -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=OFF endif ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) -- 2.42.0 From thomas.petazzoni at bootlin.com Sun Oct 1 16:53:45 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 18:53:45 +0200 Subject: [Buildroot] [PATCH v2 5/9] package/spirv-tools: new package In-Reply-To: <20230725173102.543874-6-sebastian.weyer@smile.fr> References: <20230725173102.543874-1-sebastian.weyer@smile.fr> <20230725173102.543874-6-sebastian.weyer@smile.fr> Message-ID: <20231001185345.6c023fff@windsurf> On Tue, 25 Jul 2023 19:30:57 +0200 Sebastian Weyer wrote: > From: Romain Naour > > This package is required by mesa3d for building rusticl: > > https://docs.mesa3d.org/rusticl.html > > Signed-off-by: Romain Naour > Signed-off-by: Sebastian Weyer > --- > package/Config.in | 1 + > package/spirv-tools/Config.in | 12 ++++++++++++ > package/spirv-tools/spirv-tools.hash | 2 ++ > package/spirv-tools/spirv-tools.mk | 22 ++++++++++++++++++++++ > 4 files changed, 37 insertions(+) Entry in DEVELOPERS file was missing. > diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in > new file mode 100644 > index 0000000000..21b3852779 > --- /dev/null > +++ b/package/spirv-tools/Config.in > @@ -0,0 +1,12 @@ > +config BR2_PACKAGE_SPIRV_TOOLS > + bool "spirv-tools" > + depends on BR2_USE_WCHAR # python3 > + depends on BR2_USE_MMU # python3 > + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 > + depends on !BR2_STATIC_LIBS # python3 > + select BR2_PACKAGE_PYTHON3 Not sure why you thought python3 was needed on the target. Reading things a bit about spirv-tools, it doesn't seem like Python is needed, so I dropped this. However, it needs spirv-headers, and you had forgotten "select BR2_PACKAGE_SPIRV_HEADERS" here. > diff --git a/package/spirv-tools/spirv-tools.hash b/package/spirv-tools/spirv-tools.hash > new file mode 100644 > index 0000000000..6861f543ea > --- /dev/null > +++ b/package/spirv-tools/spirv-tools.hash > @@ -0,0 +1,2 @@ Missing "Locally calculated" comment here. > +sha256 645c4585c207cbdfda81a09f8ab180773c18df50fad9644d2d9a53b4464c692b spirv-tools-1.3.246.1.tar.gz > +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE > diff --git a/package/spirv-tools/spirv-tools.mk b/package/spirv-tools/spirv-tools.mk > new file mode 100644 > index 0000000000..758c01343c > --- /dev/null > +++ b/package/spirv-tools/spirv-tools.mk > @@ -0,0 +1,22 @@ > +################################################################################ > +# > +# spirv-tools > +# > +################################################################################ > + > +SPIRV_TOOLS_VERSION = 1.3.246.1 I bumped to a newer version to match spirv-headers, as otherwise spirv-tools would fail to build. I also added a comment in both spirv-headers and spirv-tools to hint that they should be kept in sync in terms of version. > +SPIRV_TOOLS_SITE = $(call github,KhronosGroup,SPIRV-Tools,sdk-$(SPIRV_TOOLS_VERSION)) > +SPIRV_TOOLS_LICENSE = Apache-2.0 > +SPIRV_TOOLS_LICENSE_FILES = LICENSE > + > +SPIRV_TOOLS_DEPENDENCIES = python3 spirv-headers Dropped python3 here. > + > +SPIRV_TOOLS_INSTALL_STAGING = YES > + > +SPIRV_TOOLS_CONF_OPTS = \ > + -DSPIRV-Headers_SOURCE_DIR=${STAGING_DIR}/usr \ > + -DSPIRV_TOOLS_BUILD_STATIC=OFF \ > + -DBUILD_SHARED_LIBS=ON \ > + -DSPIRV_SKIP_TESTS=ON \ Indentation here was wrong (spaces used instead of tab), and ${STAGING_DIR} should have been $(STAGING_DIR). Both of these issues were reported by "make check-package". Also BUILD_SHARED_LIBS=ON is already passed by the cmake-package infrastructure as required. I've added -DSPIRV_WERROR=OFF because it exists, and -Werror is annoying in the context of Buildroot. Applied with those various changes. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From fontaine.fabrice at gmail.com Sun Oct 1 16:56:01 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 18:56:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/sslh: add SSLH_CPE_ID_VENDOR Message-ID: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F Signed-off-by: Fabrice Fontaine --- package/sslh/sslh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk index 897b3b6505..6ef7cda1a9 100644 --- a/package/sslh/sslh.mk +++ b/package/sslh/sslh.mk @@ -9,6 +9,7 @@ SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz SSLH_SITE = http://www.rutschle.net/tech/sslh SSLH_LICENSE = GPL-2.0+ SSLH_LICENSE_FILES = COPYING +SSLH_CPE_ID_VENDOR = sslh_project SSLH_DEPENDENCIES = pcre2 SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" -- 2.40.1 From thomas.petazzoni at bootlin.com Sun Oct 1 17:06:51 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 19:06:51 +0200 Subject: [Buildroot] [PATCH] package/numactl: point to target libs via LDFLAGS In-Reply-To: <20221024174911.75444-1-abrodkin@synopsys.com> References: <20221024174911.75444-1-abrodkin@synopsys.com> Message-ID: <20231001190651.2cb8a547@windsurf> Hello Alexey, On Mon, 24 Oct 2022 19:49:11 +0200 Alexey Brodkin via buildroot wrote: > In the commit a699a667bd64 ("package/numactl: add -latomic to numa.pc") > we opted-out from unconditional linking with "-latomic" and made it > a conditional based on real availability of __atomic_fetch_and_1() > in the toolchain. I.e. for many targets "-latomic" was not used > any longer. We finally looked at this patch today during the on-going Buildroot hackathon. We understand/recognize the problem, but we don't like the proposed solution as you can imagine (especially as the proposed solution is package specific). In addition, and as you have yourself expressed, your situation is quite a corner case. Here are the options that we see to resolve this: (1) Patch libtool so that it doesn't look at LD_LIBRARY_PATH. We are already patching libtool to work-around other issues. However, from a quick look at the libtool code base (which of course is not the most pleasant exercise on earth), it's not trivial to see where this logic is taking place. (2) Unset LD_LIBRARY_PATH entirely in the main Buildroot makefile to avoid interference with LD_LIBRARY_PATH being set. This would of course prevent people who have special/weird setups that require LD_LIBRARY_PATH from using Buildroot. (3) Warn/error out if LD_LIBRARY_PATH is set, which essentially is a variant of (2), but where we are explicit instead of silently ignoring LD_LIBRARY_PATH defined in the user's environment. Regarding the setting of lt_cv_sys_lib_search_path_spec="" that you have identified, the motivation for this was explained in 6246704008ef219257f30a824903855d0e00cffb: package/Makefile.in: ensure libtool doesn't search host dirs for libraries Commit 7e3e8ec040b (CFLAGS/LDFLAGS: don't add -I / -L args for STAGING_DIR) exposed a lingering libtool problem. Unless instructed otherwise (using -L) libtool will search its built in system path for libraries, and use those instead if found. The default search path is '/usr/lib, /lib, /usr/local/lib', which is no good for cross compilation. Fix it by setting the system search path to the empty string, effectively disabling this feature. Signed-off-by: Peter Korsgaard So this seems to still be relevant. The reason why when you drop this in your case and it "works" is we believe the following one: due to -latomic, libtool will search for libatomic. It will find it in your system in say /lib or /usr/lib, and because that's a standard search path, libtool will keep -latomic instead of turning into a full absolute path. So the cross linker gets passed -latomic, which it properly resolves to the target/sysroot libatomic. When lt_cv_sys_lib_search_path_spec="" is there, libatomic from /lib or /usr/lib isn't found, so it finds the one in your LD_LIBRARY_PATH directory, which isn't a standard path, so our dear libtool replaces -latomic by the full absolute path to libatomic, and passes that to the cross-linker, which of course blows up. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From yann.morin.1998 at free.fr Sun Oct 1 17:08:02 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 19:08:02 +0200 Subject: [Buildroot] [PATCH 2/2] board/pc/post-build.sh: allow to use grub config file In-Reply-To: <20230109074202.12012-2-cherniaev.andrei@kairo.space> References: <20230109074202.12012-2-cherniaev.andrei@kairo.space> Message-ID: <20231001170802.GN2579@scaer> Andrei, All, Sorry to come back so alte on that patch... On 2023-01-09 16:42 +0900, AndreiCherniaev spake thusly: > Allow to use grub config file with set timeout not default. Before this set timeout always was 5s and can't be changed, any set timeout from BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC was ignored Please properly format your commit log, wrapped at ~72 chars wide lines. The files in board/ are meant to be used with the defconfigs in Buildroot, and together are meant as examples and startkng point for frther custmisations. We can't add support for everything up to the kitchen sink in those scripts; we want to keep them simple so that it is easy to see what they are doing on how they can be extended. It is your responsibility to adapt those files to match your use-case, potentially duplicating them on hyour side to create a new board definition. As such, I've maked this patch as rejected. Regards, Yann E. MORIN. > Signed-off-by: AndreiCherniaev > --- > board/pc/post-build.sh | 17 ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff --git a/board/pc/post-build.sh b/board/pc/post-build.sh > index c76dee2676..8538faa7eb 100755 > --- a/board/pc/post-build.sh > +++ b/board/pc/post-build.sh > @@ -9,7 +9,22 @@ if [ -d "$BINARIES_DIR/efi-part/" ]; then > cp -f "$BOARD_DIR/grub-efi.cfg" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg" > else > cp -f "$BOARD_DIR/grub-bios.cfg" "$TARGET_DIR/boot/grub/grub.cfg" > - > # Copy grub 1st stage to binaries, required for genimage > cp -f "$TARGET_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR" > fi > + > +# When post-build script is runing $BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC is unset, so parce Buildroot .config file again > +GRUB2_BUILTIN_CONFIG_PC="`grep --only-matching --perl-regex "(?<=BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC\=).*" $BR2_CONFIG`" > +# Using the native shell prefix/suffix removal feature (see also qstrip) > +GRUB2_BUILTIN_CONFIG_PC="${GRUB2_BUILTIN_CONFIG_PC%\"}" > +GRUB2_BUILTIN_CONFIG_PC="${GRUB2_BUILTIN_CONFIG_PC#\"}" > +if [ -z "$GRUB2_BUILTIN_CONFIG_PC" ]; then #if user doesn't use his .config for grub > + # Set time to wait 5 s for keyboard input before booting by default > + sed -i -e '1 s/^/set default="0"\nset timeout="5"\n\n/;' "$TARGET_DIR/boot/grub/grub.cfg" > +#else if user use his .config for grub > +# to configure bootloader put something like > +# set default="0" > +# set timeout="5" > +# to your file located $BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC > +# More info https://www.gnu.org/software/grub/manual/grub > +fi > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From thomas at devoogdt.com Sun Oct 1 17:29:05 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sun, 1 Oct 2023 19:29:05 +0200 Subject: [Buildroot] [PATCH v1] package/wpewebkit: needs >= GCC 9 Message-ID: <20231001172905.1962565-1-thomas.devoogdt@barco.com> Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt --- package/wpewebkit/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in index f1d38c7cad..81b66f8429 100644 --- a/package/wpewebkit/Config.in +++ b/package/wpewebkit/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" +comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \ || !BR2_HOST_GCC_AT_LEAST_4_9 comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" @@ -37,7 +37,7 @@ config BR2_PACKAGE_WPEWEBKIT depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy -- 2.42.0 From dalang at gmx.at Sun Oct 1 18:04:37 2023 From: dalang at gmx.at (Daniel Lang) Date: Sun, 1 Oct 2023 20:04:37 +0200 Subject: [Buildroot] [PATCH] package/efl: bump to version 1.26.3 Message-ID: <20231001180437.1274555-2-dalang@gmx.at> This is a bug-fix release. See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 Signed-off-by: Daniel Lang --- package/efl/efl.hash | 4 ++-- package/efl/efl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/efl/efl.hash b/package/efl/efl.hash index 8d50400eb7..72ff3199d0 100644 --- a/package/efl/efl.hash +++ b/package/efl/efl.hash @@ -1,5 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-efl-1.26.1 -sha256 86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642 efl-1.26.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 +sha256 d9f83aa0fd9334f44deeb4e4952dc0e5144683afac786feebce6030951617d15 efl-1.26.3.tar.xz sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING diff --git a/package/efl/efl.mk b/package/efl/efl.mk index d4a16475e5..29b3b1955a 100644 --- a/package/efl/efl.mk +++ b/package/efl/efl.mk @@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.26.1 +EFL_VERSION = 1.26.3 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = https://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT -- 2.42.0 From dalang at gmx.at Sun Oct 1 18:11:42 2023 From: dalang at gmx.at (Daniel Lang) Date: Sun, 1 Oct 2023 20:11:42 +0200 Subject: [Buildroot] [PATCH] package/enlightenment: security bump to version 0.25.4 Message-ID: <20231001181141.1275330-3-dalang@gmx.at> This is a bugfix release which fixes a CVE. See: https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring." Hashes were never part of the online news page, therefore mark them as locally computed. Signed-off-by: Daniel Lang --- package/enlightenment/enlightenment.hash | 5 +++-- package/enlightenment/enlightenment.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/enlightenment/enlightenment.hash b/package/enlightenment/enlightenment.hash index 2d977b86f7..ed5d6b24ef 100644 --- a/package/enlightenment/enlightenment.hash +++ b/package/enlightenment/enlightenment.hash @@ -1,4 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-enlightenment-0.25.1 -sha256 2cf05fe3d96ef35e823619dbc0ac513ecabcae2186800ecd804924a637112444 enlightenment-0.25.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 +sha256 56db5d206b821b9a8831d26e713e410ac70b2255a6f43fcdf7c01eefde23b7a2 enlightenment-0.25.4.tar.xz +# Locally computed sha256 8d2fbc393e967cd6f5b8559d1744881a6a1ceb3ec6e1c2368c3916809ffccb8d COPYING sha256 cdc77ee1732455b203610f923fe4196046b3f7509038c48dc0b0c7e3492c23f3 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk index 95670e800d..836c6e581d 100644 --- a/package/enlightenment/enlightenment.mk +++ b/package/enlightenment/enlightenment.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENLIGHTENMENT_VERSION = 0.25.1 +ENLIGHTENMENT_VERSION = 0.25.4 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz ENLIGHTENMENT_SITE = https://download.enlightenment.org/rel/apps/enlightenment ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) -- 2.42.0 From peter at korsgaard.com Sun Oct 1 18:28:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:28:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/librsvg: security bump to version 2.50.9 In-Reply-To: <20230928170955.347663-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 28 Sep 2023 19:09:55 +0200") References: <20230928170955.347663-1-fontaine.fabrice@gmail.com> Message-ID: <878r8m9ozm.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-38633: A directory traversal problem in the URL decoder of > librsvg before 2.56.3 could be used by local or remote attackers to > disclose files (on the local filesystem outside of the expected area), > as demonstrated by href=".?../../../../../../../../../../etc/passwd" in > an xi:include element. > https://gitlab.gnome.org/GNOME/librsvg/-/blob/2.50.9/NEWS > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:28:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:28:30 +0200 Subject: [Buildroot] [PATCH v2, 1/1] package/suricata: security bump to version 6.0.14 In-Reply-To: <20230928165126.336164-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 28 Sep 2023 18:51:26 +0200") References: <20230928165126.336164-1-fontaine.fabrice@gmail.com> Message-ID: <874jja9oz5.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Fix CVE-2023-35852: In Suricata before 6.0.13 (when there is an > adversary who controls an external source of rules), a dataset > filename, that comes from a rule, may trigger absolute or relative > directory traversal, and lead to write access to a local filesystem. > This is addressed in 6.0.13 by requiring allow-absolute-filenames and > allow-write (in the datasets rules configuration section) if an > installation requires traversal/writing in this situation. > - Fix CVE-2023-35853: In Suricata before 6.0.13, an adversary who > controls an external source of Lua rules may be able to execute Lua > code. This is addressed in 6.0.13 by disabling Lua unless allow-rules > is true in the security lua configuration section. > - Drop first patch (not needed since > https://github.com/OISF/suricata/commit/c8a3aa608eaae1acbaf33dba8a7c1a3cbfeb4285) > https://github.com/OISF/suricata/blob/suricata-6.0.14/ChangeLog > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2 (after review of Peter Korsgaard): > - Do not wrongly delete second patch Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:28:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:28:52 +0200 Subject: [Buildroot] [PATCH v2 1/2] unifdef: add missing license In-Reply-To: <20230928002728.2402-1-brandon.maier@collins.com> (Brandon Maier via buildroot's message of "Thu, 28 Sep 2023 00:27:27 +0000") References: <20230919172300.9901-1-brandon.maier@collins.com> <20230928002728.2402-1-brandon.maier@collins.com> Message-ID: <87zg128ae3.fsf@48ers.dk> >>>>> "Brandon" == Brandon Maier via buildroot writes: > The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause > applies to "manual page unifdef.1 and the portability support code in > the FreeBSD subdirectory". The BSD-2-Clause applies to everything else. > Signed-off-by: Brandon Maier > Reviewed-by: Thomas Devoogdt > --- > Changes v1 -> v2: > - No changes Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:30:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:30:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/stress-ng: drop LDFLAGS_EXTRA In-Reply-To: <87y1gpifhf.fsf@48ers.dk> (Peter Korsgaard's message of "Fri, 29 Sep 2023 09:51:56 +0200") References: <20230921201633.635673-1-fontaine.fabrice@gmail.com> <87y1gpifhf.fsf@48ers.dk> Message-ID: <87v8bq8ab7.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Fabrice" == Fabrice Fontaine writes: >> Drop LDFLAGS_EXTRA to fix the following build failure raised since >> commit 42f25180233df459cd2bfbc5b9ebf8b95c6b60cb: >> /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/12.3.0/../../../../mipsel-buildroot-linux-gnu/bin/ld: >> stress-crypt.o: in function `$L17': >> stress-crypt.c:(.text+0x2dc): undefined reference to `crypt_r' >> Fixes: >> - http://autobuild.buildroot.org/results/0c1d2ef59b88ebb3ae10bf8cb986280b4c1283eb >> Signed-off-by: Fabrice Fontaine > Committed, thanks. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:31:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:31:36 +0200 Subject: [Buildroot] [PATCH] package/php: bump version to 8.2.11 In-Reply-To: <20230928172606.222711-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 28 Sep 2023 19:26:06 +0200") References: <20230928172606.222711-1-bernd@kuhls.net> Message-ID: <87r0me8a9j.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Changelog: https://www.php.net/ChangeLog-8.php#8.2.11 > Release notes: https://www.php.net/releases/8_2_11.php > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:32:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:32:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.18.7 In-Reply-To: <20230928172904.256249-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 28 Sep 2023 19:29:04 +0200") References: <20230928172904.256249-1-bernd@kuhls.net> Message-ID: <87msx28a88.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://www.samba.org/samba/history/samba-4.18.7.html > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:37:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:37:18 +0200 Subject: [Buildroot] [PATCH] package/mosquitto: bump to version 2.0.18 In-Reply-To: <20230929172749.3214653-1-francois.perrad@gadz.org> (Francois Perrad's message of "Fri, 29 Sep 2023 19:27:49 +0200") References: <20230929172749.3214653-1-francois.perrad@gadz.org> Message-ID: <87il7q8a01.fsf@48ers.dk> >>>>> "Francois" == Francois Perrad writes: > Signed-off-by: Francois Perrad Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:39:12 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:39:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/libvpx: Add upstream patch to fix CVE-2023-5217 In-Reply-To: <20230929162910.345877-1-bernd@kuhls.net> (Bernd Kuhls's message of "Fri, 29 Sep 2023 18:29:10 +0200") References: <20230929162910.345877-1-bernd@kuhls.net> Message-ID: <87edie89wv.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 1 18:24:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:24:25 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] unifdef: add missing license Message-ID: <20231001184642.AE5E783E70@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=df2180cd89c96572a34de01c107a2cc60ed287a3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause applies to "manual page unifdef.1 and the portability support code in the FreeBSD subdirectory". The BSD-2-Clause applies to everything else. Signed-off-by: Brandon Maier Reviewed-by: Thomas Devoogdt Signed-off-by: Yann E. MORIN (cherry picked from commit d8cea23ce4c2462000a3dd01304ba613a39253d5) Signed-off-by: Peter Korsgaard --- package/unifdef/unifdef.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk index 7d10595d1b..fd74455894 100644 --- a/package/unifdef/unifdef.mk +++ b/package/unifdef/unifdef.mk @@ -6,7 +6,7 @@ UNIFDEF_VERSION = 2.12 UNIFDEF_SITE = https://dotat.at/prog/unifdef -UNIFDEF_LICENSE = BSD-2-Clause +UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause UNIFDEF_LICENSE_FILES = COPYING define HOST_UNIFDEF_BUILD_CMDS From peter at korsgaard.com Sun Oct 1 18:25:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:25:28 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/librsvg: security bump to version 2.50.9 Message-ID: <20231001184642.B71E783A4B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=962ec546d0ae6a27bff0baf3bce22194cd1ff78e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-38633: A directory traversal problem in the URL decoder of librsvg before 2.56.3 could be used by local or remote attackers to disclose files (on the local filesystem outside of the expected area), as demonstrated by href=".?../../../../../../../../../../etc/passwd" in an xi:include element. https://gitlab.gnome.org/GNOME/librsvg/-/blob/2.50.9/NEWS Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e7988c7060d7d8b137d18721ef773ef266114690) Signed-off-by: Peter Korsgaard --- package/librsvg/librsvg.hash | 4 ++-- package/librsvg/librsvg.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/librsvg/librsvg.hash b/package/librsvg/librsvg.hash index c8da3354f5..4eab8cdfba 100644 --- a/package/librsvg/librsvg.hash +++ b/package/librsvg/librsvg.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.7.sha256sum -sha256 fffb61b08cd5282aaae147a02b305166a7426fad22a8b9427708f0f2fc426ebc librsvg-2.50.7.tar.xz +# From https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.9.sha256sum +sha256 518905fffa879b6c7f3db1aae961cf31333e0eadc7b4cdd4f531707868c54b53 librsvg-2.50.9.tar.xz # Locally computed sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/librsvg/librsvg.mk b/package/librsvg/librsvg.mk index df6559a858..81a6667817 100644 --- a/package/librsvg/librsvg.mk +++ b/package/librsvg/librsvg.mk @@ -5,7 +5,7 @@ ################################################################################ LIBRSVG_VERSION_MAJOR = 2.50 -LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).7 +LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).9 LIBRSVG_SITE = https://download.gnome.org/sources/librsvg/$(LIBRSVG_VERSION_MAJOR) LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz LIBRSVG_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:32:12 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:32:12 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/samba4: bump version to 4.18.7 Message-ID: <20231001184642.E69D083E7E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7bd3366516f4d9088a07caf1a27e18ab5a628ffb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Release notes: https://www.samba.org/samba/history/samba-4.18.7.html Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 94b2dc586fc96be90cfc02f279f5b14bbabe0c5a) Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fb278c1124..fea760c500 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.6.tar.asc -sha256 284c8a994ce989c87cd6808c390fcb9d00c36b21a0dc1a8a75474b67c9e715e7 samba-4.18.6.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc +sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 7b9e320012..cfa94fc141 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.6 +SAMBA4_VERSION = 4.18.7 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:37:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:37:45 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libvpx: Add upstream security patch to fix CVE-2023-5217 Message-ID: <20231001184643.04F7B83E73@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8b9251b8cc548830b27804c292eecbcfbfafe034 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE_2023-5217: Heap buffer overflow in vp8 encoding in libvpx in Google Chrome prior to 117.0.5938.132 and libvpx 1.13.1 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. https://www.openwall.com/lists/oss-security/2023/09/28/5 Signed-off-by: Bernd Kuhls [Peter: extend commit message, add _IGNORE_CVES] Signed-off-by: Peter Korsgaard (cherry picked from commit e99999d7cb1dca94d1073fc1b2db672152cd728b) Signed-off-by: Peter Korsgaard --- .../0002-VP8-disallow-thread-count-changes.patch | 38 ++++++++++++++++++++++ package/libvpx/libvpx.mk | 3 ++ 2 files changed, 41 insertions(+) diff --git a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch new file mode 100644 index 0000000000..d625255a9f --- /dev/null +++ b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch @@ -0,0 +1,38 @@ +From 3fbd1dca6a4d2dad332a2110d646e4ffef36d590 Mon Sep 17 00:00:00 2001 +From: James Zern +Date: Mon, 25 Sep 2023 18:55:59 -0700 +Subject: [PATCH] VP8: disallow thread count changes + +Currently allocations are done at encoder creation time. Going from +threaded to non-threaded would cause a crash. + +Bug: chromium:1486441 +Change-Id: Ie301c2a70847dff2f0daae408fbef1e4d42e73d4 + +Fixes CVE-2023-5217: https://www.cve.org/CVERecord?id=CVE-2023-5217 + +Upstream: https://github.com/webmproject/libvpx/commit/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 +Upstream: https://chromium.googlesource.com/webm/libvpx/+/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 + +[Bernd: Removed patch for test/encode_api_test.cc] +Signed-off-by: Bernd Kuhls +--- + vp8/encoder/onyx_if.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c +index c65afc643bf..c5e9970c3cc 100644 +--- a/vp8/encoder/onyx_if.c ++++ b/vp8/encoder/onyx_if.c +@@ -1447,6 +1447,11 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) { + last_h = cpi->oxcf.Height; + prev_number_of_layers = cpi->oxcf.number_of_layers; + ++ if (cpi->initial_width) { ++ // TODO(https://crbug.com/1486441): Allow changing thread counts; the ++ // allocation is done once in vp8_create_compressor(). ++ oxcf->multi_threaded = cpi->oxcf.multi_threaded; ++ } + cpi->oxcf = *oxcf; + + switch (cpi->oxcf.Mode) { diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index 67b25c9100..b558c41981 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -11,6 +11,9 @@ LIBVPX_LICENSE_FILES = LICENSE PATENTS LIBVPX_CPE_ID_VENDOR = webmproject LIBVPX_INSTALL_STAGING = YES +# 0002-VP8-disallow-thread-count-changes.patch +LIBVPX_IGNORE_CVES += CVE-2023-5217 + # ld is being used with cc options. therefore, pretend ld is cc. LIBVPX_CONF_ENV = \ LD="$(TARGET_CC)" \ From peter at korsgaard.com Sun Oct 1 18:39:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:39:41 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libfastjson: security bump to version 0.99.9.1 Message-ID: <20231001184643.0CEBB83E7F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d6fcd1d74c65127be97395af5dad6674e80ba57 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the equivalent of CVE-2020-12762, which was a json-c vulnerability: https://github.com/advisories/GHSA-3797-gmjf-45gm https://github.com/rsyslog/libfastjson/pull/166 Signed-off-by: Peter Korsgaard (cherry picked from commit cfe830c9ee5d66d3bdca15933ed8b59e3ec16e88) Signed-off-by: Peter Korsgaard --- package/libfastjson/libfastjson.hash | 2 +- package/libfastjson/libfastjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfastjson/libfastjson.hash b/package/libfastjson/libfastjson.hash index 218a738b37..f220c608df 100644 --- a/package/libfastjson/libfastjson.hash +++ b/package/libfastjson/libfastjson.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 881f954633aa76931e4c756ece0bda6fd8a673c6e66955a3db3b2bb9d6bbff72 libfastjson-0.99.9.tar.gz +sha256 67cde7e85fa372036d7694f3b32cfc666705ab19367920f555af9d1c183edfef libfastjson-0.99.9.1.tar.gz sha256 b29370bbfa98816e1fca0901f18149d920736771bfd68b4ee0eb00c78b38d245 COPYING diff --git a/package/libfastjson/libfastjson.mk b/package/libfastjson/libfastjson.mk index 7ab978dc67..5ee33ba496 100644 --- a/package/libfastjson/libfastjson.mk +++ b/package/libfastjson/libfastjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFASTJSON_VERSION = 0.99.9 +LIBFASTJSON_VERSION = 0.99.9.1 LIBFASTJSON_SITE = $(call github,rsyslog,libfastjson,v$(LIBFASTJSON_VERSION)) LIBFASTJSON_INSTALL_STAGING = YES LIBFASTJSON_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' From peter at korsgaard.com Sun Oct 1 18:26:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:26:19 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/suricata: security bump to version 6.0.14 Message-ID: <20231001184642.C6B0B83E72@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=38e3f0213f14518cb63008260d5c5598cbed5af7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x - Fix CVE-2023-35852: In Suricata before 6.0.13 (when there is an adversary who controls an external source of rules), a dataset filename, that comes from a rule, may trigger absolute or relative directory traversal, and lead to write access to a local filesystem. This is addressed in 6.0.13 by requiring allow-absolute-filenames and allow-write (in the datasets rules configuration section) if an installation requires traversal/writing in this situation. - Fix CVE-2023-35853: In Suricata before 6.0.13, an adversary who controls an external source of Lua rules may be able to execute Lua code. This is addressed in 6.0.13 by disabling Lua unless allow-rules is true in the security lua configuration section. - Drop first patch (not needed since https://github.com/OISF/suricata/commit/c8a3aa608eaae1acbaf33dba8a7c1a3cbfeb4285) https://github.com/OISF/suricata/blob/suricata-6.0.14/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit ce17f93e828a07292e03653be04a49480250f23f) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 3 +- ...c-allow-the-user-to-override-RUST_TARGET.patch} | 0 ...n-ensure-proper-shabang-on-python-scripts.patch | 47 ---------------------- package/suricata/suricata.hash | 2 +- package/suricata/suricata.mk | 5 +-- 5 files changed, 4 insertions(+), 53 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 428ff03233..6f754db59e 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1393,8 +1393,7 @@ package/statserial/0001-ncurses-link.patch Upstream package/stunnel/S50stunnel Indent Shellcheck Variables package/sudo/0001-configure.ac-fix-openssl-static-build.patch Upstream package/supervisor/S99supervisord Variables -package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch Upstream -package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch Upstream +package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch Upstream package/suricata/S99suricata Shellcheck package/swupdate/swupdate.sh Shellcheck package/sylpheed/0001-harden-link-checker-before-accepting-click.patch Upstream diff --git a/package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch b/package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch similarity index 100% rename from package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch rename to package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch diff --git a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch b/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch deleted file mode 100644 index 424b30d317..0000000000 --- a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 44fe2328b715db25134ee095526d2fa47e6cd834 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Wed, 1 Jan 2020 15:25:57 +0100 -Subject: [PATCH] python: ensure proper shabang on python scripts - -When instlling python scripts, distutils would use the python used to -run setup.py as shabang for the scripts it installs. - -However, when cross-compiling, this is most often not correct. - -Instead, using '/usr/bin/env python' is guaranteed to find the proper -python in the PATH, so we need to instruct setyup.py to use that as the -executable. - -[yann.morin.1998 at free.fr: - - author did not provide their SoB, but it's simple enough to - not require it for once - - provide proper commit log -] -Signed-off-by: Yann E. MORIN -[Fabrice: update for 6.0.0] -Signed-off-by: Fabrice Fontaine ---- - python/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/python/Makefile.am b/python/Makefile.am -index 59d195f29..a41604f72 100644 ---- a/python/Makefile.am -+++ b/python/Makefile.am -@@ -6,11 +6,11 @@ EXTRA_DIST = setup.py \ - if HAVE_PYTHON_DISTUTILS - all-local: - cd $(srcdir) && \ -- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" -+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)" - - install-exec-local: - cd $(srcdir) && \ -- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" \ -+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)" \ - install --prefix $(DESTDIR)$(prefix) - - uninstall-local: --- -2.20.1 - diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash index 38ab5e9cd3..49341984a2 100644 --- a/package/suricata/suricata.hash +++ b/package/suricata/suricata.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 00173634fa76aee636e38a90b1c02616c903e42173107d47b4114960b5fbe839 suricata-6.0.6.tar.gz +sha256 cfa93de900d0fd8ba67c79fddec58fb7afb8f6c45b0773040035a15407b796ce suricata-6.0.14.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk index 72b72cc94d..2aa5a0c5ed 100644 --- a/package/suricata/suricata.mk +++ b/package/suricata/suricata.mk @@ -4,13 +4,12 @@ # ################################################################################ -SURICATA_VERSION = 6.0.6 +SURICATA_VERSION = 6.0.14 SURICATA_SITE = https://www.openinfosecfoundation.org/download SURICATA_LICENSE = GPL-2.0 SURICATA_LICENSE_FILES = COPYING LICENSE SURICATA_CPE_ID_VENDOR = oisf -# 0001-python-ensure-proper-shabang-on-python-scripts.patch -# 0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch +# 0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch SURICATA_AUTORECONF = YES SURICATA_DEPENDENCIES = \ From peter at korsgaard.com Sun Oct 1 18:36:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:36:22 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/mosquitto: bump to version 2.0.18 Message-ID: <20231001184642.F064D83A4B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cdb4d67b5bff9a1b65bd1d786623cb9219e455fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard (cherry picked from commit 236dc1015cbda9b0c3479e2f37cb09c507da04dc) Signed-off-by: Peter Korsgaard --- package/mosquitto/mosquitto.hash | 4 ++-- package/mosquitto/mosquitto.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mosquitto/mosquitto.hash b/package/mosquitto/mosquitto.hash index df0a51df3a..453c1934dd 100644 --- a/package/mosquitto/mosquitto.hash +++ b/package/mosquitto/mosquitto.hash @@ -1,6 +1,6 @@ # Locally calculated after checking gpg signature -# from https://mosquitto.org/files/source/mosquitto-2.0.17.tar.gz.asc -sha256 3be7a911236567c1a9fbe25baf3e3167004ba4a0c151a448ef1f7fc077dba52f mosquitto-2.0.17.tar.gz +# from https://mosquitto.org/files/source/mosquitto-2.0.18.tar.gz.asc +sha256 d665fe7d0032881b1371a47f34169ee4edab67903b2cd2b4c083822823f4448a mosquitto-2.0.18.tar.gz # License files sha256 d3c4ccace4e5d3cc89d34cf2a0bc85b8596bfc0a32b815d0d77f9b7c41b5350c LICENSE.txt diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk index 0b85246f39..b847e56fec 100644 --- a/package/mosquitto/mosquitto.mk +++ b/package/mosquitto/mosquitto.mk @@ -4,7 +4,7 @@ # ################################################################################ -MOSQUITTO_VERSION = 2.0.17 +MOSQUITTO_VERSION = 2.0.18 MOSQUITTO_SITE = https://mosquitto.org/files/source MOSQUITTO_LICENSE = EPL-2.0 or EDLv1.0 MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v20 edl-v10 From peter at korsgaard.com Sun Oct 1 18:31:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:31:14 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/php: bump version to 8.2.11 Message-ID: <20231001184642.DC2C383E70@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=72af9a1dc4ad8748c3f94f6b6e48928abc9f60a3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Changelog: https://www.php.net/ChangeLog-8.php#8.2.11 Release notes: https://www.php.net/releases/8_2_11.php Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 3686d9fc17aa1ad200d03d6dc1004c71026dbde0) Signed-off-by: Peter Korsgaard --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index b8ff7ccc5c..e5f94a5e05 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3 php-8.2.10.tar.xz +sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index ede0980629..ee33000a6f 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.10 +PHP_VERSION = 8.2.11 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:30:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:30:25 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/stress-ng: drop LDFLAGS_EXTRA Message-ID: <20231001184642.CE93983E75@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e6bdfad8d30e9e87737af71b630a1537df66f452 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Drop LDFLAGS_EXTRA to fix the following build failure raised since commit 42f25180233df459cd2bfbc5b9ebf8b95c6b60cb: /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/12.3.0/../../../../mipsel-buildroot-linux-gnu/bin/ld: stress-crypt.o: in function `$L17': stress-crypt.c:(.text+0x2dc): undefined reference to `crypt_r' Fixes: - http://autobuild.buildroot.org/results/0c1d2ef59b88ebb3ae10bf8cb986280b4c1283eb Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5e97bc1f05d6925b71e7871c74f1ccf9b5a2d58b) Signed-off-by: Peter Korsgaard --- package/stress-ng/stress-ng.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/stress-ng/stress-ng.mk b/package/stress-ng/stress-ng.mk index a7b57459f1..24ec4cb515 100644 --- a/package/stress-ng/stress-ng.mk +++ b/package/stress-ng/stress-ng.mk @@ -21,7 +21,7 @@ STRESS_NG_DEPENDENCIES += keyutils endif ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -STRESS_NG_MAKE_FLAGS += LDFLAGS_EXTRA=-latomic +STRESS_NG_MAKE_FLAGS += LDFLAGS="$(TARGET_LDFLAGS) -latomic" endif define STRESS_NG_BUILD_CMDS From peter at korsgaard.com Sun Oct 1 18:41:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:41:04 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/neon: drop patches Message-ID: <20231001184643.16D2683E72@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6374f0c527c3a15e8c7041551453ce447d9e309a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Patches (and so autoreconf) are not needed since bump to version 0.32.4 in commit f39ac8336e9cd933de50970a657e32a8d9601c67 and https://github.com/notroj/neon/commit/9924d4d31525f8b61e37076b18004c603fd01761 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit e1b2cd5835d0a13bff763cfcf289919519c202ff) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 2 - ...vertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch | 76 ---------------------- .../neon/0002-configure.ac-fix-autoreconf.patch | 28 -------- package/neon/neon.mk | 2 - 4 files changed, 108 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 6f754db59e..44220bbb55 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -962,8 +962,6 @@ package/ne10/0001-CMakeLists-don-t-hard-code-thumb-code-generation.patch Upstrea package/ne10/0002-fix-build-without-C.patch Upstream package/neard/S53neard Indent Shellcheck Variables package/neardal/0001-lib-neardal.h-fix-build-with-gcc-10.patch Upstream -package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch Upstream -package/neon/0002-configure.ac-fix-autoreconf.patch Upstream package/netatalk/S50netatalk EmptyLastLine Indent Variables package/netcat/0001-signed-bit-counting.patch Sob Upstream package/netopeer2/S52netopeer2 Shellcheck Variables diff --git a/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch b/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch deleted file mode 100644 index 02088bfe02..0000000000 --- a/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 8f9e110b391f065536780d19c2257ad7afd83522 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 31 Jan 2022 23:42:13 +0100 -Subject: [PATCH] Revert "Advertise TS_SSL feature with OpenSSL >= 1.1.0." - -This reverts commit 281c84fc3996c757efdf6e9b3f906d7a1fc08b1d. - -Indeed openssl can be built on toolchains without threads support which -will result in the following build failure: - -ne_openssl.c:43:10: fatal error: pthread.h: No such file or directory - 43 | #include - | ^~~~~~~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/da995ef26001357e51a5907de9c6111b9ff89bdf - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/notroj/neon/pull/71] ---- - macros/neon.m4 | 15 ++++----------- - src/ne_openssl.c | 4 ++-- - 2 files changed, 6 insertions(+), 13 deletions(-) - -diff --git a/macros/neon.m4 b/macros/neon.m4 -index 129d4ac..5a5fb1b 100644 ---- a/macros/neon.m4 -+++ b/macros/neon.m4 -@@ -960,13 +960,9 @@ yes|openssl) - AC_CHECK_HEADERS(openssl/ssl.h openssl/opensslv.h,, - [AC_MSG_ERROR([OpenSSL headers not found, cannot enable SSL support])]) - -+ # Enable EGD support if using 0.9.7 or newer - NE_CHECK_OPENSSLVER(ne_cv_lib_ssl097, 0.9.7, 0x00907000L) -- NE_CHECK_OPENSSLVER(ne_cv_lib_ssl110, 1.1.0, 0x10100000L) -- if test "$ne_cv_lib_ssl110" = "yes"; then -- NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) -- AC_DEFINE(HAVE_OPENSSL11, 1, [Enable OpenSSL 1.1 support]) -- elif test "$ne_cv_lib_ssl097" = "yes"; then -- # Enable EGD support if using 0.9.7 or newer -+ if test "$ne_cv_lib_ssl097" = "yes"; then - AC_MSG_NOTICE([OpenSSL >= 0.9.7; EGD support not needed in neon]) - NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) - NE_CHECK_FUNCS(CRYPTO_set_idptr_callback SSL_SESSION_cmp) -@@ -1074,11 +1070,8 @@ CC/CFLAGS/LIBS must be used to make the POSIX library interfaces - available]),, - enable_threadsafe_ssl=no) - --case ${enable_threadsafe_ssl}X${ne_cv_lib_ssl110} in --*Xyes) -- NE_ENABLE_SUPPORT(TS_SSL, [OpenSSL is natively thread-safe]) -- ;; --posixX*|yesX*) -+case $enable_threadsafe_ssl in -+posix|yes) - ne_pthr_ok=yes - AC_CHECK_FUNCS([pthread_mutex_init pthread_mutex_lock],,[ne_pthr_ok=no]) - if test "${ne_pthr_ok}" = "no"; then -diff --git a/src/ne_openssl.c b/src/ne_openssl.c -index 41a5c05..96c768e 100644 ---- a/src/ne_openssl.c -+++ b/src/ne_openssl.c -@@ -1194,8 +1194,8 @@ char *ne_vstrhash(unsigned int flags, va_list ap) - return ne__strhash2hex(v, vlen, flags); - } - --#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10100000L --/* From OpenSSL 1.1.0 locking callbacks are no longer needed. */ -+#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10101000L -+/* For OpenSSL 1.1.1 locking callbacks are no longer need at all. */ - #define WITH_OPENSSL_LOCKING (1) - - /* Implementation of locking callbacks to make OpenSSL thread-safe. --- -2.34.1 - diff --git a/package/neon/0002-configure.ac-fix-autoreconf.patch b/package/neon/0002-configure.ac-fix-autoreconf.patch deleted file mode 100644 index cd63d1ed41..0000000000 --- a/package/neon/0002-configure.ac-fix-autoreconf.patch +++ /dev/null @@ -1,28 +0,0 @@ -From cf779609a5dd38f0a8fdb3c4539371f13fd3a24a Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 8 Feb 2022 18:34:25 +0100 -Subject: [PATCH] configure.ac: fix autoreconf - -Add AC_CONFIG_MACRO_DIR(macros) to fix autoreconf - -Signed-off-by: Fabrice Fontaine -[Upstream status: not sent yet] ---- - configure.ac | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 37b14ec..122151d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,5 +1,7 @@ - AC_PREREQ(2.58) dnl 2.58 required for AS_HELP_STRING - -+AC_CONFIG_MACRO_DIR(macros) -+ - dnl Extract the version (sans LF) from .version, created at release-time. - m4_define(ne_version, [m4_translit(m4_include(.version), [ - ])]) --- -2.34.1 - diff --git a/package/neon/neon.mk b/package/neon/neon.mk index 1ce8f1ff16..96ee608780 100644 --- a/package/neon/neon.mk +++ b/package/neon/neon.mk @@ -10,8 +10,6 @@ NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests) NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README.md NEON_CPE_ID_VENDOR = webdav NEON_INSTALL_STAGING = YES -# We're patching configure.ac -NEON_AUTORECONF = YES NEON_CONF_OPTS = --without-gssapi --disable-rpath NEON_CONFIG_SCRIPTS = neon-config NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) From peter at korsgaard.com Sun Oct 1 18:24:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:24:43 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] unifdef: add missing license Message-ID: <20231001184812.8E61B83F32@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=057beeb6afa46fdbe72368254bd5b2a97d611362 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause applies to "manual page unifdef.1 and the portability support code in the FreeBSD subdirectory". The BSD-2-Clause applies to everything else. Signed-off-by: Brandon Maier Reviewed-by: Thomas Devoogdt Signed-off-by: Yann E. MORIN (cherry picked from commit d8cea23ce4c2462000a3dd01304ba613a39253d5) Signed-off-by: Peter Korsgaard --- package/unifdef/unifdef.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk index 7d10595d1b..fd74455894 100644 --- a/package/unifdef/unifdef.mk +++ b/package/unifdef/unifdef.mk @@ -6,7 +6,7 @@ UNIFDEF_VERSION = 2.12 UNIFDEF_SITE = https://dotat.at/prog/unifdef -UNIFDEF_LICENSE = BSD-2-Clause +UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause UNIFDEF_LICENSE_FILES = COPYING define HOST_UNIFDEF_BUILD_CMDS From peter at korsgaard.com Sun Oct 1 18:31:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:31:26 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/php: bump version to 8.2.11 Message-ID: <20231001184812.AE9A383F4E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2b3b8967bfa58cb0dd67ad3c7da29c9498a9c670 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Changelog: https://www.php.net/ChangeLog-8.php#8.2.11 Release notes: https://www.php.net/releases/8_2_11.php Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 3686d9fc17aa1ad200d03d6dc1004c71026dbde0) Signed-off-by: Peter Korsgaard --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index b8ff7ccc5c..e5f94a5e05 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3 php-8.2.10.tar.xz +sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index 6c70de2742..88493b4e0f 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.10 +PHP_VERSION = 8.2.11 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:27:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:27:18 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/suricata: security bump to version 6.0.14 Message-ID: <20231001184812.A387183F4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=59989e79d6ccc1bafe2d64a70a31a6360c4e5817 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x - Fix CVE-2023-35852: In Suricata before 6.0.13 (when there is an adversary who controls an external source of rules), a dataset filename, that comes from a rule, may trigger absolute or relative directory traversal, and lead to write access to a local filesystem. This is addressed in 6.0.13 by requiring allow-absolute-filenames and allow-write (in the datasets rules configuration section) if an installation requires traversal/writing in this situation. - Fix CVE-2023-35853: In Suricata before 6.0.13, an adversary who controls an external source of Lua rules may be able to execute Lua code. This is addressed in 6.0.13 by disabling Lua unless allow-rules is true in the security lua configuration section. - Drop first patch (not needed since https://github.com/OISF/suricata/commit/c8a3aa608eaae1acbaf33dba8a7c1a3cbfeb4285) https://github.com/OISF/suricata/blob/suricata-6.0.14/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit ce17f93e828a07292e03653be04a49480250f23f) Signed-off-by: Peter Korsgaard --- ...c-allow-the-user-to-override-RUST_TARGET.patch} | 0 ...n-ensure-proper-shabang-on-python-scripts.patch | 47 ---------------------- package/suricata/suricata.hash | 2 +- package/suricata/suricata.mk | 5 +-- 4 files changed, 3 insertions(+), 51 deletions(-) diff --git a/package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch b/package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch similarity index 100% rename from package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch rename to package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch diff --git a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch b/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch deleted file mode 100644 index 424b30d317..0000000000 --- a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 44fe2328b715db25134ee095526d2fa47e6cd834 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Wed, 1 Jan 2020 15:25:57 +0100 -Subject: [PATCH] python: ensure proper shabang on python scripts - -When instlling python scripts, distutils would use the python used to -run setup.py as shabang for the scripts it installs. - -However, when cross-compiling, this is most often not correct. - -Instead, using '/usr/bin/env python' is guaranteed to find the proper -python in the PATH, so we need to instruct setyup.py to use that as the -executable. - -[yann.morin.1998 at free.fr: - - author did not provide their SoB, but it's simple enough to - not require it for once - - provide proper commit log -] -Signed-off-by: Yann E. MORIN -[Fabrice: update for 6.0.0] -Signed-off-by: Fabrice Fontaine ---- - python/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/python/Makefile.am b/python/Makefile.am -index 59d195f29..a41604f72 100644 ---- a/python/Makefile.am -+++ b/python/Makefile.am -@@ -6,11 +6,11 @@ EXTRA_DIST = setup.py \ - if HAVE_PYTHON_DISTUTILS - all-local: - cd $(srcdir) && \ -- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" -+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)" - - install-exec-local: - cd $(srcdir) && \ -- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" \ -+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)" \ - install --prefix $(DESTDIR)$(prefix) - - uninstall-local: --- -2.20.1 - diff --git a/package/suricata/suricata.hash b/package/suricata/suricata.hash index 38ab5e9cd3..49341984a2 100644 --- a/package/suricata/suricata.hash +++ b/package/suricata/suricata.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 00173634fa76aee636e38a90b1c02616c903e42173107d47b4114960b5fbe839 suricata-6.0.6.tar.gz +sha256 cfa93de900d0fd8ba67c79fddec58fb7afb8f6c45b0773040035a15407b796ce suricata-6.0.14.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/suricata/suricata.mk b/package/suricata/suricata.mk index 72b72cc94d..2aa5a0c5ed 100644 --- a/package/suricata/suricata.mk +++ b/package/suricata/suricata.mk @@ -4,13 +4,12 @@ # ################################################################################ -SURICATA_VERSION = 6.0.6 +SURICATA_VERSION = 6.0.14 SURICATA_SITE = https://www.openinfosecfoundation.org/download SURICATA_LICENSE = GPL-2.0 SURICATA_LICENSE_FILES = COPYING LICENSE SURICATA_CPE_ID_VENDOR = oisf -# 0001-python-ensure-proper-shabang-on-python-scripts.patch -# 0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch +# 0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch SURICATA_AUTORECONF = YES SURICATA_DEPENDENCIES = \ From peter at korsgaard.com Sun Oct 1 18:38:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:38:52 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libvpx: bump version to 1.13.0 Message-ID: <20231001184812.CFC7A83F4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ba2d721a9709b7ea84ddc72161225a77d035f4d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Changelog: https://github.com/webmproject/libvpx/blob/main/CHANGELOG Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit a7e7ef2eadfd18c940718ac63a1614709451a398) Signed-off-by: Peter Korsgaard --- package/libvpx/libvpx.hash | 2 +- package/libvpx/libvpx.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libvpx/libvpx.hash b/package/libvpx/libvpx.hash index 828718e713..c88e6840cf 100644 --- a/package/libvpx/libvpx.hash +++ b/package/libvpx/libvpx.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 f1acc15d0fd0cb431f4bf6eac32d5e932e40ea1186fe78e074254d6d003957bb libvpx-1.12.0.tar.gz +sha256 cb2a393c9c1fae7aba76b950bb0ad393ba105409fe1a147ccd61b0aaa1501066 libvpx-1.13.0.tar.gz sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 LICENSE sha256 cc3273e0694ea5896145e0677699b53471b03ea43021ddc50e7923fbb9f5023c PATENTS diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index c8a22b9ab2..67b25c9100 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBVPX_VERSION = 1.12.0 +LIBVPX_VERSION = 1.13.0 LIBVPX_SITE = $(call github,webmproject,libvpx,v$(LIBVPX_VERSION)) LIBVPX_LICENSE = BSD-3-Clause LIBVPX_LICENSE_FILES = LICENSE PATENTS From peter at korsgaard.com Sun Oct 1 18:32:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:32:06 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/samba4: bump version to 4.18.7 Message-ID: <20231001184812.B8E6383F32@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa4752d5e789c485be5c8c4e62bc9b8dc5a39ac4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Release notes: https://www.samba.org/samba/history/samba-4.18.7.html Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 94b2dc586fc96be90cfc02f279f5b14bbabe0c5a) Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fb278c1124..fea760c500 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.6.tar.asc -sha256 284c8a994ce989c87cd6808c390fcb9d00c36b21a0dc1a8a75474b67c9e715e7 samba-4.18.6.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc +sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 7b9e320012..cfa94fc141 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.6 +SAMBA4_VERSION = 4.18.7 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:39:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:39:50 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libfastjson: security bump to version 0.99.9.1 Message-ID: <20231001184813.00ADB83F4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4de11043edc321c1ad9ded7e927f830626d4d914 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the equivalent of CVE-2020-12762, which was a json-c vulnerability: https://github.com/advisories/GHSA-3797-gmjf-45gm https://github.com/rsyslog/libfastjson/pull/166 Signed-off-by: Peter Korsgaard (cherry picked from commit cfe830c9ee5d66d3bdca15933ed8b59e3ec16e88) Signed-off-by: Peter Korsgaard --- package/libfastjson/libfastjson.hash | 2 +- package/libfastjson/libfastjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfastjson/libfastjson.hash b/package/libfastjson/libfastjson.hash index 218a738b37..f220c608df 100644 --- a/package/libfastjson/libfastjson.hash +++ b/package/libfastjson/libfastjson.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 881f954633aa76931e4c756ece0bda6fd8a673c6e66955a3db3b2bb9d6bbff72 libfastjson-0.99.9.tar.gz +sha256 67cde7e85fa372036d7694f3b32cfc666705ab19367920f555af9d1c183edfef libfastjson-0.99.9.1.tar.gz sha256 b29370bbfa98816e1fca0901f18149d920736771bfd68b4ee0eb00c78b38d245 COPYING diff --git a/package/libfastjson/libfastjson.mk b/package/libfastjson/libfastjson.mk index 7ab978dc67..5ee33ba496 100644 --- a/package/libfastjson/libfastjson.mk +++ b/package/libfastjson/libfastjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFASTJSON_VERSION = 0.99.9 +LIBFASTJSON_VERSION = 0.99.9.1 LIBFASTJSON_SITE = $(call github,rsyslog,libfastjson,v$(LIBFASTJSON_VERSION)) LIBFASTJSON_INSTALL_STAGING = YES LIBFASTJSON_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' From peter at korsgaard.com Sun Oct 1 18:36:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:36:29 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mosquitto: bump to version 2.0.18 Message-ID: <20231001184812.C622E83F4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7c3ff8c67d20f909636c2bcf8cf44b383a927abd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard (cherry picked from commit 236dc1015cbda9b0c3479e2f37cb09c507da04dc) Signed-off-by: Peter Korsgaard --- package/mosquitto/mosquitto.hash | 4 ++-- package/mosquitto/mosquitto.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mosquitto/mosquitto.hash b/package/mosquitto/mosquitto.hash index df0a51df3a..453c1934dd 100644 --- a/package/mosquitto/mosquitto.hash +++ b/package/mosquitto/mosquitto.hash @@ -1,6 +1,6 @@ # Locally calculated after checking gpg signature -# from https://mosquitto.org/files/source/mosquitto-2.0.17.tar.gz.asc -sha256 3be7a911236567c1a9fbe25baf3e3167004ba4a0c151a448ef1f7fc077dba52f mosquitto-2.0.17.tar.gz +# from https://mosquitto.org/files/source/mosquitto-2.0.18.tar.gz.asc +sha256 d665fe7d0032881b1371a47f34169ee4edab67903b2cd2b4c083822823f4448a mosquitto-2.0.18.tar.gz # License files sha256 d3c4ccace4e5d3cc89d34cf2a0bc85b8596bfc0a32b815d0d77f9b7c41b5350c LICENSE.txt diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk index 0b85246f39..b847e56fec 100644 --- a/package/mosquitto/mosquitto.mk +++ b/package/mosquitto/mosquitto.mk @@ -4,7 +4,7 @@ # ################################################################################ -MOSQUITTO_VERSION = 2.0.17 +MOSQUITTO_VERSION = 2.0.18 MOSQUITTO_SITE = https://mosquitto.org/files/source MOSQUITTO_LICENSE = EPL-2.0 or EDLv1.0 MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v20 edl-v10 From peter at korsgaard.com Sun Oct 1 18:25:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:25:45 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/librsvg: security bump to version 2.50.9 Message-ID: <20231001184812.9A0DC83F4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=eb907f77646ab337e79c9d6ddedb29937ce8c26a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix CVE-2023-38633: A directory traversal problem in the URL decoder of librsvg before 2.56.3 could be used by local or remote attackers to disclose files (on the local filesystem outside of the expected area), as demonstrated by href=".?../../../../../../../../../../etc/passwd" in an xi:include element. https://gitlab.gnome.org/GNOME/librsvg/-/blob/2.50.9/NEWS Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e7988c7060d7d8b137d18721ef773ef266114690) Signed-off-by: Peter Korsgaard --- package/librsvg/librsvg.hash | 4 ++-- package/librsvg/librsvg.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/librsvg/librsvg.hash b/package/librsvg/librsvg.hash index c8da3354f5..4eab8cdfba 100644 --- a/package/librsvg/librsvg.hash +++ b/package/librsvg/librsvg.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.7.sha256sum -sha256 fffb61b08cd5282aaae147a02b305166a7426fad22a8b9427708f0f2fc426ebc librsvg-2.50.7.tar.xz +# From https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.9.sha256sum +sha256 518905fffa879b6c7f3db1aae961cf31333e0eadc7b4cdd4f531707868c54b53 librsvg-2.50.9.tar.xz # Locally computed sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/librsvg/librsvg.mk b/package/librsvg/librsvg.mk index df6559a858..81a6667817 100644 --- a/package/librsvg/librsvg.mk +++ b/package/librsvg/librsvg.mk @@ -5,7 +5,7 @@ ################################################################################ LIBRSVG_VERSION_MAJOR = 2.50 -LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).7 +LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).9 LIBRSVG_SITE = https://download.gnome.org/sources/librsvg/$(LIBRSVG_VERSION_MAJOR) LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz LIBRSVG_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 1 18:39:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:39:02 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libvpx: Add upstream security patch to fix CVE-2023-5217 Message-ID: <20231001184812.EA56583F32@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ca3a64775ccfef2ba2607929a3472ec7f3303b25 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE_2023-5217: Heap buffer overflow in vp8 encoding in libvpx in Google Chrome prior to 117.0.5938.132 and libvpx 1.13.1 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. https://www.openwall.com/lists/oss-security/2023/09/28/5 Signed-off-by: Bernd Kuhls [Peter: extend commit message, add _IGNORE_CVES] Signed-off-by: Peter Korsgaard (cherry picked from commit e99999d7cb1dca94d1073fc1b2db672152cd728b) Signed-off-by: Peter Korsgaard --- .../0002-VP8-disallow-thread-count-changes.patch | 38 ++++++++++++++++++++++ package/libvpx/libvpx.mk | 3 ++ 2 files changed, 41 insertions(+) diff --git a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch new file mode 100644 index 0000000000..d625255a9f --- /dev/null +++ b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch @@ -0,0 +1,38 @@ +From 3fbd1dca6a4d2dad332a2110d646e4ffef36d590 Mon Sep 17 00:00:00 2001 +From: James Zern +Date: Mon, 25 Sep 2023 18:55:59 -0700 +Subject: [PATCH] VP8: disallow thread count changes + +Currently allocations are done at encoder creation time. Going from +threaded to non-threaded would cause a crash. + +Bug: chromium:1486441 +Change-Id: Ie301c2a70847dff2f0daae408fbef1e4d42e73d4 + +Fixes CVE-2023-5217: https://www.cve.org/CVERecord?id=CVE-2023-5217 + +Upstream: https://github.com/webmproject/libvpx/commit/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 +Upstream: https://chromium.googlesource.com/webm/libvpx/+/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 + +[Bernd: Removed patch for test/encode_api_test.cc] +Signed-off-by: Bernd Kuhls +--- + vp8/encoder/onyx_if.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c +index c65afc643bf..c5e9970c3cc 100644 +--- a/vp8/encoder/onyx_if.c ++++ b/vp8/encoder/onyx_if.c +@@ -1447,6 +1447,11 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) { + last_h = cpi->oxcf.Height; + prev_number_of_layers = cpi->oxcf.number_of_layers; + ++ if (cpi->initial_width) { ++ // TODO(https://crbug.com/1486441): Allow changing thread counts; the ++ // allocation is done once in vp8_create_compressor(). ++ oxcf->multi_threaded = cpi->oxcf.multi_threaded; ++ } + cpi->oxcf = *oxcf; + + switch (cpi->oxcf.Mode) { diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index 67b25c9100..b558c41981 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -11,6 +11,9 @@ LIBVPX_LICENSE_FILES = LICENSE PATENTS LIBVPX_CPE_ID_VENDOR = webmproject LIBVPX_INSTALL_STAGING = YES +# 0002-VP8-disallow-thread-count-changes.patch +LIBVPX_IGNORE_CVES += CVE-2023-5217 + # ld is being used with cc options. therefore, pretend ld is cc. LIBVPX_CONF_ENV = \ LD="$(TARGET_CC)" \ From peter at korsgaard.com Sun Oct 1 18:41:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:41:46 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/neon: drop patches Message-ID: <20231001184813.0B36883F4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=505b8ac335f9a225963e2318e3723487b2446dd4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Patches (and so autoreconf) are not needed since bump to version 0.32.4 in commit f39ac8336e9cd933de50970a657e32a8d9601c67 and https://github.com/notroj/neon/commit/9924d4d31525f8b61e37076b18004c603fd01761 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit e1b2cd5835d0a13bff763cfcf289919519c202ff) Signed-off-by: Peter Korsgaard --- ...vertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch | 76 ---------------------- .../neon/0002-configure.ac-fix-autoreconf.patch | 28 -------- package/neon/neon.mk | 2 - 3 files changed, 106 deletions(-) diff --git a/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch b/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch deleted file mode 100644 index 02088bfe02..0000000000 --- a/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 8f9e110b391f065536780d19c2257ad7afd83522 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 31 Jan 2022 23:42:13 +0100 -Subject: [PATCH] Revert "Advertise TS_SSL feature with OpenSSL >= 1.1.0." - -This reverts commit 281c84fc3996c757efdf6e9b3f906d7a1fc08b1d. - -Indeed openssl can be built on toolchains without threads support which -will result in the following build failure: - -ne_openssl.c:43:10: fatal error: pthread.h: No such file or directory - 43 | #include - | ^~~~~~~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/da995ef26001357e51a5907de9c6111b9ff89bdf - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/notroj/neon/pull/71] ---- - macros/neon.m4 | 15 ++++----------- - src/ne_openssl.c | 4 ++-- - 2 files changed, 6 insertions(+), 13 deletions(-) - -diff --git a/macros/neon.m4 b/macros/neon.m4 -index 129d4ac..5a5fb1b 100644 ---- a/macros/neon.m4 -+++ b/macros/neon.m4 -@@ -960,13 +960,9 @@ yes|openssl) - AC_CHECK_HEADERS(openssl/ssl.h openssl/opensslv.h,, - [AC_MSG_ERROR([OpenSSL headers not found, cannot enable SSL support])]) - -+ # Enable EGD support if using 0.9.7 or newer - NE_CHECK_OPENSSLVER(ne_cv_lib_ssl097, 0.9.7, 0x00907000L) -- NE_CHECK_OPENSSLVER(ne_cv_lib_ssl110, 1.1.0, 0x10100000L) -- if test "$ne_cv_lib_ssl110" = "yes"; then -- NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) -- AC_DEFINE(HAVE_OPENSSL11, 1, [Enable OpenSSL 1.1 support]) -- elif test "$ne_cv_lib_ssl097" = "yes"; then -- # Enable EGD support if using 0.9.7 or newer -+ if test "$ne_cv_lib_ssl097" = "yes"; then - AC_MSG_NOTICE([OpenSSL >= 0.9.7; EGD support not needed in neon]) - NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) - NE_CHECK_FUNCS(CRYPTO_set_idptr_callback SSL_SESSION_cmp) -@@ -1074,11 +1070,8 @@ CC/CFLAGS/LIBS must be used to make the POSIX library interfaces - available]),, - enable_threadsafe_ssl=no) - --case ${enable_threadsafe_ssl}X${ne_cv_lib_ssl110} in --*Xyes) -- NE_ENABLE_SUPPORT(TS_SSL, [OpenSSL is natively thread-safe]) -- ;; --posixX*|yesX*) -+case $enable_threadsafe_ssl in -+posix|yes) - ne_pthr_ok=yes - AC_CHECK_FUNCS([pthread_mutex_init pthread_mutex_lock],,[ne_pthr_ok=no]) - if test "${ne_pthr_ok}" = "no"; then -diff --git a/src/ne_openssl.c b/src/ne_openssl.c -index 41a5c05..96c768e 100644 ---- a/src/ne_openssl.c -+++ b/src/ne_openssl.c -@@ -1194,8 +1194,8 @@ char *ne_vstrhash(unsigned int flags, va_list ap) - return ne__strhash2hex(v, vlen, flags); - } - --#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10100000L --/* From OpenSSL 1.1.0 locking callbacks are no longer needed. */ -+#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10101000L -+/* For OpenSSL 1.1.1 locking callbacks are no longer need at all. */ - #define WITH_OPENSSL_LOCKING (1) - - /* Implementation of locking callbacks to make OpenSSL thread-safe. --- -2.34.1 - diff --git a/package/neon/0002-configure.ac-fix-autoreconf.patch b/package/neon/0002-configure.ac-fix-autoreconf.patch deleted file mode 100644 index cd63d1ed41..0000000000 --- a/package/neon/0002-configure.ac-fix-autoreconf.patch +++ /dev/null @@ -1,28 +0,0 @@ -From cf779609a5dd38f0a8fdb3c4539371f13fd3a24a Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 8 Feb 2022 18:34:25 +0100 -Subject: [PATCH] configure.ac: fix autoreconf - -Add AC_CONFIG_MACRO_DIR(macros) to fix autoreconf - -Signed-off-by: Fabrice Fontaine -[Upstream status: not sent yet] ---- - configure.ac | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 37b14ec..122151d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,5 +1,7 @@ - AC_PREREQ(2.58) dnl 2.58 required for AS_HELP_STRING - -+AC_CONFIG_MACRO_DIR(macros) -+ - dnl Extract the version (sans LF) from .version, created at release-time. - m4_define(ne_version, [m4_translit(m4_include(.version), [ - ])]) --- -2.34.1 - diff --git a/package/neon/neon.mk b/package/neon/neon.mk index 1ce8f1ff16..96ee608780 100644 --- a/package/neon/neon.mk +++ b/package/neon/neon.mk @@ -10,8 +10,6 @@ NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests) NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README.md NEON_CPE_ID_VENDOR = webdav NEON_INSTALL_STAGING = YES -# We're patching configure.ac -NEON_AUTORECONF = YES NEON_CONF_OPTS = --without-gssapi --disable-rpath NEON_CONFIG_SCRIPTS = neon-config NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) From peter at korsgaard.com Sun Oct 1 18:54:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:54:57 +0200 Subject: [Buildroot] [git commit] package/enlightenment: security bump to version 0.25.4 Message-ID: <20231001185722.93C2683F62@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=83ffe153faa97b08acbfd0d15d4ca7f77604c17a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is a bugfix release which fixes a CVE. See: https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring." Hashes were never part of the online news page, therefore mark them as locally computed. Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard --- package/enlightenment/enlightenment.hash | 5 +++-- package/enlightenment/enlightenment.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/enlightenment/enlightenment.hash b/package/enlightenment/enlightenment.hash index 2d977b86f7..ed5d6b24ef 100644 --- a/package/enlightenment/enlightenment.hash +++ b/package/enlightenment/enlightenment.hash @@ -1,4 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-enlightenment-0.25.1 -sha256 2cf05fe3d96ef35e823619dbc0ac513ecabcae2186800ecd804924a637112444 enlightenment-0.25.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 +sha256 56db5d206b821b9a8831d26e713e410ac70b2255a6f43fcdf7c01eefde23b7a2 enlightenment-0.25.4.tar.xz +# Locally computed sha256 8d2fbc393e967cd6f5b8559d1744881a6a1ceb3ec6e1c2368c3916809ffccb8d COPYING sha256 cdc77ee1732455b203610f923fe4196046b3f7509038c48dc0b0c7e3492c23f3 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk index 95670e800d..836c6e581d 100644 --- a/package/enlightenment/enlightenment.mk +++ b/package/enlightenment/enlightenment.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENLIGHTENMENT_VERSION = 0.25.1 +ENLIGHTENMENT_VERSION = 0.25.4 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz ENLIGHTENMENT_SITE = https://download.enlightenment.org/rel/apps/enlightenment ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) From peter at korsgaard.com Sun Oct 1 18:54:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 1 Oct 2023 20:54:07 +0200 Subject: [Buildroot] [git commit] package/wpewebkit: needs >= GCC 9 Message-ID: <20231001185722.8B5DE83F5F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=603fa625b14c849ef42262c7b755276fa9231c25 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard --- package/wpewebkit/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in index f1d38c7cad..81b66f8429 100644 --- a/package/wpewebkit/Config.in +++ b/package/wpewebkit/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" +comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \ || !BR2_HOST_GCC_AT_LEAST_4_9 comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" @@ -37,7 +37,7 @@ config BR2_PACKAGE_WPEWEBKIT depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy From peter at korsgaard.com Sun Oct 1 18:58:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:58:09 +0200 Subject: [Buildroot] [PATCH] package/enlightenment: security bump to version 0.25.4 In-Reply-To: <20231001181141.1275330-3-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 20:11:42 +0200") References: <20231001181141.1275330-3-dalang@gmx.at> Message-ID: <8734yui30e.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > This is a bugfix release which fixes a CVE. > See: > https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 > CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows > local users to gain privileges because it is setuid root, and the system > library function mishandles pathnames that begin with a /dev/.. > substring." > Hashes were never part of the online news page, therefore mark them as > locally computed. > Signed-off-by: Daniel Lang Committed, thanks. -- Bye, Peter Korsgaard From giulio.benetti at benettiengineering.com Sun Oct 1 19:01:01 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 Oct 2023 21:01:01 +0200 Subject: [Buildroot] [PATCH v2] package/wilc-driver: fix build failure with Linux 6.3+ Message-ID: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> Add local patches pending upstream to fix build failure on Linux 6.3+ Fixes: http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f Signed-off-by: Giulio Benetti --- .../wilc-driver/0006-Support-Linux-6.3.patch | 43 +++++++++++++++++++ .../wilc-driver/0007-Support-Linux-6.4.patch | 36 ++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 package/wilc-driver/0006-Support-Linux-6.3.patch create mode 100644 package/wilc-driver/0007-Support-Linux-6.4.patch diff --git a/package/wilc-driver/0006-Support-Linux-6.3.patch b/package/wilc-driver/0006-Support-Linux-6.3.patch new file mode 100644 index 0000000000..f5a92027da --- /dev/null +++ b/package/wilc-driver/0006-Support-Linux-6.3.patch @@ -0,0 +1,43 @@ +From 14b5eccf4145e7a5afc8bc65a15f26ac691f98d8 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 10:54:18 +0200 +Subject: [PATCH] Support Linux 6.3 + +With Linux 6.3 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=40fc56ee608cdb20022c225ac6f1e4b7ba63f8f1 +function of_get_named_gpio_flags() has been dropped but it was only a +wrapper to call of_get_named_gpio() if the flags passed was NULL and this +is the case. So let's use of_get_named_gpio() in place of +of_get_named_gpio_flags() since of_get_named_gpio() never changed +after its adding in Linux version 3.1. + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/4 + +Signed-off-by: Giulio Benetti +--- + power.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/power.c b/power.c +index 6c59e0b..6ab8d63 100644 +--- a/power.c ++++ b/power.c +@@ -25,13 +25,11 @@ int wilc_of_parse_power_pins(struct wilc *wilc) + const struct wilc_power_gpios *gpios = &default_gpios[0]; + int ret; + +- power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, +- NULL); ++ power->gpios.reset = of_get_named_gpio(of, "reset-gpios", 0); + if (!gpio_is_valid(power->gpios.reset)) + power->gpios.reset = gpios->reset; + +- power->gpios.chip_en = of_get_named_gpio_flags(of, "chip_en-gpios", 0, +- NULL); ++ power->gpios.chip_en = of_get_named_gpio(of, "chip_en-gpios", 0); + if (!gpio_is_valid(power->gpios.chip_en)) + power->gpios.chip_en = gpios->chip_en; + +-- +2.34.1 + diff --git a/package/wilc-driver/0007-Support-Linux-6.4.patch b/package/wilc-driver/0007-Support-Linux-6.4.patch new file mode 100644 index 0000000000..8339cc3cb6 --- /dev/null +++ b/package/wilc-driver/0007-Support-Linux-6.4.patch @@ -0,0 +1,36 @@ +From 94fc4594659494b8c5cbdf1a719aea4d66d3398d Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 11:20:50 +0200 +Subject: [PATCH] Support Linux 6.4 + +With Linux 6.4 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1aaba11da9aa7d7d6b52a74d45b31cac118295a1 +class_create() doesn't require first argument THIS_MODULE anymore so let's +drop first argument if Linux version >= 6.4 + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/5 + +Signed-off-by: Giulio Benetti +--- + bt.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/bt.c b/bt.c +index 48a5302..a752457 100644 +--- a/bt.c ++++ b/bt.c +@@ -135,7 +135,11 @@ static void wilc_bt_create_device(void) + ret = alloc_chrdev_region(&chc_dev_no, 0, 1, "atmel"); + if (ret < 0) + return; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) ++ chc_dev_class = class_create("atmel"); ++#else + chc_dev_class = class_create(THIS_MODULE, "atmel"); ++#endif + if (IS_ERR(chc_dev_class)) { + unregister_chrdev_region(chc_dev_no, 1); + return; +-- +2.34.1 + -- 2.34.1 From peter at korsgaard.com Sun Oct 1 18:39:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:39:59 +0200 Subject: [Buildroot] [PATCH] package/libfastjson: security bump to version 0.99.9.1 In-Reply-To: <87a5t4hmxr.fsf@48ers.dk> (Peter Korsgaard's message of "Fri, 29 Sep 2023 20:08:32 +0200") References: <20230929065647.1456926-1-peter@korsgaard.com> <87a5t4hmxr.fsf@48ers.dk> Message-ID: <87a5t289vk.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Peter" == Peter Korsgaard writes: >> Fixes the equivalent of CVE-2020-12762, which was a json-c vulnerability: >> https://github.com/advisories/GHSA-3797-gmjf-45gm >> https://github.com/rsyslog/libfastjson/pull/166 >> Signed-off-by: Peter Korsgaard > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From giulio.benetti at benettiengineering.com Sun Oct 1 19:06:55 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 1 Oct 2023 21:06:55 +0200 Subject: [Buildroot] [PATCH v2] package/wilc-driver: fix build failure with Linux 6.3+ In-Reply-To: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> References: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> Message-ID: On 01/10/23 21:01, Giulio Benetti wrote: > Add local patches pending upstream to fix build failure on Linux 6.3+ > > Fixes: > http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f > > Signed-off-by: Giulio Benetti --- V1->V2: * update Linux 6.3 gpio patch as suggested by Peter > --- > .../wilc-driver/0006-Support-Linux-6.3.patch | 43 +++++++++++++++++++ > .../wilc-driver/0007-Support-Linux-6.4.patch | 36 ++++++++++++++++ > 2 files changed, 79 insertions(+) > create mode 100644 package/wilc-driver/0006-Support-Linux-6.3.patch > create mode 100644 package/wilc-driver/0007-Support-Linux-6.4.patch > > diff --git a/package/wilc-driver/0006-Support-Linux-6.3.patch b/package/wilc-driver/0006-Support-Linux-6.3.patch > new file mode 100644 > index 0000000000..f5a92027da > --- /dev/null > +++ b/package/wilc-driver/0006-Support-Linux-6.3.patch > @@ -0,0 +1,43 @@ > +From 14b5eccf4145e7a5afc8bc65a15f26ac691f98d8 Mon Sep 17 00:00:00 2001 > +From: Giulio Benetti > +Date: Wed, 27 Sep 2023 10:54:18 +0200 > +Subject: [PATCH] Support Linux 6.3 > + > +With Linux 6.3 commit: > +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=40fc56ee608cdb20022c225ac6f1e4b7ba63f8f1 > +function of_get_named_gpio_flags() has been dropped but it was only a > +wrapper to call of_get_named_gpio() if the flags passed was NULL and this > +is the case. So let's use of_get_named_gpio() in place of > +of_get_named_gpio_flags() since of_get_named_gpio() never changed > +after its adding in Linux version 3.1. > + > +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/4 > + > +Signed-off-by: Giulio Benetti > +--- > + power.c | 6 ++---- > + 1 file changed, 2 insertions(+), 4 deletions(-) > + > +diff --git a/power.c b/power.c > +index 6c59e0b..6ab8d63 100644 > +--- a/power.c > ++++ b/power.c > +@@ -25,13 +25,11 @@ int wilc_of_parse_power_pins(struct wilc *wilc) > + const struct wilc_power_gpios *gpios = &default_gpios[0]; > + int ret; > + > +- power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, > +- NULL); > ++ power->gpios.reset = of_get_named_gpio(of, "reset-gpios", 0); > + if (!gpio_is_valid(power->gpios.reset)) > + power->gpios.reset = gpios->reset; > + > +- power->gpios.chip_en = of_get_named_gpio_flags(of, "chip_en-gpios", 0, > +- NULL); > ++ power->gpios.chip_en = of_get_named_gpio(of, "chip_en-gpios", 0); > + if (!gpio_is_valid(power->gpios.chip_en)) > + power->gpios.chip_en = gpios->chip_en; > + > +-- > +2.34.1 > + > diff --git a/package/wilc-driver/0007-Support-Linux-6.4.patch b/package/wilc-driver/0007-Support-Linux-6.4.patch > new file mode 100644 > index 0000000000..8339cc3cb6 > --- /dev/null > +++ b/package/wilc-driver/0007-Support-Linux-6.4.patch > @@ -0,0 +1,36 @@ > +From 94fc4594659494b8c5cbdf1a719aea4d66d3398d Mon Sep 17 00:00:00 2001 > +From: Giulio Benetti > +Date: Wed, 27 Sep 2023 11:20:50 +0200 > +Subject: [PATCH] Support Linux 6.4 > + > +With Linux 6.4 commit: > +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1aaba11da9aa7d7d6b52a74d45b31cac118295a1 > +class_create() doesn't require first argument THIS_MODULE anymore so let's > +drop first argument if Linux version >= 6.4 > + > +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/5 > + > +Signed-off-by: Giulio Benetti > +--- > + bt.c | 4 ++++ > + 1 file changed, 4 insertions(+) > + > +diff --git a/bt.c b/bt.c > +index 48a5302..a752457 100644 > +--- a/bt.c > ++++ b/bt.c > +@@ -135,7 +135,11 @@ static void wilc_bt_create_device(void) > + ret = alloc_chrdev_region(&chc_dev_no, 0, 1, "atmel"); > + if (ret < 0) > + return; > ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) > ++ chc_dev_class = class_create("atmel"); > ++#else > + chc_dev_class = class_create(THIS_MODULE, "atmel"); > ++#endif > + if (IS_ERR(chc_dev_class)) { > + unregister_chrdev_region(chc_dev_no, 1); > + return; > +-- > +2.34.1 > + -- Giulio Benetti CEO&CTO at Benetti Engineering sas From dalang at gmx.at Sun Oct 1 19:06:39 2023 From: dalang at gmx.at (Daniel Lang) Date: Sun, 1 Oct 2023 21:06:39 +0200 Subject: [Buildroot] [PATCH] package/netsnmp: security bump to version 5.9.4 Message-ID: <20231001190639.1391551-2-dalang@gmx.at> CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker (who has write access) to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. CVE-2022-44793 handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. The pgp key was changed [0] as the old one expired [1]. [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ [1]: https://github.com/net-snmp/net-snmp/issues/595 Signed-off-by: Daniel Lang --- package/netsnmp/netsnmp.hash | 6 +++--- package/netsnmp/netsnmp.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash index e1e9d10898..7898941271 100644 --- a/package/netsnmp/netsnmp.hash +++ b/package/netsnmp/netsnmp.hash @@ -1,7 +1,7 @@ # Locally calculated after checking pgp signature at -# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3/net-snmp-5.9.3.tar.gz.asc -# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 -sha256 2097f29b7e1bf3f1300b4bae52fa2308d0bb8d5d3998dbe02f9462a413a2ef0a net-snmp-5.9.3.tar.gz +# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.tar.gz.asc +# using key 6E6718AEF1EB5C65C32D1B2A356BC0B552D53CAB +sha256 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 net-snmp-5.9.4.tar.gz # Hash for license file sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index c7df49f947..b0c35aa894 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -4,7 +4,7 @@ # ################################################################################ -NETSNMP_VERSION = 5.9.3 +NETSNMP_VERSION = 5.9.4 NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz NETSNMP_LICENSE = Various BSD-like -- 2.42.0 From thomas.petazzoni at bootlin.com Sun Oct 1 19:14:07 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 21:14:07 +0200 Subject: [Buildroot] [git commit] docs/manual: add a FAQ entry about Y2038 support Message-ID: <20231001191539.B15DC83F75@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f10f47ff2873d2259e4a03060e9cf0fd1b0f05e0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This was reviewed in person by Arnout. Signed-off-by: Thomas Petazzoni --- docs/manual/faq-troubleshooting.adoc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/manual/faq-troubleshooting.adoc b/docs/manual/faq-troubleshooting.adoc index b08bf9bc4a..a61276d4c5 100644 --- a/docs/manual/faq-troubleshooting.adoc +++ b/docs/manual/faq-troubleshooting.adoc @@ -242,3 +242,31 @@ help reduce the build time: * Experiment with top-level parallel build, see xref:top-level-parallel-build[]. + +[[faq-2038]] +=== How does Buildroot support Y2038? + +There are multiple situations to consider: + + * On 64-bit architectures, there is no problem, as +time_t+ has + always been 64-bit. + + * On 32-bit architectures, the situation depends on the C library: + + ** With _uclibc-ng_, there is no support for 64-bit +time_t+ on + 32-bit architectures, so systems using _uclibc-ng_ on 32-bit + platforms will not be Y2038 compatible. + + ** With _musl_, 64-bit +time_t+ has always been used on 32-bit + architectures, so systems using _musl_ on 32-bit platforms are + Y2038 compatible. + + ** With _glibc_, 64-bit +time_t+ on 32-bit architectures is enabled + by the Buildroot option +BR2_TIME_BITS_64+. With this option + enabled, systems using _glibc_ on 32-bit platforms are Y2038 + compatible. + +Note that the above only comments about the capabilities of the C +library. Individual user-space libraries or applications, even when +built in a Y2038-compatible setup, can exhibit incorrect behavior if +they do not make correct use of the time APIs and types. From thomas.petazzoni at bootlin.com Sun Oct 1 19:14:06 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 21:14:06 +0200 Subject: [Buildroot] [git commit] Config.in: introduce BR2_TIME_BITS_64 option for Y2038 compatibility Message-ID: <20231001191539.A9CD983F73@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c427c64726560ea1743282a3fdb78f5b28692eb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Y2038 is now almost only 15 years away, and embedded systems built today are potentially going to still be operational in 15 years, and even though they are supposed to receive updates by then, we all know how things go, and potentially some of these embedded systems will not receive any update. In 2038, the signed 32-bit representation of time_t used on 32-bit architectures will overflow, causing all time-related functions to go back in time in a surprising way. The Linux kernel has already been modified to support a 64-bit representation of time_t on 32-bit architectures, but from a C library perspective, the situation varies: - glibc uses this 64-bit time_t representation on 32-bit systems since glibc 2.34, but only if -D_TIME_BITS=64 is specified. Therefore, this commit adds an option to add this flag globally to the build, when glibc is the C library and the architecture is not 64-bit. - musl uses unconditionally a 64-bit time_t representation on 32-bit systems since musl 1.2.0. So there is nothing to do here since Buildroot has been using a musl >= 1.2.0, used since Buildroot 2020.05. No Buildroot option is needed here. - uClibc-ng does not support a 64-bit time_t representation on 32-bit systems, so systems using uClibc-ng will not be Y2038 compliant, at least for now. No Buildroot option is needed here. It should be noted that being Y2038-compliant will only work if all application/library code is correct. For example if an application/library stores a timestamp in an "int" instead of using the proper time_t type, then the mechanisms described above will not fix this, and the application/library will continue to be broken in terms of Y2038 support. Possible discussions points about this patch: - Should we have an option at all, or should we unconditionally pass -D_TIME_BITS=64, like we have been doing for _FILE_OFFSET_BITS=64 for quite some time. The reasoning for having an option is that the mechanism is itself opt-in in glibc, and generally relatively new, so it seemed logical for now to make it optional as well in Buildroot. - Should we show something (a Config.in comment?) in the musl and uClibc-ng case to let the user know that the code is Y2038 compliant (musl) or not Y2038 compliant (uClibc-ng). Or should this discussion be part of the Buildroot documentation? Signed-off-by: Thomas Petazzoni --- Config.in | 14 ++++++++++++++ package/Makefile.in | 3 +++ 2 files changed, 17 insertions(+) diff --git a/Config.in b/Config.in index 670e199c0b..dbcca4c55a 100644 --- a/Config.in +++ b/Config.in @@ -736,6 +736,20 @@ config BR2_PER_PACKAGE_DIRECTORIES endmenu +config BR2_TIME_BITS_64 + bool "Build Y2038-ready code" + depends on BR2_TOOLCHAIN_USES_GLIBC && !BR2_ARCH_IS_64 + help + This option will pass -D_TIME_BITS=64 in the compiler flags + to ensure the glibc C library uses a 64-bit representation + for time_t and other time types, which ensures that + programs/libraries will correctly handle time past year + 2038. + + This option only has an effect with glibc >= 2.34, as + earlier glibc versions did not have support for 64-bit + time_t. + comment "Security Hardening Options" config BR2_PIC_PIE_ARCH_SUPPORTS diff --git a/package/Makefile.in b/package/Makefile.in index 5c11cae732..9fbe960759 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -167,6 +167,9 @@ TARGET_HARDENED += -D_FORTIFY_SOURCE=3 endif TARGET_CPPFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +ifeq ($(BR2_TIME_BITS_64),y) +TARGET_CPPFLAGS += -D_TIME_BITS=64 +endif TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) $(TARGET_HARDENED) TARGET_CXXFLAGS = $(TARGET_CFLAGS) TARGET_FCFLAGS = $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) From fontaine.fabrice at gmail.com Sun Oct 1 19:15:22 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 1 Oct 2023 21:15:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/cups-filters: fix CVE-2023-24805 Message-ID: <20231001191522.1799946-1-fontaine.fabrice@gmail.com> Fix CVE-2023-24805: cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. `beh.c` contains the line `retval = system(cmdline) >> 8;` which calls the `system` command with the operand `cmdline`. `cmdline` contains multiple user controlled, unsanitized values. As a result an attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This issue has been addressed in commit `8f2740357` and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime. Signed-off-by: Fabrice Fontaine --- ...ecv-instead-of-system-CVE-2023-24805.patch | 208 ++++++++++++++++++ package/cups-filters/cups-filters.mk | 3 + 2 files changed, 211 insertions(+) create mode 100644 package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch diff --git a/package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch b/package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch new file mode 100644 index 0000000000..e527b20f91 --- /dev/null +++ b/package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch @@ -0,0 +1,208 @@ +From 93e60d3df358c0ae6f3dba79e1c9684657683d89 Mon Sep 17 00:00:00 2001 +From: Till Kamppeter +Date: Wed, 17 May 2023 11:11:29 +0200 +Subject: [PATCH] beh backend: Use execv() instead of system() - CVE-2023-24805 + +With execv() command line arguments are passed as separate strings and +not the full command line in a single string. This prevents arbitrary +command execution by escaping the quoting of the arguments in a job +with a forged job title. + +In addition, done the following fixes and improvements: + +- Do not allow '/' in the scheme of the URI (= backend executable + name), to assure that only backends inside /usr/lib/cups/backend/ + are used. + +- URI must have ':', to split off scheme, otherwise error out. + +- Check return value of snprintf() to create call path for backend, to + error out on truncation of a too long scheme or on complete failure + due to a completely odd scheme. + +- Use strncat() instead of strncpy() for getting scheme from URI, the latter + does not require setting terminating zero byte in case of truncation. + +- Also exclude "." or ".." as scheme, as directories are not valid CUPS + backends. + +- Do not use fprintf() in sigterm_handler(), to not interfere with a + fprintf() which could be running in the main process when + sigterm_handler() is triggered. + +- Use "static volatile int" for global variable job_canceled. + +Upstream: https://github.com/OpenPrinting/cups-filters/commit/93e60d3df358c0ae6f3dba79e1c9684657683d89 +Signed-off-by: Fabrice Fontaine +--- + backend/beh.c | 107 +++++++++++++++++++++++++++++++++++++++----------- + 1 file changed, 84 insertions(+), 23 deletions(-) + +diff --git a/backend/beh.c b/backend/beh.c +index 225fd27d5..8d51235b1 100644 +--- a/backend/beh.c ++++ b/backend/beh.c +@@ -22,12 +22,13 @@ + #include "backend-private.h" + #include + #include ++#include + + /* + * Local globals... + */ + +-static int job_canceled = 0; /* Set to 1 on SIGTERM */ ++static volatile int job_canceled = 0; /* Set to 1 on SIGTERM */ + + /* + * Local functions... +@@ -213,21 +214,40 @@ call_backend(char *uri, /* I - URI of final destination */ + char **argv, /* I - Command-line arguments */ + char *filename) { /* I - File name of input data */ + const char *cups_serverbin; /* Location of programs */ ++ char *backend_argv[8]; /* Arguments for backend */ + char scheme[1024], /* Scheme from URI */ + *ptr, /* Pointer into scheme */ +- cmdline[65536]; /* Backend command line */ +- int retval; ++ backend_path[2048]; /* Backend path */ ++ int pid = 0, /* Process ID of backend */ ++ wait_pid, /* Process ID from wait() */ ++ wait_status, /* Status from child */ ++ retval = 0; ++ int bytes; + + /* + * Build the backend command line... + */ + +- strncpy(scheme, uri, sizeof(scheme) - 1); +- if (strlen(uri) > 1023) +- scheme[1023] = '\0'; ++ scheme[0] = '\0'; ++ strncat(scheme, uri, sizeof(scheme) - 1); + if ((ptr = strchr(scheme, ':')) != NULL) + *ptr = '\0'; +- ++ else { ++ fprintf(stderr, ++ "ERROR: beh: Invalid URI, no colon (':') to mark end of scheme part.\n"); ++ exit (CUPS_BACKEND_FAILED); ++ } ++ if (strchr(scheme, '/')) { ++ fprintf(stderr, ++ "ERROR: beh: Invalid URI, scheme contains a slash ('/').\n"); ++ exit (CUPS_BACKEND_FAILED); ++ } ++ if (!strcmp(scheme, ".") || !strcmp(scheme, "..")) { ++ fprintf(stderr, ++ "ERROR: beh: Invalid URI, scheme (\"%s\") is a directory.\n", ++ scheme); ++ exit (CUPS_BACKEND_FAILED); ++ } + if ((cups_serverbin = getenv("CUPS_SERVERBIN")) == NULL) + cups_serverbin = CUPS_SERVERBIN; + +@@ -235,16 +255,29 @@ call_backend(char *uri, /* I - URI of final destination */ + fprintf(stderr, + "ERROR: beh: Direct output into a file not supported.\n"); + exit (CUPS_BACKEND_FAILED); +- } else +- snprintf(cmdline, sizeof(cmdline), +- "%s/backend/%s '%s' '%s' '%s' '%s' '%s' %s", +- cups_serverbin, scheme, argv[1], argv[2], argv[3], +- /* Apply number of copies only if beh was called with a +- file name and not with the print data in stdin, as +- backends should handle copies only if they are called +- with a file name */ +- (argc == 6 ? "1" : argv[4]), +- argv[5], filename); ++ } ++ ++ backend_argv[0] = uri; ++ backend_argv[1] = argv[1]; ++ backend_argv[2] = argv[2]; ++ backend_argv[3] = argv[3]; ++ /* Apply number of copies only if beh was called with a file name ++ and not with the print data in stdin, as backends should handle ++ copies only if they are called with a file name */ ++ backend_argv[4] = (argc == 6 ? "1" : argv[4]); ++ backend_argv[5] = argv[5]; ++ backend_argv[6] = filename; ++ backend_argv[7] = NULL; ++ ++ bytes = snprintf(backend_path, sizeof(backend_path), ++ "%s/backend/%s", cups_serverbin, scheme); ++ if (bytes < 0 || bytes >= sizeof(backend_path)) ++ { ++ fprintf(stderr, ++ "ERROR: beh: Invalid scheme (\"%s\"), could not determing backend path.\n", ++ scheme); ++ return (CUPS_BACKEND_FAILED); ++ } + + /* + * Overwrite the device URI and run the actual backend... +@@ -253,18 +286,44 @@ call_backend(char *uri, /* I - URI of final destination */ + setenv("DEVICE_URI", uri, 1); + + fprintf(stderr, +- "DEBUG: beh: Executing backend command line \"%s\"...\n", +- cmdline); ++ "DEBUG: beh: Executing backend command line \"%s '%s' '%s' '%s' '%s' '%s' %s\"...\n", ++ backend_path, backend_argv[1], backend_argv[2], backend_argv[3], ++ backend_argv[4], backend_argv[5], backend_argv[6]); + fprintf(stderr, + "DEBUG: beh: Using device URI: %s\n", + uri); + +- retval = system(cmdline) >> 8; ++ if ((pid = fork()) == 0) { ++ /* ++ * Child comes here... ++ */ ++ ++ /* Run the backend */ ++ execv(backend_path, backend_argv); + +- if (retval == -1) + fprintf(stderr, "ERROR: Unable to execute backend command line: %s\n", + strerror(errno)); + ++ exit(1); ++ } else if (pid < 0) { ++ /* ++ * Unable to fork! ++ */ ++ ++ return (CUPS_BACKEND_FAILED); ++ } ++ ++ while ((wait_pid = wait(&wait_status)) < 0 && errno == EINTR); ++ ++ if (wait_pid >= 0 && wait_status) { ++ if (WIFEXITED(wait_status)) ++ retval = WEXITSTATUS(wait_status); ++ else if (WTERMSIG(wait_status) != SIGTERM) ++ retval = WTERMSIG(wait_status); ++ else ++ retval = 0; ++ } ++ + return (retval); + } + +@@ -277,8 +336,10 @@ static void + sigterm_handler(int sig) { /* I - Signal number (unused) */ + (void)sig; + +- fprintf(stderr, +- "DEBUG: beh: Job canceled.\n"); ++ const char * const msg = "DEBUG: beh: Job canceled.\n"; ++ /* The if() is to eliminate the return value and silence the warning ++ about an unused return value. */ ++ if (write(2, msg, strlen(msg))); + + if (job_canceled) + _exit(CUPS_BACKEND_OK); diff --git a/package/cups-filters/cups-filters.mk b/package/cups-filters/cups-filters.mk index 19c859e602..dcfb2e9500 100644 --- a/package/cups-filters/cups-filters.mk +++ b/package/cups-filters/cups-filters.mk @@ -10,6 +10,9 @@ CUPS_FILTERS_LICENSE = GPL-2.0, GPL-2.0+, GPL-3.0, GPL-3.0+, LGPL-2, LGPL-2.1+, CUPS_FILTERS_LICENSE_FILES = COPYING CUPS_FILTERS_CPE_ID_VENDOR = linuxfoundation +# 0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch +CUPS_FILTERS_IGNORE_CVES += CVE-2023-24805 + CUPS_FILTERS_DEPENDENCIES = cups libglib2 lcms2 qpdf fontconfig freetype jpeg CUPS_FILTERS_CONF_OPTS = \ -- 2.40.1 From thomas.petazzoni at bootlin.com Sun Oct 1 19:15:56 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 21:15:56 +0200 Subject: [Buildroot] [PATCH] Config.in: introduce BR2_TIME_BITS_64 option for Y2038 compatibility In-Reply-To: <20221012215008.2918444-1-thomas.petazzoni@bootlin.com> References: <20221012215008.2918444-1-thomas.petazzoni@bootlin.com> Message-ID: <20231001211556.214bf14f@windsurf> On Wed, 12 Oct 2022 23:50:08 +0200 Thomas Petazzoni via buildroot wrote: > Y2038 is now almost only 15 years away, and embedded systems built > today are potentially going to still be operational in 15 years, and > even though they are supposed to receive updates by then, we all know > how things go, and potentially some of these embedded systems will not > receive any update. > > In 2038, the signed 32-bit representation of time_t used on 32-bit > architectures will overflow, causing all time-related functions to go > back in time in a surprising way. > > The Linux kernel has already been modified to support a 64-bit > representation of time_t on 32-bit architectures, but from a C library > perspective, the situation varies: > > - glibc uses this 64-bit time_t representation on 32-bit systems > since glibc 2.34, but only if -D_TIME_BITS=64 is > specified. Therefore, this commit adds an option to add this flag > globally to the build, when glibc is the C library and the > architecture is not 64-bit. > > - musl uses unconditionally a 64-bit time_t representation on 32-bit > systems since musl 1.2.0. So there is nothing to do here since > Buildroot has been using a musl >= 1.2.0, used since Buildroot > 2020.05. No Buildroot option is needed here. > > - uClibc-ng does not support a 64-bit time_t representation on 32-bit > systems, so systems using uClibc-ng will not be Y2038 compliant, at > least for now. No Buildroot option is needed here. > > It should be noted that being Y2038-compliant will only work if all > application/library code is correct. For example if an > application/library stores a timestamp in an "int" instead of using > the proper time_t type, then the mechanisms described above will not > fix this, and the application/library will continue to be broken in > terms of Y2038 support. > > Possible discussions points about this patch: > > - Should we have an option at all, or should we unconditionally pass > -D_TIME_BITS=64, like we have been doing for _FILE_OFFSET_BITS=64 > for quite some time. The reasoning for having an option is that > the mechanism is itself opt-in in glibc, and generally relatively > new, so it seemed logical for now to make it optional as well in > Buildroot. > > - Should we show something (a Config.in comment?) in the musl and > uClibc-ng case to let the user know that the code is Y2038 > compliant (musl) or not Y2038 compliant (uClibc-ng). Or should this > discussion be part of the Buildroot documentation? > > Signed-off-by: Thomas Petazzoni > --- > Config.in | 16 ++++++++++++++++ > package/Makefile.in | 3 +++ > 2 files changed, 19 insertions(+) This was discussed/review during the current hackathon, and in the end we decided to apply it, so it was pushed to master. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From yann.morin.1998 at free.fr Sun Oct 1 19:49:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 21:49:52 +0200 Subject: [Buildroot] [PATCH] package/libmodplug: add a patch fixing cctype UB In-Reply-To: <20230109220041.33943-1-glex.spb@gmail.com> References: <20230109220041.33943-1-glex.spb@gmail.com> Message-ID: <20231001194952.GO2579@scaer> Gleb, All, Sorry for the delay, now I've handled that patch... On 2023-01-09 22:00 +0000, Gleb Mazovetskiy spake thusly: > libmodplug calls `cctype` functions, such as `isspace`, > with negative values. This is undefined behaviour. > > While glibc allows it, it crashes on uClibc compiled > without `UCLIBC_HAS_CTYPE_SIGNED`. > > Adds a patch that resolves the issue. We discussed it during the hackathon this WE, and we were a bit ,eh about that patch, because it is a bit big, and upstream has not responded to it. However, upstream does indeed look pretty dead with no activity in the past two years and only the occasional commit before that, so there is very low risk at integrating this patch in Buildroot, as it should not cause much maintenance issue. On the off chance upstream ever release something new, we can assess the situation then. > Also sent upstream. However, the library author has not merged > any pull request for about a year. > https://github.com/Konstanty/libmodplug/pull/92 > > Signed-off-by: Gleb Mazovetskiy $ make check-package package/libmodplug/0001-fix-cctype-ub.patch:0: missing Signed-off-by in the header (http://nightly.buildroot.org/#_format_and_licensing_of_the_package_patches) package/libmodplug/0001-fix-cctype-ub.patch:0: missing Upstream in the header (http://nightly.buildroot.org/#_additional_patch_documentation) The latter is newer than your patch, so that's not your fault; I fixed it when applying. For the former, since your SoB-ed your Buildoot contribution, I copy-pasted it to the bundled patch too. Applied to master with that fixed, thanks. Eh, btw: I'm surprised people are still doing MOD nowadays! :-) Regards, Yann E. MORIN. > --- > package/libmodplug/0001-fix-cctype-ub.patch | 954 ++++++++++++++++++++ > 1 file changed, 954 insertions(+) > create mode 100644 package/libmodplug/0001-fix-cctype-ub.patch > > diff --git a/package/libmodplug/0001-fix-cctype-ub.patch b/package/libmodplug/0001-fix-cctype-ub.patch > new file mode 100644 > index 0000000000..15e7d364e5 > --- /dev/null > +++ b/package/libmodplug/0001-fix-cctype-ub.patch > @@ -0,0 +1,954 @@ > +From dc6d5994b4912cb00d0d183b400edfd656d6530c Mon Sep 17 00:00:00 2001 > +From: Gleb Mazovetskiy > +Date: Wed, 21 Dec 2022 11:44:27 +0000 > +Subject: [PATCH] Fix UB when calling cctype functions > + > +Calling cctype functions, such as isspace, with negative values > +is undefined behaviour. > + > +While glibc allows it, it crashes on uClibc compiled without > +`UCLIBC_HAS_CTYPE_SIGNED`. > + > +Fixes the undefined behaviour by casting all arguments to > +cctype functions to `unsigned char`. > +--- > + src/load_abc.cpp | 284 +++++++++++++++++++++++------------------------ > + src/load_mid.cpp | 2 +- > + src/load_pat.cpp | 30 ++--- > + 3 files changed, 158 insertions(+), 158 deletions(-) > + > +diff --git a/src/load_abc.cpp b/src/load_abc.cpp > +index b45f972f..8444bd87 100644 > +--- a/src/load_abc.cpp > ++++ b/src/load_abc.cpp > +@@ -260,13 +260,13 @@ static uint32_t abc_pattracktime(ABCHANDLE *h, uint32_t tracktime); > + static int abc_patno(ABCHANDLE *h, uint32_t tracktime); > + > + > +-static int abc_isvalidchar(char c) { > ++static int abc_isvalidchar(unsigned char c) { > + return(isalpha(c) || isdigit(c) || isspace(c) || c == '%' || c == ':'); > + } > + #if 0 > + static const char *abc_skipspace(const char *p) > + { > +- while (*p && isspace(*p)) > ++ while (*p && isspace(static_cast(*p))) > + p++; > + return p; > + } > +@@ -275,7 +275,7 @@ static const char *abc_skipspace(const char *p) > + static void abc_extractkeyvalue(char *key, size_t key_max, > + char *value, size_t value_max, const char *src) > + { > +- while (*src && isspace(*src)) > ++ while (*src && isspace(static_cast(*src))) > + src++; > + > + size_t key_size; > +@@ -286,17 +286,17 @@ static void abc_extractkeyvalue(char *key, size_t key_max, > + } > + key[key_size++] = *src++; > + } > +- while (key_size > 0 && isspace(key[key_size - 1])) > ++ while (key_size > 0 && isspace(static_cast(key[key_size - 1]))) > + key_size--; > + key[key_size] = '\0'; > + > +- while (*src && isspace(*src)) > ++ while (*src && isspace(static_cast(*src))) > + src++; > + > + size_t value_size; > + for (value_size = 0; value_size < value_max - 1 && *src;) > + value[value_size++] = *src++; > +- while (value_size > 0 && isspace(value[value_size - 1])) > ++ while (value_size > 0 && isspace(static_cast(value[value_size - 1]))) > + value_size--; > + value[value_size] = '\0'; > + > +@@ -359,7 +359,7 @@ static void abc_dumptracks(ABCHANDLE *h, const char *p) > + nn[0] = "CCCDDEFFGGAABccddeffggaabb"[e->par[chordnote]]; > + nn[1] = "b # # # # # # # # # # #"[e->par[chordnote]]; > + nn[2] = '\0'; > +- if( isspace(nn[1]) ) nn[1] = '\0'; > ++ if( isspace(static_cast(nn[1])) ) nn[1] = '\0'; > + printf("CMD %c: gchord %s%s", > + (char)(e->cmd), nn, chordname[e->par[chordnum]]); > + if( e->par[chordbase] != e->par[chordnote] ) { > +@@ -557,7 +557,7 @@ static void abc_new_umacro(ABCHANDLE *h, const char *m) > + ABCMACRO *retval, *mp; > + char key[256], value[256]; > + abc_extractkeyvalue(key, sizeof(key), value, sizeof(value), m); > +- if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(key[0])) == 0 ) return; > ++ if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(static_cast(key[0]))) == 0 ) return; > + while( char *q = strchr(key, '!') ) > + *q = '+'; // translate oldstyle to newstyle > + if( !strcmp(key,"+nil+") ) { // delete a macro > +@@ -823,7 +823,7 @@ static ABCTRACK *abc_locate_track(ABCHANDLE *h, const char *voice, int pos) > + char vc[21]; > + int i, trans=0, voiceno=0, instrno = 1, channo = 0; > + for( ; *voice == ' '; voice++ ) ; // skip leading spaces > +- for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(*voice); voice++ ) // can work with inline voice instructions > ++ for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(static_cast(*voice)); voice++ ) // can work with inline voice instructions > + vc[i++] = *voice; > + vc[i] = '\0'; > + prev = NULL; > +@@ -1250,32 +1250,32 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim > + switch(ch) { > + case '^': > + if( p[0] == '^' ) { > +- n = p[1]; > ++ n = static_cast(p[1]); > + i = 2; > + ch = 'x'; > + } > + else { > +- n = p[0]; > ++ n = static_cast(p[0]); > + i = 1; > + } > + break; > + case '_': > + if( p[0] == '_' ) { > +- n = p[1]; > ++ n = static_cast(p[1]); > + i = 2; > + ch = 'b'; > + } > + else { > +- n = p[0]; > ++ n = static_cast(p[0]); > + i = 1; > + } > + break; > + case '=': > +- n = p[0]; > ++ n = static_cast(p[0]); > + i = 1; > + break; > + default: > +- n = ch; > ++ n = static_cast(ch); > + i = 0; > + break; > + } > +@@ -1332,7 +1332,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim > + } > + else > + d[note] = 0; // someone has doen ^X3 or something like it... > +- while( p[i] && strchr(",'",p[i]) ) { > ++ while( p[i] && strchr(",'",static_cast(p[i])) ) { > + if( p[i]==',' ) oct--; > + else oct++; > + i++; > +@@ -1381,7 +1381,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim > + } > + } > + tp->tienote->tiednote = 1; // mark him for the pattern writers > +- for( j=i; isdigit(p[j]) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too > ++ for( j=i; isdigit(static_cast(p[j])) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too > + if( p[j] != '-' ) // is this note tied too? > + tp->tienote = NULL; // if not the tie ends here... > + return i; > +@@ -1603,7 +1603,7 @@ static int abc_getnumber(const char *p, int *number) > + int i,h; > + i = 0; > + h = 0; > +- while( isdigit(p[i]) ) { > ++ while( isdigit(static_cast(p[i])) ) { > + if (i < 9) > + h = 10 * h + p[i] - '0'; > + i++; > +@@ -1619,7 +1619,7 @@ static int abc_getexpr(const char *p, int *number) > + { > + int i, term, total; > + i = 0; > +- while( isspace(p[i]) ) > ++ while( isspace(static_cast(p[i])) ) > + i++; > + if( p[i] == '(' ) { > + i += abc_getexpr(p+i+1, number); > +@@ -1628,12 +1628,12 @@ static int abc_getexpr(const char *p, int *number) > + return i; > + } > + i += abc_getnumber(p+i, &total); > +- while( isspace(p[i]) ) > ++ while( isspace(static_cast(p[i])) ) > + i++; > + while( p[i] == '+' ) { > + i += 1 + abc_getexpr(p+i+1, &term); > + total += term; > +- while( isspace(p[i]) ) > ++ while( isspace(static_cast(p[i])) ) > + i++; > + } > + *number = total; > +@@ -1649,7 +1649,7 @@ static int abc_notelen(const char *p, int *len, int *div) > + h *= 2; > + i++; > + } > +- if( isdigit(p[i]) ) { > ++ if( isdigit(static_cast(p[i])) ) { > + h /= 2; > + i += abc_getnumber(p+i,&k); > + } > +@@ -1738,7 +1738,7 @@ static int abc_extract_tempo(const char *p, int invoice) > + case '=': > + break; > + default: > +- if( isdigit(*q) ) { > ++ if( isdigit(static_cast(*q)) ) { > + if( state ) { > + q+=abc_getnumber(q,&nd1)-1; > + state = 0; > +@@ -1812,10 +1812,10 @@ static void abc_set_parts(char **d, char *p) > + j=0; > + k=0; > + for( i=0; p[i] && p[i] != '%'; i++ ) { > +- if( isupper(p[i]) ) { > ++ if( isupper(static_cast(p[i])) ) { > + j++; > + } > +- if( isdigit(p[i]) ) { > ++ if( isdigit(static_cast(p[i])) ) { > + n=abc_getnumber(p+i, &k); > + if( k == 0 ) > + k = 1; > +@@ -1833,7 +1833,7 @@ static void abc_set_parts(char **d, char *p) > + // now copy bytes from p to *d, taking parens and digits in account > + j = 0; > + for( i=0; p[i] && p[i] != '%' && j < size && i < (int)size; i++ ) { > +- if( isdigit(p[i]) || isupper(p[i]) || p[i] == '(' || p[i] == ')' ) { > ++ if( isdigit(static_cast(p[i])) || isupper(static_cast(p[i])) || p[i] == '(' || p[i] == ')' ) { > + if( p[i] == ')' ) { > + for( n=j; n > 0 && q[n-1] != '('; n-- ) ; // find open paren in q > + // q[n+1] to q[j] contains the substring that must be repeated > +@@ -1856,7 +1856,7 @@ static void abc_set_parts(char **d, char *p) > + } > + continue; > + } > +- if( isdigit(p[i]) ) { > ++ if( isdigit(static_cast(p[i])) ) { > + n = abc_getnumber(p+i,&k); > + i += n - 1; > + // if nothing is ready to 'repeat', skip it. > +@@ -2243,7 +2243,7 @@ static void abc_preprocess(ABCHANDLE *h, ABCMACRO *m) > + char *p = s; > + for( j=0; j + a = m->subst[j]; > +- if( a > 'g' && islower(a) ) { > ++ if( a > 'g' && islower(static_cast(a)) ) { > + b = a - 'n'; > + a = "CDEFGABCDEFGABcdefgabcdefgabcdefgab"[i+b+7]; > + *p++ = a; > +@@ -2339,11 +2339,11 @@ BOOL CSoundFile::TestABC(const BYTE *lpStream, DWORD dwMemLength) > + } > + if(id[0]=='K' > + && id[1]==':' > +- && (isalpha(id[2]) || isspace(id[2])) ) return 1; > ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) return 1; > + // disable binary error if have any "tag" > + if((id[0]>='A' && id[0]<='Z') > + && id[1]==':' > +- && (isalpha(id[2]) || isspace(id[2])) ) hasText = 1; > ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) hasText = 1; > + } > + return 0; > + } > +@@ -2367,7 +2367,7 @@ static ABCHANDLE *ABC_Init(void) > + retval->barticks = 0; > + p = getenv(ABC_ENV_NORANDOMPICK); > + if( p ) { > +- if( isdigit(*p) ) > ++ if( isdigit(static_cast(*p)) ) > + retval->pickrandom = atoi(p); > + if( *p == '-' ) { > + retval->pickrandom = atoi(p+1)-1; // xmms preloads the file > +@@ -2652,12 +2652,12 @@ static int ABC_Key(const char *p) > + int i,j; > + char c[8]; > + const char *q; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + q = p; > + memset(c, 0, 8); > + for( i=0; i<8 && *p && *p != ']'; p++ ) { > +- if( isspace(*p) ) { > +- while( isspace(*p) ) p++; > ++ if( isspace(static_cast(*p)) ) { > ++ while( isspace(static_cast(*p)) ) p++; > + if( strncasecmp(p, "min", 3) && strncasecmp(p, "maj", 3) ) > + break; > + } > +@@ -2687,9 +2687,9 @@ static int ABC_Key(const char *p) > + > + static char *abc_skip_word(char *p) > + { > +- while( isspace(*p) ) p++; > +- while( *p && !isspace(*p) && *p != ']') p++; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > ++ while( *p && !isspace(static_cast(*p)) && *p != ']') p++; > ++ while( isspace(static_cast(*p)) ) p++; > + return p; > + } > + > +@@ -2798,7 +2798,7 @@ static void abc_setup_chordnames() > + static int abc_MIDI_getnumber(const char *p) > + { > + int n; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + abc_getnumber(p, &n); > + if( n < 0 ) n = 0; > + if( n > 127 ) n = 127; > +@@ -2808,7 +2808,7 @@ static int abc_MIDI_getnumber(const char *p) > + static int abc_MIDI_getprog(const char *p) > + { > + int n; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + abc_getnumber(p, &n); > + if( n < 1 ) n = 1; > + if( n > 128 ) n = 128; > +@@ -2819,32 +2819,32 @@ static int abc_MIDI_getprog(const char *p) > + static void abc_MIDI_drone(const char *p, int *gm, int *ptch, int *vol) > + { > + int i; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + i++; // adjust for 1..128 > + if( i>0 && i < 129 ) > + *gm = i; > + else > + *gm = 71; // bassoon > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + if( i>0 && i < 127 ) > + ptch[0] = i; > + else > + ptch[0] = 45; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + if( i>0 && i < 127 ) > + ptch[1] = i; > + else > + ptch[1] = 33; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + if( i>0 && i < 127 ) > + vol[0] = i; > + else > + vol[0] = 80; > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + p += abc_getnumber(p, &i); > + if( i>0 && i < 127 ) > + vol[1] = i; > +@@ -2869,8 +2869,8 @@ static void abc_MIDI_channel(const char *p, ABCTRACK *tp, ABCHANDLE *h) > + { > + int i1, i2; > + i1 = tp? tp->vno: 1; > +- for( ; *p && isspace(*p); p++ ) ; > +- if( isdigit(*p) ) { > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( isdigit(static_cast(*p)) ) { > + p += abc_getnumber(p, &i2); > + if( i2 >= 1 && i2 <= 16 ) > + abc_chan_to_tracks(h, i1, i2); // we start at 1 > +@@ -2894,11 +2894,11 @@ static void abc_MIDI_program(const char *p, ABCTRACK *tp, ABCHANDLE *h) > + { > + int i1, i2; > + i1 = tp? tp->vno: 1; > +- for( ; *p && isspace(*p); p++ ) ; > +- if( isdigit(*p) ) { > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( isdigit(static_cast(*p)) ) { > + p += abc_getnumber(p, &i2); > +- for( ; *p && isspace(*p); p++ ) ; > +- if( isdigit(*p) ) { > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( isdigit(static_cast(*p)) ) { > + i1 = i2; > + abc_getnumber(p, &i2); > + } > +@@ -2919,25 +2919,25 @@ static void abc_mute_voice(ABCHANDLE *h, ABCTRACK *tp, int m) > + static void abc_MIDI_voice(const char *p, ABCTRACK *tp, ABCHANDLE *h) > + { > + int i1, i2; > +- for( ; *p && isspace(*p); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > + if( strncmp(p,"instrument=",11) && strncmp(p,"mute",4) ) { > + tp = abc_locate_track(h, p, 0); > +- for( ; *p && !isspace(*p); p++ ) ; > +- for( ; *p && isspace(*p); p++ ) ; > ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > + } > + i1 = tp? tp->vno: 1; > + i2 = 0; > +- if( !strncmp(p,"instrument=",11) && isdigit(p[11]) ) { > ++ if( !strncmp(p,"instrument=",11) && isdigit(static_cast(p[11])) ) { > + p += 11; > + p += abc_getnumber(p, &i2); > +- for( ; *p && isspace(*p); p++ ) ; > +- if( !strncmp(p,"bank=",5) && isdigit(p[5]) ) { > +- for( ; *p && !isspace(*p); p++ ) ; > +- for( ; *p && isspace(*p); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( !strncmp(p,"bank=",5) && isdigit(static_cast(p[5])) ) { > ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > + } > + } > + if( tp ) abc_mute_voice(h,tp,0); > +- if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(p[4])) ) { > ++ if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(static_cast(p[4]))) ) { > + if( tp ) abc_mute_voice(h,tp,1); > + } > + abc_instr_to_tracks(h, i1, i2); // starts already at 1 (draft 4.0) > +@@ -2949,7 +2949,7 @@ static void abc_MIDI_chordname(const char *p) > + char name[20]; > + int i; > + > +- for(; *p && isspace(*p); p++) > ++ for(; *p && isspace(static_cast(*p)); p++) > + ; > + i = 0; > + while ((i < 19) && (*p != ' ') && (*p != '\0')) { > +@@ -2965,8 +2965,8 @@ static void abc_MIDI_chordname(const char *p) > + int notes[6]; > + i = 0; > + memset(notes, 0, sizeof(notes)); > +- while ((i < 6) && isspace(*p)) { > +- for(; *p && isspace(*p); p++) > ++ while ((i < 6) && isspace(static_cast(*p))) { > ++ for(; *p && isspace(static_cast(*p)); p++) > + ; > + p += abc_getnumber(p, ¬es[i]); > + i = i + 1; > +@@ -2981,21 +2981,21 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) > + { > + char *q; > + int i, n, m, len; > +- while( isspace(*p) ) p++; > +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; > +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; > ++ while( isspace(static_cast(*p)) ) p++; > ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; > ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; > + n = 0; len = 0; > +- for( q = h->drum; *p && !isspace(*p); p++ ) { > ++ for( q = h->drum; *p && !isspace(static_cast(*p)); p++ ) { > + if( !strchr("dz0123456789",*p) ) break; > + *q++ = *p; len++; > +- if( !isdigit(*p) && len < (int)sizeof(h->drum)-1 ) { > +- if( !isdigit(p[1]) ) { *q++ = '1'; len ++; } > ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->drum)-1 ) { > ++ if( !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } > + n++; // count the silences too.... > + } > + if (len >= (int)sizeof(h->drum)-1) { > + // consume the rest of the input > + // definitely enough "drum last state" stored. > +- while ( *p && !isspace(*p) ) p++; > ++ while ( *p && !isspace(static_cast(*p)) ) p++; > + break; > + } > + } > +@@ -3003,10 +3003,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) > + q = h->drumins; > + for( i = 0; i + if( h->drum[i*2] == 'd' ) { > +- while( *p && isspace(*p) ) p++; > +- if( !isdigit(*p) ) { > ++ while( *p && isspace(static_cast(*p)) ) p++; > ++ if( !isdigit(static_cast(*p)) ) { > + m = 0; > +- while( *p && !isspace(*p) ) p++; > ++ while( *p && !isspace(static_cast(*p)) ) p++; > + } > + else > + p += abc_getnumber(p,&m); > +@@ -3017,10 +3017,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) > + q = h->drumvol; > + for( i = 0; i + if( h->drum[i*2] == 'd' ) { > +- while( *p && isspace(*p) ) p++; > +- if( !isdigit(*p) ) { > ++ while( *p && isspace(static_cast(*p)) ) p++; > ++ if( !isdigit(static_cast(*p)) ) { > + m = 0; > +- while( *p && !isspace(*p) ) p++; > ++ while( *p && !isspace(static_cast(*p)) ) p++; > + } > + else > + p += abc_getnumber(p,&m); > +@@ -3036,17 +3036,17 @@ static int abc_MIDI_gchord(const char *p, ABCHANDLE *h) > + { > + char *q; > + int len = 0; > +- while( isspace(*p) ) p++; > +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; > +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; > +- for( q = h->gchord; *p && !isspace(*p); p++ ) { > ++ while( isspace(static_cast(*p)) ) p++; > ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; > ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; > ++ for( q = h->gchord; *p && !isspace(static_cast(*p)); p++ ) { > + if( !strchr("fbcz0123456789ghijGHIJ",*p) ) break; > + *q++ = *p; len++; > +- if( !isdigit(*p) && len < (int)sizeof(h->gchord)-1 && !isdigit(p[1]) ) { *q++ = '1'; len ++; } > ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->gchord)-1 && !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } > + if (len >= (int)sizeof(h->gchord)-1) { > + // consume the rest of the input > + // definitely enough "drum last state" stored. > +- while ( *p && !isspace(*p) ) p++; > ++ while ( *p && !isspace(static_cast(*p)) ) p++; > + break; > + } > + } > +@@ -3099,7 +3099,7 @@ static void abc_metric_gchord(ABCHANDLE *h, int mlen, int mdiv) > + > + static void abc_MIDI_legato(const char *p, ABCTRACK *tp) > + { > +- for( ; *p && isspace(*p); p++ ) ; > ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; > + if( !strncmp(p,"off",3) ) tp->legato = 0; > + else tp->legato = 1; > + } > +@@ -3130,7 +3130,7 @@ static int abc_drum_steps(const char *dch) > + const char *p; > + int i=0; > + for( p=dch; *p; p++ ) { > +- if( isdigit(*p) ) i += *p - '0';; > ++ if( isdigit(static_cast(*p)) ) i += *p - '0';; > + } > + return i; > + } > +@@ -3185,7 +3185,7 @@ static int abc_gchord_steps(const char *gch) > + const char *p; > + int i=0; > + for( p=gch; *p; p++ ) > +- if( isdigit(*p) ) i += *p - '0'; > ++ if( isdigit(static_cast(*p)) ) i += *p - '0'; > + return i; > + } > + > +@@ -3231,7 +3231,7 @@ static void abc_add_gchord(ABCHANDLE *h, uint32_t tracktime, uint32_t bartime) > + stime = (tracktime - etime) * steps; > + rtime = 0; > + while( rtime < stime ) { > +- gnote = h->gchord[2*g]; > ++ gnote = static_cast(h->gchord[2*g]); > + glen = h->gchord[2*g+1] - '0'; > + if( ++g == gsteps ) g = 0; > + switch(gnote) { > +@@ -3313,7 +3313,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) > + h->beat[2] = 110; > + h->beat[3] = 1; > + for( j=0; j<4; j++ ) { > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + if( *p ) { > + p += abc_getnumber(p, &i); > + if( i < 0 ) i = 0; > +@@ -3336,7 +3336,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) > + // %%MIDI beatstring fppmpmp > + static void abc_MIDI_beatstring(ABCHANDLE *h, const char *p) > + { > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) p++; > + if( h->beatstring ) _mm_free(h->allochandle, h->beatstring); > + if( strlen(p) ) > + h->beatstring = DupStr(h->allochandle,p,strlen(p)+1); > +@@ -3483,47 +3483,47 @@ static void abc_recalculate_tracktime(ABCHANDLE *h) { > + static void abc_MIDI_command(ABCHANDLE *h, char *p, char delim) { > + int t; > + // interpret some of the possibilitys > +- if( !strncmp(p,"bassprog",8) && isspace(p[8]) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; > +- if( !strncmp(p,"bassvol",7) && isspace(p[7]) ) h->abcbassvol = abc_MIDI_getnumber(p+7); > +- if( !strncmp(p,"beat",4) && isspace(p[4]) ) abc_MIDI_beat(h, p+4); > +- if( !strncmp(p,"beatstring",10) && isspace(p[10]) ) abc_MIDI_beatstring(h, p+4); > +- if( !strncmp(p,"chordname",9) && isspace(p[9]) ) abc_MIDI_chordname(p+9); > +- if( !strncmp(p,"chordprog",9) && isspace(p[9]) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; > +- if( !strncmp(p,"chordvol",8) && isspace(p[8]) ) h->abcchordvol = abc_MIDI_getnumber(p+8); > +- if( !strncmp(p,"drone",5) && isspace(p[5]) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); > +- if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->droneon = 0; > +- if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->droneon = 1; > ++ if( !strncmp(p,"bassprog",8) && isspace(static_cast(p[8])) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; > ++ if( !strncmp(p,"bassvol",7) && isspace(static_cast(p[7])) ) h->abcbassvol = abc_MIDI_getnumber(p+7); > ++ if( !strncmp(p,"beat",4) && isspace(static_cast(p[4])) ) abc_MIDI_beat(h, p+4); > ++ if( !strncmp(p,"beatstring",10) && isspace(static_cast(p[10])) ) abc_MIDI_beatstring(h, p+4); > ++ if( !strncmp(p,"chordname",9) && isspace(static_cast(p[9])) ) abc_MIDI_chordname(p+9); > ++ if( !strncmp(p,"chordprog",9) && isspace(static_cast(p[9])) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; > ++ if( !strncmp(p,"chordvol",8) && isspace(static_cast(p[8])) ) h->abcchordvol = abc_MIDI_getnumber(p+8); > ++ if( !strncmp(p,"drone",5) && isspace(static_cast(p[5])) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); > ++ if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->droneon = 0; > ++ if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->droneon = 1; > + t = h->drumon; > +- if( !strncmp(p,"drum",4) && isspace(p[4]) ) { > ++ if( !strncmp(p,"drum",4) && isspace(static_cast(p[4])) ) { > + h->drumon = abc_MIDI_drum(p+4, h); > + if( h->drumon ) --h->drumon; > + else h->drumon = t; > + } > +- if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->drumon = 0; > +- if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) h->drumon = 1; > ++ if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->drumon = 0; > ++ if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) h->drumon = 1; > + if( t != h->drumon ) { > + if( h->drumon && !h->tpr ) h->tpr = h->track; > + if( h->tpr ) abc_add_drum_sync(h, h->tpr, h->tracktime); // don't start drumming from the beginning of time! > + if( h->tpr && !h->drumon ) h->tpr = NULL; > + } > + t = h->gchordon; > +- if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) { > ++ if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) { > + h->gchordon = abc_MIDI_gchord(p+6, h); > + if( h->gchordon ) --h->gchordon; > + else h->gchordon = t; > + } > +- if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(p[9])) ) h->gchordon = 0; > +- if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->gchordon = 1; > ++ if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(static_cast(p[9]))) ) h->gchordon = 0; > ++ if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->gchordon = 1; > + if( t != h->gchordon ) { > + if( h->tpc ) abc_add_gchord_syncs(h, h->tpc, h->tracktime); > + } > +- if( !strncmp(p,"channel",7) && isspace(p[7]) ) > ++ if( !strncmp(p,"channel",7) && isspace(static_cast(p[7])) ) > + abc_MIDI_channel(p+8, h->tp = abc_check_track(h, h->tp), h); > +- if( !strncmp(p,"program",7) && isspace(p[7]) ) > ++ if( !strncmp(p,"program",7) && isspace(static_cast(p[7])) ) > + abc_MIDI_program(p+8, h->tp = abc_check_track(h, h->tp), h); > +- if( !strncmp(p,"voice",5) && isspace(p[5]) ) > ++ if( !strncmp(p,"voice",5) && isspace(static_cast(p[5])) ) > + abc_MIDI_voice(p+6, h->tp = abc_check_track(h, h->tp), h); > +- if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) > ++ if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) > + abc_MIDI_legato(p+6, h->tp = abc_check_track(h, h->tp)); > + } > + > +@@ -3548,13 +3548,13 @@ static char *abc_continuated(ABCHANDLE *h, MMFILE *mmf, char *p) { > + abc_message("line not properly continued\n%s", p1); > + return p1; > + } > +- while( *pm && isspace(*pm) ) ++pm; > ++ while( *pm && isspace(static_cast(*pm)) ) ++pm; > + if( !strncmp(pm,"%%",2) ) { > +- for( p2 = pm+2; *p2 && isspace(*p2); p2++ ) ; > +- if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(p2[4])) ) { > +- for( p2+=5; *p2 && isspace(*p2); p2++ ) ; > ++ for( p2 = pm+2; *p2 && isspace(static_cast(*p2)); p2++ ) ; > ++ if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(static_cast(p2[4]))) ) { > ++ for( p2+=5; *p2 && isspace(static_cast(*p2)); p2++ ) ; > + if( *p2 == '=' ) > +- for( p2+=1; *p2 && isspace(*p2); p2++ ) ; > ++ for( p2+=1; *p2 && isspace(static_cast(*p2)); p2++ ) ; > + abc_MIDI_command(h,p2,'%'); > + } > + continued = 1; > +@@ -3685,7 +3685,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + abcxcount = 0; > + mmfseek(mmfile,0,SEEK_SET); > + while ((line=abc_gets(h, mmfile)) != NULL) { > +- for( p=line; isspace(*p); p++ ) ; > ++ for( p=line; isspace(static_cast(*p)); p++ ) ; > + if( !strncmp(p,"X:",2) ) abcxcount++; > + } > + if( abcxcount == 0 ) > +@@ -3699,7 +3699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + mmsp--; > + while ((line=abc_gets(h, mmstack[mmsp])) != NULL) { > + char blankline[3] = "% "; > +- for( p=line; isspace(*p); p++ ) ; > ++ for( p=line; isspace(static_cast(*p)); p++ ) ; > + switch(abcstate) { > + case INSKIPFORX: > + if( !strncmp(p,"X:",2) ) { > +@@ -3711,7 +3711,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + if( !strncmp(p,"X:",2) ) { > + abcstate = INHEAD; > + memset(m_szNames[0], 0, 32); > +- for( p+=2; isspace(*p); p++ ) ; > ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; > + abcxnumber = atoi(p); > + abchornpipe = 0; > + h->droneon = 0; > +@@ -3792,8 +3792,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + break; > + } > + if( !strncmp(p,"R:",2) ) { > +- for( p+=2; isspace(*p); p++ ) ; > +- if( !strncmp(p,"hornpipe",8) && (isspace(p[8]) || p[8]=='\0') ) abchornpipe = 1; > ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; > ++ if( !strncmp(p,"hornpipe",8) && (isspace(static_cast(p[8])) || p[8]=='\0') ) abchornpipe = 1; > + else abchornpipe = 0; > + break; > + } > +@@ -3980,8 +3980,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + p[1]= '%'; > + } > + if( !strncmp(p,"%%",2) ) { > +- for( p+=2; *p && isspace(*p); p++ ) ; > +- if( !strncmp(p,"abc-include",11) && isspace(p[11]) ) { > ++ for( p+=2; *p && isspace(static_cast(*p)); p++ ) ; > ++ if( !strncmp(p,"abc-include",11) && isspace(static_cast(p[11])) ) { > + for( t=12; isspace(p[t]); t++ ) ; > + if( p[t] ) { > + mmsp++; > +@@ -3998,10 +3998,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + } > + else abc_message("failure: abc-include missing file name, %s", p); > + } > +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) && abcstate != INSKIPFORX ) { > +- for( p+=5; *p && isspace(*p); p++ ) ; > ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) && abcstate != INSKIPFORX ) { > ++ for( p+=5; *p && isspace(static_cast(*p)); p++ ) ; > + if( *p == '=' ) > +- for( p+=1; *p && isspace(*p); p++ ) ; > ++ for( p+=1; *p && isspace(static_cast(*p)); p++ ) ; > + abc_MIDI_command(h,p,'%'); > + if( h->tp ) abcnolegato = !h->tp->legato; > + if( !abcnolegato ) abcnoslurs = 0; > +@@ -4034,7 +4034,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + partpat[global_part - 'A'][1] = t; > + // give every new coming abcevent the desired part indication > + while( p[2]==' ' || p[2]=='.' ) p++; // skip blancs and dots > +- if( isupper(p[2]) ) > ++ if( isupper(static_cast(p[2])) ) > + global_part = p[2]; > + else > + global_part = ' '; > +@@ -4073,7 +4073,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + ch0 = ' '; > + pp = 0; > + while (*p && (ch = *p++) != '\0') { > +- if( !pp && isalpha(ch) && *p != ':' ) { // maybe a macro > ++ if( !pp && isalpha(static_cast(ch)) && *p != ':' ) { // maybe a macro > + for( mp=h->umacro; mp; mp=mp->next ) { > + if( ch == mp->name[0] ) { > + pp = p; > +@@ -4131,8 +4131,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + else > + partpat[global_part - 'A'][1] = t; > + // give every new coming abcevent the desired part indication > +- while( isspace(p[2]) || p[2]=='.' ) p++; // skip blancs and dots > +- if( isupper(p[2]) ) > ++ while( isspace(static_cast(p[2])) || p[2]=='.' ) p++; // skip blancs and dots > ++ if( isupper(static_cast(p[2])) ) > + global_part = p[2]; > + else > + global_part = ' '; > +@@ -4152,11 +4152,11 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + break; > + } > + if( !strncmp(p,"I:",2) ) { // interpret some of the possibilitys > +- for( p += 2; isspace(*p); p++ ) ; > +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) ) { // interpret some of the possibilitys > +- for( p += 4; isspace(*p); p++ ) ; > ++ for( p += 2; isspace(static_cast(*p)); p++ ) ; > ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) ) { // interpret some of the possibilitys > ++ for( p += 4; isspace(static_cast(*p)); p++ ) ; > + if( *p == '=' ) > +- for( p += 1; isspace(*p); p++ ) ; > ++ for( p += 1; isspace(static_cast(*p)); p++ ) ; > + abc_MIDI_command(h, p, ']'); > + if( h->tp ) abcnolegato = !h->tp->legato; > + if( !abcnolegato ) abcnoslurs = 0; > +@@ -4235,7 +4235,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + notelen *= cnotelen; > + notediv *= cnotediv; > + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); > +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation > ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation > + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); > + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); > + if( abcfermata ) { > +@@ -4278,7 +4278,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + if( abceffoper != 255 ) abceffect = none; > + break; > + } > +- if( isdigit(*p) ) { // different endings in repeats [i,j,n-r,s,... > ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats [i,j,n-r,s,... > + h->tp = abc_check_track(h, h->tp); > + abc_add_partbreak(h, h->tp, h->tracktime); > + p += abc_getnumber(p, ¬elen); > +@@ -4304,7 +4304,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + break; > + case '(': // slurs follow or some tuplet (duplet, triplet etc.) > + abcto = 0; > +- if( isdigit(*p) ) { > ++ if( isdigit(static_cast(*p)) ) { > + p += abc_getnumber(p,&tupletp); > + tupletr = tupletp; // ABC draft 2.0 (4.13): if r is not given it defaults to p > + switch( tupletp ) { // ABC draft 2.0 (4.13): q defaults depending on p and time signature > +@@ -4323,10 +4323,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + } > + if( *p==':' ) { > + p++; > +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletq); > ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletq); > + if( *p==':' ) { > + p++; > +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletr); > ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletr); > + } > + } > + } > +@@ -4375,7 +4375,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + sprintf(barsig, "%s%s", sig[abckey], sig[abckey]); // reset the key signature > + bartime = h->tracktime; > + if( h->tp && h->tp->vpos ) h->tp = abc_locate_track(h, h->tp->v, 0); // reset from voice overlay > +- if( isdigit(*p) ) { // different endings in repeats |i,j,n-r,s,... > ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats |i,j,n-r,s,... > + h->tp = abc_check_track(h, h->tp); > + abc_add_partbreak(h, h->tp, h->tracktime); > + p += abc_getnumber(p, ¬elen); > +@@ -4426,7 +4426,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + } > + break; > + case '"': // chord notation > +- if( !strchr("_^<>@", *p) && !isdigit(*p) ) { // if it's not a annotation string > ++ if( !strchr("_^<>@", *p) && !isdigit(static_cast(*p)) ) { // if it's not a annotation string > + h->tp = abc_check_track(h, h->tp); > + if( !h->tpc ) h->tpc = abc_locate_track(h, h->tp->v, 0); > + if( h->tp == h->tpc ) abc_add_chord(p, h, h->tpc, h->tracktime); // only do chords for one voice > +@@ -4443,8 +4443,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + abcto = -1; > + } > + else > +- if( !isspace(*p) ) abcto = 0; > +- if( !strncasecmp(p,"to",2) && (isspace(p[2]) || p[2] == '"') ) abcto = 1; > ++ if( !isspace(static_cast(*p)) ) abcto = 0; > ++ if( !strncasecmp(p,"to",2) && (isspace(static_cast(p[2])) || p[2] == '"') ) abcto = 1; > + } > + if( !ch ) abcstate = INSKIPFORQUOTE; > + break; > +@@ -4665,7 +4665,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + h->tp->tienote = h->tp->tail; > + } > + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); > +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation > ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation > + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); > + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); > + if( abcfermata ) { > +@@ -4699,7 +4699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + abc_track_clear_tiednote(h); > + p += abc_notelen(p, ¬elen, ¬ediv); > + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); > +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation > ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation > + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); > + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); > + if( abcfermata ) { > +@@ -4752,7 +4752,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) > + abcarpeggio = 0; > + break; > + } > +- if( isalpha(ch) && *p==':' ) { > ++ if( isalpha(static_cast(ch)) && *p==':' ) { > + // some unprocessed field line? > + while( *p ) p++; // skip it > + break; > +diff --git a/src/load_mid.cpp b/src/load_mid.cpp > +index fe02f5e4..749b5d0c 100644 > +--- a/src/load_mid.cpp > ++++ b/src/load_mid.cpp > +@@ -1198,7 +1198,7 @@ BOOL CSoundFile::ReadMID(const BYTE *lpStream, DWORD dwMemLength) > + if (h->miditracks == 0) goto ErrorCleanup; > + > + p = (BYTE *)getenv(ENV_MMMID_SPEED); > +- if( p && isdigit(*p) && p[0] != '0' && p[1] == '\0' ) { > ++ if( p && isdigit(static_cast(*p)) && p[0] != '0' && p[1] == '\0' ) { > + // transform speed > + t = *p - '0'; > + h->speed *= t; > +diff --git a/src/load_pat.cpp b/src/load_pat.cpp > +index fe787311..dfa640e5 100644 > +--- a/src/load_pat.cpp > ++++ b/src/load_pat.cpp > +@@ -392,31 +392,31 @@ void pat_init_patnames(void) > + _mm_fgets(mmcfg, line, PATH_MAX); > + while( !_mm_feof(mmcfg) ) { > + p = line; > +- while ( isspace(*p) ) p ++; > +- if( isdigit(p[0]) ) { > ++ while ( isspace(static_cast(*p)) ) p ++; > ++ if( isdigit(static_cast(p[0])) ) { > + // get pat number > + i = atoi(p); > +- while ( isdigit(*p) ) p ++; > +- while ( isspace(*p) ) p ++; > ++ while ( isdigit(static_cast(*p)) ) p ++; > ++ while ( isspace(static_cast(*p)) ) p ++; > + // get pat file name > + if( *p && i < MAXSMP && i >= 0 && *p != '#' ) { > + q = isdrumset ? midipat[pat_gm_drumnr(i)-1] : midipat[i]; > + pfnlen = 0; > +- while( *p && !isspace(*p) && *p != '#' && pfnlen < 128 ) { > ++ while( *p && !isspace(static_cast(*p)) && *p != '#' && pfnlen < 128 ) { > + pfnlen ++; > + *q++ = *p++; > + } > +- if( isblank(*p) && *(p+1) != '#' && pfnlen < 128 ) { > ++ if( isblank(static_cast(*p)) && *(p+1) != '#' && pfnlen < 128 ) { > + *q++ = ':'; pfnlen ++; > +- while( isspace(*p) ) { > +- while( isspace(*p) ) p++; > ++ while( isspace(static_cast(*p)) ) { > ++ while( isspace(static_cast(*p)) ) p++; > + if ( *p == '#' ) { // comment > + > +- } else while( *p && !isspace(*p) && pfnlen < 128 ) { > ++ } else while( *p && !isspace(static_cast(*p)) && pfnlen < 128 ) { > + pfnlen ++; > + *q++ = *p++; > + } > +- if( isspace(*p) ) { *q++ = ' '; pfnlen++; } > ++ if( isspace(static_cast(*p)) ) { *q++ = ' '; pfnlen++; } > + } > + } > + *q++ = '\0'; > +@@ -429,11 +429,11 @@ void pat_init_patnames(void) > + } > + else if( !strncmp(p,"dir",3) ) { > + p += 3; > +- while ( isspace(*p) ) p ++; > ++ while ( isspace(static_cast(*p)) ) p ++; > + q = p + strlen(p); > + if(q > p) { > + --q; > +- while ( q > p && isspace(*q) ) *(q--) = 0; > ++ while ( q > p && isspace(static_cast(*q)) ) *(q--) = 0; > + strncpy(pathforpat, p, PATH_MAX - 1); > + pathforpat[PATH_MAX - 1] = 0; > + } > +@@ -441,9 +441,9 @@ void pat_init_patnames(void) > + else if( !strncmp(p,"source",6) && nsources < 5 ) { > + q = cfgsources[nsources]; > + p += 6; > +- while ( isspace(*p) ) p ++; > ++ while ( isspace(static_cast(*p)) ) p ++; > + pfnlen = 0; > +- while ( *p && *p != '#' && !isspace(*p) && pfnlen < 128 ) { > ++ while ( *p && *p != '#' && !isspace(static_cast(*p)) && pfnlen < 128 ) { > + pfnlen ++; > + *q++ = *p++; > + } > +@@ -857,7 +857,7 @@ static void PAT_ReadPatterns(MODCOMMAND *pattern[], WORD psize[], PATHANDLE *h, > + i = tt2 - 16 * ((h->samples - 1 - ch) & 3); > + if( tt1 < i ) { > + t = t % 64; > +- if( isalpha(tune[t]) ) { > ++ if( isalpha(static_cast(tune[t])) ) { > + n = pat_modnote(pat_note(tune[t])); > + ins = ch + 1; > + vol = 40; > -- > 2.37.2 > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 1 19:50:06 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 21:50:06 +0200 Subject: [Buildroot] [git commit] package/libmodplug: add a patch fixing cctype UB Message-ID: <20231001195023.D006F83F8C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33d0a13c3b7b86cbbff3dddb4c39ad41cae1c1c0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master libmodplug calls `cctype` functions, such as `isspace`, with negative values. This is undefined behaviour. While glibc allows it, it crashes on uClibc compiled without `UCLIBC_HAS_CTYPE_SIGNED`. Adds a patch that resolves the issue. Also sent upstream. However, the library author has not merged any pull request for about a year. Signed-off-by: Gleb Mazovetskiy [yann.morin.1998 at free.fr: - add Gleb's SoB to the patch - add upstream URL to the patch ] Signed-off-by: Yann E. MORIN --- package/libmodplug/0001-fix-cctype-ub.patch | 957 ++++++++++++++++++++++++++++ 1 file changed, 957 insertions(+) diff --git a/package/libmodplug/0001-fix-cctype-ub.patch b/package/libmodplug/0001-fix-cctype-ub.patch new file mode 100644 index 0000000000..c75919b6a8 --- /dev/null +++ b/package/libmodplug/0001-fix-cctype-ub.patch @@ -0,0 +1,957 @@ +From dc6d5994b4912cb00d0d183b400edfd656d6530c Mon Sep 17 00:00:00 2001 +From: Gleb Mazovetskiy +Date: Wed, 21 Dec 2022 11:44:27 +0000 +Subject: [PATCH] Fix UB when calling cctype functions + +Calling cctype functions, such as isspace, with negative values +is undefined behaviour. + +While glibc allows it, it crashes on uClibc compiled without +`UCLIBC_HAS_CTYPE_SIGNED`. + +Fixes the undefined behaviour by casting all arguments to +cctype functions to `unsigned char`. + +Upstream: https://github.com/Konstanty/libmodplug/pull/92 +Signed-off-by: Gleb Mazovetskiy +--- + src/load_abc.cpp | 284 +++++++++++++++++++++++------------------------ + src/load_mid.cpp | 2 +- + src/load_pat.cpp | 30 ++--- + 3 files changed, 158 insertions(+), 158 deletions(-) + +diff --git a/src/load_abc.cpp b/src/load_abc.cpp +index b45f972f..8444bd87 100644 +--- a/src/load_abc.cpp ++++ b/src/load_abc.cpp +@@ -260,13 +260,13 @@ static uint32_t abc_pattracktime(ABCHANDLE *h, uint32_t tracktime); + static int abc_patno(ABCHANDLE *h, uint32_t tracktime); + + +-static int abc_isvalidchar(char c) { ++static int abc_isvalidchar(unsigned char c) { + return(isalpha(c) || isdigit(c) || isspace(c) || c == '%' || c == ':'); + } + #if 0 + static const char *abc_skipspace(const char *p) + { +- while (*p && isspace(*p)) ++ while (*p && isspace(static_cast(*p))) + p++; + return p; + } +@@ -275,7 +275,7 @@ static const char *abc_skipspace(const char *p) + static void abc_extractkeyvalue(char *key, size_t key_max, + char *value, size_t value_max, const char *src) + { +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t key_size; +@@ -286,17 +286,17 @@ static void abc_extractkeyvalue(char *key, size_t key_max, + } + key[key_size++] = *src++; + } +- while (key_size > 0 && isspace(key[key_size - 1])) ++ while (key_size > 0 && isspace(static_cast(key[key_size - 1]))) + key_size--; + key[key_size] = '\0'; + +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t value_size; + for (value_size = 0; value_size < value_max - 1 && *src;) + value[value_size++] = *src++; +- while (value_size > 0 && isspace(value[value_size - 1])) ++ while (value_size > 0 && isspace(static_cast(value[value_size - 1]))) + value_size--; + value[value_size] = '\0'; + +@@ -359,7 +359,7 @@ static void abc_dumptracks(ABCHANDLE *h, const char *p) + nn[0] = "CCCDDEFFGGAABccddeffggaabb"[e->par[chordnote]]; + nn[1] = "b # # # # # # # # # # #"[e->par[chordnote]]; + nn[2] = '\0'; +- if( isspace(nn[1]) ) nn[1] = '\0'; ++ if( isspace(static_cast(nn[1])) ) nn[1] = '\0'; + printf("CMD %c: gchord %s%s", + (char)(e->cmd), nn, chordname[e->par[chordnum]]); + if( e->par[chordbase] != e->par[chordnote] ) { +@@ -557,7 +557,7 @@ static void abc_new_umacro(ABCHANDLE *h, const char *m) + ABCMACRO *retval, *mp; + char key[256], value[256]; + abc_extractkeyvalue(key, sizeof(key), value, sizeof(value), m); +- if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(key[0])) == 0 ) return; ++ if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(static_cast(key[0]))) == 0 ) return; + while( char *q = strchr(key, '!') ) + *q = '+'; // translate oldstyle to newstyle + if( !strcmp(key,"+nil+") ) { // delete a macro +@@ -823,7 +823,7 @@ static ABCTRACK *abc_locate_track(ABCHANDLE *h, const char *voice, int pos) + char vc[21]; + int i, trans=0, voiceno=0, instrno = 1, channo = 0; + for( ; *voice == ' '; voice++ ) ; // skip leading spaces +- for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(*voice); voice++ ) // can work with inline voice instructions ++ for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(static_cast(*voice)); voice++ ) // can work with inline voice instructions + vc[i++] = *voice; + vc[i] = '\0'; + prev = NULL; +@@ -1250,32 +1250,32 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + switch(ch) { + case '^': + if( p[0] == '^' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'x'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '_': + if( p[0] == '_' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'b'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '=': +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + break; + default: +- n = ch; ++ n = static_cast(ch); + i = 0; + break; + } +@@ -1332,7 +1332,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + else + d[note] = 0; // someone has doen ^X3 or something like it... +- while( p[i] && strchr(",'",p[i]) ) { ++ while( p[i] && strchr(",'",static_cast(p[i])) ) { + if( p[i]==',' ) oct--; + else oct++; + i++; +@@ -1381,7 +1381,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + } + tp->tienote->tiednote = 1; // mark him for the pattern writers +- for( j=i; isdigit(p[j]) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too ++ for( j=i; isdigit(static_cast(p[j])) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too + if( p[j] != '-' ) // is this note tied too? + tp->tienote = NULL; // if not the tie ends here... + return i; +@@ -1603,7 +1603,7 @@ static int abc_getnumber(const char *p, int *number) + int i,h; + i = 0; + h = 0; +- while( isdigit(p[i]) ) { ++ while( isdigit(static_cast(p[i])) ) { + if (i < 9) + h = 10 * h + p[i] - '0'; + i++; +@@ -1619,7 +1619,7 @@ static int abc_getexpr(const char *p, int *number) + { + int i, term, total; + i = 0; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + if( p[i] == '(' ) { + i += abc_getexpr(p+i+1, number); +@@ -1628,12 +1628,12 @@ static int abc_getexpr(const char *p, int *number) + return i; + } + i += abc_getnumber(p+i, &total); +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + while( p[i] == '+' ) { + i += 1 + abc_getexpr(p+i+1, &term); + total += term; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + } + *number = total; +@@ -1649,7 +1649,7 @@ static int abc_notelen(const char *p, int *len, int *div) + h *= 2; + i++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + h /= 2; + i += abc_getnumber(p+i,&k); + } +@@ -1738,7 +1738,7 @@ static int abc_extract_tempo(const char *p, int invoice) + case '=': + break; + default: +- if( isdigit(*q) ) { ++ if( isdigit(static_cast(*q)) ) { + if( state ) { + q+=abc_getnumber(q,&nd1)-1; + state = 0; +@@ -1812,10 +1812,10 @@ static void abc_set_parts(char **d, char *p) + j=0; + k=0; + for( i=0; p[i] && p[i] != '%'; i++ ) { +- if( isupper(p[i]) ) { ++ if( isupper(static_cast(p[i])) ) { + j++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n=abc_getnumber(p+i, &k); + if( k == 0 ) + k = 1; +@@ -1833,7 +1833,7 @@ static void abc_set_parts(char **d, char *p) + // now copy bytes from p to *d, taking parens and digits in account + j = 0; + for( i=0; p[i] && p[i] != '%' && j < size && i < (int)size; i++ ) { +- if( isdigit(p[i]) || isupper(p[i]) || p[i] == '(' || p[i] == ')' ) { ++ if( isdigit(static_cast(p[i])) || isupper(static_cast(p[i])) || p[i] == '(' || p[i] == ')' ) { + if( p[i] == ')' ) { + for( n=j; n > 0 && q[n-1] != '('; n-- ) ; // find open paren in q + // q[n+1] to q[j] contains the substring that must be repeated +@@ -1856,7 +1856,7 @@ static void abc_set_parts(char **d, char *p) + } + continue; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n = abc_getnumber(p+i,&k); + i += n - 1; + // if nothing is ready to 'repeat', skip it. +@@ -2243,7 +2243,7 @@ static void abc_preprocess(ABCHANDLE *h, ABCMACRO *m) + char *p = s; + for( j=0; jsubst[j]; +- if( a > 'g' && islower(a) ) { ++ if( a > 'g' && islower(static_cast(a)) ) { + b = a - 'n'; + a = "CDEFGABCDEFGABcdefgabcdefgabcdefgab"[i+b+7]; + *p++ = a; +@@ -2339,11 +2339,11 @@ BOOL CSoundFile::TestABC(const BYTE *lpStream, DWORD dwMemLength) + } + if(id[0]=='K' + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) return 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) return 1; + // disable binary error if have any "tag" + if((id[0]>='A' && id[0]<='Z') + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) hasText = 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) hasText = 1; + } + return 0; + } +@@ -2367,7 +2367,7 @@ static ABCHANDLE *ABC_Init(void) + retval->barticks = 0; + p = getenv(ABC_ENV_NORANDOMPICK); + if( p ) { +- if( isdigit(*p) ) ++ if( isdigit(static_cast(*p)) ) + retval->pickrandom = atoi(p); + if( *p == '-' ) { + retval->pickrandom = atoi(p+1)-1; // xmms preloads the file +@@ -2652,12 +2652,12 @@ static int ABC_Key(const char *p) + int i,j; + char c[8]; + const char *q; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + q = p; + memset(c, 0, 8); + for( i=0; i<8 && *p && *p != ']'; p++ ) { +- if( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ if( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if( strncasecmp(p, "min", 3) && strncasecmp(p, "maj", 3) ) + break; + } +@@ -2687,9 +2687,9 @@ static int ABC_Key(const char *p) + + static char *abc_skip_word(char *p) + { +- while( isspace(*p) ) p++; +- while( *p && !isspace(*p) && *p != ']') p++; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; ++ while( *p && !isspace(static_cast(*p)) && *p != ']') p++; ++ while( isspace(static_cast(*p)) ) p++; + return p; + } + +@@ -2798,7 +2798,7 @@ static void abc_setup_chordnames() + static int abc_MIDI_getnumber(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 0 ) n = 0; + if( n > 127 ) n = 127; +@@ -2808,7 +2808,7 @@ static int abc_MIDI_getnumber(const char *p) + static int abc_MIDI_getprog(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 1 ) n = 1; + if( n > 128 ) n = 128; +@@ -2819,32 +2819,32 @@ static int abc_MIDI_getprog(const char *p) + static void abc_MIDI_drone(const char *p, int *gm, int *ptch, int *vol) + { + int i; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + i++; // adjust for 1..128 + if( i>0 && i < 129 ) + *gm = i; + else + *gm = 71; // bassoon +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[0] = i; + else + ptch[0] = 45; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[1] = i; + else + ptch[1] = 33; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[0] = i; + else + vol[0] = 80; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[1] = i; +@@ -2869,8 +2869,8 @@ static void abc_MIDI_channel(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); + if( i2 >= 1 && i2 <= 16 ) + abc_chan_to_tracks(h, i1, i2); // we start at 1 +@@ -2894,11 +2894,11 @@ static void abc_MIDI_program(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + i1 = i2; + abc_getnumber(p, &i2); + } +@@ -2919,25 +2919,25 @@ static void abc_mute_voice(ABCHANDLE *h, ABCTRACK *tp, int m) + static void abc_MIDI_voice(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( strncmp(p,"instrument=",11) && strncmp(p,"mute",4) ) { + tp = abc_locate_track(h, p, 0); +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + i1 = tp? tp->vno: 1; + i2 = 0; +- if( !strncmp(p,"instrument=",11) && isdigit(p[11]) ) { ++ if( !strncmp(p,"instrument=",11) && isdigit(static_cast(p[11])) ) { + p += 11; + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"bank=",5) && isdigit(p[5]) ) { +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"bank=",5) && isdigit(static_cast(p[5])) ) { ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + } + if( tp ) abc_mute_voice(h,tp,0); +- if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(p[4])) ) { ++ if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(static_cast(p[4]))) ) { + if( tp ) abc_mute_voice(h,tp,1); + } + abc_instr_to_tracks(h, i1, i2); // starts already at 1 (draft 4.0) +@@ -2949,7 +2949,7 @@ static void abc_MIDI_chordname(const char *p) + char name[20]; + int i; + +- for(; *p && isspace(*p); p++) ++ for(; *p && isspace(static_cast(*p)); p++) + ; + i = 0; + while ((i < 19) && (*p != ' ') && (*p != '\0')) { +@@ -2965,8 +2965,8 @@ static void abc_MIDI_chordname(const char *p) + int notes[6]; + i = 0; + memset(notes, 0, sizeof(notes)); +- while ((i < 6) && isspace(*p)) { +- for(; *p && isspace(*p); p++) ++ while ((i < 6) && isspace(static_cast(*p))) { ++ for(; *p && isspace(static_cast(*p)); p++) + ; + p += abc_getnumber(p, ¬es[i]); + i = i + 1; +@@ -2981,21 +2981,21 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + { + char *q; + int i, n, m, len; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; + n = 0; len = 0; +- for( q = h->drum; *p && !isspace(*p); p++ ) { ++ for( q = h->drum; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("dz0123456789",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->drum)-1 ) { +- if( !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->drum)-1 ) { ++ if( !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + n++; // count the silences too.... + } + if (len >= (int)sizeof(h->drum)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3003,10 +3003,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumins; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3017,10 +3017,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumvol; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3036,17 +3036,17 @@ static int abc_MIDI_gchord(const char *p, ABCHANDLE *h) + { + char *q; + int len = 0; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; +- for( q = h->gchord; *p && !isspace(*p); p++ ) { ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; ++ for( q = h->gchord; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("fbcz0123456789ghijGHIJ",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->gchord)-1 && !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->gchord)-1 && !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + if (len >= (int)sizeof(h->gchord)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3099,7 +3099,7 @@ static void abc_metric_gchord(ABCHANDLE *h, int mlen, int mdiv) + + static void abc_MIDI_legato(const char *p, ABCTRACK *tp) + { +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"off",3) ) tp->legato = 0; + else tp->legato = 1; + } +@@ -3130,7 +3130,7 @@ static int abc_drum_steps(const char *dch) + const char *p; + int i=0; + for( p=dch; *p; p++ ) { +- if( isdigit(*p) ) i += *p - '0';; ++ if( isdigit(static_cast(*p)) ) i += *p - '0';; + } + return i; + } +@@ -3185,7 +3185,7 @@ static int abc_gchord_steps(const char *gch) + const char *p; + int i=0; + for( p=gch; *p; p++ ) +- if( isdigit(*p) ) i += *p - '0'; ++ if( isdigit(static_cast(*p)) ) i += *p - '0'; + return i; + } + +@@ -3231,7 +3231,7 @@ static void abc_add_gchord(ABCHANDLE *h, uint32_t tracktime, uint32_t bartime) + stime = (tracktime - etime) * steps; + rtime = 0; + while( rtime < stime ) { +- gnote = h->gchord[2*g]; ++ gnote = static_cast(h->gchord[2*g]); + glen = h->gchord[2*g+1] - '0'; + if( ++g == gsteps ) g = 0; + switch(gnote) { +@@ -3313,7 +3313,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + h->beat[2] = 110; + h->beat[3] = 1; + for( j=0; j<4; j++ ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( *p ) { + p += abc_getnumber(p, &i); + if( i < 0 ) i = 0; +@@ -3336,7 +3336,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + // %%MIDI beatstring fppmpmp + static void abc_MIDI_beatstring(ABCHANDLE *h, const char *p) + { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( h->beatstring ) _mm_free(h->allochandle, h->beatstring); + if( strlen(p) ) + h->beatstring = DupStr(h->allochandle,p,strlen(p)+1); +@@ -3483,47 +3483,47 @@ static void abc_recalculate_tracktime(ABCHANDLE *h) { + static void abc_MIDI_command(ABCHANDLE *h, char *p, char delim) { + int t; + // interpret some of the possibilitys +- if( !strncmp(p,"bassprog",8) && isspace(p[8]) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; +- if( !strncmp(p,"bassvol",7) && isspace(p[7]) ) h->abcbassvol = abc_MIDI_getnumber(p+7); +- if( !strncmp(p,"beat",4) && isspace(p[4]) ) abc_MIDI_beat(h, p+4); +- if( !strncmp(p,"beatstring",10) && isspace(p[10]) ) abc_MIDI_beatstring(h, p+4); +- if( !strncmp(p,"chordname",9) && isspace(p[9]) ) abc_MIDI_chordname(p+9); +- if( !strncmp(p,"chordprog",9) && isspace(p[9]) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; +- if( !strncmp(p,"chordvol",8) && isspace(p[8]) ) h->abcchordvol = abc_MIDI_getnumber(p+8); +- if( !strncmp(p,"drone",5) && isspace(p[5]) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); +- if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->droneon = 0; +- if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->droneon = 1; ++ if( !strncmp(p,"bassprog",8) && isspace(static_cast(p[8])) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; ++ if( !strncmp(p,"bassvol",7) && isspace(static_cast(p[7])) ) h->abcbassvol = abc_MIDI_getnumber(p+7); ++ if( !strncmp(p,"beat",4) && isspace(static_cast(p[4])) ) abc_MIDI_beat(h, p+4); ++ if( !strncmp(p,"beatstring",10) && isspace(static_cast(p[10])) ) abc_MIDI_beatstring(h, p+4); ++ if( !strncmp(p,"chordname",9) && isspace(static_cast(p[9])) ) abc_MIDI_chordname(p+9); ++ if( !strncmp(p,"chordprog",9) && isspace(static_cast(p[9])) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; ++ if( !strncmp(p,"chordvol",8) && isspace(static_cast(p[8])) ) h->abcchordvol = abc_MIDI_getnumber(p+8); ++ if( !strncmp(p,"drone",5) && isspace(static_cast(p[5])) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); ++ if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->droneon = 0; ++ if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->droneon = 1; + t = h->drumon; +- if( !strncmp(p,"drum",4) && isspace(p[4]) ) { ++ if( !strncmp(p,"drum",4) && isspace(static_cast(p[4])) ) { + h->drumon = abc_MIDI_drum(p+4, h); + if( h->drumon ) --h->drumon; + else h->drumon = t; + } +- if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->drumon = 0; +- if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) h->drumon = 1; ++ if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->drumon = 0; ++ if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) h->drumon = 1; + if( t != h->drumon ) { + if( h->drumon && !h->tpr ) h->tpr = h->track; + if( h->tpr ) abc_add_drum_sync(h, h->tpr, h->tracktime); // don't start drumming from the beginning of time! + if( h->tpr && !h->drumon ) h->tpr = NULL; + } + t = h->gchordon; +- if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) { ++ if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) { + h->gchordon = abc_MIDI_gchord(p+6, h); + if( h->gchordon ) --h->gchordon; + else h->gchordon = t; + } +- if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(p[9])) ) h->gchordon = 0; +- if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->gchordon = 1; ++ if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(static_cast(p[9]))) ) h->gchordon = 0; ++ if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->gchordon = 1; + if( t != h->gchordon ) { + if( h->tpc ) abc_add_gchord_syncs(h, h->tpc, h->tracktime); + } +- if( !strncmp(p,"channel",7) && isspace(p[7]) ) ++ if( !strncmp(p,"channel",7) && isspace(static_cast(p[7])) ) + abc_MIDI_channel(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"program",7) && isspace(p[7]) ) ++ if( !strncmp(p,"program",7) && isspace(static_cast(p[7])) ) + abc_MIDI_program(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"voice",5) && isspace(p[5]) ) ++ if( !strncmp(p,"voice",5) && isspace(static_cast(p[5])) ) + abc_MIDI_voice(p+6, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) ++ if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) + abc_MIDI_legato(p+6, h->tp = abc_check_track(h, h->tp)); + } + +@@ -3548,13 +3548,13 @@ static char *abc_continuated(ABCHANDLE *h, MMFILE *mmf, char *p) { + abc_message("line not properly continued\n%s", p1); + return p1; + } +- while( *pm && isspace(*pm) ) ++pm; ++ while( *pm && isspace(static_cast(*pm)) ) ++pm; + if( !strncmp(pm,"%%",2) ) { +- for( p2 = pm+2; *p2 && isspace(*p2); p2++ ) ; +- if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(p2[4])) ) { +- for( p2+=5; *p2 && isspace(*p2); p2++ ) ; ++ for( p2 = pm+2; *p2 && isspace(static_cast(*p2)); p2++ ) ; ++ if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(static_cast(p2[4]))) ) { ++ for( p2+=5; *p2 && isspace(static_cast(*p2)); p2++ ) ; + if( *p2 == '=' ) +- for( p2+=1; *p2 && isspace(*p2); p2++ ) ; ++ for( p2+=1; *p2 && isspace(static_cast(*p2)); p2++ ) ; + abc_MIDI_command(h,p2,'%'); + } + continued = 1; +@@ -3685,7 +3685,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcxcount = 0; + mmfseek(mmfile,0,SEEK_SET); + while ((line=abc_gets(h, mmfile)) != NULL) { +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"X:",2) ) abcxcount++; + } + if( abcxcount == 0 ) +@@ -3699,7 +3699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + mmsp--; + while ((line=abc_gets(h, mmstack[mmsp])) != NULL) { + char blankline[3] = "% "; +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + switch(abcstate) { + case INSKIPFORX: + if( !strncmp(p,"X:",2) ) { +@@ -3711,7 +3711,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( !strncmp(p,"X:",2) ) { + abcstate = INHEAD; + memset(m_szNames[0], 0, 32); +- for( p+=2; isspace(*p); p++ ) ; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; + abcxnumber = atoi(p); + abchornpipe = 0; + h->droneon = 0; +@@ -3792,8 +3792,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"R:",2) ) { +- for( p+=2; isspace(*p); p++ ) ; +- if( !strncmp(p,"hornpipe",8) && (isspace(p[8]) || p[8]=='\0') ) abchornpipe = 1; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"hornpipe",8) && (isspace(static_cast(p[8])) || p[8]=='\0') ) abchornpipe = 1; + else abchornpipe = 0; + break; + } +@@ -3980,8 +3980,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + p[1]= '%'; + } + if( !strncmp(p,"%%",2) ) { +- for( p+=2; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"abc-include",11) && isspace(p[11]) ) { ++ for( p+=2; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"abc-include",11) && isspace(static_cast(p[11])) ) { + for( t=12; isspace(p[t]); t++ ) ; + if( p[t] ) { + mmsp++; +@@ -3998,10 +3998,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + else abc_message("failure: abc-include missing file name, %s", p); + } +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) && abcstate != INSKIPFORX ) { +- for( p+=5; *p && isspace(*p); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) && abcstate != INSKIPFORX ) { ++ for( p+=5; *p && isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p+=1; *p && isspace(*p); p++ ) ; ++ for( p+=1; *p && isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h,p,'%'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4034,7 +4034,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication + while( p[2]==' ' || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4073,7 +4073,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + ch0 = ' '; + pp = 0; + while (*p && (ch = *p++) != '\0') { +- if( !pp && isalpha(ch) && *p != ':' ) { // maybe a macro ++ if( !pp && isalpha(static_cast(ch)) && *p != ':' ) { // maybe a macro + for( mp=h->umacro; mp; mp=mp->next ) { + if( ch == mp->name[0] ) { + pp = p; +@@ -4131,8 +4131,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + else + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication +- while( isspace(p[2]) || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ while( isspace(static_cast(p[2])) || p[2]=='.' ) p++; // skip blancs and dots ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4152,11 +4152,11 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"I:",2) ) { // interpret some of the possibilitys +- for( p += 2; isspace(*p); p++ ) ; +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) ) { // interpret some of the possibilitys +- for( p += 4; isspace(*p); p++ ) ; ++ for( p += 2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) ) { // interpret some of the possibilitys ++ for( p += 4; isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p += 1; isspace(*p); p++ ) ; ++ for( p += 1; isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h, p, ']'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4235,7 +4235,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + notelen *= cnotelen; + notediv *= cnotediv; + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4278,7 +4278,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( abceffoper != 255 ) abceffect = none; + break; + } +- if( isdigit(*p) ) { // different endings in repeats [i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats [i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4304,7 +4304,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + case '(': // slurs follow or some tuplet (duplet, triplet etc.) + abcto = 0; +- if( isdigit(*p) ) { ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p,&tupletp); + tupletr = tupletp; // ABC draft 2.0 (4.13): if r is not given it defaults to p + switch( tupletp ) { // ABC draft 2.0 (4.13): q defaults depending on p and time signature +@@ -4323,10 +4323,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletq); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletq); + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletr); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletr); + } + } + } +@@ -4375,7 +4375,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + sprintf(barsig, "%s%s", sig[abckey], sig[abckey]); // reset the key signature + bartime = h->tracktime; + if( h->tp && h->tp->vpos ) h->tp = abc_locate_track(h, h->tp->v, 0); // reset from voice overlay +- if( isdigit(*p) ) { // different endings in repeats |i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats |i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4426,7 +4426,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + break; + case '"': // chord notation +- if( !strchr("_^<>@", *p) && !isdigit(*p) ) { // if it's not a annotation string ++ if( !strchr("_^<>@", *p) && !isdigit(static_cast(*p)) ) { // if it's not a annotation string + h->tp = abc_check_track(h, h->tp); + if( !h->tpc ) h->tpc = abc_locate_track(h, h->tp->v, 0); + if( h->tp == h->tpc ) abc_add_chord(p, h, h->tpc, h->tracktime); // only do chords for one voice +@@ -4443,8 +4443,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcto = -1; + } + else +- if( !isspace(*p) ) abcto = 0; +- if( !strncasecmp(p,"to",2) && (isspace(p[2]) || p[2] == '"') ) abcto = 1; ++ if( !isspace(static_cast(*p)) ) abcto = 0; ++ if( !strncasecmp(p,"to",2) && (isspace(static_cast(p[2])) || p[2] == '"') ) abcto = 1; + } + if( !ch ) abcstate = INSKIPFORQUOTE; + break; +@@ -4665,7 +4665,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + h->tp->tienote = h->tp->tail; + } + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4699,7 +4699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abc_track_clear_tiednote(h); + p += abc_notelen(p, ¬elen, ¬ediv); + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4752,7 +4752,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcarpeggio = 0; + break; + } +- if( isalpha(ch) && *p==':' ) { ++ if( isalpha(static_cast(ch)) && *p==':' ) { + // some unprocessed field line? + while( *p ) p++; // skip it + break; +diff --git a/src/load_mid.cpp b/src/load_mid.cpp +index fe02f5e4..749b5d0c 100644 +--- a/src/load_mid.cpp ++++ b/src/load_mid.cpp +@@ -1198,7 +1198,7 @@ BOOL CSoundFile::ReadMID(const BYTE *lpStream, DWORD dwMemLength) + if (h->miditracks == 0) goto ErrorCleanup; + + p = (BYTE *)getenv(ENV_MMMID_SPEED); +- if( p && isdigit(*p) && p[0] != '0' && p[1] == '\0' ) { ++ if( p && isdigit(static_cast(*p)) && p[0] != '0' && p[1] == '\0' ) { + // transform speed + t = *p - '0'; + h->speed *= t; +diff --git a/src/load_pat.cpp b/src/load_pat.cpp +index fe787311..dfa640e5 100644 +--- a/src/load_pat.cpp ++++ b/src/load_pat.cpp +@@ -392,31 +392,31 @@ void pat_init_patnames(void) + _mm_fgets(mmcfg, line, PATH_MAX); + while( !_mm_feof(mmcfg) ) { + p = line; +- while ( isspace(*p) ) p ++; +- if( isdigit(p[0]) ) { ++ while ( isspace(static_cast(*p)) ) p ++; ++ if( isdigit(static_cast(p[0])) ) { + // get pat number + i = atoi(p); +- while ( isdigit(*p) ) p ++; +- while ( isspace(*p) ) p ++; ++ while ( isdigit(static_cast(*p)) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + // get pat file name + if( *p && i < MAXSMP && i >= 0 && *p != '#' ) { + q = isdrumset ? midipat[pat_gm_drumnr(i)-1] : midipat[i]; + pfnlen = 0; +- while( *p && !isspace(*p) && *p != '#' && pfnlen < 128 ) { ++ while( *p && !isspace(static_cast(*p)) && *p != '#' && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isblank(*p) && *(p+1) != '#' && pfnlen < 128 ) { ++ if( isblank(static_cast(*p)) && *(p+1) != '#' && pfnlen < 128 ) { + *q++ = ':'; pfnlen ++; +- while( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if ( *p == '#' ) { // comment + +- } else while( *p && !isspace(*p) && pfnlen < 128 ) { ++ } else while( *p && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isspace(*p) ) { *q++ = ' '; pfnlen++; } ++ if( isspace(static_cast(*p)) ) { *q++ = ' '; pfnlen++; } + } + } + *q++ = '\0'; +@@ -429,11 +429,11 @@ void pat_init_patnames(void) + } + else if( !strncmp(p,"dir",3) ) { + p += 3; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + q = p + strlen(p); + if(q > p) { + --q; +- while ( q > p && isspace(*q) ) *(q--) = 0; ++ while ( q > p && isspace(static_cast(*q)) ) *(q--) = 0; + strncpy(pathforpat, p, PATH_MAX - 1); + pathforpat[PATH_MAX - 1] = 0; + } +@@ -441,9 +441,9 @@ void pat_init_patnames(void) + else if( !strncmp(p,"source",6) && nsources < 5 ) { + q = cfgsources[nsources]; + p += 6; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + pfnlen = 0; +- while ( *p && *p != '#' && !isspace(*p) && pfnlen < 128 ) { ++ while ( *p && *p != '#' && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +@@ -857,7 +857,7 @@ static void PAT_ReadPatterns(MODCOMMAND *pattern[], WORD psize[], PATHANDLE *h, + i = tt2 - 16 * ((h->samples - 1 - ch) & 3); + if( tt1 < i ) { + t = t % 64; +- if( isalpha(tune[t]) ) { ++ if( isalpha(static_cast(tune[t])) ) { + n = pat_modnote(pat_note(tune[t])); + ins = ch + 1; + vol = 40; From yann.morin.1998 at free.fr Sun Oct 1 19:52:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 1 Oct 2023 21:52:12 +0200 Subject: [Buildroot] [git commit] package/libmodplug: use a full-length hash as version Message-ID: <20231001195516.9BA4383F9E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=80e94c76169fd15d2433b18a9e54d6a4f3c4ff18 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 369ff9a88ff8 (package/libmodplug: update to git version) improperly used a short hash as version, so switch to the full-length hash. Github use the full-length hash when it creates the top-level directory of the generated archive, so the hash of the archive does not in fact change, only its filename. This is perfectly fine fine our handling of s.b.o. Signed-off-by: Yann E. MORIN --- package/libmodplug/libmodplug.hash | 2 +- package/libmodplug/libmodplug.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libmodplug/libmodplug.hash b/package/libmodplug/libmodplug.hash index 01ff71014c..8aaf500a3a 100644 --- a/package/libmodplug/libmodplug.hash +++ b/package/libmodplug/libmodplug.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed.tar.gz +sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed0020bc620a059d3675d1854b40bd2608d.tar.gz sha256 49942e7b3b175f549e751feb08b5270ca6f6c5fb7a1be9f9517db275ec32c92e COPYING diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk index 735d0e704d..c5d2463fdb 100644 --- a/package/libmodplug/libmodplug.mk +++ b/package/libmodplug/libmodplug.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMODPLUG_VERSION = d1b97ed +LIBMODPLUG_VERSION = d1b97ed0020bc620a059d3675d1854b40bd2608d LIBMODPLUG_SITE = $(call github,Konstanty,libmodplug,$(LIBMODPLUG_VERSION)) LIBMODPLUG_INSTALL_STAGING = YES LIBMODPLUG_LICENSE = Public Domain From peter at korsgaard.com Sun Oct 1 18:42:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 01 Oct 2023 20:42:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/neon: drop patches In-Reply-To: <877co8emdk.fsf@48ers.dk> (Peter Korsgaard's message of "Fri, 29 Sep 2023 22:48:55 +0200") References: <20230924204349.1543942-1-fontaine.fabrice@gmail.com> <877co8emdk.fsf@48ers.dk> Message-ID: <875y3q89s1.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Fabrice" == Fabrice Fontaine writes: >> Patches (and so autoreconf) are not needed since bump to version 0.32.4 >> in commit f39ac8336e9cd933de50970a657e32a8d9601c67 and >> https://github.com/notroj/neon/commit/9924d4d31525f8b61e37076b18004c603fd01761 >> Signed-off-by: Fabrice Fontaine > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From thomas.petazzoni at bootlin.com Sun Oct 1 21:05:28 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 23:05:28 +0200 Subject: [Buildroot] [git commit] package/gptfdisk: fix bug with util-linux 2.38 Message-ID: <20231001210548.CFAF583FC0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=58fbfe870640cf20678d4f6a40999ea5223c6fca branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Due to a change in util-linux (commit 10f5f79485964ab52272ebe79c3b0047b1f84d82, "libbuid: use _UL_LIBUUID_UUID_H to cover uuid.h"), gptfdisk no longer detects the availability of libuuid to generate UUIDs, causing the following message at runtime: Warning! Unable to generate a proper UUID! Creating an improper one as a last resort! Windows 7 may crash if you save this partition table! This issue exists since util-linux was bumped to version 2.38 in Buildroot ee978e853a6a4c9bb5ed661c1ae704e79f155a35 ("package/util-linux: bump version to 2.38"). This issue has been fixed in upstream gptfdisk, but the fix [0] is not yet in a new stable release, so we backport it. Additionally, now that gptfdisk uses libuuid again, the build fails because passing LDLIBS to make overrides the default value in the Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f Signed-off-by: Ben Wolsieffer Signed-off-by: Thomas Petazzoni --- ...d.cc-to-deal-with-minor-change-in-libuuid.patch | 41 ++++++++++++++++++++++ package/gptfdisk/gptfdisk.mk | 2 ++ 2 files changed, 43 insertions(+) diff --git a/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch new file mode 100644 index 0000000000..22c34ced6f --- /dev/null +++ b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch @@ -0,0 +1,41 @@ +From 6a8416cbd12d55f882bb751993b94f72d338d96f Mon Sep 17 00:00:00 2001 +From: Rod Smith +Date: Sat, 16 Apr 2022 09:32:04 -0400 +Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid + +Upstream: https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f +Signed-off-by: Ben Wolsieffer +--- + NEWS | 2 ++ + guid.cc | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/NEWS b/NEWS +index 9e153fd..9ec7e63 100644 +--- a/NEWS ++++ b/NEWS +@@ -6,6 +6,8 @@ + (commit 740, which is pre-release as I type; presumably version 1.19 and + later once released). + ++- Updated guid.cc to deal with minor change in libuuid. ++ + 1.0.9 (4/14/2022): + ------------------ + +diff --git a/guid.cc b/guid.cc +index 1e73ab7..d3e4fd5 100644 +--- a/guid.cc ++++ b/guid.cc +@@ -141,7 +141,7 @@ void GUIDData::Zero(void) { + void GUIDData::Randomize(void) { + int i, uuidGenerated = 0; + +-#ifdef _UUID_UUID_H ++#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H) + uuid_generate(uuidData); + ReverseBytes(&uuidData[0], 4); + ReverseBytes(&uuidData[4], 2); +-- +2.42.0 + diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index f3fc930202..393ea9469a 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -14,6 +14,8 @@ GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk GPTFDISK_DEPENDENCIES += util-linux +GPTFDISK_LDLIBS += -luuid + ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) GPTFDISK_DEPENDENCIES += host-pkgconf popt GPTFDISK_SGDISK_LDLIBS += `$(PKG_CONFIG_HOST_BINARY) --libs popt` From thomas.petazzoni at bootlin.com Sun Oct 1 21:11:23 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 1 Oct 2023 23:11:23 +0200 Subject: [Buildroot] [PATCH] package/gptfdisk: fix bug with util-linux (libuuid) 2.38 In-Reply-To: <20230913212000.987236-2-ben.wolsieffer@hefring.com> References: <20230913212000.987236-2-ben.wolsieffer@hefring.com> Message-ID: <20231001231123.58838dcb@windsurf> On Wed, 13 Sep 2023 17:20:01 -0400 Ben Wolsieffer wrote: > Fix the following error message by backporting an upstream patch [0]: > > Warning! Unable to generate a proper UUID! Creating an improper one as a last > resort! Windows 7 may crash if you save this partition table! > > Additionally, now that gptfdisk uses libuuid again, the build fails > because passing LIBS to make overrides the default value in the > Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. > > [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f > > Signed-off-by: Ben Wolsieffer > --- > ...to-deal-with-minor-change-in-libuuid.patch | 40 +++++++++++++++++++ > package/gptfdisk/gptfdisk.mk | 2 + > 2 files changed, 42 insertions(+) > create mode 100644 package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch Sorry for the delay, I have applied this patch after improving the commit log: https://gitlab.com/buildroot.org/buildroot/-/commit/58fbfe870640cf20678d4f6a40999ea5223c6fca Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From kazemi.ms at gmail.com Sun Oct 1 22:08:41 2023 From: kazemi.ms at gmail.com (Saeed Kazemi) Date: Mon, 2 Oct 2023 00:08:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/procs: new package Message-ID: <20231001220841.2586827-1-kazemi.ms@gmail.com> procs is a modern replacement for ps written in Rust https://github.com/dalance/procs.git Signed-off-by: Saeed Kazemi --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/procs/Config.in | 8 ++++++++ package/procs/procs.hash | 3 +++ package/procs/procs.mk | 12 ++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/procs/Config.in create mode 100644 package/procs/procs.hash create mode 100644 package/procs/procs.mk diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..45ea078406 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2626,6 +2626,9 @@ F: package/agent-proxy/ N: Ryan Wilkins F: package/biosdevname/ +N: Saeed Kazemi +F: package/procs/ + N: Sam Lancia F: package/lrzip/ diff --git a/package/Config.in b/package/Config.in index 009f7ba186..c7681c22e3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2729,6 +2729,7 @@ menu "System tools" source "package/powerpc-utils/Config.in" source "package/procps-ng/Config.in" source "package/procrank_linux/Config.in" + source "package/procs/Config.in" source "package/psmisc/Config.in" source "package/pwgen/Config.in" source "package/quota/Config.in" diff --git a/package/procs/Config.in b/package/procs/Config.in new file mode 100644 index 0000000000..946fa68c63 --- /dev/null +++ b/package/procs/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PROCS + bool "procs" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_RUSTC + help + procs is a modern replacement for ps written in Rust + + https://github.com/dalance/procs.git diff --git a/package/procs/procs.hash b/package/procs/procs.hash new file mode 100644 index 0000000000..1c2fb5c3d5 --- /dev/null +++ b/package/procs/procs.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 643b7ba4b769ee9f336d441ecdac779c3d52e5719a15c14bb0acb3609ce1cd99 procs-0.14.0.tar.gz +sha256 feb87a2e0c305de3464cc44077da5393c52d8ca6362d37427157d04ec6f4510d LICENSE diff --git a/package/procs/procs.mk b/package/procs/procs.mk new file mode 100644 index 0000000000..a074ee1311 --- /dev/null +++ b/package/procs/procs.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# procs +# +################################################################################ + +PROCS_VERSION = 0.14.0 +PROCS_SITE = $(call github,dalance,procs,v$(PROCS_VERSION)) +PROCS_LICENSE = MIT +PROCS_LICENSE_FILES = LICENSE + +$(eval $(cargo-package)) -- 2.34.1 From dalang at gmx.at Mon Oct 2 03:57:32 2023 From: dalang at gmx.at (Daniel Lang) Date: Mon, 2 Oct 2023 05:57:32 +0200 Subject: [Buildroot] [PATCH] Makefile: drop gen-missing-cpe leftovers Message-ID: <20231002035732.1395926-2-dalang@gmx.at> In 6fa3a239 the gen-missing-cpe support script was removed together with "make missing-cpe". Remove the leftover path variable and drop it from "make clean". Signed-off-by: Daniel Lang --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a12564ff96..6342470193 100644 --- a/Makefile +++ b/Makefile @@ -227,8 +227,6 @@ LEGAL_MANIFEST_CSV_HOST = $(LEGAL_INFO_DIR)/host-manifest.csv LEGAL_WARNINGS = $(LEGAL_INFO_DIR)/.warnings LEGAL_REPORT = $(LEGAL_INFO_DIR)/README -CPE_UPDATES_DIR = $(BASE_DIR)/cpe-updates - BR2_CONFIG = $(CONFIG_DIR)/.config # Pull in the user's configuration file @@ -1103,8 +1101,7 @@ show-vars: clean: rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \ $(BUILD_DIR) $(BASE_DIR)/staging \ - $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \ - $(O)/pkg-stats.* + $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(O)/pkg-stats.* .PHONY: distclean distclean: clean -- 2.42.0 From thomas.petazzoni at bootlin.com Mon Oct 2 05:36:49 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Mon, 02 Oct 2023 05:36:49 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-01 Message-ID: <20231002053657.8FA6881FCE@smtp1.osuosl.org> Hello, Autobuild statistics for 2023-10-01 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 17 | 12 | 0 | 29 | 2023.08.x | 12 | 18 | 1 | 31 | master | 85 | 126 | 0 | 211 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 18 gcc-final-12.3.0 | 11 alsa-lib-1.2.10 | 10 gnuplot-5.4.9 | 7 unknown | 6 alsa-utils-1.2.10 | 5 glibc-2.38-13-g92201f16cbcf... | 5 elfutils-0.189 | 4 linux-6.5.5 | 4 cryptodev-linux-1.13 | 3 binutils-arc-2020.09-release | 2 bird-2.0.12 | 2 conmon-2.1.8 | 2 gcc-final-11.4.0 | 2 gcc-final-13.2.0 | 2 host-go-1.21.1 | 2 libarchive-3.7.2 | 2 valgrind-3.21.0 | 2 batman-adv-2023.1 | 1 check-11970a7e112dfe243a2e6... | 1 crucible-2023.04.12 | 1 dahdi-linux-3.2.0 | 1 dmraid-1.0.0.rc16-3 | 1 ethtool-6.5 | 1 fs/erofs/erofs.mk:46: /home... | 1 fs/jffs2/jffs2.mk:71: /home... | 1 fs/romfs/romfs.mk:32: /home... | 1 gcc-final-arc-2020.09-release | 1 gupnp-dlna-0.12.0 | 1 host-python-numpy-1.25.0 | 1 host-rust-1.71.1 | 1 i2pd-2.43.0 | 1 libglvnd-1.4.0 | 1 linux-5.10.162-cip24-rt10 | 1 mariadb-10.11.4 | 1 memcached-1.6.21 | 1 monit-5.33.0 | 1 motion-4.5.1 | 1 open-iscsi-2.1.9 | 1 pound-4.8 | 1 pv-1.6.20 | 1 python3-3.11.5 | 1 qt6base-6.4.3 | 1 rwmem-c8291705c82bb0686be9a... | 1 shadow-4.13 | 1 spirv-tools-1.3.261.1 | 1 squid-6.2 | 1 strongswan-5.9.11 | 1 tar-1.35 | 1 udpxy-1.0.23-9-prod | 1 util-linux-2.39.2 | 1 xenomai-3.0.10 | 1 xwayland-23.1.1 | 1 zabbix-6.2.7 | 1 zeek-4.1.1 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/cf5cf7365f4bf1ea086dd6e4c53d23ad550744e6 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/153fdc0c67e0949242779f25154d7bab1b7b2f8c | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/ab4ab3bbec4284440a398c11b5b6b967cc7a989c | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1716d4c3d8aa20941807cc0c9279f50d72e8c4d1 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/65b1c075180d188ebeef9851828f166e93564779 | i586 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/93f97f79fd614f3ceff0b28720d7136720584420 | mips64el | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/8cddcaf89763c76a0c1f7109e7bbd9735a226f57 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/812b69993e1cd0ccd2922a0db6762958bd1aa0a4 | riscv64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/0346262878a9acc341aabd057fe268eb4de4689b | i586 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3ae7430cfa619f538a986dd61caa870bf20d1ccb | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3b3ae95fa52db0ec278ddf3ad9b1c0c52d9b58bc | or1k | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/64bab97a9bcc8b0f5a3810f79b72c4a90a85b8a6 | mips64el | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/bbdab0133f631af408474ff12755fe8190c38515 | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/84266aed85699559a4d0a8383a4d2de3a22fbde4 | arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5d6064707e22169c7b00b29871890f0444ccc91d | mipsel | batman-adv-2023.1 | NOK | http://autobuild.buildroot.net/results/fb4bc30d1ba7ab8b3d9adc6631139a8281fc08e9 | arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/1ea96a7a11a8502bb0c85539af855eb1b3e6d6a4 | arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/19a9bc9095062dbced2a35fc0e1da1a0fb9313d4 | sh4aeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/f98ab84285378c45e8470a45ab7465530f46d33d | arceb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/33a5e8456a8f450c6019f5697f9b56a5c77aa540 | arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/250c2301c427db59f70c85f3a5afd677018831fb | ORPH i686 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/4502761d99eac7bf8446d04bf0a2b14a0d59dcc8 | x86_64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/6b79c1b2a1df554434ac15bd14bde5992f2475e1 | mips64el | crucible-2023.04.12 | NOK | http://autobuild.buildroot.net/results/82f09f1e03210d0fabbef58a9e9702f7f9a3d3ad | xtensa | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/fd357dbf2c2517325400ca874c25726e91b21cbb | ORPH sparc64 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/99a3e09b0f8f663819d8747143f592827bbad58c | ORPH s390x | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/69670d46206799d3d1994412a03992ff748076b0 | ORPH mips64el | dahdi-linux-3.2.0 | NOK | http://autobuild.buildroot.net/results/04efff53f94e207188865212017c20da08da5984 | arm | dmraid-1.0.0.rc16-3 | NOK | http://autobuild.buildroot.net/results/3abbc4e0f494190724a1e466f8a8c86111da0a89 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/bd499a5236a0d13eff081066b9ffeba064e63324 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/6035e30618cf07b04ca22091cad9259738d74687 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/466c25be37c27dde7800ddb7d3f854fe99b92cc9 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/7159bd1b40ae34b6d15036e1a14594171c96914d | ORPH arm | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/f225bb03a1c9e228732fab171c4b6fa5e519c2d0 | x86_64 | fs/erofs/erofs.mk:46: /home... | NOK | http://autobuild.buildroot.net/results/fdd847f9fb2fedc41dbe34ae9b2c498692beb16c | armeb | fs/jffs2/jffs2.mk:71: /home... | NOK | http://autobuild.buildroot.net/results/30d48cf8245d26dae62b11a154031f8ffdddab3b | arm | fs/romfs/romfs.mk:32: /home... | NOK | http://autobuild.buildroot.net/results/2e0fc576aee74d851e5d4db83c13620b591f95ef | armeb | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/1fda1b46785bc64605fac92363479f4767f192e9 | arc | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/65c0c31150d267879df89de12a893b95d1c004a2 | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f2aa0f713ef4b83e1ad05bbc7bd37a97b7ac4d51 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7cfd485335c1ce820878eae072bb0c0f1edac8dd | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6f11ed9eefa682f7a820740fd766d6e9c601be4b | arc | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f0ff187fd830efaeffe01166c4de0cd05fbadb84 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7414c3a8e6f3a667fed4ad55725079ac57466529 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/5f61c46fe43145c1b8694d22859b7d457ca9f792 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fc5b503564d3e6973ffdc169869a4943b4d486a8 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/04a62280e2f916d967ea86af4c44564f2db4fedc | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6bed102968649ff26491ca9d1419f02d15534719 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/cfe181f6f434c5e7f4910d174cb6ee7b4db0d691 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/ea7ca905e325c60fff08ddf90cd1e30ab9d98802 | riscv64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/9fd707a5b8b1dea9e2857cd4f2614aa76492e731 | mips64el | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/8d17a7695ea859501e3a9820fe2a84bcca21e066 | arceb | gcc-final-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/d8e211296072bda237978256b1683a62a85539c2 | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/6887038442f3fa693a96625e5e89a045064df0ca | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/8de75c77579b06ff8744bd2fb7e07138ae196558 | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/1dd9e2b0c285775b975f1ff38cbf7581741afd76 | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/0db81fed104ecb791742b8b1b3f83f82d222b2ee | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/2ba90e1108a1866adae702081e96fc6a739cbdfd | s390x | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/72c3a76c661ba3dcbe0ab9328b486d1e7a4a72d3 | powerpc64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/da2a81475b021afe85e9802fa4c19ab3b17d45bb | microblazeel | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/869b4fb2e774ebbdbc10133d56050531a0aa1a73 | powerpc | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/088d25f274061d8c954ac9b37f0160edb2285124 | mipsel | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/1f665cbfda848ce78371f6b0bf02d36d552da28f | mips64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/6e299865c4030b83c9fb5829b0b8e29a4f449f20 | mips64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/00c605d79614d6eb4967c0a765bcd010453fc080 | sparc | gupnp-dlna-0.12.0 | NOK | http://autobuild.buildroot.net/results/8f5f26461473d27e57df7241257a9aef39578bb9 | sh4a | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/859d14c577b3544d2ddee9b103249798395a82b1 | aarch64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/d3865c8436f73807d7ce1d601f4c14d0df2dedba | aarch64 | host-python-numpy-1.25.0 | NOK | http://autobuild.buildroot.net/results/f08d9a6546e08a9daa7cf89a47ebad81c58be526 | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c417d38f574fdce663d6e2bd63fb1b8e35bcbbcc | or1k | i2pd-2.43.0 | NOK | http://autobuild.buildroot.net/results/5870d39df647d4297edf666dc62a8ad958547c13 | i586 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/bfa76e08c5f2d20fa1b9fc2f5d032786462c0a90 | arm | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/a5057cb98f300c15e4d641d851e75bbc94007329 | xtensa | libglvnd-1.4.0 | NOK | http://autobuild.buildroot.net/results/90a7d4fc81c98cc00a80377932e1d925692f37cb | ORPH sh4aeb | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/320925b22950a906b64bfc013144baa1393776ec | ORPH mips64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/4edc3d93c0322b5e09926c5d91a414ec1da8ccf1 | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/832b1cfec34c39ad8475f0a5b50bd9c7e4786044 | ORPH m68k | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/c45bfa2dfb4fe7dd5767645d175d6753ec03f71f | ORPH sh4eb | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/705aec406c591cd9869d1e2430b1e962287a61e5 | ORPH nios2 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/2f4d5e4d3a9ce3768093a0491b42fdf7027292c2 | ORPH arc | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/e856d381f5ec7d2727f21c8bd46dacb456984416 | ORPH powerpc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/036f72c5f752c416298ae40c97e86b3de7818b7c | arm | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/cb536b5dfac9c52f9c4700ccf6b690faf5f8faeb | aarch64 | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/963e9cfeb56142329a7a02540314edb3950d6b80 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5d02851f3d98ff6afbcd3454580b72540e51791c | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c5384d13a1dfe9726e5ca0fdc4d077914f1ca4ba | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5f8eea3bf5c5e8554690981547202a95de86a2e0 | aarch64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/1290a1e2069060c5e1f8c4764ac3d9d57b7f3bcc | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3cfeff97864bfdce7c4ac1bd182012ec36c09113 | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6ba33e55ed157df69ed2980524da4d33200acd8e | microblazeel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/32d52700050d9ae684f94b9c68ec5a30e1907b63 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/39881716f330bdc6ed02e586d04fd4a3e8948442 | microblazeel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f555b26bc25e0c19d95d7ec7725dd49ed53c8d9b | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/842a63e441fad69626dcb96cbd8046bb7247e73a | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/46b72b9d9b483a28c190816fe40eb333c15fbbac | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/eb2e3be5b4222fc705755365f004375bbe4d560b | sh4eb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/237135c2efd3d34b7f1490345013089ae91eae25 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/992d497780d23f72446aad54c3cf5d8df8e3ec5d | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/932f47e0ef905f0ad643e31eddc5cebb99dc966e | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5cd508e4c79e88f1aa4ecdfa2153c243bdb5193e | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/4d115a1f32275ee2a7263f8a593940510dd8b662 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2033228de19e53b8eda58b90093f77acf09c53df | mips64el | pound-4.8 | NOK | http://autobuild.buildroot.net/results/814261ec2d646ade23af7e2731135a9a675f4366 | ORPH armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/99906ed1a18d48f98afe7937bc9301c9bb4d8188 | ORPH x86_64 | python3-3.11.5 | NOK | http://autobuild.buildroot.net/results/f3260eca0755737d8fc68d4fe803a35d48e9b2d5 | aarch64_be | qt6base-6.4.3 | NOK | http://autobuild.buildroot.net/results/0b74fa8005c78bdf68362d48fd0110350727c0e9 | s390x | rwmem-c8291705c82bb0686be9a... | NOK | http://autobuild.buildroot.net/results/38f6d0fb007c3dc3c21243721395f85649442407 | ORPH armeb | shadow-4.13 | NOK | http://autobuild.buildroot.net/results/4f83863b92f073efe61c37a91bb48af846553b09 | mips64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/d0cdf3391f2e784b1fe0149beee7257c8b40e18f | ORPH s390x | squid-6.2 | NOK | http://autobuild.buildroot.net/results/f2fcd67894b327f933d460568616b39c53d297cc | ORPH s390x | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/f82e048c718cdddfcae3dcb0d20444e5f01b7084 | mips64el | tar-1.35 | NOK | http://autobuild.buildroot.net/results/04e8a350c14deb1cf816a435528ff4f4e930c139 | ORPH powerpc | udpxy-1.0.23-9-prod | NOK | http://autobuild.buildroot.net/results/29ed4be75a3e9f1ab6e58f775d1ad4d8dd0544a2 | arm | unknown | NOK | http://autobuild.buildroot.net/results/b1f3df9900c4a2aed8e3bee0821f1b28bec77ccb | arm | unknown | NOK | http://autobuild.buildroot.net/results/722bb9c0ba119ad68ddca06873e23e85cf678c3e | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/1dc712ff37e762d58d4625c7fa44873f3d19665b | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/cee44a04e41132013b4bccb3e5d62cff680ef4c1 | arm | unknown | NOK | http://autobuild.buildroot.net/results/44dc688bc814dbbf983bebf6194ac904c91be22d | riscv32 | unknown | NOK | http://autobuild.buildroot.net/results/111f93db98fe49a5364b82254de9ad1fe2614da2 | sh4 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/972cbdf15a2a84fcc5e0cf1d20bc54f64489b9ed | ORPH powerpc | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/d02fa2f0847254ea9ca7eee91dcdb4778d6362c3 | ORPH mips64 | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/441375e7cbe2faffde26ddac98f02b4378feed9f | ORPH x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/727c5bf4fdf167bc38f0cad7cb651fe104f746ab | s390x | xwayland-23.1.1 | NOK | http://autobuild.buildroot.net/results/48f6a0cb0461cf4b9c514a69a7542ed491721a69 | powerpc | zabbix-6.2.7 | NOK | http://autobuild.buildroot.net/results/f7c19d42aec66a717e4a729462936df8e0e0fc02 | aarch64_be | zeek-4.1.1 | NOK | http://autobuild.buildroot.net/results/fefbfc20464ff13a8a58b99b61ef2fdd25752472 | Classification of failures by reason for 2023.02.x -------------------------------------------------- check-0.15.2 | 1 gobject-introspection-1.72.0 | 1 google-breakpad-c85eb4a59b6... | 1 host-binutils-2.38 | 1 host-go-1.19.13 | 1 host-rust-1.67.1 | 1 libglib2-2.72.3 | 1 linux-5.10.162-cip24-rt10 | 1 wavemon-0.9.4 | 1 wolfssl-5.5.3 | 1 x264-baee400fa9ced6f5481a72... | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arceb | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/3502a54634044afa417b4bd867765691b1bab195 | ORPH sparc64 | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/d52bd37c050315952f6cbf9b9b5ddc33d3ab555c | ORPH mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/258edf54b069093924e5c9fd21829849a2f0c008 | armeb | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/731957efd96a2eceaa42b8c7915bc5c46127a021 | i686 | host-go-1.19.13 | NOK | http://autobuild.buildroot.net/results/defddcd8613571f85cce88eeb07bc64a65477d20 | aarch64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/47d04ad9c7f8e460fbd0fe4478f5afb01a7b0616 | arc | libglib2-2.72.3 | NOK | http://autobuild.buildroot.net/results/1fd5368eb979b857d545c4e0356705e3bfd25726 | xtensa | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/c30505824789fa0e703f1687a742556b8f08954f | ORPH aarch64 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/42825d10d0d1318197176d0a5e65e579f36a1128 | ORPH mips64el | wolfssl-5.5.3 | NOK | http://autobuild.buildroot.net/results/fbdf2345571f21b80f3ab4d17c305015924f73b4 | i686 | x264-baee400fa9ced6f5481a72... | NOK | http://autobuild.buildroot.net/results/d3da53028208606110a800536b3fbb7bfa1705fc | nios2 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/8d33baa81ddd35262ca8473a6bfccdbe257b4124 | Classification of failures by reason for 2023.08.x -------------------------------------------------- host-go-1.20.8 | 2 acpid-2.0.34 | 1 bird-2.0.12 | 1 glibc-2.37-43-g94ef70136587... | 1 gobject-introspection | 1 gobject-introspection-1.76.1 | 1 host-delve-1.20.2 | 1 host-runc-1.1.7 | 1 host-rust-1.71.1 | 1 kvm-unit-tests-2023-01-05 | 1 libtommath-1.2.1 | 1 libxml2-2.11.4 | 1 linux-6.4.16 | 1 openal-1.22.0 | 1 pound-4.8 | 1 sane-backends-1.1.1 | 1 stress-ng-0.15.07 | 1 unknown | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/a10feea9b996177b7275ac353e1309d80947c4ad | ORPH sh4a | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/ab7b8f6ec3167fa3234fb313ffecaf1910fab495 | powerpc64 | glibc-2.37-43-g94ef70136587... | NOK | http://autobuild.buildroot.net/results/efed0f12ae086da5ccedc320f1ac24913598b037 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/6daf7e1c69d446d88e598800e16ceea2c78ea3f9 | x86_64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/b541dea0b55465484e6fc7e02d57f05eb8107aaf | ORPH aarch64 | host-delve-1.20.2 | NOK | http://autobuild.buildroot.net/results/ecd47babe886c7eff08ac823b81355538009df50 | arm | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/9f60985ef77ea1e3751b6be3f8b167872217ffe0 | mips64 | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/820a9a56128f902343e8407a1da536b82af3375a | powerpc | host-runc-1.1.7 | NOK | http://autobuild.buildroot.net/results/c11131b597b4e8d47555919fd71124d57c627f42 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c0ddac4c409af44bcc4eab60ca41f778bbbe4d44 | i686 | kvm-unit-tests-2023-01-05 | NOK | http://autobuild.buildroot.net/results/a855c7a581455f04613c277427a5548b8e37c57b | arc | libtommath-1.2.1 | NOK | http://autobuild.buildroot.net/results/1d0bf6216a4a9f7d352fe2b113a530f3b23ef2ed | arceb | libxml2-2.11.4 | NOK | http://autobuild.buildroot.net/results/377a9bafe0fb7c8735c48d24b7fd6bb6eaec818c | nios2 | linux-6.4.16 | NOK | http://autobuild.buildroot.net/results/7be8ab1d6852762b472b5a6c88cd1784039731c8 | ORPH mips | openal-1.22.0 | NOK | http://autobuild.buildroot.net/results/698d41412fd6f9b6c7e5444f2dc87159536b02b1 | ORPH sh4aeb | pound-4.8 | NOK | http://autobuild.buildroot.net/results/773edd5652690ee970d62d557bc7e37b1df18d5a | ORPH sh4 | sane-backends-1.1.1 | NOK | http://autobuild.buildroot.net/results/a1f0270f5b917eceea31c0d5fd0e5af363cc6d1e | aarch64_be | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/381e62882bd818edc2bb1cc641238e91860dcc44 | arc | unknown | NOK | http://autobuild.buildroot.net/results/705f956d919f61c373d6b3542eded03daef12d3c | Packages having a newer version =============================== name | found by | link to release-monitoring.org | version | upstream | orph? -------------------------------+----------+----------------------------------------------+--------------+--------------+------- ace | DISTRO | https://release-monitoring.org/project/242395 | 7.0.6 | 7.1.1 | ORPH acsccid | DISTRO | https://release-monitoring.org/project/15661 | 1.1.8 | 1.1.10 | adwaita-icon-theme | DISTRO | https://release-monitoring.org/project/13117 | 3.37.2 | 45.0 | agentpp | DISTRO | https://release-monitoring.org/project/21316 | 4.6.0 | 4.6.1 | alfred | DISTRO | https://release-monitoring.org/project/241870 | 2022.1 | 2023.2 | ORPH android-tools | GUESS | https://release-monitoring.org/project/13989 | 4.2.2+git... | 13.0.0_r82 | angularjs | DISTRO | https://release-monitoring.org/project/21321 | 1.8.2 | 1.8.3 | apitrace | DISTRO | https://release-monitoring.org/project/06170 | 10.0 | 11.1 | apr | DISTRO | https://release-monitoring.org/project/00095 | 1.7.2 | 1.7.4 | armadillo | DISTRO | https://release-monitoring.org/project/07006 | 9.900.2 | 12.6.4 | assimp | DISTRO | https://release-monitoring.org/project/06988 | 5.2.5 | 5.3.1 | ORPH asterisk | DISTRO | https://release-monitoring.org/project/09838 | 16.30.1 | 20.4.0 | at-spi2-core | DISTRO | https://release-monitoring.org/project/07841 | 2.48.3 | 2.50.0 | atop | DISTRO | https://release-monitoring.org/project/00135 | 2.8.0 | 2.9.0 | audit | DISTRO | https://release-monitoring.org/project/15225 | 3.1.1 | 3.1.2 | avocado | DISTRO | https://release-monitoring.org/project/13385 | 98.0 | 102.0 | ORPH avrdude | DISTRO | https://release-monitoring.org/project/10751 | 7.1 | 7.2 | avro-c | DISTRO | https://release-monitoring.org/project/59411 | 1.11.1 | 1.11.3 | azure-iot-sdk-c | DISTRO | https://release-monitoring.org/project/21322 | LTS_01_20... | 3033-01-05 | babeld | DISTRO | https://release-monitoring.org/project/00154 | 1.9.2 | 1.13.1 | ORPH babeltrace2 | DISTRO | https://release-monitoring.org/project/07137 | 2.0.4 | 2.0.5 | balena-engine | DISTRO | https://release-monitoring.org/project/141616 | 20.10.26 | 20.10.40 | batctl | DISTRO | https://release-monitoring.org/project/14740 | 2021.0 | 2023.2 | batman-adv | DISTRO | https://release-monitoring.org/project/19529 | 2023.1 | 2023.2 | bats-core | DISTRO | https://release-monitoring.org/project/10587 | 1.8.2 | 1.10.0 | bcm2835 | DISTRO | https://release-monitoring.org/project/21323 | 1.71 | 1.73 | ORPH bctoolbox | DISTRO | https://release-monitoring.org/project/14746 | 4.4.8 | 5.2.109 | ORPH belle-sip | DISTRO | https://release-monitoring.org/project/14378 | 4.4.8 | 5.2.109 | belr | DISTRO | https://release-monitoring.org/project/80042 | 4.4.8 | 5.2.109 | bento4 | DISTRO | https://release-monitoring.org/project/241638 | 1.6.0-639... | 1.6.0-640 | berkeleydb | GUESS | https://release-monitoring.org/project/138386 | 5.3.28 | 18.1.6 | ORPH binutils | DISTRO | https://release-monitoring.org/project/07981 | 2.40 | 2.41 | bird | DISTRO | https://release-monitoring.org/project/00192 | 2.0.12 | 2.13.1 | bitcoin | DISTRO | https://release-monitoring.org/project/13618 | 0.21.2 | 25.0 | bluez5_utils | DISTRO | https://release-monitoring.org/project/10029 | 5.68 | 5.70 | bluez5_utils-headers | DISTRO | https://release-monitoring.org/project/10029 | 5.68 | 5.70 | bmap-tools | DISTRO | https://release-monitoring.org/project/77099 | 3.6 | 3.7 | bonnie | DISTRO | https://release-monitoring.org/project/00212 | 1.03e | 2.00a | ORPH bootstrap | DISTRO | https://release-monitoring.org/project/21578 | 4.3.1 | 5.3.2 | botan | DISTRO | https://release-monitoring.org/project/00214 | 2.19.3 | 3.1.1 | ORPH brltty | DISTRO | https://release-monitoring.org/project/00220 | 6.5 | 6.6 | btrfs-progs | DISTRO | https://release-monitoring.org/project/00227 | 5.16.2 | 6.5.1 | ORPH bullet | DISTRO | https://release-monitoring.org/project/07669 | 3.21 | 3.25 | c-icap | DISTRO | https://release-monitoring.org/project/21325 | 0.5.10 | 0.5.11 | ORPH c-periphery | DISTRO | https://release-monitoring.org/project/21328 | 2.3.1 | 2.4.2 | cage | DISTRO | https://release-monitoring.org/project/21171 | 0.1.4 | 0.1.5 | cairo | DISTRO | https://release-monitoring.org/project/00247 | 1.16.0 | 1.18.0 | cairomm | DISTRO | https://release-monitoring.org/project/07959 | 1.16.2 | 1.18.0 | cannelloni | DISTRO | https://release-monitoring.org/project/21403 | 1.0.0 | 1.1.0 | cantarell | DISTRO | https://release-monitoring.org/project/10888 | 0.0.25 | 0.303.1 | ORPH capnproto | DISTRO | https://release-monitoring.org/project/11515 | 0.10.4 | 1.0.1 | ccache | DISTRO | https://release-monitoring.org/project/00257 | 4.8.2 | 4.8.3 | ORPH chartjs | DISTRO | https://release-monitoring.org/project/85785 | 3.9.1 | 4.4.0 | checkpolicy | DISTRO | https://release-monitoring.org/project/00276 | 3.5 | 20200710 | cifs-utils | DISTRO | https://release-monitoring.org/project/00287 | 6.15 | 7.0 | circus | DISTRO | https://release-monitoring.org/project/21726 | 0.16.1 | 0.18.0 | civetweb | DISTRO | https://release-monitoring.org/project/21329 | 1.15 | 1.16 | ORPH cjson | DISTRO | https://release-monitoring.org/project/21330 | 1.7.15 | 1.7.16 | clamav | DISTRO | https://release-monitoring.org/project/00291 | 1.0.3 | 1.2.0 | clang | DISTRO | https://release-monitoring.org/project/11811 | 15.0.3 | 17.0.1 | cli11 | DISTRO | https://release-monitoring.org/project/20578 | 2.3.1 | 2.3.2 | clinfo | DISTRO | https://release-monitoring.org/project/10503 | 3.0.21.02.21 | 3.0.23.01.25 | cloop | DISTRO | https://release-monitoring.org/project/21332 | 3.14.1.3 | 3.14.1.3+... | collectl | DISTRO | https://release-monitoring.org/project/00330 | 4.3.2 | 4.3.8 | compiler-rt | DISTRO | https://release-monitoring.org/project/17705 | 15.0.3 | 17.0.1 | composer | DISTRO | https://release-monitoring.org/project/09710 | 2.5.8 | 2.6.4 | conntrack-tools | DISTRO | https://release-monitoring.org/project/00338 | 1.4.7 | 1.4.8 | ORPH coreutils | DISTRO | https://release-monitoring.org/project/00343 | 9.3 | 9.4 | ORPH cppzmq | DISTRO | https://release-monitoring.org/project/18648 | 4.9.0 | 4.10.0 | cracklib | DISTRO | https://release-monitoring.org/project/00362 | 2.9.8 | 2.9.11 | crudini | DISTRO | https://release-monitoring.org/project/21669 | 0.9.3 | 0.9.4 | crun | DISTRO | https://release-monitoring.org/project/96792 | 1.8.4 | 1.9.2 | cryptopp | DISTRO | https://release-monitoring.org/project/14487 | 8.6.0 | 8.9.0 | cukinia | DISTRO | https://release-monitoring.org/project/138119 | 0.6.0 | 0.6.2 | ORPH cups | DISTRO | https://release-monitoring.org/project/00380 | 2.4.6 | 2.4.7 | cups-filters | DISTRO | https://release-monitoring.org/project/05541 | 1.28.17 | 2.0.0 | cutelyst | DISTRO | https://release-monitoring.org/project/21335 | 2.11.0 | 3.8.0 | dacapo | DISTRO | https://release-monitoring.org/project/20546 | 9.12-MR1-... | 2006-10-MR2 | dado | DISTRO | https://release-monitoring.org/project/58442 | 1.8.3-1 | 2.1.0-1 | daq3 | DISTRO | https://release-monitoring.org/project/212345 | 3.0.9 | 3.0.12 | dash | DISTRO | https://release-monitoring.org/project/00394 | 0.5.11.5 | 0.5.12 | ORPH datatables | DISTRO | https://release-monitoring.org/project/141588 | 1.10.20 | 1.13.4 | datatables-buttons | DISTRO | https://release-monitoring.org/project/141589 | 1.6.1 | 2.3.6 | datatables-fixedcolumns | DISTRO | https://release-monitoring.org/project/141590 | 3.3.0 | 4.2.2 | datatables-responsive | DISTRO | https://release-monitoring.org/project/141591 | 2.2.3 | 2.4.1 | dbus | DISTRO | https://release-monitoring.org/project/05356 | 1.14.8 | 1.14.10 | ORPH dbus-python | DISTRO | https://release-monitoring.org/project/00402 | 1.2.18 | 1.3.2 | ORPH dc3dd | DISTRO | https://release-monitoring.org/project/15086 | 7.2.641 | 7.3.1 | ORPH debianutils | DISTRO | https://release-monitoring.org/project/21341 | 4.11 | 5.13 | ORPH delve | DISTRO | https://release-monitoring.org/project/40149 | 1.20.2 | 1.21.0 | dfu-programmer | DISTRO | https://release-monitoring.org/project/328397 | 1.0.0 | 1.1.0 | dhcpcd | DISTRO | https://release-monitoring.org/project/11429 | 10.0.1 | 10.0.2 | dialog | DISTRO | https://release-monitoring.org/project/00431 | 1.3-20220117 | 1.3-20230209 | ORPH docker-compose | DISTRO | https://release-monitoring.org/project/06185 | 2.20.0 | 2.22.0 | dos2unix | DISTRO | https://release-monitoring.org/project/00453 | 7.5.0 | 7.5.1 | double-conversion | DISTRO | https://release-monitoring.org/project/07454 | 3.2.1 | 3.3.0 | dracut | DISTRO | https://release-monitoring.org/project/10627 | 057 | 059 | drbd-utils | DISTRO | https://release-monitoring.org/project/00462 | 9.21.4 | 9.23.0 | dt | DISTRO | https://release-monitoring.org/project/21844 | 18.32 | 21.27 | ORPH dtbocfg | DISTRO | https://release-monitoring.org/project/235269 | 0.0.9 | 0.1.0 | dtc | DISTRO | https://release-monitoring.org/project/16911 | 1.6.1 | 1.7.0 | dust | DISTRO | https://release-monitoring.org/project/141344 | 0.8.1 | 0.8.6 | ORPH easy-rsa | DISTRO | https://release-monitoring.org/project/17770 | 3.1.1 | 3.1.6 | edk2 | DISTRO | https://release-monitoring.org/project/125953 | edk2-stab... | 202308 | efl | DISTRO | https://release-monitoring.org/project/06128 | 1.26.1 | 1.26.3 | ell | DISTRO | https://release-monitoring.org/project/17781 | 0.57 | 0.59 | ORPH empty | DISTRO | https://release-monitoring.org/project/20564 | 0.6.22b | 0.6.23c | ORPH enchant | DISTRO | https://release-monitoring.org/project/06601 | 2.3.3 | 2.6.1 | erlang | DISTRO | https://release-monitoring.org/project/00707 | 26.0.2 | 26.1.1 | erlang-jose | DISTRO | https://release-monitoring.org/project/16913 | 1.11.5 | 1.11.6 | erlang-p1-oauth2 | DISTRO | https://release-monitoring.org/project/09302 | 0.6.11 | 0.8.0 | erlang-p1-stun | DISTRO | https://release-monitoring.org/project/09151 | 1.2.7 | 1.2.9 | erofs-utils | DISTRO | https://release-monitoring.org/project/63188 | 1.5 | 1.7 | execline | DISTRO | https://release-monitoring.org/project/05482 | 2.9.0.1 | 2.9.3.0 | exempi | DISTRO | https://release-monitoring.org/project/00767 | 2.6.3 | 2.6.4 | exfatprogs | DISTRO | https://release-monitoring.org/project/94441 | 1.2.0 | 1.2.1 | exiv2 | DISTRO | https://release-monitoring.org/project/00769 | 0.27.6 | 0.28.0 | feh | DISTRO | https://release-monitoring.org/project/00790 | 3.7.1 | 3.10.1 | ffmpeg | DISTRO | https://release-monitoring.org/project/05405 | 4.4.4 | 6.0 | fio | DISTRO | https://release-monitoring.org/project/00806 | 3.34 | 3.35 | firewalld | DISTRO | https://release-monitoring.org/project/09989 | 1.3.2 | 2.0.0 | flannel | DISTRO | https://release-monitoring.org/project/07421 | 0.14.0 | 0.22.3 | flashrom | DISTRO | https://release-monitoring.org/project/10202 | 1.2.1 | 1.3.0 | flot | DISTRO | https://release-monitoring.org/project/07184 | 0.8.3 | 4.2.6 | ORPH fltk | DISTRO | https://release-monitoring.org/project/00823 | 1.3.7 | 1.3.8 | ORPH fluent-bit | DISTRO | https://release-monitoring.org/project/267335 | 2.1.7 | 2.1.10 | fmc | GUESS | https://release-monitoring.org/project/145761 | LSDK-21.08 | 0.2.0 | ORPH font-awesome | DISTRO | https://release-monitoring.org/project/00826 | 4.7.0 | 6.4.2 | ORPH freeradius-server | DISTRO | https://release-monitoring.org/project/00853 | 3.2.0 | 3.2.2 | freerdp | DISTRO | https://release-monitoring.org/project/10442 | 2.11.0 | 2.11.2 | frr | DISTRO | https://release-monitoring.org/project/18555 | 8.4.2 | 9.0.1 | fscryptctl | DISTRO | https://release-monitoring.org/project/270981 | 1.0.0 | 1.1.0 | fuse-overlayfs | DISTRO | https://release-monitoring.org/project/101220 | 1.11 | 1.13 | fwts | DISTRO | https://release-monitoring.org/project/17383 | 23.07.00 | 23.09.00 | fwup | DISTRO | https://release-monitoring.org/project/21438 | 1.9.1 | 1.10.1 | gcr | DISTRO | https://release-monitoring.org/project/11801 | 3.40.0 | 4.1.0 | ORPH gdal | DISTRO | https://release-monitoring.org/project/00881 | 3.6.2 | 3.7.2 | gensio | DISTRO | https://release-monitoring.org/project/67634 | 2.5.5 | 2.7.6 | gitlab-runner | DISTRO | https://release-monitoring.org/project/11337 | 15.5.0 | 16.4.0 | glib-networking | DISTRO | https://release-monitoring.org/project/21353 | 2.76.0 | 2.78.0 | ORPH glibmm | DISTRO | https://release-monitoring.org/project/07960 | 2.76.0 | 2.78.0 | glm | DISTRO | https://release-monitoring.org/project/01181 | 0.9.9.5 | 0.9.9.8 | ORPH gnu-efi | DISTRO | https://release-monitoring.org/project/01202 | 3.0.15 | 3.0.17 | gobject-introspection | DISTRO | https://release-monitoring.org/project/01223 | 1.76.1 | 1.78.1 | ORPH gocryptfs | DISTRO | https://release-monitoring.org/project/21085 | 2.3.2 | 2.4.0 | gqrx | DISTRO | https://release-monitoring.org/project/09771 | 2.15.9 | 2.16 | granite | DISTRO | https://release-monitoring.org/project/05410 | 6.2.0 | 7.3.0 | ORPH grantlee | DISTRO | https://release-monitoring.org/project/21448 | 5.2.0 | 5.3.1 | graphicsmagick | DISTRO | https://release-monitoring.org/project/01248 | 1.3.40 | 1.3.42 | grpc | DISTRO | https://release-monitoring.org/project/19117 | 1.51.1 | 1.59.0 | gsettings-desktop-schemas | DISTRO | https://release-monitoring.org/project/13139 | 3.36.1 | 45.0 | ORPH gssdp | DISTRO | https://release-monitoring.org/project/01262 | 1.4.0.1 | 1.6.2 | gst-omx | DISTRO | https://release-monitoring.org/project/21845 | 1.22.2 | 1.22.6 | ORPH gst1-devtools | DISTRO | https://release-monitoring.org/project/21856 | 1.22.2 | 1.22.6 | ORPH gst1-imx | DISTRO | https://release-monitoring.org/project/21846 | 0.13.1 | 2.2.0 | gst1-libav | DISTRO | https://release-monitoring.org/project/21848 | 1.22.2 | 1.22.6 | ORPH gst1-plugins-bad | DISTRO | https://release-monitoring.org/project/21849 | 1.22.2 | 1.22.6 | ORPH gst1-plugins-base | DISTRO | https://release-monitoring.org/project/21850 | 1.22.2 | 1.22.6 | ORPH gst1-plugins-good | DISTRO | https://release-monitoring.org/project/21852 | 1.22.2 | 1.22.6 | ORPH gst1-plugins-ugly | DISTRO | https://release-monitoring.org/project/15187 | 1.22.2 | 1.22.6 | ORPH gst1-python | DISTRO | https://release-monitoring.org/project/03881 | 1.22.2 | 1.22.6 | ORPH gst1-rtsp-server | DISTRO | https://release-monitoring.org/project/21853 | 1.22.2 | 1.22.6 | ORPH gst1-vaapi | DISTRO | https://release-monitoring.org/project/21855 | 1.22.2 | 1.22.6 | ORPH gstreamer1 | DISTRO | https://release-monitoring.org/project/01263 | 1.22.2 | 1.22.6 | ORPH gstreamer1-editing-services | DISTRO | https://release-monitoring.org/project/230920 | 1.22.2 | 1.22.6 | ORPH gtksourceview | DISTRO | https://release-monitoring.org/project/07724 | 3.24.7 | 5.10.0 | gupnp | DISTRO | https://release-monitoring.org/project/01281 | 1.4.3 | 1.6.5 | gupnp-av | DISTRO | https://release-monitoring.org/project/01282 | 0.14.0 | 0.14.1 | gupnp-tools | DISTRO | https://release-monitoring.org/project/01284 | 0.10.3 | 0.12.1 | gutenprint | DISTRO | https://release-monitoring.org/project/01285 | 5.2.14 | 5.3.4 | ORPH gvfs | DISTRO | https://release-monitoring.org/project/05496 | 1.48.1 | 1.52.0 | ORPH gzip | DISTRO | https://release-monitoring.org/project/01290 | 1.12 | 1.13 | ORPH haproxy | DISTRO | https://release-monitoring.org/project/01298 | 2.6.15 | 2.8.3 | hiawatha | DISTRO | https://release-monitoring.org/project/13375 | 11.2 | 11.4 | hidapi | DISTRO | https://release-monitoring.org/project/05594 | 0.11.0 | 0.14.0 | ORPH highway | DISTRO | https://release-monitoring.org/project/205809 | 1.0.3 | 1.0.7 | hplip | DISTRO | https://release-monitoring.org/project/01327 | 3.17.10 | 3.23.8 | ORPH hwdata | DISTRO | https://release-monitoring.org/project/05387 | 0.373 | 0.374 | ORPH hyperfine | DISTRO | https://release-monitoring.org/project/18526 | 1.14.0 | 1.17.0 | ORPH i2pd | DISTRO | https://release-monitoring.org/project/21355 | 2.43.0 | 2.49.0 | ifenslave | DISTRO | https://release-monitoring.org/project/21670 | 2.9 | 2.13 | ORPH imagemagick | DISTRO | https://release-monitoring.org/project/01372 | 7.1.0-51 | 7.1.1-18 | ORPH imlib2 | DISTRO | https://release-monitoring.org/project/21676 | 1.7.3 | 1.12.1 | inadyn | DISTRO | https://release-monitoring.org/project/21677 | 2.11.0 | 2.12.0 | inih | DISTRO | https://release-monitoring.org/project/11600 | 56 | 57 | ORPH inotify-tools | DISTRO | https://release-monitoring.org/project/08864 | 3.20.2.2 | 4.23.9.0 | ORPH iodine | DISTRO | https://release-monitoring.org/project/01386 | 0.7.0 | 0.8.0 | ORPH iozone | DISTRO | https://release-monitoring.org/project/21679 | 3.493 | 3.506 | ipcalc | DISTRO | https://release-monitoring.org/project/07555 | 1.0.2 | 1.0.3 | ORPH iperf | DISTRO | https://release-monitoring.org/project/01388 | 2.1.8 | 2.1.9 | ORPH iperf3 | DISTRO | https://release-monitoring.org/project/01389 | 3.14 | 3.15 | ORPH ipmiutil | DISTRO | https://release-monitoring.org/project/01391 | 3.1.8 | 3.1.9 | ipset | DISTRO | https://release-monitoring.org/project/01393 | 7.16 | 7.19 | irqbalance | DISTRO | https://release-monitoring.org/project/01402 | 1.9.0 | 1.9.2 | isl | DISTRO | https://release-monitoring.org/project/13286 | 0.25 | 0.26 | ORPH iwd | DISTRO | https://release-monitoring.org/project/18380 | 2.6 | 2.8 | ORPH jack2 | DISTRO | https://release-monitoring.org/project/21358 | 1.9.21 | 1.9.22 | janet | DISTRO | https://release-monitoring.org/project/155612 | 1.29.1 | 1.31.0 | janus-gateway | DISTRO | https://release-monitoring.org/project/15715 | 1.1.2 | 1.2.0 | jasper | DISTRO | https://release-monitoring.org/project/01421 | 2.0.33 | 4.0.0 | jbig2dec | DISTRO | https://release-monitoring.org/project/01431 | 0.19 | 0.20 | jimtcl | DISTRO | https://release-monitoring.org/project/01459 | 0.81 | 0.82 | jo | DISTRO | https://release-monitoring.org/project/18855 | 1.6 | 1.9 | jpeg-turbo | DISTRO | https://release-monitoring.org/project/01648 | 2.1.5 | 3.0.0 | jquery-datetimepicker | DISTRO | https://release-monitoring.org/project/13910 | 2.4.5 | 2.5.20 | jquery-keyboard | DISTRO | https://release-monitoring.org/project/21681 | 1.18.12 | 1.30.4 | ORPH jquery-mobile | DISTRO | https://release-monitoring.org/project/59395 | 1.4.3 | 1.4.5 | ORPH jquery-ui | DISTRO | https://release-monitoring.org/project/21815 | 1.13.1 | 1.13.2 | jquery-ui-themes | DISTRO | https://release-monitoring.org/project/21816 | 1.10.4 | 1.13.2 | jszip | DISTRO | https://release-monitoring.org/project/141558 | 3.10.0 | 3.10.1 | kbd | DISTRO | https://release-monitoring.org/project/01492 | 2.5.1 | 2.6.3 | ORPH kf5-extra-cmake-modules | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.110.0 | kf5-kcoreaddons | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.110.0 | kf5-modemmanager-qt | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.110.0 | kf5-networkmanager-qt | DISTRO | https://release-monitoring.org/project/08762 | 5.91.0 | 5.110.0 | kismet | DISTRO | https://release-monitoring.org/project/06966 | 2022-08-R1 | 2023-07-R1 | ORPH kodi | DISTRO | https://release-monitoring.org/project/05511 | 20.2-Nexus | 20.2 | kodi-inputstream-adaptive | DISTRO | https://release-monitoring.org/project/21795 | 20.3.13-N... | 21.3.0-Omega | kodi-inputstream-ffmpegdirect | DISTRO | https://release-monitoring.org/project/177174 | 20.5.0-Nexus | 21.2.0-Omega | kodi-inputstream-rtmp | DISTRO | https://release-monitoring.org/project/21794 | 20.3.0-Nexus | 21.1.0-Omega | kodi-jsonschemabuilder | DISTRO | https://release-monitoring.org/project/05511 | 20.2-Nexus | 20.2 | kodi-peripheral-joystick | DISTRO | https://release-monitoring.org/project/21793 | 20.1.13-N... | 21.1.7-Omega | kodi-peripheral-xarcade | DISTRO | https://release-monitoring.org/project/21791 | 20.1.3-Nexus | 21.0.0-Omega | kodi-pvr-argustv | DISTRO | https://release-monitoring.org/project/21788 | 20.5.0-Nexus | 21.0.0-Omega | kodi-pvr-dvblink | DISTRO | https://release-monitoring.org/project/21787 | 20.3.0-Nexus | 21.1.0-Omega | kodi-pvr-dvbviewer | DISTRO | https://release-monitoring.org/project/21786 | 20.4.0-Nexus | 21.1.0-Omega | kodi-pvr-filmon | DISTRO | https://release-monitoring.org/project/21785 | 20.3.0-Nexus | 21.0.0-Omega | kodi-pvr-hdhomerun | DISTRO | https://release-monitoring.org/project/21784 | 20.4.0-Nexus | 21.0.0-Omega | kodi-pvr-hts | DISTRO | https://release-monitoring.org/project/21783 | 20.6.2-Nexus | 21.1.0-Omega | kodi-pvr-iptvsimple | DISTRO | https://release-monitoring.org/project/21782 | 20.11.0-N... | 21.4.0-Omega | kodi-pvr-mediaportal-tvserver | DISTRO | https://release-monitoring.org/project/21781 | 20.3.0-Nexus | 21.0.0-Omega | kodi-pvr-nextpvr | DISTRO | https://release-monitoring.org/project/21779 | 20.4.3-Nexus | 21.0.2-Omega | kodi-pvr-njoy | DISTRO | https://release-monitoring.org/project/21778 | 20.3.0-Nexus | 21.0.0-Omega | kodi-pvr-pctv | DISTRO | https://release-monitoring.org/project/21777 | 20.4.0-Nexus | 21.0.0-Omega | kodi-pvr-plutotv | DISTRO | https://release-monitoring.org/project/241527 | 20.3.1a-N... | 21.0.1-Omega | kodi-pvr-stalker | DISTRO | https://release-monitoring.org/project/21776 | 20.3.1-Nexus | 21.0.0-Omega | kodi-pvr-vbox | DISTRO | https://release-monitoring.org/project/21775 | 20.4.2-Nexus | 21.1.2-Omega | kodi-pvr-vdr-vnsi | DISTRO | https://release-monitoring.org/project/21774 | 20.4.1-Nexus | 21.1.0-Omega | kodi-pvr-vuplus | DISTRO | https://release-monitoring.org/project/21773 | 20.5.1-Nexus | 21.1.1-Omega | kodi-pvr-waipu | DISTRO | https://release-monitoring.org/project/241529 | 20.10.0-N... | 21.4.0-Omega | kodi-pvr-wmc | DISTRO | https://release-monitoring.org/project/21772 | 20.3.0-Nexus | 21.0.0-Omega | kodi-texturepacker | DISTRO | https://release-monitoring.org/project/05511 | 20.2-Nexus | 20.2 | ksmbd-tools | DISTRO | https://release-monitoring.org/project/241856 | 3.4.6 | 3.4.9 | kvazaar | DISTRO | https://release-monitoring.org/project/12418 | 2.1.0 | 2.2.0 | lapack | DISTRO | https://release-monitoring.org/project/01534 | 3.10.1 | 3.11.0 | lensfun | DISTRO | https://release-monitoring.org/project/01548 | 0.3.3 | 0.3.95 | leptonica | DISTRO | https://release-monitoring.org/project/01549 | 1.82.0 | 1.83.0 | libabseil-cpp | DISTRO | https://release-monitoring.org/project/115295 | 20220623.1 | 20230802.1 | libao | DISTRO | https://release-monitoring.org/project/07629 | 1.2.0 | 1.2.2 | ORPH libbpf | DISTRO | https://release-monitoring.org/project/141355 | 1.1.0 | 1.2.2 | libbytesize | DISTRO | https://release-monitoring.org/project/07869 | 2.7 | 2.9 | ORPH libcamera-apps | DISTRO | https://release-monitoring.org/project/328456 | 1.2.1 | 1.2.2 | libcgroup | DISTRO | https://release-monitoring.org/project/01575 | 2.0.3 | 3.1.0 | libcoap | DISTRO | https://release-monitoring.org/project/21471 | 4.3.1 | 4.3.3 | libcodec2 | DISTRO | https://release-monitoring.org/project/14605 | 1.1.1 | 1.2.0 | libdecor | DISTRO | https://release-monitoring.org/project/312806 | 0.1.1 | 0.2.0 | libdeflate | DISTRO | https://release-monitoring.org/project/242778 | 1.18 | 1.19 | libebml | DISTRO | https://release-monitoring.org/project/07879 | 1.4.2 | 1.4.4 | libedit | DISTRO | https://release-monitoring.org/project/01599 | 20221030-3.1 | 20230828-3.1 | libevdev | DISTRO | https://release-monitoring.org/project/20540 | 1.12.1 | 1.13.1 | libfastjson | DISTRO | https://release-monitoring.org/project/12043 | 0.99.9.1 | 1.2304.0 | libgdiplus | DISTRO | https://release-monitoring.org/project/06440 | 6.0.5 | 6.1 | libglade | DISTRO | https://release-monitoring.org/project/01174 | 2.6.4 | 3.40.0 | ORPH libglib2 | DISTRO | https://release-monitoring.org/project/10024 | 2.76.1 | 2.78.0 | libglvnd | DISTRO | https://release-monitoring.org/project/12098 | 1.4.0 | 1.7.0 | ORPH libgphoto2 | DISTRO | https://release-monitoring.org/project/12558 | 2.5.27 | 2.5.31 | ORPH libgpiod | DISTRO | https://release-monitoring.org/project/20640 | 1.6.4 | 2.0.2 | ORPH libgsasl | DISTRO | https://release-monitoring.org/project/01563 | 1.10.0 | 2.2.0 | ORPH libgsm | DISTRO | https://release-monitoring.org/project/12587 | 1.0.19 | 1.0.22 | libgudev | DISTRO | https://release-monitoring.org/project/07735 | 237 | 238 | libhttpserver | DISTRO | https://release-monitoring.org/project/21934 | 0.18.2 | 0.19.0 | libical | DISTRO | https://release-monitoring.org/project/01637 | 1.0.1 | 3.0.16 | libiconv | DISTRO | https://release-monitoring.org/project/10656 | 1.15 | 1.17 | ORPH libimxvpuapi | DISTRO | https://release-monitoring.org/project/21479 | 0.10.3 | 2.3.0 | libinput | DISTRO | https://release-monitoring.org/project/05781 | 1.23.0 | 1.24.0 | libite | DISTRO | https://release-monitoring.org/project/17367 | 2.5.3 | 2.6.0 | liblinear | DISTRO | https://release-monitoring.org/project/21363 | 2.45 | 2.47 | libmatroska | DISTRO | https://release-monitoring.org/project/01657 | 1.6.3 | 1.7.1 | libmbim | DISTRO | https://release-monitoring.org/project/07308 | 1.28.2 | 1.28.4 | libmspack | DISTRO | https://release-monitoring.org/project/16827 | 0.10.1alpha | 1.11 | libnetconf2 | DISTRO | https://release-monitoring.org/project/31639 | 2.1.28 | 2.1.37 | libnfs | DISTRO | https://release-monitoring.org/project/07325 | 4.0.0 | 5.0.2 | ORPH libnl | DISTRO | https://release-monitoring.org/project/01684 | 3.7.0 | 3.8.0 | ORPH libnpupnp | DISTRO | https://release-monitoring.org/project/75209 | 4.2.2 | 5.0.2 | libnvme | DISTRO | https://release-monitoring.org/project/242763 | 1.5 | 1.6 | libolm | DISTRO | https://release-monitoring.org/project/29706 | 3.2.9 | 3.2.15 | libosmium | DISTRO | https://release-monitoring.org/project/07023 | 2.19.0 | 2.20.0 | libpam-tacplus | DISTRO | https://release-monitoring.org/project/20537 | 1.6.1 | 1.7.0 | ORPH libpeas | DISTRO | https://release-monitoring.org/project/06871 | 1.32.0 | 2.0.0 | ORPH libpfm4 | DISTRO | https://release-monitoring.org/project/21491 | 4.12.0 | 4.13.0 | libpqxx | DISTRO | https://release-monitoring.org/project/21367 | 7.7.5 | 7.8.1 | libpri | DISTRO | https://release-monitoring.org/project/11042 | 1.6.0 | 1.6.1 | libqmi | DISTRO | https://release-monitoring.org/project/07307 | 1.32.2 | 1.32.4 | libqrtr-glib | DISTRO | https://release-monitoring.org/project/192056 | 1.0.0 | 1.2.2 | librelp | DISTRO | https://release-monitoring.org/project/01713 | 1.10.0 | 1.11.0 | libressl | DISTRO | https://release-monitoring.org/project/12102 | 3.7.3 | 3.8.1 | ORPH librsvg | DISTRO | https://release-monitoring.org/project/05420 | 2.50.9 | 2.57.0 | librsync | DISTRO | https://release-monitoring.org/project/06309 | 2.3.2 | 2.3.4 | librtas | DISTRO | https://release-monitoring.org/project/10717 | 2.0.3 | 2.0.4 | ORPH libsecret | DISTRO | https://release-monitoring.org/project/13150 | 0.20.5 | 0.21.1 | ORPH libsemanage | DISTRO | https://release-monitoring.org/project/01718 | 3.5 | 20200710 | libsepol | DISTRO | https://release-monitoring.org/project/01719 | 3.5 | 20200710 | libsigc | DISTRO | https://release-monitoring.org/project/07961 | 3.4.0 | 3.6.0 | libsigc2 | DISTRO | https://release-monitoring.org/project/311642 | 2.12.0 | 2.12.1 | libsndfile | DISTRO | https://release-monitoring.org/project/13277 | 1.2.0 | 1.2.2 | libsodium | DISTRO | https://release-monitoring.org/project/01728 | 1.0.18 | 1.0.19 | libsolv | DISTRO | https://release-monitoring.org/project/07908 | 0.7.22 | 0.7.25 | libsoup | DISTRO | https://release-monitoring.org/project/11483 | 2.74.2 | 3.4.3 | libtalloc | DISTRO | https://release-monitoring.org/project/01733 | 2.3.4 | 2.4.1 | libtool | DISTRO | https://release-monitoring.org/project/01741 | 2.4.6 | 2.4.7 | ORPH libtorrent-rasterbar | DISTRO | https://release-monitoring.org/project/04166 | 1.2.15 | 2.0.9 | libucl | DISTRO | https://release-monitoring.org/project/21371 | 0.8.1 | 0.8.2 | libunwind | DISTRO | https://release-monitoring.org/project/01748 | 1.6.2 | 1.7.2 | ORPH libupnp | DISTRO | https://release-monitoring.org/project/21315 | 1.14.13 | 1.14.18 | libupnpp | DISTRO | https://release-monitoring.org/project/15849 | 0.21.0 | 0.23.0 | ORPH liburing | DISTRO | https://release-monitoring.org/project/230185 | 2.2 | 2.4 | libvips | DISTRO | https://release-monitoring.org/project/05097 | 8.10.6 | 8.14.5 | libvirt | DISTRO | https://release-monitoring.org/project/13830 | 7.10.0 | 9.7.0 | libvpx | DISTRO | https://release-monitoring.org/project/11083 | 1.13.0 | 1.13.1 | libxcb | DISTRO | https://release-monitoring.org/project/01767 | 1.15 | 1.16 | ORPH libxkbcommon | DISTRO | https://release-monitoring.org/project/01780 | 1.4.0 | 1.5.0 | libxml2 | DISTRO | https://release-monitoring.org/project/01783 | 2.11.4 | 2.11.5 | libxmlpp | DISTRO | https://release-monitoring.org/project/11129 | 5.0.2 | 5.0.3 | ORPH libxmlrpc | DISTRO | https://release-monitoring.org/project/09024 | r3119 | 1.54.06 | lilv | DISTRO | https://release-monitoring.org/project/01818 | 0.24.12 | 0.24.20 | links | DISTRO | https://release-monitoring.org/project/01822 | 2.26 | 2.29 | ORPH linphone | DISTRO | https://release-monitoring.org/project/01823 | 4.4.8 | 5.1.2 | ORPH linux-firmware | DISTRO | https://release-monitoring.org/project/141464 | 20230804 | 20230919 | linuxptp | DISTRO | https://release-monitoring.org/project/21114 | 4.0 | 4.1 | liquid-dsp | DISTRO | https://release-monitoring.org/project/14535 | 1.5.0 | 1.6.0 | live555 | DISTRO | https://release-monitoring.org/project/12414 | 2021.05.03 | 2023.07.24 | ORPH lld | DISTRO | https://release-monitoring.org/project/01830 | 15.0.3 | 17.0.1 | lldpd | DISTRO | https://release-monitoring.org/project/14019 | 1.0.15 | 1.0.17 | ORPH llvm | DISTRO | https://release-monitoring.org/project/01830 | 15.0.3 | 17.0.1 | log4cpp | DISTRO | https://release-monitoring.org/project/21499 | 1.1.3 | 1.1.4 | log4cxx | DISTRO | https://release-monitoring.org/project/15330 | 0.13.0 | 1.1.0 | logrotate | DISTRO | https://release-monitoring.org/project/10567 | 3.20.1 | 3.21.0 | ORPH lpty | DISTRO | https://release-monitoring.org/project/11671 | 1.0.1-1 | 1.2.2 | ltris | DISTRO | https://release-monitoring.org/project/21503 | 1.2 | 1.2.7 | lttng-babeltrace | DISTRO | https://release-monitoring.org/project/00155 | 1.5.7 | 1.5.11 | lttng-libust | DISTRO | https://release-monitoring.org/project/07135 | 2.13.1 | 2.13.6 | lttng-modules | DISTRO | https://release-monitoring.org/project/07141 | 2.13.7 | 2.13.10 | lttng-tools | DISTRO | https://release-monitoring.org/project/07136 | 2.13.8 | 2.13.11 | lua | DISTRO | https://release-monitoring.org/project/01847 | 5.1.5 | 5.4.6 | lua-resty-http | DISTRO | https://release-monitoring.org/project/13887 | 0.15-0 | 0.17.1 | luarocks | DISTRO | https://release-monitoring.org/project/01856 | 3.9.1 | 3.9.2 | luv | DISTRO | https://release-monitoring.org/project/21510 | 1.43.0-0 | 1.45.0-0 | ORPH lxc | DISTRO | https://release-monitoring.org/project/01860 | 5.0.2 | 5.0.3 | lynx | DISTRO | https://release-monitoring.org/project/01863 | 2.8.9rel.1 | 2.9.0 | lzma-alone | DISTRO | https://release-monitoring.org/project/242840 | 9.22 | 2301 | ORPH mariadb | DISTRO | https://release-monitoring.org/project/01887 | 10.11.4 | 11.2.1 | ORPH mbedtls | DISTRO | https://release-monitoring.org/project/13824 | 2.28.4 | 3.4.1 | mbuffer | DISTRO | https://release-monitoring.org/project/15518 | 20220418 | 20230301 | mcelog | DISTRO | https://release-monitoring.org/project/08093 | 194 | 195 | mdevd | DISTRO | https://release-monitoring.org/project/16553 | 0.1.6.0 | 0.1.6.2 | mediastreamer | DISTRO | https://release-monitoring.org/project/21746 | 4.4.8 | 5.2.109 | ORPH memtest86 | DISTRO | https://release-monitoring.org/project/01966 | 5.01 | 6.20 | mesa3d | DISTRO | https://release-monitoring.org/project/01970 | 23.1.8 | 23.2.1 | mesa3d-headers | DISTRO | https://release-monitoring.org/project/01970 | 23.1.8 | 23.2.1 | meson | DISTRO | https://release-monitoring.org/project/06472 | 1.1.1 | 1.2.2 | metacity | DISTRO | https://release-monitoring.org/project/15392 | 2.25.1 | 3.46.0 | ORPH mfgtools | DISTRO | https://release-monitoring.org/project/21519 | 0.02 | 2.8.0 | microchip-hss-payload-gener... | DISTRO | https://release-monitoring.org/project/368767 | 2023.06 | 2023.09 | micropython | DISTRO | https://release-monitoring.org/project/10539 | 1.19.1 | 1.20.0 | micropython-lib | DISTRO | https://release-monitoring.org/project/21520 | 1.9.3 | 1.20.0 | mimic | DISTRO | https://release-monitoring.org/project/21521 | 1.1.0 | 1.3.0.1 | minetest | DISTRO | https://release-monitoring.org/project/01978 | 5.6.1 | 5.7.0 | minetest-game | DISTRO | https://release-monitoring.org/project/21522 | 5.6.1 | 5.7.0 | moarvm | DISTRO | https://release-monitoring.org/project/21100 | 2023.06 | 2023.09 | mobile-broadband-provider-info | DISTRO | https://release-monitoring.org/project/10267 | 20221107 | 20230416 | ORPH moby-buildkit | DISTRO | https://release-monitoring.org/project/20836 | 0.11.6 | 0.12.2 | modem-manager | DISTRO | https://release-monitoring.org/project/07306 | 1.20.4 | 1.20.6 | modsecurity2 | DISTRO | https://release-monitoring.org/project/68638 | 2.9.7 | 3.0.10 | mongodb | DISTRO | https://release-monitoring.org/project/02008 | 4.2.18 | 7.0.2 | mongoose | DISTRO | https://release-monitoring.org/project/07603 | 7.8 | 7.11 | mono | DISTRO | https://release-monitoring.org/project/06360 | 6.12.0.182 | 6.12.0.205 | mp4v2 | DISTRO | https://release-monitoring.org/project/98413 | 2.1.1 | 2.1.3 | ORPH mpc | DISTRO | https://release-monitoring.org/project/01667 | 1.2.1 | 1.3.1 | ORPH mpfr | DISTRO | https://release-monitoring.org/project/02019 | 4.1.1 | 4.2.1 | ORPH mpg123 | DISTRO | https://release-monitoring.org/project/12413 | 1.31.3 | 1.32.2 | mpv | DISTRO | https://release-monitoring.org/project/05348 | 0.35.1 | 0.36.0 | msgpack | DISTRO | https://release-monitoring.org/project/12278 | 3.3.0 | 6.1.0 | mstpd | DISTRO | https://release-monitoring.org/project/235098 | 0.1.0 | 0.05 | mupdf | DISTRO | https://release-monitoring.org/project/02034 | 1.22.0 | 1.23.3 | nbd | DISTRO | https://release-monitoring.org/project/02052 | 3.24 | 3.25 | ncdu | DISTRO | https://release-monitoring.org/project/06045 | 1.18 | 2.3 | ncmpc | DISTRO | https://release-monitoring.org/project/02055 | 0.47 | 0.49 | ncurses | DISTRO | https://release-monitoring.org/project/02057 | 6.4-20230603 | 6.4-20231001 | ORPH neard | DISTRO | https://release-monitoring.org/project/21866 | 0.18 | 0.19 | neofetch | DISTRO | https://release-monitoring.org/project/16261 | 7.1.0 | 7.3.10 | ORPH neon | DISTRO | https://release-monitoring.org/project/07604 | 0.32.4 | 0.32.5 | ORPH nerdctl | DISTRO | https://release-monitoring.org/project/242901 | 1.3.1 | 1.6.0 | netcat-openbsd | DISTRO | https://release-monitoring.org/project/21534 | 1.218 | 1.225 | ORPH netdata | DISTRO | https://release-monitoring.org/project/11046 | 1.33.1 | 1.42.4 | netifrc | DISTRO | https://release-monitoring.org/project/21917 | 0.7.3 | 0.7.6 | netopeer2 | DISTRO | https://release-monitoring.org/project/114978 | 2.1.49 | 2.1.71 | netsnmp | DISTRO | https://release-monitoring.org/project/02062 | 5.9.3 | 5.9.4 | ORPH network-manager | DISTRO | https://release-monitoring.org/project/21197 | 1.42.0 | 1.44.0 | ORPH nghttp2 | DISTRO | https://release-monitoring.org/project/08651 | 1.41.0 | 1.56.0 | nginx | DISTRO | https://release-monitoring.org/project/05413 | 1.24.0 | 1.25.2 | ninja | DISTRO | https://release-monitoring.org/project/02089 | 1.11.1.g9... | 1.11.1 | nmap | DISTRO | https://release-monitoring.org/project/02096 | 7.92 | 7.94 | ORPH nodejs | DISTRO | https://release-monitoring.org/project/08251 | 16.20.0 | 20.8.0 | noip | DISTRO | https://release-monitoring.org/project/21539 | 2.1.9 | 3.0.0 | ORPH nushell | DISTRO | https://release-monitoring.org/project/31106 | 0.76.0 | 0.85.0 | nuttcp | DISTRO | https://release-monitoring.org/project/02511 | 6.1.2 | 8.2.2 | nvidia-driver | DISTRO | https://release-monitoring.org/project/21843 | 390.151 | 390.157 | nvidia-modprobe | DISTRO | https://release-monitoring.org/project/141657 | 450.57 | 535.113.01 | ORPH nvidia-persistenced | DISTRO | https://release-monitoring.org/project/369496 | 515.48.07 | 535.113.01 | nvme | DISTRO | https://release-monitoring.org/project/09074 | 1.12 | 2.6 | ORPH ogre | DISTRO | https://release-monitoring.org/project/33334 | v1.12.12 | 14.1.0 | openal | DISTRO | https://release-monitoring.org/project/08172 | 1.22.0 | 1.23.1 | ORPH opencl-clhpp | DISTRO | https://release-monitoring.org/project/271141 | 2.0.16 | 2023.04.17 | opencore-amr | DISTRO | https://release-monitoring.org/project/21548 | 0.1.5 | 0.1.6 | ORPH opencv3 | DISTRO | https://release-monitoring.org/project/06615 | 3.4.19 | 4.8.1 | opencv4 | DISTRO | https://release-monitoring.org/project/06615 | 4.6.0 | 4.8.1 | openfpgaloader | DISTRO | https://release-monitoring.org/project/241709 | 0.10.0 | 0.11.0 | openjdk | GUESS | https://release-monitoring.org/project/176098 | 11.0.20+8 | 22+17 | openlayers | DISTRO | https://release-monitoring.org/project/06847 | 7.3.0 | 8.1.0 | openmpi | DISTRO | https://release-monitoring.org/project/02554 | 4.1.5 | 4.1.6 | openrc | DISTRO | https://release-monitoring.org/project/11687 | 0.43.3 | 0.50 | openvmtools | DISTRO | https://release-monitoring.org/project/10998 | 11.3.5-18... | 12.3.0 | opkg | DISTRO | https://release-monitoring.org/project/59397 | 0.4.5 | 0.6.2 | ORPH opkg-utils | DISTRO | https://release-monitoring.org/project/59396 | 0.4.5 | 0.6.2 | optee-client | DISTRO | https://release-monitoring.org/project/21556 | 3.21.0 | 3.22.0 | optee-examples | DISTRO | https://release-monitoring.org/project/21557 | 3.21.0 | 3.22.0 | optee-test | DISTRO | https://release-monitoring.org/project/21558 | 3.21.0 | 3.22.0 | oracle-mysql | DISTRO | https://release-monitoring.org/project/00334 | 5.1.73 | 8.1.0 | ORPH orc | DISTRO | https://release-monitoring.org/project/02573 | 0.4.33 | 0.4.34 | ORPH ortp | DISTRO | https://release-monitoring.org/project/21691 | 4.4.8 | 5.2.109 | ORPH p11-kit | DISTRO | https://release-monitoring.org/project/02582 | 0.24.1 | 0.25.0 | ORPH pango | DISTRO | https://release-monitoring.org/project/11783 | 1.50.14 | 1.51.1 | ORPH parprouted | DISTRO | https://release-monitoring.org/project/10309 | 0.7 | 0.65 | ORPH patchelf | DISTRO | https://release-monitoring.org/project/02598 | 0.13 | 0.18.0 | ORPH pax-utils | DISTRO | https://release-monitoring.org/project/02601 | 1.2.6 | 1.3.7 | ORPH pdbg | DISTRO | https://release-monitoring.org/project/21378 | 3.5 | 3.6 | perl | DISTRO | https://release-monitoring.org/project/13599 | 5.36.1 | 5.38.0 | perl-crypt-cbc | DISTRO | https://release-monitoring.org/project/11930 | 2.33 | 3.04 | perl-crypt-openssl-aes | DISTRO | https://release-monitoring.org/project/02743 | 0.02 | 0.10 | perl-dbd-mysql | DISTRO | https://release-monitoring.org/project/02807 | 4.046 | 4.050 | perl-gd | DISTRO | https://release-monitoring.org/project/12660 | 2.77 | 2.78 | perl-gdgraph | DISTRO | https://release-monitoring.org/project/09187 | 1.54 | 1.56 | perl-image-exiftool | DISTRO | https://release-monitoring.org/project/06175 | 12.50 | 12.67 | perl-io-socket-ssl | DISTRO | https://release-monitoring.org/project/06569 | 2.080 | 2.083 | perl-libwww-perl | DISTRO | https://release-monitoring.org/project/03024 | 6.67 | 6.72 | perl-mail-dkim | DISTRO | https://release-monitoring.org/project/11868 | 1.20230630 | 1.20230911 | perl-mime-tools | DISTRO | https://release-monitoring.org/project/11809 | 5.509 | 5.510 | perl-module-build | DISTRO | https://release-monitoring.org/project/03077 | 0.4232 | 0.4234 | perl-module-build-tiny | DISTRO | https://release-monitoring.org/project/11870 | 0.039 | 0.047 | perl-mojolicious | DISTRO | https://release-monitoring.org/project/05966 | 9.32 | 9.34 | perl-net-ssh2 | DISTRO | https://release-monitoring.org/project/03163 | 0.72 | 0.73 | perl-net-ssleay | DISTRO | https://release-monitoring.org/project/06575 | 1.93_01 | 1.92 | perl-sys-cpu | DISTRO | https://release-monitoring.org/project/14338 | 0.52 | 0.61 | perl-xml-libxml | DISTRO | https://release-monitoring.org/project/03527 | 2.0134 | 2.0209 | petitboot | DISTRO | https://release-monitoring.org/project/337142 | 1.13 | 1.14 | php-amqp | DISTRO | https://release-monitoring.org/project/15603 | 2.0.0 | 2.1.0 | php-pam | DISTRO | https://release-monitoring.org/project/241707 | 2.2.4 | 2.2.5 | pkgconf | DISTRO | https://release-monitoring.org/project/12753 | 1.6.3 | 2.0.3 | ORPH pngquant | DISTRO | https://release-monitoring.org/project/03674 | 2.18.0 | 3.0.1 | poke | DISTRO | https://release-monitoring.org/project/179926 | 3.0 | 3.3 | ORPH poppler | DISTRO | https://release-monitoring.org/project/03686 | 22.12.0 | 23.09.0 | postgresql | DISTRO | https://release-monitoring.org/project/05601 | 15.4 | 16.0 | pound | DISTRO | https://release-monitoring.org/project/05436 | 4.8 | 4.9 | ORPH powerpc-utils | DISTRO | https://release-monitoring.org/project/10715 | 1.3.10 | 1.3.11 | ORPH procps-ng | DISTRO | https://release-monitoring.org/project/03708 | 3.3.17 | 4.0.4 | ORPH prosody | DISTRO | https://release-monitoring.org/project/03709 | 0.11.14 | 0.12.4 | protobuf | DISTRO | https://release-monitoring.org/project/03715 | 21.12 | 24.3 | pru-software-support | DISTRO | https://release-monitoring.org/project/21825 | 6.0.1 | 6.2.0 | psmisc | DISTRO | https://release-monitoring.org/project/03721 | 23.5 | 23.6 | ORPH ptpd | GUESS | https://release-monitoring.org/project/03726 | 1.1.0 | 2.3.1 | ORPH pugixml | DISTRO | https://release-monitoring.org/project/03728 | 1.13 | 1.14 | pv | DISTRO | https://release-monitoring.org/project/03736 | 1.6.20 | 1.8.0 | ORPH python-aenum | DISTRO | https://release-monitoring.org/project/34074 | 3.1.11 | 3.1.15 | python-aiocoap | DISTRO | https://release-monitoring.org/project/21243 | 0.4.5 | 0.4.7 | python-aiofiles | DISTRO | https://release-monitoring.org/project/12743 | 23.1.0 | 23.2.1 | python-aiojobs | DISTRO | https://release-monitoring.org/project/21252 | 1.1.0 | 1.2.0 | python-aiomonitor | DISTRO | https://release-monitoring.org/project/21253 | 0.4.5 | 0.6.0 | python-alembic | DISTRO | https://release-monitoring.org/project/03766 | 1.10.2 | 1.12.0 | python-alsaaudio | DISTRO | https://release-monitoring.org/project/10072 | 0.9.2 | 0.10.0 | python-argh | DISTRO | https://release-monitoring.org/project/09299 | 0.28.1 | 0.29.4 | python-argon2-cffi | DISTRO | https://release-monitoring.org/project/33377 | 21.3.0 | 23.1.0 | python-arrow | DISTRO | https://release-monitoring.org/project/05314 | 1.2.3 | 1.3.0 | python-asgiref | DISTRO | https://release-monitoring.org/project/18462 | 3.6.0 | 3.7.2 | python-asttokens | DISTRO | https://release-monitoring.org/project/19936 | 2.2.1 | 2.4.0 | python-async-lru | DISTRO | https://release-monitoring.org/project/56566 | 2.0.2 | 2.0.4 | python-async-timeout | DISTRO | https://release-monitoring.org/project/12525 | 4.0.2 | 4.0.3 | python-avro | DISTRO | https://release-monitoring.org/project/59411 | 1.11.1 | 1.11.3 | python-beautifulsoup4 | DISTRO | https://release-monitoring.org/project/03779 | 4.12.0 | 4.12.2 | python-bitstring | DISTRO | https://release-monitoring.org/project/14665 | 4.0.1 | 4.1.2 | python-bluezero | DISTRO | https://release-monitoring.org/project/21929 | 0.7.1 | 0.8.0 | python-boto3 | DISTRO | https://release-monitoring.org/project/29737 | 1.26.115 | 1.28.57 | python-botocore | DISTRO | https://release-monitoring.org/project/08748 | 1.31.20 | 1.31.57 | python-brotli | DISTRO | https://release-monitoring.org/project/15235 | 1.0.9 | 1.1.0 | python-cffi | DISTRO | https://release-monitoring.org/project/05536 | 1.15.1 | 1.16.0 | python-channels-redis | DISTRO | https://release-monitoring.org/project/21936 | 4.0.0 | 4.1.0 | python-chardet | DISTRO | https://release-monitoring.org/project/03798 | 5.1.0 | 5.2.0 | python-charset-normalizer | DISTRO | https://release-monitoring.org/project/55366 | 3.2.0 | 3.3.0 | python-cheroot | DISTRO | https://release-monitoring.org/project/20163 | 9.0.0 | 10.0.0 | python-click | DISTRO | https://release-monitoring.org/project/03802 | 8.1.4 | 8.1.7 | python-configshell-fb | DISTRO | https://release-monitoring.org/project/19734 | 1.1.29 | 1.5 | python-crontab | DISTRO | https://release-monitoring.org/project/31282 | 2.7.1 | 3.0.0 | python-crossbar | DISTRO | https://release-monitoring.org/project/21696 | 21.3.1 | 22.6.1 | python-cryptography | DISTRO | https://release-monitoring.org/project/05532 | 39.0.2 | 41.0.4 | python-cssutils | DISTRO | https://release-monitoring.org/project/13259 | 2.6.0 | 2.7.1 | python-cycler | DISTRO | https://release-monitoring.org/project/11552 | 0.11.0 | 0.12.0 | python-cython | DISTRO | https://release-monitoring.org/project/12679 | 0.29.35 | 3.0.2 | python-daemon | DISTRO | https://release-monitoring.org/project/03816 | 2.3.2 | 3.0.1 | python-dataproperty | DISTRO | https://release-monitoring.org/project/21697 | 0.55.0 | 1.0.1 | python-dbus-fast | DISTRO | https://release-monitoring.org/project/287975 | 2.7.0 | 2.11.0 | python-django | DISTRO | https://release-monitoring.org/project/03828 | 4.1.10 | 4.2.5 | python-dnspython | DISTRO | https://release-monitoring.org/project/13190 | 2.2.1 | 2.4.2 | python-docutils | DISTRO | https://release-monitoring.org/project/03849 | 0.19 | 0.20.1 | python-dtschema | DISTRO | https://release-monitoring.org/project/100908 | 2022.12 | 2023.9 | python-editables | DISTRO | https://release-monitoring.org/project/189881 | 0.3 | 0.5 | python-engineio | DISTRO | https://release-monitoring.org/project/15064 | 4.3.4 | 4.7.1 | python-esptool | DISTRO | https://release-monitoring.org/project/11619 | 4.5.1 | 4.6.2 | python-executing | DISTRO | https://release-monitoring.org/project/24668 | 1.2.0 | 2.0.0 | python-filelock | DISTRO | https://release-monitoring.org/project/11739 | 3.9.0 | 3.12.4 | python-flask | DISTRO | https://release-monitoring.org/project/03867 | 2.3.2 | 3.0.0 | python-flask-babel | DISTRO | https://release-monitoring.org/project/20024 | 3.1.0 | 4.0.0 | python-flask-cors | DISTRO | https://release-monitoring.org/project/19867 | 3.0.10 | 4.0.0a | python-flask-smorest | DISTRO | https://release-monitoring.org/project/25028 | 0.42.0 | 0.42.1 | python-flask-sqlalchemy | DISTRO | https://release-monitoring.org/project/05701 | 3.0.2 | 3.1.1 | python-flask-wtf | DISTRO | https://release-monitoring.org/project/05702 | 1.1.1 | 1.2.0 | python-flatbuffers | DISTRO | https://release-monitoring.org/project/85010 | 2.0.7 | 23.5.26 | python-fonttools | DISTRO | https://release-monitoring.org/project/07388 | 4.41.1 | 4.43.0 | python-git | DISTRO | https://release-monitoring.org/project/06459 | 3.1.24 | 3.1.37 | python-gitdb2 | DISTRO | https://release-monitoring.org/project/12730 | 4.0.7 | 4.0.10 | python-glslang | DISTRO | https://release-monitoring.org/project/205796 | 11.13.0 | 13.0.0 | python-gobject | DISTRO | https://release-monitoring.org/project/13158 | 3.42.2 | 3.46.0 | python-gpiozero | DISTRO | https://release-monitoring.org/project/19948 | 1.6.2 | 2.0 | python-gunicorn | DISTRO | https://release-monitoring.org/project/03882 | 20.1.0 | 21.2.0 | python-hatch-fancy-pypi-readme | DISTRO | https://release-monitoring.org/project/274452 | 22.8.0 | 23.1.0 | python-hatchling | DISTRO | https://release-monitoring.org/project/185085 | 1.12.2 | 1.18.0 | python-httplib2 | DISTRO | https://release-monitoring.org/project/03887 | 0.21.0 | 0.22.0 | python-hwdata | DISTRO | https://release-monitoring.org/project/11771 | 2.3.7 | 2.3.8-1 | python-ipdb | DISTRO | https://release-monitoring.org/project/12710 | 0.13.11 | 0.13.13 | python-iptables | DISTRO | https://release-monitoring.org/project/11475 | 1.0.0 | 1.0.1 | python-ipython | DISTRO | https://release-monitoring.org/project/01399 | 8.8.0 | 8.16.0 | python-iso8601 | DISTRO | https://release-monitoring.org/project/17228 | 1.1.0 | 2.0.0 | python-iwlib | DISTRO | https://release-monitoring.org/project/51611 | 1.5 | 1.7.0 | python-jaraco-classes | DISTRO | https://release-monitoring.org/project/20150 | 3.2.3 | 3.3.0 | python-jaraco-functools | DISTRO | https://release-monitoring.org/project/20165 | 3.5.2 | 3.9.0 | python-jedi | DISTRO | https://release-monitoring.org/project/03893 | 0.18.2 | 0.19.0 | python-jsonschema | DISTRO | https://release-monitoring.org/project/03898 | 4.17.3 | 4.19.1 | python-keyring | DISTRO | https://release-monitoring.org/project/03901 | 23.13.1 | 24.2.0 | python-kiwisolver | DISTRO | https://release-monitoring.org/project/16910 | 1.4.4 | 1.4.5 | python-lark | DISTRO | https://release-monitoring.org/project/140595 | 1.1.5 | 1.1.7 | python-lmdb | DISTRO | https://release-monitoring.org/project/15512 | 1.4.0 | 1.4.1 | python-logbook | DISTRO | https://release-monitoring.org/project/20016 | 1.5.3 | 1.6.0 | python-m2crypto | DISTRO | https://release-monitoring.org/project/06599 | 0.38.0 | 0.39.0 | python-markdown | DISTRO | https://release-monitoring.org/project/03916 | 3.4.1 | 3.4.4 | python-markdown2 | DISTRO | https://release-monitoring.org/project/03917 | 2.4.6 | 2.4.10 | python-marshmallow | DISTRO | https://release-monitoring.org/project/08079 | 3.19.0 | 3.20.1 | python-matplotlib | DISTRO | https://release-monitoring.org/project/03919 | 3.4.3 | 3.8.0 | python-maturin | DISTRO | https://release-monitoring.org/project/42653 | 1.1.0 | 1.2.3 | python-mbstrdecoder | DISTRO | https://release-monitoring.org/project/21702 | 1.1.1 | 1.1.3 | python-mistune | DISTRO | https://release-monitoring.org/project/06189 | 2.0.4 | 3.0.2 | python-modbus-tk | DISTRO | https://release-monitoring.org/project/22813 | 1.1.2 | 1.1.3 | python-more-itertools | DISTRO | https://release-monitoring.org/project/12201 | 9.0.0 | 10.1.0 | python-msgfy | DISTRO | https://release-monitoring.org/project/29716 | 0.2.0 | 0.2.1 | python-msgpack | DISTRO | https://release-monitoring.org/project/21831 | 1.0.5 | 1.0.7 | python-munch | DISTRO | https://release-monitoring.org/project/06177 | 2.5.0 | 4.0.0 | python-mutagen | DISTRO | https://release-monitoring.org/project/03931 | 1.46.0 | 1.47.0 | python-mypy-extensions | DISTRO | https://release-monitoring.org/project/23367 | 0.4.3 | 1.0.0 | python-netaddr | DISTRO | https://release-monitoring.org/project/05586 | 0.8.0 | 0.9.0 | python-networkx | DISTRO | https://release-monitoring.org/project/07791 | 3.0 | 3.1 | python-numpy | DISTRO | https://release-monitoring.org/project/02509 | 1.25.0 | 1.26.0b1 | python-opcua-asyncio | DISTRO | https://release-monitoring.org/project/131612 | 1.0.1 | 1.05a1 | python-orjson | DISTRO | https://release-monitoring.org/project/31737 | 3.9.2 | 3.9.7 | python-packaging | DISTRO | https://release-monitoring.org/project/11718 | 23.1 | 23.2 | python-paramiko | DISTRO | https://release-monitoring.org/project/03954 | 2.12.0 | 3.3.1 | python-pathspec | DISTRO | https://release-monitoring.org/project/15607 | 0.10.3 | 0.11.2 | python-pathvalidate | DISTRO | https://release-monitoring.org/project/21704 | 2.5.2 | 3.2.0 | python-pbr | DISTRO | https://release-monitoring.org/project/03960 | 5.11.0 | 5.11.1 | python-periphery | DISTRO | https://release-monitoring.org/project/21705 | 2.3.0 | 2.4.1 | python-pip | DISTRO | https://release-monitoring.org/project/06529 | 22.3.1 | 23.2.1 | python-portend | DISTRO | https://release-monitoring.org/project/20203 | 3.1.0 | 3.2.0 | python-prompt-toolkit | DISTRO | https://release-monitoring.org/project/08742 | 3.0.36 | 3.0.39 | python-protobuf | DISTRO | https://release-monitoring.org/project/03715 | 21.12 | 24.3 | python-psutil | DISTRO | https://release-monitoring.org/project/03978 | 5.9.4 | 5.9.5 | python-psycopg2 | DISTRO | https://release-monitoring.org/project/03979 | 2.9.5 | 2.9.8 | python-pyasn1-modules | DISTRO | https://release-monitoring.org/project/11987 | 0.2.8 | 0.3.0 | python-pycairo | DISTRO | https://release-monitoring.org/project/13166 | 1.23.0 | 1.25.0 | python-pycryptodomex | DISTRO | https://release-monitoring.org/project/36851 | 3.18.0 | 3.19.0 | python-pydantic | DISTRO | https://release-monitoring.org/project/29768 | 1.10.8 | 2.4.2 | python-pydyf | DISTRO | https://release-monitoring.org/project/179112 | 0.7.0 | 0.8.0 | python-pyelftools | DISTRO | https://release-monitoring.org/project/16219 | 0.29 | 0.30 | python-pygame | DISTRO | https://release-monitoring.org/project/17480 | d61ea8eabd56 | 2.5.2 | python-pygments | DISTRO | https://release-monitoring.org/project/03986 | 2.15.1 | 2.16.1 | python-pyjwt | DISTRO | https://release-monitoring.org/project/05653 | 2.7.0 | 2.8.0 | python-pylibftdi | DISTRO | https://release-monitoring.org/project/21583 | 0.20.0 | 0.21.0 | python-pymodbus | DISTRO | https://release-monitoring.org/project/15600 | 3.0.2 | 3.5.2 | python-pymupdf | DISTRO | https://release-monitoring.org/project/17320 | 1.22.0 | 1.23.4 | python-pymysql | DISTRO | https://release-monitoring.org/project/07284 | 1.0.2 | 1.1.0 | python-pyopenssl | DISTRO | https://release-monitoring.org/project/05535 | 23.0.0 | 23.2.0 | python-pyparsing | DISTRO | https://release-monitoring.org/project/03756 | 3.1.0 | 3.1.1 | python-pyparted | DISTRO | https://release-monitoring.org/project/15558 | 3.12.0 | 3.13.0 | python-pyqt5 | DISTRO | https://release-monitoring.org/project/20104 | 5.15.6 | 5.15.9 | python-pyroute2 | DISTRO | https://release-monitoring.org/project/20081 | 0.7.3 | 0.7.9 | python-pysmb | DISTRO | https://release-monitoring.org/project/21589 | 1.2.9 | 1.2.9.1 | python-pyspnego | DISTRO | https://release-monitoring.org/project/107092 | 0.7.0 | 0.10.1 | python-pytablereader | DISTRO | https://release-monitoring.org/project/21592 | 0.31.3 | 0.31.4 | python-pytablewriter | DISTRO | https://release-monitoring.org/project/21593 | 0.64.2 | 1.1.0 | python-pythran | DISTRO | https://release-monitoring.org/project/21140 | 0.13.1 | 0.14.0 | python-pytz | DISTRO | https://release-monitoring.org/project/06537 | 2023.3 | 2023.3.post1 | python-pyudev | DISTRO | https://release-monitoring.org/project/08485 | 0.24.0 | 0.24.1 | python-pyzmq | DISTRO | https://release-monitoring.org/project/04104 | 24.0.1 | 25.1.1b2 | python-qrcode | DISTRO | https://release-monitoring.org/project/20011 | 7.3.1 | 7.4.2 | python-redis | DISTRO | https://release-monitoring.org/project/03992 | 4.5.5 | 5.0.1 | python-regex | DISTRO | https://release-monitoring.org/project/05548 | 2022.10.31 | 2023.8.8 | python-requests-toolbelt | DISTRO | https://release-monitoring.org/project/05665 | 0.10.1 | 1.0.0 | python-rpds-py | DISTRO | https://release-monitoring.org/project/368622 | 0.9.2 | 0.10.3 | python-rtoml | DISTRO | https://release-monitoring.org/project/62048 | 0.8.0 | 0.9.0 | python-rtslib-fb | DISTRO | https://release-monitoring.org/project/19641 | 2.1.74 | 2.2 | python-ruamel-yaml | DISTRO | https://release-monitoring.org/project/66067 | 0.17.21 | 0.17.33 | python-s3transfer | DISTRO | https://release-monitoring.org/project/10428 | 0.6.0 | 0.7.0 | python-schedule | DISTRO | https://release-monitoring.org/project/21600 | 1.1.0 | 1.2.1 | python-scipy | DISTRO | https://release-monitoring.org/project/04768 | 1.11.0 | 1.11.3 | python-selenium | DISTRO | https://release-monitoring.org/project/05645 | 4.9.1 | 4.13.0 | python-semver | DISTRO | https://release-monitoring.org/project/12989 | 2.13.0 | 3.0.1 | python-sentry-sdk | DISTRO | https://release-monitoring.org/project/21603 | 1.12.1 | 1.31.0 | python-service-identity | DISTRO | https://release-monitoring.org/project/07917 | 21.1.0 | 23.1.0 | python-setuptools | DISTRO | https://release-monitoring.org/project/04021 | 68.0.0 | 68.2.2 | python-setuptools-rust | DISTRO | https://release-monitoring.org/project/122284 | 1.6.0 | 1.7.0 | python-setuptools-scm | DISTRO | https://release-monitoring.org/project/07874 | 7.1.0 | 8.0.3 | python-setuptools-scm-git-a... | DISTRO | https://release-monitoring.org/project/28329 | 1.4 | 1.4.1 | python-sh | DISTRO | https://release-monitoring.org/project/10429 | 1.14.3 | 2.0.6 | python-simplejson | DISTRO | https://release-monitoring.org/project/04026 | 3.18.1 | 3.19.1 | python-simplesqlite | DISTRO | https://release-monitoring.org/project/21608 | 1.3.0 | 1.4.0 | python-sip | DISTRO | https://release-monitoring.org/project/13626 | 4.19.25 | 6.7.11 | python-smbprotocol | DISTRO | https://release-monitoring.org/project/47981 | 1.10.1 | 1.11.0 | python-smmap2 | DISTRO | https://release-monitoring.org/project/12729 | 5.0.0 | 6.0.0 | python-socketio | DISTRO | https://release-monitoring.org/project/21611 | 5.7.2 | 5.9.0 | python-soupsieve | DISTRO | https://release-monitoring.org/project/27570 | 2.3.2.post1 | 2.5 | python-sqlalchemy | DISTRO | https://release-monitoring.org/project/04034 | 1.4.42 | 2.0.21 | python-sqlparse | DISTRO | https://release-monitoring.org/project/04038 | 0.4.3 | 0.4.4 | python-stack-data | DISTRO | https://release-monitoring.org/project/90020 | 0.6.2 | 0.6.3 | python-systemd | DISTRO | https://release-monitoring.org/project/07314 | 234 | 235 | python-tabledata | DISTRO | https://release-monitoring.org/project/21613 | 1.3.0 | 1.3.3 | python-tempora | DISTRO | https://release-monitoring.org/project/21225 | 5.2.0 | 5.5.0 | python-termcolor | DISTRO | https://release-monitoring.org/project/10198 | 2.2.0 | 2.3.0 | python-tinyrpc | DISTRO | https://release-monitoring.org/project/12824 | 1.1.4 | 1.1.7 | python-tornado | DISTRO | https://release-monitoring.org/project/07498 | 6.2 | 6.3.3 | python-tqdm | DISTRO | https://release-monitoring.org/project/11524 | 4.64.1 | 4.66.1 | python-traitlets | DISTRO | https://release-monitoring.org/project/12211 | 5.8.0 | 5.10.1 | python-trio | DISTRO | https://release-monitoring.org/project/17451 | 0.22.0 | 0.22.2 | python-trio-websocket | DISTRO | https://release-monitoring.org/project/136283 | 0.9.2 | 0.11.1 | python-twisted | DISTRO | https://release-monitoring.org/project/04071 | 22.10.0 | 23.8.0 | python-txtorcon | DISTRO | https://release-monitoring.org/project/19661 | 22.0.0 | 23.5.0 | python-typeguard | DISTRO | https://release-monitoring.org/project/38819 | 2.13.3 | 4.1.5 | python-typepy | DISTRO | https://release-monitoring.org/project/21617 | 1.3.0 | 1.3.1 | python-typing-extensions | DISTRO | https://release-monitoring.org/project/19755 | 4.7.1 | 4.8.0 | python-typing-inspect | DISTRO | https://release-monitoring.org/project/209826 | 0.8.0 | 0.9.0 | python-u-msgpack | DISTRO | https://release-monitoring.org/project/19764 | 2.7.2 | 2.8.0 | python-ujson | DISTRO | https://release-monitoring.org/project/04076 | 5.7.0 | 5.8.0 | python-urllib3 | DISTRO | https://release-monitoring.org/project/04078 | 2.0.4 | 2.0.5 | python-urwid | DISTRO | https://release-monitoring.org/project/04079 | 2.1.2 | 2.2.2 | python-validators | DISTRO | https://release-monitoring.org/project/19818 | 0.20.0 | 0.22.0 | python-watchdog | DISTRO | https://release-monitoring.org/project/05341 | 2.2.1 | 3.0.0 | python-wcwidth | DISTRO | https://release-monitoring.org/project/08743 | 0.2.5 | 0.2.8 | python-weasyprint | DISTRO | https://release-monitoring.org/project/11057 | 59.0 | 60.1 | python-webargs | DISTRO | https://release-monitoring.org/project/24711 | 8.2.0 | 8.3.0 | python-websocket-client | DISTRO | https://release-monitoring.org/project/07288 | 1.4.2 | 1.6.3 | python-websockets | DISTRO | https://release-monitoring.org/project/08100 | 10.4 | 11.0.3 | python-werkzeug | DISTRO | https://release-monitoring.org/project/04092 | 2.3.6 | 3.0.0 | python-wheel | DISTRO | https://release-monitoring.org/project/11428 | 0.40.0 | 0.41.2 | python-wrapt | DISTRO | https://release-monitoring.org/project/06108 | 1.14.1 | 1.15.0 | python-wsaccel | DISTRO | https://release-monitoring.org/project/07278 | 0.6.4 | 0.6.6 | python-xlib | DISTRO | https://release-monitoring.org/project/12180 | 0.32 | 0.33 | python-xlsxwriter | DISTRO | https://release-monitoring.org/project/12031 | 3.0.6 | 3.1.6 | python-yatl | DISTRO | https://release-monitoring.org/project/50636 | 20220907.1 | 20230507.3 | python-zc-lockfile | DISTRO | https://release-monitoring.org/project/04100 | 2.0 | 3.0.post1 | python-zeroconf | DISTRO | https://release-monitoring.org/project/12681 | 0.39.4 | 0.115.1 | python-zlmdb | DISTRO | https://release-monitoring.org/project/66674 | 22.6.1 | 23.1.1 | python-zope-interface | DISTRO | https://release-monitoring.org/project/04112 | 5.5.2 | 6.1a2 | python-zopfli | DISTRO | https://release-monitoring.org/project/50016 | 0.2.2 | 0.2.3 | qcom-db410c-firmware | DISTRO | https://release-monitoring.org/project/235382 | 1034.2.1 | 1036.1 | qemu | DISTRO | https://release-monitoring.org/project/13607 | 8.1.0 | 8.1.1 | qlibc | DISTRO | https://release-monitoring.org/project/21737 | 2.4.7 | 2.5.0 | ORPH qpdf | DISTRO | https://release-monitoring.org/project/05542 | 10.5.0 | 11.6.1 | qpid-proton | DISTRO | https://release-monitoring.org/project/15198 | 0.35.0 | 0.39.0 | qt5coap | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.5.3 | qt5knx | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.5.3 | qt5mqtt | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.5.3 | qt5opcua | DISTRO | https://release-monitoring.org/project/07927 | 5.15.2 | 6.5.3 | qt5webengine | DISTRO | https://release-monitoring.org/project/07927 | 5.15.10 | 6.5.3 | qt6base | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qt6core5compat | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qt6serialbus | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qt6serialport | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qt6svg | DISTRO | https://release-monitoring.org/project/07927 | 6.4.3 | 6.5.3 | qwt | DISTRO | https://release-monitoring.org/project/04147 | 6.1.6 | 6.2.0 | ORPH rabbitmq-c | DISTRO | https://release-monitoring.org/project/13768 | 0.11.0 | 0.13.0 | ragel | DISTRO | https://release-monitoring.org/project/12105 | 6.10 | 7.0.4 | ORPH ranger | DISTRO | https://release-monitoring.org/project/07426 | 1.7.2 | 1.9.3 | raspberrypi-usbboot | DISTRO | https://release-monitoring.org/project/115700 | 2021.07.01 | 20221215-... | ORPH rauc | DISTRO | https://release-monitoring.org/project/20626 | 1.10 | 1.10.1 | rdma-core | DISTRO | https://release-monitoring.org/project/12907 | 47.0 | 48.0 | re2 | DISTRO | https://release-monitoring.org/project/10500 | 2023-02-01 | 2023-09-01 | redis | DISTRO | https://release-monitoring.org/project/04181 | 7.0.11 | 7.2.1 | restorecond | DISTRO | https://release-monitoring.org/project/16520 | 3.5 | 20200710 | ORPH rhash | DISTRO | https://release-monitoring.org/project/13843 | 1.4.3 | 1.4.4 | ORPH riemann-c-client | DISTRO | https://release-monitoring.org/project/21389 | 1.10.5 | 2.0.1 | ORPH rocksdb | DISTRO | https://release-monitoring.org/project/15560 | 6.20.3 | 8.5.4 | rp-pppoe | DISTRO | https://release-monitoring.org/project/04209 | 3.15 | 4.0 | ORPH rsyslog | DISTRO | https://release-monitoring.org/project/04218 | 8.2204.1 | 8.2308.0 | ORPH ruby | DISTRO | https://release-monitoring.org/project/04223 | 3.1.3 | 3.2.2 | runc | DISTRO | https://release-monitoring.org/project/07462 | 1.1.7 | 1.1.9 | rust | DISTRO | https://release-monitoring.org/project/07635 | 1.71.1 | 1.72.1 | rust-bin | DISTRO | https://release-monitoring.org/project/07635 | 1.71.1 | 1.72.1 | rust-bindgen | DISTRO | https://release-monitoring.org/project/17910 | 0.65.1 | 0.68.1 | rygel | DISTRO | https://release-monitoring.org/project/04751 | 0.40.2 | 0.42.4 | s6 | DISTRO | https://release-monitoring.org/project/05485 | 2.11.1.2 | 2.11.3.2 | s6-dns | DISTRO | https://release-monitoring.org/project/16547 | 2.3.5.4 | 2.3.5.5 | s6-linux-init | DISTRO | https://release-monitoring.org/project/16552 | 1.0.8.0 | 1.1.1.1 | s6-linux-utils | DISTRO | https://release-monitoring.org/project/16551 | 2.6.0.0 | 2.6.1.2 | s6-networking | DISTRO | https://release-monitoring.org/project/16550 | 2.5.1.1 | 2.5.1.3 | s6-portable-utils | DISTRO | https://release-monitoring.org/project/16549 | 2.2.5.0 | 2.3.0.2 | s6-rc | DISTRO | https://release-monitoring.org/project/16548 | 0.5.3.2 | 0.5.4.1 | safeclib | DISTRO | https://release-monitoring.org/project/21385 | 3.7.1 | 01022022 | samba4 | DISTRO | https://release-monitoring.org/project/04758 | 4.18.7 | 4.19.0 | sane-backends | DISTRO | https://release-monitoring.org/project/04760 | 1.1.1 | 1.2.1 | scons | DISTRO | https://release-monitoring.org/project/04770 | 3.1.2 | 4.5.2 | scrypt | DISTRO | https://release-monitoring.org/project/21238 | 1.3.1 | 1.3.2 | sdl2 | DISTRO | https://release-monitoring.org/project/04779 | 2.28.3 | 2.28.4 | sdl_gfx | DISTRO | https://release-monitoring.org/project/04778 | 2.0.23 | 2.0.25 | ORPH sdl_sound | DISTRO | https://release-monitoring.org/project/10262 | 1.0.3 | 2.0.2 | ORPH sdparm | DISTRO | https://release-monitoring.org/project/04787 | 1.10 | 1.12 | sentry-cli | DISTRO | https://release-monitoring.org/project/135642 | 2.20.3 | 2.21.1 | sentry-native | DISTRO | https://release-monitoring.org/project/135639 | 0.4.1 | 0.6.5 | ser2net | DISTRO | https://release-monitoring.org/project/21655 | 4.3.8 | 4.5.0 | serd | DISTRO | https://release-monitoring.org/project/230531 | 0.30.14 | 0.30.16 | setools | DISTRO | https://release-monitoring.org/project/08951 | 4.4.2 | 4.4.3 | ORPH shadow | DISTRO | https://release-monitoring.org/project/04802 | 4.13 | 4.14.0 | shairport-sync | DISTRO | https://release-monitoring.org/project/21384 | 3.3.9 | 4.3.1 | ORPH shared-mime-info | DISTRO | https://release-monitoring.org/project/05524 | 1.12 | 2.2 | ORPH shim | DISTRO | https://release-monitoring.org/project/10719 | 15.4 | 15.7 | signal-estimator | DISTRO | https://release-monitoring.org/project/284559 | v0.0.4 | 0.0.7 | ORPH sispmctl | DISTRO | https://release-monitoring.org/project/21653 | 4.9 | 4.11 | skalibs | DISTRO | https://release-monitoring.org/project/05486 | 2.12.0.1 | 2.13.1.1 | slirp4netns | DISTRO | https://release-monitoring.org/project/96795 | 1.2.0 | 1.2.2 | smartmontools | DISTRO | https://release-monitoring.org/project/04835 | 7.3 | 7.4 | ORPH snmppp | DISTRO | https://release-monitoring.org/project/21318 | 3.5.0 | 3.5.1 | snort3 | DISTRO | https://release-monitoring.org/project/13263 | 3.1.40.0 | 3.1.71.0 | softether | DISTRO | https://release-monitoring.org/project/21383 | 4.30-9700... | 4.42-9798... | ORPH sord | DISTRO | https://release-monitoring.org/project/230536 | 0.16.12 | 0.16.14 | sound-theme-freedesktop | DISTRO | https://release-monitoring.org/project/10152 | 0.7 | 0.8 | spandsp | DISTRO | https://release-monitoring.org/project/12600 | 3.0.0-6ec... | 3.0.0 | spawn-fcgi | DISTRO | https://release-monitoring.org/project/05388 | 1.6.4 | 1.6.5 | ORPH sphinxbase | DISTRO | https://release-monitoring.org/project/20548 | 5prealpha | 0.8 | spice | DISTRO | https://release-monitoring.org/project/04871 | 0.15.0 | 0.15.2 | sqlcipher | DISTRO | https://release-monitoring.org/project/11213 | 4.5.1 | 4.5.5 | squid | DISTRO | https://release-monitoring.org/project/04880 | 6.2 | 6.3 | ORPH sslh | DISTRO | https://release-monitoring.org/project/06184 | 1.22c | 2.0.1 | start-stop-daemon | DISTRO | https://release-monitoring.org/project/08127 | 1.20.7.1 | 1.22.0 | ORPH stellarium | DISTRO | https://release-monitoring.org/project/04891 | 23.2 | 23.3 | stress | DISTRO | https://release-monitoring.org/project/08048 | 1.0.5 | 1.0.7 | stress-ng | DISTRO | https://release-monitoring.org/project/12538 | 0.15.07 | 0.16.05 | stunnel | DISTRO | https://release-monitoring.org/project/04901 | 5.65 | 5.71 | supervisor | DISTRO | https://release-monitoring.org/project/16289 | 4.2.2 | 4.2.5 | ORPH suricata | DISTRO | https://release-monitoring.org/project/10925 | 6.0.14 | 7.0.1 | sway | DISTRO | https://release-monitoring.org/project/11497 | 1.7 | 1.8.1 | synergy | DISTRO | https://release-monitoring.org/project/05718 | 2.0.12-beta | 2.3.2 | sysdig | DISTRO | https://release-monitoring.org/project/16898 | 0.29.3 | 0.33.1 | syslog-ng | DISTRO | https://release-monitoring.org/project/04930 | 4.3.1 | 4.4.0 | sysprof | DISTRO | https://release-monitoring.org/project/21649 | 1.2.0 | 45.0 | sysrepo | DISTRO | https://release-monitoring.org/project/34820 | 2.2.36 | 2.2.105 | sysstat | DISTRO | https://release-monitoring.org/project/04931 | 12.6.1 | 12.6.2 | ORPH system-config-printer | DISTRO | https://release-monitoring.org/project/08855 | 1.5.15 | 1.5.18 | ORPH systemd | DISTRO | https://release-monitoring.org/project/05440 | 254 | 254.5 | systemd-bootchart | DISTRO | https://release-monitoring.org/project/11774 | 233 | 234 | sysvinit | DISTRO | https://release-monitoring.org/project/21648 | 2.99 | 3.04 | ORPH targetcli-fb | DISTRO | https://release-monitoring.org/project/09174 | 2.1.54 | 2.1.56 | tbb | DISTRO | https://release-monitoring.org/project/08217 | 2021.8.0 | 2021.10.0 | tcf-agent | DISTRO | https://release-monitoring.org/project/21833 | 1.7.0 | 1.8.0 | tclap | DISTRO | https://release-monitoring.org/project/04942 | 1.2.4 | 1.2.5 | ORPH tcping | DISTRO | https://release-monitoring.org/project/14881 | 1.3.6 | 2.1.0 | ORPH tcpreplay | DISTRO | https://release-monitoring.org/project/13716 | 4.4.2 | 4.4.4 | ORPH terminology | DISTRO | https://release-monitoring.org/project/04951 | 1.12.1 | 1.13.0 | tesseract-ocr | DISTRO | https://release-monitoring.org/project/04954 | 5.0.1 | 5.3.2 | thermald | DISTRO | https://release-monitoring.org/project/14500 | 2.5.1 | 2.5.4 | thrift | DISTRO | https://release-monitoring.org/project/05581 | 0.14.1 | 0.19.0 | ORPH tiff | DISTRO | https://release-monitoring.org/project/01738 | 4.5.1 | 4.6.0 | ORPH timescaledb | DISTRO | https://release-monitoring.org/project/17545 | 2.11.2 | 2.12.0 | tinifier | DISTRO | https://release-monitoring.org/project/241900 | 3.4.0 | 4.1.0 | tinyssh | DISTRO | https://release-monitoring.org/project/14678 | 20220801 | 20230101 | tinyxml | DISTRO | https://release-monitoring.org/project/10162 | 2.6.2_2 | 2.6.2 | ORPH tio | DISTRO | https://release-monitoring.org/project/20587 | 1.47 | 2.7 | tl-expected | DISTRO | https://release-monitoring.org/project/112689 | v1.0.0 | 1.1.0 | tpm-tools | DISTRO | https://release-monitoring.org/project/21640 | 1.3.9.1 | 1.3.9.2 | tpm2-abrmd | DISTRO | https://release-monitoring.org/project/16819 | 2.3.3 | 3.0.0 | ORPH tpm2-tools | DISTRO | https://release-monitoring.org/project/12841 | 5.2 | 5.5 | ORPH tpm2-totp | DISTRO | https://release-monitoring.org/project/18790 | 0.2.1 | 0.3.0 | tpm2-tss | DISTRO | https://release-monitoring.org/project/12683 | 3.2.2 | 4.0.1 | ORPH trace-cmd | DISTRO | https://release-monitoring.org/project/07873 | 2.9.7 | 3.2 | traceroute | DISTRO | https://release-monitoring.org/project/14877 | 2.1.0 | 2.1.3 | uboot-tools | DISTRO | https://release-monitoring.org/project/05022 | 2021.07 | 2023.07.02 | ORPH udpcast | DISTRO | https://release-monitoring.org/project/10206 | 20211207 | 20230924 | ORPH uftrace | DISTRO | https://release-monitoring.org/project/195039 | 0.12 | 0.14 | uhd | DISTRO | https://release-monitoring.org/project/12572 | 4.3.0.0 | 4.5.0.0 | unbound | DISTRO | https://release-monitoring.org/project/05042 | 1.17.1 | 1.18.0 | unionfs | DISTRO | https://release-monitoring.org/project/17617 | 2.1 | 3.4 | ORPH unrar | DISTRO | https://release-monitoring.org/project/13306 | 6.2.10 | 6.2.11 | ORPH upmpdcli | DISTRO | https://release-monitoring.org/project/15848 | 1.5.12 | 1.8.3 | ORPH upower | DISTRO | https://release-monitoring.org/project/05056 | 0.99.19 | 1.90.2 | vala | DISTRO | https://release-monitoring.org/project/05065 | 0.52.4 | 0.56.13 | ORPH valijson | DISTRO | https://release-monitoring.org/project/18452 | 0.7 | 1.0.1 | ORPH vde2 | DISTRO | https://release-monitoring.org/project/13642 | 2.3.2 | 2.3.3 | vdr | DISTRO | https://release-monitoring.org/project/05069 | 2.6.3 | 2.6.4 | ORPH vdr-plugin-vnsiserver | DISTRO | https://release-monitoring.org/project/05080 | 1.8.0 | 1.8.3 | ORPH vim | DISTRO | https://release-monitoring.org/project/05092 | 9.0.1903 | 9.0.1962 | ORPH vis-network | DISTRO | https://release-monitoring.org/project/270536 | 9.1.0 | 9.1.6 | vnstat | DISTRO | https://release-monitoring.org/project/07283 | 2.10 | 2.11 | vpnc | DISTRO | https://release-monitoring.org/project/15955 | 0.5.3r550... | 0.5.3 | ORPH vte | DISTRO | https://release-monitoring.org/project/10895 | 0.66.2 | 0.74.0 | ORPH vuejs | DISTRO | https://release-monitoring.org/project/89353 | 3.3.2 | 3.3.4 | vuejs-router | DISTRO | https://release-monitoring.org/project/234796 | 4.2.0 | 4.2.5 | vulkan-headers | DISTRO | https://release-monitoring.org/project/88835 | 1.3.262 | 1.3.266 | ORPH vulkan-loader | DISTRO | https://release-monitoring.org/project/230557 | 1.3.262 | 1.3.266 | vulkan-tools | DISTRO | https://release-monitoring.org/project/242111 | 1.3.262 | 1.3.266 | waf | DISTRO | https://release-monitoring.org/project/05116 | 2.0.24 | 2.0.26 | waffle | DISTRO | https://release-monitoring.org/project/21633 | 1.7.0 | 1.8.0 | wavpack | DISTRO | https://release-monitoring.org/project/05121 | 5.5.0 | 5.6.0 | ORPH webkitgtk | DISTRO | https://release-monitoring.org/project/05355 | 2.40.5 | 2.42.1 | webrtc-audio-processing | DISTRO | https://release-monitoring.org/project/15929 | 0.3.1 | 1.3 | ORPH weston | DISTRO | https://release-monitoring.org/project/13745 | 12.0.1 | 12.0.2 | whois | DISTRO | https://release-monitoring.org/project/05128 | 5.5.14 | 5.5.18 | wine | DISTRO | https://release-monitoring.org/project/05134 | 8.0.2 | 8.17 | wireless-regdb | DISTRO | https://release-monitoring.org/project/15257 | 2023.05.03 | 2023.09.01 | wireplumber | DISTRO | https://release-monitoring.org/project/235056 | 0.4.8 | 0.4.14 | ORPH wireshark | DISTRO | https://release-monitoring.org/project/05137 | 4.0.8 | 4.1.0 | ORPH wlroots | DISTRO | https://release-monitoring.org/project/18357 | 0.15.1 | 0.16.2 | wpewebkit | DISTRO | https://release-monitoring.org/project/17557 | 2.40.3 | 2.42.1 | wtfutil | DISTRO | https://release-monitoring.org/project/243189 | 0.41.0 | 0.43.0 | xapian | DISTRO | https://release-monitoring.org/project/15919 | 1.4.19 | 1.4.23 | xapp_fonttosfnt | DISTRO | https://release-monitoring.org/project/21723 | 1.2.2 | 1.2.3 | ORPH xapp_luit | DISTRO | https://release-monitoring.org/project/15047 | 1.1.1 | 20230201 | ORPH xcb-proto | DISTRO | https://release-monitoring.org/project/13646 | 1.15.2 | 1.16.0 | ORPH xdg-dbus-proxy | DISTRO | https://release-monitoring.org/project/58434 | 0.1.4 | 0.1.5 | xdriver_xf86-input-libinput | DISTRO | https://release-monitoring.org/project/05782 | 1.3.0 | 1.4.0 | ORPH xen | DISTRO | https://release-monitoring.org/project/05181 | 4.14.5 | 4.17.2 | xfont_font-adobe-utopia-75dpi | DISTRO | https://release-monitoring.org/project/17200 | 1.0.4 | 1.0.5 | ORPH xfont_font-util | DISTRO | https://release-monitoring.org/project/15055 | 1.4.0 | 1.4.1 | ORPH xinetd | DISTRO | https://release-monitoring.org/project/06382 | 2.3.15 | 2.3.15.4 | xkeyboard-config | DISTRO | https://release-monitoring.org/project/05191 | 2.38 | 2.39 | ORPH xorriso | DISTRO | https://release-monitoring.org/project/13270 | 1.5.4.pl02 | 1.5.6.pl02 | xscreensaver | DISTRO | https://release-monitoring.org/project/05269 | 6.03 | 6.07 | xtables-addons | DISTRO | https://release-monitoring.org/project/07736 | 3.22 | 3.24 | ORPH xterm | DISTRO | https://release-monitoring.org/project/05272 | 384 | 385 | ORPH xwayland | DISTRO | https://release-monitoring.org/project/180949 | 23.1.1 | 23.2.1 | yad | DISTRO | https://release-monitoring.org/project/05280 | 0.40.0 | 13.0 | yaml-cpp | DISTRO | https://release-monitoring.org/project/05284 | 0.7.0 | 0.8.0 | ORPH zabbix | DISTRO | https://release-monitoring.org/project/05492 | 6.2.7 | 6.4.7 | zchunk | DISTRO | https://release-monitoring.org/project/178035 | 1.2.2 | 1.3.1 | zeek | DISTRO | https://release-monitoring.org/project/267106 | 4.1.1 | 6.0.1 | zfs | DISTRO | https://release-monitoring.org/project/11706 | 2.1.12 | 2.1.13 | Packages having CVEs ==================== CVEs for the 'master' branch ---------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 asn1c | CVE-2020-23910 | https://security-tracker.debian.org/tracker/CVE-2020-23910 asn1c | CVE-2020-23911 | https://security-tracker.debian.org/tracker/CVE-2020-23911 assimp | CVE-2022-38528 | https://security-tracker.debian.org/tracker/CVE-2022-38528 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-3807 | https://security-tracker.debian.org/tracker/CVE-2022-3807 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2023-1972 | https://security-tracker.debian.org/tracker/CVE-2023-1972 binutils | CVE-2023-25584 | https://security-tracker.debian.org/tracker/CVE-2023-25584 binutils | CVE-2023-25585 | https://security-tracker.debian.org/tracker/CVE-2023-25585 binutils | CVE-2023-25586 | https://security-tracker.debian.org/tracker/CVE-2023-25586 binutils | CVE-2023-25588 | https://security-tracker.debian.org/tracker/CVE-2023-25588 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bitcoin | CVE-2023-33297 | https://security-tracker.debian.org/tracker/CVE-2023-33297 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 bwm-ng | CVE-2023-26129 | https://security-tracker.debian.org/tracker/CVE-2023-26129 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2023-4504 | https://security-tracker.debian.org/tracker/CVE-2023-4504 cups-filters | CVE-2023-24805 | https://security-tracker.debian.org/tracker/CVE-2023-24805 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 dht | CVE-2020-36562 | https://security-tracker.debian.org/tracker/CVE-2020-36562 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 dracut | CVE-2010-4176 | https://security-tracker.debian.org/tracker/CVE-2010-4176 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 emlog | CVE-2022-1526 | https://security-tracker.debian.org/tracker/CVE-2022-1526 emlog | CVE-2022-3968 | https://security-tracker.debian.org/tracker/CVE-2022-3968 emlog | CVE-2023-43291 | https://security-tracker.debian.org/tracker/CVE-2023-43291 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2022-3109 | https://security-tracker.debian.org/tracker/CVE-2022-3109 ffmpeg | CVE-2022-3341 | https://security-tracker.debian.org/tracker/CVE-2022-3341 ffmpeg | CVE-2022-3964 | https://security-tracker.debian.org/tracker/CVE-2022-3964 ffmpeg | CVE-2022-48434 | https://security-tracker.debian.org/tracker/CVE-2022-48434 freeradius-server | CVE-2002-0318 | https://security-tracker.debian.org/tracker/CVE-2002-0318 freeradius-server | CVE-2011-4966 | https://security-tracker.debian.org/tracker/CVE-2011-4966 ghostscript | CVE-2023-38559 | https://security-tracker.debian.org/tracker/CVE-2023-38559 ghostscript | CVE-2023-38560 | https://security-tracker.debian.org/tracker/CVE-2023-38560 giflib | CVE-2022-28506 | https://security-tracker.debian.org/tracker/CVE-2022-28506 giflib | CVE-2023-39742 | https://security-tracker.debian.org/tracker/CVE-2023-39742 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 glibc | CVE-2023-4527 | https://security-tracker.debian.org/tracker/CVE-2023-4527 glibc | CVE-2023-5156 | https://security-tracker.debian.org/tracker/CVE-2023-5156 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 gnupg | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 gnupg | CVE-2022-34903 | https://security-tracker.debian.org/tracker/CVE-2022-34903 gnupg2 | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grpc | CVE-2023-1428 | https://security-tracker.debian.org/tracker/CVE-2023-1428 grpc | CVE-2023-32732 | https://security-tracker.debian.org/tracker/CVE-2023-32732 grpc | CVE-2023-33953 | https://security-tracker.debian.org/tracker/CVE-2023-33953 grpc | CVE-2023-4785 | https://security-tracker.debian.org/tracker/CVE-2023-4785 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2023-0056 | https://security-tracker.debian.org/tracker/CVE-2023-0056 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-5118 | https://security-tracker.debian.org/tracker/CVE-2016-5118 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 imagemagick | CVE-2023-1289 | https://security-tracker.debian.org/tracker/CVE-2023-1289 imagemagick | CVE-2023-2157 | https://security-tracker.debian.org/tracker/CVE-2023-2157 imagemagick | CVE-2023-34151 | https://security-tracker.debian.org/tracker/CVE-2023-34151 imagemagick | CVE-2023-34152 | https://security-tracker.debian.org/tracker/CVE-2023-34152 imagemagick | CVE-2023-34153 | https://security-tracker.debian.org/tracker/CVE-2023-34153 imagemagick | CVE-2023-34474 | https://security-tracker.debian.org/tracker/CVE-2023-34474 imagemagick | CVE-2023-34475 | https://security-tracker.debian.org/tracker/CVE-2023-34475 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 kvmtool | CVE-2021-45464 | https://security-tracker.debian.org/tracker/CVE-2021-45464 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libfreeimage | CVE-2020-21426 | https://security-tracker.debian.org/tracker/CVE-2020-21426 libfreeimage | CVE-2020-21427 | https://security-tracker.debian.org/tracker/CVE-2020-21427 libfreeimage | CVE-2020-21428 | https://security-tracker.debian.org/tracker/CVE-2020-21428 libfreeimage | CVE-2021-33367 | https://security-tracker.debian.org/tracker/CVE-2021-33367 libgtk2 | CVE-2014-1949 | https://security-tracker.debian.org/tracker/CVE-2014-1949 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libkrb5 | CVE-2023-36054 | https://security-tracker.debian.org/tracker/CVE-2023-36054 libkrb5 | CVE-2023-39975 | https://security-tracker.debian.org/tracker/CVE-2023-39975 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libmpeg2 | CVE-2022-37416 | https://security-tracker.debian.org/tracker/CVE-2022-37416 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libraw | CVE-2020-22628 | https://security-tracker.debian.org/tracker/CVE-2020-22628 libsndfile | CVE-2022-33065 | https://security-tracker.debian.org/tracker/CVE-2022-33065 libtommath | CVE-2023-36328 | https://security-tracker.debian.org/tracker/CVE-2023-36328 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 libvirt | CVE-2023-3750 | https://security-tracker.debian.org/tracker/CVE-2023-3750 lrzip | CVE-2022-33067 | https://security-tracker.debian.org/tracker/CVE-2022-33067 lrzip | CVE-2023-39741 | https://security-tracker.debian.org/tracker/CVE-2023-39741 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 mbedtls | CVE-2021-36647 | https://security-tracker.debian.org/tracker/CVE-2021-36647 mbedtls | CVE-2021-43666 | https://security-tracker.debian.org/tracker/CVE-2021-43666 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mdadm | CVE-2023-28736 | https://security-tracker.debian.org/tracker/CVE-2023-28736 mdadm | CVE-2023-28938 | https://security-tracker.debian.org/tracker/CVE-2023-28938 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 nasm | CVE-2022-46456 | https://security-tracker.debian.org/tracker/CVE-2022-46456 netdata | CVE-2023-22496 | https://security-tracker.debian.org/tracker/CVE-2023-22496 netdata | CVE-2023-22497 | https://security-tracker.debian.org/tracker/CVE-2023-22497 netsnmp | CVE-2022-44792 | https://security-tracker.debian.org/tracker/CVE-2022-44792 netsnmp | CVE-2022-44793 | https://security-tracker.debian.org/tracker/CVE-2022-44793 ninja | CVE-2021-4336 | https://security-tracker.debian.org/tracker/CVE-2021-4336 nodejs | CVE-2023-32002 | https://security-tracker.debian.org/tracker/CVE-2023-32002 nodejs | CVE-2023-32006 | https://security-tracker.debian.org/tracker/CVE-2023-32006 nodejs | CVE-2023-32559 | https://security-tracker.debian.org/tracker/CVE-2023-32559 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 open-iscsi | CVE-2020-13987 | https://security-tracker.debian.org/tracker/CVE-2020-13987 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 opencv3 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 opencv4 | CVE-2023-2617 | https://security-tracker.debian.org/tracker/CVE-2023-2617 opencv4 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openldap | CVE-2022-29155 | https://security-tracker.debian.org/tracker/CVE-2022-29155 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 openvmtools | CVE-2014-4199 | https://security-tracker.debian.org/tracker/CVE-2014-4199 openvmtools | CVE-2014-4200 | https://security-tracker.debian.org/tracker/CVE-2014-4200 openvmtools | CVE-2021-31693 | https://security-tracker.debian.org/tracker/CVE-2021-31693 openvmtools | CVE-2022-22943 | https://security-tracker.debian.org/tracker/CVE-2022-22943 openvmtools | CVE-2022-31693 | https://security-tracker.debian.org/tracker/CVE-2022-31693 openvmtools | CVE-2023-20867 | https://security-tracker.debian.org/tracker/CVE-2023-20867 openvmtools | CVE-2023-20900 | https://security-tracker.debian.org/tracker/CVE-2023-20900 opus | CVE-2022-25345 | https://security-tracker.debian.org/tracker/CVE-2022-25345 oracle-mysql | CVE-2012-0583 | https://security-tracker.debian.org/tracker/CVE-2012-0583 oracle-mysql | CVE-2012-1696 | https://security-tracker.debian.org/tracker/CVE-2012-1696 oracle-mysql | CVE-2012-3144 | https://security-tracker.debian.org/tracker/CVE-2012-3144 oracle-mysql | CVE-2012-3147 | https://security-tracker.debian.org/tracker/CVE-2012-3147 oracle-mysql | CVE-2012-3149 | https://security-tracker.debian.org/tracker/CVE-2012-3149 oracle-mysql | CVE-2012-3156 | https://security-tracker.debian.org/tracker/CVE-2012-3156 oracle-mysql | CVE-2012-4414 | https://security-tracker.debian.org/tracker/CVE-2012-4414 oracle-mysql | CVE-2013-1566 | https://security-tracker.debian.org/tracker/CVE-2013-1566 oracle-mysql | CVE-2013-1567 | https://security-tracker.debian.org/tracker/CVE-2013-1567 oracle-mysql | CVE-2013-1570 | https://security-tracker.debian.org/tracker/CVE-2013-1570 oracle-mysql | CVE-2013-2381 | https://security-tracker.debian.org/tracker/CVE-2013-2381 oracle-mysql | CVE-2013-2395 | https://security-tracker.debian.org/tracker/CVE-2013-2395 oracle-mysql | CVE-2013-3795 | https://security-tracker.debian.org/tracker/CVE-2013-3795 oracle-mysql | CVE-2013-3796 | https://security-tracker.debian.org/tracker/CVE-2013-3796 oracle-mysql | CVE-2013-3798 | https://security-tracker.debian.org/tracker/CVE-2013-3798 oracle-mysql | CVE-2013-3806 | https://security-tracker.debian.org/tracker/CVE-2013-3806 oracle-mysql | CVE-2013-3807 | https://security-tracker.debian.org/tracker/CVE-2013-3807 oracle-mysql | CVE-2013-3810 | https://security-tracker.debian.org/tracker/CVE-2013-3810 oracle-mysql | CVE-2013-3811 | https://security-tracker.debian.org/tracker/CVE-2013-3811 oracle-mysql | CVE-2013-5767 | https://security-tracker.debian.org/tracker/CVE-2013-5767 oracle-mysql | CVE-2013-5770 | https://security-tracker.debian.org/tracker/CVE-2013-5770 oracle-mysql | CVE-2013-5786 | https://security-tracker.debian.org/tracker/CVE-2013-5786 oracle-mysql | CVE-2013-5793 | https://security-tracker.debian.org/tracker/CVE-2013-5793 oracle-mysql | CVE-2013-5860 | https://security-tracker.debian.org/tracker/CVE-2013-5860 oracle-mysql | CVE-2013-5881 | https://security-tracker.debian.org/tracker/CVE-2013-5881 oracle-mysql | CVE-2013-5882 | https://security-tracker.debian.org/tracker/CVE-2013-5882 oracle-mysql | CVE-2013-5894 | https://security-tracker.debian.org/tracker/CVE-2013-5894 oracle-mysql | CVE-2014-0427 | https://security-tracker.debian.org/tracker/CVE-2014-0427 oracle-mysql | CVE-2014-0430 | https://security-tracker.debian.org/tracker/CVE-2014-0430 oracle-mysql | CVE-2014-0431 | https://security-tracker.debian.org/tracker/CVE-2014-0431 oracle-mysql | CVE-2014-0433 | https://security-tracker.debian.org/tracker/CVE-2014-0433 oracle-mysql | CVE-2014-2434 | https://security-tracker.debian.org/tracker/CVE-2014-2434 oracle-mysql | CVE-2014-2435 | https://security-tracker.debian.org/tracker/CVE-2014-2435 oracle-mysql | CVE-2014-2442 | https://security-tracker.debian.org/tracker/CVE-2014-2442 oracle-mysql | CVE-2014-2444 | https://security-tracker.debian.org/tracker/CVE-2014-2444 oracle-mysql | CVE-2014-2450 | https://security-tracker.debian.org/tracker/CVE-2014-2450 oracle-mysql | CVE-2014-2451 | https://security-tracker.debian.org/tracker/CVE-2014-2451 oracle-mysql | CVE-2014-2484 | https://security-tracker.debian.org/tracker/CVE-2014-2484 oracle-mysql | CVE-2014-4214 | https://security-tracker.debian.org/tracker/CVE-2014-4214 oracle-mysql | CVE-2014-4233 | https://security-tracker.debian.org/tracker/CVE-2014-4233 oracle-mysql | CVE-2014-4238 | https://security-tracker.debian.org/tracker/CVE-2014-4238 oracle-mysql | CVE-2014-4240 | https://security-tracker.debian.org/tracker/CVE-2014-4240 oracle-mysql | CVE-2015-0385 | https://security-tracker.debian.org/tracker/CVE-2015-0385 oracle-mysql | CVE-2015-0405 | https://security-tracker.debian.org/tracker/CVE-2015-0405 oracle-mysql | CVE-2015-0409 | https://security-tracker.debian.org/tracker/CVE-2015-0409 oracle-mysql | CVE-2015-0423 | https://security-tracker.debian.org/tracker/CVE-2015-0423 oracle-mysql | CVE-2015-0438 | https://security-tracker.debian.org/tracker/CVE-2015-0438 oracle-mysql | CVE-2015-0439 | https://security-tracker.debian.org/tracker/CVE-2015-0439 oracle-mysql | CVE-2015-0498 | https://security-tracker.debian.org/tracker/CVE-2015-0498 oracle-mysql | CVE-2015-0500 | https://security-tracker.debian.org/tracker/CVE-2015-0500 oracle-mysql | CVE-2015-0503 | https://security-tracker.debian.org/tracker/CVE-2015-0503 oracle-mysql | CVE-2015-0506 | https://security-tracker.debian.org/tracker/CVE-2015-0506 oracle-mysql | CVE-2015-0507 | https://security-tracker.debian.org/tracker/CVE-2015-0507 oracle-mysql | CVE-2015-0508 | https://security-tracker.debian.org/tracker/CVE-2015-0508 oracle-mysql | CVE-2015-0511 | https://security-tracker.debian.org/tracker/CVE-2015-0511 oracle-mysql | CVE-2015-2566 | https://security-tracker.debian.org/tracker/CVE-2015-2566 oracle-mysql | CVE-2015-2567 | https://security-tracker.debian.org/tracker/CVE-2015-2567 oracle-mysql | CVE-2015-2611 | https://security-tracker.debian.org/tracker/CVE-2015-2611 oracle-mysql | CVE-2015-2617 | https://security-tracker.debian.org/tracker/CVE-2015-2617 oracle-mysql | CVE-2015-2639 | https://security-tracker.debian.org/tracker/CVE-2015-2639 oracle-mysql | CVE-2015-2641 | https://security-tracker.debian.org/tracker/CVE-2015-2641 oracle-mysql | CVE-2015-2661 | https://security-tracker.debian.org/tracker/CVE-2015-2661 oracle-mysql | CVE-2015-3152 | https://security-tracker.debian.org/tracker/CVE-2015-3152 oracle-mysql | CVE-2015-4730 | https://security-tracker.debian.org/tracker/CVE-2015-4730 oracle-mysql | CVE-2015-4756 | https://security-tracker.debian.org/tracker/CVE-2015-4756 oracle-mysql | CVE-2015-4761 | https://security-tracker.debian.org/tracker/CVE-2015-4761 oracle-mysql | CVE-2015-4766 | https://security-tracker.debian.org/tracker/CVE-2015-4766 oracle-mysql | CVE-2015-4767 | https://security-tracker.debian.org/tracker/CVE-2015-4767 oracle-mysql | CVE-2015-4769 | https://security-tracker.debian.org/tracker/CVE-2015-4769 oracle-mysql | CVE-2015-4771 | https://security-tracker.debian.org/tracker/CVE-2015-4771 oracle-mysql | CVE-2015-4772 | https://security-tracker.debian.org/tracker/CVE-2015-4772 oracle-mysql | CVE-2015-4791 | https://security-tracker.debian.org/tracker/CVE-2015-4791 oracle-mysql | CVE-2015-4800 | https://security-tracker.debian.org/tracker/CVE-2015-4800 oracle-mysql | CVE-2015-4833 | https://security-tracker.debian.org/tracker/CVE-2015-4833 oracle-mysql | CVE-2015-4862 | https://security-tracker.debian.org/tracker/CVE-2015-4862 oracle-mysql | CVE-2015-4890 | https://security-tracker.debian.org/tracker/CVE-2015-4890 oracle-mysql | CVE-2015-4904 | https://security-tracker.debian.org/tracker/CVE-2015-4904 oracle-mysql | CVE-2015-4905 | https://security-tracker.debian.org/tracker/CVE-2015-4905 oracle-mysql | CVE-2015-4910 | https://security-tracker.debian.org/tracker/CVE-2015-4910 oracle-mysql | CVE-2016-0503 | https://security-tracker.debian.org/tracker/CVE-2016-0503 oracle-mysql | CVE-2016-0504 | https://security-tracker.debian.org/tracker/CVE-2016-0504 oracle-mysql | CVE-2016-0594 | https://security-tracker.debian.org/tracker/CVE-2016-0594 oracle-mysql | CVE-2016-0595 | https://security-tracker.debian.org/tracker/CVE-2016-0595 oracle-mysql | CVE-2016-0607 | https://security-tracker.debian.org/tracker/CVE-2016-0607 oracle-mysql | CVE-2016-0610 | https://security-tracker.debian.org/tracker/CVE-2016-0610 oracle-mysql | CVE-2016-0611 | https://security-tracker.debian.org/tracker/CVE-2016-0611 oracle-mysql | CVE-2016-0616 | https://security-tracker.debian.org/tracker/CVE-2016-0616 oracle-mysql | CVE-2016-0652 | https://security-tracker.debian.org/tracker/CVE-2016-0652 oracle-mysql | CVE-2016-0653 | https://security-tracker.debian.org/tracker/CVE-2016-0653 oracle-mysql | CVE-2016-0654 | https://security-tracker.debian.org/tracker/CVE-2016-0654 oracle-mysql | CVE-2016-0656 | https://security-tracker.debian.org/tracker/CVE-2016-0656 oracle-mysql | CVE-2016-0657 | https://security-tracker.debian.org/tracker/CVE-2016-0657 oracle-mysql | CVE-2016-0658 | https://security-tracker.debian.org/tracker/CVE-2016-0658 oracle-mysql | CVE-2016-0659 | https://security-tracker.debian.org/tracker/CVE-2016-0659 oracle-mysql | CVE-2016-0662 | https://security-tracker.debian.org/tracker/CVE-2016-0662 oracle-mysql | CVE-2016-0663 | https://security-tracker.debian.org/tracker/CVE-2016-0663 oracle-mysql | CVE-2016-0667 | https://security-tracker.debian.org/tracker/CVE-2016-0667 oracle-mysql | CVE-2016-3424 | https://security-tracker.debian.org/tracker/CVE-2016-3424 oracle-mysql | CVE-2016-3440 | https://security-tracker.debian.org/tracker/CVE-2016-3440 oracle-mysql | CVE-2016-3518 | https://security-tracker.debian.org/tracker/CVE-2016-3518 oracle-mysql | CVE-2016-3588 | https://security-tracker.debian.org/tracker/CVE-2016-3588 oracle-mysql | CVE-2016-5436 | https://security-tracker.debian.org/tracker/CVE-2016-5436 oracle-mysql | CVE-2016-5437 | https://security-tracker.debian.org/tracker/CVE-2016-5437 oracle-mysql | CVE-2016-5441 | https://security-tracker.debian.org/tracker/CVE-2016-5441 oracle-mysql | CVE-2016-5442 | https://security-tracker.debian.org/tracker/CVE-2016-5442 oracle-mysql | CVE-2016-5443 | https://security-tracker.debian.org/tracker/CVE-2016-5443 oracle-mysql | CVE-2016-5628 | https://security-tracker.debian.org/tracker/CVE-2016-5628 oracle-mysql | CVE-2016-5631 | https://security-tracker.debian.org/tracker/CVE-2016-5631 oracle-mysql | CVE-2016-5632 | https://security-tracker.debian.org/tracker/CVE-2016-5632 oracle-mysql | CVE-2016-5633 | https://security-tracker.debian.org/tracker/CVE-2016-5633 oracle-mysql | CVE-2016-5634 | https://security-tracker.debian.org/tracker/CVE-2016-5634 oracle-mysql | CVE-2016-5635 | https://security-tracker.debian.org/tracker/CVE-2016-5635 oracle-mysql | CVE-2016-8286 | https://security-tracker.debian.org/tracker/CVE-2016-8286 oracle-mysql | CVE-2016-8287 | https://security-tracker.debian.org/tracker/CVE-2016-8287 oracle-mysql | CVE-2016-8289 | https://security-tracker.debian.org/tracker/CVE-2016-8289 oracle-mysql | CVE-2016-8290 | https://security-tracker.debian.org/tracker/CVE-2016-8290 oracle-mysql | CVE-2017-10165 | https://security-tracker.debian.org/tracker/CVE-2017-10165 oracle-mysql | CVE-2017-10167 | https://security-tracker.debian.org/tracker/CVE-2017-10167 oracle-mysql | CVE-2017-10284 | https://security-tracker.debian.org/tracker/CVE-2017-10284 oracle-mysql | CVE-2017-10296 | https://security-tracker.debian.org/tracker/CVE-2017-10296 oracle-mysql | CVE-2017-10311 | https://security-tracker.debian.org/tracker/CVE-2017-10311 oracle-mysql | CVE-2017-10313 | https://security-tracker.debian.org/tracker/CVE-2017-10313 oracle-mysql | CVE-2017-3251 | https://security-tracker.debian.org/tracker/CVE-2017-3251 oracle-mysql | CVE-2017-3256 | https://security-tracker.debian.org/tracker/CVE-2017-3256 oracle-mysql | CVE-2017-3319 | https://security-tracker.debian.org/tracker/CVE-2017-3319 oracle-mysql | CVE-2017-3320 | https://security-tracker.debian.org/tracker/CVE-2017-3320 oracle-mysql | CVE-2017-3452 | https://security-tracker.debian.org/tracker/CVE-2017-3452 oracle-mysql | CVE-2017-3454 | https://security-tracker.debian.org/tracker/CVE-2017-3454 oracle-mysql | CVE-2017-3455 | https://security-tracker.debian.org/tracker/CVE-2017-3455 oracle-mysql | CVE-2017-3457 | https://security-tracker.debian.org/tracker/CVE-2017-3457 oracle-mysql | CVE-2017-3458 | https://security-tracker.debian.org/tracker/CVE-2017-3458 oracle-mysql | CVE-2017-3459 | https://security-tracker.debian.org/tracker/CVE-2017-3459 oracle-mysql | CVE-2017-3460 | https://security-tracker.debian.org/tracker/CVE-2017-3460 oracle-mysql | CVE-2017-3465 | https://security-tracker.debian.org/tracker/CVE-2017-3465 oracle-mysql | CVE-2017-3467 | https://security-tracker.debian.org/tracker/CVE-2017-3467 oracle-mysql | CVE-2017-3468 | https://security-tracker.debian.org/tracker/CVE-2017-3468 oracle-mysql | CVE-2017-3529 | https://security-tracker.debian.org/tracker/CVE-2017-3529 oracle-mysql | CVE-2017-3637 | https://security-tracker.debian.org/tracker/CVE-2017-3637 oracle-mysql | CVE-2017-3638 | https://security-tracker.debian.org/tracker/CVE-2017-3638 oracle-mysql | CVE-2017-3639 | https://security-tracker.debian.org/tracker/CVE-2017-3639 oracle-mysql | CVE-2017-3640 | https://security-tracker.debian.org/tracker/CVE-2017-3640 oracle-mysql | CVE-2017-3642 | https://security-tracker.debian.org/tracker/CVE-2017-3642 oracle-mysql | CVE-2017-3643 | https://security-tracker.debian.org/tracker/CVE-2017-3643 oracle-mysql | CVE-2017-3644 | https://security-tracker.debian.org/tracker/CVE-2017-3644 oracle-mysql | CVE-2017-3645 | https://security-tracker.debian.org/tracker/CVE-2017-3645 oracle-mysql | CVE-2017-3646 | https://security-tracker.debian.org/tracker/CVE-2017-3646 oracle-mysql | CVE-2017-3650 | https://security-tracker.debian.org/tracker/CVE-2017-3650 oracle-mysql | CVE-2018-0735 | https://security-tracker.debian.org/tracker/CVE-2018-0735 oracle-mysql | CVE-2018-3061 | https://security-tracker.debian.org/tracker/CVE-2018-3061 oracle-mysql | CVE-2018-3071 | https://security-tracker.debian.org/tracker/CVE-2018-3071 oracle-mysql | CVE-2019-2731 | https://security-tracker.debian.org/tracker/CVE-2019-2731 oracle-mysql | CVE-2019-2741 | https://security-tracker.debian.org/tracker/CVE-2019-2741 oracle-mysql | CVE-2019-2755 | https://security-tracker.debian.org/tracker/CVE-2019-2755 oracle-mysql | CVE-2019-2757 | https://security-tracker.debian.org/tracker/CVE-2019-2757 oracle-mysql | CVE-2019-7317 | https://security-tracker.debian.org/tracker/CVE-2019-7317 oracle-mysql | CVE-2020-14760 | https://security-tracker.debian.org/tracker/CVE-2020-14760 oracle-mysql | CVE-2020-14814 | https://security-tracker.debian.org/tracker/CVE-2020-14814 oracle-mysql | CVE-2020-14830 | https://security-tracker.debian.org/tracker/CVE-2020-14830 oracle-mysql | CVE-2020-14837 | https://security-tracker.debian.org/tracker/CVE-2020-14837 oracle-mysql | CVE-2020-14839 | https://security-tracker.debian.org/tracker/CVE-2020-14839 oracle-mysql | CVE-2020-14845 | https://security-tracker.debian.org/tracker/CVE-2020-14845 oracle-mysql | CVE-2020-14846 | https://security-tracker.debian.org/tracker/CVE-2020-14846 oracle-mysql | CVE-2020-14852 | https://security-tracker.debian.org/tracker/CVE-2020-14852 oracle-mysql | CVE-2020-15358 | https://security-tracker.debian.org/tracker/CVE-2020-15358 oracle-mysql | CVE-2020-1967 | https://security-tracker.debian.org/tracker/CVE-2020-1967 oracle-mysql | CVE-2020-1971 | https://security-tracker.debian.org/tracker/CVE-2020-1971 oracle-mysql | CVE-2021-22570 | https://security-tracker.debian.org/tracker/CVE-2021-22570 oracle-mysql | CVE-2021-2356 | https://security-tracker.debian.org/tracker/CVE-2021-2356 oracle-mysql | CVE-2022-21417 | https://security-tracker.debian.org/tracker/CVE-2022-21417 oracle-mysql | CVE-2022-21444 | https://security-tracker.debian.org/tracker/CVE-2022-21444 oracle-mysql | CVE-2023-21977 | https://security-tracker.debian.org/tracker/CVE-2023-21977 oracle-mysql | CVE-2023-21980 | https://security-tracker.debian.org/tracker/CVE-2023-21980 oracle-mysql | CVE-2023-22007 | https://security-tracker.debian.org/tracker/CVE-2023-22007 oracle-mysql | CVE-2023-22053 | https://security-tracker.debian.org/tracker/CVE-2023-22053 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 perl | CVE-2023-31484 | https://security-tracker.debian.org/tracker/CVE-2023-31484 perl | CVE-2023-31486 | https://security-tracker.debian.org/tracker/CVE-2023-31486 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 pkgconf | CVE-2023-24056 | https://security-tracker.debian.org/tracker/CVE-2023-24056 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 python-py | CVE-2022-42969 | https://security-tracker.debian.org/tracker/CVE-2022-42969 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2023-1386 | https://security-tracker.debian.org/tracker/CVE-2023-1386 qemu | CVE-2023-2680 | https://security-tracker.debian.org/tracker/CVE-2023-2680 qemu | CVE-2023-3019 | https://security-tracker.debian.org/tracker/CVE-2023-3019 qemu | CVE-2023-3180 | https://security-tracker.debian.org/tracker/CVE-2023-3180 qemu | CVE-2023-3354 | https://security-tracker.debian.org/tracker/CVE-2023-3354 qemu | CVE-2023-4135 | https://security-tracker.debian.org/tracker/CVE-2023-4135 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-c | CVE-2023-35789 | https://security-tracker.debian.org/tracker/CVE-2023-35789 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rust | CVE-2023-40030 | https://security-tracker.debian.org/tracker/CVE-2023-40030 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-14628 | https://security-tracker.debian.org/tracker/CVE-2018-14628 samba4 | CVE-2021-3670 | https://security-tracker.debian.org/tracker/CVE-2021-3670 samba4 | CVE-2022-1615 | https://security-tracker.debian.org/tracker/CVE-2022-1615 samba4 | CVE-2022-32743 | https://security-tracker.debian.org/tracker/CVE-2022-32743 samba4 | CVE-2022-37966 | https://security-tracker.debian.org/tracker/CVE-2022-37966 samba4 | CVE-2022-37967 | https://security-tracker.debian.org/tracker/CVE-2022-37967 samba4 | CVE-2022-38023 | https://security-tracker.debian.org/tracker/CVE-2022-38023 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 shadow | CVE-2013-4235 | https://security-tracker.debian.org/tracker/CVE-2013-4235 shim | CVE-2022-28737 | https://security-tracker.debian.org/tracker/CVE-2022-28737 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 speechd | CVE-2001-0956 | https://security-tracker.debian.org/tracker/CVE-2001-0956 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 sudo | CVE-2023-27320 | https://security-tracker.debian.org/tracker/CVE-2023-27320 syslog-ng | CVE-2022-38725 | https://security-tracker.debian.org/tracker/CVE-2022-38725 sysstat | CVE-2023-33204 | https://security-tracker.debian.org/tracker/CVE-2023-33204 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 tpm2-tss | CVE-2023-22745 | https://security-tracker.debian.org/tracker/CVE-2023-22745 uboot-tools | CVE-2022-2347 | https://security-tracker.debian.org/tracker/CVE-2022-2347 uboot-tools | CVE-2022-30767 | https://security-tracker.debian.org/tracker/CVE-2022-30767 uboot-tools | CVE-2022-33103 | https://security-tracker.debian.org/tracker/CVE-2022-33103 uboot-tools | CVE-2022-34835 | https://security-tracker.debian.org/tracker/CVE-2022-34835 unrar | CVE-2022-30333 | https://security-tracker.debian.org/tracker/CVE-2022-30333 unzip | CVE-2021-4217 | https://security-tracker.debian.org/tracker/CVE-2021-4217 upx | CVE-2023-23456 | https://security-tracker.debian.org/tracker/CVE-2023-23456 upx | CVE-2023-23457 | https://security-tracker.debian.org/tracker/CVE-2023-23457 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-21123 | https://security-tracker.debian.org/tracker/CVE-2022-21123 xen | CVE-2022-21125 | https://security-tracker.debian.org/tracker/CVE-2022-21125 xen | CVE-2022-21127 | https://security-tracker.debian.org/tracker/CVE-2022-21127 xen | CVE-2022-21166 | https://security-tracker.debian.org/tracker/CVE-2022-21166 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23824 | https://security-tracker.debian.org/tracker/CVE-2022-23824 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xen | CVE-2022-26362 | https://security-tracker.debian.org/tracker/CVE-2022-26362 xen | CVE-2022-26363 | https://security-tracker.debian.org/tracker/CVE-2022-26363 xen | CVE-2022-26364 | https://security-tracker.debian.org/tracker/CVE-2022-26364 xen | CVE-2022-26365 | https://security-tracker.debian.org/tracker/CVE-2022-26365 xen | CVE-2022-29900 | https://security-tracker.debian.org/tracker/CVE-2022-29900 xen | CVE-2022-29901 | https://security-tracker.debian.org/tracker/CVE-2022-29901 xen | CVE-2022-33740 | https://security-tracker.debian.org/tracker/CVE-2022-33740 xen | CVE-2022-33741 | https://security-tracker.debian.org/tracker/CVE-2022-33741 xen | CVE-2022-33742 | https://security-tracker.debian.org/tracker/CVE-2022-33742 xen | CVE-2022-33743 | https://security-tracker.debian.org/tracker/CVE-2022-33743 xen | CVE-2022-33745 | https://security-tracker.debian.org/tracker/CVE-2022-33745 xen | CVE-2022-33746 | https://security-tracker.debian.org/tracker/CVE-2022-33746 xen | CVE-2022-33747 | https://security-tracker.debian.org/tracker/CVE-2022-33747 xen | CVE-2022-33748 | https://security-tracker.debian.org/tracker/CVE-2022-33748 xen | CVE-2022-40982 | https://security-tracker.debian.org/tracker/CVE-2022-40982 xen | CVE-2022-42309 | https://security-tracker.debian.org/tracker/CVE-2022-42309 xen | CVE-2022-42311 | https://security-tracker.debian.org/tracker/CVE-2022-42311 xen | CVE-2022-42312 | https://security-tracker.debian.org/tracker/CVE-2022-42312 xen | CVE-2022-42313 | https://security-tracker.debian.org/tracker/CVE-2022-42313 xen | CVE-2022-42314 | https://security-tracker.debian.org/tracker/CVE-2022-42314 xen | CVE-2022-42315 | https://security-tracker.debian.org/tracker/CVE-2022-42315 xen | CVE-2022-42316 | https://security-tracker.debian.org/tracker/CVE-2022-42316 xen | CVE-2022-42317 | https://security-tracker.debian.org/tracker/CVE-2022-42317 xen | CVE-2022-42318 | https://security-tracker.debian.org/tracker/CVE-2022-42318 xen | CVE-2022-42319 | https://security-tracker.debian.org/tracker/CVE-2022-42319 xen | CVE-2022-42320 | https://security-tracker.debian.org/tracker/CVE-2022-42320 xen | CVE-2022-42321 | https://security-tracker.debian.org/tracker/CVE-2022-42321 xen | CVE-2022-42322 | https://security-tracker.debian.org/tracker/CVE-2022-42322 xen | CVE-2022-42323 | https://security-tracker.debian.org/tracker/CVE-2022-42323 xen | CVE-2022-42324 | https://security-tracker.debian.org/tracker/CVE-2022-42324 xen | CVE-2022-42325 | https://security-tracker.debian.org/tracker/CVE-2022-42325 xen | CVE-2022-42326 | https://security-tracker.debian.org/tracker/CVE-2022-42326 xen | CVE-2022-42331 | https://security-tracker.debian.org/tracker/CVE-2022-42331 xen | CVE-2022-42332 | https://security-tracker.debian.org/tracker/CVE-2022-42332 xen | CVE-2022-42333 | https://security-tracker.debian.org/tracker/CVE-2022-42333 xen | CVE-2022-42334 | https://security-tracker.debian.org/tracker/CVE-2022-42334 xen | CVE-2023-34319 | https://security-tracker.debian.org/tracker/CVE-2023-34319 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 yajl | CVE-2023-33460 | https://security-tracker.debian.org/tracker/CVE-2023-33460 yasm | CVE-2021-33454 | https://security-tracker.debian.org/tracker/CVE-2021-33454 yasm | CVE-2021-33455 | https://security-tracker.debian.org/tracker/CVE-2021-33455 yasm | CVE-2021-33456 | https://security-tracker.debian.org/tracker/CVE-2021-33456 yasm | CVE-2021-33457 | https://security-tracker.debian.org/tracker/CVE-2021-33457 yasm | CVE-2021-33458 | https://security-tracker.debian.org/tracker/CVE-2021-33458 yasm | CVE-2021-33459 | https://security-tracker.debian.org/tracker/CVE-2021-33459 yasm | CVE-2021-33460 | https://security-tracker.debian.org/tracker/CVE-2021-33460 yasm | CVE-2021-33461 | https://security-tracker.debian.org/tracker/CVE-2021-33461 yasm | CVE-2021-33462 | https://security-tracker.debian.org/tracker/CVE-2021-33462 yasm | CVE-2021-33463 | https://security-tracker.debian.org/tracker/CVE-2021-33463 yasm | CVE-2021-33464 | https://security-tracker.debian.org/tracker/CVE-2021-33464 yasm | CVE-2021-33465 | https://security-tracker.debian.org/tracker/CVE-2021-33465 yasm | CVE-2021-33466 | https://security-tracker.debian.org/tracker/CVE-2021-33466 yasm | CVE-2021-33467 | https://security-tracker.debian.org/tracker/CVE-2021-33467 yasm | CVE-2021-33468 | https://security-tracker.debian.org/tracker/CVE-2021-33468 yasm | CVE-2023-30402 | https://security-tracker.debian.org/tracker/CVE-2023-30402 yasm | CVE-2023-31972 | https://security-tracker.debian.org/tracker/CVE-2023-31972 yasm | CVE-2023-31973 | https://security-tracker.debian.org/tracker/CVE-2023-31973 yasm | CVE-2023-31974 | https://security-tracker.debian.org/tracker/CVE-2023-31974 yasm | CVE-2023-31975 | https://security-tracker.debian.org/tracker/CVE-2023-31975 zbar | CVE-2023-40889 | https://security-tracker.debian.org/tracker/CVE-2023-40889 zbar | CVE-2023-40890 | https://security-tracker.debian.org/tracker/CVE-2023-40890 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 CVEs for the '2023.02.x' branch ------------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 asn1c | CVE-2020-23910 | https://security-tracker.debian.org/tracker/CVE-2020-23910 asn1c | CVE-2020-23911 | https://security-tracker.debian.org/tracker/CVE-2020-23911 assimp | CVE-2022-38528 | https://security-tracker.debian.org/tracker/CVE-2022-38528 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-27607 | https://security-tracker.debian.org/tracker/CVE-2022-27607 bento4 | CVE-2022-35165 | https://security-tracker.debian.org/tracker/CVE-2022-35165 bento4 | CVE-2022-3662 | https://security-tracker.debian.org/tracker/CVE-2022-3662 bento4 | CVE-2022-3663 | https://security-tracker.debian.org/tracker/CVE-2022-3663 bento4 | CVE-2022-3664 | https://security-tracker.debian.org/tracker/CVE-2022-3664 bento4 | CVE-2022-3665 | https://security-tracker.debian.org/tracker/CVE-2022-3665 bento4 | CVE-2022-3666 | https://security-tracker.debian.org/tracker/CVE-2022-3666 bento4 | CVE-2022-3667 | https://security-tracker.debian.org/tracker/CVE-2022-3667 bento4 | CVE-2022-3668 | https://security-tracker.debian.org/tracker/CVE-2022-3668 bento4 | CVE-2022-3669 | https://security-tracker.debian.org/tracker/CVE-2022-3669 bento4 | CVE-2022-3670 | https://security-tracker.debian.org/tracker/CVE-2022-3670 bento4 | CVE-2022-3784 | https://security-tracker.debian.org/tracker/CVE-2022-3784 bento4 | CVE-2022-3785 | https://security-tracker.debian.org/tracker/CVE-2022-3785 bento4 | CVE-2022-3807 | https://security-tracker.debian.org/tracker/CVE-2022-3807 bento4 | CVE-2022-3809 | https://security-tracker.debian.org/tracker/CVE-2022-3809 bento4 | CVE-2022-3810 | https://security-tracker.debian.org/tracker/CVE-2022-3810 bento4 | CVE-2022-3812 | https://security-tracker.debian.org/tracker/CVE-2022-3812 bento4 | CVE-2022-3813 | https://security-tracker.debian.org/tracker/CVE-2022-3813 bento4 | CVE-2022-3814 | https://security-tracker.debian.org/tracker/CVE-2022-3814 bento4 | CVE-2022-3815 | https://security-tracker.debian.org/tracker/CVE-2022-3815 bento4 | CVE-2022-3816 | https://security-tracker.debian.org/tracker/CVE-2022-3816 bento4 | CVE-2022-3817 | https://security-tracker.debian.org/tracker/CVE-2022-3817 bento4 | CVE-2022-40438 | https://security-tracker.debian.org/tracker/CVE-2022-40438 bento4 | CVE-2022-40439 | https://security-tracker.debian.org/tracker/CVE-2022-40439 bento4 | CVE-2022-40736 | https://security-tracker.debian.org/tracker/CVE-2022-40736 bento4 | CVE-2022-40737 | https://security-tracker.debian.org/tracker/CVE-2022-40737 bento4 | CVE-2022-40738 | https://security-tracker.debian.org/tracker/CVE-2022-40738 bento4 | CVE-2022-40774 | https://security-tracker.debian.org/tracker/CVE-2022-40774 bento4 | CVE-2022-40775 | https://security-tracker.debian.org/tracker/CVE-2022-40775 bento4 | CVE-2022-40885 | https://security-tracker.debian.org/tracker/CVE-2022-40885 bento4 | CVE-2022-41419 | https://security-tracker.debian.org/tracker/CVE-2022-41419 bento4 | CVE-2022-41423 | https://security-tracker.debian.org/tracker/CVE-2022-41423 bento4 | CVE-2022-41424 | https://security-tracker.debian.org/tracker/CVE-2022-41424 bento4 | CVE-2022-41425 | https://security-tracker.debian.org/tracker/CVE-2022-41425 bento4 | CVE-2022-41426 | https://security-tracker.debian.org/tracker/CVE-2022-41426 bento4 | CVE-2022-41427 | https://security-tracker.debian.org/tracker/CVE-2022-41427 bento4 | CVE-2022-41428 | https://security-tracker.debian.org/tracker/CVE-2022-41428 bento4 | CVE-2022-41429 | https://security-tracker.debian.org/tracker/CVE-2022-41429 bento4 | CVE-2022-41430 | https://security-tracker.debian.org/tracker/CVE-2022-41430 bento4 | CVE-2022-41841 | https://security-tracker.debian.org/tracker/CVE-2022-41841 bento4 | CVE-2022-41845 | https://security-tracker.debian.org/tracker/CVE-2022-41845 bento4 | CVE-2022-41846 | https://security-tracker.debian.org/tracker/CVE-2022-41846 bento4 | CVE-2022-41847 | https://security-tracker.debian.org/tracker/CVE-2022-41847 bento4 | CVE-2022-43032 | https://security-tracker.debian.org/tracker/CVE-2022-43032 bento4 | CVE-2022-43033 | https://security-tracker.debian.org/tracker/CVE-2022-43033 bento4 | CVE-2022-43034 | https://security-tracker.debian.org/tracker/CVE-2022-43034 bento4 | CVE-2022-43035 | https://security-tracker.debian.org/tracker/CVE-2022-43035 bento4 | CVE-2022-43037 | https://security-tracker.debian.org/tracker/CVE-2022-43037 bento4 | CVE-2022-43038 | https://security-tracker.debian.org/tracker/CVE-2022-43038 bento4 | CVE-2022-4584 | https://security-tracker.debian.org/tracker/CVE-2022-4584 bento4 | CVE-2023-29573 | https://security-tracker.debian.org/tracker/CVE-2023-29573 bento4 | CVE-2023-29574 | https://security-tracker.debian.org/tracker/CVE-2023-29574 bento4 | CVE-2023-29575 | https://security-tracker.debian.org/tracker/CVE-2023-29575 bento4 | CVE-2023-29576 | https://security-tracker.debian.org/tracker/CVE-2023-29576 bento4 | CVE-2023-38666 | https://security-tracker.debian.org/tracker/CVE-2023-38666 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2022-38533 | https://security-tracker.debian.org/tracker/CVE-2022-38533 binutils | CVE-2022-4285 | https://security-tracker.debian.org/tracker/CVE-2022-4285 binutils | CVE-2022-44840 | https://security-tracker.debian.org/tracker/CVE-2022-44840 binutils | CVE-2022-45703 | https://security-tracker.debian.org/tracker/CVE-2022-45703 binutils | CVE-2022-47007 | https://security-tracker.debian.org/tracker/CVE-2022-47007 binutils | CVE-2022-47008 | https://security-tracker.debian.org/tracker/CVE-2022-47008 binutils | CVE-2022-47010 | https://security-tracker.debian.org/tracker/CVE-2022-47010 binutils | CVE-2022-47011 | https://security-tracker.debian.org/tracker/CVE-2022-47011 binutils | CVE-2022-47673 | https://security-tracker.debian.org/tracker/CVE-2022-47673 binutils | CVE-2022-47695 | https://security-tracker.debian.org/tracker/CVE-2022-47695 binutils | CVE-2022-47696 | https://security-tracker.debian.org/tracker/CVE-2022-47696 binutils | CVE-2022-48063 | https://security-tracker.debian.org/tracker/CVE-2022-48063 binutils | CVE-2022-48064 | https://security-tracker.debian.org/tracker/CVE-2022-48064 binutils | CVE-2022-48065 | https://security-tracker.debian.org/tracker/CVE-2022-48065 binutils | CVE-2023-1972 | https://security-tracker.debian.org/tracker/CVE-2023-1972 binutils | CVE-2023-25584 | https://security-tracker.debian.org/tracker/CVE-2023-25584 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bitcoin | CVE-2023-33297 | https://security-tracker.debian.org/tracker/CVE-2023-33297 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 bwm-ng | CVE-2023-26129 | https://security-tracker.debian.org/tracker/CVE-2023-26129 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2023-4504 | https://security-tracker.debian.org/tracker/CVE-2023-4504 cups-filters | CVE-2023-24805 | https://security-tracker.debian.org/tracker/CVE-2023-24805 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 dht | CVE-2020-36562 | https://security-tracker.debian.org/tracker/CVE-2020-36562 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 dracut | CVE-2010-4176 | https://security-tracker.debian.org/tracker/CVE-2010-4176 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 emlog | CVE-2022-1526 | https://security-tracker.debian.org/tracker/CVE-2022-1526 emlog | CVE-2022-3968 | https://security-tracker.debian.org/tracker/CVE-2022-3968 emlog | CVE-2023-43291 | https://security-tracker.debian.org/tracker/CVE-2023-43291 enlightenment | CVE-2022-37706 | https://security-tracker.debian.org/tracker/CVE-2022-37706 erlang | CVE-2020-35733 | https://security-tracker.debian.org/tracker/CVE-2020-35733 erlang | CVE-2022-37026 | https://security-tracker.debian.org/tracker/CVE-2022-37026 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2022-3109 | https://security-tracker.debian.org/tracker/CVE-2022-3109 ffmpeg | CVE-2022-3341 | https://security-tracker.debian.org/tracker/CVE-2022-3341 ffmpeg | CVE-2022-3964 | https://security-tracker.debian.org/tracker/CVE-2022-3964 ffmpeg | CVE-2022-48434 | https://security-tracker.debian.org/tracker/CVE-2022-48434 freeradius-server | CVE-2002-0318 | https://security-tracker.debian.org/tracker/CVE-2002-0318 freeradius-server | CVE-2011-4966 | https://security-tracker.debian.org/tracker/CVE-2011-4966 ghostscript | CVE-2023-38559 | https://security-tracker.debian.org/tracker/CVE-2023-38559 ghostscript | CVE-2023-38560 | https://security-tracker.debian.org/tracker/CVE-2023-38560 giflib | CVE-2022-28506 | https://security-tracker.debian.org/tracker/CVE-2022-28506 giflib | CVE-2023-39742 | https://security-tracker.debian.org/tracker/CVE-2023-39742 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 glibc | CVE-2023-4527 | https://security-tracker.debian.org/tracker/CVE-2023-4527 glibc | CVE-2023-5156 | https://security-tracker.debian.org/tracker/CVE-2023-5156 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 gnupg | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 gnupg | CVE-2022-34903 | https://security-tracker.debian.org/tracker/CVE-2022-34903 gnupg2 | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 go | CVE-2023-39318 | https://security-tracker.debian.org/tracker/CVE-2023-39318 go | CVE-2023-39319 | https://security-tracker.debian.org/tracker/CVE-2023-39319 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grpc | CVE-2023-1428 | https://security-tracker.debian.org/tracker/CVE-2023-1428 grpc | CVE-2023-32732 | https://security-tracker.debian.org/tracker/CVE-2023-32732 grpc | CVE-2023-33953 | https://security-tracker.debian.org/tracker/CVE-2023-33953 grpc | CVE-2023-4785 | https://security-tracker.debian.org/tracker/CVE-2023-4785 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2023-0056 | https://security-tracker.debian.org/tracker/CVE-2023-0056 harfbuzz | CVE-2023-25193 | https://security-tracker.debian.org/tracker/CVE-2023-25193 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-5118 | https://security-tracker.debian.org/tracker/CVE-2016-5118 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 imagemagick | CVE-2023-1289 | https://security-tracker.debian.org/tracker/CVE-2023-1289 imagemagick | CVE-2023-2157 | https://security-tracker.debian.org/tracker/CVE-2023-2157 imagemagick | CVE-2023-34151 | https://security-tracker.debian.org/tracker/CVE-2023-34151 imagemagick | CVE-2023-34152 | https://security-tracker.debian.org/tracker/CVE-2023-34152 imagemagick | CVE-2023-34153 | https://security-tracker.debian.org/tracker/CVE-2023-34153 imagemagick | CVE-2023-34474 | https://security-tracker.debian.org/tracker/CVE-2023-34474 imagemagick | CVE-2023-34475 | https://security-tracker.debian.org/tracker/CVE-2023-34475 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 kodi | CVE-2023-23082 | https://security-tracker.debian.org/tracker/CVE-2023-23082 kodi | CVE-2023-30207 | https://security-tracker.debian.org/tracker/CVE-2023-30207 kvmtool | CVE-2021-45464 | https://security-tracker.debian.org/tracker/CVE-2021-45464 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libarchive | CVE-2023-30571 | https://security-tracker.debian.org/tracker/CVE-2023-30571 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libfreeimage | CVE-2020-21426 | https://security-tracker.debian.org/tracker/CVE-2020-21426 libfreeimage | CVE-2020-21427 | https://security-tracker.debian.org/tracker/CVE-2020-21427 libfreeimage | CVE-2020-21428 | https://security-tracker.debian.org/tracker/CVE-2020-21428 libfreeimage | CVE-2021-33367 | https://security-tracker.debian.org/tracker/CVE-2021-33367 libglib2 | CVE-2023-29499 | https://security-tracker.debian.org/tracker/CVE-2023-29499 libglib2 | CVE-2023-32611 | https://security-tracker.debian.org/tracker/CVE-2023-32611 libglib2 | CVE-2023-32636 | https://security-tracker.debian.org/tracker/CVE-2023-32636 libglib2 | CVE-2023-32643 | https://security-tracker.debian.org/tracker/CVE-2023-32643 libglib2 | CVE-2023-32665 | https://security-tracker.debian.org/tracker/CVE-2023-32665 libgtk2 | CVE-2014-1949 | https://security-tracker.debian.org/tracker/CVE-2014-1949 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libkrb5 | CVE-2023-36054 | https://security-tracker.debian.org/tracker/CVE-2023-36054 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libmemcached | CVE-2023-27478 | https://security-tracker.debian.org/tracker/CVE-2023-27478 libmpeg2 | CVE-2022-37416 | https://security-tracker.debian.org/tracker/CVE-2022-37416 libopenssl | CVE-2023-4807 | https://security-tracker.debian.org/tracker/CVE-2023-4807 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libraw | CVE-2020-22628 | https://security-tracker.debian.org/tracker/CVE-2020-22628 libsndfile | CVE-2022-33065 | https://security-tracker.debian.org/tracker/CVE-2022-33065 libssh2 | CVE-2020-22218 | https://security-tracker.debian.org/tracker/CVE-2020-22218 libtommath | CVE-2023-36328 | https://security-tracker.debian.org/tracker/CVE-2023-36328 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 libvirt | CVE-2023-3750 | https://security-tracker.debian.org/tracker/CVE-2023-3750 linux-pam | CVE-2022-28321 | https://security-tracker.debian.org/tracker/CVE-2022-28321 lrzip | CVE-2022-33067 | https://security-tracker.debian.org/tracker/CVE-2022-33067 lrzip | CVE-2023-39741 | https://security-tracker.debian.org/tracker/CVE-2023-39741 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 mariadb | CVE-2022-47015 | https://security-tracker.debian.org/tracker/CVE-2022-47015 mbedtls | CVE-2021-36647 | https://security-tracker.debian.org/tracker/CVE-2021-36647 mbedtls | CVE-2021-43666 | https://security-tracker.debian.org/tracker/CVE-2021-43666 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mdadm | CVE-2023-28736 | https://security-tracker.debian.org/tracker/CVE-2023-28736 mdadm | CVE-2023-28938 | https://security-tracker.debian.org/tracker/CVE-2023-28938 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 nasm | CVE-2022-46456 | https://security-tracker.debian.org/tracker/CVE-2022-46456 netdata | CVE-2023-22496 | https://security-tracker.debian.org/tracker/CVE-2023-22496 netdata | CVE-2023-22497 | https://security-tracker.debian.org/tracker/CVE-2023-22497 netsnmp | CVE-2022-44792 | https://security-tracker.debian.org/tracker/CVE-2022-44792 netsnmp | CVE-2022-44793 | https://security-tracker.debian.org/tracker/CVE-2022-44793 ninja | CVE-2021-4336 | https://security-tracker.debian.org/tracker/CVE-2021-4336 nodejs | CVE-2023-32002 | https://security-tracker.debian.org/tracker/CVE-2023-32002 nodejs | CVE-2023-32006 | https://security-tracker.debian.org/tracker/CVE-2023-32006 nodejs | CVE-2023-32559 | https://security-tracker.debian.org/tracker/CVE-2023-32559 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 ntp | CVE-2023-26551 | https://security-tracker.debian.org/tracker/CVE-2023-26551 ntp | CVE-2023-26552 | https://security-tracker.debian.org/tracker/CVE-2023-26552 ntp | CVE-2023-26553 | https://security-tracker.debian.org/tracker/CVE-2023-26553 ntp | CVE-2023-26554 | https://security-tracker.debian.org/tracker/CVE-2023-26554 ntp | CVE-2023-26555 | https://security-tracker.debian.org/tracker/CVE-2023-26555 open-iscsi | CVE-2020-13987 | https://security-tracker.debian.org/tracker/CVE-2020-13987 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 opencv3 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 opencv4 | CVE-2023-2617 | https://security-tracker.debian.org/tracker/CVE-2023-2617 opencv4 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openldap | CVE-2022-29155 | https://security-tracker.debian.org/tracker/CVE-2022-29155 opensc | CVE-2021-34193 | https://security-tracker.debian.org/tracker/CVE-2021-34193 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openssh | CVE-2023-38408 | https://security-tracker.debian.org/tracker/CVE-2023-38408 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 openvmtools | CVE-2014-4199 | https://security-tracker.debian.org/tracker/CVE-2014-4199 openvmtools | CVE-2014-4200 | https://security-tracker.debian.org/tracker/CVE-2014-4200 openvmtools | CVE-2021-31693 | https://security-tracker.debian.org/tracker/CVE-2021-31693 openvmtools | CVE-2022-22943 | https://security-tracker.debian.org/tracker/CVE-2022-22943 openvmtools | CVE-2022-31693 | https://security-tracker.debian.org/tracker/CVE-2022-31693 openvmtools | CVE-2023-20867 | https://security-tracker.debian.org/tracker/CVE-2023-20867 openvmtools | CVE-2023-20900 | https://security-tracker.debian.org/tracker/CVE-2023-20900 opus | CVE-2022-25345 | https://security-tracker.debian.org/tracker/CVE-2022-25345 oracle-mysql | CVE-2012-0583 | https://security-tracker.debian.org/tracker/CVE-2012-0583 oracle-mysql | CVE-2012-1696 | https://security-tracker.debian.org/tracker/CVE-2012-1696 oracle-mysql | CVE-2012-3144 | https://security-tracker.debian.org/tracker/CVE-2012-3144 oracle-mysql | CVE-2012-3147 | https://security-tracker.debian.org/tracker/CVE-2012-3147 oracle-mysql | CVE-2012-3149 | https://security-tracker.debian.org/tracker/CVE-2012-3149 oracle-mysql | CVE-2012-3156 | https://security-tracker.debian.org/tracker/CVE-2012-3156 oracle-mysql | CVE-2012-4414 | https://security-tracker.debian.org/tracker/CVE-2012-4414 oracle-mysql | CVE-2013-1566 | https://security-tracker.debian.org/tracker/CVE-2013-1566 oracle-mysql | CVE-2013-1567 | https://security-tracker.debian.org/tracker/CVE-2013-1567 oracle-mysql | CVE-2013-1570 | https://security-tracker.debian.org/tracker/CVE-2013-1570 oracle-mysql | CVE-2013-2381 | https://security-tracker.debian.org/tracker/CVE-2013-2381 oracle-mysql | CVE-2013-2395 | https://security-tracker.debian.org/tracker/CVE-2013-2395 oracle-mysql | CVE-2013-3795 | https://security-tracker.debian.org/tracker/CVE-2013-3795 oracle-mysql | CVE-2013-3796 | https://security-tracker.debian.org/tracker/CVE-2013-3796 oracle-mysql | CVE-2013-3798 | https://security-tracker.debian.org/tracker/CVE-2013-3798 oracle-mysql | CVE-2013-3806 | https://security-tracker.debian.org/tracker/CVE-2013-3806 oracle-mysql | CVE-2013-3807 | https://security-tracker.debian.org/tracker/CVE-2013-3807 oracle-mysql | CVE-2013-3810 | https://security-tracker.debian.org/tracker/CVE-2013-3810 oracle-mysql | CVE-2013-3811 | https://security-tracker.debian.org/tracker/CVE-2013-3811 oracle-mysql | CVE-2013-5767 | https://security-tracker.debian.org/tracker/CVE-2013-5767 oracle-mysql | CVE-2013-5770 | https://security-tracker.debian.org/tracker/CVE-2013-5770 oracle-mysql | CVE-2013-5786 | https://security-tracker.debian.org/tracker/CVE-2013-5786 oracle-mysql | CVE-2013-5793 | https://security-tracker.debian.org/tracker/CVE-2013-5793 oracle-mysql | CVE-2013-5860 | https://security-tracker.debian.org/tracker/CVE-2013-5860 oracle-mysql | CVE-2013-5881 | https://security-tracker.debian.org/tracker/CVE-2013-5881 oracle-mysql | CVE-2013-5882 | https://security-tracker.debian.org/tracker/CVE-2013-5882 oracle-mysql | CVE-2013-5894 | https://security-tracker.debian.org/tracker/CVE-2013-5894 oracle-mysql | CVE-2014-0427 | https://security-tracker.debian.org/tracker/CVE-2014-0427 oracle-mysql | CVE-2014-0430 | https://security-tracker.debian.org/tracker/CVE-2014-0430 oracle-mysql | CVE-2014-0431 | https://security-tracker.debian.org/tracker/CVE-2014-0431 oracle-mysql | CVE-2014-0433 | https://security-tracker.debian.org/tracker/CVE-2014-0433 oracle-mysql | CVE-2014-2434 | https://security-tracker.debian.org/tracker/CVE-2014-2434 oracle-mysql | CVE-2014-2435 | https://security-tracker.debian.org/tracker/CVE-2014-2435 oracle-mysql | CVE-2014-2442 | https://security-tracker.debian.org/tracker/CVE-2014-2442 oracle-mysql | CVE-2014-2444 | https://security-tracker.debian.org/tracker/CVE-2014-2444 oracle-mysql | CVE-2014-2450 | https://security-tracker.debian.org/tracker/CVE-2014-2450 oracle-mysql | CVE-2014-2451 | https://security-tracker.debian.org/tracker/CVE-2014-2451 oracle-mysql | CVE-2014-2484 | https://security-tracker.debian.org/tracker/CVE-2014-2484 oracle-mysql | CVE-2014-4214 | https://security-tracker.debian.org/tracker/CVE-2014-4214 oracle-mysql | CVE-2014-4233 | https://security-tracker.debian.org/tracker/CVE-2014-4233 oracle-mysql | CVE-2014-4238 | https://security-tracker.debian.org/tracker/CVE-2014-4238 oracle-mysql | CVE-2014-4240 | https://security-tracker.debian.org/tracker/CVE-2014-4240 oracle-mysql | CVE-2015-0385 | https://security-tracker.debian.org/tracker/CVE-2015-0385 oracle-mysql | CVE-2015-0405 | https://security-tracker.debian.org/tracker/CVE-2015-0405 oracle-mysql | CVE-2015-0409 | https://security-tracker.debian.org/tracker/CVE-2015-0409 oracle-mysql | CVE-2015-0423 | https://security-tracker.debian.org/tracker/CVE-2015-0423 oracle-mysql | CVE-2015-0438 | https://security-tracker.debian.org/tracker/CVE-2015-0438 oracle-mysql | CVE-2015-0439 | https://security-tracker.debian.org/tracker/CVE-2015-0439 oracle-mysql | CVE-2015-0498 | https://security-tracker.debian.org/tracker/CVE-2015-0498 oracle-mysql | CVE-2015-0500 | https://security-tracker.debian.org/tracker/CVE-2015-0500 oracle-mysql | CVE-2015-0503 | https://security-tracker.debian.org/tracker/CVE-2015-0503 oracle-mysql | CVE-2015-0506 | https://security-tracker.debian.org/tracker/CVE-2015-0506 oracle-mysql | CVE-2015-0507 | https://security-tracker.debian.org/tracker/CVE-2015-0507 oracle-mysql | CVE-2015-0508 | https://security-tracker.debian.org/tracker/CVE-2015-0508 oracle-mysql | CVE-2015-0511 | https://security-tracker.debian.org/tracker/CVE-2015-0511 oracle-mysql | CVE-2015-2566 | https://security-tracker.debian.org/tracker/CVE-2015-2566 oracle-mysql | CVE-2015-2567 | https://security-tracker.debian.org/tracker/CVE-2015-2567 oracle-mysql | CVE-2015-2611 | https://security-tracker.debian.org/tracker/CVE-2015-2611 oracle-mysql | CVE-2015-2617 | https://security-tracker.debian.org/tracker/CVE-2015-2617 oracle-mysql | CVE-2015-2639 | https://security-tracker.debian.org/tracker/CVE-2015-2639 oracle-mysql | CVE-2015-2641 | https://security-tracker.debian.org/tracker/CVE-2015-2641 oracle-mysql | CVE-2015-2661 | https://security-tracker.debian.org/tracker/CVE-2015-2661 oracle-mysql | CVE-2015-3152 | https://security-tracker.debian.org/tracker/CVE-2015-3152 oracle-mysql | CVE-2015-4730 | https://security-tracker.debian.org/tracker/CVE-2015-4730 oracle-mysql | CVE-2015-4756 | https://security-tracker.debian.org/tracker/CVE-2015-4756 oracle-mysql | CVE-2015-4761 | https://security-tracker.debian.org/tracker/CVE-2015-4761 oracle-mysql | CVE-2015-4766 | https://security-tracker.debian.org/tracker/CVE-2015-4766 oracle-mysql | CVE-2015-4767 | https://security-tracker.debian.org/tracker/CVE-2015-4767 oracle-mysql | CVE-2015-4769 | https://security-tracker.debian.org/tracker/CVE-2015-4769 oracle-mysql | CVE-2015-4771 | https://security-tracker.debian.org/tracker/CVE-2015-4771 oracle-mysql | CVE-2015-4772 | https://security-tracker.debian.org/tracker/CVE-2015-4772 oracle-mysql | CVE-2015-4791 | https://security-tracker.debian.org/tracker/CVE-2015-4791 oracle-mysql | CVE-2015-4800 | https://security-tracker.debian.org/tracker/CVE-2015-4800 oracle-mysql | CVE-2015-4833 | https://security-tracker.debian.org/tracker/CVE-2015-4833 oracle-mysql | CVE-2015-4862 | https://security-tracker.debian.org/tracker/CVE-2015-4862 oracle-mysql | CVE-2015-4890 | https://security-tracker.debian.org/tracker/CVE-2015-4890 oracle-mysql | CVE-2015-4904 | https://security-tracker.debian.org/tracker/CVE-2015-4904 oracle-mysql | CVE-2015-4905 | https://security-tracker.debian.org/tracker/CVE-2015-4905 oracle-mysql | CVE-2015-4910 | https://security-tracker.debian.org/tracker/CVE-2015-4910 oracle-mysql | CVE-2016-0503 | https://security-tracker.debian.org/tracker/CVE-2016-0503 oracle-mysql | CVE-2016-0504 | https://security-tracker.debian.org/tracker/CVE-2016-0504 oracle-mysql | CVE-2016-0594 | https://security-tracker.debian.org/tracker/CVE-2016-0594 oracle-mysql | CVE-2016-0595 | https://security-tracker.debian.org/tracker/CVE-2016-0595 oracle-mysql | CVE-2016-0607 | https://security-tracker.debian.org/tracker/CVE-2016-0607 oracle-mysql | CVE-2016-0610 | https://security-tracker.debian.org/tracker/CVE-2016-0610 oracle-mysql | CVE-2016-0611 | https://security-tracker.debian.org/tracker/CVE-2016-0611 oracle-mysql | CVE-2016-0616 | https://security-tracker.debian.org/tracker/CVE-2016-0616 oracle-mysql | CVE-2016-0652 | https://security-tracker.debian.org/tracker/CVE-2016-0652 oracle-mysql | CVE-2016-0653 | https://security-tracker.debian.org/tracker/CVE-2016-0653 oracle-mysql | CVE-2016-0654 | https://security-tracker.debian.org/tracker/CVE-2016-0654 oracle-mysql | CVE-2016-0656 | https://security-tracker.debian.org/tracker/CVE-2016-0656 oracle-mysql | CVE-2016-0657 | https://security-tracker.debian.org/tracker/CVE-2016-0657 oracle-mysql | CVE-2016-0658 | https://security-tracker.debian.org/tracker/CVE-2016-0658 oracle-mysql | CVE-2016-0659 | https://security-tracker.debian.org/tracker/CVE-2016-0659 oracle-mysql | CVE-2016-0662 | https://security-tracker.debian.org/tracker/CVE-2016-0662 oracle-mysql | CVE-2016-0663 | https://security-tracker.debian.org/tracker/CVE-2016-0663 oracle-mysql | CVE-2016-0667 | https://security-tracker.debian.org/tracker/CVE-2016-0667 oracle-mysql | CVE-2016-3424 | https://security-tracker.debian.org/tracker/CVE-2016-3424 oracle-mysql | CVE-2016-3440 | https://security-tracker.debian.org/tracker/CVE-2016-3440 oracle-mysql | CVE-2016-3518 | https://security-tracker.debian.org/tracker/CVE-2016-3518 oracle-mysql | CVE-2016-3588 | https://security-tracker.debian.org/tracker/CVE-2016-3588 oracle-mysql | CVE-2016-5436 | https://security-tracker.debian.org/tracker/CVE-2016-5436 oracle-mysql | CVE-2016-5437 | https://security-tracker.debian.org/tracker/CVE-2016-5437 oracle-mysql | CVE-2016-5441 | https://security-tracker.debian.org/tracker/CVE-2016-5441 oracle-mysql | CVE-2016-5442 | https://security-tracker.debian.org/tracker/CVE-2016-5442 oracle-mysql | CVE-2016-5443 | https://security-tracker.debian.org/tracker/CVE-2016-5443 oracle-mysql | CVE-2016-5628 | https://security-tracker.debian.org/tracker/CVE-2016-5628 oracle-mysql | CVE-2016-5631 | https://security-tracker.debian.org/tracker/CVE-2016-5631 oracle-mysql | CVE-2016-5632 | https://security-tracker.debian.org/tracker/CVE-2016-5632 oracle-mysql | CVE-2016-5633 | https://security-tracker.debian.org/tracker/CVE-2016-5633 oracle-mysql | CVE-2016-5634 | https://security-tracker.debian.org/tracker/CVE-2016-5634 oracle-mysql | CVE-2016-5635 | https://security-tracker.debian.org/tracker/CVE-2016-5635 oracle-mysql | CVE-2016-8286 | https://security-tracker.debian.org/tracker/CVE-2016-8286 oracle-mysql | CVE-2016-8287 | https://security-tracker.debian.org/tracker/CVE-2016-8287 oracle-mysql | CVE-2016-8289 | https://security-tracker.debian.org/tracker/CVE-2016-8289 oracle-mysql | CVE-2016-8290 | https://security-tracker.debian.org/tracker/CVE-2016-8290 oracle-mysql | CVE-2017-10165 | https://security-tracker.debian.org/tracker/CVE-2017-10165 oracle-mysql | CVE-2017-10167 | https://security-tracker.debian.org/tracker/CVE-2017-10167 oracle-mysql | CVE-2017-10284 | https://security-tracker.debian.org/tracker/CVE-2017-10284 oracle-mysql | CVE-2017-10296 | https://security-tracker.debian.org/tracker/CVE-2017-10296 oracle-mysql | CVE-2017-10311 | https://security-tracker.debian.org/tracker/CVE-2017-10311 oracle-mysql | CVE-2017-10313 | https://security-tracker.debian.org/tracker/CVE-2017-10313 oracle-mysql | CVE-2017-3251 | https://security-tracker.debian.org/tracker/CVE-2017-3251 oracle-mysql | CVE-2017-3256 | https://security-tracker.debian.org/tracker/CVE-2017-3256 oracle-mysql | CVE-2017-3319 | https://security-tracker.debian.org/tracker/CVE-2017-3319 oracle-mysql | CVE-2017-3320 | https://security-tracker.debian.org/tracker/CVE-2017-3320 oracle-mysql | CVE-2017-3452 | https://security-tracker.debian.org/tracker/CVE-2017-3452 oracle-mysql | CVE-2017-3454 | https://security-tracker.debian.org/tracker/CVE-2017-3454 oracle-mysql | CVE-2017-3455 | https://security-tracker.debian.org/tracker/CVE-2017-3455 oracle-mysql | CVE-2017-3457 | https://security-tracker.debian.org/tracker/CVE-2017-3457 oracle-mysql | CVE-2017-3458 | https://security-tracker.debian.org/tracker/CVE-2017-3458 oracle-mysql | CVE-2017-3459 | https://security-tracker.debian.org/tracker/CVE-2017-3459 oracle-mysql | CVE-2017-3460 | https://security-tracker.debian.org/tracker/CVE-2017-3460 oracle-mysql | CVE-2017-3465 | https://security-tracker.debian.org/tracker/CVE-2017-3465 oracle-mysql | CVE-2017-3467 | https://security-tracker.debian.org/tracker/CVE-2017-3467 oracle-mysql | CVE-2017-3468 | https://security-tracker.debian.org/tracker/CVE-2017-3468 oracle-mysql | CVE-2017-3529 | https://security-tracker.debian.org/tracker/CVE-2017-3529 oracle-mysql | CVE-2017-3637 | https://security-tracker.debian.org/tracker/CVE-2017-3637 oracle-mysql | CVE-2017-3638 | https://security-tracker.debian.org/tracker/CVE-2017-3638 oracle-mysql | CVE-2017-3639 | https://security-tracker.debian.org/tracker/CVE-2017-3639 oracle-mysql | CVE-2017-3640 | https://security-tracker.debian.org/tracker/CVE-2017-3640 oracle-mysql | CVE-2017-3642 | https://security-tracker.debian.org/tracker/CVE-2017-3642 oracle-mysql | CVE-2017-3643 | https://security-tracker.debian.org/tracker/CVE-2017-3643 oracle-mysql | CVE-2017-3644 | https://security-tracker.debian.org/tracker/CVE-2017-3644 oracle-mysql | CVE-2017-3645 | https://security-tracker.debian.org/tracker/CVE-2017-3645 oracle-mysql | CVE-2017-3646 | https://security-tracker.debian.org/tracker/CVE-2017-3646 oracle-mysql | CVE-2017-3650 | https://security-tracker.debian.org/tracker/CVE-2017-3650 oracle-mysql | CVE-2018-0735 | https://security-tracker.debian.org/tracker/CVE-2018-0735 oracle-mysql | CVE-2018-3061 | https://security-tracker.debian.org/tracker/CVE-2018-3061 oracle-mysql | CVE-2018-3071 | https://security-tracker.debian.org/tracker/CVE-2018-3071 oracle-mysql | CVE-2019-2731 | https://security-tracker.debian.org/tracker/CVE-2019-2731 oracle-mysql | CVE-2019-2741 | https://security-tracker.debian.org/tracker/CVE-2019-2741 oracle-mysql | CVE-2019-2755 | https://security-tracker.debian.org/tracker/CVE-2019-2755 oracle-mysql | CVE-2019-2757 | https://security-tracker.debian.org/tracker/CVE-2019-2757 oracle-mysql | CVE-2019-7317 | https://security-tracker.debian.org/tracker/CVE-2019-7317 oracle-mysql | CVE-2020-14760 | https://security-tracker.debian.org/tracker/CVE-2020-14760 oracle-mysql | CVE-2020-14814 | https://security-tracker.debian.org/tracker/CVE-2020-14814 oracle-mysql | CVE-2020-14830 | https://security-tracker.debian.org/tracker/CVE-2020-14830 oracle-mysql | CVE-2020-14837 | https://security-tracker.debian.org/tracker/CVE-2020-14837 oracle-mysql | CVE-2020-14839 | https://security-tracker.debian.org/tracker/CVE-2020-14839 oracle-mysql | CVE-2020-14845 | https://security-tracker.debian.org/tracker/CVE-2020-14845 oracle-mysql | CVE-2020-14846 | https://security-tracker.debian.org/tracker/CVE-2020-14846 oracle-mysql | CVE-2020-14852 | https://security-tracker.debian.org/tracker/CVE-2020-14852 oracle-mysql | CVE-2020-15358 | https://security-tracker.debian.org/tracker/CVE-2020-15358 oracle-mysql | CVE-2020-1967 | https://security-tracker.debian.org/tracker/CVE-2020-1967 oracle-mysql | CVE-2020-1971 | https://security-tracker.debian.org/tracker/CVE-2020-1971 oracle-mysql | CVE-2021-22570 | https://security-tracker.debian.org/tracker/CVE-2021-22570 oracle-mysql | CVE-2021-2356 | https://security-tracker.debian.org/tracker/CVE-2021-2356 oracle-mysql | CVE-2022-21417 | https://security-tracker.debian.org/tracker/CVE-2022-21417 oracle-mysql | CVE-2022-21444 | https://security-tracker.debian.org/tracker/CVE-2022-21444 oracle-mysql | CVE-2023-21977 | https://security-tracker.debian.org/tracker/CVE-2023-21977 oracle-mysql | CVE-2023-21980 | https://security-tracker.debian.org/tracker/CVE-2023-21980 oracle-mysql | CVE-2023-22007 | https://security-tracker.debian.org/tracker/CVE-2023-22007 oracle-mysql | CVE-2023-22053 | https://security-tracker.debian.org/tracker/CVE-2023-22053 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 perl | CVE-2023-31484 | https://security-tracker.debian.org/tracker/CVE-2023-31484 perl | CVE-2023-31486 | https://security-tracker.debian.org/tracker/CVE-2023-31486 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 pkgconf | CVE-2023-24056 | https://security-tracker.debian.org/tracker/CVE-2023-24056 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 python-aiohttp | CVE-2023-37276 | https://security-tracker.debian.org/tracker/CVE-2023-37276 python-flask | CVE-2023-30861 | https://security-tracker.debian.org/tracker/CVE-2023-30861 python-py | CVE-2022-42969 | https://security-tracker.debian.org/tracker/CVE-2022-42969 python-pygments | CVE-2022-40896 | https://security-tracker.debian.org/tracker/CVE-2022-40896 python-scipy | CVE-2023-25399 | https://security-tracker.debian.org/tracker/CVE-2023-25399 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2023-0330 | https://security-tracker.debian.org/tracker/CVE-2023-0330 qemu | CVE-2023-0664 | https://security-tracker.debian.org/tracker/CVE-2023-0664 qemu | CVE-2023-1386 | https://security-tracker.debian.org/tracker/CVE-2023-1386 qemu | CVE-2023-2680 | https://security-tracker.debian.org/tracker/CVE-2023-2680 qemu | CVE-2023-3019 | https://security-tracker.debian.org/tracker/CVE-2023-3019 qemu | CVE-2023-3180 | https://security-tracker.debian.org/tracker/CVE-2023-3180 qemu | CVE-2023-3255 | https://security-tracker.debian.org/tracker/CVE-2023-3255 qemu | CVE-2023-3301 | https://security-tracker.debian.org/tracker/CVE-2023-3301 qemu | CVE-2023-3354 | https://security-tracker.debian.org/tracker/CVE-2023-3354 qemu | CVE-2023-40360 | https://security-tracker.debian.org/tracker/CVE-2023-40360 qemu | CVE-2023-4135 | https://security-tracker.debian.org/tracker/CVE-2023-4135 qemu | CVE-2023-42467 | https://security-tracker.debian.org/tracker/CVE-2023-42467 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-c | CVE-2023-35789 | https://security-tracker.debian.org/tracker/CVE-2023-35789 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rust | CVE-2023-40030 | https://security-tracker.debian.org/tracker/CVE-2023-40030 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-14628 | https://security-tracker.debian.org/tracker/CVE-2018-14628 samba4 | CVE-2021-3670 | https://security-tracker.debian.org/tracker/CVE-2021-3670 samba4 | CVE-2022-1615 | https://security-tracker.debian.org/tracker/CVE-2022-1615 samba4 | CVE-2022-32743 | https://security-tracker.debian.org/tracker/CVE-2022-32743 samba4 | CVE-2022-37966 | https://security-tracker.debian.org/tracker/CVE-2022-37966 samba4 | CVE-2022-37967 | https://security-tracker.debian.org/tracker/CVE-2022-37967 samba4 | CVE-2022-38023 | https://security-tracker.debian.org/tracker/CVE-2022-38023 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 shim | CVE-2022-28737 | https://security-tracker.debian.org/tracker/CVE-2022-28737 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 speechd | CVE-2001-0956 | https://security-tracker.debian.org/tracker/CVE-2001-0956 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 stellarium | CVE-2023-28371 | https://security-tracker.debian.org/tracker/CVE-2023-28371 sudo | CVE-2023-27320 | https://security-tracker.debian.org/tracker/CVE-2023-27320 syslog-ng | CVE-2022-38725 | https://security-tracker.debian.org/tracker/CVE-2022-38725 sysstat | CVE-2023-33204 | https://security-tracker.debian.org/tracker/CVE-2023-33204 systemd | CVE-2022-4415 | https://security-tracker.debian.org/tracker/CVE-2022-4415 tar | CVE-2022-48303 | https://security-tracker.debian.org/tracker/CVE-2022-48303 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 tpm2-tss | CVE-2023-22745 | https://security-tracker.debian.org/tracker/CVE-2023-22745 uboot-tools | CVE-2022-2347 | https://security-tracker.debian.org/tracker/CVE-2022-2347 uboot-tools | CVE-2022-30767 | https://security-tracker.debian.org/tracker/CVE-2022-30767 uboot-tools | CVE-2022-33103 | https://security-tracker.debian.org/tracker/CVE-2022-33103 uboot-tools | CVE-2022-34835 | https://security-tracker.debian.org/tracker/CVE-2022-34835 unrar | CVE-2022-30333 | https://security-tracker.debian.org/tracker/CVE-2022-30333 unrar | CVE-2022-48579 | https://security-tracker.debian.org/tracker/CVE-2022-48579 unzip | CVE-2021-4217 | https://security-tracker.debian.org/tracker/CVE-2021-4217 upx | CVE-2023-23456 | https://security-tracker.debian.org/tracker/CVE-2023-23456 upx | CVE-2023-23457 | https://security-tracker.debian.org/tracker/CVE-2023-23457 wolfssl | CVE-2023-3724 | https://security-tracker.debian.org/tracker/CVE-2023-3724 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-21123 | https://security-tracker.debian.org/tracker/CVE-2022-21123 xen | CVE-2022-21125 | https://security-tracker.debian.org/tracker/CVE-2022-21125 xen | CVE-2022-21127 | https://security-tracker.debian.org/tracker/CVE-2022-21127 xen | CVE-2022-21166 | https://security-tracker.debian.org/tracker/CVE-2022-21166 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23824 | https://security-tracker.debian.org/tracker/CVE-2022-23824 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xen | CVE-2022-26362 | https://security-tracker.debian.org/tracker/CVE-2022-26362 xen | CVE-2022-26363 | https://security-tracker.debian.org/tracker/CVE-2022-26363 xen | CVE-2022-26364 | https://security-tracker.debian.org/tracker/CVE-2022-26364 xen | CVE-2022-26365 | https://security-tracker.debian.org/tracker/CVE-2022-26365 xen | CVE-2022-29900 | https://security-tracker.debian.org/tracker/CVE-2022-29900 xen | CVE-2022-29901 | https://security-tracker.debian.org/tracker/CVE-2022-29901 xen | CVE-2022-33740 | https://security-tracker.debian.org/tracker/CVE-2022-33740 xen | CVE-2022-33741 | https://security-tracker.debian.org/tracker/CVE-2022-33741 xen | CVE-2022-33742 | https://security-tracker.debian.org/tracker/CVE-2022-33742 xen | CVE-2022-33743 | https://security-tracker.debian.org/tracker/CVE-2022-33743 xen | CVE-2022-33745 | https://security-tracker.debian.org/tracker/CVE-2022-33745 xen | CVE-2022-33746 | https://security-tracker.debian.org/tracker/CVE-2022-33746 xen | CVE-2022-33747 | https://security-tracker.debian.org/tracker/CVE-2022-33747 xen | CVE-2022-33748 | https://security-tracker.debian.org/tracker/CVE-2022-33748 xen | CVE-2022-40982 | https://security-tracker.debian.org/tracker/CVE-2022-40982 xen | CVE-2022-42309 | https://security-tracker.debian.org/tracker/CVE-2022-42309 xen | CVE-2022-42311 | https://security-tracker.debian.org/tracker/CVE-2022-42311 xen | CVE-2022-42312 | https://security-tracker.debian.org/tracker/CVE-2022-42312 xen | CVE-2022-42313 | https://security-tracker.debian.org/tracker/CVE-2022-42313 xen | CVE-2022-42314 | https://security-tracker.debian.org/tracker/CVE-2022-42314 xen | CVE-2022-42315 | https://security-tracker.debian.org/tracker/CVE-2022-42315 xen | CVE-2022-42316 | https://security-tracker.debian.org/tracker/CVE-2022-42316 xen | CVE-2022-42317 | https://security-tracker.debian.org/tracker/CVE-2022-42317 xen | CVE-2022-42318 | https://security-tracker.debian.org/tracker/CVE-2022-42318 xen | CVE-2022-42319 | https://security-tracker.debian.org/tracker/CVE-2022-42319 xen | CVE-2022-42320 | https://security-tracker.debian.org/tracker/CVE-2022-42320 xen | CVE-2022-42321 | https://security-tracker.debian.org/tracker/CVE-2022-42321 xen | CVE-2022-42322 | https://security-tracker.debian.org/tracker/CVE-2022-42322 xen | CVE-2022-42323 | https://security-tracker.debian.org/tracker/CVE-2022-42323 xen | CVE-2022-42324 | https://security-tracker.debian.org/tracker/CVE-2022-42324 xen | CVE-2022-42325 | https://security-tracker.debian.org/tracker/CVE-2022-42325 xen | CVE-2022-42326 | https://security-tracker.debian.org/tracker/CVE-2022-42326 xen | CVE-2022-42331 | https://security-tracker.debian.org/tracker/CVE-2022-42331 xen | CVE-2022-42332 | https://security-tracker.debian.org/tracker/CVE-2022-42332 xen | CVE-2022-42333 | https://security-tracker.debian.org/tracker/CVE-2022-42333 xen | CVE-2022-42334 | https://security-tracker.debian.org/tracker/CVE-2022-42334 xen | CVE-2023-34319 | https://security-tracker.debian.org/tracker/CVE-2023-34319 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 yajl | CVE-2023-33460 | https://security-tracker.debian.org/tracker/CVE-2023-33460 yasm | CVE-2021-33454 | https://security-tracker.debian.org/tracker/CVE-2021-33454 yasm | CVE-2021-33455 | https://security-tracker.debian.org/tracker/CVE-2021-33455 yasm | CVE-2021-33456 | https://security-tracker.debian.org/tracker/CVE-2021-33456 yasm | CVE-2021-33457 | https://security-tracker.debian.org/tracker/CVE-2021-33457 yasm | CVE-2021-33458 | https://security-tracker.debian.org/tracker/CVE-2021-33458 yasm | CVE-2021-33459 | https://security-tracker.debian.org/tracker/CVE-2021-33459 yasm | CVE-2021-33460 | https://security-tracker.debian.org/tracker/CVE-2021-33460 yasm | CVE-2021-33461 | https://security-tracker.debian.org/tracker/CVE-2021-33461 yasm | CVE-2021-33462 | https://security-tracker.debian.org/tracker/CVE-2021-33462 yasm | CVE-2021-33463 | https://security-tracker.debian.org/tracker/CVE-2021-33463 yasm | CVE-2021-33464 | https://security-tracker.debian.org/tracker/CVE-2021-33464 yasm | CVE-2021-33465 | https://security-tracker.debian.org/tracker/CVE-2021-33465 yasm | CVE-2021-33466 | https://security-tracker.debian.org/tracker/CVE-2021-33466 yasm | CVE-2021-33467 | https://security-tracker.debian.org/tracker/CVE-2021-33467 yasm | CVE-2021-33468 | https://security-tracker.debian.org/tracker/CVE-2021-33468 yasm | CVE-2023-30402 | https://security-tracker.debian.org/tracker/CVE-2023-30402 yasm | CVE-2023-31972 | https://security-tracker.debian.org/tracker/CVE-2023-31972 yasm | CVE-2023-31973 | https://security-tracker.debian.org/tracker/CVE-2023-31973 yasm | CVE-2023-31974 | https://security-tracker.debian.org/tracker/CVE-2023-31974 yasm | CVE-2023-31975 | https://security-tracker.debian.org/tracker/CVE-2023-31975 zbar | CVE-2023-40889 | https://security-tracker.debian.org/tracker/CVE-2023-40889 zbar | CVE-2023-40890 | https://security-tracker.debian.org/tracker/CVE-2023-40890 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 CVEs for the '2023.08.x' branch ------------------------------- name | CVE | link -------------------------------+------------------+-------------------------------------------------------------- apache | CVE-1999-0236 | https://security-tracker.debian.org/tracker/CVE-1999-0236 apache | CVE-1999-0289 | https://security-tracker.debian.org/tracker/CVE-1999-0289 apache | CVE-1999-0678 | https://security-tracker.debian.org/tracker/CVE-1999-0678 apache | CVE-1999-1237 | https://security-tracker.debian.org/tracker/CVE-1999-1237 apache | CVE-1999-1412 | https://security-tracker.debian.org/tracker/CVE-1999-1412 apache | CVE-2007-0086 | https://security-tracker.debian.org/tracker/CVE-2007-0086 apache | CVE-2007-0450 | https://security-tracker.debian.org/tracker/CVE-2007-0450 apache | CVE-2007-4465 | https://security-tracker.debian.org/tracker/CVE-2007-4465 apache | CVE-2007-6388 | https://security-tracker.debian.org/tracker/CVE-2007-6388 apache | CVE-2007-6420 | https://security-tracker.debian.org/tracker/CVE-2007-6420 apache | CVE-2007-6421 | https://security-tracker.debian.org/tracker/CVE-2007-6421 apache | CVE-2007-6422 | https://security-tracker.debian.org/tracker/CVE-2007-6422 apache | CVE-2007-6423 | https://security-tracker.debian.org/tracker/CVE-2007-6423 apache | CVE-2008-2168 | https://security-tracker.debian.org/tracker/CVE-2008-2168 apache | CVE-2008-2939 | https://security-tracker.debian.org/tracker/CVE-2008-2939 apache | CVE-2009-1195 | https://security-tracker.debian.org/tracker/CVE-2009-1195 apache | CVE-2010-0408 | https://security-tracker.debian.org/tracker/CVE-2010-0408 apache | CVE-2010-0425 | https://security-tracker.debian.org/tracker/CVE-2010-0425 apache | CVE-2010-1452 | https://security-tracker.debian.org/tracker/CVE-2010-1452 apache | CVE-2014-0231 | https://security-tracker.debian.org/tracker/CVE-2014-0231 apparmor | CVE-2016-1585 | https://security-tracker.debian.org/tracker/CVE-2016-1585 argus | CVE-2011-3332 | https://security-tracker.debian.org/tracker/CVE-2011-3332 asn1c | CVE-2017-12966 | https://security-tracker.debian.org/tracker/CVE-2017-12966 asn1c | CVE-2020-23910 | https://security-tracker.debian.org/tracker/CVE-2020-23910 asn1c | CVE-2020-23911 | https://security-tracker.debian.org/tracker/CVE-2020-23911 assimp | CVE-2022-38528 | https://security-tracker.debian.org/tracker/CVE-2022-38528 atop | CVE-2011-3618 | https://security-tracker.debian.org/tracker/CVE-2011-3618 avahi | CVE-2021-3468 | https://security-tracker.debian.org/tracker/CVE-2021-3468 belle-sip | CVE-2021-33056 | https://security-tracker.debian.org/tracker/CVE-2021-33056 belle-sip | CVE-2021-43610 | https://security-tracker.debian.org/tracker/CVE-2021-43610 belle-sip | CVE-2021-43611 | https://security-tracker.debian.org/tracker/CVE-2021-43611 bento4 | CVE-2020-23331 | https://security-tracker.debian.org/tracker/CVE-2020-23331 bento4 | CVE-2020-23332 | https://security-tracker.debian.org/tracker/CVE-2020-23332 bento4 | CVE-2022-3807 | https://security-tracker.debian.org/tracker/CVE-2022-3807 berkeleydb | CVE-2017-3604 | https://security-tracker.debian.org/tracker/CVE-2017-3604 berkeleydb | CVE-2017-3605 | https://security-tracker.debian.org/tracker/CVE-2017-3605 berkeleydb | CVE-2017-3606 | https://security-tracker.debian.org/tracker/CVE-2017-3606 berkeleydb | CVE-2017-3607 | https://security-tracker.debian.org/tracker/CVE-2017-3607 berkeleydb | CVE-2017-3608 | https://security-tracker.debian.org/tracker/CVE-2017-3608 berkeleydb | CVE-2017-3609 | https://security-tracker.debian.org/tracker/CVE-2017-3609 berkeleydb | CVE-2017-3610 | https://security-tracker.debian.org/tracker/CVE-2017-3610 berkeleydb | CVE-2017-3611 | https://security-tracker.debian.org/tracker/CVE-2017-3611 berkeleydb | CVE-2017-3612 | https://security-tracker.debian.org/tracker/CVE-2017-3612 berkeleydb | CVE-2017-3613 | https://security-tracker.debian.org/tracker/CVE-2017-3613 berkeleydb | CVE-2017-3614 | https://security-tracker.debian.org/tracker/CVE-2017-3614 berkeleydb | CVE-2017-3615 | https://security-tracker.debian.org/tracker/CVE-2017-3615 berkeleydb | CVE-2017-3616 | https://security-tracker.debian.org/tracker/CVE-2017-3616 berkeleydb | CVE-2017-3617 | https://security-tracker.debian.org/tracker/CVE-2017-3617 berkeleydb | CVE-2019-2708 | https://security-tracker.debian.org/tracker/CVE-2019-2708 berkeleydb | CVE-2020-2981 | https://security-tracker.debian.org/tracker/CVE-2020-2981 binutils | CVE-2023-1972 | https://security-tracker.debian.org/tracker/CVE-2023-1972 binutils | CVE-2023-25584 | https://security-tracker.debian.org/tracker/CVE-2023-25584 binutils | CVE-2023-25585 | https://security-tracker.debian.org/tracker/CVE-2023-25585 binutils | CVE-2023-25586 | https://security-tracker.debian.org/tracker/CVE-2023-25586 binutils | CVE-2023-25588 | https://security-tracker.debian.org/tracker/CVE-2023-25588 bitcoin | CVE-2012-1909 | https://security-tracker.debian.org/tracker/CVE-2012-1909 bitcoin | CVE-2012-4682 | https://security-tracker.debian.org/tracker/CVE-2012-4682 bitcoin | CVE-2012-4683 | https://security-tracker.debian.org/tracker/CVE-2012-4683 bitcoin | CVE-2013-2272 | https://security-tracker.debian.org/tracker/CVE-2013-2272 bitcoin | CVE-2013-2273 | https://security-tracker.debian.org/tracker/CVE-2013-2273 bitcoin | CVE-2013-2292 | https://security-tracker.debian.org/tracker/CVE-2013-2292 bitcoin | CVE-2013-2293 | https://security-tracker.debian.org/tracker/CVE-2013-2293 bitcoin | CVE-2013-3220 | https://security-tracker.debian.org/tracker/CVE-2013-3220 bitcoin | CVE-2023-33297 | https://security-tracker.debian.org/tracker/CVE-2023-33297 bluez5_utils | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bluez5_utils-headers | CVE-2020-24490 | https://security-tracker.debian.org/tracker/CVE-2020-24490 bsdiff | CVE-2020-14315 | https://security-tracker.debian.org/tracker/CVE-2020-14315 bwm-ng | CVE-2023-26129 | https://security-tracker.debian.org/tracker/CVE-2023-26129 cairo | CVE-2019-6461 | https://security-tracker.debian.org/tracker/CVE-2019-6461 coreutils | CVE-2016-2781 | https://security-tracker.debian.org/tracker/CVE-2016-2781 cpio | CVE-2010-4226 | https://security-tracker.debian.org/tracker/CVE-2010-4226 cryptopp | CVE-2021-43398 | https://security-tracker.debian.org/tracker/CVE-2021-43398 cups | CVE-2023-4504 | https://security-tracker.debian.org/tracker/CVE-2023-4504 cups-filters | CVE-2023-24805 | https://security-tracker.debian.org/tracker/CVE-2023-24805 cvs | CVE-2017-12836 | https://security-tracker.debian.org/tracker/CVE-2017-12836 dht | CVE-2020-36562 | https://security-tracker.debian.org/tracker/CVE-2020-36562 docker | CVE-2014-0048 | https://security-tracker.debian.org/tracker/CVE-2014-0048 docker | CVE-2014-8178 | https://security-tracker.debian.org/tracker/CVE-2014-8178 docker | CVE-2014-8179 | https://security-tracker.debian.org/tracker/CVE-2014-8179 docker | CVE-2015-1843 | https://security-tracker.debian.org/tracker/CVE-2015-1843 docker | CVE-2015-3627 | https://security-tracker.debian.org/tracker/CVE-2015-3627 docker | CVE-2015-3630 | https://security-tracker.debian.org/tracker/CVE-2015-3630 docker | CVE-2015-3631 | https://security-tracker.debian.org/tracker/CVE-2015-3631 docker | CVE-2016-3697 | https://security-tracker.debian.org/tracker/CVE-2016-3697 docker | CVE-2017-14992 | https://security-tracker.debian.org/tracker/CVE-2017-14992 docker | CVE-2019-13139 | https://security-tracker.debian.org/tracker/CVE-2019-13139 docker | CVE-2019-13509 | https://security-tracker.debian.org/tracker/CVE-2019-13509 docker | CVE-2019-15752 | https://security-tracker.debian.org/tracker/CVE-2019-15752 docker | CVE-2019-16884 | https://security-tracker.debian.org/tracker/CVE-2019-16884 docker | CVE-2019-5736 | https://security-tracker.debian.org/tracker/CVE-2019-5736 docker | CVE-2020-27534 | https://security-tracker.debian.org/tracker/CVE-2020-27534 docker | CVE-2021-21284 | https://security-tracker.debian.org/tracker/CVE-2021-21284 docker | CVE-2021-21285 | https://security-tracker.debian.org/tracker/CVE-2021-21285 docker | CVE-2021-3162 | https://security-tracker.debian.org/tracker/CVE-2021-3162 docker | CVE-2021-33183 | https://security-tracker.debian.org/tracker/CVE-2021-33183 docker | CVE-2022-25365 | https://security-tracker.debian.org/tracker/CVE-2022-25365 dracut | CVE-2010-4176 | https://security-tracker.debian.org/tracker/CVE-2010-4176 edk2 | CVE-2014-4859 | https://security-tracker.debian.org/tracker/CVE-2014-4859 edk2 | CVE-2014-4860 | https://security-tracker.debian.org/tracker/CVE-2014-4860 edk2 | CVE-2014-8271 | https://security-tracker.debian.org/tracker/CVE-2014-8271 edk2 | CVE-2019-14553 | https://security-tracker.debian.org/tracker/CVE-2019-14553 edk2 | CVE-2019-14559 | https://security-tracker.debian.org/tracker/CVE-2019-14559 edk2 | CVE-2019-14562 | https://security-tracker.debian.org/tracker/CVE-2019-14562 edk2 | CVE-2019-14563 | https://security-tracker.debian.org/tracker/CVE-2019-14563 edk2 | CVE-2019-14575 | https://security-tracker.debian.org/tracker/CVE-2019-14575 edk2 | CVE-2019-14586 | https://security-tracker.debian.org/tracker/CVE-2019-14586 edk2 | CVE-2019-14587 | https://security-tracker.debian.org/tracker/CVE-2019-14587 emlog | CVE-2021-44584 | https://security-tracker.debian.org/tracker/CVE-2021-44584 emlog | CVE-2022-1526 | https://security-tracker.debian.org/tracker/CVE-2022-1526 emlog | CVE-2022-3968 | https://security-tracker.debian.org/tracker/CVE-2022-3968 emlog | CVE-2023-43291 | https://security-tracker.debian.org/tracker/CVE-2023-43291 enlightenment | CVE-2022-37706 | https://security-tracker.debian.org/tracker/CVE-2022-37706 exiv2 | CVE-2007-6353 | https://security-tracker.debian.org/tracker/CVE-2007-6353 ffmpeg | CVE-2022-3109 | https://security-tracker.debian.org/tracker/CVE-2022-3109 ffmpeg | CVE-2022-3341 | https://security-tracker.debian.org/tracker/CVE-2022-3341 ffmpeg | CVE-2022-3964 | https://security-tracker.debian.org/tracker/CVE-2022-3964 ffmpeg | CVE-2022-48434 | https://security-tracker.debian.org/tracker/CVE-2022-48434 freeradius-server | CVE-2002-0318 | https://security-tracker.debian.org/tracker/CVE-2002-0318 freeradius-server | CVE-2011-4966 | https://security-tracker.debian.org/tracker/CVE-2011-4966 ghostscript | CVE-2023-38559 | https://security-tracker.debian.org/tracker/CVE-2023-38559 ghostscript | CVE-2023-38560 | https://security-tracker.debian.org/tracker/CVE-2023-38560 giflib | CVE-2022-28506 | https://security-tracker.debian.org/tracker/CVE-2022-28506 giflib | CVE-2023-39742 | https://security-tracker.debian.org/tracker/CVE-2023-39742 glibc | CVE-2010-4756 | https://security-tracker.debian.org/tracker/CVE-2010-4756 glibc | CVE-2019-1010022 | https://security-tracker.debian.org/tracker/CVE-2019-1010022 glibc | CVE-2019-1010023 | https://security-tracker.debian.org/tracker/CVE-2019-1010023 glibc | CVE-2019-1010024 | https://security-tracker.debian.org/tracker/CVE-2019-1010024 glibc | CVE-2019-1010025 | https://security-tracker.debian.org/tracker/CVE-2019-1010025 glibc | CVE-2023-4527 | https://security-tracker.debian.org/tracker/CVE-2023-4527 glibc | CVE-2023-5156 | https://security-tracker.debian.org/tracker/CVE-2023-5156 gnupg | CVE-2006-3082 | https://security-tracker.debian.org/tracker/CVE-2006-3082 gnupg | CVE-2011-2207 | https://security-tracker.debian.org/tracker/CVE-2011-2207 gnupg | CVE-2015-1606 | https://security-tracker.debian.org/tracker/CVE-2015-1606 gnupg | CVE-2018-12020 | https://security-tracker.debian.org/tracker/CVE-2018-12020 gnupg | CVE-2019-13050 | https://security-tracker.debian.org/tracker/CVE-2019-13050 gnupg | CVE-2019-14855 | https://security-tracker.debian.org/tracker/CVE-2019-14855 gnupg | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 gnupg | CVE-2022-34903 | https://security-tracker.debian.org/tracker/CVE-2022-34903 gnupg2 | CVE-2022-3219 | https://security-tracker.debian.org/tracker/CVE-2022-3219 graphicsmagick | CVE-2007-0770 | https://security-tracker.debian.org/tracker/CVE-2007-0770 graphicsmagick | CVE-2008-6621 | https://security-tracker.debian.org/tracker/CVE-2008-6621 graphite2 | CVE-2017-5436 | https://security-tracker.debian.org/tracker/CVE-2017-5436 grpc | CVE-2023-1428 | https://security-tracker.debian.org/tracker/CVE-2023-1428 grpc | CVE-2023-32732 | https://security-tracker.debian.org/tracker/CVE-2023-32732 grpc | CVE-2023-33953 | https://security-tracker.debian.org/tracker/CVE-2023-33953 grpc | CVE-2023-4785 | https://security-tracker.debian.org/tracker/CVE-2023-4785 haproxy | CVE-2016-2102 | https://security-tracker.debian.org/tracker/CVE-2016-2102 haproxy | CVE-2023-0056 | https://security-tracker.debian.org/tracker/CVE-2023-0056 imagemagick | CVE-2007-1667 | https://security-tracker.debian.org/tracker/CVE-2007-1667 imagemagick | CVE-2014-9804 | https://security-tracker.debian.org/tracker/CVE-2014-9804 imagemagick | CVE-2014-9805 | https://security-tracker.debian.org/tracker/CVE-2014-9805 imagemagick | CVE-2014-9806 | https://security-tracker.debian.org/tracker/CVE-2014-9806 imagemagick | CVE-2014-9807 | https://security-tracker.debian.org/tracker/CVE-2014-9807 imagemagick | CVE-2014-9808 | https://security-tracker.debian.org/tracker/CVE-2014-9808 imagemagick | CVE-2014-9809 | https://security-tracker.debian.org/tracker/CVE-2014-9809 imagemagick | CVE-2014-9810 | https://security-tracker.debian.org/tracker/CVE-2014-9810 imagemagick | CVE-2014-9811 | https://security-tracker.debian.org/tracker/CVE-2014-9811 imagemagick | CVE-2014-9812 | https://security-tracker.debian.org/tracker/CVE-2014-9812 imagemagick | CVE-2014-9813 | https://security-tracker.debian.org/tracker/CVE-2014-9813 imagemagick | CVE-2014-9814 | https://security-tracker.debian.org/tracker/CVE-2014-9814 imagemagick | CVE-2014-9815 | https://security-tracker.debian.org/tracker/CVE-2014-9815 imagemagick | CVE-2014-9816 | https://security-tracker.debian.org/tracker/CVE-2014-9816 imagemagick | CVE-2014-9817 | https://security-tracker.debian.org/tracker/CVE-2014-9817 imagemagick | CVE-2014-9818 | https://security-tracker.debian.org/tracker/CVE-2014-9818 imagemagick | CVE-2014-9819 | https://security-tracker.debian.org/tracker/CVE-2014-9819 imagemagick | CVE-2014-9820 | https://security-tracker.debian.org/tracker/CVE-2014-9820 imagemagick | CVE-2014-9821 | https://security-tracker.debian.org/tracker/CVE-2014-9821 imagemagick | CVE-2014-9822 | https://security-tracker.debian.org/tracker/CVE-2014-9822 imagemagick | CVE-2014-9823 | https://security-tracker.debian.org/tracker/CVE-2014-9823 imagemagick | CVE-2014-9824 | https://security-tracker.debian.org/tracker/CVE-2014-9824 imagemagick | CVE-2014-9825 | https://security-tracker.debian.org/tracker/CVE-2014-9825 imagemagick | CVE-2014-9826 | https://security-tracker.debian.org/tracker/CVE-2014-9826 imagemagick | CVE-2014-9827 | https://security-tracker.debian.org/tracker/CVE-2014-9827 imagemagick | CVE-2014-9828 | https://security-tracker.debian.org/tracker/CVE-2014-9828 imagemagick | CVE-2014-9829 | https://security-tracker.debian.org/tracker/CVE-2014-9829 imagemagick | CVE-2014-9830 | https://security-tracker.debian.org/tracker/CVE-2014-9830 imagemagick | CVE-2014-9831 | https://security-tracker.debian.org/tracker/CVE-2014-9831 imagemagick | CVE-2014-9848 | https://security-tracker.debian.org/tracker/CVE-2014-9848 imagemagick | CVE-2014-9852 | https://security-tracker.debian.org/tracker/CVE-2014-9852 imagemagick | CVE-2014-9853 | https://security-tracker.debian.org/tracker/CVE-2014-9853 imagemagick | CVE-2014-9854 | https://security-tracker.debian.org/tracker/CVE-2014-9854 imagemagick | CVE-2014-9907 | https://security-tracker.debian.org/tracker/CVE-2014-9907 imagemagick | CVE-2016-10062 | https://security-tracker.debian.org/tracker/CVE-2016-10062 imagemagick | CVE-2016-10144 | https://security-tracker.debian.org/tracker/CVE-2016-10144 imagemagick | CVE-2016-10145 | https://security-tracker.debian.org/tracker/CVE-2016-10145 imagemagick | CVE-2016-10146 | https://security-tracker.debian.org/tracker/CVE-2016-10146 imagemagick | CVE-2016-5118 | https://security-tracker.debian.org/tracker/CVE-2016-5118 imagemagick | CVE-2016-7513 | https://security-tracker.debian.org/tracker/CVE-2016-7513 imagemagick | CVE-2016-7514 | https://security-tracker.debian.org/tracker/CVE-2016-7514 imagemagick | CVE-2016-7515 | https://security-tracker.debian.org/tracker/CVE-2016-7515 imagemagick | CVE-2016-7516 | https://security-tracker.debian.org/tracker/CVE-2016-7516 imagemagick | CVE-2016-7517 | https://security-tracker.debian.org/tracker/CVE-2016-7517 imagemagick | CVE-2016-7518 | https://security-tracker.debian.org/tracker/CVE-2016-7518 imagemagick | CVE-2016-7519 | https://security-tracker.debian.org/tracker/CVE-2016-7519 imagemagick | CVE-2016-7520 | https://security-tracker.debian.org/tracker/CVE-2016-7520 imagemagick | CVE-2016-7521 | https://security-tracker.debian.org/tracker/CVE-2016-7521 imagemagick | CVE-2016-7522 | https://security-tracker.debian.org/tracker/CVE-2016-7522 imagemagick | CVE-2016-7523 | https://security-tracker.debian.org/tracker/CVE-2016-7523 imagemagick | CVE-2016-7524 | https://security-tracker.debian.org/tracker/CVE-2016-7524 imagemagick | CVE-2016-7525 | https://security-tracker.debian.org/tracker/CVE-2016-7525 imagemagick | CVE-2016-7526 | https://security-tracker.debian.org/tracker/CVE-2016-7526 imagemagick | CVE-2016-7527 | https://security-tracker.debian.org/tracker/CVE-2016-7527 imagemagick | CVE-2016-7528 | https://security-tracker.debian.org/tracker/CVE-2016-7528 imagemagick | CVE-2016-7529 | https://security-tracker.debian.org/tracker/CVE-2016-7529 imagemagick | CVE-2016-7530 | https://security-tracker.debian.org/tracker/CVE-2016-7530 imagemagick | CVE-2016-7531 | https://security-tracker.debian.org/tracker/CVE-2016-7531 imagemagick | CVE-2016-7532 | https://security-tracker.debian.org/tracker/CVE-2016-7532 imagemagick | CVE-2016-7533 | https://security-tracker.debian.org/tracker/CVE-2016-7533 imagemagick | CVE-2016-7534 | https://security-tracker.debian.org/tracker/CVE-2016-7534 imagemagick | CVE-2016-7535 | https://security-tracker.debian.org/tracker/CVE-2016-7535 imagemagick | CVE-2016-7536 | https://security-tracker.debian.org/tracker/CVE-2016-7536 imagemagick | CVE-2016-7537 | https://security-tracker.debian.org/tracker/CVE-2016-7537 imagemagick | CVE-2016-7538 | https://security-tracker.debian.org/tracker/CVE-2016-7538 imagemagick | CVE-2017-5506 | https://security-tracker.debian.org/tracker/CVE-2017-5506 imagemagick | CVE-2017-5509 | https://security-tracker.debian.org/tracker/CVE-2017-5509 imagemagick | CVE-2017-5510 | https://security-tracker.debian.org/tracker/CVE-2017-5510 imagemagick | CVE-2017-5511 | https://security-tracker.debian.org/tracker/CVE-2017-5511 imagemagick | CVE-2023-1289 | https://security-tracker.debian.org/tracker/CVE-2023-1289 imagemagick | CVE-2023-2157 | https://security-tracker.debian.org/tracker/CVE-2023-2157 imagemagick | CVE-2023-34151 | https://security-tracker.debian.org/tracker/CVE-2023-34151 imagemagick | CVE-2023-34152 | https://security-tracker.debian.org/tracker/CVE-2023-34152 imagemagick | CVE-2023-34153 | https://security-tracker.debian.org/tracker/CVE-2023-34153 imagemagick | CVE-2023-34474 | https://security-tracker.debian.org/tracker/CVE-2023-34474 imagemagick | CVE-2023-34475 | https://security-tracker.debian.org/tracker/CVE-2023-34475 jasper | CVE-2015-8751 | https://security-tracker.debian.org/tracker/CVE-2015-8751 jquery | CVE-2007-2379 | https://security-tracker.debian.org/tracker/CVE-2007-2379 kvmtool | CVE-2021-45464 | https://security-tracker.debian.org/tracker/CVE-2021-45464 libao | CVE-2017-11548 | https://security-tracker.debian.org/tracker/CVE-2017-11548 libarchive | CVE-2023-30571 | https://security-tracker.debian.org/tracker/CVE-2023-30571 libfreeimage | CVE-2019-12211 | https://security-tracker.debian.org/tracker/CVE-2019-12211 libfreeimage | CVE-2019-12212 | https://security-tracker.debian.org/tracker/CVE-2019-12212 libfreeimage | CVE-2019-12213 | https://security-tracker.debian.org/tracker/CVE-2019-12213 libfreeimage | CVE-2019-12214 | https://security-tracker.debian.org/tracker/CVE-2019-12214 libfreeimage | CVE-2020-21426 | https://security-tracker.debian.org/tracker/CVE-2020-21426 libfreeimage | CVE-2020-21427 | https://security-tracker.debian.org/tracker/CVE-2020-21427 libfreeimage | CVE-2020-21428 | https://security-tracker.debian.org/tracker/CVE-2020-21428 libfreeimage | CVE-2021-33367 | https://security-tracker.debian.org/tracker/CVE-2021-33367 libgtk2 | CVE-2014-1949 | https://security-tracker.debian.org/tracker/CVE-2014-1949 libiberty | CVE-2012-3509 | https://security-tracker.debian.org/tracker/CVE-2012-3509 libiberty | CVE-2016-2226 | https://security-tracker.debian.org/tracker/CVE-2016-2226 libiberty | CVE-2016-4487 | https://security-tracker.debian.org/tracker/CVE-2016-4487 libiberty | CVE-2016-4488 | https://security-tracker.debian.org/tracker/CVE-2016-4488 libiberty | CVE-2016-4489 | https://security-tracker.debian.org/tracker/CVE-2016-4489 libiberty | CVE-2016-4490 | https://security-tracker.debian.org/tracker/CVE-2016-4490 libiberty | CVE-2016-4491 | https://security-tracker.debian.org/tracker/CVE-2016-4491 libiberty | CVE-2016-4492 | https://security-tracker.debian.org/tracker/CVE-2016-4492 libiberty | CVE-2016-4493 | https://security-tracker.debian.org/tracker/CVE-2016-4493 libiberty | CVE-2016-6131 | https://security-tracker.debian.org/tracker/CVE-2016-6131 libkrb5 | CVE-1999-0143 | https://security-tracker.debian.org/tracker/CVE-1999-0143 libkrb5 | CVE-1999-0713 | https://security-tracker.debian.org/tracker/CVE-1999-0713 libkrb5 | CVE-2007-3149 | https://security-tracker.debian.org/tracker/CVE-2007-3149 libkrb5 | CVE-2007-5894 | https://security-tracker.debian.org/tracker/CVE-2007-5894 libkrb5 | CVE-2007-5902 | https://security-tracker.debian.org/tracker/CVE-2007-5902 libkrb5 | CVE-2009-0844 | https://security-tracker.debian.org/tracker/CVE-2009-0844 libkrb5 | CVE-2009-0846 | https://security-tracker.debian.org/tracker/CVE-2009-0846 libkrb5 | CVE-2023-36054 | https://security-tracker.debian.org/tracker/CVE-2023-36054 libkrb5 | CVE-2023-39975 | https://security-tracker.debian.org/tracker/CVE-2023-39975 libmad | CVE-2018-7263 | https://security-tracker.debian.org/tracker/CVE-2018-7263 libmpeg2 | CVE-2022-37416 | https://security-tracker.debian.org/tracker/CVE-2022-37416 libplist | CVE-2017-5834 | https://security-tracker.debian.org/tracker/CVE-2017-5834 libplist | CVE-2017-5835 | https://security-tracker.debian.org/tracker/CVE-2017-5835 libplist | CVE-2017-5836 | https://security-tracker.debian.org/tracker/CVE-2017-5836 libraw | CVE-2020-22628 | https://security-tracker.debian.org/tracker/CVE-2020-22628 libsndfile | CVE-2022-33065 | https://security-tracker.debian.org/tracker/CVE-2022-33065 libtommath | CVE-2023-36328 | https://security-tracker.debian.org/tracker/CVE-2023-36328 libtorrent | CVE-2009-1760 | https://security-tracker.debian.org/tracker/CVE-2009-1760 libtorrent | CVE-2016-5301 | https://security-tracker.debian.org/tracker/CVE-2016-5301 libvirt | CVE-2014-8135 | https://security-tracker.debian.org/tracker/CVE-2014-8135 libvirt | CVE-2014-8136 | https://security-tracker.debian.org/tracker/CVE-2014-8136 libvirt | CVE-2015-5313 | https://security-tracker.debian.org/tracker/CVE-2015-5313 libvirt | CVE-2018-5748 | https://security-tracker.debian.org/tracker/CVE-2018-5748 libvirt | CVE-2018-6764 | https://security-tracker.debian.org/tracker/CVE-2018-6764 libvirt | CVE-2023-3750 | https://security-tracker.debian.org/tracker/CVE-2023-3750 lrzip | CVE-2022-33067 | https://security-tracker.debian.org/tracker/CVE-2022-33067 lrzip | CVE-2023-39741 | https://security-tracker.debian.org/tracker/CVE-2023-39741 lrzsz | CVE-2018-10195 | https://security-tracker.debian.org/tracker/CVE-2018-10195 lua | CVE-2014-5461 | https://security-tracker.debian.org/tracker/CVE-2014-5461 lua | CVE-2021-43519 | https://security-tracker.debian.org/tracker/CVE-2021-43519 mbedtls | CVE-2021-36647 | https://security-tracker.debian.org/tracker/CVE-2021-36647 mbedtls | CVE-2021-43666 | https://security-tracker.debian.org/tracker/CVE-2021-43666 mbedtls | CVE-2021-45451 | https://security-tracker.debian.org/tracker/CVE-2021-45451 mdadm | CVE-2023-28736 | https://security-tracker.debian.org/tracker/CVE-2023-28736 mdadm | CVE-2023-28938 | https://security-tracker.debian.org/tracker/CVE-2023-28938 mongodb | CVE-2014-8180 | https://security-tracker.debian.org/tracker/CVE-2014-8180 mongodb | CVE-2017-2665 | https://security-tracker.debian.org/tracker/CVE-2017-2665 mutt | CVE-2011-1429 | https://security-tracker.debian.org/tracker/CVE-2011-1429 nasm | CVE-2022-46456 | https://security-tracker.debian.org/tracker/CVE-2022-46456 netdata | CVE-2023-22496 | https://security-tracker.debian.org/tracker/CVE-2023-22496 netdata | CVE-2023-22497 | https://security-tracker.debian.org/tracker/CVE-2023-22497 netsnmp | CVE-2022-44792 | https://security-tracker.debian.org/tracker/CVE-2022-44792 netsnmp | CVE-2022-44793 | https://security-tracker.debian.org/tracker/CVE-2022-44793 ninja | CVE-2021-4336 | https://security-tracker.debian.org/tracker/CVE-2021-4336 nodejs | CVE-2023-32002 | https://security-tracker.debian.org/tracker/CVE-2023-32002 nodejs | CVE-2023-32006 | https://security-tracker.debian.org/tracker/CVE-2023-32006 nodejs | CVE-2023-32559 | https://security-tracker.debian.org/tracker/CVE-2023-32559 ntp | CVE-2014-9750 | https://security-tracker.debian.org/tracker/CVE-2014-9750 ntp | CVE-2014-9751 | https://security-tracker.debian.org/tracker/CVE-2014-9751 ntp | CVE-2015-7691 | https://security-tracker.debian.org/tracker/CVE-2015-7691 ntp | CVE-2015-7692 | https://security-tracker.debian.org/tracker/CVE-2015-7692 ntp | CVE-2015-7701 | https://security-tracker.debian.org/tracker/CVE-2015-7701 ntp | CVE-2015-7702 | https://security-tracker.debian.org/tracker/CVE-2015-7702 ntp | CVE-2015-7703 | https://security-tracker.debian.org/tracker/CVE-2015-7703 ntp | CVE-2015-7704 | https://security-tracker.debian.org/tracker/CVE-2015-7704 ntp | CVE-2015-7705 | https://security-tracker.debian.org/tracker/CVE-2015-7705 ntp | CVE-2015-7849 | https://security-tracker.debian.org/tracker/CVE-2015-7849 ntp | CVE-2015-7850 | https://security-tracker.debian.org/tracker/CVE-2015-7850 ntp | CVE-2015-7852 | https://security-tracker.debian.org/tracker/CVE-2015-7852 ntp | CVE-2015-7853 | https://security-tracker.debian.org/tracker/CVE-2015-7853 ntp | CVE-2015-7854 | https://security-tracker.debian.org/tracker/CVE-2015-7854 ntp | CVE-2015-7855 | https://security-tracker.debian.org/tracker/CVE-2015-7855 ntp | CVE-2015-7973 | https://security-tracker.debian.org/tracker/CVE-2015-7973 ntp | CVE-2015-7974 | https://security-tracker.debian.org/tracker/CVE-2015-7974 ntp | CVE-2015-7977 | https://security-tracker.debian.org/tracker/CVE-2015-7977 ntp | CVE-2016-2518 | https://security-tracker.debian.org/tracker/CVE-2016-2518 ntp | CVE-2016-4953 | https://security-tracker.debian.org/tracker/CVE-2016-4953 ntp | CVE-2016-4954 | https://security-tracker.debian.org/tracker/CVE-2016-4954 ntp | CVE-2016-4955 | https://security-tracker.debian.org/tracker/CVE-2016-4955 ntp | CVE-2016-4956 | https://security-tracker.debian.org/tracker/CVE-2016-4956 ntp | CVE-2016-7426 | https://security-tracker.debian.org/tracker/CVE-2016-7426 ntp | CVE-2016-7434 | https://security-tracker.debian.org/tracker/CVE-2016-7434 ntp | CVE-2017-6458 | https://security-tracker.debian.org/tracker/CVE-2017-6458 ntp | CVE-2018-7170 | https://security-tracker.debian.org/tracker/CVE-2018-7170 ntp | CVE-2018-7185 | https://security-tracker.debian.org/tracker/CVE-2018-7185 ntp | CVE-2019-11331 | https://security-tracker.debian.org/tracker/CVE-2019-11331 ntp | CVE-2019-8936 | https://security-tracker.debian.org/tracker/CVE-2019-8936 ntp | CVE-2020-11868 | https://security-tracker.debian.org/tracker/CVE-2020-11868 ntp | CVE-2020-13817 | https://security-tracker.debian.org/tracker/CVE-2020-13817 open-iscsi | CVE-2020-13987 | https://security-tracker.debian.org/tracker/CVE-2020-13987 opencv3 | CVE-2019-14493 | https://security-tracker.debian.org/tracker/CVE-2019-14493 opencv3 | CVE-2019-15939 | https://security-tracker.debian.org/tracker/CVE-2019-15939 opencv3 | CVE-2019-19624 | https://security-tracker.debian.org/tracker/CVE-2019-19624 opencv3 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 opencv4 | CVE-2023-2617 | https://security-tracker.debian.org/tracker/CVE-2023-2617 opencv4 | CVE-2023-2618 | https://security-tracker.debian.org/tracker/CVE-2023-2618 openjdk | CVE-2009-2475 | https://security-tracker.debian.org/tracker/CVE-2009-2475 openjdk | CVE-2009-2476 | https://security-tracker.debian.org/tracker/CVE-2009-2476 openjdk | CVE-2009-2689 | https://security-tracker.debian.org/tracker/CVE-2009-2689 openjdk | CVE-2009-2690 | https://security-tracker.debian.org/tracker/CVE-2009-2690 openjdk | CVE-2009-3728 | https://security-tracker.debian.org/tracker/CVE-2009-3728 openjdk | CVE-2009-3879 | https://security-tracker.debian.org/tracker/CVE-2009-3879 openjdk | CVE-2009-3880 | https://security-tracker.debian.org/tracker/CVE-2009-3880 openjdk | CVE-2009-3881 | https://security-tracker.debian.org/tracker/CVE-2009-3881 openjdk | CVE-2009-3882 | https://security-tracker.debian.org/tracker/CVE-2009-3882 openjdk | CVE-2009-3883 | https://security-tracker.debian.org/tracker/CVE-2009-3883 openjdk | CVE-2009-3884 | https://security-tracker.debian.org/tracker/CVE-2009-3884 openjpeg | CVE-2015-1239 | https://security-tracker.debian.org/tracker/CVE-2015-1239 openldap | CVE-2015-3276 | https://security-tracker.debian.org/tracker/CVE-2015-3276 openldap | CVE-2022-29155 | https://security-tracker.debian.org/tracker/CVE-2022-29155 openssh | CVE-2007-2768 | https://security-tracker.debian.org/tracker/CVE-2007-2768 openssh | CVE-2008-3844 | https://security-tracker.debian.org/tracker/CVE-2008-3844 openssh | CVE-2014-9278 | https://security-tracker.debian.org/tracker/CVE-2014-9278 openssh | CVE-2023-38408 | https://security-tracker.debian.org/tracker/CVE-2023-38408 openswan | CVE-2019-10155 | https://security-tracker.debian.org/tracker/CVE-2019-10155 openvmtools | CVE-2014-4199 | https://security-tracker.debian.org/tracker/CVE-2014-4199 openvmtools | CVE-2014-4200 | https://security-tracker.debian.org/tracker/CVE-2014-4200 openvmtools | CVE-2021-31693 | https://security-tracker.debian.org/tracker/CVE-2021-31693 openvmtools | CVE-2022-22943 | https://security-tracker.debian.org/tracker/CVE-2022-22943 openvmtools | CVE-2022-31693 | https://security-tracker.debian.org/tracker/CVE-2022-31693 openvmtools | CVE-2023-20867 | https://security-tracker.debian.org/tracker/CVE-2023-20867 openvmtools | CVE-2023-20900 | https://security-tracker.debian.org/tracker/CVE-2023-20900 opus | CVE-2022-25345 | https://security-tracker.debian.org/tracker/CVE-2022-25345 oracle-mysql | CVE-2012-0583 | https://security-tracker.debian.org/tracker/CVE-2012-0583 oracle-mysql | CVE-2012-1696 | https://security-tracker.debian.org/tracker/CVE-2012-1696 oracle-mysql | CVE-2012-3144 | https://security-tracker.debian.org/tracker/CVE-2012-3144 oracle-mysql | CVE-2012-3147 | https://security-tracker.debian.org/tracker/CVE-2012-3147 oracle-mysql | CVE-2012-3149 | https://security-tracker.debian.org/tracker/CVE-2012-3149 oracle-mysql | CVE-2012-3156 | https://security-tracker.debian.org/tracker/CVE-2012-3156 oracle-mysql | CVE-2012-4414 | https://security-tracker.debian.org/tracker/CVE-2012-4414 oracle-mysql | CVE-2013-1566 | https://security-tracker.debian.org/tracker/CVE-2013-1566 oracle-mysql | CVE-2013-1567 | https://security-tracker.debian.org/tracker/CVE-2013-1567 oracle-mysql | CVE-2013-1570 | https://security-tracker.debian.org/tracker/CVE-2013-1570 oracle-mysql | CVE-2013-2381 | https://security-tracker.debian.org/tracker/CVE-2013-2381 oracle-mysql | CVE-2013-2395 | https://security-tracker.debian.org/tracker/CVE-2013-2395 oracle-mysql | CVE-2013-3795 | https://security-tracker.debian.org/tracker/CVE-2013-3795 oracle-mysql | CVE-2013-3796 | https://security-tracker.debian.org/tracker/CVE-2013-3796 oracle-mysql | CVE-2013-3798 | https://security-tracker.debian.org/tracker/CVE-2013-3798 oracle-mysql | CVE-2013-3806 | https://security-tracker.debian.org/tracker/CVE-2013-3806 oracle-mysql | CVE-2013-3807 | https://security-tracker.debian.org/tracker/CVE-2013-3807 oracle-mysql | CVE-2013-3810 | https://security-tracker.debian.org/tracker/CVE-2013-3810 oracle-mysql | CVE-2013-3811 | https://security-tracker.debian.org/tracker/CVE-2013-3811 oracle-mysql | CVE-2013-5767 | https://security-tracker.debian.org/tracker/CVE-2013-5767 oracle-mysql | CVE-2013-5770 | https://security-tracker.debian.org/tracker/CVE-2013-5770 oracle-mysql | CVE-2013-5786 | https://security-tracker.debian.org/tracker/CVE-2013-5786 oracle-mysql | CVE-2013-5793 | https://security-tracker.debian.org/tracker/CVE-2013-5793 oracle-mysql | CVE-2013-5860 | https://security-tracker.debian.org/tracker/CVE-2013-5860 oracle-mysql | CVE-2013-5881 | https://security-tracker.debian.org/tracker/CVE-2013-5881 oracle-mysql | CVE-2013-5882 | https://security-tracker.debian.org/tracker/CVE-2013-5882 oracle-mysql | CVE-2013-5894 | https://security-tracker.debian.org/tracker/CVE-2013-5894 oracle-mysql | CVE-2014-0427 | https://security-tracker.debian.org/tracker/CVE-2014-0427 oracle-mysql | CVE-2014-0430 | https://security-tracker.debian.org/tracker/CVE-2014-0430 oracle-mysql | CVE-2014-0431 | https://security-tracker.debian.org/tracker/CVE-2014-0431 oracle-mysql | CVE-2014-0433 | https://security-tracker.debian.org/tracker/CVE-2014-0433 oracle-mysql | CVE-2014-2434 | https://security-tracker.debian.org/tracker/CVE-2014-2434 oracle-mysql | CVE-2014-2435 | https://security-tracker.debian.org/tracker/CVE-2014-2435 oracle-mysql | CVE-2014-2442 | https://security-tracker.debian.org/tracker/CVE-2014-2442 oracle-mysql | CVE-2014-2444 | https://security-tracker.debian.org/tracker/CVE-2014-2444 oracle-mysql | CVE-2014-2450 | https://security-tracker.debian.org/tracker/CVE-2014-2450 oracle-mysql | CVE-2014-2451 | https://security-tracker.debian.org/tracker/CVE-2014-2451 oracle-mysql | CVE-2014-2484 | https://security-tracker.debian.org/tracker/CVE-2014-2484 oracle-mysql | CVE-2014-4214 | https://security-tracker.debian.org/tracker/CVE-2014-4214 oracle-mysql | CVE-2014-4233 | https://security-tracker.debian.org/tracker/CVE-2014-4233 oracle-mysql | CVE-2014-4238 | https://security-tracker.debian.org/tracker/CVE-2014-4238 oracle-mysql | CVE-2014-4240 | https://security-tracker.debian.org/tracker/CVE-2014-4240 oracle-mysql | CVE-2015-0385 | https://security-tracker.debian.org/tracker/CVE-2015-0385 oracle-mysql | CVE-2015-0405 | https://security-tracker.debian.org/tracker/CVE-2015-0405 oracle-mysql | CVE-2015-0409 | https://security-tracker.debian.org/tracker/CVE-2015-0409 oracle-mysql | CVE-2015-0423 | https://security-tracker.debian.org/tracker/CVE-2015-0423 oracle-mysql | CVE-2015-0438 | https://security-tracker.debian.org/tracker/CVE-2015-0438 oracle-mysql | CVE-2015-0439 | https://security-tracker.debian.org/tracker/CVE-2015-0439 oracle-mysql | CVE-2015-0498 | https://security-tracker.debian.org/tracker/CVE-2015-0498 oracle-mysql | CVE-2015-0500 | https://security-tracker.debian.org/tracker/CVE-2015-0500 oracle-mysql | CVE-2015-0503 | https://security-tracker.debian.org/tracker/CVE-2015-0503 oracle-mysql | CVE-2015-0506 | https://security-tracker.debian.org/tracker/CVE-2015-0506 oracle-mysql | CVE-2015-0507 | https://security-tracker.debian.org/tracker/CVE-2015-0507 oracle-mysql | CVE-2015-0508 | https://security-tracker.debian.org/tracker/CVE-2015-0508 oracle-mysql | CVE-2015-0511 | https://security-tracker.debian.org/tracker/CVE-2015-0511 oracle-mysql | CVE-2015-2566 | https://security-tracker.debian.org/tracker/CVE-2015-2566 oracle-mysql | CVE-2015-2567 | https://security-tracker.debian.org/tracker/CVE-2015-2567 oracle-mysql | CVE-2015-2611 | https://security-tracker.debian.org/tracker/CVE-2015-2611 oracle-mysql | CVE-2015-2617 | https://security-tracker.debian.org/tracker/CVE-2015-2617 oracle-mysql | CVE-2015-2639 | https://security-tracker.debian.org/tracker/CVE-2015-2639 oracle-mysql | CVE-2015-2641 | https://security-tracker.debian.org/tracker/CVE-2015-2641 oracle-mysql | CVE-2015-2661 | https://security-tracker.debian.org/tracker/CVE-2015-2661 oracle-mysql | CVE-2015-3152 | https://security-tracker.debian.org/tracker/CVE-2015-3152 oracle-mysql | CVE-2015-4730 | https://security-tracker.debian.org/tracker/CVE-2015-4730 oracle-mysql | CVE-2015-4756 | https://security-tracker.debian.org/tracker/CVE-2015-4756 oracle-mysql | CVE-2015-4761 | https://security-tracker.debian.org/tracker/CVE-2015-4761 oracle-mysql | CVE-2015-4766 | https://security-tracker.debian.org/tracker/CVE-2015-4766 oracle-mysql | CVE-2015-4767 | https://security-tracker.debian.org/tracker/CVE-2015-4767 oracle-mysql | CVE-2015-4769 | https://security-tracker.debian.org/tracker/CVE-2015-4769 oracle-mysql | CVE-2015-4771 | https://security-tracker.debian.org/tracker/CVE-2015-4771 oracle-mysql | CVE-2015-4772 | https://security-tracker.debian.org/tracker/CVE-2015-4772 oracle-mysql | CVE-2015-4791 | https://security-tracker.debian.org/tracker/CVE-2015-4791 oracle-mysql | CVE-2015-4800 | https://security-tracker.debian.org/tracker/CVE-2015-4800 oracle-mysql | CVE-2015-4833 | https://security-tracker.debian.org/tracker/CVE-2015-4833 oracle-mysql | CVE-2015-4862 | https://security-tracker.debian.org/tracker/CVE-2015-4862 oracle-mysql | CVE-2015-4890 | https://security-tracker.debian.org/tracker/CVE-2015-4890 oracle-mysql | CVE-2015-4904 | https://security-tracker.debian.org/tracker/CVE-2015-4904 oracle-mysql | CVE-2015-4905 | https://security-tracker.debian.org/tracker/CVE-2015-4905 oracle-mysql | CVE-2015-4910 | https://security-tracker.debian.org/tracker/CVE-2015-4910 oracle-mysql | CVE-2016-0503 | https://security-tracker.debian.org/tracker/CVE-2016-0503 oracle-mysql | CVE-2016-0504 | https://security-tracker.debian.org/tracker/CVE-2016-0504 oracle-mysql | CVE-2016-0594 | https://security-tracker.debian.org/tracker/CVE-2016-0594 oracle-mysql | CVE-2016-0595 | https://security-tracker.debian.org/tracker/CVE-2016-0595 oracle-mysql | CVE-2016-0607 | https://security-tracker.debian.org/tracker/CVE-2016-0607 oracle-mysql | CVE-2016-0610 | https://security-tracker.debian.org/tracker/CVE-2016-0610 oracle-mysql | CVE-2016-0611 | https://security-tracker.debian.org/tracker/CVE-2016-0611 oracle-mysql | CVE-2016-0616 | https://security-tracker.debian.org/tracker/CVE-2016-0616 oracle-mysql | CVE-2016-0652 | https://security-tracker.debian.org/tracker/CVE-2016-0652 oracle-mysql | CVE-2016-0653 | https://security-tracker.debian.org/tracker/CVE-2016-0653 oracle-mysql | CVE-2016-0654 | https://security-tracker.debian.org/tracker/CVE-2016-0654 oracle-mysql | CVE-2016-0656 | https://security-tracker.debian.org/tracker/CVE-2016-0656 oracle-mysql | CVE-2016-0657 | https://security-tracker.debian.org/tracker/CVE-2016-0657 oracle-mysql | CVE-2016-0658 | https://security-tracker.debian.org/tracker/CVE-2016-0658 oracle-mysql | CVE-2016-0659 | https://security-tracker.debian.org/tracker/CVE-2016-0659 oracle-mysql | CVE-2016-0662 | https://security-tracker.debian.org/tracker/CVE-2016-0662 oracle-mysql | CVE-2016-0663 | https://security-tracker.debian.org/tracker/CVE-2016-0663 oracle-mysql | CVE-2016-0667 | https://security-tracker.debian.org/tracker/CVE-2016-0667 oracle-mysql | CVE-2016-3424 | https://security-tracker.debian.org/tracker/CVE-2016-3424 oracle-mysql | CVE-2016-3440 | https://security-tracker.debian.org/tracker/CVE-2016-3440 oracle-mysql | CVE-2016-3518 | https://security-tracker.debian.org/tracker/CVE-2016-3518 oracle-mysql | CVE-2016-3588 | https://security-tracker.debian.org/tracker/CVE-2016-3588 oracle-mysql | CVE-2016-5436 | https://security-tracker.debian.org/tracker/CVE-2016-5436 oracle-mysql | CVE-2016-5437 | https://security-tracker.debian.org/tracker/CVE-2016-5437 oracle-mysql | CVE-2016-5441 | https://security-tracker.debian.org/tracker/CVE-2016-5441 oracle-mysql | CVE-2016-5442 | https://security-tracker.debian.org/tracker/CVE-2016-5442 oracle-mysql | CVE-2016-5443 | https://security-tracker.debian.org/tracker/CVE-2016-5443 oracle-mysql | CVE-2016-5628 | https://security-tracker.debian.org/tracker/CVE-2016-5628 oracle-mysql | CVE-2016-5631 | https://security-tracker.debian.org/tracker/CVE-2016-5631 oracle-mysql | CVE-2016-5632 | https://security-tracker.debian.org/tracker/CVE-2016-5632 oracle-mysql | CVE-2016-5633 | https://security-tracker.debian.org/tracker/CVE-2016-5633 oracle-mysql | CVE-2016-5634 | https://security-tracker.debian.org/tracker/CVE-2016-5634 oracle-mysql | CVE-2016-5635 | https://security-tracker.debian.org/tracker/CVE-2016-5635 oracle-mysql | CVE-2016-8286 | https://security-tracker.debian.org/tracker/CVE-2016-8286 oracle-mysql | CVE-2016-8287 | https://security-tracker.debian.org/tracker/CVE-2016-8287 oracle-mysql | CVE-2016-8289 | https://security-tracker.debian.org/tracker/CVE-2016-8289 oracle-mysql | CVE-2016-8290 | https://security-tracker.debian.org/tracker/CVE-2016-8290 oracle-mysql | CVE-2017-10165 | https://security-tracker.debian.org/tracker/CVE-2017-10165 oracle-mysql | CVE-2017-10167 | https://security-tracker.debian.org/tracker/CVE-2017-10167 oracle-mysql | CVE-2017-10284 | https://security-tracker.debian.org/tracker/CVE-2017-10284 oracle-mysql | CVE-2017-10296 | https://security-tracker.debian.org/tracker/CVE-2017-10296 oracle-mysql | CVE-2017-10311 | https://security-tracker.debian.org/tracker/CVE-2017-10311 oracle-mysql | CVE-2017-10313 | https://security-tracker.debian.org/tracker/CVE-2017-10313 oracle-mysql | CVE-2017-3251 | https://security-tracker.debian.org/tracker/CVE-2017-3251 oracle-mysql | CVE-2017-3256 | https://security-tracker.debian.org/tracker/CVE-2017-3256 oracle-mysql | CVE-2017-3319 | https://security-tracker.debian.org/tracker/CVE-2017-3319 oracle-mysql | CVE-2017-3320 | https://security-tracker.debian.org/tracker/CVE-2017-3320 oracle-mysql | CVE-2017-3452 | https://security-tracker.debian.org/tracker/CVE-2017-3452 oracle-mysql | CVE-2017-3454 | https://security-tracker.debian.org/tracker/CVE-2017-3454 oracle-mysql | CVE-2017-3455 | https://security-tracker.debian.org/tracker/CVE-2017-3455 oracle-mysql | CVE-2017-3457 | https://security-tracker.debian.org/tracker/CVE-2017-3457 oracle-mysql | CVE-2017-3458 | https://security-tracker.debian.org/tracker/CVE-2017-3458 oracle-mysql | CVE-2017-3459 | https://security-tracker.debian.org/tracker/CVE-2017-3459 oracle-mysql | CVE-2017-3460 | https://security-tracker.debian.org/tracker/CVE-2017-3460 oracle-mysql | CVE-2017-3465 | https://security-tracker.debian.org/tracker/CVE-2017-3465 oracle-mysql | CVE-2017-3467 | https://security-tracker.debian.org/tracker/CVE-2017-3467 oracle-mysql | CVE-2017-3468 | https://security-tracker.debian.org/tracker/CVE-2017-3468 oracle-mysql | CVE-2017-3529 | https://security-tracker.debian.org/tracker/CVE-2017-3529 oracle-mysql | CVE-2017-3637 | https://security-tracker.debian.org/tracker/CVE-2017-3637 oracle-mysql | CVE-2017-3638 | https://security-tracker.debian.org/tracker/CVE-2017-3638 oracle-mysql | CVE-2017-3639 | https://security-tracker.debian.org/tracker/CVE-2017-3639 oracle-mysql | CVE-2017-3640 | https://security-tracker.debian.org/tracker/CVE-2017-3640 oracle-mysql | CVE-2017-3642 | https://security-tracker.debian.org/tracker/CVE-2017-3642 oracle-mysql | CVE-2017-3643 | https://security-tracker.debian.org/tracker/CVE-2017-3643 oracle-mysql | CVE-2017-3644 | https://security-tracker.debian.org/tracker/CVE-2017-3644 oracle-mysql | CVE-2017-3645 | https://security-tracker.debian.org/tracker/CVE-2017-3645 oracle-mysql | CVE-2017-3646 | https://security-tracker.debian.org/tracker/CVE-2017-3646 oracle-mysql | CVE-2017-3650 | https://security-tracker.debian.org/tracker/CVE-2017-3650 oracle-mysql | CVE-2018-0735 | https://security-tracker.debian.org/tracker/CVE-2018-0735 oracle-mysql | CVE-2018-3061 | https://security-tracker.debian.org/tracker/CVE-2018-3061 oracle-mysql | CVE-2018-3071 | https://security-tracker.debian.org/tracker/CVE-2018-3071 oracle-mysql | CVE-2019-2731 | https://security-tracker.debian.org/tracker/CVE-2019-2731 oracle-mysql | CVE-2019-2741 | https://security-tracker.debian.org/tracker/CVE-2019-2741 oracle-mysql | CVE-2019-2755 | https://security-tracker.debian.org/tracker/CVE-2019-2755 oracle-mysql | CVE-2019-2757 | https://security-tracker.debian.org/tracker/CVE-2019-2757 oracle-mysql | CVE-2019-7317 | https://security-tracker.debian.org/tracker/CVE-2019-7317 oracle-mysql | CVE-2020-14760 | https://security-tracker.debian.org/tracker/CVE-2020-14760 oracle-mysql | CVE-2020-14814 | https://security-tracker.debian.org/tracker/CVE-2020-14814 oracle-mysql | CVE-2020-14830 | https://security-tracker.debian.org/tracker/CVE-2020-14830 oracle-mysql | CVE-2020-14837 | https://security-tracker.debian.org/tracker/CVE-2020-14837 oracle-mysql | CVE-2020-14839 | https://security-tracker.debian.org/tracker/CVE-2020-14839 oracle-mysql | CVE-2020-14845 | https://security-tracker.debian.org/tracker/CVE-2020-14845 oracle-mysql | CVE-2020-14846 | https://security-tracker.debian.org/tracker/CVE-2020-14846 oracle-mysql | CVE-2020-14852 | https://security-tracker.debian.org/tracker/CVE-2020-14852 oracle-mysql | CVE-2020-15358 | https://security-tracker.debian.org/tracker/CVE-2020-15358 oracle-mysql | CVE-2020-1967 | https://security-tracker.debian.org/tracker/CVE-2020-1967 oracle-mysql | CVE-2020-1971 | https://security-tracker.debian.org/tracker/CVE-2020-1971 oracle-mysql | CVE-2021-22570 | https://security-tracker.debian.org/tracker/CVE-2021-22570 oracle-mysql | CVE-2021-2356 | https://security-tracker.debian.org/tracker/CVE-2021-2356 oracle-mysql | CVE-2022-21417 | https://security-tracker.debian.org/tracker/CVE-2022-21417 oracle-mysql | CVE-2022-21444 | https://security-tracker.debian.org/tracker/CVE-2022-21444 oracle-mysql | CVE-2023-21977 | https://security-tracker.debian.org/tracker/CVE-2023-21977 oracle-mysql | CVE-2023-21980 | https://security-tracker.debian.org/tracker/CVE-2023-21980 oracle-mysql | CVE-2023-22007 | https://security-tracker.debian.org/tracker/CVE-2023-22007 oracle-mysql | CVE-2023-22053 | https://security-tracker.debian.org/tracker/CVE-2023-22053 p7zip | CVE-2017-17969 | https://security-tracker.debian.org/tracker/CVE-2017-17969 p7zip | CVE-2018-5996 | https://security-tracker.debian.org/tracker/CVE-2018-5996 patch | CVE-2018-6952 | https://security-tracker.debian.org/tracker/CVE-2018-6952 patch | CVE-2019-20633 | https://security-tracker.debian.org/tracker/CVE-2019-20633 perl | CVE-2023-31484 | https://security-tracker.debian.org/tracker/CVE-2023-31484 perl | CVE-2023-31486 | https://security-tracker.debian.org/tracker/CVE-2023-31486 php | CVE-2007-2728 | https://security-tracker.debian.org/tracker/CVE-2007-2728 php | CVE-2007-3205 | https://security-tracker.debian.org/tracker/CVE-2007-3205 php | CVE-2007-4596 | https://security-tracker.debian.org/tracker/CVE-2007-4596 pkgconf | CVE-2023-24056 | https://security-tracker.debian.org/tracker/CVE-2023-24056 powerpc-utils | CVE-2014-8165 | https://security-tracker.debian.org/tracker/CVE-2014-8165 python-py | CVE-2022-42969 | https://security-tracker.debian.org/tracker/CVE-2022-42969 python-scipy | CVE-2023-25399 | https://security-tracker.debian.org/tracker/CVE-2023-25399 qemu | CVE-2018-18438 | https://security-tracker.debian.org/tracker/CVE-2018-18438 qemu | CVE-2019-12067 | https://security-tracker.debian.org/tracker/CVE-2019-12067 qemu | CVE-2021-20255 | https://security-tracker.debian.org/tracker/CVE-2021-20255 qemu | CVE-2023-1386 | https://security-tracker.debian.org/tracker/CVE-2023-1386 qemu | CVE-2023-2680 | https://security-tracker.debian.org/tracker/CVE-2023-2680 qemu | CVE-2023-3019 | https://security-tracker.debian.org/tracker/CVE-2023-3019 qemu | CVE-2023-3180 | https://security-tracker.debian.org/tracker/CVE-2023-3180 qemu | CVE-2023-3255 | https://security-tracker.debian.org/tracker/CVE-2023-3255 qemu | CVE-2023-3301 | https://security-tracker.debian.org/tracker/CVE-2023-3301 qemu | CVE-2023-3354 | https://security-tracker.debian.org/tracker/CVE-2023-3354 qemu | CVE-2023-40360 | https://security-tracker.debian.org/tracker/CVE-2023-40360 qemu | CVE-2023-4135 | https://security-tracker.debian.org/tracker/CVE-2023-4135 quagga | CVE-2016-4049 | https://security-tracker.debian.org/tracker/CVE-2016-4049 quagga | CVE-2017-3224 | https://security-tracker.debian.org/tracker/CVE-2017-3224 quagga | CVE-2021-44038 | https://security-tracker.debian.org/tracker/CVE-2021-44038 rabbitmq-c | CVE-2023-35789 | https://security-tracker.debian.org/tracker/CVE-2023-35789 resiprocate | CVE-2017-9454 | https://security-tracker.debian.org/tracker/CVE-2017-9454 rust | CVE-2023-40030 | https://security-tracker.debian.org/tracker/CVE-2023-40030 samba4 | CVE-2011-2411 | https://security-tracker.debian.org/tracker/CVE-2011-2411 samba4 | CVE-2018-14628 | https://security-tracker.debian.org/tracker/CVE-2018-14628 samba4 | CVE-2021-3670 | https://security-tracker.debian.org/tracker/CVE-2021-3670 samba4 | CVE-2022-1615 | https://security-tracker.debian.org/tracker/CVE-2022-1615 samba4 | CVE-2022-32743 | https://security-tracker.debian.org/tracker/CVE-2022-32743 samba4 | CVE-2022-37966 | https://security-tracker.debian.org/tracker/CVE-2022-37966 samba4 | CVE-2022-37967 | https://security-tracker.debian.org/tracker/CVE-2022-37967 samba4 | CVE-2022-38023 | https://security-tracker.debian.org/tracker/CVE-2022-38023 sdl | CVE-2019-13616 | https://security-tracker.debian.org/tracker/CVE-2019-13616 sdl | CVE-2019-14906 | https://security-tracker.debian.org/tracker/CVE-2019-14906 sdl | CVE-2019-7572 | https://security-tracker.debian.org/tracker/CVE-2019-7572 sdl | CVE-2019-7573 | https://security-tracker.debian.org/tracker/CVE-2019-7573 sdl | CVE-2019-7574 | https://security-tracker.debian.org/tracker/CVE-2019-7574 sdl | CVE-2019-7575 | https://security-tracker.debian.org/tracker/CVE-2019-7575 sdl | CVE-2019-7576 | https://security-tracker.debian.org/tracker/CVE-2019-7576 sdl | CVE-2019-7577 | https://security-tracker.debian.org/tracker/CVE-2019-7577 sdl | CVE-2019-7578 | https://security-tracker.debian.org/tracker/CVE-2019-7578 sdl | CVE-2019-7635 | https://security-tracker.debian.org/tracker/CVE-2019-7635 sdl | CVE-2019-7636 | https://security-tracker.debian.org/tracker/CVE-2019-7636 sdl | CVE-2019-7637 | https://security-tracker.debian.org/tracker/CVE-2019-7637 sdl | CVE-2019-7638 | https://security-tracker.debian.org/tracker/CVE-2019-7638 sdl | CVE-2020-14409 | https://security-tracker.debian.org/tracker/CVE-2020-14409 sdl | CVE-2020-14410 | https://security-tracker.debian.org/tracker/CVE-2020-14410 shadow | CVE-2013-4235 | https://security-tracker.debian.org/tracker/CVE-2013-4235 shim | CVE-2022-28737 | https://security-tracker.debian.org/tracker/CVE-2022-28737 smack | CVE-2014-0363 | https://security-tracker.debian.org/tracker/CVE-2014-0363 smack | CVE-2014-0364 | https://security-tracker.debian.org/tracker/CVE-2014-0364 smack | CVE-2016-10027 | https://security-tracker.debian.org/tracker/CVE-2016-10027 speechd | CVE-2001-0956 | https://security-tracker.debian.org/tracker/CVE-2001-0956 spice | CVE-2016-0749 | https://security-tracker.debian.org/tracker/CVE-2016-0749 spice | CVE-2016-2150 | https://security-tracker.debian.org/tracker/CVE-2016-2150 spice | CVE-2018-10893 | https://security-tracker.debian.org/tracker/CVE-2018-10893 sudo | CVE-2023-27320 | https://security-tracker.debian.org/tracker/CVE-2023-27320 syslog-ng | CVE-2022-38725 | https://security-tracker.debian.org/tracker/CVE-2022-38725 sysstat | CVE-2023-33204 | https://security-tracker.debian.org/tracker/CVE-2023-33204 tar | CVE-2022-48303 | https://security-tracker.debian.org/tracker/CVE-2022-48303 thttpd | CVE-2012-5640 | https://security-tracker.debian.org/tracker/CVE-2012-5640 tiff | CVE-2015-7313 | https://security-tracker.debian.org/tracker/CVE-2015-7313 tinc | CVE-2013-1428 | https://security-tracker.debian.org/tracker/CVE-2013-1428 tor | CVE-2016-9079 | https://security-tracker.debian.org/tracker/CVE-2016-9079 tor | CVE-2017-16541 | https://security-tracker.debian.org/tracker/CVE-2017-16541 tpm2-tss | CVE-2023-22745 | https://security-tracker.debian.org/tracker/CVE-2023-22745 uboot-tools | CVE-2022-2347 | https://security-tracker.debian.org/tracker/CVE-2022-2347 uboot-tools | CVE-2022-30767 | https://security-tracker.debian.org/tracker/CVE-2022-30767 uboot-tools | CVE-2022-33103 | https://security-tracker.debian.org/tracker/CVE-2022-33103 uboot-tools | CVE-2022-34835 | https://security-tracker.debian.org/tracker/CVE-2022-34835 unrar | CVE-2022-30333 | https://security-tracker.debian.org/tracker/CVE-2022-30333 unzip | CVE-2021-4217 | https://security-tracker.debian.org/tracker/CVE-2021-4217 upx | CVE-2023-23456 | https://security-tracker.debian.org/tracker/CVE-2023-23456 upx | CVE-2023-23457 | https://security-tracker.debian.org/tracker/CVE-2023-23457 xen | CVE-2011-1936 | https://security-tracker.debian.org/tracker/CVE-2011-1936 xen | CVE-2011-3346 | https://security-tracker.debian.org/tracker/CVE-2011-3346 xen | CVE-2014-2580 | https://security-tracker.debian.org/tracker/CVE-2014-2580 xen | CVE-2014-3672 | https://security-tracker.debian.org/tracker/CVE-2014-3672 xen | CVE-2015-7504 | https://security-tracker.debian.org/tracker/CVE-2015-7504 xen | CVE-2015-8550 | https://security-tracker.debian.org/tracker/CVE-2015-8550 xen | CVE-2015-8553 | https://security-tracker.debian.org/tracker/CVE-2015-8553 xen | CVE-2016-3960 | https://security-tracker.debian.org/tracker/CVE-2016-3960 xen | CVE-2016-7092 | https://security-tracker.debian.org/tracker/CVE-2016-7092 xen | CVE-2016-9379 | https://security-tracker.debian.org/tracker/CVE-2016-9379 xen | CVE-2016-9380 | https://security-tracker.debian.org/tracker/CVE-2016-9380 xen | CVE-2016-9383 | https://security-tracker.debian.org/tracker/CVE-2016-9383 xen | CVE-2016-9386 | https://security-tracker.debian.org/tracker/CVE-2016-9386 xen | CVE-2017-12134 | https://security-tracker.debian.org/tracker/CVE-2017-12134 xen | CVE-2017-12135 | https://security-tracker.debian.org/tracker/CVE-2017-12135 xen | CVE-2017-12137 | https://security-tracker.debian.org/tracker/CVE-2017-12137 xen | CVE-2017-7228 | https://security-tracker.debian.org/tracker/CVE-2017-7228 xen | CVE-2018-5244 | https://security-tracker.debian.org/tracker/CVE-2018-5244 xen | CVE-2018-8897 | https://security-tracker.debian.org/tracker/CVE-2018-8897 xen | CVE-2021-26313 | https://security-tracker.debian.org/tracker/CVE-2021-26313 xen | CVE-2021-26314 | https://security-tracker.debian.org/tracker/CVE-2021-26314 xen | CVE-2021-28039 | https://security-tracker.debian.org/tracker/CVE-2021-28039 xen | CVE-2021-28687 | https://security-tracker.debian.org/tracker/CVE-2021-28687 xen | CVE-2021-28690 | https://security-tracker.debian.org/tracker/CVE-2021-28690 xen | CVE-2021-28692 | https://security-tracker.debian.org/tracker/CVE-2021-28692 xen | CVE-2021-28693 | https://security-tracker.debian.org/tracker/CVE-2021-28693 xen | CVE-2021-28694 | https://security-tracker.debian.org/tracker/CVE-2021-28694 xen | CVE-2021-28695 | https://security-tracker.debian.org/tracker/CVE-2021-28695 xen | CVE-2021-28696 | https://security-tracker.debian.org/tracker/CVE-2021-28696 xen | CVE-2021-28697 | https://security-tracker.debian.org/tracker/CVE-2021-28697 xen | CVE-2021-28698 | https://security-tracker.debian.org/tracker/CVE-2021-28698 xen | CVE-2021-28699 | https://security-tracker.debian.org/tracker/CVE-2021-28699 xen | CVE-2021-28700 | https://security-tracker.debian.org/tracker/CVE-2021-28700 xen | CVE-2021-28701 | https://security-tracker.debian.org/tracker/CVE-2021-28701 xen | CVE-2021-28702 | https://security-tracker.debian.org/tracker/CVE-2021-28702 xen | CVE-2021-28703 | https://security-tracker.debian.org/tracker/CVE-2021-28703 xen | CVE-2021-28704 | https://security-tracker.debian.org/tracker/CVE-2021-28704 xen | CVE-2021-28707 | https://security-tracker.debian.org/tracker/CVE-2021-28707 xen | CVE-2021-28708 | https://security-tracker.debian.org/tracker/CVE-2021-28708 xen | CVE-2021-28711 | https://security-tracker.debian.org/tracker/CVE-2021-28711 xen | CVE-2021-28712 | https://security-tracker.debian.org/tracker/CVE-2021-28712 xen | CVE-2021-28713 | https://security-tracker.debian.org/tracker/CVE-2021-28713 xen | CVE-2022-21123 | https://security-tracker.debian.org/tracker/CVE-2022-21123 xen | CVE-2022-21125 | https://security-tracker.debian.org/tracker/CVE-2022-21125 xen | CVE-2022-21127 | https://security-tracker.debian.org/tracker/CVE-2022-21127 xen | CVE-2022-21166 | https://security-tracker.debian.org/tracker/CVE-2022-21166 xen | CVE-2022-23033 | https://security-tracker.debian.org/tracker/CVE-2022-23033 xen | CVE-2022-23035 | https://security-tracker.debian.org/tracker/CVE-2022-23035 xen | CVE-2022-23036 | https://security-tracker.debian.org/tracker/CVE-2022-23036 xen | CVE-2022-23037 | https://security-tracker.debian.org/tracker/CVE-2022-23037 xen | CVE-2022-23038 | https://security-tracker.debian.org/tracker/CVE-2022-23038 xen | CVE-2022-23039 | https://security-tracker.debian.org/tracker/CVE-2022-23039 xen | CVE-2022-23040 | https://security-tracker.debian.org/tracker/CVE-2022-23040 xen | CVE-2022-23041 | https://security-tracker.debian.org/tracker/CVE-2022-23041 xen | CVE-2022-23042 | https://security-tracker.debian.org/tracker/CVE-2022-23042 xen | CVE-2022-23824 | https://security-tracker.debian.org/tracker/CVE-2022-23824 xen | CVE-2022-23960 | https://security-tracker.debian.org/tracker/CVE-2022-23960 xen | CVE-2022-26357 | https://security-tracker.debian.org/tracker/CVE-2022-26357 xen | CVE-2022-26358 | https://security-tracker.debian.org/tracker/CVE-2022-26358 xen | CVE-2022-26359 | https://security-tracker.debian.org/tracker/CVE-2022-26359 xen | CVE-2022-26360 | https://security-tracker.debian.org/tracker/CVE-2022-26360 xen | CVE-2022-26361 | https://security-tracker.debian.org/tracker/CVE-2022-26361 xen | CVE-2022-26362 | https://security-tracker.debian.org/tracker/CVE-2022-26362 xen | CVE-2022-26363 | https://security-tracker.debian.org/tracker/CVE-2022-26363 xen | CVE-2022-26364 | https://security-tracker.debian.org/tracker/CVE-2022-26364 xen | CVE-2022-26365 | https://security-tracker.debian.org/tracker/CVE-2022-26365 xen | CVE-2022-29900 | https://security-tracker.debian.org/tracker/CVE-2022-29900 xen | CVE-2022-29901 | https://security-tracker.debian.org/tracker/CVE-2022-29901 xen | CVE-2022-33740 | https://security-tracker.debian.org/tracker/CVE-2022-33740 xen | CVE-2022-33741 | https://security-tracker.debian.org/tracker/CVE-2022-33741 xen | CVE-2022-33742 | https://security-tracker.debian.org/tracker/CVE-2022-33742 xen | CVE-2022-33743 | https://security-tracker.debian.org/tracker/CVE-2022-33743 xen | CVE-2022-33745 | https://security-tracker.debian.org/tracker/CVE-2022-33745 xen | CVE-2022-33746 | https://security-tracker.debian.org/tracker/CVE-2022-33746 xen | CVE-2022-33747 | https://security-tracker.debian.org/tracker/CVE-2022-33747 xen | CVE-2022-33748 | https://security-tracker.debian.org/tracker/CVE-2022-33748 xen | CVE-2022-40982 | https://security-tracker.debian.org/tracker/CVE-2022-40982 xen | CVE-2022-42309 | https://security-tracker.debian.org/tracker/CVE-2022-42309 xen | CVE-2022-42311 | https://security-tracker.debian.org/tracker/CVE-2022-42311 xen | CVE-2022-42312 | https://security-tracker.debian.org/tracker/CVE-2022-42312 xen | CVE-2022-42313 | https://security-tracker.debian.org/tracker/CVE-2022-42313 xen | CVE-2022-42314 | https://security-tracker.debian.org/tracker/CVE-2022-42314 xen | CVE-2022-42315 | https://security-tracker.debian.org/tracker/CVE-2022-42315 xen | CVE-2022-42316 | https://security-tracker.debian.org/tracker/CVE-2022-42316 xen | CVE-2022-42317 | https://security-tracker.debian.org/tracker/CVE-2022-42317 xen | CVE-2022-42318 | https://security-tracker.debian.org/tracker/CVE-2022-42318 xen | CVE-2022-42319 | https://security-tracker.debian.org/tracker/CVE-2022-42319 xen | CVE-2022-42320 | https://security-tracker.debian.org/tracker/CVE-2022-42320 xen | CVE-2022-42321 | https://security-tracker.debian.org/tracker/CVE-2022-42321 xen | CVE-2022-42322 | https://security-tracker.debian.org/tracker/CVE-2022-42322 xen | CVE-2022-42323 | https://security-tracker.debian.org/tracker/CVE-2022-42323 xen | CVE-2022-42324 | https://security-tracker.debian.org/tracker/CVE-2022-42324 xen | CVE-2022-42325 | https://security-tracker.debian.org/tracker/CVE-2022-42325 xen | CVE-2022-42326 | https://security-tracker.debian.org/tracker/CVE-2022-42326 xen | CVE-2022-42331 | https://security-tracker.debian.org/tracker/CVE-2022-42331 xen | CVE-2022-42332 | https://security-tracker.debian.org/tracker/CVE-2022-42332 xen | CVE-2022-42333 | https://security-tracker.debian.org/tracker/CVE-2022-42333 xen | CVE-2022-42334 | https://security-tracker.debian.org/tracker/CVE-2022-42334 xen | CVE-2023-34319 | https://security-tracker.debian.org/tracker/CVE-2023-34319 xerces | CVE-2012-0880 | https://security-tracker.debian.org/tracker/CVE-2012-0880 yajl | CVE-2023-33460 | https://security-tracker.debian.org/tracker/CVE-2023-33460 yasm | CVE-2021-33454 | https://security-tracker.debian.org/tracker/CVE-2021-33454 yasm | CVE-2021-33455 | https://security-tracker.debian.org/tracker/CVE-2021-33455 yasm | CVE-2021-33456 | https://security-tracker.debian.org/tracker/CVE-2021-33456 yasm | CVE-2021-33457 | https://security-tracker.debian.org/tracker/CVE-2021-33457 yasm | CVE-2021-33458 | https://security-tracker.debian.org/tracker/CVE-2021-33458 yasm | CVE-2021-33459 | https://security-tracker.debian.org/tracker/CVE-2021-33459 yasm | CVE-2021-33460 | https://security-tracker.debian.org/tracker/CVE-2021-33460 yasm | CVE-2021-33461 | https://security-tracker.debian.org/tracker/CVE-2021-33461 yasm | CVE-2021-33462 | https://security-tracker.debian.org/tracker/CVE-2021-33462 yasm | CVE-2021-33463 | https://security-tracker.debian.org/tracker/CVE-2021-33463 yasm | CVE-2021-33464 | https://security-tracker.debian.org/tracker/CVE-2021-33464 yasm | CVE-2021-33465 | https://security-tracker.debian.org/tracker/CVE-2021-33465 yasm | CVE-2021-33466 | https://security-tracker.debian.org/tracker/CVE-2021-33466 yasm | CVE-2021-33467 | https://security-tracker.debian.org/tracker/CVE-2021-33467 yasm | CVE-2021-33468 | https://security-tracker.debian.org/tracker/CVE-2021-33468 yasm | CVE-2023-30402 | https://security-tracker.debian.org/tracker/CVE-2023-30402 yasm | CVE-2023-31972 | https://security-tracker.debian.org/tracker/CVE-2023-31972 yasm | CVE-2023-31973 | https://security-tracker.debian.org/tracker/CVE-2023-31973 yasm | CVE-2023-31974 | https://security-tracker.debian.org/tracker/CVE-2023-31974 yasm | CVE-2023-31975 | https://security-tracker.debian.org/tracker/CVE-2023-31975 zbar | CVE-2023-40889 | https://security-tracker.debian.org/tracker/CVE-2023-40889 zbar | CVE-2023-40890 | https://security-tracker.debian.org/tracker/CVE-2023-40890 zip | CVE-2018-13410 | https://security-tracker.debian.org/tracker/CVE-2018-13410 -- http://autobuild.buildroot.net From peter at korsgaard.com Mon Oct 2 08:41:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:41:47 +0200 Subject: [Buildroot] [PATCH v2] package/wilc-driver: fix build failure with Linux 6.3+ In-Reply-To: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> (Giulio Benetti's message of "Sun, 1 Oct 2023 21:01:01 +0200") References: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> Message-ID: <87y1glh0vo.fsf@48ers.dk> >>>>> "Giulio" == Giulio Benetti writes: > Add local patches pending upstream to fix build failure on Linux 6.3+ > Fixes: > http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f > Signed-off-by: Giulio Benetti Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 2 08:42:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:42:28 +0200 Subject: [Buildroot] [PATCH] package/netsnmp: security bump to version 5.9.4 In-Reply-To: <20231001190639.1391551-2-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 21:06:39 +0200") References: <20231001190639.1391551-2-dalang@gmx.at> Message-ID: <87ttr9h0uj.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c > in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can > be used by a remote attacker (who has write access) to cause the > instance to crash via a crafted UDP packet, resulting in Denial of > Service. > CVE-2022-44793 handle_ipv6IpForwarding in > agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a > NULL Pointer Exception bug that can be used by a remote attacker to > cause the instance to crash via a crafted UDP packet, resulting in > Denial of Service. > The pgp key was changed [0] as the old one expired [1]. > [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ > [1]: https://github.com/net-snmp/net-snmp/issues/595 > Signed-off-by: Daniel Lang Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 2 08:42:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:42:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/sslh: add SSLH_CPE_ID_VENDOR In-Reply-To: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 18:56:01 +0200") References: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> Message-ID: <87pm1xh0to.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: > https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 2 08:44:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:44:06 +0200 Subject: [Buildroot] [PATCH] package/efl: bump to version 1.26.3 In-Reply-To: <20231001180437.1274555-2-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 20:04:37 +0200") References: <20231001180437.1274555-2-dalang@gmx.at> Message-ID: <87leclh0rt.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > This is a bug-fix release. > See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 > Signed-off-by: Daniel Lang Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 2 08:42:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 10:42:05 +0200 Subject: [Buildroot] [git commit] package/netsnmp: security bump to version 5.9.4 Message-ID: <20231002084432.074B384088@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=868603755c16296ae2a61845891edeafc36e48ca branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker (who has write access) to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. CVE-2022-44793 handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. The pgp key was changed [0] as the old one expired [1]. [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ [1]: https://github.com/net-snmp/net-snmp/issues/595 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard --- package/netsnmp/netsnmp.hash | 6 +++--- package/netsnmp/netsnmp.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash index e1e9d10898..7898941271 100644 --- a/package/netsnmp/netsnmp.hash +++ b/package/netsnmp/netsnmp.hash @@ -1,7 +1,7 @@ # Locally calculated after checking pgp signature at -# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3/net-snmp-5.9.3.tar.gz.asc -# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 -sha256 2097f29b7e1bf3f1300b4bae52fa2308d0bb8d5d3998dbe02f9462a413a2ef0a net-snmp-5.9.3.tar.gz +# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.tar.gz.asc +# using key 6E6718AEF1EB5C65C32D1B2A356BC0B552D53CAB +sha256 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 net-snmp-5.9.4.tar.gz # Hash for license file sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index c7df49f947..b0c35aa894 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -4,7 +4,7 @@ # ################################################################################ -NETSNMP_VERSION = 5.9.3 +NETSNMP_VERSION = 5.9.4 NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz NETSNMP_LICENSE = Various BSD-like From peter at korsgaard.com Mon Oct 2 08:40:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 10:40:14 +0200 Subject: [Buildroot] [git commit] package/sslh: add SSLH_CPE_ID_VENDOR Message-ID: <20231002084431.E527284086@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5fcd2ef29d2f6e782b9bd5928e2e835daf627ae8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/sslh/sslh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk index 897b3b6505..6ef7cda1a9 100644 --- a/package/sslh/sslh.mk +++ b/package/sslh/sslh.mk @@ -9,6 +9,7 @@ SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz SSLH_SITE = http://www.rutschle.net/tech/sslh SSLH_LICENSE = GPL-2.0+ SSLH_LICENSE_FILES = COPYING +SSLH_CPE_ID_VENDOR = sslh_project SSLH_DEPENDENCIES = pcre2 SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" From peter at korsgaard.com Mon Oct 2 08:43:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 10:43:11 +0200 Subject: [Buildroot] [git commit] package/efl: bump to version 1.26.3 Message-ID: <20231002084432.139D784089@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6037f9387a108f2dfc0add56a07073ee96f5f240 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This is a bug-fix release. See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard --- package/efl/efl.hash | 4 ++-- package/efl/efl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/efl/efl.hash b/package/efl/efl.hash index 8d50400eb7..72ff3199d0 100644 --- a/package/efl/efl.hash +++ b/package/efl/efl.hash @@ -1,5 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-efl-1.26.1 -sha256 86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642 efl-1.26.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 +sha256 d9f83aa0fd9334f44deeb4e4952dc0e5144683afac786feebce6030951617d15 efl-1.26.3.tar.xz sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING diff --git a/package/efl/efl.mk b/package/efl/efl.mk index d4a16475e5..29b3b1955a 100644 --- a/package/efl/efl.mk +++ b/package/efl/efl.mk @@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.26.1 +EFL_VERSION = 1.26.3 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = https://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT From peter at korsgaard.com Mon Oct 2 08:40:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 10:40:27 +0200 Subject: [Buildroot] [git commit] package/wilc-driver: fix build failure with Linux 6.3+ Message-ID: <20231002084431.F030A84087@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c495aab88390767a217f6a0fc22008ff1aafc114 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add local patches pending upstream to fix build failure on Linux 6.3+ Fixes: http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f Signed-off-by: Giulio Benetti Signed-off-by: Peter Korsgaard --- package/wilc-driver/0006-Support-Linux-6.3.patch | 43 ++++++++++++++++++++++++ package/wilc-driver/0007-Support-Linux-6.4.patch | 36 ++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/package/wilc-driver/0006-Support-Linux-6.3.patch b/package/wilc-driver/0006-Support-Linux-6.3.patch new file mode 100644 index 0000000000..f5a92027da --- /dev/null +++ b/package/wilc-driver/0006-Support-Linux-6.3.patch @@ -0,0 +1,43 @@ +From 14b5eccf4145e7a5afc8bc65a15f26ac691f98d8 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 10:54:18 +0200 +Subject: [PATCH] Support Linux 6.3 + +With Linux 6.3 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=40fc56ee608cdb20022c225ac6f1e4b7ba63f8f1 +function of_get_named_gpio_flags() has been dropped but it was only a +wrapper to call of_get_named_gpio() if the flags passed was NULL and this +is the case. So let's use of_get_named_gpio() in place of +of_get_named_gpio_flags() since of_get_named_gpio() never changed +after its adding in Linux version 3.1. + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/4 + +Signed-off-by: Giulio Benetti +--- + power.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/power.c b/power.c +index 6c59e0b..6ab8d63 100644 +--- a/power.c ++++ b/power.c +@@ -25,13 +25,11 @@ int wilc_of_parse_power_pins(struct wilc *wilc) + const struct wilc_power_gpios *gpios = &default_gpios[0]; + int ret; + +- power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, +- NULL); ++ power->gpios.reset = of_get_named_gpio(of, "reset-gpios", 0); + if (!gpio_is_valid(power->gpios.reset)) + power->gpios.reset = gpios->reset; + +- power->gpios.chip_en = of_get_named_gpio_flags(of, "chip_en-gpios", 0, +- NULL); ++ power->gpios.chip_en = of_get_named_gpio(of, "chip_en-gpios", 0); + if (!gpio_is_valid(power->gpios.chip_en)) + power->gpios.chip_en = gpios->chip_en; + +-- +2.34.1 + diff --git a/package/wilc-driver/0007-Support-Linux-6.4.patch b/package/wilc-driver/0007-Support-Linux-6.4.patch new file mode 100644 index 0000000000..8339cc3cb6 --- /dev/null +++ b/package/wilc-driver/0007-Support-Linux-6.4.patch @@ -0,0 +1,36 @@ +From 94fc4594659494b8c5cbdf1a719aea4d66d3398d Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 11:20:50 +0200 +Subject: [PATCH] Support Linux 6.4 + +With Linux 6.4 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1aaba11da9aa7d7d6b52a74d45b31cac118295a1 +class_create() doesn't require first argument THIS_MODULE anymore so let's +drop first argument if Linux version >= 6.4 + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/5 + +Signed-off-by: Giulio Benetti +--- + bt.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/bt.c b/bt.c +index 48a5302..a752457 100644 +--- a/bt.c ++++ b/bt.c +@@ -135,7 +135,11 @@ static void wilc_bt_create_device(void) + ret = alloc_chrdev_region(&chc_dev_no, 0, 1, "atmel"); + if (ret < 0) + return; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) ++ chc_dev_class = class_create("atmel"); ++#else + chc_dev_class = class_create(THIS_MODULE, "atmel"); ++#endif + if (IS_ERR(chc_dev_class)) { + unregister_chrdev_region(chc_dev_no, 1); + return; +-- +2.34.1 + From peter at korsgaard.com Mon Oct 2 08:59:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 10:59:17 +0200 Subject: [Buildroot] [git commit] docs/manual: add a FAQ entry about Y2038 support In-Reply-To: <20231001191539.B15DC83F75@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Sun, 1 Oct 2023 21:14:07 +0200") References: <20231001191539.B15DC83F75@busybox.osuosl.org> Message-ID: <87h6n9h02i.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: https://git.buildroot.net/buildroot/commit/?id=f10f47ff2873d2259e4a03060e9cf0fd1b0f05e0 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > This was reviewed in person by Arnout. > Signed-off-by: Thomas Petazzoni > --- > docs/manual/faq-troubleshooting.adoc | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > diff --git a/docs/manual/faq-troubleshooting.adoc b/docs/manual/faq-troubleshooting.adoc > index b08bf9bc4a..a61276d4c5 100644 > --- a/docs/manual/faq-troubleshooting.adoc > +++ b/docs/manual/faq-troubleshooting.adoc > @@ -242,3 +242,31 @@ help reduce the build time: > * Experiment with top-level parallel build, see > xref:top-level-parallel-build[]. > + > +[[faq-2038]] > +=== How does Buildroot support Y2038? > + > +There are multiple situations to consider: > + > + * On 64-bit architectures, there is no problem, as +time_t+ has > + always been 64-bit. > + > + * On 32-bit architectures, the situation depends on the C library: > + > + ** With _uclibc-ng_, there is no support for 64-bit +time_t+ on > + 32-bit architectures, so systems using _uclibc-ng_ on 32-bit > + platforms will not be Y2038 compatible. > + > + ** With _musl_, 64-bit +time_t+ has always been used on 32-bit > + architectures, so systems using _musl_ on 32-bit platforms are > + Y2038 compatible. "has always been used" is not really true, it was added in musl 1.2.0: https://musl.libc.org/time64.html Maybe we should say "always uses" instead? > + > + ** With _glibc_, 64-bit +time_t+ on 32-bit architectures is enabled > + by the Buildroot option +BR2_TIME_BITS_64+. With this option > + enabled, systems using _glibc_ on 32-bit platforms are Y2038 > + compatible. > + > +Note that the above only comments about the capabilities of the C > +library. Individual user-space libraries or applications, even when > +built in a Y2038-compatible setup, can exhibit incorrect behavior if > +they do not make correct use of the time APIs and types. We should probably also mention the kernel dependency, E.G. the above is only correct if using Linux 5.6+ kernel / headers: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=22b17db4ea05561c7c8e4d770f10751e22e339f9 -- Bye, Peter Korsgaard From jamie.gibbons at microchip.com Mon Oct 2 10:53:24 2023 From: jamie.gibbons at microchip.com (Jamie Gibbons) Date: Mon, 2 Oct 2023 11:53:24 +0100 Subject: [Buildroot] [PATCH 1/1] configs/microchip_mpfs_icicle_defconfig: fix zicsr build error Message-ID: <20231002105324.2167088-1-jamie.gibbons@microchip.com> Build is failing with an unrecognised opcode error due to missing `zicsr` extension requirement. This is introduced with GCC version 12. When binutils was updated to v2.38 they updated to the default ISA spec version 20191213. In this version the original i extension split into i, Zicsr and Zifencei. A fix for this has been added since U-Boot version 2022.01 to detect new Zicsr and Zifencei extensions and enable it when needed therefore, an updated U-Boot tag to our latest 2023.09 release will fix this as in our latest release we have updated to U-Boot version 2023.07. Update the kernel verion in line with the U-Boot release version to ensure compatiblities and latest features and fixes are included. Remove riscv_g selection as it is now selected by default. Signed-off-by: Jamie Gibbons --- configs/microchip_mpfs_icicle_defconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configs/microchip_mpfs_icicle_defconfig b/configs/microchip_mpfs_icicle_defconfig index 54a4d55a5f..1af7a3c474 100644 --- a/configs/microchip_mpfs_icicle_defconfig +++ b/configs/microchip_mpfs_icicle_defconfig @@ -1,12 +1,11 @@ BR2_riscv=y -BR2_riscv_g=y BR2_RISCV_ISA_RVC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TARGET_GENERIC_HOSTNAME="mpfs_icicle" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/microchip/mpfs_icicle/post-image.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux-6.1-mchp+fpga)/linux4microchip+fpga-2023.06.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux-6.1-mchp+fpga)/linux4microchip+fpga-2023.09.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="mpfs" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/microchip/mpfs_icicle/linux.fragment" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -16,7 +15,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,polarfire-soc,u-boot)linux4microchip+fpga-2023.06.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,polarfire-soc,u-boot)linux4microchip+fpga-2023.09.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="microchip_mpfs_icicle" BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/microchip/mpfs_icicle/uboot-fragment-rootfs.config" BR2_TARGET_UBOOT_NEEDS_DTC=y -- 2.34.1 From peter at korsgaard.com Mon Oct 2 11:22:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 2 Oct 2023 13:22:58 +0200 Subject: [Buildroot] [git commit] package/gnuplot: unbreak !gd builds since 5.4.9 bump Message-ID: <20231002112323.6A05B84094@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7d4443343aa6ddd8f7eca40ffdcf8decb4c290f0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/ Fix a build failure for --without-gd builds since the bump to 5.4.9 with commit 6dc3d3c3606 (package/gnuplot: bump version to 5.4.9): In file included from term.h:298, from term.c:1211: ../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant 4016 | fputs("%%%%BeginImage\n", gppsfile); Add a patch fixing that. Signed-off-by: Peter Korsgaard --- ...t.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch b/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch new file mode 100644 index 0000000000..c3edb39cc6 --- /dev/null +++ b/package/gnuplot/0002-term-post.trm-unbreak-HAVE_DEFLATE_ENCODER-builds.patch @@ -0,0 +1,51 @@ +From 84002a5bd7f4cb10e9beffab88ae55b4e982bcea Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Sun, 1 Oct 2023 10:20:31 +0200 +Subject: [PATCH] term/post.trm: unbreak !HAVE_DEFLATE_ENCODER builds + +Commit 2f2cf617808 (post: handle RGBA images (only current use is to render +a pixmap)) added an extra '}' outside the HAVE_DEFLATE_ENCODER (gd support) +conditional, leading to build breakage: + +In file included from term.h:298, + from term.c:1211: +../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant + 4016 | fputs("%%%%BeginImage\n", gppsfile); + +http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/build-end.log + +Fix it by dropping the extra { } added by the above commit. + +Signed-off-by: Peter Korsgaard +Upstream: https://sourceforge.net/p/gnuplot/gnuplot-main/merge-requests/28/ +--- + term/post.trm | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/term/post.trm b/term/post.trm +index 186eb9d3c..100811b86 100644 +--- a/term/post.trm ++++ b/term/post.trm +@@ -4000,17 +4000,16 @@ PS_image (unsigned int M, unsigned int N, coordval *image, gpiPoint *corner, t_i + cscale = 1.0; + + #ifdef HAVE_DEFLATE_ENCODER +- if (ps_params->level3) { ++ if (ps_params->level3) + encoded_image = (void *)PS_encode_png_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + &num_encoded_bytes); +- } else { ++ else + #endif + encoded_image = PS_encode_image(M, N, image, color_mode, + bits_per_component, max_colors, cscale, + (ps_params->level1 ? PS_ASCII_HEX : PS_ASCII85), + &num_encoded_bytes); +- } + + + fputs("%%%%BeginImage\n", gppsfile); +-- +2.30.2 + From peter at korsgaard.com Mon Oct 2 11:23:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 02 Oct 2023 13:23:34 +0200 Subject: [Buildroot] [PATCH] package/gnuplot: unbreak !gd builds since 5.4.9 bump In-Reply-To: <20231001094408.3880093-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 1 Oct 2023 11:44:08 +0200") References: <20231001094408.3880093-1-peter@korsgaard.com> Message-ID: <87cyxxgte1.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes: > http://autobuild.buildroot.net/results/5676609b6331b645f2e557aca67afe4c3a087433/ > Fix a build failure for --without-gd builds since the bump to 5.4.9 with > commit 6dc3d3c3606 (package/gnuplot: bump version to 5.4.9): > In file included from term.h:298, > from term.c:1211: > ../term/post.trm:4016:11: error: expected declaration specifiers or '...' before string constant > 4016 | fputs("%%%%BeginImage\n", gppsfile); > Add a patch fixing that. > Signed-off-by: Peter Korsgaard This is now merged upstream - Committed, thanks. -- Bye, Peter Korsgaard From thomas.perale at essensium.com Mon Oct 2 12:47:22 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:22 +0200 Subject: [Buildroot] [PATCH 0/6] support for a pre-compiled Go compiler Message-ID: <20231002124736.179251-1-thomas.perale@essensium.com> From: Thomas Perale Improvement suggested on the buildroot TODO list (https://www.elinux.org/Buildroot#Todo_list). This patch adds support for a pre-built version of the Go compiler that doesn't requires users to go through the different compilation stages of the Go compiler and speeds up the overall build time. This is a new version of a patch I proposed for the same feature last year (see https://lore.kernel.org/buildroot/CA+h8R2pNRrBsChKS3PHQtT0_rsVF3Wi3LwMTD9jKFoKf1ot2-A at mail.gmail.com/#b). It introduces a new directory structure for host compilers with different providers: package/ ?? go/ <-- Virtual package ? ?? go-src/ <-- Build from source option ? ?? go-bin/ <-- Download pre-build option ? ?? go-bootstrap-stage1/ <-- Dependency for go-bootstrap-stage2 ? ?? go-bootstrap-stage2/ <-- Dependency for go-src ? ?? go.mk <-- Common variables ? ?? Config.in <-- Common variables/virtual package definition The subdirectory structure is used to put the `GO_VERSION` variable in common between the different provider. This subdirectory proposal should be extended to the Rust compiler case and NodeJS proposal Thomas Petazzoni did (https://patchwork.ozlabs.org/project/buildroot/list/?series=319967) to unify the naming of for the different compilers options. Thomas Perale (6): DEVELOPERS: add Thomas Perale for 'go' package/go: new subdirectory for go variants package/go: make host package a virtual package package/pkg-golang: select go compiler package/go/go-bin: new go provider support/testing: add tests for Go providers .checkpackageignore | 2 +- DEVELOPERS | 5 +- package/Config.in.host | 2 - package/balena-engine/Config.in | 1 + package/cni-plugins/Config.in | 1 + package/containerd/Config.in | 1 + package/crucible/Config.in | 1 + package/delve/Config.in | 1 + package/delve/Config.in.host | 1 + package/docker-cli/Config.in | 1 + package/docker-compose/Config.in | 1 + package/docker-engine/Config.in | 1 + package/embiggen-disk/Config.in | 1 + package/flannel/Config.in | 1 + package/gitlab-runner/Config.in | 1 + package/go/Config.in.host | 44 +++++++++++++++ package/go/go-bin/Config.in.host | 14 +++++ package/go/go-bin/go-bin.hash | 8 +++ package/go/go-bin/go-bin.mk | 19 +++++++ .../go-bootstrap-stage1/Config.in.host | 0 .../go-bootstrap-stage1.hash | 0 .../go-bootstrap-stage1.mk | 0 .../go-bootstrap-stage2/Config.in.host | 0 .../go-bootstrap-stage2.hash | 0 .../go-bootstrap-stage2.mk | 0 ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{go.hash => go-src/go-src.hash} | 0 package/go/go-src/go-src.mk | 54 +++++++++++++++++++ package/go/go.mk | 42 ++------------- package/gocryptfs/Config.in | 1 + package/mender-artifact/Config.in.host | 1 + package/mender-connect/Config.in | 1 + package/mender/Config.in | 1 + package/moby-buildkit/Config.in | 1 + package/moby-buildkit/Config.in.host | 1 + package/nerdctl/Config.in | 1 + package/runc/Config.in | 1 + package/runc/Config.in.host | 1 + package/tinifier/Config.in | 1 + package/wtfutil/Config.in | 1 + support/testing/tests/package/test_go.py | 41 ++++++++++++++ 42 files changed, 211 insertions(+), 43 deletions(-) create mode 100644 package/go/go-bin/Config.in.host create mode 100644 package/go/go-bin/go-bin.hash create mode 100644 package/go/go-bin/go-bin.mk rename package/{ => go}/go-bootstrap-stage1/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.hash (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.mk (100%) rename package/{ => go}/go-bootstrap-stage2/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.hash (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.mk (100%) rename package/go/{ => go-src}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{ => go-src}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{go.hash => go-src/go-src.hash} (100%) create mode 100644 package/go/go-src/go-src.mk create mode 100644 support/testing/tests/package/test_go.py -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:23 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:23 +0200 Subject: [Buildroot] [PATCH 1/6] DEVELOPERS: add Thomas Perale for 'go' In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-2-thomas.perale@essensium.com> From: Thomas Perale Signed-off-by: Thomas Perale --- DEVELOPERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..4681b2a21f 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2898,6 +2898,9 @@ F: package/frotz/ F: package/kvm-unit-tests/ F: package/xorcurses/ +N: Thomas Perale +F: package/go/ + N: Thomas Petazzoni F: arch/Config.in.arm F: board/beaglev/ -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:24 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:24 +0200 Subject: [Buildroot] [PATCH 2/6] package/go: new subdirectory for go variants In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-3-thomas.perale@essensium.com> From: Thomas Perale Move every go compiler-related packages into a newly created package/go/ subdirectory. All the common variables are kept in package/go/go.mk and package/go/Config.in.host. This subdirectory structure move the GO_VERSION variable in common in the package/go/go.mk file. In the next commits host-go will be turned into a virtual-package and the common GO_VERSION force the providers to use the same Go compiler version. Also, the subdirectory structure force the evaluation of the common GO_VERSION before the providers access it. Signed-off-by: Thomas Perale --- .checkpackageignore | 2 +- DEVELOPERS | 2 - package/Config.in.host | 2 - package/go/Config.in.host | 3 ++ .../go-bootstrap-stage1/Config.in.host | 0 .../go-bootstrap-stage1.hash | 0 .../go-bootstrap-stage1.mk | 0 .../go-bootstrap-stage2/Config.in.host | 0 .../go-bootstrap-stage2.hash | 0 .../go-bootstrap-stage2.mk | 0 package/go/go.mk | 40 +------------- ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{ => go}/go.hash | 0 package/go/go/go.mk | 53 +++++++++++++++++++ 15 files changed, 59 insertions(+), 43 deletions(-) rename package/{ => go}/go-bootstrap-stage1/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.hash (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.mk (100%) rename package/{ => go}/go-bootstrap-stage2/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.hash (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.mk (100%) rename package/go/{ => go}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{ => go}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{ => go}/go.hash (100%) create mode 100644 package/go/go/go.mk diff --git a/.checkpackageignore b/.checkpackageignore index 28de1745e4..becaf6a9fc 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -514,7 +514,7 @@ package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch Upstream package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch Upstream package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch Upstream package/gnuplot/0001-configure-add-without-demo-option.patch Upstream -package/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream +package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream package/gob2/0001-dont-include-from-prefix.patch Upstream package/gobject-introspection/0001-disable-tests.patch Upstream package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch Upstream diff --git a/DEVELOPERS b/DEVELOPERS index 4681b2a21f..b9c7b4f1a9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -586,8 +586,6 @@ F: package/docker-engine/ F: package/embiggen-disk/ F: package/fuse-overlayfs/ F: package/go/ -F: package/go-bootstrap-stage1/ -F: package/go-bootstrap-stage2/ F: package/gocryptfs/ F: package/mbpfan/ F: package/moby-buildkit/ diff --git a/package/Config.in.host b/package/Config.in.host index c80842c33a..3a8e613fa3 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -44,8 +44,6 @@ menu "Host utilities" source "package/genpart/Config.in.host" source "package/gnupg/Config.in.host" source "package/go/Config.in.host" - source "package/go-bootstrap-stage1/Config.in.host" - source "package/go-bootstrap-stage2/Config.in.host" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" diff --git a/package/go/Config.in.host b/package/go/Config.in.host index b87b862cec..277d75e2b6 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -31,3 +31,6 @@ config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + +source "package/go/go-bootstrap-stage1/Config.in.host" +source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go-bootstrap-stage1/Config.in.host b/package/go/go-bootstrap-stage1/Config.in.host similarity index 100% rename from package/go-bootstrap-stage1/Config.in.host rename to package/go/go-bootstrap-stage1/Config.in.host diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.hash b/package/go/go-bootstrap-stage1/go-bootstrap-stage1.hash similarity index 100% rename from package/go-bootstrap-stage1/go-bootstrap-stage1.hash rename to package/go/go-bootstrap-stage1/go-bootstrap-stage1.hash diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.mk b/package/go/go-bootstrap-stage1/go-bootstrap-stage1.mk similarity index 100% rename from package/go-bootstrap-stage1/go-bootstrap-stage1.mk rename to package/go/go-bootstrap-stage1/go-bootstrap-stage1.mk diff --git a/package/go-bootstrap-stage2/Config.in.host b/package/go/go-bootstrap-stage2/Config.in.host similarity index 100% rename from package/go-bootstrap-stage2/Config.in.host rename to package/go/go-bootstrap-stage2/Config.in.host diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash b/package/go/go-bootstrap-stage2/go-bootstrap-stage2.hash similarity index 100% rename from package/go-bootstrap-stage2/go-bootstrap-stage2.hash rename to package/go/go-bootstrap-stage2/go-bootstrap-stage2.hash diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk b/package/go/go-bootstrap-stage2/go-bootstrap-stage2.mk similarity index 100% rename from package/go-bootstrap-stage2/go-bootstrap-stage2.mk rename to package/go/go-bootstrap-stage2/go-bootstrap-stage2.mk diff --git a/package/go/go.mk b/package/go/go.mk index 6f080be5c0..21051a2050 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -5,14 +5,7 @@ ################################################################################ GO_VERSION = 1.21.1 -GO_SITE = https://storage.googleapis.com/golang -GO_SOURCE = go$(GO_VERSION).src.tar.gz -GO_LICENSE = BSD-3-Clause -GO_LICENSE_FILES = LICENSE -GO_CPE_ID_VENDOR = golang - -HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 HOST_GO_GOPATH = $(HOST_DIR)/share/go-path HOST_GO_HOST_CACHE = $(HOST_DIR)/share/host-go-cache HOST_GO_ROOT = $(HOST_DIR)/lib/go @@ -96,15 +89,6 @@ else HOST_GO_CGO_ENABLED = 0 endif -HOST_GO_CROSS_ENV = \ - CC_FOR_TARGET="$(TARGET_CC)" \ - CXX_FOR_TARGET="$(TARGET_CXX)" \ - GOOS="linux" \ - GOARCH=$(GO_GOARCH) \ - $(if $(GO_GO386),GO386=$(GO_GO386)) \ - $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ - GO_ASSUME_CROSSCOMPILING=1 - else # !BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS # host-go can still be used to build packages for the host. No need to set all # the arch stuff since we will not be cross-compiling. @@ -123,27 +107,7 @@ HOST_GO_HOST_ENV = \ CGO_CXXFLAGS="$(HOST_CXXFLAGS)" \ CGO_LDFLAGS="$(HOST_LDFLAGS)" -# The go build system is not compatible with ccache, so use -# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. -HOST_GO_MAKE_ENV = \ - GO111MODULE=off \ - GOCACHE=$(HOST_GO_HOST_CACHE) \ - GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ - GOROOT_FINAL=$(HOST_GO_ROOT) \ - GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" \ - GOOS=linux \ - CC=$(HOSTCC_NOCCACHE) \ - CXX=$(HOSTCXX_NOCCACHE) \ - CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ - $(HOST_GO_CROSS_ENV) - -define HOST_GO_BUILD_CMDS - cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) -endef - -define HOST_GO_INSTALL_CMDS +define GO_BINARIES_INSTALL $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt @@ -165,4 +129,4 @@ define HOST_GO_INSTALL_CMDS find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef -$(eval $(host-generic-package)) +include $(sort $(wildcard package/go/*/*.mk)) diff --git a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch similarity index 100% rename from package/go/0001-build.go-explicit-option-for-crosscompilation.patch rename to package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch similarity index 100% rename from package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch rename to package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch diff --git a/package/go/go.hash b/package/go/go/go.hash similarity index 100% rename from package/go/go.hash rename to package/go/go/go.hash diff --git a/package/go/go/go.mk b/package/go/go/go.mk new file mode 100644 index 0000000000..8e3780eb29 --- /dev/null +++ b/package/go/go/go.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# go +# +################################################################################ + +GO_SITE = https://storage.googleapis.com/golang +GO_SOURCE = go$(GO_VERSION).src.tar.gz + +GO_LICENSE = BSD-3-Clause +GO_LICENSE_FILES = LICENSE +GO_CPE_ID_VENDOR = golang + +HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 + +ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) + +HOST_GO_CROSS_ENV = \ + CC_FOR_TARGET="$(TARGET_CC)" \ + CXX_FOR_TARGET="$(TARGET_CXX)" \ + GOOS="linux" \ + GOARCH=$(GO_GOARCH) \ + $(if $(GO_GO386),GO386=$(GO_GO386)) \ + $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ + GO_ASSUME_CROSSCOMPILING=1 + +endif + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_MAKE_ENV = \ + GO111MODULE=off \ + GOCACHE=$(HOST_GO_HOST_CACHE) \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ + GOROOT_FINAL=$(HOST_GO_ROOT) \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + GOOS=linux \ + CC=$(HOSTCC_NOCCACHE) \ + CXX=$(HOSTCXX_NOCCACHE) \ + CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ + $(HOST_GO_CROSS_ENV) + +define HOST_GO_BUILD_CMDS + cd $(@D)/src && \ + $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) +endef + +define HOST_GO_INSTALL_CMDS + $(GO_BINARIES_INSTALL) +endef + +$(eval $(host-generic-package)) -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:26 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:26 +0200 Subject: [Buildroot] [PATCH 4/6] package/pkg-golang: select go compiler In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-5-thomas.perale@essensium.com> From: Thomas Perale Select the 'go' virtual package in every package built by the Go compiler. This maintains the correct dependencies in 'menuconfig'. The same pattern is currently used for Rust packages. Signed-off-by: Thomas Perale --- package/balena-engine/Config.in | 1 + package/cni-plugins/Config.in | 1 + package/containerd/Config.in | 1 + package/crucible/Config.in | 1 + package/delve/Config.in | 1 + package/delve/Config.in.host | 1 + package/docker-cli/Config.in | 1 + package/docker-compose/Config.in | 1 + package/docker-engine/Config.in | 1 + package/embiggen-disk/Config.in | 1 + package/flannel/Config.in | 1 + package/gitlab-runner/Config.in | 1 + package/gocryptfs/Config.in | 1 + package/mender-artifact/Config.in.host | 1 + package/mender-connect/Config.in | 1 + package/mender/Config.in | 1 + package/moby-buildkit/Config.in | 1 + package/moby-buildkit/Config.in.host | 1 + package/nerdctl/Config.in | 1 + package/runc/Config.in | 1 + package/runc/Config.in.host | 1 + package/tinifier/Config.in | 1 + package/wtfutil/Config.in | 1 + 23 files changed, 23 insertions(+) diff --git a/package/balena-engine/Config.in b/package/balena-engine/Config.in index 02f694515e..5966b33f58 100644 --- a/package/balena-engine/Config.in +++ b/package/balena-engine/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_BALENA_ENGINE depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU # util-linux select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_IPTABLES # runtime select BR2_PACKAGE_UTIL_LINUX # runtime select BR2_PACKAGE_UTIL_LINUX_BINARIES # runtime diff --git a/package/cni-plugins/Config.in b/package/cni-plugins/Config.in index 25e6ff534d..6d4ca0a5b4 100644 --- a/package/cni-plugins/Config.in +++ b/package/cni-plugins/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_CNI_PLUGINS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU + select BR2_PACKAGE_HOST_GO help Container Networking Interface plugins. diff --git a/package/containerd/Config.in b/package/containerd/Config.in index e69dd6768a..e92764f304 100644 --- a/package/containerd/Config.in +++ b/package/containerd/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_CONTAINERD depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc depends on BR2_USE_MMU # util-linux + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # runtime dependency select BR2_PACKAGE_UTIL_LINUX # runtime dependency select BR2_PACKAGE_UTIL_LINUX_BINARIES diff --git a/package/crucible/Config.in b/package/crucible/Config.in index b27eb31ae5..1e1b29c3df 100644 --- a/package/crucible/Config.in +++ b/package/crucible/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_CRUCIBLE bool "crucible" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help Crucible is a One-Time-Programmable (OTP) fusing tool for the i.MX family. diff --git a/package/delve/Config.in b/package/delve/Config.in index 9428e4016a..288dc1ea15 100644 --- a/package/delve/Config.in +++ b/package/delve/Config.in @@ -7,6 +7,7 @@ config BR2_PACKAGE_DELVE_ARCH_SUPPORTS default y if BR2_x86_64 depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + select BR2_PACKAGE_HOST_GO config BR2_PACKAGE_DELVE bool "delve" diff --git a/package/delve/Config.in.host b/package/delve/Config.in.host index dab5ca8914..0938ab0659 100644 --- a/package/delve/Config.in.host +++ b/package/delve/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_DELVE bool "host delve" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help Delve is a debugger for the Go programming language. diff --git a/package/docker-cli/Config.in b/package/docker-cli/Config.in index 6f187c9d22..52e7f7c871 100644 --- a/package/docker-cli/Config.in +++ b/package/docker-cli/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_DOCKER_CLI depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help Docker is a platform to build, ship, and run applications as lightweight containers. diff --git a/package/docker-compose/Config.in b/package/docker-compose/Config.in index 59128f7a19..f3560e402b 100644 --- a/package/docker-compose/Config.in +++ b/package/docker-compose/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_DOCKER_COMPOSE depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_PACKAGE_DOCKER_CLI + select BR2_PACKAGE_HOST_GO help Multi-container applications with the Docker CLI. diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 570b2ff681..a6d8f64a1c 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_DOCKER_ENGINE depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # libseccomp select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency select BR2_PACKAGE_CONTAINERD # runtime dependency + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_IPTABLES # runtime dependency select BR2_PACKAGE_LIBSECCOMP help diff --git a/package/embiggen-disk/Config.in b/package/embiggen-disk/Config.in index 667d71c86e..c323fb1b6d 100644 --- a/package/embiggen-disk/Config.in +++ b/package/embiggen-disk/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_EMBIGGEN_DISK depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU # util-linux + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_UTIL_LINUX # sfdisk select BR2_PACKAGE_UTIL_LINUX_BINARIES # sfdisk help diff --git a/package/flannel/Config.in b/package/flannel/Config.in index eb8d798f48..f37cfaa9cc 100644 --- a/package/flannel/Config.in +++ b/package/flannel/Config.in @@ -8,6 +8,7 @@ config BR2_PACKAGE_FLANNEL depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help Flannel is a virtual network that gives a subnet to each host for use with container runtimes. diff --git a/package/gitlab-runner/Config.in b/package/gitlab-runner/Config.in index 4289613ab9..cfe8c941bc 100644 --- a/package/gitlab-runner/Config.in +++ b/package/gitlab-runner/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_GITLAB_RUNNER select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash select BR2_PACKAGE_CA_CERTIFICATES # runtime select BR2_PACKAGE_GIT # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_LIBCURL # runtime select BR2_PACKAGE_LIBCURL_CURL # runtime select BR2_PACKAGE_LIBCURL_FORCE_TLS # runtime diff --git a/package/gocryptfs/Config.in b/package/gocryptfs/Config.in index 2630cafdcf..2c70b9b21b 100644 --- a/package/gocryptfs/Config.in +++ b/package/gocryptfs/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GOCRYPTFS bool "gocryptfs" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help gocryptfs is an encrypted FUSE overlay filesystem. diff --git a/package/mender-artifact/Config.in.host b/package/mender-artifact/Config.in.host index c7be0ed261..39353b23e7 100644 --- a/package/mender-artifact/Config.in.host +++ b/package/mender-artifact/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_MENDER_ARTIFACT bool "host mender-artifact" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help The mender-artifact tool is a CLI implementation of the Mender artifacts library. diff --git a/package/mender-connect/Config.in b/package/mender-connect/Config.in index 0845910880..d478e468c2 100644 --- a/package/mender-connect/Config.in +++ b/package/mender-connect/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_MENDER_CONNECT depends on BR2_USE_WCHAR # libglib2 -> gettext depends on BR2_USE_MMU # dbus -> fork() select BR2_PACKAGE_DBUS # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_MENDER # runtime select BR2_PACKAGE_OPENSSL diff --git a/package/mender/Config.in b/package/mender/Config.in index 7d768cebec..4831548f76 100644 --- a/package/mender/Config.in +++ b/package/mender/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_MENDER depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 diff --git a/package/moby-buildkit/Config.in b/package/moby-buildkit/Config.in index 93c852bcdb..1a0b599097 100644 --- a/package/moby-buildkit/Config.in +++ b/package/moby-buildkit/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_MOBY_BUILDKIT depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on BR2_USE_MMU select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency + select BR2_PACKAGE_HOST_GO help BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. diff --git a/package/moby-buildkit/Config.in.host b/package/moby-buildkit/Config.in.host index a3b18548f8..d4eb0d74c3 100644 --- a/package/moby-buildkit/Config.in.host +++ b/package/moby-buildkit/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_MOBY_BUILDKIT bool "host moby-buildkit" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help BuildKit is a toolkit for converting source code to build artifacts in an efficient expressive and repeatable manner. diff --git a/package/nerdctl/Config.in b/package/nerdctl/Config.in index 969b9bb40e..062b36ab85 100644 --- a/package/nerdctl/Config.in +++ b/package/nerdctl/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_NERDCTL depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd depends on BR2_USE_MMU # util-linux select BR2_PACKAGE_CONTAINERD # runtime + select BR2_PACKAGE_HOST_GO help Docker-compatible CLI for containerd, controlling runc. diff --git a/package/runc/Config.in b/package/runc/Config.in index fe527b1954..73eac72527 100644 --- a/package/runc/Config.in +++ b/package/runc/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_RUNC depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve + select BR2_PACKAGE_HOST_GO help runC is a CLI tool for spawning and running containers according to the OCI specification. diff --git a/package/runc/Config.in.host b/package/runc/Config.in.host index 4b2555e029..78193cb499 100644 --- a/package/runc/Config.in.host +++ b/package/runc/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_RUNC bool "host runc" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help runC is a CLI tool for spawning and running containers according to the OCI specification. diff --git a/package/tinifier/Config.in b/package/tinifier/Config.in index fbadfe6bd9..eae8b8f499 100644 --- a/package/tinifier/Config.in +++ b/package/tinifier/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TINIFIER bool "tinifier" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help CLI tool for images compressing diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in index 8c3efcea5d..3fd8c41bab 100644 --- a/package/wtfutil/Config.in +++ b/package/wtfutil/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_WTFUTIL bool "wtfutil" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help WTF is the personal information dashboard for your terminal. -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:25 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:25 +0200 Subject: [Buildroot] [PATCH 3/6] package/go: make host package a virtual package In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-4-thomas.perale@essensium.com> From: Thomas Perale Turn host-go into a virtual package, which has two providers: - host-go-src, which build host-go from source based on the same logic that was previously used in package/go/go/go.mk, now moved in package/go/go-src/go-src.mk to remove any ambiguity on the role of the package. - host-go-bin, which will be introduced in the next commit and installs a pre-built Go compiler. The usage of a virtual package enables the support for pre-built Go compiler which reduce the build time for of host-go. A similar solution is proposed for host-rust. By default, host-go is built from sources to keep the same behaviour as the former version. Signed-off-by: Thomas Perale --- .checkpackageignore | 2 +- package/go/Config.in.host | 32 +++++++++++++++++++ ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{go/go.hash => go-src/go-src.hash} | 0 package/go/{go/go.mk => go-src/go-src.mk} | 25 ++++++++------- package/go/go.mk | 2 ++ 7 files changed, 48 insertions(+), 13 deletions(-) rename package/go/{go => go-src}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{go => go-src}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{go/go.hash => go-src/go-src.hash} (100%) rename package/go/{go/go.mk => go-src/go-src.mk} (68%) diff --git a/.checkpackageignore b/.checkpackageignore index becaf6a9fc..ca4b2a8afb 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -514,7 +514,7 @@ package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch Upstream package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch Upstream package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch Upstream package/gnuplot/0001-configure-add-without-demo-option.patch Upstream -package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream +package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch Upstream package/gob2/0001-dont-include-from-prefix.patch Upstream package/gobject-introspection/0001-disable-tests.patch Upstream package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch Upstream diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 277d75e2b6..742d484420 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -32,5 +32,37 @@ config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS +config BR2_PACKAGE_HOST_GO + bool "host go compiler" + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + help + Compiler for the Go language + + https://go.dev + +if BR2_PACKAGE_HOST_GO + +choice + prompt "Go compiler variant" + default BR2_PACKAGE_HOST_GO_SRC + help + Select a Go compiler variant. + + Default to 'host-go-src'. + +config BR2_PACKAGE_HOST_GO_SRC + bool "host go (source)" + help + This package will build the go compiler for the host. + +endchoice + +config BR2_PACKAGE_PROVIDES_HOST_GO + string + # Default to host-go-src + default "host-go-src" if BR2_PACKAGE_HOST_GO_SRC + +endif + source "package/go/go-bootstrap-stage1/Config.in.host" source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch similarity index 100% rename from package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch rename to package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch diff --git a/package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/go-src/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch similarity index 100% rename from package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch rename to package/go/go-src/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch diff --git a/package/go/go/go.hash b/package/go/go-src/go-src.hash similarity index 100% rename from package/go/go/go.hash rename to package/go/go-src/go-src.hash diff --git a/package/go/go/go.mk b/package/go/go-src/go-src.mk similarity index 68% rename from package/go/go/go.mk rename to package/go/go-src/go-src.mk index 8e3780eb29..07809ecb3e 100644 --- a/package/go/go/go.mk +++ b/package/go/go-src/go-src.mk @@ -1,21 +1,22 @@ ################################################################################ # -# go +# go-src # ################################################################################ -GO_SITE = https://storage.googleapis.com/golang -GO_SOURCE = go$(GO_VERSION).src.tar.gz +GO_SRC_SITE = https://storage.googleapis.com/golang +GO_SRC_SOURCE = go$(GO_VERSION).src.tar.gz -GO_LICENSE = BSD-3-Clause -GO_LICENSE_FILES = LICENSE -GO_CPE_ID_VENDOR = golang +GO_SRC_LICENSE = BSD-3-Clause +GO_SRC_LICENSE_FILES = LICENSE +GO_SRC_CPE_ID_VENDOR = golang -HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 +HOST_GO_SRC_PROVIDES = host-go +HOST_GO_SRC_DEPENDENCIES = host-go-bootstrap-stage2 ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) -HOST_GO_CROSS_ENV = \ +HOST_GO_SRC_CROSS_ENV = \ CC_FOR_TARGET="$(TARGET_CC)" \ CXX_FOR_TARGET="$(TARGET_CXX)" \ GOOS="linux" \ @@ -28,7 +29,7 @@ endif # The go build system is not compatible with ccache, so use # HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. -HOST_GO_MAKE_ENV = \ +HOST_GO_SRC_MAKE_ENV = \ GO111MODULE=off \ GOCACHE=$(HOST_GO_HOST_CACHE) \ GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ @@ -41,12 +42,12 @@ HOST_GO_MAKE_ENV = \ CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ $(HOST_GO_CROSS_ENV) -define HOST_GO_BUILD_CMDS +define HOST_GO_SRC_BUILD_CMDS cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) + $(HOST_GO_SRC_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) endef -define HOST_GO_INSTALL_CMDS +define HOST_GO_SRC_INSTALL_CMDS $(GO_BINARIES_INSTALL) endef diff --git a/package/go/go.mk b/package/go/go.mk index 21051a2050..42ea218e6c 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -129,4 +129,6 @@ define GO_BINARIES_INSTALL find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef +$(eval $(host-virtual-package)) + include $(sort $(wildcard package/go/*/*.mk)) -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:27 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:27 +0200 Subject: [Buildroot] [PATCH 5/6] package/go/go-bin: new go provider In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-6-thomas.perale@essensium.com> From: Thomas Perale This package provides a pre-built version for the host-go virtual package introduced in the previous commits. host-go-bin install a pre-built version of the Go compiler. The menuconfig entry for host-go is updated to expose the host-go-bin provider. The dependencies are set as such as if host-go-bin does not support the host architecture it will automatically fall back to host-go-src and vice-versa. Signed-off-by: Thomas Perale --- package/go/Config.in.host | 15 ++++++++++++--- package/go/go-bin/Config.in.host | 14 ++++++++++++++ package/go/go-bin/go-bin.hash | 8 ++++++++ package/go/go-bin/go-bin.mk | 19 +++++++++++++++++++ 4 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 package/go/go-bin/Config.in.host create mode 100644 package/go/go-bin/go-bin.hash create mode 100644 package/go/go-bin/go-bin.mk diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 742d484420..b3906fbae5 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -30,11 +30,11 @@ config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS || BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS config BR2_PACKAGE_HOST_GO bool "host go compiler" - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS help Compiler for the Go language @@ -44,7 +44,8 @@ if BR2_PACKAGE_HOST_GO choice prompt "Go compiler variant" - default BR2_PACKAGE_HOST_GO_SRC + default BR2_PACKAGE_HOST_GO_SRC if BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + default BR2_PACKAGE_HOST_GO_BIN if BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS help Select a Go compiler variant. @@ -52,9 +53,16 @@ choice config BR2_PACKAGE_HOST_GO_SRC bool "host go (source)" + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS help This package will build the go compiler for the host. +config BR2_PACKAGE_HOST_GO_BIN + bool "host go (pre-built)" + depends on BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + help + This package will install pre-built versions of the compiler + endchoice config BR2_PACKAGE_PROVIDES_HOST_GO @@ -64,5 +72,6 @@ config BR2_PACKAGE_PROVIDES_HOST_GO endif +source "package/go/go-bin/Config.in.host" source "package/go/go-bootstrap-stage1/Config.in.host" source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go/go-bin/Config.in.host b/package/go/go-bin/Config.in.host new file mode 100644 index 0000000000..b259afa197 --- /dev/null +++ b/package/go/go-bin/Config.in.host @@ -0,0 +1,14 @@ +config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH + string "Translate the HOSTARCH into the architecture name used by the Go compiler" + default armv6l if BR2_HOSTARCH = "arm" + default arm64 if BR2_HOSTARCH = "aarch64" + default ppc64le if BR2_HOSTARCH = "powerpc64le" + default s390x if BR2_HOSTARCH = "s390x" + default 386 if BR2_HOSTARCH = "x86" + default amd64 if BR2_HOSTARCH = "x86_64" + default "" + +config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH != "" diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash new file mode 100644 index 0000000000..3952014f44 --- /dev/null +++ b/package/go/go-bin/go-bin.hash @@ -0,0 +1,8 @@ +# sha256 checksum from https://go.dev/dl/ +sha256 b93850666cdadbd696a986cf7b03111fe99db8c34a9aaa113d7c96d0081e1901 go1.21.1.linux-386.tar.gz +sha256 b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae go1.21.1.linux-amd64.tar.gz +sha256 7da1a3936a928fd0b2602ed4f3ef535b8cd1990f1503b8d3e1acc0fa0759c967 go1.21.1.linux-arm64.tar.gz +sha256 f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85 go1.21.1.linux-armv6l.tar.gz +sha256 eddf018206f8a5589bda75252b72716d26611efebabdca5d0083ec15e9e41ab7 go1.21.1.linux-ppc64le.tar.gz +sha256 a83b3e8eb4dbf76294e773055eb51397510ff4d612a247bad9903560267bba6d go1.21.1.linux-s390x.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go-bin/go-bin.mk b/package/go/go-bin/go-bin.mk new file mode 100644 index 0000000000..6c5c1b6485 --- /dev/null +++ b/package/go/go-bin/go-bin.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# go-bin +# +################################################################################ + +GO_BIN_SITE = https://go.dev/dl +GO_BIN_LICENSE = BSD-3-Clause +GO_BIN_LICENSE_FILES = LICENSE + +HOST_GO_BIN_PROVIDES = host-go + +HOST_GO_BIN_SOURCE = go$(GO_VERSION).linux-$(call qstrip, $(BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH)).tar.gz + +define HOST_GO_BIN_INSTALL_CMDS + $(GO_BINARIES_INSTALL) +endef + +$(eval $(host-generic-package)) -- 2.42.0 From thomas.perale at essensium.com Mon Oct 2 12:47:28 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Mon, 2 Oct 2023 14:47:28 +0200 Subject: [Buildroot] [PATCH 6/6] support/testing: add tests for Go providers In-Reply-To: <20231002124736.179251-1-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> Message-ID: <20231002124736.179251-7-thomas.perale@essensium.com> From: Thomas Perale Test the two providers of host-go to build a Go package. - TestGoBin tests host-go-bin - TestGoSource tests host-go-src The tests consist of building and installing a Go package in the root file system of a ARM vexpress QEMU system. The tests pass if the program can be ran correctly on the target. Signed-off-by: Thomas Perale --- support/testing/tests/package/test_go.py | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 support/testing/tests/package/test_go.py diff --git a/support/testing/tests/package/test_go.py b/support/testing/tests/package/test_go.py new file mode 100644 index 0000000000..9beb66d0d9 --- /dev/null +++ b/support/testing/tests/package/test_go.py @@ -0,0 +1,41 @@ +import os + +import infra.basetest + + +class TestGoBase(infra.basetest.BRTest): + + def login(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() + + +class TestGoBin(TestGoBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + BR2_PACKAGE_HOST_GO=y + BR2_PACKAGE_HOST_GO_SRC=y + BR2_PACKAGE_TINIFIER=y + """ + + def test_run(self): + self.login() + self.assertRunOk("tinifier -h") + + +class TestGoSource(TestGoBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + BR2_PACKAGE_HOST_GO=y + BR2_PACKAGE_HOST_GO_BIN=y + BR2_PACKAGE_TINIFIER=y + """ + + def test_run(self): + self.login() + self.assertRunOk("tinifier -h") -- 2.42.0 From fontaine.fabrice at gmail.com Mon Oct 2 13:55:51 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 15:55:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltris: bump to version 1.2.7 In-Reply-To: <20231002135147.2707988-1-julien.boibessot@armadeus.com> References: <20231002135147.2707988-1-julien.boibessot@armadeus.com> Message-ID: Hello Julien, Le lun. 2 oct. 2023 ? 15:52, Julien BOIBESSOT a ?crit : > Latest release. Asked by autobuild.buildroot.net. > Remove integrated fix. > You forgot to update .checkpackageignore > > Signed-off-by: Julien BOIBESSOT > --- > .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- > package/ltris/ltris.hash | 2 +- > package/ltris/ltris.mk | 2 +- > 3 files changed, 2 insertions(+), 22 deletions(-) > delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch > > diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch > b/package/ltris/0001-fix-build-with-gcc-4.8.patch > deleted file mode 100644 > index d6bbf6a946..0000000000 > --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch > +++ /dev/null > @@ -1,20 +0,0 @@ > -Fix build with gcc 4.8 > - > -Signed-off-by: Fabrice Fontaine > -[Upstream status: https://sourceforge.net/p/lgames/patches/28] > -Index: ltris/src/bowl.c > -=================================================================== > ---- ltris/src/bowl.c (r?vision 421) > -+++ ltris/src/bowl.c (copie de travail) > -@@ -828,9 +828,10 @@ > - */ > - void bowl_init_block_masks() > - { > -+ int i; > - int masksize = sizeof(block_masks[0].mask); // same for all > - > -- for (int i = 0; i < 7; i++) { > -+ for (i = 0; i < 7; i++) { > - block_masks[i].rx = 2; > - block_masks[i].ry = 2; > - memset(block_masks[i].mask, 0, masksize ); > diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash > index f696e3af17..abe6853d9b 100644 > --- a/package/ltris/ltris.hash > +++ b/package/ltris/ltris.hash > @@ -1,3 +1,3 @@ > # Locally computed: > -sha256 a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 > ltris-1.2.tar.gz > +sha256 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 > ltris-1.2.7.tar.gz > sha256 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 > COPYING > diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk > index 9b59613417..98902de44c 100644 > --- a/package/ltris/ltris.mk > +++ b/package/ltris/ltris.mk > @@ -5,7 +5,7 @@ > > ################################################################################ > > LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris > -LTRIS_VERSION = 1.2 > +LTRIS_VERSION = 1.2.7 > LTRIS_LICENSE = GPL-2.0+ > LTRIS_LICENSE_FILES = COPYING > > -- > 2.25.1 > Best Regards, Fabrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.wolsieffer at hefring.com Mon Oct 2 14:18:08 2023 From: ben.wolsieffer at hefring.com (Ben Wolsieffer) Date: Mon, 2 Oct 2023 10:18:08 -0400 Subject: [Buildroot] [PATCH v3 0/8] Add support for FDPIC binaries on ARM In-Reply-To: <20230930221218.023aa2c5@windsurf> References: <20220819151734.926106-1-Ben.Wolsieffer@hefring.com> <20230930221218.023aa2c5@windsurf> Message-ID: Hi Thomas, On Sat, Sep 30, 2023 at 10:12:18PM +0200, Thomas Petazzoni wrote: > Hello Ben, > > On Fri, 19 Aug 2022 11:17:25 -0400 > Ben Wolsieffer wrote: > > > Ben Wolsieffer (8): > > Revert "arch: drop now useless support for FDPIC" > > arch: don't enable FDPIC binaries by default > > arch: make FDPIC dependent on toolchain support > > arch/arm: add support for FDPIC > > boot/uboot: pass -mno-fdpic if FDPIC is enabled > > linux: pass -mno-fdpic if FDPIC is enabled > > package/uclibc: enable NPTL on no-MMU ARM w/ FDPIC > > package/pkg-autotools: patch libtool to support ARM FDPIC > > Thanks for submitting this, and as Yann said already many months ago, > sorry for the delay. > > To be honest, we're not entirely sure we want to merge this without a > really active user of it. The changes are not too complicated, but it's > another fairly special use-case to support, and we would really like to > have someone using it "for real" before we merge this. > > Also, Waldemar pointed out a number of small issues he encountered > while testing this. There's not been activity on this topic for a year, > so we're not sure how committed you are to pushing this and more > importantly maintaining this. > > Could you provide more details on whether you're actually using this in > a project/product? Or is anyone else using this, or going to use it? > > Best regards, > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com No problem about the delay, we haven't had a chance to work on this again until recently either. We are actively using this feature now on a custom platform based around Emcraft's STM32F746 SOM [1]. I have a version of these patches locally that addresses most of the feedback from the first submission, and I just need to fix a few more things before submitting it again. Thanks, Ben [1] https://emcraft.com/products/700 From adam.duskett at amarulasolutions.com Mon Oct 2 14:31:19 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 2 Oct 2023 08:31:19 -0600 Subject: [Buildroot] [PATCH 1/4] package/flutter-sdk-bin: bump version to 3.13.6 Message-ID: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- 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 9daf6c58be..9255f9a6bf 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 d9bbfbfb6fe3c72a29c1040235126edd0cd461e4e18556335fd1cf217c2e1473 flutter_linux_3.13.4-stable.tar.xz +sha256 c8b64bdf6982d51fc303376bc0b8e27b416fb23a137c0268f7fe401216e57bf4 flutter_linux_3.13.6-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 dc6d68fdcb..c3891fc954 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.13.4 +FLUTTER_SDK_BIN_VERSION = 3.13.6 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 -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 2 14:31:20 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 2 Oct 2023 08:31:20 -0600 Subject: [Buildroot] [PATCH 2/4] package/flutter-engine: bump version to 3.13.6 In-Reply-To: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> References: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> Message-ID: <20231002143122.257820-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/flutter-engine/flutter-engine.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/flutter-engine/flutter-engine.mk b/package/flutter-engine/flutter-engine.mk index 942b07786b..b502dbcee1 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.13.4 +FLUTTER_ENGINE_VERSION = 3.13.6 # There is nothing for Buildroot to download. This is handled by gclient. FLUTTER_ENGINE_SITE = -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 2 14:31:21 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 2 Oct 2023 08:31:21 -0600 Subject: [Buildroot] [PATCH 3/4] package/flutter-pi: bump version to d62e84350d2869b3ec1dfb1af21bfe234c4b817f In-Reply-To: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> References: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> Message-ID: <20231002143122.257820-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/flutter-pi/flutter-pi.hash | 2 +- package/flutter-pi/flutter-pi.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/flutter-pi/flutter-pi.hash b/package/flutter-pi/flutter-pi.hash index f7148963a4..6cd7116cd7 100644 --- a/package/flutter-pi/flutter-pi.hash +++ b/package/flutter-pi/flutter-pi.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 e4af79c8f53c15913f52a83a221f099a2a750d023a0bc4560d0db6f15def79a2 flutter-pi-d62e84350d2869b3ec1dfb1af21bfe234c4b817f-br1.tar.gz +sha256 1fb5f4faebebd8b78294aae05eb9a57c3ca80228972d7ffe1f5b9dfc264cfb0e flutter-pi-4e9b44bcb332547c05b728687edf895847eb0aa9-br1.tar.gz sha256 b34df9d3e1b4e5d1ba70b1740ec74b69f1189b44efd0c96b898b074ef8db1c70 LICENSE diff --git a/package/flutter-pi/flutter-pi.mk b/package/flutter-pi/flutter-pi.mk index 27f140c177..dc825c95a2 100644 --- a/package/flutter-pi/flutter-pi.mk +++ b/package/flutter-pi/flutter-pi.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLUTTER_PI_VERSION = d62e84350d2869b3ec1dfb1af21bfe234c4b817f +FLUTTER_PI_VERSION = 4e9b44bcb332547c05b728687edf895847eb0aa9 FLUTTER_PI_SITE = https://github.com/ardera/flutter-pi.git FLUTTER_PI_SITE_METHOD = git FLUTTER_PI_LICENSE = MIT -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 2 14:31:22 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 2 Oct 2023 08:31:22 -0600 Subject: [Buildroot] [PATCH 4/4] package/flutter-pi: enable vulkan support In-Reply-To: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> References: <20231002143122.257820-1-adam.duskett@amarulasolutions.com> Message-ID: <20231002143122.257820-4-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/flutter-pi/flutter-pi.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/flutter-pi/flutter-pi.mk b/package/flutter-pi/flutter-pi.mk index dc825c95a2..d297ada747 100644 --- a/package/flutter-pi/flutter-pi.mk +++ b/package/flutter-pi/flutter-pi.mk @@ -24,7 +24,6 @@ FLUTTER_PI_CONF_OPTS = \ -DENABLE_TESTS=OFF \ -DENABLE_TSAN=OFF \ -DENABLE_UBSAN=OFF \ - -DENABLE_VULKAN=OFF \ -DFILESYSTEM_LAYOUT=meta-flutter \ -DLINT_EGL_HEADERS=OFF \ -DTRY_BUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN=OFF \ @@ -82,4 +81,11 @@ else FLUTTER_PI_CONF_OPTS += -DENABLE_SESSION_SWITCHING=OFF endif +ifeq ($(BR2_PACKAGE_VULKAN_LOADER),y) +FLUTTER_PI_DEPENDENCIES += vulkan-loader +FLUTTER_PI_CONF_OPTS += -DENABLE_VULKAN=ON +else +FLUTTER_PI_CONF_OPTS += -DENABLE_VULKAN=OFF +endif + $(eval $(cmake-package)) -- 2.41.0 From fontaine.fabrice at gmail.com Mon Oct 2 15:07:08 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 17:07:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/open-iscsi: fix musl build In-Reply-To: <20230930160831.11292fee@windsurf> References: <20230930132822.436857-1-fontaine.fabrice@gmail.com> <20230930160831.11292fee@windsurf> Message-ID: Le sam. 30 sept. 2023 ? 16:08, Thomas Petazzoni < thomas.petazzoni at bootlin.com> a ?crit : > On Sat, 30 Sep 2023 15:28:22 +0200 > Fabrice Fontaine wrote: > > > ++#ifndef GLOB_ONLYDIR > > ++#define GLOB_ONLYDIR 0x100 > > ++#endif > > But musl doesn't support this flag, so isn't that wrong? musl will most > likely ignore it. What is the impact on the application if the glob > also matches files, not just directories? Perhaps it breaks the > application behavior. Are you sure we can just blindly do this > workaround? > Upstream thinks that the application will not break: https://github.com/open-iscsi/open-iscsi/pull/426#issuecomment-1743136865 > > Thomas > -- > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com Best Regards, Fabrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.boibessot at armadeus.com Mon Oct 2 13:51:47 2023 From: julien.boibessot at armadeus.com (Julien BOIBESSOT) Date: Mon, 2 Oct 2023 15:51:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltris: bump to version 1.2.7 Message-ID: <20231002135147.2707988-1-julien.boibessot@armadeus.com> Latest release. Asked by autobuild.buildroot.net. Remove integrated fix. Signed-off-by: Julien BOIBESSOT --- .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- package/ltris/ltris.hash | 2 +- package/ltris/ltris.mk | 2 +- 3 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch b/package/ltris/0001-fix-build-with-gcc-4.8.patch deleted file mode 100644 index d6bbf6a946..0000000000 --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch +++ /dev/null @@ -1,20 +0,0 @@ -Fix build with gcc 4.8 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://sourceforge.net/p/lgames/patches/28] -Index: ltris/src/bowl.c -=================================================================== ---- ltris/src/bowl.c (r?vision 421) -+++ ltris/src/bowl.c (copie de travail) -@@ -828,9 +828,10 @@ - */ - void bowl_init_block_masks() - { -+ int i; - int masksize = sizeof(block_masks[0].mask); // same for all - -- for (int i = 0; i < 7; i++) { -+ for (i = 0; i < 7; i++) { - block_masks[i].rx = 2; - block_masks[i].ry = 2; - memset(block_masks[i].mask, 0, masksize ); diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash index f696e3af17..abe6853d9b 100644 --- a/package/ltris/ltris.hash +++ b/package/ltris/ltris.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 ltris-1.2.tar.gz +sha256 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 ltris-1.2.7.tar.gz sha256 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 COPYING diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk index 9b59613417..98902de44c 100644 --- a/package/ltris/ltris.mk +++ b/package/ltris/ltris.mk @@ -5,7 +5,7 @@ ################################################################################ LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris -LTRIS_VERSION = 1.2 +LTRIS_VERSION = 1.2.7 LTRIS_LICENSE = GPL-2.0+ LTRIS_LICENSE_FILES = COPYING -- 2.25.1 From arnout at mind.be Mon Oct 2 15:42:57 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Mon, 2 Oct 2023 17:42:57 +0200 Subject: [Buildroot] [PATCH RFC 1/4] DEVELOPERS: add Thomas Petazzoni for nodejs In-Reply-To: <20220925204030.1661583-1-thomas.petazzoni@bootlin.com> References: <20220925204030.1661583-1-thomas.petazzoni@bootlin.com> Message-ID: <422a9653-0f29-e6ed-103d-d8126561b477@mind.be> On 25/09/2022 22:40, Thomas Petazzoni via buildroot wrote: > Signed-off-by: Thomas Petazzoni Series applied to master, after reworking similar to the just-posted go-bin series [1]. Regards, Arnout [1] https://patchwork.ozlabs.org/project/buildroot/list/?series=375729 > --- > DEVELOPERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/DEVELOPERS b/DEVELOPERS > index 564149de0f..f82472bbb5 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2902,6 +2902,7 @@ F: package/msmtp/ > F: package/musl/ > F: package/musl-fts/ > F: package/ne10/ > +F: package/nodejs/ > F: package/pkg-python.mk > F: package/pkg-autotools.mk > F: package/pkg-generic.mk From Brandon.Maier at collins.com Mon Oct 2 16:21:45 2023 From: Brandon.Maier at collins.com (Maier, Brandon L Collins) Date: Mon, 2 Oct 2023 16:21:45 +0000 Subject: [Buildroot] [External] Re: [PATCH 1/4] board/freescale: fix arm-trusted-firmware for binutils 2.39+ In-Reply-To: <20230930172024.5aaf0df6@windsurf> References: <20230921215633.34828-1-brandon.maier@collins.com> <20230930172024.5aaf0df6@windsurf> Message-ID: Hi Thomas, > -----Original Message----- > From: Thomas Petazzoni > Sent: Saturday, September 30, 2023 10:20 AM > To: Brandon Maier via buildroot > Cc: Maier, Brandon L Collins ; Fabio Estevam > ; Gilles Talis ; Stephane Viau > ; Maeva Manuel > > Subject: [External] Re: [Buildroot] [PATCH 1/4] board/freescale: fix arm- > trusted-firmware for binutils 2.39+ > > On Thu, 21 Sep 2023 21:56:30 +0000 > Brandon Maier via buildroot wrote: > > > The NXP arm-trusted-firmware forks use an older version of ATF that will > > error with "LOAD segment with RWX permissions". Similar patches are > > present in boot/arm-trusted-firmware/ for older ATF versions. > > > > Signed-off-by: Brandon Maier > > --- > > ...dd-support-for-new-binutils-versions.patch | 61 +++++++++++++++++++ > > configs/freescale_imx8mmevk_defconfig | 1 + > > configs/freescale_imx8mnevk_defconfig | 1 + > > configs/freescale_imx8mpevk_defconfig | 1 + > > configs/freescale_imx8mqevk_defconfig | 1 + > > configs/freescale_imx8qmmek_defconfig | 1 + > > configs/freescale_imx8qxpmek_defconfig | 1 + > > configs/ls1028ardb_defconfig | 3 + > > 8 files changed, 70 insertions(+) > > create mode 100644 board/freescale/common/patches/arm-trusted- > firmware/0001-feat-build-add-support-for-new-binutils-versions.patch > > Applied to master after references to the Gitlab CI failures that are > fixed by this change. If you have the boards at hand, it would be even > nicer to upgrade to newer BSP component versions. Perhaps this is > something that Maeva, Stephane or Gilles can help with? Romain said he updated one of the i.MX boards as well. I would like to update the others, as I'm using latest lf-6.1.22-2.0.0 for our own boards. But I do not own any of those other boards to boot test, I could send out a patch to update the versions and verify they build at least. > > Thanks! > > Thomas > -- > Thomas Petazzoni, CTO, Bootlin > Embedded Linux and Kernel engineering > https://urldefense.com/v3/__https://bootlin.com__;!!MvWE!CEcPUERRV2wb > 6IOiaXKEBuPqtpbxfJ7WlCyGhnSVJpmVsxQ- > BplmLtE6chgxY5ptrX1qJdKVaeR_cTbbMBQdNQ0nkDOmn90$ Thanks, Brandon From fontaine.fabrice at gmail.com Mon Oct 2 16:52:35 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 18:52:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library Message-ID: <20231002165235.346092-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump to version 1.4.2-168-ged3039c in commit 2e330dff6a7ce7965ceb0dccdc9dcbcb329167bb: /home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `libfdt/libfdt-1.6.1.so' Fixes: - http://autobuild.buildroot.org/results/6788d86c10d551b3d617e33c85083b817eb5d0b2 Signed-off-by: Fabrice Fontaine --- package/sunxi-tools/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/sunxi-tools/Config.in b/package/sunxi-tools/Config.in index 14f7da5bf2..16550f4e55 100644 --- a/package/sunxi-tools/Config.in +++ b/package/sunxi-tools/Config.in @@ -23,6 +23,7 @@ config BR2_PACKAGE_SUNXI_TOOLS_BOOTINFO config BR2_PACKAGE_SUNXI_TOOLS_FEL bool "sunxi-fel" + depends on !BR2_STATIC_LIBS # dtc depends on BR2_TOOLCHAIN_HAS_THREADS # libusb depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb select BR2_PACKAGE_DTC @@ -33,8 +34,8 @@ config BR2_PACKAGE_SUNXI_TOOLS_FEL fel mode. This allows do download code to memory and execute it. -comment "sunxi-fel needs a toolchain w/ threads, gcc >= 4.9" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ +comment "sunxi-fel needs a toolchain w/ dynamic library, threads, gcc >= 4.9" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 config BR2_PACKAGE_SUNXI_TOOLS_NAND_PART -- 2.40.1 From fperrad at gmail.com Mon Oct 2 16:53:01 2023 From: fperrad at gmail.com (Francois Perrad) Date: Mon, 2 Oct 2023 18:53:01 +0200 Subject: [Buildroot] [PATCH 1/2] package/perl-module-build-tiny: bump to version 0.047 Message-ID: <20231002165302.3341402-1-francois.perrad@gadz.org> LICENSE: switch to Perl Artistic see https://metacpan.org/release/LEONT/Module-Build-Tiny-0.047/diff/LEONT/Module-Build-Tiny-0.039#LICENSE Signed-off-by: Francois Perrad --- .../perl-module-build-tiny/perl-module-build-tiny.hash | 8 ++++---- package/perl-module-build-tiny/perl-module-build-tiny.mk | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/perl-module-build-tiny/perl-module-build-tiny.hash b/package/perl-module-build-tiny/perl-module-build-tiny.hash index 7f03f96c1..7b503ff06 100644 --- a/package/perl-module-build-tiny/perl-module-build-tiny.hash +++ b/package/perl-module-build-tiny/perl-module-build-tiny.hash @@ -1,6 +1,6 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 2332c90c17454107fea3f2614e11a3a9 Module-Build-Tiny-0.039.tar.gz -sha256 7d580ff6ace0cbe555bf36b86dc8ea232581530cbeaaea09bccb57b55797f11c Module-Build-Tiny-0.039.tar.gz +# retrieved by scancpan from https://cpan.metacpan.org/ +md5 de9814b3c22825837438fc70adad58ac Module-Build-Tiny-0.047.tar.gz +sha256 71260e9421b93c33dd1b3e7d0cf15f759c0ca7c753fa840279ec3be70f8f8c9d Module-Build-Tiny-0.047.tar.gz # computed by scancpan -sha256 09fd2bc0428920c455f10c5a6c52e2bb4615114e88966c75ce27a07af028c36b LICENSE +sha256 1ce3282467869416f29b0c5f7773d1b80181fb9e08bef64e3829e8c53e19b64e LICENSE diff --git a/package/perl-module-build-tiny/perl-module-build-tiny.mk b/package/perl-module-build-tiny/perl-module-build-tiny.mk index cdf6ac3ec..e2e3d83e7 100644 --- a/package/perl-module-build-tiny/perl-module-build-tiny.mk +++ b/package/perl-module-build-tiny/perl-module-build-tiny.mk @@ -4,14 +4,14 @@ # ################################################################################ -PERL_MODULE_BUILD_TINY_VERSION = 0.039 +PERL_MODULE_BUILD_TINY_VERSION = 0.047 PERL_MODULE_BUILD_TINY_SOURCE = Module-Build-Tiny-$(PERL_MODULE_BUILD_TINY_VERSION).tar.gz PERL_MODULE_BUILD_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEONT HOST_PERL_MODULE_BUILD_TINY_DEPENDENCIES = \ host-perl-extutils-config \ host-perl-extutils-helpers \ host-perl-extutils-installpaths -PERL_MODULE_BUILD_TINY_LICENSE = Artistic or GPL-1.0+ +PERL_MODULE_BUILD_TINY_LICENSE = Artistic-1.0-Perl or GPL-1.0+ PERL_MODULE_BUILD_TINY_LICENSE_FILES = LICENSE PERL_MODULE_BUILD_TINY_DISTNAME = Module-Build-Tiny -- 2.39.2 From fperrad at gmail.com Mon Oct 2 16:53:02 2023 From: fperrad at gmail.com (Francois Perrad) Date: Mon, 2 Oct 2023 18:53:02 +0200 Subject: [Buildroot] [PATCH 2/2] package/perl-module-build: bump to version 0.4234 In-Reply-To: <20231002165302.3341402-1-francois.perrad@gadz.org> References: <20231002165302.3341402-1-francois.perrad@gadz.org> Message-ID: <20231002165302.3341402-2-francois.perrad@gadz.org> LICENSE: now filled with a real content see https://metacpan.org/release/LEONT/Module-Build-0.4234/diff/LEONT/Module-Build-0.4232#LICENSE Signed-off-by: Francois Perrad --- package/perl-module-build/perl-module-build.hash | 8 ++++---- package/perl-module-build/perl-module-build.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/perl-module-build/perl-module-build.hash b/package/perl-module-build/perl-module-build.hash index a2181290e..590307e78 100644 --- a/package/perl-module-build/perl-module-build.hash +++ b/package/perl-module-build/perl-module-build.hash @@ -1,6 +1,6 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 144885f1cbaf9420017bbed696ec6b83 Module-Build-0.4232.tar.gz -sha256 67c82ee245d94ba06decfa25572ab75fdcd26a9009094289d8f45bc54041771b Module-Build-0.4232.tar.gz +# retrieved by scancpan from https://cpan.metacpan.org/ +md5 0032d0c0bc36a3b68ef41c947829d5e3 Module-Build-0.4234.tar.gz +sha256 66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f Module-Build-0.4234.tar.gz # computed by scancpan -sha256 f35ac2cc6b808a38c42c2d230b875217b0a24bb51e5a497ebb630cbb3d806c3e LICENSE +sha256 af1570e8af55af52b4e86d040e2a993cb684566275c43c4d7a8b0cc5a90e08a4 LICENSE diff --git a/package/perl-module-build/perl-module-build.mk b/package/perl-module-build/perl-module-build.mk index d95a30647..972902e04 100644 --- a/package/perl-module-build/perl-module-build.mk +++ b/package/perl-module-build/perl-module-build.mk @@ -4,7 +4,7 @@ # ################################################################################ -PERL_MODULE_BUILD_VERSION = 0.4232 +PERL_MODULE_BUILD_VERSION = 0.4234 PERL_MODULE_BUILD_SOURCE = Module-Build-$(PERL_MODULE_BUILD_VERSION).tar.gz PERL_MODULE_BUILD_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEONT PERL_MODULE_BUILD_LICENSE = Artistic or GPL-1.0+ -- 2.39.2 From fontaine.fabrice at gmail.com Mon Oct 2 16:53:45 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 18:53:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnvme: fix python build Message-ID: <20231002165345.346937-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since the addition of the package in commit cd7bc6b1c410514765c51821bb8d843f136fea4a: Program python3 found: YES (/home/autobuild/autobuild/instance-6/output-1/host/bin/python3) Program swig found: NO ../output-1/build/libnvme-1.5/libnvme/meson.build:15:11: ERROR: Program 'swig' not found or not executable Fixes: - http://autobuild.buildroot.org/results/3cb05b4939eb7d1ce0460088c365402ffcd6b13b Signed-off-by: Fabrice Fontaine --- package/libnvme/libnvme.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 71885e198c..c8984093d0 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -11,7 +11,7 @@ LIBNVME_LICENSE_FILES = COPYING LIBNVME_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_PYTHON3),y) -LIBNVME_DEPENDENCIES += python3 +LIBNVME_DEPENDENCIES += host-swig python3 LIBNVME_CONF_OPTS += -Dpython=enabled else LIBNVME_CONF_OPTS += -Dpython=disabled -- 2.40.1 From fontaine.fabrice at gmail.com Mon Oct 2 16:54:35 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 2 Oct 2023 18:54:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/spirv-tools: needs C++17 Message-ID: <20231002165435.347541-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since the addition of the package in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: CMake Error at CMakeLists.txt:17 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/aff5b968342bf05f036c8e1e557c404060345d30 Signed-off-by: Fabrice Fontaine --- package/spirv-tools/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in index e2f46253a9..39fdb80b86 100644 --- a/package/spirv-tools/Config.in +++ b/package/spirv-tools/Config.in @@ -1,8 +1,14 @@ config BR2_PACKAGE_SPIRV_TOOLS bool "spirv-tools" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 select BR2_PACKAGE_SPIRV_HEADERS help The SPIR-V Tools project provides an API and commands for processing SPIR-V modules. https://github.com/KhronosGroup/SPIRV-Tools + +comment "spirv-tools needs a toolchain w/ C++, gcc >= 7" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 -- 2.40.1 From giulio.benetti at benettiengineering.com Mon Oct 2 17:20:47 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Mon, 2 Oct 2023 19:20:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/libnvme: fix python build In-Reply-To: <20231002165345.346937-1-fontaine.fabrice@gmail.com> References: <20231002165345.346937-1-fontaine.fabrice@gmail.com> Message-ID: <9B60377C-1188-4453-9CB3-2B12E8D4FF2F@benettiengineering.com> Hi Fabrice, > Il giorno 2 ott 2023, alle ore 18:54, Fabrice Fontaine ha scritto: > > ?Fix the following build failure raised since the addition of the package > in commit cd7bc6b1c410514765c51821bb8d843f136fea4a: > > Program python3 found: YES (/home/autobuild/autobuild/instance-6/output-1/host/bin/python3) > Program swig found: NO > > ../output-1/build/libnvme-1.5/libnvme/meson.build:15:11: ERROR: Program 'swig' not found or not executable > > Fixes: > - http://autobuild.buildroot.org/results/3cb05b4939eb7d1ce0460088c365402ffcd6b13b > > Signed-off-by: Fabrice Fontaine Reviewed-by: Giulio Benetti Thank you for fixing Giulio > --- > package/libnvme/libnvme.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk > index 71885e198c..c8984093d0 100644 > --- a/package/libnvme/libnvme.mk > +++ b/package/libnvme/libnvme.mk > @@ -11,7 +11,7 @@ LIBNVME_LICENSE_FILES = COPYING > LIBNVME_INSTALL_STAGING = YES > > ifeq ($(BR2_PACKAGE_PYTHON3),y) > -LIBNVME_DEPENDENCIES += python3 > +LIBNVME_DEPENDENCIES += host-swig python3 > LIBNVME_CONF_OPTS += -Dpython=enabled > else > LIBNVME_CONF_OPTS += -Dpython=disabled > -- > 2.40.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From yann.morin.1998 at free.fr Mon Oct 2 17:33:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 2 Oct 2023 19:33:10 +0200 Subject: [Buildroot] [PATCH v6 1/4] pkg-cmake: add option to select the Ninja generator In-Reply-To: <20230806141506.GS421096@scaer> References: <20230802111447.41714-1-thomas@devoogdt.com> <20230806141506.GS421096@scaer> Message-ID: <20231002173310.GA2957@scaer> Thomas, All, On 2023-08-06 16:15 +0200, Yann E. MORIN spake thusly: > On 2023-08-02 13:14 +0200, Thomas Devoogdt spake thusly: > > From: Thomas Devoogdt > > Cmake supports multiple generators. Ninja is a small build system with a > > focus on speed. It is mainly used with the meson build system, but also > > cmake has very good support for it. This adds optional support for the > > Ninja build system. [--SNIP--] > Please review the new code. If I broke something, please send followup > fixup patches with appropriate explanations (there's a kind of d?j?-vu > here...) While reviewing another patch, I now noticed that we did lose something with the introduction of this ninja backend. that I totally missed when I applied it. Indeed, previously, the install step was done with the install/fast rule: $(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install/fast $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install/fast But this got removed with your patch, with nothing to replace it. See commit dfcc18f84b0d (pkg-cmake: Skip compilation in installation step) for the rationale of using install/fast. Could you look into restoring this, please? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From kazemi.ms at gmail.com Mon Oct 2 17:36:28 2023 From: kazemi.ms at gmail.com (Saeed Kazemi) Date: Mon, 2 Oct 2023 19:36:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/eza: new package Message-ID: <20231002173628.2812917-1-kazemi.ms@gmail.com> eza is a modern, maintained replacement for ls, built on exa. https://github.com/eza-community/eza.git Signed-off-by: Saeed Kazemi --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/eza/Config.in | 8 ++++++++ package/eza/eza.hash | 3 +++ package/eza/eza.mk | 12 ++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/eza/Config.in create mode 100644 package/eza/eza.hash create mode 100644 package/eza/eza.mk diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..944c4fd8bd 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2626,6 +2626,9 @@ F: package/agent-proxy/ N: Ryan Wilkins F: package/biosdevname/ +N: Saeed Kazemi +F: package/eza/ + N: Sam Lancia F: package/lrzip/ diff --git a/package/Config.in b/package/Config.in index 009f7ba186..589dfc682a 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2633,6 +2633,7 @@ comment "Utilities" source "package/dialog/Config.in" source "package/dtach/Config.in" source "package/easy-rsa/Config.in" + source "package/eza/Config.in" source "package/file/Config.in" source "package/gnupg/Config.in" source "package/gnupg2/Config.in" diff --git a/package/eza/Config.in b/package/eza/Config.in new file mode 100644 index 0000000000..b0a49afefb --- /dev/null +++ b/package/eza/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_EZA + bool "eza" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_RUSTC + help + eza is a modern, maintained replacement for ls, built on exa. + + https://github.com/eza-community/eza.git diff --git a/package/eza/eza.hash b/package/eza/eza.hash new file mode 100644 index 0000000000..39923ceb48 --- /dev/null +++ b/package/eza/eza.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 2dac8aa41433eeaa07c4eabdf557b7e134c3fda9ba9edb8ab57959354856e20c eza-0.14.0.tar.gz +sha256 2762990c7fbba9d550802a2593c1d857dcd52596bb0f9f192a97e9a7ac5f4f9e LICENCE diff --git a/package/eza/eza.mk b/package/eza/eza.mk new file mode 100644 index 0000000000..a327de0dcc --- /dev/null +++ b/package/eza/eza.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# eza +# +################################################################################ + +EZA_VERSION = 0.14.0 +EZA_SITE = $(call github,eza-community,eza,v$(EZA_VERSION)) +EZA_LICENSE = MIT +EZA_LICENSE_FILES = LICENCE + +$(eval $(cargo-package)) -- 2.34.1 From christian at aperture.us Mon Oct 2 18:24:21 2023 From: christian at aperture.us (Christian Stewart) Date: Mon, 2 Oct 2023 11:24:21 -0700 Subject: [Buildroot] [PATCH 6/6] support/testing: add tests for Go providers In-Reply-To: <20231002124736.179251-7-thomas.perale@essensium.com> References: <20231002124736.179251-1-thomas.perale@essensium.com> <20231002124736.179251-7-thomas.perale@essensium.com> Message-ID: Hi Thomas, Thanks for this series, it looks good overall. A few minor fixes for this patch: On Mon, Oct 2, 2023 at 5:48?AM Thomas Perale wrote: > +class TestGoBin(TestGoBase): > + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ > + """ > + BR2_TARGET_ROOTFS_CPIO=y > + BR2_PACKAGE_HOST_GO=y > + BR2_PACKAGE_HOST_GO_SRC=y > + BR2_PACKAGE_TINIFIER=y > + """ I think you meant to put HOST_GO_BIN here (for TestGoBin). > +class TestGoSource(TestGoBase): > + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ > + """ > + BR2_TARGET_ROOTFS_CPIO=y > + BR2_PACKAGE_HOST_GO=y > + BR2_PACKAGE_HOST_GO_BIN=y > + BR2_PACKAGE_TINIFIER=y > + """ I think you meant to put HOST_GO_SRC here (for TestGoSource). Best regards, Christian Stewart From christian at aperture.us Mon Oct 2 18:28:49 2023 From: christian at aperture.us (Christian Stewart) Date: Mon, 2 Oct 2023 11:28:49 -0700 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump version to v1.6.22 In-Reply-To: <87r0mgay0o.fsf@48ers.dk> References: <20230727232235.449788-1-christian@aperture.us> <08DC739C-F115-4DB2-9F9A-0CD6E9BFEA42@agner.ch> <23f2b3bd59cb6d860ea52b566eacfdb8@agner.ch> <87r0mgay0o.fsf@48ers.dk> Message-ID: Hi Peter, https://github.com/containerd/containerd/issues/9139#issuecomment-1736477534 On Sat, Sep 30, 2023 at 1:03?AM Peter Korsgaard wrote: > If cri is only needed for when containerd is used with kubernetes, then > perhaps we should disable it by default so other people don't need to > debug the same issue. I think we can safely disable cri on the default config. Best, Christian From christian at aperture.us Mon Oct 2 19:17:04 2023 From: christian at aperture.us (Christian Stewart) Date: Mon, 2 Oct 2023 12:17:04 -0700 Subject: [Buildroot] [PATCH v1 1/1] package/amlogic-boot-fip: fix typo in Config.in.host Message-ID: <20231002191704.57123-1-christian@aperture.us> Signed-off-by: Christian Stewart --- package/amlogic-boot-fip/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/amlogic-boot-fip/Config.in.host b/package/amlogic-boot-fip/Config.in.host index d72bac568e..bccc6296d1 100644 --- a/package/amlogic-boot-fip/Config.in.host +++ b/package/amlogic-boot-fip/Config.in.host @@ -2,7 +2,7 @@ config BR2_PACKAGE_HOST_AMLOGIC_BOOT_FIP bool "host amlogic-boot-fip" depends on BR2_HOSTARCH = "x86_64" help - Firmware Image Pacakge (FIP) sources used to sign Amlogic + Firmware Image Package (FIP) sources used to sign Amlogic u-boot binaries in LibreELEC images https://github.com/LibreELEC/amlogic-boot-fip -- 2.42.0 From bernd at kuhls.net Mon Oct 2 19:51:59 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 2 Oct 2023 21:51:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix cross build Message-ID: <20231002195159.3053254-1-bernd@kuhls.net> Fixes build error Building dns library in /home/bernd/buildroot/br4/output/build/dhcp-4.4.3- P1/bind/bind-9.11.36/lib/dns ./gen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./gen) make[4]: *** [Makefile:601: include/dns/enumtype.h] Error 1 make[3]: *** [Makefile:595: include] Error 2 with this defconfig BR2_x86_64=y BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_DHCP=y Please note that this build error only occurs when the target and the host system have the same arch. For example this defconfig builds fine: BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_DHCP=y on a Debian 12 x86_64 host using glibc-2.36: $ /lib/ld-linux.so.2 --version ld.so (Debian GLIBC 2.36-9+deb12u1) stable release version 2.36. The error occurs since buildroot commit 34f8d874ee which bumped glibc from 2.37 to 2.38. This patch is inspired by the Yocto Project: https://patchwork.yoctoproject.org/project/oe/patch/20230715212159.3265080-1-raj.khem at gmail.com/ Signed-off-by: Bernd Kuhls --- package/dhcp/dhcp.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 7be40191c8..094d361e45 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -32,6 +32,9 @@ DHCP_CONF_ENV = \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' DHCP_BIND_EXTRA_CONFIG = \ + --build=$(GNU_HOST_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --target=$(GNU_TARGET_NAME) \ BUILD_CC='$(HOSTCC)' \ BUILD_CFLAGS='$(HOST_CFLAGS)' \ BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ -- 2.39.2 From bernd at kuhls.net Mon Oct 2 19:53:36 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 02 Oct 2023 21:53:36 +0200 Subject: [Buildroot] [PATCH 1/2] package/{glibc, localedef}: bump to version 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 References: <20230911210917.1114974-1-romain.naour@gmail.com> <87edigg4hb.fsf__32334.269203578$1696015980$gmane$org@48ers.dk> <87r0mf74yf.fsf@48ers.dk> Message-ID: Am Sat, 30 Sep 2023 22:59:20 +0200 schrieb Peter Korsgaard: > So gen is presumably built for the target, but the build system for some > reason tries to execute it on the host - E.G. it was already a problem, > but it only happened to work before as the glibc version on your build > host matched better (was >=) than the 2.38.x version we use now. Hi Peter, sent https://patchwork.ozlabs.org/project/buildroot/patch/ 20231002195159.3053254-1-bernd at kuhls.net/ Regards, Bernd From yann.morin.1998 at free.fr Mon Oct 2 20:01:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 2 Oct 2023 22:01:12 +0200 Subject: [Buildroot] [PATCH v2] package/qt5/qt5webkit: fix generated artifacts In-Reply-To: <20220929181350.1026033-1-thomas.ballasi@savoirfairelinux.com> References: <20220922214512.2098221-1-thomas.ballasi@savoirfairelinux.com> <20220929181350.1026033-1-thomas.ballasi@savoirfairelinux.com> Message-ID: <20231002200112.GB2957@scaer> Thomas, All, Sorry for the awfully long delay in looking at this patch; it has all the words that make it scary to review: qt5. cmake. webkit... On 2022-09-29 14:13 -0400, Thomas Ballasi spake thusly: > Generated artifacts of the installation process were wrongly located, > causing packages using qt5webkit (qt-webkit-kiosk and python-pyqt5) to > fail at build time. It would have been good to provide an example of such a failure, and they are pretty rare: http://autobuild.buildroot.org/?reason=qt-webkit-kiosk% The last one is from 2023-09-04, pretty recent, but the one before that was in 2022-12-14, but it was more common before that (a few a month on average). We usually add a reference to such a build failure directly in the commit log: http://autobuild.buildroot.org/results/91a/91a2d87eb42bf62f8d4f2b24788deef6c5e866f6/ > Firstly, *.h files are wrongly located a directory below where supposed > (inside qt5/ directory). This is caused by using DATADIR which assumed > include files were to be located in sysroot/usr/include/. Disabling this > variable by removing it from build options leads to a correct behavior. I don't see where/how you are disabling the use of DATADIR. > Secondly, in order to locate *.pri artifacts correctly, we set the conf > option CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT on, From the cmake documentation, it looks like that variable i set by cmake, and is not to be set manually like you do: https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT.html qt5webkit looks for the value of CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT to set CMAKE_INSTALL_PREFIX: qt5webkit-5.212.0-alpha4/Source/cmake/OptionsQt.cmake 1004 query_qmake(qt_install_prefix_dir QT_INSTALL_PREFIX) 1005 if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) 1006 set(CMAKE_INSTALL_PREFIX "${qt_install_prefix_dir}" CACHE PATH "Install path prefix, prepended onto install? 1007 endif () And this looks to me very close to what Looking a bit around, I only noticed jpeg-turbo doing something similar, but I don't understand why it looks if the path s set to its efault value to just then set it to its default value... I think the proper solution in pur case would be to drop that conditional block... > which in turn > sets the variable KDE_INSTALL_USE_QT_SYS_PATHS on, for the following > reasons: > > 1. *.pri files are wrongly located in the host's and target's sysroot > directores while buildroot implements its own mkspecs directory. > By setting KDE_INSTALL_USE_QT_SYS_PATHS on, mkspecs modules are now > being installed in host's data dir (ECM_MKSPECS_INSTALL_DIR is set > accordingly @ line 102 in Source/cmake/ECMGeneratePriFile.cmake). > This also required to prevent using the CMake package's default > DATADIR variable, as done previously, as it enforced to install > artifacts under the sysroot directory. > > 2. *.pri files' content have hardcoded include and library paths. This > has been corrected by setting on KDE_INSTALL_USE_QT_SYS_PATHS as > their content is written according to this value (see line 514 and > 739 in file Source/WebKit/PlatformQt.cmake). I think both issues should be fixed by removing that conditional block... [--SNIP--] > diff --git a/package/qt5/qt5webkit/qt5webkit.mk b/package/qt5/qt5webkit/qt5webkit.mk > index 6912359674..8310ef20c8 100644 > --- a/package/qt5/qt5webkit/qt5webkit.mk > +++ b/package/qt5/qt5webkit/qt5webkit.mk > @@ -51,10 +51,18 @@ QT5WEBKIT_CONF_OPTS += -DENABLE_SAMPLING_PROFILER=OFF > endif > > QT5WEBKIT_CONF_OPTS += \ > + -DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=ON \ > -DENABLE_TOOLS=OFF \ > -DPORT=Qt \ > -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ > -DSHARED_CORE=ON \ > -DUSE_LIBHYPHEN=OFF > > +QT5WEBKIT_INSTALL_STAGING_OPTS = install/fast The default _INSTALL_STAGING_OPTS contains DESTDIR and isntall/fast: https://gitlab.com/buildroot.org/buildroot/-/blob/68b68518a8cc372cd6bfb34414a91311e7266044/package/pkg-cmake.mk#L56 So what you're doing is to rem ove setting DESTDIR, which feels horribly wrong. > +define QT5WEBKIT_INSTALL_TARGET_CMDS > + $(TARGET_MAKE_ENV) $(BR2_CMAKE) --install $(QT5WEBKIT_BUILDDIR) \ > + --prefix $(TARGET_DIR)/usr Ditto, not using DESTDIR as the install step for target looks highly suspicious. Note that the current state of affairs with cmake has slightly evolved since you posted your patch. as we recently merged support for using ninja as the backend (it is opt-in to that backend, the default is still Makefiles), and we may have a bit of a fallout. Still, I was able to reproduce the issue... So, I started a build (wee, 3 hours!) that have removed the conditional block in qt5webkit, let's see what that does... Regards, Yann E. MORIN. > +endef > + > $(eval $(cmake-package)) -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From bernd at kuhls.net Mon Oct 2 20:04:51 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 2 Oct 2023 22:04:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: bump version to 3.11.6 Message-ID: <20231002200451.3445210-1-bernd@kuhls.net> Release notes: https://www.python.org/downloads/release/python-3116/ Signed-off-by: Bernd Kuhls --- package/python3/python3.hash | 6 +++--- package/python3/python3.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 1a0fee3290..39a16c1f71 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3115/ -md5 393856f1b7713aa8bba4b642ab9985d3 Python-3.11.5.tar.xz +# From https://www.python.org/downloads/release/python-3116/ +md5 d0c5a1a31efe879723e51addf56dd206 Python-3.11.6.tar.xz # Locally computed -sha256 85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f Python-3.11.5.tar.xz +sha256 0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 Python-3.11.6.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cfe5e1ee6e..b9c5054a21 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.11 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).5 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).6 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others -- 2.39.2 From thomas at devoogdt.com Mon Oct 2 20:26:40 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Mon, 2 Oct 2023 22:26:40 +0200 Subject: [Buildroot] [PATCH v6 1/4] pkg-cmake: add option to select the Ninja generator In-Reply-To: <20231002173310.GA2957@scaer> References: <20230802111447.41714-1-thomas@devoogdt.com> <20230806141506.GS421096@scaer> <20231002173310.GA2957@scaer> Message-ID: Hi Yann, All, I will check what I can do. A quick search gives me this flag: https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html , which is probably what we want. Otherwise I don't see much additional install options. And calling the make install/fast target directly is not very generator generic. Kr, Thomas Op ma 2 okt. 2023 19:33 schreef Yann E. MORIN : > Thomas, All, > > On 2023-08-06 16:15 +0200, Yann E. MORIN spake thusly: > > On 2023-08-02 13:14 +0200, Thomas Devoogdt spake thusly: > > > From: Thomas Devoogdt > > > Cmake supports multiple generators. Ninja is a small build system with > a > > > focus on speed. It is mainly used with the meson build system, but also > > > cmake has very good support for it. This adds optional support for the > > > Ninja build system. > [--SNIP--] > > Please review the new code. If I broke something, please send followup > > fixup patches with appropriate explanations (there's a kind of d?j?-vu > > here...) > > While reviewing another patch, I now noticed that we did lose something > with the introduction of this ninja backend. that I totally missed when > I applied it. > > Indeed, previously, the install step was done with the install/fast > rule: > > $(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install/fast > $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install/fast > > But this got removed with your patch, with nothing to replace it. > > See commit dfcc18f84b0d (pkg-cmake: Skip compilation in installation > step) for the rationale of using install/fast. > > Could you look into restoring this, please? > > Regards, > Yann E. MORIN. > > -- > > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' > conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ > | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is > no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v > conspiracy. | > > '------------------------------^-------^------------------^--------------------' > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.morin.1998 at free.fr Mon Oct 2 20:43:28 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 2 Oct 2023 22:43:28 +0200 Subject: [Buildroot] [PATCH v6 1/4] pkg-cmake: add option to select the Ninja generator In-Reply-To: References: <20230802111447.41714-1-thomas@devoogdt.com> <20230806141506.GS421096@scaer> <20231002173310.GA2957@scaer> Message-ID: <20231002204328.GC2957@scaer> Thomas, All, On 2023-10-02 22:26 +0200, Thomas Devoogdt spake thusly: > I will check what I can do. A quick search gives me this flag: > [1]https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html , > which is probably what we want. Otherwise I don't see much additional install options. If I understood it properly, this makes 'install' behave as 'install/fast' by default, so looks like we should indeed be passing this option instead. If that does not make sense for the ninja case, then we'd set it only for the makefiles case. > And calling the make install/fast target > directly is not very generator generic. If we reinstate 'install/fast' as it was previously, we'd do that only for the makefiels case, of course. Regards, Yann E. MORIN. > Kr, > Thomas? > Op ma 2 okt. 2023 19:33 schreef Yann E. MORIN < [2]yann.morin.1998 at free.fr>: > > Thomas, All, > > On 2023-08-06 16:15 +0200, Yann E. MORIN spake thusly: > > On 2023-08-02 13:14 +0200, Thomas Devoogdt spake thusly: > > > From: Thomas Devoogdt < [3]thomas.devoogdt at barco.com> > > > Cmake supports multiple generators. Ninja is a small build system with a > > > focus on speed. It is mainly used with the meson build system, but also > > > cmake has very good support for it. This adds optional support for the > > > Ninja build system. > [--SNIP--] > > Please review the new code. If I broke something, please send followup > > fixup patches with appropriate explanations (there's a kind of d?j?-vu > > here...) > > While reviewing another patch, I now noticed that we did lose something > with the introduction of this ninja backend. that I totally missed when > I applied it. > > Indeed, previously, the install step was done with the install/fast > rule: > > ? ? $(2)_INSTALL_STAGING_OPTS? ? ? ?= DESTDIR=$$(STAGING_DIR) install/fast > ? ? $(2)_INSTALL_TARGET_OPTS? ? ? ??= DESTDIR=$$(TARGET_DIR) install/fast > > But this got removed with your patch, with nothing to replace it. > > See commit dfcc18f84b0d (pkg-cmake: Skip compilation in installation > step) for the rationale of using install/fast. > > Could you look into restoring this, please? > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > |? Yann E. MORIN? | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software? Designer | \ / CAMPAIGN? ? ?|? ___? ? ? ? ? ? > ? ?| > | +33 561 099 427 `------------.-------:? X? AGAINST? ? ? |? \e/? There is no? | > | [4]http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL? ? |? ?v? ?conspiracy.? | > '------------------------------^-------^------------------^--------------------' > > Links: > 1. https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html > 2. mailto:yann.morin.1998 at free.fr > 3. mailto:thomas.devoogdt at barco.com > 4. http://ymorin.is-a-geek.org/ -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 2 20:51:44 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 2 Oct 2023 22:51:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix cross build In-Reply-To: <20231002195159.3053254-1-bernd@kuhls.net> References: <20231002195159.3053254-1-bernd@kuhls.net> Message-ID: <20231002205144.GD2957@scaer> Bernd, All, On 2023-10-02 21:51 +0200, Bernd Kuhls spake thusly: > Fixes build error > > Building dns library in /home/bernd/buildroot/br4/output/build/dhcp-4.4.3- > P1/bind/bind-9.11.36/lib/dns > ./gen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found > (required by ./gen) > make[4]: *** [Makefile:601: include/dns/enumtype.h] Error 1 > make[3]: *** [Makefile:595: include] Error 2 > > with this defconfig > > BR2_x86_64=y > BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y > BR2_PACKAGE_DHCP=y > > Please note that this build error only occurs when the target and the > host system have the same arch. For example this defconfig builds fine: > > BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y > BR2_PACKAGE_DHCP=y > > on a Debian 12 x86_64 host using glibc-2.36: > > $ /lib/ld-linux.so.2 --version > ld.so (Debian GLIBC 2.36-9+deb12u1) stable release version 2.36. > > The error occurs since buildroot commit 34f8d874ee which bumped glibc > from 2.37 to 2.38. > > This patch is inspired by the Yocto Project: > https://patchwork.yoctoproject.org/project/oe/patch/20230715212159.3265080-1-raj.khem at gmail.com/ That patch has an important tidbit of inoormation that yours is missing, and that is important to get: this is passing the configure options to the internal bind. Indeed, I was very puzzled why passing the same --build, --host, and --target as pkg-autotools already does, would fix the issue. But indeed, isch dhcp internally configure a bundled bind, and messes when doing so. So your patch looks like it is correct. However, I would challenge it on other grounds: ISC decided to stop maintaing dhcp starting end of 2022, almost a year ago, when they released the last version of dhcp. Should we just drop that package now and be done with it? Regards, Yann E. MORIN. > Signed-off-by: Bernd Kuhls > --- > package/dhcp/dhcp.mk | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk > index 7be40191c8..094d361e45 100644 > --- a/package/dhcp/dhcp.mk > +++ b/package/dhcp/dhcp.mk > @@ -32,6 +32,9 @@ DHCP_CONF_ENV = \ > CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' > > DHCP_BIND_EXTRA_CONFIG = \ > + --build=$(GNU_HOST_NAME) \ > + --host=$(GNU_TARGET_NAME) \ > + --target=$(GNU_TARGET_NAME) \ > BUILD_CC='$(HOSTCC)' \ > BUILD_CFLAGS='$(HOST_CFLAGS)' \ > BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \ > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fperrad at gmail.com Tue Oct 3 05:21:20 2023 From: fperrad at gmail.com (Francois Perrad) Date: Tue, 3 Oct 2023 07:21:20 +0200 Subject: [Buildroot] [PATCH] configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot Message-ID: <20231003052120.3594513-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- configs/olimex_a20_olinuxino_lime2_defconfig | 4 ++-- configs/olimex_a20_olinuxino_lime_defconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig index d817e1dd1..3294748b1 100644 --- a/configs/olimex_a20_olinuxino_lime2_defconfig +++ b/configs/olimex_a20_olinuxino_lime2_defconfig @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.38" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.55" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig index 88967e70c..6b46794df 100644 --- a/configs/olimex_a20_olinuxino_lime_defconfig +++ b/configs/olimex_a20_olinuxino_lime_defconfig @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.38" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.55" BR2_LINUX_KERNEL_USE_DEFCONFIG=y BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" @@ -45,7 +45,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -- 2.39.2 From thomas.petazzoni at bootlin.com Tue Oct 3 05:37:03 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 03 Oct 2023 05:37:03 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-02 Message-ID: <20231003053710.0179C81FEB@smtp1.osuosl.org> Hello, Autobuild statistics for 2023-10-02 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 16 | 12 | 0 | 28 | 2023.08.x | 19 | 16 | 0 | 35 | master | 74 | 121 | 2 | 197 | Classification of failures by reason for master ----------------------------------------------- unknown | 11 openrc-0.43.3 | 10 alsa-lib-1.2.10 | 8 alsa-utils-1.2.10 | 7 spirv-tools-1.3.261.1 | 6 bird-2.0.12 | 4 elfutils-0.189 | 4 gobject-introspection-1.76.1 | 4 conmon-2.1.8 | 3 glibc-2.38-13-g92201f16cbcf... | 3 linux-6.5.5 | 3 bat-0.23.0 | 2 brltty-6.5 | 2 gcc-final-12.3.0 | 2 gnuplot-5.4.9 | 2 gobject-introspection | 2 google-breakpad-c85eb4a59b6... | 2 host-sentry-cli-2.20.3 | 2 libarchive-3.7.2 | 2 libnvme-1.5 | 2 monit-5.33.0 | 2 open-iscsi-2.1.9 | 2 powertop-2.15 | 2 wolfssl-5.6.3 | 2 xenomai-3.0.10 | 2 android-tools-4.2.2+git2013... | 1 dc3dd-7.2.641 | 1 dmraid-1.0.0.rc16-3 | 1 dtc-1.6.1 | 1 faad2-2.10.1 | 1 fmt-10.1.1 | 1 gcc-final-11.4.0 | 1 gcc-final-13.2.0 | 1 host-go-1.21.1 | 1 host-rust-1.71.1 | 1 igh-ethercat-f5dc109176400f... | 1 janus-gateway-1.1.2 | 1 leptonica-1.82.0 | 1 libdill-32d0e8b733416208e04... | 1 libglib2-2.76.1 | 1 libglvnd-1.4.0 | 1 linux-5.10.162-cip24 | 1 mariadb-10.11.4 | 1 motion-4.5.1 | 1 ncmpc-0.47 | 1 network-manager-1.42.0 | 1 pound-4.8 | 1 pv-1.6.20 | 1 python-bcrypt-4.0.1 | 1 python-cryptography-39.0.2 | 1 reproc-14.2.4 | 1 rwmem-c8291705c82bb0686be9a... | 1 squid-6.2 | 1 tar-1.35 | 1 volk-3.0.0 | 1 xtables-addons-3.22 | 1 zxing-cpp-2.1.0 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/24a2ac2b3cad160b413928f496d7345af2ed4096 | aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/d2a653f43a597e522a41a3365cb54ebca7301fbc | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a663abfc7c68674c65f22a53b7765c7e17073e8f | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a4bc61f3d271e217a8747a479018bc1059b7025 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bb53dd5e8931f88a14603191e96e1e954be13a9a | aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/0f02daed122aa793f73780fd9cf13437efb9d24e | sh4a | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6b8c5e5b447299f52d9bece52b1ad5abe7307026 | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/41a0b1b4aa50edd9414441430afe2c6eb6116259 | sh4a | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3934e2b750bb1af0e6c35f7f7e7116825f157112 | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/9d0ac33e926b144d1aa76164aa0317e70ce34afa | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/a0fa5bd395c424acd62d9d9b18e073e80a994dab | sh4aeb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6c5bee263b1524231019d1039aab01b3712992bf | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/d099d2c9bd356ecf068e2e656249bd63a29b8c3c | microblazeel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/53bdf92a16322068d88cfcc0c0001d97ccfb74cb | mips64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/4d6acc8682bc68d5735036d26cd4774ab1f47e6b | mips64 | android-tools-4.2.2+git2013... | NOK | http://autobuild.buildroot.net/results/afc154c1861824abd7e8248695ab81f4e2393c2f | mipsel | bat-0.23.0 | NOK | http://autobuild.buildroot.net/results/8d24fd5747d270817d352b389cf597b5bf28d8d7 | armeb | bat-0.23.0 | NOK | http://autobuild.buildroot.net/results/595752d12541aabfca9d7c29731f890935e23b13 | aarch64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/014a5caa82412d144f417c61b5e3e19fa4eb93f1 | arc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/76b86eb7c4ede7206c877826f2e9a4ebc8ea6b77 | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c7c1a6bb08c89a037a35f295fab31df7989d6fb3 | arceb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/7b497164095d86a1d4b8dbfb9237fbb8d6dbfc4f | nios2 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/8781bce65e549c3fb7d88b6b70596b0bff1e7594 | nios2 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/2922513fe9e6d759a6a2607648bb892fd3d12163 | sparc | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/f814744bfd6bf9339334c3639d55d739ebc783b9 | arm | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/8639d09fac5aa9ebcb7d607aa6524642fd727c4d | arm | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/1417bbbd18d214dc1bda6705b685bdd605131cca | or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/2f6929f8f61972cbca9717a4eca07a2fd3a809a6 | ORPH powerpc64le | dmraid-1.0.0.rc16-3 | NOK | http://autobuild.buildroot.net/results/7b21b9e9e1a1c4c2e4b564ed006c2459de9ca6ae | ORPH arm | dtc-1.6.1 | NOK | http://autobuild.buildroot.net/results/6788d86c10d551b3d617e33c85083b817eb5d0b2 | nios2 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/32c0ee258d82113cd4a33b4fd58c75877746fb7c | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/9cace3042284b126c96820333a85af7583e396c5 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/f6587e215928952795af838cf0ad2f5b7060ef8d | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/ddc071671c0117ed922b518921335df1d2431820 | ORPH sh4aeb | faad2-2.10.1 | NOK | http://autobuild.buildroot.net/results/357077d53aa0d2fc863e46e7cb1f9ecff8bb86ae | mipsel | fmt-10.1.1 | NOK | http://autobuild.buildroot.net/results/4445452c641d224cb70a232445810e05d3612a0a | m68k | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/fc088b487e9cfabae20d7750a509810009ebbda2 | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/0b9abe6829575e0d9d51fe7d289a85c0c68b8f79 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/a00d2afe37065c2cd796c0cfce7f56ebdffb8894 | armeb | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/c013b957538721513596737da45413a4514d8764 | arceb | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/1106e9351544e55315418f15adde76fe87b66cf3 | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/21fa82cf5dc88b750e0a5c39b1f2d15bdfb887ce | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/5f34de9371494d3504e9a8c50dc35bbfe9fd092b | arm | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/6f5259cd0939f4fcd0ae8c5d9b6c92dcf791b264 | powerpc64 | gnuplot-5.4.9 | NOK | http://autobuild.buildroot.net/results/adce9fb06c68e468f46a671fe2014ce6a73845e9 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/9482d9328685f25bef00ca2cdc96590cce0ec209 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/9a4e8b7db4813486498eaadfcf0fa10b69391434 | nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/9fcf78fd360dcfe5900b971f60785facaddcd8a3 | ORPH s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8d764c69b5431ba23ba786da4881fb03d2bdb474 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/79998f0c4378409a6cf83962d2442c497453b87c | ORPH nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8f3fd45d133146ea6eaa1d46834bc2c4b4232109 | ORPH mips | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/dc44675387265076e4c53524c884e2a912c6869d | i686 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/c8f35d097e86a0753e671826c2d59b308d59bd97 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/2cd2e76dd8a0c54aeccf0dda18befda0b776b1c2 | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/5c0d0cc2618c592dc8b73224c7c00214c9a4eacc | powerpc | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/83cdcaf659e0b50c0947744e99f5f654b8edab70 | xtensa | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/bf44979243dc977449a803169d223e5861beaba2 | i686 | igh-ethercat-f5dc109176400f... | NOK | http://autobuild.buildroot.net/results/aac17535b9c466dc0158fd7756ef26f692580d11 | mips | janus-gateway-1.1.2 | NOK | http://autobuild.buildroot.net/results/a06206c52137a87257791d1755f12b19604ca15c | sh4 | leptonica-1.82.0 | NOK | http://autobuild.buildroot.net/results/85aa6420cebc2f774e14f6a9839ba6355d92265a | sh4eb | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/055ca94ecd7675c3dcda6f46c87d8228dff614ff | aarch64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/128235efb4931a42e83b05858246ac08a3960fc9 | riscv32 | libdill-32d0e8b733416208e04... | NOK | http://autobuild.buildroot.net/results/cca34f3246f238bbfefc7999bdf709c2b41c3d0a | arc | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/0fa80027f8f5b8df92f06a2f9c1f9c793ed48941 | microblazeel | libglvnd-1.4.0 | NOK | http://autobuild.buildroot.net/results/697e2de11b6e8f47ef18d7cef8b7ae479bc6e91f | ORPH aarch64_be | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/3cb05b4939eb7d1ce0460088c365402ffcd6b13b | mips64el | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/b5359817ae62f3a1c1206c20747e81d9d4e3e54d | mips64 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/d1919685340a3d0c437a8ddd4ff68a1759fb6a87 | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/19bfe32a104c1e77cc8ff605a49ebfd6475703c3 | ORPH microblazeel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/729623d8e26b9ee6424b979bb560df349c45ffcc | ORPH i686 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/547dc3b3eedadd19d2324fbbb41d922515a67006 | ORPH mipsel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/a76fa1c981acb7c1dee591fd4440d4243424f6ef | ORPH microblaze | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/2b989ba012c1eea1a81a3810acf0a38ad312c4e1 | powerpc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/5402f59476f6d4f6dbe2fbc21402b274d4800d57 | nios2 | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/ff9e61b8d801cabcc599efb99f2cde762b3631ac | or1k | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/46947abf859b3735a4e8c77d5b67c10809a9971f | powerpc64le | network-manager-1.42.0 | NOK | http://autobuild.buildroot.net/results/361e4f3f3a6ed5e43704fb75b89474cd2ef8a8ef | ORPH x86_64 | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/582a8884e52df47536b7536e697c12c057bbc686 | aarch64_be | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/b3e79906db04cfd5b275fbc02834297c076e1899 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/af787327358e9c180c3ab967f64426b8b1a10dd4 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7591af3b537301f69afb3d429fc45567b71455da | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/61e5f9b1eacf79efeac117100c785117ac41abc8 | sh4eb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cdf2448fe9c8c3a2b52d9083a9f7d74e1f8f1514 | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/0a337eec99c4a5d56d882011cab385545f39d65c | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/fab41ce1ed7b793fa753d024f7d608846aa61d65 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6beae5aa1f196acd695e404283b4260e016ea87b | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a9d148aa7939a91b98715ffe29c045ec06b16648 | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3dbee9b3bf533e75564f0da4aeb8fdf4b9a89585 | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ec2f4628de5868bf671787fca13c2a6cf842c819 | powerpc64le | pound-4.8 | NOK | http://autobuild.buildroot.net/results/973aa40406e8b800a27517ed60c5427d6b243d1b | ORPH nios2 | powertop-2.15 | NOK | http://autobuild.buildroot.net/results/b4e057c4ef4309332be8c7d3532c6d7883efb6ba | powerpc64le | powertop-2.15 | NOK | http://autobuild.buildroot.net/results/cf39e3e3681e3ea4c43e6a0ca0c1d892b4f31d2b | armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/0396bb9f55ae760e2dfb0b23504dd196c0df8a13 | ORPH mipsel | python-bcrypt-4.0.1 | NOK | http://autobuild.buildroot.net/results/28d21448197758f01a719643706e84b66d0e27bc | mipsel | python-cryptography-39.0.2 | NOK | http://autobuild.buildroot.net/results/3d799d7e009e1face77d95ef359746742039a0fa | riscv64 | reproc-14.2.4 | NOK | http://autobuild.buildroot.net/results/5ad039f03c958c5b0e007d3d9ae985c561ac77b9 | s390x | rwmem-c8291705c82bb0686be9a... | NOK | http://autobuild.buildroot.net/results/a3630a00145a1e9f463a030f02a1345235c77e13 | ORPH mips64el | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/dc5c9e7be63f43e4584f8fce47fb23bc8c24e3c9 | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5178a7a56ceda955dad045622ea841504a9aa900 | ORPH armeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/cbd381b0d2a7c2d56a51725437cdaa1b7ba7d7a2 | ORPH arceb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/aff5b968342bf05f036c8e1e557c404060345d30 | ORPH microblazeel | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/ac5dff3e9ff4acd542fb753731a76eadfb18f767 | ORPH i686 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/6ae10c106e96a206a462c6f228f1aa51edbce137 | ORPH nios2 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/5d658cc58fda2768611cf9abb3faff8b83aaf75a | ORPH mips64el | tar-1.35 | NOK | http://autobuild.buildroot.net/results/6826441ee994efd75a16c3b51d691ba64d951c06 | ORPH x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/f5df3ae8d83c55b536e37f3482c3113aea2c0c6f | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/df7263c1eb47bcd3199d819e85dc784c100983a4 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/6814a808d969aa00962b6206fd0012d2e25c6d06 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/ae058ba92129e453c3e5d8f7c02c1b0a6858e96b | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/264bf9ec060e9a3d4c4d8b9a849a696f30869b64 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/5d6e0da13f1c8084b180baab3958c914b2d614b7 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/c989fc58eab51ae455bb46e874d58d9c086c7a0e | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/475ad58563d1f0f0bcd4c26464c11e80999893bb | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/eea900741febdb3a0a3c674642727855e64c1069 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/ee535286fd925c57816fc9f96e6bb40d6fed32cf | arm | unknown | NOK | http://autobuild.buildroot.net/results/11fa2f74a5a9dcfebf9ed3df4318324af84961d8 | powerpc | volk-3.0.0 | NOK | http://autobuild.buildroot.net/results/ace89dc6e3bcf3833dd2c70851d1f1b66b7f6636 | microblazeel | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/6393fb13b7a5625ac93d1690bca0d86523b7b377 | powerpc | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/6de913935cff60992456b53baf13a4af3ff07118 | nios2 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/59ea3849163f3c415cfb7d85099f6494c8f93fd1 | sh4a | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/218227e5c427d81ca9aaa5d8b32b50e7b25d249d | arm | xtables-addons-3.22 | NOK | http://autobuild.buildroot.net/results/df68ea0fab258e4f3a8c5bdaa3dfd5f8613ffcdd | ORPH arm | zxing-cpp-2.1.0 | NOK | http://autobuild.buildroot.net/results/13b104287040cca4ec56f410cf90103f95e500ab | Classification of failures by reason for 2023.02.x -------------------------------------------------- unknown | 2 elfutils-0.186 | 1 fontconfig-2.13.1 | 1 gobject-introspection-1.72.0 | 1 host-rust-1.67.1 | 1 libdill-32d0e8b733416208e04... | 1 linux-5.10.162-cip24 | 1 linux-6.1.55 | 1 rocksdb-6.20.3 | 1 valgrind-3.19.0 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/516f2998641c061f87ec92b844b80e2a2b8b5e84 | ORPH riscv64 | fontconfig-2.13.1 | NOK | http://autobuild.buildroot.net/results/9ec29983a0ff5aaa62fa710f77bb655c3f90fe98 | ORPH powerpc64le | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/a6afa3f1c330a4b1916d24420c357d9183535ade | ORPH sparc64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/d94f4b08c35a33e8f9b09613fe6743882d294b9a | riscv32 | libdill-32d0e8b733416208e04... | NOK | http://autobuild.buildroot.net/results/4596e254f538e04249e250635f2563572a7391d7 | mips | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/6f66235afb766c8211dc707ad385344d457bd6b1 | ORPH mips64 | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/41b47a65ec7ddc12ac4dc2b2f8e8dcee20c6a895 | ORPH powerpc64 | rocksdb-6.20.3 | NOK | http://autobuild.buildroot.net/results/7a3353fd478f3b9eac8c495833530be96fe638fc | arc | unknown | NOK | http://autobuild.buildroot.net/results/4ebd1c9c114e1f300997571ecb481f557d82dbf3 | i586 | unknown | NOK | http://autobuild.buildroot.net/results/e13c34a9535e3649adc705c1101fecbf09b73d77 | mipsel | valgrind-3.19.0 | NOK | http://autobuild.buildroot.net/results/4b7c407ee9f686d1082e55f9631455033907ddb4 | ORPH mips64el | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/0e07a4dc7a1a59d000229c2b72ce185c2a8c1db4 | Classification of failures by reason for 2023.08.x -------------------------------------------------- host-sentry-cli-2.8.0 | 2 unknown | 2 batman-adv-2022.3 | 1 conmon-2.1.8 | 1 coreutils-9.3 | 1 elfutils-0.189 | 1 gobject-introspection-1.76.1 | 1 host-go-1.20.8 | 1 linux-6.4.16 | 1 ltp-testsuite-20230127 | 1 perl-5.36.1 | 1 php-8.2.11 | 1 python-cryptography-39.0.2 | 1 python-stack-data-0.6.2 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- i686 | batman-adv-2022.3 | NOK | http://autobuild.buildroot.net/results/c753ab70abe4289df975bba11f0fea5abf8a87d4 | aarch64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/717a696904546759d5a4c368d5442a1fac73621c | arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/b0d6b24d1fcd09e9b5461a67f94d6df6f24b6624 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/a68a9bbfb23158eda5ba7419d819a43e38fdc342 | ORPH mipsel | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/48b594637ffb613b8a3c3a75531ecb1fcc60f92d | ORPH mips64 | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/6d95870c1d02fc5bba466535bfcf85fa94eec0a9 | xtensa | host-sentry-cli-2.8.0 | NOK | http://autobuild.buildroot.net/results/265f324e3ab9254d47aca5be4a3a3a1f3ce6c56b | mips64el | host-sentry-cli-2.8.0 | NOK | http://autobuild.buildroot.net/results/b5da017faf209d5b726c380d917b766ee2eb470e | mips | linux-6.4.16 | NOK | http://autobuild.buildroot.net/results/8dc4546ec2f79bd6bd37457adc17279d7f88a5e3 | ORPH or1k | ltp-testsuite-20230127 | NOK | http://autobuild.buildroot.net/results/c406df59d8c6225d77ce7a80d48d8e0386683f43 | arm | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/b9268857d905084eda9bd17e5efd0c69eb07e075 | or1k | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/40232d115edffad1da8b781f72004851fa5027ad | mips | python-cryptography-39.0.2 | NOK | http://autobuild.buildroot.net/results/556476521a89858f91892e65a7ce859efd4c6e01 | arm | python-stack-data-0.6.2 | NOK | http://autobuild.buildroot.net/results/f3aecce82feee2f5aa28e81439e433584ee57a8b | s390x | unknown | NOK | http://autobuild.buildroot.net/results/6d928640ed5583f491c4a75bea51bcee0f90d2d0 | m68k | unknown | NOK | http://autobuild.buildroot.net/results/1cc9b4fa681d067e105540cd0ee0efe9e71cae8c | Gitlab CI results for 2023-10-02 ================================ Detail of runtime-test failures for master ------------------------------------------ runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestIPythonPy3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302375 | ORPH TestLuaLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302396 | ORPH TestLuaLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302413 | ORPH TestLuajitLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302397 | ORPH TestLuajitLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302416 | ORPH TestOla | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302575 | ORPH TestPolkitInitd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302661 | ORPH TestPolkitSystemd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302665 | ORPH TestPythonPahoMQTT | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302843 | ORPH TestPythonPy3Construct | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302728 | ORPH TestPythonPy3Dicttoxml2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302760 | ORPH TestPythonPy3Dtschema | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302774 | ORPH TestPythonPy3Hkdf | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302816 | ORPH TestPythonPy3Mako | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302828 | ORPH TestPythonPy3MakoExt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302832 | ORPH TestPythonPy3Passlib | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302848 | ORPH TestPythonPy3Pynacl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302857 | ORPH TestPythonPy3Pysmb | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302860 | ORPH TestPythonPy3Pyyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302864 | ORPH TestPythonPy3RSA | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302870 | ORPH TestPythonPy3SciPy | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302877 | ORPH TestPythonPy3Spake2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302891 | ORPH TestStressNG | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302928 | ORPH TestZfsGlibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302966 | ORPH TestZfsMusl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302971 | ORPH TestZfsUclibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302977 | ORPH -- http://autobuild.buildroot.net From bernd at kuhls.net Tue Oct 3 07:15:36 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 09:15:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.1 Message-ID: <20231003071536.297478-1-bernd@kuhls.net> Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: https://exim.org/static/doc/security/CVE-2023-zdi.txt Signed-off-by: Bernd Kuhls --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 2336aaa5c6..6cdeea0614 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 299a56927b2eb3477daafd3c5bda02bc67e5c4e5898a7aeaf2740875278cf1a3 exim-4.96.tar.xz +sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 6b863661465a0b9897c1b71875c5196a1903cf560dd85de45b08242b9731edb2bc10eb56945d62e477e5d15cc7a8d493915bff2ca81689673a8091c66f62c89e exim-4.96.tar.xz +sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index b84a51d6de..f5695d048d 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96 +EXIM_VERSION = 4.96.1 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ -- 2.39.2 From luca.ceresoli at bootlin.com Tue Oct 3 07:15:39 2023 From: luca.ceresoli at bootlin.com (Luca Ceresoli) Date: Tue, 3 Oct 2023 09:15:39 +0200 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> <877co67fgz.fsf@48ers.dk> Message-ID: <20231003091539.5e26d558@booty> Hi Neal, Peter, On Sun, 1 Oct 2023 16:11:23 +0000 "Frager, Neal" wrote: > Hello Peter, > > >>> Is this ok for both of you? > >> > >> I'm OK with the whole approach, except for the sentence "I do not >> believe there is currently any organized effort to upstream any of >> these patches"... which is probably already clear to the recipients >> of this message, and thus is not going to be solved in this thread, >> however I just want to be sure my position is clear. I'd also like to >> stress that I appreciate a lot the work you are doing to properly >> support the pmufw in Buildroot. Thanks! > >> > >> Luca > > > Your position is very clear. And I can assure you that both Ibai and I agree with it. > > > It would be much better if all of these binutils and gcc patches for > microblaze go upstream, and both Ibai and I have pushed for it > internally at AMD / Xilinx. > > > The only thing I can say is that change is always possible. > > Yesterday, we could not build a zynqmp pmufw, versal plm or versal > psmfw in buildroot. Today, we have submitted a solution to change > that. > > > Tomorrow (figurative meaning the future), we hope to get all these > binutils and gcc patches upstream, so the upstream toolchain matches > the AMD Xilinx distributed toolchain. > > > One step at a time. > > > Sure! Sorry, I am somewhat late to the review game here. I wonder how this fits with Luca's zynqmp-pmufw-builder? > > From my view, we can continue maintaining Luca's zynqmp-pmufw-builder in parallel. Buildroot will still offer the option to accept a pre-built pmufw binary without needing to build a microblaze toolchain, so if users prefer to build the pmufw outside of buildroot (to have a faster buildroot build perhaps), this capability will still be available. As Neal wrote, if/when Buildroot will be able to build a pmufw on its own (with the proposed approach, or a downloaded toolchain, or both), zynqmp-pmufw-builder can continue existing even though the use cases for it will be reduced. I have no plan to stop maintaining it for the foreseeable future. > > E.G. today the setup is that the pmufw is built outside Buildroot and we just point the u-boot package to where it can fetch the prebuilt firmware binary - This is nice in the sense that it is fast and simple, but makes is somewhat annoying to make modifications to the firmware. > > > This series instead goes to the other extreme, E.G. we build the entire microblaze toolchain from scratch and then use it to build the firmware and use it in the u-boot package - This is nice because it is all in Buildroot and we have it all under control, but also brings quite some build time overhead for building the toolchain before building the > (small) toolchain. You can naturally "solve" it by using two defconfigs, E.G. one that builds the pmufw and another that uses the prebuilt one, but it isn't very handy either. I think the approach taken here by Neal and Ibai is valuable, especially as it would allow Buildroot defconfigs to be self-standing. Additionally it is already proving useful as it prompted "the community" (mostly Neal -- thanks about that) to upstream patches needed to support Microblaze in binutils and gcc, that are currently downstream. > > Would an in between option not be more interesting, E.G. use (or > download) a prebuilt microblaze toolchain and use that to build the firmware? That would still give the flexibility to easily tweak the firmware, but not the overhead of building the toolchain every time? > > > I guess the problems with that are what to do about the meta-xilinx patches and where/who wants to host a prebuilt one? > > This is a good point. As for the meta-xilinx patches, Ibai and I have started going through them and have even started upstreaming a few. The majority of the meta-xilinx patches are actually for enabling 64-bit microblaze support, which is not available in the upstream gnu binutils or gcc. Since we do not need 64-bit microblaze for the zynqmp pmufw or the versal plm and psmfw applications, we can easily skip these patches. > > Our current objective is to get all microblaze 32-bit bug fix and feature support patches (such as the barrel shift instructions used by the pmufw) upstreamed. Since this appears to be a small subset of the overall meta-xilinx patches, we hope to be able to enable the use of the upstream gnu binutils and gcc, so that the meta-xilinx patches will no longer be needed for our use case of building the zynqmp pmufw, versal plm and versal psmfw applications. > > However, in order to achieve what you are asking for, we would still need someone to host a pre-built microblaze compiler somewhere, if we would want to go this route. At the moment, it is not in the AMD Xilinx plan to host the toolchains somewhere outside of a Petalinux or Vitis download. > > If the upstream toolchain included all the necessary meta-xilinx patches, could bootlin potentially host a pre-built toolchain somewhere? I fyou are thinking about toolchains.bootlin.com, I am not the maintainer of those toolchains but I think the idea is to only have Linux toolchains there, not bare metal ones, thus newlib is not supported. Also I'm pretty sure downstream feature patches are absolutely not welcome there. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From bernd at kuhls.net Tue Oct 3 07:17:41 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 09:17:41 +0200 Subject: [Buildroot] [PATCH 1/2] package/kodi-pvr-hts: bump version to 20.6.3-Nexus Message-ID: <20231003071742.300900-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-hts/kodi-pvr-hts.hash | 2 +- package/kodi-pvr-hts/kodi-pvr-hts.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-hts/kodi-pvr-hts.hash b/package/kodi-pvr-hts/kodi-pvr-hts.hash index 7b55eb88fd..c9fe1cfe6a 100644 --- a/package/kodi-pvr-hts/kodi-pvr-hts.hash +++ b/package/kodi-pvr-hts/kodi-pvr-hts.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 e77bd87f1f4d1abc06e32d0347a0bb635bc129bec43a07864cb8a9e6b0e4d374 kodi-pvr-hts-20.6.2-Nexus.tar.gz +sha256 8febdacb795eb724456f88af5c55a6e0a5393447f673b2be72d1ca9276479cdd kodi-pvr-hts-20.6.3-Nexus.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-hts/kodi-pvr-hts.mk b/package/kodi-pvr-hts/kodi-pvr-hts.mk index d32ce87388..04de82dc64 100644 --- a/package/kodi-pvr-hts/kodi-pvr-hts.mk +++ b/package/kodi-pvr-hts/kodi-pvr-hts.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_HTS_VERSION = 20.6.2-Nexus +KODI_PVR_HTS_VERSION = 20.6.3-Nexus KODI_PVR_HTS_SITE = $(call github,kodi-pvr,pvr.hts,$(KODI_PVR_HTS_VERSION)) KODI_PVR_HTS_LICENSE = GPL-2.0+ KODI_PVR_HTS_LICENSE_FILES = LICENSE.md -- 2.39.2 From bernd at kuhls.net Tue Oct 3 07:17:42 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 09:17:42 +0200 Subject: [Buildroot] [PATCH 2/2] package/kodi-pvr-waipu: bump version to 20.10.1-Nexus In-Reply-To: <20231003071742.300900-1-bernd@kuhls.net> References: <20231003071742.300900-1-bernd@kuhls.net> Message-ID: <20231003071742.300900-2-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index d025beaa3b..37e4ca95e2 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 740f96e68c6c33cba18e482f90ff377e412f1bc2bb09313d342f783794da792f kodi-pvr-waipu-20.10.0-Nexus.tar.gz +sha256 8f55056838798c6dc39ce1cd611553b65150f6d628e9b3d201d472e93aecf289 kodi-pvr-waipu-20.10.1-Nexus.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 53e3f716d7..e7ec7d6555 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 20.10.0-Nexus +KODI_PVR_WAIPU_VERSION = 20.10.1-Nexus KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt -- 2.39.2 From bernd at kuhls.net Tue Oct 3 07:33:03 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 09:33:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-firmware: bump version to 20230919 Message-ID: <20231003073303.305988-1-bernd@kuhls.net> Updated license hash due to various commits: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/WHENCE Signed-off-by: Bernd Kuhls --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- package/kodi/kodi.hash | 8 ++++---- package/kodi/kodi.mk | 2 +- package/linux-firmware/linux-firmware.hash | 4 ++-- package/linux-firmware/linux-firmware.mk | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index 4e2c72ec65..a97e340733 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 c39923af8e3473cd80f7daedfcc1790d63111b55f1786606a843f89bf88b84d6 kodi-pvr-waipu-21.4.0-Omega.tar.gz +sha256 d336d154ee3e571d1b990dd7077587602595bedcc78ccb98ac6ed420a0fb3b96 kodi-pvr-waipu-21.4.1-Omega.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 4fdc3dedd1..8b194e45d4 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 21.4.0-Omega +KODI_PVR_WAIPU_VERSION = 21.4.1-Omega KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt diff --git a/package/kodi/kodi.hash b/package/kodi/kodi.hash index e5a47f9036..7b08344456 100644 --- a/package/kodi/kodi.hash +++ b/package/kodi/kodi.hash @@ -1,7 +1,7 @@ # Locally computed sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz -sha256 d03792719f61a702da8b33ecb145f469ac0a7ba4de7ee8fe475e4a120449eba8 kodi-e7a7395af00cb3f78fe503ae19c921bad0b31a7d.tar.gz -sha256 f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e kodi-libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz -sha256 584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc kodi-libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz -sha256 719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62 kodi-libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz sha256 9d2396ef3e091d3b82bc84143e070700412984e8589513570f54e0675d1e8851 LICENSE.md diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index 43bda54f0b..4e998635e7 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -8,7 +8,7 @@ # and kodi-texturepacker KODI_VERSION_MAJOR = 21.0a3 KODI_VERSION_NAME = Omega -KODI_VERSION = e7a7395af00cb3f78fe503ae19c921bad0b31a7d +KODI_VERSION = 21.0a3-Omega KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION)) KODI_LICENSE = GPL-2.0 KODI_LICENSE_FILES = LICENSE.md diff --git a/package/linux-firmware/linux-firmware.hash b/package/linux-firmware/linux-firmware.hash index 31bbfddfaa..d33215ecd1 100644 --- a/package/linux-firmware/linux-firmware.hash +++ b/package/linux-firmware/linux-firmware.hash @@ -1,5 +1,5 @@ # From https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/sha256sums.asc -sha256 88d46c543847ee3b03404d4941d91c92974690ee1f6fdcbee9cef3e5f97db688 linux-firmware-20230804.tar.xz +sha256 97fada0d02bdafc4e017a4dcc456e7fa48bc8daf2ddf75161f39a92e38f084ad linux-firmware-20230919.tar.xz # Hash for license files sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis @@ -36,6 +36,6 @@ sha256 8542aeabf2761935122d693561e16766ce1bcc2b0d003204f9040b7d6d929f2e LICENS sha256 be904cd28cb292b80cdb6cf412ab0d9159d431671e987ad433c1f62e0988a9bc LICENSE.qcom sha256 fc6223d4bfe9f2f9e2eddc44b9fe5721d0caf49f01cb08d602906add686d8c6f LICENSE.radeon sha256 2bdd2e716f05d9737d3f9a20f9a3a3c0caee0e866100ddb0673f1178e42f92b9 LICENSE.sdma_firmware -sha256 0f87f8f67de39828d8e59c69369f850e0a80de638795e22ddfdd1f7f31cdf889 WHENCE +sha256 960bbc08cdd5f505b05645947360461aa5a62fe56c97f5ffbae064ca33a922ec WHENCE sha256 fa43e1b9a13b341a07adca9dbe73d0f9072d7966fdfe811c01f0dd2872d7309a qcom/NOTICE.txt sha256 bef9c828e84f21e7835b4de7daf954a327e1ff777871b58e116039b684c0d604 LICENCE.e100 diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 0cd1f30c16..6f15ff7400 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -4,7 +4,7 @@ # ################################################################################ -LINUX_FIRMWARE_VERSION = 20230804 +LINUX_FIRMWARE_VERSION = 20230919 LINUX_FIRMWARE_SOURCE = linux-firmware-$(LINUX_FIRMWARE_VERSION).tar.xz LINUX_FIRMWARE_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/firmware LINUX_FIRMWARE_INSTALL_IMAGES = YES -- 2.39.2 From baruch at tkos.co.il Tue Oct 3 07:58:39 2023 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 03 Oct 2023 10:58:39 +0300 Subject: [Buildroot] [PATCH 1/1] package/linux-firmware: bump version to 20230919 In-Reply-To: <20231003073303.305988-1-bernd@kuhls.net> References: <20231003073303.305988-1-bernd@kuhls.net> Message-ID: <87edicdtmc.fsf@tarshish> Hi Bernd, On Tue, Oct 03 2023, Bernd Kuhls wrote: > Updated license hash due to various commits: > https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/WHENCE > > Signed-off-by: Bernd Kuhls > --- > package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- > package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- > package/kodi/kodi.hash | 8 ++++---- > package/kodi/kodi.mk | 2 +- These changes look unrelated. baruch > package/linux-firmware/linux-firmware.hash | 4 ++-- > package/linux-firmware/linux-firmware.mk | 2 +- > 6 files changed, 10 insertions(+), 10 deletions(-) > > diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > index 4e2c72ec65..a97e340733 100644 > --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 c39923af8e3473cd80f7daedfcc1790d63111b55f1786606a843f89bf88b84d6 kodi-pvr-waipu-21.4.0-Omega.tar.gz > +sha256 d336d154ee3e571d1b990dd7077587602595bedcc78ccb98ac6ed420a0fb3b96 kodi-pvr-waipu-21.4.1-Omega.tar.gz > sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt > diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > index 4fdc3dedd1..8b194e45d4 100644 > --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KODI_PVR_WAIPU_VERSION = 21.4.0-Omega > +KODI_PVR_WAIPU_VERSION = 21.4.1-Omega > KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) > KODI_PVR_WAIPU_LICENSE = GPL-2.0+ > KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt > diff --git a/package/kodi/kodi.hash b/package/kodi/kodi.hash > index e5a47f9036..7b08344456 100644 > --- a/package/kodi/kodi.hash > +++ b/package/kodi/kodi.hash > @@ -1,7 +1,7 @@ > # Locally computed > sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > -sha256 d03792719f61a702da8b33ecb145f469ac0a7ba4de7ee8fe475e4a120449eba8 > kodi-e7a7395af00cb3f78fe503ae19c921bad0b31a7d.tar.gz > -sha256 f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e > kodi-libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz > -sha256 584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc > kodi-libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz > -sha256 719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62 > kodi-libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz > +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > +sha256 1b4e1ef18a53897667e4a26122f82fc7a196952a3377868afe036cb9ed27571d kodi-21.0a3-Omega.tar.gz > sha256 9d2396ef3e091d3b82bc84143e070700412984e8589513570f54e0675d1e8851 LICENSE.md > diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk > index 43bda54f0b..4e998635e7 100644 > --- a/package/kodi/kodi.mk > +++ b/package/kodi/kodi.mk > @@ -8,7 +8,7 @@ > # and kodi-texturepacker > KODI_VERSION_MAJOR = 21.0a3 > KODI_VERSION_NAME = Omega > -KODI_VERSION = e7a7395af00cb3f78fe503ae19c921bad0b31a7d > +KODI_VERSION = 21.0a3-Omega > KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION)) > KODI_LICENSE = GPL-2.0 > KODI_LICENSE_FILES = LICENSE.md > diff --git a/package/linux-firmware/linux-firmware.hash b/package/linux-firmware/linux-firmware.hash > index 31bbfddfaa..d33215ecd1 100644 > --- a/package/linux-firmware/linux-firmware.hash > +++ b/package/linux-firmware/linux-firmware.hash > @@ -1,5 +1,5 @@ > # From https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/sha256sums.asc > -sha256 88d46c543847ee3b03404d4941d91c92974690ee1f6fdcbee9cef3e5f97db688 linux-firmware-20230804.tar.xz > +sha256 97fada0d02bdafc4e017a4dcc456e7fa48bc8daf2ddf75161f39a92e38f084ad linux-firmware-20230919.tar.xz > > # Hash for license files > sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis > @@ -36,6 +36,6 @@ sha256 8542aeabf2761935122d693561e16766ce1bcc2b0d003204f9040b7d6d929f2e LICENS > sha256 be904cd28cb292b80cdb6cf412ab0d9159d431671e987ad433c1f62e0988a9bc LICENSE.qcom > sha256 fc6223d4bfe9f2f9e2eddc44b9fe5721d0caf49f01cb08d602906add686d8c6f LICENSE.radeon > sha256 2bdd2e716f05d9737d3f9a20f9a3a3c0caee0e866100ddb0673f1178e42f92b9 LICENSE.sdma_firmware > -sha256 0f87f8f67de39828d8e59c69369f850e0a80de638795e22ddfdd1f7f31cdf889 WHENCE > +sha256 960bbc08cdd5f505b05645947360461aa5a62fe56c97f5ffbae064ca33a922ec WHENCE > sha256 fa43e1b9a13b341a07adca9dbe73d0f9072d7966fdfe811c01f0dd2872d7309a qcom/NOTICE.txt > sha256 bef9c828e84f21e7835b4de7daf954a327e1ff777871b58e116039b684c0d604 LICENCE.e100 > diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk > index 0cd1f30c16..6f15ff7400 100644 > --- a/package/linux-firmware/linux-firmware.mk > +++ b/package/linux-firmware/linux-firmware.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LINUX_FIRMWARE_VERSION = 20230804 > +LINUX_FIRMWARE_VERSION = 20230919 > LINUX_FIRMWARE_SOURCE = linux-firmware-$(LINUX_FIRMWARE_VERSION).tar.xz > LINUX_FIRMWARE_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/firmware > LINUX_FIRMWARE_INSTALL_IMAGES = YES -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From bernd at kuhls.net Tue Oct 3 09:15:19 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 11:15:19 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/linux-firmware: bump version to 20230919 Message-ID: <20231003091519.4709-1-bernd@kuhls.net> Updated license hash due to various commits: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/WHENCE Signed-off-by: Bernd Kuhls --- v2: removed unrelated parts (Baruch) package/linux-firmware/linux-firmware.hash | 4 ++-- package/linux-firmware/linux-firmware.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/linux-firmware/linux-firmware.hash b/package/linux-firmware/linux-firmware.hash index 31bbfddfaa..d33215ecd1 100644 --- a/package/linux-firmware/linux-firmware.hash +++ b/package/linux-firmware/linux-firmware.hash @@ -1,5 +1,5 @@ # From https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/sha256sums.asc -sha256 88d46c543847ee3b03404d4941d91c92974690ee1f6fdcbee9cef3e5f97db688 linux-firmware-20230804.tar.xz +sha256 97fada0d02bdafc4e017a4dcc456e7fa48bc8daf2ddf75161f39a92e38f084ad linux-firmware-20230919.tar.xz # Hash for license files sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis @@ -36,6 +36,6 @@ sha256 8542aeabf2761935122d693561e16766ce1bcc2b0d003204f9040b7d6d929f2e LICENS sha256 be904cd28cb292b80cdb6cf412ab0d9159d431671e987ad433c1f62e0988a9bc LICENSE.qcom sha256 fc6223d4bfe9f2f9e2eddc44b9fe5721d0caf49f01cb08d602906add686d8c6f LICENSE.radeon sha256 2bdd2e716f05d9737d3f9a20f9a3a3c0caee0e866100ddb0673f1178e42f92b9 LICENSE.sdma_firmware -sha256 0f87f8f67de39828d8e59c69369f850e0a80de638795e22ddfdd1f7f31cdf889 WHENCE +sha256 960bbc08cdd5f505b05645947360461aa5a62fe56c97f5ffbae064ca33a922ec WHENCE sha256 fa43e1b9a13b341a07adca9dbe73d0f9072d7966fdfe811c01f0dd2872d7309a qcom/NOTICE.txt sha256 bef9c828e84f21e7835b4de7daf954a327e1ff777871b58e116039b684c0d604 LICENCE.e100 diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 0cd1f30c16..6f15ff7400 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -4,7 +4,7 @@ # ################################################################################ -LINUX_FIRMWARE_VERSION = 20230804 +LINUX_FIRMWARE_VERSION = 20230919 LINUX_FIRMWARE_SOURCE = linux-firmware-$(LINUX_FIRMWARE_VERSION).tar.xz LINUX_FIRMWARE_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/firmware LINUX_FIRMWARE_INSTALL_IMAGES = YES -- 2.39.2 From julien.boibessot at armadeus.com Tue Oct 3 09:36:45 2023 From: julien.boibessot at armadeus.com (julien.boibessot at armadeus.com) Date: Tue, 03 Oct 2023 11:36:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltris: bump to version 1.2.7 In-Reply-To: References: <20231002135147.2707988-1-julien.boibessot@armadeus.com> Message-ID: <4b75128a7a53e2fed27a1799f97a7828@armadeus.com> Hello Fabrice, Thanks for the feedback ! Le 2023-10-02 15:55, Fabrice Fontaine a ?crit : > Hello Julien, > > Le lun. 2 oct. 2023 ? 15:52, Julien BOIBESSOT > a ?crit : > >> Latest release. Asked by autobuild.buildroot.net. >> Remove integrated fix. > > You forgot to update .checkpackageignore > Oups, I've missed that feature in BR. Am I supposed to remove file entry in this file and that's it ? Best regards, Julien >> Signed-off-by: Julien BOIBESSOT >> --- >> .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- >> package/ltris/ltris.hash | 2 +- >> package/ltris/ltris.mk | 2 +- >> 3 files changed, 2 insertions(+), 22 deletions(-) >> delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch >> >> diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch >> b/package/ltris/0001-fix-build-with-gcc-4.8.patch >> deleted file mode 100644 >> index d6bbf6a946..0000000000 >> --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch >> +++ /dev/null >> @@ -1,20 +0,0 @@ >> -Fix build with gcc 4.8 >> - >> -Signed-off-by: Fabrice Fontaine >> -[Upstream status: https://sourceforge.net/p/lgames/patches/28] >> -Index: ltris/src/bowl.c >> -=================================================================== >> ---- ltris/src/bowl.c (r?vision 421) >> -+++ ltris/src/bowl.c (copie de travail) >> -@@ -828,9 +828,10 @@ >> - */ >> - void bowl_init_block_masks() >> - { >> -+ int i; >> - int masksize = sizeof(block_masks[0].mask); // same for all >> - >> -- for (int i = 0; i < 7; i++) { >> -+ for (i = 0; i < 7; i++) { >> - block_masks[i].rx = 2; >> - block_masks[i].ry = 2; >> - memset(block_masks[i].mask, 0, masksize ); >> diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash >> index f696e3af17..abe6853d9b 100644 >> --- a/package/ltris/ltris.hash >> +++ b/package/ltris/ltris.hash >> @@ -1,3 +1,3 @@ >> # Locally computed: >> -sha256 >> a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 >> ltris-1.2.tar.gz >> +sha256 >> 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 >> ltris-1.2.7.tar.gz >> sha256 >> 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 >> COPYING >> diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk >> index 9b59613417..98902de44c 100644 >> --- a/package/ltris/ltris.mk >> +++ b/package/ltris/ltris.mk >> @@ -5,7 +5,7 @@ >> ################################################################################ >> >> LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris >> -LTRIS_VERSION = 1.2 >> +LTRIS_VERSION = 1.2.7 >> LTRIS_LICENSE = GPL-2.0+ >> LTRIS_LICENSE_FILES = COPYING >> >> -- >> 2.25.1 > > Best Regards, > > Fabrice From fontaine.fabrice at gmail.com Tue Oct 3 09:40:58 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 3 Oct 2023 11:40:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/ltris: bump to version 1.2.7 In-Reply-To: <4b75128a7a53e2fed27a1799f97a7828@armadeus.com> References: <20231002135147.2707988-1-julien.boibessot@armadeus.com> <4b75128a7a53e2fed27a1799f97a7828@armadeus.com> Message-ID: Hello Julien, Le mar. 3 oct. 2023 ? 11:36, a ?crit : > Hello Fabrice, > > Thanks for the feedback ! > > Le 2023-10-02 15:55, Fabrice Fontaine a ?crit : > > > Hello Julien, > > > > Le lun. 2 oct. 2023 ? 15:52, Julien BOIBESSOT > > a ?crit : > > > >> Latest release. Asked by autobuild.buildroot.net. > >> Remove integrated fix. > > > > You forgot to update .checkpackageignore > > > > Oups, I've missed that feature in BR. Am I supposed to remove file entry > in this file and that's it ? > Yes, just remove the entry. > > Best regards, > > Julien > > >> Signed-off-by: Julien BOIBESSOT > >> --- > >> .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- > >> package/ltris/ltris.hash | 2 +- > >> package/ltris/ltris.mk | 2 +- > >> 3 files changed, 2 insertions(+), 22 deletions(-) > >> delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch > >> > >> diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch > >> b/package/ltris/0001-fix-build-with-gcc-4.8.patch > >> deleted file mode 100644 > >> index d6bbf6a946..0000000000 > >> --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch > >> +++ /dev/null > >> @@ -1,20 +0,0 @@ > >> -Fix build with gcc 4.8 > >> - > >> -Signed-off-by: Fabrice Fontaine > >> -[Upstream status: https://sourceforge.net/p/lgames/patches/28] > >> -Index: ltris/src/bowl.c > >> -=================================================================== > >> ---- ltris/src/bowl.c (r?vision 421) > >> -+++ ltris/src/bowl.c (copie de travail) > >> -@@ -828,9 +828,10 @@ > >> - */ > >> - void bowl_init_block_masks() > >> - { > >> -+ int i; > >> - int masksize = sizeof(block_masks[0].mask); // same for all > >> - > >> -- for (int i = 0; i < 7; i++) { > >> -+ for (i = 0; i < 7; i++) { > >> - block_masks[i].rx = 2; > >> - block_masks[i].ry = 2; > >> - memset(block_masks[i].mask, 0, masksize ); > >> diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash > >> index f696e3af17..abe6853d9b 100644 > >> --- a/package/ltris/ltris.hash > >> +++ b/package/ltris/ltris.hash > >> @@ -1,3 +1,3 @@ > >> # Locally computed: > >> -sha256 > >> a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 > >> ltris-1.2.tar.gz > >> +sha256 > >> 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 > >> ltris-1.2.7.tar.gz > >> sha256 > >> 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 > >> COPYING > >> diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk > >> index 9b59613417..98902de44c 100644 > >> --- a/package/ltris/ltris.mk > >> +++ b/package/ltris/ltris.mk > >> @@ -5,7 +5,7 @@ > >> > ################################################################################ > >> > >> LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris > >> -LTRIS_VERSION = 1.2 > >> +LTRIS_VERSION = 1.2.7 > >> LTRIS_LICENSE = GPL-2.0+ > >> LTRIS_LICENSE_FILES = COPYING > >> > >> -- > >> 2.25.1 > > > > Best Regards, > > > > Fabrice > Best Regards, Fabrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From enki at fsck.pl Tue Oct 3 09:44:57 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:44:57 +0200 Subject: [Buildroot] [PATCH 0/3] Support for D-Link DNS-320L Message-ID: <20231003094501.61914-1-enki@fsck.pl> Hello, This is a short patchset to support a D-Link DNS-320L NAS. There are two device-specific packages which are required for proper system management on the device as well as a out-of-tree DTS. I am going to send it upstream when I learn more about device trees. I have added myself as a maintainer to the DEVELOPERS file for all relevant parts. The packages have been checked with no issues detected: ? buildroot git:(master) ? utils/docker-run make check-package 389271 lines processed 0 warnings generated An example boot log is presented below: https://gist.github.com/enkiusz/482fab68ef7a630c8cfaad6f13f63919 I have noticed that the packages do not build for all architectures which is a problem I do not yet know how to solve: ? buildroot git:(master) ? cat iniparser.config BR2_PACKAGE_INIPARSER=y ? buildroot git:(master) ? utils/test-pkg --config iniparser.config -p iniparser bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: FAILED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: FAILED sourcery-arm [6/6]: OK ? buildroot git:(master) ? cat dns320l-daemon.config BR2_PACKAGE_DNS320L_DAEMON=y ? buildroot git:(master) ? utils/test-pkg --config dns320l-daemon.config -p dns320l-daemon bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: FAILED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: FAILED sourcery-arm [6/6]: OK 6 builds, 0 skipped, 2 build failed, 0 legal-info failed, 0 show-info failed These failures however don't seem to be relevant for the device I'm building the packages for as they run armv5 which is successful. Are successful builds for all toolchains a prerequisite for upstream inclusion? I do not want to spam the autobuilder logs with failures. Cheers, Maciej Grela (3): package/iniparser: new package package/dns320l-daemon: new package board/netgear/dns320l: new board DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ package/Config.in | 2 + package/dns320l-daemon/Config.in | 7 + package/dns320l-daemon/S50dns320l-daemon | 37 +++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 +++ package/iniparser/Config.in | 6 + package/iniparser/iniparser.hash | 2 + package/iniparser/iniparser.mk | 42 ++++ 11 files changed, 368 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk -- 2.39.2 From enki at fsck.pl Tue Oct 3 09:46:09 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:46:09 +0200 Subject: [Buildroot] [PATCH 0/3] Support for D-Link DNS-320L Message-ID: <20231003094612.62025-1-enki@fsck.pl> Hello, This is a short patchset to support a D-Link DNS-320L NAS. There are two device-specific packages which are required for proper system management on the device as well as a out-of-tree DTS. I am going to send it upstream when I learn more about device trees. I have added myself as a maintainer to the DEVELOPERS file for all relevant parts. The packages have been checked with no issues detected: ? buildroot git:(master) ? utils/docker-run make check-package 389271 lines processed 0 warnings generated An example boot log is presented below: https://gist.github.com/enkiusz/482fab68ef7a630c8cfaad6f13f63919 I have noticed that the packages do not build for all architectures which is a problem I do not yet know how to solve: ? buildroot git:(master) ? cat iniparser.config BR2_PACKAGE_INIPARSER=y ? buildroot git:(master) ? utils/test-pkg --config iniparser.config -p iniparser bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: FAILED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: FAILED sourcery-arm [6/6]: OK ? buildroot git:(master) ? cat dns320l-daemon.config BR2_PACKAGE_DNS320L_DAEMON=y ? buildroot git:(master) ? utils/test-pkg --config dns320l-daemon.config -p dns320l-daemon bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: FAILED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: FAILED sourcery-arm [6/6]: OK 6 builds, 0 skipped, 2 build failed, 0 legal-info failed, 0 show-info failed These failures however don't seem to be relevant for the device I'm building the packages for as they run armv5 which is successful. Are successful builds for all toolchains a prerequisite for upstream inclusion? I do not want to spam the autobuilder logs with failures. Cheers, Maciej Grela (3): package/iniparser: new package package/dns320l-daemon: new package board/netgear/dns320l: new board DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ package/Config.in | 2 + package/dns320l-daemon/Config.in | 7 + package/dns320l-daemon/S50dns320l-daemon | 37 +++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 +++ package/iniparser/Config.in | 6 + package/iniparser/iniparser.hash | 2 + package/iniparser/iniparser.mk | 42 ++++ 11 files changed, 368 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk -- 2.39.2 From enki at fsck.pl Tue Oct 3 09:46:10 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:46:10 +0200 Subject: [Buildroot] [PATCH 1/3] package/iniparser: new package In-Reply-To: <20231003094612.62025-1-enki@fsck.pl> References: <20231003094612.62025-1-enki@fsck.pl> Message-ID: <20231003094612.62025-2-enki@fsck.pl> iniparser is a required dependency of dns320l-daemon Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/iniparser/Config.in | 6 +++++ package/iniparser/iniparser.hash | 2 ++ package/iniparser/iniparser.mk | 42 ++++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..228e9eb1e3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2085,6 +2085,7 @@ menu "Other" source "package/gtest/Config.in" source "package/gumbo-parser/Config.in" source "package/highway/Config.in" + source "package/iniparser/Config.in" source "package/jemalloc/Config.in" source "package/lapack/Config.in" source "package/libabseil-cpp/Config.in" diff --git a/package/iniparser/Config.in b/package/iniparser/Config.in new file mode 100644 index 0000000000..4932869943 --- /dev/null +++ b/package/iniparser/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_INIPARSER + bool "iniparser" + help + ini file parser + + https://github.com/ndevilla/iniparser diff --git a/package/iniparser/iniparser.hash b/package/iniparser/iniparser.hash new file mode 100644 index 0000000000..a745062fcd --- /dev/null +++ b/package/iniparser/iniparser.hash @@ -0,0 +1,2 @@ +# From https://github.com/ndevilla/iniparser/releases +sha256 960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae iniparser-4.1.tar.gz diff --git a/package/iniparser/iniparser.mk b/package/iniparser/iniparser.mk new file mode 100644 index 0000000000..dedb829140 --- /dev/null +++ b/package/iniparser/iniparser.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# iniparser +# +################################################################################ + +INIPARSER_VERSION = 4.1 +INIPARSER_SITE = $(call github,ndevilla,iniparser,v$(INIPARSER_VERSION)) +INIPARSER_INSTALL_STAGING = YES +INIPARSER_LICENSE = MIT +INIPARSER_LICENSE_FILES = LICENSE +INIPARSER_SO_TARGET = libiniparser.so.1 +INIPARSER_A_TARGET = libiniparser.a + +INIPARSER_CONFIGURE_OPTS = $(TARGET_CONFIGURE_OPTS) + +define INIPARSER_BUILD_CMDS + $(INIPARSER_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define INIPARSER_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_SO_TARGET) $(STAGING_DIR)/usr/lib/ + $(INSTALL) -D -m 0644 $(@D)/src/iniparser.h $(@D)/src/dictionary.h $(STAGING_DIR)/usr/include/ + $(if ifeq ($(BR2_STATIC_LIBS),y),$(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_A_TARGET) $(STAGING_DIR)/usr/lib/) +endef + +define INIPARSER_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_SO_TARGET) $(TARGET_DIR)/usr/lib/ + $(if ifeq ($(BR2_STATIC_LIBS),y),$(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_A_TARGET) $(TARGET_DIR)/usr/lib/) +endef + +define HOST_INIPARSER_BUILD_CMDS + $(HOST_CONFIGURE_OPTS) $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define HOST_INIPARSER_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_SO_TARGET) $(HOST_DIR)/lib/ + $(if ifeq ($(BR2_STATIC_LIBS),y),$(INSTALL) -D -m 0755 $(@D)/$(INIPARSER_A_TARGET) $(HOST_DIR)/lib/) +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) -- 2.39.2 From enki at fsck.pl Tue Oct 3 09:46:11 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:46:11 +0200 Subject: [Buildroot] [PATCH 2/3] package/dns320l-daemon: new package In-Reply-To: <20231003094612.62025-1-enki@fsck.pl> References: <20231003094612.62025-1-enki@fsck.pl> Message-ID: <20231003094612.62025-3-enki@fsck.pl> dns320l-daemon is a simple system management daemon for the D-Link DNS-320L NAS. It handles power, Wake-on-LAN, temperature, fan speed and some LEDs. Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/dns320l-daemon/Config.in | 7 ++++ package/dns320l-daemon/S50dns320l-daemon | 37 ++++++++++++++++++++++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 ++++++++++++++++++ 5 files changed, 77 insertions(+) create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk diff --git a/package/Config.in b/package/Config.in index 228e9eb1e3..f1c451890f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2684,6 +2684,7 @@ menu "System tools" source "package/dcron/Config.in" source "package/ddrescue/Config.in" source "package/debianutils/Config.in" + source "package/dns320l-daemon/Config.in" source "package/docker-cli/Config.in" source "package/docker-compose/Config.in" source "package/docker-engine/Config.in" diff --git a/package/dns320l-daemon/Config.in b/package/dns320l-daemon/Config.in new file mode 100644 index 0000000000..c335e749f0 --- /dev/null +++ b/package/dns320l-daemon/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_DNS320L_DAEMON + bool "dns320l-daemon" + select BR2_PACKAGE_INIPARSER + help + MCU Daemon for the D-Link DNS-320L + + https://www.aboehler.at/hg/dns320l-daemon diff --git a/package/dns320l-daemon/S50dns320l-daemon b/package/dns320l-daemon/S50dns320l-daemon new file mode 100644 index 0000000000..3e0b4a3339 --- /dev/null +++ b/package/dns320l-daemon/S50dns320l-daemon @@ -0,0 +1,37 @@ +#!/bin/sh + +DAEMON="dns320l-daemon" + +start() { + printf 'Starting %s: ' "$DAEMON" + start-stop-daemon -S -x "/usr/bin/$DAEMON" + status="$?" + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -x "/usr/bin/$DAEMON" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + restart;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac diff --git a/package/dns320l-daemon/dns320l-daemon.hash b/package/dns320l-daemon/dns320l-daemon.hash new file mode 100644 index 0000000000..4396eb8f5d --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.hash @@ -0,0 +1 @@ +sha256 eac74a64f0d4127748e629b8a5f723eab58ac83064a3f249f97b85bcd7faf061 tip.tar.bz2 diff --git a/package/dns320l-daemon/dns320l-daemon.mk b/package/dns320l-daemon/dns320l-daemon.mk new file mode 100644 index 0000000000..fd87ac1be3 --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# dns320l-daemon +# +################################################################################ + +DNS320L_DAEMON_VERSION = 1.0 +DNS320L_DAEMON_SOURCE = tip.tar.bz2 +DNS320L_DAEMON_SITE = https://www.aboehler.at/hg/dns320l-daemon/archive +DNS320L_DAEMON_LICENSE = GPL-3 +DNS320L_DAEMON_DEPENDENCIES = iniparser + +define DNS320L_DAEMON_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" +endef + +define DNS320L_DAEMON_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/dns320l-daemon $(TARGET_DIR)/usr/bin/ + $(INSTALL) -D -m 0600 $(@D)/dns320l-daemon.ini $(TARGET_DIR)/etc/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/dns320l-daemon.service $(TARGET_DIR)/lib/systemd/system/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/dns320l-daemon/S50dns320l-daemon $(TARGET_DIR)/etc/init.d/S50dns320l-daemon +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Tue Oct 3 09:46:12 2023 From: enki at fsck.pl (Maciej Grela) Date: Tue, 3 Oct 2023 11:46:12 +0200 Subject: [Buildroot] [PATCH 3/3] board/netgear/dns320l: new board In-Reply-To: <20231003094612.62025-1-enki@fsck.pl> References: <20231003094612.62025-1-enki@fsck.pl> Message-ID: <20231003094612.62025-4-enki@fsck.pl> Add support for the D-Link DNS-320L using: - U-Boot 1.1.4 (in device flash) - Linux kernel 6.5.5 This is a 2-Bay 3.5'' SATA NAS with the following specs: - Marvell 88F6702 (1 GHz) CPU - 256 MiB DDR2 RAM - 128 MiB NAND Flash - 2 x SATA - 1 x 1000 Mbit/s Ethernet port - 1 x USB 2.0 The builtin bootloader banner is: U-Boot 1.1.4 (Aug 22 2012 - 17:06:54) Marvell version: 3.6.0.DNS-320L.01 Manufacturer product page: http://sharecenter.dlink.com/products/DNS-320 Device wiki: https://wikidevi.wi-cat.ru/D-Link_DNS-320L_rev_A1 Signed-off-by: Maciej Grela --- DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ 3 files changed, 240 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..76e8644073 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1950,6 +1950,12 @@ N: Ludwig Kormann F: board/in-circuit/ F: configs/icnova* +N: Maciej Grela +F: board/d-link/dns320l/ +F: configs/dns320l_defconfig +F: package/dns320l-daemon +F: package/iniparser + N: Maeva Manuel F: board/freescale/imx8qmmek/ F: configs/freescale_imx8qmmek_defconfig diff --git a/board/d-link/dns320l/dts/kirkwood-dns320l.dts b/board/d-link/dns320l/dts/kirkwood-dns320l.dts new file mode 100644 index 0000000000..660508a51a --- /dev/null +++ b/board/d-link/dns320l/dts/kirkwood-dns320l.dts @@ -0,0 +1,218 @@ +/dts-v1/; + +/* + * Device Tree file for DLINK DNS-320L + * + * Copyright (C) 2015, Sunke Schl?ters + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + * + * + * This file is based on the work of Andreas B?hler : + * - http://www.aboehler.at/doku/doku.php/projects:dns320l + * - http://www.aboehler.at/hg/linux-dns320l/file/ba7a60ad7687/linux-3.12/kirkwood-dns320l.dts + */ + +#include "marvell/kirkwood.dtsi" +#include "marvell/kirkwood-6281.dtsi" + +/ { + model = "D-Link DNS-320L"; + compatible = "dlink,dns-320l", "marvell,kirkwood-88f6702", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + stdout-path = &uart0; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>; + pinctrl-names = "default"; + + button at 1 { + label = "Reset push button"; + linux,code = ; + gpios = <&gpio0 28 1>; + }; + button at 2 { + label = "USB unmount button"; + linux,code = ; + gpios = <&gpio0 27 1>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pmx_led_usb_blue &pmx_led_red_right_hdd + &pmx_led_red_left_hdd &pmx_led_usb_orange>; + pinctrl-names = "default"; + + blue-usb { + label = "usb_blue"; + gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + }; + orange-usb { + label = "usb_orange"; + gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; + }; + orange-l_hdd { + label = "hdd1_orange"; + gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; + }; + orange-r_hdd { + label = "hdd2_orange"; + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; + }; + }; + + ocp at f1000000 { + pinctrl: pin-controller at 10000 { + + pinctrl-0 = <&pmx_button_power>; + pinctrl-names = "default"; + + pmx_sata0: pmx-sata0 { + marvell,pins = "mpp20"; + marvell,function = "sata0"; + }; + pmx_sata1: pmx-sata1 { + marvell,pins = "mpp21"; + marvell,function = "sata1"; + }; + pmx_led_red_right_hdd: pmx-led-red-right-hdd { + marvell,pins = "mpp22"; + marvell,function = "gpio"; + }; + pmx_led_red_left_hdd: pmx-led-red-left-hdd { + marvell,pins = "mpp23"; + marvell,function = "gpio"; + }; + pmx_power_sata: pmx-power-sata { + marvell,pins = "mpp24"; + marvell,function = "gpio"; + }; + pmx_led_usb_blue: pmx-led-usb-blue { + marvell,pins = "mpp25"; + marvell,function = "gpio"; + }; + pmx_led_usb_orange: pmx-led-usb-orange { + marvell,pins = "mpp26"; + marvell,function = "gpio"; + }; + pmx_button_usb_copy: pmx-button-usb-copy { + marvell,pins = "mpp27"; + marvell,function = "gpio"; + }; + pmx_button_reset: pmx-button-reset { + marvell,pins = "mpp28"; + marvell,function = "gpio"; + }; + pmx_button_power: pmx-button-power { // I can't get this one to trigger a button press... + marvell,pins = "mpp29"; + marvell,function = "gpio"; + }; + }; + sata at 80000 { + status = "okay"; + nr-ports = <2>; + }; + serial at 12000 { + status = "okay"; + }; + + serial at 12100 { + pinctrl-0 = <&pmx_uart1>; + pinctrl-names = "default"; + status = "okay"; + }; + }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_power_sata>; + pinctrl-names = "default"; + + sata_power: regulator at 1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "SATA Power"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio1 24 0>; + }; + }; +}; + +&nand { + pinctrl-0 = <&pmx_nand>; + pinctrl-names = "default"; + status = "okay"; + chip-delay = <35>; + + partition at 0 { + label = "u-boot"; + reg = <0x0000000 0x100000>; + read-only; + }; + + partition at 100000 { + label = "uImage"; + reg = <0x0100000 0x500000>; + }; + + partition at 600000 { + label = "ramdisk"; + reg = <0x0600000 0x500000>; + }; + + partition at b00000 { + label = "image"; + reg = <0x0b00000 0x6400000>; + }; + + partition at 6f00000 { + label = "mini firmware"; + reg = <0x6f00000 0xa00000>; + }; + + partition at 7900000 { + label = "config"; + reg = <0x7900000 0x500000>; + }; + + partition at 7e00000 { + label = "my-dlink"; + reg = <0x7e00000 0x200000>; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy at 0 { + reg = <0>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port at 0 { + phy-handle = <ðphy0>; + }; +}; diff --git a/configs/dns320l_defconfig b/configs/dns320l_defconfig new file mode 100644 index 0000000000..f281984267 --- /dev/null +++ b/configs/dns320l_defconfig @@ -0,0 +1,16 @@ +BR2_arm=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_SYSTEM_DHCP="eth0" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.5" +BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" +BR2_LINUX_KERNEL_APPENDED_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/d-link/dns320l/dts/kirkwood-dns320l.dts" +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_CPIO_UIMAGE=y + +# The package is required for proper power management +BR2_PACKAGE_DNS320L_DAEMON=y -- 2.39.2 From luca.ceresoli at bootlin.com Tue Oct 3 10:03:50 2023 From: luca.ceresoli at bootlin.com (Luca Ceresoli) Date: Tue, 3 Oct 2023 12:03:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.1 In-Reply-To: <20231003071536.297478-1-bernd@kuhls.net> References: <20231003071536.297478-1-bernd@kuhls.net> Message-ID: <20231003120350.56aefc32@booty> Hello Bernd, On Tue, 3 Oct 2023 09:15:36 +0200 Bernd Kuhls wrote: > Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: > https://exim.org/static/doc/security/CVE-2023-zdi.txt > > Signed-off-by: Bernd Kuhls Thanks! Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From bernd at kuhls.net Tue Oct 3 11:12:10 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 03 Oct 2023 13:12:10 +0200 Subject: [Buildroot] [PATCH 1/1] package/dhcp: fix cross build References: <20231002195159.3053254-1-bernd@kuhls.net> <20231002205144.GD2957__28552.5928296678$1696279934$gmane$org@scaer> Message-ID: Am Mon, 2 Oct 2023 22:51:44 +0200 schrieb Yann E. MORIN: > So your patch looks like it is correct. > > However, I would challenge it on other grounds: ISC decided to stop > maintaing dhcp starting end of 2022, almost a year ago, when they > released the last version of dhcp. > > Should we just drop that package now and be done with it? Hi Yann, my patch follows Peter's intention: "If it is dead upstream and hard to fix then that naturally makes it harder to do, but the intention is to fix it." http://lists.busybox.net/pipermail/buildroot/2022-April/640709.html The ISC dhcp package is also used in current Debian releases: https://tracker.debian.org/pkg/isc-dhcp Regards, Bernd From bernd at kuhls.net Tue Oct 3 12:22:00 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:22:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/stellarium: bump version to 23.3 Message-ID: <20231003122200.2677353-1-bernd@kuhls.net> Release notes: http://stellarium.org/release/2023/09/25/stellarium-23.3.html Signed-off-by: Bernd Kuhls --- package/stellarium/stellarium.hash | 2 +- package/stellarium/stellarium.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash index e0ee61d2b6..a2f511a283 100644 --- a/package/stellarium/stellarium.hash +++ b/package/stellarium/stellarium.hash @@ -1,4 +1,4 @@ # From https://github.com/Stellarium/stellarium/releases -sha256 3aee154d0de3ed484e3e6fee027cf73e6dd0a677b3ea1af348b225ac02339008 stellarium-23.2.tar.xz +sha256 179420e9e9f11278b78dc54e14458452c92055cc8923538748c8a0f961714fc2 stellarium-23.3.tar.xz # Locally computed sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk index 43c99413dd..94ad4e1352 100644 --- a/package/stellarium/stellarium.mk +++ b/package/stellarium/stellarium.mk @@ -4,7 +4,7 @@ # ################################################################################ -STELLARIUM_VERSION = 23.2 +STELLARIUM_VERSION = 23.3 STELLARIUM_SOURCE = stellarium-$(STELLARIUM_VERSION).tar.xz STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) STELLARIUM_LICENSE = GPL-2.0+ -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:24:06 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:24:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireless-regdb: bump version to 2023.09.01 Message-ID: <20231003122406.2678498-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- package/wireless-regdb/wireless-regdb.hash | 2 +- package/wireless-regdb/wireless-regdb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wireless-regdb/wireless-regdb.hash b/package/wireless-regdb/wireless-regdb.hash index b4e8dcaf54..71f92aaf91 100644 --- a/package/wireless-regdb/wireless-regdb.hash +++ b/package/wireless-regdb/wireless-regdb.hash @@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc -sha256 f254d08ab3765aeae2b856222e11a95d44aef519a6663877c71ef68fae4c8c12 wireless-regdb-2023.05.03.tar.xz +sha256 26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491 wireless-regdb-2023.09.01.tar.xz # Locally computed sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk index db9c7f42d5..e9003ce2e6 100644 --- a/package/wireless-regdb/wireless-regdb.mk +++ b/package/wireless-regdb/wireless-regdb.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRELESS_REGDB_VERSION = 2023.05.03 +WIRELESS_REGDB_VERSION = 2023.09.01 WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb WIRELESS_REGDB_LICENSE = ISC -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:32:08 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:32:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/mpg123: bump version to 1.32.3 Message-ID: <20231003123208.2688289-1-bernd@kuhls.net> Removed patch which was applied upstream: https://github.com/madebr/mpg123/commit/e1e6aa201a88d9d7f91c806b71270dd0013c6ca6 Signed-off-by: Bernd Kuhls --- package/mpg123/0001-mpg123-buildfix.patch | 24 ----------------------- package/mpg123/mpg123.hash | 6 +++--- package/mpg123/mpg123.mk | 2 +- 3 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 package/mpg123/0001-mpg123-buildfix.patch diff --git a/package/mpg123/0001-mpg123-buildfix.patch b/package/mpg123/0001-mpg123-buildfix.patch deleted file mode 100644 index cc731ea967..0000000000 --- a/package/mpg123/0001-mpg123-buildfix.patch +++ /dev/null @@ -1,24 +0,0 @@ -Signed-off-by: Waldemar Brodkorb -Upstream: https://sourceforge.net/p/mpg123/bugs/353/ - -diff -Nur mpg123-1.31.3.orig/src/libmpg123/getcpuflags.h mpg123-1.31.3/src/libmpg123/getcpuflags.h ---- mpg123-1.31.3.orig/src/libmpg123/getcpuflags.h 2023-03-15 09:02:58.000000000 +0100 -+++ mpg123-1.31.3/src/libmpg123/getcpuflags.h 2023-08-07 15:57:19.444106173 +0200 -@@ -44,6 +44,8 @@ - - unsigned int getcpuflags(struct cpuflags* cf); - -+#if ((defined OPT_X86) || (defined OPT_X86_64) || (defined OPT_NEON) || (defined OPT_NEON64)) && (defined OPT_MULTI) -+ - #ifdef WANT_GETCPUFLAGS - #include - // Wrapper needed for ignorant clang memory sanitizer that chokes -@@ -55,8 +57,6 @@ - } - #endif - --#if ((defined OPT_X86) || (defined OPT_X86_64) || (defined OPT_NEON) || (defined OPT_NEON64)) && (defined OPT_MULTI) -- - // We really evaluate the CPU flags. - #define OPT_CPU_FLAGS - diff --git a/package/mpg123/mpg123.hash b/package/mpg123/mpg123.hash index 39ded93fb9..0fe4699606 100644 --- a/package/mpg123/mpg123.hash +++ b/package/mpg123/mpg123.hash @@ -1,6 +1,6 @@ -# From https://sourceforge.net/projects/mpg123/files/mpg123/1.31.3/ -sha1 c41b98e4c5ac55a5b3787b5aa309a71a6d458145 mpg123-1.31.3.tar.bz2 +# From https://sourceforge.net/projects/mpg123/files/mpg123/1.32.3/ +sha1 3a94848a620db7917c757cb21e261c711e44618f mpg123-1.32.3.tar.bz2 # Locally calculated -sha256 1ca77d3a69a5ff845b7a0536f783fee554e1041139a6b978f6afe14f5814ad1a mpg123-1.31.3.tar.bz2 +sha256 2d9913a57d4ee8f497a182c6e82582602409782a4fb481e989feebf4435867b4 mpg123-1.32.3.tar.bz2 # License file sha256 c22482728a634a8dfdb4ff72a96d4c1ed64cd8f3e79335c401751ac591609366 COPYING diff --git a/package/mpg123/mpg123.mk b/package/mpg123/mpg123.mk index 5ec5590267..4de5f99bdf 100644 --- a/package/mpg123/mpg123.mk +++ b/package/mpg123/mpg123.mk @@ -4,7 +4,7 @@ # ################################################################################ -MPG123_VERSION = 1.31.3 +MPG123_VERSION = 1.32.3 MPG123_SOURCE = mpg123-$(MPG123_VERSION).tar.bz2 MPG123_SITE = https://downloads.sourceforge.net/project/mpg123/mpg123/$(MPG123_VERSION) MPG123_INSTALL_STAGING = YES -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:34:30 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:34:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/libvpx: bump version to 1.13.1 Message-ID: <20231003123430.2693572-1-bernd@kuhls.net> Removed patch which was backported from upstream and is now included in this release. Signed-off-by: Bernd Kuhls --- ...02-VP8-disallow-thread-count-changes.patch | 38 ------------------- package/libvpx/libvpx.hash | 2 +- package/libvpx/libvpx.mk | 2 +- 3 files changed, 2 insertions(+), 40 deletions(-) delete mode 100644 package/libvpx/0002-VP8-disallow-thread-count-changes.patch diff --git a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch deleted file mode 100644 index d625255a9f..0000000000 --- a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 3fbd1dca6a4d2dad332a2110d646e4ffef36d590 Mon Sep 17 00:00:00 2001 -From: James Zern -Date: Mon, 25 Sep 2023 18:55:59 -0700 -Subject: [PATCH] VP8: disallow thread count changes - -Currently allocations are done at encoder creation time. Going from -threaded to non-threaded would cause a crash. - -Bug: chromium:1486441 -Change-Id: Ie301c2a70847dff2f0daae408fbef1e4d42e73d4 - -Fixes CVE-2023-5217: https://www.cve.org/CVERecord?id=CVE-2023-5217 - -Upstream: https://github.com/webmproject/libvpx/commit/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 -Upstream: https://chromium.googlesource.com/webm/libvpx/+/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 - -[Bernd: Removed patch for test/encode_api_test.cc] -Signed-off-by: Bernd Kuhls ---- - vp8/encoder/onyx_if.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c -index c65afc643bf..c5e9970c3cc 100644 ---- a/vp8/encoder/onyx_if.c -+++ b/vp8/encoder/onyx_if.c -@@ -1447,6 +1447,11 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) { - last_h = cpi->oxcf.Height; - prev_number_of_layers = cpi->oxcf.number_of_layers; - -+ if (cpi->initial_width) { -+ // TODO(https://crbug.com/1486441): Allow changing thread counts; the -+ // allocation is done once in vp8_create_compressor(). -+ oxcf->multi_threaded = cpi->oxcf.multi_threaded; -+ } - cpi->oxcf = *oxcf; - - switch (cpi->oxcf.Mode) { diff --git a/package/libvpx/libvpx.hash b/package/libvpx/libvpx.hash index c88e6840cf..7cda8cc2eb 100644 --- a/package/libvpx/libvpx.hash +++ b/package/libvpx/libvpx.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 cb2a393c9c1fae7aba76b950bb0ad393ba105409fe1a147ccd61b0aaa1501066 libvpx-1.13.0.tar.gz +sha256 00dae80465567272abd077f59355f95ac91d7809a2d3006f9ace2637dd429d14 libvpx-1.13.1.tar.gz sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 LICENSE sha256 cc3273e0694ea5896145e0677699b53471b03ea43021ddc50e7923fbb9f5023c PATENTS diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index b558c41981..ec2e39a74f 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBVPX_VERSION = 1.13.0 +LIBVPX_VERSION = 1.13.1 LIBVPX_SITE = $(call github,webmproject,libvpx,v$(LIBVPX_VERSION)) LIBVPX_LICENSE = BSD-3-Clause LIBVPX_LICENSE_FILES = LICENSE PATENTS -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:36:59 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:36:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsndfile: bump to version 1.2.2 Message-ID: <20231003123659.2704273-1-bernd@kuhls.net> Release notes: https://github.com/libsndfile/libsndfile/releases/tag/1.2.1 https://github.com/libsndfile/libsndfile/releases/tag/1.2.2 Signed-off-by: Bernd Kuhls --- package/libsndfile/libsndfile.hash | 2 +- package/libsndfile/libsndfile.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libsndfile/libsndfile.hash b/package/libsndfile/libsndfile.hash index be3ba41dc6..94d6f96335 100644 --- a/package/libsndfile/libsndfile.hash +++ b/package/libsndfile/libsndfile.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -sha256 0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a libsndfile-1.2.0.tar.xz +sha256 3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e libsndfile-1.2.2.tar.xz # Locally calculated sha256 ad01ea5cd2755f6048383c8d54c88459cd6fcb17757c5c8892f8c5ea060f6140 COPYING diff --git a/package/libsndfile/libsndfile.mk b/package/libsndfile/libsndfile.mk index d8d1725444..89eb4f3c1d 100644 --- a/package/libsndfile/libsndfile.mk +++ b/package/libsndfile/libsndfile.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSNDFILE_VERSION = 1.2.0 +LIBSNDFILE_VERSION = 1.2.2 LIBSNDFILE_SOURCE = libsndfile-$(LIBSNDFILE_VERSION).tar.xz LIBSNDFILE_SITE = https://github.com/libsndfile/libsndfile/releases/download/$(LIBSNDFILE_VERSION) LIBSNDFILE_INSTALL_STAGING = YES -- 2.39.2 From bernd at kuhls.net Tue Oct 3 12:39:02 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:39:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/libdeflate: bump version to 1.19 Message-ID: <20231003123902.2706496-1-bernd@kuhls.net> Release notes: https://github.com/ebiggers/libdeflate/blob/master/NEWS.md Signed-off-by: Bernd Kuhls --- package/libdeflate/libdeflate.hash | 2 +- package/libdeflate/libdeflate.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libdeflate/libdeflate.hash b/package/libdeflate/libdeflate.hash index c6a50efbfc..8609f5ab02 100644 --- a/package/libdeflate/libdeflate.hash +++ b/package/libdeflate/libdeflate.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 225d982bcaf553221c76726358d2ea139bb34913180b20823c782cede060affd libdeflate-1.18.tar.gz +sha256 27bf62d71cd64728ff43a9feb92f2ac2f2bf748986d856133cc1e51992428c25 libdeflate-1.19.tar.gz sha256 5d246dd2537307b80fed9ba5fdddf5d0fe7a8f023393a071182b9daed56b40fe COPYING diff --git a/package/libdeflate/libdeflate.mk b/package/libdeflate/libdeflate.mk index 00de2e82a9..3000a58407 100644 --- a/package/libdeflate/libdeflate.mk +++ b/package/libdeflate/libdeflate.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBDEFLATE_VERSION = 1.18 +LIBDEFLATE_VERSION = 1.19 LIBDEFLATE_SITE = $(call github,ebiggers,libdeflate,v$(LIBDEFLATE_VERSION)) LIBDEFLATE_LICENSE = MIT LIBDEFLATE_LICENSE_FILES = COPYING -- 2.39.2 From takumiiinn at gmail.com Tue Oct 3 12:40:03 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Tue, 3 Oct 2023 21:40:03 +0900 Subject: [Buildroot] [PATCH] package/libcanberra: new package Message-ID: <20231003124004.983018-1-takumiiinn@gmail.com> This package defines a simple abstract interface for playing event sounds. It is mainly used by desktop applications such as GDM and GNOME Session. http://0pointer.de/lennart/projects/libcanberra/ Signed-off-by: Takumi Takahashi --- package/Config.in | 1 + package/libcanberra/Config.in | 17 ++++++++ package/libcanberra/libcanberra.hash | 3 ++ package/libcanberra/libcanberra.mk | 59 ++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 package/libcanberra/Config.in create mode 100644 package/libcanberra/libcanberra.hash create mode 100644 package/libcanberra/libcanberra.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..8f44e3efab 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1425,6 +1425,7 @@ menu "Audio/Sound" source "package/fdk-aac/Config.in" source "package/libao/Config.in" source "package/libbroadvoice/Config.in" + source "package/libcanberra/Config.in" source "package/libcdaudio/Config.in" source "package/libcddb/Config.in" source "package/libcdio/Config.in" diff --git a/package/libcanberra/Config.in b/package/libcanberra/Config.in new file mode 100644 index 0000000000..4274bcbec9 --- /dev/null +++ b/package/libcanberra/Config.in @@ -0,0 +1,17 @@ +comment "libcanberra needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + +comment "libcanberra needs a alsa-lib or pulseaudio or gstreamer" + depends on !BR2_PACKAGE_ALSA_LIB && !BR2_PACKAGE_PULSEAUDIO && !BR2_PACKAGE_GSTREAMER1 + +config BR2_PACKAGE_LIBCANBERRA + bool "libcanberra" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBTOOL + select BR2_PACKAGE_LIBVORBIS + help + libcanberra defines a simple abstract interface for playing event sounds. + + http://0pointer.de/lennart/projects/libcanberra/ diff --git a/package/libcanberra/libcanberra.hash b/package/libcanberra/libcanberra.hash new file mode 100644 index 0000000000..8dc90ccd88 --- /dev/null +++ b/package/libcanberra/libcanberra.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72 libcanberra-0.30.tar.xz +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 LGPL diff --git a/package/libcanberra/libcanberra.mk b/package/libcanberra/libcanberra.mk new file mode 100644 index 0000000000..1eadcb571b --- /dev/null +++ b/package/libcanberra/libcanberra.mk @@ -0,0 +1,59 @@ +################################################################################ +# +# libcanberra +# +################################################################################ + +LIBCANBERRA_VERSION = 0.30 +LIBCANBERRA_SOURCE = libcanberra-$(LIBCANBERRA_VERSION).tar.xz +LIBCANBERRA_SITE = http://0pointer.de/lennart/projects/libcanberra +LIBCANBERRA_LICENSE = LGPL-2.1+ +LIBCANBERRA_LICENSE_FILES = LICENSE +LIBCANBERRA_INSTALL_STAGING = YES + +LIBCANBERRA_DEPENDENCIES = host-pkgconf libtool libvorbis +LIBCANBERRA_CONF_OPTS = --disable-oss --disable-null --disable-tdb --disable-lynx + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIBCANBERRA_CONF_OPTS += --enable-udev +LIBCANBERRA_DEPENDENCIES += udev +else +LIBCANBERRA_CONF_OPTS += --disable-udev +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +LIBCANBERRA_CONF_OPTS += --enable-alsa +LIBCANBERRA_DEPENDENCIES += alsa-lib +else +LIBCANBERRA_CONF_OPTS += --disable-alsa +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +LIBCANBERRA_CONF_OPTS += --enable-pulse +LIBCANBERRA_DEPENDENCIES += pulseaudio +else +LIBCANBERRA_CONF_OPTS += --disable-pulse +endif + +ifeq ($(BR2_PACKAGE_GSTREAMER1),y) +LIBCANBERRA_CONF_OPTS += --enable-gstreamer +LIBCANBERRA_DEPENDENCIES += gstreamer1 +else +LIBCANBERRA_CONF_OPTS += --disable-gstreamer +endif + +ifeq ($(BR2_PACKAGE_LIBGTK2),y) +LIBCANBERRA_CONF_OPTS += --enable-gtk +LIBCANBERRA_DEPENDENCIES += libgtk2 +else +LIBCANBERRA_CONF_OPTS += --disable-gtk +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) +LIBCANBERRA_CONF_OPTS += --enable-gtk3 +LIBCANBERRA_DEPENDENCIES += libgtk3 +else +LIBCANBERRA_CONF_OPTS += --disable-gtk3 +endif + +$(eval $(autotools-package)) -- 2.42.0 From julien.boibessot at armadeus.com Tue Oct 3 12:25:17 2023 From: julien.boibessot at armadeus.com (Julien BOIBESSOT) Date: Tue, 3 Oct 2023 14:25:17 +0200 Subject: [Buildroot] [PATCH v2] package/ltris: bump to version 1.2.7 Message-ID: <20231003122517.2725616-1-julien.boibessot@armadeus.com> Latest release. Asked by autobuild.buildroot.net. Remove integrated fix. Signed-off-by: Julien BOIBESSOT --- Changes v1 -> v2: - updated .checkpackageignore as requested by Fabrice Fontaine --- .checkpackageignore | 1 - .../ltris/0001-fix-build-with-gcc-4.8.patch | 20 ------------------- package/ltris/ltris.hash | 2 +- package/ltris/ltris.mk | 2 +- 4 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 package/ltris/0001-fix-build-with-gcc-4.8.patch diff --git a/.checkpackageignore b/.checkpackageignore index 28de1745e4..393fac0638 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -824,7 +824,6 @@ package/lshw/0001-solve-Compile-error-when-g-version-is-less-than-5.patch Upstre package/ltrace/0001-arm-plt.patch Upstream package/ltrace/0002-sparc-add-missing-library.h-include.patch Upstream package/ltrace/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch Upstream -package/ltris/0001-fix-build-with-gcc-4.8.patch Upstream package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch Upstream package/lttng-babeltrace/0002-configure.ac-fix-popt-static-build.patch Upstream package/lttng-libust/0001-configure.ac-add-disable-tests.patch Upstream diff --git a/package/ltris/0001-fix-build-with-gcc-4.8.patch b/package/ltris/0001-fix-build-with-gcc-4.8.patch deleted file mode 100644 index d6bbf6a946..0000000000 --- a/package/ltris/0001-fix-build-with-gcc-4.8.patch +++ /dev/null @@ -1,20 +0,0 @@ -Fix build with gcc 4.8 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://sourceforge.net/p/lgames/patches/28] -Index: ltris/src/bowl.c -=================================================================== ---- ltris/src/bowl.c (r?vision 421) -+++ ltris/src/bowl.c (copie de travail) -@@ -828,9 +828,10 @@ - */ - void bowl_init_block_masks() - { -+ int i; - int masksize = sizeof(block_masks[0].mask); // same for all - -- for (int i = 0; i < 7; i++) { -+ for (i = 0; i < 7; i++) { - block_masks[i].rx = 2; - block_masks[i].ry = 2; - memset(block_masks[i].mask, 0, masksize ); diff --git a/package/ltris/ltris.hash b/package/ltris/ltris.hash index f696e3af17..abe6853d9b 100644 --- a/package/ltris/ltris.hash +++ b/package/ltris/ltris.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 ltris-1.2.tar.gz +sha256 1291c6a642d06b9ee153ac0a2e7855a2c983e839c618f1a294df04d829525cb0 ltris-1.2.7.tar.gz sha256 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 COPYING diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk index 9b59613417..98902de44c 100644 --- a/package/ltris/ltris.mk +++ b/package/ltris/ltris.mk @@ -5,7 +5,7 @@ ################################################################################ LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris -LTRIS_VERSION = 1.2 +LTRIS_VERSION = 1.2.7 LTRIS_LICENSE = GPL-2.0+ LTRIS_LICENSE_FILES = COPYING -- 2.25.1 From bernd at kuhls.net Tue Oct 3 12:43:36 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Tue, 3 Oct 2023 14:43:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcodec2: bump version to 1.2.0 Message-ID: <20231003124336.2837869-1-bernd@kuhls.net> Release notes: https://github.com/drowe67/codec2/releases/tag/1.2.0 Signed-off-by: Bernd Kuhls --- package/libcodec2/libcodec2.hash | 2 +- package/libcodec2/libcodec2.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcodec2/libcodec2.hash b/package/libcodec2/libcodec2.hash index edaa275bbc..828efa3e4d 100644 --- a/package/libcodec2/libcodec2.hash +++ b/package/libcodec2/libcodec2.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 44015b071968d98ee326012c498db6a8308bed1a7a914ecb6d4d8e2a354a4611 libcodec2-1.1.1.tar.gz +sha256 cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449 libcodec2-1.2.0.tar.gz sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING diff --git a/package/libcodec2/libcodec2.mk b/package/libcodec2/libcodec2.mk index 295dd8983f..5fc190aefd 100644 --- a/package/libcodec2/libcodec2.mk +++ b/package/libcodec2/libcodec2.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBCODEC2_VERSION = 1.1.1 -LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) +LIBCODEC2_VERSION = 1.2.0 +LIBCODEC2_SITE = $(call github,drowe67,codec2,$(LIBCODEC2_VERSION)) LIBCODEC2_LICENSE = LGPL-2.1 LIBCODEC2_LICENSE_FILES = COPYING LIBCODEC2_INSTALL_STAGING = YES -- 2.39.2 From angelo at amarulasolutions.com Tue Oct 3 14:29:25 2023 From: angelo at amarulasolutions.com (Angelo Compagnucci) Date: Tue, 3 Oct 2023 16:29:25 +0200 Subject: [Buildroot] [PATCH v4 3/5] package/wpa_supplicant: configure wifi on systemd when enabled In-Reply-To: References: <20221004110421.137795-1-angelo@amarulasolutions.com> <20221004110421.137795-4-angelo@amarulasolutions.com> Message-ID: Hi Arnout, On Sat, Sep 30, 2023 at 6:51?PM Arnout Vandecappelle wrote: > > > > On 04/10/2022 13:04, Angelo Compagnucci wrote: > > Configure a default basic wifi setup able to automatically connect > > to the selected access point. > > I think this feature is indeed useful. IIUC, currently wpa_supplicant actually > isn't started, even though we do install a service file. I do not think I'm going to respin another version of this patch due to the fact the other patches in the series were rejected. This patch is indeed not useful without the others: what's the point of having systemd configured for wpa_supplicant if in any case the user must configure an overlay to add a working wpa_supplicant.conf file? The series was meant to offer an easy way to configure the wifi in the same way we do for the ethernet. Moreover, if we configure wpa_supplicant here, it's not going to work without clearly explain somewhere that the user must implement its own wpa_supplicant.conf file. Imho it's way more confusing than offering a completely DIY solution as we do now. In the first case we need to explain somewhere what to do, in the latter the user will figure it out. > > > > > Signed-off-by: Angelo Compagnucci > > --- > > package/wpa_supplicant/wpa_supplicant.mk | 10 ++++++++++ > > system/Config.in | 1 + > > 2 files changed, 11 insertions(+) > > > > diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk > > index 60ae290e26..8611fc6577 100644 > > --- a/package/wpa_supplicant/wpa_supplicant.mk > > +++ b/package/wpa_supplicant/wpa_supplicant.mk > > @@ -277,6 +277,15 @@ define WPA_SUPPLICANT_ENABLE_WIFI > > echo "}"; \ > > ) >> $(TARGET_DIR)/etc/wpa_supplicant.conf > > endef > > +define WPA_SUPPLICANT_WIFI_INSTALL_INIT_SYSTEMD > > + $(INSTALL) -m 0755 -d $(TARGET_DIR)/etc/wpa_supplicant/ > > + ln -sf ../wpa_supplicant.conf \ > > + $(TARGET_DIR)/etc/wpa_supplicant/wpa_supplicant-$(BR2_SYSTEM_DHCP).conf > > If the interface-specific service is used rather than the global one, I think > the idea is to be able to use separate conf files for them. So I think it makes > more sense to copy than symlink. > > That said, I'm not sure if it's really useful to use the per-interface > service. The global one should work as well, no? I think the only thing we're > missing is to enable it for the wifi interface. > > Also, I don't think it's a good idea to reuse BR2_SYSTEM_DHCP for this. There > are quite a few boards that have both ethernet and wifi and ideally we want both > to come up. So I think it's worth adding a BR2_SYSTEM_WLAN to specify the wifi > interface - and perhaps automatically select wpa_supplicant if that option is > set (although we could just as well use iwd instead of supplicant, of course). > > > +endef > > +define WPA_SUPPLICANT_WIFI_INSTALL_INIT_SYSTEMD_PRESET > > + $(HOST_DIR)/bin/systemctl --root=$(TARGET_DIR) preset wpa_supplicant\@$(BR2_SYSTEM_DHCP).service > > I'm not sure what this is supposed to do. Doesn't it just undo the disable we > do in 50-wpa_supplicant.preset? Wouldn't it be better to just remove that preset > somehow? > > > +endef > > +SYSTEMD_ROOTFS_PRE_CMD_HOOKS += WPA_SUPPLICANT_WIFI_INSTALL_INIT_SYSTEMD_PRESET > > endif > > > > define WPA_SUPPLICANT_INSTALL_TARGET_CMDS > > @@ -304,6 +313,7 @@ define WPA_SUPPLICANT_INSTALL_INIT_SYSTEMD > > $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-wired at .service > > $(INSTALL) -D -m 644 $(WPA_SUPPLICANT_PKGDIR)/50-wpa_supplicant.preset \ > > $(TARGET_DIR)/usr/lib/systemd/system-preset/50-wpa_supplicant.preset > > + $(WPA_SUPPLICANT_WIFI_INSTALL_INIT_SYSTEMD) > > endef > > > > $(eval $(generic-package)) > > diff --git a/system/Config.in b/system/Config.in > > index 647072b965..761a5a95c2 100644 > > --- a/system/Config.in > > +++ b/system/Config.in > > @@ -421,6 +421,7 @@ comment "automatic network configuration via DHCP needs ifupdown or busybox or n > > config BR2_SYSTEM_CONNECT_WIFI > > bool "Connect to a default wifi access point" > > depends on BR2_SYSTEM_DHCP != "" && BR2_PACKAGE_WPA_SUPPLICANT > > + select BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE if BR2_PACKAGE_SYSTEMD > > This needs some explanation. I don't see the service files requiring this > anywhere. > > On the other hand, the global service file does start wpa_supplicant with the > -u option so it would need dbus. > > > Regards, > Arnout > > > > > config BR2_SYSTEM_CONNECT_WIFI_SSID > > string "Access point SSID" -- Angelo Compagnucci Software Engineer angelo at amarulasolutions.com __________________________________ Amarula Solutions SRL Via le Canevare 30, 31100 Treviso, Veneto, IT T. +39 (0)42 243 5310 info at amarulasolutions.com www.amarulasolutions.com [`as] https://www.amarulasolutions.com| From flaniel at linux.microsoft.com Tue Oct 3 15:21:01 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Tue, 3 Oct 2023 18:21:01 +0300 Subject: [Buildroot] [PATCH 1/1] package/tbb: bump to version 2021.10.0. Message-ID: <20231003152101.40980-1-flaniel@linux.microsoft.com> Signed-off-by: Francis Laniel --- package/tbb/tbb.hash | 2 +- package/tbb/tbb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 579581cfe4..1caf81c5c5 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.8.0.tar.gz +sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index c3e06a4e6d..75cca5e99d 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -4,7 +4,7 @@ # ################################################################################ -TBB_VERSION = 2021.8.0 +TBB_VERSION = 2021.10.0 TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 -- 2.34.1 From takumiiinn at gmail.com Tue Oct 3 16:36:13 2023 From: takumiiinn at gmail.com (Takumi Takahashi) Date: Wed, 4 Oct 2023 01:36:13 +0900 Subject: [Buildroot] [PATCH] package/gsettings-desktop-schemas: bump to version 45.0 Message-ID: <20231003163614.1177692-1-takumiiinn@gmail.com> This update is required to install the latest version of the GNOME desktop. Currently, only gvfs depends on this package, and we have confirmed that gvfs can be built. Signed-off-by: Takumi Takahashi --- DEVELOPERS | 3 +++ .../gsettings-desktop-schemas/gsettings-desktop-schemas.hash | 4 ++-- .../gsettings-desktop-schemas/gsettings-desktop-schemas.mk | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..24d2f5c946 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2823,6 +2823,9 @@ F: package/reproc/ F: package/termcolor/ F: package/tl-expected/ +N: Takumi Takahashi +F: package/gsettings-desktop-schemas/ + N: Tan En De F: package/libkcapi/ diff --git a/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash b/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash index bad8eab91d..0d80c87e06 100644 --- a/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash +++ b/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/gsettings-desktop-schemas/3.36/gsettings-desktop-schemas-3.36.1.sha256sum -sha256 004bdbe43cf8290f2de7d8537e14d8957610ca479a4fa368e34dbd03f03ec9d9 gsettings-desktop-schemas-3.36.1.tar.xz +# From https://download.gnome.org/sources/gsettings-desktop-schemas/45/gsettings-desktop-schemas-45.0.sha256sum +sha256 365c8d04daf79b38c8b3dc9626349a024f9e4befdd31fede74b42f7a9fbe0ae2 gsettings-desktop-schemas-45.0.tar.xz # Hash for license file sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk b/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk index b77397d565..b47097b9fe 100644 --- a/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk +++ b/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk @@ -4,8 +4,8 @@ # ################################################################################ -GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR = 3.36 -GSETTINGS_DESKTOP_SCHEMAS_VERSION = $(GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR).1 +GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR = 45 +GSETTINGS_DESKTOP_SCHEMAS_VERSION = $(GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR).0 GSETTINGS_DESKTOP_SCHEMAS_SOURCE = gsettings-desktop-schemas-$(GSETTINGS_DESKTOP_SCHEMAS_VERSION).tar.xz GSETTINGS_DESKTOP_SCHEMAS_SITE = https://download.gnome.org/sources/gsettings-desktop-schemas/$(GSETTINGS_DESKTOP_SCHEMAS_VERSION_MAJOR) GSETTINGS_DESKTOP_SCHEMAS_INSTALL_STAGING = YES -- 2.42.0 From fontaine.fabrice at gmail.com Tue Oct 3 18:56:03 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 3 Oct 2023 20:56:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: bump to version 20230924 Message-ID: <20231003185603.233238-1-fontaine.fabrice@gmail.com> https://udpcast.linux.lu/mailman3/hyperkitty/list/udpcast at udpcast.linux.lu/thread/BXBS6HOFXCMOF3LKCOVWXDPRD43S6B3Z Signed-off-by: Fabrice Fontaine --- package/udpcast/udpcast.hash | 2 +- package/udpcast/udpcast.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/udpcast/udpcast.hash b/package/udpcast/udpcast.hash index 9ce91330fd..aca098d982 100644 --- a/package/udpcast/udpcast.hash +++ b/package/udpcast/udpcast.hash @@ -1,3 +1,3 @@ # locally computed hash -sha256 a3cebee7a87ecf1bca0645f125be78fbd7b37846a4da82fecef96b92cc64d050 udpcast-20211207.tar.gz +sha256 17b5cd8b1e54f7e2e53357ac02ee86e4198bf704096987a03a3b5c402a0ecea1 udpcast-20230924.tar.gz sha256 422befd3503b1f39a6027017f639874c1f274e37ec60ba3174894646b584ccbc COPYING diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 4ea73e20c7..64a0bfbd37 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -4,7 +4,7 @@ # ################################################################################ -UDPCAST_VERSION = 20211207 +UDPCAST_VERSION = 20230924 UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ -- 2.40.1 From giulio.benetti at benettiengineering.com Tue Oct 3 18:58:41 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 3 Oct 2023 20:58:41 +0200 Subject: [Buildroot] [PATCH] package/libnss: bump version to 3.94 Message-ID: <20231003185841.3613075-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/libnss/libnss.hash | 4 ++-- package/libnss/libnss.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash index a3b98b0f8c..50889f8d13 100644 --- a/package/libnss/libnss.hash +++ b/package/libnss/libnss.hash @@ -1,4 +1,4 @@ -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_93_RTM/src/SHA256SUMS -sha256 15f54bb72048eb105f8c0e936a04b899e74c3db9a19bbc1e00acee2af9476a8a nss-3.93.tar.gz +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_94_RTM/src/SHA256SUMS +sha256 463ae180ee9e5ee9e3ad4f629326657e236780cc865572a930a16520abad9dd8 nss-3.94.tar.gz # Locally calculated sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index abdce32efb..51694c77bf 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNSS_VERSION = 3.93 +LIBNSS_VERSION = 3.94 LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src LIBNSS_DISTDIR = dist -- 2.34.1 From yann.morin.1998 at free.fr Tue Oct 3 20:34:41 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:34:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/udpcast: bump to version 20230924 In-Reply-To: <20231003185603.233238-1-fontaine.fabrice@gmail.com> References: <20231003185603.233238-1-fontaine.fabrice@gmail.com> Message-ID: <20231003203441.GE2957@scaer> Fabrice, All, On 2023-10-03 20:56 +0200, Fabrice Fontaine spake thusly: > https://udpcast.linux.lu/mailman3/hyperkitty/list/udpcast at udpcast.linux.lu/thread/BXBS6HOFXCMOF3LKCOVWXDPRD43S6B3Z > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/udpcast/udpcast.hash | 2 +- > package/udpcast/udpcast.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/udpcast/udpcast.hash b/package/udpcast/udpcast.hash > index 9ce91330fd..aca098d982 100644 > --- a/package/udpcast/udpcast.hash > +++ b/package/udpcast/udpcast.hash > @@ -1,3 +1,3 @@ > # locally computed hash > -sha256 a3cebee7a87ecf1bca0645f125be78fbd7b37846a4da82fecef96b92cc64d050 udpcast-20211207.tar.gz > +sha256 17b5cd8b1e54f7e2e53357ac02ee86e4198bf704096987a03a3b5c402a0ecea1 udpcast-20230924.tar.gz > sha256 422befd3503b1f39a6027017f639874c1f274e37ec60ba3174894646b584ccbc COPYING > diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk > index 4ea73e20c7..64a0bfbd37 100644 > --- a/package/udpcast/udpcast.mk > +++ b/package/udpcast/udpcast.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -UDPCAST_VERSION = 20211207 > +UDPCAST_VERSION = 20230924 > UDPCAST_SITE = http://www.udpcast.linux.lu/download > UDPCAST_DEPENDENCIES = host-m4 > UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ > -- > 2.40.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 3 20:34:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:34:52 +0200 Subject: [Buildroot] [PATCH] package/libnss: bump version to 3.94 In-Reply-To: <20231003185841.3613075-1-giulio.benetti@benettiengineering.com> References: <20231003185841.3613075-1-giulio.benetti@benettiengineering.com> Message-ID: <20231003203452.GF2957@scaer> Giulio, All, On 2023-10-03 20:58 +0200, Giulio Benetti spake thusly: > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libnss/libnss.hash | 4 ++-- > package/libnss/libnss.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash > index a3b98b0f8c..50889f8d13 100644 > --- a/package/libnss/libnss.hash > +++ b/package/libnss/libnss.hash > @@ -1,4 +1,4 @@ > -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_93_RTM/src/SHA256SUMS > -sha256 15f54bb72048eb105f8c0e936a04b899e74c3db9a19bbc1e00acee2af9476a8a nss-3.93.tar.gz > +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_94_RTM/src/SHA256SUMS > +sha256 463ae180ee9e5ee9e3ad4f629326657e236780cc865572a930a16520abad9dd8 nss-3.94.tar.gz > # Locally calculated > sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING > diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk > index abdce32efb..51694c77bf 100644 > --- a/package/libnss/libnss.mk > +++ b/package/libnss/libnss.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBNSS_VERSION = 3.93 > +LIBNSS_VERSION = 3.94 > LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz > LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src > LIBNSS_DISTDIR = dist > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 3 20:35:25 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:35:25 +0200 Subject: [Buildroot] [git commit] package/libnss: bump version to 3.94 Message-ID: <20231003203542.8633984173@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3edaa9def7809ae20d88b5cb48d01b4ce119d708 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Giulio Benetti Signed-off-by: Yann E. MORIN --- package/libnss/libnss.hash | 4 ++-- package/libnss/libnss.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash index a3b98b0f8c..50889f8d13 100644 --- a/package/libnss/libnss.hash +++ b/package/libnss/libnss.hash @@ -1,4 +1,4 @@ -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_93_RTM/src/SHA256SUMS -sha256 15f54bb72048eb105f8c0e936a04b899e74c3db9a19bbc1e00acee2af9476a8a nss-3.93.tar.gz +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_94_RTM/src/SHA256SUMS +sha256 463ae180ee9e5ee9e3ad4f629326657e236780cc865572a930a16520abad9dd8 nss-3.94.tar.gz # Locally calculated sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index e859f479bb..e6f4d2f42a 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNSS_VERSION = 3.93 +LIBNSS_VERSION = 3.94 LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src LIBNSS_DISTDIR = dist From yann.morin.1998 at free.fr Tue Oct 3 20:35:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:35:22 +0200 Subject: [Buildroot] [git commit] package/udpcast: bump to version 20230924 Message-ID: <20231003203542.7BDCA84171@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=24c8e0440bdd9035f1e7b23a0f90a130473a751e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://udpcast.linux.lu/mailman3/hyperkitty/list/udpcast at udpcast.linux.lu/thread/BXBS6HOFXCMOF3LKCOVWXDPRD43S6B3Z Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/udpcast/udpcast.hash | 2 +- package/udpcast/udpcast.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/udpcast/udpcast.hash b/package/udpcast/udpcast.hash index 9ce91330fd..aca098d982 100644 --- a/package/udpcast/udpcast.hash +++ b/package/udpcast/udpcast.hash @@ -1,3 +1,3 @@ # locally computed hash -sha256 a3cebee7a87ecf1bca0645f125be78fbd7b37846a4da82fecef96b92cc64d050 udpcast-20211207.tar.gz +sha256 17b5cd8b1e54f7e2e53357ac02ee86e4198bf704096987a03a3b5c402a0ecea1 udpcast-20230924.tar.gz sha256 422befd3503b1f39a6027017f639874c1f274e37ec60ba3174894646b584ccbc COPYING diff --git a/package/udpcast/udpcast.mk b/package/udpcast/udpcast.mk index 4ea73e20c7..64a0bfbd37 100644 --- a/package/udpcast/udpcast.mk +++ b/package/udpcast/udpcast.mk @@ -4,7 +4,7 @@ # ################################################################################ -UDPCAST_VERSION = 20211207 +UDPCAST_VERSION = 20230924 UDPCAST_SITE = http://www.udpcast.linux.lu/download UDPCAST_DEPENDENCIES = host-m4 UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ From yann.morin.1998 at free.fr Tue Oct 3 20:36:46 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:36:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: bump to version 2021.10.0. In-Reply-To: <20231003152101.40980-1-flaniel@linux.microsoft.com> References: <20231003152101.40980-1-flaniel@linux.microsoft.com> Message-ID: <20231003203646.GG2957@scaer> Francis, All, On 2023-10-03 18:21 +0300, Francis Laniel spake thusly: > Signed-off-by: Francis Laniel Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/tbb/tbb.hash | 2 +- > package/tbb/tbb.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > index 579581cfe4..1caf81c5c5 100644 > --- a/package/tbb/tbb.hash > +++ b/package/tbb/tbb.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.8.0.tar.gz > +sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz > sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt > diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > index c3e06a4e6d..75cca5e99d 100644 > --- a/package/tbb/tbb.mk > +++ b/package/tbb/tbb.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -TBB_VERSION = 2021.8.0 > +TBB_VERSION = 2021.10.0 > TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) > TBB_INSTALL_STAGING = YES > TBB_LICENSE = Apache-2.0 > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 3 20:36:23 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:36:23 +0200 Subject: [Buildroot] [git commit] package/tbb: bump to version 2021.10.0. Message-ID: <20231003203743.D29938417D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=74b50d553eafb0e3ec7a9a7eec5181d552b71707 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francis Laniel Signed-off-by: Yann E. MORIN --- package/tbb/tbb.hash | 2 +- package/tbb/tbb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 579581cfe4..1caf81c5c5 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.8.0.tar.gz +sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk index c3e06a4e6d..75cca5e99d 100644 --- a/package/tbb/tbb.mk +++ b/package/tbb/tbb.mk @@ -4,7 +4,7 @@ # ################################################################################ -TBB_VERSION = 2021.8.0 +TBB_VERSION = 2021.10.0 TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) TBB_INSTALL_STAGING = YES TBB_LICENSE = Apache-2.0 From yann.morin.1998 at free.fr Tue Oct 3 20:46:54 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:46:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcodec2: bump version to 1.2.0 In-Reply-To: <20231003124336.2837869-1-bernd@kuhls.net> References: <20231003124336.2837869-1-bernd@kuhls.net> Message-ID: <20231003204654.GH2957@scaer> Bernd, All, On 2023-10-03 14:43 +0200, Bernd Kuhls spake thusly: > Release notes: https://github.com/drowe67/codec2/releases/tag/1.2.0 > > Signed-off-by: Bernd Kuhls > --- > package/libcodec2/libcodec2.hash | 2 +- > package/libcodec2/libcodec2.mk | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libcodec2/libcodec2.hash b/package/libcodec2/libcodec2.hash > index edaa275bbc..828efa3e4d 100644 > --- a/package/libcodec2/libcodec2.hash > +++ b/package/libcodec2/libcodec2.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 44015b071968d98ee326012c498db6a8308bed1a7a914ecb6d4d8e2a354a4611 libcodec2-1.1.1.tar.gz > +sha256 cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449 libcodec2-1.2.0.tar.gz > sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING > diff --git a/package/libcodec2/libcodec2.mk b/package/libcodec2/libcodec2.mk > index 295dd8983f..5fc190aefd 100644 > --- a/package/libcodec2/libcodec2.mk > +++ b/package/libcodec2/libcodec2.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -LIBCODEC2_VERSION = 1.1.1 > -LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) > +LIBCODEC2_VERSION = 1.2.0 > +LIBCODEC2_SITE = $(call github,drowe67,codec2,$(LIBCODEC2_VERSION)) I was curious to see that they dopped the leading 'v' in front of tags, so I had a look at the repository, and indeed the 1.2.0 tag has no leading 'v'. But surprisingly, *there is no other tag*! Even the v1.1.1 tag that we were using so far is missing! So I had a look, and stumbled on: https://github.com/drowe67/codec2/issues/5 Basically, the full history was rewritten for some reason, the old repository has been moved to; https://github.com/drowe67/codec2-dev/ So, this is an important bit of information: we need to fix the existing maintenance branches to refer to the old repository (or backport this commit). I have added a blurb about that in the commit log, and applied to master. Regards, Yann E. MORIN. > LIBCODEC2_LICENSE = LGPL-2.1 > LIBCODEC2_LICENSE_FILES = COPYING > LIBCODEC2_INSTALL_STAGING = YES > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 3 20:39:26 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 3 Oct 2023 22:39:26 +0200 Subject: [Buildroot] [git commit] package/libcodec2: bump version to 1.2.0 Message-ID: <20231003204721.13D7D8418D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=61b72fb9d490bf8b2e50b2da8e13699dee6b223e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The tag we currently use no longer exists in the upstream repository, as the history has ben "rewritten": https://github.com/drowe67/codec2/issues/5 Bump to the latest (and only) tag in the new repository. Release notes: https://github.com/drowe67/codec2/releases/tag/1.2.0 Signed-off-by: Bernd Kuhls [yann.morin.1998 at free.fr: explain about missing tag] Signed-off-by: Yann E. MORIN --- package/libcodec2/libcodec2.hash | 2 +- package/libcodec2/libcodec2.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcodec2/libcodec2.hash b/package/libcodec2/libcodec2.hash index edaa275bbc..828efa3e4d 100644 --- a/package/libcodec2/libcodec2.hash +++ b/package/libcodec2/libcodec2.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 44015b071968d98ee326012c498db6a8308bed1a7a914ecb6d4d8e2a354a4611 libcodec2-1.1.1.tar.gz +sha256 cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449 libcodec2-1.2.0.tar.gz sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING diff --git a/package/libcodec2/libcodec2.mk b/package/libcodec2/libcodec2.mk index 295dd8983f..5fc190aefd 100644 --- a/package/libcodec2/libcodec2.mk +++ b/package/libcodec2/libcodec2.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBCODEC2_VERSION = 1.1.1 -LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) +LIBCODEC2_VERSION = 1.2.0 +LIBCODEC2_SITE = $(call github,drowe67,codec2,$(LIBCODEC2_VERSION)) LIBCODEC2_LICENSE = LGPL-2.1 LIBCODEC2_LICENSE_FILES = COPYING LIBCODEC2_INSTALL_STAGING = YES From ajd at linux.ibm.com Tue Oct 3 23:47:34 2023 From: ajd at linux.ibm.com (Andrew Donnellan) Date: Wed, 4 Oct 2023 10:47:34 +1100 Subject: [Buildroot] [PATCH] package/libzlib: Switch to using HTTPS Message-ID: <20231003234734.525050-1-ajd@linux.ibm.com> Switch to using HTTPS for downloading libzlib from zlib.net. (zlib.net doesn't default to HTTPS but does suggest HTTPS in the permalink for the latest zlib release. Also works better with some corporate firewalls that get suspicious about zlib for some reason.) Signed-off-by: Andrew Donnellan --- package/libzlib/libzlib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libzlib/libzlib.mk b/package/libzlib/libzlib.mk index da452af8e9..e0a4e454e1 100644 --- a/package/libzlib/libzlib.mk +++ b/package/libzlib/libzlib.mk @@ -6,7 +6,7 @@ LIBZLIB_VERSION = 1.3 LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz -LIBZLIB_SITE = http://www.zlib.net +LIBZLIB_SITE = https://www.zlib.net LIBZLIB_LICENSE = Zlib LIBZLIB_LICENSE_FILES = LICENSE LIBZLIB_INSTALL_STAGING = YES -- 2.25.1 From thomas.petazzoni at bootlin.com Wed Oct 4 05:39:27 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 04 Oct 2023 05:39:27 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-03 Message-ID: <20231004053933.AAAB941479@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-03 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 19 | 13 | 0 | 32 | 2023.08.x | 11 | 13 | 0 | 24 | master | 84 | 115 | 1 | 200 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 12 gcc-final-12.3.0 | 9 alsa-lib-1.2.10 | 7 alsa-utils-1.2.10 | 7 unknown | 6 glibc-2.38-13-g92201f16cbcf... | 5 spirv-tools-1.3.261.1 | 5 bird-2.0.12 | 3 gobject-introspection-1.76.1 | 3 host-sentry-cli-2.20.3 | 3 linux-6.5.5 | 3 linux-pam-1.5.3 | 3 check-11970a7e112dfe243a2e6... | 2 elfutils-0.189 | 2 google-breakpad-c85eb4a59b6... | 2 libarchive-3.7.2 | 2 libnvme-1.5 | 2 mariadb-10.11.4 | 2 monit-5.33.0 | 2 openfpgaloader-0.10.0 | 2 s390-tools-2.29.0 | 2 util-linux-2.39.2 | 2 android-tools-4.2.2+git2013... | 1 apache-2.4.57 | 1 apcupsd-3.14.14 | 1 binutils-arc-2020.09-release | 1 brltty-6.5 | 1 crun-1.8.4 | 1 dahdi-linux-3.2.0 | 1 dc3dd-7.2.641 | 1 erlang-26.0.2 | 1 ffmpeg | 1 gcc-final-11.4.0 | 1 gcc-final-arc-2020.09-release | 1 host-rust-1.71.1 | 1 lapack-3.10.1 | 1 libglib2-2.76.1 | 1 libselinux-3.5 | 1 libsoup3-3.4.2 | 1 liquid-dsp-1.5.0 | 1 openal-1.22.0 | 1 perl-5.36.1 | 1 pound-4.8 | 1 rtl8822cs-758d861bfa4d18d39... | 1 stress-ng-0.15.07 | 1 systemd-254 | 1 trace-cmd-2.9.7 | 1 uclibc-1.0.44 | 1 xenomai-3.0.10 | 1 xvisor-0.3.2 | 1 zabbix-6.2.7 | 1 zlib-ng-2.1.3 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5084c27031302b6d736cb287fe5e9f2a48f21e6c | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/2744128687ac42cd29b38715765e7b8d98e5fa5e | microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/71272b1f5e8ce6c5b83d7fb7e951376c76c679cb | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/2d5ec8eee29b1af41d0a0e66acdca5d8434af8a1 | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/fe49d8ec944e4af9ddbe19bef72f90ee74f5d3c4 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7422536935268f8d6d1910d1a1e53b252c3c4975 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/37548748006710e5d2a96936919829e5b21c4a9e | powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/d120ebcf4e275493f732ca6d67ee4d2b854cb7a7 | s390x | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/25533ce6191661a83e05a49c68e14fde8554cc20 | microblazeel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f56979acd7c54180ed5a77c637006abda870e8cb | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/bb6c9d2fbc5d26ef8be52599bed7579443d329ff | arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/61a8ee243d7e6718d5510e977f067ae0b3635612 | arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5e6573c878adfae8cbdd000be3eeae844442a52a | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/0d34e277e83dc5d84ae990e5669a5913f72e7023 | powerpc64le | android-tools-4.2.2+git2013... | NOK | http://autobuild.buildroot.net/results/d7c814784d77cdeabb954164001027d1e09a290d | or1k | apache-2.4.57 | NOK | http://autobuild.buildroot.net/results/54b729e390fb312632e9dfc9dc69e8db65f51c9c | microblazeel | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/3566244f4ecd1849b31f568551009be5a0fec86f | arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/51e925dee2a240a9d257133827755127743bc9cd | sh4a | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/58bf48a08ec0c9cd2d49a668bd5f6acdab552014 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/55f52467129c6e6d4802d403f03b0c18b9f05a8f | i586 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/666823155b4711f1ccd7c1d15f44e99c15d6272d | mips | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/d237bd56f01c5658f21a79fda41ed2f3421fde3e | arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/f0b60edd69b2ae751bd28469b0aa07228cd7c180 | ORPH arm | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/537cbfdb44ffb7f8cb7e255a1575f64e72fb5c7d | ORPH powerpc | crun-1.8.4 | NOK | http://autobuild.buildroot.net/results/0de8d766dcf11399e4525666c72908c3bcc056dd | mips64 | dahdi-linux-3.2.0 | NOK | http://autobuild.buildroot.net/results/4e7f12cf1c546d041fc2b12638b53db89952bdd3 | arm | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/3720fca1120595f4a4019c92354227aff1c8d6db | ORPH or1k | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/9f272fef29ead73b0da375d9cf7735d6449744d1 | ORPH i686 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/7bd6490bbeaec8853205aef5044ef32fb2a7e095 | ORPH aarch64 | erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/11416d81d5b27fc0627b335a971154c088d5754a | i686 | ffmpeg | TIM | http://autobuild.buildroot.net/results/8bb2e47b1c44662c4221e9c92c1b6e677631afa0 | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/1999efdadc6a0e53e064ad9f5b67318bac337ed6 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/42638ba9c666ae08db4a9045c50f48a5f7cefc3d | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/3b32e117609e27f4545424b86e7cc3dc5e09d858 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/23cb7f23749868050c814dd7d49081c85e494a92 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6887e2566302a427dad2bd99217ab6fd4847b475 | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fdb143b103908a4f235515e48e0f47a4b0649ca9 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/a4c3c5c9a9da191a75874660dbb332054aaaa87d | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/54ae6c9c76ebaa643bbf3b9973db1e8f0093105e | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/948068a890f9ba310cb7359004a24f5240fe797e | arm | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/2c78f19fb9bffcb48aacf36f00b78d3a2f61da0e | arceb | gcc-final-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/2e1bd6ff1634ef48e87dcb21aa65449c5a415ec0 | arc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/dafd3f371e7315d2ff025731e42483ee8db8b349 | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/409d70fedb25937591c994a1e93a15a6dfffec9e | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/c766f00f46772beba47b9d774ddf58ad05825c30 | powerpc64le | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/dc08134c133abe0f0729f8cf5f4cdd8aee0d6e6b | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/605c8226bbcbc864638910a1985e0a957ac81bb2 | nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8a36d7b3a34266a54e2b10e4bfeecc642211aa77 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/dba268bae09aa463104fb6c18646a48ce0cfc523 | ORPH x86_64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/de2cbd904243e5dfd9ef41b6a8d82c5ef69aba9b | ORPH i686 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/a3dac512cd35feff647cfac77d456029a9fdc035 | mips | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/94e42083c0dc8fe647c3412a97ed8be7e7487c43 | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/ef607282f270f82f3ac5496c39adb4120bb37443 | aarch64 | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/eb146d53ba0a0f79fb2eb876f9d6e6d03d09d669 | microblaze | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/67c51de13e77248b608ce76db65578d459af8f78 | or1k | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/51d72948f4772bad1c7cb7f40e665a7df5580106 | sh4 | lapack-3.10.1 | NOK | http://autobuild.buildroot.net/results/a7f43ec38c3c173174e2a2ae0fc10966aa65a59e | aarch64_be | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/40f3cc1e8a4494f058ea866e215dd63fdb312e71 | i686 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/e8b78be63cd93dbf0b042fed36085c9a5142e05c | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/8cf1a815c3647663b6e9bba2c270aca58bd56056 | arc | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/b10625ce859ad1ffa6d340b831653af839bc5935 | powerpc64 | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/1b215c0c4f27df278856160ba21bad2f3f6bb807 | mips | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/71a9feb57123165917b893641be6ec52a7ae396a | sparc | libsoup3-3.4.2 | NOK | http://autobuild.buildroot.net/results/113ab714fce41687778ce984c7e2498840f57e3a | mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/6b056ccb6060fb0a7de0fc9292624572795a1a3b | ORPH sh4aeb | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/47d0bd8ddb7c1494d15c790fce9165ea35573519 | ORPH mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/f800ef7cc0398611bd760abcf2b0144a8f808728 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/053a0bc2bdd052500f73fe5777a295e8176e3cc9 | ORPH arc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/fd32a70a37d27c4de201702100bac98f44feb6d6 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/7a84d5ec5337f671ca884abf64ee85ad39558049 | ORPH arm | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/0df772f8c3508f3593c764d7a9e3c1afdb49982f | or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/60215b985137f524352326da3f054f6bbc5ae1f2 | ORPH s390x | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/1a022da81024fa56e71c0203ad58dcf15de57c8b | ORPH arceb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/3f3cf42c9b7665a44a8751703365fc05c8452f11 | i586 | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/ac56cce97613ac5a66b3826a62df2488cbe50545 | mips | openal-1.22.0 | NOK | http://autobuild.buildroot.net/results/52406ba98be7b205d47846c4c3dc0532f906d2ae | ORPH microblaze | openfpgaloader-0.10.0 | NOK | http://autobuild.buildroot.net/results/570042111f137cf9c8b352734f73635dbed3e0c7 | riscv64 | openfpgaloader-0.10.0 | NOK | http://autobuild.buildroot.net/results/e7f04cf486546238e973195f5fea263535861de8 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/159dcac966ba87ec2b85d8cf481155be8ca2c9eb | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a97089b3474431c84a7c3cb9d8502846d9ca78a1 | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c0b22705373b2f4546738e697dd851593c1e72da | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/8ca3b486ee44648ccf716c2c5181f1c86c0ac6b5 | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/af96c703c16320feb856da2c37cf72abd185878f | arm | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ebad068a18cf0fd9bbedf21bd5a90f3b5659e8ca | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/4b0e089c033f31cceebf57a8de5fa9b6f2d624b8 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a15f131a81c688b82e7bf34ba077a44b93a518de | m68k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/dc34c458b985576f5b5709511ef318bca6af224d | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e878fd6b45123cd2fad57b4a5e1c1ed34a162241 | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/403fcc69443b073933f31aac6a6e5eab4d321986 | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/8695a8fa194c6f60a3dabde66f318279977381ca | arceb | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/b364c1201137f67a558d7ac44b172009e0b6a2fe | sh4a | pound-4.8 | NOK | http://autobuild.buildroot.net/results/849be4fc3686a57257f6611a13fbd349396e01da | ORPH powerpc64 | rtl8822cs-758d861bfa4d18d39... | NOK | http://autobuild.buildroot.net/results/3600153fa9d7bb267c835ef896e35cd11458163e | s390x | s390-tools-2.29.0 | NOK | http://autobuild.buildroot.net/results/05f5cfffea55a9cb1c2ee7eca3941427cc03eca0 | s390x | s390-tools-2.29.0 | NOK | http://autobuild.buildroot.net/results/3e4a888d37b46d11495cc73bc41fbdfb52416c6e | arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/914c78cd31c25c858d6f4debae57e7eada35cbf3 | ORPH riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/e17f00b58ff8fa6c30bb147a112ef910c51206d1 | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/4675b118d0776d00ee9b9c2a1b90f1cae855c049 | ORPH powerpc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/7454f257522e63d7593d0d3872462d30b7654bab | ORPH riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/4c5e95784cc82b3a1f25cb929263a6637cd0246e | ORPH aarch64_be | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/c47e425d7bbb240e9b59898e88815a8ebad279fc | mipsel | systemd-254 | NOK | http://autobuild.buildroot.net/results/f2c194906a0bb77e087f8c36469fecca07c6ec4d | riscv64 | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/1c74f2a10b0121e99cb4d17323261c3c525f4900 | riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/68bc2f560ff88d8f0c5eb22d367e9e342ec59138 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/511781eafa3bb616935710ae1191622f0585ffb6 | arm | unknown | NOK | http://autobuild.buildroot.net/results/0df80904d22740a7f5fb666345c504aac7129221 | mips | unknown | NOK | http://autobuild.buildroot.net/results/c2363a82f354a13aba0caf26dc3a07e0763039e1 | m68k | unknown | NOK | http://autobuild.buildroot.net/results/f04b6dfb18dbef9232b5f91e5ca09fa7f02274a6 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/8454f9b9a21819c333562f2b29776d6b91282480 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/a42e5423e699606a83c47bf541e17bdea0e4325b | mips64 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/ca9f27ed058eda855ad107ec21896a16dbe26885 | ORPH powerpc | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/dbb71479c221d25bafbb10bdb4c8f220538a7302 | ORPH aarch64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/8f583268d06eecc58bb692f6c4905aaa56463514 | x86_64 | xvisor-0.3.2 | NOK | http://autobuild.buildroot.net/results/798aea4e7e2d35ee60b503a3b6b61d6c9ac7a8c2 | s390x | zabbix-6.2.7 | NOK | http://autobuild.buildroot.net/results/b494e94feffc06c92e9643503163613b0f9970d6 | powerpc | zlib-ng-2.1.3 | NOK | http://autobuild.buildroot.net/results/f47a36a91cb86d4b51ce53aee909ba6829facc3e | ORPH Classification of failures by reason for 2023.02.x -------------------------------------------------- wavemon-0.9.4 | 2 xenomai-3.0.10 | 2 bird-2.0.12 | 1 host-rust-1.67.1 | 1 lttng-modules-2.13.7 | 1 poke-3.0 | 1 python-pycryptodomex-3.16.0 | 1 reaver-1.6.6 | 1 suricata-6.0.14 | 1 unknown | 1 zxing-cpp-1.4.0 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/bb8a8798fdbe434bd8e4e942f6030e6d22feb96a | sparc64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/70b9a117b225111e4408dacf046f73432ebe9b8f | arceb | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/bd9adea5bf301db0ca0fc72670efa40d28802060 | sparc64 | poke-3.0 | NOK | http://autobuild.buildroot.net/results/efb53678d2b45c8f4d418fa1d1e8d8b98952bdfc | ORPH arm | python-pycryptodomex-3.16.0 | NOK | http://autobuild.buildroot.net/results/cc1adc4890e4e667773e5f95717d3d43f7dfdb36 | arceb | reaver-1.6.6 | NOK | http://autobuild.buildroot.net/results/a9f931ee4f58f18fda0330228b6a13dc32527918 | aarch64 | suricata-6.0.14 | NOK | http://autobuild.buildroot.net/results/ae8265d8c2bb754f682e3a1eda72844896f54645 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/7e2b72076d2b1c535a78f51f26748ddef4b45b20 | arm | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/9cde125ccee9073b79cdeb19699fe0ba4b0c29ae | ORPH sh4 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/30716304a3d5d2a75d422e015f60aa9058887d16 | ORPH s390x | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/149bb05cd384c0cc3848fdaa6d6bbba5d817d7d5 | aarch64_be | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/f513841dc711ac5198d0a8cd1dbc298808360dd7 | arm | zxing-cpp-1.4.0 | NOK | http://autobuild.buildroot.net/results/1e5cadb01fe8dd0326cbfde1a2eadf046d0dab57 | Classification of failures by reason for 2023.08.x -------------------------------------------------- bird-2.0.12 | 3 util-linux-2.39.1 | 3 batman-adv-2022.3 | 1 host-go-1.20.8 | 1 host-rust-1.71.1 | 1 host-sentry-cli-2.8.0 | 1 mongodb-4.2.18 | 1 perl-5.36.1 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- sparc64 | batman-adv-2022.3 | NOK | http://autobuild.buildroot.net/results/c1a7a57b76952b22df343810982903befed25796 | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/f2d53af8d935cd75bd4e49201c24764d6966b17a | arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/7ffe9d26000dbb1189409bf642be4e0935535512 | s390x | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8d421857d2a45caec215e6f4ae745332625d9376 | mips64el | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/578206def12e7645d443d5f38a28d4b045956672 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/f6826415ba18f1162dca4b06ad9a7d3a68e53712 | mipsel | host-sentry-cli-2.8.0 | NOK | http://autobuild.buildroot.net/results/efc6eb9d63e1cef24154967e31f7c3ac0705b881 | x86_64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/8227f4ca55d8cc2c1872e2658feb60645e86cfab | arm | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/d0a39e4e5787a19e2c3f1b73bedd1bc027d81c6a | mips | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/662b3886dfc53d94e99577511c4a2d2a8c74428f | ORPH arceb | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/47879811b223a7f4a50875c82718432e6cd4a8fe | ORPH mips | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/532ebd6c1a0dbcf83c6d82f689139220200d129a | ORPH mips64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/4a2eedf13a357b638df2244bdf1fa43365742b34 | -- http://autobuild.buildroot.net From flaniel at linux.microsoft.com Wed Oct 4 07:02:21 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Wed, 04 Oct 2023 10:02:21 +0300 Subject: [Buildroot] [PATCH 1/1] package/tbb: bump to version 2021.10.0. In-Reply-To: <20231003203646.GG2957@scaer> References: <20231003152101.40980-1-flaniel@linux.microsoft.com> <20231003203646.GG2957@scaer> Message-ID: <12296775.O9o76ZdvQC@pwmachine> Hi. Le mardi 3 octobre 2023, 23:36:46 EEST Yann E. MORIN a ?crit : > Francis, All, > > On 2023-10-03 18:21 +0300, Francis Laniel spake thusly: > > Signed-off-by: Francis Laniel > > Applied to master, thanks. Thank you! For the record, this is part of a series to bump sysdig to latest version but they added extra complication to have it built the "buildroot way" and I was not successful yesterday at getting it compiled. I will nonetheless try again later but I cannot really guarantee I will come up with something. > Regards, > Yann E. MORIN. Best regards. > > --- > > > > package/tbb/tbb.hash | 2 +- > > package/tbb/tbb.mk | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > > index 579581cfe4..1caf81c5c5 100644 > > --- a/package/tbb/tbb.hash > > +++ b/package/tbb/tbb.hash > > @@ -1,3 +1,3 @@ > > > > # Locally calculated > > > > -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b > > tbb-2021.8.0.tar.gz +sha256 > > eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b > > tbb-2021.10.0.tar.gz> > > sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 > > LICENSE.txt> > > diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk > > index c3e06a4e6d..75cca5e99d 100644 > > --- a/package/tbb/tbb.mk > > +++ b/package/tbb/tbb.mk > > @@ -4,7 +4,7 @@ > > > > # > > ######################################################################### > > #######> > > -TBB_VERSION = 2021.8.0 > > +TBB_VERSION = 2021.10.0 > > > > TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION)) > > TBB_INSTALL_STAGING = YES > > TBB_LICENSE = Apache-2.0 > > > > -- > > 2.34.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot From laurent at vivier.eu Wed Oct 4 06:58:35 2023 From: laurent at vivier.eu (Laurent Vivier) Date: Wed, 4 Oct 2023 08:58:35 +0200 Subject: [Buildroot] [PATCH] package/petitboot: bump to version 1.14 Message-ID: <20231004065835.2190872-1-laurent@vivier.eu> Signed-off-by: Laurent Vivier --- package/petitboot/petitboot.hash | 2 +- package/petitboot/petitboot.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/petitboot/petitboot.hash b/package/petitboot/petitboot.hash index bf7bf56a6751..a9a21f2c1b69 100644 --- a/package/petitboot/petitboot.hash +++ b/package/petitboot/petitboot.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 b42ae4fb2a81e9cf68f727c3f54c6312788c654bd97628ec9ba61b19a68990e6 petitboot-v1.13.tar.gz +sha256 fa2367370d3ce5dd9910ab08a0832071e2508c8bf75cfec6d3b9807fbefc507a petitboot-v1.14.tar.gz sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk index 8d220f88f45a..0992111cb1ec 100644 --- a/package/petitboot/petitboot.mk +++ b/package/petitboot/petitboot.mk @@ -4,7 +4,7 @@ # ################################################################################ -PETITBOOT_VERSION = 1.13 +PETITBOOT_VERSION = 1.14 PETITBOOT_SOURCE = petitboot-v$(PETITBOOT_VERSION).tar.gz PETITBOOT_SITE = https://github.com/open-power/petitboot/releases/download/v$(PETITBOOT_VERSION) PETITBOOT_DEPENDENCIES = elfutils ncurses udev host-bison host-flex lvm2 -- 2.41.0 From stefan at agner.ch Wed Oct 4 09:59:26 2023 From: stefan at agner.ch (Stefan Agner) Date: Wed, 04 Oct 2023 11:59:26 +0200 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump version to v1.6.22 In-Reply-To: References: <20230727232235.449788-1-christian@aperture.us> <08DC739C-F115-4DB2-9F9A-0CD6E9BFEA42@agner.ch> <23f2b3bd59cb6d860ea52b566eacfdb8@agner.ch> <87r0mgay0o.fsf@48ers.dk> Message-ID: On 2023-10-02 20:28, Christian Stewart wrote: > Hi Peter, > > https://github.com/containerd/containerd/issues/9139#issuecomment-1736477534 > > On Sat, Sep 30, 2023 at 1:03?AM Peter Korsgaard wrote: >> If cri is only needed for when containerd is used with kubernetes, then >> perhaps we should disable it by default so other people don't need to >> debug the same issue. > > I think we can safely disable cri on the default config. At that point we can also pass the no_cri build tag. I'll create a PR to do just that. -- Stefan From christian at aperture.us Wed Oct 4 10:04:35 2023 From: christian at aperture.us (Christian Stewart) Date: Wed, 4 Oct 2023 03:04:35 -0700 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump version to v1.6.22 In-Reply-To: References: <20230727232235.449788-1-christian@aperture.us> <08DC739C-F115-4DB2-9F9A-0CD6E9BFEA42@agner.ch> <23f2b3bd59cb6d860ea52b566eacfdb8@agner.ch> <87r0mgay0o.fsf@48ers.dk> Message-ID: Stefan, On Wed, Oct 4, 2023, 2:59 AM Stefan Agner wrote: > On 2023-10-02 20:28, Christian Stewart wrote: > > Hi Peter, > > > > > https://github.com/containerd/containerd/issues/9139#issuecomment-1736477534 > > > > On Sat, Sep 30, 2023 at 1:03?AM Peter Korsgaard > wrote: > >> If cri is only needed for when containerd is used with kubernetes, then > >> perhaps we should disable it by default so other people don't need to > >> debug the same issue. > > > > I think we can safely disable cri on the default config. > > At that point we can also pass the no_cri build tag. > > I'll create a PR to do just that. > Maybe make it a adjustable config option, since I definitely want to use kubernetes + cri w/ containerd in buildroot. Best, Christian -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefan at agner.ch Wed Oct 4 10:08:46 2023 From: stefan at agner.ch (Stefan Agner) Date: Wed, 04 Oct 2023 12:08:46 +0200 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump version to v1.6.22 In-Reply-To: References: <20230727232235.449788-1-christian@aperture.us> <08DC739C-F115-4DB2-9F9A-0CD6E9BFEA42@agner.ch> <23f2b3bd59cb6d860ea52b566eacfdb8@agner.ch> <87r0mgay0o.fsf@48ers.dk> Message-ID: On 2023-10-04 12:04, Christian Stewart wrote: > Stefan, > > On Wed, Oct 4, 2023, 2:59 AM Stefan Agner wrote: > >> On 2023-10-02 20:28, Christian Stewart wrote: >>> Hi Peter, >>> >>> https://github.com/containerd/containerd/issues/9139#issuecomment-1736477534 >>> >>> On Sat, Sep 30, 2023 at 1:03?AM Peter Korsgaard wrote: >>>> If cri is only needed for when containerd is used with kubernetes, then >>>> perhaps we should disable it by default so other people don't need to >>>> debug the same issue. >>> >>> I think we can safely disable cri on the default config. >> >> At that point we can also pass the no_cri build tag. >> >> I'll create a PR to do just that. > > Maybe make it a adjustable config option, since I definitely want to use kubernetes + cri w/ containerd in buildroot. Ok, I'll make a config for that. That said, I would not disable it via config in that case as I would expect someone who opts to build CRI will make sure that the prerequisites (such as writable /etc as it seems) are taken care of. -- Stefan From peter at korsgaard.com Wed Oct 4 11:44:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 04 Oct 2023 13:44:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.1 In-Reply-To: <20231003071536.297478-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 09:15:36 +0200") References: <20231003071536.297478-1-bernd@kuhls.net> Message-ID: <87jzs2fw7k.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: > https://exim.org/static/doc/security/CVE-2023-zdi.txt > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 4 11:45:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 04 Oct 2023 13:45:28 +0200 Subject: [Buildroot] [PATCH 1/1] package/libsndfile: bump to version 1.2.2 In-Reply-To: <20231003123659.2704273-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 14:36:59 +0200") References: <20231003123659.2704273-1-bernd@kuhls.net> Message-ID: <87fs2qfw6f.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://github.com/libsndfile/libsndfile/releases/tag/1.2.1 > https://github.com/libsndfile/libsndfile/releases/tag/1.2.2 > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 4 11:45:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 04 Oct 2023 13:45:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/libdeflate: bump version to 1.19 In-Reply-To: <20231003123902.2706496-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 14:39:02 +0200") References: <20231003123902.2706496-1-bernd@kuhls.net> Message-ID: <87bkdefw6a.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://github.com/ebiggers/libdeflate/blob/master/NEWS.md > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 4 11:47:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 04 Oct 2023 13:47:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/libvpx: bump version to 1.13.1 In-Reply-To: <20231003123430.2693572-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 14:34:30 +0200") References: <20231003123430.2693572-1-bernd@kuhls.net> Message-ID: <877co2fw3i.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Removed patch which was backported from upstream and is now included > in this release. > Signed-off-by: Bernd Kuhls You forgot to drop the _IGNORE_CVES entry for that patch. Committed after fixing that, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 4 11:45:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 13:45:24 +0200 Subject: [Buildroot] [git commit] package/libdeflate: bump version to 1.19 Message-ID: <20231004114740.0E781841EF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5d2f4004d27d3937fd8a4a6d5ed244379ecc0fad branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://github.com/ebiggers/libdeflate/blob/master/NEWS.md Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/libdeflate/libdeflate.hash | 2 +- package/libdeflate/libdeflate.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libdeflate/libdeflate.hash b/package/libdeflate/libdeflate.hash index c6a50efbfc..8609f5ab02 100644 --- a/package/libdeflate/libdeflate.hash +++ b/package/libdeflate/libdeflate.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 225d982bcaf553221c76726358d2ea139bb34913180b20823c782cede060affd libdeflate-1.18.tar.gz +sha256 27bf62d71cd64728ff43a9feb92f2ac2f2bf748986d856133cc1e51992428c25 libdeflate-1.19.tar.gz sha256 5d246dd2537307b80fed9ba5fdddf5d0fe7a8f023393a071182b9daed56b40fe COPYING diff --git a/package/libdeflate/libdeflate.mk b/package/libdeflate/libdeflate.mk index 00de2e82a9..3000a58407 100644 --- a/package/libdeflate/libdeflate.mk +++ b/package/libdeflate/libdeflate.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBDEFLATE_VERSION = 1.18 +LIBDEFLATE_VERSION = 1.19 LIBDEFLATE_SITE = $(call github,ebiggers,libdeflate,v$(LIBDEFLATE_VERSION)) LIBDEFLATE_LICENSE = MIT LIBDEFLATE_LICENSE_FILES = COPYING From peter at korsgaard.com Wed Oct 4 11:45:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 13:45:17 +0200 Subject: [Buildroot] [git commit] package/libsndfile: bump to version 1.2.2 Message-ID: <20231004114740.05BAA841ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=850efb92b56253cace2ba8bce94df0afe347037a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://github.com/libsndfile/libsndfile/releases/tag/1.2.1 https://github.com/libsndfile/libsndfile/releases/tag/1.2.2 Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/libsndfile/libsndfile.hash | 2 +- package/libsndfile/libsndfile.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libsndfile/libsndfile.hash b/package/libsndfile/libsndfile.hash index be3ba41dc6..94d6f96335 100644 --- a/package/libsndfile/libsndfile.hash +++ b/package/libsndfile/libsndfile.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -sha256 0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a libsndfile-1.2.0.tar.xz +sha256 3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e libsndfile-1.2.2.tar.xz # Locally calculated sha256 ad01ea5cd2755f6048383c8d54c88459cd6fcb17757c5c8892f8c5ea060f6140 COPYING diff --git a/package/libsndfile/libsndfile.mk b/package/libsndfile/libsndfile.mk index d8d1725444..89eb4f3c1d 100644 --- a/package/libsndfile/libsndfile.mk +++ b/package/libsndfile/libsndfile.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSNDFILE_VERSION = 1.2.0 +LIBSNDFILE_VERSION = 1.2.2 LIBSNDFILE_SOURCE = libsndfile-$(LIBSNDFILE_VERSION).tar.xz LIBSNDFILE_SITE = https://github.com/libsndfile/libsndfile/releases/download/$(LIBSNDFILE_VERSION) LIBSNDFILE_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 4 11:44:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 13:44:29 +0200 Subject: [Buildroot] [git commit] package/exim: security bump version to 4.96.1 Message-ID: <20231004114739.EA4CF841EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=657d10b34b1ba2fc3478a3cfad7ac7fcf4ce1094 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: https://exim.org/static/doc/security/CVE-2023-zdi.txt Signed-off-by: Bernd Kuhls Reviewed-by: Luca Ceresoli Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 2336aaa5c6..6cdeea0614 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 299a56927b2eb3477daafd3c5bda02bc67e5c4e5898a7aeaf2740875278cf1a3 exim-4.96.tar.xz +sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 6b863661465a0b9897c1b71875c5196a1903cf560dd85de45b08242b9731edb2bc10eb56945d62e477e5d15cc7a8d493915bff2ca81689673a8091c66f62c89e exim-4.96.tar.xz +sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index b84a51d6de..f5695d048d 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96 +EXIM_VERSION = 4.96.1 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Wed Oct 4 11:46:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 13:46:24 +0200 Subject: [Buildroot] [git commit] package/libvpx: bump version to 1.13.1 Message-ID: <20231004114740.191EB841F0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=07a03a8549b0e1ed92993311be337c7a382b6446 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Removed patch which was backported from upstream and is now included in this release. Signed-off-by: Bernd Kuhls [Peter: drop CVE ignore for patch] Signed-off-by: Peter Korsgaard --- .../0002-VP8-disallow-thread-count-changes.patch | 38 ---------------------- package/libvpx/libvpx.hash | 2 +- package/libvpx/libvpx.mk | 5 +-- 3 files changed, 2 insertions(+), 43 deletions(-) diff --git a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch b/package/libvpx/0002-VP8-disallow-thread-count-changes.patch deleted file mode 100644 index d625255a9f..0000000000 --- a/package/libvpx/0002-VP8-disallow-thread-count-changes.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 3fbd1dca6a4d2dad332a2110d646e4ffef36d590 Mon Sep 17 00:00:00 2001 -From: James Zern -Date: Mon, 25 Sep 2023 18:55:59 -0700 -Subject: [PATCH] VP8: disallow thread count changes - -Currently allocations are done at encoder creation time. Going from -threaded to non-threaded would cause a crash. - -Bug: chromium:1486441 -Change-Id: Ie301c2a70847dff2f0daae408fbef1e4d42e73d4 - -Fixes CVE-2023-5217: https://www.cve.org/CVERecord?id=CVE-2023-5217 - -Upstream: https://github.com/webmproject/libvpx/commit/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 -Upstream: https://chromium.googlesource.com/webm/libvpx/+/3fbd1dca6a4d2dad332a2110d646e4ffef36d590 - -[Bernd: Removed patch for test/encode_api_test.cc] -Signed-off-by: Bernd Kuhls ---- - vp8/encoder/onyx_if.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c -index c65afc643bf..c5e9970c3cc 100644 ---- a/vp8/encoder/onyx_if.c -+++ b/vp8/encoder/onyx_if.c -@@ -1447,6 +1447,11 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) { - last_h = cpi->oxcf.Height; - prev_number_of_layers = cpi->oxcf.number_of_layers; - -+ if (cpi->initial_width) { -+ // TODO(https://crbug.com/1486441): Allow changing thread counts; the -+ // allocation is done once in vp8_create_compressor(). -+ oxcf->multi_threaded = cpi->oxcf.multi_threaded; -+ } - cpi->oxcf = *oxcf; - - switch (cpi->oxcf.Mode) { diff --git a/package/libvpx/libvpx.hash b/package/libvpx/libvpx.hash index c88e6840cf..7cda8cc2eb 100644 --- a/package/libvpx/libvpx.hash +++ b/package/libvpx/libvpx.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 cb2a393c9c1fae7aba76b950bb0ad393ba105409fe1a147ccd61b0aaa1501066 libvpx-1.13.0.tar.gz +sha256 00dae80465567272abd077f59355f95ac91d7809a2d3006f9ace2637dd429d14 libvpx-1.13.1.tar.gz sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 LICENSE sha256 cc3273e0694ea5896145e0677699b53471b03ea43021ddc50e7923fbb9f5023c PATENTS diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index b558c41981..9092ca6a8e 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -4,16 +4,13 @@ # ################################################################################ -LIBVPX_VERSION = 1.13.0 +LIBVPX_VERSION = 1.13.1 LIBVPX_SITE = $(call github,webmproject,libvpx,v$(LIBVPX_VERSION)) LIBVPX_LICENSE = BSD-3-Clause LIBVPX_LICENSE_FILES = LICENSE PATENTS LIBVPX_CPE_ID_VENDOR = webmproject LIBVPX_INSTALL_STAGING = YES -# 0002-VP8-disallow-thread-count-changes.patch -LIBVPX_IGNORE_CVES += CVE-2023-5217 - # ld is being used with cc options. therefore, pretend ld is cc. LIBVPX_CONF_ENV = \ LD="$(TARGET_CC)" \ From stefan at agner.ch Wed Oct 4 13:01:34 2023 From: stefan at agner.ch (Stefan Agner) Date: Wed, 4 Oct 2023 15:01:34 +0200 Subject: [Buildroot] [PATCH] package/docker-engine: Drop experimental build flag Message-ID: <6e269338d657663f4008a5acb9da58ba26f59898.1696424479.git.stefan@agner.ch> Since Docker v1.13.0 experimental only exists as a runtime flag. Drop the config from buildroot as well. Signed-off-by: Stefan Agner --- package/docker-engine/Config.in | 3 --- package/docker-engine/docker-engine.mk | 3 --- 2 files changed, 6 deletions(-) diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 570b2ff681..71bf670f17 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -19,9 +19,6 @@ config BR2_PACKAGE_DOCKER_ENGINE if BR2_PACKAGE_DOCKER_ENGINE -config BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL - bool "build experimental features" - config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS bool "btrfs filesystem driver" depends on BR2_USE_MMU # btrfs-progs diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index a8f47254a4..369a1b2826 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -34,9 +34,6 @@ ifeq ($(BR2_INIT_SYSTEMD),y) DOCKER_ENGINE_DEPENDENCIES += systemd DOCKER_ENGINE_TAGS += systemd journald endif -ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL),y) -DOCKER_ENGINE_TAGS += experimental -endif ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS),y) DOCKER_ENGINE_DEPENDENCIES += btrfs-progs -- 2.42.0 From enki at fsck.pl Wed Oct 4 13:12:52 2023 From: enki at fsck.pl (Maciej Grela) Date: Wed, 4 Oct 2023 15:12:52 +0200 Subject: [Buildroot] [PATCH v2 0/3] Support for D-Link DNS-320L In-Reply-To: <20231003094612.62025-2-enki@fsck.pl> References: <20231003094612.62025-2-enki@fsck.pl> Message-ID: <20231004131256.2113233-1-enki@fsck.pl> Hello, This is a short patchset to support a D-Link DNS-320L NAS. There are two device-specific packages which are required for proper system management on the device as well as a out-of-tree DTS. I am going to send it upstream when I learn more about device trees. I have added myself as a maintainer to the DEVELOPERS file for all relevant parts. The packages have been checked with no issues detected: ? buildroot git:(master) ? utils/docker-run make check-package 389271 lines processed 0 warnings generated An example boot log is presented below: https://gist.github.com/enkiusz/482fab68ef7a630c8cfaad6f13f63919 The packages build successfully using test-pkg: ? buildroot git:(master) ? cat iniparser.config BR2_PACKAGE_INIPARSER=y ? buildroot git:(master) ? utils/test-pkg --config iniparser.config -p iniparser bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: OK bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK 6 builds, 0 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ? buildroot git:(master) ? ? buildroot git:(master) ? cat dns320l-daemon.config BR2_PACKAGE_DNS320L_DAEMON=y ? buildroot git:(master) ? utils/test-pkg --config dns320l-daemon.config -p dns320l-daemon bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK 6 builds, 1 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ? buildroot git:(master) ? --- changes v1 -> v2: - don't build iniparser on the host - properly handle building static and shared iniparser in all combos - disable dns320l-daemon on platforms without fork() - DNS-320L is manufactured by D-Link not Netgear, change commit summaries to reflect that Maciej Grela (3): package/iniparser: new package package/dns320l-daemon: new package board/d-link/dns320l: new board DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ package/Config.in | 2 + package/dns320l-daemon/Config.in | 8 + package/dns320l-daemon/S50dns320l-daemon | 37 +++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 +++ package/iniparser/Config.in | 6 + package/iniparser/iniparser.hash | 2 + package/iniparser/iniparser.mk | 56 +++++ 11 files changed, 383 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk -- 2.39.2 From enki at fsck.pl Wed Oct 4 13:12:53 2023 From: enki at fsck.pl (Maciej Grela) Date: Wed, 4 Oct 2023 15:12:53 +0200 Subject: [Buildroot] [PATCH v2 1/3] package/iniparser: new package In-Reply-To: <20231003094612.62025-2-enki@fsck.pl> References: <20231003094612.62025-2-enki@fsck.pl> Message-ID: <20231004131256.2113233-2-enki@fsck.pl> iniparser is a required dependency of dns320l-daemon Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/iniparser/Config.in | 6 ++++ package/iniparser/iniparser.hash | 2 ++ package/iniparser/iniparser.mk | 56 ++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..228e9eb1e3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2085,6 +2085,7 @@ menu "Other" source "package/gtest/Config.in" source "package/gumbo-parser/Config.in" source "package/highway/Config.in" + source "package/iniparser/Config.in" source "package/jemalloc/Config.in" source "package/lapack/Config.in" source "package/libabseil-cpp/Config.in" diff --git a/package/iniparser/Config.in b/package/iniparser/Config.in new file mode 100644 index 0000000000..4932869943 --- /dev/null +++ b/package/iniparser/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_INIPARSER + bool "iniparser" + help + ini file parser + + https://github.com/ndevilla/iniparser diff --git a/package/iniparser/iniparser.hash b/package/iniparser/iniparser.hash new file mode 100644 index 0000000000..a745062fcd --- /dev/null +++ b/package/iniparser/iniparser.hash @@ -0,0 +1,2 @@ +# From https://github.com/ndevilla/iniparser/releases +sha256 960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae iniparser-4.1.tar.gz diff --git a/package/iniparser/iniparser.mk b/package/iniparser/iniparser.mk new file mode 100644 index 0000000000..f3f74601f3 --- /dev/null +++ b/package/iniparser/iniparser.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# iniparser +# +################################################################################ + +INIPARSER_VERSION = 4.1 +INIPARSER_SITE = $(call github,ndevilla,iniparser,v$(INIPARSER_VERSION)) +INIPARSER_INSTALL_STAGING = YES +INIPARSER_LICENSE = MIT +INIPARSER_LICENSE_FILES = LICENSE +INIPARSER_SO_TARGET = libiniparser.so.1 +INIPARSER_A_TARGET = libiniparser.a +INIPARSER_BUILD_TARGETS = +INIPARSER_STAGING_INSTALL_TGTS = +INIPARSER_TARGET_INSTALL_TGTS = + +INIPARSER_CONFIGURE_OPTS = $(TARGET_CONFIGURE_OPTS) + +ifeq ($(BR2_STATIC_LIBS),y) +INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET) +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_A_TARGET) +else ifeq ($(BR2_SHARED_LIBS),y) +INIPARSER_LINK_SO = y + +INIPARSER_BUILD_TARGETS = $(INIPARSER_SO_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_SO_TARGET) + +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET) +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +INIPARSER_LINK_SO = y + +INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET) + +# Don't install static libs on target +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET) +endif + +define INIPARSER_BUILD_CMDS + $(INIPARSER_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(INIPARSER_BUILD_TARGETS) +endef + +define INIPARSER_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 0644 $(@D)/src/iniparser.h $(@D)/src/dictionary.h $(STAGING_DIR)/usr/include/ + $(foreach target,$(INIPARSER_STAGING_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(STAGING_DIR)/usr/lib/) + $(if $(INIPARSER_LINK_SO),ln -s -r $(STAGING_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(STAGING_DIR)/usr/lib/libiniparser.so) +endef + +define INIPARSER_INSTALL_TARGET_CMDS + $(foreach target,$(INIPARSER_TARGET_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(TARGET_DIR)/usr/lib/) + $(if $(INIPARSER_LINK_SO),ln -s -r $(TARGET_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(TARGET_DIR)/usr/lib/libiniparser.so) +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Wed Oct 4 13:12:54 2023 From: enki at fsck.pl (Maciej Grela) Date: Wed, 4 Oct 2023 15:12:54 +0200 Subject: [Buildroot] [PATCH v2 2/3] package/dns320l-daemon: new package In-Reply-To: <20231003094612.62025-2-enki@fsck.pl> References: <20231003094612.62025-2-enki@fsck.pl> Message-ID: <20231004131256.2113233-3-enki@fsck.pl> dns320l-daemon is a simple system management daemon for the D-Link DNS-320L NAS. It handles power, Wake-on-LAN, temperature, fan speed and some LEDs. Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/dns320l-daemon/Config.in | 8 +++++ package/dns320l-daemon/S50dns320l-daemon | 37 ++++++++++++++++++++++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 31 ++++++++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk diff --git a/package/Config.in b/package/Config.in index 228e9eb1e3..f1c451890f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2684,6 +2684,7 @@ menu "System tools" source "package/dcron/Config.in" source "package/ddrescue/Config.in" source "package/debianutils/Config.in" + source "package/dns320l-daemon/Config.in" source "package/docker-cli/Config.in" source "package/docker-compose/Config.in" source "package/docker-engine/Config.in" diff --git a/package/dns320l-daemon/Config.in b/package/dns320l-daemon/Config.in new file mode 100644 index 0000000000..35bd30a9e5 --- /dev/null +++ b/package/dns320l-daemon/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_DNS320L_DAEMON + bool "dns320l-daemon" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_INIPARSER + help + MCU Daemon for the D-Link DNS-320L + + https://www.aboehler.at/hg/dns320l-daemon diff --git a/package/dns320l-daemon/S50dns320l-daemon b/package/dns320l-daemon/S50dns320l-daemon new file mode 100644 index 0000000000..3e0b4a3339 --- /dev/null +++ b/package/dns320l-daemon/S50dns320l-daemon @@ -0,0 +1,37 @@ +#!/bin/sh + +DAEMON="dns320l-daemon" + +start() { + printf 'Starting %s: ' "$DAEMON" + start-stop-daemon -S -x "/usr/bin/$DAEMON" + status="$?" + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -x "/usr/bin/$DAEMON" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + restart;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac diff --git a/package/dns320l-daemon/dns320l-daemon.hash b/package/dns320l-daemon/dns320l-daemon.hash new file mode 100644 index 0000000000..4396eb8f5d --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.hash @@ -0,0 +1 @@ +sha256 eac74a64f0d4127748e629b8a5f723eab58ac83064a3f249f97b85bcd7faf061 tip.tar.bz2 diff --git a/package/dns320l-daemon/dns320l-daemon.mk b/package/dns320l-daemon/dns320l-daemon.mk new file mode 100644 index 0000000000..fd87ac1be3 --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# dns320l-daemon +# +################################################################################ + +DNS320L_DAEMON_VERSION = 1.0 +DNS320L_DAEMON_SOURCE = tip.tar.bz2 +DNS320L_DAEMON_SITE = https://www.aboehler.at/hg/dns320l-daemon/archive +DNS320L_DAEMON_LICENSE = GPL-3 +DNS320L_DAEMON_DEPENDENCIES = iniparser + +define DNS320L_DAEMON_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" +endef + +define DNS320L_DAEMON_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/dns320l-daemon $(TARGET_DIR)/usr/bin/ + $(INSTALL) -D -m 0600 $(@D)/dns320l-daemon.ini $(TARGET_DIR)/etc/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/dns320l-daemon.service $(TARGET_DIR)/lib/systemd/system/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/dns320l-daemon/S50dns320l-daemon $(TARGET_DIR)/etc/init.d/S50dns320l-daemon +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Wed Oct 4 13:12:55 2023 From: enki at fsck.pl (Maciej Grela) Date: Wed, 4 Oct 2023 15:12:55 +0200 Subject: [Buildroot] [PATCH v2 3/3] board/d-link/dns320l: new board In-Reply-To: <20231003094612.62025-2-enki@fsck.pl> References: <20231003094612.62025-2-enki@fsck.pl> Message-ID: <20231004131256.2113233-4-enki@fsck.pl> Add support for the D-Link DNS-320L using: - U-Boot 1.1.4 (in device flash) - Linux kernel 6.5.5 This is a 2-Bay 3.5'' SATA NAS with the following specs: - Marvell 88F6702 (1 GHz) CPU - 256 MiB DDR2 RAM - 128 MiB NAND Flash - 2 x SATA - 1 x 1000 Mbit/s Ethernet port - 1 x USB 2.0 The builtin bootloader banner is: U-Boot 1.1.4 (Aug 22 2012 - 17:06:54) Marvell version: 3.6.0.DNS-320L.01 Manufacturer product page: http://sharecenter.dlink.com/products/DNS-320 Device wiki: https://wikidevi.wi-cat.ru/D-Link_DNS-320L_rev_A1 Signed-off-by: Maciej Grela --- DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ 3 files changed, 240 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..76e8644073 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1950,6 +1950,12 @@ N: Ludwig Kormann F: board/in-circuit/ F: configs/icnova* +N: Maciej Grela +F: board/d-link/dns320l/ +F: configs/dns320l_defconfig +F: package/dns320l-daemon +F: package/iniparser + N: Maeva Manuel F: board/freescale/imx8qmmek/ F: configs/freescale_imx8qmmek_defconfig diff --git a/board/d-link/dns320l/dts/kirkwood-dns320l.dts b/board/d-link/dns320l/dts/kirkwood-dns320l.dts new file mode 100644 index 0000000000..660508a51a --- /dev/null +++ b/board/d-link/dns320l/dts/kirkwood-dns320l.dts @@ -0,0 +1,218 @@ +/dts-v1/; + +/* + * Device Tree file for DLINK DNS-320L + * + * Copyright (C) 2015, Sunke Schl?ters + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + * + * + * This file is based on the work of Andreas B?hler : + * - http://www.aboehler.at/doku/doku.php/projects:dns320l + * - http://www.aboehler.at/hg/linux-dns320l/file/ba7a60ad7687/linux-3.12/kirkwood-dns320l.dts + */ + +#include "marvell/kirkwood.dtsi" +#include "marvell/kirkwood-6281.dtsi" + +/ { + model = "D-Link DNS-320L"; + compatible = "dlink,dns-320l", "marvell,kirkwood-88f6702", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + stdout-path = &uart0; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>; + pinctrl-names = "default"; + + button at 1 { + label = "Reset push button"; + linux,code = ; + gpios = <&gpio0 28 1>; + }; + button at 2 { + label = "USB unmount button"; + linux,code = ; + gpios = <&gpio0 27 1>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pmx_led_usb_blue &pmx_led_red_right_hdd + &pmx_led_red_left_hdd &pmx_led_usb_orange>; + pinctrl-names = "default"; + + blue-usb { + label = "usb_blue"; + gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + }; + orange-usb { + label = "usb_orange"; + gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; + }; + orange-l_hdd { + label = "hdd1_orange"; + gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; + }; + orange-r_hdd { + label = "hdd2_orange"; + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; + }; + }; + + ocp at f1000000 { + pinctrl: pin-controller at 10000 { + + pinctrl-0 = <&pmx_button_power>; + pinctrl-names = "default"; + + pmx_sata0: pmx-sata0 { + marvell,pins = "mpp20"; + marvell,function = "sata0"; + }; + pmx_sata1: pmx-sata1 { + marvell,pins = "mpp21"; + marvell,function = "sata1"; + }; + pmx_led_red_right_hdd: pmx-led-red-right-hdd { + marvell,pins = "mpp22"; + marvell,function = "gpio"; + }; + pmx_led_red_left_hdd: pmx-led-red-left-hdd { + marvell,pins = "mpp23"; + marvell,function = "gpio"; + }; + pmx_power_sata: pmx-power-sata { + marvell,pins = "mpp24"; + marvell,function = "gpio"; + }; + pmx_led_usb_blue: pmx-led-usb-blue { + marvell,pins = "mpp25"; + marvell,function = "gpio"; + }; + pmx_led_usb_orange: pmx-led-usb-orange { + marvell,pins = "mpp26"; + marvell,function = "gpio"; + }; + pmx_button_usb_copy: pmx-button-usb-copy { + marvell,pins = "mpp27"; + marvell,function = "gpio"; + }; + pmx_button_reset: pmx-button-reset { + marvell,pins = "mpp28"; + marvell,function = "gpio"; + }; + pmx_button_power: pmx-button-power { // I can't get this one to trigger a button press... + marvell,pins = "mpp29"; + marvell,function = "gpio"; + }; + }; + sata at 80000 { + status = "okay"; + nr-ports = <2>; + }; + serial at 12000 { + status = "okay"; + }; + + serial at 12100 { + pinctrl-0 = <&pmx_uart1>; + pinctrl-names = "default"; + status = "okay"; + }; + }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_power_sata>; + pinctrl-names = "default"; + + sata_power: regulator at 1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "SATA Power"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio1 24 0>; + }; + }; +}; + +&nand { + pinctrl-0 = <&pmx_nand>; + pinctrl-names = "default"; + status = "okay"; + chip-delay = <35>; + + partition at 0 { + label = "u-boot"; + reg = <0x0000000 0x100000>; + read-only; + }; + + partition at 100000 { + label = "uImage"; + reg = <0x0100000 0x500000>; + }; + + partition at 600000 { + label = "ramdisk"; + reg = <0x0600000 0x500000>; + }; + + partition at b00000 { + label = "image"; + reg = <0x0b00000 0x6400000>; + }; + + partition at 6f00000 { + label = "mini firmware"; + reg = <0x6f00000 0xa00000>; + }; + + partition at 7900000 { + label = "config"; + reg = <0x7900000 0x500000>; + }; + + partition at 7e00000 { + label = "my-dlink"; + reg = <0x7e00000 0x200000>; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy at 0 { + reg = <0>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port at 0 { + phy-handle = <ðphy0>; + }; +}; diff --git a/configs/dns320l_defconfig b/configs/dns320l_defconfig new file mode 100644 index 0000000000..f281984267 --- /dev/null +++ b/configs/dns320l_defconfig @@ -0,0 +1,16 @@ +BR2_arm=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_SYSTEM_DHCP="eth0" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.5" +BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" +BR2_LINUX_KERNEL_APPENDED_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/d-link/dns320l/dts/kirkwood-dns320l.dts" +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_CPIO_UIMAGE=y + +# The package is required for proper power management +BR2_PACKAGE_DNS320L_DAEMON=y -- 2.39.2 From peter at korsgaard.com Wed Oct 4 13:32:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 4 Oct 2023 15:32:33 +0200 Subject: [Buildroot] [PATCH] package/nano: really disable nanorc for !BR2_PACKAGE_FILE Message-ID: <20231004133233.507482-1-peter@korsgaard.com> Commit 3c4fa30f7abf (package/nano: fix tiny build) tried to explicitly disable libmagic/coloring/nanorc, but accidently passed 2x --disable-libmagic instead of --disable-nanorc. Fix that. Cc: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/nano/nano.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/nano/nano.mk b/package/nano/nano.mk index 8a2003b92a..8b93527bec 100644 --- a/package/nano/nano.mk +++ b/package/nano/nano.mk @@ -34,7 +34,7 @@ ifeq ($(BR2_PACKAGE_FILE),y) NANO_DEPENDENCIES += file NANO_CONF_OPTS += --enable-libmagic --enable-color --enable-nanorc else -NANO_CONF_OPTS += --disable-libmagic --disable-libmagic --disable-color +NANO_CONF_OPTS += --disable-libmagic --disable-color --disable-nanorc endif # BR2_PACKAGE_FILE endif # BR2_PACKAGE_NANO_TINY -- 2.30.2 From adeep at lexina.in Wed Oct 4 13:27:56 2023 From: adeep at lexina.in (Viacheslav Bocharov) Date: Wed, 4 Oct 2023 16:27:56 +0300 Subject: [Buildroot] [PATCH] package/rtl8822cs: Bump driver version Message-ID: <20231004132756.548326-1-adeep@lexina.in> Bump driver version. Fix build failures: powerpc64 http://autobuild.buildroot.net/results/3600153fa9d7bb267c835ef896e35cd11458163e Signed-off-by: Viacheslav Bocharov --- package/rtl8822cs/rtl8822cs.hash | 2 +- package/rtl8822cs/rtl8822cs.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rtl8822cs/rtl8822cs.hash b/package/rtl8822cs/rtl8822cs.hash index aa3c86ce80..4b44512913 100644 --- a/package/rtl8822cs/rtl8822cs.hash +++ b/package/rtl8822cs/rtl8822cs.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 666b5312c372664b115d29fc2b2974244b0512db27ffa1c810fae30d1c714063 rtl8822cs-758d861bfa4d18d39e4297c550fd684c9817eb0d.tar.gz +sha256 b3b8543ff6d6d602ffaf60342969830edc8205917b96d004f84ed79524894dc7 rtl8822cs-2e4e99ae1502b173a938357dc1087e49475b26ed.tar.gz diff --git a/package/rtl8822cs/rtl8822cs.mk b/package/rtl8822cs/rtl8822cs.mk index 2db769aa69..6036acb864 100644 --- a/package/rtl8822cs/rtl8822cs.mk +++ b/package/rtl8822cs/rtl8822cs.mk @@ -4,7 +4,7 @@ # ################################################################################ -RTL8822CS_VERSION = 758d861bfa4d18d39e4297c550fd684c9817eb0d +RTL8822CS_VERSION = 2e4e99ae1502b173a938357dc1087e49475b26ed RTL8822CS_SITE = $(call github,jethome-ru,rtl88x2cs,$(RTL8822CS_VERSION)) RTL8822CS_LICENSE = GPL-2.0 -- 2.34.1 From thomas.perale at essensium.com Wed Oct 4 14:22:56 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:22:56 +0200 Subject: [Buildroot] [PATCH 0/6] support for a pre-built Go compiler Message-ID: <20231004142303.203520-1-thomas.perale@essensium.com> From: Thomas Perale Improvement suggested on the buildroot TODO list (https://www.elinux.org/Buildroot#Todo_list). This patch adds support for a pre-built version of the Go compiler that doesn't requires users to go through the different compilation stages of the Go compiler and speeds up the overall build time. This is a new version of a patch I proposed for the same feature last year (see https://lore.kernel.org/buildroot/CA+h8R2pNRrBsChKS3PHQtT0_rsVF3Wi3LwMTD9jKFoKf1ot2-A at mail.gmail.com/#b) and with a fix of the typo I made on the [PATCH 6/6]. It introduces a new directory structure for host compilers with different providers: package/ ?? go/ <-- Virtual package ? ?? go-src/ <-- Build from source option ? ?? go-bin/ <-- Download pre-built option ? ?? go-bootstrap-stage1/ <-- Dependency for go-bootstrap-stage2 ? ?? go-bootstrap-stage2/ <-- Dependency for go-src ? ?? go.mk <-- Common variables ? ?? Config.in <-- Common variables/virtual package definition The subdirectory structure is used to put the `GO_VERSION` variable in common between the different provider. This subdirectory proposal should be extended to the Rust compiler case and NodeJS proposal Thomas Petazzoni did (https://patchwork.ozlabs.org/project/buildroot/list/?series=319967) to unify the naming of for the different compilers options. Thomas Perale (6): DEVELOPERS: add Thomas Perale for 'go' package/go: new subdirectory for go variants package/go: make host package a virtual package package/pkg-golang: select go compiler package/go/go-bin: new go provider support/testing: add tests for Go providers .checkpackageignore | 2 +- DEVELOPERS | 5 +- package/Config.in.host | 2 - package/balena-engine/Config.in | 1 + package/cni-plugins/Config.in | 1 + package/containerd/Config.in | 1 + package/crucible/Config.in | 1 + package/delve/Config.in | 1 + package/delve/Config.in.host | 1 + package/docker-cli/Config.in | 1 + package/docker-compose/Config.in | 1 + package/docker-engine/Config.in | 1 + package/embiggen-disk/Config.in | 1 + package/flannel/Config.in | 1 + package/gitlab-runner/Config.in | 1 + package/go/Config.in.host | 44 +++++++++++++++ package/go/go-bin/Config.in.host | 14 +++++ package/go/go-bin/go-bin.hash | 8 +++ package/go/go-bin/go-bin.mk | 19 +++++++ .../go-bootstrap-stage1/Config.in.host | 0 .../go-bootstrap-stage1.hash | 0 .../go-bootstrap-stage1.mk | 0 .../go-bootstrap-stage2/Config.in.host | 0 .../go-bootstrap-stage2.hash | 0 .../go-bootstrap-stage2.mk | 0 ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{go.hash => go-src/go-src.hash} | 0 package/go/go-src/go-src.mk | 54 +++++++++++++++++++ package/go/go.mk | 42 ++------------- package/gocryptfs/Config.in | 1 + package/mender-artifact/Config.in.host | 1 + package/mender-connect/Config.in | 1 + package/mender/Config.in | 1 + package/moby-buildkit/Config.in | 1 + package/moby-buildkit/Config.in.host | 1 + package/nerdctl/Config.in | 1 + package/runc/Config.in | 1 + package/runc/Config.in.host | 1 + package/tinifier/Config.in | 1 + package/wtfutil/Config.in | 1 + support/testing/tests/package/test_go.py | 41 ++++++++++++++ 42 files changed, 211 insertions(+), 43 deletions(-) create mode 100644 package/go/go-bin/Config.in.host create mode 100644 package/go/go-bin/go-bin.hash create mode 100644 package/go/go-bin/go-bin.mk rename package/{ => go}/go-bootstrap-stage1/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.hash (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.mk (100%) rename package/{ => go}/go-bootstrap-stage2/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.hash (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.mk (100%) rename package/go/{ => go-src}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{ => go-src}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{go.hash => go-src/go-src.hash} (100%) create mode 100644 package/go/go-src/go-src.mk create mode 100644 support/testing/tests/package/test_go.py -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:22:57 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:22:57 +0200 Subject: [Buildroot] [PATCH 1/6] DEVELOPERS: add Thomas Perale for 'go' In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-2-thomas.perale@essensium.com> From: Thomas Perale Signed-off-by: Thomas Perale --- DEVELOPERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..4681b2a21f 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2898,6 +2898,9 @@ F: package/frotz/ F: package/kvm-unit-tests/ F: package/xorcurses/ +N: Thomas Perale +F: package/go/ + N: Thomas Petazzoni F: arch/Config.in.arm F: board/beaglev/ -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:22:58 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:22:58 +0200 Subject: [Buildroot] [PATCH 2/6] package/go: new subdirectory for go variants In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-3-thomas.perale@essensium.com> From: Thomas Perale Move every go compiler-related packages into a newly created package/go/ subdirectory. All the common variables are kept in package/go/go.mk and package/go/Config.in.host. This subdirectory structure move the GO_VERSION variable in common in the package/go/go.mk file. In the next commits host-go will be turned into a virtual-package and the common GO_VERSION force the providers to use the same Go compiler version. Also, the subdirectory structure force the evaluation of the common GO_VERSION before the providers access it. Signed-off-by: Thomas Perale --- .checkpackageignore | 2 +- DEVELOPERS | 2 - package/Config.in.host | 2 - package/go/Config.in.host | 3 ++ .../go-bootstrap-stage1/Config.in.host | 0 .../go-bootstrap-stage1.hash | 0 .../go-bootstrap-stage1.mk | 0 .../go-bootstrap-stage2/Config.in.host | 0 .../go-bootstrap-stage2.hash | 0 .../go-bootstrap-stage2.mk | 0 package/go/go.mk | 40 +------------- ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{ => go}/go.hash | 0 package/go/go/go.mk | 53 +++++++++++++++++++ 15 files changed, 59 insertions(+), 43 deletions(-) rename package/{ => go}/go-bootstrap-stage1/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.hash (100%) rename package/{ => go}/go-bootstrap-stage1/go-bootstrap-stage1.mk (100%) rename package/{ => go}/go-bootstrap-stage2/Config.in.host (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.hash (100%) rename package/{ => go}/go-bootstrap-stage2/go-bootstrap-stage2.mk (100%) rename package/go/{ => go}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{ => go}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{ => go}/go.hash (100%) create mode 100644 package/go/go/go.mk diff --git a/.checkpackageignore b/.checkpackageignore index 28de1745e4..becaf6a9fc 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -514,7 +514,7 @@ package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch Upstream package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch Upstream package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch Upstream package/gnuplot/0001-configure-add-without-demo-option.patch Upstream -package/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream +package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream package/gob2/0001-dont-include-from-prefix.patch Upstream package/gobject-introspection/0001-disable-tests.patch Upstream package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch Upstream diff --git a/DEVELOPERS b/DEVELOPERS index 4681b2a21f..b9c7b4f1a9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -586,8 +586,6 @@ F: package/docker-engine/ F: package/embiggen-disk/ F: package/fuse-overlayfs/ F: package/go/ -F: package/go-bootstrap-stage1/ -F: package/go-bootstrap-stage2/ F: package/gocryptfs/ F: package/mbpfan/ F: package/moby-buildkit/ diff --git a/package/Config.in.host b/package/Config.in.host index c80842c33a..3a8e613fa3 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -44,8 +44,6 @@ menu "Host utilities" source "package/genpart/Config.in.host" source "package/gnupg/Config.in.host" source "package/go/Config.in.host" - source "package/go-bootstrap-stage1/Config.in.host" - source "package/go-bootstrap-stage2/Config.in.host" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" diff --git a/package/go/Config.in.host b/package/go/Config.in.host index b87b862cec..277d75e2b6 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -31,3 +31,6 @@ config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + +source "package/go/go-bootstrap-stage1/Config.in.host" +source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go-bootstrap-stage1/Config.in.host b/package/go/go-bootstrap-stage1/Config.in.host similarity index 100% rename from package/go-bootstrap-stage1/Config.in.host rename to package/go/go-bootstrap-stage1/Config.in.host diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.hash b/package/go/go-bootstrap-stage1/go-bootstrap-stage1.hash similarity index 100% rename from package/go-bootstrap-stage1/go-bootstrap-stage1.hash rename to package/go/go-bootstrap-stage1/go-bootstrap-stage1.hash diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.mk b/package/go/go-bootstrap-stage1/go-bootstrap-stage1.mk similarity index 100% rename from package/go-bootstrap-stage1/go-bootstrap-stage1.mk rename to package/go/go-bootstrap-stage1/go-bootstrap-stage1.mk diff --git a/package/go-bootstrap-stage2/Config.in.host b/package/go/go-bootstrap-stage2/Config.in.host similarity index 100% rename from package/go-bootstrap-stage2/Config.in.host rename to package/go/go-bootstrap-stage2/Config.in.host diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash b/package/go/go-bootstrap-stage2/go-bootstrap-stage2.hash similarity index 100% rename from package/go-bootstrap-stage2/go-bootstrap-stage2.hash rename to package/go/go-bootstrap-stage2/go-bootstrap-stage2.hash diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk b/package/go/go-bootstrap-stage2/go-bootstrap-stage2.mk similarity index 100% rename from package/go-bootstrap-stage2/go-bootstrap-stage2.mk rename to package/go/go-bootstrap-stage2/go-bootstrap-stage2.mk diff --git a/package/go/go.mk b/package/go/go.mk index 6f080be5c0..21051a2050 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -5,14 +5,7 @@ ################################################################################ GO_VERSION = 1.21.1 -GO_SITE = https://storage.googleapis.com/golang -GO_SOURCE = go$(GO_VERSION).src.tar.gz -GO_LICENSE = BSD-3-Clause -GO_LICENSE_FILES = LICENSE -GO_CPE_ID_VENDOR = golang - -HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 HOST_GO_GOPATH = $(HOST_DIR)/share/go-path HOST_GO_HOST_CACHE = $(HOST_DIR)/share/host-go-cache HOST_GO_ROOT = $(HOST_DIR)/lib/go @@ -96,15 +89,6 @@ else HOST_GO_CGO_ENABLED = 0 endif -HOST_GO_CROSS_ENV = \ - CC_FOR_TARGET="$(TARGET_CC)" \ - CXX_FOR_TARGET="$(TARGET_CXX)" \ - GOOS="linux" \ - GOARCH=$(GO_GOARCH) \ - $(if $(GO_GO386),GO386=$(GO_GO386)) \ - $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ - GO_ASSUME_CROSSCOMPILING=1 - else # !BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS # host-go can still be used to build packages for the host. No need to set all # the arch stuff since we will not be cross-compiling. @@ -123,27 +107,7 @@ HOST_GO_HOST_ENV = \ CGO_CXXFLAGS="$(HOST_CXXFLAGS)" \ CGO_LDFLAGS="$(HOST_LDFLAGS)" -# The go build system is not compatible with ccache, so use -# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. -HOST_GO_MAKE_ENV = \ - GO111MODULE=off \ - GOCACHE=$(HOST_GO_HOST_CACHE) \ - GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ - GOROOT_FINAL=$(HOST_GO_ROOT) \ - GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" \ - GOOS=linux \ - CC=$(HOSTCC_NOCCACHE) \ - CXX=$(HOSTCXX_NOCCACHE) \ - CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ - $(HOST_GO_CROSS_ENV) - -define HOST_GO_BUILD_CMDS - cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) -endef - -define HOST_GO_INSTALL_CMDS +define GO_BINARIES_INSTALL $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt @@ -165,4 +129,4 @@ define HOST_GO_INSTALL_CMDS find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef -$(eval $(host-generic-package)) +include $(sort $(wildcard package/go/*/*.mk)) diff --git a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch similarity index 100% rename from package/go/0001-build.go-explicit-option-for-crosscompilation.patch rename to package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch similarity index 100% rename from package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch rename to package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch diff --git a/package/go/go.hash b/package/go/go/go.hash similarity index 100% rename from package/go/go.hash rename to package/go/go/go.hash diff --git a/package/go/go/go.mk b/package/go/go/go.mk new file mode 100644 index 0000000000..8e3780eb29 --- /dev/null +++ b/package/go/go/go.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# go +# +################################################################################ + +GO_SITE = https://storage.googleapis.com/golang +GO_SOURCE = go$(GO_VERSION).src.tar.gz + +GO_LICENSE = BSD-3-Clause +GO_LICENSE_FILES = LICENSE +GO_CPE_ID_VENDOR = golang + +HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 + +ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) + +HOST_GO_CROSS_ENV = \ + CC_FOR_TARGET="$(TARGET_CC)" \ + CXX_FOR_TARGET="$(TARGET_CXX)" \ + GOOS="linux" \ + GOARCH=$(GO_GOARCH) \ + $(if $(GO_GO386),GO386=$(GO_GO386)) \ + $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ + GO_ASSUME_CROSSCOMPILING=1 + +endif + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_MAKE_ENV = \ + GO111MODULE=off \ + GOCACHE=$(HOST_GO_HOST_CACHE) \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ + GOROOT_FINAL=$(HOST_GO_ROOT) \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + GOOS=linux \ + CC=$(HOSTCC_NOCCACHE) \ + CXX=$(HOSTCXX_NOCCACHE) \ + CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ + $(HOST_GO_CROSS_ENV) + +define HOST_GO_BUILD_CMDS + cd $(@D)/src && \ + $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) +endef + +define HOST_GO_INSTALL_CMDS + $(GO_BINARIES_INSTALL) +endef + +$(eval $(host-generic-package)) -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:22:59 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:22:59 +0200 Subject: [Buildroot] [PATCH 3/6] package/go: make host package a virtual package In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-4-thomas.perale@essensium.com> From: Thomas Perale Turn host-go into a virtual package, which has two providers: - host-go-src, which build host-go from source based on the same logic that was previously used in package/go/go/go.mk, now moved in package/go/go-src/go-src.mk to remove any ambiguity on the role of the package. - host-go-bin, which will be introduced in the next commit and installs a pre-built Go compiler. The usage of a virtual package enables the support for pre-built Go compiler which reduce the build time for of host-go. A similar solution is proposed for host-rust. By default, host-go is built from sources to keep the same behaviour as the former version. Signed-off-by: Thomas Perale --- .checkpackageignore | 2 +- package/go/Config.in.host | 32 +++++++++++++++++++ ...explicit-option-for-crosscompilation.patch | 0 ...ldvcs-false-when-building-go-bootstr.patch | 0 package/go/{go/go.hash => go-src/go-src.hash} | 0 package/go/{go/go.mk => go-src/go-src.mk} | 25 ++++++++------- package/go/go.mk | 2 ++ 7 files changed, 48 insertions(+), 13 deletions(-) rename package/go/{go => go-src}/0001-build.go-explicit-option-for-crosscompilation.patch (100%) rename package/go/{go => go-src}/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch (100%) rename package/go/{go/go.hash => go-src/go-src.hash} (100%) rename package/go/{go/go.mk => go-src/go-src.mk} (68%) diff --git a/.checkpackageignore b/.checkpackageignore index becaf6a9fc..ca4b2a8afb 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -514,7 +514,7 @@ package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch Upstream package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch Upstream package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch Upstream package/gnuplot/0001-configure-add-without-demo-option.patch Upstream -package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch Upstream +package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch Upstream package/gob2/0001-dont-include-from-prefix.patch Upstream package/gobject-introspection/0001-disable-tests.patch Upstream package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch Upstream diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 277d75e2b6..742d484420 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -32,5 +32,37 @@ config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS +config BR2_PACKAGE_HOST_GO + bool "host go compiler" + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + help + Compiler for the Go language + + https://go.dev + +if BR2_PACKAGE_HOST_GO + +choice + prompt "Go compiler variant" + default BR2_PACKAGE_HOST_GO_SRC + help + Select a Go compiler variant. + + Default to 'host-go-src'. + +config BR2_PACKAGE_HOST_GO_SRC + bool "host go (source)" + help + This package will build the go compiler for the host. + +endchoice + +config BR2_PACKAGE_PROVIDES_HOST_GO + string + # Default to host-go-src + default "host-go-src" if BR2_PACKAGE_HOST_GO_SRC + +endif + source "package/go/go-bootstrap-stage1/Config.in.host" source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch similarity index 100% rename from package/go/go/0001-build.go-explicit-option-for-crosscompilation.patch rename to package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch diff --git a/package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/go-src/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch similarity index 100% rename from package/go/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch rename to package/go/go-src/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch diff --git a/package/go/go/go.hash b/package/go/go-src/go-src.hash similarity index 100% rename from package/go/go/go.hash rename to package/go/go-src/go-src.hash diff --git a/package/go/go/go.mk b/package/go/go-src/go-src.mk similarity index 68% rename from package/go/go/go.mk rename to package/go/go-src/go-src.mk index 8e3780eb29..07809ecb3e 100644 --- a/package/go/go/go.mk +++ b/package/go/go-src/go-src.mk @@ -1,21 +1,22 @@ ################################################################################ # -# go +# go-src # ################################################################################ -GO_SITE = https://storage.googleapis.com/golang -GO_SOURCE = go$(GO_VERSION).src.tar.gz +GO_SRC_SITE = https://storage.googleapis.com/golang +GO_SRC_SOURCE = go$(GO_VERSION).src.tar.gz -GO_LICENSE = BSD-3-Clause -GO_LICENSE_FILES = LICENSE -GO_CPE_ID_VENDOR = golang +GO_SRC_LICENSE = BSD-3-Clause +GO_SRC_LICENSE_FILES = LICENSE +GO_SRC_CPE_ID_VENDOR = golang -HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 +HOST_GO_SRC_PROVIDES = host-go +HOST_GO_SRC_DEPENDENCIES = host-go-bootstrap-stage2 ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) -HOST_GO_CROSS_ENV = \ +HOST_GO_SRC_CROSS_ENV = \ CC_FOR_TARGET="$(TARGET_CC)" \ CXX_FOR_TARGET="$(TARGET_CXX)" \ GOOS="linux" \ @@ -28,7 +29,7 @@ endif # The go build system is not compatible with ccache, so use # HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. -HOST_GO_MAKE_ENV = \ +HOST_GO_SRC_MAKE_ENV = \ GO111MODULE=off \ GOCACHE=$(HOST_GO_HOST_CACHE) \ GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ @@ -41,12 +42,12 @@ HOST_GO_MAKE_ENV = \ CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ $(HOST_GO_CROSS_ENV) -define HOST_GO_BUILD_CMDS +define HOST_GO_SRC_BUILD_CMDS cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) + $(HOST_GO_SRC_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) endef -define HOST_GO_INSTALL_CMDS +define HOST_GO_SRC_INSTALL_CMDS $(GO_BINARIES_INSTALL) endef diff --git a/package/go/go.mk b/package/go/go.mk index 21051a2050..42ea218e6c 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -129,4 +129,6 @@ define GO_BINARIES_INSTALL find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef +$(eval $(host-virtual-package)) + include $(sort $(wildcard package/go/*/*.mk)) -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:23:00 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:23:00 +0200 Subject: [Buildroot] [PATCH 4/6] package/pkg-golang: select go compiler In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-5-thomas.perale@essensium.com> From: Thomas Perale Select the 'go' virtual package in every package built by the Go compiler. This maintains the correct dependencies in 'menuconfig'. The same pattern is currently used for Rust packages. Signed-off-by: Thomas Perale --- package/balena-engine/Config.in | 1 + package/cni-plugins/Config.in | 1 + package/containerd/Config.in | 1 + package/crucible/Config.in | 1 + package/delve/Config.in | 1 + package/delve/Config.in.host | 1 + package/docker-cli/Config.in | 1 + package/docker-compose/Config.in | 1 + package/docker-engine/Config.in | 1 + package/embiggen-disk/Config.in | 1 + package/flannel/Config.in | 1 + package/gitlab-runner/Config.in | 1 + package/gocryptfs/Config.in | 1 + package/mender-artifact/Config.in.host | 1 + package/mender-connect/Config.in | 1 + package/mender/Config.in | 1 + package/moby-buildkit/Config.in | 1 + package/moby-buildkit/Config.in.host | 1 + package/nerdctl/Config.in | 1 + package/runc/Config.in | 1 + package/runc/Config.in.host | 1 + package/tinifier/Config.in | 1 + package/wtfutil/Config.in | 1 + 23 files changed, 23 insertions(+) diff --git a/package/balena-engine/Config.in b/package/balena-engine/Config.in index 02f694515e..5966b33f58 100644 --- a/package/balena-engine/Config.in +++ b/package/balena-engine/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_BALENA_ENGINE depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU # util-linux select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_IPTABLES # runtime select BR2_PACKAGE_UTIL_LINUX # runtime select BR2_PACKAGE_UTIL_LINUX_BINARIES # runtime diff --git a/package/cni-plugins/Config.in b/package/cni-plugins/Config.in index 25e6ff534d..6d4ca0a5b4 100644 --- a/package/cni-plugins/Config.in +++ b/package/cni-plugins/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_CNI_PLUGINS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU + select BR2_PACKAGE_HOST_GO help Container Networking Interface plugins. diff --git a/package/containerd/Config.in b/package/containerd/Config.in index e69dd6768a..e92764f304 100644 --- a/package/containerd/Config.in +++ b/package/containerd/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_CONTAINERD depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc depends on BR2_USE_MMU # util-linux + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # runtime dependency select BR2_PACKAGE_UTIL_LINUX # runtime dependency select BR2_PACKAGE_UTIL_LINUX_BINARIES diff --git a/package/crucible/Config.in b/package/crucible/Config.in index b27eb31ae5..1e1b29c3df 100644 --- a/package/crucible/Config.in +++ b/package/crucible/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_CRUCIBLE bool "crucible" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help Crucible is a One-Time-Programmable (OTP) fusing tool for the i.MX family. diff --git a/package/delve/Config.in b/package/delve/Config.in index 9428e4016a..288dc1ea15 100644 --- a/package/delve/Config.in +++ b/package/delve/Config.in @@ -7,6 +7,7 @@ config BR2_PACKAGE_DELVE_ARCH_SUPPORTS default y if BR2_x86_64 depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + select BR2_PACKAGE_HOST_GO config BR2_PACKAGE_DELVE bool "delve" diff --git a/package/delve/Config.in.host b/package/delve/Config.in.host index dab5ca8914..0938ab0659 100644 --- a/package/delve/Config.in.host +++ b/package/delve/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_DELVE bool "host delve" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help Delve is a debugger for the Go programming language. diff --git a/package/docker-cli/Config.in b/package/docker-cli/Config.in index 6f187c9d22..52e7f7c871 100644 --- a/package/docker-cli/Config.in +++ b/package/docker-cli/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_DOCKER_CLI depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help Docker is a platform to build, ship, and run applications as lightweight containers. diff --git a/package/docker-compose/Config.in b/package/docker-compose/Config.in index 59128f7a19..f3560e402b 100644 --- a/package/docker-compose/Config.in +++ b/package/docker-compose/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_DOCKER_COMPOSE depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_PACKAGE_DOCKER_CLI + select BR2_PACKAGE_HOST_GO help Multi-container applications with the Docker CLI. diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 570b2ff681..a6d8f64a1c 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_DOCKER_ENGINE depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # libseccomp select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency select BR2_PACKAGE_CONTAINERD # runtime dependency + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_IPTABLES # runtime dependency select BR2_PACKAGE_LIBSECCOMP help diff --git a/package/embiggen-disk/Config.in b/package/embiggen-disk/Config.in index 667d71c86e..c323fb1b6d 100644 --- a/package/embiggen-disk/Config.in +++ b/package/embiggen-disk/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_EMBIGGEN_DISK depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve depends on BR2_USE_MMU # util-linux + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_UTIL_LINUX # sfdisk select BR2_PACKAGE_UTIL_LINUX_BINARIES # sfdisk help diff --git a/package/flannel/Config.in b/package/flannel/Config.in index eb8d798f48..f37cfaa9cc 100644 --- a/package/flannel/Config.in +++ b/package/flannel/Config.in @@ -8,6 +8,7 @@ config BR2_PACKAGE_FLANNEL depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help Flannel is a virtual network that gives a subnet to each host for use with container runtimes. diff --git a/package/gitlab-runner/Config.in b/package/gitlab-runner/Config.in index 4289613ab9..cfe8c941bc 100644 --- a/package/gitlab-runner/Config.in +++ b/package/gitlab-runner/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_GITLAB_RUNNER select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash select BR2_PACKAGE_CA_CERTIFICATES # runtime select BR2_PACKAGE_GIT # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_LIBCURL # runtime select BR2_PACKAGE_LIBCURL_CURL # runtime select BR2_PACKAGE_LIBCURL_FORCE_TLS # runtime diff --git a/package/gocryptfs/Config.in b/package/gocryptfs/Config.in index 2630cafdcf..2c70b9b21b 100644 --- a/package/gocryptfs/Config.in +++ b/package/gocryptfs/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_GOCRYPTFS bool "gocryptfs" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO help gocryptfs is an encrypted FUSE overlay filesystem. diff --git a/package/mender-artifact/Config.in.host b/package/mender-artifact/Config.in.host index c7be0ed261..39353b23e7 100644 --- a/package/mender-artifact/Config.in.host +++ b/package/mender-artifact/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_MENDER_ARTIFACT bool "host mender-artifact" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help The mender-artifact tool is a CLI implementation of the Mender artifacts library. diff --git a/package/mender-connect/Config.in b/package/mender-connect/Config.in index 0845910880..d478e468c2 100644 --- a/package/mender-connect/Config.in +++ b/package/mender-connect/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_MENDER_CONNECT depends on BR2_USE_WCHAR # libglib2 -> gettext depends on BR2_USE_MMU # dbus -> fork() select BR2_PACKAGE_DBUS # runtime + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_MENDER # runtime select BR2_PACKAGE_OPENSSL diff --git a/package/mender/Config.in b/package/mender/Config.in index 7d768cebec..4831548f76 100644 --- a/package/mender/Config.in +++ b/package/mender/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_MENDER depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 diff --git a/package/moby-buildkit/Config.in b/package/moby-buildkit/Config.in index 93c852bcdb..1a0b599097 100644 --- a/package/moby-buildkit/Config.in +++ b/package/moby-buildkit/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_MOBY_BUILDKIT depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on BR2_USE_MMU select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency + select BR2_PACKAGE_HOST_GO help BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. diff --git a/package/moby-buildkit/Config.in.host b/package/moby-buildkit/Config.in.host index a3b18548f8..d4eb0d74c3 100644 --- a/package/moby-buildkit/Config.in.host +++ b/package/moby-buildkit/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_MOBY_BUILDKIT bool "host moby-buildkit" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help BuildKit is a toolkit for converting source code to build artifacts in an efficient expressive and repeatable manner. diff --git a/package/nerdctl/Config.in b/package/nerdctl/Config.in index 969b9bb40e..062b36ab85 100644 --- a/package/nerdctl/Config.in +++ b/package/nerdctl/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_NERDCTL depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd depends on BR2_USE_MMU # util-linux select BR2_PACKAGE_CONTAINERD # runtime + select BR2_PACKAGE_HOST_GO help Docker-compatible CLI for containerd, controlling runc. diff --git a/package/runc/Config.in b/package/runc/Config.in index fe527b1954..73eac72527 100644 --- a/package/runc/Config.in +++ b/package/runc/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_RUNC depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve + select BR2_PACKAGE_HOST_GO help runC is a CLI tool for spawning and running containers according to the OCI specification. diff --git a/package/runc/Config.in.host b/package/runc/Config.in.host index 4b2555e029..78193cb499 100644 --- a/package/runc/Config.in.host +++ b/package/runc/Config.in.host @@ -1,6 +1,7 @@ config BR2_PACKAGE_HOST_RUNC bool "host runc" depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help runC is a CLI tool for spawning and running containers according to the OCI specification. diff --git a/package/tinifier/Config.in b/package/tinifier/Config.in index fbadfe6bd9..eae8b8f499 100644 --- a/package/tinifier/Config.in +++ b/package/tinifier/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TINIFIER bool "tinifier" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help CLI tool for images compressing diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in index 8c3efcea5d..3fd8c41bab 100644 --- a/package/wtfutil/Config.in +++ b/package/wtfutil/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_WTFUTIL bool "wtfutil" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_GO help WTF is the personal information dashboard for your terminal. -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:23:01 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:23:01 +0200 Subject: [Buildroot] [PATCH 5/6] package/go/go-bin: new go provider In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-6-thomas.perale@essensium.com> From: Thomas Perale This package provides a pre-built version for the host-go virtual package introduced in the previous commits. host-go-bin install a pre-built version of the Go compiler. The menuconfig entry for host-go is updated to expose the host-go-bin provider. The dependencies are set as such as if host-go-bin does not support the host architecture it will automatically fall back to host-go-src and vice-versa. Signed-off-by: Thomas Perale --- package/go/Config.in.host | 15 ++++++++++++--- package/go/go-bin/Config.in.host | 14 ++++++++++++++ package/go/go-bin/go-bin.hash | 8 ++++++++ package/go/go-bin/go-bin.mk | 19 +++++++++++++++++++ 4 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 package/go/go-bin/Config.in.host create mode 100644 package/go/go-bin/go-bin.hash create mode 100644 package/go/go-bin/go-bin.mk diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 742d484420..b3906fbae5 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -30,11 +30,11 @@ config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS || BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS config BR2_PACKAGE_HOST_GO bool "host go compiler" - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS help Compiler for the Go language @@ -44,7 +44,8 @@ if BR2_PACKAGE_HOST_GO choice prompt "Go compiler variant" - default BR2_PACKAGE_HOST_GO_SRC + default BR2_PACKAGE_HOST_GO_SRC if BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + default BR2_PACKAGE_HOST_GO_BIN if BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS help Select a Go compiler variant. @@ -52,9 +53,16 @@ choice config BR2_PACKAGE_HOST_GO_SRC bool "host go (source)" + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS help This package will build the go compiler for the host. +config BR2_PACKAGE_HOST_GO_BIN + bool "host go (pre-built)" + depends on BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + help + This package will install pre-built versions of the compiler + endchoice config BR2_PACKAGE_PROVIDES_HOST_GO @@ -64,5 +72,6 @@ config BR2_PACKAGE_PROVIDES_HOST_GO endif +source "package/go/go-bin/Config.in.host" source "package/go/go-bootstrap-stage1/Config.in.host" source "package/go/go-bootstrap-stage2/Config.in.host" diff --git a/package/go/go-bin/Config.in.host b/package/go/go-bin/Config.in.host new file mode 100644 index 0000000000..b259afa197 --- /dev/null +++ b/package/go/go-bin/Config.in.host @@ -0,0 +1,14 @@ +config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH + string "Translate the HOSTARCH into the architecture name used by the Go compiler" + default armv6l if BR2_HOSTARCH = "arm" + default arm64 if BR2_HOSTARCH = "aarch64" + default ppc64le if BR2_HOSTARCH = "powerpc64le" + default s390x if BR2_HOSTARCH = "s390x" + default 386 if BR2_HOSTARCH = "x86" + default amd64 if BR2_HOSTARCH = "x86_64" + default "" + +config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH != "" diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash new file mode 100644 index 0000000000..3952014f44 --- /dev/null +++ b/package/go/go-bin/go-bin.hash @@ -0,0 +1,8 @@ +# sha256 checksum from https://go.dev/dl/ +sha256 b93850666cdadbd696a986cf7b03111fe99db8c34a9aaa113d7c96d0081e1901 go1.21.1.linux-386.tar.gz +sha256 b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae go1.21.1.linux-amd64.tar.gz +sha256 7da1a3936a928fd0b2602ed4f3ef535b8cd1990f1503b8d3e1acc0fa0759c967 go1.21.1.linux-arm64.tar.gz +sha256 f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85 go1.21.1.linux-armv6l.tar.gz +sha256 eddf018206f8a5589bda75252b72716d26611efebabdca5d0083ec15e9e41ab7 go1.21.1.linux-ppc64le.tar.gz +sha256 a83b3e8eb4dbf76294e773055eb51397510ff4d612a247bad9903560267bba6d go1.21.1.linux-s390x.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go-bin/go-bin.mk b/package/go/go-bin/go-bin.mk new file mode 100644 index 0000000000..6c5c1b6485 --- /dev/null +++ b/package/go/go-bin/go-bin.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# go-bin +# +################################################################################ + +GO_BIN_SITE = https://go.dev/dl +GO_BIN_LICENSE = BSD-3-Clause +GO_BIN_LICENSE_FILES = LICENSE + +HOST_GO_BIN_PROVIDES = host-go + +HOST_GO_BIN_SOURCE = go$(GO_VERSION).linux-$(call qstrip, $(BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH)).tar.gz + +define HOST_GO_BIN_INSTALL_CMDS + $(GO_BINARIES_INSTALL) +endef + +$(eval $(host-generic-package)) -- 2.42.0 From thomas.perale at essensium.com Wed Oct 4 14:23:02 2023 From: thomas.perale at essensium.com (Thomas Perale) Date: Wed, 4 Oct 2023 16:23:02 +0200 Subject: [Buildroot] [PATCH 6/6] support/testing: add tests for Go providers In-Reply-To: <20231004142303.203520-1-thomas.perale@essensium.com> References: <20231004142303.203520-1-thomas.perale@essensium.com> Message-ID: <20231004142303.203520-7-thomas.perale@essensium.com> From: Thomas Perale Test the two providers of host-go to build a Go package. - TestGoBin tests host-go-bin - TestGoSource tests host-go-src The tests consist of building and installing a Go package in the root file system of a ARM vexpress QEMU system. The tests pass if the program can be ran correctly on the target. Signed-off-by: Thomas Perale --- support/testing/tests/package/test_go.py | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 support/testing/tests/package/test_go.py diff --git a/support/testing/tests/package/test_go.py b/support/testing/tests/package/test_go.py new file mode 100644 index 0000000000..305f8aeb3b --- /dev/null +++ b/support/testing/tests/package/test_go.py @@ -0,0 +1,41 @@ +import os + +import infra.basetest + + +class TestGoBase(infra.basetest.BRTest): + + def login(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() + + +class TestGoBin(TestGoBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + BR2_PACKAGE_HOST_GO=y + BR2_PACKAGE_HOST_GO_BIN=y + BR2_PACKAGE_TINIFIER=y + """ + + def test_run(self): + self.login() + self.assertRunOk("tinifier -h") + + +class TestGoSource(TestGoBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + BR2_PACKAGE_HOST_GO=y + BR2_PACKAGE_HOST_GO_SRC=y + BR2_PACKAGE_TINIFIER=y + """ + + def test_run(self): + self.login() + self.assertRunOk("tinifier -h") -- 2.42.0 From stefan at agner.ch Wed Oct 4 16:17:36 2023 From: stefan at agner.ch (Stefan Agner) Date: Wed, 4 Oct 2023 18:17:36 +0200 Subject: [Buildroot] [PATCH] package/containerd: add control for additional build tags Message-ID: <4642abb656bb8e63ff759d6f2ab6eafeb2e3d39d.1696436249.git.stefan@agner.ch> Disable the AUFS snapshotter by default. AUFS support has been deprecated since v1.5 and won't be available with containerd v2.0. Add configuration option for the ZFS snapshotter and add the proper runtime dependencies. Add configuration option for Kubernetes CRI support. Note that CRI support requires a writeable /etc or an appropriate containerd configuration. Signed-off-by: Stefan Agner --- package/containerd/Config.in | 22 ++++++++++++++++++++++ package/containerd/containerd.mk | 13 +++++++++++++ 2 files changed, 35 insertions(+) diff --git a/package/containerd/Config.in b/package/containerd/Config.in index e69dd6768a..ceec5752df 100644 --- a/package/containerd/Config.in +++ b/package/containerd/Config.in @@ -26,6 +26,28 @@ config BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS help Build the btrfs snapshot driver for containerd. +config BR2_PACKAGE_CONTAINERD_DRIVER_DEVMAPPER + bool "devmapper snapshot driver" + depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 + depends on BR2_USE_MMU # lvm2 + depends on !BR2_STATIC_LIBS # lvm2 + select BR2_PACKAGE_LVM2 + help + Build the devmapper snapshot driver for containerd. + +config BR2_PACKAGE_CONTAINERD_DRIVER_ZFS + bool "zfs snapshot driver" + depends on BR2_LINUX_KERNEL # zfs + depends on BR2_PACKAGE_HAS_UDEV # zfs + select BR2_PACKAGE_ZFS + help + Build the zfs snapshot driver for containerd. + +config BR2_PACKAGE_CONTAINERD_CRI + bool "Build Kubernetes CRI support" + help + Build containerd with Kubernetes CRI support. + endif comment "containerd needs a glibc or musl toolchain w/ threads" diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 0591400709..f5a93f5f91 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -24,6 +24,7 @@ CONTAINERD_BUILD_TARGETS = \ cmd/ctr CONTAINERD_INSTALL_BINS = $(notdir $(CONTAINERD_BUILD_TARGETS)) +CONTAINERD_TAGS = no_aufs ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) CONTAINERD_DEPENDENCIES += libapparmor @@ -41,6 +42,18 @@ else CONTAINERD_TAGS += no_btrfs endif +ifneq ($(BR2_PACKAGE_CONTAINERD_DRIVER_DEVMAPPER),y) +CONTAINERD_TAGS += no_devmapper +endif + +ifneq ($(BR2_PACKAGE_CONTAINERD_DRIVER_ZFS),y) +CONTAINERD_TAGS += no_zfs +endif + +ifneq ($(BR2_PACKAGE_CONTAINERD_CRI),y) +CONTAINERD_TAGS += no_cri +endif + define CONTAINERD_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 0644 $(@D)/containerd.service \ $(TARGET_DIR)/usr/lib/systemd/system/containerd.service -- 2.42.0 From christian at aperture.us Wed Oct 4 17:38:01 2023 From: christian at aperture.us (Christian Stewart) Date: Wed, 4 Oct 2023 10:38:01 -0700 Subject: [Buildroot] [PATCH] package/containerd: add control for additional build tags In-Reply-To: <4642abb656bb8e63ff759d6f2ab6eafeb2e3d39d.1696436249.git.stefan@agner.ch> References: <4642abb656bb8e63ff759d6f2ab6eafeb2e3d39d.1696436249.git.stefan@agner.ch> Message-ID: Hi Stefan, On Wed, Oct 4, 2023 at 9:18?AM Stefan Agner wrote: > > Disable the AUFS snapshotter by default. AUFS support has been deprecated > since v1.5 and won't be available with containerd v2.0. > > Add configuration option for the ZFS snapshotter and add the proper > runtime dependencies. > > Add configuration option for Kubernetes CRI support. Note that CRI > support requires a writeable /etc or an appropriate containerd > configuration. Overall this looks good, but could you possibly split this into separate commits? I think it makes sense to have three: - package/docker-engine: drop aufs snapshotter - package/docker-engine: add zfs snapshotter - package/docker-engine: add option for k8s cri support Thanks! Christian Stewart From bernd at kuhls.net Wed Oct 4 18:06:02 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 4 Oct 2023 20:06:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/{mesa3d, mesa3d-headers}: bump version to 23.2.1 Message-ID: <20231004180602.53327-1-bernd@kuhls.net> Rebased patches 0002 & 0004. Removed patch 0006 which is included in this release. Release notes: https://gitlab.freedesktop.org/mesa/mesa/-/blob/23.2/docs/relnotes/23.2.1.rst Signed-off-by: Bernd Kuhls --- package/mesa3d-headers/mesa3d-headers.mk | 2 +- ...tion-to-disable-optional-neon-suppor.patch | 4 +- package/mesa3d/0004-Fix-uClibc-build.patch | 19 ++++---- ...5-Gallium-driver-includes-Intel-sour.patch | 46 ------------------- package/mesa3d/mesa3d.hash | 5 +- package/mesa3d/mesa3d.mk | 2 +- 6 files changed, 17 insertions(+), 61 deletions(-) delete mode 100644 package/mesa3d/0006-meson-ensure-i915-Gallium-driver-includes-Intel-sour.patch diff --git a/package/mesa3d-headers/mesa3d-headers.mk b/package/mesa3d-headers/mesa3d-headers.mk index e70d3fe137..3bc12ca86e 100644 --- a/package/mesa3d-headers/mesa3d-headers.mk +++ b/package/mesa3d-headers/mesa3d-headers.mk @@ -12,7 +12,7 @@ endif # Not possible to directly refer to mesa3d variables, because of # first/second expansion trickery... -MESA3D_HEADERS_VERSION = 23.1.8 +MESA3D_HEADERS_VERSION = 23.2.1 MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz MESA3D_HEADERS_SITE = https://archive.mesa3d.org MESA3D_HEADERS_DL_SUBDIR = mesa3d diff --git a/package/mesa3d/0002-vc4-add-meson-option-to-disable-optional-neon-suppor.patch b/package/mesa3d/0002-vc4-add-meson-option-to-disable-optional-neon-suppor.patch index 430bd3b4b9..f3919478a6 100644 --- a/package/mesa3d/0002-vc4-add-meson-option-to-disable-optional-neon-suppor.patch +++ b/package/mesa3d/0002-vc4-add-meson-option-to-disable-optional-neon-suppor.patch @@ -10,7 +10,7 @@ to force disabling it at compile time. Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4114 Signed-off-by: Peter Seiderer Signed-off-by: Bernd Kuhls -[rebased for 20.2.0, 20.3.0, 21.1.0 & 23.1.0] +[rebased for 20.2.0, 20.3.0, 21.1.0, 23.1.0 & 23.2.0] Signed-off-by: Peter Seiderer [fix syntax error after previous rebases] --- @@ -23,7 +23,7 @@ diff --git a/meson_options.txt b/meson_options.txt index 8e0bf2a..1cf0e07 100644 --- a/meson_options.txt +++ b/meson_options.txt -@@ -116,6 +116,13 @@ option( +@@ -124,6 +124,13 @@ option( description : 'enable gallium va frontend.', ) diff --git a/package/mesa3d/0004-Fix-uClibc-build.patch b/package/mesa3d/0004-Fix-uClibc-build.patch index ae1fc25f48..faa86b0d1b 100644 --- a/package/mesa3d/0004-Fix-uClibc-build.patch +++ b/package/mesa3d/0004-Fix-uClibc-build.patch @@ -26,6 +26,8 @@ Fixes build errors with uClibc and gcc-9.3.0: Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13898 Signed-off-by: Bernd Kuhls +[rebased for 23.2.0] +Signed-off-by: Bernd Kuhls --- src/util/compiler.h | 10 ++++++++++ src/util/macros.h | 1 + @@ -35,10 +37,11 @@ diff --git a/src/util/compiler.h b/src/util/compiler.h index d184ad455af..b5c56807acc 100644 --- a/src/util/compiler.h +++ b/src/util/compiler.h -@@ -36,6 +36,16 @@ +@@ -35,6 +35,17 @@ - #include + #include ++ +/* + * C11 static_assert() macro + * assert.h only defines that name for C11 and above @@ -49,21 +52,21 @@ index d184ad455af..b5c56807acc 100644 +#endif +#endif + - #include "util/macros.h" - - + #include + #include + #include diff --git a/src/util/macros.h b/src/util/macros.h index 22b18303826..8f73ee72693 100644 --- a/src/util/macros.h +++ b/src/util/macros.h -@@ -27,6 +27,7 @@ +@@ -31,6 +31,7 @@ #include #include #include +#include "util/compiler.h" - /* Compute the size of an array */ - #ifndef ARRAY_SIZE + #ifdef _GAMING_XBOX + #define strdup _strdup -- 2.34.1 diff --git a/package/mesa3d/0006-meson-ensure-i915-Gallium-driver-includes-Intel-sour.patch b/package/mesa3d/0006-meson-ensure-i915-Gallium-driver-includes-Intel-sour.patch deleted file mode 100644 index 6831bdafd3..0000000000 --- a/package/mesa3d/0006-meson-ensure-i915-Gallium-driver-includes-Intel-sour.patch +++ /dev/null @@ -1,46 +0,0 @@ -From cd861b7f38e448822ce765aee61304d1e0a3a8b5 Mon Sep 17 00:00:00 2001 -From: James Knight -Date: Thu, 13 Apr 2023 16:38:51 -0400 -Subject: meson: ensure i915 Gallium driver includes Intel sources - -Ensure builds flag the use of Intel sources when the i915 Gallium driver -is configured (`-Dgallium-drivers=i915`). Otherwise, a build may fail if -other Intel-based configuration options are not enabled: - - ./src/gallium/winsys/i915/drm/meson.build:21:0: ERROR: Unknown variable "libintel_common". - -Signed-off-by: James Knight -Part-of: - -Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/commit/cd861b7f38e448822ce765aee61304d1e0a3a8b5 - -Signed-off-by: Bernd Kuhls ---- - meson.build | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -(limited to 'meson.build') - -diff --git a/meson.build b/meson.build -index 23d2d965b37..a3e3c5478a8 100644 ---- a/meson.build -+++ b/meson.build -@@ -245,7 +245,14 @@ with_microsoft_vk = _vulkan_drivers.contains('microsoft-experimental') - with_any_vk = _vulkan_drivers.length() != 0 - - with_any_broadcom = with_gallium_vc4 or with_gallium_v3d or with_broadcom_vk --with_any_intel = with_intel_vk or with_intel_hasvk or with_gallium_iris or with_gallium_crocus or with_intel_tools -+with_any_intel = [ -+ with_gallium_crocus, -+ with_gallium_i915, -+ with_gallium_iris, -+ with_intel_hasvk, -+ with_intel_tools, -+ with_intel_vk, -+].contains(true) - - if with_swrast_vk and not with_gallium_softpipe - error('swrast vulkan requires gallium swrast') --- -cgit v1.2.1 - diff --git a/package/mesa3d/mesa3d.hash b/package/mesa3d/mesa3d.hash index a88ec5909f..0f4ca05831 100644 --- a/package/mesa3d/mesa3d.hash +++ b/package/mesa3d/mesa3d.hash @@ -1,5 +1,4 @@ -# From https://lists.freedesktop.org/archives/mesa-announce/2023-September/000730.html -sha256 45434ff91a709844130a3174d9c0ef39c6b50725b2bb0c13e736f36134db14ad mesa-23.1.8.tar.xz -sha512 02dc6f8b10dd3827a2b62fba3035726b1b60ec0c3188817deea2ad14f80f332a37272e9f15c5f653f20cecb14f8ff91697d73c89afc83674c19b686a674b677d mesa-23.1.8.tar.xz +# From https://gitlab.freedesktop.org/mesa/mesa/-/blob/23.2/docs/relnotes/23.2.1.rst +sha256 64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc mesa-23.2.1.tar.xz # License sha256 a00275a53178e2645fb65be99a785c110513446a5071ff2c698ed260ad917d75 docs/license.rst diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index a24a299a55..6d92eb56f3 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -5,7 +5,7 @@ ################################################################################ # When updating the version, please also update mesa3d-headers -MESA3D_VERSION = 23.1.8 +MESA3D_VERSION = 23.2.1 MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz MESA3D_SITE = https://archive.mesa3d.org MESA3D_LICENSE = MIT, SGI, Khronos -- 2.39.2 From bernd at kuhls.net Wed Oct 4 19:16:48 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 04 Oct 2023 21:16:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/mesa3d: rework dri3 handling References: <20230729180250.1494674-1-bernd@kuhls.net> Message-ID: Hi Romain, Am Sun, 1 Oct 2023 11:49:54 +0200 schrieb Romain Naour: > I'm able to reproduce this build issue. > But I can't find any autobuilder link. I do not know the reason for this, maybe the combination is too seldom? > Have you tested on other driver than the Intel drivers ? Yes, the current situation looks like this: config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_CROCUS - broken without "-Ddri3=enabled" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915 - broken without "-Ddri3=enabled" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS - broken without "-Ddri3=enabled" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL - has "select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7" Yes, I tested all drivers based on the defconfig BR2_x86_64=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_OPENGL_GLX=y BR2_PACKAGE_MESA3D_OPENGL_EGL=y BR2_PACKAGE_MESA3D_OPENGL_ES=y BR2_PACKAGE_XORG7=y with only the tested driver additionally enabled and also found more broken drivers: config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL - also broken, fixed by this patch config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_SWRAST - also broken, fixed by this patch The result is: All drivers are broken without "-Ddri3=enabled". Regards, Bernd From francois.dugast.foss at gmail.com Wed Oct 4 20:07:24 2023 From: francois.dugast.foss at gmail.com (Francois Dugast) Date: Wed, 4 Oct 2023 22:07:24 +0200 Subject: [Buildroot] [PATCH 1/2] board/licheepi_zero: move board files to their own directory Message-ID: <20231004200725.1952143-1-francois.dugast.foss@gmail.com> Group files for board licheepi_zero under a new directory. This is to prepare for a new board also coming to the licheepi directory. Signed-off-by: Francois Dugast --- board/licheepi/{ => licheepi_zero}/boot.cmd | 0 board/licheepi/{ => licheepi_zero}/genimage.cfg | 0 board/licheepi/{ => licheepi_zero}/readme.txt | 0 configs/licheepi_zero_defconfig | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) rename board/licheepi/{ => licheepi_zero}/boot.cmd (100%) rename board/licheepi/{ => licheepi_zero}/genimage.cfg (100%) rename board/licheepi/{ => licheepi_zero}/readme.txt (100%) diff --git a/board/licheepi/boot.cmd b/board/licheepi/licheepi_zero/boot.cmd similarity index 100% rename from board/licheepi/boot.cmd rename to board/licheepi/licheepi_zero/boot.cmd diff --git a/board/licheepi/genimage.cfg b/board/licheepi/licheepi_zero/genimage.cfg similarity index 100% rename from board/licheepi/genimage.cfg rename to board/licheepi/licheepi_zero/genimage.cfg diff --git a/board/licheepi/readme.txt b/board/licheepi/licheepi_zero/readme.txt similarity index 100% rename from board/licheepi/readme.txt rename to board/licheepi/licheepi_zero/readme.txt diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig index 0d3115a996..c8f74a7f04 100644 --- a/configs/licheepi_zero_defconfig +++ b/configs/licheepi_zero_defconfig @@ -12,7 +12,7 @@ BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Zero" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/genimage.cfg" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/licheepi_zero/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y @@ -45,7 +45,7 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/boot.cmd" +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/licheepi_zero/boot.cmd" # Required host utilities for building an SDCard image BR2_PACKAGE_HOST_DOSFSTOOLS=y -- 2.30.2 From francois.dugast.foss at gmail.com Wed Oct 4 20:07:25 2023 From: francois.dugast.foss at gmail.com (Francois Dugast) Date: Wed, 4 Oct 2023 22:07:25 +0200 Subject: [Buildroot] [PATCH 2/2] board/licheepi/licheepi_nano: new board In-Reply-To: <20231004200725.1952143-1-francois.dugast.foss@gmail.com> References: <20231004200725.1952143-1-francois.dugast.foss@gmail.com> Message-ID: <20231004200725.1952143-2-francois.dugast.foss@gmail.com> Add support for the LicheePi Nano with: - U-Boot 2023.04 - Linux current latest version Board homepage: https://linux-sunxi.org/LicheePi_Nano Signed-off-by: Francois Dugast --- board/licheepi/licheepi_nano/genimage.cfg | 33 ++++++++++ board/licheepi/licheepi_nano/linux.fragment | 11 ++++ board/licheepi/licheepi_nano/readme.txt | 68 +++++++++++++++++++++ board/licheepi/licheepi_nano/uboot.fragment | 3 + configs/licheepi_nano_defconfig | 43 +++++++++++++ 5 files changed, 158 insertions(+) create mode 100644 board/licheepi/licheepi_nano/genimage.cfg create mode 100644 board/licheepi/licheepi_nano/linux.fragment create mode 100644 board/licheepi/licheepi_nano/readme.txt create mode 100644 board/licheepi/licheepi_nano/uboot.fragment create mode 100644 configs/licheepi_nano_defconfig diff --git a/board/licheepi/licheepi_nano/genimage.cfg b/board/licheepi/licheepi_nano/genimage.cfg new file mode 100644 index 0000000000..5e398eeb21 --- /dev/null +++ b/board/licheepi/licheepi_nano/genimage.cfg @@ -0,0 +1,33 @@ +flash w25q128 { + pebsize = 65536 + numpebs = 256 + minimum-io-unit-size = 1 + sub-page-size = 1 + vid-header-offset = 64 +} + +image flash.bin { + flash {} + flashtype = w25q128 + + partition uboot { + image = "u-boot-sunxi-with-spl.bin" + size = 512K + } + + partition dtb { + image = "suniv-f1c100s-licheepi-nano.dtb" + size = 64K + } + + partition zimage { + image = "zImage" + size = 5M + } + + partition rootfs { + image = "rootfs.jffs2" + size = 0 + } +} + diff --git a/board/licheepi/licheepi_nano/linux.fragment b/board/licheepi/licheepi_nano/linux.fragment new file mode 100644 index 0000000000..af68f28167 --- /dev/null +++ b/board/licheepi/licheepi_nano/linux.fragment @@ -0,0 +1,11 @@ +# CONFIG_NET is not set +# CONFIG_DRM is not set +# CONFIG_CMA is not set +# CONFIG_ARCH_MULTI_V7 is not set +CONFIG_UEVENT_HELPER=y +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_SPI_NOR=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set +CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_JFFS2_FS=y diff --git a/board/licheepi/licheepi_nano/readme.txt b/board/licheepi/licheepi_nano/readme.txt new file mode 100644 index 0000000000..131d46a9d1 --- /dev/null +++ b/board/licheepi/licheepi_nano/readme.txt @@ -0,0 +1,68 @@ +Intro +===== + +This directory contains a buildroot configuration for building a +LicheePi Nano. + +How to build it +=============== + +Configure Buildroot +------------------- + + $ make licheepi_nano_defconfig + +Build the rootfs +---------------- + +Note: you will need to have access to the network, since Buildroot +will download the packages' sources. + +You may now build your rootfs with: + + $ make + +(This may take a while, consider getting yourself a coffee ;-) ) + +Result of the build +------------------- + +After building, you should obtain this tree: + + output/images/ + +-- boot.scr + +-- boot.vfat + +-- rootfs.ext2 + +-- rootfs.ext4 -> rootfs.ext2 + +-- rootfs.tar + +-- sdcard.img + +-- sun8i-v3s-licheepi-zero-dock.dtb + +-- sun8i-v3s-licheepi-zero.dtb + +-- u-boot.bin + +-- u-boot-sunxi-with-spl.bin + `-- zImage + +How to write the SD card +======================== + +Once the build process is finished you will have an image called +"sdcard.img" in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + +Alternatively, you can use the Etcher graphical tool to burn the image +to the SD card safely and on any platform: + +https://etcher.io/ + +Once the SD card is burned, insert it into your LicheePi Zero board, +and power it up. Your new system should come up now and start a +console on the UART0 serial port. +-- +sudo ./output/host/bin/sunxi-fel -p spiflash-write 0 output/images/flash.bin +-- +some kernel features are disabled to keep the size small but those are arbitrary tradeoffs, if you remove other stuff you can re enable them +-- +use internal flash to free MMC for sdio wifi like the *** provided with lichee zero diff --git a/board/licheepi/licheepi_nano/uboot.fragment b/board/licheepi/licheepi_nano/uboot.fragment new file mode 100644 index 0000000000..39f2bfe742 --- /dev/null +++ b/board/licheepi/licheepi_nano/uboot.fragment @@ -0,0 +1,3 @@ +CONFIG_USE_BOOTARGS=y +CONFIG_BOOTARGS="console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=spi0.0:512k(uboot)ro,64k(dtb),5M(kernel)ro,-(rootfs)" +CONFIG_BOOTCOMMAND="sf probe 0 50000000; sf read 0x80C00000 0x80000 0x4000; sf read 0x80008000 0x90000 0x500000; bootz 0x80008000 - 0x80C00000" diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig new file mode 100644 index 0000000000..3dbd29241f --- /dev/null +++ b/configs/licheepi_nano_defconfig @@ -0,0 +1,43 @@ +# Target options +BR2_arm=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="licheepi-nano" +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Nano" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/licheepi_nano/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/licheepi/licheepi_nano/linux.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/suniv-f1c100s-licheepi-nano" + +# Filesystem images +BR2_TARGET_ROOTFS_JFFS2=y +BR2_TARGET_ROOTFS_JFFS2_FLASH_64=y +BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y +BR2_TARGET_ROOTFS_JFFS2_PAD=y + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="licheepi_nano" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/licheepi/licheepi_nano/uboot.fragment" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# Required host utilities +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_E2FSPROGS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_SUNXI_TOOLS=y -- 2.30.2 From thomas.petazzoni at bootlin.com Wed Oct 4 21:57:56 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 4 Oct 2023 23:57:56 +0200 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: <20231003091539.5e26d558@booty> References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> <877co67fgz.fsf@48ers.dk> <20231003091539.5e26d558@booty> Message-ID: <20231004235756.255601f7@windsurf> Hello Luca, On Tue, 3 Oct 2023 09:15:39 +0200 Luca Ceresoli wrote: > > > This series instead goes to the other extreme, E.G. we build the > > > entire microblaze toolchain from scratch and then use it to build > > > the firmware and use it in the u-boot package - This is nice > > > because it is all in Buildroot and we have it all under control, > > > but also brings quite some build time overhead for building the > > > toolchain before building the > > (small) toolchain. You can naturally "solve" it by using two > > defconfigs, E.G. one that builds the pmufw and another that uses > > the prebuilt one, but it isn't very handy either. > > I think the approach taken here by Neal and Ibai is valuable, > especially as it would allow Buildroot defconfigs to be self-standing. > Additionally it is already proving useful as it prompted "the > community" (mostly Neal -- thanks about that) to upstream patches > needed to support Microblaze in binutils and gcc, that are currently > downstream. I agree. > I fyou are thinking about toolchains.bootlin.com, I am not the > maintainer of those toolchains but I think the idea is to only have > Linux toolchains there, not bare metal ones, thus newlib is not > supported. Also I'm pretty sure downstream feature patches are > absolutely not welcome there. Regarding providing a bare-metal toolchain on toolchains.bootlin.com, we have a chicken-and-egg problem: the toolchains on toolchains.bootlin.com are built using... Buildroot. So if we want toolchains.bootlin.com to offer pre-built bare-metal toolchains, we need Buildroot to be able to generate such bare-metal toolchains in the first place :-) Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Wed Oct 4 21:58:32 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 4 Oct 2023 23:58:32 +0200 Subject: [Buildroot] [External] Re: [PATCH 1/4] board/freescale: fix arm-trusted-firmware for binutils 2.39+ In-Reply-To: References: <20230921215633.34828-1-brandon.maier@collins.com> <20230930172024.5aaf0df6@windsurf> Message-ID: <20231004235832.75a2eb02@windsurf> On Mon, 2 Oct 2023 16:21:45 +0000 "Maier, Brandon L Collins" wrote: > > Applied to master after references to the Gitlab CI failures that are > > fixed by this change. If you have the boards at hand, it would be even > > nicer to upgrade to newer BSP component versions. Perhaps this is > > something that Maeva, Stephane or Gilles can help with? > > Romain said he updated one of the i.MX boards as well. I would like > to update the others, as I'm using latest lf-6.1.22-2.0.0 for our own > boards. But I do not own any of those other boards to boot test, I > could send out a patch to update the versions and verify they build > at least. Several persons from NXP are in Cc of this e-mail, so hopefully they can help with the testing on those platforms. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Thu Oct 5 05:45:55 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Thu, 05 Oct 2023 05:45:55 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-04 Message-ID: <20231005054600.8EE28408BC@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-04 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 22 | 11 | 0 | 33 | 2023.08.x | 16 | 10 | 0 | 26 | master | 89 | 150 | 0 | 239 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 13 unknown | 12 gcc-final-12.3.0 | 9 alsa-lib-1.2.10 | 8 gobject-introspection-1.76.1 | 8 monit-5.33.0 | 8 alsa-utils-1.2.10 | 7 bird-2.0.12 | 5 spirv-tools-1.3.261.1 | 4 linux-6.5.5 | 3 perl-5.36.1 | 3 squid-6.2 | 3 util-linux-2.39.2 | 3 xenomai-3.0.10 | 3 apcupsd-3.14.14 | 2 elfutils-0.189 | 2 frr-8.4.2 | 2 gcc-final-13.2.0 | 2 host-go-1.21.1 | 2 host-rust-1.71.1 | 2 host-sentry-cli-2.20.3 | 2 mariadb-10.11.4 | 2 netsnmp-5.9.4 | 2 pv-1.6.20 | 2 tbb-2021.10.0 | 2 android-tools-4.2.2+git2013... | 1 brltty-6.5 | 1 check-11970a7e112dfe243a2e6... | 1 coreutils-9.3 | 1 crun-1.8.4 | 1 cryptodev-linux-1.13 | 1 efivar-38 | 1 ethtool-6.5 | 1 ffmpeg-4.4.4 | 1 fftw-quad-3.3.10 | 1 fs/ubifs/ubifs.mk:49: /home... | 1 gcc-final-11.4.0 | 1 gcc-final-arc-2020.09-release | 1 glibc-2.38-13-g92201f16cbcf... | 1 glslsandbox-player-2023.04.05 | 1 google-breakpad-c85eb4a59b6... | 1 host-gcc-final-12.3.0 | 1 host-python-numpy-1.25.0 | 1 libarchive-3.7.2 | 1 libdeflate-1.18 | 1 libglib2-2.76.1 | 1 libgpgme-1.22.0 | 1 libostree-2023.6 | 1 libressl-3.7.3 | 1 libselinux-3.5 | 1 libtorrent-rasterbar-1.2.15 | 1 libunwind-1.6.2 | 1 libzlib-1.3 | 1 ntp-4.2.8p17 | 1 ntpsec-1.2.2a | 1 open-iscsi-2.1.9 | 1 openal-1.22.0 | 1 pistache-3ec9d7c4f8b828fdd3... | 1 pppd-2.5.0 | 1 strongswan-5.9.11 | 1 tar-1.35 | 1 tpm2-tss-3.2.2 | 1 wolfssl-5.6.3 | 1 xwayland-23.1.1 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/8d574b33c204eb416f11e16950c2736e0a6374bb | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/9c7b4e49a32e94b78c51c09ce69b89fe904a2e66 | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7e4b22e5b30877795603cab2b2e190cf31978483 | aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7bc6bcace3f4c57ecbd495fc5df51c661473c027 | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/0a257d15d23344d794fa3ddbc0059186f7c3dbc6 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/8f61d942a8c70cfcb6067cef176fc49037290e3e | mips | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f14a15fc1de19773bb8ef19fd8fef2f0fc050ed8 | mips | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7e5410aa1286fd8f4c7ab1e27c7bd7053dfffe17 | x86_64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/d3199f29bd6b86fb49bcfa0fb8571edeb709adb2 | aarch64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/67674f7e719f94229defa15334612255191a4ea2 | mips64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3eae8f23088c735c3b797338e182e5e66bf0f7b0 | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/36b9709f124f1771e6051580786202daf4642be7 | sh4a | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f9eb4db4b9f7c943bf660025c44b36e5c6167c3f | sh4eb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/92efbfd03c73b5e605e5b51823de6800134d3bb5 | nios2 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/a7f858889f28c616c66c4ea0cb995c6594468ae9 | powerpc64le | android-tools-4.2.2+git2013... | NOK | http://autobuild.buildroot.net/results/f1fa6bf6478da9a3d14f9720db23d6342da663a5 | arceb | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/dda0f03aac3697251ef0c7e471fa5429b074e806 | m68k | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/4c3981f391d011631ea80416a8dac879064ff2c0 | aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/cda2b79abb7c59d3a3cb04f1a2fc083124b957a8 | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6b4c02269c1cb86abe383cd7982e19c363e4de91 | aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/69a22b1a688935abb00338e507e262bb4d0ccab4 | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a0e2e66d5d88e615b9a6bd4d120dcb281d1839ab | sh4 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/cfe901fe5912cb21745fee161e132a6c96fab512 | arm | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/e1113e26b54ae87b5b326b241ab4b79c685c812e | arceb | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/adc0778aeff3f20d609202b9738acde4ff1cb5f7 | ORPH powerpc | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/4aa7d3fc5868fabb5d66836d9d023b3170779c6f | ORPH sparc | crun-1.8.4 | NOK | http://autobuild.buildroot.net/results/88527a3f8d0dcfe205ce597d83fdbb4f72144302 | sh4eb | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/cc390f1ecee63aa19f9191c6956dba84a3aa898b | ORPH i686 | efivar-38 | NOK | http://autobuild.buildroot.net/results/27bf1067f04a191c23fac3d2e7224e8a92150832 | microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/7fcba02cf46f055b5e7ce6f37e54473e9c9364b2 | ORPH nios2 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/1ec9cbb424af93f596ff4d9d58ec1f39920d53f1 | ORPH mips64el | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/4bcd44fbb12b10241d5594db9fa514fab7d3e4f9 | arc | ffmpeg-4.4.4 | NOK | http://autobuild.buildroot.net/results/86c5f7804bd1aa05357430b1a87902d095d2f4dc | powerpc64le | fftw-quad-3.3.10 | NOK | http://autobuild.buildroot.net/results/baff574b5448cf220de5bc9a7ac3a3c59ffd0252 | ORPH arc | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/5942e79f769ec26b2bfc8207a732ff759a1e3c35 | xtensa | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/7fd33ea64b75ef9153143a9b53740cc2897f7db3 | aarch64 | fs/ubifs/ubifs.mk:49: /home... | NOK | http://autobuild.buildroot.net/results/55b794571565aa9dcd1149b461242a34a0cbf1a8 | m68k | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/f1b8e041584c4117be1058ce4cb03961f3ccdf25 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f6b57780a386e4d95bfa7e6c8926d3469f7b4a9d | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/4f5f2744842ab7c5228c13aa7f683c90186a3547 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f32835b7523fbb89e6f562b2d8f4c67257632852 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/187a108f97a1636b5eb393e9f244f0211bf56875 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/4be77a5feea57b4bc00cefe1386895031cc9f7c9 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/bb1465cac9cecd459afa3dfa15eaaa897b00fb80 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7e1d86ccda1ae41bce62372c7501225211897e9e | x86_64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/8bed14e7bdac490c321814a9558edeef3484e703 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/33425602e3d6b47294d67592de086023aa132046 | arceb | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/3d47b47b69a64787441d5f7f8e76a4a41ef01ead | arc | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/885c4dfba6feb54ba9e7019a07aba6c719ceead2 | arc | gcc-final-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/a259c9b18bdebcf7e1cf50f7f914d9b0a2eaf1cc | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/52392f2e34077823f32c45a087c8f6b39222a3b4 | arm | glslsandbox-player-2023.04.05 | NOK | http://autobuild.buildroot.net/results/f1efcee31b953d5aedf60ba3a1925b40cd5d5654 | nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/2c8f601f0beacf3d9c733b66c736e7590abe4a12 | ORPH nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/eff1b1a17a25b894eed11d7c29f9e5945f7308e3 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/7b434d93326236883f892130cbc61bfa648bf798 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/2120e7c4b06836d977de9db259b3708f0dd23629 | ORPH nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/e22cae378741a45ea396ea96fd7548b93753f3a6 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/5e19167b85b733b1f3b3dd72fc5f233066347c4e | ORPH i686 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/17e8e076cf1fe8a8829c67f674988005c1f55eaf | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/803cf9dc49d3d546016ebafe4af36ca62ddb4afe | ORPH mips | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/fb0c7183966a5f5e9e9b1d02a0af7ace7770c812 | microblaze | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7da5b40a6d915ee8a4941c51fe75bec54a83c77b | mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/da95f59bc97fd89c3cf32a440f62740564d7a765 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/595bd3fcb1d3d953932bc9a02343e5c1633d6764 | x86_64 | host-python-numpy-1.25.0 | NOK | http://autobuild.buildroot.net/results/5082b0329fe78643e6b4f02922e5fce13c3e23be | mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/71c398151fe6c578a15d3135b73e3ee79f6fe055 | powerpc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/54624637d049da170069b88e161c8f8f29d38773 | powerpc | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/623cc85483fe15a4e3f62e205a689bf5ff411093 | nios2 | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/d922531d6d7ae8b9609ca340dbd9a94c1875ff8a | microblaze | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/5a5096eb6109e96021609861419b5af79dc7e50e | armeb | libdeflate-1.18 | NOK | http://autobuild.buildroot.net/results/a9a33cec2d7e734f734119201a924f1d1cf18502 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/d4ad2dc960bcc91ce0c4ab1f8def8d4b6c18f0cd | sh4a | libgpgme-1.22.0 | NOK | http://autobuild.buildroot.net/results/dcf4b8f0b804779fa408230e067191251c39df8b | ORPH sparc64 | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/5c7e1e47c6eb43f7832ef7820ec2b5ac0f3c3696 | armeb | libressl-3.7.3 | NOK | http://autobuild.buildroot.net/results/4e58db855863c8f76a212a7c3e74282ad4901b64 | ORPH nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/294c36b4e2bc007cb7551d983c79047889181bab | arm | libtorrent-rasterbar-1.2.15 | NOK | http://autobuild.buildroot.net/results/de33c8e94962d5ed61b1b3e8cc742d3d49dd0ff8 | mips | libunwind-1.6.2 | NOK | http://autobuild.buildroot.net/results/dee2a9020cc6284bf6c60929fa717310929c65ca | ORPH mips64 | libzlib-1.3 | NOK | http://autobuild.buildroot.net/results/a5e668048ec9078cf43ba1a3427c01983db9e416 | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/be699cbc444ad80eae932dcb2f8be42baf01b04d | ORPH mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/6fff4d6c0986ae3691504bd3e22923629723e6bb | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/c1f1906742a7645c90555e036a6cc0cc46f30c32 | ORPH or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/a3a9cb7605fc0916c5feb26a1e94d41d1c5d3353 | ORPH mipsel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/fa2e4a52c8047c620a96fb981d3053e4359ed443 | ORPH mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/e5b607a24e313344abda5e77c00368e8b6b2172f | arm | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/6aa4fbe42617c9a1e2e7da3125d7149311f06734 | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/f9aa07c88be7882629ade7ea0af2a0db40f3be92 | x86_64 | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/6eb671eb5d97a0c18e87dab33e6021b9d9b0916a | microblaze | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/23c92af7b7df94adb69530bf2f45604082f8c129 | x86_64 | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/446abd38f1ef836394fef34dc18932db26786d56 | mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/30cf02547ed96f9660a5534ef9fe6c5418297d62 | aarch64_be | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/7d7d3a759346efe7c94ce059d048b11cd659f0ec | microblaze | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/7d5944da62a33b9cade9eaf622c0ad7e53ba1b16 | ORPH powerpc | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/e2be3ee2c7fcc5e3d870c18638fca24b1f21290d | ORPH sh4aeb | ntp-4.2.8p17 | NOK | http://autobuild.buildroot.net/results/2b2bdcc391dd76aaaa84ad8d1edb90df54abda3e | microblazeel | ntpsec-1.2.2a | NOK | http://autobuild.buildroot.net/results/f8b0173fa7f5abe55a7e224be0b8da78ddebc305 | ORPH aarch64_be | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/1830cdcd0ee8bc8f6aa2466efa01a39a630858ff | mips | openal-1.22.0 | NOK | http://autobuild.buildroot.net/results/0812b4f36fedb5ed46a7fd40fe260567f1525176 | ORPH mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e1967d006f9990de3dc6be4843f974dd5c6c02fb | sh4a | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/37922e62265de6ea9e4fd3eb666b9a02e647fe26 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c570c0e386b50d3c5f6351d4744a87715c388941 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6b02f836024b7b4f6429780c2ccea5b044c4ce26 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/bdf21613f1253ca872e53b3eee458db4d62f994f | sh4 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/abdba77b093647930a70cd3e09a2a1e223767050 | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ef1f51dd29cd6604ec0e5e0ed7176173940934a0 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/39eb1e4068dcf260f38b523ac1082a1296e9de68 | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/17fcf3fae5e0f6d3548d7c2b9c261ebe9095288c | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/0836ade0246dd35fc0b6e2726810984ac8dcd8fa | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/089de0a21086afdc94bae15ee0e0691ed1c83288 | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/95eca9881d328fcc0fee76e71ff22a51d89a7955 | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cdfe94fc3d554a13ca6fa96c54bf89866a262add | mips64 | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/31819a663e6a11a09901cfcad4d73394da2eb6a2 | arceb | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/99071d132f1ffa25acd4a03236b996985aa05ccb | armeb | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/b71c129005d4d5056e49cd04482dd6baa291a780 | riscv32 | pistache-3ec9d7c4f8b828fdd3... | NOK | http://autobuild.buildroot.net/results/81f7642c2dac449271c22e737b1b8e27150047ad | ORPH sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/049d372da326becb6a7a8ddeffe5a5b936a78204 | armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/07005d1e49eb10490d65e9d4bb8a1a091dd9602f | ORPH armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/af7031e2aff4f2a37090dc87b4414a833a9f310f | ORPH m68k | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/19342a49d5b807b96f3cb2e113d3cade146225f3 | ORPH mipsel | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/8469555f43c60739f23f32c61d4430c08553991c | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/404cdc0844f052e3aaf9a4f81420c51c4e2481e9 | ORPH aarch64_be | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5d88549f5dff028459646283c276ff39a7d429cc | ORPH sparc | squid-6.2 | NOK | http://autobuild.buildroot.net/results/8b7cd69f3f7c0d966be98a2a359a9a6706f010ad | ORPH nios2 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/2a78ff4119005110ce82a9031271c794ddbe13ce | ORPH arc | squid-6.2 | NOK | http://autobuild.buildroot.net/results/bf405fa190c7c85842c16ab94d6af07c528000cb | ORPH sh4a | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/d6f70df6c5b4cd88d394c777c359274306b245b5 | arm | tar-1.35 | NOK | http://autobuild.buildroot.net/results/d3f498fbffa8b533b8d914c426e7262cceca7cf6 | ORPH or1k | tbb-2021.10.0 | NOK | http://autobuild.buildroot.net/results/588418a71d4d052338df6cbcab30b25fb11482a6 | arc | tbb-2021.10.0 | NOK | http://autobuild.buildroot.net/results/03686ddde96537fe40c68fa773441e2cf7486d36 | mips64 | tpm2-tss-3.2.2 | NOK | http://autobuild.buildroot.net/results/e4a3a43c8a79c96fc911ad95209824e4b8e2c1a7 | ORPH mips | unknown | NOK | http://autobuild.buildroot.net/results/e34c40fab3aebcc462b739a1120ac664866977f1 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/8b81da3e1b0cabd7e83e2d849f06344adabb3ef8 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/5622d45cc25f1fef07a8d9e459002963589ab445 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/d5d758a4f986cd7af6fc3128beb592a86e4f3f25 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/b6e45c742f9648d975ced73cf0a6332206fb35d0 | riscv64 | unknown | NOK | http://autobuild.buildroot.net/results/36eb257c3d72220af078ae5b60326911b5150f35 | arm | unknown | NOK | http://autobuild.buildroot.net/results/8e68b92ce0cd58e34b49fad946a806fbe5f49cf8 | arm | unknown | NOK | http://autobuild.buildroot.net/results/6f06ba0ace72dbd68d6ed83a8ed9ec175a730076 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/86d2b931c0b9a7600f031e5c25783994d6fd1c85 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/ef035372812ce14e5566cc14a26b01f179e3383a | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/8992a40f37052bc87fad383bb664784c5d90b4dd | mips | unknown | NOK | http://autobuild.buildroot.net/results/23f8b50a6d573516fe678272cc1c638030ea89c1 | arceb | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/d0aa23a6355b95c66dd631043847209d5c39933d | ORPH arm | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/bdadd5653019f4def332dbd1233c7d05e9f46e21 | ORPH arm | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/136d20129bd63d23883a559ea520da0b699970f2 | ORPH arm | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/449ff36fe62c51dc6046b3b1b8f61d858adb5bfc | arm | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/b6c3b1961f185b5d6aad506b0b7be656e9b1abd4 | microblazeel | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/aa904080f91e664f2b9ff5ed222fe09a45f593e2 | powerpc | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/6b1329d74614bb768ef92e19d7cc25deed0f45ed | aarch64_be | xwayland-23.1.1 | NOK | http://autobuild.buildroot.net/results/d40b03e7f30b04484b21ec9e4860f40d50573f44 | Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 2 host-rust-1.67.1 | 2 elfutils-0.186 | 1 linux-6.1.55 | 1 madplay-0.15.2b | 1 motion-4.5.1 | 1 python-numpy-1.23.5 | 1 uclibc-1.0.44 | 1 zeek-4.1.1 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/20ebfc26467750e0a0320f8d6a2d0af3a078ee13 | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c5b41aba8f6e2d54f15b61d7a2828ffb638c69c8 | microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/9fb238aafa5ff7a3c659932426728b95fc1e1295 | ORPH powerpc64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/98e55f7c4540fa35f4add7452f294f2e86a4465f | x86_64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/d25983e276febd7d9accfb758d7f6c87a07fd7e7 | powerpc | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/d0e8d97b300361f17ce17d759a5479eb8c7eac25 | ORPH armeb | madplay-0.15.2b | NOK | http://autobuild.buildroot.net/results/091e1cfd7b4106b02844a665de29181822340fc7 | ORPH sparc64 | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/92cc0c5a717ff53b742171bc3f9fdfb1d369e250 | mips | python-numpy-1.23.5 | NOK | http://autobuild.buildroot.net/results/b0c9787ab704e77e2ebe7b33be886d7739e2382e | riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/7d89f0c7a7c02ed59941174fb3dd860fc4f18de6 | m68k | zeek-4.1.1 | NOK | http://autobuild.buildroot.net/results/0267af087a760dac688b99a2e7a83156ab90ec1d | Classification of failures by reason for 2023.08.x -------------------------------------------------- elfutils-0.189 | 3 bird-2.0.12 | 2 check-11970a7e112dfe243a2e6... | 1 lightning-2.2.2 | 1 mongodb-4.2.18 | 1 perl-5.36.1 | 1 util-linux-2.39.1 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/e02186fa66aabd9e0f8402064c7c4d69acddd035 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/372ced650267fd5f6290976dc1bf81913de99a9c | xtensa | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/1f37b938902b4f833ef1556e932a2a43c0a35eed | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/1e478f34073b978105d57823e643dc378d770aaa | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/8bc43430721b5a026306715d95147ba326a9081d | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3145746b20c7cdba8d97199497b0d165efbbd396 | ORPH mips64el | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/f951d91d2ca4647170a52499a243d45d13d3bced | aarch64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/c1d71ddeeab618365ed44e885f2b4ccbbd813efc | microblazeel | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/d1831bd358d7cf258f816c45641dbc238ccc4d1f | m68k | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/7d336bdaf68d7da73ff199ea8856544435ecea4a | ORPH -- http://autobuild.buildroot.net From neal.frager at amd.com Thu Oct 5 05:59:20 2023 From: neal.frager at amd.com (Frager, Neal) Date: Thu, 5 Oct 2023 05:59:20 +0000 Subject: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package In-Reply-To: <20231004235756.255601f7@windsurf> References: <20230904100443.1613306-1-neal.frager@amd.com> <20230922145236.027dc287@booty> <20230922155735.43ddc356@booty> <20230925045944.6a88abd4@booty> <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> <877co67fgz.fsf@48ers.dk> <20231003091539.5e26d558@booty> <20231004235756.255601f7@windsurf> Message-ID: Hi Thomas, Peter, > > > This series instead goes to the other extreme, E.G. we build the > > > entire microblaze toolchain from scratch and then use it to build > > > the firmware and use it in the u-boot package - This is nice > > > because it is all in Buildroot and we have it all under control, > > > but also brings quite some build time overhead for building the > > > toolchain before building the > > (small) toolchain. You can naturally "solve" it by using two > > defconfigs, E.G. one that builds the pmufw and another that uses the > > prebuilt one, but it isn't very handy either. > > I think the approach taken here by Neal and Ibai is valuable, > especially as it would allow Buildroot defconfigs to be self-standing. > Additionally it is already proving useful as it prompted "the > community" (mostly Neal -- thanks about that) to upstream patches > needed to support Microblaze in binutils and gcc, that are currently > downstream. > I agree. If we agree that being able to build everything (including the microblaze bare-metal) toolchain is valuable, then should we go ahead and commit v4 of my patch set? We can always figure out how to add a pre-built microblaze toolchain later. And if users wish to have a faster build time, they can always use the option of a pre-built pmufw in their defconfig. This will skip the build of the microblaze bare-metal toolchain. > I fyou are thinking about toolchains.bootlin.com, I am not the > maintainer of those toolchains but I think the idea is to only have > Linux toolchains there, not bare metal ones, thus newlib is not > supported. Also I'm pretty sure downstream feature patches are > absolutely not welcome there. >Regarding providing a bare-metal toolchain on toolchains.bootlin.com, we have a chicken-and-egg problem: the toolchains on toolchains.bootlin.com are built using... Buildroot. So if we want toolchains.bootlin.com to offer pre-built bare-metal toolchains, we need Buildroot to be able to generate such bare-metal toolchains in the first place :-) Understood. We will have to think of a place to host a pre-built toolchain. By the way, Ibai and I have successfully identified the minimum patch set required for correctly building the zynqmp pmufw, versal plm and versal psmfw including the barrel shift instructions. We are in the process of upstreaming all the necessary patches to gnu binutils. Once upstreamed, we can move the toolchain-bare-metal packages to the upstream version without needing the meta-xilinx patch set. I will update the toolchain-bare-metal packages when this is ready. Basically, we are skipping the majority of the patches which are just for enabling 64-bit microblaze support which we do not require for zynqmp or versal. The upstream binutils and gcc are actually in very good shape for 32-bit microblaze support. That is why the zynqmp-pmufw-builder works already today. Best regards, Neal Frager AMD From wbx at openadk.org Thu Oct 5 06:14:09 2023 From: wbx at openadk.org (Waldemar Brodkorb) Date: Thu, 5 Oct 2023 08:14:09 +0200 Subject: [Buildroot] [PATCH] package/squid: bump version to 6.3 Message-ID: Signed-off-by: Waldemar Brodkorb --- package/squid/squid.hash | 8 ++++---- package/squid/squid.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/squid/squid.hash b/package/squid/squid.hash index ec60a0e9d1..a6d4c5d056 100644 --- a/package/squid/squid.hash +++ b/package/squid/squid.hash @@ -1,6 +1,6 @@ -# From http://www.squid-cache.org/Versions/v6/squid-6.2.tar.xz.asc -md5 ad01b7d82b6a00ffd8cd39b97113d05a squid-6.2.tar.xz -sha1 29ddb4c522a36f1270e7cfa66f0dec8805fd2b57 squid-6.2.tar.xz +# From http://www.squid-cache.org/Versions/v6/squid-6.3.tar.xz.asc +md5 2512b5d27856e6f91a97719784506893 squid-6.3.tar.xz +sha1 7bd74034015c6a4d345a4d277a431908bed2ec4a squid-6.3.tar.xz # Locally calculated -sha256 dd759e151e997d31786d91743d327b1b4b532f1caea66bf81100ec8ba04ec4c1 squid-6.2.tar.xz +sha256 74a0f5586a7a5d89573d502708d5e1d66ddf0430cf4802cc7261b765653248fa squid-6.3.tar.xz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/squid/squid.mk b/package/squid/squid.mk index 167e9f67d8..019a202952 100644 --- a/package/squid/squid.mk +++ b/package/squid/squid.mk @@ -4,7 +4,7 @@ # ################################################################################ -SQUID_VERSION = 6.2 +SQUID_VERSION = 6.3 SQUID_SOURCE = squid-$(SQUID_VERSION).tar.xz SQUID_SITE = http://www.squid-cache.org/Versions/v6 SQUID_LICENSE = GPL-2.0+ -- 2.39.2 From flaniel at linux.microsoft.com Thu Oct 5 06:24:57 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 5 Oct 2023 09:24:57 +0300 Subject: [Buildroot] [PATCH 0/1] package/tbb: fixes hash Message-ID: <20231005062458.8973-1-flaniel@linux.microsoft.com> Hi. Sorry, I got mixed up while bumping tbb and the whole sysdig stuff and actually forgot to update the hash in the previous commit. Lesson learnt, I will clearly double check before sending next patches. The present patch fixes the situation with the correct (locally computed) hash. Francis Laniel (1): package/tbb: fixes hash package/tbb/tbb.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Best regards and again sorry for the disturbance. -- 2.34.1 From flaniel at linux.microsoft.com Thu Oct 5 06:24:58 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Thu, 5 Oct 2023 09:24:58 +0300 Subject: [Buildroot] [PATCH 1/1] package/tbb: fixes hash In-Reply-To: <20231005062458.8973-1-flaniel@linux.microsoft.com> References: <20231005062458.8973-1-flaniel@linux.microsoft.com> Message-ID: <20231005062458.8973-2-flaniel@linux.microsoft.com> Fixes: 74b50d553eaf ("package/tbb: bump to version 2021.10.0.") Signed-off-by: Francis Laniel --- package/tbb/tbb.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 1caf81c5c5..085d54109a 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz +sha256 487023a955e5a3cc6d3a0d5f89179f9b6c0ae7222613a7185b0227ba0c83700b tbb-2021.10.0.tar.gz sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt -- 2.34.1 From tomi.valkeinen at ideasonboard.com Thu Oct 5 14:42:50 2023 From: tomi.valkeinen at ideasonboard.com (Tomi Valkeinen) Date: Thu, 5 Oct 2023 17:42:50 +0300 Subject: [Buildroot] [PATCH 1/1] package/rwmem: bumb to latest version Message-ID: <20231005144250.43169-1-tomi.valkeinen@ideasonboard.com> Bumb rwmem to the latest version. The main reason to bumb is to get a fix for a compilation issue present when compiling with gcc-13 (need to include ). As the project has moved to C++20, we need to adjust the Config.in accordingly. Signed-off-by: Tomi Valkeinen --- package/rwmem/Config.in | 6 +++--- package/rwmem/rwmem.hash | 2 +- package/rwmem/rwmem.mk | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/rwmem/Config.in b/package/rwmem/Config.in index cd9a7f78f1..690b034070 100644 --- a/package/rwmem/Config.in +++ b/package/rwmem/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_RWMEM bool "rwmem" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20 depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR # fmt select BR2_PACKAGE_FMT @@ -10,6 +10,6 @@ config BR2_PACKAGE_RWMEM https://github.com/tomba/rwmem -comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 5" +comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 10" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 diff --git a/package/rwmem/rwmem.hash b/package/rwmem/rwmem.hash index 9becbc5b21..da74002cb4 100644 --- a/package/rwmem/rwmem.hash +++ b/package/rwmem/rwmem.hash @@ -1,2 +1,2 @@ -sha256 55d28f029c0cd5c21d3e1c89371e2905d5217f571ef5389ed0fce163804d1c4a rwmem-c8291705c82bb0686be9adf6a427a2b72114719a.tar.gz +sha256 e6cb76b77869aef9ec4a2c31d0d80af0182a5f9c9c3ae06225c8fb2f8266379f rwmem-c89bc9ad9a8f2359f358c510db57b7678eb156d1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/package/rwmem/rwmem.mk b/package/rwmem/rwmem.mk index 24c4e92efc..d6ef05193b 100644 --- a/package/rwmem/rwmem.mk +++ b/package/rwmem/rwmem.mk @@ -4,7 +4,7 @@ # ################################################################################ -RWMEM_VERSION = c8291705c82bb0686be9adf6a427a2b72114719a +RWMEM_VERSION = c89bc9ad9a8f2359f358c510db57b7678eb156d1 RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION)) RWMEM_LICENSE = GPL-2.0 RWMEM_LICENSE_FILES = LICENSE -- 2.34.1 From yann.morin.1998 at free.fr Thu Oct 5 16:17:38 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 18:17:38 +0200 Subject: [Buildroot] [PATCH 0/2 v2] support/runtime-test: extend graphic testing for weston + flutter (branch yem/flutter) Message-ID: Hello All! This little two-patch series extends the runtime tests with a helper to allow easily testing that a graphical application properly renders something, and converts the weston test to use it, and finally extends the flutter test to use it. Canges v1 -> v2: - fix flutter test Regards, Yann E. MORIN. ---------------------------------------------------------------- Yann E. MORIN (2): support/runtime-test: add helper to test graphics rendering suport/runtime-test: extend flutter test to check rendering is happening support/testing/tests/graphics_base.py | 39 ++++++++++++++ support/testing/tests/package/test_flutter.py | 35 ++++++++++--- .../flutter-gallery.service | 1 - support/testing/tests/package/test_weston.py | 61 ++++------------------ 4 files changed, 78 insertions(+), 58 deletions(-) create mode 100644 support/testing/tests/graphics_base.py delete mode 120000 support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Oct 5 16:17:40 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 18:17:40 +0200 Subject: [Buildroot] [PATCH 1/2 v2] support/runtime-test: add helper to test graphics rendering In-Reply-To: References: Message-ID: In 4edb0e3456ef (support/testing/tests/package/test_weston.py: new runtime test), the weston test was introduced, and thus was the first that needed to test that rendering was happening. Now we also have a test for a flutter application, and we'll want to have it test the rendering too. Move the corresponding code to a helper that can be reused by other tests, rather than duplicate (or reinvent) it. Switch weston to using that new helper. Signed-off-by: Yann E. MORIN Cc: Julien Olivain --- support/testing/tests/graphics_base.py | 39 +++++++++++++ support/testing/tests/package/test_weston.py | 61 ++++---------------- 2 files changed, 49 insertions(+), 51 deletions(-) create mode 100644 support/testing/tests/graphics_base.py diff --git a/support/testing/tests/graphics_base.py b/support/testing/tests/graphics_base.py new file mode 100644 index 0000000000..15a4c00bb2 --- /dev/null +++ b/support/testing/tests/graphics_base.py @@ -0,0 +1,39 @@ +class GraphicsBase: + def get_n_fb_crc(self, *, count=10, uniq=False, timeout=-1): + """ + Return count DRM CRC from the framebuffer. If uniq is True, + only unique CRCs are returned (which may be less than the + requested cont). + Returns a possibly empty list of integers. + Set timeout to -1 for no timeout, or to a positive number for + a timeout of that many seconds. + """ + # DRM CRCs are exposed through a sysfs pseudo file + try: + self.debugfs_mounted + except AttributeError: + # Note: some init system (e.g. systemd) may have this already + # mounted, so check beforehand + self.assertRunOk("mountpoint /sys/kernel/debug/ || mount -t debugfs none /sys/kernel/debug/") + self.debugfs_mounted = True + + # The first column is the frame number, the second column is the + # CRC measure. We use "head" to get the needed CRC count. + disp_crc_path = "/sys/kernel/debug/dri/0/crtc-0/crc/data" + cmd = f"head -{count} {disp_crc_path}" + + # The DRM CRC sysfs pseudo file lines are terminated by '\n' + # and '\0'. We remove the '\0' to have a text-only output. + cmd += " | tr -d '\\000'" + + # Finally, we drop the frame counter, and keep only the second + # column (CRC values) + cmd += " | cut -f 2 -d ' '" + + if uniq: + cmd += " | sort -u" + + output, exit_code = self.emulator.run(cmd, timeout=timeout) + self.assertTrue(exit_code == 0, f"'{cmd}' failed with exit code {exit_code}") + + return [int(crc, 16) for crc in output] diff --git a/support/testing/tests/package/test_weston.py b/support/testing/tests/package/test_weston.py index df1b7a4135..f37a73565f 100644 --- a/support/testing/tests/package/test_weston.py +++ b/support/testing/tests/package/test_weston.py @@ -2,9 +2,10 @@ import os import time import infra.basetest +from ..graphics_base import GraphicsBase -class TestWeston(infra.basetest.BRTest): +class TestWeston(infra.basetest.BRTest, GraphicsBase): config = \ """ BR2_aarch64=y @@ -36,31 +37,6 @@ class TestWeston(infra.basetest.BRTest): infra.filepath("tests/package/test_weston/linux-vkms.fragment") ) - def gen_read_disp_crcs_cmd(self, count=1): - # DRM CRCs are exposed through a sysfs pseudo file, one measure - # per line. The first column is the frame number, the second - # column is the CRC measure. We use "head" to get the needed - # CRC count. - disp_crc_path = "/sys/kernel/debug/dri/0/crtc-0/crc/data" - cmd = f"head -{count} {disp_crc_path}" - - # The DRM CRC sysfs pseudo file lines are terminated by '\n' - # and '\0'. We remove the '\0' to have a text-only output. - cmd += " | tr -d '\\000'" - - # Finally, we drop the frame counter, and keep only the second - # column (CRC values) - cmd += " | cut -f 2 -d ' '" - - return cmd - - def gen_count_unique_disp_crcs_cmd(self, count=10): - # We get the command generating one CRC per line... - cmd = self.gen_read_disp_crcs_cmd(count) - # ...then count the number of unique values - cmd += " | uniq | wc -l" - return cmd - def start_weston(self): self.assertRunOk("export XDG_RUNTIME_DIR=/tmp") @@ -106,25 +82,14 @@ class TestWeston(infra.basetest.BRTest): # Check a simple info client can communicate with the compositor self.assertRunOk("wayland-info", timeout=10) - # This test will use the Kernel VKMS DRM Display CRC support, - # which is exposed in debugfs. See: - # https://docs.kernel.org/gpu/drm-uapi.html#display-crc-support - self.assertRunOk("mount -t debugfs none /sys/kernel/debug/") - # We get 10 consecutive DRM frame CRCs and count how many # unique CRCs we have. Since weston is supposed to run idle, # we should have 10 times the same display CRC. - cmd = self.gen_count_unique_disp_crcs_cmd() - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertEqual(int(output[0]), 1) + self.assertTrue(len(self.get_n_fb_crc(uniq=True)) == 1) # We save the CRC value of an empty weston desktop for # later... - cmd = self.gen_read_disp_crcs_cmd() - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - weston_desktop_crc = int(output[0], 16) + weston_desktop_crc = self.get_n_fb_crc(count=1)[0] # We start the weston-simple-egl in background... Every # rendered frame is supposed to be different (as the triangle @@ -138,10 +103,8 @@ class TestWeston(infra.basetest.BRTest): # display something, we are now supposed to measure a # different display CRC than the one we measured when the # desktop was empty. - cmd = self.gen_read_disp_crcs_cmd() - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertNotEqual(int(output[0], 16), weston_desktop_crc) + crc = self.get_n_fb_crc(count=1)[0] + self.assertNotEqual(crc, weston_desktop_crc) # While weston-simple-egl is running, we check the VKMS DRM # CRCs are now changing. We get many CRCs, one per display @@ -152,10 +115,8 @@ class TestWeston(infra.basetest.BRTest): # remain very permissive to slow emulation situations. # Increase timeout, as the command is expected to run about 5s, # which is the default timeout. - cmd = self.gen_count_unique_disp_crcs_cmd(300) - output, exit_code = self.emulator.run(cmd, timeout=10) - self.assertEqual(exit_code, 0) - self.assertGreaterEqual(int(output[0]), 5) + crcs = self.get_n_fb_crc(count=300, timeout=10) + self.assertGreaterEqual(len(crcs), 5) # We stop weston-simple-egl, and sleep a bit to let Weston do # its cleanup and desktop repaint refresh... @@ -165,10 +126,8 @@ class TestWeston(infra.basetest.BRTest): # After we stopped the application, we should have the initial # weston desktop background. The CRC we measure now should be # the same as the one we saved earlier. - cmd = self.gen_read_disp_crcs_cmd() - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertEqual(int(output[0], 16), weston_desktop_crc) + crc = self.get_n_fb_crc(count=1)[0] + self.assertEqual(crc, weston_desktop_crc) self.stop_weston() -- 2.25.1 From yann.morin.1998 at free.fr Thu Oct 5 16:17:41 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 18:17:41 +0200 Subject: [Buildroot] [PATCH 2/2 v2] suport/runtime-test: extend flutter test to check rendering is happening In-Reply-To: References: Message-ID: <33ee4b08c20f9c4566cfe82c648f01599cab70b5.1696522656.git.yann.morin.1998@free.fr> Commit 7f0af11cee31 (support/testing/tests/package/test_flutter.py: new runtime test) added a simple test that just checked that the systemd unit launching the application, was active. It is perfectly possible, from a systemd perspective, that the unit is active, while the application actually crashes. Instead, what we need to check, is that the application does actually render "something"; we don't really care what, as long as we know it is actually rendering, thus the graphical stack is working and the aplication stack is running. Extend the flutter runtime test to also check that the framebuffer is modified by the application when it is running, similarly to what we do in the weston test. We drop the activation of the unit and start it manually, as we want to check the state of the CRC before, while, and after the application runs. We also need to disable the blinking cursor on the console, or we would not be able to detect whether a change in CRC is due to the application starting rendering, or to the cursor blinking. We tell the kernel to disable the cursor with the appropriate kernel command line parameter. Signed-off-by: Yann E. MORIN Cc: Adam Duskett --- Changes v1 -> v2: - don't mistake blinking cursor for application start (Adam) - properly terminate application (Adam) --- support/testing/tests/package/test_flutter.py | 35 +++++++++++++++---- .../flutter-gallery.service | 1 - 2 files changed, 29 insertions(+), 7 deletions(-) delete mode 120000 support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service diff --git a/support/testing/tests/package/test_flutter.py b/support/testing/tests/package/test_flutter.py index a3e98a43e5..515c95409f 100644 --- a/support/testing/tests/package/test_flutter.py +++ b/support/testing/tests/package/test_flutter.py @@ -1,8 +1,11 @@ import os +import time import infra.basetest +from ..graphics_base import GraphicsBase -class TestFlutter(infra.basetest.BRTest): + +class TestFlutter(infra.basetest.BRTest, GraphicsBase): config = f""" BR2_aarch64=y BR2_TOOLCHAIN_EXTERNAL=y @@ -39,7 +42,7 @@ class TestFlutter(infra.basetest.BRTest): self.emulator.boot( arch="aarch64", kernel=kern, - kernel_cmdline=["root=/dev/vda console=ttyAMA0"], + kernel_cmdline=["root=/dev/vda console=ttyAMA0 vt.global_cursor_default=0"], options=["-M", "virt", "-cpu", "cortex-a57", "-m", "512M", @@ -48,7 +51,27 @@ class TestFlutter(infra.basetest.BRTest): "-vnc", "none", "-drive", f"file={img},if=virtio,format=raw"]) self.emulator.login() - cmd = "systemctl is-active flutter-gallery" - output, exit_code = self.emulator.run(cmd, 10) - self.assertEqual(exit_code, 0) - self.assertEqual(output[0], "active") + + # Get the CRC from the current ramebuffer + empty_crc = self.get_n_fb_crc(count=1)[0] + + # Start the gallery App. It can take a bit of time to start, + # so lets try a few times. 600 samples should cover about 10s + # @60Hz (although, the rendering could be much slower on slow + # machines) + self.assertRunOk("systemctl start flutter-gallery", timeout=10) + for i in range(600): + gallery_crc = self.get_n_fb_crc(count=1)[0] + if gallery_crc != empty_crc: + break + time.sleep(1) + self.assertNotEqual(gallery_crc, empty_crc, "gallery app did not render anything on screen") + + # Stop the application, and check it restored the framebuffer content + self.assertRunOk("systemctl stop flutter-gallery", timeout=10) + for i in range(600): + gallery_crc = self.get_n_fb_crc(count=1)[0] + if gallery_crc == empty_crc: + break + time.sleep(1) + self.assertEqual(gallery_crc, empty_crc, "gallery app did not stop rendering") diff --git a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service deleted file mode 120000 index 40993fb16c..0000000000 --- a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service +++ /dev/null @@ -1 +0,0 @@ -../../../../usr/lib/systemd/system/flutter-gallery.service \ No newline at end of file -- 2.25.1 From peter at korsgaard.com Thu Oct 5 19:43:12 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 5 Oct 2023 21:43:12 +0200 Subject: [Buildroot] [PATCH] package/{glibc, localedef}: security bump to version glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 Message-ID: <20231005194313.1044692-1-peter@korsgaard.com> Fixes the following security issues: CVE-2023-4527: If the system is configured in no-aaaa mode via /etc/resolv.conf, getaddrinfo is called for the AF_UNSPEC address family, and a DNS response is received over TCP that is larger than 2048 bytes, getaddrinfo may potentially disclose stack contents via the returned address data, or crash. CVE-2023-4806: When an NSS plugin only implements the _gethostbyname2_r and _getcanonname_r callbacks, getaddrinfo could use memory that was freed during buffer resizing, potentially causing a crash or read or write to arbitrary memory. CVE-2023-5156: The fix for CVE-2023-4806 introduced a memory leak when an application calls getaddrinfo for AF_INET6 with AI_CANONNAME, AI_ALL and AI_V4MAPPED flags set. CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index 4d2e9fbbd2..00d9f1c985 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 06d73b1804767f83885ab03641e2a7bf8d73f0a6cf8caee4032d8d1cc2e76cce glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675.tar.gz +sha256 fd991e43997ff6e4994264c3cbc23fa87fa28b1b3c446eda8fc2d1d3834a2cfb glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 844bed5051..0b71530310 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 +GLIBC_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index 650b319a25..ed6d4b4968 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 +LOCALEDEF_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc -- 2.30.2 From yann.morin.1998 at free.fr Thu Oct 5 19:54:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:54:10 +0200 Subject: [Buildroot] [git commit] package/{glibc, localedef}: security bump to version glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 Message-ID: <20231005195451.DA29D84251@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8519de517e222c36108f0b573585de3057865ba7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: CVE-2023-4527: If the system is configured in no-aaaa mode via /etc/resolv.conf, getaddrinfo is called for the AF_UNSPEC address family, and a DNS response is received over TCP that is larger than 2048 bytes, getaddrinfo may potentially disclose stack contents via the returned address data, or crash. CVE-2023-4806: When an NSS plugin only implements the _gethostbyname2_r and _getcanonname_r callbacks, getaddrinfo could use memory that was freed during buffer resizing, potentially causing a crash or read or write to arbitrary memory. CVE-2023-5156: The fix for CVE-2023-4806 introduced a memory leak when an application calls getaddrinfo for AF_INET6 with AI_CANONNAME, AI_ALL and AI_V4MAPPED flags set. CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index 4d2e9fbbd2..00d9f1c985 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 06d73b1804767f83885ab03641e2a7bf8d73f0a6cf8caee4032d8d1cc2e76cce glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675.tar.gz +sha256 fd991e43997ff6e4994264c3cbc23fa87fa28b1b3c446eda8fc2d1d3834a2cfb glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 844bed5051..0b71530310 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 +GLIBC_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index 650b319a25..ed6d4b4968 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 +LOCALEDEF_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc From yann.morin.1998 at free.fr Thu Oct 5 19:54:57 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:54:57 +0200 Subject: [Buildroot] [PATCH] package/{glibc, localedef}: security bump to version glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 In-Reply-To: <20231005194313.1044692-1-peter@korsgaard.com> References: <20231005194313.1044692-1-peter@korsgaard.com> Message-ID: <20231005195457.GA2552@scaer> Peter, All, On 2023-10-05 21:43 +0200, Peter Korsgaard spake thusly: > Fixes the following security issues: > > CVE-2023-4527: If the system is configured in no-aaaa mode via > /etc/resolv.conf, getaddrinfo is called for the AF_UNSPEC address > family, and a DNS response is received over TCP that is larger than > 2048 bytes, getaddrinfo may potentially disclose stack contents via > the returned address data, or crash. > > CVE-2023-4806: When an NSS plugin only implements the > _gethostbyname2_r and _getcanonname_r callbacks, getaddrinfo could use > memory that was freed during buffer resizing, potentially causing a > crash or read or write to arbitrary memory. > > CVE-2023-5156: The fix for CVE-2023-4806 introduced a memory leak when > an application calls getaddrinfo for AF_INET6 with AI_CANONNAME, > AI_ALL and AI_V4MAPPED flags set. > > CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the > environment of a setuid program and NAME is valid, it may result in a > buffer overflow, which could be exploited to achieve escalated > privileges. This flaw was introduced in glibc 2.34. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/glibc/glibc.hash | 2 +- > package/glibc/glibc.mk | 2 +- > package/localedef/localedef.mk | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash > index 4d2e9fbbd2..00d9f1c985 100644 > --- a/package/glibc/glibc.hash > +++ b/package/glibc/glibc.hash > @@ -1,5 +1,5 @@ > # Locally calculated (fetched from Github) > -sha256 06d73b1804767f83885ab03641e2a7bf8d73f0a6cf8caee4032d8d1cc2e76cce glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675.tar.gz > +sha256 fd991e43997ff6e4994264c3cbc23fa87fa28b1b3c446eda8fc2d1d3834a2cfb glibc-2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701.tar.gz > > # Hashes for license files > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk > index 844bed5051..0b71530310 100644 > --- a/package/glibc/glibc.mk > +++ b/package/glibc/glibc.mk > @@ -7,7 +7,7 @@ > # Generate version string using: > # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- > # When updating the version, please also update localedef > -GLIBC_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 > +GLIBC_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 > # Upstream doesn't officially provide an https download link. > # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, > # sometimes the connection times out. So use an unofficial github mirror. > diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk > index 650b319a25..ed6d4b4968 100644 > --- a/package/localedef/localedef.mk > +++ b/package/localedef/localedef.mk > @@ -7,7 +7,7 @@ > # Use the same VERSION and SITE as target glibc > # As in glibc.mk, generate version string using: > # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- > -LOCALEDEF_VERSION = 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 > +LOCALEDEF_VERSION = 2.38-27-g750a45a783906a19591fb8ff6b7841470f1f5701 > LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz > LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) > HOST_LOCALEDEF_DL_SUBDIR = glibc > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Oct 5 19:55:15 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:55:15 +0200 Subject: [Buildroot] [git commit] package/tbb: fixes hash Message-ID: <20231005195603.918238426E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5bb58af5eb621084b7266c63bc8033d3e1736460 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: 74b50d553eaf ("package/tbb: bump to version 2021.10.0.") Signed-off-by: Francis Laniel Signed-off-by: Yann E. MORIN --- package/tbb/tbb.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash index 1caf81c5c5..085d54109a 100644 --- a/package/tbb/tbb.hash +++ b/package/tbb/tbb.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz +sha256 487023a955e5a3cc6d3a0d5f89179f9b6c0ae7222613a7185b0227ba0c83700b tbb-2021.10.0.tar.gz sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt From yann.morin.1998 at free.fr Thu Oct 5 19:56:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:56:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/tbb: fixes hash In-Reply-To: <20231005062458.8973-2-flaniel@linux.microsoft.com> References: <20231005062458.8973-1-flaniel@linux.microsoft.com> <20231005062458.8973-2-flaniel@linux.microsoft.com> Message-ID: <20231005195612.GB2552@scaer> Francis, All, On 2023-10-05 09:24 +0300, Francis Laniel spake thusly: > Fixes: 74b50d553eaf ("package/tbb: bump to version 2021.10.0.") > Signed-off-by: Francis Laniel Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/tbb/tbb.hash | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > index 1caf81c5c5..085d54109a 100644 > --- a/package/tbb/tbb.hash > +++ b/package/tbb/tbb.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b tbb-2021.10.0.tar.gz > +sha256 487023a955e5a3cc6d3a0d5f89179f9b6c0ae7222613a7185b0227ba0c83700b tbb-2021.10.0.tar.gz > sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Thu Oct 5 19:59:29 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 21:59:29 +0200 Subject: [Buildroot] [git commit] package/rwmem: bumb to latest version Message-ID: <20231005195958.BF0D68427C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0c7568d6bb53532945c60f0b1794cacce10fae36 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bumb rwmem to the latest version. The main reason to bumb is to get a fix for a compilation issue present when compiling with gcc-13 (need to include ). As the project has moved to C++20, we need to adjust the Config.in accordingly. Signed-off-by: Tomi Valkeinen Signed-off-by: Yann E. MORIN --- package/rwmem/Config.in | 6 +++--- package/rwmem/rwmem.hash | 2 +- package/rwmem/rwmem.mk | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/rwmem/Config.in b/package/rwmem/Config.in index cd9a7f78f1..690b034070 100644 --- a/package/rwmem/Config.in +++ b/package/rwmem/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_RWMEM bool "rwmem" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20 depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR # fmt select BR2_PACKAGE_FMT @@ -10,6 +10,6 @@ config BR2_PACKAGE_RWMEM https://github.com/tomba/rwmem -comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 5" +comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 10" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 diff --git a/package/rwmem/rwmem.hash b/package/rwmem/rwmem.hash index 9becbc5b21..da74002cb4 100644 --- a/package/rwmem/rwmem.hash +++ b/package/rwmem/rwmem.hash @@ -1,2 +1,2 @@ -sha256 55d28f029c0cd5c21d3e1c89371e2905d5217f571ef5389ed0fce163804d1c4a rwmem-c8291705c82bb0686be9adf6a427a2b72114719a.tar.gz +sha256 e6cb76b77869aef9ec4a2c31d0d80af0182a5f9c9c3ae06225c8fb2f8266379f rwmem-c89bc9ad9a8f2359f358c510db57b7678eb156d1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/package/rwmem/rwmem.mk b/package/rwmem/rwmem.mk index 24c4e92efc..d6ef05193b 100644 --- a/package/rwmem/rwmem.mk +++ b/package/rwmem/rwmem.mk @@ -4,7 +4,7 @@ # ################################################################################ -RWMEM_VERSION = c8291705c82bb0686be9adf6a427a2b72114719a +RWMEM_VERSION = c89bc9ad9a8f2359f358c510db57b7678eb156d1 RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION)) RWMEM_LICENSE = GPL-2.0 RWMEM_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Thu Oct 5 20:00:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Thu, 5 Oct 2023 22:00:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/rwmem: bumb to latest version In-Reply-To: <20231005144250.43169-1-tomi.valkeinen@ideasonboard.com> References: <20231005144250.43169-1-tomi.valkeinen@ideasonboard.com> Message-ID: <20231005200012.GC2552@scaer> Tomi, All, On 2023-10-05 17:42 +0300, Tomi Valkeinen spake thusly: > Bumb rwmem to the latest version. The main reason to bumb is to get a > fix for a compilation issue present when compiling with gcc-13 (need to > include ). > > As the project has moved to C++20, we need to adjust the Config.in > accordingly. > > Signed-off-by: Tomi Valkeinen Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/rwmem/Config.in | 6 +++--- > package/rwmem/rwmem.hash | 2 +- > package/rwmem/rwmem.mk | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/rwmem/Config.in b/package/rwmem/Config.in > index cd9a7f78f1..690b034070 100644 > --- a/package/rwmem/Config.in > +++ b/package/rwmem/Config.in > @@ -1,6 +1,6 @@ > config BR2_PACKAGE_RWMEM > bool "rwmem" > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20 > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_USE_WCHAR # fmt > select BR2_PACKAGE_FMT > @@ -10,6 +10,6 @@ config BR2_PACKAGE_RWMEM > > https://github.com/tomba/rwmem > > -comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 5" > +comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 10" > depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ > - !BR2_TOOLCHAIN_GCC_AT_LEAST_5 > + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 > diff --git a/package/rwmem/rwmem.hash b/package/rwmem/rwmem.hash > index 9becbc5b21..da74002cb4 100644 > --- a/package/rwmem/rwmem.hash > +++ b/package/rwmem/rwmem.hash > @@ -1,2 +1,2 @@ > -sha256 55d28f029c0cd5c21d3e1c89371e2905d5217f571ef5389ed0fce163804d1c4a rwmem-c8291705c82bb0686be9adf6a427a2b72114719a.tar.gz > +sha256 e6cb76b77869aef9ec4a2c31d0d80af0182a5f9c9c3ae06225c8fb2f8266379f rwmem-c89bc9ad9a8f2359f358c510db57b7678eb156d1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE > diff --git a/package/rwmem/rwmem.mk b/package/rwmem/rwmem.mk > index 24c4e92efc..d6ef05193b 100644 > --- a/package/rwmem/rwmem.mk > +++ b/package/rwmem/rwmem.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RWMEM_VERSION = c8291705c82bb0686be9adf6a427a2b72114719a > +RWMEM_VERSION = c89bc9ad9a8f2359f358c510db57b7678eb156d1 > RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION)) > RWMEM_LICENSE = GPL-2.0 > RWMEM_LICENSE_FILES = LICENSE > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Thu Oct 5 20:07:01 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Thu, 5 Oct 2023 22:07:01 +0200 Subject: [Buildroot] [PATCH 2/2] package/skeleton-init-systemd: flexible reinstalls In-Reply-To: <20231001160559.GM2579@scaer> References: <20230505043002.1956-1-james.d.knight@live.com> <20231001160559.GM2579@scaer> Message-ID: On 01/10/2023 18:05, Yann E. MORIN wrote: > James, All, > > On 2023-05-05 00:30 -0400, James Knight spake thusly: >> The following commit tweaks the `skeleton-init-systemd` package to >> gracefully handle if a user invokes a reinstall for the package (e.g. >> when performing development tweaks to the initial skeleton). >> >> Signed-off-by: James Knight >> --- >> Only a suggestion; feel free to drop. > > I've spent a bit of time on this, and was about to apply... > > However, there are a few "issues" I noticed with it, mostly that > /etc/fstab should not be used with systemd, but mount units should be Really? The mount unit man page [1] says: "In general, configuring mount points through /etc/fstab is the preferred approach to manage mounts for humans. For tooling, writing mount units should be preferred over editing /etc/fstab." I'm not sure if the skeleton counts as tooling or as a human. Hm, probably tooling, indeed. > used, and so /etc/fstab should only contain this one line, so it does Well, no, if we say that the skeleton is tooling, it shouldn't contain that line at all; instead, there should be a mount unit to remount rw (and no mount unit at all for ro). > not make much sense to have it "reinstallable". [snip] >> diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk >> index 4076821c0c0429cf90681f4b16be114c44bde282..18ae91f2eea30277805ee82791c62d53f24dca1e 100644 >> --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk >> +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk >> @@ -18,13 +18,23 @@ SKELETON_INIT_SYSTEMD_PROVIDES = skeleton >> ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) >> >> define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW >> - echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab The original here _was_ already "reinstallable" because it just overwrites fstab. If there is any other package that writes fstab, it's wrong anyway. Unless it's done in the overlay or post-build-script, but the overlay/script anyway still gets applied after rebuild. >> + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ >> + echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab; \ >> + else \ >> + sed -i "s|/dev/root.*|/dev/root / auto rw 0 1|g" \ >> + $(TARGET_DIR)/etc/fstab; \ >> + fi >> endef >> >> else >> >> define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW >> - echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab >> + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ >> + echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab; \ >> + else \ >> + sed -i "s|/dev/root.*|/dev/root / auto ro 0 1|g" \ >> + $(TARGET_DIR)/etc/fstab; \ >> + fi >> endef >> >> # On a R/O rootfs, /var is a tmpfs filesystem. So, at build time, we >> @@ -78,9 +88,9 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS >> mkdir -p $(TARGET_DIR)/home >> mkdir -p $(TARGET_DIR)/srv >> mkdir -p $(TARGET_DIR)/var >> - ln -s ../run $(TARGET_DIR)/var/run >> + ln -sf ../run $(TARGET_DIR)/var/run IMHO this part is simply a good idea. Regards, Arnout [1] https://www.freedesktop.org/software/systemd/man/systemd.mount.html >> # prevent install scripts to create var/lock as directory >> - ln -s ../run/lock $(TARGET_DIR)/var/lock >> + ln -sf ../run/lock $(TARGET_DIR)/var/lock >> install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf >> $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) >> endef >> -- >> 2.40.1.windows.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > From thomas.petazzoni at bootlin.com Fri Oct 6 05:43:37 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 06 Oct 2023 05:43:37 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-05 Message-ID: <20231006054342.C135D834DE@smtp1.osuosl.org> Hello, Autobuild statistics for 2023-10-05 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 17 | 10 | 1 | 28 | 2023.08.x | 15 | 10 | 0 | 25 | master | 81 | 137 | 0 | 218 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 18 alsa-lib-1.2.10 | 11 alsa-utils-1.2.10 | 10 unknown | 9 gcc-final-12.3.0 | 8 gcc-final-11.4.0 | 5 libselinux-3.5 | 4 linux-6.5.5 | 4 monit-5.33.0 | 4 spirv-tools-1.3.261.1 | 4 glibc-2.38-13-g92201f16cbcf... | 3 gobject-introspection-1.76.1 | 3 brltty-6.5 | 2 check-11970a7e112dfe243a2e6... | 2 coreutils-9.3 | 2 gcc-final-13.2.0 | 2 host-go-1.21.1 | 2 host-rust-1.71.1 | 2 libarchive-3.7.2 | 2 openblas-0.3.24 | 2 acpid-2.0.34 | 1 boost-1.83.0 | 1 cryptodev-linux-1.13 | 1 dhcp-4.4.3-P1 | 1 efivar-38 | 1 freeswitch-1.10.10 | 1 google-breakpad-c85eb4a59b6... | 1 host-erlang-26.0.2 | 1 host-gcc-final-13.2.0 | 1 host-moby-buildkit-0.11.6 | 1 host-sentry-cli-2.20.3 | 1 iw-5.19 | 1 libcamera-v0.1.0 | 1 libsoup-2.74.2 | 1 lightning-2.2.2 | 1 linux-5.10.162-cip24 | 1 linux-pam-1.5.3 | 1 ltp-testsuite-20230929 | 1 madplay-0.15.2b | 1 mariadb-10.11.4 | 1 memcached-1.6.21 | 1 nfs-utils-2.6.3 | 1 pistache-3ec9d7c4f8b828fdd3... | 1 pppd-2.5.0 | 1 python-sip-4.19.25 | 1 python3-3.11.5 | 1 quickjs-2021-03-27 | 1 rwmem-c8291705c82bb0686be9a... | 1 spirv-headers-1.3.261.1 | 1 systemd-254 | 1 tbb-2021.10.0 | 1 uclibc-1.0.44 | 1 uhd-4.3.0.0 | 1 usbguard-1.1.2 | 1 util-linux-2.39.2 | 1 wolfssl-5.6.3 | 1 xenomai-3.0.10 | 1 xvisor-0.3.2 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/cc7f40fd78850b267786a7aa41b3be75966b5085 | ORPH m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/83d079d4d88dff9bff4dc28b1642c13e04ce42c6 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/577e22668cbb88ea6ffa9c6136f9767e19af160d | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/66f59aef666a32a61491f037eb90369357da1de1 | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a3ee4298ef4a34c71cb631d3356f8087c3d3996c | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5cf125e57e55aa854b601c38a1f962f4e8c59183 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1ad4b9833379873d4c4cc1654c3cf6a1b3298be2 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5565e7aaa497c0ce038a09a853fb45884203a4ff | armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/c575952edd06384db23319db578d2923d128a94c | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/294f07cfcfecc5c28bc04f4a00fb4d9b0d26aa17 | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/4b5fbf360d08c58d21cc906d983ec0160f183d40 | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bb90548400cc15fb8bcab2803ef93c989e1f1fb0 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6947cd4833934d94cb068b3cd121bd4b47b3c0e0 | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/21e69c542cd6e7c2869a7d594127eb59d1b15b2c | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7c7433043b3df5db57ceffafeae6df5d02caaf13 | aarch64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/dd1f552d89996dcae2bbf3feadfa0dabdb0ad85f | microblaze | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a6b0dd476fb2eb68485e698c80eb85f122c0a19 | xtensa | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/bbcf557a99fb28619034c85daa0d07b5306fa9a9 | or1k | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/84c134a66a8a3734ea66e9608b202c6b2a86696c | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f1adf1ff2f1c91ccfcd80f330b9656f75cf0810a | mipsel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f0910e8d719d2f47ab5c9b570b843b1fb2572ac2 | powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/48c9140b7365c1270c87bcc3fee443153b112c3b | arm | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/c755ad05edd1597d1d4623652062da8a69492b06 | m68k | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/fb6c7cd4166c0970cefde93fc5bff185f67f41fb | mips64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/f8218a8425f7e6910cb17f289a13936097a16452 | microblazeel | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/183bbcbf6aa5de2b53939391a635c7089cef6054 | ORPH arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/3bcec7cad5236f4b8831cfeec44bd033b1dfbcb3 | ORPH arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/cfe6774566d3edc4430d6f41e3b4f4f20baaa7fa | ORPH arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/7bdbee9a01262577b34596b60f082962c42c86a0 | ORPH i686 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/c3e071938028cea5810aee8ce1a8bdaf6555ce83 | ORPH aarch64 | dhcp-4.4.3-P1 | NOK | http://autobuild.buildroot.net/results/962c74b043d5e7a0dbccdee0d69cf76a5a8792aa | ORPH i686 | efivar-38 | NOK | http://autobuild.buildroot.net/results/e899ac69bd0e4bce833997a8b827c812bcfa87b2 | or1k | freeswitch-1.10.10 | NOK | http://autobuild.buildroot.net/results/178da0d217d6137867c59ac4fa0e037d4fabf158 | arm | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/b9ac0347d3b37ecae04d17cfb96f36938606be57 | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/0bfc402d1724347b1b9df31e7bce4c741a768317 | aarch64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/7cd15d9e1d443010206523a45c1105f4d1e9cef8 | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/8b61ad5c8e88f0f33e5122d35dac8dad5caf5951 | xtensa | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/e202b266d874464ffa0ff6e7bba134c750c0ffa1 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f219fab61e20a0ef959c143922281e533523f449 | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6ebbc6d1efe2ebaae7fb1bb9f41524f037f7560d | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f79259d51469c443c9e65a32e91d764433668038 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7a9d43359947c11c5fe6446395f7c9a7550d807c | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fd68f4fb6231d709d4fc181b48378bf7f2c265fb | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/68c338735fadaa2ef879eb401eab0b68d2889857 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/770921bdbaa95c2dfa5aa43698b376e826b68fbb | aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/654e8580a4183125b2b939105a6639f2953a2ea7 | arm | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/095552ea3a636d41de4df21b0b8c11dd19b4b590 | riscv64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/394f271393ccbe31ef6b35f102f14c1308be8efc | powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/c168b6063c7e718a4946091c63bb111cac229c3a | arc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/a676160da51e5c2f55ffd510fd95869352af7f85 | powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/180b1e1e6310682b8a43c2efaca0cfe44405dd42 | or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/79d2434679cbc18c3565f255b813e4e4008db030 | ORPH m68k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8085e3558acfb0cabcf1aaea9aea26c83232aa34 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/fc1b3a9c491214fc34e136d8a3bbdc8ccff69bac | ORPH x86_64 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/308627cb1841783fb27ae3ebdf90899ab3d3a392 | mipsel | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/530d3587be84d4e55e09cd6be0f75b89b3f3c504 | arceb | host-gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/7b7c75cbe5bfc7f39322cc814e776190ed9f6166 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/494d11d1fafecf927e7da79959b10b31eac57950 | mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/1399c1204c821eec54a0d1e2500007c8e621d237 | arm | host-moby-buildkit-0.11.6 | NOK | http://autobuild.buildroot.net/results/4cf0c18ab96ca125490add9dd4406d66b6c4bc54 | mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/d92a22e8cdc45bf1bc14e95816a6f363b5f44e21 | armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e299dac9967a176053ea7389c6384ad34f4dd4eb | powerpc64 | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/ceb60c673db986d537434645bd49bb966adc9a1b | arm | iw-5.19 | NOK | http://autobuild.buildroot.net/results/30dc81bb4021c32de9f8ed8dee0f86cff508f080 | ORPH s390x | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/473632627e1e05a1b0a5ec12f57d99f6d9c2482b | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/ff0a7394e293b0446f32fb400b8baa79eee03c50 | aarch64 | libcamera-v0.1.0 | NOK | http://autobuild.buildroot.net/results/0a2b06f7be5e02e32f3ea50c86be6087a3ff8314 | nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/c0aa5bec6aa9f19b80bf5585072cb914196bbf6d | sh4aeb | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/0497fbe693c6751b50160b34135341bcbd4cc8c7 | armeb | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/2593165c50e779dfafe5f1bb4e085b87b6977ceb | microblazeel | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/9d5ad44312cfc20b5a8612f4d2c2078e8c71a06f | sparc | libsoup-2.74.2 | NOK | http://autobuild.buildroot.net/results/5eb054a70e3cb806e4806319d0ecb8799e148e93 | mips64 | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/9f45e4776f93b60eb11a732d7344be9e0bc55172 | microblaze | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/481d3fe2f8341adc1c04158e90c7958e5235946a | ORPH powerpc | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/eef509dc309a47ccf2a1bd8f9dc63109e9c9ed2c | ORPH mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/3489682caa8a822e45f22d10536c9509f6fb7ce6 | ORPH mips64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/9eb3ce5dff9b761402592c32e3e973e002ca81fb | ORPH mips64el | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/1e2ea2e9c5702e4521317f8d32585229e367121d | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/502681b8b090e7a9b7e7c0c1898104bb35464573 | ORPH x86_64 | ltp-testsuite-20230929 | NOK | http://autobuild.buildroot.net/results/c9abd74429d34234dc764dc59c50301982a4b589 | arm | madplay-0.15.2b | NOK | http://autobuild.buildroot.net/results/77b398aff554871f1c0fb9608f0eeb2cfbfc193c | ORPH microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/fd0ff82697e9d62c24fb476182c012159ac99c40 | ORPH arceb | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/a8d1445a84170e9561405f29d3d5375bcf29e709 | ORPH arm | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/1cd652438a5677eefeb675655a0dc58e0d4e2450 | mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/8f53882637a393979d45180fe8c820afe3fa59a7 | or1k | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/1f9c98511d4f39d78d688214a7010e5368a1051d | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/02f90b50d0ca774dccbbaa01e978ef08e67742a8 | mips | nfs-utils-2.6.3 | NOK | http://autobuild.buildroot.net/results/672cfa7a93735567439d2953e22a1814f4ea40ea | mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6dedef7f2bba1995cb40605c67101521c3578a04 | mips64el | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6d46959655de5358485cc74aaff474fc9ff58d4d | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d3e1a1a5fcd13c4f05699c3464d84f1997444a0a | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/63fa0dab911385b8c453d84cd3df1419c64cb823 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/82edcf2b6122cf58b88a36d71929776c15848e8d | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/548d057b00b75065dc84818b918385dd1ee4c677 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cf95dcb380e6c18ed68ad1c78adbab5f8794b912 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/fb0761787e4282eb878e8dabc8b802e7f9a76f5e | or1k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f63ef4ec5abee42e9eb0c8223aab50a885f765d7 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/938039d38ab047ac754b98e2a7f9dadd90a7b2bd | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f73b8c6405f423092ecb3855c52c89c97f6b9b9e | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c58dac93acfbd2a231a91102a840e70321c24a74 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f7dfa6712462d835be9948f59aaf7f325946ff4d | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7b2d404bbe1e5ee46c6cac0f4b18b7853f0c08a7 | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7c9b64e5cc8b04d6093f677e0370ba4a9ee8414b | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/825b3465d449e4225ad96280eef805338fdbeffb | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ec415e9d7ed00872986dc9b327cc5fd26cf6c776 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7a83c1b28aa6dc5e3136a14d90f49811a6836ab6 | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2f722250c7dd71d99daecfa8bd46fad3a59db5c3 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ee381f4550d20f101b69f392cde22e79e30aab4a | powerpc64le | pistache-3ec9d7c4f8b828fdd3... | NOK | http://autobuild.buildroot.net/results/f54aaa19e0fe4140116a2de2daca925208870274 | ORPH sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/9f3f7d71bd24f5c3dd28682ac28ef2c80a89d1dd | powerpc64le | python-sip-4.19.25 | NOK | http://autobuild.buildroot.net/results/dd27fbf5fa4204cf0bfdca0fe30b3ad0275759e0 | sh4a | python3-3.11.5 | NOK | http://autobuild.buildroot.net/results/986276c92b82b26a09877a16bbdec8e5b45f93e7 | armeb | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/80402926ecd4014cd0f84d36d87b7a48b05619ef | m68k | rwmem-c8291705c82bb0686be9a... | NOK | http://autobuild.buildroot.net/results/2d3b20b20a42ad7dd53fdd3f768b94ec90976ab2 | ORPH powerpc64le | spirv-headers-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/6a387441759b10eb38301c1dafec3506c72446e9 | riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/47da3f56158fba3c1aa78c6768fef889b03470e0 | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/dd2f3d24061367f2da3152a62b1e673d7c3b8c99 | ORPH m68k | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/a885e6b28c06d5d96db893143f1e1da67b539d42 | ORPH powerpc64le | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/efb5f4c1ae9595ffa6ae505448e1ee336d18f0f2 | ORPH mips64 | systemd-254 | NOK | http://autobuild.buildroot.net/results/0bdd9f47f5fef47aaec674df604a1be0a187e3d2 | s390x | tbb-2021.10.0 | NOK | http://autobuild.buildroot.net/results/8f0a2ea99940d96f6d88c08eb84e0da495e22d58 | riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/472c4051a84d9b6da534e05cb56f1e709eab0e63 | s390x | uhd-4.3.0.0 | NOK | http://autobuild.buildroot.net/results/93381d9fd9e3da0b70895810d898e10833fc5c79 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/0b9da6ab6cad83382411afc3fb759fab7f68fc27 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/6416ad6a10b7b3f768ce061f08dd39843d1d0a45 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/24d6818790290371afe171063ffadcf409de10b8 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/0b4bc50a913d6e2aa7cb9df06672dbf87d681d05 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/dcf90dad7b9525f1b09f1323c1aac811c5936862 | sh4eb | unknown | NOK | http://autobuild.buildroot.net/results/beb24715673e00529c7b1b5eef311eb5f0684ed7 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/1a4db540dabb1cf7b476f58ba8d4785f23405a07 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/57c6b3d0483ae8d56f366c113a7f44c78359ee2d | arm | unknown | NOK | http://autobuild.buildroot.net/results/fb2fc91536cc931a553dff24e96333ea2981ad2d | microblazeel | usbguard-1.1.2 | NOK | http://autobuild.buildroot.net/results/1a08823020c37a73f4e4a40f47b02fca3f159748 | i686 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/aef2f73ffeadb7c6d8c7acf91d37bbafa1f3da85 | ORPH s390x | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/d7997a74c4c6a0745e51aa7a3e0cb4d939adc549 | arc | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/6a56fb98e3492ce115ec61dbbe7cde0793089878 | riscv32 | xvisor-0.3.2 | NOK | http://autobuild.buildroot.net/results/844c64d894221155645d2640d8e6cd4b5a20af35 | Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 3 btrfs-progs | 1 check-0.15.2 | 1 elfutils-0.186 | 1 host-go-1.19.13 | 1 motion-4.5.1 | 1 ocf-linux-20171122 | 1 wolfssl-5.5.3 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/04d7e4c3798a3d416c2a6ed8b44d5696ee66ad27 | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/4681da1856db567ca5a616d12730234351581fbd | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/1a36b64ede75dcb047efc10674836e3222328c42 | mips64el | btrfs-progs | TIM | http://autobuild.buildroot.net/results/72af1dafe03bbbe1019c7f3333cb2d66759a95a5 | arm | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/96c9020f28b836ff720cd70175708d2d9144fee9 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/e8d0d884fcb672457f21d421cec5e805857ddc91 | ORPH mips64el | host-go-1.19.13 | NOK | http://autobuild.buildroot.net/results/bfcec8a7ad2acd9d8b2e2ce254e3a59a75fecf4e | mipsel | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/7fc090138ec20d545e0c75131707d3675b01a371 | i686 | ocf-linux-20171122 | NOK | http://autobuild.buildroot.net/results/9226bc3f762b671dee65a77835698facb761d02b | mips64el | wolfssl-5.5.3 | NOK | http://autobuild.buildroot.net/results/5d99f13abde9d6b0069823eb5c1688db9d59f824 | arm | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/21e2dedaabf87caf073fcda287eaa6e2a58ecbca | Classification of failures by reason for 2023.08.x -------------------------------------------------- dc3dd-7.2.641 | 1 elfutils-0.189 | 1 ethtool-6.3 | 1 frr-8.4.2 | 1 gobject-introspection-1.76.1 | 1 host-go-1.20.8 | 1 host-rust-1.71.1 | 1 libgeos-3.12.0 | 1 pipewire-0.3.74 | 1 speechd-0.11.4 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/025a79b9f53867b8a8edf250c300921993ab250d | ORPH arceb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/752d6c0aacdd6980917bf1148685bd054181cf7a | ORPH arm | ethtool-6.3 | NOK | http://autobuild.buildroot.net/results/1080b35f0bc809347a76ea54d40cdfbf0bcfd372 | arc | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/3242f1674e4fe007f36810d0a34d2815f5769ed4 | s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/a7594202901567c02c43f1513c2c4aae282f1372 | ORPH armeb | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/16afd3bf590895bcfa7e143c752712be8699702a | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/eefb0cab17ddce079b2ded8dc1f48f8c4a9a32bd | or1k | libgeos-3.12.0 | NOK | http://autobuild.buildroot.net/results/72361949e1204db4de860f1ed6f0cc42b6e6cad1 | mips | pipewire-0.3.74 | NOK | http://autobuild.buildroot.net/results/53be2788f3fd65595e50d024e6c2c9b5ea06eb19 | arm | speechd-0.11.4 | NOK | http://autobuild.buildroot.net/results/8ab13cf474d732c95a1da65592d950b24b3d474b | -- http://autobuild.buildroot.net From peter at korsgaard.com Fri Oct 6 06:24:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 08:24:49 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/{glibc, localedef}: security bump to version glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 Message-ID: <20231006062449.1481741-1-peter@korsgaard.com> Fixes the following security issues: CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index ab310498b8..2b8f49ea6b 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 7129dfadea29e8f20865186a7fdec3dc3e65d055a81dc8fc399189491bba493c glibc-2.37-43-g94ef70136587c40a357f775677997c753b3de56c.tar.gz +sha256 19d874f03dadbccaca8ae88a0e96d38435066badfe6ed606c2ad1e525454dece glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 666d9e4a8c..319028b058 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c +GLIBC_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index d368121a1a..18f040d7c2 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c +LOCALEDEF_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc -- 2.30.2 From Nayabbasha.Sayed at microchip.com Fri Oct 6 06:18:56 2023 From: Nayabbasha.Sayed at microchip.com (Nayabbasha.Sayed at microchip.com) Date: Fri, 6 Oct 2023 06:18:56 +0000 Subject: [Buildroot] buildroot Digest, Vol 207, Issue 55 In-Reply-To: References: Message-ID: On 27/09/23 03:15, buildroot-request at buildroot.org wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > Send buildroot mailing list submissions to > buildroot at buildroot.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.buildroot.org/mailman/listinfo/buildroot > or, via email, send a message with subject or body 'help' to > buildroot-request at buildroot.org > > You can reach the person managing the list at > buildroot-owner at buildroot.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of buildroot digest..." > > > Today's Topics: > > 1. [git commit branch/2023.08.x] package/libcoap: ignore > CVE-2023-35862 (Peter Korsgaard) > 2. [git commit branch/2023.08.x] package/webkitgtk: security > bump to version 2.40.5 (Peter Korsgaard) > 3. [git commit branch/2023.08.x] package/libssh: ignore > CVE-2023-3603 (Peter Korsgaard) > 4. [git commit branch/2023.05.x] package/webkitgtk: security > bump to version 2.40.5 (Peter Korsgaard) > 5. [autobuild.buildroot.net] Daily results for 2023-09-25 > (Thomas Petazzoni) > 6. [PATCH] package/mmc-utils: fix build failure due to potential > overflow (Giulio Benetti) > 7. Re: [PATCH 1/1] docs/manual: add section to explain how to > give credits to a sponsor (Peter Korsgaard) > 8. Re: [PATCH v2] package/nut: package/nut: specify > --with-user/group when building NUT (Peter Korsgaard) > 9. Re: [PATCH] package/libpjsip: security bump to version 2.13.1 > (Peter Korsgaard) > 10. [git commit branch/2023.05.x] package/libpjsip: security bump > to version 2.13.1 (Peter Korsgaard) > 11. [git commit branch/2023.05.x] package/nut: package/nut: > specify --with-user/group when building NUT (Peter Korsgaard) > 12. [git commit branch/2023.05.x] docs/manual: add section to > explain how to give credits to a sponsor (Peter Korsgaard) > 13. [git commit branch/2023.08.x] package/nut: package/nut: > specify --with-user/group when building NUT (Peter Korsgaard) > 14. [git commit branch/2023.08.x] docs/manual: add section to > explain how to give credits to a sponsor (Peter Korsgaard) > 15. [git commit branch/2023.08.x] package/libpjsip: security bump > to version 2.13.1 (Peter Korsgaard) > 16. Re: [PATCH v2] package/nodejs: fix parallel build > (Peter Korsgaard) > 17. [git commit branch/2023.05.x] package/nodejs: fix parallel > build (Peter Korsgaard) > 18. [git commit branch/2023.08.x] package/nodejs: fix parallel > build (Peter Korsgaard) > 19. [git commit branch/2023.02.x] package/nodejs: fix parallel > build (Peter Korsgaard) > 20. [git commit branch/2023.02.x] package/nut: package/nut: > specify --with-user/group when building NUT (Peter Korsgaard) > 21. [git commit branch/2023.02.x] package/libpjsip: security bump > to version 2.13.1 (Peter Korsgaard) > 22. [git commit branch/2023.02.x] docs/manual: add section to > explain how to give credits to a sponsor (Peter Korsgaard) > 23. [PATCH v2 3/4] package/linux-tools: add rtla (Giulio Benetti) > 24. [PATCH v2 4/4] package/trace-cmd: bump to 3.1.7 (Giulio Benetti) > 25. [PATCH v2 1/4] package/libtraceevent: new package (Giulio Benetti) > 26. [PATCH v2 2/4] package/libtracefs: new package (Giulio Benetti) > 27. [git commit branch/2023.08.x] package/libopenssl: bump to > version 3.0.11 (Peter Korsgaard) > 28. [PATCH] support/runtime-test: fix weston test (Yann E. MORIN) > 29. Re: [PATCH v2] board: add Orangepi Zero3 support (Sergey Kuzminov) > 30. Re: [PATCH v9 7/7] > support/testing/tests/package/test_flutter.py: new runtime test > (Yann E. MORIN) > 31. [git commit branch/2023.05.x] Update for 2023.05.3 > (Peter Korsgaard) > 32. [git commit branch/2023.05.x] Revert "package/docker-cli: > backport fix for host header check" (Peter Korsgaard) > 33. [git commit branch/2023.05.x] Revert "package/docker-engine: > backport fix for host header check" (Peter Korsgaard) > 34. [git commit branch/2023.02.x] Revert "package/docker-cli: > backport fix for host header check" (Peter Korsgaard) > 35. [git commit branch/2023.02.x] Revert "package/docker-engine: > backport fix for host header check" (Peter Korsgaard) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 26 Sep 2023 08:09:22 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/libcoap: > ignore CVE-2023-35862 > Message-ID: <20230926061220.C1A7387816 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=335dbb595ab027b3a46a4fd764e93c1dc9d31e56 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > According to a collaborator [0] the affected code isn't in 4.3.1 > > [0]: https://github.com/obgm/libcoap/issues/1117 > > Signed-off-by: Daniel Lang > Signed-off-by: Arnout Vandecappelle > (cherry picked from commit 20c023a3b1363f914a18652a79f83648af2cf1e6) > Signed-off-by: Peter Korsgaard > --- > package/libcoap/libcoap.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk > index 3773ad293c..94bfc59702 100644 > --- a/package/libcoap/libcoap.mk > +++ b/package/libcoap/libcoap.mk > @@ -16,6 +16,8 @@ LIBCOAP_CONF_OPTS = \ > LIBCOAP_AUTORECONF = YES > # 0001-Backport-fix-for-CVE-2023-30362.patch > LIBCOAP_IGNORE_CVES += CVE-2023-30362 > +# Doesn't affect 4.3.1, see https://github.com/obgm/libcoap/issues/1117 > +LIBCOAP_IGNORE_CVES += CVE-2023-35862 > > ifeq ($(BR2_PACKAGE_GNUTLS),y) > LIBCOAP_DEPENDENCIES += gnutls > > > ------------------------------ > > Message: 2 > Date: Tue, 26 Sep 2023 08:04:07 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/webkitgtk: > security bump to version 2.40.5 > Message-ID: <20230926061220.A3EBC87813 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=f35f7c3eabc4225fda225f1e27a6d84e7596fbcb > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Bugfix release with many security fixes, including (but not limited to) > patches for CVE-2023-37450, CVE-2023-38133, CVE-2023-38572, CVE-2023-38592, > CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38599, > CVE-2023-38600, and CVE-2023-38611. > > Release notes: > > https://webkitgtk.org/2023/07/21/webkitgtk2.40.4-released.html > https://webkitgtk.org/2023/08/01/webkitgtk2.40.5-released.html > > Accompanying security advisory: > > https://webkitgtk.org/security/WSA-2023-0006.html > https://webkitgtk.org/security/WSA-2023-0007.html > > Signed-off-by: Thomas Devoogdt > Signed-off-by: Yann E. MORIN > (cherry picked from commit 3ba27e682a861e304138fa2a460c10db2c83abe4) > Signed-off-by: Peter Korsgaard > --- > ...ailure-when-gstreamer-support-is-disabled.patch | 36 ++++++++++++++++++++++ > package/webkitgtk/webkitgtk.hash | 6 ++-- > package/webkitgtk/webkitgtk.mk | 2 +- > 3 files changed, 40 insertions(+), 4 deletions(-) > > diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > new file mode 100644 > index 0000000000..3fa23b215b > --- /dev/null > +++ b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > @@ -0,0 +1,36 @@ > +From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 > +From: Matt Turner > +Date: Tue, 8 Aug 2023 16:51:25 -0700 > +Subject: [PATCH] Fix build failure when gstreamer support is disabled > + https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 > + > +Reviewed by Carlos Alberto Lopez Perez. > + > +* Source/WebCore/loader/MixedContentChecker.cpp: > + > +Canonical link: https://commits.webkit.org/260527.429 at fix-build > + > +(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) > + > +Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 > +Signed-off-by: Thomas Devoogdt > +--- > + Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp > +index 9b4c7fe62020..ac4733bc08bc 100644 > +--- a/Source/WebCore/loader/MixedContentChecker.cpp > ++++ b/Source/WebCore/loader/MixedContentChecker.cpp > +@@ -33,6 +33,8 @@ > + #include "ContentSecurityPolicy.h" > + #include "Document.h" > + #include "Frame.h" > ++#include "FrameLoader.h" > ++#include "FrameLoaderClient.h" > + #include "SecurityOrigin.h" > + > + namespace WebCore { > +-- > +2.42.0 > + > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 756ac13ec2..7f50f1aa7b 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,6 +1,6 @@ > -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.3.tar.xz.sums > -sha1 74ee7241f2add46897019e22bd4f8e19e09027bb webkitgtk-2.40.3.tar.xz > -sha256 cc0aa83f40dbc64c1c6ae42ec6b85af4be2a9dbf524cfcb95f89a367fb5098dd webkitgtk-2.40.3.tar.xz > +# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums > +sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz > +sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 56277a0a0a..d5e983e403 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.40.3 > +WEBKITGTK_VERSION = 2.40.5 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES > > > ------------------------------ > > Message: 3 > Date: Tue, 26 Sep 2023 08:07:52 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/libssh: > ignore CVE-2023-3603 > Message-ID: <20230926061220.AD43C87814 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=e69fb4864062f145366815a092779b857c244407 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > The affected code isn't present in any release, see [0]. > > [0]: https://www.libssh.org/2023/07/14/cve-2023-3603-potential-null-dereference-in-libsshs-sftp-server/ > > The CPE entry for this CVE is > cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:* > We interpret the "-" as matching any version. It actually means > "unspecified version", which is the cop-out in case there is nothing > useful to match. We can't really make our infrastructure ignore "-" > entirely, because for all we know our version is an unreleased commit > sha which _is_ vulnerable. Thus, the only way out is an exclusion which > we'll never be able to remove. > > Signed-off-by: Daniel Lang > Signed-off-by: Arnout Vandecappelle > (cherry picked from commit a34a370f4ea27981be43df817f49320a59088e68) > Signed-off-by: Peter Korsgaard > --- > package/libssh/libssh.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/libssh/libssh.mk b/package/libssh/libssh.mk > index e770d2b924..ff4cddaf91 100644 > --- a/package/libssh/libssh.mk > +++ b/package/libssh/libssh.mk > @@ -17,6 +17,10 @@ LIBSSH_CONF_OPTS = \ > -DWITH_STACK_PROTECTOR=OFF \ > -DWITH_EXAMPLES=OFF > > +# Not part of any release > +# https://www.libssh.org/2023/07/14/cve-2023-3603-potential-null-dereference-in-libsshs-sftp-server/ > +LIBSSH_IGNORE_CVES += CVE-2023-3603 > + > ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) > LIBSSH_CONF_OPTS += -DWITH_STACK_CLASH_PROTECTION=OFF > endif > > > ------------------------------ > > Message: 4 > Date: Tue, 26 Sep 2023 08:04:50 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] package/webkitgtk: > security bump to version 2.40.5 > Message-ID: <20230926061219.E197B87813 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=bd5eaa7df8025a3d5afa94c495c1c4b34ad53bee > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Bugfix release with many security fixes, including (but not limited to) > patches for CVE-2023-37450, CVE-2023-38133, CVE-2023-38572, CVE-2023-38592, > CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38599, > CVE-2023-38600, and CVE-2023-38611. > > Release notes: > > https://webkitgtk.org/2023/07/21/webkitgtk2.40.4-released.html > https://webkitgtk.org/2023/08/01/webkitgtk2.40.5-released.html > > Accompanying security advisory: > > https://webkitgtk.org/security/WSA-2023-0006.html > https://webkitgtk.org/security/WSA-2023-0007.html > > Signed-off-by: Thomas Devoogdt > Signed-off-by: Yann E. MORIN > (cherry picked from commit 3ba27e682a861e304138fa2a460c10db2c83abe4) > Signed-off-by: Peter Korsgaard > --- > ...ailure-when-gstreamer-support-is-disabled.patch | 36 ++++++++++++++++++++++ > package/webkitgtk/webkitgtk.hash | 6 ++-- > package/webkitgtk/webkitgtk.mk | 2 +- > 3 files changed, 40 insertions(+), 4 deletions(-) > > diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > new file mode 100644 > index 0000000000..3fa23b215b > --- /dev/null > +++ b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > @@ -0,0 +1,36 @@ > +From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 > +From: Matt Turner > +Date: Tue, 8 Aug 2023 16:51:25 -0700 > +Subject: [PATCH] Fix build failure when gstreamer support is disabled > + https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 > + > +Reviewed by Carlos Alberto Lopez Perez. > + > +* Source/WebCore/loader/MixedContentChecker.cpp: > + > +Canonical link: https://commits.webkit.org/260527.429 at fix-build > + > +(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) > + > +Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 > +Signed-off-by: Thomas Devoogdt > +--- > + Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp > +index 9b4c7fe62020..ac4733bc08bc 100644 > +--- a/Source/WebCore/loader/MixedContentChecker.cpp > ++++ b/Source/WebCore/loader/MixedContentChecker.cpp > +@@ -33,6 +33,8 @@ > + #include "ContentSecurityPolicy.h" > + #include "Document.h" > + #include "Frame.h" > ++#include "FrameLoader.h" > ++#include "FrameLoaderClient.h" > + #include "SecurityOrigin.h" > + > + namespace WebCore { > +-- > +2.42.0 > + > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 756ac13ec2..7f50f1aa7b 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,6 +1,6 @@ > -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.3.tar.xz.sums > -sha1 74ee7241f2add46897019e22bd4f8e19e09027bb webkitgtk-2.40.3.tar.xz > -sha256 cc0aa83f40dbc64c1c6ae42ec6b85af4be2a9dbf524cfcb95f89a367fb5098dd webkitgtk-2.40.3.tar.xz > +# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums > +sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz > +sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 56277a0a0a..d5e983e403 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.40.3 > +WEBKITGTK_VERSION = 2.40.5 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES > > > ------------------------------ > > Message: 5 > Date: Tue, 26 Sep 2023 06:50:40 -0000 > From: Thomas Petazzoni > To: buildroot at buildroot.org > Subject: [Buildroot] [autobuild.buildroot.net] Daily results for > 2023-09-25 > Message-ID: <20230926065047.EA45941E61 at smtp4.osuosl.org> > Content-Type: text/plain; charset="us-ascii" > > Hello, > > Autobuild statistics for 2023-09-25 > =================================== > > branch | OK | NOK | TIM | TOT | > 2023.02.x | 6 | 10 | 0 | 16 | > 2023.05.x | 10 | 6 | 0 | 16 | > 2023.08.x | 11 | 7 | 0 | 18 | > master | 78 | 76 | 0 | 154 | > > Classification of failures by reason for master > ----------------------------------------------- > > alsa-lib-1.2.10 | 10 > unknown | 6 > host-go-1.21.1 | 5 > alsa-utils-1.2.10 | 4 > bird-2.0.12 | 4 > glibc-2.37-2-g9f8513dc64119... | 4 > stress-ng-0.15.07 | 4 > elfutils-0.189 | 3 > host-rust-1.71.1 | 3 > libarchive-3.7.2 | 3 > mariadb-10.11.4 | 3 > proj-8.1.1 | 3 > brltty-6.5 | 2 > gobject-introspection-1.76.1 | 2 > linux-6.4.14 | 2 > xenomai-3.0.10 | 2 > check-11970a7e112dfe243a2e6... | 1 > conmon-2.1.8 | 1 > fs/romfs/romfs.mk:32: /home... | 1 > host-erlang-26.0.2 | 1 > host-gcc-final-12.3.0 | 1 > lightning-2.2.2 | 1 > lttng-modules-2.13.7 | 1 > mmc-utils-613495ecaca97a19f... | 1 > olsr-0.9.8 | 1 > php-8.2.10 | 1 > qemu-8.1.0 | 1 > squid-6.2 | 1 > systemd-254 | 1 > tcf-agent-1.7.0 | 1 > valgrind-3.21.0 | 1 > wolfssl-5.6.3 | 1 > > > Detail of failures for master > ----------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3ceec32f42947ce6807c83abaea54dadc8679198 | > aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b148d1cd0bdb6cecff56d2f1407b53fde49e285e | > x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6e3f23d6d774c332b7c797c046d1fd5480221ba1 | > or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/640fef2accaf666b9ddf6acd7f64937f8d0961b4 | > microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f94a864a05146f2c5cb4c04bb66460cde48f4309 | > m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/d56e5afc96152ac9b3d08acaf85219637745f6f8 | > arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7359e18a3dd50b1e18cad260a50567018ec70f16 | > sh4a | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bc09306a5f05b8939bad912fa02da0ed9a769aa6 | > microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/228d8be8b2437003df882eb672ef5bc73d8ff471 | > aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b1d7a5d9fd8ed6bd8bbf707c98638153c7b8a7f8 | > s390x | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/09faa170c4ab44c39de3450985c88b049f492ed2 | > x86_64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/94f72c01f462273d69138d629479055f0ddb443f | > arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f85e9c502de1647c19fb00502703e1aa55386c4e | > mipsel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/42ab6e4003cce672c3ed88cd090301f44d0c2e85 | > s390x | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/eea3097ed8652f6c6597fc4ef9d9536cbb4df23a | > sh4 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/db3a45acd435bee5c44109db66e87ebf930f5e2e | > mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b8edde854848bf5050733d591b5ac653d652b157 | > arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/54a984f41fd5c58fc14c5a722526ebf56c4fedd7 | > aarch64_be | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/964d3e46f79f7ae0d204dabed395b3759fab42ba | > mips64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/62383191117b33141cd516dce7b87bdb3517b40c | > arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/36de1229d6f2ad57fffcdc70e4c4883c10f28141 | ORPH > mips64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/2a4035bbf3139a3e50aeecb69a6068533cddfac2 | > microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/0e5255437a9fe10ff42fdad7284ff8b923c7ed49 | ORPH > microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3f3c024c0e7a487d31792dcdb1dc5764a9a384c8 | ORPH > microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3579a51bfc73fb12347112fd0d53a4cebdf7717f | ORPH > sparc64 | fs/romfs/romfs.mk:32: /home... | NOK | http://autobuild.buildroot.net/results/9d328fa4ec604ce80cdb6a80c8a0609ae692f4a4 | > powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/f9ad33c33a0d35f21dabe062792460b710b9ac5f | > powerpc64 | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/19207b530fd3106a07f6fb3d1964c07094c5918b | > powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/681291969190a3cfc08d409d916bec78b1499ddb | > powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/50fc667015f0a0c0f199cf9de92ac6bd2a8465fb | > nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/7027ffb259239827592d1adbeb7e09fb0ddb2bd3 | ORPH > sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/ae1bdde15333b5dbc59bd3564b836e4a96483ccb | ORPH > i686 | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/0e7ff49faf127491819d34a1c825b47d61794cd1 | > microblazeel | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/99439a74049df0ca417b74a7ad9bc4b9df1cab2f | > powerpc64le | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/ec1a401349b1275657aadec3fd39fb62b33b5bfa | > mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/2162ce22c7f91b587bb04ae2d81f4331333a74da | > mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/69e40e223f5ae215da9bb73aa0e805c3aefe1833 | > sparc64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/212dcc59e2b91dbc286e551b63277bf2fa09cd97 | > mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/a931bc4814682b5bbcc9cc0c9998909f2e28dc5a | > powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/2de8422fd79ccb3813c4df16cab183253bc3f335 | > x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e9dbd56ad6a5aa6204219d8ccf897117bd2d7103 | > mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/ca5dbdeebdfd63844665b7d9d43b7e8debb2851f | > arm | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/167f1ac03cf48f008531e722ae008b10ce70399c | > mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/a2b3243c0328977140c300d4fd9aea6ac57e05a1 | > mips | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/1cc40c078b6667e9e19ac11bf57a1909338f5cb7 | > mips64el | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/105f3900c5aafa255d47177e6cfcf7d2426e8d62 | > mips | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/33fe90580a8e5a36b6918075775d34cb15cebd0e | ORPH > arceb | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/d4ad93a6072bc719ebe9c963fdb75848d59e71bf | ORPH > powerpc64 | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/72f59d2ae40f8de8780b8e81ab45ecb1d314f4f4 | > microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/900bcae312f1df0059a94fefacca8904739fc9b2 | ORPH > or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/c6573324d4fbbb8ac4f7f3d4e8c3cbb6a0e3e180 | ORPH > mips | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/349a18666b9366adeb8555918a64a70890c434aa | ORPH > mipsel | mmc-utils-613495ecaca97a19f... | NOK | http://autobuild.buildroot.net/results/a53922c5db3e605a5e81e53c034f45017ebb7db7 | > mips64 | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/d80264776d3aea1b01034447b5a1c124531f1f00 | ORPH > m68k | php-8.2.10 | NOK | http://autobuild.buildroot.net/results/ebe7fcc6e3962028d07d0b14e79d422ea847d6e2 | > s390x | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/06760e59b408645586664a1d11615818b1e20f41 | > microblaze | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/e91f4bd62149b89ad3047320ea1d05efcc1c1d7d | > m68k | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/46b4651157762edd4615ef4508b85ca334bfc816 | > mips | qemu-8.1.0 | NOK | http://autobuild.buildroot.net/results/339ea98fe7ecbac8141649ae9736f0ae6c55ce49 | > aarch64 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/efcd624169b07b9071ef3f696d2b44e87deea2a7 | ORPH > mipsel | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/50704286cb67b9819131b82bcebdfeb5cd86cf88 | > powerpc64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/8223b862f25a3d0259f6780d09deac8ccce34666 | > aarch64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/248b83f2c584a6dc0218c1aefee85bb15b1fbed2 | > microblazeel | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/69e9b186202dcc56262a71351df2660029019ebb | > mipsel | systemd-254 | NOK | http://autobuild.buildroot.net/results/6db08456e4769511b2482fae9abdf4d04109858f | > microblaze | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/b6878b92132113e27633f30ed687ac62fb9bde24 | > powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/49d8e8aed43786a5814b2574574655ac6a255543 | > i686 | unknown | NOK | http://autobuild.buildroot.net/results/d3b48062f88afc327e4d81244fc874406964b6a3 | > armeb | unknown | NOK | http://autobuild.buildroot.net/results/04ecf6318e82517566272d89029711056b7aedfb | > x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/7966430f401b6d40b87d3bb1d941fff3946d0420 | > powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/d121267e4b375cbe4f461a6f8921deeb76c6bc12 | > powerpc | unknown | NOK | http://autobuild.buildroot.net/results/a237709eff56a2137f0e8b170a7417c999dfdcc4 | > mips64 | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/50b74189262cea892cc2ff055347b97442c80876 | ORPH > mips64el | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/ff2941823edf72532ff87d6319fdcdf4d701e459 | > mips | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/cc42a69cf49fa53ef7af355d8acdd7664b4d043a | > x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/fbddd2377f909b1bf66bfa2ba5a03144b42f33fb | > > > Classification of failures by reason for 2023.02.x > -------------------------------------------------- > > bird-2.0.12 | 3 > erlang-22.3.4.22 | 1 > gobject-introspection-1.72.0 | 1 > host-rust-1.67.1 | 1 > linux-5.10.162-cip24-rt10 | 1 > olsr-0.9.8 | 1 > ti-sgx-km-cf7f48cb30abfd5df... | 1 > unknown | 1 > > > Detail of failures for 2023.02.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > sparc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8ea3bb6e1f98d8896739223860b9f15277e5941f | > arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/9ef04fa3709f234e59755ff4c8aff2f71218653f | > i686 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/052108fa2620b67d300938c1760f28111048e7e2 | > powerpc | erlang-22.3.4.22 | NOK | http://autobuild.buildroot.net/results/145622f978f8719ec5c577495282920745edea81 | > microblazeel | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/273bca0f419fec75a0b91a038599bf28db9e01a6 | ORPH > mipsel | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/cfef05f7652dabddd355ec96557d7207981f9a29 | > mipsel | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/0cb4e9cd7cbe368ba19e0f761c769d65cb453ebd | ORPH > mipsel | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/c98874e513891ec1f24121acf807e6ac1e492706 | ORPH > arm | ti-sgx-km-cf7f48cb30abfd5df... | NOK | http://autobuild.buildroot.net/results/a5e4ff88303b3f7f03e5be89a667dec17b18458e | > aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/13bdb92814bdead58fe76c8828bc04e705707bc4 | > > > Classification of failures by reason for 2023.05.x > -------------------------------------------------- > > bird-2.0.12 | 2 > gobject-introspection-1.74.0 | 1 > host-binutils-2.37 | 1 > ola-0.10.9 | 1 > stress-ng-0.15.07 | 1 > > > Detail of failures for 2023.05.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > sh4eb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6a94ad7abd1040a189fd8dd1c71896006a83932a | > x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a723d543809207dadab172205e9513145c7bd91e | > or1k | gobject-introspection-1.74.0 | NOK | http://autobuild.buildroot.net/results/d9b197679085a2399508c0e5dce9d4d4dde20e36 | ORPH > riscv32 | host-binutils-2.37 | NOK | http://autobuild.buildroot.net/results/04eb1c37fe5f60d3cb70181fb2308948e9f599ee | > sparc | ola-0.10.9 | NOK | http://autobuild.buildroot.net/results/97e2da4b6c89aaaef9dd2bc7152a8b48b3a9d1c2 | > aarch64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/375f92dff8efb9cc6da60f39e517d75b114ad206 | > > > Classification of failures by reason for 2023.08.x > -------------------------------------------------- > > glibc-2.37-2-g9f8513dc64119... | 1 > libsepol-3.5 | 1 > linux-5.10.162-cip24-rt10 | 1 > linux-6.4.14 | 1 > ltp-testsuite-20230127 | 1 > ulog-0389d243352255f6182326... | 1 > xtables-addons-3.22 | 1 > > > Detail of failures for 2023.08.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > powerpc64 | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/add81369008b0a4192d9a3f097455cf72afe4027 | > armeb | libsepol-3.5 | NOK | http://autobuild.buildroot.net/results/277202f78bc1a126f51997ac55aaa1e02bb0977f | > mips64el | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/5e5b0416a1dc288b7e49db417a09f2d83573167b | ORPH > armeb | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/e2110fe35b83fdd302b93ceea1c2f79d0968ff62 | ORPH > x86_64 | ltp-testsuite-20230127 | NOK | http://autobuild.buildroot.net/results/57e919ed5e7d3df5cb6a7c2f6d7b0fd09aab6c1c | > x86_64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/78fed4877833c9ae083ee24ec9187cddf81e9b08 | > arceb | xtables-addons-3.22 | NOK | http://autobuild.buildroot.net/results/d6f605cbdf37c200a078d3bec19db3c2f9f2ffea | ORPH > > > Gitlab CI results for 2023-09-25 > ================================ > > Detail of runtime-test failures for master > ------------------------------------------ > > runtime-test | link to the job | orph? > --------------------------+---------------------------------------------------------------+------ > TestIPythonPy3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841047 | ORPH > TestLuaLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841246 | ORPH > TestLuaLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841320 | ORPH > TestLuajitLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841253 | ORPH > TestLuajitLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841325 | ORPH > TestLuvi | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841618 | ORPH > TestNodeJSBasic | https://gitlab.com/buildroot.org/buildroot/-/jobs/5157777865 | ORPH > TestNodeJSModule | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841719 | ORPH > TestOla | https://gitlab.com/buildroot.org/buildroot/-/jobs/5157777775 | ORPH > TestPigz | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841963 | ORPH > TestPolkitInitd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841975 | ORPH > TestPolkitSystemd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841980 | ORPH > TestPythonPahoMQTT | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842410 | ORPH > TestPythonPy3Construct | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842194 | ORPH > TestPythonPy3Dicttoxml2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842234 | ORPH > TestPythonPy3Dtschema | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842258 | ORPH > TestPythonPy3Hkdf | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842316 | ORPH > TestPythonPy3Passlib | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842416 | ORPH > TestPythonPy3Pynacl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842456 | ORPH > TestPythonPy3Pysmb | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842477 | ORPH > TestPythonPy3Pyyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842497 | ORPH > TestPythonPy3RSA | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842522 | ORPH > TestPythonPy3Spake2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842575 | ORPH > TestStressNG | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842732 | ORPH > TestWeston | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842839 | ORPH > TestZfsGlibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842957 | ORPH > TestZfsMusl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842969 | ORPH > TestZfsUclibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842979 | ORPH > > > > -- > http://autobuild.buildroot.net > > > ------------------------------ > > Message: 6 > Date: Tue, 26 Sep 2023 09:22:34 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Giulio Benetti , S?bastien > Szymanski > Subject: [Buildroot] [PATCH] package/mmc-utils: fix build failure due > to potential overflow > Message-ID: > <20230926072234.3639106-1-giulio.benetti at benettiengineering.com> > Content-Type: text/plain; charset=UTF-8 > > Add local patch pending upstream to fix potential overflow on read(). > This build failure is catched by fortify. > > Fixes: > http://autobuild.buildroot.net/results/a53922c5db3e605a5e81e53c034f45017ebb7db7 > > Signed-off-by: Giulio Benetti > --- > ...001-mmc-utils-fix-potential-overflow.patch | 49 +++++++++++++++++++ > 1 file changed, 49 insertions(+) > create mode 100644 package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch > > diff --git a/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch b/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch > new file mode 100644 > index 0000000000..d27df91fb0 > --- /dev/null > +++ b/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch > @@ -0,0 +1,49 @@ > +From e8a84c704583083cc8487ba41d1488faf1210aec Mon Sep 17 00:00:00 2001 > +From: Giulio Benetti > +Date: Tue, 26 Sep 2023 09:12:23 +0200 > +Subject: [PATCH] mmc-utils: fix potential overflow > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=UTF-8 > +Content-Transfer-Encoding: 8bit > + > +With fortify enabled gcc throws following error: > + from mmc_cmds.c:20: > +In function ?read?, > + inlined from ?do_rpmb_write_key? at mmc_cmds.c:2233:8: > +/home/giuliobenetti/br_reproduce/a53922c5db3e605a5e81e53c034f45017ebb7db7/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:38:10: error: ?__read_alias? writing 228 or more bytes into a region of size 32 overflows the destination [-Werror=stringop-overflow=] > + 38 | return __glibc_fortify (read, __nbytes, sizeof (char), > + | ^~~~~~~~~~~~~~~ > +mmc_cmds.c: In function ?do_rpmb_write_key?: > +mmc_cmds.c:2087:19: note: destination object ?key_mac? of size 32 > + 2087 | u_int8_t key_mac[32]; > + | ^~~~~~~ > +/home/giuliobenetti/br_reproduce/a53922c5db3e605a5e81e53c034f45017ebb7db7/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:26:16: note: in a call to function ?__read_alias? declared with attribute ?access (write_only, 2, 3)? > + 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, > + | ^~~~~~~~~~ > + > +read() could potentially return more than nbyte so let's check for > +ret < nbyte. > + > +Upstream: https://patchwork.kernel.org/project/linux-mmc/patch/20230926071524.3638706-1-giulio.benetti at benettiengineering.com/ > + > +Signed-off-by: Giulio Benetti > +--- > + mmc_cmds.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/mmc_cmds.c b/mmc_cmds.c > +index 10d063d..ae7b876 100644 > +--- a/mmc_cmds.c > ++++ b/mmc_cmds.c > +@@ -2065,7 +2065,7 @@ int do_sanitize(int nargs, char **argv) > + } \ > + else if (r > 0) \ > + ret += r; \ > +- } while (r != 0 && (size_t)ret != nbyte); \ > ++ } while (r != 0 && (size_t)ret < nbyte); \ > + \ > + ret; \ > + }) > +-- > +2.34.1 > + > -- > 2.34.1 > > > > ------------------------------ > > Message: 7 > Date: Tue, 26 Sep 2023 10:00:03 +0200 > From: Peter Korsgaard > To: Giulio Benetti > Cc: buildroot at buildroot.org, Thomas De Schampheleire > > Subject: Re: [Buildroot] [PATCH 1/1] docs/manual: add section to > explain how to give credits to a sponsor > Message-ID: <8734z1weik.fsf at 48ers.dk> > Content-Type: text/plain > >>>>>> "Giulio" == Giulio Benetti writes: > > Sometimes it happens that a Company or a Physical Person sponsors the > > creation and/or the upstreaming process of a patch, but at the moment > > there is no way to give credits to it. In Linux they prepend '+sponsor' > > to the e-mail of the contributor in both authorship and commit log tag as > > discussed here[0]. So let's describe in the manual how to do that as a > > standard. > > > [0]: > > https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ > > > Signed-off-by: Giulio Benetti > > Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. > > -- > Bye, Peter Korsgaard > > > ------------------------------ > > Message: 8 > Date: Tue, 26 Sep 2023 10:02:46 +0200 > From: Peter Korsgaard > To: Jens Maus via buildroot > Cc: Jens Maus , Bernd Kuhls , > "Yann E . MORIN" > Subject: Re: [Buildroot] [PATCH v2] package/nut: package/nut: specify > --with-user/group when building NUT > Message-ID: <87y1gtuztl.fsf at 48ers.dk> > Content-Type: text/plain > >>>>>> "Jens" == Jens Maus via buildroot writes: > > This commit fixes a problem where the NUT package couldn't be > > used as a NUT server due to the fact that the default group for > > nobody is "nogroup" and not "nobody" like the internal default > > of NUT. Thus, when starting a NUT server daemon the daemon starts > > with incorrect group permissions. This commit fixes this > > shortcoming by introducing a dedicated 'nut' user and 'nut' group > > to drop priviledges to it. > > > Signed-off-by: Jens Maus > > > --- > > Changes v1 -> v2: > > - added NUT_USERS with nut/nut user and group (Yann) > > > Signed-off-by: Jens Maus > > Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. > > -- > Bye, Peter Korsgaard > > > ------------------------------ > > Message: 9 > Date: Tue, 26 Sep 2023 10:03:09 +0200 > From: Peter Korsgaard > To: "Yann E. MORIN" > Cc: Luca Ceresoli , > buildroot at buildroot.org > Subject: Re: [Buildroot] [PATCH] package/libpjsip: security bump to > version 2.13.1 > Message-ID: <87r0mluzsy.fsf at 48ers.dk> > Content-Type: text/plain > >>>>>> "Peter" == Peter Korsgaard writes: >>>>>> "Yann" == Yann E MORIN writes: > >> Peter, All, > >> On 2023-09-23 11:24 +0200, Peter Korsgaard spake thusly: > >>> Fixes the following security vulnerability: > >>> > >>> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet > >>> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr > >>> > >>> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. > >>> > >>> Signed-off-by: Peter Korsgaard > >>> --- > >>> ...ull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ------------------- > >>> ...ull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ---------- > > >> $ make check-package > >> .checkpackageignore:743: ignored file > >> package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > >> is missing > >> .checkpackageignore:744: ignored file > >> package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > >> is missing > > >> Applied to master with the above fixed, thanks. > > > Argh, thanks! > > Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. > > -- > Bye, Peter Korsgaard > > > ------------------------------ > > Message: 10 > Date: Tue, 26 Sep 2023 10:01:37 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] package/libpjsip: > security bump to version 2.13.1 > Message-ID: <20230926080416.D94E287824 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=33f7d66c90c9c80683804f3cba61f9d863d82868 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Fixes the following security vulnerability: > > - CVE-2023-27585: Heap buffer overflow when parsing DNS packet > https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr > > Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. > > Signed-off-by: Peter Korsgaard > Signed-off-by: Yann E. MORIN > (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) > Signed-off-by: Peter Korsgaard > --- > .checkpackageignore | 2 - > ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- > ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ > package/libpjsip/libpjsip.hash | 2 +- > package/libpjsip/libpjsip.mk | 8 +- > 5 files changed, 2 insertions(+), 163 deletions(-) > > diff --git a/.checkpackageignore b/.checkpackageignore > index 6adc54891d..81fb9c2d8a 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -812,8 +812,6 @@ package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream > package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream > package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream > package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream > -package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch Upstream > -package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch Upstream > package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream > package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream > package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream > diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > deleted file mode 100644 > index 01e1878189..0000000000 > --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > +++ /dev/null > @@ -1,99 +0,0 @@ > -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 > -From: Nanang Izzuddin > -Date: Tue, 20 Dec 2022 11:39:12 +0700 > -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w > - > -* Fix buffer overread in STUN message decoder > - > -* Updates based on comments > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/include/pjnath/stun_msg.h | 4 ++++ > - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- > - 2 files changed, 15 insertions(+), 3 deletions(-) > - > -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h > -index b52f95c586..e49f096f3a 100644 > ---- a/pjnath/include/pjnath/stun_msg.h > -+++ b/pjnath/include/pjnath/stun_msg.h > -@@ -442,6 +442,7 @@ typedef enum pj_stun_status > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_msg_hdr > - { > - /** > -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr > - pj_uint8_t tsx_id[12]; > - > - } pj_stun_msg_hdr; > -+#pragma pack() > - > - > - /** > -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_attr_hdr > - { > - /** > -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr > - pj_uint16_t length; > - > - } pj_stun_attr_hdr; > -+#pragma pack() > - > - > - /** > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index 3def6b3eac..e904a0ba47 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) > - > - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ > - (a)->hdr.length=(pj_uint16_t)(l) > --#define ATTR_HDR_LEN 4 > -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) > - > - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) > - { > -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - status = pj_stun_msg_check(pdu, pdu_len, options); > - if (status != PJ_SUCCESS) > - return status; > -+ } else { > -+ /* For safety, verify packet length at least */ > -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; > -+ if (msg_len > pdu_len || > -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) > -+ { > -+ return PJNATH_EINSTUNMSGLEN; > -+ } > - } > - > - /* Create the message, copy the header, and convert to host byte order */ > -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - p_response = NULL; > - > - /* Parse attributes */ > -- while (pdu_len >= 4) { > -+ while (pdu_len >= ATTR_HDR_LEN) { > - unsigned attr_type, attr_val_len; > - const struct attr_desc *adesc; > - > -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - attr_val_len = (attr_val_len + 3) & (~3); > - > - /* Check length */ > -- if (pdu_len < attr_val_len) { > -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { > - pj_str_t err_msg; > - char err_msg_buf[80]; > - > diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > deleted file mode 100644 > index 82249a2076..0000000000 > --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > +++ /dev/null > @@ -1,54 +0,0 @@ > -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 > -From: sauwming > -Date: Fri, 23 Dec 2022 15:05:28 +0800 > -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr > - > -* Fixed heap buffer overflow when parsing STUN errcode attribute > - > -* Also fixed uint parsing > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- > - 1 file changed, 6 insertions(+), 5 deletions(-) > - > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index c6b0bdd284..b55d29849a 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -- attr->value = GETVAL32H(buf, 4); > -- > - /* Check that the attribute length is valid */ > - if (attr->hdr.length != 4) > - return PJNATH_ESTUNINATTRLEN; > - > -+ attr->value = GETVAL32H(buf, 4); > -+ > - /* Done */ > - *p_attr = attr; > - > -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -+ /* Check that the attribute length is valid */ > -+ if (attr->hdr.length < 4) > -+ return PJNATH_ESTUNINATTRLEN; > -+ > - attr->err_code = buf[6] * 100 + buf[7]; > - > - /* Get pointer to the string in the message */ > - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); > - value.slen = attr->hdr.length - 4; > -- /* Make sure the length is never negative */ > -- if (value.slen < 0) > -- value.slen = 0; > - > - /* Copy the string to the attribute */ > - pj_strdup(pool, &attr->reason, &value); > diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash > index 9935575567..2edd97bed4 100644 > --- a/package/libpjsip/libpjsip.hash > +++ b/package/libpjsip/libpjsip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz > +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk > index 24db641446..f97d547fd7 100644 > --- a/package/libpjsip/libpjsip.mk > +++ b/package/libpjsip/libpjsip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBPJSIP_VERSION = 2.13 > +LIBPJSIP_VERSION = 2.13.1 > LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz > LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) > > @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip > LIBPJSIP_INSTALL_STAGING = YES > LIBPJSIP_MAKE = $(MAKE1) > > -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 > - > -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 > - > LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 > > # relocation truncated to fit: R_68K_GOT16O > > > ------------------------------ > > Message: 11 > Date: Tue, 26 Sep 2023 10:01:15 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] package/nut: > package/nut: specify --with-user/group when building NUT > Message-ID: <20230926080416.CE0BA87822 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=c99a559d986a72891f3abe5fb5bba9899e12d0c4 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > This commit fixes a problem where the NUT package couldn't be > used as a NUT server due to the fact that the default group for > nobody is "nogroup" and not "nobody" like the internal default > of NUT. Thus, when starting a NUT server daemon the daemon starts > with incorrect group permissions. This commit fixes this > shortcoming by introducing a dedicated 'nut' user and 'nut' group > to drop priviledges to it. > > Signed-off-by: Jens Maus > Signed-off-by: Yann E. MORIN > (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) > Signed-off-by: Peter Korsgaard > --- > package/nut/nut.mk | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/package/nut/nut.mk b/package/nut/nut.mk > index fb98ba04f0..4c322aeb85 100644 > --- a/package/nut/nut.mk > +++ b/package/nut/nut.mk > @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE > NUT_CONF_OPTS = \ > --with-altpidpath=/var/run/upsd \ > --with-dev \ > - --without-doc > + --without-doc \ > + --with-user=nut \ > + --with-group=nut > > NUT_CONF_ENV = \ > ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ > @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ > ac_cv_func_strncasecmp=yes \ > ax_cv__printf_string_null=yes > > +define NUT_USERS > + nut -1 nut -1 * - - - NUT user > +endef > + > ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) > NUT_CONF_OPTS += --with-drivers=auto > else > > > ------------------------------ > > Message: 12 > Date: Tue, 26 Sep 2023 09:55:25 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] docs/manual: add > section to explain how to give credits to a sponsor > Message-ID: <20230926080416.C4BB487821 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=abedb15b530a188ae1f5f514dde7dc98ffd3e76c > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Sometimes it happens that a Company or a Physical Person sponsors the > creation and/or the upstreaming process of a patch, but at the moment > there is no way to give credits to it. In Linux they prepend '+sponsor' > to the e-mail of the contributor in both authorship and commit log tag as > discussed here[0]. So let's describe in the manual how to do that as a > standard. > > [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ > > Signed-off-by: Giulio Benetti > [yann.morin.1998 at free.fr: > - reword to reference sub-addressing and the RFC > - move to the "submitting patches" section, that already deals with > SoB tags > - differentiate between Your/Their names > ] > Signed-off-by: Yann E. MORIN > (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) > Signed-off-by: Peter Korsgaard > --- > docs/manual/contribute.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt > index 94f1c64496..15fe36aef0 100644 > --- a/docs/manual/contribute.txt > +++ b/docs/manual/contribute.txt > @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. > See http://developercertificate.org/[the Developer Certificate of > Origin] for details. > > +To give credits to who sponsored the creation of a patch or the process of > +upstreaming it, you may use > +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for > +your git identity (i.e. what is used as commit author and email +From:+ > +field, as well as your Signed-off-by tag); add suffix to the local part, > +separated from it by a plus `+` sign. E.g.: > + > +* for a company which sponsored the submitted work, use the company name > + as the detail (suffix) part: > ++ > +`Your-Name Your-Surname ` > + > +* for an individual who sponsored who sponsored the submitted work, use > + their name and surname: > ++ > +`Your-Name Your-Surname ` > + > When adding new packages, you should submit every package in a > separate patch. This patch should have the update to > +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the > > > ------------------------------ > > Message: 13 > Date: Tue, 26 Sep 2023 10:01:19 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/nut: > package/nut: specify --with-user/group when building NUT > Message-ID: <20230926080604.4ECB187844 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=cb7613ffb7c1253ae05ef9b5cf6fb77bd421893f > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > This commit fixes a problem where the NUT package couldn't be > used as a NUT server due to the fact that the default group for > nobody is "nogroup" and not "nobody" like the internal default > of NUT. Thus, when starting a NUT server daemon the daemon starts > with incorrect group permissions. This commit fixes this > shortcoming by introducing a dedicated 'nut' user and 'nut' group > to drop priviledges to it. > > Signed-off-by: Jens Maus > Signed-off-by: Yann E. MORIN > (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) > Signed-off-by: Peter Korsgaard > --- > package/nut/nut.mk | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/package/nut/nut.mk b/package/nut/nut.mk > index fb98ba04f0..4c322aeb85 100644 > --- a/package/nut/nut.mk > +++ b/package/nut/nut.mk > @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE > NUT_CONF_OPTS = \ > --with-altpidpath=/var/run/upsd \ > --with-dev \ > - --without-doc > + --without-doc \ > + --with-user=nut \ > + --with-group=nut > > NUT_CONF_ENV = \ > ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ > @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ > ac_cv_func_strncasecmp=yes \ > ax_cv__printf_string_null=yes > > +define NUT_USERS > + nut -1 nut -1 * - - - NUT user > +endef > + > ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) > NUT_CONF_OPTS += --with-drivers=auto > else > > > ------------------------------ > > Message: 14 > Date: Tue, 26 Sep 2023 09:55:16 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] docs/manual: add > section to explain how to give credits to a sponsor > Message-ID: <20230926080604.42D8387842 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=175260e1e7ba60d4a427d3bf52a0fb342011d530 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Sometimes it happens that a Company or a Physical Person sponsors the > creation and/or the upstreaming process of a patch, but at the moment > there is no way to give credits to it. In Linux they prepend '+sponsor' > to the e-mail of the contributor in both authorship and commit log tag as > discussed here[0]. So let's describe in the manual how to do that as a > standard. > > [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ > > Signed-off-by: Giulio Benetti > [yann.morin.1998 at free.fr: > - reword to reference sub-addressing and the RFC > - move to the "submitting patches" section, that already deals with > SoB tags > - differentiate between Your/Their names > ] > Signed-off-by: Yann E. MORIN > (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) > Signed-off-by: Peter Korsgaard > --- > docs/manual/contribute.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt > index 94f1c64496..15fe36aef0 100644 > --- a/docs/manual/contribute.txt > +++ b/docs/manual/contribute.txt > @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. > See http://developercertificate.org/[the Developer Certificate of > Origin] for details. > > +To give credits to who sponsored the creation of a patch or the process of > +upstreaming it, you may use > +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for > +your git identity (i.e. what is used as commit author and email +From:+ > +field, as well as your Signed-off-by tag); add suffix to the local part, > +separated from it by a plus `+` sign. E.g.: > + > +* for a company which sponsored the submitted work, use the company name > + as the detail (suffix) part: > ++ > +`Your-Name Your-Surname ` > + > +* for an individual who sponsored who sponsored the submitted work, use > + their name and surname: > ++ > +`Your-Name Your-Surname ` > + > When adding new packages, you should submit every package in a > separate patch. This patch should have the update to > +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the > > > ------------------------------ > > Message: 15 > Date: Tue, 26 Sep 2023 10:01:28 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/libpjsip: > security bump to version 2.13.1 > Message-ID: <20230926080604.5C7CE87845 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=7efe2b30fe58b021dd09672ca4b7f1ea4e1666a9 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Fixes the following security vulnerability: > > - CVE-2023-27585: Heap buffer overflow when parsing DNS packet > https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr > > Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. > > Signed-off-by: Peter Korsgaard > Signed-off-by: Yann E. MORIN > (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) > Signed-off-by: Peter Korsgaard > --- > .checkpackageignore | 2 - > ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- > ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ > package/libpjsip/libpjsip.hash | 2 +- > package/libpjsip/libpjsip.mk | 8 +- > 5 files changed, 2 insertions(+), 163 deletions(-) > > diff --git a/.checkpackageignore b/.checkpackageignore > index b6b9ba8bf1..428ff03233 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -754,8 +754,6 @@ package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream > package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream > package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream > package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream > -package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch Upstream > -package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch Upstream > package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream > package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream > package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream > diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > deleted file mode 100644 > index 01e1878189..0000000000 > --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > +++ /dev/null > @@ -1,99 +0,0 @@ > -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 > -From: Nanang Izzuddin > -Date: Tue, 20 Dec 2022 11:39:12 +0700 > -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w > - > -* Fix buffer overread in STUN message decoder > - > -* Updates based on comments > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/include/pjnath/stun_msg.h | 4 ++++ > - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- > - 2 files changed, 15 insertions(+), 3 deletions(-) > - > -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h > -index b52f95c586..e49f096f3a 100644 > ---- a/pjnath/include/pjnath/stun_msg.h > -+++ b/pjnath/include/pjnath/stun_msg.h > -@@ -442,6 +442,7 @@ typedef enum pj_stun_status > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_msg_hdr > - { > - /** > -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr > - pj_uint8_t tsx_id[12]; > - > - } pj_stun_msg_hdr; > -+#pragma pack() > - > - > - /** > -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_attr_hdr > - { > - /** > -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr > - pj_uint16_t length; > - > - } pj_stun_attr_hdr; > -+#pragma pack() > - > - > - /** > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index 3def6b3eac..e904a0ba47 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) > - > - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ > - (a)->hdr.length=(pj_uint16_t)(l) > --#define ATTR_HDR_LEN 4 > -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) > - > - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) > - { > -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - status = pj_stun_msg_check(pdu, pdu_len, options); > - if (status != PJ_SUCCESS) > - return status; > -+ } else { > -+ /* For safety, verify packet length at least */ > -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; > -+ if (msg_len > pdu_len || > -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) > -+ { > -+ return PJNATH_EINSTUNMSGLEN; > -+ } > - } > - > - /* Create the message, copy the header, and convert to host byte order */ > -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - p_response = NULL; > - > - /* Parse attributes */ > -- while (pdu_len >= 4) { > -+ while (pdu_len >= ATTR_HDR_LEN) { > - unsigned attr_type, attr_val_len; > - const struct attr_desc *adesc; > - > -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - attr_val_len = (attr_val_len + 3) & (~3); > - > - /* Check length */ > -- if (pdu_len < attr_val_len) { > -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { > - pj_str_t err_msg; > - char err_msg_buf[80]; > - > diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > deleted file mode 100644 > index 82249a2076..0000000000 > --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > +++ /dev/null > @@ -1,54 +0,0 @@ > -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 > -From: sauwming > -Date: Fri, 23 Dec 2022 15:05:28 +0800 > -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr > - > -* Fixed heap buffer overflow when parsing STUN errcode attribute > - > -* Also fixed uint parsing > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- > - 1 file changed, 6 insertions(+), 5 deletions(-) > - > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index c6b0bdd284..b55d29849a 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -- attr->value = GETVAL32H(buf, 4); > -- > - /* Check that the attribute length is valid */ > - if (attr->hdr.length != 4) > - return PJNATH_ESTUNINATTRLEN; > - > -+ attr->value = GETVAL32H(buf, 4); > -+ > - /* Done */ > - *p_attr = attr; > - > -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -+ /* Check that the attribute length is valid */ > -+ if (attr->hdr.length < 4) > -+ return PJNATH_ESTUNINATTRLEN; > -+ > - attr->err_code = buf[6] * 100 + buf[7]; > - > - /* Get pointer to the string in the message */ > - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); > - value.slen = attr->hdr.length - 4; > -- /* Make sure the length is never negative */ > -- if (value.slen < 0) > -- value.slen = 0; > - > - /* Copy the string to the attribute */ > - pj_strdup(pool, &attr->reason, &value); > diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash > index 9935575567..2edd97bed4 100644 > --- a/package/libpjsip/libpjsip.hash > +++ b/package/libpjsip/libpjsip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz > +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk > index 24db641446..f97d547fd7 100644 > --- a/package/libpjsip/libpjsip.mk > +++ b/package/libpjsip/libpjsip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBPJSIP_VERSION = 2.13 > +LIBPJSIP_VERSION = 2.13.1 > LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz > LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) > > @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip > LIBPJSIP_INSTALL_STAGING = YES > LIBPJSIP_MAKE = $(MAKE1) > > -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 > - > -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 > - > LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 > > # relocation truncated to fit: R_68K_GOT16O > > > ------------------------------ > > Message: 16 > Date: Tue, 26 Sep 2023 10:53:16 +0200 > From: Peter Korsgaard > To: "Yann E. MORIN" > Cc: Jens Maus , Daniel Price > , Martin Bark , > buildroot at buildroot.org > Subject: Re: [Buildroot] [PATCH v2] package/nodejs: fix parallel build > Message-ID: <87msx9uxhf.fsf at 48ers.dk> > Content-Type: text/plain > >>>>>> "Yann" == Yann E MORIN writes: > > Jens, All, > > On 2023-09-23 18:04 +0200, Jens Maus via buildroot spake thusly: > >> In ninja-based nodejs builds performing parallel builds using "make -jX" > >> is not working during buildroot initiated builds because the JOBS > >> variable is not set in the MAKE_OPTS variables in nodejs.mk. This commit > >> remedies the issue by setting JOBS to BR2_JLEVEL. > > > I was very confused that nodejs would not build in parallel; that would > > have made for very, very,very long builds. And indeed, it does build in > > parallel, in fact. > > > However, what it does, is use as many CPUs as are available, without > > accounting for the value set by the user in BR2_JLEVEL, thus > > overshooting the limits set by the user. If the BR2_JLEVEL value is not explicitly mentioned, the JOBS value for nodejs will still remain at 0 even when using make -jN. Tested with the tag 2023.02.5 btw. Without the BR2_JLEVEL value, my system ran into memory issue while compiling nodejs with the following dmesg log |Out of memory: Kill process 23747 (cc1plus) score 15 or sacrifice child Killed process 23747, UID 2243, (cc1plus) total-vm:214456kB, anon-rss:178936kB, file-rss:5908kB| > > > So, I reworded the whoe commit log to explain that. > > > Applied to master, thanks. > > Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. > > -- > Bye, Peter Korsgaard > > > ------------------------------ > > Message: 17 > Date: Tue, 26 Sep 2023 10:51:09 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] package/nodejs: fix > parallel build > Message-ID: <20230926090112.255BA806AE at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=bc6771657fcb8f7042450567360333f18d980b99 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Unless told otherwise, ninja will spawn as many jobs as there are CPU > (plus 2). Nodejs is built with ninja, but it is a generic package, so > there is no variable (like with cmake-package) that passes the proper > number of parallel jobs as configured by the user. > > As a consequence, the nodejs build will use as many CPU as are > available, possibly overcommitting the rsources the user expected to be > used. > > Set the JOBS variableto limit that number. > > Signed-off-by: Jens Maus > [yann.morin.1998 at free.fr: reword commit log] > Signed-off-by: Yann E. MORIN > (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) > Signed-off-by: Peter Korsgaard > --- > package/nodejs/nodejs.mk | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk > index fe629ada21..4e70bd71a3 100644 > --- a/package/nodejs/nodejs.mk > +++ b/package/nodejs/nodejs.mk > @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ > CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ > LDFLAGS.host="$(HOST_LDFLAGS)" \ > NO_LOAD=cctest.target.mk \ > - PATH=$(@D)/bin:$(BR_PATH) > + PATH=$(@D)/bin:$(BR_PATH) \ > + JOBS=$(BR2_JLEVEL) > > NODEJS_MAKE_OPTS = \ > $(TARGET_CONFIGURE_OPTS) \ > NO_LOAD=cctest.target.mk \ > PATH=$(@D)/bin:$(BR_PATH) \ > LDFLAGS="$(NODEJS_LDFLAGS)" \ > - LD="$(TARGET_CXX)" > + LD="$(TARGET_CXX)" \ > + JOBS=$(BR2_JLEVEL) > > # nodejs's build system uses python which can be a symlink to an unsupported > # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by > > > ------------------------------ > > Message: 18 > Date: Tue, 26 Sep 2023 10:50:22 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/nodejs: fix > parallel build > Message-ID: <20230926090112.7CD23806AE at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=9c4ef96fe8f213e713afee84dc6e642b1987e9fe > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Unless told otherwise, ninja will spawn as many jobs as there are CPU > (plus 2). Nodejs is built with ninja, but it is a generic package, so > there is no variable (like with cmake-package) that passes the proper > number of parallel jobs as configured by the user. > > As a consequence, the nodejs build will use as many CPU as are > available, possibly overcommitting the rsources the user expected to be > used. > > Set the JOBS variableto limit that number. > > Signed-off-by: Jens Maus > [yann.morin.1998 at free.fr: reword commit log] > Signed-off-by: Yann E. MORIN > (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) > Signed-off-by: Peter Korsgaard > --- > package/nodejs/nodejs.mk | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk > index fe629ada21..4e70bd71a3 100644 > --- a/package/nodejs/nodejs.mk > +++ b/package/nodejs/nodejs.mk > @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ > CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ > LDFLAGS.host="$(HOST_LDFLAGS)" \ > NO_LOAD=cctest.target.mk \ > - PATH=$(@D)/bin:$(BR_PATH) > + PATH=$(@D)/bin:$(BR_PATH) \ > + JOBS=$(BR2_JLEVEL) > > NODEJS_MAKE_OPTS = \ > $(TARGET_CONFIGURE_OPTS) \ > NO_LOAD=cctest.target.mk \ > PATH=$(@D)/bin:$(BR_PATH) \ > LDFLAGS="$(NODEJS_LDFLAGS)" \ > - LD="$(TARGET_CXX)" > + LD="$(TARGET_CXX)" \ > + JOBS=$(BR2_JLEVEL) > > # nodejs's build system uses python which can be a symlink to an unsupported > # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by > > > ------------------------------ > > Message: 19 > Date: Tue, 26 Sep 2023 10:51:16 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] package/nodejs: fix > parallel build > Message-ID: <20230926090230.69E1D80DC9 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=c132c520872ca3435e7c4218da498358fe0e3053 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > Unless told otherwise, ninja will spawn as many jobs as there are CPU > (plus 2). Nodejs is built with ninja, but it is a generic package, so > there is no variable (like with cmake-package) that passes the proper > number of parallel jobs as configured by the user. > > As a consequence, the nodejs build will use as many CPU as are > available, possibly overcommitting the rsources the user expected to be > used. > > Set the JOBS variableto limit that number. > > Signed-off-by: Jens Maus > [yann.morin.1998 at free.fr: reword commit log] > Signed-off-by: Yann E. MORIN > (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) > Signed-off-by: Peter Korsgaard > --- > package/nodejs/nodejs.mk | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk > index 225b371786..ff32ae6c13 100644 > --- a/package/nodejs/nodejs.mk > +++ b/package/nodejs/nodejs.mk > @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ > CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ > LDFLAGS.host="$(HOST_LDFLAGS)" \ > NO_LOAD=cctest.target.mk \ > - PATH=$(@D)/bin:$(BR_PATH) > + PATH=$(@D)/bin:$(BR_PATH) \ > + JOBS=$(BR2_JLEVEL) > > NODEJS_MAKE_OPTS = \ > $(TARGET_CONFIGURE_OPTS) \ > NO_LOAD=cctest.target.mk \ > PATH=$(@D)/bin:$(BR_PATH) \ > LDFLAGS="$(NODEJS_LDFLAGS)" \ > - LD="$(TARGET_CXX)" > + LD="$(TARGET_CXX)" \ > + JOBS=$(BR2_JLEVEL) > > # nodejs's build system uses python which can be a symlink to an unsupported > # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by > > > ------------------------------ > > Message: 20 > Date: Tue, 26 Sep 2023 10:01:09 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] package/nut: > package/nut: specify --with-user/group when building NUT > Message-ID: <20230926090230.58DDD80DA8 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=939ff67d15b7db28d67473b1503d1870578a83ca > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > This commit fixes a problem where the NUT package couldn't be > used as a NUT server due to the fact that the default group for > nobody is "nogroup" and not "nobody" like the internal default > of NUT. Thus, when starting a NUT server daemon the daemon starts > with incorrect group permissions. This commit fixes this > shortcoming by introducing a dedicated 'nut' user and 'nut' group > to drop priviledges to it. > > Signed-off-by: Jens Maus > Signed-off-by: Yann E. MORIN > (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) > Signed-off-by: Peter Korsgaard > --- > package/nut/nut.mk | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/package/nut/nut.mk b/package/nut/nut.mk > index fb98ba04f0..4c322aeb85 100644 > --- a/package/nut/nut.mk > +++ b/package/nut/nut.mk > @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE > NUT_CONF_OPTS = \ > --with-altpidpath=/var/run/upsd \ > --with-dev \ > - --without-doc > + --without-doc \ > + --with-user=nut \ > + --with-group=nut > > NUT_CONF_ENV = \ > ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ > @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ > ac_cv_func_strncasecmp=yes \ > ax_cv__printf_string_null=yes > > +define NUT_USERS > + nut -1 nut -1 * - - - NUT user > +endef > + > ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) > NUT_CONF_OPTS += --with-drivers=auto > else > > > ------------------------------ > > Message: 21 > Date: Tue, 26 Sep 2023 10:02:05 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] package/libpjsip: > security bump to version 2.13.1 > Message-ID: <20230926090230.6169880DB3 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=243ea6eb2927bdb689efbd3e61a1076e887944f3 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > Fixes the following security vulnerability: > > - CVE-2023-27585: Heap buffer overflow when parsing DNS packet > https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr > > Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. > > Signed-off-by: Peter Korsgaard > Signed-off-by: Yann E. MORIN > (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) > Signed-off-by: Peter Korsgaard > --- > ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- > ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ > package/libpjsip/libpjsip.hash | 2 +- > package/libpjsip/libpjsip.mk | 8 +- > 4 files changed, 2 insertions(+), 161 deletions(-) > > diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > deleted file mode 100644 > index 01e1878189..0000000000 > --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > +++ /dev/null > @@ -1,99 +0,0 @@ > -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 > -From: Nanang Izzuddin > -Date: Tue, 20 Dec 2022 11:39:12 +0700 > -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w > - > -* Fix buffer overread in STUN message decoder > - > -* Updates based on comments > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/include/pjnath/stun_msg.h | 4 ++++ > - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- > - 2 files changed, 15 insertions(+), 3 deletions(-) > - > -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h > -index b52f95c586..e49f096f3a 100644 > ---- a/pjnath/include/pjnath/stun_msg.h > -+++ b/pjnath/include/pjnath/stun_msg.h > -@@ -442,6 +442,7 @@ typedef enum pj_stun_status > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_msg_hdr > - { > - /** > -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr > - pj_uint8_t tsx_id[12]; > - > - } pj_stun_msg_hdr; > -+#pragma pack() > - > - > - /** > -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr > - > - \endverbatim > - */ > -+#pragma pack(1) > - typedef struct pj_stun_attr_hdr > - { > - /** > -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr > - pj_uint16_t length; > - > - } pj_stun_attr_hdr; > -+#pragma pack() > - > - > - /** > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index 3def6b3eac..e904a0ba47 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) > - > - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ > - (a)->hdr.length=(pj_uint16_t)(l) > --#define ATTR_HDR_LEN 4 > -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) > - > - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) > - { > -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - status = pj_stun_msg_check(pdu, pdu_len, options); > - if (status != PJ_SUCCESS) > - return status; > -+ } else { > -+ /* For safety, verify packet length at least */ > -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; > -+ if (msg_len > pdu_len || > -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) > -+ { > -+ return PJNATH_EINSTUNMSGLEN; > -+ } > - } > - > - /* Create the message, copy the header, and convert to host byte order */ > -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - p_response = NULL; > - > - /* Parse attributes */ > -- while (pdu_len >= 4) { > -+ while (pdu_len >= ATTR_HDR_LEN) { > - unsigned attr_type, attr_val_len; > - const struct attr_desc *adesc; > - > -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, > - attr_val_len = (attr_val_len + 3) & (~3); > - > - /* Check length */ > -- if (pdu_len < attr_val_len) { > -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { > - pj_str_t err_msg; > - char err_msg_buf[80]; > - > diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > deleted file mode 100644 > index 82249a2076..0000000000 > --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > +++ /dev/null > @@ -1,54 +0,0 @@ > -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 > -From: sauwming > -Date: Fri, 23 Dec 2022 15:05:28 +0800 > -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr > - > -* Fixed heap buffer overflow when parsing STUN errcode attribute > - > -* Also fixed uint parsing > - > -[Retrieved from: > -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] > -Signed-off-by: Fabrice Fontaine > ---- > - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- > - 1 file changed, 6 insertions(+), 5 deletions(-) > - > -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c > -index c6b0bdd284..b55d29849a 100644 > ---- a/pjnath/src/pjnath/stun_msg.c > -+++ b/pjnath/src/pjnath/stun_msg.c > -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -- attr->value = GETVAL32H(buf, 4); > -- > - /* Check that the attribute length is valid */ > - if (attr->hdr.length != 4) > - return PJNATH_ESTUNINATTRLEN; > - > -+ attr->value = GETVAL32H(buf, 4); > -+ > - /* Done */ > - *p_attr = attr; > - > -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, > - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); > - GETATTRHDR(buf, &attr->hdr); > - > -+ /* Check that the attribute length is valid */ > -+ if (attr->hdr.length < 4) > -+ return PJNATH_ESTUNINATTRLEN; > -+ > - attr->err_code = buf[6] * 100 + buf[7]; > - > - /* Get pointer to the string in the message */ > - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); > - value.slen = attr->hdr.length - 4; > -- /* Make sure the length is never negative */ > -- if (value.slen < 0) > -- value.slen = 0; > - > - /* Copy the string to the attribute */ > - pj_strdup(pool, &attr->reason, &value); > diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash > index 9935575567..2edd97bed4 100644 > --- a/package/libpjsip/libpjsip.hash > +++ b/package/libpjsip/libpjsip.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz > +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk > index 24db641446..f97d547fd7 100644 > --- a/package/libpjsip/libpjsip.mk > +++ b/package/libpjsip/libpjsip.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBPJSIP_VERSION = 2.13 > +LIBPJSIP_VERSION = 2.13.1 > LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz > LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) > > @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip > LIBPJSIP_INSTALL_STAGING = YES > LIBPJSIP_MAKE = $(MAKE1) > > -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 > - > -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch > -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 > - > LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 > > # relocation truncated to fit: R_68K_GOT16O > > > ------------------------------ > > Message: 22 > Date: Tue, 26 Sep 2023 09:55:31 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] docs/manual: add > section to explain how to give credits to a sponsor > Message-ID: <20230926090230.4E97180DA6 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=7da37962ced51497d9060c845b9f215fc67ec070 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > Sometimes it happens that a Company or a Physical Person sponsors the > creation and/or the upstreaming process of a patch, but at the moment > there is no way to give credits to it. In Linux they prepend '+sponsor' > to the e-mail of the contributor in both authorship and commit log tag as > discussed here[0]. So let's describe in the manual how to do that as a > standard. > > [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ > > Signed-off-by: Giulio Benetti > [yann.morin.1998 at free.fr: > - reword to reference sub-addressing and the RFC > - move to the "submitting patches" section, that already deals with > SoB tags > - differentiate between Your/Their names > ] > Signed-off-by: Yann E. MORIN > (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) > Signed-off-by: Peter Korsgaard > --- > docs/manual/contribute.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt > index 94f1c64496..15fe36aef0 100644 > --- a/docs/manual/contribute.txt > +++ b/docs/manual/contribute.txt > @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. > See http://developercertificate.org/[the Developer Certificate of > Origin] for details. > > +To give credits to who sponsored the creation of a patch or the process of > +upstreaming it, you may use > +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for > +your git identity (i.e. what is used as commit author and email +From:+ > +field, as well as your Signed-off-by tag); add suffix to the local part, > +separated from it by a plus `+` sign. E.g.: > + > +* for a company which sponsored the submitted work, use the company name > + as the detail (suffix) part: > ++ > +`Your-Name Your-Surname ` > + > +* for an individual who sponsored who sponsored the submitted work, use > + their name and surname: > ++ > +`Your-Name Your-Surname ` > + > When adding new packages, you should submit every package in a > separate patch. This patch should have the update to > +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the > > > ------------------------------ > > Message: 23 > Date: Tue, 26 Sep 2023 11:11:57 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Thomas Petazzoni , Maxime Chevallier > , Giulio Benetti > , "Yann E . MORIN" > , Pierre Floury > Subject: [Buildroot] [PATCH v2 3/4] package/linux-tools: add rtla > Message-ID: > <20230926091158.3767645-3-giulio.benetti at benettiengineering.com> > > From: Maxime Chevallier > > The RealTime Linux Analysis tool includes a set of commands that relies > on the osnoise and timerlat tracers from the ftrace kernel subsystem, > allowing to analyze the lantency sources coming from the hardware and > the kernel itself. > > This tool was introduced in v5.17, and relies on libtracefs and > libtraceevent, although libtraceevent itself is already a dependency for > libtracefs. > > Signed-off-by: Maxime Chevallier > [Giulio: fix install with recent Linux versions] > Signed-off-by: Giulio Benetti > --- > Giulio: > V1->V2: > * fix install with recent Linux versions > --- > DEVELOPERS | 1 + > package/linux-tools/Config.in | 10 +++++++ > package/linux-tools/linux-tool-rtla.mk.in | 36 +++++++++++++++++++++++ > 3 files changed, 47 insertions(+) > create mode 100644 package/linux-tools/linux-tool-rtla.mk.in > > diff --git a/DEVELOPERS b/DEVELOPERS > index 835c269461..31bfc67c8a 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2099,6 +2099,7 @@ F: package/timescaledb/ > N: Maxime Chevallier > F: package/libtraceevent/ > F: package/libtracefs > +F: package/linux-tools/linux-tool-rtla.mk.in > > N: Michael Durrant > F: board/arcturus/ > diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in > index 451b0eeff5..63e2796e45 100644 > --- a/package/linux-tools/Config.in > +++ b/package/linux-tools/Config.in > @@ -102,6 +102,16 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3 > > endif > > +config BR2_PACKAGE_LINUX_TOOLS_RTLA > + bool "rtla" > + select BR2_PACKAGE_LINUX_TOOLS > + select BR2_PACKAGE_LIBTRACEFS > + help > + Linux 5.17 and later has 2 new tracers, osnoise and timerlat. > + There tracers allow performing latency analysis, for which > + the rtla tool provides wrapper commands to visualize and > + extrace latency traces and reports. > + > config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS > bool"selftests" > depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash > diff --git a/package/linux-tools/linux-tool-rtla.mk.in b/package/linux-tools/linux-tool-rtla.mk.in > new file mode 100644 > index 0000000000..a14571bb1c > --- /dev/null > +++ b/package/linux-tools/linux-tool-rtla.mk.in > @@ -0,0 +1,36 @@ > +################################################################################ > +# > +# rtla > +# > +################################################################################ > + > +LINUX_TOOLS += rtla > + > +RTLA_DEPENDENCIES = host-pkgconf libtracefs > +RTLA_MAKE_OPTS = $(LINUX_MAKE_FLAGS) \ > + CC=$(TARGET_CC) \ > + LDFLAGS="$(TARGET_LDFLAGS)" \ > + PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig > + > +define RTLA_BUILD_CMDS > + $(Q)if ! grep install $(LINUX_DIR)/tools/tracing/rtla/Makefile >/dev/null 2>&1 ; then \ > + echo "Your kernel version is too old and does not implement the rtla tool." ; \ > + echo "At least kernel 5.17 must be used." ; \ > + exit 1 ; \ > + fi > + > + $(TARGET_MAKE_ENV) \ > + $(MAKE) $(RTLA_MAKE_OPTS) \ > + -C $(LINUX_DIR)/tools/tracing rtla > +endef > + > +# make rtla_install build and install by default documentation using rst2man > +# but it's not available in Buildroot and we don't want manual files in target > +# folder so let's simply install the resulting rtla binary and create symlinks > +# like Linux does in its tools/tracing/rtla/Makefile > +define RTLA_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 -D $(LINUX_DIR)/tools/tracing/rtla/rtla $(TARGET_DIR)/usr/bin > + ln -sf rtla $(TARGET_DIR)/usr/bin/osnoise > + ln -sf rtla $(TARGET_DIR)/usr/bin/hwnoise > + ln -sf rtla $(TARGET_DIR)/usr/bin/timerlat > +endef > -- > 2.34.1 > > > > ------------------------------ > > Message: 24 > Date: Tue, 26 Sep 2023 11:11:58 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Thomas Petazzoni , Maxime Chevallier > , Giulio Benetti > , "Yann E . MORIN" > , Pierre Floury > Subject: [Buildroot] [PATCH v2 4/4] package/trace-cmd: bump to 3.1.7 > Message-ID: > <20230926091158.3767645-4-giulio.benetti at benettiengineering.com> > > From: Maxime Chevallier > > trace-cmd's dependencies 'libtracefs' and 'libtraceevent' were split > into dedicated projects, maintained outside of trace-cmd. > > This release, on top of bumping the version, adds this new dependencies. > > Signed-off-by: Maxime Chevallier > [Giulio: bump to version 3.1.7] > Signed-off-by: Giulio Benetti > --- > Giulio: > V1->V2: > * bump to version 3.1.7 > --- > package/trace-cmd/Config.in | 2 ++ > package/trace-cmd/trace-cmd.hash | 2 +- > package/trace-cmd/trace-cmd.mk | 6 ++++-- > 3 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in > index 2d0accd7ae..00b9ebbd9a 100644 > --- a/package/trace-cmd/Config.in > +++ b/package/trace-cmd/Config.in > @@ -4,6 +4,8 @@ config BR2_PACKAGE_TRACE_CMD > depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL > depends on BR2_USE_MMU # fork() > depends on !BR2_STATIC_LIBS # dlopen() > + select BR2_PACKAGE_LIBTRACEEVENT > + select BR2_PACKAGE_LIBTRACEFS > help > Command line reader for ftrace. > > diff --git a/package/trace-cmd/trace-cmd.hash b/package/trace-cmd/trace-cmd.hash > index 4d39e4d5ea..6edcaf0e1c 100644 > --- a/package/trace-cmd/trace-cmd.hash > +++ b/package/trace-cmd/trace-cmd.hash > @@ -1,5 +1,5 @@ > # Locally computed > -sha256 a74d9ade2633b88d0ad199360d51996427e23f4835594133e456cd6e3bd3a651 trace-cmd-v2.9.7.tar.gz > +sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz > sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING > sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB > sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 > diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk > index 52bb99036c..3d4d88c964 100644 > --- a/package/trace-cmd/trace-cmd.mk > +++ b/package/trace-cmd/trace-cmd.mk > @@ -4,14 +4,14 @@ > # > ################################################################################ > > -TRACE_CMD_VERSION = 2.9.7 > +TRACE_CMD_VERSION = 3.1.7 > TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz > TRACE_CMD_SITE = \ > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot > TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 > TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 > > -TRACE_CMD_DEPENDENCIES = host-pkgconf > +TRACE_CMD_DEPENDENCIES = host-pkgconf libtracefs libtraceevent > TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc > > ifeq ($(BR2_PACKAGE_AUDIT),y) > @@ -34,6 +34,8 @@ ifeq ($(BR2_sparc64),y) > TRACE_CMD_CFLAGS += -fPIC > endif > > +TRACE_CMD_CFLAGS += $($(HOST_DIR)/bin/pkg-config --cflags libtracefs) > + > # trace-cmd use CPPFLAGS to add some extra flags. > # But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE > # that causes build problems. > -- > 2.34.1 > > > > ------------------------------ > > Message: 25 > Date: Tue, 26 Sep 2023 11:11:55 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Thomas Petazzoni , Maxime Chevallier > , Giulio Benetti > , "Yann E . MORIN" > , Pierre Floury > Subject: [Buildroot] [PATCH v2 1/4] package/libtraceevent: new package > Message-ID: > <20230926091158.3767645-1-giulio.benetti at benettiengineering.com> > > From: Maxime Chevallier > > Introduce the libtraceevent library, that used to be bundled with the > trace-cmd tool. This library is now used by several tools and libraries > such as trace-cmd, libtracefs and rtla. > > This package tries to install libraries in /usr/local/lib by default, > hence the redefinition of the "prefix" variable, so that the library > gets installed in "/usr/lib" instead. > > The same applies to the pkgconfig handling of the proved Makefile, which > installs the .pc files in the /usr/local area by default, hence the > redefinition of the pkgconfig_dir to either the correct directory within the > staging area, or to empty value for the target to avoid installing the .pc > in that case. > > Signed-off-by: Maxime Chevallier > [Giulio: bump version to 1.7.3 and add hash file] > Signed-off-by: Giulio Benetti > --- > Giulio: > V1->V2: > * bump to version 1.7.3 > * add hash file > --- > DEVELOPERS | 3 +++ > package/Config.in | 1 + > package/libtraceevent/Config.in | 9 +++++++ > package/libtraceevent/libtraceevent.hash | 4 +++ > package/libtraceevent/libtraceevent.mk | 33 ++++++++++++++++++++++++ > 5 files changed, 50 insertions(+) > create mode 100644 package/libtraceevent/Config.in > create mode 100644 package/libtraceevent/libtraceevent.hash > create mode 100644 package/libtraceevent/libtraceevent.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index 38973a75dc..306c3cf2be 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2096,6 +2096,9 @@ F: package/postgresql/ > F: package/protozero/ > F: package/timescaledb/ > > +N: Maxime Chevallier > +F: package/libtraceevent/ > + > N: Michael Durrant > F: board/arcturus/ > F: configs/arcturus_ucp1020_defconfig > diff --git a/package/Config.in b/package/Config.in > index 1e8b6f90c1..cb7afd188e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -117,6 +117,7 @@ menu "Debugging, profiling and benchmark" > source "package/kyua/Config.in" > source "package/latencytop/Config.in" > source "package/libbpf/Config.in" > + source "package/libtraceevent/Config.in" > source "package/lmbench/Config.in" > source "package/lsof/Config.in" > source "package/ltp-testsuite/Config.in" > diff --git a/package/libtraceevent/Config.in b/package/libtraceevent/Config.in > new file mode 100644 > index 0000000000..d351e3b4de > --- /dev/null > +++ b/package/libtraceevent/Config.in > @@ -0,0 +1,9 @@ > +config BR2_PACKAGE_LIBTRACEEVENT > + bool "libtraceevent" > + help > + libtraceevent is a library that interfaces with the ftrace > + subsystem in the linux kernel. > + It used to be bundled directly in the trace-cmd > + tool, but it was eventually extracted so that it can be used > + by multiple other tools and libraries, such as libtracefs and > + rtla. > diff --git a/package/libtraceevent/libtraceevent.hash b/package/libtraceevent/libtraceevent.hash > new file mode 100644 > index 0000000000..15c4883afd > --- /dev/null > +++ b/package/libtraceevent/libtraceevent.hash > @@ -0,0 +1,4 @@ > +# Locally computed > +sha256 097b72e0d907f3107825fb2edf0188324bf70dc9da360f6efa68dc484ffde541 libtraceevent-1.7.3.tar.gz > +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 > +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 > diff --git a/package/libtraceevent/libtraceevent.mk b/package/libtraceevent/libtraceevent.mk > new file mode 100644 > index 0000000000..75c23f7410 > --- /dev/null > +++ b/package/libtraceevent/libtraceevent.mk > @@ -0,0 +1,33 @@ > +################################################################################ > +# > +# libtraceevent > +# > +################################################################################ > + > +LIBTRACEEVENT_VERSION = 1.7.3 > +LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot > +LIBTRACEEVENT_INSTALL_STAGING = YES > +LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 > +LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 > + > +define LIBTRACEEVENT_BUILD_CMDS > + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) > +endef > + > +define LIBTRACEEVENT_INSTALL_STAGING_CMDS > + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + DESTDIR=$(STAGING_DIR) \ > + pkgconfig_dir="/usr/lib/pkgconfig" \ > + prefix="/usr" \ > + install > +endef > + > +define LIBTRACEEVENT_INSTALL_TARGET_CMDS > + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + DESTDIR=$(TARGET_DIR) \ > + pkgconfig_dir="" \ > + prefix="/usr" \ > + install > +endef > + > +$(eval $(generic-package)) > -- > 2.34.1 > > > > ------------------------------ > > Message: 26 > Date: Tue, 26 Sep 2023 11:11:56 +0200 > From: Giulio Benetti > To: buildroot at buildroot.org > Cc: Thomas Petazzoni , Maxime Chevallier > , Giulio Benetti > , "Yann E . MORIN" > , Pierre Floury > Subject: [Buildroot] [PATCH v2 2/4] package/libtracefs: new package > Message-ID: > <20230926091158.3767645-2-giulio.benetti at benettiengineering.com> > > From: Maxime Chevallier > > Introduce the libtracefs library, that used to be bundled with the > trace-cmd tool. This library is now used by several tools and libraries > such as trace-cmd and rtla, and is used as an interface to the ftrace > kernel subsystem through tracefs. > > This package tries to install libraries in /usr/local/lib by default, > hence the redefinition of the "prefix" variable, so that the library > gets installed in "/usr/lib" instead. > > The same applies to the pkgconfig handling of the proved Makefile, which > installs the .pc files in the /usr/local area by default, hence the > redefinition of the pkgconfig_dir to either the correct directory within the > staging area, or to empty value for the target to avoid installing the .pc > in that case. > > Signed-off-by: Maxime Chevallier > [Giulio: bump version to 1.7.0 and add hash file] > Signeg-off-by: Giulio Benetti > --- > Giulio: > V1->V2: > * bump to version 1.7.0 > * add hash file > --- > DEVELOPERS | 1 + > package/Config.in | 1 + > package/libtracefs/Config.in | 6 +++++ > package/libtracefs/libtracefs.hash | 4 ++++ > package/libtracefs/libtracefs.mk | 35 ++++++++++++++++++++++++++++++ > 5 files changed, 47 insertions(+) > create mode 100644 package/libtracefs/Config.in > create mode 100644 package/libtracefs/libtracefs.hash > create mode 100644 package/libtracefs/libtracefs.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index 306c3cf2be..835c269461 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2098,6 +2098,7 @@ F: package/timescaledb/ > > N: Maxime Chevallier > F: package/libtraceevent/ > +F: package/libtracefs > > N: Michael Durrant > F: board/arcturus/ > diff --git a/package/Config.in b/package/Config.in > index cb7afd188e..bd30e956bd 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -118,6 +118,7 @@ menu "Debugging, profiling and benchmark" > source "package/latencytop/Config.in" > source "package/libbpf/Config.in" > source "package/libtraceevent/Config.in" > + source "package/libtracefs/Config.in" > source "package/lmbench/Config.in" > source "package/lsof/Config.in" > source "package/ltp-testsuite/Config.in" > diff --git a/package/libtracefs/Config.in b/package/libtracefs/Config.in > new file mode 100644 > index 0000000000..92ce0986df > --- /dev/null > +++ b/package/libtracefs/Config.in > @@ -0,0 +1,6 @@ > +config BR2_PACKAGE_LIBTRACEFS > + bool "libtracefs" > + select BR2_PACKAGE_LIBTRACEEVENT > + help > + libtracefs is used to easily interface with the ftrace > + interface through the tracefs virtual filesystem. > diff --git a/package/libtracefs/libtracefs.hash b/package/libtracefs/libtracefs.hash > new file mode 100644 > index 0000000000..676fcf1111 > --- /dev/null > +++ b/package/libtracefs/libtracefs.hash > @@ -0,0 +1,4 @@ > +# Locally computed > +sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz > +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 > +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 > diff --git a/package/libtracefs/libtracefs.mk b/package/libtracefs/libtracefs.mk > new file mode 100644 > index 0000000000..0b32b2102a > --- /dev/null > +++ b/package/libtracefs/libtracefs.mk > @@ -0,0 +1,35 @@ > +################################################################################ > +# > +# libtracefs > +# > +################################################################################ > + > +LIBTRACEFS_VERSION = 1.7.0 > +LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot > +LIBTRACEFS_INSTALL_STAGING = YES > +LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1 > +LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 > + > +LIBTRACEFS_DEPENDENCIES = host-pkgconf libtraceevent > + > +define LIBTRACEFS_BUILD_CMDS > + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) > +endef > + > +define LIBTRACEFS_INSTALL_STAGING_CMDS > + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + DESTDIR=$(STAGING_DIR) \ > + pkgconfig_dir="/usr/lib/pkgconfig" \ > + prefix="/usr" \ > + install > +endef > + > +define LIBTRACEFS_INSTALL_TARGET_CMDS > + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + DESTDIR=$(TARGET_DIR) \ > + pkgconfig_dir="" \ > + prefix="/usr" \ > + install > +endef > + > +$(eval $(generic-package)) > -- > 2.34.1 > > > > ------------------------------ > > Message: 27 > Date: Tue, 26 Sep 2023 13:51:12 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.08.x] package/libopenssl: > bump to version 3.0.11 > Message-ID: <20230926115319.E953E81426 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=f4c3e4a55e4b43dec6dece3ee47c199cd5775f77 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x > > Fixes CVE-2023-4807 (Windows-only): > https://www.openssl.org/news/vulnerabilities.html > > Changelog: https://www.openssl.org/news/openssl-3.0-notes.html > > Signed-off-by: Peter Korsgaard > --- > package/libopenssl/libopenssl.hash | 4 ++-- > package/libopenssl/libopenssl.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash > index b43281c7eb..27e2c73d1d 100644 > --- a/package/libopenssl/libopenssl.hash > +++ b/package/libopenssl/libopenssl.hash > @@ -1,5 +1,5 @@ > -# From https://www.openssl.org/source/openssl-3.0.10.tar.gz.sha256 > -sha256 1761d4f5b13a1028b9b6f3d4b8e17feb0cedc9370f6afe61d7193d2cdce83323 openssl-3.0.10.tar.gz > +# From https://www.openssl.org/source/openssl-3.0.11.tar.gz.sha256 > +sha256 b3425d3bb4a2218d0697eb41f7fc0cdede016ed19ca49d168b78e8d947887f55 openssl-3.0.11.tar.gz > > # License files > sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt > diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk > index 8bc3687921..5ff878dded 100644 > --- a/package/libopenssl/libopenssl.mk > +++ b/package/libopenssl/libopenssl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBOPENSSL_VERSION = 3.0.10 > +LIBOPENSSL_VERSION = 3.0.11 > LIBOPENSSL_SITE = https://www.openssl.org/source > LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz > LIBOPENSSL_LICENSE = Apache-2.0 > > > ------------------------------ > > Message: 28 > Date: Tue, 26 Sep 2023 17:47:03 +0200 > From: "Yann E. MORIN" > To: buildroot at buildroot.org > Cc: "Yann E. MORIN" , Julien Olivain > > Subject: [Buildroot] [PATCH] support/runtime-test: fix weston test > Message-ID: <20230926154703.160448-1-yann.morin.1998 at free.fr> > > The weston runtime test uses the CRC of the framebuffer to detect that > "something" is being drawned on the framebuffer. This requires that the > sampling of the CRC happens does not happen too early after trigerring > an action, or the rendering may be not be finishe, either: > > - weston may not have had time to initialise, or > - the test application may not have started rednering, > > The sequence of rendering that has been observed yields this sequence of > CRCs (elided for brevity): > > - boot: > - alternating between 0x4c4126bf and 0x5d2f9aa5: console cursor > blinking > > - start weston: > - 0x4c4126bf: weston switches to an clearted vt) > ... > - 0xe54b7895: weston is starting > ... > - 0xe54b7895: wayland socket appears! > ... > - 0x6bf28bdf: weston is ready > ... > > - start weston-simple-egl: > - 0x6bf28bdf: application is starting > ... > - 0xNNNNNNNN: random CRCs while the application renders > ... > > - stop weston-simple-egl: > - 0xNNNNNNNN: izero, one, or two random CRCs while the application > renders before it handles SIGTERM > - 0x6bf28bdf: application is stopped > ... > > - stop weston: > - 0x6bf28bdf: a few CRC identical to when weston was started, while > weston is processing SIGTERM > - ocillating between 0x4c4126bf and 0x5d2f9aa5: console cursor > blinking, back to initial vt, weston dead. > > So, we need to wait "enough" after each action. Moreover, when the > wayland socket appears, weston may not have stabilised yet, so we also > need to wait after the socket appears. > > Signed-off-by: Yann E. MORIN > Cc: Julien Olivain > --- > support/testing/tests/package/test_weston.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/support/testing/tests/package/test_weston.py b/support/testing/tests/package/test_weston.py > index 276788c649..df1b7a4135 100644 > --- a/support/testing/tests/package/test_weston.py > +++ b/support/testing/tests/package/test_weston.py > @@ -78,6 +78,7 @@ class TestWeston(infra.basetest.BRTest): > wayland_socket = "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}" > cmd = f"while [ ! -e \"{wayland_socket}\" ] ; do sleep 1 ; done" > self.assertRunOk(cmd, timeout=10) > + time.sleep(4) > > def stop_weston(self): > cmd = "killall weston && sleep 3" > -- > 2.25.1 > > > > ------------------------------ > > Message: 29 > Date: Tue, 26 Sep 2023 19:37:44 +0300 > From: Sergey Kuzminov > To: Marcin Niestroj , > buildroot at buildroot.org > Cc: Sergey Matyukevich , Peter Korsgaard > > Subject: Re: [Buildroot] [PATCH v2] board: add Orangepi Zero3 support > Message-ID: <05b7f0d8-163d-52e0-fa48-c275bb89fff0 at gmail.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Tested-by: Sergey Kuzminov > > 18.09.2023 09:47, Marcin Niestroj ?????: >> Add initial support for Orangepi Zero3 board: >> - U-Boot 2021.07 fork by Orangepi >> - Linux 6.1.31 fork by Orangepi >> - Default packages from buildroot >> >> Enable CONFIG_MFD_AC200 as it is used directly by other module, >> resulting in build failure when disabled. >> >> Signed-off-by: Marcin Niestroj >> --- >> v1 -> v2: >> * use 'linux_sunxi64' instead of default arch defconfig, which fixes >> ethernet networking (suggested by Sergey) >> * disabled rootfs.tar generation (suggested by Sergey) >> * increased ext2 fs size to 180M to fit more kernel modules >> * added DEVELOPERS entries for board files >> >> DEVELOPERS | 2 + >> board/orangepi/orangepi-zero3/linux.config | 1 + >> board/orangepi/orangepi-zero3/readme.txt | 34 +++++++++++++ >> configs/orangepi_zero3_defconfig | 57 ++++++++++++++++++++++ >> 4 files changed, 94 insertions(+) >> create mode 100644 board/orangepi/orangepi-zero3/linux.config >> create mode 100644 board/orangepi/orangepi-zero3/readme.txt >> create mode 100644 configs/orangepi_zero3_defconfig >> >> diff --git a/DEVELOPERS b/DEVELOPERS >> index e8b78a8d46..66abc39e16 100644 >> --- a/DEVELOPERS >> +++ b/DEVELOPERS >> @@ -1953,8 +1953,10 @@ F: package/ecryptfs-utils/ >> N: Marcin Niestroj >> F: board/grinn/ >> F: board/orangepi/orangepi-zero-plus/ >> +F: board/orangepi/orangepi-zero3/ >> F: configs/grinn_* >> F: configs/orangepi_zero_plus_defconfig >> +F: configs/orangepi_zero3_defconfig >> F: package/argparse/ >> F: package/dt-utils/ >> F: package/easydbus/ >> diff --git a/board/orangepi/orangepi-zero3/linux.config b/board/orangepi/orangepi-zero3/linux.config >> new file mode 100644 >> index 0000000000..09b7a93a5a >> --- /dev/null >> +++ b/board/orangepi/orangepi-zero3/linux.config >> @@ -0,0 +1 @@ >> +CONFIG_MFD_AC200=y >> diff --git a/board/orangepi/orangepi-zero3/readme.txt b/board/orangepi/orangepi-zero3/readme.txt >> new file mode 100644 >> index 0000000000..4872a363e7 >> --- /dev/null >> +++ b/board/orangepi/orangepi-zero3/readme.txt >> @@ -0,0 +1,34 @@ >> +Intro >> +===== >> + >> +This default configuration will allow you to start experimenting with the >> +buildroot environment for the Orangepi Zero3. With the current configuration >> +it will bring-up the board, and allow access through the serial console. >> + >> +Orangepi Zero3 link: >> +http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-3.html >> + >> +This configuration uses Orangepi's fork of U-Boot and Linux kernel. >> + >> +How to build >> +============ >> + >> + $ make orangepi_zero3_defconfig >> + $ make >> + >> +Note: you will need access to the internet to download the required >> +sources. >> + >> +How to write the SD card >> +======================== >> + >> +Once the build process is finished you will have an image called "sdcard.img" >> +in the output/images/ directory. >> + >> +Copy the bootable "sdcard.img" onto an SD card with "dd": >> + >> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX >> + $ sudo sync >> + >> +Insert the micro SDcard in your Orangepi Zero3 and power it up. The console >> +is on the serial line, 115200 8N1. >> diff --git a/configs/orangepi_zero3_defconfig b/configs/orangepi_zero3_defconfig >> new file mode 100644 >> index 0000000000..51a6efd3ed >> --- /dev/null >> +++ b/configs/orangepi_zero3_defconfig >> @@ -0,0 +1,57 @@ >> +BR2_aarch64=y >> +BR2_cortex_a53=y >> +BR2_ARM_FPU_VFPV4=y >> + >> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y >> +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y >> +BR2_SYSTEM_DHCP="eth0" >> + >> +# Firmware >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9" >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h616" >> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y >> + >> +# Bootloader >> +BR2_TARGET_UBOOT=y >> +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y >> +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y >> +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,orangepi-xunlong,u-boot-orangepi,6fe17fac388aad17490cf386578b7532975e567f)/u-boot-orangepi-6fe17fac388aad17490cf386578b7532975e567f.tar.gz" >> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero3" >> +BR2_TARGET_UBOOT_NEEDS_DTC=y >> +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y >> +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y >> +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y >> +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y >> +BR2_TARGET_UBOOT_SPL=y >> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" >> +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" >> + >> +# Kernel >> +BR2_LINUX_KERNEL=y >> +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y >> +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,orangepi-xunlong,linux-orangepi,3495b5ee0594566c9fed930b96b1cae90600412e)/linux-orangepi-3495b5ee0594566c9fed930b96b1cae90600412e.tar.gz" >> +BR2_LINUX_KERNEL_DEFCONFIG="linux_sunxi64" >> +BR2_LINUX_KERNEL_DTS_SUPPORT=y >> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h616-orangepi-zero3" >> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y >> +BR2_LINUX_KERNEL_INSTALL_TARGET=y >> +BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y >> +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero3/linux.config" >> + >> +# Filesystem >> +BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero3" >> +BR2_TARGET_ROOTFS_EXT2=y >> +BR2_TARGET_ROOTFS_EXT2_4=y >> +BR2_TARGET_ROOTFS_EXT2_SIZE="180M" >> +# BR2_TARGET_ROOTFS_TAR is not set >> + >> +# host tools >> +BR2_PACKAGE_HOST_GENIMAGE=y >> +BR2_PACKAGE_HOST_UBOOT_TOOLS=y >> + >> +# image scripts >> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" >> +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" >> +BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" > > > ------------------------------ > > Message: 30 > Date: Tue, 26 Sep 2023 21:23:36 +0200 > From: "Yann E. MORIN" > To: Adam Duskett > Cc: Asaf Kahlon , Julien Olivain , > Thomas Petazzoni , > buildroot at buildroot.org, Michael Trimarchi > , Angelo Compagnucci > > Subject: Re: [Buildroot] [PATCH v9 7/7] > support/testing/tests/package/test_flutter.py: new runtime test > Message-ID: <20230926192336.GT1469982 at scaer> > Content-Type: text/plain; charset=utf-8 > > Adam, All, > > On 2023-09-23 10:35 +0200, Yann E. MORIN spake thusly: >> On 2023-09-19 14:42 -0600, Adam Duskett spake thusly: >>> This is a simple test that builds and runs the futter-gallery application and >>> checks if the service is active. >> This runtime test does not demonstrate a worlking flutter stack, because >> the application in fact does not work: > Note: as discussed on IRC: the above was a bit rough, sorry. > > I understand that you did manage to get a flutter stack working, and > this *is* impressive! > > What I meant is that this runtime test does not demonstrate that, > unfortunately. > > The CI/CD pipelines are running in containers that do not have access to > a GPU. Hence a runtime test that uses GPU passthrough as you initially > provided is not going to work. That is why I have been insistent on > doing a headless runtime test. > > We do already have working runtime tests for graphical packages, like > the weston test. What those tests do, is run the graphical application > to test, and check that the framebuffer changes (by comparing the CRC > provided by the kernel, as we don't care about what is rendered, just > that "something" is rendered). This is what I would have expected for > the flutter test too. > > [--SNIP--] >> So, a few things about this: >> - the real issues I'm most afraid of, are the one about mesa failing >> to load the proper drivers, > So I had a deeper look, and ran the weston test by hand (I had to fix it > while at it [0]), and noticed that weston whines about the exact same > drivers, yet works. So the issue about missing zynq and vkms is benign. > >> [snip] and/or that it can't create an EGL GBM >> surface; I think this is the real problem; > So, the remaining issue is that flutter-pi can't t create a GBM surface. > This is very very similar to an old upstream issue, which got fixed a > year ago: > > https://github.com/ardera/flutter-pi/issues/269 > https://github.com/ardera/flutter-pi/pull/270 > > However, upstream did a big overhaul of the code recently, and the fix > got lost in the rewrite. Here's what I now came up with (patch against > flutter-pi): > > From 856f9849763535d62ed01b538ba23905875c93f4 Mon Sep 17 00:00:00 2001 > From: "Yann E. MORIN" > Date: Tue, 26 Sep 2023 20:31:17 +0200 > Subject: [PATCH] src/egl_gbm_render_surface: properly fallback to surface with > no modifier > > In 869fa7fcfbeb, we added a fallback to be able to create an EGL sruface > when the driver do not support modifiers, like the llvmpipe software > renderer (or like some proprietary drivers, like the MALI ones), as > reported in #269 [0]. > > However, in c6537673c9b6, there was a big overhaul of renderer > infrastructure. That commit lost the with-modifiers code path and only > kept the without-modifiers fallback one (i.e. it only kept the call to > gbm_surface_create(), not to gbm_surface_create_with_modifiers()). > > Then in b0d09f5032a4, the with-modifiers code path was re-instated, but > in a way that made it exclusive with the without-modifiers one. That is, > the without-modifiers code path was not a fallback to when the other > failed. > > Re-instate the fallback mechanism as initially implemented. > > [0] https://github.com/ardera/flutter-pi/issues/269 > > Signed-off-by: Yann E. MORIN > --- > src/egl_gbm_render_surface.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/src/egl_gbm_render_surface.c b/src/egl_gbm_render_surface.c > index ce9e5e7..8a58667 100644 > --- a/src/egl_gbm_render_surface.c > +++ b/src/egl_gbm_render_surface.c > @@ -146,6 +146,7 @@ static int egl_gbm_render_surface_init( > } > #endif > > + gbm_surface = NULL; > if (allowed_modifiers != NULL) { > gbm_surface = gbm_surface_create_with_modifiers( > gbm_device, > @@ -158,9 +159,10 @@ static int egl_gbm_render_surface_init( > if (gbm_surface == NULL) { > ok = errno; > LOG_ERROR("Couldn't create GBM surface for rendering. gbm_surface_create_with_modifiers: %s\n", strerror(ok)); > - return ok; > + LOG_ERROR("Will retry without modifiers\n"); > } > - } else { > + } > + if (gbm_surface == NULL) { > gbm_surface = gbm_surface_create( > gbm_device, > size.x, > -- > 2.25.1 > > With this patch, the application no longer coredumps, and keeps running. > > As for the CRC of the framebuffer: without flutter-pi running, the value > is 0x4c4126bf. Starting the flutter application (and waiting quite a > bit), it suddenly changes to an arbitrary value! Stopping flutter-pi, > the CRC reverts to 0x4c4126bf. Starting again, new value! Note that it > can be like 10s or more before the CRC changes at application start. > > So, to me, that means the application is now running! I have no idea what > is supposed to be displayed, but something is being rendered, and that's > all that matters! > > Care to integrate that patch in your series, test in your actual setup, > see if it's possible to send it upstream, update the runtime test to > check on the CRC (instead of checkign the systemd unit status), and > respin the series, please? > > (I'm on the move the next few days, but I'll be able to dedicate time > during the WE). > >> - you're pointing the gallery app to /usr/share/flutter/gallery/release/ >> but therat does not exist (what should it contain, btw?). > (blark typoes of mine). I must have messed things with another test, > because /usr/share/flutter/gallery/release/ *is* populated as expected. > > [0] https://patchwork.ozlabs.org/project/buildroot/patch/20230926154703.160448-1-yann.morin.1998 at free.fr/ > > Regards, > Yann E. MORIN. > >> Can you look at that test, please? >> >> Regards, >> Yann E. MORIN. >> >>> Signed-off-by: Adam Duskett >>> --- >>> v8 -> v9: >>> - Changed to aarch64 to avoid problems with older versions of qemu. >>> - Added BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF >>> >>> DEVELOPERS | 1 + >>> support/testing/tests/package/test_flutter.py | 56 +++++++++++++++++++ >>> .../package/test_flutter/linux-vkms.fragment | 2 + >>> .../flutter-gallery.service | 1 + >>> .../systemd/system/flutter-gallery.service | 11 ++++ >>> 5 files changed, 71 insertions(+) >>> create mode 100644 support/testing/tests/package/test_flutter.py >>> create mode 100644 support/testing/tests/package/test_flutter/linux-vkms.fragment >>> create mode 120000 support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>> create mode 100644 support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>> >>> diff --git a/DEVELOPERS b/DEVELOPERS >>> index 48a4ec776a..f46d83679a 100644 >>> --- a/DEVELOPERS >>> +++ b/DEVELOPERS >>> @@ -37,6 +37,7 @@ F: package/flutter-engine/ >>> F: package/flutter-gallery/ >>> F: package/flutter-pi/ >>> F: package/flutter-sdk-bin/ >>> +F: support/testing/tests/package/test_flutter.py >>> >>> N: Adam Heinrich >>> F: package/jack1/ >>> diff --git a/support/testing/tests/package/test_flutter.py b/support/testing/tests/package/test_flutter.py >>> new file mode 100644 >>> index 0000000000..e17ed9f659 >>> --- /dev/null >>> +++ b/support/testing/tests/package/test_flutter.py >>> @@ -0,0 +1,56 @@ >>> +import os >>> +import time >>> +import infra.basetest >>> + >>> + >>> +class TestFlutter(infra.basetest.BRTest): >>> + config = f""" >>> + BR2_aarch64=y >>> + BR2_TOOLCHAIN_EXTERNAL=y >>> + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y >>> + BR2_ROOTFS_OVERLAY="{infra.filepath("tests/package/test_flutter/overlay")}" >>> + BR2_PER_PACKAGE_DIRECTORIES=y >>> + BR2_INIT_SYSTEMD=y >>> + BR2_LINUX_KERNEL=y >>> + BR2_LINUX_KERNEL_CUSTOM_VERSION=y >>> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.54" >>> + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y >>> + BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y >>> + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" >>> + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{infra.filepath("tests/package/test_flutter/linux-vkms.fragment")}" >>> + BR2_PACKAGE_LIBDRM=y >>> + BR2_PACKAGE_MESA3D=y >>> + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y >>> + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL=y >>> + BR2_PACKAGE_MESA3D_OPENGL_ES=y >>> + BR2_PACKAGE_FLUTTER_PI=y >>> + BR2_PACKAGE_FLUTTER_PI_RAW_KEYBOARD_PLUGIN=y >>> + BR2_PACKAGE_FLUTTER_PI_TEXT_INPUT_PLUGIN=y >>> + BR2_PACKAGE_FLUTTER_GALLERY=y >>> + BR2_PACKAGE_FLUTTER_ENGINE=y >>> + BR2_TARGET_ROOTFS_EXT2=y >>> + BR2_TARGET_ROOTFS_EXT2_4=y >>> + BR2_TARGET_ROOTFS_EXT2_SIZE="512M" >>> + # BR2_TARGET_ROOTFS_TAR is not set >>> + """ >>> + >>> + def test_run(self): >>> + timeout = 35 * self.emulator.timeout_multiplier >>> + img = os.path.join(self.builddir, "images", "rootfs.ext2") >>> + kern = os.path.join(self.builddir, "images", "Image") >>> + self.emulator.boot( >>> + arch="aarch64", >>> + kernel=kern, >>> + kernel_cmdline=["root=/dev/vda console=ttyAMA0"], >>> + options=["-M", "virt", >>> + "-cpu", "cortex-a57", >>> + "-m", "512M", >>> + "-smp", "4", >>> + "-vga", "std", >>> + "-vnc", "none", >>> + "-drive", f"file={img},if=virtio,format=raw"]) >>> + self.emulator.login() >>> + cmd = "systemctl is-active flutter-gallery" >>> + output, exit_code = self.emulator.run(cmd, 10) >>> + self.assertEqual(exit_code, 0) >>> + self.assertEqual(output[0], "active") >>> diff --git a/support/testing/tests/package/test_flutter/linux-vkms.fragment b/support/testing/tests/package/test_flutter/linux-vkms.fragment >>> new file mode 100644 >>> index 0000000000..3fc7a5dded >>> --- /dev/null >>> +++ b/support/testing/tests/package/test_flutter/linux-vkms.fragment >>> @@ -0,0 +1,2 @@ >>> +CONFIG_DEBUG_FS=y >>> +CONFIG_DRM_VKMS=y >>> diff --git a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>> new file mode 120000 >>> index 0000000000..40993fb16c >>> --- /dev/null >>> +++ b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>> @@ -0,0 +1 @@ >>> +../../../../usr/lib/systemd/system/flutter-gallery.service >>> \ No newline at end of file >>> diff --git a/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>> new file mode 100644 >>> index 0000000000..88a2bcbf0b >>> --- /dev/null >>> +++ b/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>> @@ -0,0 +1,11 @@ >>> +[Unit] >>> +Description=flutter-gallery daemon >>> +After=dbus.service systemd-udevd.service >>> + >>> +[Service] >>> +ExecStart=/usr/bin/flutter-pi --release /usr/share/flutter/gallery/release/ >>> +Restart=always >>> +KillMode=process >>> + >>> +[Install] >>> +WantedBy=multi-user.target >>> -- >>> 2.39.2 >>> >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot >> -- >> .-----------------.--------------------.------------------.--------------------. >> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | >> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | >> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | >> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | >> '------------------------------^-------^------------------^--------------------' >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' > > > ------------------------------ > > Message: 31 > Date: Tue, 26 Sep 2023 23:37:00 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] Update for > 2023.05.3 > Message-ID: <20230926214006.9067681D2A at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=70638523a704aca46313aba05b74783340b11b32 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > Signed-off-by: Peter Korsgaard > --- > CHANGES | 29 +++++++++++++++++++++++++++++ > Makefile | 4 ++-- > support/misc/Vagrantfile | 2 +- > 3 files changed, 32 insertions(+), 3 deletions(-) > > diff --git a/CHANGES b/CHANGES > index fb52f9bd1a..bf9b57e21d 100644 > --- a/CHANGES > +++ b/CHANGES > @@ -1,3 +1,32 @@ > +2023.05.3, released September 26th, 2023 > + > + Important / security related fixes. > + > + Defconfigs: PC x86-64 bios/efi: Needs libelf. Raspberrypi: > + Also enable HDMI console when systemd is used. > + > + Updated/fixed packages: agentpp, asterisk, at91dataflashboot, > + aubio, berkeleydb, bind, bwm-ng, chocolate-doom, clamav, > + compiler-rt, connman, cpio, cups, dav1d, diffutils, dracut, > + dt, expect, fail2ban, fio, flite, freerdp, freeswitch, > + fstrcmp, gcc, gdb, ghostscript, gmp, go, grub2, haproxy, > + heirloom-mailx, hwloc, icu, intel-microcode, irssi, less, > + libcoap, libcurl, libglib2, libiec61850, libjxl, libks, > + libksba, libmodsecurity, libpjsip, libqb, libraw, libssh, > + libtommath, lldpd, log4cxx, lsof, mdadm, mosquitto, mpd, mpv, > + mutt, mv-ddr-marvell, ne10, netatalk, network-manager, > + nftables, nodejs, ntpsec, nut, openblas, openjdk, openjdk-bin, > + opensc, openssh, pcm-tools, perftest, petitboot, php, pixman, > + poppler, postgresql, python-django, python-ipython, > + python-pip, python-pylibfdt, python-tornado, python3, qt5, > + ramspeed, rtl8189fs, rtl8812au-aircrack-ng, samba4, screen, > + screenfetch, sngrep, sofia-sip, stellarium, stress-ng, > + strongswan, sysstat, tar, tcl, uboot, uclibc, vim, webkitgtk, > + webp, wireshark, xfsprogs, xserver_xorg-server, xterm, yajl, > + zbar, zxing-cpp > + > + New packages: xlib_libXpresent > + > 2023.05.2, released August 31th, 2023 > > Important / security related fixes. > diff --git a/Makefile b/Makefile > index 2ea0467fc9..eedf4ea296 100644 > --- a/Makefile > +++ b/Makefile > @@ -90,9 +90,9 @@ all: > .PHONY: all > > # Set and export the version string > -export BR2_VERSION := 2023.05.2 > +export BR2_VERSION := 2023.05.3 > # Actual time the release is cut (for reproducible builds) > -BR2_VERSION_EPOCH = 1693493000 > +BR2_VERSION_EPOCH = 1695764000 > > # Save running make version since it's clobbered by the make package > RUNNING_MAKE_VERSION := $(MAKE_VERSION) > diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile > index 75aae858b7..0b26583ea9 100644 > --- a/support/misc/Vagrantfile > +++ b/support/misc/Vagrantfile > @@ -5,7 +5,7 @@ > ################################################################################ > > # Buildroot version to use > -RELEASE='2023.05.2' > +RELEASE='2023.05.3' > > ### Change here for more memory/cores ### > VM_MEMORY=2048 > > > ------------------------------ > > Message: 32 > Date: Tue, 26 Sep 2023 13:55:57 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] Revert > "package/docker-cli: backport fix for host header check" > Message-ID: <20230926214006.7254E81A15 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=8515c0afcfa90b08a016966962d8db73b4303b50 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > This reverts commit ce1b80f27dc86d7b23aa221b7d1601dcd57e451e. > > With the bump to go 1.19.13, this workaround is no longer needed. > > Signed-off-by: Peter Korsgaard > --- > .checkpackageignore | 1 - > ...001-backport-fix-for-go-Host-header-check.patch | 127 --------------------- > 2 files changed, 128 deletions(-) > > diff --git a/.checkpackageignore b/.checkpackageignore > index 81fb9c2d8a..9ec76bc15f 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -354,7 +354,6 @@ package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch Upstream > package/dmraid/0001-fix-compilation-under-musl.patch Upstream > package/dmraid/S20dmraid Variables > package/dnsmasq/S80dnsmasq Shellcheck Variables > -package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch Upstream > package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch Upstream > package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch Upstream > package/docker-engine/S60dockerd Indent Shellcheck Variables > diff --git a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch b/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch > deleted file mode 100644 > index 2b58582538..0000000000 > --- a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch > +++ /dev/null > @@ -1,127 +0,0 @@ > -From 4dc783e2bdf414761ef7c209b435d0a30f17c858 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Sat, 15 Jul 2023 02:22:10 +0200 > -Subject: [PATCH] backport fix for go Host header check > - > -Go 1.20.6 and 1.19.11 include a security check of the http Host header: > - > - https://github.com/golang/go/issues/60374 > - > -docker-cli fails this check: > - > - $ docker exec -it ctr bash > - http: invalid Host header > - > -This is a backported patch to fix this issue. > - > -Issue: https://github.com/moby/moby/issues/45935 > -Upstream PR: https://github.com/moby/moby/pull/45942 > - > -The upstream PR has been merged and will be included in v24.0.5. > - > -Signed-off-by: Christian Stewart > -[Peter: drop vendor.mod/vendor.sum changes] > ---- > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the socket path as hostname, which gets rejected by > -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], > -which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > ---- > - .../github.com/docker/docker/client/client.go | 30 +++++++++++++++++ > - .../github.com/docker/docker/client/hijack.go | 6 +++- > - .../docker/docker/client/request.go | 10 +++--- > - 4 files changed, 72 insertions(+), 40 deletions(-) > - > -diff --git a/vendor/github.com/docker/docker/client/client.go b/vendor/github.com/docker/docker/client/client.go > -index 1c081a51ae..54fa36cca8 100644 > ---- a/vendor/github.com/docker/docker/client/client.go > -+++ b/vendor/github.com/docker/docker/client/client.go > -@@ -56,6 +56,36 @@ import ( > - "github.com/pkg/errors" > - ) > - > -+// DummyHost is a hostname used for local communication. > -+// > -+// It acts as a valid formatted hostname for local connections (such as "unix://" > -+// or "npipe://") which do not require a hostname. It should never be resolved, > -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] > -+// and [RFC 6761, Section 6.3]). > -+// > -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such > -+// cases: > -+// > -+// If the authority component is missing or undefined for the target URI, > -+// then a client MUST send a Host header field with an empty field-value. > -+// > -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not > -+// allow an empty header to be used, and requires req.URL.Scheme to be either > -+// "http" or "https". > -+// > -+// For further details, refer to: > -+// > -+// - https://github.com/docker/engine-api/issues/189 > -+// - https://github.com/golang/go/issues/13624 > -+// - https://github.com/golang/go/issues/61076 > -+// - https://github.com/moby/moby/issues/45935 > -+// > -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 > -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 > -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 > -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 > -+const DummyHost = "api.moby.localhost" > -+ > - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. > - var ErrRedirect = errors.New("unexpected redirect in response") > - > -diff --git a/vendor/github.com/docker/docker/client/hijack.go b/vendor/github.com/docker/docker/client/hijack.go > -index 6bdacab10a..4dcaaca4c5 100644 > ---- a/vendor/github.com/docker/docker/client/hijack.go > -+++ b/vendor/github.com/docker/docker/client/hijack.go > -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { > - } > - > - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { > -- req.Host = cli.addr > -+ req.URL.Host = cli.addr > -+ if cli.proto == "unix" || cli.proto == "npipe" { > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > -+ } > - req.Header.Set("Connection", "Upgrade") > - req.Header.Set("Upgrade", proto) > - > -diff --git a/vendor/github.com/docker/docker/client/request.go b/vendor/github.com/docker/docker/client/request.go > -index c799095c12..bcedcf3bd9 100644 > ---- a/vendor/github.com/docker/docker/client/request.go > -+++ b/vendor/github.com/docker/docker/client/request.go > -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea > - return nil, err > - } > - req = cli.addHeaders(req, headers) > -+ req.URL.Scheme = cli.scheme > -+ req.URL.Host = cli.addr > - > - if cli.proto == "unix" || cli.proto == "npipe" { > -- // For local communications, it doesn't matter what the host is. We just > -- // need a valid and meaningful host name. (See #189) > -- req.Host = "docker" > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > - } > - > -- req.URL.Host = cli.addr > -- req.URL.Scheme = cli.scheme > -- > - if expectedPayload && req.Header.Get("Content-Type") == "" { > - req.Header.Set("Content-Type", "text/plain") > - } > --- > -2.41.0 > - > > > ------------------------------ > > Message: 33 > Date: Tue, 26 Sep 2023 13:56:52 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.05.x] Revert > "package/docker-engine: backport fix for host header check" > Message-ID: <20230926214006.7E363805F4 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=763d1934598b581ebfdfa4039df3b2ce53ea0ca7 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x > > This reverts commit 0b608f0252f51b7d2f54219153976eac7e30669c. > > With the bump to go 1.19.13, this workaround is no longer needed. > > Signed-off-by: Peter Korsgaard > --- > .checkpackageignore | 2 - > ...ne-a-dummy-hostname-to-use-for-local-conn.patch | 174 --------------------- > ...-use-a-dummy-hostname-for-local-connectio.patch | 69 -------- > 3 files changed, 245 deletions(-) > > diff --git a/.checkpackageignore b/.checkpackageignore > index 9ec76bc15f..b627bda61d 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -354,8 +354,6 @@ package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch Upstream > package/dmraid/0001-fix-compilation-under-musl.patch Upstream > package/dmraid/S20dmraid Variables > package/dnsmasq/S80dnsmasq Shellcheck Variables > -package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch Upstream > -package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch Upstream > package/docker-engine/S60dockerd Indent Shellcheck Variables > package/docopt-cpp/0001-only-build-one-target-use-BUILD_SHARED_LIBS-where-appropriate.patch Upstream > package/domoticz/S99domoticz Shellcheck > diff --git a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch b/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch > deleted file mode 100644 > index c5f8d1eb71..0000000000 > --- a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch > +++ /dev/null > @@ -1,174 +0,0 @@ > -From 8ced4331e5e3a6760465a8ce2bd42c66d3232c96 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Wed, 12 Jul 2023 14:15:38 +0200 > -Subject: [PATCH] client: define a "dummy" hostname to use for local > - connections > - > -Go 1.20.6 and 1.19.11 include a security check of the http Host header: > - > - https://github.com/golang/go/issues/60374 > - > -This is a backported patch to fix this issue. > - > -Issue: https://github.com/moby/moby/issues/45935 > -Upstream PR: https://github.com/moby/moby/pull/45942 > - > -The upstream PR has been merged and will be included in v24.0.5. > - > -Signed-off-by: Christian Stewart > - > ---- > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the client's `addr` as hostname in some cases, which > -could contain the path for the unix-socket (`/var/run/docker.sock`), which > -gets rejected by go1.20.6 and go1.19.11 because of a security fix for > -[CVE-2023-29406 ][1], which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > - > -This patch introduces a `DummyHost` const, and uses this dummy host for > -cases where we don't need an actual hostname. > - > -Before this patch (using go1.20.6): > - > - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration > - === RUN TestAttachWithTTY > - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header > - --- FAIL: TestAttachWithTTY (0.11s) > - === RUN TestAttachWithoutTTy > - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header > - --- FAIL: TestAttachWithoutTTy (0.02s) > - FAIL > - > -With this patch applied: > - > - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration > - INFO: Testing against a local daemon > - === RUN TestAttachWithTTY > - --- PASS: TestAttachWithTTY (0.12s) > - === RUN TestAttachWithoutTTy > - --- PASS: TestAttachWithoutTTy (0.02s) > - PASS > - > -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx > - > -Signed-off-by: Sebastiaan van Stijn > -(cherry picked from commit 92975f0c11f0566cc3c36659f5e3bb9faf5cb176) > -Signed-off-by: Sebastiaan van Stijn > ---- > - client/client.go | 30 ++++++++++++++++++++++++++++++ > - client/hijack.go | 6 +++++- > - client/request.go | 10 ++++------ > - client/request_test.go | 4 ++-- > - 4 files changed, 41 insertions(+), 9 deletions(-) > - > -diff --git a/client/client.go b/client/client.go > -index 1c081a51ae..54fa36cca8 100644 > ---- a/client/client.go > -+++ b/client/client.go > -@@ -56,6 +56,36 @@ import ( > - "github.com/pkg/errors" > - ) > - > -+// DummyHost is a hostname used for local communication. > -+// > -+// It acts as a valid formatted hostname for local connections (such as "unix://" > -+// or "npipe://") which do not require a hostname. It should never be resolved, > -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] > -+// and [RFC 6761, Section 6.3]). > -+// > -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such > -+// cases: > -+// > -+// If the authority component is missing or undefined for the target URI, > -+// then a client MUST send a Host header field with an empty field-value. > -+// > -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not > -+// allow an empty header to be used, and requires req.URL.Scheme to be either > -+// "http" or "https". > -+// > -+// For further details, refer to: > -+// > -+// - https://github.com/docker/engine-api/issues/189 > -+// - https://github.com/golang/go/issues/13624 > -+// - https://github.com/golang/go/issues/61076 > -+// - https://github.com/moby/moby/issues/45935 > -+// > -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 > -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 > -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 > -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 > -+const DummyHost = "api.moby.localhost" > -+ > - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. > - var ErrRedirect = errors.New("unexpected redirect in response") > - > -diff --git a/client/hijack.go b/client/hijack.go > -index 6bdacab10a..4dcaaca4c5 100644 > ---- a/client/hijack.go > -+++ b/client/hijack.go > -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { > - } > - > - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { > -- req.Host = cli.addr > -+ req.URL.Host = cli.addr > -+ if cli.proto == "unix" || cli.proto == "npipe" { > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > -+ } > - req.Header.Set("Connection", "Upgrade") > - req.Header.Set("Upgrade", proto) > - > -diff --git a/client/request.go b/client/request.go > -index c799095c12..bcedcf3bd9 100644 > ---- a/client/request.go > -+++ b/client/request.go > -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea > - return nil, err > - } > - req = cli.addHeaders(req, headers) > -+ req.URL.Scheme = cli.scheme > -+ req.URL.Host = cli.addr > - > - if cli.proto == "unix" || cli.proto == "npipe" { > -- // For local communications, it doesn't matter what the host is. We just > -- // need a valid and meaningful host name. (See #189) > -- req.Host = "docker" > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > - } > - > -- req.URL.Host = cli.addr > -- req.URL.Scheme = cli.scheme > -- > - if expectedPayload && req.Header.Get("Content-Type") == "" { > - req.Header.Set("Content-Type", "text/plain") > - } > -diff --git a/client/request_test.go b/client/request_test.go > -index 6e5a6e81f2..50b09d954c 100644 > ---- a/client/request_test.go > -+++ b/client/request_test.go > -@@ -29,12 +29,12 @@ func TestSetHostHeader(t *testing.T) { > - }{ > - { > - "unix:///var/run/docker.sock", > -- "docker", > -+ DummyHost, > - "/var/run/docker.sock", > - }, > - { > - "npipe:////./pipe/docker_engine", > -- "docker", > -+ DummyHost, > - "//./pipe/docker_engine", > - }, > - { > --- > -2.41.0 > - > diff --git a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch b/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch > deleted file mode 100644 > index 5bd8682927..0000000000 > --- a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch > +++ /dev/null > @@ -1,69 +0,0 @@ > -From 09306e7eb3c26ade69ef1e4c99d5b1fd9c0b7364 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Wed, 12 Jul 2023 15:07:59 +0200 > -Subject: [PATCH] pkg/plugins: use a dummy hostname for local connections > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the socket path as hostname, which gets rejected by > -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], > -which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > - > -Before this patch, tests would fail on go1.20.6: > - > - === FAIL: pkg/authorization TestAuthZRequestPlugin (15.01s) > - time="2023-07-12T12:53:45Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 1s" > - time="2023-07-12T12:53:46Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 2s" > - time="2023-07-12T12:53:48Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 4s" > - time="2023-07-12T12:53:52Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 8s" > - authz_unix_test.go:82: Failed to authorize request Post "http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq": http: invalid Host header > - > -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx > - > -Signed-off-by: Sebastiaan van Stijn > -(cherry picked from commit 6b7705d5b29e226a24902a8dcc488836faaee33c) > -Signed-off-by: Sebastiaan van Stijn > ---- > - pkg/plugins/client.go | 14 ++++++++++++-- > - 1 file changed, 12 insertions(+), 2 deletions(-) > - > -diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go > -index 752fecd0ae..e683eb777d 100644 > ---- a/pkg/plugins/client.go > -+++ b/pkg/plugins/client.go > -@@ -18,6 +18,12 @@ import ( > - > - const ( > - defaultTimeOut = 30 > -+ > -+ // dummyHost is a hostname used for local communication. > -+ // > -+ // For local communications (npipe://, unix://), the hostname is not used, > -+ // but we need valid and meaningful hostname. > -+ dummyHost = "plugin.moby.localhost" > - ) > - > - func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transport, error) { > -@@ -44,8 +50,12 @@ func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transpor > - return nil, err > - } > - scheme := httpScheme(u) > -- > -- return transport.NewHTTPTransport(tr, scheme, socket), nil > -+ hostName := u.Host > -+ if hostName == "" || u.Scheme == "unix" || u.Scheme == "npipe" { > -+ // Override host header for non-tcp connections. > -+ hostName = dummyHost > -+ } > -+ return transport.NewHTTPTransport(tr, scheme, hostName), nil > - } > - > - // NewClient creates a new plugin client (http). > --- > -2.41.0 > - > > > ------------------------------ > > Message: 34 > Date: Tue, 26 Sep 2023 23:40:54 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] Revert > "package/docker-cli: backport fix for host header check" > Message-ID: <20230926214535.E846C81D55 at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=4983ac79ff7da263392fb347b5b8f70bd8180c21 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > This reverts commit ce1b80f27dc86d7b23aa221b7d1601dcd57e451e. > > With the bump to go 1.19.13, this workaround is no longer needed. > > Signed-off-by: Peter Korsgaard > --- > ...001-backport-fix-for-go-Host-header-check.patch | 127 --------------------- > 1 file changed, 127 deletions(-) > > diff --git a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch b/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch > deleted file mode 100644 > index 2b58582538..0000000000 > --- a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch > +++ /dev/null > @@ -1,127 +0,0 @@ > -From 4dc783e2bdf414761ef7c209b435d0a30f17c858 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Sat, 15 Jul 2023 02:22:10 +0200 > -Subject: [PATCH] backport fix for go Host header check > - > -Go 1.20.6 and 1.19.11 include a security check of the http Host header: > - > - https://github.com/golang/go/issues/60374 > - > -docker-cli fails this check: > - > - $ docker exec -it ctr bash > - http: invalid Host header > - > -This is a backported patch to fix this issue. > - > -Issue: https://github.com/moby/moby/issues/45935 > -Upstream PR: https://github.com/moby/moby/pull/45942 > - > -The upstream PR has been merged and will be included in v24.0.5. > - > -Signed-off-by: Christian Stewart > -[Peter: drop vendor.mod/vendor.sum changes] > ---- > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the socket path as hostname, which gets rejected by > -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], > -which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > ---- > - .../github.com/docker/docker/client/client.go | 30 +++++++++++++++++ > - .../github.com/docker/docker/client/hijack.go | 6 +++- > - .../docker/docker/client/request.go | 10 +++--- > - 4 files changed, 72 insertions(+), 40 deletions(-) > - > -diff --git a/vendor/github.com/docker/docker/client/client.go b/vendor/github.com/docker/docker/client/client.go > -index 1c081a51ae..54fa36cca8 100644 > ---- a/vendor/github.com/docker/docker/client/client.go > -+++ b/vendor/github.com/docker/docker/client/client.go > -@@ -56,6 +56,36 @@ import ( > - "github.com/pkg/errors" > - ) > - > -+// DummyHost is a hostname used for local communication. > -+// > -+// It acts as a valid formatted hostname for local connections (such as "unix://" > -+// or "npipe://") which do not require a hostname. It should never be resolved, > -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] > -+// and [RFC 6761, Section 6.3]). > -+// > -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such > -+// cases: > -+// > -+// If the authority component is missing or undefined for the target URI, > -+// then a client MUST send a Host header field with an empty field-value. > -+// > -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not > -+// allow an empty header to be used, and requires req.URL.Scheme to be either > -+// "http" or "https". > -+// > -+// For further details, refer to: > -+// > -+// - https://github.com/docker/engine-api/issues/189 > -+// - https://github.com/golang/go/issues/13624 > -+// - https://github.com/golang/go/issues/61076 > -+// - https://github.com/moby/moby/issues/45935 > -+// > -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 > -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 > -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 > -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 > -+const DummyHost = "api.moby.localhost" > -+ > - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. > - var ErrRedirect = errors.New("unexpected redirect in response") > - > -diff --git a/vendor/github.com/docker/docker/client/hijack.go b/vendor/github.com/docker/docker/client/hijack.go > -index 6bdacab10a..4dcaaca4c5 100644 > ---- a/vendor/github.com/docker/docker/client/hijack.go > -+++ b/vendor/github.com/docker/docker/client/hijack.go > -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { > - } > - > - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { > -- req.Host = cli.addr > -+ req.URL.Host = cli.addr > -+ if cli.proto == "unix" || cli.proto == "npipe" { > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > -+ } > - req.Header.Set("Connection", "Upgrade") > - req.Header.Set("Upgrade", proto) > - > -diff --git a/vendor/github.com/docker/docker/client/request.go b/vendor/github.com/docker/docker/client/request.go > -index c799095c12..bcedcf3bd9 100644 > ---- a/vendor/github.com/docker/docker/client/request.go > -+++ b/vendor/github.com/docker/docker/client/request.go > -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea > - return nil, err > - } > - req = cli.addHeaders(req, headers) > -+ req.URL.Scheme = cli.scheme > -+ req.URL.Host = cli.addr > - > - if cli.proto == "unix" || cli.proto == "npipe" { > -- // For local communications, it doesn't matter what the host is. We just > -- // need a valid and meaningful host name. (See #189) > -- req.Host = "docker" > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > - } > - > -- req.URL.Host = cli.addr > -- req.URL.Scheme = cli.scheme > -- > - if expectedPayload && req.Header.Get("Content-Type") == "" { > - req.Header.Set("Content-Type", "text/plain") > - } > --- > -2.41.0 > - > > > ------------------------------ > > Message: 35 > Date: Tue, 26 Sep 2023 23:41:11 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Subject: [Buildroot] [git commit branch/2023.02.x] Revert > "package/docker-engine: backport fix for host header check" > Message-ID: <20230926214536.00A9C81D5C at busybox.osuosl.org> > > commit: https://git.buildroot.net/buildroot/commit/?id=a0a7113ae8d7efd7455e361d320d5d8b60bb9b02 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x > > This reverts commit 0b608f0252f51b7d2f54219153976eac7e30669c. > > With the bump to go 1.19.13, this workaround is no longer needed. > > Signed-off-by: Peter Korsgaard > --- > ...ne-a-dummy-hostname-to-use-for-local-conn.patch | 174 --------------------- > ...-use-a-dummy-hostname-for-local-connectio.patch | 69 -------- > 2 files changed, 243 deletions(-) > > diff --git a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch b/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch > deleted file mode 100644 > index c5f8d1eb71..0000000000 > --- a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch > +++ /dev/null > @@ -1,174 +0,0 @@ > -From 8ced4331e5e3a6760465a8ce2bd42c66d3232c96 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Wed, 12 Jul 2023 14:15:38 +0200 > -Subject: [PATCH] client: define a "dummy" hostname to use for local > - connections > - > -Go 1.20.6 and 1.19.11 include a security check of the http Host header: > - > - https://github.com/golang/go/issues/60374 > - > -This is a backported patch to fix this issue. > - > -Issue: https://github.com/moby/moby/issues/45935 > -Upstream PR: https://github.com/moby/moby/pull/45942 > - > -The upstream PR has been merged and will be included in v24.0.5. > - > -Signed-off-by: Christian Stewart > - > ---- > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the client's `addr` as hostname in some cases, which > -could contain the path for the unix-socket (`/var/run/docker.sock`), which > -gets rejected by go1.20.6 and go1.19.11 because of a security fix for > -[CVE-2023-29406 ][1], which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > - > -This patch introduces a `DummyHost` const, and uses this dummy host for > -cases where we don't need an actual hostname. > - > -Before this patch (using go1.20.6): > - > - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration > - === RUN TestAttachWithTTY > - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header > - --- FAIL: TestAttachWithTTY (0.11s) > - === RUN TestAttachWithoutTTy > - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header > - --- FAIL: TestAttachWithoutTTy (0.02s) > - FAIL > - > -With this patch applied: > - > - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration > - INFO: Testing against a local daemon > - === RUN TestAttachWithTTY > - --- PASS: TestAttachWithTTY (0.12s) > - === RUN TestAttachWithoutTTy > - --- PASS: TestAttachWithoutTTy (0.02s) > - PASS > - > -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx > - > -Signed-off-by: Sebastiaan van Stijn > -(cherry picked from commit 92975f0c11f0566cc3c36659f5e3bb9faf5cb176) > -Signed-off-by: Sebastiaan van Stijn > ---- > - client/client.go | 30 ++++++++++++++++++++++++++++++ > - client/hijack.go | 6 +++++- > - client/request.go | 10 ++++------ > - client/request_test.go | 4 ++-- > - 4 files changed, 41 insertions(+), 9 deletions(-) > - > -diff --git a/client/client.go b/client/client.go > -index 1c081a51ae..54fa36cca8 100644 > ---- a/client/client.go > -+++ b/client/client.go > -@@ -56,6 +56,36 @@ import ( > - "github.com/pkg/errors" > - ) > - > -+// DummyHost is a hostname used for local communication. > -+// > -+// It acts as a valid formatted hostname for local connections (such as "unix://" > -+// or "npipe://") which do not require a hostname. It should never be resolved, > -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] > -+// and [RFC 6761, Section 6.3]). > -+// > -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such > -+// cases: > -+// > -+// If the authority component is missing or undefined for the target URI, > -+// then a client MUST send a Host header field with an empty field-value. > -+// > -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not > -+// allow an empty header to be used, and requires req.URL.Scheme to be either > -+// "http" or "https". > -+// > -+// For further details, refer to: > -+// > -+// - https://github.com/docker/engine-api/issues/189 > -+// - https://github.com/golang/go/issues/13624 > -+// - https://github.com/golang/go/issues/61076 > -+// - https://github.com/moby/moby/issues/45935 > -+// > -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 > -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 > -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 > -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 > -+const DummyHost = "api.moby.localhost" > -+ > - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. > - var ErrRedirect = errors.New("unexpected redirect in response") > - > -diff --git a/client/hijack.go b/client/hijack.go > -index 6bdacab10a..4dcaaca4c5 100644 > ---- a/client/hijack.go > -+++ b/client/hijack.go > -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { > - } > - > - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { > -- req.Host = cli.addr > -+ req.URL.Host = cli.addr > -+ if cli.proto == "unix" || cli.proto == "npipe" { > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > -+ } > - req.Header.Set("Connection", "Upgrade") > - req.Header.Set("Upgrade", proto) > - > -diff --git a/client/request.go b/client/request.go > -index c799095c12..bcedcf3bd9 100644 > ---- a/client/request.go > -+++ b/client/request.go > -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea > - return nil, err > - } > - req = cli.addHeaders(req, headers) > -+ req.URL.Scheme = cli.scheme > -+ req.URL.Host = cli.addr > - > - if cli.proto == "unix" || cli.proto == "npipe" { > -- // For local communications, it doesn't matter what the host is. We just > -- // need a valid and meaningful host name. (See #189) > -- req.Host = "docker" > -+ // Override host header for non-tcp connections. > -+ req.Host = DummyHost > - } > - > -- req.URL.Host = cli.addr > -- req.URL.Scheme = cli.scheme > -- > - if expectedPayload && req.Header.Get("Content-Type") == "" { > - req.Header.Set("Content-Type", "text/plain") > - } > -diff --git a/client/request_test.go b/client/request_test.go > -index 6e5a6e81f2..50b09d954c 100644 > ---- a/client/request_test.go > -+++ b/client/request_test.go > -@@ -29,12 +29,12 @@ func TestSetHostHeader(t *testing.T) { > - }{ > - { > - "unix:///var/run/docker.sock", > -- "docker", > -+ DummyHost, > - "/var/run/docker.sock", > - }, > - { > - "npipe:////./pipe/docker_engine", > -- "docker", > -+ DummyHost, > - "//./pipe/docker_engine", > - }, > - { > --- > -2.41.0 > - > diff --git a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch b/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch > deleted file mode 100644 > index 5bd8682927..0000000000 > --- a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch > +++ /dev/null > @@ -1,69 +0,0 @@ > -From 09306e7eb3c26ade69ef1e4c99d5b1fd9c0b7364 Mon Sep 17 00:00:00 2001 > -From: Sebastiaan van Stijn > -Date: Wed, 12 Jul 2023 15:07:59 +0200 > -Subject: [PATCH] pkg/plugins: use a dummy hostname for local connections > - > -For local communications (npipe://, unix://), the hostname is not used, > -but we need valid and meaningful hostname. > - > -The current code used the socket path as hostname, which gets rejected by > -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], > -which was implemented in https://go.dev/issue/60374. > - > -Prior versions go Go would clean the host header, and strip slashes in the > -process, but go1.20.6 and go1.19.11 no longer do, and reject the host > -header. > - > -Before this patch, tests would fail on go1.20.6: > - > - === FAIL: pkg/authorization TestAuthZRequestPlugin (15.01s) > - time="2023-07-12T12:53:45Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 1s" > - time="2023-07-12T12:53:46Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 2s" > - time="2023-07-12T12:53:48Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 4s" > - time="2023-07-12T12:53:52Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 8s" > - authz_unix_test.go:82: Failed to authorize request Post "http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq": http: invalid Host header > - > -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx > - > -Signed-off-by: Sebastiaan van Stijn > -(cherry picked from commit 6b7705d5b29e226a24902a8dcc488836faaee33c) > -Signed-off-by: Sebastiaan van Stijn > ---- > - pkg/plugins/client.go | 14 ++++++++++++-- > - 1 file changed, 12 insertions(+), 2 deletions(-) > - > -diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go > -index 752fecd0ae..e683eb777d 100644 > ---- a/pkg/plugins/client.go > -+++ b/pkg/plugins/client.go > -@@ -18,6 +18,12 @@ import ( > - > - const ( > - defaultTimeOut = 30 > -+ > -+ // dummyHost is a hostname used for local communication. > -+ // > -+ // For local communications (npipe://, unix://), the hostname is not used, > -+ // but we need valid and meaningful hostname. > -+ dummyHost = "plugin.moby.localhost" > - ) > - > - func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transport, error) { > -@@ -44,8 +50,12 @@ func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transpor > - return nil, err > - } > - scheme := httpScheme(u) > -- > -- return transport.NewHTTPTransport(tr, scheme, socket), nil > -+ hostName := u.Host > -+ if hostName == "" || u.Scheme == "unix" || u.Scheme == "npipe" { > -+ // Override host header for non-tcp connections. > -+ hostName = dummyHost > -+ } > -+ return transport.NewHTTPTransport(tr, scheme, hostName), nil > - } > - > - // NewClient creates a new plugin client (http). > --- > -2.41.0 > - > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > > > ------------------------------ > > End of buildroot Digest, Vol 207, Issue 55 > ****************************************** -- Thanks, Nayab From peter at korsgaard.com Fri Oct 6 08:12:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 10:12:04 +0200 Subject: [Buildroot] [PATCH-2023.02.x] package/{glibc, localedef}: security bump to version glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c Message-ID: <20231006081205.1793625-1-peter@korsgaard.com> CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index 1a66b66984..dcff16d465 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 a4351e60a33e84236c1866c39eeab321f419dfdc274411b7d2615c9382ace351 glibc-2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d.tar.gz +sha256 d7d829f90f03e00d42d7d34ff7e972a59b14e2b70fa2e852893018349aafa5f7 glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 42de53ffc5..a3a84e86ec 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d +GLIBC_VERSION = 2.36-118-g22955ad85186ee05834e47e665056148ca07699c # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index e71424490b..51d3ddc932 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d +LOCALEDEF_VERSION = 2.36-118-g22955ad85186ee05834e47e665056148ca07699c LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc -- 2.30.2 From peter at korsgaard.com Fri Oct 6 09:37:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 11:37:25 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.2 Message-ID: <20231006093726.1931681-1-peter@korsgaard.com> Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.21.2 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the runtime/metrics package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index be8af438b3..a2ec6b5923 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99 go1.21.1.src.tar.gz +sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 6f080be5c0..2c32e90817 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.1 +GO_VERSION = 1.21.2 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz -- 2.30.2 From peter at korsgaard.com Fri Oct 6 09:51:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 11:51:42 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/go: security bump to version 1.20.9 Message-ID: <20231006095142.2051641-1-peter@korsgaard.com> Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the go command and the linker. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 19405982ba..ac603e6e3b 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e go1.20.8.src.tar.gz +sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index c1e9f2f8f6..d75c1afa9e 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.8 +GO_VERSION = 1.20.9 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz -- 2.30.2 From aduskett at gmail.com Fri Oct 6 11:11:23 2023 From: aduskett at gmail.com (Adam Duskett) Date: Fri, 6 Oct 2023 13:11:23 +0200 Subject: [Buildroot] [PATCH 2/2 v2] suport/runtime-test: extend flutter test to check rendering is happening In-Reply-To: <33ee4b08c20f9c4566cfe82c648f01599cab70b5.1696522656.git.yann.morin.1998@free.fr> References: <33ee4b08c20f9c4566cfe82c648f01599cab70b5.1696522656.git.yann.morin.1998@free.fr> Message-ID: Looks good to me! Reviewed-by: Adam Duskett On Thu, Oct 5, 2023 at 6:17?PM Yann E. MORIN wrote: > Commit 7f0af11cee31 (support/testing/tests/package/test_flutter.py: new > runtime test) added a simple test that just checked that the systemd > unit launching the application, was active. > > It is perfectly possible, from a systemd perspective, that the unit is > active, while the application actually crashes. > > Instead, what we need to check, is that the application does actually > render "something"; we don't really care what, as long as we know it is > actually rendering, thus the graphical stack is working and the > aplication stack is running. > > Extend the flutter runtime test to also check that the framebuffer is > modified by the application when it is running, similarly to what we do > in the weston test. > > We drop the activation of the unit and start it manually, as we want to > check the state of the CRC before, while, and after the application > runs. > > We also need to disable the blinking cursor on the console, or we would > not be able to detect whether a change in CRC is due to the application > starting rendering, or to the cursor blinking. We tell the kernel to > disable the cursor with the appropriate kernel command line parameter. > > Signed-off-by: Yann E. MORIN > Cc: Adam Duskett > > --- > Changes v1 -> v2: > - don't mistake blinking cursor for application start (Adam) > - properly terminate application (Adam) > --- > support/testing/tests/package/test_flutter.py | 35 +++++++++++++++---- > .../flutter-gallery.service | 1 - > 2 files changed, 29 insertions(+), 7 deletions(-) > delete mode 120000 > support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service > > diff --git a/support/testing/tests/package/test_flutter.py > b/support/testing/tests/package/test_flutter.py > index a3e98a43e5..515c95409f 100644 > --- a/support/testing/tests/package/test_flutter.py > +++ b/support/testing/tests/package/test_flutter.py > @@ -1,8 +1,11 @@ > import os > +import time > import infra.basetest > > +from ..graphics_base import GraphicsBase > > -class TestFlutter(infra.basetest.BRTest): > + > +class TestFlutter(infra.basetest.BRTest, GraphicsBase): > config = f""" > BR2_aarch64=y > BR2_TOOLCHAIN_EXTERNAL=y > @@ -39,7 +42,7 @@ class TestFlutter(infra.basetest.BRTest): > self.emulator.boot( > arch="aarch64", > kernel=kern, > - kernel_cmdline=["root=/dev/vda console=ttyAMA0"], > + kernel_cmdline=["root=/dev/vda console=ttyAMA0 > vt.global_cursor_default=0"], > options=["-M", "virt", > "-cpu", "cortex-a57", > "-m", "512M", > @@ -48,7 +51,27 @@ class TestFlutter(infra.basetest.BRTest): > "-vnc", "none", > "-drive", f"file={img},if=virtio,format=raw"]) > self.emulator.login() > - cmd = "systemctl is-active flutter-gallery" > - output, exit_code = self.emulator.run(cmd, 10) > - self.assertEqual(exit_code, 0) > - self.assertEqual(output[0], "active") > + > + # Get the CRC from the current ramebuffer > + empty_crc = self.get_n_fb_crc(count=1)[0] > + > + # Start the gallery App. It can take a bit of time to start, > + # so lets try a few times. 600 samples should cover about 10s > + # @60Hz (although, the rendering could be much slower on slow > + # machines) > + self.assertRunOk("systemctl start flutter-gallery", timeout=10) > + for i in range(600): > + gallery_crc = self.get_n_fb_crc(count=1)[0] > + if gallery_crc != empty_crc: > + break > + time.sleep(1) > + self.assertNotEqual(gallery_crc, empty_crc, "gallery app did not > render anything on screen") > + > + # Stop the application, and check it restored the framebuffer > content > + self.assertRunOk("systemctl stop flutter-gallery", timeout=10) > + for i in range(600): > + gallery_crc = self.get_n_fb_crc(count=1)[0] > + if gallery_crc == empty_crc: > + break > + time.sleep(1) > + self.assertEqual(gallery_crc, empty_crc, "gallery app did not > stop rendering") > diff --git > a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service > b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service > deleted file mode 120000 > index 40993fb16c..0000000000 > --- > a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service > +++ /dev/null > @@ -1 +0,0 @@ > -../../../../usr/lib/systemd/system/flutter-gallery.service > \ No newline at end of file > -- > 2.25.1 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcus.folkesson at gmail.com Fri Oct 6 11:46:09 2023 From: marcus.folkesson at gmail.com (Marcus Folkesson) Date: Fri, 6 Oct 2023 13:46:09 +0200 Subject: [Buildroot] [PATCH v3] package/criu: new package In-Reply-To: <20230918084825.786715-1-marcus.folkesson@gmail.com> References: <20230918084825.786715-1-marcus.folkesson@gmail.com> Message-ID: Julien, do you have the posibility to run test-pkg on this patch? I still get wierd errors (related to host-libzlib (?) ) for the bootlin-armv7-glibc toolchain. bootlin-x86-64-musl is 'OK' though. Thanks, Marcus -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From Nayabbasha.Sayed at microchip.com Fri Oct 6 12:50:50 2023 From: Nayabbasha.Sayed at microchip.com (Nayabbasha.Sayed at microchip.com) Date: Fri, 6 Oct 2023 12:50:50 +0000 Subject: [Buildroot] package: nodejs: system hangs while building In-Reply-To: References: Message-ID: <43efa36e-72a1-0edb-6808-b3864fad2c03@microchip.com> On 06/10/23 11:56, buildroot-request at buildroot.org wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > Send buildroot mailing list submissions to > buildroot at buildroot.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.buildroot.org/mailman/listinfo/buildroot > or, via email, send a message with subject or body 'help' to > buildroot-request at buildroot.org > > You can reach the person managing the list at > buildroot-owner at buildroot.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of buildroot digest..." > > > Today's Topics: > > 1. Re: [PATCH 2/2] package/skeleton-init-systemd: flexible > reinstalls (Arnout Vandecappelle) > 2. [autobuild.buildroot.net] Daily results for 2023-10-05 > (Thomas Petazzoni) > 3. [PATCH-2023.08.x] package/{glibc, localedef}: security bump > to version > glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 > (Peter Korsgaard) > 4. Re: buildroot Digest, Vol 207, Issue 55 > (Nayabbasha.Sayed at microchip.com) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 5 Oct 2023 22:07:01 +0200 > From: Arnout Vandecappelle > To: "Yann E. MORIN" , James Knight > > Cc: buildroot at buildroot.org > Subject: Re: [Buildroot] [PATCH 2/2] package/skeleton-init-systemd: > flexible reinstalls > Message-ID: > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > On 01/10/2023 18:05, Yann E. MORIN wrote: >> James, All, >> >> On 2023-05-05 00:30 -0400, James Knight spake thusly: >>> The following commit tweaks the `skeleton-init-systemd` package to >>> gracefully handle if a user invokes a reinstall for the package (e.g. >>> when performing development tweaks to the initial skeleton). >>> >>> Signed-off-by: James Knight >>> --- >>> Only a suggestion; feel free to drop. >> I've spent a bit of time on this, and was about to apply... >> >> However, there are a few "issues" I noticed with it, mostly that >> /etc/fstab should not be used with systemd, but mount units should be > Really? The mount unit man page [1] says: > > "In general, configuring mount points through /etc/fstab is the preferred > approach to manage mounts for humans. For tooling, writing mount units should be > preferred over editing /etc/fstab." > > I'm not sure if the skeleton counts as tooling or as a human. Hm, probably > tooling, indeed. > > >> used, and so /etc/fstab should only contain this one line, so it does > Well, no, if we say that the skeleton is tooling, it shouldn't contain that > line at all; instead, there should be a mount unit to remount rw (and no mount > unit at all for ro). > >> not make much sense to have it "reinstallable". > [snip] >>> diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk >>> index 4076821c0c0429cf90681f4b16be114c44bde282..18ae91f2eea30277805ee82791c62d53f24dca1e 100644 >>> --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk >>> +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk >>> @@ -18,13 +18,23 @@ SKELETON_INIT_SYSTEMD_PROVIDES = skeleton >>> ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) >>> >>> define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW >>> - echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab > The original here _was_ already "reinstallable" because it just overwrites > fstab. If there is any other package that writes fstab, it's wrong anyway. > Unless it's done in the overlay or post-build-script, but the overlay/script > anyway still gets applied after rebuild. > >>> + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ >>> + echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab; \ >>> + else \ >>> + sed -i "s|/dev/root.*|/dev/root / auto rw 0 1|g" \ >>> + $(TARGET_DIR)/etc/fstab; \ >>> + fi >>> endef >>> >>> else >>> >>> define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW >>> - echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab >>> + if ! grep -q "/dev/root" $(TARGET_DIR)/etc/fstab; then \ >>> + echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab; \ >>> + else \ >>> + sed -i "s|/dev/root.*|/dev/root / auto ro 0 1|g" \ >>> + $(TARGET_DIR)/etc/fstab; \ >>> + fi >>> endef >>> >>> # On a R/O rootfs, /var is a tmpfs filesystem. So, at build time, we >>> @@ -78,9 +88,9 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS >>> mkdir -p $(TARGET_DIR)/home >>> mkdir -p $(TARGET_DIR)/srv >>> mkdir -p $(TARGET_DIR)/var >>> - ln -s ../run $(TARGET_DIR)/var/run >>> + ln -sf ../run $(TARGET_DIR)/var/run > IMHO this part is simply a good idea. > > Regards, > Arnout > > [1] https://www.freedesktop.org/software/systemd/man/systemd.mount.html > > > >>> # prevent install scripts to create var/lock as directory >>> - ln -s ../run/lock $(TARGET_DIR)/var/lock >>> + ln -sf ../run/lock $(TARGET_DIR)/var/lock >>> install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf >>> $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) >>> endef >>> -- >>> 2.40.1.windows.1 >>> >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot > > ------------------------------ > > Message: 2 > Date: Fri, 06 Oct 2023 05:43:37 -0000 > From: Thomas Petazzoni > To: buildroot at buildroot.org > Subject: [Buildroot] [autobuild.buildroot.net] Daily results for > 2023-10-05 > Message-ID: <20231006054342.C135D834DE at smtp1.osuosl.org> > Content-Type: text/plain; charset="us-ascii" > > Hello, > > Autobuild statistics for 2023-10-05 > =================================== > > branch | OK | NOK | TIM | TOT | > 2023.02.x | 17 | 10 | 1 | 28 | > 2023.08.x | 15 | 10 | 0 | 25 | > master | 81 | 137 | 0 | 218 | > > Classification of failures by reason for master > ----------------------------------------------- > > openrc-0.43.3 | 18 > alsa-lib-1.2.10 | 11 > alsa-utils-1.2.10 | 10 > unknown | 9 > gcc-final-12.3.0 | 8 > gcc-final-11.4.0 | 5 > libselinux-3.5 | 4 > linux-6.5.5 | 4 > monit-5.33.0 | 4 > spirv-tools-1.3.261.1 | 4 > glibc-2.38-13-g92201f16cbcf... | 3 > gobject-introspection-1.76.1 | 3 > brltty-6.5 | 2 > check-11970a7e112dfe243a2e6... | 2 > coreutils-9.3 | 2 > gcc-final-13.2.0 | 2 > host-go-1.21.1 | 2 > host-rust-1.71.1 | 2 > libarchive-3.7.2 | 2 > openblas-0.3.24 | 2 > acpid-2.0.34 | 1 > boost-1.83.0 | 1 > cryptodev-linux-1.13 | 1 > dhcp-4.4.3-P1 | 1 > efivar-38 | 1 > freeswitch-1.10.10 | 1 > google-breakpad-c85eb4a59b6... | 1 > host-erlang-26.0.2 | 1 > host-gcc-final-13.2.0 | 1 > host-moby-buildkit-0.11.6 | 1 > host-sentry-cli-2.20.3 | 1 > iw-5.19 | 1 > libcamera-v0.1.0 | 1 > libsoup-2.74.2 | 1 > lightning-2.2.2 | 1 > linux-5.10.162-cip24 | 1 > linux-pam-1.5.3 | 1 > ltp-testsuite-20230929 | 1 > madplay-0.15.2b | 1 > mariadb-10.11.4 | 1 > memcached-1.6.21 | 1 > nfs-utils-2.6.3 | 1 > pistache-3ec9d7c4f8b828fdd3... | 1 > pppd-2.5.0 | 1 > python-sip-4.19.25 | 1 > python3-3.11.5 | 1 > quickjs-2021-03-27 | 1 > rwmem-c8291705c82bb0686be9a... | 1 > spirv-headers-1.3.261.1 | 1 > systemd-254 | 1 > tbb-2021.10.0 | 1 > uclibc-1.0.44 | 1 > uhd-4.3.0.0 | 1 > usbguard-1.1.2 | 1 > util-linux-2.39.2 | 1 > wolfssl-5.6.3 | 1 > xenomai-3.0.10 | 1 > xvisor-0.3.2 | 1 > > > Detail of failures for master > ----------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > mips64el | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/cc7f40fd78850b267786a7aa41b3be75966b5085 | ORPH > m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/83d079d4d88dff9bff4dc28b1642c13e04ce42c6 | > arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/577e22668cbb88ea6ffa9c6136f9767e19af160d | > powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/66f59aef666a32a61491f037eb90369357da1de1 | > aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a3ee4298ef4a34c71cb631d3356f8087c3d3996c | > arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5cf125e57e55aa854b601c38a1f962f4e8c59183 | > powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1ad4b9833379873d4c4cc1654c3cf6a1b3298be2 | > arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/5565e7aaa497c0ce038a09a853fb45884203a4ff | > armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/c575952edd06384db23319db578d2923d128a94c | > x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/294f07cfcfecc5c28bc04f4a00fb4d9b0d26aa17 | > powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/4b5fbf360d08c58d21cc906d983ec0160f183d40 | > aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bb90548400cc15fb8bcab2803ef93c989e1f1fb0 | > i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6947cd4833934d94cb068b3cd121bd4b47b3c0e0 | > aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/21e69c542cd6e7c2869a7d594127eb59d1b15b2c | > arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7c7433043b3df5db57ceffafeae6df5d02caaf13 | > aarch64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/dd1f552d89996dcae2bbf3feadfa0dabdb0ad85f | > microblaze | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a6b0dd476fb2eb68485e698c80eb85f122c0a19 | > xtensa | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/bbcf557a99fb28619034c85daa0d07b5306fa9a9 | > or1k | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/84c134a66a8a3734ea66e9608b202c6b2a86696c | > mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f1adf1ff2f1c91ccfcd80f330b9656f75cf0810a | > mipsel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f0910e8d719d2f47ab5c9b570b843b1fb2572ac2 | > powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/48c9140b7365c1270c87bcc3fee443153b112c3b | > arm | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/c755ad05edd1597d1d4623652062da8a69492b06 | > m68k | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/fb6c7cd4166c0970cefde93fc5bff185f67f41fb | > mips64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/f8218a8425f7e6910cb17f289a13936097a16452 | > microblazeel | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/183bbcbf6aa5de2b53939391a635c7089cef6054 | ORPH > arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/3bcec7cad5236f4b8831cfeec44bd033b1dfbcb3 | ORPH > arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/cfe6774566d3edc4430d6f41e3b4f4f20baaa7fa | ORPH > arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/7bdbee9a01262577b34596b60f082962c42c86a0 | ORPH > i686 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/c3e071938028cea5810aee8ce1a8bdaf6555ce83 | ORPH > aarch64 | dhcp-4.4.3-P1 | NOK | http://autobuild.buildroot.net/results/962c74b043d5e7a0dbccdee0d69cf76a5a8792aa | ORPH > i686 | efivar-38 | NOK | http://autobuild.buildroot.net/results/e899ac69bd0e4bce833997a8b827c812bcfa87b2 | > or1k | freeswitch-1.10.10 | NOK | http://autobuild.buildroot.net/results/178da0d217d6137867c59ac4fa0e037d4fabf158 | > arm | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/b9ac0347d3b37ecae04d17cfb96f36938606be57 | > riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/0bfc402d1724347b1b9df31e7bce4c741a768317 | > aarch64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/7cd15d9e1d443010206523a45c1105f4d1e9cef8 | > riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/8b61ad5c8e88f0f33e5122d35dac8dad5caf5951 | > xtensa | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/e202b266d874464ffa0ff6e7bba134c750c0ffa1 | > riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f219fab61e20a0ef959c143922281e533523f449 | > armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/6ebbc6d1efe2ebaae7fb1bb9f41524f037f7560d | > riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f79259d51469c443c9e65a32e91d764433668038 | > riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7a9d43359947c11c5fe6446395f7c9a7550d807c | > armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fd68f4fb6231d709d4fc181b48378bf7f2c265fb | > m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/68c338735fadaa2ef879eb401eab0b68d2889857 | > riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/770921bdbaa95c2dfa5aa43698b376e826b68fbb | > aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/654e8580a4183125b2b939105a6639f2953a2ea7 | > arm | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/095552ea3a636d41de4df21b0b8c11dd19b4b590 | > riscv64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/394f271393ccbe31ef6b35f102f14c1308be8efc | > powerpc64 | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/c168b6063c7e718a4946091c63bb111cac229c3a | > arc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/a676160da51e5c2f55ffd510fd95869352af7f85 | > powerpc | glibc-2.38-13-g92201f16cbcf... | NOK | http://autobuild.buildroot.net/results/180b1e1e6310682b8a43c2efaca0cfe44405dd42 | > or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/79d2434679cbc18c3565f255b813e4e4008db030 | ORPH > m68k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8085e3558acfb0cabcf1aaea9aea26c83232aa34 | ORPH > sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/fc1b3a9c491214fc34e136d8a3bbdc8ccff69bac | ORPH > x86_64 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/308627cb1841783fb27ae3ebdf90899ab3d3a392 | > mipsel | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/530d3587be84d4e55e09cd6be0f75b89b3f3c504 | > arceb | host-gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/7b7c75cbe5bfc7f39322cc814e776190ed9f6166 | > mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/494d11d1fafecf927e7da79959b10b31eac57950 | > mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/1399c1204c821eec54a0d1e2500007c8e621d237 | > arm | host-moby-buildkit-0.11.6 | NOK | http://autobuild.buildroot.net/results/4cf0c18ab96ca125490add9dd4406d66b6c4bc54 | > mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/d92a22e8cdc45bf1bc14e95816a6f363b5f44e21 | > armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e299dac9967a176053ea7389c6384ad34f4dd4eb | > powerpc64 | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/ceb60c673db986d537434645bd49bb966adc9a1b | > arm | iw-5.19 | NOK | http://autobuild.buildroot.net/results/30dc81bb4021c32de9f8ed8dee0f86cff508f080 | ORPH > s390x | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/473632627e1e05a1b0a5ec12f57d99f6d9c2482b | > nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/ff0a7394e293b0446f32fb400b8baa79eee03c50 | > aarch64 | libcamera-v0.1.0 | NOK | http://autobuild.buildroot.net/results/0a2b06f7be5e02e32f3ea50c86be6087a3ff8314 | > nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/c0aa5bec6aa9f19b80bf5585072cb914196bbf6d | > sh4aeb | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/0497fbe693c6751b50160b34135341bcbd4cc8c7 | > armeb | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/2593165c50e779dfafe5f1bb4e085b87b6977ceb | > microblazeel | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/9d5ad44312cfc20b5a8612f4d2c2078e8c71a06f | > sparc | libsoup-2.74.2 | NOK | http://autobuild.buildroot.net/results/5eb054a70e3cb806e4806319d0ecb8799e148e93 | > mips64 | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/9f45e4776f93b60eb11a732d7344be9e0bc55172 | > microblaze | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/481d3fe2f8341adc1c04158e90c7958e5235946a | ORPH > powerpc | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/eef509dc309a47ccf2a1bd8f9dc63109e9c9ed2c | ORPH > mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/3489682caa8a822e45f22d10536c9509f6fb7ce6 | ORPH > mips64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/9eb3ce5dff9b761402592c32e3e973e002ca81fb | ORPH > mips64el | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/1e2ea2e9c5702e4521317f8d32585229e367121d | ORPH > sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/502681b8b090e7a9b7e7c0c1898104bb35464573 | ORPH > x86_64 | ltp-testsuite-20230929 | NOK | http://autobuild.buildroot.net/results/c9abd74429d34234dc764dc59c50301982a4b589 | > arm | madplay-0.15.2b | NOK | http://autobuild.buildroot.net/results/77b398aff554871f1c0fb9608f0eeb2cfbfc193c | ORPH > microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/fd0ff82697e9d62c24fb476182c012159ac99c40 | ORPH > arceb | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/a8d1445a84170e9561405f29d3d5375bcf29e709 | ORPH > arm | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/1cd652438a5677eefeb675655a0dc58e0d4e2450 | > mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/8f53882637a393979d45180fe8c820afe3fa59a7 | > or1k | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/1f9c98511d4f39d78d688214a7010e5368a1051d | > arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/02f90b50d0ca774dccbbaa01e978ef08e67742a8 | > mips | nfs-utils-2.6.3 | NOK | http://autobuild.buildroot.net/results/672cfa7a93735567439d2953e22a1814f4ea40ea | > mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6dedef7f2bba1995cb40605c67101521c3578a04 | > mips64el | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6d46959655de5358485cc74aaff474fc9ff58d4d | > x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d3e1a1a5fcd13c4f05699c3464d84f1997444a0a | > mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/63fa0dab911385b8c453d84cd3df1419c64cb823 | > sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/82edcf2b6122cf58b88a36d71929776c15848e8d | > powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/548d057b00b75065dc84818b918385dd1ee4c677 | > armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cf95dcb380e6c18ed68ad1c78adbab5f8794b912 | > mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/fb0761787e4282eb878e8dabc8b802e7f9a76f5e | > or1k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f63ef4ec5abee42e9eb0c8223aab50a885f765d7 | > i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/938039d38ab047ac754b98e2a7f9dadd90a7b2bd | > mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f73b8c6405f423092ecb3855c52c89c97f6b9b9e | > s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c58dac93acfbd2a231a91102a840e70321c24a74 | > aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f7dfa6712462d835be9948f59aaf7f325946ff4d | > powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7b2d404bbe1e5ee46c6cac0f4b18b7853f0c08a7 | > mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7c9b64e5cc8b04d6093f677e0370ba4a9ee8414b | > sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/825b3465d449e4225ad96280eef805338fdbeffb | > sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ec415e9d7ed00872986dc9b327cc5fd26cf6c776 | > armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7a83c1b28aa6dc5e3136a14d90f49811a6836ab6 | > powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2f722250c7dd71d99daecfa8bd46fad3a59db5c3 | > aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ee381f4550d20f101b69f392cde22e79e30aab4a | > powerpc64le | pistache-3ec9d7c4f8b828fdd3... | NOK | http://autobuild.buildroot.net/results/f54aaa19e0fe4140116a2de2daca925208870274 | ORPH > sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/9f3f7d71bd24f5c3dd28682ac28ef2c80a89d1dd | > powerpc64le | python-sip-4.19.25 | NOK | http://autobuild.buildroot.net/results/dd27fbf5fa4204cf0bfdca0fe30b3ad0275759e0 | > sh4a | python3-3.11.5 | NOK | http://autobuild.buildroot.net/results/986276c92b82b26a09877a16bbdec8e5b45f93e7 | > armeb | quickjs-2021-03-27 | NOK | http://autobuild.buildroot.net/results/80402926ecd4014cd0f84d36d87b7a48b05619ef | > m68k | rwmem-c8291705c82bb0686be9a... | NOK | http://autobuild.buildroot.net/results/2d3b20b20a42ad7dd53fdd3f768b94ec90976ab2 | ORPH > powerpc64le | spirv-headers-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/6a387441759b10eb38301c1dafec3506c72446e9 | > riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/47da3f56158fba3c1aa78c6768fef889b03470e0 | ORPH > sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/dd2f3d24061367f2da3152a62b1e673d7c3b8c99 | ORPH > m68k | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/a885e6b28c06d5d96db893143f1e1da67b539d42 | ORPH > powerpc64le | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/efb5f4c1ae9595ffa6ae505448e1ee336d18f0f2 | ORPH > mips64 | systemd-254 | NOK | http://autobuild.buildroot.net/results/0bdd9f47f5fef47aaec674df604a1be0a187e3d2 | > s390x | tbb-2021.10.0 | NOK | http://autobuild.buildroot.net/results/8f0a2ea99940d96f6d88c08eb84e0da495e22d58 | > riscv64 | uclibc-1.0.44 | NOK | http://autobuild.buildroot.net/results/472c4051a84d9b6da534e05cb56f1e709eab0e63 | > s390x | uhd-4.3.0.0 | NOK | http://autobuild.buildroot.net/results/93381d9fd9e3da0b70895810d898e10833fc5c79 | > aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/0b9da6ab6cad83382411afc3fb759fab7f68fc27 | > powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/6416ad6a10b7b3f768ce061f08dd39843d1d0a45 | > armeb | unknown | NOK | http://autobuild.buildroot.net/results/24d6818790290371afe171063ffadcf409de10b8 | > s390x | unknown | NOK | http://autobuild.buildroot.net/results/0b4bc50a913d6e2aa7cb9df06672dbf87d681d05 | > sparc | unknown | NOK | http://autobuild.buildroot.net/results/dcf90dad7b9525f1b09f1323c1aac811c5936862 | > sh4eb | unknown | NOK | http://autobuild.buildroot.net/results/beb24715673e00529c7b1b5eef311eb5f0684ed7 | > microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/1a4db540dabb1cf7b476f58ba8d4785f23405a07 | > powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/57c6b3d0483ae8d56f366c113a7f44c78359ee2d | > arm | unknown | NOK | http://autobuild.buildroot.net/results/fb2fc91536cc931a553dff24e96333ea2981ad2d | > microblazeel | usbguard-1.1.2 | NOK | http://autobuild.buildroot.net/results/1a08823020c37a73f4e4a40f47b02fca3f159748 | > i686 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/aef2f73ffeadb7c6d8c7acf91d37bbafa1f3da85 | ORPH > s390x | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/d7997a74c4c6a0745e51aa7a3e0cb4d939adc549 | > arc | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/6a56fb98e3492ce115ec61dbbe7cde0793089878 | > riscv32 | xvisor-0.3.2 | NOK | http://autobuild.buildroot.net/results/844c64d894221155645d2640d8e6cd4b5a20af35 | > > > Classification of failures by reason for 2023.02.x > -------------------------------------------------- > > bird-2.0.12 | 3 > btrfs-progs | 1 > check-0.15.2 | 1 > elfutils-0.186 | 1 > host-go-1.19.13 | 1 > motion-4.5.1 | 1 > ocf-linux-20171122 | 1 > wolfssl-5.5.3 | 1 > xenomai-3.0.10 | 1 > > > Detail of failures for 2023.02.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > aarch64_be | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/04d7e4c3798a3d416c2a6ed8b44d5696ee66ad27 | > mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/4681da1856db567ca5a616d12730234351581fbd | > or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/1a36b64ede75dcb047efc10674836e3222328c42 | > mips64el | btrfs-progs | TIM | http://autobuild.buildroot.net/results/72af1dafe03bbbe1019c7f3333cb2d66759a95a5 | > arm | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/96c9020f28b836ff720cd70175708d2d9144fee9 | ORPH > microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/e8d0d884fcb672457f21d421cec5e805857ddc91 | ORPH > mips64el | host-go-1.19.13 | NOK | http://autobuild.buildroot.net/results/bfcec8a7ad2acd9d8b2e2ce254e3a59a75fecf4e | > mipsel | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/7fc090138ec20d545e0c75131707d3675b01a371 | > i686 | ocf-linux-20171122 | NOK | http://autobuild.buildroot.net/results/9226bc3f762b671dee65a77835698facb761d02b | > mips64el | wolfssl-5.5.3 | NOK | http://autobuild.buildroot.net/results/5d99f13abde9d6b0069823eb5c1688db9d59f824 | > arm | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/21e2dedaabf87caf073fcda287eaa6e2a58ecbca | > > > Classification of failures by reason for 2023.08.x > -------------------------------------------------- > > dc3dd-7.2.641 | 1 > elfutils-0.189 | 1 > ethtool-6.3 | 1 > frr-8.4.2 | 1 > gobject-introspection-1.76.1 | 1 > host-go-1.20.8 | 1 > host-rust-1.71.1 | 1 > libgeos-3.12.0 | 1 > pipewire-0.3.74 | 1 > speechd-0.11.4 | 1 > > > Detail of failures for 2023.08.x > -------------------------------- > > arch | reason | OK? | url | orph? > -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- > or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/025a79b9f53867b8a8edf250c300921993ab250d | ORPH > arceb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/752d6c0aacdd6980917bf1148685bd054181cf7a | ORPH > arm | ethtool-6.3 | NOK | http://autobuild.buildroot.net/results/1080b35f0bc809347a76ea54d40cdfbf0bcfd372 | > arc | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/3242f1674e4fe007f36810d0a34d2815f5769ed4 | > s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/a7594202901567c02c43f1513c2c4aae282f1372 | ORPH > armeb | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/16afd3bf590895bcfa7e143c752712be8699702a | > aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/eefb0cab17ddce079b2ded8dc1f48f8c4a9a32bd | > or1k | libgeos-3.12.0 | NOK | http://autobuild.buildroot.net/results/72361949e1204db4de860f1ed6f0cc42b6e6cad1 | > mips | pipewire-0.3.74 | NOK | http://autobuild.buildroot.net/results/53be2788f3fd65595e50d024e6c2c9b5ea06eb19 | > arm | speechd-0.11.4 | NOK | http://autobuild.buildroot.net/results/8ab13cf474d732c95a1da65592d950b24b3d474b | > > > > -- > http://autobuild.buildroot.net > > > ------------------------------ > > Message: 3 > Date: Fri, 6 Oct 2023 08:24:49 +0200 > From: Peter Korsgaard > To: buildroot at buildroot.org > Cc: Peter Korsgaard , Thomas Petazzoni > , Romain Naour > Subject: [Buildroot] [PATCH-2023.08.x] package/{glibc, localedef}: > security bump to version > glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 > Message-ID: <20231006062449.1481741-1-peter at korsgaard.com> > > Fixes the following security issues: > > CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the > environment of a setuid program and NAME is valid, it may result in a > buffer overflow, which could be exploited to achieve escalated > privileges. This flaw was introduced in glibc 2.34. > > Signed-off-by: Peter Korsgaard > --- > package/glibc/glibc.hash | 2 +- > package/glibc/glibc.mk | 2 +- > package/localedef/localedef.mk | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash > index ab310498b8..2b8f49ea6b 100644 > --- a/package/glibc/glibc.hash > +++ b/package/glibc/glibc.hash > @@ -1,5 +1,5 @@ > # Locally calculated (fetched from Github) > -sha256 7129dfadea29e8f20865186a7fdec3dc3e65d055a81dc8fc399189491bba493c glibc-2.37-43-g94ef70136587c40a357f775677997c753b3de56c.tar.gz > +sha256 19d874f03dadbccaca8ae88a0e96d38435066badfe6ed606c2ad1e525454dece glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3.tar.gz > > # Hashes for license files > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk > index 666d9e4a8c..319028b058 100644 > --- a/package/glibc/glibc.mk > +++ b/package/glibc/glibc.mk > @@ -7,7 +7,7 @@ > # Generate version string using: > # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- > # When updating the version, please also update localedef > -GLIBC_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c > +GLIBC_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 > # Upstream doesn't officially provide an https download link. > # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, > # sometimes the connection times out. So use an unofficial github mirror. > diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk > index d368121a1a..18f040d7c2 100644 > --- a/package/localedef/localedef.mk > +++ b/package/localedef/localedef.mk > @@ -7,7 +7,7 @@ > # Use the same VERSION and SITE as target glibc > # As in glibc.mk, generate version string using: > # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- > -LOCALEDEF_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c > +LOCALEDEF_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 > LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz > LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) > HOST_LOCALEDEF_DL_SUBDIR = glibc > -- > 2.30.2 > > > > ------------------------------ > > Message: 4 > Date: Fri, 6 Oct 2023 06:18:56 +0000 > From: > To: > Subject: Re: [Buildroot] buildroot Digest, Vol 207, Issue 55 > Message-ID: > Content-Type: text/plain; charset="utf-8" > > On 27/09/23 03:15, buildroot-request at buildroot.org wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe >> >> Send buildroot mailing list submissions to >> buildroot at buildroot.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.buildroot.org/mailman/listinfo/buildroot >> or, via email, send a message with subject or body 'help' to >> buildroot-request at buildroot.org >> >> You can reach the person managing the list at >> buildroot-owner at buildroot.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of buildroot digest..." >> >> >> Today's Topics: >> >> 1. [git commit branch/2023.08.x] package/libcoap: ignore >> CVE-2023-35862 (Peter Korsgaard) >> 2. [git commit branch/2023.08.x] package/webkitgtk: security >> bump to version 2.40.5 (Peter Korsgaard) >> 3. [git commit branch/2023.08.x] package/libssh: ignore >> CVE-2023-3603 (Peter Korsgaard) >> 4. [git commit branch/2023.05.x] package/webkitgtk: security >> bump to version 2.40.5 (Peter Korsgaard) >> 5. [autobuild.buildroot.net] Daily results for 2023-09-25 >> (Thomas Petazzoni) >> 6. [PATCH] package/mmc-utils: fix build failure due to potential >> overflow (Giulio Benetti) >> 7. Re: [PATCH 1/1] docs/manual: add section to explain how to >> give credits to a sponsor (Peter Korsgaard) >> 8. Re: [PATCH v2] package/nut: package/nut: specify >> --with-user/group when building NUT (Peter Korsgaard) >> 9. Re: [PATCH] package/libpjsip: security bump to version 2.13.1 >> (Peter Korsgaard) >> 10. [git commit branch/2023.05.x] package/libpjsip: security bump >> to version 2.13.1 (Peter Korsgaard) >> 11. [git commit branch/2023.05.x] package/nut: package/nut: >> specify --with-user/group when building NUT (Peter Korsgaard) >> 12. [git commit branch/2023.05.x] docs/manual: add section to >> explain how to give credits to a sponsor (Peter Korsgaard) >> 13. [git commit branch/2023.08.x] package/nut: package/nut: >> specify --with-user/group when building NUT (Peter Korsgaard) >> 14. [git commit branch/2023.08.x] docs/manual: add section to >> explain how to give credits to a sponsor (Peter Korsgaard) >> 15. [git commit branch/2023.08.x] package/libpjsip: security bump >> to version 2.13.1 (Peter Korsgaard) >> 16. Re: [PATCH v2] package/nodejs: fix parallel build >> (Peter Korsgaard) >> 17. [git commit branch/2023.05.x] package/nodejs: fix parallel >> build (Peter Korsgaard) >> 18. [git commit branch/2023.08.x] package/nodejs: fix parallel >> build (Peter Korsgaard) >> 19. [git commit branch/2023.02.x] package/nodejs: fix parallel >> build (Peter Korsgaard) >> 20. [git commit branch/2023.02.x] package/nut: package/nut: >> specify --with-user/group when building NUT (Peter Korsgaard) >> 21. [git commit branch/2023.02.x] package/libpjsip: security bump >> to version 2.13.1 (Peter Korsgaard) >> 22. [git commit branch/2023.02.x] docs/manual: add section to >> explain how to give credits to a sponsor (Peter Korsgaard) >> 23. [PATCH v2 3/4] package/linux-tools: add rtla (Giulio Benetti) >> 24. [PATCH v2 4/4] package/trace-cmd: bump to 3.1.7 (Giulio Benetti) >> 25. [PATCH v2 1/4] package/libtraceevent: new package (Giulio Benetti) >> 26. [PATCH v2 2/4] package/libtracefs: new package (Giulio Benetti) >> 27. [git commit branch/2023.08.x] package/libopenssl: bump to >> version 3.0.11 (Peter Korsgaard) >> 28. [PATCH] support/runtime-test: fix weston test (Yann E. MORIN) >> 29. Re: [PATCH v2] board: add Orangepi Zero3 support (Sergey Kuzminov) >> 30. Re: [PATCH v9 7/7] >> support/testing/tests/package/test_flutter.py: new runtime test >> (Yann E. MORIN) >> 31. [git commit branch/2023.05.x] Update for 2023.05.3 >> (Peter Korsgaard) >> 32. [git commit branch/2023.05.x] Revert "package/docker-cli: >> backport fix for host header check" (Peter Korsgaard) >> 33. [git commit branch/2023.05.x] Revert "package/docker-engine: >> backport fix for host header check" (Peter Korsgaard) >> 34. [git commit branch/2023.02.x] Revert "package/docker-cli: >> backport fix for host header check" (Peter Korsgaard) >> 35. [git commit branch/2023.02.x] Revert "package/docker-engine: >> backport fix for host header check" (Peter Korsgaard) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Tue, 26 Sep 2023 08:09:22 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/libcoap: >> ignore CVE-2023-35862 >> Message-ID: <20230926061220.C1A7387816 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=335dbb595ab027b3a46a4fd764e93c1dc9d31e56 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> According to a collaborator [0] the affected code isn't in 4.3.1 >> >> [0]: https://github.com/obgm/libcoap/issues/1117 >> >> Signed-off-by: Daniel Lang >> Signed-off-by: Arnout Vandecappelle >> (cherry picked from commit 20c023a3b1363f914a18652a79f83648af2cf1e6) >> Signed-off-by: Peter Korsgaard >> --- >> package/libcoap/libcoap.mk | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk >> index 3773ad293c..94bfc59702 100644 >> --- a/package/libcoap/libcoap.mk >> +++ b/package/libcoap/libcoap.mk >> @@ -16,6 +16,8 @@ LIBCOAP_CONF_OPTS = \ >> LIBCOAP_AUTORECONF = YES >> # 0001-Backport-fix-for-CVE-2023-30362.patch >> LIBCOAP_IGNORE_CVES += CVE-2023-30362 >> +# Doesn't affect 4.3.1, see https://github.com/obgm/libcoap/issues/1117 >> +LIBCOAP_IGNORE_CVES += CVE-2023-35862 >> >> ifeq ($(BR2_PACKAGE_GNUTLS),y) >> LIBCOAP_DEPENDENCIES += gnutls >> >> >> ------------------------------ >> >> Message: 2 >> Date: Tue, 26 Sep 2023 08:04:07 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/webkitgtk: >> security bump to version 2.40.5 >> Message-ID: <20230926061220.A3EBC87813 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=f35f7c3eabc4225fda225f1e27a6d84e7596fbcb >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Bugfix release with many security fixes, including (but not limited to) >> patches for CVE-2023-37450, CVE-2023-38133, CVE-2023-38572, CVE-2023-38592, >> CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38599, >> CVE-2023-38600, and CVE-2023-38611. >> >> Release notes: >> >> https://webkitgtk.org/2023/07/21/webkitgtk2.40.4-released.html >> https://webkitgtk.org/2023/08/01/webkitgtk2.40.5-released.html >> >> Accompanying security advisory: >> >> https://webkitgtk.org/security/WSA-2023-0006.html >> https://webkitgtk.org/security/WSA-2023-0007.html >> >> Signed-off-by: Thomas Devoogdt >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 3ba27e682a861e304138fa2a460c10db2c83abe4) >> Signed-off-by: Peter Korsgaard >> --- >> ...ailure-when-gstreamer-support-is-disabled.patch | 36 ++++++++++++++++++++++ >> package/webkitgtk/webkitgtk.hash | 6 ++-- >> package/webkitgtk/webkitgtk.mk | 2 +- >> 3 files changed, 40 insertions(+), 4 deletions(-) >> >> diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch >> new file mode 100644 >> index 0000000000..3fa23b215b >> --- /dev/null >> +++ b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch >> @@ -0,0 +1,36 @@ >> +From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 >> +From: Matt Turner >> +Date: Tue, 8 Aug 2023 16:51:25 -0700 >> +Subject: [PATCH] Fix build failure when gstreamer support is disabled >> + https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 >> + >> +Reviewed by Carlos Alberto Lopez Perez. >> + >> +* Source/WebCore/loader/MixedContentChecker.cpp: >> + >> +Canonical link: https://commits.webkit.org/260527.429 at fix-build >> + >> +(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) >> + >> +Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 >> +Signed-off-by: Thomas Devoogdt >> +--- >> + Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ >> + 1 file changed, 2 insertions(+) >> + >> +diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp >> +index 9b4c7fe62020..ac4733bc08bc 100644 >> +--- a/Source/WebCore/loader/MixedContentChecker.cpp >> ++++ b/Source/WebCore/loader/MixedContentChecker.cpp >> +@@ -33,6 +33,8 @@ >> + #include "ContentSecurityPolicy.h" >> + #include "Document.h" >> + #include "Frame.h" >> ++#include "FrameLoader.h" >> ++#include "FrameLoaderClient.h" >> + #include "SecurityOrigin.h" >> + >> + namespace WebCore { >> +-- >> +2.42.0 >> + >> diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash >> index 756ac13ec2..7f50f1aa7b 100644 >> --- a/package/webkitgtk/webkitgtk.hash >> +++ b/package/webkitgtk/webkitgtk.hash >> @@ -1,6 +1,6 @@ >> -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.3.tar.xz.sums >> -sha1 74ee7241f2add46897019e22bd4f8e19e09027bb webkitgtk-2.40.3.tar.xz >> -sha256 cc0aa83f40dbc64c1c6ae42ec6b85af4be2a9dbf524cfcb95f89a367fb5098dd webkitgtk-2.40.3.tar.xz >> +# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums >> +sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz >> +sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz >> >> # Hashes for license files: >> sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE >> diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk >> index 56277a0a0a..d5e983e403 100644 >> --- a/package/webkitgtk/webkitgtk.mk >> +++ b/package/webkitgtk/webkitgtk.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -WEBKITGTK_VERSION = 2.40.3 >> +WEBKITGTK_VERSION = 2.40.5 >> WEBKITGTK_SITE = https://www.webkitgtk.org/releases >> WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz >> WEBKITGTK_INSTALL_STAGING = YES >> >> >> ------------------------------ >> >> Message: 3 >> Date: Tue, 26 Sep 2023 08:07:52 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/libssh: >> ignore CVE-2023-3603 >> Message-ID: <20230926061220.AD43C87814 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=e69fb4864062f145366815a092779b857c244407 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> The affected code isn't present in any release, see [0]. >> >> [0]: https://www.libssh.org/2023/07/14/cve-2023-3603-potential-null-dereference-in-libsshs-sftp-server/ >> >> The CPE entry for this CVE is >> cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:* >> We interpret the "-" as matching any version. It actually means >> "unspecified version", which is the cop-out in case there is nothing >> useful to match. We can't really make our infrastructure ignore "-" >> entirely, because for all we know our version is an unreleased commit >> sha which _is_ vulnerable. Thus, the only way out is an exclusion which >> we'll never be able to remove. >> >> Signed-off-by: Daniel Lang >> Signed-off-by: Arnout Vandecappelle >> (cherry picked from commit a34a370f4ea27981be43df817f49320a59088e68) >> Signed-off-by: Peter Korsgaard >> --- >> package/libssh/libssh.mk | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/package/libssh/libssh.mk b/package/libssh/libssh.mk >> index e770d2b924..ff4cddaf91 100644 >> --- a/package/libssh/libssh.mk >> +++ b/package/libssh/libssh.mk >> @@ -17,6 +17,10 @@ LIBSSH_CONF_OPTS = \ >> -DWITH_STACK_PROTECTOR=OFF \ >> -DWITH_EXAMPLES=OFF >> >> +# Not part of any release >> +# https://www.libssh.org/2023/07/14/cve-2023-3603-potential-null-dereference-in-libsshs-sftp-server/ >> +LIBSSH_IGNORE_CVES += CVE-2023-3603 >> + >> ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) >> LIBSSH_CONF_OPTS += -DWITH_STACK_CLASH_PROTECTION=OFF >> endif >> >> >> ------------------------------ >> >> Message: 4 >> Date: Tue, 26 Sep 2023 08:04:50 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] package/webkitgtk: >> security bump to version 2.40.5 >> Message-ID: <20230926061219.E197B87813 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=bd5eaa7df8025a3d5afa94c495c1c4b34ad53bee >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Bugfix release with many security fixes, including (but not limited to) >> patches for CVE-2023-37450, CVE-2023-38133, CVE-2023-38572, CVE-2023-38592, >> CVE-2023-38594, CVE-2023-38595, CVE-2023-38597, CVE-2023-38599, >> CVE-2023-38600, and CVE-2023-38611. >> >> Release notes: >> >> https://webkitgtk.org/2023/07/21/webkitgtk2.40.4-released.html >> https://webkitgtk.org/2023/08/01/webkitgtk2.40.5-released.html >> >> Accompanying security advisory: >> >> https://webkitgtk.org/security/WSA-2023-0006.html >> https://webkitgtk.org/security/WSA-2023-0007.html >> >> Signed-off-by: Thomas Devoogdt >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 3ba27e682a861e304138fa2a460c10db2c83abe4) >> Signed-off-by: Peter Korsgaard >> --- >> ...ailure-when-gstreamer-support-is-disabled.patch | 36 ++++++++++++++++++++++ >> package/webkitgtk/webkitgtk.hash | 6 ++-- >> package/webkitgtk/webkitgtk.mk | 2 +- >> 3 files changed, 40 insertions(+), 4 deletions(-) >> >> diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch >> new file mode 100644 >> index 0000000000..3fa23b215b >> --- /dev/null >> +++ b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch >> @@ -0,0 +1,36 @@ >> +From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 >> +From: Matt Turner >> +Date: Tue, 8 Aug 2023 16:51:25 -0700 >> +Subject: [PATCH] Fix build failure when gstreamer support is disabled >> + https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 >> + >> +Reviewed by Carlos Alberto Lopez Perez. >> + >> +* Source/WebCore/loader/MixedContentChecker.cpp: >> + >> +Canonical link: https://commits.webkit.org/260527.429 at fix-build >> + >> +(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) >> + >> +Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 >> +Signed-off-by: Thomas Devoogdt >> +--- >> + Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ >> + 1 file changed, 2 insertions(+) >> + >> +diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp >> +index 9b4c7fe62020..ac4733bc08bc 100644 >> +--- a/Source/WebCore/loader/MixedContentChecker.cpp >> ++++ b/Source/WebCore/loader/MixedContentChecker.cpp >> +@@ -33,6 +33,8 @@ >> + #include "ContentSecurityPolicy.h" >> + #include "Document.h" >> + #include "Frame.h" >> ++#include "FrameLoader.h" >> ++#include "FrameLoaderClient.h" >> + #include "SecurityOrigin.h" >> + >> + namespace WebCore { >> +-- >> +2.42.0 >> + >> diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash >> index 756ac13ec2..7f50f1aa7b 100644 >> --- a/package/webkitgtk/webkitgtk.hash >> +++ b/package/webkitgtk/webkitgtk.hash >> @@ -1,6 +1,6 @@ >> -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.3.tar.xz.sums >> -sha1 74ee7241f2add46897019e22bd4f8e19e09027bb webkitgtk-2.40.3.tar.xz >> -sha256 cc0aa83f40dbc64c1c6ae42ec6b85af4be2a9dbf524cfcb95f89a367fb5098dd webkitgtk-2.40.3.tar.xz >> +# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums >> +sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz >> +sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz >> >> # Hashes for license files: >> sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE >> diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk >> index 56277a0a0a..d5e983e403 100644 >> --- a/package/webkitgtk/webkitgtk.mk >> +++ b/package/webkitgtk/webkitgtk.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -WEBKITGTK_VERSION = 2.40.3 >> +WEBKITGTK_VERSION = 2.40.5 >> WEBKITGTK_SITE = https://www.webkitgtk.org/releases >> WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz >> WEBKITGTK_INSTALL_STAGING = YES >> >> >> ------------------------------ >> >> Message: 5 >> Date: Tue, 26 Sep 2023 06:50:40 -0000 >> From: Thomas Petazzoni >> To: buildroot at buildroot.org >> Subject: [Buildroot] [autobuild.buildroot.net] Daily results for >> 2023-09-25 >> Message-ID: <20230926065047.EA45941E61 at smtp4.osuosl.org> >> Content-Type: text/plain; charset="us-ascii" >> >> Hello, >> >> Autobuild statistics for 2023-09-25 >> =================================== >> >> branch | OK | NOK | TIM | TOT | >> 2023.02.x | 6 | 10 | 0 | 16 | >> 2023.05.x | 10 | 6 | 0 | 16 | >> 2023.08.x | 11 | 7 | 0 | 18 | >> master | 78 | 76 | 0 | 154 | >> >> Classification of failures by reason for master >> ----------------------------------------------- >> >> alsa-lib-1.2.10 | 10 >> unknown | 6 >> host-go-1.21.1 | 5 >> alsa-utils-1.2.10 | 4 >> bird-2.0.12 | 4 >> glibc-2.37-2-g9f8513dc64119... | 4 >> stress-ng-0.15.07 | 4 >> elfutils-0.189 | 3 >> host-rust-1.71.1 | 3 >> libarchive-3.7.2 | 3 >> mariadb-10.11.4 | 3 >> proj-8.1.1 | 3 >> brltty-6.5 | 2 >> gobject-introspection-1.76.1 | 2 >> linux-6.4.14 | 2 >> xenomai-3.0.10 | 2 >> check-11970a7e112dfe243a2e6... | 1 >> conmon-2.1.8 | 1 >> fs/romfs/romfs.mk:32: /home... | 1 >> host-erlang-26.0.2 | 1 >> host-gcc-final-12.3.0 | 1 >> lightning-2.2.2 | 1 >> lttng-modules-2.13.7 | 1 >> mmc-utils-613495ecaca97a19f... | 1 >> olsr-0.9.8 | 1 >> php-8.2.10 | 1 >> qemu-8.1.0 | 1 >> squid-6.2 | 1 >> systemd-254 | 1 >> tcf-agent-1.7.0 | 1 >> valgrind-3.21.0 | 1 >> wolfssl-5.6.3 | 1 >> >> >> Detail of failures for master >> ----------------------------- >> >> arch | reason | OK? | url | orph? >> -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- >> armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3ceec32f42947ce6807c83abaea54dadc8679198 | >> aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b148d1cd0bdb6cecff56d2f1407b53fde49e285e | >> x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6e3f23d6d774c332b7c797c046d1fd5480221ba1 | >> or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/640fef2accaf666b9ddf6acd7f64937f8d0961b4 | >> microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f94a864a05146f2c5cb4c04bb66460cde48f4309 | >> m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/d56e5afc96152ac9b3d08acaf85219637745f6f8 | >> arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7359e18a3dd50b1e18cad260a50567018ec70f16 | >> sh4a | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/bc09306a5f05b8939bad912fa02da0ed9a769aa6 | >> microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/228d8be8b2437003df882eb672ef5bc73d8ff471 | >> aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b1d7a5d9fd8ed6bd8bbf707c98638153c7b8a7f8 | >> s390x | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/09faa170c4ab44c39de3450985c88b049f492ed2 | >> x86_64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/94f72c01f462273d69138d629479055f0ddb443f | >> arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f85e9c502de1647c19fb00502703e1aa55386c4e | >> mipsel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/42ab6e4003cce672c3ed88cd090301f44d0c2e85 | >> s390x | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/eea3097ed8652f6c6597fc4ef9d9536cbb4df23a | >> sh4 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/db3a45acd435bee5c44109db66e87ebf930f5e2e | >> mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b8edde854848bf5050733d591b5ac653d652b157 | >> arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/54a984f41fd5c58fc14c5a722526ebf56c4fedd7 | >> aarch64_be | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/964d3e46f79f7ae0d204dabed395b3759fab42ba | >> mips64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/62383191117b33141cd516dce7b87bdb3517b40c | >> arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/36de1229d6f2ad57fffcdc70e4c4883c10f28141 | ORPH >> mips64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/2a4035bbf3139a3e50aeecb69a6068533cddfac2 | >> microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/0e5255437a9fe10ff42fdad7284ff8b923c7ed49 | ORPH >> microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3f3c024c0e7a487d31792dcdb1dc5764a9a384c8 | ORPH >> microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3579a51bfc73fb12347112fd0d53a4cebdf7717f | ORPH >> sparc64 | fs/romfs/romfs.mk:32: /home... | NOK | http://autobuild.buildroot.net/results/9d328fa4ec604ce80cdb6a80c8a0609ae692f4a4 | >> powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/f9ad33c33a0d35f21dabe062792460b710b9ac5f | >> powerpc64 | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/19207b530fd3106a07f6fb3d1964c07094c5918b | >> powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/681291969190a3cfc08d409d916bec78b1499ddb | >> powerpc64le | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/50fc667015f0a0c0f199cf9de92ac6bd2a8465fb | >> nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/7027ffb259239827592d1adbeb7e09fb0ddb2bd3 | ORPH >> sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/ae1bdde15333b5dbc59bd3564b836e4a96483ccb | ORPH >> i686 | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/0e7ff49faf127491819d34a1c825b47d61794cd1 | >> microblazeel | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/99439a74049df0ca417b74a7ad9bc4b9df1cab2f | >> powerpc64le | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/ec1a401349b1275657aadec3fd39fb62b33b5bfa | >> mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/2162ce22c7f91b587bb04ae2d81f4331333a74da | >> mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/69e40e223f5ae215da9bb73aa0e805c3aefe1833 | >> sparc64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/212dcc59e2b91dbc286e551b63277bf2fa09cd97 | >> mips64 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/a931bc4814682b5bbcc9cc0c9998909f2e28dc5a | >> powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/2de8422fd79ccb3813c4df16cab183253bc3f335 | >> x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e9dbd56ad6a5aa6204219d8ccf897117bd2d7103 | >> mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/ca5dbdeebdfd63844665b7d9d43b7e8debb2851f | >> arm | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/167f1ac03cf48f008531e722ae008b10ce70399c | >> mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/a2b3243c0328977140c300d4fd9aea6ac57e05a1 | >> mips | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/1cc40c078b6667e9e19ac11bf57a1909338f5cb7 | >> mips64el | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/105f3900c5aafa255d47177e6cfcf7d2426e8d62 | >> mips | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/33fe90580a8e5a36b6918075775d34cb15cebd0e | ORPH >> arceb | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/d4ad93a6072bc719ebe9c963fdb75848d59e71bf | ORPH >> powerpc64 | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/72f59d2ae40f8de8780b8e81ab45ecb1d314f4f4 | >> microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/900bcae312f1df0059a94fefacca8904739fc9b2 | ORPH >> or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/c6573324d4fbbb8ac4f7f3d4e8c3cbb6a0e3e180 | ORPH >> mips | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/349a18666b9366adeb8555918a64a70890c434aa | ORPH >> mipsel | mmc-utils-613495ecaca97a19f... | NOK | http://autobuild.buildroot.net/results/a53922c5db3e605a5e81e53c034f45017ebb7db7 | >> mips64 | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/d80264776d3aea1b01034447b5a1c124531f1f00 | ORPH >> m68k | php-8.2.10 | NOK | http://autobuild.buildroot.net/results/ebe7fcc6e3962028d07d0b14e79d422ea847d6e2 | >> s390x | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/06760e59b408645586664a1d11615818b1e20f41 | >> microblaze | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/e91f4bd62149b89ad3047320ea1d05efcc1c1d7d | >> m68k | proj-8.1.1 | NOK | http://autobuild.buildroot.net/results/46b4651157762edd4615ef4508b85ca334bfc816 | >> mips | qemu-8.1.0 | NOK | http://autobuild.buildroot.net/results/339ea98fe7ecbac8141649ae9736f0ae6c55ce49 | >> aarch64 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/efcd624169b07b9071ef3f696d2b44e87deea2a7 | ORPH >> mipsel | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/50704286cb67b9819131b82bcebdfeb5cd86cf88 | >> powerpc64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/8223b862f25a3d0259f6780d09deac8ccce34666 | >> aarch64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/248b83f2c584a6dc0218c1aefee85bb15b1fbed2 | >> microblazeel | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/69e9b186202dcc56262a71351df2660029019ebb | >> mipsel | systemd-254 | NOK | http://autobuild.buildroot.net/results/6db08456e4769511b2482fae9abdf4d04109858f | >> microblaze | tcf-agent-1.7.0 | NOK | http://autobuild.buildroot.net/results/b6878b92132113e27633f30ed687ac62fb9bde24 | >> powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/49d8e8aed43786a5814b2574574655ac6a255543 | >> i686 | unknown | NOK | http://autobuild.buildroot.net/results/d3b48062f88afc327e4d81244fc874406964b6a3 | >> armeb | unknown | NOK | http://autobuild.buildroot.net/results/04ecf6318e82517566272d89029711056b7aedfb | >> x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/7966430f401b6d40b87d3bb1d941fff3946d0420 | >> powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/d121267e4b375cbe4f461a6f8921deeb76c6bc12 | >> powerpc | unknown | NOK | http://autobuild.buildroot.net/results/a237709eff56a2137f0e8b170a7417c999dfdcc4 | >> mips64 | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/50b74189262cea892cc2ff055347b97442c80876 | ORPH >> mips64el | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/ff2941823edf72532ff87d6319fdcdf4d701e459 | >> mips | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/cc42a69cf49fa53ef7af355d8acdd7664b4d043a | >> x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/fbddd2377f909b1bf66bfa2ba5a03144b42f33fb | >> >> >> Classification of failures by reason for 2023.02.x >> -------------------------------------------------- >> >> bird-2.0.12 | 3 >> erlang-22.3.4.22 | 1 >> gobject-introspection-1.72.0 | 1 >> host-rust-1.67.1 | 1 >> linux-5.10.162-cip24-rt10 | 1 >> olsr-0.9.8 | 1 >> ti-sgx-km-cf7f48cb30abfd5df... | 1 >> unknown | 1 >> >> >> Detail of failures for 2023.02.x >> -------------------------------- >> >> arch | reason | OK? | url | orph? >> -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- >> sparc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8ea3bb6e1f98d8896739223860b9f15277e5941f | >> arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/9ef04fa3709f234e59755ff4c8aff2f71218653f | >> i686 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/052108fa2620b67d300938c1760f28111048e7e2 | >> powerpc | erlang-22.3.4.22 | NOK | http://autobuild.buildroot.net/results/145622f978f8719ec5c577495282920745edea81 | >> microblazeel | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/273bca0f419fec75a0b91a038599bf28db9e01a6 | ORPH >> mipsel | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/cfef05f7652dabddd355ec96557d7207981f9a29 | >> mipsel | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/0cb4e9cd7cbe368ba19e0f761c769d65cb453ebd | ORPH >> mipsel | olsr-0.9.8 | NOK | http://autobuild.buildroot.net/results/c98874e513891ec1f24121acf807e6ac1e492706 | ORPH >> arm | ti-sgx-km-cf7f48cb30abfd5df... | NOK | http://autobuild.buildroot.net/results/a5e4ff88303b3f7f03e5be89a667dec17b18458e | >> aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/13bdb92814bdead58fe76c8828bc04e705707bc4 | >> >> >> Classification of failures by reason for 2023.05.x >> -------------------------------------------------- >> >> bird-2.0.12 | 2 >> gobject-introspection-1.74.0 | 1 >> host-binutils-2.37 | 1 >> ola-0.10.9 | 1 >> stress-ng-0.15.07 | 1 >> >> >> Detail of failures for 2023.05.x >> -------------------------------- >> >> arch | reason | OK? | url | orph? >> -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- >> sh4eb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6a94ad7abd1040a189fd8dd1c71896006a83932a | >> x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a723d543809207dadab172205e9513145c7bd91e | >> or1k | gobject-introspection-1.74.0 | NOK | http://autobuild.buildroot.net/results/d9b197679085a2399508c0e5dce9d4d4dde20e36 | ORPH >> riscv32 | host-binutils-2.37 | NOK | http://autobuild.buildroot.net/results/04eb1c37fe5f60d3cb70181fb2308948e9f599ee | >> sparc | ola-0.10.9 | NOK | http://autobuild.buildroot.net/results/97e2da4b6c89aaaef9dd2bc7152a8b48b3a9d1c2 | >> aarch64 | stress-ng-0.15.07 | NOK | http://autobuild.buildroot.net/results/375f92dff8efb9cc6da60f39e517d75b114ad206 | >> >> >> Classification of failures by reason for 2023.08.x >> -------------------------------------------------- >> >> glibc-2.37-2-g9f8513dc64119... | 1 >> libsepol-3.5 | 1 >> linux-5.10.162-cip24-rt10 | 1 >> linux-6.4.14 | 1 >> ltp-testsuite-20230127 | 1 >> ulog-0389d243352255f6182326... | 1 >> xtables-addons-3.22 | 1 >> >> >> Detail of failures for 2023.08.x >> -------------------------------- >> >> arch | reason | OK? | url | orph? >> -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- >> powerpc64 | glibc-2.37-2-g9f8513dc64119... | NOK | http://autobuild.buildroot.net/results/add81369008b0a4192d9a3f097455cf72afe4027 | >> armeb | libsepol-3.5 | NOK | http://autobuild.buildroot.net/results/277202f78bc1a126f51997ac55aaa1e02bb0977f | >> mips64el | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/5e5b0416a1dc288b7e49db417a09f2d83573167b | ORPH >> armeb | linux-6.4.14 | NOK | http://autobuild.buildroot.net/results/e2110fe35b83fdd302b93ceea1c2f79d0968ff62 | ORPH >> x86_64 | ltp-testsuite-20230127 | NOK | http://autobuild.buildroot.net/results/57e919ed5e7d3df5cb6a7c2f6d7b0fd09aab6c1c | >> x86_64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/78fed4877833c9ae083ee24ec9187cddf81e9b08 | >> arceb | xtables-addons-3.22 | NOK | http://autobuild.buildroot.net/results/d6f605cbdf37c200a078d3bec19db3c2f9f2ffea | ORPH >> >> >> Gitlab CI results for 2023-09-25 >> ================================ >> >> Detail of runtime-test failures for master >> ------------------------------------------ >> >> runtime-test | link to the job | orph? >> --------------------------+---------------------------------------------------------------+------ >> TestIPythonPy3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841047 | ORPH >> TestLuaLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841246 | ORPH >> TestLuaLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841320 | ORPH >> TestLuajitLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841253 | ORPH >> TestLuajitLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841325 | ORPH >> TestLuvi | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841618 | ORPH >> TestNodeJSBasic | https://gitlab.com/buildroot.org/buildroot/-/jobs/5157777865 | ORPH >> TestNodeJSModule | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841719 | ORPH >> TestOla | https://gitlab.com/buildroot.org/buildroot/-/jobs/5157777775 | ORPH >> TestPigz | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841963 | ORPH >> TestPolkitInitd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841975 | ORPH >> TestPolkitSystemd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154841980 | ORPH >> TestPythonPahoMQTT | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842410 | ORPH >> TestPythonPy3Construct | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842194 | ORPH >> TestPythonPy3Dicttoxml2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842234 | ORPH >> TestPythonPy3Dtschema | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842258 | ORPH >> TestPythonPy3Hkdf | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842316 | ORPH >> TestPythonPy3Passlib | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842416 | ORPH >> TestPythonPy3Pynacl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842456 | ORPH >> TestPythonPy3Pysmb | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842477 | ORPH >> TestPythonPy3Pyyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842497 | ORPH >> TestPythonPy3RSA | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842522 | ORPH >> TestPythonPy3Spake2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842575 | ORPH >> TestStressNG | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842732 | ORPH >> TestWeston | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842839 | ORPH >> TestZfsGlibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842957 | ORPH >> TestZfsMusl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842969 | ORPH >> TestZfsUclibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5154842979 | ORPH >> >> >> >> -- >> http://autobuild.buildroot.net >> >> >> ------------------------------ >> >> Message: 6 >> Date: Tue, 26 Sep 2023 09:22:34 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Giulio Benetti , S?bastien >> Szymanski >> Subject: [Buildroot] [PATCH] package/mmc-utils: fix build failure due >> to potential overflow >> Message-ID: >> <20230926072234.3639106-1-giulio.benetti at benettiengineering.com> >> Content-Type: text/plain; charset=UTF-8 >> >> Add local patch pending upstream to fix potential overflow on read(). >> This build failure is catched by fortify. >> >> Fixes: >> http://autobuild.buildroot.net/results/a53922c5db3e605a5e81e53c034f45017ebb7db7 >> >> Signed-off-by: Giulio Benetti >> --- >> ...001-mmc-utils-fix-potential-overflow.patch | 49 +++++++++++++++++++ >> 1 file changed, 49 insertions(+) >> create mode 100644 package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch >> >> diff --git a/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch b/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch >> new file mode 100644 >> index 0000000000..d27df91fb0 >> --- /dev/null >> +++ b/package/mmc-utils/0001-mmc-utils-fix-potential-overflow.patch >> @@ -0,0 +1,49 @@ >> +From e8a84c704583083cc8487ba41d1488faf1210aec Mon Sep 17 00:00:00 2001 >> +From: Giulio Benetti >> +Date: Tue, 26 Sep 2023 09:12:23 +0200 >> +Subject: [PATCH] mmc-utils: fix potential overflow >> +MIME-Version: 1.0 >> +Content-Type: text/plain; charset=UTF-8 >> +Content-Transfer-Encoding: 8bit >> + >> +With fortify enabled gcc throws following error: >> + from mmc_cmds.c:20: >> +In function ?read?, >> + inlined from ?do_rpmb_write_key? at mmc_cmds.c:2233:8: >> +/home/giuliobenetti/br_reproduce/a53922c5db3e605a5e81e53c034f45017ebb7db7/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:38:10: error: ?__read_alias? writing 228 or more bytes into a region of size 32 overflows the destination [-Werror=stringop-overflow=] >> + 38 | return __glibc_fortify (read, __nbytes, sizeof (char), >> + | ^~~~~~~~~~~~~~~ >> +mmc_cmds.c: In function ?do_rpmb_write_key?: >> +mmc_cmds.c:2087:19: note: destination object ?key_mac? of size 32 >> + 2087 | u_int8_t key_mac[32]; >> + | ^~~~~~~ >> +/home/giuliobenetti/br_reproduce/a53922c5db3e605a5e81e53c034f45017ebb7db7/output/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:26:16: note: in a call to function ?__read_alias? declared with attribute ?access (write_only, 2, 3)? >> + 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, >> + | ^~~~~~~~~~ >> + >> +read() could potentially return more than nbyte so let's check for >> +ret < nbyte. >> + >> +Upstream: https://patchwork.kernel.org/project/linux-mmc/patch/20230926071524.3638706-1-giulio.benetti at benettiengineering.com/ >> + >> +Signed-off-by: Giulio Benetti >> +--- >> + mmc_cmds.c | 2 +- >> + 1 file changed, 1 insertion(+), 1 deletion(-) >> + >> +diff --git a/mmc_cmds.c b/mmc_cmds.c >> +index 10d063d..ae7b876 100644 >> +--- a/mmc_cmds.c >> ++++ b/mmc_cmds.c >> +@@ -2065,7 +2065,7 @@ int do_sanitize(int nargs, char **argv) >> + } \ >> + else if (r > 0) \ >> + ret += r; \ >> +- } while (r != 0 && (size_t)ret != nbyte); \ >> ++ } while (r != 0 && (size_t)ret < nbyte); \ >> + \ >> + ret; \ >> + }) >> +-- >> +2.34.1 >> + >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 7 >> Date: Tue, 26 Sep 2023 10:00:03 +0200 >> From: Peter Korsgaard >> To: Giulio Benetti >> Cc: buildroot at buildroot.org, Thomas De Schampheleire >> >> Subject: Re: [Buildroot] [PATCH 1/1] docs/manual: add section to >> explain how to give credits to a sponsor >> Message-ID: <8734z1weik.fsf at 48ers.dk> >> Content-Type: text/plain >> >>>>>>> "Giulio" == Giulio Benetti writes: >> > Sometimes it happens that a Company or a Physical Person sponsors the >> > creation and/or the upstreaming process of a patch, but at the moment >> > there is no way to give credits to it. In Linux they prepend '+sponsor' >> > to the e-mail of the contributor in both authorship and commit log tag as >> > discussed here[0]. So let's describe in the manual how to do that as a >> > standard. >> >> > [0]: >> > https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ >> >> > Signed-off-by: Giulio Benetti >> >> Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. >> >> -- >> Bye, Peter Korsgaard >> >> >> ------------------------------ >> >> Message: 8 >> Date: Tue, 26 Sep 2023 10:02:46 +0200 >> From: Peter Korsgaard >> To: Jens Maus via buildroot >> Cc: Jens Maus , Bernd Kuhls , >> "Yann E . MORIN" >> Subject: Re: [Buildroot] [PATCH v2] package/nut: package/nut: specify >> --with-user/group when building NUT >> Message-ID: <87y1gtuztl.fsf at 48ers.dk> >> Content-Type: text/plain >> >>>>>>> "Jens" == Jens Maus via buildroot writes: >> > This commit fixes a problem where the NUT package couldn't be >> > used as a NUT server due to the fact that the default group for >> > nobody is "nogroup" and not "nobody" like the internal default >> > of NUT. Thus, when starting a NUT server daemon the daemon starts >> > with incorrect group permissions. This commit fixes this >> > shortcoming by introducing a dedicated 'nut' user and 'nut' group >> > to drop priviledges to it. >> >> > Signed-off-by: Jens Maus >> >> > --- >> > Changes v1 -> v2: >> > - added NUT_USERS with nut/nut user and group (Yann) >> >> > Signed-off-by: Jens Maus >> >> Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. >> >> -- >> Bye, Peter Korsgaard >> >> >> ------------------------------ >> >> Message: 9 >> Date: Tue, 26 Sep 2023 10:03:09 +0200 >> From: Peter Korsgaard >> To: "Yann E. MORIN" >> Cc: Luca Ceresoli , >> buildroot at buildroot.org >> Subject: Re: [Buildroot] [PATCH] package/libpjsip: security bump to >> version 2.13.1 >> Message-ID: <87r0mluzsy.fsf at 48ers.dk> >> Content-Type: text/plain >> >>>>>>> "Peter" == Peter Korsgaard writes: >>>>>>> "Yann" == Yann E MORIN writes: >> >> Peter, All, >> >> On 2023-09-23 11:24 +0200, Peter Korsgaard spake thusly: >> >>> Fixes the following security vulnerability: >> >>> >> >>> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet >> >>> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr >> >>> >> >>> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. >> >>> >> >>> Signed-off-by: Peter Korsgaard >> >>> --- >> >>> ...ull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ------------------- >> >>> ...ull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ---------- >> >> >> $ make check-package >> >> .checkpackageignore:743: ignored file >> >> package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> >> is missing >> >> .checkpackageignore:744: ignored file >> >> package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> >> is missing >> >> >> Applied to master with the above fixed, thanks. >> >> > Argh, thanks! >> >> Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. >> >> -- >> Bye, Peter Korsgaard >> >> >> ------------------------------ >> >> Message: 10 >> Date: Tue, 26 Sep 2023 10:01:37 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] package/libpjsip: >> security bump to version 2.13.1 >> Message-ID: <20230926080416.D94E287824 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=33f7d66c90c9c80683804f3cba61f9d863d82868 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Fixes the following security vulnerability: >> >> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet >> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr >> >> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. >> >> Signed-off-by: Peter Korsgaard >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) >> Signed-off-by: Peter Korsgaard >> --- >> .checkpackageignore | 2 - >> ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- >> ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ >> package/libpjsip/libpjsip.hash | 2 +- >> package/libpjsip/libpjsip.mk | 8 +- >> 5 files changed, 2 insertions(+), 163 deletions(-) >> >> diff --git a/.checkpackageignore b/.checkpackageignore >> index 6adc54891d..81fb9c2d8a 100644 >> --- a/.checkpackageignore >> +++ b/.checkpackageignore >> @@ -812,8 +812,6 @@ package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream >> package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream >> package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream >> package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream >> -package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch Upstream >> -package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch Upstream >> package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream >> package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream >> package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream >> diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> deleted file mode 100644 >> index 01e1878189..0000000000 >> --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> +++ /dev/null >> @@ -1,99 +0,0 @@ >> -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 >> -From: Nanang Izzuddin >> -Date: Tue, 20 Dec 2022 11:39:12 +0700 >> -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w >> - >> -* Fix buffer overread in STUN message decoder >> - >> -* Updates based on comments >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/include/pjnath/stun_msg.h | 4 ++++ >> - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- >> - 2 files changed, 15 insertions(+), 3 deletions(-) >> - >> -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h >> -index b52f95c586..e49f096f3a 100644 >> ---- a/pjnath/include/pjnath/stun_msg.h >> -+++ b/pjnath/include/pjnath/stun_msg.h >> -@@ -442,6 +442,7 @@ typedef enum pj_stun_status >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_msg_hdr >> - { >> - /** >> -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr >> - pj_uint8_t tsx_id[12]; >> - >> - } pj_stun_msg_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_attr_hdr >> - { >> - /** >> -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr >> - pj_uint16_t length; >> - >> - } pj_stun_attr_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index 3def6b3eac..e904a0ba47 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) >> - >> - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ >> - (a)->hdr.length=(pj_uint16_t)(l) >> --#define ATTR_HDR_LEN 4 >> -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) >> - >> - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) >> - { >> -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - status = pj_stun_msg_check(pdu, pdu_len, options); >> - if (status != PJ_SUCCESS) >> - return status; >> -+ } else { >> -+ /* For safety, verify packet length at least */ >> -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; >> -+ if (msg_len > pdu_len || >> -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) >> -+ { >> -+ return PJNATH_EINSTUNMSGLEN; >> -+ } >> - } >> - >> - /* Create the message, copy the header, and convert to host byte order */ >> -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - p_response = NULL; >> - >> - /* Parse attributes */ >> -- while (pdu_len >= 4) { >> -+ while (pdu_len >= ATTR_HDR_LEN) { >> - unsigned attr_type, attr_val_len; >> - const struct attr_desc *adesc; >> - >> -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - attr_val_len = (attr_val_len + 3) & (~3); >> - >> - /* Check length */ >> -- if (pdu_len < attr_val_len) { >> -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { >> - pj_str_t err_msg; >> - char err_msg_buf[80]; >> - >> diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> deleted file mode 100644 >> index 82249a2076..0000000000 >> --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> +++ /dev/null >> @@ -1,54 +0,0 @@ >> -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 >> -From: sauwming >> -Date: Fri, 23 Dec 2022 15:05:28 +0800 >> -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr >> - >> -* Fixed heap buffer overflow when parsing STUN errcode attribute >> - >> -* Also fixed uint parsing >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- >> - 1 file changed, 6 insertions(+), 5 deletions(-) >> - >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index c6b0bdd284..b55d29849a 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -- attr->value = GETVAL32H(buf, 4); >> -- >> - /* Check that the attribute length is valid */ >> - if (attr->hdr.length != 4) >> - return PJNATH_ESTUNINATTRLEN; >> - >> -+ attr->value = GETVAL32H(buf, 4); >> -+ >> - /* Done */ >> - *p_attr = attr; >> - >> -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -+ /* Check that the attribute length is valid */ >> -+ if (attr->hdr.length < 4) >> -+ return PJNATH_ESTUNINATTRLEN; >> -+ >> - attr->err_code = buf[6] * 100 + buf[7]; >> - >> - /* Get pointer to the string in the message */ >> - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); >> - value.slen = attr->hdr.length - 4; >> -- /* Make sure the length is never negative */ >> -- if (value.slen < 0) >> -- value.slen = 0; >> - >> - /* Copy the string to the attribute */ >> - pj_strdup(pool, &attr->reason, &value); >> diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash >> index 9935575567..2edd97bed4 100644 >> --- a/package/libpjsip/libpjsip.hash >> +++ b/package/libpjsip/libpjsip.hash >> @@ -1,3 +1,3 @@ >> # Locally computed >> -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz >> +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz >> sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING >> diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk >> index 24db641446..f97d547fd7 100644 >> --- a/package/libpjsip/libpjsip.mk >> +++ b/package/libpjsip/libpjsip.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -LIBPJSIP_VERSION = 2.13 >> +LIBPJSIP_VERSION = 2.13.1 >> LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz >> LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) >> >> @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip >> LIBPJSIP_INSTALL_STAGING = YES >> LIBPJSIP_MAKE = $(MAKE1) >> >> -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 >> - >> -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 >> - >> LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 >> >> # relocation truncated to fit: R_68K_GOT16O >> >> >> ------------------------------ >> >> Message: 11 >> Date: Tue, 26 Sep 2023 10:01:15 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] package/nut: >> package/nut: specify --with-user/group when building NUT >> Message-ID: <20230926080416.CE0BA87822 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=c99a559d986a72891f3abe5fb5bba9899e12d0c4 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> This commit fixes a problem where the NUT package couldn't be >> used as a NUT server due to the fact that the default group for >> nobody is "nogroup" and not "nobody" like the internal default >> of NUT. Thus, when starting a NUT server daemon the daemon starts >> with incorrect group permissions. This commit fixes this >> shortcoming by introducing a dedicated 'nut' user and 'nut' group >> to drop priviledges to it. >> >> Signed-off-by: Jens Maus >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) >> Signed-off-by: Peter Korsgaard >> --- >> package/nut/nut.mk | 8 +++++++- >> 1 file changed, 7 insertions(+), 1 deletion(-) >> >> diff --git a/package/nut/nut.mk b/package/nut/nut.mk >> index fb98ba04f0..4c322aeb85 100644 >> --- a/package/nut/nut.mk >> +++ b/package/nut/nut.mk >> @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE >> NUT_CONF_OPTS = \ >> --with-altpidpath=/var/run/upsd \ >> --with-dev \ >> - --without-doc >> + --without-doc \ >> + --with-user=nut \ >> + --with-group=nut >> >> NUT_CONF_ENV = \ >> ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ >> @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ >> ac_cv_func_strncasecmp=yes \ >> ax_cv__printf_string_null=yes >> >> +define NUT_USERS >> + nut -1 nut -1 * - - - NUT user >> +endef >> + >> ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) >> NUT_CONF_OPTS += --with-drivers=auto >> else >> >> >> ------------------------------ >> >> Message: 12 >> Date: Tue, 26 Sep 2023 09:55:25 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] docs/manual: add >> section to explain how to give credits to a sponsor >> Message-ID: <20230926080416.C4BB487821 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=abedb15b530a188ae1f5f514dde7dc98ffd3e76c >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Sometimes it happens that a Company or a Physical Person sponsors the >> creation and/or the upstreaming process of a patch, but at the moment >> there is no way to give credits to it. In Linux they prepend '+sponsor' >> to the e-mail of the contributor in both authorship and commit log tag as >> discussed here[0]. So let's describe in the manual how to do that as a >> standard. >> >> [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ >> >> Signed-off-by: Giulio Benetti >> [yann.morin.1998 at free.fr: >> - reword to reference sub-addressing and the RFC >> - move to the "submitting patches" section, that already deals with >> SoB tags >> - differentiate between Your/Their names >> ] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) >> Signed-off-by: Peter Korsgaard >> --- >> docs/manual/contribute.txt | 17 +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> >> diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt >> index 94f1c64496..15fe36aef0 100644 >> --- a/docs/manual/contribute.txt >> +++ b/docs/manual/contribute.txt >> @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. >> See http://developercertificate.org/[the Developer Certificate of >> Origin] for details. >> >> +To give credits to who sponsored the creation of a patch or the process of >> +upstreaming it, you may use >> +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for >> +your git identity (i.e. what is used as commit author and email +From:+ >> +field, as well as your Signed-off-by tag); add suffix to the local part, >> +separated from it by a plus `+` sign. E.g.: >> + >> +* for a company which sponsored the submitted work, use the company name >> + as the detail (suffix) part: >> ++ >> +`Your-Name Your-Surname ` >> + >> +* for an individual who sponsored who sponsored the submitted work, use >> + their name and surname: >> ++ >> +`Your-Name Your-Surname ` >> + >> When adding new packages, you should submit every package in a >> separate patch. This patch should have the update to >> +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the >> >> >> ------------------------------ >> >> Message: 13 >> Date: Tue, 26 Sep 2023 10:01:19 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/nut: >> package/nut: specify --with-user/group when building NUT >> Message-ID: <20230926080604.4ECB187844 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=cb7613ffb7c1253ae05ef9b5cf6fb77bd421893f >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> This commit fixes a problem where the NUT package couldn't be >> used as a NUT server due to the fact that the default group for >> nobody is "nogroup" and not "nobody" like the internal default >> of NUT. Thus, when starting a NUT server daemon the daemon starts >> with incorrect group permissions. This commit fixes this >> shortcoming by introducing a dedicated 'nut' user and 'nut' group >> to drop priviledges to it. >> >> Signed-off-by: Jens Maus >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) >> Signed-off-by: Peter Korsgaard >> --- >> package/nut/nut.mk | 8 +++++++- >> 1 file changed, 7 insertions(+), 1 deletion(-) >> >> diff --git a/package/nut/nut.mk b/package/nut/nut.mk >> index fb98ba04f0..4c322aeb85 100644 >> --- a/package/nut/nut.mk >> +++ b/package/nut/nut.mk >> @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE >> NUT_CONF_OPTS = \ >> --with-altpidpath=/var/run/upsd \ >> --with-dev \ >> - --without-doc >> + --without-doc \ >> + --with-user=nut \ >> + --with-group=nut >> >> NUT_CONF_ENV = \ >> ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ >> @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ >> ac_cv_func_strncasecmp=yes \ >> ax_cv__printf_string_null=yes >> >> +define NUT_USERS >> + nut -1 nut -1 * - - - NUT user >> +endef >> + >> ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) >> NUT_CONF_OPTS += --with-drivers=auto >> else >> >> >> ------------------------------ >> >> Message: 14 >> Date: Tue, 26 Sep 2023 09:55:16 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] docs/manual: add >> section to explain how to give credits to a sponsor >> Message-ID: <20230926080604.42D8387842 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=175260e1e7ba60d4a427d3bf52a0fb342011d530 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Sometimes it happens that a Company or a Physical Person sponsors the >> creation and/or the upstreaming process of a patch, but at the moment >> there is no way to give credits to it. In Linux they prepend '+sponsor' >> to the e-mail of the contributor in both authorship and commit log tag as >> discussed here[0]. So let's describe in the manual how to do that as a >> standard. >> >> [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ >> >> Signed-off-by: Giulio Benetti >> [yann.morin.1998 at free.fr: >> - reword to reference sub-addressing and the RFC >> - move to the "submitting patches" section, that already deals with >> SoB tags >> - differentiate between Your/Their names >> ] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) >> Signed-off-by: Peter Korsgaard >> --- >> docs/manual/contribute.txt | 17 +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> >> diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt >> index 94f1c64496..15fe36aef0 100644 >> --- a/docs/manual/contribute.txt >> +++ b/docs/manual/contribute.txt >> @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. >> See http://developercertificate.org/[the Developer Certificate of >> Origin] for details. >> >> +To give credits to who sponsored the creation of a patch or the process of >> +upstreaming it, you may use >> +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for >> +your git identity (i.e. what is used as commit author and email +From:+ >> +field, as well as your Signed-off-by tag); add suffix to the local part, >> +separated from it by a plus `+` sign. E.g.: >> + >> +* for a company which sponsored the submitted work, use the company name >> + as the detail (suffix) part: >> ++ >> +`Your-Name Your-Surname ` >> + >> +* for an individual who sponsored who sponsored the submitted work, use >> + their name and surname: >> ++ >> +`Your-Name Your-Surname ` >> + >> When adding new packages, you should submit every package in a >> separate patch. This patch should have the update to >> +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the >> >> >> ------------------------------ >> >> Message: 15 >> Date: Tue, 26 Sep 2023 10:01:28 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/libpjsip: >> security bump to version 2.13.1 >> Message-ID: <20230926080604.5C7CE87845 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=7efe2b30fe58b021dd09672ca4b7f1ea4e1666a9 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Fixes the following security vulnerability: >> >> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet >> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr >> >> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. >> >> Signed-off-by: Peter Korsgaard >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) >> Signed-off-by: Peter Korsgaard >> --- >> .checkpackageignore | 2 - >> ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- >> ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ >> package/libpjsip/libpjsip.hash | 2 +- >> package/libpjsip/libpjsip.mk | 8 +- >> 5 files changed, 2 insertions(+), 163 deletions(-) >> >> diff --git a/.checkpackageignore b/.checkpackageignore >> index b6b9ba8bf1..428ff03233 100644 >> --- a/.checkpackageignore >> +++ b/.checkpackageignore >> @@ -754,8 +754,6 @@ package/liboping/0004-Fix-compile-error-on-GCC-7.patch Upstream >> package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch Upstream >> package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch Upstream >> package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch Upstream >> -package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch Upstream >> -package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch Upstream >> package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch Upstream >> package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch Upstream >> package/libpthsem/0001-fix-build-on-linux-3.x-host.patch Upstream >> diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> deleted file mode 100644 >> index 01e1878189..0000000000 >> --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> +++ /dev/null >> @@ -1,99 +0,0 @@ >> -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 >> -From: Nanang Izzuddin >> -Date: Tue, 20 Dec 2022 11:39:12 +0700 >> -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w >> - >> -* Fix buffer overread in STUN message decoder >> - >> -* Updates based on comments >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/include/pjnath/stun_msg.h | 4 ++++ >> - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- >> - 2 files changed, 15 insertions(+), 3 deletions(-) >> - >> -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h >> -index b52f95c586..e49f096f3a 100644 >> ---- a/pjnath/include/pjnath/stun_msg.h >> -+++ b/pjnath/include/pjnath/stun_msg.h >> -@@ -442,6 +442,7 @@ typedef enum pj_stun_status >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_msg_hdr >> - { >> - /** >> -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr >> - pj_uint8_t tsx_id[12]; >> - >> - } pj_stun_msg_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_attr_hdr >> - { >> - /** >> -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr >> - pj_uint16_t length; >> - >> - } pj_stun_attr_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index 3def6b3eac..e904a0ba47 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) >> - >> - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ >> - (a)->hdr.length=(pj_uint16_t)(l) >> --#define ATTR_HDR_LEN 4 >> -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) >> - >> - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) >> - { >> -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - status = pj_stun_msg_check(pdu, pdu_len, options); >> - if (status != PJ_SUCCESS) >> - return status; >> -+ } else { >> -+ /* For safety, verify packet length at least */ >> -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; >> -+ if (msg_len > pdu_len || >> -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) >> -+ { >> -+ return PJNATH_EINSTUNMSGLEN; >> -+ } >> - } >> - >> - /* Create the message, copy the header, and convert to host byte order */ >> -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - p_response = NULL; >> - >> - /* Parse attributes */ >> -- while (pdu_len >= 4) { >> -+ while (pdu_len >= ATTR_HDR_LEN) { >> - unsigned attr_type, attr_val_len; >> - const struct attr_desc *adesc; >> - >> -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - attr_val_len = (attr_val_len + 3) & (~3); >> - >> - /* Check length */ >> -- if (pdu_len < attr_val_len) { >> -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { >> - pj_str_t err_msg; >> - char err_msg_buf[80]; >> - >> diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> deleted file mode 100644 >> index 82249a2076..0000000000 >> --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> +++ /dev/null >> @@ -1,54 +0,0 @@ >> -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 >> -From: sauwming >> -Date: Fri, 23 Dec 2022 15:05:28 +0800 >> -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr >> - >> -* Fixed heap buffer overflow when parsing STUN errcode attribute >> - >> -* Also fixed uint parsing >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- >> - 1 file changed, 6 insertions(+), 5 deletions(-) >> - >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index c6b0bdd284..b55d29849a 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -- attr->value = GETVAL32H(buf, 4); >> -- >> - /* Check that the attribute length is valid */ >> - if (attr->hdr.length != 4) >> - return PJNATH_ESTUNINATTRLEN; >> - >> -+ attr->value = GETVAL32H(buf, 4); >> -+ >> - /* Done */ >> - *p_attr = attr; >> - >> -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -+ /* Check that the attribute length is valid */ >> -+ if (attr->hdr.length < 4) >> -+ return PJNATH_ESTUNINATTRLEN; >> -+ >> - attr->err_code = buf[6] * 100 + buf[7]; >> - >> - /* Get pointer to the string in the message */ >> - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); >> - value.slen = attr->hdr.length - 4; >> -- /* Make sure the length is never negative */ >> -- if (value.slen < 0) >> -- value.slen = 0; >> - >> - /* Copy the string to the attribute */ >> - pj_strdup(pool, &attr->reason, &value); >> diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash >> index 9935575567..2edd97bed4 100644 >> --- a/package/libpjsip/libpjsip.hash >> +++ b/package/libpjsip/libpjsip.hash >> @@ -1,3 +1,3 @@ >> # Locally computed >> -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz >> +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz >> sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING >> diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk >> index 24db641446..f97d547fd7 100644 >> --- a/package/libpjsip/libpjsip.mk >> +++ b/package/libpjsip/libpjsip.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -LIBPJSIP_VERSION = 2.13 >> +LIBPJSIP_VERSION = 2.13.1 >> LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz >> LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) >> >> @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip >> LIBPJSIP_INSTALL_STAGING = YES >> LIBPJSIP_MAKE = $(MAKE1) >> >> -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 >> - >> -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 >> - >> LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 >> >> # relocation truncated to fit: R_68K_GOT16O >> >> >> ------------------------------ >> >> Message: 16 >> Date: Tue, 26 Sep 2023 10:53:16 +0200 >> From: Peter Korsgaard >> To: "Yann E. MORIN" >> Cc: Jens Maus , Daniel Price >> , Martin Bark , >> buildroot at buildroot.org >> Subject: Re: [Buildroot] [PATCH v2] package/nodejs: fix parallel build >> Message-ID: <87msx9uxhf.fsf at 48ers.dk> >> Content-Type: text/plain >> >>>>>>> "Yann" == Yann E MORIN writes: >> > Jens, All, >> > On 2023-09-23 18:04 +0200, Jens Maus via buildroot spake thusly: >> >> In ninja-based nodejs builds performing parallel builds using "make -jX" >> >> is not working during buildroot initiated builds because the JOBS >> >> variable is not set in the MAKE_OPTS variables in nodejs.mk. This commit >> >> remedies the issue by setting JOBS to BR2_JLEVEL. >> >> > I was very confused that nodejs would not build in parallel; that would >> > have made for very, very,very long builds. And indeed, it does build in >> > parallel, in fact. >> >> > However, what it does, is use as many CPUs as are available, without >> > accounting for the value set by the user in BR2_JLEVEL, thus >> > overshooting the limits set by the user. > If the BR2_JLEVEL value is not explicitly mentioned, the JOBS value for > nodejs will still remain at 0 even when using make -jN. Tested with the > tag 2023.02.5 btw. Without the BR2_JLEVEL value, my system ran into > memory issue while compiling nodejs with the following dmesg log > > |Out of memory: Kill process 23747 (cc1plus) score 15 or sacrifice > child Killed process 23747, UID 2243, (cc1plus) total-vm:214456kB, > anon-rss:178936kB, file-rss:5908kB| Changing the mail subject line and resending. And also adding more info below. It's a 40 CPUs server with 64G RAM. When I try to build nodejs with `make nodejs V=1`, the server slows down and eventually hangs with dmesg log similar to above. I am wondering if anybody faces this!! I don't face the issue when the BR2_JLEVEL is set to max CPUs (40). > >> > So, I reworded the whoe commit log to explain that. >> >> > Applied to master, thanks. >> >> Committed to 2023.02.x, 2023.05.x and 2023.08.x, thanks. >> >> -- >> Bye, Peter Korsgaard >> >> >> ------------------------------ >> >> Message: 17 >> Date: Tue, 26 Sep 2023 10:51:09 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] package/nodejs: fix >> parallel build >> Message-ID: <20230926090112.255BA806AE at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=bc6771657fcb8f7042450567360333f18d980b99 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Unless told otherwise, ninja will spawn as many jobs as there are CPU >> (plus 2). Nodejs is built with ninja, but it is a generic package, so >> there is no variable (like with cmake-package) that passes the proper >> number of parallel jobs as configured by the user. >> >> As a consequence, the nodejs build will use as many CPU as are >> available, possibly overcommitting the rsources the user expected to be >> used. >> >> Set the JOBS variableto limit that number. >> >> Signed-off-by: Jens Maus >> [yann.morin.1998 at free.fr: reword commit log] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) >> Signed-off-by: Peter Korsgaard >> --- >> package/nodejs/nodejs.mk | 6 ++++-- >> 1 file changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk >> index fe629ada21..4e70bd71a3 100644 >> --- a/package/nodejs/nodejs.mk >> +++ b/package/nodejs/nodejs.mk >> @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ >> CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ >> LDFLAGS.host="$(HOST_LDFLAGS)" \ >> NO_LOAD=cctest.target.mk \ >> - PATH=$(@D)/bin:$(BR_PATH) >> + PATH=$(@D)/bin:$(BR_PATH) \ >> + JOBS=$(BR2_JLEVEL) >> >> NODEJS_MAKE_OPTS = \ >> $(TARGET_CONFIGURE_OPTS) \ >> NO_LOAD=cctest.target.mk \ >> PATH=$(@D)/bin:$(BR_PATH) \ >> LDFLAGS="$(NODEJS_LDFLAGS)" \ >> - LD="$(TARGET_CXX)" >> + LD="$(TARGET_CXX)" \ >> + JOBS=$(BR2_JLEVEL) >> >> # nodejs's build system uses python which can be a symlink to an unsupported >> # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by >> >> >> ------------------------------ >> >> Message: 18 >> Date: Tue, 26 Sep 2023 10:50:22 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/nodejs: fix >> parallel build >> Message-ID: <20230926090112.7CD23806AE at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=9c4ef96fe8f213e713afee84dc6e642b1987e9fe >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Unless told otherwise, ninja will spawn as many jobs as there are CPU >> (plus 2). Nodejs is built with ninja, but it is a generic package, so >> there is no variable (like with cmake-package) that passes the proper >> number of parallel jobs as configured by the user. >> >> As a consequence, the nodejs build will use as many CPU as are >> available, possibly overcommitting the rsources the user expected to be >> used. >> >> Set the JOBS variableto limit that number. >> >> Signed-off-by: Jens Maus >> [yann.morin.1998 at free.fr: reword commit log] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) >> Signed-off-by: Peter Korsgaard >> --- >> package/nodejs/nodejs.mk | 6 ++++-- >> 1 file changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk >> index fe629ada21..4e70bd71a3 100644 >> --- a/package/nodejs/nodejs.mk >> +++ b/package/nodejs/nodejs.mk >> @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ >> CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ >> LDFLAGS.host="$(HOST_LDFLAGS)" \ >> NO_LOAD=cctest.target.mk \ >> - PATH=$(@D)/bin:$(BR_PATH) >> + PATH=$(@D)/bin:$(BR_PATH) \ >> + JOBS=$(BR2_JLEVEL) >> >> NODEJS_MAKE_OPTS = \ >> $(TARGET_CONFIGURE_OPTS) \ >> NO_LOAD=cctest.target.mk \ >> PATH=$(@D)/bin:$(BR_PATH) \ >> LDFLAGS="$(NODEJS_LDFLAGS)" \ >> - LD="$(TARGET_CXX)" >> + LD="$(TARGET_CXX)" \ >> + JOBS=$(BR2_JLEVEL) >> >> # nodejs's build system uses python which can be a symlink to an unsupported >> # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by >> >> >> ------------------------------ >> >> Message: 19 >> Date: Tue, 26 Sep 2023 10:51:16 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] package/nodejs: fix >> parallel build >> Message-ID: <20230926090230.69E1D80DC9 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=c132c520872ca3435e7c4218da498358fe0e3053 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> Unless told otherwise, ninja will spawn as many jobs as there are CPU >> (plus 2). Nodejs is built with ninja, but it is a generic package, so >> there is no variable (like with cmake-package) that passes the proper >> number of parallel jobs as configured by the user. >> >> As a consequence, the nodejs build will use as many CPU as are >> available, possibly overcommitting the rsources the user expected to be >> used. >> >> Set the JOBS variableto limit that number. >> >> Signed-off-by: Jens Maus >> [yann.morin.1998 at free.fr: reword commit log] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 84c24ab1b5a7d38b481b37a759480ff2273b499d) >> Signed-off-by: Peter Korsgaard >> --- >> package/nodejs/nodejs.mk | 6 ++++-- >> 1 file changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk >> index 225b371786..ff32ae6c13 100644 >> --- a/package/nodejs/nodejs.mk >> +++ b/package/nodejs/nodejs.mk >> @@ -46,14 +46,16 @@ HOST_NODEJS_MAKE_OPTS = \ >> CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ >> LDFLAGS.host="$(HOST_LDFLAGS)" \ >> NO_LOAD=cctest.target.mk \ >> - PATH=$(@D)/bin:$(BR_PATH) >> + PATH=$(@D)/bin:$(BR_PATH) \ >> + JOBS=$(BR2_JLEVEL) >> >> NODEJS_MAKE_OPTS = \ >> $(TARGET_CONFIGURE_OPTS) \ >> NO_LOAD=cctest.target.mk \ >> PATH=$(@D)/bin:$(BR_PATH) \ >> LDFLAGS="$(NODEJS_LDFLAGS)" \ >> - LD="$(TARGET_CXX)" >> + LD="$(TARGET_CXX)" \ >> + JOBS=$(BR2_JLEVEL) >> >> # nodejs's build system uses python which can be a symlink to an unsupported >> # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by >> >> >> ------------------------------ >> >> Message: 20 >> Date: Tue, 26 Sep 2023 10:01:09 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] package/nut: >> package/nut: specify --with-user/group when building NUT >> Message-ID: <20230926090230.58DDD80DA8 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=939ff67d15b7db28d67473b1503d1870578a83ca >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> This commit fixes a problem where the NUT package couldn't be >> used as a NUT server due to the fact that the default group for >> nobody is "nogroup" and not "nobody" like the internal default >> of NUT. Thus, when starting a NUT server daemon the daemon starts >> with incorrect group permissions. This commit fixes this >> shortcoming by introducing a dedicated 'nut' user and 'nut' group >> to drop priviledges to it. >> >> Signed-off-by: Jens Maus >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit cd46e1b1439e854dc9e4c016795d6e5276e4c573) >> Signed-off-by: Peter Korsgaard >> --- >> package/nut/nut.mk | 8 +++++++- >> 1 file changed, 7 insertions(+), 1 deletion(-) >> >> diff --git a/package/nut/nut.mk b/package/nut/nut.mk >> index fb98ba04f0..4c322aeb85 100644 >> --- a/package/nut/nut.mk >> +++ b/package/nut/nut.mk >> @@ -24,7 +24,9 @@ NUT_POST_PATCH_HOOKS += NUT_FIX_CONFIGURE >> NUT_CONF_OPTS = \ >> --with-altpidpath=/var/run/upsd \ >> --with-dev \ >> - --without-doc >> + --without-doc \ >> + --with-user=nut \ >> + --with-group=nut >> >> NUT_CONF_ENV = \ >> ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no \ >> @@ -34,6 +36,10 @@ NUT_CONF_ENV = \ >> ac_cv_func_strncasecmp=yes \ >> ax_cv__printf_string_null=yes >> >> +define NUT_USERS >> + nut -1 nut -1 * - - - NUT user >> +endef >> + >> ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) >> NUT_CONF_OPTS += --with-drivers=auto >> else >> >> >> ------------------------------ >> >> Message: 21 >> Date: Tue, 26 Sep 2023 10:02:05 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] package/libpjsip: >> security bump to version 2.13.1 >> Message-ID: <20230926090230.6169880DB3 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=243ea6eb2927bdb689efbd3e61a1076e887944f3 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> Fixes the following security vulnerability: >> >> - CVE-2023-27585: Heap buffer overflow when parsing DNS packet >> https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr >> >> Drop now upstreamed security fixes for CVE-2022-23537 and CVE-2022-23547. >> >> Signed-off-by: Peter Korsgaard >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit 7447700f057a4bf8b2ee84c22a2319ab05f9aeea) >> Signed-off-by: Peter Korsgaard >> --- >> ...rge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch | 99 ---------------------- >> ...rge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch | 54 ------------ >> package/libpjsip/libpjsip.hash | 2 +- >> package/libpjsip/libpjsip.mk | 8 +- >> 4 files changed, 2 insertions(+), 161 deletions(-) >> >> diff --git a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch b/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> deleted file mode 100644 >> index 01e1878189..0000000000 >> --- a/package/libpjsip/0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> +++ /dev/null >> @@ -1,99 +0,0 @@ >> -From d8440f4d711a654b511f50f79c0445b26f9dd1e1 Mon Sep 17 00:00:00 2001 >> -From: Nanang Izzuddin >> -Date: Tue, 20 Dec 2022 11:39:12 +0700 >> -Subject: [PATCH] Merge pull request from GHSA-9pfh-r8x4-w26w >> - >> -* Fix buffer overread in STUN message decoder >> - >> -* Updates based on comments >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/include/pjnath/stun_msg.h | 4 ++++ >> - pjnath/src/pjnath/stun_msg.c | 14 +++++++++++--- >> - 2 files changed, 15 insertions(+), 3 deletions(-) >> - >> -diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h >> -index b52f95c586..e49f096f3a 100644 >> ---- a/pjnath/include/pjnath/stun_msg.h >> -+++ b/pjnath/include/pjnath/stun_msg.h >> -@@ -442,6 +442,7 @@ typedef enum pj_stun_status >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_msg_hdr >> - { >> - /** >> -@@ -473,6 +474,7 @@ typedef struct pj_stun_msg_hdr >> - pj_uint8_t tsx_id[12]; >> - >> - } pj_stun_msg_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -@@ -490,6 +492,7 @@ typedef struct pj_stun_msg_hdr >> - >> - \endverbatim >> - */ >> -+#pragma pack(1) >> - typedef struct pj_stun_attr_hdr >> - { >> - /** >> -@@ -506,6 +509,7 @@ typedef struct pj_stun_attr_hdr >> - pj_uint16_t length; >> - >> - } pj_stun_attr_hdr; >> -+#pragma pack() >> - >> - >> - /** >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index 3def6b3eac..e904a0ba47 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -746,7 +746,7 @@ PJ_DEF(int) pj_stun_set_padding_char(int chr) >> - >> - #define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ >> - (a)->hdr.length=(pj_uint16_t)(l) >> --#define ATTR_HDR_LEN 4 >> -+#define ATTR_HDR_LEN sizeof(pj_stun_attr_hdr) >> - >> - static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) >> - { >> -@@ -2327,6 +2327,14 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - status = pj_stun_msg_check(pdu, pdu_len, options); >> - if (status != PJ_SUCCESS) >> - return status; >> -+ } else { >> -+ /* For safety, verify packet length at least */ >> -+ pj_uint32_t msg_len = GETVAL16H(pdu, 2) + 20; >> -+ if (msg_len > pdu_len || >> -+ ((options & PJ_STUN_IS_DATAGRAM) && msg_len != pdu_len)) >> -+ { >> -+ return PJNATH_EINSTUNMSGLEN; >> -+ } >> - } >> - >> - /* Create the message, copy the header, and convert to host byte order */ >> -@@ -2345,7 +2353,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - p_response = NULL; >> - >> - /* Parse attributes */ >> -- while (pdu_len >= 4) { >> -+ while (pdu_len >= ATTR_HDR_LEN) { >> - unsigned attr_type, attr_val_len; >> - const struct attr_desc *adesc; >> - >> -@@ -2357,7 +2365,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, >> - attr_val_len = (attr_val_len + 3) & (~3); >> - >> - /* Check length */ >> -- if (pdu_len < attr_val_len) { >> -+ if (pdu_len < attr_val_len + ATTR_HDR_LEN) { >> - pj_str_t err_msg; >> - char err_msg_buf[80]; >> - >> diff --git a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch b/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> deleted file mode 100644 >> index 82249a2076..0000000000 >> --- a/package/libpjsip/0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> +++ /dev/null >> @@ -1,54 +0,0 @@ >> -From bc4812d31a67d5e2f973fbfaf950d6118226cf36 Mon Sep 17 00:00:00 2001 >> -From: sauwming >> -Date: Fri, 23 Dec 2022 15:05:28 +0800 >> -Subject: [PATCH] Merge pull request from GHSA-cxwq-5g9x-x7fr >> - >> -* Fixed heap buffer overflow when parsing STUN errcode attribute >> - >> -* Also fixed uint parsing >> - >> -[Retrieved from: >> -https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36] >> -Signed-off-by: Fabrice Fontaine >> ---- >> - pjnath/src/pjnath/stun_msg.c | 11 ++++++----- >> - 1 file changed, 6 insertions(+), 5 deletions(-) >> - >> -diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c >> -index c6b0bdd284..b55d29849a 100644 >> ---- a/pjnath/src/pjnath/stun_msg.c >> -+++ b/pjnath/src/pjnath/stun_msg.c >> -@@ -1438,12 +1438,12 @@ static pj_status_t decode_uint_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -- attr->value = GETVAL32H(buf, 4); >> -- >> - /* Check that the attribute length is valid */ >> - if (attr->hdr.length != 4) >> - return PJNATH_ESTUNINATTRLEN; >> - >> -+ attr->value = GETVAL32H(buf, 4); >> -+ >> - /* Done */ >> - *p_attr = attr; >> - >> -@@ -1757,14 +1757,15 @@ static pj_status_t decode_errcode_attr(pj_pool_t *pool, >> - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); >> - GETATTRHDR(buf, &attr->hdr); >> - >> -+ /* Check that the attribute length is valid */ >> -+ if (attr->hdr.length < 4) >> -+ return PJNATH_ESTUNINATTRLEN; >> -+ >> - attr->err_code = buf[6] * 100 + buf[7]; >> - >> - /* Get pointer to the string in the message */ >> - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); >> - value.slen = attr->hdr.length - 4; >> -- /* Make sure the length is never negative */ >> -- if (value.slen < 0) >> -- value.slen = 0; >> - >> - /* Copy the string to the attribute */ >> - pj_strdup(pool, &attr->reason, &value); >> diff --git a/package/libpjsip/libpjsip.hash b/package/libpjsip/libpjsip.hash >> index 9935575567..2edd97bed4 100644 >> --- a/package/libpjsip/libpjsip.hash >> +++ b/package/libpjsip/libpjsip.hash >> @@ -1,3 +1,3 @@ >> # Locally computed >> -sha256 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9 pjproject-2.13.tar.gz >> +sha256 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d pjproject-2.13.1.tar.gz >> sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING >> diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk >> index 24db641446..f97d547fd7 100644 >> --- a/package/libpjsip/libpjsip.mk >> +++ b/package/libpjsip/libpjsip.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -LIBPJSIP_VERSION = 2.13 >> +LIBPJSIP_VERSION = 2.13.1 >> LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz >> LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) >> >> @@ -15,12 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip >> LIBPJSIP_INSTALL_STAGING = YES >> LIBPJSIP_MAKE = $(MAKE1) >> >> -# 0001-Merge-pull-request-from-GHSA-9pfh-r8x4-w26w.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23537 >> - >> -# 0002-Merge-pull-request-from-GHSA-cxwq-5g9x-x7fr.patch >> -LIBPJSIP_IGNORE_CVES += CVE-2022-23547 >> - >> LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 >> >> # relocation truncated to fit: R_68K_GOT16O >> >> >> ------------------------------ >> >> Message: 22 >> Date: Tue, 26 Sep 2023 09:55:31 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] docs/manual: add >> section to explain how to give credits to a sponsor >> Message-ID: <20230926090230.4E97180DA6 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=7da37962ced51497d9060c845b9f215fc67ec070 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> Sometimes it happens that a Company or a Physical Person sponsors the >> creation and/or the upstreaming process of a patch, but at the moment >> there is no way to give credits to it. In Linux they prepend '+sponsor' >> to the e-mail of the contributor in both authorship and commit log tag as >> discussed here[0]. So let's describe in the manual how to do that as a >> standard. >> >> [0]: https://lore.kernel.org/linux-doc/20230817220957.41582-1-giulio.benetti at benettiengineering.com/ >> >> Signed-off-by: Giulio Benetti >> [yann.morin.1998 at free.fr: >> - reword to reference sub-addressing and the RFC >> - move to the "submitting patches" section, that already deals with >> SoB tags >> - differentiate between Your/Their names >> ] >> Signed-off-by: Yann E. MORIN >> (cherry picked from commit de349df08c653a822166f94dbe01295a5a3cfa6e) >> Signed-off-by: Peter Korsgaard >> --- >> docs/manual/contribute.txt | 17 +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> >> diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt >> index 94f1c64496..15fe36aef0 100644 >> --- a/docs/manual/contribute.txt >> +++ b/docs/manual/contribute.txt >> @@ -247,6 +247,23 @@ which have the upstream license), and that you are allowed to do so. >> See http://developercertificate.org/[the Developer Certificate of >> Origin] for details. >> >> +To give credits to who sponsored the creation of a patch or the process of >> +upstreaming it, you may use >> +https://datatracker.ietf.org/doc/html/rfc5233[email subaddressing] for >> +your git identity (i.e. what is used as commit author and email +From:+ >> +field, as well as your Signed-off-by tag); add suffix to the local part, >> +separated from it by a plus `+` sign. E.g.: >> + >> +* for a company which sponsored the submitted work, use the company name >> + as the detail (suffix) part: >> ++ >> +`Your-Name Your-Surname ` >> + >> +* for an individual who sponsored who sponsored the submitted work, use >> + their name and surname: >> ++ >> +`Your-Name Your-Surname ` >> + >> When adding new packages, you should submit every package in a >> separate patch. This patch should have the update to >> +package/Config.in+, the package +Config.in+ file, the +.mk+ file, the >> >> >> ------------------------------ >> >> Message: 23 >> Date: Tue, 26 Sep 2023 11:11:57 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Thomas Petazzoni , Maxime Chevallier >> , Giulio Benetti >> , "Yann E . MORIN" >> , Pierre Floury >> Subject: [Buildroot] [PATCH v2 3/4] package/linux-tools: add rtla >> Message-ID: >> <20230926091158.3767645-3-giulio.benetti at benettiengineering.com> >> >> From: Maxime Chevallier >> >> The RealTime Linux Analysis tool includes a set of commands that relies >> on the osnoise and timerlat tracers from the ftrace kernel subsystem, >> allowing to analyze the lantency sources coming from the hardware and >> the kernel itself. >> >> This tool was introduced in v5.17, and relies on libtracefs and >> libtraceevent, although libtraceevent itself is already a dependency for >> libtracefs. >> >> Signed-off-by: Maxime Chevallier >> [Giulio: fix install with recent Linux versions] >> Signed-off-by: Giulio Benetti >> --- >> Giulio: >> V1->V2: >> * fix install with recent Linux versions >> --- >> DEVELOPERS | 1 + >> package/linux-tools/Config.in | 10 +++++++ >> package/linux-tools/linux-tool-rtla.mk.in | 36 +++++++++++++++++++++++ >> 3 files changed, 47 insertions(+) >> create mode 100644 package/linux-tools/linux-tool-rtla.mk.in >> >> diff --git a/DEVELOPERS b/DEVELOPERS >> index 835c269461..31bfc67c8a 100644 >> --- a/DEVELOPERS >> +++ b/DEVELOPERS >> @@ -2099,6 +2099,7 @@ F: package/timescaledb/ >> N: Maxime Chevallier >> F: package/libtraceevent/ >> F: package/libtracefs >> +F: package/linux-tools/linux-tool-rtla.mk.in >> >> N: Michael Durrant >> F: board/arcturus/ >> diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in >> index 451b0eeff5..63e2796e45 100644 >> --- a/package/linux-tools/Config.in >> +++ b/package/linux-tools/Config.in >> @@ -102,6 +102,16 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3 >> >> endif >> >> +config BR2_PACKAGE_LINUX_TOOLS_RTLA >> + bool "rtla" >> + select BR2_PACKAGE_LINUX_TOOLS >> + select BR2_PACKAGE_LIBTRACEFS >> + help >> + Linux 5.17 and later has 2 new tracers, osnoise and timerlat. >> + There tracers allow performing latency analysis, for which >> + the rtla tool provides wrapper commands to visualize and >> + extrace latency traces and reports. >> + >> config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS >> bool"selftests" >> depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash >> diff --git a/package/linux-tools/linux-tool-rtla.mk.in b/package/linux-tools/linux-tool-rtla.mk.in >> new file mode 100644 >> index 0000000000..a14571bb1c >> --- /dev/null >> +++ b/package/linux-tools/linux-tool-rtla.mk.in >> @@ -0,0 +1,36 @@ >> +################################################################################ >> +# >> +# rtla >> +# >> +################################################################################ >> + >> +LINUX_TOOLS += rtla >> + >> +RTLA_DEPENDENCIES = host-pkgconf libtracefs >> +RTLA_MAKE_OPTS = $(LINUX_MAKE_FLAGS) \ >> + CC=$(TARGET_CC) \ >> + LDFLAGS="$(TARGET_LDFLAGS)" \ >> + PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig >> + >> +define RTLA_BUILD_CMDS >> + $(Q)if ! grep install $(LINUX_DIR)/tools/tracing/rtla/Makefile >/dev/null 2>&1 ; then \ >> + echo "Your kernel version is too old and does not implement the rtla tool." ; \ >> + echo "At least kernel 5.17 must be used." ; \ >> + exit 1 ; \ >> + fi >> + >> + $(TARGET_MAKE_ENV) \ >> + $(MAKE) $(RTLA_MAKE_OPTS) \ >> + -C $(LINUX_DIR)/tools/tracing rtla >> +endef >> + >> +# make rtla_install build and install by default documentation using rst2man >> +# but it's not available in Buildroot and we don't want manual files in target >> +# folder so let's simply install the resulting rtla binary and create symlinks >> +# like Linux does in its tools/tracing/rtla/Makefile >> +define RTLA_INSTALL_TARGET_CMDS >> + $(INSTALL) -m 0755 -D $(LINUX_DIR)/tools/tracing/rtla/rtla $(TARGET_DIR)/usr/bin >> + ln -sf rtla $(TARGET_DIR)/usr/bin/osnoise >> + ln -sf rtla $(TARGET_DIR)/usr/bin/hwnoise >> + ln -sf rtla $(TARGET_DIR)/usr/bin/timerlat >> +endef >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 24 >> Date: Tue, 26 Sep 2023 11:11:58 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Thomas Petazzoni , Maxime Chevallier >> , Giulio Benetti >> , "Yann E . MORIN" >> , Pierre Floury >> Subject: [Buildroot] [PATCH v2 4/4] package/trace-cmd: bump to 3.1.7 >> Message-ID: >> <20230926091158.3767645-4-giulio.benetti at benettiengineering.com> >> >> From: Maxime Chevallier >> >> trace-cmd's dependencies 'libtracefs' and 'libtraceevent' were split >> into dedicated projects, maintained outside of trace-cmd. >> >> This release, on top of bumping the version, adds this new dependencies. >> >> Signed-off-by: Maxime Chevallier >> [Giulio: bump to version 3.1.7] >> Signed-off-by: Giulio Benetti >> --- >> Giulio: >> V1->V2: >> * bump to version 3.1.7 >> --- >> package/trace-cmd/Config.in | 2 ++ >> package/trace-cmd/trace-cmd.hash | 2 +- >> package/trace-cmd/trace-cmd.mk | 6 ++++-- >> 3 files changed, 7 insertions(+), 3 deletions(-) >> >> diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in >> index 2d0accd7ae..00b9ebbd9a 100644 >> --- a/package/trace-cmd/Config.in >> +++ b/package/trace-cmd/Config.in >> @@ -4,6 +4,8 @@ config BR2_PACKAGE_TRACE_CMD >> depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL >> depends on BR2_USE_MMU # fork() >> depends on !BR2_STATIC_LIBS # dlopen() >> + select BR2_PACKAGE_LIBTRACEEVENT >> + select BR2_PACKAGE_LIBTRACEFS >> help >> Command line reader for ftrace. >> >> diff --git a/package/trace-cmd/trace-cmd.hash b/package/trace-cmd/trace-cmd.hash >> index 4d39e4d5ea..6edcaf0e1c 100644 >> --- a/package/trace-cmd/trace-cmd.hash >> +++ b/package/trace-cmd/trace-cmd.hash >> @@ -1,5 +1,5 @@ >> # Locally computed >> -sha256 a74d9ade2633b88d0ad199360d51996427e23f4835594133e456cd6e3bd3a651 trace-cmd-v2.9.7.tar.gz >> +sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz >> sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING >> sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB >> sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 >> diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk >> index 52bb99036c..3d4d88c964 100644 >> --- a/package/trace-cmd/trace-cmd.mk >> +++ b/package/trace-cmd/trace-cmd.mk >> @@ -4,14 +4,14 @@ >> # >> ################################################################################ >> >> -TRACE_CMD_VERSION = 2.9.7 >> +TRACE_CMD_VERSION = 3.1.7 >> TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz >> TRACE_CMD_SITE = \ >> https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot >> TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 >> TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 >> >> -TRACE_CMD_DEPENDENCIES = host-pkgconf >> +TRACE_CMD_DEPENDENCIES = host-pkgconf libtracefs libtraceevent >> TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc >> >> ifeq ($(BR2_PACKAGE_AUDIT),y) >> @@ -34,6 +34,8 @@ ifeq ($(BR2_sparc64),y) >> TRACE_CMD_CFLAGS += -fPIC >> endif >> >> +TRACE_CMD_CFLAGS += $($(HOST_DIR)/bin/pkg-config --cflags libtracefs) >> + >> # trace-cmd use CPPFLAGS to add some extra flags. >> # But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE >> # that causes build problems. >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 25 >> Date: Tue, 26 Sep 2023 11:11:55 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Thomas Petazzoni , Maxime Chevallier >> , Giulio Benetti >> , "Yann E . MORIN" >> , Pierre Floury >> Subject: [Buildroot] [PATCH v2 1/4] package/libtraceevent: new package >> Message-ID: >> <20230926091158.3767645-1-giulio.benetti at benettiengineering.com> >> >> From: Maxime Chevallier >> >> Introduce the libtraceevent library, that used to be bundled with the >> trace-cmd tool. This library is now used by several tools and libraries >> such as trace-cmd, libtracefs and rtla. >> >> This package tries to install libraries in /usr/local/lib by default, >> hence the redefinition of the "prefix" variable, so that the library >> gets installed in "/usr/lib" instead. >> >> The same applies to the pkgconfig handling of the proved Makefile, which >> installs the .pc files in the /usr/local area by default, hence the >> redefinition of the pkgconfig_dir to either the correct directory within the >> staging area, or to empty value for the target to avoid installing the .pc >> in that case. >> >> Signed-off-by: Maxime Chevallier >> [Giulio: bump version to 1.7.3 and add hash file] >> Signed-off-by: Giulio Benetti >> --- >> Giulio: >> V1->V2: >> * bump to version 1.7.3 >> * add hash file >> --- >> DEVELOPERS | 3 +++ >> package/Config.in | 1 + >> package/libtraceevent/Config.in | 9 +++++++ >> package/libtraceevent/libtraceevent.hash | 4 +++ >> package/libtraceevent/libtraceevent.mk | 33 ++++++++++++++++++++++++ >> 5 files changed, 50 insertions(+) >> create mode 100644 package/libtraceevent/Config.in >> create mode 100644 package/libtraceevent/libtraceevent.hash >> create mode 100644 package/libtraceevent/libtraceevent.mk >> >> diff --git a/DEVELOPERS b/DEVELOPERS >> index 38973a75dc..306c3cf2be 100644 >> --- a/DEVELOPERS >> +++ b/DEVELOPERS >> @@ -2096,6 +2096,9 @@ F: package/postgresql/ >> F: package/protozero/ >> F: package/timescaledb/ >> >> +N: Maxime Chevallier >> +F: package/libtraceevent/ >> + >> N: Michael Durrant >> F: board/arcturus/ >> F: configs/arcturus_ucp1020_defconfig >> diff --git a/package/Config.in b/package/Config.in >> index 1e8b6f90c1..cb7afd188e 100644 >> --- a/package/Config.in >> +++ b/package/Config.in >> @@ -117,6 +117,7 @@ menu "Debugging, profiling and benchmark" >> source "package/kyua/Config.in" >> source "package/latencytop/Config.in" >> source "package/libbpf/Config.in" >> + source "package/libtraceevent/Config.in" >> source "package/lmbench/Config.in" >> source "package/lsof/Config.in" >> source "package/ltp-testsuite/Config.in" >> diff --git a/package/libtraceevent/Config.in b/package/libtraceevent/Config.in >> new file mode 100644 >> index 0000000000..d351e3b4de >> --- /dev/null >> +++ b/package/libtraceevent/Config.in >> @@ -0,0 +1,9 @@ >> +config BR2_PACKAGE_LIBTRACEEVENT >> + bool "libtraceevent" >> + help >> + libtraceevent is a library that interfaces with the ftrace >> + subsystem in the linux kernel. >> + It used to be bundled directly in the trace-cmd >> + tool, but it was eventually extracted so that it can be used >> + by multiple other tools and libraries, such as libtracefs and >> + rtla. >> diff --git a/package/libtraceevent/libtraceevent.hash b/package/libtraceevent/libtraceevent.hash >> new file mode 100644 >> index 0000000000..15c4883afd >> --- /dev/null >> +++ b/package/libtraceevent/libtraceevent.hash >> @@ -0,0 +1,4 @@ >> +# Locally computed >> +sha256 097b72e0d907f3107825fb2edf0188324bf70dc9da360f6efa68dc484ffde541 libtraceevent-1.7.3.tar.gz >> +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 >> +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 >> diff --git a/package/libtraceevent/libtraceevent.mk b/package/libtraceevent/libtraceevent.mk >> new file mode 100644 >> index 0000000000..75c23f7410 >> --- /dev/null >> +++ b/package/libtraceevent/libtraceevent.mk >> @@ -0,0 +1,33 @@ >> +################################################################################ >> +# >> +# libtraceevent >> +# >> +################################################################################ >> + >> +LIBTRACEEVENT_VERSION = 1.7.3 >> +LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot >> +LIBTRACEEVENT_INSTALL_STAGING = YES >> +LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 >> +LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 >> + >> +define LIBTRACEEVENT_BUILD_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) >> +endef >> + >> +define LIBTRACEEVENT_INSTALL_STAGING_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + DESTDIR=$(STAGING_DIR) \ >> + pkgconfig_dir="/usr/lib/pkgconfig" \ >> + prefix="/usr" \ >> + install >> +endef >> + >> +define LIBTRACEEVENT_INSTALL_TARGET_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + DESTDIR=$(TARGET_DIR) \ >> + pkgconfig_dir="" \ >> + prefix="/usr" \ >> + install >> +endef >> + >> +$(eval $(generic-package)) >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 26 >> Date: Tue, 26 Sep 2023 11:11:56 +0200 >> From: Giulio Benetti >> To: buildroot at buildroot.org >> Cc: Thomas Petazzoni , Maxime Chevallier >> , Giulio Benetti >> , "Yann E . MORIN" >> , Pierre Floury >> Subject: [Buildroot] [PATCH v2 2/4] package/libtracefs: new package >> Message-ID: >> <20230926091158.3767645-2-giulio.benetti at benettiengineering.com> >> >> From: Maxime Chevallier >> >> Introduce the libtracefs library, that used to be bundled with the >> trace-cmd tool. This library is now used by several tools and libraries >> such as trace-cmd and rtla, and is used as an interface to the ftrace >> kernel subsystem through tracefs. >> >> This package tries to install libraries in /usr/local/lib by default, >> hence the redefinition of the "prefix" variable, so that the library >> gets installed in "/usr/lib" instead. >> >> The same applies to the pkgconfig handling of the proved Makefile, which >> installs the .pc files in the /usr/local area by default, hence the >> redefinition of the pkgconfig_dir to either the correct directory within the >> staging area, or to empty value for the target to avoid installing the .pc >> in that case. >> >> Signed-off-by: Maxime Chevallier >> [Giulio: bump version to 1.7.0 and add hash file] >> Signeg-off-by: Giulio Benetti >> --- >> Giulio: >> V1->V2: >> * bump to version 1.7.0 >> * add hash file >> --- >> DEVELOPERS | 1 + >> package/Config.in | 1 + >> package/libtracefs/Config.in | 6 +++++ >> package/libtracefs/libtracefs.hash | 4 ++++ >> package/libtracefs/libtracefs.mk | 35 ++++++++++++++++++++++++++++++ >> 5 files changed, 47 insertions(+) >> create mode 100644 package/libtracefs/Config.in >> create mode 100644 package/libtracefs/libtracefs.hash >> create mode 100644 package/libtracefs/libtracefs.mk >> >> diff --git a/DEVELOPERS b/DEVELOPERS >> index 306c3cf2be..835c269461 100644 >> --- a/DEVELOPERS >> +++ b/DEVELOPERS >> @@ -2098,6 +2098,7 @@ F: package/timescaledb/ >> >> N: Maxime Chevallier >> F: package/libtraceevent/ >> +F: package/libtracefs >> >> N: Michael Durrant >> F: board/arcturus/ >> diff --git a/package/Config.in b/package/Config.in >> index cb7afd188e..bd30e956bd 100644 >> --- a/package/Config.in >> +++ b/package/Config.in >> @@ -118,6 +118,7 @@ menu "Debugging, profiling and benchmark" >> source "package/latencytop/Config.in" >> source "package/libbpf/Config.in" >> source "package/libtraceevent/Config.in" >> + source "package/libtracefs/Config.in" >> source "package/lmbench/Config.in" >> source "package/lsof/Config.in" >> source "package/ltp-testsuite/Config.in" >> diff --git a/package/libtracefs/Config.in b/package/libtracefs/Config.in >> new file mode 100644 >> index 0000000000..92ce0986df >> --- /dev/null >> +++ b/package/libtracefs/Config.in >> @@ -0,0 +1,6 @@ >> +config BR2_PACKAGE_LIBTRACEFS >> + bool "libtracefs" >> + select BR2_PACKAGE_LIBTRACEEVENT >> + help >> + libtracefs is used to easily interface with the ftrace >> + interface through the tracefs virtual filesystem. >> diff --git a/package/libtracefs/libtracefs.hash b/package/libtracefs/libtracefs.hash >> new file mode 100644 >> index 0000000000..676fcf1111 >> --- /dev/null >> +++ b/package/libtracefs/libtracefs.hash >> @@ -0,0 +1,4 @@ >> +# Locally computed >> +sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz >> +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 >> +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 >> diff --git a/package/libtracefs/libtracefs.mk b/package/libtracefs/libtracefs.mk >> new file mode 100644 >> index 0000000000..0b32b2102a >> --- /dev/null >> +++ b/package/libtracefs/libtracefs.mk >> @@ -0,0 +1,35 @@ >> +################################################################################ >> +# >> +# libtracefs >> +# >> +################################################################################ >> + >> +LIBTRACEFS_VERSION = 1.7.0 >> +LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot >> +LIBTRACEFS_INSTALL_STAGING = YES >> +LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1 >> +LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 >> + >> +LIBTRACEFS_DEPENDENCIES = host-pkgconf libtraceevent >> + >> +define LIBTRACEFS_BUILD_CMDS >> + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) >> +endef >> + >> +define LIBTRACEFS_INSTALL_STAGING_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + DESTDIR=$(STAGING_DIR) \ >> + pkgconfig_dir="/usr/lib/pkgconfig" \ >> + prefix="/usr" \ >> + install >> +endef >> + >> +define LIBTRACEFS_INSTALL_TARGET_CMDS >> + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + DESTDIR=$(TARGET_DIR) \ >> + pkgconfig_dir="" \ >> + prefix="/usr" \ >> + install >> +endef >> + >> +$(eval $(generic-package)) >> -- >> 2.34.1 >> >> >> >> ------------------------------ >> >> Message: 27 >> Date: Tue, 26 Sep 2023 13:51:12 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.08.x] package/libopenssl: >> bump to version 3.0.11 >> Message-ID: <20230926115319.E953E81426 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=f4c3e4a55e4b43dec6dece3ee47c199cd5775f77 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x >> >> Fixes CVE-2023-4807 (Windows-only): >> https://www.openssl.org/news/vulnerabilities.html >> >> Changelog: https://www.openssl.org/news/openssl-3.0-notes.html >> >> Signed-off-by: Peter Korsgaard >> --- >> package/libopenssl/libopenssl.hash | 4 ++-- >> package/libopenssl/libopenssl.mk | 2 +- >> 2 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash >> index b43281c7eb..27e2c73d1d 100644 >> --- a/package/libopenssl/libopenssl.hash >> +++ b/package/libopenssl/libopenssl.hash >> @@ -1,5 +1,5 @@ >> -# From https://www.openssl.org/source/openssl-3.0.10.tar.gz.sha256 >> -sha256 1761d4f5b13a1028b9b6f3d4b8e17feb0cedc9370f6afe61d7193d2cdce83323 openssl-3.0.10.tar.gz >> +# From https://www.openssl.org/source/openssl-3.0.11.tar.gz.sha256 >> +sha256 b3425d3bb4a2218d0697eb41f7fc0cdede016ed19ca49d168b78e8d947887f55 openssl-3.0.11.tar.gz >> >> # License files >> sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt >> diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk >> index 8bc3687921..5ff878dded 100644 >> --- a/package/libopenssl/libopenssl.mk >> +++ b/package/libopenssl/libopenssl.mk >> @@ -4,7 +4,7 @@ >> # >> ################################################################################ >> >> -LIBOPENSSL_VERSION = 3.0.10 >> +LIBOPENSSL_VERSION = 3.0.11 >> LIBOPENSSL_SITE = https://www.openssl.org/source >> LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz >> LIBOPENSSL_LICENSE = Apache-2.0 >> >> >> ------------------------------ >> >> Message: 28 >> Date: Tue, 26 Sep 2023 17:47:03 +0200 >> From: "Yann E. MORIN" >> To: buildroot at buildroot.org >> Cc: "Yann E. MORIN" , Julien Olivain >> >> Subject: [Buildroot] [PATCH] support/runtime-test: fix weston test >> Message-ID: <20230926154703.160448-1-yann.morin.1998 at free.fr> >> >> The weston runtime test uses the CRC of the framebuffer to detect that >> "something" is being drawned on the framebuffer. This requires that the >> sampling of the CRC happens does not happen too early after trigerring >> an action, or the rendering may be not be finishe, either: >> >> - weston may not have had time to initialise, or >> - the test application may not have started rednering, >> >> The sequence of rendering that has been observed yields this sequence of >> CRCs (elided for brevity): >> >> - boot: >> - alternating between 0x4c4126bf and 0x5d2f9aa5: console cursor >> blinking >> >> - start weston: >> - 0x4c4126bf: weston switches to an clearted vt) >> ... >> - 0xe54b7895: weston is starting >> ... >> - 0xe54b7895: wayland socket appears! >> ... >> - 0x6bf28bdf: weston is ready >> ... >> >> - start weston-simple-egl: >> - 0x6bf28bdf: application is starting >> ... >> - 0xNNNNNNNN: random CRCs while the application renders >> ... >> >> - stop weston-simple-egl: >> - 0xNNNNNNNN: izero, one, or two random CRCs while the application >> renders before it handles SIGTERM >> - 0x6bf28bdf: application is stopped >> ... >> >> - stop weston: >> - 0x6bf28bdf: a few CRC identical to when weston was started, while >> weston is processing SIGTERM >> - ocillating between 0x4c4126bf and 0x5d2f9aa5: console cursor >> blinking, back to initial vt, weston dead. >> >> So, we need to wait "enough" after each action. Moreover, when the >> wayland socket appears, weston may not have stabilised yet, so we also >> need to wait after the socket appears. >> >> Signed-off-by: Yann E. MORIN >> Cc: Julien Olivain >> --- >> support/testing/tests/package/test_weston.py | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/support/testing/tests/package/test_weston.py b/support/testing/tests/package/test_weston.py >> index 276788c649..df1b7a4135 100644 >> --- a/support/testing/tests/package/test_weston.py >> +++ b/support/testing/tests/package/test_weston.py >> @@ -78,6 +78,7 @@ class TestWeston(infra.basetest.BRTest): >> wayland_socket = "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}" >> cmd = f"while [ ! -e \"{wayland_socket}\" ] ; do sleep 1 ; done" >> self.assertRunOk(cmd, timeout=10) >> + time.sleep(4) >> >> def stop_weston(self): >> cmd = "killall weston && sleep 3" >> -- >> 2.25.1 >> >> >> >> ------------------------------ >> >> Message: 29 >> Date: Tue, 26 Sep 2023 19:37:44 +0300 >> From: Sergey Kuzminov >> To: Marcin Niestroj , >> buildroot at buildroot.org >> Cc: Sergey Matyukevich , Peter Korsgaard >> >> Subject: Re: [Buildroot] [PATCH v2] board: add Orangepi Zero3 support >> Message-ID: <05b7f0d8-163d-52e0-fa48-c275bb89fff0 at gmail.com> >> Content-Type: text/plain; charset=UTF-8; format=flowed >> >> Tested-by: Sergey Kuzminov >> >> 18.09.2023 09:47, Marcin Niestroj ?????: >>> Add initial support for Orangepi Zero3 board: >>> - U-Boot 2021.07 fork by Orangepi >>> - Linux 6.1.31 fork by Orangepi >>> - Default packages from buildroot >>> >>> Enable CONFIG_MFD_AC200 as it is used directly by other module, >>> resulting in build failure when disabled. >>> >>> Signed-off-by: Marcin Niestroj >>> --- >>> v1 -> v2: >>> * use 'linux_sunxi64' instead of default arch defconfig, which fixes >>> ethernet networking (suggested by Sergey) >>> * disabled rootfs.tar generation (suggested by Sergey) >>> * increased ext2 fs size to 180M to fit more kernel modules >>> * added DEVELOPERS entries for board files >>> >>> DEVELOPERS | 2 + >>> board/orangepi/orangepi-zero3/linux.config | 1 + >>> board/orangepi/orangepi-zero3/readme.txt | 34 +++++++++++++ >>> configs/orangepi_zero3_defconfig | 57 ++++++++++++++++++++++ >>> 4 files changed, 94 insertions(+) >>> create mode 100644 board/orangepi/orangepi-zero3/linux.config >>> create mode 100644 board/orangepi/orangepi-zero3/readme.txt >>> create mode 100644 configs/orangepi_zero3_defconfig >>> >>> diff --git a/DEVELOPERS b/DEVELOPERS >>> index e8b78a8d46..66abc39e16 100644 >>> --- a/DEVELOPERS >>> +++ b/DEVELOPERS >>> @@ -1953,8 +1953,10 @@ F: package/ecryptfs-utils/ >>> N: Marcin Niestroj >>> F: board/grinn/ >>> F: board/orangepi/orangepi-zero-plus/ >>> +F: board/orangepi/orangepi-zero3/ >>> F: configs/grinn_* >>> F: configs/orangepi_zero_plus_defconfig >>> +F: configs/orangepi_zero3_defconfig >>> F: package/argparse/ >>> F: package/dt-utils/ >>> F: package/easydbus/ >>> diff --git a/board/orangepi/orangepi-zero3/linux.config b/board/orangepi/orangepi-zero3/linux.config >>> new file mode 100644 >>> index 0000000000..09b7a93a5a >>> --- /dev/null >>> +++ b/board/orangepi/orangepi-zero3/linux.config >>> @@ -0,0 +1 @@ >>> +CONFIG_MFD_AC200=y >>> diff --git a/board/orangepi/orangepi-zero3/readme.txt b/board/orangepi/orangepi-zero3/readme.txt >>> new file mode 100644 >>> index 0000000000..4872a363e7 >>> --- /dev/null >>> +++ b/board/orangepi/orangepi-zero3/readme.txt >>> @@ -0,0 +1,34 @@ >>> +Intro >>> +===== >>> + >>> +This default configuration will allow you to start experimenting with the >>> +buildroot environment for the Orangepi Zero3. With the current configuration >>> +it will bring-up the board, and allow access through the serial console. >>> + >>> +Orangepi Zero3 link: >>> +http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-3.html >>> + >>> +This configuration uses Orangepi's fork of U-Boot and Linux kernel. >>> + >>> +How to build >>> +============ >>> + >>> + $ make orangepi_zero3_defconfig >>> + $ make >>> + >>> +Note: you will need access to the internet to download the required >>> +sources. >>> + >>> +How to write the SD card >>> +======================== >>> + >>> +Once the build process is finished you will have an image called "sdcard.img" >>> +in the output/images/ directory. >>> + >>> +Copy the bootable "sdcard.img" onto an SD card with "dd": >>> + >>> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX >>> + $ sudo sync >>> + >>> +Insert the micro SDcard in your Orangepi Zero3 and power it up. The console >>> +is on the serial line, 115200 8N1. >>> diff --git a/configs/orangepi_zero3_defconfig b/configs/orangepi_zero3_defconfig >>> new file mode 100644 >>> index 0000000000..51a6efd3ed >>> --- /dev/null >>> +++ b/configs/orangepi_zero3_defconfig >>> @@ -0,0 +1,57 @@ >>> +BR2_aarch64=y >>> +BR2_cortex_a53=y >>> +BR2_ARM_FPU_VFPV4=y >>> + >>> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y >>> +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y >>> +BR2_SYSTEM_DHCP="eth0" >>> + >>> +# Firmware >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9" >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h616" >>> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y >>> + >>> +# Bootloader >>> +BR2_TARGET_UBOOT=y >>> +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y >>> +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y >>> +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,orangepi-xunlong,u-boot-orangepi,6fe17fac388aad17490cf386578b7532975e567f)/u-boot-orangepi-6fe17fac388aad17490cf386578b7532975e567f.tar.gz" >>> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero3" >>> +BR2_TARGET_UBOOT_NEEDS_DTC=y >>> +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y >>> +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y >>> +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y >>> +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y >>> +BR2_TARGET_UBOOT_SPL=y >>> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" >>> +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" >>> + >>> +# Kernel >>> +BR2_LINUX_KERNEL=y >>> +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y >>> +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,orangepi-xunlong,linux-orangepi,3495b5ee0594566c9fed930b96b1cae90600412e)/linux-orangepi-3495b5ee0594566c9fed930b96b1cae90600412e.tar.gz" >>> +BR2_LINUX_KERNEL_DEFCONFIG="linux_sunxi64" >>> +BR2_LINUX_KERNEL_DTS_SUPPORT=y >>> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h616-orangepi-zero3" >>> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y >>> +BR2_LINUX_KERNEL_INSTALL_TARGET=y >>> +BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y >>> +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero3/linux.config" >>> + >>> +# Filesystem >>> +BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero3" >>> +BR2_TARGET_ROOTFS_EXT2=y >>> +BR2_TARGET_ROOTFS_EXT2_4=y >>> +BR2_TARGET_ROOTFS_EXT2_SIZE="180M" >>> +# BR2_TARGET_ROOTFS_TAR is not set >>> + >>> +# host tools >>> +BR2_PACKAGE_HOST_GENIMAGE=y >>> +BR2_PACKAGE_HOST_UBOOT_TOOLS=y >>> + >>> +# image scripts >>> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" >>> +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" >>> +BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" >> >> ------------------------------ >> >> Message: 30 >> Date: Tue, 26 Sep 2023 21:23:36 +0200 >> From: "Yann E. MORIN" >> To: Adam Duskett >> Cc: Asaf Kahlon , Julien Olivain , >> Thomas Petazzoni , >> buildroot at buildroot.org, Michael Trimarchi >> , Angelo Compagnucci >> >> Subject: Re: [Buildroot] [PATCH v9 7/7] >> support/testing/tests/package/test_flutter.py: new runtime test >> Message-ID: <20230926192336.GT1469982 at scaer> >> Content-Type: text/plain; charset=utf-8 >> >> Adam, All, >> >> On 2023-09-23 10:35 +0200, Yann E. MORIN spake thusly: >>> On 2023-09-19 14:42 -0600, Adam Duskett spake thusly: >>>> This is a simple test that builds and runs the futter-gallery application and >>>> checks if the service is active. >>> This runtime test does not demonstrate a worlking flutter stack, because >>> the application in fact does not work: >> Note: as discussed on IRC: the above was a bit rough, sorry. >> >> I understand that you did manage to get a flutter stack working, and >> this *is* impressive! >> >> What I meant is that this runtime test does not demonstrate that, >> unfortunately. >> >> The CI/CD pipelines are running in containers that do not have access to >> a GPU. Hence a runtime test that uses GPU passthrough as you initially >> provided is not going to work. That is why I have been insistent on >> doing a headless runtime test. >> >> We do already have working runtime tests for graphical packages, like >> the weston test. What those tests do, is run the graphical application >> to test, and check that the framebuffer changes (by comparing the CRC >> provided by the kernel, as we don't care about what is rendered, just >> that "something" is rendered). This is what I would have expected for >> the flutter test too. >> >> [--SNIP--] >>> So, a few things about this: >>> - the real issues I'm most afraid of, are the one about mesa failing >>> to load the proper drivers, >> So I had a deeper look, and ran the weston test by hand (I had to fix it >> while at it [0]), and noticed that weston whines about the exact same >> drivers, yet works. So the issue about missing zynq and vkms is benign. >> >>> [snip] and/or that it can't create an EGL GBM >>> surface; I think this is the real problem; >> So, the remaining issue is that flutter-pi can't t create a GBM surface. >> This is very very similar to an old upstream issue, which got fixed a >> year ago: >> >> https://github.com/ardera/flutter-pi/issues/269 >> https://github.com/ardera/flutter-pi/pull/270 >> >> However, upstream did a big overhaul of the code recently, and the fix >> got lost in the rewrite. Here's what I now came up with (patch against >> flutter-pi): >> >> From 856f9849763535d62ed01b538ba23905875c93f4 Mon Sep 17 00:00:00 2001 >> From: "Yann E. MORIN" >> Date: Tue, 26 Sep 2023 20:31:17 +0200 >> Subject: [PATCH] src/egl_gbm_render_surface: properly fallback to surface with >> no modifier >> >> In 869fa7fcfbeb, we added a fallback to be able to create an EGL sruface >> when the driver do not support modifiers, like the llvmpipe software >> renderer (or like some proprietary drivers, like the MALI ones), as >> reported in #269 [0]. >> >> However, in c6537673c9b6, there was a big overhaul of renderer >> infrastructure. That commit lost the with-modifiers code path and only >> kept the without-modifiers fallback one (i.e. it only kept the call to >> gbm_surface_create(), not to gbm_surface_create_with_modifiers()). >> >> Then in b0d09f5032a4, the with-modifiers code path was re-instated, but >> in a way that made it exclusive with the without-modifiers one. That is, >> the without-modifiers code path was not a fallback to when the other >> failed. >> >> Re-instate the fallback mechanism as initially implemented. >> >> [0] https://github.com/ardera/flutter-pi/issues/269 >> >> Signed-off-by: Yann E. MORIN >> --- >> src/egl_gbm_render_surface.c | 6 ++++-- >> 1 file changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/src/egl_gbm_render_surface.c b/src/egl_gbm_render_surface.c >> index ce9e5e7..8a58667 100644 >> --- a/src/egl_gbm_render_surface.c >> +++ b/src/egl_gbm_render_surface.c >> @@ -146,6 +146,7 @@ static int egl_gbm_render_surface_init( >> } >> #endif >> >> + gbm_surface = NULL; >> if (allowed_modifiers != NULL) { >> gbm_surface = gbm_surface_create_with_modifiers( >> gbm_device, >> @@ -158,9 +159,10 @@ static int egl_gbm_render_surface_init( >> if (gbm_surface == NULL) { >> ok = errno; >> LOG_ERROR("Couldn't create GBM surface for rendering. gbm_surface_create_with_modifiers: %s\n", strerror(ok)); >> - return ok; >> + LOG_ERROR("Will retry without modifiers\n"); >> } >> - } else { >> + } >> + if (gbm_surface == NULL) { >> gbm_surface = gbm_surface_create( >> gbm_device, >> size.x, >> -- >> 2.25.1 >> >> With this patch, the application no longer coredumps, and keeps running. >> >> As for the CRC of the framebuffer: without flutter-pi running, the value >> is 0x4c4126bf. Starting the flutter application (and waiting quite a >> bit), it suddenly changes to an arbitrary value! Stopping flutter-pi, >> the CRC reverts to 0x4c4126bf. Starting again, new value! Note that it >> can be like 10s or more before the CRC changes at application start. >> >> So, to me, that means the application is now running! I have no idea what >> is supposed to be displayed, but something is being rendered, and that's >> all that matters! >> >> Care to integrate that patch in your series, test in your actual setup, >> see if it's possible to send it upstream, update the runtime test to >> check on the CRC (instead of checkign the systemd unit status), and >> respin the series, please? >> >> (I'm on the move the next few days, but I'll be able to dedicate time >> during the WE). >> >>> - you're pointing the gallery app to /usr/share/flutter/gallery/release/ >>> but therat does not exist (what should it contain, btw?). >> (blark typoes of mine). I must have messed things with another test, >> because /usr/share/flutter/gallery/release/ *is* populated as expected. >> >> [0] https://patchwork.ozlabs.org/project/buildroot/patch/20230926154703.160448-1-yann.morin.1998 at free.fr/ >> >> Regards, >> Yann E. MORIN. >> >>> Can you look at that test, please? >>> >>> Regards, >>> Yann E. MORIN. >>> >>>> Signed-off-by: Adam Duskett >>>> --- >>>> v8 -> v9: >>>> - Changed to aarch64 to avoid problems with older versions of qemu. >>>> - Added BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF >>>> >>>> DEVELOPERS | 1 + >>>> support/testing/tests/package/test_flutter.py | 56 +++++++++++++++++++ >>>> .../package/test_flutter/linux-vkms.fragment | 2 + >>>> .../flutter-gallery.service | 1 + >>>> .../systemd/system/flutter-gallery.service | 11 ++++ >>>> 5 files changed, 71 insertions(+) >>>> create mode 100644 support/testing/tests/package/test_flutter.py >>>> create mode 100644 support/testing/tests/package/test_flutter/linux-vkms.fragment >>>> create mode 120000 support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>>> create mode 100644 support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>>> >>>> diff --git a/DEVELOPERS b/DEVELOPERS >>>> index 48a4ec776a..f46d83679a 100644 >>>> --- a/DEVELOPERS >>>> +++ b/DEVELOPERS >>>> @@ -37,6 +37,7 @@ F: package/flutter-engine/ >>>> F: package/flutter-gallery/ >>>> F: package/flutter-pi/ >>>> F: package/flutter-sdk-bin/ >>>> +F: support/testing/tests/package/test_flutter.py >>>> >>>> N: Adam Heinrich >>>> F: package/jack1/ >>>> diff --git a/support/testing/tests/package/test_flutter.py b/support/testing/tests/package/test_flutter.py >>>> new file mode 100644 >>>> index 0000000000..e17ed9f659 >>>> --- /dev/null >>>> +++ b/support/testing/tests/package/test_flutter.py >>>> @@ -0,0 +1,56 @@ >>>> +import os >>>> +import time >>>> +import infra.basetest >>>> + >>>> + >>>> +class TestFlutter(infra.basetest.BRTest): >>>> + config = f""" >>>> + BR2_aarch64=y >>>> + BR2_TOOLCHAIN_EXTERNAL=y >>>> + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y >>>> + BR2_ROOTFS_OVERLAY="{infra.filepath("tests/package/test_flutter/overlay")}" >>>> + BR2_PER_PACKAGE_DIRECTORIES=y >>>> + BR2_INIT_SYSTEMD=y >>>> + BR2_LINUX_KERNEL=y >>>> + BR2_LINUX_KERNEL_CUSTOM_VERSION=y >>>> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.54" >>>> + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y >>>> + BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y >>>> + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" >>>> + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{infra.filepath("tests/package/test_flutter/linux-vkms.fragment")}" >>>> + BR2_PACKAGE_LIBDRM=y >>>> + BR2_PACKAGE_MESA3D=y >>>> + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y >>>> + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL=y >>>> + BR2_PACKAGE_MESA3D_OPENGL_ES=y >>>> + BR2_PACKAGE_FLUTTER_PI=y >>>> + BR2_PACKAGE_FLUTTER_PI_RAW_KEYBOARD_PLUGIN=y >>>> + BR2_PACKAGE_FLUTTER_PI_TEXT_INPUT_PLUGIN=y >>>> + BR2_PACKAGE_FLUTTER_GALLERY=y >>>> + BR2_PACKAGE_FLUTTER_ENGINE=y >>>> + BR2_TARGET_ROOTFS_EXT2=y >>>> + BR2_TARGET_ROOTFS_EXT2_4=y >>>> + BR2_TARGET_ROOTFS_EXT2_SIZE="512M" >>>> + # BR2_TARGET_ROOTFS_TAR is not set >>>> + """ >>>> + >>>> + def test_run(self): >>>> + timeout = 35 * self.emulator.timeout_multiplier >>>> + img = os.path.join(self.builddir, "images", "rootfs.ext2") >>>> + kern = os.path.join(self.builddir, "images", "Image") >>>> + self.emulator.boot( >>>> + arch="aarch64", >>>> + kernel=kern, >>>> + kernel_cmdline=["root=/dev/vda console=ttyAMA0"], >>>> + options=["-M", "virt", >>>> + "-cpu", "cortex-a57", >>>> + "-m", "512M", >>>> + "-smp", "4", >>>> + "-vga", "std", >>>> + "-vnc", "none", >>>> + "-drive", f"file={img},if=virtio,format=raw"]) >>>> + self.emulator.login() >>>> + cmd = "systemctl is-active flutter-gallery" >>>> + output, exit_code = self.emulator.run(cmd, 10) >>>> + self.assertEqual(exit_code, 0) >>>> + self.assertEqual(output[0], "active") >>>> diff --git a/support/testing/tests/package/test_flutter/linux-vkms.fragment b/support/testing/tests/package/test_flutter/linux-vkms.fragment >>>> new file mode 100644 >>>> index 0000000000..3fc7a5dded >>>> --- /dev/null >>>> +++ b/support/testing/tests/package/test_flutter/linux-vkms.fragment >>>> @@ -0,0 +1,2 @@ >>>> +CONFIG_DEBUG_FS=y >>>> +CONFIG_DRM_VKMS=y >>>> diff --git a/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>>> new file mode 120000 >>>> index 0000000000..40993fb16c >>>> --- /dev/null >>>> +++ b/support/testing/tests/package/test_flutter/overlay/etc/systemd/system/multi-user.target.wants/flutter-gallery.service >>>> @@ -0,0 +1 @@ >>>> +../../../../usr/lib/systemd/system/flutter-gallery.service >>>> \ No newline at end of file >>>> diff --git a/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service b/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>>> new file mode 100644 >>>> index 0000000000..88a2bcbf0b >>>> --- /dev/null >>>> +++ b/support/testing/tests/package/test_flutter/overlay/usr/lib/systemd/system/flutter-gallery.service >>>> @@ -0,0 +1,11 @@ >>>> +[Unit] >>>> +Description=flutter-gallery daemon >>>> +After=dbus.service systemd-udevd.service >>>> + >>>> +[Service] >>>> +ExecStart=/usr/bin/flutter-pi --release /usr/share/flutter/gallery/release/ >>>> +Restart=always >>>> +KillMode=process >>>> + >>>> +[Install] >>>> +WantedBy=multi-user.target >>>> -- >>>> 2.39.2 >>>> >>>> _______________________________________________ >>>> buildroot mailing list >>>> buildroot at buildroot.org >>>> https://lists.buildroot.org/mailman/listinfo/buildroot >>> -- >>> .-----------------.--------------------.------------------.--------------------. >>> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | >>> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | >>> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | >>> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | >>> '------------------------------^-------^------------------^--------------------' >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot >> -- >> .-----------------.--------------------.------------------.--------------------. >> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | >> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | >> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | >> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | >> '------------------------------^-------^------------------^--------------------' >> >> >> ------------------------------ >> >> Message: 31 >> Date: Tue, 26 Sep 2023 23:37:00 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] Update for >> 2023.05.3 >> Message-ID: <20230926214006.9067681D2A at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=70638523a704aca46313aba05b74783340b11b32 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> Signed-off-by: Peter Korsgaard >> --- >> CHANGES | 29 +++++++++++++++++++++++++++++ >> Makefile | 4 ++-- >> support/misc/Vagrantfile | 2 +- >> 3 files changed, 32 insertions(+), 3 deletions(-) >> >> diff --git a/CHANGES b/CHANGES >> index fb52f9bd1a..bf9b57e21d 100644 >> --- a/CHANGES >> +++ b/CHANGES >> @@ -1,3 +1,32 @@ >> +2023.05.3, released September 26th, 2023 >> + >> + Important / security related fixes. >> + >> + Defconfigs: PC x86-64 bios/efi: Needs libelf. Raspberrypi: >> + Also enable HDMI console when systemd is used. >> + >> + Updated/fixed packages: agentpp, asterisk, at91dataflashboot, >> + aubio, berkeleydb, bind, bwm-ng, chocolate-doom, clamav, >> + compiler-rt, connman, cpio, cups, dav1d, diffutils, dracut, >> + dt, expect, fail2ban, fio, flite, freerdp, freeswitch, >> + fstrcmp, gcc, gdb, ghostscript, gmp, go, grub2, haproxy, >> + heirloom-mailx, hwloc, icu, intel-microcode, irssi, less, >> + libcoap, libcurl, libglib2, libiec61850, libjxl, libks, >> + libksba, libmodsecurity, libpjsip, libqb, libraw, libssh, >> + libtommath, lldpd, log4cxx, lsof, mdadm, mosquitto, mpd, mpv, >> + mutt, mv-ddr-marvell, ne10, netatalk, network-manager, >> + nftables, nodejs, ntpsec, nut, openblas, openjdk, openjdk-bin, >> + opensc, openssh, pcm-tools, perftest, petitboot, php, pixman, >> + poppler, postgresql, python-django, python-ipython, >> + python-pip, python-pylibfdt, python-tornado, python3, qt5, >> + ramspeed, rtl8189fs, rtl8812au-aircrack-ng, samba4, screen, >> + screenfetch, sngrep, sofia-sip, stellarium, stress-ng, >> + strongswan, sysstat, tar, tcl, uboot, uclibc, vim, webkitgtk, >> + webp, wireshark, xfsprogs, xserver_xorg-server, xterm, yajl, >> + zbar, zxing-cpp >> + >> + New packages: xlib_libXpresent >> + >> 2023.05.2, released August 31th, 2023 >> >> Important / security related fixes. >> diff --git a/Makefile b/Makefile >> index 2ea0467fc9..eedf4ea296 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -90,9 +90,9 @@ all: >> .PHONY: all >> >> # Set and export the version string >> -export BR2_VERSION := 2023.05.2 >> +export BR2_VERSION := 2023.05.3 >> # Actual time the release is cut (for reproducible builds) >> -BR2_VERSION_EPOCH = 1693493000 >> +BR2_VERSION_EPOCH = 1695764000 >> >> # Save running make version since it's clobbered by the make package >> RUNNING_MAKE_VERSION := $(MAKE_VERSION) >> diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile >> index 75aae858b7..0b26583ea9 100644 >> --- a/support/misc/Vagrantfile >> +++ b/support/misc/Vagrantfile >> @@ -5,7 +5,7 @@ >> ################################################################################ >> >> # Buildroot version to use >> -RELEASE='2023.05.2' >> +RELEASE='2023.05.3' >> >> ### Change here for more memory/cores ### >> VM_MEMORY=2048 >> >> >> ------------------------------ >> >> Message: 32 >> Date: Tue, 26 Sep 2023 13:55:57 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] Revert >> "package/docker-cli: backport fix for host header check" >> Message-ID: <20230926214006.7254E81A15 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=8515c0afcfa90b08a016966962d8db73b4303b50 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> This reverts commit ce1b80f27dc86d7b23aa221b7d1601dcd57e451e. >> >> With the bump to go 1.19.13, this workaround is no longer needed. >> >> Signed-off-by: Peter Korsgaard >> --- >> .checkpackageignore | 1 - >> ...001-backport-fix-for-go-Host-header-check.patch | 127 --------------------- >> 2 files changed, 128 deletions(-) >> >> diff --git a/.checkpackageignore b/.checkpackageignore >> index 81fb9c2d8a..9ec76bc15f 100644 >> --- a/.checkpackageignore >> +++ b/.checkpackageignore >> @@ -354,7 +354,6 @@ package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch Upstream >> package/dmraid/0001-fix-compilation-under-musl.patch Upstream >> package/dmraid/S20dmraid Variables >> package/dnsmasq/S80dnsmasq Shellcheck Variables >> -package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch Upstream >> package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch Upstream >> package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch Upstream >> package/docker-engine/S60dockerd Indent Shellcheck Variables >> diff --git a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch b/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch >> deleted file mode 100644 >> index 2b58582538..0000000000 >> --- a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch >> +++ /dev/null >> @@ -1,127 +0,0 @@ >> -From 4dc783e2bdf414761ef7c209b435d0a30f17c858 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Sat, 15 Jul 2023 02:22:10 +0200 >> -Subject: [PATCH] backport fix for go Host header check >> - >> -Go 1.20.6 and 1.19.11 include a security check of the http Host header: >> - >> - https://github.com/golang/go/issues/60374 >> - >> -docker-cli fails this check: >> - >> - $ docker exec -it ctr bash >> - http: invalid Host header >> - >> -This is a backported patch to fix this issue. >> - >> -Issue: https://github.com/moby/moby/issues/45935 >> -Upstream PR: https://github.com/moby/moby/pull/45942 >> - >> -The upstream PR has been merged and will be included in v24.0.5. >> - >> -Signed-off-by: Christian Stewart >> -[Peter: drop vendor.mod/vendor.sum changes] >> ---- >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the socket path as hostname, which gets rejected by >> -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], >> -which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> ---- >> - .../github.com/docker/docker/client/client.go | 30 +++++++++++++++++ >> - .../github.com/docker/docker/client/hijack.go | 6 +++- >> - .../docker/docker/client/request.go | 10 +++--- >> - 4 files changed, 72 insertions(+), 40 deletions(-) >> - >> -diff --git a/vendor/github.com/docker/docker/client/client.go b/vendor/github.com/docker/docker/client/client.go >> -index 1c081a51ae..54fa36cca8 100644 >> ---- a/vendor/github.com/docker/docker/client/client.go >> -+++ b/vendor/github.com/docker/docker/client/client.go >> -@@ -56,6 +56,36 @@ import ( >> - "github.com/pkg/errors" >> - ) >> - >> -+// DummyHost is a hostname used for local communication. >> -+// >> -+// It acts as a valid formatted hostname for local connections (such as "unix://" >> -+// or "npipe://") which do not require a hostname. It should never be resolved, >> -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] >> -+// and [RFC 6761, Section 6.3]). >> -+// >> -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such >> -+// cases: >> -+// >> -+// If the authority component is missing or undefined for the target URI, >> -+// then a client MUST send a Host header field with an empty field-value. >> -+// >> -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not >> -+// allow an empty header to be used, and requires req.URL.Scheme to be either >> -+// "http" or "https". >> -+// >> -+// For further details, refer to: >> -+// >> -+// - https://github.com/docker/engine-api/issues/189 >> -+// - https://github.com/golang/go/issues/13624 >> -+// - https://github.com/golang/go/issues/61076 >> -+// - https://github.com/moby/moby/issues/45935 >> -+// >> -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 >> -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 >> -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 >> -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 >> -+const DummyHost = "api.moby.localhost" >> -+ >> - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. >> - var ErrRedirect = errors.New("unexpected redirect in response") >> - >> -diff --git a/vendor/github.com/docker/docker/client/hijack.go b/vendor/github.com/docker/docker/client/hijack.go >> -index 6bdacab10a..4dcaaca4c5 100644 >> ---- a/vendor/github.com/docker/docker/client/hijack.go >> -+++ b/vendor/github.com/docker/docker/client/hijack.go >> -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { >> - } >> - >> - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { >> -- req.Host = cli.addr >> -+ req.URL.Host = cli.addr >> -+ if cli.proto == "unix" || cli.proto == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> -+ } >> - req.Header.Set("Connection", "Upgrade") >> - req.Header.Set("Upgrade", proto) >> - >> -diff --git a/vendor/github.com/docker/docker/client/request.go b/vendor/github.com/docker/docker/client/request.go >> -index c799095c12..bcedcf3bd9 100644 >> ---- a/vendor/github.com/docker/docker/client/request.go >> -+++ b/vendor/github.com/docker/docker/client/request.go >> -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea >> - return nil, err >> - } >> - req = cli.addHeaders(req, headers) >> -+ req.URL.Scheme = cli.scheme >> -+ req.URL.Host = cli.addr >> - >> - if cli.proto == "unix" || cli.proto == "npipe" { >> -- // For local communications, it doesn't matter what the host is. We just >> -- // need a valid and meaningful host name. (See #189) >> -- req.Host = "docker" >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> - } >> - >> -- req.URL.Host = cli.addr >> -- req.URL.Scheme = cli.scheme >> -- >> - if expectedPayload && req.Header.Get("Content-Type") == "" { >> - req.Header.Set("Content-Type", "text/plain") >> - } >> --- >> -2.41.0 >> - >> >> >> ------------------------------ >> >> Message: 33 >> Date: Tue, 26 Sep 2023 13:56:52 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.05.x] Revert >> "package/docker-engine: backport fix for host header check" >> Message-ID: <20230926214006.7E363805F4 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=763d1934598b581ebfdfa4039df3b2ce53ea0ca7 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x >> >> This reverts commit 0b608f0252f51b7d2f54219153976eac7e30669c. >> >> With the bump to go 1.19.13, this workaround is no longer needed. >> >> Signed-off-by: Peter Korsgaard >> --- >> .checkpackageignore | 2 - >> ...ne-a-dummy-hostname-to-use-for-local-conn.patch | 174 --------------------- >> ...-use-a-dummy-hostname-for-local-connectio.patch | 69 -------- >> 3 files changed, 245 deletions(-) >> >> diff --git a/.checkpackageignore b/.checkpackageignore >> index 9ec76bc15f..b627bda61d 100644 >> --- a/.checkpackageignore >> +++ b/.checkpackageignore >> @@ -354,8 +354,6 @@ package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch Upstream >> package/dmraid/0001-fix-compilation-under-musl.patch Upstream >> package/dmraid/S20dmraid Variables >> package/dnsmasq/S80dnsmasq Shellcheck Variables >> -package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch Upstream >> -package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch Upstream >> package/docker-engine/S60dockerd Indent Shellcheck Variables >> package/docopt-cpp/0001-only-build-one-target-use-BUILD_SHARED_LIBS-where-appropriate.patch Upstream >> package/domoticz/S99domoticz Shellcheck >> diff --git a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch b/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch >> deleted file mode 100644 >> index c5f8d1eb71..0000000000 >> --- a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch >> +++ /dev/null >> @@ -1,174 +0,0 @@ >> -From 8ced4331e5e3a6760465a8ce2bd42c66d3232c96 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Wed, 12 Jul 2023 14:15:38 +0200 >> -Subject: [PATCH] client: define a "dummy" hostname to use for local >> - connections >> - >> -Go 1.20.6 and 1.19.11 include a security check of the http Host header: >> - >> - https://github.com/golang/go/issues/60374 >> - >> -This is a backported patch to fix this issue. >> - >> -Issue: https://github.com/moby/moby/issues/45935 >> -Upstream PR: https://github.com/moby/moby/pull/45942 >> - >> -The upstream PR has been merged and will be included in v24.0.5. >> - >> -Signed-off-by: Christian Stewart >> - >> ---- >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the client's `addr` as hostname in some cases, which >> -could contain the path for the unix-socket (`/var/run/docker.sock`), which >> -gets rejected by go1.20.6 and go1.19.11 because of a security fix for >> -[CVE-2023-29406 ][1], which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> - >> -This patch introduces a `DummyHost` const, and uses this dummy host for >> -cases where we don't need an actual hostname. >> - >> -Before this patch (using go1.20.6): >> - >> - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration >> - === RUN TestAttachWithTTY >> - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header >> - --- FAIL: TestAttachWithTTY (0.11s) >> - === RUN TestAttachWithoutTTy >> - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header >> - --- FAIL: TestAttachWithoutTTy (0.02s) >> - FAIL >> - >> -With this patch applied: >> - >> - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration >> - INFO: Testing against a local daemon >> - === RUN TestAttachWithTTY >> - --- PASS: TestAttachWithTTY (0.12s) >> - === RUN TestAttachWithoutTTy >> - --- PASS: TestAttachWithoutTTy (0.02s) >> - PASS >> - >> -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx >> - >> -Signed-off-by: Sebastiaan van Stijn >> -(cherry picked from commit 92975f0c11f0566cc3c36659f5e3bb9faf5cb176) >> -Signed-off-by: Sebastiaan van Stijn >> ---- >> - client/client.go | 30 ++++++++++++++++++++++++++++++ >> - client/hijack.go | 6 +++++- >> - client/request.go | 10 ++++------ >> - client/request_test.go | 4 ++-- >> - 4 files changed, 41 insertions(+), 9 deletions(-) >> - >> -diff --git a/client/client.go b/client/client.go >> -index 1c081a51ae..54fa36cca8 100644 >> ---- a/client/client.go >> -+++ b/client/client.go >> -@@ -56,6 +56,36 @@ import ( >> - "github.com/pkg/errors" >> - ) >> - >> -+// DummyHost is a hostname used for local communication. >> -+// >> -+// It acts as a valid formatted hostname for local connections (such as "unix://" >> -+// or "npipe://") which do not require a hostname. It should never be resolved, >> -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] >> -+// and [RFC 6761, Section 6.3]). >> -+// >> -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such >> -+// cases: >> -+// >> -+// If the authority component is missing or undefined for the target URI, >> -+// then a client MUST send a Host header field with an empty field-value. >> -+// >> -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not >> -+// allow an empty header to be used, and requires req.URL.Scheme to be either >> -+// "http" or "https". >> -+// >> -+// For further details, refer to: >> -+// >> -+// - https://github.com/docker/engine-api/issues/189 >> -+// - https://github.com/golang/go/issues/13624 >> -+// - https://github.com/golang/go/issues/61076 >> -+// - https://github.com/moby/moby/issues/45935 >> -+// >> -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 >> -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 >> -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 >> -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 >> -+const DummyHost = "api.moby.localhost" >> -+ >> - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. >> - var ErrRedirect = errors.New("unexpected redirect in response") >> - >> -diff --git a/client/hijack.go b/client/hijack.go >> -index 6bdacab10a..4dcaaca4c5 100644 >> ---- a/client/hijack.go >> -+++ b/client/hijack.go >> -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { >> - } >> - >> - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { >> -- req.Host = cli.addr >> -+ req.URL.Host = cli.addr >> -+ if cli.proto == "unix" || cli.proto == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> -+ } >> - req.Header.Set("Connection", "Upgrade") >> - req.Header.Set("Upgrade", proto) >> - >> -diff --git a/client/request.go b/client/request.go >> -index c799095c12..bcedcf3bd9 100644 >> ---- a/client/request.go >> -+++ b/client/request.go >> -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea >> - return nil, err >> - } >> - req = cli.addHeaders(req, headers) >> -+ req.URL.Scheme = cli.scheme >> -+ req.URL.Host = cli.addr >> - >> - if cli.proto == "unix" || cli.proto == "npipe" { >> -- // For local communications, it doesn't matter what the host is. We just >> -- // need a valid and meaningful host name. (See #189) >> -- req.Host = "docker" >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> - } >> - >> -- req.URL.Host = cli.addr >> -- req.URL.Scheme = cli.scheme >> -- >> - if expectedPayload && req.Header.Get("Content-Type") == "" { >> - req.Header.Set("Content-Type", "text/plain") >> - } >> -diff --git a/client/request_test.go b/client/request_test.go >> -index 6e5a6e81f2..50b09d954c 100644 >> ---- a/client/request_test.go >> -+++ b/client/request_test.go >> -@@ -29,12 +29,12 @@ func TestSetHostHeader(t *testing.T) { >> - }{ >> - { >> - "unix:///var/run/docker.sock", >> -- "docker", >> -+ DummyHost, >> - "/var/run/docker.sock", >> - }, >> - { >> - "npipe:////./pipe/docker_engine", >> -- "docker", >> -+ DummyHost, >> - "//./pipe/docker_engine", >> - }, >> - { >> --- >> -2.41.0 >> - >> diff --git a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch b/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch >> deleted file mode 100644 >> index 5bd8682927..0000000000 >> --- a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch >> +++ /dev/null >> @@ -1,69 +0,0 @@ >> -From 09306e7eb3c26ade69ef1e4c99d5b1fd9c0b7364 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Wed, 12 Jul 2023 15:07:59 +0200 >> -Subject: [PATCH] pkg/plugins: use a dummy hostname for local connections >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the socket path as hostname, which gets rejected by >> -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], >> -which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> - >> -Before this patch, tests would fail on go1.20.6: >> - >> - === FAIL: pkg/authorization TestAuthZRequestPlugin (15.01s) >> - time="2023-07-12T12:53:45Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 1s" >> - time="2023-07-12T12:53:46Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 2s" >> - time="2023-07-12T12:53:48Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 4s" >> - time="2023-07-12T12:53:52Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 8s" >> - authz_unix_test.go:82: Failed to authorize request Post "http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq": http: invalid Host header >> - >> -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx >> - >> -Signed-off-by: Sebastiaan van Stijn >> -(cherry picked from commit 6b7705d5b29e226a24902a8dcc488836faaee33c) >> -Signed-off-by: Sebastiaan van Stijn >> ---- >> - pkg/plugins/client.go | 14 ++++++++++++-- >> - 1 file changed, 12 insertions(+), 2 deletions(-) >> - >> -diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go >> -index 752fecd0ae..e683eb777d 100644 >> ---- a/pkg/plugins/client.go >> -+++ b/pkg/plugins/client.go >> -@@ -18,6 +18,12 @@ import ( >> - >> - const ( >> - defaultTimeOut = 30 >> -+ >> -+ // dummyHost is a hostname used for local communication. >> -+ // >> -+ // For local communications (npipe://, unix://), the hostname is not used, >> -+ // but we need valid and meaningful hostname. >> -+ dummyHost = "plugin.moby.localhost" >> - ) >> - >> - func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transport, error) { >> -@@ -44,8 +50,12 @@ func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transpor >> - return nil, err >> - } >> - scheme := httpScheme(u) >> -- >> -- return transport.NewHTTPTransport(tr, scheme, socket), nil >> -+ hostName := u.Host >> -+ if hostName == "" || u.Scheme == "unix" || u.Scheme == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ hostName = dummyHost >> -+ } >> -+ return transport.NewHTTPTransport(tr, scheme, hostName), nil >> - } >> - >> - // NewClient creates a new plugin client (http). >> --- >> -2.41.0 >> - >> >> >> ------------------------------ >> >> Message: 34 >> Date: Tue, 26 Sep 2023 23:40:54 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] Revert >> "package/docker-cli: backport fix for host header check" >> Message-ID: <20230926214535.E846C81D55 at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=4983ac79ff7da263392fb347b5b8f70bd8180c21 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> This reverts commit ce1b80f27dc86d7b23aa221b7d1601dcd57e451e. >> >> With the bump to go 1.19.13, this workaround is no longer needed. >> >> Signed-off-by: Peter Korsgaard >> --- >> ...001-backport-fix-for-go-Host-header-check.patch | 127 --------------------- >> 1 file changed, 127 deletions(-) >> >> diff --git a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch b/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch >> deleted file mode 100644 >> index 2b58582538..0000000000 >> --- a/package/docker-cli/0001-backport-fix-for-go-Host-header-check.patch >> +++ /dev/null >> @@ -1,127 +0,0 @@ >> -From 4dc783e2bdf414761ef7c209b435d0a30f17c858 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Sat, 15 Jul 2023 02:22:10 +0200 >> -Subject: [PATCH] backport fix for go Host header check >> - >> -Go 1.20.6 and 1.19.11 include a security check of the http Host header: >> - >> - https://github.com/golang/go/issues/60374 >> - >> -docker-cli fails this check: >> - >> - $ docker exec -it ctr bash >> - http: invalid Host header >> - >> -This is a backported patch to fix this issue. >> - >> -Issue: https://github.com/moby/moby/issues/45935 >> -Upstream PR: https://github.com/moby/moby/pull/45942 >> - >> -The upstream PR has been merged and will be included in v24.0.5. >> - >> -Signed-off-by: Christian Stewart >> -[Peter: drop vendor.mod/vendor.sum changes] >> ---- >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the socket path as hostname, which gets rejected by >> -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], >> -which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> ---- >> - .../github.com/docker/docker/client/client.go | 30 +++++++++++++++++ >> - .../github.com/docker/docker/client/hijack.go | 6 +++- >> - .../docker/docker/client/request.go | 10 +++--- >> - 4 files changed, 72 insertions(+), 40 deletions(-) >> - >> -diff --git a/vendor/github.com/docker/docker/client/client.go b/vendor/github.com/docker/docker/client/client.go >> -index 1c081a51ae..54fa36cca8 100644 >> ---- a/vendor/github.com/docker/docker/client/client.go >> -+++ b/vendor/github.com/docker/docker/client/client.go >> -@@ -56,6 +56,36 @@ import ( >> - "github.com/pkg/errors" >> - ) >> - >> -+// DummyHost is a hostname used for local communication. >> -+// >> -+// It acts as a valid formatted hostname for local connections (such as "unix://" >> -+// or "npipe://") which do not require a hostname. It should never be resolved, >> -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] >> -+// and [RFC 6761, Section 6.3]). >> -+// >> -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such >> -+// cases: >> -+// >> -+// If the authority component is missing or undefined for the target URI, >> -+// then a client MUST send a Host header field with an empty field-value. >> -+// >> -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not >> -+// allow an empty header to be used, and requires req.URL.Scheme to be either >> -+// "http" or "https". >> -+// >> -+// For further details, refer to: >> -+// >> -+// - https://github.com/docker/engine-api/issues/189 >> -+// - https://github.com/golang/go/issues/13624 >> -+// - https://github.com/golang/go/issues/61076 >> -+// - https://github.com/moby/moby/issues/45935 >> -+// >> -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 >> -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 >> -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 >> -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 >> -+const DummyHost = "api.moby.localhost" >> -+ >> - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. >> - var ErrRedirect = errors.New("unexpected redirect in response") >> - >> -diff --git a/vendor/github.com/docker/docker/client/hijack.go b/vendor/github.com/docker/docker/client/hijack.go >> -index 6bdacab10a..4dcaaca4c5 100644 >> ---- a/vendor/github.com/docker/docker/client/hijack.go >> -+++ b/vendor/github.com/docker/docker/client/hijack.go >> -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { >> - } >> - >> - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { >> -- req.Host = cli.addr >> -+ req.URL.Host = cli.addr >> -+ if cli.proto == "unix" || cli.proto == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> -+ } >> - req.Header.Set("Connection", "Upgrade") >> - req.Header.Set("Upgrade", proto) >> - >> -diff --git a/vendor/github.com/docker/docker/client/request.go b/vendor/github.com/docker/docker/client/request.go >> -index c799095c12..bcedcf3bd9 100644 >> ---- a/vendor/github.com/docker/docker/client/request.go >> -+++ b/vendor/github.com/docker/docker/client/request.go >> -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea >> - return nil, err >> - } >> - req = cli.addHeaders(req, headers) >> -+ req.URL.Scheme = cli.scheme >> -+ req.URL.Host = cli.addr >> - >> - if cli.proto == "unix" || cli.proto == "npipe" { >> -- // For local communications, it doesn't matter what the host is. We just >> -- // need a valid and meaningful host name. (See #189) >> -- req.Host = "docker" >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> - } >> - >> -- req.URL.Host = cli.addr >> -- req.URL.Scheme = cli.scheme >> -- >> - if expectedPayload && req.Header.Get("Content-Type") == "" { >> - req.Header.Set("Content-Type", "text/plain") >> - } >> --- >> -2.41.0 >> - >> >> >> ------------------------------ >> >> Message: 35 >> Date: Tue, 26 Sep 2023 23:41:11 +0200 >> From: Peter Korsgaard >> To: buildroot at buildroot.org >> Subject: [Buildroot] [git commit branch/2023.02.x] Revert >> "package/docker-engine: backport fix for host header check" >> Message-ID: <20230926214536.00A9C81D5C at busybox.osuosl.org> >> >> commit: https://git.buildroot.net/buildroot/commit/?id=a0a7113ae8d7efd7455e361d320d5d8b60bb9b02 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x >> >> This reverts commit 0b608f0252f51b7d2f54219153976eac7e30669c. >> >> With the bump to go 1.19.13, this workaround is no longer needed. >> >> Signed-off-by: Peter Korsgaard >> --- >> ...ne-a-dummy-hostname-to-use-for-local-conn.patch | 174 --------------------- >> ...-use-a-dummy-hostname-for-local-connectio.patch | 69 -------- >> 2 files changed, 243 deletions(-) >> >> diff --git a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch b/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch >> deleted file mode 100644 >> index c5f8d1eb71..0000000000 >> --- a/package/docker-engine/0001-client-define-a-dummy-hostname-to-use-for-local-conn.patch >> +++ /dev/null >> @@ -1,174 +0,0 @@ >> -From 8ced4331e5e3a6760465a8ce2bd42c66d3232c96 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Wed, 12 Jul 2023 14:15:38 +0200 >> -Subject: [PATCH] client: define a "dummy" hostname to use for local >> - connections >> - >> -Go 1.20.6 and 1.19.11 include a security check of the http Host header: >> - >> - https://github.com/golang/go/issues/60374 >> - >> -This is a backported patch to fix this issue. >> - >> -Issue: https://github.com/moby/moby/issues/45935 >> -Upstream PR: https://github.com/moby/moby/pull/45942 >> - >> -The upstream PR has been merged and will be included in v24.0.5. >> - >> -Signed-off-by: Christian Stewart >> - >> ---- >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the client's `addr` as hostname in some cases, which >> -could contain the path for the unix-socket (`/var/run/docker.sock`), which >> -gets rejected by go1.20.6 and go1.19.11 because of a security fix for >> -[CVE-2023-29406 ][1], which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> - >> -This patch introduces a `DummyHost` const, and uses this dummy host for >> -cases where we don't need an actual hostname. >> - >> -Before this patch (using go1.20.6): >> - >> - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration >> - === RUN TestAttachWithTTY >> - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header >> - --- FAIL: TestAttachWithTTY (0.11s) >> - === RUN TestAttachWithoutTTy >> - attach_test.go:46: assertion failed: error is not nil: http: invalid Host header >> - --- FAIL: TestAttachWithoutTTy (0.02s) >> - FAIL >> - >> -With this patch applied: >> - >> - make GO_VERSION=1.20.6 TEST_FILTER=TestAttach test-integration >> - INFO: Testing against a local daemon >> - === RUN TestAttachWithTTY >> - --- PASS: TestAttachWithTTY (0.12s) >> - === RUN TestAttachWithoutTTy >> - --- PASS: TestAttachWithoutTTy (0.02s) >> - PASS >> - >> -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx >> - >> -Signed-off-by: Sebastiaan van Stijn >> -(cherry picked from commit 92975f0c11f0566cc3c36659f5e3bb9faf5cb176) >> -Signed-off-by: Sebastiaan van Stijn >> ---- >> - client/client.go | 30 ++++++++++++++++++++++++++++++ >> - client/hijack.go | 6 +++++- >> - client/request.go | 10 ++++------ >> - client/request_test.go | 4 ++-- >> - 4 files changed, 41 insertions(+), 9 deletions(-) >> - >> -diff --git a/client/client.go b/client/client.go >> -index 1c081a51ae..54fa36cca8 100644 >> ---- a/client/client.go >> -+++ b/client/client.go >> -@@ -56,6 +56,36 @@ import ( >> - "github.com/pkg/errors" >> - ) >> - >> -+// DummyHost is a hostname used for local communication. >> -+// >> -+// It acts as a valid formatted hostname for local connections (such as "unix://" >> -+// or "npipe://") which do not require a hostname. It should never be resolved, >> -+// but uses the special-purpose ".localhost" TLD (as defined in [RFC 2606, Section 2] >> -+// and [RFC 6761, Section 6.3]). >> -+// >> -+// [RFC 7230, Section 5.4] defines that an empty header must be used for such >> -+// cases: >> -+// >> -+// If the authority component is missing or undefined for the target URI, >> -+// then a client MUST send a Host header field with an empty field-value. >> -+// >> -+// However, [Go stdlib] enforces the semantics of HTTP(S) over TCP, does not >> -+// allow an empty header to be used, and requires req.URL.Scheme to be either >> -+// "http" or "https". >> -+// >> -+// For further details, refer to: >> -+// >> -+// - https://github.com/docker/engine-api/issues/189 >> -+// - https://github.com/golang/go/issues/13624 >> -+// - https://github.com/golang/go/issues/61076 >> -+// - https://github.com/moby/moby/issues/45935 >> -+// >> -+// [RFC 2606, Section 2]: https://www.rfc-editor.org/rfc/rfc2606.html#section-2 >> -+// [RFC 6761, Section 6.3]: https://www.rfc-editor.org/rfc/rfc6761#section-6.3 >> -+// [RFC 7230, Section 5.4]: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 >> -+// [Go stdlib]: https://github.com/golang/go/blob/6244b1946bc2101b01955468f1be502dbadd6807/src/net/http/transport.go#L558-L569 >> -+const DummyHost = "api.moby.localhost" >> -+ >> - // ErrRedirect is the error returned by checkRedirect when the request is non-GET. >> - var ErrRedirect = errors.New("unexpected redirect in response") >> - >> -diff --git a/client/hijack.go b/client/hijack.go >> -index 6bdacab10a..4dcaaca4c5 100644 >> ---- a/client/hijack.go >> -+++ b/client/hijack.go >> -@@ -64,7 +64,11 @@ func fallbackDial(proto, addr string, tlsConfig *tls.Config) (net.Conn, error) { >> - } >> - >> - func (cli *Client) setupHijackConn(ctx context.Context, req *http.Request, proto string) (net.Conn, string, error) { >> -- req.Host = cli.addr >> -+ req.URL.Host = cli.addr >> -+ if cli.proto == "unix" || cli.proto == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> -+ } >> - req.Header.Set("Connection", "Upgrade") >> - req.Header.Set("Upgrade", proto) >> - >> -diff --git a/client/request.go b/client/request.go >> -index c799095c12..bcedcf3bd9 100644 >> ---- a/client/request.go >> -+++ b/client/request.go >> -@@ -96,16 +96,14 @@ func (cli *Client) buildRequest(method, path string, body io.Reader, headers hea >> - return nil, err >> - } >> - req = cli.addHeaders(req, headers) >> -+ req.URL.Scheme = cli.scheme >> -+ req.URL.Host = cli.addr >> - >> - if cli.proto == "unix" || cli.proto == "npipe" { >> -- // For local communications, it doesn't matter what the host is. We just >> -- // need a valid and meaningful host name. (See #189) >> -- req.Host = "docker" >> -+ // Override host header for non-tcp connections. >> -+ req.Host = DummyHost >> - } >> - >> -- req.URL.Host = cli.addr >> -- req.URL.Scheme = cli.scheme >> -- >> - if expectedPayload && req.Header.Get("Content-Type") == "" { >> - req.Header.Set("Content-Type", "text/plain") >> - } >> -diff --git a/client/request_test.go b/client/request_test.go >> -index 6e5a6e81f2..50b09d954c 100644 >> ---- a/client/request_test.go >> -+++ b/client/request_test.go >> -@@ -29,12 +29,12 @@ func TestSetHostHeader(t *testing.T) { >> - }{ >> - { >> - "unix:///var/run/docker.sock", >> -- "docker", >> -+ DummyHost, >> - "/var/run/docker.sock", >> - }, >> - { >> - "npipe:////./pipe/docker_engine", >> -- "docker", >> -+ DummyHost, >> - "//./pipe/docker_engine", >> - }, >> - { >> --- >> -2.41.0 >> - >> diff --git a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch b/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch >> deleted file mode 100644 >> index 5bd8682927..0000000000 >> --- a/package/docker-engine/0002-pkg-plugins-use-a-dummy-hostname-for-local-connectio.patch >> +++ /dev/null >> @@ -1,69 +0,0 @@ >> -From 09306e7eb3c26ade69ef1e4c99d5b1fd9c0b7364 Mon Sep 17 00:00:00 2001 >> -From: Sebastiaan van Stijn >> -Date: Wed, 12 Jul 2023 15:07:59 +0200 >> -Subject: [PATCH] pkg/plugins: use a dummy hostname for local connections >> - >> -For local communications (npipe://, unix://), the hostname is not used, >> -but we need valid and meaningful hostname. >> - >> -The current code used the socket path as hostname, which gets rejected by >> -go1.20.6 and go1.19.11 because of a security fix for [CVE-2023-29406 ][1], >> -which was implemented in https://go.dev/issue/60374. >> - >> -Prior versions go Go would clean the host header, and strip slashes in the >> -process, but go1.20.6 and go1.19.11 no longer do, and reject the host >> -header. >> - >> -Before this patch, tests would fail on go1.20.6: >> - >> - === FAIL: pkg/authorization TestAuthZRequestPlugin (15.01s) >> - time="2023-07-12T12:53:45Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 1s" >> - time="2023-07-12T12:53:46Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 2s" >> - time="2023-07-12T12:53:48Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 4s" >> - time="2023-07-12T12:53:52Z" level=warning msg="Unable to connect to plugin: //tmp/authz2422457390/authz-test-plugin.sock/AuthZPlugin.AuthZReq: Post \"http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq\": http: invalid Host header, retrying in 8s" >> - authz_unix_test.go:82: Failed to authorize request Post "http://%2F%2Ftmp%2Fauthz2422457390%2Fauthz-test-plugin.sock/AuthZPlugin.AuthZReq": http: invalid Host header >> - >> -[1]: https://github.com/advisories/GHSA-f8f7-69v5-w4vx >> - >> -Signed-off-by: Sebastiaan van Stijn >> -(cherry picked from commit 6b7705d5b29e226a24902a8dcc488836faaee33c) >> -Signed-off-by: Sebastiaan van Stijn >> ---- >> - pkg/plugins/client.go | 14 ++++++++++++-- >> - 1 file changed, 12 insertions(+), 2 deletions(-) >> - >> -diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go >> -index 752fecd0ae..e683eb777d 100644 >> ---- a/pkg/plugins/client.go >> -+++ b/pkg/plugins/client.go >> -@@ -18,6 +18,12 @@ import ( >> - >> - const ( >> - defaultTimeOut = 30 >> -+ >> -+ // dummyHost is a hostname used for local communication. >> -+ // >> -+ // For local communications (npipe://, unix://), the hostname is not used, >> -+ // but we need valid and meaningful hostname. >> -+ dummyHost = "plugin.moby.localhost" >> - ) >> - >> - func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transport, error) { >> -@@ -44,8 +50,12 @@ func newTransport(addr string, tlsConfig *tlsconfig.Options) (transport.Transpor >> - return nil, err >> - } >> - scheme := httpScheme(u) >> -- >> -- return transport.NewHTTPTransport(tr, scheme, socket), nil >> -+ hostName := u.Host >> -+ if hostName == "" || u.Scheme == "unix" || u.Scheme == "npipe" { >> -+ // Override host header for non-tcp connections. >> -+ hostName = dummyHost >> -+ } >> -+ return transport.NewHTTPTransport(tr, scheme, hostName), nil >> - } >> - >> - // NewClient creates a new plugin client (http). >> --- >> -2.41.0 >> - >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot >> >> >> ------------------------------ >> >> End of buildroot Digest, Vol 207, Issue 55 >> ****************************************** > > -- > Thanks, > Nayab > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > > > ------------------------------ > > End of buildroot Digest, Vol 208, Issue 9 > ***************************************** -- Thanks, Nayab From enki at fsck.pl Fri Oct 6 14:05:08 2023 From: enki at fsck.pl (Maciej Grela) Date: Fri, 6 Oct 2023 16:05:08 +0200 Subject: [Buildroot] [PATCH v3 0/3] Support for D-Link DNS-320L In-Reply-To: <20231004131256.2113233-2-enki@fsck.pl> References: <20231004131256.2113233-2-enki@fsck.pl> Message-ID: <20231006140511.3840643-1-enki@fsck.pl> Hello, This is a short patchset to support a D-Link DNS-320L NAS. There are two device-specific packages which are required for proper system management on the device as well as a out-of-tree DTS. I am going to send it upstream when I learn more about device trees. I have added myself as a maintainer to the DEVELOPERS file for all relevant parts. The packages have been checked with no issues detected: ? buildroot git:(master) ? utils/docker-run make check-package 389271 lines processed 0 warnings generated An example boot log is presented below: https://gist.github.com/enkiusz/482fab68ef7a630c8cfaad6f13f63919 The packages build successfully using test-pkg: ? buildroot git:(master) ? cat iniparser.config BR2_PACKAGE_INIPARSER=y ? buildroot git:(master) ? utils/test-pkg --config iniparser.config -p iniparser bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: OK bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK 6 builds, 0 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ? buildroot git:(master) ? ? buildroot git:(master) ? cat dns320l-daemon.config BR2_PACKAGE_DNS320L_DAEMON=y ? buildroot git:(master) ? utils/test-pkg --config dns320l-daemon.config -p dns320l-daemon bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK 6 builds, 1 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed ? buildroot git:(master) ? --- changes v1 -> v2: - don't build iniparser on the host - properly handle building static and shared iniparser in all combos - disable dns320l-daemon on platforms without fork() - DNS-320L is manufactured by D-Link not Netgear, change commit summaries to reflect that changes v2 -> v3: - use SIGTERM to restart dns320l-daemon not to trigger a device poweroff when the daemon is restarted - add a special 'poweroff' verb to the dns320l-daemon init script to trigger device poweroff - patch the default dns320l-daemon configuration to listen on localhost only Maciej Grela (3): package/iniparser: new package package/dns320l-daemon: new package board/d-link/dns320l: new board DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ package/Config.in | 2 + .../0001-listen-on-localhost.patch | 21 ++ package/dns320l-daemon/Config.in | 8 + package/dns320l-daemon/S50dns320l-daemon | 42 ++++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 32 +++ package/iniparser/Config.in | 6 + package/iniparser/iniparser.hash | 2 + package/iniparser/iniparser.mk | 56 +++++ 12 files changed, 410 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig create mode 100644 package/dns320l-daemon/0001-listen-on-localhost.patch create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk -- 2.39.2 From enki at fsck.pl Fri Oct 6 14:05:09 2023 From: enki at fsck.pl (Maciej Grela) Date: Fri, 6 Oct 2023 16:05:09 +0200 Subject: [Buildroot] [PATCH v3 1/3] package/iniparser: new package In-Reply-To: <20231004131256.2113233-2-enki@fsck.pl> References: <20231004131256.2113233-2-enki@fsck.pl> Message-ID: <20231006140511.3840643-2-enki@fsck.pl> iniparser is a required dependency of dns320l-daemon Signed-off-by: Maciej Grela --- package/Config.in | 1 + package/iniparser/Config.in | 6 ++++ package/iniparser/iniparser.hash | 2 ++ package/iniparser/iniparser.mk | 56 ++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 package/iniparser/Config.in create mode 100644 package/iniparser/iniparser.hash create mode 100644 package/iniparser/iniparser.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..228e9eb1e3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2085,6 +2085,7 @@ menu "Other" source "package/gtest/Config.in" source "package/gumbo-parser/Config.in" source "package/highway/Config.in" + source "package/iniparser/Config.in" source "package/jemalloc/Config.in" source "package/lapack/Config.in" source "package/libabseil-cpp/Config.in" diff --git a/package/iniparser/Config.in b/package/iniparser/Config.in new file mode 100644 index 0000000000..4932869943 --- /dev/null +++ b/package/iniparser/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_INIPARSER + bool "iniparser" + help + ini file parser + + https://github.com/ndevilla/iniparser diff --git a/package/iniparser/iniparser.hash b/package/iniparser/iniparser.hash new file mode 100644 index 0000000000..a745062fcd --- /dev/null +++ b/package/iniparser/iniparser.hash @@ -0,0 +1,2 @@ +# From https://github.com/ndevilla/iniparser/releases +sha256 960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae iniparser-4.1.tar.gz diff --git a/package/iniparser/iniparser.mk b/package/iniparser/iniparser.mk new file mode 100644 index 0000000000..f3f74601f3 --- /dev/null +++ b/package/iniparser/iniparser.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# iniparser +# +################################################################################ + +INIPARSER_VERSION = 4.1 +INIPARSER_SITE = $(call github,ndevilla,iniparser,v$(INIPARSER_VERSION)) +INIPARSER_INSTALL_STAGING = YES +INIPARSER_LICENSE = MIT +INIPARSER_LICENSE_FILES = LICENSE +INIPARSER_SO_TARGET = libiniparser.so.1 +INIPARSER_A_TARGET = libiniparser.a +INIPARSER_BUILD_TARGETS = +INIPARSER_STAGING_INSTALL_TGTS = +INIPARSER_TARGET_INSTALL_TGTS = + +INIPARSER_CONFIGURE_OPTS = $(TARGET_CONFIGURE_OPTS) + +ifeq ($(BR2_STATIC_LIBS),y) +INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET) +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_A_TARGET) +else ifeq ($(BR2_SHARED_LIBS),y) +INIPARSER_LINK_SO = y + +INIPARSER_BUILD_TARGETS = $(INIPARSER_SO_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_SO_TARGET) + +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET) +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +INIPARSER_LINK_SO = y + +INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET) +INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET) + +# Don't install static libs on target +INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET) +endif + +define INIPARSER_BUILD_CMDS + $(INIPARSER_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(INIPARSER_BUILD_TARGETS) +endef + +define INIPARSER_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 0644 $(@D)/src/iniparser.h $(@D)/src/dictionary.h $(STAGING_DIR)/usr/include/ + $(foreach target,$(INIPARSER_STAGING_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(STAGING_DIR)/usr/lib/) + $(if $(INIPARSER_LINK_SO),ln -s -r $(STAGING_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(STAGING_DIR)/usr/lib/libiniparser.so) +endef + +define INIPARSER_INSTALL_TARGET_CMDS + $(foreach target,$(INIPARSER_TARGET_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(TARGET_DIR)/usr/lib/) + $(if $(INIPARSER_LINK_SO),ln -s -r $(TARGET_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(TARGET_DIR)/usr/lib/libiniparser.so) +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Fri Oct 6 14:05:10 2023 From: enki at fsck.pl (Maciej Grela) Date: Fri, 6 Oct 2023 16:05:10 +0200 Subject: [Buildroot] [PATCH v3 2/3] package/dns320l-daemon: new package In-Reply-To: <20231004131256.2113233-2-enki@fsck.pl> References: <20231004131256.2113233-2-enki@fsck.pl> Message-ID: <20231006140511.3840643-3-enki@fsck.pl> dns320l-daemon is a simple system management daemon for the D-Link DNS-320L NAS. It handles power, Wake-on-LAN, temperature, fan speed and some LEDs. Signed-off-by: Maciej Grela --- package/Config.in | 1 + .../0001-listen-on-localhost.patch | 21 ++++++++++ package/dns320l-daemon/Config.in | 8 ++++ package/dns320l-daemon/S50dns320l-daemon | 42 +++++++++++++++++++ package/dns320l-daemon/dns320l-daemon.hash | 1 + package/dns320l-daemon/dns320l-daemon.mk | 32 ++++++++++++++ 6 files changed, 105 insertions(+) create mode 100644 package/dns320l-daemon/0001-listen-on-localhost.patch create mode 100644 package/dns320l-daemon/Config.in create mode 100644 package/dns320l-daemon/S50dns320l-daemon create mode 100644 package/dns320l-daemon/dns320l-daemon.hash create mode 100644 package/dns320l-daemon/dns320l-daemon.mk diff --git a/package/Config.in b/package/Config.in index 228e9eb1e3..f1c451890f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2684,6 +2684,7 @@ menu "System tools" source "package/dcron/Config.in" source "package/ddrescue/Config.in" source "package/debianutils/Config.in" + source "package/dns320l-daemon/Config.in" source "package/docker-cli/Config.in" source "package/docker-compose/Config.in" source "package/docker-engine/Config.in" diff --git a/package/dns320l-daemon/0001-listen-on-localhost.patch b/package/dns320l-daemon/0001-listen-on-localhost.patch new file mode 100644 index 0000000000..50da024024 --- /dev/null +++ b/package/dns320l-daemon/0001-listen-on-localhost.patch @@ -0,0 +1,21 @@ +# HG changeset patch +# User Maciej Grela +# Date 1696540279 -7200 +# Thu Oct 05 23:11:19 2023 +0200 +# Node ID eca5ed65582402e64c36145290c214aee84b012b +# Parent 1f945ce22321a876143b38aaf5610c8915172b90 +Subject: [PATCH] Listen on localhost by default +Signed-off-by: Maciej Grela + +diff -r 1f945ce22321 -r eca5ed655824 dns320l-daemon.ini +--- a/dns320l-daemon.ini Tue Dec 09 12:24:29 2014 +0100 ++++ b/dns320l-daemon.ini Thu Oct 05 23:11:19 2023 +0200 +@@ -4,7 +4,7 @@ + + [Daemon] + ServerPort = 57367 +-ServerAddr = 0.0.0.0 ++ServerAddr = 127.0.0.1 + SyncTimeOnStartup = 0 + SyncTimeOnShutdown = 0 + DeviceShutdownDelay = 30 diff --git a/package/dns320l-daemon/Config.in b/package/dns320l-daemon/Config.in new file mode 100644 index 0000000000..35bd30a9e5 --- /dev/null +++ b/package/dns320l-daemon/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_DNS320L_DAEMON + bool "dns320l-daemon" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_INIPARSER + help + MCU Daemon for the D-Link DNS-320L + + https://www.aboehler.at/hg/dns320l-daemon diff --git a/package/dns320l-daemon/S50dns320l-daemon b/package/dns320l-daemon/S50dns320l-daemon new file mode 100644 index 0000000000..3bc2a60d0b --- /dev/null +++ b/package/dns320l-daemon/S50dns320l-daemon @@ -0,0 +1,42 @@ +#!/bin/sh + +DAEMON="dns320l-daemon" + +start() { + printf 'Starting %s: ' "$DAEMON" + start-stop-daemon -S -x "/usr/bin/$DAEMON" + status="$?" + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -s INT -K -x "/usr/bin/$DAEMON" +} + +poweroff() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -s TERM -K -x "/usr/bin/$DAEMON" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + restart;; + *) + echo "Usage: $0 {start|stop|restart|poweroff}" + exit 1 + ;; +esac diff --git a/package/dns320l-daemon/dns320l-daemon.hash b/package/dns320l-daemon/dns320l-daemon.hash new file mode 100644 index 0000000000..4396eb8f5d --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.hash @@ -0,0 +1 @@ +sha256 eac74a64f0d4127748e629b8a5f723eab58ac83064a3f249f97b85bcd7faf061 tip.tar.bz2 diff --git a/package/dns320l-daemon/dns320l-daemon.mk b/package/dns320l-daemon/dns320l-daemon.mk new file mode 100644 index 0000000000..bc24a553c2 --- /dev/null +++ b/package/dns320l-daemon/dns320l-daemon.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# dns320l-daemon +# +################################################################################ + +DNS320L_DAEMON_VERSION = 1.0 +DNS320L_DAEMON_SOURCE = tip.tar.bz2 +DNS320L_DAEMON_SITE = https://www.aboehler.at/hg/dns320l-daemon/archive +DNS320L_DAEMON_LICENSE = GPL-3 +DNS320L_DAEMON_DEPENDENCIES = iniparser +DNS320l_DAEMON_PATCH = 0001-listen-on-localhost.patch + +define DNS320L_DAEMON_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" +endef + +define DNS320L_DAEMON_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/dns320l-daemon $(TARGET_DIR)/usr/bin/ + $(INSTALL) -D -m 0600 $(@D)/dns320l-daemon.ini $(TARGET_DIR)/etc/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/dns320l-daemon.service $(TARGET_DIR)/lib/systemd/system/ +endef + +define DNS320L_DAEMON_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/dns320l-daemon/S50dns320l-daemon $(TARGET_DIR)/etc/init.d/S50dns320l-daemon +endef + +$(eval $(generic-package)) -- 2.39.2 From enki at fsck.pl Fri Oct 6 14:05:11 2023 From: enki at fsck.pl (Maciej Grela) Date: Fri, 6 Oct 2023 16:05:11 +0200 Subject: [Buildroot] [PATCH v3 3/3] board/d-link/dns320l: new board In-Reply-To: <20231004131256.2113233-2-enki@fsck.pl> References: <20231004131256.2113233-2-enki@fsck.pl> Message-ID: <20231006140511.3840643-4-enki@fsck.pl> Add support for the D-Link DNS-320L using: - U-Boot 1.1.4 (in device flash) - Linux kernel 6.5.5 This is a 2-Bay 3.5'' SATA NAS with the following specs: - Marvell 88F6702 (1 GHz) CPU - 256 MiB DDR2 RAM - 128 MiB NAND Flash - 2 x SATA - 1 x 1000 Mbit/s Ethernet port - 1 x USB 2.0 The builtin bootloader banner is: U-Boot 1.1.4 (Aug 22 2012 - 17:06:54) Marvell version: 3.6.0.DNS-320L.01 Manufacturer product page: http://sharecenter.dlink.com/products/DNS-320 Device wiki: https://wikidevi.wi-cat.ru/D-Link_DNS-320L_rev_A1 Signed-off-by: Maciej Grela --- DEVELOPERS | 6 + board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++ configs/dns320l_defconfig | 16 ++ 3 files changed, 240 insertions(+) create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts create mode 100644 configs/dns320l_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..76e8644073 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1950,6 +1950,12 @@ N: Ludwig Kormann F: board/in-circuit/ F: configs/icnova* +N: Maciej Grela +F: board/d-link/dns320l/ +F: configs/dns320l_defconfig +F: package/dns320l-daemon +F: package/iniparser + N: Maeva Manuel F: board/freescale/imx8qmmek/ F: configs/freescale_imx8qmmek_defconfig diff --git a/board/d-link/dns320l/dts/kirkwood-dns320l.dts b/board/d-link/dns320l/dts/kirkwood-dns320l.dts new file mode 100644 index 0000000000..660508a51a --- /dev/null +++ b/board/d-link/dns320l/dts/kirkwood-dns320l.dts @@ -0,0 +1,218 @@ +/dts-v1/; + +/* + * Device Tree file for DLINK DNS-320L + * + * Copyright (C) 2015, Sunke Schl?ters + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + * + * + * This file is based on the work of Andreas B?hler : + * - http://www.aboehler.at/doku/doku.php/projects:dns320l + * - http://www.aboehler.at/hg/linux-dns320l/file/ba7a60ad7687/linux-3.12/kirkwood-dns320l.dts + */ + +#include "marvell/kirkwood.dtsi" +#include "marvell/kirkwood-6281.dtsi" + +/ { + model = "D-Link DNS-320L"; + compatible = "dlink,dns-320l", "marvell,kirkwood-88f6702", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + stdout-path = &uart0; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>; + pinctrl-names = "default"; + + button at 1 { + label = "Reset push button"; + linux,code = ; + gpios = <&gpio0 28 1>; + }; + button at 2 { + label = "USB unmount button"; + linux,code = ; + gpios = <&gpio0 27 1>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pmx_led_usb_blue &pmx_led_red_right_hdd + &pmx_led_red_left_hdd &pmx_led_usb_orange>; + pinctrl-names = "default"; + + blue-usb { + label = "usb_blue"; + gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + }; + orange-usb { + label = "usb_orange"; + gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; + }; + orange-l_hdd { + label = "hdd1_orange"; + gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; + }; + orange-r_hdd { + label = "hdd2_orange"; + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; + }; + }; + + ocp at f1000000 { + pinctrl: pin-controller at 10000 { + + pinctrl-0 = <&pmx_button_power>; + pinctrl-names = "default"; + + pmx_sata0: pmx-sata0 { + marvell,pins = "mpp20"; + marvell,function = "sata0"; + }; + pmx_sata1: pmx-sata1 { + marvell,pins = "mpp21"; + marvell,function = "sata1"; + }; + pmx_led_red_right_hdd: pmx-led-red-right-hdd { + marvell,pins = "mpp22"; + marvell,function = "gpio"; + }; + pmx_led_red_left_hdd: pmx-led-red-left-hdd { + marvell,pins = "mpp23"; + marvell,function = "gpio"; + }; + pmx_power_sata: pmx-power-sata { + marvell,pins = "mpp24"; + marvell,function = "gpio"; + }; + pmx_led_usb_blue: pmx-led-usb-blue { + marvell,pins = "mpp25"; + marvell,function = "gpio"; + }; + pmx_led_usb_orange: pmx-led-usb-orange { + marvell,pins = "mpp26"; + marvell,function = "gpio"; + }; + pmx_button_usb_copy: pmx-button-usb-copy { + marvell,pins = "mpp27"; + marvell,function = "gpio"; + }; + pmx_button_reset: pmx-button-reset { + marvell,pins = "mpp28"; + marvell,function = "gpio"; + }; + pmx_button_power: pmx-button-power { // I can't get this one to trigger a button press... + marvell,pins = "mpp29"; + marvell,function = "gpio"; + }; + }; + sata at 80000 { + status = "okay"; + nr-ports = <2>; + }; + serial at 12000 { + status = "okay"; + }; + + serial at 12100 { + pinctrl-0 = <&pmx_uart1>; + pinctrl-names = "default"; + status = "okay"; + }; + }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_power_sata>; + pinctrl-names = "default"; + + sata_power: regulator at 1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "SATA Power"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio1 24 0>; + }; + }; +}; + +&nand { + pinctrl-0 = <&pmx_nand>; + pinctrl-names = "default"; + status = "okay"; + chip-delay = <35>; + + partition at 0 { + label = "u-boot"; + reg = <0x0000000 0x100000>; + read-only; + }; + + partition at 100000 { + label = "uImage"; + reg = <0x0100000 0x500000>; + }; + + partition at 600000 { + label = "ramdisk"; + reg = <0x0600000 0x500000>; + }; + + partition at b00000 { + label = "image"; + reg = <0x0b00000 0x6400000>; + }; + + partition at 6f00000 { + label = "mini firmware"; + reg = <0x6f00000 0xa00000>; + }; + + partition at 7900000 { + label = "config"; + reg = <0x7900000 0x500000>; + }; + + partition at 7e00000 { + label = "my-dlink"; + reg = <0x7e00000 0x200000>; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy at 0 { + reg = <0>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port at 0 { + phy-handle = <ðphy0>; + }; +}; diff --git a/configs/dns320l_defconfig b/configs/dns320l_defconfig new file mode 100644 index 0000000000..f281984267 --- /dev/null +++ b/configs/dns320l_defconfig @@ -0,0 +1,16 @@ +BR2_arm=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_SYSTEM_DHCP="eth0" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.5" +BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" +BR2_LINUX_KERNEL_APPENDED_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/d-link/dns320l/dts/kirkwood-dns320l.dts" +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_CPIO_UIMAGE=y + +# The package is required for proper power management +BR2_PACKAGE_DNS320L_DAEMON=y -- 2.39.2 From arnout at mind.be Fri Oct 6 15:31:10 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:10 +0200 Subject: [Buildroot] [git commit] DEVELOPERS: add Thomas Petazzoni for nodejs Message-ID: <20231006153223.71FEE842FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=65dfac5d11596583e4e31ce83a05045a5c9a2ce6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index c45e7315da..3fffc4346c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2946,6 +2946,7 @@ F: package/msmtp/ F: package/musl/ F: package/musl-fts/ F: package/ne10/ +F: package/nodejs/ F: package/pkg-python.mk F: package/pkg-autotools.mk F: package/pkg-generic.mk From arnout at mind.be Fri Oct 6 15:31:15 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:15 +0200 Subject: [Buildroot] [git commit] support/testing/tests/package/test_nodejs: test both host-nodejs-bin and host-nodejs-src Message-ID: <20231006153223.B7D4D84300@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3a1b68955cf06d7aaa32f02f324931ed30141068 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The TestNodeJSModule test triggers the build of host-nodejs to be able to install third party modules. Now that host-nodejs has two providers, it makes sense to test both cases, so we duplicate TestNodeJSModule into TestNodeJsModuleHostBin (which tests the host-nodejs-bin) and TestNodeJSModuleHostSrc (which tests the host-nodejs-src). Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle --- support/testing/tests/package/test_nodejs.py | 29 +++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/support/testing/tests/package/test_nodejs.py b/support/testing/tests/package/test_nodejs.py index 9463c76b72..b63d44c97e 100644 --- a/support/testing/tests/package/test_nodejs.py +++ b/support/testing/tests/package/test_nodejs.py @@ -27,7 +27,7 @@ class TestNodeJSBasic(infra.basetest.BRTest): self.assertRunOk("node sample_nodejs_basic.js") -class TestNodeJSModule(infra.basetest.BRTest): +class TestNodeJSModuleHostBin(infra.basetest.BRTest): config = \ """ BR2_arm=y @@ -36,6 +36,33 @@ class TestNodeJSModule(infra.basetest.BRTest): BR2_TOOLCHAIN_EXTERNAL=y BR2_PACKAGE_NODEJS=y BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL="lodash" + BR2_PACKAGE_HOST_NODEJS_BIN=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_ROOTFS_POST_BUILD_SCRIPT="{}" + BR2_ROOTFS_POST_SCRIPT_ARGS="{}" + """.format(infra.filepath("tests/package/copy-sample-script-to-target.sh"), + infra.filepath("tests/package/sample_nodejs_module.js")) + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv7", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + self.assertRunOk("node sample_nodejs_module.js") + + +class TestNodeJSModuleHostSrc(infra.basetest.BRTest): + config = \ + """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_PACKAGE_NODEJS=y + BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL="lodash" + BR2_PACKAGE_HOST_NODEJS_SRC=y BR2_TARGET_ROOTFS_CPIO=y # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="{}" From arnout at mind.be Fri Oct 6 15:31:13 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:13 +0200 Subject: [Buildroot] [git commit] package/nodejs: rename to nodejs-src and convert to virtual package Message-ID: <20231006153223.9B11784307@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4cbc2af604e73780c0c6b5c093c55c2f7ee2c4e3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master host-nodejs is quite long to build (5 minutes on a very fast build machine), and will become a download dependency when we implement vendoring for NodeJS-based packages. In order to mitigate this build time, an idea is to use a pre-compiled host NodeJS. One option would be to use a pre-installed NodeJS, but we're concerned by version compatibility issues of the host NodeJS/NPM does not have the same version as the target NodeJS/NPM. So another option is to use a pre-compiled NodeJS provided by the NodeJS project itself. To achieve this, this commit turns the host-nodejs package into a virtual package. For the time being, this has just one provider: host-nodejs-src, which builds host-nodejs from source. This is the original host-nodejs package, renamed to host-nodejs-src. The target nodejs package is also renamed to nodejs-src in order to have a single package nodejs-src that has a host and target version, as usual. We do keep the nodejs target package itself, but it's an empty package - not even a virtual package. This means the following. - Its VERSION, SOURCE and SITE variables are left empty. The existing variables are renamed to NODEJS_COMMON_VERSION etc. to allow them to be reused by nodejs-src and the future nodejs-bin. - It's a generic package with a single dependency, nodejs-src. - The Config.in remains unchanged, except that it selects BR2_PACKAGE_NODEJS_SRC. - BR2_PACKAGE_NODEJS_SRC is a blind option. Co-authored-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle Signed-off-by: Thomas Petazzoni --- package/nodejs/Config.in | 3 + package/nodejs/Config.in.host | 4 + .../0001-add-qemu-wrapper-support.patch | 0 ...002-check-if-uclibc-has-backtrace-support.patch | 0 ...3-include-obj-name-in-shared-intermediate.patch | 0 ...l-modules-cjs-loader.js-adjust-default-pa.patch | 0 package/nodejs/nodejs-src/Config.in | 2 + .../nodejs.hash => nodejs-src/nodejs-src.hash} | 0 .../{nodejs/nodejs.mk => nodejs-src/nodejs-src.mk} | 154 +++++++++++---------- .../{nodejs => nodejs-src}/v8-qemu-wrapper.in | 0 package/nodejs/nodejs.mk | 11 +- 11 files changed, 99 insertions(+), 75 deletions(-) diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in index 1489306be0..c684f8eb86 100644 --- a/package/nodejs/Config.in +++ b/package/nodejs/Config.in @@ -26,6 +26,7 @@ config BR2_PACKAGE_NODEJS # uses dlopen(). On ARMv5, we could technically support static # linking, but that's too much of a corner case to support it. depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_NODEJS_SRC select BR2_PACKAGE_HOST_NODEJS if BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL != "" select BR2_PACKAGE_HOST_PYTHON3 select BR2_PACKAGE_HOST_PYTHON3_BZIP2 @@ -85,3 +86,5 @@ config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS modules. endif + +source "package/nodejs/nodejs-src/Config.in" diff --git a/package/nodejs/Config.in.host b/package/nodejs/Config.in.host index 06a1ca22ad..72b498dada 100644 --- a/package/nodejs/Config.in.host +++ b/package/nodejs/Config.in.host @@ -28,4 +28,8 @@ config BR2_PACKAGE_HOST_NODEJS_COREPACK what currently happens with npm, which is shipped by Node.js by default. +config BR2_PACKAGE_PROVIDES_HOST_NODEJS + string + default "host-nodejs-src" + endif diff --git a/package/nodejs/nodejs/0001-add-qemu-wrapper-support.patch b/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch similarity index 100% rename from package/nodejs/nodejs/0001-add-qemu-wrapper-support.patch rename to package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch diff --git a/package/nodejs/nodejs/0002-check-if-uclibc-has-backtrace-support.patch b/package/nodejs/nodejs-src/0002-check-if-uclibc-has-backtrace-support.patch similarity index 100% rename from package/nodejs/nodejs/0002-check-if-uclibc-has-backtrace-support.patch rename to package/nodejs/nodejs-src/0002-check-if-uclibc-has-backtrace-support.patch diff --git a/package/nodejs/nodejs/0003-include-obj-name-in-shared-intermediate.patch b/package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch similarity index 100% rename from package/nodejs/nodejs/0003-include-obj-name-in-shared-intermediate.patch rename to package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch diff --git a/package/nodejs/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch b/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch similarity index 100% rename from package/nodejs/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch rename to package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch diff --git a/package/nodejs/nodejs-src/Config.in b/package/nodejs/nodejs-src/Config.in new file mode 100644 index 0000000000..90b061f616 --- /dev/null +++ b/package/nodejs/nodejs-src/Config.in @@ -0,0 +1,2 @@ +config BR2_PACKAGE_NODEJS_SRC + bool diff --git a/package/nodejs/nodejs/nodejs.hash b/package/nodejs/nodejs-src/nodejs-src.hash similarity index 100% rename from package/nodejs/nodejs/nodejs.hash rename to package/nodejs/nodejs-src/nodejs-src.hash diff --git a/package/nodejs/nodejs/nodejs.mk b/package/nodejs/nodejs-src/nodejs-src.mk similarity index 60% rename from package/nodejs/nodejs/nodejs.mk rename to package/nodejs/nodejs-src/nodejs-src.mk index 24cd4ded1f..3452c93728 100644 --- a/package/nodejs/nodejs/nodejs.mk +++ b/package/nodejs/nodejs-src/nodejs-src.mk @@ -1,12 +1,22 @@ ################################################################################ # -# nodejs +# nodejs-src # ################################################################################ -# version etc. already defined in package/nodejs/nodejs.mk +NODEJS_SRC_VERSION = $(NODEJS_COMMON_VERSION) +NODEJS_SRC_SOURCE = $(NODEJS_COMMON_SOURCE) +NODEJS_SRC_SITE = $(NODEJS_COMMON_SITE) +NODEJS_SRC_DL_SUBDIR = nodejs -NODEJS_DEPENDENCIES = \ +NODEJS_SRC_LICENSE = $(NODEJS_LICENSE) +NODEJS_SRC_LICENSE_FILES = $(NODEJS_LICENSE_FILES) +NODEJS_SRC_CPE_ID_VENDOR = $(NODEJS_CPE_ID_VENDOR) +NODEJS_SRC_CPE_ID_PRODUCT = $(NODEJS_CPE_ID_PRODUCT) + +HOST_NODEJS_SRC_PROVIDES = host-nodejs + +NODEJS_SRC_DEPENDENCIES = \ host-ninja \ host-pkgconf \ host-python3 \ @@ -16,16 +26,16 @@ NODEJS_DEPENDENCIES = \ nghttp2 \ zlib \ $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) -HOST_NODEJS_DEPENDENCIES = \ +HOST_NODEJS_SRC_DEPENDENCIES = \ host-icu \ host-libopenssl \ host-ninja \ host-pkgconf \ host-python3 \ host-zlib -NODEJS_INSTALL_STAGING = YES +NODEJS_SRC_INSTALL_STAGING = YES -NODEJS_CONF_OPTS = \ +NODEJS_SRC_CONF_OPTS = \ --shared-zlib \ --shared-cares \ --shared-libuv \ @@ -36,51 +46,51 @@ NODEJS_CONF_OPTS = \ --dest-os=linux \ --ninja -HOST_NODEJS_MAKE_OPTS = \ +HOST_NODEJS_SRC_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ - CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ + CXXFLAGS="$(HOST_NODEJS_SRC_CXXFLAGS)" \ LDFLAGS.host="$(HOST_LDFLAGS)" \ NO_LOAD=cctest.target.mk \ PATH=$(@D)/bin:$(BR_PATH) \ JOBS=$(PARALLEL_JOBS) -NODEJS_MAKE_OPTS = \ +NODEJS_SRC_MAKE_OPTS = \ $(TARGET_CONFIGURE_OPTS) \ NO_LOAD=cctest.target.mk \ PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ + LDFLAGS="$(NODEJS_SRC_LDFLAGS)" \ LD="$(TARGET_CXX)" \ JOBS=$(PARALLEL_JOBS) # nodejs's build system uses python which can be a symlink to an unsupported # python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by # forcing host-python3 early in the PATH, via a python->python3 symlink. -define NODEJS_PYTHON3_SYMLINK +define NODEJS_SRC_PYTHON3_SYMLINK mkdir -p $(@D)/bin ln -sf $(HOST_DIR)/bin/python3 $(@D)/bin/python endef -HOST_NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK +HOST_NODEJS_SRC_PRE_CONFIGURE_HOOKS += NODEJS_SRC_PYTHON3_SYMLINK +NODEJS_SRC_PRE_CONFIGURE_HOOKS += NODEJS_SRC_PYTHON3_SYMLINK ifeq ($(BR2_PACKAGE_OPENSSL),y) -NODEJS_DEPENDENCIES += openssl -NODEJS_CONF_OPTS += --shared-openssl +NODEJS_SRC_DEPENDENCIES += openssl +NODEJS_SRC_CONF_OPTS += --shared-openssl else -NODEJS_CONF_OPTS += --without-ssl +NODEJS_SRC_CONF_OPTS += --without-ssl endif ifeq ($(BR2_PACKAGE_ICU),y) -NODEJS_DEPENDENCIES += icu -NODEJS_CONF_OPTS += --with-intl=system-icu +NODEJS_SRC_DEPENDENCIES += icu +NODEJS_SRC_CONF_OPTS += --with-intl=system-icu else -NODEJS_CONF_OPTS += --with-intl=none +NODEJS_SRC_CONF_OPTS += --with-intl=none endif ifneq ($(BR2_PACKAGE_NODEJS_NPM),y) -NODEJS_CONF_OPTS += --without-npm +NODEJS_SRC_CONF_OPTS += --without-npm endif -define HOST_NODEJS_CONFIGURE_CMDS +define HOST_NODEJS_SRC_CONFIGURE_CMDS cd $(@D); \ $(HOST_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) \ @@ -98,72 +108,72 @@ define HOST_NODEJS_CONFIGURE_CMDS --ninja endef -HOST_NODEJS_CXXFLAGS = $(HOST_CXXFLAGS) +HOST_NODEJS_SRC_CXXFLAGS = $(HOST_CXXFLAGS) -define HOST_NODEJS_BUILD_CMDS +define HOST_NODEJS_SRC_BUILD_CMDS $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) \ - $(HOST_NODEJS_MAKE_OPTS) + $(HOST_NODEJS_SRC_MAKE_OPTS) endef ifeq ($(BR2_PACKAGE_HOST_NODEJS_COREPACK),y) -define HOST_NODEJS_ENABLE_COREPACK +define HOST_NODEJS_SRC_ENABLE_COREPACK $(COREPACK) enable endef endif -define HOST_NODEJS_INSTALL_CMDS +define HOST_NODEJS_SRC_INSTALL_CMDS $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) install \ - $(HOST_NODEJS_MAKE_OPTS) - $(HOST_NODEJS_ENABLE_COREPACK) + $(HOST_NODEJS_SRC_MAKE_OPTS) + $(HOST_NODEJS_SRC_ENABLE_COREPACK) endef ifeq ($(BR2_i386),y) -NODEJS_CPU = ia32 +NODEJS_SRC_CPU = ia32 else ifeq ($(BR2_x86_64),y) -NODEJS_CPU = x64 +NODEJS_SRC_CPU = x64 else ifeq ($(BR2_mips),y) -NODEJS_CPU = mips +NODEJS_SRC_CPU = mips else ifeq ($(BR2_mipsel),y) -NODEJS_CPU = mipsel +NODEJS_SRC_CPU = mipsel else ifeq ($(BR2_arm),y) -NODEJS_CPU = arm +NODEJS_SRC_CPU = arm # V8 needs to know what floating point ABI the target is using. -NODEJS_ARM_FP = $(GCC_TARGET_FLOAT_ABI) +NODEJS_SRC_ARM_FP = $(GCC_TARGET_FLOAT_ABI) # it also wants to know which FPU to use, but only has support for # vfp, vfpv3, vfpv3-d16 and neon. ifeq ($(BR2_ARM_FPU_VFPV2),y) -NODEJS_ARM_FPU = vfp +NODEJS_SRC_ARM_FPU = vfp # vfpv4 is a superset of vfpv3 else ifeq ($(BR2_ARM_FPU_VFPV3)$(BR2_ARM_FPU_VFPV4),y) -NODEJS_ARM_FPU = vfpv3 +NODEJS_SRC_ARM_FPU = vfpv3 # vfpv4-d16 is a superset of vfpv3-d16 else ifeq ($(BR2_ARM_FPU_VFPV3D16)$(BR2_ARM_FPU_VFPV4D16),y) -NODEJS_ARM_FPU = vfpv3-d16 +NODEJS_SRC_ARM_FPU = vfpv3-d16 else ifeq ($(BR2_ARM_FPU_NEON),y) -NODEJS_ARM_FPU = neon +NODEJS_SRC_ARM_FPU = neon endif else ifeq ($(BR2_aarch64),y) -NODEJS_CPU = arm64 +NODEJS_SRC_CPU = arm64 endif # MIPS architecture specific options ifeq ($(BR2_mips)$(BR2_mipsel),y) ifeq ($(BR2_MIPS_CPU_MIPS32R6),y) -NODEJS_MIPS_ARCH_VARIANT = r6 -NODEJS_MIPS_FPU_MODE = fp64 +NODEJS_SRC_MIPS_ARCH_VARIANT = r6 +NODEJS_SRC_MIPS_FPU_MODE = fp64 else ifeq ($(BR2_MIPS_CPU_MIPS32R2),y) -NODEJS_MIPS_ARCH_VARIANT = r2 +NODEJS_SRC_MIPS_ARCH_VARIANT = r2 else ifeq ($(BR2_MIPS_CPU_MIPS32),y) -NODEJS_MIPS_ARCH_VARIANT = r1 +NODEJS_SRC_MIPS_ARCH_VARIANT = r1 endif endif -NODEJS_LDFLAGS = $(TARGET_LDFLAGS) +NODEJS_SRC_LDFLAGS = $(TARGET_LDFLAGS) ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -NODEJS_LDFLAGS += -latomic +NODEJS_SRC_LDFLAGS += -latomic endif # V8's JIT infrastructure requires binaries such as mksnapshot and @@ -172,8 +182,8 @@ endif # host targeting ARMv6 needs to produce a 32-bit binary). To work around this # issue, cross-compile the binaries for the target and run them on the # host with QEMU, much like gobject-introspection. -define NODEJS_INSTALL_V8_QEMU_WRAPPER - $(INSTALL) -D -m 755 $(NODEJS_PKGDIR)/v8-qemu-wrapper.in \ +define NODEJS_SRC_INSTALL_V8_QEMU_WRAPPER + $(INSTALL) -D -m 755 $(NODEJS_SRC_PKGDIR)/v8-qemu-wrapper.in \ $(@D)/out/Release/v8-qemu-wrapper $(SED) "s%@QEMU_USER@%$(QEMU_USER)%g" \ $(@D)/out/Release/v8-qemu-wrapper @@ -182,77 +192,77 @@ define NODEJS_INSTALL_V8_QEMU_WRAPPER $(SED) "s%@QEMU_USERMODE_ARGS@%$(call qstrip,$(BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS))%g" \ $(@D)/out/Release/v8-qemu-wrapper endef -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_INSTALL_V8_QEMU_WRAPPER +NODEJS_SRC_PRE_CONFIGURE_HOOKS += NODEJS_SRC_INSTALL_V8_QEMU_WRAPPER -define NODEJS_WRAPPER_FIXUP +define NODEJS_SRC_WRAPPER_FIXUP $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/node.gyp $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/tools/v8_gypfiles/v8.gyp endef -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_WRAPPER_FIXUP +NODEJS_SRC_PRE_CONFIGURE_HOOKS += NODEJS_SRC_WRAPPER_FIXUP # Do not run the qemu-wrapper for the host build. -define HOST_NODEJS_WRAPPER_FIXUP +define HOST_NODEJS_SRC_WRAPPER_FIXUP $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/node.gyp $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/tools/v8_gypfiles/v8.gyp endef -HOST_NODEJS_PRE_CONFIGURE_HOOKS += HOST_NODEJS_WRAPPER_FIXUP +HOST_NODEJS_SRC_PRE_CONFIGURE_HOOKS += HOST_NODEJS_SRC_WRAPPER_FIXUP -define NODEJS_CONFIGURE_CMDS +define NODEJS_SRC_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ + LDFLAGS="$(NODEJS_SRC_LDFLAGS)" \ LD="$(TARGET_CXX)" \ PYTHON=$(HOST_DIR)/bin/python3 \ $(HOST_DIR)/bin/python3 configure.py \ --prefix=/usr \ - --dest-cpu=$(NODEJS_CPU) \ - $(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \ - $(if $(NODEJS_ARM_FPU),--with-arm-fpu=$(NODEJS_ARM_FPU)) \ - $(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \ - $(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \ - $(NODEJS_CONF_OPTS) \ + --dest-cpu=$(NODEJS_SRC_CPU) \ + $(if $(NODEJS_SRC_ARM_FP),--with-arm-float-abi=$(NODEJS_SRC_ARM_FP)) \ + $(if $(NODEJS_SRC_ARM_FPU),--with-arm-fpu=$(NODEJS_SRC_ARM_FPU)) \ + $(if $(NODEJS_SRC_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_SRC_MIPS_ARCH_VARIANT)) \ + $(if $(NODEJS_SRC_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_SRC_MIPS_FPU_MODE)) \ + $(NODEJS_SRC_CONF_OPTS) \ ) endef -define NODEJS_BUILD_CMDS +define NODEJS_SRC_BUILD_CMDS $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) \ - $(NODEJS_MAKE_OPTS) + $(NODEJS_SRC_MAKE_OPTS) endef # # Build the list of modules to install. # -NODEJS_MODULES_LIST= $(call qstrip,\ +NODEJS_SRC_MODULES_LIST= $(call qstrip,\ $(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL)) # # We can only call NPM if there's something to install. # -ifneq ($(NODEJS_MODULES_LIST),) -NODEJS_DEPENDENCIES += host-nodejs -define NODEJS_INSTALL_MODULES +ifneq ($(NODEJS_SRC_MODULES_LIST),) +NODEJS_SRC_DEPENDENCIES += host-nodejs +define NODEJS_SRC_INSTALL_MODULES # If you're having trouble with module installation, adding -d to the # npm install call below and setting npm_config_rollback=false can both # help in diagnosing the problem. - $(NPM) install -g $(NODEJS_MODULES_LIST) + $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) endef endif -define NODEJS_INSTALL_STAGING_CMDS +define NODEJS_SRC_INSTALL_STAGING_CMDS $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) install \ DESTDIR=$(STAGING_DIR) \ - $(NODEJS_MAKE_OPTS) + $(NODEJS_SRC_MAKE_OPTS) endef -define NODEJS_INSTALL_TARGET_CMDS +define NODEJS_SRC_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ $(MAKE) -C $(@D) install \ DESTDIR=$(TARGET_DIR) \ - $(NODEJS_MAKE_OPTS) - $(NODEJS_INSTALL_MODULES) + $(NODEJS_SRC_MAKE_OPTS) + $(NODEJS_SRC_INSTALL_MODULES) endef # node.js configure is a Python script and does not use autotools diff --git a/package/nodejs/nodejs/v8-qemu-wrapper.in b/package/nodejs/nodejs-src/v8-qemu-wrapper.in similarity index 100% rename from package/nodejs/nodejs/v8-qemu-wrapper.in rename to package/nodejs/nodejs-src/v8-qemu-wrapper.in diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 16e85b7ab9..2a8c570932 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -4,9 +4,10 @@ # ################################################################################ -NODEJS_VERSION = 16.20.0 -NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz -NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) +# _VERSION, _SOURCE and _SITE must be kept empty to avoid downloading anything +NODEJS_COMMON_VERSION = 16.20.0 +NODEJS_COMMON_SOURCE = node-v$(NODEJS_COMMON_VERSION).tar.xz +NODEJS_COMMON_SITE = http://nodejs.org/dist/v$(NODEJS_COMMON_VERSION) NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) NODEJS_LICENSE_FILES = LICENSE @@ -31,4 +32,8 @@ PNPM = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/pnpm YARN = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/yarn endif +NODEJS_DEPENDENCIES = nodejs-src +$(eval $(generic-package)) +$(eval $(host-virtual-package)) + include $(sort $(wildcard package/nodejs/*/*.mk)) From arnout at mind.be Fri Oct 6 15:31:12 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:12 +0200 Subject: [Buildroot] [git commit] package/nodejs: move to package/nodejs/nodejs Message-ID: <20231006153223.8081484300@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4c66ee3cda45bebf9044d09f0d2ceec2ea4298cd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Later we will change host-nodejs into a virtual package with the option to download the binary, or to build from source. Those two implementations will share version etc., so we want them in a subdirectory in order to guarantee order of inclusion. As a preparatory step, move the existing, single nodejs implementation down into a subdirectory. The definitions in nodejs.mk that will later be shared between the source and binary variants of the package stay in package/nodejs/nodejs.mk; the rest moves down to package/nodejs/nodejs/nodejs.mk. The hash file will be shared between the implementations and therefore stays in package/nodejs/nodejs.hash. package/nodejs/nodejs/nodejs.hash is a symlink to it. The Config.in and Config.in.host don't move. The two implementations will only have blind options. Signed-off-by: Arnout Vandecappelle --- package/nodejs/nodejs.mk | 253 +-------------------- .../0001-add-qemu-wrapper-support.patch | 0 ...002-check-if-uclibc-has-backtrace-support.patch | 0 ...3-include-obj-name-in-shared-intermediate.patch | 0 ...l-modules-cjs-loader.js-adjust-default-pa.patch | 0 package/nodejs/nodejs/nodejs.hash | 1 + package/nodejs/{ => nodejs}/nodejs.mk | 27 +-- package/nodejs/{ => nodejs}/v8-qemu-wrapper.in | 0 8 files changed, 5 insertions(+), 276 deletions(-) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index b8e57e567d..16e85b7ab9 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -7,231 +7,12 @@ NODEJS_VERSION = 16.20.0 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) -NODEJS_DEPENDENCIES = \ - host-ninja \ - host-pkgconf \ - host-python3 \ - host-qemu \ - c-ares \ - libuv \ - nghttp2 \ - zlib \ - $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) -HOST_NODEJS_DEPENDENCIES = \ - host-icu \ - host-libopenssl \ - host-ninja \ - host-pkgconf \ - host-python3 \ - host-zlib -NODEJS_INSTALL_STAGING = YES + NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) NODEJS_LICENSE_FILES = LICENSE NODEJS_CPE_ID_VENDOR = nodejs NODEJS_CPE_ID_PRODUCT = node.js -NODEJS_CONF_OPTS = \ - --shared-zlib \ - --shared-cares \ - --shared-libuv \ - --shared-nghttp2 \ - --without-dtrace \ - --without-etw \ - --cross-compiling \ - --dest-os=linux \ - --ninja - -HOST_NODEJS_MAKE_OPTS = \ - $(HOST_CONFIGURE_OPTS) \ - CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ - LDFLAGS.host="$(HOST_LDFLAGS)" \ - NO_LOAD=cctest.target.mk \ - PATH=$(@D)/bin:$(BR_PATH) \ - JOBS=$(PARALLEL_JOBS) - -NODEJS_MAKE_OPTS = \ - $(TARGET_CONFIGURE_OPTS) \ - NO_LOAD=cctest.target.mk \ - PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" \ - JOBS=$(PARALLEL_JOBS) - -# nodejs's build system uses python which can be a symlink to an unsupported -# python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by -# forcing host-python3 early in the PATH, via a python->python3 symlink. -define NODEJS_PYTHON3_SYMLINK - mkdir -p $(@D)/bin - ln -sf $(HOST_DIR)/bin/python3 $(@D)/bin/python -endef -HOST_NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -NODEJS_DEPENDENCIES += openssl -NODEJS_CONF_OPTS += --shared-openssl -else -NODEJS_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_ICU),y) -NODEJS_DEPENDENCIES += icu -NODEJS_CONF_OPTS += --with-intl=system-icu -else -NODEJS_CONF_OPTS += --with-intl=none -endif - -ifneq ($(BR2_PACKAGE_NODEJS_NPM),y) -NODEJS_CONF_OPTS += --without-npm -endif - -define HOST_NODEJS_CONFIGURE_CMDS - cd $(@D); \ - $(HOST_CONFIGURE_OPTS) \ - PATH=$(@D)/bin:$(BR_PATH) \ - PYTHON=$(HOST_DIR)/bin/python3 \ - $(HOST_DIR)/bin/python3 configure.py \ - --prefix=$(HOST_DIR) \ - --without-dtrace \ - --without-etw \ - --shared-openssl \ - --shared-openssl-includes=$(HOST_DIR)/include \ - --shared-openssl-libpath=$(HOST_DIR)/lib \ - --shared-zlib \ - --no-cross-compiling \ - --with-intl=system-icu \ - --ninja -endef - -HOST_NODEJS_CXXFLAGS = $(HOST_CXXFLAGS) - -define HOST_NODEJS_BUILD_CMDS - $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) \ - $(HOST_NODEJS_MAKE_OPTS) -endef - -ifeq ($(BR2_PACKAGE_HOST_NODEJS_COREPACK),y) -define HOST_NODEJS_ENABLE_COREPACK - $(COREPACK) enable -endef -endif - -define HOST_NODEJS_INSTALL_CMDS - $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) install \ - $(HOST_NODEJS_MAKE_OPTS) - $(HOST_NODEJS_ENABLE_COREPACK) -endef - -ifeq ($(BR2_i386),y) -NODEJS_CPU = ia32 -else ifeq ($(BR2_x86_64),y) -NODEJS_CPU = x64 -else ifeq ($(BR2_mips),y) -NODEJS_CPU = mips -else ifeq ($(BR2_mipsel),y) -NODEJS_CPU = mipsel -else ifeq ($(BR2_arm),y) -NODEJS_CPU = arm -# V8 needs to know what floating point ABI the target is using. -NODEJS_ARM_FP = $(GCC_TARGET_FLOAT_ABI) -# it also wants to know which FPU to use, but only has support for -# vfp, vfpv3, vfpv3-d16 and neon. -ifeq ($(BR2_ARM_FPU_VFPV2),y) -NODEJS_ARM_FPU = vfp -# vfpv4 is a superset of vfpv3 -else ifeq ($(BR2_ARM_FPU_VFPV3)$(BR2_ARM_FPU_VFPV4),y) -NODEJS_ARM_FPU = vfpv3 -# vfpv4-d16 is a superset of vfpv3-d16 -else ifeq ($(BR2_ARM_FPU_VFPV3D16)$(BR2_ARM_FPU_VFPV4D16),y) -NODEJS_ARM_FPU = vfpv3-d16 -else ifeq ($(BR2_ARM_FPU_NEON),y) -NODEJS_ARM_FPU = neon -endif -else ifeq ($(BR2_aarch64),y) -NODEJS_CPU = arm64 -endif - -# MIPS architecture specific options -ifeq ($(BR2_mips)$(BR2_mipsel),y) -ifeq ($(BR2_MIPS_CPU_MIPS32R6),y) -NODEJS_MIPS_ARCH_VARIANT = r6 -NODEJS_MIPS_FPU_MODE = fp64 -else ifeq ($(BR2_MIPS_CPU_MIPS32R2),y) -NODEJS_MIPS_ARCH_VARIANT = r2 -else ifeq ($(BR2_MIPS_CPU_MIPS32),y) -NODEJS_MIPS_ARCH_VARIANT = r1 -endif -endif - -NODEJS_LDFLAGS = $(TARGET_LDFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -NODEJS_LDFLAGS += -latomic -endif - -# V8's JIT infrastructure requires binaries such as mksnapshot and -# mkpeephole to be run in the host during the build. However, these -# binaries must have the same bit-width as the target (e.g. a x86_64 -# host targeting ARMv6 needs to produce a 32-bit binary). To work around this -# issue, cross-compile the binaries for the target and run them on the -# host with QEMU, much like gobject-introspection. -define NODEJS_INSTALL_V8_QEMU_WRAPPER - $(INSTALL) -D -m 755 $(NODEJS_PKGDIR)/v8-qemu-wrapper.in \ - $(@D)/out/Release/v8-qemu-wrapper - $(SED) "s%@QEMU_USER@%$(QEMU_USER)%g" \ - $(@D)/out/Release/v8-qemu-wrapper - $(SED) "s%@TOOLCHAIN_HEADERS_VERSION@%$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)%g" \ - $(@D)/out/Release/v8-qemu-wrapper - $(SED) "s%@QEMU_USERMODE_ARGS@%$(call qstrip,$(BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS))%g" \ - $(@D)/out/Release/v8-qemu-wrapper -endef -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_INSTALL_V8_QEMU_WRAPPER - -define NODEJS_WRAPPER_FIXUP - $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/node.gyp - $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/tools/v8_gypfiles/v8.gyp -endef -NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_WRAPPER_FIXUP - -# Do not run the qemu-wrapper for the host build. -define HOST_NODEJS_WRAPPER_FIXUP - $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/node.gyp - $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/tools/v8_gypfiles/v8.gyp -endef -HOST_NODEJS_PRE_CONFIGURE_HOOKS += HOST_NODEJS_WRAPPER_FIXUP - -define NODEJS_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_CONFIGURE_OPTS) \ - PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" \ - PYTHON=$(HOST_DIR)/bin/python3 \ - $(HOST_DIR)/bin/python3 configure.py \ - --prefix=/usr \ - --dest-cpu=$(NODEJS_CPU) \ - $(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \ - $(if $(NODEJS_ARM_FPU),--with-arm-fpu=$(NODEJS_ARM_FPU)) \ - $(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \ - $(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \ - $(NODEJS_CONF_OPTS) \ - ) -endef - -define NODEJS_BUILD_CMDS - $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) \ - $(NODEJS_MAKE_OPTS) -endef - -# -# Build the list of modules to install. -# -NODEJS_MODULES_LIST= $(call qstrip,\ - $(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL)) - NODEJS_BIN_ENV = $(TARGET_CONFIGURE_OPTS) \ LDFLAGS="$(NODEJS_LDFLAGS)" \ LD="$(TARGET_CXX)" \ @@ -250,34 +31,4 @@ PNPM = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/pnpm YARN = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/yarn endif -# -# We can only call NPM if there's something to install. -# -ifneq ($(NODEJS_MODULES_LIST),) -NODEJS_DEPENDENCIES += host-nodejs -define NODEJS_INSTALL_MODULES - # If you're having trouble with module installation, adding -d to the - # npm install call below and setting npm_config_rollback=false can both - # help in diagnosing the problem. - $(NPM) install -g $(NODEJS_MODULES_LIST) -endef -endif - -define NODEJS_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) install \ - DESTDIR=$(STAGING_DIR) \ - $(NODEJS_MAKE_OPTS) -endef - -define NODEJS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ - $(MAKE) -C $(@D) install \ - DESTDIR=$(TARGET_DIR) \ - $(NODEJS_MAKE_OPTS) - $(NODEJS_INSTALL_MODULES) -endef - -# node.js configure is a Python script and does not use autotools -$(eval $(generic-package)) -$(eval $(host-generic-package)) +include $(sort $(wildcard package/nodejs/*/*.mk)) diff --git a/package/nodejs/0001-add-qemu-wrapper-support.patch b/package/nodejs/nodejs/0001-add-qemu-wrapper-support.patch similarity index 100% rename from package/nodejs/0001-add-qemu-wrapper-support.patch rename to package/nodejs/nodejs/0001-add-qemu-wrapper-support.patch diff --git a/package/nodejs/0002-check-if-uclibc-has-backtrace-support.patch b/package/nodejs/nodejs/0002-check-if-uclibc-has-backtrace-support.patch similarity index 100% rename from package/nodejs/0002-check-if-uclibc-has-backtrace-support.patch rename to package/nodejs/nodejs/0002-check-if-uclibc-has-backtrace-support.patch diff --git a/package/nodejs/0003-include-obj-name-in-shared-intermediate.patch b/package/nodejs/nodejs/0003-include-obj-name-in-shared-intermediate.patch similarity index 100% rename from package/nodejs/0003-include-obj-name-in-shared-intermediate.patch rename to package/nodejs/nodejs/0003-include-obj-name-in-shared-intermediate.patch diff --git a/package/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch b/package/nodejs/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch similarity index 100% rename from package/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch rename to package/nodejs/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch diff --git a/package/nodejs/nodejs/nodejs.hash b/package/nodejs/nodejs/nodejs.hash new file mode 120000 index 0000000000..0c3ac2ce77 --- /dev/null +++ b/package/nodejs/nodejs/nodejs.hash @@ -0,0 +1 @@ +../nodejs.hash \ No newline at end of file diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs/nodejs.mk similarity index 88% copy from package/nodejs/nodejs.mk copy to package/nodejs/nodejs/nodejs.mk index b8e57e567d..24cd4ded1f 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs/nodejs.mk @@ -4,9 +4,8 @@ # ################################################################################ -NODEJS_VERSION = 16.20.0 -NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz -NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) +# version etc. already defined in package/nodejs/nodejs.mk + NODEJS_DEPENDENCIES = \ host-ninja \ host-pkgconf \ @@ -25,10 +24,6 @@ HOST_NODEJS_DEPENDENCIES = \ host-python3 \ host-zlib NODEJS_INSTALL_STAGING = YES -NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) -NODEJS_LICENSE_FILES = LICENSE -NODEJS_CPE_ID_VENDOR = nodejs -NODEJS_CPE_ID_PRODUCT = node.js NODEJS_CONF_OPTS = \ --shared-zlib \ @@ -232,24 +227,6 @@ endef NODEJS_MODULES_LIST= $(call qstrip,\ $(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL)) -NODEJS_BIN_ENV = $(TARGET_CONFIGURE_OPTS) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" \ - npm_config_arch=$(NODEJS_CPU) \ - npm_config_target_arch=$(NODEJS_CPU) \ - npm_config_build_from_source=true \ - npm_config_nodedir=$(BUILD_DIR)/nodejs-$(NODEJS_VERSION) \ - npm_config_prefix=$(TARGET_DIR)/usr \ - npm_config_cache=$(BUILD_DIR)/.npm-cache - -# Define various packaging tools for other packages to use -NPM = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/npm -ifeq ($(BR2_PACKAGE_HOST_NODEJS_COREPACK),y) -COREPACK = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/corepack -PNPM = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/pnpm -YARN = $(NODEJS_BIN_ENV) $(HOST_DIR)/bin/yarn -endif - # # We can only call NPM if there's something to install. # diff --git a/package/nodejs/v8-qemu-wrapper.in b/package/nodejs/nodejs/v8-qemu-wrapper.in similarity index 100% rename from package/nodejs/v8-qemu-wrapper.in rename to package/nodejs/nodejs/v8-qemu-wrapper.in From arnout at mind.be Fri Oct 6 15:31:14 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Fri, 6 Oct 2023 17:31:14 +0200 Subject: [Buildroot] [git commit] package/nodejs/nodejs-bin: new provider of host-nodejs Message-ID: <20231006153223.A8F6D842FC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0fd6954fcb2b922ff95779420a36e99229e75f92 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This package downloads the pre-built version of nodejs, if the host platform supports it. Reuse the variables defined in nodejs.mk. For the definition of BR2_PACKAGE_PROVIDES_HOST_NODEJS, take care of defaulting to host-nodejs-bin if host-nodejs is not selected at all. This makes sure that in the future we will be able to run 'make foo-source' for a package that uses nodejs vendoring, and it will use the prebuilt nodejs to perform the vendoring. Signed-off-by: Thomas Petazzoni [Arnout: - update to 16.20.0 to match nodejs.mk - including hashes; - add HOST_NODEJS_BIN_ACTUAL_SOURCE_TARBALL + hash; - move to package/nodejs/nodejs-bin; - drop DEVELOPERS change, it's already covered by package/nodejs; - re-order the series; - immediately add it as a virtual package provider; - add prompt and helpt text to choice; - select host-nodejs-bin as provider if host-nodejs is not selected at all. ] Signed-off-by: Arnout Vandecappelle --- package/nodejs/Config.in.host | 46 ++++++++++++++++++++++++++----- package/nodejs/nodejs-bin/nodejs-bin.hash | 1 + package/nodejs/nodejs-bin/nodejs-bin.mk | 37 +++++++++++++++++++++++++ package/nodejs/nodejs.hash | 8 ++++-- 4 files changed, 83 insertions(+), 9 deletions(-) diff --git a/package/nodejs/Config.in.host b/package/nodejs/Config.in.host index 72b498dada..a8ab89176c 100644 --- a/package/nodejs/Config.in.host +++ b/package/nodejs/Config.in.host @@ -1,12 +1,18 @@ +config BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "aarch64" + default y if BR2_HOSTARCH = "arm" + default y if BR2_HOSTARCH = "ppc64le" + default y if BR2_HOSTARCH = "x86_64" + comment "host nodejs needs a host gcc >= 8" + depends on !BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS depends on !BR2_HOST_GCC_AT_LEAST_8 config BR2_PACKAGE_HOST_NODEJS bool "host nodejs" - depends on BR2_HOST_GCC_AT_LEAST_8 - select BR2_PACKAGE_HOST_PYTHON3 - select BR2_PACKAGE_HOST_PYTHON3_BZIP2 - select BR2_PACKAGE_HOST_PYTHON3_SSL + depends on BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS || \ + BR2_HOST_GCC_AT_LEAST_8 help Event-driven I/O server-side JavaScript environment based on V8. @@ -15,6 +21,30 @@ config BR2_PACKAGE_HOST_NODEJS if BR2_PACKAGE_HOST_NODEJS +choice + prompt "host nodejs variant" + default BR2_PACKAGE_HOST_NODEJS_BIN if BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS + default BR2_PACKAGE_HOST_NODEJS_SRC + help + Select a nodejs variant - built from source or + pre-built. + +config BR2_PACKAGE_HOST_NODEJS_BIN + bool "pre-built version" + depends on BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS + +config BR2_PACKAGE_HOST_NODEJS_SRC + bool "compile from source" + depends on BR2_HOST_GCC_AT_LEAST_8 + select BR2_PACKAGE_HOST_PYTHON3 + select BR2_PACKAGE_HOST_PYTHON3_BZIP2 + select BR2_PACKAGE_HOST_PYTHON3_SSL + +comment "host nodejs from source needs a host gcc >= 8" + depends on !BR2_HOST_GCC_AT_LEAST_8 + +endchoice + config BR2_PACKAGE_HOST_NODEJS_COREPACK bool "Corepack" help @@ -28,8 +58,10 @@ config BR2_PACKAGE_HOST_NODEJS_COREPACK what currently happens with npm, which is shipped by Node.js by default. +endif + config BR2_PACKAGE_PROVIDES_HOST_NODEJS string - default "host-nodejs-src" - -endif + default "host-nodejs-src" if BR2_PACKAGE_HOST_NODEJS_SRC + # default to host-nodejs-bin so it's used if nothing is set explicitly + default "host-nodejs-bin" if !BR2_PACKAGE_HOST_NODEJS_SRC diff --git a/package/nodejs/nodejs-bin/nodejs-bin.hash b/package/nodejs/nodejs-bin/nodejs-bin.hash new file mode 120000 index 0000000000..0c3ac2ce77 --- /dev/null +++ b/package/nodejs/nodejs-bin/nodejs-bin.hash @@ -0,0 +1 @@ +../nodejs.hash \ No newline at end of file diff --git a/package/nodejs/nodejs-bin/nodejs-bin.mk b/package/nodejs/nodejs-bin/nodejs-bin.mk new file mode 100644 index 0000000000..bf603e573c --- /dev/null +++ b/package/nodejs/nodejs-bin/nodejs-bin.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# nodejs-bin +# +################################################################################ + +NODEJS_BIN_VERSION = $(NODEJS_COMMON_VERSION) +NODEJS_BIN_SITE = $(NODEJS_COMMON_SITE) +NODEJS_BIN_SOURCE = node-v$(NODEJS_BIN_VERSION)-linux-$(NODEJS_BIN_ARCH).tar.xz +HOST_NODEJS_BIN_ACTUAL_SOURCE_TARBALL = node-v$(NODEJS_BIN_VERSION).tar.xz +NODEJS_BIN_DL_SUBDIR = nodejs + +NODEJS_BIN_LICENSE = $(NODEJS_LICENSE) +NODEJS_BIN_LICENSE_FILES = $(NODEJS_LICENSE_FILES) +NODEJS_BIN_CPE_ID_VENDOR = $(NODEJS_CPE_ID_VENDOR) +NODEJS_BIN_CPE_ID_PRODUCT = $(NODEJS_CPE_ID_PRODUCT) + +HOST_NODEJS_BIN_PROVIDES = host-nodejs + +ifeq ($(HOSTARCH),aarch64) +NODEJS_BIN_ARCH = arm64 +else ifeq ($(HOSTARCH),arm) +# We assume that if someone does a build on ARM, it will be on an +# ARMv7 machine +NODEJS_BIN_ARCH = armv7l +else ifeq ($(HOSTARCH),ppc64le) +NODEJS_BIN_ARCH = ppc64le +else ifeq ($(HOSTARCH),x86_64) +NODEJS_BIN_ARCH = x64 +endif + +define HOST_NODEJS_BIN_INSTALL_CMDS + rsync -a --exclude=CHANGELOG.md --exclude=LICENSE --exclude=README.md \ + $(@D)/* $(HOST_DIR)/ +endef + +$(eval $(host-generic-package)) diff --git a/package/nodejs/nodejs.hash b/package/nodejs/nodejs.hash index 6ab4c53e79..eaf41f6437 100644 --- a/package/nodejs/nodejs.hash +++ b/package/nodejs/nodejs.hash @@ -1,5 +1,9 @@ -# From https://nodejs.org/dist/v16.20.0/SHASUMS256.txt +# From https://nodejs.org/dist/v16.20.0/SHASUMS256.txt.asc +sha256 aca4794ca60f2e17689a700eeaa95d7adcd5fd01cdd2e4f9d596ac41b600b796 node-v16.20.0-linux-arm64.tar.xz +sha256 5b79addab37bbdc31b442f8e648efad0b5d3aa5f3e0d682f23f4db483408eb2a node-v16.20.0-linux-armv7l.tar.xz +sha256 b439a8f874e8c2fad287ba75a3229407551f5ff9eb41e45e43e9bf67f184f618 node-v16.20.0-linux-ppc64le.tar.xz +sha256 dff21020b555cc165a1ac36da7d4f6c810b35409c94e00afc51d5d370aae47ae node-v16.20.0-linux-x64.tar.xz sha256 e0990f992234e40a51fe11f92c3816c93a77e1b081145d3dd762cd1026345349 node-v16.20.0.tar.xz -# Hash for license file +# Locally calculated sha256 ba325815d3df8819bebaf37cad67d6e1f82271e1e4a1189b53abd28e261977d6 LICENSE From peter at korsgaard.com Fri Oct 6 19:10:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:40 +0200 Subject: [Buildroot] [PATCH 03/12] package/gst1-plugins-good: security bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-3-peter@korsgaard.com> Fixes CVE-2023-37327: Heap-based buffer overflow in the FLAC parser when handling malformed image tags in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0001.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash | 4 ++-- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash index 604e74b57d..1b315ac1cc 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz.sha256sum -sha256 7c8cc59425f2b232f60ca7d13e56edd615da4f711e73dd01a7cffa46e6bc0cdd gst-plugins-good-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.6.tar.xz.sha256sum +sha256 b3b07fe3f1ce7fe93aa9be7217866044548f35c4a7792280eec7e108a32f9817 gst-plugins-good-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 41f4c727f3..4c6188c097 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_GOOD_VERSION = 1.22.2 +GST1_PLUGINS_GOOD_VERSION = 1.22.6 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:42 +0200 Subject: [Buildroot] [PATCH 05/12] package/gst1-plugins-ugly: security bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-5-peter@korsgaard.com> Fixes the following security issues: ZDI-CAN-21443: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0004.html ZDI-CAN-21444: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0005.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash | 4 ++-- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash index ed781df686..f55dd7b3a0 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.2.tar.xz.sha256sum -sha256 8f30f44db0bd063709bf6fbe55138e3a98af0abcb61c360f35582bbe10e80691 gst-plugins-ugly-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.6.tar.xz.sha256sum +sha256 3e31454c98cb2f7f6d2d355eceb933a892fa0f1dc09bc36c9abc930d8e29ca48 gst-plugins-ugly-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk index f1566b058e..ee3bd1b551 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_UGLY_VERSION = 1.22.2 +GST1_PLUGINS_UGLY_VERSION = 1.22.6 GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:39 +0200 Subject: [Buildroot] [PATCH 02/12] package/gst1-plugins-base: security bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-2-peter@korsgaard.com> Fixes CVE-2023-37328: Heap-based buffer overflow in the subparse subtitle parser when handling certain SRT subtitle files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0002.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash | 4 ++-- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash index 173f359afc..a46ce228c4 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz.sha256sum -sha256 eb65120c4ee79b7a153c3c1972d5c0158c2151877cc51ec7725bba5749679d49 gst-plugins-base-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.6.tar.xz.sha256sum +sha256 50f2b4d17c02eefe430bbefa8c5cd134b1be78a53c0f60e951136d96cf49fd4b gst-plugins-base-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk index 153187f743..7fcac012f2 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BASE_VERSION = 1.22.2 +GST1_PLUGINS_BASE_VERSION = 1.22.6 GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base GST1_PLUGINS_BASE_INSTALL_STAGING = YES -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:38 +0200 Subject: [Buildroot] [PATCH 01/12] package/gstreamer1: bump to version 1.22.6 Message-ID: <20231006191049.2450822-1-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gstreamer1/gstreamer1.hash | 4 ++-- package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1/gstreamer1.hash b/package/gstreamer1/gstreamer1/gstreamer1.hash index f74832ce6a..65045c1c30 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.hash +++ b/package/gstreamer1/gstreamer1/gstreamer1.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.2.tar.xz.sha256sum -sha256 b2afe73603921c608ba48969dbb7d743776744bfe5d8059ece241137b7f88e21 gstreamer-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.6.tar.xz.sha256sum +sha256 f500e6cfddff55908f937711fc26a0840de28a1e9ec49621c0b6f1adbd8f818e gstreamer-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 8584735129..352567ed52 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_VERSION = 1.22.2 +GSTREAMER1_VERSION = 1.22.6 GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer GSTREAMER1_INSTALL_STAGING = YES -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:41 +0200 Subject: [Buildroot] [PATCH 04/12] package/gst1-plugins-bad: security bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-4-peter@korsgaard.com> Fixes the following security issues: CVE-2023-37329: Heap-based buffer overflow in the PGS blu-ray subtitle decoder when handling certain files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0003.html CVE-2023-40474: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with uncompressed video in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0006.html CVE-2023-40475: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with AES3 audio in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0007.html CVE-2023-40476: Stack-based buffer overflow in the H.265 video parser when handling malformed H.265 video streams in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0008.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash | 4 ++-- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash index 2bbb8af904..c6d1f2e009 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.2.tar.xz.sha256sum -sha256 3d8faf1ce3402c8535ce3a8c4e1a6c960e4b5655dbda6b55943db9ac79022d0f gst-plugins-bad-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.6.tar.xz.sha256sum +sha256 b4029cd2908a089c55f1d902a565d007495c95b1442d838485dc47fb12df7137 gst-plugins-bad-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index 1713f0b4b8..983be754e9 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BAD_VERSION = 1.22.2 +GST1_PLUGINS_BAD_VERSION = 1.22.6 GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad GST1_PLUGINS_BAD_INSTALL_STAGING = YES -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:43 +0200 Subject: [Buildroot] [PATCH 06/12] package/gst1-devtools: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-6-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-devtools/gst1-devtools.hash | 4 ++-- package/gstreamer1/gst1-devtools/gst1-devtools.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash index 4abdd6ece4..9eada91614 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.2.tar.xz.sha256sum -sha256 eb62726d3e27a8782369a24fd6364a8885ed2462b3bbdab091dffc8139ee06d8 gst-devtools-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.6.tar.xz.sha256sum +sha256 8928560efaf16137c30285e718708e5d0bab0777eb4ef8127e0274e120d3d86b gst-devtools-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk index 7801f9b62c..8608c2f75b 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_DEVTOOLS_VERSION = 1.22.2 +GST1_DEVTOOLS_VERSION = 1.22.6 GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools GST1_DEVTOOLS_LICENSE = LGPL-2.1+ -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:47 +0200 Subject: [Buildroot] [PATCH 10/12] package/gst1-rtsp-vaapi: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-10-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-vaapi/gst1-vaapi.hash | 4 ++-- package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash index 2fdec4e83f..53dbe97ca9 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.2.tar.xz.sha256sum -sha256 d2e642f9745f97d9f73a7f5085e7659a9a31fe209b774e6e45dae041b435df06 gstreamer-vaapi-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.6.tar.xz.sha256sum +sha256 d9ba2fc26bef98c78e982c599f585d46bbb65fe122da89c2d7ab41f468a52c7b gstreamer-vaapi-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk index cae239094a..46a5839450 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_VAAPI_VERSION = 1.22.2 +GST1_VAAPI_VERSION = 1.22.6 GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz GST1_VAAPI_LICENSE = LGPL-2.1+ -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:45 +0200 Subject: [Buildroot] [PATCH 08/12] package/gst1-python: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-8-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-python/gst1-python.hash | 4 ++-- package/gstreamer1/gst1-python/gst1-python.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-python/gst1-python.hash b/package/gstreamer1/gst1-python/gst1-python.hash index 006d4985ef..4495e03945 100644 --- a/package/gstreamer1/gst1-python/gst1-python.hash +++ b/package/gstreamer1/gst1-python/gst1-python.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.2.tar.xz.sha256sum -sha256 bef2b3d82ce4be46b775b1bb56305c1003ee01b535a53a82f9fe8924972153ad gst-python-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.6.tar.xz.sha256sum +sha256 51de2d6d13b12ce095eac97c0b94ee59c2aeba3712bb7462b78c4d57dde176c5 gst-python-1.22.6.tar.xz sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/package/gstreamer1/gst1-python/gst1-python.mk b/package/gstreamer1/gst1-python/gst1-python.mk index 527d101786..475f2f2d87 100644 --- a/package/gstreamer1/gst1-python/gst1-python.mk +++ b/package/gstreamer1/gst1-python/gst1-python.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PYTHON_VERSION = 1.22.2 +GST1_PYTHON_VERSION = 1.22.6 GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python GST1_PYTHON_INSTALL_STAGING = YES -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:44 +0200 Subject: [Buildroot] [PATCH 07/12] package/gst1-libav: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-7-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-libav/gst1-libav.hash | 4 ++-- package/gstreamer1/gst1-libav/gst1-libav.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-libav/gst1-libav.hash b/package/gstreamer1/gst1-libav/gst1-libav.hash index c3e84a17d2..251e924792 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.hash +++ b/package/gstreamer1/gst1-libav/gst1-libav.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.2.tar.xz.sha256sum -sha256 fcaaf9878fe8f3bc82317ef13a1558824cb68df1f8968c6797f556c5e33bcffd gst-libav-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.6.tar.xz.sha256sum +sha256 7789e6408388a25f23cbf948cfc5c6230d735bbcd8b7f37f4a01c9e348a1e3a7 gst-libav-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-libav/gst1-libav.mk b/package/gstreamer1/gst1-libav/gst1-libav.mk index 0306db42c0..23d4a29799 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.mk +++ b/package/gstreamer1/gst1-libav/gst1-libav.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_LIBAV_VERSION = 1.22.2 +GST1_LIBAV_VERSION = 1.22.6 GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav GST1_LIBAV_LICENSE = LGPL-2.1+ -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:48 +0200 Subject: [Buildroot] [PATCH 11/12] package/gst-omx: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-11-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst-omx/gst-omx.hash | 4 ++-- package/gstreamer1/gst-omx/gst-omx.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst-omx/gst-omx.hash b/package/gstreamer1/gst-omx/gst-omx.hash index d4a95c631a..5878991b5b 100644 --- a/package/gstreamer1/gst-omx/gst-omx.hash +++ b/package/gstreamer1/gst-omx/gst-omx.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.2.tar.xz.sha256sum -sha256 1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2 gst-omx-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.6.tar.xz.sha256sum +sha256 223833c42518ad7eb1923bb4dd3726809f59a66d6e9aaaa69cb29ad0750c8758 gst-omx-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst-omx/gst-omx.mk b/package/gstreamer1/gst-omx/gst-omx.mk index 87f162f715..3d2ba90290 100644 --- a/package/gstreamer1/gst-omx/gst-omx.mk +++ b/package/gstreamer1/gst-omx/gst-omx.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST_OMX_VERSION = 1.22.2 +GST_OMX_VERSION = 1.22.6 GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:49 +0200 Subject: [Buildroot] [PATCH 12/12] package/gstreamer1-editing-services: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-12-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- .../gstreamer1-editing-services.hash | 4 ++-- .../gstreamer1-editing-services.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash index 0cdb18ea5d..11e93b8b65 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash @@ -1,5 +1,5 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.2.tar.xz.sha256sum -sha256 453b1464fc3857de269a7cb0ebd966afe02171d97bef672a0b8a0a6d43e0cebf gst-editing-services-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.6.tar.xz.sha256sum +sha256 748d423672c597f876e130804fb984848f5b4b89efd78a506cb17f7646795301 gst-editing-services-1.22.6.tar.xz # Hashes for license files: sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk index 9fdc877db0..bea59f256b 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.2 +GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.6 GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ -- 2.30.2 From peter at korsgaard.com Fri Oct 6 19:10:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 6 Oct 2023 21:10:46 +0200 Subject: [Buildroot] [PATCH 09/12] package/gst1-rtsp-server: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <20231006191049.2450822-9-peter@korsgaard.com> Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash | 4 ++-- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash index c98d10d79c..521a91ddd7 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash @@ -1,4 +1,4 @@ -# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.2.tar.xz.sha256sum -sha256 2be4aecfb88710100ea7115ed0216403e8094344ebf146094271b8d4d73828bf gst-rtsp-server-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.6.tar.xz.sha256sum +sha256 0ae33a8b50443b62f11581a9181e906b41cd3877b2d799dbea72912c3eda4bb3 gst-rtsp-server-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk index 6f5fc4f7aa..46d7606b1d 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_RTSP_SERVER_VERSION = 1.22.2 +GST1_RTSP_SERVER_VERSION = 1.22.6 GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server GST1_RTSP_SERVER_LICENSE = LGPL-2.1+ -- 2.30.2 From ju.o at free.fr Fri Oct 6 20:09:07 2023 From: ju.o at free.fr (Julien Olivain) Date: Fri, 06 Oct 2023 22:09:07 +0200 Subject: [Buildroot] [PATCH] support/runtime-test: fix weston test In-Reply-To: <20230926154703.160448-1-yann.morin.1998@free.fr> References: <20230926154703.160448-1-yann.morin.1998@free.fr> Message-ID: Hi Yann, On 26/09/2023 17:47, Yann E. MORIN wrote: > The weston runtime test uses the CRC of the framebuffer to detect that > "something" is being drawned on the framebuffer. This requires that the > sampling of the CRC happens does not happen too early after trigerring > an action, or the rendering may be not be finishe, either: > > - weston may not have had time to initialise, or > - the test application may not have started rednering, > > The sequence of rendering that has been observed yields this sequence > of > CRCs (elided for brevity): > > - boot: > - alternating between 0x4c4126bf and 0x5d2f9aa5: console cursor > blinking > > - start weston: > - 0x4c4126bf: weston switches to an clearted vt) > ... > - 0xe54b7895: weston is starting > ... > - 0xe54b7895: wayland socket appears! > ... > - 0x6bf28bdf: weston is ready > ... > > - start weston-simple-egl: > - 0x6bf28bdf: application is starting > ... > - 0xNNNNNNNN: random CRCs while the application renders > ... > > - stop weston-simple-egl: > - 0xNNNNNNNN: izero, one, or two random CRCs while the application > renders before it handles SIGTERM > - 0x6bf28bdf: application is stopped > ... > > - stop weston: > - 0x6bf28bdf: a few CRC identical to when weston was started, while > weston is processing SIGTERM > - ocillating between 0x4c4126bf and 0x5d2f9aa5: console cursor > blinking, back to initial vt, weston dead. > > So, we need to wait "enough" after each action. Moreover, when the > wayland socket appears, weston may not have stabilised yet, so we also > need to wait after the socket appears. > > Signed-off-by: Yann E. MORIN > Cc: Julien Olivain > --- > support/testing/tests/package/test_weston.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/support/testing/tests/package/test_weston.py > b/support/testing/tests/package/test_weston.py > index 276788c649..df1b7a4135 100644 > --- a/support/testing/tests/package/test_weston.py > +++ b/support/testing/tests/package/test_weston.py > @@ -78,6 +78,7 @@ class TestWeston(infra.basetest.BRTest): > wayland_socket = "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}" > cmd = f"while [ ! -e \"{wayland_socket}\" ] ; do sleep 1 ; > done" > self.assertRunOk(cmd, timeout=10) > + time.sleep(4) I was wondering if it would be relevant to add a BRTest.sleep() method for sleeping on the host test controller, that would adjust the sleep time with BRTest.timeout_multiplier. Since those sleep times are meant to adjust the host test controller with emulator execution speed, I believe it would also make sense to multiply those sleep time as same as timeout_multiplier for pexect timeouts. (Maybe timeout_multiplier will need to be renamed to something else like speed_multiplier). What do you think? > > def stop_weston(self): > cmd = "killall weston && sleep 3" > -- > 2.25.1 Best regards, Julien. From ju.o at free.fr Fri Oct 6 20:15:51 2023 From: ju.o at free.fr (Julien Olivain) Date: Fri, 06 Oct 2023 22:15:51 +0200 Subject: [Buildroot] [PATCH 1/2 v2] support/runtime-test: add helper to test graphics rendering In-Reply-To: References: Message-ID: <4b6283fd3a4f2c41d17a0be305e5b055@free.fr> Hi Yann, Thanks for this patch! On 05/10/2023 18:17, Yann E. MORIN wrote: > In 4edb0e3456ef (support/testing/tests/package/test_weston.py: new > runtime test), the weston test was introduced, and thus was the first > that needed to test that rendering was happening. > > Now we also have a test for a flutter application, and we'll want to > have it test the rendering too. > > Move the corresponding code to a helper that can be reused by other > tests, rather than duplicate (or reinvent) it. > > Switch weston to using that new helper. > > Signed-off-by: Yann E. MORIN > Cc: Julien Olivain > --- > support/testing/tests/graphics_base.py | 39 +++++++++++++ > support/testing/tests/package/test_weston.py | 61 ++++---------------- > 2 files changed, 49 insertions(+), 51 deletions(-) > create mode 100644 support/testing/tests/graphics_base.py > > diff --git a/support/testing/tests/graphics_base.py > b/support/testing/tests/graphics_base.py > new file mode 100644 > index 0000000000..15a4c00bb2 > --- /dev/null > +++ b/support/testing/tests/graphics_base.py > @@ -0,0 +1,39 @@ > +class GraphicsBase: For those graphics tests (llvmpipe/swrast Mesa3D, VKMS) to work properly, there is some common mandatory configurations which will always be needed. I am mainly thinking about: BR2_PACKAGE_LIBDRM=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y BR2_PACKAGE_MESA3D_LLVM=y BR2_PACKAGE_MESA3D_OPENGL_EGL=y BR2_PACKAGE_MESA3D_OPENGL_ES=y The Kernel will also always need at least: CONFIG_DEBUG_FS=y CONFIG_DRM_VKMS=y In term of cpu architecture and emulated machine, there is no mandatory requirements, but to achieve decent test execution speed, a fast "machines" that also allow SMP and higher amount of memory are recommended. armv5-7 machines can be limited in maximum amount of memory and slow to execute Mesa3D. So x86_64 pc, Aarch64 or RISC-V 64bit virt will generally be architectures/machines of choice. Do you think it would be relevant to provide some base reference Buildroot+Kernel configs or templates, and the emulator startup command line in this base class? > + def get_n_fb_crc(self, *, count=10, uniq=False, timeout=-1): > + """ > + Return count DRM CRC from the framebuffer. If uniq is True, > + only unique CRCs are returned (which may be less than the > + requested cont). > + Returns a possibly empty list of integers. > + Set timeout to -1 for no timeout, or to a positive number for > + a timeout of that many seconds. > + """ > + # DRM CRCs are exposed through a sysfs pseudo file > + try: > + self.debugfs_mounted > + except AttributeError: > + # Note: some init system (e.g. systemd) may have this > already > + # mounted, so check beforehand > + self.assertRunOk("mountpoint /sys/kernel/debug/ || mount > -t debugfs none /sys/kernel/debug/") > + self.debugfs_mounted = True > + > + # The first column is the frame number, the second column is > the > + # CRC measure. We use "head" to get the needed CRC count. > + disp_crc_path = "/sys/kernel/debug/dri/0/crtc-0/crc/data" > + cmd = f"head -{count} {disp_crc_path}" > + > + # The DRM CRC sysfs pseudo file lines are terminated by '\n' > + # and '\0'. We remove the '\0' to have a text-only output. > + cmd += " | tr -d '\\000'" > + > + # Finally, we drop the frame counter, and keep only the second > + # column (CRC values) > + cmd += " | cut -f 2 -d ' '" > + > + if uniq: > + cmd += " | sort -u" > + > + output, exit_code = self.emulator.run(cmd, timeout=timeout) > + self.assertTrue(exit_code == 0, f"'{cmd}' failed with exit > code {exit_code}") > + > + return [int(crc, 16) for crc in output] > diff --git a/support/testing/tests/package/test_weston.py > b/support/testing/tests/package/test_weston.py > index df1b7a4135..f37a73565f 100644 > --- a/support/testing/tests/package/test_weston.py > +++ b/support/testing/tests/package/test_weston.py > @@ -2,9 +2,10 @@ import os > import time > > import infra.basetest > +from ..graphics_base import GraphicsBase > > > -class TestWeston(infra.basetest.BRTest): > +class TestWeston(infra.basetest.BRTest, GraphicsBase): > config = \ > """ > BR2_aarch64=y > @@ -36,31 +37,6 @@ class TestWeston(infra.basetest.BRTest): > > infra.filepath("tests/package/test_weston/linux-vkms.fragment") > ) > > - def gen_read_disp_crcs_cmd(self, count=1): > - # DRM CRCs are exposed through a sysfs pseudo file, one > measure > - # per line. The first column is the frame number, the second > - # column is the CRC measure. We use "head" to get the needed > - # CRC count. > - disp_crc_path = "/sys/kernel/debug/dri/0/crtc-0/crc/data" > - cmd = f"head -{count} {disp_crc_path}" > - > - # The DRM CRC sysfs pseudo file lines are terminated by '\n' > - # and '\0'. We remove the '\0' to have a text-only output. > - cmd += " | tr -d '\\000'" > - > - # Finally, we drop the frame counter, and keep only the second > - # column (CRC values) > - cmd += " | cut -f 2 -d ' '" > - > - return cmd > - > - def gen_count_unique_disp_crcs_cmd(self, count=10): > - # We get the command generating one CRC per line... > - cmd = self.gen_read_disp_crcs_cmd(count) > - # ...then count the number of unique values > - cmd += " | uniq | wc -l" > - return cmd > - > def start_weston(self): > self.assertRunOk("export XDG_RUNTIME_DIR=/tmp") > > @@ -106,25 +82,14 @@ class TestWeston(infra.basetest.BRTest): > # Check a simple info client can communicate with the > compositor > self.assertRunOk("wayland-info", timeout=10) > > - # This test will use the Kernel VKMS DRM Display CRC support, > - # which is exposed in debugfs. See: > - # > https://docs.kernel.org/gpu/drm-uapi.html#display-crc-support > - self.assertRunOk("mount -t debugfs none /sys/kernel/debug/") > - > # We get 10 consecutive DRM frame CRCs and count how many > # unique CRCs we have. Since weston is supposed to run idle, > # we should have 10 times the same display CRC. > - cmd = self.gen_count_unique_disp_crcs_cmd() > - output, exit_code = self.emulator.run(cmd) > - self.assertEqual(exit_code, 0) > - self.assertEqual(int(output[0]), 1) > + self.assertTrue(len(self.get_n_fb_crc(uniq=True)) == 1) > > # We save the CRC value of an empty weston desktop for > # later... > - cmd = self.gen_read_disp_crcs_cmd() > - output, exit_code = self.emulator.run(cmd) > - self.assertEqual(exit_code, 0) > - weston_desktop_crc = int(output[0], 16) > + weston_desktop_crc = self.get_n_fb_crc(count=1)[0] > > # We start the weston-simple-egl in background... Every > # rendered frame is supposed to be different (as the triangle > @@ -138,10 +103,8 @@ class TestWeston(infra.basetest.BRTest): > # display something, we are now supposed to measure a > # different display CRC than the one we measured when the > # desktop was empty. > - cmd = self.gen_read_disp_crcs_cmd() > - output, exit_code = self.emulator.run(cmd) > - self.assertEqual(exit_code, 0) > - self.assertNotEqual(int(output[0], 16), weston_desktop_crc) > + crc = self.get_n_fb_crc(count=1)[0] > + self.assertNotEqual(crc, weston_desktop_crc) > > # While weston-simple-egl is running, we check the VKMS DRM > # CRCs are now changing. We get many CRCs, one per display > @@ -152,10 +115,8 @@ class TestWeston(infra.basetest.BRTest): > # remain very permissive to slow emulation situations. > # Increase timeout, as the command is expected to run about > 5s, > # which is the default timeout. > - cmd = self.gen_count_unique_disp_crcs_cmd(300) > - output, exit_code = self.emulator.run(cmd, timeout=10) > - self.assertEqual(exit_code, 0) > - self.assertGreaterEqual(int(output[0]), 5) > + crcs = self.get_n_fb_crc(count=300, timeout=10) > + self.assertGreaterEqual(len(crcs), 5) > > # We stop weston-simple-egl, and sleep a bit to let Weston do > # its cleanup and desktop repaint refresh... > @@ -165,10 +126,8 @@ class TestWeston(infra.basetest.BRTest): > # After we stopped the application, we should have the initial > # weston desktop background. The CRC we measure now should be > # the same as the one we saved earlier. > - cmd = self.gen_read_disp_crcs_cmd() > - output, exit_code = self.emulator.run(cmd) > - self.assertEqual(exit_code, 0) > - self.assertEqual(int(output[0], 16), weston_desktop_crc) > + crc = self.get_n_fb_crc(count=1)[0] > + self.assertEqual(crc, weston_desktop_crc) > > self.stop_weston() > > -- > 2.25.1 Best regards, Julien. From ju.o at free.fr Fri Oct 6 20:35:14 2023 From: ju.o at free.fr (Julien Olivain) Date: Fri, 06 Oct 2023 22:35:14 +0200 Subject: [Buildroot] [PATCH v3] package/criu: new package In-Reply-To: References: <20230918084825.786715-1-marcus.folkesson@gmail.com> Message-ID: <0d205f8ab83f4f387912227cbb95238c@free.fr> Hi Marcus, On 06/10/2023 13:46, Marcus Folkesson wrote: > Julien, do you have the posibility to run test-pkg on this patch? > > I still get wierd errors (related to host-libzlib (?) ) for the > bootlin-armv7-glibc toolchain. I ran a test-pkg on this v3 patch. I am not able to reproduce this host-libzlib failure (both on my host system and in the reference utils/docker-run Docker image). But I do see a build failure with the bootlin-armv7-glibc toolchain in the criu package: cat > criu.config < > bootlin-x86-64-musl is 'OK' though. > > Thanks, > Marcus Best regards, Julien. [1] https://github.com/checkpoint-restore/criu/blob/v3.18/Makefile#L35 From ju.o at free.fr Fri Oct 6 20:52:53 2023 From: ju.o at free.fr (Julien Olivain) Date: Fri, 06 Oct 2023 22:52:53 +0200 Subject: [Buildroot] [PATCH v3] package/criu: new package In-Reply-To: <20230918084825.786715-1-marcus.folkesson@gmail.com> References: <20230918084825.786715-1-marcus.folkesson@gmail.com> Message-ID: Hi Marcus, While testing this v3 patch, I've seen two small parts that would need to be reformatted. See below: On 18/09/2023 10:48, Marcus Folkesson wrote: > Checkpoint/Restore In Userspace (CRIU), is a software tool for the > Linux operating system to make it possible to freeze a running > application and checkpoint it to persistent storage as a collection of > files. > > Signed-off-by: Marcus Folkesson > --- > > Notes: > v2: > - Addressed comments from Thomas. > - Tested on ARM target and on x86_64 with qemu. > > v3: > - set CONFIG_CHECKPOINT_RESTORE in kernel config > - Only be available for ARMv6, ARMv7 and ARMv8 > > DEVELOPERS | 1 + > package/Config.in | 1 + > package/criu/Config.in | 48 ++++++++++++++++++++++++++++++++++ > package/criu/criu.hash | 3 +++ > package/criu/criu.mk | 59 ++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 112 insertions(+) > create mode 100644 package/criu/Config.in > create mode 100644 package/criu/criu.hash > create mode 100644 package/criu/criu.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index 7fae4841e4..d6e6a98202 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -1986,6 +1986,7 @@ > F: support/testing/tests/package/test_python_pytest.py > F: support/testing/tests/package/test_python_pytest_asyncio.py > > N: Marcus Folkesson > +F: package/criu/ > F: package/libcamera/ > F: package/libcamera-apps/ > F: package/libostree/ > diff --git a/package/Config.in b/package/Config.in > index e8dbadadf3..9a754cb072 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2667,6 +2667,7 @@ menu "System tools" > source "package/coreutils/Config.in" > source "package/cpulimit/Config.in" > source "package/cpuload/Config.in" > + source "package/criu/Config.in" > source "package/crun/Config.in" > source "package/daemon/Config.in" > source "package/dc3dd/Config.in" > diff --git a/package/criu/Config.in b/package/criu/Config.in > new file mode 100644 > index 0000000000..06e809fb83 > --- /dev/null > +++ b/package/criu/Config.in > @@ -0,0 +1,48 @@ > +# criu only builds on certain architectures > +config BR2_PACKAGE_CRIU_ARCH_SUPPORTS > + bool > + default y if BR2_ARM_CPU_ARMV6 > + default y if BR2_ARM_CPU_ARMV7A > + default y if BR2_ARM_CPU_ARMV7M > + default y if BR2_ARM_CPU_ARMV8A > + default y if BR2_ARM_CPU_ARMV8M > + default y if BR2_aarch64 > + default y if BR2_i386 > + default y if BR2_mips > + default y if BR2_x86_64 > + default y if BR2_powerpc64 > + default y if BR2_s390x > + > +menuconfig BR2_PACKAGE_CRIU > + bool "criu" > + depends on BR2_PACKAGE_CRIU_ARCH_SUPPORTS > + depends on BR2_PACKAGE_HOST_PYTHON3 # host-python3-ssl > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS > + depends on BR2_INSTALL_LIBSTDCPP # protobuf > + depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, libnl > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf > + depends on !BR2_STATIC_LIBS # protobuf, libbsd > + depends on BR2_USE_WCHAR # libbsd > + depends on BR2_USE_MMU # libcap > + select BR2_PACKAGE_HOST_PYTHON3_SSL > + select BR2_PACKAGE_PROTOBUF > + select BR2_PACKAGE_PROTOBUF_C > + select BR2_PACKAGE_LIBAIO > + select BR2_PACKAGE_LIBBSD > + select BR2_PACKAGE_LIBCAP > + select BR2_PACKAGE_LIBNET > + select BR2_PACKAGE_LIBNL > + select BR2_PACKAGE_PYTHON3 > + help > + Checkpoint/Restore In Userspace (CRIU), is a software > + tool for the Linux operating system to make it possible > + to freeze a running application and checkpoint it to > + persistent storage as a collection of files. > + > + https://criu.org/Main_Page > + > +comment "criu needs a toolchain w/ threads, dynamic library, wchar" > + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ > + || !BR2_USE_WCHAR > diff --git a/package/criu/criu.hash b/package/criu/criu.hash > new file mode 100644 > index 0000000000..2c4a07252b > --- /dev/null > +++ b/package/criu/criu.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 > 6a9997981c9fe4730c848ce59346b3a22fad69b803607cb67a3f6ec0557fa474 > criu-3.18.tar.gz > +sha256 > 568a1fa9d90e18a1a1a61ea58ec2eece16b56a5042cc72c1b4f8d4455ae6fcb7 > COPYING > diff --git a/package/criu/criu.mk b/package/criu/criu.mk > new file mode 100644 > index 0000000000..3da7ec90ab > --- /dev/null > +++ b/package/criu/criu.mk > @@ -0,0 +1,59 @@ > +################################################################################ > +# > +# CRIU > +# > +################################################################################ > + > +CRIU_VERSION = 3.18 > +CRIU_SOURCE = criu-$(CRIU_VERSION).tar.gz Running command: utils/docker-run make check-package generates the warning: package/criu/criu.mk:8: remove default value of _SOURCE variable (http://nightly.buildroot.org/#generic-package-reference) So this CRIU_SOURCE line can be removed. > +CRIU_SITE = > https://github.com/checkpoint-restore/criu/archive/refs/tags/v$(CRIU_VERSION) I suggest to use the Buildroot download helper for github here: CRIU_SITE = $(call github,checkpoint-restore,criu,v$(CRIU_VERSION)) > + > +CRIU_LICENSE = GPL-2.0 > +CRIU_LICENSE_FILES = COPYING > +CRIU_DEPENDENCIES =\ > + host-pkgconf \ > + host-protobuf-c \ > + host-python3 \ > + host-python-pip \ > + libaio \ > + libbsd \ > + libcap \ > + libnet \ > + libnl \ > + protobuf \ > + protobuf-c \ > + python3 > + > +CRIU_MAKE_ENV =\ > + $(TARGET_MAKE_ENV) \ > + $(TARGET_CONFIGURE_OPTS) \ > + CROSS_COMPILE=$(TARGET_CROSS) \ > + WERROR=0 > + > +#x86_64 is treated as x86 in criu > +#Also, powerpc64 is refered to as ppc64 in criu. > +ifeq ($(BR2_ARCH),"x86_64") > +CRIU_MAKE_ENV += ARCH=x86 > +else ifeq ($(BR2_ARCH),"powerpc64") > +CRIU_MAKE_ENV += ARCH=ppc64 > +else > +CRIU_MAKE_ENV += ARCH=$(BR2_ARCH) > +endif > + The following CRIU_LINUX_CONFIG_FIXUPS text blocks has extra spaces at the beginning of the lines that could be removed. > + # Criu needs Kernel Checkpoint/restore support which is not enabled > + # by default. > + define CRIU_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_CHECKPOINT_RESTORE) A single tab and no space would be better here. > + endef > + > +define CRIU_BUILD_CMDS > + rm -rf $(@D)/images/google/protobuf/descriptor.proto > + ln -s $(STAGING_DIR)/usr/include/google/protobuf/descriptor.proto > $(@D)/images/google/protobuf/descriptor.proto > + $(CRIU_MAKE_ENV) $(MAKE) USERCFLAGS="$(TARGET_CFLAGS)" -C $(@D) > +endef > + > +define CRIU_INSTALL_TARGET_CMDS > + $(CRIU_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) > install-criu install-lib install-compel > +endef > + > +$(eval $(generic-package)) > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot Best regards, Julien. From bugzilla at busybox.net Fri Oct 6 22:08:14 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Fri, 06 Oct 2023 22:08:14 +0000 Subject: [Buildroot] [Bug 15814] New: C++ not supported by bootlin toolchain Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 Bug ID: 15814 Summary: C++ not supported by bootlin toolchain Product: buildroot Version: 2023.08 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: stsp2 at yandex.ru CC: buildroot at uclibc.org Target Milestone: --- BR2_TOOLCHAIN_EXTERNAL_CXX depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM. BR2_TOOLCHAIN_BUILDROOT_CXX depends on BR2_TOOLCHAIN_BUILDROOT, which is not enabled when BR2_TOOLCHAIN_EXTERNAL_BOOTLIN is enabled. So it seems the config doesn't allow to enable C++ support together with selecting bootlin toolchain. Is there anything that can be done with that? -- You are receiving this mail because: You are on the CC list for the bug. From thomas.petazzoni at bootlin.com Sat Oct 7 05:47:02 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 07 Oct 2023 05:47:02 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-06 Message-ID: <20231007054708.BB6DB42D3B@smtp4.osuosl.org> Hello, Autobuild statistics for 2023-10-06 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 18 | 11 | 0 | 29 | 2023.08.x | 17 | 8 | 1 | 26 | master | 72 | 107 | 0 | 179 | Classification of failures by reason for master ----------------------------------------------- alsa-lib-1.2.10 | 12 openrc-0.43.3 | 11 unknown | 7 bird-2.0.12 | 6 gcc-final-12.3.0 | 5 glibc-2.38-27-g750a45a78390... | 5 alsa-utils-1.2.10 | 4 host-rust-1.71.1 | 4 linux-6.5.5 | 4 host-go-1.21.1 | 3 libarchive-3.7.2 | 3 spirv-tools-1.3.261.1 | 3 coreutils-9.3 | 2 gobject-introspection-1.76.1 | 2 libselinux-3.5 | 2 lightning-2.2.2 | 2 monit-5.33.0 | 2 ncmpc-0.47 | 2 acpid-2.0.34 | 1 apcupsd-3.14.14 | 1 at-spi2-core-2.48.3 | 1 binutils-arc-2020.09-release | 1 brltty-6.5 | 1 check-11970a7e112dfe243a2e6... | 1 cryptodev-linux-1.13 | 1 elfutils-0.189 | 1 ethtool-6.5 | 1 ffmpeg-4.4.4 | 1 flatbuffers-23.5.26 | 1 fs/axfs/axfs.mk:32: /home/b... | 1 gcc-final-11.4.0 | 1 gcc-final-13.2.0 | 1 gdal-3.6.2 | 1 host-python-sip-4.19.25 | 1 libostree-2023.6 | 1 linux-5.10.162-cip24 | 1 luajit-41fb94defa8f830ce69a... | 1 mariadb-10.11.4 | 1 mongodb-4.2.18 | 1 ola-0.10.9 | 1 perl-5.36.1 | 1 python-rpds-py-0.9.2 | 1 squid-6.2 | 1 xenomai-3.0.10 | 1 xtables-addons-3.22 | 1 zeek-4.1.1 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/c15343b7fca75f9c96ca0aa65900b0d0c012a8fe | ORPH aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/e8a77b6e4d0b3615ca0905d6824e246fa0413e94 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/c25e9f1fe890ce5682f7f5c89372f9e5877ec786 | microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a058022b430d7a88e395dc633cda45724dcf182 | m68k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/04fd04e191eaa434b6dda2aefa8e974fd1e9d19a | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/c34e9bde866c2fa620f79414be7405582f761f06 | i586 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/cf19be21355958f716da9f5dfa1ff4fd43bbbfa2 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/526a7dc6c83f8e9cff279caf34b241bf33990f40 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/8526213370991dbd78884f34ff79d755ffa1a647 | or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f48c73b95cc02ed5425ffccbb20d654cc881ee02 | armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/3a402e82adeb59ebedd123da190bb61f9043ecb1 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/e4f7fdf0c0555152f5d16f6a4c1fc703692d55b9 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/fee7392110009943dccbb3d19c019925e3ce7985 | powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/42f7b0fa05151284a36f83ecaf07a0e52e1298f6 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/e9458a8b911094508e2eeba4cb76a20f7071b677 | s390x | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/377cbef707e73d5a7235b60e23564516b7c1a4f3 | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5ebcc6cf664b6e273efc863dcbfda332d4d626bd | x86_64 | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/bd26c81f691f9c53516fbd1fc2a60b3832376fe6 | sparc | at-spi2-core-2.48.3 | NOK | http://autobuild.buildroot.net/results/236292a11bd316902ced95ebe2112cd2e70aba8b | arc | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/6727830619df0eed669a4693814b0f84db063a94 | arc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/39e02d4bc9ca5e93cbc31adfbd558751ae258e60 | sparc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/333f481fe1b6df601dbdb69e16975d0cde2b7bd6 | mips64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/acf5342d2336dc5a66dd7b132f57b6320a352e37 | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/ca8967264052867e4bdac53f1c6612f48eb38124 | arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/83621cdf93fe3812da7dfaf7dee66b7d53022ab6 | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c1e62df0c6170e35e5a8f61f5f5b013a5ac211c4 | arceb | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/d4a7ab002f094d3cd2554dd126cfcefd026bfe78 | arceb | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/07a7620bacefa136e4cde496486bd403c3157953 | ORPH sh4aeb | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/e125b33fc24ceb454367f44355ceb27dce19a677 | ORPH xtensa | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/eed692a580536d348dda8fe492d74dbd4dd2c50f | ORPH or1k | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/f7524afb93340ebf63953dc9407baef6197bf592 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/c264a7b04c9c19dc16784033a398122fc2509570 | ORPH mips64el | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/ecf828c4110155f47ca003bc3d2932cb4b987034 | microblazeel | ffmpeg-4.4.4 | NOK | http://autobuild.buildroot.net/results/a5b0ece3d27ce2ef5d7578a8fd1b1421949f6b26 | m68k | flatbuffers-23.5.26 | NOK | http://autobuild.buildroot.net/results/0357ccd0db165c22663f115d810f62ef6403b346 | armeb | fs/axfs/axfs.mk:32: /home/b... | NOK | http://autobuild.buildroot.net/results/812d047f4139497fe2c360130af7ce0c63046d6e | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/694528da174d3b6d144e9d8d11594dff37ed70b2 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f74febe7e7a3910420f63bdf4ca772fa7842ab31 | aarch64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7eaf92a78aca7de91c18a62ab0c972b095b8c3c3 | mips64el | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/9334f235b48f5774a7a659585b10ac97c24ad114 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/e7dfdd9e0c2ddb574d464deac05c7d5cdf12c195 | aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/e3c99d4dd8038c9f85b9e936814be74ce468aa4e | riscv64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/2ca2789bff1bafdc41b8e8cd916d59ce21c79506 | microblaze | gdal-3.6.2 | NOK | http://autobuild.buildroot.net/results/7e8edf849723a8b6ab50d0416c928ea65c42a9ee | arc | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/81b4b1ad6fde041707611b3ef6d856463dd70b10 | powerpc64le | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/504be4ddccd5eec26f3759b7ea3e28c8d0aa203d | powerpc64le | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/f88dcbc00025c269ba27c27b6c8853201c91526f | arc | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/db53b91853cfcd6c2c8c250efa771d873cf2715e | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/7651af18f5b99b3fc0a99c4efac72980412629d8 | or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/3ccfa77dc22ab550ab7d6202d802a7c3650753bb | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/033fb1e701b4ac21d4614c8d2feadbef96aae59b | ORPH mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/53cd8a952ae10061f2fb2c1c069d0c069007b2b8 | i686 | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/0b418dab880fe5d23ca7eedbe2a44faae277b0f8 | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/e20105ba53c51813a3b2a04facef1a46c7b5ee2f | powerpc64 | host-python-sip-4.19.25 | NOK | http://autobuild.buildroot.net/results/20484a3a04635df4749aa86568783b28bfe76844 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/fb893573af7d15089ae67e029310217d470408f7 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/10e38d88cec32c352d0576c006e1decabe5c04bc | mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c792e4b02fd4760003a4a48f620aaed76dcfa4cd | powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/f8ccd75d7a0b05040e27fb6dc66883424b2d8edb | mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/c5956cf4dc3d3899ed971cb31d250a36921a60bd | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/7f806800f3d21727847ff064c748f419b6a0a71a | powerpc64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/5efdfc101a2b502934f07e14a15f0238521d3a56 | or1k | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/0db0d777013ee9b8b5eb377bc67573269bd61f85 | nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/87e67270d284793eca0d5dd5f277aff392123016 | nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/331ff614b8ecf483a5888a0021fdcb35eb088996 | mips64 | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/37e2e1c58a8ea5b855acf56be28b5ae76522d657 | mips64el | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/f0f549705ed69892d7256d8b3f99d22d2d584fb4 | aarch64 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/7bbfd43f27698bf9604cd6e04155db5d706ee05d | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/9114f6856c7f0fcfef241ccd9942dccedc930587 | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/f66523b69eac6af82385949f4733bd627ecae771 | ORPH mips64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/8403f5ae6d24fcd251d473a66c491a59bfbd787c | ORPH mipsel | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/ca078772f3c835327bcbf53b93d4f620663bd638 | ORPH powerpc | luajit-41fb94defa8f830ce69a... | NOK | http://autobuild.buildroot.net/results/e77787e0c18bfb2bd8d38c891cdcebc137b43c3c | sparc64 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/7bec7868c3188a1a0c35def8f270696fd4dae8ae | ORPH aarch64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/bb1fc908a2b015affdadac5d8a962ecb21c5ce59 | sh4eb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/fc79907d5ea983b140704eafac9e29d892e72f82 | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/5f27a210031598ee931eb8207f51e62362b73aa5 | or1k | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/c151f7fc14f6f8c72e24e14bce5a5e028f0bd32d | sparc64 | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/ec77e7ae1280acf845cdf6b1cda44b70925e46b9 | sparc | ola-0.10.9 | NOK | http://autobuild.buildroot.net/results/0a8f924bca3e08cbc7c2c6e126bf6cc5d88aaf14 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ea43289a073dc81f6adee0e345d47d42c18ce86f | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2fdcd574b394eba1438a138fb22db35243aebf69 | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d07ba6ef03922d9aa42095eb710ab9eb2240756e | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/0a8cfcbb74597112db444b294f3f0745af6c33b6 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3a8a87199031d9f17b9fbbd41530a9ca6bbf02ba | aarch64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e85655effeaa5fa2d7dd6508d5ac6c3193493b65 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/cab5d987220b183753ee1e4f2a14087b2f7ecee5 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/33de6295d1ef055b2b1cb08cd54d65c5e30af68e | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/18d5b8a5fb4ee9b3919eb8a90b3ac83e383b4fe6 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9fb3434f1740bf883e723c5b543612aeaf854178 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/768a8bf4a90175aa399c8ca6d9fe817b4c6db24c | arceb | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/5c94b6e2fb7eddb8171ca770e77dbe7d7424bd9a | mips64 | python-rpds-py-0.9.2 | NOK | http://autobuild.buildroot.net/results/c1304b70dbd71eada982431f933ddaf6888b1073 | powerpc | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/23c3d0159dfd03e13bf1b5325fc995b62fd9d8e2 | ORPH s390x | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5ba8c7c2cec07e43750d518a5174d81effe3e74f | ORPH mips64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/60724a29d8c668e7c7e15e19828e7c81e0e451fa | ORPH nios2 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/58dff88341da816bea8eefdec68d8c365e42b282 | ORPH microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/a6facb33879d80156315eb8b53b41a676c855a0c | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/aec6eb5f7de0de96fbbb9270d5fd2133d3e63926 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/1291f518a96b6b6da4f267c076237a6b8c2da7a9 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/09a8211ffde4862fbf2dcbf6cb16020aba1e7328 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/4791f5cb2b69f089508c57a27b0c4c4a373be10f | arm | unknown | NOK | http://autobuild.buildroot.net/results/433217555c0f41f8bff1eee97e3263c9716867fb | arm | unknown | NOK | http://autobuild.buildroot.net/results/bd92468de0fe3ac33cd6acc165d017968a540898 | microblazeel | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/8027e91d8e6a40d238cb2e6e039d55489296fc6f | aarch64 | xtables-addons-3.22 | NOK | http://autobuild.buildroot.net/results/876bd4913b057cf671ce3d4dc46509cc24254dcb | ORPH arm | zeek-4.1.1 | NOK | http://autobuild.buildroot.net/results/fd92faaf2747bd40186be0900b8f56fdc9c2dcd3 | Classification of failures by reason for 2023.02.x -------------------------------------------------- unknown | 2 check-0.15.2 | 1 cni-plugins-1.2.0 | 1 erlang-22.3.4.22 | 1 host-binutils-2.38 | 1 host-go-1.19.13 | 1 jack2-1.9.21 | 1 linux-5.10.162-cip24-rt10 | 1 skalibs-2.12.0.1 | 1 suricata-6.0.14 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64le | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/1a28ef4eec2f0267e75365f669dd0aed3bbcb5d2 | ORPH s390x | cni-plugins-1.2.0 | NOK | http://autobuild.buildroot.net/results/c1249b84039917a5bc3776c10310264007bbf314 | arm | erlang-22.3.4.22 | NOK | http://autobuild.buildroot.net/results/dd043faf7f168054143eef48b8b56d02ba6296b5 | mipsel | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/a6002e4f69b997aade24adafc58ee6984e9ff471 | i586 | host-go-1.19.13 | NOK | http://autobuild.buildroot.net/results/4e49ea10284b0a9b7102a975f1249a0d51c36395 | m68k | jack2-1.9.21 | NOK | http://autobuild.buildroot.net/results/e83af05df06e1851ef02556e38366661bd3d7877 | m68k | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/2acc10f2647b80ce9098036659c4103bd4dadf76 | ORPH or1k | skalibs-2.12.0.1 | NOK | http://autobuild.buildroot.net/results/c70f6e4051988083f6b5c771eb87bb95ade5c3d4 | i586 | suricata-6.0.14 | NOK | http://autobuild.buildroot.net/results/776cb60419f60760ebf21d6bc22bf78af7931ac5 | sparc64 | unknown | NOK | http://autobuild.buildroot.net/results/cb523b75664696d1316b11e8c4e281d8f4c0ac38 | sh4 | unknown | NOK | http://autobuild.buildroot.net/results/a4c2201c21bfd78a2e955a3b3e6d92d52ccff4a4 | Classification of failures by reason for 2023.08.x -------------------------------------------------- bird-2.0.12 | 2 host-go-1.20.8 | 2 gobject-introspection | 1 host-rust-1.71.1 | 1 libglib2-2.76.1 | 1 linux-6.4.16 | 1 x264-baee400fa9ced6f5481a72... | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/90e3904cb055b6b42d72ef60adfb8ca7deb10354 | s390x | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/7e42d230c4c84b92b0828b67af349b71b6614acc | microblazeel | gobject-introspection | TIM | http://autobuild.buildroot.net/results/768470c4c269146a0469531dc4846e38390210d2 | mips64el | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/ccdf45c94fbc7bd93e749725304f0527792d7a55 | x86_64 | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/9a9d300f327d4bac8bb95db7afb6c689e3282054 | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/61b9b8082316370d39a3751185a82a9e94f2c94c | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/c9286252417647a080f31b00f49298dc8f3a75fd | s390x | linux-6.4.16 | NOK | http://autobuild.buildroot.net/results/dce708b584c4e537051fb1d3b664b12ad44aeae6 | ORPH i686 | x264-baee400fa9ced6f5481a72... | NOK | http://autobuild.buildroot.net/results/2ca88c7cce1b61d5fcb8208a3ea20e289fad8c14 | Gitlab CI results for 2023-10-06 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ at91sam9x5ek_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592198 | at91sam9x5ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592211 | atmel_sama5d27_som1_ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592215 | beaglev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592294 | broadcom_northstar | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592308 | canaan_kd233 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592317 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592382 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592460 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592469 | imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592474 | kontron_pitx_imx8m | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592492 | microchip_mpfs_icicle | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592512 | octavo_osd32mp1_brk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592607 | octavo_osd32mp1_red | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592610 | orangepi_lite2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592679 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592694 | qemu_m68k_mcf5208 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592772 | qemu_riscv64_nommu_virt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5227592862 | qemu_xtensa_lx60_nommu | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236767766 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236768237 | ORPH sipeed_maix_bit | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770179 | sipeed_maix_bit_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770203 | sipeed_maix_dock | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770213 | sipeed_maix_dock_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770290 | sipeed_maix_go | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770353 | sipeed_maix_go_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770420 | sipeed_maixduino | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770819 | sipeed_maixduino_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236770958 | snps_arc700_axs101 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236771147 | snps_arc700_nsim | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236771309 | socrates_cyclone5 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236771652 | stm32mp157a_dk1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236772737 | stm32mp157c_dk2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236772806 | ti_am64x_sk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236773048 | toradex_apalis_imx6 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5236773113 | -- http://autobuild.buildroot.net From bugzilla at busybox.net Sat Oct 7 08:52:32 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 08:52:32 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 Yann E. MORIN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yann.morin.1998 at free.fr Resolution|--- |INVALID --- Comment #1 from Yann E. MORIN --- stsp, All, > So it seems the config doesn't allow to > enable C++ support together with selecting > bootlin toolchain. Have you actually tried to enable a package written in C++? The symbols you reference are just intermediate symbols, that ultimately select BR2_INSTALL_LIBSTDCPP, which is the one symbol that represents whether C++ is available in the toolchain. All Bootlin toolchains with C++ support do select that symbol. > Is there anything that can be done with that? No, because it is already working as expected. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 08:57:35 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 08:57:35 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #2 from stsp --- > Have you actually tried to enable a package written in C++? Of course! Even if BR2_INSTALL_LIBSTDCPP is enabled, with bootlin tool-chain there is still no host g++ so the compilation fails. > No, because it is already working as expected. I think this is a premature judgement. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 09:26:52 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 09:26:52 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #3 from Yann E. MORIN --- stsp, All, > with bootlin tool-chain there is still no > host g++ The Bootlin tolchains are cross toolchains; they compile for the target, not for the host. The host C++ compiler is not provided by the cross toolchain. The host toolchain (of which g++ is part) is to be provided by the distribution you use on your host system; Buildroot does not handle it at all: it is expected to be present. Install the C++ part of the toolchain from your distribution; if that does not exist, ask your distribution to package it. > so the compilation fails. What exactly fails? Please provide a log of the failing build. > I think this is a premature judgement. Maybe... Does not look like it, though: the Bootlin toolchains are widely used, and I know for a fact that they do support C++ for the target, for using that daily. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From bernd at kuhls.net Sat Oct 7 10:25:00 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sat, 7 Oct 2023 12:25:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/libxml2: bump version to 2.11.5 Message-ID: <20231007102500.1293134-1-bernd@kuhls.net> Release notes: https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.news Signed-off-by: Bernd Kuhls --- package/libxml2/libxml2.hash | 4 ++-- package/libxml2/libxml2.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libxml2/libxml2.hash b/package/libxml2/libxml2.hash index f3650c5ec5..cad19f930f 100644 --- a/package/libxml2/libxml2.hash +++ b/package/libxml2/libxml2.hash @@ -1,4 +1,4 @@ -# From https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.4.sha256sum -sha256 737e1d7f8ab3f139729ca13a2494fd17bf30ddb4b7a427cf336252cab57f57f7 libxml2-2.11.4.tar.xz +# From https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.sha256sum +sha256 3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6 libxml2-2.11.5.tar.xz # License files, locally calculated sha256 c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd Copyright diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index 672a2cb0f0..fb7767297b 100644 --- a/package/libxml2/libxml2.mk +++ b/package/libxml2/libxml2.mk @@ -5,7 +5,7 @@ ################################################################################ LIBXML2_VERSION_MAJOR = 2.11 -LIBXML2_VERSION = $(LIBXML2_VERSION_MAJOR).4 +LIBXML2_VERSION = $(LIBXML2_VERSION_MAJOR).5 LIBXML2_SOURCE = libxml2-$(LIBXML2_VERSION).tar.xz LIBXML2_SITE = \ https://download.gnome.org/sources/libxml2/$(LIBXML2_VERSION_MAJOR) -- 2.39.2 From bernd at kuhls.net Sat Oct 7 10:28:50 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sat, 7 Oct 2023 12:28:50 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series Message-ID: <20231007102850.1303053-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- linux/Config.in | 2 +- linux/linux.hash | 6 +++--- package/linux-headers/Config.in.host | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 8dcc493e2e..a6b4967a8c 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.5" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.6" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index bdd27eb600..dfcc87802b 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,8 +1,8 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95 linux-6.5.5.tar.xz -sha256 a87e241ec15d53452c4efe219713a3769d88cc436b5b98cf6efb262c4aff15c0 linux-6.1.55.tar.xz +sha256 78e36d4214547051c24df2140f4ce09428d6c515ad9a71b38b28e8094a95d2f6 linux-6.5.6.tar.xz +sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 ef845e7934897b88e4448378ea9daacac19e07f156fe904844fab0a7d8ff5ddd linux-5.15.133.tar.xz +sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index d1023a15e6..e2e2655964 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -408,9 +408,9 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.19.295" if BR2_KERNEL_HEADERS_4_19 default "5.4.257" if BR2_KERNEL_HEADERS_5_4 default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.133" if BR2_KERNEL_HEADERS_5_15 - default "6.1.55" if BR2_KERNEL_HEADERS_6_1 - default "6.5.5" if BR2_KERNEL_HEADERS_6_5 + default "5.15.134" if BR2_KERNEL_HEADERS_5_15 + default "6.1.56" if BR2_KERNEL_HEADERS_6_1 + default "6.5.6" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ -- 2.39.2 From bugzilla at busybox.net Sat Oct 7 10:35:36 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 10:35:36 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #4 from stsp --- OK, I am sorry, "make clean" have fixed the problem. The problem was the missing output/host/bin/x86_64-linux-g++ (host g++), but its now there. So not sure what happened. :( -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 10:45:55 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 10:45:55 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #5 from Yann E. MORIN --- stsp, All, > "make clean" have fixed the problem. If you change the toolchain settings in menuconfig, then you have to rebuild from scratch; see the manual: https://buildroot.org/downloads/manual/manual.html#full-rebuild > output/host/bin/x86_64-linux-g++ (host g++) This is not the host C++ compiler. This is the cross-compiler. It looks like you just happen to have an x86-64 target, like you have an x86-64 host. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From paul at crapouillou.net Sat Oct 7 10:42:05 2023 From: paul at crapouillou.net (Paul Cercueil) Date: Sat, 7 Oct 2023 12:42:05 +0200 Subject: [Buildroot] [PATCH] package/lightning: fix build on mips64 Message-ID: <20231007104205.12608-1-paul@crapouillou.net> Grab commit 90f5c78f47dfb1ae4b953b0e30c7ef72a6438396 from upstream to fix the build on mips64 and mips64el. Signed-off-by: Paul Cercueil --- .../0001-Fix-build-on-mips64el.patch | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 package/lightning/0001-Fix-build-on-mips64el.patch diff --git a/package/lightning/0001-Fix-build-on-mips64el.patch b/package/lightning/0001-Fix-build-on-mips64el.patch new file mode 100644 index 0000000000..b3f087bb9e --- /dev/null +++ b/package/lightning/0001-Fix-build-on-mips64el.patch @@ -0,0 +1,65 @@ +From 90f5c78f47dfb1ae4b953b0e30c7ef72a6438396 Mon Sep 17 00:00:00 2001 +From: Paul Cercueil +Date: Thu, 5 Oct 2023 14:24:13 +0200 +Subject: [PATCH] Fix build on mips64el + +The "cvt_offset" field may be used for anything non-ARM in +jit_fallback.c, so enable this field on anything non-ARM. Worst case +scenario, this field is not used and it only occupies 4 bytes of RAM. + +Besides, when building for mips64el with the N32 ABI, the __WORDSIZE +ends up being 32 and not 64 (which may be a problem in itself), which +caused some more issues as the movi_d_w() macro referenced by +jit_mips.c was not defined anywhere. + +This caused Buildroot's CI to fail when building on mips64el: +http://autobuild.buildroot.net/results/f951d91d2ca4647170a52499a243d45d13d3bced/ + +Upstream: http://git.savannah.gnu.org/cgit/lightning.git/commit/?id=90f5c78f47dfb1ae4b953b0e30c7ef72a6438396 +Signed-off-by: Paul Cercueil +--- + include/lightning/jit_private.h | 5 +---- + lib/lightning.c | 4 ++-- + 2 files changed, 3 insertions(+), 6 deletions(-) + +diff --git a/include/lightning/jit_private.h b/include/lightning/jit_private.h +index 5052a36..9f8caf6 100644 +--- a/include/lightning/jit_private.h ++++ b/include/lightning/jit_private.h +@@ -555,10 +555,7 @@ struct jit_function { + jit_int32_t *regoff; + jit_regset_t regset; + jit_int32_t stack; +-#if defined(__i386__) || defined(__x86_64__) || \ +- defined(__powerpc__) || defined(__sparc__) || \ +- defined(__s390__) || defined(__s390x__) || \ +- defined(__hppa__) || defined(__alpha__) ++#if !defined(__arm__) + jit_int32_t cvt_offset; /* allocai'd offset for x87<->xmm or + * fpr<->gpr transfer using the stack */ + #endif +diff --git a/lib/lightning.c b/lib/lightning.c +index d5ea330..39c4fc2 100644 +--- a/lib/lightning.c ++++ b/lib/lightning.c +@@ -4285,7 +4285,7 @@ static void _htoni_ul(jit_state_t*, jit_int32_t, jit_word_t); + #endif + # define movi_f_w(r0, i0) _movi_f_w(_jit, r0, i0) + static void _movi_f_w(jit_state_t*, jit_int32_t, jit_float32_t); +-#if __WORDSIZE == 32 ++#if __WORDSIZE == 32 && !(defined(__mips__) && NEW_ABI) + # define movi_d_ww(r0, r1, i0) _movi_d_ww(_jit, r0, r1, i0) + static void _movi_d_ww(jit_state_t*, jit_int32_t, jit_int32_t, jit_float64_t); + #else +@@ -4569,7 +4569,7 @@ _movi_f_w(jit_state_t *_jit, jit_int32_t r0, jit_float32_t i0) + movi(r0, data.i); + } + +-#if __WORDSIZE == 32 ++#if __WORDSIZE == 32 && !(defined(__mips__) && NEW_ABI) + static void + _movi_d_ww(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1, jit_float64_t i0) + { +-- +2.40.1 + -- 2.40.1 From bugzilla at busybox.net Sat Oct 7 11:02:30 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 11:02:30 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #6 from stsp --- > If you change the toolchain settings in menuconfig, then you have to rebuild > from scratch; see the manual: Treating such things anyhow but bugs, is quite unhelpful. :) If you know "make clean" is now needed, then please tell me so on exit from menuconfig. Either by printing such a message, or, better yet, asking to run "make clean" (ok/cancel) before exiting TUI. > It looks like you just happen to have an x86-64 target, like you have > an x86-64 host. I see, thanks. So "host" in a dir name, doesn't make it a host compiler. Just a cross-compiler that runs on host. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 12:16:07 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 12:16:07 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #7 from Yann E. MORIN --- stsp, All,0 > Treating such things anyhow but > bugs, is quite unhelpful. :) > If you know "make clean" is now needed, > then please tell me so on exit from > menuconfig. Either by printing such a > message, or, better yet, asking to run > "make clean" (ok/cancel) before exiting > TUI. Rebuilding from scratch after menuconfig is not always required; if one just adds a new package which has no dependency and is not the dependency of another, then this is usually OK, and running "make" again is often just enough. So no, this is not a bug, and this is expected behaviour. It has limitations, and those are thoroughly explained in the manual. Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From bugzilla at busybox.net Sat Oct 7 12:24:39 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Sat, 07 Oct 2023 12:24:39 +0000 Subject: [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15814 --- Comment #8 from stsp --- > Rebuilding from scratch after menuconfig is not always required; I am not saying about "always". Likewise, you pop up the "save settings?" TUI dialog only if the settings changed. You can do the same here by alerting the user when needed, or even offering to do the "make clean" from TUI. -- You are receiving this mail because: You are on the CC list for the bug. From arnout at mind.be Sat Oct 7 14:17:18 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 16:17:18 +0200 Subject: [Buildroot] [git commit] .checkpackageingore: refresh Message-ID: <20231007141818.7C3AC84138@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8cf183be9e660502af2ae7e3971ffc978cfec28b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 4cbc2af604e73780c0c6b5c093c55c2f7ee2c4e3 moved the nodejs patches to the nodejs-src directory, but forgot to update .checkpackageignore accordingly. Fix that, by running `make .checkpackageignore`. Signed-off-by: Arnout Vandecappelle --- .checkpackageignore | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 28de1745e4..539a571172 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -967,10 +967,10 @@ package/ngrep/0002-Check-for-libnet_init-in-configure-in.patch Upstream package/ngrep/0003-fix-disable-tcpkill.patch Upstream package/nilfs-utils/0001-nilfs_cleanerd-link-dynamically.patch Upstream package/nmap/0001-libdnet-wrapper-configure.patch Upstream -package/nodejs/0001-add-qemu-wrapper-support.patch Upstream -package/nodejs/0002-check-if-uclibc-has-backtrace-support.patch Upstream -package/nodejs/0003-include-obj-name-in-shared-intermediate.patch Upstream -package/nodejs/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch Upstream +package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch Upstream +package/nodejs/nodejs-src/0002-check-if-uclibc-has-backtrace-support.patch Upstream +package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch Upstream +package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch Upstream package/nodm/S90nodm Indent Shellcheck Variables package/norm/0001-protolib-drop-linux-version-check.patch Upstream package/norm/0002-Use-print-as-function-call-for-Python3-compatibility.patch Upstream From adam.duskett at amarulasolutions.com Sat Oct 7 16:06:37 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 18:06:37 +0200 Subject: [Buildroot] [PATCH 1/1] board/ti/am62x-sk/readme.txt: fix defconfig target Message-ID: <20231007160637.97022-1-adam.duskett@amarulasolutions.com> am62x_sk_defconfig should be ti_am62x_sk_defconfig Signed-off-by: Adam Duskett --- board/ti/am62x-sk/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/am62x-sk/readme.txt b/board/ti/am62x-sk/readme.txt index f6251ea04a..5af1c59c2d 100644 --- a/board/ti/am62x-sk/readme.txt +++ b/board/ti/am62x-sk/readme.txt @@ -11,7 +11,7 @@ How to Build Select the default configuration for the target: -$ make am62x_sk_defconfig +$ make ti_am62x_sk_defconfig Optional: modify the configuration: -- 2.41.0 From yann.morin.1998 at free.fr Sat Oct 7 16:19:06 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 18:19:06 +0200 Subject: [Buildroot] [git commit] board/ti/am62x-sk/readme.txt: fix defconfig target Message-ID: <20231007161924.986A6841CC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=53d90b74f3ca7c258e6c34e768138703f5286345 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master am62x_sk_defconfig should be ti_am62x_sk_defconfig Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- board/ti/am62x-sk/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/am62x-sk/readme.txt b/board/ti/am62x-sk/readme.txt index f6251ea04a..5af1c59c2d 100644 --- a/board/ti/am62x-sk/readme.txt +++ b/board/ti/am62x-sk/readme.txt @@ -11,7 +11,7 @@ How to Build Select the default configuration for the target: -$ make am62x_sk_defconfig +$ make ti_am62x_sk_defconfig Optional: modify the configuration: From yann.morin.1998 at free.fr Sat Oct 7 16:19:28 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 18:19:28 +0200 Subject: [Buildroot] [PATCH 1/1] board/ti/am62x-sk/readme.txt: fix defconfig target In-Reply-To: <20231007160637.97022-1-adam.duskett@amarulasolutions.com> References: <20231007160637.97022-1-adam.duskett@amarulasolutions.com> Message-ID: <20231007161928.GF2552@scaer> ADam. All, On 2023-10-07 18:06 +0200, Adam Duskett spake thusly: > am62x_sk_defconfig should be ti_am62x_sk_defconfig > > Signed-off-by: Adam Duskett Applied to master, thanks. Regards, Yann E. MORIN. > --- > board/ti/am62x-sk/readme.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/ti/am62x-sk/readme.txt b/board/ti/am62x-sk/readme.txt > index f6251ea04a..5af1c59c2d 100644 > --- a/board/ti/am62x-sk/readme.txt > +++ b/board/ti/am62x-sk/readme.txt > @@ -11,7 +11,7 @@ How to Build > > Select the default configuration for the target: > > -$ make am62x_sk_defconfig > +$ make ti_am62x_sk_defconfig > > Optional: modify the configuration: > > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From adam.duskett at amarulasolutions.com Sat Oct 7 18:04:29 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:04:29 +0200 Subject: [Buildroot] [PATCH 1/2] package/refpolicy/Config.in: force merged usr when selecting upstream Message-ID: <20231007180430.1069138-1-adam.duskett@amarulasolutions.com> Refpolicy contexts expect a merged /usr file system. In fact, there are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user wants to go through the trouble of creating a policy that works with a non-merged system, they should be free to do so. As such, only select BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION Signed-off-by: Adam Duskett --- package/refpolicy/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..f1f3c7e64d 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -36,6 +36,7 @@ choice config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + select BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. -- 2.41.0 From adam.duskett at amarulasolutions.com Sat Oct 7 18:04:30 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:04:30 +0200 Subject: [Buildroot] [PATCH 2/2] package/refpolicy: bump version to 2.20221101 In-Reply-To: <20231007180430.1069138-1-adam.duskett@amarulasolutions.com> References: <20231007180430.1069138-1-adam.duskett@amarulasolutions.com> Message-ID: <20231007180430.1069138-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- 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 a09e59c270..70d1acc9af 100644 --- a/package/refpolicy/refpolicy.hash +++ b/package/refpolicy/refpolicy.hash @@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2 +sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 8fea7cc254..fb1c213b84 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.20221101 +REFPOLICY_VERSION = 2.20231002 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif -- 2.41.0 From thomas at devoogdt.com Sat Oct 7 18:10:13 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Sat, 7 Oct 2023 20:10:13 +0200 Subject: [Buildroot] [PATCH v6 1/4] pkg-cmake: add option to select the Ninja generator In-Reply-To: <20231002204328.GC2957@scaer> References: <20230802111447.41714-1-thomas@devoogdt.com> <20230806141506.GS421096@scaer> <20231002173310.GA2957@scaer> <20231002204328.GC2957@scaer> Message-ID: Hi Yann, I did have a further look at the install/fast thing. It seems that it is not needed after all. Here is an example: I have a main.cpp file like this: ```c++ #include int main() { std::cout << "Hello World!"; return 0; } ``` And a CMakeLists.txt file like this: ```cmake cmake_minimum_required(VERSION 3.22) project(test) add_executable(${PROJECT_NAME} main.cpp) install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin) ``` If I run the normal 'make install', then I can indeed confirm that the target gets built: (Only an error because I didn't use sudo to install it.) ``` $ rm -rf build/ && cmake -B build/ . && make -C build/ install -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/thode/Documents/test/build make: Entering directory '/home/thode/Documents/test/build' make[1]: Entering directory '/home/thode/Documents/test/build' make[2]: Entering directory '/home/thode/Documents/test/build' make[2]: Leaving directory '/home/thode/Documents/test/build' make[2]: Entering directory '/home/thode/Documents/test/build' [ 50%] Building CXX object CMakeFiles/test.dir/main.cpp.o [100%] Linking CXX executable test make[2]: Leaving directory '/home/thode/Documents/test/build' [100%] Built target test make[1]: Leaving directory '/home/thode/Documents/test/build' Install the project... -- Install configuration: "" -- Installing: /usr/local/bin/test CMake Error at cmake_install.cmake:52 (file): file INSTALL cannot copy file "/home/thode/Documents/test/build/test" to "/usr/local/bin/test": Permission denied. make: *** [Makefile:100: install] Error 1 make: Leaving directory '/home/thode/Documents/test/build' ``` If I re-do the same but with 'make install/fast', then I get indeed the warning that the file isn't there: ``` $ rm -rf build/ && cmake -B build/ . && make -C build/ install/fast -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/thode/Documents/test/build make: Entering directory '/home/thode/Documents/test/build' Install the project... -- Install configuration: "" CMake Error at cmake_install.cmake:52 (file): file INSTALL cannot find "/home/thode/Documents/test/build/test": No such file or directory. make: *** [Makefile:106: install/fast] Error 1 make: Leaving directory '/home/thode/Documents/test/build' ``` If I now use the 'cmake --install' option, then I would first expect that it would also build the target first, but that is not the case: ``` $ rm -rf build/ && cmake -B build/ . && cmake --install build/ -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/thode/Documents/test/build -- Install configuration: "" CMake Error at build/cmake_install.cmake:52 (file): file INSTALL cannot find "/home/thode/Documents/test/build/test": No such file or directory. ``` So I indeed have to do the 'cmake --build' first. (beware that I again didn't use sudo.) ``` $ rm -rf build/ && cmake -B build/ . && cmake --build build/ && cmake --install build/ -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/thode/Documents/test/build [ 50%] Building CXX object CMakeFiles/test.dir/main.cpp.o [100%] Linking CXX executable test [100%] Built target test -- Install configuration: "" -- Installing: /usr/local/bin/test CMake Error at build/cmake_install.cmake:52 (file): file INSTALL cannot copy file "/home/thode/Documents/test/build/test" to "/usr/local/bin/test": Permission denied. ``` So in short, calling 'cmake --install' doesn't imply a build. For purely make, that was the case, but when using the cmake wrapper, this doesn't hold longer. Kr, Thomas Op ma 2 okt 2023 om 22:43 schreef Yann E. MORIN : > > Thomas, All, > > On 2023-10-02 22:26 +0200, Thomas Devoogdt spake thusly: > > I will check what I can do. A quick search gives me this flag: > > [1]https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html , > > which is probably what we want. Otherwise I don't see much additional install options. > > If I understood it properly, this makes 'install' behave as > 'install/fast' by default, so looks like we should indeed be passing > this option instead. If that does not make sense for the ninja case, > then we'd set it only for the makefiles case. > > > And calling the make install/fast target > > directly is not very generator generic. > > If we reinstate 'install/fast' as it was previously, we'd do that only > for the makefiels case, of course. > > Regards, > Yann E. MORIN. > > > Kr, > > Thomas > > Op ma 2 okt. 2023 19:33 schreef Yann E. MORIN < [2]yann.morin.1998 at free.fr>: > > > > Thomas, All, > > > > On 2023-08-06 16:15 +0200, Yann E. MORIN spake thusly: > > > On 2023-08-02 13:14 +0200, Thomas Devoogdt spake thusly: > > > > From: Thomas Devoogdt < [3]thomas.devoogdt at barco.com> > > > > Cmake supports multiple generators. Ninja is a small build system with a > > > > focus on speed. It is mainly used with the meson build system, but also > > > > cmake has very good support for it. This adds optional support for the > > > > Ninja build system. > > [--SNIP--] > > > Please review the new code. If I broke something, please send followup > > > fixup patches with appropriate explanations (there's a kind of d?j?-vu > > > here...) > > > > While reviewing another patch, I now noticed that we did lose something > > with the introduction of this ninja backend. that I totally missed when > > I applied it. > > > > Indeed, previously, the install step was done with the install/fast > > rule: > > > > $(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install/fast > > $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install/fast > > > > But this got removed with your patch, with nothing to replace it. > > > > See commit dfcc18f84b0d (pkg-cmake: Skip compilation in installation > > step) for the rationale of using install/fast. > > > > Could you look into restoring this, please? > > > > Regards, > > Yann E. MORIN. > > > > -- > > .-----------------.--------------------.------------------.--------------------. > > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ > > | > > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > > | [4]http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > > '------------------------------^-------^------------------^--------------------' > > > > Links: > > 1. https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html > > 2. mailto:yann.morin.1998 at free.fr > > 3. mailto:thomas.devoogdt at barco.com > > 4. http://ymorin.is-a-geek.org/ > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' > From adam.duskett at amarulasolutions.com Sat Oct 7 18:19:25 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:19:25 +0200 Subject: [Buildroot] [PATCH v2 1/2] package/refpolicy/Config.in: force merged usr when selecting upstream Message-ID: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> Refpolicy contexts expect a merged /usr file system. In fact, there are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user wants to go through the trouble of creating a policy that works with a non-merged system, they should be free to do so. As such, only select BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION Signed-off-by: Adam Duskett --- package/refpolicy/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..f1f3c7e64d 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -36,6 +36,7 @@ choice config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + select BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. -- 2.41.0 From adam.duskett at amarulasolutions.com Sat Oct 7 18:19:26 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:19:26 +0200 Subject: [Buildroot] [PATCH v2 2/2] package/refpolicy: bump version to 2.20221101 In-Reply-To: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> References: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> Message-ID: <20231007181926.7115-2-adam.duskett@amarulasolutions.com> Drop upstream patch Signed-off-by: Adam Duskett --- v1 -> v2: drop upstream patch ...ount-dbus-interface-must-be-optional.patch | 33 ------------------- package/refpolicy/refpolicy.hash | 2 +- package/refpolicy/refpolicy.mk | 2 +- 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch diff --git a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch b/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch deleted file mode 100644 index adec7d98d0..0000000000 --- a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6c6be65ccf0891391681d4662cc11f508c0f4aeb Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 24 Apr 2023 14:24:49 -0700 -Subject: [PATCH] mount: dbus interface must be optional - -If DBus isn't built, the build process fails due to mount.te always using a -dbus interface even if the dbus module. Fix this by setting the dbus interface -as optional. - -Signed-off-by: Adam Duskett -Upstream: https://github.com/SELinuxProject/refpolicy/commit/207b09a656c2c3ac5c286d3f7eef085325e35408 ---- - policy/modules/system/mount.te | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te -index d028723..af84af0 100644 ---- a/policy/modules/system/mount.te -+++ b/policy/modules/system/mount.te -@@ -145,7 +145,9 @@ selinux_getattr_fs(mount_t) - - userdom_use_all_users_fds(mount_t) - --dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+optional_policy(` -+ dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+') - - ifdef(`distro_redhat',` - optional_policy(` --- -2.40.0 - diff --git a/package/refpolicy/refpolicy.hash b/package/refpolicy/refpolicy.hash index a09e59c270..70d1acc9af 100644 --- a/package/refpolicy/refpolicy.hash +++ b/package/refpolicy/refpolicy.hash @@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2 +sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 8fea7cc254..fb1c213b84 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.20221101 +REFPOLICY_VERSION = 2.20231002 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif -- 2.41.0 From adam.duskett at amarulasolutions.com Sat Oct 7 18:30:53 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Sat, 7 Oct 2023 20:30:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/setools: bump version to 4.4.3 Message-ID: <20231007183053.12650-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/setools/setools.hash | 2 +- package/setools/setools.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/setools/setools.hash b/package/setools/setools.hash index c353e1f609..6a61fc2809 100644 --- a/package/setools/setools.hash +++ b/package/setools/setools.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 998d12d01852feed1889110a4ca81090a47a2d9b47368e4dfe2b94d68696c813 setools-4.4.2.tar.gz +sha256 29f5e7d98764a6942b2e32c8aa44da6a618882818c79599ade967ece0cf1dace setools-4.4.3.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 b80d25a6b9..efb3869e5b 100644 --- a/package/setools/setools.mk +++ b/package/setools/setools.mk @@ -4,7 +4,7 @@ # ################################################################################ -SETOOLS_VERSION = 4.4.2 +SETOOLS_VERSION = 4.4.3 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 -- 2.41.0 From fperrad at gmail.com Sat Oct 7 19:22:14 2023 From: fperrad at gmail.com (Francois Perrad) Date: Sat, 7 Oct 2023 21:22:14 +0200 Subject: [Buildroot] [PATCH] package/libsoup: bump to version 2.74.3 Message-ID: <20231007192214.3670075-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/libsoup/libsoup.hash | 4 ++-- package/libsoup/libsoup.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libsoup/libsoup.hash b/package/libsoup/libsoup.hash index 2f44e63d7..5f687068a 100644 --- a/package/libsoup/libsoup.hash +++ b/package/libsoup/libsoup.hash @@ -1,4 +1,4 @@ -# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.2.sha256sum -sha256 f0a427656e5fe19e1df71c107e88dfa1b2e673c25c547b7823b6018b40d01159 libsoup-2.74.2.tar.xz +# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.3.sha256sum +sha256 e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13 libsoup-2.74.3.tar.xz # Locally calculated sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk index 026ea3a8b..81bf42cab 100644 --- a/package/libsoup/libsoup.mk +++ b/package/libsoup/libsoup.mk @@ -5,7 +5,7 @@ ################################################################################ LIBSOUP_VERSION_MAJOR = 2.74 -LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).2 +LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).3 LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz LIBSOUP_SITE = https://download.gnome.org/sources/libsoup/$(LIBSOUP_VERSION_MAJOR) LIBSOUP_LICENSE = LGPL-2.0+ -- 2.39.2 From fperrad at gmail.com Sat Oct 7 19:22:25 2023 From: fperrad at gmail.com (Francois Perrad) Date: Sat, 7 Oct 2023 21:22:25 +0200 Subject: [Buildroot] [PATCH] package/mbedtls: bump to version 2.28.5 Message-ID: <20231007192225.3670096-1-francois.perrad@gadz.org> Signed-off-by: Francois Perrad --- package/mbedtls/mbedtls.hash | 2 +- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 6aa6d0235..d0cd0b210 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 62eda6ec9..1b941e04f 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.4 +MBEDTLS_VERSION = 2.28.5 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ -- 2.39.2 From yann.morin.1998 at free.fr Sat Oct 7 19:34:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 21:34:22 +0200 Subject: [Buildroot] [PATCH v2 1/2] package/refpolicy/Config.in: force merged usr when selecting upstream In-Reply-To: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> References: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> Message-ID: <20231007193422.GG2552@scaer> Adam, All, On 2023-10-07 20:19 +0200, Adam Duskett spake thusly: > Refpolicy contexts expect a merged /usr file system. In fact, there > are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user > wants to go through the trouble of creating a policy that works with a > non-merged system, they should be free to do so. As such, only select > BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > > Signed-off-by: Adam Duskett > --- > package/refpolicy/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in > index 0e72b895df..f1f3c7e64d 100644 > --- a/package/refpolicy/Config.in > +++ b/package/refpolicy/Config.in > @@ -36,6 +36,7 @@ choice > > config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > bool "Upstream version" > + select BR2_ROOTFS_MERGED_USR I wonder if this is the proper solution. I would have rather though of depends on rather than select: diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..c413c1244b 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -32,13 +32,17 @@ if BR2_PACKAGE_REFPOLICY choice prompt "Refpolicy version" - default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION + default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION if BR2_ROOTFS_MERGED_USR config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + depends on BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. +comment "upstream refpolicy needs merged /usr" + depends on !BR2_ROOTFS_MERGED_USR + config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT bool "Custom git repository" help Not totally sure either ways, though... Regards, Yann E. MORIN. > help > Use the refpolicy as provided by Buildroot. > > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arnout at mind.be Sat Oct 7 19:38:58 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 21:38:58 +0200 Subject: [Buildroot] [PATCH] system: add option for packages to require /bin/sh In-Reply-To: <20230122094453.1381079-1-yann.morin.1998@free.fr> References: <20230122094453.1381079-1-yann.morin.1998@free.fr> Message-ID: <75eb26ce-286d-5b1e-20e9-c2833ff90781@mind.be> On 22/01/2023 10:44, Yann E. MORIN wrote: > Some packages will require that /bin/sh exists and is a valid shell. > > For example, system needs a shell, but does not care much what it is. We > could provide it with whatever the user configures as BR2_SYSTEM_BIN_SH, > but that can be empty because of BR2_SYSTEM_BIN_SH_NONE. > > So, we add an option to restrict the choice and forbid BR2_SYSTEM_BIN_SH_NONE > from being a selectable option, this ensuring that there is a shell on > the system. As a side effect, it also ensures that /bin/sh exists. In Buildroot, we assume that the user is smart enough to not remove the basic Unix tools from the system (sh, sed, grep, ...) unless they know very well what they're doing. BIN_SH_NONE is there for various situations where none of the other options are appropriate: - a system which doesn't have a shell (or maybe even init system) at all; - /bin/sh is already provided by a custom skeleton; - /bin/sh is provided in some other external fashion, e.g. this is not a full rootfs but just an overlay; - /bin/sh is provided by a package in BR2_EXTERNAL; - probably there are use cases that I can't even think of. Except for the first one, in all of these cases it should be possible for the user to still enable systemd (or any other init system). > For systmd, we can then just tell it to unconditionally use /bin/sh as > the default user shell, and that will also match whatever the user > selected as the system-wide default shell. Well, if we go that way, this patch should always have been there, because the other init systems rely on /bin/sh even more (for executing /etc/init.d scripts). > > Signed-off-by: Yann E. MORIN > Cc: Norbert Lange Norbert's feedback was also not in favour. Therefore, marked as Rejected. Regards, Arnout > --- > Note: this is a prerequisite for the bump to systemd 252.4: > http://patchwork.ozlabs.org/project/buildroot/patch/20230115114840.9027-1-nolange79 at gmail.com/ > --- > system/Config.in | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/system/Config.in b/system/Config.in > index 806a747315..963192cb3f 100644 > --- a/system/Config.in > +++ b/system/Config.in > @@ -320,6 +320,17 @@ config BR2_TARGET_GENERIC_ROOT_PASSWD > the very least use a strong cryptographic hash for your > password! > > +config BR2_SYSTEM_NEEDS_BIN_SH > + bool > + # Busybox has a shell that does not need an MMU, but all the > + # standalone shells need one. If BR2_PACKAGE_BUSYBOX is not > + # set, BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is set, so we just need > + # an MMU. > + depends on BR2_USE_MMU || BR2_PACKAGE_BUSYBOX > + help > + Have your package select this (and proapgate the dependencies) > + if it absolutely needs /bin/sh to exist and be a valid shell. > + > choice > bool "/bin/sh" > default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX > @@ -360,6 +371,7 @@ comment "bash, dash, mksh, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS" > > config BR2_SYSTEM_BIN_SH_NONE > bool "none" > + depends on !BR2_SYSTEM_NEEDS_BIN_SH > > endchoice # /bin/sh > From arnout at mind.be Sat Oct 7 20:36:32 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 22:36:32 +0200 Subject: [Buildroot] [PATCH 1/2] utils/check-package: allow exception for global checks Message-ID: <20231007203633.2415431-1-arnout@mind.be> check-package has a mechanism for a specific file to make an exception to a specific checker, by preceding the offending line with "check-package ... ". However, this is not possible for the global checks that are done in the checker's after() function. Allow exceptions for the global checks by writing the same "check-package ... " comment on the last line of the file. Signed-off-by: Arnout Vandecappelle --- utils/check-package | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/check-package b/utils/check-package index 105902303e..38119f7136 100755 --- a/utils/check-package +++ b/utils/check-package @@ -247,6 +247,8 @@ def check_file_using_lib(fname): lastline = text for name, cf in objects: + if cf.disable.search(lastline): + continue warn, fail = print_warnings(cf.after(), name in xfail) if fail > 0: failed.add(name) -- 2.41.0 From arnout at mind.be Sat Oct 7 20:36:33 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 22:36:33 +0200 Subject: [Buildroot] [PATCH 2/2] package/initscripts: add service to load kernel modules at boot In-Reply-To: <20231007203633.2415431-1-arnout@mind.be> References: <20231007203633.2415431-1-arnout@mind.be> Message-ID: <20231007203633.2415431-2-arnout@mind.be> From: Angelo Compagnucci In cases where no hotplug is available (by choice or by the lack of a proper hotplug method for a device), this service can be used to load kernel module drivers by reading the /etc/modules-load.d/*.conf files. The modules files matches the one used by systemd, which in turn has a builtin mechanism to load a module at boot, therefore making systemv init on par with systemd features. Signed-off-by: Angelo Compagnucci [Arnout: - add exception for missing DAEMON variable; - fix shellcheck warnings ] Signed-off-by: Arnout Vandecappelle --- package/initscripts/init.d/S11modules | 62 +++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 package/initscripts/init.d/S11modules diff --git a/package/initscripts/init.d/S11modules b/package/initscripts/init.d/S11modules new file mode 100644 index 0000000000..ab9b93dae3 --- /dev/null +++ b/package/initscripts/init.d/S11modules @@ -0,0 +1,62 @@ +#!/bin/sh + +MODULES_DIR="/etc/modules-load.d/" + +[ -z "$(ls -A ${MODULES_DIR} 2> /dev/null)" ] && exit 0 + +load_unload() { + for module_file in "${MODULES_DIR}"/*.conf; do + while read -r module args; do + + case "$module" in + ""|"#"*) continue ;; + esac + + if [ "$1" = "load" ]; then + # shellcheck disable=SC2086 # We need word splitting for args + modprobe -q "${module}" ${args} >/dev/null && \ + printf '%s ' "$module" || RET='FAIL' + else + rmmod "${module}" >/dev/null + fi + + done < "${module_file}" + done + + RET='OK' +} + +start() { + printf 'Starting modules: ' + + load_unload load + + echo $RET +} + +stop() { + printf 'Stopping modules: ' + + load_unload unload + + echo $RET +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + # Restart, since there is no true "reload" feature. + restart;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac + +# check-package Ignore missing DAEMON Variables -- 2.41.0 From arnout at mind.be Sat Oct 7 20:40:10 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 22:40:10 +0200 Subject: [Buildroot] [PATCH v4 5/5] package/initscripts: add service to load kernel modules at boot In-Reply-To: <20221004110421.137795-6-angelo@amarulasolutions.com> References: <20221004110421.137795-1-angelo@amarulasolutions.com> <20221004110421.137795-6-angelo@amarulasolutions.com> Message-ID: On 04/10/2022 13:04, Angelo Compagnucci wrote: > In cases where no hotplug is available (by choice or by the lack of a > proper hotplug method for a device), this service can be used to load > kernel module drivers by reading the /etc/modules-load.d/*.conf files. > The modules files matches the one used by systemd, which in turn has > a builtin mechanism to load a module at boot, therefore making systemv > init on par with systemd features. > > Signed-off-by: Angelo Compagnucci > --- > v2: > * Moved script to initscripts (Arnout) > * Moved script to S11modules, after S10[mu]dev (Andreas) > * Use /etc/modules-load.d/ to share the same setup with systemd (me) > v4: > * Select only .conf file (Peter) > * Better ouput: printing module name only when loaded successfully, > print a FAIL when at least one module fails (Peter) > > package/initscripts/init.d/S11modules | 59 +++++++++++++++++++++++++++ > 1 file changed, 59 insertions(+) > create mode 100644 package/initscripts/init.d/S11modules > > diff --git a/package/initscripts/init.d/S11modules b/package/initscripts/init.d/S11modules > new file mode 100644 > index 0000000000..dcc2e79135 > --- /dev/null > +++ b/package/initscripts/init.d/S11modules > @@ -0,0 +1,59 @@ > +#!/bin/sh > + > +MODULES_DIR="/etc/modules-load.d/" The script was failing check-package because there's no DAEMON variable. Of course, it's not appropriate to have a DAEMON variable in this init script because there's no daemon to start... On option would be to set a dummy DAEMON variable, but that would be rather pointless. So instead, I used the check-package exception comment to avoid it. However, that feature didn't exist yet for global checks (done in the after() function). So I added that feature to check-package. Because the change became a bit too big to apply directly, I resent. Of course, stupid me forgot to add versioning information :-( > + > +[ -z "$(ls -A ${MODULES_DIR} 2> /dev/null)" ] && exit 0 > + > +load_unload() { > + for module_file in $(ls -1 ${MODULES_DIR}/*.conf); do This (and a few other lines) triggered a shellcheck warning. I fixed those. Could you test with the patch I sent? Regards, Arnout > + while read module args; do > + > + case "$module" in > + ""|"#"*) continue ;; > + esac > + > + if [ "$1" = "load" ]; then > + modprobe -q ${module} ${args} >/dev/null && \ > + printf '%s ' "$module" || RET='FAIL' > + else > + rmmod ${module} >/dev/null > + fi > + > + done < ${module_file} > + done > + > + RET='OK' > +} > + > +start() { > + printf 'Starting modules: ' > + > + load_unload load > + > + echo $RET > +} > + > +stop() { > + printf 'Stopping modules: ' > + > + load_unload unload > + > + echo $RET > +} > + > +restart() { > + stop > + sleep 1 > + start > +} > + > +case "$1" in > + start|stop|restart) > + "$1";; > + reload) > + # Restart, since there is no true "reload" feature. > + restart;; > + *) > + echo "Usage: $0 {start|stop|restart|reload}" > + exit 1 > +esac From arnout at mind.be Sat Oct 7 20:41:32 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sat, 7 Oct 2023 22:41:32 +0200 Subject: [Buildroot] [PATCH 2/2] package/initscripts: add service to load kernel modules at boot In-Reply-To: <20231007203633.2415431-2-arnout@mind.be> References: <20231007203633.2415431-1-arnout@mind.be> <20231007203633.2415431-2-arnout@mind.be> Message-ID: <013b2509-3af4-6130-6327-e4c52efaaa69@mind.be> On 07/10/2023 22:36, Arnout Vandecappelle wrote: > From: Angelo Compagnucci > > In cases where no hotplug is available (by choice or by the lack of a > proper hotplug method for a device), this service can be used to load > kernel module drivers by reading the /etc/modules-load.d/*.conf files. > The modules files matches the one used by systemd, which in turn has > a builtin mechanism to load a module at boot, therefore making systemv > init on par with systemd features. > > Signed-off-by: Angelo Compagnucci > [Arnout: > - add exception for missing DAEMON variable; > - fix shellcheck warnings > ] > Signed-off-by: Arnout Vandecappelle > --- I forgot the patch history. v2: * Moved script to initscripts (Arnout) * Moved script to S11modules, after S10[mu]dev (Andreas) * Use /etc/modules-load.d/ to share the same setup with systemd (me) v4: * Select only .conf file (Peter) * Better ouput: printing module name only when loaded successfully, print a FAIL when at least one module fails (Peter) v5 (Arnout): * Fix shellcheck warnings * Add exception for missing DAEMON variable Regards, Arnout > package/initscripts/init.d/S11modules | 62 +++++++++++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 package/initscripts/init.d/S11modules > > diff --git a/package/initscripts/init.d/S11modules b/package/initscripts/init.d/S11modules > new file mode 100644 > index 0000000000..ab9b93dae3 > --- /dev/null > +++ b/package/initscripts/init.d/S11modules > @@ -0,0 +1,62 @@ > +#!/bin/sh > + > +MODULES_DIR="/etc/modules-load.d/" > + > +[ -z "$(ls -A ${MODULES_DIR} 2> /dev/null)" ] && exit 0 > + > +load_unload() { > + for module_file in "${MODULES_DIR}"/*.conf; do > + while read -r module args; do > + > + case "$module" in > + ""|"#"*) continue ;; > + esac > + > + if [ "$1" = "load" ]; then > + # shellcheck disable=SC2086 # We need word splitting for args > + modprobe -q "${module}" ${args} >/dev/null && \ > + printf '%s ' "$module" || RET='FAIL' > + else > + rmmod "${module}" >/dev/null > + fi > + > + done < "${module_file}" > + done > + > + RET='OK' > +} > + > +start() { > + printf 'Starting modules: ' > + > + load_unload load > + > + echo $RET > +} > + > +stop() { > + printf 'Stopping modules: ' > + > + load_unload unload > + > + echo $RET > +} > + > +restart() { > + stop > + sleep 1 > + start > +} > + > +case "$1" in > + start|stop|restart) > + "$1";; > + reload) > + # Restart, since there is no true "reload" feature. > + restart;; > + *) > + echo "Usage: $0 {start|stop|restart|reload}" > + exit 1 > +esac > + > +# check-package Ignore missing DAEMON Variables From yann.morin.1998 at free.fr Sat Oct 7 20:52:33 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 22:52:33 +0200 Subject: [Buildroot] [git commit] package/erlang: drop leftover comment Message-ID: <20231007205658.8E0B084229@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=edfbc27fac56ccedc9e67684ca491c232f2a93d3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit b574a9606e62 (package/erlang: do not hard-code the Erlang Interface Version (EI_VSN)) removed the need to care about keeping the erlang version and its API version in sync, as the latter is automatically extracted from installed files. The corresponding comment was removed in that commit: # Whenever updating Erlang, this value should be updated as well, to the # value of EI_VSN in the file lib/erl_interface/vsn.mk However, the removal of the comment above the package version was leftover (probably because of a conflict with a version bump that was improperly resolved). Drop the comment now. Signed-off-by: Yann E. MORIN --- package/erlang/erlang.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/erlang/erlang.mk b/package/erlang/erlang.mk index 29e2b74cbd..1600b59381 100644 --- a/package/erlang/erlang.mk +++ b/package/erlang/erlang.mk @@ -4,7 +4,6 @@ # ################################################################################ -# See note below when updating Erlang ERLANG_VERSION = 26.0.2 ERLANG_RELEASE = $(firstword $(subst ., ,$(ERLANG_VERSION))) ERLANG_SITE = \ From yann.morin.1998 at free.fr Sat Oct 7 20:57:49 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 7 Oct 2023 22:57:49 +0200 Subject: [Buildroot] [PATCH] support/bootlin-toolchains: don't depend on non-existent gcc version Message-ID: <20231007205749.443600-1-yann.morin.1998@free.fr> Commit a0d2a5cfec0a (support/scripts/gen-bootlin-toolchains: generate BR2_ARCH_NEEDS_GCC_AT_LEAST_X guard) added a negative dependency to the gcc version required by the configured architecture. However, when the toolchain is using the latest gcc version currently known to Buildroot, this generates a dependency on a non-existing gcc version. For example, a toolchain using gcc 13, the most recent version currently known to Buildroot, this would generate a dependency against BR2_ARCH_NEEDS_GCC_AT_LEAST_14, which does not exist yet. This dependency is in practice a no-op, because the symbol is missing, so Kconfig evaluates it to false, and since it is negated, the dependency is fulfilled. Still, this is spurious and semantically incorrect. We fix that by extracting the most recent gcc version that an architecture may require, and use that to decide whether the guard is needed for the toolchain. Signed-off-by: Yann E. MORIN Cc: Vincent Fazio --- support/scripts/gen-bootlin-toolchains | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/support/scripts/gen-bootlin-toolchains b/support/scripts/gen-bootlin-toolchains index 4344221213..3b5f65515d 100755 --- a/support/scripts/gen-bootlin-toolchains +++ b/support/scripts/gen-bootlin-toolchains @@ -305,7 +305,7 @@ class Toolchain: return os.path.join(BASE_URL, self.arch, "fragments", self.fname_prefix + ".frag") - def gen_config_in_options(self, f): + def gen_config_in_options(self, f, latest_gcc): f.write("config %s\n" % self.option_name) f.write("\tbool \"%s %s %s %s\"\n" % (self.arch, self.libc, self.variant, self.version)) @@ -339,7 +339,8 @@ class Toolchain: assert m, "Cannot get gcc version for toolchain %s" % self.fname_prefix selects.append("BR2_TOOLCHAIN_GCC_AT_LEAST_%s" % m[1]) # respect the GCC requirement for the selected CPU/arch tuning - depends.append("!BR2_ARCH_NEEDS_GCC_AT_LEAST_%s" % str(int(m[1]) + 1)) + if int(m[1]) + 1 <= latest_gcc: + depends.append("!BR2_ARCH_NEEDS_GCC_AT_LEAST_%s" % str(int(m[1]) + 1)) # kernel headers version if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HEADERS_"): @@ -462,6 +463,17 @@ class Toolchain: (self.arch, self.libc, self.variant, self.version, self.option_name) +def get_latest_gcc(): + match = "config BR2_ARCH_NEEDS_GCC_AT_LEAST_" + with open("arch/Config.in", "r") as f: + latest = sorted([ + int(line[len(match):].strip().split("_")[0]) + for line in f.readlines() + if line.startswith(match) + ])[-1] + return latest + + def get_toolchains(): toolchains = list() for arch, details in arches.items(): @@ -494,6 +506,7 @@ def get_toolchains(): def gen_config_in_options(toolchains, fpath): + latest_gcc = get_latest_gcc() with open(fpath, "w") as f: f.write(AUTOGENERATED_COMMENT) @@ -520,7 +533,7 @@ def gen_config_in_options(toolchains, fpath): f.write("\tprompt \"Bootlin toolchain variant\"\n") for toolchain in toolchains: - toolchain.gen_config_in_options(f) + toolchain.gen_config_in_options(f, latest_gcc) f.write("endchoice\n") f.write("endif\n") -- 2.25.1 From thomas.petazzoni at bootlin.com Sun Oct 8 05:38:28 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 08 Oct 2023 05:38:28 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-07 Message-ID: <20231008053835.62DEE419C3@smtp4.osuosl.org> Hello, Autobuild statistics for 2023-10-07 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 18 | 6 | 0 | 24 | 2023.08.x | 15 | 8 | 0 | 23 | master | 96 | 143 | 0 | 239 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 18 bird-2.0.12 | 12 alsa-lib-1.2.10 | 9 spirv-tools-1.3.261.1 | 8 unknown | 8 gobject-introspection-1.76.1 | 7 alsa-utils-1.2.10 | 4 gcc-final-12.3.0 | 4 glibc-2.38-27-g750a45a78390... | 4 google-breakpad-c85eb4a59b6... | 4 monit-5.33.0 | 4 elfutils-0.189 | 3 host-rust-1.71.1 | 3 linux-6.5.5 | 3 conmon-2.1.8 | 2 coreutils-9.3 | 2 host-sentry-cli-2.20.3 | 2 libarchive-3.7.2 | 2 libmemcached-1.1.4 | 2 linux-5.10.162-cip24-rt10 | 2 liquid-dsp-1.5.0 | 2 php-8.2.11 | 2 squid-6.2 | 2 acpid-2.0.34 | 1 apcupsd-3.14.14 | 1 boost-1.83.0 | 1 bullet-3.21 | 1 cairo-1.16.0 | 1 check-11970a7e112dfe243a2e6... | 1 cpuload-0.3 | 1 cryptodev-linux-1.13 | 1 edk2-edk2-stable202308 | 1 fio-3.34 | 1 flatbuffers-23.5.26 | 1 gcc-final-11.4.0 | 1 gcc-final-13.2.0 | 1 host-erlang-26.0.2 | 1 host-gcc-final-13.2.0 | 1 host-go-1.21.1 | 1 host-go-bootstrap-stage2-1.... | 1 kvmtool-f77d646ba01d04be5aa... | 1 lcms2-2.15 | 1 libopenssl-3.1.3 | 1 libselinux-3.5 | 1 mariadb-10.11.4 | 1 memcached-1.6.21 | 1 motion-4.5.1 | 1 netsnmp-5.9.4 | 1 openvmtools-11.3.5-18557794 | 1 pound-4.8 | 1 pv-1.6.20 | 1 skalibs-2.12.0.1 | 1 systemd-254 | 1 tpm2-tss-3.2.2 | 1 util-linux-2.39.2 | 1 valgrind-3.21.0 | 1 zlib-ng-2.1.3 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/2d9b7a82cf6e0b30b4746d53475a522486becb40 | ORPH or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/adbc3708a2575b8c35faeb782cadce794afe6175 | powerpc64le | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/eaf2fd899537d12c2c31749ad913932ffd6d287f | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/4c647e0f680d148ba3a67f754e7baccbd13b17c7 | or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1a6ca1f9c83e9295cd688f00550431269a351db5 | microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b4263e4e7df1d804b4b543d40a02ee298a8694a1 | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/543bd45d18fc8e395ef5c2c2e54e068b998751f8 | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/baa87e2fa9ee5223dc1c455ffe6238b2c5a87afb | aarch64_be | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/7ceebba4389ef0a95d1581f2e7f5fd6ea4e7cdb8 | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/9e5a85b426e6eb09deed07650705325d9f326d21 | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6430e41d4f52ed77e89b40c0f024830769b0688f | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/ef78b81988be72c2745a6bcd7d6bcb9bcbd892c9 | mips64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7137209e59f1c6d588cc68da82ab71a6a284582e | riscv32 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/0c1c35996e70004cea9044b72cca379972b2c9a9 | mips64el | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/38ccb0feecf71a9e8db3de2f9070929377a5797c | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/92351cbd55b712d4d44b4e7e46881f0cf40d8394 | arceb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/efb5c3d811d42e5734a4e4494566df5e7608324d | microblaze | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6fcb6e9ef580955b459ce0efafaa7d88d0164102 | arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b53739966e995bb47980d913ca82b4b928771fda | x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/0aca1131a471aab52fe3579f03e53b89f3b3204c | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8e9b80dfbd8f095e93abf8716fb714e7e9451cfa | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/7ee9da352baad127f1970a24a178ae22187abdbe | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/2d48915db31327ac1dc2a9378b33ced1c2bf6acc | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/494cb348e0ab0abd42d87e6ab43165c9ad5e2544 | sh4 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/e1f9e12fc4a86114e553f4692f71de76625ab61c | xtensa | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/0c487188103b298cc6ff84899863e0b63a8524c3 | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6cf7b187dfc03964b4abc76894312fc1e7ef5a45 | or1k | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/21088c2b4bcedbba6f15b5a9aaa68736b718ccc6 | xtensa | bullet-3.21 | NOK | http://autobuild.buildroot.net/results/a7d51995debe518cdb1d60aac12584b492ddd3f2 | xtensa | cairo-1.16.0 | NOK | http://autobuild.buildroot.net/results/00f3abaab8825f070957119881c3f5ccba0d48f7 | mips | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/28c0231e4724c01c82f9f38525313a6aada29163 | ORPH aarch64 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/a3f550ae79bf42074d1c8a3c9a3c8c52d0797de6 | mipsel | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/a3ed99f47aee2dae7e3223cfc1de546d3c425f22 | nios2 | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/f6c023123c7efeb8954503a034f5788c801f93fc | ORPH arm | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/7d36981bd262dd4f4a50babef820e0e76d6a9af1 | ORPH arceb | cpuload-0.3 | NOK | http://autobuild.buildroot.net/results/d23914e6000caa6586e68a75a736fc9276efac8c | powerpc64 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/34aba5d41658d37440547f1c9e3b0c4b5f2b464d | ORPH x86_64 | edk2-edk2-stable202308 | NOK | http://autobuild.buildroot.net/results/d9a92934f62d4841c02ce3af7da2eb0f2e4b7a03 | powerpc | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/eb4cdd89600ab39e86dcb221a044745ea8a20af5 | ORPH powerpc | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/f6e34636c79f4bd4a7c874c8ac3e2b239dfe760f | ORPH arceb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/5f5b783b4b61278a1d95663056ca54ff16a02d24 | ORPH mips | fio-3.34 | NOK | http://autobuild.buildroot.net/results/9b604eadadcafcc5613c865b732aec5eb8d74c68 | m68k | flatbuffers-23.5.26 | NOK | http://autobuild.buildroot.net/results/a159367bf02e28d71dc8d4c97f60b90c76161331 | mips64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/c9732dafff9f44c5f61326524fbde74e3ff3fb17 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/bf6c14da0a55ed9d9d6a4e8089710943ca5945bb | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/ca97671884a4fa3d21f80261a830f53af8463b78 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/22c796474f0d17c56ee39b8027fe476e845c3d28 | aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/d3adaf956c50dbe79d3c1ef6e365e195cdd0f49b | xtensa | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/3b07bc0eb6c7a3ddb31836c0e8da6db73d258015 | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/e851d99aee011093d8e8771d4026485c59816f1e | powerpc64le | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/5e4953c429c535136f621039bb25a684c533ff1b | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/0afb72385579111572d39c425f28ef4161c2a030 | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/77cea31375de775fe723e54cdd0a82b216cd4ee4 | or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/08a305e3de3ef2273c19cfb1aa93f03c1b9a31f5 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/c72bcb2d8c18d8f0a6089012389cac6e9415079f | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/e80192229fd13a6b319a974175f6d8d0100baf6c | ORPH sh4aeb | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/09687e4690a574baf8b7e64eede5b243e950cfe7 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/18069be9ecf6e1878745410a6912403529449f88 | ORPH mipsel | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/0e9ca55ae0cdb3b60ae2a37a67a3de3db2f26a84 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/7ac3eb243faa3231677be9e0bcca33f2d2805d03 | ORPH i686 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/81b0a8c14141309c6d759b61d7addd7b71377bbf | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/a11b8b16a89654ac7b8583c04e3cc20027deae39 | x86_64 | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/db1d68d31e26f154f398a528bd2423d743831da2 | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/be960970896f5b14968a479e6ff831b66bcbbc3b | x86_64 | host-erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/202f06dd639ddf6548975bc42d867f6aa8f918eb | powerpc | host-gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/5371e7f77369d7b52f7f56492c986f04c97d639e | mips64el | host-go-1.21.1 | NOK | http://autobuild.buildroot.net/results/986b83c2754fc3bd87d6758155edee326b3924de | riscv64 | host-go-bootstrap-stage2-1.... | NOK | http://autobuild.buildroot.net/results/b3674df5cb61f302ff33478a91c62d57e725efec | x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4d9517307e3d9da1e04856fd890513b68a569459 | sparc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c0ffe09d4157706c7d493e93332a3d60c4cb1cb9 | armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/f085ed5918bec6be1d84e867c9038a555d260eb8 | or1k | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/55176fe4be2eeadddb056023c8fd75b05e7c0b95 | mipsel | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/a3d70f680c7ed3a9603765d91f640fd63b523622 | x86_64 | kvmtool-f77d646ba01d04be5aa... | NOK | http://autobuild.buildroot.net/results/a9a8d12ae3a037503405f50eead3172cbcce976c | ORPH powerpc | lcms2-2.15 | NOK | http://autobuild.buildroot.net/results/50a501343d0715872ff7919d615154a1759a4948 | aarch64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/abaaa65c0ed4abe59723494dcfc400d5222c5858 | x86_64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/e3364d5ba51e69fb7d307f23f87a0af350572497 | arm | libmemcached-1.1.4 | NOK | http://autobuild.buildroot.net/results/ea5468597c1f6ab12e186d9eae796adbdd005666 | ORPH sparc | libmemcached-1.1.4 | NOK | http://autobuild.buildroot.net/results/c8e4e1f9609d1339fe070afe440c63660892600e | ORPH arm | libopenssl-3.1.3 | NOK | http://autobuild.buildroot.net/results/727da5fa493907f9821f9732813c8d6dd67259da | ORPH or1k | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/10113bd377c1c0e77b2e43858182fe0ca01fcc42 | m68k | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/0b47fc48793a17c58c1b4e6adcdc703ec305e826 | ORPH mips | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/8eacc23298ca190300fde9ca2fba26b39d4ab54b | ORPH powerpc64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/e37c6ab73fcfe7fde5b3ff8559e696a33dafd8cb | ORPH arceb | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/284aa41d823efe4aaaf4cf6e04cb300fe1544b7b | ORPH powerpc64 | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/f53766324e8a7413a18791d72030938575c0d913 | ORPH x86_64 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/785014444f80355987a017f5eae76ba37188deda | x86_64 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/9d155f66b06ce8e2c36c36981c53e342afc6551f | microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/1864e37e59c96ab7389810c1277a1df0a39745d8 | ORPH or1k | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/e1bdb1615f0e1f61763d728ec514cf48d0d6943a | ORPH mips | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/9c0564678f8d01e4a43806a1e2ba21b89bf5c9f2 | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/f7a07448e36abc5e5f48e140d6ed566980b54a66 | microblaze | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/515a001f76be31a39af93049adabf9db8a0d5d9b | arc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/d70a4b8ab9736fb9130630db970827c706c55fc2 | powerpc64 | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/042d4ce7edc74a02ad3f4c536346c6feb74d2c9a | mips64el | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/d4cb12bf6d892b3e4ecc363db1ee35fb47ec5da5 | ORPH armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6a6f8a1e8bd03b1b17454ba492018570c6bcf63a | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6f3e89c0ac6f06fcdc3089db4556b66d1463dcb6 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2ffa7a86125772a7e5a5d68b4ec44b493c29e279 | aarch64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/804e3b059a228778497097826ae3b895d4fdc6ec | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/43ffd497a3f5f76104897ecca419bf845540354d | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3406992fa1836b30bb0b59c7d5313ed6d0b83ade | microblazeel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b8caea3d67b4fffdd895692223a9651b03108641 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6aaae44aef2e4c0ad1eb222847a165e112c60b5d | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/51736dc1c845557bb3da68db1309ea38eb62e92f | or1k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e6bba3e8bdcc8d60b4f6f72f532caed53b695d04 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e5c5777ceca625459b0aa72a163cd64e6e81bf02 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/31f822c5b28788c1da48dcb1d6124e58f0ae7f01 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b28a8bd0f518b3c748bff9838f36742bb08e757c | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5bc1f8f1482745b86100af331cdc6a641e55ec18 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9a31aaf961d94cc579aba945e8e6a7882c4a4621 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c069d29a59b97f25ac59fd101732782145ec83a0 | aarch64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/bdcf7ead416a21b814bfe60a86743823cea724e8 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/1404607632c2910d24c2e7870b5a38189e5bb16c | x86_64 | openvmtools-11.3.5-18557794 | NOK | http://autobuild.buildroot.net/results/07baf4c1bc7f6cc61d0e1c5e286da156f4d70a9e | armeb | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/9ebcd082a490a58ae74e033645aaf33c17f999f8 | sh4eb | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/2278d76768ddaa9fd78e6afb219515047c8aa485 | mipsel | pound-4.8 | NOK | http://autobuild.buildroot.net/results/573257807098b3be4be37ee261bf5f9227093ec6 | ORPH armeb | pv-1.6.20 | NOK | http://autobuild.buildroot.net/results/ad63c9bbb130af53497040cd637ab7ede06eff19 | ORPH or1k | skalibs-2.12.0.1 | NOK | http://autobuild.buildroot.net/results/c1e02a5b38ac175e1744e198bedfc00835a0e1bf | armeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/7a2592d8cb44f9d2a137a59f5875e43d862fb145 | ORPH mips64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/9751bc146d325978843008adcde4663ad3b6aea0 | ORPH microblazeel | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/18e1172ae2e227f305c35a82c372a522c4d878f6 | ORPH powerpc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/e8e9cdb403f2b1977e645c4d349b79b6bf9bfbe9 | ORPH x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/3a186b2028a211c4bb8ac4c9627c1c75a49d8f76 | ORPH mips64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/fdf505ba05268706e719fea1c21e42055b5b949a | ORPH sh4a | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/bda9d55c69695f69407864ffcfa6ef82c29c105e | ORPH mips64el | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/afee3af66170d5ed782932ce413dfacf79933f50 | ORPH sparc | squid-6.2 | NOK | http://autobuild.buildroot.net/results/2129092a5f51d599131055de817dad56e71fb74c | ORPH aarch64 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/b8168738562a3e00531657b7415e3567c9a03c8d | ORPH powerpc | systemd-254 | NOK | http://autobuild.buildroot.net/results/ae872d45064a37cd33dbf8adc31b606f1133a393 | mips | tpm2-tss-3.2.2 | NOK | http://autobuild.buildroot.net/results/820f5f147d9c050bf88804d7eec1d662d8eca10a | ORPH s390x | unknown | NOK | http://autobuild.buildroot.net/results/00f0e533dcc4aa8c267505239bc9b661d9e2f414 | arm | unknown | NOK | http://autobuild.buildroot.net/results/6a7fd6d689ec14dc5b5204c9ba91776e8905693e | arm | unknown | NOK | http://autobuild.buildroot.net/results/8bd4be07dc0088d9a76f7d3d7a541ec0b1960db7 | arm | unknown | NOK | http://autobuild.buildroot.net/results/ed530cce91bed8fa7d02604d17be7811760a25b6 | mips64el | unknown | NOK | http://autobuild.buildroot.net/results/465c3030339f5801a019fab1f479f3190655759f | s390x | unknown | NOK | http://autobuild.buildroot.net/results/1076836d61fdd84c0f375d64cbddcb7e8a86756f | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/0b512bf3ada923059c35b7b82c4ac68dc27bc628 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/34a58f1201902441d9224267a0739b9756e0c6f6 | sh4 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/f2797fbf5f7fa54855ffb2615916fd4bbab6d143 | ORPH powerpc | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/2eeb33cccdd09f22e0ed723ed0171e0959771e54 | ORPH arm | zlib-ng-2.1.3 | NOK | http://autobuild.buildroot.net/results/560a69cf60639d4651dfa454c35ead0b76409927 | ORPH Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 1 check-0.15.2 | 1 elfutils-0.186 | 1 host-rust-1.67.1 | 1 unknown | 1 z3-4.12.1 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/67ec5bfda8e6a6409e83ad342965b1ab16cb16b5 | arm | check-0.15.2 | NOK | http://autobuild.buildroot.net/results/fb69c7e5f286a3935ab57350b6d87346dbf0bd8e | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/265fa25e7549a15b73d57fa2a79c86b181304e99 | ORPH i686 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/b168f74b76afaf9a919a4cd29dfd813c78206b8a | microblaze | unknown | NOK | http://autobuild.buildroot.net/results/41144a922e61e9bc8521cac7001a393529868d76 | or1k | z3-4.12.1 | NOK | http://autobuild.buildroot.net/results/ed1beb50a948a3c32e425c24cbdcb6adc1d98323 | Classification of failures by reason for 2023.08.x -------------------------------------------------- liquid-dsp-1.5.0 | 2 host-go-1.20.8 | 1 luvi-2.14.0 | 1 unknown | 1 util-linux-2.39.1 | 1 util-linux-libs-2.39.1 | 1 wolfssl-5.6.3 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | host-go-1.20.8 | NOK | http://autobuild.buildroot.net/results/f7a6a7008bf470d167ec6bd6eebf5d756f45eb12 | i686 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/60014472badc5d9d11c63cf45b570f416c196968 | i686 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/a5aa2e4e00c530888c9691323671fe0bce118a12 | aarch64_be | luvi-2.14.0 | NOK | http://autobuild.buildroot.net/results/2048957a8f3fdb27e75e6624e2c29c7d34930654 | ORPH mips64 | unknown | NOK | http://autobuild.buildroot.net/results/9556cf8e2f5d967b6e5eec4a09cc446d5a7a12c5 | microblazeel | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/516cec76470adf460d6d585835191b8e6be8c315 | ORPH arm | util-linux-libs-2.39.1 | NOK | http://autobuild.buildroot.net/results/1b93b1d92116fa72f3a40e1e18774241c89391c2 | ORPH x86_64 | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/cf19b89ac9d33ed094754cb6412088d621e50618 | -- http://autobuild.buildroot.net From arnout at mind.be Sun Oct 8 09:32:38 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 11:32:38 +0200 Subject: [Buildroot] [PATCH] support/bootlin-toolchains: don't depend on non-existent gcc version In-Reply-To: <20231007205749.443600-1-yann.morin.1998@free.fr> References: <20231007205749.443600-1-yann.morin.1998@free.fr> Message-ID: On 07/10/2023 22:57, Yann E. MORIN wrote: > Commit a0d2a5cfec0a (support/scripts/gen-bootlin-toolchains: generate > BR2_ARCH_NEEDS_GCC_AT_LEAST_X guard) added a negative dependency to the > gcc version required by the configured architecture. > > However, when the toolchain is using the latest gcc version currently > known to Buildroot, this generates a dependency on a non-existing gcc > version. For example, a toolchain using gcc 13, the most recent version > currently known to Buildroot, this would generate a dependency against > BR2_ARCH_NEEDS_GCC_AT_LEAST_14, which does not exist yet. That means, however, that if we add GCC 14, we need to remember to add the condition to the Bootlin toolchains again... Of course, that can easily be solved by regenerating them, but we don't currently do that when adding a new GCC version. So really, I would feel more comfortable just adding the symbols for GCC 14 support already. Regards, Arnout > > This dependency is in practice a no-op, because the symbol is missing, > so Kconfig evaluates it to false, and since it is negated, the > dependency is fulfilled. Still, this is spurious and semantically > incorrect. > > We fix that by extracting the most recent gcc version that an > architecture may require, and use that to decide whether the guard is > needed for the toolchain. > > Signed-off-by: Yann E. MORIN > Cc: Vincent Fazio > --- > support/scripts/gen-bootlin-toolchains | 19 ++++++++++++++++--- > 1 file changed, 16 insertions(+), 3 deletions(-) > > diff --git a/support/scripts/gen-bootlin-toolchains b/support/scripts/gen-bootlin-toolchains > index 4344221213..3b5f65515d 100755 > --- a/support/scripts/gen-bootlin-toolchains > +++ b/support/scripts/gen-bootlin-toolchains > @@ -305,7 +305,7 @@ class Toolchain: > return os.path.join(BASE_URL, self.arch, "fragments", > self.fname_prefix + ".frag") > > - def gen_config_in_options(self, f): > + def gen_config_in_options(self, f, latest_gcc): > f.write("config %s\n" % self.option_name) > f.write("\tbool \"%s %s %s %s\"\n" % > (self.arch, self.libc, self.variant, self.version)) > @@ -339,7 +339,8 @@ class Toolchain: > assert m, "Cannot get gcc version for toolchain %s" % self.fname_prefix > selects.append("BR2_TOOLCHAIN_GCC_AT_LEAST_%s" % m[1]) > # respect the GCC requirement for the selected CPU/arch tuning > - depends.append("!BR2_ARCH_NEEDS_GCC_AT_LEAST_%s" % str(int(m[1]) + 1)) > + if int(m[1]) + 1 <= latest_gcc: > + depends.append("!BR2_ARCH_NEEDS_GCC_AT_LEAST_%s" % str(int(m[1]) + 1)) > > # kernel headers version > if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HEADERS_"): > @@ -462,6 +463,17 @@ class Toolchain: > (self.arch, self.libc, self.variant, self.version, self.option_name) > > > +def get_latest_gcc(): > + match = "config BR2_ARCH_NEEDS_GCC_AT_LEAST_" > + with open("arch/Config.in", "r") as f: > + latest = sorted([ > + int(line[len(match):].strip().split("_")[0]) > + for line in f.readlines() > + if line.startswith(match) > + ])[-1] > + return latest > + > + > def get_toolchains(): > toolchains = list() > for arch, details in arches.items(): > @@ -494,6 +506,7 @@ def get_toolchains(): > > > def gen_config_in_options(toolchains, fpath): > + latest_gcc = get_latest_gcc() > with open(fpath, "w") as f: > f.write(AUTOGENERATED_COMMENT) > > @@ -520,7 +533,7 @@ def gen_config_in_options(toolchains, fpath): > f.write("\tprompt \"Bootlin toolchain variant\"\n") > > for toolchain in toolchains: > - toolchain.gen_config_in_options(f) > + toolchain.gen_config_in_options(f, latest_gcc) > > f.write("endchoice\n") > f.write("endif\n") From arnout at mind.be Sun Oct 8 09:40:11 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 11:40:11 +0200 Subject: [Buildroot] [PATCH v2 1/2] package/refpolicy/Config.in: force merged usr when selecting upstream In-Reply-To: <20231007193422.GG2552@scaer> References: <20231007181926.7115-1-adam.duskett@amarulasolutions.com> <20231007193422.GG2552@scaer> Message-ID: <3e9f019b-a8ad-e856-3ed9-6fec0c119f83@mind.be> On 07/10/2023 21:34, Yann E. MORIN wrote: > Adam, All, > > On 2023-10-07 20:19 +0200, Adam Duskett spake thusly: >> Refpolicy contexts expect a merged /usr file system. In fact, there >> are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user >> wants to go through the trouble of creating a policy that works with a >> non-merged system, they should be free to do so. As such, only select >> BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION >> >> Signed-off-by: Adam Duskett >> --- >> package/refpolicy/Config.in | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in >> index 0e72b895df..f1f3c7e64d 100644 >> --- a/package/refpolicy/Config.in >> +++ b/package/refpolicy/Config.in >> @@ -36,6 +36,7 @@ choice >> >> config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION >> bool "Upstream version" >> + select BR2_ROOTFS_MERGED_USR > > I wonder if this is the proper solution. I would have rather though of > depends on rather than select: I agree. I don't think anything in the system/Config.in menu should be select'ed by packages. Currently we do select BR2_TARGET_TZ_INFO, and I'm not even sure if that is such a good idea. > diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in > index 0e72b895df..c413c1244b 100644 > --- a/package/refpolicy/Config.in > +++ b/package/refpolicy/Config.in > @@ -32,13 +32,17 @@ if BR2_PACKAGE_REFPOLICY > > choice > prompt "Refpolicy version" > - default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > + default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION if BR2_ROOTFS_MERGED_USR This is not great however... If merged /usr is not selected, it will default to git, which is not exactly a good default. But there's not much we can do about that I guess. Regards, Arnout > > config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > bool "Upstream version" > + depends on BR2_ROOTFS_MERGED_USR > help > Use the refpolicy as provided by Buildroot. > > +comment "upstream refpolicy needs merged /usr" > + depends on !BR2_ROOTFS_MERGED_USR > + > config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT > bool "Custom git repository" > help > > Not totally sure either ways, though... > > Regards, > Yann E. MORIN. > >> help >> Use the refpolicy as provided by Buildroot. >> >> -- >> 2.41.0 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > From peter at korsgaard.com Sun Oct 8 15:58:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 17:58:55 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/{glibc, localedef}: security bump to version glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c Message-ID: <20231008155922.7ADFC8431C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d6d032fc1efc8cb7bf870987023b196425cab445 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index 1a66b66984..dcff16d465 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 a4351e60a33e84236c1866c39eeab321f419dfdc274411b7d2615c9382ace351 glibc-2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d.tar.gz +sha256 d7d829f90f03e00d42d7d34ff7e972a59b14e2b70fa2e852893018349aafa5f7 glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 42de53ffc5..a3a84e86ec 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d +GLIBC_VERSION = 2.36-118-g22955ad85186ee05834e47e665056148ca07699c # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index e71424490b..51d3ddc932 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.36-117-g32957eb6a86acdbeec9f38a60a7d5a0ff32db03d +LOCALEDEF_VERSION = 2.36-118-g22955ad85186ee05834e47e665056148ca07699c LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc From peter at korsgaard.com Sun Oct 8 15:59:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 17:59:42 +0200 Subject: [Buildroot] [PATCH-2023.02.x] package/{glibc, localedef}: security bump to version glibc-2.36-118-g22955ad85186ee05834e47e665056148ca07699c In-Reply-To: <20231006081205.1793625-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 10:12:04 +0200") References: <20231006081205.1793625-1-peter@korsgaard.com> Message-ID: <87pm1pds0h.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the > environment of a setuid program and NAME is valid, it may result in a > buffer overflow, which could be exploited to achieve escalated > privileges. This flaw was introduced in glibc 2.34. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 8 15:59:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 17:59:47 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/{glibc, localedef}: security bump to version glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 In-Reply-To: <20231006062449.1481741-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 08:24:49 +0200") References: <20231006062449.1481741-1-peter@korsgaard.com> Message-ID: <87lecdds0c.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issues: > CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the > environment of a setuid program and NAME is valid, it may result in a > buffer overflow, which could be exploited to achieve escalated > privileges. This flaw was introduced in glibc 2.34. > Signed-off-by: Peter Korsgaard Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 8 16:00:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 18:00:21 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.2 In-Reply-To: <20231006093726.1931681-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 11:37:25 +0200") References: <20231006093726.1931681-1-peter@korsgaard.com> Message-ID: <87h6n1drze.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the > restrictions on "//go:cgo_" directives, allowing blocked linker and compiler > flags to be passed during compilation. This can result in unexpected > execution of arbitrary code when running "go build". > go1.21.2 (released 2023-10-05) includes one security fixes to the cmd/go > package, as well as bug fixes to the compiler, the go command, the linker, > the runtime, and the runtime/metrics package. > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 8 16:00:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 18:00:35 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/go: security bump to version 1.20.9 Message-ID: <20231008160116.C44A084364@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1da113559fc7a6f7f420c9026c1f4102bd7ac81d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the go command and the linker. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 19405982ba..ac603e6e3b 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e go1.20.8.src.tar.gz +sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index c1e9f2f8f6..d75c1afa9e 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.8 +GO_VERSION = 1.20.9 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 16:00:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 18:00:13 +0200 Subject: [Buildroot] [git commit] package/go: security bump to version 1.21.2 Message-ID: <20231008160117.2F1C28435A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1316b4ef313cf5257a8cde39179b3e438f88318e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.21.2 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the runtime/metrics package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index be8af438b3..a2ec6b5923 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99 go1.21.1.src.tar.gz +sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 6f080be5c0..2c32e90817 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.1 +GO_VERSION = 1.21.2 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 15:59:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 17:59:22 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/{glibc, localedef}: security bump to version glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 Message-ID: <20231008160116.BBDF88435A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=03b44ac6d6a681e64cef2312187cccbd0b5b7958 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issues: CVE-2023-4911: If a tunable of the form NAME=NAME=VAL is passed in the environment of a setuid program and NAME is valid, it may result in a buffer overflow, which could be exploited to achieve escalated privileges. This flaw was introduced in glibc 2.34. Signed-off-by: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- package/localedef/localedef.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index ab310498b8..2b8f49ea6b 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 7129dfadea29e8f20865186a7fdec3dc3e65d055a81dc8fc399189491bba493c glibc-2.37-43-g94ef70136587c40a357f775677997c753b3de56c.tar.gz +sha256 19d874f03dadbccaca8ae88a0e96d38435066badfe6ed606c2ad1e525454dece glibc-2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 666d9e4a8c..319028b058 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -7,7 +7,7 @@ # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -GLIBC_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c +GLIBC_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable, # sometimes the connection times out. So use an unofficial github mirror. diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index d368121a1a..18f040d7c2 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.37-43-g94ef70136587c40a357f775677997c753b3de56c +LOCALEDEF_VERSION = 2.37-45-gb4e23c75aea756b4bddc4abcf27a1c6dca8b6bd3 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc From peter at korsgaard.com Sun Oct 8 16:11:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 18:11:51 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/go: security bump to version 1.20.9 In-Reply-To: <20231006095142.2051641-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 11:51:42 +0200") References: <20231006095142.2051641-1-peter@korsgaard.com> Message-ID: <87cyxpdrg8.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the > restrictions on "//go:cgo_" directives, allowing blocked linker and compiler > flags to be passed during compilation. This can result in unexpected > execution of arbitrary code when running "go build". > go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go > package, as well as bug fixes to the go command and the linker. > Signed-off-by: Peter Korsgaard Committed to 2023.08.x, thanks. I'll also bump 2023.02.x to this as 1.19.x no longer is getting updates. -- Bye, Peter Korsgaard From arnout at mind.be Sun Oct 8 18:16:37 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:16:37 +0200 Subject: [Buildroot] [PATCH 0/3 v4] system: add option to handle /var as an overlayfs with r/o rootfs (branch yem/systemdify-var) In-Reply-To: References: Message-ID: On 25/12/2022 23:08, Yann E. MORIN wrote: > Hello All! > > This three-patch series introduces an alternate option to handle /var as > an overlayfs, when using a read-only rootfs with systemd. > > The rationale behind wanting to use an overlayfs rather than the factory > we used to create so far, is that in some corner-cases, the factory does > not work, and can't easily be fixed (mesmerising hand-waving...), while > the overlayfs Just-Works? (at the expense of a little trickery at > runtime). > > This series would not have been entirely possible without the input from > Norbert, who provided the basis for the overlayfs-based solution, and > explanations on how things fit together in a systemd system. Thanks! > > Changes v3 -> v4: > - drop patches already applied > - split mounting the base tmpfs out of the service unit and into its > own .mount unit > - rename the service unit to a more appropriate name > - update explanations on hos to provide one's own backing store > instead of the tmpfs > > Changes v2 -> v3: > - introduce the overlayfs-based proposal from Norbert > - some rewording > - some typo fixes (yah, Yann being Yann being me...) > > Changes v1 -> v2: > - split Yann at work initial patch into the first two patch > - move the systemd-tmpfile handling to the skeleton > - introduce options to enable/disable factory or systemd-tmpfiles > > Regards, > Yann E. MORIN. > > > ---------------------------------------------------------------- > Yann E. MORIN (3): > system: introduce a choice for /var management > system: add option to use an overlayfs on /var on a r/o root w/ systemd > support/testing: add systemd tests for factory and overlayfs Series applied to master, thanks, with a number of modifications: On the overlayfs patch: - Merge commit messages from Yann and from Norbert. - Remove the run-buildroot-mounts-var.mount unit; instead, just reuse the existing tmpfs for the upper layer in the default case. - Update the help text to explain how to mount a custom upper layer with fstab. On the test patch: - use a simple mount unit for TestInitSystemSystemdRoFullOverlayfsVarBacking; - change the test of TestInitSystemSystemdRoFullOverlayfsVarBacking to check that the exact expected mount was performed; - add a test of var backing with fstab instead of mount unit. Regards, Arnout > > .../skeleton-init-systemd/{ => factory}/var.mount | 0 > .../overlayfs/prepare-var-overlay.service | 19 ++ > .../overlayfs/run-buildroot-mounts-var.mount | 12 ++ > package/skeleton-init-systemd/overlayfs/var.mount | 14 ++ > .../skeleton-init-systemd/skeleton-init-systemd.mk | 28 ++- > .../testing/conf/overlayfs-kernel-fragment.config | 1 + > .../run-buildroot-mounts-var.mount.d/base.conf | 2 + > support/testing/tests/init/test_systemd.py | 209 ++++++++++++++++++++- > system/Config.in | 48 ++++- > 9 files changed, 311 insertions(+), 22 deletions(-) > rename package/skeleton-init-systemd/{ => factory}/var.mount (100%) > create mode 100644 package/skeleton-init-systemd/overlayfs/prepare-var-overlay.service > create mode 100644 package/skeleton-init-systemd/overlayfs/run-buildroot-mounts-var.mount > create mode 100644 package/skeleton-init-systemd/overlayfs/var.mount > create mode 100644 support/testing/conf/overlayfs-kernel-fragment.config > create mode 100644 support/testing/tests/init/systemd-overlay/usr/lib/systemd/system/run-buildroot-mounts-var.mount.d/base.conf > From arnout at mind.be Sun Oct 8 18:11:59 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:11:59 +0200 Subject: [Buildroot] [git commit] system: introduce a choice for /var management Message-ID: <20231008182952.0D89C843A7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4c185a42fdad1b48f61286edf65421818d43fd79 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Currently, we have a single solution to handle the /var content on a read-only root filesystem, and users can opt out of using it. We're going to introduce another solution (based on an overlayfs), which is incompatible with using the factory, so we'll have a choice of three mutually exclusive options. Introduce that choice now with just the existing /var factory, and a new option to opt out of it. Signed-off-by: Yann E. MORIN Signed-off-by: Yann E. MORIN Cc: Norbert Lange Cc: Arnout Vandecappelle (Essensium/Mind) Cc: Romain Naour Cc : Je??re??my Rosen Acked-by: Norbert Lange Signed-off-by: Arnout Vandecappelle --- system/Config.in | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/system/Config.in b/system/Config.in index 24798dc068..c017d3797a 100644 --- a/system/Config.in +++ b/system/Config.in @@ -159,10 +159,16 @@ endchoice if BR2_INIT_SYSTEMD -config BR2_INIT_SYSTEMD_VAR_FACTORY - bool "build a factory to populate a tmpfs on /var" - default y # legacy +choice + bool "/var management" + default BR2_INIT_SYSTEMD_VAR_FACTORY # legacy depends on !BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW + help + Select how Buildroot provides a read-write /var when the + rootfs is not remounted read-write. + +config BR2_INIT_SYSTEMD_VAR_FACTORY + bool "build a factory to populate a tmpfs" help Build a factory of the content of /var as installed by packages, mount a tmpfs on /var at runtime, so that @@ -184,6 +190,16 @@ config BR2_INIT_SYSTEMD_VAR_FACTORY var.mount unit, that overrides the What and Type, and possibly the Options and After, fields. +config BR2_INIT_SYSTEMD_VAR_NONE + bool "do nothing" + help + Choose this if you have custom dispositions (like one or more + of a post-build script, a fakeroot script, systemd units, an + initramfs, or something else) that prepare /var to be writable + on a read-only rootfs. + +endchoice + config BR2_INIT_SYSTEMD_POPULATE_TMPFILES bool "trigger systemd-tmpfiles during build" default y # legacy From arnout at mind.be Sun Oct 8 18:15:13 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:15:13 +0200 Subject: [Buildroot] [git commit] support/testing: add systemd tests for factory and overlayfs Message-ID: <20231008182952.253DD843AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=083e65a67c84f83a3403c92c51d89f8c94907c55 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Yann E. MORIN [Arnout: - use a simple mount unit for TestInitSystemSystemdRoFullOverlayfsVarBacking; - change the test of TestInitSystemSystemdRoFullOverlayfsVarBacking to check that the exact expected mount was performed; - add a test of var backing with fstab instead of mount unit. ] Signed-off-by: Arnout Vandecappelle --- .../testing/conf/overlayfs-kernel-fragment.config | 1 + .../systemd/system/run-buildroot-mounts-var.mount | 13 ++ support/testing/tests/init/test_systemd.py | 233 ++++++++++++++++++++- 3 files changed, 238 insertions(+), 9 deletions(-) diff --git a/support/testing/conf/overlayfs-kernel-fragment.config b/support/testing/conf/overlayfs-kernel-fragment.config new file mode 100644 index 0000000000..9122238993 --- /dev/null +++ b/support/testing/conf/overlayfs-kernel-fragment.config @@ -0,0 +1 @@ +CONFIG_OVERLAY_FS=y diff --git a/support/testing/tests/init/systemd-overlay-mount-unit/usr/lib/systemd/system/run-buildroot-mounts-var.mount b/support/testing/tests/init/systemd-overlay-mount-unit/usr/lib/systemd/system/run-buildroot-mounts-var.mount new file mode 100644 index 0000000000..520cd6d9da --- /dev/null +++ b/support/testing/tests/init/systemd-overlay-mount-unit/usr/lib/systemd/system/run-buildroot-mounts-var.mount @@ -0,0 +1,13 @@ +[Unit] +Description=Variable permanent storage overlay +ConditionPathIsSymbolicLink=!/var +DefaultDependencies=no +After=local-fs-pre.target + +[Mount] +# Rather than creating an actual writable partition, we just create +# another tmpfs. For tmpfs, the What is not relevant - but we use it in +# the test to distinguish it from other tmpfses +What=other-var-backing-store +Where=/run/buildroot/mounts/var +Type=tmpfs diff --git a/support/testing/tests/init/test_systemd.py b/support/testing/tests/init/test_systemd.py index ddc32b0838..79061a86d7 100644 --- a/support/testing/tests/init/test_systemd.py +++ b/support/testing/tests/init/test_systemd.py @@ -1,7 +1,15 @@ import infra.basetest +import re from tests.init.base import InitSystemBase as InitSystemBase +# In the following tests, the read-only cases use the default settings, +# which historically used both a factory to populate a tmpfs on /var, +# and pre-populated /var at buildtime. Since these are the default +# settings, and they proved to generate a system that ultimately boots, +# we still want to keep testing that. See later, below, for the +# specialised test cases. + class InitSystemSystemdBase(InitSystemBase): config = \ """ @@ -17,7 +25,10 @@ class InitSystemSystemdBase(InitSystemBase): """ def check_systemd(self, fs): - self.start_emulator(fs) + if "BR2_LINUX_KERNEL=y" in self.config: + self.start_emulator(fs, "zImage", "vexpress-v2p-ca9") + else: + self.start_emulator(fs) self.check_init("/lib/systemd/systemd") # Test all units are OK @@ -40,19 +51,12 @@ class TestInitSystemSystemdRoNetworkd(InitSystemSystemdBase): """ BR2_SYSTEM_DHCP="eth0" # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set - BR2_ROOTFS_OVERLAY="{}" BR2_TARGET_ROOTFS_SQUASHFS=y - """.format(infra.filepath("tests/init/systemd-factory")) + """ def test_run(self): self.check_systemd("squashfs") - # This one must be executed on the target, to check that - # the factory feature works as expected - out, exit_code = self.emulator.run("cat /var/foo/bar") - self.assertEqual(exit_code, 0) - self.assertEqual(out[0], "foobar") - class TestInitSystemSystemdRwNetworkd(InitSystemSystemdBase): config = InitSystemSystemdBase.config + \ @@ -191,3 +195,214 @@ class TestInitSystemSystemdRwFull(InitSystemSystemdBase): def test_run(self): self.check_systemd("ext2") + + +# The following tests are all about read-only rootfs, and exercise either +# using an un-populated factory for /var, or an overlaysfs ontop of a +# pre-populated /var. They all specialise the TestInitSystemSystemdRo* +# test cases above. + + +# Helper class for factory-based tests +class InitSystemSystemdBaseFactory(): + config = \ + """ + # BR2_INIT_SYSTEMD_POPULATE_TMPFILES is not set + BR2_ROOTFS_OVERLAY="{}" + """.format(infra.filepath("tests/init/systemd-factory")) + + def test_run(self): + super().test_run() + + # This one must be executed on the target, to check that + # the factory feature works as expected + out, exit_code = self.emulator.run("cat /var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "foobar") + + # /var/foo/bar is from the /var factory + _, exit_code = self.emulator.run("test -e /usr/share/factory/var/foo/bar") + self.assertEqual(exit_code, 0) + + # We can write in /var/foo/bar + _, exit_code = self.emulator.run("echo barfoo >/var/foo/bar") + self.assertEqual(exit_code, 0) + # ... and it contains the new content + out, exit_code = self.emulator.run("cat /var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "barfoo") + # ... but the factory is umodified + out, exit_code = self.emulator.run("cat /usr/share/factory/var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "foobar") + + +class TestInitSystemSystemdRoNetworkdFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoNetworkd, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoNetworkd.config + + +class TestInitSystemSystemdRoIfupdownFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoIfupdown, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoIfupdown.config + + +class TestInitSystemSystemdRoIfupdownDbusbrokerFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoIfupdownDbusbroker, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoIfupdownDbusbroker.config + + +class TestInitSystemSystemdRoIfupdownDbusbrokerDbusFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoIfupdownDbusbrokerDbus, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoIfupdownDbusbrokerDbus.config + + +class TestInitSystemSystemdRoFullFactory( + InitSystemSystemdBaseFactory, + TestInitSystemSystemdRoFull, +): + config = InitSystemSystemdBaseFactory.config + \ + TestInitSystemSystemdRoFull.config + + +# Helper class for overlayfs-based tests +class InitSystemSystemdBaseOverlayfs(): + config = \ + """ + # BR2_INIT_SYSTEMD_VAR_FACTORY is not set + BR2_INIT_SYSTEMD_VAR_OVERLAYFS=y + BR2_ROOTFS_OVERLAY="{}" + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" + BR2_LINUX_KERNEL_DTS_SUPPORT=y + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + """.format(infra.filepath("tests/init/systemd-factory"), + infra.filepath("conf/overlayfs-kernel-fragment.config")) + + def test_run(self): + super().test_run() + + # This one must be executed on the target, to check that + # the tmpfiles pre-populate works as expected + out, exit_code = self.emulator.run("cat /var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "foobar") + + # /var/foo/bar is from the pre-populated /var, so it should + # not be present in the upper of the overlay + _, exit_code = self.emulator.run("test -e /run/buildroot/mounts/var/upper/foo/bar") + self.assertNotEqual(exit_code, 0) + + # We can write in /var/foo/bar + _, exit_code = self.emulator.run("echo barfoo >/var/foo/bar") + self.assertEqual(exit_code, 0) + # ... and it contains the new content + out, exit_code = self.emulator.run("cat /var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "barfoo") + # ... and it to appears in the upper + _, exit_code = self.emulator.run("test -e /run/buildroot/mounts/var/upper/foo/bar") + self.assertEqual(exit_code, 0) + # ... with the new content + out, exit_code = self.emulator.run("cat /run/buildroot/mounts/var/upper/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "barfoo") + # ... while the lower still has the oldcontent + out, exit_code = self.emulator.run("cat /run/buildroot/mounts/var/lower/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "foobar") + + +class TestInitSystemSystemdRoNetworkdOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoNetworkd, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoNetworkd.config + + +class TestInitSystemSystemdRoIfupdownOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoIfupdown, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoIfupdown.config + + +class TestInitSystemSystemdRoIfupdownDbusbrokerOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoIfupdownDbusbroker, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoIfupdownDbusbroker.config + + +class TestInitSystemSystemdRoIfupdownDbusbrokerDbusOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoIfupdownDbusbrokerDbus, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoIfupdownDbusbrokerDbus.config + + +class TestInitSystemSystemdRoFullOverlayfs( + InitSystemSystemdBaseOverlayfs, + TestInitSystemSystemdRoFull, +): + config = InitSystemSystemdBaseOverlayfs.config + \ + TestInitSystemSystemdRoFull.config + + +class InitSystemSystemdBaseOverlayfsVarBacking(InitSystemBase): + @classmethod + def gen_config(cls, overlaydir: str) -> str: + return re.sub( + r'^\s*BR2_ROOTFS_OVERLAY="(.*)"$', + 'BR2_ROOTFS_OVERLAY="\\1 {}"'.format(infra.filepath(overlaydir)), + TestInitSystemSystemdRoFullOverlayfs.config, + flags=re.MULTILINE, + ) + + def check_var_mounted(self): + self.assertRunOk("grep '^other-var-backing-store /run/buildroot/mounts/var tmpfs' /proc/mounts") + + +class TestInitSystemSystemdRoFullOverlayfsVarBackingMountUnit( + TestInitSystemSystemdRoFullOverlayfs, + InitSystemSystemdBaseOverlayfsVarBacking, +): + config = InitSystemSystemdBaseOverlayfsVarBacking.gen_config( + 'tests/init/systemd-overlay-mount-unit', + ) + + def test_run(self): + super().test_run() + self.check_var_mounted() + + +class TestInitSystemSystemdRoFullOverlayfsVarBackingFstab( + TestInitSystemSystemdRoFullOverlayfs, + InitSystemSystemdBaseOverlayfsVarBacking, +): + config = InitSystemSystemdBaseOverlayfsVarBacking.gen_config( + 'tests/init/systemd-overlay-fstab', + ) + + def test_run(self): + super().test_run() + self.check_var_mounted() From arnout at mind.be Sun Oct 8 18:12:01 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:12:01 +0200 Subject: [Buildroot] [git commit] package/skeleton-init-systemd: add option to use overlayfs on /var Message-ID: <20231008182952.19FAC843A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=10c637ab06d935bbce4c833c4ab9695cdb32b6c8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Systemd requires /var to be writeable [1]. With read-only rootfs, we need a solution that makes sure /var is writeable. We already have a solution using a factory, with systemd-tmpfiles. This approach has a few limitations: - The behaviour of what happens when the rootfs is updated and the contents of the factory /var changes are not very intuitive. - systemd-tmpfiles is not started super early in the boot, so there's a relatively long time that /var is not writeable. There is also no easy way in systemd to express dependencies on the subdirectories of /var to have been populated from the factory. - The contents of /var is duplicated. If it is big, the rootfs size increases unnecessarily and it takes a long time before the copying is done. This is also not done atomically. This commit adds an alternative using an overlay filesystem that has the following characteristics: - Don't depend on anything being available, except the API File Systems [2]. In other words, this can be done very early in the boot process. This is useful because /var is meant to be available before normal and even some early services are running. - Be a clean drop-in, that can be trivially added / removed. - Make sure that overlayfs is available in the kernel. - Units are (partially) reusable for custom solutions. This goal is actually not fully reached yet: for that the service file should be converted into a template, and the mount unit should use a specifier for all repeated references to /var. Mounting the overlay is slightly acrobatic and requires a few steps: - First, we have to make sure the directories for overlayfs's upper, lower and work directories are available on a tmpfs. Note that "upper" and "work" must be on the same filesystem. - The writeable overlay upper directory must be mounted. - The original contents of /var must be bind-mounted to the overlay lower directory. - Finally, the overlay must be mounted on /var. For the overlayfs directories, we create a tree on /run. Since there is no standard name convention for this, we create a new directory "/run/buildroot" with subdirectory "mounts" for everything mount-related. Below that, a subdirectory is created for every mount point that needs helper directories. Thus, we arrive to /run/buildroot/mounts/var as the base directory for the overlay. Below this, the directories lower, upper and work are created. The bind-mount of /var is done in the same service as the one creating the overlay lower, upper and work directories. Creating those directories can't be done in a mount unit, and bind-mounting /var in a mount unit would create a circular dependency. Indeed, if we had a mount unit to do the bind mount, then it sould look like: # run-buildroot-mounts-var-lower.mount [Mount] What=/var Where=/run/buildroot/mounts/var/lower Options=bind and then the var.mount unit would need to have a dependency on that unit: # var.mount [Unit] After=run-buildroot-mounts-var-lower.mount [Mount] Where=/var However, the What=/var of the first unit automatically adds an implicit dependency on /var, and since there is a unit providing Where=/var, we would have run-buildroot-mounts-var-lower.mount depend on var.mount, but we need var.mount to depend on run-buildroot-mounts-var-lower.mount, so this is a circular dependency. There is no way to tell systemd no to add the implicit dependency. So we do the bind mont manually in the service unit that prepares the overlay structure. For the writeable upper layer, we don't need to do anything. In the default configuration, the upper layer is supposed to be a tmpfs, and /run/buildroot/mounts/var/upper is already a tmpfs so it can serve as is. To make it persistent, we suggest to the user to mount a writeable, persistent filesystem on /run/buildroot/mounts/var. The RequiresMountsFor dependency in the prepare-var-overlay service makes sure that that mount is performed before the overlay is started. Using /run/buildroot/mounts/var/upper as the mount point sounds more logical at first, but since the work directory is supposed to be on the same filesystem as the upper directory, this wouldn't work very well. As example, consider using /dev/sdc1 as upper layer for var, this can be achieved by adding the following line to fstab: /dev/sdc1 /run/buildroot/mounts/var ext4 defaults Systemd will convert this into a mount unit with all the proper dependencies. Norbert provided some systemd units as a starting point, and that was quite a huge help in understanding how to fit all those things together. [1] - https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems/ Co-authored-by: Norbert Lange Signed-off-by: Yann E. MORIN Cc: Norbert Lange Cc: Romain Naour Cc: Je??re??my Rosen Signed-off-by: Yann E. MORIN [Arnout: - Merge commit messages from Yann and from Norbert. - Remove the run-buildroot-mounts-var.mount unit; instead, just reuse the existing tmpfs for the upper layer in the default case. - Update the help text to explain how to mount a custom upper layer with fstab. ] Signed-off-by: Arnout Vandecappelle --- .../skeleton-init-systemd/{ => factory}/var.mount | 0 .../overlayfs/prepare-var-overlay.service | 19 ++++++++++++++++ package/skeleton-init-systemd/overlayfs/var.mount | 14 ++++++++++++ .../skeleton-init-systemd/skeleton-init-systemd.mk | 25 ++++++++++++++++++--- system/Config.in | 26 ++++++++++++++++------ 5 files changed, 74 insertions(+), 10 deletions(-) diff --git a/package/skeleton-init-systemd/var.mount b/package/skeleton-init-systemd/factory/var.mount similarity index 100% rename from package/skeleton-init-systemd/var.mount rename to package/skeleton-init-systemd/factory/var.mount diff --git a/package/skeleton-init-systemd/overlayfs/prepare-var-overlay.service b/package/skeleton-init-systemd/overlayfs/prepare-var-overlay.service new file mode 100644 index 0000000000..281aa0efb5 --- /dev/null +++ b/package/skeleton-init-systemd/overlayfs/prepare-var-overlay.service @@ -0,0 +1,19 @@ +[Unit] +Description=Variable storage overlay setup +ConditionPathIsSymbolicLink=!/var +DefaultDependencies=no +RequiresMountsFor=/run/buildroot/mounts/var + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/mkdir -p /run/buildroot/mounts/var/lower /run/buildroot/mounts/var/upper /run/buildroot/mounts/var/work + +# Ideally, we would like to use a systemd mount unit to manage the bind +# mount. Unfortunately, that creates a circular dependency: such a unit +# would have What=/var while var.mount has Where=/var so that introduces +# an implicit dependency from that unit to var.mount, but var.mount +# would have an explicit dependency to be ordered after that unit. +# So we handle the bind mount manually. +ExecStart=/usr/bin/mount -n -o bind,private /var /run/buildroot/mounts/var/lower +ExecStop=/usr/bin/umount -l /run/buildroot/mounts/var/lower diff --git a/package/skeleton-init-systemd/overlayfs/var.mount b/package/skeleton-init-systemd/overlayfs/var.mount new file mode 100644 index 0000000000..812e6ce7bf --- /dev/null +++ b/package/skeleton-init-systemd/overlayfs/var.mount @@ -0,0 +1,14 @@ +[Unit] +Description=Variable storage overlay +Documentation=man:file-hierarchy(7) +ConditionPathIsSymbolicLink=!/var +DefaultDependencies=no +After=prepare-var-overlay.service +BindsTo=prepare-var-overlay.service + +[Mount] +What=overlay_var +Where=/var +Type=overlay +Options=lowerdir=/run/buildroot/mounts/var/lower,upperdir=/run/buildroot/mounts/var/upper,workdir=/run/buildroot/mounts/var/work,redirect_dir=on,index=on,xino=on +LazyUnmount=true diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk index fb15552f99..b312fe33e4 100644 --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk @@ -33,7 +33,7 @@ endef # a real (but empty) directory, and the "factory files" will be copied # back there by the tmpfiles.d mechanism. ifeq ($(BR2_INIT_SYSTEMD_VAR_FACTORY),y) -define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR +define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR_FACTORY rm -rf $(TARGET_DIR)/usr/share/factory/var mv $(TARGET_DIR)/var $(TARGET_DIR)/usr/share/factory/var mkdir -p $(TARGET_DIR)/var @@ -52,11 +52,30 @@ define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR || exit 1; \ fi; \ done >$(TARGET_DIR)/usr/lib/tmpfiles.d/00-buildroot-var.conf - $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/var.mount \ + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/factory/var.mount \ $(TARGET_DIR)/usr/lib/systemd/system/var.mount endef -SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR +SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR_FACTORY endif # BR2_INIT_SYSTEMD_VAR_FACTORY + +ifeq ($(BR2_INIT_SYSTEMD_VAR_OVERLAYFS),y) + +define SKELETON_INIT_SYSTEMD_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS) +endef + +define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR_OVERLAYFS + $(INSTALL) -D -m 0644 \ + $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/prepare-var-overlay.service \ + $(TARGET_DIR)/usr/lib/systemd/system/prepare-var-overlay.service + $(INSTALL) -D -m 0644 \ + $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/var.mount \ + $(TARGET_DIR)/usr/lib/systemd/system/var.mount +endef +SKELETON_INIT_SYSTEMD_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR_OVERLAYFS + +endif # BR2_INIT_SYSTEMD_VAR_OVERLAYFS + endif # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW ifeq ($(BR2_INIT_SYSTEMD_POPULATE_TMPFILES),y) diff --git a/system/Config.in b/system/Config.in index c017d3797a..25485c2486 100644 --- a/system/Config.in +++ b/system/Config.in @@ -167,6 +167,14 @@ choice Select how Buildroot provides a read-write /var when the rootfs is not remounted read-write. + Note: Buildroot uses a tmpfs, either as a mount point or as + the upper of an overlayfs, so as to at least make the system + bootable out of the box; mounting a filesystem from actual + storage is left to the integration, as it is too specific and + may need preparatory work like partitionning a device and/or + formatting a filesystem first, which falls out of the scope + of Buildroot. + config BR2_INIT_SYSTEMD_VAR_FACTORY bool "build a factory to populate a tmpfs" help @@ -179,17 +187,21 @@ config BR2_INIT_SYSTEMD_VAR_FACTORY It probably does not play very well with triggering a call to systemd-tmpfiles at build time (below). - Note: Buildroot mounts a tmpfs on /var to at least make the - system bootable out of the box; mounting a filesystem from - actual storage is left to the integration, as it is too - specific and may need preparatory work like partitionning a - device and/or formatting a filesystem first, so that falls - out of the scope of Buildroot. - To use persistent storage, provide a systemd dropin for the var.mount unit, that overrides the What and Type, and possibly the Options and After, fields. +config BR2_INIT_SYSTEMD_VAR_OVERLAYFS + bool "mount an overlayfs backed by a tmpfs" + select BR2_INIT_SYSTEMD_POPULATE_TMPFILES + help + Mount an overlayfs on /var, with the upper as a tmpfs. + + To use a persistent storage, provide either a mount unit or a + fstab line to mount it on /run/buildroot/mounts/var, e.g. + + /dev/sdc1 /run/buildroot/mounts/var ext4 defaults + config BR2_INIT_SYSTEMD_VAR_NONE bool "do nothing" help From arnout at mind.be Sun Oct 8 18:37:35 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 8 Oct 2023 20:37:35 +0200 Subject: [Buildroot] [PATCH 2/7] system: add overlayfs option for ro /var In-Reply-To: <20230115125253.280257-3-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-3-nolange79@gmail.com> Message-ID: <6cd42e77-43f4-7faf-37db-e987dc139af1@mind.be> Hi Norbert, On 15/01/2023 13:52, Norbert Lange wrote: > This commit adds an alternative that has the following characteristics: > > - Dont depend on anything being available, except the > API File Systems [1]. > > As /var is meant to be available before normal and even some early > services are running. > > - Be a clean drop-in, that can be trivially added / removed. > > - Depend on overlayfs being available in the kernel. > > - Units are supposed to be reusable for custom solutions. [snip] > > Cc: Yann E. MORIN > Cc: Romain Naour > Cc: Je?re?my Rosen > Signed-off-by: Norbert Lange In the end, I ended up applying Yann's v4 instead, with a few more modifications, as reported in that thread. I did take inspiration from this patch - mostly from the commit message. For your information, I'll give some feedback on this patch as well. > --- > .../overlayfs/br-bindmount-run at .service | 26 +++++++++++++++++++ > .../overlayfs/br-overlay-prepare at .service | 26 +++++++++++++++++++ > .../overlayfs/overlay.mount.in | 16 ++++++++++++ > .../skeleton-init-systemd.mk | 17 ++++++++++++ > system/Config.in | 13 ++++++++++ > 5 files changed, 98 insertions(+) > create mode 100644 package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > create mode 100644 package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > create mode 100644 package/skeleton-init-systemd/overlayfs/overlay.mount.in > > diff --git a/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service b/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > new file mode 100644 > index 0000000000..ce944efd92 > --- /dev/null > +++ b/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > @@ -0,0 +1,26 @@ > +[Unit] > +Description=Bind-mount rootfs directory (/%I) to /run > +Documentation=man:file-hierarchy(7) > +ConditionPathIsSymbolicLink=!/%I > +DefaultDependencies=no > +Conflicts=umount.target > +Before=umount.target > + > +# Needs to run after rootfs is properly mounted > +# and before regular mounts might interfere. > +After=systemd-remount-fs.service > +Before=local-fs-pre.target > + > +[Service] > +Type=oneshot > +RemainAfterExit=yes > +# dont fail if common dirs already exist > +ExecStartPre=/bin/mkdir -m755 -p /run/.br There's no reason to make it a hidden directory. Also, there is no reason to abbreviate the directory name so much. > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/bnd I don't see why it's useful to have a separate base directory for bind mounts. When you do a bind mount like this, it's always for a very specific purpose - not always for an overlay, but in any case, it makes more sense to mount on a mount point that is more related to the sepecific purpose. For the overlay case, it's very convenient to have everything that the overlay builds on next to each other, i.e. lower, upper, work. > + > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/bnd/%I > +ExecStart=/bin/mount --make-private -n --bind -o ro /%I /run/.br/bnd/%I > + > +# lazy unmount, dont block shutdown under any circumstances > +ExecStop=/bin/umount -n -l /run/.br/bnd/%I > +ExecStopPost=-/bin/rmdir /run/.br/bnd/%I > diff --git a/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service b/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > new file mode 100644 > index 0000000000..86b32900dd > --- /dev/null > +++ b/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > @@ -0,0 +1,26 @@ > +[Unit] > +Description=Mount and prepare tmpfs for overlay (/%I) > +Documentation=man:file-hierarchy(7) > +ConditionPathIsSymbolicLink=!/%I > +DefaultDependencies=no > +Conflicts=umount.target > +Before=local-fs.target umount.target > +# prepare for systemd mount units aswell > +RequiresMountsFor=/run/.br/ovl/%I > + > +[Service] > +Environment="OVERLAY_DIR=/run/.br/ovl/%I" > +Type=oneshot > +RemainAfterExit=yes > +# dont fail if common dirs already exist > +ExecStartPre=/bin/mkdir -m755 -p /run/.br > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/ovl I'm not sure if there's a good reason to make this mode 700 instead of the default 755. If there is a good reason, I'd accept a patch that modifies the prepare-var-overlay.service that I ended up applying. > +ExecStartPre=/bin/mkdir -m700 -p ${OVERLAY_DIR} > +# Create an override and edit this line for customization > +ExecStart=/bin/mount --make-private -n -t tmpfs tmpfs_br_ovl ${OVERLAY_DIR} There is in fact no reason to mount anything here - /run is already a tmpfs with all the required properties. We can just reuse it. > +ExecStartPost=/bin/mkdir -p ${OVERLAY_DIR}/up ${OVERLAY_DIR}/wd > + > +# lazy unmount, dont block shutdown under any circumstances > +ExecStop=/bin/umount -n -l ${OVERLAY_DIR} > +ExecStopPost=/bin/rmdir ${OVERLAY_DIR} > diff --git a/package/skeleton-init-systemd/overlayfs/overlay.mount.in b/package/skeleton-init-systemd/overlayfs/overlay.mount.in > new file mode 100644 > index 0000000000..84f4d9ee47 > --- /dev/null > +++ b/package/skeleton-init-systemd/overlayfs/overlay.mount.in > @@ -0,0 +1,16 @@ > +[Unit] > +Description=Variable storage (/@PATH@) > +Documentation=man:file-hierarchy(7) > +ConditionPathIsSymbolicLink=!/@PATH@ There's too much @PATH@ here. I actually think we can completely avoid it by using %p or %P as appropriate everywhere. I think that that way, we can indeed reuse both the overlay.mount.in and prepare-var-overlay at .service for other overlays. I unfortunately didn't have time to implement and test that, so instead I committed it without the %p/%P and without a template service. If you end up implementing it as a template, please make sure to also include a runtime test for it, e.g. with /etc as the overlay. Or even better something deeper - for the test it could be something silly, like /usr/share. > + > +After=br-bindmount-run@@PATH at .service > +Requires=br-bindmount-run@@PATH at .service > + > +After=br-overlay-prepare@@PATH at .service > +BindsTo=br-overlay-prepare@@PATH at .service > + > +[Mount] > +Type=overlay > +What=br_ovl_ at PATH@ > +Where=/@PATH@ > +Options=redirect_dir=on,index=on,xino=on,lowerdir=/run/.br/bnd/@PATH@,upperdir=/run/.br/ovl/@PATH@/up,workdir=/run/.br/ovl/@PATH@/wd > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index fb15552f99..ad529cddf6 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -57,6 +57,23 @@ define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR > endef > SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR > endif # BR2_INIT_SYSTEMD_VAR_FACTORY > + > +ifeq ($(BR2_INIT_SYSTEMD_VAR_OVERLAYFS),y) > +define SKELETON_INIT_SYSTEMD_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS) > +endef > +define SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > + sed 's, at PATH@,var,g' $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/overlay.mount.in >$(@D)/var.mount > + $(INSTALL) -D -m 0644 $(@D)/var.mount $(TARGET_DIR)/usr/lib/systemd/system/var.mount > + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-bindmount-run at .service \ > + $(TARGET_DIR)/usr/lib/systemd/system/br-bindmount-run at .service > + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-overlay-prepare at .service \ > + $(TARGET_DIR)/usr/lib/systemd/system/br-overlay-prepare at .service If it's templates, they can actually be installed independently of the BR2_INIT_SYSTEMD_VAR_OVERLAYFS option - maybe you want to use a factory for /var but an overlay for /etc... I've marked this patch as Superseded (because I took Yann's v4). The rest of the series I'll look at later. Regards, Arnout > + # /var mount gets pulled in automatically by basic.target > +endef > +SKELETON_INIT_SYSTEMD_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > +endif # BR2_INIT_SYSTEMD_VAR_OVERLAYFS > + > endif # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW > > ifeq ($(BR2_INIT_SYSTEMD_POPULATE_TMPFILES),y) > diff --git a/system/Config.in b/system/Config.in > index 87df031545..cdf383d0d4 100644 > --- a/system/Config.in > +++ b/system/Config.in > @@ -187,6 +187,19 @@ config BR2_INIT_SYSTEMD_VAR_FACTORY > var.mount unit, that overrides the What and Type, and possibly > the Options and After, fields. > > +config BR2_INIT_SYSTEMD_VAR_OVERLAYFS > + bool "mount an overlayfs backed by a tmpfs" > + help > + Mount an overlayfs on /var, with the upper as a tmpfs. > + > + You can customize the backing storage with an override, for > + ecample create this file and add the content following: > + /lib/systemd/system/br-overlay-prepare at var.service.d/mount.conf > + > + [Service] > + ExecStart= > + ExecStart=/bin/mount --make-private -n /dev/sdc1 ${OVERLAY_DIR} > + > config BR2_INIT_SYSTEMD_VAR_NONE > bool "do nothing" > help From christian at aperture.us Sun Oct 8 19:23:36 2023 From: christian at aperture.us (Christian Stewart) Date: Sun, 8 Oct 2023 12:23:36 -0700 Subject: [Buildroot] [PATCH-2023.08.x] package/go: security bump to version 1.20.9 In-Reply-To: <87cyxpdrg8.fsf@48ers.dk> References: <20231006095142.2051641-1-peter@korsgaard.com> <87cyxpdrg8.fsf@48ers.dk> Message-ID: Hi Peter, On Sun, Oct 8, 2023, 9:12 AM Peter Korsgaard wrote: > >>>>> "Peter" == Peter Korsgaard writes: > > > Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass > the > > restrictions on "//go:cgo_" directives, allowing blocked linker and > compiler > > flags to be passed during compilation. This can result in unexpected > > execution of arbitrary code when running "go build". > > > go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go > > package, as well as bug fixes to the go command and the linker. > > > Signed-off-by: Peter Korsgaard > > Committed to 2023.08.x, thanks. > > I'll also bump 2023.02.x to this as 1.19.x no longer is getting updates. > Please also note that the bump from 1.19 to 1.20 requires the additional bootstrap packages. Best, Christian Stewart > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at korsgaard.com Sun Oct 8 19:33:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 08 Oct 2023 21:33:13 +0200 Subject: [Buildroot] [PATCH-2023.08.x] package/go: security bump to version 1.20.9 In-Reply-To: (Christian Stewart's message of "Sun, 8 Oct 2023 12:23:36 -0700") References: <20231006095142.2051641-1-peter@korsgaard.com> <87cyxpdrg8.fsf@48ers.dk> Message-ID: <874jj0ewp2.fsf@48ers.dk> >>>>> "Christian" == Christian Stewart writes: Hello, >> I'll also bump 2023.02.x to this as 1.19.x no longer is getting updates. >> > Please also note that the bump from 1.19 to 1.20 requires the additional > bootstrap packages. Thanks, but yes - Indeed. A bit unfortunate, but that's just how it is. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Oct 8 21:26:43 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 8 Oct 2023 23:26:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/libebml: bump to version 1.4.4 Message-ID: <20231008212643.67946-1-fontaine.fabrice@gmail.com> - Drop patch (already in version) - C++14 is required since https://github.com/Matroska-Org/libebml/commit/4159caf84c18f64137e6cdb5f15c5e76d0bb0976 https://github.com/Matroska-Org/libebml/blob/release-1.4.4/NEWS.md Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 1 - ...-header-files-for-std-numeric_limits.patch | 40 ------------------- package/libebml/Config.in | 6 ++- package/libebml/libebml.hash | 2 +- package/libebml/libebml.mk | 2 +- package/libmatroska/Config.in | 6 ++- 6 files changed, 10 insertions(+), 47 deletions(-) delete mode 100644 package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch diff --git a/.checkpackageignore b/.checkpackageignore index 0e8e5921ce..21a1009a1b 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -650,7 +650,6 @@ package/libdnet/0001-python-makefile.patch Upstream package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch Upstream package/libdvbcsa/0001-altivec-powerpc64.patch Upstream package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch Upstream -package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch Upstream package/libedit/0001-check-bsd-functions-in-libbsd.patch Upstream package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch Upstream package/libfcgi/0001-link-against-math.patch Upstream diff --git a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch b/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch deleted file mode 100644 index c7e789c02e..0000000000 --- a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch +++ /dev/null @@ -1,40 +0,0 @@ -From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001 -From: Moritz Bunkus -Date: Sat, 27 Feb 2021 20:36:52 +0100 -Subject: [PATCH] include appropriate header files for std::numeric_limits - -Fixes #80. - -[Retrieved (and updated to remove ChangeLog update) from: -https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806] -Signed-off-by: Fabrice Fontaine ---- - ChangeLog | 4 ++++ - src/EbmlString.cpp | 1 + - src/EbmlUnicodeString.cpp | 1 + - 3 files changed, 6 insertions(+) - -diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp -index 27e55fd..4c05fcf 100644 ---- a/src/EbmlString.cpp -+++ b/src/EbmlString.cpp -@@ -34,6 +34,7 @@ - \author Steve Lhomme - */ - #include -+#include - - #include "ebml/EbmlString.h" - -diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp -index 496a16a..99fc073 100644 ---- a/src/EbmlUnicodeString.cpp -+++ b/src/EbmlUnicodeString.cpp -@@ -36,6 +36,7 @@ - */ - - #include -+#include - - #include "ebml/EbmlUnicodeString.h" - diff --git a/package/libebml/Config.in b/package/libebml/Config.in index a00b894358..b770154af7 100644 --- a/package/libebml/Config.in +++ b/package/libebml/Config.in @@ -2,11 +2,13 @@ config BR2_PACKAGE_LIBEBML bool "libebml" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 help Access library for the EBML (Extensible Binary Meta Language, a binary derivative of XML) format. http://matroska.org -comment "libebml needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR +comment "libebml needs a toolchain w/ C++, wchar, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/libebml/libebml.hash b/package/libebml/libebml.hash index 32ca1e3dd3..c83fde32ab 100644 --- a/package/libebml/libebml.hash +++ b/package/libebml/libebml.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 41c7237ce05828fb220f62086018b080af4db4bb142f31bec0022c925889b9f2 libebml-1.4.2.tar.xz +sha256 82dc5f83356cc9340aee76ed7512210b3a4edf5f346bc9c2c7044f55052687a7 libebml-1.4.4.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL diff --git a/package/libebml/libebml.mk b/package/libebml/libebml.mk index 056cf888e1..c85638c03e 100644 --- a/package/libebml/libebml.mk +++ b/package/libebml/libebml.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBEBML_VERSION = 1.4.2 +LIBEBML_VERSION = 1.4.4 LIBEBML_SOURCE = libebml-$(LIBEBML_VERSION).tar.xz LIBEBML_SITE = http://dl.matroska.org/downloads/libebml LIBEBML_INSTALL_STAGING = YES diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in index ec0e8415d7..b2e4354df5 100644 --- a/package/libmatroska/Config.in +++ b/package/libmatroska/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA bool "libmatroska" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml select BR2_PACKAGE_LIBEBML help Extensible open standard audio/video container format access @@ -9,5 +10,6 @@ config BR2_PACKAGE_LIBMATROSKA http://matroska.org -comment "libmatroska needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR +comment "libmatroska needs a toolchain w/ C++, wchar, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 -- 2.40.1 From peter at korsgaard.com Sun Oct 8 21:17:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:40 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: security bump to version 1.20.8 Message-ID: <20231008212753.47067843FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dadc84b7c9952f1c0b1c9b1b680db6ccf0c6c6b3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x go1.20.8 (released 2023-09-06) includes two security fixes to the html/template package, as well as bug fixes to the compiler, the go command, the runtime, and the crypto/tls, go/types, net/http, and path/filepath packages. CVE-2023-39318: html/template: improper handling of HTML-like comments within script contexts CVE-2023-39319: html/template: improper handling of special tags within script contexts CVE-2023-39321: crypto/tls: panic when processing post-handshake message on QUIC connections https://go.dev/doc/devel/release#go1.20.0 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard (cherry picked from commit 2b72f1d1676afc330b4f94431b7914817c796bb3) Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 2298534d91..19405982ba 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597 go1.20.7.src.tar.gz +sha256 38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e go1.20.8.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index fc1d9ed681..c1e9f2f8f6 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.7 +GO_VERSION = 1.20.8 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 21:17:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:39 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: security bump to v1.20.7 Message-ID: <20231008212753.3E96D843F9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b6a17127cbe62873b0b63029ffcf1781b51a8ab3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x go1.20.7 (released 2023-08-01) includes a security fix to the crypto/tls package, as well as bug fixes to the assembler and the compiler. Fixes CVE-2023-29409: restrict RSA keys in certificates to <= 8192 bits Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. Limit this by restricting the size of RSA keys transmitted during handshakes to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable. https://go.dev/doc/devel/release#go1.20.7 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit ee7179497bbdd1b44c8d2dd6dbfa0ac4c234567d) Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 135d1ad37b..2298534d91 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 62ee5bc6fb55b8bae8f705e0cb8df86d6453626b4ecf93279e2867092e0b7f70 go1.20.6.src.tar.gz +sha256 2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597 go1.20.7.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index efa47e5781..fc1d9ed681 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.6 +GO_VERSION = 1.20.7 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 21:17:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:37 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go-bootstrap-stage2: bump version to 1.19.11 Message-ID: <20231008212753.1F9D2843FD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8943eb4a309fae575c2845cf0ec488746badb041 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x While it's not strictly necessary to update go-bootstrap-stage2, we can continue to update the package to the latest 1.19.x until Go 1.19.x is discontinued, at which point we can leave it at the final 1.19.x version. This package is only used when bootstrapping host-go. go1.19.11 includes a security fix to the net/http package, as well as bug fixes to cgo, the cover tool, the go command, the runtime, and the go/printer package. https://go.dev/doc/devel/release#go1.19.minor Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit df5fd7dec45eb26a2ac97c494cf1904123e29c5f) Signed-off-by: Peter Korsgaard --- package/go-bootstrap-stage2/go-bootstrap-stage2.hash | 2 +- package/go-bootstrap-stage2/go-bootstrap-stage2.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash index 874737ea2d..6d4c718a40 100644 --- a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 13755bcce529747d5f2930dee034730c86d02bd3e521ab3e2bbede548d3b953f go1.19.10.src.tar.gz +sha256 e25c9ab72d811142b7f41ff6da5165fec2d1be5feec3ef2c66bc0bdecb431489 go1.19.11.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk index 477c24299c..72f3200a2e 100644 --- a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk @@ -6,7 +6,7 @@ # Use last Go version that go-bootstrap-stage1 can build: v1.19.x # See https://golang.org/doc/install/source#bootstrapFromSource -GO_BOOTSTRAP_STAGE2_VERSION = 1.19.10 +GO_BOOTSTRAP_STAGE2_VERSION = 1.19.11 GO_BOOTSTRAP_STAGE2_SITE = https://storage.googleapis.com/golang GO_BOOTSTRAP_STAGE2_SOURCE = go$(GO_BOOTSTRAP_STAGE2_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 21:03:31 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:03:31 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go-bootstrap: split into two stages: go1.4 and go1.19.10 Message-ID: <20231008212753.05791843F5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=490d118c3c6cae7d14a35c9731bdbc58f6ca0e4a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Go 1.20 requires a minimum version of go 1.17.13 to bootstrap. https://go.dev/doc/go1.20#bootstrap As Go 1.4 was the previous version that could be compiled with C, there is now no way to bootstrap go with a C compiler, unless we use a two-stage bootstrap: - build host-go-bootstrap-1.4-20170531 - build host-go-bootstrap-1.19.10 with host-go-bootstrap-1.4-20170531 - build host-go-1.20 with host-go-bootstrap-1.19.9 This is implemented in this commit first, before upgrading host-go to 1.20. Note: the .patch files from package/go version 1.19.x are not necessary for package/go-bootstrap-stage2 and have not been included there. Previous discussion of possible alternatives: https://lore.kernel.org/all/CA+h8R2rtcynkCBsz=_9yANOEguyPCOcQDj8_ns+cv8RS8+8t9A at mail.gmail.com/ https://lore.kernel.org/all/20220525234312.643dfc03 at windsurf/T/ Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit 6bedfdf6917ab7e4fb6d692f2e17eaff09b136a8) Signed-off-by: Peter Korsgaard --- DEVELOPERS | 2 + package/Config.in.host | 3 +- package/go-bootstrap-stage1/Config.in.host | 6 +++ .../go-bootstrap-stage1.hash} | 0 package/go-bootstrap-stage1/go-bootstrap-stage1.mk | 43 ++++++++++++++++++ package/go-bootstrap-stage2/Config.in.host | 4 ++ .../go-bootstrap-stage2/go-bootstrap-stage2.hash | 3 ++ package/go-bootstrap-stage2/go-bootstrap-stage2.mk | 53 ++++++++++++++++++++++ package/go-bootstrap/Config.in.host | 7 --- package/go-bootstrap/go-bootstrap.mk | 50 -------------------- package/go/Config.in.host | 4 +- package/go/go.mk | 4 +- 12 files changed, 117 insertions(+), 62 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 974fc8b284..98b92db483 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -556,6 +556,8 @@ F: package/docker-engine/ F: package/embiggen-disk/ F: package/fuse-overlayfs/ F: package/go/ +F: package/go-bootstrap-stage1/ +F: package/go-bootstrap-stage2/ F: package/gocryptfs/ F: package/mbpfan/ F: package/moby-buildkit/ diff --git a/package/Config.in.host b/package/Config.in.host index dcadbfdfc1..fff75cd165 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -40,7 +40,8 @@ menu "Host utilities" source "package/genpart/Config.in.host" source "package/gnupg/Config.in.host" source "package/go/Config.in.host" - source "package/go-bootstrap/Config.in.host" + source "package/go-bootstrap-stage1/Config.in.host" + source "package/go-bootstrap-stage2/Config.in.host" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" diff --git a/package/go-bootstrap-stage1/Config.in.host b/package/go-bootstrap-stage1/Config.in.host new file mode 100644 index 0000000000..56a743caf9 --- /dev/null +++ b/package/go-bootstrap-stage1/Config.in.host @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE1_ARCH_SUPPORTS + bool + # See src/cmd/dist/unix.c for the list of supported architectures + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "arm" diff --git a/package/go-bootstrap/go-bootstrap.hash b/package/go-bootstrap-stage1/go-bootstrap-stage1.hash similarity index 100% rename from package/go-bootstrap/go-bootstrap.hash rename to package/go-bootstrap-stage1/go-bootstrap-stage1.hash diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.mk b/package/go-bootstrap-stage1/go-bootstrap-stage1.mk new file mode 100644 index 0000000000..3e4ee57432 --- /dev/null +++ b/package/go-bootstrap-stage1/go-bootstrap-stage1.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# go-bootstrap-stage1 +# +################################################################################ + +# Use last C-based Go compiler: v1.4.x +# See https://golang.org/doc/install/source#bootstrapFromSource +GO_BOOTSTRAP_STAGE1_VERSION = 1.4-bootstrap-20171003 +GO_BOOTSTRAP_STAGE1_SITE = https://dl.google.com/go +GO_BOOTSTRAP_STAGE1_SOURCE = go$(GO_BOOTSTRAP_STAGE1_VERSION).tar.gz + +GO_BOOTSTRAP_STAGE1_LICENSE = BSD-3-Clause +GO_BOOTSTRAP_STAGE1_LICENSE_FILES = LICENSE + +HOST_GO_BOOTSTRAP_STAGE1_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_STAGE1_VERSION) + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_BOOTSTRAP_STAGE1_MAKE_ENV = \ + GOOS=linux \ + GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_STAGE1_ROOT)" \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + CC=$(HOSTCC_NOCCACHE) \ + CGO_ENABLED=0 + +define HOST_GO_BOOTSTRAP_STAGE1_BUILD_CMDS + cd $(@D)/src && $(HOST_GO_BOOTSTRAP_STAGE1_MAKE_ENV) ./make.bash +endef + +define HOST_GO_BOOTSTRAP_STAGE1_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/bin/go + $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/bin/gofmt + + cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/ + cp -a $(@D)/pkg $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/ + + # The Go sources must be installed to the host/ tree for the Go stdlib. + cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/ +endef + +$(eval $(host-generic-package)) diff --git a/package/go-bootstrap-stage2/Config.in.host b/package/go-bootstrap-stage2/Config.in.host new file mode 100644 index 0000000000..967ddaed1d --- /dev/null +++ b/package/go-bootstrap-stage2/Config.in.host @@ -0,0 +1,4 @@ +config BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE1_ARCH_SUPPORTS diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash new file mode 100644 index 0000000000..874737ea2d --- /dev/null +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash @@ -0,0 +1,3 @@ +# From https://go.dev/dl +sha256 13755bcce529747d5f2930dee034730c86d02bd3e521ab3e2bbede548d3b953f go1.19.10.src.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk new file mode 100644 index 0000000000..477c24299c --- /dev/null +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# go-bootstrap-stage2 +# +################################################################################ + +# Use last Go version that go-bootstrap-stage1 can build: v1.19.x +# See https://golang.org/doc/install/source#bootstrapFromSource +GO_BOOTSTRAP_STAGE2_VERSION = 1.19.10 +GO_BOOTSTRAP_STAGE2_SITE = https://storage.googleapis.com/golang +GO_BOOTSTRAP_STAGE2_SOURCE = go$(GO_BOOTSTRAP_STAGE2_VERSION).src.tar.gz + +GO_BOOTSTRAP_STAGE2_LICENSE = BSD-3-Clause +GO_BOOTSTRAP_STAGE2_LICENSE_FILES = LICENSE + +# Use go-bootstrap-stage1 to bootstrap. +HOST_GO_BOOTSTRAP_STAGE2_DEPENDENCIES = host-go-bootstrap-stage1 + +HOST_GO_BOOTSTRAP_STAGE2_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_STAGE2_VERSION) + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_BOOTSTRAP_STAGE2_MAKE_ENV = \ + GO111MODULE=off \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE1_ROOT) \ + GOROOT_FINAL=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + GOOS=linux \ + CC=$(HOSTCC_NOCCACHE) \ + CXX=$(HOSTCXX_NOCCACHE) \ + CGO_ENABLED=0 + +define HOST_GO_BOOTSTRAP_STAGE2_BUILD_CMDS + cd $(@D)/src && \ + $(HOST_GO_BOOTSTRAP_STAGE2_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) +endef + +define HOST_GO_BOOTSTRAP_STAGE2_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/bin/go + $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/bin/gofmt + + cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/ + + mkdir -p $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/pkg + cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/pkg/ + cp -a $(@D)/pkg/tool $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/pkg/ + + # The Go sources must be installed to the host/ tree for the Go stdlib. + cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/ +endef + +$(eval $(host-generic-package)) diff --git a/package/go-bootstrap/Config.in.host b/package/go-bootstrap/Config.in.host deleted file mode 100644 index fab80d24b4..0000000000 --- a/package/go-bootstrap/Config.in.host +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS - bool - # See src/cmd/dist/unix.c for the list of support - # architectures - default y if BR2_HOSTARCH = "x86" - default y if BR2_HOSTARCH = "x86_64" - default y if BR2_HOSTARCH = "arm" diff --git a/package/go-bootstrap/go-bootstrap.mk b/package/go-bootstrap/go-bootstrap.mk deleted file mode 100644 index 71696a1540..0000000000 --- a/package/go-bootstrap/go-bootstrap.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# go-bootstrap -# -################################################################################ - -# Use last C-based Go compiler: v1.4.x -# See https://golang.org/doc/install/source#bootstrapFromSource -GO_BOOTSTRAP_VERSION = 1.4-bootstrap-20171003 -GO_BOOTSTRAP_SITE = https://dl.google.com/go -GO_BOOTSTRAP_SOURCE = go$(GO_BOOTSTRAP_VERSION).tar.gz - -GO_BOOTSTRAP_LICENSE = BSD-3-Clause -GO_BOOTSTRAP_LICENSE_FILES = LICENSE - -# To build programs that need cgo support the toolchain needs to be -# available, so the toolchain is not needed to build host-go-bootstrap -# itself, but needed by other packages that depend on -# host-go-bootstrap. -HOST_GO_BOOTSTRAP_DEPENDENCIES = toolchain - -HOST_GO_BOOTSTRAP_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_VERSION) - -# The go build system is not compatable with ccache, so use HOSTCC_NOCCACHE -# here. See https://github.com/golang/go/issues/11685. -HOST_GO_BOOTSTRAP_MAKE_ENV = \ - GOOS=linux \ - GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_ROOT)" \ - GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" \ - CC=$(HOSTCC_NOCCACHE) \ - CGO_ENABLED=0 - -define HOST_GO_BOOTSTRAP_BUILD_CMDS - cd $(@D)/src && $(HOST_GO_BOOTSTRAP_MAKE_ENV) ./make.bash -endef - -define HOST_GO_BOOTSTRAP_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_ROOT)/bin/go - $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_ROOT)/bin/gofmt - - cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_ROOT)/ - cp -a $(@D)/pkg $(HOST_GO_BOOTSTRAP_ROOT)/ - - # There is a known issue which requires the go sources to be installed - # https://golang.org/issue/2775 - cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_ROOT)/ -endef - -$(eval $(host-generic-package)) diff --git a/package/go/Config.in.host b/package/go/Config.in.host index ded02d3b3a..90a54f0da6 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -2,7 +2,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x @@ -28,4 +28,4 @@ config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS diff --git a/package/go/go.mk b/package/go/go.mk index ea2a46f36c..222d642b7b 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -12,7 +12,7 @@ GO_LICENSE = BSD-3-Clause GO_LICENSE_FILES = LICENSE GO_CPE_ID_VENDOR = golang -HOST_GO_DEPENDENCIES = host-go-bootstrap +HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 HOST_GO_GOPATH = $(HOST_DIR)/share/go-path HOST_GO_HOST_CACHE = $(HOST_DIR)/share/host-go-cache HOST_GO_ROOT = $(HOST_DIR)/lib/go @@ -126,7 +126,7 @@ HOST_GO_HOST_ENV = \ HOST_GO_MAKE_ENV = \ GO111MODULE=off \ GOCACHE=$(HOST_GO_HOST_CACHE) \ - GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_ROOT) \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ GOROOT_FINAL=$(HOST_GO_ROOT) \ GOROOT="$(@D)" \ GOBIN="$(@D)/bin" \ From peter at korsgaard.com Sun Oct 8 21:05:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:05:20 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: bump to version 1.20.6 Message-ID: <20231008212753.16250843FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a278b02e47b0a15d1be959cc3e1a34f077ca7a08 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The latest Go release, version 1.20, arrives six months after Go 1.19. Most of its changes are in the implementation of the toolchain, runtime, and libraries. https://go.dev/doc/go1.20 https://go.dev/doc/devel/release#go1.20.6 https://github.com/golang/go/issues?q=milestone%3AGo1.20.6+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit 78d80aa395a59cf6187ca1da1d83e0f6b6d2db93) Signed-off-by: Peter Korsgaard --- .../0003-runtime-support-riscv64-SV57-mode.patch | 65 ---------------------- package/go/go.hash | 2 +- package/go/go.mk | 4 +- 3 files changed, 3 insertions(+), 68 deletions(-) diff --git a/package/go/0003-runtime-support-riscv64-SV57-mode.patch b/package/go/0003-runtime-support-riscv64-SV57-mode.patch deleted file mode 100644 index f51c2ca093..0000000000 --- a/package/go/0003-runtime-support-riscv64-SV57-mode.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 6618c7af436488fa12018cdcd31eeedb3a698745 Mon Sep 17 00:00:00 2001 -From: Dmitry Vyukov -Date: Fri, 27 May 2022 18:55:35 +0200 -Subject: [PATCH] runtime: support riscv64 SV57 mode - -Riscv64 has SV57 mode when user-space VA is 56 bits. -Linux kernel recently got support for this mode and Go binaries started crashing as: - -runtime: lfstack.push invalid packing: node=0xffffff5908a940 cnt=0x1 -packed=0xffff5908a9400001 -> node=0xffff5908a940 - -Adjust lfstack code to use only 8 top bits of pointers on riscv64. - -For context see: -https://groups.google.com/g/syzkaller-bugs/c/lU0GQTZoNQQ/m/O_c3vmE3AAAJ - -Update #54104 - -Change-Id: Ib5d3d6a79c0c6eddf11618d73fcc8bc1832a9c25 -Signed-off-by: Christian Stewart ---- - -Upstream: https://go-review.googlesource.com/c/go/+/409055/4 ---- - src/runtime/lfstack_64bit.go | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/src/runtime/lfstack_64bit.go b/src/runtime/lfstack_64bit.go -index 154130cf63..39fa647b9e 100644 ---- a/src/runtime/lfstack_64bit.go -+++ b/src/runtime/lfstack_64bit.go -@@ -36,12 +36,21 @@ const ( - // We use one bit to distinguish between the two ranges. - aixAddrBits = 57 - aixCntBits = 64 - aixAddrBits + 3 -+ -+ // Riscv64 SV57 mode gives 56 bits of userspace VA. -+ // lfstack code supports it, but broader support for SV57 mode is incomplete, -+ // and there may be other issues (see #54104). -+ riscv64AddrBits = 56 -+ riscv64CntBits = 64 - riscv64AddrBits + 3 - ) - - func lfstackPack(node *lfnode, cnt uintptr) uint64 { - if GOARCH == "ppc64" && GOOS == "aix" { - return uint64(uintptr(unsafe.Pointer(node)))<<(64-aixAddrBits) | uint64(cnt&(1<> aixCntBits << 3) | 0xa<<56))) - } -+ if GOARCH == "riscv64" { -+ return (*lfnode)(unsafe.Pointer(uintptr(val >> riscv64CntBits << 3))) -+ } - return (*lfnode)(unsafe.Pointer(uintptr(val >> cntBits << 3))) - } --- -2.35.1 - diff --git a/package/go/go.hash b/package/go/go.hash index d61663cac9..135d1ad37b 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 ccf36b53fb0024a017353c3ddb22c1f00bc7a8073c6aac79042da24ee34434d3 go1.19.13.src.tar.gz +sha256 62ee5bc6fb55b8bae8f705e0cb8df86d6453626b4ecf93279e2867092e0b7f70 go1.20.6.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index fa1f4c4797..efa47e5781 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.13 +GO_VERSION = 1.20.6 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz @@ -151,7 +151,7 @@ define HOST_GO_INSTALL_CMDS cp -a $(@D)/lib $(HOST_GO_ROOT)/ mkdir -p $(HOST_GO_ROOT)/pkg - cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_ROOT)/pkg/ + cp -a $(@D)/pkg/include $(HOST_GO_ROOT)/pkg/ cp -a $(@D)/pkg/tool $(HOST_GO_ROOT)/pkg/ # The Go sources must be installed to the host/ tree for the Go stdlib. From peter at korsgaard.com Sun Oct 8 21:17:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:38 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: adjust Upstream header in patch Message-ID: <20231008212753.32454843F5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=98afa7bc86eb3652e2cc65980bddc602ba9f0bba branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes: package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch:0: missing Upstream in the header (http://nightly.buildroot.org/#_additional_patch_documentation) In: https://gitlab.com/buildroot.org/buildroot/-/jobs/4763324039 Signed-off-by: Thomas Petazzoni (cherry picked from commit d536197234c75d301448369ef47415c79e38a974) Signed-off-by: Peter Korsgaard --- .../go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch index e7158a2b3f..4f53356ffc 100644 --- a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch +++ b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch @@ -46,7 +46,7 @@ Fixes: https://github.com/golang/go/issues/61620 --- -Upstream PR: https://github.com/golang/go/pull/61621 +Upstream: https://github.com/golang/go/pull/61621 Signed-off-by: Christian Stewart From peter at korsgaard.com Sun Oct 8 21:17:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:41 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: security bump to version 1.20.9 Message-ID: <20231008212753.4FA83843FA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e57c04d9204736f331cb522d441f9981065b79c3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the go command and the linker. Signed-off-by: Peter Korsgaard (cherry picked from commit 1da113559fc7a6f7f420c9026c1f4102bd7ac81d) Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 19405982ba..ac603e6e3b 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e go1.20.8.src.tar.gz +sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index c1e9f2f8f6..d75c1afa9e 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.8 +GO_VERSION = 1.20.9 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Sun Oct 8 21:17:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:17:38 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: fix go-bootstrap when parent dir contains invalid .git Message-ID: <20231008212753.28984843FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5b570f6c74a9427212562fc430810400cd510c84 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Building host-go within docker fails: error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. Reproduction of the issue: mkdir go-issue-61620 cd ./go-issue-61620 wget https://go.dev/dl/go1.19.11.src.tar.gz mkdir go-bootstrap tar -xf go1.19.11.src.tar.gz -C ./go-bootstrap --strip-components=1 cd ./go-bootstrap/src/ bash make.bash cd ../../ wget https://go.dev/dl/go1.20.6.src.tar.gz mkdir go tar -xf go1.20.6.src.tar.gz -C ./go/ --strip-components=1 printf "gitdir: ../../does/not/exist/.git" > ./.git cd ./go/src/ GOROOT_BOOTSTRAP=$(pwd)/../../go-bootstrap/ bash make.bash The error only occurs when the .git that git detects in the parent directory of the GOROOT_BOOTSTRAP is invalid or not present causing errors when running `git` commands within GOROOT_BOOTSTRAP. Report: https://lists.buildroot.org/pipermail/buildroot/2023-July/671344.html Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/4725186525 Upstream issue: https://github.com/golang/go/issues/61620 Upstream PR: https://github.com/golang/go/pull/61621 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit bc8e70a08ba083d978c828e31442a7645c9099d7) Signed-off-by: Peter Korsgaard --- ...t-buildvcs-false-when-building-go-bootstr.patch | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch new file mode 100644 index 0000000000..e7158a2b3f --- /dev/null +++ b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch @@ -0,0 +1,73 @@ +From 6b05378097c6a386ed9912d2471976dc39504e86 Mon Sep 17 00:00:00 2001 +From: Christian Stewart +Date: Thu, 27 Jul 2023 21:28:47 -0700 +Subject: [PATCH] cmd/dist: set buildvcs=false when building go-bootstrap + +When building go-bootstrap as part of the make.bash process, the cmd/dist +invokes the bootstrap Go compiler to build the go_bootstrap tool: + +${GOROOT_BOOTSTRAP}/bin/go install -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/... + +If there is an invalid .git directory in a parent of ${GOROOT_BOOTSTRAP}, +make.bash will fail. Reproduction of the issue: + + mkdir go-issue-61620 + cd ./go-issue-61620 + wget https://go.dev/dl/go1.19.11.src.tar.gz + mkdir go-bootstrap + tar -xf go1.19.11.src.tar.gz -C ./go-bootstrap --strip-components=1 + cd ./go-bootstrap/src/ + bash make.bash + cd ../../ + wget https://go.dev/dl/go1.20.6.src.tar.gz + mkdir go + tar -xf go1.20.6.src.tar.gz -C ./go/ --strip-components=1 + printf "gitdir: ../../does/not/exist/.git" > ./.git + cd ./go/src/ + GOROOT_BOOTSTRAP=$(pwd)/../../go-bootstrap/ bash make.bash + +The build fails with the following error: + + Building Go toolchain1 using [snip]/go-1.19.10. + error obtaining VCS status: exit status 128 + Use -buildvcs=false to disable VCS stamping. + go tool dist: FAILED: [snip]/go-1.19.10/bin/go install -tags=math_big_pure_go \ + compiler_bootstrap purego bootstrap/cmd/...: exit status 1 + +This change unconditionally sets -buildvcs=false when compiling go-bootstrap. We +don't need the revision information in those binaries anyway. Setting this flag +was previously not done as we were unsure if the go-bootstrap compiler would be +new enough to support the buildvcs build flag. Since Go 1.20.x, Go 1.19.x is the +minimum version for go-bootstrap, and supports -buildvcs=false. We can now set +-buildvcs=false without worrying about compatibility. + +Related: https://github.com/golang/go/issues/54852 +Fixes: https://github.com/golang/go/issues/61620 + +--- + +Upstream PR: https://github.com/golang/go/pull/61621 + +Signed-off-by: Christian Stewart + +--- + src/cmd/dist/buildtool.go | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go +index a528d7aa76..3b411d6ebb 100644 +--- a/src/cmd/dist/buildtool.go ++++ b/src/cmd/dist/buildtool.go +@@ -221,6 +221,9 @@ func bootstrapBuildTools() { + cmd := []string{ + pathf("%s/bin/go", goroot_bootstrap), + "install", ++ // Fixes cases where an invalid .git is present in a parent of GOROOT_BOOTSTRAP. ++ // See: https://github.com/golang/go/issues/61620 ++ "-buildvcs=false", + "-tags=math_big_pure_go compiler_bootstrap purego", + } + if vflag > 0 { +-- +2.41.0 + From peter at korsgaard.com Sun Oct 8 21:04:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 8 Oct 2023 23:04:06 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: adjust comments Message-ID: <20231008212753.0DEC1843F9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c3b7ce430341e3a2fdf45324acf299a31c5b3173 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Adjust comments in the Go package to improve clarity: Config.in.host: - Add comment mentioning list of supported architectures. go.mk: - Reword comment re: copying src/ to host/ - the previously linked issue is not relevant. - instead: mention that src/ is needed for stdlib. - Adjust comment re: adjusting file timestamps. - mention this is needed to avoid rebuilding stdlib Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni (cherry picked from commit 651835dbd7c68f3873a63b4f70c9aca9769c019e) Signed-off-by: Peter Korsgaard --- package/go/Config.in.host | 2 ++ package/go/go.mk | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 90a54f0da6..b87b862cec 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -3,6 +3,8 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS bool default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + # See https://go.dev/doc/install/source#environment + # See src/go/build/syslist.go for the list of supported architectures depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x diff --git a/package/go/go.mk b/package/go/go.mk index 222d642b7b..fa1f4c4797 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -154,12 +154,11 @@ define HOST_GO_INSTALL_CMDS cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_ROOT)/pkg/ cp -a $(@D)/pkg/tool $(HOST_GO_ROOT)/pkg/ - # There is a known issue which requires the go sources to be installed - # https://golang.org/issue/2775 + # The Go sources must be installed to the host/ tree for the Go stdlib. cp -a $(@D)/src $(HOST_GO_ROOT)/ - # Set all file timestamps to prevent the go compiler from rebuilding any - # built in packages when programs are built. + # Set file timestamps to prevent the Go compiler from rebuilding the stdlib + # when compiling other programs. find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef From fontaine.fabrice at gmail.com Sun Oct 8 21:34:18 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 8 Oct 2023 23:34:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/c-ares: bump to version 1.20.1 Message-ID: <20231008213418.85380-1-fontaine.fabrice@gmail.com> Update hash of license file (modern MIT license text used since https://github.com/c-ares/c-ares/commit/6d077838f7e3f1899ba93da9d301b7fe49b311ce) https://c-ares.org/changelog.html#1_20_1 Signed-off-by: Fabrice Fontaine --- package/c-ares/c-ares.hash | 4 ++-- package/c-ares/c-ares.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/c-ares/c-ares.hash b/package/c-ares/c-ares.hash index 3e1573f2cf..c2897f6e44 100644 --- a/package/c-ares/c-ares.hash +++ b/package/c-ares/c-ares.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 321700399b72ed0e037d0074c629e7741f6b2ec2dda92956abe3e9671d3e268e c-ares-1.19.1.tar.gz +sha256 de24a314844cb157909730828560628704f4f896d167dd7da0fa2fb93ea18b10 c-ares-1.20.1.tar.gz # Hash for license file -sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md +sha256 80fff25340df53b0cf0c3cddbca9050b559b9cbed2ad71830327cfef54959aef LICENSE.md diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk index 46b8acd673..7a49b2639a 100644 --- a/package/c-ares/c-ares.mk +++ b/package/c-ares/c-ares.mk @@ -4,7 +4,7 @@ # ################################################################################ -C_ARES_VERSION = 1.19.1 +C_ARES_VERSION = 1.20.1 C_ARES_SITE = http://c-ares.haxx.se/download C_ARES_INSTALL_STAGING = YES C_ARES_CONF_OPTS = --with-random=/dev/urandom -- 2.40.1 From flaniel at linux.microsoft.com Mon Oct 9 06:07:24 2023 From: flaniel at linux.microsoft.com (Francis Laniel) Date: Mon, 09 Oct 2023 09:07:24 +0300 Subject: [Buildroot] [PATCH 1/1] package/tbb: fixes hash In-Reply-To: <20231005195612.GB2552@scaer> References: <20231005062458.8973-1-flaniel@linux.microsoft.com> <20231005062458.8973-2-flaniel@linux.microsoft.com> <20231005195612.GB2552@scaer> Message-ID: <2701824.mvXUDI8C0e@pwmachine> Hi. Le jeudi 5 octobre 2023, 22:56:12 EEST Yann E. MORIN a ?crit : > Francis, All, > > On 2023-10-05 09:24 +0300, Francis Laniel spake thusly: > > Fixes: 74b50d553eaf ("package/tbb: bump to version 2021.10.0.") > > Signed-off-by: Francis Laniel > > Applied to master, thanks. Thank you for the merge! > Regards, > Yann E. MORIN. > > > --- > > > > package/tbb/tbb.hash | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash > > index 1caf81c5c5..085d54109a 100644 > > --- a/package/tbb/tbb.hash > > +++ b/package/tbb/tbb.hash > > @@ -1,3 +1,3 @@ > > > > # Locally calculated > > > > -sha256 eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b > > tbb-2021.10.0.tar.gz +sha256 > > 487023a955e5a3cc6d3a0d5f89179f9b6c0ae7222613a7185b0227ba0c83700b > > tbb-2021.10.0.tar.gz> > > sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 > > LICENSE.txt Best regards. From adam.duskett at amarulasolutions.com Mon Oct 9 08:06:11 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 10:06:11 +0200 Subject: [Buildroot] [PATCH v3 1/2] package/refpolicy: bump version to 2.20231002 Message-ID: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- 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 a09e59c270..70d1acc9af 100644 --- a/package/refpolicy/refpolicy.hash +++ b/package/refpolicy/refpolicy.hash @@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2 +sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 8fea7cc254..fb1c213b84 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.20221101 +REFPOLICY_VERSION = 2.20231002 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 08:06:12 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 10:06:12 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> References: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009080612.23347-2-adam.duskett@amarulasolutions.com> Refpolicy contexts expect a merged /usr file system. In fact, there are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user wants to go through the trouble of creating a policy that works with a non-merged system, they should be free to do so. As such, only select BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION. Signed-off-by: Adam Duskett --- v2 -> v3: Depends on, do not select BR2_ROOTFS_MERGED_USR [Yann] ...ount-dbus-interface-must-be-optional.patch | 33 ------------------- package/refpolicy/Config.in | 4 +++ 2 files changed, 4 insertions(+), 33 deletions(-) delete mode 100644 package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch diff --git a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch b/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch deleted file mode 100644 index adec7d98d0..0000000000 --- a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6c6be65ccf0891391681d4662cc11f508c0f4aeb Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 24 Apr 2023 14:24:49 -0700 -Subject: [PATCH] mount: dbus interface must be optional - -If DBus isn't built, the build process fails due to mount.te always using a -dbus interface even if the dbus module. Fix this by setting the dbus interface -as optional. - -Signed-off-by: Adam Duskett -Upstream: https://github.com/SELinuxProject/refpolicy/commit/207b09a656c2c3ac5c286d3f7eef085325e35408 ---- - policy/modules/system/mount.te | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te -index d028723..af84af0 100644 ---- a/policy/modules/system/mount.te -+++ b/policy/modules/system/mount.te -@@ -145,7 +145,9 @@ selinux_getattr_fs(mount_t) - - userdom_use_all_users_fds(mount_t) - --dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+optional_policy(` -+ dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+') - - ifdef(`distro_redhat',` - optional_policy(` --- -2.40.0 - diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..d2fe391d8d 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -36,9 +36,13 @@ choice config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + depends on BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. +comment "Upstream refpolicy requires a merged /usr filesystem" + depends on !BR2_ROOTFS_MERGED_USR + config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT bool "Custom git repository" help -- 2.41.0 From marcus.folkesson at gmail.com Mon Oct 9 08:29:40 2023 From: marcus.folkesson at gmail.com (Marcus Folkesson) Date: Mon, 9 Oct 2023 10:29:40 +0200 Subject: [Buildroot] [PATCH v3] package/criu: new package In-Reply-To: <0d205f8ab83f4f387912227cbb95238c@free.fr> References: <20230918084825.786715-1-marcus.folkesson@gmail.com> <0d205f8ab83f4f387912227cbb95238c@free.fr> Message-ID: Hi Julian, On Fri, Oct 06, 2023 at 10:35:14PM +0200, Julien Olivain wrote: > Hi Marcus, > > On 06/10/2023 13:46, Marcus Folkesson wrote: > > Julien, do you have the posibility to run test-pkg on this patch? > > > > I still get wierd errors (related to host-libzlib (?) ) for the > > bootlin-armv7-glibc toolchain. > > I ran a test-pkg on this v3 patch. I am not able to reproduce this > host-libzlib failure (both on my host system and in the reference > utils/docker-run Docker image). But I do see a build failure with > the bootlin-armv7-glibc toolchain in the criu package: > > cat > criu.config < BR2_PACKAGE_HOST_PYTHON3=y > BR2_PACKAGE_CRIU=y > EOF > > utils/test-pkg -c criu.config -p criu > bootlin-armv5-uclibc [1/6]: SKIPPED > bootlin-armv7-glibc [2/6]: FAILED > bootlin-armv7m-uclibc [3/6]: SKIPPED > bootlin-x86-64-musl [4/6]: OK > br-arm-full-static [5/6]: SKIPPED > sourcery-arm [6/6]: SKIPPED > 6 builds, 4 skipped, 1 build failed, 0 legal-info failed, 0 show-info > failed > > It fails with output: > > /home/br-user/br-test-pkg/bootlin-armv7-glibc/host/bin/arm-linux-ld: > ./compel/plugins/std.lib.a(string.o): in function `std_vdprintf': > string.c:(.text+0x114): undefined reference to `__aeabi_idivmod' > > Maybe the SUBARCH make variable need to be set for Arm, because the > criu Makefile adjust few flags based on its value. See [1]. Thank you for testing, it is highly appreciated. I will try to build using the docker image as I'm only getting problem with host-libzlib, even for a clean build. I will add this for the next patch version ifeq ($(BR2_ARM_CPU_ARMV6), y) CRIU_MAKE_ENV += SUBARCH=armv6 else ifeq ($(BR2_ARM_CPU_ARMV7A), y) CRIU_MAKE_ENV += SUBARCH=armv7 else ifeq ($(BR2_ARM_CPU_ARMV7M), y) CRIU_MAKE_ENV += SUBARCH=armv7 else ifeq ($(BR2_ARM_CPU_ARMV8A), y) CRIU_MAKE_ENV += SUBARCH=armv8 else ifeq ($(BR2_ARM_CPU_ARMV8M), y) CRIU_MAKE_ENV += SUBARCH=armv8 endif But the Makefile defaults to armv7, so I do not think it make any difference for bootlin-armv7-glibc. > > > > > bootlin-x86-64-musl is 'OK' though. > > > > Thanks, > > Marcus > > Best regards, > > Julien. > > [1] https://github.com/checkpoint-restore/criu/blob/v3.18/Makefile#L35 /Marcus -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From nolange79 at gmail.com Mon Oct 9 12:16:13 2023 From: nolange79 at gmail.com (Norbert Lange) Date: Mon, 9 Oct 2023 14:16:13 +0200 Subject: [Buildroot] [PATCH 2/7] system: add overlayfs option for ro /var In-Reply-To: <6cd42e77-43f4-7faf-37db-e987dc139af1@mind.be> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-3-nolange79@gmail.com> <6cd42e77-43f4-7faf-37db-e987dc139af1@mind.be> Message-ID: Am So., 8. Okt. 2023 um 20:37 Uhr schrieb Arnout Vandecappelle : > > Hi Norbert, > > On 15/01/2023 13:52, Norbert Lange wrote: > > This commit adds an alternative that has the following characteristics: > > > > - Dont depend on anything being available, except the > > API File Systems [1]. > > > > As /var is meant to be available before normal and even some early > > services are running. > > > > - Be a clean drop-in, that can be trivially added / removed. > > > > - Depend on overlayfs being available in the kernel. > > > > - Units are supposed to be reusable for custom solutions. > > [snip] > > > > Cc: Yann E. MORIN > > Cc: Romain Naour > > Cc: Je?re?my Rosen > > Signed-off-by: Norbert Lange > > In the end, I ended up applying Yann's v4 instead, with a few more > modifications, as reported in that thread. I did take inspiration from this > patch - mostly from the commit message. > > For your information, I'll give some feedback on this patch as well. Happy that there finally is some movement, still its weird that after a long back-and-forth a modified version is committed before feedback. > > > --- > > .../overlayfs/br-bindmount-run at .service | 26 +++++++++++++++++++ > > .../overlayfs/br-overlay-prepare at .service | 26 +++++++++++++++++++ > > .../overlayfs/overlay.mount.in | 16 ++++++++++++ > > .../skeleton-init-systemd.mk | 17 ++++++++++++ > > system/Config.in | 13 ++++++++++ > > 5 files changed, 98 insertions(+) > > create mode 100644 package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > > create mode 100644 package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > > create mode 100644 package/skeleton-init-systemd/overlayfs/overlay.mount.in > > > > diff --git a/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service b/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > > new file mode 100644 > > index 0000000000..ce944efd92 > > --- /dev/null > > +++ b/package/skeleton-init-systemd/overlayfs/br-bindmount-run at .service > > @@ -0,0 +1,26 @@ > > +[Unit] > > +Description=Bind-mount rootfs directory (/%I) to /run > > +Documentation=man:file-hierarchy(7) > > +ConditionPathIsSymbolicLink=!/%I > > +DefaultDependencies=no > > +Conflicts=umount.target > > +Before=umount.target > > + > > +# Needs to run after rootfs is properly mounted > > +# and before regular mounts might interfere. > > +After=systemd-remount-fs.service > > +Before=local-fs-pre.target > > + > > +[Service] > > +Type=oneshot > > +RemainAfterExit=yes > > +# dont fail if common dirs already exist > > +ExecStartPre=/bin/mkdir -m755 -p /run/.br > > There's no reason to make it a hidden directory. Also, there is no reason to > abbreviate the directory name so much. should be short imho, to avoid running into path-length problems. its a technical detail, hidden from users > > > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/bnd > > I don't see why it's useful to have a separate base directory for bind mounts. > When you do a bind mount like this, it's always for a very specific purpose - > not always for an overlay, but in any case, it makes more sense to mount on a > mount point that is more related to the sepecific purpose. Because /run/.br could be for anything else later, and /run/.br/bnd should mirror the filesystem root. > > For the overlay case, it's very convenient to have everything that the overlay > builds on next to each other, i.e. lower, upper, work. Yeah, there was a reason for not doing that, had to do with being able to re-use that system of generic mount templates, ie. /run/.br/bnd would always mirror a part of the fs root, without changed hierarchies. ie. you could either use a single mount / to /run/.br/bnd, or say /etc to /run/.br/bnd/etc and /var to /run/.br/bnd/var. It would not effect the overlay units. > > > + > > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/bnd/%I > > +ExecStart=/bin/mount --make-private -n --bind -o ro /%I /run/.br/bnd/%I > > + > > +# lazy unmount, dont block shutdown under any circumstances > > +ExecStop=/bin/umount -n -l /run/.br/bnd/%I > > +ExecStopPost=-/bin/rmdir /run/.br/bnd/%I This got left out aswell: ExecStopPost=-/bin/rmdir /run/.br/bnd/%I Removing it, would allow new accesses to the filesystem thats in progress of being lazily unmounted. > > diff --git a/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service b/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > > new file mode 100644 > > index 0000000000..86b32900dd > > --- /dev/null > > +++ b/package/skeleton-init-systemd/overlayfs/br-overlay-prepare at .service > > @@ -0,0 +1,26 @@ > > +[Unit] > > +Description=Mount and prepare tmpfs for overlay (/%I) > > +Documentation=man:file-hierarchy(7) > > +ConditionPathIsSymbolicLink=!/%I > > +DefaultDependencies=no > > +Conflicts=umount.target > > +Before=local-fs.target umount.target > > +# prepare for systemd mount units aswell > > +RequiresMountsFor=/run/.br/ovl/%I > > + > > +[Service] > > +Environment="OVERLAY_DIR=/run/.br/ovl/%I" > > +Type=oneshot > > +RemainAfterExit=yes > > +# dont fail if common dirs already exist > > +ExecStartPre=/bin/mkdir -m755 -p /run/.br > > +ExecStartPre=/bin/mkdir -m700 -p /run/.br/ovl > > I'm not sure if there's a good reason to make this mode 700 instead of the > default 755. If there is a good reason, I'd accept a patch that modifies the > prepare-var-overlay.service that I ended up applying. No one should access this directories directly, its being defensive > > > +ExecStartPre=/bin/mkdir -m700 -p ${OVERLAY_DIR} > > +# Create an override and edit this line for customization > > +ExecStart=/bin/mount --make-private -n -t tmpfs tmpfs_br_ovl ${OVERLAY_DIR} > > There is in fact no reason to mount anything here - /run is already a tmpfs > with all the required properties. We can just reuse it. Yes, problem is that the /run mount is limited in size, not configurable (parameters are in systemd's sources) and filling /var with stuff should never exhaust one of the most critical filesystems. > > > +ExecStartPost=/bin/mkdir -p ${OVERLAY_DIR}/up ${OVERLAY_DIR}/wd > > + > > +# lazy unmount, dont block shutdown under any circumstances > > +ExecStop=/bin/umount -n -l ${OVERLAY_DIR} > > +ExecStopPost=/bin/rmdir ${OVERLAY_DIR} > > diff --git a/package/skeleton-init-systemd/overlayfs/overlay.mount.in b/package/skeleton-init-systemd/overlayfs/overlay.mount.in > > new file mode 100644 > > index 0000000000..84f4d9ee47 > > --- /dev/null > > +++ b/package/skeleton-init-systemd/overlayfs/overlay.mount.in > > @@ -0,0 +1,16 @@ > > +[Unit] > > +Description=Variable storage (/@PATH@) > > +Documentation=man:file-hierarchy(7) > > +ConditionPathIsSymbolicLink=!/@PATH@ > > There's too much @PATH@ here. I actually think we can completely avoid it by > using %p or %P as appropriate everywhere. > > I think that that way, we can indeed reuse both the overlay.mount.in and > prepare-var-overlay at .service for other overlays. I unfortunately didn't have > time to implement and test that, so instead I committed it without the %p/%P and > without a template service. > > If you end up implementing it as a template, please make sure to also include > a runtime test for it, e.g. with /etc as the overlay. Or even better something > deeper - for the test it could be something silly, like /usr/share. Yeah, gonna rebase my stuff and pickup where I stopped long ago, gonna take a while. > > > + > > +After=br-bindmount-run@@PATH at .service > > +Requires=br-bindmount-run@@PATH at .service > > + > > +After=br-overlay-prepare@@PATH at .service > > +BindsTo=br-overlay-prepare@@PATH at .service > > + > > +[Mount] > > +Type=overlay > > +What=br_ovl_ at PATH@ > > +Where=/@PATH@ > > +Options=redirect_dir=on,index=on,xino=on,lowerdir=/run/.br/bnd/@PATH@,upperdir=/run/.br/ovl/@PATH@/up,workdir=/run/.br/ovl/@PATH@/wd > > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > > index fb15552f99..ad529cddf6 100644 > > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > > @@ -57,6 +57,23 @@ define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR > > endef > > SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR > > endif # BR2_INIT_SYSTEMD_VAR_FACTORY > > + > > +ifeq ($(BR2_INIT_SYSTEMD_VAR_OVERLAYFS),y) > > +define SKELETON_INIT_SYSTEMD_LINUX_CONFIG_FIXUPS > > + $(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS) > > +endef > > +define SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > > + sed 's, at PATH@,var,g' $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/overlay.mount.in >$(@D)/var.mount > > + $(INSTALL) -D -m 0644 $(@D)/var.mount $(TARGET_DIR)/usr/lib/systemd/system/var.mount > > + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-bindmount-run at .service \ > > + $(TARGET_DIR)/usr/lib/systemd/system/br-bindmount-run at .service > > + $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-overlay-prepare at .service \ > > + $(TARGET_DIR)/usr/lib/systemd/system/br-overlay-prepare at .service > > If it's templates, they can actually be installed independently of the > BR2_INIT_SYSTEMD_VAR_OVERLAYFS option - maybe you want to use a factory for /var > but an overlay for /etc... Sure, but not sure if it should be installed unconditionally. Easy to just copy those files into a rootfs-overlay. > > > I've marked this patch as Superseded (because I took Yann's v4). The rest of > the series I'll look at later. Ok > > Regards, > Arnout > Regards, Norbert From nolange79 at gmail.com Mon Oct 9 13:11:20 2023 From: nolange79 at gmail.com (Norbert Lange) Date: Mon, 9 Oct 2023 15:11:20 +0200 Subject: [Buildroot] [PATCH v2] package/util-linux: fix build with old glibc Message-ID: <20231009131120.134257-1-nolange79@gmail.com> The build still fails if newer kernel versions are mixed with older glibc versions (Kernel 6.1 and glibc 2.28 for example). Apply upstream fix [1], see bug report [2]. [1] - https://github.com/schubi2/util-linux/commit/8d67fc4e66816791aaadf0b03940b96c6dc3d92c [2] - https://github.com/util-linux/util-linux/issues/2448 Signed-off-by: Norbert Lange --- Still cant build util-linux, neither on master nor on 2023.08.x v1->v2: * rebase using the commit in upstream master Signed-off-by: Norbert Lange --- .../0001-libmount-fix-statx-includes.patch | 127 ++++++++++++++++++ .../0001-libmount-fix-statx-includes.patch | 1 + package/util-linux/util-linux.mk | 2 +- 3 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 package/util-linux/0001-libmount-fix-statx-includes.patch create mode 120000 package/util-linux/util-linux-libs/0001-libmount-fix-statx-includes.patch diff --git a/package/util-linux/0001-libmount-fix-statx-includes.patch b/package/util-linux/0001-libmount-fix-statx-includes.patch new file mode 100644 index 0000000000..60cde1a63e --- /dev/null +++ b/package/util-linux/0001-libmount-fix-statx-includes.patch @@ -0,0 +1,127 @@ +From 8d67fc4e66816791aaadf0b03940b96c6dc3d92c Mon Sep 17 00:00:00 2001 +From: Karel Zak +Date: Wed, 23 Aug 2023 11:50:37 +0200 +Subject: [PATCH] libmount: fix statx() includes + +Using sys/stat.h and linux/stat is too tricky.h together. It seems +better to rely on libc and use sys/stat.h only. Users affected +by old libc must update to use recent util-linux. + +Fixes: https://github.com/util-linux/util-linux/issues/2448 +Signed-off-by: Karel Zak +Signed-off-by: Norbert Lange +--- + configure.ac | 5 ++--- + include/fileutils.h | 4 ++-- + libmount/src/hook_mount.c | 2 +- + libmount/src/utils.c | 2 +- + meson.build | 5 ++--- + 5 files changed, 8 insertions(+), 10 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 27c379a78be..aa4b3bc1c64 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -333,7 +333,6 @@ AC_CHECK_HEADERS([ \ + linux/nsfs.h \ + linux/pr.h \ + linux/raw.h \ +- linux/stat.h \ + linux/securebits.h \ + linux/tiocl.h \ + linux/version.h \ +@@ -527,7 +526,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + ]) + + AC_CHECK_TYPES([struct mount_attr], [], [], [[#include ]]) +-AC_CHECK_TYPES([struct statx], [], [], [[#include ]]) + AC_CHECK_TYPES([enum fsconfig_command], [], [], [[#include ]]) + + AC_CHECK_MEMBERS([struct termios.c_line],,, +@@ -536,8 +534,9 @@ AC_CHECK_MEMBERS([struct termios.c_line],,, + AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec],,, + [[#include ]]) + ++AC_CHECK_TYPES([struct statx], [], [], [[#include ]]) + AC_CHECK_MEMBERS([struct statx.stx_mnt_id],,, +- [[#include ]]) ++ [[#include ]]) + + AC_CHECK_DECLS([_NL_TIME_WEEK_1STDAY],[],[],[[#include ]]) + +diff --git a/include/fileutils.h b/include/fileutils.h +index a5fe517266f..538eab0b74e 100644 +--- a/include/fileutils.h ++++ b/include/fileutils.h +@@ -94,13 +94,13 @@ static inline int close_range(unsigned int first, unsigned int last, int flags) + # define HAVE_CLOSE_RANGE 1 + # endif /* SYS_close_range */ + +-# if !defined(HAVE_STATX) && defined(HAVE_STRUCT_STATX) && defined(SYS_statx) && defined(HAVE_LINUX_STAT_H) +-# include ++# if !defined(HAVE_STATX) && defined(HAVE_STRUCT_STATX) && defined(SYS_statx) + static inline int statx(int fd, const char *restrict path, int flags, + unsigned int mask, struct statx *stx) + { + return syscall(SYS_statx, fd, path, flags, mask, stx); + } ++# define HAVE_STATX 1 + # endif /* SYS_statx */ + + #endif /* HAVE_SYS_SYSCALL_H */ +diff --git a/libmount/src/hook_mount.c b/libmount/src/hook_mount.c +index 056338c4914..0ebb8299853 100644 +--- a/libmount/src/hook_mount.c ++++ b/libmount/src/hook_mount.c +@@ -294,7 +294,7 @@ static int hook_create_mount(struct libmnt_context *cxt, + /* cleanup after fail (libmount may only try the FS type) */ + close_sysapi_fds(api); + +-#if defined(HAVE_STRUCT_STATX) && defined(HAVE_STRUCT_STATX_STX_MNT_ID) ++#if defined(HAVE_STATX) && defined(HAVE_STRUCT_STATX) && defined(HAVE_STRUCT_STATX_STX_MNT_ID) + if (!rc && cxt->fs) { + struct statx st; + +diff --git a/libmount/src/utils.c b/libmount/src/utils.c +index 1d3f4abcece..3817b392711 100644 +--- a/libmount/src/utils.c ++++ b/libmount/src/utils.c +@@ -111,7 +111,7 @@ static int safe_stat(const char *target, struct stat *st, int nofollow) + + memset(st, 0, sizeof(struct stat)); + +-#if defined(AT_STATX_DONT_SYNC) && defined (HAVE_STRUCT_STATX) ++#if defined(HAVE_STATX) && defined(HAVE_STRUCT_STATX) && defined(AT_STATX_DONT_SYNC) + { + int rc; + struct statx stx = { 0 }; +diff --git a/meson.build b/meson.build +index 9a36c9157cc..d412ff38203 100644 +--- a/meson.build ++++ b/meson.build +@@ -84,7 +84,7 @@ have_mountfd_api = cc.sizeof('struct mount_attr', prefix : '#include ') > 0 ++have_struct_statx = cc.sizeof('struct statx', prefix : '#include ') > 0 + conf.set('HAVE_STRUCT_STATX', have_struct_statx ? 1 : false) + + build_libmount = not get_option('build-libmount').disabled() +@@ -182,7 +182,6 @@ headers = ''' + linux/nsfs.h + linux/mount.h + linux/pr.h +- linux/stat.h + linux/securebits.h + linux/tiocl.h + linux/version.h +@@ -645,7 +644,7 @@ have = cc.has_member('struct stat', 'st_mtim.tv_nsec', + conf.set('HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC', have ? 1 : false) + + have = cc.has_member('struct statx', 'stx_mnt_id', +- prefix : '#include ') ++ prefix : '#include ') + conf.set('HAVE_STRUCT_STATX_STX_MNT_ID', have ? 1 : false) + + # replacement for AC_STRUCT_TIMEZONE diff --git a/package/util-linux/util-linux-libs/0001-libmount-fix-statx-includes.patch b/package/util-linux/util-linux-libs/0001-libmount-fix-statx-includes.patch new file mode 120000 index 0000000000..bc21ebedb7 --- /dev/null +++ b/package/util-linux/util-linux-libs/0001-libmount-fix-statx-includes.patch @@ -0,0 +1 @@ +../0001-libmount-fix-statx-includes.patch \ No newline at end of file diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index ed9512c33c..fbfe579364 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -31,7 +31,7 @@ UTIL_LINUX_LICENSE_FILES = README.licensing \ UTIL_LINUX_CPE_ID_VENDOR = kernel -# 0001-libmount-ifdef-statx-call.patch +# 0001-libmount-fix-statx-includes.patch UTIL_LINUX_AUTORECONF = YES UTIL_LINUX_INSTALL_STAGING = YES -- 2.39.2 From adam.duskett at amarulasolutions.com Mon Oct 9 14:22:33 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:22:33 +0200 Subject: [Buildroot] [PATCH 1/1] package/sysvinit: bump version to 3.04 Message-ID: <20231009142233.1773833-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/sysvinit/sysvinit.hash | 2 +- package/sysvinit/sysvinit.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/sysvinit/sysvinit.hash b/package/sysvinit/sysvinit.hash index f81e55fc44..67b0ab38f0 100644 --- a/package/sysvinit/sysvinit.hash +++ b/package/sysvinit/sysvinit.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 b05c3677bb698afe64c997968b00c49b2a9bd320ce963523230ee7ea41197757 sysvinit-2.99.tar.xz +sha256 2a621fe6e4528bc91308b74867ddaaebbdf7753f02395c0c5bae817bd2b7e3a5 sysvinit-3.04.tar.xz # Hash for license files: sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk index 1bf10deb63..b7fe39ca43 100644 --- a/package/sysvinit/sysvinit.mk +++ b/package/sysvinit/sysvinit.mk @@ -4,7 +4,7 @@ # ################################################################################ -SYSVINIT_VERSION = 2.99 +SYSVINIT_VERSION = 3.04 SYSVINIT_SOURCE = sysvinit-$(SYSVINIT_VERSION).tar.xz SYSVINIT_SITE = http://download.savannah.nongnu.org/releases/sysvinit SYSVINIT_LICENSE = GPL-2.0+ -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:29:12 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:29:12 +0200 Subject: [Buildroot] [PATCH 1/4] package/openrc: bump version to 0.50 Message-ID: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> - Convert to a meson package. - Remove uneeded make opts and installation commands. - Change OPENRC_MAKE_OPTS to OPENRC_CONF_OPTS Signed-off-by: Adam Duskett --- ....in-change-run-lock-from-root-uucp-t.patch | 2 +- ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++--------- ...lso-create-run-lock-subsys-directory.patch | 2 +- package/openrc/openrc.hash | 4 +- package/openrc/openrc.mk | 38 ++++--------------- 5 files changed, 30 insertions(+), 51 deletions(-) diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch index 457fbacb5b..2f0a81bbd3 100644 --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 222bbd3b..7f1a88db 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -85,7 +85,7 @@ fi +@@ -83,7 +83,7 @@ fi fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch index 733506ada9..41c367d953 100644 --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles only). Signed-off-by: Carlos Santos +Signed-off-by: Adam Duskett +Refresh for 0.50 --- - runlevels/Makefile | 6 ------ + tools/meson_runlevels.sh | 6 ------ 1 file changed, 6 deletions(-) -diff --git a/runlevels/Makefile b/runlevels/Makefile -index 73843d8b..dbfb59ca 100644 ---- a/runlevels/Makefile -+++ b/runlevels/Makefile -@@ -90,12 +90,6 @@ install: - fi; \ - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ - fi -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ -- done; \ -- fi - - check test:: +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh +index 1473d4e..eee256b 100755 +--- a/tools/meson_runlevels.sh ++++ b/tools/meson_runlevels.sh +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" + done + fi +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" +- done; +-fi + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" -- 2.18.2 diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch index cf592a88b0..ad78a4b8f7 100644 --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index e8afc1fb..662ab223 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash index 4fcfa9132f..24a6878911 100644 --- a/package/openrc/openrc.hash +++ b/package/openrc/openrc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 1d4e70f712..01c23a2a79 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.43.3 +OPENRC_VERSION = 0.50 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE @@ -12,40 +12,18 @@ OPENRC_CPE_ID_VENDOR = openrc_project OPENRC_DEPENDENCIES = ncurses -# set LIBNAME so openrc puts files in proper directories and sets proper -# paths in installed files. Since in buildroot /lib64 and /lib32 always -# points to /lib, it's safe to hardcode it to "lib" -OPENRC_MAKE_OPTS = \ - LIBNAME=lib \ - LIBEXECDIR=/usr/libexec/rc \ - MKPKGCONFIG=no \ - MKSYSVINIT=yes \ - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ - CC=$(TARGET_CC) - -ifeq ($(BR2_SHARED_LIBS),y) -OPENRC_MAKE_OPTS += MKSTATICLIBS=no -else -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes -endif +OPENRC_CONF_OPTS = \ + -Dos=Linux \ + -Dpkgconfig=false \ + -Dsysvinit=true ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux else -OPENRC_MAKE_OPTS += MKSELINUX=no +OPENRC_CONF_OPTS += -Dselinux=disabled endif -define OPENRC_BUILD_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) -endef - -define OPENRC_INSTALL_TARGET_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install - $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ - $(TARGET_DIR)/etc/init.d/sysv-rcs -endef - ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so # remove them if the kbd package is not selected (e.g. devices with serial @@ -90,4 +68,4 @@ endef OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY endif # BR2_TARGET_GENERIC_GETTY -$(eval $(generic-package)) +$(eval $(meson-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:29:13 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:29:13 +0200 Subject: [Buildroot] [PATCH 2/4] package/openrc: add linux-pam support In-Reply-To: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009142915.1775087-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 01c23a2a79..5e667de7f8 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -24,6 +24,13 @@ else OPENRC_CONF_OPTS += -Dselinux=disabled endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +OPENRC_CONF_OPTS += -Dpam=true +OPENRC_DEPENDENCIES += linux-pam +else +OPENRC_CONF_OPTS += -Dpam=false +endif + ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so # remove them if the kbd package is not selected (e.g. devices with serial -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:29:14 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:29:14 +0200 Subject: [Buildroot] [PATCH 3/4] package/openrc: add bash-completion support In-Reply-To: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009142915.1775087-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 5e667de7f8..80a9dec778 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -17,6 +17,12 @@ OPENRC_CONF_OPTS = \ -Dpkgconfig=false \ -Dsysvinit=true +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +OPENRC_CONF_OPTS += -Dbash-completions=true +else +OPENRC_CONF_OPTS += -Dbash-completions=false +endif + ifeq ($(BR2_PACKAGE_LIBSELINUX),y) OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:29:15 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:29:15 +0200 Subject: [Buildroot] [PATCH 4/4] package/openrc: add merged user support In-Reply-To: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009142915.1775087-4-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 80a9dec778..c80342a174 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -37,6 +37,12 @@ else OPENRC_CONF_OPTS += -Dpam=false endif +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +OPENRC_CONF_OPTS += -Dsplit-usr=true +else +OPENRC_CONF_OPTS += -Dsplit-usr=false +endif + ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so # remove them if the kbd package is not selected (e.g. devices with serial -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:31:22 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:31:22 +0200 Subject: [Buildroot] [PATCH 2/2] package/firewalld: enable firewalld selinux module In-Reply-To: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> References: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009143122.1775787-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/firewalld/firewalld.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 6b2813e54d..188550d449 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -23,6 +23,8 @@ FIREWALLD_DEPENDENCIES = \ python3 \ python-gobject +FIREWALLD_SELINUX_MODULES = firewalld + # Firewalld hard codes the python shebangs to the full path of the # python-interpreter. IE: #!/home/buildroot/output/host/bin/python. # Force the proper python path. -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:31:21 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:31:21 +0200 Subject: [Buildroot] [PATCH 1/2] package/firewalld: bump version to 2.0.1 Message-ID: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/firewalld/firewalld.hash | 2 +- package/firewalld/firewalld.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firewalld/firewalld.hash b/package/firewalld/firewalld.hash index d8be3f7ba0..53bfed0347 100644 --- a/package/firewalld/firewalld.hash +++ b/package/firewalld/firewalld.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 3be5a3caa36d1026c5b72d3f61dd963dccd953791b04af03d9946b24bef8391e firewalld-1.3.2.tar.gz +sha256 61022eec66fa7ea0561924dfe65d17bab5ec512b3559198a05048a32264612d1 firewalld-2.0.1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 13edba6d24..6b2813e54d 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -4,7 +4,7 @@ # ################################################################################ -FIREWALLD_VERSION = 1.3.2 +FIREWALLD_VERSION = 2.0.1 FIREWALLD_SITE = $(call github,firewalld,firewalld,v$(FIREWALLD_VERSION)) FIREWALLD_LICENSE = GPL-2.0 FIREWALLD_LICENSE_FILES = COPYING -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 14:34:40 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 16:34:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/openssh: select linux-pam if refpolicy upstream is selected Message-ID: <20231009143440.1776155-1-adam.duskett@amarulasolutions.com> linux-pam is required to login via OpenSSH if the upstream refpolicy for SELinux is enaabled, as linux-pam handles changing user contexts. If a user wants to make their own policy and use a refpolicy via git, we of course should let them do so. As such, only select linux-pam if the upstream version of refpolicy is selected. Signed-off-by: Adam Duskett --- package/openssh/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openssh/Config.in b/package/openssh/Config.in index 08d3c7d391..e7d8f46c07 100644 --- a/package/openssh/Config.in +++ b/package/openssh/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_OPENSSH depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_LINUX_PAM if BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION help A free version of the SSH protocol suite of network connectivity tools. The standard 'ssh', 'sshd', 'scp', and -- 2.41.0 From yann.morin.1998 at free.fr Mon Oct 9 14:58:54 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 16:58:54 +0200 Subject: [Buildroot] [PATCH 1/4] package/openrc: bump version to 0.50 In-Reply-To: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009145854.GA14234@scaer> Adam, All, On 2023-10-09 16:29 +0200, Adam Duskett spake thusly: > - Convert to a meson package. > - Remove uneeded make opts and installation commands. > - Change OPENRC_MAKE_OPTS to OPENRC_CONF_OPTS Don't describe the patch; explain it. For example: - why is the license hash changed? - why is the LIBNAME hack no longer needed (stating "Remove uneeded foo" is not really enough, maybe it's just "foo is now handled correctly by meson") - why don't we no longer need to install our sysv-rcs? And thus, why is it not removed from the tree? - where is the BRANDING gone? Regards, Yann E. MORIN. > Signed-off-by: Adam Duskett > --- > ....in-change-run-lock-from-root-uucp-t.patch | 2 +- > ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++--------- > ...lso-create-run-lock-subsys-directory.patch | 2 +- > package/openrc/openrc.hash | 4 +- > package/openrc/openrc.mk | 38 ++++--------------- > 5 files changed, 30 insertions(+), 51 deletions(-) > > diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch > index 457fbacb5b..2f0a81bbd3 100644 > --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch > +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch > @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in > index 222bbd3b..7f1a88db 100644 > --- a/sh/init.sh.Linux.in > +++ b/sh/init.sh.Linux.in > -@@ -85,7 +85,7 @@ fi > +@@ -83,7 +83,7 @@ fi > fi > > checkpath -d "$RC_SVCDIR" > diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch > index 733506ada9..41c367d953 100644 > --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch > +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch > @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles > only). > > Signed-off-by: Carlos Santos > +Signed-off-by: Adam Duskett > +Refresh for 0.50 > --- > - runlevels/Makefile | 6 ------ > + tools/meson_runlevels.sh | 6 ------ > 1 file changed, 6 deletions(-) > > -diff --git a/runlevels/Makefile b/runlevels/Makefile > -index 73843d8b..dbfb59ca 100644 > ---- a/runlevels/Makefile > -+++ b/runlevels/Makefile > -@@ -90,12 +90,6 @@ install: > - fi; \ > - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ > - fi > -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ > -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ > -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ > -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ > -- done; \ > -- fi > - > - check test:: > +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh > +index 1473d4e..eee256b 100755 > +--- a/tools/meson_runlevels.sh > ++++ b/tools/meson_runlevels.sh > +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then > + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" > + done > + fi > +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ > +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do > +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" > +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" > +- done; > +-fi > > + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" > -- > 2.18.2 > > diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch > index cf592a88b0..ad78a4b8f7 100644 > --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch > +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch > @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in > index e8afc1fb..662ab223 100644 > --- a/sh/init.sh.Linux.in > +++ b/sh/init.sh.Linux.in > -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then > +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then > fi > > checkpath -d "$RC_SVCDIR" > diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash > index 4fcfa9132f..24a6878911 100644 > --- a/package/openrc/openrc.hash > +++ b/package/openrc/openrc.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz > -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE > +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz > +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE > diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk > index 1d4e70f712..01c23a2a79 100644 > --- a/package/openrc/openrc.mk > +++ b/package/openrc/openrc.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -OPENRC_VERSION = 0.43.3 > +OPENRC_VERSION = 0.50 > OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) > OPENRC_LICENSE = BSD-2-Clause > OPENRC_LICENSE_FILES = LICENSE > @@ -12,40 +12,18 @@ OPENRC_CPE_ID_VENDOR = openrc_project > > OPENRC_DEPENDENCIES = ncurses > > -# set LIBNAME so openrc puts files in proper directories and sets proper > -# paths in installed files. Since in buildroot /lib64 and /lib32 always > -# points to /lib, it's safe to hardcode it to "lib" > -OPENRC_MAKE_OPTS = \ > - LIBNAME=lib \ > - LIBEXECDIR=/usr/libexec/rc \ > - MKPKGCONFIG=no \ > - MKSYSVINIT=yes \ > - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ > - CC=$(TARGET_CC) > - > -ifeq ($(BR2_SHARED_LIBS),y) > -OPENRC_MAKE_OPTS += MKSTATICLIBS=no > -else > -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes > -endif > +OPENRC_CONF_OPTS = \ > + -Dos=Linux \ > + -Dpkgconfig=false \ > + -Dsysvinit=true > > ifeq ($(BR2_PACKAGE_LIBSELINUX),y) > -OPENRC_MAKE_OPTS += MKSELINUX=yes > +OPENRC_CONF_OPTS += -Dselinux=enabled > OPENRC_DEPENDENCIES += libselinux > else > -OPENRC_MAKE_OPTS += MKSELINUX=no > +OPENRC_CONF_OPTS += -Dselinux=disabled > endif > > -define OPENRC_BUILD_CMDS > - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) > -endef > - > -define OPENRC_INSTALL_TARGET_CMDS > - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install > - $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ > - $(TARGET_DIR)/etc/init.d/sysv-rcs > -endef > - > ifeq ($(BR2_PACKAGE_KBD),) > # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so > # remove them if the kbd package is not selected (e.g. devices with serial > @@ -90,4 +68,4 @@ endef > OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY > endif # BR2_TARGET_GENERIC_GETTY > > -$(eval $(generic-package)) > +$(eval $(meson-package)) > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 15:00:43 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:00:43 +0200 Subject: [Buildroot] [PATCH 4/4] package/openrc: add merged user support In-Reply-To: <20231009142915.1775087-4-adam.duskett@amarulasolutions.com> References: <20231009142915.1775087-1-adam.duskett@amarulasolutions.com> <20231009142915.1775087-4-adam.duskett@amarulasolutions.com> Message-ID: <20231009150042.GB14234@scaer> Adam, All, On 2023-10-09 16:29 +0200, Adam Duskett spake thusly: > Signed-off-by: Adam Duskett > --- > package/openrc/openrc.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk > index 80a9dec778..c80342a174 100644 > --- a/package/openrc/openrc.mk > +++ b/package/openrc/openrc.mk > @@ -37,6 +37,12 @@ else > OPENRC_CONF_OPTS += -Dpam=false > endif > > +ifeq ($(BR2_ROOTFS_MERGED_USR),y) > +OPENRC_CONF_OPTS += -Dsplit-usr=true So, if the user requested a merged usr, you instruct openrc to use a split usr, ... > +else > +OPENRC_CONF_OPTS += -Dsplit-usr=false ... and conversely? We need a runtime test to validate those two conditions. Regards, Yann E. MORIN. > +endif > + > ifeq ($(BR2_PACKAGE_KBD),) > # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so > # remove them if the kbd package is not selected (e.g. devices with serial > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 15:03:36 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:03:36 +0200 Subject: [Buildroot] [git commit] package/firewalld: bump version to 2.0.1 Message-ID: <20231009150615.41B188445E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bfb1ced92b570cde70a53062067771225ee752c7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- package/firewalld/firewalld.hash | 2 +- package/firewalld/firewalld.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firewalld/firewalld.hash b/package/firewalld/firewalld.hash index d8be3f7ba0..53bfed0347 100644 --- a/package/firewalld/firewalld.hash +++ b/package/firewalld/firewalld.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 3be5a3caa36d1026c5b72d3f61dd963dccd953791b04af03d9946b24bef8391e firewalld-1.3.2.tar.gz +sha256 61022eec66fa7ea0561924dfe65d17bab5ec512b3559198a05048a32264612d1 firewalld-2.0.1.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 13edba6d24..6b2813e54d 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -4,7 +4,7 @@ # ################################################################################ -FIREWALLD_VERSION = 1.3.2 +FIREWALLD_VERSION = 2.0.1 FIREWALLD_SITE = $(call github,firewalld,firewalld,v$(FIREWALLD_VERSION)) FIREWALLD_LICENSE = GPL-2.0 FIREWALLD_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Mon Oct 9 15:03:42 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:03:42 +0200 Subject: [Buildroot] [git commit] package/firewalld: enable firewalld selinux module Message-ID: <20231009150615.5310D84460@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=96785cd8143d5905c7692b8b06864736c1178619 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- package/firewalld/firewalld.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 6b2813e54d..188550d449 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -23,6 +23,8 @@ FIREWALLD_DEPENDENCIES = \ python3 \ python-gobject +FIREWALLD_SELINUX_MODULES = firewalld + # Firewalld hard codes the python shebangs to the full path of the # python-interpreter. IE: #!/home/buildroot/output/host/bin/python. # Force the proper python path. From yann.morin.1998 at free.fr Mon Oct 9 15:06:27 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:06:27 +0200 Subject: [Buildroot] [PATCH 1/2] package/firewalld: bump version to 2.0.1 In-Reply-To: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> References: <20231009143122.1775787-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009150627.GC14234@scaer> Adam, All, On 2023-10-09 16:31 +0200, Adam Duskett spake thusly: > Signed-off-by: Adam Duskett Both patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/firewalld/firewalld.hash | 2 +- > package/firewalld/firewalld.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/firewalld/firewalld.hash b/package/firewalld/firewalld.hash > index d8be3f7ba0..53bfed0347 100644 > --- a/package/firewalld/firewalld.hash > +++ b/package/firewalld/firewalld.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 3be5a3caa36d1026c5b72d3f61dd963dccd953791b04af03d9946b24bef8391e firewalld-1.3.2.tar.gz > +sha256 61022eec66fa7ea0561924dfe65d17bab5ec512b3559198a05048a32264612d1 firewalld-2.0.1.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk > index 13edba6d24..6b2813e54d 100644 > --- a/package/firewalld/firewalld.mk > +++ b/package/firewalld/firewalld.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FIREWALLD_VERSION = 1.3.2 > +FIREWALLD_VERSION = 2.0.1 > FIREWALLD_SITE = $(call github,firewalld,firewalld,v$(FIREWALLD_VERSION)) > FIREWALLD_LICENSE = GPL-2.0 > FIREWALLD_LICENSE_FILES = COPYING > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 15:12:00 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:12:00 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009080612.23347-2-adam.duskett@amarulasolutions.com> References: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> <20231009080612.23347-2-adam.duskett@amarulasolutions.com> Message-ID: <20231009151200.GD14234@scaer> Adam, All, Thanks for the quick respin. :-) On 2023-10-09 10:06 +0200, Adam Duskett spake thusly: > Refpolicy contexts expect a merged /usr file system. In fact, there > are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user > wants to go through the trouble of creating a policy that works with a > non-merged system, they should be free to do so. As such, only select > BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION. That last sentence is now incorrect. It could have been fixed when applying, but... > Signed-off-by: Adam Duskett > --- > v2 -> v3: Depends on, do not select BR2_ROOTFS_MERGED_USR [Yann] > > ...ount-dbus-interface-must-be-optional.patch | 33 ------------------- ... why is this patch removed? From the description of that patch, it does not look to be related to merged-usr at all... If that is due to the version bump, then it should have been part of the patch bumpng the version... Regards, Yann E. MORIN. > package/refpolicy/Config.in | 4 +++ > 2 files changed, 4 insertions(+), 33 deletions(-) > delete mode 100644 package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch > > diff --git a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch b/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch > deleted file mode 100644 > index adec7d98d0..0000000000 > --- a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch > +++ /dev/null > @@ -1,33 +0,0 @@ > -From 6c6be65ccf0891391681d4662cc11f508c0f4aeb Mon Sep 17 00:00:00 2001 > -From: Adam Duskett > -Date: Mon, 24 Apr 2023 14:24:49 -0700 > -Subject: [PATCH] mount: dbus interface must be optional > - > -If DBus isn't built, the build process fails due to mount.te always using a > -dbus interface even if the dbus module. Fix this by setting the dbus interface > -as optional. > - > -Signed-off-by: Adam Duskett > -Upstream: https://github.com/SELinuxProject/refpolicy/commit/207b09a656c2c3ac5c286d3f7eef085325e35408 > ---- > - policy/modules/system/mount.te | 4 +++- > - 1 file changed, 3 insertions(+), 1 deletion(-) > - > -diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te > -index d028723..af84af0 100644 > ---- a/policy/modules/system/mount.te > -+++ b/policy/modules/system/mount.te > -@@ -145,7 +145,9 @@ selinux_getattr_fs(mount_t) > - > - userdom_use_all_users_fds(mount_t) > - > --dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) > -+optional_policy(` > -+ dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) > -+') > - > - ifdef(`distro_redhat',` > - optional_policy(` > --- > -2.40.0 > - > diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in > index 0e72b895df..d2fe391d8d 100644 > --- a/package/refpolicy/Config.in > +++ b/package/refpolicy/Config.in > @@ -36,9 +36,13 @@ choice > > config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > bool "Upstream version" > + depends on BR2_ROOTFS_MERGED_USR > help > Use the refpolicy as provided by Buildroot. > > +comment "Upstream refpolicy requires a merged /usr filesystem" > + depends on !BR2_ROOTFS_MERGED_USR > + > config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT > bool "Custom git repository" > help > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 15:14:08 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 17:14:08 +0200 Subject: [Buildroot] [PATCH v3 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009151200.GD14234@scaer> References: <20231009080612.23347-1-adam.duskett@amarulasolutions.com> <20231009080612.23347-2-adam.duskett@amarulasolutions.com> <20231009151200.GD14234@scaer> Message-ID: <20231009151408.GE14234@scaer> Adam, All, Sorry, O was too fast at sending my reply... On 2023-10-09 17:12 +0200, Yann E. MORIN spake thusly: > On 2023-10-09 10:06 +0200, Adam Duskett spake thusly: > > Refpolicy contexts expect a merged /usr file system. In fact, there > > are no references to /bin, /sbin, /lib, or /lib64 at all Is this due to the version bump? If yes, then it should be part of the same patch. If not (i.e. that was already the case before the new version), then it should come before the version bump (so tht it can be more easily backported to maintenance branches) Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From arbab at linux.ibm.com Mon Oct 9 15:17:22 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:22 -0500 Subject: [Buildroot] [PATCH v3 1/8] package/petitboot: fix menu comment In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-2-arbab@linux.ibm.com> The comment should appear if threads aren't enabled, not when they are. Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index 0b4dc762bbd8..b534b4900e88 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -26,6 +26,6 @@ comment "petitboot needs a uClibc or glibc toolchain w/ wchar, dynamic library, depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ - BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) || \ !BR2_PACKAGE_HAS_UDEV -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:24 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:24 -0500 Subject: [Buildroot] [PATCH v3 3/8] package/petitboot: use default logfile dir In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-4-arbab@linux.ibm.com> All the petitboot components assume /var/log/petitboot by default; pb-console can also put multiple logs there and pb-sos collects that directory when creating a diagnostic tarball. Defer to this default when launching pb-discover. If someone wants to override, let's call the file /etc/default/petitboot which makes more sense to be shared by all the components. Signed-off-by: Reza Arbab --- package/petitboot/S15pb-discover | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package/petitboot/S15pb-discover b/package/petitboot/S15pb-discover index 9b641298cafa..71ab62d99859 100644 --- a/package/petitboot/S15pb-discover +++ b/package/petitboot/S15pb-discover @@ -2,12 +2,9 @@ DAEMON="pb-discover" PIDFILE="/var/run/$DAEMON.pid" -LOGFILE="/var/log/$DAEMON.log" - -PB_DISCOVER_ARGS="-l $LOGFILE" # shellcheck source=/dev/null -[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" +[ -r "/etc/default/petitboot" ] && . "/etc/default/petitboot" if [ "$(pb-config debug)" = "enabled" ] ; then PB_DISCOVER_ARGS="$PB_DISCOVER_ARGS --verbose" @@ -15,6 +12,8 @@ fi start() { printf 'Starting %s: ' "$DAEMON" + mkdir -p /var/log/petitboot + # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ -- $PB_DISCOVER_ARGS -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:23 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:23 -0500 Subject: [Buildroot] [PATCH v3 2/8] package/petitboot: fix pb-discover pidfile creation In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-3-arbab@linux.ibm.com> pb-discover does not create its own pid file. Handle the creation and removal of the pid file in the init script. Signed-off-by: Reza Arbab --- package/petitboot/S15pb-discover | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/petitboot/S15pb-discover b/package/petitboot/S15pb-discover index 7ecc12e99103..9b641298cafa 100644 --- a/package/petitboot/S15pb-discover +++ b/package/petitboot/S15pb-discover @@ -16,7 +16,7 @@ fi start() { printf 'Starting %s: ' "$DAEMON" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -S -q -b -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ + start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ -- $PB_DISCOVER_ARGS status=$? if [ "$status" -eq 0 ]; then @@ -32,6 +32,7 @@ stop() { start-stop-daemon -K -q -p "$PIDFILE" status=$? if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" echo "OK" else echo "FAIL" -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:26 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:26 -0500 Subject: [Buildroot] [PATCH v3 5/8] package/petitboot: fix shutdown In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-6-arbab@linux.ibm.com> There are a few ways to set HOST_PROG_SHUTDOWN that enable us to successfully kexec the new kernel chosen from the petitboot menu. 1. HOST_PROG_SHUTDOWN=/usr/libexec/petitboot/bb-kexec-reboot `- bb-kexec-reboot does 'exec kill -QUIT 1' |- init sends SIGTERM to pb-console | `- pb-console does 'trap 'reset; echo "SIGTERM received, booting..."; sleep 2' SIGTERM' `- init runs 'null::restart:/usr/sbin/kexec-restart' `- kexec-restart does '/usr/sbin/kexec -f -e' 2. HOST_PROG_SHUTDOWN=/usr/sbin/kexec-restart `- kexec-restart does '/usr/sbin/kexec -f -e' 3. unset HOST_PROG_SHUTDOWN (default is /sbin/shutdown) `- petitboot tries, in order: |- 1. '/sbin/shutdown -r now' | `- file not found |- 2. '/usr/sbin/kexec -e' `- 3. '/usr/sbin/kexec -e -f' If we're using busybox init, do (1). This performs a proper shutdown before the kexec, giving us nice console output with a terminal reset and the "booting..." notification. Otherwise, fall back to (2). Signed-off-by: Reza Arbab --- package/petitboot/kexec-restart | 8 ++++++++ package/petitboot/petitboot.mk | 16 ++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100755 package/petitboot/kexec-restart diff --git a/package/petitboot/kexec-restart b/package/petitboot/kexec-restart new file mode 100755 index 000000000000..62fbea114513 --- /dev/null +++ b/package/petitboot/kexec-restart @@ -0,0 +1,8 @@ +#!/bin/sh + +/usr/sbin/kexec -f -e + +while : +do + sleep 1 +done diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk index 0992111cb1ec..5c7913b560b1 100644 --- a/package/petitboot/petitboot.mk +++ b/package/petitboot/petitboot.mk @@ -21,7 +21,6 @@ PETITBOOT_CONF_OPTS = \ --without-twin-x11 \ $(if $(BR2_PACKAGE_BUSYBOX),--enable-busybox,--disable-busybox) \ HOST_PROG_KEXEC=/usr/sbin/kexec \ - HOST_PROG_SHUTDOWN=/usr/libexec/petitboot/bb-kexec-reboot # HPA and Busybox tftp are supported. HPA tftp is part of Buildroot's tftpd # package. @@ -46,6 +45,17 @@ else PETITBOOT_CONF_OPTS += --without-fdt endif +ifeq ($(BR2_INIT_BUSYBOX),y) +PETITBOOT_CONF_OPTS += HOST_PROG_SHUTDOWN=/usr/libexec/petitboot/bb-kexec-reboot +define PETITBOOT_INITTAB + grep -q kexec-restart $(TARGET_DIR)/etc/inittab || \ + printf "\nnull::restart:/usr/sbin/kexec-restart\n" >> $(TARGET_DIR)/etc/inittab +endef +PETITBOOT_TARGET_FINALIZE_HOOKS += PETITBOOT_INITTAB +else +PETITBOOT_CONF_OPTS += HOST_PROG_SHUTDOWN=/usr/sbin/kexec-restart +endif + define PETITBOOT_POST_INSTALL $(INSTALL) -D -m 0755 $(@D)/utils/bb-kexec-reboot \ $(TARGET_DIR)/usr/libexec/petitboot/bb-kexec-reboot @@ -53,8 +63,10 @@ define PETITBOOT_POST_INSTALL $(TARGET_DIR)/etc/petitboot/boot.d/01-create-default-dtb $(INSTALL) -D -m 0755 $(@D)/utils/hooks/90-sort-dtb \ $(TARGET_DIR)/etc/petitboot/boot.d/90-sort-dtb - $(INSTALL) -m 0755 -D $(PETITBOOT_PKGDIR)/S15pb-discover \ + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/S15pb-discover \ $(TARGET_DIR)/etc/init.d/S15pb-discover + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/kexec-restart \ + $(TARGET_DIR)/usr/sbin/kexec-restart mkdir -p $(TARGET_DIR)/usr/share/udhcpc/default.script.d/ ln -sf /usr/sbin/pb-udhcpc \ $(TARGET_DIR)/usr/share/udhcpc/default.script.d/ -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:27 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:27 -0500 Subject: [Buildroot] [PATCH v3 6/8] package/petitboot: run petitboot UI on consoles In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-7-arbab@linux.ibm.com> Display the petitboot UI instead of a login prompt, allowing the configuration of custom tty(s) as we do for the login prompt. petitboot already depends on udev, so let's use it instead of rcS to launch pb-console. This has the advantage of easily wildcarding the list of ttys ("hvc*") and enables hotplug devices ("ttyUSB0"). Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 8 ++++++++ package/petitboot/pb-console | 36 ++++++++++++++++++++++++++++++++++ package/petitboot/petitboot.mk | 10 ++++++++++ system/Config.in | 2 +- 4 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 package/petitboot/pb-console diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index 4981c165bf76..5f1d91e77ecb 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -28,3 +28,11 @@ comment "petitboot needs a uClibc or glibc toolchain w/ wchar, dynamic library, !BR2_TOOLCHAIN_HAS_THREADS || \ !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) || \ !BR2_PACKAGE_HAS_UDEV + +config BR2_PACKAGE_PETITBOOT_GETTY_PORT + string "TTY port(s)" + default "console" + depends on BR2_PACKAGE_PETITBOOT + help + Specify a space-separated list of ports to run the petitboot UI on. + Wildcards are allowed. Example: "hvc* ttys0 ttyS*" diff --git a/package/petitboot/pb-console b/package/petitboot/pb-console new file mode 100644 index 000000000000..407ff3b30232 --- /dev/null +++ b/package/petitboot/pb-console @@ -0,0 +1,36 @@ +#!/bin/sh + +DAEMON="pb-console" + +PB_CONSOLE_PORT=${2:-"console"} +PB_CONSOLE_ARGS="--getty --detach -- -n -i 0 $PB_CONSOLE_PORT linux" + +# shellcheck source=/dev/null +[ -r "/etc/default/petitboot" ] && . "/etc/default/petitboot" + +start() { + printf 'Starting %s on %s: ' "$DAEMON" "$PB_CONSOLE_PORT" + mkdir -p /var/log/petitboot + + # shellcheck disable=SC2086 # we need the word splitting + start-stop-daemon -S -q -x "/usr/libexec/petitboot/$DAEMON" \ + -- $PB_CONSOLE_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +case "$1" in + start) + "$1";; + stop|restart|reload) + ;; + *) + echo "Usage: $0 {start|stop|restart|reload} [port]" + exit 1 + ;; +esac diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk index 5c7913b560b1..ff87f3498734 100644 --- a/package/petitboot/petitboot.mk +++ b/package/petitboot/petitboot.mk @@ -56,6 +56,8 @@ else PETITBOOT_CONF_OPTS += HOST_PROG_SHUTDOWN=/usr/sbin/kexec-restart endif +PETITBOOT_GETTY_PORT = $(patsubst %,'%',$(call qstrip,$(BR2_PACKAGE_PETITBOOT_GETTY_PORT))) + define PETITBOOT_POST_INSTALL $(INSTALL) -D -m 0755 $(@D)/utils/bb-kexec-reboot \ $(TARGET_DIR)/usr/libexec/petitboot/bb-kexec-reboot @@ -67,6 +69,14 @@ define PETITBOOT_POST_INSTALL $(TARGET_DIR)/etc/init.d/S15pb-discover $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/kexec-restart \ $(TARGET_DIR)/usr/sbin/kexec-restart + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/pb-console \ + $(TARGET_DIR)/etc/init.d/pb-console + + mkdir -p $(TARGET_DIR)/etc/udev/rules.d + (for port in $(PETITBOOT_GETTY_PORT); do \ + printf 'SUBSYSTEM=="tty", KERNEL=="%s", RUN+="/etc/init.d/pb-console start $$name"\n' "$$port"; \ + done) > $(TARGET_DIR)/etc/udev/rules.d/petitboot-console-ui.rules + mkdir -p $(TARGET_DIR)/usr/share/udhcpc/default.script.d/ ln -sf /usr/sbin/pb-udhcpc \ $(TARGET_DIR)/usr/share/udhcpc/default.script.d/ diff --git a/system/Config.in b/system/Config.in index 24798dc06803..9587dd9ce4db 100644 --- a/system/Config.in +++ b/system/Config.in @@ -375,7 +375,7 @@ config BR2_SYSTEM_BIN_SH menuconfig BR2_TARGET_GENERIC_GETTY bool "Run a getty (login prompt) after boot" - default y + default y if !BR2_PACKAGE_PETITBOOT if BR2_TARGET_GENERIC_GETTY config BR2_TARGET_GENERIC_GETTY_PORT -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:28 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:28 -0500 Subject: [Buildroot] [PATCH v3 7/8] package/petitboot: enable user separation In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-8-arbab@linux.ibm.com> Run the petitboot UI as an unprivileged user. This requires using the agetty package instead of the busybox getty utility, running the initial pb-console helper at user login rather than directly. If sudo is installed, with a sudoers policy allowing petituser to perform sudo with no password (or a blank password), the "drop to shell" feature of petitboot will automatically become a root shell. Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 1 + package/petitboot/S15pb-discover | 4 +++- package/petitboot/pb-console | 6 ++++-- package/petitboot/petitboot.mk | 12 ++++++++++++ package/petitboot/shell_config | 24 ++++++++++++++++++++++++ package/petitboot/shell_profile | 2 ++ 6 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 package/petitboot/shell_config create mode 100644 package/petitboot/shell_profile diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index 5f1d91e77ecb..0f965e71e628 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -16,6 +16,7 @@ config BR2_PACKAGE_PETITBOOT select BR2_PACKAGE_KEXEC_LITE if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) select BR2_PACKAGE_NVME if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) + select BR2_PACKAGE_UTIL_LINUX_AGETTY help Petitboot is a small kexec-based bootloader diff --git a/package/petitboot/S15pb-discover b/package/petitboot/S15pb-discover index 71ab62d99859..a37e33521f1a 100644 --- a/package/petitboot/S15pb-discover +++ b/package/petitboot/S15pb-discover @@ -12,7 +12,9 @@ fi start() { printf 'Starting %s: ' "$DAEMON" - mkdir -p /var/log/petitboot + # shellcheck disable=SC2174 # only apply -m to deepest dir + mkdir -p -m 0775 /var/log/petitboot + chown root:petitgroup /var/log/petitboot # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ diff --git a/package/petitboot/pb-console b/package/petitboot/pb-console index 407ff3b30232..eea40163d02f 100644 --- a/package/petitboot/pb-console +++ b/package/petitboot/pb-console @@ -3,14 +3,16 @@ DAEMON="pb-console" PB_CONSOLE_PORT=${2:-"console"} -PB_CONSOLE_ARGS="--getty --detach -- -n -i 0 $PB_CONSOLE_PORT linux" +PB_CONSOLE_ARGS="--getty=/sbin/agetty --detach -- -a petituser -n -i $PB_CONSOLE_PORT linux" # shellcheck source=/dev/null [ -r "/etc/default/petitboot" ] && . "/etc/default/petitboot" start() { printf 'Starting %s on %s: ' "$DAEMON" "$PB_CONSOLE_PORT" - mkdir -p /var/log/petitboot + # shellcheck disable=SC2174 # only apply -m to deepest dir + mkdir -p -m 0775 /var/log/petitboot + chown root:petitgroup /var/log/petitboot # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -x "/usr/libexec/petitboot/$DAEMON" \ diff --git a/package/petitboot/petitboot.mk b/package/petitboot/petitboot.mk index ff87f3498734..5b517eb3b1a6 100644 --- a/package/petitboot/petitboot.mk +++ b/package/petitboot/petitboot.mk @@ -71,6 +71,10 @@ define PETITBOOT_POST_INSTALL $(TARGET_DIR)/usr/sbin/kexec-restart $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/pb-console \ $(TARGET_DIR)/etc/init.d/pb-console + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/shell_config \ + $(TARGET_DIR)/home/petituser/.shrc + $(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/shell_profile \ + $(TARGET_DIR)/home/petituser/.profile mkdir -p $(TARGET_DIR)/etc/udev/rules.d (for port in $(PETITBOOT_GETTY_PORT); do \ @@ -84,4 +88,12 @@ endef PETITBOOT_POST_INSTALL_TARGET_HOOKS += PETITBOOT_POST_INSTALL +define PETITBOOT_USERS + petituser -1 petitgroup -1 * /home/petituser /bin/sh - petitboot user +endef + +define PETITBOOT_PERMISSIONS + /var/petitboot d 775 root petitgroup - - - - - +endef + $(eval $(autotools-package)) diff --git a/package/petitboot/shell_config b/package/petitboot/shell_config new file mode 100644 index 000000000000..b10b95baae6c --- /dev/null +++ b/package/petitboot/shell_config @@ -0,0 +1,24 @@ +#!/bin/sh + +try_sudo() { + [ -x "$(command -v sudo)" ] || return + sudo -K + echo | sudo -S /bin/true >/dev/null 2>&1 || return + + echo "No password required, running as root." + sudo -i + sudo -K + exit +} + +reset + +echo "Exiting petitboot. Type 'exit' to return." +echo "You may run 'pb-sos' to gather diagnostic data." + +if [ "$(id -u)" != "0" ]; then + try_sudo + export PS1='$ ' +else + export PS1='# ' +fi diff --git a/package/petitboot/shell_profile b/package/petitboot/shell_profile new file mode 100644 index 000000000000..1ca5e6364dba --- /dev/null +++ b/package/petitboot/shell_profile @@ -0,0 +1,2 @@ +export ENV="/home/petituser/.shrc" +exec /usr/libexec/petitboot/pb-console -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:25 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:25 -0500 Subject: [Buildroot] [PATCH v3 4/8] package/petitboot: prefer kexec-lite on powerpc In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-5-arbab@linux.ibm.com> This is a better choice on devicetree-based platforms. Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index b534b4900e88..4981c165bf76 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -11,12 +11,11 @@ config BR2_PACKAGE_PETITBOOT select BR2_PACKAGE_ELFUTILS select BR2_PACKAGE_LVM2 # devmapper select BR2_PACKAGE_NCURSES - # run-time dependency only + # run-time dependencies select BR2_PACKAGE_KEXEC if !BR2_PACKAGE_KEXEC_LITE - # run-time dependency only - select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) - # run-time dependency only + select BR2_PACKAGE_KEXEC_LITE if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) select BR2_PACKAGE_NVME if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) + select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) help Petitboot is a small kexec-based bootloader -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:21 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:21 -0500 Subject: [Buildroot] [PATCH v3 0/8] package/petitboot: misc fixes/enhancement Message-ID: <20231009151729.2223963-1-arbab@linux.ibm.com> The br2-external tree used to build OpenPOWER firmware has long carried petitboot as a custom package[1]. Now that petitboot has been added to buildroot proper, it would be nice to leverage the base package instead. To make that transition easier, here is a set of patches which port over some of the enhancements made to that external package. [1] https://github.com/open-power/op-build/tree/master/openpower/package/petitboot --- v3: * Add a number of small fixes. * Add user separation, so the UI runs as non-root. * Remove udev rules that enabled some additional types of boot devices. These should more appropriately live outside of buildroot. * Remove a sysctl.d file to silence kernel output. I think there's a bug upstream; see https://github.com/open-power/petitboot/pull/103 v2: * Use Laurent's suggested additions to "run pb-console at boot" patch. Reza Arbab (8): package/petitboot: fix menu comment package/petitboot: fix pb-discover pidfile creation package/petitboot: use default logfile dir package/petitboot: prefer kexec-lite on powerpc package/petitboot: fix shutdown package/petitboot: run petitboot UI on consoles package/petitboot: enable user separation package/petitboot: prefer UTF-8 support package/petitboot/Config.in | 26 +++++++++++++++------ package/petitboot/S15pb-discover | 13 +++++++---- package/petitboot/kexec-restart | 8 +++++++ package/petitboot/pb-console | 39 ++++++++++++++++++++++++++++++++ package/petitboot/petitboot.mk | 38 +++++++++++++++++++++++++++++-- package/petitboot/shell_config | 24 ++++++++++++++++++++ package/petitboot/shell_profile | 5 ++++ system/Config.in | 2 +- 8 files changed, 140 insertions(+), 15 deletions(-) create mode 100755 package/petitboot/kexec-restart create mode 100644 package/petitboot/pb-console create mode 100644 package/petitboot/shell_config create mode 100644 package/petitboot/shell_profile -- 2.39.3 From arbab at linux.ibm.com Mon Oct 9 15:17:29 2023 From: arbab at linux.ibm.com (Reza Arbab) Date: Mon, 9 Oct 2023 10:17:29 -0500 Subject: [Buildroot] [PATCH v3 8/8] package/petitboot: prefer UTF-8 support In-Reply-To: <20231009151729.2223963-1-arbab@linux.ibm.com> References: <20231009151729.2223963-1-arbab@linux.ibm.com> Message-ID: <20231009151729.2223963-9-arbab@linux.ibm.com> The petitboot UI looks much nicer in a Unicode locale: * Items in the language selection submenu use multibyte Unicode characters. In other locales, they say "Unable to display text in this locale". * The combination of TERM=linux with a UTF-8 locale is required to trigger a special-case workaround in ncurses code[1]. Without this, line-drawing characters in the menu look like q's. Add a reminder that a UTF-8 locale should be generated for things to look right. Assume C.UTF-8 by default, allowing $LANG to be overridden (by /etc/default/petitboot or otherwise) if something else is desired. [1] https://invisible-island.net/ncurses/ncurses.faq.html#no_line_drawing Signed-off-by: Reza Arbab --- package/petitboot/Config.in | 8 ++++++-- package/petitboot/S15pb-discover | 1 + package/petitboot/pb-console | 1 + package/petitboot/shell_profile | 3 +++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/package/petitboot/Config.in b/package/petitboot/Config.in index 0f965e71e628..a449ed87872c 100644 --- a/package/petitboot/Config.in +++ b/package/petitboot/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_PETITBOOT depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS depends on BR2_USE_MMU # lvm2 depends on BR2_USE_WCHAR # elfutils + depends on BR2_ENABLE_LOCALE depends on !BR2_STATIC_LIBS # elfutils, lvm2 depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, lvm2 depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils @@ -11,6 +12,7 @@ config BR2_PACKAGE_PETITBOOT select BR2_PACKAGE_ELFUTILS select BR2_PACKAGE_LVM2 # devmapper select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_NCURSES_WCHAR # run-time dependencies select BR2_PACKAGE_KEXEC if !BR2_PACKAGE_KEXEC_LITE select BR2_PACKAGE_KEXEC_LITE if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) @@ -20,12 +22,14 @@ config BR2_PACKAGE_PETITBOOT help Petitboot is a small kexec-based bootloader + NOTE: petitboot needs a working UTF-8 locale (BR2_GENERATE_LOCALE) + http://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html -comment "petitboot needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, udev /dev management" +comment "petitboot needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library, threads, udev /dev management" depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ + depends on !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE || BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_THREADS || \ !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) || \ !BR2_PACKAGE_HAS_UDEV diff --git a/package/petitboot/S15pb-discover b/package/petitboot/S15pb-discover index a37e33521f1a..15b428ce0e42 100644 --- a/package/petitboot/S15pb-discover +++ b/package/petitboot/S15pb-discover @@ -15,6 +15,7 @@ start() { # shellcheck disable=SC2174 # only apply -m to deepest dir mkdir -p -m 0775 /var/log/petitboot chown root:petitgroup /var/log/petitboot + export LANG="${LANG:-C.UTF-8}" # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ diff --git a/package/petitboot/pb-console b/package/petitboot/pb-console index eea40163d02f..55e5462f0457 100644 --- a/package/petitboot/pb-console +++ b/package/petitboot/pb-console @@ -13,6 +13,7 @@ start() { # shellcheck disable=SC2174 # only apply -m to deepest dir mkdir -p -m 0775 /var/log/petitboot chown root:petitgroup /var/log/petitboot + export LANG="${LANG:-C.UTF-8}" # shellcheck disable=SC2086 # we need the word splitting start-stop-daemon -S -q -x "/usr/libexec/petitboot/$DAEMON" \ diff --git a/package/petitboot/shell_profile b/package/petitboot/shell_profile index 1ca5e6364dba..6bbe49e6d113 100644 --- a/package/petitboot/shell_profile +++ b/package/petitboot/shell_profile @@ -1,2 +1,5 @@ +[ -r "/etc/default/petitboot" ] && . "/etc/default/petitboot" export ENV="/home/petituser/.shrc" +export LANG="${LANG:-C.UTF-8}" + exec /usr/libexec/petitboot/pb-console -- 2.39.3 From james.hilliard1 at gmail.com Mon Oct 9 15:50:18 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Mon, 9 Oct 2023 09:50:18 -0600 Subject: [Buildroot] [PATCH 1/1] package/libubootenv: bump to version 0.3.5 Message-ID: <20231009155018.1310642-1-james.hilliard1@gmail.com> Drop patch which is now upstream. Signed-off-by: James Hilliard --- ...-fix-bug-when-SPI-flash-write-size-s.patch | 71 ------------------- package/libubootenv/libubootenv.hash | 2 +- package/libubootenv/libubootenv.mk | 2 +- 3 files changed, 2 insertions(+), 73 deletions(-) delete mode 100644 package/libubootenv/0002-Revert-fw_setenv-fix-bug-when-SPI-flash-write-size-s.patch diff --git a/package/libubootenv/0002-Revert-fw_setenv-fix-bug-when-SPI-flash-write-size-s.patch b/package/libubootenv/0002-Revert-fw_setenv-fix-bug-when-SPI-flash-write-size-s.patch deleted file mode 100644 index 414cb3d205..0000000000 --- a/package/libubootenv/0002-Revert-fw_setenv-fix-bug-when-SPI-flash-write-size-s.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 35bbc4d8155ed86ca7200e060dad98bdfbce684d Mon Sep 17 00:00:00 2001 -From: Stefano Babic -Date: Thu, 15 Jun 2023 16:54:46 +0200 -Subject: [PATCH] Revert "fw_setenv: fix bug when SPI flash write size != - sector size" - -This reverts commit 44ecc1c216007272a6f99a104a71c9d410969d9e. - -mtd writesize was errouneously interpreted as maximum allowed size, but -it is the minimum size. The patch raises performance issues because on -NOR flashes single bytes are written. - -Signed-off-by: Stefano Babic -Upstream: https://github.com/sbabic/libubootenv/commit/9f17a00ee56dc5cfb1d9b51e6639d67b64cb3309 -Signed-off-by: Brandon Maier ---- - src/uboot_env.c | 29 +++++++++-------------------- - 1 file changed, 9 insertions(+), 20 deletions(-) - -diff --git a/src/uboot_env.c b/src/uboot_env.c -index c5eefe7..76e2619 100644 ---- a/src/uboot_env.c -+++ b/src/uboot_env.c -@@ -712,8 +712,6 @@ static int mtdwrite(struct uboot_flash_env *dev, void *data) - sectors = dev->envsectors ? dev->envsectors : 1; - buf = data; - while (count > 0) { -- int blockcount; -- - erase.start = start; - - skip = is_nand_badblock(dev, start); -@@ -744,26 +742,17 @@ static int mtdwrite(struct uboot_flash_env *dev, void *data) - ret =-EIO; - goto devwrite_out; - } -- -- blockcount = blocksize; -- -- /* writesize can be different than the sector size. */ -- -- while (blockcount > 0) { -- if (lseek(dev->fd, start, SEEK_SET) < 0) { -- ret =-EIO; -- goto devwrite_out; -- } -- if (write(dev->fd, buf, dev->mtdinfo.writesize) != dev->mtdinfo.writesize) { -- ret =-EIO; -- goto devwrite_out; -- } -- -- blockcount -= dev->mtdinfo.writesize; -- start += dev->mtdinfo.writesize; -- buf += dev->mtdinfo.writesize; -+ if (lseek(dev->fd, start, SEEK_SET) < 0) { -+ ret =-EIO; -+ goto devwrite_out; -+ } -+ if (write(dev->fd, buf, blocksize) != blocksize) { -+ ret =-EIO; -+ goto devwrite_out; - } - MTDLOCK(dev, &erase); -+ start += dev->sectorsize; -+ buf += blocksize; - count -= blocksize; - ret += blocksize; - } --- -2.41.0 - diff --git a/package/libubootenv/libubootenv.hash b/package/libubootenv/libubootenv.hash index b881994bfd..887ad6843d 100644 --- a/package/libubootenv/libubootenv.hash +++ b/package/libubootenv/libubootenv.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 78faadcfac67e50273e5d4e95e6cf6fee3d486ce9dc568d1fe25312271a88768 libubootenv-0.3.4.tar.gz +sha256 dc27ddcb377e259d898256e90449bc3128437660cacc33dc75f6630d3e52c44e libubootenv-0.3.5.tar.gz sha256 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192 LICENSES/CC0-1.0.txt sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1-or-later.txt sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSES/MIT.txt diff --git a/package/libubootenv/libubootenv.mk b/package/libubootenv/libubootenv.mk index b4c9588107..e5f5e9b15a 100644 --- a/package/libubootenv/libubootenv.mk +++ b/package/libubootenv/libubootenv.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBUBOOTENV_VERSION = 0.3.4 +LIBUBOOTENV_VERSION = 0.3.5 LIBUBOOTENV_SITE = $(call github,sbabic,libubootenv,v$(LIBUBOOTENV_VERSION)) LIBUBOOTENV_LICENSE = LGPL-2.1+, MIT, CC0-1.0 LIBUBOOTENV_LICENSE_FILES = LICENSES/CC0-1.0.txt \ -- 2.34.1 From adam.duskett at amarulasolutions.com Mon Oct 9 16:18:17 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 18:18:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-generic: Auto-install selinux modules only for upstream refpolicy Message-ID: <20231009161817.2832969-1-adam.duskett@amarulasolutions.com> The description of REFPOLICY_CUSTOM_GIT states: The custom refpolicy must define the full policy explicitly, and must be a fork of the original refpolicy, to have the same build system. When this is selected, only the custom policy definition are taken into account and all the modules of the policy are built into the binary policy. Currently, if a user definess their own policy, a package containing a selinux directory would add to their custom policy, which is not what they would want. Disable applying selinux policies in selinux/ directories for custom git refpolicies. Signed-off-by: Adam Duskett --- package/pkg-generic.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 6e944dd6b7..28595a105c 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -1237,8 +1237,11 @@ KEEP_PYTHON_PY_FILES += $$($(2)_KEEP_PY_FILES) ifneq ($$($(2)_SELINUX_MODULES),) PACKAGES_SELINUX_MODULES += $$($(2)_SELINUX_MODULES) endif + +ifeq ($(BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION),y) PACKAGES_SELINUX_EXTRA_MODULES_DIRS += \ $$(if $$(wildcard $$($(2)_PKGDIR)/selinux),$$($(2)_PKGDIR)/selinux) +endif ifeq ($$($(2)_SITE_METHOD),svn) DL_TOOLS_DEPENDENCIES += svn -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 17:04:27 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 19:04:27 +0200 Subject: [Buildroot] [PATCH v4 1/2] package/refpolicy: bump version to 2.20231002 Message-ID: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> Drop upstream patch Signed-off-by: Adam Duskett --- v3 -> v4: Drop upstream patch in this patch. ...ount-dbus-interface-must-be-optional.patch | 33 ------------------- package/refpolicy/refpolicy.hash | 2 +- package/refpolicy/refpolicy.mk | 2 +- 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch diff --git a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch b/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch deleted file mode 100644 index adec7d98d0..0000000000 --- a/package/refpolicy/2.20221101/0001-mount-dbus-interface-must-be-optional.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6c6be65ccf0891391681d4662cc11f508c0f4aeb Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 24 Apr 2023 14:24:49 -0700 -Subject: [PATCH] mount: dbus interface must be optional - -If DBus isn't built, the build process fails due to mount.te always using a -dbus interface even if the dbus module. Fix this by setting the dbus interface -as optional. - -Signed-off-by: Adam Duskett -Upstream: https://github.com/SELinuxProject/refpolicy/commit/207b09a656c2c3ac5c286d3f7eef085325e35408 ---- - policy/modules/system/mount.te | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te -index d028723..af84af0 100644 ---- a/policy/modules/system/mount.te -+++ b/policy/modules/system/mount.te -@@ -145,7 +145,9 @@ selinux_getattr_fs(mount_t) - - userdom_use_all_users_fds(mount_t) - --dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+optional_policy(` -+ dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t) -+') - - ifdef(`distro_redhat',` - optional_policy(` --- -2.40.0 - diff --git a/package/refpolicy/refpolicy.hash b/package/refpolicy/refpolicy.hash index a09e59c270..70d1acc9af 100644 --- a/package/refpolicy/refpolicy.hash +++ b/package/refpolicy/refpolicy.hash @@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2 +sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 8fea7cc254..fb1c213b84 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.20221101 +REFPOLICY_VERSION = 2.20231002 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif -- 2.41.0 From adam.duskett at amarulasolutions.com Mon Oct 9 17:04:28 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Mon, 9 Oct 2023 19:04:28 +0200 Subject: [Buildroot] [PATCH v4 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> References: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> Message-ID: <20231009170428.2836853-2-adam.duskett@amarulasolutions.com> Refpolicy contexts expect a merged /usr file system. In fact, there are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user wants to go through the trouble of creating a policy that works with a non-merged system, they should be free to do so. As such, only select BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION. Signed-off-by: Adam Duskett --- v3 -> v4: Remove accidental removal of upstream patch in this patch. package/refpolicy/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index 0e72b895df..d2fe391d8d 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -36,9 +36,13 @@ choice config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + depends on BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot. +comment "Upstream refpolicy requires a merged /usr filesystem" + depends on !BR2_ROOTFS_MERGED_USR + config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT bool "Custom git repository" help -- 2.41.0 From yann.morin.1998 at free.fr Mon Oct 9 17:25:19 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 19:25:19 +0200 Subject: [Buildroot] [PATCH v4 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009170428.2836853-2-adam.duskett@amarulasolutions.com> References: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> <20231009170428.2836853-2-adam.duskett@amarulasolutions.com> Message-ID: <20231009172519.GF14234@scaer> Adam, All, On 2023-10-09 19:04 +0200, Adam Duskett spake thusly: > Refpolicy contexts expect a merged /usr file system. In fact, there > are no references to /bin, /sbin, /lib, or /lib64 at all. There is a file in the refpolicy upstream tree, which cntains (abbreviated) # This file can is used to configure base path aliases as in: # /aliased_path /original_path_as_configured_in_file_contexts # where original_path_as_configured_in_file_contexts is a base # path being used in the main file_contexts configuration file. /bin /usr/bin /lib /usr/lib [...] So, to me, it looks like it means something like: treat paths that starts with /lib as if they were starting with /sur/lib, and then check the context associated with the new path. But maybe that no longer works? Or maybe we need to take action to make that work? Matter for more thoughts... > However, if a user > wants to go through the trouble of creating a policy that works with a > non-merged system, they should be free to do so. As such, only select > BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION. This last sentence is still incorrect now: not seelct, but depends on. ;-) Regards, Yann E. MORIN. > Signed-off-by: Adam Duskett > --- > v3 -> v4: Remove accidental removal of upstream patch in this patch. > > package/refpolicy/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in > index 0e72b895df..d2fe391d8d 100644 > --- a/package/refpolicy/Config.in > +++ b/package/refpolicy/Config.in > @@ -36,9 +36,13 @@ choice > > config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION > bool "Upstream version" > + depends on BR2_ROOTFS_MERGED_USR > help > Use the refpolicy as provided by Buildroot. > > +comment "Upstream refpolicy requires a merged /usr filesystem" > + depends on !BR2_ROOTFS_MERGED_USR > + > config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT > bool "Custom git repository" > help > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Mon Oct 9 20:05:53 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Mon, 9 Oct 2023 22:05:53 +0200 Subject: [Buildroot] [PATCH v4 2/2] package/refpolicy/Config.in: depend on merged usr when selecting upstream In-Reply-To: <20231009172519.GF14234@scaer> References: <20231009170428.2836853-1-adam.duskett@amarulasolutions.com> <20231009170428.2836853-2-adam.duskett@amarulasolutions.com> <20231009172519.GF14234@scaer> Message-ID: <20231009200553.GG14234@scaer> Adam, All, On 2023-10-09 19:25 +0200, Yann E. MORIN spake thusly: > On 2023-10-09 19:04 +0200, Adam Duskett spake thusly: > > Refpolicy contexts expect a merged /usr file system. In fact, there > > are no references to /bin, /sbin, /lib, or /lib64 at all. > There is a file in the refpolicy upstream tree, Bad copy-but-no-paste, so the file was: config/file_contexts.subs_dist [--SNIP--] > But maybe that no longer works? Or maybe we need to take action to make > that work? As discussed on IRC, that is indeed not an issue: refpolicy works even without a merged /usr. The issue stems from "dontaudit" rules that hid some other issue (if I understood correctly). Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From christian at aperture.us Mon Oct 9 21:36:24 2023 From: christian at aperture.us (Christian Stewart) Date: Mon, 9 Oct 2023 14:36:24 -0700 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump to version 1.7.7 Message-ID: <20231009213624.107730-1-christian@aperture.us> Contains various fixes and updates. https://github.com/containerd/containerd/releases/tag/v1.7.7 Signed-off-by: Christian Stewart --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5e0ef4517..450d1d1081 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 084a62f78f96cb5fda02221425f14df09d3e0acd093e4d4b3527900e3ff94677 containerd-1.7.6.tar.gz +sha256 4c6042b13746a803766d76b07f756d03678a33a944b52c0b832c238609db1b2e containerd-1.7.7.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 0591400709..d29a796a72 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.7.6 +CONTAINERD_VERSION = 1.7.7 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE -- 2.42.0 From ckhardin at gmail.com Mon Oct 9 21:37:31 2023 From: ckhardin at gmail.com (Charles Hardin) Date: Mon, 9 Oct 2023 14:37:31 -0700 Subject: [Buildroot] [RFC] Per-package and relocatable SDKs problem? Message-ID: For the curious, We have discovered a problem in that the per-package build of the host directory is doing an rsync to finalize the tree from the last per-package directory in the dependency chain (in our case below this is qt5tools). This means that several text files like the one below (shasum) contain the per-package directory path in them. For example - a per-package build and check the BUILD directory to check the shasum script $ head -5 host/bin/shasum #!/home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl eval 'exec /home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl -S $0 ${1+"$@"}' if 0; # ^ Run only under a shell #!perl ... snip snip ... This works in the build path but will fail when the SDK is made and relocated because the relocate-sdk.sh script doesn't handle per-package paths. # Make sure file uses the right language export LC_ALL=C # Replace the old path with the new one in all text files grep -lr "${OLDPATH}" . | while read -r FILE ; do if file -b --mime-type "${FILE}" | grep -q '^text/' && [ "${FILE}" != "${LOCFILE}" ] then sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" fi done The OLDPATH is the old location of the directory without the concept of the per-package paths in the tree. So, is this something that is known? Tried searching the mailing list and commits and didn't see a reference to this problem so was a bit curious. Charles From ramirez.clement3 at gmail.com Tue Oct 10 07:05:58 2023 From: ramirez.clement3 at gmail.com (Clement Ramirez) Date: Tue, 10 Oct 2023 09:05:58 +0200 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 Message-ID: <20231010070558.9791-1-ramirez.clement3@gmail.com> Fixes the following CVEs : - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR 56270e5d3d meson: Fix targetos match for illumos and Solaris. 60da8301fe s390x/ap: fix missing subsystem reset registration 8b479229ff ui: fix crash when there are no active_console d4919bbcc2 virtio-gpu/win32: set the destroy function on load cae7dc1452 target/riscv: Allocate itrigger timers only once 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 b822207513 hw/riscv: virt: Fix riscv,pmu DT node path 2947da750e linux-user/riscv: Use abi type for target_ucontext 60a7f5c8fe hw/intc: Make rtc variable names consistent 566dac7127 hw/intc: Fix upper/lower mtime write calculation 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first 987e90cfd2 target/riscv/cpu.c: add zmmul isa string b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts 9832a670b3 arm64: Restore trapless ptimer access df33ce9b6d virtio: Drop out of coroutine context in virtio_load() eeee989f72 qxl: don't assert() if device isn't yet initialized 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() 6356785daa docs tests: Fix use of migrate_set_parameter 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode d5361580ac hw/ide/ahci: fix broken SError handling e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr 5358980d33 hw/ppc/e500: fix broken snapshot replay 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects e975434d62 target/i386: raise FERR interrupt with iothread locked e5e77f256f linux-user: Adjust brk for load_bias 645b87f650 target/arm: properly document FEAT_CRC32 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section 441106eebb docs/about/license: Update LICENSE URL 63188a00bb target/arm: Fix 64-bit SSRA 7012e20b2d target/arm: Fix SME ST1Q c8e381d672 accel/kvm: Specify default IPA size for arm64 34808d041c kvm: Introduce kvm_arch_get_default_type hook 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 c12eddbd48 target/s390x: Fix VSTL with a large length 880e82ed78 target/s390x: Use a 16-bit immediate in VREP 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS Signed-off-by: Clement Ramirez --- package/qemu/qemu.hash | 2 +- package/qemu/qemu.mk | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash index 506afa8bf3..61e51a923f 100644 --- a/package/qemu/qemu.hash +++ b/package/qemu/qemu.hash @@ -1,4 +1,4 @@ # Locally computed, tarball verified with GPG signature -sha256 710c101198e334d4762eef65f649bc43fa8a5dd75303554b8acfec3eb25f0e55 qemu-8.1.0.tar.xz +sha256 37ce2ef5e500fb752f681117c68b45118303ea49a7e26bd54080ced54fab7def qemu-8.1.1.tar.xz sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 6aaed32336..167ae007f0 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -6,7 +6,7 @@ # When updating the version, check whether the list of supported targets # needs to be updated. -QEMU_VERSION = 8.1.0 +QEMU_VERSION = 8.1.1 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz QEMU_SITE = https://download.qemu.org QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c @@ -16,6 +16,10 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB # individual source files. QEMU_CPE_ID_VENDOR = qemu +QEMU_IGNORE_CVES += CVE-2023-4135 +QEMU_IGNORE_CVES += CVE-2023-3354 +QEMU_IGNORE_CVES += CVE-2023-3180 + #------------------------------------------------------------- # The build system is now partly based on Meson. -- 2.34.1 From baruch at tkos.co.il Tue Oct 10 07:47:38 2023 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 10 Oct 2023 10:47:38 +0300 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 In-Reply-To: <20231010070558.9791-1-ramirez.clement3@gmail.com> References: <20231010070558.9791-1-ramirez.clement3@gmail.com> Message-ID: <874jiydiiq.fsf@tarshish> Hi Clement, On Tue, Oct 10 2023, Clement Ramirez wrote: > Fixes the following CVEs : > - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) > - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) > - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) > > The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: > > 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release > 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR > 56270e5d3d meson: Fix targetos match for illumos and Solaris. > 60da8301fe s390x/ap: fix missing subsystem reset registration > 8b479229ff ui: fix crash when there are no active_console > d4919bbcc2 virtio-gpu/win32: set the destroy function on load > cae7dc1452 target/riscv: Allocate itrigger timers only once > 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes > 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 > b822207513 hw/riscv: virt: Fix riscv,pmu DT node path > 2947da750e linux-user/riscv: Use abi type for target_ucontext > 60a7f5c8fe hw/intc: Make rtc variable names consistent > 566dac7127 hw/intc: Fix upper/lower mtime write calculation > 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d > 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first > 987e90cfd2 target/riscv/cpu.c: add zmmul isa string > b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts > 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts > 9832a670b3 arm64: Restore trapless ptimer access > df33ce9b6d virtio: Drop out of coroutine context in virtio_load() > eeee989f72 qxl: don't assert() if device isn't yet initialized > 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() > 6356785daa docs tests: Fix use of migrate_set_parameter > 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options > 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error > 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode > d5361580ac hw/ide/ahci: fix broken SError handling > e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() > 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set > 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared > 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling > 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command > c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion > f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian > 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr > 5358980d33 hw/ppc/e500: fix broken snapshot replay > 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup > 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects > e975434d62 target/i386: raise FERR interrupt with iothread locked > e5e77f256f linux-user: Adjust brk for load_bias > 645b87f650 target/arm: properly document FEAT_CRC32 > 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup > 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section > 441106eebb docs/about/license: Update LICENSE URL > 63188a00bb target/arm: Fix 64-bit SSRA > 7012e20b2d target/arm: Fix SME ST1Q > c8e381d672 accel/kvm: Specify default IPA size for arm64 > 34808d041c kvm: Introduce kvm_arch_get_default_type hook > 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts > 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 > c12eddbd48 target/s390x: Fix VSTL with a large length > 880e82ed78 target/s390x: Use a 16-bit immediate in VREP > 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS > > Signed-off-by: Clement Ramirez > --- > package/qemu/qemu.hash | 2 +- > package/qemu/qemu.mk | 6 +++++- > 2 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash > index 506afa8bf3..61e51a923f 100644 > --- a/package/qemu/qemu.hash > +++ b/package/qemu/qemu.hash > @@ -1,4 +1,4 @@ > # Locally computed, tarball verified with GPG signature > -sha256 710c101198e334d4762eef65f649bc43fa8a5dd75303554b8acfec3eb25f0e55 qemu-8.1.0.tar.xz > +sha256 37ce2ef5e500fb752f681117c68b45118303ea49a7e26bd54080ced54fab7def qemu-8.1.1.tar.xz > sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB > diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk > index 6aaed32336..167ae007f0 100644 > --- a/package/qemu/qemu.mk > +++ b/package/qemu/qemu.mk > @@ -6,7 +6,7 @@ > > # When updating the version, check whether the list of supported targets > # needs to be updated. > -QEMU_VERSION = 8.1.0 > +QEMU_VERSION = 8.1.1 > QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz > QEMU_SITE = https://download.qemu.org > QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c > @@ -16,6 +16,10 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB > # individual source files. > QEMU_CPE_ID_VENDOR = qemu > > +QEMU_IGNORE_CVES += CVE-2023-4135 > +QEMU_IGNORE_CVES += CVE-2023-3354 > +QEMU_IGNORE_CVES += CVE-2023-3180 Provided that these CVEs are fixed with this version bump, why do we need to ignore them? baruch > + > #------------------------------------------------------------- > > # The build system is now partly based on Meson. -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From ramirez.clement3 at gmail.com Tue Oct 10 08:41:11 2023 From: ramirez.clement3 at gmail.com (=?UTF-8?Q?Cl=C3=A9ment_Ramirez?=) Date: Tue, 10 Oct 2023 10:41:11 +0200 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 In-Reply-To: <874jiydiiq.fsf@tarshish> References: <20231010070558.9791-1-ramirez.clement3@gmail.com> <874jiydiiq.fsf@tarshish> Message-ID: Hi Baruch, > Provided that these CVEs are fixed with this version bump, why do we > need to ignore them? When I don't ignore the CVEs fixed with the version bump, the pkg-stats tool keeps displaying them. I think it's because the CPE database has no entries for the qemu 8.1.1 version and therefore does not know which CVEs are fixed in this specific version. Cl?ment From baruch at tkos.co.il Tue Oct 10 08:54:57 2023 From: baruch at tkos.co.il (Baruch Siach) Date: Tue, 10 Oct 2023 11:54:57 +0300 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 In-Reply-To: References: <20231010070558.9791-1-ramirez.clement3@gmail.com> <874jiydiiq.fsf@tarshish> Message-ID: <87v8bec0pm.fsf@tarshish> Hi Cl?ment, On Tue, Oct 10 2023, Cl?ment Ramirez wrote: >> Provided that these CVEs are fixed with this version bump, why do we >> need to ignore them? > > When I don't ignore the CVEs fixed with the version bump, the > pkg-stats tool keeps displaying them. > I think it's because the CPE database has no entries for the qemu 8.1.1 version > and therefore does not know which CVEs are fixed in this specific version. This is something that should be fixed in the CPE database. In the mean time there should be a comment that explains why we ignore these CVEs even though they do not actually affect the current package version. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From ramirez.clement3 at gmail.com Tue Oct 10 09:15:13 2023 From: ramirez.clement3 at gmail.com (=?UTF-8?Q?Cl=C3=A9ment_Ramirez?=) Date: Tue, 10 Oct 2023 11:15:13 +0200 Subject: [Buildroot] [PATCH] package/qemu: security bump version to 8.1.1 In-Reply-To: <87v8bec0pm.fsf@tarshish> References: <20231010070558.9791-1-ramirez.clement3@gmail.com> <874jiydiiq.fsf@tarshish> <87v8bec0pm.fsf@tarshish> Message-ID: Hi Baruch, > This is something that should be fixed in the CPE database. > > In the mean time there should be a comment that explains why we ignore > these CVEs even though they do not actually affect the current package > version. I will try to find a way to add an entry in the CPE database, and add a comment to explain why we are ignoring these CVEs. Thanks for your feedbacks, Cl?ment From adam.duskett at amarulasolutions.com Tue Oct 10 10:14:41 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:14:41 +0200 Subject: [Buildroot] [PATCH v2 2/4] package/openrc: add linux-pam support In-Reply-To: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> References: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010101443.719280-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 234fa6de2f..e55057249d 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -27,6 +27,13 @@ else OPENRC_CONF_OPTS += -Dselinux=disabled endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +OPENRC_CONF_OPTS += -Dpam=true +OPENRC_DEPENDENCIES += linux-pam +else +OPENRC_CONF_OPTS += -Dpam=false +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:14:40 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:14:40 +0200 Subject: [Buildroot] [PATCH v2 1/4] package/openrc: bump version to 0.50 Message-ID: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> OpenRC has not been updated for quite some time, and much has changed. - Convert to a meson package. - Update the license hash as the year has changed from 2015 to 2023. - Introduce two new patches: - 0007-Force-symlinking-of-openrc-init-to-init.patch: Prevents rebuillds of the package from failing by forcing symlinking openrc-init to openrc-init. (Upstream: https://github.com/OpenRC/openrc/pull/660) - 0008-allow-setting-rc_libexecdir-path.patch: Introduces the previous behavior of setting the rc directory to /usr/libexec/rc. (Upstream: Upstream: https://github.com/OpenRC/openrc/pull/443) - Install the sysv-rcs script in the new OPENRC_INSTALL_SYSV_RCS_SCRIPT post install hook as the OPENRC_BUILD_CMDS define no longer exists. Tested with tests.init.test_openrc all tests pass. Signed-off-by: Adam Duskett --- v1 -> v2: Reworked patch to actually work properly. Added better explinations and two new patches. ....in-change-run-lock-from-root-uucp-t.patch | 2 +- ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++------- ...lso-create-run-lock-subsys-directory.patch | 2 +- ...ce-symlinking-of-openrc-init-to-init.patch | 31 +++++++++++++ ...008-allow-setting-rc_libexecdir-path.patch | 44 +++++++++++++++++++ package/openrc/openrc.hash | 4 +- package/openrc/openrc.mk | 39 ++++++---------- 7 files changed, 110 insertions(+), 47 deletions(-) create mode 100644 package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch create mode 100644 package/openrc/0008-allow-setting-rc_libexecdir-path.patch diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch index 457fbacb5b..2f0a81bbd3 100644 --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 222bbd3b..7f1a88db 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -85,7 +85,7 @@ fi +@@ -83,7 +83,7 @@ fi fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch index 733506ada9..42f77ffdea 100644 --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles only). Signed-off-by: Carlos Santos +[Adam: update for 0.50] +Signed-off-by: Adam Duskett --- - runlevels/Makefile | 6 ------ + tools/meson_runlevels.sh | 6 ------ 1 file changed, 6 deletions(-) -diff --git a/runlevels/Makefile b/runlevels/Makefile -index 73843d8b..dbfb59ca 100644 ---- a/runlevels/Makefile -+++ b/runlevels/Makefile -@@ -90,12 +90,6 @@ install: - fi; \ - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ - fi -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ -- done; \ -- fi - - check test:: +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh +index 1473d4e..eee256b 100755 +--- a/tools/meson_runlevels.sh ++++ b/tools/meson_runlevels.sh +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" + done + fi +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" +- done; +-fi + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" -- 2.18.2 diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch index cf592a88b0..ad78a4b8f7 100644 --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index e8afc1fb..662ab223 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch new file mode 100644 index 0000000000..4f5aef6b94 --- /dev/null +++ b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch @@ -0,0 +1,31 @@ +From 14f883b672470e526f2576a5d11a75e2023e2ded Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 10 Oct 2023 10:00:24 +0200 +Subject: [PATCH] Force symlinking of openrc-init to init + +When building on embedded SDKs such as Buildroot or Yocto, if OpenRC has a +previous installation, the package will fail the installation step as the +openrc-init is already a symlink to "${DESTDIR}/${sbindir}"/init. Force +symlinking to prevent errors when reinstalling the package. + +Upstream: https://github.com/OpenRC/openrc/pull/660 + +Signed-off-by: Adam Duskett +--- + tools/meson_final.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/meson_final.sh b/tools/meson_final.sh +index ecec6eaa..ef91f9e3 100755 +--- a/tools/meson_final.sh ++++ b/tools/meson_final.sh +@@ -13,5 +13,5 @@ if [ "${os}" != Linux ]; then + fi + install -m 644 "${MESON_BUILD_ROOT}/src/shared/version" "${DESTDIR}/${rc_libexecdir}" + if [ "${os}" = Linux ] && [ "${sysvinit}" = yes ]; then +- ln -s openrc-init "${DESTDIR}/${sbindir}"/init ++ ln -sf openrc-init "${DESTDIR}/${sbindir}"/init + fi +-- +2.41.0 + diff --git a/package/openrc/0008-allow-setting-rc_libexecdir-path.patch b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch new file mode 100644 index 0000000000..a11c789275 --- /dev/null +++ b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch @@ -0,0 +1,44 @@ +From 89c42e7e0d8d5913789a76b007ed6a0c43078c63 Mon Sep 17 00:00:00 2001 +From: artoo +Date: Wed, 8 Sep 2021 22:41:58 +0200 +Subject: [PATCH] allow setting rc_libexecdir path + + - Allow to change the rc dir name of the rc_libexecdir path + - Introduce a librcdir option for override with value 'rc' + +Upstream: https://github.com/OpenRC/openrc/pull/443 + +Signed-off-by: artoo +[Adam: update for 0.50] +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + meson_options.txt | 2 ++ + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b3f8fa..40d4be1 100644 +--- a/meson.build ++++ b/meson.build +@@ -102,7 +102,7 @@ if os == 'Linux' and libexecdir == 'libexec' + libexecdir = 'lib' + endif + libexecdir = rootprefix / libexecdir +-rc_libexecdir = libexecdir / 'rc' ++rc_libexecdir = libexecdir / get_option('librcdir') + rc_bindir = rc_libexecdir / 'bin' + rc_sbindir = rc_libexecdir / 'sbin' + rc_shdir = rc_libexecdir / 'sh' +diff --git a/meson_options.txt b/meson_options.txt +index 2c74152..d2f67e4 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -37,3 +37,5 @@ option('termcap', type : 'combo', + description : 'the termcap library to use') + option('zsh-completions', type : 'boolean', + description : 'install zsh completions') ++option('librcdir', type : 'string', value : 'rc', ++ description : 'default location of rc libexec dir') +-- +2.41.0 + diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash index 4fcfa9132f..24a6878911 100644 --- a/package/openrc/openrc.hash +++ b/package/openrc/openrc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 1d4e70f712..234fa6de2f 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.43.3 +OPENRC_VERSION = 0.50 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE @@ -12,39 +12,26 @@ OPENRC_CPE_ID_VENDOR = openrc_project OPENRC_DEPENDENCIES = ncurses -# set LIBNAME so openrc puts files in proper directories and sets proper -# paths in installed files. Since in buildroot /lib64 and /lib32 always -# points to /lib, it's safe to hardcode it to "lib" -OPENRC_MAKE_OPTS = \ - LIBNAME=lib \ - LIBEXECDIR=/usr/libexec/rc \ - MKPKGCONFIG=no \ - MKSYSVINIT=yes \ - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ - CC=$(TARGET_CC) - -ifeq ($(BR2_SHARED_LIBS),y) -OPENRC_MAKE_OPTS += MKSTATICLIBS=no -else -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes -endif +OPENRC_CONF_OPTS = \ + -Dos=Linux \ + -Dlibrcdir=/usr/libexec/rc \ + -Dpkgconfig=false \ + -Dsysvinit=true \ + -Drootprefix=/ \ + -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux else -OPENRC_MAKE_OPTS += MKSELINUX=no +OPENRC_CONF_OPTS += -Dselinux=disabled endif -define OPENRC_BUILD_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) -endef - -define OPENRC_INSTALL_TARGET_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install +define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs endef +OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_INSTALL_SYSV_RCS_SCRIPT ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so @@ -90,4 +77,4 @@ endef OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY endif # BR2_TARGET_GENERIC_GETTY -$(eval $(generic-package)) +$(eval $(meson-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:14:42 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:14:42 +0200 Subject: [Buildroot] [PATCH v2 3/4] package/openrc: add bash-completion support In-Reply-To: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> References: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010101443.719280-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index e55057249d..9682296807 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -20,6 +20,12 @@ OPENRC_CONF_OPTS = \ -Drootprefix=/ \ -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +OPENRC_CONF_OPTS += -Dbash-completions=true +else +OPENRC_CONF_OPTS += -Dbash-completions=false +endif + ifeq ($(BR2_PACKAGE_LIBSELINUX),y) OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:14:43 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:14:43 +0200 Subject: [Buildroot] [PATCH v2 4/4] package/openrc: add split-user support In-Reply-To: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> References: <20231010101443.719280-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010101443.719280-4-adam.duskett@amarulasolutions.com> Also, introduce a new test in support/testing/tests/init/test_openrc.py that ensures split-user support works properly. Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ support/testing/tests/init/test_openrc.py | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 9682296807..25c22957b4 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -40,6 +40,12 @@ else OPENRC_CONF_OPTS += -Dpam=false endif +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +OPENRC_CONF_OPTS += -Dsplit-usr=true +else +OPENRC_CONF_OPTS += -Dsplit-usr=false +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs diff --git a/support/testing/tests/init/test_openrc.py b/support/testing/tests/init/test_openrc.py index c6ade7676d..c60e079bfa 100644 --- a/support/testing/tests/init/test_openrc.py +++ b/support/testing/tests/init/test_openrc.py @@ -44,3 +44,15 @@ class TestInitSystemOpenrcRwFull(InitSystemOpenrcBase): def test_run(self): self.start_emulator("ext2") self.check_init() + +class TestInitSystemOpenrcMergedUsrFull(InitSystemOpenrcBase): + config = InitSystemOpenrcBase.config + \ + """ + BR2_ROOTFS_MERGED_USR=y + BR2_SYSTEM_DHCP="eth0" + BR2_TARGET_ROOTFS_EXT2=y + """ + + def test_run(self): + self.start_emulator("ext2") + self.check_init() -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:47:32 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:47:32 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/openrc: bump version to 0.50 Message-ID: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> OpenRC has not been updated for quite some time, and much has changed. - Convert to a meson package. - Update the license hash as the year has changed from 2015 to 2023. - Introduce two new patches: - 0007-Force-symlinking-of-openrc-init-to-init.patch: Prevents rebuillds of the package from failing by forcing symlinking openrc-init to openrc-init. (Upstream: https://github.com/OpenRC/openrc/pull/660) - 0008-allow-setting-rc_libexecdir-path.patch: Introduces the previous behavior of setting the rc directory to /usr/libexec/rc. (Upstream: Upstream: https://github.com/OpenRC/openrc/pull/443) - Install the sysv-rcs script in the new OPENRC_INSTALL_SYSV_RCS_SCRIPT post install hook as the OPENRC_BUILD_CMDS define no longer exists. Tested with tests.init.test_openrc all tests pass. Signed-off-by: Adam Duskett --- ....in-change-run-lock-from-root-uucp-t.patch | 2 +- ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++------- ...lso-create-run-lock-subsys-directory.patch | 2 +- ...ce-symlinking-of-openrc-init-to-init.patch | 31 +++++++++++++ ...008-allow-setting-rc_libexecdir-path.patch | 44 +++++++++++++++++++ package/openrc/openrc.hash | 4 +- package/openrc/openrc.mk | 39 ++++++---------- 7 files changed, 110 insertions(+), 47 deletions(-) create mode 100644 package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch create mode 100644 package/openrc/0008-allow-setting-rc_libexecdir-path.patch diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch index 457fbacb5b..2f0a81bbd3 100644 --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 222bbd3b..7f1a88db 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -85,7 +85,7 @@ fi +@@ -83,7 +83,7 @@ fi fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch index 733506ada9..42f77ffdea 100644 --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles only). Signed-off-by: Carlos Santos +[Adam: update for 0.50] +Signed-off-by: Adam Duskett --- - runlevels/Makefile | 6 ------ + tools/meson_runlevels.sh | 6 ------ 1 file changed, 6 deletions(-) -diff --git a/runlevels/Makefile b/runlevels/Makefile -index 73843d8b..dbfb59ca 100644 ---- a/runlevels/Makefile -+++ b/runlevels/Makefile -@@ -90,12 +90,6 @@ install: - fi; \ - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ - fi -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ -- done; \ -- fi - - check test:: +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh +index 1473d4e..eee256b 100755 +--- a/tools/meson_runlevels.sh ++++ b/tools/meson_runlevels.sh +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" + done + fi +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" +- done; +-fi + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" -- 2.18.2 diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch index cf592a88b0..ad78a4b8f7 100644 --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index e8afc1fb..662ab223 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch new file mode 100644 index 0000000000..4f5aef6b94 --- /dev/null +++ b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch @@ -0,0 +1,31 @@ +From 14f883b672470e526f2576a5d11a75e2023e2ded Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 10 Oct 2023 10:00:24 +0200 +Subject: [PATCH] Force symlinking of openrc-init to init + +When building on embedded SDKs such as Buildroot or Yocto, if OpenRC has a +previous installation, the package will fail the installation step as the +openrc-init is already a symlink to "${DESTDIR}/${sbindir}"/init. Force +symlinking to prevent errors when reinstalling the package. + +Upstream: https://github.com/OpenRC/openrc/pull/660 + +Signed-off-by: Adam Duskett +--- + tools/meson_final.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/meson_final.sh b/tools/meson_final.sh +index ecec6eaa..ef91f9e3 100755 +--- a/tools/meson_final.sh ++++ b/tools/meson_final.sh +@@ -13,5 +13,5 @@ if [ "${os}" != Linux ]; then + fi + install -m 644 "${MESON_BUILD_ROOT}/src/shared/version" "${DESTDIR}/${rc_libexecdir}" + if [ "${os}" = Linux ] && [ "${sysvinit}" = yes ]; then +- ln -s openrc-init "${DESTDIR}/${sbindir}"/init ++ ln -sf openrc-init "${DESTDIR}/${sbindir}"/init + fi +-- +2.41.0 + diff --git a/package/openrc/0008-allow-setting-rc_libexecdir-path.patch b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch new file mode 100644 index 0000000000..a11c789275 --- /dev/null +++ b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch @@ -0,0 +1,44 @@ +From 89c42e7e0d8d5913789a76b007ed6a0c43078c63 Mon Sep 17 00:00:00 2001 +From: artoo +Date: Wed, 8 Sep 2021 22:41:58 +0200 +Subject: [PATCH] allow setting rc_libexecdir path + + - Allow to change the rc dir name of the rc_libexecdir path + - Introduce a librcdir option for override with value 'rc' + +Upstream: https://github.com/OpenRC/openrc/pull/443 + +Signed-off-by: artoo +[Adam: update for 0.50] +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + meson_options.txt | 2 ++ + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b3f8fa..40d4be1 100644 +--- a/meson.build ++++ b/meson.build +@@ -102,7 +102,7 @@ if os == 'Linux' and libexecdir == 'libexec' + libexecdir = 'lib' + endif + libexecdir = rootprefix / libexecdir +-rc_libexecdir = libexecdir / 'rc' ++rc_libexecdir = libexecdir / get_option('librcdir') + rc_bindir = rc_libexecdir / 'bin' + rc_sbindir = rc_libexecdir / 'sbin' + rc_shdir = rc_libexecdir / 'sh' +diff --git a/meson_options.txt b/meson_options.txt +index 2c74152..d2f67e4 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -37,3 +37,5 @@ option('termcap', type : 'combo', + description : 'the termcap library to use') + option('zsh-completions', type : 'boolean', + description : 'install zsh completions') ++option('librcdir', type : 'string', value : 'rc', ++ description : 'default location of rc libexec dir') +-- +2.41.0 + diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash index 4fcfa9132f..24a6878911 100644 --- a/package/openrc/openrc.hash +++ b/package/openrc/openrc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 1d4e70f712..234fa6de2f 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.43.3 +OPENRC_VERSION = 0.50 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE @@ -12,39 +12,26 @@ OPENRC_CPE_ID_VENDOR = openrc_project OPENRC_DEPENDENCIES = ncurses -# set LIBNAME so openrc puts files in proper directories and sets proper -# paths in installed files. Since in buildroot /lib64 and /lib32 always -# points to /lib, it's safe to hardcode it to "lib" -OPENRC_MAKE_OPTS = \ - LIBNAME=lib \ - LIBEXECDIR=/usr/libexec/rc \ - MKPKGCONFIG=no \ - MKSYSVINIT=yes \ - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ - CC=$(TARGET_CC) - -ifeq ($(BR2_SHARED_LIBS),y) -OPENRC_MAKE_OPTS += MKSTATICLIBS=no -else -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes -endif +OPENRC_CONF_OPTS = \ + -Dos=Linux \ + -Dlibrcdir=/usr/libexec/rc \ + -Dpkgconfig=false \ + -Dsysvinit=true \ + -Drootprefix=/ \ + -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux else -OPENRC_MAKE_OPTS += MKSELINUX=no +OPENRC_CONF_OPTS += -Dselinux=disabled endif -define OPENRC_BUILD_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) -endef - -define OPENRC_INSTALL_TARGET_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install +define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs endef +OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_INSTALL_SYSV_RCS_SCRIPT ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so @@ -90,4 +77,4 @@ endef OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY endif # BR2_TARGET_GENERIC_GETTY -$(eval $(generic-package)) +$(eval $(meson-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:47:33 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:47:33 +0200 Subject: [Buildroot] [PATCH v3 2/4] package/openrc: add linux-pam support In-Reply-To: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> References: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010104735.882133-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 234fa6de2f..e55057249d 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -27,6 +27,13 @@ else OPENRC_CONF_OPTS += -Dselinux=disabled endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +OPENRC_CONF_OPTS += -Dpam=true +OPENRC_DEPENDENCIES += linux-pam +else +OPENRC_CONF_OPTS += -Dpam=false +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:47:34 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:47:34 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/openrc: add bash-completion support In-Reply-To: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> References: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010104735.882133-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index e55057249d..9682296807 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -20,6 +20,12 @@ OPENRC_CONF_OPTS = \ -Drootprefix=/ \ -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +OPENRC_CONF_OPTS += -Dbash-completions=true +else +OPENRC_CONF_OPTS += -Dbash-completions=false +endif + ifeq ($(BR2_PACKAGE_LIBSELINUX),y) OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:47:35 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:47:35 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/openrc: add split-user support In-Reply-To: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> References: <20231010104735.882133-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010104735.882133-4-adam.duskett@amarulasolutions.com> Also, introduce a new test in support/testing/tests/init/test_openrc.py that ensures split-user support works properly. Signed-off-by: Adam Duskett --- V2 -> V3: Fixed inverse logic [Yann.] package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 9682296807..442731f900 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -40,6 +40,12 @@ else OPENRC_CONF_OPTS += -Dpam=false endif +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +OPENRC_CONF_OPTS += -Dsplit-usr=false +else +OPENRC_CONF_OPTS += -Dsplit-usr=true +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:52:00 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:52:00 +0200 Subject: [Buildroot] [PATCH v4 1/4] package/openrc: bump version to 0.50 Message-ID: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> OpenRC has not been updated for quite some time, and much has changed. - Convert to a meson package. - Update the license hash as the year has changed from 2015 to 2023. - Introduce two new patches: - 0007-Force-symlinking-of-openrc-init-to-init.patch: Prevents rebuillds of the package from failing by forcing symlinking openrc-init to openrc-init. (Upstream: https://github.com/OpenRC/openrc/pull/660) - 0008-allow-setting-rc_libexecdir-path.patch: Introduces the previous behavior of setting the rc directory to /usr/libexec/rc. (Upstream: Upstream: https://github.com/OpenRC/openrc/pull/443) - Install the sysv-rcs script in the new OPENRC_INSTALL_SYSV_RCS_SCRIPT post install hook as the OPENRC_BUILD_CMDS define no longer exists. Tested with tests.init.test_openrc all tests pass. Signed-off-by: Adam Duskett --- ....in-change-run-lock-from-root-uucp-t.patch | 2 +- ...-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch | 35 ++++++++------- ...lso-create-run-lock-subsys-directory.patch | 2 +- ...ce-symlinking-of-openrc-init-to-init.patch | 31 +++++++++++++ ...008-allow-setting-rc_libexecdir-path.patch | 44 +++++++++++++++++++ package/openrc/openrc.hash | 4 +- package/openrc/openrc.mk | 39 ++++++---------- 7 files changed, 110 insertions(+), 47 deletions(-) create mode 100644 package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch create mode 100644 package/openrc/0008-allow-setting-rc_libexecdir-path.patch diff --git a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch index 457fbacb5b..2f0a81bbd3 100644 --- a/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch +++ b/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch @@ -22,7 +22,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 222bbd3b..7f1a88db 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -85,7 +85,7 @@ fi +@@ -83,7 +83,7 @@ fi fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch index 733506ada9..42f77ffdea 100644 --- a/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch +++ b/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch @@ -8,27 +8,28 @@ Also tty[1-6] may not exist (e.g. embedded devices with serial consoles only). Signed-off-by: Carlos Santos +[Adam: update for 0.50] +Signed-off-by: Adam Duskett --- - runlevels/Makefile | 6 ------ + tools/meson_runlevels.sh | 6 ------ 1 file changed, 6 deletions(-) -diff --git a/runlevels/Makefile b/runlevels/Makefile -index 73843d8b..dbfb59ca 100644 ---- a/runlevels/Makefile -+++ b/runlevels/Makefile -@@ -90,12 +90,6 @@ install: - fi; \ - ln -snf ${INITDIR}/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ - fi -- if test "${MKSYSVINIT}" = yes && test "${OS}" = Linux; then \ -- for x in tty1 tty2 tty3 tty4 tty5 tty6; do \ -- ln -snf ${INITDIR}/agetty ${DESTDIR}/${INITDIR}/"agetty.$$x" || exit $$?; \ -- ln -snf ${INITDIR}/agetty.$$x ${DEFAULTDIR}/"agetty.$$x" || exit $$?; \ -- done; \ -- fi - - check test:: +diff --git a/tools/meson_runlevels.sh b/tools/meson_runlevels.sh +index 1473d4e..eee256b 100755 +--- a/tools/meson_runlevels.sh ++++ b/tools/meson_runlevels.sh +@@ -91,11 +91,5 @@ if ! test -d "${DESTDIR}${shutdowndir}"; then + ln -snf "${init_d_dir}/$x" "${DESTDIR}${shutdowndir}/$x" + done + fi +-if test "${sysvinit}" = yes && test "${os}" = Linux; then \ +- for x in tty1 tty2 tty3 tty4 tty5 tty6; do +- ln -snf "${init_d_dir}/agetty" "${DESTDIR}/${init_d_dir}/agetty.$x" +- ln -snf "${init_d_dir}/agetty.$x" "${DESTDIR}/${defaultdir}/agetty.$x" +- done; +-fi + ln -snf "${rc_libexecdir}"/sh/functions.sh "${DESTDIR}/${init_d_dir}" -- 2.18.2 diff --git a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch index cf592a88b0..ad78a4b8f7 100644 --- a/package/openrc/0006-Also-create-run-lock-subsys-directory.patch +++ b/package/openrc/0006-Also-create-run-lock-subsys-directory.patch @@ -15,7 +15,7 @@ diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index e8afc1fb..662ab223 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in -@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then +@@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then fi checkpath -d "$RC_SVCDIR" diff --git a/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch new file mode 100644 index 0000000000..4f5aef6b94 --- /dev/null +++ b/package/openrc/0007-Force-symlinking-of-openrc-init-to-init.patch @@ -0,0 +1,31 @@ +From 14f883b672470e526f2576a5d11a75e2023e2ded Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 10 Oct 2023 10:00:24 +0200 +Subject: [PATCH] Force symlinking of openrc-init to init + +When building on embedded SDKs such as Buildroot or Yocto, if OpenRC has a +previous installation, the package will fail the installation step as the +openrc-init is already a symlink to "${DESTDIR}/${sbindir}"/init. Force +symlinking to prevent errors when reinstalling the package. + +Upstream: https://github.com/OpenRC/openrc/pull/660 + +Signed-off-by: Adam Duskett +--- + tools/meson_final.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/meson_final.sh b/tools/meson_final.sh +index ecec6eaa..ef91f9e3 100755 +--- a/tools/meson_final.sh ++++ b/tools/meson_final.sh +@@ -13,5 +13,5 @@ if [ "${os}" != Linux ]; then + fi + install -m 644 "${MESON_BUILD_ROOT}/src/shared/version" "${DESTDIR}/${rc_libexecdir}" + if [ "${os}" = Linux ] && [ "${sysvinit}" = yes ]; then +- ln -s openrc-init "${DESTDIR}/${sbindir}"/init ++ ln -sf openrc-init "${DESTDIR}/${sbindir}"/init + fi +-- +2.41.0 + diff --git a/package/openrc/0008-allow-setting-rc_libexecdir-path.patch b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch new file mode 100644 index 0000000000..a11c789275 --- /dev/null +++ b/package/openrc/0008-allow-setting-rc_libexecdir-path.patch @@ -0,0 +1,44 @@ +From 89c42e7e0d8d5913789a76b007ed6a0c43078c63 Mon Sep 17 00:00:00 2001 +From: artoo +Date: Wed, 8 Sep 2021 22:41:58 +0200 +Subject: [PATCH] allow setting rc_libexecdir path + + - Allow to change the rc dir name of the rc_libexecdir path + - Introduce a librcdir option for override with value 'rc' + +Upstream: https://github.com/OpenRC/openrc/pull/443 + +Signed-off-by: artoo +[Adam: update for 0.50] +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + meson_options.txt | 2 ++ + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 5b3f8fa..40d4be1 100644 +--- a/meson.build ++++ b/meson.build +@@ -102,7 +102,7 @@ if os == 'Linux' and libexecdir == 'libexec' + libexecdir = 'lib' + endif + libexecdir = rootprefix / libexecdir +-rc_libexecdir = libexecdir / 'rc' ++rc_libexecdir = libexecdir / get_option('librcdir') + rc_bindir = rc_libexecdir / 'bin' + rc_sbindir = rc_libexecdir / 'sbin' + rc_shdir = rc_libexecdir / 'sh' +diff --git a/meson_options.txt b/meson_options.txt +index 2c74152..d2f67e4 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -37,3 +37,5 @@ option('termcap', type : 'combo', + description : 'the termcap library to use') + option('zsh-completions', type : 'boolean', + description : 'install zsh completions') ++option('librcdir', type : 'string', value : 'rc', ++ description : 'default location of rc libexec dir') +-- +2.41.0 + diff --git a/package/openrc/openrc.hash b/package/openrc/openrc.hash index 4fcfa9132f..24a6878911 100644 --- a/package/openrc/openrc.hash +++ b/package/openrc/openrc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE +sha256 8d9bb3a68a491d5d4e0f0af1515e00f27e4463acc0c256930aded26c7c8a834b openrc-0.50.tar.gz +sha256 6ac2bf77510808fbec7dc86cbfbca98dfc4c6b47dc99e4ca77b5370e097d8e70 LICENSE diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 1d4e70f712..234fa6de2f 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.43.3 +OPENRC_VERSION = 0.50 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE @@ -12,39 +12,26 @@ OPENRC_CPE_ID_VENDOR = openrc_project OPENRC_DEPENDENCIES = ncurses -# set LIBNAME so openrc puts files in proper directories and sets proper -# paths in installed files. Since in buildroot /lib64 and /lib32 always -# points to /lib, it's safe to hardcode it to "lib" -OPENRC_MAKE_OPTS = \ - LIBNAME=lib \ - LIBEXECDIR=/usr/libexec/rc \ - MKPKGCONFIG=no \ - MKSYSVINIT=yes \ - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ - CC=$(TARGET_CC) - -ifeq ($(BR2_SHARED_LIBS),y) -OPENRC_MAKE_OPTS += MKSTATICLIBS=no -else -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes -endif +OPENRC_CONF_OPTS = \ + -Dos=Linux \ + -Dlibrcdir=/usr/libexec/rc \ + -Dpkgconfig=false \ + -Dsysvinit=true \ + -Drootprefix=/ \ + -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux else -OPENRC_MAKE_OPTS += MKSELINUX=no +OPENRC_CONF_OPTS += -Dselinux=disabled endif -define OPENRC_BUILD_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) -endef - -define OPENRC_INSTALL_TARGET_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install +define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs endef +OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_INSTALL_SYSV_RCS_SCRIPT ifeq ($(BR2_PACKAGE_KBD),) # keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so @@ -90,4 +77,4 @@ endef OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY endif # BR2_TARGET_GENERIC_GETTY -$(eval $(generic-package)) +$(eval $(meson-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:52:02 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:52:02 +0200 Subject: [Buildroot] [PATCH v4 3/4] package/openrc: add bash-completion support In-Reply-To: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> References: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010105203.883450-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index e55057249d..9682296807 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -20,6 +20,12 @@ OPENRC_CONF_OPTS = \ -Drootprefix=/ \ -Dbranding="\"Buildroot $(BR2_VERSION_FULL)\"" +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +OPENRC_CONF_OPTS += -Dbash-completions=true +else +OPENRC_CONF_OPTS += -Dbash-completions=false +endif + ifeq ($(BR2_PACKAGE_LIBSELINUX),y) OPENRC_CONF_OPTS += -Dselinux=enabled OPENRC_DEPENDENCIES += libselinux -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:52:01 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:52:01 +0200 Subject: [Buildroot] [PATCH v4 2/4] package/openrc: add linux-pam support In-Reply-To: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> References: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010105203.883450-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/openrc/openrc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 234fa6de2f..e55057249d 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -27,6 +27,13 @@ else OPENRC_CONF_OPTS += -Dselinux=disabled endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +OPENRC_CONF_OPTS += -Dpam=true +OPENRC_DEPENDENCIES += linux-pam +else +OPENRC_CONF_OPTS += -Dpam=false +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 10:52:03 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 12:52:03 +0200 Subject: [Buildroot] [PATCH v4 4/4] package/openrc: add split-user support In-Reply-To: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> References: <20231010105203.883450-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010105203.883450-4-adam.duskett@amarulasolutions.com> Also, introduce a new test in support/testing/tests/init/test_openrc.py that ensures split-user support works properly. Signed-off-by: Adam Duskett --- V2 -> V3: Fixed inverse logic [Yann.] V3 -> V4: Add missing test package/openrc/openrc.mk | 6 ++++++ support/testing/tests/init/test_openrc.py | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk index 9682296807..442731f900 100644 --- a/package/openrc/openrc.mk +++ b/package/openrc/openrc.mk @@ -40,6 +40,12 @@ else OPENRC_CONF_OPTS += -Dpam=false endif +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +OPENRC_CONF_OPTS += -Dsplit-usr=false +else +OPENRC_CONF_OPTS += -Dsplit-usr=true +endif + define OPENRC_INSTALL_SYSV_RCS_SCRIPT $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ $(TARGET_DIR)/etc/init.d/sysv-rcs diff --git a/support/testing/tests/init/test_openrc.py b/support/testing/tests/init/test_openrc.py index c6ade7676d..c60e079bfa 100644 --- a/support/testing/tests/init/test_openrc.py +++ b/support/testing/tests/init/test_openrc.py @@ -44,3 +44,15 @@ class TestInitSystemOpenrcRwFull(InitSystemOpenrcBase): def test_run(self): self.start_emulator("ext2") self.check_init() + +class TestInitSystemOpenrcMergedUsrFull(InitSystemOpenrcBase): + config = InitSystemOpenrcBase.config + \ + """ + BR2_ROOTFS_MERGED_USR=y + BR2_SYSTEM_DHCP="eth0" + BR2_TARGET_ROOTFS_EXT2=y + """ + + def test_run(self): + self.start_emulator("ext2") + self.check_init() -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 12:02:38 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 14:02:38 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/nodejs: bump version to 18.18.0 Message-ID: <20231010120238.1064684-1-adam.duskett@amarulasolutions.com> - Refactor 0001-add-qemu-wrapper-support.patch for 18.18.0 - NodeJS now requires GCC 8.3 due to the introduction of the charconv header. However, as there is no BR2_TOOLCHAIN_GCC_AT_LEAST_8_3, we round up to BR2_TOOLCHAIN_GCC_AT_LEAST_9. - Update support/testing/tests/package/test_nodejs.py to use BR2_TOOLCHAIN_EXTERNAL_BOOTLIN, otherwise the test fails as the gcc version selected will be 7. - Update the hash file for LICENSE.txt due to numerous changes, such as the addition of new libraries and updated dates. No new license types are added. Signed-off-by: Adam Duskett --- v1 ->. v2: Rebase off of 4c66ee3cda45bebf9044d09f0d2ceec2ea4298cd package/nodejs/Config.in | 8 +++--- .../0001-add-qemu-wrapper-support.patch | 25 ++++++++++--------- ...ules-cjs-loader.js-adjust-default-pa.patch | 2 +- package/nodejs/nodejs.hash | 15 ++++++----- package/nodejs/nodejs.mk | 2 +- support/testing/tests/package/test_nodejs.py | 2 ++ 6 files changed, 28 insertions(+), 26 deletions(-) diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in index c684f8eb86..76058ebc80 100644 --- a/package/nodejs/Config.in +++ b/package/nodejs/Config.in @@ -7,19 +7,19 @@ config BR2_PACKAGE_NODEJS_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS -comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 7, wchar, host gcc >= 8" +comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 9, wchar, host gcc >= 9" depends on BR2_USE_MMU depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_HOST_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR + !BR2_HOST_GCC_AT_LEAST_9 || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || !BR2_USE_WCHAR config BR2_PACKAGE_NODEJS bool "nodejs" depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv depends on BR2_INSTALL_LIBSTDCPP depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS - depends on BR2_HOST_GCC_AT_LEAST_8 # qemu - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_HOST_GCC_AT_LEAST_9 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # uses fork() depends on BR2_USE_MMU diff --git a/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch b/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch index 184f3d19b7..ea55cc48bc 100644 --- a/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch +++ b/package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch @@ -15,6 +15,7 @@ qemu-wrapper, so add @MAYBE_WRAPPER@ to the needed files and sed the path to the qemu-wrapper on target builds, and remove @MAYBE_WRAPPER@ entirely on host-builds. +[Adam: Update for 18.18.0] Signed-off-by: Adam Duskett --- node.gyp | 4 ++-- @@ -25,16 +26,7 @@ diff --git a/node.gyp b/node.gyp index 97cdbb531d..db5cf51ce6 100644 --- a/node.gyp +++ b/node.gyp -@@ -319,7 +319,7 @@ - 'action_name': 'run_mkcodecache', - 'process_outputs_as_sources': 1, - 'inputs': [ -- '<(mkcodecache_exec)', -+ @MAYBE_WRAPPER@ '<(mkcodecache_exec)', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/node_code_cache.cc', -@@ -346,7 +346,7 @@ +@@ -322,7 +322,7 @@ 'action_name': 'node_mksnapshot', 'process_outputs_as_sources': 1, 'inputs': [ @@ -43,6 +35,15 @@ index 97cdbb531d..db5cf51ce6 100644 '<(node_snapshot_main)', ], 'outputs': [ +@@ -342,7 +342,7 @@ + 'action_name': 'node_mksnapshot', + 'process_outputs_as_sources': 1, + 'inputs': [ +- '<(node_mksnapshot_exec)', ++ @MAYBE_WRAPPER@ '<(node_mksnapshot_exec)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/node_snapshot.cc', diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 73099a03e4..88ca91efb4 100644 --- a/tools/v8_gypfiles/v8.gyp @@ -74,7 +75,7 @@ index 73099a03e4..88ca91efb4 100644 ], 'outputs': [ '<(generate_bytecode_builtins_list_output)', -@@ -395,7 +395,7 @@ +@@ -400,7 +400,7 @@ ], }, 'inputs': [ @@ -83,7 +84,7 @@ index 73099a03e4..88ca91efb4 100644 ], 'outputs': [ '<(INTERMEDIATE_DIR)/snapshot.cc', -@@ -1505,7 +1505,7 @@ +@@ -1569,7 +1569,7 @@ { 'action_name': 'run_gen-regexp-special-case_action', 'inputs': [ diff --git a/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch b/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch index 5b93998e5e..f1cdad3d9c 100644 --- a/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch +++ b/package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch @@ -21,7 +21,7 @@ diff --git a/lib/internal/modules/cjs/loader.js b/lib/internal/modules/cjs/loade index f1971c40a4..5fe3884156 100644 --- a/lib/internal/modules/cjs/loader.js +++ b/lib/internal/modules/cjs/loader.js -@@ -1261,7 +1261,8 @@ Module._initPaths = function() { +@@ -1391,7 +1391,8 @@ Module._initPaths = function() { path.resolve(process.execPath, '..') : path.resolve(process.execPath, '..', '..'); diff --git a/package/nodejs/nodejs.hash b/package/nodejs/nodejs.hash index eaf41f6437..2fff229ed7 100644 --- a/package/nodejs/nodejs.hash +++ b/package/nodejs/nodejs.hash @@ -1,9 +1,8 @@ -# From https://nodejs.org/dist/v16.20.0/SHASUMS256.txt.asc -sha256 aca4794ca60f2e17689a700eeaa95d7adcd5fd01cdd2e4f9d596ac41b600b796 node-v16.20.0-linux-arm64.tar.xz -sha256 5b79addab37bbdc31b442f8e648efad0b5d3aa5f3e0d682f23f4db483408eb2a node-v16.20.0-linux-armv7l.tar.xz -sha256 b439a8f874e8c2fad287ba75a3229407551f5ff9eb41e45e43e9bf67f184f618 node-v16.20.0-linux-ppc64le.tar.xz -sha256 dff21020b555cc165a1ac36da7d4f6c810b35409c94e00afc51d5d370aae47ae node-v16.20.0-linux-x64.tar.xz -sha256 e0990f992234e40a51fe11f92c3816c93a77e1b081145d3dd762cd1026345349 node-v16.20.0.tar.xz - +# From https://nodejs.org/dist/v18.18.0/SHASUMS256.txt.asc +sha256 e2931643cc3ee37375ae5c6dc2028ff526948a227d9fd5d481316240de6e58a5 node-v18.18.0-linux-arm64.tar.xz +sha256 afcc9e01345243a19fbc05ce662b693568f31925679e8e0e7067d752296831f1 node-v18.18.0-linux-armv7l.tar.xz +sha256 121204a93ac931146b3325a1748ae06d8b4d75db37566a792032e1c859bc8911 node-v18.18.0-linux-ppc64le.tar.xz +sha256 3008408e9098f2462f7b1a0f6a48b8a46079beb1c92b6ec43b04713265c96978 node-v18.18.0-linux-x64.tar.xz +sha256 e4d4dbac3634d99f892f00db47da78f98493c339582e8a95fb2dd59f5cfe0f90 node-v18.18.0.tar.xz # Locally calculated -sha256 ba325815d3df8819bebaf37cad67d6e1f82271e1e4a1189b53abd28e261977d6 LICENSE +sha256 a6871483905199033882d66453649675f0e88ffaa07f9f8acb257ce7504bc758 LICENSE diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 2a8c570932..90560d05ff 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -5,7 +5,7 @@ ################################################################################ # _VERSION, _SOURCE and _SITE must be kept empty to avoid downloading anything -NODEJS_COMMON_VERSION = 16.20.0 +NODEJS_COMMON_VERSION = 18.18.0 NODEJS_COMMON_SOURCE = node-v$(NODEJS_COMMON_VERSION).tar.xz NODEJS_COMMON_SITE = http://nodejs.org/dist/v$(NODEJS_COMMON_VERSION) diff --git a/support/testing/tests/package/test_nodejs.py b/support/testing/tests/package/test_nodejs.py index b63d44c97e..c793391649 100644 --- a/support/testing/tests/package/test_nodejs.py +++ b/support/testing/tests/package/test_nodejs.py @@ -10,6 +10,7 @@ class TestNodeJSBasic(infra.basetest.BRTest): BR2_cortex_a9=y BR2_ARM_ENABLE_VFP=y BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_PACKAGE_NODEJS=y BR2_TARGET_ROOTFS_CPIO=y # BR2_TARGET_ROOTFS_TAR is not set @@ -34,6 +35,7 @@ class TestNodeJSModuleHostBin(infra.basetest.BRTest): BR2_cortex_a9=y BR2_ARM_ENABLE_VFP=y BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_PACKAGE_NODEJS=y BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL="lodash" BR2_PACKAGE_HOST_NODEJS_BIN=y -- 2.41.0 From giulio.benetti at benettiengineering.com Tue Oct 10 12:19:09 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 10 Oct 2023 14:19:09 +0200 Subject: [Buildroot] [PATCH] package/libfuse3: bump to version 3.16.2 Message-ID: <20231010121909.1476603-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/libfuse3/libfuse3.hash | 2 +- package/libfuse3/libfuse3.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfuse3/libfuse3.hash b/package/libfuse3/libfuse3.hash index e812bb81e8..6f3b3ce122 100644 --- a/package/libfuse3/libfuse3.hash +++ b/package/libfuse3/libfuse3.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 checksums -sha256 17c44c13f6a123c0c13d074fcf61c230a88531202a40c864187dee78f5851693 libfuse3-3.16.1.tar.gz +sha256 1bc306be1a1f4f6c8965fbdd79c9ccca021fdc4b277d501483a711cbd7dbcd6c libfuse3-3.16.2.tar.gz sha256 b8832d9caaa075bbbd2aef24efa09f8b7ab66a832812d88c602da0c7b4397fad LICENSE diff --git a/package/libfuse3/libfuse3.mk b/package/libfuse3/libfuse3.mk index a4b1f08266..f5c9dae8f7 100644 --- a/package/libfuse3/libfuse3.mk +++ b/package/libfuse3/libfuse3.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFUSE3_VERSION = 3.16.1 +LIBFUSE3_VERSION = 3.16.2 LIBFUSE3_SITE = $(call github,libfuse,libfuse,fuse-$(LIBFUSE3_VERSION)) LIBFUSE3_LICENSE = LGPL-2.1 LIBFUSE3_LICENSE_FILES = LICENSE -- 2.34.1 From florian.schaeffner at physiomed.de Tue Oct 10 12:59:07 2023 From: florian.schaeffner at physiomed.de (=?iso-8859-1?Q?Sch=E4ffner=2C_Florian?=) Date: Tue, 10 Oct 2023 12:59:07 +0000 Subject: [Buildroot] Future buildroot with QtQuick/QML Support Message-ID: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> Hello, our application is built in the development environment with Qt 6 and QtQuick/QML. Now i tried, but wasn't able to setup a working buildroot for our application to run on a embedded device. I found the conversation about qt6 and QML Support on the buildroot mailing list and that it seems to be not possible to setup a buildroot for our needs with Qt6 and QML support. https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ If I understood the answer from Giulio Benetti correctly, there is currently no chance to make this configuration work for our embedded board with buildroot? Can you please tell me if there will be support for this in the next major buildroot version? Or is it not planned or foreseeable when a QML support is possible with buildroot? Thank you and kind regards Florian -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.claveirole at green-communications.fr Tue Oct 10 13:13:27 2023 From: thomas.claveirole at green-communications.fr (Thomas Claveirole) Date: Tue, 10 Oct 2023 15:13:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/openlayers: bump to version 8.1.0 Message-ID: <20231010131327.1128307-1-thomas.claveirole@green-communications.fr> Signed-off-by: Thomas Claveirole --- package/openlayers/openlayers.hash | 2 +- package/openlayers/openlayers.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/openlayers/openlayers.hash b/package/openlayers/openlayers.hash index 61fe8aea2a..af9087ede2 100644 --- a/package/openlayers/openlayers.hash +++ b/package/openlayers/openlayers.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5d89c7017ca85b53bea6402a1222909dc49a061ffa351d3d1e0ac40b94dd2d38 v7.3.0-package.zip +sha256 867778afdd66cd29fe0f14ac4ed316a0ab393f5dccfd2219450848cd0347f1d6 v8.1.0-package.zip sha256 6c4347b83a8c9feef18d57b18e3b6c44cf901b3c344a4a1fbd837e421555ab8e LICENSE.md diff --git a/package/openlayers/openlayers.mk b/package/openlayers/openlayers.mk index 37e530220a..fde83d6e84 100644 --- a/package/openlayers/openlayers.mk +++ b/package/openlayers/openlayers.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENLAYERS_VERSION = 7.3.0 +OPENLAYERS_VERSION = 8.1.0 OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-package.zip OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION) OPENLAYERS_LICENSE = BSD-2-Clause -- 2.42.0 From giulio.benetti at benettiengineering.com Tue Oct 10 13:18:44 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 10 Oct 2023 15:18:44 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> Message-ID: <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> Hello Florian, On 10/10/23 14:59, Sch?ffner, Florian wrote: > Hello, > > our application is built in the development environment with Qt 6 and > QtQuick/QML. Now i tried, but wasn?t able to setup a working buildroot > for our application to run on a embedded device. > > I found the conversation about qt6 and QML Support on the buildroot > mailing list and that it seems to be not possible to setup a buildroot > for our needs with Qt6 and QML support. > > https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > > If I understood the answer from Giulio Benetti correctly, there is > currently no chance to make this configuration work for our embedded > board with buildroot? > > Can you please tell me if there will be support for this in the next > major buildroot version? Or is it not planned or foreseeable when a QML > support is possible with buildroot? as I can see from Buildroot patchork at the moment there is no pending patches to add features, but this doesn't mean it won't be added. Which modules would you be interested in most of all? Best regards -- Giulio Benetti CEO&CTO at Benetti Engineering sas From thomas.claveirole at green-communications.fr Tue Oct 10 13:16:25 2023 From: thomas.claveirole at green-communications.fr (Thomas Claveirole) Date: Tue, 10 Oct 2023 15:16:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/vuejs: bump to version 3.3.4 Message-ID: <20231010131626.1128436-1-thomas.claveirole@green-communications.fr> Signed-off-by: Thomas Claveirole --- package/vuejs/vuejs.hash | 2 +- package/vuejs/vuejs.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vuejs/vuejs.hash b/package/vuejs/vuejs.hash index 488608bc4c..d3bca46803 100644 --- a/package/vuejs/vuejs.hash +++ b/package/vuejs/vuejs.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 b4d0234f0806a723d79a89426c7dbb351cf6cf554c323cf2625a3e078a93d065 vue-3.3.2.tgz +sha256 5d3ab0144d5b8eaf28ccfbf27500669a91463226c4767041c7293ce76065171a vue-3.3.4.tgz sha256 1bb85cc9b13b81ef41c81c51866172fc345e0503c86726a6755b796590b70175 LICENSE diff --git a/package/vuejs/vuejs.mk b/package/vuejs/vuejs.mk index 50b7100b8a..29bf3bc66b 100644 --- a/package/vuejs/vuejs.mk +++ b/package/vuejs/vuejs.mk @@ -4,7 +4,7 @@ # ################################################################################ -VUEJS_VERSION = 3.3.2 +VUEJS_VERSION = 3.3.4 VUEJS_SOURCE = vue-$(VUEJS_VERSION).tgz VUEJS_SITE = https://registry.npmjs.org/vue/- VUEJS_LICENSE = MIT -- 2.42.0 From thomas.claveirole at green-communications.fr Tue Oct 10 13:16:26 2023 From: thomas.claveirole at green-communications.fr (Thomas Claveirole) Date: Tue, 10 Oct 2023 15:16:26 +0200 Subject: [Buildroot] [PATCH 2/2] package/vuejs-router: bump to version 4.2.5 In-Reply-To: <20231010131626.1128436-1-thomas.claveirole@green-communications.fr> References: <20231010131626.1128436-1-thomas.claveirole@green-communications.fr> Message-ID: <20231010131626.1128436-2-thomas.claveirole@green-communications.fr> Signed-off-by: Thomas Claveirole --- package/vuejs-router/vuejs-router.hash | 2 +- package/vuejs-router/vuejs-router.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/vuejs-router/vuejs-router.hash b/package/vuejs-router/vuejs-router.hash index d9468e722d..f87d18f7ed 100644 --- a/package/vuejs-router/vuejs-router.hash +++ b/package/vuejs-router/vuejs-router.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 b044e304367baaaf60fd2ee6880fb02d4e9875bc4321a4e2672a60ad4c5c55b2 vue-router-4.2.0.tgz +sha256 61dc033860c42a2f3af046d461ef14348b1fe9094b27d107f7be6d1420d39b11 vue-router-4.2.5.tgz sha256 91a2845c4db44e7497b514b98634a674c737986ad0db81599307cf733bf850b2 LICENSE diff --git a/package/vuejs-router/vuejs-router.mk b/package/vuejs-router/vuejs-router.mk index 2737134919..7f73fed5d5 100644 --- a/package/vuejs-router/vuejs-router.mk +++ b/package/vuejs-router/vuejs-router.mk @@ -4,7 +4,7 @@ # ################################################################################ -VUEJS_ROUTER_VERSION = 4.2.0 +VUEJS_ROUTER_VERSION = 4.2.5 VUEJS_ROUTER_SOURCE = vue-router-$(VUEJS_ROUTER_VERSION).tgz VUEJS_ROUTER_SITE = https://registry.npmjs.org/vue-router/- VUEJS_ROUTER_LICENSE = MIT -- 2.42.0 From thomas at devoogdt.com Tue Oct 10 14:34:16 2023 From: thomas at devoogdt.com (Thomas Devoogdt) Date: Tue, 10 Oct 2023 16:34:16 +0200 Subject: [Buildroot] [PATCH] package/opengl/libegl: remove BR2_PACKAGE_HAS_LIBEGL_WAYLAND Message-ID: Hi Thomas, Yann, All, What is the status of this patch? It seems useful to have libegl/libgbm support in mesa without pulling in Wayland. Especially for WebKitGTK, Kr, Thomas Devoogdt From adam.duskett at amarulasolutions.com Tue Oct 10 16:45:54 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 18:45:54 +0200 Subject: [Buildroot] [PATCH 2/2] support/testing/tests/package/test_postgresql.py: new test In-Reply-To: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> References: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010164554.2954023-2-adam.duskett@amarulasolutions.com> Perform a basic check that performs the following: - Check if /var/lib/pgsql/postmaster.pid exists. - Check if 'psql -c SHOW server_version;' returns sucessfully. Note: systemd takes quite a while to start up, so check the output of `systemctl is-active postgresql` until it shows "active" with a timeout of 15 seconds. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + .../testing/tests/package/test_postgresql.py | 76 +++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 support/testing/tests/package/test_postgresql.py diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..2421bf8ff7 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -38,6 +38,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: support/testing/tests/package/test_flutter.py +F: support/testing/tests/package/test_postgresql.py N: Adam Heinrich F: package/jack1/ diff --git a/support/testing/tests/package/test_postgresql.py b/support/testing/tests/package/test_postgresql.py new file mode 100644 index 0000000000..b510a02f44 --- /dev/null +++ b/support/testing/tests/package/test_postgresql.py @@ -0,0 +1,76 @@ +import os +import time +import infra.basetest + + +class TestPostgreSQLInitd(infra.basetest.BRTest): + config: str = """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PER_PACKAGE_DIRECTORIES=y + BR2_PACKAGE_POSTGRESQL=y + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_4=y + BR2_TARGET_ROOTFS_EXT2_SIZE="128M" + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.ext2") + self.emulator.boot( + arch="armv7", + kernel="builtin", + kernel_cmdline=["root=/dev/mmcblk0"], + options=["-drive", f"file={img},if=sd,format=raw"]) + self.emulator.login() + + # Check if the Daemon is running + self.assertRunOk("ls /var/lib/pgsql/postmaster.pid") + + # Check if we can connect to the database. + self.assertRunOk("su postgres -c \"psql -c 'SHOW server_version;'\"") + + +class TestPostgreSQLSystemd(infra.basetest.BRTest): + config: str = """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_INIT_SYSTEMD=y + BR2_PER_PACKAGE_DIRECTORIES=y + BR2_PACKAGE_POSTGRESQL=y + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_4=y + BR2_TARGET_ROOTFS_EXT2_SIZE="128M" + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.ext2") + self.emulator.boot( + arch="armv7", + kernel="builtin", + kernel_cmdline=["root=/dev/mmcblk0"], + options=["-drive", f"file={img},if=sd,format=raw"]) + self.emulator.login() + + # Check if the Daemon is running + self.assertRunOk("ls /var/lib/pgsql/postmaster.pid") + + # It may take some time for PostgreSQL to finish startup. Give it at least 15 seconds. + is_active = False + for i in range(15): + output, _ = self.emulator.run("systemctl is-active postgresql") + if output[0] == "active": + is_active = True + break + time.sleep(1) + if not is_active: + self.fail("postgresql failed to active.") + # Check if we can connect to the database. + self.assertRunOk("cd / && su postgres -c \"psql -c 'SHOW server_version;'\"") -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 16:45:53 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 18:45:53 +0200 Subject: [Buildroot] [PATCH 1/2] package/postgresql/postgresql.service: set locale for initdb to C Message-ID: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> From: Peter Seiderer >From this patch from Sept. 20, 2020, postgresql.service is still broken on startup: Postgresql systemd startup fails with: Starting PostgreSQL database server... [FAILED] Failed to start PostgreSQL database server. See 'systemctl status postgresql.service' for details. $ systemctl status postgresql.service | cat ? postgresql.service - PostgreSQL database server Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2020-09-12 12:16:35 UTC; 35s ago Process: 164 ExecStartPre=/bin/sh -c if [ ! -f /var/lib/pgsql/PG_VERSION ]; then /usr/bin/pg_ctl initdb -D /var/lib/pgsql; fi (code=exited, status=1/FAILURE) Sep 12 12:16:35 buildroot systemd[1]: Starting PostgreSQL database server... Sep 12 12:16:35 buildroot postgres[166]: The files belonging to this database system will be owned by user "postgres". Sep 12 12:16:35 buildroot postgres[166]: This user must also own the server process. Sep 12 12:16:35 buildroot postgres[166]: initdb: error: invalid locale settings; check LANG and LC_* environment variables Sep 12 12:16:35 buildroot systemd[1]: postgresql.service: Control process exited, code=exited, status=1/FAILURE Sep 12 12:16:35 buildroot postgres[164]: pg_ctl: database system initialization failed Sep 12 12:16:35 buildroot systemd[1]: postgresql.service: Failed with result 'exit-code'. Sep 12 12:16:35 buildroot systemd[1]: Failed to start PostgreSQL database server. Fix it by setting a sane/always available locale=C in the startup files. A similare failure/fix was reported by Pascal de Bruijn ([1]), but with en_US.UTF-8 instead of C. [1] http://lists.busybox.net/pipermail/buildroot/2019-November/266700.html Signed-off-by: Peter Seiderer Signed-off-by: Adam Duskett --- package/postgresql/postgresql.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/postgresql/postgresql.service b/package/postgresql/postgresql.service index 539eea8964..245375b77d 100644 --- a/package/postgresql/postgresql.service +++ b/package/postgresql/postgresql.service @@ -16,7 +16,7 @@ StandardOutput=syslog StandardError=syslog SyslogIdentifier=postgres -ExecStartPre=/bin/sh -c "if [ ! -f /var/lib/pgsql/PG_VERSION ]; then /usr/bin/pg_ctl initdb -D /var/lib/pgsql; fi" +ExecStartPre=/bin/sh -c "if [ ! -f /var/lib/pgsql/PG_VERSION ]; then /usr/bin/pg_ctl initdb -D /var/lib/pgsql -o --locale=C; fi" ExecStart=/usr/bin/postgres -D /var/lib/pgsql ExecReload=/usr/bin/kill -HUP $MAINPID KillMode=mixed -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:25 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:25 +0200 Subject: [Buildroot] [PATCH 1/9] package/dhcp: enable selinux module Message-ID: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/dhcp/dhcp.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 7be40191c8..9d0bcf001f 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -7,6 +7,7 @@ DHCP_VERSION = 4.4.3-P1 DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES +DHCP_SELINUX_MODULES = dhcp DHCP_LICENSE = MPL-2.0 DHCP_LICENSE_FILES = LICENSE DHCP_DEPENDENCIES = host-gawk -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:26 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:26 +0200 Subject: [Buildroot] [PATCH 2/9] package/docker: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-2-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/docker/docker.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/docker/docker.mk b/package/docker/docker.mk index 4a8c6fcd8d..39f7ee4580 100644 --- a/package/docker/docker.mk +++ b/package/docker/docker.mk @@ -7,7 +7,7 @@ DOCKER_VERSION = 1.5 DOCKER_SITE = http://icculus.org/openbox/2/docker DOCKER_DEPENDENCIES = host-pkgconf libglib2 xlib_libX11 - +DOCKER_SELINUX_MODULES = docker DOCKER_LICENSE = GPL-2.0+ # The 'or later' is specified at the end of the README, so include that one too. DOCKER_LICENSE_FILES = COPYING README -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:27 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:27 +0200 Subject: [Buildroot] [PATCH 3/9] package/mono: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-3-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/mono/mono.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mono/mono.mk b/package/mono/mono.mk index b88f2b379e..aead85bac0 100644 --- a/package/mono/mono.mk +++ b/package/mono/mono.mk @@ -7,6 +7,7 @@ MONO_VERSION = 6.12.0.182 MONO_SITE = http://download.mono-project.com/sources/mono MONO_SOURCE = mono-$(MONO_VERSION).tar.xz +MONO_SELINUX_MODULES = mono MONO_LICENSE = GPL-2.0 or MIT (compiler, tools), MIT (libs) or commercial MONO_LICENSE_FILES = LICENSE mcs/COPYING \ external/Newtonsoft.Json/Tools/7-zip/copying.txt -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:28 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:28 +0200 Subject: [Buildroot] [PATCH 4/9] package/qemu: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-4-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/qemu/qemu.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 6aaed32336..208233cfd9 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -9,6 +9,7 @@ QEMU_VERSION = 8.1.0 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz QEMU_SITE = https://download.qemu.org +QEMU_SELINUX_MODULES = qemu QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c QEMU_LICENSE_FILES = COPYING COPYING.LIB # NOTE: there is no top-level license file for non-(L)GPL licenses; -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:30 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:30 +0200 Subject: [Buildroot] [PATCH 6/9] package/watchdog: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-6-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/watchdog/watchdog.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/watchdog/watchdog.mk b/package/watchdog/watchdog.mk index 2699fb474f..c5066ad5b1 100644 --- a/package/watchdog/watchdog.mk +++ b/package/watchdog/watchdog.mk @@ -6,6 +6,7 @@ WATCHDOG_VERSION = 5.16 WATCHDOG_SITE = http://downloads.sourceforge.net/sourceforge/watchdog +WATCHDOG_SELINUX_MODULES = watchdog WATCHDOG_LICENSE = GPL-2.0+ WATCHDOG_LICENSE_FILES = COPYING # By default installs binaries in /usr/sbin/, but we want them in -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:29 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:29 +0200 Subject: [Buildroot] [PATCH 5/9] package/tzdata: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-5-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/tzdata/tzdata.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/tzdata/tzdata.mk b/package/tzdata/tzdata.mk index 08f3c83bd1..33e296d7d7 100644 --- a/package/tzdata/tzdata.mk +++ b/package/tzdata/tzdata.mk @@ -7,6 +7,7 @@ TZDATA_VERSION = 2023c TZDATA_SOURCE = tzdata$(TZDATA_VERSION).tar.gz TZDATA_SITE = https://www.iana.org/time-zones/repository/releases +TZDATA_SELINUX_MODULES = tzdata TZDATA_STRIP_COMPONENTS = 0 TZDATA_DEPENDENCIES = host-tzdata HOST_TZDATA_DEPENDENCIES = host-zic -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:31 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:31 +0200 Subject: [Buildroot] [PATCH 7/9] package/xen: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-7-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/xen/xen.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/xen/xen.mk b/package/xen/xen.mk index 169753e89f..fcf35144a5 100644 --- a/package/xen/xen.mk +++ b/package/xen/xen.mk @@ -6,6 +6,7 @@ XEN_VERSION = 4.14.5 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) +XEN_SELINUX_MODULES = xen XEN_LICENSE = GPL-2.0 XEN_LICENSE_FILES = COPYING XEN_CPE_ID_VENDOR = xen -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:33 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:33 +0200 Subject: [Buildroot] [PATCH 9/9] package/zfs: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-9-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/zfs/zfs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk index b852d8d4e2..f0461ea9ec 100644 --- a/package/zfs/zfs.mk +++ b/package/zfs/zfs.mk @@ -7,6 +7,7 @@ ZFS_VERSION = 2.1.12 ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION) ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch +ZFS_SELINUX_MODULES = zfs ZFS_LICENSE = CDDL ZFS_LICENSE_FILES = LICENSE COPYRIGHT ZFS_CPE_ID_VENDOR = openzfs -- 2.41.0 From adam.duskett at amarulasolutions.com Tue Oct 10 17:01:32 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 19:01:32 +0200 Subject: [Buildroot] [PATCH 8/9] package/zabbix: enable selinux module In-Reply-To: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> References: <20231010170133.2981698-1-adam.duskett@amarulasolutions.com> Message-ID: <20231010170133.2981698-8-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/zabbix/zabbix.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zabbix/zabbix.mk b/package/zabbix/zabbix.mk index 0d6c579f4c..3b126caa49 100644 --- a/package/zabbix/zabbix.mk +++ b/package/zabbix/zabbix.mk @@ -7,6 +7,7 @@ ZABBIX_VERSION_MAJOR = 6.2 ZABBIX_VERSION = $(ZABBIX_VERSION_MAJOR).7 ZABBIX_SITE = https://cdn.zabbix.com/zabbix/sources/stable/$(ZABBIX_VERSION_MAJOR) +ZABBIX_SELINUX_MODULES = zabbix ZABBIX_LICENSE = GPL-2.0+ ZABBIX_LICENSE_FILES = README COPYING ZABBIX_CPE_ID_VENDOR = zabbix -- 2.41.0 From fido_max at inbox.ru Tue Oct 10 17:02:38 2023 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Tue, 10 Oct 2023 20:02:38 +0300 Subject: [Buildroot] [PATCH 1/2] package/postgresql/postgresql.service: set locale for initdb to C In-Reply-To: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> References: <20231010164554.2954023-1-adam.duskett@amarulasolutions.com> Message-ID: <9fb1ef66-66d6-460b-bb12-9ed8f067947a@inbox.ru> On 10.10.2023 19:45, Adam Duskett wrote: > From: Peter Seiderer > > From this patch from Sept. 20, 2020, postgresql.service is still broken on > startup: > > Postgresql systemd startup fails with: > Signed-off-by: Peter Seiderer > Signed-off-by: Adam Duskett Reviewed-by: Maxim Kochetkov From arnout at mind.be Tue Oct 10 18:10:51 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 20:10:51 +0200 Subject: [Buildroot] [RFC] Per-package and relocatable SDKs problem? In-Reply-To: References: Message-ID: Hi Charles, On 09/10/2023 23:37, Charles Hardin wrote: > For the curious, > > We have discovered a problem in that the per-package build of the host > directory is doing an rsync to finalize the tree from the last > per-package directory in the dependency chain (in our case below this > is qt5tools). This means that several text files like the one below > (shasum) contain the per-package directory path in them. > > For example - a per-package build and check the BUILD directory to > check the shasum script > > $ head -5 host/bin/shasum > #!/home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl > eval 'exec > /home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl > -S $0 ${1+"$@"}' > if 0; # ^ Run only under a shell > #!perl > ... snip snip ... > > This works in the build path but will fail when the SDK is made and > relocated because the relocate-sdk.sh script doesn't handle > per-package paths. > > # Make sure file uses the right language > export LC_ALL=C > # Replace the old path with the new one in all text files > grep -lr "${OLDPATH}" . | while read -r FILE ; do > if file -b --mime-type "${FILE}" | grep -q '^text/' && [ > "${FILE}" != "${LOCFILE}" ] > then > sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" > fi > done > > > The OLDPATH is the old location of the directory without the concept > of the per-package paths in the tree. So, is this something that is > known? Tried searching the mailing list and commits and didn't see a > reference to this problem so was a bit curious. I believe that should be fixed by [1]. Apparently nobody else encountered this problem up to now because that patch never received any Acked-by or Tested-by :-) Regards, Arnout [1] https://patchwork.ozlabs.org/project/buildroot/patch/20221227154300.10556-1-brandon.maier at collins.com/ > > Charles > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Oct 10 18:24:02 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 20:24:02 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> Message-ID: <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> On 10/10/2023 15:18, Giulio Benetti wrote: > Hello Florian, > > On 10/10/23 14:59, Sch?ffner, Florian wrote: >> Hello, >> >> our application is built in the development environment with Qt 6 and >> QtQuick/QML. Now i tried, but wasn?t able to setup a working buildroot for our >> application to run on a embedded device. >> >> I found the conversation about qt6 and QML Support on the buildroot mailing >> list and that it seems to be not possible to setup a buildroot for our needs >> with Qt6 and QML support. >> >> https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ >> >> If I understood the answer from Giulio Benetti correctly, there is currently >> no chance to make this configuration work for our embedded board with buildroot? >> >> Can you please tell me if there will be support for this in the next major >> buildroot version? Or is it not planned or foreseeable when a QML support is >> possible with buildroot? Buildroot is a volunteer project - nothing is "planned" unless someone goes through the effort of contributing it. > as I can see from Buildroot patchork at the moment there is no pending > patches to add features, but this doesn't mean it won't be added. > > Which modules would you be interested in most of all? If you're not able or willing to develop the Qt6 QML support yourself, you may want to hire some help to do it. At the bottom of the "support" page on the website [1] some companies are mentioned that can provide that help (I work for one of them). Or you can find a freelancer - like Giulio. You can also ask the original contributor of Qt6 (Jesse, added in Cc) if they perhaps have some PoC for QML already. Or perhaps their employer would be willing to share the cost of developing it. Regards, Arnout From stefan.nickl at gmail.com Tue Oct 10 18:50:40 2023 From: stefan.nickl at gmail.com (Stefan Nickl) Date: Tue, 10 Oct 2023 20:50:40 +0200 Subject: [Buildroot] candidate packages : ros2 and wxwidgets In-Reply-To: References: <2209e11a-bda9-5193-9b4d-20a5f0fa34e3@linatsea.fr> Message-ID: On Wed, 2022-06-29 at 15:29 +0100, Mike Davies wrote: > I have spent many hours (over 100 so far) trying to get ROS2 built as > part of buildroot. I have been using the recommended ROS source build > route of using rosdep/colcon etc., to build ROS2 Galactic and more > recently Humble > > Starting with buildroot-2022.02 I have had to add 41 new packages, and > alter an existing 6 packages - either adding host builds or changing > configuration options. > > So far I have managed to build 157 of the 340 odd components. I can get > code onto the target, but it doesn't do a lot because so many > components are missing. > > Alas, I have got to the stage where I think it is no longer possible to > progress, or at least, it is going to take vastly more time than I am > willing to take. Hey Mike, I just found this old thread and wondered if you could share the work you've done so far. I'm interested in using ROS2 in an embedded system with buildroot and cross-compilation to aarch64. I don't need a full ros distribution, just enable some basic C/C++ programs on the target to talk with other ros nodes on the network via topics, services and actions. Maybe having just a very stripped-down version of ROS2 in buildroot would be useful for others as well. Thanks, Stefan From jesseevg at gmail.com Tue Oct 10 18:55:20 2023 From: jesseevg at gmail.com (Jesse Van Gavere) Date: Tue, 10 Oct 2023 20:55:20 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> Message-ID: Hi, Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle : > > > > On 10/10/2023 15:18, Giulio Benetti wrote: > > Hello Florian, > > > > On 10/10/23 14:59, Sch?ffner, Florian wrote: > >> Hello, > >> > >> our application is built in the development environment with Qt 6 and > >> QtQuick/QML. Now i tried, but wasn?t able to setup a working buildroot for our > >> application to run on a embedded device. > >> > >> I found the conversation about qt6 and QML Support on the buildroot mailing > >> list and that it seems to be not possible to setup a buildroot for our needs > >> with Qt6 and QML support. > >> > >> https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > >> > >> If I understood the answer from Giulio Benetti correctly, there is currently > >> no chance to make this configuration work for our embedded board with buildroot? > >> > >> Can you please tell me if there will be support for this in the next major > >> buildroot version? Or is it not planned or foreseeable when a QML support is > >> possible with buildroot? > > Buildroot is a volunteer project - nothing is "planned" unless someone goes > through the effort of contributing it. > > > as I can see from Buildroot patchork at the moment there is no pending > > patches to add features, but this doesn't mean it won't be added. > > > > Which modules would you be interested in most of all? > > If you're not able or willing to develop the Qt6 QML support yourself, you may > want to hire some help to do it. At the bottom of the "support" page on the > website [1] some companies are mentioned that can provide that help (I work for > one of them). Or you can find a freelancer - like Giulio. > > You can also ask the original contributor of Qt6 (Jesse, added in Cc) if they > perhaps have some PoC for QML already. Or perhaps their employer would be > willing to share the cost of developing it. I do have a working POC to build QML with a plan for supporting QtQuick, which I very much wanted to get upstreamed, however I've been swamped with other non-buildroot work sadly. That said, it should be very doable to add this support with not too much work. In a nutshell: You need to add qtshadertools because of the qsb tool it builds, this is a dependency for qtdeclarative to build QtQuick This patch will be important: http://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ The tricky thing there is that the host qt package does not build the GUI by default, however since qt6 certain tools need to be built through the host package, qsb is one of those, and to actually build qsb through the qtshadertools package you need GUI support in the host build, Thomas has provided some valuable feedback there how a proper follow up patch could look like to add this functionality the right way. Once that's done QML/QtQuick will be quite trivial to add, I already have a qt6declarative package you could work with and (with some refreshing of my memory) I could provide you the necessary config options to add QtQuick alongside it. As said I don't have the time myself at the moment to do it right, and I don't have a timeline for when I'll be able to do so, but if you're willing to continue on the work I have to get it merged in, I'll gladly help out where I can with some of my initial work and what I know of how to get it all working, the finishing touches and testing will be up to you however :) > > Regards, > Arnout > From ckhardin at gmail.com Tue Oct 10 19:05:31 2023 From: ckhardin at gmail.com (Charles Hardin) Date: Tue, 10 Oct 2023 12:05:31 -0700 Subject: [Buildroot] [RFC] Per-package and relocatable SDKs problem? In-Reply-To: References: Message-ID: Hi Arnout On Tue, Oct 10, 2023 at 11:10?AM Arnout Vandecappelle wrote: > > Hi Charles, > > On 09/10/2023 23:37, Charles Hardin wrote: > > For the curious, > > > > We have discovered a problem in that the per-package build of the host > > directory is doing an rsync to finalize the tree from the last > > per-package directory in the dependency chain (in our case below this > > is qt5tools). This means that several text files like the one below > > (shasum) contain the per-package directory path in them. > > > > For example - a per-package build and check the BUILD directory to > > check the shasum script > > > > $ head -5 host/bin/shasum > > #!/home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl > > eval 'exec > > /home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl > > -S $0 ${1+"$@"}' > > if 0; # ^ Run only under a shell > > #!perl > > ... snip snip ... > > > > This works in the build path but will fail when the SDK is made and > > relocated because the relocate-sdk.sh script doesn't handle > > per-package paths. > > > > # Make sure file uses the right language > > export LC_ALL=C > > # Replace the old path with the new one in all text files > > grep -lr "${OLDPATH}" . | while read -r FILE ; do > > if file -b --mime-type "${FILE}" | grep -q '^text/' && [ > > "${FILE}" != "${LOCFILE}" ] > > then > > sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" > > fi > > done > > > > > > The OLDPATH is the old location of the directory without the concept > > of the per-package paths in the tree. So, is this something that is > > known? Tried searching the mailing list and commits and didn't see a > > reference to this problem so was a bit curious. > > I believe that should be fixed by [1]. > > Apparently nobody else encountered this problem up to now because that patch > never received any Acked-by or Tested-by :-) > > Regards, > Arnout > > [1] > https://patchwork.ozlabs.org/project/buildroot/patch/20221227154300.10556-1-brandon.maier at collins.com/ > Confirmed - this fixed the problem. Thanks. Applied the patch for our project - hopefully it get's merged into mainline. > > > > > > Charles > > _______________________________________________ > > buildroot mailing list > > buildroot at buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Oct 10 19:32:21 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 21:32:21 +0200 Subject: [Buildroot] [PATCH 3/7] package/skeleton-init-systemd: force permissions for buildroot runtime dirs In-Reply-To: <20230115125253.280257-4-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-4-nolange79@gmail.com> Message-ID: <42d44a84-66e8-65f5-8e06-92f95b381291@mind.be> Hi Norbert, Obviously, this doesn't apply any more because I committed a different tree. However... On 15/01/2023 13:52, Norbert Lange wrote: > A previous commit introduced /run/.br and /tmp/.br and a few > subdirectories. > Add a tmpfile to ensure the existance, ownership and permissions. > > Signed-off-by: Norbert Lange > --- > package/skeleton-init-systemd/00-buildroot.conf | 7 +++++++ > package/skeleton-init-systemd/skeleton-init-systemd.mk | 1 + > 2 files changed, 8 insertions(+) > create mode 100644 package/skeleton-init-systemd/00-buildroot.conf > > diff --git a/package/skeleton-init-systemd/00-buildroot.conf b/package/skeleton-init-systemd/00-buildroot.conf > new file mode 100644 > index 0000000000..a4c7bf0576 > --- /dev/null > +++ b/package/skeleton-init-systemd/00-buildroot.conf > @@ -0,0 +1,7 @@ > +# Create buildroot API directories and fix permissions > + > +d /run/.br 0755 root root - > +d /tmp/.br 0755 root root - I don't think this tmp directory is used anywhere? > +z /run/.br/bnd 0700 root root - > +z /run/.br/ovl 0700 root root - What's the point of doing this? These directories are created by the overlay service file. systemd-tmpfiles is started after local-fs.target and the /var overlay mount comes before, so it's the overlay service file that has to create them. You could say "hey maybe there's some other service that makes use of those directories" - but if so, that's another service that is going to come before local-fs.target, so it _also_ has to create those directories itself... There's a bit of a problem with systemd-tmpfiles, that it doesn't allow to specify dependencies/ordering. That's in fact one of the reasons the factory approach doesn't work so well. systemd-tmpfiles only works for services after sysinit.target, really - and therefore doesn't work for anything related to local filesystems. IMHO it would have been better to put tmpfile blocks in service definitions. But that's not the world we live in :-) So, I've marked as Rejected, but feel free to argue my points. Regards, Arnout > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index ad529cddf6..f431ec4612 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -91,6 +91,7 @@ define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS > ln -s ../run $(TARGET_DIR)/var/run > # prevent install scripts to create var/lock as directory > ln -s ../run/lock $(TARGET_DIR)/var/lock > + install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/00-buildroot.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/00-buildroot.conf > install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf > $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) > endef From adam.duskett at amarulasolutions.com Tue Oct 10 19:52:18 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Tue, 10 Oct 2023 21:52:18 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> Message-ID: I can see about porting the package tomorrow! No worries! Adam Duskett Senior Embedded Systems Developer M. +1208-515-8102 adam.duskett at amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9170 info at amarulasolutions.com www.amarulasolutions.com On Tue, Oct 10, 2023 at 8:55?PM Jesse Van Gavere wrote: > Hi, > > Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle : > > > > > > > > On 10/10/2023 15:18, Giulio Benetti wrote: > > > Hello Florian, > > > > > > On 10/10/23 14:59, Sch?ffner, Florian wrote: > > >> Hello, > > >> > > >> our application is built in the development environment with Qt 6 and > > >> QtQuick/QML. Now i tried, but wasn?t able to setup a working > buildroot for our > > >> application to run on a embedded device. > > >> > > >> I found the conversation about qt6 and QML Support on the buildroot > mailing > > >> list and that it seems to be not possible to setup a buildroot for > our needs > > >> with Qt6 and QML support. > > >> > > >> > https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > > >> > > >> If I understood the answer from Giulio Benetti correctly, there is > currently > > >> no chance to make this configuration work for our embedded board with > buildroot? > > >> > > >> Can you please tell me if there will be support for this in the next > major > > >> buildroot version? Or is it not planned or foreseeable when a QML > support is > > >> possible with buildroot? > > > > Buildroot is a volunteer project - nothing is "planned" unless someone > goes > > through the effort of contributing it. > > > > > as I can see from Buildroot patchork at the moment there is no pending > > > patches to add features, but this doesn't mean it won't be added. > > > > > > Which modules would you be interested in most of all? > > > > If you're not able or willing to develop the Qt6 QML support yourself, > you may > > want to hire some help to do it. At the bottom of the "support" page on > the > > website [1] some companies are mentioned that can provide that help (I > work for > > one of them). Or you can find a freelancer - like Giulio. > > > > You can also ask the original contributor of Qt6 (Jesse, added in Cc) > if they > > perhaps have some PoC for QML already. Or perhaps their employer would be > > willing to share the cost of developing it. > > I do have a working POC to build QML with a plan for supporting > QtQuick, which I very much wanted to get upstreamed, however I've been > swamped with other non-buildroot work sadly. > That said, it should be very doable to add this support with not too much > work. > In a nutshell: > You need to add qtshadertools because of the qsb tool it builds, this > is a dependency for qtdeclarative to build QtQuick > This patch will be important: > > http://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ > The tricky thing there is that the host qt package does not build the > GUI by default, however since qt6 certain tools need to be built > through the host package, qsb is one of those, and to actually build > qsb through the qtshadertools package you need GUI support in the host > build, Thomas has provided some valuable feedback there how a proper > follow up patch could look like to add this functionality the right > way. > > Once that's done QML/QtQuick will be quite trivial to add, I already > have a qt6declarative package you could work with and (with some > refreshing of my memory) I could provide you the necessary config > options to add QtQuick alongside it. > > As said I don't have the time myself at the moment to do it right, and > I don't have a timeline for when I'll be able to do so, but if you're > willing to continue on the work I have to get it merged in, I'll > gladly help out where I can with some of my initial work and what I > know of how to get it all working, the finishing touches and testing > will be up to you however :) > > > > > Regards, > > Arnout > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnout at mind.be Tue Oct 10 19:59:53 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 21:59:53 +0200 Subject: [Buildroot] [PATCH 4/7] system: add systemd generator for /var In-Reply-To: <20230115125253.280257-5-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-5-nolange79@gmail.com> Message-ID: <4aaccdae-a9d8-6fea-8efb-99cdacf359b4@mind.be> Hi Norbert, I'm not entirely sure about this one, but not completely against it either. Since I do have a few comments below, I've marked as Changes Requested. On 15/01/2023 13:52, Norbert Lange wrote: > This commit adds an alternative that has the following characteristics: This commit adds an alternative /var management method that has the following characteristics: > > - Dont depend on anything being available, except the > API File Systems [1]. > > - Be a clean drop-in, that can be trivially added / removed. > > - Runs before systemd loads its configuration. > > Could be extended to handle more tricky paths like /etc. Well, for /etc there is no real reason for it to be writeable (but not persistent), is there? There are some debugging situations where it could be useful, but then I think you could just as well use the overlayfs approach. What is missing here still is why you'd prefer this over the overlay approach. That's explained in the help text though. Not that I really believe there's a good reason though - see below. > For more explaination, see the commit introducing the overlay method. That's commit 10c637ab06d935bbce4c833c4ab9695cdb32b6c8 now. I put most of your explanation in the commit message so this reference should still apply. explaination -> explanation > > The implementation doesnt focus on being expandable but simple, doesn't > in the future there could be an attempt to source shell scripts > for configuration. > So that multiple paths can be covered (/etc), > or the mounts and handling specified > (do-nothing, copy-over or overlay original contents). I don't think it makes sense to refer to an unproven theoretical extension like trying for some kind of half-baked writeable overlay without using overlayfs. Well, I shouldn't be talking, my current project is in fact doing exactly that - but let me tell you, it's half baked :-) > The intent is to have a direct replacement for the var factory method. > > [1] - https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems/ > > Cc: Yann E. MORIN > Cc: Romain Naour > Cc: Je?re?my Rosen > Signed-off-by: Norbert Lange > --- > .../generator/br-mount-generator | 19 +++++++++++++++++++ > .../skeleton-init-systemd.mk | 10 +++++++++- > system/Config.in | 13 +++++++++++++ > 3 files changed, 41 insertions(+), 1 deletion(-) > create mode 100755 package/skeleton-init-systemd/generator/br-mount-generator > > diff --git a/package/skeleton-init-systemd/generator/br-mount-generator b/package/skeleton-init-systemd/generator/br-mount-generator > new file mode 100755 > index 0000000000..fd10659c1c > --- /dev/null > +++ b/package/skeleton-init-systemd/generator/br-mount-generator > @@ -0,0 +1,19 @@ > +#!/bin/sh > +set -e > +# SPDX-License-Identifier: MIT The MIT license suggest that you copied this from somewhere else. If so, you must refer to the original - at least to the original author, as required by the MIT license. > +# Note: doing heavy stuff here is not recommended, but this way > +# the ordering is guaranteed. Be quick about everything. > +# Know that the generator can be run again later. > + > +[ "${SYSTEMD_IN_INITRD-0}" = 1 ] && exit I don't like this redundant default of 0 much. But that's just minor. > +grep '^tmpfs_br_var /var tmpfs' /proc/self/mounts >/dev/null && exit Why >/dev/null instead of grep -q? > + > +TMPMOUNT=/run/.br/.tmpvar > +trap "umount -l $TMPMOUNT || :; rmdir $TMPMOUNT || :" 0 > + > +mkdir -m755 -p $TMPMOUNT > +mount -n -t tmpfs -o nosuid,nodev,size=50% tmpfs_br_var $TMPMOUNT > + > +cp -r -p /var/. $TMPMOUNT > +# this is a shared mount so --move wont work "this" seems to refer to /run/.br/.tmpvar, which is _not_ a shared mount (and it's anyway not relevant if it is). /run is a shared mount and that is the reason you can't --move it. And perhaps add "so instead, bind-mount and unmount $TMPMOUNT afterwards (in the trap handler)." > +mount -n --bind $TMPMOUNT /var > diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk > index f431ec4612..b9b8492f58 100644 > --- a/package/skeleton-init-systemd/skeleton-init-systemd.mk > +++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk > @@ -69,11 +69,19 @@ define SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > $(TARGET_DIR)/usr/lib/systemd/system/br-bindmount-run at .service > $(INSTALL) -D -m 0644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/overlayfs/br-overlay-prepare at .service \ > $(TARGET_DIR)/usr/lib/systemd/system/br-overlay-prepare at .service > - # /var mount gets pulled in automatically by basic.target > + # var.mount gets pulled in automatically by basic.target If you're anyway going to correct this comment, correct it correctly :-) It's pulled in by local-fs.target, not basic.target. > endef > SKELETON_INIT_SYSTEMD_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_OVERLAYFS > endif # BR2_INIT_SYSTEMD_VAR_OVERLAYFS > > +ifeq ($(BR2_INIT_SYSTEMD_VAR_GENERATOR),y) > +define SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_GENERATOR > + $(INSTALL) -D -m 0755 $(SKELETON_INIT_SYSTEMD_PKGDIR)/generator/br-mount-generator \ > + $(TARGET_DIR)/usr/lib/systemd/system-generators/br-var-mount-generator Please keep the same name in PKGDIR. I know the intention is to keep it general so it can be used for other things (e.g. /etc), but it _isn't_ general so don't try pretending it is. > +endef > +SKELETON_INIT_SYSTEMD_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_SYSTEMD_POST_INSTALL_VAR_GENERATOR > +endif # BR2_INIT_SYSTEMD_VAR_GENERATOR > + > endif # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW > > ifeq ($(BR2_INIT_SYSTEMD_POPULATE_TMPFILES),y) > diff --git a/system/Config.in b/system/Config.in > index cdf383d0d4..14fefbf283 100644 > --- a/system/Config.in > +++ b/system/Config.in > @@ -200,6 +200,19 @@ config BR2_INIT_SYSTEMD_VAR_OVERLAYFS > ExecStart= > ExecStart=/bin/mount --make-private -n /dev/sdc1 ${OVERLAY_DIR} > > +config BR2_INIT_SYSTEMD_VAR_GENERATOR > + bool "use a systemd generator to mount and populate a tmpfs" > + help > + Mount an tmpfs on /var, with the the original contents copied. > + > + The logic is contained in a systemd generator, to ensure this > + is done early and ordered before anything can access /var. > + > + Unlike the var factory, nothing needs to be prepared and > + the populating happens before any unit accesses /var. Well, nothing is _allowed_ to access /var before local-fs-pre.target, exactly because /var may be mounted (and mounting something depends on local-fs.target). If you do need to access /var, you need to do special magic like journald does and wait with using it until it gets mounted. Do you have an actual proven use case of something that requires /var before local-fs-pre.target (and that isn't an unacceptable hack)? > + Unlike the var factory, it does not need an overlayfs. If this is the only reason, then I don't think it's worth the bother to replace the factory. Regards, Arnout > + > config BR2_INIT_SYSTEMD_VAR_NONE > bool "do nothing" > help From arnout at mind.be Tue Oct 10 20:01:54 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:01:54 +0200 Subject: [Buildroot] [PATCH 5/7] package/skeleton-init-systemd: fix var.mount options In-Reply-To: <20230115125253.280257-6-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-6-nolange79@gmail.com> Message-ID: <8cf0f4df-0b95-4253-cee5-91cfc2b74205@mind.be> On 15/01/2023 13:52, Norbert Lange wrote: > The mode should reflect the mount directory, > and 755 is the default - so drop the mount option. > > Cc: Yann E. MORIN > Signed-off-by: Norbert Lange Applied to master, thanks. Regards, Arnout > --- > package/skeleton-init-systemd/var.mount | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/skeleton-init-systemd/var.mount b/package/skeleton-init-systemd/var.mount > index e97accef93..a681ab0c54 100644 > --- a/package/skeleton-init-systemd/var.mount > +++ b/package/skeleton-init-systemd/var.mount > @@ -12,4 +12,4 @@ After=swap.target > What=tmpfs > Where=/var > Type=tmpfs > -Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m > +Options=nosuid,nodev,size=50%%,nr_inodes=1m From arnout at mind.be Tue Oct 10 20:33:41 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:33:41 +0200 Subject: [Buildroot] [PATCH 6/7] package/systemd: handle creation of /var/log/journal In-Reply-To: <20230115125253.280257-7-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-7-nolange79@gmail.com> Message-ID: <1d3a588b-ccda-d232-e968-632d9fc54172@mind.be> On 15/01/2023 13:52, Norbert Lange wrote: > journald will always have a runtime log in /run/systemd/journal, > and a persistent one in /var/log/journal under certain conditions. > By default it will check for the existence of that directory. > > When /var is not backed by mass-storage you typically dont want your > log duplicated and journald should be tuned to account for > having only RAM available. > > Buildroot will now create this directory conditionally together with > it's handling of /var under a read-only filesystem. The patch now only creates the directory if rootfs-rw is enabled. This is actually not great IMHO - we have too many things hinging on that config setting that give meaning to it which doesn't really exist. Still, there's no better way to do it, really. > It is rather easy for users to opt-in by either creating that directory > or editing /etc/systemd/journald.conf. We really should have documentation of how to do this, and a runtime test that proves that it works. But OK, I anyway already committed this to master, thanks. Regards, Arnout > > Signed-off-by: Norbert Lange > --- > package/systemd/systemd.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index b96873b73f..420197005c 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -61,6 +61,7 @@ SYSTEMD_SELINUX_MODULES = systemd udev xdg > SYSTEMD_PROVIDES = udev > > SYSTEMD_CONF_OPTS += \ > + -Dcreate-log-dirs=false \ > -Ddefault-hierarchy=unified \ > -Didn=true \ > -Dima=false \ > @@ -100,6 +101,10 @@ ifeq ($(BR2_nios2),y) > SYSTEMD_LDFLAGS = $(TARGET_LDFLAGS) -Wl,--no-fatal-warnings > endif > > +ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) > +SYSTEMD_JOURNALD_PERMISSIONS = /var/log/journal d 2755 root systemd-journal - - - - - > +endif > + > ifeq ($(BR2_PACKAGE_ACL),y) > SYSTEMD_DEPENDENCIES += acl > SYSTEMD_CONF_OPTS += -Dacl=true > @@ -603,6 +608,7 @@ define SYSTEMD_PERMISSIONS > /var/lib/private d 700 0 0 - - - - - > /var/log/private d 700 0 0 - - - - - > /var/cache/private d 700 0 0 - - - - - > + $(SYSTEMD_JOURNALD_PERMISSIONS) > $(SYSTEMD_LOGIND_PERMISSIONS) > $(SYSTEMD_MACHINED_PERMISSIONS) > $(SYSTEMD_HOMED_PERMISSIONS) > @@ -782,6 +788,7 @@ HOST_SYSTEMD_CONF_OPTS = \ > --libdir=lib \ > --sysconfdir=/etc \ > --localstatedir=/var \ > + -Dcreate-log-dirs=false \ > -Dmode=release \ > -Dutmp=false \ > -Dhibernate=false \ From arnout at mind.be Tue Oct 10 20:36:05 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:36:05 +0200 Subject: [Buildroot] [PATCH 7/7] package/systemd: create the /boot directory In-Reply-To: <20230115125253.280257-8-nolange79@gmail.com> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-8-nolange79@gmail.com> Message-ID: On 15/01/2023 13:52, Norbert Lange wrote: > The gpt-auto-generator can generate the boot.mount unit, and > report an error if this directory cant be created (read-only fs). > > Signed-off-by: Norbert Lange Applied to master, thanks. Regards, Arnout > --- > package/systemd/systemd.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index 420197005c..0074fa8791 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -603,6 +603,7 @@ define SYSTEMD_INSTALL_IMAGES_CMDS > endef > > define SYSTEMD_PERMISSIONS > + /boot d 700 0 0 - - - - - > /var/spool d 755 0 0 - - - - - > /var/lib d 755 0 0 - - - - - > /var/lib/private d 700 0 0 - - - - - From arnout at mind.be Tue Oct 10 20:34:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:34:29 +0200 Subject: [Buildroot] [git commit] package/systemd: create the /boot directory Message-ID: <20231010203622.7FCB6844B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7490cac62d42370a0a954d44ec34537e81234dd9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The gpt-auto-generator can generate the boot.mount unit, which reports an error if this directory can't be created (if / is read-only). There is no reason not to create this directory, even if the platform doesn't actually have a boot partition that can be mounted there. Signed-off-by: Norbert Lange Signed-off-by: Arnout Vandecappelle --- package/systemd/systemd.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 824c811c0c..13cd41f75b 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -621,6 +621,7 @@ define SYSTEMD_INSTALL_IMAGES_CMDS endef define SYSTEMD_PERMISSIONS + /boot d 700 0 0 - - - - - /var/spool d 755 0 0 - - - - - /var/lib d 755 0 0 - - - - - /var/lib/private d 700 0 0 - - - - - From arnout at mind.be Tue Oct 10 20:00:44 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:00:44 +0200 Subject: [Buildroot] [git commit] package/skeleton-init-systemd: fix var.mount options Message-ID: <20231010203622.68100844AF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d9ac23c6d669f1d7d0ee6da8ccdae511a673235a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The mode should reflect the mount directory, and 755 is the default - so drop the mount option. Cc: Yann E. MORIN Signed-off-by: Norbert Lange Signed-off-by: Arnout Vandecappelle --- package/skeleton-init-systemd/factory/var.mount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/skeleton-init-systemd/factory/var.mount b/package/skeleton-init-systemd/factory/var.mount index e97accef93..a681ab0c54 100644 --- a/package/skeleton-init-systemd/factory/var.mount +++ b/package/skeleton-init-systemd/factory/var.mount @@ -12,4 +12,4 @@ After=swap.target What=tmpfs Where=/var Type=tmpfs -Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m +Options=nosuid,nodev,size=50%%,nr_inodes=1m From arnout at mind.be Tue Oct 10 20:29:15 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:29:15 +0200 Subject: [Buildroot] [git commit] package/systemd: handle creation of /var/log/journal Message-ID: <20231010203622.74162844B1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=23c5fe7909cc5ee3222331fb822496b580163e04 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master journald will always have a runtime log in /run/systemd/journal, and a persistent one in /var/log/journal under certain conditions. By default it will check for the existence of that directory. When /var is not backed by mass-storage you typically don't want your log duplicated and journald should be tuned to account for having only RAM available. With this commit, the directory will no longer be created automatically, but instead it's created only if the root filesystem is writeable. It is rather easy for users to opt-in by either creating that directory (e.g. with a tmpfiles fragment) or editing /etc/systemd/journald.conf. Signed-off-by: Norbert Lange Signed-off-by: Arnout Vandecappelle --- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index d220673572..824c811c0c 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -63,6 +63,7 @@ SYSTEMD_SELINUX_MODULES = systemd udev xdg SYSTEMD_PROVIDES = udev SYSTEMD_CONF_OPTS += \ + -Dcreate-log-dirs=false \ -Ddbus=false \ -Ddbus-interfaces-dir=no \ -Ddefault-compression='auto' \ @@ -111,6 +112,10 @@ ifeq ($(BR2_nios2),y) SYSTEMD_LDFLAGS = $(TARGET_LDFLAGS) -Wl,--no-fatal-warnings endif +ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) +SYSTEMD_JOURNALD_PERMISSIONS = /var/log/journal d 2755 root systemd-journal - - - - - +endif + ifeq ($(BR2_PACKAGE_ACL),y) SYSTEMD_DEPENDENCIES += acl SYSTEMD_CONF_OPTS += -Dacl=true @@ -621,6 +626,7 @@ define SYSTEMD_PERMISSIONS /var/lib/private d 700 0 0 - - - - - /var/log/private d 700 0 0 - - - - - /var/cache/private d 700 0 0 - - - - - + $(SYSTEMD_JOURNALD_PERMISSIONS) $(SYSTEMD_LOGIND_PERMISSIONS) $(SYSTEMD_MACHINED_PERMISSIONS) $(SYSTEMD_HOMED_PERMISSIONS) @@ -800,6 +806,7 @@ HOST_SYSTEMD_CONF_OPTS = \ --libdir=lib \ --sysconfdir=/etc \ --localstatedir=/var \ + -Dcreate-log-dirs=false \ -Dmode=release \ -Dutmp=false \ -Dhibernate=false \ From arnout at mind.be Tue Oct 10 20:39:25 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:39:25 +0200 Subject: [Buildroot] [RFC] Per-package and relocatable SDKs problem? In-Reply-To: References: Message-ID: <61aa0b20-3ffb-c1f8-a03b-3669bf4a1903@mind.be> On 10/10/2023 21:05, Charles Hardin wrote: > Hi Arnout > > On Tue, Oct 10, 2023 at 11:10?AM Arnout Vandecappelle wrote: >> >> Hi Charles, >> >> On 09/10/2023 23:37, Charles Hardin wrote: >>> For the curious, >>> >>> We have discovered a problem in that the per-package build of the host >>> directory is doing an rsync to finalize the tree from the last >>> per-package directory in the dependency chain (in our case below this >>> is qt5tools). This means that several text files like the one below >>> (shasum) contain the per-package directory path in them. >>> >>> For example - a per-package build and check the BUILD directory to >>> check the shasum script >>> >>> $ head -5 host/bin/shasum >>> #!/home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl >>> eval 'exec >>> /home/ubuntu/emb-platform-build/falcon/ucb/per-package/qt5tools/host/bin/perl >>> -S $0 ${1+"$@"}' >>> if 0; # ^ Run only under a shell >>> #!perl >>> ... snip snip ... >>> >>> This works in the build path but will fail when the SDK is made and >>> relocated because the relocate-sdk.sh script doesn't handle >>> per-package paths. >>> >>> # Make sure file uses the right language >>> export LC_ALL=C >>> # Replace the old path with the new one in all text files >>> grep -lr "${OLDPATH}" . | while read -r FILE ; do >>> if file -b --mime-type "${FILE}" | grep -q '^text/' && [ >>> "${FILE}" != "${LOCFILE}" ] >>> then >>> sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" >>> fi >>> done >>> >>> >>> The OLDPATH is the old location of the directory without the concept >>> of the per-package paths in the tree. So, is this something that is >>> known? Tried searching the mailing list and commits and didn't see a >>> reference to this problem so was a bit curious. >> >> I believe that should be fixed by [1]. >> >> Apparently nobody else encountered this problem up to now because that patch >> never received any Acked-by or Tested-by :-) >> >> Regards, >> Arnout >> >> [1] >> https://patchwork.ozlabs.org/project/buildroot/patch/20221227154300.10556-1-brandon.maier at collins.com/ >> > > Confirmed - this fixed the problem. Thanks. > > Applied the patch for our project - hopefully it get's merged into mainline. You can expedite that by replying to the patch with Tested-by: Your Name And if you actually review it (i.e. look at the code, check that indeed the code block was moved without modification, etc.), you can also added Acked-by: Your Name Regards, Arnout > >> >> >>> >>> Charles >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at buildroot.org >>> https://lists.buildroot.org/mailman/listinfo/buildroot From arnout at mind.be Tue Oct 10 20:51:12 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:51:12 +0200 Subject: [Buildroot] [PATCH 1/1] package/setools: bump version to 4.4.3 In-Reply-To: <20231007183053.12650-1-adam.duskett@amarulasolutions.com> References: <20231007183053.12650-1-adam.duskett@amarulasolutions.com> Message-ID: <24908e21-304c-46f6-bc39-3c7e88d383aa@mind.be> On 07/10/2023 20:30, Adam Duskett wrote: > Signed-off-by: Adam Duskett Applied to master, thanks. Regards, Arnout > --- > package/setools/setools.hash | 2 +- > package/setools/setools.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/setools/setools.hash b/package/setools/setools.hash > index c353e1f609..6a61fc2809 100644 > --- a/package/setools/setools.hash > +++ b/package/setools/setools.hash > @@ -1,5 +1,5 @@ > # Locally computed > -sha256 998d12d01852feed1889110a4ca81090a47a2d9b47368e4dfe2b94d68696c813 setools-4.4.2.tar.gz > +sha256 29f5e7d98764a6942b2e32c8aa44da6a618882818c79599ade967ece0cf1dace setools-4.4.3.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 b80d25a6b9..efb3869e5b 100644 > --- a/package/setools/setools.mk > +++ b/package/setools/setools.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SETOOLS_VERSION = 4.4.2 > +SETOOLS_VERSION = 4.4.3 > 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 arnout at mind.be Tue Oct 10 20:52:05 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:52:05 +0200 Subject: [Buildroot] [PATCH] package/libsoup: bump to version 2.74.3 In-Reply-To: <20231007192214.3670075-1-francois.perrad@gadz.org> References: <20231007192214.3670075-1-francois.perrad@gadz.org> Message-ID: On 07/10/2023 21:22, Francois Perrad wrote: > Signed-off-by: Francois Perrad It's really annoying that your Sob doesn't match your From address. Can you fix things up in your git config so that doesn't happen anymore? Applied to master, with the author changed to @gadz.org, thanks. Regards, Arnout > --- > package/libsoup/libsoup.hash | 4 ++-- > package/libsoup/libsoup.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libsoup/libsoup.hash b/package/libsoup/libsoup.hash > index 2f44e63d7..5f687068a 100644 > --- a/package/libsoup/libsoup.hash > +++ b/package/libsoup/libsoup.hash > @@ -1,4 +1,4 @@ > -# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.2.sha256sum > -sha256 f0a427656e5fe19e1df71c107e88dfa1b2e673c25c547b7823b6018b40d01159 libsoup-2.74.2.tar.xz > +# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.3.sha256sum > +sha256 e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13 libsoup-2.74.3.tar.xz > # Locally calculated > sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING > diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk > index 026ea3a8b..81bf42cab 100644 > --- a/package/libsoup/libsoup.mk > +++ b/package/libsoup/libsoup.mk > @@ -5,7 +5,7 @@ > ################################################################################ > > LIBSOUP_VERSION_MAJOR = 2.74 > -LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).2 > +LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).3 > LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz > LIBSOUP_SITE = https://download.gnome.org/sources/libsoup/$(LIBSOUP_VERSION_MAJOR) > LIBSOUP_LICENSE = LGPL-2.0+ From arnout at mind.be Tue Oct 10 20:52:13 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:52:13 +0200 Subject: [Buildroot] [PATCH] package/mbedtls: bump to version 2.28.5 In-Reply-To: <20231007192225.3670096-1-francois.perrad@gadz.org> References: <20231007192225.3670096-1-francois.perrad@gadz.org> Message-ID: On 07/10/2023 21:22, Francois Perrad wrote: > Signed-off-by: Francois Perrad Applied to master, thanks. Regards, Arnout > --- > package/mbedtls/mbedtls.hash | 2 +- > package/mbedtls/mbedtls.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash > index 6aa6d0235..d0cd0b210 100644 > --- a/package/mbedtls/mbedtls.hash > +++ b/package/mbedtls/mbedtls.hash > @@ -1,4 +1,4 @@ > # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: > -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz > +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz > # Locally calculated > sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE > diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk > index 62eda6ec9..1b941e04f 100644 > --- a/package/mbedtls/mbedtls.mk > +++ b/package/mbedtls/mbedtls.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -MBEDTLS_VERSION = 2.28.4 > +MBEDTLS_VERSION = 2.28.5 > MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) > MBEDTLS_CONF_OPTS = \ > -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From arnout at mind.be Tue Oct 10 20:52:35 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:52:35 +0200 Subject: [Buildroot] [PATCH 1/1] package/libebml: bump to version 1.4.4 In-Reply-To: <20231008212643.67946-1-fontaine.fabrice@gmail.com> References: <20231008212643.67946-1-fontaine.fabrice@gmail.com> Message-ID: On 08/10/2023 23:26, Fabrice Fontaine wrote: > - Drop patch (already in version) > - C++14 is required since > https://github.com/Matroska-Org/libebml/commit/4159caf84c18f64137e6cdb5f15c5e76d0bb0976 > > https://github.com/Matroska-Org/libebml/blob/release-1.4.4/NEWS.md > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > .checkpackageignore | 1 - > ...-header-files-for-std-numeric_limits.patch | 40 ------------------- > package/libebml/Config.in | 6 ++- > package/libebml/libebml.hash | 2 +- > package/libebml/libebml.mk | 2 +- > package/libmatroska/Config.in | 6 ++- > 6 files changed, 10 insertions(+), 47 deletions(-) > delete mode 100644 package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch > > diff --git a/.checkpackageignore b/.checkpackageignore > index 0e8e5921ce..21a1009a1b 100644 > --- a/.checkpackageignore > +++ b/.checkpackageignore > @@ -650,7 +650,6 @@ package/libdnet/0001-python-makefile.patch Upstream > package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch Upstream > package/libdvbcsa/0001-altivec-powerpc64.patch Upstream > package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch Upstream > -package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch Upstream > package/libedit/0001-check-bsd-functions-in-libbsd.patch Upstream > package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch Upstream > package/libfcgi/0001-link-against-math.patch Upstream > diff --git a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch b/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch > deleted file mode 100644 > index c7e789c02e..0000000000 > --- a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch > +++ /dev/null > @@ -1,40 +0,0 @@ > -From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001 > -From: Moritz Bunkus > -Date: Sat, 27 Feb 2021 20:36:52 +0100 > -Subject: [PATCH] include appropriate header files for std::numeric_limits > - > -Fixes #80. > - > -[Retrieved (and updated to remove ChangeLog update) from: > -https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806] > -Signed-off-by: Fabrice Fontaine > ---- > - ChangeLog | 4 ++++ > - src/EbmlString.cpp | 1 + > - src/EbmlUnicodeString.cpp | 1 + > - 3 files changed, 6 insertions(+) > - > -diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp > -index 27e55fd..4c05fcf 100644 > ---- a/src/EbmlString.cpp > -+++ b/src/EbmlString.cpp > -@@ -34,6 +34,7 @@ > - \author Steve Lhomme > - */ > - #include > -+#include > - > - #include "ebml/EbmlString.h" > - > -diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp > -index 496a16a..99fc073 100644 > ---- a/src/EbmlUnicodeString.cpp > -+++ b/src/EbmlUnicodeString.cpp > -@@ -36,6 +36,7 @@ > - */ > - > - #include > -+#include > - > - #include "ebml/EbmlUnicodeString.h" > - > diff --git a/package/libebml/Config.in b/package/libebml/Config.in > index a00b894358..b770154af7 100644 > --- a/package/libebml/Config.in > +++ b/package/libebml/Config.in > @@ -2,11 +2,13 @@ config BR2_PACKAGE_LIBEBML > bool "libebml" > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_USE_WCHAR > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 > help > Access library for the EBML (Extensible Binary Meta > Language, a binary derivative of XML) format. > > http://matroska.org > > -comment "libebml needs a toolchain w/ C++, wchar" > - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR > +comment "libebml needs a toolchain w/ C++, wchar, gcc >= 4.9" > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ > + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 > diff --git a/package/libebml/libebml.hash b/package/libebml/libebml.hash > index 32ca1e3dd3..c83fde32ab 100644 > --- a/package/libebml/libebml.hash > +++ b/package/libebml/libebml.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 41c7237ce05828fb220f62086018b080af4db4bb142f31bec0022c925889b9f2 libebml-1.4.2.tar.xz > +sha256 82dc5f83356cc9340aee76ed7512210b3a4edf5f346bc9c2c7044f55052687a7 libebml-1.4.4.tar.xz > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL > diff --git a/package/libebml/libebml.mk b/package/libebml/libebml.mk > index 056cf888e1..c85638c03e 100644 > --- a/package/libebml/libebml.mk > +++ b/package/libebml/libebml.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBEBML_VERSION = 1.4.2 > +LIBEBML_VERSION = 1.4.4 > LIBEBML_SOURCE = libebml-$(LIBEBML_VERSION).tar.xz > LIBEBML_SITE = http://dl.matroska.org/downloads/libebml > LIBEBML_INSTALL_STAGING = YES > diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in > index ec0e8415d7..b2e4354df5 100644 > --- a/package/libmatroska/Config.in > +++ b/package/libmatroska/Config.in > @@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA > bool "libmatroska" > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_USE_WCHAR > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml > select BR2_PACKAGE_LIBEBML > help > Extensible open standard audio/video container format access > @@ -9,5 +10,6 @@ config BR2_PACKAGE_LIBMATROSKA > > http://matroska.org > > -comment "libmatroska needs a toolchain w/ C++, wchar" > - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR > +comment "libmatroska needs a toolchain w/ C++, wchar, gcc >= 4.9" > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ > + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 From arnout at mind.be Tue Oct 10 20:52:43 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:52:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/c-ares: bump to version 1.20.1 In-Reply-To: <20231008213418.85380-1-fontaine.fabrice@gmail.com> References: <20231008213418.85380-1-fontaine.fabrice@gmail.com> Message-ID: <57818d90-c714-f612-465a-3194f7206076@mind.be> On 08/10/2023 23:34, Fabrice Fontaine wrote: > Update hash of license file (modern MIT license text used since > https://github.com/c-ares/c-ares/commit/6d077838f7e3f1899ba93da9d301b7fe49b311ce) > > https://c-ares.org/changelog.html#1_20_1 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/c-ares/c-ares.hash | 4 ++-- > package/c-ares/c-ares.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/c-ares/c-ares.hash b/package/c-ares/c-ares.hash > index 3e1573f2cf..c2897f6e44 100644 > --- a/package/c-ares/c-ares.hash > +++ b/package/c-ares/c-ares.hash > @@ -1,5 +1,5 @@ > # Locally calculated after checking pgp signature > -sha256 321700399b72ed0e037d0074c629e7741f6b2ec2dda92956abe3e9671d3e268e c-ares-1.19.1.tar.gz > +sha256 de24a314844cb157909730828560628704f4f896d167dd7da0fa2fb93ea18b10 c-ares-1.20.1.tar.gz > > # Hash for license file > -sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md > +sha256 80fff25340df53b0cf0c3cddbca9050b559b9cbed2ad71830327cfef54959aef LICENSE.md > diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk > index 46b8acd673..7a49b2639a 100644 > --- a/package/c-ares/c-ares.mk > +++ b/package/c-ares/c-ares.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -C_ARES_VERSION = 1.19.1 > +C_ARES_VERSION = 1.20.1 > C_ARES_SITE = http://c-ares.haxx.se/download > C_ARES_INSTALL_STAGING = YES > C_ARES_CONF_OPTS = --with-random=/dev/urandom From arnout at mind.be Tue Oct 10 20:48:45 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:48:45 +0200 Subject: [Buildroot] [git commit] package/c-ares: bump to version 1.20.1 Message-ID: <20231010205304.6A201844E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c26939ea3f477fd34c09d872e4b1b3de358904a6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update hash of license file (modern MIT license text used since https://github.com/c-ares/c-ares/commit/6d077838f7e3f1899ba93da9d301b7fe49b311ce) https://c-ares.org/changelog.html#1_20_1 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- package/c-ares/c-ares.hash | 4 ++-- package/c-ares/c-ares.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/c-ares/c-ares.hash b/package/c-ares/c-ares.hash index 3e1573f2cf..c2897f6e44 100644 --- a/package/c-ares/c-ares.hash +++ b/package/c-ares/c-ares.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 321700399b72ed0e037d0074c629e7741f6b2ec2dda92956abe3e9671d3e268e c-ares-1.19.1.tar.gz +sha256 de24a314844cb157909730828560628704f4f896d167dd7da0fa2fb93ea18b10 c-ares-1.20.1.tar.gz # Hash for license file -sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md +sha256 80fff25340df53b0cf0c3cddbca9050b559b9cbed2ad71830327cfef54959aef LICENSE.md diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk index 46b8acd673..7a49b2639a 100644 --- a/package/c-ares/c-ares.mk +++ b/package/c-ares/c-ares.mk @@ -4,7 +4,7 @@ # ################################################################################ -C_ARES_VERSION = 1.19.1 +C_ARES_VERSION = 1.20.1 C_ARES_SITE = http://c-ares.haxx.se/download C_ARES_INSTALL_STAGING = YES C_ARES_CONF_OPTS = --with-random=/dev/urandom From arnout at mind.be Tue Oct 10 20:45:38 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:45:38 +0200 Subject: [Buildroot] [git commit] package/setools: bump version to 4.4.3 Message-ID: <20231010205304.35D68844E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1c6c4c0767f81295ec6167d7132bc542973e0409 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Adam Duskett Signed-off-by: Arnout Vandecappelle --- package/setools/setools.hash | 2 +- package/setools/setools.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/setools/setools.hash b/package/setools/setools.hash index c353e1f609..6a61fc2809 100644 --- a/package/setools/setools.hash +++ b/package/setools/setools.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 998d12d01852feed1889110a4ca81090a47a2d9b47368e4dfe2b94d68696c813 setools-4.4.2.tar.gz +sha256 29f5e7d98764a6942b2e32c8aa44da6a618882818c79599ade967ece0cf1dace setools-4.4.3.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 b80d25a6b9..efb3869e5b 100644 --- a/package/setools/setools.mk +++ b/package/setools/setools.mk @@ -4,7 +4,7 @@ # ################################################################################ -SETOOLS_VERSION = 4.4.2 +SETOOLS_VERSION = 4.4.3 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 arnout at mind.be Tue Oct 10 20:47:18 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:47:18 +0200 Subject: [Buildroot] [git commit] package/libebml: bump to version 1.4.4 Message-ID: <20231010205304.5F4DF844EB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cef841bf7d428a92b5af41b6ea21d7f8ae004526 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Drop patch (already in version) - C++14 is required since https://github.com/Matroska-Org/libebml/commit/4159caf84c18f64137e6cdb5f15c5e76d0bb0976 https://github.com/Matroska-Org/libebml/blob/release-1.4.4/NEWS.md Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- .checkpackageignore | 1 - ...riate-header-files-for-std-numeric_limits.patch | 40 ---------------------- package/libebml/Config.in | 6 ++-- package/libebml/libebml.hash | 2 +- package/libebml/libebml.mk | 2 +- package/libmatroska/Config.in | 6 ++-- 6 files changed, 10 insertions(+), 47 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 539a571172..d746cde45e 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -650,7 +650,6 @@ package/libdnet/0001-python-makefile.patch Upstream package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch Upstream package/libdvbcsa/0001-altivec-powerpc64.patch Upstream package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch Upstream -package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch Upstream package/libedit/0001-check-bsd-functions-in-libbsd.patch Upstream package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch Upstream package/libfcgi/0001-link-against-math.patch Upstream diff --git a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch b/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch deleted file mode 100644 index c7e789c02e..0000000000 --- a/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch +++ /dev/null @@ -1,40 +0,0 @@ -From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001 -From: Moritz Bunkus -Date: Sat, 27 Feb 2021 20:36:52 +0100 -Subject: [PATCH] include appropriate header files for std::numeric_limits - -Fixes #80. - -[Retrieved (and updated to remove ChangeLog update) from: -https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806] -Signed-off-by: Fabrice Fontaine ---- - ChangeLog | 4 ++++ - src/EbmlString.cpp | 1 + - src/EbmlUnicodeString.cpp | 1 + - 3 files changed, 6 insertions(+) - -diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp -index 27e55fd..4c05fcf 100644 ---- a/src/EbmlString.cpp -+++ b/src/EbmlString.cpp -@@ -34,6 +34,7 @@ - \author Steve Lhomme - */ - #include -+#include - - #include "ebml/EbmlString.h" - -diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp -index 496a16a..99fc073 100644 ---- a/src/EbmlUnicodeString.cpp -+++ b/src/EbmlUnicodeString.cpp -@@ -36,6 +36,7 @@ - */ - - #include -+#include - - #include "ebml/EbmlUnicodeString.h" - diff --git a/package/libebml/Config.in b/package/libebml/Config.in index a00b894358..b770154af7 100644 --- a/package/libebml/Config.in +++ b/package/libebml/Config.in @@ -2,11 +2,13 @@ config BR2_PACKAGE_LIBEBML bool "libebml" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 help Access library for the EBML (Extensible Binary Meta Language, a binary derivative of XML) format. http://matroska.org -comment "libebml needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR +comment "libebml needs a toolchain w/ C++, wchar, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/libebml/libebml.hash b/package/libebml/libebml.hash index 32ca1e3dd3..c83fde32ab 100644 --- a/package/libebml/libebml.hash +++ b/package/libebml/libebml.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 41c7237ce05828fb220f62086018b080af4db4bb142f31bec0022c925889b9f2 libebml-1.4.2.tar.xz +sha256 82dc5f83356cc9340aee76ed7512210b3a4edf5f346bc9c2c7044f55052687a7 libebml-1.4.4.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL diff --git a/package/libebml/libebml.mk b/package/libebml/libebml.mk index 056cf888e1..c85638c03e 100644 --- a/package/libebml/libebml.mk +++ b/package/libebml/libebml.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBEBML_VERSION = 1.4.2 +LIBEBML_VERSION = 1.4.4 LIBEBML_SOURCE = libebml-$(LIBEBML_VERSION).tar.xz LIBEBML_SITE = http://dl.matroska.org/downloads/libebml LIBEBML_INSTALL_STAGING = YES diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in index ec0e8415d7..b2e4354df5 100644 --- a/package/libmatroska/Config.in +++ b/package/libmatroska/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA bool "libmatroska" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml select BR2_PACKAGE_LIBEBML help Extensible open standard audio/video container format access @@ -9,5 +10,6 @@ config BR2_PACKAGE_LIBMATROSKA http://matroska.org -comment "libmatroska needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR +comment "libmatroska needs a toolchain w/ C++, wchar, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 From arnout at mind.be Tue Oct 10 20:46:42 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:46:42 +0200 Subject: [Buildroot] [git commit] package/libsoup: bump to version 2.74.3 Message-ID: <20231010205304.4238D844E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d701d420a155300a3ce77cbb08b0a98bb06b4452 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle --- package/libsoup/libsoup.hash | 4 ++-- package/libsoup/libsoup.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libsoup/libsoup.hash b/package/libsoup/libsoup.hash index 2f44e63d71..5f687068ab 100644 --- a/package/libsoup/libsoup.hash +++ b/package/libsoup/libsoup.hash @@ -1,4 +1,4 @@ -# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.2.sha256sum -sha256 f0a427656e5fe19e1df71c107e88dfa1b2e673c25c547b7823b6018b40d01159 libsoup-2.74.2.tar.xz +# From https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.3.sha256sum +sha256 e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13 libsoup-2.74.3.tar.xz # Locally calculated sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk index 026ea3a8b7..81bf42cabe 100644 --- a/package/libsoup/libsoup.mk +++ b/package/libsoup/libsoup.mk @@ -5,7 +5,7 @@ ################################################################################ LIBSOUP_VERSION_MAJOR = 2.74 -LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).2 +LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).3 LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz LIBSOUP_SITE = https://download.gnome.org/sources/libsoup/$(LIBSOUP_VERSION_MAJOR) LIBSOUP_LICENSE = LGPL-2.0+ From arnout at mind.be Tue Oct 10 20:47:00 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:47:00 +0200 Subject: [Buildroot] [git commit] package/mbedtls: bump to version 2.28.5 Message-ID: <20231010205304.4CD5A844EA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=26762e30090585e8c64333d3ffe4249e7a0b0f43 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle --- package/mbedtls/mbedtls.hash | 2 +- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 6aa6d0235d..d0cd0b2105 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 62eda6ec99..1b941e04f4 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.4 +MBEDTLS_VERSION = 2.28.5 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From arnout at mind.be Tue Oct 10 20:50:19 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:50:19 +0200 Subject: [Buildroot] [git commit] package/sysvinit: bump version to 3.04 Message-ID: <20231010205304.76B51844E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33b9225dff45079ff41dc56cde8084ad7937818c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Adam Duskett Signed-off-by: Arnout Vandecappelle --- package/sysvinit/sysvinit.hash | 2 +- package/sysvinit/sysvinit.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/sysvinit/sysvinit.hash b/package/sysvinit/sysvinit.hash index f81e55fc44..67b0ab38f0 100644 --- a/package/sysvinit/sysvinit.hash +++ b/package/sysvinit/sysvinit.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 b05c3677bb698afe64c997968b00c49b2a9bd320ce963523230ee7ea41197757 sysvinit-2.99.tar.xz +sha256 2a621fe6e4528bc91308b74867ddaaebbdf7753f02395c0c5bae817bd2b7e3a5 sysvinit-3.04.tar.xz # Hash for license files: sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk index 1bf10deb63..b7fe39ca43 100644 --- a/package/sysvinit/sysvinit.mk +++ b/package/sysvinit/sysvinit.mk @@ -4,7 +4,7 @@ # ################################################################################ -SYSVINIT_VERSION = 2.99 +SYSVINIT_VERSION = 3.04 SYSVINIT_SOURCE = sysvinit-$(SYSVINIT_VERSION).tar.xz SYSVINIT_SITE = http://download.savannah.nongnu.org/releases/sysvinit SYSVINIT_LICENSE = GPL-2.0+ From arnout at mind.be Tue Oct 10 20:53:23 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Tue, 10 Oct 2023 22:53:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/sysvinit: bump version to 3.04 In-Reply-To: <20231009142233.1773833-1-adam.duskett@amarulasolutions.com> References: <20231009142233.1773833-1-adam.duskett@amarulasolutions.com> Message-ID: On 09/10/2023 16:22, Adam Duskett wrote: > Signed-off-by: Adam Duskett Applied to master, thanks. Regards, Arnout > --- > package/sysvinit/sysvinit.hash | 2 +- > package/sysvinit/sysvinit.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/sysvinit/sysvinit.hash b/package/sysvinit/sysvinit.hash > index f81e55fc44..67b0ab38f0 100644 > --- a/package/sysvinit/sysvinit.hash > +++ b/package/sysvinit/sysvinit.hash > @@ -1,5 +1,5 @@ > # Locally computed: > -sha256 b05c3677bb698afe64c997968b00c49b2a9bd320ce963523230ee7ea41197757 sysvinit-2.99.tar.xz > +sha256 2a621fe6e4528bc91308b74867ddaaebbdf7753f02395c0c5bae817bd2b7e3a5 sysvinit-3.04.tar.xz > > # Hash for license files: > sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING > diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk > index 1bf10deb63..b7fe39ca43 100644 > --- a/package/sysvinit/sysvinit.mk > +++ b/package/sysvinit/sysvinit.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SYSVINIT_VERSION = 2.99 > +SYSVINIT_VERSION = 3.04 > SYSVINIT_SOURCE = sysvinit-$(SYSVINIT_VERSION).tar.xz > SYSVINIT_SITE = http://download.savannah.nongnu.org/releases/sysvinit > SYSVINIT_LICENSE = GPL-2.0+ From thomas.petazzoni at bootlin.com Wed Oct 11 05:36:11 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Wed, 11 Oct 2023 05:36:11 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-10 Message-ID: <20231011053617.16C93417BE@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-10 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 22 | 14 | 0 | 36 | 2023.08.x | 20 | 17 | 0 | 37 | master | 97 | 162 | 0 | 259 | Classification of failures by reason for master ----------------------------------------------- unknown | 15 openrc-0.43.3 | 14 alsa-lib-1.2.10 | 10 alsa-utils-1.2.10 | 9 spirv-tools-1.3.261.1 | 9 gcc-final-12.3.0 | 8 bird-2.0.12 | 6 gobject-introspection-1.76.1 | 6 linux-6.5.5 | 5 monit-5.33.0 | 5 coreutils-9.3 | 3 gcc-final-13.2.0 | 3 host-go-1.21.2 | 3 host-sentry-cli-2.20.3 | 3 mariadb-10.11.4 | 3 squid-6.2 | 3 apcupsd-3.14.14 | 2 gcc-final-11.4.0 | 2 google-breakpad-c85eb4a59b6... | 2 host-rust-1.71.1 | 2 libselinux-3.5 | 2 netsnmp-5.9.4 | 2 openblas-0.3.24 | 2 perl-5.36.1 | 2 boost-1.83.0 | 1 c-icap-0.5.10 | 1 conmon-2.1.8 | 1 crucible-2023.04.12 | 1 cryptodev-linux-1.13 | 1 dahdi-linux-3.2.0 | 1 dc3dd-7.2.641 | 1 edk2-edk2-stable202308 | 1 efivar-38 | 1 elfutils-0.189 | 1 ethtool-6.5 | 1 fftw-quad-3.3.10 | 1 frr-8.4.2 | 1 fs/cpio/cpio.mk:128: /home/... | 1 gsl-2.7.1 | 1 host-gcc-final-12.3.0 | 1 host-runc-1.1.7 | 1 hyperfine-1.14.0 | 1 igh-ethercat-f5dc109176400f... | 1 libarchive-3.7.2 | 1 libfreeimage-3.18.0 | 1 libmemcached-1.1.4 | 1 libopenssl-3.1.3 | 1 linux-5.10.162-cip24 | 1 linux-pam-1.5.3 | 1 memcached-1.6.21 | 1 motion-4.5.1 | 1 ntpsec-1.2.2a | 1 open-iscsi-2.1.9 | 1 open62541-v1.3.7 | 1 pixz-1.0.7 | 1 poppler-22.12.0 | 1 python-orjson-3.9.2 | 1 tar-1.35 | 1 tinifier-3.4.0 | 1 tinymembench-0.4 | 1 util-linux-2.39.2 | 1 wolfssl-5.6.3 | 1 xapp_xfd-1.1.4 | 1 xenomai-3.0.10 | 1 xmrig-6.20.0 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/62416488f431fe043a8150805cf94137a8b632f5 | aarch64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6c48bd1bdf7771b303ee05e122b3a4128dcfbcc9 | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a0695ddba87e3e092270cb30759026ae4cae502a | riscv64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/cceb418be00eaabd53856f811ff82f57260d4df1 | powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/670dc56810732df7ffbdafe6a07d8f3192246924 | riscv64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/63d1228974de5ef2af40e507ffddb1226867516b | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/43a2e3e0af89fc2b29855388041008583803b7b6 | arm | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/1b7d95eefa8a5b3071dae16c38233ea747eafeb9 | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/b655cb6625be198b6444c2a5a5f283f295facde1 | microblazeel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/35648ea06491bceee9311cb1cf1204ded8c73d13 | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7c67aa744575377ea725a5e614e0d3785d77a1c1 | arceb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f029d7af34b10445f14ee0f2555e52b2abda1b81 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/2db0d9cefe6268a166a237d11eb530dc908b19e9 | mips64el | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/54740ff426e1df1637c0a14c2eadec2b15db9779 | microblazeel | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/50ecbf3e2c037decdc5884293dad0be5971079da | mips | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/b3be715a598b6cb713bc4805c20b789168393853 | powerpc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/91f588e0b6cf2003dee7fb43b4e3fc33347e7de4 | sh4aeb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/95535ca66a8e5b83836fb3f245042da50f39de8f | sparc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/7868f725ceb9d8b64b956b78309e474a952d4b30 | nios2 | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/46ae31792837b49524a39ae1f1f2289367014b49 | mipsel | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/03d500f7e4c9ace3eb9e732c8e3ee1bf64d80832 | arm | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/5742f51b794e581bc2d4bb88dd7532da8fee931b | i686 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b2ecf7b0bb3416427841c5b4bc29bc3223739fb6 | xtensa | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b8643737d5f6a6d643ac43e5f884760b0b74f6dc | riscv64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/763a05e1ebed830fc800970b16454d8ba6c84951 | powerpc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/00034b16dae183bb1817716c295ab65f7c492654 | powerpc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/4dbdb9e10b6447bdb28af9d50ad416489466789d | or1k | boost-1.83.0 | NOK | http://autobuild.buildroot.net/results/78a7aa6f678f5e6aba5f15db0d13ecda6500503a | x86_64 | c-icap-0.5.10 | NOK | http://autobuild.buildroot.net/results/77db9a2abe42ac4df70d28dc10a73ef0673dc83c | ORPH i686 | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/ee461721fe926d67797b1ccf4d6ee3f7329f82c0 | nios2 | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/55c0324f847ec1916752eb5e1bdb1656a9edb9fd | ORPH microblazeel | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/12828d707994a2f274e59cdcc6ccffda2932eae9 | ORPH m68k | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/22062205409b09ebaf9ced9decb2a1ee9c4f3851 | ORPH powerpc64le | crucible-2023.04.12 | NOK | http://autobuild.buildroot.net/results/826c13d4037f2f88b8d4dd5d5f7a85fa53eff259 | powerpc64 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/352d58e3206a3e9f0c47b5010fc289c9170bd48d | ORPH s390x | dahdi-linux-3.2.0 | NOK | http://autobuild.buildroot.net/results/b1fa63ebe3535fc97fd191daca020d73003d299b | or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/02a70f1c27229c7fd9618d69ad13a53f5eccd639 | ORPH i686 | edk2-edk2-stable202308 | NOK | http://autobuild.buildroot.net/results/6f17071bf034d899c153d4787a807a2e3a04ce5f | arm | efivar-38 | NOK | http://autobuild.buildroot.net/results/02f54ee4cb78a78430fcf8158811296c7a2dc440 | microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/4e80958bbe5024fedbe1df20efd8e1c1b494c7ad | ORPH powerpc | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/3716a8b42db3b59978dcf845ac62415cffb2280f | powerpc64le | fftw-quad-3.3.10 | NOK | http://autobuild.buildroot.net/results/c5d1cc113a37f918d8ca1eca3443ead0149720e8 | ORPH arceb | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/7cce2f74111c7ac88d8203814f6bbf013d3828c5 | riscv64 | fs/cpio/cpio.mk:128: /home/... | NOK | http://autobuild.buildroot.net/results/254290817d343ecb208091c265b3fea4d73c9fc7 | aarch64_be | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/abe3e78757c0f8c5b02965cb562b807a32103ddb | m68k | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/d2218955a71d3b7da683206b3b27a639a6171a83 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/8d65db33e5eccfe94afc6070aa3ed442d369b209 | mips64el | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/e577ed9fd8a27fe155645ad094cdca7bcdbbe53c | i686 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/d741cf20437ebfd0c967e2409ada36c5c063be2a | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/57d4a423756b42766047b0174e8c9cb3322fb3c2 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/4cad7ef9affc18a30f76990ea05bb0e4ed83db8e | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/e09f4bf0a88a66f38f09121c2ed23a2b12d057cb | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/af5c75e5d62aaf61b30d97e0599e04c0d6bb7daf | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/d06fa1265e678a1b9065235214508fe87b9345c7 | arm | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/da82ca0103a88c8f2526b5048c7b175cc7f72c29 | arceb | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/d3c9bebb17fab56d6128b4bfe5c6e24dd23404f7 | mips64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/9657348422577164089735e8f1a95c7d72f45616 | sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/5e74cbe088380525eb1c2e921bb5f47af10488fc | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/f4e38687b9777e8d068711e46120b4bf61d87734 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/3d2be5808f9097986acf5f3b5b9d57947a79401f | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8ceb42152299dde957635bee5967b512c0b0e125 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/d88cf3403a426ca3d0c09806846a11b764caa038 | ORPH m68k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/175ef23e20a93a4e6b4b12612faaa7ec120958c9 | ORPH mips | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/ff81523366002b3fd9b03bdd229b631f3d30137d | mipsel | google-breakpad-c85eb4a59b6... | NOK | http://autobuild.buildroot.net/results/632ac16fcf5f27d4cde3c842054a663cad746da0 | m68k | gsl-2.7.1 | NOK | http://autobuild.buildroot.net/results/9f686b375fa9db4511fbf00a23e99626c35cc0cf | ORPH microblaze | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/4b06d68c3e5ae289d74a67fe7a1d3e7cbfd9529c | arceb | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/a428d8719a4f458e5faf8f5e5ef28840d6debb13 | mips64el | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/5e730d54350cab9d0ce3fd8cf89e3902d5117f4d | mips64 | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/f03fd08e7903bfb280d16519bce918aa49530104 | arm | host-runc-1.1.7 | NOK | http://autobuild.buildroot.net/results/43050e8bdf77da8bdf14e88537c4413c56754214 | powerpc64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/31da9322ec64ebd55f7413131a796af61ad6aa95 | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4fca4cdb76e9e643ed2527d2d942e7f23cc08bdc | m68k | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/a62b3282addc9b946a77fdf0d802f5aaee889270 | aarch64_be | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/689dc2634fc6dfbe6ed25ed25e079d0e70c24321 | s390x | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/0bb9fefcecdbf4592b8ccb4ff05ff919c7fddb02 | mips | hyperfine-1.14.0 | NOK | http://autobuild.buildroot.net/results/9a51cd4bff9129538d3fad05d19ebd99f835c731 | ORPH x86_64 | igh-ethercat-f5dc109176400f... | NOK | http://autobuild.buildroot.net/results/2a952b29961a3d4c8a284e7de11c9240696a5614 | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/f3814d0e14d2486f3d36ed37c89236b717178d4e | microblazeel | libfreeimage-3.18.0 | NOK | http://autobuild.buildroot.net/results/8e41780e6049f632d59d68ff8f5846584d908f83 | arm | libmemcached-1.1.4 | NOK | http://autobuild.buildroot.net/results/202aeec4dda822ac341d8882f84f968a303697c3 | ORPH arm | libopenssl-3.1.3 | NOK | http://autobuild.buildroot.net/results/824332272233dcf5943c8a3814964e2bd0e51754 | ORPH microblaze | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/472dac1e0c858a0c7087ce37fac2583dc779e5fa | m68k | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/6c1444eb1e613091a7f5642f03ecf64ed5293295 | mips64el | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/3a7186072b68b4d5f8cc42a0ab482b7cc0c54b93 | ORPH powerpc64le | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/95bbc31902d6db5d8c7a0f3b609d34c6bfd2f552 | ORPH m68k | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/8c1f82a3c429fc5b56adcb22cbcebbc16c2c3191 | ORPH arc | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/6661ffee5f2a06d727a24097b8232a9a806ebbcd | ORPH m68k | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/66f14fe9441c36023bc4b491e701eae831be41dc | ORPH mips | linux-6.5.5 | NOK | http://autobuild.buildroot.net/results/f596343ae318eef9d1cd8d6bad05da9554724d8c | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/0b65a8a35161fae0bfa68df894a824be275de651 | ORPH sparc | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/54902d52880ca234550e2c53a552abbf5dd12a20 | ORPH aarch64_be | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/bf4e9924ea8569881c4814e209757a91b3824478 | ORPH i686 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/483e10d6e30d7b5d448ba794bcbca332df891d98 | ORPH arc | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/6b74a5d3df687b6d15fb67e4635ee2514af64ccb | ORPH i586 | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/42cdf7630b5af42cdaf86e9536ff6af84f6d528b | sparc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/8967362ffac6134252c9d9bcea3d7212c455c980 | powerpc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/e5c5e09cf537bf1c452c2bace3603c7c4e74a70b | mips64el | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/ae96f42f9c01a1539aa58fe98dcf768b0d847172 | xtensa | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/cf4072bb4ddddfbf994340541af77d9162e4802a | armeb | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/ffc74309ea3a9e5dadc96700d6b256737a0dd517 | powerpc64le | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/e18aa911a377e8c10fbe4acc8c1e4dd8ba73fcb4 | ORPH m68k | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/2493ec05e61e38fdb8c4397db20a774ca3df7aa9 | ORPH xtensa | ntpsec-1.2.2a | NOK | http://autobuild.buildroot.net/results/e71842b09a9b6b93e7234e4705d32d827da9d5d6 | ORPH powerpc64le | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/a84d308a8227415e51c29aba5c5d6d99451fa8c8 | riscv32 | open62541-v1.3.7 | NOK | http://autobuild.buildroot.net/results/1fb9eceea17ba98f2ee6ac95519575b30aaccb12 | ORPH mips64el | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/6302d3035741739e3709fc8b8652fac3c9576206 | mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/a6141fc2e303596de9eb420b7790faf4bbc7aa5f | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/49406123fb67007e55fa3ec97358ea59ca55dfac | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f15cb4805a418748f462f6de3e17f5fd878b5e08 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/dab31b3289f6b650d573c85ba5e5ca810ebc009a | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3c1fc4ab4f1ffe56dfcbf3f3b2cc96c9a8257d96 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6b9b649443e688a5ef1b1aff632e06295b2e227b | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/601288233d8d1d13e0f5ff90985e9349bd248359 | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/4a198a72ac366421f6a8785ec54c56595eaab5bb | or1k | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2fd96066be20f115f651b5442d0a3031b0a21f9e | mipsel | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6e6e4ca5d9f357c6c451f8e798bbc4c9f5656019 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/510dfb18fd598c6abccc97747009937f973c54b2 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/31fbdbf0f67fa5209f24b1313afee64c1bb58091 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/908957765d2ea41471050092b7fd909187d06c5e | sh4aeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6141621e51d19728d999aeab94cf43053a195a9d | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/54bc97e523849f62f22b62997162e76757d4e9f0 | microblaze | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/0b321294c26c3b2a63e4eef10a815c96d07699dd | arc | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/1ef7999f12cd11033c5e4eea7d67644bd2e68aba | x86_64 | pixz-1.0.7 | NOK | http://autobuild.buildroot.net/results/9713ee64d346434a0628a7a16a5eec1fe73f2da8 | xtensa | poppler-22.12.0 | NOK | http://autobuild.buildroot.net/results/d254b535f7ffbf00786ac437f4847481ef2e5b2f | mips64 | python-orjson-3.9.2 | NOK | http://autobuild.buildroot.net/results/218bf2d5647069a42160018407d68369e3e43e7b | x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/cede7916737970f174ee642fd5813cf23e055369 | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/d0e589accd1db98b273d25e4ff1c793914f45b9b | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/a049d3c5b507dfe1d596577fdd2843155e15530e | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/11b691a1f04d25d76f9afa6a2521e1f8cdfe591b | ORPH powerpc | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/449034f62f7db35945e8949df53712f89b05affe | ORPH s390x | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/9194b1b2c999db6118f93f0ffb9f4f2cec05fe8f | ORPH x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/c5aefcf2f2f1e81c68455cf2accd4e305e617eec | ORPH sh4aeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/7b779845f0ec7a3e0a67cd1d56d3e3750da8af3c | ORPH armeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/4f312622f5e71dc2a1d838b576f6928ca5a4bf49 | ORPH powerpc | squid-6.2 | NOK | http://autobuild.buildroot.net/results/e98daf84050eb7aaa214c70c13a42c3c8d93c0f9 | ORPH nios2 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/e7d5f00287a0f2498db536d2b499e8047ed98c64 | ORPH sh4 | squid-6.2 | NOK | http://autobuild.buildroot.net/results/b69e9250a97495d542f16206fddc2c24b5c952e5 | ORPH powerpc64le | tar-1.35 | NOK | http://autobuild.buildroot.net/results/18227c60a80e59c4cc09d92ec70bcba053e1387e | ORPH mips64 | tinifier-3.4.0 | NOK | http://autobuild.buildroot.net/results/4a7206113eb2778dfdc193cee14017758cda98cc | armeb | tinymembench-0.4 | NOK | http://autobuild.buildroot.net/results/16fd7ed116edfcb4f7566b37c25434012e737663 | sparc | unknown | NOK | http://autobuild.buildroot.net/results/50586ea28f8846a5c58a2d61a5a579bdbac6e958 | sh4a | unknown | NOK | http://autobuild.buildroot.net/results/a06a5e32565610985d241d723c37a344fbe3e9b1 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/0458c751a0110cf73c5fc08e8a6517380cd7d68a | or1k | unknown | NOK | http://autobuild.buildroot.net/results/4aecd1b3f3e4ab7a08337412942d36d5016b1920 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/800aef02b241aad1f3caa86a4001d2fd40e7cfe5 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/2057d3c23b5937cb253997b58ea7d439f02d2095 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/06bd5e010fe1eda65db6ad232d97925897942735 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/68b4ac22c8c2dbfd61abcd5c5a4247aa739fd8b8 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/8fa0f2cd7a027d3d8fae56125621b0b814e132da | s390x | unknown | NOK | http://autobuild.buildroot.net/results/4b8d98fb10c9ebdfb4f3d576f75f2fc351e98bd8 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/7ad0fbb41cce85ca60c7369ea056a9642009d08d | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/f79d9052820e4678be75fb1d0dab4960553628e9 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/4f5cab672831ae94c97841d7866cae2025c106e0 | arm | unknown | NOK | http://autobuild.buildroot.net/results/c0921543d6c21431eef4401f3a30abe03fa6a700 | i686 | unknown | NOK | http://autobuild.buildroot.net/results/8b7e847fc3d2e21e605c38c4fe8fb5d860baed80 | sh4 | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/cb3b6032238d30a26eb551852fe0fc1f2fe677ad | ORPH riscv64 | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/b8133fdc801ece552f0d80f328857f812770ed82 | s390x | xapp_xfd-1.1.4 | NOK | http://autobuild.buildroot.net/results/3263e0c7b63b39d56d28e876a53a10aa2aee0c36 | ORPH i686 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/d334a4e2ad35f1359d6d6db5e44494a7f4c76ebf | arm | xmrig-6.20.0 | NOK | http://autobuild.buildroot.net/results/7e4947d885a4ee263f8c7f13dbb127929eb0461b | Classification of failures by reason for 2023.02.x -------------------------------------------------- linux-6.1.55 | 2 unknown | 2 boost-1.80.0 | 1 coreutils-9.1 | 1 frr-8.4.2 | 1 gobject-introspection-1.72.0 | 1 host-binutils-2.38 | 1 host-gcc-final-11.4.0 | 1 host-go-1.20.9 | 1 libsodium-1.0.18 | 1 suricata-6.0.14 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arceb | boost-1.80.0 | NOK | http://autobuild.buildroot.net/results/0714e676ddbfceaad9f3258db4ea66cc3ac48e7a | sh4aeb | coreutils-9.1 | NOK | http://autobuild.buildroot.net/results/25ed3b36d8788830d68a12407bef298a26bd2c9f | ORPH arc | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/0ab53f25fffa6e2f57a9f7485a9cbad410c92c56 | sparc64 | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/459bc0b706627cf0bb5647cfe59e020965c95217 | ORPH i686 | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/5f695f1601dae6ec2d2fb551f7a8681d589546c0 | microblaze | host-gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/8b554085aa6f7bcca346c44ad5cd6d1972e9cf5e | mipsel | host-go-1.20.9 | NOK | http://autobuild.buildroot.net/results/7cc3ee4f104b00daa93c27f8530112ebfb1f4ceb | arceb | libsodium-1.0.18 | NOK | http://autobuild.buildroot.net/results/b02c95fada962457cc81b9c54b1fbb04268c6ff4 | sh4a | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/bba82818a082a194f95c0185c9b2411eae0d2b3d | ORPH powerpc64 | linux-6.1.55 | NOK | http://autobuild.buildroot.net/results/f0dd1acc57b8e9e64f208db9c096bad89bd2988a | ORPH arm | suricata-6.0.14 | NOK | http://autobuild.buildroot.net/results/991a9637dcaa03ef530a877d969b55a443c1b269 | armeb | unknown | NOK | http://autobuild.buildroot.net/results/a5027a59eefa35860803edf592c7f75df46fb085 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/79eb994acc1bbb4c2834e857c7e3a21554e00a78 | x86_64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/a70b0f32a970f231fafa44654927e3845e609e3c | Classification of failures by reason for 2023.08.x -------------------------------------------------- bird-2.0.12 | 3 elfutils-0.189 | 2 check-11970a7e112dfe243a2e6... | 1 dc3dd-7.2.641 | 1 fftw-quad-3.3.10 | 1 glibc-2.37-45-gb4e23c75aea7... | 1 gobject-introspection-1.76.1 | 1 host-go-1.20.9 | 1 host-sentry-cli-2.8.0 | 1 linux-5.10.162-cip24 | 1 linux-6.4.16 | 1 linux-pam-1.5.3 | 1 lttng-modules-2.13.7 | 1 unknown | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- m68k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/62aeba5f46d000760d4f7d01c4b008db7bff3587 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/778d618ee091ac702cd110510daca5b93099f174 | mips | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/de38b160c118e95566f0e652c3f1c15c00656eb1 | riscv64 | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/2da070f05925e7600138e43acf1acf258f013c32 | ORPH or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/15cdbb3487a4617f232734418aa28dc1bc904f7d | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/2a3c04074cf54ad5b52a7fcad0ebaf273814f0c1 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/3fb423272b6187a6e5588adf18050e4a7042d892 | ORPH powerpc64 | fftw-quad-3.3.10 | NOK | http://autobuild.buildroot.net/results/2e8adfc8fe1e0232f7b58c43f75e0e0e24464496 | ORPH powerpc64 | glibc-2.37-45-gb4e23c75aea7... | NOK | http://autobuild.buildroot.net/results/0b064ab01a32c50609cc9b63f4ad12d3a31d2310 | i686 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/f67a2acd7e8ba04f2d97e212faf28dc7f967c695 | ORPH mips64el | host-go-1.20.9 | NOK | http://autobuild.buildroot.net/results/734814bf69efecda66de757536f2a9c2c8757dbe | powerpc64le | host-sentry-cli-2.8.0 | NOK | http://autobuild.buildroot.net/results/43cba92c5187b0a64f3ad56e0df1f840b272555e | i686 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/25eee23aba4f89b64d7a1311ea058089a6567f72 | ORPH powerpc | linux-6.4.16 | NOK | http://autobuild.buildroot.net/results/f59532ec2e4087c68974ba857cfbe33860be1434 | ORPH arm | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/bd94cd37aa5ed1290cf88281e5c75b8a74474b97 | ORPH sparc64 | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/ca6d5ed37de56dc536728c0a754cac32f00d9690 | s390x | unknown | NOK | http://autobuild.buildroot.net/results/c6fba47e509f14d28469246762db0b347e4f8116 | -- http://autobuild.buildroot.net From ramirez.clement3 at gmail.com Wed Oct 11 07:12:44 2023 From: ramirez.clement3 at gmail.com (Clement Ramirez) Date: Wed, 11 Oct 2023 09:12:44 +0200 Subject: [Buildroot] [PATCH v2] package/qemu: security bump version to 8.1.1 Message-ID: <20231011071244.419815-1-ramirez.clement3@gmail.com> Fixes the following CVEs : - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR 56270e5d3d meson: Fix targetos match for illumos and Solaris. 60da8301fe s390x/ap: fix missing subsystem reset registration 8b479229ff ui: fix crash when there are no active_console d4919bbcc2 virtio-gpu/win32: set the destroy function on load cae7dc1452 target/riscv: Allocate itrigger timers only once 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 b822207513 hw/riscv: virt: Fix riscv,pmu DT node path 2947da750e linux-user/riscv: Use abi type for target_ucontext 60a7f5c8fe hw/intc: Make rtc variable names consistent 566dac7127 hw/intc: Fix upper/lower mtime write calculation 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first 987e90cfd2 target/riscv/cpu.c: add zmmul isa string b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts 9832a670b3 arm64: Restore trapless ptimer access df33ce9b6d virtio: Drop out of coroutine context in virtio_load() eeee989f72 qxl: don't assert() if device isn't yet initialized 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() 6356785daa docs tests: Fix use of migrate_set_parameter 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode d5361580ac hw/ide/ahci: fix broken SError handling e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr 5358980d33 hw/ppc/e500: fix broken snapshot replay 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects e975434d62 target/i386: raise FERR interrupt with iothread locked e5e77f256f linux-user: Adjust brk for load_bias 645b87f650 target/arm: properly document FEAT_CRC32 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section 441106eebb docs/about/license: Update LICENSE URL 63188a00bb target/arm: Fix 64-bit SSRA 7012e20b2d target/arm: Fix SME ST1Q c8e381d672 accel/kvm: Specify default IPA size for arm64 34808d041c kvm: Introduce kvm_arch_get_default_type hook 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 c12eddbd48 target/s390x: Fix VSTL with a large length 880e82ed78 target/s390x: Use a 16-bit immediate in VREP 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS Signed-off-by: Clement Ramirez --- Changes v1 -> v2: - add a comment to explain why ignoring CVEs is required Signed-off-by: Clement Ramirez --- package/qemu/qemu.hash | 2 +- package/qemu/qemu.mk | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash index 506afa8bf3..61e51a923f 100644 --- a/package/qemu/qemu.hash +++ b/package/qemu/qemu.hash @@ -1,4 +1,4 @@ # Locally computed, tarball verified with GPG signature -sha256 710c101198e334d4762eef65f649bc43fa8a5dd75303554b8acfec3eb25f0e55 qemu-8.1.0.tar.xz +sha256 37ce2ef5e500fb752f681117c68b45118303ea49a7e26bd54080ced54fab7def qemu-8.1.1.tar.xz sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 6aaed32336..5ce0cedec1 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -6,7 +6,7 @@ # When updating the version, check whether the list of supported targets # needs to be updated. -QEMU_VERSION = 8.1.0 +QEMU_VERSION = 8.1.1 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz QEMU_SITE = https://download.qemu.org QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c @@ -16,6 +16,12 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB # individual source files. QEMU_CPE_ID_VENDOR = qemu +# Need to ignore the following CVEs because the CPE database does +# not have an entry for the 8.1.1 version yet. +QEMU_IGNORE_CVES += CVE-2023-4135 +QEMU_IGNORE_CVES += CVE-2023-3354 +QEMU_IGNORE_CVES += CVE-2023-3180 + #------------------------------------------------------------- # The build system is now partly based on Meson. -- 2.34.1 From yegorslists at googlemail.com Wed Oct 11 07:27:01 2023 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Wed, 11 Oct 2023 09:27:01 +0200 Subject: [Buildroot] [PATCH] python-configobj: new package Message-ID: <20231011072701.1014328-1-yegorslists@googlemail.com> From: Yegor Yefremov python-configobj package was removed in 8d264a96172cfa1c1f515d1160b921c013fa3bd7 because of the missing support for Python 3.x. Meanwhile, this problem was fixed, hence readd the package. Signed-off-by: Yegor Yefremov --- Config.in.legacy | 6 ------ package/Config.in | 1 + package/python-configobj/Config.in | 7 +++++++ package/python-configobj/python-configobj.hash | 5 +++++ package/python-configobj/python-configobj.mk | 14 ++++++++++++++ 5 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 package/python-configobj/Config.in create mode 100644 package/python-configobj/python-configobj.hash create mode 100644 package/python-configobj/python-configobj.mk diff --git a/Config.in.legacy b/Config.in.legacy index ca80279212..b817e80e55 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -724,12 +724,6 @@ config BR2_PACKAGE_PYTHON_DIALOG help Package was removed together with python 2.7 support. -config BR2_PACKAGE_PYTHON_CONFIGOBJ - bool "python-configobj removed" - select BR2_LEGACY - help - Package was removed together with python 2.7 support. - config BR2_PACKAGE_PYTHON_YIELDFROM bool "python-yieldfrom removed" select BR2_LEGACY diff --git a/package/Config.in b/package/Config.in index 009f7ba186..1327a13f4e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1026,6 +1026,7 @@ menu "External python modules" source "package/python-colorama/Config.in" source "package/python-colorlog/Config.in" source "package/python-colorzero/Config.in" + source "package/python-configobj/Config.in" source "package/python-configshell-fb/Config.in" source "package/python-constantly/Config.in" source "package/python-construct/Config.in" diff --git a/package/python-configobj/Config.in b/package/python-configobj/Config.in new file mode 100644 index 0000000000..365aa17fcb --- /dev/null +++ b/package/python-configobj/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_CONFIGOBJ + bool "python-configobj" + select BR2_PACKAGE_PYTHON_SIX # runtime + help + Config file reading, writing and validation. + + https://github.com/DiffSK/configobj diff --git a/package/python-configobj/python-configobj.hash b/package/python-configobj/python-configobj.hash new file mode 100644 index 0000000000..682dc987f1 --- /dev/null +++ b/package/python-configobj/python-configobj.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/configobj/json +md5 8dda7b31bb3aea87ecfe3b7a87812b17 configobj-5.0.8.tar.gz +sha256 6f704434a07dc4f4dc7c9a745172c1cad449feb548febd9f7fe362629c627a97 configobj-5.0.8.tar.gz +# Locally computed sha256 checksums +sha256 0d95e648469a711f5ec1e59e6d4492150ec65d968c1ea6c6d96154a92879997a LICENSE diff --git a/package/python-configobj/python-configobj.mk b/package/python-configobj/python-configobj.mk new file mode 100644 index 0000000000..fe1776f79f --- /dev/null +++ b/package/python-configobj/python-configobj.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-configobj +# +################################################################################ + +PYTHON_CONFIGOBJ_VERSION = 5.0.8 +PYTHON_CONFIGOBJ_SOURCE = configobj-$(PYTHON_CONFIGOBJ_VERSION).tar.gz +PYTHON_CONFIGOBJ_SITE = https://files.pythonhosted.org/packages/cb/87/17d4c6d634c044ab08b11c0cd2a8a136d103713d438f8792d7be2c5148fb +PYTHON_CONFIGOBJ_SETUP_TYPE = setuptools +PYTHON_CONFIGOBJ_LICENSE = BSD-3-Clause +PYTHON_CONFIGOBJ_LICENSE_FILES = LICENSE + +$(eval $(python-package)) -- 2.34.1 From sairon at sairon.cz Wed Oct 11 07:35:05 2023 From: sairon at sairon.cz (=?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?=) Date: Wed, 11 Oct 2023 09:35:05 +0200 Subject: [Buildroot] [PATCH] package/libcurl: security bump to 8.4.0 Message-ID: <20231011073506.687039-1-sairon@sairon.cz> Fixes following two vulnerabilities: * CVE-2023-38545: SOCKS5 heap buffer overflow https://curl.se/docs/CVE-2023-38545.html * CVE-2023-38546: cookie injection with none file https://curl.se/docs/CVE-2023-38546.html Signed-off-by: Jan ?erm?k --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 371d20a632..ecd5d63909 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-8.3.0.tar.xz.asc +# https://curl.se/download/curl-8.4.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63 curl-8.3.0.tar.xz +sha256 16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82d curl-8.4.0.tar.xz sha256 b1d7feb949ea5023552029fbe0bf5db4f23c2f85e9b8e51e18536f0ecbf9c524 COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index dd4cf43c6a..bd331a55aa 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 8.3.0 +LIBCURL_VERSION = 8.4.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ -- 2.34.1 From peter at korsgaard.com Wed Oct 11 08:39:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 10:39:51 +0200 Subject: [Buildroot] [PATCH] package/libcue: security bump to version 2.3.0 Message-ID: <20231011083951.177891-1-peter@korsgaard.com> Fixes the following security issue: CVE-2023-43641: Out-of-bounds array access in track_set_index https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj For more details, see the github writeup: https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ Signed-off-by: Peter Korsgaard --- package/libcue/libcue.hash | 2 +- package/libcue/libcue.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcue/libcue.hash b/package/libcue/libcue.hash index 93ae2dacdb..47fe906e1a 100644 --- a/package/libcue/libcue.hash +++ b/package/libcue/libcue.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 f27bc3ebb2e892cd9d32a7bee6d84576a60f955f29f748b9b487b173712f1200 libcue-2.2.1.tar.gz +sha256 cc1b3a65c60bd88b77a1ddd1574042d83cf7cc32b85fe9481c99613359eb7cfe libcue-2.3.0.tar.gz sha256 c388d36583fa54e13b6d73ad924d0b68d073ed8a5771e17cb49104705df4504f LICENSE diff --git a/package/libcue/libcue.mk b/package/libcue/libcue.mk index 3edb4f3b69..7ef27f5a17 100644 --- a/package/libcue/libcue.mk +++ b/package/libcue/libcue.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCUE_VERSION = 2.2.1 +LIBCUE_VERSION = 2.3.0 LIBCUE_SITE = $(call github,lipnitsk,libcue,v$(LIBCUE_VERSION)) LIBCUE_LICENSE = GPL-2.0, BSD-2-Clause (rem.c) LIBCUE_LICENSE_FILES = LICENSE -- 2.30.2 From peter at korsgaard.com Wed Oct 11 08:52:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 10:52:30 +0200 Subject: [Buildroot] [PATCH] package/libcurl: security bump to 8.4.0 In-Reply-To: <20231011073506.687039-1-sairon@sairon.cz> ("Jan =?utf-8?B?xIxlcm3DoWsiJ3M=?= message of "Wed, 11 Oct 2023 09:35:05 +0200") References: <20231011073506.687039-1-sairon@sairon.cz> Message-ID: <87il7dczht.fsf@48ers.dk> >>>>> "Jan" == Jan ?erm?k writes: > Fixes following two vulnerabilities: > * CVE-2023-38545: SOCKS5 heap buffer overflow > https://curl.se/docs/CVE-2023-38545.html > * CVE-2023-38546: cookie injection with none file > https://curl.se/docs/CVE-2023-38546.html > Signed-off-by: Jan ?erm?k Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 08:40:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 10:40:17 +0200 Subject: [Buildroot] [git commit] package/libcurl: security bump to 8.4.0 Message-ID: <20231011085253.3CD09844F2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30dd60ba7eb3e6da4f0ae91b3b08f8aa8fb8d786 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes following two vulnerabilities: * CVE-2023-38545: SOCKS5 heap buffer overflow https://curl.se/docs/CVE-2023-38545.html * CVE-2023-38546: cookie injection with none file https://curl.se/docs/CVE-2023-38546.html Signed-off-by: Jan ??erm??k Signed-off-by: Peter Korsgaard --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 371d20a632..ecd5d63909 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-8.3.0.tar.xz.asc +# https://curl.se/download/curl-8.4.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63 curl-8.3.0.tar.xz +sha256 16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82d curl-8.4.0.tar.xz sha256 b1d7feb949ea5023552029fbe0bf5db4f23c2f85e9b8e51e18536f0ecbf9c524 COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index dd4cf43c6a..bd331a55aa 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 8.3.0 +LIBCURL_VERSION = 8.4.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ From peter at korsgaard.com Wed Oct 11 09:00:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:17 +0200 Subject: [Buildroot] [PATCH] package/cups: add upstream security fix for CVE-2023-4504 In-Reply-To: <20231001142024.3959758-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 1 Oct 2023 16:20:24 +0200") References: <20231001142024.3959758-1-peter@korsgaard.com> Message-ID: <87edi1cz4u.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-4504: Postscript Parsing Heap Overflow > https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h > https://takeonme.org/cves/CVE-2023-4504.html > There is a 2.4.7 release with this fix, but upstream unfortunately broke > !gnutls builds, so backport the security fix instead: > https://github.com/OpenPrinting/cups/issues/762 > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 09:02:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:02:02 +0200 Subject: [Buildroot] [PATCH 01/12] package/gstreamer1: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 21:10:38 +0200") References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <87a5spcz1x.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Signed-off-by: Peter Korsgaard Committed series, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 09:03:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:03:01 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series In-Reply-To: <20231007102850.1303053-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 7 Oct 2023 12:28:50 +0200") References: <20231007102850.1303053-1-bernd@kuhls.net> Message-ID: <875y3dcz0a.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 09:03:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:03:17 +0200 Subject: [Buildroot] [PATCH 1/1] package/libxml2: bump version to 2.11.5 In-Reply-To: <20231007102500.1293134-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 7 Oct 2023 12:25:00 +0200") References: <20231007102500.1293134-1-bernd@kuhls.net> Message-ID: <871qe1cyzu.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.news > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 09:00:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:36 +0200 Subject: [Buildroot] [git commit] package/gstreamer1: bump to version 1.22.6 Message-ID: <20231011090436.E669584507@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=133ced8e02f00820f6e83effa5ffac1d8a6c7200 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gstreamer1/gstreamer1.hash | 4 ++-- package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1/gstreamer1.hash b/package/gstreamer1/gstreamer1/gstreamer1.hash index f74832ce6a..65045c1c30 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.hash +++ b/package/gstreamer1/gstreamer1/gstreamer1.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.2.tar.xz.sha256sum -sha256 b2afe73603921c608ba48969dbb7d743776744bfe5d8059ece241137b7f88e21 gstreamer-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.6.tar.xz.sha256sum +sha256 f500e6cfddff55908f937711fc26a0840de28a1e9ec49621c0b6f1adbd8f818e gstreamer-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 8584735129..352567ed52 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_VERSION = 1.22.2 +GSTREAMER1_VERSION = 1.22.6 GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer GSTREAMER1_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 11 09:01:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:15 +0200 Subject: [Buildroot] [git commit] package/gst1-python: bump to version 1.22.6 Message-ID: <20231011090437.3088684508@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3aff0c2cde63cc19ac8ea5ce50adfd19567f04b2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-python/gst1-python.hash | 4 ++-- package/gstreamer1/gst1-python/gst1-python.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-python/gst1-python.hash b/package/gstreamer1/gst1-python/gst1-python.hash index 006d4985ef..4495e03945 100644 --- a/package/gstreamer1/gst1-python/gst1-python.hash +++ b/package/gstreamer1/gst1-python/gst1-python.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.2.tar.xz.sha256sum -sha256 bef2b3d82ce4be46b775b1bb56305c1003ee01b535a53a82f9fe8924972153ad gst-python-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.6.tar.xz.sha256sum +sha256 51de2d6d13b12ce095eac97c0b94ee59c2aeba3712bb7462b78c4d57dde176c5 gst-python-1.22.6.tar.xz sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/package/gstreamer1/gst1-python/gst1-python.mk b/package/gstreamer1/gst1-python/gst1-python.mk index 527d101786..475f2f2d87 100644 --- a/package/gstreamer1/gst1-python/gst1-python.mk +++ b/package/gstreamer1/gst1-python/gst1-python.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PYTHON_VERSION = 1.22.2 +GST1_PYTHON_VERSION = 1.22.6 GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python GST1_PYTHON_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 11 08:59:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 10:59:52 +0200 Subject: [Buildroot] [git commit] package/cups: add upstream security fix for CVE-2023-4504 Message-ID: <20231011090436.DD25E844F6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b9d9497019f0caa3388f51c458a2469fdeefd146 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-4504: Postscript Parsing Heap Overflow https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h https://takeonme.org/cves/CVE-2023-4504.html There is a 2.4.7 release with this fix, but upstream unfortunately broke !gnutls builds, so backport the security fix instead: https://github.com/OpenPrinting/cups/issues/762 Signed-off-by: Peter Korsgaard --- ...0005-raster-interpret.c-Fix-CVE-2023-4504.patch | 45 ++++++++++++++++++++++ package/cups/cups.mk | 3 ++ 2 files changed, 48 insertions(+) diff --git a/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch new file mode 100644 index 0000000000..d1dff4e1fa --- /dev/null +++ b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch @@ -0,0 +1,45 @@ +From 2431caddb7e6a87f04ac90b5c6366ad268b6ff31 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Wed, 20 Sep 2023 14:45:17 +0200 +Subject: [PATCH] raster-interpret.c: Fix CVE-2023-4504 + +We didn't check for end of buffer if it looks there is an escaped +character - check for NULL terminator there and if found, return NULL +as return value and in `ptr`, because a lone backslash is not +a valid PostScript character. + +Upstream: https://github.com/OpenPrinting/cups/commit/2431caddb7e6a87f04ac90b5c6366ad268b6ff31 +[Peter: drop CHANGES hunk] +Signed-off-by: Peter Korsgaard +--- + cups/raster-interpret.c | 14 +++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/cups/raster-interpret.c b/cups/raster-interpret.c +index 6fcf731b5..b8655c8c6 100644 +--- a/cups/raster-interpret.c ++++ b/cups/raster-interpret.c +@@ -1116,7 +1116,19 @@ scan_ps(_cups_ps_stack_t *st, /* I - Stack */ + + cur ++; + +- if (*cur == 'b') ++ /* ++ * Return NULL if we reached NULL terminator, a lone backslash ++ * is not a valid character in PostScript. ++ */ ++ ++ if (!*cur) ++ { ++ *ptr = NULL; ++ ++ return (NULL); ++ } ++ ++ if (*cur == 'b') + *valptr++ = '\b'; + else if (*cur == 'f') + *valptr++ = '\f'; +-- +2.30.2 + diff --git a/package/cups/cups.mk b/package/cups/cups.mk index a3bb2f8dfc..4bc5eeedee 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -13,6 +13,9 @@ CUPS_CPE_ID_VENDOR = openprinting CUPS_SELINUX_MODULES = cups CUPS_INSTALL_STAGING = YES +# 0005-raster-interpret.c-Fix-CVE-2023-4504.patch +CUPS_IGNORE_CVES += CVE-2023-4504 + # Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. define CUPS_RUN_AUTOCONF cd $(@D); $(AUTOCONF) -f From peter at korsgaard.com Wed Oct 11 09:00:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:50 +0200 Subject: [Buildroot] [git commit] package/gst1-plugins-good: security bump to version 1.22.6 Message-ID: <20231011090437.03F5E84522@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=40c3696131a2b93ea3da2556352dc79c19ac2e9c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-37327: Heap-based buffer overflow in the FLAC parser when handling malformed image tags in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0001.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash | 4 ++-- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash index 604e74b57d..1b315ac1cc 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz.sha256sum -sha256 7c8cc59425f2b232f60ca7d13e56edd615da4f711e73dd01a7cffa46e6bc0cdd gst-plugins-good-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.6.tar.xz.sha256sum +sha256 b3b07fe3f1ce7fe93aa9be7217866044548f35c4a7792280eec7e108a32f9817 gst-plugins-good-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 41f4c727f3..4c6188c097 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_GOOD_VERSION = 1.22.2 +GST1_PLUGINS_GOOD_VERSION = 1.22.6 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING From peter at korsgaard.com Wed Oct 11 09:00:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:43 +0200 Subject: [Buildroot] [git commit] package/gst1-plugins-base: security bump to version 1.22.6 Message-ID: <20231011090436.EF36B84508@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=14e2374592284ba61384782ced095ea01ab4dfc5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-37328: Heap-based buffer overflow in the subparse subtitle parser when handling certain SRT subtitle files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0002.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash | 4 ++-- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash index 173f359afc..a46ce228c4 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz.sha256sum -sha256 eb65120c4ee79b7a153c3c1972d5c0158c2151877cc51ec7725bba5749679d49 gst-plugins-base-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.6.tar.xz.sha256sum +sha256 50f2b4d17c02eefe430bbefa8c5cd134b1be78a53c0f60e951136d96cf49fd4b gst-plugins-base-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk index 153187f743..7fcac012f2 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BASE_VERSION = 1.22.2 +GST1_PLUGINS_BASE_VERSION = 1.22.6 GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base GST1_PLUGINS_BASE_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 11 09:00:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:59 +0200 Subject: [Buildroot] [git commit] package/gst1-plugins-ugly: security bump to version 1.22.6 Message-ID: <20231011090437.150DB844F6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7f2571f594cc87fc7543b5476eeda1bdda4d7264 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: ZDI-CAN-21443: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0004.html ZDI-CAN-21444: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0005.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash | 4 ++-- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash index ed781df686..f55dd7b3a0 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.2.tar.xz.sha256sum -sha256 8f30f44db0bd063709bf6fbe55138e3a98af0abcb61c360f35582bbe10e80691 gst-plugins-ugly-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.6.tar.xz.sha256sum +sha256 3e31454c98cb2f7f6d2d355eceb933a892fa0f1dc09bc36c9abc930d8e29ca48 gst-plugins-ugly-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk index f1566b058e..ee3bd1b551 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_UGLY_VERSION = 1.22.2 +GST1_PLUGINS_UGLY_VERSION = 1.22.6 GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING From peter at korsgaard.com Wed Oct 11 09:01:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:20 +0200 Subject: [Buildroot] [git commit] package/gst1-rtsp-server: bump to version 1.22.6 Message-ID: <20231011090437.3945F84522@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7a0cbea0e35ef6f62c0b073fd0724e02235921fc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash | 4 ++-- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash index c98d10d79c..521a91ddd7 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash @@ -1,4 +1,4 @@ -# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.2.tar.xz.sha256sum -sha256 2be4aecfb88710100ea7115ed0216403e8094344ebf146094271b8d4d73828bf gst-rtsp-server-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.6.tar.xz.sha256sum +sha256 0ae33a8b50443b62f11581a9181e906b41cd3877b2d799dbea72912c3eda4bb3 gst-rtsp-server-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk index 6f5fc4f7aa..46d7606b1d 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_RTSP_SERVER_VERSION = 1.22.2 +GST1_RTSP_SERVER_VERSION = 1.22.6 GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server GST1_RTSP_SERVER_LICENSE = LGPL-2.1+ From peter at korsgaard.com Wed Oct 11 09:01:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:05 +0200 Subject: [Buildroot] [git commit] package/gst1-devtools: bump to version 1.22.6 Message-ID: <20231011090437.1E12F84507@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=637cf8fdab953d7a77e640fbc10b63166c3b3b20 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-devtools/gst1-devtools.hash | 4 ++-- package/gstreamer1/gst1-devtools/gst1-devtools.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash index 4abdd6ece4..9eada91614 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.2.tar.xz.sha256sum -sha256 eb62726d3e27a8782369a24fd6364a8885ed2462b3bbdab091dffc8139ee06d8 gst-devtools-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.6.tar.xz.sha256sum +sha256 8928560efaf16137c30285e718708e5d0bab0777eb4ef8127e0274e120d3d86b gst-devtools-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk index 7801f9b62c..8608c2f75b 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_DEVTOOLS_VERSION = 1.22.2 +GST1_DEVTOOLS_VERSION = 1.22.6 GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools GST1_DEVTOOLS_LICENSE = LGPL-2.1+ From peter at korsgaard.com Wed Oct 11 09:03:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:03:16 +0200 Subject: [Buildroot] [git commit] package/libxml2: bump version to 2.11.5 Message-ID: <20231011090437.6BE3184522@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=622698d78472aad0b4afa2775fd35dd5bff7a865 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.news Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/libxml2/libxml2.hash | 4 ++-- package/libxml2/libxml2.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libxml2/libxml2.hash b/package/libxml2/libxml2.hash index f3650c5ec5..cad19f930f 100644 --- a/package/libxml2/libxml2.hash +++ b/package/libxml2/libxml2.hash @@ -1,4 +1,4 @@ -# From https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.4.sha256sum -sha256 737e1d7f8ab3f139729ca13a2494fd17bf30ddb4b7a427cf336252cab57f57f7 libxml2-2.11.4.tar.xz +# From https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.sha256sum +sha256 3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6 libxml2-2.11.5.tar.xz # License files, locally calculated sha256 c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd Copyright diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index 672a2cb0f0..fb7767297b 100644 --- a/package/libxml2/libxml2.mk +++ b/package/libxml2/libxml2.mk @@ -5,7 +5,7 @@ ################################################################################ LIBXML2_VERSION_MAJOR = 2.11 -LIBXML2_VERSION = $(LIBXML2_VERSION_MAJOR).4 +LIBXML2_VERSION = $(LIBXML2_VERSION_MAJOR).5 LIBXML2_SOURCE = libxml2-$(LIBXML2_VERSION).tar.xz LIBXML2_SITE = \ https://download.gnome.org/sources/libxml2/$(LIBXML2_VERSION_MAJOR) From peter at korsgaard.com Wed Oct 11 09:00:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:00:55 +0200 Subject: [Buildroot] [git commit] package/gst1-plugins-bad: security bump to version 1.22.6 Message-ID: <20231011090437.0CE5684524@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=19fe76b8b4dd09bd11fce6832932cd799332ffb5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issues: CVE-2023-37329: Heap-based buffer overflow in the PGS blu-ray subtitle decoder when handling certain files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0003.html CVE-2023-40474: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with uncompressed video in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0006.html CVE-2023-40475: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with AES3 audio in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0007.html CVE-2023-40476: Stack-based buffer overflow in the H.265 video parser when handling malformed H.265 video streams in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0008.html Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash | 4 ++-- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash index 2bbb8af904..c6d1f2e009 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.2.tar.xz.sha256sum -sha256 3d8faf1ce3402c8535ce3a8c4e1a6c960e4b5655dbda6b55943db9ac79022d0f gst-plugins-bad-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.6.tar.xz.sha256sum +sha256 b4029cd2908a089c55f1d902a565d007495c95b1442d838485dc47fb12df7137 gst-plugins-bad-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index 1713f0b4b8..983be754e9 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BAD_VERSION = 1.22.2 +GST1_PLUGINS_BAD_VERSION = 1.22.6 GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad GST1_PLUGINS_BAD_INSTALL_STAGING = YES From peter at korsgaard.com Wed Oct 11 09:01:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:50 +0200 Subject: [Buildroot] [git commit] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series Message-ID: <20231011090437.64606844F6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=003cdd5de31dd6558b02d0a719bc779bb1fc8db5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 6 +++--- package/linux-headers/Config.in.host | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 8dcc493e2e..a6b4967a8c 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.5" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.6" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index bdd27eb600..dfcc87802b 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,8 +1,8 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95 linux-6.5.5.tar.xz -sha256 a87e241ec15d53452c4efe219713a3769d88cc436b5b98cf6efb262c4aff15c0 linux-6.1.55.tar.xz +sha256 78e36d4214547051c24df2140f4ce09428d6c515ad9a71b38b28e8094a95d2f6 linux-6.5.6.tar.xz +sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 ef845e7934897b88e4448378ea9daacac19e07f156fe904844fab0a7d8ff5ddd linux-5.15.133.tar.xz +sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index d1023a15e6..e2e2655964 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -408,9 +408,9 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.19.295" if BR2_KERNEL_HEADERS_4_19 default "5.4.257" if BR2_KERNEL_HEADERS_5_4 default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.133" if BR2_KERNEL_HEADERS_5_15 - default "6.1.55" if BR2_KERNEL_HEADERS_6_1 - default "6.5.5" if BR2_KERNEL_HEADERS_6_5 + default "5.15.134" if BR2_KERNEL_HEADERS_5_15 + default "6.1.56" if BR2_KERNEL_HEADERS_6_1 + default "6.5.6" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Wed Oct 11 09:01:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:09 +0200 Subject: [Buildroot] [git commit] package/gst1-libav: bump to version 1.22.6 Message-ID: <20231011090437.264AC84526@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=57fc4d90d07e00c2d49240d42141056c00fdfd6a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-libav/gst1-libav.hash | 4 ++-- package/gstreamer1/gst1-libav/gst1-libav.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-libav/gst1-libav.hash b/package/gstreamer1/gst1-libav/gst1-libav.hash index c3e84a17d2..251e924792 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.hash +++ b/package/gstreamer1/gst1-libav/gst1-libav.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.2.tar.xz.sha256sum -sha256 fcaaf9878fe8f3bc82317ef13a1558824cb68df1f8968c6797f556c5e33bcffd gst-libav-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.6.tar.xz.sha256sum +sha256 7789e6408388a25f23cbf948cfc5c6230d735bbcd8b7f37f4a01c9e348a1e3a7 gst-libav-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-libav/gst1-libav.mk b/package/gstreamer1/gst1-libav/gst1-libav.mk index 0306db42c0..23d4a29799 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.mk +++ b/package/gstreamer1/gst1-libav/gst1-libav.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_LIBAV_VERSION = 1.22.2 +GST1_LIBAV_VERSION = 1.22.6 GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav GST1_LIBAV_LICENSE = LGPL-2.1+ From peter at korsgaard.com Wed Oct 11 09:01:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:26 +0200 Subject: [Buildroot] [git commit] package/gst1-rtsp-vaapi: bump to version 1.22.6 Message-ID: <20231011090437.4503E844F6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=688dcef3d7d2f72119320280dd63726787b1486b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-vaapi/gst1-vaapi.hash | 4 ++-- package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash index 2fdec4e83f..53dbe97ca9 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.2.tar.xz.sha256sum -sha256 d2e642f9745f97d9f73a7f5085e7659a9a31fe209b774e6e45dae041b435df06 gstreamer-vaapi-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.6.tar.xz.sha256sum +sha256 d9ba2fc26bef98c78e982c599f585d46bbb65fe122da89c2d7ab41f468a52c7b gstreamer-vaapi-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk index cae239094a..46a5839450 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_VAAPI_VERSION = 1.22.2 +GST1_VAAPI_VERSION = 1.22.6 GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz GST1_VAAPI_LICENSE = LGPL-2.1+ From peter at korsgaard.com Wed Oct 11 09:01:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:32 +0200 Subject: [Buildroot] [git commit] package/gst-omx: bump to version 1.22.6 Message-ID: <20231011090437.51CA384507@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6339e7f4132230e086a8efc5e266c21fbc3ef3c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst-omx/gst-omx.hash | 4 ++-- package/gstreamer1/gst-omx/gst-omx.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst-omx/gst-omx.hash b/package/gstreamer1/gst-omx/gst-omx.hash index d4a95c631a..5878991b5b 100644 --- a/package/gstreamer1/gst-omx/gst-omx.hash +++ b/package/gstreamer1/gst-omx/gst-omx.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.2.tar.xz.sha256sum -sha256 1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2 gst-omx-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.6.tar.xz.sha256sum +sha256 223833c42518ad7eb1923bb4dd3726809f59a66d6e9aaaa69cb29ad0750c8758 gst-omx-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst-omx/gst-omx.mk b/package/gstreamer1/gst-omx/gst-omx.mk index 87f162f715..3d2ba90290 100644 --- a/package/gstreamer1/gst-omx/gst-omx.mk +++ b/package/gstreamer1/gst-omx/gst-omx.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST_OMX_VERSION = 1.22.2 +GST_OMX_VERSION = 1.22.6 GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx From peter at korsgaard.com Wed Oct 11 09:01:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 11:01:42 +0200 Subject: [Buildroot] [git commit] package/gstreamer1-editing-services: bump to version 1.22.6 Message-ID: <20231011090437.5C64D84508@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c8ff426744d5c4977e06b1554185fde69a2f146 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- .../gstreamer1-editing-services/gstreamer1-editing-services.hash | 4 ++-- .../gstreamer1-editing-services/gstreamer1-editing-services.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash index 0cdb18ea5d..11e93b8b65 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash @@ -1,5 +1,5 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.2.tar.xz.sha256sum -sha256 453b1464fc3857de269a7cb0ebd966afe02171d97bef672a0b8a0a6d43e0cebf gst-editing-services-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.6.tar.xz.sha256sum +sha256 748d423672c597f876e130804fb984848f5b4b89efd78a506cb17f7646795301 gst-editing-services-1.22.6.tar.xz # Hashes for license files: sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk index 9fdc877db0..bea59f256b 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.2 +GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.6 GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ From adam.duskett at amarulasolutions.com Wed Oct 11 09:22:50 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Wed, 11 Oct 2023 11:22:50 +0200 Subject: [Buildroot] [PATCH 2/2] support/testing/tests/package/test_firewalld.py: new test In-Reply-To: <20231011092250.3739529-1-adam.duskett@amarulasolutions.com> References: <20231011092250.3739529-1-adam.duskett@amarulasolutions.com> Message-ID: <20231011092250.3739529-2-adam.duskett@amarulasolutions.com> This test case runs firewalld using both system and sysvinit. run `firewalld-cmd --state` and ensure the output is "running" with a return code of 0. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + .../testing/tests/package/test_firewalld.py | 94 +++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 support/testing/tests/package/test_firewalld.py diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..349f609e64 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -37,6 +37,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: support/testing/tests/package/test_firewalld.py F: support/testing/tests/package/test_flutter.py N: Adam Heinrich diff --git a/support/testing/tests/package/test_firewalld.py b/support/testing/tests/package/test_firewalld.py new file mode 100644 index 0000000000..4b0282d3e4 --- /dev/null +++ b/support/testing/tests/package/test_firewalld.py @@ -0,0 +1,94 @@ +"""Test firewalld for both systemd and sysvinit.""" +import os +import infra.basetest + + +class TestFirewalldSystemd(infra.basetest.BRTest): + """Build the kernel as firewalld requires several the nftable options.""" + + __test__ = True + config: str = """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PER_PACKAGE_DIRECTORIES=y + BR2_INIT_SYSTEMD=y + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_DTS_SUPPORT=y + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_FIREWALLD=y + 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") + kernel_file = os.path.join(self.builddir, "images", "zImage") + dtb_file = os.path.join(self.builddir, "images", "vexpress-v2p-ca9.dtb") + self.emulator.boot(arch="armv7", + kernel=kernel_file, + kernel_cmdline=["console=ttyAMA0,115200"], + options=[ + "-initrd", cpio_file, + "-dtb", dtb_file, + "-M", "vexpress-a9" + ]) + # It takes quite some time for the system to boot with firewalld, + self.emulator.timeout_multiplier *= 10 + self.emulator.login() + cmd = "firewall-cmd --state" + output, exit_code = self.emulator.run(cmd, timeout=10) + self.assertIn("running", output[0]) + self.assertEqual(exit_code, 0) + + +class TestFirewalldSysVInit(infra.basetest.BRTest): + """Build the kernel as firewalld requires several nftable options.""" + + __test__ = True + config: str = """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PER_PACKAGE_DIRECTORIES=y + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_DTS_SUPPORT=y + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_FIREWALLD=y + 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") + kernel_file = os.path.join(self.builddir, "images", "zImage") + dtb_file = os.path.join(self.builddir, "images", "vexpress-v2p-ca9.dtb") + self.emulator.boot(arch="armv7", + kernel=kernel_file, + kernel_cmdline=["console=ttyAMA0,115200"], + options=[ + "-initrd", cpio_file, + "-dtb", dtb_file, + "-M", "vexpress-a9" + ]) + # It takes quite some time for the system to boot with firewalld. + self.emulator.timeout_multiplier *= 10 + self.emulator.login() + cmd = "firewall-cmd --state" + output, exit_code = self.emulator.run(cmd, timeout=10) + self.assertIn("running", output[0]) + self.assertEqual(exit_code, 0) -- 2.41.0 From adam.duskett at amarulasolutions.com Wed Oct 11 09:22:49 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Wed, 11 Oct 2023 11:22:49 +0200 Subject: [Buildroot] [PATCH 1/2] package/firewalld: enable missing kernel config options Message-ID: <20231011092250.3739529-1-adam.duskett@amarulasolutions.com> Firewalld requires IPV6 to function. We also should enable the other dependencies such as networking support to ensure all other options in the giant list of kernel config options are selected properly. Signed-off-by: Adam Duskett --- package/firewalld/firewalld.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 188550d449..23ba1e6c2a 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -72,9 +72,16 @@ define FIREWALLD_INSTALL_INIT_SYSV $(TARGET_DIR)/etc/init.d/S46firewalld endef +# Firewalld needs ipv6 # Firewalld requires almost every single nftable option selected. define FIREWALLD_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_BRIDGE) + $(call KCONFIG_ENABLE_OPT,CONFIG_INET) + $(call KCONFIG_ENABLE_OPT,CONFIG_INET_DIAG) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED) + $(call KCONFIG_ENABLE_OPT,CONFIG_IPV6) $(call KCONFIG_ENABLE_OPT,CONFIG_IP6_NF_FILTER) $(call KCONFIG_ENABLE_OPT,CONFIG_IP6_NF_IPTABLES) $(call KCONFIG_ENABLE_OPT,CONFIG_IP6_NF_MANGLE) -- 2.41.0 From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:30 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:30 +0200 Subject: [Buildroot] [PATCH 2/4] package/freescale-imx: add i.MX91 and i.MX93 SoC support In-Reply-To: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> Message-ID: <20231011110932.4425-3-sebastien.szymanski@armadeus.com> This commit adds i.MX91 and i.MX93 support to Buildroot. https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-9-processors:IMX9-PROCESSORS There is no i.MX95 software provided by NXP at the moment that's why i.MX95 is left behind. Adapt package firmware-imx for the LPPDR4 firwmares binaries. Signed-off-by: S?bastien Szymanski --- package/freescale-imx/Config.in | 8 +++++++ package/freescale-imx/firmware-imx/Config.in | 9 ++++++++ .../firmware-imx/firmware-imx.mk | 23 +++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in index fe3f265941a8..192b1c0d70d1 100644 --- a/package/freescale-imx/Config.in +++ b/package/freescale-imx/Config.in @@ -61,6 +61,12 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL bool "imx8dxl" +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + bool "imx91" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 + bool "imx93" + endchoice config BR2_PACKAGE_FREESCALE_IMX_PLATFORM @@ -80,6 +86,8 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM default "IMX8MM" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM default "IMX8MN" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN default "IMX8MP" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP + default "IMX91" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + default "IMX93" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU bool diff --git a/package/freescale-imx/firmware-imx/Config.in b/package/freescale-imx/firmware-imx/Config.in index 087ddef8771b..7be6761253c9 100644 --- a/package/freescale-imx/firmware-imx/Config.in +++ b/package/freescale-imx/firmware-imx/Config.in @@ -55,6 +55,8 @@ config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 if BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW @@ -73,11 +75,15 @@ config BR2_PACKAGE_FIRMWARE_IMX_LPDDR4 config BR2_PACKAGE_FIRMWARE_IMX_DDR4 bool "DDR4" + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 help Use DDR4 binaries (i.e.: ddr4_*_201810.bin). config BR2_PACKAGE_FIRMWARE_IMX_DDR3 bool "DDR3" + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 help Use DDR3 binaries (i.e.: ddr3_*_201810.bin). @@ -89,6 +95,9 @@ config BR2_PACKAGE_FIRMWARE_IMX_DDR_VERSION # unconditionally use HW version 201810 when DDR3/DDR4 was # selected default "201810" if BR2_PACKAGE_FIRMWARE_IMX_DDR3 || BR2_PACKAGE_FIRMWARE_IMX_DDR4 + default "202201" if \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 help Use a specific version of the imx ddr binaries. Leaving this field empty will select the default version. diff --git a/package/freescale-imx/firmware-imx/firmware-imx.mk b/package/freescale-imx/firmware-imx/firmware-imx.mk index 66ef8c3930be..a08e8c4fb097 100644 --- a/package/freescale-imx/firmware-imx/firmware-imx.mk +++ b/package/freescale-imx/firmware-imx/firmware-imx.mk @@ -43,11 +43,33 @@ endef FIRMWARE_IMX_DDR_VERSION = $(call qstrip,$(BR2_PACKAGE_FIRMWARE_IMX_DDR_VERSION)) ifneq ($(FIRMWARE_IMX_DDR_VERSION),) FIRMWARE_IMX_DDR_VERSION_SUFFIX = _$(FIRMWARE_IMX_DDR_VERSION) +ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91)$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93),y) +FIRMWARE_IMX_DDR_VERSION_SUFFIX = _v$(FIRMWARE_IMX_DDR_VERSION) +endif endif ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_LPDDR4),y) FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys +ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91)$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93),y) +define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW + # Create padded versions of lpddr4_pmu_* and generate lpddr4_pmu_train_fw.bin. + # lpddr4_pmu_train_fw.bin is needed when generating imx9-boot-sd.bin + # which is done in post-image script. + $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ + lpddr4_imem_1d$(FIRMWARE_IMX_DDR_VERSION_SUFFIX), + lpddr4_dmem_1d$(FIRMWARE_IMX_DDR_VERSION_SUFFIX), + lpddr4_pmu_train_1d_fw) + $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ + lpddr4_imem_2d$(FIRMWARE_IMX_DDR_VERSION_SUFFIX), + lpddr4_dmem_2d$(FIRMWARE_IMX_DDR_VERSION_SUFFIX), + lpddr4_pmu_train_2d_fw) + cat $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_1d_fw.bin \ + $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_2d_fw.bin > \ + $(BINARIES_DIR)/lpddr4_pmu_train_fw.bin + ln -sf $(BINARIES_DIR)/lpddr4_pmu_train_fw.bin $(BINARIES_DIR)/ddr_fw.bin +endef +else define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW # Create padded versions of lpddr4_pmu_* and generate lpddr4_pmu_train_fw.bin. # lpddr4_pmu_train_fw.bin is needed when generating imx8-boot-sd.bin @@ -71,6 +93,7 @@ define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW cp $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4*.bin $(BINARIES_DIR)/ endef endif +endif ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_DDR4),y) FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys -- 2.41.0 From peter at korsgaard.com Wed Oct 11 11:47:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 13:47:35 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.3 Message-ID: <20231011114736.311388-1-peter@korsgaard.com> Fixes CVE-2023-39325: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. go1.21.3 (released 2023-10-10) includes a security fix to the net/http package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index a2ec6b5923..9499f50964 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz +sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21.3.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 2c32e90817..ef27f32835 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.2 +GO_VERSION = 1.21.3 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz -- 2.30.2 From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:32 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:32 +0200 Subject: [Buildroot] [PATCH 4/4] configs/freescale_imx93evk: new defconfig In-Reply-To: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> Message-ID: <20231011110932.4425-5-sebastien.szymanski@armadeus.com> This patch adds support for the NXP i.MX 93 11x11 EVK board [1]. [1] https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-93-evaluation-kit:i.MX93EVK Signed-off-by: S?bastien Szymanski --- .../common/imx/genimage.cfg.template_imx9 | 41 +++++++++++ .../common/imx/imx9-bootloader-prepare.sh | 34 +++++++++ board/freescale/common/imx/post-image.sh | 4 + board/freescale/imx93evk/readme.txt | 73 +++++++++++++++++++ configs/freescale_imx93evk_defconfig | 38 ++++++++++ 5 files changed, 190 insertions(+) create mode 100644 board/freescale/common/imx/genimage.cfg.template_imx9 create mode 100755 board/freescale/common/imx/imx9-bootloader-prepare.sh create mode 100644 board/freescale/imx93evk/readme.txt create mode 100644 configs/freescale_imx93evk_defconfig diff --git a/board/freescale/common/imx/genimage.cfg.template_imx9 b/board/freescale/common/imx/genimage.cfg.template_imx9 new file mode 100644 index 000000000000..10e192ce5774 --- /dev/null +++ b/board/freescale/common/imx/genimage.cfg.template_imx9 @@ -0,0 +1,41 @@ +# Minimal SD card image for the Freescale iMX9 boards +# +# We mimic the .sdcard Freescale's image format: +# * the SD card must have 32 kB free space at the beginning, +# * U-Boot is integrated into imx9-boot-sd.bin and is dumped as is, +# * a FAT partition at offset 8MB is containing Image and DTB files +# * a single root filesystem partition is required (ext2, ext3 or ext4) +# + +image boot.vfat { + vfat { + label = "boot" + files = { + %FILES% + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition imx-boot { + in-partition-table = "no" + image = "imx9-boot-sd.bin" + offset = %IMXOFFSET% + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 8M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + } +} diff --git a/board/freescale/common/imx/imx9-bootloader-prepare.sh b/board/freescale/common/imx/imx9-bootloader-prepare.sh new file mode 100755 index 000000000000..3c3757354d63 --- /dev/null +++ b/board/freescale/common/imx/imx9-bootloader-prepare.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash + +main () +{ + SPL_LOAD_ADDR=0x2049A000 + ATF_LOAD_ADDR=0x204E0000 + if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91=y$" ${BR2_CONFIG}; then + SPL_LOAD_ADDR=0x204A0000 + ATF_LOAD_ADDR=0x204C0000 + fi + + dd if=${BINARIES_DIR}/u-boot-spl.bin of=${BINARIES_DIR}/u-boot-spl-padded.bin bs=4 conv=sync + cat ${BINARIES_DIR}/u-boot-spl-padded.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin + + ${HOST_DIR}/bin/mkimage_imx8 -commit > ${BINARIES_DIR}/mkimg.commit + cat ${BINARIES_DIR}/u-boot.bin ${BINARIES_DIR}/mkimg.commit > ${BINARIES_DIR}/u-boot-hash.bin + rm -f ${BINARIES_DIR}/mkimg.commit + + if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then + ${HOST_DIR}/bin/mkimage_imx8 -soc IMX9 -c -ap ${BINARIES_DIR}/bl31.bin a35 ${ATF_LOAD_ADDR} -ap ${BINARIES_DIR}/u-boot-hash.bin a35 0x80200000 -ap ${BINARIES_DIR}/tee.bin a35 0x96000000 -out ${BINARIES_DIR}/u-boot-atf-container.img + else + ${HOST_DIR}/bin/mkimage_imx8 -soc IMX9 -c -ap ${BINARIES_DIR}/bl31.bin a35 ${ATF_LOAD_ADDR} -ap ${BINARIES_DIR}/u-boot-hash.bin a35 0x80200000 -out ${BINARIES_DIR}/u-boot-atf-container.img + fi + + ${HOST_DIR}/bin/mkimage_imx8 -soc IMX9 -append ${BINARIES_DIR}/ahab-container.img -c -ap ${BINARIES_DIR}/u-boot-spl-ddr.bin a35 ${SPL_LOAD_ADDR} -out ${BINARIES_DIR}/imx9-boot-sd.bin + + flashbin_size=$(wc -c ${BINARIES_DIR}/imx9-boot-sd.bin | awk '{print $1}') + pad_cnt=$(($((flashbin_size + 0x400 - 1)) / 0x400)) + dd if=${BINARIES_DIR}/u-boot-atf-container.img of=${BINARIES_DIR}/imx9-boot-sd.bin bs=1K seek=${pad_cnt} + + exit $? +} + +main $@ diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh index c359ef6032a6..3df7e820938b 100755 --- a/board/freescale/common/imx/post-image.sh +++ b/board/freescale/common/imx/post-image.sh @@ -48,6 +48,10 @@ genimage_type() echo "genimage.cfg.template_imx8" elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL=y$" ${BR2_CONFIG}; then echo "genimage.cfg.template_imx8" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx9" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx9" elif grep -Eq "^BR2_LINUX_KERNEL_INSTALL_TARGET=y$" ${BR2_CONFIG}; then if grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then echo "genimage.cfg.template_no_boot_part_spl" diff --git a/board/freescale/imx93evk/readme.txt b/board/freescale/imx93evk/readme.txt new file mode 100644 index 000000000000..f34624dd32e4 --- /dev/null +++ b/board/freescale/imx93evk/readme.txt @@ -0,0 +1,73 @@ +********************* +NXP i.MX93 EVK board +********************* + +This file documents the Buildroot support for the i.MX 93 EVK board. + +Build +===== + +First, configure Buildroot for the i.MX 93 EVK board: + + make freescale_imx93evk_defconfig + +Build all components: + + make + +You will find in output/images/ the following files: + - ahab-container.img + - bl31.bin + - boot.vfat + - ddr_fw.bin + - Image + - imx93-11x11-evk.dtb + - imx9-boot-sd.bin + - lpddr4_pmu_train_fw.bin + - rootfs.ext2 + - rootfs.ext4 + - rootfs.tar + - sdcard.img + - u-boot-atf-container.img + - u-boot.bin + - u-boot-hash.bin + - u-boot-spl.bin + - u-boot-spl-ddr.bin + - u-boot-spl-padded.bin + +Create a bootable SD card +========================= + +To determine the device associated to the SD card have a look in the +/proc/partitions file: + + cat /proc/partitions + +Buildroot prepares a bootable "sdcard.img" image in the output/images/ +directory, ready to be dumped on a SD card. Launch the following +command as root: + + dd if=output/images/sdcard.img of=/dev/ + +*** WARNING! This will destroy all the card content. Use with care! *** + +For details about the medium image layout, see the definition in +board/freescale/common/imx/genimage.cfg.template_imx9. + +Boot the i.MX 93 EVK board +=============================== + +To boot your newly created system (refer to the i.MX 8M Plus EVK Documentation +[1] for guidance): +- insert the SD card in the SD slot of the board; +- Configure the switches as follows (X = "don't care"): +SW1301: 0100 SW1301[1-4] +- put a micro USB cable into the Debug USB Port and connect using a terminal + emulator at 115200 bps, 8n1; +- power on the board. + +Enjoy! + +References +========== +[1] https://www.nxp.com/document/guide/getting-started-with-the-i-mx93-evk:GS-IMX93EVK diff --git a/configs/freescale_imx93evk_defconfig b/configs/freescale_imx93evk_defconfig new file mode 100644 index 000000000000..f0e4a95930c6 --- /dev/null +++ b/configs/freescale_imx93evk_defconfig @@ -0,0 +1,38 @@ +BR2_aarch64=y +BR2_cortex_a55=y +BR2_ARM_FPU_VFPV4D16=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y +BR2_DL_DIR="/home/sszy/development/buildroot-download" +BR2_TARGET_GENERIC_GETTY_PORT="ttyLP0" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx9-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.1.22-2.0.0)/linux-imx-lf-6.1.22-2.0.0.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx93-11x11-evk" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y +BR2_PACKAGE_FIRMWARE_IMX=y +BR2_PACKAGE_FIRMWARE_SENTINEL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-6.1.22-2.0.0)/imx-atf-lf-6.1.22-2.0.0.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx93" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.1.22-2.0.0)/uboot-imx-lf-6.1.22-2.0.0.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx93_11x11_evk" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_SPL=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y -- 2.41.0 From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:31 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:31 +0200 Subject: [Buildroot] [PATCH 3/4] package/freescale-imx/firmware-sentinel: new package In-Reply-To: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> Message-ID: <20231011110932.4425-4-sebastien.szymanski@armadeus.com> This package provides firmware blobs for the i.MX9 Edgelock secure enclave (ELE). Signed-off-by: S?bastien Szymanski --- package/freescale-imx/Config.in | 1 + .../freescale-imx/firmware-sentinel/Config.in | 34 +++++++++++++++++++ .../firmware-sentinel/firmware-sentinel.hash | 4 +++ .../firmware-sentinel/firmware-sentinel.mk | 27 +++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 package/freescale-imx/firmware-sentinel/Config.in create mode 100644 package/freescale-imx/firmware-sentinel/firmware-sentinel.hash create mode 100644 package/freescale-imx/firmware-sentinel/firmware-sentinel.mk diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in index 192b1c0d70d1..4d31bcc4f4cf 100644 --- a/package/freescale-imx/Config.in +++ b/package/freescale-imx/Config.in @@ -126,6 +126,7 @@ source "package/freescale-imx/imx-vpu/Config.in" source "package/freescale-imx/imx-vpu-hantro/Config.in" source "package/freescale-imx/imx-vpuwrap/Config.in" source "package/freescale-imx/firmware-imx/Config.in" +source "package/freescale-imx/firmware-sentinel/Config.in" source "package/freescale-imx/imx-sc-firmware/Config.in" source "package/freescale-imx/imx-seco/Config.in" source "package/freescale-imx/imx-vpu-hantro-daemon/Config.in" diff --git a/package/freescale-imx/firmware-sentinel/Config.in b/package/freescale-imx/firmware-sentinel/Config.in new file mode 100644 index 000000000000..9ceecd5a39dc --- /dev/null +++ b/package/freescale-imx/firmware-sentinel/Config.in @@ -0,0 +1,34 @@ +config BR2_PACKAGE_FIRMWARE_SENTINEL + bool "firmware-sentinel" + depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91 || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93 + help + Firmware blobs for the i.MX9 Edgelock secure enclave (ELE). + + This library is provided by Freescale as-is and doesn't have + an upstream. + +if BR2_PACKAGE_FIRMWARE_SENTINEL + +choice + prompt "i.MX Sentinel Firmware Release" + help + Select the appropriate ahab container image to install + to match the iMX asics revision. + + Note - mismatches result in a failure to boot + +config BR2_PACKAGE_FIRMWARE_SENTINEL_A0 + bool "A0" + +config BR2_PACKAGE_FIRMWARE_SENTINEL_A1 + bool "A1" + +endchoice + +config BR2_PACKAGE_FIRMWARE_SENTINEL_AHAB_CONTAINER_IMAGE + string + default "mx93a0-ahab-container.img" if BR2_PACKAGE_FIRMWARE_SENTINEL_A0 + default "mx93a1-ahab-container.img" if BR2_PACKAGE_FIRMWARE_SENTINEL_A1 + +endif # BR2_PACKAGE_FIRMWARE_SENTINEL diff --git a/package/freescale-imx/firmware-sentinel/firmware-sentinel.hash b/package/freescale-imx/firmware-sentinel/firmware-sentinel.hash new file mode 100644 index 000000000000..1a9ff0543250 --- /dev/null +++ b/package/freescale-imx/firmware-sentinel/firmware-sentinel.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 269480417a8ae9aa4cc4101ab947287fc33455a931021dbdc4d9badb5212bceb firmware-sentinel-0.11.bin +sha256 de37a0bcbf1717b910c1a53ea6eab853c404e61e8143bb6c081d39f532571e54 COPYING +sha256 c800aaca3a7e9f470d99d7cde0a48c95982ed601d4c306f7b8f43f3710054f28 SCR.txt diff --git a/package/freescale-imx/firmware-sentinel/firmware-sentinel.mk b/package/freescale-imx/firmware-sentinel/firmware-sentinel.mk new file mode 100644 index 000000000000..f68467194cbc --- /dev/null +++ b/package/freescale-imx/firmware-sentinel/firmware-sentinel.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# firmware-sentinel +# +################################################################################ + +FIRMWARE_SENTINEL_VERSION = 0.11 +FIRMWARE_SENTINEL_SITE = $(FREESCALE_IMX_SITE) +FIRMWARE_SENTINEL_SOURCE = firmware-sentinel-$(FIRMWARE_SENTINEL_VERSION).bin + +FIRMWARE_SENTINEL_LICENSE = NXP Semiconductor Software License Agreement +FIRMWARE_SENTINEL_LICENSE_FILES = COPYING SCR.txt +FIRMWARE_SENTINEL_REDISTRIBUTE = NO + +FIRMWARE_SENTINEL_INSTALL_IMAGES = YES + +define FIRMWARE_SENTINEL_EXTRACT_CMDS + $(call NXP_EXTRACT_HELPER,$(FIRMWARE_SENTINEL_DL_DIR)/$(FIRMWARE_SENTINEL_SOURCE)) +endef + +FIRMWARE_SENTINEL_AHAB_CONTAINER_IMAGE = $(call qstrip,$(BR2_PACKAGE_FIRMWARE_SENTINEL_AHAB_CONTAINER_IMAGE)) + +define FIRMWARE_SENTINEL_INSTALL_IMAGES_CMDS + cp $(@D)/$(FIRMWARE_SENTINEL_AHAB_CONTAINER_IMAGE) $(BINARIES_DIR)/ahab-container.img +endef + +$(eval $(generic-package)) -- 2.41.0 From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:28 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:28 +0200 Subject: [Buildroot] [PATCH 0/4] i.MX91 and i.MX93 support Message-ID: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> This series adds i.MX91, i.MX93 and i.MX93 11x11 EVK to Buildroot. S?bastien Szymanski (4): package/imx-mkimage: bump version to lf-6.1.36-2.1.0 package/freescale-imx: add i.MX91 and i.MX93 SoC support package/freescale-imx/firmware-sentinel: new package configs/freescale_imx93evk: new defconfig .../common/imx/genimage.cfg.template_imx9 | 41 +++++++++++ .../common/imx/imx9-bootloader-prepare.sh | 34 +++++++++ board/freescale/common/imx/post-image.sh | 4 + board/freescale/imx93evk/readme.txt | 73 +++++++++++++++++++ configs/freescale_imx93evk_defconfig | 38 ++++++++++ package/freescale-imx/Config.in | 9 +++ package/freescale-imx/firmware-imx/Config.in | 9 +++ .../firmware-imx/firmware-imx.mk | 23 ++++++ .../freescale-imx/firmware-sentinel/Config.in | 34 +++++++++ .../firmware-sentinel/firmware-sentinel.hash | 4 + .../firmware-sentinel/firmware-sentinel.mk | 27 +++++++ ...overriding-BL32-and-BL33-not-only-BL.patch | 60 --------------- .../0002-Add-LDFLAGS-to-link-step.patch | 26 ------- ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 ---------------- package/imx-mkimage/imx-mkimage.hash | 2 +- package/imx-mkimage/imx-mkimage.mk | 7 +- 16 files changed, 301 insertions(+), 151 deletions(-) create mode 100644 board/freescale/common/imx/genimage.cfg.template_imx9 create mode 100755 board/freescale/common/imx/imx9-bootloader-prepare.sh create mode 100644 board/freescale/imx93evk/readme.txt create mode 100644 configs/freescale_imx93evk_defconfig create mode 100644 package/freescale-imx/firmware-sentinel/Config.in create mode 100644 package/freescale-imx/firmware-sentinel/firmware-sentinel.hash create mode 100644 package/freescale-imx/firmware-sentinel/firmware-sentinel.mk delete mode 100644 package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch delete mode 100644 package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch delete mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch -- 2.41.0 From Noreply at busybox.net Wed Oct 11 13:42:23 2023 From: Noreply at busybox.net (Noreply at busybox.net) Date: 11 Oct 2023 15:42:23 +0200 Subject: [Buildroot] E-mail Account Verification For buildroot@busybox.net !!! Message-ID: <20231011154223.B0E7CABB5F36C42F@busybox.net> An HTML attachment was scrubbed... URL: From nicolas.cavallari at green-communications.fr Wed Oct 11 13:43:54 2023 From: nicolas.cavallari at green-communications.fr (Nicolas Cavallari) Date: Wed, 11 Oct 2023 15:43:54 +0200 Subject: [Buildroot] [PATCH 4/4] configs/freescale_imx93evk: new defconfig In-Reply-To: <20231011110932.4425-5-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> <20231011110932.4425-5-sebastien.szymanski@armadeus.com> Message-ID: <5d1cff30-4bfe-4480-8eb9-b07114d110cb@green-communications.fr> Small nit: On 11/10/2023 13:09, S?bastien Szymanski wrote: > diff --git a/configs/freescale_imx93evk_defconfig > b/configs/freescale_imx93evk_defconfig new file mode 100644 index > 000000000000..f0e4a95930c6 --- /dev/null +++ > b/configs/freescale_imx93evk_defconfig @@ -0,0 +1,38 @@ +BR2_aarch64=y > [...] > +BR2_DL_DIR="/home/sszy/development/buildroot-download" You probably want to remove that line. From sebastien.szymanski at armadeus.com Wed Oct 11 11:09:29 2023 From: sebastien.szymanski at armadeus.com (=?UTF-8?q?S=C3=A9bastien=20Szymanski?=) Date: Wed, 11 Oct 2023 13:09:29 +0200 Subject: [Buildroot] [PATCH 1/4] package/imx-mkimage: bump version to lf-6.1.36-2.1.0 In-Reply-To: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> References: <20231011110932.4425-1-sebastien.szymanski@armadeus.com> Message-ID: <20231011110932.4425-2-sebastien.szymanski@armadeus.com> Bump imx-mkimage to the latest version to gain i.MX9 support. Patch 0001 and 0004 are merged upstream: https://github.com/nxp-imx/imx-mkimage/commit/ff23c4fd84bb88d73b52a0ccad733522d2faa477 https://github.com/nxp-imx/imx-mkimage/commit/bce82912c8206edd0cc97af8c6b30240229fae7f Patch 0002 is no more needed, BUILD_LDFLAGS var is now available: https://github.com/nxp-imx/imx-mkimage/commit/8185a000a7c6af562e773da812c6c8d141815531 Signed-off-by: S?bastien Szymanski --- ...overriding-BL32-and-BL33-not-only-BL.patch | 60 ------------------ .../0002-Add-LDFLAGS-to-link-step.patch | 26 -------- ...rt-for-overriding-BL31-BL32-and-BL33.patch | 61 ------------------- package/imx-mkimage/imx-mkimage.hash | 2 +- package/imx-mkimage/imx-mkimage.mk | 7 ++- 5 files changed, 5 insertions(+), 151 deletions(-) delete mode 100644 package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch delete mode 100644 package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch delete mode 100644 package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch diff --git a/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch b/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch deleted file mode 100644 index 66891ac8e758..000000000000 --- a/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch +++ /dev/null @@ -1,60 +0,0 @@ -From a4993eda7483cd01662f3f3e2965e7a568cb7178 Mon Sep 17 00:00:00 2001 -From: Erik Larsson -Date: Thu, 8 Mar 2018 19:04:37 +0100 -Subject: [PATCH] Add support for overriding BL32 and BL33 not only BL31 - -Signed-off-by: Erik Larsson -Signed-off-by: Christopher Dahlberg -Signed-off-by: Marcus Folkesson ---- - iMX8M/mkimage_fit_atf.sh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/iMX8M/mkimage_fit_atf.sh b/iMX8M/mkimage_fit_atf.sh -index 4f2b3f3..0444ff0 100755 ---- a/iMX8M/mkimage_fit_atf.sh -+++ b/iMX8M/mkimage_fit_atf.sh -@@ -18,23 +18,23 @@ if [ ! -f $BL31 ]; then - echo "ERROR: BL31 file $BL31 NOT found" >&2 - exit 0 - else -- echo "bl31.bin size: " >&2 -- ls -lct bl31.bin | awk '{print $5}' >&2 -+ echo "$BL31 size: " >&2 -+ ls -lct $BL31 | awk '{print $5}' >&2 - fi - --BL32="tee.bin" -+[ -z "$BL32" ] && BL32="tee.bin" - LOADABLES="\"atf-1\"" - - if [ ! -f $BL32 ]; then - BL32=/dev/null - else - echo "Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete tee.bin" >&2 -- echo "tee.bin size: " >&2 -- ls -lct tee.bin | awk '{print $5}' >&2 -+ echo "$BL32 size: " >&2 -+ ls -lct $BL32 | awk '{print $5}' >&2 - LOADABLES="$LOADABLES, \"tee-1\"" - fi - --BL33="u-boot-nodtb.bin" -+[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" - DEK_BLOB="dek_blob_fit_dummy.bin" - - if [ ! -f $DEK_BLOB ]; then -@@ -49,8 +49,8 @@ if [ ! -f $BL33 ]; then - exit 0 - else - -- echo "u-boot-nodtb.bin size: " >&2 -- ls -lct u-boot-nodtb.bin | awk '{print $5}' >&2 -+ echo "$BL33 size: " >&2 -+ ls -lct $BL33 | awk '{print $5}' >&2 - fi - - for dtname in $* --- -2.31.1 - diff --git a/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch b/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch deleted file mode 100644 index 086e634d2318..000000000000 --- a/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b7ace564b419a05a375a205fd4df8933716b241a Mon Sep 17 00:00:00 2001 -From: Erik Larsson -Date: Tue, 6 Mar 2018 12:28:39 +0100 -Subject: [PATCH] Add LDFLAGS to link step - -Signed-off-by: Erik Larsson ---- - iMX8M/soc.mak | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak -index 4bfdc37..806b805 100644 ---- a/iMX8M/soc.mak -+++ b/iMX8M/soc.mak -@@ -84,7 +84,7 @@ FW_DIR = imx-boot/imx-boot-tools/$(PLAT) - $(MKIMG): mkimage_imx8.c - @echo "PLAT="$(PLAT) "HDMI="$(HDMI) - @echo "Compiling mkimage_imx8" -- $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) -lz -+ $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) $(LDFLAGS) -lz - - lpddr4_imem_1d = lpddr4_pmu_train_1d_imem$(LPDDR_FW_VERSION).bin - lpddr4_dmem_1d = lpddr4_pmu_train_1d_dmem$(LPDDR_FW_VERSION).bin --- -2.31.1 - diff --git a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch deleted file mode 100644 index 494aaf156659..000000000000 --- a/package/imx-mkimage/0004-Add-support-for-overriding-BL31-BL32-and-BL33.patch +++ /dev/null @@ -1,61 +0,0 @@ -From b1e77d8ccabc6a3910ede2441ff567326291a355 Mon Sep 17 00:00:00 2001 -From: Thomas Perrot -Date: Tue, 26 Apr 2022 15:10:04 +0200 -Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 - -Signed-off-by: Thomas Perrot ---- - iMX8M/print_fit_hab.sh | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh -index b915115..dbc28f2 100755 ---- a/iMX8M/print_fit_hab.sh -+++ b/iMX8M/print_fit_hab.sh -@@ -1,12 +1,16 @@ - #!/bin/bash - --BL32="tee.bin" -- - let fit_off=$1 - - # keep backward compatibility - [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" - -+[ -z "$BL31" ] && BL31="bl31.bin" -+ -+[ -z "$BL32" ] && BL32="tee.bin" -+ -+[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" -+ - if [ -z "$ATF_LOAD_ADDR" ]; then - echo "ERROR: BL31 load address is not set" >&2 - exit 0 -@@ -26,7 +30,7 @@ else - let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) - fi - --let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') -+let uboot_size=$(ls -lct $BL33 | awk '{print $5}') - let uboot_load_addr=0x40200000 - - let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) -@@ -64,13 +68,13 @@ done - - let atf_sign_off=$((last_sign_off)) - let atf_load_addr=$ATF_LOAD_ADDR --let atf_size=$(ls -lct bl31.bin | awk '{print $5}') -+let atf_size=$(ls -lct $BL31 | awk '{print $5}') - - if [ ! -f $BL32 ]; then - let tee_size=0x0 - let tee_sign_off=$((atf_sign_off + atf_size)) - else -- let tee_size=$(ls -lct tee.bin | awk '{print $5}') -+ let tee_size=$(ls -lct $BL32 | awk '{print $5}') - - let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) - let tee_load_addr=$TEE_LOAD_ADDR --- -2.31.1 - diff --git a/package/imx-mkimage/imx-mkimage.hash b/package/imx-mkimage/imx-mkimage.hash index 8346fd64b1fb..070d2eee7c61 100644 --- a/package/imx-mkimage/imx-mkimage.hash +++ b/package/imx-mkimage/imx-mkimage.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 593bd94aac027844bc58c62aae55557c14e1f8a99e68ba235a46f083759df3d4 imx-mkimage-lf-5.10.72_2.2.0.tar.gz +sha256 fd538dc571ce06609d6a4d9ee8cfd7d0c93ec4685afa9f1079e5a5931ad3bdbc imx-mkimage-lf-6.1.36_2.1.0.tar.gz sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING diff --git a/package/imx-mkimage/imx-mkimage.mk b/package/imx-mkimage/imx-mkimage.mk index 54c948e0d308..d5598692663e 100644 --- a/package/imx-mkimage/imx-mkimage.mk +++ b/package/imx-mkimage/imx-mkimage.mk @@ -4,7 +4,7 @@ # ################################################################################ -IMX_MKIMAGE_VERSION = lf-5.10.72_2.2.0 +IMX_MKIMAGE_VERSION = lf-6.1.36_2.1.0 IMX_MKIMAGE_SITE = $(call github,nxp-imx,imx-mkimage,$(IMX_MKIMAGE_VERSION)) IMX_MKIMAGE_LICENSE = GPL-2.0+ IMX_MKIMAGE_LICENSE_FILES = COPYING @@ -15,7 +15,8 @@ ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M)$(BR2_PACKAGE_FREESCALE_IMX_PLA define HOST_IMX_MKIMAGE_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ CFLAGS="$(HOST_CFLAGS) -std=c99" \ - -C $(@D)/iMX8M -f soc.mak mkimage_imx8 + BUILD_LDFLAGS="$(HOST_LDFLAGS)" \ + -C $(@D)/iMX8M SOC_DIR=iMX8M -f soc.mak mkimage_imx8 endef define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8 @@ -23,7 +24,7 @@ define HOST_IMX_MKIMAGE_INSTALL_CMDS $(INSTALL) -D -m 755 $(@D)/iMX8M/print_fit_hab.sh $(HOST_DIR)/bin/print_fit_hab.sh endef else -# i.MX8 and i.MX8X +# i.MX8, i.MX8X and i.MX9 define HOST_IMX_MKIMAGE_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ CFLAGS="$(HOST_CFLAGS) -std=c99" \ -- 2.41.0 From peter at korsgaard.com Wed Oct 11 15:11:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:11:51 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: bump version to 3.11.6 In-Reply-To: <20231002200451.3445210-1-bernd@kuhls.net> (Bernd Kuhls's message of "Mon, 2 Oct 2023 22:04:51 +0200") References: <20231002200451.3445210-1-bernd@kuhls.net> Message-ID: <87wmvtb3d4.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://www.python.org/downloads/release/python-3116/ > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 15:12:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/kodi-pvr-hts: bump version to 20.6.3-Nexus In-Reply-To: <20231003071742.300900-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 09:17:41 +0200") References: <20231003071742.300900-1-bernd@kuhls.net> Message-ID: <87sf6hb3c6.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 15:12:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:29 +0200 Subject: [Buildroot] [PATCH 2/2] package/kodi-pvr-waipu: bump version to 20.10.1-Nexus In-Reply-To: <20231003071742.300900-2-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 09:17:42 +0200") References: <20231003071742.300900-1-bernd@kuhls.net> <20231003071742.300900-2-bernd@kuhls.net> Message-ID: <87o7h5b3c2.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 15:12:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireless-regdb: bump version to 2023.09.01 In-Reply-To: <20231003122406.2678498-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 14:24:06 +0200") References: <20231003122406.2678498-1-bernd@kuhls.net> Message-ID: <87jzrtb3bc.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Wed Oct 11 15:10:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:10:44 +0200 Subject: [Buildroot] [git commit] package/python3: bump version to 3.11.6 Message-ID: <20231011151320.5B38C84550@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=337485b232dd452937fd2f96de0a596c968f4b47 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://www.python.org/downloads/release/python-3116/ Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/python3/python3.hash | 6 +++--- package/python3/python3.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 1a0fee3290..39a16c1f71 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3115/ -md5 393856f1b7713aa8bba4b642ab9985d3 Python-3.11.5.tar.xz +# From https://www.python.org/downloads/release/python-3116/ +md5 d0c5a1a31efe879723e51addf56dd206 Python-3.11.6.tar.xz # Locally computed -sha256 85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f Python-3.11.5.tar.xz +sha256 0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 Python-3.11.6.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cfe5e1ee6e..b9c5054a21 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.11 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).5 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).6 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others From peter at korsgaard.com Wed Oct 11 15:12:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:13 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-hts: bump version to 20.6.3-Nexus Message-ID: <20231011151320.67AE884551@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=36e56a81f13eea86c6b655efa378973619e66e74 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/kodi-pvr-hts/kodi-pvr-hts.hash | 2 +- package/kodi-pvr-hts/kodi-pvr-hts.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-hts/kodi-pvr-hts.hash b/package/kodi-pvr-hts/kodi-pvr-hts.hash index 7b55eb88fd..c9fe1cfe6a 100644 --- a/package/kodi-pvr-hts/kodi-pvr-hts.hash +++ b/package/kodi-pvr-hts/kodi-pvr-hts.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 e77bd87f1f4d1abc06e32d0347a0bb635bc129bec43a07864cb8a9e6b0e4d374 kodi-pvr-hts-20.6.2-Nexus.tar.gz +sha256 8febdacb795eb724456f88af5c55a6e0a5393447f673b2be72d1ca9276479cdd kodi-pvr-hts-20.6.3-Nexus.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-pvr-hts/kodi-pvr-hts.mk b/package/kodi-pvr-hts/kodi-pvr-hts.mk index d32ce87388..04de82dc64 100644 --- a/package/kodi-pvr-hts/kodi-pvr-hts.mk +++ b/package/kodi-pvr-hts/kodi-pvr-hts.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_HTS_VERSION = 20.6.2-Nexus +KODI_PVR_HTS_VERSION = 20.6.3-Nexus KODI_PVR_HTS_SITE = $(call github,kodi-pvr,pvr.hts,$(KODI_PVR_HTS_VERSION)) KODI_PVR_HTS_LICENSE = GPL-2.0+ KODI_PVR_HTS_LICENSE_FILES = LICENSE.md From peter at korsgaard.com Wed Oct 11 15:12:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:45 +0200 Subject: [Buildroot] [git commit] package/wireless-regdb: bump version to 2023.09.01 Message-ID: <20231011151320.7C06684506@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=29b6e170b7337c47444a8ef34529eabc2c59567f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/wireless-regdb/wireless-regdb.hash | 2 +- package/wireless-regdb/wireless-regdb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wireless-regdb/wireless-regdb.hash b/package/wireless-regdb/wireless-regdb.hash index b4e8dcaf54..71f92aaf91 100644 --- a/package/wireless-regdb/wireless-regdb.hash +++ b/package/wireless-regdb/wireless-regdb.hash @@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc -sha256 f254d08ab3765aeae2b856222e11a95d44aef519a6663877c71ef68fae4c8c12 wireless-regdb-2023.05.03.tar.xz +sha256 26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491 wireless-regdb-2023.09.01.tar.xz # Locally computed sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk index db9c7f42d5..e9003ce2e6 100644 --- a/package/wireless-regdb/wireless-regdb.mk +++ b/package/wireless-regdb/wireless-regdb.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRELESS_REGDB_VERSION = 2023.05.03 +WIRELESS_REGDB_VERSION = 2023.09.01 WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb WIRELESS_REGDB_LICENSE = ISC From peter at korsgaard.com Wed Oct 11 15:12:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Wed, 11 Oct 2023 17:12:19 +0200 Subject: [Buildroot] [git commit] package/kodi-pvr-waipu: bump version to 20.10.1-Nexus Message-ID: <20231011151320.73E9C84552@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fd4666809389d6c205bfae303f94998bd05711c1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash index d025beaa3b..37e4ca95e2 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.hash +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 740f96e68c6c33cba18e482f90ff377e412f1bc2bb09313d342f783794da792f kodi-pvr-waipu-20.10.0-Nexus.tar.gz +sha256 8f55056838798c6dc39ce1cd611553b65150f6d628e9b3d201d472e93aecf289 kodi-pvr-waipu-20.10.1-Nexus.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk index 53e3f716d7..e7ec7d6555 100644 --- a/package/kodi-pvr-waipu/kodi-pvr-waipu.mk +++ b/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 20.10.0-Nexus +KODI_PVR_WAIPU_VERSION = 20.10.1-Nexus KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt From romain.naour at gmail.com Wed Oct 11 16:34:08 2023 From: romain.naour at gmail.com (Romain Naour) Date: Wed, 11 Oct 2023 18:34:08 +0200 Subject: [Buildroot] [PATCH] package/python3: really disable zlib Message-ID: <20231011163408.32325-1-romain.naour@gmail.com> The Bootlin toolchain 2023.08-1 provide (by mistake [1]) libz.so in its sysroot and break several python test in the gitlab-ci [2] since the python package detect zlib while the zlib package is not build. So there is no zlib library installed to the target rootfs. The issue [1] has been fixed in Buildroot [3] but the Bootlin toolchain needs to be rebuild with the fix to remove libz.so from the sysroot. With Bootlin toolchain 2023.08-1, zlib is detected by pkg-config and enable zlib support in binascii python module (-DUSE_ZLIB_CRC32) even if the zlib module is disabled. If binascii python module is used at runtime, it fail to load zlib: Failed to run: python sample_python_pyyaml_enc.py output was: Traceback (most recent call last): File "/root/sample_python_pyyaml_enc.py", line 1, in import yaml File "/usr/lib/python3.11/site-packages/yaml/__init__.py", line 8, in File "/usr/lib/python3.11/site-packages/yaml/loader.py", line 8, in File "/usr/lib/python3.11/site-packages/yaml/constructor.py", line 14, in File "/usr/lib/python3.11/base64.py", line 11, in ImportError: libz.so.1: cannot open shared object file: No such file or directory This is also a reproducible build issue since python doesn't provide the same features if zlib is buid before or after the python build. Fix this issue by disabling zlib support along with the zlib python module (--disable-zlib). Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302864 (TestPythonPy3Pyyaml) https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302828 (TestPythonPy3Mako) (and many other) [1] 3341ceb1e58536cf43a4c000e4bb3cdbff3f6de5 (package/gdb: zlib is mandatory, not optional) [2] https://gitlab.com/buildroot.org/buildroot/-/jobs/5201302864 [3] 8ce33fed49aea319da556eab388211a705afe7d0 (package/gdb: gdbserver does not need zlib) Cc; Asaf Kahlon Cc: James Hilliard Cc: Thomas Petazzoni Cc: Yegor Yefremov Signed-off-by: Romain Naour --- runtime tested: TestPythonPy3Flask.test_run (with zlib & zlib python module enabled) TestPythonPy3Pyyaml (without zlib) --- ...032-configure.ac-really-disable-zlib.patch | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 package/python3/0032-configure.ac-really-disable-zlib.patch diff --git a/package/python3/0032-configure.ac-really-disable-zlib.patch b/package/python3/0032-configure.ac-really-disable-zlib.patch new file mode 100644 index 0000000000..6d9fb2c3f1 --- /dev/null +++ b/package/python3/0032-configure.ac-really-disable-zlib.patch @@ -0,0 +1,96 @@ +From 9b5a79f7b5bc5ccfa8f3909ee6d3a94b2efb617d Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Wed, 11 Oct 2023 15:33:54 +0200 +Subject: [PATCH] configure.ac: really disable zlib + +Commit "Add options to disable zlib, bzip2 and xz modules" allowed +to disable the python zlib module but the configure script still +check for zlib library using pkg-config even if --disable-zlib is +provided. + +If zlib is detected by pkg-config it enable zlib support in binascii +python module (-DUSE_ZLIB_CRC32) even if the zlib module is disabled. +This is also a reproducible build issue since python doesn't provide +the same features if zlib is buid before or after the python build. + +Fix this issue by disabling zlib support along with the zlib python +module (--disable-zlib). + +Upstream: Not applicable +(patching a BR patch 0025-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch) + +Signed-off-by: Romain Naour +--- + configure.ac | 45 ++++++++++++++++++++++++--------------------- + 1 file changed, 24 insertions(+), 21 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 3f5e7400c6..fa7cdfa0df 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -4288,7 +4288,8 @@ AC_ARG_ENABLE(zlib, + AS_HELP_STRING([--disable-zlib], [disable zlib]), + [ if test "$enableval" = "no"; then + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} zlib" +- fi]) ++ enable_zlib=${enableval} ++ fi], [enable_zlib=auto]) + + AC_ARG_ENABLE(xz, + AS_HELP_STRING([--disable-xz], [disable xz]), +@@ -4899,30 +4900,32 @@ if test "$ac_cv_have_lchflags" = yes ; then + AC_DEFINE(HAVE_LCHFLAGS, 1, [Define to 1 if you have the 'lchflags' function.]) + fi + +-dnl Check for compression libraries +-AH_TEMPLATE([HAVE_ZLIB_COPY], [Define if the zlib library has inflateCopy]) ++if test "x$enable_zlib" != xno; then ++ dnl Check for compression libraries ++ AH_TEMPLATE([HAVE_ZLIB_COPY], [Define if the zlib library has inflateCopy]) + +-dnl detect zlib from Emscripten emport +-PY_CHECK_EMSCRIPTEN_PORT([ZLIB], [-sUSE_ZLIB]) ++ dnl detect zlib from Emscripten emport ++ PY_CHECK_EMSCRIPTEN_PORT([ZLIB], [-sUSE_ZLIB]) + +-PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.0], [ +- have_zlib=yes +- dnl zlib 1.2.0 (2003) added inflateCopy +- AC_DEFINE([HAVE_ZLIB_COPY], [1]) +-], [ +- WITH_SAVE_ENV([ +- CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS" +- LDFLAGS="$LDFLAGS $ZLIB_LIBS" +- AC_CHECK_HEADERS([zlib.h], [ +- PY_CHECK_LIB([z], [gzread], [have_zlib=yes], [have_zlib=no]) +- ], [have_zlib=no]) +- AS_VAR_IF([have_zlib], [yes], [ +- ZLIB_CFLAGS=${ZLIB_CFLAGS-""} +- ZLIB_LIBS=${ZLIB_LIBS-"-lz"} +- PY_CHECK_LIB([z], [inflateCopy], [AC_DEFINE([HAVE_ZLIB_COPY], [1])]) ++ PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.0], [ ++ have_zlib=yes ++ dnl zlib 1.2.0 (2003) added inflateCopy ++ AC_DEFINE([HAVE_ZLIB_COPY], [1]) ++ ], [ ++ WITH_SAVE_ENV([ ++ CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS" ++ LDFLAGS="$LDFLAGS $ZLIB_LIBS" ++ AC_CHECK_HEADERS([zlib.h], [ ++ PY_CHECK_LIB([z], [gzread], [have_zlib=yes], [have_zlib=no]) ++ ], [have_zlib=no]) ++ AS_VAR_IF([have_zlib], [yes], [ ++ ZLIB_CFLAGS=${ZLIB_CFLAGS-""} ++ ZLIB_LIBS=${ZLIB_LIBS-"-lz"} ++ PY_CHECK_LIB([z], [inflateCopy], [AC_DEFINE([HAVE_ZLIB_COPY], [1])]) ++ ]) + ]) + ]) +-]) ++fi + + dnl binascii can use zlib for optimized crc32. + AS_VAR_IF([have_zlib], [yes], [ +-- +2.41.0 + -- 2.41.0 From dev at bybram.com Wed Oct 11 16:24:30 2023 From: dev at bybram.com (Bram Oosterhuis) Date: Wed, 11 Oct 2023 18:24:30 +0200 Subject: [Buildroot] [PATCH 2/2] package/rpi-firmware: bump version to a3b20e7 In-Reply-To: <20231011162430.3484150-1-dev@bybram.com> References: <20231011162430.3484150-1-dev@bybram.com> Message-ID: <20231011162430.3484150-2-dev@bybram.com> Version a3b20e7 will match the with kernel 6.1.55-v7 Signed-off-by: Bram Oosterhuis --- package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rpi-firmware/rpi-firmware.hash b/package/rpi-firmware/rpi-firmware.hash index ec13115f3b..25de5cfb83 100644 --- a/package/rpi-firmware/rpi-firmware.hash +++ b/package/rpi-firmware/rpi-firmware.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33aea2cb9c3be94c3dd6a96fbb3443eee5af1dc5fc9140e1fadc50832983064e rpi-firmware-3f20b832b27cd730deb6419b570f31a98167eef6.tar.gz +sha256 4c39f37f772a0bdcbd11aa882b9069eb09077f3f25d5811d817ca808a49a940a rpi-firmware-a3b20e7dd41aa174ae50b872c8c9c66beafd63e2.tar.gz sha256 c7283ff51f863d93a275c66e3b4cb08021a5dd4d8c1e7acc47d872fbe52d3d6b boot/LICENCE.broadcom diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk index 53d6d8ca06..429bbb036e 100644 --- a/package/rpi-firmware/rpi-firmware.mk +++ b/package/rpi-firmware/rpi-firmware.mk @@ -4,7 +4,7 @@ # ################################################################################ -RPI_FIRMWARE_VERSION = 3f20b832b27cd730deb6419b570f31a98167eef6 +RPI_FIRMWARE_VERSION = a3b20e7dd41aa174ae50b872c8c9c66beafd63e2 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) RPI_FIRMWARE_LICENSE = BSD-3-Clause RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom -- 2.34.1 From dev at bybram.com Wed Oct 11 16:24:29 2023 From: dev at bybram.com (Bram Oosterhuis) Date: Wed, 11 Oct 2023 18:24:29 +0200 Subject: [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55 Message-ID: <20231011162430.3484150-1-dev@bybram.com> Linux 6.1 has been marked LTS for a long time now. Time to bump Linux for RaspberryPi's to the latest 6.1.55-v7. Since April 2022 the RaspberryPi defconfigs have compressed kernel module enabled by default. (see [1] and [2]). To load compressed kernel modules kmod and xz packages are needed because busybox doesn't support it. [1] https://github.com/raspberrypi/linux/commit/c45b4223a4e4a8cfe39edbb4949329ea478fa4e2 [2] https://github.com/raspberrypi/linux/issues/4966 Signed-off-by: Bram Oosterhuis --- configs/raspberrypi0_defconfig | 13 ++++++++++--- configs/raspberrypi0w_defconfig | 13 ++++++++++--- configs/raspberrypi2_defconfig | 13 ++++++++++--- configs/raspberrypi3_64_defconfig | 13 ++++++++++--- configs/raspberrypi3_defconfig | 13 ++++++++++--- configs/raspberrypi3_qt5we_defconfig | 13 ++++++++++--- configs/raspberrypi4_64_defconfig | 13 ++++++++++--- configs/raspberrypi4_defconfig | 13 ++++++++++--- configs/raspberrypi_defconfig | 13 ++++++++++--- configs/raspberrypicm4io_64_defconfig | 13 ++++++++++--- configs/raspberrypicm4io_defconfig | 13 ++++++++++--- configs/raspberrypizero2w_defconfig | 13 ++++++++++--- 12 files changed, 120 insertions(+), 36 deletions(-) diff --git a/configs/raspberrypi0_defconfig b/configs/raspberrypi0_defconfig index 4506e94bce..4b4c3ff696 100644 --- a/configs/raspberrypi0_defconfig +++ b/configs/raspberrypi0_defconfig @@ -2,14 +2,14 @@ BR2_arm=y BR2_arm1176jzf_s=y BR2_ARM_EABIHF=y -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B from the kernel sources: the zero is the same @@ -37,3 +37,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi0w_defconfig b/configs/raspberrypi0w_defconfig index 7a35794c2d..aace7cf70a 100644 --- a/configs/raspberrypi0w_defconfig +++ b/configs/raspberrypi0w_defconfig @@ -2,14 +2,14 @@ BR2_arm=y BR2_arm1176jzf_s=y BR2_ARM_EABIHF=y -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w" @@ -32,3 +32,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0w/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0w/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig index 9b484c5588..d679510f66 100644 --- a/configs/raspberrypi2_defconfig +++ b/configs/raspberrypi2_defconfig @@ -7,12 +7,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources @@ -39,3 +39,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi2/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi2/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig index 4d838ae0e8..5577442872 100644 --- a/configs/raspberrypi3_64_defconfig +++ b/configs/raspberrypi3_64_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" # Build the DTB from the kernel sources @@ -37,3 +37,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3-64/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig index 0a59ab42a9..b6db81f027 100644 --- a/configs/raspberrypi3_defconfig +++ b/configs/raspberrypi3_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources @@ -37,3 +37,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi3_qt5we_defconfig b/configs/raspberrypi3_qt5we_defconfig index 40d0c0f888..3767b7d4bc 100644 --- a/configs/raspberrypi3_qt5we_defconfig +++ b/configs/raspberrypi3_qt5we_defconfig @@ -7,12 +7,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources @@ -51,3 +51,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="400M" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi4_64_defconfig b/configs/raspberrypi4_64_defconfig index 5942f7c4e1..55d6f3a7fa 100644 --- a/configs/raspberrypi4_64_defconfig +++ b/configs/raspberrypi4_64_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources @@ -36,3 +36,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4-64/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4-64/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi4_defconfig b/configs/raspberrypi4_defconfig index 4e5580c140..54176fde19 100644 --- a/configs/raspberrypi4_defconfig +++ b/configs/raspberrypi4_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources @@ -36,3 +36,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig index cca53f9b37..064037dfb0 100644 --- a/configs/raspberrypi_defconfig +++ b/configs/raspberrypi_defconfig @@ -4,14 +4,14 @@ BR2_ARM_EABIHF=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B, A+/B+ and compute module from the kernel sources @@ -38,3 +38,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypicm4io_64_defconfig b/configs/raspberrypicm4io_64_defconfig index 29cb0472d7..23114da28a 100644 --- a/configs/raspberrypicm4io_64_defconfig +++ b/configs/raspberrypicm4io_64_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources @@ -39,3 +39,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io-64/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io-64/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypicm4io_defconfig b/configs/raspberrypicm4io_defconfig index 017aecc0dd..c50704a227 100644 --- a/configs/raspberrypicm4io_defconfig +++ b/configs/raspberrypicm4io_defconfig @@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources @@ -39,3 +39,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file diff --git a/configs/raspberrypizero2w_defconfig b/configs/raspberrypizero2w_defconfig index 2ea503ca24..8f9d598cbf 100644 --- a/configs/raspberrypizero2w_defconfig +++ b/configs/raspberrypizero2w_defconfig @@ -2,14 +2,14 @@ BR2_arm=y BR2_cortex_a53=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Linux headers same as kernel, 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6.1=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources @@ -34,3 +34,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypizero2w/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypizero2w/post-image.sh" + +# Enable compressed kernel module support +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +BR2_PACKAGE_KMOD_TOOLS +BR2_PACKAGE_XZ +BR2_PACKAGE_KMOD +BR2_PACKAGE_HOST_KMOD_XZ \ No newline at end of file -- 2.34.1 From bernd at kuhls.net Wed Oct 11 17:23:56 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:23:56 +0200 Subject: [Buildroot] [PATCH] package/python3: really disable zlib References: <20231011163408.32325-1-romain.naour__9329.73186006478$1697042081$gmane$org@gmail.com> Message-ID: Am Wed, 11 Oct 2023 18:34:08 +0200 schrieb Romain Naour: > +Upstream: Not applicable +(patching a BR patch > 0025-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch) Hi Romain, did you test whether this patch also fixes the problem? https://patchwork.ozlabs.org/project/buildroot/patch/ 20230809211401.3587177-4-bernd at kuhls.net/ Regards, Bernd From bernd at kuhls.net Wed Oct 11 17:46:20 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:46:20 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231011174620.52181-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index a6b4967a8c..3aef7142c2 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.6" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.7" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index dfcc87802b..92ea8cdb88 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 78e36d4214547051c24df2140f4ce09428d6c515ad9a71b38b28e8094a95d2f6 linux-6.5.6.tar.xz -sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz +sha256 0d09ea448005c9cfe5383e4c72a872b39188b928f8c44e146b03b1b7851fbb8c linux-6.5.7.tar.xz +sha256 f9ebfe3ddc5152d87b37e33be30e31875d137433be10a57ce29d2eae7b6e91b1 linux-6.1.57.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz -sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz -sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz +sha256 14835e629e237f136cfed484fdb533c95242429809bdcdb2a2d66dfcb7447170 linux-5.15.135.tar.xz +sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz +sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 b732c2e4f08576a9dd5bb14213cead3835acbb101a91aaba3d6ace302fd538ac linux-4.19.295.tar.xz -sha256 555ce40f1df4c0f4a74cbefcaad0c67108615860968720faabe51cdee2df1478 linux-4.14.326.tar.xz +sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz +sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index e2e2655964..a93458c399 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -404,13 +404,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.326" if BR2_KERNEL_HEADERS_4_14 - default "4.19.295" if BR2_KERNEL_HEADERS_4_19 - default "5.4.257" if BR2_KERNEL_HEADERS_5_4 - default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.134" if BR2_KERNEL_HEADERS_5_15 - default "6.1.56" if BR2_KERNEL_HEADERS_6_1 - default "6.5.6" if BR2_KERNEL_HEADERS_6_5 + default "4.14.327" if BR2_KERNEL_HEADERS_4_14 + default "4.19.296" if BR2_KERNEL_HEADERS_4_19 + default "5.4.258" if BR2_KERNEL_HEADERS_5_4 + default "5.10.198" if BR2_KERNEL_HEADERS_5_10 + default "5.15.135" if BR2_KERNEL_HEADERS_5_15 + default "6.1.57" if BR2_KERNEL_HEADERS_6_1 + default "6.5.7" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ -- 2.39.2 From bernd at kuhls.net Wed Oct 11 17:50:20 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:50:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: bump version to 0.3.81 Message-ID: <20231011175020.55779-1-bernd@kuhls.net> Release notes: https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/NEWS Signed-off-by: Bernd Kuhls --- package/pipewire/pipewire.hash | 2 +- package/pipewire/pipewire.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash index 2f04931284..3370d86641 100644 --- a/package/pipewire/pipewire.hash +++ b/package/pipewire/pipewire.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 cf4b770fe4e2379527f63e01b52b50a37d529608f766ecb40fe57da4c087a507 pipewire-0.3.80.tar.bz2 +sha256 2b6e0c4d2e544f5030fa7f4ecf1edd9e5eed15dda1c97135e8a1fded9f3425fe pipewire-0.3.81.tar.bz2 sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index f0b37a0e43..628c69ff8a 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -4,7 +4,7 @@ # ################################################################################ -PIPEWIRE_VERSION = 0.3.80 +PIPEWIRE_VERSION = 0.3.81 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) -- 2.39.2 From bernd at kuhls.net Wed Oct 11 17:54:59 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:54:59 +0200 Subject: [Buildroot] [PATCH 1/1] package/cmake: bump version to 3.27.7 Message-ID: <20231011175459.72943-1-bernd@kuhls.net> Changelog: https://cmake.org/cmake/help/v3.27/release/3.27.html#updates Signed-off-by: Bernd Kuhls --- package/cmake/cmake.hash | 4 ++-- package/cmake/cmake.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash index 8b1ae5b4a6..e495061bae 100644 --- a/package/cmake/cmake.hash +++ b/package/cmake/cmake.hash @@ -1,5 +1,5 @@ -# From https://cmake.org/files/v3.27/cmake-3.27.6-SHA-256.txt -sha256 ef3056df528569e0e8956f6cf38806879347ac6de6a4ff7e4105dc4578732cfb cmake-3.27.6.tar.gz +# From https://cmake.org/files/v3.27/cmake-3.27.7-SHA-256.txt +sha256 08f71a106036bf051f692760ef9558c0577c42ac39e96ba097e7662bd4158d8e cmake-3.27.7.tar.gz # Locally calculated sha256 4a01ccf2dc580ba570d02bc015bbe0ec92f1f318717aae9540ba841ba7946756 Copyright.txt diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk index 3bb2c4bffb..41278bf6db 100644 --- a/package/cmake/cmake.mk +++ b/package/cmake/cmake.mk @@ -6,7 +6,7 @@ # When updating the version, please also update BR2_HOST_CMAKE_AT_LEAST_X_Y CMAKE_VERSION_MAJOR = 3.27 -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6 +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).7 CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR) CMAKE_LICENSE = BSD-3-Clause CMAKE_LICENSE_FILES = Copyright.txt -- 2.39.2 From bernd at kuhls.net Wed Oct 11 17:59:26 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 19:59:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/gettext-gnu: bump version to 0.22.3 Message-ID: <20231011175926.74349-1-bernd@kuhls.net> Release notes: https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob;f=NEWS;h=9ed51966572af1c65074fcfbd18db24f1321c55d;hb=c9af3e4eeccc178a0833754e3d8c7083591e75ba Signed-off-by: Bernd Kuhls --- package/gettext-gnu/gettext-gnu.hash | 2 +- package/gettext-gnu/gettext-gnu.mk | 2 +- package/gettext-tiny/gettext-tiny.hash | 2 +- package/gettext-tiny/gettext-tiny.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/gettext-gnu/gettext-gnu.hash b/package/gettext-gnu/gettext-gnu.hash index 878253bea4..f307b4a9fd 100644 --- a/package/gettext-gnu/gettext-gnu.hash +++ b/package/gettext-gnu/gettext-gnu.hash @@ -1,5 +1,5 @@ # Please keep in sync with package/gettext-tiny/gettext-tiny.hash # Locally calculated -sha256 4c82fbfe5e53d71a97c634aa98a898b9da807b08b27410f6a4641e8bb44dc4b2 gettext-0.22.2.tar.xz +sha256 b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6 gettext-0.22.3.tar.xz sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b COPYING sha256 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288 gettext-runtime/intl/COPYING.LIB diff --git a/package/gettext-gnu/gettext-gnu.mk b/package/gettext-gnu/gettext-gnu.mk index 06ada568b1..35b79d1926 100644 --- a/package/gettext-gnu/gettext-gnu.mk +++ b/package/gettext-gnu/gettext-gnu.mk @@ -6,7 +6,7 @@ # Please keep in sync with GETTEXT_TINY_ARCHIVE_VERSION in # gettext-tiny/gettext-tiny.mk -GETTEXT_GNU_VERSION = 0.22.2 +GETTEXT_GNU_VERSION = 0.22.3 GETTEXT_GNU_SITE = $(BR2_GNU_MIRROR)/gettext GETTEXT_GNU_SOURCE = gettext-$(GETTEXT_GNU_VERSION).tar.xz GETTEXT_GNU_INSTALL_STAGING = YES diff --git a/package/gettext-tiny/gettext-tiny.hash b/package/gettext-tiny/gettext-tiny.hash index 02d9a803da..a72b0c35e4 100644 --- a/package/gettext-tiny/gettext-tiny.hash +++ b/package/gettext-tiny/gettext-tiny.hash @@ -3,4 +3,4 @@ sha256 29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383 gettex sha256 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f LICENSE sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b extra/COPYING # Locally Computed: -sha256 4c82fbfe5e53d71a97c634aa98a898b9da807b08b27410f6a4641e8bb44dc4b2 gettext-0.22.2.tar.xz +sha256 b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6 gettext-0.22.3.tar.xz diff --git a/package/gettext-tiny/gettext-tiny.mk b/package/gettext-tiny/gettext-tiny.mk index 0aef4b0058..e4a3625c5a 100644 --- a/package/gettext-tiny/gettext-tiny.mk +++ b/package/gettext-tiny/gettext-tiny.mk @@ -15,7 +15,7 @@ GETTEXT_TINY_PROVIDES = gettext # needed for gettextize # Please keep in sync with package/gettext-gnu/gettext-gnu.mk -GETTEXT_TINY_ARCHIVE_VERSION = 0.22.2 +GETTEXT_TINY_ARCHIVE_VERSION = 0.22.3 GETTEXT_TINY_EXTRA_GETTEXT_FILES = \ gettext-tools/misc/gettextize.in \ -- 2.39.2 From bernd at kuhls.net Wed Oct 11 18:01:40 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Wed, 11 Oct 2023 20:01:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/dav1d: bump version to 1.3.0 Message-ID: <20231011180140.74551-1-bernd@kuhls.net> Release notes: https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS Signed-off-by: Bernd Kuhls --- package/dav1d/dav1d.hash | 4 ++-- package/dav1d/dav1d.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/dav1d/dav1d.hash b/package/dav1d/dav1d.hash index 68757060bf..0b2c53ec21 100644 --- a/package/dav1d/dav1d.hash +++ b/package/dav1d/dav1d.hash @@ -1,4 +1,4 @@ -# From https://download.videolan.org/pub/videolan/dav1d/1.2.1/dav1d-1.2.1.tar.xz.sha256 -sha256 4e33eb61ec54c768a16da0cf8fa0928b4c4593f5f804a3c887d4a21c318340b2 dav1d-1.2.1.tar.xz +# From https://download.videolan.org/pub/videolan/dav1d/1.3.0/dav1d-1.3.0.tar.xz.sha256 +sha256 6d8be2741c505c47f8f1ced3c9cc427759243436553d01d1acce201f87b39e71 dav1d-1.3.0.tar.xz # Locally computed sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING diff --git a/package/dav1d/dav1d.mk b/package/dav1d/dav1d.mk index e90f53dc1a..3650f28730 100644 --- a/package/dav1d/dav1d.mk +++ b/package/dav1d/dav1d.mk @@ -4,7 +4,7 @@ # ################################################################################ -DAV1D_VERSION = 1.2.1 +DAV1D_VERSION = 1.3.0 DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz DAV1D_SITE = https://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION) DAV1D_LICENSE = BSD-2-Clause -- 2.39.2 From christian at aperture.us Wed Oct 11 20:02:22 2023 From: christian at aperture.us (Christian Stewart) Date: Wed, 11 Oct 2023 13:02:22 -0700 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.3 In-Reply-To: <20231011114736.311388-1-peter@korsgaard.com> References: <20231011114736.311388-1-peter@korsgaard.com> Message-ID: Hi Peter, On Wed, Oct 11, 2023 at 4:47?AM Peter Korsgaard wrote: > > Fixes CVE-2023-39325: rapid stream resets can cause excessive work > > A malicious HTTP/2 client which rapidly creates requests and immediately > resets them can cause excessive server resource consumption. While the > total number of requests is bounded to the http2.Server.MaxConcurrentStreams > setting, resetting an in-progress request allows the attacker to create a > new request while the existing one is still executing. > > go1.21.3 (released 2023-10-10) includes a security fix to the net/http > package. > > Signed-off-by: Peter Korsgaard > --- > package/go/go.hash | 2 +- > package/go/go.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/go/go.hash b/package/go/go.hash > index a2ec6b5923..9499f50964 100644 > --- a/package/go/go.hash > +++ b/package/go/go.hash > @@ -1,3 +1,3 @@ > # From https://go.dev/dl > -sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz > +sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21.3.src.tar.gz > sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE > diff --git a/package/go/go.mk b/package/go/go.mk > index 2c32e90817..ef27f32835 100644 > --- a/package/go/go.mk > +++ b/package/go/go.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -GO_VERSION = 1.21.2 > +GO_VERSION = 1.21.3 > GO_SITE = https://storage.googleapis.com/golang > GO_SOURCE = go$(GO_VERSION).src.tar.gz Reviewed-by: Christian Stewart Thanks. From alistair23 at gmail.com Thu Oct 12 00:32:28 2023 From: alistair23 at gmail.com (Alistair Francis) Date: Thu, 12 Oct 2023 10:32:28 +1000 Subject: [Buildroot] [PATCH] package/libspdm: bump version to 3.1.0 Message-ID: <20231012003228.2046171-1-alistair.francis@wdc.com> Signed-off-by: Alistair Francis --- ...-x509-Remove-internal-OpenSSL-crypto.patch | 44 ---------- ...lib_openssl-ecd-Allow-disabling-code.patch | 56 ------------- ...-ec-Remove-internal-OpenSSL-crypto-i.patch | 82 ------------------- ...llow-disabling-EDDSA-support-from-co.patch | 31 ------- package/libspdm/libspdm.hash | 2 +- package/libspdm/libspdm.mk | 2 +- 6 files changed, 2 insertions(+), 215 deletions(-) delete mode 100644 package/libspdm/0001-cryptlib_openssl-x509-Remove-internal-OpenSSL-crypto.patch delete mode 100644 package/libspdm/0002-cryptlib_openssl-ecd-Allow-disabling-code.patch delete mode 100644 package/libspdm/0003-cryptlib_openssl-ec-Remove-internal-OpenSSL-crypto-i.patch delete mode 100644 package/libspdm/0004-CMakeLists.txt-Allow-disabling-EDDSA-support-from-co.patch diff --git a/package/libspdm/0001-cryptlib_openssl-x509-Remove-internal-OpenSSL-crypto.patch b/package/libspdm/0001-cryptlib_openssl-x509-Remove-internal-OpenSSL-crypto.patch deleted file mode 100644 index d5d233b7ab..0000000000 --- a/package/libspdm/0001-cryptlib_openssl-x509-Remove-internal-OpenSSL-crypto.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 7db883cdb3369cfaf9f0890b0eda503f47a5ffa3 Mon Sep 17 00:00:00 2001 -From: Alistair Francis -Date: Fri, 11 Aug 2023 16:26:53 -0400 -Subject: [PATCH] cryptlib_openssl: x509: Remove internal OpenSSL crypto - include - -The OpenSSL source code describes the crypto include as: -"Internal EC functions for other submodules: not for application use" - - https://github.com/openssl/openssl/blob/master/include/crypto/ec.h - -Using the internal APIS makes it difficult to use libspdm as a library -with other packages. So let's remove the uses of the internal API and -instead use the public API. - -Signed-off-by: Alistair Francis -Upstream: https://github.com/DMTF/libspdm/commit/7db883cdb3369cfaf9f0890b0eda503f47a5ffa3 ---- - os_stub/cryptlib_openssl/pk/x509.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/os_stub/cryptlib_openssl/pk/x509.c b/os_stub/cryptlib_openssl/pk/x509.c -index c067f3d0ca..1a2736132b 100644 ---- a/os_stub/cryptlib_openssl/pk/x509.c -+++ b/os_stub/cryptlib_openssl/pk/x509.c -@@ -17,7 +17,6 @@ - #include - #include - #include --#include - - #if LIBSPDM_CERT_PARSE_SUPPORT - -@@ -2318,7 +2317,7 @@ bool libspdm_set_attribute_for_req(X509_REQ *req, uint8_t *req_info, size_t req_ - /*get subject name from req_info and set it to CSR*/ - x509_req_info = d2i_X509_REQ_INFO(NULL, (const unsigned char **)(&req_info), req_info_len); - if (x509_req_info) { -- X509_REQ_set_subject_name(req, x509_req_info->subject); -+ X509_REQ_set_subject_name(req, X509_REQ_get_subject_name((X509_REQ *)x509_req_info)); - X509_REQ_INFO_free(x509_req_info); - } else { - return false; --- -2.40.1 - diff --git a/package/libspdm/0002-cryptlib_openssl-ecd-Allow-disabling-code.patch b/package/libspdm/0002-cryptlib_openssl-ecd-Allow-disabling-code.patch deleted file mode 100644 index 0ab347b3e0..0000000000 --- a/package/libspdm/0002-cryptlib_openssl-ecd-Allow-disabling-code.patch +++ /dev/null @@ -1,56 +0,0 @@ -From e87687d72688e980b929920b7d77dca26fff169e Mon Sep 17 00:00:00 2001 -From: Alistair Francis -Date: Mon, 21 Aug 2023 14:00:46 -0400 -Subject: [PATCH] cryptlib_openssl: ecd: Allow disabling code - -The OpenSSL source code describes the crypto include as: -"Internal EC functions for other submodules: not for application use" - - https://github.com/openssl/openssl/blob/master/include/crypto/ec.h - -Using the internal APIS makes it difficult to use libspdm as a library -with other packages. So let's remove the uses of the internal API and -instead use the public API. - -The current ECD code uses internal APIs, making it unsuitable for use in -production code or libraries. - -The supported way to do this is via OSSL params, either with -EVP_PKEY_fromdata() [1] or using EVP_PKEY_set_octet_string_param(). - -Unfortunately this isn't supported in OpenSSL and ed25519_set_params() -and ed448_set_params() will always return 1, indicating no support. - -As there doesn't appear to be a supported method in OpenSSL to set the -public and private keys, let's instead allow users to disable this -support so the library can be used with the regular OpenSSL libraries. - -https://www.openssl.org/docs/man3.0/man3/EVP_PKEY_fromdata.html - -Signed-off-by: Alistair Francis -Upstream: https://github.com/DMTF/libspdm/commit/e87687d72688e980b929920b7d77dca26fff169e ---- - os_stub/cryptlib_openssl/pk/ecd.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/os_stub/cryptlib_openssl/pk/ecd.c b/os_stub/cryptlib_openssl/pk/ecd.c -index d7cc156d86..23dbd0390b 100644 ---- a/os_stub/cryptlib_openssl/pk/ecd.c -+++ b/os_stub/cryptlib_openssl/pk/ecd.c -@@ -12,6 +12,9 @@ - **/ - - #include "internal_crypt_lib.h" -+ -+#if (LIBSPDM_EDDSA_ED25519_SUPPORT) || (LIBSPDM_EDDSA_ED448_SUPPORT) -+ - #include - #include - -@@ -471,3 +474,4 @@ bool libspdm_eddsa_verify(const void *ecd_context, size_t hash_nid, - EVP_MD_CTX_free(ctx); - return true; - } -+#endif /* (LIBSPDM_EDDSA_ED25519_SUPPORT) || (LIBSPDM_EDDSA_ED448_SUPPORT) */ --- -2.40.1 - diff --git a/package/libspdm/0003-cryptlib_openssl-ec-Remove-internal-OpenSSL-crypto-i.patch b/package/libspdm/0003-cryptlib_openssl-ec-Remove-internal-OpenSSL-crypto-i.patch deleted file mode 100644 index aacda14789..0000000000 --- a/package/libspdm/0003-cryptlib_openssl-ec-Remove-internal-OpenSSL-crypto-i.patch +++ /dev/null @@ -1,82 +0,0 @@ -From 567b1c8ea731fe42650d43ede50a105b772dc7aa Mon Sep 17 00:00:00 2001 -From: Alistair Francis -Date: Fri, 11 Aug 2023 16:24:23 -0400 -Subject: [PATCH] cryptlib_openssl: ec: Remove internal OpenSSL crypto include - -The OpenSSL source code describes the crypto include as: -"Internal EC functions for other submodules: not for application use" - - https://github.com/openssl/openssl/blob/master/include/crypto/ec.h - -Using the internal APIS makes it difficult to use libspdm as a library -with other packages. So let's remove the uses of the internal API and -instead use the public API. - -Signed-off-by: Alistair Francis -Upstream: https://github.com/DMTF/libspdm/commit/567b1c8ea731fe42650d43ede50a105b772dc7aa ---- - os_stub/cryptlib_openssl/pk/ec.c | 26 ++++++++++++++++++++++---- - 1 file changed, 22 insertions(+), 4 deletions(-) - -diff --git a/os_stub/cryptlib_openssl/pk/ec.c b/os_stub/cryptlib_openssl/pk/ec.c -index 7dd9a8b0f8..09df0b9a25 100644 ---- a/os_stub/cryptlib_openssl/pk/ec.c -+++ b/os_stub/cryptlib_openssl/pk/ec.c -@@ -15,7 +15,6 @@ - #include - #include - #include --#include - - /** - * Allocates and Initializes one Elliptic Curve context for subsequent use -@@ -854,7 +853,7 @@ static int libspdm_ecdsa_sign_setup_random(EC_KEY *eckey, BIGNUM **kinvp, BIGNUM - uint8_t* random, size_t random_len) - { - BN_CTX *ctx = NULL; -- BIGNUM *k = NULL, *r = NULL, *X = NULL; -+ BIGNUM *k = NULL, *r = NULL, *X = NULL, *e = NULL; - const BIGNUM *order; - EC_POINT *tmp_point = NULL; - const EC_GROUP *group; -@@ -901,6 +900,11 @@ static int libspdm_ecdsa_sign_setup_random(EC_KEY *eckey, BIGNUM **kinvp, BIGNUM - goto err; - } - -+ e = BN_CTX_get(ctx); -+ if (e == NULL) { -+ return 0; -+ } -+ - /*random number*/ - k = BN_bin2bn(random, random_len, NULL); - -@@ -915,10 +919,24 @@ static int libspdm_ecdsa_sign_setup_random(EC_KEY *eckey, BIGNUM **kinvp, BIGNUM - goto err; - } - -- /* compute the inverse of k */ -- if (!ossl_ec_group_do_inverse_ord(group, k, k, ctx)) { -+ /* -+ * compute the inverse of k -+ * Based on ossl_ec_group_do_inverse_ord() from OpenSSL -+ */ -+ BN_CTX_start(ctx); -+ if (!BN_set_word(e, 2)) { -+ BN_CTX_end(ctx); -+ goto err; -+ } -+ if (!BN_sub(e, order, e)) { -+ BN_CTX_end(ctx); -+ goto err; -+ } -+ if (!BN_mod_exp_mont(k, k, e, order, ctx, EC_GROUP_get_mont_data(group))) { -+ BN_CTX_end(ctx); - goto err; - } -+ BN_CTX_end(ctx); - - /* clear old values if necessary */ - BN_clear_free(*rp); --- -2.40.1 - diff --git a/package/libspdm/0004-CMakeLists.txt-Allow-disabling-EDDSA-support-from-co.patch b/package/libspdm/0004-CMakeLists.txt-Allow-disabling-EDDSA-support-from-co.patch deleted file mode 100644 index fe616490f7..0000000000 --- a/package/libspdm/0004-CMakeLists.txt-Allow-disabling-EDDSA-support-from-co.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 97611ce8279341205463ace6a5f2ff93c52fc417 Mon Sep 17 00:00:00 2001 -From: Alistair Francis -Date: Wed, 30 Aug 2023 13:37:07 +1000 -Subject: [PATCH] CMakeLists.txt: Allow disabling EDDSA support from command - line - -Signed-off-by: Alistair Francis -Upstream: https://github.com/DMTF/libspdm/pull/2330 ---- - CMakeLists.txt | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8a18c467a5..47b93f8bb7 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -155,6 +155,11 @@ else() - MESSAGE(FATAL_ERROR "Unknown CRYPTO") - endif() - -+if(DISABLE_EDDSA STREQUAL "1") -+ add_definitions(-DLIBSPDM_EDDSA_ED25519_SUPPORT=0) -+ add_definitions(-DLIBSPDM_EDDSA_ED448_SUPPORT=0) -+endif() -+ - if(ENABLE_BINARY_BUILD STREQUAL "1") - if(NOT CRYPTO STREQUAL "openssl") - MESSAGE(FATAL_ERROR "enabling binary build not supported for non-openssl") --- -2.40.1 - diff --git a/package/libspdm/libspdm.hash b/package/libspdm/libspdm.hash index 5095d3c3b8..3280ebfb88 100644 --- a/package/libspdm/libspdm.hash +++ b/package/libspdm/libspdm.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3a40daa59f32843062c3d2699acee09bd0ee217eb8ebf0378ae12b60b6db0636 libspdm-3.0.0.tar.gz +sha256 73e0d7df3c91beeb9f61a50eaa0a44c8e32b7a62ce32ed3cab1f0fab406ed5b8 libspdm-3.1.0.tar.gz sha256 7dc072bff163df39209bbb63e0916f4667c2a84cf3c36ccc84ec7425bc3e4779 LICENSE.md diff --git a/package/libspdm/libspdm.mk b/package/libspdm/libspdm.mk index cbcbed29de..b216d98093 100644 --- a/package/libspdm/libspdm.mk +++ b/package/libspdm/libspdm.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSPDM_VERSION = 3.0.0 +LIBSPDM_VERSION = 3.1.0 LIBSPDM_SITE = $(call github,DMTF,libspdm,$(LIBSPDM_VERSION)) LIBSPDM_LICENSE = BSD-3-Clause LIBSPDM_LICENSE_FILES = LICENSE.md -- 2.40.1 From nolange79 at gmail.com Thu Oct 12 07:53:12 2023 From: nolange79 at gmail.com (Norbert Lange) Date: Thu, 12 Oct 2023 09:53:12 +0200 Subject: [Buildroot] [PATCH 3/7] package/skeleton-init-systemd: force permissions for buildroot runtime dirs In-Reply-To: <42d44a84-66e8-65f5-8e06-92f95b381291@mind.be> References: <20230115125253.280257-1-nolange79@gmail.com> <20230115125253.280257-4-nolange79@gmail.com> <42d44a84-66e8-65f5-8e06-92f95b381291@mind.be> Message-ID: Am Di., 10. Okt. 2023 um 21:32 Uhr schrieb Arnout Vandecappelle : > > Hi Norbert, > > Obviously, this doesn't apply any more because I committed a different tree. > However... > > On 15/01/2023 13:52, Norbert Lange wrote: > > A previous commit introduced /run/.br and /tmp/.br and a few > > subdirectories. > > Add a tmpfile to ensure the existance, ownership and permissions. > > > > Signed-off-by: Norbert Lange > > --- > > package/skeleton-init-systemd/00-buildroot.conf | 7 +++++++ > > package/skeleton-init-systemd/skeleton-init-systemd.mk | 1 + > > 2 files changed, 8 insertions(+) > > create mode 100644 package/skeleton-init-systemd/00-buildroot.conf > > > > diff --git a/package/skeleton-init-systemd/00-buildroot.conf b/package/skeleton-init-systemd/00-buildroot.conf > > new file mode 100644 > > index 0000000000..a4c7bf0576 > > --- /dev/null > > +++ b/package/skeleton-init-systemd/00-buildroot.conf > > @@ -0,0 +1,7 @@ > > +# Create buildroot API directories and fix permissions > > + > > +d /run/.br 0755 root root - > > +d /tmp/.br 0755 root root - > > I don't think this tmp directory is used anywhere? Not yet, these would reserve the paths. One usage would be to use /tmp/.br as base for overlay "upper" dirs, reusing the /tmp filesystem instead of mounting an extra tmpfs. Using /run for anything else but small files is a bad idea, as I mentioned in response to the commit "package/skeleton-init-systemd: add option to use overlayfs on /var". > > > +z /run/.br/bnd 0700 root root - > > +z /run/.br/ovl 0700 root root - > > What's the point of doing this? These directories are created by the overlay > service file. systemd-tmpfiles is started after local-fs.target and the /var > overlay mount comes before, so it's the overlay service file that has to create > them. You could say "hey maybe there's some other service that makes use of > those directories" - but if so, that's another service that is going to come > before local-fs.target, so it _also_ has to create those directories itself... Not all overlays/services have to be enabled, you generally should use tmpfiles.d to ensure owner/mode of some sort of protected files. Prevents hijacking. Think of mounting an overlay on-demand, running an system update, testing said update then "commiting" the (merged) overlay to a blockdevice. if anything breaks, you reboot and you are running the unmodified working system. > > There's a bit of a problem with systemd-tmpfiles, that it doesn't allow to > specify dependencies/ordering. That's in fact one of the reasons the factory > approach doesn't work so well. systemd-tmpfiles only works for services after > sysinit.target, really - and therefore doesn't work for anything related to > local filesystems. > > IMHO it would have been better to put tmpfile blocks in service definitions. > But that's not the world we live in :-) That's not what they are for. tmpfiles.d should set up the filesystem whether services are enabled or not. Erases a whole set of problems. > > So, I've marked as Rejected, but feel free to argue my points. The argument would be to create & protect paths buildroot services could be using. > > Regards, > Arnout > Regards, Norbert From adam.duskett at amarulasolutions.com Thu Oct 12 10:31:57 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:31:57 +0200 Subject: [Buildroot] [PATCH 00/12] SELinux: Basic config enforcing mode support. Message-ID: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> SELinux support in Buildroot is currently outstanding! However, one last major issue remains: Enforcing mode needs to work out of the box correctly, without denials, at least with a minimal defconfig. This patch series seeks to remedy this problem with a basic set of policies in several commonly selected packages to allow a user who wishes to use SELinux in enforcing mode the ability to do so without having to spend several hours writing the same policy that everyone who wishes to do the same thing would have to do. The packages I have selected are based on the pc_x86_64_bios_defconfig with all of the selinux packages selected because it was the most straightforward option I had to create a small, bootable system in Virtual Manager with ssh support to quickly build out a policy that didn't generate any denials in /var/log/audit.log. I want to address Yann's questions from a previous discussion on IRC: Q) What will be the maintenance effort? A) Minimal after this patch series. As you will see, most policies are only a few lines long! Q) How much time will we invest when we bump a package or add a dependency? A) Usually none! If a package bump/new dependency requires new permissions to the SELinux policy, this is a good thing! We should step back and question why a package previously accessing only files and libraries suddenly needs to (e.g.), change permissions on a /dev/ device! Note: This series depends on the following pending patches: https://patchwork.ozlabs.org/project/buildroot/patch/20231009161817.2832969-1-adam.duskett at amarulasolutions.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231009143440.1776155-1-adam.duskett at amarulasolutions.com/ https://patchwork.ozlabs.org/project/buildroot/patch/20231009170428.2836853-1-adam.duskett at amarulasolutions.com/ Thank you for considering and reviewing this series! Adam Adam Duskett (12): package/refpolicy/selinux: Add buildroot base policy package/busybox/selinux: Add buildroot busybox policy package/sysvinit/selinux: Add buildroot sysvinit policy package/systemd/selinux: Add buildroot systemd selinux policy package/openssh/selinux: Add buildroot openssh policy package/audit/selinux: Add buildroot audit policy package/polkit/selinux: Add buildroot polkit policy package/restorecond/selinux: Add buildroot restorecond policy package/acpid/selinux: Add buildroot acpid policy package/network-manager/selinux: Add buildroot network-manager policy package/iptables/selinux: Add buildroot iptables policy package/kmod/selinux: Add buildroot kmod policy DEVELOPERS | 12 ++++ package/acpid/selinux/buildroot-acpid.fc | 0 package/acpid/selinux/buildroot-acpid.if | 1 + package/acpid/selinux/buildroot-acpid.te | 10 +++ package/audit/selinux/buildroot-audit.fc | 0 package/audit/selinux/buildroot-audit.if | 1 + package/audit/selinux/buildroot-audit.te | 13 ++++ package/busybox/selinux/buildroot-busybox.fc | 1 + package/busybox/selinux/buildroot-busybox.if | 1 + package/busybox/selinux/buildroot-busybox.te | 16 +++++ .../iptables/selinux/buildroot-iptables.fc | 0 .../iptables/selinux/buildroot-iptables.if | 1 + .../iptables/selinux/buildroot-iptables.te | 5 ++ package/kmod/selinux/buildroot-kmod.fc | 0 package/kmod/selinux/buildroot-kmod.if | 1 + package/kmod/selinux/buildroot-kmod.te | 4 ++ .../selinux/buildroot-network-manager.fc | 0 .../selinux/buildroot-network-manager.if | 1 + .../selinux/buildroot-network-manager.te | 4 ++ package/openssh/selinux/buildroot-openssh.fc | 0 package/openssh/selinux/buildroot-openssh.if | 1 + package/openssh/selinux/buildroot-openssh.te | 23 +++++++ package/polkit/selinux/buildroot-polkit.fc | 0 package/polkit/selinux/buildroot-polkit.if | 1 + package/polkit/selinux/buildroot-polkit.te | 5 ++ package/refpolicy/selinux/buildroot.fc | 0 package/refpolicy/selinux/buildroot.if | 1 + package/refpolicy/selinux/buildroot.te | 67 +++++++++++++++++++ .../selinux/buildroot-restorecond.fc | 0 .../selinux/buildroot-restorecond.if | 1 + .../selinux/buildroot-restorecond.te | 13 ++++ package/systemd/selinux/buildroot-systemd.fc | 0 package/systemd/selinux/buildroot-systemd.if | 1 + package/systemd/selinux/buildroot-systemd.te | 66 ++++++++++++++++++ .../sysvinit/selinux/buildroot-sysvinit.fc | 0 .../sysvinit/selinux/buildroot-sysvinit.if | 1 + .../sysvinit/selinux/buildroot-sysvinit.te | 8 +++ 37 files changed, 259 insertions(+) create mode 100644 package/acpid/selinux/buildroot-acpid.fc create mode 100644 package/acpid/selinux/buildroot-acpid.if create mode 100644 package/acpid/selinux/buildroot-acpid.te create mode 100644 package/audit/selinux/buildroot-audit.fc create mode 100644 package/audit/selinux/buildroot-audit.if create mode 100644 package/audit/selinux/buildroot-audit.te create mode 100644 package/busybox/selinux/buildroot-busybox.fc create mode 100644 package/busybox/selinux/buildroot-busybox.if create mode 100644 package/busybox/selinux/buildroot-busybox.te create mode 100644 package/iptables/selinux/buildroot-iptables.fc create mode 100644 package/iptables/selinux/buildroot-iptables.if create mode 100644 package/iptables/selinux/buildroot-iptables.te create mode 100644 package/kmod/selinux/buildroot-kmod.fc create mode 100644 package/kmod/selinux/buildroot-kmod.if create mode 100644 package/kmod/selinux/buildroot-kmod.te create mode 100644 package/network-manager/selinux/buildroot-network-manager.fc create mode 100644 package/network-manager/selinux/buildroot-network-manager.if create mode 100644 package/network-manager/selinux/buildroot-network-manager.te create mode 100644 package/openssh/selinux/buildroot-openssh.fc create mode 100644 package/openssh/selinux/buildroot-openssh.if create mode 100644 package/openssh/selinux/buildroot-openssh.te create mode 100644 package/polkit/selinux/buildroot-polkit.fc create mode 100644 package/polkit/selinux/buildroot-polkit.if create mode 100644 package/polkit/selinux/buildroot-polkit.te create mode 100644 package/refpolicy/selinux/buildroot.fc create mode 100644 package/refpolicy/selinux/buildroot.if create mode 100644 package/refpolicy/selinux/buildroot.te create mode 100644 package/restorecond/selinux/buildroot-restorecond.fc create mode 100644 package/restorecond/selinux/buildroot-restorecond.if create mode 100644 package/restorecond/selinux/buildroot-restorecond.te create mode 100644 package/systemd/selinux/buildroot-systemd.fc create mode 100644 package/systemd/selinux/buildroot-systemd.if create mode 100644 package/systemd/selinux/buildroot-systemd.te create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.fc create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.if create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.te -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:31:58 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:31:58 +0200 Subject: [Buildroot] [PATCH 01/12] package/refpolicy/selinux: Add buildroot base policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-2-adam.duskett@amarulasolutions.com> This policy is the first in several that supports running Buildroot in enforcing mode without any denials. This is a generic set of Buildroot-specific permissions that are tied to the enabled repolicy modules enabled when a user selects the upstream version of refpolicy. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/refpolicy/selinux/buildroot.fc | 0 package/refpolicy/selinux/buildroot.if | 1 + package/refpolicy/selinux/buildroot.te | 67 ++++++++++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 package/refpolicy/selinux/buildroot.fc create mode 100644 package/refpolicy/selinux/buildroot.if create mode 100644 package/refpolicy/selinux/buildroot.te diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..e863d06535 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -37,6 +37,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/refpolicy/selinux/ F: support/testing/tests/package/test_flutter.py N: Adam Heinrich diff --git a/package/refpolicy/selinux/buildroot.fc b/package/refpolicy/selinux/buildroot.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/refpolicy/selinux/buildroot.if b/package/refpolicy/selinux/buildroot.if new file mode 100644 index 0000000000..acf797e604 --- /dev/null +++ b/package/refpolicy/selinux/buildroot.if @@ -0,0 +1 @@ +## Buildroot rules diff --git a/package/refpolicy/selinux/buildroot.te b/package/refpolicy/selinux/buildroot.te new file mode 100644 index 0000000000..1e004452ae --- /dev/null +++ b/package/refpolicy/selinux/buildroot.te @@ -0,0 +1,67 @@ +policy_module(buildroot, 1.0.0) + +#============= chkpwd_t ============== +allow chkpwd_t tmpfs_t:dir search; + +#============= getty_t ============== +allow getty_t device_t:chr_file { getattr ioctl open read setattr write }; +allow getty_t getty_runtime_t:file watch; +allow getty_t init_runtime_t:dir read; +allow getty_t init_runtime_t:sock_file write; +allow getty_t init_tmpfs_t:file { lock open read write }; +allow getty_t init_t:unix_stream_socket connectto; +allow getty_t proc_t:filesystem getattr; +allow getty_t sysctl_kernel_t:dir search; +allow getty_t sysctl_kernel_t:file { open read }; +allow getty_t sysctl_t:dir search; +allow getty_t tmpfs_t:dir search; +allow getty_t var_t:lnk_file read; + +#============= local_login_t ============== +allow local_login_t bin_t:file execute; +allow local_login_t device_t:chr_file { ioctl open read relabelfrom relabelto write }; +allow local_login_t init_tmpfs_t:file { lock open read write }; +allow local_login_t proc_t:filesystem getattr; +allow local_login_t var_log_t:file { create lock open read write }; +allow local_login_t var_run_t:dir { add_name write }; +allow local_login_t var_run_t:file { create lock open read write }; + +#============= semanage_t ============== +allow semanage_t tmpfs_t:dir search; + +#============= syslogd_t ============== +allow syslogd_t device_t:chr_file { open read write }; +allow syslogd_t self:capability audit_control; +allow syslogd_t self:netlink_audit_socket nlmsg_write; +allow syslogd_t tmpfs_t:dir { add_name search write }; +allow syslogd_t tmpfs_t:file { append create getattr open }; +allow syslogd_t var_t:dir { add_name write }; +allow syslogd_t var_t:file { append create }; +allow syslogd_t var_t:lnk_file read; + +#============= sysadm_t ============== +allow sysadm_t device_t:chr_file { ioctl open read write }; +allow sysadm_t kernel_t:fd use; +allow sysadm_t kernel_t:system module_request; +allow sysadm_t node_t:tcp_socket node_bind; +allow sysadm_t self:capability { audit_control audit_write}; +allow sysadm_t self:netlink_audit_socket { nlmsg_read nlmsg_write }; +allow sysadm_t selinux_config_t:file watch; +allow sysadm_t tmpfs_t:dir watch; +allow sysadm_t unlabeled_t:file { execute map read }; +allow sysadm_t unlabeled_t:lnk_file read; +allow sysadm_t var_t:dir watch; + +#============= klogd_t ============== +allow klogd_t device_t:chr_file { read write }; +allow klogd_t selinux_config_t:dir search; + +#============= ifconfig_t ============== +allow ifconfig_t device_t:chr_file { getattr ioctl read write }; +allow ifconfig_t proc_t:filesystem getattr; +allow ifconfig_t root_t:chr_file { read write }; +allow ifconfig_t sysctl_kernel_t:dir search; +allow ifconfig_t sysctl_kernel_t:file { open read }; + +#============= kernel_t ============== +allow kernel_t sysadm_t:process transition; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:31:59 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:31:59 +0200 Subject: [Buildroot] [PATCH 02/12] package/busybox/selinux: Add buildroot busybox policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-3-adam.duskett@amarulasolutions.com> This is a minimal selinux policy required to run busybox in enforcing mode without denials. It is based off of the applets that Buildroot selects by default. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/busybox/selinux/buildroot-busybox.fc | 1 + package/busybox/selinux/buildroot-busybox.if | 1 + package/busybox/selinux/buildroot-busybox.te | 16 ++++++++++++++++ 4 files changed, 19 insertions(+) create mode 100644 package/busybox/selinux/buildroot-busybox.fc create mode 100644 package/busybox/selinux/buildroot-busybox.if create mode 100644 package/busybox/selinux/buildroot-busybox.te diff --git a/DEVELOPERS b/DEVELOPERS index e863d06535..c206f5262f 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -32,6 +32,7 @@ F: package/vulkan-loader/ F: package/vulkan-tools/ N: Adam Duskett +F: package/busybox/selinux/ F: package/depot-tools/ F: package/flutter-engine/ F: package/flutter-gallery/ diff --git a/package/busybox/selinux/buildroot-busybox.fc b/package/busybox/selinux/buildroot-busybox.fc new file mode 100644 index 0000000000..6785e466f3 --- /dev/null +++ b/package/busybox/selinux/buildroot-busybox.fc @@ -0,0 +1 @@ +/lib/libbusybox* -- gen_context(system_u:object_r:lib_t,s0) diff --git a/package/busybox/selinux/buildroot-busybox.if b/package/busybox/selinux/buildroot-busybox.if new file mode 100644 index 0000000000..60ea4b190d --- /dev/null +++ b/package/busybox/selinux/buildroot-busybox.if @@ -0,0 +1 @@ +## Buildroot busybox rules diff --git a/package/busybox/selinux/buildroot-busybox.te b/package/busybox/selinux/buildroot-busybox.te new file mode 100644 index 0000000000..e7d0f510b9 --- /dev/null +++ b/package/busybox/selinux/buildroot-busybox.te @@ -0,0 +1,16 @@ +policy_module(buildroot-busybox, 1.0.0) + +#============= init_tmpfs_t ============== +allow init_tmpfs_t self:file { lock open read write }; + +#============= getty_t ============== +allow getty_t local_login_t:file { lock open read write }; +allow getty_t local_login_t:process { noatsecure rlimitinh siginh }; +allow getty_t security_t:filesystem getattr; +allow getty_t selinux_config_t:dir search; + +#============= local_login_t ============== +allow local_login_t device_t:chr_file { getattr setattr }; +allow local_login_t shadow_t:file { getattr open read }; +allow local_login_t sysadm_t:process { noatsecure siginh rlimitinh }; + -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:00 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:00 +0200 Subject: [Buildroot] [PATCH 03/12] package/sysvinit/selinux: Add buildroot sysvinit policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-4-adam.duskett@amarulasolutions.com> This policy is required to run systems with sysvinit in enforcing mode without denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/sysvinit/selinux/buildroot-sysvinit.fc | 0 package/sysvinit/selinux/buildroot-sysvinit.if | 1 + package/sysvinit/selinux/buildroot-sysvinit.te | 8 ++++++++ 4 files changed, 10 insertions(+) create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.fc create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.if create mode 100644 package/sysvinit/selinux/buildroot-sysvinit.te diff --git a/DEVELOPERS b/DEVELOPERS index c206f5262f..36108715bf 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -39,6 +39,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: package/refpolicy/selinux/ +F: package/sysvinit/selinux/ F: support/testing/tests/package/test_flutter.py N: Adam Heinrich diff --git a/package/sysvinit/selinux/buildroot-sysvinit.fc b/package/sysvinit/selinux/buildroot-sysvinit.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/sysvinit/selinux/buildroot-sysvinit.if b/package/sysvinit/selinux/buildroot-sysvinit.if new file mode 100644 index 0000000000..2b8195dfe3 --- /dev/null +++ b/package/sysvinit/selinux/buildroot-sysvinit.if @@ -0,0 +1 @@ +## Buildroot sysvinit rules diff --git a/package/sysvinit/selinux/buildroot-sysvinit.te b/package/sysvinit/selinux/buildroot-sysvinit.te new file mode 100644 index 0000000000..58c3e14580 --- /dev/null +++ b/package/sysvinit/selinux/buildroot-sysvinit.te @@ -0,0 +1,8 @@ +policy_module(buildroot-sysvinit, 1.0.0) + +#============= getty_t ============== +allow getty_t tmpfs_t:dir { add_name write }; +allow getty_t tmpfs_t:file { create lock open read write }; + +#============= local_login_t ============== +allow local_login_t tmpfs_t:file { lock open read write }; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:01 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:01 +0200 Subject: [Buildroot] [PATCH 04/12] package/systemd/selinux: Add buildroot systemd selinux policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-5-adam.duskett@amarulasolutions.com> Systemd requires quite a bit of extra permissions not provided by the refpolicy systemd module to function properly in enforcing mode without denials. This is based off of Maxime Chevallier's previous work found here: https://patchwork.ozlabs.org/project/buildroot/patch/20210107135307.1762186-3-maxime.chevallier at bootlin.com/ Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/systemd/selinux/buildroot-systemd.fc | 0 package/systemd/selinux/buildroot-systemd.if | 1 + package/systemd/selinux/buildroot-systemd.te | 66 ++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 package/systemd/selinux/buildroot-systemd.fc create mode 100644 package/systemd/selinux/buildroot-systemd.if create mode 100644 package/systemd/selinux/buildroot-systemd.te diff --git a/DEVELOPERS b/DEVELOPERS index 36108715bf..e49960f572 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -39,6 +39,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: package/refpolicy/selinux/ +F: package/systemd/selinux/ F: package/sysvinit/selinux/ F: support/testing/tests/package/test_flutter.py diff --git a/package/systemd/selinux/buildroot-systemd.fc b/package/systemd/selinux/buildroot-systemd.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/systemd/selinux/buildroot-systemd.if b/package/systemd/selinux/buildroot-systemd.if new file mode 100644 index 0000000000..7c56777c32 --- /dev/null +++ b/package/systemd/selinux/buildroot-systemd.if @@ -0,0 +1 @@ +## Buildroot systemd rules diff --git a/package/systemd/selinux/buildroot-systemd.te b/package/systemd/selinux/buildroot-systemd.te new file mode 100644 index 0000000000..8d6dee99cf --- /dev/null +++ b/package/systemd/selinux/buildroot-systemd.te @@ -0,0 +1,66 @@ +policy_module(buildroot-systemd, 1.0.0) + +#============= sysadm_t ============== +allow sysadm_t init_t:fd use; + +#============= system_dbusd_t ============== +allow system_dbusd_t init_t:unix_stream_socket connectto; + +#============= systemd_generator_t ============== +allow systemd_generator_t locale_t:dir search; +allow systemd_generator_t locale_t:file { getattr open read }; +allow systemd_generator_t locale_t:lnk_file read; +allow systemd_generator_t self:capability dac_override; +allow systemd_generator_t self:process setfscreate; +allow systemd_generator_t selinux_config_t:dir { getattr search }; +allow systemd_generator_t tty_device_t:chr_file { ioctl open read write }; + +#============= systemd_homed_t ============== +allow systemd_homed_t self:unix_stream_socket listen; +allow systemd_homed_t selinux_config_t:dir search; + +#============= systemd_hw_t ============== +# allow systemd_hw_t init_runtime_t:dir search; + +#============= systemd_journal_init_t ============== +allow systemd_journal_init_t self:capability net_admin; +allow systemd_journal_init_t selinux_config_t:dir { getattr search }; + +#============= systemd_networkd_t ============== +allow systemd_networkd_t net_conf_t:dir { getattr open read search }; +allow systemd_networkd_t selinux_config_t:dir { getattr search }; +allow systemd_networkd_t selinux_config_t:dir search; +allow systemd_networkd_t system_dbusd_runtime_t:dir read; +allow systemd_networkd_t system_dbusd_runtime_t:sock_file read; +allow systemd_networkd_t var_run_t:dir read; + +#============= systemd_resolved_t ============== +allow systemd_resolved_t system_dbusd_runtime_t:dir read; +allow systemd_resolved_t system_dbusd_runtime_t:sock_file read; +allow systemd_resolved_t var_run_t:dir read; + +#============= systemd_sessions_t ============== +allow systemd_sessions_t self:capability net_admin; + +#============= systemd_sysctl_t ============== +allow systemd_sysctl_t selinux_config_t:dir { getattr search }; + +#============= systemd_sysusers_t ============== +allow systemd_sysusers_t self:capability net_admin; + +#============= systemd_tmpfiles_t ============== +allow systemd_tmpfiles_t auditd_log_t:dir { create getattr open read relabelfrom relabelto }; +allow systemd_tmpfiles_t etc_t:dir relabelfrom; +allow systemd_tmpfiles_t etc_t:file { relabelfrom relabelto }; +allow systemd_tmpfiles_t init_t:unix_stream_socket connectto; +allow systemd_tmpfiles_t ssh_home_t:dir { getattr relabelfrom relabelto }; +allow systemd_tmpfiles_t system_dbusd_var_lib_t:dir read; +allow systemd_tmpfiles_t systemd_journal_t:lnk_file { read getattr relabelfrom relabelto }; +allow systemd_tmpfiles_t user_home_dir_t:dir { getattr search relabelfrom relabelto }; +allow systemd_tmpfiles_t user_home_t:dir { getattr search relabelfrom relabelto }; +allow systemd_tmpfiles_t usr_t:dir read; +allow systemd_tmpfiles_t usr_t:file { open read }; +allow systemd_tmpfiles_t var_spool_t:dir create; + +#============= systemd_update_done_t ============== +allow systemd_update_done_t self:capability net_admin; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:02 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:02 +0200 Subject: [Buildroot] [PATCH 05/12] package/openssh/selinux: Add buildroot openssh policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-6-adam.duskett@amarulasolutions.com> This is a basic policy necessary for OpenSSH to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/openssh/selinux/buildroot-openssh.fc | 0 package/openssh/selinux/buildroot-openssh.if | 1 + package/openssh/selinux/buildroot-openssh.te | 23 ++++++++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/openssh/selinux/buildroot-openssh.fc create mode 100644 package/openssh/selinux/buildroot-openssh.if create mode 100644 package/openssh/selinux/buildroot-openssh.te diff --git a/DEVELOPERS b/DEVELOPERS index e49960f572..a90f453261 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -38,6 +38,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/openssh/selinux/ F: package/refpolicy/selinux/ F: package/systemd/selinux/ F: package/sysvinit/selinux/ diff --git a/package/openssh/selinux/buildroot-openssh.fc b/package/openssh/selinux/buildroot-openssh.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/openssh/selinux/buildroot-openssh.if b/package/openssh/selinux/buildroot-openssh.if new file mode 100644 index 0000000000..1969c20a4b --- /dev/null +++ b/package/openssh/selinux/buildroot-openssh.if @@ -0,0 +1 @@ +## Buildroot openssh rules diff --git a/package/openssh/selinux/buildroot-openssh.te b/package/openssh/selinux/buildroot-openssh.te new file mode 100644 index 0000000000..5dc8945c3e --- /dev/null +++ b/package/openssh/selinux/buildroot-openssh.te @@ -0,0 +1,23 @@ +policy_module(buildroot-openssh, 1.0.0) + +#============= sshd_t ============== +allow sshd_t device_t:chr_file { getattr open read write }; +allow sshd_t kernel_t:fd use; +allow sshd_t root_t:chr_file { read write }; +allow sshd_t sysadm_t:process { noatsecure rlimitinh siginh }; +allow sshd_t sysadm_t:process transition; +allow sshd_t var_t:lnk_file read; + +#============= ssh_keygen_t ============== +allow ssh_keygen_t cert_t:dir search; +allow ssh_keygen_t cert_t:file { getattr open read }; +allow ssh_keygen_t device_t:chr_file { open read write }; +allow ssh_keygen_t kernel_t:fd use; +allow ssh_keygen_t root_t:chr_file { getattr ioctl read write }; +allow ssh_keygen_t security_t:filesystem getattr; +allow ssh_keygen_t selinux_config_t:dir search; +allow ssh_keygen_t tmpfs_t:dir search; + +#============= restorecond_t ============== +allow restorecond_t ssh_home_t:dir watch; + -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:03 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:03 +0200 Subject: [Buildroot] [PATCH 06/12] package/audit/selinux: Add buildroot audit policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-7-adam.duskett@amarulasolutions.com> This is a basic policy necessary for audit to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/audit/selinux/buildroot-audit.fc | 0 package/audit/selinux/buildroot-audit.if | 1 + package/audit/selinux/buildroot-audit.te | 13 +++++++++++++ 4 files changed, 15 insertions(+) create mode 100644 package/audit/selinux/buildroot-audit.fc create mode 100644 package/audit/selinux/buildroot-audit.if create mode 100644 package/audit/selinux/buildroot-audit.te diff --git a/DEVELOPERS b/DEVELOPERS index a90f453261..5f4b7320ba 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -32,6 +32,7 @@ F: package/vulkan-loader/ F: package/vulkan-tools/ N: Adam Duskett +F: package/audit/selinux/ F: package/busybox/selinux/ F: package/depot-tools/ F: package/flutter-engine/ diff --git a/package/audit/selinux/buildroot-audit.fc b/package/audit/selinux/buildroot-audit.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/audit/selinux/buildroot-audit.if b/package/audit/selinux/buildroot-audit.if new file mode 100644 index 0000000000..2a739a1113 --- /dev/null +++ b/package/audit/selinux/buildroot-audit.if @@ -0,0 +1 @@ +## Buildroot audit rules diff --git a/package/audit/selinux/buildroot-audit.te b/package/audit/selinux/buildroot-audit.te new file mode 100644 index 0000000000..3cac330d30 --- /dev/null +++ b/package/audit/selinux/buildroot-audit.te @@ -0,0 +1,13 @@ +policy_module(buildroot-audit, 1.0.0) + +#============= auditd_t ============== +allow auditd_t auditd_etc_t:file map; +allow auditd_t device_t:chr_file { open read write }; +allow auditd_t kernel_t:fd use; +allow auditd_t root_t:chr_file { read write }; +allow auditd_t selinux_config_t:dir search; +allow auditd_t tmpfs_t:dir { remove_name add_name search write }; +allow auditd_t tmpfs_t:file { create open write unlink }; +allow auditd_t tmp_t:dir { add_name getattr open read search setattr write }; +allow auditd_t tmp_t:file { append create setattr getattr read open }; +allow auditd_t var_t:lnk_file read; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:04 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:04 +0200 Subject: [Buildroot] [PATCH 07/12] package/polkit/selinux: Add buildroot polkit policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-8-adam.duskett@amarulasolutions.com> This is a basic policy necessary for polkit to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/polkit/selinux/buildroot-polkit.fc | 0 package/polkit/selinux/buildroot-polkit.if | 1 + package/polkit/selinux/buildroot-polkit.te | 5 +++++ 4 files changed, 7 insertions(+) create mode 100644 package/polkit/selinux/buildroot-polkit.fc create mode 100644 package/polkit/selinux/buildroot-polkit.if create mode 100644 package/polkit/selinux/buildroot-polkit.te diff --git a/DEVELOPERS b/DEVELOPERS index 5f4b7320ba..f7506da57a 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -40,6 +40,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: package/openssh/selinux/ +F: package/polkit/selinux/ F: package/refpolicy/selinux/ F: package/systemd/selinux/ F: package/sysvinit/selinux/ diff --git a/package/polkit/selinux/buildroot-polkit.fc b/package/polkit/selinux/buildroot-polkit.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/polkit/selinux/buildroot-polkit.if b/package/polkit/selinux/buildroot-polkit.if new file mode 100644 index 0000000000..8db3562fa5 --- /dev/null +++ b/package/polkit/selinux/buildroot-polkit.if @@ -0,0 +1 @@ +## Buildroot polkit rules diff --git a/package/polkit/selinux/buildroot-polkit.te b/package/polkit/selinux/buildroot-polkit.te new file mode 100644 index 0000000000..3cc244868c --- /dev/null +++ b/package/polkit/selinux/buildroot-polkit.te @@ -0,0 +1,5 @@ +policy_module(buildroot-polkit, 1.0.0) + +#============= policykit_t ============== +allow policykit_t security_t:filesystem getattr; +allow policykit_t selinux_config_t:dir search; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:05 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:05 +0200 Subject: [Buildroot] [PATCH 08/12] package/restorecond/selinux: Add buildroot restorecond policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-9-adam.duskett@amarulasolutions.com> This is a basic policy necessary for restorecond to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + .../restorecond/selinux/buildroot-restorecond.fc | 0 .../restorecond/selinux/buildroot-restorecond.if | 1 + .../restorecond/selinux/buildroot-restorecond.te | 13 +++++++++++++ 4 files changed, 15 insertions(+) create mode 100644 package/restorecond/selinux/buildroot-restorecond.fc create mode 100644 package/restorecond/selinux/buildroot-restorecond.if create mode 100644 package/restorecond/selinux/buildroot-restorecond.te diff --git a/DEVELOPERS b/DEVELOPERS index f7506da57a..5082448b56 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -42,6 +42,7 @@ F: package/flutter-sdk-bin/ F: package/openssh/selinux/ F: package/polkit/selinux/ F: package/refpolicy/selinux/ +F: package/restorecond/selinux/ F: package/systemd/selinux/ F: package/sysvinit/selinux/ F: support/testing/tests/package/test_flutter.py diff --git a/package/restorecond/selinux/buildroot-restorecond.fc b/package/restorecond/selinux/buildroot-restorecond.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/restorecond/selinux/buildroot-restorecond.if b/package/restorecond/selinux/buildroot-restorecond.if new file mode 100644 index 0000000000..cec6d9d9a4 --- /dev/null +++ b/package/restorecond/selinux/buildroot-restorecond.if @@ -0,0 +1 @@ +## Buildroot restorecond rules diff --git a/package/restorecond/selinux/buildroot-restorecond.te b/package/restorecond/selinux/buildroot-restorecond.te new file mode 100644 index 0000000000..382e4c8f54 --- /dev/null +++ b/package/restorecond/selinux/buildroot-restorecond.te @@ -0,0 +1,13 @@ +policy_module(buildroot-restorecond, 1.0.0) + +#============= restorecond_t ============== +allow restorecond_t device_t:chr_file { open read write }; +allow restorecond_t etc_t:dir watch; +allow restorecond_t file_context_t:file { open read }; +allow restorecond_t selinux_config_t:file watch; +allow restorecond_t tmpfs_t:dir { remove_name write watch }; +allow restorecond_t tmpfs_t:file { append getattr open lock read write unlink }; +allow restorecond_t user_home_dir_t:dir watch; +allow restorecond_t var_log_t:dir watch; +allow restorecond_t var_run_t:dir watch; +allow restorecond_t var_t:dir watch; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:06 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:06 +0200 Subject: [Buildroot] [PATCH 09/12] package/acpid/selinux: Add buildroot acpid policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-10-adam.duskett@amarulasolutions.com> This is a basic policy necessary for acpid to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/acpid/selinux/buildroot-acpid.fc | 0 package/acpid/selinux/buildroot-acpid.if | 1 + package/acpid/selinux/buildroot-acpid.te | 10 ++++++++++ 4 files changed, 12 insertions(+) create mode 100644 package/acpid/selinux/buildroot-acpid.fc create mode 100644 package/acpid/selinux/buildroot-acpid.if create mode 100644 package/acpid/selinux/buildroot-acpid.te diff --git a/DEVELOPERS b/DEVELOPERS index 5082448b56..695738c4a9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -32,6 +32,7 @@ F: package/vulkan-loader/ F: package/vulkan-tools/ N: Adam Duskett +F: package/acpid/selinux/ F: package/audit/selinux/ F: package/busybox/selinux/ F: package/depot-tools/ diff --git a/package/acpid/selinux/buildroot-acpid.fc b/package/acpid/selinux/buildroot-acpid.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/acpid/selinux/buildroot-acpid.if b/package/acpid/selinux/buildroot-acpid.if new file mode 100644 index 0000000000..b2b568a823 --- /dev/null +++ b/package/acpid/selinux/buildroot-acpid.if @@ -0,0 +1 @@ +## Buildroot acpid rules diff --git a/package/acpid/selinux/buildroot-acpid.te b/package/acpid/selinux/buildroot-acpid.te new file mode 100644 index 0000000000..dd10e65c42 --- /dev/null +++ b/package/acpid/selinux/buildroot-acpid.te @@ -0,0 +1,10 @@ +policy_module(buildroot-acpid, 1.0.0) + +#============= acpid_t ============== +allow acpid_t device_t:chr_file { read open write ioctl }; +allow acpid_t kernel_t:fd use; +allow acpid_t root_t:chr_file { read write open ioctl }; +allow acpid_t tmpfs_t:dir { add_name write remove_name }; +allow acpid_t tmpfs_t:file { create open write unlink }; +allow acpid_t tmpfs_t:sock_file create; + -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:07 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:07 +0200 Subject: [Buildroot] [PATCH 10/12] package/network-manager/selinux: Add buildroot network-manager policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-11-adam.duskett@amarulasolutions.com> This is a basic policy necessary for network-manager to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/network-manager/selinux/buildroot-network-manager.fc | 0 package/network-manager/selinux/buildroot-network-manager.if | 1 + package/network-manager/selinux/buildroot-network-manager.te | 4 ++++ 4 files changed, 6 insertions(+) create mode 100644 package/network-manager/selinux/buildroot-network-manager.fc create mode 100644 package/network-manager/selinux/buildroot-network-manager.if create mode 100644 package/network-manager/selinux/buildroot-network-manager.te diff --git a/DEVELOPERS b/DEVELOPERS index 695738c4a9..05b4be1830 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -40,6 +40,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/network-manager/selinux/ F: package/openssh/selinux/ F: package/polkit/selinux/ F: package/refpolicy/selinux/ diff --git a/package/network-manager/selinux/buildroot-network-manager.fc b/package/network-manager/selinux/buildroot-network-manager.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/network-manager/selinux/buildroot-network-manager.if b/package/network-manager/selinux/buildroot-network-manager.if new file mode 100644 index 0000000000..2f33fa0b81 --- /dev/null +++ b/package/network-manager/selinux/buildroot-network-manager.if @@ -0,0 +1 @@ +## Buildroot network-manager rules diff --git a/package/network-manager/selinux/buildroot-network-manager.te b/package/network-manager/selinux/buildroot-network-manager.te new file mode 100644 index 0000000000..ce5180494c --- /dev/null +++ b/package/network-manager/selinux/buildroot-network-manager.te @@ -0,0 +1,4 @@ +policy_module(buildroot-network-manager, 1.0.0) + +#============= NetworkManager_t ============== +allow NetworkManager_t tmpfs_t:sock_file write; -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:08 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:08 +0200 Subject: [Buildroot] [PATCH 11/12] package/iptables/selinux: Add buildroot iptables policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-12-adam.duskett@amarulasolutions.com> This is a basic policy necessary for iptables to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/iptables/selinux/buildroot-iptables.fc | 0 package/iptables/selinux/buildroot-iptables.if | 1 + package/iptables/selinux/buildroot-iptables.te | 5 +++++ 4 files changed, 7 insertions(+) create mode 100644 package/iptables/selinux/buildroot-iptables.fc create mode 100644 package/iptables/selinux/buildroot-iptables.if create mode 100644 package/iptables/selinux/buildroot-iptables.te diff --git a/DEVELOPERS b/DEVELOPERS index 05b4be1830..cfa0095969 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -40,6 +40,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/iptables/selinux/ F: package/network-manager/selinux/ F: package/openssh/selinux/ F: package/polkit/selinux/ diff --git a/package/iptables/selinux/buildroot-iptables.fc b/package/iptables/selinux/buildroot-iptables.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/iptables/selinux/buildroot-iptables.if b/package/iptables/selinux/buildroot-iptables.if new file mode 100644 index 0000000000..cb7e08744e --- /dev/null +++ b/package/iptables/selinux/buildroot-iptables.if @@ -0,0 +1 @@ +## Buildroot iptables rules diff --git a/package/iptables/selinux/buildroot-iptables.te b/package/iptables/selinux/buildroot-iptables.te new file mode 100644 index 0000000000..37107749ea --- /dev/null +++ b/package/iptables/selinux/buildroot-iptables.te @@ -0,0 +1,5 @@ +policy_module(buildroot-iptables, 1.0.0) + +#============= iptables_t ============== +allow iptables_t root_t:chr_file { read write }; + -- 2.41.0 From adam.duskett at amarulasolutions.com Thu Oct 12 10:32:09 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Thu, 12 Oct 2023 12:32:09 +0200 Subject: [Buildroot] [PATCH 12/12] package/kmod/selinux: Add buildroot kmod policy In-Reply-To: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> References: <20231012103210.2915871-1-adam.duskett@amarulasolutions.com> Message-ID: <20231012103210.2915871-13-adam.duskett@amarulasolutions.com> This is a basic policy necessary for kmod to work properly in enforcing mode without any denials. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/kmod/selinux/buildroot-kmod.fc | 0 package/kmod/selinux/buildroot-kmod.if | 1 + package/kmod/selinux/buildroot-kmod.te | 4 ++++ 4 files changed, 6 insertions(+) create mode 100644 package/kmod/selinux/buildroot-kmod.fc create mode 100644 package/kmod/selinux/buildroot-kmod.if create mode 100644 package/kmod/selinux/buildroot-kmod.te diff --git a/DEVELOPERS b/DEVELOPERS index cfa0095969..879aa96361 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -41,6 +41,7 @@ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ F: package/iptables/selinux/ +F: package/kmod/selinux/ F: package/network-manager/selinux/ F: package/openssh/selinux/ F: package/polkit/selinux/ diff --git a/package/kmod/selinux/buildroot-kmod.fc b/package/kmod/selinux/buildroot-kmod.fc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package/kmod/selinux/buildroot-kmod.if b/package/kmod/selinux/buildroot-kmod.if new file mode 100644 index 0000000000..fd978bf190 --- /dev/null +++ b/package/kmod/selinux/buildroot-kmod.if @@ -0,0 +1 @@ +## Buildroot kmod rules diff --git a/package/kmod/selinux/buildroot-kmod.te b/package/kmod/selinux/buildroot-kmod.te new file mode 100644 index 0000000000..c06b81345d --- /dev/null +++ b/package/kmod/selinux/buildroot-kmod.te @@ -0,0 +1,4 @@ +policy_module(buildroot-kmod, 1.0.0) + +#============= kmod_t ============== +allow kmod_t proc_t:filesystem getattr; -- 2.41.0 From romain.naour at smile.fr Thu Oct 12 11:52:42 2023 From: romain.naour at smile.fr (Romain Naour) Date: Thu, 12 Oct 2023 13:52:42 +0200 Subject: [Buildroot] [PATCH] package/python3: really disable zlib In-Reply-To: References: <20231011163408.32325-1-romain.naour__9329.73186006478$1697042081$gmane$org@gmail.com> Message-ID: <6e992358-2589-4b56-b9ac-fc8b6f53d8c1@smile.fr> Hello Bernd, Le 11/10/2023 ? 19:23, Bernd Kuhls a ?crit?: > Am Wed, 11 Oct 2023 18:34:08 +0200 schrieb Romain Naour: > >> +Upstream: Not applicable +(patching a BR patch >> 0025-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch) > > Hi Romain, > > did you test whether this patch also fixes the problem? > https://patchwork.ozlabs.org/project/buildroot/patch/ > 20230809211401.3587177-4-bernd at kuhls.net/ No but it's seems there is the same issue with python 3.12 [1]. Let's try to fix gitlab-ci issues related to python before switching to python 3.12 :) [1] https://github.com/python/cpython/blob/3.12/configure.ac#L5045 Best regards, Romain > > Regards, Bernd > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From sebastian.weyer at smile.fr Thu Oct 12 13:26:15 2023 From: sebastian.weyer at smile.fr (Sebastian Weyer) Date: Thu, 12 Oct 2023 15:26:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/qt5: bump packages to latest kde submodule versions Message-ID: <20231012132616.2180337-1-sebastian.weyer@smile.fr> Bump qt5 packages to latest submodule versions from: https://invent.kde.org/qt/qt/qt5/-/tree/kde/5.15 Signed-off-by: Sebastian Weyer --- The package qt53d was not updated with the rest as it fails with qgltf.cpp:29:10: fatal error: assimp/Importer.hpp: No such file or directory 29 | #include although assimp is installed and the header file is present in host/aarch64-buildroot-linux-gnu/sysroot/usr/include/assimp/Importer.hpp This package was also not updated in the last version bump to 5.15.10 in 6b23dff9e71786191797d3b41ce80afe659f0396. Starting from 5.15.9 it fails with this error. I couldn't find out why this package wasn't updated to 5.15.10 to begin with but it seems like it could be this error? So I thought it might be okay to leave it at 5.15.8 for now. What do you think? Signed-off-by: Sebastian Weyer --- package/qt5/qt5.mk | 2 +- package/qt5/qt5base/qt5base.hash | 2 +- package/qt5/qt5base/qt5base.mk | 2 +- package/qt5/qt5charts/qt5charts.hash | 2 +- package/qt5/qt5charts/qt5charts.mk | 2 +- package/qt5/qt5connectivity/qt5connectivity.hash | 2 +- package/qt5/qt5connectivity/qt5connectivity.mk | 2 +- package/qt5/qt5declarative/qt5declarative.hash | 2 +- package/qt5/qt5declarative/qt5declarative.mk | 2 +- package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash | 2 +- package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk | 2 +- package/qt5/qt5imageformats/qt5imageformats.hash | 2 +- package/qt5/qt5imageformats/qt5imageformats.mk | 2 +- package/qt5/qt5location/qt5location.hash | 2 +- package/qt5/qt5location/qt5location.mk | 2 +- package/qt5/qt5lottie/qt5lottie.hash | 2 +- package/qt5/qt5lottie/qt5lottie.mk | 2 +- package/qt5/qt5multimedia/qt5multimedia.hash | 2 +- package/qt5/qt5multimedia/qt5multimedia.mk | 2 +- package/qt5/qt5quickcontrols/qt5quickcontrols.hash | 2 +- package/qt5/qt5quickcontrols/qt5quickcontrols.mk | 2 +- package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash | 2 +- package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk | 2 +- package/qt5/qt5quicktimeline/qt5quicktimeline.hash | 2 +- package/qt5/qt5quicktimeline/qt5quicktimeline.mk | 2 +- package/qt5/qt5remoteobjects/qt5remoteobjects.hash | 2 +- package/qt5/qt5remoteobjects/qt5remoteobjects.mk | 2 +- package/qt5/qt5scxml/qt5scxml.hash | 2 +- package/qt5/qt5scxml/qt5scxml.mk | 2 +- package/qt5/qt5sensors/qt5sensors.hash | 2 +- package/qt5/qt5sensors/qt5sensors.mk | 2 +- package/qt5/qt5serialbus/qt5serialbus.hash | 2 +- package/qt5/qt5serialbus/qt5serialbus.mk | 2 +- package/qt5/qt5serialport/qt5serialport.hash | 2 +- package/qt5/qt5serialport/qt5serialport.mk | 2 +- package/qt5/qt5speech/qt5speech.hash | 2 +- package/qt5/qt5speech/qt5speech.mk | 2 +- package/qt5/qt5svg/qt5svg.hash | 2 +- package/qt5/qt5svg/qt5svg.mk | 2 +- package/qt5/qt5tools/qt5tools.hash | 2 +- package/qt5/qt5tools/qt5tools.mk | 2 +- package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash | 2 +- package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk | 2 +- package/qt5/qt5wayland/qt5wayland.hash | 2 +- package/qt5/qt5wayland/qt5wayland.mk | 2 +- package/qt5/qt5webchannel/qt5webchannel.hash | 2 +- package/qt5/qt5webchannel/qt5webchannel.mk | 2 +- package/qt5/qt5webengine/qt5webengine.hash | 2 +- package/qt5/qt5websockets/qt5websockets.hash | 2 +- package/qt5/qt5websockets/qt5websockets.mk | 2 +- package/qt5/qt5webview/qt5webview.hash | 2 +- package/qt5/qt5webview/qt5webview.mk | 2 +- package/qt5/qt5x11extras/qt5x11extras.hash | 2 +- package/qt5/qt5x11extras/qt5x11extras.mk | 2 +- package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash | 2 +- package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk | 2 +- 56 files changed, 56 insertions(+), 56 deletions(-) diff --git a/package/qt5/qt5.mk b/package/qt5/qt5.mk index b55accacf1..a43b36dd51 100644 --- a/package/qt5/qt5.mk +++ b/package/qt5/qt5.mk @@ -5,7 +5,7 @@ ################################################################################ QT5_VERSION_MAJOR = 5.15 -QT5_VERSION = $(QT5_VERSION_MAJOR).10 +QT5_VERSION = $(QT5_VERSION_MAJOR).11 QT5_SITE = https://invent.kde.org/qt/qt include $(sort $(wildcard package/qt5/*/*.mk)) diff --git a/package/qt5/qt5base/qt5base.hash b/package/qt5/qt5base/qt5base.hash index 4efc8fa172..ffc474f49e 100644 --- a/package/qt5/qt5base/qt5base.hash +++ b/package/qt5/qt5base/qt5base.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 5622a9053154af9a353b8e8be217104c6af068b5b5aba8b07ef4fea2dc79fded qtbase-e44097b63d17ba3178a637df7fac51ddc51cb48b.tar.bz2 +sha256 935d01f5c34903ad9e979431cec7a8a59332ed3fc539e639f5ba87e8d6989b9d qtbase-da6e958319e95fe564d3b30c931492dd666bfaff.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index cc29f5523f..7ee6124d4b 100644 --- a/package/qt5/qt5base/qt5base.mk +++ b/package/qt5/qt5base/qt5base.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5BASE_VERSION = e44097b63d17ba3178a637df7fac51ddc51cb48b +QT5BASE_VERSION = da6e958319e95fe564d3b30c931492dd666bfaff QT5BASE_SITE = $(QT5_SITE)/qtbase/-/archive/$(QT5BASE_VERSION) QT5BASE_SOURCE = qtbase-$(QT5BASE_VERSION).tar.bz2 diff --git a/package/qt5/qt5charts/qt5charts.hash b/package/qt5/qt5charts/qt5charts.hash index 0688f64615..fec54c86b1 100644 --- a/package/qt5/qt5charts/qt5charts.hash +++ b/package/qt5/qt5charts/qt5charts.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 9d2ad94a054bd7df08e5d11bc77b6422ccecbf99ea8dd6f06908bafc72ea869d qtcharts-841083c263f16f8acb81e4915bf24bbed0461c9a.tar.bz2 +sha256 66dae46a8bcb1dfc10dd3404296701c41e50658792e4a6a7317a182fad6f36c8 qtcharts-e17308d5ce83a8b66aeeaaaf16ce16d4ee6b2826.tar.bz2 # Hashes for license files: sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/package/qt5/qt5charts/qt5charts.mk b/package/qt5/qt5charts/qt5charts.mk index fa69263be4..bfc6021289 100644 --- a/package/qt5/qt5charts/qt5charts.mk +++ b/package/qt5/qt5charts/qt5charts.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5CHARTS_VERSION = 841083c263f16f8acb81e4915bf24bbed0461c9a +QT5CHARTS_VERSION = e17308d5ce83a8b66aeeaaaf16ce16d4ee6b2826 QT5CHARTS_SITE = $(QT5_SITE)/qtcharts/-/archive/$(QT5CHARTS_VERSION) QT5CHARTS_SOURCE = qtcharts-$(QT5CHARTS_VERSION).tar.bz2 QT5CHARTS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5connectivity/qt5connectivity.hash b/package/qt5/qt5connectivity/qt5connectivity.hash index 1252a73247..776448502b 100644 --- a/package/qt5/qt5connectivity/qt5connectivity.hash +++ b/package/qt5/qt5connectivity/qt5connectivity.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 ec1d91fc35d8b4a333209fb5fd85e00ab77345bff48b60b4e43b804a59f60979 qtconnectivity-c5f35f89e975c2ad58c83c6b606d40ba41057f15.tar.bz2 +sha256 7a44848e113e1d7232c077f9fa8021ab038f59765123920e11936e7d4b8e3c66 qtconnectivity-f0c98c39447894bba493aa91c65053d7f18d68cb.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5connectivity/qt5connectivity.mk b/package/qt5/qt5connectivity/qt5connectivity.mk index 72797de1a0..dc5e647e0b 100644 --- a/package/qt5/qt5connectivity/qt5connectivity.mk +++ b/package/qt5/qt5connectivity/qt5connectivity.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5CONNECTIVITY_VERSION = c5f35f89e975c2ad58c83c6b606d40ba41057f15 +QT5CONNECTIVITY_VERSION = f0c98c39447894bba493aa91c65053d7f18d68cb QT5CONNECTIVITY_SITE = $(QT5_SITE)/qtconnectivity/-/archive/$(QT5CONNECTIVITY_VERSION) QT5CONNECTIVITY_SOURCE = qtconnectivity-$(QT5CONNECTIVITY_VERSION).tar.bz2 QT5CONNECTIVITY_INSTALL_STAGING = YES diff --git a/package/qt5/qt5declarative/qt5declarative.hash b/package/qt5/qt5declarative/qt5declarative.hash index 0e7978dc58..3db5c94458 100644 --- a/package/qt5/qt5declarative/qt5declarative.hash +++ b/package/qt5/qt5declarative/qt5declarative.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 dbe0cdf84767564a56abf9d0d867c9cfcc754827169357a0f8162309c11882b5 qtdeclarative-b3aaf1482c48bbc0ca4f7c7934597c055afe4b6a.tar.bz2 +sha256 bebd1205aa087f529b8824f0284e127e08672ff7ce36a6b865cd921514ec1192 qtdeclarative-960a980dc885622cb84990c4da75d5060318302d.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5declarative/qt5declarative.mk b/package/qt5/qt5declarative/qt5declarative.mk index 18c1608fca..99c88e7d06 100644 --- a/package/qt5/qt5declarative/qt5declarative.mk +++ b/package/qt5/qt5declarative/qt5declarative.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5DECLARATIVE_VERSION = b3aaf1482c48bbc0ca4f7c7934597c055afe4b6a +QT5DECLARATIVE_VERSION = 960a980dc885622cb84990c4da75d5060318302d QT5DECLARATIVE_SITE = $(QT5_SITE)/qtdeclarative/-/archive/$(QT5DECLARATIVE_VERSION) QT5DECLARATIVE_SOURCE = qtdeclarative-$(QT5DECLARATIVE_VERSION).tar.bz2 QT5DECLARATIVE_INSTALL_STAGING = YES diff --git a/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash b/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash index 95567b2476..e5fdaf67bf 100644 --- a/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash +++ b/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 de41af344889d35252fec9a6b6c78e1f67b7a7be15a5d3986b2ec20e2fcafadc qtgraphicaleffects-e6e1e58ec28fd0f2e6426e6962cc4ccddb493349.tar.bz2 +sha256 18afbc24b40420ce0fe6bfad8331f43a1d8c8ec22501b7987ecec9334b69e9a2 qtgraphicaleffects-cce7d784237cd2dd4af1abe2757d048e34e02685.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk b/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk index f829c67122..ddf805303b 100644 --- a/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk +++ b/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5GRAPHICALEFFECTS_VERSION = e6e1e58ec28fd0f2e6426e6962cc4ccddb493349 +QT5GRAPHICALEFFECTS_VERSION = cce7d784237cd2dd4af1abe2757d048e34e02685 QT5GRAPHICALEFFECTS_SITE = $(QT5_SITE)/qtgraphicaleffects/-/archive/$(QT5GRAPHICALEFFECTS_VERSION) QT5GRAPHICALEFFECTS_SOURCE = qtgraphicaleffects-$(QT5GRAPHICALEFFECTS_VERSION).tar.bz2 QT5GRAPHICALEFFECTS_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5imageformats/qt5imageformats.hash b/package/qt5/qt5imageformats/qt5imageformats.hash index 9d821672b3..779db8d109 100644 --- a/package/qt5/qt5imageformats/qt5imageformats.hash +++ b/package/qt5/qt5imageformats/qt5imageformats.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 8bf646d4db7d0099dd49b7c049a64fb585a3e180d73fc2b6edf22a1384529d1d qtimageformats-9044695f4b1acdd7ec24e7b01f6a6ca61f982a75.tar.bz2 +sha256 bac150b9c5eaf0132a39a0b2a75cfca5400c11f4b8bf60f7362a6e0307f5c19e qtimageformats-6a1af670d52492ab0955933b830026b2a18ed6d6.tar.bz2 # Hashes for license files: sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 diff --git a/package/qt5/qt5imageformats/qt5imageformats.mk b/package/qt5/qt5imageformats/qt5imageformats.mk index 0ce6e4ffb4..27ef05777d 100644 --- a/package/qt5/qt5imageformats/qt5imageformats.mk +++ b/package/qt5/qt5imageformats/qt5imageformats.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5IMAGEFORMATS_VERSION = 9044695f4b1acdd7ec24e7b01f6a6ca61f982a75 +QT5IMAGEFORMATS_VERSION = 6a1af670d52492ab0955933b830026b2a18ed6d6 QT5IMAGEFORMATS_SITE = $(QT5_SITE)/qtimageformats/-/archive/$(QT5IMAGEFORMATS_VERSION) QT5IMAGEFORMATS_SOURCE = qtimageformats-$(QT5IMAGEFORMATS_VERSION).tar.bz2 QT5IMAGEFORMATS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5location/qt5location.hash b/package/qt5/qt5location/qt5location.hash index f73053f388..0188f51c83 100644 --- a/package/qt5/qt5location/qt5location.hash +++ b/package/qt5/qt5location/qt5location.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 90b57a335d8c7311a86865a56b2b9cd944a8a1cafa6a7499de5b35a105c5b247 qt5location-ebdf5b38da6e3fe0a183702bcca395c589c459ed-br1.tar.gz +sha256 133d28fc0071e419682b7ed736c17b39240545c8e9d6ff7e9905f365bb1eb693 qt5location-0ec8f5e82da7369a92824167c4d7331f6c502325-br1.tar.gz # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5location/qt5location.mk b/package/qt5/qt5location/qt5location.mk index 904d31a983..88bf3d289c 100644 --- a/package/qt5/qt5location/qt5location.mk +++ b/package/qt5/qt5location/qt5location.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5LOCATION_VERSION = ebdf5b38da6e3fe0a183702bcca395c589c459ed +QT5LOCATION_VERSION = 0ec8f5e82da7369a92824167c4d7331f6c502325 QT5LOCATION_SITE = $(QT5_SITE)/qtlocation QT5LOCATION_SITE_METHOD = git QT5LOCATION_GIT_SUBMODULES = YES diff --git a/package/qt5/qt5lottie/qt5lottie.hash b/package/qt5/qt5lottie/qt5lottie.hash index cbd94fd111..642625753c 100644 --- a/package/qt5/qt5lottie/qt5lottie.hash +++ b/package/qt5/qt5lottie/qt5lottie.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 82336dd063f8bedc28e9545cc8c0123053434d6c681e470434c80ad3908ca4b0 qtlottie-d40b67401afe7156b03c62c9a4d517b07555fe64.tar.bz2 +sha256 4d8a063687c25675b012821e252a1afd455bdb4ea43e6d79787f9991c68cb5c5 qtlottie-909b79f4810b8ac62baa3544837793cfb132593b.tar.bz2 # Hashes for license files: sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/package/qt5/qt5lottie/qt5lottie.mk b/package/qt5/qt5lottie/qt5lottie.mk index 42a920582a..d4ad3afc63 100644 --- a/package/qt5/qt5lottie/qt5lottie.mk +++ b/package/qt5/qt5lottie/qt5lottie.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5LOTTIE_VERSION = d40b67401afe7156b03c62c9a4d517b07555fe64 +QT5LOTTIE_VERSION = 909b79f4810b8ac62baa3544837793cfb132593b QT5LOTTIE_SITE = $(QT5_SITE)/qtlottie/-/archive/$(QT5LOTTIE_VERSION) QT5LOTTIE_SOURCE = qtlottie-$(QT5LOTTIE_VERSION).tar.bz2 QT5LOTTIE_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5multimedia/qt5multimedia.hash b/package/qt5/qt5multimedia/qt5multimedia.hash index 4803ef9230..7925c4fe05 100644 --- a/package/qt5/qt5multimedia/qt5multimedia.hash +++ b/package/qt5/qt5multimedia/qt5multimedia.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 842c5be64dafe7a68d2b120e24faffd14af6e4d9d8e9c0aa8bbf4330b3491aa3 qtmultimedia-76f84c545429a1b988b79f971734ef4bc3e6643f.tar.bz2 +sha256 3f78ede5dcc231d0e92e9907d11fa1d7a7cf506eb73d3f035e8461b57dc692b4 qtmultimedia-b4d58d8921d6d1c937b5e708e257e2a07a0c5dc4.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5multimedia/qt5multimedia.mk b/package/qt5/qt5multimedia/qt5multimedia.mk index 0d0f5dd53d..7a56d238f2 100644 --- a/package/qt5/qt5multimedia/qt5multimedia.mk +++ b/package/qt5/qt5multimedia/qt5multimedia.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5MULTIMEDIA_VERSION = 76f84c545429a1b988b79f971734ef4bc3e6643f +QT5MULTIMEDIA_VERSION = b4d58d8921d6d1c937b5e708e257e2a07a0c5dc4 QT5MULTIMEDIA_SITE = $(QT5_SITE)/qtmultimedia/-/archive/$(QT5MULTIMEDIA_VERSION) QT5MULTIMEDIA_SOURCE = qtmultimedia-$(QT5MULTIMEDIA_VERSION).tar.bz2 QT5MULTIMEDIA_INSTALL_STAGING = YES diff --git a/package/qt5/qt5quickcontrols/qt5quickcontrols.hash b/package/qt5/qt5quickcontrols/qt5quickcontrols.hash index 05a021e8b2..219dc8d588 100644 --- a/package/qt5/qt5quickcontrols/qt5quickcontrols.hash +++ b/package/qt5/qt5quickcontrols/qt5quickcontrols.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 e2c7bc6346a8eb4c21510f8fbf7e752648f68a0c5af8525a784e64503570f72c qtquickcontrols-e62b8b6d2f45a79652238b33f4bbe23023004ae7.tar.bz2 +sha256 8c02691d3eb45b9f144bef64c9705e26e8a4c725a0731b18450d39a589965c49 qtquickcontrols-dcc90558d9c0cba41eec7df290943994289b0e87.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5quickcontrols/qt5quickcontrols.mk b/package/qt5/qt5quickcontrols/qt5quickcontrols.mk index 25c1a74f5c..86792ddd8e 100644 --- a/package/qt5/qt5quickcontrols/qt5quickcontrols.mk +++ b/package/qt5/qt5quickcontrols/qt5quickcontrols.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5QUICKCONTROLS_VERSION = e62b8b6d2f45a79652238b33f4bbe23023004ae7 +QT5QUICKCONTROLS_VERSION = dcc90558d9c0cba41eec7df290943994289b0e87 QT5QUICKCONTROLS_SITE = $(QT5_SITE)/qtquickcontrols/-/archive/$(QT5QUICKCONTROLS_VERSION) QT5QUICKCONTROLS_SOURCE = qtquickcontrols-$(QT5QUICKCONTROLS_VERSION).tar.bz2 QT5QUICKCONTROLS_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash index 88777a5cc3..91fb31a7b7 100644 --- a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash +++ b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 53caea73e6bdf234cb445067be3bc4e07ed59af7da967638ac598188b719958e qtquickcontrols2-74e8db97fdb9b55c4b4614b83f4bf17e00df55e9.tar.bz2 +sha256 481220682ce3127711465d6ade22c9ce0e4a4130dd9735344f7464f9147d8f0d qtquickcontrols2-1ce461bd1dc713cd2f79fc16c5454d587b45eefa.tar.bz2 # Hashes for license files: sha256 d2cfc059acb4abd8e513cd0a73cd8489f34cbafa7bc34d5d31fb3210821cf8ca LICENSE.GPLv3 diff --git a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk index 1732921203..a2503eb9a3 100644 --- a/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk +++ b/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5QUICKCONTROLS2_VERSION = 74e8db97fdb9b55c4b4614b83f4bf17e00df55e9 +QT5QUICKCONTROLS2_VERSION = 1ce461bd1dc713cd2f79fc16c5454d587b45eefa QT5QUICKCONTROLS2_SITE = $(QT5_SITE)/qtquickcontrols2/-/archive/$(QT5QUICKCONTROLS2_VERSION) QT5QUICKCONTROLS2_SOURCE = qtquickcontrols2-$(QT5QUICKCONTROLS2_VERSION).tar.bz2 QT5QUICKCONTROLS2_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5quicktimeline/qt5quicktimeline.hash b/package/qt5/qt5quicktimeline/qt5quicktimeline.hash index a8acf3c5a2..1c9f436b1b 100644 --- a/package/qt5/qt5quicktimeline/qt5quicktimeline.hash +++ b/package/qt5/qt5quicktimeline/qt5quicktimeline.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 d22637609c4afcc7560d92c894eb55d4afa01706bb5c86499bf56f7c8723a605 qtquicktimeline-87ad61716a7cba5a070d8a7b1756c8b2b48d5d53.tar.bz2 +sha256 ee404943ef00dbac33928cf001b613ca517fdfdf2767b932a8def5f8c2b0797f qtquicktimeline-b1b4b882dabaa036c3fb73c4a879ba8efbb02ded.tar.bz2 # Hashes for license files: sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/package/qt5/qt5quicktimeline/qt5quicktimeline.mk b/package/qt5/qt5quicktimeline/qt5quicktimeline.mk index de94bd0375..3a8542ab1b 100644 --- a/package/qt5/qt5quicktimeline/qt5quicktimeline.mk +++ b/package/qt5/qt5quicktimeline/qt5quicktimeline.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5QUICKTIMELINE_VERSION = 87ad61716a7cba5a070d8a7b1756c8b2b48d5d53 +QT5QUICKTIMELINE_VERSION = b1b4b882dabaa036c3fb73c4a879ba8efbb02ded QT5QUICKTIMELINE_SITE = $(QT5_SITE)/qtquicktimeline/-/archive/$(QT5QUICKTIMELINE_VERSION) QT5QUICKTIMELINE_SOURCE = qtquicktimeline-$(QT5QUICKTIMELINE_VERSION).tar.bz2 QT5QUICKTIMELINE_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5remoteobjects/qt5remoteobjects.hash b/package/qt5/qt5remoteobjects/qt5remoteobjects.hash index 1b41ab675f..a931ce09cb 100644 --- a/package/qt5/qt5remoteobjects/qt5remoteobjects.hash +++ b/package/qt5/qt5remoteobjects/qt5remoteobjects.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 ef8e1f64911f7e03da6306693031fdf953af00d453ec154497178bb7ceab1aa2 qtremoteobjects-aa705010da0f658b78c1155babce7091ae44529a.tar.bz2 +sha256 677b8ccb5c07673296c4fa01bcbc6bd9b8e3a534d332624f61fe0360a5649703 qtremoteobjects-bdc316aca82769b43cb7821c10d80a1ca02b846e.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5remoteobjects/qt5remoteobjects.mk b/package/qt5/qt5remoteobjects/qt5remoteobjects.mk index 3160d37ad7..5fea3487a5 100644 --- a/package/qt5/qt5remoteobjects/qt5remoteobjects.mk +++ b/package/qt5/qt5remoteobjects/qt5remoteobjects.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5REMOTEOBJECTS_VERSION = aa705010da0f658b78c1155babce7091ae44529a +QT5REMOTEOBJECTS_VERSION = bdc316aca82769b43cb7821c10d80a1ca02b846e QT5REMOTEOBJECTS_SITE = $(QT5_SITE)/qtremoteobjects/-/archive/$(QT5REMOTEOBJECTS_VERSION) QT5REMOTEOBJECTS_SOURCE = qtremoteobjects-$(QT5REMOTEOBJECTS_VERSION).tar.bz2 QT5REMOTEOBJECTS_DEPENDENCIES = qt5base diff --git a/package/qt5/qt5scxml/qt5scxml.hash b/package/qt5/qt5scxml/qt5scxml.hash index f4d52b8a52..0f13743f45 100644 --- a/package/qt5/qt5scxml/qt5scxml.hash +++ b/package/qt5/qt5scxml/qt5scxml.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 a0113f54d9df14ebae15dd85530f87f093a284372ee8237d1ccceb02e6a4607b qtscxml-631fd7bcc34802b7650c2b1dc73691463954d982.tar.bz2 +sha256 d598238bfa3bbbe283a8bd2907a4e8e813e00c522f08297a856e6595bbd44099 qtscxml-e8727aabe55526956295407d27317ec15e12b283.tar.bz2 # Hashes for license files: sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT diff --git a/package/qt5/qt5scxml/qt5scxml.mk b/package/qt5/qt5scxml/qt5scxml.mk index f6ccb9298e..32ef425e97 100644 --- a/package/qt5/qt5scxml/qt5scxml.mk +++ b/package/qt5/qt5scxml/qt5scxml.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SCXML_VERSION = 631fd7bcc34802b7650c2b1dc73691463954d982 +QT5SCXML_VERSION = e8727aabe55526956295407d27317ec15e12b283 QT5SCXML_SITE = $(QT5_SITE)/qtscxml/-/archive/$(QT5SCXML_VERSION) QT5SCXML_SOURCE = qtscxml-$(QT5SCXML_VERSION).tar.bz2 QT5SCXML_DEPENDENCIES = qt5declarative diff --git a/package/qt5/qt5sensors/qt5sensors.hash b/package/qt5/qt5sensors/qt5sensors.hash index d43fa8ba65..37a23516df 100644 --- a/package/qt5/qt5sensors/qt5sensors.hash +++ b/package/qt5/qt5sensors/qt5sensors.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 8325826a259189fc7dea66651df4022a92a73664e953f86bce5bf5946ebacdf5 qtsensors-35eb5ac7eaef4745a38958c3ca780d7baa2e4f30.tar.bz2 +sha256 f44148d1a21f3959d79f973d8aa233ddfacf37af6e27902fca8c885b91933fcc qtsensors-a41492b23cde20d1e00427d31e4637d06aea3638.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5sensors/qt5sensors.mk b/package/qt5/qt5sensors/qt5sensors.mk index 40bb72e038..29e257fdda 100644 --- a/package/qt5/qt5sensors/qt5sensors.mk +++ b/package/qt5/qt5sensors/qt5sensors.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SENSORS_VERSION = 35eb5ac7eaef4745a38958c3ca780d7baa2e4f30 +QT5SENSORS_VERSION = a41492b23cde20d1e00427d31e4637d06aea3638 QT5SENSORS_SITE = $(QT5_SITE)/qtsensors/-/archive/$(QT5SENSORS_VERSION) QT5SENSORS_SOURCE = qtsensors-$(QT5SENSORS_VERSION).tar.bz2 QT5SENSORS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5serialbus/qt5serialbus.hash b/package/qt5/qt5serialbus/qt5serialbus.hash index 01ffd7c215..1d1861a4a3 100644 --- a/package/qt5/qt5serialbus/qt5serialbus.hash +++ b/package/qt5/qt5serialbus/qt5serialbus.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 fe08415d2348797429dc09722478630ceee3d7477652a2712460e79127b7291b qtserialbus-f9f7eee60adac72fcf6617d164e3bf61222bb5c5.tar.bz2 +sha256 952b145ae64e03208d7c2a0b0b2b94b928e8998eb72c6762b54e4d9760737dde qtserialbus-c41785c9f36560722b917d373ee97eed8cc4089a.tar.bz2 # Hashes for license files: sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 diff --git a/package/qt5/qt5serialbus/qt5serialbus.mk b/package/qt5/qt5serialbus/qt5serialbus.mk index c718414932..3315ef5be7 100644 --- a/package/qt5/qt5serialbus/qt5serialbus.mk +++ b/package/qt5/qt5serialbus/qt5serialbus.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SERIALBUS_VERSION = f9f7eee60adac72fcf6617d164e3bf61222bb5c5 +QT5SERIALBUS_VERSION = c41785c9f36560722b917d373ee97eed8cc4089a QT5SERIALBUS_SITE = $(QT5_SITE)/qtserialbus/-/archive/$(QT5SERIALBUS_VERSION) QT5SERIALBUS_SOURCE = qtserialbus-$(QT5SERIALBUS_VERSION).tar.bz2 QT5SERIALBUS_DEPENDENCIES = qt5serialport diff --git a/package/qt5/qt5serialport/qt5serialport.hash b/package/qt5/qt5serialport/qt5serialport.hash index 58461430c7..e95392b880 100644 --- a/package/qt5/qt5serialport/qt5serialport.hash +++ b/package/qt5/qt5serialport/qt5serialport.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 6d49d0da174632f51291b0190f6f1db2397a3b339cf293514252766f8a20c63b qtserialport-c9abfcd5d88cb43c2a7c1d5ddecbff4cdd320694.tar.bz2 +sha256 2b7584de148f0b6ea2cf162609d44d7ad3bb893b1995427ceed72cb4562db6d7 qtserialport-3380465d5d4977326616c5e57789a81681be650e.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5serialport/qt5serialport.mk b/package/qt5/qt5serialport/qt5serialport.mk index 7d00bd2ab7..462d1dd7b9 100644 --- a/package/qt5/qt5serialport/qt5serialport.mk +++ b/package/qt5/qt5serialport/qt5serialport.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SERIALPORT_VERSION = c9abfcd5d88cb43c2a7c1d5ddecbff4cdd320694 +QT5SERIALPORT_VERSION = 3380465d5d4977326616c5e57789a81681be650e QT5SERIALPORT_SITE = $(QT5_SITE)/qtserialport/-/archive/$(QT5SERIALPORT_VERSION) QT5SERIALPORT_SOURCE = qtserialport-$(QT5SERIALPORT_VERSION).tar.bz2 QT5SERIALPORT_INSTALL_STAGING = YES diff --git a/package/qt5/qt5speech/qt5speech.hash b/package/qt5/qt5speech/qt5speech.hash index 595aac9f22..3be66a77fe 100644 --- a/package/qt5/qt5speech/qt5speech.hash +++ b/package/qt5/qt5speech/qt5speech.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 6d0794ab9d5286d04fbac2db44c00ed3306e569c876f84cfd91ac0e79c834b1e qtspeech-d32f4a479d38a11f547598004b975f4356424a16.tar.bz2 +sha256 4be0161595806cfc5c9c3160a83d0379269a2813dd4b3ffe2e2a1328f23d8fbc qtspeech-214dcefc7c408e11a3e9fe9d221e4a384e2eaca1.tar.bz2 # Hashes for license files: sha256 6c3f3c31b93985f1b93bfbb35fb609d37281697d0efc220c9f91cf4b59eaabde LICENSE.GPLv2 diff --git a/package/qt5/qt5speech/qt5speech.mk b/package/qt5/qt5speech/qt5speech.mk index 8cf6fe19c1..c8054431df 100644 --- a/package/qt5/qt5speech/qt5speech.mk +++ b/package/qt5/qt5speech/qt5speech.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SPEECH_VERSION = d32f4a479d38a11f547598004b975f4356424a16 +QT5SPEECH_VERSION = 214dcefc7c408e11a3e9fe9d221e4a384e2eaca1 QT5SPEECH_SITE = $(QT5_SITE)/qtspeech/-/archive/$(QT5SPEECH_VERSION) QT5SPEECH_SOURCE = qtspeech-$(QT5SPEECH_VERSION).tar.bz2 QT5SPEECH_INSTALL_STAGING = YES diff --git a/package/qt5/qt5svg/qt5svg.hash b/package/qt5/qt5svg/qt5svg.hash index 4816206d64..f3e47da5de 100644 --- a/package/qt5/qt5svg/qt5svg.hash +++ b/package/qt5/qt5svg/qt5svg.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 063ee53515b934c00a65838fe8521142e4a9161b07c8e19b5bb0ea26a0ce9ab3 qtsvg-a9752b00a03438de8e5b080073816e12409404b7.tar.bz2 +sha256 6a71029b46e71667f86c48923f0b292c3057ea56b2aedb8aeaa5af70e85e71c3 qtsvg-3385b64df939815e9df5955f991d270d47a5515b.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5svg/qt5svg.mk b/package/qt5/qt5svg/qt5svg.mk index 2a39ed18fe..c1d019000b 100644 --- a/package/qt5/qt5svg/qt5svg.mk +++ b/package/qt5/qt5svg/qt5svg.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5SVG_VERSION = a9752b00a03438de8e5b080073816e12409404b7 +QT5SVG_VERSION = 3385b64df939815e9df5955f991d270d47a5515b QT5SVG_SITE = $(QT5_SITE)/qtsvg/-/archive/$(QT5SVG_VERSION) QT5SVG_SOURCE = qtsvg-$(QT5SVG_VERSION).tar.bz2 QT5SVG_INSTALL_STAGING = YES diff --git a/package/qt5/qt5tools/qt5tools.hash b/package/qt5/qt5tools/qt5tools.hash index d603598257..d4ea0dc047 100644 --- a/package/qt5/qt5tools/qt5tools.hash +++ b/package/qt5/qt5tools/qt5tools.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 b6eebbd61dcde981d63ce6de39b3c957bad8f11b0140585ba4d57d166c4dd79d qttools-32912a06aadfc3dcbc34e0a668ce2c78351eee6e.tar.bz2 +sha256 7214584115d0b89a362c6b0e8586d6228ac138f3ed5e52c97962b8634edbbcfd qttools-ddf6686e9bce7a3232af14a2966b4c895e654f02.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5tools/qt5tools.mk b/package/qt5/qt5tools/qt5tools.mk index a01a336584..98f3948d17 100644 --- a/package/qt5/qt5tools/qt5tools.mk +++ b/package/qt5/qt5tools/qt5tools.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5TOOLS_VERSION = 32912a06aadfc3dcbc34e0a668ce2c78351eee6e +QT5TOOLS_VERSION = ddf6686e9bce7a3232af14a2966b4c895e654f02 QT5TOOLS_SITE = $(QT5_SITE)/qttools/-/archive/$(QT5TOOLS_VERSION) QT5TOOLS_SOURCE = qttools-$(QT5TOOLS_VERSION).tar.bz2 diff --git a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash index 60d51fa5fe..89559b63f2 100644 --- a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash +++ b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 e1e356e81f3a3fb5da6f6739aa475c15aab15090e202de6704441a3bf41c335b qtvirtualkeyboard-9fbb837b55887bec5d73fad142c853ef68db35b3.tar.bz2 +sha256 c8dfb16614a63e39c714673abe35a7c30107d359356695634af619e62e8ce6cd qtvirtualkeyboard-817378aa10176fd26eed36542bc657e48d9dd42e.tar.bz2 # Hashes for license files: sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk index 49ce71b75e..5657d78c30 100644 --- a/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk +++ b/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5VIRTUALKEYBOARD_VERSION = 9fbb837b55887bec5d73fad142c853ef68db35b3 +QT5VIRTUALKEYBOARD_VERSION = 817378aa10176fd26eed36542bc657e48d9dd42e QT5VIRTUALKEYBOARD_SITE = $(QT5_SITE)/qtvirtualkeyboard/-/archive/$(QT5VIRTUALKEYBOARD_VERSION) QT5VIRTUALKEYBOARD_SOURCE = qtvirtualkeyboard-$(QT5VIRTUALKEYBOARD_VERSION).tar.bz2 QT5VIRTUALKEYBOARD_DEPENDENCIES = qt5declarative qt5svg diff --git a/package/qt5/qt5wayland/qt5wayland.hash b/package/qt5/qt5wayland/qt5wayland.hash index c9d7f3434c..f4a1663add 100644 --- a/package/qt5/qt5wayland/qt5wayland.hash +++ b/package/qt5/qt5wayland/qt5wayland.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 c881745403a7c3639ee928f64ac9e7252d7a941cb62ef682a7ee83ccf3ae0a60 qtwayland-8faf74a7966b520f0ac3eb4d88235f8ec63b31b8.tar.bz2 +sha256 d45149cce43ad76f0c8ee43f0469728259d2ab341cf7e2c02ddab6163c5f1d13 qtwayland-b8f1882df7215b6e00f66b7a6a08afafe230de29.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5wayland/qt5wayland.mk b/package/qt5/qt5wayland/qt5wayland.mk index aeca1b0381..4ce89fc46a 100644 --- a/package/qt5/qt5wayland/qt5wayland.mk +++ b/package/qt5/qt5wayland/qt5wayland.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5WAYLAND_VERSION = 8faf74a7966b520f0ac3eb4d88235f8ec63b31b8 +QT5WAYLAND_VERSION = b8f1882df7215b6e00f66b7a6a08afafe230de29 QT5WAYLAND_SITE = $(QT5_SITE)/qtwayland/-/archive/$(QT5WAYLAND_VERSION) QT5WAYLAND_SOURCE = qtwayland-$(QT5WAYLAND_VERSION).tar.bz2 QT5WAYLAND_DEPENDENCIES = wayland diff --git a/package/qt5/qt5webchannel/qt5webchannel.hash b/package/qt5/qt5webchannel/qt5webchannel.hash index b5e9f1a043..7f2a357dbb 100644 --- a/package/qt5/qt5webchannel/qt5webchannel.hash +++ b/package/qt5/qt5webchannel/qt5webchannel.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 a281a053471f5c480d7c2679caa0a759e8628f6eafc07c1781f1eb8bb97ee37d qtwebchannel-8c842152da613f941892481d62267c73c4a4f006.tar.bz2 +sha256 7d482e5140d789b417c359f557da783ed2cc07e8148133971caeb5b48b418645 qtwebchannel-48a520c11a0ef57f2553746159acf739c7f3863d.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5webchannel/qt5webchannel.mk b/package/qt5/qt5webchannel/qt5webchannel.mk index 54e6a70ddb..8ba81383d1 100644 --- a/package/qt5/qt5webchannel/qt5webchannel.mk +++ b/package/qt5/qt5webchannel/qt5webchannel.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5WEBCHANNEL_VERSION = 8c842152da613f941892481d62267c73c4a4f006 +QT5WEBCHANNEL_VERSION = 48a520c11a0ef57f2553746159acf739c7f3863d QT5WEBCHANNEL_SITE = $(QT5_SITE)/qtwebchannel/-/archive/$(QT5WEBCHANNEL_VERSION) QT5WEBCHANNEL_SOURCE = qtwebchannel-$(QT5WEBCHANNEL_VERSION).tar.bz2 QT5WEBCHANNEL_DEPENDENCIES = qt5websockets diff --git a/package/qt5/qt5webengine/qt5webengine.hash b/package/qt5/qt5webengine/qt5webengine.hash index 038446a9f4..e0447c70b1 100644 --- a/package/qt5/qt5webengine/qt5webengine.hash +++ b/package/qt5/qt5webengine/qt5webengine.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 4a3456df42e1c1b859232b3ee1d58360e629d55daf6e5ad308871142c1b0c2fa qtwebengine-v5.15.10-lts.tar.bz2 +sha256 e7c9534453472311c06605f2892e038e9920bf10ca3a0dad99b46955ea124618 qtwebengine-v5.15.11-lts.tar.bz2 # Locally calculated sha256 f34787ef0342c614b667186a6ec2f5d6b9d650e30142a2788a589a89743e88e9 LICENSE.Chromium diff --git a/package/qt5/qt5websockets/qt5websockets.hash b/package/qt5/qt5websockets/qt5websockets.hash index 72fbb4a599..fa3cc48995 100644 --- a/package/qt5/qt5websockets/qt5websockets.hash +++ b/package/qt5/qt5websockets/qt5websockets.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 00a6d312f2e0ec8c64c12f6a178681d5936ec65bc7f1b85948b58cdb5021a8b6 qtwebsockets-6a4991250793cd38efa5e8db858cd49c82439130.tar.bz2 +sha256 2e024a4c0706d58a9c846cc1d036f383906e392f3cd7c3051fc56915b7530eee qtwebsockets-50f3853a83ffc80a978cfa0882bdc2859e8de71e.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5websockets/qt5websockets.mk b/package/qt5/qt5websockets/qt5websockets.mk index 4eafb0b212..bb96fefe82 100644 --- a/package/qt5/qt5websockets/qt5websockets.mk +++ b/package/qt5/qt5websockets/qt5websockets.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5WEBSOCKETS_VERSION = 6a4991250793cd38efa5e8db858cd49c82439130 +QT5WEBSOCKETS_VERSION = 50f3853a83ffc80a978cfa0882bdc2859e8de71e QT5WEBSOCKETS_SITE = $(QT5_SITE)/qtwebsockets/-/archive/$(QT5WEBSOCKETS_VERSION) QT5WEBSOCKETS_SOURCE = qtwebsockets-$(QT5WEBSOCKETS_VERSION).tar.bz2 QT5WEBSOCKETS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5webview/qt5webview.hash b/package/qt5/qt5webview/qt5webview.hash index d928c7cdce..00525dbad2 100644 --- a/package/qt5/qt5webview/qt5webview.hash +++ b/package/qt5/qt5webview/qt5webview.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 38f6c0a2863e9144632286b0ef43db506b8631eeff0f8facae14b0da86ca0491 qtwebview-87577dde04ed219bda776dabca86176149736331.tar.bz2 +sha256 2427179da946d6df409e334c94ffe3f8589035a5d566caf52db2333cc9bfe47c qtwebview-f078642eb9a440f6aa88f2beaf10f445de1e29bb.tar.bz2 # Hashes for license files: sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/package/qt5/qt5webview/qt5webview.mk b/package/qt5/qt5webview/qt5webview.mk index a55fd8ae74..01a377c27b 100644 --- a/package/qt5/qt5webview/qt5webview.mk +++ b/package/qt5/qt5webview/qt5webview.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5WEBVIEW_VERSION = 87577dde04ed219bda776dabca86176149736331 +QT5WEBVIEW_VERSION = f078642eb9a440f6aa88f2beaf10f445de1e29bb QT5WEBVIEW_SITE = $(QT5_SITE)/qtwebview/-/archive/$(QT5WEBVIEW_VERSION) QT5WEBVIEW_SOURCE = qtwebview-$(QT5WEBVIEW_VERSION).tar.bz2 QT5WEBVIEW_DEPENDENCIES = qt5webengine diff --git a/package/qt5/qt5x11extras/qt5x11extras.hash b/package/qt5/qt5x11extras/qt5x11extras.hash index 87dac8625e..132c28dd96 100644 --- a/package/qt5/qt5x11extras/qt5x11extras.hash +++ b/package/qt5/qt5x11extras/qt5x11extras.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 cf9124f3d35f1c8db4e9e47943cb1ec86834abf2be38d70412d0452e64462906 qtx11extras-982f20eb585d77e5b5c721e05a466d7161f7f2d1.tar.bz2 +sha256 7d99fa4d900207c0ae1c7a514e7dc0b607c04e0232d2842a8d84f52534bd16e6 qtx11extras-5fb2e067a38d3583684310130f5d8aad064f512f.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5x11extras/qt5x11extras.mk b/package/qt5/qt5x11extras/qt5x11extras.mk index 80c5498518..a6fade0135 100644 --- a/package/qt5/qt5x11extras/qt5x11extras.mk +++ b/package/qt5/qt5x11extras/qt5x11extras.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5X11EXTRAS_VERSION = 982f20eb585d77e5b5c721e05a466d7161f7f2d1 +QT5X11EXTRAS_VERSION = 5fb2e067a38d3583684310130f5d8aad064f512f QT5X11EXTRAS_SITE = $(QT5_SITE)/qtx11extras/-/archive/$(QT5X11EXTRAS_VERSION) QT5X11EXTRAS_SOURCE = qtx11extras-$(QT5X11EXTRAS_VERSION).tar.bz2 QT5X11EXTRAS_INSTALL_STAGING = YES diff --git a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash index 353dfc8485..9be7bb7831 100644 --- a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash +++ b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 067b801049f6fada8e7ebcfbce0530db6217a1a94b8ed34c99c530be4129889d qtxmlpatterns-30e6c84fe2752cde8b53aff9d38c2095cd7c8761.tar.bz2 +sha256 7770b333f2c0079cf65aa19dafd9e7d80fe058baf8e924f1c0d6e75c0b6e7374 qtxmlpatterns-5a1948ddc05bf44017ac12bd5c2b9bc79fbcb9a2.tar.bz2 # Hashes for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 diff --git a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk index 803c36cf04..2126d3c915 100644 --- a/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk +++ b/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk @@ -4,7 +4,7 @@ # ################################################################################ -QT5XMLPATTERNS_VERSION = 30e6c84fe2752cde8b53aff9d38c2095cd7c8761 +QT5XMLPATTERNS_VERSION = 5a1948ddc05bf44017ac12bd5c2b9bc79fbcb9a2 QT5XMLPATTERNS_SITE = $(QT5_SITE)/qtxmlpatterns/-/archive/$(QT5XMLPATTERNS_VERSION) QT5XMLPATTERNS_SOURCE = qtxmlpatterns-$(QT5XMLPATTERNS_VERSION).tar.bz2 QT5XMLPATTERNS_INSTALL_STAGING = YES -- 2.42.0 From peter at korsgaard.com Thu Oct 12 14:35:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:35:47 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series In-Reply-To: <20231011174620.52181-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:46:20 +0200") References: <20231011174620.52181-1-bernd@kuhls.net> Message-ID: <87edhzc3i4.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:35:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:35:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/pipewire: bump version to 0.3.81 In-Reply-To: <20231011175020.55779-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:50:20 +0200") References: <20231011175020.55779-1-bernd@kuhls.net> Message-ID: <87a5snc3ht.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/NEWS > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:36:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/cmake: bump version to 3.27.7 In-Reply-To: <20231011175459.72943-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:54:59 +0200") References: <20231011175459.72943-1-bernd@kuhls.net> Message-ID: <875y3bc3hg.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Changelog: https://cmake.org/cmake/help/v3.27/release/3.27.html#updates > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:36:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/dav1d: bump version to 1.3.0 In-Reply-To: <20231011180140.74551-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 20:01:40 +0200") References: <20231011180140.74551-1-bernd@kuhls.net> Message-ID: <871qdzc3h2.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:36:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/gettext-gnu: bump version to 0.22.3 In-Reply-To: <20231011175926.74349-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:59:26 +0200") References: <20231011175926.74349-1-bernd@kuhls.net> Message-ID: <87wmvraovp.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: > https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob;f=NEWS;h=9ed51966572af1c65074fcfbd18db24f1321c55d;hb=c9af3e4eeccc178a0833754e3d8c7083591e75ba > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:37:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:37:26 +0200 Subject: [Buildroot] [PATCH] package/squid: bump version to 6.3 In-Reply-To: (Waldemar Brodkorb's message of "Thu, 5 Oct 2023 08:14:09 +0200") References: Message-ID: <87sf6faoux.fsf@48ers.dk> >>>>> "Waldemar" == Waldemar Brodkorb writes: > Signed-off-by: Waldemar Brodkorb Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:38:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:38:49 +0200 Subject: [Buildroot] [PATCH] package/libcue: security bump to version 2.3.0 In-Reply-To: <20231011083951.177891-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 11 Oct 2023 10:39:51 +0200") References: <20231011083951.177891-1-peter@korsgaard.com> Message-ID: <87o7h3aosm.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issue: > CVE-2023-43641: Out-of-bounds array access in track_set_index > https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj > For more details, see the github writeup: > https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:38:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:38:57 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.3 In-Reply-To: <20231011114736.311388-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 11 Oct 2023 13:47:35 +0200") References: <20231011114736.311388-1-peter@korsgaard.com> Message-ID: <87jzrraose.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-39325: rapid stream resets can cause excessive work > A malicious HTTP/2 client which rapidly creates requests and immediately > resets them can cause excessive server resource consumption. While the > total number of requests is bounded to the http2.Server.MaxConcurrentStreams > setting, resetting an in-progress request allows the attacker to create a > new request while the existing one is still executing. > go1.21.3 (released 2023-10-10) includes a security fix to the net/http > package. > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:35:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:35:55 +0200 Subject: [Buildroot] [git commit] package/pipewire: bump version to 0.3.81 Message-ID: <20231012143924.86209845F9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9e00cb0444b7cbaf1fca3a6d345ab3d487775d2b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/NEWS Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/pipewire/pipewire.hash | 2 +- package/pipewire/pipewire.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash index 2f04931284..3370d86641 100644 --- a/package/pipewire/pipewire.hash +++ b/package/pipewire/pipewire.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 cf4b770fe4e2379527f63e01b52b50a37d529608f766ecb40fe57da4c087a507 pipewire-0.3.80.tar.bz2 +sha256 2b6e0c4d2e544f5030fa7f4ecf1edd9e5eed15dda1c97135e8a1fded9f3425fe pipewire-0.3.81.tar.bz2 sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index f0b37a0e43..628c69ff8a 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -4,7 +4,7 @@ # ################################################################################ -PIPEWIRE_VERSION = 0.3.80 +PIPEWIRE_VERSION = 0.3.81 PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) From peter at korsgaard.com Thu Oct 12 14:36:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:34 +0200 Subject: [Buildroot] [git commit] package/gettext-gnu: bump version to 0.22.3 Message-ID: <20231012143924.A23F5845F7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3e255877b76ceeaaa742861e5e1eac0e0b30403d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob;f=NEWS;h=9ed51966572af1c65074fcfbd18db24f1321c55d;hb=c9af3e4eeccc178a0833754e3d8c7083591e75ba Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/gettext-gnu/gettext-gnu.hash | 2 +- package/gettext-gnu/gettext-gnu.mk | 2 +- package/gettext-tiny/gettext-tiny.hash | 2 +- package/gettext-tiny/gettext-tiny.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/gettext-gnu/gettext-gnu.hash b/package/gettext-gnu/gettext-gnu.hash index 878253bea4..f307b4a9fd 100644 --- a/package/gettext-gnu/gettext-gnu.hash +++ b/package/gettext-gnu/gettext-gnu.hash @@ -1,5 +1,5 @@ # Please keep in sync with package/gettext-tiny/gettext-tiny.hash # Locally calculated -sha256 4c82fbfe5e53d71a97c634aa98a898b9da807b08b27410f6a4641e8bb44dc4b2 gettext-0.22.2.tar.xz +sha256 b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6 gettext-0.22.3.tar.xz sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b COPYING sha256 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288 gettext-runtime/intl/COPYING.LIB diff --git a/package/gettext-gnu/gettext-gnu.mk b/package/gettext-gnu/gettext-gnu.mk index 06ada568b1..35b79d1926 100644 --- a/package/gettext-gnu/gettext-gnu.mk +++ b/package/gettext-gnu/gettext-gnu.mk @@ -6,7 +6,7 @@ # Please keep in sync with GETTEXT_TINY_ARCHIVE_VERSION in # gettext-tiny/gettext-tiny.mk -GETTEXT_GNU_VERSION = 0.22.2 +GETTEXT_GNU_VERSION = 0.22.3 GETTEXT_GNU_SITE = $(BR2_GNU_MIRROR)/gettext GETTEXT_GNU_SOURCE = gettext-$(GETTEXT_GNU_VERSION).tar.xz GETTEXT_GNU_INSTALL_STAGING = YES diff --git a/package/gettext-tiny/gettext-tiny.hash b/package/gettext-tiny/gettext-tiny.hash index 02d9a803da..a72b0c35e4 100644 --- a/package/gettext-tiny/gettext-tiny.hash +++ b/package/gettext-tiny/gettext-tiny.hash @@ -3,4 +3,4 @@ sha256 29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383 gettex sha256 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f LICENSE sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b extra/COPYING # Locally Computed: -sha256 4c82fbfe5e53d71a97c634aa98a898b9da807b08b27410f6a4641e8bb44dc4b2 gettext-0.22.2.tar.xz +sha256 b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6 gettext-0.22.3.tar.xz diff --git a/package/gettext-tiny/gettext-tiny.mk b/package/gettext-tiny/gettext-tiny.mk index 0aef4b0058..e4a3625c5a 100644 --- a/package/gettext-tiny/gettext-tiny.mk +++ b/package/gettext-tiny/gettext-tiny.mk @@ -15,7 +15,7 @@ GETTEXT_TINY_PROVIDES = gettext # needed for gettextize # Please keep in sync with package/gettext-gnu/gettext-gnu.mk -GETTEXT_TINY_ARCHIVE_VERSION = 0.22.2 +GETTEXT_TINY_ARCHIVE_VERSION = 0.22.3 GETTEXT_TINY_EXTRA_GETTEXT_FILES = \ gettext-tools/misc/gettextize.in \ From peter at korsgaard.com Thu Oct 12 14:38:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:38:28 +0200 Subject: [Buildroot] [git commit] package/go: security bump to version 1.21.3 Message-ID: <20231012143924.AB453845F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=91045831247850d54d1eb13a54edcfdc5de80ab8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-39325: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. go1.21.3 (released 2023-10-10) includes a security fix to the net/http package. Signed-off-by: Peter Korsgaard Reviewed-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index a2ec6b5923..9499f50964 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz +sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21.3.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 2c32e90817..ef27f32835 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.2 +GO_VERSION = 1.21.3 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Thu Oct 12 14:34:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:34:45 +0200 Subject: [Buildroot] [git commit] package/squid: bump version to 6.3 Message-ID: <20231012143924.7194F845F7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0e15854fbcb12c22bda59affb658aecc002177ed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Waldemar Brodkorb Signed-off-by: Peter Korsgaard --- package/squid/squid.hash | 8 ++++---- package/squid/squid.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/squid/squid.hash b/package/squid/squid.hash index ec60a0e9d1..a6d4c5d056 100644 --- a/package/squid/squid.hash +++ b/package/squid/squid.hash @@ -1,6 +1,6 @@ -# From http://www.squid-cache.org/Versions/v6/squid-6.2.tar.xz.asc -md5 ad01b7d82b6a00ffd8cd39b97113d05a squid-6.2.tar.xz -sha1 29ddb4c522a36f1270e7cfa66f0dec8805fd2b57 squid-6.2.tar.xz +# From http://www.squid-cache.org/Versions/v6/squid-6.3.tar.xz.asc +md5 2512b5d27856e6f91a97719784506893 squid-6.3.tar.xz +sha1 7bd74034015c6a4d345a4d277a431908bed2ec4a squid-6.3.tar.xz # Locally calculated -sha256 dd759e151e997d31786d91743d327b1b4b532f1caea66bf81100ec8ba04ec4c1 squid-6.2.tar.xz +sha256 74a0f5586a7a5d89573d502708d5e1d66ddf0430cf4802cc7261b765653248fa squid-6.3.tar.xz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/squid/squid.mk b/package/squid/squid.mk index 167e9f67d8..019a202952 100644 --- a/package/squid/squid.mk +++ b/package/squid/squid.mk @@ -4,7 +4,7 @@ # ################################################################################ -SQUID_VERSION = 6.2 +SQUID_VERSION = 6.3 SQUID_SOURCE = squid-$(SQUID_VERSION).tar.xz SQUID_SITE = http://www.squid-cache.org/Versions/v6 SQUID_LICENSE = GPL-2.0+ From peter at korsgaard.com Thu Oct 12 14:38:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:38:35 +0200 Subject: [Buildroot] [git commit] package/libcue: security bump to version 2.3.0 Message-ID: <20231012143924.B6828845F9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3aee3a326d37ae5ddaf99bbc7bcf26a5c1ea7b2a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following security issue: CVE-2023-43641: Out-of-bounds array access in track_set_index https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj For more details, see the github writeup: https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ Signed-off-by: Peter Korsgaard --- package/libcue/libcue.hash | 2 +- package/libcue/libcue.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcue/libcue.hash b/package/libcue/libcue.hash index 93ae2dacdb..47fe906e1a 100644 --- a/package/libcue/libcue.hash +++ b/package/libcue/libcue.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 f27bc3ebb2e892cd9d32a7bee6d84576a60f955f29f748b9b487b173712f1200 libcue-2.2.1.tar.gz +sha256 cc1b3a65c60bd88b77a1ddd1574042d83cf7cc32b85fe9481c99613359eb7cfe libcue-2.3.0.tar.gz sha256 c388d36583fa54e13b6d73ad924d0b68d073ed8a5771e17cb49104705df4504f LICENSE diff --git a/package/libcue/libcue.mk b/package/libcue/libcue.mk index 3edb4f3b69..7ef27f5a17 100644 --- a/package/libcue/libcue.mk +++ b/package/libcue/libcue.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCUE_VERSION = 2.2.1 +LIBCUE_VERSION = 2.3.0 LIBCUE_SITE = $(call github,lipnitsk,libcue,v$(LIBCUE_VERSION)) LIBCUE_LICENSE = GPL-2.0, BSD-2-Clause (rem.c) LIBCUE_LICENSE_FILES = LICENSE From peter at korsgaard.com Thu Oct 12 14:35:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:35:33 +0200 Subject: [Buildroot] [git commit] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231012143924.7D9CF845F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d71743b7360c19d7555529077a47fb14eba8d234 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index a6b4967a8c..3aef7142c2 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.6" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.7" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index dfcc87802b..92ea8cdb88 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 78e36d4214547051c24df2140f4ce09428d6c515ad9a71b38b28e8094a95d2f6 linux-6.5.6.tar.xz -sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz +sha256 0d09ea448005c9cfe5383e4c72a872b39188b928f8c44e146b03b1b7851fbb8c linux-6.5.7.tar.xz +sha256 f9ebfe3ddc5152d87b37e33be30e31875d137433be10a57ce29d2eae7b6e91b1 linux-6.1.57.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz -sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz -sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz +sha256 14835e629e237f136cfed484fdb533c95242429809bdcdb2a2d66dfcb7447170 linux-5.15.135.tar.xz +sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz +sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 b732c2e4f08576a9dd5bb14213cead3835acbb101a91aaba3d6ace302fd538ac linux-4.19.295.tar.xz -sha256 555ce40f1df4c0f4a74cbefcaad0c67108615860968720faabe51cdee2df1478 linux-4.14.326.tar.xz +sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz +sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index e2e2655964..a93458c399 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -404,13 +404,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.326" if BR2_KERNEL_HEADERS_4_14 - default "4.19.295" if BR2_KERNEL_HEADERS_4_19 - default "5.4.257" if BR2_KERNEL_HEADERS_5_4 - default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.134" if BR2_KERNEL_HEADERS_5_15 - default "6.1.56" if BR2_KERNEL_HEADERS_6_1 - default "6.5.6" if BR2_KERNEL_HEADERS_6_5 + default "4.14.327" if BR2_KERNEL_HEADERS_4_14 + default "4.19.296" if BR2_KERNEL_HEADERS_4_19 + default "5.4.258" if BR2_KERNEL_HEADERS_5_4 + default "5.10.198" if BR2_KERNEL_HEADERS_5_10 + default "5.15.135" if BR2_KERNEL_HEADERS_5_15 + default "6.1.57" if BR2_KERNEL_HEADERS_6_1 + default "6.5.7" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Thu Oct 12 14:36:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:21 +0200 Subject: [Buildroot] [git commit] package/dav1d: bump version to 1.3.0 Message-ID: <20231012143924.983C9845FF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=aa30acd770f4ef4bf1bc548f9cb8df3adf06938b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/dav1d/dav1d.hash | 4 ++-- package/dav1d/dav1d.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/dav1d/dav1d.hash b/package/dav1d/dav1d.hash index 68757060bf..0b2c53ec21 100644 --- a/package/dav1d/dav1d.hash +++ b/package/dav1d/dav1d.hash @@ -1,4 +1,4 @@ -# From https://download.videolan.org/pub/videolan/dav1d/1.2.1/dav1d-1.2.1.tar.xz.sha256 -sha256 4e33eb61ec54c768a16da0cf8fa0928b4c4593f5f804a3c887d4a21c318340b2 dav1d-1.2.1.tar.xz +# From https://download.videolan.org/pub/videolan/dav1d/1.3.0/dav1d-1.3.0.tar.xz.sha256 +sha256 6d8be2741c505c47f8f1ced3c9cc427759243436553d01d1acce201f87b39e71 dav1d-1.3.0.tar.xz # Locally computed sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING diff --git a/package/dav1d/dav1d.mk b/package/dav1d/dav1d.mk index e90f53dc1a..3650f28730 100644 --- a/package/dav1d/dav1d.mk +++ b/package/dav1d/dav1d.mk @@ -4,7 +4,7 @@ # ################################################################################ -DAV1D_VERSION = 1.2.1 +DAV1D_VERSION = 1.3.0 DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz DAV1D_SITE = https://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION) DAV1D_LICENSE = BSD-2-Clause From peter at korsgaard.com Thu Oct 12 14:36:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:36:06 +0200 Subject: [Buildroot] [git commit] package/cmake: bump version to 3.27.7 Message-ID: <20231012143924.8F608845FD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5e4130d05cb50a39c1d90072bbef30406ebd6eb2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://cmake.org/cmake/help/v3.27/release/3.27.html#updates Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/cmake/cmake.hash | 4 ++-- package/cmake/cmake.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash index 8b1ae5b4a6..e495061bae 100644 --- a/package/cmake/cmake.hash +++ b/package/cmake/cmake.hash @@ -1,5 +1,5 @@ -# From https://cmake.org/files/v3.27/cmake-3.27.6-SHA-256.txt -sha256 ef3056df528569e0e8956f6cf38806879347ac6de6a4ff7e4105dc4578732cfb cmake-3.27.6.tar.gz +# From https://cmake.org/files/v3.27/cmake-3.27.7-SHA-256.txt +sha256 08f71a106036bf051f692760ef9558c0577c42ac39e96ba097e7662bd4158d8e cmake-3.27.7.tar.gz # Locally calculated sha256 4a01ccf2dc580ba570d02bc015bbe0ec92f1f318717aae9540ba841ba7946756 Copyright.txt diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk index 3bb2c4bffb..41278bf6db 100644 --- a/package/cmake/cmake.mk +++ b/package/cmake/cmake.mk @@ -6,7 +6,7 @@ # When updating the version, please also update BR2_HOST_CMAKE_AT_LEAST_X_Y CMAKE_VERSION_MAJOR = 3.27 -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6 +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).7 CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR) CMAKE_LICENSE = BSD-3-Clause CMAKE_LICENSE_FILES = Copyright.txt From peter at korsgaard.com Thu Oct 12 14:40:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:40:11 +0200 Subject: [Buildroot] [PATCH v1 1/1] package/containerd: bump to version 1.7.7 In-Reply-To: <20231009213624.107730-1-christian@aperture.us> (Christian Stewart's message of "Mon, 9 Oct 2023 14:36:24 -0700") References: <20231009213624.107730-1-christian@aperture.us> Message-ID: <87fs2faoqc.fsf@48ers.dk> >>>>> "Christian" == Christian Stewart writes: > Contains various fixes and updates. > https://github.com/containerd/containerd/releases/tag/v1.7.7 > Signed-off-by: Christian Stewart Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 14:40:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 16:40:07 +0200 Subject: [Buildroot] [git commit] package/containerd: bump to version 1.7.7 Message-ID: <20231012144206.46B1E84601@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=79e01ef9506a6cdc4836912607dc594ae7b1999d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Contains various fixes and updates. https://github.com/containerd/containerd/releases/tag/v1.7.7 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5e0ef4517..450d1d1081 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 084a62f78f96cb5fda02221425f14df09d3e0acd093e4d4b3527900e3ff94677 containerd-1.7.6.tar.gz +sha256 4c6042b13746a803766d76b07f756d03678a33a944b52c0b832c238609db1b2e containerd-1.7.7.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 0591400709..d29a796a72 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.7.6 +CONTAINERD_VERSION = 1.7.7 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From peter at korsgaard.com Thu Oct 12 16:03:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:03:04 +0200 Subject: [Buildroot] [PATCHv3] package/go: cgo for the target needs the toolchain In-Reply-To: <87pm20cg1v.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 08:48:28 +0200") References: <87pm20cg1v.fsf@48ers.dk> Message-ID: <877cnrakw7.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> writes: >> From: Christian Stewart >> Build go with cgo support needs to build some .c files to generate >> target support code, and thus calls the cross C compiler, which is >> failing when the toolchain is not built before host-go: >>>>> host-go 1.21.1 Building >> cd .../build/host-go-1.21.1/src && GO111MODULE=off GOCACHE=.../per-package/host-go/host/share/host-go-cache GOROOT_BOOTSTRAP=.../per-package/host-go/host/lib/go-1.19.11 GOROOT_FINAL=.../per-package/host-go/host/lib/go GOROOT=".../build/host-go-1.21.1" GOBIN=".../build/host-go-1.21.1/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-gcc" CXX_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-g++" GOOS="linux" GOARCH=arm GOARM=6 GO_ASSUME_CROSSCOMPILING=1 ./make.bash >> Building Go cmd/dist using .../per-package/host-go/host/lib/go-1.19.11. (go1.19.11 linux/amd64) >> go tool dist: cannot invoke C compiler [".../per-package/host-go/host/bin/arm-linux-gcc"]: fork/exec .../per-package/host-go/host/bin/arm-linux-gcc: no such file or directory >> Go needs a system C compiler for use with cgo. >> To set a C compiler, set CC=the-compiler. >> To disable cgo, set CGO_ENABLED=0. >> This happens systematically with PPD, and happens without PPD when >> host-go is explicitly built (by running: "make host-go"). >> Since only CGO support needs to compile C files, onmy add the toolchain >> dependency in that case. >> When the target is not supported by go, then there is obviously no need >> to depend on the toolchain (even if we unconditionally enable cgo >> support in only-for-the-host host-go). >> Signed-off-by: Christian Stewart >> [yann.morin at orange.com: >> - only add the toolchain dependency for target cgo >> - reword commit log >> ] >> Signed-off-by: Yann E. MORIN >> Cc: Thomas Petazzoni >> Cc: Anisse Astier >> --- >> Changes v2 -> v3: >> - properly reassign authorship to Christian (sorry for the screw up) >> Changes v1 -> v2: >> - only add the toolchain dependency for target cgo >> - reword commit log >> v1 by Christian: >> https://lore.kernel.org/buildroot/20230728052530.1122268-1-christian at aperture.us/ >> --- >> package/go/go.mk | 1 + >> 1 file changed, 1 insertion(+) > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 16:02:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:02:28 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: cgo for the target needs the toolchain Message-ID: <20231012160336.762558460E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e1d045174bfc99ee8eaf0833805628a300765023 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Building go with cgo support needs to build some .c files to generate target support code, and thus calls the cross C compiler, which is failing when the toolchain is not built before host-go: >>> host-go 1.21.1 Building cd .../build/host-go-1.21.1/src && GO111MODULE=off GOCACHE=.../per-package/host-go/host/share/host-go-cache GOROOT_BOOTSTRAP=.../per-package/host-go/host/lib/go-1.19.11 GOROOT_FINAL=.../per-package/host-go/host/lib/go GOROOT=".../build/host-go-1.21.1" GOBIN=".../build/host-go-1.21.1/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-gcc" CXX_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-g++" GOOS="linux" GOARCH=arm GOARM=6 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using .../per-package/host-go/host/lib/go-1.19.11. (go1.19.11 linux/amd64) go tool dist: cannot invoke C compiler [".../per-package/host-go/host/bin/arm-linux-gcc"]: fork/exec .../per-package/host-go/host/bin/arm-linux-gcc: no such file or directory Go needs a system C compiler for use with cgo. To set a C compiler, set CC=the-compiler. To disable cgo, set CGO_ENABLED=0. This happens systematically with PPD, and happens without PPD when host-go is explicitly built (by running: "make host-go"). Since only CGO support needs to compile C files, only add the toolchain dependency in that case. When the target is not supported by go, then there is obviously no need to depend on the toolchain (even if we unconditionally enable cgo support in only-for-the-host host-go). Signed-off-by: Christian Stewart [yann.morin at orange.com: - only add the toolchain dependency for target cgo - reword commit log ] Signed-off-by: Yann E. MORIN Cc: Thomas Petazzoni Cc: Anisse Astier Signed-off-by: Peter Korsgaard (cherry picked from commit 1a44f9242c960dcb114f60674043c8044c71c2c0) Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index d75c1afa9e..01442b0f62 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -89,6 +89,7 @@ HOST_GO_TARGET_ENV = \ # any target package needing cgo support must include # 'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file. ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +HOST_GO_DEPENDENCIES += toolchain HOST_GO_CGO_ENABLED = 1 else HOST_GO_CGO_ENABLED = 0 From peter at korsgaard.com Thu Oct 12 15:26:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 17:26:24 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/go: cgo for the target needs the toolchain Message-ID: <20231012160351.399038460E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ede5bd5859e27b2e2d81464e671836a8df7a4c94 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Building go with cgo support needs to build some .c files to generate target support code, and thus calls the cross C compiler, which is failing when the toolchain is not built before host-go: >>> host-go 1.21.1 Building cd .../build/host-go-1.21.1/src && GO111MODULE=off GOCACHE=.../per-package/host-go/host/share/host-go-cache GOROOT_BOOTSTRAP=.../per-package/host-go/host/lib/go-1.19.11 GOROOT_FINAL=.../per-package/host-go/host/lib/go GOROOT=".../build/host-go-1.21.1" GOBIN=".../build/host-go-1.21.1/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-gcc" CXX_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-g++" GOOS="linux" GOARCH=arm GOARM=6 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using .../per-package/host-go/host/lib/go-1.19.11. (go1.19.11 linux/amd64) go tool dist: cannot invoke C compiler [".../per-package/host-go/host/bin/arm-linux-gcc"]: fork/exec .../per-package/host-go/host/bin/arm-linux-gcc: no such file or directory Go needs a system C compiler for use with cgo. To set a C compiler, set CC=the-compiler. To disable cgo, set CGO_ENABLED=0. This happens systematically with PPD, and happens without PPD when host-go is explicitly built (by running: "make host-go"). Since only CGO support needs to compile C files, only add the toolchain dependency in that case. When the target is not supported by go, then there is obviously no need to depend on the toolchain (even if we unconditionally enable cgo support in only-for-the-host host-go). Signed-off-by: Christian Stewart [yann.morin at orange.com: - only add the toolchain dependency for target cgo - reword commit log ] Signed-off-by: Yann E. MORIN Cc: Thomas Petazzoni Cc: Anisse Astier Signed-off-by: Peter Korsgaard (cherry picked from commit 1a44f9242c960dcb114f60674043c8044c71c2c0) Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index d75c1afa9e..01442b0f62 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -89,6 +89,7 @@ HOST_GO_TARGET_ENV = \ # any target package needing cgo support must include # 'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file. ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +HOST_GO_DEPENDENCIES += toolchain HOST_GO_CGO_ENABLED = 1 else HOST_GO_CGO_ENABLED = 0 From fontaine.fabrice at gmail.com Thu Oct 12 16:20:57 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 12 Oct 2023 18:20:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/libmatroska: bump to version 1.7.1 Message-ID: <20231012162057.4366-1-fontaine.fabrice@gmail.com> C++14 is mandatory since version 1.7.0 and https://github.com/Matroska-Org/libmatroska/commit/7263bbaac134a20a79dfe7bd23b364fcd1a588cc https://github.com/Matroska-Org/libmatroska/blob/release-1.7.1/NEWS.md Signed-off-by: Fabrice Fontaine --- package/libmatroska/Config.in | 2 +- package/libmatroska/libmatroska.hash | 2 +- package/libmatroska/libmatroska.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in index b2e4354df5..4d775c43a0 100644 --- a/package/libmatroska/Config.in +++ b/package/libmatroska/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA bool "libmatroska" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 select BR2_PACKAGE_LIBEBML help Extensible open standard audio/video container format access diff --git a/package/libmatroska/libmatroska.hash b/package/libmatroska/libmatroska.hash index 81b418d030..a3eb74e832 100644 --- a/package/libmatroska/libmatroska.hash +++ b/package/libmatroska/libmatroska.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 daf91a63f58dd157ca340c457871e66260cb9c3333fefb008b318befbb0e081a libmatroska-1.6.3.tar.xz +sha256 572a3033b8d93d48a6a858e514abce4b2f7a946fe1f02cbfeca39bfd703018b3 libmatroska-1.7.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL diff --git a/package/libmatroska/libmatroska.mk b/package/libmatroska/libmatroska.mk index 7d326c0076..6b5f34476a 100644 --- a/package/libmatroska/libmatroska.mk +++ b/package/libmatroska/libmatroska.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMATROSKA_VERSION = 1.6.3 +LIBMATROSKA_VERSION = 1.7.1 LIBMATROSKA_SOURCE = libmatroska-$(LIBMATROSKA_VERSION).tar.xz LIBMATROSKA_SITE = http://dl.matroska.org/downloads/libmatroska LIBMATROSKA_INSTALL_STAGING = YES -- 2.42.0 From peter at korsgaard.com Thu Oct 12 16:32:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:32:06 +0200 Subject: [Buildroot] [PATCH] board/qemu/aarch64-virt/linux.config: enable base ACPI support In-Reply-To: <87msx4axxw.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 10:04:59 +0200") References: <20230927085823.3477476-1-ben.dooks@codethink.co.uk> <87msx4axxw.fsf@48ers.dk> Message-ID: <8734yfajjt.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Ben" == Ben Dooks via buildroot writes: >> When testing the virt machine with EDK2, the buildroot 6.1 kernel >> will not boot as it has no base ACPI support. Whilst you can run >> qemu with the -no-acpi option, it would help if basic ACPI support >> was there as otherwise there is no output from the kernel post the >> ACPI BIOS initialisation. >> Signed-off-by: Ben Dooks > Committed, thanks. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 16:31:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:31:39 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] board/qemu/aarch64-virt/linux.config: enable base ACPI support Message-ID: <20231012163223.3880A84616@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5567239034016358b250d2d314ff141111508d7c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x When testing the virt machine with EDK2, the buildroot 6.1 kernel will not boot as it has no base ACPI support. Whilst you can run qemu with the -no-acpi option, it would help if basic ACPI support was there as otherwise there is no output from the kernel post the ACPI BIOS initialisation. Signed-off-by: Ben Dooks Signed-off-by: Peter Korsgaard (cherry picked from commit b1f9c511626e2a91f99ed6113ff29a504a717711) Signed-off-by: Peter Korsgaard --- board/qemu/aarch64-virt/linux.config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/qemu/aarch64-virt/linux.config b/board/qemu/aarch64-virt/linux.config index f9763b73b7..971b9fcf86 100644 --- a/board/qemu/aarch64-virt/linux.config +++ b/board/qemu/aarch64-virt/linux.config @@ -12,8 +12,7 @@ CONFIG_SCHED_AUTOGROUP=y CONFIG_PROFILING=y CONFIG_ARCH_VEXPRESS=y CONFIG_COMPAT=y -CONFIG_FW_CFG_SYSFS=y -CONFIG_FW_CFG_SYSFS_CMDLINE=y +CONFIG_ACPI=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_BLK_DEV_BSGLIB=y @@ -34,6 +33,8 @@ CONFIG_PCI=y CONFIG_PCI_HOST_GENERIC=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_FW_CFG_SYSFS=y +CONFIG_FW_CFG_SYSFS_CMDLINE=y CONFIG_VIRTIO_BLK=y CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_SG=y From peter at korsgaard.com Thu Oct 12 16:33:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:33:29 +0200 Subject: [Buildroot] [PATCH v2] package/batman-adv: update to 2023.1 In-Reply-To: <20230930112539.5dc62e1d@windsurf> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 11:25:39 +0200") References: <20230930112539.5dc62e1d@windsurf> Message-ID: <87y1g794x2.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > On Fri, 11 Aug 2023 03:40:00 +0200 > Waldemar Brodkorb wrote: >> Older Batman-adv versions fail to build with kernel 6.4.x >> with following error message: >> bat_iv_ogm.c:283:18: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration] >> >> prandom_u32_max got removed in commit 3c202d14a9d73fb63c3dccb18feac5618c21e1c4 >> from the Linux kernel. >> >> Fixes: >> - http://autobuild.buildroot.net/results/205/2055ac3805d1941c148f1681a224570055dd83cd >> >> For other changes in this release, see: >> https://www.open-mesh.org/news/112 >> >> Signed-off-by: Waldemar Brodkorb >> --- >> v1 -> v2: >> - move locally computed sha256 hash to the right place, mentioned >> by Thomas Petazzoni >> --- >> package/batman-adv/batman-adv.hash | 7 ++++--- >> package/batman-adv/batman-adv.mk | 2 +- >> 2 files changed, 5 insertions(+), 4 deletions(-) > Applied to master, thanks. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Thu Oct 12 16:36:22 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 12 Oct 2023 18:36:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/nmap: fix build with libressl >= 3.5.0 Message-ID: <20231012163622.87846-1-fontaine.fabrice@gmail.com> Signed-off-by: Fabrice Fontaine --- ...pto.cc-fix-build-with-libressl-3.5.0.patch | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch diff --git a/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch new file mode 100644 index 0000000000..f2bdf5904d --- /dev/null +++ b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch @@ -0,0 +1,39 @@ +From 4ebea5c1d1a10be0d0165da3b9c0e1fa82c3db3c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 21 May 2022 17:51:37 +0200 +Subject: [PATCH] nping/Crypto.cc: fix build with libressl >= 3.5.0 + +Fix the following build failure with libressl >= 3.5.0: + +Crypto.cc: In static member function 'static int Crypto::aes128_cbc_encrypt(u8*, size_t, u8*, u8*, size_t, u8*)': +Crypto.cc:139:26: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined + 139 | EVP_CIPHER_CTX ctx; + | ^~~ + +Fixes: + - http://autobuild.buildroot.org/results/2e6eebbe2ed8305b88047bc92c19350c1ecada16 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/nmap/nmap/pull/2480 +--- + nping/Crypto.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/nping/Crypto.cc b/nping/Crypto.cc +index 850438352..9f7c88686 100644 +--- a/nping/Crypto.cc ++++ b/nping/Crypto.cc +@@ -70,7 +70,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_EVP_PKEY 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset +-- +2.35.1 + -- 2.42.0 From peter at korsgaard.com Thu Oct 12 16:40:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:40:30 +0200 Subject: [Buildroot] [PATCH v2] boot/grub2: fix incompat e2fsprogs feature use In-Reply-To: <87il7sasu8.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 11:55:11 +0200") References: <20230917200134.1251786-1-mail@jens-maus.de> <20230922184842.152406-1-mail@jens-maus.de> <87il7sasu8.fsf@48ers.dk> Message-ID: <87ttqv94ld.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Jens" == Jens Maus via buildroot writes: >> With bump of package/e2fsprogs to 1.47.0 [1] a freshly generated >> ext4 fs has unfortunately different default features enabled >> (e.g. metadata_csum_seed). This and some other newer fs features >> (e.g. large_dir) are however not supported by our grub2. >> Thus, newly generated ext-based rootfs won't be recognized by grub2 >> and are therefore not bootable/usable from grub2 anymore. This is >> an issue already known to other Linux derivates [2],[3],[4]. >> This commit introduces two additional upstream patches to >> package/grub2 which adds EXT4_FEATURE_INCOMPAT_CSUM_SEED and >> EXT4_FEATURE_INCOMPAT_LARGEDIR to the EXT2_DRIVER_IGNORED_INCOMPAT >> list of ignored incompatible ext features, allowing grub2 to >> use ext filesystems with these newer default feature sets. >> [1] https://git.buildroot.net/buildroot/commit/?id=6a21733f839478d902f3eab287a82b456e55f708 >> [2] https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1844012 >> [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031325 >> [4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030939 >> Signed-off-by: Jens Maus >> --- >> Changes v1 -> v2: >> - added Signed-off-by and Upstream link in patches (Arnout) > Committed, thanks. > Hopefully other bootloaders will not have similar issues. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 16:33:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:33:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/batman-adv: update to 2023.1 Message-ID: <20231012164159.0762D84622@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7704baa480556638ce51b42a5df087d9a56555fb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Older Batman-adv versions fail to build with kernel 6.4.x with following error message: bat_iv_ogm.c:283:18: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration] prandom_u32_max got removed in commit 3c202d14a9d73fb63c3dccb18feac5618c21e1c4 from the Linux kernel. Fixes: - http://autobuild.buildroot.net/results/205/2055ac3805d1941c148f1681a224570055dd83cd For other changes in this release, see: https://www.open-mesh.org/news/112 Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni (cherry picked from commit 01ec4a39f5ceb83c62b0040067ba53197a0a6843) Signed-off-by: Peter Korsgaard --- package/batman-adv/batman-adv.hash | 7 ++++--- package/batman-adv/batman-adv.mk | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/batman-adv/batman-adv.hash b/package/batman-adv/batman-adv.hash index 14a92c231a..b95dfa34dd 100644 --- a/package/batman-adv/batman-adv.hash +++ b/package/batman-adv/batman-adv.hash @@ -1,7 +1,8 @@ -# From https://downloads.open-mesh.org/batman/releases/batman-adv-2022.2/batman-adv-2022.2.tar.gz.sha1 -sha1 e1829e10fc37ea674a20cb9ba1d6c1483042fbfa batman-adv-2022.2.tar.gz +# From https://downloads.open-mesh.org/batman/stable/sources/batman-adv/batman-adv-2023.1.tar.gz.sha1 +sha1 e3d6e8d4db772156d7ad021b9a166832633a2ea5 batman-adv-2023.1.tar.gz +# locally computed +sha256 f46a7286660a5ec3506a1be7ef60b471c51ac70550597d598040479ab7b936b8 batman-adv-2022.3.tar.gz # Hash for license files -sha256 218ffb534fead1c9b5b0d90ec1b2fba688209cdf00e861bece1cbf469fe69953 batman-adv-2022.3.tar.gz sha256 cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025 LICENSES/preferred/GPL-2.0 sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/preferred/MIT diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk index 75b8292ee1..5b50572d11 100644 --- a/package/batman-adv/batman-adv.mk +++ b/package/batman-adv/batman-adv.mk @@ -4,7 +4,7 @@ # ################################################################################ -BATMAN_ADV_VERSION = 2022.3 +BATMAN_ADV_VERSION = 2023.1 BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv BATMAN_ADV_LICENSE = GPL-2.0, MIT (batman_adv.h) BATMAN_ADV_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT From peter at korsgaard.com Thu Oct 12 16:41:08 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:41:08 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/linux-pam: needs gcc >= 4.9 Message-ID: <20231012164159.2079C84624@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=339c49c24134404f5da3d17e8e7a6a03302f158b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x linux-pam raises the following build failure with gcc 4.8 since bump to version 1.5.3 in commit f8147e27cdac8f998ec6644a09ce4e8d62b6433c and https://github.com/linux-pam/linux-pam/commit/8f9816b57e3a475fc2d2cbb106c188b778098f85: pam_access.c: In function 'pam_sm_authenticate': pam_access.c:1084:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; filename_list[i] != NULL; i++) { ^ Those build failures could be fixed by adding -std=c99 but then the build will fails because stdadtomic.h is mandatory since https://github.com/linux-pam/linux-pam/commit/a35e092e24ee7632346a0e1b4a203c04d4cd2c62 Fixes: - http://autobuild.buildroot.org/results/9b2ba987d2c873f4a7caea72707acb655279d16b Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c77e25c3f113c44d753dec308334e52e4c0bec6c) Signed-off-by: Peter Korsgaard --- package/linux-pam/Config.in | 5 +++-- package/nodm/Config.in | 5 +++-- package/openvmtools/Config.in | 5 +++-- package/php-pam/Config.in | 5 +++-- package/rsh-redone/Config.in | 11 +++++++---- package/shadow/Config.in | 6 ++++-- 6 files changed, 23 insertions(+), 14 deletions(-) diff --git a/package/linux-pam/Config.in b/package/linux-pam/Config.in index 27ba55bd61..b17716f2f7 100644 --- a/package/linux-pam/Config.in +++ b/package/linux-pam/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_LINUX_PAM depends on BR2_USE_WCHAR depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h select BR2_PACKAGE_FLEX help A Security Framework that Provides Authentication for @@ -11,7 +12,7 @@ config BR2_PACKAGE_LINUX_PAM http://linux-pam.org -comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library" +comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on BR2_USE_MMU depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/nodm/Config.in b/package/nodm/Config.in index 2dd6f1e1cf..52fd031b9b 100644 --- a/package/nodm/Config.in +++ b/package/nodm/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_NODM depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam depends on !BR2_STATIC_LIBS # linux-pam depends on BR2_USE_MMU # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_LINUX_PAM help @@ -17,7 +18,7 @@ config BR2_PACKAGE_NODM https://github.com/spanezz/nodm/ -comment "nodm needs a toolchain w/ wchar, locale, dynamic library" +comment "nodm needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on BR2_PACKAGE_XORG7 depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/openvmtools/Config.in b/package/openvmtools/Config.in index 67855f50e0..066a7a4736 100644 --- a/package/openvmtools/Config.in +++ b/package/openvmtools/Config.in @@ -32,13 +32,14 @@ config BR2_PACKAGE_OPENVMTOOLS_PAM bool "PAM support" # linux-pam needs locale and wchar, but we already have this # dependency on the main symbol, above. + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LINUX_PAM help Support for PAM in openvmtools -comment "PAM support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "PAM support needs a toolchain w/ dynamic library, gcc >= 4.9" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 config BR2_PACKAGE_OPENVMTOOLS_RESOLUTIONKMS bool "resolutionkms support" diff --git a/package/php-pam/Config.in b/package/php-pam/Config.in index 70f62a3180..c91fa8b6fe 100644 --- a/package/php-pam/Config.in +++ b/package/php-pam/Config.in @@ -4,13 +4,14 @@ config BR2_PACKAGE_PHP_PAM depends on BR2_USE_WCHAR # linux-pam depends on BR2_USE_MMU # linux-pam depends on !BR2_STATIC_LIBS # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_LINUX_PAM help PHP PAM (Pluggable Authentication Modules) integration https://pecl.php.net/package/PAM -comment "php-pam needs a toolchain w/ wchar, locale, dynamic library" +comment "php-pam needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on BR2_USE_MMU depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/rsh-redone/Config.in b/package/rsh-redone/Config.in index 53ff2bea7f..fed643def4 100644 --- a/package/rsh-redone/Config.in +++ b/package/rsh-redone/Config.in @@ -19,11 +19,13 @@ config BR2_PACKAGE_RSH_REDONE_RLOGIND depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR depends on !BR2_TOOLCHAIN_USES_MUSL depends on BR2_USE_MMU # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_LINUX_PAM -comment "rlogind needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" +comment "rlogind needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL + || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 config BR2_PACKAGE_RSH_REDONE_RSH bool "rsh" @@ -33,10 +35,11 @@ config BR2_PACKAGE_RSH_REDONE_RSHD depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_LINUX_PAM -comment "rshd needs a toolchain w/ wchar, locale, dynamic library" +comment "rshd needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 endif diff --git a/package/shadow/Config.in b/package/shadow/Config.in index e3580c2cf5..e85e5884d2 100644 --- a/package/shadow/Config.in +++ b/package/shadow/Config.in @@ -20,14 +20,16 @@ config BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID depends on BR2_ENABLE_LOCALE # linux-pam depends on BR2_USE_WCHAR # linux-pam depends on !BR2_STATIC_LIBS # linux-pam + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam select BR2_PACKAGE_LINUX_PAM help Install the user and group management tools (e.g. groupadd) with setuid and authenticate the callers via PAM. -comment "account-tools-setuid needs a toolchain w/ dynamic library, wchar, locale" +comment "account-tools-setuid needs a toolchain w/ dynamic library, wchar, locale, gcc >= 4.9" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \ + !BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 config BR2_PACKAGE_SHADOW_UTMPX bool "utmpx" From peter at korsgaard.com Thu Oct 12 16:39:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:39:42 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] boot/grub2: fix incompat e2fsprogs feature use Message-ID: <20231012164159.13C4384623@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=52369b5b7a2098594457d2f020f0ac5723e2b95e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x With bump of package/e2fsprogs to 1.47.0 [1] a freshly generated ext4 fs has unfortunately different default features enabled (e.g. metadata_csum_seed). This and some other newer fs features (e.g. large_dir) are however not supported by our grub2. Thus, newly generated ext-based rootfs won't be recognized by grub2 and are therefore not bootable/usable from grub2 anymore. This is an issue already known to other Linux derivates [2],[3],[4]. This commit introduces two additional upstream patches to package/grub2 which adds EXT4_FEATURE_INCOMPAT_CSUM_SEED and EXT4_FEATURE_INCOMPAT_LARGEDIR to the EXT2_DRIVER_IGNORED_INCOMPAT list of ignored incompatible ext features, allowing grub2 to use ext filesystems with these newer default feature sets. [1] https://git.buildroot.net/buildroot/commit/?id=6a21733f839478d902f3eab287a82b456e55f708 [2] https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1844012 [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031325 [4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030939 Signed-off-by: Jens Maus Signed-off-by: Peter Korsgaard (cherry picked from commit 9c25f1b51eeb988449ad0f1f524283ef5361ee4d) Signed-off-by: Peter Korsgaard --- ...xt2-Ignore-checksum-seed-incompat-feature.patch | 61 ++++++++++++++++++++++ ...xt2-Ignore-the-large_dir-incompat-feature.patch | 60 +++++++++++++++++++++ 2 files changed, 121 insertions(+) diff --git a/boot/grub2/0019-fs-ext2-Ignore-checksum-seed-incompat-feature.patch b/boot/grub2/0019-fs-ext2-Ignore-checksum-seed-incompat-feature.patch new file mode 100644 index 0000000000..9a913e2279 --- /dev/null +++ b/boot/grub2/0019-fs-ext2-Ignore-checksum-seed-incompat-feature.patch @@ -0,0 +1,61 @@ +From 7fd5feff97c4b1f446f8fcf6d37aca0c64e7c763 Mon Sep 17 00:00:00 2001 +From: Javier Martinez Canillas +Date: Fri, 11 Jun 2021 21:36:16 +0200 +Subject: [PATCH] fs/ext2: Ignore checksum seed incompat feature + +This incompat feature is used to denote that the filesystem stored its +metadata checksum seed in the superblock. This is used to allow tune2fs +changing the UUID on a mounted metdata_csum filesystem without having +to rewrite all the disk metadata. However, the GRUB doesn't use the +metadata checksum at all. So, it can just ignore this feature if it +is enabled. This is consistent with the GRUB filesystem code in general +which just does a best effort to access the filesystem's data. + +The checksum seed incompat feature has to be removed from the ignore +list if the support for metadata checksum verification is added to the +GRUB ext2 driver later. + +Suggested-by: Eric Sandeen +Suggested-by: Lukas Czerner +Signed-off-by: Javier Martinez Canillas +Reviewed-by: Lukas Czerner +Reviewed-by: Daniel Kiper +Upstream: 7fd5feff97c4b1f446f8fcf6d37aca0c64e7c763 +Signed-off-by: Jens Maus +--- + grub-core/fs/ext2.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +diff --git a/grub-core/fs/ext2.c b/grub-core/fs/ext2.c +index e7dd78e66..4953a1591 100644 +--- a/grub-core/fs/ext2.c ++++ b/grub-core/fs/ext2.c +@@ -103,6 +103,7 @@ GRUB_MOD_LICENSE ("GPLv3+"); + #define EXT4_FEATURE_INCOMPAT_64BIT 0x0080 + #define EXT4_FEATURE_INCOMPAT_MMP 0x0100 + #define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 ++#define EXT4_FEATURE_INCOMPAT_CSUM_SEED 0x2000 + #define EXT4_FEATURE_INCOMPAT_ENCRYPT 0x10000 + + /* The set of back-incompatible features this driver DOES support. Add (OR) +@@ -123,10 +124,15 @@ GRUB_MOD_LICENSE ("GPLv3+"); + * mmp: Not really back-incompatible - was added as such to + * avoid multiple read-write mounts. Safe to ignore for this + * RO driver. ++ * checksum seed: Not really back-incompatible - was added to allow tools ++ * such as tune2fs to change the UUID on a mounted metadata ++ * checksummed filesystem. Safe to ignore for now since the ++ * driver doesn't support checksum verification. However, it ++ * has to be removed from this list if the support is added later. + */ + #define EXT2_DRIVER_IGNORED_INCOMPAT ( EXT3_FEATURE_INCOMPAT_RECOVER \ +- | EXT4_FEATURE_INCOMPAT_MMP) +- ++ | EXT4_FEATURE_INCOMPAT_MMP \ ++ | EXT4_FEATURE_INCOMPAT_CSUM_SEED) + + #define EXT3_JOURNAL_MAGIC_NUMBER 0xc03b3998U + +-- +2.34.1 + diff --git a/boot/grub2/0020-fs-ext2-Ignore-the-large_dir-incompat-feature.patch b/boot/grub2/0020-fs-ext2-Ignore-the-large_dir-incompat-feature.patch new file mode 100644 index 0000000000..43b182f968 --- /dev/null +++ b/boot/grub2/0020-fs-ext2-Ignore-the-large_dir-incompat-feature.patch @@ -0,0 +1,60 @@ +From 2e9fa73a040462b81bfbfe56c0bc7ad2d30b446b Mon Sep 17 00:00:00 2001 +From: Theodore Ts'o +Date: Tue, 30 Aug 2022 22:41:59 -0400 +Subject: [PATCH] fs/ext2: Ignore the large_dir incompat feature + +Recently, ext4 added the large_dir feature, which adds support for +a 3 level htree directory support. + +The GRUB supports existing file systems with htree directories by +ignoring their existence, and since the index nodes for the hash tree +look like deleted directory entries (by design), the GRUB can simply do +a brute force O(n) linear search of directories. The same is true for +3 level deep htrees indicated by large_dir feature flag. + +Hence, it is safe for the GRUB to ignore the large_dir incompat feature. + +Fixes: https://savannah.gnu.org/bugs/?61606 + +Signed-off-by: Theodore Ts'o +Reviewed-by: Daniel Kiper +Upstream: 2e9fa73a040462b81bfbfe56c0bc7ad2d30b446b +Signed-off-by: Jens Maus +--- + grub-core/fs/ext2.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/grub-core/fs/ext2.c b/grub-core/fs/ext2.c +index 0989e26e1..e1cc5e62a 100644 +--- a/grub-core/fs/ext2.c ++++ b/grub-core/fs/ext2.c +@@ -104,6 +104,7 @@ GRUB_MOD_LICENSE ("GPLv3+"); + #define EXT4_FEATURE_INCOMPAT_MMP 0x0100 + #define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 + #define EXT4_FEATURE_INCOMPAT_CSUM_SEED 0x2000 ++#define EXT4_FEATURE_INCOMPAT_LARGEDIR 0x4000 /* >2GB or 3 level htree */ + #define EXT4_FEATURE_INCOMPAT_ENCRYPT 0x10000 + + /* The set of back-incompatible features this driver DOES support. Add (OR) +@@ -129,10 +130,17 @@ GRUB_MOD_LICENSE ("GPLv3+"); + * checksummed filesystem. Safe to ignore for now since the + * driver doesn't support checksum verification. However, it + * has to be removed from this list if the support is added later. ++ * large_dir: Not back-incompatible given that the GRUB ext2 driver does ++ * not implement EXT2_FEATURE_COMPAT_DIR_INDEX. If the GRUB ++ * eventually supports the htree feature (aka dir_index) ++ * it should support 3 level htrees and then move ++ * EXT4_FEATURE_INCOMPAT_LARGEDIR to ++ * EXT2_DRIVER_SUPPORTED_INCOMPAT. + */ + #define EXT2_DRIVER_IGNORED_INCOMPAT ( EXT3_FEATURE_INCOMPAT_RECOVER \ + | EXT4_FEATURE_INCOMPAT_MMP \ +- | EXT4_FEATURE_INCOMPAT_CSUM_SEED) ++ | EXT4_FEATURE_INCOMPAT_CSUM_SEED \ ++ | EXT4_FEATURE_INCOMPAT_LARGEDIR) + + #define EXT3_JOURNAL_MAGIC_NUMBER 0xc03b3998U + +-- +2.34.1 + From peter at korsgaard.com Thu Oct 12 16:47:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 18:47:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/linux-pam: needs gcc >= 4.9 In-Reply-To: <87edigaro0.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 12:20:31 +0200") References: <20230916135435.113400-1-fontaine.fabrice@gmail.com> <87edigaro0.fsf@48ers.dk> Message-ID: <87pm1j949i.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Fabrice" == Fabrice Fontaine writes: >> linux-pam raises the following build failure with gcc 4.8 since bump to >> version 1.5.3 in commit f8147e27cdac8f998ec6644a09ce4e8d62b6433c and >> https://github.com/linux-pam/linux-pam/commit/8f9816b57e3a475fc2d2cbb106c188b778098f85: >> pam_access.c: In function 'pam_sm_authenticate': >> pam_access.c:1084:13: error: 'for' loop initial declarations are only allowed in C99 mode >> for (int i = 0; filename_list[i] != NULL; i++) { >> ^ >> Those build failures could be fixed by adding -std=c99 but then the >> build will fails because stdadtomic.h is mandatory since >> https://github.com/linux-pam/linux-pam/commit/a35e092e24ee7632346a0e1b4a203c04d4cd2c62 >> Fixes: >> - http://autobuild.buildroot.org/results/9b2ba987d2c873f4a7caea72707acb655279d16b >> Signed-off-by: Fabrice Fontaine > Committed, thanks. Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 19:45:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 21:45:19 +0200 Subject: [Buildroot] [PATCH] package/gtkmm3: bump to version 3.24.8 In-Reply-To: <20230930054253.486201-2-dalang@gmx.at> (Daniel Lang's message of "Sat, 30 Sep 2023 07:42:52 +0200") References: <20230930054253.486201-2-dalang@gmx.at> Message-ID: <87lec78w1c.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > https://gitlab.gnome.org/GNOME/gtkmm/-/blob/3.24.8/NEWS > Signed-off-by: Daniel Lang Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Thu Oct 12 19:44:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 21:44:43 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gtkmm3: bump to version 3.24.8 Message-ID: <20231012194627.8422084627@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=789b30afd044e435aaf3d3488bd92ea5ee0d5eca branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://gitlab.gnome.org/GNOME/gtkmm/-/blob/3.24.8/NEWS Signed-off-by: Daniel Lang Signed-off-by: Thomas Petazzoni (cherry picked from commit 7a14ef1d24a43bf14b760b76870b30927e1bbb84) Signed-off-by: Peter Korsgaard --- package/gtkmm3/gtkmm3.hash | 4 ++-- package/gtkmm3/gtkmm3.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gtkmm3/gtkmm3.hash b/package/gtkmm3/gtkmm3.hash index c54862de67..9bfd68e027 100644 --- a/package/gtkmm3/gtkmm3.hash +++ b/package/gtkmm3/gtkmm3.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.7.sha256sum -sha256 1d7a35af9c5ceccacb244ee3c2deb9b245720d8510ac5c7e6f4b6f9947e6789c gtkmm-3.24.7.tar.xz +# From https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.8.sha256sum +sha256 d2940c64922e5b958554b23d4c41d1839ea9e43e0d2e5b3819cfb46824a098c4 gtkmm-3.24.8.tar.xz # Locally computed sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools diff --git a/package/gtkmm3/gtkmm3.mk b/package/gtkmm3/gtkmm3.mk index f5a2fee6b9..f4fc54849c 100644 --- a/package/gtkmm3/gtkmm3.mk +++ b/package/gtkmm3/gtkmm3.mk @@ -5,7 +5,7 @@ ################################################################################ GTKMM3_VERSION_MAJOR = 3.24 -GTKMM3_VERSION = $(GTKMM3_VERSION_MAJOR).7 +GTKMM3_VERSION = $(GTKMM3_VERSION_MAJOR).8 GTKMM3_SOURCE = gtkmm-$(GTKMM3_VERSION).tar.xz GTKMM3_SITE = https://download.gnome.org/sources/gtkmm/$(GTKMM3_VERSION_MAJOR) GTKMM3_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) From fontaine.fabrice at gmail.com Thu Oct 12 20:40:47 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 12 Oct 2023 22:40:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/pound: force libopenssl Message-ID: <20231012204047.243690-1-fontaine.fabrice@gmail.com> Force libopenssl to avoid the following build failure with libressl raised since bump to version 4.8 in commit 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: pound.c: In function 'main': pound.c:971:27: error: 'l_id' undeclared (first use in this function) 971 | CRYPTO_set_id_callback (l_id); | ^~~~ Fixes: - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c Signed-off-by: Fabrice Fontaine --- package/pound/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pound/Config.in b/package/pound/Config.in index 60fafff935..aa0f103273 100644 --- a/package/pound/Config.in +++ b/package/pound/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_POUND depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable -- 2.42.0 From fontaine.fabrice at gmail.com Thu Oct 12 21:13:57 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Thu, 12 Oct 2023 23:13:57 +0200 Subject: [Buildroot] [PATCH 1/1] package/netsnmp: fix musl build Message-ID: <20231012211357.643153-1-fontaine.fabrice@gmail.com> Fix the following musl build failure raised since bump to version 5.9.4 in commit 868603755c16296ae2a61845891edeafc36e48ca: large_fd_set.c: In function 'LFD_SET': ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? 1614 | #define NETSNMP_FD_MASK_TYPE unknown | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a Signed-off-by: Fabrice Fontaine --- ...onfiguration-of-NETSNMP_FD_MASK_TYPE.patch | 38 +++++++++++++++++++ package/netsnmp/netsnmp.mk | 2 + 2 files changed, 40 insertions(+) create mode 100644 package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch diff --git a/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch new file mode 100644 index 0000000000..91a00aec27 --- /dev/null +++ b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch @@ -0,0 +1,38 @@ +From a62169f1fa358be8f330ea8519ade0610fac525b Mon Sep 17 00:00:00 2001 +From: Adam Gajda +Date: Mon, 2 Oct 2023 16:40:31 +0200 +Subject: [PATCH] Fix configuration of NETSNMP_FD_MASK_TYPE + +Upstream: https://github.com/net-snmp/net-snmp/commit/a62169f1fa358be8f330ea8519ade0610fac525b +Signed-off-by: Fabrice Fontaine +--- + configure | 2 +- + configure.d/config_project_types | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 9f0a173d8a..945a27c663 100755 +--- a/configure ++++ b/configure +@@ -30871,7 +30871,7 @@ CFLAGS="$CFLAGS -Werror" + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits" >&5 + printf %s "checking for the type of fd_set::fds_bits... " >&6; } +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +diff --git a/configure.d/config_project_types b/configure.d/config_project_types +index 1b4c66b95e..a78e8ebb06 100644 +--- a/configure.d/config_project_types ++++ b/configure.d/config_project_types +@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -Werror" + + AC_MSG_CHECKING([for the type of fd_set::fds_bits]) +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include + #include diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index b0c35aa894..a79c13c611 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -40,6 +40,8 @@ NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true inst NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install NETSNMP_MAKE = $(MAKE1) NETSNMP_CONFIG_SCRIPTS = net-snmp-config +# We're patching configure.d/config_project_types +NETSNMP_AUTORECONF = YES define NETSNMP_USERS snmp -1 snmp -1 * - - - snmpd user -- 2.42.0 From thomas.petazzoni at bootlin.com Fri Oct 13 05:34:32 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Fri, 13 Oct 2023 05:34:32 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-12 Message-ID: <20231013053437.8D51261015@smtp3.osuosl.org> Hello, Autobuild statistics for 2023-10-12 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 14 | 4 | 0 | 18 | 2023.08.x | 11 | 7 | 1 | 19 | master | 75 | 107 | 2 | 184 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 13 spirv-tools-1.3.261.1 | 10 alsa-lib-1.2.10 | 7 gobject-introspection-1.76.1 | 6 alsa-utils-1.2.10 | 5 elfutils-0.189 | 5 unknown | 5 bird-2.0.12 | 3 mariadb-10.11.4 | 3 gcc-final-11.4.0 | 2 gcc-final-12.3.0 | 2 glibc-2.38-27-g750a45a78390... | 2 host-gcc-final-12.3.0 | 2 host-go-1.21.2 | 2 libarchive-3.7.2 | 2 libdill-32d0e8b733416208e04... | 2 pound-4.8 | 2 apcupsd-3.14.14 | 1 attr-2.5.1 | 1 bayer2rgb-neon-15feb1115b48... | 1 brltty-6.5 | 1 busybox-1.36.1 | 1 cryptodev-linux-1.13 | 1 flac-1.4.3 | 1 gcc-final-13.2.0 | 1 gdk-pixbuf-2.42.10 | 1 gobject-introspection | 1 heirloom-mailx | 1 host-gcc-final-11.4.0 | 1 host-ncurses-6.4-20230603 | 1 host-rust-1.71.1 | 1 libfreeimage-3.18.0 | 1 libnetfilter_log | 1 libostree-2023.6 | 1 libselinux-3.5 | 1 libsigsegv-2.14 | 1 libsoup-2.74.3 | 1 linux-5.10.162-cip24 | 1 linux-6.5.6 | 1 linux-pam-1.5.3 | 1 memcached-1.6.21 | 1 monit-5.33.0 | 1 nmap-7.92 | 1 open-iscsi-2.1.9 | 1 pdbg-3.5 | 1 perl-5.36.1 | 1 php-8.2.11 | 1 pppd-2.5.0 | 1 sdl-1.2.15 | 1 squid-6.2 | 1 util-linux-2.39.2 | 1 valgrind-3.21.0 | 1 xenomai-3.0.10 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- or1k | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/454a31890af8ef8ee20f5ed1adef41510410efcc | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f4b9f1e5c52a638baee6cc4a7ffcefebb1c08d2c | mips | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/6017d1d8457091bab740d12157f38227412f3666 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/97239d22fd6bad4c0a7a32b0d05584b2c575b1d7 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/695cbab333ca1334447788a09f1e9ee49c41269e | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a0302ba5998248c5fbbb0be263a3a7a9b7674f43 | armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/2c2b2a7233f0e92f2bc2bc8a978a822b2771c3cd | arm | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/17c63c038abd65dff751c85128a1b34427a27fbb | mips64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/1775cfe56c7d54130574ab57163822dd3e631c02 | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/dc9e8398c45663181620f9c0d1c0b9f4892fb904 | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/6bdfb4c8b1e4642314edf59e19ae9f8b84390112 | sh4 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/ecc9132414ddc8304e67ffd248d3b8cb42588595 | microblaze | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/6e0cbd6e214acff284546c438f8829cc07cdf387 | mips64 | attr-2.5.1 | NOK | http://autobuild.buildroot.net/results/f4d5d7c79ebe599337ac20d1298b3b9d14345700 | aarch64 | bayer2rgb-neon-15feb1115b48... | NOK | http://autobuild.buildroot.net/results/ca8d25df50ab25a01fa1b135c3c3879aa55a21c3 | sh4aeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/0f7670e71083ed994f10f82967a4ff3bddfa1515 | mips64el | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/2827f45076bf97b72e3446a84fc045fd0c2b04a0 | arc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/f077d3144e907d4b995fac1c32edbe05f71ec886 | nios2 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/ab4001df89038b7378453503eec34b8ee89f2550 | riscv32 | busybox-1.36.1 | NOK | http://autobuild.buildroot.net/results/d0e06f1ebe9b439ca5d241b70e9b0a66702791d4 | ORPH i686 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/f45e6f9dcfadba08050de48d673a3dc585424c80 | ORPH mips | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/a1547472dd89b8fac4d2b0fd6a59d9521328af3e | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/8bd3b9b7c882d16c4b98186a4dafa41c8460e78f | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/192e5458c2529d5737fff0a34d500a0909be6de1 | ORPH i586 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/df179c84afe7d587d37bf79b9828a8edcc998f32 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/4640a336c99675a4a75f9347122ae9ba063f2f57 | ORPH sh4aeb | flac-1.4.3 | NOK | http://autobuild.buildroot.net/results/660e551e7e58a236273f094a6915b35d3c43c65a | aarch64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/f62f282267c0879549e969462c1ee343191944cd | xtensa | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/cd50f2f362bbbcd224a11184aa281b5f26ded89e | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/fb0ddd774f997129f52cefde15db999e61a2ced8 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/75cdd8e978ea137dd7c492da9bac32912fb8f423 | xtensa | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/47d670ebfac0b617012d0a2fb86f35c831c23d97 | sparc | gdk-pixbuf-2.42.10 | NOK | http://autobuild.buildroot.net/results/142142cfeebcf0deb220e43480b16d2b2123d890 | ORPH powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/17868721069b9587476ea4c6b437626ae5b17f33 | powerpc64le | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/47284fcae1cbe9e3bb536fb2455a644c9dd58fa8 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/8299fd128422477f8367b52295c523fb444fcaae | s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/ea831518a1e4e72d4fa9481363d6e1d337dd05d9 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/df3fe3cc91630738a84c3fcc355f71df6ae12231 | ORPH sparc64 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/17c8ea0c730a43e55bc21b04376f822cf28a9a58 | ORPH nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/8af222d89323620d7694ab3134b9901596cd3614 | ORPH s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/c90e7347640cfa758dfdc6add739a83e1560cb17 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/aee385b64456886312f3d2348c60ae0a32c9c024 | ORPH armeb | heirloom-mailx | TIM | http://autobuild.buildroot.net/results/0e881260a7846d67e25bee0742a2c69641ce475b | microblazeel | host-gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/87428ea8b9e8231f6a817b941fd599884abc1bfd | microblaze | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/9d3727562232960e4cea28681ba32c46fc1c3c9a | arm | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/41ba2924775bec4e2d73a50c8be177a2f8f6b300 | mips64 | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/fa31138a0afdda7698301b5147531ec924f4b30a | i686 | host-go-1.21.2 | NOK | http://autobuild.buildroot.net/results/157711987663ddb51df310fec822fa70a8a5d4c8 | microblazeel | host-ncurses-6.4-20230603 | NOK | http://autobuild.buildroot.net/results/9c12f55cdf853ebd7bc9288aa02c359a45dd7740 | ORPH aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/773d6195ec1d65a41eb5e9c582458e7b9c449f9b | m68k | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/fbde23b13f515b7728fdf09cf226c7c5a1c3db4b | sh4aeb | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/690cea99c926b9347e399d5bdf594d1de9ac1f28 | mips | libdill-32d0e8b733416208e04... | NOK | http://autobuild.buildroot.net/results/a0b50ecfc42a072893f173b4d861abc8816ab799 | riscv32 | libdill-32d0e8b733416208e04... | NOK | http://autobuild.buildroot.net/results/0ac3e2ceebea0bbb47ed9174218079431c1acb6d | powerpc64 | libfreeimage-3.18.0 | NOK | http://autobuild.buildroot.net/results/54bb00d28525bc5773c114b43b1417fb565fdd8f | nios2 | libnetfilter_log | NOK | http://autobuild.buildroot.net/results/5800e81fadfb537847c6855e4c33a0532672364a | mips64el | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/3d6c925f03c671044cc2120b57f8112de7d50904 | nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/738bee35557d0623e8fa58f8967655509074ebf1 | arceb | libsigsegv-2.14 | NOK | http://autobuild.buildroot.net/results/394dff568fa01880a2ad36127a4c57037254c74f | sparc | libsoup-2.74.3 | NOK | http://autobuild.buildroot.net/results/50434b24ade1515c4b0f952816a262853d771649 | mips64el | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/ec3d007f6806e23d6c4f4e95f1c35b7287005d39 | ORPH mipsel | linux-6.5.6 | NOK | http://autobuild.buildroot.net/results/a227f09e3648c4389cedca295467364bee325153 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/f37e59abe8ee0714e3811aa879b56e68c3a53bac | ORPH or1k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/6467e53461e350715f2aeb12ee34ee5b7ce8508a | ORPH m68k | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/662c2d3d288df8ea833d6f09848e37ae16d2a74d | ORPH aarch64_be | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/3db8185d05d8595e5ae627f1e67e001e5c7784f9 | ORPH arceb | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/b025c357936be83ae1c84cf3685910f81e8e8f8c | ORPH aarch64_be | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/bdc0f6d54d80be51ea156ce94e787e05ee158f1d | mips64 | nmap-7.92 | NOK | http://autobuild.buildroot.net/results/a58f6a69f71718cf1d76e4d49ada75b28d3a2651 | ORPH powerpc64le | open-iscsi-2.1.9 | NOK | http://autobuild.buildroot.net/results/3c3072c4eb270052f2b6f8e7015cd4a44556751f | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/d5d0d26e4dcd0ecb0a2bf2b6c6d50339b4ea0a3a | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b55613680ea502c58ffb149dde505252c36128f2 | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c2c5bf3a7f0aefb7c0e0deb89a24d03c55ed05ad | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b161f0a1d2f13fbf9b7dad26eb8b6b98c2e8a6f5 | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7f79a1dab9bfbcf435003dbdc1a03be3e4d6ddc4 | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5c5418a0a223df9f18b682ad368be98b283d3c43 | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/42cb62aae5aedc632af0d424faa889e3c461dadf | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/f3659eb8a220d9200f3f08447e8da2feaf53841b | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9a56ed7f2bdc25e4cc3fbdaf58385bce2222becc | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/889f157860f4f350fa9f502bbd3e1b730c398000 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/31685306a258d640bc6d5f10a9f4eb05f491b448 | sh4aeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ae47fcfa115bc7bab93e5e88642c1db6f22cce70 | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a0aee6df974cf1a4896e39b61b74204d5f7474ac | powerpc64 | pdbg-3.5 | NOK | http://autobuild.buildroot.net/results/e3e17e6d26794e1bd0e5db9bfa30b80736f03fbf | aarch64_be | perl-5.36.1 | NOK | http://autobuild.buildroot.net/results/9763f08f7167a264ac62ca993adb53ec5f27fa26 | or1k | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/8bba9cba15c72aeb86559d7400f51a76153cd356 | sparc64 | pound-4.8 | NOK | http://autobuild.buildroot.net/results/43b2ef7b199b686b7c57e55ea54defb3eb9f25c9 | ORPH m68k | pound-4.8 | NOK | http://autobuild.buildroot.net/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c | ORPH sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/0570d9e4606a518da59c48cc12c40eb73bf723d2 | sh4a | sdl-1.2.15 | NOK | http://autobuild.buildroot.net/results/f996fe88d06b1870518d59f3a554d4ec3a84cd32 | ORPH i686 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5e7ee637173fa9631271733571fcb765f7635427 | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/56a23b2500dfa5f670dd0c97ff30c9dc0d10bad4 | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/d5a327f6b9e787168f062a70f18e5803091acd6a | ORPH x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/7854c3016255dd5ad0839436066f55fcddb1f5ab | ORPH mips64el | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/196bf27874aeb953e57ecb766ae31074a627ab20 | ORPH powerpc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/58f9aeade8ff5c2f38b51b76ee18a0ba1ab76b3c | ORPH powerpc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/57ca5dae5b523a9cf7821c1e48bd552c3f62e6db | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/c37aa23426b9af50354f3947afc3aff08d400a7d | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/881254c4dc297cda2b535627c19e81e2936d9213 | ORPH riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/ce92846706b8919af109556546fd9aaff174c4db | ORPH powerpc64le | squid-6.2 | NOK | http://autobuild.buildroot.net/results/c07f8c2cd1d10ae9559130d6056935975a573124 | ORPH powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/3dd960d68c6fbcd43492f04e724c387ea33c1c88 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/7ec2b6914ebaaed0a97cb1bdf9f7b8076d7eefd5 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/815158cf206c67a0d7b9d772d4ad8117b65cbbe4 | mipsel | unknown | NOK | http://autobuild.buildroot.net/results/28a22c29e3417d0aaae28c925edd82c26a703a56 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/02e9ee2181bab797114b4144c5c842f98e0dfb97 | arc | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/99b606d5a5f45228f4cdd55748080aa81c0aee07 | ORPH powerpc | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/8b1eb0e74cff41a4c15272bf7eab4826b795e806 | ORPH mips64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/edda2b407c5c5db21b1114303123ae10a92d7eaa | Classification of failures by reason for 2023.02.x -------------------------------------------------- ltp-testsuite-20220930 | 1 unknown | 1 valgrind-3.19.0 | 1 xvisor-0.3.1 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | ltp-testsuite-20220930 | NOK | http://autobuild.buildroot.net/results/e50d5234c1109ebb43b6a02c2ecb370995c32618 | mips | unknown | NOK | http://autobuild.buildroot.net/results/b1f22b0287a72df1cbf8c71a4b8d8e8dd57f2d1e | mips64el | valgrind-3.19.0 | NOK | http://autobuild.buildroot.net/results/a880018bb6b9d1678cd71f3d9bfbd5ba756fcc32 | ORPH aarch64 | xvisor-0.3.1 | NOK | http://autobuild.buildroot.net/results/049a35832e99ec55314763fd4df02b31f2e00f63 | Classification of failures by reason for 2023.08.x -------------------------------------------------- host-rust-1.71.1 | 2 libglib2-2.76.1 | 1 nodejs | 1 ruby-3.1.3 | 1 suricata-6.0.14 | 1 vlc-3.0.18 | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/c303b552779e994801eb69a8d0f794fca77c254e | s390x | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/d14c4c6a643c4aeb31400375b05a5e221824fba8 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/6cb46134c9180cbf0900594e0d6fe459c101d346 | i686 | nodejs | TIM | http://autobuild.buildroot.net/results/9925369b5049bb164a31a2150c0c2ca91b34ab27 | arc | ruby-3.1.3 | NOK | http://autobuild.buildroot.net/results/7a2c30adb9b78016ccbd4489449ba84d09b2427b | x86_64 | suricata-6.0.14 | NOK | http://autobuild.buildroot.net/results/fdf728ac0a4033547cc738cf8f99bed81f4dd27f | sh4a | vlc-3.0.18 | NOK | http://autobuild.buildroot.net/results/5543fecce7308470a3a006cd89c2216ee39c7e08 | aarch64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/953b6d0bed26a59ac4e99ce3ee27e4ee84ffe685 | -- http://autobuild.buildroot.net From peter at korsgaard.com Fri Oct 13 06:03:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:03:32 +0200 Subject: [Buildroot] [PATCH 1/4] board/freescale: fix arm-trusted-firmware for binutils 2.39+ In-Reply-To: <20230921215633.34828-1-brandon.maier@collins.com> (Brandon Maier via buildroot's message of "Thu, 21 Sep 2023 21:56:30 +0000") References: <20230921215633.34828-1-brandon.maier@collins.com> Message-ID: <87fs2f83ez.fsf@48ers.dk> >>>>> "Brandon" == Brandon Maier via buildroot writes: > The NXP arm-trusted-firmware forks use an older version of ATF that will > error with "LOAD segment with RWX permissions". Similar patches are > present in boot/arm-trusted-firmware/ for older ATF versions. > Signed-off-by: Brandon Maier Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:03:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:03:44 +0200 Subject: [Buildroot] [PATCH 2/4] board/freescale: fix imx arm-trusted-firmware for GCC12 In-Reply-To: <20230921215633.34828-2-brandon.maier@collins.com> (Brandon Maier via buildroot's message of "Thu, 21 Sep 2023 21:56:31 +0000") References: <20230921215633.34828-1-brandon.maier@collins.com> <20230921215633.34828-2-brandon.maier@collins.com> Message-ID: <87bkd383en.fsf@48ers.dk> >>>>> "Brandon" == Brandon Maier via buildroot writes: > The arm-trusted-firmware package for IMX boards fails due to a GCC bug. > See the attached patch description for detail. > Signed-off-by: Brandon Maier Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:05:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:05:39 +0200 Subject: [Buildroot] [PATCH next 1/1] package/pipewire: fix typo in Kconfig comment In-Reply-To: <87wmw78xvo.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 17:49:15 +0200") References: <20230815151700.18920-1-ju.o@free.fr> <87wmw78xvo.fsf@48ers.dk> Message-ID: <877cnr83bg.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Julien" == Julien Olivain writes: >> "NTPL" should read "NPTL" (Native POSIX Threads Library). >> Signed-off-by: Julien Olivain > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:08:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:08:01 +0200 Subject: [Buildroot] [PATCH v2] package/openblas: Add support for RISC-V architecture In-Reply-To: <20230924084615.2811477-1-peterlin@andestech.com> (Yu Chien Peter Lin's message of "Sun, 24 Sep 2023 16:46:15 +0800") References: <20230924084615.2811477-1-peterlin@andestech.com> Message-ID: <8734yf837i.fsf@48ers.dk> >>>>> "Yu" == Yu Chien Peter Lin writes: > OpenBLAS RISC-V 64bit support was added in [1] and was renamed to > "RISCV64_GENERIC" in [2]. Those commits were first included in > OpenBLAS release v0.3.13. This support can now be enabled. With this > commit, we can install the library and packages such as GNU Octave on > RISC-V platforms. > This patch also adjusts the alignment for adding "RISCV64_GENERIC" > in Config.in. > [1] https://github.com/OpenMathLib/OpenBLAS/commit/c167a3d6f41ed2f5680c2a72846b4c9b5d416543 > [2] https://github.com/OpenMathLib/OpenBLAS/commit/265ab484c89d10dfff2d5df678221918d7a880e3 > Signed-off-by: Yu Chien Peter Lin > Reviewed-by: Julien Olivain > Tested-by: Julien Olivain Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:10:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:10:39 +0200 Subject: [Buildroot] [git commit] package/python-mako: add missing dependency on python-markupsafe In-Reply-To: <20230930164848.D376D83C18@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 18:48:23 +0200") References: <20230930164848.D376D83C18@busybox.osuosl.org> Message-ID: <87wmvr6oio.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: https://git.buildroot.net/buildroot/commit/?id=2b506cb2dd031f2bdecc3c90111e31e145211d75 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Mako imports markupsafe so it needs to be selected when selecting > BR2_PACKAGE_PYTHON_MAKO. > Fixes: > https://bugs.busybox.net/show_bug.cgi?id=15628 > Signed-off-by: Sebastian Weyer > Signed-off-by: Thomas Petazzoni Committed to 2023.02.x and 2023.08.x, thanks. > --- > package/python-mako/Config.in | 1 + > 1 file changed, 1 insertion(+) > diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in > index 442e290efa..e6a10c9c2e 100644 > --- a/package/python-mako/Config.in > +++ b/package/python-mako/Config.in > @@ -1,5 +1,6 @@ > config BR2_PACKAGE_PYTHON_MAKO > bool "python-mako" > + select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime > help > Mako is a template library written in Python. It provides a > familiar, non-XML syntax which compiles into Python modules > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:12:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:12:15 +0200 Subject: [Buildroot] [git commit] package/python-mako: add optional runtime dependency on python-babel In-Reply-To: <20230930164849.0A38783C18@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 18:48:26 +0200") References: <20230930164849.0A38783C18@busybox.osuosl.org> Message-ID: <87sf6f6og0.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: https://git.buildroot.net/buildroot/commit/?id=411a3deb1a4850f4eeff3faebdb87b8ef544d650 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Some extensions of python-mako use python-babel, if they are used, > python-babel must be added as a runtime dependency. > Signed-off-by: Romain Naour > Signed-off-by: Thomas Petazzoni Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:12:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:12:21 +0200 Subject: [Buildroot] [git commit] package/python-mako: add optional runtime dependency on python-pygments In-Reply-To: <20230930164848.E53B683C1A@busybox.osuosl.org> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 18:48:25 +0200") References: <20230930164848.E53B683C1A@busybox.osuosl.org> Message-ID: <87o7h36ofu.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > commit: https://git.buildroot.net/buildroot/commit/?id=adb3f5a3e0d5bd6df60c91c46a03a2ff9c867dbb > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Some extensions of python-mako use python-pygments, if they are used, > python-pygments must be added as a runtime dependency. > Signed-off-by: Romain Naour > Signed-off-by: Thomas Petazzoni Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:14:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:14:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/olsr: fix build with gpsd >= 3.25 In-Reply-To: <87lecn8u3j.fsf@48ers.dk> (Peter Korsgaard's message of "Sat, 30 Sep 2023 19:10:56 +0200") References: <20230212130336.373391-1-fontaine.fabrice@gmail.com> <87lecn8u3j.fsf@48ers.dk> Message-ID: <87jzrr6ocw.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Fabrice" == Fabrice Fontaine writes: >> Fix the following build failure with gpsd >= 3.25 raised since commit >> 3c7fece853f3def9a425eccc384b9dacb1010051: >> In file included from src/configuration.h:50, >> from src/configuration.c:46: >> src/gpsdclient.h:64:8: error: redefinition of 'struct fixsource_t' >> 64 | struct fixsource_t { >> | ^~~~~~~~~~~ >> In file included from src/gpsdclient.h:49, >> from src/configuration.h:50, >> from src/configuration.c:46: >> /tmp/instance-17/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/gps.h:2714:8: note: originally defined here >> 2714 | struct fixsource_t >> | ^~~~~~~~~~~ >> Fixes: >> - http://autobuild.buildroot.org/results/47a619686bb47debd525c92aa7e14bee5c40ca9e >> Signed-off-by: Fabrice Fontaine > Yanns fix apprently never made it upstream, so committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:21:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:21:06 +0200 Subject: [Buildroot] [PATCH] package/gnu-efi: disable on mips64el In-Reply-To: <20230930102328.537070-1-thomas.petazzoni@bootlin.com> (Thomas Petazzoni via buildroot's message of "Sat, 30 Sep 2023 12:23:28 +0200") References: <20230930102328.537070-1-thomas.petazzoni@bootlin.com> Message-ID: <87fs2f6o19.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > The gnu-efi package was enabled on mips64el by commit > 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add > mips64el support"). However, it has been failing to build for a long > time, and nobody bothered fixing it: > gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format > Even reverting back to gnu-efi 3.0.10, which was the version used at > the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the > issue. We tested updating to the latest gnu-efi version, 3.0.17, and > the problem still exists. > Since EFI on MIPS is extremely niche, we don't really want to invest > the time to fix this issue, so let's disable it again. If someone > cares enough, it can be fixed and re-enabled. > Fixes: > http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/ > Signed-off-by: Thomas Petazzoni Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:21:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:21:59 +0200 Subject: [Buildroot] [PATCH 1/2] package/powertop: picutils is optional, not mandatory In-Reply-To: <20230929161208.1106775-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 29 Sep 2023 18:12:07 +0200") References: <20230929161208.1106775-1-fontaine.fabrice@gmail.com> Message-ID: <87bkd36nzs.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > pciutils is optional, not mandatory since version 2.1 and the addition > of the package in commit 0adc0e24eed72efca0097c7567319f07b8af6d94 and > https://github.com/fenrus75/powertop/commit/98ca605e7cf856795facc4a3a4f9c5b9baf1cab1 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 06:05:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:05:09 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/pipewire: fix typo in Kconfig comment Message-ID: <20231013062252.D26978468D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5a594e2cf854cfa747fd1d51f193c458ff942e7c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x "NTPL" should read "NPTL" (Native POSIX Threads Library). Signed-off-by: Julien Olivain Signed-off-by: Peter Korsgaard (cherry picked from commit b9300f70b26f15d4cc58c0d5cff17f86b6e43bf6) Signed-off-by: Peter Korsgaard --- package/pipewire/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index 4929e5d3d1..9d2de6c866 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -60,7 +60,7 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NPTL, gcc >= 5" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ From peter at korsgaard.com Fri Oct 13 06:11:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:11:59 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-mako: add optional runtime dependency on python-babel Message-ID: <20231013062253.05EB68468C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3ff6c0ba88543dc6e95a6cea172e567c1f751181 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Some extensions of python-mako use python-babel, if they are used, python-babel must be added as a runtime dependency. Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni (cherry picked from commit 411a3deb1a4850f4eeff3faebdb87b8ef544d650) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index 2e1094189f..7bba31943e 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -17,4 +17,11 @@ config BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN Provide python-pygments support for mako.ext.pygmentplugin +config BR2_PACKAGE_PYTHON_MAKO_EXT_BABELPLUGIN + bool "mako extension babelplugin" + select BR2_PACKAGE_PYTHON_BABEL # runtime + help + Provide python-babel support for + mako.ext.babelplugin + endif From peter at korsgaard.com Fri Oct 13 06:00:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:00:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] board/freescale: fix i.MX arm-trusted-firmware for GCC12 Message-ID: <20231013062252.C89EF8468C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5b1a3bd2c3314b2cc2b1b9ba13b62fe5b88c5b33 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The arm-trusted-firmware package for IMX boards fails due to a GCC bug. See the attached patch description for detail. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910620 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910622 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910624 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910627 Signed-off-by: Brandon Maier Signed-off-by: Thomas Petazzoni (cherry picked from commit 977965a83a2bc8da163ce45739c55bb775db55ce) Signed-off-by: Peter Korsgaard --- ...-fix-Makefile-Suppress-array-bounds-error.patch | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch b/board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch new file mode 100644 index 0000000000..7a7a7bbc28 --- /dev/null +++ b/board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch @@ -0,0 +1,51 @@ +From b2a94de52ae4a940a87d569815b19d3fa92dd32a Mon Sep 17 00:00:00 2001 +From: Tom Hochstein +Date: Mon, 16 May 2022 13:45:16 -0500 +Subject: [PATCH] LF-7968-01 fix(Makefile): Suppress array-bounds error + +The array-bounds error is triggered now in cases where it was silent +before, causing errors like: + +``` +plat/imx/imx8m/hab.c: In function 'imx_hab_handler': +plat/imx/imx8m/hab.c:64:57: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'unsigned int[]'} [-Werror=array-bounds] + 64 | #define HAB_RVT_CHECK_TARGET_ARM64 ((unsigned long)*(uint32_t *)(HAB_RVT_BASE + 0x18)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +``` + +The error is a false-positive and is entered as a bug [1]. The problem +is fixed partially in GCC 12 and fully in GCC 13 [2]. + +The partial fix does not work here because the constant addresses used +are less than the 4kB boundary chosen for the partial fix, so suppress +the error until GCC is upgraded to 13. + +[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 +[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578#c39 + +Upstream-Status: Inappropriate [other] +Signed-off-by: Tom Hochstein +Signed-off-by: Jacky Bai +Reviewed-by: Ye Li +Signed-off-by: Brandon Maier +Upstream: https://github.com/nxp-imx/imx-atf/commit/058bf0f104115037d03e277f079825ef3659c5b9 +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index c87c3ae08..2d6b90f47 100644 +--- a/Makefile ++++ b/Makefile +@@ -346,7 +346,7 @@ WARNINGS += -Wshift-overflow -Wshift-sign-overflow \ + endif + + ifneq (${E},0) +-ERRORS := -Werror ++ERRORS := -Werror -Wno-error=array-bounds + endif + + CPPFLAGS = ${DEFINES} ${INCLUDES} ${MBEDTLS_INC} -nostdinc \ +-- +2.41.0 + From peter at korsgaard.com Fri Oct 13 06:07:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:07:01 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/openblas: Add support for RISC-V architecture Message-ID: <20231013062252.DCEED8468E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=252b6ade2c0cfa2ee37ee274547344d64d785367 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x OpenBLAS RISC-V 64bit support was added in [1] and was renamed to "RISCV64_GENERIC" in [2]. Those commits were first included in OpenBLAS release v0.3.13. This support can now be enabled. With this commit, we can install the library and packages such as GNU Octave on RISC-V platforms. This patch also adjusts the alignment for adding "RISCV64_GENERIC" in Config.in. [1] https://github.com/OpenMathLib/OpenBLAS/commit/c167a3d6f41ed2f5680c2a72846b4c9b5d416543 [2] https://github.com/OpenMathLib/OpenBLAS/commit/265ab484c89d10dfff2d5df678221918d7a880e3 Signed-off-by: Yu Chien Peter Lin Reviewed-by: Julien Olivain Tested-by: Julien Olivain Signed-off-by: Peter Korsgaard (cherry picked from commit c789bcddf0fb17580bef0cdc45b5334a90ecdf13) Signed-off-by: Peter Korsgaard --- package/openblas/Config.in | 73 +++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/package/openblas/Config.in b/package/openblas/Config.in index 58976e657a..26a76d29fb 100644 --- a/package/openblas/Config.in +++ b/package/openblas/Config.in @@ -1,55 +1,56 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET string - default "P2" if BR2_x86_pentium2 - default "KATMAI" if BR2_x86_pentium3 - default "NORTHWOOD" if BR2_x86_pentium4 - default "PRESCOTT" if BR2_x86_prescott || BR2_x86_nocona - default "BANIAS" if BR2_x86_pentium_m - default "CORE2" if BR2_x86_core2 - default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont || BR2_x86_westmere - default "SANDYBRIDGE" if BR2_x86_corei7_avx - default "HASWELL" if BR2_x86_core_avx2 - default "ATOM" if BR2_x86_atom - default "ATHLON" if BR2_x86_athlon || BR2_x86_athlon_4 - default "OPTERON" if BR2_x86_opteron - default "OPTERON_SSE3" if BR2_x86_opteron_sse3 - default "BARCELONA" if BR2_x86_barcelona - default "BOBCAT" if BR2_x86_jaguar - default "STEAMROLLER" if BR2_x86_steamroller - default "VIAC3" if BR2_x86_c3 || BR2_x86_c32 - default "POWER4" if BR2_powerpc_power4 - default "POWER5" if BR2_powerpc_power5 - default "POWER6" if BR2_powerpc_power6 - default "POWER7" if BR2_powerpc_power7 - default "POWER8" if BR2_powerpc_power8 - default "PPCG4" if BR2_powerpc_7400 || BR2_powerpc_7450 - default "PPC970" if BR2_powerpc_970 - default "PPC440" if BR2_powerpc_440 - default "PPC440FP2" if BR2_powerpc_440fp + default "P2" if BR2_x86_pentium2 + default "KATMAI" if BR2_x86_pentium3 + default "NORTHWOOD" if BR2_x86_pentium4 + default "PRESCOTT" if BR2_x86_prescott || BR2_x86_nocona + default "BANIAS" if BR2_x86_pentium_m + default "CORE2" if BR2_x86_core2 + default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont || BR2_x86_westmere + default "SANDYBRIDGE" if BR2_x86_corei7_avx + default "HASWELL" if BR2_x86_core_avx2 + default "ATOM" if BR2_x86_atom + default "ATHLON" if BR2_x86_athlon || BR2_x86_athlon_4 + default "OPTERON" if BR2_x86_opteron + default "OPTERON_SSE3" if BR2_x86_opteron_sse3 + default "BARCELONA" if BR2_x86_barcelona + default "BOBCAT" if BR2_x86_jaguar + default "STEAMROLLER" if BR2_x86_steamroller + default "VIAC3" if BR2_x86_c3 || BR2_x86_c32 + default "POWER4" if BR2_powerpc_power4 + default "POWER5" if BR2_powerpc_power5 + default "POWER6" if BR2_powerpc_power6 + default "POWER7" if BR2_powerpc_power7 + default "POWER8" if BR2_powerpc_power8 + default "PPCG4" if BR2_powerpc_7400 || BR2_powerpc_7450 + default "PPC970" if BR2_powerpc_970 + default "PPC440" if BR2_powerpc_440 + default "PPC440FP2" if BR2_powerpc_440fp # P5600 is built with MSA support which is only available in Codescape toolchains - default "P5600" if BR2_mips_p5600 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS - default "SICORTEX" if BR2_MIPS_CPU_MIPS64 + default "P5600" if BR2_mips_p5600 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS + default "SICORTEX" if BR2_MIPS_CPU_MIPS64 # I6400 is built with MSA support which is only available in Codescape toolchains - default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS + default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS # OpenBLAS assumes SPARC=Sparc v9 - default "SPARC" if BR2_sparc_v9 + default "SPARC" if BR2_sparc_v9 # Cortex-A15 always have a VFPv4 - default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF) + default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF) # Cortex-A9 have an optional VFPv3, so we need to make sure it # is available - default "CORTEXA9" if (BR2_cortex_a9 && BR2_ARM_EABIHF && \ + default "CORTEXA9" if (BR2_cortex_a9 && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV3) - default "ARMV5" if BR2_ARM_CPU_ARMV5 + default "ARMV5" if BR2_ARM_CPU_ARMV5 # On ARMv6, OpenBLAS assumes that a VFP is available, and # EABIhf is used - default "ARMV6" if (BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && \ + default "ARMV6" if (BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV2) # On ARMv7, OpenBLAS assumes that a full VFPv3+ is available # (and not the more limited D16 variant), and that EABIhf is # used. - default "ARMV7" if (BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && \ + default "ARMV7" if (BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV3) - default "ARMV8" if BR2_aarch64 || BR2_aarch64_be + default "ARMV8" if BR2_aarch64 || BR2_aarch64_be + default "RISCV64_GENERIC" if BR2_RISCV_64 help OpenBLAS target CPU. See TargetList.txt in the source tree for the possible target strings. A possible value is set From peter at korsgaard.com Thu Oct 12 21:07:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Thu, 12 Oct 2023 23:07:59 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] board/freescale: fix arm-trusted-firmware for binutils 2.39+ Message-ID: <20231013062252.BBCD08468B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0c6524edfd0c6738ec0197fe00a73119d5ef77b8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The NXP arm-trusted-firmware forks use an older version of ATF that will error with "LOAD segment with RWX permissions". Similar patches are present in boot/arm-trusted-firmware/ for older ATF versions. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910852 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910630 https://gitlab.com/buildroot.org/buildroot/-/jobs/5134910631 (and a bunch of others which are not yet visible as they are hidden by other build issues) Signed-off-by: Brandon Maier Signed-off-by: Thomas Petazzoni (cherry picked from commit 8f3c940cbebbbdb5c94c41e60066d2f87ef13045) Signed-off-by: Peter Korsgaard --- ...ild-add-support-for-new-binutils-versions.patch | 61 ++++++++++++++++++++++ configs/freescale_imx8mmevk_defconfig | 1 + configs/freescale_imx8mnevk_defconfig | 1 + configs/freescale_imx8mpevk_defconfig | 1 + configs/freescale_imx8mqevk_defconfig | 1 + configs/freescale_imx8qmmek_defconfig | 1 + configs/freescale_imx8qxpmek_defconfig | 1 + configs/ls1028ardb_defconfig | 3 ++ 8 files changed, 70 insertions(+) diff --git a/board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch b/board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch new file mode 100644 index 0000000000..335c18553a --- /dev/null +++ b/board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch @@ -0,0 +1,61 @@ +From 0f75b03c008eacb9818af3a56dc088e72a623d17 Mon Sep 17 00:00:00 2001 +From: Marco Felsch +Date: Wed, 9 Nov 2022 12:59:09 +0100 +Subject: [PATCH] feat(build): add support for new binutils versions + +Users of GNU ld (BPF) from binutils 2.39+ will observe multiple instaces +of a new warning when linking the bl*.elf in the form: + + ld.bfd: warning: stm32mp1_helper.o: missing .note.GNU-stack section implies executable stack + ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker + ld.bfd: warning: bl2.elf has a LOAD segment with RWX permissions + ld.bfd: warning: bl32.elf has a LOAD segment with RWX permissions + +These new warnings are enbaled by default to secure elf binaries: + - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 + - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0d38576a34ec64a1b4500c9277a8e9d0f07e6774 + +Fix it in a similar way to what the Linux kernel does, see: +https://lore.kernel.org/all/20220810222442.2296651-1-ndesaulniers at google.com/ + +Following the reasoning there, we set "-z noexecstack" for all linkers +(although LLVM's LLD defaults to it) and optional add +--no-warn-rwx-segments since this a ld.bfd related. + +Signed-off-by: Marco Felsch +Signed-off-by: Robert Schwebel +Change-Id: I9430f5fa5036ca88da46cd3b945754d62616b617 +Signed-off-by: Heiko Thiery +Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/1f49db5f25cdd4e43825c9bcc0575070b80f628c +--- + Makefile | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 1ddb7b844..470956b19 100644 +--- a/Makefile ++++ b/Makefile +@@ -416,6 +416,8 @@ endif + + GCC_V_OUTPUT := $(shell $(CC) -v 2>&1) + ++TF_LDFLAGS += -z noexecstack ++ + # LD = armlink + ifneq ($(findstring armlink,$(notdir $(LD))),) + TF_LDFLAGS += --diag_error=warning --lto_level=O1 +@@ -442,7 +444,10 @@ TF_LDFLAGS += $(subst --,-Xlinker --,$(TF_LDFLAGS_$(ARCH))) + + # LD = gcc-ld (ld) or llvm-ld (ld.lld) or other + else +-TF_LDFLAGS += --fatal-warnings -O1 ++# With ld.bfd version 2.39 and newer new warnings are added. Skip those since we ++# are not loaded by a elf loader. ++TF_LDFLAGS += $(call ld_option, --no-warn-rwx-segments) ++TF_LDFLAGS += -O1 + TF_LDFLAGS += --gc-sections + # ld.lld doesn't recognize the errata flags, + # therefore don't add those in that case +-- +2.30.2 + diff --git a/configs/freescale_imx8mmevk_defconfig b/configs/freescale_imx8mmevk_defconfig index dcb4b42540..ca5c308da6 100644 --- a/configs/freescale_imx8mmevk_defconfig +++ b/configs/freescale_imx8mmevk_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mm-evk.dtb" diff --git a/configs/freescale_imx8mnevk_defconfig b/configs/freescale_imx8mnevk_defconfig index 0653978d91..ac73bea769 100644 --- a/configs/freescale_imx8mnevk_defconfig +++ b/configs/freescale_imx8mnevk_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mn-ddr4-evk.dtb" diff --git a/configs/freescale_imx8mpevk_defconfig b/configs/freescale_imx8mpevk_defconfig index 5a72406b67..913c190d87 100644 --- a/configs/freescale_imx8mpevk_defconfig +++ b/configs/freescale_imx8mpevk_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mp-evk.dtb" diff --git a/configs/freescale_imx8mqevk_defconfig b/configs/freescale_imx8mqevk_defconfig index e3f88dc44c..79375d7f88 100644 --- a/configs/freescale_imx8mqevk_defconfig +++ b/configs/freescale_imx8mqevk_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mq-evk.dtb" diff --git a/configs/freescale_imx8qmmek_defconfig b/configs/freescale_imx8qmmek_defconfig index 75777646df..0fc3fe7b07 100644 --- a/configs/freescale_imx8qmmek_defconfig +++ b/configs/freescale_imx8qmmek_defconfig @@ -1,6 +1,7 @@ BR2_aarch64=y BR2_ARM_FPU_VFPV4=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8qm-mek.dtb" BR2_LINUX_KERNEL=y diff --git a/configs/freescale_imx8qxpmek_defconfig b/configs/freescale_imx8qxpmek_defconfig index ce8f6b7c84..47a2104d5b 100644 --- a/configs/freescale_imx8qxpmek_defconfig +++ b/configs/freescale_imx8qxpmek_defconfig @@ -2,6 +2,7 @@ BR2_aarch64=y BR2_cortex_a35=y BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" BR2_TARGET_GENERIC_GETTY_PORT="ttyLP0" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8qxp-mek.dtb" diff --git a/configs/ls1028ardb_defconfig b/configs/ls1028ardb_defconfig index a46b94511a..d92c543b44 100644 --- a/configs/ls1028ardb_defconfig +++ b/configs/ls1028ardb_defconfig @@ -2,6 +2,9 @@ BR2_aarch64=y BR2_cortex_a72=y +# patches +BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" + # Toolchain # Linux headers same as kernel, a 5.10 series BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y From peter at korsgaard.com Fri Oct 13 06:11:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:11:53 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-mako: add optional runtime dependency on python-pygments Message-ID: <20231013062252.F12568468B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=889446cf967547963bfe62576a67f41e2b9aff78 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Some extensions of python-mako use python-pygments, if they are used, python-pygments must be added as a runtime dependency. Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni (cherry picked from commit adb3f5a3e0d5bd6df60c91c46a03a2ff9c867dbb) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index e6a10c9c2e..2e1094189f 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -7,3 +7,14 @@ config BR2_PACKAGE_PYTHON_MAKO for maximum performance. https://pypi.python.org/pypi/Mako + +if BR2_PACKAGE_PYTHON_MAKO + +config BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN + bool "mako extension pygmentplugin" + select BR2_PACKAGE_PYTHON_PYGMENTS # runtime + help + Provide python-pygments support for + mako.ext.pygmentplugin + +endif From peter at korsgaard.com Fri Oct 13 06:20:31 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:20:31 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gnu-efi: disable on mips64el Message-ID: <20231013062253.1A80F8468E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fb3aef53d22aed75f31d1c8327cad8150a8b34fa branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The gnu-efi package was enabled on mips64el by commit 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add mips64el support"). However, it has been failing to build for a long time, and nobody bothered fixing it: gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format Even reverting back to gnu-efi 3.0.10, which was the version used at the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the issue. We tested updating to the latest gnu-efi version, 3.0.17, and the problem still exists. Since EFI on MIPS is extremely niche, we don't really want to invest the time to fix this issue, so let's disable it again. If someone cares enough, it can be fixed and re-enabled. Fixes: http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/ Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 13b0e6bbf3b1473993972fff8e4590a28749d823) Signed-off-by: Peter Korsgaard --- package/gnu-efi/Config.in | 1 - package/gnu-efi/gnu-efi.mk | 2 -- 2 files changed, 3 deletions(-) diff --git a/package/gnu-efi/Config.in b/package/gnu-efi/Config.in index 8e35fddbcb..d456a23837 100644 --- a/package/gnu-efi/Config.in +++ b/package/gnu-efi/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_aarch64_be default y if BR2_i386 - default y if BR2_mips64el default y if BR2_x86_64 config BR2_PACKAGE_GNU_EFI diff --git a/package/gnu-efi/gnu-efi.mk b/package/gnu-efi/gnu-efi.mk index 93b5888370..686a14be01 100644 --- a/package/gnu-efi/gnu-efi.mk +++ b/package/gnu-efi/gnu-efi.mk @@ -24,8 +24,6 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y) GNU_EFI_PLATFORM = arm else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) GNU_EFI_PLATFORM = aarch64 -else ifeq ($(BR2_mips64el),y) -GNU_EFI_PLATFORM = mips64el endif GNU_EFI_MAKE_OPTS = \ From peter at korsgaard.com Fri Oct 13 06:21:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:21:42 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/powertop: picutils is optional, not mandatory Message-ID: <20231013062253.248C08468B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f8483dbae4c72491792d6efb9b5cdacc485b8eb9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x pciutils is optional, not mandatory since version 2.1 and the addition of the package in commit 0adc0e24eed72efca0097c7567319f07b8af6d94 and https://github.com/fenrus75/powertop/commit/98ca605e7cf856795facc4a3a4f9c5b9baf1cab1 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: - one item per multi-line in _DEPENDENCIES - reorder _DEPENDENCIES ] Signed-off-by: Yann E. MORIN (cherry picked from commit bcfcc07413c9e5222ad82552208c7b17ffb17105) Signed-off-by: Peter Korsgaard --- package/powertop/Config.in | 1 - package/powertop/powertop.mk | 10 ++++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/powertop/Config.in b/package/powertop/Config.in index 0f323a7bfb..fd88a3d0eb 100644 --- a/package/powertop/Config.in +++ b/package/powertop/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_POWERTOP depends on BR2_TOOLCHAIN_HAS_THREADS # libnl depends on BR2_USE_WCHAR select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_PCIUTILS select BR2_PACKAGE_LIBNL help A tool to diagnose issues with power consumption and power diff --git a/package/powertop/powertop.mk b/package/powertop/powertop.mk index c3e8d2549c..e035868fa9 100644 --- a/package/powertop/powertop.mk +++ b/package/powertop/powertop.mk @@ -6,10 +6,16 @@ POWERTOP_VERSION = 2.13 POWERTOP_SITE = https://01.org/sites/default/files/downloads -POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-pkgconf \ - $(TARGET_NLS_DEPENDENCIES) POWERTOP_LICENSE = GPL-2.0 POWERTOP_LICENSE_FILES = COPYING + +POWERTOP_DEPENDENCIES = \ + host-pkgconf \ + libnl \ + ncurses \ + $(if $(BR2_PACKAGE_PCIUTILS),pciutils) \ + $(TARGET_NLS_DEPENDENCIES) + POWERTOP_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) # 0001-dont-force-stack-smashing-protection.patch POWERTOP_AUTORECONF = YES From peter at korsgaard.com Fri Oct 13 06:09:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:09:20 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-mako: add missing dependency on python-markupsafe Message-ID: <20231013062252.E676484690@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b370a3bfab44c2343deb56935653de6dee28e702 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Mako imports markupsafe so it needs to be selected when selecting BR2_PACKAGE_PYTHON_MAKO. Fixes: https://bugs.busybox.net/show_bug.cgi?id=15628 Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni (cherry picked from commit 2b506cb2dd031f2bdecc3c90111e31e145211d75) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index 442e290efa..e6a10c9c2e 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_MAKO bool "python-mako" + select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime help Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules From peter at korsgaard.com Fri Oct 13 06:14:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:14:02 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/olsr: fix build with gpsd >= 3.25 Message-ID: <20231013062253.111F08468D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7f420077e0d4664feb7fc5fdc6fcba29b48b27c3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix the following build failure with gpsd >= 3.25 raised since commit 3c7fece853f3def9a425eccc384b9dacb1010051: In file included from src/configuration.h:50, from src/configuration.c:46: src/gpsdclient.h:64:8: error: redefinition of 'struct fixsource_t' 64 | struct fixsource_t { | ^~~~~~~~~~~ In file included from src/gpsdclient.h:49, from src/configuration.h:50, from src/configuration.c:46: /tmp/instance-17/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/gps.h:2714:8: note: originally defined here 2714 | struct fixsource_t | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/47a619686bb47debd525c92aa7e14bee5c40ca9e Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 4c32b3d9ff8727fd61dbf2d55105c2900f0d2dec) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 1 + package/olsr/0006-build-patch-for-gpsd-3-25.patch | 31 +++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/.checkpackageignore b/.checkpackageignore index 44220bbb55..1ff0f4e0c0 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1038,6 +1038,7 @@ package/olsr/0001-olsrd-migrate-to-using-bison-3.7.1.patch Upstream package/olsr/0002-lib-pud-Makefile-fix-parallel-build.patch Upstream package/olsr/0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch Upstream package/olsr/0005-lib-pud-src-gpsdclient.c-drop-handling-of-gpsdata-fi.patch Upstream +package/olsr/0006-build-patch-for-gpsd-3-25.patch Upstream package/olsr/S50olsr Indent Shellcheck Variables package/omxplayer/0001-Update-Makefile-to-be-compatible-with-buildroot.patch Upstream package/open-iscsi/0001-SHA3-is-not-supported-by-libressl.patch Upstream diff --git a/package/olsr/0006-build-patch-for-gpsd-3-25.patch b/package/olsr/0006-build-patch-for-gpsd-3-25.patch new file mode 100644 index 0000000000..c82bc1bb28 --- /dev/null +++ b/package/olsr/0006-build-patch-for-gpsd-3-25.patch @@ -0,0 +1,31 @@ +From 17d583258969c1d182361e0e168b3cad79ef64e6 Mon Sep 17 00:00:00 2001 +From: Rui Chen +Date: Mon, 16 Jan 2023 18:35:32 -0500 +Subject: [PATCH] build: patch for gpsd 3.25 + +Signed-off-by: Rui Chen +[Retrieved from: https://github.com/OLSR/olsrd/pull/119] +Signed-off-by: Fabrice Fontaine +--- + lib/pud/src/gpsdclient.h | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/lib/pud/src/gpsdclient.h b/lib/pud/src/gpsdclient.h +index 061056b12..a51dd2211 100644 +--- a/lib/pud/src/gpsdclient.h ++++ b/lib/pud/src/gpsdclient.h +@@ -60,14 +60,6 @@ struct GpsdConnectionState { + struct devconfig_t dev[MAXUSERDEVS]; + }; + +-/* describe a data source */ +-struct fixsource_t { +- char spec[PATH_MAX]; /* working space, will be modified */ +- char *server; /* pointer into spec field */ +- char *port; /* pointer into spec field */ +- char *device; /* pointer into spec field */ +-}; +- + /** + * The gpsd daemon spec + */ From peter at korsgaard.com Fri Oct 13 06:11:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:11:47 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-mako: add optional runtime dependency on python-pygments Message-ID: <20231013062403.958D6846AC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=371018f7c4678768aae6b0fbbbad55fe82f22eff branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Some extensions of python-mako use python-pygments, if they are used, python-pygments must be added as a runtime dependency. Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni (cherry picked from commit adb3f5a3e0d5bd6df60c91c46a03a2ff9c867dbb) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index e6a10c9c2e..2e1094189f 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -7,3 +7,14 @@ config BR2_PACKAGE_PYTHON_MAKO for maximum performance. https://pypi.python.org/pypi/Mako + +if BR2_PACKAGE_PYTHON_MAKO + +config BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN + bool "mako extension pygmentplugin" + select BR2_PACKAGE_PYTHON_PYGMENTS # runtime + help + Provide python-pygments support for + mako.ext.pygmentplugin + +endif From peter at korsgaard.com Fri Oct 13 06:13:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:13:15 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/olsr: fix build with gpsd >= 3.25 Message-ID: <20231013062403.A7202846C2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=40f8284dd627910603ce86cdc79691dd3df214f2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix the following build failure with gpsd >= 3.25 raised since commit 3c7fece853f3def9a425eccc384b9dacb1010051: In file included from src/configuration.h:50, from src/configuration.c:46: src/gpsdclient.h:64:8: error: redefinition of 'struct fixsource_t' 64 | struct fixsource_t { | ^~~~~~~~~~~ In file included from src/gpsdclient.h:49, from src/configuration.h:50, from src/configuration.c:46: /tmp/instance-17/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/gps.h:2714:8: note: originally defined here 2714 | struct fixsource_t | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/47a619686bb47debd525c92aa7e14bee5c40ca9e Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 4c32b3d9ff8727fd61dbf2d55105c2900f0d2dec) Signed-off-by: Peter Korsgaard --- package/olsr/0006-build-patch-for-gpsd-3-25.patch | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/package/olsr/0006-build-patch-for-gpsd-3-25.patch b/package/olsr/0006-build-patch-for-gpsd-3-25.patch new file mode 100644 index 0000000000..c82bc1bb28 --- /dev/null +++ b/package/olsr/0006-build-patch-for-gpsd-3-25.patch @@ -0,0 +1,31 @@ +From 17d583258969c1d182361e0e168b3cad79ef64e6 Mon Sep 17 00:00:00 2001 +From: Rui Chen +Date: Mon, 16 Jan 2023 18:35:32 -0500 +Subject: [PATCH] build: patch for gpsd 3.25 + +Signed-off-by: Rui Chen +[Retrieved from: https://github.com/OLSR/olsrd/pull/119] +Signed-off-by: Fabrice Fontaine +--- + lib/pud/src/gpsdclient.h | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/lib/pud/src/gpsdclient.h b/lib/pud/src/gpsdclient.h +index 061056b12..a51dd2211 100644 +--- a/lib/pud/src/gpsdclient.h ++++ b/lib/pud/src/gpsdclient.h +@@ -60,14 +60,6 @@ struct GpsdConnectionState { + struct devconfig_t dev[MAXUSERDEVS]; + }; + +-/* describe a data source */ +-struct fixsource_t { +- char spec[PATH_MAX]; /* working space, will be modified */ +- char *server; /* pointer into spec field */ +- char *port; /* pointer into spec field */ +- char *device; /* pointer into spec field */ +-}; +- + /** + * The gpsd daemon spec + */ From peter at korsgaard.com Fri Oct 13 06:05:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:05:15 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/pipewire: fix typo in Kconfig comment Message-ID: <20231013062403.6EDFC846AC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e3994a549fb995ff0176693d29285b926c0a955e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x "NTPL" should read "NPTL" (Native POSIX Threads Library). Signed-off-by: Julien Olivain Signed-off-by: Peter Korsgaard (cherry picked from commit b9300f70b26f15d4cc58c0d5cff17f86b6e43bf6) Signed-off-by: Peter Korsgaard --- package/pipewire/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index 4929e5d3d1..9d2de6c866 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -60,7 +60,7 @@ comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" endif -comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" +comment "pipewire needs a toolchain w/ dynamic library, NPTL, gcc >= 5" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ From peter at korsgaard.com Fri Oct 13 06:21:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:21:36 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/powertop: picutils is optional, not mandatory Message-ID: <20231013062403.B9C94846B4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dd6ec5949eee32654709b074e20ca11046ad4f3b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x pciutils is optional, not mandatory since version 2.1 and the addition of the package in commit 0adc0e24eed72efca0097c7567319f07b8af6d94 and https://github.com/fenrus75/powertop/commit/98ca605e7cf856795facc4a3a4f9c5b9baf1cab1 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: - one item per multi-line in _DEPENDENCIES - reorder _DEPENDENCIES ] Signed-off-by: Yann E. MORIN (cherry picked from commit bcfcc07413c9e5222ad82552208c7b17ffb17105) Signed-off-by: Peter Korsgaard --- package/powertop/Config.in | 1 - package/powertop/powertop.mk | 10 ++++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/powertop/Config.in b/package/powertop/Config.in index 0f323a7bfb..fd88a3d0eb 100644 --- a/package/powertop/Config.in +++ b/package/powertop/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_POWERTOP depends on BR2_TOOLCHAIN_HAS_THREADS # libnl depends on BR2_USE_WCHAR select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_PCIUTILS select BR2_PACKAGE_LIBNL help A tool to diagnose issues with power consumption and power diff --git a/package/powertop/powertop.mk b/package/powertop/powertop.mk index c3e8d2549c..e035868fa9 100644 --- a/package/powertop/powertop.mk +++ b/package/powertop/powertop.mk @@ -6,10 +6,16 @@ POWERTOP_VERSION = 2.13 POWERTOP_SITE = https://01.org/sites/default/files/downloads -POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-pkgconf \ - $(TARGET_NLS_DEPENDENCIES) POWERTOP_LICENSE = GPL-2.0 POWERTOP_LICENSE_FILES = COPYING + +POWERTOP_DEPENDENCIES = \ + host-pkgconf \ + libnl \ + ncurses \ + $(if $(BR2_PACKAGE_PCIUTILS),pciutils) \ + $(TARGET_NLS_DEPENDENCIES) + POWERTOP_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) # 0001-dont-force-stack-smashing-protection.patch POWERTOP_AUTORECONF = YES From peter at korsgaard.com Fri Oct 13 06:06:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:06:52 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/openblas: Add support for RISC-V architecture Message-ID: <20231013062403.83DF7846B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=91821019604a369af5d236685062f33824cb2f1e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x OpenBLAS RISC-V 64bit support was added in [1] and was renamed to "RISCV64_GENERIC" in [2]. Those commits were first included in OpenBLAS release v0.3.13. This support can now be enabled. With this commit, we can install the library and packages such as GNU Octave on RISC-V platforms. This patch also adjusts the alignment for adding "RISCV64_GENERIC" in Config.in. [1] https://github.com/OpenMathLib/OpenBLAS/commit/c167a3d6f41ed2f5680c2a72846b4c9b5d416543 [2] https://github.com/OpenMathLib/OpenBLAS/commit/265ab484c89d10dfff2d5df678221918d7a880e3 Signed-off-by: Yu Chien Peter Lin Reviewed-by: Julien Olivain Tested-by: Julien Olivain Signed-off-by: Peter Korsgaard (cherry picked from commit c789bcddf0fb17580bef0cdc45b5334a90ecdf13) Signed-off-by: Peter Korsgaard --- package/openblas/Config.in | 73 +++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/package/openblas/Config.in b/package/openblas/Config.in index 0144e93a3f..4a5f08783c 100644 --- a/package/openblas/Config.in +++ b/package/openblas/Config.in @@ -1,55 +1,56 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET string - default "P2" if BR2_x86_pentium2 - default "KATMAI" if BR2_x86_pentium3 - default "NORTHWOOD" if BR2_x86_pentium4 - default "PRESCOTT" if BR2_x86_prescott || BR2_x86_nocona - default "BANIAS" if BR2_x86_pentium_m - default "CORE2" if BR2_x86_core2 - default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont || BR2_x86_westmere - default "SANDYBRIDGE" if BR2_x86_corei7_avx - default "HASWELL" if BR2_x86_core_avx2 - default "ATOM" if BR2_x86_atom - default "ATHLON" if BR2_x86_athlon || BR2_x86_athlon_4 - default "OPTERON" if BR2_x86_opteron - default "OPTERON_SSE3" if BR2_x86_opteron_sse3 - default "BARCELONA" if BR2_x86_barcelona - default "BOBCAT" if BR2_x86_jaguar - default "STEAMROLLER" if BR2_x86_steamroller - default "VIAC3" if BR2_x86_c3 || BR2_x86_c32 - default "POWER4" if BR2_powerpc_power4 - default "POWER5" if BR2_powerpc_power5 - default "POWER6" if BR2_powerpc_power6 - default "POWER7" if BR2_powerpc_power7 - default "POWER8" if BR2_powerpc_power8 - default "PPCG4" if BR2_powerpc_7400 || BR2_powerpc_7450 - default "PPC970" if BR2_powerpc_970 - default "PPC440" if BR2_powerpc_440 - default "PPC440FP2" if BR2_powerpc_440fp + default "P2" if BR2_x86_pentium2 + default "KATMAI" if BR2_x86_pentium3 + default "NORTHWOOD" if BR2_x86_pentium4 + default "PRESCOTT" if BR2_x86_prescott || BR2_x86_nocona + default "BANIAS" if BR2_x86_pentium_m + default "CORE2" if BR2_x86_core2 + default "NEHALEM" if BR2_x86_corei7 || BR2_x86_silvermont || BR2_x86_westmere + default "SANDYBRIDGE" if BR2_x86_corei7_avx + default "HASWELL" if BR2_x86_core_avx2 + default "ATOM" if BR2_x86_atom + default "ATHLON" if BR2_x86_athlon || BR2_x86_athlon_4 + default "OPTERON" if BR2_x86_opteron + default "OPTERON_SSE3" if BR2_x86_opteron_sse3 + default "BARCELONA" if BR2_x86_barcelona + default "BOBCAT" if BR2_x86_jaguar + default "STEAMROLLER" if BR2_x86_steamroller + default "VIAC3" if BR2_x86_c3 || BR2_x86_c32 + default "POWER4" if BR2_powerpc_power4 + default "POWER5" if BR2_powerpc_power5 + default "POWER6" if BR2_powerpc_power6 + default "POWER7" if BR2_powerpc_power7 + default "POWER8" if BR2_powerpc_power8 + default "PPCG4" if BR2_powerpc_7400 || BR2_powerpc_7450 + default "PPC970" if BR2_powerpc_970 + default "PPC440" if BR2_powerpc_440 + default "PPC440FP2" if BR2_powerpc_440fp # P5600 is built with MSA support which is only available in Codescape toolchains - default "P5600" if BR2_mips_p5600 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS - default "SICORTEX" if BR2_MIPS_CPU_MIPS64 + default "P5600" if BR2_mips_p5600 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS + default "SICORTEX" if BR2_MIPS_CPU_MIPS64 # I6400 is built with MSA support which is only available in Codescape toolchains - default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS + default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS # OpenBLAS assumes SPARC=Sparc v9 - default "SPARC" if BR2_sparc_v9 + default "SPARC" if BR2_sparc_v9 # Cortex-A15 always have a VFPv4 - default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF) + default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF) # Cortex-A9 have an optional VFPv3, so we need to make sure it # is available - default "CORTEXA9" if (BR2_cortex_a9 && BR2_ARM_EABIHF && \ + default "CORTEXA9" if (BR2_cortex_a9 && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV3) - default "ARMV5" if BR2_ARM_CPU_ARMV5 + default "ARMV5" if BR2_ARM_CPU_ARMV5 # On ARMv6, OpenBLAS assumes that a VFP is available, and # EABIhf is used - default "ARMV6" if (BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && \ + default "ARMV6" if (BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV2) # On ARMv7, OpenBLAS assumes that a full VFPv3+ is available # (and not the more limited D16 variant), and that EABIhf is # used. - default "ARMV7" if (BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && \ + default "ARMV7" if (BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && \ BR2_ARM_CPU_HAS_VFPV3) - default "ARMV8" if BR2_aarch64 || BR2_aarch64_be + default "ARMV8" if BR2_aarch64 || BR2_aarch64_be + default "RISCV64_GENERIC" if BR2_RISCV_64 help OpenBLAS target CPU. See TargetList.txt in the source tree for the possible target strings. A possible value is set From peter at korsgaard.com Fri Oct 13 06:12:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:12:04 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-mako: add optional runtime dependency on python-babel Message-ID: <20231013062403.9E01B846BC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1c00ef0684ab83b1af01397e78bb30dcda51df95 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Some extensions of python-mako use python-babel, if they are used, python-babel must be added as a runtime dependency. Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni (cherry picked from commit 411a3deb1a4850f4eeff3faebdb87b8ef544d650) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index 2e1094189f..7bba31943e 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -17,4 +17,11 @@ config BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN Provide python-pygments support for mako.ext.pygmentplugin +config BR2_PACKAGE_PYTHON_MAKO_EXT_BABELPLUGIN + bool "mako extension babelplugin" + select BR2_PACKAGE_PYTHON_BABEL # runtime + help + Provide python-babel support for + mako.ext.babelplugin + endif From peter at korsgaard.com Fri Oct 13 06:09:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:09:40 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-mako: add missing dependency on python-markupsafe Message-ID: <20231013062403.8C248846B4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5cb2f87f96ef797979d0e7f6f5b7014ed9f71997 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Mako imports markupsafe so it needs to be selected when selecting BR2_PACKAGE_PYTHON_MAKO. Fixes: https://bugs.busybox.net/show_bug.cgi?id=15628 Signed-off-by: Sebastian Weyer Signed-off-by: Thomas Petazzoni (cherry picked from commit 2b506cb2dd031f2bdecc3c90111e31e145211d75) Signed-off-by: Peter Korsgaard --- package/python-mako/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index 442e290efa..e6a10c9c2e 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_MAKO bool "python-mako" + select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime help Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules From peter at korsgaard.com Fri Oct 13 06:20:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 08:20:50 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gnu-efi: disable on mips64el Message-ID: <20231013062403.B1B2E846B2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7943809590aa15c997c4e8b9ce31065e3b682c53 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The gnu-efi package was enabled on mips64el by commit 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add mips64el support"). However, it has been failing to build for a long time, and nobody bothered fixing it: gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format Even reverting back to gnu-efi 3.0.10, which was the version used at the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the issue. We tested updating to the latest gnu-efi version, 3.0.17, and the problem still exists. Since EFI on MIPS is extremely niche, we don't really want to invest the time to fix this issue, so let's disable it again. If someone cares enough, it can be fixed and re-enabled. Fixes: http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/ Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 13b0e6bbf3b1473993972fff8e4590a28749d823) Signed-off-by: Peter Korsgaard --- package/gnu-efi/Config.in | 1 - package/gnu-efi/gnu-efi.mk | 2 -- 2 files changed, 3 deletions(-) diff --git a/package/gnu-efi/Config.in b/package/gnu-efi/Config.in index 8e35fddbcb..d456a23837 100644 --- a/package/gnu-efi/Config.in +++ b/package/gnu-efi/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_aarch64_be default y if BR2_i386 - default y if BR2_mips64el default y if BR2_x86_64 config BR2_PACKAGE_GNU_EFI diff --git a/package/gnu-efi/gnu-efi.mk b/package/gnu-efi/gnu-efi.mk index 93b5888370..686a14be01 100644 --- a/package/gnu-efi/gnu-efi.mk +++ b/package/gnu-efi/gnu-efi.mk @@ -24,8 +24,6 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y) GNU_EFI_PLATFORM = arm else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) GNU_EFI_PLATFORM = aarch64 -else ifeq ($(BR2_mips64el),y) -GNU_EFI_PLATFORM = mips64el endif GNU_EFI_MAKE_OPTS = \ From adam.duskett at amarulasolutions.com Fri Oct 13 08:30:37 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 10:30:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: bump version to 254.5 Message-ID: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> All tests passed in Debian 11 with the following command: ./support/testing/run-tests tests.init.test_systemd Signed-off-by: Adam Duskett --- package/systemd/systemd.hash | 2 +- package/systemd/systemd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/systemd/systemd.hash b/package/systemd/systemd.hash index 10f4bc04fa..f0c3db60e7 100644 --- a/package/systemd/systemd.hash +++ b/package/systemd/systemd.hash @@ -1,5 +1,5 @@ # sha256 locally computed -sha256 18db69c8fc33afebf95a40cfa3769df5f0e4a07bccdebd33b2fd81c8b75e7a02 systemd-254.tar.gz +sha256 41873783aa1c680e10d2f2626797a1c2fef8018d69b68c8c77639e140ee7846d systemd-254.5.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index d220673572..d428765ec3 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -19,7 +19,7 @@ # - Diff sysusers.d with the previous version # - Diff factory/etc/nsswitch.conf with the previous version # (details are often sprinkled around in README and manpages) -SYSTEMD_VERSION = 254 +SYSTEMD_VERSION = 254.5 SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) SYSTEMD_LICENSE = \ LGPL-2.1+, \ -- 2.41.0 From adam.duskett at amarulasolutions.com Fri Oct 13 09:35:41 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 11:35:41 +0200 Subject: [Buildroot] [PATCH 1/1] package/rauc: bump version to 1.10.1 Message-ID: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> Signed-off-by: Adam Duskett --- package/rauc/rauc.hash | 2 +- package/rauc/rauc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rauc/rauc.hash b/package/rauc/rauc.hash index 3a1fa6f5f9..38fea45b8a 100644 --- a/package/rauc/rauc.hash +++ b/package/rauc/rauc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d3eec057e74d41565bbdfa10ff8bb2edb38e39af2b2126f8ad1d2174ae034d47 rauc-1.10.tar.xz +sha256 aa99164c5f54fd29b5c8456221b51f92c900884af66de3e1b7f15a25b7db98a7 rauc-1.10.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk index 9f0571402f..4211abdcc4 100644 --- a/package/rauc/rauc.mk +++ b/package/rauc/rauc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RAUC_VERSION = 1.10 +RAUC_VERSION = 1.10.1 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION) RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz RAUC_LICENSE = LGPL-2.1 -- 2.41.0 From nolange79 at gmail.com Fri Oct 13 09:59:36 2023 From: nolange79 at gmail.com (Norbert Lange) Date: Fri, 13 Oct 2023 11:59:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: bump version to 254.5 In-Reply-To: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> References: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> Message-ID: Am Fr., 13. Okt. 2023 um 10:30 Uhr schrieb Adam Duskett : > > All tests passed in Debian 11 with the following command: > > ./support/testing/run-tests tests.init.test_systemd > > Signed-off-by: Adam Duskett Acked-by: Norbert Lange > --- > package/systemd/systemd.hash | 2 +- > package/systemd/systemd.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/systemd/systemd.hash b/package/systemd/systemd.hash > index 10f4bc04fa..f0c3db60e7 100644 > --- a/package/systemd/systemd.hash > +++ b/package/systemd/systemd.hash > @@ -1,5 +1,5 @@ > # sha256 locally computed > -sha256 18db69c8fc33afebf95a40cfa3769df5f0e4a07bccdebd33b2fd81c8b75e7a02 systemd-254.tar.gz > +sha256 41873783aa1c680e10d2f2626797a1c2fef8018d69b68c8c77639e140ee7846d systemd-254.5.tar.gz > sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 > sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt > diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk > index d220673572..d428765ec3 100644 > --- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -19,7 +19,7 @@ > # - Diff sysusers.d with the previous version > # - Diff factory/etc/nsswitch.conf with the previous version > # (details are often sprinkled around in README and manpages) > -SYSTEMD_VERSION = 254 > +SYSTEMD_VERSION = 254.5 > SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) > SYSTEMD_LICENSE = \ > LGPL-2.1+, \ > -- > 2.41.0 > Using an identical patch for a few days, no problems to be expected. Regards, Norbert From peter at korsgaard.com Fri Oct 13 10:15:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:15:07 +0200 Subject: [Buildroot] [git commit] package/opkg-utils: actually install to target In-Reply-To: <20230930190343.CDF7A83C8B@busybox.osuosl.org> (Peter Korsgaard's message of "Sat, 30 Sep 2023 21:03:24 +0200") References: <20230930190343.CDF7A83C8B@busybox.osuosl.org> Message-ID: <874jiu7rro.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > commit: https://git.buildroot.net/buildroot/commit/?id=8c3c741439acb817e156fe28083ba0c6a0c4c720 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Commit b9bf1c6535cb (package/opkg-utils: add opkg-utils as target pkg) > misspelled the macro to install to target, most probably as a bad > copy-paste from the host macro. > Fix that. > Reported-by: Michael Hacker > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 10:15:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:15:36 +0200 Subject: [Buildroot] [PATCH] package/urandom-scripts: move seedrng init script to S01 In-Reply-To: <20230930134234.3567570-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sat, 30 Sep 2023 15:42:34 +0200") References: <20230930134234.3567570-1-peter@korsgaard.com> Message-ID: <87zg0m6d6f.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > We want to initialize the kernel random number generator as soon as > possible, as early init scripts may also need random numbers (E.G. > syslog-ng in S01syslog-ng does). > Seedrng was presumably only using S20 because the previos urandom script > used S20, which (after som moves) dates all the way back to: > commit 8262508fc4456b5230216473ea14c897268ba791 > Author: Eric Andersen > Date: Fri Apr 26 22:01:43 2002 +0000 > With this update, everything now works as expected. > -Erik > Seedrng needs persistent storage, but mount -a is run before executing the > init scripts, so S01 should be as good as S20 - Atleast with the scripts in > upstream Buildroot. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 10:23:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:23:10 +0200 Subject: [Buildroot] [git commit] package/rockchip-mali: fix hash of generated archive In-Reply-To: <20230930221348.6363783D49@busybox.osuosl.org> (Yann E. MORIN's message of "Sun, 1 Oct 2023 00:13:20 +0200") References: <20230930221348.6363783D49@busybox.osuosl.org> Message-ID: <87v8ba6ctt.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > commit: https://git.buildroot.net/buildroot/commit/?id=f7f2de3da7e1a5af4e2773ff6bb9e528159be7d3 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > The "official" repository we used to reference disapeared quite some > time ago, so in commit 8c25838b53e6 (package/rockchip-mali: fix build > failure due to missing URL) we switched to using a mirror. > The tarballs generated on the Github side have a top-level directory > that is named "repo-name-HASH", so when we switched to a repository > named "libmali" to one named "mirrors", the content of the generated > tarball changed, even though the content of the files did not. > We can't just change the hash to the new value, or that would conflict > with thecopy on s.b.o and older versions of Buildroot. > So, we drop one cahr from the commit hash, which eans the tarball name > changes, and thus we can calculate a new hash for that tarball, and > there will be no conflict with any existing tarball on s.b.o. > Reported-by: Thomas Petazzoni > Signed-off-by: Yann E. MORIN Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 10:24:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:24:13 +0200 Subject: [Buildroot] [PATCH] boot/at91bootstrap: disable PIE and stack-protector build flags In-Reply-To: <20231001110422.0810c899@windsurf> (Thomas Petazzoni via buildroot's message of "Sun, 1 Oct 2023 11:04:22 +0200") References: <20221004125242.136925-1-kory.maincent@bootlin.com> <20231001110422.0810c899@windsurf> Message-ID: <87r0ly6cs2.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > Hello K?ry, > On Tue, 4 Oct 2022 14:52:41 +0200 > K?ry Maincent via buildroot wrote: >> From: Kory Maincent >> >> The toolchain wrapper add automatically Position Independent Execution >> and stack protector flags in the build process when selected in the >> configuration. at91bootstrap does not support these, therefore I added a >> patch to disable them in the Makefiles >> >> Signed-off-by: Kory Maincent >> --- >> ...ck-protector-and-the-PIE-build-flags.patch | 502 ++++++++++++++++++ >> 1 file changed, 502 insertions(+) >> create mode 100644 boot/at91bootstrap/0004-ensure-the-stack-protector-and-the-PIE-build-flags.patch > Thanks for the patch. However, the at91bootstrap patch was highly > repetitive, and we have no chance of merging it upstream since upstream > is essentially dead. So instead, I committed this: > +# The at91bootstrap Makefile doesn't support customizing > +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and > +# LD. > define AT91BOOTSTRAP_BUILD_CMDS > - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) > + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ > + CC="$(TARGET_CC) -fno-stack-protector" \ > + LD="$(TARGET_CC) -fno-PIE" \ > + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) > endef > which achieves exactly the same, but is more concise. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 10:13:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:13:25 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/opkg-utils: actually install to target Message-ID: <20231013102431.084E2846D3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=814281c439af9e14eba69ad06cb93f23383c8125 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Commit b9bf1c6535cb (package/opkg-utils: add opkg-utils as target pkg) misspelled the macro to install to target, most probably as a bad copy-paste from the host macro. Fix that. Reported-by: Michael Hacker Signed-off-by: Peter Korsgaard (cherry picked from commit 8c3c741439acb817e156fe28083ba0c6a0c4c720) Signed-off-by: Peter Korsgaard --- package/opkg-utils/opkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/opkg-utils/opkg-utils.mk b/package/opkg-utils/opkg-utils.mk index ad267c5c94..384a7323ee 100644 --- a/package/opkg-utils/opkg-utils.mk +++ b/package/opkg-utils/opkg-utils.mk @@ -16,7 +16,7 @@ HOST_OPKG_UTILS_DEPENDENCIES = \ host-xz # Nothing to build; only scripts to install. -define OPKG_UTILS_INSTALL_CMDS +define OPKG_UTILS_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install-utils endef From peter at korsgaard.com Fri Oct 13 10:13:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:13:37 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/urandom-scripts: move seedrng init script to S01 Message-ID: <20231013102431.141C2846D4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bd682063d04cf77b0e430c215fad23d8b6e323ba branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x We want to initialize the kernel random number generator as soon as possible, as early init scripts may also need random numbers (E.G. syslog-ng in S01syslog-ng does). Seedrng was presumably only using S20 because the previos urandom script used S20, which (after som moves) dates all the way back to: commit 8262508fc4456b5230216473ea14c897268ba791 Author: Eric Andersen Date: Fri Apr 26 22:01:43 2002 +0000 With this update, everything now works as expected. -Erik Seedrng needs persistent storage, but mount -a is run before executing the init scripts, so S01 should be as good as S20 - Atleast with the scripts in upstream Buildroot. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 11a46002ae11a0766a4ec9d3d8ccafe7be42c2fc) Signed-off-by: Peter Korsgaard --- package/urandom-scripts/{S20seedrng => S01seedrng} | 0 package/urandom-scripts/urandom-scripts.mk | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/urandom-scripts/S20seedrng b/package/urandom-scripts/S01seedrng similarity index 100% rename from package/urandom-scripts/S20seedrng rename to package/urandom-scripts/S01seedrng diff --git a/package/urandom-scripts/urandom-scripts.mk b/package/urandom-scripts/urandom-scripts.mk index 32f3e09343..89abdfff72 100644 --- a/package/urandom-scripts/urandom-scripts.mk +++ b/package/urandom-scripts/urandom-scripts.mk @@ -5,8 +5,8 @@ ################################################################################ define URANDOM_SCRIPTS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(URANDOM_SCRIPTS_PKGDIR)/S20seedrng \ - $(TARGET_DIR)/etc/init.d/S20seedrng + $(INSTALL) -D -m 0755 $(URANDOM_SCRIPTS_PKGDIR)/S01seedrng \ + $(TARGET_DIR)/etc/init.d/S01seedrng endef $(eval $(generic-package)) From peter at korsgaard.com Fri Oct 13 10:21:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:21:51 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/rockchip-mali: fix hash of generated archive Message-ID: <20231013102431.1EF22846D5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e785e38dcc0d717f9f265a4aba8ad29b0a3d3c1b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The "official" repository we used to reference disapeared quite some time ago, so in commit 8c25838b53e6 (package/rockchip-mali: fix build failure due to missing URL) we switched to using a mirror. The tarballs generated on the Github side have a top-level directory that is named "repo-name-HASH", so when we switched to a repository named "libmali" to one named "mirrors", the content of the generated tarball changed, even though the content of the files did not. We can't just change the hash to the new value, or that would conflict with the copy on s.b.o and older versions of Buildroot. So, we drop one char from the commit hash, which eans the tarball name changes, and thus we can calculate a new hash for that tarball, and there will be no conflict with any existing tarball on s.b.o. Reported-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit f7f2de3da7e1a5af4e2773ff6bb9e528159be7d3) Signed-off-by: Peter Korsgaard --- package/rockchip-mali/rockchip-mali.hash | 2 +- package/rockchip-mali/rockchip-mali.mk | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package/rockchip-mali/rockchip-mali.hash b/package/rockchip-mali/rockchip-mali.hash index 446bf9ac65..b19937fa07 100644 --- a/package/rockchip-mali/rockchip-mali.hash +++ b/package/rockchip-mali/rockchip-mali.hash @@ -1,2 +1,2 @@ -sha256 ee440d859e9d7dfdf29b9a00c7a633337913c407be567d3651c29c12eb75fd9c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e60427.tar.gz +sha256 1a291bbd75f317ee9205eb356aed617ac269db166ad6528a1734361cc08f8f7c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e6042.tar.gz sha256 a78acc73de9909efb879800d4daa4640c4aaa55cd751238a133954aba15e4285 END_USER_LICENCE_AGREEMENT.txt diff --git a/package/rockchip-mali/rockchip-mali.mk b/package/rockchip-mali/rockchip-mali.mk index 5c8e554346..125b1c61fd 100644 --- a/package/rockchip-mali/rockchip-mali.mk +++ b/package/rockchip-mali/rockchip-mali.mk @@ -4,7 +4,15 @@ # ################################################################################ -ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e60427 +# Full sha1 is 721653b5b3b525a4f80d15aa7e2f9df7b7e60427, but we use the +# "mirrors" repository, which names the top-level directory "mirrors-VERSION" +# while the original was the "libmali" repository which named the top-level +# directory "libmali-VERSION". Hence the content changes, and thus the hash +# changes. +# To avoid conflict with the old tarball on s.b.o. used by older versions of +# Buildroot, we can't use the same filename for the generated archive, so we +# drop the last char in the commit hash. +ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e6042 ROCKCHIP_MALI_SITE = $(call github,JeffyCN,mirrors,$(ROCKCHIP_MALI_VERSION)) ROCKCHIP_MALI_LICENSE = Proprietary ROCKCHIP_MALI_LICENSE_FILES = END_USER_LICENCE_AGREEMENT.txt From peter at korsgaard.com Fri Oct 13 10:23:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:23:59 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] boot/at91bootstrap: disable PIE and stack-protector build flags Message-ID: <20231013102431.2D613846D8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=67c5936f4249b8edcda8de9e70146d332730524a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The toolchain wrapper automatically adds Position Independent Execution and stack protector flags in the build process when selected in the configuration. at91bootstrap being freestanding code, it doesn't support these, so we have to disable them. Signed-off-by: Kory Maincent Signed-off-by: Thomas Petazzoni (cherry picked from commit 1351222486b93b72c00057fb3401d40967025164) Signed-off-by: Peter Korsgaard --- boot/at91bootstrap/at91bootstrap.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk index 1a084756fd..385957b5d4 100644 --- a/boot/at91bootstrap/at91bootstrap.mk +++ b/boot/at91bootstrap/at91bootstrap.mk @@ -32,8 +32,14 @@ endef AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES endif +# The at91bootstrap Makefile doesn't support customizing +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and +# LD. define AT91BOOTSTRAP_BUILD_CMDS - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ + CC="$(TARGET_CC) -fno-stack-protector" \ + LD="$(TARGET_CC) -fno-PIE" \ + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) endef define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS From peter at korsgaard.com Fri Oct 13 10:23:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:23:35 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] boot/at91bootstrap: disable PIE and stack-protector build flags Message-ID: <20231013102537.9AF87846EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4cb43fc95700b648933587001a4e29f968b065fb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The toolchain wrapper automatically adds Position Independent Execution and stack protector flags in the build process when selected in the configuration. at91bootstrap being freestanding code, it doesn't support these, so we have to disable them. Signed-off-by: Kory Maincent Signed-off-by: Thomas Petazzoni (cherry picked from commit 1351222486b93b72c00057fb3401d40967025164) Signed-off-by: Peter Korsgaard --- boot/at91bootstrap/at91bootstrap.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk index 1a084756fd..385957b5d4 100644 --- a/boot/at91bootstrap/at91bootstrap.mk +++ b/boot/at91bootstrap/at91bootstrap.mk @@ -32,8 +32,14 @@ endef AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES endif +# The at91bootstrap Makefile doesn't support customizing +# CFLAGS/LDFLAGS, so we cheat and pass our custom flags through CC and +# LD. define AT91BOOTSTRAP_BUILD_CMDS - $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) \ + CC="$(TARGET_CC) -fno-stack-protector" \ + LD="$(TARGET_CC) -fno-PIE" \ + -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) endef define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS From peter at korsgaard.com Fri Oct 13 10:13:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:13:47 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/urandom-scripts: move seedrng init script to S01 Message-ID: <20231013102537.8B9D5846E4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=46ec2b32f74797f2f1c81a2445679b5b97ab7d63 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x We want to initialize the kernel random number generator as soon as possible, as early init scripts may also need random numbers (E.G. syslog-ng in S01syslog-ng does). Seedrng was presumably only using S20 because the previos urandom script used S20, which (after som moves) dates all the way back to: commit 8262508fc4456b5230216473ea14c897268ba791 Author: Eric Andersen Date: Fri Apr 26 22:01:43 2002 +0000 With this update, everything now works as expected. -Erik Seedrng needs persistent storage, but mount -a is run before executing the init scripts, so S01 should be as good as S20 - Atleast with the scripts in upstream Buildroot. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 11a46002ae11a0766a4ec9d3d8ccafe7be42c2fc) Signed-off-by: Peter Korsgaard --- package/urandom-scripts/{S20seedrng => S01seedrng} | 0 package/urandom-scripts/urandom-scripts.mk | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/urandom-scripts/S20seedrng b/package/urandom-scripts/S01seedrng similarity index 100% rename from package/urandom-scripts/S20seedrng rename to package/urandom-scripts/S01seedrng diff --git a/package/urandom-scripts/urandom-scripts.mk b/package/urandom-scripts/urandom-scripts.mk index 32f3e09343..89abdfff72 100644 --- a/package/urandom-scripts/urandom-scripts.mk +++ b/package/urandom-scripts/urandom-scripts.mk @@ -5,8 +5,8 @@ ################################################################################ define URANDOM_SCRIPTS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(URANDOM_SCRIPTS_PKGDIR)/S20seedrng \ - $(TARGET_DIR)/etc/init.d/S20seedrng + $(INSTALL) -D -m 0755 $(URANDOM_SCRIPTS_PKGDIR)/S01seedrng \ + $(TARGET_DIR)/etc/init.d/S01seedrng endef $(eval $(generic-package)) From peter at korsgaard.com Fri Oct 13 10:22:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:22:20 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/rockchip-mali: fix hash of generated archive Message-ID: <20231013102537.93E2E846ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=13967f09637198c32599b8f2c17d0f946820e85c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The "official" repository we used to reference disapeared quite some time ago, so in commit 8c25838b53e6 (package/rockchip-mali: fix build failure due to missing URL) we switched to using a mirror. The tarballs generated on the Github side have a top-level directory that is named "repo-name-HASH", so when we switched to a repository named "libmali" to one named "mirrors", the content of the generated tarball changed, even though the content of the files did not. We can't just change the hash to the new value, or that would conflict with the copy on s.b.o and older versions of Buildroot. So, we drop one char from the commit hash, which eans the tarball name changes, and thus we can calculate a new hash for that tarball, and there will be no conflict with any existing tarball on s.b.o. Reported-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit f7f2de3da7e1a5af4e2773ff6bb9e528159be7d3) Signed-off-by: Peter Korsgaard --- package/rockchip-mali/rockchip-mali.hash | 2 +- package/rockchip-mali/rockchip-mali.mk | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package/rockchip-mali/rockchip-mali.hash b/package/rockchip-mali/rockchip-mali.hash index 446bf9ac65..b19937fa07 100644 --- a/package/rockchip-mali/rockchip-mali.hash +++ b/package/rockchip-mali/rockchip-mali.hash @@ -1,2 +1,2 @@ -sha256 ee440d859e9d7dfdf29b9a00c7a633337913c407be567d3651c29c12eb75fd9c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e60427.tar.gz +sha256 1a291bbd75f317ee9205eb356aed617ac269db166ad6528a1734361cc08f8f7c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e6042.tar.gz sha256 a78acc73de9909efb879800d4daa4640c4aaa55cd751238a133954aba15e4285 END_USER_LICENCE_AGREEMENT.txt diff --git a/package/rockchip-mali/rockchip-mali.mk b/package/rockchip-mali/rockchip-mali.mk index 5c8e554346..125b1c61fd 100644 --- a/package/rockchip-mali/rockchip-mali.mk +++ b/package/rockchip-mali/rockchip-mali.mk @@ -4,7 +4,15 @@ # ################################################################################ -ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e60427 +# Full sha1 is 721653b5b3b525a4f80d15aa7e2f9df7b7e60427, but we use the +# "mirrors" repository, which names the top-level directory "mirrors-VERSION" +# while the original was the "libmali" repository which named the top-level +# directory "libmali-VERSION". Hence the content changes, and thus the hash +# changes. +# To avoid conflict with the old tarball on s.b.o. used by older versions of +# Buildroot, we can't use the same filename for the generated archive, so we +# drop the last char in the commit hash. +ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e6042 ROCKCHIP_MALI_SITE = $(call github,JeffyCN,mirrors,$(ROCKCHIP_MALI_VERSION)) ROCKCHIP_MALI_LICENSE = Proprietary ROCKCHIP_MALI_LICENSE_FILES = END_USER_LICENCE_AGREEMENT.txt From peter at korsgaard.com Fri Oct 13 10:13:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 12:13:44 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/opkg-utils: actually install to target Message-ID: <20231013102537.82DFA846E3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fd28c24131fc5471de3ef6776c11ace91f139987 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Commit b9bf1c6535cb (package/opkg-utils: add opkg-utils as target pkg) misspelled the macro to install to target, most probably as a bad copy-paste from the host macro. Fix that. Reported-by: Michael Hacker Signed-off-by: Peter Korsgaard (cherry picked from commit 8c3c741439acb817e156fe28083ba0c6a0c4c720) Signed-off-by: Peter Korsgaard --- package/opkg-utils/opkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/opkg-utils/opkg-utils.mk b/package/opkg-utils/opkg-utils.mk index ad267c5c94..384a7323ee 100644 --- a/package/opkg-utils/opkg-utils.mk +++ b/package/opkg-utils/opkg-utils.mk @@ -16,7 +16,7 @@ HOST_OPKG_UTILS_DEPENDENCIES = \ host-xz # Nothing to build; only scripts to install. -define OPKG_UTILS_INSTALL_CMDS +define OPKG_UTILS_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install-utils endef From florian.schaeffner at physiomed.de Fri Oct 13 11:24:18 2023 From: florian.schaeffner at physiomed.de (=?utf-8?B?U2Now6RmZm5lciwgRmxvcmlhbg==?=) Date: Fri, 13 Oct 2023 11:24:18 +0000 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> Message-ID: <0df9596a80db41b88f9b83c5c254ea97@physiomed.de> Hello all, thank you all for your support and offers. It would be great to give something back, but i?m afraid that i?m not able to finish your work Jesse. Sadly by now i was just a user of the given configurations that could be downloaded. I?ll try to use Qt5 or hire some help. Thanks again for your support. Kind regards Florian Von: Adam Duskett Gesendet: Dienstag, 10. Oktober 2023 21:52 An: Jesse Van Gavere Cc: Arnout Vandecappelle ; Giulio Benetti ; Sch?ffner, Florian ; buildroot at buildroot.org Betreff: Re: [Buildroot] Future buildroot with QtQuick/QML Support I can see about porting the package tomorrow! No worries! Adam Duskett Senior Embedded Systems Developer M. +1208-515-8102 adam.duskett at amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9170 info at amarulasolutions.com www.amarulasolutions.com On Tue, Oct 10, 2023 at 8:55?PM Jesse Van Gavere > wrote: Hi, Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle >: > > > > On 10/10/2023 15:18, Giulio Benetti wrote: > > Hello Florian, > > > > On 10/10/23 14:59, Sch?ffner, Florian wrote: > >> Hello, > >> > >> our application is built in the development environment with Qt 6 and > >> QtQuick/QML. Now i tried, but wasn?t able to setup a working buildroot for our > >> application to run on a embedded device. > >> > >> I found the conversation about qt6 and QML Support on the buildroot mailing > >> list and that it seems to be not possible to setup a buildroot for our needs > >> with Qt6 and QML support. > >> > >> https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > >> > >> If I understood the answer from Giulio Benetti correctly, there is currently > >> no chance to make this configuration work for our embedded board with buildroot? > >> > >> Can you please tell me if there will be support for this in the next major > >> buildroot version? Or is it not planned or foreseeable when a QML support is > >> possible with buildroot? > > Buildroot is a volunteer project - nothing is "planned" unless someone goes > through the effort of contributing it. > > > as I can see from Buildroot patchork at the moment there is no pending > > patches to add features, but this doesn't mean it won't be added. > > > > Which modules would you be interested in most of all? > > If you're not able or willing to develop the Qt6 QML support yourself, you may > want to hire some help to do it. At the bottom of the "support" page on the > website [1] some companies are mentioned that can provide that help (I work for > one of them). Or you can find a freelancer - like Giulio. > > You can also ask the original contributor of Qt6 (Jesse, added in Cc) if they > perhaps have some PoC for QML already. Or perhaps their employer would be > willing to share the cost of developing it. I do have a working POC to build QML with a plan for supporting QtQuick, which I very much wanted to get upstreamed, however I've been swamped with other non-buildroot work sadly. That said, it should be very doable to add this support with not too much work. In a nutshell: You need to add qtshadertools because of the qsb tool it builds, this is a dependency for qtdeclarative to build QtQuick This patch will be important: http://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ The tricky thing there is that the host qt package does not build the GUI by default, however since qt6 certain tools need to be built through the host package, qsb is one of those, and to actually build qsb through the qtshadertools package you need GUI support in the host build, Thomas has provided some valuable feedback there how a proper follow up patch could look like to add this functionality the right way. Once that's done QML/QtQuick will be quite trivial to add, I already have a qt6declarative package you could work with and (with some refreshing of my memory) I could provide you the necessary config options to add QtQuick alongside it. As said I don't have the time myself at the moment to do it right, and I don't have a timeline for when I'll be able to do so, but if you're willing to continue on the work I have to get it merged in, I'll gladly help out where I can with some of my initial work and what I know of how to get it all working, the finishing touches and testing will be up to you however :) > > Regards, > Arnout > _______________________________________________ buildroot mailing list buildroot at buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam.duskett at amarulasolutions.com Fri Oct 13 13:56:05 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 15:56:05 +0200 Subject: [Buildroot] [PATCH 1/2] package/qt6/qt6base: Add GUI support option for the host Message-ID: <20231013135606.3382121-1-adam.duskett@amarulasolutions.com> This is needed for the qsb binary.from host-qt6shadertools which allows building qml applications. Signed-off-by: Adam Duskett --- package/Config.in.host | 1 + package/qt6/qt6base/Config.in.host | 17 +++++++++++++++++ package/qt6/qt6base/qt6base.mk | 15 ++++++++++++++- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 package/qt6/qt6base/Config.in.host diff --git a/package/Config.in.host b/package/Config.in.host index c80842c33a..15d42a7694 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -93,6 +93,7 @@ menu "Host utilities" source "package/python3/Config.in.host" source "package/qemu/Config.in.host" source "package/qoriq-rcw/Config.in.host" + source "package/qt6/qt6base/Config.in.host" source "package/raspberrypi-usbboot/Config.in.host" source "package/rauc/Config.in.host" source "package/riscv-isa-sim/Config.in.host" diff --git a/package/qt6/qt6base/Config.in.host b/package/qt6/qt6base/Config.in.host new file mode 100644 index 0000000000..1305a3341c --- /dev/null +++ b/package/qt6/qt6base/Config.in.host @@ -0,0 +1,17 @@ +config BR2_PACKAGE_HOST_QT6BASE + bool "host QT6Base" + depends on BR2_HOST_GCC_AT_LEAST_8 + help + This option enables the host Qt6 framework. + + http://qt.io + +if BR2_PACKAGE_HOST_QT6BASE + +config BR2_PACKAGE_HOST_QT6BASE_GUI + bool "GUI support" + help + Enable GUI support. Needed for the qsb package from + the host-qt6shadertools packages + +endif diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk index c32089f551..0b512ad6cb 100644 --- a/package/qt6/qt6base/qt6base.mk +++ b/package/qt6/qt6base/qt6base.mk @@ -82,7 +82,6 @@ HOST_QT6BASE_DEPENDENCIES = \ host-pcre2 \ host-zlib HOST_QT6BASE_CONF_OPTS = \ - -DFEATURE_gui=OFF \ -DFEATURE_concurrent=OFF \ -DFEATURE_xml=ON \ -DFEATURE_sql=OFF \ @@ -96,6 +95,20 @@ HOST_QT6BASE_CONF_OPTS = \ -DFEATURE_system_pcre2=ON \ -DFEATURE_system_zlib=ON +# This is needed to build the qsb binary.from host-qt6shadertools +ifeq ($(BR2_PACKAGE_HOST_QT6BASE_GUI),y) +HOST_QT6BASE_CONF_OPTS += \ + -DFEATURE_gui=ON \ + -DFEATURE_vulkan=OFF \ + -DINPUT_opengl=no \ + -DFEATURE_linuxfb=ON \ + -DFEATURE_eglfs=OFF \ + -DFEATURE_opengl=OFF \ + -DINPUT_opengl=no +else +HOST_QT6BASE_CONF_OPTS += -DFEATURE_gui=OFF +endif + # Conditional blocks below are ordered by alphabetic ordering of the # BR2_PACKAGE_* option. -- 2.41.0 From adam.duskett at amarulasolutions.com Fri Oct 13 13:56:06 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 15:56:06 +0200 Subject: [Buildroot] [PATCH 2/2] package/qt6/qt6shadertools: new package In-Reply-To: <20231013135606.3382121-1-adam.duskett@amarulasolutions.com> References: <20231013135606.3382121-1-adam.duskett@amarulasolutions.com> Message-ID: <20231013135606.3382121-2-adam.duskett@amarulasolutions.com> Based off of previous work by Jesse Van Gavere found here: https://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ Changes: - Select BR2_PACKAGE_HOST_QT6BASE_GUI - Select BR2_PACKAGE_QT6BASE_GUI - Add host-qt6base to HOST_QT6SHADERTOOLS_DEPENDENCIES Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/qt6/Config.in | 1 + package/qt6/qt6shadertools/Config.in | 14 ++++++ .../qt6/qt6shadertools/qt6shadertools.hash | 13 +++++ package/qt6/qt6shadertools/qt6shadertools.mk | 49 +++++++++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 package/qt6/qt6shadertools/Config.in create mode 100644 package/qt6/qt6shadertools/qt6shadertools.hash create mode 100644 package/qt6/qt6shadertools/qt6shadertools.mk diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..bdc1463e83 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -37,6 +37,7 @@ F: package/flutter-engine/ F: package/flutter-gallery/ F: package/flutter-pi/ F: package/flutter-sdk-bin/ +F: package/qt6/qt6shadertools/ F: support/testing/tests/package/test_flutter.py N: Adam Heinrich diff --git a/package/qt6/Config.in b/package/qt6/Config.in index 276a0217ab..b7e95a6885 100644 --- a/package/qt6/Config.in +++ b/package/qt6/Config.in @@ -47,6 +47,7 @@ source "package/qt6/qt6base/Config.in" source "package/qt6/qt6core5compat/Config.in" source "package/qt6/qt6serialbus/Config.in" source "package/qt6/qt6serialport/Config.in" +source "package/qt6/qt6shadertools/Config.in" source "package/qt6/qt6svg/Config.in" endif diff --git a/package/qt6/qt6shadertools/Config.in b/package/qt6/qt6shadertools/Config.in new file mode 100644 index 0000000000..423c686444 --- /dev/null +++ b/package/qt6/qt6shadertools/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_QT6SHADERTOOLS + bool "qt6shadertools" + select BR2_PACKAGE_HOST_QT6BASE + select BR2_PACKAGE_QT6BASE_GUI + select BR2_PACKAGE_HOST_QT6BASE_GUI + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt Shader Tools module builds on the SPIR-V Open + Source Ecosystem as described at the Khronos SPIR-V web + site. + + https://doc.qt.io/qt-6/qtshadertools-index.html diff --git a/package/qt6/qt6shadertools/qt6shadertools.hash b/package/qt6/qt6shadertools/qt6shadertools.hash new file mode 100644 index 0000000000..803a083518 --- /dev/null +++ b/package/qt6/qt6shadertools/qt6shadertools.hash @@ -0,0 +1,13 @@ +# Hash from: https://download.qt.io/official_releases/qt/6.4/6.4.3/submodules/qtshadertools-everywhere-src-6.4.3.tar.xz.sha256 +sha256 c648b74ce3e769a20bd62792a589c540bceacfedf2f38fc7273d2c39782768f8 qtshadertools-everywhere-src-6.4.3.tar.xz + +# Hashes for license files +sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt +sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt +sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt +sha256 c7d81f456bf5488fec8b2d249eec6b02e70bbdc353c373cd5a077e898345e943 src/3rdparty/SPIRV-Cross/KHRONOS-LICENSE.txt +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 src/3rdparty/SPIRV-Cross/LICENSE +sha256 5b1050253c0b933016f0538bce3354bb062e42b4d59d1082c0d0f9eca9b439c7 src/3rdparty/glslang/LICENSE.txt diff --git a/package/qt6/qt6shadertools/qt6shadertools.mk b/package/qt6/qt6shadertools/qt6shadertools.mk new file mode 100644 index 0000000000..4cc6d6fcbf --- /dev/null +++ b/package/qt6/qt6shadertools/qt6shadertools.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# qt6shadertools +# +################################################################################ + +QT6SHADERTOOLS_VERSION = $(QT6_VERSION) +QT6SHADERTOOLS_SITE = $(QT6_SITE) +QT6SHADERTOOLS_SOURCE = qtshadertools-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SHADERTOOLS_VERSION).tar.xz +QT6SHADERTOOLS_INSTALL_STAGING = YES +QT6SHADERTOOLS_SUPPORTS_IN_SOURCE_BUILD = NO + +QT6SHADERTOOLS_CMAKE_BACKEND = ninja + +QT6SHADERTOOLS_LICENSE = \ + GPL-3.0-only WITH Qt-GPL-exception-1.0, \ + GPL-2.0-only or LGPL-3.0-only, \ + GFDL-1.3-no-invariants-only, \ + Apache-2.0 or MIT, \ + BSD-3-Clause, \ + BSD-2-Clause, \ + Apache-2.0, \ + GPL-3.0-or-later WITH Bison-Exception-2.2 + +QT6SHADERTOOLS_LICENSE_FILES = \ + LICENSES/BSD-3-Clause.txt \ + LICENSES/GFDL-1.3-no-invariants-only.txt \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/Qt-GPL-exception-1.0.txt \ + src/3rdparty/SPIRV-Cross/KHRONOS-LICENSE.txt \ + src/3rdparty/SPIRV-Cross/LICENSE \ + src/3rdparty/glslang/LICENSE.txt + +QT6SHADERTOOLS_CONF_OPTS = \ + -DBUILD_WITH_PCH=OFF \ + -DQT_BUILD_EXAMPLES=OFF \ + -DQT_BUILD_TESTS=OFF + +QT6SHADERTOOLS_DEPENDENCIES = \ + host-pkgconf \ + qt6base \ + host-qt6shadertools + +HOST_QT6SHADERTOOLS_DEPENDENCIES = host-qt6base + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) -- 2.41.0 From adam.duskett at amarulasolutions.com Fri Oct 13 13:57:29 2023 From: adam.duskett at amarulasolutions.com (Adam Duskett) Date: Fri, 13 Oct 2023 15:57:29 +0200 Subject: [Buildroot] Future buildroot with QtQuick/QML Support In-Reply-To: <0df9596a80db41b88f9b83c5c254ea97@physiomed.de> References: <4fa235baaa88440e806f3c5f8f8bcb58@physiomed.de> <94908e37-932a-4626-8fcb-c39d3293fe38@benettiengineering.com> <5ea9bca9-6e26-ad12-6bd0-c131a3281460@mind.be> <0df9596a80db41b88f9b83c5c254ea97@physiomed.de> Message-ID: Jesse; I have submitted an initial patch series to add the qt6shadertools package to buildroot. Could you please test it and let me know if it works for you? https://patchwork.ozlabs.org/project/buildroot/list/?series=377514 Thanks! Adam Duskett Senior Embedded Systems Developer M. +1208-515-8102 adam.duskett at amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9170 info at amarulasolutions.com www.amarulasolutions.com On Fri, Oct 13, 2023 at 1:24?PM Sch?ffner, Florian < florian.schaeffner at physiomed.de> wrote: > Hello all, > > > > thank you all for your support and offers. It would be great to give > something back, but i?m afraid that i?m not able to finish your work Jesse. > Sadly by now i was just a user of the given configurations that could be > downloaded. I?ll try to use Qt5 or hire some help. Thanks again for your > support. > > Kind regards > > Florian > > > > *Von:* Adam Duskett > *Gesendet:* Dienstag, 10. Oktober 2023 21:52 > *An:* Jesse Van Gavere > *Cc:* Arnout Vandecappelle ; Giulio Benetti < > giulio.benetti at benettiengineering.com>; Sch?ffner, Florian < > florian.schaeffner at physiomed.de>; buildroot at buildroot.org > *Betreff:* Re: [Buildroot] Future buildroot with QtQuick/QML Support > > > > I can see about porting the package tomorrow! No worries! > > > > Adam Duskett > > Senior Embedded Systems Developer > > M. +1208-515-8102 > > adam.duskett at amarulasolutions.com > > __________________________________ > > > Amarula Solutions BV > > Joop Geesinkweg 125, 1114 AB, Amsterdam, NL > > T. +31 (0)85 111 9170 > info at amarulasolutions.com > > www.amarulasolutions.com > > > > > > > > On Tue, Oct 10, 2023 at 8:55?PM Jesse Van Gavere > wrote: > > Hi, > > Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle : > > > > > > > > On 10/10/2023 15:18, Giulio Benetti wrote: > > > Hello Florian, > > > > > > On 10/10/23 14:59, Sch?ffner, Florian wrote: > > >> Hello, > > >> > > >> our application is built in the development environment with Qt 6 and > > >> QtQuick/QML. Now i tried, but wasn?t able to setup a working > buildroot for our > > >> application to run on a embedded device. > > >> > > >> I found the conversation about qt6 and QML Support on the buildroot > mailing > > >> list and that it seems to be not possible to setup a buildroot for > our needs > > >> with Qt6 and QML support. > > >> > > >> > https://lore.kernel.org/buildroot/f22ce06d-d9cf-c561-7455-19dce724c158 at benettiengineering.com/ > > >> > > >> If I understood the answer from Giulio Benetti correctly, there is > currently > > >> no chance to make this configuration work for our embedded board with > buildroot? > > >> > > >> Can you please tell me if there will be support for this in the next > major > > >> buildroot version? Or is it not planned or foreseeable when a QML > support is > > >> possible with buildroot? > > > > Buildroot is a volunteer project - nothing is "planned" unless someone > goes > > through the effort of contributing it. > > > > > as I can see from Buildroot patchork at the moment there is no pending > > > patches to add features, but this doesn't mean it won't be added. > > > > > > Which modules would you be interested in most of all? > > > > If you're not able or willing to develop the Qt6 QML support yourself, > you may > > want to hire some help to do it. At the bottom of the "support" page on > the > > website [1] some companies are mentioned that can provide that help (I > work for > > one of them). Or you can find a freelancer - like Giulio. > > > > You can also ask the original contributor of Qt6 (Jesse, added in Cc) > if they > > perhaps have some PoC for QML already. Or perhaps their employer would be > > willing to share the cost of developing it. > > I do have a working POC to build QML with a plan for supporting > QtQuick, which I very much wanted to get upstreamed, however I've been > swamped with other non-buildroot work sadly. > That said, it should be very doable to add this support with not too much > work. > In a nutshell: > You need to add qtshadertools because of the qsb tool it builds, this > is a dependency for qtdeclarative to build QtQuick > This patch will be important: > > http://patchwork.ozlabs.org/project/buildroot/patch/20230808172231.1114696-1-jesse.vangavere at scioteq.com/ > The tricky thing there is that the host qt package does not build the > GUI by default, however since qt6 certain tools need to be built > through the host package, qsb is one of those, and to actually build > qsb through the qtshadertools package you need GUI support in the host > build, Thomas has provided some valuable feedback there how a proper > follow up patch could look like to add this functionality the right > way. > > Once that's done QML/QtQuick will be quite trivial to add, I already > have a qt6declarative package you could work with and (with some > refreshing of my memory) I could provide you the necessary config > options to add QtQuick alongside it. > > As said I don't have the time myself at the moment to do it right, and > I don't have a timeline for when I'll be able to do so, but if you're > willing to continue on the work I have to get it merged in, I'll > gladly help out where I can with some of my initial work and what I > know of how to get it all working, the finishing touches and testing > will be up to you however :) > > > > > Regards, > > Arnout > > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at korsgaard.com Fri Oct 13 14:34:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:34:04 +0200 Subject: [Buildroot] [PATCH] package/linux-tools: fix SysV init script In-Reply-To: <87bkdi7jwp.fsf@48ers.dk> (Peter Korsgaard's message of "Sun, 01 Oct 2023 11:48:38 +0200") References: <20230923100035.1504933-1-mail@jens-maus.de> <87bkdi7jwp.fsf@48ers.dk> Message-ID: <87edhy617n.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Jens" == Jens Maus via buildroot writes: >> This commit fixes the S10hyperv SysV init script which expects binaries >> to be locate in /sbin while they are installed in /usr/sbin. Please >> note, that the systemd init scripts correctly reference them. >> Furthermore, the SysV init script did not check for an actual HyperV >> environment to be present, which is also corrected. In addition, this >> commit also fixes check-package warnings regarding a missing DAEMON >> definition. >> Signed-off-by: Jens Maus >> --- >> package/linux-tools/S10hyperv | 8 ++++++-- >> 1 file changed, 6 insertions(+), 2 deletions(-) > This means we can now drop the entry in .checkpackageignore. Committed > with that included, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:35:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:35:43 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/webkitgtk: require GCC 9 for the 2.40.x series In-Reply-To: <87zg125yr2.fsf@48ers.dk> (Peter Korsgaard's message of "Sun, 01 Oct 2023 14:10:57 +0200") References: <20230929075844.1145939-1-thomas.devoogdt@barco.com> <87zg125yr2.fsf@48ers.dk> Message-ID: <87a5sm614w.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Thomas" == Thomas Devoogdt writes: >> Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. >> Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, >> we do check on >= GCC 9, because we can't check on >= GCC 9.3. >> [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 >> Signed-off-by: Thomas Devoogdt > Committed, thanks. What about wpewebkit? This seems to be common code, > so we presumably need GCC 9 there as well? Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:36:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:36:18 +0200 Subject: [Buildroot] [PATCH v3 10/16] Makefile: breaks hardlinks in global {TARGET, HOST}_DIR on per-package build In-Reply-To: <1bc18a02-9cf3-0cd1-cf8a-e716ceb78b9a@korsgaard.com> (Peter Korsgaard's message of "Sun, 1 Oct 2023 14:56:19 +0200") References: <20210817083930.3718711-1-herve.codina@bootlin.com> <20210817083930.3718711-11-herve.codina@bootlin.com> <1bc18a02-9cf3-0cd1-cf8a-e716ceb78b9a@korsgaard.com> Message-ID: <875y3a613x.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > On 17/08/2021 10.39, Herve Codina wrote: > Hi, > Sorry, very old patch. >> Without this patch, a make _rebuild detects overwrites. Indeed, in >> target_finalize steps some modifications are done on installed files (ie >> strip or TARGET_FINALIZE_HOOKS for instance). >> In order to avoid these modifications seen from per-package >> {TARGET,HOST}_DIR >> and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built >> using a full copy of the involved per-package files instead of hardlinks. >> Signed-off-by: Herve Codina >> Reviewed-by: Yann E. MORIN >> --- >> Changes v1 to v2: >> - Added 'Reviewed-by: Yann E. MORIN' > We have similar issues if you have a post-build script making changes > with sed or similar, so committed to master after fixing it up (the > logic was in the mean time moved to package/pkg-utils.mk), thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:37:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:37:13 +0200 Subject: [Buildroot] [PATCHv2] package/go: fix installation In-Reply-To: <87il7q5s0o.fsf@48ers.dk> (Peter Korsgaard's message of "Sun, 01 Oct 2023 16:36:23 +0200") References: <87il7q5s0o.fsf@48ers.dk> Message-ID: <871qdy612e.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> writes: >> From: "Yann E. MORIN" >> When building for a target architecture that go does not support, the >> isntallation fails with: >> $ make host-go >> [...] >> ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ >> ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory >> Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a >> host package, so it needs to be explicitly created before we can create >> entries in there. >> Signed-off-by: Yann E. MORIN >> Cc: Christian Stewart >> Cc: Anisse Astier >> --- >> Changes v1 -> v2: >> - drop surious hunk > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:38:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:38:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/syslog-ng: fix libressl build In-Reply-To: <20231001100009.468927-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 12:00:09 +0200") References: <20231001100009.468927-1-fontaine.fabrice@gmail.com> Message-ID: <87wmvq4mg8.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fox the following build failure with libressl raised since bump to > version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and > https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: > lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': > lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? > 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); > | ^~~~~~~~~~~~ > | SSL_AEAD_CTX > Fixes: > - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:39:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:39:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/tar: security bump to version 1.35 In-Reply-To: <20231001142356.908755-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 16:23:56 +0200") References: <20231001142356.908755-1-fontaine.fabrice@gmail.com> Message-ID: <87sf6e4meg.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds > read that results in use of uninitialized memory for a conditional > jump. Exploitation to change the flow of control has not been > demonstrated. The issue occurs in from_header in list.c via a V7 > archive in which mtime has approximately 11 whitespace characters. > - Update hash of COPYING (http replaced by https) > https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:41:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:41:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-generic.mk: fix rule order for re{install, build, configure} In-Reply-To: (Arnout Vandecappelle via buildroot's message of "Sun, 1 Oct 2023 18:05:19 +0200") References: <20221018034605.800593-1-james.hilliard1@gmail.com> Message-ID: <87o7h24mab.fsf@48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle via buildroot writes: > Hi James, > On 18/10/2022 05:46, James Hilliard wrote: >> These command rely on the clean operations being first so that the >> stamp files being deleted will rebuild the targets. >> The execution ordering of the clean and rebuild operations may >> change, for example if --shuffle=reversed is set. >> To ensure the evaluation order is always correct use double colon >> rules to make the evaluation order explicit as per make docs: >> The double-colon rules for a target are executed in the order they >> appear in the makefile. > As noted in earlier discussions, this feels a bit hackish and it's > not clear if this behaviour is going to be kept in future versions of > make. > Since make 4.4, however, there's a better solution: it introduced a > .WAIT phony target that enforces the ordering of dependencies. So I > instead made a commit[1] that uses that approach. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:43:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:43:18 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/Makefile.in: set --shuffle=none for MAKE1 In-Reply-To: (Arnout Vandecappelle via buildroot's message of "Sun, 1 Oct 2023 18:09:48 +0200") References: <20221016193014.3384022-1-james.hilliard1@gmail.com> Message-ID: <87jzrq4m7t.fsf@48ers.dk> >>>>> "Arnout" == Arnout Vandecappelle via buildroot writes: > On 16/10/2022 21:30, James Hilliard wrote: >> Make 4.4 introduces a shuffle mode which randomizes prerequisites >> in order to better flush out issues with parallel builds, as this >> mode randomizes prerequisites even when using -j1 builds we must >> also explicitely mark parallel incompatible builds by setting >> --shuffle=none which disables goals prerequisites randomization >> for the parallel incompatible package when running in shuffle mode. >> Signed-off-by: James Hilliard > Applied to master with a slightly extended commit message, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:37:03 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:37:03 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: fix installation Message-ID: <20231013144605.B3116847A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fe1dd05d4cc5f23eb27ea64ad87aab2508a4ce70 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x When building for a target architecture that go does not support, the installation fails with: $ make host-go [...] ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a host package, so it needs to be explicitly created before we can create entries in there. Signed-off-by: Yann E. MORIN Cc: Christian Stewart Cc: Anisse Astier Signed-off-by: Peter Korsgaard (cherry picked from commit 1db38d928292aaca493c80527008b9bd7e6db602) Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index 01442b0f62..cc374aa44f 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -146,6 +146,7 @@ define HOST_GO_INSTALL_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt + mkdir -p $(HOST_DIR)/bin ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/ ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/ From peter at korsgaard.com Fri Oct 13 14:43:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:43:05 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/Makefile.in: set --shuffle=none for MAKE1 Message-ID: <20231013144605.D5553847A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf2aef7992e423f89334257310a3bb867c997e24 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Make 4.4 introduces a shuffle mode which randomizes prerequisites in order to better flush out issues with parallel builds. On the other hand, we use MAKE1 to build packages that are known to be broken with parallel build. For these, passing the shuffle option would be counter-productive and lead to spurious build failures. The --shuffle=none option exists to turn off shuffling again. We can't add this option unconditionally, however, because Make < 4.4 doesn't know it. Therefore, conditionally pass --shuffle=none only if there is a shuffle option in MAKEFLAGS. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (cherry picked from commit f664d7dc24c70ef08ced78d5d3f50a8ad673ea02) Signed-off-by: Peter Korsgaard --- package/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index d70aded82b..7e6ae19559 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -17,7 +17,9 @@ else PARALLEL_JOBS := $(BR2_JLEVEL) endif -MAKE1 := $(HOSTMAKE) -j1 +# Only build one job at a time, *and* to not randomise goals and +# prerequisites ordering in make 4.4+ +MAKE1 := $(HOSTMAKE) -j1 $(if $(findstring --shuffle,$(MAKEFLAGS)),--shuffle=none) override MAKE = $(HOSTMAKE) \ $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) From peter at korsgaard.com Fri Oct 13 14:32:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:32:02 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/linux-tools: fix SysV init script Message-ID: <20231013144605.92F3F847A0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2055dc5ae57298aa6aa4e81b985affa5577c7e01 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x This commit fixes the S10hyperv SysV init script which expects binaries to be locate in /sbin while they are installed in /usr/sbin. Please note, that the systemd init scripts correctly reference them. Furthermore, the SysV init script did not check for an actual HyperV environment to be present, which is also corrected. In addition, this commit also fixes check-package warnings regarding a missing DAEMON definition. Signed-off-by: Jens Maus [Peter: drop from .checkpackageignore] Signed-off-by: Peter Korsgaard (cherry picked from commit 14c4bd7bf8150283e158c50df87c77d63bb1b73c) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 1 - package/linux-tools/S10hyperv | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 4faa3a8b8f..dbff352d3b 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -93,7 +93,6 @@ package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patch Sob package/libiio/S99iiod Shellcheck Variables package/libmad/0001-mips-h-constraint-removal.patch Sob package/lighttpd/S50lighttpd EmptyLastLine Indent Shellcheck Variables -package/linux-tools/S10hyperv Variables package/linuxptp/S65ptp4l Indent Shellcheck package/linuxptp/S66phc2sys Indent Shellcheck package/lirc-tools/S25lircd Indent Variables diff --git a/package/linux-tools/S10hyperv b/package/linux-tools/S10hyperv index 32887d1b6c..be9ed2c5df 100644 --- a/package/linux-tools/S10hyperv +++ b/package/linux-tools/S10hyperv @@ -2,14 +2,18 @@ PROGS="@PROGS@" PIDDIR="/var/run" +DAEMON="hyperv" # shellcheck source=/dev/null -[ -r "/etc/default/hyperv" ] && . "/etc/default/hyperv" +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +# only continue if we are in a HyperV platform +[ -e "/sys/bus/vmbus" ] || exit 0 start_one() { printf 'Starting %s: ' "$1" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/sbin/$1" -- -n + start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/usr/sbin/$1" -- -n status=$? if [ "$status" -eq 0 ]; then echo "OK" From peter at korsgaard.com Fri Oct 13 14:36:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:36:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/pkg-utils.mk: break hardlinks in global {TARGET, HOST}_DIR on per-package build Message-ID: <20231013144605.A9022847A4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=71132ca41bc1b99374f406267d985be50aca9679 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Without this patch, a make _rebuild detects overwrites. Indeed, in target_finalize steps some modifications are done on installed files (ie strip or TARGET_FINALIZE_HOOKS for instance). In order to avoid these modifications seen from per-package {TARGET,HOST}_DIR and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built using a full copy of the involved per-package files instead of hardlinks. Signed-off-by: Herve Codina Reviewed-by: Yann E. MORIN Signed-off-by: Peter Korsgaard (cherry picked from commit 21d52e52d8dee0940d28b3a38551eb183be37813) Signed-off-by: Peter Korsgaard --- package/pkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index 530638566c..bdbdf20c23 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -217,7 +217,7 @@ ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) define per-package-rsync mkdir -p $(3) $(foreach pkg,$(1),\ - rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ + rsync -a \ $(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ $(3)$(sep)) endef From peter at korsgaard.com Fri Oct 13 14:35:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:35:33 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/webkitgtk: require GCC 9 for the 2.40.x series Message-ID: <20231013144605.9FA7A846D2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=18a767beca20833760f7cc7ebf179b20ea85e9e6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard (cherry picked from commit de38484ec31437e3f2f0d7c0fa46f2f30d0a8fbb) Signed-off-by: Peter Korsgaard --- package/webkitgtk/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 23c0bf41db..d47d6a8c1b 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 8, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS From peter at korsgaard.com Fri Oct 13 14:41:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:41:21 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/pkg-generic.mk: fix rule order for reinstall/rebuild/reconfigure Message-ID: <20231013144605.CC23D846D2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3038bcc6c1532123fbcc8e22a4e684aaadd94723 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The reinstall, rebuild and reconfigure commands rely on the left-to-right order of evaluation of the dependencies to make sure that the stamp files are removed before attempting to rebuild. However, this order of evaluation is not guaranteed. In particular, if top-level parallel build is enabled, they are executed in parallel and the stamp file may not have been removed yet when it is evaluated to decide if rebuild has to be done. Since make 4.4, it is possible to reproduce this issue by passing `--shuffle=reverse` to the make commandline. To solve this, add a .WAIT directive between the clean and install/build/configure dependencies. .WAIT was introduced in make 4.4 as well. It makes sure that the dependencies on the left are evaluated before the dependencies on the right - exactly what we want here. Earlier versions of make don't know about .WAIT, so we need to add a .PHONY dependency to effectively ignore it. Note that this doesn't fix the problem for make versions earlier than 4.4. However, the issue isn't really that important: reinstall, rebuild and reconfigure are development tools, they're not fully reliable to begin with, and it's anyway less likely that someone uses `make -j` when doing a reinstall/rebuild/reconfigure. Signed-off-by: Arnout Vandecappelle Reported-by: James Hilliard (cherry picked from commit 7e3105d5c8bd9ab31e728af9732a67d203c0a2e4) Signed-off-by: Peter Korsgaard --- Makefile | 3 +++ package/pkg-generic.mk | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a7b7729946..67d3f3105a 100644 --- a/Makefile +++ b/Makefile @@ -1270,4 +1270,7 @@ include docs/manual/manual.mk .PHONY: $(noconfig_targets) +# .WAIT was introduced in make 4.4. For older make, define it as phony. +.PHONY: .WAIT + endif #umask / $(CURDIR) / $(O) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 82187d7db9..1796f29b1f 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -1057,17 +1057,17 @@ endif rm -f $$($(2)_TARGET_INSTALL_IMAGES) rm -f $$($(2)_TARGET_INSTALL_HOST) -$(1)-reinstall: $(1)-clean-for-reinstall $(1) +$(1)-reinstall: $(1)-clean-for-reinstall .WAIT $(1) $(1)-clean-for-rebuild: $(1)-clean-for-reinstall rm -f $$($(2)_TARGET_BUILD) -$(1)-rebuild: $(1)-clean-for-rebuild $(1) +$(1)-rebuild: $(1)-clean-for-rebuild .WAIT $(1) $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild rm -f $$($(2)_TARGET_CONFIGURE) -$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) +$(1)-reconfigure: $(1)-clean-for-reconfigure .WAIT $(1) # define the PKG variable for all targets, containing the # uppercase package variable prefix From peter at korsgaard.com Fri Oct 13 14:39:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:39:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/tar: security bump to version 1.35 Message-ID: <20231013144605.BD25E847A6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ec4bbdeaf86fdc10babef276ed605742050e48e7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. - Update hash of COPYING (http replaced by https) https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit d4d483451f0a305781b94b96c15a6cf4b489cd84) Signed-off-by: Peter Korsgaard --- package/tar/tar.hash | 6 +++--- package/tar/tar.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/tar/tar.hash b/package/tar/tar.hash index 1914a9f3b4..108a95ee62 100644 --- a/package/tar/tar.hash +++ b/package/tar/tar.hash @@ -1,4 +1,4 @@ # Locally calculated after checking signature -sha256 63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz -sha256 51337b19c71df92cd4f51c50efe4dc6ddc267d31fd54679be9e9bc2e6ce8132b tar-1.34.cpio.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16 tar-1.35.tar.xz +sha256 c77a38fcf25b21fd8209d20d35638744344ded239cfc7df80138bf46d3c6b16d tar-1.35.cpio.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 690a5952ba..eea112ebc7 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -4,7 +4,7 @@ # ################################################################################ -TAR_VERSION = 1.34 +TAR_VERSION = 1.35 TAR_SOURCE = tar-$(TAR_VERSION).tar.xz TAR_SITE = $(BR2_GNU_MIRROR)/tar # busybox installs in /bin, so we need tar to install as well in /bin From peter at korsgaard.com Fri Oct 13 14:35:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:35:10 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/webkitgtk: require GCC 9 for the 2.40.x series Message-ID: <20231013144706.CCEE7847A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6c57e265174b3dd207114208421a107eebca9943 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Raise the minimal GCC version to 9.3, which is required since webkitgtk-2.40.0 [1]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard (cherry picked from commit de38484ec31437e3f2f0d7c0fa46f2f30d0a8fbb) Signed-off-by: Peter Korsgaard --- package/webkitgtk/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 23c0bf41db..d47d6a8c1b 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 8, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS From peter at korsgaard.com Fri Oct 13 14:36:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:36:58 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/go: fix installation Message-ID: <20231013144706.DFC30847A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cbe2f10910dd3208b656ccca0029f54cefd4321e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x When building for a target architecture that go does not support, the installation fails with: $ make host-go [...] ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a host package, so it needs to be explicitly created before we can create entries in there. Signed-off-by: Yann E. MORIN Cc: Christian Stewart Cc: Anisse Astier Signed-off-by: Peter Korsgaard (cherry picked from commit 1db38d928292aaca493c80527008b9bd7e6db602) Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index 01442b0f62..cc374aa44f 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -146,6 +146,7 @@ define HOST_GO_INSTALL_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt + mkdir -p $(HOST_DIR)/bin ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/ ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/ From peter at korsgaard.com Fri Oct 13 14:37:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:37:51 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/syslog-ng: fix libressl build Message-ID: <20231013144706.E966D847A6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=29e7a27801cf665f2fad14a2f6663b5c9ba41231 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fox the following build failure with libressl raised since bump to version 4.1.1 in commit 683563da8095c2eb69e677402b9bef7217ae90d9 and https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); | ^~~~~~~~~~~~ | SSL_AEAD_CTX Fixes: - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit b38aed4eb4246dff4815d85ae1603db2899fa98f) Signed-off-by: Peter Korsgaard --- ...ransport-tls-context.c-fix-libressl-build.patch | 97 ++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch new file mode 100644 index 0000000000..17cc72b983 --- /dev/null +++ b/package/syslog-ng/0002-lib-transport-tls-context.c-fix-libressl-build.patch @@ -0,0 +1,97 @@ +From ede106afd7d70a8f962acf10a4e3f4a50a70cb15 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Oct 2023 11:27:09 +0200 +Subject: [PATCH] lib/transport/tls-context.c: fix libressl build + +Fix the following build failure with libressl raised since version 4.0.0 +and +https://github.com/syslog-ng/syslog-ng/commit/bc05f28a4b511ac9090195280163a7f822712ceb: + +lib/transport/tls-context.c: In function 'tls_context_setup_cmd_context': +lib/transport/tls-context.c:320:3: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? + 320 | SSL_CONF_CTX *ssl_conf_ctx = SSL_CONF_CTX_new(); + | ^~~~~~~~~~~~ + | SSL_AEAD_CTX + +Fixes: + - http://autobuild.buildroot.org/results/dc4d60d752e579ef054915eee3d7e3e73c25929b + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/syslog-ng/syslog-ng/pull/4655 +--- + cmake/openssl_functions.cmake | 1 + + configure.ac | 1 + + lib/transport/tls-context.c | 4 ++++ + syslog-ng-config.h.in | 1 + + 4 files changed, 7 insertions(+) + +diff --git a/cmake/openssl_functions.cmake b/cmake/openssl_functions.cmake +index 5afbd7f12..da06ca59a 100644 +--- a/cmake/openssl_functions.cmake ++++ b/cmake/openssl_functions.cmake +@@ -41,6 +41,7 @@ function (openssl_set_defines) + X509_get_extension_flags + DH_set0_pqg + BN_get_rfc3526_prime_2048 ++ SSL_CONF_CTX_new + SSL_CTX_set_num_tickets + SSL_CTX_set_ciphersuites + SSL_CTX_set1_sigalgs_list +diff --git a/configure.ac b/configure.ac +index d636bbefa..46e43db7b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1136,6 +1136,7 @@ AC_CHECK_DECLS([EVP_MD_CTX_reset], [], [], [[#include ]]) + AC_CHECK_DECLS([ASN1_STRING_get0_data], [], [], [[#include ]]) + AC_CHECK_DECLS([DH_set0_pqg], [], [], [[#include ]]) + AC_CHECK_DECLS([BN_get_rfc3526_prime_2048], [], [], [[#include ]]) ++AC_CHECK_DECLS([SSL_CONF_CTX_new],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set_num_tickets],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_sigalgs_list],[], [], [[#include ]]) + AC_CHECK_DECLS([SSL_CTX_set1_client_sigalgs_list],[], [], [[#include ]]) +diff --git a/lib/transport/tls-context.c b/lib/transport/tls-context.c +index be2fea68d..713b63f31 100644 +--- a/lib/transport/tls-context.c ++++ b/lib/transport/tls-context.c +@@ -314,6 +314,7 @@ tls_context_setup_sigalgs(TLSContext *self) + return TRUE; + } + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + static gboolean + tls_context_setup_cmd_context(TLSContext *self) + { +@@ -347,6 +348,7 @@ tls_context_setup_cmd_context(TLSContext *self) + SSL_CONF_CTX_free(ssl_conf_ctx); + return result; + } ++#endif + + static PKCS12 * + _load_pkcs12_file(TLSContext *self, const gchar *pkcs12_file) +@@ -593,8 +595,10 @@ tls_context_setup_context(TLSContext *self) + if (!tls_context_setup_sigalgs(self)) + goto error; + ++#if SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + if (!tls_context_setup_cmd_context(self)) + goto error; ++#endif + + return TLS_CONTEXT_SETUP_OK; + +diff --git a/syslog-ng-config.h.in b/syslog-ng-config.h.in +index 412294d2a..6d01b84a0 100644 +--- a/syslog-ng-config.h.in ++++ b/syslog-ng-config.h.in +@@ -60,6 +60,7 @@ + #cmakedefine ENV_LD_LIBRARY_PATH @ENV_LD_LIBRARY_PATH@ + #cmakedefine01 SYSLOG_NG_HAVE_DECL_EVP_MD_CTX_RESET + #cmakedefine01 SYSLOG_NG_HAVE_DECL_ASN1_STRING_GET0_DATA ++#cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CONF_CTX_new + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_GET0_PARAM + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET_CIPHERSUITES + #cmakedefine01 SYSLOG_NG_HAVE_DECL_SSL_CTX_SET1_SIGALGS_LIST +-- +2.40.1 + From peter at korsgaard.com Fri Oct 13 14:36:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:36:05 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/pkg-utils.mk: break hardlinks in global {TARGET, HOST}_DIR on per-package build Message-ID: <20231013144706.D6898847A4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=15a57fab296a9d5ed131b3eb7d63ce0557483afe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Without this patch, a make _rebuild detects overwrites. Indeed, in target_finalize steps some modifications are done on installed files (ie strip or TARGET_FINALIZE_HOOKS for instance). In order to avoid these modifications seen from per-package {TARGET,HOST}_DIR and so been analyzed as some overwrites, global {TARGET,HOST}_DIR is built using a full copy of the involved per-package files instead of hardlinks. Signed-off-by: Herve Codina Reviewed-by: Yann E. MORIN Signed-off-by: Peter Korsgaard (cherry picked from commit 21d52e52d8dee0940d28b3a38551eb183be37813) Signed-off-by: Peter Korsgaard --- package/pkg-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index 530638566c..bdbdf20c23 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -217,7 +217,7 @@ ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) define per-package-rsync mkdir -p $(3) $(foreach pkg,$(1),\ - rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ + rsync -a \ $(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ $(3)$(sep)) endef From peter at korsgaard.com Fri Oct 13 14:42:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:42:59 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/Makefile.in: set --shuffle=none for MAKE1 Message-ID: <20231013144707.1794C814B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=80388d5a8019ee8ce6513877e4ff680e77e6706b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Make 4.4 introduces a shuffle mode which randomizes prerequisites in order to better flush out issues with parallel builds. On the other hand, we use MAKE1 to build packages that are known to be broken with parallel build. For these, passing the shuffle option would be counter-productive and lead to spurious build failures. The --shuffle=none option exists to turn off shuffling again. We can't add this option unconditionally, however, because Make < 4.4 doesn't know it. Therefore, conditionally pass --shuffle=none only if there is a shuffle option in MAKEFLAGS. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (cherry picked from commit f664d7dc24c70ef08ced78d5d3f50a8ad673ea02) Signed-off-by: Peter Korsgaard --- package/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index d70aded82b..7e6ae19559 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -17,7 +17,9 @@ else PARALLEL_JOBS := $(BR2_JLEVEL) endif -MAKE1 := $(HOSTMAKE) -j1 +# Only build one job at a time, *and* to not randomise goals and +# prerequisites ordering in make 4.4+ +MAKE1 := $(HOSTMAKE) -j1 $(if $(findstring --shuffle,$(MAKEFLAGS)),--shuffle=none) override MAKE = $(HOSTMAKE) \ $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) From peter at korsgaard.com Fri Oct 13 14:38:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:38:41 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/tar: security bump to version 1.35 Message-ID: <20231013144706.F291E843FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=97128028df9b116149fb2d2f482e0454bc1077e5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x - Fix CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. - Update hash of COPYING (http replaced by https) https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit d4d483451f0a305781b94b96c15a6cf4b489cd84) Signed-off-by: Peter Korsgaard --- package/tar/tar.hash | 6 +++--- package/tar/tar.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/tar/tar.hash b/package/tar/tar.hash index 1914a9f3b4..108a95ee62 100644 --- a/package/tar/tar.hash +++ b/package/tar/tar.hash @@ -1,4 +1,4 @@ # Locally calculated after checking signature -sha256 63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz -sha256 51337b19c71df92cd4f51c50efe4dc6ddc267d31fd54679be9e9bc2e6ce8132b tar-1.34.cpio.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16 tar-1.35.tar.xz +sha256 c77a38fcf25b21fd8209d20d35638744344ded239cfc7df80138bf46d3c6b16d tar-1.35.cpio.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 690a5952ba..eea112ebc7 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -4,7 +4,7 @@ # ################################################################################ -TAR_VERSION = 1.34 +TAR_VERSION = 1.35 TAR_SOURCE = tar-$(TAR_VERSION).tar.xz TAR_SITE = $(BR2_GNU_MIRROR)/tar # busybox installs in /bin, so we need tar to install as well in /bin From peter at korsgaard.com Fri Oct 13 14:41:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:41:34 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/pkg-generic.mk: fix rule order for reinstall/rebuild/reconfigure Message-ID: <20231013144707.0DB8D847A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8fceb06e6c31067e79bedc28f7ac1f8df749335b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The reinstall, rebuild and reconfigure commands rely on the left-to-right order of evaluation of the dependencies to make sure that the stamp files are removed before attempting to rebuild. However, this order of evaluation is not guaranteed. In particular, if top-level parallel build is enabled, they are executed in parallel and the stamp file may not have been removed yet when it is evaluated to decide if rebuild has to be done. Since make 4.4, it is possible to reproduce this issue by passing `--shuffle=reverse` to the make commandline. To solve this, add a .WAIT directive between the clean and install/build/configure dependencies. .WAIT was introduced in make 4.4 as well. It makes sure that the dependencies on the left are evaluated before the dependencies on the right - exactly what we want here. Earlier versions of make don't know about .WAIT, so we need to add a .PHONY dependency to effectively ignore it. Note that this doesn't fix the problem for make versions earlier than 4.4. However, the issue isn't really that important: reinstall, rebuild and reconfigure are development tools, they're not fully reliable to begin with, and it's anyway less likely that someone uses `make -j` when doing a reinstall/rebuild/reconfigure. Signed-off-by: Arnout Vandecappelle Reported-by: James Hilliard (cherry picked from commit 7e3105d5c8bd9ab31e728af9732a67d203c0a2e4) Signed-off-by: Peter Korsgaard --- Makefile | 3 +++ package/pkg-generic.mk | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5635bff6e8..ae7ba3cdbe 100644 --- a/Makefile +++ b/Makefile @@ -1254,4 +1254,7 @@ include docs/manual/manual.mk .PHONY: $(noconfig_targets) +# .WAIT was introduced in make 4.4. For older make, define it as phony. +.PHONY: .WAIT + endif #umask / $(CURDIR) / $(O) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 5d1c1da128..9947e4cc6d 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -1057,17 +1057,17 @@ endif rm -f $$($(2)_TARGET_INSTALL_IMAGES) rm -f $$($(2)_TARGET_INSTALL_HOST) -$(1)-reinstall: $(1)-clean-for-reinstall $(1) +$(1)-reinstall: $(1)-clean-for-reinstall .WAIT $(1) $(1)-clean-for-rebuild: $(1)-clean-for-reinstall rm -f $$($(2)_TARGET_BUILD) -$(1)-rebuild: $(1)-clean-for-rebuild $(1) +$(1)-rebuild: $(1)-clean-for-rebuild .WAIT $(1) $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild rm -f $$($(2)_TARGET_CONFIGURE) -$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) +$(1)-reconfigure: $(1)-clean-for-reconfigure .WAIT $(1) # define the PKG variable for all targets, containing the # uppercase package variable prefix From peter at korsgaard.com Fri Oct 13 14:33:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:33:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/linux-tools: fix SysV init script Message-ID: <20231013144706.C3994843FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4ede63c069d81aaabbe1960d4ff63689d2c2b67a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x This commit fixes the S10hyperv SysV init script which expects binaries to be locate in /sbin while they are installed in /usr/sbin. Please note, that the systemd init scripts correctly reference them. Furthermore, the SysV init script did not check for an actual HyperV environment to be present, which is also corrected. In addition, this commit also fixes check-package warnings regarding a missing DAEMON definition. Signed-off-by: Jens Maus [Peter: drop from .checkpackageignore] Signed-off-by: Peter Korsgaard (cherry picked from commit 14c4bd7bf8150283e158c50df87c77d63bb1b73c) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 1 - package/linux-tools/S10hyperv | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 1ff0f4e0c0..526df2d781 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -825,7 +825,6 @@ package/linux-fusion/0001-fix-for-linux-4-and-above.patch Upstream package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch Upstream package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch Upstream package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch Upstream -package/linux-tools/S10hyperv Variables package/linux-zigbee/0001-test-serial-Remove-test-serial.patch Upstream package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch Upstream package/linuxptp/S65ptp4l Indent Shellcheck diff --git a/package/linux-tools/S10hyperv b/package/linux-tools/S10hyperv index 32887d1b6c..be9ed2c5df 100644 --- a/package/linux-tools/S10hyperv +++ b/package/linux-tools/S10hyperv @@ -2,14 +2,18 @@ PROGS="@PROGS@" PIDDIR="/var/run" +DAEMON="hyperv" # shellcheck source=/dev/null -[ -r "/etc/default/hyperv" ] && . "/etc/default/hyperv" +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +# only continue if we are in a HyperV platform +[ -e "/sys/bus/vmbus" ] || exit 0 start_one() { printf 'Starting %s: ' "$1" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/sbin/$1" -- -n + start-stop-daemon -b -m -S -q -p "$PIDDIR/$1.pid" -x "/usr/sbin/$1" -- -n status=$? if [ "$status" -eq 0 ]; then echo "OK" From peter at korsgaard.com Fri Oct 13 14:58:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:58:43 +0200 Subject: [Buildroot] [PATCH v1] package/wpewebkit: needs >= GCC 9 In-Reply-To: <20231001172905.1962565-1-thomas.devoogdt@barco.com> (Thomas Devoogdt's message of "Sun, 1 Oct 2023 19:29:05 +0200") References: <20231001172905.1962565-1-thomas.devoogdt@barco.com> Message-ID: <87fs2e4li4.fsf@48ers.dk> >>>>> "Thomas" == Thomas Devoogdt writes: > Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. > Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, > we do check on >= GCC 9, because we can't check on >= GCC 9.3. > [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 > Signed-off-by: Thomas Devoogdt Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:00:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:00:59 +0200 Subject: [Buildroot] [PATCH] package/enlightenment: security bump to version 0.25.4 In-Reply-To: <20231001181141.1275330-3-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 20:11:42 +0200") References: <20231001181141.1275330-3-dalang@gmx.at> Message-ID: <87bkd24lec.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > This is a bugfix release which fixes a CVE. > See: > https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 > CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows > local users to gain privileges because it is setuid root, and the system > library function mishandles pathnames that begin with a /dev/.. > substring." > Hashes were never part of the online news page, therefore mark them as > locally computed. > Signed-off-by: Daniel Lang Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:02:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:02:57 +0200 Subject: [Buildroot] [PATCH] package/libmodplug: add a patch fixing cctype UB In-Reply-To: <20231001194952.GO2579@scaer> (Yann E. MORIN's message of "Sun, 1 Oct 2023 21:49:52 +0200") References: <20230109220041.33943-1-glex.spb@gmail.com> <20231001194952.GO2579@scaer> Message-ID: <877cnq4lb2.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > Gleb, All, > Sorry for the delay, now I've handled that patch... > On 2023-01-09 22:00 +0000, Gleb Mazovetskiy spake thusly: >> libmodplug calls `cctype` functions, such as `isspace`, >> with negative values. This is undefined behaviour. >> >> While glibc allows it, it crashes on uClibc compiled >> without `UCLIBC_HAS_CTYPE_SIGNED`. >> >> Adds a patch that resolves the issue. > We discussed it during the hackathon this WE, and we were a bit ,eh > about that patch, because it is a bit big, and upstream has not > responded to it. > However, upstream does indeed look pretty dead with no activity in the > past two years and only the occasional commit before that, so there is > very low risk at integrating this patch in Buildroot, as it should not > cause much maintenance issue. On the off chance upstream ever release > something new, we can assess the situation then. >> Also sent upstream. However, the library author has not merged >> any pull request for about a year. >> https://github.com/Konstanty/libmodplug/pull/92 >> >> Signed-off-by: Gleb Mazovetskiy > $ make check-package > package/libmodplug/0001-fix-cctype-ub.patch:0: missing > Signed-off-by in the header > (http://nightly.buildroot.org/#_format_and_licensing_of_the_package_patches) > package/libmodplug/0001-fix-cctype-ub.patch:0: missing Upstream in > the header > (http://nightly.buildroot.org/#_additional_patch_documentation) > The latter is newer than your patch, so that's not your fault; I fixed > it when applying. > For the former, since your SoB-ed your Buildoot contribution, I > copy-pasted it to the bundled patch too. > Applied to master with that fixed, thanks. > Eh, btw: I'm surprised people are still doing MOD nowadays! :-) Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:04:03 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:04:03 +0200 Subject: [Buildroot] [git commit] package/libmodplug: use a full-length hash as version In-Reply-To: <20231001195516.9BA4383F9E@busybox.osuosl.org> (Yann E. MORIN's message of "Sun, 1 Oct 2023 21:52:12 +0200") References: <20231001195516.9BA4383F9E@busybox.osuosl.org> Message-ID: <8734ye4l98.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > commit: https://git.buildroot.net/buildroot/commit/?id=80e94c76169fd15d2433b18a9e54d6a4f3c4ff18 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > Commit 369ff9a88ff8 (package/libmodplug: update to git version) > improperly used a short hash as version, so switch to the full-length > hash. > Github use the full-length hash when it creates the top-level directory > of the generated archive, so the hash of the archive does not in fact > change, only its filename. This is perfectly fine fine our handling of > s.b.o. > Signed-off-by: Yann E. MORIN Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 14:57:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:57:51 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/wpewebkit: needs >= GCC 9 Message-ID: <20231013150445.C6DF5847B5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7590babc70e7994ebdb940d257734925aef511a0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard (cherry picked from commit 603fa625b14c849ef42262c7b755276fa9231c25) Signed-off-by: Peter Korsgaard --- package/wpewebkit/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in index 7a8dc557c3..ea2159945d 100644 --- a/package/wpewebkit/Config.in +++ b/package/wpewebkit/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" +comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \ || !BR2_HOST_GCC_AT_LEAST_4_9 comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" @@ -37,7 +37,7 @@ config BR2_PACKAGE_WPEWEBKIT depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy From peter at korsgaard.com Fri Oct 13 15:03:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:03:52 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libmodplug: use a full-length hash as version Message-ID: <20231013150445.EE5FC847B8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=90e5c7cdb83c9b50f1ec60c75fdc56baa73e1bb1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Commit 369ff9a88ff8 (package/libmodplug: update to git version) improperly used a short hash as version, so switch to the full-length hash. Github use the full-length hash when it creates the top-level directory of the generated archive, so the hash of the archive does not in fact change, only its filename. This is perfectly fine fine our handling of s.b.o. Signed-off-by: Yann E. MORIN (cherry picked from commit 80e94c76169fd15d2433b18a9e54d6a4f3c4ff18) Signed-off-by: Peter Korsgaard --- package/libmodplug/libmodplug.hash | 2 +- package/libmodplug/libmodplug.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libmodplug/libmodplug.hash b/package/libmodplug/libmodplug.hash index 01ff71014c..8aaf500a3a 100644 --- a/package/libmodplug/libmodplug.hash +++ b/package/libmodplug/libmodplug.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed.tar.gz +sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed0020bc620a059d3675d1854b40bd2608d.tar.gz sha256 49942e7b3b175f549e751feb08b5270ca6f6c5fb7a1be9f9517db275ec32c92e COPYING diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk index 735d0e704d..c5d2463fdb 100644 --- a/package/libmodplug/libmodplug.mk +++ b/package/libmodplug/libmodplug.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMODPLUG_VERSION = d1b97ed +LIBMODPLUG_VERSION = d1b97ed0020bc620a059d3675d1854b40bd2608d LIBMODPLUG_SITE = $(call github,Konstanty,libmodplug,$(LIBMODPLUG_VERSION)) LIBMODPLUG_INSTALL_STAGING = YES LIBMODPLUG_LICENSE = Public Domain From peter at korsgaard.com Fri Oct 13 14:59:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:59:20 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/enlightenment: security bump to version 0.25.4 Message-ID: <20231013150445.D2FD2847B6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=20542acda60788162fef0c3043df8ccb2d9ef610 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x This is a bugfix release which fixes a CVE. See: https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring." Hashes were never part of the online news page, therefore mark them as locally computed. Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 83ffe153faa97b08acbfd0d15d4ca7f77604c17a) Signed-off-by: Peter Korsgaard --- package/enlightenment/enlightenment.hash | 5 +++-- package/enlightenment/enlightenment.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/enlightenment/enlightenment.hash b/package/enlightenment/enlightenment.hash index 2d977b86f7..ed5d6b24ef 100644 --- a/package/enlightenment/enlightenment.hash +++ b/package/enlightenment/enlightenment.hash @@ -1,4 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-enlightenment-0.25.1 -sha256 2cf05fe3d96ef35e823619dbc0ac513ecabcae2186800ecd804924a637112444 enlightenment-0.25.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 +sha256 56db5d206b821b9a8831d26e713e410ac70b2255a6f43fcdf7c01eefde23b7a2 enlightenment-0.25.4.tar.xz +# Locally computed sha256 8d2fbc393e967cd6f5b8559d1744881a6a1ceb3ec6e1c2368c3916809ffccb8d COPYING sha256 cdc77ee1732455b203610f923fe4196046b3f7509038c48dc0b0c7e3492c23f3 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk index 95670e800d..836c6e581d 100644 --- a/package/enlightenment/enlightenment.mk +++ b/package/enlightenment/enlightenment.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENLIGHTENMENT_VERSION = 0.25.1 +ENLIGHTENMENT_VERSION = 0.25.4 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz ENLIGHTENMENT_SITE = https://download.enlightenment.org/rel/apps/enlightenment ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) From peter at korsgaard.com Fri Oct 13 15:02:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:02:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libmodplug: add a patch fixing cctype UB Message-ID: <20231013150445.E03C8847B7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=880ddba3f39d95f3953610a9b4f18c8a4f8dd275 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x libmodplug calls `cctype` functions, such as `isspace`, with negative values. This is undefined behaviour. While glibc allows it, it crashes on uClibc compiled without `UCLIBC_HAS_CTYPE_SIGNED`. Adds a patch that resolves the issue. Also sent upstream. However, the library author has not merged any pull request for about a year. Signed-off-by: Gleb Mazovetskiy [yann.morin.1998 at free.fr: - add Gleb's SoB to the patch - add upstream URL to the patch ] Signed-off-by: Yann E. MORIN (cherry picked from commit 33d0a13c3b7b86cbbff3dddb4c39ad41cae1c1c0) Signed-off-by: Peter Korsgaard --- package/libmodplug/0001-fix-cctype-ub.patch | 957 ++++++++++++++++++++++++++++ 1 file changed, 957 insertions(+) diff --git a/package/libmodplug/0001-fix-cctype-ub.patch b/package/libmodplug/0001-fix-cctype-ub.patch new file mode 100644 index 0000000000..c75919b6a8 --- /dev/null +++ b/package/libmodplug/0001-fix-cctype-ub.patch @@ -0,0 +1,957 @@ +From dc6d5994b4912cb00d0d183b400edfd656d6530c Mon Sep 17 00:00:00 2001 +From: Gleb Mazovetskiy +Date: Wed, 21 Dec 2022 11:44:27 +0000 +Subject: [PATCH] Fix UB when calling cctype functions + +Calling cctype functions, such as isspace, with negative values +is undefined behaviour. + +While glibc allows it, it crashes on uClibc compiled without +`UCLIBC_HAS_CTYPE_SIGNED`. + +Fixes the undefined behaviour by casting all arguments to +cctype functions to `unsigned char`. + +Upstream: https://github.com/Konstanty/libmodplug/pull/92 +Signed-off-by: Gleb Mazovetskiy +--- + src/load_abc.cpp | 284 +++++++++++++++++++++++------------------------ + src/load_mid.cpp | 2 +- + src/load_pat.cpp | 30 ++--- + 3 files changed, 158 insertions(+), 158 deletions(-) + +diff --git a/src/load_abc.cpp b/src/load_abc.cpp +index b45f972f..8444bd87 100644 +--- a/src/load_abc.cpp ++++ b/src/load_abc.cpp +@@ -260,13 +260,13 @@ static uint32_t abc_pattracktime(ABCHANDLE *h, uint32_t tracktime); + static int abc_patno(ABCHANDLE *h, uint32_t tracktime); + + +-static int abc_isvalidchar(char c) { ++static int abc_isvalidchar(unsigned char c) { + return(isalpha(c) || isdigit(c) || isspace(c) || c == '%' || c == ':'); + } + #if 0 + static const char *abc_skipspace(const char *p) + { +- while (*p && isspace(*p)) ++ while (*p && isspace(static_cast(*p))) + p++; + return p; + } +@@ -275,7 +275,7 @@ static const char *abc_skipspace(const char *p) + static void abc_extractkeyvalue(char *key, size_t key_max, + char *value, size_t value_max, const char *src) + { +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t key_size; +@@ -286,17 +286,17 @@ static void abc_extractkeyvalue(char *key, size_t key_max, + } + key[key_size++] = *src++; + } +- while (key_size > 0 && isspace(key[key_size - 1])) ++ while (key_size > 0 && isspace(static_cast(key[key_size - 1]))) + key_size--; + key[key_size] = '\0'; + +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t value_size; + for (value_size = 0; value_size < value_max - 1 && *src;) + value[value_size++] = *src++; +- while (value_size > 0 && isspace(value[value_size - 1])) ++ while (value_size > 0 && isspace(static_cast(value[value_size - 1]))) + value_size--; + value[value_size] = '\0'; + +@@ -359,7 +359,7 @@ static void abc_dumptracks(ABCHANDLE *h, const char *p) + nn[0] = "CCCDDEFFGGAABccddeffggaabb"[e->par[chordnote]]; + nn[1] = "b # # # # # # # # # # #"[e->par[chordnote]]; + nn[2] = '\0'; +- if( isspace(nn[1]) ) nn[1] = '\0'; ++ if( isspace(static_cast(nn[1])) ) nn[1] = '\0'; + printf("CMD %c: gchord %s%s", + (char)(e->cmd), nn, chordname[e->par[chordnum]]); + if( e->par[chordbase] != e->par[chordnote] ) { +@@ -557,7 +557,7 @@ static void abc_new_umacro(ABCHANDLE *h, const char *m) + ABCMACRO *retval, *mp; + char key[256], value[256]; + abc_extractkeyvalue(key, sizeof(key), value, sizeof(value), m); +- if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(key[0])) == 0 ) return; ++ if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(static_cast(key[0]))) == 0 ) return; + while( char *q = strchr(key, '!') ) + *q = '+'; // translate oldstyle to newstyle + if( !strcmp(key,"+nil+") ) { // delete a macro +@@ -823,7 +823,7 @@ static ABCTRACK *abc_locate_track(ABCHANDLE *h, const char *voice, int pos) + char vc[21]; + int i, trans=0, voiceno=0, instrno = 1, channo = 0; + for( ; *voice == ' '; voice++ ) ; // skip leading spaces +- for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(*voice); voice++ ) // can work with inline voice instructions ++ for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(static_cast(*voice)); voice++ ) // can work with inline voice instructions + vc[i++] = *voice; + vc[i] = '\0'; + prev = NULL; +@@ -1250,32 +1250,32 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + switch(ch) { + case '^': + if( p[0] == '^' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'x'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '_': + if( p[0] == '_' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'b'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '=': +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + break; + default: +- n = ch; ++ n = static_cast(ch); + i = 0; + break; + } +@@ -1332,7 +1332,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + else + d[note] = 0; // someone has doen ^X3 or something like it... +- while( p[i] && strchr(",'",p[i]) ) { ++ while( p[i] && strchr(",'",static_cast(p[i])) ) { + if( p[i]==',' ) oct--; + else oct++; + i++; +@@ -1381,7 +1381,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + } + tp->tienote->tiednote = 1; // mark him for the pattern writers +- for( j=i; isdigit(p[j]) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too ++ for( j=i; isdigit(static_cast(p[j])) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too + if( p[j] != '-' ) // is this note tied too? + tp->tienote = NULL; // if not the tie ends here... + return i; +@@ -1603,7 +1603,7 @@ static int abc_getnumber(const char *p, int *number) + int i,h; + i = 0; + h = 0; +- while( isdigit(p[i]) ) { ++ while( isdigit(static_cast(p[i])) ) { + if (i < 9) + h = 10 * h + p[i] - '0'; + i++; +@@ -1619,7 +1619,7 @@ static int abc_getexpr(const char *p, int *number) + { + int i, term, total; + i = 0; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + if( p[i] == '(' ) { + i += abc_getexpr(p+i+1, number); +@@ -1628,12 +1628,12 @@ static int abc_getexpr(const char *p, int *number) + return i; + } + i += abc_getnumber(p+i, &total); +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + while( p[i] == '+' ) { + i += 1 + abc_getexpr(p+i+1, &term); + total += term; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + } + *number = total; +@@ -1649,7 +1649,7 @@ static int abc_notelen(const char *p, int *len, int *div) + h *= 2; + i++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + h /= 2; + i += abc_getnumber(p+i,&k); + } +@@ -1738,7 +1738,7 @@ static int abc_extract_tempo(const char *p, int invoice) + case '=': + break; + default: +- if( isdigit(*q) ) { ++ if( isdigit(static_cast(*q)) ) { + if( state ) { + q+=abc_getnumber(q,&nd1)-1; + state = 0; +@@ -1812,10 +1812,10 @@ static void abc_set_parts(char **d, char *p) + j=0; + k=0; + for( i=0; p[i] && p[i] != '%'; i++ ) { +- if( isupper(p[i]) ) { ++ if( isupper(static_cast(p[i])) ) { + j++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n=abc_getnumber(p+i, &k); + if( k == 0 ) + k = 1; +@@ -1833,7 +1833,7 @@ static void abc_set_parts(char **d, char *p) + // now copy bytes from p to *d, taking parens and digits in account + j = 0; + for( i=0; p[i] && p[i] != '%' && j < size && i < (int)size; i++ ) { +- if( isdigit(p[i]) || isupper(p[i]) || p[i] == '(' || p[i] == ')' ) { ++ if( isdigit(static_cast(p[i])) || isupper(static_cast(p[i])) || p[i] == '(' || p[i] == ')' ) { + if( p[i] == ')' ) { + for( n=j; n > 0 && q[n-1] != '('; n-- ) ; // find open paren in q + // q[n+1] to q[j] contains the substring that must be repeated +@@ -1856,7 +1856,7 @@ static void abc_set_parts(char **d, char *p) + } + continue; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n = abc_getnumber(p+i,&k); + i += n - 1; + // if nothing is ready to 'repeat', skip it. +@@ -2243,7 +2243,7 @@ static void abc_preprocess(ABCHANDLE *h, ABCMACRO *m) + char *p = s; + for( j=0; jsubst[j]; +- if( a > 'g' && islower(a) ) { ++ if( a > 'g' && islower(static_cast(a)) ) { + b = a - 'n'; + a = "CDEFGABCDEFGABcdefgabcdefgabcdefgab"[i+b+7]; + *p++ = a; +@@ -2339,11 +2339,11 @@ BOOL CSoundFile::TestABC(const BYTE *lpStream, DWORD dwMemLength) + } + if(id[0]=='K' + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) return 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) return 1; + // disable binary error if have any "tag" + if((id[0]>='A' && id[0]<='Z') + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) hasText = 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) hasText = 1; + } + return 0; + } +@@ -2367,7 +2367,7 @@ static ABCHANDLE *ABC_Init(void) + retval->barticks = 0; + p = getenv(ABC_ENV_NORANDOMPICK); + if( p ) { +- if( isdigit(*p) ) ++ if( isdigit(static_cast(*p)) ) + retval->pickrandom = atoi(p); + if( *p == '-' ) { + retval->pickrandom = atoi(p+1)-1; // xmms preloads the file +@@ -2652,12 +2652,12 @@ static int ABC_Key(const char *p) + int i,j; + char c[8]; + const char *q; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + q = p; + memset(c, 0, 8); + for( i=0; i<8 && *p && *p != ']'; p++ ) { +- if( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ if( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if( strncasecmp(p, "min", 3) && strncasecmp(p, "maj", 3) ) + break; + } +@@ -2687,9 +2687,9 @@ static int ABC_Key(const char *p) + + static char *abc_skip_word(char *p) + { +- while( isspace(*p) ) p++; +- while( *p && !isspace(*p) && *p != ']') p++; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; ++ while( *p && !isspace(static_cast(*p)) && *p != ']') p++; ++ while( isspace(static_cast(*p)) ) p++; + return p; + } + +@@ -2798,7 +2798,7 @@ static void abc_setup_chordnames() + static int abc_MIDI_getnumber(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 0 ) n = 0; + if( n > 127 ) n = 127; +@@ -2808,7 +2808,7 @@ static int abc_MIDI_getnumber(const char *p) + static int abc_MIDI_getprog(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 1 ) n = 1; + if( n > 128 ) n = 128; +@@ -2819,32 +2819,32 @@ static int abc_MIDI_getprog(const char *p) + static void abc_MIDI_drone(const char *p, int *gm, int *ptch, int *vol) + { + int i; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + i++; // adjust for 1..128 + if( i>0 && i < 129 ) + *gm = i; + else + *gm = 71; // bassoon +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[0] = i; + else + ptch[0] = 45; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[1] = i; + else + ptch[1] = 33; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[0] = i; + else + vol[0] = 80; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[1] = i; +@@ -2869,8 +2869,8 @@ static void abc_MIDI_channel(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); + if( i2 >= 1 && i2 <= 16 ) + abc_chan_to_tracks(h, i1, i2); // we start at 1 +@@ -2894,11 +2894,11 @@ static void abc_MIDI_program(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + i1 = i2; + abc_getnumber(p, &i2); + } +@@ -2919,25 +2919,25 @@ static void abc_mute_voice(ABCHANDLE *h, ABCTRACK *tp, int m) + static void abc_MIDI_voice(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( strncmp(p,"instrument=",11) && strncmp(p,"mute",4) ) { + tp = abc_locate_track(h, p, 0); +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + i1 = tp? tp->vno: 1; + i2 = 0; +- if( !strncmp(p,"instrument=",11) && isdigit(p[11]) ) { ++ if( !strncmp(p,"instrument=",11) && isdigit(static_cast(p[11])) ) { + p += 11; + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"bank=",5) && isdigit(p[5]) ) { +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"bank=",5) && isdigit(static_cast(p[5])) ) { ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + } + if( tp ) abc_mute_voice(h,tp,0); +- if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(p[4])) ) { ++ if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(static_cast(p[4]))) ) { + if( tp ) abc_mute_voice(h,tp,1); + } + abc_instr_to_tracks(h, i1, i2); // starts already at 1 (draft 4.0) +@@ -2949,7 +2949,7 @@ static void abc_MIDI_chordname(const char *p) + char name[20]; + int i; + +- for(; *p && isspace(*p); p++) ++ for(; *p && isspace(static_cast(*p)); p++) + ; + i = 0; + while ((i < 19) && (*p != ' ') && (*p != '\0')) { +@@ -2965,8 +2965,8 @@ static void abc_MIDI_chordname(const char *p) + int notes[6]; + i = 0; + memset(notes, 0, sizeof(notes)); +- while ((i < 6) && isspace(*p)) { +- for(; *p && isspace(*p); p++) ++ while ((i < 6) && isspace(static_cast(*p))) { ++ for(; *p && isspace(static_cast(*p)); p++) + ; + p += abc_getnumber(p, ¬es[i]); + i = i + 1; +@@ -2981,21 +2981,21 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + { + char *q; + int i, n, m, len; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; + n = 0; len = 0; +- for( q = h->drum; *p && !isspace(*p); p++ ) { ++ for( q = h->drum; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("dz0123456789",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->drum)-1 ) { +- if( !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->drum)-1 ) { ++ if( !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + n++; // count the silences too.... + } + if (len >= (int)sizeof(h->drum)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3003,10 +3003,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumins; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3017,10 +3017,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumvol; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3036,17 +3036,17 @@ static int abc_MIDI_gchord(const char *p, ABCHANDLE *h) + { + char *q; + int len = 0; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; +- for( q = h->gchord; *p && !isspace(*p); p++ ) { ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; ++ for( q = h->gchord; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("fbcz0123456789ghijGHIJ",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->gchord)-1 && !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->gchord)-1 && !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + if (len >= (int)sizeof(h->gchord)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3099,7 +3099,7 @@ static void abc_metric_gchord(ABCHANDLE *h, int mlen, int mdiv) + + static void abc_MIDI_legato(const char *p, ABCTRACK *tp) + { +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"off",3) ) tp->legato = 0; + else tp->legato = 1; + } +@@ -3130,7 +3130,7 @@ static int abc_drum_steps(const char *dch) + const char *p; + int i=0; + for( p=dch; *p; p++ ) { +- if( isdigit(*p) ) i += *p - '0';; ++ if( isdigit(static_cast(*p)) ) i += *p - '0';; + } + return i; + } +@@ -3185,7 +3185,7 @@ static int abc_gchord_steps(const char *gch) + const char *p; + int i=0; + for( p=gch; *p; p++ ) +- if( isdigit(*p) ) i += *p - '0'; ++ if( isdigit(static_cast(*p)) ) i += *p - '0'; + return i; + } + +@@ -3231,7 +3231,7 @@ static void abc_add_gchord(ABCHANDLE *h, uint32_t tracktime, uint32_t bartime) + stime = (tracktime - etime) * steps; + rtime = 0; + while( rtime < stime ) { +- gnote = h->gchord[2*g]; ++ gnote = static_cast(h->gchord[2*g]); + glen = h->gchord[2*g+1] - '0'; + if( ++g == gsteps ) g = 0; + switch(gnote) { +@@ -3313,7 +3313,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + h->beat[2] = 110; + h->beat[3] = 1; + for( j=0; j<4; j++ ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( *p ) { + p += abc_getnumber(p, &i); + if( i < 0 ) i = 0; +@@ -3336,7 +3336,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + // %%MIDI beatstring fppmpmp + static void abc_MIDI_beatstring(ABCHANDLE *h, const char *p) + { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( h->beatstring ) _mm_free(h->allochandle, h->beatstring); + if( strlen(p) ) + h->beatstring = DupStr(h->allochandle,p,strlen(p)+1); +@@ -3483,47 +3483,47 @@ static void abc_recalculate_tracktime(ABCHANDLE *h) { + static void abc_MIDI_command(ABCHANDLE *h, char *p, char delim) { + int t; + // interpret some of the possibilitys +- if( !strncmp(p,"bassprog",8) && isspace(p[8]) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; +- if( !strncmp(p,"bassvol",7) && isspace(p[7]) ) h->abcbassvol = abc_MIDI_getnumber(p+7); +- if( !strncmp(p,"beat",4) && isspace(p[4]) ) abc_MIDI_beat(h, p+4); +- if( !strncmp(p,"beatstring",10) && isspace(p[10]) ) abc_MIDI_beatstring(h, p+4); +- if( !strncmp(p,"chordname",9) && isspace(p[9]) ) abc_MIDI_chordname(p+9); +- if( !strncmp(p,"chordprog",9) && isspace(p[9]) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; +- if( !strncmp(p,"chordvol",8) && isspace(p[8]) ) h->abcchordvol = abc_MIDI_getnumber(p+8); +- if( !strncmp(p,"drone",5) && isspace(p[5]) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); +- if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->droneon = 0; +- if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->droneon = 1; ++ if( !strncmp(p,"bassprog",8) && isspace(static_cast(p[8])) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; ++ if( !strncmp(p,"bassvol",7) && isspace(static_cast(p[7])) ) h->abcbassvol = abc_MIDI_getnumber(p+7); ++ if( !strncmp(p,"beat",4) && isspace(static_cast(p[4])) ) abc_MIDI_beat(h, p+4); ++ if( !strncmp(p,"beatstring",10) && isspace(static_cast(p[10])) ) abc_MIDI_beatstring(h, p+4); ++ if( !strncmp(p,"chordname",9) && isspace(static_cast(p[9])) ) abc_MIDI_chordname(p+9); ++ if( !strncmp(p,"chordprog",9) && isspace(static_cast(p[9])) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; ++ if( !strncmp(p,"chordvol",8) && isspace(static_cast(p[8])) ) h->abcchordvol = abc_MIDI_getnumber(p+8); ++ if( !strncmp(p,"drone",5) && isspace(static_cast(p[5])) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); ++ if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->droneon = 0; ++ if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->droneon = 1; + t = h->drumon; +- if( !strncmp(p,"drum",4) && isspace(p[4]) ) { ++ if( !strncmp(p,"drum",4) && isspace(static_cast(p[4])) ) { + h->drumon = abc_MIDI_drum(p+4, h); + if( h->drumon ) --h->drumon; + else h->drumon = t; + } +- if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->drumon = 0; +- if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) h->drumon = 1; ++ if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->drumon = 0; ++ if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) h->drumon = 1; + if( t != h->drumon ) { + if( h->drumon && !h->tpr ) h->tpr = h->track; + if( h->tpr ) abc_add_drum_sync(h, h->tpr, h->tracktime); // don't start drumming from the beginning of time! + if( h->tpr && !h->drumon ) h->tpr = NULL; + } + t = h->gchordon; +- if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) { ++ if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) { + h->gchordon = abc_MIDI_gchord(p+6, h); + if( h->gchordon ) --h->gchordon; + else h->gchordon = t; + } +- if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(p[9])) ) h->gchordon = 0; +- if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->gchordon = 1; ++ if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(static_cast(p[9]))) ) h->gchordon = 0; ++ if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->gchordon = 1; + if( t != h->gchordon ) { + if( h->tpc ) abc_add_gchord_syncs(h, h->tpc, h->tracktime); + } +- if( !strncmp(p,"channel",7) && isspace(p[7]) ) ++ if( !strncmp(p,"channel",7) && isspace(static_cast(p[7])) ) + abc_MIDI_channel(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"program",7) && isspace(p[7]) ) ++ if( !strncmp(p,"program",7) && isspace(static_cast(p[7])) ) + abc_MIDI_program(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"voice",5) && isspace(p[5]) ) ++ if( !strncmp(p,"voice",5) && isspace(static_cast(p[5])) ) + abc_MIDI_voice(p+6, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) ++ if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) + abc_MIDI_legato(p+6, h->tp = abc_check_track(h, h->tp)); + } + +@@ -3548,13 +3548,13 @@ static char *abc_continuated(ABCHANDLE *h, MMFILE *mmf, char *p) { + abc_message("line not properly continued\n%s", p1); + return p1; + } +- while( *pm && isspace(*pm) ) ++pm; ++ while( *pm && isspace(static_cast(*pm)) ) ++pm; + if( !strncmp(pm,"%%",2) ) { +- for( p2 = pm+2; *p2 && isspace(*p2); p2++ ) ; +- if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(p2[4])) ) { +- for( p2+=5; *p2 && isspace(*p2); p2++ ) ; ++ for( p2 = pm+2; *p2 && isspace(static_cast(*p2)); p2++ ) ; ++ if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(static_cast(p2[4]))) ) { ++ for( p2+=5; *p2 && isspace(static_cast(*p2)); p2++ ) ; + if( *p2 == '=' ) +- for( p2+=1; *p2 && isspace(*p2); p2++ ) ; ++ for( p2+=1; *p2 && isspace(static_cast(*p2)); p2++ ) ; + abc_MIDI_command(h,p2,'%'); + } + continued = 1; +@@ -3685,7 +3685,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcxcount = 0; + mmfseek(mmfile,0,SEEK_SET); + while ((line=abc_gets(h, mmfile)) != NULL) { +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"X:",2) ) abcxcount++; + } + if( abcxcount == 0 ) +@@ -3699,7 +3699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + mmsp--; + while ((line=abc_gets(h, mmstack[mmsp])) != NULL) { + char blankline[3] = "% "; +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + switch(abcstate) { + case INSKIPFORX: + if( !strncmp(p,"X:",2) ) { +@@ -3711,7 +3711,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( !strncmp(p,"X:",2) ) { + abcstate = INHEAD; + memset(m_szNames[0], 0, 32); +- for( p+=2; isspace(*p); p++ ) ; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; + abcxnumber = atoi(p); + abchornpipe = 0; + h->droneon = 0; +@@ -3792,8 +3792,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"R:",2) ) { +- for( p+=2; isspace(*p); p++ ) ; +- if( !strncmp(p,"hornpipe",8) && (isspace(p[8]) || p[8]=='\0') ) abchornpipe = 1; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"hornpipe",8) && (isspace(static_cast(p[8])) || p[8]=='\0') ) abchornpipe = 1; + else abchornpipe = 0; + break; + } +@@ -3980,8 +3980,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + p[1]= '%'; + } + if( !strncmp(p,"%%",2) ) { +- for( p+=2; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"abc-include",11) && isspace(p[11]) ) { ++ for( p+=2; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"abc-include",11) && isspace(static_cast(p[11])) ) { + for( t=12; isspace(p[t]); t++ ) ; + if( p[t] ) { + mmsp++; +@@ -3998,10 +3998,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + else abc_message("failure: abc-include missing file name, %s", p); + } +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) && abcstate != INSKIPFORX ) { +- for( p+=5; *p && isspace(*p); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) && abcstate != INSKIPFORX ) { ++ for( p+=5; *p && isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p+=1; *p && isspace(*p); p++ ) ; ++ for( p+=1; *p && isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h,p,'%'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4034,7 +4034,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication + while( p[2]==' ' || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4073,7 +4073,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + ch0 = ' '; + pp = 0; + while (*p && (ch = *p++) != '\0') { +- if( !pp && isalpha(ch) && *p != ':' ) { // maybe a macro ++ if( !pp && isalpha(static_cast(ch)) && *p != ':' ) { // maybe a macro + for( mp=h->umacro; mp; mp=mp->next ) { + if( ch == mp->name[0] ) { + pp = p; +@@ -4131,8 +4131,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + else + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication +- while( isspace(p[2]) || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ while( isspace(static_cast(p[2])) || p[2]=='.' ) p++; // skip blancs and dots ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4152,11 +4152,11 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"I:",2) ) { // interpret some of the possibilitys +- for( p += 2; isspace(*p); p++ ) ; +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) ) { // interpret some of the possibilitys +- for( p += 4; isspace(*p); p++ ) ; ++ for( p += 2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) ) { // interpret some of the possibilitys ++ for( p += 4; isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p += 1; isspace(*p); p++ ) ; ++ for( p += 1; isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h, p, ']'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4235,7 +4235,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + notelen *= cnotelen; + notediv *= cnotediv; + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4278,7 +4278,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( abceffoper != 255 ) abceffect = none; + break; + } +- if( isdigit(*p) ) { // different endings in repeats [i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats [i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4304,7 +4304,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + case '(': // slurs follow or some tuplet (duplet, triplet etc.) + abcto = 0; +- if( isdigit(*p) ) { ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p,&tupletp); + tupletr = tupletp; // ABC draft 2.0 (4.13): if r is not given it defaults to p + switch( tupletp ) { // ABC draft 2.0 (4.13): q defaults depending on p and time signature +@@ -4323,10 +4323,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletq); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletq); + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletr); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletr); + } + } + } +@@ -4375,7 +4375,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + sprintf(barsig, "%s%s", sig[abckey], sig[abckey]); // reset the key signature + bartime = h->tracktime; + if( h->tp && h->tp->vpos ) h->tp = abc_locate_track(h, h->tp->v, 0); // reset from voice overlay +- if( isdigit(*p) ) { // different endings in repeats |i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats |i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4426,7 +4426,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + break; + case '"': // chord notation +- if( !strchr("_^<>@", *p) && !isdigit(*p) ) { // if it's not a annotation string ++ if( !strchr("_^<>@", *p) && !isdigit(static_cast(*p)) ) { // if it's not a annotation string + h->tp = abc_check_track(h, h->tp); + if( !h->tpc ) h->tpc = abc_locate_track(h, h->tp->v, 0); + if( h->tp == h->tpc ) abc_add_chord(p, h, h->tpc, h->tracktime); // only do chords for one voice +@@ -4443,8 +4443,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcto = -1; + } + else +- if( !isspace(*p) ) abcto = 0; +- if( !strncasecmp(p,"to",2) && (isspace(p[2]) || p[2] == '"') ) abcto = 1; ++ if( !isspace(static_cast(*p)) ) abcto = 0; ++ if( !strncasecmp(p,"to",2) && (isspace(static_cast(p[2])) || p[2] == '"') ) abcto = 1; + } + if( !ch ) abcstate = INSKIPFORQUOTE; + break; +@@ -4665,7 +4665,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + h->tp->tienote = h->tp->tail; + } + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4699,7 +4699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abc_track_clear_tiednote(h); + p += abc_notelen(p, ¬elen, ¬ediv); + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4752,7 +4752,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcarpeggio = 0; + break; + } +- if( isalpha(ch) && *p==':' ) { ++ if( isalpha(static_cast(ch)) && *p==':' ) { + // some unprocessed field line? + while( *p ) p++; // skip it + break; +diff --git a/src/load_mid.cpp b/src/load_mid.cpp +index fe02f5e4..749b5d0c 100644 +--- a/src/load_mid.cpp ++++ b/src/load_mid.cpp +@@ -1198,7 +1198,7 @@ BOOL CSoundFile::ReadMID(const BYTE *lpStream, DWORD dwMemLength) + if (h->miditracks == 0) goto ErrorCleanup; + + p = (BYTE *)getenv(ENV_MMMID_SPEED); +- if( p && isdigit(*p) && p[0] != '0' && p[1] == '\0' ) { ++ if( p && isdigit(static_cast(*p)) && p[0] != '0' && p[1] == '\0' ) { + // transform speed + t = *p - '0'; + h->speed *= t; +diff --git a/src/load_pat.cpp b/src/load_pat.cpp +index fe787311..dfa640e5 100644 +--- a/src/load_pat.cpp ++++ b/src/load_pat.cpp +@@ -392,31 +392,31 @@ void pat_init_patnames(void) + _mm_fgets(mmcfg, line, PATH_MAX); + while( !_mm_feof(mmcfg) ) { + p = line; +- while ( isspace(*p) ) p ++; +- if( isdigit(p[0]) ) { ++ while ( isspace(static_cast(*p)) ) p ++; ++ if( isdigit(static_cast(p[0])) ) { + // get pat number + i = atoi(p); +- while ( isdigit(*p) ) p ++; +- while ( isspace(*p) ) p ++; ++ while ( isdigit(static_cast(*p)) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + // get pat file name + if( *p && i < MAXSMP && i >= 0 && *p != '#' ) { + q = isdrumset ? midipat[pat_gm_drumnr(i)-1] : midipat[i]; + pfnlen = 0; +- while( *p && !isspace(*p) && *p != '#' && pfnlen < 128 ) { ++ while( *p && !isspace(static_cast(*p)) && *p != '#' && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isblank(*p) && *(p+1) != '#' && pfnlen < 128 ) { ++ if( isblank(static_cast(*p)) && *(p+1) != '#' && pfnlen < 128 ) { + *q++ = ':'; pfnlen ++; +- while( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if ( *p == '#' ) { // comment + +- } else while( *p && !isspace(*p) && pfnlen < 128 ) { ++ } else while( *p && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isspace(*p) ) { *q++ = ' '; pfnlen++; } ++ if( isspace(static_cast(*p)) ) { *q++ = ' '; pfnlen++; } + } + } + *q++ = '\0'; +@@ -429,11 +429,11 @@ void pat_init_patnames(void) + } + else if( !strncmp(p,"dir",3) ) { + p += 3; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + q = p + strlen(p); + if(q > p) { + --q; +- while ( q > p && isspace(*q) ) *(q--) = 0; ++ while ( q > p && isspace(static_cast(*q)) ) *(q--) = 0; + strncpy(pathforpat, p, PATH_MAX - 1); + pathforpat[PATH_MAX - 1] = 0; + } +@@ -441,9 +441,9 @@ void pat_init_patnames(void) + else if( !strncmp(p,"source",6) && nsources < 5 ) { + q = cfgsources[nsources]; + p += 6; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + pfnlen = 0; +- while ( *p && *p != '#' && !isspace(*p) && pfnlen < 128 ) { ++ while ( *p && *p != '#' && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +@@ -857,7 +857,7 @@ static void PAT_ReadPatterns(MODCOMMAND *pattern[], WORD psize[], PATHANDLE *h, + i = tt2 - 16 * ((h->samples - 1 - ch) & 3); + if( tt1 < i ) { + t = t % 64; +- if( isalpha(tune[t]) ) { ++ if( isalpha(static_cast(tune[t])) ) { + n = pat_modnote(pat_note(tune[t])); + ins = ch + 1; + vol = 40; From peter at korsgaard.com Fri Oct 13 14:59:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:59:01 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/enlightenment: security bump to version 0.25.4 Message-ID: <20231013150556.0E889847E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d8bf581531b8d8b3ab5d122319cc647e7f8550b1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x This is a bugfix release which fixes a CVE. See: https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 CVE-2022-37706 "enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring." Hashes were never part of the online news page, therefore mark them as locally computed. Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 83ffe153faa97b08acbfd0d15d4ca7f77604c17a) Signed-off-by: Peter Korsgaard --- package/enlightenment/enlightenment.hash | 5 +++-- package/enlightenment/enlightenment.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/enlightenment/enlightenment.hash b/package/enlightenment/enlightenment.hash index 2d977b86f7..ed5d6b24ef 100644 --- a/package/enlightenment/enlightenment.hash +++ b/package/enlightenment/enlightenment.hash @@ -1,4 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-enlightenment-0.25.1 -sha256 2cf05fe3d96ef35e823619dbc0ac513ecabcae2186800ecd804924a637112444 enlightenment-0.25.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-15-enlightenment-0.25.4 +sha256 56db5d206b821b9a8831d26e713e410ac70b2255a6f43fcdf7c01eefde23b7a2 enlightenment-0.25.4.tar.xz +# Locally computed sha256 8d2fbc393e967cd6f5b8559d1744881a6a1ceb3ec6e1c2368c3916809ffccb8d COPYING sha256 cdc77ee1732455b203610f923fe4196046b3f7509038c48dc0b0c7e3492c23f3 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk index 95670e800d..836c6e581d 100644 --- a/package/enlightenment/enlightenment.mk +++ b/package/enlightenment/enlightenment.mk @@ -4,7 +4,7 @@ # ################################################################################ -ENLIGHTENMENT_VERSION = 0.25.1 +ENLIGHTENMENT_VERSION = 0.25.4 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz ENLIGHTENMENT_SITE = https://download.enlightenment.org/rel/apps/enlightenment ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) From peter at korsgaard.com Fri Oct 13 14:57:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 16:57:33 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/wpewebkit: needs >= GCC 9 Message-ID: <20231013150556.04D0D847E7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=87c22b9f79cb1fe90b55d236ec6b092935c4ea45 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Raise the minimal GCC version to 9.3, which is required since wpewebkit-2.40.0 [1]. Similar to commit 09af6d8bfd8ece6b021b877aaf5cbd36a78ffad9, we do check on >= GCC 9, because we can't check on >= GCC 9.3. [1] https://github.com/WebKit/WebKit/commit/f9c142d9b5b8c48fe310bc6d3620e634901b2930 Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard (cherry picked from commit 603fa625b14c849ef42262c7b755276fa9231c25) Signed-off-by: Peter Korsgaard --- package/wpewebkit/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in index 7a8dc557c3..ea2159945d 100644 --- a/package/wpewebkit/Config.in +++ b/package/wpewebkit/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" +comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \ || !BR2_HOST_GCC_AT_LEAST_4_9 comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" @@ -37,7 +37,7 @@ config BR2_PACKAGE_WPEWEBKIT depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_USE_WCHAR # icu, libsoup depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy From peter at korsgaard.com Fri Oct 13 15:03:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:03:47 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libmodplug: use a full-length hash as version Message-ID: <20231013150556.22EAA847F3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f71f481f79825713bf3f794f2117dfb9e8a44f0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Commit 369ff9a88ff8 (package/libmodplug: update to git version) improperly used a short hash as version, so switch to the full-length hash. Github use the full-length hash when it creates the top-level directory of the generated archive, so the hash of the archive does not in fact change, only its filename. This is perfectly fine fine our handling of s.b.o. Signed-off-by: Yann E. MORIN (cherry picked from commit 80e94c76169fd15d2433b18a9e54d6a4f3c4ff18) Signed-off-by: Peter Korsgaard --- package/libmodplug/libmodplug.hash | 2 +- package/libmodplug/libmodplug.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libmodplug/libmodplug.hash b/package/libmodplug/libmodplug.hash index 01ff71014c..8aaf500a3a 100644 --- a/package/libmodplug/libmodplug.hash +++ b/package/libmodplug/libmodplug.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed.tar.gz +sha256 d145910ca10c3ecab0019d45be7e31ea6be1d1ee951ef0e1f747c9752d20f043 libmodplug-d1b97ed0020bc620a059d3675d1854b40bd2608d.tar.gz sha256 49942e7b3b175f549e751feb08b5270ca6f6c5fb7a1be9f9517db275ec32c92e COPYING diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk index 735d0e704d..c5d2463fdb 100644 --- a/package/libmodplug/libmodplug.mk +++ b/package/libmodplug/libmodplug.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMODPLUG_VERSION = d1b97ed +LIBMODPLUG_VERSION = d1b97ed0020bc620a059d3675d1854b40bd2608d LIBMODPLUG_SITE = $(call github,Konstanty,libmodplug,$(LIBMODPLUG_VERSION)) LIBMODPLUG_INSTALL_STAGING = YES LIBMODPLUG_LICENSE = Public Domain From peter at korsgaard.com Fri Oct 13 15:02:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:02:14 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libmodplug: add a patch fixing cctype UB Message-ID: <20231013150556.19256847EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ebe613d115e816136e8eef893d97f8ea4c4994c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x libmodplug calls `cctype` functions, such as `isspace`, with negative values. This is undefined behaviour. While glibc allows it, it crashes on uClibc compiled without `UCLIBC_HAS_CTYPE_SIGNED`. Adds a patch that resolves the issue. Also sent upstream. However, the library author has not merged any pull request for about a year. Signed-off-by: Gleb Mazovetskiy [yann.morin.1998 at free.fr: - add Gleb's SoB to the patch - add upstream URL to the patch ] Signed-off-by: Yann E. MORIN (cherry picked from commit 33d0a13c3b7b86cbbff3dddb4c39ad41cae1c1c0) Signed-off-by: Peter Korsgaard --- package/libmodplug/0001-fix-cctype-ub.patch | 957 ++++++++++++++++++++++++++++ 1 file changed, 957 insertions(+) diff --git a/package/libmodplug/0001-fix-cctype-ub.patch b/package/libmodplug/0001-fix-cctype-ub.patch new file mode 100644 index 0000000000..c75919b6a8 --- /dev/null +++ b/package/libmodplug/0001-fix-cctype-ub.patch @@ -0,0 +1,957 @@ +From dc6d5994b4912cb00d0d183b400edfd656d6530c Mon Sep 17 00:00:00 2001 +From: Gleb Mazovetskiy +Date: Wed, 21 Dec 2022 11:44:27 +0000 +Subject: [PATCH] Fix UB when calling cctype functions + +Calling cctype functions, such as isspace, with negative values +is undefined behaviour. + +While glibc allows it, it crashes on uClibc compiled without +`UCLIBC_HAS_CTYPE_SIGNED`. + +Fixes the undefined behaviour by casting all arguments to +cctype functions to `unsigned char`. + +Upstream: https://github.com/Konstanty/libmodplug/pull/92 +Signed-off-by: Gleb Mazovetskiy +--- + src/load_abc.cpp | 284 +++++++++++++++++++++++------------------------ + src/load_mid.cpp | 2 +- + src/load_pat.cpp | 30 ++--- + 3 files changed, 158 insertions(+), 158 deletions(-) + +diff --git a/src/load_abc.cpp b/src/load_abc.cpp +index b45f972f..8444bd87 100644 +--- a/src/load_abc.cpp ++++ b/src/load_abc.cpp +@@ -260,13 +260,13 @@ static uint32_t abc_pattracktime(ABCHANDLE *h, uint32_t tracktime); + static int abc_patno(ABCHANDLE *h, uint32_t tracktime); + + +-static int abc_isvalidchar(char c) { ++static int abc_isvalidchar(unsigned char c) { + return(isalpha(c) || isdigit(c) || isspace(c) || c == '%' || c == ':'); + } + #if 0 + static const char *abc_skipspace(const char *p) + { +- while (*p && isspace(*p)) ++ while (*p && isspace(static_cast(*p))) + p++; + return p; + } +@@ -275,7 +275,7 @@ static const char *abc_skipspace(const char *p) + static void abc_extractkeyvalue(char *key, size_t key_max, + char *value, size_t value_max, const char *src) + { +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t key_size; +@@ -286,17 +286,17 @@ static void abc_extractkeyvalue(char *key, size_t key_max, + } + key[key_size++] = *src++; + } +- while (key_size > 0 && isspace(key[key_size - 1])) ++ while (key_size > 0 && isspace(static_cast(key[key_size - 1]))) + key_size--; + key[key_size] = '\0'; + +- while (*src && isspace(*src)) ++ while (*src && isspace(static_cast(*src))) + src++; + + size_t value_size; + for (value_size = 0; value_size < value_max - 1 && *src;) + value[value_size++] = *src++; +- while (value_size > 0 && isspace(value[value_size - 1])) ++ while (value_size > 0 && isspace(static_cast(value[value_size - 1]))) + value_size--; + value[value_size] = '\0'; + +@@ -359,7 +359,7 @@ static void abc_dumptracks(ABCHANDLE *h, const char *p) + nn[0] = "CCCDDEFFGGAABccddeffggaabb"[e->par[chordnote]]; + nn[1] = "b # # # # # # # # # # #"[e->par[chordnote]]; + nn[2] = '\0'; +- if( isspace(nn[1]) ) nn[1] = '\0'; ++ if( isspace(static_cast(nn[1])) ) nn[1] = '\0'; + printf("CMD %c: gchord %s%s", + (char)(e->cmd), nn, chordname[e->par[chordnum]]); + if( e->par[chordbase] != e->par[chordnote] ) { +@@ -557,7 +557,7 @@ static void abc_new_umacro(ABCHANDLE *h, const char *m) + ABCMACRO *retval, *mp; + char key[256], value[256]; + abc_extractkeyvalue(key, sizeof(key), value, sizeof(value), m); +- if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(key[0])) == 0 ) return; ++ if( strlen(key) > 1 || strchr("~HIJKLMNOPQRSTUVWXY",toupper(static_cast(key[0]))) == 0 ) return; + while( char *q = strchr(key, '!') ) + *q = '+'; // translate oldstyle to newstyle + if( !strcmp(key,"+nil+") ) { // delete a macro +@@ -823,7 +823,7 @@ static ABCTRACK *abc_locate_track(ABCHANDLE *h, const char *voice, int pos) + char vc[21]; + int i, trans=0, voiceno=0, instrno = 1, channo = 0; + for( ; *voice == ' '; voice++ ) ; // skip leading spaces +- for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(*voice); voice++ ) // can work with inline voice instructions ++ for( i=0; i+1 < (int) sizeof(vc) && *voice && *voice != ']' && *voice != '%' && !isspace(static_cast(*voice)); voice++ ) // can work with inline voice instructions + vc[i++] = *voice; + vc[i] = '\0'; + prev = NULL; +@@ -1250,32 +1250,32 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + switch(ch) { + case '^': + if( p[0] == '^' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'x'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '_': + if( p[0] == '_' ) { +- n = p[1]; ++ n = static_cast(p[1]); + i = 2; + ch = 'b'; + } + else { +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + } + break; + case '=': +- n = p[0]; ++ n = static_cast(p[0]); + i = 1; + break; + default: +- n = ch; ++ n = static_cast(ch); + i = 0; + break; + } +@@ -1332,7 +1332,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + else + d[note] = 0; // someone has doen ^X3 or something like it... +- while( p[i] && strchr(",'",p[i]) ) { ++ while( p[i] && strchr(",'",static_cast(p[i])) ) { + if( p[i]==',' ) oct--; + else oct++; + i++; +@@ -1381,7 +1381,7 @@ static int abc_add_noteon(ABCHANDLE *h, int ch, const char *p, uint32_t tracktim + } + } + tp->tienote->tiednote = 1; // mark him for the pattern writers +- for( j=i; isdigit(p[j]) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too ++ for( j=i; isdigit(static_cast(p[j])) || p[j]=='/'; j++ ) ; // look ahead to see if this one is tied too + if( p[j] != '-' ) // is this note tied too? + tp->tienote = NULL; // if not the tie ends here... + return i; +@@ -1603,7 +1603,7 @@ static int abc_getnumber(const char *p, int *number) + int i,h; + i = 0; + h = 0; +- while( isdigit(p[i]) ) { ++ while( isdigit(static_cast(p[i])) ) { + if (i < 9) + h = 10 * h + p[i] - '0'; + i++; +@@ -1619,7 +1619,7 @@ static int abc_getexpr(const char *p, int *number) + { + int i, term, total; + i = 0; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + if( p[i] == '(' ) { + i += abc_getexpr(p+i+1, number); +@@ -1628,12 +1628,12 @@ static int abc_getexpr(const char *p, int *number) + return i; + } + i += abc_getnumber(p+i, &total); +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + while( p[i] == '+' ) { + i += 1 + abc_getexpr(p+i+1, &term); + total += term; +- while( isspace(p[i]) ) ++ while( isspace(static_cast(p[i])) ) + i++; + } + *number = total; +@@ -1649,7 +1649,7 @@ static int abc_notelen(const char *p, int *len, int *div) + h *= 2; + i++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + h /= 2; + i += abc_getnumber(p+i,&k); + } +@@ -1738,7 +1738,7 @@ static int abc_extract_tempo(const char *p, int invoice) + case '=': + break; + default: +- if( isdigit(*q) ) { ++ if( isdigit(static_cast(*q)) ) { + if( state ) { + q+=abc_getnumber(q,&nd1)-1; + state = 0; +@@ -1812,10 +1812,10 @@ static void abc_set_parts(char **d, char *p) + j=0; + k=0; + for( i=0; p[i] && p[i] != '%'; i++ ) { +- if( isupper(p[i]) ) { ++ if( isupper(static_cast(p[i])) ) { + j++; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n=abc_getnumber(p+i, &k); + if( k == 0 ) + k = 1; +@@ -1833,7 +1833,7 @@ static void abc_set_parts(char **d, char *p) + // now copy bytes from p to *d, taking parens and digits in account + j = 0; + for( i=0; p[i] && p[i] != '%' && j < size && i < (int)size; i++ ) { +- if( isdigit(p[i]) || isupper(p[i]) || p[i] == '(' || p[i] == ')' ) { ++ if( isdigit(static_cast(p[i])) || isupper(static_cast(p[i])) || p[i] == '(' || p[i] == ')' ) { + if( p[i] == ')' ) { + for( n=j; n > 0 && q[n-1] != '('; n-- ) ; // find open paren in q + // q[n+1] to q[j] contains the substring that must be repeated +@@ -1856,7 +1856,7 @@ static void abc_set_parts(char **d, char *p) + } + continue; + } +- if( isdigit(p[i]) ) { ++ if( isdigit(static_cast(p[i])) ) { + n = abc_getnumber(p+i,&k); + i += n - 1; + // if nothing is ready to 'repeat', skip it. +@@ -2243,7 +2243,7 @@ static void abc_preprocess(ABCHANDLE *h, ABCMACRO *m) + char *p = s; + for( j=0; jsubst[j]; +- if( a > 'g' && islower(a) ) { ++ if( a > 'g' && islower(static_cast(a)) ) { + b = a - 'n'; + a = "CDEFGABCDEFGABcdefgabcdefgabcdefgab"[i+b+7]; + *p++ = a; +@@ -2339,11 +2339,11 @@ BOOL CSoundFile::TestABC(const BYTE *lpStream, DWORD dwMemLength) + } + if(id[0]=='K' + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) return 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) return 1; + // disable binary error if have any "tag" + if((id[0]>='A' && id[0]<='Z') + && id[1]==':' +- && (isalpha(id[2]) || isspace(id[2])) ) hasText = 1; ++ && (isalpha(static_cast(id[2])) || isspace(static_cast(id[2]))) ) hasText = 1; + } + return 0; + } +@@ -2367,7 +2367,7 @@ static ABCHANDLE *ABC_Init(void) + retval->barticks = 0; + p = getenv(ABC_ENV_NORANDOMPICK); + if( p ) { +- if( isdigit(*p) ) ++ if( isdigit(static_cast(*p)) ) + retval->pickrandom = atoi(p); + if( *p == '-' ) { + retval->pickrandom = atoi(p+1)-1; // xmms preloads the file +@@ -2652,12 +2652,12 @@ static int ABC_Key(const char *p) + int i,j; + char c[8]; + const char *q; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + q = p; + memset(c, 0, 8); + for( i=0; i<8 && *p && *p != ']'; p++ ) { +- if( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ if( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if( strncasecmp(p, "min", 3) && strncasecmp(p, "maj", 3) ) + break; + } +@@ -2687,9 +2687,9 @@ static int ABC_Key(const char *p) + + static char *abc_skip_word(char *p) + { +- while( isspace(*p) ) p++; +- while( *p && !isspace(*p) && *p != ']') p++; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; ++ while( *p && !isspace(static_cast(*p)) && *p != ']') p++; ++ while( isspace(static_cast(*p)) ) p++; + return p; + } + +@@ -2798,7 +2798,7 @@ static void abc_setup_chordnames() + static int abc_MIDI_getnumber(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 0 ) n = 0; + if( n > 127 ) n = 127; +@@ -2808,7 +2808,7 @@ static int abc_MIDI_getnumber(const char *p) + static int abc_MIDI_getprog(const char *p) + { + int n; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + abc_getnumber(p, &n); + if( n < 1 ) n = 1; + if( n > 128 ) n = 128; +@@ -2819,32 +2819,32 @@ static int abc_MIDI_getprog(const char *p) + static void abc_MIDI_drone(const char *p, int *gm, int *ptch, int *vol) + { + int i; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + i++; // adjust for 1..128 + if( i>0 && i < 129 ) + *gm = i; + else + *gm = 71; // bassoon +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[0] = i; + else + ptch[0] = 45; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + ptch[1] = i; + else + ptch[1] = 33; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[0] = i; + else + vol[0] = 80; +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + p += abc_getnumber(p, &i); + if( i>0 && i < 127 ) + vol[1] = i; +@@ -2869,8 +2869,8 @@ static void abc_MIDI_channel(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); + if( i2 >= 1 && i2 <= 16 ) + abc_chan_to_tracks(h, i1, i2); // we start at 1 +@@ -2894,11 +2894,11 @@ static void abc_MIDI_program(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; + i1 = tp? tp->vno: 1; +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( isdigit(*p) ) { ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( isdigit(static_cast(*p)) ) { + i1 = i2; + abc_getnumber(p, &i2); + } +@@ -2919,25 +2919,25 @@ static void abc_mute_voice(ABCHANDLE *h, ABCTRACK *tp, int m) + static void abc_MIDI_voice(const char *p, ABCTRACK *tp, ABCHANDLE *h) + { + int i1, i2; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( strncmp(p,"instrument=",11) && strncmp(p,"mute",4) ) { + tp = abc_locate_track(h, p, 0); +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + i1 = tp? tp->vno: 1; + i2 = 0; +- if( !strncmp(p,"instrument=",11) && isdigit(p[11]) ) { ++ if( !strncmp(p,"instrument=",11) && isdigit(static_cast(p[11])) ) { + p += 11; + p += abc_getnumber(p, &i2); +- for( ; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"bank=",5) && isdigit(p[5]) ) { +- for( ; *p && !isspace(*p); p++ ) ; +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"bank=",5) && isdigit(static_cast(p[5])) ) { ++ for( ; *p && !isspace(static_cast(*p)); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + } + } + if( tp ) abc_mute_voice(h,tp,0); +- if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(p[4])) ) { ++ if( !strncmp(p,"mute",4) && (p[4]=='\0' || p[4]=='%' || isspace(static_cast(p[4]))) ) { + if( tp ) abc_mute_voice(h,tp,1); + } + abc_instr_to_tracks(h, i1, i2); // starts already at 1 (draft 4.0) +@@ -2949,7 +2949,7 @@ static void abc_MIDI_chordname(const char *p) + char name[20]; + int i; + +- for(; *p && isspace(*p); p++) ++ for(; *p && isspace(static_cast(*p)); p++) + ; + i = 0; + while ((i < 19) && (*p != ' ') && (*p != '\0')) { +@@ -2965,8 +2965,8 @@ static void abc_MIDI_chordname(const char *p) + int notes[6]; + i = 0; + memset(notes, 0, sizeof(notes)); +- while ((i < 6) && isspace(*p)) { +- for(; *p && isspace(*p); p++) ++ while ((i < 6) && isspace(static_cast(*p))) { ++ for(; *p && isspace(static_cast(*p)); p++) + ; + p += abc_getnumber(p, ¬es[i]); + i = i + 1; +@@ -2981,21 +2981,21 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + { + char *q; + int i, n, m, len; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; + n = 0; len = 0; +- for( q = h->drum; *p && !isspace(*p); p++ ) { ++ for( q = h->drum; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("dz0123456789",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->drum)-1 ) { +- if( !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->drum)-1 ) { ++ if( !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + n++; // count the silences too.... + } + if (len >= (int)sizeof(h->drum)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3003,10 +3003,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumins; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3017,10 +3017,10 @@ static int abc_MIDI_drum(const char *p, ABCHANDLE *h) + q = h->drumvol; + for( i = 0; idrum[i*2] == 'd' ) { +- while( *p && isspace(*p) ) p++; +- if( !isdigit(*p) ) { ++ while( *p && isspace(static_cast(*p)) ) p++; ++ if( !isdigit(static_cast(*p)) ) { + m = 0; +- while( *p && !isspace(*p) ) p++; ++ while( *p && !isspace(static_cast(*p)) ) p++; + } + else + p += abc_getnumber(p,&m); +@@ -3036,17 +3036,17 @@ static int abc_MIDI_gchord(const char *p, ABCHANDLE *h) + { + char *q; + int len = 0; +- while( isspace(*p) ) p++; +- if( !strncmp(p,"on",2) && (isspace(p[2]) || p[2] == '\0') ) return 2; +- if( !strncmp(p,"off",3) && (isspace(p[3]) || p[3] == '\0') ) return 1; +- for( q = h->gchord; *p && !isspace(*p); p++ ) { ++ while( isspace(static_cast(*p)) ) p++; ++ if( !strncmp(p,"on",2) && (isspace(static_cast(p[2])) || p[2] == '\0') ) return 2; ++ if( !strncmp(p,"off",3) && (isspace(static_cast(p[3])) || p[3] == '\0') ) return 1; ++ for( q = h->gchord; *p && !isspace(static_cast(*p)); p++ ) { + if( !strchr("fbcz0123456789ghijGHIJ",*p) ) break; + *q++ = *p; len++; +- if( !isdigit(*p) && len < (int)sizeof(h->gchord)-1 && !isdigit(p[1]) ) { *q++ = '1'; len ++; } ++ if( !isdigit(static_cast(*p)) && len < (int)sizeof(h->gchord)-1 && !isdigit(static_cast(p[1])) ) { *q++ = '1'; len ++; } + if (len >= (int)sizeof(h->gchord)-1) { + // consume the rest of the input + // definitely enough "drum last state" stored. +- while ( *p && !isspace(*p) ) p++; ++ while ( *p && !isspace(static_cast(*p)) ) p++; + break; + } + } +@@ -3099,7 +3099,7 @@ static void abc_metric_gchord(ABCHANDLE *h, int mlen, int mdiv) + + static void abc_MIDI_legato(const char *p, ABCTRACK *tp) + { +- for( ; *p && isspace(*p); p++ ) ; ++ for( ; *p && isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"off",3) ) tp->legato = 0; + else tp->legato = 1; + } +@@ -3130,7 +3130,7 @@ static int abc_drum_steps(const char *dch) + const char *p; + int i=0; + for( p=dch; *p; p++ ) { +- if( isdigit(*p) ) i += *p - '0';; ++ if( isdigit(static_cast(*p)) ) i += *p - '0';; + } + return i; + } +@@ -3185,7 +3185,7 @@ static int abc_gchord_steps(const char *gch) + const char *p; + int i=0; + for( p=gch; *p; p++ ) +- if( isdigit(*p) ) i += *p - '0'; ++ if( isdigit(static_cast(*p)) ) i += *p - '0'; + return i; + } + +@@ -3231,7 +3231,7 @@ static void abc_add_gchord(ABCHANDLE *h, uint32_t tracktime, uint32_t bartime) + stime = (tracktime - etime) * steps; + rtime = 0; + while( rtime < stime ) { +- gnote = h->gchord[2*g]; ++ gnote = static_cast(h->gchord[2*g]); + glen = h->gchord[2*g+1] - '0'; + if( ++g == gsteps ) g = 0; + switch(gnote) { +@@ -3313,7 +3313,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + h->beat[2] = 110; + h->beat[3] = 1; + for( j=0; j<4; j++ ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( *p ) { + p += abc_getnumber(p, &i); + if( i < 0 ) i = 0; +@@ -3336,7 +3336,7 @@ static void abc_MIDI_beat(ABCHANDLE *h, const char *p) + // %%MIDI beatstring fppmpmp + static void abc_MIDI_beatstring(ABCHANDLE *h, const char *p) + { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) p++; + if( h->beatstring ) _mm_free(h->allochandle, h->beatstring); + if( strlen(p) ) + h->beatstring = DupStr(h->allochandle,p,strlen(p)+1); +@@ -3483,47 +3483,47 @@ static void abc_recalculate_tracktime(ABCHANDLE *h) { + static void abc_MIDI_command(ABCHANDLE *h, char *p, char delim) { + int t; + // interpret some of the possibilitys +- if( !strncmp(p,"bassprog",8) && isspace(p[8]) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; +- if( !strncmp(p,"bassvol",7) && isspace(p[7]) ) h->abcbassvol = abc_MIDI_getnumber(p+7); +- if( !strncmp(p,"beat",4) && isspace(p[4]) ) abc_MIDI_beat(h, p+4); +- if( !strncmp(p,"beatstring",10) && isspace(p[10]) ) abc_MIDI_beatstring(h, p+4); +- if( !strncmp(p,"chordname",9) && isspace(p[9]) ) abc_MIDI_chordname(p+9); +- if( !strncmp(p,"chordprog",9) && isspace(p[9]) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; +- if( !strncmp(p,"chordvol",8) && isspace(p[8]) ) h->abcchordvol = abc_MIDI_getnumber(p+8); +- if( !strncmp(p,"drone",5) && isspace(p[5]) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); +- if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->droneon = 0; +- if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->droneon = 1; ++ if( !strncmp(p,"bassprog",8) && isspace(static_cast(p[8])) ) h->abcbassprog = abc_MIDI_getprog(p+8)+1; ++ if( !strncmp(p,"bassvol",7) && isspace(static_cast(p[7])) ) h->abcbassvol = abc_MIDI_getnumber(p+7); ++ if( !strncmp(p,"beat",4) && isspace(static_cast(p[4])) ) abc_MIDI_beat(h, p+4); ++ if( !strncmp(p,"beatstring",10) && isspace(static_cast(p[10])) ) abc_MIDI_beatstring(h, p+4); ++ if( !strncmp(p,"chordname",9) && isspace(static_cast(p[9])) ) abc_MIDI_chordname(p+9); ++ if( !strncmp(p,"chordprog",9) && isspace(static_cast(p[9])) ) h->abcchordprog = abc_MIDI_getprog(p+9)+1; ++ if( !strncmp(p,"chordvol",8) && isspace(static_cast(p[8])) ) h->abcchordvol = abc_MIDI_getnumber(p+8); ++ if( !strncmp(p,"drone",5) && isspace(static_cast(p[5])) ) abc_MIDI_drone(p+5, &h->dronegm, h->dronepitch, h->dronevol); ++ if( !strncmp(p,"droneoff",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->droneon = 0; ++ if( !strncmp(p,"droneon",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->droneon = 1; + t = h->drumon; +- if( !strncmp(p,"drum",4) && isspace(p[4]) ) { ++ if( !strncmp(p,"drum",4) && isspace(static_cast(p[4])) ) { + h->drumon = abc_MIDI_drum(p+4, h); + if( h->drumon ) --h->drumon; + else h->drumon = t; + } +- if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(p[7])) ) h->drumon = 0; +- if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) h->drumon = 1; ++ if( !strncmp(p,"drumoff",7) && (p[7]=='\0' || p[7]==delim || isspace(static_cast(p[7]))) ) h->drumon = 0; ++ if( !strncmp(p,"drumon",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) h->drumon = 1; + if( t != h->drumon ) { + if( h->drumon && !h->tpr ) h->tpr = h->track; + if( h->tpr ) abc_add_drum_sync(h, h->tpr, h->tracktime); // don't start drumming from the beginning of time! + if( h->tpr && !h->drumon ) h->tpr = NULL; + } + t = h->gchordon; +- if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) { ++ if( !strncmp(p,"gchord",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) { + h->gchordon = abc_MIDI_gchord(p+6, h); + if( h->gchordon ) --h->gchordon; + else h->gchordon = t; + } +- if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(p[9])) ) h->gchordon = 0; +- if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(p[8])) ) h->gchordon = 1; ++ if( !strncmp(p,"gchordoff",9) && (p[9]=='\0' || p[9]==delim || isspace(static_cast(p[9]))) ) h->gchordon = 0; ++ if( !strncmp(p,"gchordon",8) && (p[8]=='\0' || p[8]==delim || isspace(static_cast(p[8]))) ) h->gchordon = 1; + if( t != h->gchordon ) { + if( h->tpc ) abc_add_gchord_syncs(h, h->tpc, h->tracktime); + } +- if( !strncmp(p,"channel",7) && isspace(p[7]) ) ++ if( !strncmp(p,"channel",7) && isspace(static_cast(p[7])) ) + abc_MIDI_channel(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"program",7) && isspace(p[7]) ) ++ if( !strncmp(p,"program",7) && isspace(static_cast(p[7])) ) + abc_MIDI_program(p+8, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"voice",5) && isspace(p[5]) ) ++ if( !strncmp(p,"voice",5) && isspace(static_cast(p[5])) ) + abc_MIDI_voice(p+6, h->tp = abc_check_track(h, h->tp), h); +- if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(p[6])) ) ++ if( !strncmp(p,"legato",6) && (p[6]=='\0' || p[6]==delim || isspace(static_cast(p[6]))) ) + abc_MIDI_legato(p+6, h->tp = abc_check_track(h, h->tp)); + } + +@@ -3548,13 +3548,13 @@ static char *abc_continuated(ABCHANDLE *h, MMFILE *mmf, char *p) { + abc_message("line not properly continued\n%s", p1); + return p1; + } +- while( *pm && isspace(*pm) ) ++pm; ++ while( *pm && isspace(static_cast(*pm)) ) ++pm; + if( !strncmp(pm,"%%",2) ) { +- for( p2 = pm+2; *p2 && isspace(*p2); p2++ ) ; +- if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(p2[4])) ) { +- for( p2+=5; *p2 && isspace(*p2); p2++ ) ; ++ for( p2 = pm+2; *p2 && isspace(static_cast(*p2)); p2++ ) ; ++ if( !strncmp(p2,"MIDI",4) && (p2[4]=='=' || isspace(static_cast(p2[4]))) ) { ++ for( p2+=5; *p2 && isspace(static_cast(*p2)); p2++ ) ; + if( *p2 == '=' ) +- for( p2+=1; *p2 && isspace(*p2); p2++ ) ; ++ for( p2+=1; *p2 && isspace(static_cast(*p2)); p2++ ) ; + abc_MIDI_command(h,p2,'%'); + } + continued = 1; +@@ -3685,7 +3685,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcxcount = 0; + mmfseek(mmfile,0,SEEK_SET); + while ((line=abc_gets(h, mmfile)) != NULL) { +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + if( !strncmp(p,"X:",2) ) abcxcount++; + } + if( abcxcount == 0 ) +@@ -3699,7 +3699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + mmsp--; + while ((line=abc_gets(h, mmstack[mmsp])) != NULL) { + char blankline[3] = "% "; +- for( p=line; isspace(*p); p++ ) ; ++ for( p=line; isspace(static_cast(*p)); p++ ) ; + switch(abcstate) { + case INSKIPFORX: + if( !strncmp(p,"X:",2) ) { +@@ -3711,7 +3711,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( !strncmp(p,"X:",2) ) { + abcstate = INHEAD; + memset(m_szNames[0], 0, 32); +- for( p+=2; isspace(*p); p++ ) ; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; + abcxnumber = atoi(p); + abchornpipe = 0; + h->droneon = 0; +@@ -3792,8 +3792,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"R:",2) ) { +- for( p+=2; isspace(*p); p++ ) ; +- if( !strncmp(p,"hornpipe",8) && (isspace(p[8]) || p[8]=='\0') ) abchornpipe = 1; ++ for( p+=2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"hornpipe",8) && (isspace(static_cast(p[8])) || p[8]=='\0') ) abchornpipe = 1; + else abchornpipe = 0; + break; + } +@@ -3980,8 +3980,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + p[1]= '%'; + } + if( !strncmp(p,"%%",2) ) { +- for( p+=2; *p && isspace(*p); p++ ) ; +- if( !strncmp(p,"abc-include",11) && isspace(p[11]) ) { ++ for( p+=2; *p && isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"abc-include",11) && isspace(static_cast(p[11])) ) { + for( t=12; isspace(p[t]); t++ ) ; + if( p[t] ) { + mmsp++; +@@ -3998,10 +3998,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + else abc_message("failure: abc-include missing file name, %s", p); + } +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) && abcstate != INSKIPFORX ) { +- for( p+=5; *p && isspace(*p); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) && abcstate != INSKIPFORX ) { ++ for( p+=5; *p && isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p+=1; *p && isspace(*p); p++ ) ; ++ for( p+=1; *p && isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h,p,'%'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4034,7 +4034,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication + while( p[2]==' ' || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4073,7 +4073,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + ch0 = ' '; + pp = 0; + while (*p && (ch = *p++) != '\0') { +- if( !pp && isalpha(ch) && *p != ':' ) { // maybe a macro ++ if( !pp && isalpha(static_cast(ch)) && *p != ':' ) { // maybe a macro + for( mp=h->umacro; mp; mp=mp->next ) { + if( ch == mp->name[0] ) { + pp = p; +@@ -4131,8 +4131,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + else + partpat[global_part - 'A'][1] = t; + // give every new coming abcevent the desired part indication +- while( isspace(p[2]) || p[2]=='.' ) p++; // skip blancs and dots +- if( isupper(p[2]) ) ++ while( isspace(static_cast(p[2])) || p[2]=='.' ) p++; // skip blancs and dots ++ if( isupper(static_cast(p[2])) ) + global_part = p[2]; + else + global_part = ' '; +@@ -4152,11 +4152,11 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + } + if( !strncmp(p,"I:",2) ) { // interpret some of the possibilitys +- for( p += 2; isspace(*p); p++ ) ; +- if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(p[4])) ) { // interpret some of the possibilitys +- for( p += 4; isspace(*p); p++ ) ; ++ for( p += 2; isspace(static_cast(*p)); p++ ) ; ++ if( !strncmp(p,"MIDI",4) && (p[4]=='=' || isspace(static_cast(p[4]))) ) { // interpret some of the possibilitys ++ for( p += 4; isspace(static_cast(*p)); p++ ) ; + if( *p == '=' ) +- for( p += 1; isspace(*p); p++ ) ; ++ for( p += 1; isspace(static_cast(*p)); p++ ) ; + abc_MIDI_command(h, p, ']'); + if( h->tp ) abcnolegato = !h->tp->legato; + if( !abcnolegato ) abcnoslurs = 0; +@@ -4235,7 +4235,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + notelen *= cnotelen; + notediv *= cnotediv; + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4278,7 +4278,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + if( abceffoper != 255 ) abceffect = none; + break; + } +- if( isdigit(*p) ) { // different endings in repeats [i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats [i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4304,7 +4304,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + break; + case '(': // slurs follow or some tuplet (duplet, triplet etc.) + abcto = 0; +- if( isdigit(*p) ) { ++ if( isdigit(static_cast(*p)) ) { + p += abc_getnumber(p,&tupletp); + tupletr = tupletp; // ABC draft 2.0 (4.13): if r is not given it defaults to p + switch( tupletp ) { // ABC draft 2.0 (4.13): q defaults depending on p and time signature +@@ -4323,10 +4323,10 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletq); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletq); + if( *p==':' ) { + p++; +- if( isdigit(*p) ) p += abc_getnumber(p,&tupletr); ++ if( isdigit(static_cast(*p)) ) p += abc_getnumber(p,&tupletr); + } + } + } +@@ -4375,7 +4375,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + sprintf(barsig, "%s%s", sig[abckey], sig[abckey]); // reset the key signature + bartime = h->tracktime; + if( h->tp && h->tp->vpos ) h->tp = abc_locate_track(h, h->tp->v, 0); // reset from voice overlay +- if( isdigit(*p) ) { // different endings in repeats |i,j,n-r,s,... ++ if( isdigit(static_cast(*p)) ) { // different endings in repeats |i,j,n-r,s,... + h->tp = abc_check_track(h, h->tp); + abc_add_partbreak(h, h->tp, h->tracktime); + p += abc_getnumber(p, ¬elen); +@@ -4426,7 +4426,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + } + break; + case '"': // chord notation +- if( !strchr("_^<>@", *p) && !isdigit(*p) ) { // if it's not a annotation string ++ if( !strchr("_^<>@", *p) && !isdigit(static_cast(*p)) ) { // if it's not a annotation string + h->tp = abc_check_track(h, h->tp); + if( !h->tpc ) h->tpc = abc_locate_track(h, h->tp->v, 0); + if( h->tp == h->tpc ) abc_add_chord(p, h, h->tpc, h->tracktime); // only do chords for one voice +@@ -4443,8 +4443,8 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcto = -1; + } + else +- if( !isspace(*p) ) abcto = 0; +- if( !strncasecmp(p,"to",2) && (isspace(p[2]) || p[2] == '"') ) abcto = 1; ++ if( !isspace(static_cast(*p)) ) abcto = 0; ++ if( !strncasecmp(p,"to",2) && (isspace(static_cast(p[2])) || p[2] == '"') ) abcto = 1; + } + if( !ch ) abcstate = INSKIPFORQUOTE; + break; +@@ -4665,7 +4665,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + h->tp->tienote = h->tp->tail; + } + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4699,7 +4699,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abc_track_clear_tiednote(h); + p += abc_notelen(p, ¬elen, ¬ediv); + tupletr = abc_tuplet(¬elen, ¬ediv, tupletp, tupletq, tupletr); +- while( isspace(*p) ) p++; // allow spacing in broken rithm notation ++ while( isspace(static_cast(*p)) ) p++; // allow spacing in broken rithm notation + p += abc_brokenrithm(p, ¬elen, ¬ediv, &brokenrithm, abchornpipe); + thistime = notelen_notediv_to_ticks(h->speed, notelen*snotelen, notediv*snotediv); + if( abcfermata ) { +@@ -4752,7 +4752,7 @@ BOOL CSoundFile::ReadABC(const uint8_t *lpStream, DWORD dwMemLength) + abcarpeggio = 0; + break; + } +- if( isalpha(ch) && *p==':' ) { ++ if( isalpha(static_cast(ch)) && *p==':' ) { + // some unprocessed field line? + while( *p ) p++; // skip it + break; +diff --git a/src/load_mid.cpp b/src/load_mid.cpp +index fe02f5e4..749b5d0c 100644 +--- a/src/load_mid.cpp ++++ b/src/load_mid.cpp +@@ -1198,7 +1198,7 @@ BOOL CSoundFile::ReadMID(const BYTE *lpStream, DWORD dwMemLength) + if (h->miditracks == 0) goto ErrorCleanup; + + p = (BYTE *)getenv(ENV_MMMID_SPEED); +- if( p && isdigit(*p) && p[0] != '0' && p[1] == '\0' ) { ++ if( p && isdigit(static_cast(*p)) && p[0] != '0' && p[1] == '\0' ) { + // transform speed + t = *p - '0'; + h->speed *= t; +diff --git a/src/load_pat.cpp b/src/load_pat.cpp +index fe787311..dfa640e5 100644 +--- a/src/load_pat.cpp ++++ b/src/load_pat.cpp +@@ -392,31 +392,31 @@ void pat_init_patnames(void) + _mm_fgets(mmcfg, line, PATH_MAX); + while( !_mm_feof(mmcfg) ) { + p = line; +- while ( isspace(*p) ) p ++; +- if( isdigit(p[0]) ) { ++ while ( isspace(static_cast(*p)) ) p ++; ++ if( isdigit(static_cast(p[0])) ) { + // get pat number + i = atoi(p); +- while ( isdigit(*p) ) p ++; +- while ( isspace(*p) ) p ++; ++ while ( isdigit(static_cast(*p)) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + // get pat file name + if( *p && i < MAXSMP && i >= 0 && *p != '#' ) { + q = isdrumset ? midipat[pat_gm_drumnr(i)-1] : midipat[i]; + pfnlen = 0; +- while( *p && !isspace(*p) && *p != '#' && pfnlen < 128 ) { ++ while( *p && !isspace(static_cast(*p)) && *p != '#' && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isblank(*p) && *(p+1) != '#' && pfnlen < 128 ) { ++ if( isblank(static_cast(*p)) && *(p+1) != '#' && pfnlen < 128 ) { + *q++ = ':'; pfnlen ++; +- while( isspace(*p) ) { +- while( isspace(*p) ) p++; ++ while( isspace(static_cast(*p)) ) { ++ while( isspace(static_cast(*p)) ) p++; + if ( *p == '#' ) { // comment + +- } else while( *p && !isspace(*p) && pfnlen < 128 ) { ++ } else while( *p && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +- if( isspace(*p) ) { *q++ = ' '; pfnlen++; } ++ if( isspace(static_cast(*p)) ) { *q++ = ' '; pfnlen++; } + } + } + *q++ = '\0'; +@@ -429,11 +429,11 @@ void pat_init_patnames(void) + } + else if( !strncmp(p,"dir",3) ) { + p += 3; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + q = p + strlen(p); + if(q > p) { + --q; +- while ( q > p && isspace(*q) ) *(q--) = 0; ++ while ( q > p && isspace(static_cast(*q)) ) *(q--) = 0; + strncpy(pathforpat, p, PATH_MAX - 1); + pathforpat[PATH_MAX - 1] = 0; + } +@@ -441,9 +441,9 @@ void pat_init_patnames(void) + else if( !strncmp(p,"source",6) && nsources < 5 ) { + q = cfgsources[nsources]; + p += 6; +- while ( isspace(*p) ) p ++; ++ while ( isspace(static_cast(*p)) ) p ++; + pfnlen = 0; +- while ( *p && *p != '#' && !isspace(*p) && pfnlen < 128 ) { ++ while ( *p && *p != '#' && !isspace(static_cast(*p)) && pfnlen < 128 ) { + pfnlen ++; + *q++ = *p++; + } +@@ -857,7 +857,7 @@ static void PAT_ReadPatterns(MODCOMMAND *pattern[], WORD psize[], PATHANDLE *h, + i = tt2 - 16 * ((h->samples - 1 - ch) & 3); + if( tt1 < i ) { + t = t % 64; +- if( isalpha(tune[t]) ) { ++ if( isalpha(static_cast(tune[t])) ) { + n = pat_modnote(pat_note(tune[t])); + ins = ch + 1; + vol = 40; From peter at korsgaard.com Fri Oct 13 15:15:03 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:15:03 +0200 Subject: [Buildroot] [PATCH] package/gptfdisk: fix bug with util-linux (libuuid) 2.38 In-Reply-To: <20231001231123.58838dcb@windsurf> (Thomas Petazzoni via buildroot's message of "Sun, 1 Oct 2023 23:11:23 +0200") References: <20230913212000.987236-2-ben.wolsieffer@hefring.com> <20231001231123.58838dcb@windsurf> Message-ID: <87y1g6366g.fsf@48ers.dk> >>>>> "Thomas" == Thomas Petazzoni via buildroot writes: > On Wed, 13 Sep 2023 17:20:01 -0400 > Ben Wolsieffer wrote: >> Fix the following error message by backporting an upstream patch [0]: >> >> Warning! Unable to generate a proper UUID! Creating an improper one as a last >> resort! Windows 7 may crash if you save this partition table! >> >> Additionally, now that gptfdisk uses libuuid again, the build fails >> because passing LIBS to make overrides the default value in the >> Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. >> >> [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f >> >> Signed-off-by: Ben Wolsieffer >> --- >> ...to-deal-with-minor-change-in-libuuid.patch | 40 +++++++++++++++++++ >> package/gptfdisk/gptfdisk.mk | 2 + >> 2 files changed, 42 insertions(+) >> create mode 100644 package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch > Sorry for the delay, I have applied this patch after improving the > commit log: > https://gitlab.com/buildroot.org/buildroot/-/commit/58fbfe870640cf20678d4f6a40999ea5223c6fca > Best regards, Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:15:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:15:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/sslh: add SSLH_CPE_ID_VENDOR In-Reply-To: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 1 Oct 2023 18:56:01 +0200") References: <20231001165601.1193940-1-fontaine.fabrice@gmail.com> Message-ID: <87ttqu365j.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: > https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:16:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:16:49 +0200 Subject: [Buildroot] [PATCH v2] package/wilc-driver: fix build failure with Linux 6.3+ In-Reply-To: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> (Giulio Benetti's message of "Sun, 1 Oct 2023 21:01:01 +0200") References: <20231001190101.2640495-1-giulio.benetti@benettiengineering.com> Message-ID: <87pm1i363i.fsf@48ers.dk> >>>>> "Giulio" == Giulio Benetti writes: > Add local patches pending upstream to fix build failure on Linux 6.3+ > Fixes: > http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f > Signed-off-by: Giulio Benetti Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:17:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:17:46 +0200 Subject: [Buildroot] [PATCH] package/netsnmp: security bump to version 5.9.4 In-Reply-To: <20231001190639.1391551-2-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 21:06:39 +0200") References: <20231001190639.1391551-2-dalang@gmx.at> Message-ID: <87lec6361x.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c > in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can > be used by a remote attacker (who has write access) to cause the > instance to crash via a crafted UDP packet, resulting in Denial of > Service. > CVE-2022-44793 handle_ipv6IpForwarding in > agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a > NULL Pointer Exception bug that can be used by a remote attacker to > cause the instance to crash via a crafted UDP packet, resulting in > Denial of Service. > The pgp key was changed [0] as the old one expired [1]. > [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ > [1]: https://github.com/net-snmp/net-snmp/issues/595 > Signed-off-by: Daniel Lang Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:18:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:18:44 +0200 Subject: [Buildroot] [PATCH] package/efl: bump to version 1.26.3 In-Reply-To: <20231001180437.1274555-2-dalang@gmx.at> (Daniel Lang's message of "Sun, 1 Oct 2023 20:04:37 +0200") References: <20231001180437.1274555-2-dalang@gmx.at> Message-ID: <87h6mu360b.fsf@48ers.dk> >>>>> "Daniel" == Daniel Lang writes: > This is a bug-fix release. > See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 > Signed-off-by: Daniel Lang Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:15:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:15:24 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/sslh: add SSLH_CPE_ID_VENDOR Message-ID: <20231013152133.D6EFC848AE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9401df198985d871a9b594a810d01be0f3e4c36e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5fcd2ef29d2f6e782b9bd5928e2e835daf627ae8) Signed-off-by: Peter Korsgaard --- package/sslh/sslh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk index 897b3b6505..6ef7cda1a9 100644 --- a/package/sslh/sslh.mk +++ b/package/sslh/sslh.mk @@ -9,6 +9,7 @@ SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz SSLH_SITE = http://www.rutschle.net/tech/sslh SSLH_LICENSE = GPL-2.0+ SSLH_LICENSE_FILES = COPYING +SSLH_CPE_ID_VENDOR = sslh_project SSLH_DEPENDENCIES = pcre2 SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" From peter at korsgaard.com Fri Oct 13 15:16:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:16:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/wilc-driver: fix build failure with Linux 6.3+ Message-ID: <20231013152133.EDC16848BF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e31a049bbc74d59cc39554a7d02fd9a152354cdb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Add local patches pending upstream to fix build failure on Linux 6.3+ Fixes: http://autobuild.buildroot.net/results/3b954399aa3ffab9609da1fc381f38f28bd8eb9f Signed-off-by: Giulio Benetti Signed-off-by: Peter Korsgaard (cherry picked from commit c495aab88390767a217f6a0fc22008ff1aafc114) Signed-off-by: Peter Korsgaard --- package/wilc-driver/0006-Support-Linux-6.3.patch | 43 ++++++++++++++++++++++++ package/wilc-driver/0007-Support-Linux-6.4.patch | 36 ++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/package/wilc-driver/0006-Support-Linux-6.3.patch b/package/wilc-driver/0006-Support-Linux-6.3.patch new file mode 100644 index 0000000000..f5a92027da --- /dev/null +++ b/package/wilc-driver/0006-Support-Linux-6.3.patch @@ -0,0 +1,43 @@ +From 14b5eccf4145e7a5afc8bc65a15f26ac691f98d8 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 10:54:18 +0200 +Subject: [PATCH] Support Linux 6.3 + +With Linux 6.3 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=40fc56ee608cdb20022c225ac6f1e4b7ba63f8f1 +function of_get_named_gpio_flags() has been dropped but it was only a +wrapper to call of_get_named_gpio() if the flags passed was NULL and this +is the case. So let's use of_get_named_gpio() in place of +of_get_named_gpio_flags() since of_get_named_gpio() never changed +after its adding in Linux version 3.1. + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/4 + +Signed-off-by: Giulio Benetti +--- + power.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/power.c b/power.c +index 6c59e0b..6ab8d63 100644 +--- a/power.c ++++ b/power.c +@@ -25,13 +25,11 @@ int wilc_of_parse_power_pins(struct wilc *wilc) + const struct wilc_power_gpios *gpios = &default_gpios[0]; + int ret; + +- power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, +- NULL); ++ power->gpios.reset = of_get_named_gpio(of, "reset-gpios", 0); + if (!gpio_is_valid(power->gpios.reset)) + power->gpios.reset = gpios->reset; + +- power->gpios.chip_en = of_get_named_gpio_flags(of, "chip_en-gpios", 0, +- NULL); ++ power->gpios.chip_en = of_get_named_gpio(of, "chip_en-gpios", 0); + if (!gpio_is_valid(power->gpios.chip_en)) + power->gpios.chip_en = gpios->chip_en; + +-- +2.34.1 + diff --git a/package/wilc-driver/0007-Support-Linux-6.4.patch b/package/wilc-driver/0007-Support-Linux-6.4.patch new file mode 100644 index 0000000000..8339cc3cb6 --- /dev/null +++ b/package/wilc-driver/0007-Support-Linux-6.4.patch @@ -0,0 +1,36 @@ +From 94fc4594659494b8c5cbdf1a719aea4d66d3398d Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 27 Sep 2023 11:20:50 +0200 +Subject: [PATCH] Support Linux 6.4 + +With Linux 6.4 commit: +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1aaba11da9aa7d7d6b52a74d45b31cac118295a1 +class_create() doesn't require first argument THIS_MODULE anymore so let's +drop first argument if Linux version >= 6.4 + +Upstream: https://github.com/embeddedTS/wilc3000-external-module/pull/5 + +Signed-off-by: Giulio Benetti +--- + bt.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/bt.c b/bt.c +index 48a5302..a752457 100644 +--- a/bt.c ++++ b/bt.c +@@ -135,7 +135,11 @@ static void wilc_bt_create_device(void) + ret = alloc_chrdev_region(&chc_dev_no, 0, 1, "atmel"); + if (ret < 0) + return; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) ++ chc_dev_class = class_create("atmel"); ++#else + chc_dev_class = class_create(THIS_MODULE, "atmel"); ++#endif + if (IS_ERR(chc_dev_class)) { + unregister_chrdev_region(chc_dev_no, 1); + return; +-- +2.34.1 + From peter at korsgaard.com Fri Oct 13 15:13:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:13:49 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gptfdisk: fix bug with util-linux 2.38 Message-ID: <20231013152133.BCF2F84898@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c6d2eba3d3cda999854afd60f14f4df925c7e1a4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Due to a change in util-linux (commit 10f5f79485964ab52272ebe79c3b0047b1f84d82, "libbuid: use _UL_LIBUUID_UUID_H to cover uuid.h"), gptfdisk no longer detects the availability of libuuid to generate UUIDs, causing the following message at runtime: Warning! Unable to generate a proper UUID! Creating an improper one as a last resort! Windows 7 may crash if you save this partition table! This issue exists since util-linux was bumped to version 2.38 in Buildroot ee978e853a6a4c9bb5ed661c1ae704e79f155a35 ("package/util-linux: bump version to 2.38"). This issue has been fixed in upstream gptfdisk, but the fix [0] is not yet in a new stable release, so we backport it. Additionally, now that gptfdisk uses libuuid again, the build fails because passing LDLIBS to make overrides the default value in the Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f Signed-off-by: Ben Wolsieffer Signed-off-by: Thomas Petazzoni (cherry picked from commit 58fbfe870640cf20678d4f6a40999ea5223c6fca) Signed-off-by: Peter Korsgaard --- ...d.cc-to-deal-with-minor-change-in-libuuid.patch | 41 ++++++++++++++++++++++ package/gptfdisk/gptfdisk.mk | 2 ++ 2 files changed, 43 insertions(+) diff --git a/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch new file mode 100644 index 0000000000..22c34ced6f --- /dev/null +++ b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch @@ -0,0 +1,41 @@ +From 6a8416cbd12d55f882bb751993b94f72d338d96f Mon Sep 17 00:00:00 2001 +From: Rod Smith +Date: Sat, 16 Apr 2022 09:32:04 -0400 +Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid + +Upstream: https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f +Signed-off-by: Ben Wolsieffer +--- + NEWS | 2 ++ + guid.cc | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/NEWS b/NEWS +index 9e153fd..9ec7e63 100644 +--- a/NEWS ++++ b/NEWS +@@ -6,6 +6,8 @@ + (commit 740, which is pre-release as I type; presumably version 1.19 and + later once released). + ++- Updated guid.cc to deal with minor change in libuuid. ++ + 1.0.9 (4/14/2022): + ------------------ + +diff --git a/guid.cc b/guid.cc +index 1e73ab7..d3e4fd5 100644 +--- a/guid.cc ++++ b/guid.cc +@@ -141,7 +141,7 @@ void GUIDData::Zero(void) { + void GUIDData::Randomize(void) { + int i, uuidGenerated = 0; + +-#ifdef _UUID_UUID_H ++#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H) + uuid_generate(uuidData); + ReverseBytes(&uuidData[0], 4); + ReverseBytes(&uuidData[4], 2); +-- +2.42.0 + diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index f3fc930202..393ea9469a 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -14,6 +14,8 @@ GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk GPTFDISK_DEPENDENCIES += util-linux +GPTFDISK_LDLIBS += -luuid + ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) GPTFDISK_DEPENDENCIES += host-pkgconf popt GPTFDISK_SGDISK_LDLIBS += `$(PKG_CONFIG_HOST_BINARY) --libs popt` From peter at korsgaard.com Fri Oct 13 15:18:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:18:33 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/efl: bump to version 1.26.3 Message-ID: <20231013152134.2BA53848AE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f2a2b833830e91a5d8f4ce7cc908038e637927b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x This is a bug-fix release. See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 6037f9387a108f2dfc0add56a07073ee96f5f240) Signed-off-by: Peter Korsgaard --- package/efl/efl.hash | 4 ++-- package/efl/efl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/efl/efl.hash b/package/efl/efl.hash index 8d50400eb7..72ff3199d0 100644 --- a/package/efl/efl.hash +++ b/package/efl/efl.hash @@ -1,5 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-efl-1.26.1 -sha256 86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642 efl-1.26.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 +sha256 d9f83aa0fd9334f44deeb4e4952dc0e5144683afac786feebce6030951617d15 efl-1.26.3.tar.xz sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING diff --git a/package/efl/efl.mk b/package/efl/efl.mk index d4a16475e5..29b3b1955a 100644 --- a/package/efl/efl.mk +++ b/package/efl/efl.mk @@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.26.1 +EFL_VERSION = 1.26.3 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = https://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT From peter at korsgaard.com Fri Oct 13 15:17:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:17:18 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/netsnmp: security bump to version 5.9.4 Message-ID: <20231013152134.0FF6A84898@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ddf9ad1065b11c387d9d43e00675c11425dbc51c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker (who has write access) to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. CVE-2022-44793 handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. The pgp key was changed [0] as the old one expired [1]. [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ [1]: https://github.com/net-snmp/net-snmp/issues/595 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 868603755c16296ae2a61845891edeafc36e48ca) Signed-off-by: Peter Korsgaard --- package/netsnmp/netsnmp.hash | 6 +++--- package/netsnmp/netsnmp.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash index e1e9d10898..7898941271 100644 --- a/package/netsnmp/netsnmp.hash +++ b/package/netsnmp/netsnmp.hash @@ -1,7 +1,7 @@ # Locally calculated after checking pgp signature at -# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3/net-snmp-5.9.3.tar.gz.asc -# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 -sha256 2097f29b7e1bf3f1300b4bae52fa2308d0bb8d5d3998dbe02f9462a413a2ef0a net-snmp-5.9.3.tar.gz +# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.tar.gz.asc +# using key 6E6718AEF1EB5C65C32D1B2A356BC0B552D53CAB +sha256 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 net-snmp-5.9.4.tar.gz # Hash for license file sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index 15bc318e36..ae85f2697f 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -4,7 +4,7 @@ # ################################################################################ -NETSNMP_VERSION = 5.9.3 +NETSNMP_VERSION = 5.9.4 NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz NETSNMP_LICENSE = Various BSD-like From peter at korsgaard.com Fri Oct 13 15:17:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:17:36 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/netsnmp: security bump to version 5.9.4 Message-ID: <20231013152517.349C784905@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=13fc9dcb34926e9b6310b23662920c55c96d83a1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x CVE-2022-44792 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker (who has write access) to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. CVE-2022-44793 handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. The pgp key was changed [0] as the old one expired [1]. [0]: https://sourceforge.net/p/net-snmp/htdocs/ci/90a6d98aae21fcdff06b5be139eb4d44ae96a9de/ [1]: https://github.com/net-snmp/net-snmp/issues/595 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 868603755c16296ae2a61845891edeafc36e48ca) Signed-off-by: Peter Korsgaard --- package/netsnmp/netsnmp.hash | 6 +++--- package/netsnmp/netsnmp.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash index e1e9d10898..7898941271 100644 --- a/package/netsnmp/netsnmp.hash +++ b/package/netsnmp/netsnmp.hash @@ -1,7 +1,7 @@ # Locally calculated after checking pgp signature at -# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3/net-snmp-5.9.3.tar.gz.asc -# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 -sha256 2097f29b7e1bf3f1300b4bae52fa2308d0bb8d5d3998dbe02f9462a413a2ef0a net-snmp-5.9.3.tar.gz +# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.tar.gz.asc +# using key 6E6718AEF1EB5C65C32D1B2A356BC0B552D53CAB +sha256 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 net-snmp-5.9.4.tar.gz # Hash for license file sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index 15bc318e36..ae85f2697f 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -4,7 +4,7 @@ # ################################################################################ -NETSNMP_VERSION = 5.9.3 +NETSNMP_VERSION = 5.9.4 NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz NETSNMP_LICENSE = Various BSD-like From peter at korsgaard.com Fri Oct 13 15:15:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:15:16 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/sslh: add SSLH_CPE_ID_VENDOR Message-ID: <20231013152517.2B92F848E6@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=00855772b8b09e86fdc6c450259997a30dd16594 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x cpe:2.3:a:sslh_project:sslh is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/3E1DF528-5507-4919-A3EC-4283949BE06F Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 5fcd2ef29d2f6e782b9bd5928e2e835daf627ae8) Signed-off-by: Peter Korsgaard --- package/sslh/sslh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk index 897b3b6505..6ef7cda1a9 100644 --- a/package/sslh/sslh.mk +++ b/package/sslh/sslh.mk @@ -9,6 +9,7 @@ SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz SSLH_SITE = http://www.rutschle.net/tech/sslh SSLH_LICENSE = GPL-2.0+ SSLH_LICENSE_FILES = COPYING +SSLH_CPE_ID_VENDOR = sslh_project SSLH_DEPENDENCIES = pcre2 SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" From peter at korsgaard.com Fri Oct 13 15:14:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:14:30 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gptfdisk: fix bug with util-linux 2.38 Message-ID: <20231013152517.22A88848E5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0aa03c6b9283f5a8bc302cc79e2712fafc18df10 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Due to a change in util-linux (commit 10f5f79485964ab52272ebe79c3b0047b1f84d82, "libbuid: use _UL_LIBUUID_UUID_H to cover uuid.h"), gptfdisk no longer detects the availability of libuuid to generate UUIDs, causing the following message at runtime: Warning! Unable to generate a proper UUID! Creating an improper one as a last resort! Windows 7 may crash if you save this partition table! This issue exists since util-linux was bumped to version 2.38 in Buildroot ee978e853a6a4c9bb5ed661c1ae704e79f155a35 ("package/util-linux: bump version to 2.38"). This issue has been fixed in upstream gptfdisk, but the fix [0] is not yet in a new stable release, so we backport it. Additionally, now that gptfdisk uses libuuid again, the build fails because passing LDLIBS to make overrides the default value in the Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. [0] https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f Signed-off-by: Ben Wolsieffer Signed-off-by: Thomas Petazzoni (cherry picked from commit 58fbfe870640cf20678d4f6a40999ea5223c6fca) Signed-off-by: Peter Korsgaard --- ...d.cc-to-deal-with-minor-change-in-libuuid.patch | 41 ++++++++++++++++++++++ package/gptfdisk/gptfdisk.mk | 2 ++ 2 files changed, 43 insertions(+) diff --git a/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch new file mode 100644 index 0000000000..22c34ced6f --- /dev/null +++ b/package/gptfdisk/0004-Updated-guid.cc-to-deal-with-minor-change-in-libuuid.patch @@ -0,0 +1,41 @@ +From 6a8416cbd12d55f882bb751993b94f72d338d96f Mon Sep 17 00:00:00 2001 +From: Rod Smith +Date: Sat, 16 Apr 2022 09:32:04 -0400 +Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid + +Upstream: https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f +Signed-off-by: Ben Wolsieffer +--- + NEWS | 2 ++ + guid.cc | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/NEWS b/NEWS +index 9e153fd..9ec7e63 100644 +--- a/NEWS ++++ b/NEWS +@@ -6,6 +6,8 @@ + (commit 740, which is pre-release as I type; presumably version 1.19 and + later once released). + ++- Updated guid.cc to deal with minor change in libuuid. ++ + 1.0.9 (4/14/2022): + ------------------ + +diff --git a/guid.cc b/guid.cc +index 1e73ab7..d3e4fd5 100644 +--- a/guid.cc ++++ b/guid.cc +@@ -141,7 +141,7 @@ void GUIDData::Zero(void) { + void GUIDData::Randomize(void) { + int i, uuidGenerated = 0; + +-#ifdef _UUID_UUID_H ++#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H) + uuid_generate(uuidData); + ReverseBytes(&uuidData[0], 4); + ReverseBytes(&uuidData[4], 2); +-- +2.42.0 + diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index f3fc930202..393ea9469a 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -14,6 +14,8 @@ GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk GPTFDISK_DEPENDENCIES += util-linux +GPTFDISK_LDLIBS += -luuid + ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) GPTFDISK_DEPENDENCIES += host-pkgconf popt GPTFDISK_SGDISK_LDLIBS += `$(PKG_CONFIG_HOST_BINARY) --libs popt` From peter at korsgaard.com Fri Oct 13 15:18:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:18:28 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/efl: bump to version 1.26.3 Message-ID: <20231013152517.3D66384906@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2ee81d616b7b74841e2cac6f7ea2aee4cff51321 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x This is a bug-fix release. See: https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 Signed-off-by: Daniel Lang Signed-off-by: Peter Korsgaard (cherry picked from commit 6037f9387a108f2dfc0add56a07073ee96f5f240) Signed-off-by: Peter Korsgaard --- package/efl/efl.hash | 4 ++-- package/efl/efl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/efl/efl.hash b/package/efl/efl.hash index 8d50400eb7..72ff3199d0 100644 --- a/package/efl/efl.hash +++ b/package/efl/efl.hash @@ -1,5 +1,5 @@ -# From https://www.enlightenment.org/news/2022-01-03-efl-1.26.1 -sha256 86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642 efl-1.26.1.tar.xz +# From https://www.enlightenment.org/news/2022-09-16-efl-1.26.3 +sha256 d9f83aa0fd9334f44deeb4e4952dc0e5144683afac786feebce6030951617d15 efl-1.26.3.tar.xz sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING diff --git a/package/efl/efl.mk b/package/efl/efl.mk index d4a16475e5..29b3b1955a 100644 --- a/package/efl/efl.mk +++ b/package/efl/efl.mk @@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.26.1 +EFL_VERSION = 1.26.3 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = https://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT From peter at korsgaard.com Fri Oct 13 15:41:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:41:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcodec2: bump version to 1.2.0 In-Reply-To: <20231003204654.GH2957@scaer> (Yann E. MORIN's message of "Tue, 3 Oct 2023 22:46:54 +0200") References: <20231003124336.2837869-1-bernd@kuhls.net> <20231003204654.GH2957@scaer> Message-ID: <87cyxi34xp.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > Bernd, All, > On 2023-10-03 14:43 +0200, Bernd Kuhls spake thusly: >> Release notes: https://github.com/drowe67/codec2/releases/tag/1.2.0 >> >> Signed-off-by: Bernd Kuhls >> --- >> package/libcodec2/libcodec2.hash | 2 +- >> package/libcodec2/libcodec2.mk | 4 ++-- >> 2 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/package/libcodec2/libcodec2.hash b/package/libcodec2/libcodec2.hash >> index edaa275bbc..828efa3e4d 100644 >> --- a/package/libcodec2/libcodec2.hash >> +++ b/package/libcodec2/libcodec2.hash >> @@ -1,3 +1,3 @@ >> # Locally computed >> -sha256 44015b071968d98ee326012c498db6a8308bed1a7a914ecb6d4d8e2a354a4611 libcodec2-1.1.1.tar.gz >> +sha256 cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449 libcodec2-1.2.0.tar.gz >> sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING >> diff --git a/package/libcodec2/libcodec2.mk b/package/libcodec2/libcodec2.mk >> index 295dd8983f..5fc190aefd 100644 >> --- a/package/libcodec2/libcodec2.mk >> +++ b/package/libcodec2/libcodec2.mk >> @@ -4,8 +4,8 @@ >> # >> ################################################################################ >> >> -LIBCODEC2_VERSION = 1.1.1 >> -LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) >> +LIBCODEC2_VERSION = 1.2.0 >> +LIBCODEC2_SITE = $(call github,drowe67,codec2,$(LIBCODEC2_VERSION)) > I was curious to see that they dopped the leading 'v' in front of tags, > so I had a look at the repository, and indeed the 1.2.0 tag has no > leading 'v'. > But surprisingly, *there is no other tag*! Even the v1.1.1 tag that we > were using so far is missing! > So I had a look, and stumbled on: > https://github.com/drowe67/codec2/issues/5 > Basically, the full history was rewritten for some reason, the old > repository has been moved to; > https://github.com/drowe67/codec2-dev/ > So, this is an important bit of information: we need to fix the existing > maintenance branches to refer to the old repository (or backport this > commit). How would we go about fixing the existing branches? Like the recent rockchip-mali fix showed (f7f2de3da7e1), changing the name to the repo also changes the tarball hash, but the filename stays the same. I think I will simply leave it as is so Buildroot falls back to s.b.o for now. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 15:42:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:42:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.1 In-Reply-To: <20231003071536.297478-1-bernd@kuhls.net> (Bernd Kuhls's message of "Tue, 3 Oct 2023 09:15:36 +0200") References: <20231003071536.297478-1-bernd@kuhls.net> Message-ID: <878r8634w9.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: > https://exim.org/static/doc/security/CVE-2023-zdi.txt > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From gael.portay at rtone.fr Fri Oct 13 18:01:42 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 20:01:42 +0200 Subject: [Buildroot] [RFC PATCH 0/3] Add support for Pi5 Message-ID: <20231013180145.162565-1-gael.portay@rtone.fr> Hello world, This patch series starts the initial support for the Pi5 for both variants 32-bit and 64-bit. It compiles fine with an external toolchain, but the images are not tested on target yet as I do not own an hardware for now (crossed fingers to get it by the end of the month). The first patch bumps the package rpi-firmware to get the dtb overlays to the commit 7e9c2063fc15274fbc4dab1ca614f9228834d881[4]; that commit states "Add support for PI 5" and bumps the kernel files but it does **NOT** bump the files for VideoCore. It is not clear for now if the BCM2712/VC7 reuses the files from the BCM2711/VC6. I assume it does it for now. Therefore, that patch updates the comments of Pi4 variants for Pi5. If someone knows something about it, information is welcomed :) The second patch adds the defconfig for the Pi5 64-bit; it uses the raspberrypi kernel 6.1 up to commit[1]. The branch rpi-6.1 is the only one supporting the Pi5. It contains the defconfig bcm2712_defconfig[2] and the device-tree source bcm2712-rpi-5-b.dts[3]. The third patch is analogous to the first one but for supporting Pi5 32-bit. Question 1: should I bump all the Pi defconfigs to use the current stable downstream kernel 6.1? 5.10 is pretty old isn't it, is there any good reason to stay on that 22-month old release[5]? Question 2: if I am right, the device-tree overlays are taken from the rpi-firmware; is there a plan to compile the one from the downstream kernel sources instead? by tweaking the linux.mk maybe? For the curious, here are the differences between the BCM2711 and BCM2712 defconfigs (Pi4 and the Pi5): gportay at archlinux ~/src/linux-raspberrypi $ diff -Nurd arch/arm64/configs/bcm271* --- arch/arm64/configs/bcm2711_defconfig 2023-10-08 11:45:20.470238993 +0200 +++ arch/arm64/configs/bcm2712_defconfig 2023-10-08 11:45:20.470238993 +0200 @@ -1,4 +1,4 @@ -CONFIG_LOCALVERSION="-v8" +CONFIG_LOCALVERSION="-v8_16k" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y @@ -41,6 +41,7 @@ # CONFIG_CAVIUM_ERRATUM_22375 is not set # CONFIG_CAVIUM_ERRATUM_23154 is not set # CONFIG_CAVIUM_ERRATUM_27456 is not set +CONFIG_ARM64_16K_PAGES=y CONFIG_COMPAT=y CONFIG_ARMV8_DEPRECATED=y CONFIG_SWP_EMULATION=y @@ -65,6 +66,8 @@ CONFIG_VIRTUALIZATION=y CONFIG_KVM=y CONFIG_JUMP_LABEL=y +CONFIG_ARCH_MMAP_RND_BITS=18 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11 CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y The defconfig bcm2711_defconfig sets the following values for the CONFIG_ARCH_MMAP_RND_* configs: CONFIG_ARCH_MMAP_RND_BITS_MIN=18 CONFIG_ARCH_MMAP_RND_BITS_MAX=24 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 Here is a diff between the full .config: gportay at archlinux ~/src/linux-raspberrypi $ diff -Nurd output-bcm2711_defconfig/.config output-bcm2712_defconfig/.config --- output-bcm2711_defconfig/.config 2023-10-09 09:35:36.460206163 +0200 +++ output-bcm2712_defconfig/.config 2023-10-09 09:37:57.050577252 +0200 @@ -28,7 +28,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_COMPILE_TEST is not set # CONFIG_WERROR is not set -CONFIG_LOCALVERSION="-v8" +CONFIG_LOCALVERSION="-v8_16k" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_BUILD_SALT="" CONFIG_DEFAULT_INIT="" @@ -268,12 +268,12 @@ CONFIG_GCC_SUPPORTS_DYNAMIC_FTRACE_WITH_REGS=y CONFIG_64BIT=y CONFIG_MMU=y -CONFIG_ARM64_PAGE_SHIFT=12 -CONFIG_ARM64_CONT_PTE_SHIFT=4 -CONFIG_ARM64_CONT_PMD_SHIFT=4 -CONFIG_ARCH_MMAP_RND_BITS_MIN=18 -CONFIG_ARCH_MMAP_RND_BITS_MAX=24 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11 +CONFIG_ARM64_PAGE_SHIFT=14 +CONFIG_ARM64_CONT_PTE_SHIFT=7 +CONFIG_ARM64_CONT_PMD_SHIFT=5 +CONFIG_ARCH_MMAP_RND_BITS_MIN=16 +CONFIG_ARCH_MMAP_RND_BITS_MAX=30 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=9 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 CONFIG_STACKTRACE_SUPPORT=y CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 @@ -388,12 +388,13 @@ CONFIG_SOCIONEXT_SYNQUACER_PREITS=y # end of ARM errata workarounds via the alternatives framework -CONFIG_ARM64_4K_PAGES=y -# CONFIG_ARM64_16K_PAGES is not set +# CONFIG_ARM64_4K_PAGES is not set +CONFIG_ARM64_16K_PAGES=y # CONFIG_ARM64_64K_PAGES is not set -CONFIG_ARM64_VA_BITS_39=y +# CONFIG_ARM64_VA_BITS_36 is not set +CONFIG_ARM64_VA_BITS_47=y # CONFIG_ARM64_VA_BITS_48 is not set -CONFIG_ARM64_VA_BITS=39 +CONFIG_ARM64_VA_BITS=47 CONFIG_ARM64_PA_BITS_48=y CONFIG_ARM64_PA_BITS=48 # CONFIG_CPU_BIG_ENDIAN is not set @@ -417,7 +418,7 @@ # CONFIG_KEXEC_FILE is not set # CONFIG_CRASH_DUMP is not set # CONFIG_XEN is not set -CONFIG_ARCH_FORCE_MAX_ORDER=11 +CONFIG_ARCH_FORCE_MAX_ORDER=12 CONFIG_UNMAP_KERNEL_AT_EL0=y CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y @@ -865,7 +866,6 @@ CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y # CONFIG_MEMORY_FAILURE is not set -CONFIG_ARCH_WANTS_THP_SWAP=y # CONFIG_TRANSPARENT_HUGEPAGE is not set CONFIG_FRONTSWAP=y CONFIG_CMA=y [1]: https://github.com/raspberrypi/linux/commit/feb4ea51e77af09c1a4c7c3e5dd33237750f95cd [2]: https://github.com/raspberrypi/linux/commit/9cfb379147f803b0362b0fe249e5b145d232bea3 [3]: https://github.com/raspberrypi/linux/commit/1196bf1a7736ff0ab79f5012fa84082e298031a7 [4]: https://github.com/raspberrypi/firmware/commit/7e9c2063fc15274fbc4dab1ca614f9228834d881 [5]: https://github.com/raspberrypi/linux/commit/0b54dbda3cca2beb51e236a25738784e90853b64 Best Regards, Ga?l PORTAY (3): package/rpi-firmware: bump version for pi5 support configs: add raspberrypi 5 64-bit defconfig configs: add raspberrypi 5 32-bit defconfig board/raspberrypi/config_5.txt | 23 ++++++++++++++++ board/raspberrypi/config_5_64bit.txt | 30 ++++++++++++++++++++ board/raspberrypi/readme.txt | 2 ++ board/raspberrypi5 | 1 + board/raspberrypi5-64 | 1 + configs/raspberrypi5_64_defconfig | 38 ++++++++++++++++++++++++++ configs/raspberrypi5_defconfig | 38 ++++++++++++++++++++++++++ package/rpi-firmware/Config.in | 22 +++++++-------- package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 2 +- 10 files changed, 146 insertions(+), 13 deletions(-) create mode 100644 board/raspberrypi/config_5.txt create mode 100644 board/raspberrypi/config_5_64bit.txt create mode 120000 board/raspberrypi5 create mode 120000 board/raspberrypi5-64 create mode 100644 configs/raspberrypi5_64_defconfig create mode 100644 configs/raspberrypi5_defconfig -- 2.42.0 From gael.portay at rtone.fr Fri Oct 13 18:01:43 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 20:01:43 +0200 Subject: [Buildroot] [RFC PATCH 1/3] package/rpi-firmware: bump version for pi5 support In-Reply-To: <20231013180145.162565-1-gael.portay@rtone.fr> References: <20231013180145.162565-1-gael.portay@rtone.fr> Message-ID: <20231013180145.162565-2-gael.portay@rtone.fr> This bumps to 7e9c2063fc15274fbc4dab1ca614f9228834d881[1] that states "Add support for PI 5", and it updates the comments of Pi4 variants for Pi5. Note: That commit bumps the kernel files (images, modules, device-trees and device-tree overlays) but it does not bump the bootloader files for VC (start.elf, fixup.dat). This bump appears to not be really needed to bring the support for the Pi 5; it assumes the Pi5's VC7 uses the exact same files as the Pi4's VC6 (i.e. start4.elf, fixup4.dat, and cd, x and debug variants) at least for now. [1]: https://github.com/raspberrypi/firmware/commit/7e9c2063fc15274fbc4dab1ca614f9228834d881 Signed-off-by: Ga?l PORTAY --- package/rpi-firmware/Config.in | 22 +++++++++++----------- package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package/rpi-firmware/Config.in b/package/rpi-firmware/Config.in index a9aeaed745..90ad35fd3c 100644 --- a/package/rpi-firmware/Config.in +++ b/package/rpi-firmware/Config.in @@ -14,9 +14,9 @@ if BR2_PACKAGE_RPI_FIRMWARE config BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN bool "rpi 0/1/2/3 bootcode.bin" help - The bootcode.bin for versions Zero/1/2/3 (not needed on rpi4, - because it has been replaced by boot code in the onboard - EEPROM). + The bootcode.bin for versions Zero/1/2/3 (not needed on + rpi4/5, because it has been replaced by boot code in the + onboard EEPROM). config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI bool "rpi 0/1/2/3 (default)" @@ -41,27 +41,27 @@ config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_DB The debug set of files for versions Zero/1/2/3. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4 - bool "rpi 4 (default)" + bool "rpi 4/5 (default)" help - The default set of files for versions 4 (standard GPU + The default set of files for versions 4/5 (standard GPU features). config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X - bool "rpi 4 (extended)" + bool "rpi 4/5 (extended)" help - The extended set of files for versions 4 (additional GPU + The extended set of files for versions 4/5 (additional GPU features, eg. more audio/video codecs). config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_CD - bool "rpi 4 (cut-down)" + bool "rpi 4/5 (cut-down)" help - The cut-down set of files for versions 4 (only features + The cut-down set of files for versions 4/5 (only features required to boot a Linux kernel). config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_DB - bool "rpi 4 (debug)" + bool "rpi 4/5 (debug)" help - The debug set of files for versions 4. + The debug set of files for versions 4/5. config BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE string "Path to a file stored as boot/config.txt" diff --git a/package/rpi-firmware/rpi-firmware.hash b/package/rpi-firmware/rpi-firmware.hash index ec13115f3b..659613591d 100644 --- a/package/rpi-firmware/rpi-firmware.hash +++ b/package/rpi-firmware/rpi-firmware.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33aea2cb9c3be94c3dd6a96fbb3443eee5af1dc5fc9140e1fadc50832983064e rpi-firmware-3f20b832b27cd730deb6419b570f31a98167eef6.tar.gz +sha256 f3442fb80966faf1e28a32f9d9b91acb4b87c6ff33f0ced4179ec6ccbfa92c65 rpi-firmware-7e9c2063fc15274fbc4dab1ca614f9228834d881.tar.gz sha256 c7283ff51f863d93a275c66e3b4cb08021a5dd4d8c1e7acc47d872fbe52d3d6b boot/LICENCE.broadcom diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk index 53d6d8ca06..e765d0ea82 100644 --- a/package/rpi-firmware/rpi-firmware.mk +++ b/package/rpi-firmware/rpi-firmware.mk @@ -4,7 +4,7 @@ # ################################################################################ -RPI_FIRMWARE_VERSION = 3f20b832b27cd730deb6419b570f31a98167eef6 +RPI_FIRMWARE_VERSION = 7e9c2063fc15274fbc4dab1ca614f9228834d881 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) RPI_FIRMWARE_LICENSE = BSD-3-Clause RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom -- 2.42.0 From gael.portay at rtone.fr Fri Oct 13 18:01:44 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 20:01:44 +0200 Subject: [Buildroot] [RFC PATCH 2/3] configs: add raspberrypi 5 64-bit defconfig In-Reply-To: <20231013180145.162565-1-gael.portay@rtone.fr> References: <20231013180145.162565-1-gael.portay@rtone.fr> Message-ID: <20231013180145.162565-3-gael.portay@rtone.fr> This configuration builds a 64-bit image for RaspberryPi 5. Signed-off-by: Ga?l PORTAY --- board/raspberrypi/config_5_64bit.txt | 30 ++++++++++++++++++++++ board/raspberrypi/readme.txt | 1 + board/raspberrypi5-64 | 1 + configs/raspberrypi5_64_defconfig | 38 ++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 board/raspberrypi/config_5_64bit.txt create mode 120000 board/raspberrypi5-64 create mode 100644 configs/raspberrypi5_64_defconfig diff --git a/board/raspberrypi/config_5_64bit.txt b/board/raspberrypi/config_5_64bit.txt new file mode 100644 index 0000000000..0511f2c400 --- /dev/null +++ b/board/raspberrypi/config_5_64bit.txt @@ -0,0 +1,30 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start4.elf +fixup_file=fixup4.dat + +kernel=Image + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +dtoverlay=vc4-kms-v3d-pi5 +dtoverlay=imx219 +#dtoverlay=ov5647 + +# enable 64bits support +arm_64bit=1 diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt index c81fd801ae..f2af502251 100644 --- a/board/raspberrypi/readme.txt +++ b/board/raspberrypi/readme.txt @@ -90,6 +90,7 @@ After building, you should obtain this tree: +-- bcm2710-rpi-cm3.dtb [1] +-- bcm2711-rpi-4-b.dtb [1] +-- bcm2711-rpi-cm4.dtb [1] + +-- bcm2712-rpi-5-b.dtb [1] +-- bcm2837-rpi-3-b.dtb [1] +-- boot.vfat +-- rootfs.ext4 diff --git a/board/raspberrypi5-64 b/board/raspberrypi5-64 new file mode 120000 index 0000000000..fcdafc81ed --- /dev/null +++ b/board/raspberrypi5-64 @@ -0,0 +1 @@ +raspberrypi \ No newline at end of file diff --git a/configs/raspberrypi5_64_defconfig b/configs/raspberrypi5_64_defconfig new file mode 100644 index 0000000000..717082f215 --- /dev/null +++ b/configs/raspberrypi5_64_defconfig @@ -0,0 +1,38 @@ +BR2_aarch64=y +BR2_cortex_a76_a55=y +BR2_ARM_FPU_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2712" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2712-rpi-5-b" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi5-64/config_5_64bit.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi5-64/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi5-64/post-image.sh" -- 2.42.0 From gael.portay at rtone.fr Fri Oct 13 18:01:45 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 20:01:45 +0200 Subject: [Buildroot] [RFC PATCH 3/3] configs: add raspberrypi 5 32-bit defconfig In-Reply-To: <20231013180145.162565-1-gael.portay@rtone.fr> References: <20231013180145.162565-1-gael.portay@rtone.fr> Message-ID: <20231013180145.162565-4-gael.portay@rtone.fr> This configuration builds a 32-bit image for RaspberryPi 5. Note: It reuses the Pi4'S defconfig as there is no specific defconfig for BCM2712 on ARM 32-bit. On ARM 64-bit, the main difference is the BCM2712 uses 16k pages while the BC2711 uses 4k pages. See the difference below between the two ARM64 defconfigs: gportay at archlinux ~/src/linux-raspberrypi $ diff -Nurd arch/arm64/configs/bcm271* --- arch/arm64/configs/bcm2711_defconfig 2023-10-08 11:45:20.470238993 +0200 +++ arch/arm64/configs/bcm2712_defconfig 2023-10-08 11:45:20.470238993 +0200 @@ -1,4 +1,4 @@ -CONFIG_LOCALVERSION="-v8" +CONFIG_LOCALVERSION="-v8_16k" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y @@ -41,6 +41,7 @@ # CONFIG_CAVIUM_ERRATUM_22375 is not set # CONFIG_CAVIUM_ERRATUM_23154 is not set # CONFIG_CAVIUM_ERRATUM_27456 is not set +CONFIG_ARM64_16K_PAGES=y CONFIG_COMPAT=y CONFIG_ARMV8_DEPRECATED=y CONFIG_SWP_EMULATION=y @@ -65,6 +66,8 @@ CONFIG_VIRTUALIZATION=y CONFIG_KVM=y CONFIG_JUMP_LABEL=y +CONFIG_ARCH_MMAP_RND_BITS=18 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11 CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y Signed-off-by: Ga?l PORTAY --- board/raspberrypi/config_5.txt | 23 ++++++++++++++++++++ board/raspberrypi/readme.txt | 1 + board/raspberrypi5 | 1 + configs/raspberrypi5_defconfig | 38 ++++++++++++++++++++++++++++++++++ 4 files changed, 63 insertions(+) create mode 100644 board/raspberrypi/config_5.txt create mode 120000 board/raspberrypi5 create mode 100644 configs/raspberrypi5_defconfig diff --git a/board/raspberrypi/config_5.txt b/board/raspberrypi/config_5.txt new file mode 100644 index 0000000000..ac343250c8 --- /dev/null +++ b/board/raspberrypi/config_5.txt @@ -0,0 +1,23 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start4.elf +fixup_file=fixup4.dat + +kernel=zImage + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt index f2af502251..de93ad6772 100644 --- a/board/raspberrypi/readme.txt +++ b/board/raspberrypi/readme.txt @@ -102,6 +102,7 @@ After building, you should obtain this tree: | +-- fixup4.dat [1] | +-- start.elf [1] | +-- start4.elf [1] + | +-- start5.elf [1] | `-- overlays/ [2] +-- sdcard.img +-- Image [1] diff --git a/board/raspberrypi5 b/board/raspberrypi5 new file mode 120000 index 0000000000..fcdafc81ed --- /dev/null +++ b/board/raspberrypi5 @@ -0,0 +1 @@ +raspberrypi \ No newline at end of file diff --git a/configs/raspberrypi5_defconfig b/configs/raspberrypi5_defconfig new file mode 100644 index 0000000000..df00e035da --- /dev/null +++ b/configs/raspberrypi5_defconfig @@ -0,0 +1,38 @@ +BR2_arm=y +BR2_cortex_a76_a55=y +BR2_ARM_FPU_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2712-rpi-5-b" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI5=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi5/config_5.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi5/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi5/post-image.sh" -- 2.42.0 From peter at korsgaard.com Fri Oct 13 18:11:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:11:22 +0200 Subject: [Buildroot] [PATCH] package/mbedtls: bump to version 2.28.5 In-Reply-To: <20231007192225.3670096-1-francois.perrad@gadz.org> (Francois Perrad's message of "Sat, 7 Oct 2023 21:22:25 +0200") References: <20231007192225.3670096-1-francois.perrad@gadz.org> Message-ID: <874jiu2y0l.fsf@48ers.dk> >>>>> "Francois" == Francois Perrad writes: > Signed-off-by: Francois Perrad The release notes mentions that this is a security fix: https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2023-10-1/ So marked as such and committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:13:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:13:38 +0200 Subject: [Buildroot] [PATCH] package/libcurl: security bump to 8.4.0 In-Reply-To: <20231011073506.687039-1-sairon@sairon.cz> ("Jan =?utf-8?B?xIxlcm3DoWsiJ3M=?= message of "Wed, 11 Oct 2023 09:35:05 +0200") References: <20231011073506.687039-1-sairon@sairon.cz> Message-ID: <87zg0m1jcd.fsf@48ers.dk> >>>>> "Jan" == Jan ?erm?k writes: > Fixes following two vulnerabilities: > * CVE-2023-38545: SOCKS5 heap buffer overflow > https://curl.se/docs/CVE-2023-38545.html > * CVE-2023-38546: cookie injection with none file > https://curl.se/docs/CVE-2023-38546.html > Signed-off-by: Jan ?erm?k Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:15:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:15:32 +0200 Subject: [Buildroot] [PATCH] package/cups: add upstream security fix for CVE-2023-4504 In-Reply-To: <20231001142024.3959758-1-peter@korsgaard.com> (Peter Korsgaard's message of "Sun, 1 Oct 2023 16:20:24 +0200") References: <20231001142024.3959758-1-peter@korsgaard.com> Message-ID: <87v8ba1j97.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-4504: Postscript Parsing Heap Overflow > https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h > https://takeonme.org/cves/CVE-2023-4504.html > There is a 2.4.7 release with this fix, but upstream unfortunately broke > !gnutls builds, so backport the security fix instead: > https://github.com/OpenPrinting/cups/issues/762 > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:20:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:20:10 +0200 Subject: [Buildroot] [PATCH 01/12] package/gstreamer1: bump to version 1.22.6 In-Reply-To: <20231006191049.2450822-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 6 Oct 2023 21:10:38 +0200") References: <20231006191049.2450822-1-peter@korsgaard.com> Message-ID: <87r0ly1j1h.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Signed-off-by: Peter Korsgaard Series committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:24:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:24:09 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series In-Reply-To: <20231007102850.1303053-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 7 Oct 2023 12:28:50 +0200") References: <20231007102850.1303053-1-bernd@kuhls.net> Message-ID: <87mswm1iuu.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x (except for the 6.5.x bump), thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:25:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:25:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/python3: bump version to 3.11.6 In-Reply-To: <87wmvtb3d4.fsf@48ers.dk> (Peter Korsgaard's message of "Wed, 11 Oct 2023 17:11:51 +0200") References: <20231002200451.3445210-1-bernd@kuhls.net> <87wmvtb3d4.fsf@48ers.dk> Message-ID: <87il7a1itf.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Bernd" == Bernd Kuhls writes: >> Release notes: https://www.python.org/downloads/release/python-3116/ >> Signed-off-by: Bernd Kuhls > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:25:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:25:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/wireless-regdb: bump version to 2023.09.01 In-Reply-To: <87jzrtb3bc.fsf@48ers.dk> (Peter Korsgaard's message of "Wed, 11 Oct 2023 17:12:55 +0200") References: <20231003122406.2678498-1-bernd@kuhls.net> <87jzrtb3bc.fsf@48ers.dk> Message-ID: <87edhy1irx.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Bernd" == Bernd Kuhls writes: >> Signed-off-by: Bernd Kuhls > Committed, thanks. Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:29:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:29:27 +0200 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series In-Reply-To: <20231011174620.52181-1-bernd@kuhls.net> (Bernd Kuhls's message of "Wed, 11 Oct 2023 19:46:20 +0200") References: <20231011174620.52181-1-bernd@kuhls.net> Message-ID: <87a5sm1im0.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x (except for the 6.5.x bump), thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:44:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:44:02 +0200 Subject: [Buildroot] [PATCH] package/go: security bump to version 1.21.3 In-Reply-To: <20231011114736.311388-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 11 Oct 2023 13:47:35 +0200") References: <20231011114736.311388-1-peter@korsgaard.com> Message-ID: <875y3a1hxp.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes CVE-2023-39325: rapid stream resets can cause excessive work > A malicious HTTP/2 client which rapidly creates requests and immediately > resets them can cause excessive server resource consumption. While the > total number of requests is bounded to the http2.Server.MaxConcurrentStreams > setting, resetting an in-progress request allows the attacker to create a > new request while the existing one is still executing. > go1.21.3 (released 2023-10-10) includes a security fix to the net/http > package. > Signed-off-by: Peter Korsgaard For 2023.02.x and 2023.08.x I have instead bumped to 1.20.10 which contains the same fix. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:44:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:44:41 +0200 Subject: [Buildroot] [PATCH] package/libcue: security bump to version 2.3.0 In-Reply-To: <20231011083951.177891-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 11 Oct 2023 10:39:51 +0200") References: <20231011083951.177891-1-peter@korsgaard.com> Message-ID: <871qdy1hwm.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Fixes the following security issue: > CVE-2023-43641: Out-of-bounds array access in track_set_index > https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj > For more details, see the github writeup: > https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Fri Oct 13 18:17:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:55 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-libav: bump to version 1.22.6 Message-ID: <20231013184521.814BF84C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=102ef88df41d22cb8de131252d5b90f6aaade4c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 57fc4d90d07e00c2d49240d42141056c00fdfd6a) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-libav/gst1-libav.hash | 4 ++-- package/gstreamer1/gst1-libav/gst1-libav.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-libav/gst1-libav.hash b/package/gstreamer1/gst1-libav/gst1-libav.hash index c3e84a17d2..251e924792 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.hash +++ b/package/gstreamer1/gst1-libav/gst1-libav.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.2.tar.xz.sha256sum -sha256 fcaaf9878fe8f3bc82317ef13a1558824cb68df1f8968c6797f556c5e33bcffd gst-libav-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.6.tar.xz.sha256sum +sha256 7789e6408388a25f23cbf948cfc5c6230d735bbcd8b7f37f4a01c9e348a1e3a7 gst-libav-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-libav/gst1-libav.mk b/package/gstreamer1/gst1-libav/gst1-libav.mk index 0306db42c0..23d4a29799 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.mk +++ b/package/gstreamer1/gst1-libav/gst1-libav.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_LIBAV_VERSION = 1.22.2 +GST1_LIBAV_VERSION = 1.22.6 GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav GST1_LIBAV_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:16:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:45 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-plugins-base: security bump to version 1.22.6 Message-ID: <20231013184521.493C384C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f006bbedc19e0b4c8aed2488ffb15797ee45b63 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-37328: Heap-based buffer overflow in the subparse subtitle parser when handling certain SRT subtitle files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0002.html Signed-off-by: Peter Korsgaard (cherry picked from commit 14e2374592284ba61384782ced095ea01ab4dfc5) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash | 4 ++-- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash index 173f359afc..a46ce228c4 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz.sha256sum -sha256 eb65120c4ee79b7a153c3c1972d5c0158c2151877cc51ec7725bba5749679d49 gst-plugins-base-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.6.tar.xz.sha256sum +sha256 50f2b4d17c02eefe430bbefa8c5cd134b1be78a53c0f60e951136d96cf49fd4b gst-plugins-base-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk index 153187f743..7fcac012f2 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BASE_VERSION = 1.22.2 +GST1_PLUGINS_BASE_VERSION = 1.22.6 GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base GST1_PLUGINS_BASE_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:09:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:09:29 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/mbedtls: security bump to version 2.28.5 Message-ID: <20231013184521.15A7484C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=93800e3256640daf1f7571a0c80af481614edf9a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issue: CVE-2023-43615: Buffer overread in TLS stream cipher suites https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2023-10-1/ Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (cherry picked from commit 26762e30090585e8c64333d3ffe4249e7a0b0f43) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 2 +- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 6aa6d0235d..d0cd0b2105 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 62eda6ec99..1b941e04f4 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.4 +MBEDTLS_VERSION = 2.28.5 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 18:16:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:06 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gstreamer1: bump to version 1.22.6 Message-ID: <20231013184521.3D78084C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b73a345f4ff4bd1b5e51888242b698cd0d10402c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 133ced8e02f00820f6e83effa5ffac1d8a6c7200) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gstreamer1/gstreamer1.hash | 4 ++-- package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1/gstreamer1.hash b/package/gstreamer1/gstreamer1/gstreamer1.hash index f74832ce6a..65045c1c30 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.hash +++ b/package/gstreamer1/gstreamer1/gstreamer1.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.2.tar.xz.sha256sum -sha256 b2afe73603921c608ba48969dbb7d743776744bfe5d8059ece241137b7f88e21 gstreamer-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.6.tar.xz.sha256sum +sha256 f500e6cfddff55908f937711fc26a0840de28a1e9ec49621c0b6f1adbd8f818e gstreamer-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 8584735129..352567ed52 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_VERSION = 1.22.2 +GSTREAMER1_VERSION = 1.22.6 GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer GSTREAMER1_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:18:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:15 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-python: bump to version 1.22.6 Message-ID: <20231013184521.9AC6884897@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7c83c55df6354bdc059744fa856314627a4d6739 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 3aff0c2cde63cc19ac8ea5ce50adfd19567f04b2) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-python/gst1-python.hash | 4 ++-- package/gstreamer1/gst1-python/gst1-python.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-python/gst1-python.hash b/package/gstreamer1/gst1-python/gst1-python.hash index 006d4985ef..4495e03945 100644 --- a/package/gstreamer1/gst1-python/gst1-python.hash +++ b/package/gstreamer1/gst1-python/gst1-python.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.2.tar.xz.sha256sum -sha256 bef2b3d82ce4be46b775b1bb56305c1003ee01b535a53a82f9fe8924972153ad gst-python-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.6.tar.xz.sha256sum +sha256 51de2d6d13b12ce095eac97c0b94ee59c2aeba3712bb7462b78c4d57dde176c5 gst-python-1.22.6.tar.xz sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/package/gstreamer1/gst1-python/gst1-python.mk b/package/gstreamer1/gst1-python/gst1-python.mk index 527d101786..475f2f2d87 100644 --- a/package/gstreamer1/gst1-python/gst1-python.mk +++ b/package/gstreamer1/gst1-python/gst1-python.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PYTHON_VERSION = 1.22.2 +GST1_PYTHON_VERSION = 1.22.6 GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python GST1_PYTHON_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:16:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:55 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-plugins-good: security bump to version 1.22.6 Message-ID: <20231013184521.5473584C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=63a69b18f49d21ffcfad092c32905fb128ffcefe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-37327: Heap-based buffer overflow in the FLAC parser when handling malformed image tags in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0001.html Signed-off-by: Peter Korsgaard (cherry picked from commit 40c3696131a2b93ea3da2556352dc79c19ac2e9c) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash | 4 ++-- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash index 604e74b57d..1b315ac1cc 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz.sha256sum -sha256 7c8cc59425f2b232f60ca7d13e56edd615da4f711e73dd01a7cffa46e6bc0cdd gst-plugins-good-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.6.tar.xz.sha256sum +sha256 b3b07fe3f1ce7fe93aa9be7217866044548f35c4a7792280eec7e108a32f9817 gst-plugins-good-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 41f4c727f3..4c6188c097 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_GOOD_VERSION = 1.22.2 +GST1_PLUGINS_GOOD_VERSION = 1.22.6 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING From peter at korsgaard.com Fri Oct 13 18:13:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:13:54 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/cups: add upstream security fix for CVE-2023-4504 Message-ID: <20231013184521.2F4FE84C53@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=85e9e4a2fcf3c65995fd0163a80b880c0a923eb2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-4504: Postscript Parsing Heap Overflow https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h https://takeonme.org/cves/CVE-2023-4504.html There is a 2.4.7 release with this fix, but upstream unfortunately broke !gnutls builds, so backport the security fix instead: https://github.com/OpenPrinting/cups/issues/762 Signed-off-by: Peter Korsgaard (cherry picked from commit b9d9497019f0caa3388f51c458a2469fdeefd146) Signed-off-by: Peter Korsgaard --- ...0005-raster-interpret.c-Fix-CVE-2023-4504.patch | 45 ++++++++++++++++++++++ package/cups/cups.mk | 3 ++ 2 files changed, 48 insertions(+) diff --git a/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch new file mode 100644 index 0000000000..d1dff4e1fa --- /dev/null +++ b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch @@ -0,0 +1,45 @@ +From 2431caddb7e6a87f04ac90b5c6366ad268b6ff31 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Wed, 20 Sep 2023 14:45:17 +0200 +Subject: [PATCH] raster-interpret.c: Fix CVE-2023-4504 + +We didn't check for end of buffer if it looks there is an escaped +character - check for NULL terminator there and if found, return NULL +as return value and in `ptr`, because a lone backslash is not +a valid PostScript character. + +Upstream: https://github.com/OpenPrinting/cups/commit/2431caddb7e6a87f04ac90b5c6366ad268b6ff31 +[Peter: drop CHANGES hunk] +Signed-off-by: Peter Korsgaard +--- + cups/raster-interpret.c | 14 +++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/cups/raster-interpret.c b/cups/raster-interpret.c +index 6fcf731b5..b8655c8c6 100644 +--- a/cups/raster-interpret.c ++++ b/cups/raster-interpret.c +@@ -1116,7 +1116,19 @@ scan_ps(_cups_ps_stack_t *st, /* I - Stack */ + + cur ++; + +- if (*cur == 'b') ++ /* ++ * Return NULL if we reached NULL terminator, a lone backslash ++ * is not a valid character in PostScript. ++ */ ++ ++ if (!*cur) ++ { ++ *ptr = NULL; ++ ++ return (NULL); ++ } ++ ++ if (*cur == 'b') + *valptr++ = '\b'; + else if (*cur == 'f') + *valptr++ = '\f'; +-- +2.30.2 + diff --git a/package/cups/cups.mk b/package/cups/cups.mk index a3bb2f8dfc..4bc5eeedee 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -13,6 +13,9 @@ CUPS_CPE_ID_VENDOR = openprinting CUPS_SELINUX_MODULES = cups CUPS_INSTALL_STAGING = YES +# 0005-raster-interpret.c-Fix-CVE-2023-4504.patch +CUPS_IGNORE_CVES += CVE-2023-4504 + # Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. define CUPS_RUN_AUTOCONF cd $(@D); $(AUTOCONF) -f From peter at korsgaard.com Fri Oct 13 18:24:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:24:52 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/python3: bump version to 3.11.6 Message-ID: <20231013184521.CD73C84C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5fb0d39752307f1051329d3b13f5804273f67bdd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Release notes: https://www.python.org/downloads/release/python-3116/ Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 337485b232dd452937fd2f96de0a596c968f4b47) Signed-off-by: Peter Korsgaard --- package/python3/python3.hash | 6 +++--- package/python3/python3.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 1a0fee3290..39a16c1f71 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3115/ -md5 393856f1b7713aa8bba4b642ab9985d3 Python-3.11.5.tar.xz +# From https://www.python.org/downloads/release/python-3116/ +md5 d0c5a1a31efe879723e51addf56dd206 Python-3.11.6.tar.xz # Locally computed -sha256 85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f Python-3.11.5.tar.xz +sha256 0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 Python-3.11.6.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cfe5e1ee6e..b9c5054a21 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.11 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).5 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).6 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others From peter at korsgaard.com Fri Oct 13 18:18:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:46 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-rtsp-vaapi: bump to version 1.22.6 Message-ID: <20231013184521.A24F084C4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=73075f6684c3eeef0ecdab582b9b4dea47bd9973 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 688dcef3d7d2f72119320280dd63726787b1486b) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-vaapi/gst1-vaapi.hash | 4 ++-- package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash index 2fdec4e83f..53dbe97ca9 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.2.tar.xz.sha256sum -sha256 d2e642f9745f97d9f73a7f5085e7659a9a31fe209b774e6e45dae041b435df06 gstreamer-vaapi-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.6.tar.xz.sha256sum +sha256 d9ba2fc26bef98c78e982c599f585d46bbb65fe122da89c2d7ab41f468a52c7b gstreamer-vaapi-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk index cae239094a..46a5839450 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_VAAPI_VERSION = 1.22.2 +GST1_VAAPI_VERSION = 1.22.6 GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz GST1_VAAPI_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:21:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:21:58 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series Message-ID: <20231013184521.C0D0D84C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0f95c3b4c2ee8f70d4288e3205db7510a4abc589 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 003cdd5de31dd6558b02d0a719bc779bb1fc8db5) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/linux.hash | 4 ++-- package/linux-headers/Config.in.host | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linux/linux.hash b/linux/linux.hash index cac7fba207..9330900b13 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,8 +1,8 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc sha256 9626ec84a39ecb009bf11a271dd520941159c165d4e62f82e3a77b79d20ff27d linux-6.4.16.tar.xz -sha256 a87e241ec15d53452c4efe219713a3769d88cc436b5b98cf6efb262c4aff15c0 linux-6.1.55.tar.xz +sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 ef845e7934897b88e4448378ea9daacac19e07f156fe904844fab0a7d8ff5ddd linux-5.15.133.tar.xz +sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index a0bdbe8555..d106e99f98 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -404,8 +404,8 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.19.295" if BR2_KERNEL_HEADERS_4_19 default "5.4.257" if BR2_KERNEL_HEADERS_5_4 default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.133" if BR2_KERNEL_HEADERS_5_15 - default "6.1.55" if BR2_KERNEL_HEADERS_6_1 + default "5.15.134" if BR2_KERNEL_HEADERS_5_15 + default "6.1.56" if BR2_KERNEL_HEADERS_6_1 default "6.4.16" if BR2_KERNEL_HEADERS_6_4 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL From peter at korsgaard.com Fri Oct 13 18:44:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:44:22 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libcue: security bump to version 2.3.0 Message-ID: <20231013184522.045B484C4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d4ad6cefeeac80f093e57ada976d0c05b1caa4c0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issue: CVE-2023-43641: Out-of-bounds array access in track_set_index https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj For more details, see the github writeup: https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ Signed-off-by: Peter Korsgaard (cherry picked from commit 3aee3a326d37ae5ddaf99bbc7bcf26a5c1ea7b2a) Signed-off-by: Peter Korsgaard --- package/libcue/libcue.hash | 2 +- package/libcue/libcue.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcue/libcue.hash b/package/libcue/libcue.hash index 93ae2dacdb..47fe906e1a 100644 --- a/package/libcue/libcue.hash +++ b/package/libcue/libcue.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 f27bc3ebb2e892cd9d32a7bee6d84576a60f955f29f748b9b487b173712f1200 libcue-2.2.1.tar.gz +sha256 cc1b3a65c60bd88b77a1ddd1574042d83cf7cc32b85fe9481c99613359eb7cfe libcue-2.3.0.tar.gz sha256 c388d36583fa54e13b6d73ad924d0b68d073ed8a5771e17cb49104705df4504f LICENSE diff --git a/package/libcue/libcue.mk b/package/libcue/libcue.mk index 3edb4f3b69..7ef27f5a17 100644 --- a/package/libcue/libcue.mk +++ b/package/libcue/libcue.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCUE_VERSION = 2.2.1 +LIBCUE_VERSION = 2.3.0 LIBCUE_SITE = $(call github,lipnitsk,libcue,v$(LIBCUE_VERSION)) LIBCUE_LICENSE = GPL-2.0, BSD-2-Clause (rem.c) LIBCUE_LICENSE_FILES = LICENSE From peter at korsgaard.com Fri Oct 13 18:19:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:19:14 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gstreamer1-editing-services: bump to version 1.22.6 Message-ID: <20231013184521.B63CC84C53@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d982e4b6daadc3840733386f2a04bfe28be2c482 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 8c8ff426744d5c4977e06b1554185fde69a2f146) Signed-off-by: Peter Korsgaard --- .../gstreamer1-editing-services/gstreamer1-editing-services.hash | 4 ++-- .../gstreamer1-editing-services/gstreamer1-editing-services.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash index 0cdb18ea5d..11e93b8b65 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash @@ -1,5 +1,5 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.2.tar.xz.sha256sum -sha256 453b1464fc3857de269a7cb0ebd966afe02171d97bef672a0b8a0a6d43e0cebf gst-editing-services-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.6.tar.xz.sha256sum +sha256 748d423672c597f876e130804fb984848f5b4b89efd78a506cb17f7646795301 gst-editing-services-1.22.6.tar.xz # Hashes for license files: sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk index 9fdc877db0..bea59f256b 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.2 +GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.6 GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ From peter at korsgaard.com Fri Oct 13 15:44:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:44:29 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] DEVELOPERS: add Thomas Petazzoni for nodejs Message-ID: <20231013184521.0E82D84C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=010cd4640f0ed025dd9b1455b840975bd6202377 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle (cherry picked from commit 65dfac5d11596583e4e31ce83a05045a5c9a2ce6) Signed-off-by: Peter Korsgaard --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index 26d0a0c223..885cc28ed7 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2915,6 +2915,7 @@ F: package/msmtp/ F: package/musl/ F: package/musl-fts/ F: package/ne10/ +F: package/nodejs/ F: package/pkg-python.mk F: package/pkg-autotools.mk F: package/pkg-generic.mk From peter at korsgaard.com Fri Oct 13 18:17:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:25 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-plugins-ugly: security bump to version 1.22.6 Message-ID: <20231013184521.6C6C784C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c48d23e5d03791eaea2ad311f0a572dea33983b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issues: ZDI-CAN-21443: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0004.html ZDI-CAN-21444: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0005.html Signed-off-by: Peter Korsgaard (cherry picked from commit 7f2571f594cc87fc7543b5476eeda1bdda4d7264) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash | 4 ++-- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash index ed781df686..f55dd7b3a0 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.2.tar.xz.sha256sum -sha256 8f30f44db0bd063709bf6fbe55138e3a98af0abcb61c360f35582bbe10e80691 gst-plugins-ugly-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.6.tar.xz.sha256sum +sha256 3e31454c98cb2f7f6d2d355eceb933a892fa0f1dc09bc36c9abc930d8e29ca48 gst-plugins-ugly-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk index f1566b058e..ee3bd1b551 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_UGLY_VERSION = 1.22.2 +GST1_PLUGINS_UGLY_VERSION = 1.22.6 GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING From peter at korsgaard.com Fri Oct 13 18:42:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:42:32 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/go: security bump to version 1.20.10 Message-ID: <20231013184521.EC54484C4C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bc0f65857ef6cb3c82a364ebfa5867a3fa3bc350 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-39325: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. go1.20.10 (released 2023-10-10) includes a security fix to the net/http package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index ac603e6e3b..a4aafbe6e4 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz +sha256 72d2f51805c47150066c103754c75fddb2c19d48c9219fa33d1e46696c841dbb go1.20.10.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index cc374aa44f..c3f88b8682 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.9 +GO_VERSION = 1.20.10 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Fri Oct 13 18:27:52 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:27:52 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231013184521.E1BF384C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ac51d2a9032376ed375a9b8d65025c90daa24f1e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit d71743b7360c19d7555529077a47fb14eba8d234) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/linux.hash | 12 ++++++------ package/linux-headers/Config.in.host | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/linux/linux.hash b/linux/linux.hash index 9330900b13..283c07693f 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc sha256 9626ec84a39ecb009bf11a271dd520941159c165d4e62f82e3a77b79d20ff27d linux-6.4.16.tar.xz -sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz +sha256 f9ebfe3ddc5152d87b37e33be30e31875d137433be10a57ce29d2eae7b6e91b1 linux-6.1.57.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz -sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz -sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz +sha256 14835e629e237f136cfed484fdb533c95242429809bdcdb2a2d66dfcb7447170 linux-5.15.135.tar.xz +sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz +sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 b732c2e4f08576a9dd5bb14213cead3835acbb101a91aaba3d6ace302fd538ac linux-4.19.295.tar.xz -sha256 555ce40f1df4c0f4a74cbefcaad0c67108615860968720faabe51cdee2df1478 linux-4.14.326.tar.xz +sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz +sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index d106e99f98..ed32b32ea4 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -400,12 +400,12 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.326" if BR2_KERNEL_HEADERS_4_14 - default "4.19.295" if BR2_KERNEL_HEADERS_4_19 - default "5.4.257" if BR2_KERNEL_HEADERS_5_4 - default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.134" if BR2_KERNEL_HEADERS_5_15 - default "6.1.56" if BR2_KERNEL_HEADERS_6_1 + default "4.14.327" if BR2_KERNEL_HEADERS_4_14 + default "4.19.296" if BR2_KERNEL_HEADERS_4_19 + default "5.4.258" if BR2_KERNEL_HEADERS_5_4 + default "5.10.198" if BR2_KERNEL_HEADERS_5_10 + default "5.15.135" if BR2_KERNEL_HEADERS_5_15 + default "6.1.57" if BR2_KERNEL_HEADERS_6_1 default "6.4.16" if BR2_KERNEL_HEADERS_6_4 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL From peter at korsgaard.com Fri Oct 13 18:09:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:09:01 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/mbedtls: bump to version 2.28.4 Message-ID: <20231013184521.028A284897@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a2cbf289d452d621fc089343105346625fb77bb6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni (cherry picked from commit 7dc2462a8e511629e1ea300f32aa43ee1ec74fa1) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 4 ++-- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 2281bd5fe5..6aa6d0235d 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ -# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.3: -sha256 bdf7c5bbdc338da3edad89b2885d4f8668f9a6fffeba6ec17a60333e36dade6f mbedtls-2.28.3.tar.gz +# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: +sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 8f09fd72a8..62eda6ec99 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.3 +MBEDTLS_VERSION = 2.28.4 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 18:18:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:22 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-rtsp-server: bump to version 1.22.6 Message-ID: <20231013184521.9C1F684C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3e167b8c65d79567cce3801b18f2e7e27a762d1c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 7a0cbea0e35ef6f62c0b073fd0724e02235921fc) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash | 4 ++-- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash index c98d10d79c..521a91ddd7 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash @@ -1,4 +1,4 @@ -# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.2.tar.xz.sha256sum -sha256 2be4aecfb88710100ea7115ed0216403e8094344ebf146094271b8d4d73828bf gst-rtsp-server-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.6.tar.xz.sha256sum +sha256 0ae33a8b50443b62f11581a9181e906b41cd3877b2d799dbea72912c3eda4bb3 gst-rtsp-server-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk index 6f5fc4f7aa..46d7606b1d 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_RTSP_SERVER_VERSION = 1.22.2 +GST1_RTSP_SERVER_VERSION = 1.22.6 GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server GST1_RTSP_SERVER_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:13:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:13:02 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libcurl: security bump to 8.4.0 Message-ID: <20231013184521.2106684C4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f9d1275643b7b179342e2bdd86f7bce7a10a97ee branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes following two vulnerabilities: * CVE-2023-38545: SOCKS5 heap buffer overflow https://curl.se/docs/CVE-2023-38545.html * CVE-2023-38546: cookie injection with none file https://curl.se/docs/CVE-2023-38546.html Signed-off-by: Jan ??erm??k Signed-off-by: Peter Korsgaard (cherry picked from commit 30dd60ba7eb3e6da4f0ae91b3b08f8aa8fb8d786) Signed-off-by: Peter Korsgaard --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 371d20a632..ecd5d63909 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-8.3.0.tar.xz.asc +# https://curl.se/download/curl-8.4.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63 curl-8.3.0.tar.xz +sha256 16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82d curl-8.4.0.tar.xz sha256 b1d7feb949ea5023552029fbe0bf5db4f23c2f85e9b8e51e18536f0ecbf9c524 COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index dd4cf43c6a..bd331a55aa 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 8.3.0 +LIBCURL_VERSION = 8.4.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ From peter at korsgaard.com Fri Oct 13 18:25:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:25:43 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/wireless-regdb: bump version to 2023.09.01 Message-ID: <20231013184521.D79FA84C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=58bf67263b52c9fffbaaeebea22fbb635ef032cf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 29b6e170b7337c47444a8ef34529eabc2c59567f) Signed-off-by: Peter Korsgaard --- package/wireless-regdb/wireless-regdb.hash | 2 +- package/wireless-regdb/wireless-regdb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wireless-regdb/wireless-regdb.hash b/package/wireless-regdb/wireless-regdb.hash index b4e8dcaf54..71f92aaf91 100644 --- a/package/wireless-regdb/wireless-regdb.hash +++ b/package/wireless-regdb/wireless-regdb.hash @@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc -sha256 f254d08ab3765aeae2b856222e11a95d44aef519a6663877c71ef68fae4c8c12 wireless-regdb-2023.05.03.tar.xz +sha256 26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491 wireless-regdb-2023.09.01.tar.xz # Locally computed sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk index db9c7f42d5..e9003ce2e6 100644 --- a/package/wireless-regdb/wireless-regdb.mk +++ b/package/wireless-regdb/wireless-regdb.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRELESS_REGDB_VERSION = 2023.05.03 +WIRELESS_REGDB_VERSION = 2023.09.01 WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb WIRELESS_REGDB_LICENSE = ISC From peter at korsgaard.com Fri Oct 13 15:42:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:42:36 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/exim: security bump version to 4.96.1 Message-ID: <20231013184520.EADE984C4A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=620fb8fb0f7e2d8c3d3d18960bae69b820551422 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: https://exim.org/static/doc/security/CVE-2023-zdi.txt Signed-off-by: Bernd Kuhls Reviewed-by: Luca Ceresoli Signed-off-by: Peter Korsgaard (cherry picked from commit 657d10b34b1ba2fc3478a3cfad7ac7fcf4ce1094) Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 2336aaa5c6..6cdeea0614 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 299a56927b2eb3477daafd3c5bda02bc67e5c4e5898a7aeaf2740875278cf1a3 exim-4.96.tar.xz +sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 6b863661465a0b9897c1b71875c5196a1903cf560dd85de45b08242b9731edb2bc10eb56945d62e477e5d15cc7a8d493915bff2ca81689673a8091c66f62c89e exim-4.96.tar.xz +sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index b84a51d6de..f5695d048d 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96 +EXIM_VERSION = 4.96.1 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Fri Oct 13 18:18:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:53 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst-omx: bump to version 1.22.6 Message-ID: <20231013184521.ACB7C84C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=206402e5a92b34d498e5d6d56bdab8ecaf5687c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 6339e7f4132230e086a8efc5e266c21fbc3ef3c6) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst-omx/gst-omx.hash | 4 ++-- package/gstreamer1/gst-omx/gst-omx.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst-omx/gst-omx.hash b/package/gstreamer1/gst-omx/gst-omx.hash index d4a95c631a..5878991b5b 100644 --- a/package/gstreamer1/gst-omx/gst-omx.hash +++ b/package/gstreamer1/gst-omx/gst-omx.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.2.tar.xz.sha256sum -sha256 1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2 gst-omx-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.6.tar.xz.sha256sum +sha256 223833c42518ad7eb1923bb4dd3726809f59a66d6e9aaaa69cb29ad0750c8758 gst-omx-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst-omx/gst-omx.mk b/package/gstreamer1/gst-omx/gst-omx.mk index 87f162f715..3d2ba90290 100644 --- a/package/gstreamer1/gst-omx/gst-omx.mk +++ b/package/gstreamer1/gst-omx/gst-omx.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST_OMX_VERSION = 1.22.2 +GST_OMX_VERSION = 1.22.6 GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx From peter at korsgaard.com Fri Oct 13 18:17:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:45 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-devtools: bump to version 1.22.6 Message-ID: <20231013184521.77E1F84C49@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5922259b415841aa0d326f51c49de8fd388b02b7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard (cherry picked from commit 637cf8fdab953d7a77e640fbc10b63166c3b3b20) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-devtools/gst1-devtools.hash | 4 ++-- package/gstreamer1/gst1-devtools/gst1-devtools.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash index 4abdd6ece4..9eada91614 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.2.tar.xz.sha256sum -sha256 eb62726d3e27a8782369a24fd6364a8885ed2462b3bbdab091dffc8139ee06d8 gst-devtools-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.6.tar.xz.sha256sum +sha256 8928560efaf16137c30285e718708e5d0bab0777eb4ef8127e0274e120d3d86b gst-devtools-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk index 7801f9b62c..8608c2f75b 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_DEVTOOLS_VERSION = 1.22.2 +GST1_DEVTOOLS_VERSION = 1.22.6 GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools GST1_DEVTOOLS_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:17:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gst1-plugins-bad: security bump to version 1.22.6 Message-ID: <20231013184521.5FE5884C4D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=47c4d44e5ce568da406d6a71233842bda08f9935 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issues: CVE-2023-37329: Heap-based buffer overflow in the PGS blu-ray subtitle decoder when handling certain files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0003.html CVE-2023-40474: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with uncompressed video in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0006.html CVE-2023-40475: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with AES3 audio in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0007.html CVE-2023-40476: Stack-based buffer overflow in the H.265 video parser when handling malformed H.265 video streams in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0008.html Signed-off-by: Peter Korsgaard (cherry picked from commit 19fe76b8b4dd09bd11fce6832932cd799332ffb5) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash | 4 ++-- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash index 2bbb8af904..c6d1f2e009 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.2.tar.xz.sha256sum -sha256 3d8faf1ce3402c8535ce3a8c4e1a6c960e4b5655dbda6b55943db9ac79022d0f gst-plugins-bad-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.6.tar.xz.sha256sum +sha256 b4029cd2908a089c55f1d902a565d007495c95b1442d838485dc47fb12df7137 gst-plugins-bad-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index 1713f0b4b8..983be754e9 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BAD_VERSION = 1.22.2 +GST1_PLUGINS_BAD_VERSION = 1.22.6 GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad GST1_PLUGINS_BAD_INSTALL_STAGING = YES From bernd at kuhls.net Fri Oct 13 18:45:51 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 20:45:51 +0200 Subject: [Buildroot] [PATCH 1/4] package/alsa-lib: fix musl build Message-ID: <20231013184554.337101-1-bernd@kuhls.net> Buildroot commit 227d414ded bumped alsa-lib to version 1.2.10 which introduced a build error with musl toolchains. Fixes: http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ Signed-off-by: Bernd Kuhls --- ...STRING-macro-outside-PIC-ifdef-block.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch diff --git a/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch new file mode 100644 index 0000000000..7bd67507fd --- /dev/null +++ b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch @@ -0,0 +1,50 @@ +From 10bd599970acc71c92f85eb08943eb8d3d702a9c Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 6 Sep 2023 15:16:44 +0200 +Subject: [PATCH] global.h: move __STRING() macro outside !PIC ifdef block + +It solves the musl libc compilation issue. + +control.c: In function 'snd_ctl_open_conf': +../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio] + 98 | #define SND_DLSYM_VERSION(version) __STRING(version) + | ^~~~~~~~ + +Fixes: https://github.com/alsa-project/alsa-lib/issues/350 +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-lib/commit/10bd599970acc71c92f85eb08943eb8d3d702a9c + +Signed-off-by: Bernd Kuhls +--- + include/global.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/include/global.h b/include/global.h +index dfe9bc2b..3ecaeee8 100644 +--- a/include/global.h ++++ b/include/global.h +@@ -51,6 +51,11 @@ const char *snd_asoundlib_version(void); + #define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) + #endif + ++#ifndef __STRING ++/** \brief Return 'x' argument as string */ ++#define __STRING(x) #x ++#endif ++ + #ifdef PIC /* dynamic build */ + + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ +@@ -71,11 +76,6 @@ struct snd_dlsym_link { + + extern struct snd_dlsym_link *snd_dlsym_start; + +-#ifndef __STRING +-/** \brief Return 'x' argument as string */ +-#define __STRING(x) #x +-#endif +- + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ + #define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version + /** -- 2.39.2 From bernd at kuhls.net Fri Oct 13 18:45:52 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 20:45:52 +0200 Subject: [Buildroot] [PATCH 2/4] package/alsa-utils: fix build with gcc < 11 In-Reply-To: <20231013184554.337101-1-bernd@kuhls.net> References: <20231013184554.337101-1-bernd@kuhls.net> Message-ID: <20231013184554.337101-2-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/bfd/bfde1d5c3067e98d983ce1eebc1560bd13d00b8a/ Signed-off-by: Bernd Kuhls --- ...UTE_UNUSED-instead-remove-argument-n.patch | 233 +++++++++++++ ...UTE_UNUSED-instead-remove-argument-n.patch | 34 ++ ...RIBUTE_UNUSED-instead-remove-argumen.patch | 57 ++++ ...E_UNUSED-instead-remove-argument-nam.patch | 67 ++++ ...E_UNUSED-instead-remove-argument-nam.patch | 93 ++++++ ...IBUTE_UNUSED-instead-remove-argument.patch | 109 ++++++ ...RIBUTE_UNUSED-instead-remove-argumen.patch | 312 ++++++++++++++++++ 7 files changed, 905 insertions(+) create mode 100644 package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch create mode 100644 package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch create mode 100644 package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch create mode 100644 package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch create mode 100644 package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch create mode 100644 package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch create mode 100644 package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch diff --git a/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..92622292c0 --- /dev/null +++ b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,233 @@ +From a90faa2dd644af585d6a00f0aaf297c15ea0aa7b Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:33:47 +0200 +Subject: [PATCH] axfer: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: ad5a1c0 ("axfer: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/a90faa2dd644af585d6a00f0aaf297c15ea0aa7b + +Signed-off-by: Bernd Kuhls +--- + axfer/container-raw.c | 14 +++++++------- + axfer/mapper-single.c | 6 +++--- + axfer/subcmd-list.c | 2 +- + axfer/subcmd-transfer.c | 4 ++-- + axfer/waiter-poll.c | 4 ++-- + axfer/waiter-select.c | 4 ++-- + axfer/waiter.h | 1 + + axfer/xfer-libasound-irq-rw.c | 2 +- + axfer/xfer-libasound.c | 4 ++-- + axfer/xfer-options.c | 3 ++- + 10 files changed, 23 insertions(+), 21 deletions(-) + +diff --git a/axfer/container-raw.c b/axfer/container-raw.c +index 071f94c..1886045 100644 +--- a/axfer/container-raw.c ++++ b/axfer/container-raw.c +@@ -13,10 +13,10 @@ + #include + #include + +-static int raw_builder_pre_process(struct container_context *, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++static int raw_builder_pre_process(struct container_context *cntr ATTRIBUTE_UNUSED, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + *byte_count = UINT64_MAX; +@@ -25,9 +25,9 @@ static int raw_builder_pre_process(struct container_context *, + } + + static int raw_parser_pre_process(struct container_context *cntr, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + struct stat buf = {0}; +diff --git a/axfer/mapper-single.c b/axfer/mapper-single.c +index 13e7fc5..f669f7f 100644 +--- a/axfer/mapper-single.c ++++ b/axfer/mapper-single.c +@@ -62,7 +62,7 @@ static void align_from_vector(void *frame_buf, unsigned int frame_count, + + static int single_pre_process(struct mapper_context *mapper, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + unsigned int bytes_per_buffer; +@@ -110,7 +110,7 @@ static int single_muxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *src; +@@ -141,7 +141,7 @@ static int single_demuxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *dst; +diff --git a/axfer/subcmd-list.c b/axfer/subcmd-list.c +index f9c8e0f..187e1d7 100644 +--- a/axfer/subcmd-list.c ++++ b/axfer/subcmd-list.c +@@ -19,7 +19,7 @@ enum list_op { + }; + + static int dump_device(snd_ctl_t *handle, const char *id, const char *name, +- snd_pcm_stream_t, snd_pcm_info_t *info) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED, snd_pcm_info_t *info) + { + unsigned int i, count; + int err; +diff --git a/axfer/subcmd-transfer.c b/axfer/subcmd-transfer.c +index b39fde8..8d63043 100644 +--- a/axfer/subcmd-transfer.c ++++ b/axfer/subcmd-transfer.c +@@ -40,7 +40,7 @@ static void handle_unix_signal_for_finish(int sig) + ctx_ptr->interrupted = true; + } + +-static void handle_unix_signal_for_suspend(int) ++static void handle_unix_signal_for_suspend(int sig ATTRIBUTE_UNUSED) + { + sigset_t curr, prev; + struct sigaction sa = {0}; +@@ -439,7 +439,7 @@ static int context_process_frames(struct context *ctx, + } + + static void context_post_process(struct context *ctx, +- uint64_t) ++ uint64_t accumulated_frame_count ATTRIBUTE_UNUSED) + { + uint64_t total_frame_count; + unsigned int i; +diff --git a/axfer/waiter-poll.c b/axfer/waiter-poll.c +index 31fab88..b81300c 100644 +--- a/axfer/waiter-poll.c ++++ b/axfer/waiter-poll.c +@@ -13,7 +13,7 @@ + #include + #include + +-static int poll_prepare(struct waiter_context *) ++static int poll_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return 0; +@@ -30,7 +30,7 @@ static int poll_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void poll_release(struct waiter_context *) ++static void poll_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return; +diff --git a/axfer/waiter-select.c b/axfer/waiter-select.c +index 164c9c8..fe19776 100644 +--- a/axfer/waiter-select.c ++++ b/axfer/waiter-select.c +@@ -34,7 +34,7 @@ struct select_state { + fd_set rfds_ex; + }; + +-static int select_prepare(struct waiter_context *) ++static int select_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return 0; + } +@@ -94,7 +94,7 @@ static int select_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void select_release(struct waiter_context *) ++static void select_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return; + } +diff --git a/axfer/waiter.h b/axfer/waiter.h +index db18e33..0f4e9b9 100644 +--- a/axfer/waiter.h ++++ b/axfer/waiter.h +@@ -9,6 +9,7 @@ + #ifndef __ALSA_UTILS_AXFER_WAITER__H_ + #define __ALSA_UTILS_AXFER_WAITER__H_ + ++#include + #include + + enum waiter_type { +diff --git a/axfer/xfer-libasound-irq-rw.c b/axfer/xfer-libasound-irq-rw.c +index b7f0645..45fb6d5 100644 +--- a/axfer/xfer-libasound-irq-rw.c ++++ b/axfer/xfer-libasound-irq-rw.c +@@ -313,7 +313,7 @@ error: + } + + static int w_process_frames_nonblocking(struct libasound_state *state, +- snd_pcm_state_t, ++ snd_pcm_state_t pcm_state ATTRIBUTE_UNUSED, + unsigned int *frame_count, + struct mapper_context *mapper, + struct container_context *cntrs) +diff --git a/axfer/xfer-libasound.c b/axfer/xfer-libasound.c +index 9713533..36ee08d 100644 +--- a/axfer/xfer-libasound.c ++++ b/axfer/xfer-libasound.c +@@ -60,7 +60,7 @@ static const struct option l_opts[] = { + }; + + static int xfer_libasound_init(struct xfer_context *xfer, +- snd_pcm_stream_t) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED) + { + struct libasound_state *state = xfer->private_data; + int err; +@@ -887,7 +887,7 @@ static void xfer_libasound_destroy(struct xfer_context *xfer) + state->log = NULL; + } + +-static void xfer_libasound_help(struct xfer_context *) ++static void xfer_libasound_help(struct xfer_context *xfer ATTRIBUTE_UNUSED) + { + printf( + " [BASICS]\n" +diff --git a/axfer/xfer-options.c b/axfer/xfer-options.c +index 974570c..e716ded 100644 +--- a/axfer/xfer-options.c ++++ b/axfer/xfer-options.c +@@ -447,7 +447,8 @@ static int generate_path_with_suffix(struct xfer_context *xfer, + + static int generate_path_without_suffix(struct xfer_context *xfer, + const char *template, +- unsigned int index, const char *) ++ unsigned int index, ++ const char *suffix ATTRIBUTE_UNUSED) + { + static const char *const single_format = "%s"; + static const char *const multiple_format = "%s-%i"; +-- +2.39.2 + diff --git a/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..12a098b6fb --- /dev/null +++ b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,34 @@ +From 2db896afd475b0b3ad07e97ba74ec9680b4f7f6d Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:37:24 +0200 +Subject: [PATCH] amidi: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 1843540 ("amidi: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/2db896afd475b0b3ad07e97ba74ec9680b4f7f6d + +Signed-off-by: Bernd Kuhls +--- + amidi/amidi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/amidi/amidi.c b/amidi/amidi.c +index f930ca8..75fb8c0 100644 +--- a/amidi/amidi.c ++++ b/amidi/amidi.c +@@ -446,7 +446,7 @@ static void print_byte(unsigned char byte, struct timespec *ts) + printf("%02X", byte); + } + +-static void sig_handler(int) ++static void sig_handler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +-- +2.39.2 + diff --git a/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..4720531415 --- /dev/null +++ b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,57 @@ +From 7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:45:09 +0200 +Subject: [PATCH] alsaloop: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d609a58 ("alsaloop: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa + +Signed-off-by: Bernd Kuhls +--- + alsaloop/alsaloop.c | 2 +- + alsaloop/pcmjob.c | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c +index b10733e..51fb646 100644 +--- a/alsaloop/alsaloop.c ++++ b/alsaloop/alsaloop.c +@@ -821,7 +821,7 @@ static void send_to_all(int sig) + } + } + +-static void signal_handler(int) ++static void signal_handler(int sig ATTRIBUTE_UNUSED) + { + quit = 1; + send_to_all(SIGUSR2); +diff --git a/alsaloop/pcmjob.c b/alsaloop/pcmjob.c +index be71971..ffb439b 100644 +--- a/alsaloop/pcmjob.c ++++ b/alsaloop/pcmjob.c +@@ -625,7 +625,7 @@ static void buf_add_src(struct loopback *loop) + } + } + #else +-static void buf_add_src(struct loopback *) ++static void buf_add_src(struct loopback *loop ATTRIBUTE_UNUSED) + { + } + #endif +@@ -1794,7 +1794,7 @@ static int ctl_event_check(snd_ctl_elem_value_t *val, snd_ctl_event_t *ev) + } + + static int handle_ctl_events(struct loopback_handle *lhandle, +- unsigned short) ++ unsigned short events ATTRIBUTE_UNUSED) + { + struct loopback *loop = lhandle->loopback; + snd_ctl_event_t *ev; +-- +2.39.2 + diff --git a/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..1a42f24d3c --- /dev/null +++ b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,67 @@ +From 94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:49:03 +0200 +Subject: [PATCH] bat: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: b366875 ("bat: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 + +Signed-off-by: Bernd Kuhls +--- + bat/bat.c | 3 ++- + bat/common.c | 3 ++- + bat/common.h | 5 +++++ + 3 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/bat/bat.c b/bat/bat.c +index e88c65f..ea04ed9 100644 +--- a/bat/bat.c ++++ b/bat/bat.c +@@ -158,7 +158,8 @@ static void get_format(struct bat *bat, char *optarg) + } + } + +-static inline int thread_wait_completion(struct bat *, pthread_t id, int **val) ++static inline int thread_wait_completion(struct bat *bat ATTRIBUTE_UNUSED, ++ pthread_t id, int **val) + { + int err; + +diff --git a/bat/common.c b/bat/common.c +index 9ff9405..470a7e6 100644 +--- a/bat/common.c ++++ b/bat/common.c +@@ -47,7 +47,8 @@ static int update_fmt_to_bat(struct bat *bat, struct chunk_fmt *fmt) + } + + /* calculate frames and update to bat */ +-static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, FILE *) ++static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, ++ FILE *file ATTRIBUTE_UNUSED) + { + /* The number of analyzed captured frames is arbitrarily set to half of + the number of frames of the wav file or the number of frames of the +diff --git a/bat/common.h b/bat/common.h +index a9bae5d..bb51b0d 100644 +--- a/bat/common.h ++++ b/bat/common.h +@@ -13,6 +13,11 @@ + * + */ + ++#ifndef ATTRIBUTE_UNUSED ++/** do not print warning (gcc) when function parameter is not used */ ++#define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) ++#endif ++ + #define TEMP_RECORD_FILE_NAME "/tmp/bat.wav.XXXXXX" + #define DEFAULT_DEV_NAME "default" + +-- +2.39.2 + diff --git a/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..9e7e7da5ce --- /dev/null +++ b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,93 @@ +From 66112d60e4ce68720022eaf26080c0f1a2caf81f Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:52:46 +0200 +Subject: [PATCH] seq: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 181e190 ("aplaymidi: fix the verbose compilation warnings for latest gcc") +Fixes: a03377a ("aseqnet: fix the verbose compilation warnings for latest gcc") +Fixes: 429c32a ("aseqdump: fix the verbose compilation warnings for latest gcc") +Fixes: 0b48dd6 ("aconnect: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/66112d60e4ce68720022eaf26080c0f1a2caf81f + +Signed-off-by: Bernd Kuhls +--- + seq/aconnect/aconnect.c | 9 ++++++--- + seq/aplaymidi/arecordmidi.c | 2 +- + seq/aseqdump/aseqdump.c | 2 +- + seq/aseqnet/aseqnet.c | 2 +- + 4 files changed, 9 insertions(+), 6 deletions(-) + +diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c +index 3a10de9..7096feb 100644 +--- a/seq/aconnect/aconnect.c ++++ b/seq/aconnect/aconnect.c +@@ -193,7 +193,8 @@ static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action) + } + + +-static void print_port(snd_seq_t *, snd_seq_client_info_t *cinfo, ++static void print_port(snd_seq_t *seq ATTRIBUTE_UNUSED, ++ snd_seq_client_info_t *cinfo, + snd_seq_port_info_t *pinfo, int count) + { + if (! count) { +@@ -247,8 +248,10 @@ static void print_port_and_subs(snd_seq_t *seq, snd_seq_client_info_t *cinfo, + /* + * remove all (exported) connections + */ +-static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *, +- snd_seq_port_info_t *pinfo, int) ++static void remove_connection(snd_seq_t *seq, ++ snd_seq_client_info_t *info ATTRIBUTE_UNUSED, ++ snd_seq_port_info_t *pinfo, ++ int count ATTRIBUTE_UNUSED) + { + snd_seq_query_subscribe_t *query; + snd_seq_port_info_t *port; +diff --git a/seq/aplaymidi/arecordmidi.c b/seq/aplaymidi/arecordmidi.c +index ce71472..a4c1181 100644 +--- a/seq/aplaymidi/arecordmidi.c ++++ b/seq/aplaymidi/arecordmidi.c +@@ -719,7 +719,7 @@ static void version(void) + fputs("arecordmidi version " SND_UTIL_VERSION_STR "\n", stderr); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c +index 8455ecb..af4ca21 100644 +--- a/seq/aseqdump/aseqdump.c ++++ b/seq/aseqdump/aseqdump.c +@@ -676,7 +676,7 @@ static void version(void) + puts("aseqdump version " SND_UTIL_VERSION_STR); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c +index f40de7d..aa70b50 100644 +--- a/seq/aseqnet/aseqnet.c ++++ b/seq/aseqnet/aseqnet.c +@@ -334,7 +334,7 @@ static void get_net_addr(struct addrinfo *rp, char *buf, size_t buflen) + /* + * signal handler + */ +-static void sigterm_exit(int) ++static void sigterm_exit(int sig ATTRIBUTE_UNUSED) + { + close_files(); + exit(1); +-- +2.39.2 + diff --git a/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch new file mode 100644 index 0000000000..66826c4515 --- /dev/null +++ b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch @@ -0,0 +1,109 @@ +From 9e5e9a6d70de63bea01f0669b01319952f2cfdea Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:57:47 +0200 +Subject: [PATCH] alsaucm: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d7bbc26 ("alsaucm: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/9e5e9a6d70de63bea01f0669b01319952f2cfdea + +Signed-off-by: Bernd Kuhls +--- + alsaucm/dump.c | 22 ++++++++++++---------- + 1 file changed, 12 insertions(+), 10 deletions(-) + +diff --git a/alsaucm/dump.c b/alsaucm/dump.c +index 102ac4d..a5c57f2 100644 +--- a/alsaucm/dump.c ++++ b/alsaucm/dump.c +@@ -93,7 +93,8 @@ static char *tesc(const char *s, char *buf, size_t buf_len) + + #define ESC(s, esc) tesc((s), (esc), sizeof(esc)) + +-static int text_verb_start(struct renderer *, const char *verb, const char *comment) ++static int text_verb_start(struct renderer *r ATTRIBUTE_UNUSED, ++ const char *verb, const char *comment) + { + char buf1[128], buf2[128]; + printf("Verb.%s {\n", ESC(verb, buf1)); +@@ -102,13 +103,13 @@ static int text_verb_start(struct renderer *, const char *verb, const char *comm + return 0; + } + +-static int text_verb_end(struct renderer *) ++static int text_verb_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("}\n"); + return 0; + } + +-static int text_2nd_level_begin(struct renderer *, ++static int text_2nd_level_begin(struct renderer *r ATTRIBUTE_UNUSED, + const char *key, + const char *val, + const char *comment) +@@ -120,19 +121,19 @@ static int text_2nd_level_begin(struct renderer *, + return 0; + } + +-static int text_2nd_level_end(struct renderer *) ++static int text_2nd_level_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("\t}\n"); + return 0; + } + +-static int text_2nd_level(struct renderer *, const char *txt) ++static int text_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t%s", txt); + return 0; + } + +-static int text_3rd_level(struct renderer *, const char *txt) ++static int text_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t\t%s", txt); + return 0; +@@ -266,7 +267,7 @@ static void json_block(struct renderer *r, int level, int last) + j->block[level] = last ? 0 : 1; + } + +-static int json_init(struct renderer *) ++static int json_init(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("{\n \"Verbs\": {"); + return 0; +@@ -325,13 +326,13 @@ static int json_2nd_level_end(struct renderer *r) + return 0; + } + +-static int json_2nd_level(struct renderer *, const char *txt) ++static int json_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; + } + +-static int json_3rd_level(struct renderer *, const char *txt) ++static int json_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; +@@ -360,7 +361,8 @@ static int json_supcon_start(struct renderer *r, const char *key) + return 0; + } + +-static int json_supcon_value(struct renderer *r, const char *value, int) ++static int json_supcon_value(struct renderer *r, const char *value, ++ int last ATTRIBUTE_UNUSED) + { + char buf[256]; + JESC(value, buf); +-- +2.39.2 + diff --git a/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..07b10b3ab8 --- /dev/null +++ b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,312 @@ +From dfe1c7143ab6ea01789e276b1ba361a00e545997 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 17:11:05 +0200 +Subject: [PATCH] topology: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 153d185 ("topology: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/dfe1c7143ab6ea01789e276b1ba361a00e545997 + +Signed-off-by: Bernd Kuhls +--- + topology/nhlt/intel/dmic-nhlt.c | 3 ++- + topology/nhlt/intel/dmic/dmic-debug.c | 7 ++++--- + topology/nhlt/intel/ssp/ssp-debug.c | 5 +++-- + topology/nhlt/intel/ssp/ssp-process.c | 4 +++- + topology/nhlt/nhlt-processor.c | 7 +++++-- + topology/pre-process-class.c | 10 +++++----- + topology/pre-process-object.c | 21 +++++++++++---------- + topology/pre-processor.c | 10 ++++++---- + 8 files changed, 39 insertions(+), 28 deletions(-) + +diff --git a/topology/nhlt/intel/dmic-nhlt.c b/topology/nhlt/intel/dmic-nhlt.c +index 70a22e3..de659cf 100644 +--- a/topology/nhlt/intel/dmic-nhlt.c ++++ b/topology/nhlt/intel/dmic-nhlt.c +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -155,7 +156,7 @@ static int set_vendor_mic_data(struct intel_nhlt_params *nhlt, snd_config_t *cfg + horizontal_angle_end); + } + +-static int set_bytes_data(struct intel_nhlt_params *, snd_config_t *cfg) ++static int set_bytes_data(struct intel_nhlt_params *nhlt ATTRIBUTE_UNUSED, snd_config_t *cfg) + { + snd_config_iterator_t i, next; + snd_config_t *n; +diff --git a/topology/nhlt/intel/dmic/dmic-debug.c b/topology/nhlt/intel/dmic/dmic-debug.c +index f99d308..a977c93 100644 +--- a/topology/nhlt/intel/dmic/dmic-debug.c ++++ b/topology/nhlt/intel/dmic/dmic-debug.c +@@ -8,6 +8,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "dmic-debug.h" + + #ifdef NHLT_DEBUG +@@ -181,7 +182,7 @@ void dmic_print_internal(struct intel_dmic_params *dmic) + } + + #else /* NHLT_DEBUG */ +-void dmic_print_bytes_as_hex(uint8_t *, size_t) {} +-void dmic_print_integers_as_hex(uint32_t *, size_t) {} +-void dmic_print_internal(struct intel_dmic_params *) {} ++void dmic_print_bytes_as_hex(uint8_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_integers_as_hex(uint32_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_internal(struct intel_dmic_params *dmic ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-debug.c b/topology/nhlt/intel/ssp/ssp-debug.c +index 8c64675..2d2f6b0 100644 +--- a/topology/nhlt/intel/ssp/ssp-debug.c ++++ b/topology/nhlt/intel/ssp/ssp-debug.c +@@ -7,6 +7,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "ssp-debug.h" + #include "../intel-nhlt.h" + +@@ -252,6 +253,6 @@ void ssp_print_internal(struct intel_ssp_params *ssp) + } + + #else /* NHLT_DEBUG */ +-void ssp_print_internal(struct intel_ssp_params *) {} +-void ssp_print_calculated(struct intel_ssp_params *) {} ++void ssp_print_internal(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} ++void ssp_print_calculated(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-process.c b/topology/nhlt/intel/ssp/ssp-process.c +index 9cda5c3..17b88d2 100644 +--- a/topology/nhlt/intel/ssp/ssp-process.c ++++ b/topology/nhlt/intel/ssp/ssp-process.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -952,7 +953,8 @@ int ssp_set_params(struct intel_nhlt_params *nhlt, const char *dir, int dai_inde + return 0; + } + +-int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, const char *, ++int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, ++ const char *mclk ATTRIBUTE_UNUSED, + const char *bclk, const char *bclk_invert, const char *fsync, + const char *fsync_invert, int mclk_freq, int bclk_freq, int fsync_freq, + int tdm_slots, int tdm_slot_width, int tx_slots, int rx_slots) +diff --git a/topology/nhlt/nhlt-processor.c b/topology/nhlt/nhlt-processor.c +index 567fa5c..ca539c3 100644 +--- a/topology/nhlt/nhlt-processor.c ++++ b/topology/nhlt/nhlt-processor.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -87,7 +88,8 @@ static void debug_print_nhlt(struct nhlt *blob, struct endpoint_descriptor **eps + fprintf(stdout, "\n"); + } + #else +-static void debug_print_nhlt(struct nhlt *, struct endpoint_descriptor **) {} ++static void debug_print_nhlt(struct nhlt *blob ATTRIBUTE_UNUSED, ++ struct endpoint_descriptor **eps ATTRIBUTE_UNUSED) {} + #endif + + static int print_as_hex_bytes(uint8_t *manifest_buffer, uint32_t manifest_size, +@@ -313,7 +315,8 @@ static int nhlt_get_flat_buffer(struct nhlt *blob, struct endpoint_descriptor ** + } + + /* called at the end of topology pre-processing, create flat buffer from variable size nhlt */ +-static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, snd_config_t *, ++static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, ++ snd_config_t *output ATTRIBUTE_UNUSED, + uint8_t **nhlt_buffer, uint32_t *nhlt_size) + { + struct endpoint_descriptor *eps[MAX_ENDPOINT_COUNT]; +diff --git a/topology/pre-process-class.c b/topology/pre-process-class.c +index d883d05..bedcebe 100644 +--- a/topology/pre-process-class.c ++++ b/topology/pre-process-class.c +@@ -127,7 +127,7 @@ snd_config_t *tplg_class_lookup(struct tplg_pre_processor *tplg_pp, snd_config_t + } + + /* find the attribute config by name in the class definition */ +-snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, ++snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *tplg_p ATTRIBUTE_UNUSED, + snd_config_t *class, const char *name) + { + snd_config_t *attr = NULL; +@@ -152,7 +152,7 @@ snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, + } + + /* get the name of the attribute that must have a unique value in the object instance */ +-const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, ++const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class) + { + snd_config_t *unique; +@@ -177,7 +177,7 @@ const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, + } + + /* get attribute type from the definition */ +-snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, ++snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *attr) + { + snd_config_t *type; +@@ -208,7 +208,7 @@ snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, + } + + /* get token_ref for attribute with name attr_name in the class */ +-const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, ++const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *attr_name) + { + snd_config_t *attributes, *attr, *token_ref; +@@ -235,7 +235,7 @@ const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, + } + + /* convert a valid attribute string value to the corresponding tuple value */ +-long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *, ++long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, snd_config_t *attr) + { + +diff --git a/topology/pre-process-object.c b/topology/pre-process-object.c +index 48555e7..61cc85f 100644 +--- a/topology/pre-process-object.c ++++ b/topology/pre-process-object.c +@@ -31,7 +31,8 @@ + + /* Parse VendorToken object, create the "SectionVendorToken" and save it */ + int tplg_build_vendor_token_object(struct tplg_pre_processor *tplg_pp, +- snd_config_t *obj_cfg, snd_config_t *) ++ snd_config_t *obj_cfg, ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_iterator_t i, next; + snd_config_t *vtop, *n, *obj; +@@ -196,7 +197,7 @@ int tplg_build_data_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj + return tplg_parent_update(tplg_pp, parent, "data", name); + } + +-static int tplg_create_config_template(struct tplg_pre_processor *, ++static int tplg_create_config_template(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t **template, + const struct config_template_items *items) + { +@@ -499,7 +500,7 @@ min_max_check: + } + + /* get object's name attribute value */ +-const char *tplg_object_get_name(struct tplg_pre_processor *, ++const char *tplg_object_get_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *object) + { + snd_config_t *cfg; +@@ -518,7 +519,7 @@ const char *tplg_object_get_name(struct tplg_pre_processor *, + } + + /* look up the instance of object in a config */ +-static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *, ++static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *type, + const char *class_name, const char *id) + { +@@ -977,7 +978,7 @@ template: + } + + static int tplg_build_generic_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, +- snd_config_t *) ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_t *wtop; + const char *name; +@@ -1090,7 +1091,7 @@ const struct build_function_map object_build_map[] = { + NULL, &pcm_caps_config}, + }; + +-static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *, ++static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj) + { + snd_config_iterator_t first; +@@ -1145,7 +1146,7 @@ snd_config_t *tplg_object_get_section(struct tplg_pre_processor *tplg_pp, snd_co + } + + /* return 1 if attribute not found in search_config, 0 on success and negative value on error */ +-static int tplg_object_copy_and_add_param(struct tplg_pre_processor *, ++static int tplg_object_copy_and_add_param(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj, + snd_config_t *attr_cfg, + snd_config_t *search_config) +@@ -1351,8 +1352,8 @@ static int tplg_object_pre_process_children(struct tplg_pre_processor *tplg_pp, + return 0; + } + +-static int tplg_construct_object_name(struct tplg_pre_processor *, snd_config_t *obj, +- snd_config_t *class_cfg) ++static int tplg_construct_object_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *obj, snd_config_t *class_cfg) + { + snd_config_iterator_t i, next; + snd_config_t *args, *n; +@@ -1547,7 +1548,7 @@ static int tplg_object_set_unique_attribute(struct tplg_pre_processor *tplg_pp, + * Helper function to get object instance config which is 2 nodes down from class_type config. + * ex: Get the pointer to the config node with ID "0" from the input config Widget.pga.0 {} + */ +-snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *, ++snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class_type) + { + snd_config_iterator_t first; +diff --git a/topology/pre-processor.c b/topology/pre-processor.c +index 3903dee..01f8a5d 100644 +--- a/topology/pre-processor.c ++++ b/topology/pre-processor.c +@@ -231,8 +231,9 @@ void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) + snd_config_save(cfg, tplg_pp->dbg_output); + } + #else +-void tplg_pp_debug(char *, ...) {} +-void tplg_pp_config_debug(struct tplg_pre_processor *, snd_config_t *){} ++void tplg_pp_debug(char *fmt ATTRIBUTE_UNUSED, ...) {} ++void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *cfg ATTRIBUTE_UNUSED) {} + #endif + + static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) +@@ -640,8 +641,9 @@ static int pre_process_includes_all(struct tplg_pre_processor *tplg_pp, snd_conf + } + + /* duplicate the existing objects in src into dest and update with new attribute */ +-static int pre_process_add_objects(struct tplg_pre_processor *, int *object_count, +- snd_config_t *src, snd_config_t *dest, snd_config_t *attr_cfg) ++static int pre_process_add_objects(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ int *object_count, snd_config_t *src, ++ snd_config_t *dest, snd_config_t *attr_cfg) + { + snd_config_iterator_t i, next; + int ret; +-- +2.39.2 + -- 2.39.2 From bernd at kuhls.net Fri Oct 13 18:45:53 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 20:45:53 +0200 Subject: [Buildroot] [PATCH 3/4] package/alsa-utils: Fix musl build In-Reply-To: <20231013184554.337101-1-bernd@kuhls.net> References: <20231013184554.337101-1-bernd@kuhls.net> Message-ID: <20231013184554.337101-3-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ This musl-related autobuilder error occured when building alsa-lib and is fixed by https://patchwork.ozlabs.org/project/buildroot/patch/20230927052204.231589-1-bernd at kuhls.net/ When continuing the build of this defconfig we see a build error with alsa-utils which is fixed by this patch. Signed-off-by: Bernd Kuhls --- .../0009-topology-include-locale.h.patch | 33 +++++++++++++++++++ ...nhlt-dmic-info.c-include-sys-types.h.patch | 33 +++++++++++++++++++ package/alsa-utils/Config.in | 1 + 3 files changed, 67 insertions(+) create mode 100644 package/alsa-utils/0009-topology-include-locale.h.patch create mode 100644 package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch diff --git a/package/alsa-utils/0009-topology-include-locale.h.patch b/package/alsa-utils/0009-topology-include-locale.h.patch new file mode 100644 index 0000000000..14a059cbf6 --- /dev/null +++ b/package/alsa-utils/0009-topology-include-locale.h.patch @@ -0,0 +1,33 @@ +From 8c229270f6bae83b705a03714c46067a7aa57b02 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:29 +0200 +Subject: [PATCH] topology: include locale.h + +This solves an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/239 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02 + +Signed-off-by: Bernd Kuhls +--- + topology/topology.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/topology/topology.c b/topology/topology.c +index 1840ffe..5d03a8b 100644 +--- a/topology/topology.c ++++ b/topology/topology.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include + #include +-- +2.39.2 + diff --git a/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch new file mode 100644 index 0000000000..b5f8489703 --- /dev/null +++ b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch @@ -0,0 +1,33 @@ +From 0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:30 +0200 +Subject: [PATCH] nhlt-dmic-info.c: include sys/types.h + +This fixes an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/238 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 + +Signed-off-by: Bernd Kuhls +--- + nhlt/nhlt-dmic-info.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c +index 3f6c64d..331555a 100644 +--- a/nhlt/nhlt-dmic-info.c ++++ b/nhlt/nhlt-dmic-info.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + + int debug = 0; +-- +2.39.2 + diff --git a/package/alsa-utils/Config.in b/package/alsa-utils/Config.in index 3429d0b406..be222501b9 100644 --- a/package/alsa-utils/Config.in +++ b/package/alsa-utils/Config.in @@ -65,6 +65,7 @@ config BR2_PACKAGE_ALSA_UTILS_APLAY config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI bool "aplaymidi" + select BR2_PACKAGE_ALSA_LIB_RAWMIDI select BR2_PACKAGE_ALSA_LIB_SEQ config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI -- 2.39.2 From peter at korsgaard.com Fri Oct 13 18:10:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:10:23 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mbedtls: bump to 2.28.3 Message-ID: <20231013184632.D55CF84FCB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8032a566d5922f8b5a11a70b3b1351866cc4e016 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Francois Perrad Signed-off-by: Yann E. MORIN (cherry picked from commit 8941de8454b3a3b780241790c6470f54df5f2e4f) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 4 ++-- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 876cd7b77e..2281bd5fe5 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ -# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.2: -sha256 bc55232bf71fd66045122ba9050a29ea7cb2e8f99b064a9e6334a82f715881a0 mbedtls-2.28.2.tar.gz +# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.3: +sha256 bdf7c5bbdc338da3edad89b2885d4f8668f9a6fffeba6ec17a60333e36dade6f mbedtls-2.28.3.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 7a605ac5b1..8f09fd72a8 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.2 +MBEDTLS_VERSION = 2.28.3 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 15:44:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:44:35 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] DEVELOPERS: add Thomas Petazzoni for nodejs Message-ID: <20231013184632.C9AD384FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e5d9ea090d844cc960f5dd385402882f5c87e2a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle (cherry picked from commit 65dfac5d11596583e4e31ce83a05045a5c9a2ce6) Signed-off-by: Peter Korsgaard --- DEVELOPERS | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPERS b/DEVELOPERS index 98b92db483..bdfd3ff3ef 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2839,6 +2839,7 @@ F: package/msmtp/ F: package/musl/ F: package/musl-fts/ F: package/ne10/ +F: package/nodejs/ F: package/pkg-python.mk F: package/pkg-autotools.mk F: package/pkg-generic.mk From peter at korsgaard.com Fri Oct 13 18:12:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:12:57 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libcurl: security bump to 8.4.0 Message-ID: <20231013184633.0BDC784FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5f56122cd00b023a0c9f97762b8026c4cb86d921 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes following two vulnerabilities: * CVE-2023-38545: SOCKS5 heap buffer overflow https://curl.se/docs/CVE-2023-38545.html * CVE-2023-38546: cookie injection with none file https://curl.se/docs/CVE-2023-38546.html Signed-off-by: Jan ??erm??k Signed-off-by: Peter Korsgaard (cherry picked from commit 30dd60ba7eb3e6da4f0ae91b3b08f8aa8fb8d786) Signed-off-by: Peter Korsgaard --- package/libcurl/libcurl.hash | 4 ++-- package/libcurl/libcurl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash index 371d20a632..ecd5d63909 100644 --- a/package/libcurl/libcurl.hash +++ b/package/libcurl/libcurl.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -# https://curl.se/download/curl-8.3.0.tar.xz.asc +# https://curl.se/download/curl-8.4.0.tar.xz.asc # signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63 curl-8.3.0.tar.xz +sha256 16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82d curl-8.4.0.tar.xz sha256 b1d7feb949ea5023552029fbe0bf5db4f23c2f85e9b8e51e18536f0ecbf9c524 COPYING diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index dd4cf43c6a..bd331a55aa 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCURL_VERSION = 8.3.0 +LIBCURL_VERSION = 8.4.0 LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz LIBCURL_SITE = https://curl.se/download LIBCURL_DEPENDENCIES = host-pkgconf \ From peter at korsgaard.com Fri Oct 13 18:10:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:10:29 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mbedtls: bump to version 2.28.4 Message-ID: <20231013184632.E3C5484FED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0b4c5daf4a3ca3018cf263dd8d407e10768cac41 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni (cherry picked from commit 7dc2462a8e511629e1ea300f32aa43ee1ec74fa1) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 4 ++-- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 2281bd5fe5..6aa6d0235d 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ -# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.3: -sha256 bdf7c5bbdc338da3edad89b2885d4f8668f9a6fffeba6ec17a60333e36dade6f mbedtls-2.28.3.tar.gz +# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: +sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 8f09fd72a8..62eda6ec99 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.3 +MBEDTLS_VERSION = 2.28.4 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 18:14:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:14:22 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/cups: add upstream security fix for CVE-2023-4504 Message-ID: <20231013184633.16FBB84FCB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ff02d18d29a0fd50ca08eac4312edecc62f26105 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-4504: Postscript Parsing Heap Overflow https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h https://takeonme.org/cves/CVE-2023-4504.html There is a 2.4.7 release with this fix, but upstream unfortunately broke !gnutls builds, so backport the security fix instead: https://github.com/OpenPrinting/cups/issues/762 Signed-off-by: Peter Korsgaard (cherry picked from commit b9d9497019f0caa3388f51c458a2469fdeefd146) Signed-off-by: Peter Korsgaard --- ...0005-raster-interpret.c-Fix-CVE-2023-4504.patch | 45 ++++++++++++++++++++++ package/cups/cups.mk | 3 ++ 2 files changed, 48 insertions(+) diff --git a/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch new file mode 100644 index 0000000000..d1dff4e1fa --- /dev/null +++ b/package/cups/0005-raster-interpret.c-Fix-CVE-2023-4504.patch @@ -0,0 +1,45 @@ +From 2431caddb7e6a87f04ac90b5c6366ad268b6ff31 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Wed, 20 Sep 2023 14:45:17 +0200 +Subject: [PATCH] raster-interpret.c: Fix CVE-2023-4504 + +We didn't check for end of buffer if it looks there is an escaped +character - check for NULL terminator there and if found, return NULL +as return value and in `ptr`, because a lone backslash is not +a valid PostScript character. + +Upstream: https://github.com/OpenPrinting/cups/commit/2431caddb7e6a87f04ac90b5c6366ad268b6ff31 +[Peter: drop CHANGES hunk] +Signed-off-by: Peter Korsgaard +--- + cups/raster-interpret.c | 14 +++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/cups/raster-interpret.c b/cups/raster-interpret.c +index 6fcf731b5..b8655c8c6 100644 +--- a/cups/raster-interpret.c ++++ b/cups/raster-interpret.c +@@ -1116,7 +1116,19 @@ scan_ps(_cups_ps_stack_t *st, /* I - Stack */ + + cur ++; + +- if (*cur == 'b') ++ /* ++ * Return NULL if we reached NULL terminator, a lone backslash ++ * is not a valid character in PostScript. ++ */ ++ ++ if (!*cur) ++ { ++ *ptr = NULL; ++ ++ return (NULL); ++ } ++ ++ if (*cur == 'b') + *valptr++ = '\b'; + else if (*cur == 'f') + *valptr++ = '\f'; +-- +2.30.2 + diff --git a/package/cups/cups.mk b/package/cups/cups.mk index a3bb2f8dfc..4bc5eeedee 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -13,6 +13,9 @@ CUPS_CPE_ID_VENDOR = openprinting CUPS_SELINUX_MODULES = cups CUPS_INSTALL_STAGING = YES +# 0005-raster-interpret.c-Fix-CVE-2023-4504.patch +CUPS_IGNORE_CVES += CVE-2023-4504 + # Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. define CUPS_RUN_AUTOCONF cd $(@D); $(AUTOCONF) -f From peter at korsgaard.com Fri Oct 13 15:42:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 17:42:32 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/exim: security bump version to 4.96.1 Message-ID: <20231013184632.BCCE984FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=056e5618b30953ca18a9a5734c9c361e28b8890d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-42114, CVE-2023-42115, CVE-2023-42116: https://exim.org/static/doc/security/CVE-2023-zdi.txt Signed-off-by: Bernd Kuhls Reviewed-by: Luca Ceresoli Signed-off-by: Peter Korsgaard (cherry picked from commit 657d10b34b1ba2fc3478a3cfad7ac7fcf4ce1094) Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 2336aaa5c6..6cdeea0614 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 299a56927b2eb3477daafd3c5bda02bc67e5c4e5898a7aeaf2740875278cf1a3 exim-4.96.tar.xz +sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 6b863661465a0b9897c1b71875c5196a1903cf560dd85de45b08242b9731edb2bc10eb56945d62e477e5d15cc7a8d493915bff2ca81689673a8091c66f62c89e exim-4.96.tar.xz +sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index b84a51d6de..f5695d048d 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96 +EXIM_VERSION = 4.96.1 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Fri Oct 13 18:16:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:33 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gstreamer1: bump to version 1.22.6 Message-ID: <20231013184633.2388F84FED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f9558079c48c076d577afaa8d1e62ca04db42a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 133ced8e02f00820f6e83effa5ffac1d8a6c7200) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gstreamer1/gstreamer1.hash | 4 ++-- package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1/gstreamer1.hash b/package/gstreamer1/gstreamer1/gstreamer1.hash index f74832ce6a..65045c1c30 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.hash +++ b/package/gstreamer1/gstreamer1/gstreamer1.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.2.tar.xz.sha256sum -sha256 b2afe73603921c608ba48969dbb7d743776744bfe5d8059ece241137b7f88e21 gstreamer-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.6.tar.xz.sha256sum +sha256 f500e6cfddff55908f937711fc26a0840de28a1e9ec49621c0b6f1adbd8f818e gstreamer-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 8584735129..352567ed52 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_VERSION = 1.22.2 +GSTREAMER1_VERSION = 1.22.6 GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer GSTREAMER1_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:16:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:59 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-plugins-good: security bump to version 1.22.6 Message-ID: <20231013184633.37FBE84FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0284e84d46ad78b2aa3fab3c84467a496d4e9c2e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-37327: Heap-based buffer overflow in the FLAC parser when handling malformed image tags in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0001.html Signed-off-by: Peter Korsgaard (cherry picked from commit 40c3696131a2b93ea3da2556352dc79c19ac2e9c) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash | 4 ++-- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash index 604e74b57d..1b315ac1cc 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.2.tar.xz.sha256sum -sha256 7c8cc59425f2b232f60ca7d13e56edd615da4f711e73dd01a7cffa46e6bc0cdd gst-plugins-good-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.6.tar.xz.sha256sum +sha256 b3b07fe3f1ce7fe93aa9be7217866044548f35c4a7792280eec7e108a32f9817 gst-plugins-good-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index bbcd3aecab..cfe1a55f31 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_GOOD_VERSION = 1.22.2 +GST1_PLUGINS_GOOD_VERSION = 1.22.6 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING From peter at korsgaard.com Fri Oct 13 18:18:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-libav: bump to version 1.22.6 Message-ID: <20231013184633.671DE84FEF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=16937c87a5ca5f9b752553e98d8e588eaeb1ea97 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 57fc4d90d07e00c2d49240d42141056c00fdfd6a) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-libav/gst1-libav.hash | 4 ++-- package/gstreamer1/gst1-libav/gst1-libav.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-libav/gst1-libav.hash b/package/gstreamer1/gst1-libav/gst1-libav.hash index c3e84a17d2..251e924792 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.hash +++ b/package/gstreamer1/gst1-libav/gst1-libav.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.2.tar.xz.sha256sum -sha256 fcaaf9878fe8f3bc82317ef13a1558824cb68df1f8968c6797f556c5e33bcffd gst-libav-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.6.tar.xz.sha256sum +sha256 7789e6408388a25f23cbf948cfc5c6230d735bbcd8b7f37f4a01c9e348a1e3a7 gst-libav-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-libav/gst1-libav.mk b/package/gstreamer1/gst1-libav/gst1-libav.mk index 0306db42c0..23d4a29799 100644 --- a/package/gstreamer1/gst1-libav/gst1-libav.mk +++ b/package/gstreamer1/gst1-libav/gst1-libav.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_LIBAV_VERSION = 1.22.2 +GST1_LIBAV_VERSION = 1.22.6 GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav GST1_LIBAV_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:17:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:05 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-plugins-bad: security bump to version 1.22.6 Message-ID: <20231013184633.45CB084FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b1e2cd3e25f9f1d96d932ee1a17a8285cb58f2cd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issues: CVE-2023-37329: Heap-based buffer overflow in the PGS blu-ray subtitle decoder when handling certain files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0003.html CVE-2023-40474: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with uncompressed video in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0006.html CVE-2023-40475: Heap-based buffer overflow in the MXF file demuxer when handling malformed files with AES3 audio in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0007.html CVE-2023-40476: Stack-based buffer overflow in the H.265 video parser when handling malformed H.265 video streams in GStreamer versions before 1.22.6. https://gstreamer.freedesktop.org/security/sa-2023-0008.html Signed-off-by: Peter Korsgaard (cherry picked from commit 19fe76b8b4dd09bd11fce6832932cd799332ffb5) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash | 4 ++-- package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash index 2bbb8af904..c6d1f2e009 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.2.tar.xz.sha256sum -sha256 3d8faf1ce3402c8535ce3a8c4e1a6c960e4b5655dbda6b55943db9ac79022d0f gst-plugins-bad-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.6.tar.xz.sha256sum +sha256 b4029cd2908a089c55f1d902a565d007495c95b1442d838485dc47fb12df7137 gst-plugins-bad-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index 1713f0b4b8..983be754e9 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BAD_VERSION = 1.22.2 +GST1_PLUGINS_BAD_VERSION = 1.22.6 GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad GST1_PLUGINS_BAD_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:17:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:41 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-devtools: bump to version 1.22.6 Message-ID: <20231013184633.58971848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=24ae784a09136553139b5d07eea70ff633e0f0ec branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 637cf8fdab953d7a77e640fbc10b63166c3b3b20) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-devtools/gst1-devtools.hash | 4 ++-- package/gstreamer1/gst1-devtools/gst1-devtools.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash index 4abdd6ece4..9eada91614 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.2.tar.xz.sha256sum -sha256 eb62726d3e27a8782369a24fd6364a8885ed2462b3bbdab091dffc8139ee06d8 gst-devtools-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.6.tar.xz.sha256sum +sha256 8928560efaf16137c30285e718708e5d0bab0777eb4ef8127e0274e120d3d86b gst-devtools-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk index 7801f9b62c..8608c2f75b 100644 --- a/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_DEVTOOLS_VERSION = 1.22.2 +GST1_DEVTOOLS_VERSION = 1.22.6 GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools GST1_DEVTOOLS_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:19:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:19:10 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gstreamer1-editing-services: bump to version 1.22.6 Message-ID: <20231013184633.A121584FCB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=440594bb9b0e477088cce9183a42b9e15dc5547b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 8c8ff426744d5c4977e06b1554185fde69a2f146) Signed-off-by: Peter Korsgaard --- .../gstreamer1-editing-services/gstreamer1-editing-services.hash | 4 ++-- .../gstreamer1-editing-services/gstreamer1-editing-services.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash index 0cdb18ea5d..11e93b8b65 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash @@ -1,5 +1,5 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.2.tar.xz.sha256sum -sha256 453b1464fc3857de269a7cb0ebd966afe02171d97bef672a0b8a0a6d43e0cebf gst-editing-services-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.6.tar.xz.sha256sum +sha256 748d423672c597f876e130804fb984848f5b4b89efd78a506cb17f7646795301 gst-editing-services-1.22.6.tar.xz # Hashes for license files: sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk index 9fdc877db0..bea59f256b 100644 --- a/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk +++ b/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk @@ -4,7 +4,7 @@ # ################################################################################ -GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.2 +GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.6 GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ From peter at korsgaard.com Fri Oct 13 18:23:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:23:16 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] {linux, linux-headers}: bump 5.15.x / 6.{1, 5}.x series Message-ID: <20231013184633.AE80284FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e7f646b715649ab851b420af024d8cd4f60e8c17 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 003cdd5de31dd6558b02d0a719bc779bb1fc8db5) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 4 ++-- package/linux-headers/Config.in.host | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 731b4288df..ced11e6917 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.1.55" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.1.56" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 99cb880bb7..e66a6cdb7d 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,7 +1,7 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 a87e241ec15d53452c4efe219713a3769d88cc436b5b98cf6efb262c4aff15c0 linux-6.1.55.tar.xz +sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 ef845e7934897b88e4448378ea9daacac19e07f156fe904844fab0a7d8ff5ddd linux-5.15.133.tar.xz +sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 3a2bec1a18..3d76d2eda1 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -388,8 +388,8 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.19.295" if BR2_KERNEL_HEADERS_4_19 default "5.4.257" if BR2_KERNEL_HEADERS_5_4 default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.133" if BR2_KERNEL_HEADERS_5_15 - default "6.1.55" if BR2_KERNEL_HEADERS_6_1 + default "5.15.134" if BR2_KERNEL_HEADERS_5_15 + default "6.1.56" if BR2_KERNEL_HEADERS_6_1 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Fri Oct 13 18:28:56 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:28:56 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231013184633.CF62184FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d2cc929ce7b813d6a13a181b5515dbdd2a18c1c5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit d71743b7360c19d7555529077a47fb14eba8d234) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 12 ++++++------ package/linux-headers/Config.in.host | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index ced11e6917..b5b486cc3e 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.1.56" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.1.57" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index e66a6cdb7d..f52ca6bad1 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,12 +1,12 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 9edefdde32c2298389dcd19566402332b3c2016f5ada17e5820f500b908d478c linux-6.1.56.tar.xz +sha256 f9ebfe3ddc5152d87b37e33be30e31875d137433be10a57ce29d2eae7b6e91b1 linux-6.1.57.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 f37182aecb57ed6853d01e1074d3a60a653331e35f3115728381e08be050b9d3 linux-5.15.134.tar.xz -sha256 183a4507b0ebec7816a79ceba6253aa7ad345e25b0fcd4e834ee154be9a993ab linux-5.10.197.tar.xz -sha256 2e775970521ea7ff6eb613fc85a6e34cec73feaeb67b88a77a2fbd4f75483df0 linux-5.4.257.tar.xz +sha256 14835e629e237f136cfed484fdb533c95242429809bdcdb2a2d66dfcb7447170 linux-5.15.135.tar.xz +sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz +sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 b732c2e4f08576a9dd5bb14213cead3835acbb101a91aaba3d6ace302fd538ac linux-4.19.295.tar.xz -sha256 555ce40f1df4c0f4a74cbefcaad0c67108615860968720faabe51cdee2df1478 linux-4.14.326.tar.xz +sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz +sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 3d76d2eda1..61ff9a6739 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -384,12 +384,12 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.326" if BR2_KERNEL_HEADERS_4_14 - default "4.19.295" if BR2_KERNEL_HEADERS_4_19 - default "5.4.257" if BR2_KERNEL_HEADERS_5_4 - default "5.10.197" if BR2_KERNEL_HEADERS_5_10 - default "5.15.134" if BR2_KERNEL_HEADERS_5_15 - default "6.1.56" if BR2_KERNEL_HEADERS_6_1 + default "4.14.327" if BR2_KERNEL_HEADERS_4_14 + default "4.19.296" if BR2_KERNEL_HEADERS_4_19 + default "5.4.258" if BR2_KERNEL_HEADERS_5_4 + default "5.10.198" if BR2_KERNEL_HEADERS_5_10 + default "5.15.135" if BR2_KERNEL_HEADERS_5_15 + default "6.1.57" if BR2_KERNEL_HEADERS_6_1 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From peter at korsgaard.com Fri Oct 13 18:17:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:17:35 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-plugins-ugly: security bump to version 1.22.6 Message-ID: <20231013184633.4F43A84FED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d157536698faafa7ba3eb1212307102a82d9cdbd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issues: ZDI-CAN-21443: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0004.html ZDI-CAN-21444: Heap-based buffer overflow in the RealMedia file demuxer when handling malformed files in GStreamer versions before 1.22.5 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0005.html Signed-off-by: Peter Korsgaard (cherry picked from commit 7f2571f594cc87fc7543b5476eeda1bdda4d7264) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash | 4 ++-- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash index ed781df686..f55dd7b3a0 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.2.tar.xz.sha256sum -sha256 8f30f44db0bd063709bf6fbe55138e3a98af0abcb61c360f35582bbe10e80691 gst-plugins-ugly-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.6.tar.xz.sha256sum +sha256 3e31454c98cb2f7f6d2d355eceb933a892fa0f1dc09bc36c9abc930d8e29ca48 gst-plugins-ugly-1.22.6.tar.xz sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk index f1566b058e..ee3bd1b551 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_UGLY_VERSION = 1.22.2 +GST1_PLUGINS_UGLY_VERSION = 1.22.6 GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING From peter at korsgaard.com Fri Oct 13 18:10:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:10:36 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mbedtls: security bump to version 2.28.5 Message-ID: <20231013184632.F1943848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6543b632735196dffd14cf4a233e62d547861a39 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issue: CVE-2023-43615: Buffer overread in TLS stream cipher suites https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2023-10-1/ Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (cherry picked from commit 26762e30090585e8c64333d3ffe4249e7a0b0f43) Signed-off-by: Peter Korsgaard --- package/mbedtls/mbedtls.hash | 2 +- package/mbedtls/mbedtls.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mbedtls/mbedtls.hash b/package/mbedtls/mbedtls.hash index 6aa6d0235d..d0cd0b2105 100644 --- a/package/mbedtls/mbedtls.hash +++ b/package/mbedtls/mbedtls.hash @@ -1,4 +1,4 @@ # From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.4: -sha256 578c4dcd15bbff3f5cd56aa07cd4f850fc733634e3d5947be4f7157d5bfd81ac mbedtls-2.28.4.tar.gz +sha256 849e86b626e42ded6bf67197b64aa771daa54e2a7e2868dc67e1e4711959e5e3 mbedtls-2.28.5.tar.gz # Locally calculated sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk index 62eda6ec99..1b941e04f4 100644 --- a/package/mbedtls/mbedtls.mk +++ b/package/mbedtls/mbedtls.mk @@ -4,7 +4,7 @@ # ################################################################################ -MBEDTLS_VERSION = 2.28.4 +MBEDTLS_VERSION = 2.28.5 MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) MBEDTLS_CONF_OPTS = \ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ From peter at korsgaard.com Fri Oct 13 18:19:01 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:19:01 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst-omx: bump to version 1.22.6 Message-ID: <20231013184633.97838848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ba99b48bd80a338e3b89388e289f46b4ae12f64d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 6339e7f4132230e086a8efc5e266c21fbc3ef3c6) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst-omx/gst-omx.hash | 4 ++-- package/gstreamer1/gst-omx/gst-omx.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst-omx/gst-omx.hash b/package/gstreamer1/gst-omx/gst-omx.hash index d4a95c631a..5878991b5b 100644 --- a/package/gstreamer1/gst-omx/gst-omx.hash +++ b/package/gstreamer1/gst-omx/gst-omx.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.2.tar.xz.sha256sum -sha256 1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2 gst-omx-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.6.tar.xz.sha256sum +sha256 223833c42518ad7eb1923bb4dd3726809f59a66d6e9aaaa69cb29ad0750c8758 gst-omx-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/gstreamer1/gst-omx/gst-omx.mk b/package/gstreamer1/gst-omx/gst-omx.mk index 87f162f715..3d2ba90290 100644 --- a/package/gstreamer1/gst-omx/gst-omx.mk +++ b/package/gstreamer1/gst-omx/gst-omx.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST_OMX_VERSION = 1.22.2 +GST_OMX_VERSION = 1.22.6 GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx From peter at korsgaard.com Fri Oct 13 18:25:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:25:29 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/wireless-regdb: bump version to 2023.09.01 Message-ID: <20231013184633.C4D4784FED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2424d3501241e62ba6d4e6722442757ba307eb70 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 29b6e170b7337c47444a8ef34529eabc2c59567f) Signed-off-by: Peter Korsgaard --- package/wireless-regdb/wireless-regdb.hash | 2 +- package/wireless-regdb/wireless-regdb.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wireless-regdb/wireless-regdb.hash b/package/wireless-regdb/wireless-regdb.hash index b4e8dcaf54..71f92aaf91 100644 --- a/package/wireless-regdb/wireless-regdb.hash +++ b/package/wireless-regdb/wireless-regdb.hash @@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc -sha256 f254d08ab3765aeae2b856222e11a95d44aef519a6663877c71ef68fae4c8c12 wireless-regdb-2023.05.03.tar.xz +sha256 26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491 wireless-regdb-2023.09.01.tar.xz # Locally computed sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk index db9c7f42d5..e9003ce2e6 100644 --- a/package/wireless-regdb/wireless-regdb.mk +++ b/package/wireless-regdb/wireless-regdb.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRELESS_REGDB_VERSION = 2023.05.03 +WIRELESS_REGDB_VERSION = 2023.09.01 WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb WIRELESS_REGDB_LICENSE = ISC From peter at korsgaard.com Fri Oct 13 18:41:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:41:45 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/go: security bump to version 1.20.10 Message-ID: <20231013184633.DF1AE84FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=43133fafaec135de86b4f21700d747984ca38aa7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-39325: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. go1.20.10 (released 2023-10-10) includes a security fix to the net/http package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index ac603e6e3b..a4aafbe6e4 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf go1.20.9.src.tar.gz +sha256 72d2f51805c47150066c103754c75fddb2c19d48c9219fa33d1e46696c841dbb go1.20.10.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index cc374aa44f..c3f88b8682 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.9 +GO_VERSION = 1.20.10 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From peter at korsgaard.com Fri Oct 13 18:16:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:16:40 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-plugins-base: security bump to version 1.22.6 Message-ID: <20231013184633.2DD72848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6aa971dffb4e5d1b853be7f1623f72cbec72dd63 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-37328: Heap-based buffer overflow in the subparse subtitle parser when handling certain SRT subtitle files in GStreamer versions before 1.22.4 / 1.20.7. https://gstreamer.freedesktop.org/security/sa-2023-0002.html Signed-off-by: Peter Korsgaard (cherry picked from commit 14e2374592284ba61384782ced095ea01ab4dfc5) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash | 4 ++-- package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash index 173f359afc..a46ce228c4 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.2.tar.xz.sha256sum -sha256 eb65120c4ee79b7a153c3c1972d5c0158c2151877cc51ec7725bba5749679d49 gst-plugins-base-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.6.tar.xz.sha256sum +sha256 50f2b4d17c02eefe430bbefa8c5cd134b1be78a53c0f60e951136d96cf49fd4b gst-plugins-base-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk index 153187f743..7fcac012f2 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PLUGINS_BASE_VERSION = 1.22.2 +GST1_PLUGINS_BASE_VERSION = 1.22.6 GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base GST1_PLUGINS_BASE_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:18:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:26 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-rtsp-server: bump to version 1.22.6 Message-ID: <20231013184633.7F81D84FC8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=af3e6c8ebcc07803522b49da0b664e0c38148019 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 7a0cbea0e35ef6f62c0b073fd0724e02235921fc) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash | 4 ++-- package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash index c98d10d79c..521a91ddd7 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash @@ -1,4 +1,4 @@ -# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.2.tar.xz.sha256sum -sha256 2be4aecfb88710100ea7115ed0216403e8094344ebf146094271b8d4d73828bf gst-rtsp-server-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.6.tar.xz.sha256sum +sha256 0ae33a8b50443b62f11581a9181e906b41cd3877b2d799dbea72912c3eda4bb3 gst-rtsp-server-1.22.6.tar.xz sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk index 6f5fc4f7aa..46d7606b1d 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_RTSP_SERVER_VERSION = 1.22.2 +GST1_RTSP_SERVER_VERSION = 1.22.6 GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server GST1_RTSP_SERVER_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:18:09 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:09 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-python: bump to version 1.22.6 Message-ID: <20231013184633.72C9784FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fb980f430f11350680291cb22914d6ffeecb7a82 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 3aff0c2cde63cc19ac8ea5ce50adfd19567f04b2) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-python/gst1-python.hash | 4 ++-- package/gstreamer1/gst1-python/gst1-python.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-python/gst1-python.hash b/package/gstreamer1/gst1-python/gst1-python.hash index 006d4985ef..4495e03945 100644 --- a/package/gstreamer1/gst1-python/gst1-python.hash +++ b/package/gstreamer1/gst1-python/gst1-python.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.2.tar.xz.sha256sum -sha256 bef2b3d82ce4be46b775b1bb56305c1003ee01b535a53a82f9fe8924972153ad gst-python-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.6.tar.xz.sha256sum +sha256 51de2d6d13b12ce095eac97c0b94ee59c2aeba3712bb7462b78c4d57dde176c5 gst-python-1.22.6.tar.xz sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/package/gstreamer1/gst1-python/gst1-python.mk b/package/gstreamer1/gst1-python/gst1-python.mk index 527d101786..475f2f2d87 100644 --- a/package/gstreamer1/gst1-python/gst1-python.mk +++ b/package/gstreamer1/gst1-python/gst1-python.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_PYTHON_VERSION = 1.22.2 +GST1_PYTHON_VERSION = 1.22.6 GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python GST1_PYTHON_INSTALL_STAGING = YES From peter at korsgaard.com Fri Oct 13 18:18:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:18:38 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gst1-rtsp-vaapi: bump to version 1.22.6 Message-ID: <20231013184633.8B21A84FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=718fcd47eda9586dcd2919d07fbd2ec652100cb9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard (cherry picked from commit 688dcef3d7d2f72119320280dd63726787b1486b) Signed-off-by: Peter Korsgaard --- package/gstreamer1/gst1-vaapi/gst1-vaapi.hash | 4 ++-- package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash index 2fdec4e83f..53dbe97ca9 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash @@ -1,3 +1,3 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.2.tar.xz.sha256sum -sha256 d2e642f9745f97d9f73a7f5085e7659a9a31fe209b774e6e45dae041b435df06 gstreamer-vaapi-1.22.2.tar.xz +# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.6.tar.xz.sha256sum +sha256 d9ba2fc26bef98c78e982c599f585d46bbb65fe122da89c2d7ab41f468a52c7b gstreamer-vaapi-1.22.6.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk index cae239094a..46a5839450 100644 --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_VAAPI_VERSION = 1.22.2 +GST1_VAAPI_VERSION = 1.22.6 GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz GST1_VAAPI_LICENSE = LGPL-2.1+ From peter at korsgaard.com Fri Oct 13 18:24:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:24:48 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/python3: bump version to 3.11.6 Message-ID: <20231013184633.BB6DA848DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5d99a2a05054adef3b6e6a6a7aa9df7a3b84cb34 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Release notes: https://www.python.org/downloads/release/python-3116/ Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 337485b232dd452937fd2f96de0a596c968f4b47) Signed-off-by: Peter Korsgaard --- package/python3/python3.hash | 6 +++--- package/python3/python3.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python3/python3.hash b/package/python3/python3.hash index 1a0fee3290..39a16c1f71 100644 --- a/package/python3/python3.hash +++ b/package/python3/python3.hash @@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-3115/ -md5 393856f1b7713aa8bba4b642ab9985d3 Python-3.11.5.tar.xz +# From https://www.python.org/downloads/release/python-3116/ +md5 d0c5a1a31efe879723e51addf56dd206 Python-3.11.6.tar.xz # Locally computed -sha256 85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f Python-3.11.5.tar.xz +sha256 0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 Python-3.11.6.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSE diff --git a/package/python3/python3.mk b/package/python3/python3.mk index cfe5e1ee6e..b9c5054a21 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.11 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).5 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).6 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others From bernd at kuhls.net Fri Oct 13 18:45:54 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 20:45:54 +0200 Subject: [Buildroot] [PATCH 4/4] package/alsa-utils: fix UMP support detection In-Reply-To: <20231013184554.337101-1-bernd@kuhls.net> References: <20231013184554.337101-1-bernd@kuhls.net> Message-ID: <20231013184554.337101-4-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ Signed-off-by: Bernd Kuhls --- ...nfigure.ac-fix-UMP-support-detection.patch | 38 +++++++++++++++++++ package/alsa-utils/alsa-utils.mk | 2 + 2 files changed, 40 insertions(+) create mode 100644 package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch diff --git a/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch new file mode 100644 index 0000000000..66cf051733 --- /dev/null +++ b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch @@ -0,0 +1,38 @@ +From 8a0da6d4484cd2ca4f1939a6c44941e070db2147 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 13 Oct 2023 20:32:32 +0200 +Subject: [PATCH] configure.ac: fix UMP support detection + +https://github.com/alsa-project/alsa-utils/commit/b399fb85a919636b7da34e8bcf17f484dd9046f7 +added usage of alsa/ump_msg.h without checking whether alsa-lib was +compiled with rawmidi support: +https://github.com/alsa-project/alsa-lib/blob/master/include/Makefile.am#L37 + +Fixes a build error when alsa-lib was compiled with --disable-rawmidi + +aplaymidi.c:34:10: fatal error: alsa/ump_msg.h: No such file or directory + 34 | #include + +Upstream: https://github.com/alsa-project/alsa-utils/pull/240 + +Signed-off-by: Bernd Kuhls +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index beb4963..4217741 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,7 +55,7 @@ if test "$HAVE_SEQ_CLIENT_INFO_GET_PID" = "yes" ; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid]) + fi + AC_CHECK_LIB([asound], [snd_seq_client_info_get_midi_version], [HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION="yes"]) +-if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" ; then ++if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" -a "$have_rawmidi" = "yes"; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION], 1, [alsa-lib supports snd_seq_client_info_get_midi_version]) + fi + AC_CHECK_LIB([atopology], [snd_tplg_save], [have_topology="yes"], [have_topology="no"]) +-- +2.39.2 + diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk index 7487e3c2bb..6f6021400e 100644 --- a/package/alsa-utils/alsa-utils.mk +++ b/package/alsa-utils/alsa-utils.mk @@ -9,6 +9,8 @@ ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils ALSA_UTILS_LICENSE = GPL-2.0 ALSA_UTILS_LICENSE_FILES = COPYING +# 0011-configure.ac-fix-UMP-support-detection.patch +ALSA_UTILS_AUTORECONF = YES ALSA_UTILS_INSTALL_STAGING = YES ALSA_UTILS_DEPENDENCIES = host-pkgconf alsa-lib \ $(if $(BR2_PACKAGE_NCURSES),ncurses) \ -- 2.39.2 From peter at korsgaard.com Fri Oct 13 18:44:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 20:44:30 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libcue: security bump to version 2.3.0 Message-ID: <20231013184633.EA61184FC9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1dedb69aef6b1d495eb255fa4a3d6917913df13c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issue: CVE-2023-43641: Out-of-bounds array access in track_set_index https://github.com/lipnitsk/libcue/security/advisories/GHSA-5982-x7hv-r9cj For more details, see the github writeup: https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ Signed-off-by: Peter Korsgaard (cherry picked from commit 3aee3a326d37ae5ddaf99bbc7bcf26a5c1ea7b2a) Signed-off-by: Peter Korsgaard --- package/libcue/libcue.hash | 2 +- package/libcue/libcue.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libcue/libcue.hash b/package/libcue/libcue.hash index 93ae2dacdb..47fe906e1a 100644 --- a/package/libcue/libcue.hash +++ b/package/libcue/libcue.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 f27bc3ebb2e892cd9d32a7bee6d84576a60f955f29f748b9b487b173712f1200 libcue-2.2.1.tar.gz +sha256 cc1b3a65c60bd88b77a1ddd1574042d83cf7cc32b85fe9481c99613359eb7cfe libcue-2.3.0.tar.gz sha256 c388d36583fa54e13b6d73ad924d0b68d073ed8a5771e17cb49104705df4504f LICENSE diff --git a/package/libcue/libcue.mk b/package/libcue/libcue.mk index 3edb4f3b69..7ef27f5a17 100644 --- a/package/libcue/libcue.mk +++ b/package/libcue/libcue.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBCUE_VERSION = 2.2.1 +LIBCUE_VERSION = 2.3.0 LIBCUE_SITE = $(call github,lipnitsk,libcue,v$(LIBCUE_VERSION)) LIBCUE_LICENSE = GPL-2.0, BSD-2-Clause (rem.c) LIBCUE_LICENSE_FILES = LICENSE From bernd at kuhls.net Fri Oct 13 19:48:52 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 13 Oct 2023 21:48:52 +0200 Subject: [Buildroot] [PATCH 2/2] package/alsa-utils: bump version to 1.2.10 References: <20230923114713.1466381-1-bernd@kuhls.net> <20230923114713.1466381-2-bernd@kuhls.net> <20230930144927.57fe951f__30987.6495086186$1696078194$gmane$org@windsurf> Message-ID: Am Sat, 30 Sep 2023 15:01:21 +0200 schrieb Bernd Kuhls: > yes, I saw that error as well but left it for the moment due to time > constraints. Hi, finally found some time to fix the error, sent a new patch series https://patchwork.ozlabs.org/project/buildroot/list/?series=377557 containing the previous three patches and a new one. Hopefully all build errors will be fixed by them. Regards, Bernd From gael.portay at rtone.fr Fri Oct 13 20:25:28 2023 From: gael.portay at rtone.fr (=?UTF-8?q?Ga=C3=ABl=20PORTAY?=) Date: Fri, 13 Oct 2023 22:25:28 +0200 Subject: [Buildroot] [PATCH] board/raspberrypi: fix typo in comment Message-ID: <20231013202528.164224-1-gael.portay@rtone.fr> This fixes a typo by dropping off the spurious x in ensure. Signed-off-by: Ga?l PORTAY --- board/raspberrypi/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh index 38fdc80734..0bd7bc3d17 100755 --- a/board/raspberrypi/post-build.sh +++ b/board/raspberrypi/post-build.sh @@ -15,5 +15,5 @@ elif [ -d ${TARGET_DIR}/etc/systemd ]; then "${TARGET_DIR}/etc/systemd/system/getty.target.wants/getty at tty1.service" fi -# exnsure overlays exists for genimage +# ensure overlays exists for genimage mkdir -p "${BINARIES_DIR}/rpi-firmware/overlays" -- 2.42.0 From giulio.benetti at benettiengineering.com Fri Oct 13 20:37:22 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 22:37:22 +0200 Subject: [Buildroot] [PATCH v3 2/4] package/libtracefs: new package In-Reply-To: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> References: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> Message-ID: <20231013203724.120389-2-giulio.benetti@benettiengineering.com> From: Maxime Chevallier Introduce the libtracefs library, that used to be bundled with the trace-cmd tool. This library is now used by several tools and libraries such as trace-cmd and rtla, and is used as an interface to the ftrace kernel subsystem through tracefs. This package tries to install libraries in /usr/local/lib by default, hence the redefinition of the "prefix" variable, so that the library gets installed in "/usr/lib" instead. The same applies to the pkgconfig handling of the proved Makefile, which installs the .pc files in the /usr/local area by default, hence the redefinition of the pkgconfig_dir to either the correct directory within the staging area, or to empty value for the target to avoid installing the .pc in that case. Signed-off-by: Maxime Chevallier [Giulio: bump version to 1.7.0 and add hash file] Signed-off-by: Giulio Benetti --- Giulio: V1->V2: * bump to version 1.7.0 * add hash file --- DEVELOPERS | 1 + package/Config.in | 1 + package/libtracefs/Config.in | 6 +++++ package/libtracefs/libtracefs.hash | 4 ++++ package/libtracefs/libtracefs.mk | 35 ++++++++++++++++++++++++++++++ 5 files changed, 47 insertions(+) create mode 100644 package/libtracefs/Config.in create mode 100644 package/libtracefs/libtracefs.hash create mode 100644 package/libtracefs/libtracefs.mk diff --git a/DEVELOPERS b/DEVELOPERS index e426f65cc2..8932c88953 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2113,6 +2113,7 @@ F: package/timescaledb/ N: Maxime Chevallier F: package/libtraceevent/ +F: package/libtracefs N: Michael Durrant F: board/arcturus/ diff --git a/package/Config.in b/package/Config.in index 2b3d3e612f..821bd1b366 100644 --- a/package/Config.in +++ b/package/Config.in @@ -118,6 +118,7 @@ menu "Debugging, profiling and benchmark" source "package/latencytop/Config.in" source "package/libbpf/Config.in" source "package/libtraceevent/Config.in" + source "package/libtracefs/Config.in" source "package/lmbench/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" diff --git a/package/libtracefs/Config.in b/package/libtracefs/Config.in new file mode 100644 index 0000000000..92ce0986df --- /dev/null +++ b/package/libtracefs/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBTRACEFS + bool "libtracefs" + select BR2_PACKAGE_LIBTRACEEVENT + help + libtracefs is used to easily interface with the ftrace + interface through the tracefs virtual filesystem. diff --git a/package/libtracefs/libtracefs.hash b/package/libtracefs/libtracefs.hash new file mode 100644 index 0000000000..676fcf1111 --- /dev/null +++ b/package/libtracefs/libtracefs.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 diff --git a/package/libtracefs/libtracefs.mk b/package/libtracefs/libtracefs.mk new file mode 100644 index 0000000000..0b32b2102a --- /dev/null +++ b/package/libtracefs/libtracefs.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# libtracefs +# +################################################################################ + +LIBTRACEFS_VERSION = 1.7.0 +LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot +LIBTRACEFS_INSTALL_STAGING = YES +LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1 +LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +LIBTRACEFS_DEPENDENCIES = host-pkgconf libtraceevent + +define LIBTRACEFS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define LIBTRACEFS_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(STAGING_DIR) \ + pkgconfig_dir="/usr/lib/pkgconfig" \ + prefix="/usr" \ + install +endef + +define LIBTRACEFS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(TARGET_DIR) \ + pkgconfig_dir="" \ + prefix="/usr" \ + install +endef + +$(eval $(generic-package)) -- 2.34.1 From giulio.benetti at benettiengineering.com Fri Oct 13 20:37:21 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 22:37:21 +0200 Subject: [Buildroot] [PATCH v3 1/4] package/libtraceevent: new package Message-ID: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> From: Maxime Chevallier Introduce the libtraceevent library, that used to be bundled with the trace-cmd tool. This library is now used by several tools and libraries such as trace-cmd, libtracefs and rtla. This package tries to install libraries in /usr/local/lib by default, hence the redefinition of the "prefix" variable, so that the library gets installed in "/usr/lib" instead. The same applies to the pkgconfig handling of the proved Makefile, which installs the .pc files in the /usr/local area by default, hence the redefinition of the pkgconfig_dir to either the correct directory within the staging area, or to empty value for the target to avoid installing the .pc in that case. Signed-off-by: Maxime Chevallier [Giulio: bump version to 1.7.3 and add hash file] Signed-off-by: Giulio Benetti --- Giulio: V1->V2: * bump to version 1.7.3 * add hash file --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/libtraceevent/Config.in | 9 +++++++ package/libtraceevent/libtraceevent.hash | 4 +++ package/libtraceevent/libtraceevent.mk | 33 ++++++++++++++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 package/libtraceevent/Config.in create mode 100644 package/libtraceevent/libtraceevent.hash create mode 100644 package/libtraceevent/libtraceevent.mk diff --git a/DEVELOPERS b/DEVELOPERS index 06583c3c0a..e426f65cc2 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2111,6 +2111,9 @@ F: package/postgresql/ F: package/protozero/ F: package/timescaledb/ +N: Maxime Chevallier +F: package/libtraceevent/ + N: Michael Durrant F: board/arcturus/ F: configs/arcturus_ucp1020_defconfig diff --git a/package/Config.in b/package/Config.in index f4399a6021..2b3d3e612f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -117,6 +117,7 @@ menu "Debugging, profiling and benchmark" source "package/kyua/Config.in" source "package/latencytop/Config.in" source "package/libbpf/Config.in" + source "package/libtraceevent/Config.in" source "package/lmbench/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" diff --git a/package/libtraceevent/Config.in b/package/libtraceevent/Config.in new file mode 100644 index 0000000000..d351e3b4de --- /dev/null +++ b/package/libtraceevent/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBTRACEEVENT + bool "libtraceevent" + help + libtraceevent is a library that interfaces with the ftrace + subsystem in the linux kernel. + It used to be bundled directly in the trace-cmd + tool, but it was eventually extracted so that it can be used + by multiple other tools and libraries, such as libtracefs and + rtla. diff --git a/package/libtraceevent/libtraceevent.hash b/package/libtraceevent/libtraceevent.hash new file mode 100644 index 0000000000..15c4883afd --- /dev/null +++ b/package/libtraceevent/libtraceevent.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 097b72e0d907f3107825fb2edf0188324bf70dc9da360f6efa68dc484ffde541 libtraceevent-1.7.3.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 diff --git a/package/libtraceevent/libtraceevent.mk b/package/libtraceevent/libtraceevent.mk new file mode 100644 index 0000000000..75c23f7410 --- /dev/null +++ b/package/libtraceevent/libtraceevent.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# libtraceevent +# +################################################################################ + +LIBTRACEEVENT_VERSION = 1.7.3 +LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot +LIBTRACEEVENT_INSTALL_STAGING = YES +LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 +LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +define LIBTRACEEVENT_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define LIBTRACEEVENT_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(STAGING_DIR) \ + pkgconfig_dir="/usr/lib/pkgconfig" \ + prefix="/usr" \ + install +endef + +define LIBTRACEEVENT_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(TARGET_DIR) \ + pkgconfig_dir="" \ + prefix="/usr" \ + install +endef + +$(eval $(generic-package)) -- 2.34.1 From giulio.benetti at benettiengineering.com Fri Oct 13 20:37:23 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 22:37:23 +0200 Subject: [Buildroot] [PATCH v3 3/4] package/linux-tools: add rtla In-Reply-To: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> References: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> Message-ID: <20231013203724.120389-3-giulio.benetti@benettiengineering.com> From: Maxime Chevallier The RealTime Linux Analysis tool includes a set of commands that relies on the osnoise and timerlat tracers from the ftrace kernel subsystem, allowing to analyze the lantency sources coming from the hardware and the kernel itself. This tool was introduced in v5.17, and relies on libtracefs and libtraceevent, although libtraceevent itself is already a dependency for libtracefs. Signed-off-by: Maxime Chevallier [Giulio: fix install on recent Linux versions] Signed-off-by: Giulio Benetti --- Giulio: V1->V2: * fix install with recent Linux versions V2->V3: * deal with hwnoise presence as suggested by Yann Morin * change Config.in comment according to the point above --- DEVELOPERS | 1 + package/linux-tools/Config.in | 10 ++++++ package/linux-tools/linux-tool-rtla.mk.in | 40 +++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 package/linux-tools/linux-tool-rtla.mk.in diff --git a/DEVELOPERS b/DEVELOPERS index 8932c88953..86496f6cc5 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2114,6 +2114,7 @@ F: package/timescaledb/ N: Maxime Chevallier F: package/libtraceevent/ F: package/libtracefs +F: package/linux-tools/linux-tool-rtla.mk.in N: Michael Durrant F: board/arcturus/ diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in index 451b0eeff5..4df73159be 100644 --- a/package/linux-tools/Config.in +++ b/package/linux-tools/Config.in @@ -102,6 +102,16 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3 endif +config BR2_PACKAGE_LINUX_TOOLS_RTLA + bool "rtla" + select BR2_PACKAGE_LINUX_TOOLS + select BR2_PACKAGE_LIBTRACEFS + help + Linux 5.19 and later has 2 new tracers, osnoise and timerlat. + Linux 6.3 has new tracer hwnoise. These tracers allow performing + latency analysis, for which the rtla tool provides wrapper + commands to visualize and extract latency traces and reports. + config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS bool"selftests" depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash diff --git a/package/linux-tools/linux-tool-rtla.mk.in b/package/linux-tools/linux-tool-rtla.mk.in new file mode 100644 index 0000000000..04b98f443d --- /dev/null +++ b/package/linux-tools/linux-tool-rtla.mk.in @@ -0,0 +1,40 @@ +################################################################################ +# +# rtla +# +################################################################################ + +LINUX_TOOLS += rtla + +RTLA_DEPENDENCIES = host-pkgconf libtracefs +RTLA_MAKE_OPTS = $(LINUX_MAKE_FLAGS) \ + CC=$(TARGET_CC) \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig + +define RTLA_BUILD_CMDS + $(Q)if ! grep install $(LINUX_DIR)/tools/tracing/rtla/Makefile >/dev/null 2>&1 ; then \ + echo "Your kernel version is too old and does not implement the rtla tool." ; \ + echo "At least kernel 5.19 must be used." ; \ + exit 1 ; \ + fi + + $(TARGET_MAKE_ENV) \ + $(MAKE) $(RTLA_MAKE_OPTS) \ + -C $(LINUX_DIR)/tools/tracing rtla +endef + +# make rtla_install build and install by default documentation using rst2man +# but it's not available in Buildroot and we don't want manual files in target +# folder so let's simply install the resulting rtla binary and create symlinks +# like Linux does in its tools/tracing/rtla/Makefile +define RTLA_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(LINUX_DIR)/tools/tracing/rtla/rtla $(TARGET_DIR)/usr/bin + ln -sf rtla $(TARGET_DIR)/usr/bin/osnoise + ln -sf rtla $(TARGET_DIR)/usr/bin/timerlat + + # Check if hwnoise is provided or not + if grep -q hwnoise $(LINUX_DIR)/tools/tracing/rtla/Makefile; then \ + ln -sf rtla $(TARGET_DIR)/usr/bin/hwnoise ; \ + fi +endef -- 2.34.1 From giulio.benetti at benettiengineering.com Fri Oct 13 20:37:24 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 22:37:24 +0200 Subject: [Buildroot] [PATCH v3 4/4] package/trace-cmd: bump to 3.1.7 In-Reply-To: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> References: <20231013203724.120389-1-giulio.benetti@benettiengineering.com> Message-ID: <20231013203724.120389-4-giulio.benetti@benettiengineering.com> From: Maxime Chevallier trace-cmd's dependencies 'libtracefs' and 'libtraceevent' were split into dedicated projects, maintained outside of trace-cmd. This release, on top of bumping the version, adds this new dependencies. Signed-off-by: Maxime Chevallier [Giulio: bump to version 3.1.7] Signed-off-by: Giulio Benetti --- Giulio: V1->V2: * bump to version 3.1.7 --- package/trace-cmd/Config.in | 2 ++ package/trace-cmd/trace-cmd.hash | 2 +- package/trace-cmd/trace-cmd.mk | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 2d0accd7ae..00b9ebbd9a 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -4,6 +4,8 @@ config BR2_PACKAGE_TRACE_CMD depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() + select BR2_PACKAGE_LIBTRACEEVENT + select BR2_PACKAGE_LIBTRACEFS help Command line reader for ftrace. diff --git a/package/trace-cmd/trace-cmd.hash b/package/trace-cmd/trace-cmd.hash index 4d39e4d5ea..6edcaf0e1c 100644 --- a/package/trace-cmd/trace-cmd.hash +++ b/package/trace-cmd/trace-cmd.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 a74d9ade2633b88d0ad199360d51996427e23f4835594133e456cd6e3bd3a651 trace-cmd-v2.9.7.tar.gz +sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk index 52bb99036c..3d4d88c964 100644 --- a/package/trace-cmd/trace-cmd.mk +++ b/package/trace-cmd/trace-cmd.mk @@ -4,14 +4,14 @@ # ################################################################################ -TRACE_CMD_VERSION = 2.9.7 +TRACE_CMD_VERSION = 3.1.7 TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz TRACE_CMD_SITE = \ https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 -TRACE_CMD_DEPENDENCIES = host-pkgconf +TRACE_CMD_DEPENDENCIES = host-pkgconf libtracefs libtraceevent TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc ifeq ($(BR2_PACKAGE_AUDIT),y) @@ -34,6 +34,8 @@ ifeq ($(BR2_sparc64),y) TRACE_CMD_CFLAGS += -fPIC endif +TRACE_CMD_CFLAGS += $($(HOST_DIR)/bin/pkg-config --cflags libtracefs) + # trace-cmd use CPPFLAGS to add some extra flags. # But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE # that causes build problems. -- 2.34.1 From fontaine.fabrice at gmail.com Fri Oct 13 21:08:30 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 13 Oct 2023 23:08:30 +0200 Subject: [Buildroot] [PATCH 1/1] package/mutt: fix libgpgme static build Message-ID: <20231013210830.143696-1-fontaine.fabrice@gmail.com> Fix the following static build failure with libgpgme raised since at least bump to version 2.2.9 in commit 7a2afdb7b1180bed3b6ad92c22c908805467ead3: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): in function `my_usleep': assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' Fixes: - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 Signed-off-by: Fabrice Fontaine --- package/mutt/mutt.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk index 09f547a091..2fe7b92b38 100644 --- a/package/mutt/mutt.mk +++ b/package/mutt/mutt.mk @@ -40,7 +40,11 @@ MUTT_CONF_OPTS += \ # Force the path to "gpgrt-config" (from the libgpg-error package) to # avoid using the one on host, if present. -MUTT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +MUTT_GPGRT_CONFIG = $(STAGING_DIR)/usr/bin/gpgrt-config +ifeq ($(BR2_STATIC_LIBS),y) +MUTT_GPGRT_CONFIG += --static +endif +MUTT_CONF_ENV += GPGRT_CONFIG="$(MUTT_GPGRT_CONFIG)" else MUTT_CONF_OPTS += --disable-gpgme endif -- 2.42.0 From giulio.benetti at benettiengineering.com Fri Oct 13 21:08:41 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 23:08:41 +0200 Subject: [Buildroot] [PATCH 2/2] board/bananapi/bananapi-m2-ultra: switch to use extlinux.conf In-Reply-To: <20231013210841.153788-1-giulio.benetti@benettiengineering.com> References: <20231013210841.153788-1-giulio.benetti@benettiengineering.com> Message-ID: <20231013210841.153788-2-giulio.benetti@benettiengineering.com> While switching bump Linux version to 6.1.57 and U-Boot version to 2023.10. Signed-off-by: Giulio Benetti --- board/bananapi/bananapi-m2-ultra/boot.cmd | 7 ------- board/bananapi/bananapi-m2-ultra/extlinux.conf | 4 ++++ board/bananapi/bananapi-m2-ultra/genimage.cfg | 18 ------------------ board/bananapi/bananapi-m2-ultra/post-build.sh | 5 +++++ configs/bananapi_m2_ultra_defconfig | 9 ++++----- 5 files changed, 13 insertions(+), 30 deletions(-) delete mode 100644 board/bananapi/bananapi-m2-ultra/boot.cmd create mode 100644 board/bananapi/bananapi-m2-ultra/extlinux.conf create mode 100755 board/bananapi/bananapi-m2-ultra/post-build.sh diff --git a/board/bananapi/bananapi-m2-ultra/boot.cmd b/board/bananapi/bananapi-m2-ultra/boot.cmd deleted file mode 100644 index 9c24eabff6..0000000000 --- a/board/bananapi/bananapi-m2-ultra/boot.cmd +++ /dev/null @@ -1,7 +0,0 @@ -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -mmc dev 0 -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun8i-r40-bananapi-m2-ultra.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/bananapi/bananapi-m2-ultra/extlinux.conf b/board/bananapi/bananapi-m2-ultra/extlinux.conf new file mode 100644 index 0000000000..f5f35c1d8f --- /dev/null +++ b/board/bananapi/bananapi-m2-ultra/extlinux.conf @@ -0,0 +1,4 @@ +label Bananapi M2 Ultra linux + kernel /boot/zImage + devicetree /boot/sun8i-r40-bananapi-m2-ultra.dtb + append console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait diff --git a/board/bananapi/bananapi-m2-ultra/genimage.cfg b/board/bananapi/bananapi-m2-ultra/genimage.cfg index 88324f1f24..92c8677545 100644 --- a/board/bananapi/bananapi-m2-ultra/genimage.cfg +++ b/board/bananapi/bananapi-m2-ultra/genimage.cfg @@ -1,15 +1,3 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-r40-bananapi-m2-ultra.dtb", - "boot.scr" - } - } - - size = 64M -} - image sdcard.img { hdimage { } @@ -21,12 +9,6 @@ image sdcard.img { size = 1016K # 1MB - 8KB } - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - partition rootfs { partition-type = 0x83 image = "rootfs.ext4" diff --git a/board/bananapi/bananapi-m2-ultra/post-build.sh b/board/bananapi/bananapi-m2-ultra/post-build.sh new file mode 100755 index 0000000000..1f5ff6a611 --- /dev/null +++ b/board/bananapi/bananapi-m2-ultra/post-build.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/configs/bananapi_m2_ultra_defconfig b/configs/bananapi_m2_ultra_defconfig index 0f267021f8..6b2ba13e41 100644 --- a/configs/bananapi_m2_ultra_defconfig +++ b/configs/bananapi_m2_ultra_defconfig @@ -2,21 +2,23 @@ BR2_arm=y BR2_cortex_a7=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Ultra" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/bananapi/bananapi-m2-ultra/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-ultra/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.12" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-r40-bananapi-m2-ultra" +BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m2_berry" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y @@ -27,6 +29,3 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m2-ultra/boot.cmd" -- 2.34.1 From giulio.benetti at benettiengineering.com Fri Oct 13 21:08:40 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Fri, 13 Oct 2023 23:08:40 +0200 Subject: [Buildroot] [PATCH 1/2] board/bananapi/bananapi-m2-berry: switch to use extlinux.conf Message-ID: <20231013210841.153788-1-giulio.benetti@benettiengineering.com> While switching bump Linux version to 6.1.57 and U-Boot version to 2023.10. Signed-off-by: Giulio Benetti --- board/bananapi/bananapi-m2-berry/boot.cmd | 7 ------- board/bananapi/bananapi-m2-berry/extlinux.conf | 4 ++++ board/bananapi/bananapi-m2-berry/genimage.cfg | 18 ------------------ board/bananapi/bananapi-m2-berry/post-build.sh | 5 +++++ configs/bananapi_m2_berry_defconfig | 9 ++++----- 5 files changed, 13 insertions(+), 30 deletions(-) delete mode 100644 board/bananapi/bananapi-m2-berry/boot.cmd create mode 100644 board/bananapi/bananapi-m2-berry/extlinux.conf create mode 100755 board/bananapi/bananapi-m2-berry/post-build.sh diff --git a/board/bananapi/bananapi-m2-berry/boot.cmd b/board/bananapi/bananapi-m2-berry/boot.cmd deleted file mode 100644 index 9efb6bc89d..0000000000 --- a/board/bananapi/bananapi-m2-berry/boot.cmd +++ /dev/null @@ -1,7 +0,0 @@ -setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait - -mmc dev 0 -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun8i-v40-bananapi-m2-berry.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/bananapi/bananapi-m2-berry/extlinux.conf b/board/bananapi/bananapi-m2-berry/extlinux.conf new file mode 100644 index 0000000000..1f1b4f5cf3 --- /dev/null +++ b/board/bananapi/bananapi-m2-berry/extlinux.conf @@ -0,0 +1,4 @@ +label Bananapi M2 Berry linux + kernel /boot/zImage + devicetree /boot/sun8i-v40-bananapi-m2-berry.dtb + append console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait diff --git a/board/bananapi/bananapi-m2-berry/genimage.cfg b/board/bananapi/bananapi-m2-berry/genimage.cfg index 535f3dffee..92c8677545 100644 --- a/board/bananapi/bananapi-m2-berry/genimage.cfg +++ b/board/bananapi/bananapi-m2-berry/genimage.cfg @@ -1,15 +1,3 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-v40-bananapi-m2-berry.dtb", - "boot.scr" - } - } - - size = 64M -} - image sdcard.img { hdimage { } @@ -21,12 +9,6 @@ image sdcard.img { size = 1016K # 1MB - 8KB } - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - partition rootfs { partition-type = 0x83 image = "rootfs.ext4" diff --git a/board/bananapi/bananapi-m2-berry/post-build.sh b/board/bananapi/bananapi-m2-berry/post-build.sh new file mode 100755 index 0000000000..1f5ff6a611 --- /dev/null +++ b/board/bananapi/bananapi-m2-berry/post-build.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/configs/bananapi_m2_berry_defconfig b/configs/bananapi_m2_berry_defconfig index 300261d07f..200257ac0d 100644 --- a/configs/bananapi_m2_berry_defconfig +++ b/configs/bananapi_m2_berry_defconfig @@ -2,21 +2,23 @@ BR2_arm=y BR2_cortex_a7=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Berry" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/bananapi/bananapi-m2-berry/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-berry/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.38" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-v40-bananapi-m2-berry" +BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m2_berry" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y @@ -26,6 +28,3 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m2-berry/boot.cmd" -- 2.34.1 From veredz72 at gmail.com Fri Oct 13 21:09:19 2023 From: veredz72 at gmail.com (Zvi Vered) Date: Sat, 14 Oct 2023 00:09:19 +0300 Subject: [Buildroot] buildroot 2021.02.1: black screen after Xorg launched Message-ID: Hello, Using buildroot 2021.02.1 for x64 I built root file system that contain Xorg. Right after Xorg is launched I got black screen. According to Xorg.0.0.log (attached) there is no error. I tried to run: xeyes and got: Can't open display I noticed the following lines in Xorg.0.0.log: Code: [ 5.116] (==) No Layout section. Using the first Screen section. [ 5.116] (==) No screen section available. Using defaults. [ 5.116] (**) |-->Screen "Default Screen Section" (0) [ 5.116] (**) | |-->Monitor "" [ 5.117] (==) No monitor specified for screen "Default Screen Section". On the same PC I booted Knoppix 9.1. Xorg works fine. I noticed that Knoppix contains several files in: /usr/share/X11/xorg.conf.d But in my file system this folder contains only the file: 10-quirks.conf Can you please advise what can be the reason for the black screen ? Thank you, Zvika -------------------------------------------------------------Xorg.0.0.log ------------------------------------- [ 5.080] X.Org X Server 1.20.10 X Protocol Version 11, Revision 0 [ 5.080] Build Operating System: Linux 5.4.0-150-generic x86_64 [ 5.080] Current Operating System: Linux buildroot 4.19.135 #2 SMP Sat Aug 12 21:28:59 IDT 2023 x86_64 [ 5.080] Kernel command line: BOOT_IMAGE=/boot/bzImage root=/dev/sdb2 ip=:::::eth0:on [ 5.080] Build Date: 09 October 2023 11:15:40PM [ 5.080] [ 5.080] Current version of pixman: 0.40.0 [ 5.080] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 5.080] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 5.080] (==) Log file: "/var/log/Xorg.0.0.log", Time: Fri Oct 13 23:00:12 2023 [ 5.082] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 5.083] (==) No Layout section. Using the first Screen section. [ 5.083] (==) No screen section available. Using defaults. [ 5.083] (**) |-->Screen "Default Screen Section" (0) [ 5.083] (**) | |-->Monitor "" [ 5.083] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 5.083] (==) Automatically adding devices [ 5.083] (==) Automatically enabling devices [ 5.083] (==) Automatically adding GPU devices [ 5.084] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 5.085] (WW) The directory "/usr/share/fonts/X11//TTF/" does not exist. [ 5.085] Entry deleted from font path. [ 5.085] (WW) The directory "/usr/share/fonts/X11//OTF/" does not exist. [ 5.085] Entry deleted from font path. [ 5.085] (WW) The directory "/usr/share/fonts/X11//Type1/" does not exist. [ 5.085] Entry deleted from font path. [ 5.086] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11//100dpi/". [ 5.086] Entry deleted from font path. [ 5.086] (Run 'mkfontdir' on "/usr/share/fonts/X11//100dpi/"). [ 5.086] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11//75dpi/". [ 5.086] Entry deleted from font path. [ 5.086] (Run 'mkfontdir' on "/usr/share/fonts/X11//75dpi/"). [ 5.086] (==) FontPath set to: /usr/share/fonts/X11//misc/ [ 5.086] (==) ModulePath set to "/usr/lib/xorg/modules" [ 5.086] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 5.086] (II) Loader magic: 0x5feb40 [ 5.086] (II) Module ABI versions: [ 5.086] X.Org ANSI C Emulation: 0.4 [ 5.086] X.Org Video Driver: 24.1 [ 5.086] X.Org XInput driver : 24.1 [ 5.086] X.Org Server Extension : 10.0 [ 5.086] (II) xfree86: Adding drm device (/dev/dri/card0) [ 5.100] (--) PCI:*(0 at 0:2:0) 8086:3e92:1043:872f rev 0, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072 [ 5.100] (--) PCI: (1 at 0:0:0) 10de:1b06:1043:85e5 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288 [ 5.100] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [ 5.100] (==) Matched intel as autoconfigured driver 0 [ 5.100] (==) Matched modesetting as autoconfigured driver 1 [ 5.100] (==) Matched fbdev as autoconfigured driver 2 [ 5.100] (==) Matched vesa as autoconfigured driver 3 [ 5.100] (==) Assigned the driver to the xf86ConfigLayout [ 5.100] (II) LoadModule: "intel" [ 5.101] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [ 5.104] (II) Module intel: vendor="X.Org Foundation" [ 5.104] compiled for 1.20.10, module version = 2.99.917 [ 5.104] Module class: X.Org Video Driver [ 5.104] ABI class: X.Org Video Driver, version 24.1 [ 5.104] (II) LoadModule: "modesetting" [ 5.104] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 5.105] (II) Module modesetting: vendor="X.Org Foundation" [ 5.105] compiled for 1.20.10, module version = 1.20.10 [ 5.105] Module class: X.Org Video Driver [ 5.105] ABI class: X.Org Video Driver, version 24.1 [ 5.106] (II) LoadModule: "fbdev" [ 5.106] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 5.106] (II) Module fbdev: vendor="X.Org Foundation" [ 5.106] compiled for 1.20.10, module version = 0.5.0 [ 5.106] Module class: X.Org Video Driver [ 5.106] ABI class: X.Org Video Driver, version 24.1 [ 5.106] (II) LoadModule: "vesa" [ 5.106] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 5.107] (II) Module vesa: vendor="X.Org Foundation" [ 5.107] compiled for 1.20.10, module version = 2.5.0 [ 5.107] Module class: X.Org Video Driver [ 5.107] ABI class: X.Org Video Driver, version 24.1 [ 5.107] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 [ 5.107] (II) intel: Driver for Intel(R) HD Graphics [ 5.107] (II) intel: Driver for Intel(R) Iris(TM) Graphics [ 5.107] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics [ 5.107] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 5.107] (II) FBDEV: driver for framebuffer: fbdev [ 5.107] (II) VESA: driver for VESA chipsets: vesa [ 5.107] (++) using VT number 1 [ 5.107] (WW) xf86OpenConsole: setpgid failed: Operation not permitted [ 5.108] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20180719 [ 5.122] (WW) Falling back to old probe method for modesetting [ 5.122] (WW) Falling back to old probe method for fbdev [ 5.122] (II) Loading sub module "fbdevhw" [ 5.122] (II) LoadModule: "fbdevhw" [ 5.123] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 5.123] (II) Module fbdevhw: vendor="X.Org Foundation" [ 5.123] compiled for 1.20.10, module version = 0.0.2 [ 5.123] ABI class: X.Org Video Driver, version 24.1 [ 5.124] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics [ 5.124] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 6 threads [ 5.124] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 5.124] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [ 5.124] (==) intel(0): RGB weight 888 [ 5.124] (==) intel(0): Default visual is TrueColor [ 5.126] (II) intel(0): Output HDMI1 has no monitor section [ 5.126] (II) intel(0): Enabled output HDMI1 [ 5.126] (II) intel(0): Output HDMI2 has no monitor section [ 5.126] (II) intel(0): Enabled output HDMI2 [ 5.126] (--) intel(0): Using a maximum size of 256x256 for hardware cursors [ 5.126] (II) intel(0): Output VIRTUAL1 has no monitor section [ 5.126] (II) intel(0): Enabled output VIRTUAL1 [ 5.126] (--) intel(0): Output HDMI1 using initial mode 1920x1080 on pipe 0 [ 5.127] (==) intel(0): TearFree enabled [ 5.127] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0) [ 5.127] (==) intel(0): DPI set to (96, 96) [ 5.127] (II) Loading sub module "dri3" [ 5.127] (II) LoadModule: "dri3" [ 5.127] (II) Module "dri3" already built-in [ 5.127] (II) Loading sub module "dri2" [ 5.127] (II) LoadModule: "dri2" [ 5.127] (II) Module "dri2" already built-in [ 5.127] (II) Loading sub module "present" [ 5.127] (II) LoadModule: "present" [ 5.127] (II) Module "present" already built-in [ 5.127] (II) UnloadModule: "modesetting" [ 5.127] (II) Unloading modesetting [ 5.127] (II) UnloadModule: "fbdev" [ 5.127] (II) Unloading fbdev [ 5.127] (II) UnloadSubModule: "fbdevhw" [ 5.127] (II) Unloading fbdevhw [ 5.127] (II) UnloadModule: "vesa" [ 5.127] (II) Unloading vesa [ 5.130] (II) intel(0): SNA initialized with Coffeelake (gen9) backend [ 5.130] (==) intel(0): Backing store disabled [ 5.130] (==) intel(0): Silken mouse enabled [ 5.131] (II) intel(0): HW Cursor enabled [ 5.131] (==) intel(0): DPMS enabled [ 5.132] (==) intel(0): Display hotplug detection enabled [ 5.132] (II) intel(0): [DRI2] Setup complete [ 5.132] (II) intel(0): [DRI2] DRI driver: i965 [ 5.132] (II) intel(0): [DRI2] VDPAU driver: va_gl [ 5.132] (II) intel(0): direct rendering: DRI2 enabled [ 5.132] (II) intel(0): hardware support for Present enabled [ 5.132] (II) Initializing extension Generic Event Extension [ 5.132] (II) Initializing extension SHAPE [ 5.132] (II) Initializing extension MIT-SHM [ 5.132] (II) Initializing extension XInputExtension [ 5.132] (II) Initializing extension XTEST [ 5.132] (II) Initializing extension BIG-REQUESTS [ 5.132] (II) Initializing extension SYNC [ 5.132] (II) Initializing extension XKEYBOARD [ 5.132] (II) Initializing extension XC-MISC [ 5.132] (II) Initializing extension XFIXES [ 5.132] (II) Initializing extension RENDER [ 5.132] (II) Initializing extension RANDR [ 5.132] (II) Initializing extension DAMAGE [ 5.132] (II) Initializing extension DOUBLE-BUFFER [ 5.132] (II) Initializing extension RECORD [ 5.132] (II) Initializing extension DPMS [ 5.132] (II) Initializing extension Present [ 5.132] (II) Initializing extension DRI3 [ 5.132] (II) Initializing extension X-Resource [ 5.132] (II) Initializing extension XVideo [ 5.132] (II) Initializing extension XVideo-MotionCompensation [ 5.132] (II) Initializing extension XFree86-VidModeExtension [ 5.132] (II) Initializing extension XFree86-DGA [ 5.132] (II) Initializing extension DRI2 [ 5.137] (II) intel(0): switch to mode 1920x1080 at 60.0 on HDMI1 using pipe 0, position (0, 0), rotation normal, reflection none [ 5.144] (II) intel(0): Setting screen physical size to 508 x 285 [ 5.214] (II) config/udev: Adding input device Power Button (/dev/input/event2) [ 5.214] (**) Power Button: Applying InputClass "evdev keyboard catchall" [ 5.214] (II) LoadModule: "evdev" [ 5.214] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 5.217] (II) Module evdev: vendor="X.Org Foundation" [ 5.217] compiled for 1.20.10, module version = 2.10.6 [ 5.217] Module class: X.Org XInput Driver [ 5.217] ABI class: X.Org XInput driver, version 24.1 [ 5.217] (II) Using input driver 'evdev' for 'Power Button' [ 5.217] (**) Power Button: always reports core events [ 5.217] (**) evdev: Power Button: Device: "/dev/input/event2" [ 5.217] (--) evdev: Power Button: Vendor 0 Product 0x1 [ 5.217] (--) evdev: Power Button: Found keys [ 5.217] (II) evdev: Power Button: Configuring as keyboard [ 5.217] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2" [ 5.217] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6) [ 5.217] (**) Option "xkb_rules" "evdev" [ 5.217] (II) config/udev: Adding input device Video Bus (/dev/input/event3) [ 5.217] (**) Video Bus: Applying InputClass "evdev keyboard catchall" [ 5.217] (II) Using input driver 'evdev' for 'Video Bus' [ 5.217] (**) Video Bus: always reports core events [ 5.217] (**) evdev: Video Bus: Device: "/dev/input/event3" [ 5.217] (--) evdev: Video Bus: Vendor 0 Product 0x6 [ 5.217] (--) evdev: Video Bus: Found keys [ 5.217] (II) evdev: Video Bus: Configuring as keyboard [ 5.217] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3/event3" [ 5.217] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7) [ 5.217] (**) Option "xkb_rules" "evdev" [ 5.217] (II) config/udev: Adding input device Power Button (/dev/input/event1) [ 5.217] (**) Power Button: Applying InputClass "evdev keyboard catchall" [ 5.217] (II) Using input driver 'evdev' for 'Power Button' [ 5.217] (**) Power Button: always reports core events [ 5.217] (**) evdev: Power Button: Device: "/dev/input/event1" [ 5.217] (--) evdev: Power Button: Vendor 0 Product 0x1 [ 5.217] (--) evdev: Power Button: Found keys [ 5.217] (II) evdev: Power Button: Configuring as keyboard [ 5.217] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1" [ 5.217] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8) [ 5.217] (**) Option "xkb_rules" "evdev" [ 5.218] (II) config/udev: Adding input device Sleep Button (/dev/input/event0) [ 5.218] (**) Sleep Button: Applying InputClass "evdev keyboard catchall" [ 5.218] (II) Using input driver 'evdev' for 'Sleep Button' [ 5.218] (**) Sleep Button: always reports core events [ 5.218] (**) evdev: Sleep Button: Device: "/dev/input/event0" [ 5.218] (--) evdev: Sleep Button: Vendor 0 Product 0x3 [ 5.218] (--) evdev: Sleep Button: Found keys [ 5.218] (II) evdev: Sleep Button: Configuring as keyboard [ 5.218] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0" [ 5.218] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9) [ 5.218] (**) Option "xkb_rules" "evdev" [ 5.218] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed (/dev/input/event4) [ 5.218] (**) Razer Razer DeathAdder V2 X HyperSpeed: Applying InputClass "evdev pointer catchall" [ 5.218] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed' [ 5.218] (**) Razer Razer DeathAdder V2 X HyperSpeed: always reports core events [ 5.218] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Device: "/dev/input/event4" [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Vendor 0x1532 Product 0x9c [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found 9 mouse buttons [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found scroll wheel(s) [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found relative axes [ 5.270] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found x and y relative axes [ 5.270] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Configuring as mouse [ 5.270] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Adding scrollwheel support [ 5.270] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed: YAxisMapping: buttons 4 and 5 [ 5.270] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 5.270] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:1532:009C.0001/input/input4/event4" [ 5.270] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed" (type: MOUSE, id 10) [ 5.270] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed: initialized for relative axes. [ 5.270] (**) Razer Razer DeathAdder V2 X HyperSpeed: (accel) keeping acceleration scheme 1 [ 5.270] (**) Razer Razer DeathAdder V2 X HyperSpeed: (accel) acceleration profile 0 [ 5.270] (**) Razer Razer DeathAdder V2 X HyperSpeed: (accel) acceleration factor: 2.000 [ 5.270] (**) Razer Razer DeathAdder V2 X HyperSpeed: (accel) acceleration threshold: 4 [ 5.271] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed Keyboard (/dev/input/event5) [ 5.271] (**) Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Applying InputClass "evdev keyboard catchall" [ 5.271] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed Keyboard' [ 5.271] (**) Razer Razer DeathAdder V2 X HyperSpeed Keyboard: always reports core events [ 5.271] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Device: "/dev/input/event5" [ 5.271] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Vendor 0x1532 Product 0x9c [ 5.271] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Found keys [ 5.271] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Keyboard: Configuring as keyboard [ 5.271] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:1532:009C.0002/input/input5/event5" [ 5.271] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed Keyboard" (type: KEYBOARD, id 11) [ 5.271] (**) Option "xkb_rules" "evdev" [ 5.272] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed Mouse (/dev/input/event6) [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: Applying InputClass "evdev pointer catchall" [ 5.272] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed Mouse' [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: always reports core events [ 5.272] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Device: "/dev/input/event6" [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Vendor 0x1532 Product 0x9c [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Found 10 mouse buttons [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Found scroll wheel(s) [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Found relative axes [ 5.272] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Found x and y relative axes [ 5.272] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Configuring as mouse [ 5.272] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: Adding scrollwheel support [ 5.272] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: YAxisMapping: buttons 4 and 5 [ 5.272] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 5.272] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:1532:009C.0002/input/input6/event6" [ 5.272] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed Mouse" (type: MOUSE, id 12) [ 5.272] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Mouse: initialized for relative axes. [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: (accel) keeping acceleration scheme 1 [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: (accel) acceleration profile 0 [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: (accel) acceleration factor: 2.000 [ 5.272] (**) Razer Razer DeathAdder V2 X HyperSpeed Mouse: (accel) acceleration threshold: 4 [ 5.273] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed Consumer Control (/dev/input/event7) [ 5.273] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Applying InputClass "evdev keyboard catchall" [ 5.273] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed Consumer Control' [ 5.273] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: always reports core events [ 5.273] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Device: "/dev/input/event7" [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Vendor 0x1532 Product 0x9c [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found 1 mouse buttons [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found scroll wheel(s) [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found relative axes [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Forcing relative x/y axes to exist. [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found absolute axes [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Forcing absolute x/y axes to exist. [ 5.273] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found keys [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Configuring as mouse [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Configuring as keyboard [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Adding scrollwheel support [ 5.273] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: YAxisMapping: buttons 4 and 5 [ 5.273] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 5.273] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:1532:009C.0002/input/input7/event7" [ 5.273] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed Consumer Control" (type: KEYBOARD, id 13) [ 5.273] (**) Option "xkb_rules" "evdev" [ 5.273] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: initialized for relative axes. [ 5.273] (WW) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: ignoring absolute axes. [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: (accel) keeping acceleration scheme 1 [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: (accel) acceleration profile 0 [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: (accel) acceleration factor: 2.000 [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: (accel) acceleration threshold: 4 [ 5.274] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed System Control (/dev/input/event8) [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed System Control: Applying InputClass "evdev keyboard catchall" [ 5.274] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed System Control' [ 5.274] (**) Razer Razer DeathAdder V2 X HyperSpeed System Control: always reports core events [ 5.274] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed System Control: Device: "/dev/input/event8" [ 5.274] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed System Control: Vendor 0x1532 Product 0x9c [ 5.274] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed System Control: Found keys [ 5.274] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed System Control: Configuring as keyboard [ 5.274] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:1532:009C.0002/input/input8/event8" [ 5.274] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed System Control" (type: KEYBOARD, id 14) [ 5.274] (**) Option "xkb_rules" "evdev" [ 5.275] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed (/dev/input/event9) [ 5.275] (II) No input driver specified, ignoring this device. [ 5.275] (II) This device may have been added with another device file. [ 5.276] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed (/dev/input/event10) [ 5.276] (**) Razer Razer DeathAdder V2 X HyperSpeed: Applying InputClass "evdev keyboard catchall" [ 5.276] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed' [ 5.276] (**) Razer Razer DeathAdder V2 X HyperSpeed: always reports core events [ 5.276] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Device: "/dev/input/event10" [ 5.276] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Vendor 0x1532 Product 0x9c [ 5.276] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Found keys [ 5.276] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed: Configuring as keyboard [ 5.276] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:1532:009C.0003/input/input10/event10" [ 5.276] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed" (type: KEYBOARD, id 15) [ 5.276] (**) Option "xkb_rules" "evdev" [ 5.277] (II) config/udev: Adding input device Razer Razer DeathAdder V2 X HyperSpeed Consumer Control (/dev/input/event11) [ 5.277] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Applying InputClass "evdev keyboard catchall" [ 5.277] (II) Using input driver 'evdev' for 'Razer Razer DeathAdder V2 X HyperSpeed Consumer Control' [ 5.277] (**) Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: always reports core events [ 5.277] (**) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Device: "/dev/input/event11" [ 5.277] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Vendor 0x1532 Product 0x9c [ 5.277] (--) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Found keys [ 5.277] (II) evdev: Razer Razer DeathAdder V2 X HyperSpeed Consumer Control: Configuring as keyboard [ 5.278] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.3/0003:1532:009C.0005/input/input11/event11" [ 5.278] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder V2 X HyperSpeed Consumer Control" (type: KEYBOARD, id 16) [ 5.278] (**) Option "xkb_rules" "evdev" [ 5.279] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event12) [ 5.279] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall" [ 5.279] (II) Using input driver 'evdev' for 'Logitech USB Keyboard' [ 5.279] (**) Logitech USB Keyboard: always reports core events [ 5.279] (**) evdev: Logitech USB Keyboard: Device: "/dev/input/event12" [ 5.279] (--) evdev: Logitech USB Keyboard: Vendor 0x46d Product 0xc31c [ 5.279] (--) evdev: Logitech USB Keyboard: Found keys [ 5.279] (II) evdev: Logitech USB Keyboard: Configuring as keyboard [ 5.279] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/usb3/3-2/3-2:1.0/0003:046D:C31C.0006/input/input12/event12" [ 5.279] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 17) [ 5.279] (**) Option "xkb_rules" "evdev" [ 5.280] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event13) [ 5.280] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall" [ 5.280] (II) Using input driver 'evdev' for 'Logitech USB Keyboard' [ 5.280] (**) Logitech USB Keyboard: always reports core events [ 5.280] (**) evdev: Logitech USB Keyboard: Device: "/dev/input/event13" [ 5.280] (--) evdev: Logitech USB Keyboard: Vendor 0x46d Product 0xc31c [ 5.280] (--) evdev: Logitech USB Keyboard: Found 1 mouse buttons [ 5.280] (--) evdev: Logitech USB Keyboard: Found scroll wheel(s) [ 5.280] (--) evdev: Logitech USB Keyboard: Found relative axes [ 5.280] (II) evdev: Logitech USB Keyboard: Forcing relative x/y axes to exist. [ 5.280] (--) evdev: Logitech USB Keyboard: Found absolute axes [ 5.280] (II) evdev: Logitech USB Keyboard: Forcing absolute x/y axes to exist. [ 5.280] (--) evdev: Logitech USB Keyboard: Found keys [ 5.280] (II) evdev: Logitech USB Keyboard: Configuring as mouse [ 5.280] (II) evdev: Logitech USB Keyboard: Configuring as keyboard [ 5.280] (II) evdev: Logitech USB Keyboard: Adding scrollwheel support [ 5.280] (**) evdev: Logitech USB Keyboard: YAxisMapping: buttons 4 and 5 [ 5.280] (**) evdev: Logitech USB Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 5.280] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/usb3/3-2/3-2:1.1/0003:046D:C31C.0007/input/input13/event13" [ 5.280] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 18) [ 5.280] (**) Option "xkb_rules" "evdev" [ 5.281] (II) evdev: Logitech USB Keyboard: initialized for relative axes. [ 5.281] (WW) evdev: Logitech USB Keyboard: ignoring absolute axes. [ 5.281] (**) Logitech USB Keyboard: (accel) keeping acceleration scheme 1 [ 5.281] (**) Logitech USB Keyboard: (accel) acceleration profile 0 [ 5.281] (**) Logitech USB Keyboard: (accel) acceleration factor: 2.000 [ 5.281] (**) Logitech USB Keyboard: (accel) acceleration threshold: 4 [ 7.160] (II) intel(0): EDID vendor "GSM", prod id 23353 [ 7.160] (II) intel(0): Using EDID range info for horizontal sync [ 7.160] (II) intel(0): Using EDID range info for vertical refresh [ 7.160] (II) intel(0): Printing DDC gathered Modelines: [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 185.60 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (84.4 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 325.08 1920 1944 1976 2056 1080 1083 1088 1098 +hsync +vsync (158.1 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 285.50 1920 1968 2000 2080 1080 1083 1088 1144 +hsync +vsync (137.3 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 235.50 1920 1968 2000 2080 1080 1083 1088 1133 -hsync -vsync (113.2 kHz e) [ 7.160] (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e) [ 7.160] (II) intel(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e) [ 7.160] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e) [ 7.160] (II) intel(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e) [ 7.160] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 297.00 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (135.0 kHz e) [ 7.160] (II) intel(0): Modeline "1920x1080"x0.0 297.00 1920 2448 2492 2640 1080 1084 1094 1125 +hsync +vsync (112.5 kHz e) [ 7.160] (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 7.160] (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e) [ 7.160] (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e) [ 7.160] (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e) [ 7.160] (II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e) [ 7.160] (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 7.160] (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e) [ 7.160] (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e) [ 7.160] (II) intel(0): Modeline "640x480"x120.0 52.41 640 680 744 848 480 481 484 515 -hsync +vsync (61.8 kHz e) [ 7.160] (II) intel(0): Modeline "800x600"x100.0 68.18 800 848 936 1072 600 601 604 636 -hsync +vsync (63.6 kHz e) [ 7.161] (II) intel(0): Modeline "800x600"x0.0 73.25 800 848 880 960 600 603 607 636 +hsync -vsync (76.3 kHz e) [ 7.161] (II) intel(0): Modeline "1024x768"x0.0 115.50 1024 1072 1104 1184 768 771 775 813 +hsync -vsync (97.6 kHz e) [ 7.161] (II) intel(0): Modeline "1280x960"x100.0 178.99 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync (101.7 kHz e) [ 7.161] (II) intel(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e) [ 7.161] (II) intel(0): Modeline "1280x1024"x0.0 187.25 1280 1328 1360 1440 1024 1027 1034 1084 +hsync -vsync (130.0 kHz e) [ 7.161] (II) intel(0): Modeline "1440x900"x0.0 182.75 1440 1488 1520 1600 900 903 909 953 +hsync -vsync (114.2 kHz e) ------------------------------------------------------------------------------------------------------------------- From peter at korsgaard.com Fri Oct 13 21:29:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Fri, 13 Oct 2023 23:29:55 +0200 Subject: [Buildroot] buildroot 2021.02.1: black screen after Xorg launched In-Reply-To: (Zvi Vered's message of "Sat, 14 Oct 2023 00:09:19 +0300") References: Message-ID: <87wmvqyzvw.fsf@48ers.dk> >>>>> "Zvi" == Zvi Vered writes: > Hello, > Using buildroot 2021.02.1 for x64 I built root file system that contain Xorg. > Right after Xorg is launched I got black screen. 2021.02.1 is a release from almost 3 years ago, which has been end of life since April 2022. Please use a supported version (E.G. 2023.02.x or 2023.08.x). > According to Xorg.0.0.log (attached) there is no error. > I tried to run: xeyes and got: > Can't open display Does it work if you set the DISPLAY environment variable? export DISPLAY=:0 -- Bye, Peter Korsgaard From veredz72 at gmail.com Fri Oct 13 21:43:22 2023 From: veredz72 at gmail.com (Zvi Vered) Date: Sat, 14 Oct 2023 00:43:22 +0300 Subject: [Buildroot] buildroot 2021.02.1: black screen after Xorg launched In-Reply-To: <87wmvqyzvw.fsf@48ers.dk> References: <87wmvqyzvw.fsf@48ers.dk> Message-ID: Hi Peter, I ran: export DISPLAY=:0 and then, xeyes works ! Does it make sense to insert this export in rootfs.tar created by buildroot ? Thank you very much. Zvika On Sat, Oct 14, 2023 at 12:30?AM Peter Korsgaard wrote: > > >>>>> "Zvi" == Zvi Vered writes: > > > Hello, > > Using buildroot 2021.02.1 for x64 I built root file system that contain Xorg. > > Right after Xorg is launched I got black screen. > > 2021.02.1 is a release from almost 3 years ago, which has been end of > life since April 2022. Please use a supported version (E.G. 2023.02.x or > 2023.08.x). > > > According to Xorg.0.0.log (attached) there is no error. > > I tried to run: xeyes and got: > > Can't open display > > Does it work if you set the DISPLAY environment variable? > > export DISPLAY=:0 > > -- > Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Fri Oct 13 21:53:55 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Fri, 13 Oct 2023 23:53:55 +0200 Subject: [Buildroot] [PATCH 1/1] package/usbguard: fix build with gcc >= 13 Message-ID: <20231013215355.323987-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 13: In file included from src/Library/Base64.cpp:23: src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 Signed-off-by: Fabrice Fontaine --- ...tHub-Actions-cover-build-with-GCC-13.patch | 114 ++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch diff --git a/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch new file mode 100644 index 0000000000..415b8e1dd1 --- /dev/null +++ b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch @@ -0,0 +1,114 @@ +From 22b1e0897af977cc96af926c730ff948bd120bb5 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Fri, 31 Mar 2023 09:39:49 +0200 +Subject: [PATCH] Fix build for GCC 13 + make GitHub Actions cover build with + GCC 13 (#586) + +* include missing + +gcc 13 moved some includes around and as a result is no +longer transitively included [1]. Explicitly include it for +uint8_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj + +* docker.yml: Cover openSUSE Tumbleweed with GCC 13+ + +Based on scripts/docker/build_on_centos_8_2.Dockerfile . + +--------- + +Signed-off-by: Khem Raj +Co-authored-by: Khem Raj +Upstream: https://github.com/USBGuard/usbguard/commit/22b1e0897af977cc96af926c730ff948bd120bb5 +Signed-off-by: Fabrice Fontaine +--- + .github/workflows/docker.yml | 1 + + .../build_on_opensuse_tumbleweed.Dockerfile | 50 +++++++++++++++++++ + src/Library/Base64.cpp | 1 - + src/Library/Base64.hpp | 1 + + 4 files changed, 52 insertions(+), 1 deletion(-) + create mode 100644 scripts/docker/build_on_opensuse_tumbleweed.Dockerfile + +diff --git a/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +new file mode 100644 +index 00000000..d0993d8c +--- /dev/null ++++ b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +@@ -0,0 +1,50 @@ ++## ++## Copyright (c) 2023 Sebastian Pipping ++## ++## This program is free software; you can redistribute it and/or modify ++## it under the terms of the GNU General Public License as published by ++## the Free Software Foundation; either version 2 of the License, or ++## (at your option) any later version. ++## ++## This program is distributed in the hope that it will be useful, ++## but WITHOUT ANY WARRANTY; without even the implied warranty of ++## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++## GNU General Public License for more details. ++## ++## You should have received a copy of the GNU General Public License ++## along with this program. If not, see . ++ ++FROM opensuse/tumbleweed:latest ++RUN zypper --non-interactive install dnf rpm-repos-openSUSE-Tumbleweed \ ++ && \ ++ dnf install -y \ ++ asciidoc \ ++ autoconf \ ++ automake \ ++ dbus-1-glib-devel \ ++ diffutils \ ++ file \ ++ gcc-c++ \ ++ git \ ++ libgcrypt-devel \ ++ libqb-devel \ ++ libsodium-devel \ ++ libtool \ ++ libxslt \ ++ make \ ++ polkit-devel \ ++ protobuf-devel ++ADD usbguard.tar usbguard/ ++ADD catch.tar usbguard/src/ThirdParty/Catch/ ++ADD pegtl.tar usbguard/src/ThirdParty/PEGTL/ ++WORKDIR usbguard ++RUN git init &>/dev/null && ./autogen.sh ++RUN ./configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN make dist ++RUN tar xf usbguard-*.tar.gz ++RUN mv -v usbguard-*.*.*/ usbguard-release/ ++RUN mkdir usbguard-release/build/ ++WORKDIR usbguard-release/build/ ++RUN ../configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN bash -c 'set -o pipefail; make V=1 "-j$(nproc)" |& tee build.log' ++RUN ! grep -F 'include file not found' build.log +diff --git a/src/Library/Base64.cpp b/src/Library/Base64.cpp +index ddb28dce..0246a134 100644 +--- a/src/Library/Base64.cpp ++++ b/src/Library/Base64.cpp +@@ -22,7 +22,6 @@ + + #include "Base64.hpp" + #include +-#include + + namespace usbguard + { +diff --git a/src/Library/Base64.hpp b/src/Library/Base64.hpp +index 0947f214..e0c745cb 100644 +--- a/src/Library/Base64.hpp ++++ b/src/Library/Base64.hpp +@@ -23,6 +23,7 @@ + #endif + + #include ++#include + #include + + namespace usbguard -- 2.42.0 From thomas.petazzoni at bootlin.com Sat Oct 14 05:36:56 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 14 Oct 2023 05:36:56 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-13 Message-ID: <20231014053702.41FFE60BA6@smtp3.osuosl.org> Hello, Autobuild statistics for 2023-10-13 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 13 | 10 | 0 | 23 | 2023.08.x | 13 | 6 | 0 | 19 | master | 88 | 114 | 0 | 202 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 17 alsa-utils-1.2.10 | 9 gcc-final-12.3.0 | 9 host-go-1.21.3 | 6 linux-6.5.7 | 5 mariadb-10.11.4 | 5 spirv-tools-1.3.261.1 | 5 alsa-lib-1.2.10 | 4 bird-2.0.12 | 3 memcached-1.6.21 | 3 coreutils-9.3 | 2 elfutils-0.189 | 2 libarchive-3.7.2 | 2 libglib2-2.76.1 | 2 ncmpc-0.47 | 2 openblas-0.3.24 | 2 pppd-2.5.0 | 2 unknown | 2 acpid-2.0.34 | 1 bat-0.23.0 | 1 brltty-6.5 | 1 conmon-2.1.8 | 1 cryptodev-linux-1.13 | 1 dust-0.8.1 | 1 edk2-edk2-stable202308 | 1 erlang-26.0.2 | 1 ffmpeg-4.4.4 | 1 gcc-final-13.2.0 | 1 glibc-2.38-27-g750a45a78390... | 1 gobject-introspection-1.76.1 | 1 host-gcc-final-12.3.0 | 1 host-rust-1.71.1 | 1 host-sentry-cli-2.20.3 | 1 libostree-2023.6 | 1 libselinux-3.5 | 1 libv4l-1.24.1 | 1 linux-5.10.162-cip24 | 1 linux-5.10.162-cip24-rt10 | 1 linux-tools | 1 lttng-modules-2.13.7 | 1 mutt-2.2.12 | 1 pango-1.50.14 | 1 pcre2-10.42 | 1 poke-3.0 | 1 systemd-254 | 1 tar-1.35 | 1 tpm2-tss-3.2.2 | 1 usbguard-1.1.2 | 1 valgrind-3.21.0 | 1 x264-baee400fa9ced6f5481a72... | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64el | acpid-2.0.34 | NOK | http://autobuild.buildroot.net/results/251023cf51dc234314073967ab1698b454f738d5 | ORPH powerpc | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/481ac9da78d977ff4ee14a00b4b344d1e2d293a1 | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a57f1c0ec0709d8010e6f14969faf35c0508da13 | mips64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/902103db2cdce93e7c566c74fee075db0e9b70a3 | x86_64 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/f84f064120f693ae8b1e8ee954d1d0d7731a80fc | i686 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/1d2c20257724c651cf801cf865e171f50e261e7f | powerpc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/a00aa41bbae29d211b2939d899a621112f6ed9e0 | sh4aeb | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/5a03cba08bf24d61c816b8e2f257c18004bad3d7 | arc | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/2561e1f14ac2ff0c272c20f096e6f8469a6ffa44 | x86_64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/241d170015c04313647b66e9dc1cb797364c0f33 | or1k | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/9d5ef1bb088b69b1c2838bc482c51b7a840a3e93 | sparc64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/af3ed2e9b00f1be0e585a2db3b22e8d006b58250 | aarch64 | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/f2beba0cc5ffda9f27e609fe95486ab22f4f5574 | aarch64_be | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/b383b6bf77f1c947d87f5d0b088963b85f5f3fd1 | armeb | bat-0.23.0 | NOK | http://autobuild.buildroot.net/results/cead55d7df7db450fbafbd70ebe799b7675ad681 | armeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/9a09ebd9d676a8ffed678296472a69d9ea879d51 | arc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c601197b89b911ae318026310cee99124fb2d970 | powerpc | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/cbb78de5d842506c8d156a8fdb2111b5c15f6f1e | microblazeel | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/5f3af77a3104c138cf00c98adc9526459145e6b2 | sparc | conmon-2.1.8 | NOK | http://autobuild.buildroot.net/results/f5a554bd7d71ea92ae05202b921eab9a5e95a973 | mips | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/3ee0b65f25cfe6d8c0e48bfac87b2f9706b59f20 | ORPH or1k | coreutils-9.3 | NOK | http://autobuild.buildroot.net/results/2af5cf88720ffb93aaed3fe6a65091bd963ef8ef | ORPH arceb | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/cdf78824aecd90a73c379720a026a341e69627f8 | ORPH armeb | dust-0.8.1 | NOK | http://autobuild.buildroot.net/results/7c9a6de5d167fb3734b2f3012afeefaa8021220a | ORPH i686 | edk2-edk2-stable202308 | NOK | http://autobuild.buildroot.net/results/61cd42fda236c5507842604a4db8c28b0b8ebe2f | microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/a2b1f801f4533ded8a95e423d883ed7001c26259 | ORPH nios2 | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/ae7373105dc383cb5a1b784fcd4d5a4ff0c9d4e6 | ORPH x86_64 | erlang-26.0.2 | NOK | http://autobuild.buildroot.net/results/007358eb184dece4d203a8514a6d473f8b116619 | i686 | ffmpeg-4.4.4 | NOK | http://autobuild.buildroot.net/results/983beccc3c1366130524a8b85a69931bddaf2046 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/492887de1da1d8dde551c0f1745c65d6216140a6 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/3a481dc60971f9f144290ef6bd213c9f76e64594 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/2d1fab7e81727f7c2c1a85ba0fd53d8a858f2cf0 | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/14a6d5432d4df4d35aff5a87cfcd059e2cf22486 | aarch64_be | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/270ae0c201c6d47d975943b1418e6a2e1395c3fb | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/45411af96bdb0c336dc4b5a1574107f9435ba0d4 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/833884c404d00679b98b48896095e5734fcb6be9 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/f0a78d0e8feccde63f44f8adf566de005e785228 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/c0666eb5f2bd405bc47a363cacc2279303ba1912 | x86_64 | gcc-final-13.2.0 | NOK | http://autobuild.buildroot.net/results/ed264c8f35d0d922ef8b2044614c5dd04e10c47f | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/dad34bdd6d86af5f66e027adea35ffe124d7db1f | nios2 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/034d65b81b93a8c97c64565da46f970d036765f8 | ORPH microblazeel | host-gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/8e04390222984ecba8a48114fe27d260cf5e3070 | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/1f00e1b024d0dcf776ab5e9bec82bad159d2ad8f | powerpc64le | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/80ad00874fcdaec212b0ebe79837720a032c292b | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/976e7ccfcd818868575f1d9f328c955820e87018 | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/17249cbfb451378abcae3be8f367383139a5f1b8 | nios2 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/ec2e3b9855168293201ac84c7eb54a279fc53b15 | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/a32004c9eb031ef79370de3de39d409eeca45224 | s390x | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4623ad817128bc44bd8aad1f32c28ba0b30a863e | s390x | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/2fc08b07153ce3e38e0d1ed34fad524c0d5ea9d3 | microblaze | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/cd98d951ab762dbf5fd03477748042a7fc2c52da | arm | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/c117d29b3c40ff96f6a788545bac70a745ddebef | arc | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/9476fc4d2ed8f29b1f942a05fd21a4ad9b892531 | arc | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/1cb9c2c01c4cba054bcbb6830bfa27b42bc5f053 | arm | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/31ca0dd49f5ec39fa71d039619bdc3ca0e89d987 | microblazeel | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/8b03dcb1211ddf35936a6c0a3b6f837c79800cf9 | m68k | libv4l-1.24.1 | NOK | http://autobuild.buildroot.net/results/445f074e4c66e06032455be7fc8f2f9c243852ce | x86_64 | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/37db1aea1cf2e61addf73f66c153b7a1614336bf | ORPH i686 | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/5de8c58db5729d90e842783c3f51ac7725d8381c | ORPH sh4a | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/caa7411af800aa9226940f6b5925e90ca0c0489f | ORPH powerpc64 | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/1e38a3812bf103418f1518583d446090005f45af | ORPH mips64el | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/b925fe0dc865c3ca3cfb900dbc9d09c0ad865df0 | ORPH mips64 | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/54f6547d0c6002ca1eae17a791aca34d8ffb44c8 | ORPH powerpc64le | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/4ba333bb3b0d7ad7dc0e50e79d608360248ddb5c | ORPH i686 | linux-tools | NOK | http://autobuild.buildroot.net/results/e329fdbf2b9be57531abcc4104b8e92d78b5f645 | ORPH aarch64 | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/3d454bf766463b9a57b4395f20115362ec8e5462 | powerpc | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/9bf8a234d8e796ff3ab41a504532d45573a3fe59 | ORPH xtensa | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/c64b34a0b4a6e0bdc70620412436c34cf28a0ff7 | ORPH powerpc64le | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/0789fcf7732dc2e70cfaa3aeba2ca8a86d2a4a4c | ORPH s390x | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/d70c65363eb9c1729fcfd4d7b47fc09ecd1e31c0 | ORPH powerpc64le | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/d256032dcfde72d50f8a5be79f828d4122139320 | ORPH xtensa | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/c06d0f270689c80dc2a99d264e782a8e54db62ff | ORPH arc | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/bc89372da294962168e899df1be59072312e2c8a | ORPH powerpc | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/fd21b0a8f332aa648e4dd8a8b74881b64bc4f79f | ORPH armeb | mutt-2.2.12 | NOK | http://autobuild.buildroot.net/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 | mipsel | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/f5884167f177bf86bc394acd6c6d62d4d494c2ba | microblazeel | ncmpc-0.47 | NOK | http://autobuild.buildroot.net/results/996164bca901842ad0c4ed6655a9f03cbb28ce5c | mips64 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/fbf4b7ec58c37e9786adb7e7146adb8dc0efdd7d | i686 | openblas-0.3.24 | NOK | http://autobuild.buildroot.net/results/cf297f9ac5dded372d2bb2e7fd552f0e47dcaeee | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5fee37ac55628d4e8e3eb4f88b04db33506a5c89 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/441d61539d533688cca71f8fcc5c3b6ee1b91532 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ae2d8d4ec2539be0aaf6b067226776554739c097 | mips64el | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/bdd57c92e039ea4bba8b8c830e79b711b1dcaf9a | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/2eb8c9077d3dd39bb4c835fc48e61aabecd6031b | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/021c1f7395a309d7b69a174bf20ff60c9fbecb8d | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/558f13c399f74acc75f384051bef597697d73d93 | arm | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7e21bd12e3ab80816bec743183c1ad5caf8061f0 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c741e472cdc0a3e8a8b46a88f53e2e8dca74d367 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a9005109f3078b9606ce20e5f466ca69ad431590 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/622ebb8061ee169eca384771c44960d16ca7033a | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/8e3f477d25ac550fd6983bac7b71ce5b5767748f | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/603299299b4d869a76fbe4760ebfe5505074f2e2 | sh4aeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a03a3d5a5f473f37bbfd5c01c006771cc3d8ff15 | armeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/562045f5cebd261c13c1d8d806d10ad0624882c1 | s390x | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/36107efefb6e522e1578ceaf69f4a6aed6152a74 | sh4eb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/4e314fd029a0bdd99f65b913637936bd146c2fa0 | s390x | pango-1.50.14 | NOK | http://autobuild.buildroot.net/results/38040bb26a3a098e35ad8e3680ca805a0ee327b0 | ORPH mips | pcre2-10.42 | NOK | http://autobuild.buildroot.net/results/40e52f70be576ffaf5ca2e20c0ff4b1a349900f9 | ORPH sparc64 | poke-3.0 | NOK | http://autobuild.buildroot.net/results/840b540eb013304477d11e7acc064b5e2c36ef80 | ORPH sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/bb40f323c93e63888af9fd9d3ae058ed98c6f97f | sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/97b35ba147632da012921c12217358f9ff93b141 | x86_64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/deb20180bdf6e87149735f667a43d9a164e98354 | ORPH mips | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/3503e484b37e9239ba46338725ee07a6783754f0 | ORPH arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/597760cfc643bed49d5da968d7f30ba2861370e9 | ORPH microblazeel | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/8527d094434e82b62d09489f83ddcf49be3cdc89 | ORPH aarch64_be | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/929ba5858ceeeccad2a5ac3741cec7acbbe23ef9 | ORPH s390x | systemd-254 | NOK | http://autobuild.buildroot.net/results/293fc5f10afe342439166954073fed1a091cce20 | xtensa | tar-1.35 | NOK | http://autobuild.buildroot.net/results/2d8f0dab69b2d18f60d7b29eb8d1005663c3577b | ORPH aarch64_be | tpm2-tss-3.2.2 | NOK | http://autobuild.buildroot.net/results/e0bb431d7d658b558c30d67ec5d7650fff9715a8 | ORPH sh4a | unknown | NOK | http://autobuild.buildroot.net/results/b26c43d753463a22597e373e241dcc4f956eff42 | powerpc64 | unknown | NOK | http://autobuild.buildroot.net/results/0a3cc15de64a10e8f4324eb632ce3978e1ef4026 | arceb | usbguard-1.1.2 | NOK | http://autobuild.buildroot.net/results/c3ac232326a92811f8497ef44ac5a5b63b02996f | mips64el | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/b20a8161873f9d631e613b7cf424acbf6cef444a | ORPH i686 | x264-baee400fa9ced6f5481a72... | NOK | http://autobuild.buildroot.net/results/78d01c69c92ab01cf66b9962003521515ffc9f23 | Classification of failures by reason for 2023.02.x -------------------------------------------------- bird-2.0.12 | 3 host-go-1.20.9 | 2 host-rust-1.67.1 | 2 elfutils-0.186 | 1 host-binutils-2.39 | 1 qemu-7.2.1 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- xtensa | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/28ad0a23bb6d6048ec94fb401f7e3ef905f5a375 | armeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/2e4e2ebc0916c1a80439dc9ced60d437528ba593 | mips64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/8c59a0ecbdb1e2eff7258e60628eb0396638fc5b | arceb | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/94c558bc8bd90cedeef7223b126327a38a5f3df5 | ORPH microblaze | host-binutils-2.39 | NOK | http://autobuild.buildroot.net/results/ed95b30b18fc1ad625d50c0e1c2ce77a0785b6b4 | mips64el | host-go-1.20.9 | NOK | http://autobuild.buildroot.net/results/7716b71e6c355f6386db9e97162c9d6c8af75f8a | mips64 | host-go-1.20.9 | NOK | http://autobuild.buildroot.net/results/9a9ae6e30dd46ec4054ceea888c70607218a162b | mips | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/f636075250957d5c9112f65cc671f37f696f643a | x86_64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/e7df70d18dbcc99d378fa90da0e71f3a654f0a40 | aarch64 | qemu-7.2.1 | NOK | http://autobuild.buildroot.net/results/0e74f55f3ac85b90162b826ff4cd0bb305f290ee | Classification of failures by reason for 2023.08.x -------------------------------------------------- gobject-introspection-1.76.1 | 2 host-rust-1.71.1 | 2 bird-2.0.12 | 1 python-stack-data-0.6.2 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- powerpc64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/191b684a1862c87a3fce30172d5f96d3611ec4dd | sh4aeb | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/96063e644d954378ce604c6665927721c0ef0850 | ORPH mipsel | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/a0b678803192bd8df3f0a8807c381330585e4d5f | ORPH mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/a8f60b099b6759cd5df6672cc93415a3e053ae67 | powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4c804e3578e9843a3ba16165a458dc77314ef43f | s390x | python-stack-data-0.6.2 | NOK | http://autobuild.buildroot.net/results/866dfc5ca64daafeb59dea4e6eb32f827355ebc6 | Gitlab CI results for 2023-10-13 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ at91sam9x5ek_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539719 | at91sam9x5ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539725 | beaglev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539782 | broadcom_northstar | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539787 | canaan_kd233 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539789 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539858 | grinn_chiliboard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539899 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539967 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276539991 | imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540001 | kontron_pitx_imx8m | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540020 | microchip_mpfs_icicle | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540061 | octavo_osd32mp1_brk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540153 | octavo_osd32mp1_red | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540156 | orangepi_lite2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540186 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540192 | qemu_m68k_mcf5208 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540268 | qemu_riscv64_nommu_virt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5276540294 | qemu_xtensa_lx60_nommu | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285816899 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285836583 | ORPH sipeed_maix_bit | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838372 | sipeed_maix_bit_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838387 | sipeed_maix_dock | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838487 | sipeed_maix_dock_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838704 | sipeed_maix_go | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285838976 | sipeed_maix_go_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839425 | sipeed_maixduino | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839492 | sipeed_maixduino_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839529 | snps_arc700_axs101 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839654 | snps_arc700_nsim | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839721 | socrates_cyclone5 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285839990 | stm32mp157a_dk1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285840392 | stm32mp157c_dk2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285840446 | toradex_apalis_imx6 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5285840749 | Detail of runtime-test failures for master ------------------------------------------ runtime-test | link to the job | orph? --------------------------+---------------------------------------------------------------+------ TestIPythonPy3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971447 | ORPH ...erlayfsVarBackingFstab | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971040 | ORPH ...yfsVarBackingMountUnit | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971043 | ORPH ...busbrokerDbusOverlayfs | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971057 | ORPH TestLuaLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971573 | ORPH TestLuaLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971659 | ORPH TestLuajitLsqlite3 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971579 | ORPH TestLuajitLuacURL | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248971661 | ORPH TestOla | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972107 | ORPH TestPolkitInitd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972256 | ORPH TestPolkitSystemd | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972261 | ORPH TestPythonPahoMQTT | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972480 | ORPH TestPythonPy3Construct | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972348 | ORPH TestPythonPy3Dicttoxml2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972370 | ORPH TestPythonPy3Dtschema | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972378 | ORPH TestPythonPy3Hkdf | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972413 | ORPH ...PythonPy3MagicWormhole | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972447 | ORPH TestPythonPy3Mako | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972457 | ORPH TestPythonPy3MakoExt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972464 | ORPH TestPythonPy3Passlib | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972481 | ORPH TestPythonPy3Pynacl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972501 | ORPH TestPythonPy3Pysmb | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972507 | ORPH TestPythonPy3Pyyaml | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972522 | ORPH TestPythonPy3RSA | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972547 | ORPH TestPythonPy3SciPy | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972564 | ORPH TestPythonPy3Spake2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972594 | ORPH TestStressNG | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972758 | ORPH TestZfsGlibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972875 | ORPH TestZfsMusl | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972883 | ORPH TestZfsUclibc | https://gitlab.com/buildroot.org/buildroot/-/jobs/5248972897 | ORPH -- http://autobuild.buildroot.net From Noreply at busybox.net Sat Oct 14 06:41:13 2023 From: Noreply at busybox.net (Noreply at busybox.net) Date: 14 Oct 2023 08:41:13 +0200 Subject: [Buildroot] E-mail Account Verification For buildroot@busybox.net !!! Message-ID: <20231014084112.9245F7C0FA108C77@busybox.net> An HTML attachment was scrubbed... URL: From veredz72 at gmail.com Sat Oct 14 07:39:31 2023 From: veredz72 at gmail.com (Zvi Vered) Date: Sat, 14 Oct 2023 10:39:31 +0300 Subject: [Buildroot] buildroot 2021.0.1: couldn't find RGB GLX visual or fbconfig Message-ID: Hello, In my .config I enabled few MESA3D components in order to use OpenGL Upon running glxinfo I got: couldn't find RGB GLX visual or fbconfig In my .config file I found the following section: # # linux-fusion needs a Linux kernel to be built # BR2_PACKAGE_MESA3D=y # BR2_PACKAGE_MESA3D_LLVM is not set BR2_PACKAGE_MESA3D_GALLIUM_DRIVER=y BR2_PACKAGE_MESA3D_DRI_DRIVER=y BR2_PACKAGE_MESA3D_DRIVER=y BR2_PACKAGE_MESA3D_NEEDS_X11=y Does it mean that I have to modify my kernel configuration for "linux-fusion" ? Kernel version: vanilla 4.19.135 (x64) Thank you, Zvika From bernd at kuhls.net Sat Oct 14 12:42:43 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sat, 14 Oct 2023 14:42:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: security bump version to 4.18.8 Message-ID: <20231014124243.80138-1-bernd@kuhls.net> Release notes: https://www.samba.org/samba/history/samba-4.18.8.html Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & CVE-2023-42670. Signed-off-by: Bernd Kuhls --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fea760c500..9843d419f0 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc -sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc +sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index cfa94fc141..9cf7a59d9b 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.7 +SAMBA4_VERSION = 4.18.8 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES -- 2.39.2 From hanyuan-z at qq.com Sat Oct 14 15:11:40 2023 From: hanyuan-z at qq.com (Hanyuan Zhao) Date: Sat, 14 Oct 2023 23:11:40 +0800 Subject: [Buildroot] [PATCH 1/1] package/wiringX: add GPIO library wiringX Message-ID: wiringX is a cross-platform GPIO interface that allows developers to control the GPIO of various platforms with generic and uniform functions. By using wiringX, the same code will run on all platforms supported by wiringX. https://github.com/wiringX/wiringX Signed-off-by: Hanyuan Zhao --- package/Config.in | 1 + ...ed-time-type-error-when-compiling-by.patch | 47 +++++++++++++++++++ package/wiringx/Config.in | 18 +++++++ package/wiringx/wiringx.hash | 3 ++ package/wiringx/wiringx.mk | 12 +++++ 5 files changed, 81 insertions(+) create mode 100644 package/wiringx/0001-Fix-the-undeclared-time-type-error-when-compiling-by.patch create mode 100644 package/wiringx/Config.in create mode 100644 package/wiringx/wiringx.hash create mode 100644 package/wiringx/wiringx.mk diff --git a/package/Config.in b/package/Config.in index 009f7ba186..b13f91263a 100644 --- a/package/Config.in +++ b/package/Config.in @@ -651,6 +651,7 @@ endmenu source "package/wf111/Config.in" source "package/wilc-driver/Config.in" source "package/wipe/Config.in" + source "package/wiringx/Config.in" source "package/xorriso/Config.in" source "package/xr819-xradio/Config.in" endmenu diff --git a/package/wiringx/0001-Fix-the-undeclared-time-type-error-when-compiling-by.patch b/package/wiringx/0001-Fix-the-undeclared-time-type-error-when-compiling-by.patch new file mode 100644 index 0000000000..43f2afc7a3 --- /dev/null +++ b/package/wiringx/0001-Fix-the-undeclared-time-type-error-when-compiling-by.patch @@ -0,0 +1,47 @@ +From 3185311331f8fb90ce5dd9376e8b35bff4bb083f Mon Sep 17 00:00:00 2001 +From: Hanyuan Zhao +Date: Sat, 14 Oct 2023 14:46:15 +0800 +Subject: [PATCH] Fix the undeclared time type error when compiling by + buildroot + +Signed-off-by: Hanyuan Zhao +--- + src/wiringx.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/wiringx.c b/src/wiringx.c +index e831caa..b424c5b 100644 +--- a/src/wiringx.c ++++ b/src/wiringx.c +@@ -119,8 +119,8 @@ static void delayMicrosecondsHard(unsigned int howLong) { + tLong.tv_sec = howLong / 1000000; + tLong.tv_usec = howLong % 1000000; + #else +- tLong.tv_sec = (__time_t)howLong / 1000000; +- tLong.tv_usec = (__suseconds_t)howLong % 1000000; ++ tLong.tv_sec = (time_t)howLong / 1000000; ++ tLong.tv_usec = (suseconds_t)howLong % 1000000; + #endif + timeradd(&tNow, &tLong, &tEnd); + +@@ -135,7 +135,7 @@ EXPORT void delayMicroseconds(unsigned int howLong) { + long int uSecs = howLong % 1000000; + unsigned int wSecs = howLong / 1000000; + #else +- long int uSecs = (__time_t)howLong % 1000000; ++ long int uSecs = (time_t)howLong % 1000000; + unsigned int wSecs = howLong / 1000000; + #endif + +@@ -147,7 +147,7 @@ EXPORT void delayMicroseconds(unsigned int howLong) { + #ifdef _WIN32 + sleeper.tv_sec = wSecs; + #else +- sleeper.tv_sec = (__time_t)wSecs; ++ sleeper.tv_sec = (time_t)wSecs; + #endif + sleeper.tv_nsec = (long)(uSecs * 1000L); + nanosleep(&sleeper, NULL); +-- +2.34.1 + diff --git a/package/wiringx/Config.in b/package/wiringx/Config.in new file mode 100644 index 0000000000..9c1e7d168e --- /dev/null +++ b/package/wiringx/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_WIRINGX + bool "wiringX" + help + wiringX is a cross-platform GPIO interface that allows + developers to control the GPIO of various platforms with + generic and uniform functions. By using wiringX, the same + code will run on all platforms supported by wiringX. + + Supported vendors: + + allwinner = + amlogic = + broadcom = + nXP = + rockchip = + samsung = + + https://wiringx.org/ diff --git a/package/wiringx/wiringx.hash b/package/wiringx/wiringx.hash new file mode 100644 index 0000000000..b98e707326 --- /dev/null +++ b/package/wiringx/wiringx.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 62a0bae8f749ad934f1309cdb9df1dbc79a6ce2abc8c6da11040673564c8fb0b wiringx-54030cd9b68ef895439e1444f418524e16cbb4c1.tar.gz +sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 LICENSE diff --git a/package/wiringx/wiringx.mk b/package/wiringx/wiringx.mk new file mode 100644 index 0000000000..b72046ab60 --- /dev/null +++ b/package/wiringx/wiringx.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# wiringX +# +################################################################################ + +WIRINGX_VERSION = 54030cd9b68ef895439e1444f418524e16cbb4c1 +WIRINGX_SITE = $(call github,wiringX,wiringX,$(WIRINGX_VERSION)) +WIRINGX_LICENSE = MPL-2.0 +WIRINGX_LICENSE_FILES = LICENSE + +$(eval $(cmake-package)) -- 2.34.1 From baruch at tkos.co.il Sat Oct 14 18:13:52 2023 From: baruch at tkos.co.il (Baruch Siach) Date: Sat, 14 Oct 2023 21:13:52 +0300 Subject: [Buildroot] [PATCH 3/4] package/alsa-utils: Fix musl build In-Reply-To: <20231013184554.337101-3-bernd@kuhls.net> References: <20231013184554.337101-1-bernd@kuhls.net> <20231013184554.337101-3-bernd@kuhls.net> Message-ID: <87a5sl2hpy.fsf@tarshish> Hi Bernd, On Fri, Oct 13 2023, Bernd Kuhls wrote: > Fixes: > http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ > > This musl-related autobuilder error occured when building alsa-lib and > is fixed by > https://patchwork.ozlabs.org/project/buildroot/patch/20230927052204.231589-1-bernd at kuhls.net/ > > When continuing the build of this defconfig we see a build error with > alsa-utils which is fixed by this patch. > > Signed-off-by: Bernd Kuhls > --- > .../0009-topology-include-locale.h.patch | 33 +++++++++++++++++++ > ...nhlt-dmic-info.c-include-sys-types.h.patch | 33 +++++++++++++++++++ > package/alsa-utils/Config.in | 1 + > 3 files changed, 67 insertions(+) > create mode 100644 package/alsa-utils/0009-topology-include-locale.h.patch > create mode 100644 package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch [...] > diff --git a/package/alsa-utils/Config.in b/package/alsa-utils/Config.in > index 3429d0b406..be222501b9 100644 > --- a/package/alsa-utils/Config.in > +++ b/package/alsa-utils/Config.in > @@ -65,6 +65,7 @@ config BR2_PACKAGE_ALSA_UTILS_APLAY > > config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI > bool "aplaymidi" > + select BR2_PACKAGE_ALSA_LIB_RAWMIDI Is this related to the musl build fix? baruch > select BR2_PACKAGE_ALSA_LIB_SEQ > > config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From giulio.benetti at benettiengineering.com Sat Oct 14 18:45:21 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 20:45:21 +0200 Subject: [Buildroot] [PATCH 2/2] DEVELOPERS: add Giulio Benetti for board Rockpro64 In-Reply-To: <20231014184521.87527-1-giulio.benetti@benettiengineering.com> References: <20231014184521.87527-1-giulio.benetti@benettiengineering.com> Message-ID: <20231014184521.87527-2-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- DEVELOPERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index 86496f6cc5..4d0b9debc5 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1200,6 +1200,7 @@ F: board/bananapi/bananapi-m2-ultra/ F: board/freescale/imx6ullevk/ F: board/freescale/imxrt1050evk/ F: board/olimex/a* +F: board/pine64/rockpro64 F: configs/amarula_vyasa_rk3288_defconfig F: configs/asus_tinker_rk3288_defconfig F: configs/bananapi_m2_berry_defconfig @@ -1208,6 +1209,7 @@ F: configs/freescale_imx6ullevk_defconfig F: configs/imx6ullevk_defconfig F: configs/imxrt1050-evk_defconfig F: configs/olimex_a* +F: configs/rockpro64_defconfig F: package/at/ F: package/binutils/ F: package/cryptsetup/ -- 2.34.1 From giulio.benetti at benettiengineering.com Sat Oct 14 18:45:20 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 20:45:20 +0200 Subject: [Buildroot] [PATCH 1/2] configs/rockpro64_defconfig: bump ATF to 2.9, U-Boot to 2023.07 and Linux to 6.5.7 Message-ID: <20231014184521.87527-1-giulio.benetti@benettiengineering.com> Also, since wi ith Linux commit [1] it's been defined the mmc* order making sd-card number to be 1 instead of 0. This prevent to boot from mmc0 with Linux version 5.10+ so let's change mmcblk0p4 to mmcblk1p4 in extlinux.conf in order to boot since we bump to Linux 6.5.7 [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0011c6d182774fc781fb9e115ebe8baa356029ae Signed-off-by: Giulio Benetti --- board/pine64/rockpro64/extlinux.conf | 2 +- configs/rockpro64_defconfig | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/board/pine64/rockpro64/extlinux.conf b/board/pine64/rockpro64/extlinux.conf index ea081a1f0b..83467ef43c 100644 --- a/board/pine64/rockpro64/extlinux.conf +++ b/board/pine64/rockpro64/extlinux.conf @@ -1,4 +1,4 @@ label RK3399_ROCKPRO64 linux kernel /Image devicetree /rk3399-rockpro64.dtb - append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk0p4 rw rootwait + append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p4 rw rootwait diff --git a/configs/rockpro64_defconfig b/configs/rockpro64_defconfig index d39640f855..4704ac7206 100644 --- a/configs/rockpro64_defconfig +++ b/configs/rockpro64_defconfig @@ -2,13 +2,13 @@ BR2_aarch64=y BR2_cortex_a72_a53=y -# Linux headers same as kernel, a 5.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y +# Linux headers same as kernel, a 6.5 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_5=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9.0" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y @@ -18,7 +18,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rockpro64-rk3399" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y @@ -32,7 +32,7 @@ BR2_TARGET_UBOOT_SPL_NAME="idbloader.img" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.2" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.7" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-rockpro64" -- 2.34.1 From yann.morin.1998 at free.fr Sat Oct 14 20:36:45 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 14 Oct 2023 22:36:45 +0200 Subject: [Buildroot] [PATCH] package/gcc: remoce leftover from legacy PowerPC patch Message-ID: <20231014203645.866867-1-yann.morin.1998@free.fr> In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching logic), the macro defining the conditional patch was removed, but it was still referenced and expanded in the apply-patches hook. Drop that now. Signed-off-by: Yann E. MORIN Cc: Romain Naour --- package/gcc/gcc.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 4a3b780618..9a164c8374 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -44,7 +44,6 @@ define HOST_GCC_APPLY_PATCHES $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ fi; \ done - $(HOST_GCC_APPLY_POWERPC_PATCH) endef HOST_GCC_EXCLUDES = \ -- 2.25.1 From giulio.benetti at benettiengineering.com Sat Oct 14 21:57:40 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 23:57:40 +0200 Subject: [Buildroot] [PATCH v4 3/4] package/linux-tools: add rtla In-Reply-To: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> References: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> Message-ID: <20231014215741.716289-3-giulio.benetti@benettiengineering.com> From: Maxime Chevallier The RealTime Linux Analysis tool includes a set of commands that relies on the osnoise and timerlat tracers from the ftrace kernel subsystem, allowing to analyze the lantency sources coming from the hardware and the kernel itself. This tool was introduced in v5.17, and relies on libtracefs and libtraceevent, although libtraceevent itself is already a dependency for libtracefs. Signed-off-by: Maxime Chevallier [Giulio: fix install on recent Linux versions] Signed-off-by: Giulio Benetti --- V1->V2: * fix install with recent Linux versions V2->V3: * deal with hwnoise presence as suggested by Yann Morin * change Config.in comment according to the point above --- DEVELOPERS | 2 ++ package/linux-tools/Config.in | 10 ++++++ package/linux-tools/linux-tool-rtla.mk.in | 40 +++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 package/linux-tools/linux-tool-rtla.mk.in diff --git a/DEVELOPERS b/DEVELOPERS index 5c4bc87e16..8f76d471ee 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1223,6 +1223,7 @@ F: package/libnss/ F: package/libnvme/ F: package/libtraceevent/ F: package/libtracefs +F: package/linux-tools/linux-tool-rtla.mk.in F: package/mali-driver/ F: package/minicom/ F: package/mmc-utils/ @@ -2116,6 +2117,7 @@ F: package/timescaledb/ N: Maxime Chevallier F: package/libtraceevent/ F: package/libtracefs +F: package/linux-tools/linux-tool-rtla.mk.in N: Michael Durrant F: board/arcturus/ diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in index 451b0eeff5..4df73159be 100644 --- a/package/linux-tools/Config.in +++ b/package/linux-tools/Config.in @@ -102,6 +102,16 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3 endif +config BR2_PACKAGE_LINUX_TOOLS_RTLA + bool "rtla" + select BR2_PACKAGE_LINUX_TOOLS + select BR2_PACKAGE_LIBTRACEFS + help + Linux 5.19 and later has 2 new tracers, osnoise and timerlat. + Linux 6.3 has new tracer hwnoise. These tracers allow performing + latency analysis, for which the rtla tool provides wrapper + commands to visualize and extract latency traces and reports. + config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS bool"selftests" depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash diff --git a/package/linux-tools/linux-tool-rtla.mk.in b/package/linux-tools/linux-tool-rtla.mk.in new file mode 100644 index 0000000000..04b98f443d --- /dev/null +++ b/package/linux-tools/linux-tool-rtla.mk.in @@ -0,0 +1,40 @@ +################################################################################ +# +# rtla +# +################################################################################ + +LINUX_TOOLS += rtla + +RTLA_DEPENDENCIES = host-pkgconf libtracefs +RTLA_MAKE_OPTS = $(LINUX_MAKE_FLAGS) \ + CC=$(TARGET_CC) \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig + +define RTLA_BUILD_CMDS + $(Q)if ! grep install $(LINUX_DIR)/tools/tracing/rtla/Makefile >/dev/null 2>&1 ; then \ + echo "Your kernel version is too old and does not implement the rtla tool." ; \ + echo "At least kernel 5.19 must be used." ; \ + exit 1 ; \ + fi + + $(TARGET_MAKE_ENV) \ + $(MAKE) $(RTLA_MAKE_OPTS) \ + -C $(LINUX_DIR)/tools/tracing rtla +endef + +# make rtla_install build and install by default documentation using rst2man +# but it's not available in Buildroot and we don't want manual files in target +# folder so let's simply install the resulting rtla binary and create symlinks +# like Linux does in its tools/tracing/rtla/Makefile +define RTLA_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(LINUX_DIR)/tools/tracing/rtla/rtla $(TARGET_DIR)/usr/bin + ln -sf rtla $(TARGET_DIR)/usr/bin/osnoise + ln -sf rtla $(TARGET_DIR)/usr/bin/timerlat + + # Check if hwnoise is provided or not + if grep -q hwnoise $(LINUX_DIR)/tools/tracing/rtla/Makefile; then \ + ln -sf rtla $(TARGET_DIR)/usr/bin/hwnoise ; \ + fi +endef -- 2.34.1 From giulio.benetti at benettiengineering.com Sat Oct 14 21:57:39 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 23:57:39 +0200 Subject: [Buildroot] [PATCH v4 2/4] package/libtracefs: new package In-Reply-To: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> References: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> Message-ID: <20231014215741.716289-2-giulio.benetti@benettiengineering.com> From: Maxime Chevallier Introduce the libtracefs library, that is used to be bundled with the trace-cmd tool. This library is now used by several tools and libraries such as trace-cmd and rtla, and is used as an interface to the ftrace kernel subsystem through tracefs. To build with meson, this package requires to disable documentation generation, and since this is not possible add a local patch pending upstream that adds -Ddoc=false support to libtracefs. Signed-off-by: Maxime Chevallier [Giulio: - bump version to 1.7.0 and add hash file - move to meson build system ] Signed-off-by: Giulio Benetti V1->V2: * bump to version 1.7.0 * add hash file V2->V3: * switch to meson build system --- DEVELOPERS | 2 + package/Config.in | 1 + ...-add-option-to-disable-documentation.patch | 51 +++++++++++++++++++ package/libtracefs/Config.in | 6 +++ package/libtracefs/libtracefs.hash | 4 ++ package/libtracefs/libtracefs.mk | 18 +++++++ 6 files changed, 82 insertions(+) create mode 100644 package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch create mode 100644 package/libtracefs/Config.in create mode 100644 package/libtracefs/libtracefs.hash create mode 100644 package/libtracefs/libtracefs.mk diff --git a/DEVELOPERS b/DEVELOPERS index 5506082545..5c4bc87e16 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1222,6 +1222,7 @@ F: package/libnspr/ F: package/libnss/ F: package/libnvme/ F: package/libtraceevent/ +F: package/libtracefs F: package/mali-driver/ F: package/minicom/ F: package/mmc-utils/ @@ -2114,6 +2115,7 @@ F: package/timescaledb/ N: Maxime Chevallier F: package/libtraceevent/ +F: package/libtracefs N: Michael Durrant F: board/arcturus/ diff --git a/package/Config.in b/package/Config.in index 2b3d3e612f..821bd1b366 100644 --- a/package/Config.in +++ b/package/Config.in @@ -118,6 +118,7 @@ menu "Debugging, profiling and benchmark" source "package/latencytop/Config.in" source "package/libbpf/Config.in" source "package/libtraceevent/Config.in" + source "package/libtracefs/Config.in" source "package/lmbench/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" diff --git a/package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch b/package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch new file mode 100644 index 0000000000..0813451008 --- /dev/null +++ b/package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch @@ -0,0 +1,51 @@ +From 881e23ed774360f93ca81f820d7897bd9bbd6d63 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sat, 30 Sep 2023 22:40:08 +0200 +Subject: [PATCH] libtracefs: add option to disable documentation + +On some Linux environment builder(i.e. Buildroot) host asciidoc is not +provided since by default all man/docs are not installed to target but +meson.build at the moment build ascii and html documentation and +requires asciidoc making the building to fail. So let's add doc option +set to true by default to let the user to override it and not produce +the documentation. + +Upstream: https://patchwork.kernel.org/project/linux-trace-devel/patch/20230930204008.2528607-1-giulio.benetti at benettiengineering.com/ + +Signed-off-by: Giulio Benetti +--- + meson.build | 3 +++ + meson_options.txt | 2 ++ + 2 files changed, 5 insertions(+) + +diff --git a/meson.build b/meson.build +index 9d42d78..f1e492e 100644 +--- a/meson.build ++++ b/meson.build +@@ -39,6 +39,8 @@ if cunit_dep.found() + subdir('utest') + endif + subdir('samples') ++ ++if get_option('doc') + subdir('Documentation') + + custom_target( +@@ -46,3 +48,4 @@ custom_target( + output: 'docs', + depends: [html, man], + command: ['echo']) ++endif +diff --git a/meson_options.txt b/meson_options.txt +index 1d92c28..5533a88 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -14,3 +14,5 @@ option('man-bold-literal', type : 'boolean', value : false, + description : 'enable bold literals') + option('docbook-suppress-sp', type : 'boolean', value : false, + description : 'docbook suppress sp') ++option('doc', type : 'boolean', value: true, ++ description : 'produce documentation') +-- +2.34.1 + diff --git a/package/libtracefs/Config.in b/package/libtracefs/Config.in new file mode 100644 index 0000000000..92ce0986df --- /dev/null +++ b/package/libtracefs/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBTRACEFS + bool "libtracefs" + select BR2_PACKAGE_LIBTRACEEVENT + help + libtracefs is used to easily interface with the ftrace + interface through the tracefs virtual filesystem. diff --git a/package/libtracefs/libtracefs.hash b/package/libtracefs/libtracefs.hash new file mode 100644 index 0000000000..676fcf1111 --- /dev/null +++ b/package/libtracefs/libtracefs.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 diff --git a/package/libtracefs/libtracefs.mk b/package/libtracefs/libtracefs.mk new file mode 100644 index 0000000000..cb705d4298 --- /dev/null +++ b/package/libtracefs/libtracefs.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# libtracefs +# +################################################################################ + +LIBTRACEFS_VERSION = 1.7.0 +LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot +LIBTRACEFS_INSTALL_STAGING = YES +LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1 +LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +LIBTRACEFS_DEPENDENCIES = host-pkgconf libtraceevent + +LIBTRACEFS_CONF_OPTS = \ + -Ddoc=false + +$(eval $(meson-package)) -- 2.34.1 From giulio.benetti at benettiengineering.com Sat Oct 14 21:57:38 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 23:57:38 +0200 Subject: [Buildroot] [PATCH v4 1/4] package/libtraceevent: new package Message-ID: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> From: Maxime Chevallier Introduce the libtraceevent library, that is used to be bundled with the trace-cmd tool. This library is now used by several tools and libraries such as trace-cmd, libtracefs and rtla. To build with meson, this package requires to disable documentation generation, and since this is not possible add a local patch pending upstream that adds -Ddoc=false support to libtraceevent. Signed-off-by: Maxime Chevallier [Giulio: - bump version to 1.7.3 and add hash file - move to meson build system ] Signed-off-by: Giulio Benetti --- V1->V2: * bump to version 1.7.3 * add hash file V3->V4: * switch to meson build system --- DEVELOPERS | 4 ++ package/Config.in | 1 + ...-add-option-to-disable-documentation.patch | 51 +++++++++++++++++++ package/libtraceevent/Config.in | 9 ++++ package/libtraceevent/libtraceevent.hash | 4 ++ package/libtraceevent/libtraceevent.mk | 16 ++++++ 6 files changed, 85 insertions(+) create mode 100644 package/libtraceevent/0001-libtraceevent-add-option-to-disable-documentation.patch create mode 100644 package/libtraceevent/Config.in create mode 100644 package/libtraceevent/libtraceevent.hash create mode 100644 package/libtraceevent/libtraceevent.mk diff --git a/DEVELOPERS b/DEVELOPERS index 06583c3c0a..5506082545 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1221,6 +1221,7 @@ F: package/libfuse3/ F: package/libnspr/ F: package/libnss/ F: package/libnvme/ +F: package/libtraceevent/ F: package/mali-driver/ F: package/minicom/ F: package/mmc-utils/ @@ -2111,6 +2112,9 @@ F: package/postgresql/ F: package/protozero/ F: package/timescaledb/ +N: Maxime Chevallier +F: package/libtraceevent/ + N: Michael Durrant F: board/arcturus/ F: configs/arcturus_ucp1020_defconfig diff --git a/package/Config.in b/package/Config.in index f4399a6021..2b3d3e612f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -117,6 +117,7 @@ menu "Debugging, profiling and benchmark" source "package/kyua/Config.in" source "package/latencytop/Config.in" source "package/libbpf/Config.in" + source "package/libtraceevent/Config.in" source "package/lmbench/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" diff --git a/package/libtraceevent/0001-libtraceevent-add-option-to-disable-documentation.patch b/package/libtraceevent/0001-libtraceevent-add-option-to-disable-documentation.patch new file mode 100644 index 0000000000..ba55315175 --- /dev/null +++ b/package/libtraceevent/0001-libtraceevent-add-option-to-disable-documentation.patch @@ -0,0 +1,51 @@ +From 62740520e25c9afbdfbd8cd8ef2e1c6b02d91915 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sat, 30 Sep 2023 22:40:17 +0200 +Subject: [PATCH] libtraceevent: add option to disable documentation + +On some Linux environment builder(i.e. Buildroot) host asciidoc is not +provided since by default all man/docs are not installed to target but +meson.build at the moment build ascii and html documentation and +requires asciidoc making the building to fail. So let's add doc option +set to true by default to let the user to override it and not produce +the documentation. + +Upstream: https://patchwork.kernel.org/project/linux-trace-devel/patch/20230930204017.2528627-1-giulio.benetti at benettiengineering.com/ + +Signed-off-by: Giulio Benetti +--- + meson.build | 3 +++ + meson_options.txt | 2 ++ + 2 files changed, 5 insertions(+) + +diff --git a/meson.build b/meson.build +index b61c873..9a18e02 100644 +--- a/meson.build ++++ b/meson.build +@@ -45,6 +45,8 @@ if cunit_dep.found() + subdir('utest') + endif + subdir('samples') ++ ++if get_option('doc') + subdir('Documentation') + + custom_target( +@@ -52,3 +54,4 @@ custom_target( + output: 'docs', + depends: [html, man], + command: ['echo']) ++endif +diff --git a/meson_options.txt b/meson_options.txt +index b2294f6..9a40dad 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -16,3 +16,5 @@ option('man-bold-literal', type : 'boolean', value : false, + description : 'enable bold literals') + option('docbook-suppress-sp', type : 'boolean', value : false, + description : 'docbook suppress sp') ++option('doc', type : 'boolean', value: true, ++ description : 'produce documentation') +-- +2.34.1 + diff --git a/package/libtraceevent/Config.in b/package/libtraceevent/Config.in new file mode 100644 index 0000000000..d351e3b4de --- /dev/null +++ b/package/libtraceevent/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBTRACEEVENT + bool "libtraceevent" + help + libtraceevent is a library that interfaces with the ftrace + subsystem in the linux kernel. + It used to be bundled directly in the trace-cmd + tool, but it was eventually extracted so that it can be used + by multiple other tools and libraries, such as libtracefs and + rtla. diff --git a/package/libtraceevent/libtraceevent.hash b/package/libtraceevent/libtraceevent.hash new file mode 100644 index 0000000000..15c4883afd --- /dev/null +++ b/package/libtraceevent/libtraceevent.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 097b72e0d907f3107825fb2edf0188324bf70dc9da360f6efa68dc484ffde541 libtraceevent-1.7.3.tar.gz +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LGPL-2.1 diff --git a/package/libtraceevent/libtraceevent.mk b/package/libtraceevent/libtraceevent.mk new file mode 100644 index 0000000000..1a3dae463e --- /dev/null +++ b/package/libtraceevent/libtraceevent.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libtraceevent +# +################################################################################ + +LIBTRACEEVENT_VERSION = 1.7.3 +LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot +LIBTRACEEVENT_INSTALL_STAGING = YES +LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 +LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +LIBTRACEEVENT_CONF_OPTS = \ + -Ddoc=false + +$(eval $(meson-package)) -- 2.34.1 From giulio.benetti at benettiengineering.com Sat Oct 14 21:57:41 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sat, 14 Oct 2023 23:57:41 +0200 Subject: [Buildroot] [PATCH v4 4/4] package/trace-cmd: bump to 3.1.7 In-Reply-To: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> References: <20231014215741.716289-1-giulio.benetti@benettiengineering.com> Message-ID: <20231014215741.716289-4-giulio.benetti@benettiengineering.com> From: Maxime Chevallier trace-cmd's dependencies 'libtracefs' and 'libtraceevent' were split into dedicated projects, maintained outside of trace-cmd. This release, on top of bumping the version, adds this new dependencies. Signed-off-by: Maxime Chevallier [Giulio: bump to version 3.1.7] Signed-off-by: Giulio Benetti --- V1->V2: * bump to version 3.1.7 --- package/trace-cmd/Config.in | 2 ++ package/trace-cmd/trace-cmd.hash | 2 +- package/trace-cmd/trace-cmd.mk | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package/trace-cmd/Config.in b/package/trace-cmd/Config.in index 2d0accd7ae..00b9ebbd9a 100644 --- a/package/trace-cmd/Config.in +++ b/package/trace-cmd/Config.in @@ -4,6 +4,8 @@ config BR2_PACKAGE_TRACE_CMD depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen() + select BR2_PACKAGE_LIBTRACEEVENT + select BR2_PACKAGE_LIBTRACEFS help Command line reader for ftrace. diff --git a/package/trace-cmd/trace-cmd.hash b/package/trace-cmd/trace-cmd.hash index 4d39e4d5ea..6edcaf0e1c 100644 --- a/package/trace-cmd/trace-cmd.hash +++ b/package/trace-cmd/trace-cmd.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 a74d9ade2633b88d0ad199360d51996427e23f4835594133e456cd6e3bd3a651 trace-cmd-v2.9.7.tar.gz +sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk index 52bb99036c..3d4d88c964 100644 --- a/package/trace-cmd/trace-cmd.mk +++ b/package/trace-cmd/trace-cmd.mk @@ -4,14 +4,14 @@ # ################################################################################ -TRACE_CMD_VERSION = 2.9.7 +TRACE_CMD_VERSION = 3.1.7 TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz TRACE_CMD_SITE = \ https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 -TRACE_CMD_DEPENDENCIES = host-pkgconf +TRACE_CMD_DEPENDENCIES = host-pkgconf libtracefs libtraceevent TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc ifeq ($(BR2_PACKAGE_AUDIT),y) @@ -34,6 +34,8 @@ ifeq ($(BR2_sparc64),y) TRACE_CMD_CFLAGS += -fPIC endif +TRACE_CMD_CFLAGS += $($(HOST_DIR)/bin/pkg-config --cflags libtracefs) + # trace-cmd use CPPFLAGS to add some extra flags. # But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE # that causes build problems. -- 2.34.1 From yann.morin.1998 at free.fr Sat Oct 14 22:25:41 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 15 Oct 2023 00:25:41 +0200 Subject: [Buildroot] [PATCH] package/pkg-generic: drop support for arch-specific patches Message-ID: <20231014222541.891768-1-yann.morin.1998@free.fr> The last architecture-specific patch we had was removed 2015-02-14 with commit 9863553fe8fa (packages: all salute the passing of avr32), where we eventually got rid of the avr32-specific patch for fbv. Since then, we've only had common patches (that apply systematically), of conditional patches, that are applied in an ad-hoc manner with post-patch hooks. Currently, we even only have one such patch (for Linux). Since we do not advertise that possibility in the manual, and since we do not want to have such patches, drop the support for it. This has the potential for breaking existing br2-external trees, but there is a workaround for those: they can provide a pre-patch ook that copies the ecessary per-arch patches if needed. We document this in the manual. Signed-off-by: Yann E. MORIN --- docs/manual/migrating.adoc | 23 +++++++++++++++++++++++ package/pkg-generic.mk | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/manual/migrating.adoc b/docs/manual/migrating.adoc index 2667aeab96..21277f947b 100644 --- a/docs/manual/migrating.adoc +++ b/docs/manual/migrating.adoc @@ -100,3 +100,26 @@ change implies that: to be updated appropriately; * the archive version suffix has been updated to +-br3+, so the hash files must be updated appropriately. + +Before Buildroot 2023.11, it was possible (but undocumented and unused) +to apply architecture-specific patches, by prefixing the patch filename +with the architecture, e.g. `0001-some-changes.patch.arm` and such a +patch would only be applied for that architecture. With Buildroot 2023.11, +this is no longer supported, and such patches are now longer applied at +all. + +If you still need per-architecture patches, then you may provide a +xref:hooks[pre-patch hook] that copies the patches applicable to the +configured architecture, e.g.: + +---- +define LIBFOO_ARCH_PATCHES + $(foreach p,$(wildcard $(LIBFOO_PKGDIR)/*.patch.$(ARCH)), \ + cp -f $(p) $(patsubst %.$(ARCH),%,$(p)) + ) +endef +LIBFOO_PRE_PATCH_HOOKS += LIBFOO_ARCH_PATCHES +---- + +Note that no package in Buildroot has architecture-specific patches, and +that such patches will most probably not be accepted. diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 6e944dd6b7..face2dc6d9 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -252,9 +252,9 @@ $(BUILD_DIR)/%/.stamp_patched: for D in $(PATCH_BASE_DIRS); do \ if test -d $${D}; then \ if test -d $${D}/$($(PKG)_VERSION); then \ - $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch \*.patch.$(ARCH) || exit 1; \ + $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch || exit 1; \ else \ - $(APPLY_PATCHES) $(@D) $${D} \*.patch \*.patch.$(ARCH) || exit 1; \ + $(APPLY_PATCHES) $(@D) $${D} \*.patch || exit 1; \ fi; \ fi; \ done; \ -- 2.25.1 From james.hilliard1 at gmail.com Sun Oct 15 05:15:44 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 14 Oct 2023 23:15:44 -0600 Subject: [Buildroot] [PATCH 1/1] package/network-manager: bump to version 1.44.2 Message-ID: <20231015051544.429666-1-james.hilliard1@gmail.com> Drop patches which are now upstream. CONTRIBUTING.md hash changed due to text updates: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/987488a7ac4a193ea6160ab65a4bb215481cafb7 Signed-off-by: James Hilliard --- ...option-to-set-the-mobile-broadband-p.patch | 60 ------------------- ...build-failure-with-Dmodem_manager-fa.patch | 38 ------------ package/network-manager/network-manager.hash | 6 +- package/network-manager/network-manager.mk | 4 +- 4 files changed, 5 insertions(+), 103 deletions(-) delete mode 100644 package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch delete mode 100644 package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch diff --git a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch b/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch deleted file mode 100644 index 4336472e45..0000000000 --- a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 03ba04d4784fa4fc7ec31455070fb5ecf25ade23 Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Fri, 27 Jan 2023 22:38:42 +0100 -Subject: [PATCH] build: meson: add option to set the - mobile-broadband-provider-info database - -When building network-manager in cross-compile environment meson is not able -to detect the right location of the mobile-broadband-provider-info -database by using the pkg-config module. - -By adding the option 'mobile_broadband_provider_info_database' to set the -correct path to the datafile this can be solved. - -Signed-off-by: Heiko Thiery - -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1519 ---- - meson.build | 6 +++++- - meson_options.txt | 1 + - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 0adc42f738..84ce52c736 100644 ---- a/meson.build -+++ b/meson.build -@@ -584,7 +584,10 @@ enable_modem_manager = get_option('modem_manager') - if enable_modem_manager - mm_glib_dep = dependency('mm-glib', version: '>= 0.7.991') - -- mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') -+ mobile_broadband_provider_info_database = get_option('mobile_broadband_provider_info_database') -+ if mobile_broadband_provider_info_database == '' -+ mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') -+ endif - config_h.set_quoted('MOBILE_BROADBAND_PROVIDER_INFO_DATABASE', mobile_broadband_provider_info_database) - endif - -@@ -1054,6 +1057,7 @@ output += ' jansson: ' + jansson_msg + '\n' - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' -+output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' - output += ' ofono: ' + enable_ofono.to_string() + '\n' - output += ' concheck: ' + enable_concheck.to_string() + '\n' - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' -diff --git a/meson_options.txt b/meson_options.txt -index 8b1d32e645..4e359f9e92 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -32,6 +32,7 @@ option('ppp', type: 'boolean', value: true, description: 'enable PPP/PPPoE suppo - option('pppd', type: 'string', value: '', description: 'path to pppd binary') - option('pppd_plugin_dir', type: 'string', value: '', description: 'path to the pppd plugins directory') - option('modem_manager', type: 'boolean', value: true, description: 'Enable new ModemManager1 interface support') -+option('mobile_broadband_provider_info_database', type: 'string', value: '', description: 'path to the mobile-broadband-provider-info database') - option('ofono', type: 'boolean', value: false, description: 'Enable oFono support (experimental)') - option('concheck', type: 'boolean', value: true, description: 'enable connectivity checking support') - option('teamdctl', type: 'boolean', value: false, description: 'enable Teamd control support') --- -2.20.1 - diff --git a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch b/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch deleted file mode 100644 index 648be027e0..0000000000 --- a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 736a2c356c1c4871e8c4e70be622c65c87d3bca8 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 21 Feb 2023 13:03:00 +0100 -Subject: [PATCH] meson.build: fix build failure with -Dmodem_manager=false - -Fix the following build failure with -Dmodem_manager=false raised since -https://gitlab.freedesktop.org/ffontaine/NetworkManager/-/commit/03ba04d4784fa4fc7ec31455070fb5ecf25ade23: - -../output-1/build/network-manager-1.40.10/meson.build:1060:0: ERROR: Unknown variable "mobile_broadband_provider_info_database". - -Fixes: - - http://autobuild.buildroot.org/results/896879c8e8ce022556ee834216ced2f962ff279c - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1544] ---- - meson.build | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 84ce52c736..b79240efc0 100644 ---- a/meson.build -+++ b/meson.build -@@ -1057,7 +1057,9 @@ output += ' jansson: ' + jansson_msg + '\n' - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' --output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' -+if enable_modem_manager -+ output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' -+endif - output += ' ofono: ' + enable_ofono.to_string() + '\n' - output += ' concheck: ' + enable_concheck.to_string() + '\n' - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' --- -2.39.0 - diff --git a/package/network-manager/network-manager.hash b/package/network-manager/network-manager.hash index 895351a537..0196d68c55 100644 --- a/package/network-manager/network-manager.hash +++ b/package/network-manager/network-manager.hash @@ -1,6 +1,6 @@ -# From https://download.gnome.org/sources/NetworkManager/1.42/NetworkManager-1.42.0.sha256sum -sha256 2f6756d507bb6b46716594b67e6fe7491891e1b5b167bbafc5157dfa7753d5b4 NetworkManager-1.42.0.tar.xz +# From https://download.gnome.org/sources/NetworkManager/1.44/NetworkManager-1.44.2.sha256sum +sha256 4b58bf3ac57e2cefb5652efd0945eb0b4bc36a63d92a61ab471d8bb2c9a420e1 NetworkManager-1.44.2.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL -sha256 cfb6c71f6df5898e1724be3debe9adac48c115b903915406c1e7dfd362b57892 CONTRIBUTING.md +sha256 e7cf3d92bda8e5365eaf4514d572146a19e93336f7a966493778d0d0c4476fae CONTRIBUTING.md diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 9188af29eb..f6ef923d55 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -4,8 +4,8 @@ # ################################################################################ -NETWORK_MANAGER_VERSION_MAJOR = 1.42 -NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).0 +NETWORK_MANAGER_VERSION_MAJOR = 1.44 +NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).2 NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) NETWORK_MANAGER_INSTALL_STAGING = YES -- 2.34.1 From thomas.petazzoni at bootlin.com Sun Oct 15 05:39:20 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 15 Oct 2023 05:39:20 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-14 Message-ID: <20231015053926.232F440B6E@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-14 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 21 | 10 | 0 | 31 | 2023.08.x | 11 | 12 | 0 | 23 | master | 56 | 74 | 1 | 131 | Classification of failures by reason for master ----------------------------------------------- openrc-0.43.3 | 8 gcc-final-12.3.0 | 5 host-rust-1.71.1 | 5 alsa-lib-1.2.10 | 4 unknown | 4 bird-2.0.12 | 3 monit-5.33.0 | 3 duma-2.5.15 | 2 elfutils-0.189 | 2 gcc-final-11.4.0 | 2 gobject-introspection-1.76.1 | 2 host-go-1.21.3 | 2 linux-6.5.7 | 2 spirv-tools-1.3.261.1 | 2 systemd-254 | 2 alsa-utils-1.2.10 | 1 apparmor-3.1.2 | 1 binutils-arc-2020.09-release | 1 brltty-6.5 | 1 cryptodev-linux-1.13 | 1 docker-cli-24.0.6 | 1 ethtool-6.5 | 1 fs/romfs/romfs.mk:32: /home... | 1 glibc-2.38-27-g750a45a78390... | 1 gobject-introspection | 1 libarchive-3.7.2 | 1 libglib2-2.76.1 | 1 libnvme-1.5 | 1 libressl-3.7.3 | 1 libselinux-3.5 | 1 liquid-dsp-1.5.0 | 1 memcached-1.6.21 | 1 motion-4.5.1 | 1 netsnmp-5.9.4 | 1 ola-0.10.9 | 1 php-8.2.11 | 1 rdma-core-47.0 | 1 ulog-0389d243352255f6182326... | 1 util-linux-2.39.2 | 1 valgrind-3.21.0 | 1 xenomai-3.0.10 | 1 zabbix-6.2.7 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- armeb | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/359021a25a9ddc9242c25037023b4c27ad6594e6 | i686 | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/38f0508b169944f8253694cc0f2048d1962b3360 | microblaze | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/a1d9395c5f9633780383297a61ecb7ac7170deb0 | mipsel | alsa-lib-1.2.10 | NOK | http://autobuild.buildroot.net/results/da397c058137e42f5aaa91bed827e9a1e45dabd2 | mips64el | alsa-utils-1.2.10 | NOK | http://autobuild.buildroot.net/results/59811267bc51037175c388c47f5e2479f608107d | arc | apparmor-3.1.2 | NOK | http://autobuild.buildroot.net/results/ee70f60d74bc1b1ba11d65fd0c567eb1ad50869b | arceb | binutils-arc-2020.09-release | NOK | http://autobuild.buildroot.net/results/712d6d81a01a35ed115d22eb97b119268e41e409 | armeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/765e5dbb92685272e62987e1a619667f77f1e0b3 | mips64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b1380a675b88e6b3535c31e926af1a0897e2534b | microblazeel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/09cb8097664f60fadeea0818296cb59d504309ca | x86_64 | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/4df5304281ba1a825ed0b91f8128e3c077326942 | powerpc64 | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/5b058683496a421c692f6019ff591962328b8c53 | ORPH x86_64 | docker-cli-24.0.6 | NOK | http://autobuild.buildroot.net/results/fecaf8d037b61ff05ea3a9114b19d12ba5e3b82d | sparc64 | duma-2.5.15 | NOK | http://autobuild.buildroot.net/results/009558e053bc7428dc3613a47fea9c5f8bb84515 | ORPH sparc64 | duma-2.5.15 | NOK | http://autobuild.buildroot.net/results/aae3d90264b1964b5f0f11a72b8e2785004ae374 | ORPH mipsel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/763ce9cb9c0c415da7f11169832c31620c7d267f | ORPH arceb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/e06729aaa6fe23fcbba8581e177471e2d2ab4d52 | ORPH aarch64_be | ethtool-6.5 | NOK | http://autobuild.buildroot.net/results/69e01b7f370920630d132fc43a40104fa5b3959f | aarch64 | fs/romfs/romfs.mk:32: /home... | NOK | http://autobuild.buildroot.net/results/ef3e711fc4806c9efa5fa0dd9ac641cf8da15651 | xtensa | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/aa0b9254d4e9ca8720ead9c25a3fa966d1f23554 | x86_64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/bd83c37054dee9514cddcb602e45a456e12e0240 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/a7a6433e99c7b23c4b254eb1f60ee6261c089763 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/1207a535ce4947ed1e44cd6a42a6bd6bb04202ec | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/38cba25bdbd5c0d4ef8272f4331493b8fcbda500 | armeb | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/322fb85e62db09e9b078e607ae251e7c028e738c | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/60e2896a57ac0f3ac510aa153594681f3f0cef4c | powerpc64 | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/3bd297214c3ef33fe0f65ad4fd145549f728a486 | microblaze | gobject-introspection | TIM | http://autobuild.buildroot.net/results/453858e184f4d93836da101ce2094e80e7371c85 | powerpc | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/ef27714b84927da8e2b22256dd77d40ef78854d4 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/2b1b27cae0f56c7207942b79e09f744d461486d0 | ORPH mips64 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/54a61b4dcd7f55ed17f7c2dd2ebb53dfc4cae86d | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/37f79e47056e144995cee0e2d821c665da665173 | i686 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/e733b8aae4628c7bea258f51e42ee4ba2c695fad | i686 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/1c6d86432f2508a1172086c300550ed6aa86036d | mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/4fa75af0fa7afe1daca68b3d7236ad607ef6e24d | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/1eeace1b3b6deb900a7228243ff23639aa2ed503 | mips | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/18405add345587d82cb9eab401b768bcd15bebc1 | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/64657132d1f60f2aacffd838a2699f1a31deacfb | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/9fba7d1f7eb62eb31ee1151c75f7ee94446fd481 | i686 | libnvme-1.5 | NOK | http://autobuild.buildroot.net/results/eb31150f2aaa824d65210a66e198ce1561ce9145 | armeb | libressl-3.7.3 | NOK | http://autobuild.buildroot.net/results/ed98f049a5ea2695f4497b72c72261355b8ee3ee | ORPH nios2 | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/f030cbbc0f828e04974a7fa027711267f492350f | mips64el | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/6a02a195d29caf4e40043fafa8f7bc7f60b3f05f | ORPH mips64 | linux-6.5.7 | NOK | http://autobuild.buildroot.net/results/0d6a9d76ecdb8717e1946a2ec5b8c176a554913b | ORPH i686 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/1a807f6cdd1b13da6361ca2adedc13e40e7fef5b | x86_64 | memcached-1.6.21 | NOK | http://autobuild.buildroot.net/results/22b193afe3d19ba195b55c30f0af3ff8728acc67 | ORPH arceb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/369dca6155df0224b9f35bc6ace6b6071fe08866 | arceb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/8b33256a32bfaaa5e9ee09bd1c4ed2dbed591d43 | microblazeel | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/b0af09edd63dbef5e2206b3f3be96aa2752531fc | nios2 | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/6f1b56b4479f181afbf180e1a2cbb24575a0ec9b | armeb | netsnmp-5.9.4 | NOK | http://autobuild.buildroot.net/results/9688fe44b99b898ea0ad0212a4dc2516c54fda9a | ORPH sparc64 | ola-0.10.9 | NOK | http://autobuild.buildroot.net/results/a69efa83ec857fd0a6207efebe52236f680fe6b9 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/148dc55f385ef93d520bc62bac32990f8e109221 | sh4aeb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/8a8c712a67bce658965358b65a58a15df8d767ed | sh4eb | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/7509b2c137aa78268a1ded3fd9455526071fc2ce | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/3763ee3a0962fcd557521e0a9997d0214aa53981 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/18b17dee11f5c4f1a5d84bdaa1f82104d557d8cf | microblaze | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e66aa6881b85a8c7311b4e8349e44ff67c7b3403 | mips | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c7294bbe829ef5e8ab919c578274928dc1383bc4 | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/14c7f9b2f226220c96ca38d6eeace63ac8378e16 | microblaze | php-8.2.11 | NOK | http://autobuild.buildroot.net/results/9baadc07fad24f3a4ae502b09690b865d14d7a04 | mips64el | rdma-core-47.0 | NOK | http://autobuild.buildroot.net/results/2df58f9b98aacf00960932f53510b29199393461 | arm | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/ca8c741bc3deb3880dbcda9a90a2429b1159f555 | ORPH i686 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/8ce88457b8ec394657ce734710f30b812c77e32f | ORPH s390x | systemd-254 | NOK | http://autobuild.buildroot.net/results/42b1ca386145133ecf812af70cfbf374d2d7dcaa | mips64el | systemd-254 | NOK | http://autobuild.buildroot.net/results/7eb96da563cd26ba232038d11ccb585c5c6aa655 | sparc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/b7a1dfe8e1ea5c16c4dfb018647608e1632c4d0b | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/44d9e1dd2855fceb91b4a7f75f38063a1f54ec49 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/af90c767bb83ccaf472aceed2cbb1a2b2498f1b2 | nios2 | unknown | NOK | http://autobuild.buildroot.net/results/4930078b1f4116b53535a4e0d20945cbfbda6ed0 | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/efd966327eab54bfc31d260e1640f99e6c892b92 | arm | util-linux-2.39.2 | NOK | http://autobuild.buildroot.net/results/f76437b621f760a4f485d560fbcd1d945ee518e4 | ORPH powerpc | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/ad1f00e582a2c3f9fbe76c39aefb3627b77eb323 | ORPH powerpc64 | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/8011fd036ea3562990dcd30fd157415a360d6bbf | s390x | zabbix-6.2.7 | NOK | http://autobuild.buildroot.net/results/ab403b45761c82f49a9380564bf10d3e7ae935f2 | Classification of failures by reason for 2023.02.x -------------------------------------------------- unknown | 2 gcnano-binaries-0ac1a89d7a5... | 1 gobject-introspection-1.72.0 | 1 host-binutils-2.38 | 1 linux-5.10.162-cip24-rt10 | 1 mariadb-10.3.36 | 1 nftables-python-1.0.7 | 1 openblas-0.3.21 | 1 perl-5.36.0 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- arm | gcnano-binaries-0ac1a89d7a5... | NOK | http://autobuild.buildroot.net/results/1aea1bcf972b526f5e8d408a07583e7fa1349a01 | sparc64 | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/d257cec272c40422ab6ae0a079e4fe3ee844b9c2 | ORPH x86_64 | host-binutils-2.38 | NOK | http://autobuild.buildroot.net/results/bb792cbf1d1b766d6f3bd5fd822c2fdfe32571ea | mips | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/e88cd6e817d42e927cab4a550f98793fa54e6f37 | ORPH powerpc64le | mariadb-10.3.36 | NOK | http://autobuild.buildroot.net/results/13ba4dcff58abc41b8670f07384e108ccd308684 | ORPH armeb | nftables-python-1.0.7 | NOK | http://autobuild.buildroot.net/results/f697a2e87372bf743288f5f0f0dc001e133d4da8 | mips64el | openblas-0.3.21 | NOK | http://autobuild.buildroot.net/results/83d08f325744f64033e3e6b8cb50862b6c253dd8 | powerpc64le | perl-5.36.0 | NOK | http://autobuild.buildroot.net/results/753d06d8ef38deae2a318ee8adfce181244660f7 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/9da03072f680a4387f22ed5f454e9f31e17b6f93 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/bbc55714a41c48f66aaa38e95d082bc1fc846da1 | Classification of failures by reason for 2023.08.x -------------------------------------------------- unknown | 3 bat-0.23.0 | 1 bird-2.0.12 | 1 elfutils-0.189 | 1 highway-1.0.3 | 1 host-go-1.20.10 | 1 mc-4.8.29 | 1 util-linux-2.39.1 | 1 valgrind-3.21.0 | 1 wolfssl-5.6.3 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- i686 | bat-0.23.0 | NOK | http://autobuild.buildroot.net/results/0d351054dfa531e4110d0371b843d6140e20d700 | or1k | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/57226d30be99de2ed8d52d22f435bc535c3fcec1 | microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/e7bb1cfe9d30f23cdef79f3ed154fefb9f7924c9 | ORPH aarch64_be | highway-1.0.3 | NOK | http://autobuild.buildroot.net/results/2b149819501c7e145e4e18909dbd865aabf1da1b | i686 | host-go-1.20.10 | NOK | http://autobuild.buildroot.net/results/711c2620208e711f2c3be38d0f603fcd61f52953 | arc | mc-4.8.29 | NOK | http://autobuild.buildroot.net/results/a57bf9bf6db3b427833cf02cb5211f388b692555 | or1k | unknown | NOK | http://autobuild.buildroot.net/results/8aedabbc0a0f885d95cb0f7d825a877478cf2fa7 | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/ef83e23995a3346325fee29fca25c7c9af1807af | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/8a15c2c1c781d5ce22be742b76c8af3c7b1439ac | arceb | util-linux-2.39.1 | NOK | http://autobuild.buildroot.net/results/114da31496349ac5c84d5bbe1d8dcefd71d9c021 | ORPH mips64 | valgrind-3.21.0 | NOK | http://autobuild.buildroot.net/results/e9205878607772f8e8a32900527654e9b8772a43 | ORPH mips | wolfssl-5.6.3 | NOK | http://autobuild.buildroot.net/results/7ade02277cf222f231333fdd75ae0803753470ba | -- http://autobuild.buildroot.net From troglobit at gmail.com Sun Oct 15 06:36:46 2023 From: troglobit at gmail.com (Joachim Wiberg) Date: Sun, 15 Oct 2023 08:36:46 +0200 Subject: [Buildroot] [PATCH 1/1] package/inadyn: bump to v2.12.0 Message-ID: <20231015063648.1360322-1-troglobit@gmail.com> New features and DDNS provider support (IPv64.net), but also a lot of fixes to regressions introduced in v2.11.0, e.g.: - dynv6.com not working at all, regression in v2.11.0 - Regression in DDNS provider names, introduced in v2.11.0: - dyndns at 3322.org - dyndns at he.net - default at dynv6.com - ipv6tb at he.net >From https://github.com/troglobit/inadyn/releases/tag/v2.12.0 Signed-off-by: Joachim Wiberg --- package/inadyn/inadyn.hash | 2 +- package/inadyn/inadyn.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/inadyn/inadyn.hash b/package/inadyn/inadyn.hash index 94af9f87b7..eb5249e371 100644 --- a/package/inadyn/inadyn.hash +++ b/package/inadyn/inadyn.hash @@ -1,5 +1,5 @@ # Upstream .sha256 from GitHub -sha256 9ddac7b6b0a1ed372c6cb5afaec6bea927ab539db02c8536dd10d73bd1d37c95 inadyn-2.11.0.tar.gz +sha256 38fe00f20b293e64a89efc85f766ff40f0be3bcf9c3ed68b842104540a60806e inadyn-2.12.0.tar.gz # Locally computed sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk index 3e346fd769..fa2eedc1f3 100644 --- a/package/inadyn/inadyn.mk +++ b/package/inadyn/inadyn.mk @@ -4,7 +4,7 @@ # ################################################################################ -INADYN_VERSION = 2.11.0 +INADYN_VERSION = 2.12.0 INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VERSION) INADYN_LICENSE = GPL-2.0+ INADYN_LICENSE_FILES = COPYING -- 2.34.1 From troglobit at gmail.com Sun Oct 15 06:41:16 2023 From: troglobit at gmail.com (Joachim Wiberg) Date: Sun, 15 Oct 2023 08:41:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/libite: bump to v2.6.0 Message-ID: <20231015064117.1362398-1-troglobit@gmail.com> Only new APIS, no fixes compared to v2.5.3. For details, see the full changelog at: https://github.com/troglobit/libite/releases/tag/v2.6.0 LICENSE hash changed due to bump in copyright years. Signed-off-by: Joachim Wiberg --- package/libite/libite.hash | 4 ++-- package/libite/libite.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libite/libite.hash b/package/libite/libite.hash index 7dac198ab8..b0cdc32800 100644 --- a/package/libite/libite.hash +++ b/package/libite/libite.hash @@ -1,7 +1,7 @@ # Upstream .sha256 from GitHub -sha256 ca086adc7ebf0c2ebf2ed7a6787f9567fb802db8583576228dd5dd5ddfb7bb97 libite-2.5.3.tar.xz +sha256 da468005bab3d9d096974e61278b2e6a8eecf204fa018986ea21f639f38013eb libite-2.6.0.tar.gz # Locally calculated -sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE +sha256 3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422 LICENSE sha256 c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14 src/chomp.c sha256 bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918 src/pidfile.c diff --git a/package/libite/libite.mk b/package/libite/libite.mk index 1cef992e53..e8c57aa2e9 100644 --- a/package/libite/libite.mk +++ b/package/libite/libite.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBITE_VERSION = 2.5.3 +LIBITE_VERSION = 2.6.0 LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause -- 2.34.1 From peter at korsgaard.com Sun Oct 15 08:48:08 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:48:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: security bump version to 4.18.8 In-Reply-To: <20231014124243.80138-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 14 Oct 2023 14:42:43 +0200") References: <20231014124243.80138-1-bernd@kuhls.net> Message-ID: <87o7h0z2yf.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://www.samba.org/samba/history/samba-4.18.8.html > Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & > CVE-2023-42670. > Signed-off-by: Bernd Kuhls Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:49:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:49:30 +0200 Subject: [Buildroot] [PATCH] package/gcc: remoce leftover from legacy PowerPC patch In-Reply-To: <20231014203645.866867-1-yann.morin.1998@free.fr> (Yann E. MORIN's message of "Sat, 14 Oct 2023 22:36:45 +0200") References: <20231014203645.866867-1-yann.morin.1998@free.fr> Message-ID: <87jzroz2w5.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching > logic), the macro defining the conditional patch was removed, but it was > still referenced and expanded in the apply-patches hook. > Drop that now. > Signed-off-by: Yann E. MORIN > Cc: Romain Naour Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:51:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:51:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/libmatroska: bump to version 1.7.1 In-Reply-To: <20231012162057.4366-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 18:20:57 +0200") References: <20231012162057.4366-1-fontaine.fabrice@gmail.com> Message-ID: <87fs2cz2sx.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > C++14 is mandatory since version 1.7.0 and > https://github.com/Matroska-Org/libmatroska/commit/7263bbaac134a20a79dfe7bd23b364fcd1a588cc > https://github.com/Matroska-Org/libmatroska/blob/release-1.7.1/NEWS.md > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:52:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:52:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/nmap: fix build with libressl >= 3.5.0 In-Reply-To: <20231012163622.87846-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 18:36:22 +0200") References: <20231012163622.87846-1-fontaine.fabrice@gmail.com> Message-ID: <87bkd0z2qv.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:53:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:53:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/pound: force libopenssl In-Reply-To: <20231012204047.243690-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 22:40:47 +0200") References: <20231012204047.243690-1-fontaine.fabrice@gmail.com> Message-ID: <877cnoz2q0.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Force libopenssl to avoid the following build failure with libressl > raised since bump to version 4.8 in commit > 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: > pound.c: In function 'main': > pound.c:971:27: error: 'l_id' undeclared (first use in this function) > 971 | CRYPTO_set_id_callback (l_id); > | ^~~~ > Fixes: > - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:54:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:54:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/netsnmp: fix musl build In-Reply-To: <20231012211357.643153-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 23:13:57 +0200") References: <20231012211357.643153-1-fontaine.fabrice@gmail.com> Message-ID: <8734ycz2nw.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following musl build failure raised since bump to version 5.9.4 > in commit 868603755c16296ae2a61845891edeafc36e48ca: > large_fd_set.c: In function 'LFD_SET': > ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? > 1614 | #define NETSNMP_FD_MASK_TYPE unknown > | ^~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:54:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:54:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: bump version to 254.5 In-Reply-To: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> (Adam Duskett's message of "Fri, 13 Oct 2023 10:30:37 +0200") References: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> Message-ID: <87y1g4xo2p.fsf@48ers.dk> >>>>> "Adam" == Adam Duskett writes: > All tests passed in Debian 11 with the following command: > ./support/testing/run-tests tests.init.test_systemd > Signed-off-by: Adam Duskett Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:56:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:56:23 +0200 Subject: [Buildroot] [PATCH 1/1] package/rauc: bump version to 1.10.1 In-Reply-To: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> (Adam Duskett's message of "Fri, 13 Oct 2023 11:35:41 +0200") References: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> Message-ID: <87ttqsxo08.fsf@48ers.dk> >>>>> "Adam" == Adam Duskett writes: > Signed-off-by: Adam Duskett Committed, thanks. I marked it as a bugfix release so I won't forget to backport it to 2023.08.x. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:56:49 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:56:49 +0200 Subject: [Buildroot] [PATCH] board/raspberrypi: fix typo in comment In-Reply-To: <20231013202528.164224-1-gael.portay@rtone.fr> (=?utf-8?Q?=22?= =?utf-8?Q?Ga=C3=ABl?= PORTAY"'s message of "Fri, 13 Oct 2023 22:25:28 +0200") References: <20231013202528.164224-1-gael.portay@rtone.fr> Message-ID: <87pm1gxnzi.fsf@48ers.dk> >>>>> "Ga?l" == Ga?l PORTAY writes: > This fixes a typo by dropping off the spurious x in ensure. > Signed-off-by: Ga?l PORTAY Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:58:21 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:58:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/mutt: fix libgpgme static build In-Reply-To: <20231013210830.143696-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 13 Oct 2023 23:08:30 +0200") References: <20231013210830.143696-1-fontaine.fabrice@gmail.com> Message-ID: <87lec4xnwy.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following static build failure with libgpgme raised since at > least bump to version 2.2.9 in commit > 7a2afdb7b1180bed3b6ad92c22c908805467ead3: > /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: > /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): > in function `my_usleep': > assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' > Fixes: > - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf > - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:59:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:59:26 +0200 Subject: [Buildroot] [PATCH 1/1] package/usbguard: fix build with gcc >= 13 In-Reply-To: <20231013215355.323987-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 13 Oct 2023 23:53:55 +0200") References: <20231013215355.323987-1-fontaine.fabrice@gmail.com> Message-ID: <87h6msxnv5.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with gcc >= 13: > In file included from src/Library/Base64.cpp:23: > src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type > 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); > | ^~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 09:02:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 11:02:23 +0200 Subject: [Buildroot] [PATCH v2] package/qemu: security bump version to 8.1.1 In-Reply-To: <20231011071244.419815-1-ramirez.clement3@gmail.com> (Clement Ramirez's message of "Wed, 11 Oct 2023 09:12:44 +0200") References: <20231011071244.419815-1-ramirez.clement3@gmail.com> Message-ID: <87cyxgxnq8.fsf@48ers.dk> >>>>> "Clement" == Clement Ramirez writes: > Fixes the following CVEs : > - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) > - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) > - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) > The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: > 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release > 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR > 56270e5d3d meson: Fix targetos match for illumos and Solaris. > 60da8301fe s390x/ap: fix missing subsystem reset registration > 8b479229ff ui: fix crash when there are no active_console > d4919bbcc2 virtio-gpu/win32: set the destroy function on load > cae7dc1452 target/riscv: Allocate itrigger timers only once > 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes > 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 > b822207513 hw/riscv: virt: Fix riscv,pmu DT node path > 2947da750e linux-user/riscv: Use abi type for target_ucontext > 60a7f5c8fe hw/intc: Make rtc variable names consistent > 566dac7127 hw/intc: Fix upper/lower mtime write calculation > 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d > 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first > 987e90cfd2 target/riscv/cpu.c: add zmmul isa string > b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts > 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts > 9832a670b3 arm64: Restore trapless ptimer access > df33ce9b6d virtio: Drop out of coroutine context in virtio_load() > eeee989f72 qxl: don't assert() if device isn't yet initialized > 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() > 6356785daa docs tests: Fix use of migrate_set_parameter > 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options > 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error > 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode > d5361580ac hw/ide/ahci: fix broken SError handling > e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() > 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set > 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared > 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling > 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command > c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion > f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian > 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr > 5358980d33 hw/ppc/e500: fix broken snapshot replay > 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup > 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects > e975434d62 target/i386: raise FERR interrupt with iothread locked > e5e77f256f linux-user: Adjust brk for load_bias > 645b87f650 target/arm: properly document FEAT_CRC32 > 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup > 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section > 441106eebb docs/about/license: Update LICENSE URL > 63188a00bb target/arm: Fix 64-bit SSRA > 7012e20b2d target/arm: Fix SME ST1Q > c8e381d672 accel/kvm: Specify default IPA size for arm64 > 34808d041c kvm: Introduce kvm_arch_get_default_type hook > 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts > 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 > c12eddbd48 target/s390x: Fix VSTL with a large length > 880e82ed78 target/s390x: Use a 16-bit immediate in VREP > 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS > Signed-off-by: Clement Ramirez > --- > Changes v1 -> v2: > - add a comment to explain why ignoring CVEs is required Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 08:49:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:49:15 +0200 Subject: [Buildroot] [git commit] package/gcc: remove leftover from legacy PowerPC patch Message-ID: <20231015090300.612A384600@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=84cdd92f0172ccc49fd2c037caaf3a659a26194d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching logic), the macro defining the conditional patch was removed, but it was still referenced and expanded in the apply-patches hook. Drop that now. Signed-off-by: Yann E. MORIN Cc: Romain Naour Signed-off-by: Peter Korsgaard --- package/gcc/gcc.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 4a3b780618..9a164c8374 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -44,7 +44,6 @@ define HOST_GCC_APPLY_PATCHES $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ fi; \ done - $(HOST_GCC_APPLY_POWERPC_PATCH) endef HOST_GCC_EXCLUDES = \ From peter at korsgaard.com Sun Oct 15 08:53:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:53:06 +0200 Subject: [Buildroot] [git commit] package/pound: force libopenssl Message-ID: <20231015090300.97FB484600@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=648502bdbdcf6a8996db897af731fd2219d777d1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Force libopenssl to avoid the following build failure with libressl raised since bump to version 4.8 in commit 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: pound.c: In function 'main': pound.c:971:27: error: 'l_id' undeclared (first use in this function) 971 | CRYPTO_set_id_callback (l_id); | ^~~~ Fixes: - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/pound/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pound/Config.in b/package/pound/Config.in index 60fafff935..aa0f103273 100644 --- a/package/pound/Config.in +++ b/package/pound/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_POUND depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable From peter at korsgaard.com Sun Oct 15 08:47:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:47:45 +0200 Subject: [Buildroot] [git commit] package/samba4: security bump version to 4.18.8 Message-ID: <20231015090300.51694851BB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2dc61bfa768659ffa208b179967c332e6252d5ad branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://www.samba.org/samba/history/samba-4.18.8.html Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & CVE-2023-42670. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fea760c500..9843d419f0 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc -sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc +sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index cfa94fc141..9cf7a59d9b 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.7 +SAMBA4_VERSION = 4.18.8 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 15 08:53:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:53:33 +0200 Subject: [Buildroot] [git commit] package/netsnmp: fix musl build Message-ID: <20231015090300.A4613851C9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dad81003c905c5fe33599c1676ed46108b512bc0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following musl build failure raised since bump to version 5.9.4 in commit 868603755c16296ae2a61845891edeafc36e48ca: large_fd_set.c: In function 'LFD_SET': ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? 1614 | #define NETSNMP_FD_MASK_TYPE unknown | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch | 38 ++++++++++++++++++++++ package/netsnmp/netsnmp.mk | 2 ++ 2 files changed, 40 insertions(+) diff --git a/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch new file mode 100644 index 0000000000..91a00aec27 --- /dev/null +++ b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch @@ -0,0 +1,38 @@ +From a62169f1fa358be8f330ea8519ade0610fac525b Mon Sep 17 00:00:00 2001 +From: Adam Gajda +Date: Mon, 2 Oct 2023 16:40:31 +0200 +Subject: [PATCH] Fix configuration of NETSNMP_FD_MASK_TYPE + +Upstream: https://github.com/net-snmp/net-snmp/commit/a62169f1fa358be8f330ea8519ade0610fac525b +Signed-off-by: Fabrice Fontaine +--- + configure | 2 +- + configure.d/config_project_types | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 9f0a173d8a..945a27c663 100755 +--- a/configure ++++ b/configure +@@ -30871,7 +30871,7 @@ CFLAGS="$CFLAGS -Werror" + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits" >&5 + printf %s "checking for the type of fd_set::fds_bits... " >&6; } +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +diff --git a/configure.d/config_project_types b/configure.d/config_project_types +index 1b4c66b95e..a78e8ebb06 100644 +--- a/configure.d/config_project_types ++++ b/configure.d/config_project_types +@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -Werror" + + AC_MSG_CHECKING([for the type of fd_set::fds_bits]) +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include + #include diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index b0c35aa894..a79c13c611 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -40,6 +40,8 @@ NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true inst NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install NETSNMP_MAKE = $(MAKE1) NETSNMP_CONFIG_SCRIPTS = net-snmp-config +# We're patching configure.d/config_project_types +NETSNMP_AUTORECONF = YES define NETSNMP_USERS snmp -1 snmp -1 * - - - snmpd user From peter at korsgaard.com Sun Oct 15 08:54:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:54:37 +0200 Subject: [Buildroot] [git commit] package/systemd: bump version to 254.5 Message-ID: <20231015090300.B3FD2851CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1c6b1ee63f614a7480ad100aceb6f5e85353326f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master All tests passed in Debian 11 with the following command: ./support/testing/run-tests tests.init.test_systemd Signed-off-by: Adam Duskett Acked-by: Norbert Lange Signed-off-by: Peter Korsgaard --- package/systemd/systemd.hash | 2 +- package/systemd/systemd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/systemd/systemd.hash b/package/systemd/systemd.hash index 10f4bc04fa..f0c3db60e7 100644 --- a/package/systemd/systemd.hash +++ b/package/systemd/systemd.hash @@ -1,5 +1,5 @@ # sha256 locally computed -sha256 18db69c8fc33afebf95a40cfa3769df5f0e4a07bccdebd33b2fd81c8b75e7a02 systemd-254.tar.gz +sha256 41873783aa1c680e10d2f2626797a1c2fef8018d69b68c8c77639e140ee7846d systemd-254.5.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 13cd41f75b..ccc0e14874 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -19,7 +19,7 @@ # - Diff sysusers.d with the previous version # - Diff factory/etc/nsswitch.conf with the previous version # (details are often sprinkled around in README and manpages) -SYSTEMD_VERSION = 254 +SYSTEMD_VERSION = 254.5 SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) SYSTEMD_LICENSE = \ LGPL-2.1+, \ From peter at korsgaard.com Sun Oct 15 08:58:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:58:11 +0200 Subject: [Buildroot] [git commit] package/mutt: fix libgpgme static build Message-ID: <20231015090300.DB01F851C9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b518b0f161c81582f31c79c50552b5106f693df2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following static build failure with libgpgme raised since at least bump to version 2.2.9 in commit 7a2afdb7b1180bed3b6ad92c22c908805467ead3: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): in function `my_usleep': assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' Fixes: - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/mutt/mutt.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk index 09f547a091..2fe7b92b38 100644 --- a/package/mutt/mutt.mk +++ b/package/mutt/mutt.mk @@ -40,7 +40,11 @@ MUTT_CONF_OPTS += \ # Force the path to "gpgrt-config" (from the libgpg-error package) to # avoid using the one on host, if present. -MUTT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +MUTT_GPGRT_CONFIG = $(STAGING_DIR)/usr/bin/gpgrt-config +ifeq ($(BR2_STATIC_LIBS),y) +MUTT_GPGRT_CONFIG += --static +endif +MUTT_CONF_ENV += GPGRT_CONFIG="$(MUTT_GPGRT_CONFIG)" else MUTT_CONF_OPTS += --disable-gpgme endif From peter at korsgaard.com Sun Oct 15 08:56:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:56:40 +0200 Subject: [Buildroot] [git commit] board/raspberrypi: fix typo in comment Message-ID: <20231015090300.CD503851BB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3381a084330e8f48785fb472e95c01d7a9602b36 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master This fixes a typo by dropping off the spurious x in ensure. Signed-off-by: Ga??l PORTAY Signed-off-by: Peter Korsgaard --- board/raspberrypi/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh index 38fdc80734..0bd7bc3d17 100755 --- a/board/raspberrypi/post-build.sh +++ b/board/raspberrypi/post-build.sh @@ -15,5 +15,5 @@ elif [ -d ${TARGET_DIR}/etc/systemd ]; then "${TARGET_DIR}/etc/systemd/system/getty.target.wants/getty at tty1.service" fi -# exnsure overlays exists for genimage +# ensure overlays exists for genimage mkdir -p "${BINARIES_DIR}/rpi-firmware/overlays" From peter at korsgaard.com Sun Oct 15 08:51:12 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:51:12 +0200 Subject: [Buildroot] [git commit] package/libmatroska: bump to version 1.7.1 Message-ID: <20231015090300.76E69851CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99dbbcc1d51caf8203022cef0a74472737c527f4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master C++14 is mandatory since version 1.7.0 and https://github.com/Matroska-Org/libmatroska/commit/7263bbaac134a20a79dfe7bd23b364fcd1a588cc https://github.com/Matroska-Org/libmatroska/blob/release-1.7.1/NEWS.md Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/libmatroska/Config.in | 2 +- package/libmatroska/libmatroska.hash | 2 +- package/libmatroska/libmatroska.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libmatroska/Config.in b/package/libmatroska/Config.in index b2e4354df5..4d775c43a0 100644 --- a/package/libmatroska/Config.in +++ b/package/libmatroska/Config.in @@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBMATROSKA bool "libmatroska" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libebml + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 select BR2_PACKAGE_LIBEBML help Extensible open standard audio/video container format access diff --git a/package/libmatroska/libmatroska.hash b/package/libmatroska/libmatroska.hash index 81b418d030..a3eb74e832 100644 --- a/package/libmatroska/libmatroska.hash +++ b/package/libmatroska/libmatroska.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 daf91a63f58dd157ca340c457871e66260cb9c3333fefb008b318befbb0e081a libmatroska-1.6.3.tar.xz +sha256 572a3033b8d93d48a6a858e514abce4b2f7a946fe1f02cbfeca39bfd703018b3 libmatroska-1.7.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL diff --git a/package/libmatroska/libmatroska.mk b/package/libmatroska/libmatroska.mk index 7d326c0076..6b5f34476a 100644 --- a/package/libmatroska/libmatroska.mk +++ b/package/libmatroska/libmatroska.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBMATROSKA_VERSION = 1.6.3 +LIBMATROSKA_VERSION = 1.7.1 LIBMATROSKA_SOURCE = libmatroska-$(LIBMATROSKA_VERSION).tar.xz LIBMATROSKA_SITE = http://dl.matroska.org/downloads/libmatroska LIBMATROSKA_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 15 08:51:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:51:45 +0200 Subject: [Buildroot] [git commit] package/nmap: fix build with libressl >= 3.5.0 Message-ID: <20231015090300.859B3851E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=796ebbcf34298ef56ff63fc845cd97a5acb7dc8a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...g-Crypto.cc-fix-build-with-libressl-3.5.0.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch new file mode 100644 index 0000000000..f2bdf5904d --- /dev/null +++ b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch @@ -0,0 +1,39 @@ +From 4ebea5c1d1a10be0d0165da3b9c0e1fa82c3db3c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 21 May 2022 17:51:37 +0200 +Subject: [PATCH] nping/Crypto.cc: fix build with libressl >= 3.5.0 + +Fix the following build failure with libressl >= 3.5.0: + +Crypto.cc: In static member function 'static int Crypto::aes128_cbc_encrypt(u8*, size_t, u8*, u8*, size_t, u8*)': +Crypto.cc:139:26: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined + 139 | EVP_CIPHER_CTX ctx; + | ^~~ + +Fixes: + - http://autobuild.buildroot.org/results/2e6eebbe2ed8305b88047bc92c19350c1ecada16 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/nmap/nmap/pull/2480 +--- + nping/Crypto.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/nping/Crypto.cc b/nping/Crypto.cc +index 850438352..9f7c88686 100644 +--- a/nping/Crypto.cc ++++ b/nping/Crypto.cc +@@ -70,7 +70,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_EVP_PKEY 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset +-- +2.35.1 + From peter at korsgaard.com Sun Oct 15 08:55:23 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:55:23 +0200 Subject: [Buildroot] [git commit] package/rauc: bump version to 1.10.1 Message-ID: <20231015090300.C1D91851E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e55770e8827567c8c4952713c9cd149012f5d68f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Bugfix release: https://github.com/rauc/rauc/releases/tag/v1.10.1 Signed-off-by: Adam Duskett Signed-off-by: Peter Korsgaard --- package/rauc/rauc.hash | 2 +- package/rauc/rauc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rauc/rauc.hash b/package/rauc/rauc.hash index 3a1fa6f5f9..38fea45b8a 100644 --- a/package/rauc/rauc.hash +++ b/package/rauc/rauc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d3eec057e74d41565bbdfa10ff8bb2edb38e39af2b2126f8ad1d2174ae034d47 rauc-1.10.tar.xz +sha256 aa99164c5f54fd29b5c8456221b51f92c900884af66de3e1b7f15a25b7db98a7 rauc-1.10.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk index 9f0571402f..4211abdcc4 100644 --- a/package/rauc/rauc.mk +++ b/package/rauc/rauc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RAUC_VERSION = 1.10 +RAUC_VERSION = 1.10.1 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION) RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz RAUC_LICENSE = LGPL-2.1 From peter at korsgaard.com Sun Oct 15 08:59:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 10:59:02 +0200 Subject: [Buildroot] [git commit] package/usbguard: fix build with gcc >= 13 Message-ID: <20231015090300.E6B3C851CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=05db019ea6f12c407a1ff7e8a365ba2743668d81 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc >= 13: In file included from src/Library/Base64.cpp:23: src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- ...ke-GitHub-Actions-cover-build-with-GCC-13.patch | 114 +++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch new file mode 100644 index 0000000000..415b8e1dd1 --- /dev/null +++ b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch @@ -0,0 +1,114 @@ +From 22b1e0897af977cc96af926c730ff948bd120bb5 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Fri, 31 Mar 2023 09:39:49 +0200 +Subject: [PATCH] Fix build for GCC 13 + make GitHub Actions cover build with + GCC 13 (#586) + +* include missing + +gcc 13 moved some includes around and as a result is no +longer transitively included [1]. Explicitly include it for +uint8_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj + +* docker.yml: Cover openSUSE Tumbleweed with GCC 13+ + +Based on scripts/docker/build_on_centos_8_2.Dockerfile . + +--------- + +Signed-off-by: Khem Raj +Co-authored-by: Khem Raj +Upstream: https://github.com/USBGuard/usbguard/commit/22b1e0897af977cc96af926c730ff948bd120bb5 +Signed-off-by: Fabrice Fontaine +--- + .github/workflows/docker.yml | 1 + + .../build_on_opensuse_tumbleweed.Dockerfile | 50 +++++++++++++++++++ + src/Library/Base64.cpp | 1 - + src/Library/Base64.hpp | 1 + + 4 files changed, 52 insertions(+), 1 deletion(-) + create mode 100644 scripts/docker/build_on_opensuse_tumbleweed.Dockerfile + +diff --git a/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +new file mode 100644 +index 00000000..d0993d8c +--- /dev/null ++++ b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +@@ -0,0 +1,50 @@ ++## ++## Copyright (c) 2023 Sebastian Pipping ++## ++## This program is free software; you can redistribute it and/or modify ++## it under the terms of the GNU General Public License as published by ++## the Free Software Foundation; either version 2 of the License, or ++## (at your option) any later version. ++## ++## This program is distributed in the hope that it will be useful, ++## but WITHOUT ANY WARRANTY; without even the implied warranty of ++## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++## GNU General Public License for more details. ++## ++## You should have received a copy of the GNU General Public License ++## along with this program. If not, see . ++ ++FROM opensuse/tumbleweed:latest ++RUN zypper --non-interactive install dnf rpm-repos-openSUSE-Tumbleweed \ ++ && \ ++ dnf install -y \ ++ asciidoc \ ++ autoconf \ ++ automake \ ++ dbus-1-glib-devel \ ++ diffutils \ ++ file \ ++ gcc-c++ \ ++ git \ ++ libgcrypt-devel \ ++ libqb-devel \ ++ libsodium-devel \ ++ libtool \ ++ libxslt \ ++ make \ ++ polkit-devel \ ++ protobuf-devel ++ADD usbguard.tar usbguard/ ++ADD catch.tar usbguard/src/ThirdParty/Catch/ ++ADD pegtl.tar usbguard/src/ThirdParty/PEGTL/ ++WORKDIR usbguard ++RUN git init &>/dev/null && ./autogen.sh ++RUN ./configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN make dist ++RUN tar xf usbguard-*.tar.gz ++RUN mv -v usbguard-*.*.*/ usbguard-release/ ++RUN mkdir usbguard-release/build/ ++WORKDIR usbguard-release/build/ ++RUN ../configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN bash -c 'set -o pipefail; make V=1 "-j$(nproc)" |& tee build.log' ++RUN ! grep -F 'include file not found' build.log +diff --git a/src/Library/Base64.cpp b/src/Library/Base64.cpp +index ddb28dce..0246a134 100644 +--- a/src/Library/Base64.cpp ++++ b/src/Library/Base64.cpp +@@ -22,7 +22,6 @@ + + #include "Base64.hpp" + #include +-#include + + namespace usbguard + { +diff --git a/src/Library/Base64.hpp b/src/Library/Base64.hpp +index 0947f214..e0c745cb 100644 +--- a/src/Library/Base64.hpp ++++ b/src/Library/Base64.hpp +@@ -23,6 +23,7 @@ + #endif + + #include ++#include + #include + + namespace usbguard From peter at korsgaard.com Sun Oct 15 09:00:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 11:00:37 +0200 Subject: [Buildroot] [git commit] package/qemu: security bump version to 8.1.1 Message-ID: <20231015090300.F31EA851BB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf367aac0aae21ea3b142963daa815cef22e1172 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes the following CVEs : - CVE-2023-4135 (https://gitlab.com/qemu-project/qemu/-/commit/ecb1b7b082d3b7dceff0e486a114502fc52c0fdf) - CVE-2023-3354 (https://gitlab.com/qemu-project/qemu/-/commit/10be627d2b5ec2d6b3dce045144aa739eef678b4) - CVE-2023-3180 (https://gitlab.com/qemu-project/qemu/-/commit/9d38a8434721a6479fe03fb5afb150ca793d3980) The changes between 8.1.0 and 8.1.1 are only limited to bug fixes: 6bb4a8a47a (v8.1.1) Update version for 8.1.1 release 045fa84784 tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR 56270e5d3d meson: Fix targetos match for illumos and Solaris. 60da8301fe s390x/ap: fix missing subsystem reset registration 8b479229ff ui: fix crash when there are no active_console d4919bbcc2 virtio-gpu/win32: set the destroy function on load cae7dc1452 target/riscv: Allocate itrigger timers only once 7385e00665 target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes 1d4fb5815c target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0 b822207513 hw/riscv: virt: Fix riscv,pmu DT node path 2947da750e linux-user/riscv: Use abi type for target_ucontext 60a7f5c8fe hw/intc: Make rtc variable names consistent 566dac7127 hw/intc: Fix upper/lower mtime write calculation 8ae20123b6 target/riscv: Fix zfa fleq.d and fltq.d 6c24b6000b target/riscv: Fix page_check_range use in fault-only-first 987e90cfd2 target/riscv/cpu.c: add zmmul isa string b9f83298b9 hw/char/riscv_htif: Fix the console syscall on big endian hosts 3d6251f416 hw/char/riscv_htif: Fix printing of console characters on big endian hosts 9832a670b3 arm64: Restore trapless ptimer access df33ce9b6d virtio: Drop out of coroutine context in virtio_load() eeee989f72 qxl: don't assert() if device isn't yet initialized 93d4107937 hw/net/vmxnet3: Fix guest-triggerable assert() 6356785daa docs tests: Fix use of migrate_set_parameter 01bf87c8e3 qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options 25ec23ab3f hw/i2c/aspeed: Fix TXBUF transmission start position error 9dc6f05cc8 hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode d5361580ac hw/ide/ahci: fix broken SError handling e8f5ca57e4 hw/ide/ahci: fix ahci_write_fis_sdb() 4448c345bc hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set 4fbd5a5202 hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared 16cc9594d2 hw/ide/ahci: simplify and document PxCI handling 1efefd13ca hw/ide/ahci: write D2H FIS when processing NCQ command c2e0495e3c hw/ide/core: set ERR_STAT in unsupported command completion f64f1f8704 target/ppc: Fix LQ, STQ register-pair order for big-endian 9f54fef2c0 target/ppc: Flush inputs to zero with NJ in ppc_store_vscr 5358980d33 hw/ppc/e500: fix broken snapshot replay 6864f05cb1 ppc/vof: Fix missed fields in VOF cleanup 0175121c6c ui/dbus: Properly dispose touch/mouse dbus objects e975434d62 target/i386: raise FERR interrupt with iothread locked e5e77f256f linux-user: Adjust brk for load_bias 645b87f650 target/arm: properly document FEAT_CRC32 86d7b08d71 block-migration: Ensure we don't crash during migration cleanup 5691fbf440 softmmu: Assert data in bounds in iotlb_to_section 441106eebb docs/about/license: Update LICENSE URL 63188a00bb target/arm: Fix 64-bit SSRA 7012e20b2d target/arm: Fix SME ST1Q c8e381d672 accel/kvm: Specify default IPA size for arm64 34808d041c kvm: Introduce kvm_arch_get_default_type hook 01f6417f15 include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts 14a8213b75 target/s390x: Check reserved bits of VFMIN/VFMAX's M5 c12eddbd48 target/s390x: Fix VSTL with a large length 880e82ed78 target/s390x: Use a 16-bit immediate in VREP 5980189e96 target/s390x: Fix the "ignored match" case in VSTRS Signed-off-by: Clement Ramirez Signed-off-by: Peter Korsgaard --- package/qemu/qemu.hash | 2 +- package/qemu/qemu.mk | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash index 506afa8bf3..61e51a923f 100644 --- a/package/qemu/qemu.hash +++ b/package/qemu/qemu.hash @@ -1,4 +1,4 @@ # Locally computed, tarball verified with GPG signature -sha256 710c101198e334d4762eef65f649bc43fa8a5dd75303554b8acfec3eb25f0e55 qemu-8.1.0.tar.xz +sha256 37ce2ef5e500fb752f681117c68b45118303ea49a7e26bd54080ced54fab7def qemu-8.1.1.tar.xz sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 6aaed32336..5ce0cedec1 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -6,7 +6,7 @@ # When updating the version, check whether the list of supported targets # needs to be updated. -QEMU_VERSION = 8.1.0 +QEMU_VERSION = 8.1.1 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz QEMU_SITE = https://download.qemu.org QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c @@ -16,6 +16,12 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB # individual source files. QEMU_CPE_ID_VENDOR = qemu +# Need to ignore the following CVEs because the CPE database does +# not have an entry for the 8.1.1 version yet. +QEMU_IGNORE_CVES += CVE-2023-4135 +QEMU_IGNORE_CVES += CVE-2023-3354 +QEMU_IGNORE_CVES += CVE-2023-3180 + #------------------------------------------------------------- # The build system is now partly based on Meson. From troglobit at gmail.com Sun Oct 15 09:26:50 2023 From: troglobit at gmail.com (Joachim Wiberg) Date: Sun, 15 Oct 2023 11:26:50 +0200 Subject: [Buildroot] [PATCH 1/1] package/libite: bump to v2.6.1 In-Reply-To: <20231015064117.1362398-1-troglobit@gmail.com> References: <20231015064117.1362398-1-troglobit@gmail.com> Message-ID: <20231015092650.392835-1-troglobit@gmail.com> Changes: - New APIs introduced in v2.6.0, for details, see https://github.com/troglobit/libite/releases/tag/v2.6.0 - FTBFS fix for uClibc and musl libc, v2.6.1 https://github.com/troglobit/libite/releases/tag/v2.6.1 Packaging: - LICENSE hash changed due to bump in copyright years - Disable doxygen (html docs) in build, introduced in v2.4.1 Signed-off-by: Joachim Wiberg --- package/libite/libite.hash | 4 ++-- package/libite/libite.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libite/libite.hash b/package/libite/libite.hash index 7dac198ab8..3abad09b0a 100644 --- a/package/libite/libite.hash +++ b/package/libite/libite.hash @@ -1,7 +1,7 @@ # Upstream .sha256 from GitHub -sha256 ca086adc7ebf0c2ebf2ed7a6787f9567fb802db8583576228dd5dd5ddfb7bb97 libite-2.5.3.tar.xz +sha256 0185c3e76874c5821825deaf17cd45e81ce49aaa424e09de5f3665243c59026b libite-2.6.1.tar.xz # Locally calculated -sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE +sha256 3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422 LICENSE sha256 c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14 src/chomp.c sha256 bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918 src/pidfile.c diff --git a/package/libite/libite.mk b/package/libite/libite.mk index 1cef992e53..e4bd845487 100644 --- a/package/libite/libite.mk +++ b/package/libite/libite.mk @@ -4,12 +4,12 @@ # ################################################################################ -LIBITE_VERSION = 2.5.3 +LIBITE_VERSION = 2.6.1 LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause LIBITE_LICENSE_FILES = LICENSE src/chomp.c src/pidfile.c LIBITE_INSTALL_STAGING = YES -LIBITE_CONF_OPTS = --without-symlink +LIBITE_CONF_OPTS = --without-symlink --disable-doxygen-doc $(eval $(autotools-package)) -- 2.34.1 From bernd at kuhls.net Sun Oct 15 09:33:07 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:33:07 +0200 Subject: [Buildroot] [PATCH v2 1/4] package/alsa-lib: fix musl build Message-ID: <20231015093310.1138805-1-bernd@kuhls.net> Buildroot commit 227d414ded bumped alsa-lib to version 1.2.10 which introduced a build error with musl toolchains. Fixes: http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ Signed-off-by: Bernd Kuhls --- v2: no changes ...STRING-macro-outside-PIC-ifdef-block.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch diff --git a/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch new file mode 100644 index 0000000000..7bd67507fd --- /dev/null +++ b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch @@ -0,0 +1,50 @@ +From 10bd599970acc71c92f85eb08943eb8d3d702a9c Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 6 Sep 2023 15:16:44 +0200 +Subject: [PATCH] global.h: move __STRING() macro outside !PIC ifdef block + +It solves the musl libc compilation issue. + +control.c: In function 'snd_ctl_open_conf': +../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio] + 98 | #define SND_DLSYM_VERSION(version) __STRING(version) + | ^~~~~~~~ + +Fixes: https://github.com/alsa-project/alsa-lib/issues/350 +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-lib/commit/10bd599970acc71c92f85eb08943eb8d3d702a9c + +Signed-off-by: Bernd Kuhls +--- + include/global.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/include/global.h b/include/global.h +index dfe9bc2b..3ecaeee8 100644 +--- a/include/global.h ++++ b/include/global.h +@@ -51,6 +51,11 @@ const char *snd_asoundlib_version(void); + #define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) + #endif + ++#ifndef __STRING ++/** \brief Return 'x' argument as string */ ++#define __STRING(x) #x ++#endif ++ + #ifdef PIC /* dynamic build */ + + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ +@@ -71,11 +76,6 @@ struct snd_dlsym_link { + + extern struct snd_dlsym_link *snd_dlsym_start; + +-#ifndef __STRING +-/** \brief Return 'x' argument as string */ +-#define __STRING(x) #x +-#endif +- + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ + #define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version + /** -- 2.39.2 From bernd at kuhls.net Sun Oct 15 09:33:08 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:33:08 +0200 Subject: [Buildroot] [PATCH v2 2/4] package/alsa-utils: fix build with gcc < 11 In-Reply-To: <20231015093310.1138805-1-bernd@kuhls.net> References: <20231015093310.1138805-1-bernd@kuhls.net> Message-ID: <20231015093310.1138805-2-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/bfd/bfde1d5c3067e98d983ce1eebc1560bd13d00b8a/ Signed-off-by: Bernd Kuhls --- v2: no changes ...UTE_UNUSED-instead-remove-argument-n.patch | 233 +++++++++++++ ...UTE_UNUSED-instead-remove-argument-n.patch | 34 ++ ...RIBUTE_UNUSED-instead-remove-argumen.patch | 57 ++++ ...E_UNUSED-instead-remove-argument-nam.patch | 67 ++++ ...E_UNUSED-instead-remove-argument-nam.patch | 93 ++++++ ...IBUTE_UNUSED-instead-remove-argument.patch | 109 ++++++ ...RIBUTE_UNUSED-instead-remove-argumen.patch | 312 ++++++++++++++++++ 7 files changed, 905 insertions(+) create mode 100644 package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch create mode 100644 package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch create mode 100644 package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch create mode 100644 package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch create mode 100644 package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch create mode 100644 package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch create mode 100644 package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch diff --git a/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..92622292c0 --- /dev/null +++ b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,233 @@ +From a90faa2dd644af585d6a00f0aaf297c15ea0aa7b Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:33:47 +0200 +Subject: [PATCH] axfer: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: ad5a1c0 ("axfer: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/a90faa2dd644af585d6a00f0aaf297c15ea0aa7b + +Signed-off-by: Bernd Kuhls +--- + axfer/container-raw.c | 14 +++++++------- + axfer/mapper-single.c | 6 +++--- + axfer/subcmd-list.c | 2 +- + axfer/subcmd-transfer.c | 4 ++-- + axfer/waiter-poll.c | 4 ++-- + axfer/waiter-select.c | 4 ++-- + axfer/waiter.h | 1 + + axfer/xfer-libasound-irq-rw.c | 2 +- + axfer/xfer-libasound.c | 4 ++-- + axfer/xfer-options.c | 3 ++- + 10 files changed, 23 insertions(+), 21 deletions(-) + +diff --git a/axfer/container-raw.c b/axfer/container-raw.c +index 071f94c..1886045 100644 +--- a/axfer/container-raw.c ++++ b/axfer/container-raw.c +@@ -13,10 +13,10 @@ + #include + #include + +-static int raw_builder_pre_process(struct container_context *, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++static int raw_builder_pre_process(struct container_context *cntr ATTRIBUTE_UNUSED, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + *byte_count = UINT64_MAX; +@@ -25,9 +25,9 @@ static int raw_builder_pre_process(struct container_context *, + } + + static int raw_parser_pre_process(struct container_context *cntr, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + struct stat buf = {0}; +diff --git a/axfer/mapper-single.c b/axfer/mapper-single.c +index 13e7fc5..f669f7f 100644 +--- a/axfer/mapper-single.c ++++ b/axfer/mapper-single.c +@@ -62,7 +62,7 @@ static void align_from_vector(void *frame_buf, unsigned int frame_count, + + static int single_pre_process(struct mapper_context *mapper, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + unsigned int bytes_per_buffer; +@@ -110,7 +110,7 @@ static int single_muxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *src; +@@ -141,7 +141,7 @@ static int single_demuxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *dst; +diff --git a/axfer/subcmd-list.c b/axfer/subcmd-list.c +index f9c8e0f..187e1d7 100644 +--- a/axfer/subcmd-list.c ++++ b/axfer/subcmd-list.c +@@ -19,7 +19,7 @@ enum list_op { + }; + + static int dump_device(snd_ctl_t *handle, const char *id, const char *name, +- snd_pcm_stream_t, snd_pcm_info_t *info) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED, snd_pcm_info_t *info) + { + unsigned int i, count; + int err; +diff --git a/axfer/subcmd-transfer.c b/axfer/subcmd-transfer.c +index b39fde8..8d63043 100644 +--- a/axfer/subcmd-transfer.c ++++ b/axfer/subcmd-transfer.c +@@ -40,7 +40,7 @@ static void handle_unix_signal_for_finish(int sig) + ctx_ptr->interrupted = true; + } + +-static void handle_unix_signal_for_suspend(int) ++static void handle_unix_signal_for_suspend(int sig ATTRIBUTE_UNUSED) + { + sigset_t curr, prev; + struct sigaction sa = {0}; +@@ -439,7 +439,7 @@ static int context_process_frames(struct context *ctx, + } + + static void context_post_process(struct context *ctx, +- uint64_t) ++ uint64_t accumulated_frame_count ATTRIBUTE_UNUSED) + { + uint64_t total_frame_count; + unsigned int i; +diff --git a/axfer/waiter-poll.c b/axfer/waiter-poll.c +index 31fab88..b81300c 100644 +--- a/axfer/waiter-poll.c ++++ b/axfer/waiter-poll.c +@@ -13,7 +13,7 @@ + #include + #include + +-static int poll_prepare(struct waiter_context *) ++static int poll_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return 0; +@@ -30,7 +30,7 @@ static int poll_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void poll_release(struct waiter_context *) ++static void poll_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return; +diff --git a/axfer/waiter-select.c b/axfer/waiter-select.c +index 164c9c8..fe19776 100644 +--- a/axfer/waiter-select.c ++++ b/axfer/waiter-select.c +@@ -34,7 +34,7 @@ struct select_state { + fd_set rfds_ex; + }; + +-static int select_prepare(struct waiter_context *) ++static int select_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return 0; + } +@@ -94,7 +94,7 @@ static int select_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void select_release(struct waiter_context *) ++static void select_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return; + } +diff --git a/axfer/waiter.h b/axfer/waiter.h +index db18e33..0f4e9b9 100644 +--- a/axfer/waiter.h ++++ b/axfer/waiter.h +@@ -9,6 +9,7 @@ + #ifndef __ALSA_UTILS_AXFER_WAITER__H_ + #define __ALSA_UTILS_AXFER_WAITER__H_ + ++#include + #include + + enum waiter_type { +diff --git a/axfer/xfer-libasound-irq-rw.c b/axfer/xfer-libasound-irq-rw.c +index b7f0645..45fb6d5 100644 +--- a/axfer/xfer-libasound-irq-rw.c ++++ b/axfer/xfer-libasound-irq-rw.c +@@ -313,7 +313,7 @@ error: + } + + static int w_process_frames_nonblocking(struct libasound_state *state, +- snd_pcm_state_t, ++ snd_pcm_state_t pcm_state ATTRIBUTE_UNUSED, + unsigned int *frame_count, + struct mapper_context *mapper, + struct container_context *cntrs) +diff --git a/axfer/xfer-libasound.c b/axfer/xfer-libasound.c +index 9713533..36ee08d 100644 +--- a/axfer/xfer-libasound.c ++++ b/axfer/xfer-libasound.c +@@ -60,7 +60,7 @@ static const struct option l_opts[] = { + }; + + static int xfer_libasound_init(struct xfer_context *xfer, +- snd_pcm_stream_t) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED) + { + struct libasound_state *state = xfer->private_data; + int err; +@@ -887,7 +887,7 @@ static void xfer_libasound_destroy(struct xfer_context *xfer) + state->log = NULL; + } + +-static void xfer_libasound_help(struct xfer_context *) ++static void xfer_libasound_help(struct xfer_context *xfer ATTRIBUTE_UNUSED) + { + printf( + " [BASICS]\n" +diff --git a/axfer/xfer-options.c b/axfer/xfer-options.c +index 974570c..e716ded 100644 +--- a/axfer/xfer-options.c ++++ b/axfer/xfer-options.c +@@ -447,7 +447,8 @@ static int generate_path_with_suffix(struct xfer_context *xfer, + + static int generate_path_without_suffix(struct xfer_context *xfer, + const char *template, +- unsigned int index, const char *) ++ unsigned int index, ++ const char *suffix ATTRIBUTE_UNUSED) + { + static const char *const single_format = "%s"; + static const char *const multiple_format = "%s-%i"; +-- +2.39.2 + diff --git a/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..12a098b6fb --- /dev/null +++ b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,34 @@ +From 2db896afd475b0b3ad07e97ba74ec9680b4f7f6d Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:37:24 +0200 +Subject: [PATCH] amidi: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 1843540 ("amidi: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/2db896afd475b0b3ad07e97ba74ec9680b4f7f6d + +Signed-off-by: Bernd Kuhls +--- + amidi/amidi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/amidi/amidi.c b/amidi/amidi.c +index f930ca8..75fb8c0 100644 +--- a/amidi/amidi.c ++++ b/amidi/amidi.c +@@ -446,7 +446,7 @@ static void print_byte(unsigned char byte, struct timespec *ts) + printf("%02X", byte); + } + +-static void sig_handler(int) ++static void sig_handler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +-- +2.39.2 + diff --git a/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..4720531415 --- /dev/null +++ b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,57 @@ +From 7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:45:09 +0200 +Subject: [PATCH] alsaloop: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d609a58 ("alsaloop: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa + +Signed-off-by: Bernd Kuhls +--- + alsaloop/alsaloop.c | 2 +- + alsaloop/pcmjob.c | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c +index b10733e..51fb646 100644 +--- a/alsaloop/alsaloop.c ++++ b/alsaloop/alsaloop.c +@@ -821,7 +821,7 @@ static void send_to_all(int sig) + } + } + +-static void signal_handler(int) ++static void signal_handler(int sig ATTRIBUTE_UNUSED) + { + quit = 1; + send_to_all(SIGUSR2); +diff --git a/alsaloop/pcmjob.c b/alsaloop/pcmjob.c +index be71971..ffb439b 100644 +--- a/alsaloop/pcmjob.c ++++ b/alsaloop/pcmjob.c +@@ -625,7 +625,7 @@ static void buf_add_src(struct loopback *loop) + } + } + #else +-static void buf_add_src(struct loopback *) ++static void buf_add_src(struct loopback *loop ATTRIBUTE_UNUSED) + { + } + #endif +@@ -1794,7 +1794,7 @@ static int ctl_event_check(snd_ctl_elem_value_t *val, snd_ctl_event_t *ev) + } + + static int handle_ctl_events(struct loopback_handle *lhandle, +- unsigned short) ++ unsigned short events ATTRIBUTE_UNUSED) + { + struct loopback *loop = lhandle->loopback; + snd_ctl_event_t *ev; +-- +2.39.2 + diff --git a/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..1a42f24d3c --- /dev/null +++ b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,67 @@ +From 94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:49:03 +0200 +Subject: [PATCH] bat: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: b366875 ("bat: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 + +Signed-off-by: Bernd Kuhls +--- + bat/bat.c | 3 ++- + bat/common.c | 3 ++- + bat/common.h | 5 +++++ + 3 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/bat/bat.c b/bat/bat.c +index e88c65f..ea04ed9 100644 +--- a/bat/bat.c ++++ b/bat/bat.c +@@ -158,7 +158,8 @@ static void get_format(struct bat *bat, char *optarg) + } + } + +-static inline int thread_wait_completion(struct bat *, pthread_t id, int **val) ++static inline int thread_wait_completion(struct bat *bat ATTRIBUTE_UNUSED, ++ pthread_t id, int **val) + { + int err; + +diff --git a/bat/common.c b/bat/common.c +index 9ff9405..470a7e6 100644 +--- a/bat/common.c ++++ b/bat/common.c +@@ -47,7 +47,8 @@ static int update_fmt_to_bat(struct bat *bat, struct chunk_fmt *fmt) + } + + /* calculate frames and update to bat */ +-static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, FILE *) ++static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, ++ FILE *file ATTRIBUTE_UNUSED) + { + /* The number of analyzed captured frames is arbitrarily set to half of + the number of frames of the wav file or the number of frames of the +diff --git a/bat/common.h b/bat/common.h +index a9bae5d..bb51b0d 100644 +--- a/bat/common.h ++++ b/bat/common.h +@@ -13,6 +13,11 @@ + * + */ + ++#ifndef ATTRIBUTE_UNUSED ++/** do not print warning (gcc) when function parameter is not used */ ++#define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) ++#endif ++ + #define TEMP_RECORD_FILE_NAME "/tmp/bat.wav.XXXXXX" + #define DEFAULT_DEV_NAME "default" + +-- +2.39.2 + diff --git a/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..9e7e7da5ce --- /dev/null +++ b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,93 @@ +From 66112d60e4ce68720022eaf26080c0f1a2caf81f Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:52:46 +0200 +Subject: [PATCH] seq: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 181e190 ("aplaymidi: fix the verbose compilation warnings for latest gcc") +Fixes: a03377a ("aseqnet: fix the verbose compilation warnings for latest gcc") +Fixes: 429c32a ("aseqdump: fix the verbose compilation warnings for latest gcc") +Fixes: 0b48dd6 ("aconnect: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/66112d60e4ce68720022eaf26080c0f1a2caf81f + +Signed-off-by: Bernd Kuhls +--- + seq/aconnect/aconnect.c | 9 ++++++--- + seq/aplaymidi/arecordmidi.c | 2 +- + seq/aseqdump/aseqdump.c | 2 +- + seq/aseqnet/aseqnet.c | 2 +- + 4 files changed, 9 insertions(+), 6 deletions(-) + +diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c +index 3a10de9..7096feb 100644 +--- a/seq/aconnect/aconnect.c ++++ b/seq/aconnect/aconnect.c +@@ -193,7 +193,8 @@ static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action) + } + + +-static void print_port(snd_seq_t *, snd_seq_client_info_t *cinfo, ++static void print_port(snd_seq_t *seq ATTRIBUTE_UNUSED, ++ snd_seq_client_info_t *cinfo, + snd_seq_port_info_t *pinfo, int count) + { + if (! count) { +@@ -247,8 +248,10 @@ static void print_port_and_subs(snd_seq_t *seq, snd_seq_client_info_t *cinfo, + /* + * remove all (exported) connections + */ +-static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *, +- snd_seq_port_info_t *pinfo, int) ++static void remove_connection(snd_seq_t *seq, ++ snd_seq_client_info_t *info ATTRIBUTE_UNUSED, ++ snd_seq_port_info_t *pinfo, ++ int count ATTRIBUTE_UNUSED) + { + snd_seq_query_subscribe_t *query; + snd_seq_port_info_t *port; +diff --git a/seq/aplaymidi/arecordmidi.c b/seq/aplaymidi/arecordmidi.c +index ce71472..a4c1181 100644 +--- a/seq/aplaymidi/arecordmidi.c ++++ b/seq/aplaymidi/arecordmidi.c +@@ -719,7 +719,7 @@ static void version(void) + fputs("arecordmidi version " SND_UTIL_VERSION_STR "\n", stderr); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c +index 8455ecb..af4ca21 100644 +--- a/seq/aseqdump/aseqdump.c ++++ b/seq/aseqdump/aseqdump.c +@@ -676,7 +676,7 @@ static void version(void) + puts("aseqdump version " SND_UTIL_VERSION_STR); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c +index f40de7d..aa70b50 100644 +--- a/seq/aseqnet/aseqnet.c ++++ b/seq/aseqnet/aseqnet.c +@@ -334,7 +334,7 @@ static void get_net_addr(struct addrinfo *rp, char *buf, size_t buflen) + /* + * signal handler + */ +-static void sigterm_exit(int) ++static void sigterm_exit(int sig ATTRIBUTE_UNUSED) + { + close_files(); + exit(1); +-- +2.39.2 + diff --git a/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch new file mode 100644 index 0000000000..66826c4515 --- /dev/null +++ b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch @@ -0,0 +1,109 @@ +From 9e5e9a6d70de63bea01f0669b01319952f2cfdea Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:57:47 +0200 +Subject: [PATCH] alsaucm: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d7bbc26 ("alsaucm: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/9e5e9a6d70de63bea01f0669b01319952f2cfdea + +Signed-off-by: Bernd Kuhls +--- + alsaucm/dump.c | 22 ++++++++++++---------- + 1 file changed, 12 insertions(+), 10 deletions(-) + +diff --git a/alsaucm/dump.c b/alsaucm/dump.c +index 102ac4d..a5c57f2 100644 +--- a/alsaucm/dump.c ++++ b/alsaucm/dump.c +@@ -93,7 +93,8 @@ static char *tesc(const char *s, char *buf, size_t buf_len) + + #define ESC(s, esc) tesc((s), (esc), sizeof(esc)) + +-static int text_verb_start(struct renderer *, const char *verb, const char *comment) ++static int text_verb_start(struct renderer *r ATTRIBUTE_UNUSED, ++ const char *verb, const char *comment) + { + char buf1[128], buf2[128]; + printf("Verb.%s {\n", ESC(verb, buf1)); +@@ -102,13 +103,13 @@ static int text_verb_start(struct renderer *, const char *verb, const char *comm + return 0; + } + +-static int text_verb_end(struct renderer *) ++static int text_verb_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("}\n"); + return 0; + } + +-static int text_2nd_level_begin(struct renderer *, ++static int text_2nd_level_begin(struct renderer *r ATTRIBUTE_UNUSED, + const char *key, + const char *val, + const char *comment) +@@ -120,19 +121,19 @@ static int text_2nd_level_begin(struct renderer *, + return 0; + } + +-static int text_2nd_level_end(struct renderer *) ++static int text_2nd_level_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("\t}\n"); + return 0; + } + +-static int text_2nd_level(struct renderer *, const char *txt) ++static int text_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t%s", txt); + return 0; + } + +-static int text_3rd_level(struct renderer *, const char *txt) ++static int text_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t\t%s", txt); + return 0; +@@ -266,7 +267,7 @@ static void json_block(struct renderer *r, int level, int last) + j->block[level] = last ? 0 : 1; + } + +-static int json_init(struct renderer *) ++static int json_init(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("{\n \"Verbs\": {"); + return 0; +@@ -325,13 +326,13 @@ static int json_2nd_level_end(struct renderer *r) + return 0; + } + +-static int json_2nd_level(struct renderer *, const char *txt) ++static int json_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; + } + +-static int json_3rd_level(struct renderer *, const char *txt) ++static int json_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; +@@ -360,7 +361,8 @@ static int json_supcon_start(struct renderer *r, const char *key) + return 0; + } + +-static int json_supcon_value(struct renderer *r, const char *value, int) ++static int json_supcon_value(struct renderer *r, const char *value, ++ int last ATTRIBUTE_UNUSED) + { + char buf[256]; + JESC(value, buf); +-- +2.39.2 + diff --git a/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..07b10b3ab8 --- /dev/null +++ b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,312 @@ +From dfe1c7143ab6ea01789e276b1ba361a00e545997 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 17:11:05 +0200 +Subject: [PATCH] topology: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 153d185 ("topology: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/dfe1c7143ab6ea01789e276b1ba361a00e545997 + +Signed-off-by: Bernd Kuhls +--- + topology/nhlt/intel/dmic-nhlt.c | 3 ++- + topology/nhlt/intel/dmic/dmic-debug.c | 7 ++++--- + topology/nhlt/intel/ssp/ssp-debug.c | 5 +++-- + topology/nhlt/intel/ssp/ssp-process.c | 4 +++- + topology/nhlt/nhlt-processor.c | 7 +++++-- + topology/pre-process-class.c | 10 +++++----- + topology/pre-process-object.c | 21 +++++++++++---------- + topology/pre-processor.c | 10 ++++++---- + 8 files changed, 39 insertions(+), 28 deletions(-) + +diff --git a/topology/nhlt/intel/dmic-nhlt.c b/topology/nhlt/intel/dmic-nhlt.c +index 70a22e3..de659cf 100644 +--- a/topology/nhlt/intel/dmic-nhlt.c ++++ b/topology/nhlt/intel/dmic-nhlt.c +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -155,7 +156,7 @@ static int set_vendor_mic_data(struct intel_nhlt_params *nhlt, snd_config_t *cfg + horizontal_angle_end); + } + +-static int set_bytes_data(struct intel_nhlt_params *, snd_config_t *cfg) ++static int set_bytes_data(struct intel_nhlt_params *nhlt ATTRIBUTE_UNUSED, snd_config_t *cfg) + { + snd_config_iterator_t i, next; + snd_config_t *n; +diff --git a/topology/nhlt/intel/dmic/dmic-debug.c b/topology/nhlt/intel/dmic/dmic-debug.c +index f99d308..a977c93 100644 +--- a/topology/nhlt/intel/dmic/dmic-debug.c ++++ b/topology/nhlt/intel/dmic/dmic-debug.c +@@ -8,6 +8,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "dmic-debug.h" + + #ifdef NHLT_DEBUG +@@ -181,7 +182,7 @@ void dmic_print_internal(struct intel_dmic_params *dmic) + } + + #else /* NHLT_DEBUG */ +-void dmic_print_bytes_as_hex(uint8_t *, size_t) {} +-void dmic_print_integers_as_hex(uint32_t *, size_t) {} +-void dmic_print_internal(struct intel_dmic_params *) {} ++void dmic_print_bytes_as_hex(uint8_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_integers_as_hex(uint32_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_internal(struct intel_dmic_params *dmic ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-debug.c b/topology/nhlt/intel/ssp/ssp-debug.c +index 8c64675..2d2f6b0 100644 +--- a/topology/nhlt/intel/ssp/ssp-debug.c ++++ b/topology/nhlt/intel/ssp/ssp-debug.c +@@ -7,6 +7,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "ssp-debug.h" + #include "../intel-nhlt.h" + +@@ -252,6 +253,6 @@ void ssp_print_internal(struct intel_ssp_params *ssp) + } + + #else /* NHLT_DEBUG */ +-void ssp_print_internal(struct intel_ssp_params *) {} +-void ssp_print_calculated(struct intel_ssp_params *) {} ++void ssp_print_internal(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} ++void ssp_print_calculated(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-process.c b/topology/nhlt/intel/ssp/ssp-process.c +index 9cda5c3..17b88d2 100644 +--- a/topology/nhlt/intel/ssp/ssp-process.c ++++ b/topology/nhlt/intel/ssp/ssp-process.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -952,7 +953,8 @@ int ssp_set_params(struct intel_nhlt_params *nhlt, const char *dir, int dai_inde + return 0; + } + +-int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, const char *, ++int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, ++ const char *mclk ATTRIBUTE_UNUSED, + const char *bclk, const char *bclk_invert, const char *fsync, + const char *fsync_invert, int mclk_freq, int bclk_freq, int fsync_freq, + int tdm_slots, int tdm_slot_width, int tx_slots, int rx_slots) +diff --git a/topology/nhlt/nhlt-processor.c b/topology/nhlt/nhlt-processor.c +index 567fa5c..ca539c3 100644 +--- a/topology/nhlt/nhlt-processor.c ++++ b/topology/nhlt/nhlt-processor.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -87,7 +88,8 @@ static void debug_print_nhlt(struct nhlt *blob, struct endpoint_descriptor **eps + fprintf(stdout, "\n"); + } + #else +-static void debug_print_nhlt(struct nhlt *, struct endpoint_descriptor **) {} ++static void debug_print_nhlt(struct nhlt *blob ATTRIBUTE_UNUSED, ++ struct endpoint_descriptor **eps ATTRIBUTE_UNUSED) {} + #endif + + static int print_as_hex_bytes(uint8_t *manifest_buffer, uint32_t manifest_size, +@@ -313,7 +315,8 @@ static int nhlt_get_flat_buffer(struct nhlt *blob, struct endpoint_descriptor ** + } + + /* called at the end of topology pre-processing, create flat buffer from variable size nhlt */ +-static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, snd_config_t *, ++static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, ++ snd_config_t *output ATTRIBUTE_UNUSED, + uint8_t **nhlt_buffer, uint32_t *nhlt_size) + { + struct endpoint_descriptor *eps[MAX_ENDPOINT_COUNT]; +diff --git a/topology/pre-process-class.c b/topology/pre-process-class.c +index d883d05..bedcebe 100644 +--- a/topology/pre-process-class.c ++++ b/topology/pre-process-class.c +@@ -127,7 +127,7 @@ snd_config_t *tplg_class_lookup(struct tplg_pre_processor *tplg_pp, snd_config_t + } + + /* find the attribute config by name in the class definition */ +-snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, ++snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *tplg_p ATTRIBUTE_UNUSED, + snd_config_t *class, const char *name) + { + snd_config_t *attr = NULL; +@@ -152,7 +152,7 @@ snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, + } + + /* get the name of the attribute that must have a unique value in the object instance */ +-const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, ++const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class) + { + snd_config_t *unique; +@@ -177,7 +177,7 @@ const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, + } + + /* get attribute type from the definition */ +-snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, ++snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *attr) + { + snd_config_t *type; +@@ -208,7 +208,7 @@ snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, + } + + /* get token_ref for attribute with name attr_name in the class */ +-const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, ++const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *attr_name) + { + snd_config_t *attributes, *attr, *token_ref; +@@ -235,7 +235,7 @@ const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, + } + + /* convert a valid attribute string value to the corresponding tuple value */ +-long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *, ++long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, snd_config_t *attr) + { + +diff --git a/topology/pre-process-object.c b/topology/pre-process-object.c +index 48555e7..61cc85f 100644 +--- a/topology/pre-process-object.c ++++ b/topology/pre-process-object.c +@@ -31,7 +31,8 @@ + + /* Parse VendorToken object, create the "SectionVendorToken" and save it */ + int tplg_build_vendor_token_object(struct tplg_pre_processor *tplg_pp, +- snd_config_t *obj_cfg, snd_config_t *) ++ snd_config_t *obj_cfg, ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_iterator_t i, next; + snd_config_t *vtop, *n, *obj; +@@ -196,7 +197,7 @@ int tplg_build_data_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj + return tplg_parent_update(tplg_pp, parent, "data", name); + } + +-static int tplg_create_config_template(struct tplg_pre_processor *, ++static int tplg_create_config_template(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t **template, + const struct config_template_items *items) + { +@@ -499,7 +500,7 @@ min_max_check: + } + + /* get object's name attribute value */ +-const char *tplg_object_get_name(struct tplg_pre_processor *, ++const char *tplg_object_get_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *object) + { + snd_config_t *cfg; +@@ -518,7 +519,7 @@ const char *tplg_object_get_name(struct tplg_pre_processor *, + } + + /* look up the instance of object in a config */ +-static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *, ++static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *type, + const char *class_name, const char *id) + { +@@ -977,7 +978,7 @@ template: + } + + static int tplg_build_generic_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, +- snd_config_t *) ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_t *wtop; + const char *name; +@@ -1090,7 +1091,7 @@ const struct build_function_map object_build_map[] = { + NULL, &pcm_caps_config}, + }; + +-static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *, ++static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj) + { + snd_config_iterator_t first; +@@ -1145,7 +1146,7 @@ snd_config_t *tplg_object_get_section(struct tplg_pre_processor *tplg_pp, snd_co + } + + /* return 1 if attribute not found in search_config, 0 on success and negative value on error */ +-static int tplg_object_copy_and_add_param(struct tplg_pre_processor *, ++static int tplg_object_copy_and_add_param(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj, + snd_config_t *attr_cfg, + snd_config_t *search_config) +@@ -1351,8 +1352,8 @@ static int tplg_object_pre_process_children(struct tplg_pre_processor *tplg_pp, + return 0; + } + +-static int tplg_construct_object_name(struct tplg_pre_processor *, snd_config_t *obj, +- snd_config_t *class_cfg) ++static int tplg_construct_object_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *obj, snd_config_t *class_cfg) + { + snd_config_iterator_t i, next; + snd_config_t *args, *n; +@@ -1547,7 +1548,7 @@ static int tplg_object_set_unique_attribute(struct tplg_pre_processor *tplg_pp, + * Helper function to get object instance config which is 2 nodes down from class_type config. + * ex: Get the pointer to the config node with ID "0" from the input config Widget.pga.0 {} + */ +-snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *, ++snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class_type) + { + snd_config_iterator_t first; +diff --git a/topology/pre-processor.c b/topology/pre-processor.c +index 3903dee..01f8a5d 100644 +--- a/topology/pre-processor.c ++++ b/topology/pre-processor.c +@@ -231,8 +231,9 @@ void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) + snd_config_save(cfg, tplg_pp->dbg_output); + } + #else +-void tplg_pp_debug(char *, ...) {} +-void tplg_pp_config_debug(struct tplg_pre_processor *, snd_config_t *){} ++void tplg_pp_debug(char *fmt ATTRIBUTE_UNUSED, ...) {} ++void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *cfg ATTRIBUTE_UNUSED) {} + #endif + + static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) +@@ -640,8 +641,9 @@ static int pre_process_includes_all(struct tplg_pre_processor *tplg_pp, snd_conf + } + + /* duplicate the existing objects in src into dest and update with new attribute */ +-static int pre_process_add_objects(struct tplg_pre_processor *, int *object_count, +- snd_config_t *src, snd_config_t *dest, snd_config_t *attr_cfg) ++static int pre_process_add_objects(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ int *object_count, snd_config_t *src, ++ snd_config_t *dest, snd_config_t *attr_cfg) + { + snd_config_iterator_t i, next; + int ret; +-- +2.39.2 + -- 2.39.2 From bernd at kuhls.net Sun Oct 15 09:33:09 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:33:09 +0200 Subject: [Buildroot] [PATCH v2 3/4] package/alsa-utils: Fix musl build In-Reply-To: <20231015093310.1138805-1-bernd@kuhls.net> References: <20231015093310.1138805-1-bernd@kuhls.net> Message-ID: <20231015093310.1138805-3-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/5a0/5a03cba08bf24d61c816b8e2f257c18004bad3d7/ Signed-off-by: Bernd Kuhls --- v2: removed left-over from previous try to fix http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ (Baruch) .../0009-topology-include-locale.h.patch | 33 +++++++++++++++++++ ...nhlt-dmic-info.c-include-sys-types.h.patch | 33 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 package/alsa-utils/0009-topology-include-locale.h.patch create mode 100644 package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch diff --git a/package/alsa-utils/0009-topology-include-locale.h.patch b/package/alsa-utils/0009-topology-include-locale.h.patch new file mode 100644 index 0000000000..14a059cbf6 --- /dev/null +++ b/package/alsa-utils/0009-topology-include-locale.h.patch @@ -0,0 +1,33 @@ +From 8c229270f6bae83b705a03714c46067a7aa57b02 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:29 +0200 +Subject: [PATCH] topology: include locale.h + +This solves an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/239 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02 + +Signed-off-by: Bernd Kuhls +--- + topology/topology.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/topology/topology.c b/topology/topology.c +index 1840ffe..5d03a8b 100644 +--- a/topology/topology.c ++++ b/topology/topology.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include + #include +-- +2.39.2 + diff --git a/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch new file mode 100644 index 0000000000..b5f8489703 --- /dev/null +++ b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch @@ -0,0 +1,33 @@ +From 0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:30 +0200 +Subject: [PATCH] nhlt-dmic-info.c: include sys/types.h + +This fixes an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/238 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 + +Signed-off-by: Bernd Kuhls +--- + nhlt/nhlt-dmic-info.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c +index 3f6c64d..331555a 100644 +--- a/nhlt/nhlt-dmic-info.c ++++ b/nhlt/nhlt-dmic-info.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + + int debug = 0; +-- +2.39.2 + -- 2.39.2 From bernd at kuhls.net Sun Oct 15 09:33:10 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:33:10 +0200 Subject: [Buildroot] [PATCH v2 4/4] package/alsa-utils: fix UMP support detection In-Reply-To: <20231015093310.1138805-1-bernd@kuhls.net> References: <20231015093310.1138805-1-bernd@kuhls.net> Message-ID: <20231015093310.1138805-4-bernd@kuhls.net> Fixes: http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ Signed-off-by: Bernd Kuhls --- v2: no changes ...nfigure.ac-fix-UMP-support-detection.patch | 38 +++++++++++++++++++ package/alsa-utils/alsa-utils.mk | 2 + 2 files changed, 40 insertions(+) create mode 100644 package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch diff --git a/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch new file mode 100644 index 0000000000..66cf051733 --- /dev/null +++ b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch @@ -0,0 +1,38 @@ +From 8a0da6d4484cd2ca4f1939a6c44941e070db2147 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 13 Oct 2023 20:32:32 +0200 +Subject: [PATCH] configure.ac: fix UMP support detection + +https://github.com/alsa-project/alsa-utils/commit/b399fb85a919636b7da34e8bcf17f484dd9046f7 +added usage of alsa/ump_msg.h without checking whether alsa-lib was +compiled with rawmidi support: +https://github.com/alsa-project/alsa-lib/blob/master/include/Makefile.am#L37 + +Fixes a build error when alsa-lib was compiled with --disable-rawmidi + +aplaymidi.c:34:10: fatal error: alsa/ump_msg.h: No such file or directory + 34 | #include + +Upstream: https://github.com/alsa-project/alsa-utils/pull/240 + +Signed-off-by: Bernd Kuhls +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index beb4963..4217741 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,7 +55,7 @@ if test "$HAVE_SEQ_CLIENT_INFO_GET_PID" = "yes" ; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid]) + fi + AC_CHECK_LIB([asound], [snd_seq_client_info_get_midi_version], [HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION="yes"]) +-if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" ; then ++if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" -a "$have_rawmidi" = "yes"; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION], 1, [alsa-lib supports snd_seq_client_info_get_midi_version]) + fi + AC_CHECK_LIB([atopology], [snd_tplg_save], [have_topology="yes"], [have_topology="no"]) +-- +2.39.2 + diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk index 7487e3c2bb..6f6021400e 100644 --- a/package/alsa-utils/alsa-utils.mk +++ b/package/alsa-utils/alsa-utils.mk @@ -9,6 +9,8 @@ ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils ALSA_UTILS_LICENSE = GPL-2.0 ALSA_UTILS_LICENSE_FILES = COPYING +# 0011-configure.ac-fix-UMP-support-detection.patch +ALSA_UTILS_AUTORECONF = YES ALSA_UTILS_INSTALL_STAGING = YES ALSA_UTILS_DEPENDENCIES = host-pkgconf alsa-lib \ $(if $(BR2_PACKAGE_NCURSES),ncurses) \ -- 2.39.2 From bernd at kuhls.net Sun Oct 15 09:34:34 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:34:34 +0200 Subject: [Buildroot] [PATCH 3/4] package/alsa-utils: Fix musl build References: <20231013184554.337101-1-bernd@kuhls.net> <20231013184554.337101-3-bernd@kuhls.net> <87a5sl2hpy.fsf__10926.7796551407$1697307373$gmane$org@tarshish> Message-ID: Am Sat, 14 Oct 2023 21:13:52 +0300 schrieb Baruch Siach via buildroot: >> config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI >> bool "aplaymidi" >> + select BR2_PACKAGE_ALSA_LIB_RAWMIDI > > Is this related to the musl build fix? Hi, oops, no, this is a left-over from a previous try to fix http:// autobuild.buildroot.net/results/e26/ e269f862ebade30cf870d783a1006aba8fedc129/ Sent v2 of the series: https://patchwork.ozlabs.org/project/buildroot/list/?series=377655 Regards, Bernd From bernd at kuhls.net Sun Oct 15 09:35:32 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 11:35:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.19.1 Message-ID: <20231015093532.1139778-1-bernd@kuhls.net> Removed patch 0004, not needed anymore due to upstream commit https://github.com/samba-team/samba/commit/a25f549e9a03010996300b04271a7909b6fbf756#diff-6e2c3d973b3ce82db7b4f67111e36116517b040ed64c28f40114d2e0d535706a Release notes: https://www.samba.org/samba/history/samba-4.19.0.html https://www.samba.org/samba/history/samba-4.19.1.html Signed-off-by: Bernd Kuhls --- ...-Use-perl-module-JSON-part-of-core-i.patch | 41 ------------------- package/samba4/samba4.hash | 4 +- package/samba4/samba4.mk | 2 +- 3 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch diff --git a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch b/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch deleted file mode 100644 index aa55c09891..0000000000 --- a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch +++ /dev/null @@ -1,41 +0,0 @@ -From bd8fc19c8383914b518a9d56f4c08fba3baeb967 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Sun, 7 May 2023 11:02:26 +0200 -Subject: [PATCH] 3rdparty/heimdal: Use perl module JSON:PP, part of core, instead - of JSON package - -Downloaded from -https://github.com/openwrt/packages/blob/master/net/samba4/patches/105-perl-json-pp.patch - -Signed-off-by: Bernd Kuhls -Signed-off-by: Yann E. MORIN -Upstream: https://github.com/heimdal/heimdal/pull/1176 ---- - third_party/heimdal/cf/make-proto.pl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/third_party/heimdal/cf/make-proto.pl b/third_party/heimdal/cf/make-proto.pl -index 36a040ce6c0..ad21dbad9e1 100644 ---- a/third_party/heimdal/cf/make-proto.pl -+++ b/third_party/heimdal/cf/make-proto.pl -@@ -4,7 +4,7 @@ - use Getopt::Std; - use File::Compare; - --use JSON; -+use JSON::PP; - - my $comment = 0; - my $doxygen = 0; -@@ -70,7 +70,7 @@ if($opt_x) { - my $EXP; - local $/; - open(EXP, '<', $opt_x) || die "open ${opt_x}"; -- my $obj = JSON->new->utf8->decode(); -+ my $obj = JSON::PP->new->utf8->decode(); - close $EXP; - - foreach my $x (keys %$obj) { --- -2.25.1 - diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index 9843d419f0..5e65295e4c 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc -sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.19.1.tar.asc +sha256 ce3b7f0d18bf91aa5fd646e8bb385a3b35375b703c6e5123b02b85a1abc81879 samba-4.19.1.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 9cf7a59d9b..124ce564d2 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.8 +SAMBA4_VERSION = 4.19.1 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES -- 2.39.2 From titouanchristophe at gmail.com Sun Oct 15 11:41:27 2023 From: titouanchristophe at gmail.com (Titouan Christophe) Date: Sun, 15 Oct 2023 13:41:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/redis: bump to v7.2.1 Message-ID: <20231015114127.227700-1-titouanchristophe@gmail.com> Signed-off-by: Titouan Christophe --- package/redis/0001-uclibc.patch | 8 +++++--- package/redis/redis.hash | 2 +- package/redis/redis.mk | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package/redis/0001-uclibc.patch b/package/redis/0001-uclibc.patch index 197f43e7a7..6761f9f3fe 100644 --- a/package/redis/0001-uclibc.patch +++ b/package/redis/0001-uclibc.patch @@ -12,17 +12,19 @@ Signed-off-by: Martin Bark Signed-off-by: Titouan Christophe [Fabrice: update for 6.0.9] Signed-off-by: Fabrice Fontaine +[Titouan: adapt to 7.2.1] +Signed-off-by: Titouan Christophe ========================================================================= diff -ur old/src/config.h new/src/config.h --- old/src/config.h 2012-10-26 07:20:24.000000000 -0700 +++ new/src/config.h 2012-10-31 13:41:51.206309564 -0700 -@@ -62,7 +62,7 @@ +@@ -71,7 +71,7 @@ #endif /* Test for backtrace() */ -#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || \ +#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__)) || \ - defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__)) && defined(USE_BACKTRACE))\ - || defined(__DragonFly__) + defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__) || defined(__sun)) && defined(USE_BACKTRACE))\ + || defined(__DragonFly__) || (defined(__UCLIBC__) && defined(__UCLIBC_HAS_BACKTRACE__)) #define HAVE_BACKTRACE 1 diff --git a/package/redis/redis.hash b/package/redis/redis.hash index 69bfc1475f..b73df17790 100644 --- a/package/redis/redis.hash +++ b/package/redis/redis.hash @@ -1,5 +1,5 @@ # From https://github.com/redis/redis-hashes/blob/master/README -sha256 ce250d1fba042c613de38a15d40889b78f7cb6d5461a27e35017ba39b07221e3 redis-7.0.11.tar.gz +sha256 5c76d990a1b1c5f949bcd1eed90d0c8a4f70369bdbdcb40288c561ddf88967a4 redis-7.2.1.tar.gz # Locally calculated sha256 97f0a15b7bbae580d2609dad2e11f1956ae167be296ab60f4691ab9c30ee9828 COPYING diff --git a/package/redis/redis.mk b/package/redis/redis.mk index e5d3de8eb9..04f4697e7d 100644 --- a/package/redis/redis.mk +++ b/package/redis/redis.mk @@ -4,7 +4,7 @@ # ################################################################################ -REDIS_VERSION = 7.0.11 +REDIS_VERSION = 7.2.1 REDIS_SITE = http://download.redis.io/releases REDIS_LICENSE = BSD-3-Clause (core); MIT and BSD family licenses (Bundled components) REDIS_LICENSE_FILES = COPYING -- 2.42.0 From titouanchristophe at gmail.com Sun Oct 15 11:46:15 2023 From: titouanchristophe at gmail.com (Titouan Christophe) Date: Sun, 15 Oct 2023 13:46:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/waf: bump to v2.0.26 Message-ID: <20231015114615.235625-1-titouanchristophe@gmail.com> Signed-off-by: Titouan Christophe --- package/waf/waf.hash | 6 +++--- package/waf/waf.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/waf/waf.hash b/package/waf/waf.hash index c8d464ebfb..1ad535febb 100644 --- a/package/waf/waf.hash +++ b/package/waf/waf.hash @@ -1,7 +1,7 @@ # Locally computed -sha1 9cc6db88ecda57067024f368722ecbf48a3bba1a waf-2.0.24 -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf-2.0.24 +sha1 e310e29a44f23f80591f2aa6c2d4c30e5f1a26a8 waf-2.0.26 +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf-2.0.26 # The waf script also contains its license, but is renamed `waf` in the extract # step, so this is a synonym for the above, to check WAF_LICENSE -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf diff --git a/package/waf/waf.mk b/package/waf/waf.mk index d98ab489ca..bffa27a926 100644 --- a/package/waf/waf.mk +++ b/package/waf/waf.mk @@ -4,7 +4,7 @@ # ################################################################################ -WAF_VERSION = 2.0.24 +WAF_VERSION = 2.0.26 WAF_SOURCE = waf-$(WAF_VERSION) WAF_SITE = https://waf.io WAF_LICENSE = BSD-3-Clause -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 15 12:35:04 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 14:35:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/ksmbd-tools: security bump to version 3.4.9 Message-ID: <20231015123504.189034-1-fontaine.fabrice@gmail.com> Fix two security issues that reported by ZDI. https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.7 https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.8 https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.9 Signed-off-by: Fabrice Fontaine --- package/ksmbd-tools/ksmbd-tools.hash | 2 +- package/ksmbd-tools/ksmbd-tools.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ksmbd-tools/ksmbd-tools.hash b/package/ksmbd-tools/ksmbd-tools.hash index b31c66bbe7..6f7064c6eb 100644 --- a/package/ksmbd-tools/ksmbd-tools.hash +++ b/package/ksmbd-tools/ksmbd-tools.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 09ab343e9bf10ddfdd3216f400b19740a391645bf3645fa6f136b8da36306559 ksmbd-tools-3.4.6.tar.gz +sha256 418c7d87e8359355d150bdde6784612cd2ebd48ec87765852169e289d9de67e6 ksmbd-tools-3.4.9.tar.gz sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING diff --git a/package/ksmbd-tools/ksmbd-tools.mk b/package/ksmbd-tools/ksmbd-tools.mk index c4f9c503e6..c758c17bf2 100644 --- a/package/ksmbd-tools/ksmbd-tools.mk +++ b/package/ksmbd-tools/ksmbd-tools.mk @@ -4,7 +4,7 @@ # ################################################################################ -KSMBD_TOOLS_VERSION = 3.4.6 +KSMBD_TOOLS_VERSION = 3.4.9 KSMBD_TOOLS_SITE = https://github.com/cifsd-team/ksmbd-tools/releases/download/$(KSMBD_TOOLS_VERSION) KSMBD_TOOLS_LICENSE = GPL-2.0+ KSMBD_TOOLS_LICENSE_FILES = COPYING -- 2.42.0 From giulio.benetti at benettiengineering.com Sun Oct 15 12:39:41 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 15 Oct 2023 14:39:41 +0200 Subject: [Buildroot] [PATCH] package/libnvme: bump to version 1.6 Message-ID: <20231015123941.1099291-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/libnvme/libnvme.hash | 2 +- package/libnvme/libnvme.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libnvme/libnvme.hash b/package/libnvme/libnvme.hash index b869ae295a..b9e0281189 100644 --- a/package/libnvme/libnvme.hash +++ b/package/libnvme/libnvme.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 checksums -sha256 f73ba1edde059b2d5e7c1048ad4f895e6047bff241c94b34a7aff5894779d086 libnvme-1.5.tar.gz +sha256 0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7 libnvme-1.6.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 71885e198c..32d28c4ad2 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNVME_VERSION = 1.5 +LIBNVME_VERSION = 1.6 LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION)) LIBNVME_LICENSE = LGPL-2.1 LIBNVME_LICENSE_FILES = COPYING -- 2.34.1 From fontaine.fabrice at gmail.com Sun Oct 15 12:46:53 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 14:46:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpfm4: bump to version 4.13.0 Message-ID: <20231015124654.197965-1-fontaine.fabrice@gmail.com> https://perfmon2.sourceforge.net Signed-off-by: Fabrice Fontaine --- package/libpfm4/libpfm4.hash | 6 +++--- package/libpfm4/libpfm4.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libpfm4/libpfm4.hash b/package/libpfm4/libpfm4.hash index 42740adb1e..80dc66c62e 100644 --- a/package/libpfm4/libpfm4.hash +++ b/package/libpfm4/libpfm4.hash @@ -1,6 +1,6 @@ # From http://sourceforge.net/projects/perfmon2/files/libpfm4/: -sha1 4c61cfb489426d9fff15428cb8536ba0e391c8ac libpfm-4.12.0.tar.gz -md5 9e4f9b89d23171eb9314a948a51b4284 libpfm-4.12.0.tar.gz +sha1 bcb52090f02bc7bcb5ac066494cd55bbd5084e65 libpfm-4.13.0.tar.gz +md5 673aaf0613f8fd1d886b4c5867c2fef1 libpfm-4.13.0.tar.gz # Locally calculated -sha256 4b0c1f53f39a61525b69bebf532c68040c1b984d7544a8ae0844b13cd91e1ee4 libpfm-4.12.0.tar.gz +sha256 d18b97764c755528c1051d376e33545d0eb60c6ebf85680436813fa5b04cc3d1 libpfm-4.13.0.tar.gz sha256 beef323d68fc5db9c67b20e8e9de7ccde371d20cdbcdd686804055b18b926d90 COPYING diff --git a/package/libpfm4/libpfm4.mk b/package/libpfm4/libpfm4.mk index 7165d78cd9..1a18a31ce8 100644 --- a/package/libpfm4/libpfm4.mk +++ b/package/libpfm4/libpfm4.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBPFM4_VERSION = 4.12.0 +LIBPFM4_VERSION = 4.13.0 LIBPFM4_SOURCE = libpfm-$(LIBPFM4_VERSION).tar.gz LIBPFM4_SITE = http://downloads.sourceforge.net/project/perfmon2/libpfm4 LIBPFM4_LICENSE = libpfm4 license -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 15 13:55:32 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 15:55:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/librsync: bump to version 2.3.4 Message-ID: <20231015135532.540647-1-fontaine.fabrice@gmail.com> https://github.com/librsync/librsync/blob/v2.3.4/NEWS.md Signed-off-by: Fabrice Fontaine --- package/librsync/librsync.hash | 2 +- package/librsync/librsync.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/librsync/librsync.hash b/package/librsync/librsync.hash index c8ca61e516..7fc7395a49 100644 --- a/package/librsync/librsync.hash +++ b/package/librsync/librsync.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 ef8ce23df38d5076d25510baa2cabedffbe0af460d887d86c2413a1c2b0c676f librsync-2.3.2.tar.gz +sha256 a0dedf9fff66d8e29e7c25d23c1f42beda2089fb4eac1b36e6acd8a29edfbd1f librsync-2.3.4.tar.gz sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING diff --git a/package/librsync/librsync.mk b/package/librsync/librsync.mk index 97f5c607b0..1465963c61 100644 --- a/package/librsync/librsync.mk +++ b/package/librsync/librsync.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRSYNC_VERSION = 2.3.2 +LIBRSYNC_VERSION = 2.3.4 LIBRSYNC_SITE = https://github.com/librsync/librsync/releases/download/v$(LIBRSYNC_VERSION) LIBRSYNC_LICENSE = LGPL-2.1+ LIBRSYNC_LICENSE_FILES = COPYING -- 2.42.0 From ckhardin at gmail.com Sun Oct 15 17:12:36 2023 From: ckhardin at gmail.com (Charles Hardin) Date: Sun, 15 Oct 2023 10:12:36 -0700 Subject: [Buildroot] [PATCH v2 1/1] Makefile: fix SDK relocation for per-package-dirs In-Reply-To: <20221227154300.10556-1-brandon.maier@collins.com> References: <20221227154300.10556-1-brandon.maier@collins.com> Message-ID: On Tue, Dec 27, 2022 at 7:43?AM Brandon Maier via buildroot wrote: > > The relocate-sdk.sh script does not work correctly when > BR2_PER_PACKAGE_DIRECTORIES is enabled. relocate-sdk.sh expects > everything to point at $HOST_DIR, but each package will be pointing at > its $(O)/per-package/*/host. > > Use the same command for scrubing host paths during the build, to scrub > to the final host directory location. > > Signed-off-by: Brandon Maier Acked-by: Charles Hardin Tested and verified the host paths in the shasum as an example > --- > v2: > - drop original implementation in favor of reusing the existing > PPD_FIXUP_PATHS code. > --- > Makefile | 1 + > package/pkg-generic.mk | 12 +----------- > package/pkg-utils.mk | 15 +++++++++++++++ > 3 files changed, 17 insertions(+), 11 deletions(-) > > diff --git a/Makefile b/Makefile > index 88f90cd2fa..ac3540b36c 100644 > --- a/Makefile > +++ b/Makefile > @@ -598,6 +598,7 @@ prepare-sdk: world > @$(call MESSAGE,"Rendering the SDK relocatable") > PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath host > PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath staging > + $(call ppd-fixup-paths,$(BASE_DIR)) > $(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh > mkdir -p $(HOST_DIR)/share/buildroot > echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index f24e03a325..210af1bbef 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -92,18 +92,8 @@ endif > > ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) > > -# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the > -# proper staging and host directories for the current package: find > -# all text files that contain the PPD root, and replace it with the > -# current package's PPD. > define PPD_FIXUP_PATHS > - $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ > - |while read -d '' f; do \ > - file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ > - printf '%s\0' "$${f}"; \ > - done \ > - |xargs -0 --no-run-if-empty \ > - $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/:g' > + $(call ppd-fixup-paths,$(PER_PACKAGE_DIR)/$($(PKG)_NAME)) > endef > > # Remove python's pre-compiled "sysconfigdata", as it may contain paths to > diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk > index 0945e6ed31..f22562fbed 100644 > --- a/package/pkg-utils.mk > +++ b/package/pkg-utils.mk > @@ -233,6 +233,21 @@ define prepare-per-package-directory > $(call per-package-rsync,$(1),host,$(HOST_DIR)) > $(call per-package-rsync,$(1),target,$(TARGET_DIR)) > endef > + > +# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the > +# proper staging and host directories for the current package: find > +# all text files that contain the PPD root, and replace it with the > +# current package's PPD. > +# $1: destination root directory containing host and staging > +define ppd-fixup-paths > + $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ > + |while read -d '' f; do \ > + file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ > + printf '%s\0' "$${f}"; \ > + done \ > + |xargs -0 --no-run-if-empty \ > + $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(1)/:g' > +endef > endif > > # > -- > 2.39.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From bernd at kuhls.net Sun Oct 15 17:37:06 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 19:37:06 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.2 Message-ID: <20231015173706.408993-1-bernd@kuhls.net> Release notes: https://seclists.org/oss-sec/2023/q4/107 Signed-off-by: Bernd Kuhls --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 6cdeea0614..e784bf7521 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index f5695d048d..166a4ead54 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96.1 +EXIM_VERSION = 4.96.2 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ -- 2.39.2 From arnout at mind.be Sun Oct 15 18:13:44 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:13:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.2 In-Reply-To: <20231015173706.408993-1-bernd@kuhls.net> References: <20231015173706.408993-1-bernd@kuhls.net> Message-ID: <6e13becd-d5a4-48ab-7453-17f09665bcba@mind.be> On 15/10/2023 19:37, Bernd Kuhls wrote: > Release notes: https://seclists.org/oss-sec/2023/q4/107 > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > package/exim/exim.hash | 4 ++-- > package/exim/exim.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/exim/exim.hash b/package/exim/exim.hash > index 6cdeea0614..e784bf7521 100644 > --- a/package/exim/exim.hash > +++ b/package/exim/exim.hash > @@ -1,6 +1,6 @@ > # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt > -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz > +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz > # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt > -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz > +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz > # Locally calculated > sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE > diff --git a/package/exim/exim.mk b/package/exim/exim.mk > index f5695d048d..166a4ead54 100644 > --- a/package/exim/exim.mk > +++ b/package/exim/exim.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -EXIM_VERSION = 4.96.1 > +EXIM_VERSION = 4.96.2 > EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz > EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 > EXIM_LICENSE = GPL-2.0+ From arnout at mind.be Sun Oct 15 18:13:07 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:13:07 +0200 Subject: [Buildroot] [git commit] package/exim: security bump version to 4.96.2 Message-ID: <20231015181421.964B785234@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5759ec066ae63eb8f41da3f890bf645df20047c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://seclists.org/oss-sec/2023/q4/107 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 6cdeea0614..e784bf7521 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index f5695d048d..166a4ead54 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96.1 +EXIM_VERSION = 4.96.2 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Sun Oct 15 18:17:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:17:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/librsync: bump to version 2.3.4 In-Reply-To: <20231015135532.540647-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 15 Oct 2023 15:55:32 +0200") References: <20231015135532.540647-1-fontaine.fabrice@gmail.com> Message-ID: <878r83ycly.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/librsync/librsync/blob/v2.3.4/NEWS.md > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:17:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:17:54 +0200 Subject: [Buildroot] [PATCH 1/1] package/redis: bump to v7.2.1 In-Reply-To: <20231015114127.227700-1-titouanchristophe@gmail.com> (Titouan Christophe's message of "Sun, 15 Oct 2023 13:41:27 +0200") References: <20231015114127.227700-1-titouanchristophe@gmail.com> Message-ID: <874jiryckt.fsf@48ers.dk> >>>>> "Titouan" == Titouan Christophe writes: > Signed-off-by: Titouan Christophe Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:18:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:18:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/libpfm4: bump to version 4.13.0 In-Reply-To: <20231015124654.197965-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 15 Oct 2023 14:46:53 +0200") References: <20231015124654.197965-1-fontaine.fabrice@gmail.com> Message-ID: <87zg0jwxzo.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://perfmon2.sourceforge.net > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:16:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:16:34 +0200 Subject: [Buildroot] [git commit] package/librsync: bump to version 2.3.4 Message-ID: <20231015181834.33A71852C8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4919f7f9c312ab6680bf888d2ab438788f1c7475 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/librsync/librsync/blob/v2.3.4/NEWS.md Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/librsync/librsync.hash | 2 +- package/librsync/librsync.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/librsync/librsync.hash b/package/librsync/librsync.hash index c8ca61e516..7fc7395a49 100644 --- a/package/librsync/librsync.hash +++ b/package/librsync/librsync.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 ef8ce23df38d5076d25510baa2cabedffbe0af460d887d86c2413a1c2b0c676f librsync-2.3.2.tar.gz +sha256 a0dedf9fff66d8e29e7c25d23c1f42beda2089fb4eac1b36e6acd8a29edfbd1f librsync-2.3.4.tar.gz sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING diff --git a/package/librsync/librsync.mk b/package/librsync/librsync.mk index 97f5c607b0..1465963c61 100644 --- a/package/librsync/librsync.mk +++ b/package/librsync/librsync.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBRSYNC_VERSION = 2.3.2 +LIBRSYNC_VERSION = 2.3.4 LIBRSYNC_SITE = https://github.com/librsync/librsync/releases/download/v$(LIBRSYNC_VERSION) LIBRSYNC_LICENSE = LGPL-2.1+ LIBRSYNC_LICENSE_FILES = COPYING From peter at korsgaard.com Sun Oct 15 18:17:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:17:32 +0200 Subject: [Buildroot] [git commit] package/redis: bump to v7.2.1 Message-ID: <20231015181834.400B585233@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d49f53f8aaf0bff9c8d04c16485c844fef2832d0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Titouan Christophe Signed-off-by: Peter Korsgaard --- package/redis/0001-uclibc.patch | 8 +++++--- package/redis/redis.hash | 2 +- package/redis/redis.mk | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package/redis/0001-uclibc.patch b/package/redis/0001-uclibc.patch index 197f43e7a7..6761f9f3fe 100644 --- a/package/redis/0001-uclibc.patch +++ b/package/redis/0001-uclibc.patch @@ -12,17 +12,19 @@ Signed-off-by: Martin Bark Signed-off-by: Titouan Christophe [Fabrice: update for 6.0.9] Signed-off-by: Fabrice Fontaine +[Titouan: adapt to 7.2.1] +Signed-off-by: Titouan Christophe ========================================================================= diff -ur old/src/config.h new/src/config.h --- old/src/config.h 2012-10-26 07:20:24.000000000 -0700 +++ new/src/config.h 2012-10-31 13:41:51.206309564 -0700 -@@ -62,7 +62,7 @@ +@@ -71,7 +71,7 @@ #endif /* Test for backtrace() */ -#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || \ +#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__)) || \ - defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__)) && defined(USE_BACKTRACE))\ - || defined(__DragonFly__) + defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__) || defined(__sun)) && defined(USE_BACKTRACE))\ + || defined(__DragonFly__) || (defined(__UCLIBC__) && defined(__UCLIBC_HAS_BACKTRACE__)) #define HAVE_BACKTRACE 1 diff --git a/package/redis/redis.hash b/package/redis/redis.hash index 69bfc1475f..b73df17790 100644 --- a/package/redis/redis.hash +++ b/package/redis/redis.hash @@ -1,5 +1,5 @@ # From https://github.com/redis/redis-hashes/blob/master/README -sha256 ce250d1fba042c613de38a15d40889b78f7cb6d5461a27e35017ba39b07221e3 redis-7.0.11.tar.gz +sha256 5c76d990a1b1c5f949bcd1eed90d0c8a4f70369bdbdcb40288c561ddf88967a4 redis-7.2.1.tar.gz # Locally calculated sha256 97f0a15b7bbae580d2609dad2e11f1956ae167be296ab60f4691ab9c30ee9828 COPYING diff --git a/package/redis/redis.mk b/package/redis/redis.mk index e5d3de8eb9..04f4697e7d 100644 --- a/package/redis/redis.mk +++ b/package/redis/redis.mk @@ -4,7 +4,7 @@ # ################################################################################ -REDIS_VERSION = 7.0.11 +REDIS_VERSION = 7.2.1 REDIS_SITE = http://download.redis.io/releases REDIS_LICENSE = BSD-3-Clause (core); MIT and BSD family licenses (Bundled components) REDIS_LICENSE_FILES = COPYING From peter at korsgaard.com Sun Oct 15 18:18:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:18:15 +0200 Subject: [Buildroot] [git commit] package/libpfm4: bump to version 4.13.0 Message-ID: <20231015181834.51911852CA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=708eb34bf4ad8c658c3e46d7d0afe410096a1b23 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://perfmon2.sourceforge.net Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/libpfm4/libpfm4.hash | 6 +++--- package/libpfm4/libpfm4.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libpfm4/libpfm4.hash b/package/libpfm4/libpfm4.hash index 42740adb1e..80dc66c62e 100644 --- a/package/libpfm4/libpfm4.hash +++ b/package/libpfm4/libpfm4.hash @@ -1,6 +1,6 @@ # From http://sourceforge.net/projects/perfmon2/files/libpfm4/: -sha1 4c61cfb489426d9fff15428cb8536ba0e391c8ac libpfm-4.12.0.tar.gz -md5 9e4f9b89d23171eb9314a948a51b4284 libpfm-4.12.0.tar.gz +sha1 bcb52090f02bc7bcb5ac066494cd55bbd5084e65 libpfm-4.13.0.tar.gz +md5 673aaf0613f8fd1d886b4c5867c2fef1 libpfm-4.13.0.tar.gz # Locally calculated -sha256 4b0c1f53f39a61525b69bebf532c68040c1b984d7544a8ae0844b13cd91e1ee4 libpfm-4.12.0.tar.gz +sha256 d18b97764c755528c1051d376e33545d0eb60c6ebf85680436813fa5b04cc3d1 libpfm-4.13.0.tar.gz sha256 beef323d68fc5db9c67b20e8e9de7ccde371d20cdbcdd686804055b18b926d90 COPYING diff --git a/package/libpfm4/libpfm4.mk b/package/libpfm4/libpfm4.mk index 7165d78cd9..1a18a31ce8 100644 --- a/package/libpfm4/libpfm4.mk +++ b/package/libpfm4/libpfm4.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBPFM4_VERSION = 4.12.0 +LIBPFM4_VERSION = 4.13.0 LIBPFM4_SOURCE = libpfm-$(LIBPFM4_VERSION).tar.gz LIBPFM4_SITE = http://downloads.sourceforge.net/project/perfmon2/libpfm4 LIBPFM4_LICENSE = libpfm4 license From arnout at mind.be Sun Oct 15 18:20:30 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:20:30 +0200 Subject: [Buildroot] [PATCH v2 1/1] Makefile: fix SDK relocation for per-package-dirs In-Reply-To: <20221227154300.10556-1-brandon.maier@collins.com> References: <20221227154300.10556-1-brandon.maier@collins.com> Message-ID: <5f76c7de-bdaf-d208-9cca-c3d7ac9635a2@mind.be> On 27/12/2022 16:43, Brandon Maier wrote: > The relocate-sdk.sh script does not work correctly when > BR2_PER_PACKAGE_DIRECTORIES is enabled. relocate-sdk.sh expects > everything to point at $HOST_DIR, but each package will be pointing at > its $(O)/per-package/*/host. > > Use the same command for scrubing host paths during the build, to scrub > to the final host directory location. > > Signed-off-by: Brandon Maier Applied to master, thanks. And thank you Charles for the review. Regards, Arnout > --- > v2: > - drop original implementation in favor of reusing the existing > PPD_FIXUP_PATHS code. > --- > Makefile | 1 + > package/pkg-generic.mk | 12 +----------- > package/pkg-utils.mk | 15 +++++++++++++++ > 3 files changed, 17 insertions(+), 11 deletions(-) > > diff --git a/Makefile b/Makefile > index 88f90cd2fa..ac3540b36c 100644 > --- a/Makefile > +++ b/Makefile > @@ -598,6 +598,7 @@ prepare-sdk: world > @$(call MESSAGE,"Rendering the SDK relocatable") > PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath host > PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath staging > + $(call ppd-fixup-paths,$(BASE_DIR)) > $(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh > mkdir -p $(HOST_DIR)/share/buildroot > echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index f24e03a325..210af1bbef 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -92,18 +92,8 @@ endif > > ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) > > -# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the > -# proper staging and host directories for the current package: find > -# all text files that contain the PPD root, and replace it with the > -# current package's PPD. > define PPD_FIXUP_PATHS > - $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ > - |while read -d '' f; do \ > - file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ > - printf '%s\0' "$${f}"; \ > - done \ > - |xargs -0 --no-run-if-empty \ > - $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/:g' > + $(call ppd-fixup-paths,$(PER_PACKAGE_DIR)/$($(PKG)_NAME)) > endef > > # Remove python's pre-compiled "sysconfigdata", as it may contain paths to > diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk > index 0945e6ed31..f22562fbed 100644 > --- a/package/pkg-utils.mk > +++ b/package/pkg-utils.mk > @@ -233,6 +233,21 @@ define prepare-per-package-directory > $(call per-package-rsync,$(1),host,$(HOST_DIR)) > $(call per-package-rsync,$(1),target,$(TARGET_DIR)) > endef > + > +# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the > +# proper staging and host directories for the current package: find > +# all text files that contain the PPD root, and replace it with the > +# current package's PPD. > +# $1: destination root directory containing host and staging > +define ppd-fixup-paths > + $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ > + |while read -d '' f; do \ > + file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ > + printf '%s\0' "$${f}"; \ > + done \ > + |xargs -0 --no-run-if-empty \ > + $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(1)/:g' > +endef > endif > > # From peter at korsgaard.com Sun Oct 15 18:21:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:21:16 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: security bump version to 4.18.8 In-Reply-To: <20231014124243.80138-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sat, 14 Oct 2023 14:42:43 +0200") References: <20231014124243.80138-1-bernd@kuhls.net> Message-ID: <87v8b7wxur.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://www.samba.org/samba/history/samba-4.18.8.html > Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & > CVE-2023-42670. > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:21:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:21:24 +0200 Subject: [Buildroot] [PATCH] package/gcc: remoce leftover from legacy PowerPC patch In-Reply-To: <20231014203645.866867-1-yann.morin.1998@free.fr> (Yann E. MORIN's message of "Sat, 14 Oct 2023 22:36:45 +0200") References: <20231014203645.866867-1-yann.morin.1998@free.fr> Message-ID: <87r0lvwxuj.fsf@48ers.dk> >>>>> "Yann" == Yann E MORIN writes: > In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching > logic), the macro defining the conditional patch was removed, but it was > still referenced and expanded in the apply-patches hook. > Drop that now. > Signed-off-by: Yann E. MORIN > Cc: Romain Naour Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From arnout at mind.be Sun Oct 15 18:20:36 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:20:36 +0200 Subject: [Buildroot] [git commit] Makefile: fix SDK relocation for per-package-dirs Message-ID: <20231015182135.EF568852ED@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=25e60fbe1cabb678952330a8d8d48efe7f8e5048 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The relocate-sdk.sh script does not work correctly when BR2_PER_PACKAGE_DIRECTORIES is enabled. relocate-sdk.sh expects everything to point at $HOST_DIR, but each package will be pointing at its $(O)/per-package/*/host. Use the same command for scrubing host paths during the build, to scrub to the final host directory location. Signed-off-by: Brandon Maier Acked-by: Charles Hardin Signed-off-by: Arnout Vandecappelle --- Makefile | 1 + package/pkg-generic.mk | 12 +----------- package/pkg-utils.mk | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index dc4dbc64e1..f87f4458ba 100644 --- a/Makefile +++ b/Makefile @@ -600,6 +600,7 @@ prepare-sdk: world PARALLEL_JOBS=$(PARALLEL_JOBS) \ PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) \ $(TOPDIR)/support/scripts/fix-rpath staging + $(call ppd-fixup-paths,$(BASE_DIR)) $(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh mkdir -p $(HOST_DIR)/share/buildroot echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 6e944dd6b7..e140145ee3 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -92,18 +92,8 @@ endif ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the -# proper staging and host directories for the current package: find -# all text files that contain the PPD root, and replace it with the -# current package's PPD. define PPD_FIXUP_PATHS - $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ - |while read -d '' f; do \ - file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ - printf '%s\0' "$${f}"; \ - done \ - |xargs -0 --no-run-if-empty \ - $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/:g' + $(call ppd-fixup-paths,$(PER_PACKAGE_DIR)/$($(PKG)_NAME)) endef # Remove python's pre-compiled "sysconfigdata", as it may contain paths to diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index bdbdf20c23..ba3da68a7b 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -233,6 +233,21 @@ define prepare-per-package-directory $(call per-package-rsync,$(1),host,$(HOST_DIR)) $(call per-package-rsync,$(1),target,$(TARGET_DIR)) endef + +# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the +# proper staging and host directories for the current package: find +# all text files that contain the PPD root, and replace it with the +# current package's PPD. +# $1: destination root directory containing host and staging +define ppd-fixup-paths + $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ + |while read -d '' f; do \ + file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ + printf '%s\0' "$${f}"; \ + done \ + |xargs -0 --no-run-if-empty \ + $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(1)/:g' +endef endif # From peter at korsgaard.com Sun Oct 15 18:21:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:21:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/nmap: fix build with libressl >= 3.5.0 In-Reply-To: <20231012163622.87846-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 18:36:22 +0200") References: <20231012163622.87846-1-fontaine.fabrice@gmail.com> Message-ID: <87mswjwxu4.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:22:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:22:58 +0200 Subject: [Buildroot] [PATCH 1/1] package/pound: force libopenssl In-Reply-To: <20231012204047.243690-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 22:40:47 +0200") References: <20231012204047.243690-1-fontaine.fabrice@gmail.com> Message-ID: <87il77wxrx.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Force libopenssl to avoid the following build failure with libressl > raised since bump to version 4.8 in commit > 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: > pound.c: In function 'main': > pound.c:971:27: error: 'l_id' undeclared (first use in this function) > 971 | CRYPTO_set_id_callback (l_id); > | ^~~~ > Fixes: > - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:23:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:23:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/netsnmp: fix musl build In-Reply-To: <20231012211357.643153-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 12 Oct 2023 23:13:57 +0200") References: <20231012211357.643153-1-fontaine.fabrice@gmail.com> Message-ID: <87edhvwxqz.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following musl build failure raised since bump to version 5.9.4 > in commit 868603755c16296ae2a61845891edeafc36e48ca: > large_fd_set.c: In function 'LFD_SET': > ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? > 1614 | #define NETSNMP_FD_MASK_TYPE unknown > | ^~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:24:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/systemd: bump version to 254.5 In-Reply-To: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> (Adam Duskett's message of "Fri, 13 Oct 2023 10:30:37 +0200") References: <20231013083037.1349119-1-adam.duskett@amarulasolutions.com> Message-ID: <87a5sjwxpw.fsf@48ers.dk> >>>>> "Adam" == Adam Duskett writes: > All tests passed in Debian 11 with the following command: > ./support/testing/run-tests tests.init.test_systemd > Signed-off-by: Adam Duskett Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:24:47 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/rauc: bump version to 1.10.1 In-Reply-To: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> (Adam Duskett's message of "Fri, 13 Oct 2023 11:35:41 +0200") References: <20231013093541.1556311-1-adam.duskett@amarulasolutions.com> Message-ID: <875y37wxow.fsf@48ers.dk> >>>>> "Adam" == Adam Duskett writes: > Signed-off-by: Adam Duskett Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:24:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:54 +0200 Subject: [Buildroot] [PATCH] board/raspberrypi: fix typo in comment In-Reply-To: <20231013202528.164224-1-gael.portay@rtone.fr> (=?utf-8?Q?=22?= =?utf-8?Q?Ga=C3=ABl?= PORTAY"'s message of "Fri, 13 Oct 2023 22:25:28 +0200") References: <20231013202528.164224-1-gael.portay@rtone.fr> Message-ID: <871qdvwxop.fsf@48ers.dk> >>>>> "Ga?l" == Ga?l PORTAY writes: > This fixes a typo by dropping off the spurious x in ensure. > Signed-off-by: Ga?l PORTAY Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:25:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:25:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/mutt: fix libgpgme static build In-Reply-To: <20231013210830.143696-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 13 Oct 2023 23:08:30 +0200") References: <20231013210830.143696-1-fontaine.fabrice@gmail.com> Message-ID: <87wmvnvj33.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following static build failure with libgpgme raised since at > least bump to version 2.2.9 in commit > 7a2afdb7b1180bed3b6ad92c22c908805467ead3: > /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: > /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): > in function `my_usleep': > assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' > Fixes: > - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf > - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:31:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:31:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/usbguard: fix build with gcc >= 13 In-Reply-To: <20231013215355.323987-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Fri, 13 Oct 2023 23:53:55 +0200") References: <20231013215355.323987-1-fontaine.fabrice@gmail.com> Message-ID: <87sf6bvisw.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with gcc >= 13: > In file included from src/Library/Base64.cpp:23: > src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type > 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); > | ^~~~~~~ > Fixes: > - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:19:55 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:19:55 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/gcc: remove leftover from legacy PowerPC patch Message-ID: <20231015183250.5B227855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1a91b6a04418c4b6549bece9c607570baa0b626a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching logic), the macro defining the conditional patch was removed, but it was still referenced and expanded in the apply-patches hook. Drop that now. Signed-off-by: Yann E. MORIN Cc: Romain Naour Signed-off-by: Peter Korsgaard (cherry picked from commit 84cdd92f0172ccc49fd2c037caaf3a659a26194d) Signed-off-by: Peter Korsgaard --- package/gcc/gcc.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 3050229176..5d023d725f 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -41,7 +41,6 @@ define HOST_GCC_APPLY_PATCHES $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ fi; \ done - $(HOST_GCC_APPLY_POWERPC_PATCH) endef HOST_GCC_EXCLUDES = \ From peter at korsgaard.com Sun Oct 15 18:19:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:19:37 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/samba4: security bump version to 4.18.8 Message-ID: <20231015183250.50B328559B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fa8d1acc2d9d376de56232bf219e0b17797e4252 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Release notes: https://www.samba.org/samba/history/samba-4.18.8.html Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & CVE-2023-42670. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 2dc61bfa768659ffa208b179967c332e6252d5ad) Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fea760c500..9843d419f0 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc -sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc +sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index cfa94fc141..9cf7a59d9b 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.7 +SAMBA4_VERSION = 4.18.8 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 15 18:32:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:32:38 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/exim: security bump version to 4.96.2 Message-ID: <20231015183250.9C77284C30@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0481d1100363c2ae07758d5b43b40edb029105b4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Release notes: https://seclists.org/oss-sec/2023/q4/107 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (cherry picked from commit 5759ec066ae63eb8f41da3f890bf645df20047c6) Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 6cdeea0614..e784bf7521 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index f5695d048d..166a4ead54 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96.1 +EXIM_VERSION = 4.96.2 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Sun Oct 15 18:25:19 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:25:19 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/mutt: fix libgpgme static build Message-ID: <20231015183250.911D7855AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f72ce56f8d59cc31af934ef07f95172d0cdc00f2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix the following static build failure with libgpgme raised since at least bump to version 2.2.9 in commit 7a2afdb7b1180bed3b6ad92c22c908805467ead3: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): in function `my_usleep': assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' Fixes: - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit b518b0f161c81582f31c79c50552b5106f693df2) Signed-off-by: Peter Korsgaard --- package/mutt/mutt.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk index 09f547a091..2fe7b92b38 100644 --- a/package/mutt/mutt.mk +++ b/package/mutt/mutt.mk @@ -40,7 +40,11 @@ MUTT_CONF_OPTS += \ # Force the path to "gpgrt-config" (from the libgpg-error package) to # avoid using the one on host, if present. -MUTT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +MUTT_GPGRT_CONFIG = $(STAGING_DIR)/usr/bin/gpgrt-config +ifeq ($(BR2_STATIC_LIBS),y) +MUTT_GPGRT_CONFIG += --static +endif +MUTT_CONF_ENV += GPGRT_CONFIG="$(MUTT_GPGRT_CONFIG)" else MUTT_CONF_OPTS += --disable-gpgme endif From peter at korsgaard.com Sun Oct 15 18:20:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:20:54 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/nmap: fix build with libressl >= 3.5.0 Message-ID: <20231015183250.677EA855A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3d2cffe1a249a26ea907257a7c1cc445c680b994 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 796ebbcf34298ef56ff63fc845cd97a5acb7dc8a) Signed-off-by: Peter Korsgaard --- ...g-Crypto.cc-fix-build-with-libressl-3.5.0.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch new file mode 100644 index 0000000000..f2bdf5904d --- /dev/null +++ b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch @@ -0,0 +1,39 @@ +From 4ebea5c1d1a10be0d0165da3b9c0e1fa82c3db3c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 21 May 2022 17:51:37 +0200 +Subject: [PATCH] nping/Crypto.cc: fix build with libressl >= 3.5.0 + +Fix the following build failure with libressl >= 3.5.0: + +Crypto.cc: In static member function 'static int Crypto::aes128_cbc_encrypt(u8*, size_t, u8*, u8*, size_t, u8*)': +Crypto.cc:139:26: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined + 139 | EVP_CIPHER_CTX ctx; + | ^~~ + +Fixes: + - http://autobuild.buildroot.org/results/2e6eebbe2ed8305b88047bc92c19350c1ecada16 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/nmap/nmap/pull/2480 +--- + nping/Crypto.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/nping/Crypto.cc b/nping/Crypto.cc +index 850438352..9f7c88686 100644 +--- a/nping/Crypto.cc ++++ b/nping/Crypto.cc +@@ -70,7 +70,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_EVP_PKEY 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset +-- +2.35.1 + From peter at korsgaard.com Sun Oct 15 18:24:29 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:29 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/rauc: bump version to 1.10.1 Message-ID: <20231015183251.E4F48855A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3f854cea477ab977ab8fb00125f69f7208e352a3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Bugfix release: https://github.com/rauc/rauc/releases/tag/v1.10.1 Signed-off-by: Adam Duskett Signed-off-by: Peter Korsgaard (cherry picked from commit e55770e8827567c8c4952713c9cd149012f5d68f) Signed-off-by: Peter Korsgaard --- package/rauc/rauc.hash | 2 +- package/rauc/rauc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rauc/rauc.hash b/package/rauc/rauc.hash index 3a1fa6f5f9..38fea45b8a 100644 --- a/package/rauc/rauc.hash +++ b/package/rauc/rauc.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d3eec057e74d41565bbdfa10ff8bb2edb38e39af2b2126f8ad1d2174ae034d47 rauc-1.10.tar.xz +sha256 aa99164c5f54fd29b5c8456221b51f92c900884af66de3e1b7f15a25b7db98a7 rauc-1.10.1.tar.xz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk index 9f0571402f..4211abdcc4 100644 --- a/package/rauc/rauc.mk +++ b/package/rauc/rauc.mk @@ -4,7 +4,7 @@ # ################################################################################ -RAUC_VERSION = 1.10 +RAUC_VERSION = 1.10.1 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION) RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz RAUC_LICENSE = LGPL-2.1 From peter at korsgaard.com Sun Oct 15 18:23:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:23:22 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/netsnmp: fix musl build Message-ID: <20231015183250.73EFD84C30@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=56caafceab3ec12669ccb7aa6fc8b653778064e1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix the following musl build failure raised since bump to version 5.9.4 in commit 868603755c16296ae2a61845891edeafc36e48ca: large_fd_set.c: In function 'LFD_SET': ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? 1614 | #define NETSNMP_FD_MASK_TYPE unknown | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit dad81003c905c5fe33599c1676ed46108b512bc0) Signed-off-by: Peter Korsgaard --- ...Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch | 38 ++++++++++++++++++++++ package/netsnmp/netsnmp.mk | 2 ++ 2 files changed, 40 insertions(+) diff --git a/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch new file mode 100644 index 0000000000..91a00aec27 --- /dev/null +++ b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch @@ -0,0 +1,38 @@ +From a62169f1fa358be8f330ea8519ade0610fac525b Mon Sep 17 00:00:00 2001 +From: Adam Gajda +Date: Mon, 2 Oct 2023 16:40:31 +0200 +Subject: [PATCH] Fix configuration of NETSNMP_FD_MASK_TYPE + +Upstream: https://github.com/net-snmp/net-snmp/commit/a62169f1fa358be8f330ea8519ade0610fac525b +Signed-off-by: Fabrice Fontaine +--- + configure | 2 +- + configure.d/config_project_types | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 9f0a173d8a..945a27c663 100755 +--- a/configure ++++ b/configure +@@ -30871,7 +30871,7 @@ CFLAGS="$CFLAGS -Werror" + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits" >&5 + printf %s "checking for the type of fd_set::fds_bits... " >&6; } +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +diff --git a/configure.d/config_project_types b/configure.d/config_project_types +index 1b4c66b95e..a78e8ebb06 100644 +--- a/configure.d/config_project_types ++++ b/configure.d/config_project_types +@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -Werror" + + AC_MSG_CHECKING([for the type of fd_set::fds_bits]) +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include + #include diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index ae85f2697f..b5cda30a7b 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -40,6 +40,8 @@ NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true inst NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install NETSNMP_MAKE = $(MAKE1) NETSNMP_CONFIG_SCRIPTS = net-snmp-config +# We're patching configure.d/config_project_types +NETSNMP_AUTORECONF = YES ifeq ($(BR2_ENDIAN),"BIG") NETSNMP_CONF_OPTS += --with-endianness=big From peter at korsgaard.com Sun Oct 15 18:26:13 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:26:13 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/usbguard: fix build with gcc >= 13 Message-ID: <20231015183252.10D2D855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=175bc20117fa13f9731a3a75f2e22a2740ac740d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix the following build failure with gcc >= 13: In file included from src/Library/Base64.cpp:23: src/Library/Base64.hpp:34:34: error: 'uint8_t' does not name a type 34 | std::string base64Encode(const uint8_t* buffer, size_t buflen); | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/1a08823020c37a73f4e4a40f47b02fca3f159748 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 05db019ea6f12c407a1ff7e8a365ba2743668d81) Signed-off-by: Peter Korsgaard --- ...ke-GitHub-Actions-cover-build-with-GCC-13.patch | 114 +++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch new file mode 100644 index 0000000000..415b8e1dd1 --- /dev/null +++ b/package/usbguard/0001-Fix-build-for-GCC-13-make-GitHub-Actions-cover-build-with-GCC-13.patch @@ -0,0 +1,114 @@ +From 22b1e0897af977cc96af926c730ff948bd120bb5 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Fri, 31 Mar 2023 09:39:49 +0200 +Subject: [PATCH] Fix build for GCC 13 + make GitHub Actions cover build with + GCC 13 (#586) + +* include missing + +gcc 13 moved some includes around and as a result is no +longer transitively included [1]. Explicitly include it for +uint8_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj + +* docker.yml: Cover openSUSE Tumbleweed with GCC 13+ + +Based on scripts/docker/build_on_centos_8_2.Dockerfile . + +--------- + +Signed-off-by: Khem Raj +Co-authored-by: Khem Raj +Upstream: https://github.com/USBGuard/usbguard/commit/22b1e0897af977cc96af926c730ff948bd120bb5 +Signed-off-by: Fabrice Fontaine +--- + .github/workflows/docker.yml | 1 + + .../build_on_opensuse_tumbleweed.Dockerfile | 50 +++++++++++++++++++ + src/Library/Base64.cpp | 1 - + src/Library/Base64.hpp | 1 + + 4 files changed, 52 insertions(+), 1 deletion(-) + create mode 100644 scripts/docker/build_on_opensuse_tumbleweed.Dockerfile + +diff --git a/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +new file mode 100644 +index 00000000..d0993d8c +--- /dev/null ++++ b/scripts/docker/build_on_opensuse_tumbleweed.Dockerfile +@@ -0,0 +1,50 @@ ++## ++## Copyright (c) 2023 Sebastian Pipping ++## ++## This program is free software; you can redistribute it and/or modify ++## it under the terms of the GNU General Public License as published by ++## the Free Software Foundation; either version 2 of the License, or ++## (at your option) any later version. ++## ++## This program is distributed in the hope that it will be useful, ++## but WITHOUT ANY WARRANTY; without even the implied warranty of ++## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++## GNU General Public License for more details. ++## ++## You should have received a copy of the GNU General Public License ++## along with this program. If not, see . ++ ++FROM opensuse/tumbleweed:latest ++RUN zypper --non-interactive install dnf rpm-repos-openSUSE-Tumbleweed \ ++ && \ ++ dnf install -y \ ++ asciidoc \ ++ autoconf \ ++ automake \ ++ dbus-1-glib-devel \ ++ diffutils \ ++ file \ ++ gcc-c++ \ ++ git \ ++ libgcrypt-devel \ ++ libqb-devel \ ++ libsodium-devel \ ++ libtool \ ++ libxslt \ ++ make \ ++ polkit-devel \ ++ protobuf-devel ++ADD usbguard.tar usbguard/ ++ADD catch.tar usbguard/src/ThirdParty/Catch/ ++ADD pegtl.tar usbguard/src/ThirdParty/PEGTL/ ++WORKDIR usbguard ++RUN git init &>/dev/null && ./autogen.sh ++RUN ./configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN make dist ++RUN tar xf usbguard-*.tar.gz ++RUN mv -v usbguard-*.*.*/ usbguard-release/ ++RUN mkdir usbguard-release/build/ ++WORKDIR usbguard-release/build/ ++RUN ../configure --with-bundled-catch --with-bundled-pegtl || ! cat config.log ++RUN bash -c 'set -o pipefail; make V=1 "-j$(nproc)" |& tee build.log' ++RUN ! grep -F 'include file not found' build.log +diff --git a/src/Library/Base64.cpp b/src/Library/Base64.cpp +index ddb28dce..0246a134 100644 +--- a/src/Library/Base64.cpp ++++ b/src/Library/Base64.cpp +@@ -22,7 +22,6 @@ + + #include "Base64.hpp" + #include +-#include + + namespace usbguard + { +diff --git a/src/Library/Base64.hpp b/src/Library/Base64.hpp +index 0947f214..e0c745cb 100644 +--- a/src/Library/Base64.hpp ++++ b/src/Library/Base64.hpp +@@ -23,6 +23,7 @@ + #endif + + #include ++#include + #include + + namespace usbguard From peter at korsgaard.com Sun Oct 15 18:20:11 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:20:11 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/gcc: remove leftover from legacy PowerPC patch Message-ID: <20231015183251.ACE73855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d354a46ad32a6c4012a870ed0e756724e03a6487 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x In commit 0c82f3f63563 (package/gcc: remove powerpc conditional patching logic), the macro defining the conditional patch was removed, but it was still referenced and expanded in the apply-patches hook. Drop that now. Signed-off-by: Yann E. MORIN Cc: Romain Naour Signed-off-by: Peter Korsgaard (cherry picked from commit 84cdd92f0172ccc49fd2c037caaf3a659a26194d) Signed-off-by: Peter Korsgaard --- package/gcc/gcc.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 3050229176..5d023d725f 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -41,7 +41,6 @@ define HOST_GCC_APPLY_PATCHES $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ fi; \ done - $(HOST_GCC_APPLY_POWERPC_PATCH) endef HOST_GCC_EXCLUDES = \ From peter at korsgaard.com Sun Oct 15 18:20:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:20:38 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/nmap: fix build with libressl >= 3.5.0 Message-ID: <20231015183251.BA968855A9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a9a7d01b5c7edb2e308a5ddb69ae8955131d9966 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 796ebbcf34298ef56ff63fc845cd97a5acb7dc8a) Signed-off-by: Peter Korsgaard --- ...g-Crypto.cc-fix-build-with-libressl-3.5.0.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch new file mode 100644 index 0000000000..f2bdf5904d --- /dev/null +++ b/package/nmap/0002-nping-Crypto.cc-fix-build-with-libressl-3.5.0.patch @@ -0,0 +1,39 @@ +From 4ebea5c1d1a10be0d0165da3b9c0e1fa82c3db3c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 21 May 2022 17:51:37 +0200 +Subject: [PATCH] nping/Crypto.cc: fix build with libressl >= 3.5.0 + +Fix the following build failure with libressl >= 3.5.0: + +Crypto.cc: In static member function 'static int Crypto::aes128_cbc_encrypt(u8*, size_t, u8*, u8*, size_t, u8*)': +Crypto.cc:139:26: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined + 139 | EVP_CIPHER_CTX ctx; + | ^~~ + +Fixes: + - http://autobuild.buildroot.org/results/2e6eebbe2ed8305b88047bc92c19350c1ecada16 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/nmap/nmap/pull/2480 +--- + nping/Crypto.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/nping/Crypto.cc b/nping/Crypto.cc +index 850438352..9f7c88686 100644 +--- a/nping/Crypto.cc ++++ b/nping/Crypto.cc +@@ -70,7 +70,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_EVP_PKEY 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset +-- +2.35.1 + From peter at korsgaard.com Sun Oct 15 18:24:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:02 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/systemd: bump version to 254.5 Message-ID: <20231015183251.D9AB2855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=461155fc78abc012eca7a5c42948d17ba18e25e8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x All tests passed in Debian 11 with the following command: ./support/testing/run-tests tests.init.test_systemd Signed-off-by: Adam Duskett Acked-by: Norbert Lange Signed-off-by: Peter Korsgaard (cherry picked from commit 1c6b1ee63f614a7480ad100aceb6f5e85353326f) Signed-off-by: Peter Korsgaard --- package/systemd/systemd.hash | 2 +- package/systemd/systemd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/systemd/systemd.hash b/package/systemd/systemd.hash index 10f4bc04fa..f0c3db60e7 100644 --- a/package/systemd/systemd.hash +++ b/package/systemd/systemd.hash @@ -1,5 +1,5 @@ # sha256 locally computed -sha256 18db69c8fc33afebf95a40cfa3769df5f0e4a07bccdebd33b2fd81c8b75e7a02 systemd-254.tar.gz +sha256 41873783aa1c680e10d2f2626797a1c2fef8018d69b68c8c77639e140ee7846d systemd-254.5.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index d220673572..d428765ec3 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -19,7 +19,7 @@ # - Diff sysusers.d with the previous version # - Diff factory/etc/nsswitch.conf with the previous version # (details are often sprinkled around in README and manpages) -SYSTEMD_VERSION = 254 +SYSTEMD_VERSION = 254.5 SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) SYSTEMD_LICENSE = \ LGPL-2.1+, \ From peter at korsgaard.com Sun Oct 15 18:22:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:22:50 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/pound: force libopenssl Message-ID: <20231015183251.C4D8C855AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8f5cf8d488fd77038dede3f8e48f6288d15203a2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Force libopenssl to avoid the following build failure with libressl raised since bump to version 4.8 in commit 525cb6a8fbe04a959ea6e3a21a3f6f8828d7e9dc: pound.c: In function 'main': pound.c:971:27: error: 'l_id' undeclared (first use in this function) 971 | CRYPTO_set_id_callback (l_id); | ^~~~ Fixes: - http://autobuild.buildroot.org/results/692db714aa8b0dcfb67fd99977fb6f33c5d4810c Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 648502bdbdcf6a8996db897af731fd2219d777d1) Signed-off-by: Peter Korsgaard --- package/pound/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pound/Config.in b/package/pound/Config.in index 60fafff935..aa0f103273 100644 --- a/package/pound/Config.in +++ b/package/pound/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_POUND depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable From peter at korsgaard.com Sun Oct 15 18:24:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:35 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] board/raspberrypi: fix typo in comment Message-ID: <20231015183251.EF2F6855AA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f8b4a006a42f8d43d05ea529d936ebea874c7dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x This fixes a typo by dropping off the spurious x in ensure. Signed-off-by: Ga??l PORTAY Signed-off-by: Peter Korsgaard (cherry picked from commit 3381a084330e8f48785fb472e95c01d7a9602b36) Signed-off-by: Peter Korsgaard --- board/raspberrypi/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh index 38fdc80734..0bd7bc3d17 100755 --- a/board/raspberrypi/post-build.sh +++ b/board/raspberrypi/post-build.sh @@ -15,5 +15,5 @@ elif [ -d ${TARGET_DIR}/etc/systemd ]; then "${TARGET_DIR}/etc/systemd/system/getty.target.wants/getty at tty1.service" fi -# exnsure overlays exists for genimage +# ensure overlays exists for genimage mkdir -p "${BINARIES_DIR}/rpi-firmware/overlays" From peter at korsgaard.com Sun Oct 15 18:32:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:32:32 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/exim: security bump version to 4.96.2 Message-ID: <20231015183252.1B83C82AEC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7b860e69ae094175292e4c58bd868a4eb17ca554 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Release notes: https://seclists.org/oss-sec/2023/q4/107 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (cherry picked from commit 5759ec066ae63eb8f41da3f890bf645df20047c6) Signed-off-by: Peter Korsgaard --- package/exim/exim.hash | 4 ++-- package/exim/exim.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/exim/exim.hash b/package/exim/exim.hash index 6cdeea0614..e784bf7521 100644 --- a/package/exim/exim.hash +++ b/package/exim/exim.hash @@ -1,6 +1,6 @@ # From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 93ac0755c317e1fdbbea8ccb70a868876bdf3148692891c72ad0fe816767033d exim-4.96.1.tar.xz +sha256 038e327e8d1e93d005bac9bb06fd22aec44d5028930d6dbe8817ad44bbfc1de6 exim-4.96.2.tar.xz # From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd exim-4.96.1.tar.xz +sha512 dc9f6a114e64ac826489edff88d50a24195b64714428e691c10a7bfb119b3ebb6455bf80cbb34dfd0a4e2e44cbde72effb009357a8e0a6065e512fe32092e3ed exim-4.96.2.tar.xz # Locally calculated sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/package/exim/exim.mk b/package/exim/exim.mk index f5695d048d..166a4ead54 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXIM_VERSION = 4.96.1 +EXIM_VERSION = 4.96.2 EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 EXIM_LICENSE = GPL-2.0+ From peter at korsgaard.com Sun Oct 15 18:19:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:19:30 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/samba4: security bump version to 4.18.8 Message-ID: <20231015183251.A28F98559B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a4cfbf072edf545c3e13fb14ad85e77cc81f0d08 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Release notes: https://www.samba.org/samba/history/samba-4.18.8.html Fixes CVE-2023-3961, CVE-2023-4091, CVE-2023-4154, CVE-2023-42669 & CVE-2023-42670. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit 2dc61bfa768659ffa208b179967c332e6252d5ad) Signed-off-by: Peter Korsgaard --- package/samba4/samba4.hash | 4 ++-- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index fea760c500..9843d419f0 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.7.tar.asc -sha256 61559a694f6a13cdc635c2d0e302519756f5f7bee9a61ceab3dc3ceff52160f6 samba-4.18.7.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc +sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index cfa94fc141..9cf7a59d9b 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.7 +SAMBA4_VERSION = 4.18.8 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From peter at korsgaard.com Sun Oct 15 18:24:41 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:24:41 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] board/raspberrypi: fix typo in comment Message-ID: <20231015183250.87044855A5@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=eaad8eda679a93ba10a3a6b773af5147bf73a647 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x This fixes a typo by dropping off the spurious x in ensure. Signed-off-by: Ga??l PORTAY Signed-off-by: Peter Korsgaard (cherry picked from commit 3381a084330e8f48785fb472e95c01d7a9602b36) Signed-off-by: Peter Korsgaard --- board/raspberrypi/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh index 38fdc80734..0bd7bc3d17 100755 --- a/board/raspberrypi/post-build.sh +++ b/board/raspberrypi/post-build.sh @@ -15,5 +15,5 @@ elif [ -d ${TARGET_DIR}/etc/systemd ]; then "${TARGET_DIR}/etc/systemd/system/getty.target.wants/getty at tty1.service" fi -# exnsure overlays exists for genimage +# ensure overlays exists for genimage mkdir -p "${BINARIES_DIR}/rpi-firmware/overlays" From peter at korsgaard.com Sun Oct 15 18:23:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:23:15 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/netsnmp: fix musl build Message-ID: <20231015183251.CF2D88559B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=72b50b9043be5ea506bb20ad861b2fb0e1f75fe2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix the following musl build failure raised since bump to version 5.9.4 in commit 868603755c16296ae2a61845891edeafc36e48ca: large_fd_set.c: In function 'LFD_SET': ../include/net-snmp/net-snmp-config.h:1614:30: error: unknown type name 'unknown'; did you mean 'union'? 1614 | #define NETSNMP_FD_MASK_TYPE unknown | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/394ebf93621c33dc2ddf370297268e6de9de7c9a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit dad81003c905c5fe33599c1676ed46108b512bc0) Signed-off-by: Peter Korsgaard --- ...Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch | 38 ++++++++++++++++++++++ package/netsnmp/netsnmp.mk | 2 ++ 2 files changed, 40 insertions(+) diff --git a/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch new file mode 100644 index 0000000000..91a00aec27 --- /dev/null +++ b/package/netsnmp/0001-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch @@ -0,0 +1,38 @@ +From a62169f1fa358be8f330ea8519ade0610fac525b Mon Sep 17 00:00:00 2001 +From: Adam Gajda +Date: Mon, 2 Oct 2023 16:40:31 +0200 +Subject: [PATCH] Fix configuration of NETSNMP_FD_MASK_TYPE + +Upstream: https://github.com/net-snmp/net-snmp/commit/a62169f1fa358be8f330ea8519ade0610fac525b +Signed-off-by: Fabrice Fontaine +--- + configure | 2 +- + configure.d/config_project_types | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 9f0a173d8a..945a27c663 100755 +--- a/configure ++++ b/configure +@@ -30871,7 +30871,7 @@ CFLAGS="$CFLAGS -Werror" + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits" >&5 + printf %s "checking for the type of fd_set::fds_bits... " >&6; } +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +diff --git a/configure.d/config_project_types b/configure.d/config_project_types +index 1b4c66b95e..a78e8ebb06 100644 +--- a/configure.d/config_project_types ++++ b/configure.d/config_project_types +@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -Werror" + + AC_MSG_CHECKING([for the type of fd_set::fds_bits]) +-for type in __fd_mask __int32_t unknown; do ++for type in __fd_mask __int32_t long\ int unknown; do + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include + #include diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index ae85f2697f..b5cda30a7b 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -40,6 +40,8 @@ NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true inst NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install NETSNMP_MAKE = $(MAKE1) NETSNMP_CONFIG_SCRIPTS = net-snmp-config +# We're patching configure.d/config_project_types +NETSNMP_AUTORECONF = YES ifeq ($(BR2_ENDIAN),"BIG") NETSNMP_CONF_OPTS += --with-endianness=big From peter at korsgaard.com Sun Oct 15 18:32:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:32:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/exim: security bump version to 4.96.2 In-Reply-To: <20231015173706.408993-1-bernd@kuhls.net> (Bernd Kuhls's message of "Sun, 15 Oct 2023 19:37:06 +0200") References: <20231015173706.408993-1-bernd@kuhls.net> Message-ID: <87o7gzviqy.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Release notes: https://seclists.org/oss-sec/2023/q4/107 > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Sun Oct 15 18:25:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 20:25:28 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/mutt: fix libgpgme static build Message-ID: <20231015183252.06CDB8559B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9c442c86e5a8b82cf57f08b2b8498bf410def817 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix the following static build failure with libgpgme raised since at least bump to version 2.2.9 in commit 7a2afdb7b1180bed3b6ad92c22c908805467ead3: /home/autobuild/autobuild/instance-11/output-1/host/lib/gcc/sh4a-buildroot-linux-musl/11.3.0/../../../../sh4a-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-11/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libgpgme.a(assuan-support.o): in function `my_usleep': assuan-support.c:(.text+0x260): undefined reference to `__assuan_usleep' Fixes: - http://autobuild.buildroot.org/results/0680dbc95601fcd8cdf07b926ea5e9be2079c7bf - http://autobuild.buildroot.org/results/b4f2d1ad77fb8b97accc4150d8249de145cb9cf4 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit b518b0f161c81582f31c79c50552b5106f693df2) Signed-off-by: Peter Korsgaard --- package/mutt/mutt.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk index 09f547a091..2fe7b92b38 100644 --- a/package/mutt/mutt.mk +++ b/package/mutt/mutt.mk @@ -40,7 +40,11 @@ MUTT_CONF_OPTS += \ # Force the path to "gpgrt-config" (from the libgpg-error package) to # avoid using the one on host, if present. -MUTT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +MUTT_GPGRT_CONFIG = $(STAGING_DIR)/usr/bin/gpgrt-config +ifeq ($(BR2_STATIC_LIBS),y) +MUTT_GPGRT_CONFIG += --static +endif +MUTT_CONF_ENV += GPGRT_CONFIG="$(MUTT_GPGRT_CONFIG)" else MUTT_CONF_OPTS += --disable-gpgme endif From arnout at mind.be Sun Oct 15 18:48:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:48:29 +0200 Subject: [Buildroot] [PATCH v4] package/cutekeyboard: new package In-Reply-To: <20221018151624.882453-1-angelo@amarulasolutions.com> References: <20221018151624.882453-1-angelo@amarulasolutions.com> Message-ID: <9497df91-af07-8291-b28b-f5a8b40148e1@mind.be> Hi Angelo, I'm going through some old patches :-) On 18/10/2022 17:16, Angelo Compagnucci wrote: > CuteKeyboard is a Qt virtual keyboard plugin for embedded applications > > Signed-off-by: Angelo Compagnucci > Acked-by: Andrea Ricchi Applied to master, thanks, with some changes, see below. > --- > v2: > * bump to verison v1.0.1 > v3: > * Adding me to developers file > v4: > * Fixing typo in Config.in > > package/Config.in | 1 + > package/cutekeyboard/Config.in | 19 +++++++++++++++++++ > package/cutekeyboard/cutekeyboard.hash | 3 +++ > package/cutekeyboard/cutekeyboard.mk | 18 ++++++++++++++++++ DEVELOPERS entry missing. I put it under your name - with the gmail address, not the Amarula address. If it's not OK, please send a patch to fix it. > 4 files changed, 41 insertions(+) > create mode 100644 package/cutekeyboard/Config.in > create mode 100644 package/cutekeyboard/cutekeyboard.hash > create mode 100644 package/cutekeyboard/cutekeyboard.mk > > diff --git a/package/Config.in b/package/Config.in > index e3a34d6e97..f11210d313 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -1522,6 +1522,7 @@ menu "Graphics" > source "package/cairo/Config.in" > source "package/cairomm/Config.in" > source "package/chipmunk/Config.in" > + source "package/cutekeyboard/Config.in" > source "package/exempi/Config.in" > source "package/exiv2/Config.in" > source "package/fltk/Config.in" > diff --git a/package/cutekeyboard/Config.in b/package/cutekeyboard/Config.in > new file mode 100644 > index 0000000000..59362f0648 > --- /dev/null > +++ b/package/cutekeyboard/Config.in > @@ -0,0 +1,19 @@ > +config BR2_PACKAGE_CUTEKEYBOARD > + bool "cutekeyboard" > + depends on BR2_PACKAGE_QT5DECLARATIVE > + depends on BR2_PACKAGE_QT5DECLARATIVE_QUICK > + depends on BR2_PACKAGE_QT5QUICKCONTROLS2 This should have been select rather than depends. I did leave a depends on Qt5 itself, of course. > + help > + CuteKeyboard is a Qt virtual keyboard plugin for > + embedded applications. Just for my information, what differentiates this from qt5virtualkeyboard? > + > + https://amarula.github.io/cutekeyboard/ > + > +if BR2_PACKAGE_CUTEKEYBOARD > + > +config BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES > + bool "cutekeyboard examples" > + help > + Compile also application example > + > +endif > diff --git a/package/cutekeyboard/cutekeyboard.hash b/package/cutekeyboard/cutekeyboard.hash > new file mode 100644 > index 0000000000..3d3ec2f858 > --- /dev/null > +++ b/package/cutekeyboard/cutekeyboard.hash > @@ -0,0 +1,3 @@ > +# Locally computed > +sha256 8cbaddc5fbf479d5e20fc88228e9af5928fa5e588052ee496c2f2efbe2afc510 cutekeyboard-afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7.tar.gz > +sha256 bdde6ec2ae2686623c0bb414bfb8bd731b314beff2264c602116ea60dd65964d LICENSE > diff --git a/package/cutekeyboard/cutekeyboard.mk b/package/cutekeyboard/cutekeyboard.mk > new file mode 100644 > index 0000000000..3e4c08f44e > --- /dev/null > +++ b/package/cutekeyboard/cutekeyboard.mk > @@ -0,0 +1,18 @@ > +################################################################################ > +# > +# qt5virtualkeyboard cutekeyboard :-) Regards, Arnout > +# > +################################################################################ > + > +CUTEKEYBOARD_VERSION = afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7 > +CUTEKEYBOARD_SITE = $(call github,amarula,cutekeyboard,$(CUTEKEYBOARD_VERSION)) > +CUTEKEYBOARD_DEPENDENCIES = qt5declarative qt5quickcontrols2 > +CUTEKEYBOARD_INSTALL_STAGING = YES > +CUTEKEYBOARD_LICENSE = MIT > +CUTEKEYBOARD_LICENSE_FILES = LICENSE > + > +ifeq ($(BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES),y) > +CUTEKEYBOARD_CONF_OPTS += CONFIG+=BUILD_EXAMPLES This installs something called "example" in /usr/bin. Not the most distinctive name... I left it like that though. Regards, Arnout > +endif > + > +$(eval $(qmake-package)) From arnout at mind.be Sun Oct 15 18:53:31 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:53:31 +0200 Subject: [Buildroot] [PATCH] Properly note many dependencies for opencv modules In-Reply-To: <20221125123801.4233-1-wdouglass@carnegierobotics.com> References: <20221125123801.4233-1-wdouglass@carnegierobotics.com> Message-ID: <4fb78d21-73ee-d85f-8b53-12b4777c941b@mind.be> Hi Woodrow, The subject of the patch should always start with "package/opencv4-contrib: ..." Applied to master with that fixed, and one more fix... On 25/11/2022 13:38, Woodrow Douglass via buildroot wrote: > Also, add myself to the DEVELOPERS file > > Signed-off-by: Woodrow Douglass [snip] > config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE > bool "face" > + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECCT ^^^^^^^^^^ OBJDETECT This was detected by check-package (but perhaps at the time you sent this patch, that feature hadn't been added to check-package yet). Regards, Arnout > help > Face Recognition -- Face recognition techniques: Eigen, Fisher > and Local Binary Pattern Histograms LBPH methods. [snip] From arnout at mind.be Sun Oct 15 18:33:41 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:33:41 +0200 Subject: [Buildroot] [git commit] package/cutekeyboard: new package Message-ID: <20231015185349.474B085638@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0aaeae26f69be2e3e0586dbb6d7243e229239f25 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master CuteKeyboard is a Qt virtual keyboard plugin for embedded applications Signed-off-by: Angelo Compagnucci Acked-by: Andrea Ricchi [Arnout: - add DEVELOPERS entry; - fixed the title in the .mk file; - use select instead of depends on; - with the above, add depends on QT5 and QT5_JSCORE. ] Signed-off-by: Arnout Vandecappelle --- DEVELOPERS | 1 + package/Config.in | 1 + package/cutekeyboard/Config.in | 21 +++++++++++++++++++++ package/cutekeyboard/cutekeyboard.hash | 3 +++ package/cutekeyboard/cutekeyboard.mk | 18 ++++++++++++++++++ 5 files changed, 44 insertions(+) diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346c..01e9777be6 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -183,6 +183,7 @@ F: package/apparmor/ F: package/corkscrew/ F: package/cups/ F: package/cups-filters/ +F: package/cutekeyboard/ F: package/fail2ban/ F: package/grep/ F: package/htpdate/ diff --git a/package/Config.in b/package/Config.in index 009f7ba186..4e489c4706 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1589,6 +1589,7 @@ menu "Graphics" source "package/cairomm/Config.in" source "package/cairomm1_14/Config.in" source "package/chipmunk/Config.in" + source "package/cutekeyboard/Config.in" source "package/exempi/Config.in" source "package/exiv2/Config.in" source "package/fltk/Config.in" diff --git a/package/cutekeyboard/Config.in b/package/cutekeyboard/Config.in new file mode 100644 index 0000000000..bd661b0cd4 --- /dev/null +++ b/package/cutekeyboard/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_CUTEKEYBOARD + bool "cutekeyboard" + depends on BR2_PACKAGE_QT5 + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative + select BR2_PACKAGE_QT5DECLARATIVE + select BR2_PACKAGE_QT5DECLARATIVE_QUICK + select BR2_PACKAGE_QT5QUICKCONTROLS2 + help + CuteKeyboard is a Qt virtual keyboard plugin for + embedded applications. + + https://amarula.github.io/cutekeyboard/ + +if BR2_PACKAGE_CUTEKEYBOARD + +config BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES + bool "cutekeyboard examples" + help + Compile also application example + +endif diff --git a/package/cutekeyboard/cutekeyboard.hash b/package/cutekeyboard/cutekeyboard.hash new file mode 100644 index 0000000000..3d3ec2f858 --- /dev/null +++ b/package/cutekeyboard/cutekeyboard.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 8cbaddc5fbf479d5e20fc88228e9af5928fa5e588052ee496c2f2efbe2afc510 cutekeyboard-afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7.tar.gz +sha256 bdde6ec2ae2686623c0bb414bfb8bd731b314beff2264c602116ea60dd65964d LICENSE diff --git a/package/cutekeyboard/cutekeyboard.mk b/package/cutekeyboard/cutekeyboard.mk new file mode 100644 index 0000000000..a7b3ba7a1d --- /dev/null +++ b/package/cutekeyboard/cutekeyboard.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# cutekeyboard +# +################################################################################ + +CUTEKEYBOARD_VERSION = afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7 +CUTEKEYBOARD_SITE = $(call github,amarula,cutekeyboard,$(CUTEKEYBOARD_VERSION)) +CUTEKEYBOARD_DEPENDENCIES = qt5declarative qt5quickcontrols2 +CUTEKEYBOARD_INSTALL_STAGING = YES +CUTEKEYBOARD_LICENSE = MIT +CUTEKEYBOARD_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES),y) +CUTEKEYBOARD_CONF_OPTS += CONFIG+=BUILD_EXAMPLES +endif + +$(eval $(qmake-package)) From arnout at mind.be Sun Oct 15 18:50:55 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 20:50:55 +0200 Subject: [Buildroot] [git commit] package/opencv4-contrib: properly note dependencies between modules Message-ID: <20231015185349.55B21852E0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a7736afacaefc9250f8e68825e42c8f7c229b410 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Also, add myself to the DEVELOPERS file Signed-off-by: Woodrow Douglass [Arnout: fix typo BR2_PACKAGE_OPENCV4_LIB_OBJDETECCT] Signed-off-by: Arnout Vandecappelle --- DEVELOPERS | 4 ++++ package/opencv4-contrib/Config.in | 20 ++++++++++++++++++++ package/opencv4/opencv4.mk | 9 ++++++--- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 01e9777be6..57015e245e 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -3101,6 +3101,10 @@ F: package/python-pyusb/ N: Wojciech Nizi??ski F: package/fwup/ +N: Woodrow Douglass +F: package/opencv4 +F: package/opencv4-contrib + N: Xuanhao Shi F: board/ti/am62x-sk/ F: board/ti/am64x-sk/ diff --git a/package/opencv4-contrib/Config.in b/package/opencv4-contrib/Config.in index 9800333035..851241ce5e 100644 --- a/package/opencv4-contrib/Config.in +++ b/package/opencv4-contrib/Config.in @@ -17,6 +17,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_ALPHAMAT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_ARUCO bool "aruco" + select BR2_PACKAGE_OPENCV4_LIB_CALIB3D help ArUco and ChArUco Markers -- Augmented reality ArUco marker and "ChARUco" markers where ArUco markers embedded inside the @@ -29,6 +30,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BARCODE config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BGSEGM bool "bgsegm" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO help Background segmentation algorithm combining statistical background image estimation and per-pixel Bayesian @@ -43,6 +45,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BIOINSPIRED config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_CCALIB bool "ccalib" + select BR2_PACKAGE_OPENCV4_LIB_HIGHGUI help Custom Calibration -- Patterns for 3D reconstruction, omnidirectional camera calibration, random pattern calibration @@ -71,6 +74,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DATASETS config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT bool "dnn_objdetect" + select BR2_PACKAGE_OPENCV4_LIB_DNN help Object Detection using CNNs -- Implements compact CNN Model for object detection. Trained using Caffe but uses @@ -78,6 +82,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES bool "dnn_superres" + select BR2_PACKAGE_OPENCV4_LIB_DNN help Superresolution using CNNs -- Contains four trained convolutional neural networks to upscale images. @@ -90,12 +95,14 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNNS_EASILY_FOOLED config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DPM bool "dpm" + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Deformable Part Model -- Felzenszwalb's Cascade with deformable parts object recognition code. config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE bool "face" + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Face Recognition -- Face recognition techniques: Eigen, Fisher and Local Binary Pattern Histograms LBPH methods. @@ -165,6 +172,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_MCC config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_OPTFLOW bool "optflow" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO help Optical Flow -- Algorithms for running and evaluating deepflow, simpleflow, sparsetodenseflow and motion @@ -219,6 +227,11 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SALIENCY config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SFM bool "sfm" + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_IMGCODECS + select BR2_PACKAGE_EIGEN + select BR2_PACKAGE_GLOG + select BR2_PACKAGE_GFLAGS help Structure from Motion -- This module contains algorithms to perform 3d reconstruction from 2d images. The core of @@ -231,6 +244,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SHAPE config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_STEREO bool "stereo" + select BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TRACKING help Stereo Correspondence -- Stereo matching done with different descriptors: Census / CS-Census / MCT / BRIEF / MV and dense @@ -244,6 +258,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_STRUCTURED_LIGHT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SUPERRES bool "superres" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO help Super Resolution @@ -262,12 +277,15 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TEXT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TRACKING bool "tracking" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO help Vision Based Object Tracking -- Use and/or evaluate different visual object tracking techniques. config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_VIDEOSTAB bool "videostab" + select BR2_PACKAGE_OPENCV4_LIB_VIDEO + select BR2_PACKAGE_OPENCV4_LIB_PHOTO help Video Stabilization @@ -299,6 +317,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XIMGPROC config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XOBJDETECT bool "xobjdetect" + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Boosted 2D Object Detection -- Uses a Waldboost cascade and local binary patterns computed as integral features for 2D @@ -306,6 +325,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XOBJDETECT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO bool "xphoto" + select BR2_PACKAGE_OPENCV4_LIB_PHOTO help Extra Computational Photography -- Additional photo processing algorithms: Color balance / Denoising / Inpainting. diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk index a665793ad9..2a05de42fb 100644 --- a/package/opencv4/opencv4.mk +++ b/package/opencv4/opencv4.mk @@ -203,12 +203,10 @@ OPENCV4_CONF_OPTS += \ -DINSTALL_PYTHON_EXAMPLES=OFF \ -DINSTALL_TO_MANGLED_PATHS=OFF -# Disabled features (mostly because they are not available in Buildroot), but -# - eigen: OpenCV does not use it, not take any benefit from it. +# Disabled features (mostly because they are not available in Buildroot) OPENCV4_CONF_OPTS += \ -DWITH_1394=OFF \ -DWITH_CLP=OFF \ - -DWITH_EIGEN=OFF \ -DWITH_GDAL=OFF \ -DWITH_GPHOTO2=OFF \ -DWITH_GSTREAMER_0_10=OFF \ @@ -284,6 +282,11 @@ OPENCV4_CONF_OPTS += \ -DBUILD_opencv_xphoto=$(if $(BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO),ON,OFF) endif +ifeq ($(BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SFM),y) +OPENCV4_DEPENDENCIES += eigen glog gflags +OPENCV4_CONF_OPTS += -DWITH_EIGEN=ON +endif + ifeq ($(BR2_PACKAGE_OPENCV4_JPEG2000_WITH_JASPER),y) OPENCV4_CONF_OPTS += -DWITH_JASPER=ON OPENCV4_DEPENDENCIES += jasper From arnout at mind.be Sun Oct 15 19:07:56 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:07:56 +0200 Subject: [Buildroot] [PATCH] package/iptables: add option to use iptables with nf_tables backend In-Reply-To: <330af443072a1a0716c5890eb87216a6bfbe99e7.1669645942.git.stefan@agner.ch> References: <330af443072a1a0716c5890eb87216a6bfbe99e7.1669645942.git.stefan@agner.ch> Message-ID: On 28/11/2022 15:33, Stefan Agner wrote: > Add a configuration option to let the iptables and ip6tables symlinks > point to the nf_tables variant. > > Signed-off-by: Stefan Agner > --- > package/iptables/Config.in | 5 +++++ > package/iptables/iptables.mk | 9 +++++++++ > 2 files changed, 14 insertions(+) > > diff --git a/package/iptables/Config.in b/package/iptables/Config.in > index e6b12603e0..ec7fbb7eea 100644 > --- a/package/iptables/Config.in > +++ b/package/iptables/Config.in > @@ -24,6 +24,11 @@ config BR2_PACKAGE_IPTABLES_NFTABLES > help > Build nftables compat utilities. > > +config BR2_PACKAGE_IPTABLES_NFTABLES_DEFAULT > + bool "nftables compat as default" Shouldn't this depend on BR2_PACKAGE_IPTABLES_NFTABLES ? > + help > + Use nftables compat utilities by default for iptables/ip6tables. > + > comment "nftables compat needs a toolchain w/ wchar, dynamic library, headers >= 3.12" > depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \ > !BR2_USE_WCHAR || BR2_STATIC_LIBS > diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk > index a6143677d1..b53ae928af 100644 > --- a/package/iptables/iptables.mk > +++ b/package/iptables/iptables.mk > @@ -49,6 +49,15 @@ else > IPTABLES_CONF_OPTS += --disable-bpf-compiler --disable-nfsynproxy > endif > > +ifeq ($(BR2_PACKAGE_IPTABLES_NFTABLES_DEFAULT),y) > +define IPTABLES_INSTALL_SYMLINK > + ln -fs xtables-nft-multi $(TARGET_DIR)/usr/sbin/iptables > + ln -fs xtables-nft-multi $(TARGET_DIR)/usr/sbin/ip6tables This only changes the default for those two, not for a bunch of others e.g. iptables-save. To do this properly, I think it's better to send a patch upstream that adds a configure option and changes the Makefile.am to install those symlinks. Regards, Arnout > +endef > + > +IPTABLES_POST_INSTALL_TARGET_HOOKS += IPTABLES_INSTALL_SYMLINK > +endif > + > define IPTABLES_LINUX_CONFIG_FIXUPS > $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_IPTABLES) > $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER) From fontaine.fabrice at gmail.com Sun Oct 15 19:15:08 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 21:15:08 +0200 Subject: [Buildroot] [PATCH 1/1] package/nushell: bump to version 0.85 Message-ID: <20231015191508.735072-1-fontaine.fabrice@gmail.com> - This bump will fix the following build failure with libressl raised since the addition of the package in commit f8047ff5987efc80f6ead51edae126911c02a8ad: This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5 through 3.5, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. - Update hash of license file (year updated with https://github.com/nushell/nushell/commit/a256f6d0d15c9fed69365be36b3484c4c8418d21) https://www.nushell.sh/blog Fixes: - http://autobuild.buildroot.org/results/8b7e277bb67c52a57e7b9f17c30f1780b9c5ea67 Signed-off-by: Fabrice Fontaine --- package/nushell/nushell.hash | 4 ++-- package/nushell/nushell.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/nushell/nushell.hash b/package/nushell/nushell.hash index b553a6c2bc..02fc8214b6 100644 --- a/package/nushell/nushell.hash +++ b/package/nushell/nushell.hash @@ -1,3 +1,3 @@ # Locally generated -sha256 352e807698d5f95e9bfdd9dd5512acab3cbef315379299a32e5f322a76eb718a nushell-0.76.0.tar.gz -sha256 e189616e535e9f7bf410a72e6fc51ad1e0ae461c58d592e186c2669daa5d1e5d LICENSE +sha256 94af22278f584b59c7c4b2390e2d15d9934d5207a756309259d1c4b92f5af7ef nushell-0.85.0.tar.gz +sha256 2dc1f03f729c21902d869b4d8f8dc528fc730f4c6ad83fc128672bda0ad69196 LICENSE diff --git a/package/nushell/nushell.mk b/package/nushell/nushell.mk index b9c1ee6434..779a3c4393 100644 --- a/package/nushell/nushell.mk +++ b/package/nushell/nushell.mk @@ -4,7 +4,7 @@ # ################################################################################ -NUSHELL_VERSION = 0.76.0 +NUSHELL_VERSION = 0.85.0 NUSHELL_SITE = $(call github,nushell,nushell,$(NUSHELL_VERSION)) NUSHELL_LICENSE = MIT NUSHELL_LICENSE_FILES = LICENSE -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 15 19:45:11 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 21:45:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/casync: fix build with gcc >= 13 Message-ID: <20231015194511.1158058-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 13: In file included from ../src/compressor.c:3: ../src/compressor.h:59:59: error: unknown type name 'size_t' 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); | ^~~~~~ ../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? 18 | #include "cacompression.h" +++ |+#include 19 | Fixes: - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f Signed-off-by: Fabrice Fontaine --- ...c-compressor.h-fix-build-with-gcc-13.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch diff --git a/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch new file mode 100644 index 0000000000..32af9142a7 --- /dev/null +++ b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch @@ -0,0 +1,40 @@ +From 8db993c32f97188bdd6de4b2aa177fc513ee7e9f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 15 Oct 2023 21:22:58 +0200 +Subject: [PATCH] src/compressor.h: fix build with gcc >= 13 + +Fix the following build failure with gcc >= 13: + +In file included from ../src/compressor.c:3: +../src/compressor.h:59:59: error: unknown type name 'size_t' + 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); + | ^~~~~~ +../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? + 18 | #include "cacompression.h" + +++ |+#include + 19 | + +Fixes: + - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/systemd/casync/pull/270 +--- + src/compressor.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/compressor.h b/src/compressor.h +index 2c9f93b..ae2eb30 100644 +--- a/src/compressor.h ++++ b/src/compressor.h +@@ -4,6 +4,7 @@ + #define foocompresshorhfoo + + #include ++#include + + #if HAVE_LIBLZMA + # include +-- +2.42.0 + -- 2.42.0 From giulio.benetti at benettiengineering.com Sun Oct 15 19:48:00 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 15 Oct 2023 21:48:00 +0200 Subject: [Buildroot] [PATCH v2] package/libnvme: bump to version 1.6 Message-ID: <20231015194800.1894656-1-giulio.benetti@benettiengineering.com> Add 2 local patches, one to avoid build failure due to different libc ioctl() prototype and one to avoid link conflict due to test unit enabled by default. Signed-off-by: Giulio Benetti --- V1->V2: * fix build failure due to ioctl() and test unit --- ...01-test-handle-POSIX-ioctl-prototype.patch | 70 +++++++++++++++++++ ...eson-make-building-tests-conditional.patch | 46 ++++++++++++ package/libnvme/libnvme.hash | 2 +- package/libnvme/libnvme.mk | 5 +- 4 files changed, 121 insertions(+), 2 deletions(-) create mode 100644 package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch create mode 100644 package/libnvme/0002-meson-make-building-tests-conditional.patch diff --git a/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch new file mode 100644 index 0000000000..175cdcd7dd --- /dev/null +++ b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch @@ -0,0 +1,70 @@ +From ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 30 Sep 2023 06:38:53 +0100 +Subject: [PATCH] test: handle POSIX ioctl prototype + +glibc has the following prototype for ioctl: int ioctl(int fd, unsigned long request, ...) +POSIX (inc. musl) has the following for ioctl: int ioctl(int fd, int request, ...) + +Check which prototype is used in to avoid a conflict and conditionally +define the right one for the system. + +Upstream: https://github.com/linux-nvme/libnvme/commit/ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 + +Bug: https://bugs.gentoo.org/914921 +Signed-off-by: Sam James +Signed-off-by: Giulio Benetti +--- + meson.build | 10 ++++++++++ + test/ioctl/mock.c | 6 +++++- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 6fcf1da..2c979cc 100644 +--- a/meson.build ++++ b/meson.build +@@ -230,6 +230,16 @@ conf.set( + ), + description: 'Is network address and service translation available' + ) ++conf.set( ++ 'HAVE_GLIBC_IOCTL', ++ cc.compiles( ++ '''#include ++ int ioctl(int fd, unsigned long request, ...); ++ ''', ++ name: 'ioctl has glibc-style prototype' ++ ), ++ description: 'Is ioctl the glibc interface (rather than POSIX)' ++) + + if cc.has_function_attribute('fallthrough') + conf.set('fallthrough', '__attribute__((__fallthrough__))') +diff --git a/test/ioctl/mock.c b/test/ioctl/mock.c +index e917244..5d2ac94 100644 +--- a/test/ioctl/mock.c ++++ b/test/ioctl/mock.c +@@ -114,7 +114,11 @@ void end_mock_cmds(void) + } \ + }) + ++#ifdef HAVE_GLIBC_IOCTL + int ioctl(int fd, unsigned long request, ...) ++#else ++int ioctl(int fd, int request, ...) ++#endif + { + struct mock_cmds *mock_cmds; + bool result64; +@@ -141,7 +145,7 @@ int ioctl(int fd, unsigned long request, ...) + result64 = true; + break; + default: +- fail("unexpected %s %lu", __func__, request); ++ fail("unexpected %s %lu", __func__, (unsigned long) request); + } + check(mock_cmds->remaining_cmds, + "unexpected %s command", mock_cmds->name); +-- +2.34.1 + diff --git a/package/libnvme/0002-meson-make-building-tests-conditional.patch b/package/libnvme/0002-meson-make-building-tests-conditional.patch new file mode 100644 index 0000000000..0b6d3681ca --- /dev/null +++ b/package/libnvme/0002-meson-make-building-tests-conditional.patch @@ -0,0 +1,46 @@ +From ff742e792725c316ba6de0800188bf36751bd1d1 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 30 Sep 2023 06:43:39 +0100 +Subject: [PATCH] meson: make building tests conditional + +Just like we do for docs. + +Upstream: https://github.com/linux-nvme/libnvme/commit/ff742e792725c316ba6de0800188bf36751bd1d1 + +Signed-off-by: Sam James +Signed-off-by: Giulio Benetti +--- + meson.build | 4 +++- + meson_options.txt | 1 + + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 2c979cc..a9263b5 100644 +--- a/meson.build ++++ b/meson.build +@@ -273,7 +273,9 @@ subdir('internal') + subdir('ccan') + subdir('src') + subdir('libnvme') +-subdir('test') ++if get_option('tests') ++ subdir('test') ++endif + subdir('examples') + subdir('doc') + +diff --git a/meson_options.txt b/meson_options.txt +index a1ed79f..251ae11 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -6,6 +6,7 @@ option('rstdir', type : 'string', value : '', description : 'directory for ReST + + option('docs', type : 'combo', choices : ['false', 'html', 'man', 'rst', 'all'], description : 'install documentation') + option('docs-build', type : 'boolean', value : false, description : 'build documentation') ++option('tests', type : 'boolean', value : true, description : 'build tests') + + option('python', type : 'feature', value: 'auto', description : 'Generate libnvme python bindings') + option('openssl', type : 'feature', value: 'auto', description : 'OpenSSL support') +-- +2.34.1 + diff --git a/package/libnvme/libnvme.hash b/package/libnvme/libnvme.hash index b869ae295a..b9e0281189 100644 --- a/package/libnvme/libnvme.hash +++ b/package/libnvme/libnvme.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 checksums -sha256 f73ba1edde059b2d5e7c1048ad4f895e6047bff241c94b34a7aff5894779d086 libnvme-1.5.tar.gz +sha256 0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7 libnvme-1.6.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 71885e198c..38394b9931 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -4,12 +4,15 @@ # ################################################################################ -LIBNVME_VERSION = 1.5 +LIBNVME_VERSION = 1.6 LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION)) LIBNVME_LICENSE = LGPL-2.1 LIBNVME_LICENSE_FILES = COPYING LIBNVME_INSTALL_STAGING = YES +LIBNVME_CONF_OPTS += \ + -Dtests=false + ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBNVME_DEPENDENCIES += python3 LIBNVME_CONF_OPTS += -Dpython=enabled -- 2.34.1 From arnout at mind.be Sun Oct 15 19:57:14 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:57:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/ksmbd-tools: security bump to version 3.4.9 In-Reply-To: <20231015123504.189034-1-fontaine.fabrice@gmail.com> References: <20231015123504.189034-1-fontaine.fabrice@gmail.com> Message-ID: <7d5a6ceb-8945-6635-c3b6-7897645b61f5@mind.be> On 15/10/2023 14:35, Fabrice Fontaine wrote: > Fix two security issues that reported by ZDI. > > https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.7 > https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.8 > https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.9 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/ksmbd-tools/ksmbd-tools.hash | 2 +- > package/ksmbd-tools/ksmbd-tools.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/ksmbd-tools/ksmbd-tools.hash b/package/ksmbd-tools/ksmbd-tools.hash > index b31c66bbe7..6f7064c6eb 100644 > --- a/package/ksmbd-tools/ksmbd-tools.hash > +++ b/package/ksmbd-tools/ksmbd-tools.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 09ab343e9bf10ddfdd3216f400b19740a391645bf3645fa6f136b8da36306559 ksmbd-tools-3.4.6.tar.gz > +sha256 418c7d87e8359355d150bdde6784612cd2ebd48ec87765852169e289d9de67e6 ksmbd-tools-3.4.9.tar.gz > sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING > diff --git a/package/ksmbd-tools/ksmbd-tools.mk b/package/ksmbd-tools/ksmbd-tools.mk > index c4f9c503e6..c758c17bf2 100644 > --- a/package/ksmbd-tools/ksmbd-tools.mk > +++ b/package/ksmbd-tools/ksmbd-tools.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -KSMBD_TOOLS_VERSION = 3.4.6 > +KSMBD_TOOLS_VERSION = 3.4.9 > KSMBD_TOOLS_SITE = https://github.com/cifsd-team/ksmbd-tools/releases/download/$(KSMBD_TOOLS_VERSION) > KSMBD_TOOLS_LICENSE = GPL-2.0+ > KSMBD_TOOLS_LICENSE_FILES = COPYING From arnout at mind.be Sun Oct 15 19:56:35 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:56:35 +0200 Subject: [Buildroot] [git commit] package/ksmbd-tools: security bump to version 3.4.9 Message-ID: <20231015195737.351C4856C2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=5eac719129f66185a83bba6adff8658b41420159 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix two security issues that reported by ZDI. https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.7 https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.8 https://github.com/cifsd-team/ksmbd-tools/releases/tag/3.4.9 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- package/ksmbd-tools/ksmbd-tools.hash | 2 +- package/ksmbd-tools/ksmbd-tools.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ksmbd-tools/ksmbd-tools.hash b/package/ksmbd-tools/ksmbd-tools.hash index b31c66bbe7..6f7064c6eb 100644 --- a/package/ksmbd-tools/ksmbd-tools.hash +++ b/package/ksmbd-tools/ksmbd-tools.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 09ab343e9bf10ddfdd3216f400b19740a391645bf3645fa6f136b8da36306559 ksmbd-tools-3.4.6.tar.gz +sha256 418c7d87e8359355d150bdde6784612cd2ebd48ec87765852169e289d9de67e6 ksmbd-tools-3.4.9.tar.gz sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING diff --git a/package/ksmbd-tools/ksmbd-tools.mk b/package/ksmbd-tools/ksmbd-tools.mk index c4f9c503e6..c758c17bf2 100644 --- a/package/ksmbd-tools/ksmbd-tools.mk +++ b/package/ksmbd-tools/ksmbd-tools.mk @@ -4,7 +4,7 @@ # ################################################################################ -KSMBD_TOOLS_VERSION = 3.4.6 +KSMBD_TOOLS_VERSION = 3.4.9 KSMBD_TOOLS_SITE = https://github.com/cifsd-team/ksmbd-tools/releases/download/$(KSMBD_TOOLS_VERSION) KSMBD_TOOLS_LICENSE = GPL-2.0+ KSMBD_TOOLS_LICENSE_FILES = COPYING From arnout at mind.be Sun Oct 15 19:58:49 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:58:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/nushell: bump to version 0.85 In-Reply-To: <20231015191508.735072-1-fontaine.fabrice@gmail.com> References: <20231015191508.735072-1-fontaine.fabrice@gmail.com> Message-ID: On 15/10/2023 21:15, Fabrice Fontaine wrote: > - This bump will fix the following build failure with libressl raised > since the addition of the package in commit > f8047ff5987efc80f6ead51edae126911c02a8ad: > > This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5 > through 3.5, but a different version of OpenSSL was found. The build is now aborting > due to this version mismatch. > > - Update hash of license file (year updated with > https://github.com/nushell/nushell/commit/a256f6d0d15c9fed69365be36b3484c4c8418d21) > > https://www.nushell.sh/blog > > Fixes: > - http://autobuild.buildroot.org/results/8b7e277bb67c52a57e7b9f17c30f1780b9c5ea67 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/nushell/nushell.hash | 4 ++-- > package/nushell/nushell.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/nushell/nushell.hash b/package/nushell/nushell.hash > index b553a6c2bc..02fc8214b6 100644 > --- a/package/nushell/nushell.hash > +++ b/package/nushell/nushell.hash > @@ -1,3 +1,3 @@ > # Locally generated > -sha256 352e807698d5f95e9bfdd9dd5512acab3cbef315379299a32e5f322a76eb718a nushell-0.76.0.tar.gz > -sha256 e189616e535e9f7bf410a72e6fc51ad1e0ae461c58d592e186c2669daa5d1e5d LICENSE > +sha256 94af22278f584b59c7c4b2390e2d15d9934d5207a756309259d1c4b92f5af7ef nushell-0.85.0.tar.gz > +sha256 2dc1f03f729c21902d869b4d8f8dc528fc730f4c6ad83fc128672bda0ad69196 LICENSE > diff --git a/package/nushell/nushell.mk b/package/nushell/nushell.mk > index b9c1ee6434..779a3c4393 100644 > --- a/package/nushell/nushell.mk > +++ b/package/nushell/nushell.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -NUSHELL_VERSION = 0.76.0 > +NUSHELL_VERSION = 0.85.0 > NUSHELL_SITE = $(call github,nushell,nushell,$(NUSHELL_VERSION)) > NUSHELL_LICENSE = MIT > NUSHELL_LICENSE_FILES = LICENSE From arnout at mind.be Sun Oct 15 19:57:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:57:29 +0200 Subject: [Buildroot] [git commit] package/nushell: bump to version 0.85 Message-ID: <20231015195913.AF99B856EE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=470f0fb1ec0bd2ba03340f2aea34891ca8d7739d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - This bump will fix the following build failure with libressl raised since the addition of the package in commit f8047ff5987efc80f6ead51edae126911c02a8ad: This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5 through 3.5, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. - Update hash of license file (year updated with https://github.com/nushell/nushell/commit/a256f6d0d15c9fed69365be36b3484c4c8418d21) https://www.nushell.sh/blog Fixes: - http://autobuild.buildroot.org/results/8b7e277bb67c52a57e7b9f17c30f1780b9c5ea67 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- package/nushell/nushell.hash | 4 ++-- package/nushell/nushell.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/nushell/nushell.hash b/package/nushell/nushell.hash index b553a6c2bc..02fc8214b6 100644 --- a/package/nushell/nushell.hash +++ b/package/nushell/nushell.hash @@ -1,3 +1,3 @@ # Locally generated -sha256 352e807698d5f95e9bfdd9dd5512acab3cbef315379299a32e5f322a76eb718a nushell-0.76.0.tar.gz -sha256 e189616e535e9f7bf410a72e6fc51ad1e0ae461c58d592e186c2669daa5d1e5d LICENSE +sha256 94af22278f584b59c7c4b2390e2d15d9934d5207a756309259d1c4b92f5af7ef nushell-0.85.0.tar.gz +sha256 2dc1f03f729c21902d869b4d8f8dc528fc730f4c6ad83fc128672bda0ad69196 LICENSE diff --git a/package/nushell/nushell.mk b/package/nushell/nushell.mk index b9c1ee6434..779a3c4393 100644 --- a/package/nushell/nushell.mk +++ b/package/nushell/nushell.mk @@ -4,7 +4,7 @@ # ################################################################################ -NUSHELL_VERSION = 0.76.0 +NUSHELL_VERSION = 0.85.0 NUSHELL_SITE = $(call github,nushell,nushell,$(NUSHELL_VERSION)) NUSHELL_LICENSE = MIT NUSHELL_LICENSE_FILES = LICENSE From arnout at mind.be Sun Oct 15 19:59:01 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 21:59:01 +0200 Subject: [Buildroot] [git commit] package/casync: fix build with gcc >= 13 Message-ID: <20231015195913.BB2BB856F1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=39e092a06ed79a98e3842f9d897c089a132eaa58 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc >= 13: In file included from ../src/compressor.c:3: ../src/compressor.h:59:59: error: unknown type name 'size_t' 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); | ^~~~~~ ../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? 18 | #include "cacompression.h" +++ |+#include 19 | Fixes: - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle --- ...01-src-compressor.h-fix-build-with-gcc-13.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch new file mode 100644 index 0000000000..32af9142a7 --- /dev/null +++ b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch @@ -0,0 +1,40 @@ +From 8db993c32f97188bdd6de4b2aa177fc513ee7e9f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 15 Oct 2023 21:22:58 +0200 +Subject: [PATCH] src/compressor.h: fix build with gcc >= 13 + +Fix the following build failure with gcc >= 13: + +In file included from ../src/compressor.c:3: +../src/compressor.h:59:59: error: unknown type name 'size_t' + 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); + | ^~~~~~ +../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? + 18 | #include "cacompression.h" + +++ |+#include + 19 | + +Fixes: + - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/systemd/casync/pull/270 +--- + src/compressor.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/compressor.h b/src/compressor.h +index 2c9f93b..ae2eb30 100644 +--- a/src/compressor.h ++++ b/src/compressor.h +@@ -4,6 +4,7 @@ + #define foocompresshorhfoo + + #include ++#include + + #if HAVE_LIBLZMA + # include +-- +2.42.0 + From fontaine.fabrice at gmail.com Sun Oct 15 19:59:38 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 21:59:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/motion: fix build with gettext-gnu >= 0.22 Message-ID: <20231015195938.1270893-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump of gettext-gnu to version 0.22 in commit f6a6e3a8363a32e5443c9eadc2ee047853640d1a: fi.po:3435: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 1, the character 'l' is not a valid conversion specifier. Fixes: - http://autobuild.buildroot.org/results/e426a245075f5a8615a3129187126804bf48a34b Signed-off-by: Fabrice Fontaine --- package/motion/0001-Gettext-0-22.patch | 164 +++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 package/motion/0001-Gettext-0-22.patch diff --git a/package/motion/0001-Gettext-0-22.patch b/package/motion/0001-Gettext-0-22.patch new file mode 100644 index 0000000000..aeacd0e2ec --- /dev/null +++ b/package/motion/0001-Gettext-0-22.patch @@ -0,0 +1,164 @@ +From 2d8d68cfcc1cf4fc8861671e185fdf235dcf9740 Mon Sep 17 00:00:00 2001 +From: David Seifert <16636962+SoapGentoo at users.noreply.github.com> +Date: Fri, 30 Jun 2023 05:37:50 +0200 +Subject: [PATCH] Gettext 0.22 (#1681) + +* po: fix gettext 0.22 format specifier + +Bug: https://bugs.gentoo.org/908965 +Bug: https://savannah.gnu.org/bugs/index.php?64334#comment1 + +* Autotools: fix `make distcheck` + +* use correct `dist_` specifiers for including files in tarball +* do not override `docdir`, since this is a user variable +* include headers in tarball + +Upstream: https://github.com/Motion-Project/motion/commit/2d8d68cfcc1cf4fc8861671e185fdf235dcf9740 +Signed-off-by: Fabrice Fontaine +--- + Makefile.am | 11 +++++------ + configure.ac | 1 - + man/Makefile.am | 1 - + po/de.po | 2 +- + po/fi.po | 2 +- + src/Makefile.am | 52 ++++++++++++++++++++++++++++++++++++------------- + 6 files changed, 46 insertions(+), 23 deletions(-) + delete mode 100644 man/Makefile.am + +diff --git a/Makefile.am b/Makefile.am +index 3d2f968e2..5ae03cd2c 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,19 +1,18 @@ + ACLOCAL_AMFLAGS = -I m4 + +-SUBDIRS = src po man ++SUBDIRS = src po + +-sysconfdir = @sysconfdir@/$(PACKAGE) +-sysconf_DATA = \ ++pkgsysconfdir = $(sysconfdir)/@PACKAGE@ ++dist_pkgsysconf_DATA = \ + data/motion-dist.conf \ + data/camera1-dist.conf \ + data/camera2-dist.conf \ + data/camera3-dist.conf \ + data/camera4-dist.conf + +-man_MANS = man/motion.1 ++dist_man_MANS = man/motion.1 + +-docdir = $(datadir)/doc/@PACKAGE@ +-doc_DATA = \ ++dist_doc_DATA = \ + doc/mask1.png \ + doc/normal.jpg \ + doc/outputmotion1.jpg \ +diff --git a/configure.ac b/configure.ac +index dfcf5eae2..ce588f65b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -496,7 +496,6 @@ AC_CONFIG_FILES([ + Makefile + src/Makefile + po/Makefile.in +- man/Makefile + data/camera1-dist.conf + data/camera2-dist.conf + data/camera3-dist.conf +diff --git a/man/Makefile.am b/man/Makefile.am +deleted file mode 100644 +index 14aa069f0..000000000 +--- a/man/Makefile.am ++++ /dev/null +@@ -1 +0,0 @@ +-man_MANS = motion.1 +\ No newline at end of file +diff --git a/po/de.po b/po/de.po +index 9142c9195..ccd5f09d7 100644 +--- a/po/de.po ++++ b/po/de.po +@@ -3458,7 +3458,7 @@ msgstr "Sprache: Deutsch" + #: src/util.c + #, c-format + msgid "Could not allocate %llu bytes of memory!" +-msgstr "%Llu Bytes Speicher konnten nicht zugeordnet werden!" ++msgstr "%llu Bytes Speicher konnten nicht zugeordnet werden!" + + #: src/util.c + #, c-format +diff --git a/po/fi.po b/po/fi.po +index 1afbdb68b..d3117a922 100644 +--- a/po/fi.po ++++ b/po/fi.po +@@ -3432,7 +3432,7 @@ msgstr "Kieli: englanti" + #: src/util.c + #, c-format + msgid "Could not allocate %llu bytes of memory!" +-msgstr "%Llu-tavua muistia ei voitu varata!" ++msgstr "%llu-tavua muistia ei voitu varata!" + + #: src/util.c + #, c-format +diff --git a/src/Makefile.am b/src/Makefile.am +index f93decf55..6f9d02e6b 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,17 +1,43 @@ +-AM_CPPFLAGS= -Dsysconfdir=\"$(sysconfdir)/motion\" -DLOCALEDIR=\"$(DESTDIR)$(localedir)\" +- +-if INC_MMAL_SRC +-MMAL_SRC=raspicam/RaspiCamControl.c raspicam/RaspiCLI.c +-endif +- +-LIBS = @LIBINTL@ @LIBS@ ++AM_CPPFLAGS= -Dsysconfdir=\"$(sysconfdir)/motion\" -DLOCALEDIR=\"$(localedir)\" ++LDADD = $(LIBINTL) + + bin_PROGRAMS = motion + +-motion_SOURCES = motion.c logger.c conf.c draw.c jpegutils.c video_loopback.c \ +- video_v4l2.c video_common.c video_bktr.c netcam.c netcam_http.c netcam_ftp.c \ +- netcam_jpeg.c netcam_wget.c netcam_rtsp.c track.c alg.c event.c picture.c \ +- rotate.c translate.c ffmpeg.c util.c dbse.c webu_status.c \ +- webu.c webu_html.c webu_stream.c webu_text.c mmalcam.c $(MMAL_SRC) +- ++motion_SOURCES = \ ++ alg.h alg.c \ ++ conf.h conf.c \ ++ dbse.h dbse.c \ ++ draw.h draw.c \ ++ event.h event.c \ ++ ffmpeg.h ffmpeg.c \ ++ jpegutils.h jpegutils.c \ ++ logger.h logger.c \ ++ mmalcam.h mmalcam.c \ ++ motion.h motion.c \ ++ netcam.h netcam.c \ ++ netcam_ftp.h netcam_ftp.c \ ++ netcam_http.h netcam_http.c \ ++ netcam_jpeg.h netcam_jpeg.c \ ++ netcam_rtsp.h netcam_rtsp.c \ ++ netcam_wget.h netcam_wget.c \ ++ picture.h picture.c \ ++ rotate.h rotate.c \ ++ track.h track.c \ ++ translate.h translate.c \ ++ util.h util.c \ ++ video_bktr.h video_bktr.c \ ++ video_common.h video_common.c \ ++ video_loopback.h video_loopback.c \ ++ video_v4l2.h video_v4l2.c \ ++ webu.h webu.c \ ++ webu_html.h webu_html.c \ ++ webu_status.h webu_status.c \ ++ webu_stream.h webu_stream.c \ ++ webu_text.h webu_text.c \ ++ mmx.h pwc-ioctl.h + ++if INC_MMAL_SRC ++motion_SOURCES += \ ++ raspicam/RaspiCamControl.h raspicam/RaspiCamControl.c \ ++ raspicam/RaspiCLI.h raspicam/RaspiCLI.c ++endif -- 2.42.0 From arnout at mind.be Sun Oct 15 20:00:14 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:00:14 +0200 Subject: [Buildroot] [PATCH 1/1] package/casync: fix build with gcc >= 13 In-Reply-To: <20231015194511.1158058-1-fontaine.fabrice@gmail.com> References: <20231015194511.1158058-1-fontaine.fabrice@gmail.com> Message-ID: <8aaf5c1e-e7c0-bc4f-2e8a-18c155c39a4b@mind.be> On 15/10/2023 21:45, Fabrice Fontaine wrote: > Fix the following build failure with gcc >= 13: > > In file included from ../src/compressor.c:3: > ../src/compressor.h:59:59: error: unknown type name 'size_t' > 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); > | ^~~~~~ > ../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? > 18 | #include "cacompression.h" > +++ |+#include > 19 | > > Fixes: > - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > ...c-compressor.h-fix-build-with-gcc-13.patch | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch > > diff --git a/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch > new file mode 100644 > index 0000000000..32af9142a7 > --- /dev/null > +++ b/package/casync/0001-src-compressor.h-fix-build-with-gcc-13.patch > @@ -0,0 +1,40 @@ > +From 8db993c32f97188bdd6de4b2aa177fc513ee7e9f Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 15 Oct 2023 21:22:58 +0200 > +Subject: [PATCH] src/compressor.h: fix build with gcc >= 13 > + > +Fix the following build failure with gcc >= 13: > + > +In file included from ../src/compressor.c:3: > +../src/compressor.h:59:59: error: unknown type name 'size_t' > + 59 | int compressor_input(CompressorContext *c, const void *p, size_t sz); > + | ^~~~~~ > +../src/compressor.h:19:1: note: 'size_t' is defined in header ''; did you forget to '#include '? > + 18 | #include "cacompression.h" > + +++ |+#include > + 19 | > + > +Fixes: > + - http://autobuild.buildroot.org/results/ab08f3b90d253db45643dd058b80ae1dd5f49d0f > + > +Signed-off-by: Fabrice Fontaine > +Upstream: https://github.com/systemd/casync/pull/270 > +--- > + src/compressor.h | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/src/compressor.h b/src/compressor.h > +index 2c9f93b..ae2eb30 100644 > +--- a/src/compressor.h > ++++ b/src/compressor.h > +@@ -4,6 +4,7 @@ > + #define foocompresshorhfoo > + > + #include > ++#include > + > + #if HAVE_LIBLZMA > + # include > +-- > +2.42.0 > + From arnout at mind.be Sun Oct 15 20:02:33 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:02:33 +0200 Subject: [Buildroot] [PATCH v2] package/libnvme: bump to version 1.6 In-Reply-To: <20231015194800.1894656-1-giulio.benetti@benettiengineering.com> References: <20231015194800.1894656-1-giulio.benetti@benettiengineering.com> Message-ID: <8d6b9863-e522-7b0a-c831-976ba9be5ec2@mind.be> On 15/10/2023 21:48, Giulio Benetti wrote: > Add 2 local patches, one to avoid build failure due to different libc > ioctl() prototype and one to avoid link conflict due to test unit enabled > by default. > > Signed-off-by: Giulio Benetti Applied to master, thanks. Regards, Arnout > --- > V1->V2: > * fix build failure due to ioctl() and test unit > --- > ...01-test-handle-POSIX-ioctl-prototype.patch | 70 +++++++++++++++++++ > ...eson-make-building-tests-conditional.patch | 46 ++++++++++++ > package/libnvme/libnvme.hash | 2 +- > package/libnvme/libnvme.mk | 5 +- > 4 files changed, 121 insertions(+), 2 deletions(-) > create mode 100644 package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch > create mode 100644 package/libnvme/0002-meson-make-building-tests-conditional.patch > > diff --git a/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch > new file mode 100644 > index 0000000000..175cdcd7dd > --- /dev/null > +++ b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch > @@ -0,0 +1,70 @@ > +From ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 Mon Sep 17 00:00:00 2001 > +From: Sam James > +Date: Sat, 30 Sep 2023 06:38:53 +0100 > +Subject: [PATCH] test: handle POSIX ioctl prototype > + > +glibc has the following prototype for ioctl: int ioctl(int fd, unsigned long request, ...) > +POSIX (inc. musl) has the following for ioctl: int ioctl(int fd, int request, ...) > + > +Check which prototype is used in to avoid a conflict and conditionally > +define the right one for the system. > + > +Upstream: https://github.com/linux-nvme/libnvme/commit/ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 > + > +Bug: https://bugs.gentoo.org/914921 > +Signed-off-by: Sam James > +Signed-off-by: Giulio Benetti > +--- > + meson.build | 10 ++++++++++ > + test/ioctl/mock.c | 6 +++++- > + 2 files changed, 15 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 6fcf1da..2c979cc 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -230,6 +230,16 @@ conf.set( > + ), > + description: 'Is network address and service translation available' > + ) > ++conf.set( > ++ 'HAVE_GLIBC_IOCTL', > ++ cc.compiles( > ++ '''#include > ++ int ioctl(int fd, unsigned long request, ...); > ++ ''', > ++ name: 'ioctl has glibc-style prototype' > ++ ), > ++ description: 'Is ioctl the glibc interface (rather than POSIX)' > ++) > + > + if cc.has_function_attribute('fallthrough') > + conf.set('fallthrough', '__attribute__((__fallthrough__))') > +diff --git a/test/ioctl/mock.c b/test/ioctl/mock.c > +index e917244..5d2ac94 100644 > +--- a/test/ioctl/mock.c > ++++ b/test/ioctl/mock.c > +@@ -114,7 +114,11 @@ void end_mock_cmds(void) > + } \ > + }) > + > ++#ifdef HAVE_GLIBC_IOCTL > + int ioctl(int fd, unsigned long request, ...) > ++#else > ++int ioctl(int fd, int request, ...) > ++#endif > + { > + struct mock_cmds *mock_cmds; > + bool result64; > +@@ -141,7 +145,7 @@ int ioctl(int fd, unsigned long request, ...) > + result64 = true; > + break; > + default: > +- fail("unexpected %s %lu", __func__, request); > ++ fail("unexpected %s %lu", __func__, (unsigned long) request); > + } > + check(mock_cmds->remaining_cmds, > + "unexpected %s command", mock_cmds->name); > +-- > +2.34.1 > + > diff --git a/package/libnvme/0002-meson-make-building-tests-conditional.patch b/package/libnvme/0002-meson-make-building-tests-conditional.patch > new file mode 100644 > index 0000000000..0b6d3681ca > --- /dev/null > +++ b/package/libnvme/0002-meson-make-building-tests-conditional.patch > @@ -0,0 +1,46 @@ > +From ff742e792725c316ba6de0800188bf36751bd1d1 Mon Sep 17 00:00:00 2001 > +From: Sam James > +Date: Sat, 30 Sep 2023 06:43:39 +0100 > +Subject: [PATCH] meson: make building tests conditional > + > +Just like we do for docs. > + > +Upstream: https://github.com/linux-nvme/libnvme/commit/ff742e792725c316ba6de0800188bf36751bd1d1 > + > +Signed-off-by: Sam James > +Signed-off-by: Giulio Benetti > +--- > + meson.build | 4 +++- > + meson_options.txt | 1 + > + 2 files changed, 4 insertions(+), 1 deletion(-) > + > +diff --git a/meson.build b/meson.build > +index 2c979cc..a9263b5 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -273,7 +273,9 @@ subdir('internal') > + subdir('ccan') > + subdir('src') > + subdir('libnvme') > +-subdir('test') > ++if get_option('tests') > ++ subdir('test') > ++endif > + subdir('examples') > + subdir('doc') > + > +diff --git a/meson_options.txt b/meson_options.txt > +index a1ed79f..251ae11 100644 > +--- a/meson_options.txt > ++++ b/meson_options.txt > +@@ -6,6 +6,7 @@ option('rstdir', type : 'string', value : '', description : 'directory for ReST > + > + option('docs', type : 'combo', choices : ['false', 'html', 'man', 'rst', 'all'], description : 'install documentation') > + option('docs-build', type : 'boolean', value : false, description : 'build documentation') > ++option('tests', type : 'boolean', value : true, description : 'build tests') > + > + option('python', type : 'feature', value: 'auto', description : 'Generate libnvme python bindings') > + option('openssl', type : 'feature', value: 'auto', description : 'OpenSSL support') > +-- > +2.34.1 > + > diff --git a/package/libnvme/libnvme.hash b/package/libnvme/libnvme.hash > index b869ae295a..b9e0281189 100644 > --- a/package/libnvme/libnvme.hash > +++ b/package/libnvme/libnvme.hash > @@ -1,3 +1,3 @@ > # Locally calculated sha256 checksums > -sha256 f73ba1edde059b2d5e7c1048ad4f895e6047bff241c94b34a7aff5894779d086 libnvme-1.5.tar.gz > +sha256 0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7 libnvme-1.6.tar.gz > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING > diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk > index 71885e198c..38394b9931 100644 > --- a/package/libnvme/libnvme.mk > +++ b/package/libnvme/libnvme.mk > @@ -4,12 +4,15 @@ > # > ################################################################################ > > -LIBNVME_VERSION = 1.5 > +LIBNVME_VERSION = 1.6 > LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION)) > LIBNVME_LICENSE = LGPL-2.1 > LIBNVME_LICENSE_FILES = COPYING > LIBNVME_INSTALL_STAGING = YES > > +LIBNVME_CONF_OPTS += \ > + -Dtests=false > + > ifeq ($(BR2_PACKAGE_PYTHON3),y) > LIBNVME_DEPENDENCIES += python3 > LIBNVME_CONF_OPTS += -Dpython=enabled From arnout at mind.be Sun Oct 15 20:01:05 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:01:05 +0200 Subject: [Buildroot] [git commit] package/libnvme: bump to version 1.6 Message-ID: <20231015200243.1AC2A85758@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=087e2cef0e96609032e80c44d54fa7c4021277d8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add 2 upstream patches, one to avoid build failure due to different libc ioctl() prototype and one to avoid link conflict due to test unit enabled by default. Signed-off-by: Giulio Benetti Signed-off-by: Arnout Vandecappelle --- .../0001-test-handle-POSIX-ioctl-prototype.patch | 70 ++++++++++++++++++++++ ...002-meson-make-building-tests-conditional.patch | 46 ++++++++++++++ package/libnvme/libnvme.hash | 2 +- package/libnvme/libnvme.mk | 5 +- 4 files changed, 121 insertions(+), 2 deletions(-) diff --git a/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch new file mode 100644 index 0000000000..175cdcd7dd --- /dev/null +++ b/package/libnvme/0001-test-handle-POSIX-ioctl-prototype.patch @@ -0,0 +1,70 @@ +From ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 30 Sep 2023 06:38:53 +0100 +Subject: [PATCH] test: handle POSIX ioctl prototype + +glibc has the following prototype for ioctl: int ioctl(int fd, unsigned long request, ...) +POSIX (inc. musl) has the following for ioctl: int ioctl(int fd, int request, ...) + +Check which prototype is used in to avoid a conflict and conditionally +define the right one for the system. + +Upstream: https://github.com/linux-nvme/libnvme/commit/ca47ba3119365eafac0ab25a86cab9d9a1b29bd4 + +Bug: https://bugs.gentoo.org/914921 +Signed-off-by: Sam James +Signed-off-by: Giulio Benetti +--- + meson.build | 10 ++++++++++ + test/ioctl/mock.c | 6 +++++- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 6fcf1da..2c979cc 100644 +--- a/meson.build ++++ b/meson.build +@@ -230,6 +230,16 @@ conf.set( + ), + description: 'Is network address and service translation available' + ) ++conf.set( ++ 'HAVE_GLIBC_IOCTL', ++ cc.compiles( ++ '''#include ++ int ioctl(int fd, unsigned long request, ...); ++ ''', ++ name: 'ioctl has glibc-style prototype' ++ ), ++ description: 'Is ioctl the glibc interface (rather than POSIX)' ++) + + if cc.has_function_attribute('fallthrough') + conf.set('fallthrough', '__attribute__((__fallthrough__))') +diff --git a/test/ioctl/mock.c b/test/ioctl/mock.c +index e917244..5d2ac94 100644 +--- a/test/ioctl/mock.c ++++ b/test/ioctl/mock.c +@@ -114,7 +114,11 @@ void end_mock_cmds(void) + } \ + }) + ++#ifdef HAVE_GLIBC_IOCTL + int ioctl(int fd, unsigned long request, ...) ++#else ++int ioctl(int fd, int request, ...) ++#endif + { + struct mock_cmds *mock_cmds; + bool result64; +@@ -141,7 +145,7 @@ int ioctl(int fd, unsigned long request, ...) + result64 = true; + break; + default: +- fail("unexpected %s %lu", __func__, request); ++ fail("unexpected %s %lu", __func__, (unsigned long) request); + } + check(mock_cmds->remaining_cmds, + "unexpected %s command", mock_cmds->name); +-- +2.34.1 + diff --git a/package/libnvme/0002-meson-make-building-tests-conditional.patch b/package/libnvme/0002-meson-make-building-tests-conditional.patch new file mode 100644 index 0000000000..0b6d3681ca --- /dev/null +++ b/package/libnvme/0002-meson-make-building-tests-conditional.patch @@ -0,0 +1,46 @@ +From ff742e792725c316ba6de0800188bf36751bd1d1 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 30 Sep 2023 06:43:39 +0100 +Subject: [PATCH] meson: make building tests conditional + +Just like we do for docs. + +Upstream: https://github.com/linux-nvme/libnvme/commit/ff742e792725c316ba6de0800188bf36751bd1d1 + +Signed-off-by: Sam James +Signed-off-by: Giulio Benetti +--- + meson.build | 4 +++- + meson_options.txt | 1 + + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 2c979cc..a9263b5 100644 +--- a/meson.build ++++ b/meson.build +@@ -273,7 +273,9 @@ subdir('internal') + subdir('ccan') + subdir('src') + subdir('libnvme') +-subdir('test') ++if get_option('tests') ++ subdir('test') ++endif + subdir('examples') + subdir('doc') + +diff --git a/meson_options.txt b/meson_options.txt +index a1ed79f..251ae11 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -6,6 +6,7 @@ option('rstdir', type : 'string', value : '', description : 'directory for ReST + + option('docs', type : 'combo', choices : ['false', 'html', 'man', 'rst', 'all'], description : 'install documentation') + option('docs-build', type : 'boolean', value : false, description : 'build documentation') ++option('tests', type : 'boolean', value : true, description : 'build tests') + + option('python', type : 'feature', value: 'auto', description : 'Generate libnvme python bindings') + option('openssl', type : 'feature', value: 'auto', description : 'OpenSSL support') +-- +2.34.1 + diff --git a/package/libnvme/libnvme.hash b/package/libnvme/libnvme.hash index b869ae295a..b9e0281189 100644 --- a/package/libnvme/libnvme.hash +++ b/package/libnvme/libnvme.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 checksums -sha256 f73ba1edde059b2d5e7c1048ad4f895e6047bff241c94b34a7aff5894779d086 libnvme-1.5.tar.gz +sha256 0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7 libnvme-1.6.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 71885e198c..38394b9931 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -4,12 +4,15 @@ # ################################################################################ -LIBNVME_VERSION = 1.5 +LIBNVME_VERSION = 1.6 LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION)) LIBNVME_LICENSE = LGPL-2.1 LIBNVME_LICENSE_FILES = COPYING LIBNVME_INSTALL_STAGING = YES +LIBNVME_CONF_OPTS += \ + -Dtests=false + ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBNVME_DEPENDENCIES += python3 LIBNVME_CONF_OPTS += -Dpython=enabled From arnout at mind.be Sun Oct 15 20:04:01 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:04:01 +0200 Subject: [Buildroot] [PATCH 1/1] package/waf: bump to v2.0.26 In-Reply-To: <20231015114615.235625-1-titouanchristophe@gmail.com> References: <20231015114615.235625-1-titouanchristophe@gmail.com> Message-ID: On 15/10/2023 13:46, Titouan Christophe wrote: > Signed-off-by: Titouan Christophe Applied to master, thanks. Regards, Arnout > --- > package/waf/waf.hash | 6 +++--- > package/waf/waf.mk | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/waf/waf.hash b/package/waf/waf.hash > index c8d464ebfb..1ad535febb 100644 > --- a/package/waf/waf.hash > +++ b/package/waf/waf.hash > @@ -1,7 +1,7 @@ > # Locally computed > -sha1 9cc6db88ecda57067024f368722ecbf48a3bba1a waf-2.0.24 > -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf-2.0.24 > +sha1 e310e29a44f23f80591f2aa6c2d4c30e5f1a26a8 waf-2.0.26 > +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf-2.0.26 > > # The waf script also contains its license, but is renamed `waf` in the extract > # step, so this is a synonym for the above, to check WAF_LICENSE > -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf > +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf > diff --git a/package/waf/waf.mk b/package/waf/waf.mk > index d98ab489ca..bffa27a926 100644 > --- a/package/waf/waf.mk > +++ b/package/waf/waf.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WAF_VERSION = 2.0.24 > +WAF_VERSION = 2.0.26 > WAF_SOURCE = waf-$(WAF_VERSION) > WAF_SITE = https://waf.io > WAF_LICENSE = BSD-3-Clause From arnout at mind.be Sun Oct 15 20:02:42 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:02:42 +0200 Subject: [Buildroot] [git commit] package/waf: bump to v2.0.26 Message-ID: <20231015200412.DF4E785782@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cebff375c230386adef9ccbba5074042d0d0da7d branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Titouan Christophe Signed-off-by: Arnout Vandecappelle --- package/waf/waf.hash | 6 +++--- package/waf/waf.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/waf/waf.hash b/package/waf/waf.hash index c8d464ebfb..1ad535febb 100644 --- a/package/waf/waf.hash +++ b/package/waf/waf.hash @@ -1,7 +1,7 @@ # Locally computed -sha1 9cc6db88ecda57067024f368722ecbf48a3bba1a waf-2.0.24 -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf-2.0.24 +sha1 e310e29a44f23f80591f2aa6c2d4c30e5f1a26a8 waf-2.0.26 +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf-2.0.26 # The waf script also contains its license, but is renamed `waf` in the extract # step, so this is a synonym for the above, to check WAF_LICENSE -sha256 93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0 waf +sha256 dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b waf diff --git a/package/waf/waf.mk b/package/waf/waf.mk index d98ab489ca..bffa27a926 100644 --- a/package/waf/waf.mk +++ b/package/waf/waf.mk @@ -4,7 +4,7 @@ # ################################################################################ -WAF_VERSION = 2.0.24 +WAF_VERSION = 2.0.26 WAF_SOURCE = waf-$(WAF_VERSION) WAF_SITE = https://waf.io WAF_LICENSE = BSD-3-Clause From arnout at mind.be Sun Oct 15 20:05:20 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:05:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.19.1 In-Reply-To: <20231015093532.1139778-1-bernd@kuhls.net> References: <20231015093532.1139778-1-bernd@kuhls.net> Message-ID: <4a66d4aa-0a83-818a-d0fa-462ef39cd83f@mind.be> On 15/10/2023 11:35, Bernd Kuhls wrote: > Removed patch 0004, not needed anymore due to upstream commit > https://github.com/samba-team/samba/commit/a25f549e9a03010996300b04271a7909b6fbf756#diff-6e2c3d973b3ce82db7b4f67111e36116517b040ed64c28f40114d2e0d535706a > > Release notes: > https://www.samba.org/samba/history/samba-4.19.0.html > https://www.samba.org/samba/history/samba-4.19.1.html > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Arnout > --- > ...-Use-perl-module-JSON-part-of-core-i.patch | 41 ------------------- > package/samba4/samba4.hash | 4 +- > package/samba4/samba4.mk | 2 +- > 3 files changed, 3 insertions(+), 44 deletions(-) > delete mode 100644 package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch > > diff --git a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch b/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch > deleted file mode 100644 > index aa55c09891..0000000000 > --- a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch > +++ /dev/null > @@ -1,41 +0,0 @@ > -From bd8fc19c8383914b518a9d56f4c08fba3baeb967 Mon Sep 17 00:00:00 2001 > -From: "Yann E. MORIN" > -Date: Sun, 7 May 2023 11:02:26 +0200 > -Subject: [PATCH] 3rdparty/heimdal: Use perl module JSON:PP, part of core, instead > - of JSON package > - > -Downloaded from > -https://github.com/openwrt/packages/blob/master/net/samba4/patches/105-perl-json-pp.patch > - > -Signed-off-by: Bernd Kuhls > -Signed-off-by: Yann E. MORIN > -Upstream: https://github.com/heimdal/heimdal/pull/1176 > ---- > - third_party/heimdal/cf/make-proto.pl | 4 ++-- > - 1 file changed, 2 insertions(+), 2 deletions(-) > - > -diff --git a/third_party/heimdal/cf/make-proto.pl b/third_party/heimdal/cf/make-proto.pl > -index 36a040ce6c0..ad21dbad9e1 100644 > ---- a/third_party/heimdal/cf/make-proto.pl > -+++ b/third_party/heimdal/cf/make-proto.pl > -@@ -4,7 +4,7 @@ > - use Getopt::Std; > - use File::Compare; > - > --use JSON; > -+use JSON::PP; > - > - my $comment = 0; > - my $doxygen = 0; > -@@ -70,7 +70,7 @@ if($opt_x) { > - my $EXP; > - local $/; > - open(EXP, '<', $opt_x) || die "open ${opt_x}"; > -- my $obj = JSON->new->utf8->decode(); > -+ my $obj = JSON::PP->new->utf8->decode(); > - close $EXP; > - > - foreach my $x (keys %$obj) { > --- > -2.25.1 > - > diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash > index 9843d419f0..5e65295e4c 100644 > --- a/package/samba4/samba4.hash > +++ b/package/samba4/samba4.hash > @@ -1,4 +1,4 @@ > # Locally calculated after checking pgp signature > -# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc > -sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz > +# https://download.samba.org/pub/samba/stable/samba-4.19.1.tar.asc > +sha256 ce3b7f0d18bf91aa5fd646e8bb385a3b35375b703c6e5123b02b85a1abc81879 samba-4.19.1.tar.gz > sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING > diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk > index 9cf7a59d9b..124ce564d2 100644 > --- a/package/samba4/samba4.mk > +++ b/package/samba4/samba4.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SAMBA4_VERSION = 4.18.8 > +SAMBA4_VERSION = 4.19.1 > SAMBA4_SITE = https://download.samba.org/pub/samba/stable > SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz > SAMBA4_INSTALL_STAGING = YES From arnout at mind.be Sun Oct 15 20:04:06 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:04:06 +0200 Subject: [Buildroot] [git commit] package/samba4: bump version to 4.19.1 Message-ID: <20231015200531.8DE7A8578B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a8ff60cff9402dcd04fffb67af15dfe2caab0995 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Removed patch 0004, not needed anymore due to upstream commit https://github.com/samba-team/samba/commit/a25f549e9a03010996300b04271a7909b6fbf756#diff-6e2c3d973b3ce82db7b4f67111e36116517b040ed64c28f40114d2e0d535706a Release notes: https://www.samba.org/samba/history/samba-4.19.0.html https://www.samba.org/samba/history/samba-4.19.1.html Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- ...indal-Use-perl-module-JSON-part-of-core-i.patch | 41 ---------------------- package/samba4/samba4.hash | 4 +-- package/samba4/samba4.mk | 2 +- 3 files changed, 3 insertions(+), 44 deletions(-) diff --git a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch b/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch deleted file mode 100644 index aa55c09891..0000000000 --- a/package/samba4/0004-3rdparty-heindal-Use-perl-module-JSON-part-of-core-i.patch +++ /dev/null @@ -1,41 +0,0 @@ -From bd8fc19c8383914b518a9d56f4c08fba3baeb967 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Sun, 7 May 2023 11:02:26 +0200 -Subject: [PATCH] 3rdparty/heimdal: Use perl module JSON:PP, part of core, instead - of JSON package - -Downloaded from -https://github.com/openwrt/packages/blob/master/net/samba4/patches/105-perl-json-pp.patch - -Signed-off-by: Bernd Kuhls -Signed-off-by: Yann E. MORIN -Upstream: https://github.com/heimdal/heimdal/pull/1176 ---- - third_party/heimdal/cf/make-proto.pl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/third_party/heimdal/cf/make-proto.pl b/third_party/heimdal/cf/make-proto.pl -index 36a040ce6c0..ad21dbad9e1 100644 ---- a/third_party/heimdal/cf/make-proto.pl -+++ b/third_party/heimdal/cf/make-proto.pl -@@ -4,7 +4,7 @@ - use Getopt::Std; - use File::Compare; - --use JSON; -+use JSON::PP; - - my $comment = 0; - my $doxygen = 0; -@@ -70,7 +70,7 @@ if($opt_x) { - my $EXP; - local $/; - open(EXP, '<', $opt_x) || die "open ${opt_x}"; -- my $obj = JSON->new->utf8->decode(); -+ my $obj = JSON::PP->new->utf8->decode(); - close $EXP; - - foreach my $x (keys %$obj) { --- -2.25.1 - diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash index 9843d419f0..5e65295e4c 100644 --- a/package/samba4/samba4.hash +++ b/package/samba4/samba4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.18.8.tar.asc -sha256 4fb87bceaeb01d832a59046c197a044b7e8e8000581548b5d577a6cda03344d1 samba-4.18.8.tar.gz +# https://download.samba.org/pub/samba/stable/samba-4.19.1.tar.asc +sha256 ce3b7f0d18bf91aa5fd646e8bb385a3b35375b703c6e5123b02b85a1abc81879 samba-4.19.1.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 9cf7a59d9b..124ce564d2 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -4,7 +4,7 @@ # ################################################################################ -SAMBA4_VERSION = 4.18.8 +SAMBA4_VERSION = 4.19.1 SAMBA4_SITE = https://download.samba.org/pub/samba/stable SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz SAMBA4_INSTALL_STAGING = YES From fontaine.fabrice at gmail.com Sun Oct 15 20:12:04 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 22:12:04 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgeos: drop DISABLE_GEOS_INLINE Message-ID: <20231015201204.1277675-1-fontaine.fabrice@gmail.com> DISABLE_GEOS_INLINE has ben dropped since version 3.11.0 and https://github.com/libgeos/geos/commit/1516e42eeae3b3114585f1e94a0e723d835f7757 Signed-off-by: Fabrice Fontaine --- package/libgeos/libgeos.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package/libgeos/libgeos.mk b/package/libgeos/libgeos.mk index e0931dbb30..70f8ca3495 100644 --- a/package/libgeos/libgeos.mk +++ b/package/libgeos/libgeos.mk @@ -19,10 +19,6 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) LIBGEOS_CXXFLAGS += -O0 endif -ifeq ($(BR2_arm)$(BR2_armeb),y) -LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON -endif - ifeq ($(BR2_or1k),y) LIBGEOS_CXXFLAGS += -mcmodel=large endif -- 2.42.0 From arnout at mind.be Sun Oct 15 20:13:00 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:13:00 +0200 Subject: [Buildroot] [PATCH v2 3/4] package/alsa-utils: Fix musl build In-Reply-To: <20231015093310.1138805-3-bernd@kuhls.net> References: <20231015093310.1138805-1-bernd@kuhls.net> <20231015093310.1138805-3-bernd@kuhls.net> Message-ID: On 15/10/2023 11:33, Bernd Kuhls wrote: > Fixes: > http://autobuild.buildroot.net/results/5a0/5a03cba08bf24d61c816b8e2f257c18004bad3d7/ > > Signed-off-by: Bernd Kuhls The first time you posted this patch, you followed up with a reference to the Buildroot commit that introduced the error. That's very useful for Peter to decide if it needs to be backported, so I included that here. The other two don't have that information unfortunately. Anyway, all 4 applied to master, thanks. Regards, Arnout > --- > v2: removed left-over from previous try to fix > http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ > (Baruch) > > .../0009-topology-include-locale.h.patch | 33 +++++++++++++++++++ > ...nhlt-dmic-info.c-include-sys-types.h.patch | 33 +++++++++++++++++++ > 2 files changed, 66 insertions(+) > create mode 100644 package/alsa-utils/0009-topology-include-locale.h.patch > create mode 100644 package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch > > diff --git a/package/alsa-utils/0009-topology-include-locale.h.patch b/package/alsa-utils/0009-topology-include-locale.h.patch > new file mode 100644 > index 0000000000..14a059cbf6 > --- /dev/null > +++ b/package/alsa-utils/0009-topology-include-locale.h.patch > @@ -0,0 +1,33 @@ > +From 8c229270f6bae83b705a03714c46067a7aa57b02 Mon Sep 17 00:00:00 2001 > +From: Michael Opdenacker > +Date: Tue, 19 Sep 2023 13:14:29 +0200 > +Subject: [PATCH] topology: include locale.h > + > +This solves an issue compiling with the musl libc. > + > +Fixes: https://github.com/alsa-project/alsa-utils/issues/239 > +Signed-off-by: Michael Opdenacker > +Signed-off-by: Jaroslav Kysela > + > +Upstream: https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02 > + > +Signed-off-by: Bernd Kuhls > +--- > + topology/topology.c | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/topology/topology.c b/topology/topology.c > +index 1840ffe..5d03a8b 100644 > +--- a/topology/topology.c > ++++ b/topology/topology.c > +@@ -32,6 +32,7 @@ > + #include > + #include > + #include > ++#include > + > + #include > + #include > +-- > +2.39.2 > + > diff --git a/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch > new file mode 100644 > index 0000000000..b5f8489703 > --- /dev/null > +++ b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch > @@ -0,0 +1,33 @@ > +From 0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 Mon Sep 17 00:00:00 2001 > +From: Michael Opdenacker > +Date: Tue, 19 Sep 2023 13:14:30 +0200 > +Subject: [PATCH] nhlt-dmic-info.c: include sys/types.h > + > +This fixes an issue compiling with the musl libc. > + > +Fixes: https://github.com/alsa-project/alsa-utils/issues/238 > +Signed-off-by: Michael Opdenacker > +Signed-off-by: Jaroslav Kysela > + > +Upstream: https://github.com/alsa-project/alsa-utils/commit/0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 > + > +Signed-off-by: Bernd Kuhls > +--- > + nhlt/nhlt-dmic-info.c | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c > +index 3f6c64d..331555a 100644 > +--- a/nhlt/nhlt-dmic-info.c > ++++ b/nhlt/nhlt-dmic-info.c > +@@ -33,6 +33,7 @@ > + #include > + #include > + #include > ++#include > + #include > + > + int debug = 0; > +-- > +2.39.2 > + From arnout at mind.be Sun Oct 15 20:11:27 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:11:27 +0200 Subject: [Buildroot] [git commit] package/alsa-utils: fix UMP support detection Message-ID: <20231015201321.DCF4785A84@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f86b539d564679b2d8321d5f2f904d0396cb4979 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: http://autobuild.buildroot.net/results/e26/e269f862ebade30cf870d783a1006aba8fedc129/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- ...11-configure.ac-fix-UMP-support-detection.patch | 38 ++++++++++++++++++++++ package/alsa-utils/alsa-utils.mk | 2 ++ 2 files changed, 40 insertions(+) diff --git a/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch new file mode 100644 index 0000000000..66cf051733 --- /dev/null +++ b/package/alsa-utils/0011-configure.ac-fix-UMP-support-detection.patch @@ -0,0 +1,38 @@ +From 8a0da6d4484cd2ca4f1939a6c44941e070db2147 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 13 Oct 2023 20:32:32 +0200 +Subject: [PATCH] configure.ac: fix UMP support detection + +https://github.com/alsa-project/alsa-utils/commit/b399fb85a919636b7da34e8bcf17f484dd9046f7 +added usage of alsa/ump_msg.h without checking whether alsa-lib was +compiled with rawmidi support: +https://github.com/alsa-project/alsa-lib/blob/master/include/Makefile.am#L37 + +Fixes a build error when alsa-lib was compiled with --disable-rawmidi + +aplaymidi.c:34:10: fatal error: alsa/ump_msg.h: No such file or directory + 34 | #include + +Upstream: https://github.com/alsa-project/alsa-utils/pull/240 + +Signed-off-by: Bernd Kuhls +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index beb4963..4217741 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,7 +55,7 @@ if test "$HAVE_SEQ_CLIENT_INFO_GET_PID" = "yes" ; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid]) + fi + AC_CHECK_LIB([asound], [snd_seq_client_info_get_midi_version], [HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION="yes"]) +-if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" ; then ++if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" -a "$have_rawmidi" = "yes"; then + AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION], 1, [alsa-lib supports snd_seq_client_info_get_midi_version]) + fi + AC_CHECK_LIB([atopology], [snd_tplg_save], [have_topology="yes"], [have_topology="no"]) +-- +2.39.2 + diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk index 7487e3c2bb..6f6021400e 100644 --- a/package/alsa-utils/alsa-utils.mk +++ b/package/alsa-utils/alsa-utils.mk @@ -9,6 +9,8 @@ ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils ALSA_UTILS_LICENSE = GPL-2.0 ALSA_UTILS_LICENSE_FILES = COPYING +# 0011-configure.ac-fix-UMP-support-detection.patch +ALSA_UTILS_AUTORECONF = YES ALSA_UTILS_INSTALL_STAGING = YES ALSA_UTILS_DEPENDENCIES = host-pkgconf alsa-lib \ $(if $(BR2_PACKAGE_NCURSES),ncurses) \ From arnout at mind.be Sun Oct 15 20:10:57 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:10:57 +0200 Subject: [Buildroot] [git commit] package/alsa-utils: Fix musl build Message-ID: <20231015201321.CDBC285A8B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=828bb54c6dba795db3d71c2de42870bd77a32f68 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The build error was introduced when bumping alsa-utils to 1.2.10 with buildroot commit f7ae22240bac0300961fa60c7d684b6584d7a631 Fixes: http://autobuild.buildroot.net/results/5a0/5a03cba08bf24d61c816b8e2f257c18004bad3d7/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- .../0009-topology-include-locale.h.patch | 33 ++++++++++++++++++++++ ...0010-nhlt-dmic-info.c-include-sys-types.h.patch | 33 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/package/alsa-utils/0009-topology-include-locale.h.patch b/package/alsa-utils/0009-topology-include-locale.h.patch new file mode 100644 index 0000000000..14a059cbf6 --- /dev/null +++ b/package/alsa-utils/0009-topology-include-locale.h.patch @@ -0,0 +1,33 @@ +From 8c229270f6bae83b705a03714c46067a7aa57b02 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:29 +0200 +Subject: [PATCH] topology: include locale.h + +This solves an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/239 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02 + +Signed-off-by: Bernd Kuhls +--- + topology/topology.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/topology/topology.c b/topology/topology.c +index 1840ffe..5d03a8b 100644 +--- a/topology/topology.c ++++ b/topology/topology.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include + #include +-- +2.39.2 + diff --git a/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch new file mode 100644 index 0000000000..b5f8489703 --- /dev/null +++ b/package/alsa-utils/0010-nhlt-dmic-info.c-include-sys-types.h.patch @@ -0,0 +1,33 @@ +From 0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker +Date: Tue, 19 Sep 2023 13:14:30 +0200 +Subject: [PATCH] nhlt-dmic-info.c: include sys/types.h + +This fixes an issue compiling with the musl libc. + +Fixes: https://github.com/alsa-project/alsa-utils/issues/238 +Signed-off-by: Michael Opdenacker +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3 + +Signed-off-by: Bernd Kuhls +--- + nhlt/nhlt-dmic-info.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c +index 3f6c64d..331555a 100644 +--- a/nhlt/nhlt-dmic-info.c ++++ b/nhlt/nhlt-dmic-info.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + + int debug = 0; +-- +2.39.2 + From arnout at mind.be Sun Oct 15 20:05:36 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:05:36 +0200 Subject: [Buildroot] [git commit] package/alsa-lib: fix musl build Message-ID: <20231015201321.ADB5985A84@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8fb216e977c8aeae1b6736bade53e2bb7b382d60 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Buildroot commit 227d414ded bumped alsa-lib to version 1.2.10 which introduced a build error with musl toolchains. Fixes: http://autobuild.buildroot.net/results/bce/bce46fd8aab9ef4918228e8cfc5f8b5abe71e859/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- ...ve-__STRING-macro-outside-PIC-ifdef-block.patch | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch new file mode 100644 index 0000000000..7bd67507fd --- /dev/null +++ b/package/alsa-lib/0002-global-h-move-__STRING-macro-outside-PIC-ifdef-block.patch @@ -0,0 +1,50 @@ +From 10bd599970acc71c92f85eb08943eb8d3d702a9c Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 6 Sep 2023 15:16:44 +0200 +Subject: [PATCH] global.h: move __STRING() macro outside !PIC ifdef block + +It solves the musl libc compilation issue. + +control.c: In function 'snd_ctl_open_conf': +../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio] + 98 | #define SND_DLSYM_VERSION(version) __STRING(version) + | ^~~~~~~~ + +Fixes: https://github.com/alsa-project/alsa-lib/issues/350 +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-lib/commit/10bd599970acc71c92f85eb08943eb8d3d702a9c + +Signed-off-by: Bernd Kuhls +--- + include/global.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/include/global.h b/include/global.h +index dfe9bc2b..3ecaeee8 100644 +--- a/include/global.h ++++ b/include/global.h +@@ -51,6 +51,11 @@ const char *snd_asoundlib_version(void); + #define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) + #endif + ++#ifndef __STRING ++/** \brief Return 'x' argument as string */ ++#define __STRING(x) #x ++#endif ++ + #ifdef PIC /* dynamic build */ + + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ +@@ -71,11 +76,6 @@ struct snd_dlsym_link { + + extern struct snd_dlsym_link *snd_dlsym_start; + +-#ifndef __STRING +-/** \brief Return 'x' argument as string */ +-#define __STRING(x) #x +-#endif +- + /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ + #define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version + /** From arnout at mind.be Sun Oct 15 20:06:04 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:06:04 +0200 Subject: [Buildroot] [git commit] package/alsa-utils: fix build with gcc < 11 Message-ID: <20231015201321.BEB3785A86@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ea3ee730cfd5ed55d8c54289fdaeb629c0e37673 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: http://autobuild.buildroot.net/results/bfd/bfde1d5c3067e98d983ce1eebc1560bd13d00b8a/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- ...TTRIBUTE_UNUSED-instead-remove-argument-n.patch | 233 +++++++++++++++ ...TTRIBUTE_UNUSED-instead-remove-argument-n.patch | 34 +++ ...e-ATTRIBUTE_UNUSED-instead-remove-argumen.patch | 57 ++++ ...RIBUTE_UNUSED-instead-remove-argument-nam.patch | 67 +++++ ...RIBUTE_UNUSED-instead-remove-argument-nam.patch | 93 ++++++ ...-ATTRIBUTE_UNUSED-instead-remove-argument.patch | 109 +++++++ ...e-ATTRIBUTE_UNUSED-instead-remove-argumen.patch | 312 +++++++++++++++++++++ 7 files changed, 905 insertions(+) diff --git a/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..92622292c0 --- /dev/null +++ b/package/alsa-utils/0002-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,233 @@ +From a90faa2dd644af585d6a00f0aaf297c15ea0aa7b Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:33:47 +0200 +Subject: [PATCH] axfer: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: ad5a1c0 ("axfer: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/a90faa2dd644af585d6a00f0aaf297c15ea0aa7b + +Signed-off-by: Bernd Kuhls +--- + axfer/container-raw.c | 14 +++++++------- + axfer/mapper-single.c | 6 +++--- + axfer/subcmd-list.c | 2 +- + axfer/subcmd-transfer.c | 4 ++-- + axfer/waiter-poll.c | 4 ++-- + axfer/waiter-select.c | 4 ++-- + axfer/waiter.h | 1 + + axfer/xfer-libasound-irq-rw.c | 2 +- + axfer/xfer-libasound.c | 4 ++-- + axfer/xfer-options.c | 3 ++- + 10 files changed, 23 insertions(+), 21 deletions(-) + +diff --git a/axfer/container-raw.c b/axfer/container-raw.c +index 071f94c..1886045 100644 +--- a/axfer/container-raw.c ++++ b/axfer/container-raw.c +@@ -13,10 +13,10 @@ + #include + #include + +-static int raw_builder_pre_process(struct container_context *, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++static int raw_builder_pre_process(struct container_context *cntr ATTRIBUTE_UNUSED, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + *byte_count = UINT64_MAX; +@@ -25,9 +25,9 @@ static int raw_builder_pre_process(struct container_context *, + } + + static int raw_parser_pre_process(struct container_context *cntr, +- snd_pcm_format_t *, +- unsigned int *, +- unsigned int *, ++ snd_pcm_format_t *format ATTRIBUTE_UNUSED, ++ unsigned int *samples_per_frame ATTRIBUTE_UNUSED, ++ unsigned int *frames_per_second ATTRIBUTE_UNUSED, + uint64_t *byte_count) + { + struct stat buf = {0}; +diff --git a/axfer/mapper-single.c b/axfer/mapper-single.c +index 13e7fc5..f669f7f 100644 +--- a/axfer/mapper-single.c ++++ b/axfer/mapper-single.c +@@ -62,7 +62,7 @@ static void align_from_vector(void *frame_buf, unsigned int frame_count, + + static int single_pre_process(struct mapper_context *mapper, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + unsigned int bytes_per_buffer; +@@ -110,7 +110,7 @@ static int single_muxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *src; +@@ -141,7 +141,7 @@ static int single_demuxer_process_frames(struct mapper_context *mapper, + void *frame_buf, + unsigned int *frame_count, + struct container_context *cntrs, +- unsigned int) ++ unsigned int cntr_count ATTRIBUTE_UNUSED) + { + struct single_state *state = mapper->private_data; + void *dst; +diff --git a/axfer/subcmd-list.c b/axfer/subcmd-list.c +index f9c8e0f..187e1d7 100644 +--- a/axfer/subcmd-list.c ++++ b/axfer/subcmd-list.c +@@ -19,7 +19,7 @@ enum list_op { + }; + + static int dump_device(snd_ctl_t *handle, const char *id, const char *name, +- snd_pcm_stream_t, snd_pcm_info_t *info) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED, snd_pcm_info_t *info) + { + unsigned int i, count; + int err; +diff --git a/axfer/subcmd-transfer.c b/axfer/subcmd-transfer.c +index b39fde8..8d63043 100644 +--- a/axfer/subcmd-transfer.c ++++ b/axfer/subcmd-transfer.c +@@ -40,7 +40,7 @@ static void handle_unix_signal_for_finish(int sig) + ctx_ptr->interrupted = true; + } + +-static void handle_unix_signal_for_suspend(int) ++static void handle_unix_signal_for_suspend(int sig ATTRIBUTE_UNUSED) + { + sigset_t curr, prev; + struct sigaction sa = {0}; +@@ -439,7 +439,7 @@ static int context_process_frames(struct context *ctx, + } + + static void context_post_process(struct context *ctx, +- uint64_t) ++ uint64_t accumulated_frame_count ATTRIBUTE_UNUSED) + { + uint64_t total_frame_count; + unsigned int i; +diff --git a/axfer/waiter-poll.c b/axfer/waiter-poll.c +index 31fab88..b81300c 100644 +--- a/axfer/waiter-poll.c ++++ b/axfer/waiter-poll.c +@@ -13,7 +13,7 @@ + #include + #include + +-static int poll_prepare(struct waiter_context *) ++static int poll_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return 0; +@@ -30,7 +30,7 @@ static int poll_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void poll_release(struct waiter_context *) ++static void poll_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + // Nothing to do because an instance of waiter has required data. + return; +diff --git a/axfer/waiter-select.c b/axfer/waiter-select.c +index 164c9c8..fe19776 100644 +--- a/axfer/waiter-select.c ++++ b/axfer/waiter-select.c +@@ -34,7 +34,7 @@ struct select_state { + fd_set rfds_ex; + }; + +-static int select_prepare(struct waiter_context *) ++static int select_prepare(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return 0; + } +@@ -94,7 +94,7 @@ static int select_wait_event(struct waiter_context *waiter, int timeout_msec) + return err; + } + +-static void select_release(struct waiter_context *) ++static void select_release(struct waiter_context *waiter ATTRIBUTE_UNUSED) + { + return; + } +diff --git a/axfer/waiter.h b/axfer/waiter.h +index db18e33..0f4e9b9 100644 +--- a/axfer/waiter.h ++++ b/axfer/waiter.h +@@ -9,6 +9,7 @@ + #ifndef __ALSA_UTILS_AXFER_WAITER__H_ + #define __ALSA_UTILS_AXFER_WAITER__H_ + ++#include + #include + + enum waiter_type { +diff --git a/axfer/xfer-libasound-irq-rw.c b/axfer/xfer-libasound-irq-rw.c +index b7f0645..45fb6d5 100644 +--- a/axfer/xfer-libasound-irq-rw.c ++++ b/axfer/xfer-libasound-irq-rw.c +@@ -313,7 +313,7 @@ error: + } + + static int w_process_frames_nonblocking(struct libasound_state *state, +- snd_pcm_state_t, ++ snd_pcm_state_t pcm_state ATTRIBUTE_UNUSED, + unsigned int *frame_count, + struct mapper_context *mapper, + struct container_context *cntrs) +diff --git a/axfer/xfer-libasound.c b/axfer/xfer-libasound.c +index 9713533..36ee08d 100644 +--- a/axfer/xfer-libasound.c ++++ b/axfer/xfer-libasound.c +@@ -60,7 +60,7 @@ static const struct option l_opts[] = { + }; + + static int xfer_libasound_init(struct xfer_context *xfer, +- snd_pcm_stream_t) ++ snd_pcm_stream_t stream ATTRIBUTE_UNUSED) + { + struct libasound_state *state = xfer->private_data; + int err; +@@ -887,7 +887,7 @@ static void xfer_libasound_destroy(struct xfer_context *xfer) + state->log = NULL; + } + +-static void xfer_libasound_help(struct xfer_context *) ++static void xfer_libasound_help(struct xfer_context *xfer ATTRIBUTE_UNUSED) + { + printf( + " [BASICS]\n" +diff --git a/axfer/xfer-options.c b/axfer/xfer-options.c +index 974570c..e716ded 100644 +--- a/axfer/xfer-options.c ++++ b/axfer/xfer-options.c +@@ -447,7 +447,8 @@ static int generate_path_with_suffix(struct xfer_context *xfer, + + static int generate_path_without_suffix(struct xfer_context *xfer, + const char *template, +- unsigned int index, const char *) ++ unsigned int index, ++ const char *suffix ATTRIBUTE_UNUSED) + { + static const char *const single_format = "%s"; + static const char *const multiple_format = "%s-%i"; +-- +2.39.2 + diff --git a/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch new file mode 100644 index 0000000000..12a098b6fb --- /dev/null +++ b/package/alsa-utils/0003-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch @@ -0,0 +1,34 @@ +From 2db896afd475b0b3ad07e97ba74ec9680b4f7f6d Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:37:24 +0200 +Subject: [PATCH] amidi: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 1843540 ("amidi: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/2db896afd475b0b3ad07e97ba74ec9680b4f7f6d + +Signed-off-by: Bernd Kuhls +--- + amidi/amidi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/amidi/amidi.c b/amidi/amidi.c +index f930ca8..75fb8c0 100644 +--- a/amidi/amidi.c ++++ b/amidi/amidi.c +@@ -446,7 +446,7 @@ static void print_byte(unsigned char byte, struct timespec *ts) + printf("%02X", byte); + } + +-static void sig_handler(int) ++static void sig_handler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +-- +2.39.2 + diff --git a/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..4720531415 --- /dev/null +++ b/package/alsa-utils/0004-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,57 @@ +From 7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:45:09 +0200 +Subject: [PATCH] alsaloop: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d609a58 ("alsaloop: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/7552aef6e08b5b1fd8c1704e21cb9f6f15017bfa + +Signed-off-by: Bernd Kuhls +--- + alsaloop/alsaloop.c | 2 +- + alsaloop/pcmjob.c | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c +index b10733e..51fb646 100644 +--- a/alsaloop/alsaloop.c ++++ b/alsaloop/alsaloop.c +@@ -821,7 +821,7 @@ static void send_to_all(int sig) + } + } + +-static void signal_handler(int) ++static void signal_handler(int sig ATTRIBUTE_UNUSED) + { + quit = 1; + send_to_all(SIGUSR2); +diff --git a/alsaloop/pcmjob.c b/alsaloop/pcmjob.c +index be71971..ffb439b 100644 +--- a/alsaloop/pcmjob.c ++++ b/alsaloop/pcmjob.c +@@ -625,7 +625,7 @@ static void buf_add_src(struct loopback *loop) + } + } + #else +-static void buf_add_src(struct loopback *) ++static void buf_add_src(struct loopback *loop ATTRIBUTE_UNUSED) + { + } + #endif +@@ -1794,7 +1794,7 @@ static int ctl_event_check(snd_ctl_elem_value_t *val, snd_ctl_event_t *ev) + } + + static int handle_ctl_events(struct loopback_handle *lhandle, +- unsigned short) ++ unsigned short events ATTRIBUTE_UNUSED) + { + struct loopback *loop = lhandle->loopback; + snd_ctl_event_t *ev; +-- +2.39.2 + diff --git a/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..1a42f24d3c --- /dev/null +++ b/package/alsa-utils/0005-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,67 @@ +From 94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:49:03 +0200 +Subject: [PATCH] bat: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: b366875 ("bat: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/94eeb5a40f77e92624eb32d2e9c50b1cd9e4f837 + +Signed-off-by: Bernd Kuhls +--- + bat/bat.c | 3 ++- + bat/common.c | 3 ++- + bat/common.h | 5 +++++ + 3 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/bat/bat.c b/bat/bat.c +index e88c65f..ea04ed9 100644 +--- a/bat/bat.c ++++ b/bat/bat.c +@@ -158,7 +158,8 @@ static void get_format(struct bat *bat, char *optarg) + } + } + +-static inline int thread_wait_completion(struct bat *, pthread_t id, int **val) ++static inline int thread_wait_completion(struct bat *bat ATTRIBUTE_UNUSED, ++ pthread_t id, int **val) + { + int err; + +diff --git a/bat/common.c b/bat/common.c +index 9ff9405..470a7e6 100644 +--- a/bat/common.c ++++ b/bat/common.c +@@ -47,7 +47,8 @@ static int update_fmt_to_bat(struct bat *bat, struct chunk_fmt *fmt) + } + + /* calculate frames and update to bat */ +-static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, FILE *) ++static int update_frames_to_bat(struct bat *bat, struct wav_chunk_header *header, ++ FILE *file ATTRIBUTE_UNUSED) + { + /* The number of analyzed captured frames is arbitrarily set to half of + the number of frames of the wav file or the number of frames of the +diff --git a/bat/common.h b/bat/common.h +index a9bae5d..bb51b0d 100644 +--- a/bat/common.h ++++ b/bat/common.h +@@ -13,6 +13,11 @@ + * + */ + ++#ifndef ATTRIBUTE_UNUSED ++/** do not print warning (gcc) when function parameter is not used */ ++#define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) ++#endif ++ + #define TEMP_RECORD_FILE_NAME "/tmp/bat.wav.XXXXXX" + #define DEFAULT_DEV_NAME "default" + +-- +2.39.2 + diff --git a/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch new file mode 100644 index 0000000000..9e7e7da5ce --- /dev/null +++ b/package/alsa-utils/0006-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch @@ -0,0 +1,93 @@ +From 66112d60e4ce68720022eaf26080c0f1a2caf81f Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:52:46 +0200 +Subject: [PATCH] seq: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 181e190 ("aplaymidi: fix the verbose compilation warnings for latest gcc") +Fixes: a03377a ("aseqnet: fix the verbose compilation warnings for latest gcc") +Fixes: 429c32a ("aseqdump: fix the verbose compilation warnings for latest gcc") +Fixes: 0b48dd6 ("aconnect: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/66112d60e4ce68720022eaf26080c0f1a2caf81f + +Signed-off-by: Bernd Kuhls +--- + seq/aconnect/aconnect.c | 9 ++++++--- + seq/aplaymidi/arecordmidi.c | 2 +- + seq/aseqdump/aseqdump.c | 2 +- + seq/aseqnet/aseqnet.c | 2 +- + 4 files changed, 9 insertions(+), 6 deletions(-) + +diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c +index 3a10de9..7096feb 100644 +--- a/seq/aconnect/aconnect.c ++++ b/seq/aconnect/aconnect.c +@@ -193,7 +193,8 @@ static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action) + } + + +-static void print_port(snd_seq_t *, snd_seq_client_info_t *cinfo, ++static void print_port(snd_seq_t *seq ATTRIBUTE_UNUSED, ++ snd_seq_client_info_t *cinfo, + snd_seq_port_info_t *pinfo, int count) + { + if (! count) { +@@ -247,8 +248,10 @@ static void print_port_and_subs(snd_seq_t *seq, snd_seq_client_info_t *cinfo, + /* + * remove all (exported) connections + */ +-static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *, +- snd_seq_port_info_t *pinfo, int) ++static void remove_connection(snd_seq_t *seq, ++ snd_seq_client_info_t *info ATTRIBUTE_UNUSED, ++ snd_seq_port_info_t *pinfo, ++ int count ATTRIBUTE_UNUSED) + { + snd_seq_query_subscribe_t *query; + snd_seq_port_info_t *port; +diff --git a/seq/aplaymidi/arecordmidi.c b/seq/aplaymidi/arecordmidi.c +index ce71472..a4c1181 100644 +--- a/seq/aplaymidi/arecordmidi.c ++++ b/seq/aplaymidi/arecordmidi.c +@@ -719,7 +719,7 @@ static void version(void) + fputs("arecordmidi version " SND_UTIL_VERSION_STR "\n", stderr); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c +index 8455ecb..af4ca21 100644 +--- a/seq/aseqdump/aseqdump.c ++++ b/seq/aseqdump/aseqdump.c +@@ -676,7 +676,7 @@ static void version(void) + puts("aseqdump version " SND_UTIL_VERSION_STR); + } + +-static void sighandler(int) ++static void sighandler(int sig ATTRIBUTE_UNUSED) + { + stop = 1; + } +diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c +index f40de7d..aa70b50 100644 +--- a/seq/aseqnet/aseqnet.c ++++ b/seq/aseqnet/aseqnet.c +@@ -334,7 +334,7 @@ static void get_net_addr(struct addrinfo *rp, char *buf, size_t buflen) + /* + * signal handler + */ +-static void sigterm_exit(int) ++static void sigterm_exit(int sig ATTRIBUTE_UNUSED) + { + close_files(); + exit(1); +-- +2.39.2 + diff --git a/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch new file mode 100644 index 0000000000..66826c4515 --- /dev/null +++ b/package/alsa-utils/0007-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch @@ -0,0 +1,109 @@ +From 9e5e9a6d70de63bea01f0669b01319952f2cfdea Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 16:57:47 +0200 +Subject: [PATCH] alsaucm: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: d7bbc26 ("alsaucm: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/9e5e9a6d70de63bea01f0669b01319952f2cfdea + +Signed-off-by: Bernd Kuhls +--- + alsaucm/dump.c | 22 ++++++++++++---------- + 1 file changed, 12 insertions(+), 10 deletions(-) + +diff --git a/alsaucm/dump.c b/alsaucm/dump.c +index 102ac4d..a5c57f2 100644 +--- a/alsaucm/dump.c ++++ b/alsaucm/dump.c +@@ -93,7 +93,8 @@ static char *tesc(const char *s, char *buf, size_t buf_len) + + #define ESC(s, esc) tesc((s), (esc), sizeof(esc)) + +-static int text_verb_start(struct renderer *, const char *verb, const char *comment) ++static int text_verb_start(struct renderer *r ATTRIBUTE_UNUSED, ++ const char *verb, const char *comment) + { + char buf1[128], buf2[128]; + printf("Verb.%s {\n", ESC(verb, buf1)); +@@ -102,13 +103,13 @@ static int text_verb_start(struct renderer *, const char *verb, const char *comm + return 0; + } + +-static int text_verb_end(struct renderer *) ++static int text_verb_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("}\n"); + return 0; + } + +-static int text_2nd_level_begin(struct renderer *, ++static int text_2nd_level_begin(struct renderer *r ATTRIBUTE_UNUSED, + const char *key, + const char *val, + const char *comment) +@@ -120,19 +121,19 @@ static int text_2nd_level_begin(struct renderer *, + return 0; + } + +-static int text_2nd_level_end(struct renderer *) ++static int text_2nd_level_end(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("\t}\n"); + return 0; + } + +-static int text_2nd_level(struct renderer *, const char *txt) ++static int text_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t%s", txt); + return 0; + } + +-static int text_3rd_level(struct renderer *, const char *txt) ++static int text_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf("\t\t\t%s", txt); + return 0; +@@ -266,7 +267,7 @@ static void json_block(struct renderer *r, int level, int last) + j->block[level] = last ? 0 : 1; + } + +-static int json_init(struct renderer *) ++static int json_init(struct renderer *r ATTRIBUTE_UNUSED) + { + printf("{\n \"Verbs\": {"); + return 0; +@@ -325,13 +326,13 @@ static int json_2nd_level_end(struct renderer *r) + return 0; + } + +-static int json_2nd_level(struct renderer *, const char *txt) ++static int json_2nd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; + } + +-static int json_3rd_level(struct renderer *, const char *txt) ++static int json_3rd_level(struct renderer *r ATTRIBUTE_UNUSED, const char *txt) + { + printf(" %s", txt); + return 0; +@@ -360,7 +361,8 @@ static int json_supcon_start(struct renderer *r, const char *key) + return 0; + } + +-static int json_supcon_value(struct renderer *r, const char *value, int) ++static int json_supcon_value(struct renderer *r, const char *value, ++ int last ATTRIBUTE_UNUSED) + { + char buf[256]; + JESC(value, buf); +-- +2.39.2 + diff --git a/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch new file mode 100644 index 0000000000..07b10b3ab8 --- /dev/null +++ b/package/alsa-utils/0008-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch @@ -0,0 +1,312 @@ +From dfe1c7143ab6ea01789e276b1ba361a00e545997 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 4 Sep 2023 17:11:05 +0200 +Subject: [PATCH] topology: use ATTRIBUTE_UNUSED instead remove argument name + +We need to support older compilers than GCC 11. + +Link: https://github.com/alsa-project/alsa-utils/issues/233 +Fixes: 153d185 ("topology: fix the verbose compilation warnings for latest gcc") +Signed-off-by: Jaroslav Kysela + +Upstream: https://github.com/alsa-project/alsa-utils/commit/dfe1c7143ab6ea01789e276b1ba361a00e545997 + +Signed-off-by: Bernd Kuhls +--- + topology/nhlt/intel/dmic-nhlt.c | 3 ++- + topology/nhlt/intel/dmic/dmic-debug.c | 7 ++++--- + topology/nhlt/intel/ssp/ssp-debug.c | 5 +++-- + topology/nhlt/intel/ssp/ssp-process.c | 4 +++- + topology/nhlt/nhlt-processor.c | 7 +++++-- + topology/pre-process-class.c | 10 +++++----- + topology/pre-process-object.c | 21 +++++++++++---------- + topology/pre-processor.c | 10 ++++++---- + 8 files changed, 39 insertions(+), 28 deletions(-) + +diff --git a/topology/nhlt/intel/dmic-nhlt.c b/topology/nhlt/intel/dmic-nhlt.c +index 70a22e3..de659cf 100644 +--- a/topology/nhlt/intel/dmic-nhlt.c ++++ b/topology/nhlt/intel/dmic-nhlt.c +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -155,7 +156,7 @@ static int set_vendor_mic_data(struct intel_nhlt_params *nhlt, snd_config_t *cfg + horizontal_angle_end); + } + +-static int set_bytes_data(struct intel_nhlt_params *, snd_config_t *cfg) ++static int set_bytes_data(struct intel_nhlt_params *nhlt ATTRIBUTE_UNUSED, snd_config_t *cfg) + { + snd_config_iterator_t i, next; + snd_config_t *n; +diff --git a/topology/nhlt/intel/dmic/dmic-debug.c b/topology/nhlt/intel/dmic/dmic-debug.c +index f99d308..a977c93 100644 +--- a/topology/nhlt/intel/dmic/dmic-debug.c ++++ b/topology/nhlt/intel/dmic/dmic-debug.c +@@ -8,6 +8,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "dmic-debug.h" + + #ifdef NHLT_DEBUG +@@ -181,7 +182,7 @@ void dmic_print_internal(struct intel_dmic_params *dmic) + } + + #else /* NHLT_DEBUG */ +-void dmic_print_bytes_as_hex(uint8_t *, size_t) {} +-void dmic_print_integers_as_hex(uint32_t *, size_t) {} +-void dmic_print_internal(struct intel_dmic_params *) {} ++void dmic_print_bytes_as_hex(uint8_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_integers_as_hex(uint32_t *src ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED) {} ++void dmic_print_internal(struct intel_dmic_params *dmic ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-debug.c b/topology/nhlt/intel/ssp/ssp-debug.c +index 8c64675..2d2f6b0 100644 +--- a/topology/nhlt/intel/ssp/ssp-debug.c ++++ b/topology/nhlt/intel/ssp/ssp-debug.c +@@ -7,6 +7,7 @@ + #include "aconfig.h" + #include + #include ++#include + #include "ssp-debug.h" + #include "../intel-nhlt.h" + +@@ -252,6 +253,6 @@ void ssp_print_internal(struct intel_ssp_params *ssp) + } + + #else /* NHLT_DEBUG */ +-void ssp_print_internal(struct intel_ssp_params *) {} +-void ssp_print_calculated(struct intel_ssp_params *) {} ++void ssp_print_internal(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} ++void ssp_print_calculated(struct intel_ssp_params *ssp ATTRIBUTE_UNUSED) {} + #endif +diff --git a/topology/nhlt/intel/ssp/ssp-process.c b/topology/nhlt/intel/ssp/ssp-process.c +index 9cda5c3..17b88d2 100644 +--- a/topology/nhlt/intel/ssp/ssp-process.c ++++ b/topology/nhlt/intel/ssp/ssp-process.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -952,7 +953,8 @@ int ssp_set_params(struct intel_nhlt_params *nhlt, const char *dir, int dai_inde + return 0; + } + +-int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, const char *, ++int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, ++ const char *mclk ATTRIBUTE_UNUSED, + const char *bclk, const char *bclk_invert, const char *fsync, + const char *fsync_invert, int mclk_freq, int bclk_freq, int fsync_freq, + int tdm_slots, int tdm_slot_width, int tx_slots, int rx_slots) +diff --git a/topology/nhlt/nhlt-processor.c b/topology/nhlt/nhlt-processor.c +index 567fa5c..ca539c3 100644 +--- a/topology/nhlt/nhlt-processor.c ++++ b/topology/nhlt/nhlt-processor.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -87,7 +88,8 @@ static void debug_print_nhlt(struct nhlt *blob, struct endpoint_descriptor **eps + fprintf(stdout, "\n"); + } + #else +-static void debug_print_nhlt(struct nhlt *, struct endpoint_descriptor **) {} ++static void debug_print_nhlt(struct nhlt *blob ATTRIBUTE_UNUSED, ++ struct endpoint_descriptor **eps ATTRIBUTE_UNUSED) {} + #endif + + static int print_as_hex_bytes(uint8_t *manifest_buffer, uint32_t manifest_size, +@@ -313,7 +315,8 @@ static int nhlt_get_flat_buffer(struct nhlt *blob, struct endpoint_descriptor ** + } + + /* called at the end of topology pre-processing, create flat buffer from variable size nhlt */ +-static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, snd_config_t *, ++static int nhlt_create(struct intel_nhlt_params *nhlt, snd_config_t *input, ++ snd_config_t *output ATTRIBUTE_UNUSED, + uint8_t **nhlt_buffer, uint32_t *nhlt_size) + { + struct endpoint_descriptor *eps[MAX_ENDPOINT_COUNT]; +diff --git a/topology/pre-process-class.c b/topology/pre-process-class.c +index d883d05..bedcebe 100644 +--- a/topology/pre-process-class.c ++++ b/topology/pre-process-class.c +@@ -127,7 +127,7 @@ snd_config_t *tplg_class_lookup(struct tplg_pre_processor *tplg_pp, snd_config_t + } + + /* find the attribute config by name in the class definition */ +-snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, ++snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *tplg_p ATTRIBUTE_UNUSED, + snd_config_t *class, const char *name) + { + snd_config_t *attr = NULL; +@@ -152,7 +152,7 @@ snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *, + } + + /* get the name of the attribute that must have a unique value in the object instance */ +-const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, ++const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class) + { + snd_config_t *unique; +@@ -177,7 +177,7 @@ const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *, + } + + /* get attribute type from the definition */ +-snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, ++snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *attr) + { + snd_config_t *type; +@@ -208,7 +208,7 @@ snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *, + } + + /* get token_ref for attribute with name attr_name in the class */ +-const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, ++const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *attr_name) + { + snd_config_t *attributes, *attr, *token_ref; +@@ -235,7 +235,7 @@ const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *, + } + + /* convert a valid attribute string value to the corresponding tuple value */ +-long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *, ++long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, snd_config_t *attr) + { + +diff --git a/topology/pre-process-object.c b/topology/pre-process-object.c +index 48555e7..61cc85f 100644 +--- a/topology/pre-process-object.c ++++ b/topology/pre-process-object.c +@@ -31,7 +31,8 @@ + + /* Parse VendorToken object, create the "SectionVendorToken" and save it */ + int tplg_build_vendor_token_object(struct tplg_pre_processor *tplg_pp, +- snd_config_t *obj_cfg, snd_config_t *) ++ snd_config_t *obj_cfg, ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_iterator_t i, next; + snd_config_t *vtop, *n, *obj; +@@ -196,7 +197,7 @@ int tplg_build_data_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj + return tplg_parent_update(tplg_pp, parent, "data", name); + } + +-static int tplg_create_config_template(struct tplg_pre_processor *, ++static int tplg_create_config_template(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t **template, + const struct config_template_items *items) + { +@@ -499,7 +500,7 @@ min_max_check: + } + + /* get object's name attribute value */ +-const char *tplg_object_get_name(struct tplg_pre_processor *, ++const char *tplg_object_get_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *object) + { + snd_config_t *cfg; +@@ -518,7 +519,7 @@ const char *tplg_object_get_name(struct tplg_pre_processor *, + } + + /* look up the instance of object in a config */ +-static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *, ++static snd_config_t *tplg_object_lookup_in_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class, const char *type, + const char *class_name, const char *id) + { +@@ -977,7 +978,7 @@ template: + } + + static int tplg_build_generic_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, +- snd_config_t *) ++ snd_config_t *parent ATTRIBUTE_UNUSED) + { + snd_config_t *wtop; + const char *name; +@@ -1090,7 +1091,7 @@ const struct build_function_map object_build_map[] = { + NULL, &pcm_caps_config}, + }; + +-static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *, ++static const struct build_function_map *tplg_object_get_map(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj) + { + snd_config_iterator_t first; +@@ -1145,7 +1146,7 @@ snd_config_t *tplg_object_get_section(struct tplg_pre_processor *tplg_pp, snd_co + } + + /* return 1 if attribute not found in search_config, 0 on success and negative value on error */ +-static int tplg_object_copy_and_add_param(struct tplg_pre_processor *, ++static int tplg_object_copy_and_add_param(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *obj, + snd_config_t *attr_cfg, + snd_config_t *search_config) +@@ -1351,8 +1352,8 @@ static int tplg_object_pre_process_children(struct tplg_pre_processor *tplg_pp, + return 0; + } + +-static int tplg_construct_object_name(struct tplg_pre_processor *, snd_config_t *obj, +- snd_config_t *class_cfg) ++static int tplg_construct_object_name(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *obj, snd_config_t *class_cfg) + { + snd_config_iterator_t i, next; + snd_config_t *args, *n; +@@ -1547,7 +1548,7 @@ static int tplg_object_set_unique_attribute(struct tplg_pre_processor *tplg_pp, + * Helper function to get object instance config which is 2 nodes down from class_type config. + * ex: Get the pointer to the config node with ID "0" from the input config Widget.pga.0 {} + */ +-snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *, ++snd_config_t *tplg_object_get_instance_config(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, + snd_config_t *class_type) + { + snd_config_iterator_t first; +diff --git a/topology/pre-processor.c b/topology/pre-processor.c +index 3903dee..01f8a5d 100644 +--- a/topology/pre-processor.c ++++ b/topology/pre-processor.c +@@ -231,8 +231,9 @@ void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) + snd_config_save(cfg, tplg_pp->dbg_output); + } + #else +-void tplg_pp_debug(char *, ...) {} +-void tplg_pp_config_debug(struct tplg_pre_processor *, snd_config_t *){} ++void tplg_pp_debug(char *fmt ATTRIBUTE_UNUSED, ...) {} ++void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ snd_config_t *cfg ATTRIBUTE_UNUSED) {} + #endif + + static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) +@@ -640,8 +641,9 @@ static int pre_process_includes_all(struct tplg_pre_processor *tplg_pp, snd_conf + } + + /* duplicate the existing objects in src into dest and update with new attribute */ +-static int pre_process_add_objects(struct tplg_pre_processor *, int *object_count, +- snd_config_t *src, snd_config_t *dest, snd_config_t *attr_cfg) ++static int pre_process_add_objects(struct tplg_pre_processor *tplg_pp ATTRIBUTE_UNUSED, ++ int *object_count, snd_config_t *src, ++ snd_config_t *dest, snd_config_t *attr_cfg) + { + snd_config_iterator_t i, next; + int ret; +-- +2.39.2 + From arnout at mind.be Sun Oct 15 20:14:40 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:14:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/inadyn: bump to v2.12.0 In-Reply-To: <20231015063648.1360322-1-troglobit@gmail.com> References: <20231015063648.1360322-1-troglobit@gmail.com> Message-ID: <3b608e07-d48b-ee86-6806-efc1c023046c@mind.be> On 15/10/2023 08:36, Joachim Wiberg wrote: > New features and DDNS provider support (IPv64.net), but also a lot of > fixes to regressions introduced in v2.11.0, e.g.: > > - dynv6.com not working at all, regression in v2.11.0 > - Regression in DDNS provider names, introduced in v2.11.0: > - dyndns at 3322.org > - dyndns at he.net > - default at dynv6.com > - ipv6tb at he.net > > From https://github.com/troglobit/inadyn/releases/tag/v2.12.0 > > Signed-off-by: Joachim Wiberg Applied to master, thanks. Regards, Arnout > --- > package/inadyn/inadyn.hash | 2 +- > package/inadyn/inadyn.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/inadyn/inadyn.hash b/package/inadyn/inadyn.hash > index 94af9f87b7..eb5249e371 100644 > --- a/package/inadyn/inadyn.hash > +++ b/package/inadyn/inadyn.hash > @@ -1,5 +1,5 @@ > # Upstream .sha256 from GitHub > -sha256 9ddac7b6b0a1ed372c6cb5afaec6bea927ab539db02c8536dd10d73bd1d37c95 inadyn-2.11.0.tar.gz > +sha256 38fe00f20b293e64a89efc85f766ff40f0be3bcf9c3ed68b842104540a60806e inadyn-2.12.0.tar.gz > > # Locally computed > sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING > diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk > index 3e346fd769..fa2eedc1f3 100644 > --- a/package/inadyn/inadyn.mk > +++ b/package/inadyn/inadyn.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -INADYN_VERSION = 2.11.0 > +INADYN_VERSION = 2.12.0 > INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VERSION) > INADYN_LICENSE = GPL-2.0+ > INADYN_LICENSE_FILES = COPYING From arnout at mind.be Sun Oct 15 20:13:21 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:13:21 +0200 Subject: [Buildroot] [git commit] package/inadyn: bump to v2.12.0 Message-ID: <20231015201452.C5B4B85AAC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=dc84952eb38bf1ef63fc8718dc2ced200a3e52dd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master New features and DDNS provider support (IPv64.net), but also a lot of fixes to regressions introduced in v2.11.0, e.g.: - dynv6.com not working at all, regression in v2.11.0 - Regression in DDNS provider names, introduced in v2.11.0: - dyndns at 3322.org - dyndns at he.net - default at dynv6.com - ipv6tb at he.net >From https://github.com/troglobit/inadyn/releases/tag/v2.12.0 Signed-off-by: Joachim Wiberg Signed-off-by: Arnout Vandecappelle --- package/inadyn/inadyn.hash | 2 +- package/inadyn/inadyn.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/inadyn/inadyn.hash b/package/inadyn/inadyn.hash index 94af9f87b7..eb5249e371 100644 --- a/package/inadyn/inadyn.hash +++ b/package/inadyn/inadyn.hash @@ -1,5 +1,5 @@ # Upstream .sha256 from GitHub -sha256 9ddac7b6b0a1ed372c6cb5afaec6bea927ab539db02c8536dd10d73bd1d37c95 inadyn-2.11.0.tar.gz +sha256 38fe00f20b293e64a89efc85f766ff40f0be3bcf9c3ed68b842104540a60806e inadyn-2.12.0.tar.gz # Locally computed sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk index 3e346fd769..fa2eedc1f3 100644 --- a/package/inadyn/inadyn.mk +++ b/package/inadyn/inadyn.mk @@ -4,7 +4,7 @@ # ################################################################################ -INADYN_VERSION = 2.11.0 +INADYN_VERSION = 2.12.0 INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VERSION) INADYN_LICENSE = GPL-2.0+ INADYN_LICENSE_FILES = COPYING From fontaine.fabrice at gmail.com Sun Oct 15 20:14:49 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 22:14:49 +0200 Subject: [Buildroot] [PATCH 1/1] package/libgeos: needs gcc >= 4.9 Message-ID: <20231015201449.1279312-1-fontaine.fabrice@gmail.com> libgeos needs gcc >= 4.9 since bump to version 3.12.0 in commit 16727d4595dd1972a46e92bbd2260a896cc19b60 and https://github.com/libgeos/geos/commit/289ed4efb26a9944f4385381e1574184b1e7448e: In file included from /home/thomas/autobuild/instance-0/output-1/build/libgeos-3.12.0/src/algorithm/ConvexHull.cpp:30:0: /home/thomas/autobuild/instance-0/output-1/build/libgeos-3.12.0/include/geos/util.h:38:12: error: 'std::make_unique' has not been declared using std::make_unique; ^ Fixes: - http://autobuild.buildroot.org/results/56bb572fb1d56d45dbb950a73b9b888239fa6968 Signed-off-by: Fabrice Fontaine --- package/libgeos/Config.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libgeos/Config.in b/package/libgeos/Config.in index 8411627d43..2a27c6f2a4 100644 --- a/package/libgeos/Config.in +++ b/package/libgeos/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBGEOS depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 help GEOS (Geometry Engine - Open Source) is a C++ port of the @@ -13,7 +14,8 @@ config BR2_PACKAGE_LIBGEOS https://trac.osgeo.org/geos -comment "libgeos needs a toolchain w/ C++, wchar, threads not binutils bug 27597" +comment "libgeos needs a toolchain w/ C++, wchar, gcc >= 4.9, threads not binutils bug 27597" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 -- 2.42.0 From arnout at mind.be Sun Oct 15 20:16:37 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:16:37 +0200 Subject: [Buildroot] [PATCH 1/1] package/libite: bump to v2.6.1 In-Reply-To: <20231015092650.392835-1-troglobit@gmail.com> References: <20231015064117.1362398-1-troglobit@gmail.com> <20231015092650.392835-1-troglobit@gmail.com> Message-ID: <40b075d9-cffc-321a-294d-39f24ca5d5a6@mind.be> On 15/10/2023 11:26, Joachim Wiberg wrote: > Changes: > - New APIs introduced in v2.6.0, for details, see > https://github.com/troglobit/libite/releases/tag/v2.6.0 > - FTBFS fix for uClibc and musl libc, v2.6.1 > https://github.com/troglobit/libite/releases/tag/v2.6.1 > > Packaging: > - LICENSE hash changed due to bump in copyright years > - Disable doxygen (html docs) in build, introduced in v2.4.1 > > Signed-off-by: Joachim Wiberg Applied to master, thanks. Regards, Arnout > --- > package/libite/libite.hash | 4 ++-- > package/libite/libite.mk | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/libite/libite.hash b/package/libite/libite.hash > index 7dac198ab8..3abad09b0a 100644 > --- a/package/libite/libite.hash > +++ b/package/libite/libite.hash > @@ -1,7 +1,7 @@ > # Upstream .sha256 from GitHub > -sha256 ca086adc7ebf0c2ebf2ed7a6787f9567fb802db8583576228dd5dd5ddfb7bb97 libite-2.5.3.tar.xz > +sha256 0185c3e76874c5821825deaf17cd45e81ce49aaa424e09de5f3665243c59026b libite-2.6.1.tar.xz > > # Locally calculated > -sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE > +sha256 3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422 LICENSE > sha256 c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14 src/chomp.c > sha256 bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918 src/pidfile.c > diff --git a/package/libite/libite.mk b/package/libite/libite.mk > index 1cef992e53..e4bd845487 100644 > --- a/package/libite/libite.mk > +++ b/package/libite/libite.mk > @@ -4,12 +4,12 @@ > # > ################################################################################ > > -LIBITE_VERSION = 2.5.3 > +LIBITE_VERSION = 2.6.1 > LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz > LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) > LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause > LIBITE_LICENSE_FILES = LICENSE src/chomp.c src/pidfile.c > LIBITE_INSTALL_STAGING = YES > -LIBITE_CONF_OPTS = --without-symlink > +LIBITE_CONF_OPTS = --without-symlink --disable-doxygen-doc > > $(eval $(autotools-package)) From arnout at mind.be Sun Oct 15 20:14:51 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:14:51 +0200 Subject: [Buildroot] [git commit] package/libite: bump to v2.6.1 Message-ID: <20231015201648.B4F4E85AB8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=560f9dbc88f1dc68ba8dc4db8b9459d902786993 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changes: - New APIs introduced in v2.6.0, for details, see https://github.com/troglobit/libite/releases/tag/v2.6.0 - FTBFS fix for uClibc and musl libc, v2.6.1 https://github.com/troglobit/libite/releases/tag/v2.6.1 Packaging: - LICENSE hash changed due to bump in copyright years - Disable doxygen (html docs) in build, introduced in v2.4.1 Signed-off-by: Joachim Wiberg Signed-off-by: Arnout Vandecappelle --- package/libite/libite.hash | 4 ++-- package/libite/libite.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libite/libite.hash b/package/libite/libite.hash index 7dac198ab8..3abad09b0a 100644 --- a/package/libite/libite.hash +++ b/package/libite/libite.hash @@ -1,7 +1,7 @@ # Upstream .sha256 from GitHub -sha256 ca086adc7ebf0c2ebf2ed7a6787f9567fb802db8583576228dd5dd5ddfb7bb97 libite-2.5.3.tar.xz +sha256 0185c3e76874c5821825deaf17cd45e81ce49aaa424e09de5f3665243c59026b libite-2.6.1.tar.xz # Locally calculated -sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE +sha256 3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422 LICENSE sha256 c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14 src/chomp.c sha256 bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918 src/pidfile.c diff --git a/package/libite/libite.mk b/package/libite/libite.mk index 1cef992e53..e4bd845487 100644 --- a/package/libite/libite.mk +++ b/package/libite/libite.mk @@ -4,12 +4,12 @@ # ################################################################################ -LIBITE_VERSION = 2.5.3 +LIBITE_VERSION = 2.6.1 LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause LIBITE_LICENSE_FILES = LICENSE src/chomp.c src/pidfile.c LIBITE_INSTALL_STAGING = YES -LIBITE_CONF_OPTS = --without-symlink +LIBITE_CONF_OPTS = --without-symlink --disable-doxygen-doc $(eval $(autotools-package)) From giulio.benetti at benettiengineering.com Sun Oct 15 20:20:34 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 15 Oct 2023 22:20:34 +0200 Subject: [Buildroot] [PATCH] package/python-uvloop: bump version to 0.18.0 Message-ID: <20231015202034.1921882-1-giulio.benetti@benettiengineering.com> Signed-off-by: Giulio Benetti --- package/python-uvloop/python-uvloop.hash | 4 ++-- package/python-uvloop/python-uvloop.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-uvloop/python-uvloop.hash b/package/python-uvloop/python-uvloop.hash index 69834d5243..598a3ef285 100644 --- a/package/python-uvloop/python-uvloop.hash +++ b/package/python-uvloop/python-uvloop.hash @@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/uvloop/json -md5 bc5e841a1c3f6e8935eeaf9d82b5ee29 uvloop-0.17.0.tar.gz -sha256 0ddf6baf9cf11a1a22c71487f39f15b2cf78eb5bde7e5b45fbb99e8a9d91b9e1 uvloop-0.17.0.tar.gz +md5 a7679334af9a39dc89f9298088d8d235 uvloop-0.18.0.tar.gz +sha256 d5d1135beffe9cd95d0350f19e2716bc38be47d5df296d7cc46e3b7557c0d1ff uvloop-0.18.0.tar.gz # Locally computed sha256 checksums sha256 377025287798f9dcd819e1f826fa5fc5e2f382528691ab0528c5cf8c8c282c27 LICENSE-APACHE sha256 6dd4c399f26de043d77a2ad7e31db4cb5bf08ea8368b0a42d6e158635cc8ab62 LICENSE-MIT diff --git a/package/python-uvloop/python-uvloop.mk b/package/python-uvloop/python-uvloop.mk index 147062cf7b..9c8462d972 100644 --- a/package/python-uvloop/python-uvloop.mk +++ b/package/python-uvloop/python-uvloop.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_UVLOOP_VERSION = 0.17.0 +PYTHON_UVLOOP_VERSION = 0.18.0 PYTHON_UVLOOP_SOURCE = uvloop-$(PYTHON_UVLOOP_VERSION).tar.gz -PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/ba/86/6dda1760481abf244cbd3908b79a4520d757040ca9ec37a79fc0fd01e2a0 +PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/80/f9/94d2d914d351c7d5db80e102fb0d7ab3bbb798e8322ab71a9fe9f8bfa31b PYTHON_UVLOOP_SETUP_TYPE = setuptools PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT -- 2.34.1 From arnout at mind.be Sun Oct 15 20:24:02 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:24:02 +0200 Subject: [Buildroot] [PATCH 1/1] package/network-manager: bump to version 1.44.2 In-Reply-To: <20231015051544.429666-1-james.hilliard1@gmail.com> References: <20231015051544.429666-1-james.hilliard1@gmail.com> Message-ID: <32fce31e-418f-6781-dd4c-693013215171@mind.be> On 15/10/2023 07:15, James Hilliard wrote: > Drop patches which are now upstream. > > CONTRIBUTING.md hash changed due to text updates: > https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/987488a7ac4a193ea6160ab65a4bb215481cafb7 That explanation wasn't really sufficient, though I admit it's difficult to do better :-) I changed it to: CONTRIBUTING.md hash changed due to text various text updates, most of them outside of the section about licensing. The only change in that section is: Applied to master, thanks. Regards, Arnout > > Signed-off-by: James Hilliard > --- > ...option-to-set-the-mobile-broadband-p.patch | 60 ------------------- > ...build-failure-with-Dmodem_manager-fa.patch | 38 ------------ > package/network-manager/network-manager.hash | 6 +- > package/network-manager/network-manager.mk | 4 +- > 4 files changed, 5 insertions(+), 103 deletions(-) > delete mode 100644 package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch > delete mode 100644 package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch > > diff --git a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch b/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch > deleted file mode 100644 > index 4336472e45..0000000000 > --- a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch > +++ /dev/null > @@ -1,60 +0,0 @@ > -From 03ba04d4784fa4fc7ec31455070fb5ecf25ade23 Mon Sep 17 00:00:00 2001 > -From: Heiko Thiery > -Date: Fri, 27 Jan 2023 22:38:42 +0100 > -Subject: [PATCH] build: meson: add option to set the > - mobile-broadband-provider-info database > - > -When building network-manager in cross-compile environment meson is not able > -to detect the right location of the mobile-broadband-provider-info > -database by using the pkg-config module. > - > -By adding the option 'mobile_broadband_provider_info_database' to set the > -correct path to the datafile this can be solved. > - > -Signed-off-by: Heiko Thiery > - > -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1519 > ---- > - meson.build | 6 +++++- > - meson_options.txt | 1 + > - 2 files changed, 6 insertions(+), 1 deletion(-) > - > -diff --git a/meson.build b/meson.build > -index 0adc42f738..84ce52c736 100644 > ---- a/meson.build > -+++ b/meson.build > -@@ -584,7 +584,10 @@ enable_modem_manager = get_option('modem_manager') > - if enable_modem_manager > - mm_glib_dep = dependency('mm-glib', version: '>= 0.7.991') > - > -- mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') > -+ mobile_broadband_provider_info_database = get_option('mobile_broadband_provider_info_database') > -+ if mobile_broadband_provider_info_database == '' > -+ mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') > -+ endif > - config_h.set_quoted('MOBILE_BROADBAND_PROVIDER_INFO_DATABASE', mobile_broadband_provider_info_database) > - endif > - > -@@ -1054,6 +1057,7 @@ output += ' jansson: ' + jansson_msg + '\n' > - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' > - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' > - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' > -+output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' > - output += ' ofono: ' + enable_ofono.to_string() + '\n' > - output += ' concheck: ' + enable_concheck.to_string() + '\n' > - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' > -diff --git a/meson_options.txt b/meson_options.txt > -index 8b1d32e645..4e359f9e92 100644 > ---- a/meson_options.txt > -+++ b/meson_options.txt > -@@ -32,6 +32,7 @@ option('ppp', type: 'boolean', value: true, description: 'enable PPP/PPPoE suppo > - option('pppd', type: 'string', value: '', description: 'path to pppd binary') > - option('pppd_plugin_dir', type: 'string', value: '', description: 'path to the pppd plugins directory') > - option('modem_manager', type: 'boolean', value: true, description: 'Enable new ModemManager1 interface support') > -+option('mobile_broadband_provider_info_database', type: 'string', value: '', description: 'path to the mobile-broadband-provider-info database') > - option('ofono', type: 'boolean', value: false, description: 'Enable oFono support (experimental)') > - option('concheck', type: 'boolean', value: true, description: 'enable connectivity checking support') > - option('teamdctl', type: 'boolean', value: false, description: 'enable Teamd control support') > --- > -2.20.1 > - > diff --git a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch b/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch > deleted file mode 100644 > index 648be027e0..0000000000 > --- a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch > +++ /dev/null > @@ -1,38 +0,0 @@ > -From 736a2c356c1c4871e8c4e70be622c65c87d3bca8 Mon Sep 17 00:00:00 2001 > -From: Fabrice Fontaine > -Date: Tue, 21 Feb 2023 13:03:00 +0100 > -Subject: [PATCH] meson.build: fix build failure with -Dmodem_manager=false > - > -Fix the following build failure with -Dmodem_manager=false raised since > -https://gitlab.freedesktop.org/ffontaine/NetworkManager/-/commit/03ba04d4784fa4fc7ec31455070fb5ecf25ade23: > - > -../output-1/build/network-manager-1.40.10/meson.build:1060:0: ERROR: Unknown variable "mobile_broadband_provider_info_database". > - > -Fixes: > - - http://autobuild.buildroot.org/results/896879c8e8ce022556ee834216ced2f962ff279c > - > -Signed-off-by: Fabrice Fontaine > -[Upstream status: > -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1544] > ---- > - meson.build | 4 +++- > - 1 file changed, 3 insertions(+), 1 deletion(-) > - > -diff --git a/meson.build b/meson.build > -index 84ce52c736..b79240efc0 100644 > ---- a/meson.build > -+++ b/meson.build > -@@ -1057,7 +1057,9 @@ output += ' jansson: ' + jansson_msg + '\n' > - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' > - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' > - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' > --output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' > -+if enable_modem_manager > -+ output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' > -+endif > - output += ' ofono: ' + enable_ofono.to_string() + '\n' > - output += ' concheck: ' + enable_concheck.to_string() + '\n' > - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' > --- > -2.39.0 > - > diff --git a/package/network-manager/network-manager.hash b/package/network-manager/network-manager.hash > index 895351a537..0196d68c55 100644 > --- a/package/network-manager/network-manager.hash > +++ b/package/network-manager/network-manager.hash > @@ -1,6 +1,6 @@ > -# From https://download.gnome.org/sources/NetworkManager/1.42/NetworkManager-1.42.0.sha256sum > -sha256 2f6756d507bb6b46716594b67e6fe7491891e1b5b167bbafc5157dfa7753d5b4 NetworkManager-1.42.0.tar.xz > +# From https://download.gnome.org/sources/NetworkManager/1.44/NetworkManager-1.44.2.sha256sum > +sha256 4b58bf3ac57e2cefb5652efd0945eb0b4bc36a63d92a61ab471d8bb2c9a420e1 NetworkManager-1.44.2.tar.xz > # Locally computed > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL > -sha256 cfb6c71f6df5898e1724be3debe9adac48c115b903915406c1e7dfd362b57892 CONTRIBUTING.md > +sha256 e7cf3d92bda8e5365eaf4514d572146a19e93336f7a966493778d0d0c4476fae CONTRIBUTING.md > diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk > index 9188af29eb..f6ef923d55 100644 > --- a/package/network-manager/network-manager.mk > +++ b/package/network-manager/network-manager.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -NETWORK_MANAGER_VERSION_MAJOR = 1.42 > -NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).0 > +NETWORK_MANAGER_VERSION_MAJOR = 1.44 > +NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).2 > NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz > NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) > NETWORK_MANAGER_INSTALL_STAGING = YES From arnout at mind.be Sun Oct 15 20:21:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:21:29 +0200 Subject: [Buildroot] [git commit] package/network-manager: bump to version 1.44.2 Message-ID: <20231015202416.4DB7385AD9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0455f957a363e9b6a522a0f13b81715f27af11fe branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Drop patches which are now upstream. CONTRIBUTING.md hash changed due to text various text updates, most of them outside of the section about licensing. The only change in that section is: @@ -39,26 +39,29 @@ new contributions already must already agree to that. For more details see [RELICENSE.md](RELICENSE.md). +Do not use "Signed-off-by:" lines in commits for NetworkManager. It has no meaning. + Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle --- ...-add-option-to-set-the-mobile-broadband-p.patch | 60 ---------------------- ...-fix-build-failure-with-Dmodem_manager-fa.patch | 38 -------------- package/network-manager/network-manager.hash | 6 +-- package/network-manager/network-manager.mk | 4 +- 4 files changed, 5 insertions(+), 103 deletions(-) diff --git a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch b/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch deleted file mode 100644 index 4336472e45..0000000000 --- a/package/network-manager/0001-build-meson-add-option-to-set-the-mobile-broadband-p.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 03ba04d4784fa4fc7ec31455070fb5ecf25ade23 Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Fri, 27 Jan 2023 22:38:42 +0100 -Subject: [PATCH] build: meson: add option to set the - mobile-broadband-provider-info database - -When building network-manager in cross-compile environment meson is not able -to detect the right location of the mobile-broadband-provider-info -database by using the pkg-config module. - -By adding the option 'mobile_broadband_provider_info_database' to set the -correct path to the datafile this can be solved. - -Signed-off-by: Heiko Thiery - -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1519 ---- - meson.build | 6 +++++- - meson_options.txt | 1 + - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 0adc42f738..84ce52c736 100644 ---- a/meson.build -+++ b/meson.build -@@ -584,7 +584,10 @@ enable_modem_manager = get_option('modem_manager') - if enable_modem_manager - mm_glib_dep = dependency('mm-glib', version: '>= 0.7.991') - -- mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') -+ mobile_broadband_provider_info_database = get_option('mobile_broadband_provider_info_database') -+ if mobile_broadband_provider_info_database == '' -+ mobile_broadband_provider_info_database = dependency('mobile-broadband-provider-info').get_pkgconfig_variable('database') -+ endif - config_h.set_quoted('MOBILE_BROADBAND_PROVIDER_INFO_DATABASE', mobile_broadband_provider_info_database) - endif - -@@ -1054,6 +1057,7 @@ output += ' jansson: ' + jansson_msg + '\n' - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' -+output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' - output += ' ofono: ' + enable_ofono.to_string() + '\n' - output += ' concheck: ' + enable_concheck.to_string() + '\n' - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' -diff --git a/meson_options.txt b/meson_options.txt -index 8b1d32e645..4e359f9e92 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -32,6 +32,7 @@ option('ppp', type: 'boolean', value: true, description: 'enable PPP/PPPoE suppo - option('pppd', type: 'string', value: '', description: 'path to pppd binary') - option('pppd_plugin_dir', type: 'string', value: '', description: 'path to the pppd plugins directory') - option('modem_manager', type: 'boolean', value: true, description: 'Enable new ModemManager1 interface support') -+option('mobile_broadband_provider_info_database', type: 'string', value: '', description: 'path to the mobile-broadband-provider-info database') - option('ofono', type: 'boolean', value: false, description: 'Enable oFono support (experimental)') - option('concheck', type: 'boolean', value: true, description: 'enable connectivity checking support') - option('teamdctl', type: 'boolean', value: false, description: 'enable Teamd control support') --- -2.20.1 - diff --git a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch b/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch deleted file mode 100644 index 648be027e0..0000000000 --- a/package/network-manager/0002-meson.build-fix-build-failure-with-Dmodem_manager-fa.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 736a2c356c1c4871e8c4e70be622c65c87d3bca8 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 21 Feb 2023 13:03:00 +0100 -Subject: [PATCH] meson.build: fix build failure with -Dmodem_manager=false - -Fix the following build failure with -Dmodem_manager=false raised since -https://gitlab.freedesktop.org/ffontaine/NetworkManager/-/commit/03ba04d4784fa4fc7ec31455070fb5ecf25ade23: - -../output-1/build/network-manager-1.40.10/meson.build:1060:0: ERROR: Unknown variable "mobile_broadband_provider_info_database". - -Fixes: - - http://autobuild.buildroot.org/results/896879c8e8ce022556ee834216ced2f962ff279c - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1544] ---- - meson.build | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 84ce52c736..b79240efc0 100644 ---- a/meson.build -+++ b/meson.build -@@ -1057,7 +1057,9 @@ output += ' jansson: ' + jansson_msg + '\n' - output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' - output += ' nft: ' + config_h.get('NFT_PATH') + '\n' - output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' --output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' -+if enable_modem_manager -+ output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' -+endif - output += ' ofono: ' + enable_ofono.to_string() + '\n' - output += ' concheck: ' + enable_concheck.to_string() + '\n' - output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' --- -2.39.0 - diff --git a/package/network-manager/network-manager.hash b/package/network-manager/network-manager.hash index 895351a537..0196d68c55 100644 --- a/package/network-manager/network-manager.hash +++ b/package/network-manager/network-manager.hash @@ -1,6 +1,6 @@ -# From https://download.gnome.org/sources/NetworkManager/1.42/NetworkManager-1.42.0.sha256sum -sha256 2f6756d507bb6b46716594b67e6fe7491891e1b5b167bbafc5157dfa7753d5b4 NetworkManager-1.42.0.tar.xz +# From https://download.gnome.org/sources/NetworkManager/1.44/NetworkManager-1.44.2.sha256sum +sha256 4b58bf3ac57e2cefb5652efd0945eb0b4bc36a63d92a61ab471d8bb2c9a420e1 NetworkManager-1.44.2.tar.xz # Locally computed sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL -sha256 cfb6c71f6df5898e1724be3debe9adac48c115b903915406c1e7dfd362b57892 CONTRIBUTING.md +sha256 e7cf3d92bda8e5365eaf4514d572146a19e93336f7a966493778d0d0c4476fae CONTRIBUTING.md diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 9188af29eb..f6ef923d55 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -4,8 +4,8 @@ # ################################################################################ -NETWORK_MANAGER_VERSION_MAJOR = 1.42 -NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).0 +NETWORK_MANAGER_VERSION_MAJOR = 1.44 +NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).2 NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) NETWORK_MANAGER_INSTALL_STAGING = YES From arnout at mind.be Sun Oct 15 20:27:29 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:27:29 +0200 Subject: [Buildroot] [PATCH] package/pkg-generic: drop support for arch-specific patches In-Reply-To: <20231014222541.891768-1-yann.morin.1998@free.fr> References: <20231014222541.891768-1-yann.morin.1998@free.fr> Message-ID: On 15/10/2023 00:25, Yann E. MORIN wrote: > The last architecture-specific patch we had was removed 2015-02-14 with > commit 9863553fe8fa (packages: all salute the passing of avr32), where > we eventually got rid of the avr32-specific patch for fbv. > > Since then, we've only had common patches (that apply systematically), > of conditional patches, that are applied in an ad-hoc manner with > post-patch hooks. Currently, we even only have one such patch (for > Linux). > > Since we do not advertise that possibility in the manual, and since we > do not want to have such patches, drop the support for it. > > This has the potential for breaking existing br2-external trees, but > there is a workaround for those: they can provide a pre-patch ook that > copies the ecessary per-arch patches if needed. We document this in the > manual. > > Signed-off-by: Yann E. MORIN Applied to master, thanks. Regards, Arnout > --- > docs/manual/migrating.adoc | 23 +++++++++++++++++++++++ > package/pkg-generic.mk | 4 ++-- > 2 files changed, 25 insertions(+), 2 deletions(-) > > diff --git a/docs/manual/migrating.adoc b/docs/manual/migrating.adoc > index 2667aeab96..21277f947b 100644 > --- a/docs/manual/migrating.adoc > +++ b/docs/manual/migrating.adoc > @@ -100,3 +100,26 @@ change implies that: > to be updated appropriately; > * the archive version suffix has been updated to +-br3+, so the hash > files must be updated appropriately. > + > +Before Buildroot 2023.11, it was possible (but undocumented and unused) > +to apply architecture-specific patches, by prefixing the patch filename > +with the architecture, e.g. `0001-some-changes.patch.arm` and such a > +patch would only be applied for that architecture. With Buildroot 2023.11, > +this is no longer supported, and such patches are now longer applied at > +all. > + > +If you still need per-architecture patches, then you may provide a > +xref:hooks[pre-patch hook] that copies the patches applicable to the > +configured architecture, e.g.: > + > +---- > +define LIBFOO_ARCH_PATCHES > + $(foreach p,$(wildcard $(LIBFOO_PKGDIR)/*.patch.$(ARCH)), \ > + cp -f $(p) $(patsubst %.$(ARCH),%,$(p)) > + ) > +endef > +LIBFOO_PRE_PATCH_HOOKS += LIBFOO_ARCH_PATCHES > +---- > + > +Note that no package in Buildroot has architecture-specific patches, and > +that such patches will most probably not be accepted. > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index 6e944dd6b7..face2dc6d9 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -252,9 +252,9 @@ $(BUILD_DIR)/%/.stamp_patched: > for D in $(PATCH_BASE_DIRS); do \ > if test -d $${D}; then \ > if test -d $${D}/$($(PKG)_VERSION); then \ > - $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch \*.patch.$(ARCH) || exit 1; \ > + $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch || exit 1; \ > else \ > - $(APPLY_PATCHES) $(@D) $${D} \*.patch \*.patch.$(ARCH) || exit 1; \ > + $(APPLY_PATCHES) $(@D) $${D} \*.patch || exit 1; \ > fi; \ > fi; \ > done; \ From arnout at mind.be Sun Oct 15 20:24:51 2023 From: arnout at mind.be (Arnout Vandecappelle) Date: Sun, 15 Oct 2023 22:24:51 +0200 Subject: [Buildroot] [git commit] package/pkg-generic: drop support for arch-specific patches Message-ID: <20231015202740.D869F85B02@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6480774c430227688119cac3935f23b624608824 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The last architecture-specific patch we had was removed 2015-02-14 with commit 9863553fe8fa (packages: all salute the passing of avr32), where we eventually got rid of the avr32-specific patch for fbv. Since then, we've only had common patches (that apply systematically), or conditional patches, that are applied in an ad-hoc manner with post-patch hooks. Currently, we even only have one such patch (for Linux). Since we do not advertise that possibility in the manual, and since we do not want to have such patches, drop the support for it. This has the potential for breaking existing br2-external trees, but there is a workaround for those: they can provide a pre-patch ook that copies the necessary per-arch patches if needed. We document this in the manual. Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle --- docs/manual/migrating.adoc | 23 +++++++++++++++++++++++ package/pkg-generic.mk | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/manual/migrating.adoc b/docs/manual/migrating.adoc index 2667aeab96..21277f947b 100644 --- a/docs/manual/migrating.adoc +++ b/docs/manual/migrating.adoc @@ -100,3 +100,26 @@ change implies that: to be updated appropriately; * the archive version suffix has been updated to +-br3+, so the hash files must be updated appropriately. + +Before Buildroot 2023.11, it was possible (but undocumented and unused) +to apply architecture-specific patches, by prefixing the patch filename +with the architecture, e.g. `0001-some-changes.patch.arm` and such a +patch would only be applied for that architecture. With Buildroot 2023.11, +this is no longer supported, and such patches are now longer applied at +all. + +If you still need per-architecture patches, then you may provide a +xref:hooks[pre-patch hook] that copies the patches applicable to the +configured architecture, e.g.: + +---- +define LIBFOO_ARCH_PATCHES + $(foreach p,$(wildcard $(LIBFOO_PKGDIR)/*.patch.$(ARCH)), \ + cp -f $(p) $(patsubst %.$(ARCH),%,$(p)) + ) +endef +LIBFOO_PRE_PATCH_HOOKS += LIBFOO_ARCH_PATCHES +---- + +Note that no package in Buildroot has architecture-specific patches, and +that such patches will most probably not be accepted. diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index e140145ee3..289fa552b4 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -242,9 +242,9 @@ $(BUILD_DIR)/%/.stamp_patched: for D in $(PATCH_BASE_DIRS); do \ if test -d $${D}; then \ if test -d $${D}/$($(PKG)_VERSION); then \ - $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch \*.patch.$(ARCH) || exit 1; \ + $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch || exit 1; \ else \ - $(APPLY_PATCHES) $(@D) $${D} \*.patch \*.patch.$(ARCH) || exit 1; \ + $(APPLY_PATCHES) $(@D) $${D} \*.patch || exit 1; \ fi; \ fi; \ done; \ From peter at korsgaard.com Sun Oct 15 20:47:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 22:47:00 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] package/libhtp: bump to version 0.5.45 Message-ID: <20231015204716.2AE5985B30@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1b638d8d337c7e22a4b93d50b972ddc839be47a8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Needed by suricata 6.0.14: http://autobuild.buildroot.net/results/b9d/b9df165b014698e5b4c2d218574947476cf23216/ https://github.com/OISF/libhtp/blob/0.5.45/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit d821de0e4632a8016b4eaf8019bf885fb56f3579) Signed-off-by: Peter Korsgaard --- package/libhtp/libhtp.hash | 2 +- package/libhtp/libhtp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash index 8759823e16..c016cb3439 100644 --- a/package/libhtp/libhtp.hash +++ b/package/libhtp/libhtp.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz +sha256 d4214f94522fa5a1ec1909dbb52831c534788d93bc6b2ca8252de9332b11b606 libhtp-0.5.45.tar.gz sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk index bb8aa73b42..8a732d1d5c 100644 --- a/package/libhtp/libhtp.mk +++ b/package/libhtp/libhtp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBHTP_VERSION = 0.5.40 +LIBHTP_VERSION = 0.5.45 LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) LIBHTP_LICENSE = BSD-3-Clause LIBHTP_LICENSE_FILES = LICENSE From bernd at kuhls.net Sun Oct 15 20:47:53 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 22:47:53 +0200 Subject: [Buildroot] [PATCH 1/1] package/pppd: disable for sparc and sparc64 architectures Message-ID: <20231015204753.5775-1-bernd@kuhls.net> pppd fails to build on sparc and sparc64 architectures with a redefinition of 'struct termio' error, with no proper fix or workaround for now. See discussions in [1] and [2] and picocom source code in [3]. [1] http://patchwork.ozlabs.org/project/buildroot/patch/20191227204520.1500501-1-fontaine.fabrice at gmail.com/ [2] http://patchwork.ozlabs.org/project/buildroot/patch/20200511142602.46170-1-vadim4j at gmail.com/ [3] https://github.com/npat-efault/picocom/blob/master/termbits2.h#L37 So let's disable it for now on sparc and sparc64 architectures. Fixes: http://autobuild.buildroot.net/results/c0a/c0a9dd410664dec670f90966e12b76e68f9883ee/ Signed-off-by: Bernd Kuhls --- package/network-manager/Config.in | 1 + package/pppd/Config.in | 8 ++++++++ package/rp-pppoe/Config.in | 1 + 3 files changed, 10 insertions(+) diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in index 57d7543131..8c284024e1 100644 --- a/package/network-manager/Config.in +++ b/package/network-manager/Config.in @@ -48,6 +48,7 @@ config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER config BR2_PACKAGE_NETWORK_MANAGER_PPPD bool "pppd support" + depends on !BR2_sparc64 && !BR2_sparc # pppd select BR2_PACKAGE_PPPD help This option enables support for PPPD daemon diff --git a/package/pppd/Config.in b/package/pppd/Config.in index 88c2180a9b..3ff8123aab 100644 --- a/package/pppd/Config.in +++ b/package/pppd/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PPPD bool "pppd" + depends on !BR2_sparc64 && !BR2_sparc depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU select BR2_PACKAGE_OPENSSL if BR2_TOOLCHAIN_USES_GLIBC @@ -22,5 +23,12 @@ config BR2_PACKAGE_PPPD_FILTER endif comment "pppd needs a toolchain w/ dynamic library" + depends on !BR2_sparc64 && !BR2_sparc depends on BR2_STATIC_LIBS depends on BR2_USE_MMU + +# pppd is disabled for sparc and sparc64 architectures because it fails +# to build with a redefinition of 'struct termio' error, with no proper +# fix or workaround for now +comment "pppd is disabled for sparc and sparc64 architectures" + depends on BR2_sparc64 || BR2_sparc diff --git a/package/rp-pppoe/Config.in b/package/rp-pppoe/Config.in index 6ff005a1e1..27eb0276db 100644 --- a/package/rp-pppoe/Config.in +++ b/package/rp-pppoe/Config.in @@ -4,6 +4,7 @@ comment "rp-pppoe needs a toolchain w/ dynamic library" config BR2_PACKAGE_RP_PPPOE bool "rp-pppoe" + depends on !BR2_sparc64 && !BR2_sparc # pppd depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_PPPD -- 2.39.2 From peter at korsgaard.com Sun Oct 15 20:46:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 22:46:02 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] package/libhtp: bump to version 0.5.45 Message-ID: <20231015204822.AF26585B50@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=bbe4466ad7cb3d1d218c01c7cfc7401f4281d563 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Needed by suricata 6.0.14: http://autobuild.buildroot.net/results/b9d/b9df165b014698e5b4c2d218574947476cf23216/ https://github.com/OISF/libhtp/blob/0.5.45/ChangeLog Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit d821de0e4632a8016b4eaf8019bf885fb56f3579) Signed-off-by: Peter Korsgaard --- package/libhtp/libhtp.hash | 2 +- package/libhtp/libhtp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libhtp/libhtp.hash b/package/libhtp/libhtp.hash index 8759823e16..c016cb3439 100644 --- a/package/libhtp/libhtp.hash +++ b/package/libhtp/libhtp.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 0afaff837c295c868db8c967b87b1b5e21c0386c15c3b5ead474799724c54ef8 libhtp-0.5.40.tar.gz +sha256 d4214f94522fa5a1ec1909dbb52831c534788d93bc6b2ca8252de9332b11b606 libhtp-0.5.45.tar.gz sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/package/libhtp/libhtp.mk b/package/libhtp/libhtp.mk index bb8aa73b42..8a732d1d5c 100644 --- a/package/libhtp/libhtp.mk +++ b/package/libhtp/libhtp.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBHTP_VERSION = 0.5.40 +LIBHTP_VERSION = 0.5.45 LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) LIBHTP_LICENSE = BSD-3-Clause LIBHTP_LICENSE_FILES = LICENSE From peter at korsgaard.com Sun Oct 15 20:48:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 22:48:25 +0200 Subject: [Buildroot] [PATCH 1/2] package/libhtp: bump to version 0.5.45 In-Reply-To: <20230927200708.491826-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Wed, 27 Sep 2023 22:07:07 +0200") References: <20230927200708.491826-1-fontaine.fabrice@gmail.com> Message-ID: <87il77vch2.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/OISF/libhtp/blob/0.5.45/ChangeLog > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Sun Oct 15 21:00:27 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 23:00:27 +0200 Subject: [Buildroot] [PATCH 1/1] package/monit: fix build without SSP Message-ID: <20231015210027.1587075-1-fontaine.fabrice@gmail.com> Fix build without SSP raised since bump to version 5.33.0 in commit 8cedb39764f70f9d467bf0cc1acc99a8bbb963d6: configure:10524: checking for pthread_create in -lpthread configure:10547: /home/thomas/autobuild/instance-1/output-1/host/bin/arceb-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -Wextra -fstack-protector-all -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lpthread >&5 /home/thomas/autobuild/instance-1/output-1/host/lib/gcc/arceb-buildroot-linux-uclibc/10.2.0/../../../../arceb-buildroot-linux-uclibc/bin/ld: cannot find -lssp_nonshared [...] checking for pthread_create in -lpthread... no configure: error: POSIX thread library is required Fixes: - http://autobuild.buildroot.org/results/ce0f9f62d60f801b03a079135941424ad147cf45 Signed-off-by: Fabrice Fontaine --- package/monit/monit.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/monit/monit.mk b/package/monit/monit.mk index f9d6617a54..4766ce3d9e 100644 --- a/package/monit/monit.mk +++ b/package/monit/monit.mk @@ -18,6 +18,7 @@ MONIT_AUTORECONF = YES MONIT_CONF_ENV = \ libmonit_cv_setjmp_available=yes \ libmonit_cv_vsnprintf_c99_conformant=yes \ + ax_cv_check_cflags___fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) \ ac_cv_ipv6=yes MONIT_CONF_OPTS += \ -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 15 21:01:25 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 23:01:25 +0200 Subject: [Buildroot] [PATCH 1/1] package/monit: fix openssl static build Message-ID: <20231015210125.1587623-1-fontaine.fabrice@gmail.com> Fix the following openssl static build failure raised since bump to version 5.33.0 in commit 8cedb39764f70f9d467bf0cc1acc99a8bbb963d6: configure: error: Could not find SSL library, please use --with-ssl-lib-dir option or disabled the SSL support using --without-ssl Fixes: - http://autobuild.buildroot.org/results/b2fe4ecd1d84c3cf7d0eb8f606b20bc6638d6d65 Signed-off-by: Fabrice Fontaine --- package/monit/monit.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/monit/monit.mk b/package/monit/monit.mk index ce0f5f0e92..f9d6617a54 100644 --- a/package/monit/monit.mk +++ b/package/monit/monit.mk @@ -25,8 +25,9 @@ MONIT_CONF_OPTS += \ --with-largefiles ifeq ($(BR2_PACKAGE_OPENSSL),y) +MONIT_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` MONIT_CONF_OPTS += --with-ssl --with-ssl-dir=$(STAGING_DIR)/usr -MONIT_DEPENDENCIES += openssl +MONIT_DEPENDENCIES += host-pkgconf openssl else MONIT_CONF_OPTS += --without-ssl endif -- 2.42.0 From bernd at kuhls.net Sun Oct 15 21:05:48 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Sun, 15 Oct 2023 23:05:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/ethtool: switch to git snapshot Message-ID: <20231015210548.36882-1-bernd@kuhls.net> Upstream tarball does not include several header files leading to build errors with older kernels. For details see: https://patchwork.kernel.org/project/netdevbpf/patch/20231005163053.1800218-1-florian.fainelli at broadcom.com/ Switch _SITE to git snapshot and add _AUTORECONF = YES which needs host-pkgconf to fix subsequent configure error: ./configure: line 4723: PKG_PROG_PKG_CONFIG: command not found ./configure: line 5055: syntax error near unexpected token `MNL,' ./configure: line 5055: ` PKG_CHECK_MODULES(MNL, libmnl)' Fixes: http://autobuild.buildroot.net/results/69e/69e01b7f370920630d132fc43a40104fa5b3959f/ Signed-off-by: Bernd Kuhls --- package/ethtool/ethtool.hash | 3 +-- package/ethtool/ethtool.mk | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 8d2bf58420..812e4dd8d1 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,4 @@ -# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 814171ea4b8026b081c0741dbbf32e6968311483ecf64711232faec2ac70a14c ethtool-6.5.tar.xz # Locally calculated +sha256 b1f5fa66f71c3bab9daeacbd77e010b52c47df0a711b216847f78405f3299189 ethtool-6.5.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index 94d14b123b..ee710e0021 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -5,8 +5,11 @@ ################################################################################ ETHTOOL_VERSION = 6.5 -ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz -ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool +ETHTOOL_SITE = https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/snapshot +# needed only for autoreconf +ETHTOOL_DEPENDENCIES = host-pkgconf +# GIT version, shipped without configure +ETHTOOL_AUTORECONF = YES ETHTOOL_LICENSE = GPL-2.0 ETHTOOL_LICENSE_FILES = LICENSE COPYING ETHTOOL_CPE_ID_VENDOR = kernel -- 2.39.2 From peter at korsgaard.com Sun Oct 15 21:07:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Sun, 15 Oct 2023 23:07:16 +0200 Subject: [Buildroot] [git commit branch/2023.08.x] Update for 2023.08.2 Message-ID: <20231015210741.4099685B96@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=fe50c054bce7fb9b2e073b9c1bc78dd8a187289a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Peter Korsgaard --- CHANGES | 39 +++++++++++++++++++++++++++++++++++++++ Makefile | 4 ++-- support/misc/Vagrantfile | 2 +- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index fa7dc51b42..6ebaa4f773 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,42 @@ +2023.08.2, released October 15th, 2023 + + Important / security related fixes. + + Defconfigs: Freescale ARM: Add ATF patch to fix build issue + with binutils 2.39+. QEMU Aarch64-virt: Enable ACPI support + for EDK2. Visionfive2: Bump kernel to fix build issue with GCC + 13. + + Per-package builds: Do not use hard links for host / target + dirs, fixing issues with package rebuilds or post-build + scripts modifications. + + Infrastructure: Explicitly disable shuffle mode for Make >= + 4.4 where needed. + + Urandom-scripts: Move seedrng init script to S01 for earlier + random number entrophy initialization. + + Updated/fixed packages: at91bootstrap, batman-adv, bind, cups, + efl, enlightenment, exim, gcc, glibc, gnu-efi, go, gptfdisk, + grub2, gst-omx, gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rstp-server, gst1-rtsp-vaapi, gstreamer1, + gstreamer1-editing-services, gtkmm3, libcue, libcurl, + libfastjson, libhtp, libmodplug, librsvg, libvpx, libyang, + linux-pam, linux-tools, mbedtls, mosquitto, mutt, neon, + netsnmp, nmap, nodejs, olsr, openblas, opkg-utils, php, pound, + powertop, python-mako, python3, rauc, rockchip-mali, samba4, + sslh, stress-ng, suricata, syslog-ng, systemd, tar, unifdef, + urandom-scripts, usbguard, webkitgtk, wilc-driver, + wireless-regdb, wpewebkit + + Issues resolved (http://bugs.uclibc.org): + + #15628: Missing dependencies in BR2_PACKAGE_PYTHON_MAKO + #15808: connman is not supported on musl + #15814: C++ not supported by bootlin toolchain + 2023.08.1, released September 27th, 2023 Important / security related fixes. diff --git a/Makefile b/Makefile index ae7ba3cdbe..3c0e27ce16 100644 --- a/Makefile +++ b/Makefile @@ -90,9 +90,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2023.08.1 +export BR2_VERSION := 2023.08.2 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1695852000 +BR2_VERSION_EPOCH = 1697404000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index a7e3b7456c..1d42a647ac 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2023.08.1' +RELEASE='2023.08.2' ### Change here for more memory/cores ### VM_MEMORY=2048 From fontaine.fabrice at gmail.com Sun Oct 15 21:22:42 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 15 Oct 2023 23:22:42 +0200 Subject: [Buildroot] [PATCH 1/1] package/zabbix: add missing BR2_OPTIMIZE_FAST Message-ID: <20231015212242.1600362-1-fontaine.fabrice@gmail.com> Add missing BR2_OPTIMIZE_FAST dependency to BR2_PACKAGE_ZABBIX_SERVER to avoid the following build failure raised since commit e702a05d8998a1f2416225eb62b43b6585738fe9: checking for Zabbix server/proxy database selection... error configure: error: No database selected for Zabbix server/proxy. Use --with-mysql or --with-oracle or --with-postgresql or --with-sqlite3. Fixes: - http://autobuild.buildroot.org/results/ab403b45761c82f49a9380564bf10d3e7ae935f2 Signed-off-by: Fabrice Fontaine --- package/zabbix/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/zabbix/Config.in b/package/zabbix/Config.in index 377c0ff692..af677f782e 100644 --- a/package/zabbix/Config.in +++ b/package/zabbix/Config.in @@ -26,7 +26,7 @@ config BR2_PACKAGE_ZABBIX_SERVER depends on BR2_USE_MMU # mysql, postgresql depends on \ (BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) || \ - (BR2_USE_WCHAR && !BR2_STATIC_LIBS) + (BR2_USE_WCHAR && !BR2_STATIC_LIBS && !BR2_OPTIMIZE_FAST) select BR2_PACKAGE_ZLIB select BR2_PACKAGE_LIBEVENT -- 2.42.0 From yegorslists at googlemail.com Sun Oct 15 22:09:13 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Mon, 16 Oct 2023 00:09:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/ethtool: switch to git snapshot In-Reply-To: <20231015210548.36882-1-bernd@kuhls.net> References: <20231015210548.36882-1-bernd@kuhls.net> Message-ID: On Sun, Oct 15, 2023 at 11:06?PM Bernd Kuhls wrote: > > Upstream tarball does not include several header files leading to build > errors with older kernels. For details see: > https://patchwork.kernel.org/project/netdevbpf/patch/20231005163053.1800218-1-florian.fainelli at broadcom.com/ > > Switch _SITE to git snapshot and add _AUTORECONF = YES which needs > host-pkgconf to fix subsequent configure error: > > ./configure: line 4723: PKG_PROG_PKG_CONFIG: command not found > > ./configure: line 5055: syntax error near unexpected token `MNL,' > ./configure: line 5055: ` PKG_CHECK_MODULES(MNL, libmnl)' > > Fixes: > http://autobuild.buildroot.net/results/69e/69e01b7f370920630d132fc43a40104fa5b3959f/ > > Signed-off-by: Bernd Kuhls Reviewed-by: Yegor Yefremov > --- > package/ethtool/ethtool.hash | 3 +-- > package/ethtool/ethtool.mk | 7 +++++-- > 2 files changed, 6 insertions(+), 4 deletions(-) > > diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash > index 8d2bf58420..812e4dd8d1 100644 > --- a/package/ethtool/ethtool.hash > +++ b/package/ethtool/ethtool.hash > @@ -1,5 +1,4 @@ > -# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc > -sha256 814171ea4b8026b081c0741dbbf32e6968311483ecf64711232faec2ac70a14c ethtool-6.5.tar.xz > # Locally calculated > +sha256 b1f5fa66f71c3bab9daeacbd77e010b52c47df0a711b216847f78405f3299189 ethtool-6.5.tar.gz > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE > diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk > index 94d14b123b..ee710e0021 100644 > --- a/package/ethtool/ethtool.mk > +++ b/package/ethtool/ethtool.mk > @@ -5,8 +5,11 @@ > ################################################################################ > > ETHTOOL_VERSION = 6.5 > -ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz > -ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool > +ETHTOOL_SITE = https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/snapshot > +# needed only for autoreconf > +ETHTOOL_DEPENDENCIES = host-pkgconf > +# GIT version, shipped without configure > +ETHTOOL_AUTORECONF = YES > ETHTOOL_LICENSE = GPL-2.0 > ETHTOOL_LICENSE_FILES = LICENSE COPYING > ETHTOOL_CPE_ID_VENDOR = kernel > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From fido_max at inbox.ru Mon Oct 16 06:18:02 2023 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Mon, 16 Oct 2023 09:18:02 +0300 Subject: [Buildroot] [PATCH 1/1] package/libgeos: drop DISABLE_GEOS_INLINE In-Reply-To: <20231015201204.1277675-1-fontaine.fabrice@gmail.com> References: <20231015201204.1277675-1-fontaine.fabrice@gmail.com> Message-ID: <586a020d-5a67-4025-8263-08c74a6372fc@inbox.ru> On 15.10.2023 23:12, Fabrice Fontaine wrote: > DISABLE_GEOS_INLINE has ben dropped since version 3.11.0 and > https://github.com/libgeos/geos/commit/1516e42eeae3b3114585f1e94a0e723d835f7757 > > Signed-off-by: Fabrice Fontaine Reviewed-by: Maxim Kochetkov From peter at korsgaard.com Mon Oct 16 07:32:03 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 09:32:03 +0200 Subject: [Buildroot] Buildroot 2023.08.2 released Message-ID: <87edhvuioc.fsf@48ers.dk> Hi, Buildroot is a simple tool for creating complete embedded Linux systems (http://buildroot.org). Buildroot 2023.08.2 is released - Go download it at: http://buildroot.org/downloads/buildroot-2023.08.2.tar.gz or http://buildroot.org/downloads/buildroot-2023.08.2.tar.xz Or get it from Git: git://git.buildroot.org/buildroot Buildroot 2023.08.2 is a bugfix release, fixing a number of important / security related issues discovered since the 2023.08.1 release. - Defconfigs: Freescale ARM: Add ATF patch to fix build issue with binutils 2.39+. QEMU Aarch64-virt: Enable ACPI support for EDK2. Visionfive2: Bump kernel to fix build issue with GCC 13. - Per-package builds: Do not use hard links for host / target dirs, fixing issues with package rebuilds or post-build scripts modifications. - Infrastructure: Explicitly disable shuffle mode for Make >= 4.4 where needed. - Urandom-scripts: Move seedrng init script to S01 for earlier random number entrophy initialization. - Security fixes for bind, cups, enlightenment, exim, glibc, gst1-plugins-base, gst1-plugins-good, gst1-plugins-bad, gst1-plugins-ugly, go, libcue, libcurl, libfastjson, librsvg, libvpx, libyang, mbedtls, netsnmp, samba4, suricata, tar - Fixes for download/compilation/runtime/license issues in at91bootstrap, batman-adv, efl, gnu-efi, gst-omx, gst1-devtools, gst1-libav, gst1-python, gst1-rtsp-server, gst1-rtsp-vaapi, gstreamer1, gstreamer1-editing-services, go, gptfdisk, grub2, gtkmm3, libhtp, libmodplug, linux-pam, linux-tools, mosquitto, mutt, neon, nmap, nodejs, olsr, openblas, opkg-utils, php, pound, powertop, python-mako, python3, rauc, rockchip-mali, sslh, stress-ng, syslog-ng, systemd, unifdef, urandom-scripts, usbguard, webkitgtk, wilc-driver, wireless-regdb, wpewebkit For more details, see the CHANGES file: https://git.buildroot.net/buildroot/plain/CHANGES?id=2023.08.2 Users of the affected packages are strongly encouraged to upgrade. Many thanks to all the people contributing to this release: git shortlog -sn 2023.08.1.. 22 Peter Korsgaard 18 Fabrice Fontaine 11 Bernd Kuhls 5 Yann E. MORIN 4 Daniel Lang 3 Brandon Maier 3 Francois Perrad 2 Adam Duskett 2 Jens Maus 2 Romain Naour 2 Thomas Devoogdt 2 Thomas Petazzoni 1 Arnout Vandecappelle 1 Ben Dooks 1 Ben Wolsieffer 1 Christian Stewart 1 Ga?l PORTAY 1 Giulio Benetti 1 Gleb Mazovetskiy 1 Herve Codina 1 James Hilliard 1 Jan ?erm?k 1 Julien Olivain 1 Kory Maincent 1 Maxim Kochetkov 1 Sebastian Weyer 1 Waldemar Brodkorb 1 Yu Chien Peter Lin -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 16 08:19:31 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 10:19:31 +0200 Subject: [Buildroot] [git commit branch/2023.02.x] Update for 2023.02.6 Message-ID: <20231016081957.52F6685C00@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=593454c77e542ca7f6924087376ad0de71412e49 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Peter Korsgaard --- CHANGES | 36 ++++++++++++++++++++++++++++++++++++ Makefile | 4 ++-- support/misc/Vagrantfile | 2 +- 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index c6ccc09e3f..5c7041963c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,39 @@ +2023.02.6, released October 16th, 2023 + + Important / security related fixes. + + Per-package builds: Do not use hard links for host / target + dirs, fixing issues with package rebuilds or post-build + scripts modifications. + + Infrastructure: Explicitly disable shuffle mode for Make >= + 4.4 where needed. + + Urandom-scripts: Move seedrng init script to S01 for earlier + random number entrophy initialization. + + Go: Bump to 1.20.x as 1.19.x is now EOL and affected by + security issues. + + Updated/fixed packages: at91bootstrap, bind, cups, efl, + enlightenment, exim, gcc, glibc, gnu-efi, go, go-bootstrap, + gptfdisk, gst-omx, gst1-devtools, gst1-libav, + gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, + gst1-plugins-ugly, gst1-python, gst1-rstp-server, + gst1-rtsp-vaapi, gstreamer1, gstreamer1-editing-services, + libcue, libcurl, libfastjson, libhtp, libmodplug, librsvg, + libvpx, libyang, linux-tools, mbedtls, mosquitto, mutt, neon, + netsnmp, nmap, nodejs, olsr, openblas, opkg-utils, php, + powertop, python-mako, python3, rockchip-mali, samba4, sslh, + suricata, tar, unifdef, unrandom-scripts, webkitgtk, + wireless-regdb, wpewebkit + + Issues resolved (http://bugs.uclibc.org): + + #15628: Missing dependencies in BR2_PACKAGE_PYTHON_MAKO + #15808: connman is not supported on musl + #15814: C++ not supported by bootlin toolchain + 2023.02.5, released September 27th, 2023 Important / security related fixes. diff --git a/Makefile b/Makefile index 67d3f3105a..0fcd1cedab 100644 --- a/Makefile +++ b/Makefile @@ -90,9 +90,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2023.02.5 +export BR2_VERSION := 2023.02.6 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1695815000 +BR2_VERSION_EPOCH = 1697444000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index ae060e4425..911e7ed463 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2023.02.5' +RELEASE='2023.02.6' ### Change here for more memory/cores ### VM_MEMORY=2048 From fido_max at inbox.ru Mon Oct 16 08:35:12 2023 From: fido_max at inbox.ru (Maxim Kochetkov) Date: Mon, 16 Oct 2023 11:35:12 +0300 Subject: [Buildroot] [PATCH 1/1] package/libgeos: needs gcc >= 4.9 In-Reply-To: <20231015201449.1279312-1-fontaine.fabrice@gmail.com> References: <20231015201449.1279312-1-fontaine.fabrice@gmail.com> Message-ID: On 15.10.2023 23:14, Fabrice Fontaine wrote: > libgeos needs gcc >= 4.9 since bump to version 3.12.0 in commit > 16727d4595dd1972a46e92bbd2260a896cc19b60 and > https://github.com/libgeos/geos/commit/289ed4efb26a9944f4385381e1574184b1e7448e: > > In file included from /home/thomas/autobuild/instance-0/output-1/build/libgeos-3.12.0/src/algorithm/ConvexHull.cpp:30:0: > /home/thomas/autobuild/instance-0/output-1/build/libgeos-3.12.0/include/geos/util.h:38:12: error: 'std::make_unique' has not been declared > using std::make_unique; > ^ > > Fixes: > - http://autobuild.buildroot.org/results/56bb572fb1d56d45dbb950a73b9b888239fa6968 > > Signed-off-by: Fabrice Fontaine Reviewed-by: Maxim Kochetkov From peter at korsgaard.com Mon Oct 16 09:19:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 11:19:32 +0200 Subject: [Buildroot] Buildroot 2023.02.6 released Message-ID: <87a5sivs9n.fsf@48ers.dk> Hi, Buildroot is a simple tool for creating complete embedded Linux systems (http://buildroot.org). Buildroot 2023.02.6 is released - Go download it at: http://buildroot.org/downloads/buildroot-2023.02.6.tar.gz or http://buildroot.org/downloads/buildroot-2023.02.6.tar.xz Or get it from Git: git://git.buildroot.org/buildroot Buildroot 2023.02.6 is a bugfix release on the current long term release, fixing a number of important / security related issues discovered since the 2023.02.5 release. - Per-package builds: Do not use hard links for host / target dirs, fixing issues with package rebuilds or post-build scripts modifications. - Infrastructure: Explicitly disable shuffle mode for Make >= 4.4 where needed. - Urandom-scripts: Move seedrng init script to S01 for earlier random number entrophy initialization. - Go: Bump to 1.20.x as 1.19.x is now EOL and affected by security issues. - Security fixes for bind, cups, enlightenment, exim, glibc, go, gst1-plugins-base, gst1-plugins-bad, gst1-plugins-good, gst1-plugins-ugly, libcue, libcurl, libfastjson, librsvg, libvpx, libyang, mbedtls, netsnmp, samba4, suricata, tar - Fixes for download/compilation/runtime/license issues in at91bootstrap, efl, gnu-efi, go, gptfdisk, gst-omx, gst1-devtools, gst1-libav, gst1-python, gst1-rstp-server, gst1-rstp-vaapi, gstreamer1, gstreamer1-editing-services, libhtp, libmodplug, linux-tools, mosquitto, mutt, neon, nmap, nodejs, olsr, openblas, opkg-utils, php, powertop, python-mako, python3, rockchip-mali, sslh, unifdef, urandom-scripts, webkitgtk, wireless-regdb, wpewebkit For more details, see the CHANGES file: https://git.buildroot.net/buildroot/plain/CHANGES?id=2023.02.6 Users of the affected packages are strongly encouraged to upgrade. Many thanks to all the people contributing to this release: git shortlog -sn 2023.02.5.. 22 Peter Korsgaard 13 Fabrice Fontaine 12 Bernd Kuhls 8 Christian Stewart 5 Yann E. MORIN 4 Francois Perrad 3 Daniel Lang 3 Thomas Petazzoni 2 Romain Naour 2 Thomas Devoogdt 1 Arnout Vandecappelle 1 Ben Wolsieffer 1 Brandon Maier 1 Ga?l PORTAY 1 Gleb Mazovetskiy 1 Herve Codina 1 James Hilliard 1 Jan ?erm?k 1 Jens Maus 1 Julien Olivain 1 Kory Maincent 1 Sebastian Weyer 1 Yu Chien Peter Lin -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 16 09:34:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 11:34:39 +0200 Subject: [Buildroot] [git commit] Update for 2023.08.2 Message-ID: <20231016094106.99A7485C8F@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cc31a8057a98454b4ed3bfca2e3b2bfee49c70f2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard (cherry picked from commit fe50c054bce7fb9b2e073b9c1bc78dd8a187289a) [Peter: drop Makefile change] Signed-off-by: Peter Korsgaard --- CHANGES | 39 +++++++++++++++++++++++++++++++++++++++ support/misc/Vagrantfile | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 4164bd81f3..81bc209b92 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,42 @@ +2023.08.2, released October 15th, 2023 + + Important / security related fixes. + + Defconfigs: Freescale ARM: Add ATF patch to fix build issue + with binutils 2.39+. QEMU Aarch64-virt: Enable ACPI support + for EDK2. Visionfive2: Bump kernel to fix build issue with GCC + 13. + + Per-package builds: Do not use hard links for host / target + dirs, fixing issues with package rebuilds or post-build + scripts modifications. + + Infrastructure: Explicitly disable shuffle mode for Make >= + 4.4 where needed. + + Urandom-scripts: Move seedrng init script to S01 for earlier + random number entrophy initialization. + + Updated/fixed packages: at91bootstrap, batman-adv, bind, cups, + efl, enlightenment, exim, gcc, glibc, gnu-efi, go, gptfdisk, + grub2, gst-omx, gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rstp-server, gst1-rtsp-vaapi, gstreamer1, + gstreamer1-editing-services, gtkmm3, libcue, libcurl, + libfastjson, libhtp, libmodplug, librsvg, libvpx, libyang, + linux-pam, linux-tools, mbedtls, mosquitto, mutt, neon, + netsnmp, nmap, nodejs, olsr, openblas, opkg-utils, php, pound, + powertop, python-mako, python3, rauc, rockchip-mali, samba4, + sslh, stress-ng, suricata, syslog-ng, systemd, tar, unifdef, + urandom-scripts, usbguard, webkitgtk, wilc-driver, + wireless-regdb, wpewebkit + + Issues resolved (http://bugs.uclibc.org): + + #15628: Missing dependencies in BR2_PACKAGE_PYTHON_MAKO + #15808: connman is not supported on musl + #15814: C++ not supported by bootlin toolchain + 2023.08.1, released September 27th, 2023 Important / security related fixes. diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile index a7e3b7456c..1d42a647ac 100644 --- a/support/misc/Vagrantfile +++ b/support/misc/Vagrantfile @@ -5,7 +5,7 @@ ################################################################################ # Buildroot version to use -RELEASE='2023.08.1' +RELEASE='2023.08.2' ### Change here for more memory/cores ### VM_MEMORY=2048 From peter at korsgaard.com Mon Oct 16 09:40:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 16 Oct 2023 11:40:37 +0200 Subject: [Buildroot] [git commit] docs/website: Update for 2023.08.2 Message-ID: <20231016094106.AFA1585AFF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e077133a6577821946e7377489d54be01fbbe576 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- docs/website/download.html | 18 +++++++++--------- docs/website/news.html | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/docs/website/download.html b/docs/website/download.html index af39ddc9eb..f4f35c949f 100644 --- a/docs/website/download.html +++ b/docs/website/download.html @@ -42,37 +42,37 @@ -

Latest stable release: 2023.08.1

+

Latest stable release: 2023.08.2

https://bugs.busybox.net/attachment.cgi?id=9649&action=edit configure cmd of python2 and python3 Hello, We are passing from python 2.7.18 to python 3.9.7 on buildroot 2021.11 and we have a big drop on the performance. On our platform (arm-cortexA8), python3 is 2.5 times slower than python2 Our searches on the internet never spoke about a loss of performance as big as this one. So we are thinking we have a problem about our python and the way it is compiled, this is why we post here. We create an image with both, python2 and python3 on it, no other software is running on background, and run the following test: ``` # cat test_python.py #!/usr/bin/python import sys n = int(sys.argv[1]) while n: n -= 1 # python2 --version Python 2.7.18 # time python2 ./test_python.py 10000000 real 0m 21.23s user 0m 20.73s sys 0m 0.48s # python3 --version Python 3.9.7 # time python3 ./test_python.py 10000000 real 0m 51.39s user 0m 51.34s sys 0m 0.02s ``` Our `./configure` are almost identic. And flags used during compile time as well. We tried python 3.11.5 on buildroot 2023.08.3 and performance are as bad as 3.9.7. Do you have any ideas about where we can lead our research? Thank you. -- You are receiving this mail because: You are on the CC list for the bug. From stefan at agner.ch Fri Oct 27 15:46:13 2023 From: stefan at agner.ch (Stefan Agner) Date: Fri, 27 Oct 2023 17:46:13 +0200 Subject: [Buildroot] [PATCH 2/2] package/docker-cli: bump version to v24.0.7 In-Reply-To: References: Message-ID: Minor bugfix in docker ps status description. https://github.com/moby/moby/releases/tag/v24.0.7 Signed-off-by: Stefan Agner --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index 5d8c1b0f59..9c8d08bba5 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c1a4a580ced3633e489c5c9869a20198415da44df7023fdc200d425cdf5fa652 docker-cli-24.0.6.tar.gz +sha256 72a54d131c28938221c81bd08364459fed9c71c093d4d615d324aaf31de6db1d docker-cli-24.0.7.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index 53c9ddb6b8..95fce27ffb 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 24.0.6 +DOCKER_CLI_VERSION = 24.0.7 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 -- 2.42.0 From stefan at agner.ch Fri Oct 27 15:46:12 2023 From: stefan at agner.ch (Stefan Agner) Date: Fri, 27 Oct 2023 17:46:12 +0200 Subject: [Buildroot] [PATCH 1/2] package/docker-engine: bump version to v24.0.7 Message-ID: The overlay2 layers metadata are now written atomically. Many other bugfixes and hardening against security issues around the power capping framework. https://github.com/moby/moby/releases/tag/v24.0.7 Signed-off-by: Stefan Agner --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 7a8b17d3f3..931d6529e1 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 29a8ee54e9ea008b40eebca42dec8b67ab257eb8ac175f67e79c110e4187d7d2 docker-engine-24.0.6.tar.gz +sha256 16a2cb4cf4d314a070085e0df06e3a6bd9ec678d28715b64060af694fc9051d5 docker-engine-24.0.7.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index a8f47254a4..34e74c09c6 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 24.0.6 +DOCKER_ENGINE_VERSION = 24.0.7 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 -- 2.42.0 From ovlevin at salutedevices.com Fri Oct 27 15:52:21 2023 From: ovlevin at salutedevices.com (Oleg Lyovin) Date: Fri, 27 Oct 2023 18:52:21 +0300 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: fix package build with gcc 4.8 Message-ID: <20231027155221.977752-1-ovlevin@salutedevices.com> python-pycryptodomex uses C99 features like variable declaration in for-loop statement, while old compilers assumes C89 by default. This patch explicitly specifies C99 standard. Change-Id: I934211714307cea43541167fbc72ff30fb66ad5f Signed-off-by: Oleg Lyovin --- package/python-pycryptodomex/python-pycryptodomex.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index 3790aa4787..ee8ce6e069 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -13,5 +13,11 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ Public Domain (pycrypto original code) PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto +PYTHON_PYCRYPTODOMEX_CFLAGS = -std=c99 + +PYTHON_PYCRYPTODOMEX_ENV = \ + CFLAGS="$(PYTHON_PYCRYPTODOMEX_CFLAGS)" +HOST_PYTHON_PYCRYPTODOMEX_ENV = $(PYTHON_PYCRYPTODOMEX_ENV) + $(eval $(python-package)) $(eval $(host-python-package)) -- 2.42.0.270.gbcb6cae296 From ovlevin at salutedevices.com Fri Oct 27 16:10:10 2023 From: ovlevin at salutedevices.com (Oleg Lyovin) Date: Fri, 27 Oct 2023 19:10:10 +0300 Subject: [Buildroot] [PATCH 1/1] package/fscryptctl: add choice between v1 and v2 versions Message-ID: <20231027161010.980901-1-ovlevin@salutedevices.com> b832f6eb9d bumped fscryptctl to the version that does not support fscrypt v1. However, there may be active users that already has v1 configuration without an ability to migrate to v2, so the above change would break them. This patch adds the option to choice which fscryptctl version to use assuming v2 by default. Signed-off-by: Oleg Lyovin --- package/fscryptctl/Config.in | 22 +++++++++++++++++++ package/fscryptctl/fscryptctl.mk | 22 +------------------ .../fscryptctl_v1/fscryptctl_v1.hash | 3 +++ .../fscryptctl/fscryptctl_v1/fscryptctl_v1.mk | 20 +++++++++++++++++ .../fscryptctl_v2.hash} | 2 +- .../fscryptctl/fscryptctl_v2/fscryptctl_v2.mk | 21 ++++++++++++++++++ 6 files changed, 68 insertions(+), 22 deletions(-) create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk rename package/fscryptctl/{fscryptctl.hash => fscryptctl_v2/fscryptctl_v2.hash} (81%) create mode 100644 package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk diff --git a/package/fscryptctl/Config.in b/package/fscryptctl/Config.in index 91b9ba8ebe..2fb7176ad9 100644 --- a/package/fscryptctl/Config.in +++ b/package/fscryptctl/Config.in @@ -10,3 +10,25 @@ config BR2_PACKAGE_FSCRYPTCTL (BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O encrypt -b 4096") https://github.com/google/fscryptctl + +if BR2_PACKAGE_FSCRYPTCTL + +choice + prompt "fscryptctl variant" + default BR2_PACKAGE_FSCRYPTCTL_V2 + help + Select the version of fscrypt. + +config BR2_PACKAGE_FSCRYPTCTL_V2 + bool "fscrpyctl_v2" + help + Support the latest fscrypt v2 implementation. + +config BR2_PACKAGE_FSCRYPTCTL_V1 + bool "fscryptctl_v1" + help + v1 is deprecated, enable this only for legacy configurations. + +endchoice + +endif diff --git a/package/fscryptctl/fscryptctl.mk b/package/fscryptctl/fscryptctl.mk index 0546f67a1f..e3571f4e07 100644 --- a/package/fscryptctl/fscryptctl.mk +++ b/package/fscryptctl/fscryptctl.mk @@ -1,21 +1 @@ -################################################################################ -# -# fscryptctl -# -################################################################################ - -FSCRYPTCTL_VERSION = 1.0.0 -FSCRYPTCTL_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_VERSION)) -FSCRYPTCTL_LICENSE = Apache-2.0 -FSCRYPTCTL_LICENSE_FILES = LICENSE - -define FSCRYPTCTL_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl -endef - -define FSCRYPTCTL_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl -endef - -$(eval $(generic-package)) +include $(sort $(wildcard package/fscryptctl/*/*.mk)) diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash new file mode 100644 index 0000000000..f810aaacb5 --- /dev/null +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 970a8febbcbf315313711d8a7ee3d954dea593d8087744d3cba65f6cb4bebcc1 fscryptctl_v1-f037dcf4354ce8f25d0f371b58dfe7a7ac27576f.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk new file mode 100644 index 0000000000..c1c1ab34f2 --- /dev/null +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# fscryptctl_v1 +# +################################################################################ + +FSCRYPTCTL_V1_VERSION = f037dcf4354ce8f25d0f371b58dfe7a7ac27576f +FSCRYPTCTL_V1_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_V1_VERSION)) +FSCRYPTCTL_V1_LICENSE = Apache-2.0 +FSCRYPTCTL_V1_LICENSE_FILES = LICENSE + +define FSCRYPTCTL_V1_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) fscryptctl +endef + +define FSCRYPTCTL_V1_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl +endef + +$(eval $(generic-package)) diff --git a/package/fscryptctl/fscryptctl.hash b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash similarity index 81% rename from package/fscryptctl/fscryptctl.hash rename to package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash index 0dcca6893e..61ff022310 100644 --- a/package/fscryptctl/fscryptctl.hash +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl-1.0.0.tar.gz +sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl_v2-1.0.0.tar.gz sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk new file mode 100644 index 0000000000..847a7bbcda --- /dev/null +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# fscryptctl_v2 +# +################################################################################ + +FSCRYPTCTL_V2_VERSION = 1.0.0 +FSCRYPTCTL_V2_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_V2_VERSION)) +FSCRYPTCTL_V2_LICENSE = Apache-2.0 +FSCRYPTCTL_V2_LICENSE_FILES = LICENSE + +define FSCRYPTCTL_V2_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl +endef + +define FSCRYPTCTL_V2_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl +endef + +$(eval $(generic-package)) -- 2.42.0.270.gbcb6cae296 From bugzilla at busybox.net Fri Oct 27 17:27:29 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Fri, 27 Oct 2023 17:27:29 +0000 Subject: [Buildroot] [Bug 15832] Low performance with python3 compare to python2 on the same platform In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15832 --- Comment #1 from Vincent Fazio --- What's the output of `python -m cProfile test_python.py 10000000` on each? I do see some variances even in Docker containers but not to that degree. On an rpi CM3 it doesn't take anywhere near the numbers you're posting below (only 8s). One option would be to profile the python interpreter itself. 3.12 has hooks for `perf` but they may not be representative of the situation you're seeing as recent interpreters try to perform opcode specialization. Otherwise you may have to build the interpreter with profiling enabled and use another external tool to collect that data. -- You are receiving this mail because: You are on the CC list for the bug. From bernd at kuhls.net Fri Oct 27 18:07:09 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Fri, 27 Oct 2023 20:07:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-iptvsimple: bump version to 20.11.1-Nexus Message-ID: <20231027180709.47696-1-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- 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 8f60721163..0895b2e910 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 c2014b11dd928a1d4789279d7f3ce25af8af4047194e8406f9dfd99d16fe2ee2 kodi-pvr-iptvsimple-20.11.0-Nexus.tar.gz +sha256 5c8bd2f04b3114311294e1dc064e592f712a62ff283a451bc8c19878f05286bd kodi-pvr-iptvsimple-20.11.1-Nexus.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 1ea3975be5..7314e855d9 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 = 20.11.0-Nexus +KODI_PVR_IPTVSIMPLE_VERSION = 20.11.1-Nexus 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 -- 2.39.2 From fabien.nogue at etictelecom.com Fri Oct 27 15:55:38 2023 From: fabien.nogue at etictelecom.com (Fabien Nogue) Date: Fri, 27 Oct 2023 17:55:38 +0200 Subject: [Buildroot] Low performance with python3 compare to python2 on the same platform Message-ID: <514a891e-7d31-4592-b050-d9d9402152cc@etictelecom.com> My bad, I create a bug (15832) instead of sending a mail to the mailing list... Hello, We are passing from python 2.7.18 to python 3.9.7 on buildroot 2021.11 and we have a big drop on the performance. On our platform (arm-cortexA8), python3 is 2.5 times slower than python2 Our searches on the internet never spoke about a loss of performance as big as this one. So we are thinking we have a problem about our python and the way it is compiled, this is why we post here. We create an image with both, python2 and python3 on it, no other software is running on background, and run the following test: ``` # cat test_python.py #!/usr/bin/python import sys n = int(sys.argv[1]) while n: n -= 1 # python2 --version Python 2.7.18 # time python2 ./test_python.py 10000000 real 0m 21.23s user 0m 20.73s sys 0m 0.48s # python3 --version Python 3.9.7 # time python3 ./test_python.py 10000000 real 0m 51.39s user 0m 51.34s sys 0m 0.02s ``` Our `./configure` are almost identic. And flags used during compile time as well. We tried python 3.11.5 on buildroot 2023.08.3 and performance are as bad as 3.9.7. Do you have any ideas about where we can lead our research? Thank you. Fabien Nogue -------------- next part -------------- An HTML attachment was scrubbed... URL: From Noreply at busybox.net Fri Oct 27 18:58:54 2023 From: Noreply at busybox.net (Noreply at busybox.net) Date: 27 Oct 2023 20:58:54 +0200 Subject: [Buildroot] E-mail Account Verification For buildroot@busybox.net !!! Message-ID: <20231027205853.9CD0A8A33E383508@busybox.net> An HTML attachment was scrubbed... URL: From thomas.petazzoni at bootlin.com Sat Oct 28 05:42:03 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sat, 28 Oct 2023 05:42:03 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-27 Message-ID: <20231028054209.95BBE41EBA@smtp4.osuosl.org> Hello, Autobuild statistics for 2023-10-27 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 15 | 3 | 0 | 18 | 2023.08.x | 14 | 4 | 0 | 18 | master | 46 | 82 | 0 | 128 | Classification of failures by reason for master ----------------------------------------------- unknown | 9 elfutils-0.189 | 6 openrc-0.43.3 | 6 bird-2.0.12 | 5 mariadb-10.11.4 | 5 gcc-final-12.3.0 | 4 gobject-introspection-1.76.1 | 4 host-go-1.21.3 | 4 libarchive-3.7.2 | 3 spirv-tools-1.3.261.1 | 3 linux-5.10.162-cip24-rt10 | 2 linux-6.5.8 | 2 strongswan-5.9.11 | 2 ulog-0389d243352255f6182326... | 2 apcupsd-3.14.14 | 1 at-spi2-core-2.48.3 | 1 brltty-6.5 | 1 c-icap-0.5.10 | 1 dc3dd-7.2.641 | 1 frr-8.4.2 | 1 gcc-final-11.4.0 | 1 host-rust-1.71.1 | 1 libglib2-2.76.1 | 1 libglvnd-1.4.0 | 1 libostree-2023.6 | 1 libselinux-3.5 | 1 libsoup-2.74.3 | 1 libunwind-1.6.2 | 1 lightning-2.2.2 | 1 linux-pam-1.5.3 | 1 liquid-dsp-1.5.0 | 1 lttng-modules-2.13.7 | 1 motion-4.5.1 | 1 nushell-0.85.0 | 1 pango-1.50.14 | 1 python3-3.11.6 | 1 qemu-8.1.1 | 1 samba4-4.19.1 | 1 trace-cmd-2.9.7 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mipsel | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/f41522dd8585f7b937512f9c04ac8cace265b135 | sparc | at-spi2-core-2.48.3 | NOK | http://autobuild.buildroot.net/results/cce9f0d283c86b0c15f495af400b586adb62da92 | microblazeel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/c290d74b5f4a0a7046173ecf025bbfdad2f2074f | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a1e04c9a51ae8ecdd2d69a5ba39b14808b6c3f9e | powerpc64le | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/0ef1626f91d840ff5435eadb64de0127094ed230 | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/33e08e3937e215449c9f1421553ab8397e197450 | microblazeel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/6278ac4e9dab2dc5814300079a644655d65d6e2e | mipsel | brltty-6.5 | NOK | http://autobuild.buildroot.net/results/998e694791d7eb0b9650368e263cbf63191869e2 | mipsel | c-icap-0.5.10 | NOK | http://autobuild.buildroot.net/results/9d54bb42e8218174e4fade142e5219500a4ed31f | ORPH or1k | dc3dd-7.2.641 | NOK | http://autobuild.buildroot.net/results/9b5b105778de10d963bad442fae7eb061e6e95b8 | ORPH mipsel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/449c12c0325e47a0d80ab801a6c3f9396a949db4 | ORPH microblaze | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/9796a1fcab227797f685a4d5469d4e02a2509023 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/f2f0dbbd0cb8a7307ef2ffe56f048fc04c8f6fe1 | ORPH or1k | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/d06dcff767f6165085744abbb5b8ee5894d51865 | ORPH microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/6e82d0e1bfc5cb57a7975dd8c59fe85dd16ee2e3 | ORPH armeb | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/263a3c3527eedd581da13571f42802652b04883e | ORPH xtensa | frr-8.4.2 | NOK | http://autobuild.buildroot.net/results/60f7b54fb565564444c53fbcf2431458edec6336 | aarch64_be | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/4f61b2b1d626d5926b95be9b94211e4e93468472 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/dad942dafe0a537ed7412412d593780402da76d7 | mips64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/7c2a4697f615a34498ee028f1ff583b084e1a683 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/0858f76b190383a5119125da794c475cf9517b49 | xtensa | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/5c3844dd0018bca64573955823447257cf9bcc7e | i686 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/57e23c88b14378d0d66549faf129075889af7355 | ORPH powerpc | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/adef0faa3118a40ab91b6e840f76d8cea1ee86e9 | ORPH s390x | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/13d17d5fee75a8ad2d1b3c85716686c2106f3039 | ORPH or1k | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/363f982cc1fda5d729bfd683c62e985b6832a156 | ORPH i686 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/1d69c50385f70223d365d59ed7743aaf4f92d5fb | mips64el | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/68b0ce69a669de839119f93a214b30dc786088e5 | mips64 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/80350c53cc2861f09599fca04c8bcf7a2ebf1289 | mips64 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/e7bf6d0a94ce4179edec0f93e0b33abe61cac247 | powerpc64le | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/1ff36f48bb24cc43b29604c250eea46914b7ebcb | mipsel | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/1cb5845b72dd0171f102f42c14db2fc720fbee59 | nios2 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/1d31fe7de52c8268108899a64fe16998af98228a | powerpc | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/542959d2fbec7abcc194777eb4df4421db91494b | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/b707b8dafea5285dd243e112b3dc86f7c4cefca5 | sh4 | libglvnd-1.4.0 | NOK | http://autobuild.buildroot.net/results/bde796c819358e8552ef50f189289248b7239641 | ORPH s390x | libostree-2023.6 | NOK | http://autobuild.buildroot.net/results/52d09ae1388dd25ea4f6f467c9bce5600c558338 | microblazeel | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/bd86e61822df51291930e191e6f86a40c303d3e6 | sparc | libsoup-2.74.3 | NOK | http://autobuild.buildroot.net/results/f2aae1c3842af45753fc69ef4c9971dcf717afd8 | mipsel | libunwind-1.6.2 | NOK | http://autobuild.buildroot.net/results/bc60e0be2912956c683373ce1e4853921e0f4dab | ORPH mips64 | lightning-2.2.2 | NOK | http://autobuild.buildroot.net/results/cb8012c4b48de21191142430e3a022299a5e5288 | riscv64 | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/cf1adf9331fd32bab8fa181b0f872190a5b7c438 | ORPH m68k | linux-5.10.162-cip24-rt10 | NOK | http://autobuild.buildroot.net/results/6b2905492fd1b96dc16d7bbb1245de457637b1e7 | ORPH m68k | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/bbd52fac29963a71364cbd776a494d12ae4d2f47 | ORPH s390x | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/46370ef2a371ac445ad33ee2a1c880ca6b4a86a0 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/09d87ff6c2c9dbc84bcfb154a4812dcb5fd32339 | ORPH x86_64 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/acad28be4bd5499ecff49046d647a898cd617f22 | or1k | lttng-modules-2.13.7 | NOK | http://autobuild.buildroot.net/results/a0bf49a1a9b3c7da6c6466c53ab9ac0e7c30c0f4 | powerpc64le | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/73d9c956b00ccc19e8b2226c60207b59cfd4eefa | ORPH aarch64 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/2a6323fee39e8d4be6122b0fb0802e0da00647b1 | ORPH microblazeel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/11e77254e26b81cbd8a4789c2f14fd9f8feff2ab | ORPH i686 | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/3e21f2939a78ba5ee2cbb0a35e8bc27a017a1683 | ORPH mipsel | mariadb-10.11.4 | NOK | http://autobuild.buildroot.net/results/6d0f7ed6d0df6b670170647f4d2505921411ad8f | ORPH mips | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/f5df448a7afd661268a3607347eddda9ccd137d9 | sparc64 | nushell-0.85.0 | NOK | http://autobuild.buildroot.net/results/b41f94baf1e57e7edf27e697cf6f251dccd472f6 | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/6ee76dc186993c131e509cd0cc45bc04b5ce0523 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/fa69e84fe7da382270cadb9912d652a7ecd1beb3 | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/5e8672d49e1b7494ad7961e4ce345fca668ae964 | aarch64_be | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/e7d3e946fb48bcf3b79eb3c8d1f6e9eae26da638 | powerpc | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a6cbb01692127600a41a91cac8d2b9ddd01ce847 | i686 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c03655ad982fb9f48e3432b9f20458969c7639e3 | x86_64 | pango-1.50.14 | NOK | http://autobuild.buildroot.net/results/e8b5a752a62621099942b29c1642747eef2930cb | ORPH x86_64 | python3-3.11.6 | NOK | http://autobuild.buildroot.net/results/b67a4e4bd97518e36508ea1c32b26d3b053a7cce | mips | qemu-8.1.1 | NOK | http://autobuild.buildroot.net/results/44c5b7c5815ed79213b7f34e8a0381f7d75a2dfc | powerpc64 | samba4-4.19.1 | NOK | http://autobuild.buildroot.net/results/1358b7c7768025e0dd4561e241c81ef762ede4a9 | s390x | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/b9685355b31b6c71ad248d4d3fa3d08bfed75369 | ORPH m68k | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/57f0bb17ba312a26a93f7f6494bebf0404685f37 | ORPH nios2 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/912e213237205fef529195471a42564abf6ed1b0 | ORPH i686 | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/fdde7226f7d00a379654146eb7b016c6b7980d87 | aarch64_be | strongswan-5.9.11 | NOK | http://autobuild.buildroot.net/results/9bc68b2ac0af79968874fce029a456d7d26eb6e9 | mips64el | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/2bc9adca486a120114b5368865161e5bb568ab04 | mips64el | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/2eaf3af9346e0a5299d9e381e41823aa1e5e978e | sparc64 | ulog-0389d243352255f6182326... | NOK | http://autobuild.buildroot.net/results/77dfc6352d722dbba83fd72b0e40a7d882060744 | mips | unknown | NOK | http://autobuild.buildroot.net/results/38ef832fd7ed201a7affd21fbc03662d153b9c49 | arc | unknown | NOK | http://autobuild.buildroot.net/results/28040b58c8bad807ccc1147074df60e872701aeb | aarch64_be | unknown | NOK | http://autobuild.buildroot.net/results/0ca6560c669a44d39e9fa25bfacef43e4c2b1f6e | m68k | unknown | NOK | http://autobuild.buildroot.net/results/38a61f62a8ad8d94b35750dc40352563a0ee8aa1 | microblazeel | unknown | NOK | http://autobuild.buildroot.net/results/2b8c6bc67d99dd7fb4874d80d477122ea92622b3 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/ef0e3effab557c380f50a8f64c23082fc5608fa2 | i686 | unknown | NOK | http://autobuild.buildroot.net/results/e0665006f1fe8d2b26a910014fd30746e828055e | arc | unknown | NOK | http://autobuild.buildroot.net/results/62be7800efa7a6217fe417afac55c99687fb0c07 | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/8405717c26a8d2969c80f3ba75285c564db6f48a | Classification of failures by reason for 2023.02.x -------------------------------------------------- gobject-introspection-1.72.0 | 1 host-go-1.20.10 | 1 linux-6.1.58 | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- s390x | gobject-introspection-1.72.0 | NOK | http://autobuild.buildroot.net/results/567584b54c1eee2b8e6ffd9907d07724bdcd9338 | ORPH mips64el | host-go-1.20.10 | NOK | http://autobuild.buildroot.net/results/73b508341aa0819f8a303bd239d9cbb686326973 | sh4 | linux-6.1.58 | NOK | http://autobuild.buildroot.net/results/09f9f839b6ea09a62d2e5dc88717c223c91914e6 | ORPH Classification of failures by reason for 2023.08.x -------------------------------------------------- elfutils-0.189 | 1 host-rust-1.71.1 | 1 systemd-254.5 | 1 unknown | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/d2d21993aefc25e070ca82113f39058ea78683ee | ORPH x86_64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/f8108247ecb1ff5e437ee481bc901beb203dff1b | nios2 | systemd-254.5 | NOK | http://autobuild.buildroot.net/results/73555d7c1450fddad9cf881802ed172fec805a34 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/3218b7f6276bfbc6bce08ef64caffb9549d99a07 | Gitlab CI results for 2023-10-27 ================================ Detail of defconfig failures for master --------------------------------------- defconfig | link to the job | orph? ----------------------------------+---------------------------------------------------------------+------ at91sam9x5ek_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622376 | at91sam9x5ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622385 | beaglebone_qt5 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622456 | beaglev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622465 | broadcom_northstar | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622478 | canaan_kd233 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622482 | freescale_imx8mpevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622538 | imx8mmpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622582 | imx8mn_bsh_smm_s2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622585 | imx8mpico | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622588 | imx8mqevk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622591 | kontron_pitx_imx8m | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622599 | microchip_mpfs_icicle | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622615 | microchip_sam9x60ek_mmc_dev | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622618 | octavo_osd32mp1_brk | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622685 | octavo_osd32mp1_red | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622686 | olimex_a64_olinuxino | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622740 | orangepi_lite2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622769 | orangepi_one_plus | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622777 | qemu_arm_ebbr | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622829 | qemu_m68k_mcf5208 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622842 | qemu_riscv64_nommu_virt | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622920 | qemu_sh4_r2d | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622932 | qemu_xtensa_lx60_nommu | https://gitlab.com/buildroot.org/buildroot/-/jobs/5378622950 | raspberrypi3_qt5we | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389164905 | ORPH sipeed_maix_bit | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389165746 | sipeed_maix_bit_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389165810 | sipeed_maix_dock | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389165851 | sipeed_maix_dock_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389165917 | sipeed_maix_go | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389166017 | sipeed_maix_go_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389166075 | sipeed_maixduino | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389166280 | sipeed_maixduino_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389166679 | snps_arc700_axs101 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167076 | snps_arc700_nsim | https://gitlab.com/buildroot.org/buildroot/-/jobs/5391013846 | socrates_cyclone5 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167416 | stm32mp157a_dk1 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167628 | stm32mp157c_dk2 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167644 | toradex_apalis_imx6 | https://gitlab.com/buildroot.org/buildroot/-/jobs/5389167753 | -- http://autobuild.buildroot.net From yegorslists at googlemail.com Sat Oct 28 10:24:35 2023 From: yegorslists at googlemail.com (yegorslists at googlemail.com) Date: Sat, 28 Oct 2023 12:24:35 +0200 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend Message-ID: <20231028102435.1771460-1-yegorslists@googlemail.com> From: Yegor Yefremov Since version 41.0.0, setuptools has an experimental PEP517 support. Signed-off-by: Yegor Yefremov --- package/pkg-python.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 28ee4cb85f..00f71f6b19 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) $(2)_DEPENDENCIES += host-python-setuptools-rust endif else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer host-python-setuptools ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core endif -- 2.34.1 From yegorslists at googlemail.com Sat Oct 28 10:30:47 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Sat, 28 Oct 2023 12:30:47 +0200 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend In-Reply-To: <20231028102435.1771460-1-yegorslists@googlemail.com> References: <20231028102435.1771460-1-yegorslists@googlemail.com> Message-ID: Hi all, On Sat, Oct 28, 2023 at 12:25?PM wrote: > > From: Yegor Yefremov > > Since version 41.0.0, setuptools has an experimental PEP517 support. > > Signed-off-by: Yegor Yefremov > --- > package/pkg-python.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 28ee4cb85f..00f71f6b19 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > $(2)_DEPENDENCIES += host-python-setuptools-rust > endif > else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer host-python-setuptools > ifeq ($$($(2)_SETUP_TYPE),flit) > $(2)_DEPENDENCIES += host-python-flit-core > endif This patch is more a workaround to convert such packages as python-tornado, python-configobj, etc. to PEP517 infrastructure. These packages just use a build-system section and otherwise rely on the setup.py file: [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" What is the plan to support this backend? Just use setuptools-rust or convert "_SETUP_TYPE=setuptools" to PEP517 after the introduction of Python 12.x? Regards, Yegor From james.hilliard1 at gmail.com Sat Oct 28 10:44:38 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sat, 28 Oct 2023 04:44:38 -0600 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend In-Reply-To: References: <20231028102435.1771460-1-yegorslists@googlemail.com> Message-ID: On Sat, Oct 28, 2023 at 4:31?AM Yegor Yefremov wrote: > Hi all, > > On Sat, Oct 28, 2023 at 12:25?PM wrote: > > > > From: Yegor Yefremov > > > > Since version 41.0.0, setuptools has an experimental PEP517 support. > > > > Signed-off-by: Yegor Yefremov > > --- > > package/pkg-python.mk | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > > index 28ee4cb85f..00f71f6b19 100644 > > --- a/package/pkg-python.mk > > +++ b/package/pkg-python.mk > > @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > > $(2)_DEPENDENCIES += host-python-setuptools-rust > > endif > > else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > > -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > > +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > host-python-setuptools > > ifeq ($$($(2)_SETUP_TYPE),flit) > > $(2)_DEPENDENCIES += host-python-flit-core > > endif > > This patch is more a workaround to convert such packages as > python-tornado, python-configobj, etc. to PEP517 infrastructure. These > packages just use a build-system section and otherwise rely on the > setup.py file: > Are these failing to build without PEP517 infrastructure for setuptools? > > [build-system] > requires = ["setuptools"] > build-backend = "setuptools.build_meta" > > What is the plan to support this backend? Just use setuptools-rust or > convert "_SETUP_TYPE=setuptools" to PEP517 after the introduction of > Python 12.x? > I already have a patch converting our setuptools infrastructure to PEP517: https://lore.kernel.org/buildroot/20230930152517.1077576-3-james.hilliard1 at gmail.com/ > > Regards, > Yegor > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bremenpl at gmail.com Sat Oct 28 14:41:08 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Sat, 28 Oct 2023 14:41:08 +0000 Subject: [Buildroot] Help with DTO Message-ID: Hi guys! In my free time I am working on this open HW/ SW project called BeagleNode: https://github.com/bremenpl/BeagleNodeHW The aim is for this device to be used in homes with Home Assistant to control various lights, switches or shades. It has 16x outputs and 16x inputs (can be 230 VAC driven), so its quite versatile. My goal was for it to be a drop in for electrical installations that are "Star" connected in the switchboards cabinets. So I have the HW and virgin working Buildroot image baked thanks to this tutorial . What I wanted to do next is to create a device tree overlay for all required GPIOs that would be compiled at kernel build time. But I am not sure how to do that... I need a total of 32 GPIO outputs (2 per relay) and 16 inputs controlled via both PRUs. I would appreciate all feedback regarding some pointers and sources on where I could learn this. Also, in case anyone is interested in contributing to this project- please let me know! -- ?ukasz Przenios?o -------------- next part -------------- An HTML attachment was scrubbed... URL: From fontaine.fabrice at gmail.com Sat Oct 28 15:14:45 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 17:14:45 +0200 Subject: [Buildroot] [PATCH 1/1] package/spirv-headers: needs C++ Message-ID: <20231028151445.10334-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since the addition of the package in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: CMake Error at /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/4b94edf6dee03e74ff53939aa228069cc6ba4292 Signed-off-by: Fabrice Fontaine --- package/spirv-headers/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in index fd20f301d4..e03a6ca1ee 100644 --- a/package/spirv-headers/Config.in +++ b/package/spirv-headers/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_SPIRV_HEADERS bool "spirv-headers" + depends on BR2_INSTALL_LIBSTDCPP help Machine-readable files for the SPIR-V Registry https://www.khronos.org/registry/spir-v + +comment "spirv-headers needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 15:34:47 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 17:34:47 +0200 Subject: [Buildroot] [PATCH 1/2] package/zchunk: add ZCHUNK_CPE_ID_VENDOR Message-ID: <20231028153448.142511-1-fontaine.fabrice@gmail.com> cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA Signed-off-by: Fabrice Fontaine --- package/zchunk/zchunk.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index fc91f90431..2acdaba3a1 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE +ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 15:34:48 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 17:34:48 +0200 Subject: [Buildroot] [PATCH 2/2] package/zchunk: security bump to version 1.3.2 In-Reply-To: <20231028153448.142511-1-fontaine.fabrice@gmail.com> References: <20231028153448.142511-1-fontaine.fabrice@gmail.com> Message-ID: <20231028153448.142511-2-fontaine.fabrice@gmail.com> - Drop patches (already in version) - tests can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 - docs can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, lib/dl/multipart.c, or lib/header.c. https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 2 - ...rgp-standalone-wrap-and-find_library.patch | 106 ------------------ ...002-zck-declare-write_data-as-static.patch | 34 ------ package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 3 +- 5 files changed, 3 insertions(+), 144 deletions(-) delete mode 100644 package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch delete mode 100644 package/zchunk/0002-zck-declare-write_data-as-static.patch diff --git a/.checkpackageignore b/.checkpackageignore index 894810bab1..7f12a9a3b4 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1540,8 +1540,6 @@ package/ympd/0002-added-forward-declarations.patch Upstream package/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch Upstream package/zabbix/0002-fix-build-with-libressl-3.5.0.patch Upstream package/zbar/0001-python-enum-fix-build-for-Python-3.11.patch Upstream -package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch Upstream -package/zchunk/0002-zck-declare-write_data-as-static.patch Upstream package/zic/0001-remove-dependency-check-on-version-file.patch Upstream package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch Upstream package/zip/0002-configure-Don-t-use-host-CPP.patch Upstream diff --git a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch b/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch deleted file mode 100644 index 6c9cdba3ad..0000000000 --- a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 473c97cda44b95f5cea08a0cdd566e602df564db Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Thu, 21 Apr 2022 14:24:01 -0600 -Subject: [PATCH] meson: fix argp-standalone wrap and find_library - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -473c97cda44b95f5cea08a0cdd566e602df564db] ---- - .github/workflows/main.yml | 27 --------------------------- - meson.build | 6 +++--- - subprojects/argp-standalone.wrap | 7 +++++++ - 3 files changed, 10 insertions(+), 30 deletions(-) - create mode 100644 subprojects/argp-standalone.wrap - -diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml -index c49806f..35667af 100644 ---- a/.github/workflows/main.yml -+++ b/.github/workflows/main.yml -@@ -35,25 +35,11 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - name: Install mamba - uses: mamba-org/provision-with-micromamba at main - with: - environment-file: .github/environment.yml - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- CALL micromamba activate zchunk_test_env -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir --prefix=%CONDA_PREFIX%\Library -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -@@ -75,11 +61,6 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - uses: actions/setup-python at v1 - with: - python-version: '3.x' -@@ -87,14 +68,6 @@ jobs: - - name: Install meson and ninja - run: pip install meson ninja - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -diff --git a/meson.build b/meson.build -index 1c6b32d..aa7dd25 100644 ---- a/meson.build -+++ b/meson.build -@@ -58,10 +58,10 @@ endif - - # argp-standalone dependency (if required) - if build_machine.system() == 'windows' or build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include \nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}') -- if fs.is_dir(join_paths([get_option('prefix'), 'include'])) -- inc += include_directories(join_paths([get_option('prefix'), 'include'])) -+ argplib = cc.find_library('argp', has_headers : ['argp.h'], required: false) -+ if not argplib.found() -+ argplib = dependency('argp-standalone') - endif -- argplib = cc.find_library('argp', dirs : join_paths([get_option('prefix'), 'lib'])) - else - argplib = dependency('', required : false) - endif -diff --git a/subprojects/argp-standalone.wrap b/subprojects/argp-standalone.wrap -new file mode 100644 -index 0000000..14c0b63 ---- /dev/null -+++ b/subprojects/argp-standalone.wrap -@@ -0,0 +1,7 @@ -+[wrap-git] -+directory = argp-standalone-1.4.1 -+url = https://github.com/argp-standalone/argp-standalone.git -+revision = 21855f34ec9997c37e1a08cd69497336513a5800 -+ -+[provide] -+dependency_names = argp-standalone --- -2.25.1 - diff --git a/package/zchunk/0002-zck-declare-write_data-as-static.patch b/package/zchunk/0002-zck-declare-write_data-as-static.patch deleted file mode 100644 index 3c48ab3d50..0000000000 --- a/package/zchunk/0002-zck-declare-write_data-as-static.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Wed, 4 May 2022 16:32:48 -0600 -Subject: [PATCH] zck: declare write_data as static - -This needs to be declared static to avoid a symbol conflict: -io.c:(.text+0xe8): multiple definition of `write_data'; src/zck.p/zck.c.o:zck.c:(.text+0x1f4): first defined here - -Fixes: - - http://autobuild.buildroot.net/results/225/22590a7038a40da3700d56c1f82f7dc74225702a - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc] ---- - src/zck.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/zck.c b/src/zck.c -index 7727479..83b2630 100644 ---- a/src/zck.c -+++ b/src/zck.c -@@ -159,7 +159,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) { - - static struct argp argp = {options, parse_opt, args_doc, doc}; - --void write_data(zckCtx *zck, char *data, ssize_t in_size) { -+static void write_data(zckCtx *zck, char *data, ssize_t in_size) { - if(zck_write(zck, data, in_size) < 0) { - LOG_ERROR("%s", zck_get_error(zck)); - exit(1); --- -2.25.1 - diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index fa097d4ae0..15103a9ea0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz +sha256 4d923d32af7db33f3c0a6655b258e857a2ca564912cf85ddce14e9b1b7d495bf zchunk-1.3.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 2acdaba3a1..39d51ac352 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,12 +4,13 @@ # ################################################################################ -ZCHUNK_VERSION = 1.2.2 +ZCHUNK_VERSION = 1.3.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES +ZCHUNK_CONF_OPTS = -Ddocs=false -Dtests=false ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) ZCHUNK_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 15:57:09 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 17:57:09 +0200 Subject: [Buildroot] [PATCH 1/1] package/atop: bump to version 2.9.0 Message-ID: <20231028155709.180474-1-fontaine.fabrice@gmail.com> https://www.atoptool.nl/downloadatop.php Signed-off-by: Fabrice Fontaine --- package/atop/atop.hash | 2 +- package/atop/atop.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/atop/atop.hash b/package/atop/atop.hash index e42354739a..0b7ee061dd 100644 --- a/package/atop/atop.hash +++ b/package/atop/atop.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 3b002cb9774a7d6b3e820451773ae5e909b5e725738c6f375f14d1c1976d9fba atop-2.8.0.tar.gz +sha256 8d82f211b712a227000ef254c0a2b53bcb71235bf40d93316acce80b04bff926 atop-2.9.0.tar.gz # Hash for license file: sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/atop/atop.mk b/package/atop/atop.mk index 04a554b474..6a0ff3a0d1 100644 --- a/package/atop/atop.mk +++ b/package/atop/atop.mk @@ -4,7 +4,7 @@ # ################################################################################ -ATOP_VERSION = 2.8.0 +ATOP_VERSION = 2.9.0 ATOP_SITE = http://www.atoptool.nl/download ATOP_LICENSE = GPL-2.0+ ATOP_LICENSE_FILES = COPYING -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 16:12:44 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 18:12:44 +0200 Subject: [Buildroot] [PATCH 1/1] package/tiff: security bump to version 4.6.0 Message-ID: <20231028161244.221857-1-fontaine.fabrice@gmail.com> - Drop --without-x (now unrecognized) - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. - Fix CVE-2023-41175: A vulnerability was found in libtiff due to multiple potential integer overflows in raw2tiff.c. This flaw allows remote attackers to cause a denial of service or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html Signed-off-by: Fabrice Fontaine --- package/tiff/tiff.hash | 2 +- package/tiff/tiff.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/tiff/tiff.hash b/package/tiff/tiff.hash index 0fa503a02a..3aae7dc4d5 100644 --- a/package/tiff/tiff.hash +++ b/package/tiff/tiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b tiff-4.5.1.tar.gz +sha256 88b3979e6d5c7e32b50d7ec72fb15af724f6ab2cbf7e10880c360a77e4b5d99a tiff-4.6.0.tar.gz sha256 0780558a8bfba0af1160ec1ff11ade4f41c0d7deafd6ecfc796b492a788e380d LICENSE.md diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 0006f461a0..e384e8b814 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIFF_VERSION = 4.5.1 +TIFF_VERSION = 4.6.0 TIFF_SITE = http://download.osgeo.org/libtiff TIFF_LICENSE = tiff license TIFF_LICENSE_FILES = LICENSE.md @@ -17,14 +17,12 @@ TIFF_INSTALL_STAGING = YES TIFF_CONF_OPTS = \ --disable-contrib \ --disable-tests \ - --disable-webp \ - --without-x + --disable-webp TIFF_DEPENDENCIES = host-pkgconf HOST_TIFF_CONF_OPTS = \ --disable-cxx \ - --without-x \ --disable-zlib \ --disable-libdeflate \ --disable-lzma \ -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 16:21:20 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 18:21:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/dracut: bump to version 059 Message-ID: <20231028162120.260832-1-fontaine.fabrice@gmail.com> https://github.com/dracutdevs/dracut/blob/059/NEWS.md Signed-off-by: Fabrice Fontaine --- package/dracut/dracut.hash | 2 +- package/dracut/dracut.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/dracut/dracut.hash b/package/dracut/dracut.hash index 34db6af23b..6ca352c542 100644 --- a/package/dracut/dracut.hash +++ b/package/dracut/dracut.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 24f149d683d188c0d25756529b7d1e5cd6be8028e0c1043110f303d0d706757d dracut-057.tar.gz +sha256 eabf0bb685420c1e1d5475b6855ef787104508f0135ff570312845256e0fcecf dracut-059.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/dracut/dracut.mk b/package/dracut/dracut.mk index 3eb9bcc474..1de11d208d 100644 --- a/package/dracut/dracut.mk +++ b/package/dracut/dracut.mk @@ -4,7 +4,7 @@ # ################################################################################ -DRACUT_VERSION = 057 +DRACUT_VERSION = 059 DRACUT_SITE = $(call github,dracutdevs,dracut,$(DRACUT_VERSION)) DRACUT_LICENSE = GPL-2.0 DRACUT_LICENSE_FILES = COPYING -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 16:42:29 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 18:42:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/powerpc-utils: bump to version 1.3.11 Message-ID: <20231028164229.550018-1-fontaine.fabrice@gmail.com> https://github.com/ibm-power-utilities/powerpc-utils/blob/v1.3.11/Changelog Signed-off-by: Fabrice Fontaine --- package/powerpc-utils/powerpc-utils.hash | 2 +- package/powerpc-utils/powerpc-utils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/powerpc-utils/powerpc-utils.hash b/package/powerpc-utils/powerpc-utils.hash index b3c77fb223..32387014cc 100644 --- a/package/powerpc-utils/powerpc-utils.hash +++ b/package/powerpc-utils/powerpc-utils.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d64d9016a3e63a1e44c6e0833742cf964ae6bb1c6a9c7f0c7c5748aa335dc3db powerpc-utils-1.3.10.tar.gz +sha256 6bb16078068d8b889afdd78927d2f061702ef155e57fc548ae573e2b0b90ca13 powerpc-utils-1.3.11.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/powerpc-utils/powerpc-utils.mk b/package/powerpc-utils/powerpc-utils.mk index 19fa84946c..8d5491133b 100644 --- a/package/powerpc-utils/powerpc-utils.mk +++ b/package/powerpc-utils/powerpc-utils.mk @@ -4,7 +4,7 @@ # ################################################################################ -POWERPC_UTILS_VERSION = 1.3.10 +POWERPC_UTILS_VERSION = 1.3.11 POWERPC_UTILS_SITE = $(call github,ibm-power-utilities,powerpc-utils,v$(POWERPC_UTILS_VERSION)) POWERPC_UTILS_DEPENDENCIES = zlib numactl POWERPC_UTILS_AUTORECONF = YES -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 16:51:24 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 18:51:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/avrdude: bump to version 7.2 Message-ID: <20231028165124.594087-1-fontaine.fabrice@gmail.com> https://github.com/avrdudes/avrdude/blob/v7.2/NEWS Signed-off-by: Fabrice Fontaine --- package/avrdude/avrdude.hash | 2 +- package/avrdude/avrdude.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/avrdude/avrdude.hash b/package/avrdude/avrdude.hash index 5910a568db..cb34e6b6f9 100644 --- a/package/avrdude/avrdude.hash +++ b/package/avrdude/avrdude.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 016a5c95746fadc169cfb3009f6aa306ccdea2ff279fdb6fddcbe7526d84e5eb avrdude-7.1.tar.gz +sha256 beb4e0b0a07f8d47e550329ab93c345d5252350de6f833afde51b4d8bd934674 avrdude-7.2.tar.gz sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 COPYING diff --git a/package/avrdude/avrdude.mk b/package/avrdude/avrdude.mk index 8ebe33b372..89637d4ca6 100644 --- a/package/avrdude/avrdude.mk +++ b/package/avrdude/avrdude.mk @@ -4,7 +4,7 @@ # ################################################################################ -AVRDUDE_VERSION = 7.1 +AVRDUDE_VERSION = 7.2 AVRDUDE_SITE = $(call github,avrdudes,avrdude,v$(AVRDUDE_VERSION)) AVRDUDE_LICENSE = GPL-2.0+ AVRDUDE_LICENSE_FILES = COPYING -- 2.42.0 From bonet at grenoble.cnrs.fr Sat Oct 28 18:58:38 2023 From: bonet at grenoble.cnrs.fr (Edgar Bonet) Date: Sat, 28 Oct 2023 20:58:38 +0200 Subject: [Buildroot] Help with DTO In-Reply-To: References: Message-ID: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Hello! ?ukasz Przenios?o wrote, about the BeagleBone: > So I have the HW and virgin working Buildroot image baked thanks to > this tutorial. > (https://blog.billvanleeuwen.ca/creating-a-minimal-linux-system-for-the-beaglebone-black-with-buildroot) This tutorial walks you through a manual configuration. Note that Buildroot ships a ready-made configuration you can use: make beaglebone_defconfig # load the ready-made defconfig make menuconfig # if you want to tweak it make > What I wanted to do next is to create a device tree overlay for all > required GPIOs that would be compiled at kernel build time. I do not understand why you need a device tree overlay. The tutorial gets you a kernel together with the am335x-boneblack device tree. This device tree already defines four GPIO chips. Can't you see them? Try ls /dev/gpiochip* If you want to play with the GPIOs, I suggest you install the tools that come with libgpiod: in Target packages / Libraries / Hardware handling, select ?libgpiod?, then ?install tools?. Then, on the booted system, type gpiodetect gpioinfo You should see all the available GPIO chips, then all the GPIO lines. Regards, Edgar. From yann.morin.1998 at free.fr Sat Oct 28 19:30:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:52 +0200 Subject: [Buildroot] [PATCH] Config.in: default to HTTPS for s.b.n backup site In-Reply-To: <20231027121252.1855024-1-peter@korsgaard.com> References: <20231027121252.1855024-1-peter@korsgaard.com> Message-ID: <20231028193052.GD2582@scaer> Peter, All, On 2023-10-27 14:12 +0200, Peter Korsgaard spake thusly: > Now that we have HTTPS support for sources.buildroot.net (through Lets > encrypt / Cloudflare), it makes sense to default to it for our backup site. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > Config.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Config.in b/Config.in > index dbcca4c55a..556b6c2575 100644 > --- a/Config.in > +++ b/Config.in > @@ -241,7 +241,7 @@ if !BR2_PRIMARY_SITE_ONLY > > config BR2_BACKUP_SITE > string "Backup download site" > - default "http://sources.buildroot.net" > + default "https://sources.buildroot.net" > help > Backup site to download from. If this option is set then > buildroot will fall back to download package sources from here > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:31:13 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:31:13 +0200 Subject: [Buildroot] [PATCH 1/2] package/aufs: use HTTPS for git.code.sf.net In-Reply-To: <20231027122551.1856719-1-peter@korsgaard.com> References: <20231027122551.1856719-1-peter@korsgaard.com> Message-ID: <20231028193113.GE2582@scaer> Petr, All, On 2023-10-27 14:25 +0200, Peter Korsgaard spake thusly: > git.code.sf.net is available over HTTPS, so use that for security and > consistency with the other packages. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/aufs/aufs.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk > index 4e95a350a0..d00e7a1a21 100644 > --- a/package/aufs/aufs.mk > +++ b/package/aufs/aufs.mk > @@ -9,7 +9,7 @@ AUFS_LICENSE = GPL-2.0 > AUFS_LICENSE_FILES = COPYING > > ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) > -AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone > +AUFS_SITE = https://git.code.sf.net/p/aufs/aufs3-standalone > AUFS_SITE_METHOD = git > else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4) > AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:32:18 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:32:18 +0200 Subject: [Buildroot] [PATCH 2/2] package/aufs-util: use HTTPS for git.code.sf.net In-Reply-To: <20231027122551.1856719-2-peter@korsgaard.com> References: <20231027122551.1856719-1-peter@korsgaard.com> <20231027122551.1856719-2-peter@korsgaard.com> Message-ID: <20231028193218.GF2582@scaer> Peter, All, On 2023-10-27 14:25 +0200, Peter Korsgaard spake thusly: > git.code.sf.net is available over HTTPS, so use that for security and > consistency with the other packages. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/aufs-util/aufs-util.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk > index d954f02958..32f3bca151 100644 > --- a/package/aufs-util/aufs-util.mk > +++ b/package/aufs-util/aufs-util.mk > @@ -6,7 +6,7 @@ > > # linux-headers > AUFS_UTIL_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_UTIL_VERSION)) > -AUFS_UTIL_SITE = http://git.code.sf.net/p/aufs/aufs-util > +AUFS_UTIL_SITE = https://git.code.sf.net/p/aufs/aufs-util > AUFS_UTIL_SITE_METHOD = git > AUFS_UTIL_LICENSE = GPL-2.0 > AUFS_UTIL_LICENSE_FILES = COPYING > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:32:50 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:32:50 +0200 Subject: [Buildroot] [PATCH] package/dfu-programmer: bump version to 1.1.0 In-Reply-To: <20231027130738.1939583-1-peter@korsgaard.com> References: <20231027130738.1939583-1-peter@korsgaard.com> Message-ID: <20231028193250.GG2582@scaer> Peter, All, On 2023-10-27 15:07 +0200, Peter Korsgaard spake thusly: > The update-bash-completion.sh issue is now fixed, so remove the workaround: > > https://github.com/dfu-programmer/dfu-programmer/pull/91 > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/dfu-programmer/dfu-programmer.hash | 2 +- > package/dfu-programmer/dfu-programmer.mk | 10 +--------- > 2 files changed, 2 insertions(+), 10 deletions(-) > > diff --git a/package/dfu-programmer/dfu-programmer.hash b/package/dfu-programmer/dfu-programmer.hash > index afa1d97aed..7260dfce0d 100644 > --- a/package/dfu-programmer/dfu-programmer.hash > +++ b/package/dfu-programmer/dfu-programmer.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 867eaf0a8cd10123715491807ab99cecb54dc6f09dddade4b2a42b0b0ef9e6b0 dfu-programmer-1.0.0.tar.gz > +sha256 844e469be559657bc52c9d9d03c30846acd11ffbb1ddd42438fa8af1d2b8587d dfu-programmer-1.1.0.tar.gz > sha256 d8fb44c26fecbb2b8a368a6c0ed4f5478a401fab03744325407736a80383af76 COPYING > diff --git a/package/dfu-programmer/dfu-programmer.mk b/package/dfu-programmer/dfu-programmer.mk > index 707e143eb3..4e5f2299d6 100644 > --- a/package/dfu-programmer/dfu-programmer.mk > +++ b/package/dfu-programmer/dfu-programmer.mk > @@ -4,20 +4,12 @@ > # > ################################################################################ > > -DFU_PROGRAMMER_VERSION = 1.0.0 > +DFU_PROGRAMMER_VERSION = 1.1.0 > DFU_PROGRAMMER_SITE = https://github.com/dfu-programmer/dfu-programmer/releases/download/v$(DFU_PROGRAMMER_VERSION) > DFU_PROGRAMMER_LICENSE = GPL-2.0+ > DFU_PROGRAMMER_LICENSE_FILES = COPYING > DFU_PROGRAMMER_DEPENDENCIES = libusb > > -# No update-bash-completion.sh in tarball. Fix sent upstream: > -# https://github.com/dfu-programmer/dfu-programmer/pull/91 > -define DFU_PROGRAMMER_ADD_MISSING_FILE > - ln -s /bin/true $(@D)/update-bash-completion.sh > -endef > - > -DFU_PROGRAMMER_POST_PATCH_HOOKS == DFU_PROGRAMMER_ADD_MISSING_FILE > - > ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) > DFU_PROGRAMMER_CONF_OPTS += LIBS=-latomic > endif > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:33:08 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:33:08 +0200 Subject: [Buildroot] [PATCH] package/riscv64-elf-toolchain: add .hash file In-Reply-To: <20231027084159.1841045-1-peter@korsgaard.com> References: <20231027084159.1841045-1-peter@korsgaard.com> Message-ID: <20231028193308.GH2582@scaer> Peter, All, On 2023-10-27 10:41 +0200, Peter Korsgaard spake thusly: > The host-riscv64-elf-toolchain package was missing a hash file, add it now. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash | 2 ++ > 1 file changed, 2 insertions(+) > create mode 100644 package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash > > diff --git a/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash > new file mode 100644 > index 0000000000..9f40da0941 > --- /dev/null > +++ b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash > @@ -0,0 +1,2 @@ > +# Locally calculated > +sha256 de2bb188300dc38d74103516ce5cfd1060dfd105e8a408e9e3991512cf27285e riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-centos6.tar.gz > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 19:30:18 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:18 +0200 Subject: [Buildroot] [git commit] Config.in: default to HTTPS for s.b.n backup site Message-ID: <20231028193446.BD3EA85EFA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=05296ced369bab8877efa624f3d9b4d201ba5b38 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Now that we have HTTPS support for sources.buildroot.net (through Lets encrypt / Cloudflare), it makes sense to default to it for our backup site. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config.in b/Config.in index dbcca4c55a..556b6c2575 100644 --- a/Config.in +++ b/Config.in @@ -241,7 +241,7 @@ if !BR2_PRIMARY_SITE_ONLY config BR2_BACKUP_SITE string "Backup download site" - default "http://sources.buildroot.net" + default "https://sources.buildroot.net" help Backup site to download from. If this option is set then buildroot will fall back to download package sources from here From yann.morin.1998 at free.fr Sat Oct 28 19:30:12 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:12 +0200 Subject: [Buildroot] [git commit] package/riscv64-elf-toolchain: add .hash file Message-ID: <20231028193446.A931785EFB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf2dcaa1ecede670a0bc54841652a0e3bea5c744 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The host-riscv64-elf-toolchain package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash new file mode 100644 index 0000000000..9f40da0941 --- /dev/null +++ b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 de2bb188300dc38d74103516ce5cfd1060dfd105e8a408e9e3991512cf27285e riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-centos6.tar.gz From yann.morin.1998 at free.fr Sat Oct 28 19:30:30 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:30 +0200 Subject: [Buildroot] [git commit] package/aufs-util: use HTTPS for git.code.sf.net Message-ID: <20231028193446.D4F9A85EFC@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=99d525028f969220719a4e6bcd694f7d9cfd5b67 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/aufs-util/aufs-util.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index d954f02958..32f3bca151 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -6,7 +6,7 @@ # linux-headers AUFS_UTIL_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_UTIL_VERSION)) -AUFS_UTIL_SITE = http://git.code.sf.net/p/aufs/aufs-util +AUFS_UTIL_SITE = https://git.code.sf.net/p/aufs/aufs-util AUFS_UTIL_SITE_METHOD = git AUFS_UTIL_LICENSE = GPL-2.0 AUFS_UTIL_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sat Oct 28 19:30:24 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:24 +0200 Subject: [Buildroot] [git commit] package/aufs: use HTTPS for git.code.sf.net Message-ID: <20231028193446.C9C9285F05@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f2a590750f5bedcee48ce7beb8f35356b42eda11 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/aufs/aufs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk index 4e95a350a0..d00e7a1a21 100644 --- a/package/aufs/aufs.mk +++ b/package/aufs/aufs.mk @@ -9,7 +9,7 @@ AUFS_LICENSE = GPL-2.0 AUFS_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) -AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone +AUFS_SITE = https://git.code.sf.net/p/aufs/aufs3-standalone AUFS_SITE_METHOD = git else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4) AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) From yann.morin.1998 at free.fr Sat Oct 28 19:30:36 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 21:30:36 +0200 Subject: [Buildroot] [git commit] package/dfu-programmer: bump version to 1.1.0 Message-ID: <20231028193446.E035D85F16@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ecce7bf95a8a5febbbe1d22563a079326bbf1ea4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The update-bash-completion.sh issue is now fixed, so remove the workaround: https://github.com/dfu-programmer/dfu-programmer/pull/91 Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/dfu-programmer/dfu-programmer.hash | 2 +- package/dfu-programmer/dfu-programmer.mk | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/package/dfu-programmer/dfu-programmer.hash b/package/dfu-programmer/dfu-programmer.hash index afa1d97aed..7260dfce0d 100644 --- a/package/dfu-programmer/dfu-programmer.hash +++ b/package/dfu-programmer/dfu-programmer.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 867eaf0a8cd10123715491807ab99cecb54dc6f09dddade4b2a42b0b0ef9e6b0 dfu-programmer-1.0.0.tar.gz +sha256 844e469be559657bc52c9d9d03c30846acd11ffbb1ddd42438fa8af1d2b8587d dfu-programmer-1.1.0.tar.gz sha256 d8fb44c26fecbb2b8a368a6c0ed4f5478a401fab03744325407736a80383af76 COPYING diff --git a/package/dfu-programmer/dfu-programmer.mk b/package/dfu-programmer/dfu-programmer.mk index 707e143eb3..4e5f2299d6 100644 --- a/package/dfu-programmer/dfu-programmer.mk +++ b/package/dfu-programmer/dfu-programmer.mk @@ -4,20 +4,12 @@ # ################################################################################ -DFU_PROGRAMMER_VERSION = 1.0.0 +DFU_PROGRAMMER_VERSION = 1.1.0 DFU_PROGRAMMER_SITE = https://github.com/dfu-programmer/dfu-programmer/releases/download/v$(DFU_PROGRAMMER_VERSION) DFU_PROGRAMMER_LICENSE = GPL-2.0+ DFU_PROGRAMMER_LICENSE_FILES = COPYING DFU_PROGRAMMER_DEPENDENCIES = libusb -# No update-bash-completion.sh in tarball. Fix sent upstream: -# https://github.com/dfu-programmer/dfu-programmer/pull/91 -define DFU_PROGRAMMER_ADD_MISSING_FILE - ln -s /bin/true $(@D)/update-bash-completion.sh -endef - -DFU_PROGRAMMER_POST_PATCH_HOOKS == DFU_PROGRAMMER_ADD_MISSING_FILE - ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) DFU_PROGRAMMER_CONF_OPTS += LIBS=-latomic endif From fontaine.fabrice at gmail.com Sat Oct 28 19:41:19 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 21:41:19 +0200 Subject: [Buildroot] [PATCH 1/1] package/rabbitmq-c: fix CVE-2023-35789 Message-ID: <20231028194119.987835-1-fontaine.fabrice@gmail.com> An issue was discovered in the C AMQP client library (aka rabbitmq-c) through 0.13.0 for RabbitMQ. Credentials can only be entered on the command line (e.g., for amqp-publish or amqp-consume) and are thus visible to local attackers by listing a process and its arguments. Signed-off-by: Fabrice Fontaine --- ...-to-read-username-password-from-file.patch | 130 ++++++++++++++++++ package/rabbitmq-c/rabbitmq-c.mk | 3 + 2 files changed, 133 insertions(+) create mode 100644 package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch diff --git a/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch new file mode 100644 index 0000000000..347063cfb3 --- /dev/null +++ b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch @@ -0,0 +1,130 @@ +From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001 +From: Christian Kastner +Date: Tue, 13 Jun 2023 14:21:52 +0200 +Subject: [PATCH] Add option to read username/password from file (#781) + +* Add option to read username/password from file + +Upstream: https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 +Signed-off-by: Fabrice Fontaine +--- + tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + +diff --git a/tools/common.c b/tools/common.c +index 73b47e25..7efe557b 100644 +--- a/tools/common.c ++++ b/tools/common.c +@@ -18,6 +18,11 @@ + #include "compat.h" + #endif + ++/* For when reading auth data from a file */ ++#define MAXAUTHTOKENLEN 128 ++#define USERNAMEPREFIX "username:" ++#define PASSWORDPREFIX "password:" ++ + void die(const char *fmt, ...) { + va_list ap; + va_start(ap, fmt); +@@ -125,6 +130,7 @@ static char *amqp_vhost; + static char *amqp_username; + static char *amqp_password; + static int amqp_heartbeat = 0; ++static char *amqp_authfile; + #ifdef WITH_SSL + static int amqp_ssl = 0; + static char *amqp_cacert = "/etc/ssl/certs/cacert.pem"; +@@ -147,6 +153,8 @@ struct poptOption connect_options[] = { + "the password to login with", "password"}, + {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0, + "heartbeat interval, set to 0 to disable", "heartbeat"}, ++ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0, ++ "path to file containing username/password for authentication", "file"}, + #ifdef WITH_SSL + {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL}, + {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0, +@@ -158,6 +166,50 @@ struct poptOption connect_options[] = { + #endif /* WITH_SSL */ + {NULL, '\0', 0, NULL, 0, NULL, NULL}}; + ++void read_authfile(const char *path) { ++ size_t n; ++ FILE *fp = NULL; ++ char token[MAXAUTHTOKENLEN]; ++ ++ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL || ++ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) { ++ die("Out of memory"); ++ } else if ((fp = fopen(path, "r")) == NULL) { ++ die("Could not read auth data file %s", path); ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) { ++ die("Malformed auth file (missing username)"); ++ } ++ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_username); ++ if (amqp_username[n - 1] != '\n') { ++ die("Username too long"); ++ } else { ++ amqp_username[n - 1] = '\0'; ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) { ++ die("Malformed auth file (missing password)"); ++ } ++ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_password); ++ if (amqp_password[n - 1] != '\n') { ++ die("Password too long"); ++ } else { ++ amqp_password[n - 1] = '\0'; ++ } ++ ++ (void)fgetc(fp); ++ if (!feof(fp)) { ++ die("Malformed auth file (trailing data)"); ++ } ++} ++ + static void init_connection_info(struct amqp_connection_info *ci) { + ci->user = NULL; + ci->password = NULL; +@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_username) { + if (amqp_url) { + die("--username and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--username and --authfile options cannot be used at the same time"); + } + + ci->user = amqp_username; +@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_password) { + if (amqp_url) { + die("--password and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--password and --authfile options cannot be used at the same time"); + } + + ci->password = amqp_password; + } + ++ if (amqp_authfile) { ++ if (amqp_url) { ++ die("--authfile and --url options cannot be used at the same time"); ++ } ++ ++ read_authfile(amqp_authfile); ++ ci->user = amqp_username; ++ ci->password = amqp_password; ++ } ++ + if (amqp_vhost) { + if (amqp_url) { + die("--vhost and --url options cannot be used at the same time"); diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index 18ecaa3098..fad6655e4e 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -14,6 +14,9 @@ RABBITMQ_C_CONF_OPTS = \ -DBUILD_API_DOCS=OFF \ -DBUILD_TOOLS_DOCS=OFF +# 0001-Add-option-to-read-username-password-from-file.patch +RABBITMQ_C_IGNORE_CVES += CVE-2023-35789 + # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable ifeq ($(BR2_SHARED_STATIC_LIBS),y) RABBITMQ_C_CONF_OPTS += -DBUILD_STATIC_LIBS=ON -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 19:44:47 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 21:44:47 +0200 Subject: [Buildroot] [PATCH 1/1] package/cryptopp: bump to version 8.9.0 Message-ID: <20231028194447.989851-1-fontaine.fabrice@gmail.com> - Drop patch (already in version) - Update hash of License.txt (minor updates with: https://github.com/weidai11/cryptopp/commit/bc2c8423a1d8a193dcf1e5706c124587f9491b7f https://github.com/weidai11/cryptopp/commit/b418f93483562f1b59d0ba963dcdcc16b6a6a793 https://github.com/weidai11/cryptopp/commit/2bce06d5dbd3f53ebfcff44eef467667e44d8839) https://www.cryptopp.com/release890.html https://www.cryptopp.com/release880.html https://www.cryptopp.com/release870.html Signed-off-by: Fabrice Fontaine --- ...e-add-missing-shared-library-symlink.patch | 62 ------------------- package/cryptopp/cryptopp.hash | 6 +- package/cryptopp/cryptopp.mk | 2 +- 3 files changed, 4 insertions(+), 66 deletions(-) delete mode 100644 package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch diff --git a/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch b/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch deleted file mode 100644 index 5f87414d53..0000000000 --- a/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch +++ /dev/null @@ -1,62 +0,0 @@ -From e4c2e3bc8174f24cf63923619f5d06d85b84ae1d Mon Sep 17 00:00:00 2001 -From: Kamel Bouhara -Date: Fri, 7 Jan 2022 22:59:23 +0100 -Subject: [PATCH] GNUmakefile: add missing shared library symlink - -The GNUmakefile install-lib target currently installs the following -symlink: - - libcryptopp.so -> libcryptopp.so.8.6.0 - -However, it does not create the following symlink: - - libcryptopp.so.8 -> libcryptopp.so.8.6.0 - -This symlink is necessary at runtime because libcryptopp.so.8 is the -SONAME of the cryptopp library, and therefore this is what the dynamic -loader will search when starting a program that is linked against -cryptopp. - -For native compilation, the 'ldconfig' invocation that immediately -follows will create that symlink, so everything works. - -For cross-compilation however, ldconfig can't be used, and therefore -LDCONFIG is passed as /bin/true, and therefore it doesn't create the -symlink. So instead, create it directly inside the GNUmakefile, -without relying on ldconfig. - -Upstream: https://github.com/weidai11/cryptopp/pull/1101 -Signed-off-by: Kamel Bouhara -Signed-off-by: Thomas Petazzoni ---- - GNUmakefile | 1 + - GNUmakefile-cross | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/GNUmakefile b/GNUmakefile -index 23273edb..3b55e420 100644 ---- a/GNUmakefile -+++ b/GNUmakefile -@@ -1412,6 +1412,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) - $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) - ifeq ($(HAS_SOLIB_VERSION),1) - -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so -+ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) - $(LDCONF) $(DESTDIR)$(LIBDIR) - endif - endif -diff --git a/GNUmakefile-cross b/GNUmakefile-cross -index 9847f04b..a2b87e4a 100644 ---- a/GNUmakefile-cross -+++ b/GNUmakefile-cross -@@ -856,6 +856,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) - $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) - ifeq ($(HAS_SOLIB_VERSION),1) - -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so -+ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) - $(LDCONF) $(DESTDIR)$(LIBDIR) - endif - endif --- -2.33.1 - diff --git a/package/cryptopp/cryptopp.hash b/package/cryptopp/cryptopp.hash index 9a113b8f04..a7bc578da4 100644 --- a/package/cryptopp/cryptopp.hash +++ b/package/cryptopp/cryptopp.hash @@ -1,5 +1,5 @@ -# Hash from: https://www.cryptopp.com/release860.html: -sha512 e7773f5e4a7dc7e8e735b1702524bee56ba38e5211544c9c9778bc51ed8dc7b376c17f2e406410043b636312336f26f76dc963f298872f8c13933e88c232fc03 cryptopp860.zip +# Hash from: https://www.cryptopp.com/release890.html: +sha512 903970c4c0312272e93bae0cc3477be66b273dd38c9329fda9f7157ec44e247a3bc16b9d2b4ad625f258af0eaf2dc2c4210d4d14829b455f180983859a5c4b41 cryptopp890.zip # Hash for license file: -sha256 e668af8c73a38a66a1e8951d14ec24e7582fee5254dd6c3dae488a416d105d5f License.txt +sha256 78e4010b682cb94187fe0b57e50116d0ba271ef81104d1ddb35c80c3d81e3169 License.txt diff --git a/package/cryptopp/cryptopp.mk b/package/cryptopp/cryptopp.mk index 87d6fba237..a538f8c17d 100644 --- a/package/cryptopp/cryptopp.mk +++ b/package/cryptopp/cryptopp.mk @@ -4,7 +4,7 @@ # ################################################################################ -CRYPTOPP_VERSION = 8.6.0 +CRYPTOPP_VERSION = 8.9.0 CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip CRYPTOPP_SITE = https://cryptopp.com CRYPTOPP_LICENSE = BSL-1.0, BSD-3-Clause (CRYPTOGAMS), Public domain (ChaCha SSE2 and AVX) -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:00:24 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:00:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-urllib3: security bump to version 2.0.7 Message-ID: <20231028200024.1054270-1-fontaine.fabrice@gmail.com> Fix CVE-2023-43804 and CVE-2023-45803 https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 https://github.com/urllib3/urllib3/blob/2.0.7/CHANGES.rst Signed-off-by: Fabrice Fontaine --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2da7abdf29..209cfe277e 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 5d541b944febe50221e24c31cd6e887d urllib3-2.0.4.tar.gz -sha256 8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11 urllib3-2.0.4.tar.gz +md5 5a264ef3ae827e5842bbc80536a343dd urllib3-2.0.7.tar.gz +sha256 c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 urllib3-2.0.7.tar.gz # Locally computed sha256 checksums sha256 130e3a64d5fdd5d096a752694634a7d9df284469de86e5732100268041e3d686 LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index 7ff58d9a4a..ba041082db 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 2.0.4 +PYTHON_URLLIB3_VERSION = 2.0.7 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/31/ab/46bec149bbd71a4467a3063ac22f4486ecd2ceb70ae8c70d5d8e4c2a7946 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/af/47/b215df9f71b4fdba1025fc05a77db2ad243fa0926755a52c5e71659f4e3c PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:08:48 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:08:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/x11r7/xlib_libXpm: security bump to version 3.5.17 Message-ID: <20231028200848.1134223-1-fontaine.fabrice@gmail.com> Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003425.html Signed-off-by: Fabrice Fontaine --- package/x11r7/xlib_libXpm/xlib_libXpm.hash | 6 +++--- package/x11r7/xlib_libXpm/xlib_libXpm.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.hash b/package/x11r7/xlib_libXpm/xlib_libXpm.hash index a041f0d440..3582169891 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.hash +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.hash @@ -1,6 +1,6 @@ -# From https://lists.x.org/archives/xorg-announce/2023-April/003385.html -sha256 e6bc5da7a69dbd9bcc67e87c93d4904fe2f5177a0711c56e71fa2f6eff649f51 libXpm-3.5.16.tar.xz -sha512 ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2 libXpm-3.5.16.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003425.html +sha256 64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43 libXpm-3.5.17.tar.xz +sha512 52f9d2664a47a26c1a6ad65d18867de870b66947b0b0d99cca3512756a0aaa6ce2a245c0b49f20b70c3ce48bf04c47c333e8119a147465c277bca727f6ab017e libXpm-3.5.17.tar.xz # Locally calculated sha256 a80d706759624a04aa90fd62bc644a360fc3d72e08dcbfb129f167c11ca285de COPYING sha256 cbe4ced0abc8a32bea471204ae01038c202758ce4e772d3d329a341ffa761e71 COPYRIGHT diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk index 51f6283370..0bba3ea946 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.mk +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBXPM_VERSION = 3.5.16 +XLIB_LIBXPM_VERSION = 3.5.17 XLIB_LIBXPM_SOURCE = libXpm-$(XLIB_LIBXPM_VERSION).tar.xz XLIB_LIBXPM_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBXPM_LICENSE = MIT -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:14:13 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:14:13 +0200 Subject: [Buildroot] [PATCH 1/1] package/x11r7/xlib_libX11: security bump to version 1.8.7 Message-ID: <20231028201413.1160957-1-fontaine.fabrice@gmail.com> Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003426.html Signed-off-by: Fabrice Fontaine --- package/x11r7/xlib_libX11/xlib_libX11.hash | 6 +++--- package/x11r7/xlib_libX11/xlib_libX11.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libX11/xlib_libX11.hash b/package/x11r7/xlib_libX11/xlib_libX11.hash index f443d947a4..56fecee9ff 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.hash +++ b/package/x11r7/xlib_libX11/xlib_libX11.hash @@ -1,5 +1,5 @@ -# From https://lists.x.org/archives/xorg-announce/2023-June/003407.html -sha256 59535b7cc6989ba806a022f7e8533b28c4397b9d86e9d07b6df0c0703fa25cc9 libX11-1.8.6.tar.xz -sha512 b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade libX11-1.8.6.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003426.html +sha256 05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee libX11-1.8.7.tar.xz +sha512 d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 libX11-1.8.7.tar.xz # Locally computed sha256 2e7012a140f000735a7172674a2d314398d79622444fba65d108b029b29ab283 COPYING diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk index 75199f1a3d..920a5d9aed 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.mk +++ b/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBX11_VERSION = 1.8.6 +XLIB_LIBX11_VERSION = 1.8.7 XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.xz XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBX11_LICENSE = MIT -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:32:52 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:32:52 +0200 Subject: [Buildroot] [PATCH 1/1] package/cjson: bump to version 1.7.16 Message-ID: <20231028203252.1177951-1-fontaine.fabrice@gmail.com> https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 Signed-off-by: Fabrice Fontaine --- package/cjson/cjson.hash | 2 +- package/cjson/cjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash index c39e884cdd..74844d6aa6 100644 --- a/package/cjson/cjson.hash +++ b/package/cjson/cjson.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2 cjson-1.7.15.tar.gz +sha256 451131a92c55efc5457276807fc0c4c2c2707c9ee96ef90c47d68852d5384c6c cjson-1.7.16.tar.gz sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index ad9d76a4ba..7ed732ac90 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -CJSON_VERSION = 1.7.15 +CJSON_VERSION = 1.7.16 CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:37:00 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:37:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/cli11: bump to version 2.3.2 Message-ID: <20231028203700.1182700-1-fontaine.fabrice@gmail.com> Update hash of LICENSE file (update in year: https://github.com/CLIUtils/CLI11/commit/39a5f1981e9395e82be863e77b4b0c69239ec338) https://github.com/CLIUtils/CLI11/releases/tag/v2.3.2 Signed-off-by: Fabrice Fontaine --- package/cli11/cli11.hash | 4 ++-- package/cli11/cli11.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/cli11/cli11.hash b/package/cli11/cli11.hash index 12e5b4fb55..42ab5d1311 100644 --- a/package/cli11/cli11.hash +++ b/package/cli11/cli11.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 378da73d2d1d9a7b82ad6ed2b5bda3e7bc7093c4034a1d680a2e009eb067e7b2 cli11-2.3.1.tar.gz -sha256 89022151dbf5827a22430557ef2f8a75808dd25fa1e9a12709ef5421d363e66d LICENSE +sha256 aac0ab42108131ac5d3344a9db0fdf25c4db652296641955720a4fbe52334e22 cli11-2.3.2.tar.gz +sha256 4110754959bd99e0ebc34001ed0402ff5f371364e83f9db6d1e230d02368984f LICENSE diff --git a/package/cli11/cli11.mk b/package/cli11/cli11.mk index b02bd4478f..349c14fe60 100644 --- a/package/cli11/cli11.mk +++ b/package/cli11/cli11.mk @@ -4,7 +4,7 @@ # ################################################################################ -CLI11_VERSION = 2.3.1 +CLI11_VERSION = 2.3.2 CLI11_SITE = $(call github,CLIUtils,CLI11,v$(CLI11_VERSION)) CLI11_LICENSE = BSD-3-Clause CLI11_LICENSE_FILES = LICENSE -- 2.42.0 From fontaine.fabrice at gmail.com Sat Oct 28 20:40:24 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:40:24 +0200 Subject: [Buildroot] [PATCH 1/1] package/cppzmq: bump to version 4.10.0 Message-ID: <20231028204024.1193680-1-fontaine.fabrice@gmail.com> https://github.com/zeromq/cppzmq/releases/tag/v4.10.0 Signed-off-by: Fabrice Fontaine --- package/cppzmq/cppzmq.hash | 2 +- package/cppzmq/cppzmq.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cppzmq/cppzmq.hash b/package/cppzmq/cppzmq.hash index 3fbee7af28..dd6e06494a 100644 --- a/package/cppzmq/cppzmq.hash +++ b/package/cppzmq/cppzmq.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3fdf5b100206953f674c94d40599bdb3ea255244dcc42fab0d75855ee3645581 cppzmq-4.9.0.tar.gz +sha256 c81c81bba8a7644c84932225f018b5088743a22999c6d82a2b5f5cd1e6942b74 cppzmq-4.10.0.tar.gz sha256 7e6db90e2e805c72b3daa77849d1cb5f1f92da0e69750c8a4aa1d86d70704748 LICENSE diff --git a/package/cppzmq/cppzmq.mk b/package/cppzmq/cppzmq.mk index d702cc174e..90213ec0f6 100644 --- a/package/cppzmq/cppzmq.mk +++ b/package/cppzmq/cppzmq.mk @@ -4,7 +4,7 @@ # ################################################################################ -CPPZMQ_VERSION = 4.9.0 +CPPZMQ_VERSION = 4.10.0 CPPZMQ_SITE = $(call github,zeromq,cppzmq,v$(CPPZMQ_VERSION)) CPPZMQ_INSTALL_STAGING = YES CPPZMQ_DEPENDENCIES = host-pkgconf zeromq -- 2.42.0 From yann.morin.1998 at free.fr Sat Oct 28 20:41:23 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:41:23 +0200 Subject: [Buildroot] [git commit] package/spirv-headers: needs C++ Message-ID: <20231028204443.00A2685F64@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3155bd54ebf705b9e436856f38b0c7d1a584b8ae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since the addition of the package in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: CMake Error at /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. Fixes: - http://autobuild.buildroot.org/results/4b94edf6dee03e74ff53939aa228069cc6ba4292 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: propagate to spirv-tools] Signed-off-by: Yann E. MORIN --- package/spirv-headers/Config.in | 4 ++++ package/spirv-tools/Config.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in index fd20f301d4..e03a6ca1ee 100644 --- a/package/spirv-headers/Config.in +++ b/package/spirv-headers/Config.in @@ -1,6 +1,10 @@ config BR2_PACKAGE_SPIRV_HEADERS bool "spirv-headers" + depends on BR2_INSTALL_LIBSTDCPP help Machine-readable files for the SPIR-V Registry https://www.khronos.org/registry/spir-v + +comment "spirv-headers needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in index e2f46253a9..345b8e7331 100644 --- a/package/spirv-tools/Config.in +++ b/package/spirv-tools/Config.in @@ -1,8 +1,12 @@ config BR2_PACKAGE_SPIRV_TOOLS bool "spirv-tools" + depends on BR2_INSTALL_LIBSTDCPP # spirv-headers select BR2_PACKAGE_SPIRV_HEADERS help The SPIR-V Tools project provides an API and commands for processing SPIR-V modules. https://github.com/KhronosGroup/SPIRV-Tools + +comment "spirv-tools needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP From yann.morin.1998 at free.fr Sat Oct 28 20:45:32 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:45:32 +0200 Subject: [Buildroot] [PATCH 1/1] package/spirv-headers: needs C++ In-Reply-To: <20231028151445.10334-1-fontaine.fabrice@gmail.com> References: <20231028151445.10334-1-fontaine.fabrice@gmail.com> Message-ID: <20231028204532.GI2582@scaer> Fabrice, All, On 2023-10-28 17:14 +0200, Fabrice Fontaine spake thusly: > Fix the following build failure raised since the addition of the package > in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: > > CMake Error at /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message): > The C++ compiler > > "/usr/bin/c++" > > is not able to compile a simple test program. > > Fixes: > - http://autobuild.buildroot.org/results/4b94edf6dee03e74ff53939aa228069cc6ba4292 > > Signed-off-by: Fabrice Fontaine > --- > package/spirv-headers/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/spirv-headers/Config.in b/package/spirv-headers/Config.in > index fd20f301d4..e03a6ca1ee 100644 > --- a/package/spirv-headers/Config.in > +++ b/package/spirv-headers/Config.in > @@ -1,6 +1,10 @@ > config BR2_PACKAGE_SPIRV_HEADERS > bool "spirv-headers" > + depends on BR2_INSTALL_LIBSTDCPP spirv-headers are selected by spirv-tools, so the dependency must be propagated there. Applied to master with the above fixed, thanks. Regards, Yann E. MORIN. > help > Machine-readable files for the SPIR-V Registry > > https://www.khronos.org/registry/spir-v > + > +comment "spirv-headers needs a toolchain w/ C++" > + depends on !BR2_INSTALL_LIBSTDCPP > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sat Oct 28 20:51:00 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 22:51:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/acsccid: bump to version 1.1.10 Message-ID: <20231028205100.1220118-1-fontaine.fabrice@gmail.com> https://sourceforge.net/p/acsccid/news/2023/04/acsccid-119-released/ https://sourceforge.net/p/acsccid/news/2023/08/acsccid-1110-released/ Signed-off-by: Fabrice Fontaine --- package/acsccid/acsccid.hash | 8 ++++---- package/acsccid/acsccid.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/acsccid/acsccid.hash b/package/acsccid/acsccid.hash index f43a7930a4..5310d78144 100644 --- a/package/acsccid/acsccid.hash +++ b/package/acsccid/acsccid.hash @@ -1,6 +1,6 @@ -# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.7/ -sha1 c0062401e5fedf3ec12c8c2d375d6e1561a8a8ed acsccid-1.1.8.tar.bz2 -md5 3eba7b2527aa0b14c73b1a620a1d72d2 acsccid-1.1.8.tar.bz2 +# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.10/ +sha1 6284a693b8edb511f2f80d9069af9b4a41fd55ae acsccid-1.1.10.tar.bz2 +md5 4d2b7f34414aed029084c96dd05a0e7d acsccid-1.1.10.tar.bz2 # Locally computed -sha256 f86fd846bc88594a569ea27040cb441d933b7eca8d51d2a90bacf161e7740051 acsccid-1.1.8.tar.bz2 +sha256 5ee112febdcac6656629025f3a85923f155f6ca150b2d24fd716f9043265528e acsccid-1.1.10.tar.bz2 sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING diff --git a/package/acsccid/acsccid.mk b/package/acsccid/acsccid.mk index db74e9cb76..463f0f24d6 100644 --- a/package/acsccid/acsccid.mk +++ b/package/acsccid/acsccid.mk @@ -4,7 +4,7 @@ # ################################################################################ -ACSCCID_VERSION = 1.1.8 +ACSCCID_VERSION = 1.1.10 ACSCCID_SOURCE = acsccid-$(ACSCCID_VERSION).tar.bz2 ACSCCID_SITE = http://downloads.sourceforge.net/acsccid ACSCCID_LICENSE = LGPL-2.1+ -- 2.42.0 From yann.morin.1998 at free.fr Sat Oct 28 20:49:27 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:27 +0200 Subject: [Buildroot] [git commit] package/powerpc-utils: bump to version 1.3.11 Message-ID: <20231028210321.A694F85F52@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf746901dd59e4de56114ea9e9250e155d11231b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/ibm-power-utilities/powerpc-utils/blob/v1.3.11/Changelog Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/powerpc-utils/powerpc-utils.hash | 2 +- package/powerpc-utils/powerpc-utils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/powerpc-utils/powerpc-utils.hash b/package/powerpc-utils/powerpc-utils.hash index b3c77fb223..32387014cc 100644 --- a/package/powerpc-utils/powerpc-utils.hash +++ b/package/powerpc-utils/powerpc-utils.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d64d9016a3e63a1e44c6e0833742cf964ae6bb1c6a9c7f0c7c5748aa335dc3db powerpc-utils-1.3.10.tar.gz +sha256 6bb16078068d8b889afdd78927d2f061702ef155e57fc548ae573e2b0b90ca13 powerpc-utils-1.3.11.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/powerpc-utils/powerpc-utils.mk b/package/powerpc-utils/powerpc-utils.mk index 19fa84946c..8d5491133b 100644 --- a/package/powerpc-utils/powerpc-utils.mk +++ b/package/powerpc-utils/powerpc-utils.mk @@ -4,7 +4,7 @@ # ################################################################################ -POWERPC_UTILS_VERSION = 1.3.10 +POWERPC_UTILS_VERSION = 1.3.11 POWERPC_UTILS_SITE = $(call github,ibm-power-utilities,powerpc-utils,v$(POWERPC_UTILS_VERSION)) POWERPC_UTILS_DEPENDENCIES = zlib numactl POWERPC_UTILS_AUTORECONF = YES From yann.morin.1998 at free.fr Sat Oct 28 20:49:34 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:34 +0200 Subject: [Buildroot] [git commit] package/avrdude: bump to version 7.2 Message-ID: <20231028210321.B26DB86079@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=afe32537d13ebbc869825779db95d36a8a713417 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/avrdudes/avrdude/blob/v7.2/NEWS Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/avrdude/avrdude.hash | 2 +- package/avrdude/avrdude.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/avrdude/avrdude.hash b/package/avrdude/avrdude.hash index 5910a568db..cb34e6b6f9 100644 --- a/package/avrdude/avrdude.hash +++ b/package/avrdude/avrdude.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 016a5c95746fadc169cfb3009f6aa306ccdea2ff279fdb6fddcbe7526d84e5eb avrdude-7.1.tar.gz +sha256 beb4e0b0a07f8d47e550329ab93c345d5252350de6f833afde51b4d8bd934674 avrdude-7.2.tar.gz sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 COPYING diff --git a/package/avrdude/avrdude.mk b/package/avrdude/avrdude.mk index 8ebe33b372..89637d4ca6 100644 --- a/package/avrdude/avrdude.mk +++ b/package/avrdude/avrdude.mk @@ -4,7 +4,7 @@ # ################################################################################ -AVRDUDE_VERSION = 7.1 +AVRDUDE_VERSION = 7.2 AVRDUDE_SITE = $(call github,avrdudes,avrdude,v$(AVRDUDE_VERSION)) AVRDUDE_LICENSE = GPL-2.0+ AVRDUDE_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sat Oct 28 20:49:20 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:20 +0200 Subject: [Buildroot] [git commit] package/dracut: bump to version 059 Message-ID: <20231028210321.9BA5F8607C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=145f01ded5e340ec269d82d5d88cf61fc0b314a3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/dracutdevs/dracut/blob/059/NEWS.md Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/dracut/dracut.hash | 2 +- package/dracut/dracut.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/dracut/dracut.hash b/package/dracut/dracut.hash index 34db6af23b..6ca352c542 100644 --- a/package/dracut/dracut.hash +++ b/package/dracut/dracut.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 24f149d683d188c0d25756529b7d1e5cd6be8028e0c1043110f303d0d706757d dracut-057.tar.gz +sha256 eabf0bb685420c1e1d5475b6855ef787104508f0135ff570312845256e0fcecf dracut-059.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/dracut/dracut.mk b/package/dracut/dracut.mk index 3eb9bcc474..1de11d208d 100644 --- a/package/dracut/dracut.mk +++ b/package/dracut/dracut.mk @@ -4,7 +4,7 @@ # ################################################################################ -DRACUT_VERSION = 057 +DRACUT_VERSION = 059 DRACUT_SITE = $(call github,dracutdevs,dracut,$(DRACUT_VERSION)) DRACUT_LICENSE = GPL-2.0 DRACUT_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sat Oct 28 20:49:02 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:02 +0200 Subject: [Buildroot] [git commit] package/zchunk: security bump to version 1.3.2 Message-ID: <20231028210321.7847B85F52@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8716942ca68e98e384746c09871fedfb36c0f629 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Drop patches (already in version) - tests can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 - docs can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, lib/dl/multipart.c, or lib/header.c. https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- .checkpackageignore | 2 - ...fix-argp-standalone-wrap-and-find_library.patch | 106 --------------------- .../0002-zck-declare-write_data-as-static.patch | 34 ------- package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 3 +- 5 files changed, 3 insertions(+), 144 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index b1d0b93b32..bb23c60a25 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1542,8 +1542,6 @@ package/ympd/0002-added-forward-declarations.patch Upstream package/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch Upstream package/zabbix/0002-fix-build-with-libressl-3.5.0.patch Upstream package/zbar/0001-python-enum-fix-build-for-Python-3.11.patch Upstream -package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch Upstream -package/zchunk/0002-zck-declare-write_data-as-static.patch Upstream package/zic/0001-remove-dependency-check-on-version-file.patch Upstream package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch Upstream package/zip/0002-configure-Don-t-use-host-CPP.patch Upstream diff --git a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch b/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch deleted file mode 100644 index 6c9cdba3ad..0000000000 --- a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 473c97cda44b95f5cea08a0cdd566e602df564db Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Thu, 21 Apr 2022 14:24:01 -0600 -Subject: [PATCH] meson: fix argp-standalone wrap and find_library - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -473c97cda44b95f5cea08a0cdd566e602df564db] ---- - .github/workflows/main.yml | 27 --------------------------- - meson.build | 6 +++--- - subprojects/argp-standalone.wrap | 7 +++++++ - 3 files changed, 10 insertions(+), 30 deletions(-) - create mode 100644 subprojects/argp-standalone.wrap - -diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml -index c49806f..35667af 100644 ---- a/.github/workflows/main.yml -+++ b/.github/workflows/main.yml -@@ -35,25 +35,11 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - name: Install mamba - uses: mamba-org/provision-with-micromamba at main - with: - environment-file: .github/environment.yml - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- CALL micromamba activate zchunk_test_env -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir --prefix=%CONDA_PREFIX%\Library -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -@@ -75,11 +61,6 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - uses: actions/setup-python at v1 - with: - python-version: '3.x' -@@ -87,14 +68,6 @@ jobs: - - name: Install meson and ninja - run: pip install meson ninja - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -diff --git a/meson.build b/meson.build -index 1c6b32d..aa7dd25 100644 ---- a/meson.build -+++ b/meson.build -@@ -58,10 +58,10 @@ endif - - # argp-standalone dependency (if required) - if build_machine.system() == 'windows' or build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include \nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}') -- if fs.is_dir(join_paths([get_option('prefix'), 'include'])) -- inc += include_directories(join_paths([get_option('prefix'), 'include'])) -+ argplib = cc.find_library('argp', has_headers : ['argp.h'], required: false) -+ if not argplib.found() -+ argplib = dependency('argp-standalone') - endif -- argplib = cc.find_library('argp', dirs : join_paths([get_option('prefix'), 'lib'])) - else - argplib = dependency('', required : false) - endif -diff --git a/subprojects/argp-standalone.wrap b/subprojects/argp-standalone.wrap -new file mode 100644 -index 0000000..14c0b63 ---- /dev/null -+++ b/subprojects/argp-standalone.wrap -@@ -0,0 +1,7 @@ -+[wrap-git] -+directory = argp-standalone-1.4.1 -+url = https://github.com/argp-standalone/argp-standalone.git -+revision = 21855f34ec9997c37e1a08cd69497336513a5800 -+ -+[provide] -+dependency_names = argp-standalone --- -2.25.1 - diff --git a/package/zchunk/0002-zck-declare-write_data-as-static.patch b/package/zchunk/0002-zck-declare-write_data-as-static.patch deleted file mode 100644 index 3c48ab3d50..0000000000 --- a/package/zchunk/0002-zck-declare-write_data-as-static.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Wed, 4 May 2022 16:32:48 -0600 -Subject: [PATCH] zck: declare write_data as static - -This needs to be declared static to avoid a symbol conflict: -io.c:(.text+0xe8): multiple definition of `write_data'; src/zck.p/zck.c.o:zck.c:(.text+0x1f4): first defined here - -Fixes: - - http://autobuild.buildroot.net/results/225/22590a7038a40da3700d56c1f82f7dc74225702a - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc] ---- - src/zck.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/zck.c b/src/zck.c -index 7727479..83b2630 100644 ---- a/src/zck.c -+++ b/src/zck.c -@@ -159,7 +159,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) { - - static struct argp argp = {options, parse_opt, args_doc, doc}; - --void write_data(zckCtx *zck, char *data, ssize_t in_size) { -+static void write_data(zckCtx *zck, char *data, ssize_t in_size) { - if(zck_write(zck, data, in_size) < 0) { - LOG_ERROR("%s", zck_get_error(zck)); - exit(1); --- -2.25.1 - diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index fa097d4ae0..15103a9ea0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz +sha256 4d923d32af7db33f3c0a6655b258e857a2ca564912cf85ddce14e9b1b7d495bf zchunk-1.3.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 2acdaba3a1..39d51ac352 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,12 +4,13 @@ # ################################################################################ -ZCHUNK_VERSION = 1.2.2 +ZCHUNK_VERSION = 1.3.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES +ZCHUNK_CONF_OPTS = -Ddocs=false -Dtests=false ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) ZCHUNK_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) From yann.morin.1998 at free.fr Sat Oct 28 20:49:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:52 +0200 Subject: [Buildroot] [git commit] package/python-urllib3: security bump to version 2.0.7 Message-ID: <20231028210321.EBC6F86079@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e0e96336aba445d711a352caadab68ed87e87d07 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2023-43804 and CVE-2023-45803 https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 https://github.com/urllib3/urllib3/blob/2.0.7/CHANGES.rst Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2da7abdf29..209cfe277e 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 5d541b944febe50221e24c31cd6e887d urllib3-2.0.4.tar.gz -sha256 8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11 urllib3-2.0.4.tar.gz +md5 5a264ef3ae827e5842bbc80536a343dd urllib3-2.0.7.tar.gz +sha256 c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 urllib3-2.0.7.tar.gz # Locally computed sha256 checksums sha256 130e3a64d5fdd5d096a752694634a7d9df284469de86e5732100268041e3d686 LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index 7ff58d9a4a..ba041082db 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 2.0.4 +PYTHON_URLLIB3_VERSION = 2.0.7 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/31/ab/46bec149bbd71a4467a3063ac22f4486ecd2ceb70ae8c70d5d8e4c2a7946 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/af/47/b215df9f71b4fdba1025fc05a77db2ad243fa0926755a52c5e71659f4e3c PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python From yann.morin.1998 at free.fr Sat Oct 28 20:49:14 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:14 +0200 Subject: [Buildroot] [git commit] package/tiff: security bump to version 4.6.0 Message-ID: <20231028210321.917058607B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e96b1c4b0b06d65c54a764fe4a59d886afc70df5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Drop --without-x (now unrecognized) - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. - Fix CVE-2023-41175: A vulnerability was found in libtiff due to multiple potential integer overflows in raw2tiff.c. This flaw allows remote attackers to cause a denial of service or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/tiff/tiff.hash | 2 +- package/tiff/tiff.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/tiff/tiff.hash b/package/tiff/tiff.hash index 0fa503a02a..3aae7dc4d5 100644 --- a/package/tiff/tiff.hash +++ b/package/tiff/tiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b tiff-4.5.1.tar.gz +sha256 88b3979e6d5c7e32b50d7ec72fb15af724f6ab2cbf7e10880c360a77e4b5d99a tiff-4.6.0.tar.gz sha256 0780558a8bfba0af1160ec1ff11ade4f41c0d7deafd6ecfc796b492a788e380d LICENSE.md diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 0006f461a0..e384e8b814 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIFF_VERSION = 4.5.1 +TIFF_VERSION = 4.6.0 TIFF_SITE = http://download.osgeo.org/libtiff TIFF_LICENSE = tiff license TIFF_LICENSE_FILES = LICENSE.md @@ -17,14 +17,12 @@ TIFF_INSTALL_STAGING = YES TIFF_CONF_OPTS = \ --disable-contrib \ --disable-tests \ - --disable-webp \ - --without-x + --disable-webp TIFF_DEPENDENCIES = host-pkgconf HOST_TIFF_CONF_OPTS = \ --disable-cxx \ - --without-x \ --disable-zlib \ --disable-libdeflate \ --disable-lzma \ From yann.morin.1998 at free.fr Sat Oct 28 20:50:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:50:22 +0200 Subject: [Buildroot] [git commit] package/cppzmq: bump to version 4.10.0 Message-ID: <20231028210322.33F1D86079@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f3319e0bb82379aecc3bac401d973648b22a1b5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/zeromq/cppzmq/releases/tag/v4.10.0 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cppzmq/cppzmq.hash | 2 +- package/cppzmq/cppzmq.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cppzmq/cppzmq.hash b/package/cppzmq/cppzmq.hash index 3fbee7af28..dd6e06494a 100644 --- a/package/cppzmq/cppzmq.hash +++ b/package/cppzmq/cppzmq.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3fdf5b100206953f674c94d40599bdb3ea255244dcc42fab0d75855ee3645581 cppzmq-4.9.0.tar.gz +sha256 c81c81bba8a7644c84932225f018b5088743a22999c6d82a2b5f5cd1e6942b74 cppzmq-4.10.0.tar.gz sha256 7e6db90e2e805c72b3daa77849d1cb5f1f92da0e69750c8a4aa1d86d70704748 LICENSE diff --git a/package/cppzmq/cppzmq.mk b/package/cppzmq/cppzmq.mk index d702cc174e..90213ec0f6 100644 --- a/package/cppzmq/cppzmq.mk +++ b/package/cppzmq/cppzmq.mk @@ -4,7 +4,7 @@ # ################################################################################ -CPPZMQ_VERSION = 4.9.0 +CPPZMQ_VERSION = 4.10.0 CPPZMQ_SITE = $(call github,zeromq,cppzmq,v$(CPPZMQ_VERSION)) CPPZMQ_INSTALL_STAGING = YES CPPZMQ_DEPENDENCIES = host-pkgconf zeromq From yann.morin.1998 at free.fr Sat Oct 28 20:49:08 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:08 +0200 Subject: [Buildroot] [git commit] package/atop: bump to version 2.9.0 Message-ID: <20231028210321.85D888607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8c70374c4f0f9f77875eac26a5e51ab662575c1c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://www.atoptool.nl/downloadatop.php Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/atop/atop.hash | 2 +- package/atop/atop.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/atop/atop.hash b/package/atop/atop.hash index e42354739a..0b7ee061dd 100644 --- a/package/atop/atop.hash +++ b/package/atop/atop.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 3b002cb9774a7d6b3e820451773ae5e909b5e725738c6f375f14d1c1976d9fba atop-2.8.0.tar.gz +sha256 8d82f211b712a227000ef254c0a2b53bcb71235bf40d93316acce80b04bff926 atop-2.9.0.tar.gz # Hash for license file: sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/package/atop/atop.mk b/package/atop/atop.mk index 04a554b474..6a0ff3a0d1 100644 --- a/package/atop/atop.mk +++ b/package/atop/atop.mk @@ -4,7 +4,7 @@ # ################################################################################ -ATOP_VERSION = 2.8.0 +ATOP_VERSION = 2.9.0 ATOP_SITE = http://www.atoptool.nl/download ATOP_LICENSE = GPL-2.0+ ATOP_LICENSE_FILES = COPYING From yann.morin.1998 at free.fr Sat Oct 28 20:48:55 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:48:55 +0200 Subject: [Buildroot] [git commit] package/zchunk: add ZCHUNK_CPE_ID_VENDOR Message-ID: <20231028210321.6A77886077@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3499c75ccf8b481fb3499a218920a3e276b09fa9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/zchunk/zchunk.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index fc91f90431..2acdaba3a1 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE +ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) From yann.morin.1998 at free.fr Sat Oct 28 20:49:40 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:40 +0200 Subject: [Buildroot] [git commit] package/rabbitmq-c: fix CVE-2023-35789 Message-ID: <20231028210321.C0A6286077@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c3fcaeaaa7fc0a6023d44ac16c9197b847504706 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master An issue was discovered in the C AMQP client library (aka rabbitmq-c) through 0.13.0 for RabbitMQ. Credentials can only be entered on the command line (e.g., for amqp-publish or amqp-consume) and are thus visible to local attackers by listing a process and its arguments. Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...ption-to-read-username-password-from-file.patch | 130 +++++++++++++++++++++ package/rabbitmq-c/rabbitmq-c.mk | 3 + 2 files changed, 133 insertions(+) diff --git a/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch new file mode 100644 index 0000000000..347063cfb3 --- /dev/null +++ b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch @@ -0,0 +1,130 @@ +From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001 +From: Christian Kastner +Date: Tue, 13 Jun 2023 14:21:52 +0200 +Subject: [PATCH] Add option to read username/password from file (#781) + +* Add option to read username/password from file + +Upstream: https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 +Signed-off-by: Fabrice Fontaine +--- + tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + +diff --git a/tools/common.c b/tools/common.c +index 73b47e25..7efe557b 100644 +--- a/tools/common.c ++++ b/tools/common.c +@@ -18,6 +18,11 @@ + #include "compat.h" + #endif + ++/* For when reading auth data from a file */ ++#define MAXAUTHTOKENLEN 128 ++#define USERNAMEPREFIX "username:" ++#define PASSWORDPREFIX "password:" ++ + void die(const char *fmt, ...) { + va_list ap; + va_start(ap, fmt); +@@ -125,6 +130,7 @@ static char *amqp_vhost; + static char *amqp_username; + static char *amqp_password; + static int amqp_heartbeat = 0; ++static char *amqp_authfile; + #ifdef WITH_SSL + static int amqp_ssl = 0; + static char *amqp_cacert = "/etc/ssl/certs/cacert.pem"; +@@ -147,6 +153,8 @@ struct poptOption connect_options[] = { + "the password to login with", "password"}, + {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0, + "heartbeat interval, set to 0 to disable", "heartbeat"}, ++ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0, ++ "path to file containing username/password for authentication", "file"}, + #ifdef WITH_SSL + {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL}, + {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0, +@@ -158,6 +166,50 @@ struct poptOption connect_options[] = { + #endif /* WITH_SSL */ + {NULL, '\0', 0, NULL, 0, NULL, NULL}}; + ++void read_authfile(const char *path) { ++ size_t n; ++ FILE *fp = NULL; ++ char token[MAXAUTHTOKENLEN]; ++ ++ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL || ++ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) { ++ die("Out of memory"); ++ } else if ((fp = fopen(path, "r")) == NULL) { ++ die("Could not read auth data file %s", path); ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) { ++ die("Malformed auth file (missing username)"); ++ } ++ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_username); ++ if (amqp_username[n - 1] != '\n') { ++ die("Username too long"); ++ } else { ++ amqp_username[n - 1] = '\0'; ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) { ++ die("Malformed auth file (missing password)"); ++ } ++ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_password); ++ if (amqp_password[n - 1] != '\n') { ++ die("Password too long"); ++ } else { ++ amqp_password[n - 1] = '\0'; ++ } ++ ++ (void)fgetc(fp); ++ if (!feof(fp)) { ++ die("Malformed auth file (trailing data)"); ++ } ++} ++ + static void init_connection_info(struct amqp_connection_info *ci) { + ci->user = NULL; + ci->password = NULL; +@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_username) { + if (amqp_url) { + die("--username and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--username and --authfile options cannot be used at the same time"); + } + + ci->user = amqp_username; +@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_password) { + if (amqp_url) { + die("--password and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--password and --authfile options cannot be used at the same time"); + } + + ci->password = amqp_password; + } + ++ if (amqp_authfile) { ++ if (amqp_url) { ++ die("--authfile and --url options cannot be used at the same time"); ++ } ++ ++ read_authfile(amqp_authfile); ++ ci->user = amqp_username; ++ ci->password = amqp_password; ++ } ++ + if (amqp_vhost) { + if (amqp_url) { + die("--vhost and --url options cannot be used at the same time"); diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index 18ecaa3098..fad6655e4e 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -14,6 +14,9 @@ RABBITMQ_C_CONF_OPTS = \ -DBUILD_API_DOCS=OFF \ -DBUILD_TOOLS_DOCS=OFF +# 0001-Add-option-to-read-username-password-from-file.patch +RABBITMQ_C_IGNORE_CVES += CVE-2023-35789 + # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable ifeq ($(BR2_SHARED_STATIC_LIBS),y) RABBITMQ_C_CONF_OPTS += -DBUILD_STATIC_LIBS=ON From yann.morin.1998 at free.fr Sat Oct 28 20:50:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:50:10 +0200 Subject: [Buildroot] [git commit] package/cjson: bump to version 1.7.16 Message-ID: <20231028210322.1FB6B86077@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=654f18c61709cf8c7d92236c1b81bb80a9ce70d6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cjson/cjson.hash | 2 +- package/cjson/cjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash index c39e884cdd..74844d6aa6 100644 --- a/package/cjson/cjson.hash +++ b/package/cjson/cjson.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2 cjson-1.7.15.tar.gz +sha256 451131a92c55efc5457276807fc0c4c2c2707c9ee96ef90c47d68852d5384c6c cjson-1.7.16.tar.gz sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index ad9d76a4ba..7ed732ac90 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -CJSON_VERSION = 1.7.15 +CJSON_VERSION = 1.7.16 CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT From yann.morin.1998 at free.fr Sat Oct 28 20:50:16 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:50:16 +0200 Subject: [Buildroot] [git commit] package/cli11: bump to version 2.3.2 Message-ID: <20231028210322.2981D8607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e324475294bf4714d81dfc3e8fe5f2c62335fb9f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Update hash of LICENSE file (update in year: https://github.com/CLIUtils/CLI11/commit/39a5f1981e9395e82be863e77b4b0c69239ec338) https://github.com/CLIUtils/CLI11/releases/tag/v2.3.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cli11/cli11.hash | 4 ++-- package/cli11/cli11.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/cli11/cli11.hash b/package/cli11/cli11.hash index 12e5b4fb55..42ab5d1311 100644 --- a/package/cli11/cli11.hash +++ b/package/cli11/cli11.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 378da73d2d1d9a7b82ad6ed2b5bda3e7bc7093c4034a1d680a2e009eb067e7b2 cli11-2.3.1.tar.gz -sha256 89022151dbf5827a22430557ef2f8a75808dd25fa1e9a12709ef5421d363e66d LICENSE +sha256 aac0ab42108131ac5d3344a9db0fdf25c4db652296641955720a4fbe52334e22 cli11-2.3.2.tar.gz +sha256 4110754959bd99e0ebc34001ed0402ff5f371364e83f9db6d1e230d02368984f LICENSE diff --git a/package/cli11/cli11.mk b/package/cli11/cli11.mk index b02bd4478f..349c14fe60 100644 --- a/package/cli11/cli11.mk +++ b/package/cli11/cli11.mk @@ -4,7 +4,7 @@ # ################################################################################ -CLI11_VERSION = 2.3.1 +CLI11_VERSION = 2.3.2 CLI11_SITE = $(call github,CLIUtils,CLI11,v$(CLI11_VERSION)) CLI11_LICENSE = BSD-3-Clause CLI11_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Sat Oct 28 20:50:04 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:50:04 +0200 Subject: [Buildroot] [git commit] package/x11r7/xlib_libX11: security bump to version 1.8.7 Message-ID: <20231028210322.0ED7186079@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=98d0a7b95f416c88581788b5ad3ee3d1d5cbbd67 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003426.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/x11r7/xlib_libX11/xlib_libX11.hash | 6 +++--- package/x11r7/xlib_libX11/xlib_libX11.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libX11/xlib_libX11.hash b/package/x11r7/xlib_libX11/xlib_libX11.hash index f443d947a4..56fecee9ff 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.hash +++ b/package/x11r7/xlib_libX11/xlib_libX11.hash @@ -1,5 +1,5 @@ -# From https://lists.x.org/archives/xorg-announce/2023-June/003407.html -sha256 59535b7cc6989ba806a022f7e8533b28c4397b9d86e9d07b6df0c0703fa25cc9 libX11-1.8.6.tar.xz -sha512 b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade libX11-1.8.6.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003426.html +sha256 05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee libX11-1.8.7.tar.xz +sha512 d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 libX11-1.8.7.tar.xz # Locally computed sha256 2e7012a140f000735a7172674a2d314398d79622444fba65d108b029b29ab283 COPYING diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk index 75199f1a3d..920a5d9aed 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.mk +++ b/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBX11_VERSION = 1.8.6 +XLIB_LIBX11_VERSION = 1.8.7 XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.xz XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBX11_LICENSE = MIT From yann.morin.1998 at free.fr Sat Oct 28 21:03:24 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:03:24 +0200 Subject: [Buildroot] [PATCH 1/2] package/zchunk: add ZCHUNK_CPE_ID_VENDOR In-Reply-To: <20231028153448.142511-1-fontaine.fabrice@gmail.com> References: <20231028153448.142511-1-fontaine.fabrice@gmail.com> Message-ID: <20231028210324.GA687180@scaer> Fabrice, All, On 2023-10-28 17:34 +0200, Fabrice Fontaine spake thusly: > cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: > > https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA > > Signed-off-by: Fabrice Fontaine Both patches applied to master, thanks. Regards, Yann E. MORIN. > --- > package/zchunk/zchunk.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk > index fc91f90431..2acdaba3a1 100644 > --- a/package/zchunk/zchunk.mk > +++ b/package/zchunk/zchunk.mk > @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 > ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) > ZCHUNK_LICENSE = BSD-2-Clause > ZCHUNK_LICENSE_FILES = LICENSE > +ZCHUNK_CPE_ID_VENDOR = zchunk > ZCHUNK_INSTALL_STAGING = YES > > ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 20:49:58 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:58 +0200 Subject: [Buildroot] [git commit] package/x11r7/xlib_libXpm: security bump to version 3.5.17 Message-ID: <20231028210322.02C7386077@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c709ab6fff85285c3f44eacbe780302a29a32ede branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003425.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/x11r7/xlib_libXpm/xlib_libXpm.hash | 6 +++--- package/x11r7/xlib_libXpm/xlib_libXpm.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.hash b/package/x11r7/xlib_libXpm/xlib_libXpm.hash index a041f0d440..3582169891 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.hash +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.hash @@ -1,6 +1,6 @@ -# From https://lists.x.org/archives/xorg-announce/2023-April/003385.html -sha256 e6bc5da7a69dbd9bcc67e87c93d4904fe2f5177a0711c56e71fa2f6eff649f51 libXpm-3.5.16.tar.xz -sha512 ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2 libXpm-3.5.16.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003425.html +sha256 64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43 libXpm-3.5.17.tar.xz +sha512 52f9d2664a47a26c1a6ad65d18867de870b66947b0b0d99cca3512756a0aaa6ce2a245c0b49f20b70c3ce48bf04c47c333e8119a147465c277bca727f6ab017e libXpm-3.5.17.tar.xz # Locally calculated sha256 a80d706759624a04aa90fd62bc644a360fc3d72e08dcbfb129f167c11ca285de COPYING sha256 cbe4ced0abc8a32bea471204ae01038c202758ce4e772d3d329a341ffa761e71 COPYRIGHT diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk index 51f6283370..0bba3ea946 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.mk +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBXPM_VERSION = 3.5.16 +XLIB_LIBXPM_VERSION = 3.5.17 XLIB_LIBXPM_SOURCE = libXpm-$(XLIB_LIBXPM_VERSION).tar.xz XLIB_LIBXPM_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBXPM_LICENSE = MIT From yann.morin.1998 at free.fr Sat Oct 28 20:49:46 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 22:49:46 +0200 Subject: [Buildroot] [git commit] package/cryptopp: bump to version 8.9.0 Message-ID: <20231028210321.DE1068607A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7217661e3a4a324852982ab3e61ea319c068be4e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master - Drop patch (already in version) - Update hash of License.txt (minor updates with: https://github.com/weidai11/cryptopp/commit/bc2c8423a1d8a193dcf1e5706c124587f9491b7f https://github.com/weidai11/cryptopp/commit/b418f93483562f1b59d0ba963dcdcc16b6a6a793 https://github.com/weidai11/cryptopp/commit/2bce06d5dbd3f53ebfcff44eef467667e44d8839) https://www.cryptopp.com/release890.html https://www.cryptopp.com/release880.html https://www.cryptopp.com/release870.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...kefile-add-missing-shared-library-symlink.patch | 62 ---------------------- package/cryptopp/cryptopp.hash | 6 +-- package/cryptopp/cryptopp.mk | 2 +- 3 files changed, 4 insertions(+), 66 deletions(-) diff --git a/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch b/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch deleted file mode 100644 index 5f87414d53..0000000000 --- a/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch +++ /dev/null @@ -1,62 +0,0 @@ -From e4c2e3bc8174f24cf63923619f5d06d85b84ae1d Mon Sep 17 00:00:00 2001 -From: Kamel Bouhara -Date: Fri, 7 Jan 2022 22:59:23 +0100 -Subject: [PATCH] GNUmakefile: add missing shared library symlink - -The GNUmakefile install-lib target currently installs the following -symlink: - - libcryptopp.so -> libcryptopp.so.8.6.0 - -However, it does not create the following symlink: - - libcryptopp.so.8 -> libcryptopp.so.8.6.0 - -This symlink is necessary at runtime because libcryptopp.so.8 is the -SONAME of the cryptopp library, and therefore this is what the dynamic -loader will search when starting a program that is linked against -cryptopp. - -For native compilation, the 'ldconfig' invocation that immediately -follows will create that symlink, so everything works. - -For cross-compilation however, ldconfig can't be used, and therefore -LDCONFIG is passed as /bin/true, and therefore it doesn't create the -symlink. So instead, create it directly inside the GNUmakefile, -without relying on ldconfig. - -Upstream: https://github.com/weidai11/cryptopp/pull/1101 -Signed-off-by: Kamel Bouhara -Signed-off-by: Thomas Petazzoni ---- - GNUmakefile | 1 + - GNUmakefile-cross | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/GNUmakefile b/GNUmakefile -index 23273edb..3b55e420 100644 ---- a/GNUmakefile -+++ b/GNUmakefile -@@ -1412,6 +1412,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) - $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) - ifeq ($(HAS_SOLIB_VERSION),1) - -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so -+ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) - $(LDCONF) $(DESTDIR)$(LIBDIR) - endif - endif -diff --git a/GNUmakefile-cross b/GNUmakefile-cross -index 9847f04b..a2b87e4a 100644 ---- a/GNUmakefile-cross -+++ b/GNUmakefile-cross -@@ -856,6 +856,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) - $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) - ifeq ($(HAS_SOLIB_VERSION),1) - -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so -+ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) - $(LDCONF) $(DESTDIR)$(LIBDIR) - endif - endif --- -2.33.1 - diff --git a/package/cryptopp/cryptopp.hash b/package/cryptopp/cryptopp.hash index 9a113b8f04..a7bc578da4 100644 --- a/package/cryptopp/cryptopp.hash +++ b/package/cryptopp/cryptopp.hash @@ -1,5 +1,5 @@ -# Hash from: https://www.cryptopp.com/release860.html: -sha512 e7773f5e4a7dc7e8e735b1702524bee56ba38e5211544c9c9778bc51ed8dc7b376c17f2e406410043b636312336f26f76dc963f298872f8c13933e88c232fc03 cryptopp860.zip +# Hash from: https://www.cryptopp.com/release890.html: +sha512 903970c4c0312272e93bae0cc3477be66b273dd38c9329fda9f7157ec44e247a3bc16b9d2b4ad625f258af0eaf2dc2c4210d4d14829b455f180983859a5c4b41 cryptopp890.zip # Hash for license file: -sha256 e668af8c73a38a66a1e8951d14ec24e7582fee5254dd6c3dae488a416d105d5f License.txt +sha256 78e4010b682cb94187fe0b57e50116d0ba271ef81104d1ddb35c80c3d81e3169 License.txt diff --git a/package/cryptopp/cryptopp.mk b/package/cryptopp/cryptopp.mk index 87d6fba237..a538f8c17d 100644 --- a/package/cryptopp/cryptopp.mk +++ b/package/cryptopp/cryptopp.mk @@ -4,7 +4,7 @@ # ################################################################################ -CRYPTOPP_VERSION = 8.6.0 +CRYPTOPP_VERSION = 8.9.0 CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip CRYPTOPP_SITE = https://cryptopp.com CRYPTOPP_LICENSE = BSL-1.0, BSD-3-Clause (CRYPTOGAMS), Public domain (ChaCha SSE2 and AVX) From fontaine.fabrice at gmail.com Sat Oct 28 21:03:48 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sat, 28 Oct 2023 23:03:48 +0200 Subject: [Buildroot] [PATCH 1/1] package/flashrom: bump to version 1.3.0 Message-ID: <20231028210348.1235466-1-fontaine.fabrice@gmail.com> https://www.flashrom.org/release_notes/v_1_3.html Signed-off-by: Fabrice Fontaine --- package/flashrom/flashrom.hash | 4 ++-- package/flashrom/flashrom.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/flashrom/flashrom.hash b/package/flashrom/flashrom.hash index 2ab463d93a..d3bfbad781 100644 --- a/package/flashrom/flashrom.hash +++ b/package/flashrom/flashrom.hash @@ -1,4 +1,4 @@ # Locally computed after checking pgp signature -# https://download.flashrom.org/releases/flashrom-v1.2.1.tar.bz2.asc -sha256 89a7ff5beb08c89b8795bbd253a51b9453547a864c31793302296b56bbc56d65 flashrom-v1.2.1.tar.bz2 +# https://download.flashrom.org/releases/flashrom-v1.3.0.tar.bz2.asc +sha256 a053234453ccd012e79f3443bdcc61625cf97b7fd7cb4cdd8bfbffbe8b149623 flashrom-v1.3.0.tar.bz2 sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index dd505987ed..ca55592dba 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLASHROM_VERSION = 1.2.1 +FLASHROM_VERSION = 1.3.0 FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2 FLASHROM_SITE = https://download.flashrom.org/releases FLASHROM_LICENSE = GPL-2.0+ -- 2.42.0 From bremenpl at gmail.com Sat Oct 28 21:04:22 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Sat, 28 Oct 2023 21:04:22 +0000 Subject: [Buildroot] Help with DTO In-Reply-To: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Message-ID: Hi Edgar and thank you for the answer! This tutorial walks you through a manual configuration. Note that Buildroot ships a ready-made configuration you can use: make beaglebone_defconfig # load the ready-made defconfig make menuconfig # if you want to tweak it make I see, so this is like a more proper template for BBB specifically, thanks! I started from scratch, because I wanted to try to learn as much as possible + the fact that I do not need the HDMI pins. Furthermore, I need to reuse them as gpio outputs and PRU inputs- for these, I think I need to configure the pins in specific mode 5 (PRU1) or 6 (PRU0). I do not understand why you need a device tree overlay. The tutorial gets you a kernel together with the am335x-boneblack device tree. This device tree already defines four GPIO chips. Can't you see them? Try ls /dev/gpiochip* Yes, I do see them: # ls /dev/gpiochip* /dev/gpiochip0 /dev/gpiochip1 /dev/gpiochip2 /dev/gpiochip3 My problem was that I was unable to export any of the gpios: # pwd /sys/class/gpio # echo 66 > export [23448.896503] export_store: invalid GPIO 66 sh: write error: Invalid argument I thought that these cannot be exported due to incorrect DTS- no? If you want to play with the GPIOs, I suggest you install the tools that come with libgpiod: in Target packages / Libraries / Hardware handling, select ?libgpiod?, then ?install tools?. Then, on the booted system, type Here, do you mean to choose all this in the make menuconfig dialog? Thanks already and in advance! -- ?ukasz Przenios?o ------ Original Message ------ >From "Edgar Bonet" To "?ukasz Przenios?o" ; buildroot at buildroot.org Date 2023-10-28 20:58:38 Subject Re: [Buildroot] Help with DTO >Hello! > >?ukasz Przenios?o wrote, about the BeagleBone: >> So I have the HW and virgin working Buildroot image baked thanks to >> this tutorial. >> (https://blog.billvanleeuwen.ca/creating-a-minimal-linux-system-for-the-beaglebone-black-with-buildroot) > >This tutorial walks you through a manual configuration. Note that >Buildroot ships a ready-made configuration you can use: > > make beaglebone_defconfig # load the ready-made defconfig > make menuconfig # if you want to tweak it > make > >> What I wanted to do next is to create a device tree overlay for all >> required GPIOs that would be compiled at kernel build time. > >I do not understand why you need a device tree overlay. The tutorial >gets you a kernel together with the am335x-boneblack device tree. This >device tree already defines four GPIO chips. Can't you see them? Try > > ls /dev/gpiochip* > >If you want to play with the GPIOs, I suggest you install the tools that >come with libgpiod: in Target packages / Libraries / Hardware handling, >select ?libgpiod?, then ?install tools?. Then, on the booted system, >type > > gpiodetect > gpioinfo > >You should see all the available GPIO chips, then all the GPIO lines. > >Regards, > >Edgar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.morin.1998 at free.fr Sat Oct 28 21:05:37 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:05:37 +0200 Subject: [Buildroot] [git commit] package/acsccid: bump to version 1.1.10 Message-ID: <20231028210559.CFE8A8607E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f1b14ea5a37c2ce338cf279bf6c750a5599036ae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://sourceforge.net/p/acsccid/news/2023/04/acsccid-119-released/ https://sourceforge.net/p/acsccid/news/2023/08/acsccid-1110-released/ Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/acsccid/acsccid.hash | 8 ++++---- package/acsccid/acsccid.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/acsccid/acsccid.hash b/package/acsccid/acsccid.hash index f43a7930a4..5310d78144 100644 --- a/package/acsccid/acsccid.hash +++ b/package/acsccid/acsccid.hash @@ -1,6 +1,6 @@ -# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.7/ -sha1 c0062401e5fedf3ec12c8c2d375d6e1561a8a8ed acsccid-1.1.8.tar.bz2 -md5 3eba7b2527aa0b14c73b1a620a1d72d2 acsccid-1.1.8.tar.bz2 +# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.10/ +sha1 6284a693b8edb511f2f80d9069af9b4a41fd55ae acsccid-1.1.10.tar.bz2 +md5 4d2b7f34414aed029084c96dd05a0e7d acsccid-1.1.10.tar.bz2 # Locally computed -sha256 f86fd846bc88594a569ea27040cb441d933b7eca8d51d2a90bacf161e7740051 acsccid-1.1.8.tar.bz2 +sha256 5ee112febdcac6656629025f3a85923f155f6ca150b2d24fd716f9043265528e acsccid-1.1.10.tar.bz2 sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING diff --git a/package/acsccid/acsccid.mk b/package/acsccid/acsccid.mk index db74e9cb76..463f0f24d6 100644 --- a/package/acsccid/acsccid.mk +++ b/package/acsccid/acsccid.mk @@ -4,7 +4,7 @@ # ################################################################################ -ACSCCID_VERSION = 1.1.8 +ACSCCID_VERSION = 1.1.10 ACSCCID_SOURCE = acsccid-$(ACSCCID_VERSION).tar.bz2 ACSCCID_SITE = http://downloads.sourceforge.net/acsccid ACSCCID_LICENSE = LGPL-2.1+ From yegorslists at googlemail.com Sat Oct 28 21:06:06 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Sat, 28 Oct 2023 23:06:06 +0200 Subject: [Buildroot] [PATCH v3 3/3] package/pkg-python.mk: migrate setuptools to pep517 In-Reply-To: <20230930152517.1077576-3-james.hilliard1@gmail.com> References: <20230930152517.1077576-1-james.hilliard1@gmail.com> <20230930152517.1077576-3-james.hilliard1@gmail.com> Message-ID: On Sat, Sep 30, 2023 at 5:25?PM James Hilliard wrote: > > Now that setuptools and its dependencies are using pep517 we can > migrate the setuptools infrastructure itself to use the pep517 > build frontend. > > As part of this we need to migrate the all python packages using > _BUILD_OPTS to the new config settings format used by the pep517 > build frontend. > > As maturin and setuptools-rust are now both pep517 based we can > combine the PYO3 env variables. > > Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov > --- > Changes v1 -> v3: > - rebase on master > - combine setuptools-rust and maturin env variables > - drop patch which is now upstream > --- > package/pkg-python.mk | 83 +++------------------- > package/python-evdev/python-evdev.mk | 4 +- > package/python-lxml/python-lxml.mk | 8 +-- > package/python-m2crypto/python-m2crypto.mk | 4 +- > package/python-pillow/python-pillow.mk | 35 +++++---- > package/python-psycopg2/python-psycopg2.mk | 5 +- > package/python-pyzmq/python-pyzmq.mk | 4 +- > package/python-uvloop/python-uvloop.mk | 6 +- > 8 files changed, 46 insertions(+), 103 deletions(-) > > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > index 28ee4cb85f..21c70df863 100644 > --- a/package/pkg-python.mk > +++ b/package/pkg-python.mk > @@ -79,48 +79,6 @@ HOST_PKG_PYTHON_DISTUTILS_ENV = \ > HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ > --prefix=$(HOST_DIR) > > -# Target setuptools-based packages > -PKG_PYTHON_SETUPTOOLS_ENV = \ > - $(PKG_PYTHON_ENV) > - > -PKG_PYTHON_SETUPTOOLS_CMD = \ > - $(if $(wildcard $($(PKG)_BUILDDIR)/setup.py),setup.py,-c 'from setuptools import setup;setup()') > - > -PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ > - --prefix=/usr \ > - --executable=/usr/bin/python \ > - --single-version-externally-managed > - > -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ > - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ > - --root=$(TARGET_DIR) > - > -PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ > - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ > - --root=$(STAGING_DIR) > - > -# Host setuptools-based packages > -HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ > - $(HOST_PKG_PYTHON_ENV) > - > -HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ > - --prefix=$(HOST_DIR) \ > - --root=/ \ > - --single-version-externally-managed > - > -# Target setuptools-rust-based packages > -PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ > - $(PKG_PYTHON_SETUPTOOLS_ENV) \ > - $(PKG_CARGO_ENV) \ > - PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" > - > -# Host setuptools-rust-based packages > -HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ > - $(HOST_PKG_PYTHON_SETUPTOOLS_ENV) \ > - $(HOST_PKG_CARGO_ENV) \ > - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)" > - > # Target pep517-based packages > PKG_PYTHON_PEP517_ENV = \ > $(PKG_PYTHON_ENV) > @@ -158,14 +116,14 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ > HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ > --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages > > -# Target maturin packages > -PKG_PYTHON_MATURIN_ENV = \ > +# Target pyo3 packages > +PKG_PYTHON_PYO3_ENV = \ > $(PKG_PYTHON_PEP517_ENV) \ > $(PKG_CARGO_ENV) \ > PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" > > -# Host maturin packages > -HOST_PKG_PYTHON_MATURIN_ENV = \ > +# Host pyo3 packages > +HOST_PKG_PYTHON_PYO3_ENV = \ > $(HOST_PKG_PYTHON_PEP517_ENV) \ > $(HOST_PKG_CARGO_ENV) \ > PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)" > @@ -207,30 +165,10 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_DISTUTILS_ENV) > $(2)_BASE_BUILD_CMD = setup.py build > $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) > endif > -# Setuptools > -else ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) > -ifeq ($(4),target) > -ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > -$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_ENV) > -else > -$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) > -endif > -$(2)_BASE_BUILD_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) build > -$(2)_BASE_INSTALL_TARGET_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install --no-compile $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) > -$(2)_BASE_INSTALL_STAGING_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) > -else > -ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV) > -else > -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) > -endif > -$(2)_BASE_BUILD_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) build > -$(2)_BASE_INSTALL_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) > -endif > -else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > +else ifneq ($$(filter flit maturin pep517 setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) > ifeq ($(4),target) > -ifeq ($$($(2)_SETUP_TYPE),maturin) > -$(2)_BASE_ENV = $$(PKG_PYTHON_MATURIN_ENV) > +ifneq ($$(filter maturin setuptools-rust,$$($(2)_SETUP_TYPE)),) > +$(2)_BASE_ENV = $$(PKG_PYTHON_PYO3_ENV) > else > $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) > endif > @@ -238,8 +176,8 @@ $(2)_BASE_BUILD_CMD = -m build -n -w > $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS) > $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) > else > -ifeq ($$($(2)_SETUP_TYPE),maturin) > -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_MATURIN_ENV) > +ifneq ($$(filter maturin setuptools-rust,$$($(2)_SETUP_TYPE)),) > +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PYO3_ENV) > else > $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) > endif > @@ -299,7 +237,8 @@ $(2)_DEPENDENCIES += host-python-setuptools > ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > $(2)_DEPENDENCIES += host-python-setuptools-rust > endif > -else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > +endif > +ifneq ($$(filter flit maturin pep517 setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) > $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > ifeq ($$($(2)_SETUP_TYPE),flit) > $(2)_DEPENDENCIES += host-python-flit-core > diff --git a/package/python-evdev/python-evdev.mk b/package/python-evdev/python-evdev.mk > index 5cf62b5160..b509b43e8a 100644 > --- a/package/python-evdev/python-evdev.mk > +++ b/package/python-evdev/python-evdev.mk > @@ -12,7 +12,7 @@ PYTHON_EVDEV_LICENSE = Revised BSD License > PYTHON_EVDEV_LICENSE_FILES = LICENSE > > PYTHON_EVDEV_BUILD_OPTS = \ > - build_ecodes \ > - --evdev-headers $(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h > + -C--build-option=build_ecodes \ > + -C--build-option=--evdev-headers=$(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h > > $(eval $(python-package)) > diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk > index 3ef3aabdbc..4454f5aa0c 100644 > --- a/package/python-lxml/python-lxml.mk > +++ b/package/python-lxml/python-lxml.mk > @@ -28,11 +28,11 @@ HOST_PYTHON_LXML_DEPENDENCIES = host-libxml2 host-libxslt host-zlib > # python-lxml needs these scripts in order to properly detect libxml2 and > # libxslt compiler and linker flags > PYTHON_LXML_BUILD_OPTS = \ > - --xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ > - --xml2-config=$(STAGING_DIR)/usr/bin/xml2-config > + -C--build-option=--xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ > + -C--build-option=--xml2-config=$(STAGING_DIR)/usr/bin/xml2-config > HOST_PYTHON_LXML_BUILD_OPTS = \ > - --xslt-config=$(HOST_DIR)/bin/xslt-config \ > - --xml2-config=$(HOST_DIR)/bin/xml2-config > + -C--build-option=--xslt-config=$(HOST_DIR)/bin/xslt-config \ > + -C--build-option=--xml2-config=$(HOST_DIR)/bin/xml2-config > > $(eval $(python-package)) > $(eval $(host-python-package)) > diff --git a/package/python-m2crypto/python-m2crypto.mk b/package/python-m2crypto/python-m2crypto.mk > index 3c28fa3b0d..d95361e689 100644 > --- a/package/python-m2crypto/python-m2crypto.mk > +++ b/package/python-m2crypto/python-m2crypto.mk > @@ -13,7 +13,9 @@ PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE > PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project > PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto > PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig > -PYTHON_M2CRYPTO_BUILD_OPTS = --openssl=$(STAGING_DIR)/usr > +PYTHON_M2CRYPTO_BUILD_OPTS = \ > + -C--build-option=build_ext \ > + -C--build-option=--openssl=$(STAGING_DIR)/usr > > # 0001-Mitigate-the-Bleichenbacher-timing-attacks-in-the-RSA-decryption-API-CVE-2020-25657.patch > PYTHON_M2CRYPTO_IGNORE_CVES += CVE-2020-25657 > diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk > index d9f6fba861..f37218b7c4 100644 > --- a/package/python-pillow/python-pillow.mk > +++ b/package/python-pillow/python-pillow.mk > @@ -14,61 +14,60 @@ PYTHON_PILLOW_CPE_ID_PRODUCT = pillow > PYTHON_PILLOW_SETUP_TYPE = setuptools > > PYTHON_PILLOW_DEPENDENCIES = host-pkgconf > -PYTHON_PILLOW_BUILD_OPTS = build_ext --disable-platform-guessing > -PYTHON_PILLOW_INSTALL_TARGET_OPTS = $(PYTHON_PILLOW_BUILD_OPTS) > +PYTHON_PILLOW_BUILD_OPTS = -C--build-option=build_ext -C--build-option=--disable-platform-guessing > > ifeq ($(BR2_PACKAGE_FREETYPE),y) > PYTHON_PILLOW_DEPENDENCIES += freetype > -PYTHON_PILLOW_BUILD_OPTS += --enable-freetype > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-freetype > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-freetype > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-freetype > endif > > ifeq ($(BR2_PACKAGE_JPEG),y) > PYTHON_PILLOW_DEPENDENCIES += jpeg > -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg > endif > > ifeq ($(BR2_PACKAGE_LCMS2),y) > PYTHON_PILLOW_DEPENDENCIES += lcms2 > -PYTHON_PILLOW_BUILD_OPTS += --enable-lcms > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-lcms > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-lcms > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-lcms > endif > > ifeq ($(BR2_PACKAGE_LIBXCB),y) > PYTHON_PILLOW_DEPENDENCIES += libxcb > -PYTHON_PILLOW_BUILD_OPTS += --enable-xcb > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-xcb > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-xcb > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-xcb > endif > > ifeq ($(BR2_PACKAGE_OPENJPEG),y) > PYTHON_PILLOW_DEPENDENCIES += openjpeg > -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000 > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg2000 > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg2000 > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg2000 > endif > > ifeq ($(BR2_PACKAGE_TIFF),y) > PYTHON_PILLOW_DEPENDENCIES += tiff > -PYTHON_PILLOW_BUILD_OPTS += --enable-tiff > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-tiff > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-tiff > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-tiff > endif > > ifeq ($(BR2_PACKAGE_WEBP),y) > PYTHON_PILLOW_DEPENDENCIES += webp > -PYTHON_PILLOW_BUILD_OPTS += --enable-webp > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webp > ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) > -PYTHON_PILLOW_BUILD_OPTS += --enable-webpmux > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webpmux > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-webpmux > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webpmux > endif > else > -PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux > +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webp -C--build-option=--disable-webpmux > endif > > $(eval $(python-package)) > diff --git a/package/python-psycopg2/python-psycopg2.mk b/package/python-psycopg2/python-psycopg2.mk > index fa23c2814f..6eea825b1c 100644 > --- a/package/python-psycopg2/python-psycopg2.mk > +++ b/package/python-psycopg2/python-psycopg2.mk > @@ -13,7 +13,8 @@ PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE > PYTHON_PSYCOPG2_DEPENDENCIES = postgresql > # Force psycopg2 to use the Buildroot provided postgresql version > # instead of the one from the host machine > -PYTHON_PSYCOPG2_BUILD_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config > -PYTHON_PSYCOPG2_INSTALL_TARGET_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config > +PYTHON_PSYCOPG2_BUILD_OPTS = \ > + -C--build-option=build_ext \ > + -C--build-option=--pg-config=$(STAGING_DIR)/usr/bin/pg_config > > $(eval $(python-package)) > diff --git a/package/python-pyzmq/python-pyzmq.mk b/package/python-pyzmq/python-pyzmq.mk > index 5792957eaf..1b7bceae5e 100644 > --- a/package/python-pyzmq/python-pyzmq.mk > +++ b/package/python-pyzmq/python-pyzmq.mk > @@ -12,7 +12,7 @@ PYTHON_PYZMQ_LICENSE = LGPL-3.0+, BSD-3-Clause, Apache-2.0 > PYTHON_PYZMQ_LICENSE_FILES = COPYING.LESSER COPYING.BSD > PYTHON_PYZMQ_DEPENDENCIES = host-python-packaging zeromq > PYTHON_PYZMQ_SETUP_TYPE = setuptools > -PYTHON_PYZMQ_BUILD_OPTS = --zmq=$(STAGING_DIR)/usr > +PYTHON_PYZMQ_BUILD_OPTS = -C--build-option=--zmq=$(STAGING_DIR)/usr > > # Due to issues with cross-compiling, hardcode to the zeromq in BR > define PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION > @@ -23,7 +23,7 @@ endef > PYTHON_PYZMQ_POST_PATCH_HOOKS += PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION > > ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y) > -PYTHON_PYZMQ_BUILD_OPTS += --enable-drafts > +PYTHON_PYZMQ_BUILD_OPTS += -C--build-option=--enable-drafts > endif > > $(eval $(python-package)) > diff --git a/package/python-uvloop/python-uvloop.mk b/package/python-uvloop/python-uvloop.mk > index 147062cf7b..b072f37313 100644 > --- a/package/python-uvloop/python-uvloop.mk > +++ b/package/python-uvloop/python-uvloop.mk > @@ -10,8 +10,10 @@ PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/ba/86/6dda1760481ab > PYTHON_UVLOOP_SETUP_TYPE = setuptools > PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT > PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT > -PYTHON_UVLOOP_BUILD_OPTS = build_ext --inplace --use-system-libuv > -PYTHON_UVLOOP_INSTALL_TARGET_OPTS = build_ext --inplace --use-system-libuv > PYTHON_UVLOOP_DEPENDENCIES = libuv > +PYTHON_UVLOOP_BUILD_OPTS = \ > + -C--build-option=build_ext \ > + -C--build-option=--inplace \ > + -C--build-option=--use-system-libuv > > $(eval $(python-package)) > -- > 2.34.1 > From yann.morin.1998 at free.fr Sat Oct 28 21:08:07 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:08:07 +0200 Subject: [Buildroot] [PATCH 1/1] package/acsccid: bump to version 1.1.10 In-Reply-To: <20231028205100.1220118-1-fontaine.fabrice@gmail.com> References: <20231028205100.1220118-1-fontaine.fabrice@gmail.com> Message-ID: <20231028210807.GB687180@scaer> Fabrice, All, On 2023-10-28 22:51 +0200, Fabrice Fontaine spake thusly: > https://sourceforge.net/p/acsccid/news/2023/04/acsccid-119-released/ > https://sourceforge.net/p/acsccid/news/2023/08/acsccid-1110-released/ > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. ... along with the set of version bumps from tonight you sent so far. Regards, Yann E. MORIN. > --- > package/acsccid/acsccid.hash | 8 ++++---- > package/acsccid/acsccid.mk | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/package/acsccid/acsccid.hash b/package/acsccid/acsccid.hash > index f43a7930a4..5310d78144 100644 > --- a/package/acsccid/acsccid.hash > +++ b/package/acsccid/acsccid.hash > @@ -1,6 +1,6 @@ > -# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.7/ > -sha1 c0062401e5fedf3ec12c8c2d375d6e1561a8a8ed acsccid-1.1.8.tar.bz2 > -md5 3eba7b2527aa0b14c73b1a620a1d72d2 acsccid-1.1.8.tar.bz2 > +# From https://sourceforge.net/projects/acsccid/files/acsccid/1.1.10/ > +sha1 6284a693b8edb511f2f80d9069af9b4a41fd55ae acsccid-1.1.10.tar.bz2 > +md5 4d2b7f34414aed029084c96dd05a0e7d acsccid-1.1.10.tar.bz2 > # Locally computed > -sha256 f86fd846bc88594a569ea27040cb441d933b7eca8d51d2a90bacf161e7740051 acsccid-1.1.8.tar.bz2 > +sha256 5ee112febdcac6656629025f3a85923f155f6ca150b2d24fd716f9043265528e acsccid-1.1.10.tar.bz2 > sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING > diff --git a/package/acsccid/acsccid.mk b/package/acsccid/acsccid.mk > index db74e9cb76..463f0f24d6 100644 > --- a/package/acsccid/acsccid.mk > +++ b/package/acsccid/acsccid.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -ACSCCID_VERSION = 1.1.8 > +ACSCCID_VERSION = 1.1.10 > ACSCCID_SOURCE = acsccid-$(ACSCCID_VERSION).tar.bz2 > ACSCCID_SITE = http://downloads.sourceforge.net/acsccid > ACSCCID_LICENSE = LGPL-2.1+ > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 21:09:04 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:04 +0200 Subject: [Buildroot] [PATCH 0/4] support/download: accept user-provided list of extra hash files (branch yem/multi-hash) Message-ID: Hello All! For packages where the version can be specified by the user (e.g. with a custom version string, a custom tarball location, a custom git tree and changeset...), Buildroot can't carry hashes for those, and thus does not check the integritiy of the downloads. Add the possibility for users to provide hashes for those, by leveraging the global patch dir setting, to look up extra hash files in a way similar to how extra patches are looked up in there. Users who provide such extra hashes will most probably be interested in ensuring that no download ever gets used without an actual integrity check, so also add an option the requires all downloads to have at least one valid hash (and no invalid ones, of course), rather than ignoring downloads for custom versions. Regards, Yann E. MORIN. ---------------------------------------------------------------- Yann E. MORIN (4): docs/manual: svn downloads can be hash-checked support/download: teach dl-wrapper to handle more than one hash file package/pkg-download: lookup hash files in global-patch-dir pkg-download: add option to enforce hash checking Config.in | 30 ++++++++++++-- docs/manual/adding-packages-directory.adoc | 12 ++++-- docs/manual/customize-patches.adoc | 25 +++++++++++- package/pkg-download.mk | 15 +++++-- support/download/check-hash | 64 ++++++++++++++++-------------- support/download/dl-wrapper | 10 ++--- 6 files changed, 110 insertions(+), 46 deletions(-) -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 21:09:04 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:04 +0200 Subject: [Buildroot] [PATCH 1/4] docs/manual: svn downloads can be hash-checked In-Reply-To: References: Message-ID: <5d97168a26fda40c66ff51e3b52faeb8d6a8201e.1698527340.git.yann.morin.1998@free.fr> Since commit 89f5e989323a (support/download/svn: generate reproducible svn archives), we've been able to generate reproducible archives, and thus we have been able to verify the hashes for those archives. However, the manual was not changed, and still falsely hinted that this was not the cae. Fix that. Signed-off-by: Yann E. MORIN --- docs/manual/adding-packages-directory.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual/adding-packages-directory.adoc b/docs/manual/adding-packages-directory.adoc index 04f5241d05..7150018a3b 100644 --- a/docs/manual/adding-packages-directory.adoc +++ b/docs/manual/adding-packages-directory.adoc @@ -534,9 +534,9 @@ typically indicates that the +.hash+ file is wrong but the downloaded file is probably OK. Hashes are currently checked for files fetched from http/ftp servers, -Git repositories, files copied using scp and local files. Hashes are -not checked for other version control systems (such as Subversion, -CVS, etc.) because Buildroot currently does not generate reproducible +Git or subversion repositories, files copied using scp and local files. +Hashes are not checked for other version control systems (such as CVS, +mercurial) because Buildroot currently does not generate reproducible tarballs when source code is fetched from such version control systems. -- 2.25.1 From yann.morin.1998 at free.fr Sat Oct 28 21:09:05 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:05 +0200 Subject: [Buildroot] [PATCH 2/4] support/download: teach dl-wrapper to handle more than one hash file In-Reply-To: References: Message-ID: <16d16274d5380dc52799d359704f1075c777c1eb.1698527340.git.yann.morin.1998@free.fr> Currently, we expect and only use hash files that lie within the package directory, alongside the .mk file. Those hash files are thus bundeld with Buildroot. This implies that only what's known to Buildroot can ever get into those hash files. For packages where the version is fixed (or a static choice), then we can carry hashes for those known versions. However, we do have a few packages for which the version is a free-form entry, where the user can provide a custom location and/or version. like a custom VCS tree and revision, or a custom tarball URL. This means that Buildroot has no way to be able to cary hashes for such custom versions. This means that there is no integrity check that what was downloaded is what was expected. For a sha1 in a git tree, this is a minor issue, because the sha1 by itself is already a hash of the expected content. But for custom tarballs URLs, or for a tag in a VCS, there is indeed no integrity check. Buildroot can't provide such hashes, but interested users may want to provide those, and currently there is no (easy) way to do so. So, we need our download helpers to be able to accept more than one hash file to lookup for hashes. Extend the dl-wrapper and the check-hash helpers thusly. Reported-by: "Martin Zeiser (mzeiser)" Signed-off-by: Yann E. MORIN --- support/download/check-hash | 64 ++++++++++++++++++++----------------- support/download/dl-wrapper | 10 +++--- 2 files changed, 39 insertions(+), 35 deletions(-) diff --git a/support/download/check-hash b/support/download/check-hash index 5a47f49bc3..03a6557187 100755 --- a/support/download/check-hash +++ b/support/download/check-hash @@ -3,12 +3,12 @@ set -e # Helper to check a file matches its known hash # Call it with: -# $1: the path of the file containing all the expected hashes -# $2: the full path to the temporary file that was downloaded, and +# $1: the full path to the temporary file that was downloaded, and # that is to be checked -# $3: the final basename of the file, to which it will be ultimately +# $2: the final basename of the file, to which it will be ultimately # saved as, to be able to match it to the corresponding hashes # in the .hash file +# $*: the paths of the files containing all the expected hashes # # Exit codes: # 0: the hash file exists and the file to check matches all its hashes, @@ -27,28 +27,21 @@ while getopts :q OPT; do done shift $((OPTIND-1)) -h_file="${1}" -file="${2}" -base="${3}" - -# Bail early if no hash to check -if [ -z "${h_file}" ]; then - exit 0 -fi -# Does the hash-file exist? -if [ ! -f "${h_file}" ]; then - printf "WARNING: no hash file for %s\n" "${base}" >&2 - exit 0 -fi +file="${1}" +base="${2}" +shift 2 +declare -a h_files=( "${@}" ) # Check one hash for a file # $1: algo hash # $2: known hash # $3: file (full path) +# $4: hash file (full path) check_one_hash() { _h="${1}" _known="${2}" _file="${3}" + _h_file="${4}" # Note: md5 is supported, but undocumented on purpose. # Note: sha3 is not supported, since there is currently no implementation @@ -70,6 +63,7 @@ check_one_hash() { return 0 fi + printf "ERROR: while checking hashes from %s\n" "${_h_file}" >&2 printf "ERROR: %s has wrong %s hash:\n" "${base}" "${_h}" >&2 printf "ERROR: expected: %s\n" "${_known}" >&2 printf "ERROR: got : %s\n" "${_hash}" >&2 @@ -79,21 +73,31 @@ check_one_hash() { } # Do we know one or more hashes for that file? +nb_h_files=0 nb_checks=0 -while read t h f; do - case "${t}" in - ''|'#'*) - # Skip comments and empty lines - continue - ;; - *) - if [ "${f}" = "${base}" ]; then - check_one_hash "${t}" "${h}" "${file}" - : $((nb_checks++)) - fi - ;; - esac -done <"${h_file}" +for h_file in "${h_files[@]}"; do + [ -f "${h_file}" ] || continue + : $((nb_h_files++)) + while read t h f; do + case "${t}" in + ''|'#'*) + # Skip comments and empty lines + continue + ;; + *) + if [ "${f}" = "${base}" ]; then + check_one_hash "${t}" "${h}" "${file}" "${h_file}" + : $((nb_checks++)) + fi + ;; + esac + done <"${h_file}" +done + +if [ ${nb_h_files} -eq 0 ]; then + printf "WARNING: no hash file for %s\n" "${base}" >&2 + exit 0 +fi if [ ${nb_checks} -eq 0 ]; then case " ${BR_NO_CHECK_HASH_FOR} " in diff --git a/support/download/dl-wrapper b/support/download/dl-wrapper index 1e8d6058f6..35428faeef 100755 --- a/support/download/dl-wrapper +++ b/support/download/dl-wrapper @@ -21,8 +21,8 @@ export BR_BACKEND_DL_GETOPTS=":hc:d:o:n:N:H:lru:qf:e" main() { local OPT OPTARG - local backend output hfile large_file recurse quiet rc - local -a uris + local backend output large_file recurse quiet rc + local -a uris hfiles # Parse our options; anything after '--' is for the backend while getopts ":c:d:D:o:n:N:H:lrf:u:qp:" OPT; do @@ -33,7 +33,7 @@ main() { o) output="${OPTARG}";; n) raw_base_name="${OPTARG}";; N) base_name="${OPTARG}";; - H) hfile="${OPTARG}";; + H) hfiles+=( "${OPTARG}" );; l) large_file="-l";; r) recurse="-r";; f) filename="${OPTARG}";; @@ -70,7 +70,7 @@ main() { # - fails at least one of its hashes: force a re-download # - there's no hash (but a .hash file): consider it a hard error if [ -e "${output}" ]; then - if support/download/check-hash ${quiet} "${hfile}" "${output}" "${output##*/}"; then + if support/download/check-hash ${quiet} "${output}" "${output##*/}" "${hfiles[@]}"; then exit 0 elif [ ${?} -ne 2 ]; then # Do not remove the file, otherwise it might get re-downloaded @@ -154,7 +154,7 @@ main() { # Check if the downloaded file is sane, and matches the stored hashes # for that file - if support/download/check-hash ${quiet} "${hfile}" "${tmpf}" "${output##*/}"; then + if support/download/check-hash ${quiet} "${tmpf}" "${output##*/}" "${hfiles[@]}"; then rc=0 else if [ ${?} -ne 3 ]; then -- 2.25.1 From yann.morin.1998 at free.fr Sat Oct 28 21:09:06 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:06 +0200 Subject: [Buildroot] [PATCH 3/4] package/pkg-download: lookup hash files in global-patch-dir In-Reply-To: References: Message-ID: Currently, we expect and only use hash files that lie within the package directory, alongside the .mk file. Those hash files are thus bundeld with Buildroot. This implies that only what's known to Buildroot can ever get into those hash files. For packages where the version is fixed (or a static choice), then we can carry hashes for those known versions. However, we do have a few packages for which the version is a free-form entry, where the user can provide a custom location and/or version. like a custom VCS tree and revision, or a custom tarball URL. This means that Buildroot has no way to be able to cary hashes for such custom versions. This means that there is no integrity check that what was downloaded is what was expected. For a sha1 in a git tree, this is a minor issue, because the sha1 by itself is already a hash of the expected content. But for custom tarballs URLs, or for a tag in a VCS, there is indeed no integrity check. Buildroot can't provide such hashes, but interested users may want to provide those, and currently there is no (easy) way to do so. We leverage the existng global-patch-dir mechanism to look for extra hash files. We use the same heuristic that is used for bundled hash files, plus a simple way to provide hashes in bulk, and use the first to exist: 1. look into ///.hash 2. look into //.hash 3. look into /all.hash Note: we do not introduce the use of /.hash on purpose, as we believe it is better to provide and use a single all.hash file. Reported-by: "Martin Zeiser (mzeiser)" Signed-off-by: Yann E. MORIN --- Config.in | 11 ++++++---- docs/manual/adding-packages-directory.adoc | 6 ++++++ docs/manual/customize-patches.adoc | 25 +++++++++++++++++++++- package/pkg-download.mk | 10 +++++++++ 4 files changed, 47 insertions(+), 5 deletions(-) diff --git a/Config.in b/Config.in index 556b6c2575..a808e51a68 100644 --- a/Config.in +++ b/Config.in @@ -664,12 +664,12 @@ config BR2_PACKAGE_OVERRIDE_FILE documentation for more details on this feature. config BR2_GLOBAL_PATCH_DIR - string "global patch directories" + string "global patch and hash directories" help You may specify a space separated list of one or more - directories containing global package patches. For a specific - version of a specific package , - patches are applied as follows: + directories containing global package patches and/or hashes. + For a specific version of a specific package + , patches are looked up as follows: First, the default Buildroot patch set for the package is applied from the package's directory in Buildroot. @@ -683,6 +683,9 @@ config BR2_GLOBAL_PATCH_DIR exists, then all *.patch files in the directory will be applied. + The hash files are looked up similarly to the patches, with + an additional fallback in /all.hash. + menu "Advanced" config BR2_FORCE_HOST_BUILD diff --git a/docs/manual/adding-packages-directory.adoc b/docs/manual/adding-packages-directory.adoc index 7150018a3b..da7aa4640e 100644 --- a/docs/manual/adding-packages-directory.adoc +++ b/docs/manual/adding-packages-directory.adoc @@ -540,6 +540,12 @@ mercurial) because Buildroot currently does not generate reproducible tarballs when source code is fetched from such version control systems. +Additionally, for packages for which it is possible to specify a custom +version (e.g. a custom version string, a remote tarball URL, or a VCS +repository location and changeset, Buildroot can't carry hashes for +those. It is however possible to xref:customize-hashes[provide a list of +extra hashes] that can cover such cases. + Hashes should only be added in +.hash+ files for files that are guaranteed to be stable. For example, patches auto-generated by Github are not guaranteed to be stable, and therefore their hashes can change diff --git a/docs/manual/customize-patches.adoc b/docs/manual/customize-patches.adoc index eb98d1bea2..925ea09d8e 100644 --- a/docs/manual/customize-patches.adoc +++ b/docs/manual/customize-patches.adoc @@ -1,8 +1,10 @@ // -*- mode:doc -*- ; // vim: set syntax=asciidoc: +=== Adding project-specific patches and hashes + [[customize-patches]] -=== Adding project-specific patches +==== Providing extra patches It is sometimes useful to apply 'extra' patches to packages - on top of those provided in Buildroot. This might be used to support custom @@ -57,3 +59,24 @@ are available at a URL. *Note:* +BR2_LINUX_KERNEL_PATCH+ specifies kernel patches that are applied after patches available in +BR2_GLOBAL_PATCH_DIR+, as it is done from a post-patch hook of the Linux package. + +[[customize-hashes]] +==== Providing extra hashes + +Buildroot bundles a xref:adding-packages-hash[list of hashes] against +which it checks the integrity of the downloaded archives, or of those +it generates locally from VCS checkouts). However, it can only do so +for the known versions; for packages where it is possible to specify +a custom version (e.g. a custom version string, a remote tarball URL, +or a VCS repository location and changeset), Buildroot can't carry +hashes for those. + +For users concerned with the integrity of such downloads, it is possible +to provide a list of hashes that Buildroot can use to check arbitrary +downloaded files. Those extra hashes are looked up similarly to the +extra patches (above); for each directory in +BR2_GLOBAL_PATCH_DIR+, +the first file to exist is used to check a package download: + +* +///.hash+ +* +//.hash+ +* +/all.hash+ diff --git a/package/pkg-download.mk b/package/pkg-download.mk index e5cd83d859..0d38ff7a5f 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -116,6 +116,16 @@ define DOWNLOAD -D '$(DL_DIR)' \ -f '$(notdir $(1))' \ -H '$($(2)_HASH_FILE)' \ + $(foreach d, $(call qstrip,$(BR2_GLOBAL_PATCH_DIR)), \ + -H \ + $(if $(wildcard $(d)/$($(2)_RAWNAME)/$($(2)_VERSION)/$($(2)_RAWNAME).hash), \ + '$(d)/$($(2)_RAWNAME)/$($(2)_VERSION)/$($(2)_RAWNAME).hash', \ + $(if $(wildcard $(d)/$($(2)_RAWNAME)/$($(2)_RAWNAME).hash), \ + '$(d)/$($(2)_RAWNAME)/$($(2)_RAWNAME).hash', \ + '$(d)/all.hash' \ + ) \ + ) \ + ) \ -n '$($(2)_BASENAME_RAW)' \ -N '$($(2)_RAWNAME)' \ -o '$($(2)_DL_DIR)/$(notdir $(1))' \ -- 2.25.1 From yann.morin.1998 at free.fr Sat Oct 28 21:09:07 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sat, 28 Oct 2023 23:09:07 +0200 Subject: [Buildroot] [PATCH 4/4] pkg-download: add option to enforce hash checking In-Reply-To: References: Message-ID: <12e7348f0897e91fac5ce1b331939424340e7e27.1698527340.git.yann.morin.1998@free.fr> Currently, when a pacakge is downloaded from a custom location or version, Buildroot excludes such a package from the mandatory integrity check with hashes, because it was until now not possible to have such hashes. We now have a mechanism which users can leverage to provide additional hashes, and so custom versions or locations can now be checked too. Buildroot has no way to know that hashes have indeed been provided for a custom location/version, and so will still happilly ignore an unchecked package. However, users who do provide extra hashes most probably do expect that no download is done without an integrity check, and thus expect that a missing hash not be ignored. Add an option that users can select to make Buildroot forcibly require at least one valid hash, and no invalid hash, for all downloads. Reported-by: "Martin Zeiser (mzeiser)" Signed-off-by: Yann E. MORIN --- Config.in | 19 +++++++++++++++++++ package/pkg-download.mk | 5 ++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/Config.in b/Config.in index a808e51a68..7808947a05 100644 --- a/Config.in +++ b/Config.in @@ -700,6 +700,25 @@ config BR2_FORCE_HOST_BUILD This option will increase build time. +config BR2_DOWNLOAD_FORCE_CHECK_HASHES + bool "Force all downloads to have a valid hash" + depends on BR2_GLOBAL_PATCH_DIR != "" + help + For packages where a custom version or location can be set, + Buildroot does not carry a hash for those custom versions or + locations, so the integrity of such downloads is not verified. + + Say 'y' here to enforce downloads to have at least one valid + hash (and of course, that all hashes be valid). + + Those hashes are looked in files in BR2_GLOBAL_PATCH_DIR, + using the same heuristic as for the patches. Additionally, a + file named 'all.hash' can be used to store the hashes of many + packages. + +comment "Forcing all downloads to have a valid hash needs a global patch directory" + depends on BR2_GLOBAL_PATCH_DIR = "" + config BR2_REPRODUCIBLE bool "Make the build reproducible (experimental)" # SOURCE_DATE_EPOCH support in toolchain-wrapper requires GCC 4.4 diff --git a/package/pkg-download.mk b/package/pkg-download.mk index 0d38ff7a5f..a7d856d2c4 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -66,9 +66,7 @@ github = https://github.com/$(1)/$(2)/archive/$(3) gitlab = https://gitlab.com/$(1)/$(2)/-/archive/$(3) # Expressly do not check hashes for those files -# Exported variables default to immediately expanded in some versions of -# make, but we need it to be recursively-epxanded, so explicitly assign it. -export BR_NO_CHECK_HASH_FOR = +BR_NO_CHECK_HASH_FOR = ################################################################################ # DOWNLOAD_URIS - List the candidates URIs where to get the package from: @@ -110,6 +108,7 @@ endif define DOWNLOAD $(Q)mkdir -p $($(2)_DL_DIR) $(Q)$(EXTRA_ENV) $($(2)_DL_ENV) \ + BR_NO_CHECK_HASH_FOR="$(if $(BR2_DOWNLOAD_FORCE_CHECK_HASHES),,$(BR_NO_CHECK_HASH_FOR))" \ flock $($(2)_DL_DIR)/.lock $(DL_WRAPPER) \ -c '$($(2)_DL_VERSION)' \ -d '$($(2)_DL_DIR)' \ -- 2.25.1 From yann.morin.1998 at free.fr Sat Oct 28 22:08:20 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:08:20 +0200 Subject: [Buildroot] [PATCH 1/1] package/spirv-tools: needs C++17 In-Reply-To: <20231002165435.347541-1-fontaine.fabrice@gmail.com> References: <20231002165435.347541-1-fontaine.fabrice@gmail.com> Message-ID: <20231028220820.GD687180@scaer> Fabrice, All, On 2023-10-02 18:54 +0200, Fabrice Fontaine spake thusly: > Fix the following build failure raised since the addition of the package > in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: > > CMake Error at CMakeLists.txt:17 (project): > No CMAKE_CXX_COMPILER could be found. > > Fixes: > - http://autobuild.buildroot.org/results/aff5b968342bf05f036c8e1e557c404060345d30 > > Signed-off-by: Fabrice Fontaine > --- > package/spirv-tools/Config.in | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in > index e2f46253a9..39fdb80b86 100644 > --- a/package/spirv-tools/Config.in > +++ b/package/spirv-tools/Config.in > @@ -1,8 +1,14 @@ > config BR2_PACKAGE_SPIRV_TOOLS > bool "spirv-tools" > + depends on BR2_INSTALL_LIBSTDCPP Ah, you already had a C++ dependency in spirv-tools before the one added for spirv-headers... Applied to master, thanks. Regards, Yann E. MORIN. > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 > select BR2_PACKAGE_SPIRV_HEADERS > help > The SPIR-V Tools project provides an API and commands for > processing SPIR-V modules. > > https://github.com/KhronosGroup/SPIRV-Tools > + > +comment "spirv-tools needs a toolchain w/ C++, gcc >= 7" > + depends on !BR2_INSTALL_LIBSTDCPP || \ > + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 > -- > 2.40.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 22:13:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:13:10 +0200 Subject: [Buildroot] [PATCH v2 1/1] package/spirv-tools: fix build issue In-Reply-To: <20231027091526.2224829-1-enki@fsck.pl> References: <20231027091526.2224829-1-enki@fsck.pl> Message-ID: <20231028221310.GE687180@scaer> Maciej, All, On 2023-10-27 11:15 +0200, Maciej Grela spake thusly: > spirv-tools requires a C++ toolchain with shared libs, add flag dependency and comment. Fabrice had already sent a patch adding C++ requirement, and since it also was more strict in requiring C++17, I applied his patch. > Fixes: http://autobuild.buildroot.net/results/53b3cf124d6c299398e620120465eca396ddcdff > Fixes: http://autobuild.buildroot.net/results/a1f615d2410bffb6fdacc8586761c9def05aafa9 > Fixes: http://autobuild.buildroot.net/results/294ade8c9aa3d650fa5ab6cc34701c4176bc197f > Fixes: http://autobuild.buildroot.net/results/40e8f50eb7e82ca42f84fa5f4336cefb51204a28 > Fixes: http://autobuild.buildroot.net/results/3c3be2c454863709d0db896bafbe11cd9df092a3 > Fixes: http://autobuild.buildroot.net/results/8df8de1aeaf1317f6ba43f6752502da2eedcdea1 > Fixes: http://autobuild.buildroot.net/results/ea2c1f97e82efcd867c79f05ab02f5f099140379 > Fixes: http://autobuild.buildroot.net/results/fa4e39d1e78e885d20851201ed8a6fcf9d48d7d6 > Fixes: http://autobuild.buildroot.net/results/4ed3f13b3ce178f8fe87de7aee86acb9642e3434 > Fixes: http://autobuild.buildroot.net/results/e1b4853a7e8714fd2af8f8677681c9895034b3e8 AFAICS, none of those relate to shared libraries, but only to C++. Can you point to a build failure that is explicitly about shared libs? > Signed-off-by: Maciej Grela > --- > package/spirv-tools/Config.in | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in > index e2f46253a9..f1ae11bd09 100644 > --- a/package/spirv-tools/Config.in > +++ b/package/spirv-tools/Config.in > @@ -1,6 +1,11 @@ > +comment "spirv-tools needs a toolchain w/ C++, dynamic library" > + depends on !BR2_INSTALL_LIBSTDCPP || ( !BR2_SHARED_LIBS && !BR2_SHARED_STATIC_LIBS ) > + > config BR2_PACKAGE_SPIRV_TOOLS > bool "spirv-tools" > select BR2_PACKAGE_SPIRV_HEADERS > + depends on BR2_INSTALL_LIBSTDCPP > + depends on BR2_SHARED_LIBS || BR2_SHARED_STATIC_LIBS Also this is technically correct (and I would thinkg semantically the best), we usally use the shorter dependnecy on !static: depends on !BR2_STATIC_LIBS You also forgot to add a comment for when the condition is not met. So, if sahred libs is really required, can you respin a patch with the above fixed, please? Regards, Yann E. MORIN. > help > The SPIR-V Tools project provides an API and commands for > processing SPIR-V modules. > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 22:06:35 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:06:35 +0200 Subject: [Buildroot] [git commit] package/spirv-tools: needs C++17 Message-ID: <20231028221546.C67F386088@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=836a11aaa68593e80466c26fea49384b622dc2eb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure raised since the addition of the package in commit 0a01085abeb7d8a097cb68b9f7f4faec7711543c: CMake Error at CMakeLists.txt:17 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/aff5b968342bf05f036c8e1e557c404060345d30 Signed-off-by: Fabrice Fontaine [yann.morin.1998 at free.fr: needs C++ for itself, drop inherited comment] Signed-off-by: Yann E. MORIN --- package/spirv-tools/Config.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in index 345b8e7331..39fdb80b86 100644 --- a/package/spirv-tools/Config.in +++ b/package/spirv-tools/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_SPIRV_TOOLS bool "spirv-tools" - depends on BR2_INSTALL_LIBSTDCPP # spirv-headers + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 select BR2_PACKAGE_SPIRV_HEADERS help The SPIR-V Tools project provides an API and commands for @@ -8,5 +9,6 @@ config BR2_PACKAGE_SPIRV_TOOLS https://github.com/KhronosGroup/SPIRV-Tools -comment "spirv-tools needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP +comment "spirv-tools needs a toolchain w/ C++, gcc >= 7" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 From yann.morin.1998 at free.fr Sat Oct 28 22:35:03 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:35:03 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: fix package build with gcc 4.8 In-Reply-To: <20231027155221.977752-1-ovlevin@salutedevices.com> References: <20231027155221.977752-1-ovlevin@salutedevices.com> Message-ID: <20231028223503.GF687180@scaer> Oleg, All, On 2023-10-27 18:52 +0300, Oleg Lyovin via buildroot spake thusly: > python-pycryptodomex uses C99 features like variable > declaration in for-loop statement, while old compilers > assumes C89 by default. > > This patch explicitly specifies C99 standard. > > Change-Id: I934211714307cea43541167fbc72ff30fb66ad5f > Signed-off-by: Oleg Lyovin > --- > package/python-pycryptodomex/python-pycryptodomex.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk > index 3790aa4787..ee8ce6e069 100644 > --- a/package/python-pycryptodomex/python-pycryptodomex.mk > +++ b/package/python-pycryptodomex/python-pycryptodomex.mk > @@ -13,5 +13,11 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ > Public Domain (pycrypto original code) > PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto > > +PYTHON_PYCRYPTODOMEX_CFLAGS = -std=c99 > + > +PYTHON_PYCRYPTODOMEX_ENV = \ > + CFLAGS="$(PYTHON_PYCRYPTODOMEX_CFLAGS)" > +HOST_PYTHON_PYCRYPTODOMEX_ENV = $(PYTHON_PYCRYPTODOMEX_ENV) It is weird to use the target settings for the host settings, even if they appear to be identical. Instead, we prefer duplicating the assignment; indeed if the target variable gains target-related settings in the future, they would inadvertently leak into the host variant. The second issue is that (AFAIU) passing CFLAGS in the environment will override the other CFLAGS we set in our infrastructure, and we instead must complement them, see for example how it's done in python-brotli. So, I've done that, and... the target settings leaked into the host variable... So, I've fixed that so that the host and target variant are based of the TARGET/HOST_CFLAGS, plus -std=c99 Applied to master with the above fix, thanks. Regards, Yann E. MORIN. > $(eval $(python-package)) > $(eval $(host-python-package)) > -- > 2.42.0.270.gbcb6cae296 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sat Oct 28 22:30:17 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 00:30:17 +0200 Subject: [Buildroot] [git commit] package/python-pycryptodomex: fix package build with gcc 4.8 Message-ID: <20231028223510.7C8E586093@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=3c6f3af24db4b79d652874dd6c381ce3d6c5266b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master python-pycryptodomex uses C99 features like variable declaration in for-loop statement, while old compilers assumes C89 by default. This patch explicitly specifies C99 standard. Signed-off-by: Oleg Lyovin [yann.morin.1998 at free.fr: use TARGET/HOST_CFLAGS] Signed-off-by: Yann E. MORIN --- package/python-pycryptodomex/python-pycryptodomex.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index 3790aa4787..d6eb2a9513 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -13,5 +13,8 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ Public Domain (pycrypto original code) PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto +PYTHON_PYCRYPTODOMEX_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99" +HOST_PYTHON_PYCRYPTODOMEX_ENV = CFLAGS="$(HOST_CFLAGS) -std=c99" + $(eval $(python-package)) $(eval $(host-python-package)) From yann.morin.1998 at free.fr Sat Oct 28 22:50:38 2023 From: yann.morin.1998 at free.fr (Yann E. MO RIN) Date: Sun, 29 Oct 2023 00:50:38 +0200 Subject: [Buildroot] [PATCH 1/1] package/fscryptctl: add choice between v1 and v2 versions In-Reply-To: <20231027161010.980901-1-ovlevin@salutedevices.com> References: <20231027161010.980901-1-ovlevin@salutedevices.com> Message-ID: <20231028225038.GG687180@scaer> Oleg, All, +John for commit b832f6eb9d On 2023-10-27 19:10 +0300, Oleg Lyovin via buildroot spake thusly: > b832f6eb9d bumped fscryptctl to the version that > does not support fscrypt v1. However, there may be > active users that already has v1 configuration without > an ability to migrate to v2, so the above change would > break them. > > This patch adds the option to choice which fscryptctl > version to use assuming v2 by default. It is very exceptional that we allow chosing a version, so you'll need to provide more explanations than "without an ability to migrate to v2". Why is it not possible for those users to migrate? Note that commit b832f6eb9d stated: There are unlikely to be many v1 users and the format has some known vulnerabilities so no compatibility option is included. So this was a mindful decision not to provide such compatibility, especially because of the vulnerability issues. In the odd case that we do indeed need to provide that choice, then there is no need to split in two, as it is totally possible to write everything in a single .mk in conditional blocs. E.g. (elided for brevity): choice prompt "fscryptctl variant" config BR2_PACKAGE_FSCRYPTCTL_V1 bool "v1 (deprecated)" config BR2_PACKAGE_FSCRYPTCTL_V2 bool "v2" endchoice config BR2_PACKAGE_FSCRYPTCTL_VERSION string default "f037dcf4354ce8f25d0f371b58dfe7a7ac27576f" if BR2_PACKAGE_FSCRYPTCTL_V1 default "1.0.0" if BR2_PACKAGE_FSCRYPTCTL_V2 and then in the .mk: FSCRYPTCTL_VERSION = $(call qstrip,$(BR2_PACKAGE_FSCRYPTCTL_VERSION)) FSCRYPTCTL_GIT_VERSION = $(if $(BR2_PACKAGE_FSCRYPTCTL_V2),v)$(FSCRYPTCTL_VERSION) FSCRYPTCTL_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_GIT_VERSION)) FSCRYPTCTL_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_PACKAGE_FSCRYPTCTL_V2),y) FSCRYPTCTL_CFLAGS += -std=c99 endif define FSCRYPTCTL_BUILD_CMDS $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(FSCRYPTCTL_CFLAGS)" fscryptctl endef define FSCRYPTCTL_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl endef $(eval $(generic-package)) Toally untested, and missing all the rest of the usual variables... But of course, this still needs a good explanations why this is needed. Regards, Yann E. MORIN. > Signed-off-by: Oleg Lyovin > --- > package/fscryptctl/Config.in | 22 +++++++++++++++++++ > package/fscryptctl/fscryptctl.mk | 22 +------------------ > .../fscryptctl_v1/fscryptctl_v1.hash | 3 +++ > .../fscryptctl/fscryptctl_v1/fscryptctl_v1.mk | 20 +++++++++++++++++ > .../fscryptctl_v2.hash} | 2 +- > .../fscryptctl/fscryptctl_v2/fscryptctl_v2.mk | 21 ++++++++++++++++++ > 6 files changed, 68 insertions(+), 22 deletions(-) > create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash > create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk > rename package/fscryptctl/{fscryptctl.hash => fscryptctl_v2/fscryptctl_v2.hash} (81%) > create mode 100644 package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk > > diff --git a/package/fscryptctl/Config.in b/package/fscryptctl/Config.in > index 91b9ba8ebe..2fb7176ad9 100644 > --- a/package/fscryptctl/Config.in > +++ b/package/fscryptctl/Config.in > @@ -10,3 +10,25 @@ config BR2_PACKAGE_FSCRYPTCTL > (BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O encrypt -b 4096") > > https://github.com/google/fscryptctl > + > +if BR2_PACKAGE_FSCRYPTCTL > + > +choice > + prompt "fscryptctl variant" > + default BR2_PACKAGE_FSCRYPTCTL_V2 > + help > + Select the version of fscrypt. > + > +config BR2_PACKAGE_FSCRYPTCTL_V2 > + bool "fscrpyctl_v2" > + help > + Support the latest fscrypt v2 implementation. > + > +config BR2_PACKAGE_FSCRYPTCTL_V1 > + bool "fscryptctl_v1" > + help > + v1 is deprecated, enable this only for legacy configurations. > + > +endchoice > + > +endif > diff --git a/package/fscryptctl/fscryptctl.mk b/package/fscryptctl/fscryptctl.mk > index 0546f67a1f..e3571f4e07 100644 > --- a/package/fscryptctl/fscryptctl.mk > +++ b/package/fscryptctl/fscryptctl.mk > @@ -1,21 +1 @@ > -################################################################################ > -# > -# fscryptctl > -# > -################################################################################ > - > -FSCRYPTCTL_VERSION = 1.0.0 > -FSCRYPTCTL_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_VERSION)) > -FSCRYPTCTL_LICENSE = Apache-2.0 > -FSCRYPTCTL_LICENSE_FILES = LICENSE > - > -define FSCRYPTCTL_BUILD_CMDS > - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > - CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl > -endef > - > -define FSCRYPTCTL_INSTALL_TARGET_CMDS > - $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl > -endef > - > -$(eval $(generic-package)) > +include $(sort $(wildcard package/fscryptctl/*/*.mk)) > diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash > new file mode 100644 > index 0000000000..f810aaacb5 > --- /dev/null > +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 970a8febbcbf315313711d8a7ee3d954dea593d8087744d3cba65f6cb4bebcc1 fscryptctl_v1-f037dcf4354ce8f25d0f371b58dfe7a7ac27576f.tar.gz > +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE > diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk > new file mode 100644 > index 0000000000..c1c1ab34f2 > --- /dev/null > +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk > @@ -0,0 +1,20 @@ > +################################################################################ > +# > +# fscryptctl_v1 > +# > +################################################################################ > + > +FSCRYPTCTL_V1_VERSION = f037dcf4354ce8f25d0f371b58dfe7a7ac27576f > +FSCRYPTCTL_V1_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_V1_VERSION)) > +FSCRYPTCTL_V1_LICENSE = Apache-2.0 > +FSCRYPTCTL_V1_LICENSE_FILES = LICENSE > + > +define FSCRYPTCTL_V1_BUILD_CMDS > + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) fscryptctl > +endef > + > +define FSCRYPTCTL_V1_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl > +endef > + > +$(eval $(generic-package)) > diff --git a/package/fscryptctl/fscryptctl.hash b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash > similarity index 81% > rename from package/fscryptctl/fscryptctl.hash > rename to package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash > index 0dcca6893e..61ff022310 100644 > --- a/package/fscryptctl/fscryptctl.hash > +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl-1.0.0.tar.gz > +sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl_v2-1.0.0.tar.gz > sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE > diff --git a/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk > new file mode 100644 > index 0000000000..847a7bbcda > --- /dev/null > +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk > @@ -0,0 +1,21 @@ > +################################################################################ > +# > +# fscryptctl_v2 > +# > +################################################################################ > + > +FSCRYPTCTL_V2_VERSION = 1.0.0 > +FSCRYPTCTL_V2_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_V2_VERSION)) > +FSCRYPTCTL_V2_LICENSE = Apache-2.0 > +FSCRYPTCTL_V2_LICENSE_FILES = LICENSE > + > +define FSCRYPTCTL_V2_BUILD_CMDS > + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > + CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl > +endef > + > +define FSCRYPTCTL_V2_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl > +endef > + > +$(eval $(generic-package)) > -- > 2.42.0.270.gbcb6cae296 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From thomas.petazzoni at bootlin.com Sun Oct 29 06:34:41 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Sun, 29 Oct 2023 06:34:41 -0000 Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2023-10-28 Message-ID: <20231029063447.E2AFB405C5@smtp2.osuosl.org> Hello, Autobuild statistics for 2023-10-28 =================================== branch | OK | NOK | TIM | TOT | 2023.02.x | 17 | 6 | 0 | 23 | 2023.08.x | 15 | 6 | 0 | 21 | master | 39 | 82 | 0 | 121 | Classification of failures by reason for master ----------------------------------------------- unknown | 8 openrc-0.43.3 | 7 bird-2.0.12 | 6 gcc-final-12.3.0 | 5 linux-6.5.8 | 4 spirv-tools-1.3.261.1 | 4 host-rust-1.71.1 | 3 linux-pam-1.5.3 | 3 liquid-dsp-1.5.0 | 3 gcc-final-11.4.0 | 2 host-sentry-cli-2.20.3 | 2 libarchive-3.7.2 | 2 libglib2-2.76.1 | 2 monit-5.33.0 | 2 motion-4.5.1 | 2 nushell-0.85.0 | 2 samba4-4.19.1 | 2 apcupsd-3.14.14 | 1 at-spi2-core-2.48.3 | 1 check-11970a7e112dfe243a2e6... | 1 cryptodev-linux-1.13 | 1 docker-compose-2.23.0 | 1 elfutils-0.189 | 1 fftw-quad-3.3.10 | 1 glibc-2.38-27-g750a45a78390... | 1 gobject-introspection-1.76.1 | 1 grub2-2.06 | 1 host-go-1.21.3 | 1 irqbalance-1.9.0 | 1 libmemcached-1.1.4 | 1 libselinux-3.5 | 1 linux-5.10.162-cip24 | 1 ltrace-82c66409c7a93ca6ad2e... | 1 mongodb-4.2.18 | 1 openvmtools-11.3.5-18557794 | 1 pppd-2.5.0 | 1 ruby-3.1.3 | 1 spirv-headers-1.3.261.1 | 1 trace-cmd-2.9.7 | 1 xenomai-3.0.10 | 1 Detail of failures for master ----------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- x86_64 | apcupsd-3.14.14 | NOK | http://autobuild.buildroot.net/results/9c4637cbcb0ad25f2bd7bffbff6cdf4565bdc3d6 | mipsel | at-spi2-core-2.48.3 | NOK | http://autobuild.buildroot.net/results/1c96b1bcd4edcd0d726c5cff1cabbaa514d7e536 | x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/a98c671e42241c2cc6393f794293592142d5ff8b | sh4aeb | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/17beebb3e156af16bfab49a195025d5f7590d00b | x86_64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/82b1b07eef6fed903e62d149d4ae837160b67e93 | i686 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/22e9388ee77c89066833b84f17ade6ed68e10fb0 | mips64 | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/b356e0be3a526eb8e24503ecbf318cb2a27e2366 | mipsel | bird-2.0.12 | NOK | http://autobuild.buildroot.net/results/dce8459f911d9ca1e358048890b6b7b968263b3c | arc | check-11970a7e112dfe243a2e6... | NOK | http://autobuild.buildroot.net/results/26f55f56326534529f6cf91c12f08cc1651d1b77 | ORPH mipsel | cryptodev-linux-1.13 | NOK | http://autobuild.buildroot.net/results/2ae20e4d0465e8899aae777e0c64aebe318d38f5 | ORPH x86_64 | docker-compose-2.23.0 | NOK | http://autobuild.buildroot.net/results/58ea41d912513fe371a43b53198e0b476d2b4ede | microblazeel | elfutils-0.189 | NOK | http://autobuild.buildroot.net/results/4cc4d624581beb5cd15862ce7b2794eb66e236c4 | ORPH powerpc64le | fftw-quad-3.3.10 | NOK | http://autobuild.buildroot.net/results/ba79decc92e7c017e6083d2efa3790e2ef6c6ba1 | ORPH or1k | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/c91db3a6f039836a86db6a4eda1b52c1bd521925 | riscv64 | gcc-final-11.4.0 | NOK | http://autobuild.buildroot.net/results/d62ff2f6e83c81e4b204488d3ae6fb1a72e2173c | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/8ecc437bb4c2df9b40710f1222c9f817f7c9e433 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/30523b9e26bcc49a5888e75445534231ae56a453 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/390d2255731f7723fc7d9f5f13f6ffb7ccb229d1 | riscv64 | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/bb4bafcf1ad8d13b5769ace3fcf25a20ae278ef6 | m68k | gcc-final-12.3.0 | NOK | http://autobuild.buildroot.net/results/84e2982489c5eb47d8d3b4c056a0c72d3da561ce | powerpc | glibc-2.38-27-g750a45a78390... | NOK | http://autobuild.buildroot.net/results/a74cfadddc2adea37a234ff9f827dfabbc1ff4ae | i686 | gobject-introspection-1.76.1 | NOK | http://autobuild.buildroot.net/results/70e8fef490eca118e9a94ec483450bda4d7104d9 | ORPH arm | grub2-2.06 | NOK | http://autobuild.buildroot.net/results/8fd74ec7aae3e9b5602644744012c8e5e94c16a4 | mips64 | host-go-1.21.3 | NOK | http://autobuild.buildroot.net/results/dd890e1befbeba5faf5b0cf80e737fb64c26413b | mipsel | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/9e7b2add9bb3d9c41933b2fc125f10be8962e050 | armeb | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/46593270ea6eb53661cd141615ea9cfe36bb35d3 | aarch64 | host-rust-1.71.1 | NOK | http://autobuild.buildroot.net/results/707909455c2fb5637fdc0783a44d21ab69093d1b | sh4eb | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/0e75dd926d4b0c8a5e7e99b760f4f80fb76b2458 | microblaze | host-sentry-cli-2.20.3 | NOK | http://autobuild.buildroot.net/results/8b8ba5288fe3da81859f53eb8474aec558d36358 | sparc | irqbalance-1.9.0 | NOK | http://autobuild.buildroot.net/results/da78821f5e12147df8ee1fb4cfd7f0c2042211da | powerpc64le | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/07fe8422d228140f432f0963875ce53fd48bd62c | riscv64 | libarchive-3.7.2 | NOK | http://autobuild.buildroot.net/results/82029895ea856f221a26a2bcd5fde5ccb191cda5 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/0468f506839aa1a26864539d658a0743d9333482 | arc | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/6bba844865c32bf8c709053e2be3a821a8b50f35 | arc | libmemcached-1.1.4 | NOK | http://autobuild.buildroot.net/results/00d54363bf812c07a42bfb4eb0f4e4b2c6bb9003 | ORPH microblaze | libselinux-3.5 | NOK | http://autobuild.buildroot.net/results/1479e3fb29879b741334dd9e2a49ae0132d1fd13 | powerpc64le | linux-5.10.162-cip24 | NOK | http://autobuild.buildroot.net/results/a4293c5b7e81eae07c40a4c369fa59c951bc39c9 | ORPH mipsel | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/569f5dd8ca0d4d392aa9acf53ad58ce6d58d7611 | ORPH arm | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/665b4ad4b2f9a0b738f649c31815db1f55c06f6c | ORPH microblazeel | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/72f1981fd13182dbec86d1b8f9a6ed5e3abf1ba6 | ORPH mips | linux-6.5.8 | NOK | http://autobuild.buildroot.net/results/da8794715cf1d37c2abb4f7f1ab484ab8b6f926e | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/a0b8c3a287c4b420ab937d8c92e8130453bd46c4 | ORPH sparc | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/73e34c461f9c8e162584f0256f0a41df5cbea670 | ORPH arm | linux-pam-1.5.3 | NOK | http://autobuild.buildroot.net/results/bc0c77108a529b913dbecbd4baf97b8721a17028 | ORPH arm | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/cf5ec48d468834d59ef5d0b1067d34af3a061969 | i686 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/852a4121dff6b660fe0e9383ef8f971678a4d7a7 | x86_64 | liquid-dsp-1.5.0 | NOK | http://autobuild.buildroot.net/results/11555089361d53f9734028c8781078ca1055e6ff | x86_64 | ltrace-82c66409c7a93ca6ad2e... | NOK | http://autobuild.buildroot.net/results/fab58a9d13238dee7f3069029cf3beee737b6842 | ORPH x86_64 | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/f1ec704978ce7352890342f2babc6e39573c2fbd | arceb | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/d29dc251b41d2e83dc7e7b1c2a198ec744a8b5e1 | sparc | monit-5.33.0 | NOK | http://autobuild.buildroot.net/results/72448be2c6ebb10a3dde20e84c75a18360e51411 | s390x | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/371f3cbc97ac7b31aedd03c1d25d377568eca6c1 | powerpc | motion-4.5.1 | NOK | http://autobuild.buildroot.net/results/859764c490059ffee1da298e0e7f4df6502296c4 | sparc64 | nushell-0.85.0 | NOK | http://autobuild.buildroot.net/results/3fb882629cb1f36adab6e59f65a1ef17b0cb4fef | mips | nushell-0.85.0 | NOK | http://autobuild.buildroot.net/results/ca8fbbbd4d68f345b885599856ecdf3a04b9f66d | nios2 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/c9ade5e9367237ce2de9e3cd7810131f067fa82a | powerpc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/9c8c090aa0557f83d8951b3edd9b9dcec19f132a | powerpc64le | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/ce607fb7cb6b22a00637e9cc08845b0388222a7e | sparc64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/b01b3071a7e497314beabaf436a14c16a7eaa137 | arm | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a29e90b90f213baa2b6dc7ed99eea8937f50f124 | x86_64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/a4afe60719bf08a7dc4edcb2c6acf790a87350ba | mips64 | openrc-0.43.3 | NOK | http://autobuild.buildroot.net/results/21290b5c8ceb8b0ea9c5a12921f2952368ab10de | x86_64 | openvmtools-11.3.5-18557794 | NOK | http://autobuild.buildroot.net/results/875b1df22d28f7458102fa6d9ec0895fe24932a2 | sparc64 | pppd-2.5.0 | NOK | http://autobuild.buildroot.net/results/83146b60ee7cb7ba01f11f1249c1d8bcbb8617fa | arc | ruby-3.1.3 | NOK | http://autobuild.buildroot.net/results/a3b07ce03d1ad923f4f6d6214ddc1a4861d11fd0 | or1k | samba4-4.19.1 | NOK | http://autobuild.buildroot.net/results/230d94fcfb237016cf010b2e91f9e33c8f64582e | arm | samba4-4.19.1 | NOK | http://autobuild.buildroot.net/results/d11e9a06079acd73f1bd267d7cdceb348aa0f091 | xtensa | spirv-headers-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/4b94edf6dee03e74ff53939aa228069cc6ba4292 | riscv32 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/41321c99ef42448320e5ca8d19e797cb5355d51c | ORPH armeb | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5fe759a566a2475171c33cfd077a55c669fb2b27 | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/f44be881a988fe9f90b713b2cec5fe7fbd91315e | ORPH sparc64 | spirv-tools-1.3.261.1 | NOK | http://autobuild.buildroot.net/results/5f8989964f94ded7b2255e1f4ca94e0cf242b0c2 | ORPH sh4a | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/e5fb39324d4d99c9aec39d686fda9e1e18e6750e | powerpc64le | unknown | NOK | http://autobuild.buildroot.net/results/aa4e142e0883faa24b7191618bd7e285f817c508 | mips64 | unknown | NOK | http://autobuild.buildroot.net/results/05b4f63a6e0cb7c731129ff86699ce079e3f072c | arceb | unknown | NOK | http://autobuild.buildroot.net/results/ddfe0f287e52f3c84a9052dc0b1427be4de5bcbe | m68k | unknown | NOK | http://autobuild.buildroot.net/results/6e51cd25fccf6a7a55316e8722377195c115c2b1 | arceb | unknown | NOK | http://autobuild.buildroot.net/results/2aa60e5c53087f7423cb3f1677b71a805506e2fb | x86_64 | unknown | NOK | http://autobuild.buildroot.net/results/4c2d95e9edfc9ce4506bd97116134ada2f3db5ec | riscv32 | unknown | NOK | http://autobuild.buildroot.net/results/24589bd70ca57c0db2651b02d0d8afa3998c2ede | armeb | unknown | NOK | http://autobuild.buildroot.net/results/dcb5ff5b40b3363a4afc5444a812f246a0ba7b8f | sh4eb | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/55f863811798dcf9052ecb0cbaec95e5fa3f1d33 | Classification of failures by reason for 2023.02.x -------------------------------------------------- elfutils-0.186 | 2 host-rust-1.67.1 | 2 libxml2-2.10.4 | 1 unknown | 1 Detail of failures for 2023.02.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- microblaze | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/2f1f230b82cd6725451b874107cebf37b0f41954 | ORPH microblazeel | elfutils-0.186 | NOK | http://autobuild.buildroot.net/results/6b23a1e25bafbf844ba1a772e7fed3b8182a0047 | ORPH aarch64 | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/532d67a98e051041d415fe19d8760129d8ecb653 | mipsel | host-rust-1.67.1 | NOK | http://autobuild.buildroot.net/results/ecdebc67bf128583035d1f928692a9e354f7863a | armeb | libxml2-2.10.4 | NOK | http://autobuild.buildroot.net/results/43c5cde010b6925a41d21af59d8ba7173bc12d6b | sh4aeb | unknown | NOK | http://autobuild.buildroot.net/results/e2a7e003beafcedb994996c808fab9e56a2d6261 | Classification of failures by reason for 2023.08.x -------------------------------------------------- libglib2-2.76.1 | 2 host-go-1.20.10 | 1 trace-cmd-2.9.7 | 1 unknown | 1 xenomai-3.0.10 | 1 Detail of failures for 2023.08.x -------------------------------- arch | reason | OK? | url | orph? -------------+--------------------------------+-----+---------------------------------------------------------------------------------+------- mips64 | host-go-1.20.10 | NOK | http://autobuild.buildroot.net/results/d092f1c786c563a6a53f257c32314e01169ef031 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/e306f52dfa9032bafa0bfccab02df08095f42050 | arceb | libglib2-2.76.1 | NOK | http://autobuild.buildroot.net/results/13c5b3e0de5dc4b95999ef16a1a1fd92c0179160 | arm | trace-cmd-2.9.7 | NOK | http://autobuild.buildroot.net/results/a9c77463a107f69d6da5813269616f9bbe9f06e1 | aarch64 | unknown | NOK | http://autobuild.buildroot.net/results/7a1bdc79893b016b7ad98bdece320566e462215e | aarch64_be | xenomai-3.0.10 | NOK | http://autobuild.buildroot.net/results/3f8cb5b436d66fa61c661a03d86c56315b739431 | -- http://autobuild.buildroot.net From yann.morin.1998 at free.fr Sun Oct 29 08:32:52 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:52 +0100 Subject: [Buildroot] [git commit] package/libopenssl: security bump version to 3.1.4 Message-ID: <20231029083901.55BBC860E0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c4006bff7cb51041bb61740880ed5839ccc30bc7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes CVE-2023-5363: https://www.openssl.org/news/secadv/20231024.txt https://www.openssl.org/news/vulnerabilities.html Changelog: https://www.openssl.org/news/cl31.txt Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/libopenssl/libopenssl.hash | 4 ++-- package/libopenssl/libopenssl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash index 9126175977..29ced7cddd 100644 --- a/package/libopenssl/libopenssl.hash +++ b/package/libopenssl/libopenssl.hash @@ -1,5 +1,5 @@ -# From https://www.openssl.org/source/openssl-3.1.3.tar.gz.sha256 -sha256 f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6 openssl-3.1.3.tar.gz +# From https://www.openssl.org/source/openssl-3.1.4.tar.gz.sha256 +sha256 840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3 openssl-3.1.4.tar.gz # License files sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index b69ef032f2..b8b6ec6bff 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOPENSSL_VERSION = 3.1.3 +LIBOPENSSL_VERSION = 3.1.4 LIBOPENSSL_SITE = https://www.openssl.org/source LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz LIBOPENSSL_LICENSE = Apache-2.0 From yann.morin.1998 at free.fr Sun Oct 29 08:32:58 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:58 +0100 Subject: [Buildroot] [git commit] package/sdbus-cpp: bump to version 1.4.0 Message-ID: <20231029083901.5FCEF860E1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b02338f06635478df7f862cfeef261ac873787d5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://github.com/Kistler-Group/sdbus-cpp/releases/tag/v1.4.0 Signed-off-by: Sergey Bobrenok Signed-off-by: Yann E. MORIN --- package/sdbus-cpp/sdbus-cpp.hash | 2 +- package/sdbus-cpp/sdbus-cpp.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash index f5fc8d6868..379864e3ba 100644 --- a/package/sdbus-cpp/sdbus-cpp.hash +++ b/package/sdbus-cpp/sdbus-cpp.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 d44f59abdd64d8f1ca3af7db58bc6518cb081fc9ff16285c3d75a68f5c073d10 v1.3.0.tar.gz +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk index 2a6b67d6e3..2c3844094e 100644 --- a/package/sdbus-cpp/sdbus-cpp.mk +++ b/package/sdbus-cpp/sdbus-cpp.mk @@ -4,7 +4,7 @@ # ################################################################################ -SDBUS_CPP_VERSION = 1.3.0 +SDBUS_CPP_VERSION = 1.4.0 SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) SDBUS_CPP_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Sun Oct 29 08:32:33 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:33 +0100 Subject: [Buildroot] [git commit] package/php: bump version to 8.2.12 Message-ID: <20231029083901.36B9C860DD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a40924107d63551906050b199fe6b93d479a96ce branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 Release notes: https://www.php.net/releases/8_2_12.php Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index e5f94a5e05..0f77f0082f 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz +sha256 e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132 php-8.2.12.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index ee33000a6f..add46584c6 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.11 +PHP_VERSION = 8.2.12 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From yann.morin.1998 at free.fr Sun Oct 29 08:33:17 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:17 +0100 Subject: [Buildroot] [git commit] package/docker-cli: bump version to v24.0.7 Message-ID: <20231029083901.7C5CB860DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ae2dc6ae619dfea517a833cd184890b8bca3768a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Minor bugfix in docker ps status description. https://github.com/moby/moby/releases/tag/v24.0.7 Signed-off-by: Stefan Agner Signed-off-by: Yann E. MORIN --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index 5d8c1b0f59..9c8d08bba5 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c1a4a580ced3633e489c5c9869a20198415da44df7023fdc200d425cdf5fa652 docker-cli-24.0.6.tar.gz +sha256 72a54d131c28938221c81bd08364459fed9c71c093d4d615d324aaf31de6db1d docker-cli-24.0.7.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index 53c9ddb6b8..95fce27ffb 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 24.0.6 +DOCKER_CLI_VERSION = 24.0.7 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From yann.morin.1998 at free.fr Sun Oct 29 08:33:11 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:11 +0100 Subject: [Buildroot] [git commit] package/docker-engine: bump version to v24.0.7 Message-ID: <20231029083901.737FB860DD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d2290e614196bfec05c3bd08cdca1c98cb7d0bf2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The overlay2 layers metadata are now written atomically. Many other bugfixes and hardening against security issues around the power capping framework. https://github.com/moby/moby/releases/tag/v24.0.7 Signed-off-by: Stefan Agner Signed-off-by: Yann E. MORIN --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 7a8b17d3f3..931d6529e1 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 29a8ee54e9ea008b40eebca42dec8b67ab257eb8ac175f67e79c110e4187d7d2 docker-engine-24.0.6.tar.gz +sha256 16a2cb4cf4d314a070085e0df06e3a6bd9ec678d28715b64060af694fc9051d5 docker-engine-24.0.7.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index a8f47254a4..34e74c09c6 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 24.0.6 +DOCKER_ENGINE_VERSION = 24.0.7 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From yann.morin.1998 at free.fr Sun Oct 29 08:33:31 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:31 +0100 Subject: [Buildroot] [git commit] package/flashrom: bump to version 1.3.0 Message-ID: <20231029083901.8E776860E1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=073b0fc9c1fe9945eccf4b792b948633aae9a9b8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master https://www.flashrom.org/release_notes/v_1_3.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/flashrom/flashrom.hash | 4 ++-- package/flashrom/flashrom.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/flashrom/flashrom.hash b/package/flashrom/flashrom.hash index 2ab463d93a..d3bfbad781 100644 --- a/package/flashrom/flashrom.hash +++ b/package/flashrom/flashrom.hash @@ -1,4 +1,4 @@ # Locally computed after checking pgp signature -# https://download.flashrom.org/releases/flashrom-v1.2.1.tar.bz2.asc -sha256 89a7ff5beb08c89b8795bbd253a51b9453547a864c31793302296b56bbc56d65 flashrom-v1.2.1.tar.bz2 +# https://download.flashrom.org/releases/flashrom-v1.3.0.tar.bz2.asc +sha256 a053234453ccd012e79f3443bdcc61625cf97b7fd7cb4cdd8bfbffbe8b149623 flashrom-v1.3.0.tar.bz2 sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index dd505987ed..ca55592dba 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -4,7 +4,7 @@ # ################################################################################ -FLASHROM_VERSION = 1.2.1 +FLASHROM_VERSION = 1.3.0 FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2 FLASHROM_SITE = https://download.flashrom.org/releases FLASHROM_LICENSE = GPL-2.0+ From yann.morin.1998 at free.fr Sun Oct 29 08:32:46 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:46 +0100 Subject: [Buildroot] [git commit] package/tvheadend: bump version Message-ID: <20231029083901.46A16860DF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c1b3aac218afcda84b5ce20fdbb8b1522457bd18 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes build with python 3.12. Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/tvheadend/tvheadend.hash | 2 +- package/tvheadend/tvheadend.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tvheadend/tvheadend.hash b/package/tvheadend/tvheadend.hash index 5b021edcc3..5a9ec3df23 100644 --- a/package/tvheadend/tvheadend.hash +++ b/package/tvheadend/tvheadend.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 9d8e68d1442403709846b93e7994652a1eca0f03924924d3a4dd31b882851375 tvheadend-fe47ecb5504a521fed9c1ca9705fb0dd2bb8443a.tar.gz +sha256 98a27a6a5ce2fc800df6d154534f494582418f6b24b3a1c30267785d191e50df tvheadend-62adbebfd062d7b97829268274aad92df2033784.tar.gz sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942 LICENSE.md diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk index f9303ef2fe..1d4e6ee30c 100644 --- a/package/tvheadend/tvheadend.mk +++ b/package/tvheadend/tvheadend.mk @@ -4,7 +4,7 @@ # ################################################################################ -TVHEADEND_VERSION = fe47ecb5504a521fed9c1ca9705fb0dd2bb8443a +TVHEADEND_VERSION = 62adbebfd062d7b97829268274aad92df2033784 TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION)) TVHEADEND_LICENSE = GPL-3.0+ TVHEADEND_LICENSE_FILES = LICENSE.md From yann.morin.1998 at free.fr Sun Oct 29 08:33:04 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:04 +0100 Subject: [Buildroot] [git commit] package/onevpl-intel-gpu: bump version to 23.4.0 Message-ID: <20231029083901.6A0F586091@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c76fc2cda140e793964d012a87d9c3136ac85b45 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/onevpl-intel-gpu/onevpl-intel-gpu.hash | 2 +- package/onevpl-intel-gpu/onevpl-intel-gpu.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/onevpl-intel-gpu/onevpl-intel-gpu.hash b/package/onevpl-intel-gpu/onevpl-intel-gpu.hash index fa25c507eb..5f7728e5f9 100644 --- a/package/onevpl-intel-gpu/onevpl-intel-gpu.hash +++ b/package/onevpl-intel-gpu/onevpl-intel-gpu.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 9de6bfd17259b7434f2bb4fb6d2874decf9b1d4587ec9b90d91188049921e32f onevpl-intel-gpu-23.3.4.tar.gz +sha256 0939232daa2ef3e35b453e4aa0d25674a9b2376b4ef814fb64712cf587654787 onevpl-intel-gpu-23.4.0.tar.gz sha256 c31c3cc5fd66d1250dbca1c3d9011a9f874537442ac71c8de80f2f0fed13f297 LICENSE diff --git a/package/onevpl-intel-gpu/onevpl-intel-gpu.mk b/package/onevpl-intel-gpu/onevpl-intel-gpu.mk index c7c557e9e2..8c9275fe75 100644 --- a/package/onevpl-intel-gpu/onevpl-intel-gpu.mk +++ b/package/onevpl-intel-gpu/onevpl-intel-gpu.mk @@ -4,7 +4,7 @@ # ################################################################################ -ONEVPL_INTEL_GPU_VERSION = 23.3.4 +ONEVPL_INTEL_GPU_VERSION = 23.4.0 ONEVPL_INTEL_GPU_SITE = $(call github,oneapi-src,oneVPL-intel-gpu,intel-onevpl-$(ONEVPL_INTEL_GPU_VERSION)) ONEVPL_INTEL_GPU_LICENSE = MIT ONEVPL_INTEL_GPU_LICENSE_FILES = LICENSE From yann.morin.1998 at free.fr Sun Oct 29 08:32:40 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:32:40 +0100 Subject: [Buildroot] [git commit] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231029083901.3C6C186091@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=96298d3b547670f3fdff26dccc095161ef17d6e4 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- linux/Config.in | 2 +- linux/linux.hash | 14 +++++++------- package/linux-headers/Config.in.host | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 21313ded51..195b0dc00e 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.8" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.5.9" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 720598252b..78d1395e66 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 299cca897d90deaa176eebec42f0a80eeb7516afed330a45c14da9de086cf717 linux-6.5.8.tar.xz -sha256 627f7724c675036639290fb5c39e3fdeb3d566b80b192c45f4a808ab54c8c0a0 linux-6.1.59.tar.xz +sha256 c6662f64713f56bf30e009c32eac15536fad5fd1c02e8a3daf62a0dc2f058fd5 linux-6.5.9.tar.xz +sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 c624b9fe7ee4708d34cfd0b7ebc58037afac7463338cc498641ea31c55eeacb8 linux-5.15.136.tar.xz -sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz -sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz +sha256 9749b21609f9e7ad9c46160c2c107db823b99cef77fa6cb080b6c2dc685fb2f7 linux-5.15.137.tar.xz +sha256 a0ea77a1f5eeb1387d62e7a8df585ffc53758e4da153d98224ccd833bd2624c1 linux-5.10.199.tar.xz +sha256 ffe6e4fa1266d5480e529fc8659f572c57030040c548face30f56fd5a223bba4 linux-5.4.259.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz -sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz +sha256 9d89e0bc6503c0d61178fd1605f6ed04b016873b9f370372866644b11fee3d31 linux-4.19.297.tar.xz +sha256 1db5926e02dc29b30d77f731228d3bd31402e2feba3aa59bfb2c730eedbeecc5 linux-4.14.328.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index d48cfa3787..bb624147ec 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -404,13 +404,13 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.327" if BR2_KERNEL_HEADERS_4_14 - default "4.19.296" if BR2_KERNEL_HEADERS_4_19 - default "5.4.258" if BR2_KERNEL_HEADERS_5_4 - default "5.10.198" if BR2_KERNEL_HEADERS_5_10 - default "5.15.136" if BR2_KERNEL_HEADERS_5_15 - default "6.1.59" if BR2_KERNEL_HEADERS_6_1 - default "6.5.8" if BR2_KERNEL_HEADERS_6_5 + default "4.14.328" if BR2_KERNEL_HEADERS_4_14 + default "4.19.297" if BR2_KERNEL_HEADERS_4_19 + default "5.4.259" if BR2_KERNEL_HEADERS_5_4 + default "5.10.199" if BR2_KERNEL_HEADERS_5_10 + default "5.15.137" if BR2_KERNEL_HEADERS_5_15 + default "6.1.60" if BR2_KERNEL_HEADERS_6_1 + default "6.5.9" if BR2_KERNEL_HEADERS_6_5 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From yann.morin.1998 at free.fr Sun Oct 29 08:33:24 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:33:24 +0100 Subject: [Buildroot] [git commit] package/kodi-pvr-iptvsimple: bump version to 20.11.1-Nexus Message-ID: <20231029083901.85D0D860E0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e110aad3abb7eeff1359cd8254419e459b91172f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- 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 8f60721163..0895b2e910 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 c2014b11dd928a1d4789279d7f3ce25af8af4047194e8406f9dfd99d16fe2ee2 kodi-pvr-iptvsimple-20.11.0-Nexus.tar.gz +sha256 5c8bd2f04b3114311294e1dc064e592f712a62ff283a451bc8c19878f05286bd kodi-pvr-iptvsimple-20.11.1-Nexus.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 1ea3975be5..7314e855d9 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 = 20.11.0-Nexus +KODI_PVR_IPTVSIMPLE_VERSION = 20.11.1-Nexus 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 yann.morin.1998 at free.fr Sun Oct 29 08:39:06 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:39:06 +0100 Subject: [Buildroot] [PATCH 1/1] package/flashrom: bump to version 1.3.0 In-Reply-To: <20231028210348.1235466-1-fontaine.fabrice@gmail.com> References: <20231028210348.1235466-1-fontaine.fabrice@gmail.com> Message-ID: <20231029083906.GH687180@scaer> Fabrice, All, On 2023-10-28 23:03 +0200, Fabrice Fontaine spake thusly: > https://www.flashrom.org/release_notes/v_1_3.html > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/flashrom/flashrom.hash | 4 ++-- > package/flashrom/flashrom.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/flashrom/flashrom.hash b/package/flashrom/flashrom.hash > index 2ab463d93a..d3bfbad781 100644 > --- a/package/flashrom/flashrom.hash > +++ b/package/flashrom/flashrom.hash > @@ -1,4 +1,4 @@ > # Locally computed after checking pgp signature > -# https://download.flashrom.org/releases/flashrom-v1.2.1.tar.bz2.asc > -sha256 89a7ff5beb08c89b8795bbd253a51b9453547a864c31793302296b56bbc56d65 flashrom-v1.2.1.tar.bz2 > +# https://download.flashrom.org/releases/flashrom-v1.3.0.tar.bz2.asc > +sha256 a053234453ccd012e79f3443bdcc61625cf97b7fd7cb4cdd8bfbffbe8b149623 flashrom-v1.3.0.tar.bz2 > sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING > diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk > index dd505987ed..ca55592dba 100644 > --- a/package/flashrom/flashrom.mk > +++ b/package/flashrom/flashrom.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -FLASHROM_VERSION = 1.2.1 > +FLASHROM_VERSION = 1.3.0 > FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2 > FLASHROM_SITE = https://download.flashrom.org/releases > FLASHROM_LICENSE = GPL-2.0+ > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:39:39 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:39:39 +0100 Subject: [Buildroot] [PATCH 1/1] package/kodi-pvr-iptvsimple: bump version to 20.11.1-Nexus In-Reply-To: <20231027180709.47696-1-bernd@kuhls.net> References: <20231027180709.47696-1-bernd@kuhls.net> Message-ID: <20231029083939.GI687180@scaer> Bernd, All, On 2023-10-27 20:07 +0200, Bernd Kuhls spake thusly: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > 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 8f60721163..0895b2e910 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 c2014b11dd928a1d4789279d7f3ce25af8af4047194e8406f9dfd99d16fe2ee2 kodi-pvr-iptvsimple-20.11.0-Nexus.tar.gz > +sha256 5c8bd2f04b3114311294e1dc064e592f712a62ff283a451bc8c19878f05286bd kodi-pvr-iptvsimple-20.11.1-Nexus.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 1ea3975be5..7314e855d9 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 = 20.11.0-Nexus > +KODI_PVR_IPTVSIMPLE_VERSION = 20.11.1-Nexus > 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 > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:42:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:42:22 +0100 Subject: [Buildroot] [PATCH 1/2] package/docker-engine: bump version to v24.0.7 In-Reply-To: References: Message-ID: <20231029084222.GJ687180@scaer> Stefan, All, +Peter for backports On 2023-10-27 17:46 +0200, Stefan Agner spake thusly: > The overlay2 layers metadata are now written atomically. Many other > bugfixes and hardening against security issues around the power capping > framework. > > https://github.com/moby/moby/releases/tag/v24.0.7 > > Signed-off-by: Stefan Agner Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/docker-engine/docker-engine.hash | 2 +- > package/docker-engine/docker-engine.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash > index 7a8b17d3f3..931d6529e1 100644 > --- a/package/docker-engine/docker-engine.hash > +++ b/package/docker-engine/docker-engine.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 29a8ee54e9ea008b40eebca42dec8b67ab257eb8ac175f67e79c110e4187d7d2 docker-engine-24.0.6.tar.gz > +sha256 16a2cb4cf4d314a070085e0df06e3a6bd9ec678d28715b64060af694fc9051d5 docker-engine-24.0.7.tar.gz > sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE > diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk > index a8f47254a4..34e74c09c6 100644 > --- a/package/docker-engine/docker-engine.mk > +++ b/package/docker-engine/docker-engine.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DOCKER_ENGINE_VERSION = 24.0.6 > +DOCKER_ENGINE_VERSION = 24.0.7 > DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) > > DOCKER_ENGINE_LICENSE = Apache-2.0 > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:42:36 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:42:36 +0100 Subject: [Buildroot] [PATCH 2/2] package/docker-cli: bump version to v24.0.7 In-Reply-To: References: Message-ID: <20231029084236.GK687180@scaer> Stefan, All, On 2023-10-27 17:46 +0200, Stefan Agner spake thusly: > Minor bugfix in docker ps status description. > > https://github.com/moby/moby/releases/tag/v24.0.7 > > Signed-off-by: Stefan Agner Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/docker-cli/docker-cli.hash | 2 +- > package/docker-cli/docker-cli.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash > index 5d8c1b0f59..9c8d08bba5 100644 > --- a/package/docker-cli/docker-cli.hash > +++ b/package/docker-cli/docker-cli.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 c1a4a580ced3633e489c5c9869a20198415da44df7023fdc200d425cdf5fa652 docker-cli-24.0.6.tar.gz > +sha256 72a54d131c28938221c81bd08364459fed9c71c093d4d615d324aaf31de6db1d docker-cli-24.0.7.tar.gz > sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE > diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk > index 53c9ddb6b8..95fce27ffb 100644 > --- a/package/docker-cli/docker-cli.mk > +++ b/package/docker-cli/docker-cli.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -DOCKER_CLI_VERSION = 24.0.6 > +DOCKER_CLI_VERSION = 24.0.7 > DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) > > DOCKER_CLI_LICENSE = Apache-2.0 > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:43:16 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:43:16 +0100 Subject: [Buildroot] [PATCH 1/1] package/onevpl-intel-gpu: bump version to 23.4.0 In-Reply-To: <20231027050817.17828-1-bernd@kuhls.net> References: <20231027050817.17828-1-bernd@kuhls.net> Message-ID: <20231029084316.GL687180@scaer> Bernd, All, On 2023-10-27 07:08 +0200, Bernd Kuhls spake thusly: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/onevpl-intel-gpu/onevpl-intel-gpu.hash | 2 +- > package/onevpl-intel-gpu/onevpl-intel-gpu.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/onevpl-intel-gpu/onevpl-intel-gpu.hash b/package/onevpl-intel-gpu/onevpl-intel-gpu.hash > index fa25c507eb..5f7728e5f9 100644 > --- a/package/onevpl-intel-gpu/onevpl-intel-gpu.hash > +++ b/package/onevpl-intel-gpu/onevpl-intel-gpu.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 9de6bfd17259b7434f2bb4fb6d2874decf9b1d4587ec9b90d91188049921e32f onevpl-intel-gpu-23.3.4.tar.gz > +sha256 0939232daa2ef3e35b453e4aa0d25674a9b2376b4ef814fb64712cf587654787 onevpl-intel-gpu-23.4.0.tar.gz > sha256 c31c3cc5fd66d1250dbca1c3d9011a9f874537442ac71c8de80f2f0fed13f297 LICENSE > diff --git a/package/onevpl-intel-gpu/onevpl-intel-gpu.mk b/package/onevpl-intel-gpu/onevpl-intel-gpu.mk > index c7c557e9e2..8c9275fe75 100644 > --- a/package/onevpl-intel-gpu/onevpl-intel-gpu.mk > +++ b/package/onevpl-intel-gpu/onevpl-intel-gpu.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -ONEVPL_INTEL_GPU_VERSION = 23.3.4 > +ONEVPL_INTEL_GPU_VERSION = 23.4.0 > ONEVPL_INTEL_GPU_SITE = $(call github,oneapi-src,oneVPL-intel-gpu,intel-onevpl-$(ONEVPL_INTEL_GPU_VERSION)) > ONEVPL_INTEL_GPU_LICENSE = MIT > ONEVPL_INTEL_GPU_LICENSE_FILES = LICENSE > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:43:42 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:43:42 +0100 Subject: [Buildroot] [PATCH 1/1] package/sdbus-cpp: bump to version 1.4.0 In-Reply-To: <20231026201145.130747-1-bobrofon@gmail.com> References: <20231026201145.130747-1-bobrofon@gmail.com> Message-ID: <20231029084342.GM687180@scaer> Sergey, All, On 2023-10-26 23:11 +0300, Sergey Bobrenok spake thusly: > Changelog: > https://github.com/Kistler-Group/sdbus-cpp/releases/tag/v1.4.0 > > Signed-off-by: Sergey Bobrenok Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/sdbus-cpp/sdbus-cpp.hash | 2 +- > package/sdbus-cpp/sdbus-cpp.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash > index f5fc8d6868..379864e3ba 100644 > --- a/package/sdbus-cpp/sdbus-cpp.hash > +++ b/package/sdbus-cpp/sdbus-cpp.hash > @@ -1,4 +1,4 @@ > # Locally computed: > -sha256 d44f59abdd64d8f1ca3af7db58bc6518cb081fc9ff16285c3d75a68f5c073d10 v1.3.0.tar.gz > +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz > sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING > sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception > diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk > index 2a6b67d6e3..2c3844094e 100644 > --- a/package/sdbus-cpp/sdbus-cpp.mk > +++ b/package/sdbus-cpp/sdbus-cpp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SDBUS_CPP_VERSION = 1.3.0 > +SDBUS_CPP_VERSION = 1.4.0 > SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz > SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) > SDBUS_CPP_INSTALL_STAGING = YES > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:45:27 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:45:27 +0100 Subject: [Buildroot] [PATCH 1/1] package/sdbus-cpp: bump to version 1.4.0 In-Reply-To: <20231026201145.130747-1-bobrofon@gmail.com> References: <20231026201145.130747-1-bobrofon@gmail.com> Message-ID: <20231029084527.GN687180@scaer> Sergey, All, On 2023-10-26 23:11 +0300, Sergey Bobrenok spake thusly: [--SNIP--] > diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk > index 2a6b67d6e3..2c3844094e 100644 > --- a/package/sdbus-cpp/sdbus-cpp.mk > +++ b/package/sdbus-cpp/sdbus-cpp.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SDBUS_CPP_VERSION = 1.3.0 > +SDBUS_CPP_VERSION = 1.4.0 > SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz I just noticed thatwe for the _SOURCE, but usually that is not needed when we use the github helper, like we do below. Could you try and send a patch to drop it, please? Regards, Yann E. MORIN. > SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) > SDBUS_CPP_INSTALL_STAGING = YES > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:45:48 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:45:48 +0100 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: <20231026181904.3218122-1-bernd@kuhls.net> References: <20231026181904.3218122-1-bernd@kuhls.net> Message-ID: <20231029084548.GO687180@scaer> Bernd, All, On 2023-10-26 20:19 +0200, Bernd Kuhls spake thusly: > Fixes CVE-2023-5363: > https://www.openssl.org/news/secadv/20231024.txt > https://www.openssl.org/news/vulnerabilities.html > > Changelog: https://www.openssl.org/news/cl31.txt > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libopenssl/libopenssl.hash | 4 ++-- > package/libopenssl/libopenssl.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash > index 9126175977..29ced7cddd 100644 > --- a/package/libopenssl/libopenssl.hash > +++ b/package/libopenssl/libopenssl.hash > @@ -1,5 +1,5 @@ > -# From https://www.openssl.org/source/openssl-3.1.3.tar.gz.sha256 > -sha256 f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6 openssl-3.1.3.tar.gz > +# From https://www.openssl.org/source/openssl-3.1.4.tar.gz.sha256 > +sha256 840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3 openssl-3.1.4.tar.gz > > # License files > sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt > diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk > index b69ef032f2..b8b6ec6bff 100644 > --- a/package/libopenssl/libopenssl.mk > +++ b/package/libopenssl/libopenssl.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LIBOPENSSL_VERSION = 3.1.3 > +LIBOPENSSL_VERSION = 3.1.4 > LIBOPENSSL_SITE = https://www.openssl.org/source > LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz > LIBOPENSSL_LICENSE = Apache-2.0 > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:46:05 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:46:05 +0100 Subject: [Buildroot] [PATCH 1/1] package/tvheadend: bump version In-Reply-To: <20231026180416.3147682-1-bernd@kuhls.net> References: <20231026180416.3147682-1-bernd@kuhls.net> Message-ID: <20231029084605.GP687180@scaer> Bernd, All, On 2023-10-26 20:04 +0200, Bernd Kuhls spake thusly: > Fixes build with python 3.12. > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/tvheadend/tvheadend.hash | 2 +- > package/tvheadend/tvheadend.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/tvheadend/tvheadend.hash b/package/tvheadend/tvheadend.hash > index 5b021edcc3..5a9ec3df23 100644 > --- a/package/tvheadend/tvheadend.hash > +++ b/package/tvheadend/tvheadend.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 9d8e68d1442403709846b93e7994652a1eca0f03924924d3a4dd31b882851375 tvheadend-fe47ecb5504a521fed9c1ca9705fb0dd2bb8443a.tar.gz > +sha256 98a27a6a5ce2fc800df6d154534f494582418f6b24b3a1c30267785d191e50df tvheadend-62adbebfd062d7b97829268274aad92df2033784.tar.gz > sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942 LICENSE.md > diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk > index f9303ef2fe..1d4e6ee30c 100644 > --- a/package/tvheadend/tvheadend.mk > +++ b/package/tvheadend/tvheadend.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -TVHEADEND_VERSION = fe47ecb5504a521fed9c1ca9705fb0dd2bb8443a > +TVHEADEND_VERSION = 62adbebfd062d7b97829268274aad92df2033784 > TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION)) > TVHEADEND_LICENSE = GPL-3.0+ > TVHEADEND_LICENSE_FILES = LICENSE.md > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:46:21 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:46:21 +0100 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series In-Reply-To: <20231026173836.4149430-1-bernd@kuhls.net> References: <20231026173836.4149430-1-bernd@kuhls.net> Message-ID: <20231029084621.GQ687180@scaer> Bernd, All, On 2023-10-26 19:38 +0200, Bernd Kuhls spake thusly: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > linux/Config.in | 2 +- > linux/linux.hash | 14 +++++++------- > package/linux-headers/Config.in.host | 14 +++++++------- > 3 files changed, 15 insertions(+), 15 deletions(-) > > diff --git a/linux/Config.in b/linux/Config.in > index 21313ded51..195b0dc00e 100644 > --- a/linux/Config.in > +++ b/linux/Config.in > @@ -128,7 +128,7 @@ endif > > config BR2_LINUX_KERNEL_VERSION > string > - default "6.5.8" if BR2_LINUX_KERNEL_LATEST_VERSION > + default "6.5.9" if BR2_LINUX_KERNEL_LATEST_VERSION > default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION > default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION > default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ > diff --git a/linux/linux.hash b/linux/linux.hash > index 720598252b..78d1395e66 100644 > --- a/linux/linux.hash > +++ b/linux/linux.hash > @@ -1,13 +1,13 @@ > # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc > -sha256 299cca897d90deaa176eebec42f0a80eeb7516afed330a45c14da9de086cf717 linux-6.5.8.tar.xz > -sha256 627f7724c675036639290fb5c39e3fdeb3d566b80b192c45f4a808ab54c8c0a0 linux-6.1.59.tar.xz > +sha256 c6662f64713f56bf30e009c32eac15536fad5fd1c02e8a3daf62a0dc2f058fd5 linux-6.5.9.tar.xz > +sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz > # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc > -sha256 c624b9fe7ee4708d34cfd0b7ebc58037afac7463338cc498641ea31c55eeacb8 linux-5.15.136.tar.xz > -sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz > -sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz > +sha256 9749b21609f9e7ad9c46160c2c107db823b99cef77fa6cb080b6c2dc685fb2f7 linux-5.15.137.tar.xz > +sha256 a0ea77a1f5eeb1387d62e7a8df585ffc53758e4da153d98224ccd833bd2624c1 linux-5.10.199.tar.xz > +sha256 ffe6e4fa1266d5480e529fc8659f572c57030040c548face30f56fd5a223bba4 linux-5.4.259.tar.xz > # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc > -sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz > -sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz > +sha256 9d89e0bc6503c0d61178fd1605f6ed04b016873b9f370372866644b11fee3d31 linux-4.19.297.tar.xz > +sha256 1db5926e02dc29b30d77f731228d3bd31402e2feba3aa59bfb2c730eedbeecc5 linux-4.14.328.tar.xz > # Locally computed > sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz > sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz > diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host > index d48cfa3787..bb624147ec 100644 > --- a/package/linux-headers/Config.in.host > +++ b/package/linux-headers/Config.in.host > @@ -404,13 +404,13 @@ endchoice > > config BR2_DEFAULT_KERNEL_HEADERS > string > - default "4.14.327" if BR2_KERNEL_HEADERS_4_14 > - default "4.19.296" if BR2_KERNEL_HEADERS_4_19 > - default "5.4.258" if BR2_KERNEL_HEADERS_5_4 > - default "5.10.198" if BR2_KERNEL_HEADERS_5_10 > - default "5.15.136" if BR2_KERNEL_HEADERS_5_15 > - default "6.1.59" if BR2_KERNEL_HEADERS_6_1 > - default "6.5.8" if BR2_KERNEL_HEADERS_6_5 > + default "4.14.328" if BR2_KERNEL_HEADERS_4_14 > + default "4.19.297" if BR2_KERNEL_HEADERS_4_19 > + default "5.4.259" if BR2_KERNEL_HEADERS_5_4 > + default "5.10.199" if BR2_KERNEL_HEADERS_5_10 > + default "5.15.137" if BR2_KERNEL_HEADERS_5_15 > + default "6.1.60" if BR2_KERNEL_HEADERS_6_1 > + default "6.5.9" if BR2_KERNEL_HEADERS_6_5 > default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION > default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL > default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:46:57 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:46:57 +0100 Subject: [Buildroot] [PATCH 1/1] package/php: bump version to 8.2.12 In-Reply-To: <20231026172713.4147295-1-bernd@kuhls.net> References: <20231026172713.4147295-1-bernd@kuhls.net> Message-ID: <20231029084657.GR687180@scaer> Bernd, All, On 2023-10-26 19:27 +0200, Bernd Kuhls spake thusly: > Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 > Release notes: https://www.php.net/releases/8_2_12.php > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/php/php.hash | 2 +- > package/php/php.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/php/php.hash b/package/php/php.hash > index e5f94a5e05..0f77f0082f 100644 > --- a/package/php/php.hash > +++ b/package/php/php.hash > @@ -1,5 +1,5 @@ > # From https://www.php.net/downloads.php > -sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz > +sha256 e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132 php-8.2.12.tar.xz > > # License file > sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE > diff --git a/package/php/php.mk b/package/php/php.mk > index ee33000a6f..add46584c6 100644 > --- a/package/php/php.mk > +++ b/package/php/php.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -PHP_VERSION = 8.2.11 > +PHP_VERSION = 8.2.12 > PHP_SITE = https://www.php.net/distributions > PHP_SOURCE = php-$(PHP_VERSION).tar.xz > PHP_INSTALL_STAGING = YES > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:47:16 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:47:16 +0100 Subject: [Buildroot] [git commit] package/kodi: fix build with python 3.12 Message-ID: <20231029084733.9EE69860E9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cf368a3d117a226741569a579820e044a6998079 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- ...ngs-TypeInfo-add-initialization-of-tp_wat.patch | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch b/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch new file mode 100644 index 0000000000..ed0c340f52 --- /dev/null +++ b/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch @@ -0,0 +1,59 @@ +From cbfee0e6add2b57c6a2a8641a60b4322543f4675 Mon Sep 17 00:00:00 2001 +From: Lukas Rusak +Date: Wed, 12 Jul 2023 19:58:08 -0700 +Subject: [PATCH] PythonBindings: TypeInfo: add initialization of + tp_watched for PyTypeObject + +This member was added in upstream commit https://github.com/python/cpython/commit/82ccbf69a842db25d8117f1c41b47aa5b4ed96ab + +This change first appeared in Python v3.12.0a1 + +Signed-off-by: Lukas Rusak + +Upstream: https://github.com/xbmc/xbmc/commit/2c84ee54a75770e291f38d4ebb2c31c8f2c3b8c5 + +Signed-off-by: Bernd Kuhls +--- + xbmc/interfaces/python/swig.cpp | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/xbmc/interfaces/python/swig.cpp b/xbmc/interfaces/python/swig.cpp +index 5a2599a84ea0f..74baa72ee5c4c 100644 +--- a/xbmc/interfaces/python/swig.cpp ++++ b/xbmc/interfaces/python/swig.cpp +@@ -71,6 +71,9 @@ namespace PythonBindings + #endif + #if PY_VERSION_HEX < 0x03090000 + 0, ++#endif ++#if PY_VERSION_HEX >= 0x030C00A1 ++ 0, + #endif + }; + + +From e3ba40936cc10de05c46d507851568ee3e351f43 Mon Sep 17 00:00:00 2001 +From: Lukas Rusak +Date: Thu, 13 Jul 2023 08:57:38 -0700 +Subject: [PATCH] swig.cpp: add clang-format formatting + +Signed-off-by: Lukas Rusak +--- + xbmc/interfaces/python/swig.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/xbmc/interfaces/python/swig.cpp b/xbmc/interfaces/python/swig.cpp +index 74baa72ee5c4c..0c49f87ca84e1 100644 +--- a/xbmc/interfaces/python/swig.cpp ++++ b/xbmc/interfaces/python/swig.cpp +@@ -18,8 +18,8 @@ namespace PythonBindings + { + TypeInfo::TypeInfo(const std::type_info& ti) : swigType(NULL), parentType(NULL), typeIndex(ti) + { +- static PyTypeObject py_type_object_header = +- { PyVarObject_HEAD_INIT(nullptr, 0) 0, ++ static PyTypeObject py_type_object_header = { ++ PyVarObject_HEAD_INIT(nullptr, 0) 0, + 0, + 0, + 0, From yann.morin.1998 at free.fr Sun Oct 29 08:47:10 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:47:10 +0100 Subject: [Buildroot] [git commit] package/clamav: security bump version to 1.0.4 Message-ID: <20231029084733.8687B860E8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ce7d054878ddfcdfaa4718085d6621c7f527f7ae branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Release notes: https://blog.clamav.net/2023/10/clamav-121-113-104-010311-patch.html Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- package/clamav/clamav.hash | 2 +- package/clamav/clamav.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/clamav/clamav.hash b/package/clamav/clamav.hash index c140a2df07..cb4f67156c 100644 --- a/package/clamav/clamav.hash +++ b/package/clamav/clamav.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 8779458dc31fdee1232eb8986f092d25568b39f5d337c0cbcd9c1abb5dc2886b clamav-1.0.3.tar.gz +sha256 3d6b99644874558b7de5faf9b340737a9bbc1083878fcd95a49f989c7c980146 clamav-1.0.4.tar.gz sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING.txt sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING/COPYING.bzip2 sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING/COPYING.file diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk index e1e0fa8c63..c9012261fa 100644 --- a/package/clamav/clamav.mk +++ b/package/clamav/clamav.mk @@ -4,7 +4,7 @@ # ################################################################################ -CLAMAV_VERSION = 1.0.3 +CLAMAV_VERSION = 1.0.4 CLAMAV_SITE = https://www.clamav.net/downloads/production CLAMAV_LICENSE = GPL-2.0 CLAMAV_LICENSE_FILES = \ From yann.morin.1998 at free.fr Sun Oct 29 08:47:37 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:47:37 +0100 Subject: [Buildroot] [PATCH 1/1] package/clamav: security bump version to 1.0.4 In-Reply-To: <20231026173442.4149220-1-bernd@kuhls.net> References: <20231026173442.4149220-1-bernd@kuhls.net> Message-ID: <20231029084737.GS687180@scaer> Bernd, All, On 2023-10-26 19:34 +0200, Bernd Kuhls spake thusly: > Release notes: > https://blog.clamav.net/2023/10/clamav-121-113-104-010311-patch.html > > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/clamav/clamav.hash | 2 +- > package/clamav/clamav.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/clamav/clamav.hash b/package/clamav/clamav.hash > index c140a2df07..cb4f67156c 100644 > --- a/package/clamav/clamav.hash > +++ b/package/clamav/clamav.hash > @@ -1,5 +1,5 @@ > # Locally calculated > -sha256 8779458dc31fdee1232eb8986f092d25568b39f5d337c0cbcd9c1abb5dc2886b clamav-1.0.3.tar.gz > +sha256 3d6b99644874558b7de5faf9b340737a9bbc1083878fcd95a49f989c7c980146 clamav-1.0.4.tar.gz > sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING.txt > sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING/COPYING.bzip2 > sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING/COPYING.file > diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk > index e1e0fa8c63..c9012261fa 100644 > --- a/package/clamav/clamav.mk > +++ b/package/clamav/clamav.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -CLAMAV_VERSION = 1.0.3 > +CLAMAV_VERSION = 1.0.4 > CLAMAV_SITE = https://www.clamav.net/downloads/production > CLAMAV_LICENSE = GPL-2.0 > CLAMAV_LICENSE_FILES = \ > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 08:47:49 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 09:47:49 +0100 Subject: [Buildroot] [PATCH 1/1] package/kodi: fix build with python 3.12 In-Reply-To: <20231026180751.3150845-1-bernd@kuhls.net> References: <20231026180751.3150845-1-bernd@kuhls.net> Message-ID: <20231029084749.GT687180@scaer> Bernd, All, On 2023-10-26 20:07 +0200, Bernd Kuhls spake thusly: > Signed-off-by: Bernd Kuhls Applied to master, thanks. Regards, Yann E. MORIN. > --- > ...ypeInfo-add-initialization-of-tp_wat.patch | 59 +++++++++++++++++++ > 1 file changed, 59 insertions(+) > create mode 100644 package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch > > diff --git a/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch b/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch > new file mode 100644 > index 0000000000..ed0c340f52 > --- /dev/null > +++ b/package/kodi/0006-PythonBindings-TypeInfo-add-initialization-of-tp_wat.patch > @@ -0,0 +1,59 @@ > +From cbfee0e6add2b57c6a2a8641a60b4322543f4675 Mon Sep 17 00:00:00 2001 > +From: Lukas Rusak > +Date: Wed, 12 Jul 2023 19:58:08 -0700 > +Subject: [PATCH] PythonBindings: TypeInfo: add initialization of > + tp_watched for PyTypeObject > + > +This member was added in upstream commit https://github.com/python/cpython/commit/82ccbf69a842db25d8117f1c41b47aa5b4ed96ab > + > +This change first appeared in Python v3.12.0a1 > + > +Signed-off-by: Lukas Rusak > + > +Upstream: https://github.com/xbmc/xbmc/commit/2c84ee54a75770e291f38d4ebb2c31c8f2c3b8c5 > + > +Signed-off-by: Bernd Kuhls > +--- > + xbmc/interfaces/python/swig.cpp | 3 +++ > + 1 file changed, 3 insertions(+) > + > +diff --git a/xbmc/interfaces/python/swig.cpp b/xbmc/interfaces/python/swig.cpp > +index 5a2599a84ea0f..74baa72ee5c4c 100644 > +--- a/xbmc/interfaces/python/swig.cpp > ++++ b/xbmc/interfaces/python/swig.cpp > +@@ -71,6 +71,9 @@ namespace PythonBindings > + #endif > + #if PY_VERSION_HEX < 0x03090000 > + 0, > ++#endif > ++#if PY_VERSION_HEX >= 0x030C00A1 > ++ 0, > + #endif > + }; > + > + > +From e3ba40936cc10de05c46d507851568ee3e351f43 Mon Sep 17 00:00:00 2001 > +From: Lukas Rusak > +Date: Thu, 13 Jul 2023 08:57:38 -0700 > +Subject: [PATCH] swig.cpp: add clang-format formatting > + > +Signed-off-by: Lukas Rusak > +--- > + xbmc/interfaces/python/swig.cpp | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/xbmc/interfaces/python/swig.cpp b/xbmc/interfaces/python/swig.cpp > +index 74baa72ee5c4c..0c49f87ca84e1 100644 > +--- a/xbmc/interfaces/python/swig.cpp > ++++ b/xbmc/interfaces/python/swig.cpp > +@@ -18,8 +18,8 @@ namespace PythonBindings > + { > + TypeInfo::TypeInfo(const std::type_info& ti) : swigType(NULL), parentType(NULL), typeIndex(ti) > + { > +- static PyTypeObject py_type_object_header = > +- { PyVarObject_HEAD_INIT(nullptr, 0) 0, > ++ static PyTypeObject py_type_object_header = { > ++ PyVarObject_HEAD_INIT(nullptr, 0) 0, > + 0, > + 0, > + 0, > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Oct 29 08:58:31 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 09:58:31 +0100 Subject: [Buildroot] [PATCH 1/1] package/pango: fix build with gcc >= 13 Message-ID: <20231029085831.234005-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 13: In function 'find_best_lang_match_cached', inlined from 'find_best_lang_match_cached' at ../pango/pango-language.c:501:1, inlined from 'pango_language_get_scripts' at ../pango/pango-language.c:661:21: ../pango/pango-language.c:518:12: error: array subscript 0 is outside array bounds of 'const void *[0]' {aka 'const void *[]'} [-Werror=array-bounds=] 518 | *cache = result; | ~~~~~~~^~~~~~~~ In function 'pango_language_get_scripts': cc1: note: source object is likely at address zero cc1: some warnings being treated as errors Fixes: - http://autobuild.buildroot.org/results/e8b5a752a62621099942b29c1642747eef2930cb Signed-off-by: Fabrice Fontaine --- .../pango/0001-Drop-Werror-array-bounds.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 package/pango/0001-Drop-Werror-array-bounds.patch diff --git a/package/pango/0001-Drop-Werror-array-bounds.patch b/package/pango/0001-Drop-Werror-array-bounds.patch new file mode 100644 index 0000000000..45821e8533 --- /dev/null +++ b/package/pango/0001-Drop-Werror-array-bounds.patch @@ -0,0 +1,40 @@ +From e93dbd66973040f1e0afcba0dc7c712c27d75d59 Mon Sep 17 00:00:00 2001 +From: Matthias Clasen +Date: Mon, 1 May 2023 23:27:52 -0400 +Subject: [PATCH] Drop -Werror=array-bounds + +gcc has strange issues with this and produces false +positives that recently started breaking the build of +pango as a subproject in gtk. + +See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 + +Upstream: https://gitlab.gnome.org/GNOME/pango/-/commit/e93dbd66973040f1e0afcba0dc7c712c27d75d59 +Signed-off-by: Fabrice Fontaine +--- + meson.build | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/meson.build b/meson.build +index 930f41082..2d30c0141 100644 +--- a/meson.build ++++ b/meson.build +@@ -89,7 +89,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' + '-Wuninitialized', + '-Wunused', + '-Werror=address', +- '-Werror=array-bounds', + '-Werror=empty-body', + '-Werror=implicit', + '-Werror=implicit-fallthrough', +@@ -132,7 +131,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' + '-Werror=sequence-point', + '-Werror=return-type', + '-Werror=trigraphs', +- '-Werror=array-bounds', + '-Werror=write-strings', + '-Werror=address', + '-Werror=int-to-pointer-cast', +-- +GitLab + -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 08:59:47 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 09:59:47 +0100 Subject: [Buildroot] [PATCH 1/1] package/rabbitmq-c: bump to version 0.13.0 Message-ID: <20231029085947.234836-1-fontaine.fabrice@gmail.com> License file renamed and slightly updated with https://github.com/alanxz/rabbitmq-c/commit/83a75b3943fd4d374e98f4eb758f0a170d8c8ffc https://github.com/alanxz/rabbitmq-c/commit/fd51cf8fdc41c3d4f4a1e8cc7ea9aea5bfbe0a0d https://github.com/alanxz/rabbitmq-c/blob/v0.13.0/ChangeLog.md Signed-off-by: Fabrice Fontaine --- package/rabbitmq-c/rabbitmq-c.hash | 5 +++-- package/rabbitmq-c/rabbitmq-c.mk | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/rabbitmq-c/rabbitmq-c.hash b/package/rabbitmq-c/rabbitmq-c.hash index dc1406d3d5..66768ef34f 100644 --- a/package/rabbitmq-c/rabbitmq-c.hash +++ b/package/rabbitmq-c/rabbitmq-c.hash @@ -1,3 +1,4 @@ # Locally calculated -sha256 437d45e0e35c18cf3e59bcfe5dfe37566547eb121e69fca64b98f5d2c1c2d424 rabbitmq-c-0.11.0.tar.gz -sha256 94a12c906acb31a66c2c8a6c1b6e46cab52bc5694c5ada2a06d86b05d3d3f422 LICENSE-MIT +sha256 8b224e41bba504fc52b02f918d8df7e4bf5359d493cbbff36c06078655c676e6 rabbitmq-c-0.13.0.tar.gz +sha256 3111fdaa26e86dd844d7c6cbb2723d0ed31702a840978ef116c86963c2429b0f LICENSE +sha256 defee723621ff1c556539af42780f449f258e47e3dcc8254bcbc095863f02b7c README.md diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index fad6655e4e..cac0f67ddc 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -4,10 +4,10 @@ # ################################################################################ -RABBITMQ_C_VERSION = 0.11.0 +RABBITMQ_C_VERSION = 0.13.0 RABBITMQ_C_SITE = $(call github,alanxz,rabbitmq-c,v$(RABBITMQ_C_VERSION)) RABBITMQ_C_LICENSE = MIT -RABBITMQ_C_LICENSE_FILES = LICENSE-MIT +RABBITMQ_C_LICENSE_FILES = LICENSE README.md RABBITMQ_C_CPE_ID_VENDOR = rabbitmq-c_project RABBITMQ_C_INSTALL_STAGING = YES RABBITMQ_C_CONF_OPTS = \ -- 2.42.0 From bobrofon at gmail.com Sun Oct 29 10:11:25 2023 From: bobrofon at gmail.com (Sergey Bobrenok) Date: Sun, 29 Oct 2023 13:11:25 +0300 Subject: [Buildroot] [PATCH 1/1] package/sdbus-cpp: remove redundant SDBUS_CPP_SOURCE variable In-Reply-To: <20231029084527.GN687180@scaer> References: <20231029084527.GN687180@scaer> Message-ID: <20231029101125.34481-1-bobrofon@gmail.com> There is no need to define SDBUS_CPP_SOURCE explicitly because the github helper defines this variable internally (but uses a different file name). Signed-off-by: Sergey Bobrenok --- package/sdbus-cpp/sdbus-cpp.hash | 2 +- package/sdbus-cpp/sdbus-cpp.mk | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash index 379864e3ba..f4336228af 100644 --- a/package/sdbus-cpp/sdbus-cpp.hash +++ b/package/sdbus-cpp/sdbus-cpp.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 sdbus-cpp-1.4.0.tar.gz sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk index 2c3844094e..9ffaeb26d2 100644 --- a/package/sdbus-cpp/sdbus-cpp.mk +++ b/package/sdbus-cpp/sdbus-cpp.mk @@ -5,7 +5,6 @@ ################################################################################ SDBUS_CPP_VERSION = 1.4.0 -SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) SDBUS_CPP_INSTALL_STAGING = YES SDBUS_CPP_DEPENDENCIES = host-pkgconf systemd -- 2.41.0 From yann.morin.1998 at free.fr Sun Oct 29 11:03:22 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:03:22 +0100 Subject: [Buildroot] [git commit] package/sdbus-cpp: remove redundant SDBUS_CPP_SOURCE variable Message-ID: <20231029110439.508C7860F8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=651b65381494fed9ce6acc23b1805e70b7f93146 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master There is no need to define SDBUS_CPP_SOURCE explicitly because the github helper works perfectly well with the default _SOURCE value. Signed-off-by: Sergey Bobrenok Signed-off-by: Yann E. MORIN --- package/sdbus-cpp/sdbus-cpp.hash | 2 +- package/sdbus-cpp/sdbus-cpp.mk | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash index 379864e3ba..f4336228af 100644 --- a/package/sdbus-cpp/sdbus-cpp.hash +++ b/package/sdbus-cpp/sdbus-cpp.hash @@ -1,4 +1,4 @@ # Locally computed: -sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 sdbus-cpp-1.4.0.tar.gz sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk index 2c3844094e..9ffaeb26d2 100644 --- a/package/sdbus-cpp/sdbus-cpp.mk +++ b/package/sdbus-cpp/sdbus-cpp.mk @@ -5,7 +5,6 @@ ################################################################################ SDBUS_CPP_VERSION = 1.4.0 -SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) SDBUS_CPP_INSTALL_STAGING = YES SDBUS_CPP_DEPENDENCIES = host-pkgconf systemd From yann.morin.1998 at free.fr Sun Oct 29 11:07:19 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:07:19 +0100 Subject: [Buildroot] [PATCH 1/1] package/sdbus-cpp: remove redundant SDBUS_CPP_SOURCE variable In-Reply-To: <20231029101125.34481-1-bobrofon@gmail.com> References: <20231029101125.34481-1-bobrofon@gmail.com> Message-ID: <20231029110719.GU687180@scaer> Sergey, All, On 2023-10-29 13:11 +0300, Sergey Bobrenok spake thusly: > There is no need to define SDBUS_CPP_SOURCE explicitly because the > github helper defines this variable internally (but uses a different > file name). The _SOURCE value is not set by the github helper, but the github helper works equally well with the default _SOURCE value. In fact, the github URLs do not care what the final component of the URL is, as it is not used bu github to decide what to archvie. Applied to master with the commit log slightly amended, thanks. Regards, Yann E. MORIN. > Signed-off-by: Sergey Bobrenok > --- > package/sdbus-cpp/sdbus-cpp.hash | 2 +- > package/sdbus-cpp/sdbus-cpp.mk | 1 - > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/package/sdbus-cpp/sdbus-cpp.hash b/package/sdbus-cpp/sdbus-cpp.hash > index 379864e3ba..f4336228af 100644 > --- a/package/sdbus-cpp/sdbus-cpp.hash > +++ b/package/sdbus-cpp/sdbus-cpp.hash > @@ -1,4 +1,4 @@ > # Locally computed: > -sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 v1.4.0.tar.gz > +sha256 ca7405c7f0f9ae3023dcfa37bc68974c4b8a1c9ea2909b970e0aedc3e8657ee6 sdbus-cpp-1.4.0.tar.gz > sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING > sha256 a1c9e75e25d8f2ce18017c88978edab2f0dbc7814ad0697d4ff2e5e59959f657 COPYING-LGPL-Exception > diff --git a/package/sdbus-cpp/sdbus-cpp.mk b/package/sdbus-cpp/sdbus-cpp.mk > index 2c3844094e..9ffaeb26d2 100644 > --- a/package/sdbus-cpp/sdbus-cpp.mk > +++ b/package/sdbus-cpp/sdbus-cpp.mk > @@ -5,7 +5,6 @@ > ################################################################################ > > SDBUS_CPP_VERSION = 1.4.0 > -SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz > SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) > SDBUS_CPP_INSTALL_STAGING = YES > SDBUS_CPP_DEPENDENCIES = host-pkgconf systemd > -- > 2.41.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 11:13:21 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:13:21 +0100 Subject: [Buildroot] [git commit] package/rabbitmq-c: bump to version 0.13.0 Message-ID: <20231029111406.F12C5860F7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ffe48fac1d0144fb591241103a5c8d6a75df8610 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master License file renamed and slightly updated without any change in applicable terms: https://github.com/alanxz/rabbitmq-c/commit/83a75b3943fd4d374e98f4eb758f0a170d8c8ffc https://github.com/alanxz/rabbitmq-c/commit/fd51cf8fdc41c3d4f4a1e8cc7ea9aea5bfbe0a0d Detailed changelog: https://github.com/alanxz/rabbitmq-c/blob/v0.13.0/ChangeLog.md Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/rabbitmq-c/rabbitmq-c.hash | 5 +++-- package/rabbitmq-c/rabbitmq-c.mk | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/rabbitmq-c/rabbitmq-c.hash b/package/rabbitmq-c/rabbitmq-c.hash index dc1406d3d5..66768ef34f 100644 --- a/package/rabbitmq-c/rabbitmq-c.hash +++ b/package/rabbitmq-c/rabbitmq-c.hash @@ -1,3 +1,4 @@ # Locally calculated -sha256 437d45e0e35c18cf3e59bcfe5dfe37566547eb121e69fca64b98f5d2c1c2d424 rabbitmq-c-0.11.0.tar.gz -sha256 94a12c906acb31a66c2c8a6c1b6e46cab52bc5694c5ada2a06d86b05d3d3f422 LICENSE-MIT +sha256 8b224e41bba504fc52b02f918d8df7e4bf5359d493cbbff36c06078655c676e6 rabbitmq-c-0.13.0.tar.gz +sha256 3111fdaa26e86dd844d7c6cbb2723d0ed31702a840978ef116c86963c2429b0f LICENSE +sha256 defee723621ff1c556539af42780f449f258e47e3dcc8254bcbc095863f02b7c README.md diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index fad6655e4e..cac0f67ddc 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -4,10 +4,10 @@ # ################################################################################ -RABBITMQ_C_VERSION = 0.11.0 +RABBITMQ_C_VERSION = 0.13.0 RABBITMQ_C_SITE = $(call github,alanxz,rabbitmq-c,v$(RABBITMQ_C_VERSION)) RABBITMQ_C_LICENSE = MIT -RABBITMQ_C_LICENSE_FILES = LICENSE-MIT +RABBITMQ_C_LICENSE_FILES = LICENSE README.md RABBITMQ_C_CPE_ID_VENDOR = rabbitmq-c_project RABBITMQ_C_INSTALL_STAGING = YES RABBITMQ_C_CONF_OPTS = \ From yann.morin.1998 at free.fr Sun Oct 29 11:11:54 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:11:54 +0100 Subject: [Buildroot] [git commit] package/pango: fix build with gcc >= 13 Message-ID: <20231029111406.E461B8610B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=477b39a1e08452a3210a71c4f83b6f910a062566 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fix the following build failure with gcc >= 13: In function 'find_best_lang_match_cached', inlined from 'find_best_lang_match_cached' at ../pango/pango-language.c:501:1, inlined from 'pango_language_get_scripts' at ../pango/pango-language.c:661:21: ../pango/pango-language.c:518:12: error: array subscript 0 is outside array bounds of 'const void *[0]' {aka 'const void *[]'} [-Werror=array-bounds=] 518 | *cache = result; | ~~~~~~~^~~~~~~~ In function 'pango_language_get_scripts': cc1: note: source object is likely at address zero cc1: some warnings being treated as errors Fixes: - http://autobuild.buildroot.org/results/e8b5a752a62621099942b29c1642747eef2930cb Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/pango/0001-Drop-Werror-array-bounds.patch | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/pango/0001-Drop-Werror-array-bounds.patch b/package/pango/0001-Drop-Werror-array-bounds.patch new file mode 100644 index 0000000000..45821e8533 --- /dev/null +++ b/package/pango/0001-Drop-Werror-array-bounds.patch @@ -0,0 +1,40 @@ +From e93dbd66973040f1e0afcba0dc7c712c27d75d59 Mon Sep 17 00:00:00 2001 +From: Matthias Clasen +Date: Mon, 1 May 2023 23:27:52 -0400 +Subject: [PATCH] Drop -Werror=array-bounds + +gcc has strange issues with this and produces false +positives that recently started breaking the build of +pango as a subproject in gtk. + +See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 + +Upstream: https://gitlab.gnome.org/GNOME/pango/-/commit/e93dbd66973040f1e0afcba0dc7c712c27d75d59 +Signed-off-by: Fabrice Fontaine +--- + meson.build | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/meson.build b/meson.build +index 930f41082..2d30c0141 100644 +--- a/meson.build ++++ b/meson.build +@@ -89,7 +89,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' + '-Wuninitialized', + '-Wunused', + '-Werror=address', +- '-Werror=array-bounds', + '-Werror=empty-body', + '-Werror=implicit', + '-Werror=implicit-fallthrough', +@@ -132,7 +131,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' + '-Werror=sequence-point', + '-Werror=return-type', + '-Werror=trigraphs', +- '-Werror=array-bounds', + '-Werror=write-strings', + '-Werror=address', + '-Werror=int-to-pointer-cast', +-- +GitLab + From yann.morin.1998 at free.fr Sun Oct 29 11:15:05 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:15:05 +0100 Subject: [Buildroot] [PATCH 1/1] package/rabbitmq-c: bump to version 0.13.0 In-Reply-To: <20231029085947.234836-1-fontaine.fabrice@gmail.com> References: <20231029085947.234836-1-fontaine.fabrice@gmail.com> Message-ID: <20231029111505.GV687180@scaer> Fabrice, All, On 2023-10-29 09:59 +0100, Fabrice Fontaine spake thusly: > License file renamed and slightly updated with > https://github.com/alanxz/rabbitmq-c/commit/83a75b3943fd4d374e98f4eb758f0a170d8c8ffc > https://github.com/alanxz/rabbitmq-c/commit/fd51cf8fdc41c3d4f4a1e8cc7ea9aea5bfbe0a0d What are those "slight changes"? Do they affect the licensing terms? I've slightly reworded the commit log to state that the slight changes have no impact on the licensing terms. > https://github.com/alanxz/rabbitmq-c/blob/v0.13.0/ChangeLog.md > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/rabbitmq-c/rabbitmq-c.hash | 5 +++-- > package/rabbitmq-c/rabbitmq-c.mk | 4 ++-- > 2 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/package/rabbitmq-c/rabbitmq-c.hash b/package/rabbitmq-c/rabbitmq-c.hash > index dc1406d3d5..66768ef34f 100644 > --- a/package/rabbitmq-c/rabbitmq-c.hash > +++ b/package/rabbitmq-c/rabbitmq-c.hash > @@ -1,3 +1,4 @@ > # Locally calculated > -sha256 437d45e0e35c18cf3e59bcfe5dfe37566547eb121e69fca64b98f5d2c1c2d424 rabbitmq-c-0.11.0.tar.gz > -sha256 94a12c906acb31a66c2c8a6c1b6e46cab52bc5694c5ada2a06d86b05d3d3f422 LICENSE-MIT > +sha256 8b224e41bba504fc52b02f918d8df7e4bf5359d493cbbff36c06078655c676e6 rabbitmq-c-0.13.0.tar.gz > +sha256 3111fdaa26e86dd844d7c6cbb2723d0ed31702a840978ef116c86963c2429b0f LICENSE > +sha256 defee723621ff1c556539af42780f449f258e47e3dcc8254bcbc095863f02b7c README.md > diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk > index fad6655e4e..cac0f67ddc 100644 > --- a/package/rabbitmq-c/rabbitmq-c.mk > +++ b/package/rabbitmq-c/rabbitmq-c.mk > @@ -4,10 +4,10 @@ > # > ################################################################################ > > -RABBITMQ_C_VERSION = 0.11.0 > +RABBITMQ_C_VERSION = 0.13.0 > RABBITMQ_C_SITE = $(call github,alanxz,rabbitmq-c,v$(RABBITMQ_C_VERSION)) > RABBITMQ_C_LICENSE = MIT > -RABBITMQ_C_LICENSE_FILES = LICENSE-MIT > +RABBITMQ_C_LICENSE_FILES = LICENSE README.md > RABBITMQ_C_CPE_ID_VENDOR = rabbitmq-c_project > RABBITMQ_C_INSTALL_STAGING = YES > RABBITMQ_C_CONF_OPTS = \ > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 11:15:20 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:15:20 +0100 Subject: [Buildroot] [PATCH 1/1] package/pango: fix build with gcc >= 13 In-Reply-To: <20231029085831.234005-1-fontaine.fabrice@gmail.com> References: <20231029085831.234005-1-fontaine.fabrice@gmail.com> Message-ID: <20231029111520.GW687180@scaer> Fabrice, All, On 2023-10-29 09:58 +0100, Fabrice Fontaine spake thusly: > Fix the following build failure with gcc >= 13: > > In function 'find_best_lang_match_cached', > inlined from 'find_best_lang_match_cached' at ../pango/pango-language.c:501:1, > inlined from 'pango_language_get_scripts' at ../pango/pango-language.c:661:21: > ../pango/pango-language.c:518:12: error: array subscript 0 is outside array bounds of 'const void *[0]' {aka 'const void *[]'} [-Werror=array-bounds=] > 518 | *cache = result; > | ~~~~~~~^~~~~~~~ > In function 'pango_language_get_scripts': > cc1: note: source object is likely at address zero > cc1: some warnings being treated as errors > > Fixes: > - http://autobuild.buildroot.org/results/e8b5a752a62621099942b29c1642747eef2930cb > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > .../pango/0001-Drop-Werror-array-bounds.patch | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 package/pango/0001-Drop-Werror-array-bounds.patch > > diff --git a/package/pango/0001-Drop-Werror-array-bounds.patch b/package/pango/0001-Drop-Werror-array-bounds.patch > new file mode 100644 > index 0000000000..45821e8533 > --- /dev/null > +++ b/package/pango/0001-Drop-Werror-array-bounds.patch > @@ -0,0 +1,40 @@ > +From e93dbd66973040f1e0afcba0dc7c712c27d75d59 Mon Sep 17 00:00:00 2001 > +From: Matthias Clasen > +Date: Mon, 1 May 2023 23:27:52 -0400 > +Subject: [PATCH] Drop -Werror=array-bounds > + > +gcc has strange issues with this and produces false > +positives that recently started breaking the build of > +pango as a subproject in gtk. > + > +See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 > + > +Upstream: https://gitlab.gnome.org/GNOME/pango/-/commit/e93dbd66973040f1e0afcba0dc7c712c27d75d59 > +Signed-off-by: Fabrice Fontaine > +--- > + meson.build | 2 -- > + 1 file changed, 2 deletions(-) > + > +diff --git a/meson.build b/meson.build > +index 930f41082..2d30c0141 100644 > +--- a/meson.build > ++++ b/meson.build > +@@ -89,7 +89,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' > + '-Wuninitialized', > + '-Wunused', > + '-Werror=address', > +- '-Werror=array-bounds', > + '-Werror=empty-body', > + '-Werror=implicit', > + '-Werror=implicit-fallthrough', > +@@ -132,7 +131,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' > + '-Werror=sequence-point', > + '-Werror=return-type', > + '-Werror=trigraphs', > +- '-Werror=array-bounds', > + '-Werror=write-strings', > + '-Werror=address', > + '-Werror=int-to-pointer-cast', > +-- > +GitLab > + > -- > 2.42.0 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 11:33:26 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 12:33:26 +0100 Subject: [Buildroot] [PATCH] package/libnvme: needs host-swig In-Reply-To: <20231026155754.1637976-1-giulio.benetti@benettiengineering.com> References: <20231026155754.1637976-1-giulio.benetti@benettiengineering.com> Message-ID: <20231029113325.GX687180@scaer> Giulio, All, On 2023-10-26 17:57 +0200, Giulio Benetti spake thusly: > Fixes: > http://autobuild.buildroot.net/results/a63d18fd318783d7e3d1cede062c9c7cacb10282/ > > Signed-off-by: Giulio Benetti > --- > package/libnvme/libnvme.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk > index 38394b9931..3b622839fa 100644 > --- a/package/libnvme/libnvme.mk > +++ b/package/libnvme/libnvme.mk > @@ -10,6 +10,8 @@ LIBNVME_LICENSE = LGPL-2.1 > LIBNVME_LICENSE_FILES = COPYING > LIBNVME_INSTALL_STAGING = YES > > +LIBNVME_DEPENDENCIES += host-swig swig is only needed to build the python bindings, no? In which case it should be in the python conditional block, right? Regards, Yann E. MORIN. > LIBNVME_CONF_OPTS += \ > -Dtests=false > > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From ovlevin at salutedevices.com Sun Oct 29 12:18:50 2023 From: ovlevin at salutedevices.com (Oleg Lyovin) Date: Sun, 29 Oct 2023 15:18:50 +0300 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: fix package build with gcc 4.8 In-Reply-To: <20231028223503.GF687180@scaer> References: <20231027155221.977752-1-ovlevin@salutedevices.com> <20231028223503.GF687180@scaer> Message-ID: Yann, On 29.10.2023 01:35, Yann E. MORIN wrote: > Oleg, All, > > On 2023-10-27 18:52 +0300, Oleg Lyovin via buildroot spake thusly: >> python-pycryptodomex uses C99 features like variable >> declaration in for-loop statement, while old compilers >> assumes C89 by default. >> >> This patch explicitly specifies C99 standard. >> >> Change-Id: I934211714307cea43541167fbc72ff30fb66ad5f >> Signed-off-by: Oleg Lyovin >> --- >> package/python-pycryptodomex/python-pycryptodomex.mk | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk >> index 3790aa4787..ee8ce6e069 100644 >> --- a/package/python-pycryptodomex/python-pycryptodomex.mk >> +++ b/package/python-pycryptodomex/python-pycryptodomex.mk >> @@ -13,5 +13,11 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ >> Public Domain (pycrypto original code) >> PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto >> >> +PYTHON_PYCRYPTODOMEX_CFLAGS = -std=c99 >> + >> +PYTHON_PYCRYPTODOMEX_ENV = \ >> + CFLAGS="$(PYTHON_PYCRYPTODOMEX_CFLAGS)" >> +HOST_PYTHON_PYCRYPTODOMEX_ENV = $(PYTHON_PYCRYPTODOMEX_ENV) > > It is weird to use the target settings for the host settings, even if > they appear to be identical. Instead, we prefer duplicating the > assignment; indeed if the target variable gains target-related settings > in the future, they would inadvertently leak into the host variant. > > The second issue is that (AFAIU) passing CFLAGS in the environment will > override the other CFLAGS we set in our infrastructure, and we instead > must complement them, see for example how it's done in python-brotli. > > So, I've done that, and... the target settings leaked into the host > variable... > > So, I've fixed that so that the host and target variant are based of the > TARGET/HOST_CFLAGS, plus -std=c99 > > Applied to master with the above fix, thanks. > > Regards, > Yann E. MORIN. > >> $(eval $(python-package)) >> $(eval $(host-python-package)) >> -- >> 2.42.0.270.gbcb6cae296 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > Much appreciate for the great explanation and patch fix! From ovlevin at salutedevices.com Sun Oct 29 13:27:37 2023 From: ovlevin at salutedevices.com (Oleg Lyovin) Date: Sun, 29 Oct 2023 16:27:37 +0300 Subject: [Buildroot] [PATCH 1/1] package/fscryptctl: add choice between v1 and v2 versions In-Reply-To: <20231028225038.GG687180@scaer> References: <20231027161010.980901-1-ovlevin@salutedevices.com> <20231028225038.GG687180@scaer> Message-ID: <5ee15a06-a3d5-4920-a7af-195f9e2aca05@salutedevices.com> Yann, All, On 29.10.2023 01:50, Yann E. MO RIN wrote: > Oleg, All, > > +John for commit b832f6eb9d > > On 2023-10-27 19:10 +0300, Oleg Lyovin via buildroot spake thusly: >> b832f6eb9d bumped fscryptctl to the version that >> does not support fscrypt v1. However, there may be >> active users that already has v1 configuration without >> an ability to migrate to v2, so the above change would >> break them. >> >> This patch adds the option to choice which fscryptctl >> version to use assuming v2 by default. > > It is very exceptional that we allow chosing a version, so you'll need > to provide more explanations than "without an ability to migrate to v2". > > Why is it not possible for those users to migrate? > > Note that commit b832f6eb9d stated: > There are unlikely to be many v1 users and the format has some known > vulnerabilities so no compatibility option is included. > > So this was a mindful decision not to provide such compatibility, > especially because of the vulnerability issues. > > In the odd case that we do indeed need to provide that choice, then > there is no need to split in two, as it is totally possible to write > everything in a single .mk in conditional blocs. E.g. (elided for > brevity): > > choice > prompt "fscryptctl variant" > > config BR2_PACKAGE_FSCRYPTCTL_V1 > bool "v1 (deprecated)" > > config BR2_PACKAGE_FSCRYPTCTL_V2 > bool "v2" > > endchoice > > config BR2_PACKAGE_FSCRYPTCTL_VERSION > string > default "f037dcf4354ce8f25d0f371b58dfe7a7ac27576f" if BR2_PACKAGE_FSCRYPTCTL_V1 > default "1.0.0" if BR2_PACKAGE_FSCRYPTCTL_V2 > > and then in the .mk: > > FSCRYPTCTL_VERSION = $(call qstrip,$(BR2_PACKAGE_FSCRYPTCTL_VERSION)) > FSCRYPTCTL_GIT_VERSION = $(if $(BR2_PACKAGE_FSCRYPTCTL_V2),v)$(FSCRYPTCTL_VERSION) > FSCRYPTCTL_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_GIT_VERSION)) > > FSCRYPTCTL_CFLAGS = $(TARGET_CFLAGS) > ifeq ($(BR2_PACKAGE_FSCRYPTCTL_V2),y) > FSCRYPTCTL_CFLAGS += -std=c99 > endif > > define FSCRYPTCTL_BUILD_CMDS > $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ > CFLAGS="$(FSCRYPTCTL_CFLAGS)" fscryptctl > endef > > define FSCRYPTCTL_INSTALL_TARGET_CMDS > $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl > endef > > $(eval $(generic-package)) > > Toally untested, and missing all the rest of the usual variables... > > But of course, this still needs a good explanations why this is needed. > > Regards, > Yann E. MORIN. > >> Signed-off-by: Oleg Lyovin >> --- >> package/fscryptctl/Config.in | 22 +++++++++++++++++++ >> package/fscryptctl/fscryptctl.mk | 22 +------------------ >> .../fscryptctl_v1/fscryptctl_v1.hash | 3 +++ >> .../fscryptctl/fscryptctl_v1/fscryptctl_v1.mk | 20 +++++++++++++++++ >> .../fscryptctl_v2.hash} | 2 +- >> .../fscryptctl/fscryptctl_v2/fscryptctl_v2.mk | 21 ++++++++++++++++++ >> 6 files changed, 68 insertions(+), 22 deletions(-) >> create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash >> create mode 100644 package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk >> rename package/fscryptctl/{fscryptctl.hash => fscryptctl_v2/fscryptctl_v2.hash} (81%) >> create mode 100644 package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk >> >> diff --git a/package/fscryptctl/Config.in b/package/fscryptctl/Config.in >> index 91b9ba8ebe..2fb7176ad9 100644 >> --- a/package/fscryptctl/Config.in >> +++ b/package/fscryptctl/Config.in >> @@ -10,3 +10,25 @@ config BR2_PACKAGE_FSCRYPTCTL >> (BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O encrypt -b 4096") >> >> https://github.com/google/fscryptctl >> + >> +if BR2_PACKAGE_FSCRYPTCTL >> + >> +choice >> + prompt "fscryptctl variant" >> + default BR2_PACKAGE_FSCRYPTCTL_V2 >> + help >> + Select the version of fscrypt. >> + >> +config BR2_PACKAGE_FSCRYPTCTL_V2 >> + bool "fscrpyctl_v2" >> + help >> + Support the latest fscrypt v2 implementation. >> + >> +config BR2_PACKAGE_FSCRYPTCTL_V1 >> + bool "fscryptctl_v1" >> + help >> + v1 is deprecated, enable this only for legacy configurations. >> + >> +endchoice >> + >> +endif >> diff --git a/package/fscryptctl/fscryptctl.mk b/package/fscryptctl/fscryptctl.mk >> index 0546f67a1f..e3571f4e07 100644 >> --- a/package/fscryptctl/fscryptctl.mk >> +++ b/package/fscryptctl/fscryptctl.mk >> @@ -1,21 +1 @@ >> -################################################################################ >> -# >> -# fscryptctl >> -# >> -################################################################################ >> - >> -FSCRYPTCTL_VERSION = 1.0.0 >> -FSCRYPTCTL_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_VERSION)) >> -FSCRYPTCTL_LICENSE = Apache-2.0 >> -FSCRYPTCTL_LICENSE_FILES = LICENSE >> - >> -define FSCRYPTCTL_BUILD_CMDS >> - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> - CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl >> -endef >> - >> -define FSCRYPTCTL_INSTALL_TARGET_CMDS >> - $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl >> -endef >> - >> -$(eval $(generic-package)) >> +include $(sort $(wildcard package/fscryptctl/*/*.mk)) >> diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash >> new file mode 100644 >> index 0000000000..f810aaacb5 >> --- /dev/null >> +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.hash >> @@ -0,0 +1,3 @@ >> +# Locally calculated >> +sha256 970a8febbcbf315313711d8a7ee3d954dea593d8087744d3cba65f6cb4bebcc1 fscryptctl_v1-f037dcf4354ce8f25d0f371b58dfe7a7ac27576f.tar.gz >> +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE >> diff --git a/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk >> new file mode 100644 >> index 0000000000..c1c1ab34f2 >> --- /dev/null >> +++ b/package/fscryptctl/fscryptctl_v1/fscryptctl_v1.mk >> @@ -0,0 +1,20 @@ >> +################################################################################ >> +# >> +# fscryptctl_v1 >> +# >> +################################################################################ >> + >> +FSCRYPTCTL_V1_VERSION = f037dcf4354ce8f25d0f371b58dfe7a7ac27576f >> +FSCRYPTCTL_V1_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_V1_VERSION)) >> +FSCRYPTCTL_V1_LICENSE = Apache-2.0 >> +FSCRYPTCTL_V1_LICENSE_FILES = LICENSE >> + >> +define FSCRYPTCTL_V1_BUILD_CMDS >> + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) fscryptctl >> +endef >> + >> +define FSCRYPTCTL_V1_INSTALL_TARGET_CMDS >> + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl >> +endef >> + >> +$(eval $(generic-package)) >> diff --git a/package/fscryptctl/fscryptctl.hash b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash >> similarity index 81% >> rename from package/fscryptctl/fscryptctl.hash >> rename to package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash >> index 0dcca6893e..61ff022310 100644 >> --- a/package/fscryptctl/fscryptctl.hash >> +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.hash >> @@ -1,3 +1,3 @@ >> # Locally calculated >> -sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl-1.0.0.tar.gz >> +sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl_v2-1.0.0.tar.gz >> sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE >> diff --git a/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk >> new file mode 100644 >> index 0000000000..847a7bbcda >> --- /dev/null >> +++ b/package/fscryptctl/fscryptctl_v2/fscryptctl_v2.mk >> @@ -0,0 +1,21 @@ >> +################################################################################ >> +# >> +# fscryptctl_v2 >> +# >> +################################################################################ >> + >> +FSCRYPTCTL_V2_VERSION = 1.0.0 >> +FSCRYPTCTL_V2_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_V2_VERSION)) >> +FSCRYPTCTL_V2_LICENSE = Apache-2.0 >> +FSCRYPTCTL_V2_LICENSE_FILES = LICENSE >> + >> +define FSCRYPTCTL_V2_BUILD_CMDS >> + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ >> + CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl >> +endef >> + >> +define FSCRYPTCTL_V2_INSTALL_TARGET_CMDS >> + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl >> +endef >> + >> +$(eval $(generic-package)) >> -- >> 2.42.0.270.gbcb6cae296 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > > It is very exceptional that we allow chosing a version, so you'll need > to provide more explanations than "without an ability to migrate to v2". Thanks a lot for your comments. Indeed, I haven't found any cases like this among the current buildroot packages, so it seems I should have written the cover letter for the patch. Let me try to describe my motivation for it. > Note that commit b832f6eb9d stated: > There are unlikely to be many v1 users and the format has some known > vulnerabilities so no compatibility option is included. > > So this was a mindful decision not to provide such compatibility, > especially because of the vulnerability issues. The same explanation is given in the original commit that completely removes fscrypt v1 support in the fscryptctl tool: commit d2066cded914860164ffacebc24ea0afc0b57963 Author: Eric Biggers Date: Tue Feb 2 15:52:59 2021 -0800 Remove support for v1 encryption policies Since not many people are using fscryptctl yet, and v1 encryption policies have some annoying limitations which people keep running into, and all major users of filesystem encryption have already switched to v2 by default, it's better to just drop the fscryptctl support for v1 policies and only support v2. This keeps things much simpler going forward, and reduces the chance that people misconfigure things. If anyone really needs to continue to use v1-encrypted directories with fscryptctl (despite the known limitations with key visibility and so on), they can just use an older version of fscryptctl. Based on that, the original motivation of removing v1 support from the fscryptctl is to make the tool simpler, so users won't be able to make an initial fscrypt setup with fscrypt v1, which is no doubt worse than v2. Also, the author assumes that "not many people are using fscryptctl", so there are not many already configured v1 installations, but if there are, users can just use an older version of the fscryptctl tool. This is exactly what my patch is intended for: to give buildroot users an ability to use buildroots fscryptctl package for configurations with already existing v1-encrypted directories. Still, it chooses fscrypt v2 by default. Moreover, it is worth noticing, that fscrypt v1 support is still existing in linux kernel mainline, and I didn't find any news that the maintainers are going to remove it. > Why is it not possible for those users to migrate? buildroot is often used with embedded devices, and embedded devices often have limited disk space. As far as I understand, the only way to migrate from fscrypt v1 to v2 is to create v2-encrypted volume and then **copy** all the data into it. Without taking into account the technical difficulties of this task, it may be heavy load for storage device and will require additional disk space: according to linux kernel documentation, ""moving" an unencrypted file into an encrypted directory, e.g. with the mv program, is implemented in userspace by a copy followed by a delete". (https://www.kernel.org/doc/html/latest/filesystems/fscrypt.html?highlight=fscrypt#access-semantics) > In the odd case that we do indeed need to provide that choice, then > there is no need to split in two, as it is totally possible to write > everything in a single .mk in conditional blocs Thanks for the snippet, no doubt it is better to use a single .mk. However, I didn't find solution for having in a single .hash file different entries for different fscryptctl versions depending on user choice. From bremenpl at gmail.com Sun Oct 29 15:24:01 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Sun, 29 Oct 2023 15:24:01 +0000 Subject: [Buildroot] Help with DTO In-Reply-To: References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Message-ID: Hi Edgar and all, Edgar, as you suggested, I went with the beaglebone_defconfig as a template- when booted, I could normally export the GPIOs via sysfs. Again, I do not understand why this was not possible in the "virgin" buildroot system... Right now I am trying to figure out how to provide a device tree overlay on this system, that would define my specific baseboard (or cape, or hat...). What I do need to do is: Disable the HDMI pins, I think I dont need to do anything with pins that I need to use as outputs- I can just work with sysfs and userspace for these, Configure specific pins as belonging to PRU0 or PRU1, Enable the ethernet phy with DHCP by default (not sure if this is to be defined in the overlay). So question is: how to create such a DTO and make buildroot compile it and then later uBoot automatically load it, so the booted system has all the HW ready to be used? I would appreciate all further feedback! -- ?ukasz Przenios?o ------ Original Message ------ >From "?ukasz Przenios?o" To "Edgar Bonet" Cc buildroot at buildroot.org Date 2023-10-28 23:04:22 Subject Re[2]: [Buildroot] Help with DTO >Hi Edgar and thank you for the answer! > >This tutorial walks you through a manual configuration. Note that >Buildroot ships a ready-made configuration you can use: > > make beaglebone_defconfig # load the ready-made defconfig > make menuconfig # if you want to tweak it > make >I see, so this is like a more proper template for BBB specifically, >thanks! I started from scratch, because I wanted to try to learn as >much as possible + the fact that I do not need the HDMI pins. >Furthermore, I need to reuse them as gpio outputs and PRU inputs- for >these, I think I need to configure the pins in specific mode 5 (PRU1) >or 6 (PRU0). > >I do not understand why you need a device tree overlay. The tutorial >gets you a kernel together with the am335x-boneblack device tree. This >device tree already defines four GPIO chips. Can't you see them? Try > > ls /dev/gpiochip* >Yes, I do see them: > ># ls /dev/gpiochip* >/dev/gpiochip0 /dev/gpiochip1 /dev/gpiochip2 /dev/gpiochip3 > >My problem was that I was unable to export any of the gpios: > ># pwd >/sys/class/gpio ># echo 66 > export >[23448.896503] export_store: invalid GPIO 66 >sh: write error: Invalid argument > >I thought that these cannot be exported due to incorrect DTS- no? > >If you want to play with the GPIOs, I suggest you install the tools that >come with libgpiod: in Target packages / Libraries / Hardware handling, >select ?libgpiod?, then ?install tools?. Then, on the booted system, >type >Here, do you mean to choose all this in the make menuconfig dialog? > >Thanks already and in advance! > >-- >?ukasz Przenios?o > > >------ Original Message ------ >From "Edgar Bonet" >To "?ukasz Przenios?o" ; buildroot at buildroot.org >Date 2023-10-28 20:58:38 >Subject Re: [Buildroot] Help with DTO > >>Hello! >> >>?ukasz Przenios?o wrote, about the BeagleBone: >>> So I have the HW and virgin working Buildroot image baked thanks to >>> this tutorial. >>> (https://blog.billvanleeuwen.ca/creating-a-minimal-linux-system-for-the-beaglebone-black-with-buildroot) >> >>This tutorial walks you through a manual configuration. Note that >>Buildroot ships a ready-made configuration you can use: >> >> make beaglebone_defconfig # load the ready-made defconfig >> make menuconfig # if you want to tweak it >> make >> >>> What I wanted to do next is to create a device tree overlay for all >>> required GPIOs that would be compiled at kernel build time. >> >>I do not understand why you need a device tree overlay. The tutorial >>gets you a kernel together with the am335x-boneblack device tree. This >>device tree already defines four GPIO chips. Can't you see them? Try >> >> ls /dev/gpiochip* >> >>If you want to play with the GPIOs, I suggest you install the tools that >>come with libgpiod: in Target packages / Libraries / Hardware handling, >>select ?libgpiod?, then ?install tools?. Then, on the booted system, >>type >> >> gpiodetect >> gpioinfo >> >>You should see all the available GPIO chips, then all the GPIO lines. >> >>Regards, >> >>Edgar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fontaine.fabrice at gmail.com Sun Oct 29 18:05:09 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 19:05:09 +0100 Subject: [Buildroot] [PATCH 1/1] package/atop: fix musl build Message-ID: <20231029180509.283133-1-fontaine.fabrice@gmail.com> Fix the following build failure with musl raised since bump to version 2.9.0 in commit 8c70374c4f0f9f77875eac26a5e51ab662575c1c: atop.h:157:1: error: unknown type name 'time_t' 157 | time_t normalize_epoch(time_t, long); | ^~~~~~ atop.h:157:1: note: 'time_t' is defined in header ''; did you forget to '#include '? atop.h:157:40: error: expected ')' before 'long' 157 | time_t normalize_epoch(time_t, long); | ^~~~~ | ) Fixes: - http://autobuild.buildroot.org/results/e7ec8d16f2299320f374a0198c8e9b18a102b037 Signed-off-by: Fabrice Fontaine --- package/atop/0001-atop.h-include-time.h.patch | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/atop/0001-atop.h-include-time.h.patch diff --git a/package/atop/0001-atop.h-include-time.h.patch b/package/atop/0001-atop.h-include-time.h.patch new file mode 100644 index 0000000000..2b8a390e71 --- /dev/null +++ b/package/atop/0001-atop.h-include-time.h.patch @@ -0,0 +1,41 @@ +From 03c5c4dd29bc7590baccb55a36d61e7f4b39c1fe Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 29 Oct 2023 18:56:35 +0100 +Subject: [PATCH] atop.h: include time.h + +Include time.h to avoid the following build failure with musl: + +atop.h:157:1: error: unknown type name 'time_t' + 157 | time_t normalize_epoch(time_t, long); + | ^~~~~~ +atop.h:157:1: note: 'time_t' is defined in header ''; did you forget to '#include '? +atop.h:157:40: error: expected ')' before 'long' + 157 | time_t normalize_epoch(time_t, long); + | ^~~~~ + | ) + +Fixes: + - http://autobuild.buildroot.org/results/e7ec8d16f2299320f374a0198c8e9b18a102b037 + +Signed-off-by: Fabrice Fontaine +Upstream: https://github.com/Atoptool/atop/pull/280 +--- + atop.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/atop.h b/atop.h +index 9274fc5..3d5fea4 100644 +--- a/atop.h ++++ b/atop.h +@@ -24,6 +24,8 @@ + #ifndef __ATOP__ + #define __ATOP__ + ++#include ++ + #define EQ 0 + #define SECONDSINDAY 86400 + #define RAWNAMESZ 256 +-- +2.42.0 + -- 2.42.0 From yann.morin.1998 at free.fr Sun Oct 29 18:42:56 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:42:56 +0100 Subject: [Buildroot] [git commit] board/licheepi_zero: move board files to their own directory Message-ID: <20231029184356.15E7F8612E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=72c653367daaccb47089bfed4ca7ce459a75bde7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Group files for board licheepi_zero under the existing manufacturer directory, like all the other boards by Sipeed. Signed-off-by: Francois Dugast [yann.morin.1998 at free.fr: use the manufacturer sub-dir] Signed-off-by: Yann E. MORIN --- board/{licheepi => sipeed/licheepi_zero}/boot.cmd | 0 board/{licheepi => sipeed/licheepi_zero}/genimage.cfg | 0 board/{licheepi => sipeed/licheepi_zero}/readme.txt | 2 +- configs/licheepi_zero_defconfig | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/licheepi/boot.cmd b/board/sipeed/licheepi_zero/boot.cmd similarity index 100% rename from board/licheepi/boot.cmd rename to board/sipeed/licheepi_zero/boot.cmd diff --git a/board/licheepi/genimage.cfg b/board/sipeed/licheepi_zero/genimage.cfg similarity index 100% rename from board/licheepi/genimage.cfg rename to board/sipeed/licheepi_zero/genimage.cfg diff --git a/board/licheepi/readme.txt b/board/sipeed/licheepi_zero/readme.txt similarity index 97% rename from board/licheepi/readme.txt rename to board/sipeed/licheepi_zero/readme.txt index 6b8bf94b45..2f122125b7 100644 --- a/board/licheepi/readme.txt +++ b/board/sipeed/licheepi_zero/readme.txt @@ -10,7 +10,7 @@ How to build it Configure Buildroot ------------------- - $ make licheepi_zero_defconfig + $ make sipeed_licheepi_zero_defconfig Build the rootfs ---------------- diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig index 0d3115a996..1fa76923c8 100644 --- a/configs/licheepi_zero_defconfig +++ b/configs/licheepi_zero_defconfig @@ -12,7 +12,7 @@ BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Zero" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/genimage.cfg" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/licheepi_zero/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y @@ -45,7 +45,7 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/boot.cmd" +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/sipeed/licheepi_zero/boot.cmd" # Required host utilities for building an SDCard image BR2_PACKAGE_HOST_DOSFSTOOLS=y From yann.morin.1998 at free.fr Sun Oct 29 18:43:29 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:43:29 +0100 Subject: [Buildroot] [git commit] configs/sipeed_licheepi_nano: new board Message-ID: <20231029184356.2515F86109@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9a51a07a9175cd564fffa89a6b8b851c258384a0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add support for the LicheePi Nano with mainline components: - U-Boot 2023.04 - Linux 6.5.9 Board homepage and more usable WiKi: - https://wiki.sipeed.com/hardware/en/lichee/Nano/Nano.html - https://linux-sunxi.org/LicheePi_Nano linux.fragment is required to disable some features in order to keep the kernel size small, otherwise the board does not boot due to limited memory. See note in readme.txt. Signed-off-by: Francois Dugast [yann.morin.1998 at free.fr: - use fixed kernel version - use manufacturer directory ] Signed-off-by: Yann E. MORIN --- board/sipeed/licheepi_nano/genimage.cfg | 33 ++++++++++++ board/sipeed/licheepi_nano/linux.fragment | 11 ++++ board/sipeed/licheepi_nano/readme.txt | 84 +++++++++++++++++++++++++++++++ board/sipeed/licheepi_nano/uboot.fragment | 3 ++ configs/sipeed_licheepi_nano_defconfig | 45 +++++++++++++++++ 5 files changed, 176 insertions(+) diff --git a/board/sipeed/licheepi_nano/genimage.cfg b/board/sipeed/licheepi_nano/genimage.cfg new file mode 100644 index 0000000000..5e398eeb21 --- /dev/null +++ b/board/sipeed/licheepi_nano/genimage.cfg @@ -0,0 +1,33 @@ +flash w25q128 { + pebsize = 65536 + numpebs = 256 + minimum-io-unit-size = 1 + sub-page-size = 1 + vid-header-offset = 64 +} + +image flash.bin { + flash {} + flashtype = w25q128 + + partition uboot { + image = "u-boot-sunxi-with-spl.bin" + size = 512K + } + + partition dtb { + image = "suniv-f1c100s-licheepi-nano.dtb" + size = 64K + } + + partition zimage { + image = "zImage" + size = 5M + } + + partition rootfs { + image = "rootfs.jffs2" + size = 0 + } +} + diff --git a/board/sipeed/licheepi_nano/linux.fragment b/board/sipeed/licheepi_nano/linux.fragment new file mode 100644 index 0000000000..af68f28167 --- /dev/null +++ b/board/sipeed/licheepi_nano/linux.fragment @@ -0,0 +1,11 @@ +# CONFIG_NET is not set +# CONFIG_DRM is not set +# CONFIG_CMA is not set +# CONFIG_ARCH_MULTI_V7 is not set +CONFIG_UEVENT_HELPER=y +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_SPI_NOR=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set +CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_JFFS2_FS=y diff --git a/board/sipeed/licheepi_nano/readme.txt b/board/sipeed/licheepi_nano/readme.txt new file mode 100644 index 0000000000..1f1f8ef17d --- /dev/null +++ b/board/sipeed/licheepi_nano/readme.txt @@ -0,0 +1,84 @@ +Intro +===== + +This directory contains a buildroot configuration for building a +LicheePi Nano image which can be flashed into the board. + +This frees the MMC port which can be used for an additional SD +card of for a WiFi adapter. + +How to build it +=============== + +Configure Buildroot +------------------- + + $ make sipeed_licheepi_nano_defconfig + +Build the rootfs +---------------- + +Note: you will need to have access to the network, since Buildroot +will download the packages' sources. + +You may now build your rootfs with: + + $ make + +(This may take a while, consider getting yourself a coffee ;-) ) + +Result of the build +------------------- + +After building, you should obtain this tree: + + output/images/ + +-- flash.bin + +-- rootfs.jffs2 + +-- rootfs.tar + +-- suniv-f1c100s-licheepi-nano.dtb + +-- u-boot.bin + +-- u-boot-sunxi-with-spl.bin + `-- zImage + +How to flash +============ + +Once the build process is finished you will have an image called +"flash.bin" in the output/images/ directory. It contains the +bootloader, the device tree, the kernel and the root file system. + +The device can be flashed when it is in special mode called "FEL +mode". There are multiple ways to enter this mode described here: +https://linux-sunxi.org/FEL#Entering_FEL_mode + +One way is to write one file from sunxi-tools to a SD card with: + + $ sudo dd if=./output/build/host-sunxi-tools-*/bin/fel-sdboot.sunxi of=/dev/sdX bs=1024 seek=8 + +Once the SD card is burned, insert it into your LicheePi Nano board, +and plug the USB cable. A new USB device should be visible with +lsusb: + + 1f3a:efe8 Allwinner Technology sunxi SoC OTG connector in FEL/flashing mode + +The image can be flashed with: + + $ sudo ./output/host/bin/sunxi-fel -p spiflash-write 0 output/images/flash.bin + +Once this completes, remove the SD card and power the board. Your +new system should come up now and start a console on the UART0 +serial port. + +Note +==== + +Some standard kernel features are disabled using the fragment in +order to reduce the size. They can be enabled again if other +features are disabled instead. + +For U-Boot, the upstream repository is preferred and the system +boots, but loading the image from the flash takes a long time. It +is much faster when using the branch "licheepi-nano-v2020.01" of +this fork: +https://github.com/florpor/u-boot diff --git a/board/sipeed/licheepi_nano/uboot.fragment b/board/sipeed/licheepi_nano/uboot.fragment new file mode 100644 index 0000000000..39f2bfe742 --- /dev/null +++ b/board/sipeed/licheepi_nano/uboot.fragment @@ -0,0 +1,3 @@ +CONFIG_USE_BOOTARGS=y +CONFIG_BOOTARGS="console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=spi0.0:512k(uboot)ro,64k(dtb),5M(kernel)ro,-(rootfs)" +CONFIG_BOOTCOMMAND="sf probe 0 50000000; sf read 0x80C00000 0x80000 0x4000; sf read 0x80008000 0x90000 0x500000; bootz 0x80008000 - 0x80C00000" diff --git a/configs/sipeed_licheepi_nano_defconfig b/configs/sipeed_licheepi_nano_defconfig new file mode 100644 index 0000000000..8be26165d9 --- /dev/null +++ b/configs/sipeed_licheepi_nano_defconfig @@ -0,0 +1,45 @@ +# Target options +BR2_arm=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="licheepi-nano" +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Nano" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/licheepi_nano/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.9" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/licheepi_nano/linux.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/suniv-f1c100s-licheepi-nano" + +# Filesystem images +BR2_TARGET_ROOTFS_JFFS2=y +BR2_TARGET_ROOTFS_JFFS2_FLASH_64=y +BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y +BR2_TARGET_ROOTFS_JFFS2_PAD=y + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="licheepi_nano" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/sipeed/licheepi_nano/uboot.fragment" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# Required host utilities +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_E2FSPROGS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_SUNXI_TOOLS=y From bremenpl at gmail.com Sun Oct 29 18:44:33 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Sun, 29 Oct 2023 18:44:33 +0000 Subject: [Buildroot] Help with DTO In-Reply-To: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Message-ID: Hi Edgar and all, With your suggestion: If you want to play with the GPIOs, I suggest you install the tools that come with libgpiod: in Target packages / Libraries / Hardware handling, select ?libgpiod?, then ?install tools?. Then, on the booted system, type gpiodetect gpioinfo You should see all the available GPIO chips, then all the GPIO lines. I have installed libgpiod and I am able to see the mentioned tools: gpiodetect gpiofind gpioget gpioinfo gpiomon gpioset The problem is that thse mentioned commands provide no output in my shell (here run one by one with no output): # gpiodetect # gpioinfo # And I think none of these libgpiod tools do... At the same time, I am able to use the old sysfs way to export a gpio and toggle it and so on. I tried googling around, but I could find no reference to these tools not providing any output. Am I missing anything in the buildroot config? In the menuconfig I have checked both libgpiod and its tools... I would appreciate all feedback! -- ?ukasz Przenios?o ------ Original Message ------ >From "Edgar Bonet" To "?ukasz Przenios?o" ; buildroot at buildroot.org Date 2023-10-28 20:58:38 Subject Re: [Buildroot] Help with DTO >Hello! > >?ukasz Przenios?o wrote, about the BeagleBone: >> So I have the HW and virgin working Buildroot image baked thanks to >> this tutorial. >> (https://blog.billvanleeuwen.ca/creating-a-minimal-linux-system-for-the-beaglebone-black-with-buildroot) > >This tutorial walks you through a manual configuration. Note that >Buildroot ships a ready-made configuration you can use: > > make beaglebone_defconfig # load the ready-made defconfig > make menuconfig # if you want to tweak it > make > >> What I wanted to do next is to create a device tree overlay for all >> required GPIOs that would be compiled at kernel build time. > >I do not understand why you need a device tree overlay. The tutorial >gets you a kernel together with the am335x-boneblack device tree. This >device tree already defines four GPIO chips. Can't you see them? Try > > ls /dev/gpiochip* > >If you want to play with the GPIOs, I suggest you install the tools that >come with libgpiod: in Target packages / Libraries / Hardware handling, >select ?libgpiod?, then ?install tools?. Then, on the booted system, >type > > gpiodetect > gpioinfo > >You should see all the available GPIO chips, then all the GPIO lines. > >Regards, > >Edgar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.morin.1998 at free.fr Sun Oct 29 18:45:33 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:45:33 +0100 Subject: [Buildroot] [PATCH 1/2] board/licheepi_zero: move board files to their own directory In-Reply-To: <20231027114700.1904-1-francois.dugast.foss@gmail.com> References: <20231027114700.1904-1-francois.dugast.foss@gmail.com> Message-ID: <20231029184533.GY687180@scaer> Fran?ois, All, On 2023-10-27 13:46 +0200, Francois Dugast spake thusly: > Group files for board licheepi_zero under a new directory. This is > to prepare for a new board also coming to the licheepi directory. Licheepi-zero is a board by Sipeed, the manufacturer, and we already had a subdir for them, so I moved the board files there rather than introduce the board/licheepi/ sub-dir. Applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Francois Dugast > --- > board/licheepi/{ => licheepi_zero}/boot.cmd | 0 > board/licheepi/{ => licheepi_zero}/genimage.cfg | 0 > board/licheepi/{ => licheepi_zero}/readme.txt | 0 > configs/licheepi_zero_defconfig | 4 ++-- > 4 files changed, 2 insertions(+), 2 deletions(-) > rename board/licheepi/{ => licheepi_zero}/boot.cmd (100%) > rename board/licheepi/{ => licheepi_zero}/genimage.cfg (100%) > rename board/licheepi/{ => licheepi_zero}/readme.txt (100%) > > diff --git a/board/licheepi/boot.cmd b/board/licheepi/licheepi_zero/boot.cmd > similarity index 100% > rename from board/licheepi/boot.cmd > rename to board/licheepi/licheepi_zero/boot.cmd > diff --git a/board/licheepi/genimage.cfg b/board/licheepi/licheepi_zero/genimage.cfg > similarity index 100% > rename from board/licheepi/genimage.cfg > rename to board/licheepi/licheepi_zero/genimage.cfg > diff --git a/board/licheepi/readme.txt b/board/licheepi/licheepi_zero/readme.txt > similarity index 100% > rename from board/licheepi/readme.txt > rename to board/licheepi/licheepi_zero/readme.txt > diff --git a/configs/licheepi_zero_defconfig b/configs/licheepi_zero_defconfig > index 0d3115a996..c8f74a7f04 100644 > --- a/configs/licheepi_zero_defconfig > +++ b/configs/licheepi_zero_defconfig > @@ -12,7 +12,7 @@ BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Zero" > BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" > BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y > BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" > -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/genimage.cfg" > +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/licheepi_zero/genimage.cfg" > > # Kernel > BR2_LINUX_KERNEL=y > @@ -45,7 +45,7 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM=y > BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" > BR2_PACKAGE_HOST_UBOOT_TOOLS=y > BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y > -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/boot.cmd" > +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/licheepi/licheepi_zero/boot.cmd" > > # Required host utilities for building an SDCard image > BR2_PACKAGE_HOST_DOSFSTOOLS=y > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Sun Oct 29 18:49:44 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:49:44 +0100 Subject: [Buildroot] [PATCH 2/2] board/licheepi/licheepi_nano: new board In-Reply-To: <20231027114700.1904-2-francois.dugast.foss@gmail.com> References: <20231027114700.1904-1-francois.dugast.foss@gmail.com> <20231027114700.1904-2-francois.dugast.foss@gmail.com> Message-ID: <20231029184944.GZ687180@scaer> Fran?ois. All, On 2023-10-27 13:47 +0200, Francois Dugast spake thusly: > Add support for the LicheePi Nano with: > - U-Boot 2023.04 > - Linux current latest version We do not leave the kernel version to the l;atest one, because we want to have known-working defconfigs, and so bumping the kernel (and bootloader) version should be explicit (and tested) rather than follow whatever the latest kernel version is. So I pinned the version to kernel 6.5.9, which is the current latest known to Biuldroot (so, presumably what you tested with). > Board homepage: https://linux-sunxi.org/LicheePi_Nano I added the true home page on the manufacturer website, and kept the linux-sunxi wiki URL too. > linux.fragment is required to disable some features in order > to keep the kernel size small, otherwise the board does not > boot due to limited memory. See note in readme.txt. > > Signed-off-by: Francois Dugast > --- > board/licheepi/licheepi_nano/genimage.cfg | 33 ++++++++ > board/licheepi/licheepi_nano/linux.fragment | 11 +++ > board/licheepi/licheepi_nano/readme.txt | 84 +++++++++++++++++++++ > board/licheepi/licheepi_nano/uboot.fragment | 3 + > configs/licheepi_nano_defconfig | 43 +++++++++++ > 5 files changed, 174 insertions(+) > create mode 100644 board/licheepi/licheepi_nano/genimage.cfg > create mode 100644 board/licheepi/licheepi_nano/linux.fragment > create mode 100644 board/licheepi/licheepi_nano/readme.txt > create mode 100644 board/licheepi/licheepi_nano/uboot.fragment > create mode 100644 configs/licheepi_nano_defconfig Of course, like for licheepi_zero, I moved that to the sipeed sub-dir. And as for licheepi_zero, I renamed the defconfig to start with sipeed, like all the other sipeed boards. Oops, I forgot to rename licheepi_zero, so I've pushed a fixup commit... Applied to master with the above changes, thanks. Regards, Yann E. MORIN. > diff --git a/board/licheepi/licheepi_nano/genimage.cfg b/board/licheepi/licheepi_nano/genimage.cfg > new file mode 100644 > index 0000000000..5e398eeb21 > --- /dev/null > +++ b/board/licheepi/licheepi_nano/genimage.cfg > @@ -0,0 +1,33 @@ > +flash w25q128 { > + pebsize = 65536 > + numpebs = 256 > + minimum-io-unit-size = 1 > + sub-page-size = 1 > + vid-header-offset = 64 > +} > + > +image flash.bin { > + flash {} > + flashtype = w25q128 > + > + partition uboot { > + image = "u-boot-sunxi-with-spl.bin" > + size = 512K > + } > + > + partition dtb { > + image = "suniv-f1c100s-licheepi-nano.dtb" > + size = 64K > + } > + > + partition zimage { > + image = "zImage" > + size = 5M > + } > + > + partition rootfs { > + image = "rootfs.jffs2" > + size = 0 > + } > +} > + > diff --git a/board/licheepi/licheepi_nano/linux.fragment b/board/licheepi/licheepi_nano/linux.fragment > new file mode 100644 > index 0000000000..af68f28167 > --- /dev/null > +++ b/board/licheepi/licheepi_nano/linux.fragment > @@ -0,0 +1,11 @@ > +# CONFIG_NET is not set > +# CONFIG_DRM is not set > +# CONFIG_CMA is not set > +# CONFIG_ARCH_MULTI_V7 is not set > +CONFIG_UEVENT_HELPER=y > +CONFIG_MTD=y > +CONFIG_MTD_BLOCK=y > +CONFIG_MTD_SPI_NOR=y > +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set > +CONFIG_MTD_CMDLINE_PARTS=y > +CONFIG_JFFS2_FS=y > diff --git a/board/licheepi/licheepi_nano/readme.txt b/board/licheepi/licheepi_nano/readme.txt > new file mode 100644 > index 0000000000..55aa602777 > --- /dev/null > +++ b/board/licheepi/licheepi_nano/readme.txt > @@ -0,0 +1,84 @@ > +Intro > +===== > + > +This directory contains a buildroot configuration for building a > +LicheePi Nano image which can be flashed into the board. > + > +This frees the MMC port which can be used for an additional SD > +card of for a WiFi adapter. > + > +How to build it > +=============== > + > +Configure Buildroot > +------------------- > + > + $ make licheepi_nano_defconfig > + > +Build the rootfs > +---------------- > + > +Note: you will need to have access to the network, since Buildroot > +will download the packages' sources. > + > +You may now build your rootfs with: > + > + $ make > + > +(This may take a while, consider getting yourself a coffee ;-) ) > + > +Result of the build > +------------------- > + > +After building, you should obtain this tree: > + > + output/images/ > + +-- flash.bin > + +-- rootfs.jffs2 > + +-- rootfs.tar > + +-- suniv-f1c100s-licheepi-nano.dtb > + +-- u-boot.bin > + +-- u-boot-sunxi-with-spl.bin > + `-- zImage > + > +How to flash > +============ > + > +Once the build process is finished you will have an image called > +"flash.bin" in the output/images/ directory. It contains the > +bootloader, the device tree, the kernel and the root file system. > + > +The device can be flashed when it is in special mode called "FEL > +mode". There are multiple ways to enter this mode described here: > +https://linux-sunxi.org/FEL#Entering_FEL_mode > + > +One way is to write one file from sunxi-tools to a SD card with: > + > + $ sudo dd if=./output/build/host-sunxi-tools-*/bin/fel-sdboot.sunxi of=/dev/sdX bs=1024 seek=8 > + > +Once the SD card is burned, insert it into your LicheePi Nano board, > +and plug the USB cable. A new USB device should be visible with > +lsusb: > + > + 1f3a:efe8 Allwinner Technology sunxi SoC OTG connector in FEL/flashing mode > + > +The image can be flashed with: > + > + $ sudo ./output/host/bin/sunxi-fel -p spiflash-write 0 output/images/flash.bin > + > +Once this completes, remove the SD card and power the board. Your > +new system should come up now and start a console on the UART0 > +serial port. > + > +Note > +==== > + > +Some standard kernel features are disabled using the fragment in > +order to reduce the size. They can be enabled again if other > +features are disabled instead. > + > +For U-Boot, the upstream repository is preferred and the system > +boots, but loading the image from the flash takes a long time. It > +is much faster when using the branch "licheepi-nano-v2020.01" of > +this fork: > +https://github.com/florpor/u-boot > diff --git a/board/licheepi/licheepi_nano/uboot.fragment b/board/licheepi/licheepi_nano/uboot.fragment > new file mode 100644 > index 0000000000..39f2bfe742 > --- /dev/null > +++ b/board/licheepi/licheepi_nano/uboot.fragment > @@ -0,0 +1,3 @@ > +CONFIG_USE_BOOTARGS=y > +CONFIG_BOOTARGS="console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=spi0.0:512k(uboot)ro,64k(dtb),5M(kernel)ro,-(rootfs)" > +CONFIG_BOOTCOMMAND="sf probe 0 50000000; sf read 0x80C00000 0x80000 0x4000; sf read 0x80008000 0x90000 0x500000; bootz 0x80008000 - 0x80C00000" > diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig > new file mode 100644 > index 0000000000..3dbd29241f > --- /dev/null > +++ b/configs/licheepi_nano_defconfig > @@ -0,0 +1,43 @@ > +# Target options > +BR2_arm=y > + > +# System configuration > +BR2_TARGET_GENERIC_HOSTNAME="licheepi-nano" > +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Nano" > +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" > +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y > +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" > +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/licheepi/licheepi_nano/genimage.cfg" > + > +# Kernel > +BR2_LINUX_KERNEL=y > +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" > +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/licheepi/licheepi_nano/linux.fragment" > +BR2_LINUX_KERNEL_DTS_SUPPORT=y > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/suniv-f1c100s-licheepi-nano" > + > +# Filesystem images > +BR2_TARGET_ROOTFS_JFFS2=y > +BR2_TARGET_ROOTFS_JFFS2_FLASH_64=y > +BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y > +BR2_TARGET_ROOTFS_JFFS2_PAD=y > + > +# Bootloaders > +BR2_TARGET_UBOOT=y > +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > +BR2_TARGET_UBOOT_CUSTOM_VERSION=y > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" > +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="licheepi_nano" > +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/licheepi/licheepi_nano/uboot.fragment" > +BR2_TARGET_UBOOT_SPL=y > +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" > +BR2_TARGET_UBOOT_NEEDS_DTC=y > +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y > +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y > + > +# Required host utilities > +BR2_PACKAGE_HOST_DOSFSTOOLS=y > +BR2_PACKAGE_HOST_E2FSPROGS=y > +BR2_PACKAGE_HOST_GENIMAGE=y > +BR2_PACKAGE_HOST_MTOOLS=y > +BR2_PACKAGE_HOST_SUNXI_TOOLS=y > -- > 2.30.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From fontaine.fabrice at gmail.com Sun Oct 29 19:30:44 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 20:30:44 +0100 Subject: [Buildroot] [PATCH 1/1] package/ace: bump to version 7.1.1 Message-ID: <20231029193044.672993-1-fontaine.fabrice@gmail.com> - Drop patches (already in version) - C++14 is mandatory since version 7.1.0 https://github.com/DOCGroup/ACE_TAO/blob/ACE%2BTAO-7_1_1/ACE/NEWS Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 2 - ...Asynch_BIO.cpp-fix-build-with-libres.patch | 52 ----------------- ...Asynch_BIO.cpp-fix-build-with-libres.patch | 56 ------------------- package/ace/Config.in | 6 +- package/ace/ace.hash | 6 +- package/ace/ace.mk | 4 +- 6 files changed, 8 insertions(+), 118 deletions(-) delete mode 100644 package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch delete mode 100644 package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch diff --git a/.checkpackageignore b/.checkpackageignore index 7f12a9a3b4..d5c894ff25 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -124,8 +124,6 @@ boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch Up linux/5.10.162-cip24-rt10/0001-arch-microblaze-mm-init.c-fix-build.patch Upstream package/18xx-ti-utils/0001-plt.h-fix-build-with-gcc-10.patch Upstream package/4th/0001-avoid-regen-during-install.patch Upstream -package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch Upstream -package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch Upstream package/acl/0001-Build-with-old-GCC-versions.patch Upstream package/acpid/0001-dont-use-isfdtype.patch Upstream package/alchemy/0001-toolchains-remove-hash-style-management.patch Upstream diff --git a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch deleted file mode 100644 index ad82c10172..0000000000 --- a/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch +++ /dev/null @@ -1,52 +0,0 @@ -From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 3 Apr 2022 15:25:49 +0200 -Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl - -Fix the following build failure with libressl: - -/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? - 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) - | ^~~~~~~~~~~~ - | BIO_set_init - -Fixes: - - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] ---- - ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp -index a657d8a14e6f7..64aa14c6ab9a7 100644 ---- a/ace/SSL/SSL_Asynch_BIO.cpp -+++ b/ace/SSL/SSL_Asynch_BIO.cpp -@@ -41,7 +41,7 @@ extern "C" - - #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - static BIO_METHOD methods_ACE = - { - BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, -@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = - #else - static BIO_METHOD* methods_ACE; - # define BIO_set_num(b, val) --#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ -+#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL - - BIO * - ACE_SSL_make_BIO (void * ssl_asynch_stream) - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - BIO * const pBIO = BIO_new (&methods_ACE); - #else - if (!methods_ACE) diff --git a/package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch deleted file mode 100644 index 4f9fde5579..0000000000 --- a/package/ace/0002-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 82b139f921ddb549c1bd236030bbc86e314852b3 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 21 Feb 2023 14:20:11 +0100 -Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl >= - 3.5.0 - -Fix the following build failure with libressl >= 3.5.0: - -/tmp/instance-17/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:45:19: error: variable 'BIO_METHOD methods_ACE' has initializer but incomplete type - 45 | static BIO_METHOD methods_ACE = - | ^~~~~~~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/7f40d6dde03134238151c248fbbd66e4713546cb - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/DOCGroup/ACE_TAO/pull/2053] ---- - ACE/ace/SSL/SSL_Asynch_BIO.cpp | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp -index 0faa775fc0..5543598873 100644 ---- a/ace/SSL/SSL_Asynch_BIO.cpp -+++ b/ace/SSL/SSL_Asynch_BIO.cpp -@@ -41,7 +41,8 @@ extern "C" - - #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x30500000L) - static BIO_METHOD methods_ACE = - { - BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, -@@ -68,14 +69,15 @@ static BIO_METHOD methods_ACE = - #else - static BIO_METHOD* methods_ACE; - # define BIO_set_num(b, val) --#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ -+#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x30500000L) */ - - ACE_BEGIN_VERSIONED_NAMESPACE_DECL - - BIO * - ACE_SSL_make_BIO (void * ssl_asynch_stream) - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x30500000L) - BIO * const pBIO = BIO_new (&methods_ACE); - #else - if (!methods_ACE) --- -2.39.0 - diff --git a/package/ace/Config.in b/package/ace/Config.in index 5000f2352f..cf3819284b 100644 --- a/package/ace/Config.in +++ b/package/ace/Config.in @@ -3,14 +3,14 @@ config BR2_PACKAGE_ACE depends on BR2_TOOLCHAIN_USES_GLIBC depends on !BR2_STATIC_LIBS depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 help The ADAPTIVE Communication Environment (ACE(TM)) An OO Network Programming Toolkit in C++. http://www.dre.vanderbilt.edu/~schmidt/ACE.html -comment "ACE needs a glibc toolchain, dynamic library, C++, gcc >= 4.8" +comment "ACE needs a glibc toolchain, dynamic library, C++, gcc >= 4.9" depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/ace/ace.hash b/package/ace/ace.hash index 2387927879..0c5ed12c97 100644 --- a/package/ace/ace.hash +++ b/package/ace/ace.hash @@ -1,6 +1,6 @@ -# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.0.6.tar.bz2.md5: -md5 d1656851619aff15365270ccf2d56c6e ACE-7.0.6.tar.bz2 +# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.1.1.tar.bz2.md5: +md5 6c86ec6c7879703783b9749d5409a67f ACE-7.1.1.tar.bz2 # Locally Computed: -sha256 4a0cd7da4851f769fddfcf33f663eba4afad824efeff9f59f134c4640ee80216 ACE-7.0.6.tar.bz2 +sha256 fe5fdeab1dddf4fdd99f73c59420886cf61ca2ce92adf2cc6b612b752986df62 ACE-7.1.1.tar.bz2 sha256 687bf9d16119e0caf6fb5c18214928fd6ea0da10df91e906255b7613af8061d8 COPYING diff --git a/package/ace/ace.mk b/package/ace/ace.mk index 29555eea74..1f79508629 100644 --- a/package/ace/ace.mk +++ b/package/ace/ace.mk @@ -4,7 +4,7 @@ # ################################################################################ -ACE_VERSION = 7.0.6 +ACE_VERSION = 7.1.1 ACE_SOURCE = ACE-$(ACE_VERSION).tar.bz2 ACE_SITE = http://download.dre.vanderbilt.edu/previous_versions ACE_LICENSE = DOC @@ -17,7 +17,7 @@ ACE_CPE_ID_PRODUCT = adaptive_communication_environment # Only compiling ACE libraries (no TAO) ACE_LIBRARIES = ace ACEXML Kokyu netsvcs protocols/ace -ACE_CPPFLAGS = $(TARGET_CPPFLAGS) -std=c++11 +ACE_CPPFLAGS = $(TARGET_CPPFLAGS) -std=c++14 ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101915),y) ACE_CPPFLAGS += -O0 -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 19:36:23 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 20:36:23 +0100 Subject: [Buildroot] [PATCH 1/1] package/aespipe: bump to version 2.4g Message-ID: <20231029193623.679637-1-fontaine.fabrice@gmail.com> aespipe-v2.4g October 23 2023 - Added configure script autodetection for -fno-strict-aliasing compile flag. This option is needed with some compilers that miscompile code when link-time-optimization is used. Signed-off-by: Fabrice Fontaine --- package/aespipe/aespipe.hash | 8 ++++---- package/aespipe/aespipe.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/aespipe/aespipe.hash b/package/aespipe/aespipe.hash index f7491278e0..4fe7d0753b 100644 --- a/package/aespipe/aespipe.hash +++ b/package/aespipe/aespipe.hash @@ -1,5 +1,5 @@ -# From https://sourceforge.net/projects/loop-aes/files/aespipe/v2.4f/ -sha1 2c23e1a6be298cf4f173f06b1123e4ecd5e9a202 aespipe-v2.4f.tar.bz2 -md5 ed05c62c1954110f009bedda4bc1562f aespipe-v2.4f.tar.bz2 +# From https://sourceforge.net/projects/loop-aes/files/aespipe/v2.4g/ +sha1 fb6b0108176d653f0e5b3be2385b132be791d800 aespipe-v2.4g.tar.bz2 +md5 c216c6c9e939fac69f859af0ad2fd8ef aespipe-v2.4g.tar.bz2 # Locally computed: -sha256 b135e1659f58dc9be5e3c88923cd03d2a936096ab8cd7f2b3af4cb7a844cef96 aespipe-v2.4f.tar.bz2 +sha256 bfb97e7de161e8d7ce113b163bda1d1a8ec77d2c1afab56dcc8153d7a90187fc aespipe-v2.4g.tar.bz2 diff --git a/package/aespipe/aespipe.mk b/package/aespipe/aespipe.mk index fd4f776dda..4769536d2f 100644 --- a/package/aespipe/aespipe.mk +++ b/package/aespipe/aespipe.mk @@ -4,7 +4,7 @@ # ################################################################################ -AESPIPE_VERSION = 2.4f +AESPIPE_VERSION = 2.4g AESPIPE_SOURCE = aespipe-v$(AESPIPE_VERSION).tar.bz2 AESPIPE_SITE = http://loop-aes.sourceforge.net/aespipe AESPIPE_LICENSE = GPL -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 19:41:41 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 20:41:41 +0100 Subject: [Buildroot] [PATCH 1/1] package/bcm2835: bump to version 1.73 Message-ID: <20231029194141.684797-1-fontaine.fabrice@gmail.com> 1.72 Added examples/smi/smi.c showing how to use new SMI bus support, courtesy Benoit Bouchez. Added support for disabling documentation genetration with "./configure --with-docs=no", courtesy of Christian Zuckschwerdt. 1.73 Fixed some inconsistent indenting in bcm2835.c that triggers warnings for some people. Added Timeout checks to bcm2835_i2c_write() in case of IO problems. New reason cade BCM2835_I2C_REASON_ERROR_TIMEOUT added. Patch courtesy Simon Peacock. Signed-off-by: Fabrice Fontaine --- package/bcm2835/bcm2835.hash | 2 +- package/bcm2835/bcm2835.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/bcm2835/bcm2835.hash b/package/bcm2835/bcm2835.hash index 2cdc35fcee..802f34335b 100644 --- a/package/bcm2835/bcm2835.hash +++ b/package/bcm2835/bcm2835.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 564920d205977d7e2846e434947708455d468d3a952feca9faef643abd03a227 bcm2835-1.71.tar.gz +sha256 e67a986462618988a5a86752e36e3ebdd7c5cae66940ff7330aea243b2762525 bcm2835-1.73.tar.gz sha256 8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b COPYING diff --git a/package/bcm2835/bcm2835.mk b/package/bcm2835/bcm2835.mk index 4870aa10ba..dcf21cb5f0 100644 --- a/package/bcm2835/bcm2835.mk +++ b/package/bcm2835/bcm2835.mk @@ -4,7 +4,7 @@ # ################################################################################ -BCM2835_VERSION = 1.71 +BCM2835_VERSION = 1.73 BCM2835_SITE = https://www.airspayce.com/mikem/bcm2835 BCM2835_LICENSE = GPL-3.0 BCM2835_LICENSE_FILES = COPYING -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 19:53:37 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 20:53:37 +0100 Subject: [Buildroot] [PATCH 1/1] package/c-periphery: bump to version 2.4.2 Message-ID: <20231029195337.755864-1-fontaine.fabrice@gmail.com> Update hash of LICENSE file (year updated with https://github.com/vsergeev/c-periphery/commit/415b0cf5e826b26a35f7ddf752d092c1adbf11ee) https://github.com/vsergeev/c-periphery/blob/v2.4.2/CHANGELOG.md Signed-off-by: Fabrice Fontaine --- package/c-periphery/c-periphery.hash | 4 ++-- package/c-periphery/c-periphery.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/c-periphery/c-periphery.hash b/package/c-periphery/c-periphery.hash index 516cfb33e5..f8f0654b4f 100644 --- a/package/c-periphery/c-periphery.hash +++ b/package/c-periphery/c-periphery.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 ba298aac5c1f6ebe2b89ed623a2f678bedfa3b9dc78aaf4f0534a1dd304629da c-periphery-2.3.1.tar.gz -sha256 7121a0a2ba36ed9388be2f1a916f0e3584d8e49cc7888fbcfcf83bab2a8bebef LICENSE +sha256 24327bc2a22588444b2576fa1c9560619f6faad986c236c54f4b3f36b20dad56 c-periphery-2.4.2.tar.gz +sha256 2c29e38ac4d393558522c5fa671bd03f9d6f7d751c899a3482b20ab2a0ba5122 LICENSE diff --git a/package/c-periphery/c-periphery.mk b/package/c-periphery/c-periphery.mk index 722679f9f8..367ac319b3 100644 --- a/package/c-periphery/c-periphery.mk +++ b/package/c-periphery/c-periphery.mk @@ -4,7 +4,7 @@ # ################################################################################ -C_PERIPHERY_VERSION = 2.3.1 +C_PERIPHERY_VERSION = 2.4.2 C_PERIPHERY_SITE = $(call github,vsergeev,c-periphery,v$(C_PERIPHERY_VERSION)) C_PERIPHERY_INSTALL_STAGING = YES C_PERIPHERY_LICENSE = MIT -- 2.42.0 From yegorslists at googlemail.com Sun Oct 29 20:11:59 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Sun, 29 Oct 2023 21:11:59 +0100 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend In-Reply-To: References: <20231028102435.1771460-1-yegorslists@googlemail.com> Message-ID: Hi James, all, On Sat, Oct 28, 2023 at 12:44?PM James Hilliard wrote: > > On Sat, Oct 28, 2023 at 4:31?AM Yegor Yefremov wrote: >> >> Hi all, >> >> On Sat, Oct 28, 2023 at 12:25?PM wrote: >> > >> > From: Yegor Yefremov >> > >> > Since version 41.0.0, setuptools has an experimental PEP517 support. >> > >> > Signed-off-by: Yegor Yefremov >> > --- >> > package/pkg-python.mk | 2 +- >> > 1 file changed, 1 insertion(+), 1 deletion(-) >> > >> > diff --git a/package/pkg-python.mk b/package/pkg-python.mk >> > index 28ee4cb85f..00f71f6b19 100644 >> > --- a/package/pkg-python.mk >> > +++ b/package/pkg-python.mk >> > @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) >> > $(2)_DEPENDENCIES += host-python-setuptools-rust >> > endif >> > else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) >> > -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer >> > +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer host-python-setuptools >> > ifeq ($$($(2)_SETUP_TYPE),flit) >> > $(2)_DEPENDENCIES += host-python-flit-core >> > endif >> >> This patch is more a workaround to convert such packages as >> python-tornado, python-configobj, etc. to PEP517 infrastructure. These >> packages just use a build-system section and otherwise rely on the >> setup.py file: > > > Are these failing to build without PEP517 infrastructure for setuptools? No, they are working as expected in both "worlds". >> >> [build-system] >> requires = ["setuptools"] >> build-backend = "setuptools.build_meta" >> >> What is the plan to support this backend? Just use setuptools-rust or >> convert "_SETUP_TYPE=setuptools" to PEP517 after the introduction of >> Python 12.x? > > > I already have a patch converting our setuptools infrastructure to PEP517: > https://lore.kernel.org/buildroot/20230930152517.1077576-3-james.hilliard1 at gmail.com/ I have overlooked your series. Meanwhile, I could test it (as you have probably seen) and so far, both my packages and tornado could be successfully built. But at some point, I ran across the python-msgpack issue, which you have already tried to fix. Are you going to post v4 of your series containing the python-msgpack fix? Regards, Yegor From yann.morin.1998 at free.fr Sun Oct 29 18:50:07 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 19:50:07 +0100 Subject: [Buildroot] [git commit] configs/licheepi_zero: rename with manufacturer prefix Message-ID: <20231029201851.EF46F86134@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=750392e95e480d0b6f9facb266187b5cd9bb3eb2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Commit 72c653367daa (board/licheepi_zero: move board files to their own directory) forgot to rename the defconfig file, even though the readme.txt was updated. Do the rename now. Signed-off-by: Yann E. MORIN --- configs/{licheepi_zero_defconfig => sipeed_licheepi_zero_defconfig} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/configs/licheepi_zero_defconfig b/configs/sipeed_licheepi_zero_defconfig similarity index 100% rename from configs/licheepi_zero_defconfig rename to configs/sipeed_licheepi_zero_defconfig From giulio.benetti at benettiengineering.com Sun Oct 29 20:43:21 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 29 Oct 2023 21:43:21 +0100 Subject: [Buildroot] [PATCH] package/libnvme: needs host-swig In-Reply-To: <20231029113325.GX687180@scaer> References: <20231026155754.1637976-1-giulio.benetti@benettiengineering.com> <20231029113325.GX687180@scaer> Message-ID: <4b77e07f-b11d-4cba-9c5d-2b98ddb07777@benettiengineering.com> On 29/10/23 12:33, Yann E. MORIN wrote: > Giulio, All, > > On 2023-10-26 17:57 +0200, Giulio Benetti spake thusly: >> Fixes: >> http://autobuild.buildroot.net/results/a63d18fd318783d7e3d1cede062c9c7cacb10282/ >> >> Signed-off-by: Giulio Benetti >> --- >> package/libnvme/libnvme.mk | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk >> index 38394b9931..3b622839fa 100644 >> --- a/package/libnvme/libnvme.mk >> +++ b/package/libnvme/libnvme.mk >> @@ -10,6 +10,8 @@ LIBNVME_LICENSE = LGPL-2.1 >> LIBNVME_LICENSE_FILES = COPYING >> LIBNVME_INSTALL_STAGING = YES >> >> +LIBNVME_DEPENDENCIES += host-swig > > swig is only needed to build the python bindings, no? > In which case it should be in the python conditional block, right? Oh, yes, absolutely. Thanks for reviewing. Going to send V2 Kind regards -- Giulio Benetti CEO&CTO at Benetti Engineering sas > Regards, > Yann E. MORIN. > >> LIBNVME_CONF_OPTS += \ >> -Dtests=false >> >> -- >> 2.34.1 >> >> _______________________________________________ >> buildroot mailing list >> buildroot at buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot > From giulio.benetti at benettiengineering.com Sun Oct 29 20:48:28 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Sun, 29 Oct 2023 21:48:28 +0100 Subject: [Buildroot] [PATCH v2] package/libnvme: needs host-swig when python is enabled Message-ID: <20231029204828.81352-1-giulio.benetti@benettiengineering.com> Fixes: http://autobuild.buildroot.net/results/a63d18fd318783d7e3d1cede062c9c7cacb10282/ Signed-off-by: Giulio Benetti --- V1->V2: * moved host-swig dependency under python3 check as suggested by Yann Morin --- package/libnvme/libnvme.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libnvme/libnvme.mk b/package/libnvme/libnvme.mk index 38394b9931..b393122c85 100644 --- a/package/libnvme/libnvme.mk +++ b/package/libnvme/libnvme.mk @@ -14,7 +14,7 @@ LIBNVME_CONF_OPTS += \ -Dtests=false ifeq ($(BR2_PACKAGE_PYTHON3),y) -LIBNVME_DEPENDENCIES += python3 +LIBNVME_DEPENDENCIES += python3 host-swig LIBNVME_CONF_OPTS += -Dpython=enabled else LIBNVME_CONF_OPTS += -Dpython=disabled -- 2.34.1 From bonet at grenoble.cnrs.fr Sun Oct 29 20:51:12 2023 From: bonet at grenoble.cnrs.fr (Edgar Bonet) Date: Sun, 29 Oct 2023 21:51:12 +0100 Subject: [Buildroot] Help with DTO In-Reply-To: References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> Message-ID: <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> Hello! ?ukasz Przenios?o wrote: > The problem is that thse mentioned commands [gpiodetect, gpioinfo...] > provide no output in my shell (here run one by one with no output): I find it weird that `ls` sees /dev/gpiochip*, yet `gpiodetect` does not detect anything. Are you using the configuration from the tutorial or Buildroot's beaglebone_defconfig? One notable difference between them that the latter uses the Beagleboard Linux kernel from GitHub, whereas the former uses mainline Linux 6.0. I wonder whether this may make a difference for you. Regarding the DT overlay, I have never tried something similar. I found a tutorial from Bootlin.[1] According to it, the overlay is managed just like the defconfig itself. If you write such an overlay, Buildroot should compile it if, on `make menuconfig`, you list it under Kernel / Out-of-tree Device Tree Source file paths Regards, Edgar. [1] https://bootlin.com/blog/using-device-tree-overlays-example-on-beaglebone-boards/ From yann.morin.1998 at free.fr Sun Oct 29 21:03:38 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Sun, 29 Oct 2023 22:03:38 +0100 Subject: [Buildroot] [git commit] DEVELOPPERS: fix licheepi entries Message-ID: <20231029210413.4BB268613A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a9d2040b064d8cb0623c7cc75f1036a2f3bf9ee5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Reported-by: Giulio Benetti Signed-off-by: Yann E. MORIN --- DEVELOPERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 57015e245e..6a501f45e9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2159,8 +2159,8 @@ F: package/openrc/ F: package/skeleton-init-openrc/ N: Michel Stempin -F: board/licheepi/ -F: configs/licheepi_zero_defconfig +F: board/sipeed/licheepi_zero/ +F: configs/sipeed_licheepi_zero_defconfig N: Mike Frampton F: package/qcom-db410c-firmware/ From bremenpl at gmail.com Sun Oct 29 21:20:22 2023 From: bremenpl at gmail.com (Bremenpl) Date: Sun, 29 Oct 2023 22:20:22 +0100 Subject: [Buildroot] Help with DTO In-Reply-To: <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> Message-ID: <18b7d4f29f0.284e.a291efdfec6f8802d64589cd992131fb@gmail.com> Hi Edgar, thanks for the answer. > I find it weird that `ls` sees /dev/gpiochip*, yet `gpiodetect` does not > detect anything. Are you using the configuration from the tutorial or > Buildroot's beaglebone_defconfig? One notable difference between them > that the latter uses the Beagleboard Linux kernel from GitHub, whereas > the former uses mainline Linux 6.0. I wonder whether this may make a > difference for you. I am using the one from Buildroot's dir (so the latter). I can try again to use the one from the tutorial for double checking, but for me it seems more as if these tools were broken or there was a problem with stdout? I am giving this guess based on the fact that none of them ge erate no output at all, not even something that would say "no gpios"- unless that is by design for these tools... Do these tools return any output on you BBB with Buildroot image? > Regarding the DT overlay, I have never tried something similar. I found > a tutorial from Bootlin.[1] According to it, the overlay is managed just > like the defconfig itself. If you write such an overlay, Buildroot > should compile it if, on `make menuconfig`, you list it under > > Kernel / Out-of-tree Device Tree Source file paths Yes, this one has caught my eyes. The issue is that it was too high level (or too generic) explanation for me, so I was not able to deduce how to actually do what I want to do. I was hoping to find some more noob friendly manual/ tutorial. Either way, I will keep digging/ trying. Thank you a lot! On October 29, 2023 21:51:14 Edgar Bonet wrote: > Hello! > > ?ukasz Przenios?o wrote: >> The problem is that thse mentioned commands [gpiodetect, gpioinfo...] >> provide no output in my shell (here run one by one with no output): > > I find it weird that `ls` sees /dev/gpiochip*, yet `gpiodetect` does not > detect anything. Are you using the configuration from the tutorial or > Buildroot's beaglebone_defconfig? One notable difference between them > that the latter uses the Beagleboard Linux kernel from GitHub, whereas > the former uses mainline Linux 6.0. I wonder whether this may make a > difference for you. > > Regarding the DT overlay, I have never tried something similar. I found > a tutorial from Bootlin.[1] According to it, the overlay is managed just > like the defconfig itself. If you write such an overlay, Buildroot > should compile it if, on `make menuconfig`, you list it under > > Kernel / Out-of-tree Device Tree Source file paths > > Regards, > > Edgar. > > [1] > https://bootlin.com/blog/using-device-tree-overlays-example-on-beaglebone-boards/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From fontaine.fabrice at gmail.com Sun Oct 29 21:43:09 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 22:43:09 +0100 Subject: [Buildroot] [PATCH 1/1] package/yaml-cpp: bump to version 0.8.0 Message-ID: <20231029214309.8929-1-fontaine.fabrice@gmail.com> https://github.com/jbeder/yaml-cpp/releases/tag/0.8.0 Signed-off-by: Fabrice Fontaine --- package/yaml-cpp/yaml-cpp.hash | 2 +- package/yaml-cpp/yaml-cpp.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/yaml-cpp/yaml-cpp.hash b/package/yaml-cpp/yaml-cpp.hash index 9ad9041439..92bf65d2f7 100644 --- a/package/yaml-cpp/yaml-cpp.hash +++ b/package/yaml-cpp/yaml-cpp.hash @@ -1,3 +1,3 @@ # locally computed -sha256 43e6a9fcb146ad871515f0d0873947e5d497a1c9c60c58cb102a97b47208b7c3 yaml-cpp-0.7.0.tar.gz +sha256 fbe74bbdcee21d656715688706da3c8becfd946d92cd44705cc6098bb23b3a16 yaml-cpp-0.8.0.tar.gz sha256 aa6fcc27be034e41e21dd832f9175bfe694a48491d9e14ff0fa278e19ad14f1b LICENSE diff --git a/package/yaml-cpp/yaml-cpp.mk b/package/yaml-cpp/yaml-cpp.mk index 367df27ff1..1f87956589 100644 --- a/package/yaml-cpp/yaml-cpp.mk +++ b/package/yaml-cpp/yaml-cpp.mk @@ -4,8 +4,8 @@ # ################################################################################ -YAML_CPP_VERSION = 0.7.0 -YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,yaml-cpp-$(YAML_CPP_VERSION)) +YAML_CPP_VERSION = 0.8.0 +YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,$(YAML_CPP_VERSION)) YAML_CPP_INSTALL_STAGING = YES YAML_CPP_LICENSE = MIT YAML_CPP_LICENSE_FILES = LICENSE -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 21:53:48 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 22:53:48 +0100 Subject: [Buildroot] [PATCH 1/1] package/zeromq: bump to version 4.3.5 Message-ID: <20231029215348.25075-1-fontaine.fabrice@gmail.com> - Drop patch (already in version) - Relicensing from LGPL-3.0+ to MPL-2.0: https://github.com/zeromq/libzmq/commit/da31917f4f443df751871ee359f7562cf6d77bde https://github.com/zeromq/libzmq/releases/tag/v4.3.5 Signed-off-by: Fabrice Fontaine --- .../0001-define-missing-rebind-type.patch | 62 ------------------- package/zeromq/zeromq.hash | 9 ++- package/zeromq/zeromq.mk | 6 +- 3 files changed, 7 insertions(+), 70 deletions(-) delete mode 100644 package/zeromq/0001-define-missing-rebind-type.patch diff --git a/package/zeromq/0001-define-missing-rebind-type.patch b/package/zeromq/0001-define-missing-rebind-type.patch deleted file mode 100644 index f7484931e8..0000000000 --- a/package/zeromq/0001-define-missing-rebind-type.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 438d5d88392baffa6c2c5e0737d9de19d6686f0d Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Tue, 20 Dec 2022 21:45:16 +0000 -Subject: [PATCH] src/secure_allocator.hpp: define missing 'rebind' type - -`gcc-13` added an assert to standard headers to make sure custom -allocators have intended implementation of rebind type instead -of inherited rebind. gcc change: - https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=64c986b49558a7 - -Without the fix build fails on this week's `gcc-13` as: - - [ 92%] Building CXX object tests/CMakeFiles/test_security_curve.dir/test_security_curve.cpp.o - In file included from /<>/gcc-13.0.0/include/c++/13.0.0/ext/alloc_traits.h:34, - from /<>/gcc-13.0.0/include/c++/13.0.0/bits/stl_uninitialized.h:64, - from /<>/gcc-13.0.0/include/c++/13.0.0/memory:69, - from tests/../src/secure_allocator.hpp:42, - from tests/../src/curve_client_tools.hpp:49, - from tests/test_security_curve.cpp:53: - /<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h: In instantiation of 'struct std::__allocator_traits_base::__rebind, unsigned char, void>': - /<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:94:11: required by substitution of 'template using std::__alloc_rebind = typename std::__allocator_traits_base::__rebind<_Alloc, _Up>::type [with _Alloc = zmq::secure_allocator_t; _Up = unsigned char]' - /<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:228:8: required by substitution of 'template template using std::allocator_traits< >::rebind_alloc = std::__alloc_rebind<_Alloc, _Tp> [with _Tp = unsigned char; _Alloc = zmq::secure_allocator_t]' - /<>/gcc-13.0.0/include/c++/13.0.0/ext/alloc_traits.h:126:65: required from 'struct __gnu_cxx::__alloc_traits, unsigned char>::rebind' - /<>/gcc-13.0.0/include/c++/13.0.0/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base >' - /<>/gcc-13.0.0/include/c++/13.0.0/bits/stl_vector.h:423:11: required from 'class std::vector >' - tests/../src/curve_client_tools.hpp:64:76: required from here - /<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:70:31: error: static assertion failed: allocator_traits::rebind_alloc must be A - 70 | _Tp>::value, - | ^~~~~ - -The change adds trivial `rebind` definition with expected return type -and satisfies conversion requirements. - -Upstream: merged. Commit: bdd471fa17100fe84f64da348951dab3ee4780bb -Signed-off-by: Sergei Trofimovich -Signed-off-by: Adam Duskett ---- - src/secure_allocator.hpp | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/src/secure_allocator.hpp b/src/secure_allocator.hpp -index e0871dcc99..5e97368911 100644 ---- a/src/secure_allocator.hpp -+++ b/src/secure_allocator.hpp -@@ -99,6 +99,17 @@ bool operator!= (const secure_allocator_t &, const secure_allocator_t &) - #else - template struct secure_allocator_t : std::allocator - { -+ secure_allocator_t () ZMQ_DEFAULT; -+ -+ template -+ secure_allocator_t (const secure_allocator_t &) ZMQ_NOEXCEPT -+ { -+ } -+ -+ template struct rebind -+ { -+ typedef secure_allocator_t other; -+ }; - }; - #endif - } diff --git a/package/zeromq/zeromq.hash b/package/zeromq/zeromq.hash index 5085fbca33..e5ac289656 100644 --- a/package/zeromq/zeromq.hash +++ b/package/zeromq/zeromq.hash @@ -1,7 +1,6 @@ # From https://github.com/zeromq/libzmq/releases -md5 c897d4005a3f0b8276b00b7921412379 zeromq-4.3.4.tar.gz -sha1 47277a64749049123d1401600e8cfbab10a3ae28 zeromq-4.3.4.tar.gz +md5 ae933b1e98411fd7cb8309f9502d2737 zeromq-4.3.5.tar.gz +sha1 bdbf686c8a40ba638e21cf74e34dbb425e108500 zeromq-4.3.5.tar.gz # Locally computed -sha256 c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5 zeromq-4.3.4.tar.gz -sha256 4fd86507c9b486764343065a9e035222869a27b5789efeb4fd93edc85412d7a3 COPYING -sha256 83f32abe61ee58ffb1b007412c08415168c052501dbf56d7a47aaaac52b03ef6 COPYING.LESSER +sha256 6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43 zeromq-4.3.5.tar.gz +sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk index 452c5f4291..137fad1a66 100644 --- a/package/zeromq/zeromq.mk +++ b/package/zeromq/zeromq.mk @@ -4,12 +4,12 @@ # ################################################################################ -ZEROMQ_VERSION = 4.3.4 +ZEROMQ_VERSION = 4.3.5 ZEROMQ_SITE = https://github.com/zeromq/libzmq/releases/download/v$(ZEROMQ_VERSION) ZEROMQ_INSTALL_STAGING = YES ZEROMQ_CONF_OPTS = --disable-Werror --without-documentation -ZEROMQ_LICENSE = LGPL-3.0+ with exceptions -ZEROMQ_LICENSE_FILES = COPYING COPYING.LESSER +ZEROMQ_LICENSE = MPL-2.0 +ZEROMQ_LICENSE_FILES = LICENSE ZEROMQ_CPE_ID_VENDOR = zeromq ZEROMQ_CPE_ID_PRODUCT = libzmq -- 2.42.0 From fontaine.fabrice at gmail.com Sun Oct 29 22:02:14 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Sun, 29 Oct 2023 23:02:14 +0100 Subject: [Buildroot] [PATCH 1/1] package/uftrace: bump to version 0.14 Message-ID: <20231029220214.32159-1-fontaine.fabrice@gmail.com> Add Upstream link to patch (even if it was rejected) https://github.com/namhyung/uftrace/blob/v0.14/NEWS Signed-off-by: Fabrice Fontaine --- .checkpackageignore | 1 - ...01-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch | 1 + package/uftrace/uftrace.hash | 2 +- package/uftrace/uftrace.mk | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index d5c894ff25..31f6672eb3 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1397,7 +1397,6 @@ package/uboot-tools/0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.pa package/ubus/0001-Install-server-and-client-examples.patch Upstream package/udpcast/0001-fix-musl-build.patch Upstream package/uemacs/01-clear-ixon-termios-flag.patch Upstream -package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch Upstream package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch Upstream package/uhttpd/0001-Remove-Werror.patch Upstream package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch Upstream diff --git a/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch b/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch index 6913012c3b..2855be0d9e 100644 --- a/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch +++ b/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch @@ -11,6 +11,7 @@ Using a #ifdef ... #endif test doesn't work as this value is defined through an enum in glibc. Signed-off-by: Thomas Petazzoni +Upstream: https://github.com/namhyung/uftrace/pull/1389 --- cmds/record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/uftrace/uftrace.hash b/package/uftrace/uftrace.hash index 195f0605c8..c4aad39016 100644 --- a/package/uftrace/uftrace.hash +++ b/package/uftrace/uftrace.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2aad01f27d4f18717b681824c7a28ac3e1efd5e7bbed3ec888a3ea5af60e3700 uftrace-0.12.tar.gz +sha256 b81255bc288e79e96a5b158d4875fa6425ad51c85f4c4c8523c1defb9366ad12 uftrace-0.14.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/uftrace/uftrace.mk b/package/uftrace/uftrace.mk index d36c3bd8f5..c005a32b76 100644 --- a/package/uftrace/uftrace.mk +++ b/package/uftrace/uftrace.mk @@ -4,7 +4,7 @@ # ################################################################################ -UFTRACE_VERSION = 0.12 +UFTRACE_VERSION = 0.14 UFTRACE_SITE = $(call github,namhyung,uftrace,v$(UFTRACE_VERSION)) UFTRACE_LICENSE = GPL-2.0 UFTRACE_LICENSE_FILES = COPYING -- 2.42.0 From james.hilliard1 at gmail.com Sun Oct 29 23:40:00 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:40:00 -0600 Subject: [Buildroot] [PATCH v4 1/4] package/python-poetry-core: new host package Message-ID: <20231029234003.2606006-1-james.hilliard1@gmail.com> Signed-off-by: James Hilliard --- Changes v1 -> v2: - update to 1.7.0 - drop patch which is now upstream --- package/python-poetry-core/python-poetry-core.hash | 5 +++++ package/python-poetry-core/python-poetry-core.mk | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 package/python-poetry-core/python-poetry-core.hash create mode 100644 package/python-poetry-core/python-poetry-core.mk diff --git a/package/python-poetry-core/python-poetry-core.hash b/package/python-poetry-core/python-poetry-core.hash new file mode 100644 index 0000000000..c6b180c852 --- /dev/null +++ b/package/python-poetry-core/python-poetry-core.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/poetry-core/json +md5 7461547cac0e0e9c8cd7463aa87e7470 poetry_core-1.7.0.tar.gz +sha256 8f679b83bd9c820082637beca1204124d5d2a786e4818da47ec8acefd0353b74 poetry_core-1.7.0.tar.gz +# Locally computed sha256 checksums +sha256 f1978133782b90f4733bc308ddb19267c3fe04797c88d9ed3bc219032495a982 LICENSE diff --git a/package/python-poetry-core/python-poetry-core.mk b/package/python-poetry-core/python-poetry-core.mk new file mode 100644 index 0000000000..4ca587b11d --- /dev/null +++ b/package/python-poetry-core/python-poetry-core.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-poetry-core +# +################################################################################ + +PYTHON_POETRY_CORE_VERSION = 1.7.0 +PYTHON_POETRY_CORE_SOURCE = poetry_core-$(PYTHON_POETRY_CORE_VERSION).tar.gz +PYTHON_POETRY_CORE_SITE = https://files.pythonhosted.org/packages/cb/1c/af7f886e723b2dfbaea9b8a739153f227b386dd856cf956f9fd0ed0a502b +PYTHON_POETRY_CORE_SETUP_TYPE = pep517 +PYTHON_POETRY_CORE_LICENSE = MIT +PYTHON_POETRY_CORE_LICENSE_FILES = LICENSE + +$(eval $(host-python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 29 23:40:01 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:40:01 -0600 Subject: [Buildroot] [PATCH v4 2/4] package/python-terminaltables: use correct pep517 build backend In-Reply-To: <20231029234003.2606006-1-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> Message-ID: <20231029234003.2606006-2-james.hilliard1@gmail.com> We need to migrate python-terminaltables to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. Upstream has merged a patch replacing poetry with poetry-core, however we can not backport this using a patch file due to CRLF line ending issues so we will have to apply the change in the patch using sed instead. See upstream commit: https://github.com/matthewdeanmartin/terminaltables/commit/9e3dda0efb54fee6934c744a13a7336d24c6e9e9 Signed-off-by: James Hilliard --- Changes v1 -> v2: - add more details regarding pep517 frontend compatibility --- package/python-terminaltables/python-terminaltables.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package/python-terminaltables/python-terminaltables.mk b/package/python-terminaltables/python-terminaltables.mk index b31ed332b6..385c71ae2d 100644 --- a/package/python-terminaltables/python-terminaltables.mk +++ b/package/python-terminaltables/python-terminaltables.mk @@ -7,8 +7,16 @@ PYTHON_TERMINALTABLES_VERSION = 3.1.10 PYTHON_TERMINALTABLES_SOURCE = terminaltables-$(PYTHON_TERMINALTABLES_VERSION).tar.gz PYTHON_TERMINALTABLES_SITE = https://files.pythonhosted.org/packages/f5/fc/0b73d782f5ab7feba8d007573a3773c58255f223c5940a7b7085f02153c3 -PYTHON_TERMINALTABLES_SETUP_TYPE = setuptools +PYTHON_TERMINALTABLES_SETUP_TYPE = pep517 PYTHON_TERMINALTABLES_LICENSE = MIT PYTHON_TERMINALTABLES_LICENSE_FILES = LICENSE +PYTHON_TERMINALTABLES_DEPENDENCIES = host-python-poetry-core + +# we can't use a normal patch file due to different line endings +define PYTHON_TERMINALTABLES_USE_POETRY_CORE + $(SED) 's/requires = \["poetry>=0.12"\]/requires = \["poetry-core>=1.0.0"\]/' $(@D)/pyproject.toml + $(SED) 's/build-backend = "poetry.masonry.api"/build-backend = "poetry.core.masonry.api"/' $(@D)/pyproject.toml +endef +PYTHON_TERMINALTABLES_POST_PATCH_HOOKS += PYTHON_TERMINALTABLES_USE_POETRY_CORE $(eval $(python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 29 23:40:02 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:40:02 -0600 Subject: [Buildroot] [PATCH v4 3/4] package/python-msgpack: add host cython dependency In-Reply-To: <20231029234003.2606006-1-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> Message-ID: <20231029234003.2606006-3-james.hilliard1@gmail.com> We need host-python-cython for python-msgpack to build correctly. This is a hard error when using a pep517 frontend. Fixes: * Getting build dependencies for wheel... running egg_info writing msgpack.egg-info/PKG-INFO writing dependency_links to msgpack.egg-info/dependency_links.txt writing top-level names to msgpack.egg-info/top_level.txt reading manifest file 'msgpack.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.c' under directory 'msgpack' adding license file 'COPYING' writing manifest file 'msgpack.egg-info/SOURCES.txt' ERROR Missing dependencies: Cython~=0.29.30 Signed-off-by: James Hilliard --- package/python-msgpack/python-msgpack.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-msgpack/python-msgpack.mk b/package/python-msgpack/python-msgpack.mk index 785fec9f00..c0b76e55ab 100644 --- a/package/python-msgpack/python-msgpack.mk +++ b/package/python-msgpack/python-msgpack.mk @@ -10,5 +10,6 @@ PYTHON_MSGPACK_SITE = https://files.pythonhosted.org/packages/dc/a1/eba11a0d4b76 PYTHON_MSGPACK_LICENSE = Apache-2.0 PYTHON_MSGPACK_LICENSE_FILES = COPYING PYTHON_MSGPACK_SETUP_TYPE = setuptools +PYTHON_MSGPACK_DEPENDENCIES = host-python-cython $(eval $(python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 29 23:40:03 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:40:03 -0600 Subject: [Buildroot] [PATCH v4 4/4] package/pkg-python.mk: migrate setuptools to pep517 In-Reply-To: <20231029234003.2606006-1-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> Message-ID: <20231029234003.2606006-4-james.hilliard1@gmail.com> Now that setuptools and its dependencies are using pep517 we can migrate the setuptools infrastructure itself to use the pep517 build frontend. As part of this we need to migrate the all python packages using _BUILD_OPTS to the new config settings format used by the pep517 build frontend. As maturin and setuptools-rust are now both pep517 based we can combine the PYO3 env variables. Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov --- Changes v1 -> v3: - rebase on master - combine setuptools-rust and maturin env variables - drop patch which is now upstream --- package/pkg-python.mk | 83 +++------------------- package/python-evdev/python-evdev.mk | 4 +- package/python-lxml/python-lxml.mk | 8 +-- package/python-m2crypto/python-m2crypto.mk | 4 +- package/python-pillow/python-pillow.mk | 35 +++++---- package/python-psycopg2/python-psycopg2.mk | 5 +- package/python-pyzmq/python-pyzmq.mk | 4 +- package/python-uvloop/python-uvloop.mk | 6 +- 8 files changed, 46 insertions(+), 103 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 28ee4cb85f..21c70df863 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -79,48 +79,6 @@ HOST_PKG_PYTHON_DISTUTILS_ENV = \ HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ --prefix=$(HOST_DIR) -# Target setuptools-based packages -PKG_PYTHON_SETUPTOOLS_ENV = \ - $(PKG_PYTHON_ENV) - -PKG_PYTHON_SETUPTOOLS_CMD = \ - $(if $(wildcard $($(PKG)_BUILDDIR)/setup.py),setup.py,-c 'from setuptools import setup;setup()') - -PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ - --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed - -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ - --root=$(TARGET_DIR) - -PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ - --root=$(STAGING_DIR) - -# Host setuptools-based packages -HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - $(HOST_PKG_PYTHON_ENV) - -HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ - --prefix=$(HOST_DIR) \ - --root=/ \ - --single-version-externally-managed - -# Target setuptools-rust-based packages -PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ - $(PKG_PYTHON_SETUPTOOLS_ENV) \ - $(PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" - -# Host setuptools-rust-based packages -HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ - $(HOST_PKG_PYTHON_SETUPTOOLS_ENV) \ - $(HOST_PKG_CARGO_ENV) \ - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)" - # Target pep517-based packages PKG_PYTHON_PEP517_ENV = \ $(PKG_PYTHON_ENV) @@ -158,14 +116,14 @@ HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \ HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS = \ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages -# Target maturin packages -PKG_PYTHON_MATURIN_ENV = \ +# Target pyo3 packages +PKG_PYTHON_PYO3_ENV = \ $(PKG_PYTHON_PEP517_ENV) \ $(PKG_CARGO_ENV) \ PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" -# Host maturin packages -HOST_PKG_PYTHON_MATURIN_ENV = \ +# Host pyo3 packages +HOST_PKG_PYTHON_PYO3_ENV = \ $(HOST_PKG_PYTHON_PEP517_ENV) \ $(HOST_PKG_CARGO_ENV) \ PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)" @@ -207,30 +165,10 @@ $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_DISTUTILS_ENV) $(2)_BASE_BUILD_CMD = setup.py build $(2)_BASE_INSTALL_CMD = setup.py install $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) endif -# Setuptools -else ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) -ifeq ($(4),target) -ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) -$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_RUST_ENV) -else -$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) -endif -$(2)_BASE_BUILD_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) build -$(2)_BASE_INSTALL_TARGET_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install --no-compile $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) -$(2)_BASE_INSTALL_STAGING_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) -else -ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV) -else -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) -endif -$(2)_BASE_BUILD_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) build -$(2)_BASE_INSTALL_CMD = $$(PKG_PYTHON_SETUPTOOLS_CMD) install $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) -endif -else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) +else ifneq ($$(filter flit maturin pep517 setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) ifeq ($(4),target) -ifeq ($$($(2)_SETUP_TYPE),maturin) -$(2)_BASE_ENV = $$(PKG_PYTHON_MATURIN_ENV) +ifneq ($$(filter maturin setuptools-rust,$$($(2)_SETUP_TYPE)),) +$(2)_BASE_ENV = $$(PKG_PYTHON_PYO3_ENV) else $(2)_BASE_ENV = $$(PKG_PYTHON_PEP517_ENV) endif @@ -238,8 +176,8 @@ $(2)_BASE_BUILD_CMD = -m build -n -w $(2)_BASE_INSTALL_TARGET_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS) $(2)_BASE_INSTALL_STAGING_CMD = $(TOPDIR)/support/scripts/pyinstaller.py dist/* $$(PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS) else -ifeq ($$($(2)_SETUP_TYPE),maturin) -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_MATURIN_ENV) +ifneq ($$(filter maturin setuptools-rust,$$($(2)_SETUP_TYPE)),) +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PYO3_ENV) else $(2)_BASE_ENV = $$(HOST_PKG_PYTHON_PEP517_ENV) endif @@ -299,7 +237,8 @@ $(2)_DEPENDENCIES += host-python-setuptools ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) $(2)_DEPENDENCIES += host-python-setuptools-rust endif -else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) +endif +ifneq ($$(filter flit maturin pep517 setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit) $(2)_DEPENDENCIES += host-python-flit-core diff --git a/package/python-evdev/python-evdev.mk b/package/python-evdev/python-evdev.mk index 5cf62b5160..b509b43e8a 100644 --- a/package/python-evdev/python-evdev.mk +++ b/package/python-evdev/python-evdev.mk @@ -12,7 +12,7 @@ PYTHON_EVDEV_LICENSE = Revised BSD License PYTHON_EVDEV_LICENSE_FILES = LICENSE PYTHON_EVDEV_BUILD_OPTS = \ - build_ecodes \ - --evdev-headers $(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h + -C--build-option=build_ecodes \ + -C--build-option=--evdev-headers=$(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h $(eval $(python-package)) diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk index 3ef3aabdbc..4454f5aa0c 100644 --- a/package/python-lxml/python-lxml.mk +++ b/package/python-lxml/python-lxml.mk @@ -28,11 +28,11 @@ HOST_PYTHON_LXML_DEPENDENCIES = host-libxml2 host-libxslt host-zlib # python-lxml needs these scripts in order to properly detect libxml2 and # libxslt compiler and linker flags PYTHON_LXML_BUILD_OPTS = \ - --xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ - --xml2-config=$(STAGING_DIR)/usr/bin/xml2-config + -C--build-option=--xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ + -C--build-option=--xml2-config=$(STAGING_DIR)/usr/bin/xml2-config HOST_PYTHON_LXML_BUILD_OPTS = \ - --xslt-config=$(HOST_DIR)/bin/xslt-config \ - --xml2-config=$(HOST_DIR)/bin/xml2-config + -C--build-option=--xslt-config=$(HOST_DIR)/bin/xslt-config \ + -C--build-option=--xml2-config=$(HOST_DIR)/bin/xml2-config $(eval $(python-package)) $(eval $(host-python-package)) diff --git a/package/python-m2crypto/python-m2crypto.mk b/package/python-m2crypto/python-m2crypto.mk index 3c28fa3b0d..d95361e689 100644 --- a/package/python-m2crypto/python-m2crypto.mk +++ b/package/python-m2crypto/python-m2crypto.mk @@ -13,7 +13,9 @@ PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig -PYTHON_M2CRYPTO_BUILD_OPTS = --openssl=$(STAGING_DIR)/usr +PYTHON_M2CRYPTO_BUILD_OPTS = \ + -C--build-option=build_ext \ + -C--build-option=--openssl=$(STAGING_DIR)/usr # 0001-Mitigate-the-Bleichenbacher-timing-attacks-in-the-RSA-decryption-API-CVE-2020-25657.patch PYTHON_M2CRYPTO_IGNORE_CVES += CVE-2020-25657 diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk index d9f6fba861..f37218b7c4 100644 --- a/package/python-pillow/python-pillow.mk +++ b/package/python-pillow/python-pillow.mk @@ -14,61 +14,60 @@ PYTHON_PILLOW_CPE_ID_PRODUCT = pillow PYTHON_PILLOW_SETUP_TYPE = setuptools PYTHON_PILLOW_DEPENDENCIES = host-pkgconf -PYTHON_PILLOW_BUILD_OPTS = build_ext --disable-platform-guessing -PYTHON_PILLOW_INSTALL_TARGET_OPTS = $(PYTHON_PILLOW_BUILD_OPTS) +PYTHON_PILLOW_BUILD_OPTS = -C--build-option=build_ext -C--build-option=--disable-platform-guessing ifeq ($(BR2_PACKAGE_FREETYPE),y) PYTHON_PILLOW_DEPENDENCIES += freetype -PYTHON_PILLOW_BUILD_OPTS += --enable-freetype +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-freetype else -PYTHON_PILLOW_BUILD_OPTS += --disable-freetype +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-freetype endif ifeq ($(BR2_PACKAGE_JPEG),y) PYTHON_PILLOW_DEPENDENCIES += jpeg -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg else -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg endif ifeq ($(BR2_PACKAGE_LCMS2),y) PYTHON_PILLOW_DEPENDENCIES += lcms2 -PYTHON_PILLOW_BUILD_OPTS += --enable-lcms +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-lcms else -PYTHON_PILLOW_BUILD_OPTS += --disable-lcms +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-lcms endif ifeq ($(BR2_PACKAGE_LIBXCB),y) PYTHON_PILLOW_DEPENDENCIES += libxcb -PYTHON_PILLOW_BUILD_OPTS += --enable-xcb +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-xcb else -PYTHON_PILLOW_BUILD_OPTS += --disable-xcb +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-xcb endif ifeq ($(BR2_PACKAGE_OPENJPEG),y) PYTHON_PILLOW_DEPENDENCIES += openjpeg -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000 +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg2000 else -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg2000 +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg2000 endif ifeq ($(BR2_PACKAGE_TIFF),y) PYTHON_PILLOW_DEPENDENCIES += tiff -PYTHON_PILLOW_BUILD_OPTS += --enable-tiff +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-tiff else -PYTHON_PILLOW_BUILD_OPTS += --disable-tiff +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-tiff endif ifeq ($(BR2_PACKAGE_WEBP),y) PYTHON_PILLOW_DEPENDENCIES += webp -PYTHON_PILLOW_BUILD_OPTS += --enable-webp +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webp ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) -PYTHON_PILLOW_BUILD_OPTS += --enable-webpmux +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webpmux else -PYTHON_PILLOW_BUILD_OPTS += --disable-webpmux +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webpmux endif else -PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webp -C--build-option=--disable-webpmux endif $(eval $(python-package)) diff --git a/package/python-psycopg2/python-psycopg2.mk b/package/python-psycopg2/python-psycopg2.mk index fa23c2814f..6eea825b1c 100644 --- a/package/python-psycopg2/python-psycopg2.mk +++ b/package/python-psycopg2/python-psycopg2.mk @@ -13,7 +13,8 @@ PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE PYTHON_PSYCOPG2_DEPENDENCIES = postgresql # Force psycopg2 to use the Buildroot provided postgresql version # instead of the one from the host machine -PYTHON_PSYCOPG2_BUILD_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config -PYTHON_PSYCOPG2_INSTALL_TARGET_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config +PYTHON_PSYCOPG2_BUILD_OPTS = \ + -C--build-option=build_ext \ + -C--build-option=--pg-config=$(STAGING_DIR)/usr/bin/pg_config $(eval $(python-package)) diff --git a/package/python-pyzmq/python-pyzmq.mk b/package/python-pyzmq/python-pyzmq.mk index 5792957eaf..1b7bceae5e 100644 --- a/package/python-pyzmq/python-pyzmq.mk +++ b/package/python-pyzmq/python-pyzmq.mk @@ -12,7 +12,7 @@ PYTHON_PYZMQ_LICENSE = LGPL-3.0+, BSD-3-Clause, Apache-2.0 PYTHON_PYZMQ_LICENSE_FILES = COPYING.LESSER COPYING.BSD PYTHON_PYZMQ_DEPENDENCIES = host-python-packaging zeromq PYTHON_PYZMQ_SETUP_TYPE = setuptools -PYTHON_PYZMQ_BUILD_OPTS = --zmq=$(STAGING_DIR)/usr +PYTHON_PYZMQ_BUILD_OPTS = -C--build-option=--zmq=$(STAGING_DIR)/usr # Due to issues with cross-compiling, hardcode to the zeromq in BR define PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION @@ -23,7 +23,7 @@ endef PYTHON_PYZMQ_POST_PATCH_HOOKS += PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y) -PYTHON_PYZMQ_BUILD_OPTS += --enable-drafts +PYTHON_PYZMQ_BUILD_OPTS += -C--build-option=--enable-drafts endif $(eval $(python-package)) diff --git a/package/python-uvloop/python-uvloop.mk b/package/python-uvloop/python-uvloop.mk index 147062cf7b..b072f37313 100644 --- a/package/python-uvloop/python-uvloop.mk +++ b/package/python-uvloop/python-uvloop.mk @@ -10,8 +10,10 @@ PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/ba/86/6dda1760481ab PYTHON_UVLOOP_SETUP_TYPE = setuptools PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT -PYTHON_UVLOOP_BUILD_OPTS = build_ext --inplace --use-system-libuv -PYTHON_UVLOOP_INSTALL_TARGET_OPTS = build_ext --inplace --use-system-libuv PYTHON_UVLOOP_DEPENDENCIES = libuv +PYTHON_UVLOOP_BUILD_OPTS = \ + -C--build-option=build_ext \ + -C--build-option=--inplace \ + -C--build-option=--use-system-libuv $(eval $(python-package)) -- 2.34.1 From james.hilliard1 at gmail.com Sun Oct 29 23:42:07 2023 From: james.hilliard1 at gmail.com (James Hilliard) Date: Sun, 29 Oct 2023 17:42:07 -0600 Subject: [Buildroot] [RFC PATCH] package/pkg-python.mk: PEP517: add support for setuptools backend In-Reply-To: References: <20231028102435.1771460-1-yegorslists@googlemail.com> Message-ID: On Sun, Oct 29, 2023 at 2:12?PM Yegor Yefremov wrote: > > Hi James, all, > > On Sat, Oct 28, 2023 at 12:44?PM James Hilliard > wrote: > > > > On Sat, Oct 28, 2023 at 4:31?AM Yegor Yefremov wrote: > >> > >> Hi all, > >> > >> On Sat, Oct 28, 2023 at 12:25?PM wrote: > >> > > >> > From: Yegor Yefremov > >> > > >> > Since version 41.0.0, setuptools has an experimental PEP517 support. > >> > > >> > Signed-off-by: Yegor Yefremov > >> > --- > >> > package/pkg-python.mk | 2 +- > >> > 1 file changed, 1 insertion(+), 1 deletion(-) > >> > > >> > diff --git a/package/pkg-python.mk b/package/pkg-python.mk > >> > index 28ee4cb85f..00f71f6b19 100644 > >> > --- a/package/pkg-python.mk > >> > +++ b/package/pkg-python.mk > >> > @@ -300,7 +300,7 @@ ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) > >> > $(2)_DEPENDENCIES += host-python-setuptools-rust > >> > endif > >> > else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) > >> > -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer > >> > +$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer host-python-setuptools > >> > ifeq ($$($(2)_SETUP_TYPE),flit) > >> > $(2)_DEPENDENCIES += host-python-flit-core > >> > endif > >> > >> This patch is more a workaround to convert such packages as > >> python-tornado, python-configobj, etc. to PEP517 infrastructure. These > >> packages just use a build-system section and otherwise rely on the > >> setup.py file: > > > > > > Are these failing to build without PEP517 infrastructure for setuptools? > > No, they are working as expected in both "worlds". > > >> > >> [build-system] > >> requires = ["setuptools"] > >> build-backend = "setuptools.build_meta" > >> > >> What is the plan to support this backend? Just use setuptools-rust or > >> convert "_SETUP_TYPE=setuptools" to PEP517 after the introduction of > >> Python 12.x? > > > > > > I already have a patch converting our setuptools infrastructure to PEP517: > > https://lore.kernel.org/buildroot/20230930152517.1077576-3-james.hilliard1 at gmail.com/ > > I have overlooked your series. Meanwhile, I could test it (as you have > probably seen) and so far, both my packages and tornado could be > successfully built. But at some point, I ran across the python-msgpack > issue, which you have already tried to fix. Are you going to post v4 > of your series containing the python-msgpack fix? Sent as part of v4: https://patchwork.ozlabs.org/project/buildroot/patch/20231029234003.2606006-3-james.hilliard1 at gmail.com/ > > Regards, > Yegor From dlemoal at kernel.org Mon Oct 30 00:27:48 2023 From: dlemoal at kernel.org (Damien Le Moal) Date: Mon, 30 Oct 2023 09:27:48 +0900 Subject: [Buildroot] [PATCH] package/gcc: Fix gcc finale library installation Message-ID: <20231030002748.280144-1-dlemoal@kernel.org> When BR2_TOOLCHAIN_HAS_LIBATOMIC is "n", there is no gcc libatomic.so library to install. For configurations with such settings, compilation fails as gcc-final.mk unconditionally adds libatomic as an installation target. This error, for instance, shows for all Canaan K210 riscv configs, as they all use uclibc flat binary format which disabled libatomic: Fix this by modifying package/gcc/gcc-final/gcc-final.mk to add libatomic to GCC_FINAL_LIBS only for configurations that have BR2_TOOLCHAIN_HAS_LIBATOMIC set to "y". Signed-off-by: Damien Le Moal --- package/gcc/gcc-final/gcc-final.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk index edb9b2f73a..99d7047b5f 100644 --- a/package/gcc/gcc-final/gcc-final.mk +++ b/package/gcc/gcc-final/gcc-final.mk @@ -144,7 +144,11 @@ HOST_GCC_FINAL_POST_INSTALL_HOOKS += TOOLCHAIN_WRAPPER_INSTALL # -cc symlink to the wrapper is not created. HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_INSTALL_WRAPPER_AND_SIMPLE_SYMLINKS -GCC_FINAL_LIBS = libatomic +GCC_FINAL_LIBS = + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GCC_FINAL_LIBS += libatomic +endif ifeq ($(BR2_STATIC_LIBS),) GCC_FINAL_LIBS += libgcc_s -- 2.41.0 From bernd at kuhls.net Mon Oct 30 06:41:01 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 30 Oct 2023 07:41:01 +0100 Subject: [Buildroot] [PATCH 2/2] linux: bump latest version to 6.6 In-Reply-To: <20231030064101.362244-1-bernd@kuhls.net> References: <20231030064101.362244-1-bernd@kuhls.net> Message-ID: <20231030064101.362244-2-bernd@kuhls.net> Signed-off-by: Bernd Kuhls --- linux/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 195b0dc00e..f0951df7a2 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -28,8 +28,8 @@ choice prompt "Kernel version" config BR2_LINUX_KERNEL_LATEST_VERSION - bool "Latest version (6.5)" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 if BR2_KERNEL_HEADERS_AS_KERNEL + bool "Latest version (6.6)" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 if BR2_KERNEL_HEADERS_AS_KERNEL config BR2_LINUX_KERNEL_LATEST_CIP_VERSION bool "Latest CIP SLTS version (5.10.162-cip24)" @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.5.9" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.6" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ -- 2.39.2 From bernd at kuhls.net Mon Oct 30 06:41:00 2023 From: bernd at kuhls.net (Bernd Kuhls) Date: Mon, 30 Oct 2023 07:41:00 +0100 Subject: [Buildroot] [PATCH 1/2] {toolchain, linux-headers}: add support for 6.6 headers Message-ID: <20231030064101.362244-1-bernd@kuhls.net> And add (and default to) 6.6 to linux-headers. Signed-off-by: Bernd Kuhls --- linux/linux.hash | 1 + package/linux-headers/Config.in.host | 13 +++++++++++-- toolchain/Config.in | 5 +++++ .../toolchain-external-custom/Config.in.options | 6 +++++- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/linux/linux.hash b/linux/linux.hash index 78d1395e66..7b56d19cb5 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,4 +1,5 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256 d926a06c63dd8ac7df3f86ee1ffc2ce2a3b81a2d168484e76b5b389aba8e56d0 linux-6.6.tar.xz sha256 c6662f64713f56bf30e009c32eac15536fad5fd1c02e8a3daf62a0dc2f058fd5 linux-6.5.9.tar.xz sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index bb624147ec..74d445ff27 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -3,7 +3,7 @@ comment "Kernel Header Options" choice prompt "Kernel Headers" default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL - default BR2_KERNEL_HEADERS_6_5 + default BR2_KERNEL_HEADERS_6_6 help Select the kernel version to get headers from. @@ -52,6 +52,10 @@ config BR2_KERNEL_HEADERS_6_1 config BR2_KERNEL_HEADERS_6_5 bool "Linux 6.5.x kernel headers" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 + +config BR2_KERNEL_HEADERS_6_6 + bool "Linux 6.6.x kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 select BR2_KERNEL_HEADERS_LATEST config BR2_KERNEL_HEADERS_VERSION @@ -129,8 +133,12 @@ choice If your kernel headers are more recent than the latest version in the choice, then select the latest version. +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6 + bool "6.6.x or later" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 + config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_5 - bool "6.5.x or later" + bool "6.5.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4 @@ -411,6 +419,7 @@ config BR2_DEFAULT_KERNEL_HEADERS default "5.15.137" if BR2_KERNEL_HEADERS_5_15 default "6.1.60" if BR2_KERNEL_HEADERS_6_1 default "6.5.9" if BR2_KERNEL_HEADERS_6_5 + default "6.6" if BR2_KERNEL_HEADERS_6_6 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ diff --git a/toolchain/Config.in b/toolchain/Config.in index d8081f1b9d..34e0ae2c5f 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -640,6 +640,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 bool select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 select BR2_TOOLCHAIN_HEADERS_LATEST # This should be selected by the latest version, above, to indicate that @@ -653,6 +657,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_HEADERS_AT_LEAST string + default "6.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 default "6.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 default "6.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4 default "6.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3 diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index 556ca7a642..5554d56719 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -162,8 +162,12 @@ choice If your toolchain uses headers newer than the latest version in the choice, then select the latest version. +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_6 + bool "6.6.x or later" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6 + config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_5 - bool "6.5.x or later" + bool "6.5.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_4 -- 2.39.2 From peter at korsgaard.com Mon Oct 30 07:40:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 08:40:18 +0100 Subject: [Buildroot] [PATCH 1/1] package/python-django: bump version to 4.2.6 In-Reply-To: <875y2uphio.fsf@48ers.dk> (Peter Korsgaard's message of "Wed, 25 Oct 2023 22:35:27 +0200") References: <20231020082703.1610281-1-adam.duskett@amarulasolutions.com> <875y2uphio.fsf@48ers.dk> Message-ID: <87a5s0lfrx.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: >>>>> "Adam" == Adam Duskett writes: >> Tested with tests.package.test_python_django.TestPythonPy3Django.test_run in >> Fedora 38 and Debian 11 >> Signed-off-by: Adam Duskett > Looking at > https://www.djangoproject.com/weblog/2023/oct/04/security-releases/, > Django 4.2.6 was a security release, so it should have been marked as > such (and ideally we would first have bumped to 4.1.12 for easier > backporting). > 4.2.6 apparently also introduced a regression, so it would be good if > you could send a bump to 4.2.7: > https://docs.djangoproject.com/en/dev/releases/4.2.7/ For 2023.02.x and 2023.08.x I have instead bumped to 4.1.12, which contains the same security fix. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 07:39:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 08:39:24 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-django: security bump to version 4.1.12 Message-ID: <20231030074035.5270D86154@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ec7785adc8e9c03e651d879341d1a78391cc8232 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes the following security issue: CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator Following the fix for CVE-2019-14232, the regular expressions used in the implementation of django.utils.text.Truncator???s chars() and words() methods (with html=True) were revised and improved. However, these regular expressions still exhibited linear backtracking complexity, so when given a very long, potentially malformed HTML input, the evaluation would still be slow, leading to a potential denial of service vulnerability. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus also vulnerable. The input processed by Truncator, when operating in HTML mode, has been limited to the first five million characters in order to avoid potential performance and memory issues. https://www.djangoproject.com/weblog/2023/oct/04/security-releases/ Signed-off-by: Peter Korsgaard --- package/python-django/python-django.hash | 4 ++-- package/python-django/python-django.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-django/python-django.hash b/package/python-django/python-django.hash index ee1776b44f..4979f20ca5 100644 --- a/package/python-django/python-django.hash +++ b/package/python-django/python-django.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/django/json -md5 3720c85a8c25cacbce2f95d345d0f5ad Django-4.1.10.tar.gz -sha256 56343019a9fd839e2e5bf203daf45f25af79d5bffa4c71d56eae4f4404d82ade Django-4.1.10.tar.gz +md5 6f95e92e5e8964c4a1e00e2fcaadf437 Django-4.1.12.tar.gz +sha256 d02483ad49872238fa59875c1269293fe4f17ecee13c121893607cc0b284696b Django-4.1.12.tar.gz # Locally computed sha256 checksums sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE diff --git a/package/python-django/python-django.mk b/package/python-django/python-django.mk index 61dfd54dcd..944cf1e3ca 100644 --- a/package/python-django/python-django.mk +++ b/package/python-django/python-django.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_DJANGO_VERSION = 4.1.10 +PYTHON_DJANGO_VERSION = 4.1.12 PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz # The official Django site has an unpractical URL -PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/70/d4/eded564fa5928f68771d082ec0eef4d023f9d19dfa1d2923305bc3e62afe +PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/68/76/b1cf87eda3bf5b2d7dd9a23bb4df70ea5511e426a54a04ed2c4ca2ff67cd PYTHON_DJANGO_LICENSE = BSD-3-Clause PYTHON_DJANGO_LICENSE_FILES = LICENSE PYTHON_DJANGO_CPE_ID_VENDOR = djangoproject From peter at korsgaard.com Mon Oct 30 07:35:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 08:35:24 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-django: security bump to version 4.1.12 Message-ID: <20231030074035.CD16086154@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0bc9bf988829d45253e80625ef0709bc22ded8bb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes the following security issue: CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator Following the fix for CVE-2019-14232, the regular expressions used in the implementation of django.utils.text.Truncator???s chars() and words() methods (with html=True) were revised and improved. However, these regular expressions still exhibited linear backtracking complexity, so when given a very long, potentially malformed HTML input, the evaluation would still be slow, leading to a potential denial of service vulnerability. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus also vulnerable. The input processed by Truncator, when operating in HTML mode, has been limited to the first five million characters in order to avoid potential performance and memory issues. https://www.djangoproject.com/weblog/2023/oct/04/security-releases/ Signed-off-by: Peter Korsgaard --- package/python-django/python-django.hash | 4 ++-- package/python-django/python-django.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-django/python-django.hash b/package/python-django/python-django.hash index ee1776b44f..4979f20ca5 100644 --- a/package/python-django/python-django.hash +++ b/package/python-django/python-django.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/django/json -md5 3720c85a8c25cacbce2f95d345d0f5ad Django-4.1.10.tar.gz -sha256 56343019a9fd839e2e5bf203daf45f25af79d5bffa4c71d56eae4f4404d82ade Django-4.1.10.tar.gz +md5 6f95e92e5e8964c4a1e00e2fcaadf437 Django-4.1.12.tar.gz +sha256 d02483ad49872238fa59875c1269293fe4f17ecee13c121893607cc0b284696b Django-4.1.12.tar.gz # Locally computed sha256 checksums sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE diff --git a/package/python-django/python-django.mk b/package/python-django/python-django.mk index 61dfd54dcd..944cf1e3ca 100644 --- a/package/python-django/python-django.mk +++ b/package/python-django/python-django.mk @@ -4,10 +4,10 @@ # ################################################################################ -PYTHON_DJANGO_VERSION = 4.1.10 +PYTHON_DJANGO_VERSION = 4.1.12 PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz # The official Django site has an unpractical URL -PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/70/d4/eded564fa5928f68771d082ec0eef4d023f9d19dfa1d2923305bc3e62afe +PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/68/76/b1cf87eda3bf5b2d7dd9a23bb4df70ea5511e426a54a04ed2c4ca2ff67cd PYTHON_DJANGO_LICENSE = BSD-3-Clause PYTHON_DJANGO_LICENSE_FILES = LICENSE PYTHON_DJANGO_CPE_ID_VENDOR = djangoproject From bugzilla at busybox.net Mon Oct 30 07:44:37 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Mon, 30 Oct 2023 07:44:37 +0000 Subject: [Buildroot] [Bug 15835] New: Incompatibility between network-manager and libcurl 8.4 Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15835 Bug ID: 15835 Summary: Incompatibility between network-manager and libcurl 8.4 Product: buildroot Version: 2023.02.6 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: chhitz at gmx.net CC: buildroot at uclibc.org Target Milestone: --- In buildroot 2023.02.6 libcurl was updated from 8.3 to 8.4. This new libcurl version triggers an issue in network-manager: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1756 In our case the command `nmcli device disconnect` will always time-out when called when connected to the internet and having the connection check enabled. Applying the path from above mentioned issue to network-manager fixes the issue. -- You are receiving this mail because: You are on the CC list for the bug. From fontaine.fabrice at gmail.com Mon Oct 30 08:50:54 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 30 Oct 2023 09:50:54 +0100 Subject: [Buildroot] [PATCH 1/1] package/sedutil: fix build with gcc >= 13 Message-ID: <20231030085054.31859-1-fontaine.fabrice@gmail.com> Fix the following build failure with gcc >= 13: In file included from ./Common/log.h:45, from LinuxPBA/LinuxPBA.cpp:25: ./Common/DtaOptions.h:33:5: error: 'uint8_t' does not name a type 33 | uint8_t password; /**< password supplied */ | ^~~~~~~ ./Common/DtaOptions.h:1:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? Fixes: - http://autobuild.buildroot.org/results/b6feb4fb33d595414b61174deb9867e8c30cd186 Signed-off-by: Fabrice Fontaine --- .../0002-include-missing-cstdint.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/sedutil/0002-include-missing-cstdint.patch diff --git a/package/sedutil/0002-include-missing-cstdint.patch b/package/sedutil/0002-include-missing-cstdint.patch new file mode 100644 index 0000000000..07a617c5e7 --- /dev/null +++ b/package/sedutil/0002-include-missing-cstdint.patch @@ -0,0 +1,31 @@ +From 927cd88cad7bea94c2eebecc18f7881f0defaccb Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 23:36:29 -0800 +Subject: [PATCH] include missing + +gcc 13 moved some includes around and as a result +is no longer transitively included [1]. Explicitly include +it for uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj + +Upstream: https://github.com/Drive-Trust-Alliance/sedutil/pull/425 +Signed-off-by: Fabrice Fontaine +--- + Common/DtaOptions.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Common/DtaOptions.h b/Common/DtaOptions.h +index c012af1d..7530a0b7 100644 +--- a/Common/DtaOptions.h ++++ b/Common/DtaOptions.h +@@ -21,6 +21,7 @@ along with sedutil. If not, see . + #ifndef _DTAOPTIONS_H + #define _DTAOPTIONS_H + ++#include + /** Output modes */ + typedef enum _sedutiloutput { + sedutilNormal, -- 2.42.0 From robertbarnes at airmail.cc Mon Oct 30 09:06:25 2023 From: robertbarnes at airmail.cc (robertbarnes at airmail.cc) Date: Mon, 30 Oct 2023 09:06:25 +0000 Subject: [Buildroot] Enable -fPIC for static toolchain libs Message-ID: <1fd098d8770a499f7151d7ca25a541b1@airmail.cc> Hello, I am trying to enable -fPIC when building the static libs for the buildroot toolchain (BR2_STATIC_LIBS=y). I need the static libs to be built with PIC in order to use them when building dynamic libraries (.so's) that uses these static libs. How can I enable all static libs to be compiled with -fPIC? Can I use some global CFLAG/CXXFLAG-override? I understand that this is not very common, so hacks are welcome. For example, there is a config parameter in: Toolchain -> "Additional gcc options" - can I use this parameter to force the buildroot toolchain to always use -fPIC? Please speak up if you have done this yourself, or if you know, or think you know of a solution. I am currently using the LTS (2018.08) version but I can make a switch if it is needed. Best, Robert From yann.morin at orange.com Mon Oct 30 09:22:47 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Mon, 30 Oct 2023 10:22:47 +0100 Subject: [Buildroot] [PATCH 0/2] package/filebeat: new package Message-ID: From: "Yann E. MORIN" Hello All! This two-patch series introduces filebeat, an ElasticSearch-related tool to grab local log files and send them to a remote ElasticSearch server. It is a bit convoluted (see commit log), and requires a little extension in our golang-package infrastructure, which we introduce as the first patch in the series. $ echo BR2_PACKAGE_FILEBEAT=y >filebeat.cfg $ ./utils/test-pkg -c filebeat.cfg -p filebeat -d $(pwd)/test-pkg -a arm-aarch64 [ 1/45]: OK bootlin-aarch64-glibc [ 2/45]: OK bootlin-arcle-hs38-uclibc [ 3/45]: SKIPPED bootlin-armv5-uclibc [ 4/45]: OK bootlin-armv7-glibc [ 5/45]: OK bootlin-armv7m-uclibc [ 6/45]: SKIPPED bootlin-armv7-musl [ 7/45]: OK bootlin-m68k-5208-uclibc [ 8/45]: SKIPPED bootlin-m68k-68040-uclibc [ 9/45]: SKIPPED bootlin-microblazeel-uclibc [10/45]: SKIPPED bootlin-mipsel32r6-glibc [11/45]: SKIPPED bootlin-mipsel-uclibc [12/45]: SKIPPED bootlin-nios2-glibc [13/45]: SKIPPED bootlin-openrisc-uclibc [14/45]: SKIPPED bootlin-powerpc64le-power8-glibc [15/45]: OK bootlin-powerpc-e500mc-uclibc [16/45]: SKIPPED bootlin-riscv32-glibc [17/45]: SKIPPED bootlin-riscv64-glibc [18/45]: SKIPPED bootlin-riscv64-musl [19/45]: SKIPPED bootlin-s390x-z13-glibc [20/45]: OK bootlin-sh4-uclibc [21/45]: SKIPPED bootlin-sparc64-glibc [22/45]: SKIPPED bootlin-sparc-uclibc [23/45]: SKIPPED bootlin-x86-64-glibc [24/45]: OK bootlin-x86-64-musl [25/45]: OK bootlin-x86-64-uclibc [26/45]: OK bootlin-xtensa-uclibc [27/45]: SKIPPED br-arm-basic [28/45]: OK br-arm-full-nothread [29/45]: OK br-arm-full-static [30/45]: SKIPPED br-i386-pentium4-full [31/45]: OK br-i386-pentium-mmx-musl [32/45]: OK br-mips64-n64-full [33/45]: OK br-mips64r6-el-hf-glibc [34/45]: SKIPPED br-powerpc-603e-basic-cpp [35/45]: SKIPPED br-powerpc64-power7-glibc [36/45]: SKIPPED linaro-aarch64-be [37/45]: SKIPPED linaro-aarch64 [38/45]: OK linaro-arm [39/45]: OK sourcery-arm-armv4t [40/45]: SKIPPED sourcery-arm [41/45]: FAILED sourcery-arm-thumb2 [42/45]: FAILED sourcery-mips64 [43/45]: FAILED sourcery-mips [44/45]: SKIPPED sourcery-nios2 [45/45]: SKIPPED 45 builds, 23 skipped, 5 build failed, 0 legal-info failed, 0 show-info failed Analysis of each build failure: - sourcery-arm, sourcery-arm-thumb2: => the failure with the sourcery-arm toolchain is expected: it is very old, and uses binutils that did not not have a ld.gold, so no ld.bfd either, just a plain ld, hence our workaround against the go workaround does not work, as expected. - sourcery-mips64: => host-go does not build, so not a filebeat issue - bootlin-riscv64-glibc, bootlin-riscv64-musl: => filebeat has no implementation for its internal atomic ints on riscv64 - other skips due to go arch dependencies: no go, no beat. Regards, Yann E. MORIN. The following changes since commit bc8d214e988b95b125ad2b9409286cbf820370b0 package/python-django: bump version to 4.2.6 (2023-10-22 20:37:13 +0200) are available as patches in this mail series, for you to apply patches up to dd3cad7bdab3590524ea1273910c66812cb4f4d8 package/filebeat: new package (2023-10-30 10:21:47 +0100) ---------------------------------------------------------------- Yann E. MORIN (2): package/pkg-golang: allow packages to provide extldflags package/filebeat: new package docs/manual/adding-packages-golang.adoc | 6 ++- package/Config.in | 1 + package/filebeat/Config.in | 14 ++++++ package/filebeat/filebeat.default | 1 + package/filebeat/filebeat.hash | 5 ++ package/filebeat/filebeat.mk | 85 +++++++++++++++++++++++++++++++++ package/filebeat/filebeat.service | 13 +++++ package/filebeat/filebeat.yml | 5 ++ package/pkg-golang.mk | 6 ++- 9 files changed, 133 insertions(+), 3 deletions(-) create mode 100644 package/filebeat/Config.in create mode 100644 package/filebeat/filebeat.default create mode 100644 package/filebeat/filebeat.hash create mode 100644 package/filebeat/filebeat.mk create mode 100644 package/filebeat/filebeat.service create mode 100644 package/filebeat/filebeat.yml -- ____________ .-----------------.--------------------: _ :------------------. | Yann E. MORIN | Real-Time Embedded | __/ ) | /"\ ASCII RIBBON | | | Software Designer | _/ - /' | \ / CAMPAIGN | | +33 638.411.245 '--------------------: (_ `--, | X AGAINST | | yann.morin (at) orange.com |_=" ,--' | / \ HTML MAIL | '--------------------------------------:______/_____:------------------' ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From yann.morin at orange.com Mon Oct 30 09:22:49 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Mon, 30 Oct 2023 10:22:49 +0100 Subject: [Buildroot] [PATCH 1/2] package/pkg-golang: allow packages to provide extldflags In-Reply-To: References: Message-ID: From: "Yann E. MORIN" For some packages, it may be necessary to pass extra extldflags. For example, some packages will need to be able to specify what ld to use, and so will need to pass -fuse-ld={bfd,gold} as extldflags. Introduce FOO_EXTLDFLAGS, that packages can set to pass such flags. Signed-off-by: Yann E. MORIN --- docs/manual/adding-packages-golang.adoc | 6 ++++-- package/pkg-golang.mk | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/manual/adding-packages-golang.adoc b/docs/manual/adding-packages-golang.adoc index c952cde577..c238050096 100644 --- a/docs/manual/adding-packages-golang.adoc +++ b/docs/manual/adding-packages-golang.adoc @@ -84,8 +84,10 @@ therefore only use a few of them, or none. infrastructure will automatically generate a minimal +go.mod+ file in the package source tree if it doesn't exist. -* +FOO_LDFLAGS+ and +FOO_TAGS+ can be used to pass respectively the - +LDFLAGS+ or the +TAGS+ to the +go+ build command. +* +FOO_LDFLAGS+, +FOO_EXTLDFLAGS+, and +FOO_TAGS+ can be used to pass + respectively the go +LDFLAGS+ (via the `-ldflags` command line flag), + the external linker flags +EXTLDFLAGS+ (via the `-extldflags` + command line flag), or the +TAGS+ to the +go+ build command. * +FOO_BUILD_TARGETS+ can be used to pass the list of targets that should be built. If +FOO_BUILD_TARGETS+ is not specified, it diff --git a/package/pkg-golang.mk b/package/pkg-golang.mk index 7ba82284f3..ba49ce153e 100644 --- a/package/pkg-golang.mk +++ b/package/pkg-golang.mk @@ -101,10 +101,14 @@ ifndef $(2)_BUILD_CMDS ifeq ($(4),target) ifeq ($(BR2_STATIC_LIBS),y) -$(2)_LDFLAGS += -extldflags '-static' +$(2)_EXTLDFLAGS += -static $(2)_TAGS += osusergo netgo endif +ifneq ($$($(2)_EXTLDFLAGS),) +$(2)_LDFLAGS += -extldflags '$$($(2)_EXTLDFLAGS)' +endif + # Build package for target define $(2)_BUILD_CMDS $$(foreach d,$$($(2)_BUILD_TARGETS),\ -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From yann.morin at orange.com Mon Oct 30 09:22:50 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Mon, 30 Oct 2023 10:22:50 +0100 Subject: [Buildroot] [PATCH 2/2] package/filebeat: new package In-Reply-To: References: Message-ID: From: "Yann E. MORIN" filebeat is one of the many Elastic 'beats' that can send data to a remote ElasticSearch (ES) engine or to a remote logstash. This is a go package, but the ES developers are using layers upon layers of abstractions to try and fail to provide an easier build mechanism. First, they use a convoluted set of Makefiles to wrap a lot of arcane commands. There is no obvious way to follow what's going on, especially as... ... second they use mage [0] as a first layer to abstract 'go build', but mage really does not play nicely in cross-compilation; it is a PITA to use, and it very easily gets confused. Building natively is also very fragile and heavily dependent on the user's environment (env, path, tools versions...), which makes it fails quite easily and spectacularly... But in the end, a simple "go build" works like a charm to build the beats' executable. This means we can just use Buildroot's golang-package infrastructure. Wee! However, there does not seem to be actual commands to generate the dataset (like the modules definitions or the kibana dashboards) from source (they basically are YAML descriptions, but they need to be aggregated in a special way, not just concatenated); even running the Makefile as described in the documentation for a native build does not produce those modules... To work around this issue, we just grab the release tarball, and copy all the data from it. This is an ugly workaround, indeed, but this is the best we can do before our mental health degrades beyond hope... On AArch64, the link may fail with errors like: [...] github.com/elastic/beats/v7/filebeat # github.com/elastic/beats/v7/filebeat [...]/output/per-package/filebeat/host/lib/go/pkg/tool/linux_amd64/link: running [...]/output/per-package/filebeat/host/bin/aarch64-linux-gcc failed: exit status 1 collect2: fatal error: cannot find ?ld? compilation terminated. The error happens because go, on AArch64, will forcibly want to use ld.gold, as a workaround for a alleged binutils breakage: https://github.com/golang/go/commit/3c8d6af8e02bbf230c2bef9f181d8ea393068299 https://github.com/golang/go/issues/22040 https://go-review.googlesource.com/c/go/+/22141 https://sourceware.org/bugzilla/show_bug.cgi?id=19962 This is supposedly fixed in binutils 2.36, but go still wants to use ld.gold. As not all toolchains have gold, force use of ld.bfd, which in practice has been shown to work correctly with recent-ish binutils versions: the link succeeds, and the program runs. This may still break on older toolchains, especially those with older binutils that did not have ld.gold (so they would not have ld.bfd either, just ld), but better have breakage on older toolchains, for which there's not much we can do, than on newer ones. (the same issue also occurred for ARM, but the ld.gold requirement was dropped in cd77738198ff, first included in go 1.21, which is now what we use in Buildroot) On riscv64, the build fails because of missing atomic ints: github.com/elastic/beats/v7/libbeat/statestore github.com/elastic/beats/v7/filebeat/inputsource/common/streaming # github.com/elastic/beats/v7/libbeat/statestore libbeat/statestore/store.go:28:18: undefined: atomic.Int libbeat/statestore/store.go:48:20: undefined: atomic.MakeInt github.com/elastic/beats/v7/libbeat/processors/ratelimit github.com/elastic/beats/v7/filebeat/input/kafka # github.com/elastic/beats/v7/filebeat/inputsource/common/streaming filebeat/inputsource/common/streaming/listener.go:48:25: undefined: atomic.Int # github.com/elastic/beats/v7/libbeat/processors/ratelimit libbeat/processors/ratelimit/token_bucket.go:53:20: undefined: atomic.Uint libbeat/processors/ratelimit/token_bucket.go:96:21: undefined: atomic.Uint libbeat/processors/ratelimit/token_bucket.go:193:34: undefined: atomic.MakeUint # github.com/elastic/beats/v7/filebeat/input/kafka filebeat/input/kafka/input.go:395:23: undefined: atomic.MakeInt That's because beats reimplement/wrap atomic ints, but the file implementing those is not whitelisted for riscv64 (yes, 7.0 because this is what kafka's input module imports even in 8.2.2): https://github.com/elastic/beats/blame/7.0/libbeat/common/atomic/atomic64.go#L18 and it has still not changed in 8.2.2 anyway: https://github.com/elastic/beats/blame/v8.2.2/libbeat/common/atomic/atomic64.go#L18 (thanks to Vincent Fazzio for pointing this out.) Finally, we only package version 8.8.2, because any later version can't be vendored, see: https://github.com/elastic/beats/issues/36949 [0] https://magefile.org/ Signed-off-by: Yann E. MORIN Cc: Vincent Fazio --- package/Config.in | 1 + package/filebeat/Config.in | 14 +++++ package/filebeat/filebeat.default | 1 + package/filebeat/filebeat.hash | 5 ++ package/filebeat/filebeat.mk | 85 +++++++++++++++++++++++++++++++ package/filebeat/filebeat.service | 13 +++++ package/filebeat/filebeat.yml | 5 ++ 7 files changed, 124 insertions(+) create mode 100644 package/filebeat/Config.in create mode 100644 package/filebeat/filebeat.default create mode 100644 package/filebeat/filebeat.hash create mode 100644 package/filebeat/filebeat.mk create mode 100644 package/filebeat/filebeat.service create mode 100644 package/filebeat/filebeat.yml diff --git a/package/Config.in b/package/Config.in index 4e489c4706..11deb7ccee 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2350,6 +2350,7 @@ endif source "package/fail2ban/Config.in" source "package/fastd/Config.in" source "package/fcgiwrap/Config.in" + source "package/filebeat/Config.in" source "package/firewalld/Config.in" source "package/flannel/Config.in" source "package/fmc/Config.in" diff --git a/package/filebeat/Config.in b/package/filebeat/Config.in new file mode 100644 index 0000000000..78adae11cd --- /dev/null +++ b/package/filebeat/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_FILEBEAT + bool "filebeat" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on !BR2_RISCV_64 + help + Lightweight data shippers + + Beats is a free and open platform for single-purpose data + shippers. They send data from hundreds or thousands of + machines and systems to Logstash or Elasticsearch. + + This package only installs filebeat. + + https://www.elastic.co/products/beats diff --git a/package/filebeat/filebeat.default b/package/filebeat/filebeat.default new file mode 100644 index 0000000000..ab51c81018 --- /dev/null +++ b/package/filebeat/filebeat.default @@ -0,0 +1 @@ +FILEBEAT_OPTS=-c /etc/filebeat/filebeat.yml diff --git a/package/filebeat/filebeat.hash b/package/filebeat/filebeat.hash new file mode 100644 index 0000000000..11a86f81f2 --- /dev/null +++ b/package/filebeat/filebeat.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 713d109760bbdfcdb30651861bd3899945114325ed65cb2bd744d7ff02c399a9 filebeat-8.8.2.tar.gz +sha256 23e50a1dead216922519026a878d3c75cc2860eb4ca6de186ac64100f85623f3 filebeat-8.8.2-linux-x86_64.tar.gz +sha256 7f0eb504dd0b8b090b52cff384296249be3168374f271b142ce03130c987c8e5 LICENSE.txt +sha256 928b3ded5ea8db33fadb8e5bea8bb10e1f79d2a904e9c97745f54b57e6a1588b NOTICE.txt diff --git a/package/filebeat/filebeat.mk b/package/filebeat/filebeat.mk new file mode 100644 index 0000000000..02cc8d917f --- /dev/null +++ b/package/filebeat/filebeat.mk @@ -0,0 +1,85 @@ +################################################################################ +# +# filebeat +# +################################################################################ + +# When updating, regenerate the list of licenses, below +FILEBEAT_VERSION = 8.8.2 +FILEBEAT_SITE = $(call github,elastic,beats,v$(FILEBEAT_VERSION)) +FILEBEAT_DL_SUBDIR = elastic-beats +FILEBEAT_EXTRA_SITE = https://artifacts.elastic.co/downloads/beats/filebeat +FILEBEAT_EXTRA_SOURCE = filebeat-$(FILEBEAT_VERSION)-linux-x86_64.tar.gz +FILEBEAT_EXTRA_DOWNLOADS = $(FILEBEAT_EXTRA_SITE)/$(FILEBEAT_EXTRA_SOURCE) + +# License list obtained with: +# sed -r -e '/^Licence type.*: (.+)$/!d; s//\1/;' NOTICE.txt |sort -u +FILEBEAT_LICENSE = \ + Apache-2.0, \ + BSD, \ + BSD-2-Clause, \ + BSD-2-Clause-FreeBSD, \ + BSD-3-Clause, \ + Elastic, \ + ISC, \ + MIT, \ + MPL-2.0 + +FILEBEAT_LICENSE_FILES = LICENSE.txt NOTICE.txt + +FILEBEAT_GOMOD = github.com/elastic/beats/v7 +FILEBEAT_BUILD_TARGETS = filebeat + +ifeq ($(BR2_arm)$(BR2_aarch64),y) +# On aarch64, go will forcibly use gold, on the assumption that ld.bfd is +# broken, but that is supposedly fixed on binutils master, and at least +# released in 2.36 onward. So, we force it back to use ld.bfd, as not all +# toolchains have ld.gold (for example, the Bootlin toolchians, built with +# Buildroot, do not). +FILEBEAT_EXTLDFLAGS += -fuse-ld=bfd +endif + +FILEBEAT_PREBUILT_MODULES_DIR = $(@D)/.elastic-pre-built-for-modules + +# We extract the pre-built release of filebeat, just for the modules +# and stuff (building those from the actual source tree seems to be +# so arcanne that it is not documented anywhere). Modules are but +# a large collection of yaml and json files, though. +define FILEBEAT_EXTRACT_MODULES + $(Q)mkdir -p $(FILEBEAT_PREBUILT_MODULES_DIR) + $(Q)$(call suitable-extractor,$(FILEBEAT_EXTRA_SOURCE)) \ + $(FILEBEAT_DL_DIR)/$(FILEBEAT_EXTRA_SOURCE) \ + |$(TAR) --strip-components=1 \ + -C $(FILEBEAT_PREBUILT_MODULES_DIR) \ + $(TAR_OPTIONS) - +endef +FILEBEAT_POST_EXTRACT_HOOKS += FILEBEAT_EXTRACT_MODULES + +# This layout mirrors the one in the .deb released by Elastic +define FILEBEAT_INSTALL_MODULES + $(Q)mkdir -p $(TARGET_DIR)/etc/filebeat $(TARGET_DIR)/usr/share/filebeat + cp -a \ + $(FILEBEAT_PREBUILT_MODULES_DIR)/fields.yml \ + $(FILEBEAT_PREBUILT_MODULES_DIR)/modules.d \ + $(TARGET_DIR)/etc/filebeat/ + cp -a \ + $(FILEBEAT_PREBUILT_MODULES_DIR)/kibana \ + $(FILEBEAT_PREBUILT_MODULES_DIR)/module \ + $(TARGET_DIR)/usr/share/filebeat/ +endef +FILEBEAT_POST_INSTALL_TARGET_HOOKS += FILEBEAT_INSTALL_MODULES + +define FILEBEAT_INSTALL_CONFIG + $(INSTALL) -D -m 0644 $(FILEBEAT_PKGDIR)/filebeat.yml \ + $(TARGET_DIR)/etc/filebeat/filebeat.yml + $(INSTALL) -D -m 0644 $(FILEBEAT_PKGDIR)/filebeat.default \ + $(TARGET_DIR)/etc/default/filebeat +endef +FILEBEAT_POST_INSTALL_TARGET_HOOKS += FILEBEAT_INSTALL_CONFIG + +define FILEBEAT_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(FILEBEAT_PKGDIR)/filebeat.service \ + $(TARGET_DIR)/usr/lib/systemd/system/filebeat.service +endef + +$(eval $(golang-package)) diff --git a/package/filebeat/filebeat.service b/package/filebeat/filebeat.service new file mode 100644 index 0000000000..08234f50b6 --- /dev/null +++ b/package/filebeat/filebeat.service @@ -0,0 +1,13 @@ +[Unit] +Description=Filebeat +Wants=network-online.target +After=network-online.target + +[Service] +UMask=0027 +EnvironmentFile=/etc/default/filebeat +ExecStart=/usr/bin/filebeat --environment systemd $FILEBEAT_OPTS +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/package/filebeat/filebeat.yml b/package/filebeat/filebeat.yml new file mode 100644 index 0000000000..147c1d55dd --- /dev/null +++ b/package/filebeat/filebeat.yml @@ -0,0 +1,5 @@ +path: + home: /usr/share/filebeat + config: /etc/filebeat + data: /var/lib/filebeat + logs: /var/log/filebeat -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From etienne.carriere at foss.st.com Mon Oct 30 09:30:02 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:30:02 +0100 Subject: [Buildroot] [PATCH 5/5] board/qemu/arm-vexpress-tz: fix info regarding Qemu enable=on In-Reply-To: <20231030093002.1047149-1-etienne.carriere@foss.st.com> References: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Message-ID: <20231030093002.1047149-5-etienne.carriere@foss.st.com> Since Qemu 6.0.0, a warning appear in the log if a short-form boolean option is used. This was fixed by Romain for the main cmdline description (see 04afe86cd7e8 ("board/qemu/arm-vexpress-tz: use enable=on")) but was not updated in the alternate cmdlines for when using a dual console or a GDB debug setup. By the way, fix description mentioning qemu-system-arm command line option -S that is an uppercase S, not a lower case s. Signed-off-by: Etienne Carriere --- board/qemu/arm-vexpress-tz/readme.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/qemu/arm-vexpress-tz/readme.txt b/board/qemu/arm-vexpress-tz/readme.txt index 3036dd54ca..3e84fe6391 100644 --- a/board/qemu/arm-vexpress-tz/readme.txt +++ b/board/qemu/arm-vexpress-tz/readme.txt @@ -62,7 +62,7 @@ consoles over telnet connections: -serial telnet:127.0.0.1:1235,server \ -serial telnet:127.0.0.1:1236,server \ -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable,target=native \ + -semihosting-config enable=on,target=native \ -bios flash.bin QEMU is now waiting for the telnet connection. From another shell, open a @@ -91,7 +91,7 @@ From a first shell: -smp 1 -s -m 1024 -d unimp \ -serial stdio \ -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable,target=native \ + -semihosting-config enable=on,target=native \ -bios flash.bin \ -S @@ -123,7 +123,7 @@ Emulation has started, TF-A has loaded OP-TEE and U-boot images in memory and has booted OP-TEE. Emulation stopped at OP-TEE core entry. Note: QEMU hosts a GDB service listening to TCP port 1234, as set through -qemu-system-arm command line option -s. +qemu-system-arm command line option -S. Note: To build the GDB server, the following extra options have to be added to the Buildroot configuration: -- 2.25.1 From bremenpl at gmail.com Mon Oct 30 09:44:07 2023 From: bremenpl at gmail.com (=?utf-8?q?=c5=81ukasz=20Przenios=c5=82o?=) Date: Mon, 30 Oct 2023 09:44:07 +0000 Subject: [Buildroot] Help with DTO In-Reply-To: <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> References: <61e80819-c901-486c-afdd-1e69441821e2@grenoble.cnrs.fr> <47321b8a-6e6a-43a2-b38c-bcc1defcb5c1@grenoble.cnrs.fr> Message-ID: Hi Edgar and all, One notable difference between them that the latter uses the Beagleboard Linux kernel from GitHub, whereas the former uses mainline Linux 6.0. I wonder whether this may make a difference for you. This was a good guess. I have re-run the config as per the tutorial, from scratch, with latest kernel. The gpiodetect and gpioinfo now work: # gpiodetect gpiochip0 [gpio-0-31] (32 lines) gpiochip1 [gpio-32-63] (32 lines) gpiochip2 [gpio-64-95] (32 lines) gpiochip3 [gpio-96-127] (32 lines) # gpioinfo gpiochip0 - 32 lines: line 0: "P8_25 [mmc1_dat0]" unused input active-high line 1: "[mmc1_dat1]" unused input active-high line 2: "P8_5 [mmc1_dat2]" unused input active-high line 3: "P8_6 [mmc1_dat3]" unused input active-high line 4: "P8_23 [mmc1_dat4]" unused input active-high line 5: "P8_22 [mmc1_dat5]" unused input active-high line 6: "P8_3 [mmc1_dat6]" unused input active-high line 7: "P8_4 [mmc1_dat7]" unused input active-high line 8: "NC" unused input active-high line 9: "NC" unused input active-high line 10: "NC" unused input active-high line 11: "NC" unused input active-high line 12: "P8_12" unused input active-high line 13: "P8_11" unused input active-high line 14: "P8_16" unused input active-high line 15: "P8_15" unused input active-high line 16: "P9_15A" unused input active-high line 17: "P9_23" unused input active-high line 18: "P9_14 [ehrpwm1a]" unused input active-high line 19: "P9_16 [ehrpwm1b]" unused input active-high line 20: "[emmc rst]" unused input active-high line 21: "[usr0 led]" unused input active-high line 22: "[usr1 led]" unused input active-high line 23: "[usr2 led]" unused input active-high line 24: "[usr3 led]" unused input active-high line 25: "[hdmi irq]" unused input active-high line 26: "[usb vbus oc]" unused input active-high line 27: "[hdmi audio]" "enable" output active-high [used] line 28: "P9_12" unused input active-high line 29: "P8_26" unused input active-high line 30: "P8_21 [emmc]" unused input active-high line 31: "P8_20 [emmc]" unused input active-high gpiochip1 - 32 lines: line 0: "P9_15B" unused input active-high line 1: "P8_18" unused input active-high line 2: "P8_7" unused input active-high line 3: "P8_8" unused input active-high line 4: "P8_10" unused input active-high line 5: "P8_9" unused input active-high line 6: "P8_45 [hdmi]" unused input active-high line 7: "P8_46 [hdmi]" unused input active-high line 8: "P8_43 [hdmi]" unused input active-high line 9: "P8_44 [hdmi]" unused input active-high line 10: "P8_41 [hdmi]" unused input active-high line 11: "P8_42 [hdmi]" unused input active-high line 12: "P8_39 [hdmi]" unused input active-high line 13: "P8_40 [hdmi]" unused input active-high line 14: "P8_37 [hdmi]" unused input active-high line 15: "P8_38 [hdmi]" unused input active-high line 16: "P8_36 [hdmi]" unused input active-high line 17: "P8_34 [hdmi]" unused input active-high line 18: "[rmii1_rxd3]" unused input active-high line 19: "[rmii1_rxd2]" unused input active-high line 20: "[rmii1_rxd1]" unused input active-high line 21: "[rmii1_rxd0]" unused input active-high line 22: "P8_27 [hdmi]" unused input active-high line 23: "P8_29 [hdmi]" unused input active-high line 24: "P8_28 [hdmi]" unused input active-high line 25: "P8_30 [hdmi]" unused input active-high line 26: "[mmc0_dat3]" unused input active-high line 27: "[mmc0_dat2]" unused input active-high line 28: "[mmc0_dat1]" unused input active-high line 29: "[mmc0_dat0]" unused input active-high line 30: "[mmc0_clk]" unused input active-high line 31: "[mmc0_cmd]" unused input active-high gpiochip2 - 32 lines: line 0: "[mii col]" unused input active-high line 1: "[mii crs]" unused input active-high line 2: "[mii rx err]" unused input active-high line 3: "[mii tx en]" unused input active-high line 4: "[mii rx dv]" unused input active-high line 5: "[i2c0 sda]" unused input active-high line 6: "[i2c0 scl]" unused input active-high line 7: "[jtag emu0]" unused input active-high line 8: "[jtag emu1]" unused input active-high line 9: "[mii tx clk]" unused input active-high line 10: "[mii rx clk]" unused input active-high line 11: "NC" unused input active-high line 12: "NC" unused input active-high line 13: "[usb vbus en]" unused input active-high line 14: "P9_31 [spi1_sclk]" unused input active-high line 15: "P9_29 [spi1_d0]" unused input active-high line 16: "P9_30 [spi1_d1]" unused input active-high line 17: "P9_28 [spi1_cs0]" unused input active-high line 18: "P9_42B [ecappwm0]" unused input active-high line 19: "P9_27" unused input active-high line 20: "P9_41A" unused input active-high line 21: "P9_25" unused input active-high line 22: "NC" unused input active-high line 23: "NC" unused input active-high line 24: "NC" unused input active-high line 25: "NC" unused input active-high line 26: "NC" unused input active-high line 27: "NC" unused input active-high line 28: "NC" unused input active-high line 29: "NC" unused input active-high line 30: "NC" unused input active-high line 31: "NC" unused input active-high gpiochip3 - 32 lines: line 0: "[mdio_data]" unused input active-high line 1: "[mdio_clk]" unused input active-high line 2: "P9_22 [spi0_sclk]" unused input active-high line 3: "P9_21 [spi0_d0]" unused input active-high line 4: "P9_18 [spi0_d1]" unused input active-high line 5: "P9_17 [spi0_cs0]" unused input active-high line 6: "[mmc0_cd]" "cd" input active-low [used] line 7: "P8_42A [ecappwm0]" unused input active-high line 8: "P8_35 [lcd d12]" unused input active-high line 9: "P8_33 [lcd d13]" unused input active-high line 10: "P8_31 [lcd d14]" unused input active-high line 11: "P8_32 [lcd d15]" unused input active-high line 12: "P9_20 [i2c2_sda]" unused input active-high line 13: "P9_19 [i2c2_scl]" unused input active-high line 14: "P9_26 [uart1_rxd]" unused input active-high line 15: "P9_24 [uart1_txd]" unused input active-high line 16: "[rmii1_txd3]" unused input active-high line 17: "[rmii1_txd2]" unused input active-high line 18: "[usb0_drvvbus]" unused input active-high line 19: "[hdmi cec]" unused input active-high line 20: "P9_41B" unused input active-high line 21: "[rmii1_txd1]" unused input active-high line 22: "P8_19 [ehrpwm2a]" unused input active-high line 23: "P8_13 [ehrpwm2b]" unused input active-high line 24: "NC" unused input active-high line 25: "NC" unused input active-high line 26: "P8_14" unused input active-high line 27: "P8_17" unused input active-high line 28: "[rmii1_txd0]" unused input active-high line 29: "[rmii1_refclk]" unused input active-high line 30: "P9_11 [uart4_rxd]" unused input active-high line 31: "P9_13 [uart4_txd]" unused input active-high Also it is possible to use the given tools to manipulate the GPIOs, as opposed to sysfs in this build... Any idea who to inform about the broken lingpiod in the beaglebone_defconfig? -- ?ukasz Przenios?o ------ Original Message ------ >From "Edgar Bonet" To "?ukasz Przenios?o" Cc buildroot at buildroot.org Date 2023-10-29 21:51:12 Subject Re: [Buildroot] Help with DTO >Hello! > >?ukasz Przenios?o wrote: >> The problem is that thse mentioned commands [gpiodetect, gpioinfo...] >> provide no output in my shell (here run one by one with no output): > >I find it weird that `ls` sees /dev/gpiochip*, yet `gpiodetect` does not >detect anything. Are you using the configuration from the tutorial or >Buildroot's beaglebone_defconfig? One notable difference between them >that the latter uses the Beagleboard Linux kernel from GitHub, whereas >the former uses mainline Linux 6.0. I wonder whether this may make a >difference for you. > >Regarding the DT overlay, I have never tried something similar. I found >a tutorial from Bootlin.[1] According to it, the overlay is managed just >like the defconfig itself. If you write such an overlay, Buildroot >should compile it if, on `make menuconfig`, you list it under > > Kernel / Out-of-tree Device Tree Source file paths > >Regards, > >Edgar. > >[1] https://bootlin.com/blog/using-device-tree-overlays-example-on-beaglebone-boards/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From etienne.carriere at foss.st.com Mon Oct 30 09:29:59 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:29:59 +0100 Subject: [Buildroot] [PATCH 2/5] package/optee-client: bump to version 4.0.0 In-Reply-To: <20231030093002.1047149-1-etienne.carriere@foss.st.com> References: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Message-ID: <20231030093002.1047149-2-etienne.carriere@foss.st.com> Bumps OP-TEE client package version to OP-TEE release 4.0.0. Signed-off-by: Etienne Carriere --- package/optee-client/optee-client.hash | 4 ++-- package/optee-client/optee-client.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-client/optee-client.hash b/package/optee-client/optee-client.hash index 69016eae11..bb97820ab1 100644 --- a/package/optee-client/optee-client.hash +++ b/package/optee-client/optee-client.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_client/archive/3.21.0/optee-client-3.21.0.tar.gz -sha256 368164a539b85557d2079fa6cd839ec444869109f96de65d6569e58b0615d026 optee-client-3.21.0.tar.gz +# From https://github.com/OP-TEE/optee_client/archive/4.0.0/optee-client-4.0.0.tar.gz +sha256 bcdac9c3a9f2e93c64d114667cc6d1feddf9f978992cdc2d59745885f9bd8fbe optee-client-4.0.0.tar.gz # Locally computed sha256 fda8385993f112d7ca61b88b54ba5b4cbeec7e43a0f9b317d5186703c1985e8f LICENSE diff --git a/package/optee-client/optee-client.mk b/package/optee-client/optee-client.mk index 4b95842efa..99c922a171 100644 --- a/package/optee-client/optee-client.mk +++ b/package/optee-client/optee-client.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_CLIENT_VERSION = 3.21.0 +OPTEE_CLIENT_VERSION = 4.0.0 OPTEE_CLIENT_SITE = $(call github,OP-TEE,optee_client,$(OPTEE_CLIENT_VERSION)) OPTEE_CLIENT_LICENSE = BSD-2-Clause OPTEE_CLIENT_LICENSE_FILES = LICENSE -- 2.25.1 From etienne.carriere at foss.st.com Mon Oct 30 09:29:58 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:29:58 +0100 Subject: [Buildroot] [PATCH 1/5] boot/optee-os: bump to version 4.0.0 Message-ID: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Bumps OP-TEE OS package version to OP-TEE release 4.0.0. Signed-off-by: Etienne Carriere --- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in index cc2c90b5ac..75bf00d450 100644 --- a/boot/optee-os/Config.in +++ b/boot/optee-os/Config.in @@ -18,7 +18,7 @@ choice Select the version of OP-TEE OS you want to use config BR2_TARGET_OPTEE_OS_LATEST - bool "3.21.0" + bool "4.0.0" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY help @@ -70,7 +70,7 @@ endif config BR2_TARGET_OPTEE_OS_VERSION string - default "3.21.0" if BR2_TARGET_OPTEE_OS_LATEST + default "4.0.0" if BR2_TARGET_OPTEE_OS_LATEST default "custom" if BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ if BR2_TARGET_OPTEE_OS_CUSTOM_GIT diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash index cf3ee7a36e..1f13931ca2 100644 --- a/boot/optee-os/optee-os.hash +++ b/boot/optee-os/optee-os.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_os/archive/3.21.0/optee-os-3.21.0.tar.gz -sha256 92a16e841b0bdb4bfcb1c20b6a1bd3309092203d534ed167dfdb5a5f395bf60b optee-os-3.21.0.tar.gz +# From https://github.com/OP-TEE/optee_os/archive/4.0.0/optee-os-4.0.0.tar.gz +sha256 2c2c9525b36c96dfad6216520721b8e9663e6cacc61d0108a0c8bffc0ea175f1 optee-os-4.0.0.tar.gz # Locally computed sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE -- 2.25.1 From aperez at igalia.com Mon Oct 30 10:11:04 2023 From: aperez at igalia.com (Adrian Perez de Castro) Date: Mon, 30 Oct 2023 12:11:04 +0200 Subject: [Buildroot] [PATCH 0/3] Update wlroots to 0.16.x and dependent packages Message-ID: <20231030101115.2214402-1-aperez@igalia.com> Hello! This patch series updates wlroots to the most recent stable release, plus the cage and sway compositors to their latest releases as well. These are the two only Buildroot packages which depend on wlroots, and part of their changes includes support for building against wlroots 0.16.x, which had some bits of its public API changed. Cheers, Adrian Perez de Castro (3): package/wlroots: bump to version 0.16.2 package/cage: bump to version 0.1.5 package/sway: bump to version 1.8.1 .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ------------------ package/cage/cage.hash | 4 +- package/cage/cage.mk | 2 +- package/sway/sway.hash | 2 +- package/sway/sway.mk | 4 +- package/wlroots/wlroots.hash | 4 +- package/wlroots/wlroots.mk | 2 +- 7 files changed, 9 insertions(+), 321 deletions(-) delete mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch -- 2.42.0 From aperez at igalia.com Mon Oct 30 10:11:06 2023 From: aperez at igalia.com (Adrian Perez de Castro) Date: Mon, 30 Oct 2023 12:11:06 +0200 Subject: [Buildroot] [PATCH 2/3] package/cage: bump to version 0.1.5 In-Reply-To: <20231030101115.2214402-1-aperez@igalia.com> References: <20231030101115.2214402-1-aperez@igalia.com> Message-ID: <20231030101115.2214402-3-aperez@igalia.com> Update Cage to version 0.1.5, which is a bug fix release that supports using wlroots 0.16.x. Signed-off-by: Adrian Perez de Castro --- .../cage/0001-Upgrade-to-wlroots-0.15.patch | 312 ------------------ package/cage/cage.hash | 4 +- package/cage/cage.mk | 2 +- 3 files changed, 3 insertions(+), 315 deletions(-) delete mode 100644 package/cage/0001-Upgrade-to-wlroots-0.15.patch diff --git a/package/cage/0001-Upgrade-to-wlroots-0.15.patch b/package/cage/0001-Upgrade-to-wlroots-0.15.patch deleted file mode 100644 index a5716ede43..0000000000 --- a/package/cage/0001-Upgrade-to-wlroots-0.15.patch +++ /dev/null @@ -1,312 +0,0 @@ -From e51bef3fdad649d453276717294cc6177666cf5a Mon Sep 17 00:00:00 2001 -From: Simon Ser -Date: Wed, 11 Aug 2021 11:31:14 +0200 -Subject: [PATCH] Upgrade to wlroots 0.15 - -- Update wlr_box includes to util/box.h: the wlroots header has - been moved upstream. -- Subsurface fields have been moved -- Create renderer and allocator, stop using wlr_backend_get_renderer -- Initalize output rendering - -Signed-off-by: Adrian Perez de Castro -Upstream status: https://github.com/Hjdskes/cage/commit/395189fb051ed722c7b10b6cb11caa8f6904079c ---- - cage.c | 21 +++++++++++++++++---- - meson.build | 2 +- - output.c | 5 +++++ - render.c | 26 ++++++++------------------ - server.h | 2 ++ - util.c | 2 -- - util.h | 2 +- - view.c | 5 ++--- - view.h | 2 +- - xdg_shell.c | 1 - - xwayland.c | 1 - - 11 files changed, 37 insertions(+), 32 deletions(-) - -diff --git a/cage.c b/cage.c -index 5392535..f9db7a9 100644 ---- a/cage.c -+++ b/cage.c -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -261,7 +262,6 @@ main(int argc, char *argv[]) - struct wl_event_source *sigint_source = NULL; - struct wl_event_source *sigterm_source = NULL; - struct wl_event_source *sigchld_source = NULL; -- struct wlr_renderer *renderer = NULL; - struct wlr_compositor *compositor = NULL; - struct wlr_data_device_manager *data_device_manager = NULL; - struct wlr_server_decoration_manager *server_decoration_manager = NULL; -@@ -316,8 +316,21 @@ main(int argc, char *argv[]) - goto end; - } - -- renderer = wlr_backend_get_renderer(server.backend); -- wlr_renderer_init_wl_display(renderer, server.wl_display); -+ server.renderer = wlr_renderer_autocreate(server.backend); -+ if (!server.renderer) { -+ wlr_log(WLR_ERROR, "Unable to create the wlroots renderer"); -+ ret = 1; -+ goto end; -+ } -+ -+ server.allocator = wlr_allocator_autocreate(server.backend, server.renderer); -+ if (!server.allocator) { -+ wlr_log(WLR_ERROR, "Unable to create the wlroots allocator"); -+ ret = 1; -+ goto end; -+ } -+ -+ wlr_renderer_init_wl_display(server.renderer, server.wl_display); - - wl_list_init(&server.views); - wl_list_init(&server.outputs); -@@ -329,7 +342,7 @@ main(int argc, char *argv[]) - goto end; - } - -- compositor = wlr_compositor_create(server.wl_display, renderer); -+ compositor = wlr_compositor_create(server.wl_display, server.renderer); - if (!compositor) { - wlr_log(WLR_ERROR, "Unable to create the wlroots compositor"); - ret = 1; -diff --git a/meson.build b/meson.build -index 3a84794..f2e5428 100644 ---- a/meson.build -+++ b/meson.build -@@ -34,7 +34,7 @@ if is_freebsd - ) - endif - --wlroots = dependency('wlroots', version: '>= 0.14.0') -+wlroots = dependency('wlroots', version: '>= 0.15.0') - wayland_protos = dependency('wayland-protocols', version: '>=1.14') - wayland_server = dependency('wayland-server') - pixman = dependency('pixman-1') -diff --git a/output.c b/output.c -index d8da3b9..e8b3a22 100644 ---- a/output.c -+++ b/output.c -@@ -442,6 +442,11 @@ handle_new_output(struct wl_listener *listener, void *data) - struct cg_server *server = wl_container_of(listener, server, new_output); - struct wlr_output *wlr_output = data; - -+ if (!wlr_output_init_render(wlr_output, server->allocator, server->renderer)) { -+ wlr_log(WLR_ERROR, "Failed to initialize output rendering"); -+ return; -+ } -+ - struct cg_output *output = calloc(1, sizeof(struct cg_output)); - if (!output) { - wlr_log(WLR_ERROR, "Failed to allocate output"); -diff --git a/render.c b/render.c -index 166a088..ffa960f 100644 ---- a/render.c -+++ b/render.c -@@ -10,11 +10,11 @@ - #include - #include - #include --#include - #include - #include - #include - #include -+#include - #include - #include - -@@ -27,8 +27,6 @@ - static void - scissor_output(struct wlr_output *output, pixman_box32_t *rect) - { -- struct wlr_renderer *renderer = wlr_backend_get_renderer(output->backend); -- - struct wlr_box box = { - .x = rect->x1, - .y = rect->y1, -@@ -41,7 +39,7 @@ scissor_output(struct wlr_output *output, pixman_box32_t *rect) - enum wl_output_transform transform = wlr_output_transform_invert(output->transform); - wlr_box_transform(&box, &box, transform, output_width, output_height); - -- wlr_renderer_scissor(renderer, &box); -+ wlr_renderer_scissor(output->renderer, &box); - } - - struct render_data { -@@ -52,8 +50,6 @@ static void - render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, struct wlr_texture *texture, - const struct wlr_box *box, const float matrix[static 9]) - { -- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); -- - pixman_region32_t damage; - pixman_region32_init(&damage); - pixman_region32_union_rect(&damage, &damage, box->x, box->y, box->width, box->height); -@@ -66,7 +62,7 @@ render_texture(struct wlr_output *wlr_output, pixman_region32_t *output_damage, - pixman_box32_t *rects = pixman_region32_rectangles(&damage, &nrects); - for (int i = 0; i < nrects; i++) { - scissor_output(wlr_output, &rects[i]); -- wlr_render_texture_with_matrix(renderer, texture, matrix, 1.0f); -+ wlr_render_texture_with_matrix(wlr_output->renderer, texture, matrix, 1.0f); - } - - damage_finish: -@@ -134,13 +130,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) - struct cg_server *server = output->server; - struct wlr_output *wlr_output = output->wlr_output; - -- struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); -- if (!renderer) { -- wlr_log(WLR_DEBUG, "Expected the output backend to have a renderer"); -- return; -- } -- -- wlr_renderer_begin(renderer, wlr_output->width, wlr_output->height); -+ wlr_renderer_begin(server->renderer, wlr_output->width, wlr_output->height); - - if (!pixman_region32_not_empty(damage)) { - wlr_log(WLR_DEBUG, "Output isn't damaged but needs a buffer swap"); -@@ -149,7 +139,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) - - #ifdef DEBUG - if (server->debug_damage_tracking) { -- wlr_renderer_clear(renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); -+ wlr_renderer_clear(server->renderer, (float[]){1.0f, 0.0f, 0.0f, 1.0f}); - } - #endif - -@@ -158,7 +148,7 @@ output_render(struct cg_output *output, pixman_region32_t *damage) - pixman_box32_t *rects = pixman_region32_rectangles(damage, &nrects); - for (int i = 0; i < nrects; i++) { - scissor_output(wlr_output, &rects[i]); -- wlr_renderer_clear(renderer, color); -+ wlr_renderer_clear(server->renderer, color); - } - - // TODO: render only top view, possibly use focused view for this, see #35. -@@ -178,8 +168,8 @@ renderer_end: - /* Draw software cursor in case hardware cursors aren't - available. This is a no-op when they are. */ - wlr_output_render_software_cursors(wlr_output, damage); -- wlr_renderer_scissor(renderer, NULL); -- wlr_renderer_end(renderer); -+ wlr_renderer_scissor(server->renderer, NULL); -+ wlr_renderer_end(server->renderer); - - int output_width, output_height; - wlr_output_transformed_resolution(wlr_output, &output_width, &output_height); -diff --git a/server.h b/server.h -index 817637b..74970c5 100644 ---- a/server.h -+++ b/server.h -@@ -25,6 +25,8 @@ struct cg_server { - struct wl_display *wl_display; - struct wl_list views; - struct wlr_backend *backend; -+ struct wlr_renderer *renderer; -+ struct wlr_allocator *allocator; - - struct cg_seat *seat; - struct wlr_idle *idle; -diff --git a/util.c b/util.c -index 95de499..714c7e3 100644 ---- a/util.c -+++ b/util.c -@@ -6,8 +6,6 @@ - * See the LICENSE file accompanying this file. - */ - --#include -- - #include "util.h" - - int -diff --git a/util.h b/util.h -index db6bc7d..b6281f3 100644 ---- a/util.h -+++ b/util.h -@@ -1,7 +1,7 @@ - #ifndef CG_UTIL_H - #define CG_UTIL_H - --#include -+#include - - /** Apply scale to a width or height. */ - int scale_length(int length, int offset, float scale); -diff --git a/view.c b/view.c -index 3f3b0ed..33b59b4 100644 ---- a/view.c -+++ b/view.c -@@ -12,7 +12,6 @@ - #include - #include - #include --#include - #include - #include - -@@ -235,10 +234,10 @@ view_map(struct cg_view *view, struct wlr_surface *surface) - view->wlr_surface = surface; - - struct wlr_subsurface *subsurface; -- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_below, parent_link) { -+ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_below, current.link) { - subsurface_create(view, subsurface); - } -- wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_above, parent_link) { -+ wl_list_for_each (subsurface, &view->wlr_surface->current.subsurfaces_above, current.link) { - subsurface_create(view, subsurface); - } - -diff --git a/view.h b/view.h -index cd16e42..87477d0 100644 ---- a/view.h -+++ b/view.h -@@ -5,9 +5,9 @@ - - #include - #include --#include - #include - #include -+#include - #if CAGE_HAS_XWAYLAND - #include - #endif -diff --git a/xdg_shell.c b/xdg_shell.c -index 2e42347..d676552 100644 ---- a/xdg_shell.c -+++ b/xdg_shell.c -@@ -9,7 +9,6 @@ - #include - #include - #include --#include - #include - #include - -diff --git a/xwayland.c b/xwayland.c -index 2aae0f9..ebd8e54 100644 ---- a/xwayland.c -+++ b/xwayland.c -@@ -9,7 +9,6 @@ - #include - #include - #include --#include - #include - #include - --- -2.36.0 - diff --git a/package/cage/cage.hash b/package/cage/cage.hash index 57a1c12638..d5517bd918 100644 --- a/package/cage/cage.hash +++ b/package/cage/cage.hash @@ -1,5 +1,5 @@ -# Generated locally after checking GPG signature -sha256 dfe27fb0c7d43db72d6c82f01e2736580a0791a23ba69d7b56285d08af98ad90 cage-0.1.4.tar.gz +# Generated locally after checking GPG signature from https://github.com/cage-kiosk/cage/releases/download/v0.1.5/cage-0.1.5.tar.gz.sig +sha256 ece0312e559289df0238289ea6c60e9fed32d27fe3ae8a8f83eeff26ddc239e1 cage-0.1.5.tar.gz # Hashes for license files: sha256 e117104073335dbaf78596fb1bedf89dda63c71f60f0b665947b2d369c77ecee LICENSE diff --git a/package/cage/cage.mk b/package/cage/cage.mk index c132f086f6..119950bc00 100644 --- a/package/cage/cage.mk +++ b/package/cage/cage.mk @@ -4,7 +4,7 @@ # ################################################################################ -CAGE_VERSION = 0.1.4 +CAGE_VERSION = 0.1.5 CAGE_SITE = https://github.com/Hjdskes/cage/releases/download/v$(CAGE_VERSION) CAGE_LICENSE = MIT CAGE_LICENSE_FILES = LICENSE -- 2.42.0 From aperez at igalia.com Mon Oct 30 10:11:05 2023 From: aperez at igalia.com (Adrian Perez de Castro) Date: Mon, 30 Oct 2023 12:11:05 +0200 Subject: [Buildroot] [PATCH 1/3] package/wlroots: bump to version 0.16.2 In-Reply-To: <20231030101115.2214402-1-aperez@igalia.com> References: <20231030101115.2214402-1-aperez@igalia.com> Message-ID: <20231030101115.2214402-2-aperez@igalia.com> Update to version 0.16.2, which brings in support for a few new Wayland protocols, and improved input device and scene graph APIs. Applications which use wlroots might need to be adapted, and at least rebuilt. The only packages in Buildroot which use wlroots at the moment are the Cage and Sway compositors, to be updated in follow-up patches. Signed-off-by: Adrian Perez de Castro --- package/wlroots/wlroots.hash | 4 ++-- package/wlroots/wlroots.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/wlroots/wlroots.hash b/package/wlroots/wlroots.hash index 04bbd65e43..8ab05393b1 100644 --- a/package/wlroots/wlroots.hash +++ b/package/wlroots/wlroots.hash @@ -1,5 +1,5 @@ -# Generated locally, after checking https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.15.1/downloads/wlroots-0.15.1.tar.gz.sig -sha256 5b92f11a52d978919ed1306e0d54c9d59f1762b28d44f0a2da3ef3b351305373 wlroots-0.15.1.tar.gz +# Generated locally, after checking https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.16.2/downloads/wlroots-0.16.2.tar.gz.sig +sha256 83e9a11605f23d4bf781ab1947089483d9ec3f7e9ba65398e0609593b77d44aa wlroots-0.16.2.tar.gz # Hashes for license files: sha256 ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b LICENSE diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index 5b930a51be..b478e57abb 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -4,7 +4,7 @@ # ################################################################################ -WLROOTS_VERSION = 0.15.1 +WLROOTS_VERSION = 0.16.2 WLROOTS_SITE = https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$(WLROOTS_VERSION)/downloads WLROOTS_LICENSE = MIT WLROOTS_LICENSE_FILES = LICENSE -- 2.42.0 From aperez at igalia.com Mon Oct 30 10:11:07 2023 From: aperez at igalia.com (Adrian Perez de Castro) Date: Mon, 30 Oct 2023 12:11:07 +0200 Subject: [Buildroot] [PATCH 3/3] package/sway: bump to version 1.8.1 In-Reply-To: <20231030101115.2214402-1-aperez@igalia.com> References: <20231030101115.2214402-1-aperez@igalia.com> Message-ID: <20231030101115.2214402-4-aperez@igalia.com> Update Sway to version 1.8.1, which brings a new release series to Buildroot and can be built with wlroots 0.16.x Signed-off-by: Adrian Perez de Castro --- package/sway/sway.hash | 2 +- package/sway/sway.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/sway/sway.hash b/package/sway/sway.hash index 6dfa71730f..86b6581f1c 100644 --- a/package/sway/sway.hash +++ b/package/sway/sway.hash @@ -1,3 +1,3 @@ # Locally computed, tarball verified with GPG signature -sha256 0c64536fb2883ec518e75cfb119f9300115fb49b084e3fde62b794fe2c6c8d84 sway-1.7.tar.gz +sha256 73f08fd2cf7948e8af900709efe44eae412ae11c5773960e25c9aa09f73bad41 sway-1.8.1.tar.gz sha256 bd35722bff46327f5eded1d211207277bbe043d2a22048b282c42ef801593b8b LICENSE diff --git a/package/sway/sway.mk b/package/sway/sway.mk index 802371c827..19f90b8b00 100644 --- a/package/sway/sway.mk +++ b/package/sway/sway.mk @@ -4,8 +4,8 @@ # ################################################################################ -SWAY_VERSION = 1.7 -SWAY_SITE = $(call github,swaywm,sway,v$(SWAY_VERSION)) +SWAY_VERSION = 1.8.1 +SWAY_SITE = https://github.com/swaywm/sway/releases/download/$(SWAY_VERSION) SWAY_LICENSE = MIT SWAY_LICENSE_FILES = LICENSE SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre cairo pango -- 2.42.0 From etienne.carriere at foss.st.com Mon Oct 30 09:30:01 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:30:01 +0100 Subject: [Buildroot] [PATCH 4/5] package/optee-examples: bump to version 4.0.0 In-Reply-To: <20231030093002.1047149-1-etienne.carriere@foss.st.com> References: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Message-ID: <20231030093002.1047149-4-etienne.carriere@foss.st.com> Bumps OP-TEE examples package version to OP-TEE release 4.0.0. Signed-off-by: Etienne Carriere --- package/optee-examples/optee-examples.hash | 4 ++-- package/optee-examples/optee-examples.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/optee-examples/optee-examples.hash b/package/optee-examples/optee-examples.hash index c61c434c60..71cd95605d 100644 --- a/package/optee-examples/optee-examples.hash +++ b/package/optee-examples/optee-examples.hash @@ -1,4 +1,4 @@ -# From https://github.com/linaro-swg/optee_examples/archive/3.21.0/optee-examples-3.21.0.tar.gz -sha256 9b965f829adc532b5228534d3b9b38ae1fc4f2ac55d73159a39d43e59749f3ed optee-examples-3.21.0.tar.gz +# From https://github.com/linaro-swg/optee_examples/archive/4.0.0/optee-examples-4.0.0.tar.gz +sha256 4e21455c889ffb93085eb76f76ce191e24f394b3fa8f1d2429cad38a36e4f6e5 optee-examples-4.0.0.tar.gz # Locally computed sha256 6f1ef8449cb82ae79d2155605f7985bdf0f08e7ab5007de9b4362e8bf28733b9 LICENSE diff --git a/package/optee-examples/optee-examples.mk b/package/optee-examples/optee-examples.mk index c182bab4cc..d620f0e36a 100644 --- a/package/optee-examples/optee-examples.mk +++ b/package/optee-examples/optee-examples.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_EXAMPLES_VERSION = 3.21.0 +OPTEE_EXAMPLES_VERSION = 4.0.0 OPTEE_EXAMPLES_SITE = $(call github,linaro-swg,optee_examples,$(OPTEE_EXAMPLES_VERSION)) OPTEE_EXAMPLES_LICENSE = BSD-2-Clause OPTEE_EXAMPLES_LICENSE_FILES = LICENSE -- 2.25.1 From peter at korsgaard.com Mon Oct 30 10:13:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:13:37 +0100 Subject: [Buildroot] [PATCH 1/1] package/pkg-kernel-module: add BR2_MAKE_HOST_DEPENDENCY In-Reply-To: <20231024153023.19173-1-sibobrenok@salutedevices.com> (Sergey Bobrenok via buildroot's message of "Tue, 24 Oct 2023 18:30:23 +0300") References: <20231024153023.19173-1-sibobrenok@salutedevices.com> Message-ID: <87o7gg5sfi.fsf@48ers.dk> >>>>> "Sergey" == Sergey Bobrenok via buildroot writes: > From: Alexey Romanov > Commit 0b9efc991f ("linux: use BR2_MAKE") switched LINUX_MAKE to > $(BR2_MAKE) to avoid build issue with kernel version >= 6.2 and GNU > Make version < 3.82. However, the same issue is actual for kernel > modules as well. > Using $(BR2_MAKE) should guarantee a consistent behavior between > kernel and kernel-modules builds. > Signed-off-by: Alexey Romanov > Signed-off-by: Sergey Bobrenok Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:16:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:16:15 +0100 Subject: [Buildroot] [PATCH 1/1] package/apache: security bump version to 2.4.58 In-Reply-To: <20231019165111.95933-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 19 Oct 2023 18:51:11 +0200") References: <20231019165111.95933-1-bernd@kuhls.net> Message-ID: <87jzr45sb4.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2023-31122, CVE-2023-43622 & CVE-2023-45802: > https://httpd.apache.org/security/vulnerabilities_24.html > Release notes: > https://lists.apache.org/thread/1qnr3jpk1mdnqc2c6foyjvg0ch636h1n > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:16:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:16:59 +0100 Subject: [Buildroot] [PATCH 1/1] package/wireshark: security bump to version 4.0.10 In-Reply-To: <20231022203348.55926-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 22 Oct 2023 22:33:48 +0200") References: <20231022203348.55926-1-fontaine.fabrice@gmail.com> Message-ID: <87fs1s5s9w.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://www.wireshark.org/news/20231004.html > https://www.wireshark.org/news/20231004a.html > Fix CVE-2023-5371: > https://www.wireshark.org/security/wnpa-sec-2023-27.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:18:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:18:05 +0100 Subject: [Buildroot] [PATCH 1/1] package/nghttp2: security bump to version 1.57.0 In-Reply-To: <20231022211721.88737-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 22 Oct 2023 23:17:21 +0200") References: <20231022211721.88737-1-fontaine.fabrice@gmail.com> Message-ID: <87bkcg5s82.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-44487: The HTTP/2 protocol allows a denial of service > (server resource consumption) because request cancellation can reset > many streams quickly, as exploited in the wild in August through October > 2023. > Fix CVE-2023-35945: nghttp2 fails to release memory when PUSH_PROMISE or > HEADERS frame cannot be sent, and nghttp2_on_stream_close_callback fails > with a fatal error. For example, if GOAWAY frame has been received, a > HEADERS frame that opens new stream cannot be sent. > https://github.com/nghttp2/nghttp2/security/advisories/GHSA-vx74-f528-fxqg > https://github.com/nghttp2/nghttp2/security/advisories/GHSA-6pcr-v3hg-752p > https://github.com/nghttp2/nghttp2/compare/v1.41.0...v1.57.0 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:18:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:18:27 +0100 Subject: [Buildroot] [PATCH 1/1] package/libtommath: add LIBTOMMATH_CPE_ID_VENDOR In-Reply-To: <20231022212355.92599-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 22 Oct 2023 23:23:55 +0200") References: <20231022212355.92599-1-fontaine.fabrice@gmail.com> Message-ID: <877cn45s7g.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:libtom:libtommath is a valid CPE identifier for this package: > https://nvd.nist.gov/products/cpe/detail/F0D99614-AA27-4713-ADD2-103647C8838B > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 10:16:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:16:46 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/wireshark: security bump to version 4.0.10 Message-ID: <20231030101903.0CF2D86168@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6ac17539d61fa19920b4545d204251f75ddb2597 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://www.wireshark.org/news/20231004.html https://www.wireshark.org/news/20231004a.html Fix CVE-2023-5371: https://www.wireshark.org/security/wnpa-sec-2023-27.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 7385c7f8b302db76a944240ee32d9afafa1db2f7) Signed-off-by: Peter Korsgaard --- package/wireshark/wireshark.hash | 6 +++--- package/wireshark/wireshark.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/wireshark/wireshark.hash b/package/wireshark/wireshark.hash index f044f99483..c9b693c9cb 100644 --- a/package/wireshark/wireshark.hash +++ b/package/wireshark/wireshark.hash @@ -1,6 +1,6 @@ -# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-4.0.8.txt -sha1 8ca1cc4471d0cb835cd5216833c393fa23bc154f wireshark-4.0.8.tar.xz -sha256 16663585c0ffefd5593a6628d4a20cc8241b9703b11283cfe71ead2b750888c8 wireshark-4.0.8.tar.xz +# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-4.0.10.txt +sha1 830ba7ff602da90323bbc5ec15941c0878d9ee4a wireshark-4.0.10.tar.xz +sha256 b2e3ff03fa2be9058a9ffbedd12b0a670433bd16c8cc6c432ab48dabc2df1898 wireshark-4.0.10.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index 500bdbb77a..2f563950b2 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRESHARK_VERSION = 4.0.8 +WIRESHARK_VERSION = 4.0.10 WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions WIRESHARK_LICENSE = wireshark license From peter at korsgaard.com Mon Oct 30 10:18:22 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:18:22 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/libtommath: add LIBTOMMATH_CPE_ID_VENDOR Message-ID: <20231030101903.231CE8616C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b2a0d00ef064600c1d9ee2544f972f26e6e3b5e8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x cpe:2.3:a:libtom:libtommath is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/F0D99614-AA27-4713-ADD2-103647C8838B Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 17ffb91551cc7c76427fd9675bc5e5a01d683afe) Signed-off-by: Peter Korsgaard --- package/libtommath/libtommath.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk index 25d4e836bb..7b5305faf6 100644 --- a/package/libtommath/libtommath.mk +++ b/package/libtommath/libtommath.mk @@ -9,6 +9,7 @@ LIBTOMMATH_SITE = https://github.com/libtom/libtommath/releases/download/v$(LIBT LIBTOMMATH_SOURCE = ltm-$(LIBTOMMATH_VERSION).tar.xz LIBTOMMATH_LICENSE = Unlicense LIBTOMMATH_LICENSE_FILES = LICENSE +LIBTOMMATH_CPE_ID_VENDOR = libtom LIBTOMMATH_INSTALL_STAGING = YES LIBTOMMATH_INSTALL_TARGET = NO # only static library From peter at korsgaard.com Mon Oct 30 10:17:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:17:24 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/nghttp2: security bump to version 1.57.0 Message-ID: <20231030101903.1875886169@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e6e88ccf8009447b5764e9cb023ac8fb3f0eec0b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-44487: The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023. Fix CVE-2023-35945: nghttp2 fails to release memory when PUSH_PROMISE or HEADERS frame cannot be sent, and nghttp2_on_stream_close_callback fails with a fatal error. For example, if GOAWAY frame has been received, a HEADERS frame that opens new stream cannot be sent. https://github.com/nghttp2/nghttp2/security/advisories/GHSA-vx74-f528-fxqg https://github.com/nghttp2/nghttp2/security/advisories/GHSA-6pcr-v3hg-752p https://github.com/nghttp2/nghttp2/compare/v1.41.0...v1.57.0 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 07c44afc8d297c5a2e13bd6303e07f48f18b5c8a) Signed-off-by: Peter Korsgaard --- package/nghttp2/nghttp2.hash | 2 +- package/nghttp2/nghttp2.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/nghttp2/nghttp2.hash b/package/nghttp2/nghttp2.hash index 3702a91b5e..18774d01d4 100644 --- a/package/nghttp2/nghttp2.hash +++ b/package/nghttp2/nghttp2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eacc6f0f8543583ecd659faf0a3f906ed03826f1d4157b536b4b385fe47c5bb8 nghttp2-1.41.0.tar.gz +sha256 9210b0113109f43be526ac5835d58a701411821a4d39e155c40d67c40f47a958 nghttp2-1.57.0.tar.xz sha256 6b94f3abc1aabd0c72a7c7d92a77f79dda7c8a0cb3df839a97890b4116a2de2a COPYING diff --git a/package/nghttp2/nghttp2.mk b/package/nghttp2/nghttp2.mk index 9190fa30d6..70a25d409c 100644 --- a/package/nghttp2/nghttp2.mk +++ b/package/nghttp2/nghttp2.mk @@ -4,7 +4,8 @@ # ################################################################################ -NGHTTP2_VERSION = 1.41.0 +NGHTTP2_VERSION = 1.57.0 +NGHTTP2_SOURCE = nghttp2-$(NGHTTP2_VERSION).tar.xz NGHTTP2_SITE = https://github.com/nghttp2/nghttp2/releases/download/v$(NGHTTP2_VERSION) NGHTTP2_LICENSE = MIT NGHTTP2_LICENSE_FILES = COPYING From peter at korsgaard.com Mon Oct 30 10:12:43 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:12:43 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/pkg-kernel-module: add BR2_MAKE_HOST_DEPENDENCY Message-ID: <20231030101902.EEB1B86167@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6489cb62b217044eecb598c173d86f5d9da58313 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Commit 0b9efc991f ("linux: use BR2_MAKE") switched LINUX_MAKE to $(BR2_MAKE) to avoid build issue with kernel version >= 6.2 and GNU Make version < 3.82. However, the same issue is actual for kernel modules as well. Using $(BR2_MAKE) should guarantee a consistent behavior between kernel and kernel-modules builds. Signed-off-by: Alexey Romanov Signed-off-by: Sergey Bobrenok [yann.morin.1998 at free.fr: minor coding style] Signed-off-by: Yann E. MORIN (cherry picked from commit 75fa573ef9336b57d1cfb86bfcaaed4872f64ac6) Signed-off-by: Peter Korsgaard --- package/pkg-kernel-module.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/pkg-kernel-module.mk b/package/pkg-kernel-module.mk index fcd6b8bc29..4f64a73f11 100644 --- a/package/pkg-kernel-module.mk +++ b/package/pkg-kernel-module.mk @@ -50,11 +50,13 @@ LINUX_NEEDS_MODULES = y endif # The kernel must be built first. -$(2)_DEPENDENCIES += linux +$(2)_DEPENDENCIES += \ + linux \ + $$(BR2_MAKE_HOST_DEPENDENCY) # This is only defined in some infrastructures (e.g. autotools, cmake), # but not in others (e.g. generic). So define it here as well. -$(2)_MAKE ?= $$(MAKE) +$(2)_MAKE ?= $$(BR2_MAKE) # If not specified, consider the source of the kernel module to be at # the root of the package. From peter at korsgaard.com Mon Oct 30 10:15:37 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:15:37 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/apache: security bump version to 2.4.58 Message-ID: <20231030101903.0356985FD1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=be9c7b92e4e77074e2de34c190ea901784a6ec2f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-31122, CVE-2023-43622 & CVE-2023-45802: https://httpd.apache.org/security/vulnerabilities_24.html Release notes: https://lists.apache.org/thread/1qnr3jpk1mdnqc2c6foyjvg0ch636h1n Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit d00881cad152040cc679c37124d636196ab7eb82) Signed-off-by: Peter Korsgaard --- package/apache/apache.hash | 6 +++--- package/apache/apache.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/apache/apache.hash b/package/apache/apache.hash index 1f0020f65a..854bc85dcc 100644 --- a/package/apache/apache.hash +++ b/package/apache/apache.hash @@ -1,5 +1,5 @@ -# From https://archive.apache.org/dist/httpd/httpd-2.4.57.tar.bz2.{sha256,sha512} -sha256 dbccb84aee95e095edfbb81e5eb926ccd24e6ada55dcd83caecb262e5cf94d2a httpd-2.4.57.tar.bz2 -sha512 4d1e0a274ee90bdfb5f38d4a7d73a7367ed1c6388e26280e640014e49abc0df03683705b88dcfe2ec2da313dda4c7b4a3b86daffa1911f58e224eba89d82d155 httpd-2.4.57.tar.bz2 +# From https://archive.apache.org/dist/httpd/httpd-2.4.58.tar.bz2.{sha256,sha512} +sha256 fa16d72a078210a54c47dd5bef2f8b9b8a01d94909a51453956b3ec6442ea4c5 httpd-2.4.58.tar.bz2 +sha512 d6e73bf413a507ec16b621ff635e178206207a9e9810ce3944b3dc98d39cde8f225307110167fc9da5822175796c8cb66f98be5b9f0d8b76dcd83a401d39b2c1 httpd-2.4.58.tar.bz2 # Locally computed sha256 47b8c2b6c3309282a99d4a3001575c790fead690cc14734628c4667d2bbffc43 LICENSE diff --git a/package/apache/apache.mk b/package/apache/apache.mk index 320a6ad20e..cac62134ed 100644 --- a/package/apache/apache.mk +++ b/package/apache/apache.mk @@ -4,7 +4,7 @@ # ################################################################################ -APACHE_VERSION = 2.4.57 +APACHE_VERSION = 2.4.58 APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2 APACHE_SITE = https://downloads.apache.org/httpd APACHE_LICENSE = Apache-2.0 From peter at korsgaard.com Mon Oct 30 10:16:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:16:42 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/wireshark: security bump to version 4.0.10 Message-ID: <20231030102016.D1B308617B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=8eb970bdf1c7ac2b83120528d006c8f7093d84e5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x https://www.wireshark.org/news/20231004.html https://www.wireshark.org/news/20231004a.html Fix CVE-2023-5371: https://www.wireshark.org/security/wnpa-sec-2023-27.html Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 7385c7f8b302db76a944240ee32d9afafa1db2f7) Signed-off-by: Peter Korsgaard --- package/wireshark/wireshark.hash | 6 +++--- package/wireshark/wireshark.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/wireshark/wireshark.hash b/package/wireshark/wireshark.hash index f044f99483..c9b693c9cb 100644 --- a/package/wireshark/wireshark.hash +++ b/package/wireshark/wireshark.hash @@ -1,6 +1,6 @@ -# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-4.0.8.txt -sha1 8ca1cc4471d0cb835cd5216833c393fa23bc154f wireshark-4.0.8.tar.xz -sha256 16663585c0ffefd5593a6628d4a20cc8241b9703b11283cfe71ead2b750888c8 wireshark-4.0.8.tar.xz +# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-4.0.10.txt +sha1 830ba7ff602da90323bbc5ec15941c0878d9ee4a wireshark-4.0.10.tar.xz +sha256 b2e3ff03fa2be9058a9ffbedd12b0a670433bd16c8cc6c432ab48dabc2df1898 wireshark-4.0.10.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index 500bdbb77a..2f563950b2 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -4,7 +4,7 @@ # ################################################################################ -WIRESHARK_VERSION = 4.0.8 +WIRESHARK_VERSION = 4.0.10 WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions WIRESHARK_LICENSE = wireshark license From peter at korsgaard.com Mon Oct 30 10:15:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:15:58 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/apache: security bump version to 2.4.58 Message-ID: <20231030102016.C73CE86176@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d9ac35d9a442f3516fd3e40817872b5f8b089e3 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-31122, CVE-2023-43622 & CVE-2023-45802: https://httpd.apache.org/security/vulnerabilities_24.html Release notes: https://lists.apache.org/thread/1qnr3jpk1mdnqc2c6foyjvg0ch636h1n Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard (cherry picked from commit d00881cad152040cc679c37124d636196ab7eb82) Signed-off-by: Peter Korsgaard --- package/apache/apache.hash | 6 +++--- package/apache/apache.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/apache/apache.hash b/package/apache/apache.hash index 1f0020f65a..854bc85dcc 100644 --- a/package/apache/apache.hash +++ b/package/apache/apache.hash @@ -1,5 +1,5 @@ -# From https://archive.apache.org/dist/httpd/httpd-2.4.57.tar.bz2.{sha256,sha512} -sha256 dbccb84aee95e095edfbb81e5eb926ccd24e6ada55dcd83caecb262e5cf94d2a httpd-2.4.57.tar.bz2 -sha512 4d1e0a274ee90bdfb5f38d4a7d73a7367ed1c6388e26280e640014e49abc0df03683705b88dcfe2ec2da313dda4c7b4a3b86daffa1911f58e224eba89d82d155 httpd-2.4.57.tar.bz2 +# From https://archive.apache.org/dist/httpd/httpd-2.4.58.tar.bz2.{sha256,sha512} +sha256 fa16d72a078210a54c47dd5bef2f8b9b8a01d94909a51453956b3ec6442ea4c5 httpd-2.4.58.tar.bz2 +sha512 d6e73bf413a507ec16b621ff635e178206207a9e9810ce3944b3dc98d39cde8f225307110167fc9da5822175796c8cb66f98be5b9f0d8b76dcd83a401d39b2c1 httpd-2.4.58.tar.bz2 # Locally computed sha256 47b8c2b6c3309282a99d4a3001575c790fead690cc14734628c4667d2bbffc43 LICENSE diff --git a/package/apache/apache.mk b/package/apache/apache.mk index 320a6ad20e..cac62134ed 100644 --- a/package/apache/apache.mk +++ b/package/apache/apache.mk @@ -4,7 +4,7 @@ # ################################################################################ -APACHE_VERSION = 2.4.57 +APACHE_VERSION = 2.4.58 APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2 APACHE_SITE = https://downloads.apache.org/httpd APACHE_LICENSE = Apache-2.0 From peter at korsgaard.com Mon Oct 30 10:18:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:18:16 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/libtommath: add LIBTOMMATH_CPE_ID_VENDOR Message-ID: <20231030102016.E72228617D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=b4989f431c5dc3b01cc6937d5b7f5952c00e16de branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x cpe:2.3:a:libtom:libtommath is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/F0D99614-AA27-4713-ADD2-103647C8838B Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 17ffb91551cc7c76427fd9675bc5e5a01d683afe) Signed-off-by: Peter Korsgaard --- package/libtommath/libtommath.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk index 25d4e836bb..7b5305faf6 100644 --- a/package/libtommath/libtommath.mk +++ b/package/libtommath/libtommath.mk @@ -9,6 +9,7 @@ LIBTOMMATH_SITE = https://github.com/libtom/libtommath/releases/download/v$(LIBT LIBTOMMATH_SOURCE = ltm-$(LIBTOMMATH_VERSION).tar.xz LIBTOMMATH_LICENSE = Unlicense LIBTOMMATH_LICENSE_FILES = LICENSE +LIBTOMMATH_CPE_ID_VENDOR = libtom LIBTOMMATH_INSTALL_STAGING = YES LIBTOMMATH_INSTALL_TARGET = NO # only static library From peter at korsgaard.com Mon Oct 30 10:17:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 11:17:32 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/nghttp2: security bump to version 1.57.0 Message-ID: <20231030102016.DA9FB8617C@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c2770f7cc3953aac1484af8895f2febd9d074cf7 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix CVE-2023-44487: The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023. Fix CVE-2023-35945: nghttp2 fails to release memory when PUSH_PROMISE or HEADERS frame cannot be sent, and nghttp2_on_stream_close_callback fails with a fatal error. For example, if GOAWAY frame has been received, a HEADERS frame that opens new stream cannot be sent. https://github.com/nghttp2/nghttp2/security/advisories/GHSA-vx74-f528-fxqg https://github.com/nghttp2/nghttp2/security/advisories/GHSA-6pcr-v3hg-752p https://github.com/nghttp2/nghttp2/compare/v1.41.0...v1.57.0 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 07c44afc8d297c5a2e13bd6303e07f48f18b5c8a) Signed-off-by: Peter Korsgaard --- package/nghttp2/nghttp2.hash | 2 +- package/nghttp2/nghttp2.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/nghttp2/nghttp2.hash b/package/nghttp2/nghttp2.hash index 3702a91b5e..18774d01d4 100644 --- a/package/nghttp2/nghttp2.hash +++ b/package/nghttp2/nghttp2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 eacc6f0f8543583ecd659faf0a3f906ed03826f1d4157b536b4b385fe47c5bb8 nghttp2-1.41.0.tar.gz +sha256 9210b0113109f43be526ac5835d58a701411821a4d39e155c40d67c40f47a958 nghttp2-1.57.0.tar.xz sha256 6b94f3abc1aabd0c72a7c7d92a77f79dda7c8a0cb3df839a97890b4116a2de2a COPYING diff --git a/package/nghttp2/nghttp2.mk b/package/nghttp2/nghttp2.mk index 9190fa30d6..70a25d409c 100644 --- a/package/nghttp2/nghttp2.mk +++ b/package/nghttp2/nghttp2.mk @@ -4,7 +4,8 @@ # ################################################################################ -NGHTTP2_VERSION = 1.41.0 +NGHTTP2_VERSION = 1.57.0 +NGHTTP2_SOURCE = nghttp2-$(NGHTTP2_VERSION).tar.xz NGHTTP2_SITE = https://github.com/nghttp2/nghttp2/releases/download/v$(NGHTTP2_VERSION) NGHTTP2_LICENSE = MIT NGHTTP2_LICENSE_FILES = COPYING From etienne.carriere at foss.st.com Mon Oct 30 09:30:00 2023 From: etienne.carriere at foss.st.com (Etienne Carriere) Date: Mon, 30 Oct 2023 10:30:00 +0100 Subject: [Buildroot] [PATCH 3/5] package/optee-test: bump to version 4.0.0 In-Reply-To: <20231030093002.1047149-1-etienne.carriere@foss.st.com> References: <20231030093002.1047149-1-etienne.carriere@foss.st.com> Message-ID: <20231030093002.1047149-3-etienne.carriere@foss.st.com> Bumps OP-TEE test package version to OP-TEE release 4.0.0. Removes the local patch on OpenSSL support that has been integrated into mainline repository before release tag 4.0.0. Signed-off-by: Etienne Carriere --- ...-xtest-add-DOPENSSL_API_COMPAT-10100.patch | 57 ------------------- package/optee-test/optee-test.hash | 4 +- package/optee-test/optee-test.mk | 2 +- 3 files changed, 3 insertions(+), 60 deletions(-) delete mode 100644 package/optee-test/0001-xtest-add-DOPENSSL_API_COMPAT-10100.patch diff --git a/package/optee-test/0001-xtest-add-DOPENSSL_API_COMPAT-10100.patch b/package/optee-test/0001-xtest-add-DOPENSSL_API_COMPAT-10100.patch deleted file mode 100644 index b876c3385f..0000000000 --- a/package/optee-test/0001-xtest-add-DOPENSSL_API_COMPAT-10100.patch +++ /dev/null @@ -1,57 +0,0 @@ -From a0db2b60b9f5c14e9f69c0e06e1a8d35f9fb1b5a Mon Sep 17 00:00:00 2001 -From: Jerome Forissier -Date: Tue, 25 Jul 2023 14:39:25 +0200 -Subject: [PATCH] xtest: add -DOPENSSL_API_COMPAT=10100 - -regression_1000.c uses OpenSSL functions that have been deprecated -after version 1.1. In particular, building with version 3.0 causes the -following error (and other similar ones not pasted here): - - optee_test/host/xtest/regression_1000.c: In function 'check_signature': - optee_test/host/xtest/regression_1000.c:2735:9: error: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] - 2735 | SHA256_Init(&ctx); - | ^~~~~~~~~~~ - -Add -DOPENSSL_API_COMPAT=10100 to the build flags to avoid this and be -flexible with regards to which version of OpenSSL build environment has -to provide. - -Signed-off-by: Jerome Forissier -Acked-by: Jens Wiklander -(cherry picked from commit cf111604c4c32a76be90f29aab25fa9b882c8715) -Upstream: https://github.com/OP-TEE/optee_test/commit/cf111604c4c32a76be90f29aab25fa9b882c8715 -Signed-off-by: Romain Naour ---- - host/xtest/CMakeLists.txt | 2 +- - host/xtest/Makefile | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/host/xtest/CMakeLists.txt b/host/xtest/CMakeLists.txt -index 776787b..ae0f4e0 100644 ---- a/host/xtest/CMakeLists.txt -+++ b/host/xtest/CMakeLists.txt -@@ -12,7 +12,7 @@ endif() - - find_package(OpenSSL) - if(OPENSSL_FOUND) -- add_compile_options(-DOPENSSL_FOUND=1) -+ add_compile_options(-DOPENSSL_FOUND=1 -DOPENSSL_API_COMPAT=10100) - set (OPENSSL_PRIVATE_LINK OpenSSL::Crypto) - endif() - -diff --git a/host/xtest/Makefile b/host/xtest/Makefile -index 8505629..2497850 100644 ---- a/host/xtest/Makefile -+++ b/host/xtest/Makefile -@@ -39,7 +39,7 @@ endef - # - User/group login tests 1027 and 1028 - WITH_OPENSSL ?= y - ifeq ($(WITH_OPENSSL),y) --CFLAGS += -DOPENSSL_FOUND=1 -+CFLAGS += -DOPENSSL_FOUND=1 -DOPENSSL_API_COMPAT=10100 - ifneq ($(OPTEE_OPENSSL_EXPORT),) - LDFLAGS += -lcrypto - CFLAGS += -I$(OPTEE_OPENSSL_EXPORT) --- -2.41.0 - diff --git a/package/optee-test/optee-test.hash b/package/optee-test/optee-test.hash index 08b3331374..9744ab6d92 100644 --- a/package/optee-test/optee-test.hash +++ b/package/optee-test/optee-test.hash @@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_test/archive/3.21.0/optee-test-3.21.0.tar.gz -sha256 44c7dc3df48e9d73f12bbbef1cc2a4e22d859ab8a5e67a07923267f924175d65 optee-test-3.21.0.tar.gz +# From https://github.com/OP-TEE/optee_test/archive/4.0.0/optee-test-4.0.0.tar.gz +sha256 dc37b90c98db54068e61b31e20378878e2cfdf3c71f90c8a635786164651c62f optee-test-4.0.0.tar.gz # Locally computed sha256 6e6810981f0ddab9e0d44399d0700a15d9f760a3c2843cc866659c2074139ae7 LICENSE.md diff --git a/package/optee-test/optee-test.mk b/package/optee-test/optee-test.mk index d306ef8269..44d3015ae1 100644 --- a/package/optee-test/optee-test.mk +++ b/package/optee-test/optee-test.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPTEE_TEST_VERSION = 3.21.0 +OPTEE_TEST_VERSION = 4.0.0 OPTEE_TEST_SITE = $(call github,OP-TEE,optee_test,$(OPTEE_TEST_VERSION)) OPTEE_TEST_LICENSE = GPL-2.0, BSD-2-Clause, OPTEE_TEST_LICENSE_FILES = LICENSE.md -- 2.25.1 From marcus.folkesson at gmail.com Mon Oct 30 10:39:31 2023 From: marcus.folkesson at gmail.com (Marcus Folkesson) Date: Mon, 30 Oct 2023 11:39:31 +0100 Subject: [Buildroot] [PATCH v5] package/criu: new package Message-ID: <20231030103931.2684786-1-marcus.folkesson@gmail.com> Checkpoint/Restore In Userspace (CRIU), is a software tool for the Linux operating system to make it possible to freeze a running application and checkpoint it to persistent storage as a collection of files. Signed-off-by: Marcus Folkesson --- Notes: v2: - Addressed comments from Thomas. - Tested on ARM target and on x86_64 with qemu. v3: - set CONFIG_CHECKPOINT_RESTORE in kernel config - Only be available for ARMv6, ARMv7 and ARMv8 v4: - set SUBARCH for armv6, armv7 and armv8 - Use github download helper Result from test-pkg: bootlin-armv5-uclibc [1/6]: SKIPPED bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: SKIPPED sourcery-arm [6/6]: SKIPPED 6 builds, 4 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed v5: - Remove support for s390 arch - Depend on BR2_HOST_GCC_AT_LEAST_8 - Depend on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 - Depend on !BR2_TOOLCHAIN_USES_UCLIBC - Use BR2_NORMALIZED_ARCH instead of BR2_ARCH DEVELOPERS | 1 + package/Config.in | 1 + package/criu/Config.in | 55 ++++++++++++++++++++++++++++++++ package/criu/criu.hash | 3 ++ package/criu/criu.mk | 71 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 131 insertions(+) create mode 100644 package/criu/Config.in create mode 100644 package/criu/criu.hash create mode 100644 package/criu/criu.mk diff --git a/DEVELOPERS b/DEVELOPERS index 57015e245e..2047827bd9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2007,6 +2007,7 @@ F: support/testing/tests/package/test_python_pytest.py F: support/testing/tests/package/test_python_pytest_asyncio.py N: Marcus Folkesson +F: package/criu/ F: package/libcamera/ F: package/libcamera-apps/ F: package/libostree/ diff --git a/package/Config.in b/package/Config.in index 4e489c4706..9e2099f6a5 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2678,6 +2678,7 @@ menu "System tools" source "package/coreutils/Config.in" source "package/cpulimit/Config.in" source "package/cpuload/Config.in" + source "package/criu/Config.in" source "package/crun/Config.in" source "package/daemon/Config.in" source "package/dc3dd/Config.in" diff --git a/package/criu/Config.in b/package/criu/Config.in new file mode 100644 index 0000000000..7963e6e8df --- /dev/null +++ b/package/criu/Config.in @@ -0,0 +1,55 @@ +# criu only builds on certain architectures +config BR2_PACKAGE_CRIU_ARCH_SUPPORTS + bool + default y if BR2_ARM_CPU_ARMV6 + default y if BR2_ARM_CPU_ARMV7A + default y if BR2_ARM_CPU_ARMV7M + default y if BR2_ARM_CPU_ARMV8A + default y if BR2_ARM_CPU_ARMV8M + default y if BR2_aarch64 + default y if BR2_i386 + default y if BR2_mips + default y if BR2_x86_64 + default y if BR2_BR2_powerpc64le #Only support powerpc64 with LE + #default y if BR2_s390x + #CRIU has "some" support for s390 but it is not included due to + #BE/LE endian issues. + +menuconfig BR2_PACKAGE_CRIU + bool "criu" + depends on BR2_HOST_GCC_AT_LEAST_8 # -march=armv7-a+fp + depends on BR2_PACKAGE_CRIU_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_PYTHON3 # host-python3-ssl + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS + depends on BR2_INSTALL_LIBSTDCPP # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, libnl + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 # rseq.h + depends on !BR2_TOOLCHAIN_USES_UCLIBC # no aio.h + depends on !BR2_STATIC_LIBS # protobuf, libbsd + depends on BR2_USE_WCHAR # libbsd + depends on BR2_USE_MMU # libcap + select BR2_PACKAGE_HOST_PYTHON3_SSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_PROTOBUF_C + select BR2_PACKAGE_LIBAIO + select BR2_PACKAGE_LIBBSD + select BR2_PACKAGE_LIBCAP + select BR2_PACKAGE_LIBNET + select BR2_PACKAGE_LIBNL + select BR2_PACKAGE_PYTHON3 + help + Checkpoint/Restore In Userspace (CRIU), is a software + tool for the Linux operating system to make it possible + to freeze a running application and checkpoint it to + persistent storage as a collection of files. + + https://criu.org/Main_Page + +comment "criu needs a toolchain w/ threads, dynamic library, wchar" + depends on !BR2_HOST_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 \ + || BR2_TOOLCHAIN_USES_UCLIBC \ + || BR2_STATIC_LIBS || !BR2_USE_WCHAR diff --git a/package/criu/criu.hash b/package/criu/criu.hash new file mode 100644 index 0000000000..2c4a07252b --- /dev/null +++ b/package/criu/criu.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 6a9997981c9fe4730c848ce59346b3a22fad69b803607cb67a3f6ec0557fa474 criu-3.18.tar.gz +sha256 568a1fa9d90e18a1a1a61ea58ec2eece16b56a5042cc72c1b4f8d4455ae6fcb7 COPYING diff --git a/package/criu/criu.mk b/package/criu/criu.mk new file mode 100644 index 0000000000..9814e4a0de --- /dev/null +++ b/package/criu/criu.mk @@ -0,0 +1,71 @@ +################################################################################ +# +# CRIU +# +################################################################################ + +CRIU_VERSION = 3.18 +CRIU_SITE = $(call github,checkpoint-restore,criu,v$(CRIU_VERSION)) + +CRIU_LICENSE = GPL-2.0 +CRIU_LICENSE_FILES = COPYING +CRIU_DEPENDENCIES =\ + host-pkgconf \ + host-protobuf-c \ + host-python3 \ + host-python-pip \ + libaio \ + libbsd \ + libcap \ + libnet \ + libnl \ + protobuf \ + protobuf-c \ + python3 + +CRIU_MAKE_ENV =\ + $(TARGET_MAKE_ENV) \ + $(TARGET_CONFIGURE_OPTS) \ + CROSS_COMPILE=$(TARGET_CROSS) \ + WERROR=0 + +#Remap to match the used in criu. +ifeq ($(BR2_NORMALIZED_ARCH),"x86_64") +CRIU_MAKE_ENV += ARCH=x86 +else ifeq ($(BR2_NORMALIZED_ARCH),"powerpc") +CRIU_MAKE_ENV += ARCH=ppc64 +else ifeq ($(BR2_NORMALIZED_ARCH),"arm64") +CRIU_MAKE_ENV += ARCH=aarch64 +else +CRIU_MAKE_ENV += ARCH=$(BR2_NORMALIZED_ARCH) +endif + +ifeq ($(BR2_ARM_CPU_ARMV6), y) +CRIU_MAKE_ENV += SUBARCH=armv6 +else ifeq ($(BR2_ARM_CPU_ARMV7A), y) +CRIU_MAKE_ENV += SUBARCH=armv7 +else ifeq ($(BR2_ARM_CPU_ARMV7M), y) +CRIU_MAKE_ENV += SUBARCH=armv7 +else ifeq ($(BR2_ARM_CPU_ARMV8A), y) +CRIU_MAKE_ENV += SUBARCH=armv8 +else ifeq ($(BR2_ARM_CPU_ARMV8M), y) +CRIU_MAKE_ENV += SUBARCH=armv8 +endif + +# Criu needs Kernel Checkpoint/restore support which is not enabled +# by default. +define CRIU_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CHECKPOINT_RESTORE) +endef + +define CRIU_BUILD_CMDS + rm -rf $(@D)/images/google/protobuf/descriptor.proto + ln -s $(STAGING_DIR)/usr/include/google/protobuf/descriptor.proto $(@D)/images/google/protobuf/descriptor.proto + $(CRIU_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define CRIU_INSTALL_TARGET_CMDS + $(CRIU_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install-criu install-lib install-compel +endef + +$(eval $(generic-package)) -- 2.42.0 From yegorslists at googlemail.com Mon Oct 30 12:30:30 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Mon, 30 Oct 2023 13:30:30 +0100 Subject: [Buildroot] [PATCH v4 3/4] package/python-msgpack: add host cython dependency In-Reply-To: <20231029234003.2606006-3-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> <20231029234003.2606006-3-james.hilliard1@gmail.com> Message-ID: On Mon, Oct 30, 2023 at 12:40?AM James Hilliard wrote: > > We need host-python-cython for python-msgpack to build correctly. > This is a hard error when using a pep517 frontend. > > Fixes: > * Getting build dependencies for wheel... > running egg_info > writing msgpack.egg-info/PKG-INFO > writing dependency_links to msgpack.egg-info/dependency_links.txt > writing top-level names to msgpack.egg-info/top_level.txt > reading manifest file 'msgpack.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no files found matching '*.c' under directory 'msgpack' > adding license file 'COPYING' > writing manifest file 'msgpack.egg-info/SOURCES.txt' > > ERROR Missing dependencies: > Cython~=0.29.30 > > Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov > --- > package/python-msgpack/python-msgpack.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/python-msgpack/python-msgpack.mk b/package/python-msgpack/python-msgpack.mk > index 785fec9f00..c0b76e55ab 100644 > --- a/package/python-msgpack/python-msgpack.mk > +++ b/package/python-msgpack/python-msgpack.mk > @@ -10,5 +10,6 @@ PYTHON_MSGPACK_SITE = https://files.pythonhosted.org/packages/dc/a1/eba11a0d4b76 > PYTHON_MSGPACK_LICENSE = Apache-2.0 > PYTHON_MSGPACK_LICENSE_FILES = COPYING > PYTHON_MSGPACK_SETUP_TYPE = setuptools > +PYTHON_MSGPACK_DEPENDENCIES = host-python-cython > > $(eval $(python-package)) > -- > 2.34.1 > From peter at korsgaard.com Mon Oct 30 12:41:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:41:14 +0100 Subject: [Buildroot] [PATCH 1/1] package/minizip-zlib: fix CVE-2023-45853 In-Reply-To: <20231022213226.101602-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 22 Oct 2023 23:32:26 +0200") References: <20231022213226.101602-1-fontaine.fabrice@gmail.com> Message-ID: <8734xs5llh.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > MiniZip in zlib through 1.3 has an integer overflow and resultant > heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long > filename, comment, or extra field. NOTE: MiniZip is not a supported part > of the zlib product. > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 12:41:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:41:44 +0100 Subject: [Buildroot] [PATCH] package/mxsldr: add .hash file In-Reply-To: <20231025193017.1051787-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 25 Oct 2023 21:30:17 +0200") References: <20231025193017.1051787-1-peter@korsgaard.com> Message-ID: <87y1fk4707.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > The host-mxsldr package was missing a hash file, add it now. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 12:15:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:15:14 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/minizip-zlib: bump to version 1.3 Message-ID: <20231030124156.0167186186@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=1f684243a8991c7f458e66ad9eac3b9afac54ead branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x https://github.com/madler/zlib/commits/v1.3/contrib/minizip Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c6bf26cfb2ab61675cbab146c43c21511d0d5c29) Signed-off-by: Peter Korsgaard --- package/minizip-zlib/minizip-zlib.hash | 2 +- package/minizip-zlib/minizip-zlib.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip-zlib/minizip-zlib.hash b/package/minizip-zlib/minizip-zlib.hash index df5e8d723a..23bfda8474 100644 --- a/package/minizip-zlib/minizip-zlib.hash +++ b/package/minizip-zlib/minizip-zlib.hash @@ -1,4 +1,4 @@ # From http://www.zlib.net/ -sha256 d14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98 zlib-1.2.13.tar.xz +sha256 8a9ba2898e1d0d774eca6ba5b4627a11e5588ba85c8851336eb38de4683050a7 zlib-1.3.tar.xz # License files, locally calculated sha256 845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243 LICENSE diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk index 4367a2420f..259570f75c 100644 --- a/package/minizip-zlib/minizip-zlib.mk +++ b/package/minizip-zlib/minizip-zlib.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_ZLIB_VERSION = 1.2.13 +MINIZIP_ZLIB_VERSION = 1.3 MINIZIP_ZLIB_SOURCE = zlib-$(MINIZIP_ZLIB_VERSION).tar.xz MINIZIP_ZLIB_SITE = http://www.zlib.net MINIZIP_ZLIB_LICENSE = Zlib From peter at korsgaard.com Mon Oct 30 12:41:32 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:41:32 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/mxsldr: add .hash file Message-ID: <20231030124156.1555286189@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=2d7e2c32d06a8644658cb1465c0e1b1b8a3a6c48 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The host-mxsldr package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit fefcfddc5e6a265c66adbdff615558f99133f148) Signed-off-by: Peter Korsgaard --- package/mxsldr/mxsldr.hash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/mxsldr/mxsldr.hash b/package/mxsldr/mxsldr.hash new file mode 100644 index 0000000000..c2a7b4ad64 --- /dev/null +++ b/package/mxsldr/mxsldr.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 8ef7b7abb8d17c879e70b2c3911df8c5ce97f38779fa65d40be7f34febba55e1 mxsldr-2793a657ab7a22487d21c1b020957806f8ae8383-br1.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING From peter at korsgaard.com Mon Oct 30 12:15:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:15:20 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/minizip-zlib: fix CVE-2023-45853 Message-ID: <20231030124156.0BC2E86187@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e4ee3423836b8e977005d022ea5b664e4669dfed branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long filename, comment, or extra field. NOTE: MiniZip is not a supported part of the zlib product. Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit de7bc4ada2ab5ef2e4094934acd5271c0aca19a1) Signed-off-by: Peter Korsgaard --- ...overflows-of-zip-header-fields-in-minizip.patch | 39 ++++++++++++++++++++++ package/minizip-zlib/minizip-zlib.mk | 2 ++ 2 files changed, 41 insertions(+) diff --git a/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch b/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch new file mode 100644 index 0000000000..f4eacc7fdc --- /dev/null +++ b/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch @@ -0,0 +1,39 @@ +From 73331a6a0481067628f065ffe87bb1d8f787d10c Mon Sep 17 00:00:00 2001 +From: Hans Wennborg +Date: Fri, 18 Aug 2023 11:05:33 +0200 +Subject: [PATCH] Reject overflows of zip header fields in minizip. + +This checks the lengths of the file name, extra field, and comment +that would be put in the zip headers, and rejects them if they are +too long. They are each limited to 65535 bytes in length by the zip +format. This also avoids possible buffer overflows if the provided +fields are too long. + +Upstream: https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c +Signed-off-by: Fabrice Fontaine +--- + contrib/minizip/zip.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c +index 3d3d4cadd..0446109b2 100644 +--- a/contrib/minizip/zip.c ++++ b/contrib/minizip/zip.c +@@ -1043,6 +1043,17 @@ extern int ZEXPORT zipOpenNewFileInZip4_64(zipFile file, const char* filename, c + return ZIP_PARAMERROR; + #endif + ++ // The filename and comment length must fit in 16 bits. ++ if ((filename!=NULL) && (strlen(filename)>0xffff)) ++ return ZIP_PARAMERROR; ++ if ((comment!=NULL) && (strlen(comment)>0xffff)) ++ return ZIP_PARAMERROR; ++ // The extra field length must fit in 16 bits. If the member also requires ++ // a Zip64 extra block, that will also need to fit within that 16-bit ++ // length, but that will be checked for later. ++ if ((size_extrafield_local>0xffff) || (size_extrafield_global>0xffff)) ++ return ZIP_PARAMERROR; ++ + zi = (zip64_internal*)file; + + if (zi->in_opened_file_inzip == 1) diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk index 259570f75c..81fee3c687 100644 --- a/package/minizip-zlib/minizip-zlib.mk +++ b/package/minizip-zlib/minizip-zlib.mk @@ -16,5 +16,7 @@ MINIZIP_ZLIB_AUTORECONF = YES MINIZIP_ZLIB_DEPENDENCIES = zlib # demos must be disabled to avoid a conflict with BR2_PACKAGE_MINIZIP_DEMOS MINIZIP_ZLIB_CONF_OPTS = --disable-demos +# 0001-Reject-overflows-of-zip-header-fields-in-minizip.patch +MINIZIP_ZLIB_IGNORE_CVES += CVE-2023-45853 $(eval $(autotools-package)) From peter at korsgaard.com Mon Oct 30 12:41:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:41:27 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/mxsldr: add .hash file Message-ID: <20231030124259.D153D86166@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d8bd44d455f8ec6b1575fb72eb8f3da8a34e9323 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The host-mxsldr package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit fefcfddc5e6a265c66adbdff615558f99133f148) Signed-off-by: Peter Korsgaard --- package/mxsldr/mxsldr.hash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/mxsldr/mxsldr.hash b/package/mxsldr/mxsldr.hash new file mode 100644 index 0000000000..c2a7b4ad64 --- /dev/null +++ b/package/mxsldr/mxsldr.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 8ef7b7abb8d17c879e70b2c3911df8c5ce97f38779fa65d40be7f34febba55e1 mxsldr-2793a657ab7a22487d21c1b020957806f8ae8383-br1.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING From peter at korsgaard.com Mon Oct 30 12:40:31 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:40:31 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/minizip-zlib: fix CVE-2023-45853 Message-ID: <20231030124259.BD4B486191@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4616a30c63a444e9502e67d1fe325f4cf30833e0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long filename, comment, or extra field. NOTE: MiniZip is not a supported part of the zlib product. Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit de7bc4ada2ab5ef2e4094934acd5271c0aca19a1) Signed-off-by: Peter Korsgaard --- ...overflows-of-zip-header-fields-in-minizip.patch | 39 ++++++++++++++++++++++ package/minizip-zlib/minizip-zlib.mk | 2 ++ 2 files changed, 41 insertions(+) diff --git a/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch b/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch new file mode 100644 index 0000000000..f4eacc7fdc --- /dev/null +++ b/package/minizip-zlib/0001-Reject-overflows-of-zip-header-fields-in-minizip.patch @@ -0,0 +1,39 @@ +From 73331a6a0481067628f065ffe87bb1d8f787d10c Mon Sep 17 00:00:00 2001 +From: Hans Wennborg +Date: Fri, 18 Aug 2023 11:05:33 +0200 +Subject: [PATCH] Reject overflows of zip header fields in minizip. + +This checks the lengths of the file name, extra field, and comment +that would be put in the zip headers, and rejects them if they are +too long. They are each limited to 65535 bytes in length by the zip +format. This also avoids possible buffer overflows if the provided +fields are too long. + +Upstream: https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c +Signed-off-by: Fabrice Fontaine +--- + contrib/minizip/zip.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c +index 3d3d4cadd..0446109b2 100644 +--- a/contrib/minizip/zip.c ++++ b/contrib/minizip/zip.c +@@ -1043,6 +1043,17 @@ extern int ZEXPORT zipOpenNewFileInZip4_64(zipFile file, const char* filename, c + return ZIP_PARAMERROR; + #endif + ++ // The filename and comment length must fit in 16 bits. ++ if ((filename!=NULL) && (strlen(filename)>0xffff)) ++ return ZIP_PARAMERROR; ++ if ((comment!=NULL) && (strlen(comment)>0xffff)) ++ return ZIP_PARAMERROR; ++ // The extra field length must fit in 16 bits. If the member also requires ++ // a Zip64 extra block, that will also need to fit within that 16-bit ++ // length, but that will be checked for later. ++ if ((size_extrafield_local>0xffff) || (size_extrafield_global>0xffff)) ++ return ZIP_PARAMERROR; ++ + zi = (zip64_internal*)file; + + if (zi->in_opened_file_inzip == 1) diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk index 259570f75c..81fee3c687 100644 --- a/package/minizip-zlib/minizip-zlib.mk +++ b/package/minizip-zlib/minizip-zlib.mk @@ -16,5 +16,7 @@ MINIZIP_ZLIB_AUTORECONF = YES MINIZIP_ZLIB_DEPENDENCIES = zlib # demos must be disabled to avoid a conflict with BR2_PACKAGE_MINIZIP_DEMOS MINIZIP_ZLIB_CONF_OPTS = --disable-demos +# 0001-Reject-overflows-of-zip-header-fields-in-minizip.patch +MINIZIP_ZLIB_IGNORE_CVES += CVE-2023-45853 $(eval $(autotools-package)) From peter at korsgaard.com Mon Oct 30 12:40:27 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 13:40:27 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/minizip-zlib: bump to version 1.3 Message-ID: <20231030124259.B3CAF86190@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=30472d98b8766d626759a7aa52d76c4f9a0164c5 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://github.com/madler/zlib/commits/v1.3/contrib/minizip Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit c6bf26cfb2ab61675cbab146c43c21511d0d5c29) Signed-off-by: Peter Korsgaard --- package/minizip-zlib/minizip-zlib.hash | 2 +- package/minizip-zlib/minizip-zlib.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/minizip-zlib/minizip-zlib.hash b/package/minizip-zlib/minizip-zlib.hash index df5e8d723a..23bfda8474 100644 --- a/package/minizip-zlib/minizip-zlib.hash +++ b/package/minizip-zlib/minizip-zlib.hash @@ -1,4 +1,4 @@ # From http://www.zlib.net/ -sha256 d14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98 zlib-1.2.13.tar.xz +sha256 8a9ba2898e1d0d774eca6ba5b4627a11e5588ba85c8851336eb38de4683050a7 zlib-1.3.tar.xz # License files, locally calculated sha256 845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243 LICENSE diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk index 4367a2420f..259570f75c 100644 --- a/package/minizip-zlib/minizip-zlib.mk +++ b/package/minizip-zlib/minizip-zlib.mk @@ -4,7 +4,7 @@ # ################################################################################ -MINIZIP_ZLIB_VERSION = 1.2.13 +MINIZIP_ZLIB_VERSION = 1.3 MINIZIP_ZLIB_SOURCE = zlib-$(MINIZIP_ZLIB_VERSION).tar.xz MINIZIP_ZLIB_SITE = http://www.zlib.net MINIZIP_ZLIB_LICENSE = Zlib From peter at korsgaard.com Mon Oct 30 13:04:59 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:04:59 +0100 Subject: [Buildroot] [PATCH 1/1] package/dhcpcd: bump to version 10.0.4 In-Reply-To: <20231019210117.417632-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 19 Oct 2023 23:01:17 +0200") References: <20231019210117.417632-1-fontaine.fabrice@gmail.com> Message-ID: <87sf5s45xg.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.2 > https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.3 > https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.4 > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 13:06:05 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:06:05 +0100 Subject: [Buildroot] [PATCH 1/1] package/paho-mqtt-c: bump to version 1.3.13 In-Reply-To: <20231019210701.423113-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 19 Oct 2023 23:07:01 +0200") References: <20231019210701.423113-1-fontaine.fabrice@gmail.com> Message-ID: <87o7gg45vm.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.13 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 13:07:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:07:40 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/riscv64-elf-toolchain: add .hash file Message-ID: <20231030130755.B04DE86197@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=68d7581cb318c3ab30521334326707284a4743bc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x The host-riscv64-elf-toolchain package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit cf2dcaa1ecede670a0bc54841652a0e3bea5c744) Signed-off-by: Peter Korsgaard --- package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash new file mode 100644 index 0000000000..9f40da0941 --- /dev/null +++ b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 de2bb188300dc38d74103516ce5cfd1060dfd105e8a408e9e3991512cf27285e riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-centos6.tar.gz From peter at korsgaard.com Mon Oct 30 13:05:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:05:54 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/paho-mqtt-c: bump to version 1.3.13 Message-ID: <20231030130755.A42B586196@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=a460a1be345dedd4d8a50dd5e7c4d0a1edaa3350 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.13 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 97d6a77d1ef0057c9ccf3da91ac0bdebdb129112) Signed-off-by: Peter Korsgaard --- package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash index 529c538ff2..d359edf36e 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.hash +++ b/package/paho-mqtt-c/paho-mqtt-c.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 6a70a664ed3bbcc1eafdc45a5dc11f3ad70c9bac12a54c2f8cef15c0e7d0a93b paho-mqtt-c-1.3.12.tar.gz +sha256 47c77e95609812da82feee30db435c3b7c720d4fd3147d466ead126e657b6d9c paho-mqtt-c-1.3.13.tar.gz sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk index 8d1fe009a7..ec4e96c77f 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.mk +++ b/package/paho-mqtt-c/paho-mqtt-c.mk @@ -4,7 +4,7 @@ # ################################################################################ -PAHO_MQTT_C_VERSION = 1.3.12 +PAHO_MQTT_C_VERSION = 1.3.13 PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From peter at korsgaard.com Mon Oct 30 13:07:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:07:33 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/riscv64-elf-toolchain: add .hash file Message-ID: <20231030130901.08DC0861A4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=33a967ed85c4a38a85e257a88fef5ef9b00e55cb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x The host-riscv64-elf-toolchain package was missing a hash file, add it now. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit cf2dcaa1ecede670a0bc54841652a0e3bea5c744) Signed-off-by: Peter Korsgaard --- package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash new file mode 100644 index 0000000000..9f40da0941 --- /dev/null +++ b/package/riscv64-elf-toolchain/riscv64-elf-toolchain.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 de2bb188300dc38d74103516ce5cfd1060dfd105e8a408e9e3991512cf27285e riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-centos6.tar.gz From peter at korsgaard.com Mon Oct 30 13:05:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:05:58 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/paho-mqtt-c: bump to version 1.3.13 Message-ID: <20231030130900.F2CF7861A3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=70cb03d1b0b03f7bd40016c52e7b02fb00179ab2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://github.com/eclipse/paho.mqtt.c/releases/tag/v1.3.13 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 97d6a77d1ef0057c9ccf3da91ac0bdebdb129112) Signed-off-by: Peter Korsgaard --- package/paho-mqtt-c/paho-mqtt-c.hash | 2 +- package/paho-mqtt-c/paho-mqtt-c.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/paho-mqtt-c/paho-mqtt-c.hash b/package/paho-mqtt-c/paho-mqtt-c.hash index 529c538ff2..d359edf36e 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.hash +++ b/package/paho-mqtt-c/paho-mqtt-c.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 6a70a664ed3bbcc1eafdc45a5dc11f3ad70c9bac12a54c2f8cef15c0e7d0a93b paho-mqtt-c-1.3.12.tar.gz +sha256 47c77e95609812da82feee30db435c3b7c720d4fd3147d466ead126e657b6d9c paho-mqtt-c-1.3.13.tar.gz sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/package/paho-mqtt-c/paho-mqtt-c.mk b/package/paho-mqtt-c/paho-mqtt-c.mk index 8d1fe009a7..ec4e96c77f 100644 --- a/package/paho-mqtt-c/paho-mqtt-c.mk +++ b/package/paho-mqtt-c/paho-mqtt-c.mk @@ -4,7 +4,7 @@ # ################################################################################ -PAHO_MQTT_C_VERSION = 1.3.12 +PAHO_MQTT_C_VERSION = 1.3.13 PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE From peter at korsgaard.com Mon Oct 30 13:04:35 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:04:35 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/dhcpcd: bump to version 10.0.4 Message-ID: <20231030130900.E8191861A2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=cc74b71ea0729c6d52ced43c4d0d3fbb835ea706 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.2 https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.3 https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.4 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit f6890c1c4e04a968484ccf0c89ffce8b57ff3281) Signed-off-by: Peter Korsgaard --- package/dhcpcd/dhcpcd.hash | 4 ++-- package/dhcpcd/dhcpcd.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/dhcpcd/dhcpcd.hash b/package/dhcpcd/dhcpcd.hash index 88032f05c1..b015dce4ac 100644 --- a/package/dhcpcd/dhcpcd.hash +++ b/package/dhcpcd/dhcpcd.hash @@ -1,4 +1,4 @@ -# sha256 from https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.1 -sha256 6e9f6a5c47fcd8a763cfa26f1ca6eedf1e534992224a01d6c1ab8abb154af972 dhcpcd-10.0.1.tar.xz +# sha256 from https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.4 +sha256 ced5bbde8da3726eac77b9e77e4f31a89c9849d811ef8a2c749664fc5f55a718 dhcpcd-10.0.4.tar.xz # Locally calculated sha256 a7d6da3a202cdd38eaab0bcea4d25f60d002980f3785b3e896d9bf387f093ac8 LICENSE diff --git a/package/dhcpcd/dhcpcd.mk b/package/dhcpcd/dhcpcd.mk index 82efe10ef9..a194bce323 100644 --- a/package/dhcpcd/dhcpcd.mk +++ b/package/dhcpcd/dhcpcd.mk @@ -4,7 +4,7 @@ # ################################################################################ -DHCPCD_VERSION = 10.0.1 +DHCPCD_VERSION = 10.0.4 DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.xz DHCPCD_SITE = https://github.com/NetworkConfiguration/dhcpcd/releases/download/v$(DHCPCD_VERSION) DHCPCD_DEPENDENCIES = host-pkgconf From peter at korsgaard.com Mon Oct 30 13:09:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 14:09:20 +0100 Subject: [Buildroot] [PATCH] package/riscv64-elf-toolchain: add .hash file In-Reply-To: <20231027084159.1841045-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 27 Oct 2023 10:41:59 +0200") References: <20231027084159.1841045-1-peter@korsgaard.com> Message-ID: <87jzr445q7.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > The host-riscv64-elf-toolchain package was missing a hash file, add it now. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From fontaine.fabrice at gmail.com Mon Oct 30 13:10:52 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 30 Oct 2023 14:10:52 +0100 Subject: [Buildroot] [PATCH 1/1] package/flashrom: disable -Werror Message-ID: <20231030131052.661107-1-fontaine.fabrice@gmail.com> Disable -Werror to avoid the following build failure raised since bump to version 1.3.0 in commit 073b0fc9c1fe9945eccf4b792b948633aae9a9b8: chipset_enable.c:27: error: "_LARGEFILE64_SOURCE" redefined [-Werror] 27 | #define _LARGEFILE64_SOURCE | : note: this is the location of the previous definition Fixes: - http://autobuild.buildroot.org/results/b8d8c30d1306c2ba8f59b48f457a7ef930306b8c Signed-off-by: Fabrice Fontaine --- package/flashrom/flashrom.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index ca55592dba..1ccef572da 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -9,6 +9,7 @@ FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2 FLASHROM_SITE = https://download.flashrom.org/releases FLASHROM_LICENSE = GPL-2.0+ FLASHROM_LICENSE_FILES = COPYING +FLASHROM_MAKE_OPTS = WARNERROR=no ifeq ($(BR2_PACKAGE_LIBFTDI),y) FLASHROM_DEPENDENCIES += host-pkgconf libftdi -- 2.42.0 From enki at fsck.pl Mon Oct 30 13:23:21 2023 From: enki at fsck.pl (enki) Date: Mon, 30 Oct 2023 14:23:21 +0100 Subject: [Buildroot] [PATCH v2 1/1] package/spirv-tools: fix build issue In-Reply-To: <20231027091526.2224829-1-enki@fsck.pl> References: <20231027091526.2224829-1-enki@fsck.pl> Message-ID: <18b80c0ce62.cb399136547843.6065948676717076989@fsck.pl> > Maciej, All, Sorry for not replying to your email directly but instead mashing this response out of the original email as I seem to have deleted the thread somehow :/. > On 2023-10-27 11:15 +0200, Maciej Grela spake thusly: > > spirv-tools requires a C++ toolchain with shared libs, add flag dependency and comment. > > Fabrice had already sent a patch adding C++ requirement, and since it > also was more strict in requiring C++17, I applied his patch. > > > Fixes: http://autobuild.buildroot.net/results/53b3cf124d6c299398e620120465eca396ddcdff > > Fixes: http://autobuild.buildroot.net/results/a1f615d2410bffb6fdacc8586761c9def05aafa9 > > Fixes: http://autobuild.buildroot.net/results/294ade8c9aa3d650fa5ab6cc34701c4176bc197f > > Fixes: http://autobuild.buildroot.net/results/40e8f50eb7e82ca42f84fa5f4336cefb51204a28 > > Fixes: http://autobuild.buildroot.net/results/3c3be2c454863709d0db896bafbe11cd9df092a3 > > Fixes: http://autobuild.buildroot.net/results/8df8de1aeaf1317f6ba43f6752502da2eedcdea1 > > Fixes: http://autobuild.buildroot.net/results/ea2c1f97e82efcd867c79f05ab02f5f099140379 > > Fixes: http://autobuild.buildroot.net/results/fa4e39d1e78e885d20851201ed8a6fcf9d48d7d6 > > Fixes: http://autobuild.buildroot.net/results/4ed3f13b3ce178f8fe87de7aee86acb9642e3434 > > Fixes: http://autobuild.buildroot.net/results/e1b4853a7e8714fd2af8f8677681c9895034b3e8 > > AFAICS, none of those relate to shared libraries, but only to C++. > > Can you point to a build failure that is explicitly about shared libs? > Consider a1f615d2410bffb6fdacc8586761c9def05aafa9, when you try download the config and try to build spirv-tools with just enabling the C++ toolchain it fails with the following error: [ 54%] Building CXX object source/opt/CMakeFiles/SPIRV-Tools-opt.dir/dataflow.cpp.o [ 55%] Building CXX object source/opt/CMakeFiles/SPIRV-Tools-opt.dir/dead_branch_elim_pass.cpp.o /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0x140): undefined reference to `__fini_array_start' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x144): undefined reference to `__fini_array_end' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x148): undefined reference to `__fini_array_start' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_main': __uClibc_main.c:(.text+0x430): undefined reference to `__preinit_array_start' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x434): undefined reference to `__preinit_array_end' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x438): undefined reference to `__init_array_start' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x43c): undefined reference to `__init_array_end' /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: libSPIRV-Tools-shared.so: hidden symbol `__preinit_array_start' isn't defined /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/12.3.0/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status As far as my research about these errors suggested this is a result of trying to do a dynamic link with a static library. After enabling BR2_SHARED_LIBS and rebuilding the entire toolchain (make clean + make spirv-tools again) the build succeeds: [ 99%] Building CXX object tools/CMakeFiles/spirv-reduce.dir/util/cli_consumer.cpp.o [ 99%] Building CXX object tools/CMakeFiles/spirv-reduce.dir/reduce/reduce.cpp.o [ 99%] Linking CXX executable spirv-link [ 99%] Built target spirv-link [100%] Linking CXX executable spirv-diff [100%] Built target spirv-diff [100%] Linking CXX executable spirv-reduce [100%] Built target spirv-reduce >>> spirv-tools 1.3.261.1 Installing to staging directory PATH="/home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/bin:/home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/sbin:/home/enki/.local/bin:/home/enki/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" DESTDIR=/home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/host/armeb-buildroot-linux-uclibcgnueabi/sysroot /usr/bin/cmake --install /home/enki/a1f615d2410bffb6fdacc8586761c9def05aafa9/output/build/spirv-tools-1.3.261.1/ The failure mode here might be caused by the fact that the .mk file explicitly disables static builds for spirv-tools: ? buildroot git:(75fa573ef9) ? cat package/spirv-tools/spirv-tools.mk # Keep in sync with spirv-headers version SPIRV_TOOLS_VERSION = 1.3.261.1 SPIRV_TOOLS_SITE = $(call github,KhronosGroup,SPIRV-Tools,sdk-$(SPIRV_TOOLS_VERSION)) SPIRV_TOOLS_LICENSE = Apache-2.0 SPIRV_TOOLS_LICENSE_FILES = LICENSE SPIRV_TOOLS_DEPENDENCIES = spirv-headers SPIRV_TOOLS_INSTALL_STAGING = YES SPIRV_TOOLS_CONF_OPTS = \ -DSPIRV-Headers_SOURCE_DIR=$(STAGING_DIR)/usr \ *** -DSPIRV_TOOLS_BUILD_STATIC=OFF \ **** -DSPIRV_SKIP_TESTS=ON \ -DSPIRV_WERROR=OFF > > Signed-off-by: Maciej Grela > > --- > > package/spirv-tools/Config.in | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in > > index e2f46253a9..f1ae11bd09 100644 > > --- a/package/spirv-tools/Config.in > > +++ b/package/spirv-tools/Config.in > > @@ -1,6 +1,11 @@ > > +comment "spirv-tools needs a toolchain w/ C++, dynamic library" > > + depends on !BR2_INSTALL_LIBSTDCPP || ( !BR2_SHARED_LIBS && !BR2_SHARED_STATIC_LIBS ) > > + > > config BR2_PACKAGE_SPIRV_TOOLS > > bool "spirv-tools" > > select BR2_PACKAGE_SPIRV_HEADERS > > + depends on BR2_INSTALL_LIBSTDCPP > > + depends on BR2_SHARED_LIBS || BR2_SHARED_STATIC_LIBS > Also this is technically correct (and I would thinkg semantically the > best), we usally use the shorter dependnecy on !static: > > depends on !BR2_STATIC_LIBS > > You also forgot to add a comment for when the condition is not met. > > So, if sahred libs is really required, can you respin a patch with the > above fixed, please? Yes, one sec. -- enki From enki at fsck.pl Mon Oct 30 13:28:40 2023 From: enki at fsck.pl (Maciej Grela) Date: Mon, 30 Oct 2023 14:28:40 +0100 Subject: [Buildroot] [PATCH v3 1/1] package/spirv-tools: fix build issue In-Reply-To: <18b80c0ce62.cb399136547843.6065948676717076989@fsck.pl> References: <18b80c0ce62.cb399136547843.6065948676717076989@fsck.pl> Message-ID: <20231030132841.3052429-1-enki@fsck.pl> spirv-tools requires a toolchain w/ shared libs, add flag dependency and comment. Fixes: http://autobuild.buildroot.net/results/53b3cf124d6c299398e620120465eca396ddcdff Fixes: http://autobuild.buildroot.net/results/a1f615d2410bffb6fdacc8586761c9def05aafa9 Fixes: http://autobuild.buildroot.net/results/294ade8c9aa3d650fa5ab6cc34701c4176bc197f Fixes: http://autobuild.buildroot.net/results/40e8f50eb7e82ca42f84fa5f4336cefb51204a28 Fixes: http://autobuild.buildroot.net/results/8df8de1aeaf1317f6ba43f6752502da2eedcdea1 Fixes: http://autobuild.buildroot.net/results/ea2c1f97e82efcd867c79f05ab02f5f099140379 Fixes: http://autobuild.buildroot.net/results/fa4e39d1e78e885d20851201ed8a6fcf9d48d7d6 Fixes: http://autobuild.buildroot.net/results/4ed3f13b3ce178f8fe87de7aee86acb9642e3434 Fixes: http://autobuild.buildroot.net/results/e1b4853a7e8714fd2af8f8677681c9895034b3e8 Signed-off-by: Maciej Grela --- package/spirv-tools/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/spirv-tools/Config.in b/package/spirv-tools/Config.in index 39fdb80b86..c1d3a4f9bc 100644 --- a/package/spirv-tools/Config.in +++ b/package/spirv-tools/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_SPIRV_TOOLS bool "spirv-tools" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + depends on !BR2_STATIC_LIBS select BR2_PACKAGE_SPIRV_HEADERS help The SPIR-V Tools project provides an API and commands for @@ -9,6 +10,8 @@ config BR2_PACKAGE_SPIRV_TOOLS https://github.com/KhronosGroup/SPIRV-Tools -comment "spirv-tools needs a toolchain w/ C++, gcc >= 7" +comment "spirv-tools needs a toolchain w/ C++, gcc >= 7, dynamic library" depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + BR2_STATIC_LIBS + -- 2.39.2 From fontaine.fabrice at gmail.com Mon Oct 30 13:38:33 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Mon, 30 Oct 2023 14:38:33 +0100 Subject: [Buildroot] [PATCH 1/1] package/tar: fix NLS build Message-ID: <20231030133833.1102839-1-fontaine.fabrice@gmail.com> Fix the following build failure raised since bump to version 1.35 in commit d4d483451f0a305781b94b96c15a6cf4b489cd84: /home/thomas/autobuild/instance-1/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/12.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: buffer.o: in function `bufmap_reset': buffer.c:(.text+0xe8): undefined reference to `libintl_gettext' Fixes: - http://autobuild.buildroot.org/results/99b05d4b495b6337c6a48ea5a551a3a84c6d2e6b Signed-off-by: Fabrice Fontaine --- package/tar/tar.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 8a612b6f45..5908b9ec3e 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -19,6 +19,8 @@ TAR_CONF_OPTS = \ TAR_LICENSE = GPL-3.0+ TAR_LICENSE_FILES = COPYING TAR_CPE_ID_VENDOR = gnu +TAR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +TAR_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) ifeq ($(BR2_PACKAGE_ACL),y) TAR_DEPENDENCIES += acl -- 2.42.0 From peter at korsgaard.com Mon Oct 30 14:21:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 15:21:53 +0100 Subject: [Buildroot] [PATCH] package/xen: security bump to version 4.14.6 Message-ID: <20231030142153.645962-1-peter@korsgaard.com> Includes a number of bugfixes and the security fixes up to xsa-436: https://xenproject.org/downloads/xen-project-archives/xen-project-4-14-series/xen-project-4-14-6/ Signed-off-by: Peter Korsgaard --- package/xen/xen.hash | 2 +- package/xen/xen.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xen/xen.hash b/package/xen/xen.hash index 5637f0e8d9..d2350ac515 100644 --- a/package/xen/xen.hash +++ b/package/xen/xen.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a1a24092ad14658eed420b7d56b67d0d9d5b314e96c30a799b45f3a721f98bf0 xen-4.14.5.tar.gz +sha256 7917681bc6e744789815131fcf7799e6b83a0d45b5801ac654322b037ce472f8 xen-4.14.6.tar.gz sha256 ecca9538e9d3f7e3c2bff827502f4495e2ef9e22c451298696ea08886b176c2c COPYING diff --git a/package/xen/xen.mk b/package/xen/xen.mk index 169753e89f..651442cfdf 100644 --- a/package/xen/xen.mk +++ b/package/xen/xen.mk @@ -4,7 +4,7 @@ # ################################################################################ -XEN_VERSION = 4.14.5 +XEN_VERSION = 4.14.6 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) XEN_LICENSE = GPL-2.0 XEN_LICENSE_FILES = COPYING -- 2.39.2 From peter at korsgaard.com Mon Oct 30 17:18:04 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:18:04 +0100 Subject: [Buildroot] [PATCH] Config.in: default to HTTPS for s.b.n backup site In-Reply-To: <20231027121252.1855024-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 27 Oct 2023 14:12:51 +0200") References: <20231027121252.1855024-1-peter@korsgaard.com> Message-ID: <87fs1s3u7n.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Now that we have HTTPS support for sources.buildroot.net (through Lets > encrypt / Cloudflare), it makes sense to default to it for our backup site. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:18:15 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:18:15 +0100 Subject: [Buildroot] [PATCH 1/2] package/aufs: use HTTPS for git.code.sf.net In-Reply-To: <20231027122551.1856719-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 27 Oct 2023 14:25:50 +0200") References: <20231027122551.1856719-1-peter@korsgaard.com> Message-ID: <87bkcg3u7c.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > git.code.sf.net is available over HTTPS, so use that for security and > consistency with the other packages. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:18:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:18:25 +0100 Subject: [Buildroot] [PATCH 2/2] package/aufs-util: use HTTPS for git.code.sf.net In-Reply-To: <20231027122551.1856719-2-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 27 Oct 2023 14:25:51 +0200") References: <20231027122551.1856719-1-peter@korsgaard.com> <20231027122551.1856719-2-peter@korsgaard.com> Message-ID: <877cn43u72.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > git.code.sf.net is available over HTTPS, so use that for security and > consistency with the other packages. > Signed-off-by: Peter Korsgaard Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:22:39 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:22:39 +0100 Subject: [Buildroot] [PATCH 1/2] package/zchunk: add ZCHUNK_CPE_ID_VENDOR In-Reply-To: <20231028153448.142511-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 17:34:47 +0200") References: <20231028153448.142511-1-fontaine.fabrice@gmail.com> Message-ID: <8734xs3u00.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: > https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:22:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:22:45 +0100 Subject: [Buildroot] [PATCH 2/2] package/zchunk: security bump to version 1.3.2 In-Reply-To: <20231028153448.142511-2-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 17:34:48 +0200") References: <20231028153448.142511-1-fontaine.fabrice@gmail.com> <20231028153448.142511-2-fontaine.fabrice@gmail.com> Message-ID: <87y1fk2ffe.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Drop patches (already in version) > - tests can be disabled since version 1.2.3 and > https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 > - docs can be disabled since version 1.2.3 and > https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 > - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows > via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, > lib/dl/multipart.c, or lib/header.c. > https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:23:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:23:57 +0100 Subject: [Buildroot] [PATCH 1/1] package/tiff: security bump to version 4.6.0 In-Reply-To: <20231028161244.221857-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 18:12:44 +0200") References: <20231028161244.221857-1-fontaine.fabrice@gmail.com> Message-ID: <87ttq82fde.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > - Drop --without-x (now unrecognized) > - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This > flaw allows remote attackers to cause a denial of service (application > crash) or possibly execute an arbitrary code via a crafted tiff image, > which triggers a heap-based buffer overflow. > - Fix CVE-2023-41175: A vulnerability was found in libtiff due to > multiple potential integer overflows in raw2tiff.c. This flaw allows > remote attackers to cause a denial of service or possibly execute an > arbitrary code via a crafted tiff image, which triggers a heap-based > buffer overflow. > https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 17:17:30 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:30 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/aufs: use HTTPS for git.code.sf.net Message-ID: <20231030172428.1B70B861C1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=639b6ececb93af8b8c3d44a4f727f07e5dd96e43 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit f2a590750f5bedcee48ce7beb8f35356b42eda11) Signed-off-by: Peter Korsgaard --- package/aufs/aufs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk index 4e95a350a0..d00e7a1a21 100644 --- a/package/aufs/aufs.mk +++ b/package/aufs/aufs.mk @@ -9,7 +9,7 @@ AUFS_LICENSE = GPL-2.0 AUFS_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) -AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone +AUFS_SITE = https://git.code.sf.net/p/aufs/aufs3-standalone AUFS_SITE_METHOD = git else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4) AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) From peter at korsgaard.com Mon Oct 30 17:20:58 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:20:58 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/zchunk: add ZCHUNK_CPE_ID_VENDOR Message-ID: <20231030172428.2AFD4861BF@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f8625442e96e5f098d354b71363d8855e811862e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 3499c75ccf8b481fb3499a218920a3e276b09fa9) Signed-off-by: Peter Korsgaard --- package/zchunk/zchunk.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index fc91f90431..2acdaba3a1 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE +ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) From peter at korsgaard.com Mon Oct 30 17:21:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:21:10 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/zchunk: security bump to version 1.3.2 Message-ID: <20231030172428.1AA96861A1@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=60de45e18416e63bcbf0829291083e25a5773a75 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x - Drop patches (already in version) - tests can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 - docs can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, lib/dl/multipart.c, or lib/header.c. https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 8716942ca68e98e384746c09871fedfb36c0f629) Signed-off-by: Peter Korsgaard --- .checkpackageignore | 2 - ...fix-argp-standalone-wrap-and-find_library.patch | 106 --------------------- .../0002-zck-declare-write_data-as-static.patch | 34 ------- package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 3 +- 5 files changed, 3 insertions(+), 144 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 526df2d781..6d43a7457f 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -1597,8 +1597,6 @@ package/ytree/0001-fix-musl.patch Upstream package/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch Upstream package/zabbix/0002-fix-build-with-libressl-3.5.0.patch Upstream package/zbar/0001-python-enum-fix-build-for-Python-3.11.patch Upstream -package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch Upstream -package/zchunk/0002-zck-declare-write_data-as-static.patch Upstream package/zic/0001-remove-dependency-check-on-version-file.patch Upstream package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch Upstream package/zip/0002-configure-Don-t-use-host-CPP.patch Upstream diff --git a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch b/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch deleted file mode 100644 index 6c9cdba3ad..0000000000 --- a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 473c97cda44b95f5cea08a0cdd566e602df564db Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Thu, 21 Apr 2022 14:24:01 -0600 -Subject: [PATCH] meson: fix argp-standalone wrap and find_library - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -473c97cda44b95f5cea08a0cdd566e602df564db] ---- - .github/workflows/main.yml | 27 --------------------------- - meson.build | 6 +++--- - subprojects/argp-standalone.wrap | 7 +++++++ - 3 files changed, 10 insertions(+), 30 deletions(-) - create mode 100644 subprojects/argp-standalone.wrap - -diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml -index c49806f..35667af 100644 ---- a/.github/workflows/main.yml -+++ b/.github/workflows/main.yml -@@ -35,25 +35,11 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - name: Install mamba - uses: mamba-org/provision-with-micromamba at main - with: - environment-file: .github/environment.yml - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- CALL micromamba activate zchunk_test_env -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir --prefix=%CONDA_PREFIX%\Library -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -@@ -75,11 +61,6 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - uses: actions/setup-python at v1 - with: - python-version: '3.x' -@@ -87,14 +68,6 @@ jobs: - - name: Install meson and ninja - run: pip install meson ninja - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -diff --git a/meson.build b/meson.build -index 1c6b32d..aa7dd25 100644 ---- a/meson.build -+++ b/meson.build -@@ -58,10 +58,10 @@ endif - - # argp-standalone dependency (if required) - if build_machine.system() == 'windows' or build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include \nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}') -- if fs.is_dir(join_paths([get_option('prefix'), 'include'])) -- inc += include_directories(join_paths([get_option('prefix'), 'include'])) -+ argplib = cc.find_library('argp', has_headers : ['argp.h'], required: false) -+ if not argplib.found() -+ argplib = dependency('argp-standalone') - endif -- argplib = cc.find_library('argp', dirs : join_paths([get_option('prefix'), 'lib'])) - else - argplib = dependency('', required : false) - endif -diff --git a/subprojects/argp-standalone.wrap b/subprojects/argp-standalone.wrap -new file mode 100644 -index 0000000..14c0b63 ---- /dev/null -+++ b/subprojects/argp-standalone.wrap -@@ -0,0 +1,7 @@ -+[wrap-git] -+directory = argp-standalone-1.4.1 -+url = https://github.com/argp-standalone/argp-standalone.git -+revision = 21855f34ec9997c37e1a08cd69497336513a5800 -+ -+[provide] -+dependency_names = argp-standalone --- -2.25.1 - diff --git a/package/zchunk/0002-zck-declare-write_data-as-static.patch b/package/zchunk/0002-zck-declare-write_data-as-static.patch deleted file mode 100644 index 3c48ab3d50..0000000000 --- a/package/zchunk/0002-zck-declare-write_data-as-static.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Wed, 4 May 2022 16:32:48 -0600 -Subject: [PATCH] zck: declare write_data as static - -This needs to be declared static to avoid a symbol conflict: -io.c:(.text+0xe8): multiple definition of `write_data'; src/zck.p/zck.c.o:zck.c:(.text+0x1f4): first defined here - -Fixes: - - http://autobuild.buildroot.net/results/225/22590a7038a40da3700d56c1f82f7dc74225702a - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc] ---- - src/zck.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/zck.c b/src/zck.c -index 7727479..83b2630 100644 ---- a/src/zck.c -+++ b/src/zck.c -@@ -159,7 +159,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) { - - static struct argp argp = {options, parse_opt, args_doc, doc}; - --void write_data(zckCtx *zck, char *data, ssize_t in_size) { -+static void write_data(zckCtx *zck, char *data, ssize_t in_size) { - if(zck_write(zck, data, in_size) < 0) { - LOG_ERROR("%s", zck_get_error(zck)); - exit(1); --- -2.25.1 - diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index fa097d4ae0..15103a9ea0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz +sha256 4d923d32af7db33f3c0a6655b258e857a2ca564912cf85ddce14e9b1b7d495bf zchunk-1.3.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 2acdaba3a1..39d51ac352 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,12 +4,13 @@ # ################################################################################ -ZCHUNK_VERSION = 1.2.2 +ZCHUNK_VERSION = 1.3.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES +ZCHUNK_CONF_OPTS = -Ddocs=false -Dtests=false ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) ZCHUNK_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) From peter at korsgaard.com Mon Oct 30 17:17:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:14 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] Config.in: default to HTTPS for s.b.n backup site Message-ID: <20231030172428.17FD4861C7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9614e6ee786c9a6c4a7feeb947e667f85d708785 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Now that we have HTTPS support for sources.buildroot.net (through Lets encrypt / Cloudflare), it makes sense to default to it for our backup site. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 05296ced369bab8877efa624f3d9b4d201ba5b38) Signed-off-by: Peter Korsgaard --- Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config.in b/Config.in index 670e199c0b..1fcf549e62 100644 --- a/Config.in +++ b/Config.in @@ -241,7 +241,7 @@ if !BR2_PRIMARY_SITE_ONLY config BR2_BACKUP_SITE string "Backup download site" - default "http://sources.buildroot.net" + default "https://sources.buildroot.net" help Backup site to download from. If this option is set then buildroot will fall back to download package sources from here From peter at korsgaard.com Mon Oct 30 17:17:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:34 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/aufs-util: use HTTPS for git.code.sf.net Message-ID: <20231030172428.22EC3861C4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=7aad5e1b433e4eb60a33c05474a6dcd2bffa8ce9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 99d525028f969220719a4e6bcd694f7d9cfd5b67) Signed-off-by: Peter Korsgaard --- package/aufs-util/aufs-util.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index d954f02958..32f3bca151 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -6,7 +6,7 @@ # linux-headers AUFS_UTIL_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_UTIL_VERSION)) -AUFS_UTIL_SITE = http://git.code.sf.net/p/aufs/aufs-util +AUFS_UTIL_SITE = https://git.code.sf.net/p/aufs/aufs-util AUFS_UTIL_SITE_METHOD = git AUFS_UTIL_LICENSE = GPL-2.0 AUFS_UTIL_LICENSE_FILES = COPYING From peter at korsgaard.com Mon Oct 30 17:23:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:23:34 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/tiff: security bump to version 4.6.0 Message-ID: <20231030172428.21F6B861BE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=49bed3048ba18a4ed0aee4fbc3e2331ac698bd80 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x - Drop --without-x (now unrecognized) - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. - Fix CVE-2023-41175: A vulnerability was found in libtiff due to multiple potential integer overflows in raw2tiff.c. This flaw allows remote attackers to cause a denial of service or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e96b1c4b0b06d65c54a764fe4a59d886afc70df5) Signed-off-by: Peter Korsgaard --- package/tiff/tiff.hash | 2 +- package/tiff/tiff.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/tiff/tiff.hash b/package/tiff/tiff.hash index 0fa503a02a..3aae7dc4d5 100644 --- a/package/tiff/tiff.hash +++ b/package/tiff/tiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b tiff-4.5.1.tar.gz +sha256 88b3979e6d5c7e32b50d7ec72fb15af724f6ab2cbf7e10880c360a77e4b5d99a tiff-4.6.0.tar.gz sha256 0780558a8bfba0af1160ec1ff11ade4f41c0d7deafd6ecfc796b492a788e380d LICENSE.md diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 0006f461a0..e384e8b814 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIFF_VERSION = 4.5.1 +TIFF_VERSION = 4.6.0 TIFF_SITE = http://download.osgeo.org/libtiff TIFF_LICENSE = tiff license TIFF_LICENSE_FILES = LICENSE.md @@ -17,14 +17,12 @@ TIFF_INSTALL_STAGING = YES TIFF_CONF_OPTS = \ --disable-contrib \ --disable-tests \ - --disable-webp \ - --without-x + --disable-webp TIFF_DEPENDENCIES = host-pkgconf HOST_TIFF_CONF_OPTS = \ --disable-cxx \ - --without-x \ --disable-zlib \ --disable-libdeflate \ --disable-lzma \ From peter at korsgaard.com Mon Oct 30 17:17:40 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:40 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/aufs-util: use HTTPS for git.code.sf.net Message-ID: <20231030172538.288F6861DA@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4c4115a45f2fb1a13154c41b5d4a4d302b08ce6f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 99d525028f969220719a4e6bcd694f7d9cfd5b67) Signed-off-by: Peter Korsgaard --- package/aufs-util/aufs-util.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index d954f02958..32f3bca151 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -6,7 +6,7 @@ # linux-headers AUFS_UTIL_VERSION = $(call qstrip,$(BR2_PACKAGE_AUFS_UTIL_VERSION)) -AUFS_UTIL_SITE = http://git.code.sf.net/p/aufs/aufs-util +AUFS_UTIL_SITE = https://git.code.sf.net/p/aufs/aufs-util AUFS_UTIL_SITE_METHOD = git AUFS_UTIL_LICENSE = GPL-2.0 AUFS_UTIL_LICENSE_FILES = COPYING From peter at korsgaard.com Mon Oct 30 17:17:25 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:25 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/aufs: use HTTPS for git.code.sf.net Message-ID: <20231030172538.1EDB9861D9@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6d91519910b879607cce8501489bdb087872b3f6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x git.code.sf.net is available over HTTPS, so use that for security and consistency with the other packages. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit f2a590750f5bedcee48ce7beb8f35356b42eda11) Signed-off-by: Peter Korsgaard --- package/aufs/aufs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk index 4e95a350a0..d00e7a1a21 100644 --- a/package/aufs/aufs.mk +++ b/package/aufs/aufs.mk @@ -9,7 +9,7 @@ AUFS_LICENSE = GPL-2.0 AUFS_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_AUFS_SERIES),3) -AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone +AUFS_SITE = https://git.code.sf.net/p/aufs/aufs3-standalone AUFS_SITE_METHOD = git else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4) AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) From peter at korsgaard.com Mon Oct 30 17:17:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:17:20 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] Config.in: default to HTTPS for s.b.n backup site Message-ID: <20231030172538.145DA861D8@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=47a5fa5cf36b1efa3ec6154e655635bf2a033a21 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Now that we have HTTPS support for sources.buildroot.net (through Lets encrypt / Cloudflare), it makes sense to default to it for our backup site. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit 05296ced369bab8877efa624f3d9b4d201ba5b38) Signed-off-by: Peter Korsgaard --- Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config.in b/Config.in index 670e199c0b..1fcf549e62 100644 --- a/Config.in +++ b/Config.in @@ -241,7 +241,7 @@ if !BR2_PRIMARY_SITE_ONLY config BR2_BACKUP_SITE string "Backup download site" - default "http://sources.buildroot.net" + default "https://sources.buildroot.net" help Backup site to download from. If this option is set then buildroot will fall back to download package sources from here From peter at korsgaard.com Mon Oct 30 17:21:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:21:26 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/zchunk: add ZCHUNK_CPE_ID_VENDOR Message-ID: <20231030172538.326C6861DB@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9535e09087421d1cb8c35bc8f63ca9627635fc1f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x cpe:2.3:a:zchunk:zchunk is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/detail/480C0B83-3109-49EE-9E06-7866A54878CA Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 3499c75ccf8b481fb3499a218920a3e276b09fa9) Signed-off-by: Peter Korsgaard --- package/zchunk/zchunk.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index fc91f90431..2acdaba3a1 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -8,6 +8,7 @@ ZCHUNK_VERSION = 1.2.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE +ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) From peter at korsgaard.com Mon Oct 30 17:23:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:23:26 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/tiff: security bump to version 4.6.0 Message-ID: <20231030172538.46934861DE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c33c40a45e28842937a4d1e3f2d45a5090e864ac branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x - Drop --without-x (now unrecognized) - Fix CVE-2023-40745: LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. - Fix CVE-2023-41175: A vulnerability was found in libtiff due to multiple potential integer overflows in raw2tiff.c. This flaw allows remote attackers to cause a denial of service or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow. https://libtiff.gitlab.io/libtiff/releases/v4.6.0.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e96b1c4b0b06d65c54a764fe4a59d886afc70df5) Signed-off-by: Peter Korsgaard --- package/tiff/tiff.hash | 2 +- package/tiff/tiff.mk | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/tiff/tiff.hash b/package/tiff/tiff.hash index 0fa503a02a..3aae7dc4d5 100644 --- a/package/tiff/tiff.hash +++ b/package/tiff/tiff.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b tiff-4.5.1.tar.gz +sha256 88b3979e6d5c7e32b50d7ec72fb15af724f6ab2cbf7e10880c360a77e4b5d99a tiff-4.6.0.tar.gz sha256 0780558a8bfba0af1160ec1ff11ade4f41c0d7deafd6ecfc796b492a788e380d LICENSE.md diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 0006f461a0..e384e8b814 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -4,7 +4,7 @@ # ################################################################################ -TIFF_VERSION = 4.5.1 +TIFF_VERSION = 4.6.0 TIFF_SITE = http://download.osgeo.org/libtiff TIFF_LICENSE = tiff license TIFF_LICENSE_FILES = LICENSE.md @@ -17,14 +17,12 @@ TIFF_INSTALL_STAGING = YES TIFF_CONF_OPTS = \ --disable-contrib \ --disable-tests \ - --disable-webp \ - --without-x + --disable-webp TIFF_DEPENDENCIES = host-pkgconf HOST_TIFF_CONF_OPTS = \ --disable-cxx \ - --without-x \ --disable-zlib \ --disable-libdeflate \ --disable-lzma \ From peter at korsgaard.com Mon Oct 30 17:22:00 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 18:22:00 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/zchunk: security bump to version 1.3.2 Message-ID: <20231030172538.3C9AC861DD@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=052896e15ee905066b077b885b422706cd4157c6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x - Drop patches (already in version) - tests can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/e2e3d6b14e944530837db43dd73413ce84a1e1f5 - docs can be disabled since version 1.2.3 and https://github.com/zchunk/zchunk/commit/af6c10e8be324d1194982c6a8db001f72d50dbf6 - Fix CVE-2023-46228: zchunk before 1.3.2 has multiple integer overflows via malformed zchunk files to lib/comp/comp.c, lib/comp/zstd/zstd.c, lib/dl/multipart.c, or lib/header.c. https://github.com/zchunk/zchunk/compare/1.2.2...1.3.2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 8716942ca68e98e384746c09871fedfb36c0f629) Signed-off-by: Peter Korsgaard --- ...fix-argp-standalone-wrap-and-find_library.patch | 106 --------------------- .../0002-zck-declare-write_data-as-static.patch | 34 ------- package/zchunk/zchunk.hash | 2 +- package/zchunk/zchunk.mk | 3 +- 4 files changed, 3 insertions(+), 142 deletions(-) diff --git a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch b/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch deleted file mode 100644 index 6c9cdba3ad..0000000000 --- a/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 473c97cda44b95f5cea08a0cdd566e602df564db Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Thu, 21 Apr 2022 14:24:01 -0600 -Subject: [PATCH] meson: fix argp-standalone wrap and find_library - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -473c97cda44b95f5cea08a0cdd566e602df564db] ---- - .github/workflows/main.yml | 27 --------------------------- - meson.build | 6 +++--- - subprojects/argp-standalone.wrap | 7 +++++++ - 3 files changed, 10 insertions(+), 30 deletions(-) - create mode 100644 subprojects/argp-standalone.wrap - -diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml -index c49806f..35667af 100644 ---- a/.github/workflows/main.yml -+++ b/.github/workflows/main.yml -@@ -35,25 +35,11 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - name: Install mamba - uses: mamba-org/provision-with-micromamba at main - with: - environment-file: .github/environment.yml - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- CALL micromamba activate zchunk_test_env -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir --prefix=%CONDA_PREFIX%\Library -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -@@ -75,11 +61,6 @@ jobs: - steps: - - uses: actions/checkout at v2 - -- - uses: actions/checkout at v2 -- with: -- repository: wolfv/argp-standalone -- path: argp-standalone -- - - uses: actions/setup-python at v1 - with: - python-version: '3.x' -@@ -87,14 +68,6 @@ jobs: - - name: Install meson and ninja - run: pip install meson ninja - -- - name: Compile argp-standalone -- shell: cmd /C CALL {0} -- run: | -- cd argp-standalone -- meson setup builddir -- meson compile -C builddir -- meson install -C builddir -- - - name: Compile zchunk - shell: cmd /C CALL {0} - run: | -diff --git a/meson.build b/meson.build -index 1c6b32d..aa7dd25 100644 ---- a/meson.build -+++ b/meson.build -@@ -58,10 +58,10 @@ endif - - # argp-standalone dependency (if required) - if build_machine.system() == 'windows' or build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include \nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}') -- if fs.is_dir(join_paths([get_option('prefix'), 'include'])) -- inc += include_directories(join_paths([get_option('prefix'), 'include'])) -+ argplib = cc.find_library('argp', has_headers : ['argp.h'], required: false) -+ if not argplib.found() -+ argplib = dependency('argp-standalone') - endif -- argplib = cc.find_library('argp', dirs : join_paths([get_option('prefix'), 'lib'])) - else - argplib = dependency('', required : false) - endif -diff --git a/subprojects/argp-standalone.wrap b/subprojects/argp-standalone.wrap -new file mode 100644 -index 0000000..14c0b63 ---- /dev/null -+++ b/subprojects/argp-standalone.wrap -@@ -0,0 +1,7 @@ -+[wrap-git] -+directory = argp-standalone-1.4.1 -+url = https://github.com/argp-standalone/argp-standalone.git -+revision = 21855f34ec9997c37e1a08cd69497336513a5800 -+ -+[provide] -+dependency_names = argp-standalone --- -2.25.1 - diff --git a/package/zchunk/0002-zck-declare-write_data-as-static.patch b/package/zchunk/0002-zck-declare-write_data-as-static.patch deleted file mode 100644 index 3c48ab3d50..0000000000 --- a/package/zchunk/0002-zck-declare-write_data-as-static.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Wed, 4 May 2022 16:32:48 -0600 -Subject: [PATCH] zck: declare write_data as static - -This needs to be declared static to avoid a symbol conflict: -io.c:(.text+0xe8): multiple definition of `write_data'; src/zck.p/zck.c.o:zck.c:(.text+0x1f4): first defined here - -Fixes: - - http://autobuild.buildroot.net/results/225/22590a7038a40da3700d56c1f82f7dc74225702a - -Signed-off-by: James Hilliard -[james.hilliard1 at gmail.com: backport from upstream commit -477c4e891bd4d9e41fcbaa07cd1a37c0975df5cc] ---- - src/zck.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/zck.c b/src/zck.c -index 7727479..83b2630 100644 ---- a/src/zck.c -+++ b/src/zck.c -@@ -159,7 +159,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) { - - static struct argp argp = {options, parse_opt, args_doc, doc}; - --void write_data(zckCtx *zck, char *data, ssize_t in_size) { -+static void write_data(zckCtx *zck, char *data, ssize_t in_size) { - if(zck_write(zck, data, in_size) < 0) { - LOG_ERROR("%s", zck_get_error(zck)); - exit(1); --- -2.25.1 - diff --git a/package/zchunk/zchunk.hash b/package/zchunk/zchunk.hash index fa097d4ae0..15103a9ea0 100644 --- a/package/zchunk/zchunk.hash +++ b/package/zchunk/zchunk.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 bc36f13b1bcb2ab52d046bfc3ec04a9bd1f89b070b4e8fca52eded235a583526 zchunk-1.2.2.tar.gz +sha256 4d923d32af7db33f3c0a6655b258e857a2ca564912cf85ddce14e9b1b7d495bf zchunk-1.3.2.tar.gz sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/package/zchunk/zchunk.mk b/package/zchunk/zchunk.mk index 2acdaba3a1..39d51ac352 100644 --- a/package/zchunk/zchunk.mk +++ b/package/zchunk/zchunk.mk @@ -4,12 +4,13 @@ # ################################################################################ -ZCHUNK_VERSION = 1.2.2 +ZCHUNK_VERSION = 1.3.2 ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) ZCHUNK_LICENSE = BSD-2-Clause ZCHUNK_LICENSE_FILES = LICENSE ZCHUNK_CPE_ID_VENDOR = zchunk ZCHUNK_INSTALL_STAGING = YES +ZCHUNK_CONF_OPTS = -Ddocs=false -Dtests=false ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) ZCHUNK_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES) From peter at korsgaard.com Mon Oct 30 19:03:20 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:03:20 +0100 Subject: [Buildroot] [PATCH 1/1] package/rabbitmq-c: fix CVE-2023-35789 In-Reply-To: <20231028194119.987835-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 21:41:19 +0200") References: <20231028194119.987835-1-fontaine.fabrice@gmail.com> Message-ID: <87pm0w2arr.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > An issue was discovered in the C AMQP client library (aka rabbitmq-c) > through 0.13.0 for RabbitMQ. Credentials can only be entered on the > command line (e.g., for amqp-publish or amqp-consume) and are thus > visible to local attackers by listing a process and its arguments. > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 19:09:10 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:09:10 +0100 Subject: [Buildroot] [PATCH 1/1] package/python-urllib3: security bump to version 2.0.7 In-Reply-To: <20231028200024.1054270-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 22:00:24 +0200") References: <20231028200024.1054270-1-fontaine.fabrice@gmail.com> Message-ID: <87lebk2ai1.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-43804 and CVE-2023-45803 > https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f > https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 > https://github.com/urllib3/urllib3/blob/2.0.7/CHANGES.rst > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. For 2023.02.x I will instead bump to 1.26.18, which contains the same fixes. -- Bye, Peter Korsgaard From havran.jan at email.cz Mon Oct 30 19:02:49 2023 From: havran.jan at email.cz (Jan Havran) Date: Mon, 30 Oct 2023 20:02:49 +0100 Subject: [Buildroot] [PATCH 1/1] configs/pine64_pinecube_defconfig: bump to Linux 6.1.60 and U-Boot 2023.10 Message-ID: Signed-off-by: Jan Havran --- configs/pine64_pinecube_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/pine64_pinecube_defconfig b/configs/pine64_pinecube_defconfig index 8f60115f8f..5cdaf59fae 100644 --- a/configs/pine64_pinecube_defconfig +++ b/configs/pine64_pinecube_defconfig @@ -4,7 +4,7 @@ BR2_cortex_a7=y BR2_ARM_FPU_VFPV4=y # Toolchain options -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y # System configuration BR2_TARGET_GENERIC_HOSTNAME="pinecube" @@ -17,7 +17,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/pinecube/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.61" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.60" BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-s3-pinecube" @@ -31,7 +31,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pinecube" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -- 2.42.0 From peter at korsgaard.com Mon Oct 30 19:02:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:02:54 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/rabbitmq-c: fix CVE-2023-35789 Message-ID: <20231030192304.7D293861E2@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=499256cd1cdac6c5541f508bfd71d96027da544f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x An issue was discovered in the C AMQP client library (aka rabbitmq-c) through 0.13.0 for RabbitMQ. Credentials can only be entered on the command line (e.g., for amqp-publish or amqp-consume) and are thus visible to local attackers by listing a process and its arguments. Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c3fcaeaaa7fc0a6023d44ac16c9197b847504706) Signed-off-by: Peter Korsgaard --- ...ption-to-read-username-password-from-file.patch | 130 +++++++++++++++++++++ package/rabbitmq-c/rabbitmq-c.mk | 3 + 2 files changed, 133 insertions(+) diff --git a/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch new file mode 100644 index 0000000000..347063cfb3 --- /dev/null +++ b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch @@ -0,0 +1,130 @@ +From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001 +From: Christian Kastner +Date: Tue, 13 Jun 2023 14:21:52 +0200 +Subject: [PATCH] Add option to read username/password from file (#781) + +* Add option to read username/password from file + +Upstream: https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 +Signed-off-by: Fabrice Fontaine +--- + tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + +diff --git a/tools/common.c b/tools/common.c +index 73b47e25..7efe557b 100644 +--- a/tools/common.c ++++ b/tools/common.c +@@ -18,6 +18,11 @@ + #include "compat.h" + #endif + ++/* For when reading auth data from a file */ ++#define MAXAUTHTOKENLEN 128 ++#define USERNAMEPREFIX "username:" ++#define PASSWORDPREFIX "password:" ++ + void die(const char *fmt, ...) { + va_list ap; + va_start(ap, fmt); +@@ -125,6 +130,7 @@ static char *amqp_vhost; + static char *amqp_username; + static char *amqp_password; + static int amqp_heartbeat = 0; ++static char *amqp_authfile; + #ifdef WITH_SSL + static int amqp_ssl = 0; + static char *amqp_cacert = "/etc/ssl/certs/cacert.pem"; +@@ -147,6 +153,8 @@ struct poptOption connect_options[] = { + "the password to login with", "password"}, + {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0, + "heartbeat interval, set to 0 to disable", "heartbeat"}, ++ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0, ++ "path to file containing username/password for authentication", "file"}, + #ifdef WITH_SSL + {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL}, + {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0, +@@ -158,6 +166,50 @@ struct poptOption connect_options[] = { + #endif /* WITH_SSL */ + {NULL, '\0', 0, NULL, 0, NULL, NULL}}; + ++void read_authfile(const char *path) { ++ size_t n; ++ FILE *fp = NULL; ++ char token[MAXAUTHTOKENLEN]; ++ ++ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL || ++ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) { ++ die("Out of memory"); ++ } else if ((fp = fopen(path, "r")) == NULL) { ++ die("Could not read auth data file %s", path); ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) { ++ die("Malformed auth file (missing username)"); ++ } ++ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_username); ++ if (amqp_username[n - 1] != '\n') { ++ die("Username too long"); ++ } else { ++ amqp_username[n - 1] = '\0'; ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) { ++ die("Malformed auth file (missing password)"); ++ } ++ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_password); ++ if (amqp_password[n - 1] != '\n') { ++ die("Password too long"); ++ } else { ++ amqp_password[n - 1] = '\0'; ++ } ++ ++ (void)fgetc(fp); ++ if (!feof(fp)) { ++ die("Malformed auth file (trailing data)"); ++ } ++} ++ + static void init_connection_info(struct amqp_connection_info *ci) { + ci->user = NULL; + ci->password = NULL; +@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_username) { + if (amqp_url) { + die("--username and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--username and --authfile options cannot be used at the same time"); + } + + ci->user = amqp_username; +@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_password) { + if (amqp_url) { + die("--password and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--password and --authfile options cannot be used at the same time"); + } + + ci->password = amqp_password; + } + ++ if (amqp_authfile) { ++ if (amqp_url) { ++ die("--authfile and --url options cannot be used at the same time"); ++ } ++ ++ read_authfile(amqp_authfile); ++ ci->user = amqp_username; ++ ci->password = amqp_password; ++ } ++ + if (amqp_vhost) { + if (amqp_url) { + die("--vhost and --url options cannot be used at the same time"); diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index 18ecaa3098..fad6655e4e 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -14,6 +14,9 @@ RABBITMQ_C_CONF_OPTS = \ -DBUILD_API_DOCS=OFF \ -DBUILD_TOOLS_DOCS=OFF +# 0001-Add-option-to-read-username-password-from-file.patch +RABBITMQ_C_IGNORE_CVES += CVE-2023-35789 + # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable ifeq ($(BR2_SHARED_STATIC_LIBS),y) RABBITMQ_C_CONF_OPTS += -DBUILD_STATIC_LIBS=ON From peter at korsgaard.com Mon Oct 30 19:05:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:05:07 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-urllib3: security bump to version 2.0.7 Message-ID: <20231030192304.87564861E4@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=61b918ecc90c029c4c73b18e61a8e77b3a5a11fd branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-43804 and CVE-2023-45803 https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 https://github.com/urllib3/urllib3/blob/2.0.7/CHANGES.rst Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit e0e96336aba445d711a352caadab68ed87e87d07) Signed-off-by: Peter Korsgaard --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 2da7abdf29..209cfe277e 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 5d541b944febe50221e24c31cd6e887d urllib3-2.0.4.tar.gz -sha256 8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11 urllib3-2.0.4.tar.gz +md5 5a264ef3ae827e5842bbc80536a343dd urllib3-2.0.7.tar.gz +sha256 c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 urllib3-2.0.7.tar.gz # Locally computed sha256 checksums sha256 130e3a64d5fdd5d096a752694634a7d9df284469de86e5732100268041e3d686 LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index 7ff58d9a4a..ba041082db 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 2.0.4 +PYTHON_URLLIB3_VERSION = 2.0.7 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/31/ab/46bec149bbd71a4467a3063ac22f4486ecd2ceb70ae8c70d5d8e4c2a7946 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/af/47/b215df9f71b4fdba1025fc05a77db2ad243fa0926755a52c5e71659f4e3c PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python From peter at korsgaard.com Mon Oct 30 21:52:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:52:24 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/python-urllib3: security bump to version 1.26.18 Message-ID: <20231030215315.82B62861D7@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6f1e83065c7cbc99efcbc67d9d2b6822750aeadb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fixes CVE-2023-43804 and CVE-2023-45803 https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 Signed-off-by: Peter Korsgaard --- package/python-urllib3/python-urllib3.hash | 4 ++-- package/python-urllib3/python-urllib3.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-urllib3/python-urllib3.hash b/package/python-urllib3/python-urllib3.hash index 963967332e..aa42f1a711 100644 --- a/package/python-urllib3/python-urllib3.hash +++ b/package/python-urllib3/python-urllib3.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 38f7d1589aa9720101316d07fcbd05c8 urllib3-1.26.13.tar.gz -sha256 c083dd0dce68dbfbe1129d5271cb90f9447dea7d52097c6e0126120c521ddea8 urllib3-1.26.13.tar.gz +md5 f986d8e9616d2a43389f678d5dad9893 urllib3-1.26.18.tar.gz +sha256 f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0 urllib3-1.26.18.tar.gz # Locally computed sha256 checksums sha256 c37bf186e27cf9dbe9619e55edfe3cea7b30091ceb3da63c7dacbe0e6d77907b LICENSE.txt diff --git a/package/python-urllib3/python-urllib3.mk b/package/python-urllib3/python-urllib3.mk index 5868927440..b22a11361f 100644 --- a/package/python-urllib3/python-urllib3.mk +++ b/package/python-urllib3/python-urllib3.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_URLLIB3_VERSION = 1.26.13 +PYTHON_URLLIB3_VERSION = 1.26.18 PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/c2/51/32da03cf19d17d46cce5c731967bf58de9bd71db3a379932f53b094deda4 +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/0c/39/64487bf07df2ed854cc06078c27c0d0abc59bd27b32232876e403c333a08 PYTHON_URLLIB3_LICENSE = MIT PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt PYTHON_URLLIB3_CPE_ID_VENDOR = python From peter at korsgaard.com Mon Oct 30 19:03:02 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 20:03:02 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/rabbitmq-c: fix CVE-2023-35789 Message-ID: <20231030215315.7FFC6861F3@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=31e3736a882bf7fd0a10208d6712c7307abc9f36 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x An issue was discovered in the C AMQP client library (aka rabbitmq-c) through 0.13.0 for RabbitMQ. Credentials can only be entered on the command line (e.g., for amqp-publish or amqp-consume) and are thus visible to local attackers by listing a process and its arguments. Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c3fcaeaaa7fc0a6023d44ac16c9197b847504706) Signed-off-by: Peter Korsgaard --- ...ption-to-read-username-password-from-file.patch | 130 +++++++++++++++++++++ package/rabbitmq-c/rabbitmq-c.mk | 3 + 2 files changed, 133 insertions(+) diff --git a/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch new file mode 100644 index 0000000000..347063cfb3 --- /dev/null +++ b/package/rabbitmq-c/0001-Add-option-to-read-username-password-from-file.patch @@ -0,0 +1,130 @@ +From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001 +From: Christian Kastner +Date: Tue, 13 Jun 2023 14:21:52 +0200 +Subject: [PATCH] Add option to read username/password from file (#781) + +* Add option to read username/password from file + +Upstream: https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 +Signed-off-by: Fabrice Fontaine +--- + tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + +diff --git a/tools/common.c b/tools/common.c +index 73b47e25..7efe557b 100644 +--- a/tools/common.c ++++ b/tools/common.c +@@ -18,6 +18,11 @@ + #include "compat.h" + #endif + ++/* For when reading auth data from a file */ ++#define MAXAUTHTOKENLEN 128 ++#define USERNAMEPREFIX "username:" ++#define PASSWORDPREFIX "password:" ++ + void die(const char *fmt, ...) { + va_list ap; + va_start(ap, fmt); +@@ -125,6 +130,7 @@ static char *amqp_vhost; + static char *amqp_username; + static char *amqp_password; + static int amqp_heartbeat = 0; ++static char *amqp_authfile; + #ifdef WITH_SSL + static int amqp_ssl = 0; + static char *amqp_cacert = "/etc/ssl/certs/cacert.pem"; +@@ -147,6 +153,8 @@ struct poptOption connect_options[] = { + "the password to login with", "password"}, + {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0, + "heartbeat interval, set to 0 to disable", "heartbeat"}, ++ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0, ++ "path to file containing username/password for authentication", "file"}, + #ifdef WITH_SSL + {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL}, + {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0, +@@ -158,6 +166,50 @@ struct poptOption connect_options[] = { + #endif /* WITH_SSL */ + {NULL, '\0', 0, NULL, 0, NULL, NULL}}; + ++void read_authfile(const char *path) { ++ size_t n; ++ FILE *fp = NULL; ++ char token[MAXAUTHTOKENLEN]; ++ ++ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL || ++ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) { ++ die("Out of memory"); ++ } else if ((fp = fopen(path, "r")) == NULL) { ++ die("Could not read auth data file %s", path); ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) { ++ die("Malformed auth file (missing username)"); ++ } ++ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_username); ++ if (amqp_username[n - 1] != '\n') { ++ die("Username too long"); ++ } else { ++ amqp_username[n - 1] = '\0'; ++ } ++ ++ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || ++ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) { ++ die("Malformed auth file (missing password)"); ++ } ++ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN); ++ /* Missing newline means token was cut off */ ++ n = strlen(amqp_password); ++ if (amqp_password[n - 1] != '\n') { ++ die("Password too long"); ++ } else { ++ amqp_password[n - 1] = '\0'; ++ } ++ ++ (void)fgetc(fp); ++ if (!feof(fp)) { ++ die("Malformed auth file (trailing data)"); ++ } ++} ++ + static void init_connection_info(struct amqp_connection_info *ci) { + ci->user = NULL; + ci->password = NULL; +@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_username) { + if (amqp_url) { + die("--username and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--username and --authfile options cannot be used at the same time"); + } + + ci->user = amqp_username; +@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) { + if (amqp_password) { + if (amqp_url) { + die("--password and --url options cannot be used at the same time"); ++ } else if (amqp_authfile) { ++ die("--password and --authfile options cannot be used at the same time"); + } + + ci->password = amqp_password; + } + ++ if (amqp_authfile) { ++ if (amqp_url) { ++ die("--authfile and --url options cannot be used at the same time"); ++ } ++ ++ read_authfile(amqp_authfile); ++ ci->user = amqp_username; ++ ci->password = amqp_password; ++ } ++ + if (amqp_vhost) { + if (amqp_url) { + die("--vhost and --url options cannot be used at the same time"); diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk index 18ecaa3098..fad6655e4e 100644 --- a/package/rabbitmq-c/rabbitmq-c.mk +++ b/package/rabbitmq-c/rabbitmq-c.mk @@ -14,6 +14,9 @@ RABBITMQ_C_CONF_OPTS = \ -DBUILD_API_DOCS=OFF \ -DBUILD_TOOLS_DOCS=OFF +# 0001-Add-option-to-read-username-password-from-file.patch +RABBITMQ_C_IGNORE_CVES += CVE-2023-35789 + # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable ifeq ($(BR2_SHARED_STATIC_LIBS),y) RABBITMQ_C_CONF_OPTS += -DBUILD_STATIC_LIBS=ON From peter at korsgaard.com Mon Oct 30 21:55:24 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:55:24 +0100 Subject: [Buildroot] [PATCH 1/1] package/x11r7/xlib_libXpm: security bump to version 3.5.17 In-Reply-To: <20231028200848.1134223-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 22:08:48 +0200") References: <20231028200848.1134223-1-fontaine.fabrice@gmail.com> Message-ID: <87h6m73hdf.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 > https://lists.x.org/archives/xorg-announce/2023-October/003424.html > https://lists.x.org/archives/xorg-announce/2023-October/003425.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 21:55:28 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:55:28 +0100 Subject: [Buildroot] [PATCH 1/1] package/x11r7/xlib_libX11: security bump to version 1.8.7 In-Reply-To: <20231028201413.1160957-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 22:14:13 +0200") References: <20231028201413.1160957-1-fontaine.fabrice@gmail.com> Message-ID: <87cywv3hdb.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 > https://lists.x.org/archives/xorg-announce/2023-October/003424.html > https://lists.x.org/archives/xorg-announce/2023-October/003426.html > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 21:54:48 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:54:48 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/x11r7/xlib_libXpm: security bump to version 3.5.17 Message-ID: <20231030215541.E67B5861FE@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f64601392e7edb296e2fa4ed6039e0ee27476c79 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003425.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c709ab6fff85285c3f44eacbe780302a29a32ede) Signed-off-by: Peter Korsgaard --- package/x11r7/xlib_libXpm/xlib_libXpm.hash | 6 +++--- package/x11r7/xlib_libXpm/xlib_libXpm.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.hash b/package/x11r7/xlib_libXpm/xlib_libXpm.hash index a041f0d440..3582169891 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.hash +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.hash @@ -1,6 +1,6 @@ -# From https://lists.x.org/archives/xorg-announce/2023-April/003385.html -sha256 e6bc5da7a69dbd9bcc67e87c93d4904fe2f5177a0711c56e71fa2f6eff649f51 libXpm-3.5.16.tar.xz -sha512 ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2 libXpm-3.5.16.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003425.html +sha256 64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43 libXpm-3.5.17.tar.xz +sha512 52f9d2664a47a26c1a6ad65d18867de870b66947b0b0d99cca3512756a0aaa6ce2a245c0b49f20b70c3ce48bf04c47c333e8119a147465c277bca727f6ab017e libXpm-3.5.17.tar.xz # Locally calculated sha256 a80d706759624a04aa90fd62bc644a360fc3d72e08dcbfb129f167c11ca285de COPYING sha256 cbe4ced0abc8a32bea471204ae01038c202758ce4e772d3d329a341ffa761e71 COPYRIGHT diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk index 51f6283370..0bba3ea946 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.mk +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBXPM_VERSION = 3.5.16 +XLIB_LIBXPM_VERSION = 3.5.17 XLIB_LIBXPM_SOURCE = libXpm-$(XLIB_LIBXPM_VERSION).tar.xz XLIB_LIBXPM_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBXPM_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:55:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:55:07 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/x11r7/xlib_libX11: security bump to version 1.8.7 Message-ID: <20231030215542.03C6A861F0@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=0dcf6edd9b7c3c19cd812103942d53e763ac47f8 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003426.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 98d0a7b95f416c88581788b5ad3ee3d1d5cbbd67) Signed-off-by: Peter Korsgaard --- package/x11r7/xlib_libX11/xlib_libX11.hash | 6 +++--- package/x11r7/xlib_libX11/xlib_libX11.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libX11/xlib_libX11.hash b/package/x11r7/xlib_libX11/xlib_libX11.hash index f443d947a4..56fecee9ff 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.hash +++ b/package/x11r7/xlib_libX11/xlib_libX11.hash @@ -1,5 +1,5 @@ -# From https://lists.x.org/archives/xorg-announce/2023-June/003407.html -sha256 59535b7cc6989ba806a022f7e8533b28c4397b9d86e9d07b6df0c0703fa25cc9 libX11-1.8.6.tar.xz -sha512 b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade libX11-1.8.6.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003426.html +sha256 05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee libX11-1.8.7.tar.xz +sha512 d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 libX11-1.8.7.tar.xz # Locally computed sha256 2e7012a140f000735a7172674a2d314398d79622444fba65d108b029b29ab283 COPYING diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk index 75199f1a3d..920a5d9aed 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.mk +++ b/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBX11_VERSION = 1.8.6 +XLIB_LIBX11_VERSION = 1.8.7 XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.xz XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBX11_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:54:07 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:54:07 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/x11r7/xlib_libXpm: security bump to version 3.5.17 Message-ID: <20231030215647.B339386213@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=396c902ec9648e92308f0895c91de5e8bcf8f59f branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-43788, CVE-2023-43789 and CVE-2023-43786 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003425.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit c709ab6fff85285c3f44eacbe780302a29a32ede) Signed-off-by: Peter Korsgaard --- package/x11r7/xlib_libXpm/xlib_libXpm.hash | 6 +++--- package/x11r7/xlib_libXpm/xlib_libXpm.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.hash b/package/x11r7/xlib_libXpm/xlib_libXpm.hash index a041f0d440..3582169891 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.hash +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.hash @@ -1,6 +1,6 @@ -# From https://lists.x.org/archives/xorg-announce/2023-April/003385.html -sha256 e6bc5da7a69dbd9bcc67e87c93d4904fe2f5177a0711c56e71fa2f6eff649f51 libXpm-3.5.16.tar.xz -sha512 ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2 libXpm-3.5.16.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003425.html +sha256 64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43 libXpm-3.5.17.tar.xz +sha512 52f9d2664a47a26c1a6ad65d18867de870b66947b0b0d99cca3512756a0aaa6ce2a245c0b49f20b70c3ce48bf04c47c333e8119a147465c277bca727f6ab017e libXpm-3.5.17.tar.xz # Locally calculated sha256 a80d706759624a04aa90fd62bc644a360fc3d72e08dcbfb129f167c11ca285de COPYING sha256 cbe4ced0abc8a32bea471204ae01038c202758ce4e772d3d329a341ffa761e71 COPYRIGHT diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk index 51f6283370..0bba3ea946 100644 --- a/package/x11r7/xlib_libXpm/xlib_libXpm.mk +++ b/package/x11r7/xlib_libXpm/xlib_libXpm.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBXPM_VERSION = 3.5.16 +XLIB_LIBXPM_VERSION = 3.5.17 XLIB_LIBXPM_SOURCE = libXpm-$(XLIB_LIBXPM_VERSION).tar.xz XLIB_LIBXPM_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBXPM_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:53:53 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:53:53 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/x11r7/xlib_libX11: security bump to version 1.8.7 Message-ID: <20231030215647.A660886211@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=ef4f123ee3fb111ff4927bfc7580e4abf41a632a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fix CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787 https://lists.x.org/archives/xorg-announce/2023-October/003424.html https://lists.x.org/archives/xorg-announce/2023-October/003426.html Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 98d0a7b95f416c88581788b5ad3ee3d1d5cbbd67) Signed-off-by: Peter Korsgaard --- package/x11r7/xlib_libX11/xlib_libX11.hash | 6 +++--- package/x11r7/xlib_libX11/xlib_libX11.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xlib_libX11/xlib_libX11.hash b/package/x11r7/xlib_libX11/xlib_libX11.hash index f443d947a4..56fecee9ff 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.hash +++ b/package/x11r7/xlib_libX11/xlib_libX11.hash @@ -1,5 +1,5 @@ -# From https://lists.x.org/archives/xorg-announce/2023-June/003407.html -sha256 59535b7cc6989ba806a022f7e8533b28c4397b9d86e9d07b6df0c0703fa25cc9 libX11-1.8.6.tar.xz -sha512 b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade libX11-1.8.6.tar.xz +# From https://lists.x.org/archives/xorg-announce/2023-October/003426.html +sha256 05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee libX11-1.8.7.tar.xz +sha512 d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 libX11-1.8.7.tar.xz # Locally computed sha256 2e7012a140f000735a7172674a2d314398d79622444fba65d108b029b29ab283 COPYING diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk index 75199f1a3d..920a5d9aed 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.mk +++ b/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -4,7 +4,7 @@ # ################################################################################ -XLIB_LIBX11_VERSION = 1.8.6 +XLIB_LIBX11_VERSION = 1.8.7 XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.xz XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib XLIB_LIBX11_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:56:50 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:56:50 +0100 Subject: [Buildroot] [PATCH 1/1] package/cjson: bump to version 1.7.16 In-Reply-To: <20231028203252.1177951-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 28 Oct 2023 22:32:52 +0200") References: <20231028203252.1177951-1-fontaine.fabrice@gmail.com> Message-ID: <878r7j3hb1.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 > Signed-off-by: Fabrice Fontaine Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 21:56:42 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:56:42 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/cjson: bump to version 1.7.16 Message-ID: <20231030215809.7822486219@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=f5f5ae024472e9862236ab062d126f071d16fed6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 654f18c61709cf8c7d92236c1b81bb80a9ce70d6) Signed-off-by: Peter Korsgaard --- package/cjson/cjson.hash | 2 +- package/cjson/cjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash index c39e884cdd..74844d6aa6 100644 --- a/package/cjson/cjson.hash +++ b/package/cjson/cjson.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2 cjson-1.7.15.tar.gz +sha256 451131a92c55efc5457276807fc0c4c2c2707c9ee96ef90c47d68852d5384c6c cjson-1.7.16.tar.gz sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index ad9d76a4ba..7ed732ac90 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -CJSON_VERSION = 1.7.15 +CJSON_VERSION = 1.7.16 CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 21:56:34 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 22:56:34 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/cjson: bump to version 1.7.16 Message-ID: <20231030215913.DB0218621D@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4a5f362728b99c4292b709ac54496568bf190ade branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit 654f18c61709cf8c7d92236c1b81bb80a9ce70d6) Signed-off-by: Peter Korsgaard --- package/cjson/cjson.hash | 2 +- package/cjson/cjson.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash index c39e884cdd..74844d6aa6 100644 --- a/package/cjson/cjson.hash +++ b/package/cjson/cjson.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2 cjson-1.7.15.tar.gz +sha256 451131a92c55efc5457276807fc0c4c2c2707c9ee96ef90c47d68852d5384c6c cjson-1.7.16.tar.gz sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index ad9d76a4ba..7ed732ac90 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -4,7 +4,7 @@ # ################################################################################ -CJSON_VERSION = 1.7.15 +CJSON_VERSION = 1.7.16 CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT From peter at korsgaard.com Mon Oct 30 22:00:51 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:00:51 +0100 Subject: [Buildroot] [PATCH 1/1] package/python-pycryptodomex: fix package build with gcc 4.8 In-Reply-To: <20231027155221.977752-1-ovlevin@salutedevices.com> (Oleg Lyovin via buildroot's message of "Fri, 27 Oct 2023 18:52:21 +0300") References: <20231027155221.977752-1-ovlevin@salutedevices.com> Message-ID: <874ji73h4c.fsf@48ers.dk> >>>>> "Oleg" == Oleg Lyovin via buildroot writes: > python-pycryptodomex uses C99 features like variable > declaration in for-loop statement, while old compilers > assumes C89 by default. > This patch explicitly specifies C99 standard. > Change-Id: I934211714307cea43541167fbc72ff30fb66ad5f > Signed-off-by: Oleg Lyovin Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 22:00:16 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:00:16 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/python-pycryptodomex: fix package build with gcc 4.8 Message-ID: <20231030220111.D44ED8622A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e856907cd9f0a601e71985abcfed74e08498495c branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x python-pycryptodomex uses C99 features like variable declaration in for-loop statement, while old compilers assumes C89 by default. This patch explicitly specifies C99 standard. Signed-off-by: Oleg Lyovin [yann.morin.1998 at free.fr: use TARGET/HOST_CFLAGS] Signed-off-by: Yann E. MORIN (cherry picked from commit 3c6f3af24db4b79d652874dd6c381ce3d6c5266b) Signed-off-by: Peter Korsgaard --- package/python-pycryptodomex/python-pycryptodomex.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk index 3790aa4787..d6eb2a9513 100644 --- a/package/python-pycryptodomex/python-pycryptodomex.mk +++ b/package/python-pycryptodomex/python-pycryptodomex.mk @@ -13,5 +13,8 @@ PYTHON_PYCRYPTODOMEX_LICENSE = \ Public Domain (pycrypto original code) PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto +PYTHON_PYCRYPTODOMEX_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99" +HOST_PYTHON_PYCRYPTODOMEX_ENV = CFLAGS="$(HOST_CFLAGS) -std=c99" + $(eval $(python-package)) $(eval $(host-python-package)) From peter at korsgaard.com Mon Oct 30 22:01:38 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:01:38 +0100 Subject: [Buildroot] [PATCH 1/1] package/php: bump version to 8.2.12 In-Reply-To: <20231026172713.4147295-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 26 Oct 2023 19:27:13 +0200") References: <20231026172713.4147295-1-bernd@kuhls.net> Message-ID: <87zfzz22il.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 > Release notes: https://www.php.net/releases/8_2_12.php > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Mon Oct 30 22:01:14 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:01:14 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] package/php: bump version to 8.2.12 Message-ID: <20231030220301.4317E86239@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=e18785ef382702a31ac67d51a85504f2acd801e9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 Release notes: https://www.php.net/releases/8_2_12.php Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit a40924107d63551906050b199fe6b93d479a96ce) Signed-off-by: Peter Korsgaard --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index e5f94a5e05..0f77f0082f 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz +sha256 e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132 php-8.2.12.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index 88493b4e0f..e2cdccb275 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.11 +PHP_VERSION = 8.2.12 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From peter at korsgaard.com Mon Oct 30 22:01:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Mon, 30 Oct 2023 23:01:06 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/php: bump version to 8.2.12 Message-ID: <20231030220301.AB0A786239@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=4196900a1c5e6c03576f617bf7c8ff81bf66dd06 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Changelog: https://www.php.net/ChangeLog-8.php#8.2.12 Release notes: https://www.php.net/releases/8_2_12.php Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit a40924107d63551906050b199fe6b93d479a96ce) Signed-off-by: Peter Korsgaard --- package/php/php.hash | 2 +- package/php/php.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/php/php.hash b/package/php/php.hash index e5f94a5e05..0f77f0082f 100644 --- a/package/php/php.hash +++ b/package/php/php.hash @@ -1,5 +1,5 @@ # From https://www.php.net/downloads.php -sha256 29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 php-8.2.11.tar.xz +sha256 e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132 php-8.2.12.tar.xz # License file sha256 080d0d0cca64181ef8bf1df9fba0c6f0c485f78f79540c479a45b593bb3b33b5 LICENSE diff --git a/package/php/php.mk b/package/php/php.mk index ee33000a6f..add46584c6 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 8.2.11 +PHP_VERSION = 8.2.12 PHP_SITE = https://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES From alistair23 at gmail.com Tue Oct 31 04:04:27 2023 From: alistair23 at gmail.com (Alistair Francis) Date: Tue, 31 Oct 2023 14:04:27 +1000 Subject: [Buildroot] [PATCH] package/xen: security bump to version 4.14.6 In-Reply-To: <20231030142153.645962-1-peter@korsgaard.com> References: <20231030142153.645962-1-peter@korsgaard.com> Message-ID: On Tue, Oct 31, 2023 at 12:22?AM Peter Korsgaard wrote: > > Includes a number of bugfixes and the security fixes up to xsa-436: > https://xenproject.org/downloads/xen-project-archives/xen-project-4-14-series/xen-project-4-14-6/ > > Signed-off-by: Peter Korsgaard Reviewed-by: Alistair Francis Alistair > --- > package/xen/xen.hash | 2 +- > package/xen/xen.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/xen/xen.hash b/package/xen/xen.hash > index 5637f0e8d9..d2350ac515 100644 > --- a/package/xen/xen.hash > +++ b/package/xen/xen.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 a1a24092ad14658eed420b7d56b67d0d9d5b314e96c30a799b45f3a721f98bf0 xen-4.14.5.tar.gz > +sha256 7917681bc6e744789815131fcf7799e6b83a0d45b5801ac654322b037ce472f8 xen-4.14.6.tar.gz > sha256 ecca9538e9d3f7e3c2bff827502f4495e2ef9e22c451298696ea08886b176c2c COPYING > diff --git a/package/xen/xen.mk b/package/xen/xen.mk > index 169753e89f..651442cfdf 100644 > --- a/package/xen/xen.mk > +++ b/package/xen/xen.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -XEN_VERSION = 4.14.5 > +XEN_VERSION = 4.14.6 > XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) > XEN_LICENSE = GPL-2.0 > XEN_LICENSE_FILES = COPYING > -- > 2.39.2 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From neal.frager at amd.com Tue Oct 31 07:32:43 2023 From: neal.frager at amd.com (Frager, Neal) Date: Tue, 31 Oct 2023 07:32:43 +0000 Subject: [Buildroot] [PATCH v6 01/10] package/binutils-bare-metal: new package In-Reply-To: <20231026180649.66bdde4b@booty> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231026180649.66bdde4b@booty> Message-ID: Hi Thomas, Peter, > This patch adds a new package for building binutils for a bare-metal toolchain. > The cpu architecture is defined by a toolchain-bare-metal virtual package. > While any cpu architecture could be used, the default configuration > will be a Xilinx microblaze little endian architecture, so that > buildroot will be able to build the microblaze firmware applications for zynqmp and versal. > > In order to build the zynqmp pmufw and versal plm applications without > error, binutils version 2.41 or higher is required with the following > patches. All six of these patches have been submitted upstream with > five of them already applied. > [Tested on Kria KV260 starter kit] > Tested-by: Luca Ceresoli > Reviewed-by: Luca Ceresoli > -- > Luca Ceresoli, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com As you can see, Luca has tested and validated the patch set on the AMD Kria KV260 Starter Kit. Do you have any feedback regarding the patch set? If the only concern is build time, I would be ok with making two sets of zynqmp defconfigs. One that builds the pmufw from source for each board, and the other which downloads a pre-built pmufw. Then users can easily choose which they prefer. What are your thoughts? Best regards, Neal Frager AMD From peter at korsgaard.com Tue Oct 31 07:50:44 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 08:50:44 +0100 Subject: [Buildroot] [PATCH 1/1] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series In-Reply-To: <20231026173836.4149430-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 26 Oct 2023 19:38:36 +0200") References: <20231026173836.4149430-1-bernd@kuhls.net> Message-ID: <87sf5r1b8r.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Signed-off-by: Bernd Kuhls Committed to 2023.02.x and 2023.08.x (without the 6.5.x bump), thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Oct 31 07:52:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 08:52:06 +0100 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: <20231026181904.3218122-1-bernd@kuhls.net> (Bernd Kuhls's message of "Thu, 26 Oct 2023 20:19:04 +0200") References: <20231026181904.3218122-1-bernd@kuhls.net> Message-ID: <87o7gf1b6h.fsf@48ers.dk> >>>>> "Bernd" == Bernd Kuhls writes: > Fixes CVE-2023-5363: > https://www.openssl.org/news/secadv/20231024.txt > https://www.openssl.org/news/vulnerabilities.html > Changelog: https://www.openssl.org/news/cl31.txt > Signed-off-by: Bernd Kuhls For 2023.08.x I will instead bump to 3.0.12, which contains the same fix. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Oct 31 08:43:18 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 09:43:18 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] package/libopenssl: security bump to version 3.0.12 Message-ID: <20231031084413.046B78625B@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c4f67bf98102e2ad1a338be22231605d97669daf branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Fixes CVE-2023-5363: https://www.openssl.org/news/secadv/20231024.txt https://www.openssl.org/news/vulnerabilities.html Signed-off-by: Peter Korsgaard --- package/libopenssl/libopenssl.hash | 4 ++-- package/libopenssl/libopenssl.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash index 27e2c73d1d..532d8f9aa6 100644 --- a/package/libopenssl/libopenssl.hash +++ b/package/libopenssl/libopenssl.hash @@ -1,5 +1,5 @@ -# From https://www.openssl.org/source/openssl-3.0.11.tar.gz.sha256 -sha256 b3425d3bb4a2218d0697eb41f7fc0cdede016ed19ca49d168b78e8d947887f55 openssl-3.0.11.tar.gz +# From https://www.openssl.org/source/openssl-3.0.12.tar.gz.sha256 +sha256 f93c9e8edde5e9166119de31755fc87b4aa34863662f67ddfcba14d0b6b69b61 openssl-3.0.12.tar.gz # License files sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index 5ff878dded..7da1c9699a 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBOPENSSL_VERSION = 3.0.11 +LIBOPENSSL_VERSION = 3.0.12 LIBOPENSSL_SITE = https://www.openssl.org/source LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz LIBOPENSSL_LICENSE = Apache-2.0 From peter at korsgaard.com Tue Oct 31 07:47:06 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 08:47:06 +0100 Subject: [Buildroot] [git commit branch/2023.08.x] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231031084412.DF7D08625A@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=d329d67020d101e2d05a011d07f5d3163c450241 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.08.x Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit 96298d3b547670f3fdff26dccc095161ef17d6e4) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/linux.hash | 12 ++++++------ package/linux-headers/Config.in.host | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/linux/linux.hash b/linux/linux.hash index e8621b2b9c..506e3ead7b 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,13 +1,13 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc sha256 9626ec84a39ecb009bf11a271dd520941159c165d4e62f82e3a77b79d20ff27d linux-6.4.16.tar.xz -sha256 627f7724c675036639290fb5c39e3fdeb3d566b80b192c45f4a808ab54c8c0a0 linux-6.1.59.tar.xz +sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 c624b9fe7ee4708d34cfd0b7ebc58037afac7463338cc498641ea31c55eeacb8 linux-5.15.136.tar.xz -sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz -sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz +sha256 9749b21609f9e7ad9c46160c2c107db823b99cef77fa6cb080b6c2dc685fb2f7 linux-5.15.137.tar.xz +sha256 a0ea77a1f5eeb1387d62e7a8df585ffc53758e4da153d98224ccd833bd2624c1 linux-5.10.199.tar.xz +sha256 ffe6e4fa1266d5480e529fc8659f572c57030040c548face30f56fd5a223bba4 linux-5.4.259.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz -sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz +sha256 9d89e0bc6503c0d61178fd1605f6ed04b016873b9f370372866644b11fee3d31 linux-4.19.297.tar.xz +sha256 1db5926e02dc29b30d77f731228d3bd31402e2feba3aa59bfb2c730eedbeecc5 linux-4.14.328.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index f56cce3495..51f29a0d8c 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -400,12 +400,12 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.327" if BR2_KERNEL_HEADERS_4_14 - default "4.19.296" if BR2_KERNEL_HEADERS_4_19 - default "5.4.258" if BR2_KERNEL_HEADERS_5_4 - default "5.10.198" if BR2_KERNEL_HEADERS_5_10 - default "5.15.136" if BR2_KERNEL_HEADERS_5_15 - default "6.1.59" if BR2_KERNEL_HEADERS_6_1 + default "4.14.328" if BR2_KERNEL_HEADERS_4_14 + default "4.19.297" if BR2_KERNEL_HEADERS_4_19 + default "5.4.259" if BR2_KERNEL_HEADERS_5_4 + default "5.10.199" if BR2_KERNEL_HEADERS_5_10 + default "5.15.137" if BR2_KERNEL_HEADERS_5_15 + default "6.1.60" if BR2_KERNEL_HEADERS_6_1 default "6.4.16" if BR2_KERNEL_HEADERS_6_4 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL From peter at korsgaard.com Tue Oct 31 07:48:54 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 08:48:54 +0100 Subject: [Buildroot] [git commit branch/2023.02.x] {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.{1, 5}.x series Message-ID: <20231031084518.368CE86262@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=915f157d476c132ce6d24c85600d9d1978051e46 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN (cherry picked from commit 96298d3b547670f3fdff26dccc095161ef17d6e4) [Peter: drop 6.5.x bump] Signed-off-by: Peter Korsgaard --- linux/Config.in | 2 +- linux/linux.hash | 12 ++++++------ package/linux-headers/Config.in.host | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index f1862c0f30..ab93ed8b5b 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -128,7 +128,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "6.1.59" if BR2_LINUX_KERNEL_LATEST_VERSION + default "6.1.60" if BR2_LINUX_KERNEL_LATEST_VERSION default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ diff --git a/linux/linux.hash b/linux/linux.hash index 1f065f57a4..bc15492672 100644 --- a/linux/linux.hash +++ b/linux/linux.hash @@ -1,12 +1,12 @@ # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256 627f7724c675036639290fb5c39e3fdeb3d566b80b192c45f4a808ab54c8c0a0 linux-6.1.59.tar.xz +sha256 58520e7ae5a6af254ddf7ddbfc42e4373b0d36c67d467f6e35a3bd1672f5fb0a linux-6.1.60.tar.xz # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 c624b9fe7ee4708d34cfd0b7ebc58037afac7463338cc498641ea31c55eeacb8 linux-5.15.136.tar.xz -sha256 2b141fce994364fbbf137b01e7910d3518b8cdbdf18f1811b48470ab4ce2fa05 linux-5.10.198.tar.xz -sha256 39701815a7a1b5ea4253db18e9327a45926a944499628d032da63c1bb6ea623e linux-5.4.258.tar.xz +sha256 9749b21609f9e7ad9c46160c2c107db823b99cef77fa6cb080b6c2dc685fb2f7 linux-5.15.137.tar.xz +sha256 a0ea77a1f5eeb1387d62e7a8df585ffc53758e4da153d98224ccd833bd2624c1 linux-5.10.199.tar.xz +sha256 ffe6e4fa1266d5480e529fc8659f572c57030040c548face30f56fd5a223bba4 linux-5.4.259.tar.xz # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 636166769dc232d18f399f40c22107c289aab8702e752301588e64ab582860ae linux-4.19.296.tar.xz -sha256 bff085d8832dd5c3d717beeebdff78a0b678f0a2307f83acf22764dabdcb0a5a linux-4.14.327.tar.xz +sha256 9d89e0bc6503c0d61178fd1605f6ed04b016873b9f370372866644b11fee3d31 linux-4.19.297.tar.xz +sha256 1db5926e02dc29b30d77f731228d3bd31402e2feba3aa59bfb2c730eedbeecc5 linux-4.14.328.tar.xz # Locally computed sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 65327d6b9f..dd7676f81c 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -384,12 +384,12 @@ endchoice config BR2_DEFAULT_KERNEL_HEADERS string - default "4.14.327" if BR2_KERNEL_HEADERS_4_14 - default "4.19.296" if BR2_KERNEL_HEADERS_4_19 - default "5.4.258" if BR2_KERNEL_HEADERS_5_4 - default "5.10.198" if BR2_KERNEL_HEADERS_5_10 - default "5.15.136" if BR2_KERNEL_HEADERS_5_15 - default "6.1.59" if BR2_KERNEL_HEADERS_6_1 + default "4.14.328" if BR2_KERNEL_HEADERS_4_14 + default "4.19.297" if BR2_KERNEL_HEADERS_4_19 + default "5.4.259" if BR2_KERNEL_HEADERS_5_4 + default "5.10.199" if BR2_KERNEL_HEADERS_5_10 + default "5.15.137" if BR2_KERNEL_HEADERS_5_15 + default "6.1.60" if BR2_KERNEL_HEADERS_6_1 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ From fancp2007 at gmail.com Tue Oct 31 08:49:35 2023 From: fancp2007 at gmail.com (Scott Fan) Date: Tue, 31 Oct 2023 16:49:35 +0800 Subject: [Buildroot] [PATCH] configs/friendlyarm_nanopi_neo2_defconfig: new board Message-ID: <20231031084936.2397858-1-fancp2007@gmail.com> Add support for the FriendlyARM NanoPi NEO2 with mainline components: - U-Boot 2023.10 - Linux 6.1.60 Board's wiki page: - https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO2 Signed-off-by: Scott Fan --- board/friendlyarm/nanopi-neo2/extlinux.conf | 4 ++ board/friendlyarm/nanopi-neo2/genimage.cfg | 40 ++++++++++++++++ board/friendlyarm/nanopi-neo2/post-build.sh | 8 ++++ board/friendlyarm/nanopi-neo2/readme.txt | 34 +++++++++++++ .../nanopi-neo2/uboot/fit_spl.fragment | 1 + .../nanopi-neo2/uboot/fit_spl_atf_its.patch | 48 +++++++++++++++++++ configs/friendlyarm_nanopi_neo2_defconfig | 48 +++++++++++++++++++ 7 files changed, 183 insertions(+) create mode 100644 board/friendlyarm/nanopi-neo2/extlinux.conf create mode 100644 board/friendlyarm/nanopi-neo2/genimage.cfg create mode 100755 board/friendlyarm/nanopi-neo2/post-build.sh create mode 100644 board/friendlyarm/nanopi-neo2/readme.txt create mode 100644 board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment create mode 100644 board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch create mode 100644 configs/friendlyarm_nanopi_neo2_defconfig diff --git a/board/friendlyarm/nanopi-neo2/extlinux.conf b/board/friendlyarm/nanopi-neo2/extlinux.conf new file mode 100644 index 0000000000..04aea276a2 --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/extlinux.conf @@ -0,0 +1,4 @@ +label friendlyarm-nanopi-buildroot + kernel /Image + devicetree /sun50i-h5-nanopi-neo2.dtb + append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait diff --git a/board/friendlyarm/nanopi-neo2/genimage.cfg b/board/friendlyarm/nanopi-neo2/genimage.cfg new file mode 100644 index 0000000000..54465ca7fe --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-nanopi-neo2.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/board/friendlyarm/nanopi-neo2/post-build.sh b/board/friendlyarm/nanopi-neo2/post-build.sh new file mode 100755 index 0000000000..0ee47013f1 --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/post-build.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +# Parse BINARIES_DIR variable from arguments while missing in environment variable +[ -n "${BINARIES_DIR}" ] || BINARIES_DIR="$1" + +install -m 0644 -D "${BOARD_DIR}/extlinux.conf" "${BINARIES_DIR}/extlinux/extlinux.conf" diff --git a/board/friendlyarm/nanopi-neo2/readme.txt b/board/friendlyarm/nanopi-neo2/readme.txt new file mode 100644 index 0000000000..50795a1cfb --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/readme.txt @@ -0,0 +1,34 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the Nanopi NEO2. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Wiki link: +https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO2 + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make friendlyarm_nanopi_neo2_defconfig + $ make + +Note: you will need access to the internet to download the required +sources. + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + $ sudo sync + +Insert the micro SDcard in your Nanopi NEO2 and power it up. The console +is on the serial line, 115200 8N1. diff --git a/board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment b/board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment new file mode 100644 index 0000000000..50447d0dff --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment @@ -0,0 +1 @@ +CONFIG_SPL_FIT_SOURCE="board/friendlyarm/nanopi-neo2/fit_spl_atf.its" diff --git a/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch b/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch new file mode 100644 index 0000000000..b2edd9fb37 --- /dev/null +++ b/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch @@ -0,0 +1,48 @@ +diff --git a/board/friendlyarm/nanopi-neo2/fit_spl_atf.its b/board/friendlyarm/nanopi-neo2/fit_spl_atf.its +new file mode 100644 +index 0000000000..7447d23988 +--- /dev/null ++++ b/board/friendlyarm/nanopi-neo2/fit_spl_atf.its +@@ -0,0 +1,42 @@ ++/dts-v1/; ++ ++/ { ++ description = "Configuration to load ATF before U-Boot"; ++ #address-cells = <1>; ++ ++ images { ++ uboot { ++ description = "U-Boot (64-bit)"; ++ data = /incbin/("u-boot-nodtb.bin"); ++ type = "standalone"; ++ arch = "arm64"; ++ compression = "none"; ++ load = <0x4a000000>; ++ }; ++ atf { ++ description = "ARM Trusted Firmware"; ++ data = /incbin/("bl31.bin"); ++ type = "firmware"; ++ arch = "arm64"; ++ compression = "none"; ++ load = <0x44000>; ++ entry = <0x44000>; ++ }; ++ fdt_1 { ++ description = "sun50i-h5-nanopi-neo2"; ++ data = /incbin/("arch/arm/dts/sun50i-h5-nanopi-neo2.dtb"); ++ type = "flat_dt"; ++ compression = "none"; ++ }; ++ }; ++ configurations { ++ default = "config_1"; ++ ++ config_1 { ++ description = "sun50i-h5-nanopi-neo2"; ++ firmware = "uboot"; ++ loadables = "atf"; ++ fdt = "fdt_1"; ++ }; ++ }; ++}; diff --git a/configs/friendlyarm_nanopi_neo2_defconfig b/configs/friendlyarm_nanopi_neo2_defconfig new file mode 100644 index 0000000000..a88bf8957c --- /dev/null +++ b/configs/friendlyarm_nanopi_neo2_defconfig @@ -0,0 +1,48 @@ +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV4=y + +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y + +# Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" +BR2_TARGET_UBOOT_PATCH="board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo2" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_FORMAT_ITB=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.60" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-nanopi-neo2" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_GENERIC_ISSUE="Welcome to FriendlyARM NanoPi NEO2" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/friendlyarm/nanopi-neo2/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-neo2/genimage.cfg" -- 2.25.1 From fancp2007 at gmail.com Tue Oct 31 09:00:46 2023 From: fancp2007 at gmail.com (Scott Fan) Date: Tue, 31 Oct 2023 17:00:46 +0800 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: <87o7gf1b6h.fsf@48ers.dk> References: <20231026181904.3218122-1-bernd@kuhls.net> <87o7gf1b6h.fsf@48ers.dk> Message-ID: For 2023.02.x branch, it need bump to 1.1.1w version. Scott Fan On Tue, Oct 31, 2023 at 3:52?PM Peter Korsgaard wrote: > > >>>>> "Bernd" == Bernd Kuhls writes: > > > Fixes CVE-2023-5363: > > https://www.openssl.org/news/secadv/20231024.txt > > https://www.openssl.org/news/vulnerabilities.html > > > Changelog: https://www.openssl.org/news/cl31.txt > > > Signed-off-by: Bernd Kuhls > > For 2023.08.x I will instead bump to 3.0.12, which contains the same > fix. > > -- > Bye, Peter Korsgaard > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot From giulio.benetti at benettiengineering.com Tue Oct 31 09:01:14 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 31 Oct 2023 10:01:14 +0100 Subject: [Buildroot] [PATCH] package/nodejs: fix additional modules installation Message-ID: <20231031090114.618913-1-giulio.benetti@benettiengineering.com> At the moment the npm_config_nodedir is set to the build directory but npm nodedir must be the one on target to find the expected files. So let's set npm_config_nodedir to $(TARGET_DIR)/usr. Fixes: https://bugs.busybox.net/show_bug.cgi?id=15826 Signed-off-by: Giulio Benetti --- package/nodejs/nodejs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 2a8c570932..8f86413049 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -20,7 +20,7 @@ NODEJS_BIN_ENV = $(TARGET_CONFIGURE_OPTS) \ npm_config_arch=$(NODEJS_CPU) \ npm_config_target_arch=$(NODEJS_CPU) \ npm_config_build_from_source=true \ - npm_config_nodedir=$(BUILD_DIR)/nodejs-$(NODEJS_VERSION) \ + npm_config_nodedir=$(TARGET_DIR)/usr \ npm_config_prefix=$(TARGET_DIR)/usr \ npm_config_cache=$(BUILD_DIR)/.npm-cache -- 2.34.1 From bugzilla at busybox.net Tue Oct 31 09:03:46 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 31 Oct 2023 09:03:46 +0000 Subject: [Buildroot] [Bug 15826] nodejs modules with native extensions fail to install In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15826 --- Comment #2 from Giulio Benetti --- Hi Marcus, can you please try this [0] patch and report the bug is fixed? https://patchwork.ozlabs.org/project/buildroot/patch/20231031090114.618913-1-giulio.benetti at benettiengineering.com/ Thank you Best regards -- You are receiving this mail because: You are on the CC list for the bug. From peter at korsgaard.com Tue Oct 31 09:48:26 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 10:48:26 +0100 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: (Scott Fan's message of "Tue, 31 Oct 2023 17:00:46 +0800") References: <20231026181904.3218122-1-bernd@kuhls.net> <87o7gf1b6h.fsf@48ers.dk> Message-ID: <87jzr315sl.fsf@48ers.dk> >>>>> "Scott" == Scott Fan writes: > For 2023.02.x branch, it need bump to 1.1.1w version. Why? Isn't 1.1.1w only including the security fix for the Windows-only CVE-2023-4807 vulnerability? https://www.openssl.org/news/secadv/20230908.txt -- Bye, Peter Korsgaard From yann.morin at orange.com Tue Oct 31 10:22:14 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Tue, 31 Oct 2023 11:22:14 +0100 Subject: [Buildroot] [PATCH 0/2] utils/docker-run network improvements Message-ID: From: "Yann E. MORIN" Hello All! Make our utils/docker-run wrapper easier to use in corporate networks: - don't create a private, NATed network - expose the user's proxy variables in the container Regards, Yann E. MORIN. The following changes since commit bc8d214e988b95b125ad2b9409286cbf820370b0 package/python-django: bump version to 4.2.6 (2023-10-22 20:37:13 +0200) are available as patches in this mail series, for you to apply patches up to 31538ce771c6cd9f4719a969740b6ff04e3c8e62 utils/docker-run: propagate user's proxy settings (2023-10-31 11:21:03 +0100) ---------------------------------------------------------------- Yann E. MORIN (2): utils/docker: use host's network setup utils/docker-run: propagate user's proxy settings utils/docker-run | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- ____________ .-----------------.--------------------: _ :------------------. | Yann E. MORIN | Real-Time Embedded | __/ ) | /"\ ASCII RIBBON | | | Software Designer | _/ - /' | \ / CAMPAIGN | | +33 638.411.245 '--------------------: (_ `--, | X AGAINST | | yann.morin (at) orange.com |_=" ,--' | / \ HTML MAIL | '--------------------------------------:______/_____:------------------' ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From yann.morin at orange.com Tue Oct 31 10:22:16 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Tue, 31 Oct 2023 11:22:16 +0100 Subject: [Buildroot] [PATCH 1/2] utils/docker: use host's network setup In-Reply-To: References: Message-ID: <68133ee58ba7da20be579110a95d6413a49c4049.1698747732.git.yann.morin@orange.com> From: "Yann E. MORIN" Our utils/docker-run wrapper is needed to provide a reproducible build environment: tools, variables, etc... but is not meant for isolation. As such, we do not care what the network configuration is used. In some settings (e.g. enterprise networks), it is often the case that a VPN is in use, especially in those wonderful times of widespread remote work. Letting Docker decide on the network setup, will most usually lead to it creating a private network that is NATed onto the principal network interface, leading to non-functional network in the container when a VPN is in use. As such, always use the host network configuration, and do not let Docker create a private network for the container. Signed-off-by: Yann E. MORIN Cc: Ricardo Martincoski --- utils/docker-run | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/docker-run b/utils/docker-run index 848e9b3840..464cbf691f 100755 --- a/utils/docker-run +++ b/utils/docker-run @@ -21,6 +21,7 @@ declare -a docker_opts=( --user "$(id -u):$(id -g)" --workdir "$(pwd)" --security-opt label=disable + --network host ) declare -a mountpoints=( -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From yann.morin at orange.com Tue Oct 31 10:22:17 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Tue, 31 Oct 2023 11:22:17 +0100 Subject: [Buildroot] [PATCH 2/2] utils/docker-run: propagate user's proxy settings In-Reply-To: References: Message-ID: <31538ce771c6cd9f4719a969740b6ff04e3c8e62.1698747732.git.yann.morin@orange.com> From: "Yann E. MORIN" When dealing in enterprise-grade networks, it is more often than not the case that the wider internet is unreachable but through proxies. There is a usual set of variables that users can set in the environment to point various tools (curl, git...) to use those proxies. Propagate those variables inside the container. Note that there are a few tools (e.g. cvs, svn) that may not recognise those variables; instead, they require custom setup that is too complex to handle, so is left as an exercise to interested parties. Similarly, there exists another type of proxy, socks4 or socks5, that also requires custom setup that is not trivial to replicate in a container, so is also left out as an exrcise for interested parties. In the large majority of cases, those few variables are enough to Make Things Work?. Signed-off-by: Yann E. MORIN Cc: Ricardo Martincoski --- utils/docker-run | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/utils/docker-run b/utils/docker-run index 464cbf691f..79694474c1 100755 --- a/utils/docker-run +++ b/utils/docker-run @@ -29,6 +29,26 @@ declare -a mountpoints=( "$(pwd)" ) +# curl lists (and recognises and uses) other types of *_proxy variables, +# but only those make sense for Buildroot: +for env in all_proxy http_proxy https_proxy ftp_proxy no_proxy; do + if [ "${!env}" ]; then + docker_opts+=( --env "${env}" ) + # The lower-case variant takes precedence on the upper-case one + # (dixit curl) + continue + fi + # http_proxy is only lower-case (dixit curl) + if [ "${env}" = http_proxy ]; then + continue + fi + # All the others also exist in the upper-case variant + env="${env^^}" + if [ "${!env}" ]; then + docker_opts+=( --env "${env}" ) + fi +done + # Empty GIT_DIR means that we are not in a workdir, *and* git is too old # to know about worktrees, so we're not in a worktree either. So it means # we're in the main git working copy, and thus we don't need to mount the -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From fancp2007 at gmail.com Tue Oct 31 11:08:46 2023 From: fancp2007 at gmail.com (Scott Fan) Date: Tue, 31 Oct 2023 19:08:46 +0800 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: <87jzr315sl.fsf@48ers.dk> References: <20231026181904.3218122-1-bernd@kuhls.net> <87o7gf1b6h.fsf@48ers.dk> <87jzr315sl.fsf@48ers.dk> Message-ID: Sorry, i thought it would always follow the upstream. Scott Fan On Tue, Oct 31, 2023 at 5:48?PM Peter Korsgaard wrote: > > >>>>> "Scott" == Scott Fan writes: > > > For 2023.02.x branch, it need bump to 1.1.1w version. > > Why? Isn't 1.1.1w only including the security fix for the Windows-only > CVE-2023-4807 vulnerability? > > https://www.openssl.org/news/secadv/20230908.txt > > -- > Bye, Peter Korsgaard From luca.ceresoli at bootlin.com Tue Oct 31 11:12:22 2023 From: luca.ceresoli at bootlin.com (Luca Ceresoli) Date: Tue, 31 Oct 2023 12:12:22 +0100 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: <20231018111357.2898095-1-neal.frager@amd.com> References: <20231018111357.2898095-1-neal.frager@amd.com> Message-ID: <20231031121222.1dfa4035@booty> Hi Neal, On Wed, 18 Oct 2023 12:13:57 +0100 Neal Frager wrote: > This patch adds support for Xilinx Zynq ZC702 starter kit. > > ZC702 features can be found here: > https://www.xilinx.com/products/boards-and-kits/ek-z7-zc702-g.html > > Signed-off-by: Neal Frager This patch looks very clean, however I have a question. The zc702 config you are adding is identical to the existing one for the zc706 except for the device tree: -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc706" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc702" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc706" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc702" However, exactly because it is so similar, I am not sure about the usefulness of having a large number of (from the build system perspective) very similar configurations, where a user can simply 'sed s/zc706/zc702/' to work on a different board. I'm wondering whether we could have a unique defconfig that builds artifacts able to boot on both boards. This probably build down to whether the hardware components involved in the boot process are similar enough to allow U-Boot to boot with the same embedded device tree for both boards. At a quick glance the two dts files appear very similar. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From yegorslists at googlemail.com Tue Oct 31 11:39:39 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Tue, 31 Oct 2023 12:39:39 +0100 Subject: [Buildroot] [PATCH v4 2/4] package/python-terminaltables: use correct pep517 build backend In-Reply-To: <20231029234003.2606006-2-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> <20231029234003.2606006-2-james.hilliard1@gmail.com> Message-ID: On Mon, Oct 30, 2023 at 12:40?AM James Hilliard wrote: > > We need to migrate python-terminaltables to the pep517 poetry-core > backend as setuptools is not supported when building with a pep517 > frontend. > > This package currently builds using setuptools as we do not yet > use setuptools with a pep517 build frontend. The package contains > a setuptools fallback which only can be used when using setuptools > without a pep517 frontend as the pep517 frontend will only use the > build backend specified in the package pyproject.toml which is > poetry-core and not setuptools. > > Upstream has merged a patch replacing poetry with poetry-core, however > we can not backport this using a patch file due to CRLF line ending > issues so we will have to apply the change in the patch using sed > instead. > > See upstream commit: > https://github.com/matthewdeanmartin/terminaltables/commit/9e3dda0efb54fee6934c744a13a7336d24c6e9e9 > > Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov > --- > Changes v1 -> v2: > - add more details regarding pep517 frontend compatibility > --- > package/python-terminaltables/python-terminaltables.mk | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/package/python-terminaltables/python-terminaltables.mk b/package/python-terminaltables/python-terminaltables.mk > index b31ed332b6..385c71ae2d 100644 > --- a/package/python-terminaltables/python-terminaltables.mk > +++ b/package/python-terminaltables/python-terminaltables.mk > @@ -7,8 +7,16 @@ > PYTHON_TERMINALTABLES_VERSION = 3.1.10 > PYTHON_TERMINALTABLES_SOURCE = terminaltables-$(PYTHON_TERMINALTABLES_VERSION).tar.gz > PYTHON_TERMINALTABLES_SITE = https://files.pythonhosted.org/packages/f5/fc/0b73d782f5ab7feba8d007573a3773c58255f223c5940a7b7085f02153c3 > -PYTHON_TERMINALTABLES_SETUP_TYPE = setuptools > +PYTHON_TERMINALTABLES_SETUP_TYPE = pep517 > PYTHON_TERMINALTABLES_LICENSE = MIT > PYTHON_TERMINALTABLES_LICENSE_FILES = LICENSE > +PYTHON_TERMINALTABLES_DEPENDENCIES = host-python-poetry-core > + > +# we can't use a normal patch file due to different line endings > +define PYTHON_TERMINALTABLES_USE_POETRY_CORE > + $(SED) 's/requires = \["poetry>=0.12"\]/requires = \["poetry-core>=1.0.0"\]/' $(@D)/pyproject.toml > + $(SED) 's/build-backend = "poetry.masonry.api"/build-backend = "poetry.core.masonry.api"/' $(@D)/pyproject.toml > +endef > +PYTHON_TERMINALTABLES_POST_PATCH_HOOKS += PYTHON_TERMINALTABLES_USE_POETRY_CORE > > $(eval $(python-package)) > -- > 2.34.1 > From yegorslists at googlemail.com Tue Oct 31 11:40:17 2023 From: yegorslists at googlemail.com (Yegor Yefremov) Date: Tue, 31 Oct 2023 12:40:17 +0100 Subject: [Buildroot] [PATCH v4 1/4] package/python-poetry-core: new host package In-Reply-To: <20231029234003.2606006-1-james.hilliard1@gmail.com> References: <20231029234003.2606006-1-james.hilliard1@gmail.com> Message-ID: On Mon, Oct 30, 2023 at 12:40?AM James Hilliard wrote: > > Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov > --- > Changes v1 -> v2: > - update to 1.7.0 > - drop patch which is now upstream > --- > package/python-poetry-core/python-poetry-core.hash | 5 +++++ > package/python-poetry-core/python-poetry-core.mk | 14 ++++++++++++++ > 2 files changed, 19 insertions(+) > create mode 100644 package/python-poetry-core/python-poetry-core.hash > create mode 100644 package/python-poetry-core/python-poetry-core.mk > > diff --git a/package/python-poetry-core/python-poetry-core.hash b/package/python-poetry-core/python-poetry-core.hash > new file mode 100644 > index 0000000000..c6b180c852 > --- /dev/null > +++ b/package/python-poetry-core/python-poetry-core.hash > @@ -0,0 +1,5 @@ > +# md5, sha256 from https://pypi.org/pypi/poetry-core/json > +md5 7461547cac0e0e9c8cd7463aa87e7470 poetry_core-1.7.0.tar.gz > +sha256 8f679b83bd9c820082637beca1204124d5d2a786e4818da47ec8acefd0353b74 poetry_core-1.7.0.tar.gz > +# Locally computed sha256 checksums > +sha256 f1978133782b90f4733bc308ddb19267c3fe04797c88d9ed3bc219032495a982 LICENSE > diff --git a/package/python-poetry-core/python-poetry-core.mk b/package/python-poetry-core/python-poetry-core.mk > new file mode 100644 > index 0000000000..4ca587b11d > --- /dev/null > +++ b/package/python-poetry-core/python-poetry-core.mk > @@ -0,0 +1,14 @@ > +################################################################################ > +# > +# python-poetry-core > +# > +################################################################################ > + > +PYTHON_POETRY_CORE_VERSION = 1.7.0 > +PYTHON_POETRY_CORE_SOURCE = poetry_core-$(PYTHON_POETRY_CORE_VERSION).tar.gz > +PYTHON_POETRY_CORE_SITE = https://files.pythonhosted.org/packages/cb/1c/af7f886e723b2dfbaea9b8a739153f227b386dd856cf956f9fd0ed0a502b > +PYTHON_POETRY_CORE_SETUP_TYPE = pep517 > +PYTHON_POETRY_CORE_LICENSE = MIT > +PYTHON_POETRY_CORE_LICENSE_FILES = LICENSE > + > +$(eval $(host-python-package)) > -- > 2.34.1 > From giulio.benetti at benettiengineering.com Tue Oct 31 12:07:13 2023 From: giulio.benetti at benettiengineering.com (Giulio Benetti) Date: Tue, 31 Oct 2023 13:07:13 +0100 Subject: [Buildroot] [PATCH] package/nodejs/nodejs-src: remove .node files with different architecture Message-ID: <20231031120713.678783-1-giulio.benetti@benettiengineering.com> Actually nodejs-src fails to build when additional modules with prebuilt .node files are added. This is due to Buildroot's check-bin-arch that checks for executable files and libraries that have different architecture from the one we're building for. So let's go through all .node files in $(TARGET_DIR)/usr/lib/node_modules and check if the architecture is different or not found and in case delete the .node file. Fixes: https://bugs.busybox.net/show_bug.cgi?id=15823 Signed-off-by: Giulio Benetti --- package/nodejs/nodejs-src/nodejs-src.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/nodejs/nodejs-src/nodejs-src.mk b/package/nodejs/nodejs-src/nodejs-src.mk index 3452c93728..bdbf0709c6 100644 --- a/package/nodejs/nodejs-src/nodejs-src.mk +++ b/package/nodejs/nodejs-src/nodejs-src.mk @@ -247,6 +247,18 @@ define NODEJS_SRC_INSTALL_MODULES # npm install call below and setting npm_config_rollback=false can both # help in diagnosing the problem. $(NPM) install -g $(NODEJS_SRC_MODULES_LIST) + + # Remove prebuilt files which are not compatible with the architecture + # and OS(Linux) we're building for. NOTE: .node files that don't have a + # readelf output have different ABI(i.e. Windows, Darwin etc.) + for f in $$(find $(TARGET_DIR)/usr/lib/node_modules -type f -name "*.node"); do \ + echo $$f; \ + arch=`$(TARGET_READELF) -h "$$f" 2>&1 | \ + sed -r -e '/^ Machine: +(.+)/!d; s//\1/;' | head -1`; \ + if [ "$$arch" != "$(BR2_READELF_ARCH_NAME)" ]; then \ + rm -f $$f; \ + fi \ + done endef endif -- 2.34.1 From bugzilla at busybox.net Tue Oct 31 12:09:11 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 31 Oct 2023 12:09:11 +0000 Subject: [Buildroot] [Bug 15823] Installing nodejs modules with native extensions fails on first run In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15823 --- Comment #2 from Giulio Benetti --- Hi Marcus, can you please give a try to this [0] pending patch? [0]: https://patchwork.ozlabs.org/project/buildroot/patch/20231031120713.678783-1-giulio.benetti at benettiengineering.com/ Thank you -- You are receiving this mail because: You are on the CC list for the bug. From neal.frager at amd.com Tue Oct 31 12:12:47 2023 From: neal.frager at amd.com (Frager, Neal) Date: Tue, 31 Oct 2023 12:12:47 +0000 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: <20231031121222.1dfa4035@booty> References: <20231018111357.2898095-1-neal.frager@amd.com> <20231031121222.1dfa4035@booty> Message-ID: Hi Luca, > This patch adds support for Xilinx Zynq ZC702 starter kit. > > ZC702 features can be found here: > https://www.xilinx.com/products/boards-and-kits/ek-z7-zc702-g.html > > Signed-off-by: Neal Frager > This patch looks very clean, however I have a question. The zc702 config you are adding is identical to the existing one for the zc706 except for the device tree: > -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc706" > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc702" > -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc706" > +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc702" > However, exactly because it is so similar, I am not sure about the usefulness of having a large number of (from the build system > perspective) very similar configurations, where a user can simply 'sed s/zc706/zc702/' to work on a different board. > I'm wondering whether we could have a unique defconfig that builds artifacts able to boot on both boards. This probably build down to whether the hardware components involved in the boot process are similar enough to allow U-Boot to boot with the same embedded device tree for both boards. At a quick glance the two dts files appear very similar. I do understand your point. From this perspective, we can say the same thing about the zynq_zed_defconfig and the zynq_microzed_defconfig as well. For all 4 of these zynq boards, the DTS definition is all that changes from one defconfig to another. And in all 4 cases, the only differences in the dts files are things like gpio LEDs, switches and whether or not there is a CAN peripheral on board. So you could potentially boot the same images across these boards. You would just lose a peripheral or two that is included in one dts file but not another. My reasoning for creating the zynq_zc702_defconfig is the same as with the zynqmp_kr260_defconfig. I would like for buildroot to be a clear alternative to yocto. This is my primary motivation as an AMD employee. At the moment, if a new user wants to run a yocto or petalinux build for any AMD Xilinx evaluation board, they simply need to use that board's configuration as all of them are included with the meta-xilinx releases. I get that knowledgeable buildroot users can simply 'sed s/zc706/zc702/' to work on a different board. But what about the new user who does not know that changing the dts is all that needs to be done? It may be hard to believe, but I have received questions about certain boards like the zc702 or the zcu104 which do not have an explicit buildroot defconfig, and some users interpret that to mean the board is not supported. But in reality, you and I both know that it takes very little to support another zynq or zynqmp evaluation board now that all the board support is already included in buildroot. The new user does not know this. Even internally at AMD, some people think buildroot does not have support for our products. @Peter can vouch for this as he has personally been involved in getting AMD technical support, and received the feedback that we need to duplicate the problem using the "petalinux flow" even though buildroot and petalinux use the exact same u-boot and Linux release tags. If we compare buildroot with yocto/petalinux, we can see how many boards are supported "out of the box" by yocto/petalinux without having a buildroot defconfig. Below is a nice github containing all of the yocto/petalinux pre-built binaries. https://github.com/Xilinx/soc-prebuilt-firmware/tree/xlnx_rel_v2023.2 You can see that buildroot only includes the following defconfigs: zynq: 1 out 2 defconfigs zynqmp: 2 out of 5 defconfigs kria: 1 out of 3 defconfigs versal: 1 out of 5 defconfigs In many cases, I think this can be a blocker for many new users when deciding to go the buildroot or yocto path. If having too many defconfigs is an issue for buildroot, I would propose we drop support of some boards like the zynq_qmtech board, and include more of the boards that are still actively supported. Would the community be ok with the following list of AMD defconfigs being included in buildroot? I believe the following list includes the most popular boards on our side. I know 10 defconfigs is a lot, but I have no problem with maintaining them, and it would definitely give buildroot the appearance of being an officially supported platform for new users. Half of these defconfigs are already included in buildroot. zynq_zc702 zynq_zc706 zynqmp_zcu102 zynqmp_zcu104 zynqmp_zcu106 kria_kd240 kria_kr260 kria_kv260 versal_vck190 versal_vmk180 What do you think? Best regards, Neal Frager AMD From ju.o at free.fr Tue Oct 31 12:23:00 2023 From: ju.o at free.fr (Julien Olivain) Date: Tue, 31 Oct 2023 13:23:00 +0100 Subject: [Buildroot] [PATCH v5] package/criu: new package In-Reply-To: <20231030103931.2684786-1-marcus.folkesson@gmail.com> References: <20231030103931.2684786-1-marcus.folkesson@gmail.com> Message-ID: <627c2e7888ad6a916e976d470fc23dd6@free.fr> Hi Marcus, Thanks for this updated v5 patch! I confirm I successfully tested this patch on branch master at commit a9d2040 with commands: utils/docker-run make check-package ... 0 warnings generated cat >criu.config < Checkpoint/Restore In Userspace (CRIU), is a software tool for the > Linux operating system to make it possible to freeze a running > application and checkpoint it to persistent storage as a collection of > files. > > Signed-off-by: Marcus Folkesson > --- > > Notes: > v2: > - Addressed comments from Thomas. > - Tested on ARM target and on x86_64 with qemu. > > v3: > - set CONFIG_CHECKPOINT_RESTORE in kernel config > - Only be available for ARMv6, ARMv7 and ARMv8 > > v4: > - set SUBARCH for armv6, armv7 and armv8 > - Use github download helper > > Result from test-pkg: > bootlin-armv5-uclibc [1/6]: SKIPPED > bootlin-armv7-glibc [2/6]: OK > bootlin-armv7m-uclibc [3/6]: SKIPPED > bootlin-x86-64-musl [4/6]: OK > br-arm-full-static [5/6]: SKIPPED > sourcery-arm [6/6]: SKIPPED > 6 builds, 4 skipped, 0 build failed, 0 legal-info failed, 0 > show-info failed > > v5: > - Remove support for s390 arch > - Depend on BR2_HOST_GCC_AT_LEAST_8 > - Depend on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 > - Depend on !BR2_TOOLCHAIN_USES_UCLIBC > - Use BR2_NORMALIZED_ARCH instead of BR2_ARCH > > DEVELOPERS | 1 + > package/Config.in | 1 + > package/criu/Config.in | 55 ++++++++++++++++++++++++++++++++ > package/criu/criu.hash | 3 ++ > package/criu/criu.mk | 71 ++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 131 insertions(+) > create mode 100644 package/criu/Config.in > create mode 100644 package/criu/criu.hash > create mode 100644 package/criu/criu.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index 57015e245e..2047827bd9 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -2007,6 +2007,7 @@ > F: support/testing/tests/package/test_python_pytest.py > F: support/testing/tests/package/test_python_pytest_asyncio.py > > N: Marcus Folkesson > +F: package/criu/ > F: package/libcamera/ > F: package/libcamera-apps/ > F: package/libostree/ > diff --git a/package/Config.in b/package/Config.in > index 4e489c4706..9e2099f6a5 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -2678,6 +2678,7 @@ menu "System tools" > source "package/coreutils/Config.in" > source "package/cpulimit/Config.in" > source "package/cpuload/Config.in" > + source "package/criu/Config.in" > source "package/crun/Config.in" > source "package/daemon/Config.in" > source "package/dc3dd/Config.in" > diff --git a/package/criu/Config.in b/package/criu/Config.in > new file mode 100644 > index 0000000000..7963e6e8df > --- /dev/null > +++ b/package/criu/Config.in > @@ -0,0 +1,55 @@ > +# criu only builds on certain architectures > +config BR2_PACKAGE_CRIU_ARCH_SUPPORTS > + bool > + default y if BR2_ARM_CPU_ARMV6 > + default y if BR2_ARM_CPU_ARMV7A > + default y if BR2_ARM_CPU_ARMV7M > + default y if BR2_ARM_CPU_ARMV8A > + default y if BR2_ARM_CPU_ARMV8M > + default y if BR2_aarch64 > + default y if BR2_i386 > + default y if BR2_mips > + default y if BR2_x86_64 > + default y if BR2_BR2_powerpc64le #Only support powerpc64 with LE > + #default y if BR2_s390x I think this BR2_s390x Kconfig line can be removed. Keeping only the following comment will be sufficient. > + #CRIU has "some" support for s390 but it is not included due to > + #BE/LE endian issues. > + > +menuconfig BR2_PACKAGE_CRIU > + bool "criu" > + depends on BR2_HOST_GCC_AT_LEAST_8 # -march=armv7-a+fp This should be BR2_TOOLCHAIN_GCC_AT_LEAST_8 (i.e. target gcc). It should then replace the "depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8" you already have for protobuf. I didn't see any build failure, as it is probably hidden with the kernel headers >= 4.18 dependency. > + depends on BR2_PACKAGE_CRIU_ARCH_SUPPORTS > + depends on BR2_PACKAGE_HOST_PYTHON3 # host-python3-ssl > + depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c > + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS > + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS > + depends on BR2_INSTALL_LIBSTDCPP # protobuf > + depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, libnl > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf This line should be replaced by BR2_HOST_GCC_AT_LEAST_8, as commented earlier. > + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 # rseq.h > + depends on !BR2_TOOLCHAIN_USES_UCLIBC # no aio.h > + depends on !BR2_STATIC_LIBS # protobuf, libbsd > + depends on BR2_USE_WCHAR # libbsd > + depends on BR2_USE_MMU # libcap > + select BR2_PACKAGE_HOST_PYTHON3_SSL > + select BR2_PACKAGE_PROTOBUF > + select BR2_PACKAGE_PROTOBUF_C > + select BR2_PACKAGE_LIBAIO > + select BR2_PACKAGE_LIBBSD > + select BR2_PACKAGE_LIBCAP > + select BR2_PACKAGE_LIBNET > + select BR2_PACKAGE_LIBNL > + select BR2_PACKAGE_PYTHON3 > + help > + Checkpoint/Restore In Userspace (CRIU), is a software > + tool for the Linux operating system to make it possible > + to freeze a running application and checkpoint it to > + persistent storage as a collection of files. > + > + https://criu.org/Main_Page > + > +comment "criu needs a toolchain w/ threads, dynamic library, wchar" The comment should be slightly refined, with something like, in one line: "criu needs a glibc or musl toolchain w/ threads, gcc >= 8, headers >= 4.18, dynamic library, wchar" > + depends on !BR2_HOST_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS \ The change I proposed earlier should also be reflected here: depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || ... > + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 \ > + || BR2_TOOLCHAIN_USES_UCLIBC \ > + || BR2_STATIC_LIBS || !BR2_USE_WCHAR > diff --git a/package/criu/criu.hash b/package/criu/criu.hash > new file mode 100644 > index 0000000000..2c4a07252b > --- /dev/null > +++ b/package/criu/criu.hash > @@ -0,0 +1,3 @@ > +# Locally calculated > +sha256 > 6a9997981c9fe4730c848ce59346b3a22fad69b803607cb67a3f6ec0557fa474 > criu-3.18.tar.gz > +sha256 > 568a1fa9d90e18a1a1a61ea58ec2eece16b56a5042cc72c1b4f8d4455ae6fcb7 > COPYING > diff --git a/package/criu/criu.mk b/package/criu/criu.mk > new file mode 100644 > index 0000000000..9814e4a0de > --- /dev/null > +++ b/package/criu/criu.mk > @@ -0,0 +1,71 @@ > +################################################################################ > +# > +# CRIU > +# > +################################################################################ > + > +CRIU_VERSION = 3.18 > +CRIU_SITE = $(call github,checkpoint-restore,criu,v$(CRIU_VERSION)) > + > +CRIU_LICENSE = GPL-2.0 > +CRIU_LICENSE_FILES = COPYING > +CRIU_DEPENDENCIES =\ > + host-pkgconf \ > + host-protobuf-c \ > + host-python3 \ > + host-python-pip \ > + libaio \ > + libbsd \ > + libcap \ > + libnet \ > + libnl \ > + protobuf \ > + protobuf-c \ > + python3 > + > +CRIU_MAKE_ENV =\ > + $(TARGET_MAKE_ENV) \ > + $(TARGET_CONFIGURE_OPTS) \ > + CROSS_COMPILE=$(TARGET_CROSS) \ > + WERROR=0 > + > +#Remap to match the used in criu. > +ifeq ($(BR2_NORMALIZED_ARCH),"x86_64") > +CRIU_MAKE_ENV += ARCH=x86 > +else ifeq ($(BR2_NORMALIZED_ARCH),"powerpc") > +CRIU_MAKE_ENV += ARCH=ppc64 > +else ifeq ($(BR2_NORMALIZED_ARCH),"arm64") > +CRIU_MAKE_ENV += ARCH=aarch64 > +else > +CRIU_MAKE_ENV += ARCH=$(BR2_NORMALIZED_ARCH) > +endif > + > +ifeq ($(BR2_ARM_CPU_ARMV6), y) > +CRIU_MAKE_ENV += SUBARCH=armv6 > +else ifeq ($(BR2_ARM_CPU_ARMV7A), y) > +CRIU_MAKE_ENV += SUBARCH=armv7 > +else ifeq ($(BR2_ARM_CPU_ARMV7M), y) > +CRIU_MAKE_ENV += SUBARCH=armv7 > +else ifeq ($(BR2_ARM_CPU_ARMV8A), y) > +CRIU_MAKE_ENV += SUBARCH=armv8 > +else ifeq ($(BR2_ARM_CPU_ARMV8M), y) > +CRIU_MAKE_ENV += SUBARCH=armv8 > +endif > + > +# Criu needs Kernel Checkpoint/restore support which is not enabled > +# by default. > +define CRIU_LINUX_CONFIG_FIXUPS > + $(call KCONFIG_ENABLE_OPT,CONFIG_CHECKPOINT_RESTORE) > +endef > + > +define CRIU_BUILD_CMDS > + rm -rf $(@D)/images/google/protobuf/descriptor.proto > + ln -s $(STAGING_DIR)/usr/include/google/protobuf/descriptor.proto > $(@D)/images/google/protobuf/descriptor.proto > + $(CRIU_MAKE_ENV) $(MAKE) -C $(@D) > +endef > + > +define CRIU_INSTALL_TARGET_CMDS > + $(CRIU_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) > install-criu install-lib install-compel > +endef > + > +$(eval $(generic-package)) > -- > 2.42.0 Best regards, Julien. From thomas.petazzoni at bootlin.com Tue Oct 31 12:34:15 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:34:15 +0100 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: References: <20231018111357.2898095-1-neal.frager@amd.com> <20231031121222.1dfa4035@booty> Message-ID: <20231031133415.1d89db5a@windsurf> Hello Neal, On Tue, 31 Oct 2023 12:12:47 +0000 "Frager, Neal" wrote: > I do understand your point. From this perspective, we can say the > same thing about the zynq_zed_defconfig and the > zynq_microzed_defconfig as well. For all 4 of these zynq boards, the > DTS definition is all that changes from one defconfig to another. > And in all 4 cases, the only differences in the dts files are things > like gpio LEDs, switches and whether or not there is a CAN peripheral > on board. So you could potentially boot the same images across these > boards. You would just lose a peripheral or two that is included in > one dts file but not another. I think the discussion is not being specific enough here, so let me provide some more background. If the only differences between the zc706 and zc702 defconfigs is the Linux kernel Device Tree (and I insist on Linux kernel Device Tree, not Device Tree for the bootloaders/firmware), then you can have a single configuration that builds multiple Device Trees, and the bootloader selects the right one depending on which board we're booting on. This is exactly what happens in beaglebone_defconfig: BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless" We build multiple Linux kernel Device Trees, and the U-Boot bootloader detects which board we boot on, and selects the right Device Tree. If you are in this situation, then yes we want a single defconfig. However, if the bootloader needs to be different on ZCU702 vs ZCU706, and this difference is not detected at boot-time/run-time, but is handled as a different build-time configuration, then you have no other choice but to have 2 separate defconfigs. Now I see this: +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc702" in the ZCU702 defconfig, vs. BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc706" Which means you need to have a different build-time configuration of U-Boot, and therefore it's not possible to support both platforms in the same Buildroot defconfig. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:37:46 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:37:46 +0100 Subject: [Buildroot] [PATCH v6 01/10] package/binutils-bare-metal: new package In-Reply-To: <20231020114236.4129636-1-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> Message-ID: <20231031133746.5ce62f07@windsurf> Hello, I'm late to the party, but here are some comments. On Fri, 20 Oct 2023 12:42:27 +0100 Neal Frager via buildroot wrote: > diff --git a/package/binutils-bare-metal/2.41/0001-sh-conf.patch b/package/binutils-bare-metal/2.41/0001-sh-conf.patch > new file mode 120000 > index 0000000000..26dff99523 > --- /dev/null > +++ b/package/binutils-bare-metal/2.41/0001-sh-conf.patch I'm not happy with how patches are handled here. I think package/binutils-bare-metal/2.41/ should be a symlink to package/binutils/2.41/, and all patches you need should be added to package/binutils/2.41/. I don't want to see a different patch stack to be applied on binutils-bare-metal compared to binutils. > diff --git a/package/binutils-bare-metal/Config.in.host b/package/binutils-bare-metal/Config.in.host > new file mode 100644 > index 0000000000..e70bee8fa2 > --- /dev/null > +++ b/package/binutils-bare-metal/Config.in.host > @@ -0,0 +1,15 @@ > +config BR2_PACKAGE_HOST_BINUTILS_BARE_METAL > + bool "host binutils-bare-metal" This visible config option is useless, as it's anyway only selected by host-toolchain-bare-metal. I believe it can simply be dropped. > + help > + Build GNU binutils for a bare-metal toolchain > + > +if BR2_PACKAGE_HOST_BINUTILS_BARE_METAL > + > +config BR2_PACKAGE_HOST_BINUTILS_BARE_METAL_VERSION > + string > + default "2.41" This option is invisible (it has no prompt), so it is useless. Just hardcode 2.41 in package/binutils-bare-metal/binutils-bare-metal.mk. > diff --git a/package/binutils-bare-metal/binutils-bare-metal.hash b/package/binutils-bare-metal/binutils-bare-metal.hash > new file mode 100644 > index 0000000000..3aab4d433d > --- /dev/null > +++ b/package/binutils-bare-metal/binutils-bare-metal.hash > @@ -0,0 +1,6 @@ > +# From https://gcc.gnu.org/pub/binutils/releases/sha512.sum > +sha512 5df45d0bd6ddabdce4f35878c041e46a92deef01e7dea5facc97fd65cc06b59abc6fba0eb454b68e571c7e14038dc823fe7f2263843e6e627b7444eaf0fe9374 binutils-2.41.tar.xz > + > +# locally calculated > +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING3 > +sha256 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d COPYING.LIB Perhaps this should be a symlink to package/binutils/binutils.hash ? > diff --git a/package/binutils-bare-metal/binutils-bare-metal.mk b/package/binutils-bare-metal/binutils-bare-metal.mk > new file mode 100644 > index 0000000000..c361a5102a > --- /dev/null > +++ b/package/binutils-bare-metal/binutils-bare-metal.mk > @@ -0,0 +1,39 @@ > +################################################################################ > +# > +# binutils-bare-metal > +# > +################################################################################ > + > +HOST_BINUTILS_BARE_METAL_VERSION = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_BINUTILS_BARE_METAL_VERSION)) > +ifeq ($(HOST_BINUTILS_BARE_METAL_VERSION),) > +HOST_BINUTILS_BARE_METAL_VERSION = 2.41 > +endif # BINUTILS_VERSION Just hardcode the version to 2.41, no option needed. Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:41:52 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:41:52 +0100 Subject: [Buildroot] [PATCH v6 02/10] package/gcc-bare-metal: new package In-Reply-To: <20231020114236.4129636-2-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-2-neal.frager@amd.com> Message-ID: <20231031134152.792af099@windsurf> Hello, On Fri, 20 Oct 2023 12:42:28 +0100 Neal Frager via buildroot wrote: > diff --git a/package/gcc-bare-metal/Config.in.host b/package/gcc-bare-metal/Config.in.host > new file mode 100644 > index 0000000000..ca7735340c > --- /dev/null > +++ b/package/gcc-bare-metal/Config.in.host > @@ -0,0 +1,12 @@ > +config BR2_PACKAGE_HOST_GCC_BARE_METAL > + bool "host gcc-bare-metal" > + help > + Build GCC for a bare-metal toolchain > + > +if BR2_PACKAGE_HOST_GCC_BARE_METAL > + > +config BR2_PACKAGE_HOST_GCC_BARE_METAL_VERSION > + string > + default "13.2.0" Both of these options are useless, they should be dropped. > diff --git a/package/gcc-bare-metal/gcc-bare-metal.hash b/package/gcc-bare-metal/gcc-bare-metal.hash > new file mode 100644 > index 0000000000..5c5c28fa7e > --- /dev/null > +++ b/package/gcc-bare-metal/gcc-bare-metal.hash Symlink to package/gcc/gcc.hash ? > diff --git a/package/gcc-bare-metal/gcc-bare-metal.mk b/package/gcc-bare-metal/gcc-bare-metal.mk > new file mode 100644 > index 0000000000..fe6f931008 > --- /dev/null > +++ b/package/gcc-bare-metal/gcc-bare-metal.mk > @@ -0,0 +1,68 @@ > +################################################################################ > +# > +# gcc-bare-metal > +# > +################################################################################ > + > +HOST_GCC_BARE_METAL_VERSION = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_GCC_BARE_METAL_VERSION)) > +ifeq ($(HOST_GCC_BARE_METAL_VERSION),) > +HOST_GCC_BARE_METAL_VERSION = 13.2.0 > +endif Just harcode the version. > + > +HOST_GCC_BARE_METAL_SITE = \ > + https://ftp.gnu.org/gnu/gcc/gcc-$(HOST_GCC_BARE_METAL_VERSION) > +HOST_GCC_BARE_METAL_SOURCE = gcc-$(HOST_GCC_BARE_METAL_VERSION).tar.xz > + > +HOST_GCC_BARE_METAL_LICENSE = GPL-2.0, GPL-3.0, LGPL-2.1, LGPL-3.0 > +HOST_GCC_BARE_METAL_LICENSE_FILES = COPYING COPYING3 COPYING.LIB COPYING3.LIB > + > +HOST_GCC_BARE_METAL_DEPENDENCIES = \ > + host-binutils-bare-metal \ > + host-gmp \ > + host-mpc \ > + host-mpfr \ > + host-isl > + > +# gcc doesn't support in-tree build, so we create a 'build' > +# subdirectory in the gcc sources, and build from there. > +define GCC_BARE_METAL_CONFIGURE_SYMLINK > + mkdir -p $(@D)/build > + ln -sf ../configure $(@D)/build/configure > +endef > + > +HOST_GCC_BARE_METAL_PRE_CONFIGURE_HOOKS += GCC_BARE_METAL_CONFIGURE_SYMLINK > +HOST_GCC_BARE_METAL_SUBDIR = build > + > +HOST_GCC_BARE_METAL_MAKE_OPTS = \ > + $(HOST_GCC_COMMON_MAKE_OPTS) \ > + all-gcc \ > + all-target-libgcc > + > +HOST_GCC_BARE_METAL_INSTALL_OPTS = install-gcc install-target-libgcc > + > +GCC_BARE_METAL_ARCH = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH)) From a patch sequencing perspective, this is a bit weird because BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH does not even exist yet. But I don't have a very good suggestion on how to handle this, so it's fine as is. Should the variable be named HOST_GCC_BARE_METAL_ARCH, for consistency with the other variables? > +HOST_GCC_BARE_METAL_CONF_OPTS = \ > + --target=$(GCC_BARE_METAL_ARCH)-elf \ I'm wondering if BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH shouldn't be the full tuple, instead of assuming it's also going to end in -elf. Whenever we've assumed things like this, it sometimes turned out to be wrong. So I would suggest that BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH carry the full tuple instead. > + --disable-initfini_array \ > + --disable-__cxa_atexit \ > + --disable-libstdcxx-pch \ > + --with-newlib \ > + --disable-threads \ > + --enable-plugins \ > + --with-gnu-as \ > + --disable-libitm \ > + --without-long-double-128 \ > + --without-headers \ > + --enable-languages=c \ > + --disable-multilib \ > + --with-gmp=$(HOST_DIR) \ > + --with-mpc=$(HOST_DIR) \ > + --with-mpfr=$(HOST_DIR) \ > + --with-isl=$(HOST_DIR) \ > + AR_FOR_TARGET=$(O)/host/bin/$(GCC_BARE_METAL_ARCH)-elf-ar \ > + RANLIB_FOR_TARGET=$(O)/host/bin/$(GCC_BARE_METAL_ARCH)-elf-ranlib $(HOST_DIR) instead of $(O)/host/bin Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:43:17 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:43:17 +0100 Subject: [Buildroot] [PATCH v6 03/10] package/newlib-bare-metal: new package In-Reply-To: <20231020114236.4129636-3-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-3-neal.frager@amd.com> Message-ID: <20231031134317.4ce2349e@windsurf> Hello, On Fri, 20 Oct 2023 12:42:29 +0100 Neal Frager via buildroot wrote: > diff --git a/package/newlib-bare-metal/Config.in.host b/package/newlib-bare-metal/Config.in.host > new file mode 100644 > index 0000000000..be92a1d6a6 > --- /dev/null > +++ b/package/newlib-bare-metal/Config.in.host > @@ -0,0 +1,12 @@ > +config BR2_PACKAGE_HOST_NEWLIB_BARE_METAL > + bool "host newlib-bare-metal" > + help > + Build the newlib C library for a bare-metal toolchain > + > +if BR2_PACKAGE_HOST_NEWLIB_BARE_METAL > + > +config BR2_PACKAGE_HOST_NEWLIB_BARE_METAL_VERSION > + string > + default "4.1.0" > + > +endif #BR2_PACKAGE_HOST_NEWLIB_BARE_METAL Like the other packages: this Config.in is useless, so it can be dropped. > diff --git a/package/newlib-bare-metal/newlib-bare-metal.hash b/package/newlib-bare-metal/newlib-bare-metal.hash > new file mode 100644 > index 0000000000..1a681ecf77 > --- /dev/null > +++ b/package/newlib-bare-metal/newlib-bare-metal.hash > @@ -0,0 +1,8 @@ > +# Locally calculated > +sha256 f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154 newlib-4.1.0.tar.gz > + > +# Hashes for license files locally calculated > +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING > +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB > +sha256 f3b7f3e4426b1fa6f60198dae7adfedd94b77b28db2d108adc0253575011e0ff COPYING.LIBGLOSS > +sha256 422aa40293093fb54fc66e692a0d68fd0b24ed5602e5d1d33ad05ba3909057e9 COPYING.NEWLIB > diff --git a/package/newlib-bare-metal/newlib-bare-metal.mk b/package/newlib-bare-metal/newlib-bare-metal.mk > new file mode 100644 > index 0000000000..a42e04877a > --- /dev/null > +++ b/package/newlib-bare-metal/newlib-bare-metal.mk > @@ -0,0 +1,37 @@ > +################################################################################ > +# > +# newlib-bare-metal > +# > +################################################################################ > + > +HOST_NEWLIB_BARE_METAL_VERSION = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_NEWLIB_BARE_METAL_VERSION)) > +ifeq ($(HOST_NEWLIB_BARE_METAL_VERSION),) > +HOST_NEWLIB_BARE_METAL_VERSION = 4.1.0 > +endif Just hardcode the version number. > + > +HOST_NEWLIB_BARE_METAL_SITE = ftp://sourceware.org/pub/newlib > +HOST_NEWLIB_BARE_METAL_SOURCE = newlib-$(HOST_NEWLIB_BARE_METAL_VERSION).tar.gz > +HOST_NEWLIB_BARE_METAL_DEPENDENCIES = host-gcc-bare-metal > + > +HOST_NEWLIB_BARE_METAL_LICENSE = GPL-2.0, GPL-3.0, LGPL-2.1, LGPL-3.0 > +HOST_NEWLIB_BARE_METAL_LICENSE_FILES = COPYING \ > + COPYING.LIB \ > + COPYING.LIBGLOSS \ > + COPYING.NEWLIB > + > +NEWLIB_ARCH = \ > + $(call qstrip,$(BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH)) > + > +HOST_NEWLIB_BARE_METAL_CONF_OPTS = \ > + --target=$(NEWLIB_ARCH)-elf \ > + CC_FOR_TARGET=$(HOST_DIR)/bin/$(NEWLIB_ARCH)-elf-gcc \ > + AR_FOR_TARGET=$(HOST_DIR)/bin/$(NEWLIB_ARCH)-elf-ar \ > + RANLIB_FOR_TARGET=$(HOST_DIR)/bin/$(NEWLIB_ARCH)-elf-ranlib \ Same comment as on the gcc patch on whether BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH should carry the architecture name, or the full tuple. Preference for the latter on my side. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:51:10 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:51:10 +0100 Subject: [Buildroot] [PATCH v6 04/10] toolchain/toolchain-bare-metal-buildroot: new toolchain In-Reply-To: <20231020114236.4129636-4-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-4-neal.frager@amd.com> Message-ID: <20231031135110.3927dd18@windsurf> Hello, On Fri, 20 Oct 2023 12:42:30 +0100 Neal Frager via buildroot wrote: > diff --git a/toolchain/Config.in b/toolchain/Config.in > index d8081f1b9d..b1333f92f0 100644 > --- a/toolchain/Config.in > +++ b/toolchain/Config.in > @@ -59,6 +59,7 @@ config BR2_TOOLCHAIN_EXTERNAL > > endchoice > > +source "toolchain/toolchain-bare-metal-buildroot/Config.in" > source "toolchain/toolchain-buildroot/Config.in" > source "toolchain/toolchain-external/Config.in" I'm not really happy with where this ends up showing in menuconfig. Indeed, in menuconfig, we end up seeing something like this: Toolchain type (External toolchain) ---> [*] host toolchain-bare-metal -*- host binutils-bare-metal -*- host gcc-bare-metal -*- host newlib-bare-metal *** Toolchain External Options *** Toolchain (Bootlin toolchains) ---> So basically, right in the middle of the settings for the "normal" toolchain, we have those options about the bare-metal toolchain. Maybe something like this instead: diff --git a/toolchain/Config.in b/toolchain/Config.in index b1333f92f0..278d1de65c 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -59,7 +59,6 @@ config BR2_TOOLCHAIN_EXTERNAL endchoice -source "toolchain/toolchain-bare-metal-buildroot/Config.in" source "toolchain/toolchain-buildroot/Config.in" source "toolchain/toolchain-external/Config.in" @@ -919,4 +918,8 @@ config BR2_TOOLCHAIN_HAS_LIBQUADMATH default y if BR2_i386 || BR2_x86_64 default y if BR2_POWERPC_CPU_HAS_VSX +comment "Bare metal toolchain" + +source "toolchain/toolchain-bare-metal-buildroot/Config.in" + endmenu Basically, move it at the end of toolchain/Config.in, with a small Config.in comment separating it from the rest. > > diff --git a/toolchain/toolchain-bare-metal-buildroot/Config.in b/toolchain/toolchain-bare-metal-buildroot/Config.in > new file mode 100644 > index 0000000000..6ebf2cdf86 > --- /dev/null > +++ b/toolchain/toolchain-bare-metal-buildroot/Config.in > @@ -0,0 +1,21 @@ > +config BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT > + bool "host toolchain-bare-metal" > + select BR2_PACKAGE_HOST_BINUTILS_BARE_METAL > + select BR2_PACKAGE_HOST_GCC_BARE_METAL > + select BR2_PACKAGE_HOST_NEWLIB_BARE_METAL Those selects are no longer needed, as all those options will be gone. > + help > + Build a bare-metal toolchain in addition to the main Linux toolchain > + > +if BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT > + > +config BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH > + string This option needs to be made visible (with a prompt), otherwise nobody can chose a different architecture/tuple. > + default "microblazeel-xilinx" Is "xilinx" really relevant here? I don't think it is. I'm also wondering whether having a default value actually makes sense. It should probably just stay empty by default, and be defined by the specific defconfigs that need this? > + help > + select architecture for bare-metal toolchain > + > +source "package/binutils-bare-metal/Config.in.host" > +source "package/gcc-bare-metal/Config.in.host" > +source "package/newlib-bare-metal/Config.in.host" These file inclusions can be dropped. > +++ b/toolchain/toolchain-bare-metal-buildroot/toolchain-bare-metal-buildroot.mk > @@ -0,0 +1,7 @@ > +################################################################################ > +# > +# toolchain-bare-metal-buildroot > +# > +################################################################################ > + > +(eval $(host-virtual-package)) I'm a bit rusty with virtual packages, but I don't see where this virtual package pulls in host-newlib-bare-metal as a dependency. Don't you need: TOOLCHAIN_BARE_METAL_BUILDROOT_DEPENDENCIES = host-newlib-bare-metal to make sure you trigger the build of host-newlib-bare-metal -> host-gcc-bare-metal -> host-binutils-bare-metal ? Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:52:07 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:52:07 +0100 Subject: [Buildroot] [PATCH v6 03/10] package/newlib-bare-metal: new package In-Reply-To: <20231020114236.4129636-3-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-3-neal.frager@amd.com> Message-ID: <20231031135207.6de4a317@windsurf> On Fri, 20 Oct 2023 12:42:29 +0100 Neal Frager via buildroot wrote: > +$(eval $(host-autotools-package)) Thinking more about this, this should very likely be a target package (newlib-bare-metal) rather than a host package (host-newlib-bare-metal). Indeed, newlib is really cross-compiled for the target, it's akin to the glibc/musl/uclibc packages, but for the bare metal toolchain. Best regards, Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:54:19 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:54:19 +0100 Subject: [Buildroot] [PATCH v6 05/10] boot/zynqmp-firmware: new boot firmware In-Reply-To: <20231020114236.4129636-5-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-5-neal.frager@amd.com> Message-ID: <20231031135419.56b25f1c@windsurf> Hello, On Fri, 20 Oct 2023 12:42:31 +0100 Neal Frager via buildroot wrote: > diff --git a/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify-sequential-Makefiles.patch b/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify-sequential-Makefiles.patch > new file mode 100644 > index 0000000000..29c652d6ef > --- /dev/null > +++ b/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify-sequential-Makefiles.patch > @@ -0,0 +1,115 @@ > +From 23002defd462845db376425a7b7d975f3deba83d Mon Sep 17 00:00:00 2001 > +From: Neal Frager > +Date: Mon, 24 Apr 2023 12:53:25 +0100 > +Subject: [PATCH v1 1/1] pmufw: misc/Makefile: specify sequential Makefiles No patch numbering (1/1). This is normally reported by "make check-package". > +ZYNQMP_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_ZYNQMP_FIRMWARE_VERSION)) > +ZYNQMP_FIRMWARE_SITE = \ > + $(call github,Xilinx,embeddedsw,$(ZYNQMP_FIRMWARE_VERSION)) > +ZYNQMP_FIRMWARE_LICENSE = MIT > +ZYNQMP_FIRMWARE_LICENSE_FILES = license.txt > +ZYNQMP_FIRMWARE_INSTALL_IMAGES = YES > +ZYNQMP_FIRMWARE_INSTALL_TARGET = NO > +ZYNQMP_FIRMWARE_DEPENDENCIES = host-newlib-bare-metal This should be host-toolchain-bare-metal-buildroot. Otherwise your toolchain-bare-metal-buildroot virtual package is useless. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From thomas.petazzoni at bootlin.com Tue Oct 31 12:57:10 2023 From: thomas.petazzoni at bootlin.com (Thomas Petazzoni) Date: Tue, 31 Oct 2023 13:57:10 +0100 Subject: [Buildroot] [PATCH v6 08/10] boot/versal-firmware: new boot firmware In-Reply-To: <20231020114236.4129636-8-neal.frager@amd.com> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-8-neal.frager@amd.com> Message-ID: <20231031135710.7fd653b1@windsurf> Hello, On Fri, 20 Oct 2023 12:42:34 +0100 Neal Frager via buildroot wrote: > diff --git a/boot/versal-firmware/Config.in b/boot/versal-firmware/Config.in > new file mode 100644 > index 0000000000..b7ca7b866f > --- /dev/null > +++ b/boot/versal-firmware/Config.in > @@ -0,0 +1,38 @@ > +config BR2_TARGET_VERSAL_FIRMWARE > + bool "versal-firmware" > + select BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_BUILDROOT Selecting host packages is not really needed, and this case it doesn't even really make sense because this package anyway needs to be configured to be told for which architecture the bare-metal toolchain should be compiled. > +VERSAL_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_VERSAL_FIRMWARE_VERSION)) > +VERSAL_FIRMWARE_SITE = \ > + $(call github,Xilinx,embeddedsw,$(VERSAL_FIRMWARE_VERSION)) > +VERSAL_FIRMWARE_LICENSE = MIT > +VERSAL_FIRMWARE_LICENSE_FILES = license.txt > +VERSAL_FIRMWARE_INSTALL_IMAGES = YES > +VERSAL_FIRMWARE_INSTALL_TARGET = NO > +VERSAL_FIRMWARE_DEPENDENCIES = host-newlib-bare-metal host-toolchain-bare-metal-buildroot > + > +CUSTOM_CFLAGS = $(call qstrip,$(BR2_TARGET_VERSAL_FIRMWARE_CUSTOM_CFLAGS)) Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > +VERSAL_CFLAGS = "-Os -flto -ffat-lto-objects $(CUSTOM_CFLAGS)" Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > + > +VERSAL_FIRMWARE_PDI = $(call qstrip,$(BR2_TARGET_VERSAL_FIRMWARE_PDI)) > + > +ifneq ($(findstring ://,$(VERSAL_FIRMWARE_PDI)),) > +VERSAL_FIRMWARE_EXTRA_DOWNLOADS = $(VERSAL_FIRMWARE_PDI) > +BR_NO_CHECK_HASH_FOR += $(notdir $(VERSAL_FIRMWARE_PDI)) > +PDI_PATH = $(VERSAL_FIRMWARE_DL_DIR)/$(notdir $(VERSAL_FIRMWARE_PDI)) Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > +else ifneq ($(VERSAL_FIRMWARE_PDI),) > +PDI_PATH = $(shell readlink -f $(VERSAL_FIRMWARE_PDI)) Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > +endif #VERSAL_FIRMWARE_PDI > + > +define VERSAL_FIRMWARE_BUILD_CMDS > + $(MAKE) -C $(@D)/lib/sw_apps/versal_plm/src/versal \ > + COMPILER=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc \ > + ARCHIVER=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc-ar \ > + CC=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc \ > + CFLAGS=$(VERSAL_CFLAGS) > + > + $(MAKE) -C $(@D)/lib/sw_apps/versal_psmfw/src/versal \ > + COMPILER=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc \ > + ARCHIVER=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc-ar \ > + CC=$(HOST_DIR)/bin/microblazeel-xilinx-elf-gcc \ > + CFLAGS=$(VERSAL_CFLAGS) > +endef > + > +PLM_PATH = $(@D)/lib/sw_apps/versal_plm/src/versal/plm.elf > +PSMFW_PATH = $(@D)/lib/sw_apps/versal_psmfw/src/versal/psmfw.elf Please prefix all variables with the package name, i.e VERSAL_FIRMWARE_. > diff --git a/boot/versal-firmware/xilinx_v2023.1/0001-sw_apps-versal_plm-add-support-of-parallel-build.patch b/boot/versal-firmware/xilinx_v2023.1/0001-sw_apps-versal_plm-add-support-of-parallel-build.patch > new file mode 100644 > index 0000000000..84fffc1d82 > --- /dev/null > +++ b/boot/versal-firmware/xilinx_v2023.1/0001-sw_apps-versal_plm-add-support-of-parallel-build.patch > @@ -0,0 +1,157 @@ > +From 245509f87776c7727973480f08ead6f293a2f3b2 Mon Sep 17 00:00:00 2001 > +From: Neal Frager > +Date: Mon, 4 Sep 2023 07:08:02 +0100 > +Subject: [PATCH 1/2] sw_apps:versal_plm: add support of parallel build No patch numbering (reported by "make check-package") > +Subject: [PATCH 2/2] sw_apps:versal_psmfw: add support of parallel build No patch numbering (reported by "make check-package") Thanks! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com From peter at korsgaard.com Tue Oct 31 12:34:33 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 13:34:33 +0100 Subject: [Buildroot] [PATCH 1/1] package/libopenssl: security bump version to 3.1.4 In-Reply-To: (Scott Fan's message of "Tue, 31 Oct 2023 19:08:46 +0800") References: <20231026181904.3218122-1-bernd@kuhls.net> <87o7gf1b6h.fsf@48ers.dk> <87jzr315sl.fsf@48ers.dk> Message-ID: <87fs1r0y3q.fsf@48ers.dk> >>>>> "Scott" == Scott Fan writes: > Sorry, i thought it would always follow the upstream. We normally do, but given that there is no added value for !windows, I haven't done the work to update the LTS. Normally it would be taken care of once the next update comes out with Linux fixes, but that is unlikely to happen for 1.1.1 given that it is EOL. But if you like to have 1.1.1w then that is fine by me, please send a patch. -- Bye, Peter Korsgaard From neal.frager at amd.com Tue Oct 31 13:30:15 2023 From: neal.frager at amd.com (Frager, Neal) Date: Tue, 31 Oct 2023 13:30:15 +0000 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: <8a0d97bb-2fe5-4e09-8e95-b928a431ce1e@amd.com> References: <20231018111357.2898095-1-neal.frager@amd.com> <20231031121222.1dfa4035@booty> <20231031133415.1d89db5a@windsurf> <8a0d97bb-2fe5-4e09-8e95-b928a431ce1e@amd.com> Message-ID: Hi Thomas, Luca, > Hello Neal, > > On Tue, 31 Oct 2023 12:12:47 +0000 > "Frager, Neal" wrote: > >> I do understand your point. From this perspective, we can say the >> same thing about the zynq_zed_defconfig and the >> zynq_microzed_defconfig as well. For all 4 of these zynq boards, the >> DTS definition is all that changes from one defconfig to another. >> And in all 4 cases, the only differences in the dts files are things >> like gpio LEDs, switches and whether or not there is a CAN peripheral >> on board. So you could potentially boot the same images across these >> boards. You would just lose a peripheral or two that is included in >> one dts file but not another. > > I think the discussion is not being specific enough here, so let me > provide some more background. > > If the only differences between the zc706 and zc702 defconfigs is the > Linux kernel Device Tree (and I insist on Linux kernel Device Tree, > not Device Tree for the bootloaders/firmware), then you can have a > single configuration that builds multiple Device Trees, and the > bootloader selects the right one depending on which board we're > booting on. This is exactly what happens in beaglebone_defconfig: > > BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless" > > We build multiple Linux kernel Device Trees, and the U-Boot bootloader > detects which board we boot on, and selects the right Device Tree. > > If you are in this situation, then yes we want a single defconfig. > > However, if the bootloader needs to be different on ZCU702 vs ZCU706, > and this difference is not detected at boot-time/run-time, but is > handled as a different build-time configuration, then you have no > other choice but to have 2 separate defconfigs. > I have never really get DTB U-Boot resection to work on these "old" boards. > It can be done and would work fine but the issue is that information about board is saved in eeprom which is user accessible without any RO protection. > I have seen a lot of these boards with empty eeproms that having detection mechanism based on it is not a good idea. > Another option would be use information about silicon version to differentiate between them but at the end of day it is not worth to spend time on it. > Thanks, > Michal In addition to not being able to detect which board we are running on, the zynq and zynqmp dts definitions are used to select the ps7_init or psu_init included by the spl for the target board as well. Some boards do not share the same ddr memory, such as the zcu106 revA and the zcu102 rev 1.0. So even if we were to build all of the device trees, we still need to know which board we are building for in order to have an spl which will be able to boot the target. Unfortunately, I do not see how to support the different boards outside of having an individual defconfig for each board. The remaining question is just a matter of how many zynq, zynqmp and versal defconfigs is the right amount for buildroot? I would like to be able to support the following 11 boards, if it would be ok for the buildroot community. 5 of these 11 are already included in buildroot. zynq_zc702 zynq_zc706 zynqmp_zcu102 zynqmp_zcu104 zynqmp_zcu106 zynqmp_kria_kd240 zynqmp_kria_kr260 zynqmp_kria_kv260 versal_vck190 versal_vek280 (coming next year) versal_vmk180 In exchange, I would be ok with dropping the zynq_qmtech board and possibly one of the zynq_zed boards. Best regards, Neal Frager AMD From yann.morin at orange.com Tue Oct 31 13:40:38 2023 From: yann.morin at orange.com (yann.morin at orange.com) Date: Tue, 31 Oct 2023 14:40:38 +0100 Subject: [Buildroot] [PATCH] .editorconfig: add editor-agnostic configuration Message-ID: <5f5d6e6dbfc89ca509f3d73154d7e31d1b6659b5.1698759638.git.yann.morin@orange.com> From: "Yann E. MORIN" EditorConfig [0] is an editor-agnostic configuration file, to set preferences on how to edit text: tabs vs. spaces, tab width, indentation size, line endings... A large number of editors support EditorConfig, either natively [1] or with the help of plugins [2]. Add a basic .editorconfig that provides defaults for most of the files used by Buildroot. More can be added in the future if we can find more matching patterns. The values are chosen a bit arbitrarily, unless we already have a (un)written rule about it. Notably, indentation defaults to using 4 spaces, and only a set of files for which we require TABs (Makefile, essentially) or have already settled for TABs (Kconfig files, init scripts...) are configured so. The traditional width of TABs is 8 char, and we pair TAB indentation with TAB size. Trailing spaces are usually useless, except in asciidoc source where they can be used to force a new line without a new paragraph. One of the limitations of .editorconfig, tough, is that it matches on filenames (e.g. *.py), not on the content (e.g. no use of mimetype, or libmagic, or such). Still, this is enough to cover a lot of files in Buildroot. [0] https://editorconfig.org/ [1] https://editorconfig.org/#pre-installed [2] https://editorconfig.org/#download Signed-off-by: Yann E. MORIN --- .editorconfig | 29 +++++++++++++++++++++++++++++ DEVELOPERS | 1 + 2 files changed, 30 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..4acaf3486b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 4 +tab_width = 8 +trim_trailing_whitespace = true +insert_final_newline = true + +[DEVELOPERS] +indent_style = tab +indent_size = tab + +[{Config*.in*,linux/Config.ext.in}] +indent_style = tab +indent_size = tab + +[{Makefile*,*.mk}] +indent_style = tab +indent_size = tab + +[S{0..9}{0..9}*] +indent_style = tab +indent_size = tab + +[*.adoc] +trim_trailing_whitespace = false diff --git a/DEVELOPERS b/DEVELOPERS index 57015e245e..e180755fe4 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -3169,6 +3169,7 @@ F: package/zisofs-tools/ F: support/download/ N: Yann E. MORIN +F: .editorconfig F: package/gpsd/ N: Yegor Yefremov -- 2.34.1 ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. From fontaine.fabrice at gmail.com Tue Oct 31 14:58:30 2023 From: fontaine.fabrice at gmail.com (Fabrice Fontaine) Date: Tue, 31 Oct 2023 15:58:30 +0100 Subject: [Buildroot] [PATCH 1/1] package/wolfssl: security bump to version 5.6.4 Message-ID: <20231031145830.14831-1-fontaine.fabrice@gmail.com> [Medium] A fix was added, but still under review for completeness, for a Bleichenbacher style attack, leading to being able to decrypt a saved TLS connection and potentially forge a signature after probing with a large number of trial connections. This issue is around RSA decryption and affects static RSA cipher suites on the server side, which are not recommended to be used and are off by default. Static RSA cipher suites were also removed from the TLS 1.3 protocol and only present in TLS 1.2 and lower. All padding versions of RSA decrypt are affected since the code under review is outside of the padding processing. Information about the private keys is NOT compromised in affected code. It's recommended to disable static RSA cipher suites and update the version of wolfSSL used if using RSA private decryption alone outside of TLS. https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.4-stable Signed-off-by: Fabrice Fontaine --- package/wolfssl/wolfssl.hash | 2 +- package/wolfssl/wolfssl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wolfssl/wolfssl.hash b/package/wolfssl/wolfssl.hash index 3407586edd..fb5a570de8 100644 --- a/package/wolfssl/wolfssl.hash +++ b/package/wolfssl/wolfssl.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 2e74a397fa797c2902d7467d500de904907666afb4ff80f6464f6efd5afb114a wolfssl-5.6.3.tar.gz +sha256 031691906794ff45e1e792561cf31759f5d29ac74936bc8dffb8b14f16d820b4 wolfssl-5.6.4.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/wolfssl/wolfssl.mk b/package/wolfssl/wolfssl.mk index 9b35a6a84a..17452fdcaf 100644 --- a/package/wolfssl/wolfssl.mk +++ b/package/wolfssl/wolfssl.mk @@ -4,7 +4,7 @@ # ################################################################################ -WOLFSSL_VERSION = 5.6.3 +WOLFSSL_VERSION = 5.6.4 WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)-stable) WOLFSSL_INSTALL_STAGING = YES -- 2.42.0 From tianyuanhao3 at 163.com Tue Oct 31 15:50:29 2023 From: tianyuanhao3 at 163.com (TIAN Yuanhao) Date: Tue, 31 Oct 2023 15:50:29 +0000 Subject: [Buildroot] [PATCH 1/1] package/tini: move docker-init to /usr/libexec/docker/ Message-ID: <20231031155029.2689-1-tianyuanhao3@163.com> The docker-init is not intended to be a user-facing command, and as such it is more appropriate for it to be found in /usr/libexec/ than in $PATH. See: https://github.com/moby/moby/commit/6caaa8cadc9e4f1e122b7b2bb4451500bbec6086 https://github.com/docker/docker-ce-packaging/commit/5a998af6f53d978810aa6f5b566a484911ff4ca2 Signed-off-by: TIAN Yuanhao --- package/tini/tini.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/tini/tini.mk b/package/tini/tini.mk index 9da54f8a25..75b6786cfb 100644 --- a/package/tini/tini.mk +++ b/package/tini/tini.mk @@ -31,7 +31,8 @@ endef define TINI_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini - ln -sf tini $(TARGET_DIR)/usr/bin/docker-init + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/libexec/docker + ln -sf ../../bin/tini $(TARGET_DIR)/usr/libexec/docker/docker-init endef # Tini's CMakeLists.txt is not suitable for Buildroot. -- 2.34.1 From peter at korsgaard.com Tue Oct 31 16:39:36 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 17:39:36 +0100 Subject: [Buildroot] [PATCH v2 1/1] configs/zynq_zc702_defconfig: new defconfig In-Reply-To: (Neal Frager's message of "Tue, 31 Oct 2023 13:30:15 +0000") References: <20231018111357.2898095-1-neal.frager@amd.com> <20231031121222.1dfa4035@booty> <20231031133415.1d89db5a@windsurf> <8a0d97bb-2fe5-4e09-8e95-b928a431ce1e@amd.com> Message-ID: <87bkce21br.fsf@48ers.dk> >>>>> "Frager," == Frager, Neal writes: Hi, > The remaining question is just a matter of how many zynq, zynqmp and > versal defconfigs is the right amount for buildroot? I would like to > be able to support the following 11 boards, if it would be ok for the > buildroot community. 5 of these 11 are already included in > buildroot. > zynq_zc702 > zynq_zc706 > zynqmp_zcu102 > zynqmp_zcu104 > zynqmp_zcu106 > zynqmp_kria_kd240 > zynqmp_kria_kr260 > zynqmp_kria_kv260 > versal_vck190 > versal_vek280 (coming next year) > versal_vmk180 > In exchange, I would be ok with dropping the zynq_qmtech board and > possibly one of the zynq_zed > boards. I think the main issue with a lot of defconfigs is maintaining them (but you already do that) and the CI overhead from building all of them. I guess we could come up with some logic to skip some of the zynq* defconfigs from the Gitlab CI setup. Romain, any good ideas? -- Bye, Peter Korsgaard From aolvolk at salutedevices.com Tue Oct 31 17:24:15 2023 From: aolvolk at salutedevices.com (Alisa Volk) Date: Tue, 31 Oct 2023 20:24:15 +0300 Subject: [Buildroot] [PATCH] package/libcurl: introduce option to enable WebSockets support Message-ID: <20231031172415.18496-1-aolvolk@salutedevices.com> Signed-off-by: Alisa Volk --- package/libcurl/Config.in | 6 ++++++ package/libcurl/libcurl.mk | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in index 218309ed56..154215e17e 100644 --- a/package/libcurl/Config.in +++ b/package/libcurl/Config.in @@ -31,6 +31,12 @@ config BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT help Enable support for cookies. +config BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT + bool "websockets support" + default n + help + Enable support for websockets. + config BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES bool "enable extra protocols and features" default y diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index f2c679f162..be85ffa35a 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -152,6 +152,12 @@ else LIBCURL_CONF_OPTS += --disable-proxy endif +ifeq ($(BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT),y) +LIBCURL_CONF_OPTS += --enable-websockets +else +LIBCURL_CONF_OPTS += --disable-websockets +endif + ifeq ($(BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES),y) LIBCURL_CONF_OPTS += \ --enable-dict \ -- From peter at korsgaard.com Tue Oct 31 18:02:57 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 19:02:57 +0100 Subject: [Buildroot] [git commit] package/wolfssl: security bump to version 5.6.4 Message-ID: <20231031180340.CB50186139@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=c4658ede712305455eaf72a67a74509d4434a46a branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master [Medium] A fix was added, but still under review for completeness, for a Bleichenbacher style attack, leading to being able to decrypt a saved TLS connection and potentially forge a signature after probing with a large number of trial connections. This issue is around RSA decryption and affects static RSA cipher suites on the server side, which are not recommended to be used and are off by default. Static RSA cipher suites were also removed from the TLS 1.3 protocol and only present in TLS 1.2 and lower. All padding versions of RSA decrypt are affected since the code under review is outside of the padding processing. Information about the private keys is NOT compromised in affected code. It's recommended to disable static RSA cipher suites and update the version of wolfSSL used if using RSA private decryption alone outside of TLS. https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.4-stable Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/wolfssl/wolfssl.hash | 2 +- package/wolfssl/wolfssl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/wolfssl/wolfssl.hash b/package/wolfssl/wolfssl.hash index 3407586edd..fb5a570de8 100644 --- a/package/wolfssl/wolfssl.hash +++ b/package/wolfssl/wolfssl.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 2e74a397fa797c2902d7467d500de904907666afb4ff80f6464f6efd5afb114a wolfssl-5.6.3.tar.gz +sha256 031691906794ff45e1e792561cf31759f5d29ac74936bc8dffb8b14f16d820b4 wolfssl-5.6.4.tar.gz # Hash for license files: sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/wolfssl/wolfssl.mk b/package/wolfssl/wolfssl.mk index 9b35a6a84a..17452fdcaf 100644 --- a/package/wolfssl/wolfssl.mk +++ b/package/wolfssl/wolfssl.mk @@ -4,7 +4,7 @@ # ################################################################################ -WOLFSSL_VERSION = 5.6.3 +WOLFSSL_VERSION = 5.6.4 WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)-stable) WOLFSSL_INSTALL_STAGING = YES From peter at korsgaard.com Tue Oct 31 18:02:45 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 19:02:45 +0100 Subject: [Buildroot] [git commit] package/xen: security bump to version 4.14.6 Message-ID: <20231031180340.BB82486270@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=957e2d2ffd94aa51f043c75ff0adf8453127b1ab branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Includes a number of bugfixes and the security fixes up to xsa-436: https://xenproject.org/downloads/xen-project-archives/xen-project-4-14-series/xen-project-4-14-6/ Signed-off-by: Peter Korsgaard Reviewed-by: Alistair Francis Signed-off-by: Peter Korsgaard --- package/xen/xen.hash | 2 +- package/xen/xen.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xen/xen.hash b/package/xen/xen.hash index 5637f0e8d9..d2350ac515 100644 --- a/package/xen/xen.hash +++ b/package/xen/xen.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 a1a24092ad14658eed420b7d56b67d0d9d5b314e96c30a799b45f3a721f98bf0 xen-4.14.5.tar.gz +sha256 7917681bc6e744789815131fcf7799e6b83a0d45b5801ac654322b037ce472f8 xen-4.14.6.tar.gz sha256 ecca9538e9d3f7e3c2bff827502f4495e2ef9e22c451298696ea08886b176c2c COPYING diff --git a/package/xen/xen.mk b/package/xen/xen.mk index 169753e89f..651442cfdf 100644 --- a/package/xen/xen.mk +++ b/package/xen/xen.mk @@ -4,7 +4,7 @@ # ################################################################################ -XEN_VERSION = 4.14.5 +XEN_VERSION = 4.14.6 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) XEN_LICENSE = GPL-2.0 XEN_LICENSE_FILES = COPYING From peter at korsgaard.com Tue Oct 31 18:03:46 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 19:03:46 +0100 Subject: [Buildroot] [PATCH] package/xen: security bump to version 4.14.6 In-Reply-To: <20231030142153.645962-1-peter@korsgaard.com> (Peter Korsgaard's message of "Mon, 30 Oct 2023 15:21:53 +0100") References: <20231030142153.645962-1-peter@korsgaard.com> Message-ID: <877cn21xfh.fsf@48ers.dk> >>>>> "Peter" == Peter Korsgaard writes: > Includes a number of bugfixes and the security fixes up to xsa-436: > https://xenproject.org/downloads/xen-project-archives/xen-project-4-14-series/xen-project-4-14-6/ > Signed-off-by: Peter Korsgaard Committed, thanks. -- Bye, Peter Korsgaard From peter at korsgaard.com Tue Oct 31 18:04:17 2023 From: peter at korsgaard.com (Peter Korsgaard) Date: Tue, 31 Oct 2023 19:04:17 +0100 Subject: [Buildroot] [PATCH 1/1] package/wolfssl: security bump to version 5.6.4 In-Reply-To: <20231031145830.14831-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 31 Oct 2023 15:58:30 +0100") References: <20231031145830.14831-1-fontaine.fabrice@gmail.com> Message-ID: <8734xq1xem.fsf@48ers.dk> >>>>> "Fabrice" == Fabrice Fontaine writes: > [Medium] A fix was added, but still under review for completeness, for a > Bleichenbacher style attack, leading to being able to decrypt a saved > TLS connection and potentially forge a signature after probing with a > large number of trial connections. This issue is around RSA decryption > and affects static RSA cipher suites on the server side, which are not > recommended to be used and are off by default. Static RSA cipher suites > were also removed from the TLS 1.3 protocol and only present in TLS 1.2 > and lower. All padding versions of RSA decrypt are affected since the > code under review is outside of the padding processing. Information > about the private keys is NOT compromised in affected code. It's > recommended to disable static RSA cipher suites and update the version > of wolfSSL used if using RSA private decryption alone outside of TLS. > https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.4-stable > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard From neal.frager at amd.com Tue Oct 31 19:07:29 2023 From: neal.frager at amd.com (Frager, Neal) Date: Tue, 31 Oct 2023 19:07:29 +0000 Subject: [Buildroot] [PATCH v6 05/10] boot/zynqmp-firmware: new boot firmware In-Reply-To: <20231031135419.56b25f1c@windsurf> References: <20231020114236.4129636-1-neal.frager@amd.com> <20231020114236.4129636-5-neal.frager@amd.com> <20231031135419.56b25f1c@windsurf> Message-ID: Hello Thomas, > diff --git > a/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify > -sequential-Makefiles.patch > b/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-specify > -sequential-Makefiles.patch > new file mode 100644 > index 0000000000..29c652d6ef > --- /dev/null > +++ b/boot/zynqmp-firmware/xilinx_v2023.1/0001-pmufw-misc-Makefile-spe > +++ cify-sequential-Makefiles.patch > @@ -0,0 +1,115 @@ > +From 23002defd462845db376425a7b7d975f3deba83d Mon Sep 17 00:00:00 > +2001 > +From: Neal Frager > +Date: Mon, 24 Apr 2023 12:53:25 +0100 > +Subject: [PATCH v1 1/1] pmufw: misc/Makefile: specify sequential > +Makefiles > No patch numbering (1/1). This is normally reported by "make check-package". Ok. Done. > +ZYNQMP_FIRMWARE_VERSION = $(call > +qstrip,$(BR2_TARGET_ZYNQMP_FIRMWARE_VERSION)) > +ZYNQMP_FIRMWARE_SITE = \ > + $(call github,Xilinx,embeddedsw,$(ZYNQMP_FIRMWARE_VERSION)) > +ZYNQMP_FIRMWARE_LICENSE = MIT > +ZYNQMP_FIRMWARE_LICENSE_FILES = license.txt > +ZYNQMP_FIRMWARE_INSTALL_IMAGES = YES ZYNQMP_FIRMWARE_INSTALL_TARGET = > +NO ZYNQMP_FIRMWARE_DEPENDENCIES = host-newlib-bare-metal > This should be host-toolchain-bare-metal-buildroot. Otherwise your toolchain-bare-metal-buildroot virtual package is useless. When I do this, I am stuck with the following message: make: *** No rule to make target 'toolchain-bare-metal-buildroot', needed by '/buildroot/output/build/zynqmp-firmware-xilinx_v2023.1/.stamp_configured'. Stop. I also tried with host-toolchain-bare-metal-buildroot: make: *** No rule to make target 'host-toolchain-bare-metal-buildroot', needed by '/buildroot/output/build/zynqmp-firmware-xilinx_v2023.1/.stamp_configured'. Stop. I had this problem before which is why I solved it by just bypassing the dependency straight to newlib-bare-metal. Any ideas what the virtual package is missing? Best regards, Neal Frager AMD From bugzilla at busybox.net Tue Oct 31 20:30:04 2023 From: bugzilla at busybox.net (bugzilla at busybox.net) Date: Tue, 31 Oct 2023 20:30:04 +0000 Subject: [Buildroot] [Bug 15835] Incompatibility between network-manager and libcurl 8.4 In-Reply-To: References: Message-ID: https://bugs.busybox.net/show_bug.cgi?id=15835 Yann E. MORIN changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yann.morin.1998 at free.fr --- Comment #1 from Yann E. MORIN --- chhitz, All, Thanks for the report. > Applying the path from above mentioned issue to network-manager fixes the issue Can you send a patch doing that, tio the mailing list, please? Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. From yann.morin.1998 at free.fr Tue Oct 31 20:41:49 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 21:41:49 +0100 Subject: [Buildroot] [git commit] package/tini: move docker-init to /usr/libexec/docker/ Message-ID: <20231031204207.C88BE86277@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=9705d300266d9b0332f898b2517fad67b586e9d6 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The docker-init is not intended to be a user-facing command, and as such it is more appropriate for it to be found in /usr/libexec/ than in $PATH. See: https://github.com/moby/moby/commit/6caaa8cadc9e4f1e122b7b2bb4451500bbec6086 https://github.com/docker/docker-ce-packaging/commit/5a998af6f53d978810aa6f5b566a484911ff4ca2 Signed-off-by: TIAN Yuanhao [yann.morin.1998 at free.fr: use mkdir -p, not install -d] Signed-off-by: Yann E. MORIN --- package/tini/tini.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/tini/tini.mk b/package/tini/tini.mk index 9da54f8a25..aa8e259db2 100644 --- a/package/tini/tini.mk +++ b/package/tini/tini.mk @@ -31,7 +31,8 @@ endef define TINI_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini - ln -sf tini $(TARGET_DIR)/usr/bin/docker-init + mkdir -p $(TARGET_DIR)/usr/libexec/docker + ln -sf ../../bin/tini $(TARGET_DIR)/usr/libexec/docker/docker-init endef # Tini's CMakeLists.txt is not suitable for Buildroot. From yann.morin.1998 at free.fr Tue Oct 31 20:42:50 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 21:42:50 +0100 Subject: [Buildroot] [PATCH 1/1] package/tini: move docker-init to /usr/libexec/docker/ In-Reply-To: <20231031155029.2689-1-tianyuanhao3@163.com> References: <20231031155029.2689-1-tianyuanhao3@163.com> Message-ID: <20231031204250.GA2568@scaer> Yuanhao, All, On 2023-10-31 15:50 +0000, TIAN Yuanhao spake thusly: > The docker-init is not intended to be a user-facing command, and as such > it is more appropriate for it to be found in /usr/libexec/ than in $PATH. > > See: > https://github.com/moby/moby/commit/6caaa8cadc9e4f1e122b7b2bb4451500bbec6086 > https://github.com/docker/docker-ce-packaging/commit/5a998af6f53d978810aa6f5b566a484911ff4ca2 > > Signed-off-by: TIAN Yuanhao > --- > package/tini/tini.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/tini/tini.mk b/package/tini/tini.mk > index 9da54f8a25..75b6786cfb 100644 > --- a/package/tini/tini.mk > +++ b/package/tini/tini.mk > @@ -31,7 +31,8 @@ endef > > define TINI_INSTALL_TARGET_CMDS > $(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini > - ln -sf tini $(TARGET_DIR)/usr/bin/docker-init > + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/libexec/docker Although what you did is correct, we usually use plain mkdir -p to create directories, so I've changed that. Applied to master, thanks. Regards, Yann E. MORIN. > + ln -sf ../../bin/tini $(TARGET_DIR)/usr/libexec/docker/docker-init > endef > > # Tini's CMakeLists.txt is not suitable for Buildroot. > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 31 20:49:08 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 21:49:08 +0100 Subject: [Buildroot] [PATCH] package/libcurl: introduce option to enable WebSockets support In-Reply-To: <20231031172415.18496-1-aolvolk@salutedevices.com> References: <20231031172415.18496-1-aolvolk@salutedevices.com> Message-ID: <20231031204908.GB2568@scaer> Alisa, All, On 2023-10-31 20:24 +0300, Alisa Volk via buildroot spake thusly: > Signed-off-by: Alisa Volk > --- > package/libcurl/Config.in | 6 ++++++ > package/libcurl/libcurl.mk | 6 ++++++ > 2 files changed, 12 insertions(+) > > diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in > index 218309ed56..154215e17e 100644 > --- a/package/libcurl/Config.in > +++ b/package/libcurl/Config.in > @@ -31,6 +31,12 @@ config BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT > help > Enable support for cookies. > > +config BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT > + bool "websockets support" > + default n The default is already 'n', so there is no need to state so. Applied to master with the above fixed, thanks. Regards, Yann E. MORIN. > + help > + Enable support for websockets. > + > config BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES > bool "enable extra protocols and features" > default y > diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk > index f2c679f162..be85ffa35a 100644 > --- a/package/libcurl/libcurl.mk > +++ b/package/libcurl/libcurl.mk > @@ -152,6 +152,12 @@ else > LIBCURL_CONF_OPTS += --disable-proxy > endif > > +ifeq ($(BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT),y) > +LIBCURL_CONF_OPTS += --enable-websockets > +else > +LIBCURL_CONF_OPTS += --disable-websockets > +endif > + > ifeq ($(BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES),y) > LIBCURL_CONF_OPTS += \ > --enable-dict \ > -- > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 31 20:47:28 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 21:47:28 +0100 Subject: [Buildroot] [git commit] package/libcurl: introduce option to enable WebSockets support Message-ID: <20231031204918.E24E18627E@busybox.osuosl.org> commit: https://git.buildroot.net/buildroot/commit/?id=6e000dba5f050b1e1fb32352e722a209b9be94c9 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Alisa Volk [yann.morin.1998 at free.fr: drop "default n"] Signed-off-by: Yann E. MORIN --- package/libcurl/Config.in | 5 +++++ package/libcurl/libcurl.mk | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in index adab1ca3e6..0e52bc69c2 100644 --- a/package/libcurl/Config.in +++ b/package/libcurl/Config.in @@ -31,6 +31,11 @@ config BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT help Enable support for cookies. +config BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT + bool "websockets support" + help + Enable support for websockets. + config BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES bool "enable extra protocols and features" default y diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index bd331a55aa..2c87821a48 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -154,6 +154,12 @@ else LIBCURL_CONF_OPTS += --disable-proxy endif +ifeq ($(BR2_PACKAGE_LIBCURL_WEBSOCKETS_SUPPORT),y) +LIBCURL_CONF_OPTS += --enable-websockets +else +LIBCURL_CONF_OPTS += --disable-websockets +endif + ifeq ($(BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES),y) LIBCURL_CONF_OPTS += \ --enable-dict \ From yann.morin.1998 at free.fr Tue Oct 31 21:14:42 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 22:14:42 +0100 Subject: [Buildroot] [PATCH] configs/friendlyarm_nanopi_neo2_defconfig: new board In-Reply-To: <20231031084936.2397858-1-fancp2007@gmail.com> References: <20231031084936.2397858-1-fancp2007@gmail.com> Message-ID: <20231031211442.GC2568@scaer> Scott, All, On 2023-10-31 16:49 +0800, Scott Fan spake thusly: > Add support for the FriendlyARM NanoPi NEO2 with mainline components: > - U-Boot 2023.10 > - Linux 6.1.60 Funny, we removed a defconfig for that board a year ago, almost day-for-day: 24bb61071269 configs/friendlyarm_nanopi_neo2: remove defconfig It's OK to re-add a new, fixed defconfig, though! > Board's wiki page: > - https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO2 > > Signed-off-by: Scott Fan > --- [--SNIP--] > diff --git a/board/friendlyarm/nanopi-neo2/post-build.sh b/board/friendlyarm/nanopi-neo2/post-build.sh > new file mode 100755 > index 0000000000..0ee47013f1 > --- /dev/null > +++ b/board/friendlyarm/nanopi-neo2/post-build.sh > @@ -0,0 +1,8 @@ > +#!/bin/sh > + > +BOARD_DIR="$(dirname $0)" $ ./utils-docker-run make check-package board/friendlyarm/nanopi-neo2/post-build.sh:0: run 'shellcheck' and fix the warnings $ ./utils/docker-run shellcheck board/friendlyarm/nanopi-neo2/post-build.sh In board/friendlyarm/nanopi-neo2/post-build.sh line 3: BOARD_DIR="$(dirname $0)" ^-- SC2086: Double quote to prevent globbing and word splitting. > diff --git a/board/friendlyarm/nanopi-neo2/readme.txt b/board/friendlyarm/nanopi-neo2/readme.txt > new file mode 100644 > index 0000000000..50795a1cfb > --- /dev/null > +++ b/board/friendlyarm/nanopi-neo2/readme.txt > @@ -0,0 +1,34 @@ [--SNIP--] > + $ sudo dd if=output/images/sdcard.img of=/dev/sdX > + $ sudo sync No need for sudo to run sync [--SNIP--] > diff --git a/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch b/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch > new file mode 100644 > index 0000000000..b2edd9fb37 > --- /dev/null > +++ b/board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch $ ./utils-docker-run make check-package board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch:0: use name -.patch (http://nightly.buildroot.org/#_providing_patches) board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch:0: missing Signed-off-by in the header (http://nightly.buildroot.org/#_format_and_licensing_of_the_package_patches) board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch:0: missing Upstream in the header (http://nightly.buildroot.org/#_additional_patch_documentation) Also, you need to provide a git-formatted patch, with a proper subject, a proper commit log, and as reported above, your signed-off, and the upstream status of this patch. [--SNIP--] > diff --git a/configs/friendlyarm_nanopi_neo2_defconfig b/configs/friendlyarm_nanopi_neo2_defconfig > new file mode 100644 > index 0000000000..a88bf8957c > --- /dev/null > +++ b/configs/friendlyarm_nanopi_neo2_defconfig > @@ -0,0 +1,48 @@ > +BR2_aarch64=y > +BR2_cortex_a53=y > +BR2_ARM_FPU_VFPV4=y > + > +# Linux headers same as kernel, a 6.1 series > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y > + > +# Firmware > +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y > +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" > +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y ATF is a bootloader, and as such, we want to use a pinned version, not the latest one, so as for uboot: BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE=v2.7 Care to fix all of those, and respin, please? Regards, Yann E. MORIN. > +# Bootloader > +BR2_TARGET_UBOOT=y > +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y > +BR2_TARGET_UBOOT_CUSTOM_VERSION=y > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" > +BR2_TARGET_UBOOT_PATCH="board/friendlyarm/nanopi-neo2/uboot/fit_spl_atf_its.patch" > +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo2" > +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/friendlyarm/nanopi-neo2/uboot/fit_spl.fragment" > +BR2_TARGET_UBOOT_NEEDS_DTC=y > +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y > +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y > +BR2_TARGET_UBOOT_FORMAT_ITB=y > +BR2_TARGET_UBOOT_SPL=y > +BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" > +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" > + > +# Kernel > +BR2_LINUX_KERNEL=y > +BR2_LINUX_KERNEL_CUSTOM_VERSION=y > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.60" > +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y > +BR2_LINUX_KERNEL_DTS_SUPPORT=y > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-nanopi-neo2" > +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y > + > +# Filesystem > +BR2_TARGET_GENERIC_ISSUE="Welcome to FriendlyARM NanoPi NEO2" > +BR2_TARGET_ROOTFS_EXT2=y > +BR2_TARGET_ROOTFS_EXT2_4=y > +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" > +BR2_PACKAGE_HOST_DOSFSTOOLS=y > +BR2_PACKAGE_HOST_GENIMAGE=y > +BR2_PACKAGE_HOST_MTOOLS=y > +BR2_ROOTFS_POST_BUILD_SCRIPT="board/friendlyarm/nanopi-neo2/post-build.sh" > +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" > +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-neo2/genimage.cfg" > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot at buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From yann.morin.1998 at free.fr Tue Oct 31 21:27:43 2023 From: yann.morin.1998 at free.fr (Yann E. MORIN) Date: Tue, 31 Oct 2023 22:27:43 +0100 Subject: [Buildroot] [PATCH] configs/friendlyarm_nanopi_neo2_defconfig: new board In-Reply-To: <20231031211442.GC2568@scaer> References: <20231031084936.2397858-1-fancp2007@gmail.com> <20231031211442.GC2568@scaer> Message-ID: <20231031212743.GD2568@scaer> Scott, All, On 2023-10-31 22:14 +0100, Yann E. MORIN spake thusly: > On 2023-10-31 16:49 +0800, Scott Fan spake thusly: > > Add support for the FriendlyARM NanoPi NEO2 with mainline components: > $ ./utils-docker-run make check-package That should have been: ./utils/docker-run Sorry for the noise... Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' From brandon.maier at collins.com Tue Oct 31 22:57:51 2023 From: brandon.maier at collins.com (Brandon Maier) Date: Tue, 31 Oct 2023 22:57:51 +0000 Subject: [Buildroot] [PATCH 1/1] freeradius-server: enable default modules mschap and realm Message-ID: <20231031225751.35130-1-brandon.maier@collins.com> From: Kalpesh Panchal "mschap" and "realm" are already part of default required raddb modules(DEFAULT_MODULES in raddb/all.mk). so removed them from disabled module list so that radiusd.service can start without following errors: - /etc/raddb/mods-enabled/mschap[11]: Failed to link to module 'rlm_mschap': /usr/lib/rlm_mschap.so - /etc/raddb/mods-enabled/realm[21]: Failed to link to module 'rlm_realm': /usr/lib/rlm_realm.so Signed-off-by: Kalpesh Panchal Signed-off-by: Brandon Maier --- package/freeradius-server/freeradius-server.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/freeradius-server/freeradius-server.mk b/package/freeradius-server/freeradius-server.mk index af3320eb44..125427c9e2 100644 --- a/package/freeradius-server/freeradius-server.mk +++ b/package/freeradius-server/freeradius-server.mk @@ -45,9 +45,7 @@ FREERADIUS_SERVER_CONF_OPTS += \ FREERADIUS_SERVER_CONF_OPTS += \ --without-rlm_eap_ike \ --without-rlm_eap_tnc \ - --without-rlm_mschap \ --without-rlm_perl \ - --without-rlm_realm \ --without-rlm_sql_iodbc \ --without-rlm_sql_oracle \ --without-rlm_sql_freetds \ -- 2.41.0 From brandon.maier at collins.com Tue Oct 31 23:03:36 2023 From: brandon.maier at collins.com (Brandon Maier) Date: Tue, 31 Oct 2023 23:03:36 +0000 Subject: [Buildroot] [PATCH 1/1] aufs-util: fix build error for missing linux header Message-ID: <20231031230336.51110-1-brandon.maier@collins.com> From: Kalpesh Panchal added missing linux header path to fix below build error: - $(LINUX_DIR)/include/uapi/linux/stddef.h:5:10:fatal error: linux/compiler_types.h: No such file or directory Signed-off-by: Kalpesh Panchal Signed-off-by: Brandon Maier --- package/aufs-util/aufs-util.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index 32f3bca151..c334b8c014 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -21,11 +21,13 @@ AUFS_UTIL_DEPENDENCIES = linux AUFS_UTIL_HOST_CPPFLAGS = \ $(HOST_CPPFLAGS) \ -I$(LINUX_DIR)/include/uapi \ + -I$(LINUX_DIR)/include \ -D__user= AUFS_UTIL_CPPFLAGS = \ $(TARGET_CPPFLAGS) \ -I$(LINUX_DIR)/include/uapi \ + -I$(LINUX_DIR)/include \ -D__user= # rdu64 is supposed to provide the LFS variant of readdir(), -- 2.41.0 From brandon.maier at collins.com Tue Oct 31 23:07:09 2023 From: brandon.maier at collins.com (Brandon Maier) Date: Tue, 31 Oct 2023 23:07:09 +0000 Subject: [Buildroot] [PATCH 1/1] package/libgdiplus: bump to version 6.1 Message-ID: <20231031230709.60348-1-brandon.maier@collins.com> From: Kalpesh Panchal - bump to version 6.1 - updated makefile to download source from https://download.mono-project.com/sources/libgdiplus/ instead of github to avoid submodule build error from ./update_submodules.sh Signed-off-by: Kalpesh Panchal Signed-off-by: Brandon Maier --- package/libgdiplus/libgdiplus.hash | 2 +- package/libgdiplus/libgdiplus.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libgdiplus/libgdiplus.hash b/package/libgdiplus/libgdiplus.hash index 11cacc13f6..f6a9b5eaf7 100644 --- a/package/libgdiplus/libgdiplus.hash +++ b/package/libgdiplus/libgdiplus.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 1fd034f4b636214cc24e94c563cd10b3f3444d9f0660927b60e63fd4131d97fa libgdiplus-6.0.5.tar.gz +sha256 97d5a83d6d6d8f96c27fb7626f4ae11d3b38bc88a1726b4466aeb91451f3255b libgdiplus-6.1.tar.gz sha256 81317bf837e02a116dc20b032fa1d0cbf9ec357621f141ff2c2daf26c17cbb5d LICENSE diff --git a/package/libgdiplus/libgdiplus.mk b/package/libgdiplus/libgdiplus.mk index 97cb595c71..128270e0d7 100644 --- a/package/libgdiplus/libgdiplus.mk +++ b/package/libgdiplus/libgdiplus.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBGDIPLUS_VERSION = 6.0.5 -LIBGDIPLUS_SITE = $(call github,mono,libgdiplus,$(LIBGDIPLUS_VERSION)) +LIBGDIPLUS_VERSION = 6.1 +LIBGDIPLUS_SITE = https://download.mono-project.com/sources/libgdiplus LIBGDIPLUS_LICENSE = MIT LIBGDIPLUS_LICENSE_FILES = LICENSE -- 2.41.0