Compare commits

..
233 Commits
Author SHA1 Message Date
Peter Korsgaard c7618236c1 Update for 2024.08.1
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-20 15:41:51 +02:00
Baruch Siach 9c2d88fd4e package/libcurl: fix build failure with verbose disabled
Add patch to fix build failure introduced in bump to version 8.10.0.

Fixes:
https://autobuild.buildroot.org/results/2d553687a32651f81813c82d7bbf9bb11fd3eca5/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 16ce77ad7d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-20 14:12:32 +02:00
Julien Olivain b85c174ab0 package/mosquitto: security bump to version 2.0.19
For change log, see:
https://github.com/eclipse/mosquitto/blob/v2.0.19/ChangeLog.txt

The change log mention 2 security related fixes.
There is no allocated CVE.

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit bd127d0c3f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 22:13:21 +02:00
Brandon Maier fc010c219e package/mtd: update to 2.2.1
See https://lore.kernel.org/buildroot/5dcaf594-e727-4ec3-af69-86e578029160@sigma-star.at/

Signed-off-by: Brandon Maier <brandon.maier@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 5de5ef51b5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 22:11:43 +02:00
Brandon Maier 86c4680beb support/testing: add new test for dtc
Add a test that runs the dtc commandline tools. To test devicetree
compilation, we use an example devicetree from the dtc project. The
example source is GPL-2.0+ licensed.

Signed-off-by: Brandon Maier <brandon.maier@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 9b69034160)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 22:10:23 +02:00
Damien Thébault 57094b4322 package/linux-pam: remove flex dependency
linux-pam 1.2.0 removed the use of yywrap, so the flex dependency is not
needed now (host-flex is still needed).

Fixes: #47
Signed-off-by: Damien Thébault <damien.thebault@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 600e273487)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 22:07:38 +02:00
Julien Olivain 3d49303118 boot/grub2: replace host-python3 with BR2_PYTHON3_HOST_DEPENDENCY
Commit 86bb1b236 "boot/grub2: needs host-python3" [1] introduced a
dependency on host-python3.

Since grub does not have any specific requirements on host Python
modules, or recent host Python version, this commit replaces the
host-python3 dependency with BR2_PYTHON3_HOST_DEPENDENCY. This will
skip the host-python3 compilation if a sufficient version (3.4 or
greater at the time of this commit) is already present on host. This
will save build time.

This optimization was suggested by Peter, in [2].

Note 1: this commit was checked to ensure that grub is building with
Python 3.4.

Note 2: BR2_PYTHON3_HOST_DEPENDENCY was introduced in commit b60729784
"support/dependencies: add a check for python3" [3].

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/86bb1b2360bdaed069cd087541f4edad1d5ce925
[2] https://lists.buildroot.org/pipermail/buildroot/2024-September/763967.html
[3] https://gitlab.com/buildroot.org/buildroot/-/commit/b60729784ab1c2f75dca30f924f4dd3176713ae8

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8a71fda371)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 22:03:52 +02:00
Thomas Devoogdt 039978541e package/cairo: bump to 1.18.2
News:
 - https://www.cairographics.org/news/cairo-1.18.2/

Upstream patches have been dropped in this commit.

Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 29888ab35e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 21:59:01 +02:00
Thomas Perale e64dc2d46a package/aubio: fix build on big endian arch
Fixes the following error happening on builds with
big endian architecture target and libflac enabled.

```
[ 75/243] Linking build/tests/test-pitchshift
/home/autobuild/autobuild/instance-16/output-1/per-package/aubio/host/bin/../lib/gcc/mips64-buildroot-linux-gnu/13.3.0/../../../../mips64-buildroot-linux-gnu/bin/ld: src/libaubio.so: undefined reference to `SWAPS'
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/home/autobuild/autobuild/instance-16/output-1/build/aubio-152d6819b360c2e7b379ee3f373d444ab3df0895/build'
Build failed
```

There is a missing definition of the `SWAPS` macro in
`/src/io/sink_flac.c` file.
This patch adds an out of tree patch that copy the `SWAPS` definition from the
`/src/io/sink_wavwrite.c` file in `sink_flac.c` to fix this issue.

Fixes:
  - https://autobuild.buildroot.org/results/b88/b8895a81411dc7622b0aba9f2f0eaa0aef5a1a10/
  - https://autobuild.buildroot.org/results/bc7/bc733f5192b354cb960b6a4726efb597be4bb06c/
  - https://autobuild.buildroot.org/results/ea5/ea52dbcc14c2bab300277053f0b9599a8e82294a/
  - ...

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 295701f1ab)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 21:53:39 +02:00
Bernd Kuhls de77e894a6 package/libilbc: switch to github
The previous repo is not available anymore.

Fixes:
https://autobuild.buildroot.org/results/8c8b073ce163131763fca978b400e596fcf39e62

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4e5fd24c8b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 21:18:09 +02:00
Francois Perrad 8e8285236f package/libarchive: security bump to version 3.7.6
3.7.5 fixed a number of security issues:

    fix multiple vulnerabilities identified by SAST (#2251, #2256)
    cpio: ignore out-of-range gid/uid/size/ino and harden AFIO parsing (#2258)
    lzop: prevent integer overflow (#2174)
    rar4: protect copy_from_lzss_window_to_unp() (#2172, CVE-2024-20696)
    rar4: fix CVE-2024-26256 (#2269, CVS-2024-26256)
    rar4: fix OOB in delta and audio filter (#2148, #2149)
    rar4: fix out of boundary access with large files (#2179)
    rar4: add boundary checks to rgb filter (#2210)
    rar4: fix OOB access with unicode filenames (#2203)
    rar5: clear 'data ready' cache on window buffer reallocs (#2265)
    rpm: calculate huge header sizes correctly (#2158)
    unzip: unify EOF handling (#2175)
    util: fix out of boundary access in mktemp functions (#2160)
    uu: stop processing if lines are too long (#2168)

And 3.7.6 fixed a tar regression introduced in 3.7.5

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit ab3c84e5e2)
[Peter: mark as security bump]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 21:13:39 +02:00
Francois Perrad cc54944e20 package/gnutls: bump to version 3.8.7
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 1bf483665d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 21:10:14 +02:00
Yann E. MORIN 87cb2999c3 docs/manual: do not instruct doctoring the saved defconfig
Doctoring a defconfig is tedious, and it is not easy to update a
defconfig, as it requires manual copy-pasting, adding comments and so
on...

Instead, just require defconfigs to be generated with 'savedefconfig'.
Any details can/must be provided in the commit log.

Reported-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 17bdd10cb3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 20:42:22 +02:00
James Hilliard a8f70006e7 package/cups: security bump to version 2.4.11
Fixes the following security issue:

CVE-2024-35235: Cupsd Listen arbitrary chmod 0140777

https://github.com/OpenPrinting/cups/security/advisories/GHSA-vvwp-mv6j-hw6f
https://www.openwall.com/lists/oss-security/2024/06/11/1

Drop cups hash patches which are now upstream.

Rebase remaining patches.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Peter: mark as security bump]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8d835ffc52)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 20:38:46 +02:00
Bernd Kuhls 1ede9257cc package/samba4: bump version to 4.20.5
Release notes:
https://www.samba.org/samba/history/samba-4.20.5.html

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit b52c204e6f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 20:31:13 +02:00
Bernd Kuhls 63093d7db0 package/samba4: bump version to 4.20.4
Release notes:
https://www.samba.org/samba/history/samba-4.20.4.html

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit b5fe7088e8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 20:31:06 +02:00
Bernd Kuhls cc40eeb370 {linux, linux-headers}: bump 4.19.x / 5.{4, 10, 15}.x / 6.{1, 6, 10}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit d3a12bc6f1)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-19 20:30:00 +02:00
Bernd Kuhls 87803da53c package/python3: security bump version to 3.12.6
Release notes: https://www.python.org/downloads/release/python-3126/

Fixes CVE-2023-27043, CVE-2024-6232, CVE-2024-7592 & CVE-2024-8088.

The fixes for bundled libexpat are irrelevant for us because python3
depends on the buildroot package.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit d4cbc887a3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:16:57 +02:00
Bernd Kuhls b90349589c package/expat: security bump version to 2.6.3
Changelog:
https://github.com/libexpat/libexpat/blob/R_2_6_3/expat/Changes

Fixes CVE-2024-45490, CVE-2024-45491 & CVE-2024-45492.

Follow upstream switch of project repository to github:
https://sourceforge.net/p/expat/news/2022/01/project-moved-to-github/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 0509885d8d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:15:46 +02:00
Michael Fischer 615ab9a6c1 package/pure-ftpd: bump version to 1.0.52
This version fixes an out-of-bound reads in the MLSD command, so upgrading is recommended.
It also improves compatibility with various systems.

Update the COPYING hash because of a change in copyright year

Signed-off-by: Michael Fischer <mf@go-sys.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 5271e90a6a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:14:28 +02:00
Bernd Kuhls b42f1ddcc7 package/php: security bump version to 8.3.12
Removed patch which is included in this release.

Fixes CVE-2024-8926, CVE-2024-8927, CVE-2024-9026, and CVE-2024-8925.

Changelog: https://www.php.net/ChangeLog-8.php#PHP_8_3
Release notes: https://news-web.php.net/php.announce/438

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit a2da88519f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:01:05 +02:00
Peter Korsgaard ee3155d779 package/systemd: fix typos in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 09964bc5c0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:16 +02:00
Peter Korsgaard f3dae29d03 package/sysklogd: fix typos in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Arnout: fix additional 'recommended' typo]
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 74bef5945f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:15 +02:00
Peter Korsgaard e0f78310ec package/supertux: fix 'according' typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit b55759c516)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:15 +02:00
Peter Korsgaard 04ca8a7e73 package/stress-ng: fix 'correctly' typo in comment
Also fix conjugations of verbs.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Arnout: fix additional typoes]
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 3c4dd46791)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:14 +02:00
Peter Korsgaard 972e56bdaf package/sqlite: fix 'access' typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 930663032b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:13 +02:00
Peter Korsgaard 70f8b08042 package/softether: fix typos in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 5af5c0ac0b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:12 +02:00
Peter Korsgaard b5df684e07 package/socat: fix 'incompatible' typo in comment
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 4c5d82ea05)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:12 +02:00
Peter Korsgaard 8a66521a6c package/smcroute: fix 'assume' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit d6f90873eb)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:11 +02:00
Peter Korsgaard 606d756629 package/slirp: fix typos in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 6183d8f494)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:10 +02:00
Peter Korsgaard eaac12e842 package/skeleton-init-systemd: fix "won't" typo in comment
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit eb83f8e09a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:09 +02:00
Peter Korsgaard d797a2f2b3 package/selinux-python: fix 'family' typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 70ded7c212)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:09 +02:00
Peter Korsgaard 9f7e74ca53 package/rpi-firmware: fix 'partition' typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 0dffd8ab1c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:08 +02:00
Peter Korsgaard 427efc1cd1 package/rlwrap: fix 'whether' typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 1441be898a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:07 +02:00
Peter Korsgaard d034b179ea package/redis: fix 'defaults' typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 1e37c852a5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:06 +02:00
Peter Korsgaard 78ea2e4ccd package/rapidxml: fix 'usability' typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit d21e6f815d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:05 +02:00
Peter Korsgaard 8e241ea84f package/rapidxml: fix 'compilation' typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit f301c007c7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:05 +02:00
Peter Korsgaard c13d79854d package/qt5virtualkeyboard: fix 'Portuguese' typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit e23e49e5d5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:04 +02:00
Peter Korsgaard 5ab1fb461e package/qt5connectivity: fix 'peripherals' typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 6367eb4965)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:03 +02:00
Peter Korsgaard 842eb8b54f package/qt5enginio: fix 'versioning' typo in comment
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 7426aaddee)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:02 +02:00
Peter Korsgaard d1b3a69a87 package/qt5base: fix 'from' typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 53e265522f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:02 +02:00
Peter Korsgaard e0467347ed package/qt5: fix 'paths' typo in comment
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 296b549365)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:01 +02:00
Peter Korsgaard 8588985bb2 package/qlibc: fix 'consistent' typo in help text
Also add a missing article one line above.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Arnout: fix additional typo]
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 4390361bb5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 17:00:00 +02:00
Baruch Siach 2113a945cd package/libcurl: drop link-with-openssl workaround
Upstream curl commit f057de5a1a950 ("libcurl.pc: add `Requires.private`,
`Requires` for static linking") deals with proper pkg-config
configuration since version 8.9.0.

Our local libcurl.pc modification we added back in commit 61d322c3d2
(package/cURL: fix static link whith openSSL) is no longer needed.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[yann.morin.1998@free.fr: this is not a "revert", reword commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit a5cef5339b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 16:57:42 +02:00
Akhilesh Nema 8f83cdaaff package/libpcap: security bump version to 1.10.5
Fixes the following security issues:

CVE-2023-7256: Clean up sock_initaddress() and its callers to avoid
  double frees in some cases.
CVE-2024-8006: Fix pcap_findalldevs_ex() not to crash if passed a
  file:// URL with a path to a directory that cannot be opened.

Changelog: https://github.com/the-tcpdump-group/libpcap/blob/bbcbc9174df3298a854daee2b3e666a4b6e5383a/CHANGES

Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 0982498c67)
[Peter: mark as security bump]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 16:56:09 +02:00
Bernd Kuhls 4f96c2851d package/busybox: patch to fix tc build on 6.8+ kernels
Fixes a build error introduced by bumping the linux kernel headers to
6.8 with buildroot commit 807a449256.

No autobuilder failures were recorded with this problem.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit d28d24dbc5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 16:53:07 +02:00
Akhilesh Nema e5874289eb package/libcurl: bump version to 8.10.1
Changelog - https://curl.se/ch/8.10.1.html

Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 5370103e64)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 16:51:13 +02:00
Bernd Kuhls c196cbcb21 package/libcurl: security bump version to 8.10.0
Changelog: https://curl.se/changes.html#8_10_0

Fixes CVE-2024-8096.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit d68b999787)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 16:51:09 +02:00
Edgar Bonet 8c3b1b77cf docs/manual/configure.adoc: fix location of Busybox inittab
Commit 89d39fc7a3 "initscripts: new package" moved the inittab
packaged for Busybox init from system/skeleton/etc to package/busybox.
The manual, however, still points to the old location, so let's fix it.

Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 99b1685fd8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 16:12:51 +02:00
Peter Korsgaard d9e4a18b9c boot/uboot: fix typos
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit ab34bdcb38)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:30 +02:00
Peter Korsgaard 720c61fff9 boot/shim/shim.mk: fix 'deactivate' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6dc6a747fd)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:29 +02:00
Peter Korsgaard 0243bc0795 boot/optee-os/optee-os.mk: fix 'PLATFORM' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 7bd00d5506)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:28 +02:00
Peter Korsgaard 206c6f0acd boot/grub2/Config.in: fix 'targeting' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 0fa6bd5a96)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:28 +02:00
Peter Korsgaard e877a047b3 boot/edk2/edk2.mk: fix 'release' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit a52fd38060)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:27 +02:00
Peter Korsgaard efd28be743 boot/barebox/barebox.mk: fix 'allows' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 9e3fdb87f0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:26 +02:00
Peter Korsgaard 5ad23bdad0 boot/arm-trusted-firmware/Config.in: fix 'platform' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 2e3c0ab1b7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:25 +02:00
Peter Korsgaard e83ec66f83 linux/linux.mk: fix 'parser' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 9c604ef86f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:25 +02:00
Peter Korsgaard c0a0849e72 support/testing/tests/package/test_weston/overlay/etc/weston.ini: fix 'independent' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 0ab62e5d25)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:24 +02:00
Peter Korsgaard c6c872f494 support/testing/tests/package/test_mtools.py: fix 'unformatted' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 064f879d96)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:23 +02:00
Peter Korsgaard b347b51250 support/testing/tests/package/test_micropython.py: fix 'returned' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 4a8aafecf0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:22 +02:00
Peter Korsgaard aaabe7720f support/testing/tests/package/test_iptables.py: fix 'OUTPUT' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 1772ad2f5f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:21 +02:00
Peter Korsgaard f0a248e16c support/testing/tests/package/test_ddrescue.py: fix 'normally' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 98f7a32d05)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:21 +02:00
Peter Korsgaard 07222174fd support/testing/tests/package/test_cryptsetup.py: fix 'encrypted' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 28c56bc26f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:20 +02:00
Peter Korsgaard 557d2e0e56 support/testing/tests/package/test_compressor_base.py: fix 'extension' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 68316831e4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:19 +02:00
Peter Korsgaard de55528c6e support/testing/tests/package/test_bash.py: fix 'running' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit c62de54852)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:18 +02:00
Peter Korsgaard ade2368fae support/testing/tests/package/test_acpica.py: fix typos in comments
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 670f6a4bf5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:18 +02:00
Peter Korsgaard b4cae331e8 support/testing/tests/init/test_systemd.py: fix 'on top' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit c89a111f06)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:17 +02:00
Peter Korsgaard 917a81b342 support/scripts/pkg-stats: fix 'dictionary' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit db6a029a50)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:16 +02:00
Peter Korsgaard 04557874c1 support/scripts/graph-build-time: fix 'auxiliary' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 9c9aa7ffba)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:15 +02:00
Peter Korsgaard a24532ff04 support/scripts/cve.py: fix 'useful' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit da0d6d5834)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:14 +02:00
Peter Korsgaard 3d5595d8f7 support/misc/utils.mk: fix typos
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 146c1d38de)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:13 +02:00
Peter Korsgaard 03824b9a6d support/misc/Buildroot.cmake: fix 'after all' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 8f0872fee3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:13 +02:00
Peter Korsgaard 4809708664 support/kconfig: fix 'multiple' typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit b0a9bc9ce7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:12 +02:00
Peter Korsgaard 4ca5d89653 support/dependencies/dependencies.sh: fix 'mimic' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit ca4eca4bfa)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:11 +02:00
Peter Korsgaard aeaba38754 toolchain/toolchain-wrapper.c: fix 'potentially' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit ea4179f3ae)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:10 +02:00
Peter Korsgaard fcdc7c2dde toolchain/helpers.mk: fix 'unsupported' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit edd87c7652)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:10 +02:00
Peter Korsgaard 246c103203 utils/update-rust: fix 'following' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit f1ceb3687f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:09 +02:00
Peter Korsgaard 5c75ee937a utils/scanpypi: fix typos
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[yann.morin.1998@free.fr: s/contents/content/]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit aa79ae24a8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:08 +02:00
Peter Korsgaard f3b41a0459 utils/readme.txt: fix 'typos' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 37574ab12a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:07 +02:00
Peter Korsgaard 68135035ad utils/getdeveloperlib.py: fix retrieve typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit ed2cb54252)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:06 +02:00
Peter Korsgaard 499d0a5bf1 utils/docker-run: fix symmetry typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6bcdbccb7f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:05 +02:00
Peter Korsgaard ec2b0f56d0 utils/config: fix don't typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit b3e5bcec65)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:59:05 +02:00
Yann E. MORIN 3b15f7defb support/scripts: fix RPATH fixups
Commit a87abcf6da (Makefile: run PPD and RPATH fixup in host-fialize)
(sic) moved the fixups peviously done in prepare-sdk, to host-finalize.

This exposed a bug in fix-rpath, when RPATH contains multiple entries,
like:  /PPD/host-foo/host/lib:/PPD/host-foo/host/lib/foo

In that situation, we want to get rid of /PPD/host-foo and replace it
with the finale HOST_DIR, so we mangle the RPATH with a sed expression.

However, that sed expression only ever replaces the first match, as it
is missing the 'g' option. Thus, the second (and following) parts of
RPATH are still referring to the PPD, and thus patchelf does not find it
relative to the final HOST_DIR, amd rops it. This eventually lead to a
final RPATH set as $ORIGIN/../lib instead of the expected
$ORIGIN/../lib:$ORIGIN/../lib/foo

This is the case for host-systemd, which installs some of its libraries
in $PREFIX/lib/systemd/ and adds an RPATH set appropriately to
/PPD/host-systemd/host/lib:/PPD/host-systemd/host/lib/systemd and that
gets incorrectly mangled.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/issues/39

Also fix a typo in the comment just above.

Reported-by: José Luis Salvador Rufo @jlsalvador
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Reviewed-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Tested-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Reviewed-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 2100a76d9e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:54:35 +02:00
Peter Korsgaard 52f9df9222 docs/website/docs.html: use HTTPS for nightly.buildroot.org links
Browsers nowadays complain about HTTP downloads (E.G. manual.pdf) from a
site served over HTTPS, so also use HTTPS for the nightly.buildroot.org
manual links.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 06397d26a0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:53:22 +02:00
Joachim Wiberg e7074c3efb package/sysklogd: bump to v2.6.2
From https://github.com/troglobit/sysklogd/releases/tag/v2.6.2:

 - syslog.conf: misplaced continuation character in example
 - Add facility aliases for RFC5424 compliance: LOG_CRON2 and LOG_AUDIT,
   including facilitynames[] = cron2, audit.  Used by the native logger
   tool (and any clients linking to libsyslog)
 - Fix data corruption using the listen directive, introduced in 2.6.0
 - Fix IPv6 addresses in listen directive, introduced in 2.6.0
 - Fix logging to remote IPv6 address, add support for parsing
   [fdd5::6979:c0ff:ee87:8f92]:123 style addresses
 - Fix initial delay for unresolvable remote target.  When a DNS name
   cannot be resolved, e.g., critically at boot, syslogd blocked with
   default resolver timeout (5 * 2 sec)

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 91afa8c8cc)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:50:00 +02:00
Julien Olivain 6b0b1682a8 linux: replace host-python3 with BR2_PYTHON3_HOST_DEPENDENCY
Commit abce4a2b3 "linux: add BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3" [1]
introduced a Kernel dependency on host-python3.

Since the Kernel does not have any specific requirements on host
Python modules, or recent host Python version, this commit replaces
the host-python3 dependency with BR2_PYTHON3_HOST_DEPENDENCY. This
will skip the host-python3 compilation if a sufficient version (3.4 or
greater at the time of this commit) is already present on host. This
will save build time.

This optimization was suggested by Peter, in [2].

Note 1: this commit was checked to ensure that Kernel v6.10.9 arm64
defconfig (which does require a python3 interpreter to build) is
working with Python 3.4.

Note 2: BR2_PYTHON3_HOST_DEPENDENCY was introduced in commit b60729784
"support/dependencies: add a check for python3" [3].

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/abce4a2b365276a7fa081d327289e5e6d8bdca7e
[2] https://lists.buildroot.org/pipermail/buildroot/2024-September/763967.html
[3] https://gitlab.com/buildroot.org/buildroot/-/commit/b60729784ab1c2f75dca30f924f4dd3176713ae8

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit b98062f730)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:46:42 +02:00
Julien Olivain f104f0f9e7 linux: add BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3
Kernel commit [1] introduced MSM GPU driver header generation with a
Python script. This commit was first included in v6.10. This driver is
also enabled as a module in the arm64 architecture default
configuration. See [2]. This is a common situation.

This missing dependency is not detected in the Buildroot CI, because
the reference docker image contains a python3 interpreter. See [3].

For information, the Linux latest kernel version was updated in
Buildroot commit 2b6dba00b "linux: bump latest version to 6.10".
See [4].

The issue can be observed by running the following commands on a host
without the python3 interpreter installed:

    cat <<EOF >.config
    BR2_aarch64=y
    BR2_LINUX_KERNEL=y
    BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
    BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
    BR2_TOOLCHAIN_EXTERNAL=y
    EOF
    make olddefconfig
    make linux

The Kernel build fails with output:

      GENHDR  drivers/gpu/drm/msm/generated/a2xx.xml.h
    /bin/sh: 1: python3: not found
    make[7]: *** [drivers/gpu/drm/msm/Makefile:176: drivers/gpu/drm/msm/generated/a2xx.xml.h] Error 127

This commit fixes this issue by introducing a new
BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3 configuration that will need to be
selected in relevant situations.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0fddd045f88e34d6160785a3a5e506d374566454
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/configs/defconfig?h=v6.10.8#n868
[3] https://gitlab.com/buildroot.org/buildroot/-/blob/2024.08-rc3/support/docker/Dockerfile?ref_type=tags#L40
[4] https://gitlab.com/buildroot.org/buildroot/-/commit/2b6dba00be27a09bc7e88faf0871f82bf95589cf

Reported-by: Vincent Stehlé <vincent.stehle@arm.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit abce4a2b36)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:46:23 +02:00
Peter Korsgaard 9c5e04561b docs/manual/manual.adoc: unbreak BR2_VERSION logic
The behaviour of asciidoc on my laptop (Debian 10.2.0-1) changed at the end
of last year, causing the BR2_VERSION logic to no longer work:

grep 'manual generated' buildroot-2023.02.*/docs/manual/manual.text
buildroot-2023.02.6/docs/manual/manual.text:Buildroot 2023.02.6 manual generated on 2023-10-16 08:41:26 UTC from
buildroot-2023.02.7/docs/manual/manual.text:Buildroot ${BR2_VERSION%%-git*} manual generated on 2023-11-14
buildroot-2023.02.8/docs/manual/manual.text:Buildroot ${BR2_VERSION%%-git*} manual generated on 2023-12-04

We don't really NEED to strip the -git suffix; indeed, for a git tag, there
would be not -git suffix, while for any other commit there will be one
and we want to see it (e.g. in the nightly manual, or on a development
branch locally).

So just drop that to unbreak the version output.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[yann.morin.1998@free.fr: explain why wew don't want to drop it]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit ec270a0815)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:36:42 +02:00
Waldemar Brodkorb 6cb4e00427 package/lighttpd: fix sparc/sparc64 compilation
From Upstream git, two patches to fix sparc/sparc64 specific
compile issues.

Fixes:

 http://autobuild.buildroot.org/results/c35/c35f9b78b8f114bb795ed162585d707331954b4b

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 06b1f1fbd3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-12 15:25:47 +02:00
Julien Olivain d9b36ca5f1 support/testing: fs: new erofs runtime test
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 21e9bb0967)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-11 16:12:31 +02:00
Yann E. MORIN 15e4ee06c3 utils/check-package: require exactly 1 TAB and 2 SP on help text 1st line
Test that the first line starts exactly with one TAB and exactly two
spaces before the text.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ricardo Martincoski <ricardo.martincoski@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f9e6d39e8e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-11 15:00:51 +02:00
Adrian Perez de Castro e4990b58c9 package/wpewebkit: security bump to version 2.44.4
Fixes security issues CVE-2024-40776, CVE-2024-40779, CVE-2024-40780,
CVE-2024-40782, CVE-2024-40789, and CVE-2024-4558. Security advisory:

  https://wpewebkit.org/security/WSA-2024-0004.html

Release notes:

  https://wpewebkit.org/release/wpewebkit-2.44.3.html
  https://wpewebkit.org/release/wpewebkit-2.44.4.html

Patch "0001-Remove-ARM-specific-declarations-in-FELighting.patch" has
been included as part of the fixes in version 2.44.3 and is therefore
removed.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 064ddfc997)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-11 14:59:50 +02:00
Giulio Benetti 7f19d7720f package/cryptsetup: bump version to 2.7.5
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 9b9ac7f6c0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-11 14:54:09 +02:00
Thomas Perale d8210fd0eb package/ffmpeg: fix build error
ffmpeg builds with `--enable-vaapi` opt made GCC v14 and 32 bit target
will throw an 'Wincompatible-pointer-types' error.

This is a downport of an upstreamed commit but not yet present in any
ffmpeg version that fix the pointer type.

Fixes:
 - http://autobuild.buildroot.org/results/f5f/f5f2d16226ad9500ecf046779d5282ee071a54d3/

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 24fc2f9d17)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-11 14:52:21 +02:00
Hugo Cornelis 11d52d7e4d package/procps-ng: link the w command with systemd or elogin libs.
The build of procps-ng was broken when systemd was enabled.  Applying
commit ca004d46 of procps-ng upstream to explictly link the 'w'
command to libsystemd or elogind even though libproc2 is linked to it.

This was (likely) broken since the upgrade to procps-ng v4.0.4 with
commit d79f40dbbe.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/issues/28
Fixes: http://autobuild.buildroot.org/results/e8b/e8bae7bfd7d6a7987f3afa199d8d944429144817/build-end.log

Signed-off-by: Hugo Cornelis <hugo.cornelis@essensium.com>
[yann.morin.1998@free.fr: don't number patch 1/1; add fixes tag]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 3b870057c6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-11 14:46:48 +02:00
Fabio Estevam 2520b55ae9 configs/imx6slevk: update the kernel to 6.6.51
Kernel 5.15 fails to build with GCC 13.

Update to kernel 6.6.51 to avoid the build failure.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/7803199854

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 31ead1c082)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-03 17:00:03 +02:00
Julien Olivain df341bd347 support/testing: add pv runtime test
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8c5e4be97c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-03 16:57:17 +02:00
Julien Olivain 0746a50e01 support/testing: add exfatprogs runtime test
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f366528987)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-03 16:57:13 +02:00
Yuriy Kolerov 77206b8220 package/glibc: drop support of ARC 7x0 targets
Synopsys ARC 7x0 family is not supported by glibc. Thus, it is
necessary to prevent selecting glibc while configuring for that
processors family.

Fixes:

  http://autobuild.buildroot.net/results/9f0a4d69aed71a840b1c278a9623c9687207ffc6/
  http://autobuild.buildroot.org/results/fa9960365bd54872762d5e959b98882b86c5e956/

Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 5aecb99902)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-03 16:30:10 +02:00
Julien Olivain a0e4c65124 boot/grub2: needs host-python3
When the build host does not have a Python interpreter installed,
host-grub2 is failing to configure due to this missing interpreter.
Note that host-grub2 is the first package to fail because it is a
dependency of grub2. The grub2 target package has the same dependency
requirement.

The issue can be quickly reproduced on a host without Python with the
commands:

    cat <<EOF >.config
    BR2_aarch64=y
    BR2_TARGET_GRUB2=y
    BR2_TOOLCHAIN_EXTERNAL=y
    EOF
    make olddefconfig
    make grub2

grub2 autotools configure.ac search for a Python interpreter since
upstream commit [1] 8b467844e "python: Use AM_PATH_PYTHON to determine
interpreter for gentpl.py", first included in grub v2.04 released
on 2019-07-04. For reference, grub2 has been updated to that version
in commit [2] ea7ec41c "boot/grub2: bump to verson 2.04".

This commit fixes the issue by adding the host-python3 dependency to
host-grub2 and grub2.

Fixes:

    checking for a Python interpreter with version >= 2.6... none
    configure: error: no suitable Python interpreter found

[1] https://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=8b467844e11170077c8ca727c39d2bd36eeb5f08
[2] https://gitlab.com/buildroot.org/buildroot/-/commit/ea7ec41cf64e86a692ac45e0d012c6e8199ef110

Reported-by: Vincent Stehlé <vincent.stehle@arm.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 86bb1b2360)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-03 11:29:53 +02:00
Christian Hitz cadcb1f908 package/qt6/qt6core5compat: enable QML compat modules
When BR2_PACKAGE_QT6DECLARATIVE_QUICK is enabled the QML compatibility
modules should be built and installed.

Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8d54684918)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-21 09:36:10 +02:00
Peter Korsgaard ecd1646cc8 package/nvidia-driver: fix targeting typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 812bb30412)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:48 +02:00
Peter Korsgaard e7ae0ea2d0 package/nodejs-src: fix convenient typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 28a53f8f55)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:47 +02:00
Peter Korsgaard bd4c654b78 package/nload: fix transferred typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 7281269982)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:46 +02:00
Peter Korsgaard d65a720a00 package/nginx: fix symmetric typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit acbff44861)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:45 +02:00
Peter Korsgaard 80c395b83c package/nginx-modsecurity: fix locally typo in hash comment
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 486358c959)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:45 +02:00
Peter Korsgaard 747fcc5e7a package/net-tools: fix appropriate typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 0353d68482)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:44 +02:00
Peter Korsgaard dcc8b10cc7 package/musepack: fix occurring typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 66dbf094d3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:43 +02:00
Peter Korsgaard b6d097aaed package/mrouted: fix typos and grammar
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Cc: Federico Pellegrin <fede@evolware.org>
[yann.morin.1998@free.fr: s/is/are/ (noticed by Federico)]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 271ea8be96)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:42 +02:00
Peter Korsgaard e1dc75fdba package/mpg123: fix deactivate typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 21697b50db)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:42 +02:00
Peter Korsgaard d22c7d0f22 package/minizip: fix typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 4fd7aa3f4a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:41 +02:00
Peter Korsgaard 511b426a75 package/makedevs/makedevs.c: fix typos
And replace Couldn't with 'Could not' for clarity.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 79d062ab99)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:40 +02:00
Peter Korsgaard ba222b5976 package/make: fix accidentally typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit b185bfccbf)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:39 +02:00
Peter Korsgaard 40afb3d5b5 package/madplay: fix typos in comments
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 2465cdb48a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:39 +02:00
Peter Korsgaard 1e32ef4c14 package/luabitop: fix typo in hash comment
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit f5ad59e948)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:38 +02:00
Peter Korsgaard 26585c72d1 package/lua-augeaus: fix assignment typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit edb2d45e05)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:37 +02:00
Peter Korsgaard 3f059c0d3c package/lmbench: fix 'timing out' typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 39b784bd57)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:36 +02:00
Peter Korsgaard 0852d93cbe package/lldpd: fix typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 28cdb718ea)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:36 +02:00
Peter Korsgaard 3c34715aa9 package/linux-zigbee: fix these typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 1789b5feb6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:35 +02:00
Peter Korsgaard 027850d2e5 package/linux-fusion: fix version typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 42385486e7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:34 +02:00
Peter Korsgaard d69b380c3c package/linux-firmware: fix typo in Config.in prompt
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit abfefc0a14)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:33:33 +02:00
Arnout Vandecappelle a6be28c767 package/pkg-generic.mk: remove set -x in mk_tar_gz call
The set -x was added for debugging, and forgotten to be removed
afterwards. Remove it now.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 23eb63ec75)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:32:02 +02:00
Arnout Vandecappelle be164d261d package/pkg-generic.mk: legal-info: proper double-dollar
Everything inside the generic-package macro should be double-dollared,
except for $(1) $(2) etc. There was still a $(call ...) that was not
double-dollared in the legal-info target. The result is that
OVERRIDE_SRCDIR isn't actually qstrip'ed.

Double dollar the $(call ...) like everywhere else.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Cc: Nicolas Carrier <carrier.nicolas0@gmail.com>
Reported-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 109c7c437c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:31:48 +02:00
Arnout Vandecappelle edde5c1a44 package/pkg-generic.mk: legal-info: make sure host-tar is available
Commit aacca7f063 introduced the
possibility to also create tarballs for packages that are local or
overridden (i.e., with a custom version). However, it doesn't work
correctly for PPD, because the PPD-host-tar and gzip are not available.

This failure was silent because the mk_tar_gz function doesn't exit on
error. The following error was printed but ignored:

    support/download/helpers: line 62: .../per-package/busybox/host/bin/tar: No such file or directory

Call prepare-per-package-directory before calling mk_tar_gz which uses
it. Note that we use only tar and gzip here, not all of
DOWNLOAD_DEPENDENCIES, because tar and gzip are the only ones we really
use.

Also add this dependency to the legal-info target. We use an order-only
dependency even though that makes not difference for a phony target, but
this makes it similar to how it's done for the stamp targets. Note also
that this dependency is redundant, because there is already a dependency
on the foo-rsync target which does depend on DOWNLOAD_DEPENDENCIES. We
still add the dependency explicitly in case things change with the
foo-rsync target in the future.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Cc: Nicolas Carrier <carrier.nicolas0@gmail.com>
Reported-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit f4681fc417)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:31:29 +02:00
Arnout Vandecappelle f70be8d584 package/pkg-generic.mk: legal-info: create redist directory for override
Commit aacca7f063 introduced the
possibility to also create tarballs for packages that are local or
overridden (i.e., with a custom version). However, it forgot to create
the directory in which that tarball is stored. The original patch did,
but it was reworked by Arnout to use mk_tar_gz instead of tar directly,
and the mkdir was dropped there.

This failure was silent because the mk_tar_gz function doesn't exit on
error. The following error was printed but ignored:

    support/download/helpers: line 68: .../legal-info/sources/busybox-custom/busybox-custom.tar.gz: No such file or directory

Create the directory before calling mk_tar_gz.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Cc: Nicolas Carrier <carrier.nicolas0@gmail.com>
Reported-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit d1945f143d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 12:29:33 +02:00
Thomas Petazzoni 5db78454b2 DEVELOPERS: drop Samuel Martin
Samuel Martin has not been around in the Buildroot community for many,
many years. His last posting on the mailing list was on July 2018. So
let's not pretend those packages are actually maintained, and let's
stop spamming Samuel with lots of patches and autobuilder failures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit d8b83b861c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 09:42:32 +02:00
Christian Hitz 7e31c9deac package/qt6/qt6svg: host variant depends on host-qt6base
Without this, building just host-qt6svg fails.

Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 480d667a19)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 09:41:30 +02:00
Thomas Petazzoni 090890c5f7 package/qt6/qt6tools: don't build examples and tests in host variant
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 138d83721b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 09:38:43 +02:00
Yann E. MORIN 4a161d729b package/genpart: change homepage and download location
The old homepage is no more, and the download location has changed.
Update both to the new download location.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 629c6254ce)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 09:35:45 +02:00
Waldemar Brodkorb 0b0c59a4d0 package/asterisk: security update to 20.9.3
See here for the Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.9.3.md

Fixes CVE-2024-42491.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4009736572)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-20 07:16:28 +02:00
Dario Binacchi cc70cadb32 package/xenomai: fix build with gcc 11
The commit adds an upstream patch to fix the following build failure:

latency.c: In function 'dump_histo_gnuplot':
latency.c:415:9: error: 'fclose' called on pointer returned from a mismatched allocation function [-Werror=mismatched-dealloc]
  415 |         fclose(ifp);
      |         ^~~~~~~~~~~
latency.c:404:15: note: returned from 'popen'
  404 |         ifp = popen(xconf, "r");
      |               ^~~~~~~~~~~~~~~~~

Fixes:
- http://autobuild.buildroot.org/results/e15ccef2f2bd58482204b5061f77e76a8a540ebd

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 17642f5032)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 22:24:40 +02:00
Bernd Kuhls a14661a72d package/php: bump version to 8.3.11
Changelog: https://www.php.net/ChangeLog-8.php#PHP_8_3
Release notes: https://news-web.php.net/php.announce/437

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8331fb0592)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 22:21:49 +02:00
Christian Stewart 66425c8e14 package/go: security bump to version 1.22.7
Fixes the following CVEs:

CVE-2024-34155: go/parser: stack exhaustion in all Parse* functions
CVE-2024-34156: encoding/gob: stack exhaustion in Decoder.Decode
CVE-2024-34158: go/build/constraint: stack exhaustion in Parse

https://go.dev/doc/devel/release#go1.22.7

Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8d371dbe55)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:57:03 +02:00
Peter Korsgaard 1b6e22b6a4 package/libxcrypt: fix insecure typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 893602e69d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:07 +02:00
Peter Korsgaard 6485c37fa3 package/libvirt: fix typo in init script comment
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 6599d68a66)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:06 +02:00
Peter Korsgaard 511d9df4f5 package/libpeas: fix typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit b4eb041af1)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:06 +02:00
Peter Korsgaard 48ab6da3ef package/libpam-nfc: fix typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 415542a235)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:05 +02:00
Peter Korsgaard b4c08cf470 package/libnss: fix overridden typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 339c50ecdc)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:04 +02:00
Peter Korsgaard 7495b6bb4f package/libnetconf2: fix library typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit c805d1e7c7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:03 +02:00
Peter Korsgaard 83d384ac0f package/libmodsecurity: fix locally typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f6e32b6910)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:03 +02:00
Peter Korsgaard 16598bdf5e package/libmad: fix deactivate typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 01cc093a98)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:02 +02:00
Peter Korsgaard 40161617be package/libkrb5: fix deactivate typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 45bb5fbdae)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:01 +02:00
Peter Korsgaard 934b8d9ffd package/libgtk4: fix typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 09721a74d9)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:00 +02:00
Peter Korsgaard ce1a444880 package/libglib2: fix deferring typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 1a61cfda1e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:56:00 +02:00
Peter Korsgaard 9e45b5366d package/libftdi: fix automatically typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 2b6c3cc6d0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:59 +02:00
Peter Korsgaard bcf93b1c39 package/libfreeglut: fix typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit ce7a0875cd)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:58 +02:00
Peter Korsgaard 043fe66390 package/libev: fix deactivate typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 568a90b7af)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:57 +02:00
Peter Korsgaard 94b0b7d79c package/libee: fix typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 686caaa5d4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:57 +02:00
Peter Korsgaard 2d17c16ff7 package/libcoap: fix typo in help text
Rewrap the whole help text as with the typo fix the line is a bit
longer and no longer fits within the limits defined by our
check-package coding style checking.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 08926081d8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:56 +02:00
Peter Korsgaard 736d908465 package/libcddb: fix typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit c581396b91)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:55 +02:00
Peter Korsgaard 7cedebe44e package/lbreakout2: fix typos in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 2e86897712)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:54 +02:00
Peter Korsgaard 5ce885b30b package/kexec-lite: fix utility typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 98e1dae3a3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:54 +02:00
Peter Korsgaard 7a597b92f1 package/keepalived: fix summarize typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit c21f235838)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:53 +02:00
Peter Korsgaard 1413869250 package/json-for-modern-cpp: fix design typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 9178a339cf)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:52 +02:00
Peter Korsgaard df61e43aab package/irda-utils: fix typos in patch descriptions
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 1961a86751)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:51 +02:00
Peter Korsgaard b903a3b393 package/icu: fix typos in help text and patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit c186db4741)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:55:51 +02:00
Dario Binacchi 243df597f3 package/xenomai: fixup download URL
As reported in [1], https://xenomai.org/downloads/xenomai/stable has
been moved to https://ftp.denx.de/pub/xenomai/xenomai/stable.

Fixes:
- http://autobuild.buildroot.org/results/83061154a9c21ecf981fdf5b4c02be6a793a8e56

[1] https://lore.kernel.org/xenomai/95d4f7a6-1237-4ae0-9fb6-3979fa058bcc@siemens.com

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 30bc9d9b1b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:54:47 +02:00
Dario Binacchi b0a601d8c6 package/rp-pppoe: fixup download URL
As reported in [1], the download of rp-pppoe-3.15.tar.gz is no longer
guaranteed from the download section of the project.

Fortunately, Jacon Kroon is hosting the RP-PPPoE source code for versions
3.15 and 4.0 in a location that permits automated downloads.

Fixes:
- http://autobuild.buildroot.org/results/8676456feec9dd401152887101ad1a9ce96cb769

[1] https://dianne.skoll.ca/pipermail/rp-pppoe/2024q3/000652.html

Cc: Jaco Kroon <jaco@uls.co.za>
Cc: Dianne Skoll <dianne@skoll.ca>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit de42743f1b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:27:08 +02:00
Bernd Kuhls 43d9a911b2 {linux, linux-headers}: bump 6.{1, 6, 10}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit ee67e4baff)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:23:50 +02:00
George Kiagiadakis 618b1b056c package: move wireplumber from Graphics to Audio/Video
WirePlumber is a PipeWire session manager, essential to the operation
of PipeWire in most use cases. It is not a graphical application,
nor does it support graphics in any way. It is only there to support
PipeWire and it should be kept together with PipeWire in the menus.

Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 14b1b8ca8d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:19:21 +02:00
Waldemar Brodkorb c04b02323c package/nginx: fix static build error
In commit 761259c934 the SSL patch was
removed, without testing any static compilation.
Reintroduce a small version of the original patch.

Upstream does not use pkg-config, so the patch is Buildroot specific and
not suitable for upstreaming.

Fixes:
 - http://autobuild.buildroot.net/results/a85/a85b00dfe9b55607390ebacc0e4e55c7cfbace3a

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 6cda350408)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:17:16 +02:00
Waldemar Brodkorb 328bd0be09 package/bind: security bump to 9.18.28
Fixes the following security issues:

- CVE-2024-0760: A flood of DNS messages over TCP may make the server
  unstable https://kb.isc.org/docs/cve-2024-0760

- CVE-2024-1737: BIND's database will be slow if a very large number of RRs
  exist at the same name https://kb.isc.org/docs/cve-2024-1737

- CVE-2024-1975: SIG(0) can be used to exhaust CPU resources
  https://kb.isc.org/docs/cve-2024-1975

- CVE-2024-4076: Assertion failure when serving both stale cache data and
  authoritative zone content https://kb.isc.org/docs/cve-2024-4076

Bind 9.16.x is EOL since April 2024.
See here for what version should be used in production:
https://kb.isc.org/docs/aa-01540

Remove patch 0001 as CC_FOR_BUILD is used in upstream code
to compile host utility gen.

Use BIND_AUTORECONF = YES to avoid a Debian 12 libtool bug.
Otherwise rndc linking fails. See here for a bug report to
bind9 project:
https://gitlab.isc.org/isc-projects/bind9/-/issues/4840

See here for a changelog:
https://downloads.isc.org/isc/bind9/9.18.28/doc/arm/html/notes.html

COPYRIGHT file has been updated, following Copyright holders were
added:
Copyright Joyent, Inc. and other Node contributors. All rights reserved.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit c9515c8b63)
[Peter: mark as security bump]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 13:15:12 +02:00
Yann E. MORIN 2c372847af gitlab: fix issue template
The two lines with the Buildroot version and the system os-release
details are rendered on a single line, "because Markdown".

Make that a two-item list, to be sure they are on properly rendered.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6a1e297a31)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:11:37 +02:00
Peter Korsgaard 8edb067494 package/hostapd: fix proprietary typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit ffc872d5f8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:39 +02:00
Peter Korsgaard b6544fbb6c package/heirloom-mailx: fix attachments typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 30a9d7d129)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:38 +02:00
Peter Korsgaard 42f828d28b package/hddtemp: fix information typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit d5451c18c0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:38 +02:00
Peter Korsgaard c2c336ce64 package/gtest: fix explanation typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit e9beedc3d4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:37 +02:00
Peter Korsgaard 75feb672cb package/gobject-introspection: fix altogether typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6d6d7bfe23)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:36 +02:00
Peter Korsgaard 78e646240f package/go: fix convenience typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 5aa9b105b9)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:35 +02:00
Peter Korsgaard 506c14d8e1 package/go-src: fix variable typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit c31189363b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:34 +02:00
Peter Korsgaard e9fe4e6cb9 package/gerbera: fix guaranteed typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 4a66a2af64)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:33 +02:00
Peter Korsgaard 1395e6cedc package/genpart: fix typos and grammar in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[yann.morin.1998@free.fr: also fix grammar]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit e009783505)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:33 +02:00
Peter Korsgaard fee0865740 package/gdb: fix program typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 27277a2bc9)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:32 +02:00
Peter Korsgaard ff0edf2450 package/gcc: fix explicitly typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit d5bb8fff5f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:31 +02:00
Peter Korsgaard c0682780f3 package/flutter-pi: fix Raspberry typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit a0c020317d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:30 +02:00
Peter Korsgaard c299d465b8 package/flutter-engine: fix typos in comments
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit cccd164fd6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:29 +02:00
Peter Korsgaard 17076edc90 package/flex: fix typo in patch description
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 892d7d784e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:28 +02:00
Peter Korsgaard 74c4478ea9 package/fcgiwrap: fix explicitly typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 05b18efb7b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:28 +02:00
Peter Korsgaard b0bfaa8d5a package/fbgrab: fix framebuffer typo in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit ae471a7d3d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:27 +02:00
Peter Korsgaard 4365f24835 package/falcosecurity-libs: fix which typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6ce119ca02)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:26 +02:00
Peter Korsgaard 657687322b package/exiv2: fix 'information see' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 987cfd586e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:25 +02:00
Peter Korsgaard 1d5cb8c6db package/erlang: fix inadvertently typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 9c70f31956)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:24 +02:00
Peter Korsgaard 5ba2961cc9 package/elftosb: fix typos in patch descriptions
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit a4c81a7a07)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:24 +02:00
Peter Korsgaard 82b82594e8 package/dvblast: fix which typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 1a05d2f16f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:23 +02:00
Peter Korsgaard 530bfe46dc package/dmalloc: fix deactivate typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 1fe75a9a62)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:22 +02:00
Peter Korsgaard 755f3532d3 package/dcron: fix opening typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit be495963ed)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:21 +02:00
Peter Korsgaard 1e6d3f7bab package/collectd: fix typos in help text / comment
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 9a11cb9bdd)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:20 +02:00
Peter Korsgaard 2cc170a99e package/chocolate-doom: fix multiple typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 8e6d5e49fe)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:19 +02:00
Peter Korsgaard c35946ccad package/c-icap-modules: fix Additional typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit e277ef8aff)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:19 +02:00
Peter Korsgaard fc1b43b2e6 package/boost: fix typos in help text
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit add4729108)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:18 +02:00
Peter Korsgaard 8d5f51706d package/bcusdk: fix definition typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 2619c02189)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:17 +02:00
Peter Korsgaard dbc9de026b package/bcache-tools: fix compatibility typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 4c046460d2)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:16 +02:00
Peter Korsgaard 923a6df874 package/bc: fix typos in patch descriptions
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit e2a0ab180c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:15 +02:00
Peter Korsgaard 0d56cfabf4 package/avahi: fix appropriate typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit fcb823ffdc)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:14 +02:00
Peter Korsgaard 04d64ab6d5 package/audit: fix deactivate typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 413479ffce)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:14 +02:00
Peter Korsgaard 828f9053d9 package/alure: fix grammar and dependencies typo in comment
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[yann.morin.1998@free.fr: fix grammar]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 43357baf4b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:13 +02:00
Peter Korsgaard e5f7a9fb71 docs/website/news.html: fix information typo
Plural of information is also information.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit cd6584715e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:12 +02:00
Peter Korsgaard 3c7f868fe6 docs/website/copyright.txt: fix aboard typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6cb031802d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:11 +02:00
Peter Korsgaard a5b3306b04 docs/manual/using-buildroot-toolchain.adoc: fix overridden typo
Overridden is with double-r-double-d.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit d729696451)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:10 +02:00
Peter Korsgaard f002755659 docs/manual/migrating.adoc: fix accommodate typo
Accommodate is with double-m.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit eba958eb5d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:10 +02:00
Peter Korsgaard 7fab58374d docs/manual/migrating.adoc: fix occurrence typo
Occurrence is with double-c-double-r.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6ee7480893)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:09 +02:00
Peter Korsgaard 0f20caa178 docs/manual/customize-outside-br.adoc: fix 'or' typo
It is OR, not OT.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 777c081abe)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:08 +02:00
Peter Korsgaard 889abedd5b docs/manual/adding-packages-meson.adoc: fix occurrences typo
Occurrences is with double-c-double-r.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6762761957)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:07 +02:00
Peter Korsgaard 8d22410d93 docs/manual/adding-packages-linux-kernel-spec-infra.adoc: fix information typo
Plural of information is also information.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit c88a617599)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:06 +02:00
Peter Korsgaard 4124af6626 docs/manual/adding-packages-asciidoc.adoc: fix resources typo in example
As FOO_RESOURCES hints, the correct spelling is resources so use that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 5fca562ee8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 11:03:05 +02:00
Peter Korsgaard 30f9e284d9 support/misc/Vagrantfile: support libvirt provider
And configure memory/CPU like for the other providers.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 75b543880c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 10:33:12 +02:00
Peter Korsgaard bd83efd288 support/misc/Vagrantfile: move to Debian bullseye (12)
Ubuntu Bionic (18.04) was EOL'ed in June 2023:

https://ubuntu.com//blog/18-04-end-of-standard-support

And the VM image is only available in virtualbox format:

https://app.vagrantup.com/ubuntu/boxes/bionic64

So move to Debian bullseye (12), matching what we do for the docker image.
This is available in virtualbox and libvirt (qemu) format:

https://app.vagrantup.com/debian/boxes/bullseye64

Bullseye does not come with rsync out of the box, so install it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 6cedd92744)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 10:33:00 +02:00
Yann E. MORIN f6c0475732 Makefile: run PPD and RPATH fixup in host-fialize
Currently, the gdbinit is generated and installed during post install
hooks, either from the gdb package, or from the external-toolchain
package. When using per-package directories (PPD), the staging directory
of the either package is stored in the generated gdbinit, which is not
going to be valid when all the PPD staging dirs get merged into the
final staging: it would lack any library installed afterwards, i.e.
mostly everything would be missing (but the libraries from the C
toolchain in the case of an external toolchain).

Similarly, all the RPATH will point to various PPD drectories. This
does not cause any issue when the final host is aggregated, because the
PPD directories still exist when we call programs from there (e.g. from
the fs infra, or from post-image scripts).

However, we knew that would not always be possible to keep the PPD
directories: we have the prepare-sdk rule that runs a cleanup pass on
the RPATH, and also applies the generic PPD fixups.

When we introduced prepare-sdk in c32ad51cbf (core/sdk: generate the
SDK tarball ourselves), we did not yet have support for PPD for the host
directory, and especially, we did not have the host-finalize rule, which
was only introduced in d0f4f95e39 (Makefile: rework main directory
creation logic) which kick-started the introduction of PPD.

At that point, we did not realise that the rpath fixups from
prepare-sdk, would be better moved to the new host-finalize rule,
because that had no impact unless one would need an SDK.

Later, in 25e60fbe1c (Makefile: fix SDK relocation for
per-package-dirs), we eventually introduced the PPD generic fixups in
the prepare-sdk rule. Again, we did not realise that those fixups would
be better placed in the host-finalize rule rather than the prepare-sdk.

While fixing the RPATH in host-finalize is not critical, fixing up the
PPD paths actually is, as the gdbinit case demonstrate.

As such, move the PPD fixups to the host-finalize step, and while at it,
also move the RPATH fixups.

This now does not leave much to do in the prepare-sdk step, and that
could very well be moved to the host-finalize rule as well. However,
some people may have started to rely on prepare-sdk in its 6 years of
existence, and the little script it installs is not needed unless one
really needs an SDK. So leave it as it is for now.

Reported-by: Casey Reeves <casey@xogium.me>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Casey Reeves <casey@xogium.me>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Brandon Maier <Brandon.Maier@collins.com>
Tested-by: Brandon Maier <brandon.maier@collins.com>
Acked-by: TIAN Yuanhao <tianyuanhao3@163.com>
(cherry picked from commit a87abcf6da)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 09:13:42 +02:00
Yann E. MORIN a0890d709b package: fix a few Config.in indentation
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit a7552293bb)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 09:11:13 +02:00
Yann E. MORIN f066ea7f9c arch/Config.in.arc: fix indentation
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 2ba879cc38)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-19 09:11:03 +02:00
Marcus Hoffmann 5c6e7340ad package/python-django: security bump to 5.0.9
Fixes:
* CVE-2024-45230
* CVE-2024-45231

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-14 17:15:14 +02:00
Peter Korsgaard 769d71ae84 Update for 2024.08
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-06 15:01:24 +02:00
Thomas Devoogdt 87bdffd543 package/libgtk4: fix execinfo compile error
../testsuite/reftests/gtk-reftest.c:28:10: fatal error: execinfo.h: No such file or directory

We don't need the test suite, so disable it.

Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-05 22:45:28 +02:00
Bernd Kuhls f18790aedc {linux, linux-headers}: bump 4.19.x / 5.{4, 10, 15}.x / 6.{1, 6, 10}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-05 21:40:22 +02:00
Bernd Kuhls 6a506262e4 package/clamav: security bump version to 1.0.7
Fixes CVE-2024-20505 & CVE-2024-20506:
https://blog.clamav.net/2024/09/clamav-141-132-107-and-010312-security.html

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-05 21:08:53 +02:00
Bernd Kuhls 8de200895c package/libopenssl: security bump version to 3.3.2
Fixes the following security issues:

- CVE-2024-6119: Possible denial of service in X.509 name checks [Moderate
  severity]
  https://openssl-library.org/news/secadv/20240903.txt

- CVE-2024-5535: SSL_select_next_proto buffer overread [Low severity]
  https://openssl-library.org/news/secadv/20240528.txt

Updated _SITE and project URL according to
https://openssl-library.org/post/2024-04-30-releases-distribution-changes/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Peter: add CVE details]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-05 08:04:28 +02:00
Romain Naour efd5f1aae4 package/mender: needs libopenssl engine support
Buildroot commit 623d3bbe43 disables
engine support when BR2_PACKAGE_LIBOPENSSL_ENGINES is not set.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/7717334889
http://autobuild.buildroot.org/results/818/818f8c156311010d03d2f64b42231f486b543837

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-09-04 00:08:58 +02:00
Julien Olivain 248c2d045e boot/arm-trusted-firmware: add -no-pie to LDFLAGS
Arm Trusted Firmware (TF-A) v2.11 fails to build in some situations
with the error message:

    ld: build/qemu/release/bl1/bl1.elf: error: PHDR segment not covered by LOAD segment

This error can be reproduced with the commands:

    make qemu_aarch64_ebbr_defconfig
    utils/config --set-str BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE v2.11
    make olddefconfig
    make

This issue was reported in [1].

This error is coming from a check that was made more strict since
binutils ld 2.34. This error message is normally related to dynamic
linker, so it should normally not apply to a package like TF-A.

When BR2_SHARED_LIBS=y (shared libraries only) and BR2_PIC_PIE=y
(Build code with PIC/PIE), the Buildroot toolchain-wrapper will try
to enable position-independent code/executables. See [2]. This
configuration is a common default.

Arm Trusted Firmware (TF-A) build system, on its side, tries to detect
if the toolchain enables PIE automatically. It does so by checking if
--enable-default-pie is in the output of "$(CC) -v". If found, the TF-A
build system tries to disable PIE globally (it can be explicitly
enabled again with the ENABLE_PIE=1 build variable, in some specific
configurations). This detection mechanism is not working with the
Buildroot toolchain wrapper which is enabling PIE silently. See [3].

Commit 1061ed6c "boot/arm-trusted-firmware: add -fno-PIE to CFLAGS"
added the option -fno-PIE in CFLAGS for that reason. See [4].
TF-A >= v2.11 now needs the same treatment for LDFLAGS. This is
because TF-A switched the default linker from "ld" to "gcc", in
upstream commit [5]. This change makes the Buildroot toolchain wrapper
to enable PIE at link, without passing the "--no-dynamic-linker" option
that would normally avoids this ld error.

Also, even if there is no defconfigs using the
BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION config directive, it is
worth mentioning that the Buildroot TF-A "latest version" was updated
to v2.11 in commit 9c50759cd "boot/arm-trusted-firmware: bump to
v2.11". See [6]. This latest version is the default choice. So
Buildroot is subject to generate this build failure. This can be
reproduced with the commands:

    cat <<EOF >.config
    BR2_aarch64=y
    BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
    BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu"
    BR2_TOOLCHAIN_EXTERNAL=y
    EOF
    make olddefconfig
    make arm-trusted-firmware

This commit fixes the issue by adding the option "-no-pie" in LDFLAGS.
This will prevent the Buildroot toolchain wrapper to enable PIE, for
versions using "gcc" as a linker. This change should also remain
compatible with older TF-A < 2.11 using "ld" as a linker, since
"-no-pie" is also a valid ld option.

Fixes:

    ld: build/qemu/release/bl1/bl1.elf: error: PHDR segment not covered by LOAD segment

[1] https://github.com/TrustedFirmware-A/trusted-firmware-a/issues/26
[2] https://gitlab.com/buildroot.org/buildroot/-/blob/2024.08-rc3/toolchain/toolchain-wrapper.c?ref_type=tags#L403
[3] https://git.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a.git/+/refs/tags/v2.11.0/Makefile#711
[4] https://gitlab.com/buildroot.org/buildroot/-/commit/1061ed6c6273e90618b05ddc0cb66be17364da33
[5] https://git.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a.git/+/2f1c5e7eb1775b252fa4998e10093b8ac34ca699%5E%21/
[6] https://gitlab.com/buildroot.org/buildroot/-/commit/9c50759cd1677e1739078239a1e86fb1d62e33e8

Reported-by: Vincent Stehlé <vincent.stehle@arm.com>
Tested-by: Vincent Stehlé <vincent.stehle@arm.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-09-03 23:58:40 +02:00
Waldemar Brodkorb a784191d3f package/fbdump: fix gcc 14.x issue
Following error is seen with gcc 14.x:
/home/autobuild/autobuild/instance-0/output-1/host/bin/armeb-buildroot-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I..   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -fomit-frame-pointer -s -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os -g0  -c `test -f 'main.c' || echo './'`main.c
main.c: In function 'main':
main.c:82:49: error: passing argument 4 of 'Options_parse' from incompatible pointer type [-Wincompatible-pointer-types]
   82 |   if( Options_parse( opt_template, &opts, argc, argv ) != 0 )
      |                                                 ^~~~
      |                                                 |
      |                                                 char **
In file included from main.c:17:
options.h:32:83: note: expected 'const char **' but argument is of type 'char **'
   32 | int Options_parse( const OptionTemplate *tmplt, void *opts, int argc, const char *argv[] );
      |                                                                       ~~~~~~~~~~~~^~~~~~
make[3]: *** [Makefile:240: main.o] Error 1
make[3]: Leaving directory '/home/autobuild/autobuild/instance-0/output-1/build/fbdump-0.4.2/src'
make[2]: *** [Makefile:201: all-recursive] Error 1
make[2]: Leaving directory '/home/autobuild/autobuild/instance-0/output-1/build/fbdump-0.4.2'
make[1]: *** [Makefile:156: all] Error 2
make[1]: Leaving directory '/home/autobuild/autobuild/instance-0/output-1/build/fbdump-0.4.2'

Fixes:

  http://autobuild.buildroot.net/results/3a0/3a0abff75023e257f3d6048688485a380b72fbb3

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 23:32:38 +02:00
Waldemar Brodkorb ac51d21465 package/p910nd: update download URL
Project moved to Github. Update download URL and hash.
License file got renamed, but it is still GPLv2.

Fixes:

 http://autobuild.buildroot.org/results/6e0/6e0e34c342fe712d5314de80488a2d034a2f5983/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 23:31:39 +02:00
Roy Kollen Svendsen 3cf1a6f80d package/qt6/qt6declarative: fix typo
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 23:31:12 +02:00
Dario Binacchi 4cf319c267 package/cache-calibrator: fix build failure for implicit declaration
Fixes:
 - http://autobuild.buildroot.org/results/db996c894c810ff5c7f4263975d1def0edef6d55

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-09-03 22:49:25 +02:00
Dario Binacchi 73a5ae259d DEVELOPERS: add Dario Binacchi for armadillo
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 22:09:44 +02:00
Dario Binacchi f69fe48404 package/armadillo: temporarily update the site URL
Following an email exchange with Conrad Sand, one of the maintainers of
the project, I learned that version 9.900.2 has been moved to
https://sourceforge.net/projects/arma/files/retired/.

This patch fixes the package download error, waiting for a subsequent
patch that will restore the previous URL to bump to a more recent
version.

Adding the .RETIRED suffix to the downloaded tarball generated the
following error:

armadillo-9.900.2.tar.xz.RETIRED: OK (sha256: d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05)
>>> armadillo 9.900.2 Extracting
buildroot/dl/armadillo/armadillo-9.900.2.tar.xz.RETIRED | buildroot/output/host/bin/tar --strip-components=1 -C buildroot/output/build/armadillo-9.900.2   -xf -
/bin/bash: line 1: buildroot/dl/armadillo/armadillo-9.900.2.tar.xz.RETIRED: Permission denied
buildroot/output/host/bin/tar: This does not look like a tar archive
buildroot/output/host/bin/tar: Exiting with failure status due to previous errors
make[1]: *** [package/pkg-generic.mk:213: buildroot/output/build/armadillo-9.900.2/.stamp_extracted] Error 2

which required the addition of ARMADILLO_EXTRACT_CMDS to be fixed.

Finally, it was also necessary to modify the tarball's hash.

Fixes:
- http://autobuild.buildroot.org/results/d4e9e7b453960a4f62a199344b30b729a4f235bc

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 22:03:26 +02:00
Dario Binacchi ec12fde5d5 package/gerbera: fix build against fmt 11
The commit adds a backported upstream patch to fix the following build
failure:

build/gerbera-1.12.1/src/cds/cds_objects.cc: In static member function 'static std::string CdsObject::mapFlags(int)':
build/gerbera-1.12.1/src/cds/cds_objects.cc:174:35: error: 'join' is not a member of 'fmt'

Upstreaming the patch was added in version 2.2.0.

Fixes:
 - http://autobuild.buildroot.org/results/aaf054b0bb336d45203b0d869ec6f9e00528ec8e

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 21:57:43 +02:00
Julien Olivain 8d9628acba configs/imx8mqevk: bump TF-A, U-Boot and Linux Kernel version
The imx8mqevk_defconfig is failing to build the arm-trusted-firmware
package, with the error message:

    plat/imx/imx8m/hab.c: In function 'imx_hab_handler':
    plat/imx/imx8m/hab.c:65:57: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'unsigned int[]'} [-Werror=array-bounds=]
       65 | #define HAB_RVT_CHECK_TARGET_ARM64      ((unsigned long)*(uint32_t *)(HAB_RVT_BASE + 0x18))
          |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is happening since commit dc0f721 "package/gcc: switch to 13.x
as default".

This commit fixes this build failure by updating the TF-A, U-Boot and
Linux Kernel. Note: this imx8mqevk_defconfig uses the upstream Kernel
(in contrast of the freescale_imx8mqevk_defconfig which is using the NXP
BSP Kernel version).

Also, this new uboot version needs gnutls and openssl, so the
corresponding options are added to the defconfig.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/7691701411

Signed-off-by: Julien Olivain <ju.o@free.fr>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 21:53:59 +02:00
Sergey Matyukevich c6a47974b0 package/wpa_supplicant: macsec offload needs headers >= v5.7
Hardware offload in Linux macsec driver is enabled in compile time if
libnl version is >= v3.6. However this is not enough for successful
build since enum 'macsec_offload' has been added to Linux headers only
since Linux >= v5.7.

Add upstream commit that extends compile time condition for the
enablement of the macsec hardware offload adding Linux headers version
check.

Fixes:
- http://autobuild.buildroot.net/results/b59d5bc5bd17683a3a1e3577c40c802e81911f84/

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 21:40:10 +02:00
Dario Binacchi 09324c843b DEVELOPERS: add Dario Binacchi for babeld
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 21:08:32 +02:00
Dario Binacchi 9172ffc3b4 package/babeld: update URL site
As reported in [1], version 1.9.2 has been moved to another archive, and
it is recommended to use https://github.com/jech/babeld as the official
repository.

The use of the github macro:

$(call github,jech,babeld,babeld-$(BABELD_VERSION))

would have downloaded a file with the same name (e.g. babeld-1.9.2.tar.gz)
but with a different hash from the one downloaded from the previous URL,
creating unacceptable backward compatibility issues.
Therefore, it was decided to download the package via the git method. In
this way, the downloaded file is babeld-babeld-1.9.2-git4.tar.gz, thus
with a different name, to which its SHA can be associated without side
effects, except for breaking the release monitoring process.
Unfortunately, for now, we will have to live with this limitation.

Particularly interesting are the explanations provided by Yann E. Morin,
which you can find in [2], that guided the creation of this patch.

Fixes:
- http://autobuild.buildroot.org/results/2447060c86acf1bd8d6ee0bcf8f9b6adcdfc50c9

[1] https://alioth-lists.debian.net/pipermail/babel-users/2024-August/004187.html
[2] https://patchwork.ozlabs.org/project/buildroot/patch/20240901063634.3504315-1-dario.binacchi@amarulasolutions.com/

Co-Developed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 21:07:01 +02:00
Waldemar Brodkorb 8194a727a2 package/tllist: update download URL
Fix download URL. Tarball is renamed, too.

Fixes:

 http://autobuild.buildroot.org/results/950/950688493021c12c4dea98ac4b220355d917ff69

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-09-03 20:57:25 +02:00
J. Neuschäfer e40c6f2156 package/aer-inject: switch upstream
According to a commit in Linux[1], the upstream of aer-inject changed to
https://github.com/intel/aer-inject.

[1]: https://git.kernel.org/linus/a29e5290e3566ae4db4e6fe5f31caf23118c82b6

Signed-off-by: J. Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-09-02 17:50:19 +02:00
Thomas Devoogdt 88f120d031 package/midori: drop package
The original WebKitGTK-based Midori is no longer maintained and doesn't build
since WebKitGTK moved to libsoup3 as of commit 38a098df13.

Last WebKitGTK based release: https://github.com/midori-browser/core/tree/v9.0.
New browser, based on Gecko/Firefox: https://github.com/goastian/midori-desktop.

The intention is also to start migrating WebKitGTK to GTK4, as this is now the default
version. See: https://webkitgtk.org/2024/03/27/webkigit-2.44.html.

Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-09-02 17:36:45 +02:00
Peter Korsgaard 1bab2c9374 configs/pandaboard_defconfig: drop defconfig
The defconfig has failed to build since May with the change to GCC 13.x,
E.G.:

https://gitlab.com/buildroot.org/buildroot/-/jobs/6865597768

I no longer have access to a pandaboard.  Pandaboard/omap4 support has
recently been dropped from u-boot:
https://lists.denx.de/pipermail/u-boot/2024-July/558846.html

And (part of) the kernel support is also getting removed:
https://patchwork.kernel.org/project/linux-media/patch/815a789d-85a5-44a1-8b9c-429ac0101e3f@xs4all.nl/

So drop the defconfig here as well.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-09-02 17:32:06 +02:00
290 changed files with 1476 additions and 1311 deletions
-4
View File
@@ -221,7 +221,6 @@ configs/orangepi_zero3_defconfig lib_defconfig.ForceCheckHash
configs/orangepi_zero_defconfig lib_defconfig.ForceCheckHash
configs/orangepi_zero_plus2_defconfig lib_defconfig.ForceCheckHash
configs/orangepi_zero_plus_defconfig lib_defconfig.ForceCheckHash
configs/pandaboard_defconfig lib_defconfig.ForceCheckHash
configs/pc_x86_64_bios_defconfig lib_defconfig.ForceCheckHash
configs/pc_x86_64_efi_defconfig lib_defconfig.ForceCheckHash
configs/pcengines_apu2_defconfig lib_defconfig.ForceCheckHash
@@ -337,7 +336,6 @@ package/benejson/0001-c-std.patch lib_patch.Upstream
package/benejson/0002-Use-print-as-a-function-for-Py3-compatibility.patch lib_patch.Upstream
package/berkeleydb/0001-cwd-db_config.patch lib_patch.Upstream
package/berkeleydb/0002-atomic_compare_exchange.patch lib_patch.Upstream
package/bind/0001-cross.patch lib_patch.Upstream
package/bind/S81named Shellcheck lib_sysv.Indent lib_sysv.Variables
package/bird/0001-configure.ac-fix-build-with-autoconf-2.70.patch lib_patch.Upstream
package/bmx7/0001-Fix-schedule.c-378-36-error-SIOCGSTAMP-undeclared.patch lib_patch.Upstream
@@ -893,8 +891,6 @@ package/metacity/0001-add-libm-reference.patch lib_patch.Upstream
package/metacity/0002-gconf.patch lib_patch.Upstream
package/metacity/0003-mag-add-libm-reference.patch lib_patch.Upstream
package/mfgtools/0001-lnx_def.h-fix-conflicting-declaration-of-__time64_t.patch lib_patch.Upstream
package/midori/0001-disable-vala-fatal-warnings.patch lib_patch.Upstream
package/midori/0002-add-option-to-specify-path-to-g-ir-compiler.patch lib_patch.Upstream
package/mii-diag/0001-strchr.patch lib_patch.Sob lib_patch.Upstream
package/mimic/0001-Fix-linking-on-gcc-10.2.0-or-newer.patch lib_patch.Upstream
package/mini-snmpd/0001-linux.c-fix-musl-build.patch lib_patch.Upstream
+2 -2
View File
@@ -33,8 +33,8 @@ _Note: issues missing any information may get closed without further ado._
---
### What I did
**Buildroot commit sha1**: _get this with `git describe HEAD`_
**Distribution of the build machine**: _get this with `NAME` and `VERSION` from `/etc/os-release`_
- **Buildroot commit sha1**: _get this with `git describe HEAD`_
- **Distribution of the build machine**: _get this with `NAME` and `VERSION` from `/etc/os-release`_
_Here, describe what you did:_
- _any special environment variables: CC, CXX, TARGET, CROSS_COMPILE, etc…_
+53
View File
@@ -1,3 +1,56 @@
2024.08.1, released October 20th, 2024
Important / security related fixes.
Per-package-directories fixes for the .gdbinit file and RPATH
fixups for SDK.
Legal-info: Ensure host-tar and redist directory exists when
using override-srcdir, as otherwise the tarball generation
(silently) fails.
utils/check-package: Also check for correct indentation of
help lines.
A large number of typo fixes.
Defconfigs: imx6slevk: Bump Linux kernel to 6.6.51 to fix
build issue with GCC 13
Updated/fixed packages: asterisk, aubio, bind, busybox, cairo,
cryptsetup, cups, expat, ffmpeg, genpart, glibc, gnutls, go,
grub2, libarchive, libcurl, libilbc, libpcap, lighttpd, linux,
linux-pam, mosquitto, mtd, nginx, php, procps-ng, pure-ftpd,
python-django, python3, qt6core5compat, qt6svg, qt6tools,
rp-pppoe, samba4, sysklogd, wireplumber, wpewebkit, xenomai
Issues resolved:
- procps-ng: build failure when linking to systemd
https://gitlab.com/buildroot.org/buildroot/-/issues/28
- orange pi 2w does not boot
https://gitlab.com/buildroot.org/buildroot/-/issues/36
- glibc configure fails on aarch64 with mathvec SVE ACLE error
https://gitlab.com/buildroot.org/buildroot/-/issues/40
- Kernel Build from Custom Git Repo fails with hash-error
https://gitlab.com/buildroot.org/buildroot/-/issues/46
- package/linux-pam: Remove unneeded flex dependency
https://gitlab.com/buildroot.org/buildroot/-/issues/47
2024.08, released September 6th, 2024
Various fixes.
Fixed defconfigs: imx8mqevk: Bump TF-A, U-Boot and Linux to
fix build with gcc 13.x
Removed defconfigs: pandaboard
Updated/fixed packages: aer-inject, arm-trusted-firmware,
armadillo, babeld, cache-calibrator, clamav, fbdump, gerbera,
libgtk4, libopenssl, mender, p910nd, tllist, wpa_supplicant
Removed packages: midori
2024.08-rc3, released September 1st, 2024
Fixes all over the tree.
+8
View File
@@ -146,6 +146,14 @@ endif
comment "Legacy options removed in 2024.08"
config BR2_PACKAGE_MIDORI
bool "midori has been removed"
select BR2_LEGACY
help
The original WebKitGTK-based Midori is no longer maintained
and doesn't build since WebKitGTK moved to libsoup3 as of
commit 38a098df133aaa2ebf09742054b02db5a44f58e5.
config BR2_PACKAGE_FROTZ
bool "frotz has been removed"
select BR2_LEGACY
+7 -16
View File
@@ -790,6 +790,8 @@ F: configs/imx6ulz_bsh_smm_m2_defconfig
F: configs/imx8mn_bsh_smm_s2_defconfig
F: configs/imx8mn_bsh_smm_s2_pro_defconfig
F: configs/stm32f769_disco_sd_defconfig
F: package/armadillo/
F: package/babeld/
F: package/sscep/
F: package/uuu/
@@ -1819,6 +1821,8 @@ F: support/testing/tests/boot/test_optee_os.py
F: support/testing/tests/boot/test_optee_os/
F: support/testing/tests/fs/test_btrfs.py
F: support/testing/tests/fs/test_btrfs/
F: support/testing/tests/fs/test_erofs.py
F: support/testing/tests/fs/test_erofs/
F: support/testing/tests/package/sample_python_distro.py
F: support/testing/tests/package/sample_python_gnupg.py
F: support/testing/tests/package/sample_python_hwdata.py
@@ -1854,6 +1858,8 @@ F: support/testing/tests/package/test_dos2unix.py
F: support/testing/tests/package/test_ed.py
F: support/testing/tests/package/test_ethtool.py
F: support/testing/tests/package/test_ethtool/
F: support/testing/tests/package/test_exfatprogs.py
F: support/testing/tests/package/test_exfatprogs/
F: support/testing/tests/package/test_file.py
F: support/testing/tests/package/test_file/
F: support/testing/tests/package/test_fluidsynth.py
@@ -1936,6 +1942,7 @@ F: support/testing/tests/package/test_pciutils.py
F: support/testing/tests/package/test_perftest.py
F: support/testing/tests/package/test_pigz.py
F: support/testing/tests/package/test_postgresql.py
F: support/testing/tests/package/test_pv.py
F: support/testing/tests/package/test_python_distro.py
F: support/testing/tests/package/test_python_gnupg.py
F: support/testing/tests/package/test_python_hkdf.py
@@ -2553,7 +2560,6 @@ F: board/librecomputer/lafrite/
F: board/nexbox/a95x/
F: board/openblocks/a6/
F: board/orangepi/
F: board/pandaboard/
F: board/roseapplepi/
F: board/visionfive/
F: boot/shim/
@@ -2566,7 +2572,6 @@ F: configs/nezha_defconfig
F: configs/openblocks_a6_defconfig
F: configs/orangepi_pc_defconfig
F: configs/orangepi_r1_defconfig
F: configs/pandaboard_defconfig
F: configs/roseapplepi_defconfig
F: configs/sheevaplug_defconfig
F: configs/visionfive_defconfig
@@ -2876,20 +2881,6 @@ F: package/zoxide/
N: Sam Lancia <sam@gpsm.co.uk>
F: package/lrzip/
N: Samuel Martin <s.martin49@gmail.com>
F: package/armadillo/
F: package/cwiid/
F: package/flite/
F: package/nginx/
F: package/opencv3/
F: package/openobex/
F: package/pkg-cmake.mk
F: package/python-numpy/
F: package/scrub/
F: package/urg/
F: package/ussp-push/
F: support/misc/toolchainfile.cmake.in
N: Sam Voss <sam.voss@gmail.com>
F: package/ripgrep/
+10 -10
View File
@@ -92,9 +92,9 @@ all:
.PHONY: all
# Set and export the version string
export BR2_VERSION := 2024.08-rc3
export BR2_VERSION := 2024.08.1
# Actual time the release is cut (for reproducible builds)
BR2_VERSION_EPOCH = 1725220000
BR2_VERSION_EPOCH = 1729431000
# Save running make version since it's clobbered by the make package
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
@@ -597,14 +597,7 @@ world: target-post-image
.PHONY: prepare-sdk
prepare-sdk: world
@$(call MESSAGE,"Rendering the SDK relocatable")
PARALLEL_JOBS=$(PARALLEL_JOBS) \
PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) \
$(TOPDIR)/support/scripts/fix-rpath host
PARALLEL_JOBS=$(PARALLEL_JOBS) \
PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) \
$(TOPDIR)/support/scripts/fix-rpath staging
$(call ppd-fixup-paths,$(BASE_DIR))
@$(call MESSAGE,"Preparing the SDK")
$(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
@@ -722,6 +715,13 @@ STAGING_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list-staging.t
host-finalize: $(PACKAGES) $(HOST_DIR) $(HOST_DIR_SYMLINK)
@$(call MESSAGE,"Finalizing host directory")
$(call per-package-rsync,$(sort $(PACKAGES)),host,$(HOST_DIR),copy)
$(Q)PARALLEL_JOBS=$(PARALLEL_JOBS) \
PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) \
$(TOPDIR)/support/scripts/fix-rpath host
$(Q)PARALLEL_JOBS=$(PARALLEL_JOBS) \
PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) \
$(TOPDIR)/support/scripts/fix-rpath staging
$(call ppd-fixup-paths,$(BASE_DIR))
.PHONY: staging-finalize
staging-finalize: $(STAGING_DIR_SYMLINK)
+3 -3
View File
@@ -3,7 +3,7 @@ choice
default BR2_arc770d
depends on BR2_arc
help
Specific CPU to use
Specific CPU to use
config BR2_arc750d
bool "ARC 750D"
@@ -40,12 +40,12 @@ config BR2_archs38_full
config BR2_archs4x_rel31
bool "ARC HS48 rel 31"
help
Build for HS48 release 3.1
Build for HS48 release 3.1
config BR2_archs4x
bool "ARC HS48"
help
Latest release of HS48 processor
Latest release of HS48 processor
- Dual and Quad multiply and MAC operations
- Double-precision FPU
-27
View File
@@ -1,27 +0,0 @@
image boot.vfat {
vfat {
files = {
"MLO",
"u-boot.img"
}
}
size = 8M
}
image sdcard.img {
hdimage {
}
partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
size = 512M
}
}
-46
View File
@@ -1,46 +0,0 @@
Pandaboard
==========
This file documents the Buildroot support for the Pandaboard, a
low-power, low-cost single-board computer development platform based
on the Texas Instruments OMAP4 system on a chip (SoC).
Configuring and building Buildroot
----------------------------------
Start from the defconfig:
$ make pandaboard_defconfig
You can edit build options the usual way:
$ make menuconfig
When you are happy with the setup, run:
$ make
The result of the build with the default settings should be these files:
output/images
+-- MLO
+-- omap4-panda-a4.dtb
+-- omap4-panda.dtb
+-- omap4-panda-es.dtb
+-- rootfs.ext4
+-- sdcard.img
+-- u-boot.img
+-- 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
Where /dev/sdX is the device node of your SD card (may be /dev/mmcblkX
instead depending on setup).
+1 -1
View File
@@ -77,7 +77,7 @@ endif
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM
string "ATF platform"
help
Target plaform to build for.
Target platform to build for.
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD
string "ATF target board"
@@ -77,11 +77,13 @@ endif
ifeq ($(BR2_PIC_PIE),y)
ARM_TRUSTED_FIRMWARE_CFLAGS += -fno-PIE
ARM_TRUSTED_FIRMWARE_LDFLAGS += -no-pie
endif
ARM_TRUSTED_FIRMWARE_MAKE_ENV += \
$(TARGET_MAKE_ENV) \
CFLAGS="$(ARM_TRUSTED_FIRMWARE_CFLAGS)"
CFLAGS="$(ARM_TRUSTED_FIRMWARE_CFLAGS)" \
LDFLAGS="$(ARM_TRUSTED_FIRMWARE_LDFLAGS)"
ifeq ($(BR2_ARM_CPU_ARMV7A),y)
ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARM_ARCH_MAJOR=7
+1 -1
View File
@@ -26,7 +26,7 @@ else ifeq ($$(BR2_TARGET_BAREBOX_CUSTOM_GIT),y)
$(1)_SITE = $$(call qstrip,$$(BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL))
$(1)_SITE_METHOD = git
# Override the default value of _SOURCE to 'barebox-*' so that it is not
# downloaded a second time for barebox-aux; also alows avoiding the hash
# downloaded a second time for barebox-aux; also allows avoiding the hash
# check:
$(1)_SOURCE = barebox-$$($(1)_VERSION)$$(BR_FMT_VERSION_git).tar.gz
else
+1 -1
View File
@@ -24,7 +24,7 @@ endif
else
EDK2_BUILD_TYPE = RELEASE
# DEBUG_ON_SERIAL_PORT is only valid in debug builds, so useless to set
# it (enabled or disabled) on a relase build.
# it (enabled or disabled) on a release build.
endif
# Build system notes.
+7 -7
View File
@@ -53,7 +53,7 @@ config BR2_TARGET_GRUB2_I386_PC
depends on BR2_i386 || BR2_x86_64
select BR2_TARGET_GRUB2_HAS_LEGACY_BOOT
help
Select this option if the platform you're targetting is a
Select this option if the platform you're targeting is a
x86 or x86-64 legacy BIOS based platform.
config BR2_TARGET_GRUB2_I386_EFI
@@ -62,7 +62,7 @@ config BR2_TARGET_GRUB2_I386_EFI
select BR2_TARGET_GRUB2_HAS_PTF
select BR2_TARGET_GRUB2_HAS_EFI_BOOT
help
Select this option if the platform you're targetting has a
Select this option if the platform you're targeting has a
32 bits EFI BIOS. Note that some x86-64 platforms use a 32
bits EFI BIOS, and this option should be used in this case.
@@ -72,7 +72,7 @@ config BR2_TARGET_GRUB2_X86_64_EFI
select BR2_TARGET_GRUB2_HAS_PTF
select BR2_TARGET_GRUB2_HAS_EFI_BOOT
help
Select this option if the platform you're targetting has a
Select this option if the platform you're targeting has a
64 bits EFI BIOS.
config BR2_TARGET_GRUB2_ARM_UBOOT
@@ -80,7 +80,7 @@ config BR2_TARGET_GRUB2_ARM_UBOOT
depends on BR2_arm
select BR2_TARGET_GRUB2_HAS_LEGACY_BOOT
help
Select this option if the platform you're targetting is an
Select this option if the platform you're targeting is an
ARM u-boot platform, and you want to boot Grub 2 as an u-boot
compatible image.
@@ -90,7 +90,7 @@ config BR2_TARGET_GRUB2_ARM_EFI
select BR2_TARGET_GRUB2_HAS_PTF
select BR2_TARGET_GRUB2_HAS_EFI_BOOT
help
Select this option if the platform you're targetting is an
Select this option if the platform you're targeting is an
ARM platform and you want to boot Grub 2 as an EFI
application.
@@ -99,7 +99,7 @@ config BR2_TARGET_GRUB2_ARM64_EFI
depends on BR2_aarch64
select BR2_TARGET_GRUB2_HAS_EFI_BOOT
help
Select this option if the platform you're targetting is an
Select this option if the platform you're targeting is an
Aarch64 platform and you want to boot Grub 2 as an EFI
application.
@@ -108,7 +108,7 @@ config BR2_TARGET_GRUB2_RISCV64_EFI
depends on BR2_RISCV_64
select BR2_TARGET_GRUB2_HAS_EFI_BOOT
help
Select this option if the platform you're targetting is a
Select this option if the platform you're targeting is a
64bit RISC-V platform and you want to boot Grub 2 as an EFI
application.
+4 -2
View File
@@ -9,8 +9,10 @@ GRUB2_SITE = http://ftp.gnu.org/gnu/grub
GRUB2_SOURCE = grub-$(GRUB2_VERSION).tar.xz
GRUB2_LICENSE = GPL-3.0+
GRUB2_LICENSE_FILES = COPYING
GRUB2_DEPENDENCIES = host-bison host-flex host-gawk host-grub2
HOST_GRUB2_DEPENDENCIES = host-bison host-flex host-gawk
GRUB2_DEPENDENCIES = host-bison host-flex host-gawk host-grub2 \
$(BR2_PYTHON3_HOST_DEPENDENCY)
HOST_GRUB2_DEPENDENCIES = host-bison host-flex host-gawk \
$(BR2_PYTHON3_HOST_DEPENDENCY)
GRUB2_INSTALL_IMAGES = YES
# CVE-2019-14865 is about a flaw in the grub2-set-bootflag tool, which
+1 -1
View File
@@ -65,7 +65,7 @@ OPTEE_OS_MAKE_OPTS += \
CFG_ARM32_core=y
endif
# Get mandatory PLAFORM and optional PLATFORM_FLAVOR and additional
# Get mandatory PLATFORM and optional PLATFORM_FLAVOR and additional
# variables
OPTEE_OS_MAKE_OPTS += PLATFORM=$(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM))
ifneq ($(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR)),)
+1 -1
View File
@@ -22,7 +22,7 @@ SHIM_MAKE_OPTS = \
# shim has some assembly function that is not present in Thumb mode:
# Error: selected processor does not support `mrc p15,0,r2,c9,c13,0' in Thumb mode
# so, we desactivate Thumb mode
# so, we deactivate Thumb mode
ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
SHIM_CFLAGS += -marm
endif
+1 -1
View File
@@ -150,7 +150,7 @@ config BR2_TARGET_UBOOT_DEFAULT_ENV_FILE
Text file containing the variables to be used as the default
environment in U-Boot.
If empty, let U-Boot generate the default enviromnent from the
If empty, let U-Boot generate the default environment from the
source code and other U-Boot configuration values, which is
the default behaviour.
+1 -1
View File
@@ -54,7 +54,7 @@ endif
ifeq ($(BR2_TARGET_UBOOT_FORMAT_ELF),y)
UBOOT_BINS += u-boot
# To make elf usable for debuging on ARC use special target
# To make elf usable for debugging on ARC use special target
ifeq ($(BR2_arc),y)
UBOOT_MAKE_TARGET += mdbtrick
endif
+4 -4
View File
@@ -3,8 +3,8 @@ BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_ARM_FPU_VFPV3=y
# Linux headers same as kernel, a 5.15 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
# Linux headers same as kernel, a 6.6 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
@@ -16,10 +16,10 @@ BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_FORMAT_IMX=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.51"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-evk"
BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imx6sl-evk"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
# required tools to create the SD card image
BR2_PACKAGE_HOST_DOSFSTOOLS=y
+6 -4
View File
@@ -1,12 +1,12 @@
BR2_aarch64=y
BR2_ARM_FPU_VFPV3=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
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"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.7"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.48"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-evk"
@@ -19,15 +19,17 @@ 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,rel_imx_5.4.24_2.1.0)/imx-atf-rel_imx_5.4.24_2.1.0.tar.gz"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-6.6.23-2.0.0)/imx-atf-lf-6.6.23-2.0.0.tar.gz"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq"
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,rel_imx_5.4.24_2.1.0)/uboot-imx-rel_imx_5.4.24_2.1.0.tar.gz"
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.6.23-2.0.0)/uboot-imx-lf-6.6.23-2.0.0.tar.gz"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mq_evk"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin"
BR2_TARGET_UBOOT_SPL=y
-48
View File
@@ -1,48 +0,0 @@
# Architecture
BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_ARM_FPU_VFPV3=y
# Linux headers same as kernel, a 5.12 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
# System
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyS2"
BR2_SYSTEM_DHCP="eth0"
# Image
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pandaboard/genimage.cfg"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2"
BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="omap4-panda-es omap4-panda omap4-panda-a4"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
# Filesystem
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
# BR2_TARGET_ROOTFS_TAR is not set
# Bootloader
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="omap4_panda"
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="MLO"
# Required tools to create the SD card image
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y
+1 -5
View File
@@ -22,11 +22,7 @@ selections are highly application-specific.
Once you have a known working configuration, run +make
savedefconfig+. This will generate a minimal +defconfig+ file at the
root of the Buildroot source tree. Move this file into the +configs/+
directory, and rename it +<boardname>_defconfig+. If the configuration
is a bit more complicated, it is nice to manually reformat it and
separate it into sections, with a comment before each section. Typical
sections are _Architecture_, _Toolchain options_ (typically just linux
headers version), _Firmware_, _Bootloader_, _Kernel_, and _Filesystem_.
directory, and rename it +<boardname>_defconfig+.
Always use fixed versions or commit hashes for the different
components, not the "latest" version. For example, set
+1 -1
View File
@@ -112,7 +112,7 @@ Here is a complete example that uses all variables and all hooks:
05: ################################################################################
06:
07: FOO_SOURCES = $(sort $(wildcard $(FOO_DOCDIR)/*))
08: FOO_RESOURCES = $(sort $(wildcard $(FOO_DOCDIR)/ressources))
08: FOO_RESOURCES = $(sort $(wildcard $(FOO_DOCDIR)/resources))
09:
10: FOO_TOC_DEPTH = 2
11: FOO_TOC_DEPTH_HTML = 1
@@ -107,7 +107,7 @@ Let's look at an example on how to add a new Linux extension +foo+.
First, create the package +foo+ that provides the extension: this
package is a standard package; see the previous chapters on how to
create such a package. This package is in charge of downloading the
sources archive, checking the hash, defining the licence informations
sources archive, checking the hash, defining the licence information
and building user space tools if any.
Then create the 'Linux extension' proper: create a new menu entry in
+1 -1
View File
@@ -61,7 +61,7 @@ added to +FOO_DEPENDENCIES+. Note that the support for +baz+ is explicitly
disabled at line 20, if the package is not selected.
To sum it up, to add a new meson-based package, the Makefile example can be
copied verbatim then edited to replace all occurences of +FOO+ with the
copied verbatim then edited to replace all occurrences of +FOO+ with the
uppercase name of the new package and update the values of the standard
variables.
+1 -1
View File
@@ -399,7 +399,7 @@ can be chosen from +System configuration+, +Init system+:
BusyBox +inittab+ syntax is special: do not use a random +inittab+
documentation from the Internet to learn about BusyBox
+inittab+). The default +inittab+ in Buildroot is stored in
+system/skeleton/etc/inittab+. Apart from mounting a few important
+package/busybox/inittab+. Apart from mounting a few important
filesystems, the main job the default inittab does is to start the
+/etc/init.d/rcS+ shell script, and start a +getty+ program (which
provides a login prompt).
+1 -1
View File
@@ -191,7 +191,7 @@ tree.
For some packages, Buildroot provides a choice between two (or more)
implementations of API-compatible such packages. For example, there is
a choice to choose either libjpeg ot jpeg-turbo; there is one between
a choice to choose either libjpeg or jpeg-turbo; there is one between
openssl or libressl; there is one to select one of the known,
pre-configured toolchains...
+1 -1
View File
@@ -4,7 +4,7 @@
= The Buildroot user manual
:toc:
Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on {localdate}
Buildroot {sys:echo $BR2_VERSION} manual generated on {localdate}
{localtime} from git revision {sys:git rev-parse --short HEAD}
The Buildroot manual is written by the Buildroot developers.
+2 -2
View File
@@ -62,7 +62,7 @@ $ echo 'name: NAME_OF_YOUR_TREE' >external.desc
Be careful when choosing a name: It has to be unique and be made
with only ASCII characters from the set +[A-Za-z0-9_]+.
* Then, change every occurence of +BR2_EXTERNAL+ in your br2-external
* Then, change every occurrence of +BR2_EXTERNAL+ in your br2-external
tree with the new variable:
+
----
@@ -143,7 +143,7 @@ The download backends have been extended in various ways.
fields (`devmajor` and `devminor`), which has an impact in the metadata
stored in the archives (but the content of files is not affected).
To accomodate those changes, the archive suffix has been updated or
To accommodate those changes, the archive suffix has been updated or
added:
* for git: +-git4+
+1 -1
View File
@@ -16,7 +16,7 @@ Alternatively, Buildroot can also export the toolchain and the development
files of all selected packages, as an SDK, by running the command
+make sdk+. This generates a tarball of the content of the host directory
+output/host/+, named +<TARGET-TUPLE>_sdk-buildroot.tar.gz+ (which can be
overriden by setting the environment variable +BR2_SDK_PREFIX+) and
overridden by setting the environment variable +BR2_SDK_PREFIX+) and
located in the output directory +output/images/+.
This tarball can then be distributed to application developers, when
+1 -1
View File
@@ -18,7 +18,7 @@ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
INABILITY TO USE THIS WEBSITE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR
LOSS OF HAIR, LOSS OF LIFE, LOSS OF MEMORY, LOSS OF YOUR CARKEYS, MISPLACEMENT
OF YOUR PAYCHECK, OR COMMANDER DATA BEING RENDERED UNABLE TO ASSIST THE
STARFLEET OFFICERS ABORD THE STARSHIP ENTERPRISE TO RECALIBRATE THE MAIN
STARFLEET OFFICERS ABOARD THE STARSHIP ENTERPRISE TO RECALIBRATE THE MAIN
DEFLECTOR ARRAY, LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
WEBSITE TO OPERATE WITH YOUR WEBBROWSER), EVEN IF SUCH HOLDER OR OTHER PARTY
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+3 -3
View File
@@ -26,7 +26,7 @@
<h3>HTML <br>
<a href="/manual.html">Stable</a> |
<a href="http://nightly.buildroot.org/manual.html">Nightly</a>
<a href="https://nightly.buildroot.org/manual.html">Nightly</a>
</h3>
</div>
@@ -45,7 +45,7 @@
<h3>PDF <br>
<a href="/downloads/manual/manual.pdf">Stable</a> |
<a href="http://nightly.buildroot.org/manual.pdf">Nightly</a>
<a href="https://nightly.buildroot.org/manual.pdf">Nightly</a>
</h3>
</div>
@@ -64,7 +64,7 @@
<h3>ASCII <br>
<a href="/downloads/manual/manual.text">Stable</a> |
<a href="http://nightly.buildroot.org/manual.text">Nightly</a>
<a href="https://nightly.buildroot.org/manual.text">Nightly</a>
</h3>
</div>
+9 -9
View File
@@ -42,37 +42,37 @@
</div>
</div>
<h3 style="text-align: center;">Latest stable release: <b>2024.05.2</b></h3>
<h3 style="text-align: center;">Latest stable release: <b>2024.08</b></h3>
<div class="row mt centered">
<div class="col-sm-6">
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
<a href="/downloads/buildroot-2024.05.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
<a href="/downloads/buildroot-2024.08.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
</div>
<div class="back">
<a href="/downloads/buildroot-2024.05.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
<a href="/downloads/buildroot-2024.08.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
</div>
</div>
</div>
<h3><a href="/downloads/buildroot-2024.05.2.tar.gz">buildroot-2024.05.2.tar.gz</a></h3>
<p><a href="/downloads/buildroot-2024.05.2.tar.gz.sign">PGP signature</a></p>
<h3><a href="/downloads/buildroot-2024.08.tar.gz">buildroot-2024.08.tar.gz</a></h3>
<p><a href="/downloads/buildroot-2024.08.tar.gz.sign">PGP signature</a></p>
</div>
<div class="col-sm-6">
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
<a href="/downloads/buildroot-2024.05.2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
<a href="/downloads/buildroot-2024.08.tar.xz"><img src="images/package.png" width="180" alt=""></a>
</div>
<div class="back">
<a href="/downloads/buildroot-2024.05.2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
<a href="/downloads/buildroot-2024.08.tar.xz"><img src="images/package.png" width="180" alt=""></a>
</div>
</div>
</div>
<h3><a href="/downloads/buildroot-2024.05.2.tar.xz">buildroot-2024.05.2.tar.xz</a></h3>
<p><a href="/downloads/buildroot-2024.05.2.tar.xz.sign">PGP signature</a></p>
<h3><a href="/downloads/buildroot-2024.08.tar.xz">buildroot-2024.08.tar.xz</a></h3>
<p><a href="/downloads/buildroot-2024.08.tar.xz.sign">PGP signature</a></p>
</div>
</div>
+20 -2
View File
@@ -9,6 +9,24 @@
<h2>News</h2>
<ul class="timeline">
<li class="timeline-inverted">
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4 class="timeline-title">2024.08 released</h4>
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>6 September 2024</small></p>
</div>
<div class="timeline-body">
<p>The stable 2024.08 release is out - Thanks to everyone
contributing and testing the release candidates. See the
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2024.08">CHANGES</a>
file for more details
and go to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2024.08.tar.xz">2024.08 release</a>.</p>
</div>
</div>
</li>
<li>
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
<div class="timeline-panel">
@@ -7334,7 +7352,7 @@
</div>
<div class="timeline-body">
<p>We have a new release candidate! Various fixes, and
addition of licensing informations on many
addition of licensing information on many
packages. See <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.08_rc3">CHANGES</a>
file for details</p>
@@ -7356,7 +7374,7 @@
</div>
<div class="timeline-body">
<p>We have a new release candidate! Various fixes, and addition
of licensing informations on many
of licensing information on many
packages. See <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.08_rc2">CHANGES</a>
file for details</p>
+12 -1
View File
@@ -134,7 +134,7 @@ config BR2_LINUX_KERNEL_CUSTOM_REPO_GIT_SUBMODULES
config BR2_LINUX_KERNEL_VERSION
string
default "6.10.7" if BR2_LINUX_KERNEL_LATEST_VERSION
default "6.10.10" 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 \
@@ -492,6 +492,17 @@ config BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE
such as "BTF: .tmp_vmlinux.btf: pahole (pahole) is not
available".
config BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3
bool "Needs host python3"
help
Some Linux kernel configuration options (such as the
CONFIG_DRM_MSM in v6.10 and greater) require a host python3
interpreter. Enabling this option will ensure host-python3
gets built before the Linux kernel.
Enable this option if you get a Linux kernel build failure
such as "python3: not found".
# Linux extensions
source "linux/Config.ext.in"
+7 -7
View File
@@ -1,13 +1,13 @@
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
sha256 900d567ff01824708ce24c3b37faaef03e6f6145411dd447a6ff2edc8c5db3a9 linux-6.10.7.tar.xz
sha256 6b16df7b2aba3116b78fdfd8aea0b6cd7abe8f0cb699b04a66d3169141772029 linux-6.6.48.tar.xz
sha256 f43229d1d73011fa0a37400320a26972946f8ff295c404c31c0dd0407228b0e8 linux-6.1.107.tar.xz
sha256 e687e735b5eb9efb6d67b42433c93fc9118106a995514f062652873b5e809bcd linux-6.10.10.tar.xz
sha256 1c0c9a14650879c4913efdbac428ba31a540c3d987155ddf34d33e11eca008b3 linux-6.6.51.tar.xz
sha256 9ebe34b4742f8c9104678f32a6bc20e91299ebac2ae607ff2ed137d928df8f6a linux-6.1.110.tar.xz
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
sha256 a36dd3e82ceb634afded31f2656568f57c4d9c4b399859f298b18116df11c6fe linux-5.15.165.tar.xz
sha256 19b099c67324bba6378e22dc51ad3906e4dcd6a908d137766b4bfa9174ddd11a linux-5.10.224.tar.xz
sha256 5582770976d33bb7bf9494e0fa0c49f449aa02b0133d00a5a198b6c208dd7de0 linux-5.4.282.tar.xz
sha256 b1751f18ece3df08d502dd87a9ab1a317dc0f9486355bf8ee62ba6af0b35da30 linux-5.15.167.tar.xz
sha256 f6a19a64785965b9fcac0bcb6fd2412b45ca449495bb03592d46f9a50be51ca6 linux-5.10.226.tar.xz
sha256 77221ab9aebeac746915c755ec3b7d320f85cd219c63d9c501820fbca1e3b32b linux-5.4.284.tar.xz
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
sha256 9d671a12b00301b7ce63022d4e4afa3e40aa318f8f7f25a1147e602fdb1047a1 linux-4.19.320.tar.xz
sha256 4e27cdf999359876a0ff489bff6ece7ba5798ff37c2289db0c9e9422a9014162 linux-4.19.322.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
+5 -1
View File
@@ -86,7 +86,7 @@ LINUX_DEPENDENCIES += \
$(if $(BR2_PACKAGE_FIRMWARE_IMX),firmware-imx) \
$(if $(BR2_PACKAGE_WIRELESS_REGDB),wireless-regdb)
# Starting with 4.16, the generated kconfig paser code is no longer
# Starting with 4.16, the generated kconfig parser code is no longer
# shipped with the kernel sources, so we need flex and bison, but
# only if the host does not have them.
LINUX_KCONFIG_DEPENDENCIES = \
@@ -138,6 +138,10 @@ define LINUX_FIXUP_CONFIG_PAHOLE_CHECK
endef
endif
ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3),y)
LINUX_DEPENDENCIES += $(BR2_PYTHON3_HOST_DEPENDENCY)
endif
# If host-uboot-tools is selected by the user, assume it is needed to
# create a custom image
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS),y)
+1 -2
View File
@@ -61,6 +61,7 @@ menu "Audio and video applications"
source "package/vlc/Config.in"
source "package/vorbis-tools/Config.in"
source "package/wavpack/Config.in"
source "package/wireplumber/Config.in"
source "package/yavta/Config.in"
source "package/ympd/Config.in"
source "package/zynaddsubfx/Config.in"
@@ -331,7 +332,6 @@ comment "Graphic applications"
source "package/kmscube/Config.in"
source "package/libva-utils/Config.in"
source "package/mesa3d-demos/Config.in"
source "package/midori/Config.in"
source "package/netsurf/Config.in"
source "package/pngquant/Config.in"
source "package/qt5cinex/Config.in"
@@ -1761,7 +1761,6 @@ menu "Graphics"
source "package/waylandpp/Config.in"
source "package/webkitgtk/Config.in"
source "package/webp/Config.in"
source "package/wireplumber/Config.in"
source "package/wlroots/Config.in"
source "package/woff2/Config.in"
source "package/wpebackend-fdo/Config.in"
+1 -1
View File
@@ -5,7 +5,7 @@
################################################################################
AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41
AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git
AER_INJECT_SITE = https://github.com/intel/aer-inject.git
AER_INJECT_SITE_METHOD = git
AER_INJECT_LICENSE = GPL-2.0
AER_INJECT_LICENSE_FILES = README
+2 -2
View File
@@ -12,8 +12,8 @@ ALURE_INSTALL_STAGING = YES
ALURE_DEPENDENCIES = openal
# Disabling alure examples remove the dependecies on physfs and dump libraries.
# Enable at least one built-in decoder (wave).
# Disabling alure examples removes the dependencies on physfs and dump
# libraries. Enable at least one built-in decoder (wave).
ALURE_CONF_OPTS = -DALURE_INSTALL=ON \
-DALURE_BUILD_EXAMPLES=OFF \
-DALURE_ENABLE_WAVE=ON
+1 -1
View File
@@ -1,4 +1,4 @@
# Locally computed:
sha256 d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05 armadillo-9.900.2.tar.xz
sha256 d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05 armadillo-9.900.2.tar.xz.RETIRED
# License files, locally calculated
sha256 3ddf9be5c28fe27dad143a5dc76eea25222ad1dd68934a047064e56ed2fa40c5 LICENSE.txt
+6 -2
View File
@@ -5,8 +5,8 @@
################################################################################
ARMADILLO_VERSION = 9.900.2
ARMADILLO_SOURCE = armadillo-$(ARMADILLO_VERSION).tar.xz
ARMADILLO_SITE = https://downloads.sourceforge.net/project/arma
ARMADILLO_SOURCE = armadillo-$(ARMADILLO_VERSION).tar.xz.RETIRED
ARMADILLO_SITE = https://sourceforge.net/projects/arma/files/retired
ARMADILLO_INSTALL_STAGING = YES
ARMADILLO_LICENSE = Apache-2.0
ARMADILLO_LICENSE_FILES = LICENSE.txt
@@ -30,4 +30,8 @@ ARMADILLO_CONF_OPTS += -DLAPACK_FOUND=ON
ARMADILLO_DEPENDENCIES += lapack
endif
define ARMADILLO_EXTRACT_CMDS
$(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) $($(PKG)_DL_DIR)/$(ARMADILLO_SOURCE)
endef
$(eval $(cmake-package))
+1 -1
View File
@@ -1,5 +1,5 @@
# Locally computed
sha256 6bc4d982a238397bf6b3bfa523f63a75a2d9b19edd6f33f79264f2385d05bc42 asterisk-20.9.2.tar.gz
sha256 a15099a5c776045e96b0da2534606c8dbd13bc1ffcbe325f7cfd74dc1d29decb asterisk-20.9.3.tar.gz
# sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases
# sha256 locally computed
+1 -1
View File
@@ -4,7 +4,7 @@
#
################################################################################
ASTERISK_VERSION = 20.9.2
ASTERISK_VERSION = 20.9.3
# Use the github mirror: it's an official mirror maintained by Digium, and
# provides tarballs, which the main Asterisk git tree (behind Gerrit) does not.
ASTERISK_SITE = $(call github,asterisk,asterisk,$(ASTERISK_VERSION))
@@ -0,0 +1,45 @@
From aebf4fb23df2c4ec8857aef05a468991054a58c1 Mon Sep 17 00:00:00 2001
From: Thomas Perale <thomas.perale@mind.be>
Date: Thu, 19 Sep 2024 18:57:16 +0200
Subject: [PATCH] [sink_flac] missing SWAPS definition
On big endian architecture with libflac enabled the following error
would happen when cross-compiling aubio with buildroot.
```
[ 75/243] Linking build/tests/test-pitchshift
/home/autobuild/autobuild/instance-16/output-1/per-package/aubio/host/bin/../lib/gcc/mips64-buildroot-linux-gnu/13.3.0/../../../../mips64-buildroot-linux-gnu/bin/ld: src/libaubio.so: undefined reference to `SWAPS'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/autobuild/autobuild/instance-16/output-1/build/aubio-152d6819b360c2e7b379ee3f373d444ab3df0895/build'
Build failed
```
Indeed there is a missing definition of the `SWAPS` macro in
`/src/io/sink_flac.c` file.
This commit copy the `SWAPS` definition from the
`/src/io/sink_wavwrite.c` file in `sink_flac.c` to fix this issue.
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Upstream: https://github.com/aubio/aubio/pull/407
---
src/io/sink_flac.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/io/sink_flac.c b/src/io/sink_flac.c
index 04144793..0a1cbc26 100644
--- a/src/io/sink_flac.c
+++ b/src/io/sink_flac.c
@@ -36,6 +36,9 @@
#define MAX_WRITE_SIZE 4096
+// swap endian of a short
+#define SWAPS(x) ((x & 0xff) << 8) | ((x & 0xff00) >> 8)
+
// swap host to little endian
#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
#define HTOLES(x) SWAPS(x)
--
2.46.0
+1 -1
View File
@@ -17,7 +17,7 @@ AUDIT_CONF_OPTS = --without-python --without-python3 --disable-zos-remote
# src/libev has some assembly function that is not present in Thumb mode:
# Error: selected processor does not support `mcr p15,0,r3,c7,c10,5' in Thumb mode
# so, we desactivate Thumb mode
# so, we deactivate Thumb mode
ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
AUDIT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
endif
@@ -1,10 +1,10 @@
Remove optional imp python module dependency.
Upstream already removed py-compile entirely in their git repository,
so the patch is not appropiate for upstream.
so the patch is not appropriate for upstream.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Upstream: not appropiate
Upstream: not appropriate
diff -Nur avahi-0.8.orig/py-compile avahi-0.8/py-compile
--- avahi-0.8.orig/py-compile 2020-02-18 07:58:21.192417644 +0100
+1 -1
View File
@@ -1,3 +1,3 @@
# Locally computed
sha256 154f00e0a8bf35d6ea9028886c3dc5c3c342dd1a367df55ef29a547b75867f07 babeld-1.9.2.tar.gz
sha256 22549e27645ecb9ef4c715a3cbeea01fa2dc7ea6951e8f97dc9c4a7b2a1de8f5 babeld-babeld-1.9.2-git4.tar.gz
sha256 b415c41292cedef6c97b243609e50552887c29343566c639f23282d31efd2afd LICENCE
+3 -2
View File
@@ -4,8 +4,9 @@
#
################################################################################
BABELD_VERSION = 1.9.2
BABELD_SITE = http://www.pps.univ-paris-diderot.fr/~jch/software/files
BABELD_VERSION = babeld-1.9.2
BABELD_SITE = https://github.com/jech/babeld
BABELD_SITE_METHOD = git
BABELD_LICENSE = MIT
BABELD_LICENSE_FILES = LICENCE
@@ -3,7 +3,7 @@ From: Matt Weber <matthew.weber@rockwellcollins.com>
Date: Fri, 13 Sep 2019 13:45:02 -0500
Subject: [PATCH] bc: use MAKEINFO variable for docs
Use the appropiate MAKEINFO variable rather than the hardcoded makeinfo
Use the appropriate MAKEINFO variable rather than the hardcoded makeinfo
command directly, otherwise missing logic never works.
Fixes:
@@ -16,7 +16,7 @@ Quoting from the bug report:
were correct. I _think_ I got them all. -iwj.
-- Ian Jackson <iwj@ubuntu.com> Tue, 4 Apr 2006 17:21:02 +0100
Upsteam:
Upstream:
https://sources.debian.org/patches/bc/1.07.1-2/05_notice_read_write_errors.diff/
[Reformatted to GIT for 1.0.7.1 by Matt W]
+1 -1
View File
@@ -5,7 +5,7 @@ Subject: [PATCH] no gen libmath
These rules are not cross-friendly so delete them. libmath has been
generated offline and included as part of this patch as the fbc tool
used to generate that header is assuming the cross archtecture and
used to generate that header is assuming the cross architecture and
can't execute.
Upstream:
@@ -1,4 +1,4 @@
Don't inline crc64 for gcc-5 compatability
Don't inline crc64 for gcc-5 compatibility
This patch is backported from Debian and it fixes the following error:
@@ -11,7 +11,7 @@ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
From: David Mohr <david@mcbf.net>
Date: Tue, 26 May 2015 20:34:31 -0600
Subject: Don't inline crc64 for gcc-5 compatability
Subject: Don't inline crc64 for gcc-5 compatibility
Forwarded: http://article.gmane.org/gmane.linux.kernel.bcache.devel/2919
@@ -6,7 +6,7 @@ Subject: [PATCH] eibd: drop local clock_gettime in USB backends
clock_gettime is defined locally, and calls pth_int_time, which
in turn calls clock_gettime.
The USB backend shouldn't overrule clock_gettime in the first place.
This patch fixes this endless recursion by removing the local defition.
This patch fixes this endless recursion by removing the local definition.
Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
---
-34
View File
@@ -1,34 +0,0 @@
From 505cc9fcadda5607dc4c5bacb03928c0b35162a8 Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Wed, 4 Nov 2020 17:51:38 +0100
Subject: [PATCH] Use host compiler to build 'gen' since it's run when
building.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Fabrice: updated for 9.11.10]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
lib/dns/Makefile.in | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/dns/Makefile.in b/lib/dns/Makefile.in
index 8fc4e94f26..4ac92857e0 100644
--- a/lib/dns/Makefile.in
+++ b/lib/dns/Makefile.in
@@ -184,10 +184,8 @@ code.h: gen
./gen -s ${srcdir} > code.h || { rm -f $@ ; exit 1; }
gen: gen.c
- ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
- ${LFS_CFLAGS} ${LFS_LDFLAGS} \
- ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \
- ${BUILD_LIBS} ${LFS_LIBS}
+ ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \
+ ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c
timestamp: include libdns.@A@
touch timestamp
--
2.29.1
+4 -4
View File
@@ -1,4 +1,4 @@
# Verified from https://ftp.isc.org/isc/bind9/9.16.48/bind-9.16.48.tar.xz.asc
# with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD
sha256 8d3814582348f90dead1ad410b1019094cd399d3d83930abebb2b3b1eb0b2bbb bind-9.16.48.tar.xz
sha256 13491a682dc0f5ee2273cebd3949e2be62f9470fe659419a03a308d4f444773b COPYRIGHT
# Verified from https://ftp.isc.org/isc/bind9/9.18.28/bind-9.18.28.tar.xz.asc
# with key 706B6C28620E76F91D11F7DF510A642A06C52CEC
sha256 e7cce9a165f7b619eefc4832f0a8dc16b005d29e3890aed6008c506ea286a5e7 bind-9.18.28.tar.xz
sha256 9734825d67a3ac967b2c2f7c9a83c9e5db1c2474dbe9599157c3a4188749ebd4 COPYRIGHT
+5 -4
View File
@@ -4,7 +4,7 @@
#
################################################################################
BIND_VERSION = 9.16.48
BIND_VERSION = 9.18.28
BIND_SOURCE= bind-$(BIND_VERSION).tar.xz
BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION)
# bind does not support parallel builds.
@@ -24,13 +24,14 @@ BIND_TARGET_SERVER_SBIN += lwresd named named-checkconf named-checkzone
BIND_TARGET_SERVER_SBIN += named-compilezone rndc rndc-confgen dnssec-dsfromkey
BIND_TARGET_SERVER_SBIN += dnssec-keyfromlabel dnssec-signzone tsig-keygen
BIND_TARGET_TOOLS_BIN = dig host nslookup nsupdate
BIND_CONF_ENV = \
BUILD_CC="$(TARGET_CC)" \
LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
# avoid potential Debian 12 libtool 2.4.7 bug
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929396
BIND_AUTORECONF = YES
BIND_CONF_OPTS = \
--without-cmocka \
--without-lmdb \
--enable-epoll \
--disable-doh \
--disable-backtrace \
--with-openssl=$(STAGING_DIR)/usr
+2 -2
View File
@@ -4,7 +4,7 @@ comment "boost needs a toolchain w/ C++, threads, wchar"
config BR2_PACKAGE_BOOST
bool "boost"
depends on BR2_INSTALL_LIBSTDCPP
# Boost could theorically be built with threading=single, but
# Boost could theoretically be built with threading=single, but
# that unfortunately doesn't work. Until someone fixes that,
# let's depend on threads.
depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -241,7 +241,7 @@ config BR2_PACKAGE_BOOST_MATH
C++ standard.
Quaternions are a relative of complex numbers often used to
parameterise rotations in three dimentional space.
parameterise rotations in three dimensional space.
Octonions, like quaternions, are a relative of complex
numbers.
@@ -0,0 +1,70 @@
From c4f93565acf3718111cdbaea15e1a8aacf2f44cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>
Date: Mon, 23 Sep 2024 18:56:00 +0200
Subject: [PATCH] tc: Fix compilation with Linux v6.8-rc1
Linux v6.8-rc1 removed the definitions related to CBQ:
https://github.com/torvalds/linux/commit/33241dca486264193ed68167c8eeae1fb197f3df
making tc fail to build.
Add some #ifdefs to handle this missing support.
Upstream: http://lists.busybox.net/pipermail/busybox/2024-March/090678.html
Bug report: https://bugs.busybox.net/show_bug.cgi?id=15931
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
networking/tc.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/networking/tc.c b/networking/tc.c
index 3a79fd2d9..d08fd1359 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -231,6 +231,13 @@ static int cbq_parse_opt(int argc, char **argv, struct nlmsghdr *n)
return 0;
}
#endif
+
+#ifndef TCA_CBQ_MAX
+/*
+ * Linux v6.8-rc1~131^2~60^2^2 removed the uapi definitions for CBQ.
+ * See https://git.kernel.org/linus/33241dca48626
+ */
+#else
static int cbq_print_opt(struct rtattr *opt)
{
struct rtattr *tb[TCA_CBQ_MAX+1];
@@ -322,6 +329,7 @@ static int cbq_print_opt(struct rtattr *opt)
done:
return 0;
}
+#endif
static FAST_FUNC int print_qdisc(
const struct sockaddr_nl *who UNUSED_PARAM,
@@ -372,8 +380,10 @@ static FAST_FUNC int print_qdisc(
int qqq = index_in_strings(_q_, name);
if (qqq == 0) { /* pfifo_fast aka prio */
prio_print_opt(tb[TCA_OPTIONS]);
+#ifdef TCA_CBQ_MAX
} else if (qqq == 1) { /* class based queuing */
cbq_print_opt(tb[TCA_OPTIONS]);
+#endif
} else {
/* don't know how to print options for this qdisc */
printf("(options for %s)", name);
@@ -442,9 +452,11 @@ static FAST_FUNC int print_class(
int qqq = index_in_strings(_q_, name);
if (qqq == 0) { /* pfifo_fast aka prio */
/* nothing. */ /*prio_print_opt(tb[TCA_OPTIONS]);*/
+#ifdef TCA_CBQ_MAX
} else if (qqq == 1) { /* class based queuing */
/* cbq_print_copt() is identical to cbq_print_opt(). */
cbq_print_opt(tb[TCA_OPTIONS]);
+#endif
} else {
/* don't know how to print options for this class */
printf("(options for %s)", name);
--
2.39.5
+1 -1
View File
@@ -2,6 +2,6 @@ config BR2_PACKAGE_C_ICAP_MODULES
bool "c-icap-modules"
depends on BR2_PACKAGE_C_ICAP
help
Additionals modules for c-icap server.
Additional modules for c-icap server.
http://c-icap.sourceforge.net/
@@ -0,0 +1,33 @@
From 29c4e0038b212e953cc59ac8b31d4541db758a3d Mon Sep 17 00:00:00 2001
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Date: Tue, 3 Sep 2024 17:43:44 +0200
Subject: [PATCH] Fix build failure due to getpagesize implicit declaration
The patch fixes the following build error:
calibrator.c: In function 'runCache':
calibrator.c:267:24: error: implicit declaration of function 'getpagesize' [-Wimplicit-function-declaration]
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Upstream: sent to Stefan Manegold Stefan.Manegold@cwi.nl
---
calibrator.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/calibrator.c b/calibrator.c
index e045dfdcb96b..fd2fadb26020 100644
--- a/calibrator.c
+++ b/calibrator.c
@@ -37,9 +37,7 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-/*
#include <unistd.h>
-*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
--
2.43.0
@@ -1,41 +0,0 @@
From 8d5037ed642b02cdb018e49866aa286f30a7b59a Mon Sep 17 00:00:00 2001
From: Thomas Devoogdt <thomas@devoogdt.com>
Date: Mon, 5 Feb 2024 17:47:07 +0100
Subject: [PATCH] meson: always skip IPC_RMID_DEFERRED_RELEASE check when
cross-compiling
../../br-test-pkg/bootlin-armv5-uclibc/build/cairo-1.17.4/meson.build:279:13:
ERROR: Can not run test applications in this cross environment.
Commit 1bec56ea8a931e1ae1c74cc740134497ec365267 added support to define
ipc_rmid_deferred_release in a cross-compile config, but still kept
the default to auto, which anyhow results in an error when cross-compiling.
There is only one usage of the ipc_rmid_deferred_release compile declarative
which was originally added in this commit: 5041b462d084de8552336275914d30c23bf5dd35.
If ipc_rmid_deferred_release is set to FALSE, an additional XSync is performed.
This doesn't sound very harmful, so that is why this commit defaults to FALSE
and thus avoids any cross-compile errors.
Upstream: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/534
Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 9efe91978..6a670bf94 100644
--- a/meson.build
+++ b/meson.build
@@ -369,7 +369,7 @@ if x11_dep.found() and xext_dep.found()
# Can skip the run check by providing the result in a cross file or
# native file as bool property value.
- prop = meson.get_external_property('ipc_rmid_deferred_release', 'auto')
+ prop = meson.get_external_property('ipc_rmid_deferred_release', meson.is_cross_build() ? 'false' : 'auto')
# We don't know the type of prop (bool, string) but need to differentiate
# between a set value (bool) or the fallback value (string), so convert to
# a string and check the string value.
--
2.34.1
@@ -1,38 +0,0 @@
From e93ef3feb69994e3aa4e0ab66ccd66139b097e49 Mon Sep 17 00:00:00 2001
From: Thomas Devoogdt <thomas.devoogdt@barco.com>
Date: Thu, 18 Jul 2024 12:16:51 +0200
Subject: [PATCH] meson: only require cpp for windows
Allow to compile cairo without c++ toolchain.
Fixes:
- http://autobuild.buildroot.net/results/98b62ab7ed3092f9f9085f723baf7d6267451e5c/
Upstream: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/573
Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
---
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 9100152ee..297482b03 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('cairo', 'c', 'cpp',
+project('cairo', 'c',
meson_version: '>= 0.59.0',
version: run_command(find_program('version.py'), check: true).stdout().strip(),
default_options: ['warning_level=2'],
@@ -489,6 +489,8 @@ if host_machine.system() == 'darwin' and not get_option('quartz').disabled()
endif
if host_machine.system() == 'windows'
+ add_languages('cpp')
+
add_project_arguments('-DWIN32_LEAN_AND_MEAN', '-DNOMINMAX', language: ['c', 'cpp'])
win32_extra_deps = [
--
2.45.2
+2 -2
View File
@@ -1,5 +1,5 @@
# From https://www.cairographics.org/releases/cairo-1.18.0.tar.xz.sha256sum
sha256 243a0736b978a33dee29f9cca7521733b78a65b5418206fef7bd1c3d4cf10b64 cairo-1.18.0.tar.xz
# From https://www.cairographics.org/releases/cairo-1.18.2.tar.xz.sha256sum
sha256 a62b9bb42425e844cc3d6ddde043ff39dbabedd1542eba57a2eb79f85889d45a cairo-1.18.2.tar.xz
# Hash for license files:
sha256 67228a9f7c5f9b67c58f556f1be178f62da4d9e2e6285318d8c74d567255abdf COPYING
+1 -1
View File
@@ -4,7 +4,7 @@
#
################################################################################
CAIRO_VERSION = 1.18.0
CAIRO_VERSION = 1.18.2
CAIRO_SOURCE = cairo-$(CAIRO_VERSION).tar.xz
CAIRO_LICENSE = LGPL-2.1 or MPL-1.1 (library)
CAIRO_LICENSE_FILES = COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1
@@ -4,7 +4,7 @@ Date: Sun, 15 Mar 2020 16:55:33 -0500
Subject: [PATCH] Remove redundant demoextend definition
GCC 10 enables -fno-common by default, which causes the linker to fail when
there are multple definitions of a global variable.
there are multiple definitions of a global variable.
See https://gcc.gnu.org/gcc-10/porting_to.html
+1 -1
View File
@@ -1,5 +1,5 @@
# Locally calculated
sha256 12dcd842b6c46e5a9fdf2f5c16304efafe53310ac4605990465651b0c42227b2 clamav-1.0.6.tar.gz
sha256 f4d67240a8b2e882e18f864529040084617de066cdab9b7684951ace6ea6f3cf clamav-1.0.7.tar.gz
sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING.txt
sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING/COPYING.bzip2
sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING/COPYING.file
+1 -1
View File
@@ -4,7 +4,7 @@
#
################################################################################
CLAMAV_VERSION = 1.0.6
CLAMAV_VERSION = 1.0.7
CLAMAV_SITE = https://www.clamav.net/downloads/production
CLAMAV_LICENSE = GPL-2.0
CLAMAV_LICENSE_FILES = \
+3 -3
View File
@@ -288,7 +288,7 @@ config BR2_PACKAGE_COLLECTD_GPS
bool "gps"
select BR2_PACKAGE_GPSD
help
Reports the number of sattelites seen by and precision
Reports the number of satellites seen by and precision
of a GPS receiver.
config BR2_PACKAGE_COLLECTD_HUGEPAGES
@@ -471,7 +471,7 @@ config BR2_PACKAGE_COLLECTD_PING
bool "ping"
select BR2_PACKAGE_LIBOPING
help
Mesures network latency using ICMP "echo requests".
Measures network latency using ICMP "echo requests".
config BR2_PACKAGE_COLLECTD_POSTGRESQL
bool "postgresql"
@@ -493,7 +493,7 @@ comment "postgresql support can't be built with Optimize for fast"
config BR2_PACKAGE_COLLECTD_PROCESSES
bool "processes"
help
Collects the number of processes gruped by state.
Collects the number of processes grouped by state.
config BR2_PACKAGE_COLLECTD_PROTOCOLS
bool "protocols"
+1 -1
View File
@@ -38,7 +38,7 @@ endif
COLLECTD_CONF_ENV += CFLAGS="$(COLLECTD_CFLAGS)"
#
# NOTE: There's also a third availible setting "intswap", which might
# NOTE: There's also a third available setting "intswap", which might
# be needed on some old ARM hardware (see [2]), but is not being
# accounted for as per discussion [1]
#
+1 -1
View File
@@ -1,4 +1,4 @@
# From https://www.kernel.org/pub/linux/utils/cryptsetup/v2.7/sha256sums.asc
sha256 dce29903a58f7b774fe61191e7e6de955de0f40d9e27b0028ffcf3438c0e9480 cryptsetup-2.7.4.tar.xz
sha256 d2be4395b8f503b0ebf4b2d81db90c35a97050a358ee21fe62a0dfb66e5d5522 cryptsetup-2.7.5.tar.xz
sha256 45670cce8b6a0ddd66c8016cd8ccef6cd71f35717cbacc7f1e895b3855207b33 COPYING
sha256 8c33cc37871654ec7ed87e6fbb896c8cf33ef5ef05b1611a5aed857596ffafa5 COPYING.LGPL
+1 -1
View File
@@ -5,7 +5,7 @@
################################################################################
CRYPTSETUP_VERSION_MAJOR = 2.7
CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).4
CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).5
CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.xz
CRYPTSETUP_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/cryptsetup/v$(CRYPTSETUP_VERSION_MAJOR)
CRYPTSETUP_DEPENDENCIES = \
@@ -1,4 +1,4 @@
From 6bc1d15250841cf17d307cfb4f35c960c23d8797 Mon Sep 17 00:00:00 2001
From d3c595f551d2efc516c879fd6553263bed5c1aac Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Sun, 29 May 2016 19:31:50 +0200
Subject: [PATCH] Remove man from BUILDDIRS in configure
@@ -15,7 +15,7 @@ Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config-scripts/cups-common.m4 b/config-scripts/cups-common.m4
index 3a162b6d5..fb629fdfd 100644
index 613f01ddf..6f1bcb07e 100644
--- a/config-scripts/cups-common.m4
+++ b/config-scripts/cups-common.m4
@@ -462,7 +462,7 @@ LIBHEADERS="\$(COREHEADERS) \$(DRIVERHEADERS)"
@@ -27,7 +27,6 @@ index 3a162b6d5..fb629fdfd 100644
], [core], [
BUILDDIRS="tools examples locale"
], [corelite], [
--
2.17.1
2.34.1
@@ -1,4 +1,4 @@
From 193c8d8c55a3478ca5c9e161ce581e5794098c6d Mon Sep 17 00:00:00 2001
From e028ca535e4150f53cd10a2deeb57b12be79fc8c Mon Sep 17 00:00:00 2001
From: Olivier Schonken <olivier.schonken@gmail.com>
Date: Thu, 21 Jan 2016 23:04:49 +0100
Subject: [PATCH] Do not use genstrings
@@ -23,10 +23,10 @@ Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
1 file changed, 2 deletions(-)
diff --git a/ppdc/Makefile b/ppdc/Makefile
index 32e2e0b..7b18879 100644
index e36ed1190..d42d7e64e 100644
--- a/ppdc/Makefile
+++ b/ppdc/Makefile
@@ -186,8 +186,6 @@ genstrings: genstrings.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) \
@@ -187,8 +187,6 @@ genstrings: genstrings.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) \
$(LD_CXX) $(ARCHFLAGS) $(ALL_LDFLAGS) -o genstrings genstrings.o \
libcupsppdc.a $(LINKCUPSSTATIC)
$(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
@@ -36,5 +36,5 @@ index 32e2e0b..7b18879 100644
#
--
2.17.1
2.34.1
@@ -1,4 +1,4 @@
From e35f809c435c224954a5c7bff3f5729c5b3bc0ba Mon Sep 17 00:00:00 2001
From 61177952e054be9569ce011218ab032c03b4db5a Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Thu, 21 Jan 2016 23:21:06 +0100
Subject: [PATCH] Sanitize the installation process
@@ -30,10 +30,10 @@ Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
4 files changed, 17 insertions(+), 18 deletions(-)
diff --git a/Makedefs.in b/Makedefs.in
index 3afef0a..3e4f1bd 100644
index a2342d5c0..0d8df733b 100644
--- a/Makedefs.in
+++ b/Makedefs.in
@@ -40,14 +40,14 @@ SHELL = /bin/sh
@@ -46,14 +46,14 @@ SHELL = /bin/sh
# Installation programs...
#
@@ -55,10 +55,10 @@ index 3afef0a..3e4f1bd 100644
#
# Default user, group, and system groups for the scheduler...
diff --git a/conf/Makefile b/conf/Makefile
index 933d7d9..6ac5e19 100644
index 62aa0c6fd..3cced869c 100644
--- a/conf/Makefile
+++ b/conf/Makefile
@@ -72,11 +72,11 @@ install: all install-data install-headers install-libs install-exec
@@ -67,11 +67,11 @@ install: all install-data install-headers install-libs install-exec
install-data:
for file in $(KEEP); do \
if test -r $(SERVERROOT)/$$file ; then \
@@ -74,10 +74,10 @@ index 933d7d9..6ac5e19 100644
$(INSTALL_DIR) -m 755 $(DATADIR)/mime
for file in $(REPLACE); do \
diff --git a/notifier/Makefile b/notifier/Makefile
index 3206dd0..c34a4d7 100644
index fa2c7f2f7..34f7a0d6b 100644
--- a/notifier/Makefile
+++ b/notifier/Makefile
@@ -62,7 +62,7 @@ install: all install-data install-headers install-libs install-exec
@@ -57,7 +57,7 @@ install: all install-data install-headers install-libs install-exec
#
install-data:
@@ -87,10 +87,10 @@ index 3206dd0..c34a4d7 100644
#
diff --git a/scheduler/Makefile b/scheduler/Makefile
index 251f017..25f2f5f 100644
index 57b169387..aefa89719 100644
--- a/scheduler/Makefile
+++ b/scheduler/Makefile
@@ -146,28 +146,27 @@ install-data:
@@ -142,28 +142,27 @@ install-data:
echo Creating $(SERVERBIN)/driver...
$(INSTALL_DIR) -m 755 $(SERVERBIN)/driver
echo Creating $(SERVERROOT)...
@@ -127,5 +127,5 @@ index 251f017..25f2f5f 100644
echo Installing init scripts...; \
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/init.d; \
--
2.6.4
2.34.1
@@ -1,4 +1,4 @@
From b341a1e1fce48012fc5bcf39337488fd33210616 Mon Sep 17 00:00:00 2001
From 212275de62cd42ef71bbd37cebd9da6266ca5f15 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sun, 3 Jul 2016 12:20:21 +0200
Subject: [PATCH] Remove PIE flags from the build
@@ -20,10 +20,10 @@ Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makedefs.in b/Makedefs.in
index 5f1d32f..d669ea8 100644
index 0d8df733b..2560c0c36 100644
--- a/Makedefs.in
+++ b/Makedefs.in
@@ -155,7 +155,7 @@ ALL_CXXFLAGS = -I.. -D_CUPS_SOURCE $(CXXFLAGS) \
@@ -156,7 +156,7 @@ ALL_CXXFLAGS = -I.. -D_CUPS_SOURCE $(CXXFLAGS) \
$(ONDEMANDFLAGS) $(OPTIONS)
ALL_DSOFLAGS = -L../cups @ARCHFLAGS@ @RELROFLAGS@ $(DSOFLAGS) $(OPTIM)
ALL_LDFLAGS = -L../cups @LDARCHFLAGS@ @RELROFLAGS@ $(LDFLAGS) \
@@ -33,5 +33,5 @@ index 5f1d32f..d669ea8 100644
ARFLAGS = @ARFLAGS@
BACKLIBS = @BACKLIBS@
--
2.17.1
2.34.1
@@ -1,349 +0,0 @@
From c6cd5e9c10edc68caf6936a3d3274f758e9cd03d Mon Sep 17 00:00:00 2001
From: Zdenek Dohnal <zdohnal@redhat.com>
Date: Tue, 3 Oct 2023 13:59:40 +0200
Subject: [PATCH] cups/hash.c: Put support for MacOS/Win SSL libs back
- I mustn't remove their support in patch release - this should happen in
2.5 only.
- I have put back support for several hashes as well - they
should be removed in 2.5.
- restrict usage of second block hashing only if OpenSSL/LibreSSL/GnuTLS
is available
Upstream: https://github.com/OpenPrinting/cups/commit/c6cd5e9c10edc68caf6936a3d3274f758e9cd03d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
cups/hash.c | 271 +++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 260 insertions(+), 11 deletions(-)
diff --git a/cups/hash.c b/cups/hash.c
index 93ca552c8..c447bab4e 100644
--- a/cups/hash.c
+++ b/cups/hash.c
@@ -12,8 +12,13 @@
#include "md5-internal.h"
#ifdef HAVE_OPENSSL
# include <openssl/evp.h>
-#else // HAVE_GNUTLS
+#elif defined(HAVE_GNUTLS)
# include <gnutls/crypto.h>
+#elif __APPLE__
+# include <CommonCrypto/CommonDigest.h>
+#elif _WIN32
+# include <windows.h>
+# include <bcrypt.h>
#endif // HAVE_OPENSSL
@@ -193,17 +198,18 @@ hash_data(const char *algorithm, // I - Algorithm
const void *b, // I - Second block or `NULL` for none
size_t blen) // I - Length of second block or `0` for none
{
+#if defined(HAVE_OPENSSL) || defined(HAVE_GNUTLS)
unsigned hashlen; // Length of hash
unsigned char hashtemp[64]; // Temporary hash buffer
-#ifdef HAVE_OPENSSL
- const EVP_MD *md = NULL; // Message digest implementation
- EVP_MD_CTX *ctx; // Context
-#else // HAVE_GNUTLS
- gnutls_digest_algorithm_t alg = GNUTLS_DIG_UNKNOWN;
- // Algorithm
- gnutls_hash_hd_t ctx; // Context
-#endif // HAVE_OPENSSL
+#else
+ if (strcmp(algorithm, "md5") && (b || blen != 0))
+ {
+ // Second block hashing is not supported without OpenSSL or GnuTLS
+ _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unsupported without GnuTLS or OpenSSL/LibreSSL."), 1);
+ return (-1);
+ }
+#endif
if (!strcmp(algorithm, "md5"))
{
@@ -223,6 +229,10 @@ hash_data(const char *algorithm, // I - Algorithm
}
#ifdef HAVE_OPENSSL
+ const EVP_MD *md = NULL; // Message digest implementation
+ EVP_MD_CTX *ctx; // Context
+
+
if (!strcmp(algorithm, "sha"))
{
// SHA-1
@@ -244,6 +254,14 @@ hash_data(const char *algorithm, // I - Algorithm
{
md = EVP_sha512();
}
+ else if (!strcmp(algorithm, "sha2-512_224"))
+ {
+ md = EVP_sha512_224();
+ }
+ else if (!strcmp(algorithm, "sha2-512_256"))
+ {
+ md = EVP_sha512_256();
+ }
if (md)
{
@@ -262,7 +280,13 @@ hash_data(const char *algorithm, // I - Algorithm
return ((ssize_t)hashlen);
}
-#else // HAVE_GNUTLS
+#elif defined(HAVE_GNUTLS)
+ gnutls_digest_algorithm_t alg = GNUTLS_DIG_UNKNOWN; // Algorithm
+ gnutls_hash_hd_t ctx; // Context
+ unsigned char temp[64]; // Temporary hash buffer
+ size_t tempsize = 0; // Truncate to this size?
+
+
if (!strcmp(algorithm, "sha"))
{
// SHA-1
@@ -284,9 +308,32 @@ hash_data(const char *algorithm, // I - Algorithm
{
alg = GNUTLS_DIG_SHA512;
}
+ else if (!strcmp(algorithm, "sha2-512_224"))
+ {
+ alg = GNUTLS_DIG_SHA512;
+ tempsize = 28;
+ }
+ else if (!strcmp(algorithm, "sha2-512_256"))
+ {
+ alg = GNUTLS_DIG_SHA512;
+ tempsize = 32;
+ }
if (alg != GNUTLS_DIG_UNKNOWN)
{
+ if (tempsize > 0)
+ {
+ // Truncate result to tempsize bytes...
+
+ if (hashsize < tempsize)
+ goto too_small;
+
+ gnutls_hash_fast(alg, a, alen, temp);
+ memcpy(hash, temp, tempsize);
+
+ return ((ssize_t)tempsize);
+ }
+
hashlen = gnutls_hash_get_len(alg);
if (hashlen > hashsize)
@@ -302,7 +349,209 @@ hash_data(const char *algorithm, // I - Algorithm
return ((ssize_t)hashlen);
}
-#endif // HAVE_OPENSSL
+
+#elif __APPLE__
+ if (!strcmp(algorithm, "sha"))
+ {
+ // SHA-1...
+
+ CC_SHA1_CTX ctx; // SHA-1 context
+
+ if (hashsize < CC_SHA1_DIGEST_LENGTH)
+ goto too_small;
+
+ CC_SHA1_Init(&ctx);
+ CC_SHA1_Update(&ctx, a, (CC_LONG)alen);
+ CC_SHA1_Final(hash, &ctx);
+
+ return (CC_SHA1_DIGEST_LENGTH);
+ }
+# ifdef CC_SHA224_DIGEST_LENGTH
+ else if (!strcmp(algorithm, "sha2-224"))
+ {
+ CC_SHA256_CTX ctx; // SHA-224 context
+
+ if (hashsize < CC_SHA224_DIGEST_LENGTH)
+ goto too_small;
+
+ CC_SHA224_Init(&ctx);
+ CC_SHA224_Update(&ctx, a, (CC_LONG)alen);
+ CC_SHA224_Final(hash, &ctx);
+
+ return (CC_SHA224_DIGEST_LENGTH);
+ }
+# endif /* CC_SHA224_DIGEST_LENGTH */
+ else if (!strcmp(algorithm, "sha2-256"))
+ {
+ CC_SHA256_CTX ctx; // SHA-256 context
+
+ if (hashsize < CC_SHA256_DIGEST_LENGTH)
+ goto too_small;
+
+ CC_SHA256_Init(&ctx);
+ CC_SHA256_Update(&ctx, a, (CC_LONG)alen);
+ CC_SHA256_Final(hash, &ctx);
+
+ return (CC_SHA256_DIGEST_LENGTH);
+ }
+ else if (!strcmp(algorithm, "sha2-384"))
+ {
+ CC_SHA512_CTX ctx; // SHA-384 context
+
+ if (hashsize < CC_SHA384_DIGEST_LENGTH)
+ goto too_small;
+
+ CC_SHA384_Init(&ctx);
+ CC_SHA384_Update(&ctx, a, (CC_LONG)alen);
+ CC_SHA384_Final(hash, &ctx);
+
+ return (CC_SHA384_DIGEST_LENGTH);
+ }
+ else if (!strcmp(algorithm, "sha2-512"))
+ {
+ CC_SHA512_CTX ctx; // SHA-512 context
+
+ if (hashsize < CC_SHA512_DIGEST_LENGTH)
+ goto too_small;
+
+ CC_SHA512_Init(&ctx);
+ CC_SHA512_Update(&ctx, a, (CC_LONG)alen);
+ CC_SHA512_Final(hash, &ctx);
+
+ return (CC_SHA512_DIGEST_LENGTH);
+ }
+# ifdef CC_SHA224_DIGEST_LENGTH
+ else if (!strcmp(algorithm, "sha2-512_224"))
+ {
+ CC_SHA512_CTX ctx; // SHA-512 context
+ unsigned char temp[CC_SHA512_DIGEST_LENGTH];
+ // SHA-512 hash
+
+ // SHA2-512 truncated to 224 bits (28 bytes)...
+
+ if (hashsize < CC_SHA224_DIGEST_LENGTH)
+ goto too_small;
+
+ CC_SHA512_Init(&ctx);
+ CC_SHA512_Update(&ctx, a, (CC_LONG)alen);
+ CC_SHA512_Final(temp, &ctx);
+
+ memcpy(hash, temp, CC_SHA224_DIGEST_LENGTH);
+
+ return (CC_SHA224_DIGEST_LENGTH);
+ }
+# endif // CC_SHA224_DIGEST_LENGTH
+ else if (!strcmp(algorithm, "sha2-512_256"))
+ {
+ CC_SHA512_CTX ctx; // SHA-512 context
+ unsigned char temp[CC_SHA512_DIGEST_LENGTH];
+ // SHA-512 hash
+
+ // SHA2-512 truncated to 256 bits (32 bytes)...
+
+ if (hashsize < CC_SHA256_DIGEST_LENGTH)
+ goto too_small;
+
+ CC_SHA512_Init(&ctx);
+ CC_SHA512_Update(&ctx, a, (CC_LONG)alen);
+ CC_SHA512_Final(temp, &ctx);
+
+ memcpy(hash, temp, CC_SHA256_DIGEST_LENGTH);
+
+ return (CC_SHA256_DIGEST_LENGTH);
+ }
+
+#elif _WIN32
+ // Use Windows CNG APIs to perform hashing...
+ BCRYPT_ALG_HANDLE alg; // Algorithm handle
+ LPCWSTR algid = NULL; // Algorithm ID
+ ssize_t hashlen; // Hash length
+ NTSTATUS status; // Status of hash
+ unsigned char temp[64]; // Temporary hash buffer
+ size_t tempsize = 0; // Truncate to this size?
+
+
+ if (!strcmp(algorithm, "sha"))
+ {
+ algid = BCRYPT_SHA1_ALGORITHM;
+ hashlen = 20;
+ }
+ else if (!strcmp(algorithm, "sha2-256"))
+ {
+ algid = BCRYPT_SHA256_ALGORITHM;
+ hashlen = 32;
+ }
+ else if (!strcmp(algorithm, "sha2-384"))
+ {
+ algid = BCRYPT_SHA384_ALGORITHM;
+ hashlen = 48;
+ }
+ else if (!strcmp(algorithm, "sha2-512"))
+ {
+ algid = BCRYPT_SHA512_ALGORITHM;
+ hashlen = 64;
+ }
+ else if (!strcmp(algorithm, "sha2-512_224"))
+ {
+ algid = BCRYPT_SHA512_ALGORITHM;
+ hashlen = tempsize = 28;
+ }
+ else if (!strcmp(algorithm, "sha2-512_256"))
+ {
+ algid = BCRYPT_SHA512_ALGORITHM;
+ hashlen = tempsize = 32;
+ }
+
+ if (algid)
+ {
+ if (hashsize < (size_t)hashlen)
+ goto too_small;
+
+ if ((status = BCryptOpenAlgorithmProvider(&alg, algid, NULL, 0)) < 0)
+ {
+ DEBUG_printf(("2cupsHashData: BCryptOpenAlgorithmProvider returned %d.", status));
+
+ if (status == STATUS_INVALID_PARAMETER)
+ _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad algorithm parameter."), 1);
+ else
+ _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to access cryptographic provider."), 1);
+
+ return (-1);
+ }
+
+ if (tempsize > 0)
+ {
+ // Do a truncated SHA2-512 hash...
+ status = BCryptHash(alg, NULL, 0, (PUCHAR)a, (ULONG)alen, temp, sizeof(temp));
+ memcpy(hash, temp, hashlen);
+ }
+ else
+ {
+ // Hash directly to buffer...
+ status = BCryptHash(alg, NULL, 0, (PUCHAR)a, (ULONG)alen, hash, (ULONG)hashlen);
+ }
+
+ BCryptCloseAlgorithmProvider(alg, 0);
+
+ if (status < 0)
+ {
+ DEBUG_printf(("2cupsHashData: BCryptHash returned %d.", status));
+
+ if (status == STATUS_INVALID_PARAMETER)
+ _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad hashing parameter."), 1);
+ else
+ _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Hashing failed."), 1);
+
+ return (-1);
+ }
+
+ return (hashlen);
+ }
+
+#else
+ if (hashsize < 64)
+ goto too_small;
+#endif // __APPLE__
// Unknown hash algorithm...
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown hash algorithm."), 1);
@@ -1,30 +0,0 @@
From 0dd97fcaeeb16ed836e8542d75e2396fb1d129d9 Mon Sep 17 00:00:00 2001
From: Zdenek Dohnal <zdohnal@redhat.com>
Date: Tue, 3 Oct 2023 14:39:33 +0200
Subject: [PATCH] cups/hash.c: LibreSSL version does not support several hashes
Upstream: https://github.com/OpenPrinting/cups/commit/0dd97fcaeeb16ed836e8542d75e2396fb1d129d9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
cups/hash.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/cups/hash.c b/cups/hash.c
index c447bab4e..5eefa1010 100644
--- a/cups/hash.c
+++ b/cups/hash.c
@@ -254,14 +254,6 @@ hash_data(const char *algorithm, // I - Algorithm
{
md = EVP_sha512();
}
- else if (!strcmp(algorithm, "sha2-512_224"))
- {
- md = EVP_sha512_224();
- }
- else if (!strcmp(algorithm, "sha2-512_256"))
- {
- md = EVP_sha512_256();
- }
if (md)
{
+1 -1
View File
@@ -1,4 +1,4 @@
# Locally calculated:
sha256 dd54228dd903526428ce7e37961afaed230ad310788141da75cebaa08362cf6c cups-2.4.7-source.tar.gz
sha256 9a88fe1da3a29a917c3fc67ce6eb3178399d68e1a548c6d86c70d9b13651fd71 cups-2.4.11-source.tar.gz
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
sha256 5320b6e3c252423e4153eb2dd63e57e3b630afb21139f44e43b02d85fe33e279 NOTICE
+1 -1
View File
@@ -4,7 +4,7 @@
#
################################################################################
CUPS_VERSION = 2.4.7
CUPS_VERSION = 2.4.11
CUPS_SOURCE = cups-$(CUPS_VERSION)-source.tar.gz
CUPS_SITE = https://github.com/OpenPrinting/cups/releases/download/v$(CUPS_VERSION)
CUPS_LICENSE = Apache-2.0 with GPL-2.0/LGPL-2.0 exception
@@ -1,7 +1,7 @@
From 2710bc67cd920323da9b23a3d60193577bd43d71 Mon Sep 17 00:00:00 2001
From: Carlos Santos <unixmania@gmail.com>
Date: Sat, 20 Jul 2019 00:27:31 -0300
Subject: [PATCH] main.c: add newline to logfile openning error message
Subject: [PATCH] main.c: add newline to logfile opening error message
Signed-off-by: Carlos Santos <unixmania@gmail.com>
[Upstream status: https://github.com/dubiousjim/dcron/pull/22]
+1 -1
View File
@@ -42,7 +42,7 @@ endif
# dmalloc has some assembly function that are not present in thumb1 mode:
# Error: lo register required -- `str lr,[sp,#4]'
# so, we desactivate thumb mode
# so, we deactivate thumb mode
ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
DMALLOC_CFLAGS += -marm
endif
+1 -1
View File
@@ -1,6 +1,6 @@
dvblast: fix static linking
dvblast links to -lev, wihch uses functions from the maths library,
dvblast links to -lev, which uses functions from the maths library,
like floor().
When linking to a shared libev.so, that dependency is automatically
+1 -1
View File
@@ -1,4 +1,4 @@
This patch uses system include files instead of a hard coded system path to fixe
This patch uses system include files instead of a hard coded system path to fix
potential compilation failure on systems that do not populate system header
files in /usr/include/..
@@ -19,7 +19,7 @@ Thus, elftosb should either:
- use gcc and link against libc and libm;
- or use g++ and link against libstdc++.
Because elftosb is written in C++, this patch implement the sencond option, using
Because elftosb is written in C++, this patch implement the second option, using
g++ and linking against libstdc++.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
+1 -1
View File
@@ -48,7 +48,7 @@ ERLANG_CONF_ENV += erl_xcomp_sysroot=$(STAGING_DIR)
ERLANG_CONF_OPTS = --without-javac
# Force ERL_TOP to the downloaded source directory. This prevents
# Erlang's configure script from inadvertantly using files from
# Erlang's configure script from inadvertently using files from
# a version of Erlang installed on the host.
ERLANG_CONF_ENV += ERL_TOP=$(@D)
HOST_ERLANG_CONF_ENV += ERL_TOP=$(@D)
+1 -1
View File
@@ -39,6 +39,6 @@ config BR2_PACKAGE_EXIV2_LENSDATA
This database comes from a thirdparty and is free to use in
non-commercial, GPL or open source software only.
For more informations src/nikonmn_int.cpp.
For more information see src/nikonmn_int.cpp.
endif
+1 -1
View File
@@ -3,4 +3,4 @@ config BR2_PACKAGE_EXPAT
help
The Expat XML Parser.
http://expat.sourceforge.net
https://libexpat.github.io/
+1 -5
View File
@@ -1,7 +1,3 @@
# From https://sourceforge.net/projects/expat/files/expat/2.6.2/
md5 0cb75c8feb842c0794ba89666b762a2d expat-2.6.1.tar.xz
sha1 d9e5f953dcacda3c9e69b4886382c3d8847b81bd expat-2.6.1.tar.xz
# Locally calculated
sha256 ee14b4c5d8908b1bec37ad937607eab183d4d9806a08adee472c3c3121d27364 expat-2.6.2.tar.xz
sha256 274db254a6979bde5aad404763a704956940e465843f2a9bd9ed7af22e2c0efc expat-2.6.3.tar.xz
sha256 122f2c27000472a201d337b9b31f7eb2b52d091b02857061a8880371612d9534 COPYING
+2 -2
View File
@@ -4,8 +4,8 @@
#
################################################################################
EXPAT_VERSION = 2.6.2
EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION)
EXPAT_VERSION = 2.6.3
EXPAT_SITE = https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$(EXPAT_VERSION))
EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz
EXPAT_INSTALL_STAGING = YES
EXPAT_LICENSE = MIT
@@ -44,7 +44,7 @@ define FALCOSECURITY_LIBS_LINUX_CONFIG_FIXUPS
endef
# falcosecurity-libs creates the module Makefile from a template, which contains
# a single place-holder, KBUILD_FLAGS, wich is only replaced with debug flags,
# a single place-holder, KBUILD_FLAGS, which is only replaced with debug flags,
# which we don't care about here.
# So, just replace the place-holder with the only meaningful value: nothing.
# For the DRIVER_NAME, we set it to FALCOSECURITY_LIBS_DRIVER_NAME.
@@ -0,0 +1,15 @@
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Upstream: N/A no SCM, not active anymore
diff -Nur fbdump-0.4.2.orig/src/main.c fbdump-0.4.2/src/main.c
--- fbdump-0.4.2.orig/src/main.c 2007-03-03 04:14:37.000000000 +0100
+++ fbdump-0.4.2/src/main.c 2024-08-16 09:25:42.828125778 +0200
@@ -58,7 +58,7 @@
}
-int main( int argc, char *argv[] )
+int main( int argc, const char *argv[] )
{
Options opts = {
.fbdev = DEFAULT_DEVICE,
+1 -1
View File
@@ -3,6 +3,6 @@ config BR2_PACKAGE_FBGRAB
select BR2_PACKAGE_LIBPNG
help
FBGrab is a framebuffer screenshot program, capturing the
linux frambuffer and converting it to a png-picture.
linux framebuffer and converting it to a png-picture.
https://github.com/GunnarMonell/fbgrab
@@ -1,7 +1,7 @@
Makefile.in: Use LIBS from configure rather than specifying -lfcgi manually.
libfcgi needs libm and fcgiwrap does not use libtool or pkgconf to
detect libfcgi, so we need to add -lm explicitely when using static
detect libfcgi, so we need to add -lm explicitly when using static
libs. Buildroot does this by providing LIBS=-lm to configure when
needed. However fcgiwrap does not use Automake and its Makefile.in
ignores LIBS from configure. Fix it with this patch.
+1 -1
View File
@@ -20,7 +20,7 @@ FCGIWRAP_CONF_OPTS += --without-systemd
endif
# libfcgi needs libm and fcgiwrap does not use libtool or pkgconf to
# detect libfcgi, so we need to add -lm explicitely when using static
# detect libfcgi, so we need to add -lm explicitly when using static
# libs.
ifeq ($(BR2_STATIC_LIBS),y)
FCGIWRAP_CONF_OPTS += LIBS=-lm
@@ -0,0 +1,28 @@
From 6f8e365a2af2b6b21701d41eed3b2e3f8a436eeb Mon Sep 17 00:00:00 2001
From: James Almer <jamrial@gmail.com>
Date: Wed, 31 Jul 2024 10:00:54 -0300
Subject: [PATCH] avutil/hwcontext_vaapi: use the correct type for
VASurfaceAttribExternalBuffers.buffers
Should fix ticket #11115.
Signed-off-by: James Almer <jamrial@gmail.com>
Upstream: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/6f8e365a2af2b6b21701d41eed3b2e3f8a436eeb
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
---
libavutil/hwcontext_vaapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index 4cb25dd03212e..15fd84aa40679 100644
--- a/libavutil/hwcontext_vaapi.c
+++ b/libavutil/hwcontext_vaapi.c
@@ -1225,7 +1225,7 @@ static int vaapi_map_from_drm(AVHWFramesContext *src_fc, AVFrame *dst,
if (!use_prime2 || vas != VA_STATUS_SUCCESS) {
int k;
- unsigned long buffer_handle;
+ uintptr_t buffer_handle;
VASurfaceAttribExternalBuffers buffer_desc;
VASurfaceAttrib buffer_attrs[2] = {
{
@@ -4,7 +4,7 @@ Date: Fri, 29 Sep 2017 18:03:51 +0200
Subject: [PATCH] build: make it possible to disable the build of the
documentation
When targetting embedded evices, the documentation is not needed.
When targeting embedded devices, the documentation is not needed.
Building the documentation default to whether the program is built.
+1 -1
View File
@@ -1,4 +1,4 @@
# Flutter includes a vender copy of clang which is mandatory to use for
# Flutter includes a vendor copy of clang which is mandatory to use for
# compiling. These are the supported architectures.
config BR2_PACKAGE_FLUTTER_ENGINE_ARCH_SUPPORTS
bool
+2 -2
View File
@@ -66,10 +66,10 @@ gen_tarball() {
# There are two issues with the flutter-engine buildsystem:
# - it expects empty directories created by gclient.py to be present; that
# means we can't use the mk_tar_gz helper method from support/download/helpers,
# becasue it does not include emnpty directories;
# because it does not include empty directories;
# - it insists on having a full git repositoy, with .git et al., which means
# we can't generate a reproducible archive anyway.
# So we jsut create a plain tarball.
# So we just create a plain tarball.
${TAR} -C "${SCRATCH_DIR}"/src -czf "${TARBALL_NAME}" .
mv "${TARBALL_NAME}" "${TARBALL_DL_PATH}"
}

Some files were not shown because too many files have changed in this diff Show More