Compare commits
167
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31462e4169 | ||
|
|
b47a466bbd | ||
|
|
33136337b2 | ||
|
|
feb7445d8b | ||
|
|
8d7f6ef3d1 | ||
|
|
2b4a3e2d56 | ||
|
|
cf2ce88036 | ||
|
|
0aba2faf3e | ||
|
|
5496397cb4 | ||
|
|
268cb718ef | ||
|
|
b043c70c97 | ||
|
|
bad236e955 | ||
|
|
91f77ebf4e | ||
|
|
d3caa91d01 | ||
|
|
eb3631955a | ||
|
|
36ec020e6f | ||
|
|
bbddbb4e7d | ||
|
|
c1e8190d16 | ||
|
|
c8f214fb5c | ||
|
|
a05dfee779 | ||
|
|
b76789f575 | ||
|
|
3e51af1dbd | ||
|
|
1330a35461 | ||
|
|
fa8d58ebe8 | ||
|
|
1fae268c4e | ||
|
|
92f81d78a4 | ||
|
|
487d7513b8 | ||
|
|
dad2364da2 | ||
|
|
364e3412a7 | ||
|
|
e2260f309f | ||
|
|
5926391587 | ||
|
|
8cc63c1818 | ||
|
|
809fd4b87a | ||
|
|
13250bf4aa | ||
|
|
39e5e3a29a | ||
|
|
e4b591c8d1 | ||
|
|
1f6275e558 | ||
|
|
0bb33c4694 | ||
|
|
d229aa601d | ||
|
|
4199c629e4 | ||
|
|
0b0db49fd3 | ||
|
|
c0b9d4ecdf | ||
|
|
23140a2e03 | ||
|
|
3d5ae99697 | ||
|
|
7a6d41364f | ||
|
|
9bdb8f9785 | ||
|
|
ccaa97bac1 | ||
|
|
61b540e90e | ||
|
|
ccf579e731 | ||
|
|
2cd0716c56 | ||
|
|
575a174a96 | ||
|
|
120780cae1 | ||
|
|
20818f3121 | ||
|
|
c557bb949c | ||
|
|
da3a3c4433 | ||
|
|
3838077f2e | ||
|
|
40b3fe6ff5 | ||
|
|
b928be6ae1 | ||
|
|
22f9cd23e7 | ||
|
|
efca3fb167 | ||
|
|
6e5dc0aed8 | ||
|
|
b112870a11 | ||
|
|
23b2115b5b | ||
|
|
d10e600965 | ||
|
|
64f932b4d8 | ||
|
|
a51d3f794f | ||
|
|
a58fb01a6b | ||
|
|
fdcd67c59e | ||
|
|
1d6e1af555 | ||
|
|
0341de10c4 | ||
|
|
fc39e014fc | ||
|
|
e463b880a4 | ||
|
|
1d39583b4d | ||
|
|
9569b62e51 | ||
|
|
03da88e053 | ||
|
|
9e72701760 | ||
|
|
a0f259f288 | ||
|
|
070a0f697c | ||
|
|
f2769d89f1 | ||
|
|
0760cf09d2 | ||
|
|
ff9c8401a5 | ||
|
|
da8f139adf | ||
|
|
0830ce112b | ||
|
|
06b178d1f7 | ||
|
|
ba0dafc7e3 | ||
|
|
bb393213cc | ||
|
|
b65972e437 | ||
|
|
0e4a693125 | ||
|
|
51abb34846 | ||
|
|
28778fc2c8 | ||
|
|
cce222910d | ||
|
|
9c212c74a2 | ||
|
|
ff911f23b1 | ||
|
|
f882742c35 | ||
|
|
ef33988621 | ||
|
|
93a2581bfd | ||
|
|
0f5fc9b065 | ||
|
|
de3a8734f1 | ||
|
|
d47b41bbf6 | ||
|
|
b14d727c06 | ||
|
|
6fdd6d16f7 | ||
|
|
87f5d3da4a | ||
|
|
c63ec66b74 | ||
|
|
97f589743b | ||
|
|
a7d1f85d19 | ||
|
|
21904321f5 | ||
|
|
7420216a0a | ||
|
|
373c5a9754 | ||
|
|
a5e50d8fdb | ||
|
|
1dbb5fc616 | ||
|
|
e4f86498d2 | ||
|
|
186de3b0a4 | ||
|
|
3cb033f7fd | ||
|
|
27a1f1efc9 | ||
|
|
34e8241f05 | ||
|
|
ed34ff164b | ||
|
|
a28bf703a2 | ||
|
|
1b75258570 | ||
|
|
393c0a1cbe | ||
|
|
3418020093 | ||
|
|
8a2787bffd | ||
|
|
a7da975080 | ||
|
|
c61810db82 | ||
|
|
fbdd2acaec | ||
|
|
15aca7d33d | ||
|
|
8f9ce0c913 | ||
|
|
6561a5d773 | ||
|
|
5f18745057 | ||
|
|
eedf9750ff | ||
|
|
28c982b5f4 | ||
|
|
38c368e6f0 | ||
|
|
0f886158b9 | ||
|
|
10f892b19d | ||
|
|
f1c00b6ffb | ||
|
|
0901a670a8 | ||
|
|
fee18cca53 | ||
|
|
80f25d4706 | ||
|
|
f6fa3324eb | ||
|
|
c4a56d3f6d | ||
|
|
1eec67d164 | ||
|
|
ee65a2119a | ||
|
|
3ee745782a | ||
|
|
8e5a5a9bcc | ||
|
|
928494b785 | ||
|
|
f39d38d77a | ||
|
|
7dd56b6cd9 | ||
|
|
014a8201c8 | ||
|
|
4c9b13b8dd | ||
|
|
7025f76274 | ||
|
|
e35c5ee607 | ||
|
|
a0964a9157 | ||
|
|
4033902ad0 | ||
|
|
0c44722b0c | ||
|
|
773a89d414 | ||
|
|
0fd5860280 | ||
|
|
e02e59d124 | ||
|
|
e67568ceda | ||
|
|
58ff0cb5c4 | ||
|
|
47c5ac28e1 | ||
|
|
07a444d088 | ||
|
|
20c2b2f76c | ||
|
|
ed590a22e2 | ||
|
|
5d49bc51e0 | ||
|
|
1ec30e6f11 | ||
|
|
39a5490072 | ||
|
|
b617eb3281 | ||
|
|
366d403bed |
+4
-5
@@ -271,12 +271,11 @@ package/am33x-cm3/0004-Makefile-add-fno-builtin.patch lib_patch.Upstream
|
||||
package/am33x-cm3/S93-am335x-pm-firmware-load lib_sysv.Variables
|
||||
package/android-tools/0001-Fix-makefiles-for-out-of-tree-build.patch lib_patch.Upstream
|
||||
package/android-tools/0002-Fix-adbd-for-non-Ubuntu-systems.patch lib_patch.Upstream
|
||||
package/android-tools/0003-Fix-build-issue-with-uclibc.patch lib_patch.Upstream
|
||||
package/android-tools/0004-Fix-build-issue-with-musl.patch lib_patch.Upstream
|
||||
package/android-tools/0005-Use-pkgconf-to-get-libs-deps.patch lib_patch.Upstream
|
||||
package/android-tools/0006-fix-big-endian-build.patch lib_patch.Upstream
|
||||
package/android-tools/0007-include-cdefs-h-when-needed.patch lib_patch.Upstream
|
||||
package/android-tools/0008-Include-sysmacros.h-to-compile-with-glibc-2.28.patch lib_patch.Sob lib_patch.Upstream
|
||||
package/android-tools/0005-makefiles-use-pkgconf-to-get-libs-deps.patch lib_patch.Upstream
|
||||
package/android-tools/0006-Fix-build-on-big-endian-systems.patch lib_patch.Upstream
|
||||
package/android-tools/0007-Include-cdefs.h-wherever-it-is-needed.patch lib_patch.Upstream
|
||||
package/android-tools/0008-usb_linux.c-fix-minor-major-build-failure-due-to-gli.patch lib_patch.Upstream
|
||||
package/android-tools/0009-Fix-makefiles-for-out-of-tree-ext4_utils-build.patch lib_patch.Upstream
|
||||
package/android-tools/0010-adb-added-patch-for-openssl-1.1.0-compatibility.patch lib_patch.Upstream
|
||||
package/aoetools/0001-Change-shell-script-interpreter-from-bin-bash-to-bin.patch lib_patch.Upstream
|
||||
|
||||
@@ -1,3 +1,55 @@
|
||||
2024.11.1, released January 9th, 2025
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Infrastructure:
|
||||
|
||||
- Ensure CONFIG_TRIM_UNUSED_KSYMS is disabled when building
|
||||
external Linux kernel modules
|
||||
|
||||
Updated/fixed packages: apr, bc, bluez5_utils, c-icap,
|
||||
cryptodev-linux, dahdi-linux, dpdk, freeipmi, gdb, gnupg2,
|
||||
gnuplot, gnutls, go, gobject-introspection, grub2, gst-omx,
|
||||
gst1-devtools, gst1-libav, gst1-plugins-bad,
|
||||
gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly,
|
||||
gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1,
|
||||
gstreamer1-editing-services, igt-gpu-tools, iperf3, libcurl,
|
||||
libsha1, libsndfile, libsoup3, libvirt, libxcrypt, libxml2,
|
||||
libzenoh-pico, linux, linux-pam, netatalk, nettle, octave,
|
||||
opensc, perl, php, pixman, polkit, procps-ng,
|
||||
python-autocommand, python-django, python3, quickjs, samba4,
|
||||
skeleton, subversion, ti-k3-r5-loader, tzdata, v4l2loopback,
|
||||
wayland, webkitgtk, weston, wget, wireshark, wpewebkit,
|
||||
xr819-xradio, xxhash, zfs, zic
|
||||
|
||||
Issues resolved:
|
||||
- bluetooth.service cannot connect to D-BUS
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/65
|
||||
- gdb package doesn't have a licence hash in the gdb.hash file
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/66
|
||||
- package/libsha1: Build failure with GCC 14 [-Wimplicit-int]
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/69
|
||||
|
||||
2024.11, released December 8th, 2024
|
||||
|
||||
Various fixes.
|
||||
|
||||
Updated/fixed packages: eza, foot, gnutls, ibm-sw-tpm2,
|
||||
mosquitto, pixman
|
||||
|
||||
Issues resolved:
|
||||
- procps-ng: builderror in 2024.08
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/38
|
||||
|
||||
2024.11-rc3, released Decemmber 5th, 2024
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: alsa-lib, android-tools, bats-core,
|
||||
doxygen, frr, gnutls, libvpl, linux-tools, lmbench, lrzsz,
|
||||
musl, nfs-utils, opkg, polkit, postgresql, procps-ng,
|
||||
python-psycopg2, quagga, rt-tests, rust, sexpect
|
||||
|
||||
2024.11-rc2, released November 23rd, 2024
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
@@ -285,7 +285,7 @@ config BR2_KERNEL_MIRROR
|
||||
|
||||
config BR2_GNU_MIRROR
|
||||
string "GNU Software mirror"
|
||||
default "http://ftpmirror.gnu.org"
|
||||
default "https://ftpmirror.gnu.org"
|
||||
help
|
||||
GNU has multiple software mirrors scattered around the
|
||||
world. The following allows you to select your preferred
|
||||
@@ -963,7 +963,7 @@ config BR2_FORTIFY_SOURCE_2
|
||||
# gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164
|
||||
depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
||||
help
|
||||
This option sets _FORTIFY_SOURCES to 2 and some more
|
||||
This option sets _FORTIFY_SOURCE to 2 and some more
|
||||
checking is added, but some conforming programs might fail.
|
||||
Also adds checks at run-time (detected buffer overflow
|
||||
terminates the program)
|
||||
@@ -972,7 +972,7 @@ config BR2_FORTIFY_SOURCE_3
|
||||
bool "Extended"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_12
|
||||
help
|
||||
This option sets _FORTIFY_SOURCES to 3 and even more
|
||||
This option sets _FORTIFY_SOURCE to 3 and even more
|
||||
checking is added compared to level 2. Extends checks at
|
||||
run-time that can introduce an additional performance
|
||||
overhead.
|
||||
|
||||
+3
-54
@@ -304,7 +304,6 @@ F: package/git/
|
||||
N: Bartosz Bilas <b.bilas@grinn-global.com>
|
||||
F: board/stmicroelectronics/stm32mp157a-dk1/
|
||||
F: configs/stm32mp157a_dk1_defconfig
|
||||
F: package/cegui/
|
||||
F: package/log4qt/
|
||||
F: package/python-esptool/
|
||||
F: package/python-pyaes/
|
||||
@@ -1868,6 +1867,7 @@ F: support/testing/tests/package/test_dmidecode.py
|
||||
F: support/testing/tests/package/test_dos2unix.py
|
||||
F: support/testing/tests/package/test_dosfstools.py
|
||||
F: support/testing/tests/package/test_dosfstools/
|
||||
F: support/testing/tests/package/test_dpdk.py
|
||||
F: support/testing/tests/package/test_ed.py
|
||||
F: support/testing/tests/package/test_ethtool.py
|
||||
F: support/testing/tests/package/test_ethtool/
|
||||
@@ -2005,6 +2005,8 @@ F: support/testing/tests/package/test_which.py
|
||||
F: support/testing/tests/package/test_wine.py
|
||||
F: support/testing/tests/package/test_xfsprogs.py
|
||||
F: support/testing/tests/package/test_xfsprogs/
|
||||
F: support/testing/tests/package/test_xvisor.py
|
||||
F: support/testing/tests/package/test_xxhash.py
|
||||
F: support/testing/tests/package/test_xz.py
|
||||
F: support/testing/tests/package/test_z3.py
|
||||
F: support/testing/tests/package/test_z3/
|
||||
@@ -2119,11 +2121,6 @@ F: package/python-huepy/
|
||||
F: package/python-tqdm/
|
||||
F: package/rtl8189es/
|
||||
|
||||
N: Louis-Paul Cordier <lpdev@cordier.org>
|
||||
F: package/intel-gmmlib/
|
||||
F: package/intel-mediadriver/
|
||||
F: package/intel-mediasdk/
|
||||
|
||||
N: Luca Ceresoli <luca.ceresoli@bootlin.com>
|
||||
F: board/olimex/a20_olinuxino/
|
||||
F: board/zynq/
|
||||
@@ -3370,54 +3367,6 @@ F: package/casync/
|
||||
F: package/gloox/
|
||||
F: package/tpm2-pkcs11/
|
||||
|
||||
N: Yann E. MORIN <yann.morin.1998@free.fr>
|
||||
F: fs/squashfs/
|
||||
F: package/asterisk/
|
||||
F: package/cegui/
|
||||
F: package/dahdi-linux/
|
||||
F: package/dahdi-tools/
|
||||
F: package/dbus-broker/
|
||||
F: package/dtc/
|
||||
F: package/dtv-scan-tables/
|
||||
F: package/freerdp/
|
||||
F: package/keyutils/
|
||||
F: package/libbsd/
|
||||
F: package/libedit/
|
||||
F: package/libgsm/
|
||||
F: package/libiberty/
|
||||
F: package/libinput/
|
||||
F: package/libiscsi/
|
||||
F: package/libpri/
|
||||
F: package/libseccomp/
|
||||
F: package/libss7/
|
||||
F: package/linux-firmware/
|
||||
F: package/linux-tools/
|
||||
F: package/matchbox*
|
||||
F: package/mesa3d-headers/
|
||||
F: package/nbd/
|
||||
F: package/nut/
|
||||
F: package/nvidia-driver/
|
||||
F: package/python-pyparsing/
|
||||
F: package/pkg-download.mk
|
||||
F: package/pkg-waf.mk
|
||||
F: package/slirp/
|
||||
F: package/snappy/
|
||||
F: package/spice/
|
||||
F: package/spice-protocol/
|
||||
F: package/systemd/
|
||||
F: package/systemd-bootchart/
|
||||
F: package/tmux/
|
||||
F: package/tvheadend/
|
||||
F: package/usbredir/
|
||||
F: package/vde2/
|
||||
F: package/w_scan/
|
||||
F: package/wayland/
|
||||
F: package/weston/
|
||||
F: package/wtfutil/
|
||||
F: package/zisofs-tools/
|
||||
F: support/download/
|
||||
F: support/testing/tests/graphics_base.py
|
||||
|
||||
N: Yann E. MORIN <yann.morin@orange.com>
|
||||
F: .editorconfig
|
||||
F: package/gpsd/
|
||||
|
||||
@@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2024.11-rc2
|
||||
export BR2_VERSION := 2024.11.1
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1732356000
|
||||
BR2_VERSION_EPOCH = 1736433000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
@@ -101,12 +101,14 @@ Flashing boot.bin:
|
||||
|
||||
KD240 / KR260 Flashing Instructions:
|
||||
Flashing u-boot.itb:
|
||||
$ usb start
|
||||
$ sf probe
|
||||
$ fatload usb 0 0x1000000 u-boot.itb
|
||||
$ sf erase 0x280000 +$filesize
|
||||
$ sf write 0x1000000 0x280000 $filesize
|
||||
|
||||
Flashing boot.bin:
|
||||
$ usb start
|
||||
$ sf probe
|
||||
$ fatload usb 0 0x1000000 boot.bin
|
||||
$ sf erase 0x200000 +$filesize
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
GRUB2_VERSION = 2.12
|
||||
GRUB2_SITE = http://ftp.gnu.org/gnu/grub
|
||||
GRUB2_SITE = $(BR2_GNU_MIRROR)/grub
|
||||
GRUB2_SOURCE = grub-$(GRUB2_VERSION).tar.xz
|
||||
GRUB2_LICENSE = GPL-3.0+
|
||||
GRUB2_LICENSE_FILES = COPYING
|
||||
|
||||
+15
-15
@@ -10,20 +10,20 @@ Notes on using Grub2 for BIOS-based platforms
|
||||
is enough free space *before* the first partition to
|
||||
store Grub2. Leaving 1 MB of free space is safe.
|
||||
3. Setup loop device and loop partitions
|
||||
sudo losetup -f disk.img
|
||||
sudo partx -a /dev/loop0
|
||||
loop_dev=$(sudo losetup -f disk.img)
|
||||
sudo partx -a "$loop_dev"
|
||||
4. Prepare the root partition
|
||||
sudo mkfs.ext3 -L root /dev/loop0p1
|
||||
sudo mount /dev/loop0p1 /mnt
|
||||
sudo mkfs.ext3 -L root "${loop_dev}p1"
|
||||
sudo mount "${loop_dev}p1" /mnt
|
||||
sudo tar -C /mnt -xf output/images/rootfs.tar
|
||||
sudo umount /mnt
|
||||
5. Install Grub2
|
||||
sudo ./output/host/sbin/grub-bios-setup \
|
||||
-b ./output/host/lib/grub/i386-pc/boot.img \
|
||||
-c ./output/images/grub.img -d . /dev/loop0
|
||||
-c ./output/images/grub.img -d . "$loop_dev"
|
||||
6. Cleanup loop device
|
||||
sudo partx -d /dev/loop0
|
||||
sudo losetup -d /dev/loop0
|
||||
sudo partx -d "$loop_dev"
|
||||
sudo losetup -d "$loop_dev"
|
||||
7. Your disk.img is ready!
|
||||
|
||||
Using genimage
|
||||
@@ -65,22 +65,22 @@ Notes on using Grub2 for x86/x86_64 EFI-based platforms
|
||||
- Create a second partition, type 8300, for the root
|
||||
filesystem.
|
||||
3. Setup loop device and loop partitions
|
||||
sudo losetup -f disk.img
|
||||
sudo partx -a /dev/loop0
|
||||
loop_dev=$(sudo losetup -f disk.img)
|
||||
sudo partx -a "$loop_dev"
|
||||
4. Prepare the boot partition
|
||||
sudo mkfs.vfat -n boot /dev/loop0p1
|
||||
sudo mount /dev/loop0p1 /mnt
|
||||
sudo mkfs.vfat -n boot "${loop_dev}p1"
|
||||
sudo mount "${loop_dev}p1" /mnt
|
||||
sudo cp -a output/images/efi-part/* /mnt/
|
||||
sudo cp output/images/bzImage /mnt/
|
||||
sudo umount /mnt
|
||||
5. Prepare the root partition
|
||||
sudo mkfs.ext3 -L root /dev/loop0p2
|
||||
sudo mount /dev/loop0p2 /mnt
|
||||
sudo mkfs.ext3 -L root "${loop_dev}p2"
|
||||
sudo mount "${loop_dev}p2" /mnt
|
||||
sudo tar -C /mnt -xf output/images/rootfs.tar
|
||||
sudo umount /mnt
|
||||
6 Cleanup loop device
|
||||
sudo partx -d /dev/loop0
|
||||
sudo losetup -d /dev/loop0
|
||||
sudo partx -d "$loop_dev"
|
||||
sudo losetup -d "$loop_dev"
|
||||
7. Your disk.img is ready!
|
||||
|
||||
To test your i386/x86-64 EFI image in Qemu
|
||||
|
||||
@@ -46,6 +46,7 @@ TI_K3_R5_LOADER_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
$(BR2_MAKE_HOST_DEPENDENCY) \
|
||||
host-arm-gnu-toolchain \
|
||||
host-gnutls \
|
||||
host-openssl \
|
||||
host-python3 \
|
||||
host-python-jsonschema \
|
||||
|
||||
+20
-20
@@ -42,74 +42,74 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest stable release: <b>2024.08.2</b></h3>
|
||||
<h3 style="text-align: center;">Latest stable release: <b>2024.11</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.08.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.11.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2024.08.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.11.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3><a href="/downloads/buildroot-2024.08.2.tar.gz">buildroot-2024.08.2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.08.2.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2024.11.tar.gz">buildroot-2024.11.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.11.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.08.2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.11.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2024.08.2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.11.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2024.08.2.tar.xz">buildroot-2024.08.2.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.08.2.tar.xz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2024.11.tar.xz">buildroot-2024.11.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.11.tar.xz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2024.11-rc2</b></h3>
|
||||
<!--
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2024.11-rc3</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.11-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.11-rc3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2024.11-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.11-rc3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2024.11-rc2.tar.gz">buildroot-2024.11-rc2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.11-rc2.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2024.11-rc3.tar.gz">buildroot-2024.11-rc3.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.11-rc3.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.11-rc2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.11-rc3.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2024.11-rc2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.11-rc3.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2024.11-rc2.tar.xz">buildroot-2024.11-rc2.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.11-rc2.tar.xz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2024.11-rc3.tar.xz">buildroot-2024.11-rc3.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.11-rc3.tar.xz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
-->
|
||||
This and earlier releases (and their PGP signatures) can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
</div>
|
||||
|
||||
+428
-389
File diff suppressed because it is too large
Load Diff
+12
-1
@@ -30,6 +30,11 @@ choice
|
||||
config BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
bool "Latest version (6.11)"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11 if BR2_KERNEL_HEADERS_AS_KERNEL
|
||||
# mips always generates an ITB image
|
||||
select BR2_PACKAGE_HOST_UBOOT_TOOLS if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
select BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
# nios2 always generates a U-Boot image
|
||||
select BR2_PACKAGE_HOST_UBOOT_TOOLS if BR2_nios2
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
bool "Latest CIP SLTS version (5.10.162-cip24)"
|
||||
@@ -134,7 +139,7 @@ config BR2_LINUX_KERNEL_CUSTOM_REPO_GIT_SUBMODULES
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "6.11.9" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "6.11.11" 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 \
|
||||
@@ -168,6 +173,12 @@ config BR2_LINUX_KERNEL_USE_DEFCONFIG
|
||||
|
||||
config BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG
|
||||
bool "Use the architecture default configuration"
|
||||
# We know that the default configuration on some architectures
|
||||
# requires host-openssl, so select it for the latest kernel
|
||||
# version. This is mainly needed to fix autobuilder testing.
|
||||
select BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL if \
|
||||
BR2_LINUX_KERNEL_LATEST_VERSION && \
|
||||
(BR2_aarch64 || BR2_aarch64_be || BR2_arcle || BR2_arceb || BR2_sparc || BR2_x86_64)
|
||||
help
|
||||
This option will use the default configuration for the
|
||||
selected architecture. I.e, it is equivalent to running
|
||||
|
||||
+7
-7
@@ -1,13 +1,13 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 75658a7aa3bd9598c96ee1e5862c5e1d34fced75c28d825c727a1510a6f384b4 linux-6.11.9.tar.xz
|
||||
sha256 e2c35611775534941b9d4dd871f3ae5b988b6594dc9033b5ca784366e07d9336 linux-6.6.62.tar.xz
|
||||
sha256 010784bd7161c32c4cd68a423d4dcb14e4587677d238b2825a31fe012869224c linux-6.1.118.tar.xz
|
||||
sha256 62148e7e17f54c4a5ab5e75ad4882682c54bee818948be61a5963234fc0849fc linux-6.11.11.tar.xz
|
||||
sha256 283ff410e3f352ceed161ae30c0020301326059db03e86efcb384d46ac5840e2 linux-6.6.68.tar.xz
|
||||
sha256 e892c0b380100b7e6249060282ad07fbded092f0a2ca1d647243d0fbe9ce6e50 linux-6.1.122.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256 8a4b2a47ccc9b208b2b6ed9a216ea1a5eb12852c723bec1a04de9e671a1d7da8 linux-5.15.173.tar.xz
|
||||
sha256 cd1850ef3b771886df4e0b4c4eb07033864abab2bb553a20fd9e3cdc23584b47 linux-5.10.230.tar.xz
|
||||
sha256 180754f3df0e8d7f206625255b3f5a6e1f441feec83336df42613ca8f6b1887c linux-5.4.286.tar.xz
|
||||
sha256 8fd8bbc80e7aae30aaca3b40576b283010b5e84e70f6fea1573589155ce8a9d0 linux-5.15.175.tar.xz
|
||||
sha256 fda44589a438dff8c718082e9a48843b15e5eb82f6cc2f98d48f48226063bef0 linux-5.10.232.tar.xz
|
||||
sha256 876fbae303723bcf9e01ab57b1a0a7d38045aacd481ff865dccc2cc89f591afe linux-5.4.288.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
|
||||
sha256 90e140ad2d07da88b43d5930cfda7bffc5c121660e9d8a86d96a9efe4d87ffe6 linux-4.19.324.tar.xz
|
||||
sha256 607bed7de5cda31a443df4c8a78dbe5e8a9ad31afde2a4d28fe99ab4730e8de1 linux-4.19.325.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
|
||||
|
||||
@@ -343,6 +343,12 @@ LINUX_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG))_defconfig
|
||||
else ifeq ($(BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG),y)
|
||||
ifeq ($(BR2_powerpc64le),y)
|
||||
LINUX_KCONFIG_DEFCONFIG = ppc64le_defconfig
|
||||
else ifeq ($(BR2_powerpc64),y)
|
||||
LINUX_KCONFIG_DEFCONFIG = ppc64_defconfig
|
||||
else ifeq ($(BR2_powerpc),y)
|
||||
LINUX_KCONFIG_DEFCONFIG = ppc_defconfig
|
||||
else ifeq ($(BR2_arc750d)$(BR2_arc770d),y)
|
||||
LINUX_KCONFIG_DEFCONFIG = axs101_defconfig
|
||||
else
|
||||
LINUX_KCONFIG_DEFCONFIG = defconfig
|
||||
endif
|
||||
|
||||
@@ -69,6 +69,7 @@ config BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
config BR2_PACKAGE_ALSA_LIB_UCM
|
||||
bool "ucm"
|
||||
default y
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_ALISP
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
[PATCH] Fix makefiles for out-of-tree build
|
||||
From 1fe49c34aa3e32e801af5c56293ec71ff6e7e2bc Mon Sep 17 00:00:00 2001
|
||||
From: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
Date: Sun, 1 Dec 2024 15:43:17 +0100
|
||||
Subject: [PATCH] Fix makefiles for out-of-tree build
|
||||
|
||||
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
---
|
||||
@@ -158,5 +161,5 @@ index 9e8b751..94a069b 100644
|
||||
LIBS+= -lz -lselinux
|
||||
|
||||
--
|
||||
2.5.1
|
||||
2.47.0
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
[PATCH] Fix adbd for non-Ubuntu systems
|
||||
From d433d5c340f3b36de58ea8550fd140dbdaea13b4 Mon Sep 17 00:00:00 2001
|
||||
From: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
Date: Sun, 1 Dec 2024 15:43:33 +0100
|
||||
Subject: [PATCH] Fix adbd for non-Ubuntu systems
|
||||
|
||||
Remove glib/dbus dependencies and partially restore services.c to be
|
||||
closer to the original source code in order to run on systems without
|
||||
@@ -7,7 +10,7 @@ sudo.
|
||||
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
---
|
||||
core/adbd/adb.c | 1 -
|
||||
core/adbd/services.c | 160 ++++-------------------------------------------
|
||||
core/adbd/services.c | 160 +++------------------------------------
|
||||
debian/makefiles/adbd.mk | 4 +-
|
||||
3 files changed, 14 insertions(+), 151 deletions(-)
|
||||
|
||||
@@ -260,5 +263,5 @@ index 49dab8c..22c1816 100644
|
||||
OBJS= $(patsubst %, %.o, $(basename $(SRCS)))
|
||||
|
||||
--
|
||||
2.5.1
|
||||
2.47.0
|
||||
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
From 946dbb00fe4b2a75c688a470fc0c3924aa018a24 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 14 Jul 2024 11:39:49 +0200
|
||||
Subject: [PATCH] Adjust base64 function handling
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
In order to support libcs that do not provide b64_pton(), one of the
|
||||
Debian patches adds a copy of b64_pton() and b64_ntop(). However, no
|
||||
prototype is added for those functions, causing an "implicit
|
||||
declaration" warning... or error depending on the compiler version
|
||||
used:
|
||||
|
||||
core/adbd/adb_auth_client.c:75:15: error: implicit declaration of function ‘b64_pton’ [-Wimplicit-function-declaration]
|
||||
|
||||
This patch adds appropriate prototypes, but while at it, also renames
|
||||
the internal copy of b64_*() functions to have an adb_ prefix in order
|
||||
to clarify things and not clash with definitions potentially coming
|
||||
from the C library.
|
||||
|
||||
Upstream: N/A, we're too far from upstream
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
core/adb/adb_auth_client.c | 3 ++-
|
||||
core/adbd/adb_auth_client.c | 3 ++-
|
||||
core/adbd/base64.c | 4 ++--
|
||||
3 files changed, 6 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/core/adb/adb_auth_client.c b/core/adb/adb_auth_client.c
|
||||
index 0b4913e..25b9828 100644
|
||||
--- a/core/adb/adb_auth_client.c
|
||||
+++ b/core/adb/adb_auth_client.c
|
||||
@@ -45,6 +45,7 @@ static char *key_paths[] = {
|
||||
static fdevent listener_fde;
|
||||
static int framework_fd = -1;
|
||||
|
||||
+extern int adb_b64_pton(char const *src, u_char *target, size_t targsize);
|
||||
|
||||
static void read_keys(const char *file, struct listnode *list)
|
||||
{
|
||||
@@ -72,7 +73,7 @@ static void read_keys(const char *file, struct listnode *list)
|
||||
if (sep)
|
||||
*sep = '\0';
|
||||
|
||||
- ret = __b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
|
||||
+ ret = adb_b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
|
||||
if (ret != sizeof(key->key)) {
|
||||
D("%s: Invalid base64 data ret=%d\n", file, ret);
|
||||
free(key);
|
||||
diff --git a/core/adbd/adb_auth_client.c b/core/adbd/adb_auth_client.c
|
||||
index 0b4913e..25b9828 100644
|
||||
--- a/core/adbd/adb_auth_client.c
|
||||
+++ b/core/adbd/adb_auth_client.c
|
||||
@@ -45,6 +45,7 @@ static char *key_paths[] = {
|
||||
static fdevent listener_fde;
|
||||
static int framework_fd = -1;
|
||||
|
||||
+extern int adb_b64_pton(char const *src, u_char *target, size_t targsize);
|
||||
|
||||
static void read_keys(const char *file, struct listnode *list)
|
||||
{
|
||||
@@ -72,7 +73,7 @@ static void read_keys(const char *file, struct listnode *list)
|
||||
if (sep)
|
||||
*sep = '\0';
|
||||
|
||||
- ret = __b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
|
||||
+ ret = adb_b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
|
||||
if (ret != sizeof(key->key)) {
|
||||
D("%s: Invalid base64 data ret=%d\n", file, ret);
|
||||
free(key);
|
||||
diff --git a/core/adbd/base64.c b/core/adbd/base64.c
|
||||
index 7270703..91fc1b2 100644
|
||||
--- a/core/adbd/base64.c
|
||||
+++ b/core/adbd/base64.c
|
||||
@@ -134,7 +134,7 @@ static const char Pad64 = '=';
|
||||
*/
|
||||
|
||||
int
|
||||
-b64_ntop(src, srclength, target, targsize)
|
||||
+adb_b64_ntop(src, srclength, target, targsize)
|
||||
u_char const *src;
|
||||
size_t srclength;
|
||||
char *target;
|
||||
@@ -212,7 +212,7 @@ b64_ntop(src, srclength, target, targsize)
|
||||
*/
|
||||
|
||||
int
|
||||
-b64_pton(src, target, targsize)
|
||||
+adb_b64_pton(src, target, targsize)
|
||||
char const *src;
|
||||
u_char *target;
|
||||
size_t targsize;
|
||||
--
|
||||
2.47.0
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
[PATCH] Fix build issue with uclibc
|
||||
|
||||
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
---
|
||||
core/adbd/adb_auth_client.c | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/core/adb/adb_auth_client.c b/core/adb/adb_auth_client.c
|
||||
index 0b4913e..068d837 100644
|
||||
--- a/core/adb/adb_auth_client.c
|
||||
+++ b/core/adb/adb_auth_client.c
|
||||
@@ -72,7 +72,7 @@ static void read_keys(const char *file, struct listnode *list)
|
||||
if (sep)
|
||||
*sep = '\0';
|
||||
|
||||
- ret = __b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
|
||||
+ ret = b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
|
||||
if (ret != sizeof(key->key)) {
|
||||
D("%s: Invalid base64 data ret=%d\n", file, ret);
|
||||
free(key);
|
||||
diff --git a/core/adbd/adb_auth_client.c b/core/adbd/adb_auth_client.c
|
||||
index 0b4913e..068d837 100644
|
||||
--- a/core/adbd/adb_auth_client.c
|
||||
+++ b/core/adbd/adb_auth_client.c
|
||||
@@ -72,7 +72,7 @@ static void read_keys(const char *file, struct listnode *list)
|
||||
if (sep)
|
||||
*sep = '\0';
|
||||
|
||||
- ret = __b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
|
||||
+ ret = b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
|
||||
if (ret != sizeof(key->key)) {
|
||||
D("%s: Invalid base64 data ret=%d\n", file, ret);
|
||||
free(key);
|
||||
--
|
||||
2.6.1
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
[PATCH] Fix build issue with musl
|
||||
From d14ca3e3362448590adaebacb76d4d8046f9b556 Mon Sep 17 00:00:00 2001
|
||||
From: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
Date: Sun, 1 Dec 2024 15:44:16 +0100
|
||||
Subject: [PATCH] Fix build issue with musl
|
||||
|
||||
arpa/nameser.h doesn't use the same macro name to avoid several
|
||||
inclusions.
|
||||
@@ -8,19 +11,12 @@ TEMP_FAILURE_RETRY macro.
|
||||
|
||||
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
---
|
||||
core/adbd/arpa_nameser.h | 12 +++++++++---
|
||||
core/adbd/base64.c | 1 -
|
||||
core/adbd/framebuffer_service.c | 1 +
|
||||
core/adbd/qemu_pipe.h | 1 -
|
||||
core/include/cutils/android_reboot.h | 8 ++++++--
|
||||
core/include/cutils/bitops.h | 10 ++++++----
|
||||
core/include/cutils/partition_utils.h | 8 ++++++--
|
||||
extras/ext4_utils/sha1.c | 3 ---
|
||||
extras/ext4_utils/sha1.h | 13 ++++++-------
|
||||
9 files changed, 34 insertions(+), 23 deletions(-)
|
||||
core/adbd/arpa_nameser.h | 3 +++
|
||||
core/adbd/framebuffer_service.c | 1 +
|
||||
2 files changed, 4 insertions(+)
|
||||
|
||||
diff --git a/core/adbd/arpa_nameser.h b/core/adbd/arpa_nameser.h
|
||||
index 438dc04..b2a28d6 100644
|
||||
index 438dc04..f3d2fee 100644
|
||||
--- a/core/adbd/arpa_nameser.h
|
||||
+++ b/core/adbd/arpa_nameser.h
|
||||
@@ -52,6 +52,8 @@
|
||||
@@ -32,7 +28,7 @@ index 438dc04..b2a28d6 100644
|
||||
|
||||
#define BIND_4_COMPAT
|
||||
|
||||
@@ -574,4 +579,5 @@ __END_DECLS
|
||||
@@ -574,4 +576,5 @@ __END_DECLS
|
||||
#define XLOG(...) do {} while (0)
|
||||
#endif
|
||||
|
||||
@@ -51,4 +47,5 @@ index 20c08d2..48e0241 100644
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mman.h>
|
||||
--
|
||||
2.6.1
|
||||
2.47.0
|
||||
|
||||
|
||||
+30
-17
@@ -1,4 +1,7 @@
|
||||
makefiles: use pkgconf to get libs deps
|
||||
From 10f3f6fb75da72f155e72794d6647e4fa21a87d0 Mon Sep 17 00:00:00 2001
|
||||
From: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
||||
Date: Sun, 1 Dec 2024 15:45:01 +0100
|
||||
Subject: [PATCH] makefiles: use pkgconf to get libs deps
|
||||
|
||||
LIBS lists library dependencies without taking into account static linking
|
||||
that need ordered listing and more libraries listed since differently from
|
||||
@@ -10,26 +13,36 @@ needed libraries are listed during linking.
|
||||
|
||||
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
||||
---
|
||||
diff -urpN android-tools-4.2.2+git20130218.orig/debian/makefiles/adbd.mk android-tools-4.2.2+git20130218/debian/makefiles/adbd.mk
|
||||
--- android-tools-4.2.2+git20130218.orig/debian/makefiles/adbd.mk 2019-04-08 16:05:02.967710428 +0200
|
||||
+++ android-tools-4.2.2+git20130218/debian/makefiles/adbd.mk 2019-04-08 16:30:42.463084426 +0200
|
||||
@@ -44,7 +44,7 @@ CPPFLAGS+= -DADBD_NON_ANDROID
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/adbd
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/include
|
||||
debian/makefiles/adb.mk | 2 +-
|
||||
debian/makefiles/adbd.mk | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
-LIBS+= -lc -lpthread -lz -lcrypto -lcrypt
|
||||
+LIBS+= -lc -lpthread -lz `pkg-config --libs libcrypto` -lcrypt
|
||||
|
||||
OBJS= $(patsubst %, %.o, $(basename $(SRCS)))
|
||||
|
||||
diff -urpN android-tools-4.2.2+git20130218.orig/debian/makefiles/adb.mk android-tools-4.2.2+git20130218/debian/makefiles/adb.mk
|
||||
--- android-tools-4.2.2+git20130218.orig/debian/makefiles/adb.mk 2019-04-08 16:05:02.959701400 +0200
|
||||
+++ android-tools-4.2.2+git20130218/debian/makefiles/adb.mk 2019-04-08 16:31:06.529426250 +0200
|
||||
diff --git a/debian/makefiles/adb.mk b/debian/makefiles/adb.mk
|
||||
index 654b9f1..a03c93a 100644
|
||||
--- a/debian/makefiles/adb.mk
|
||||
+++ b/debian/makefiles/adb.mk
|
||||
@@ -41,7 +41,7 @@ CPPFLAGS+= -DHAVE_TERMIO_H
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/adb
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/include
|
||||
|
||||
|
||||
-LIBS+= -lc -lpthread -lz -lcrypto
|
||||
+LIBS+= -lc -lpthread -lz `pkg-config --libs libcrypto`
|
||||
|
||||
|
||||
OBJS= $(SRCS:.c=.o)
|
||||
|
||||
diff --git a/debian/makefiles/adbd.mk b/debian/makefiles/adbd.mk
|
||||
index 22c1816..a8eee3a 100644
|
||||
--- a/debian/makefiles/adbd.mk
|
||||
+++ b/debian/makefiles/adbd.mk
|
||||
@@ -44,7 +44,7 @@ CPPFLAGS+= -DADBD_NON_ANDROID
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/adbd
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/include
|
||||
|
||||
-LIBS+= -lc -lpthread -lz -lcrypto -lcrypt
|
||||
+LIBS+= -lc -lpthread -lz `pkg-config --libs libcrypto` -lcrypt
|
||||
|
||||
OBJS= $(patsubst %, %.o, $(basename $(SRCS)))
|
||||
|
||||
--
|
||||
2.47.0
|
||||
|
||||
+15
-5
@@ -1,4 +1,7 @@
|
||||
Fix build on big endian systems
|
||||
From 8f7e9458dbfca969d3edc9cf409b3439e98f4c5a Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Sun, 1 Dec 2024 15:45:26 +0100
|
||||
Subject: [PATCH] Fix build on big endian systems
|
||||
|
||||
The usb_linux_client.c file defines cpu_to_le16/32 by using the C
|
||||
library htole16/32 function calls. However, cpu_to_le16/32 are used
|
||||
@@ -14,9 +17,13 @@ To solve this, we simply open-code cpu_to_le16/32 in a way that allows
|
||||
them to be used when initializing structures.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
core/adb/usb_linux_client.c | 11 +++++++++--
|
||||
core/adbd/usb_linux_client.c | 11 +++++++++--
|
||||
2 files changed, 18 insertions(+), 4 deletions(-)
|
||||
|
||||
Index: b/core/adb/usb_linux_client.c
|
||||
===================================================================
|
||||
diff --git a/core/adb/usb_linux_client.c b/core/adb/usb_linux_client.c
|
||||
index fb1dad0..a981e96 100644
|
||||
--- a/core/adb/usb_linux_client.c
|
||||
+++ b/core/adb/usb_linux_client.c
|
||||
@@ -34,8 +34,15 @@
|
||||
@@ -37,8 +44,8 @@ Index: b/core/adb/usb_linux_client.c
|
||||
|
||||
struct usb_handle
|
||||
{
|
||||
Index: b/core/adbd/usb_linux_client.c
|
||||
===================================================================
|
||||
diff --git a/core/adbd/usb_linux_client.c b/core/adbd/usb_linux_client.c
|
||||
index 33875a8..0e4d200 100644
|
||||
--- a/core/adbd/usb_linux_client.c
|
||||
+++ b/core/adbd/usb_linux_client.c
|
||||
@@ -34,8 +34,15 @@
|
||||
@@ -59,3 +66,6 @@ Index: b/core/adbd/usb_linux_client.c
|
||||
|
||||
struct usb_handle
|
||||
{
|
||||
--
|
||||
2.47.0
|
||||
|
||||
+12
-6
@@ -1,4 +1,7 @@
|
||||
Include cdefs.h wherever it is needed
|
||||
From d3f0157bf2ac1afc9a810ccbe188110df724129d Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Sun, 1 Dec 2024 15:46:15 +0100
|
||||
Subject: [PATCH] Include cdefs.h wherever it is needed
|
||||
|
||||
cdefs.h is included from within a lot of glibc headers, so it almost
|
||||
invariably and automagically gets pulled in with glibc.
|
||||
@@ -11,12 +14,12 @@ So we must include it when we are going to use macros it provides.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
---
|
||||
core/adbd/services.c | 1 +
|
||||
core/libcutils/android_reboot.c | 1 +
|
||||
2 files changed, 2 insertions(+), 0 deletion(-)
|
||||
core/adbd/services.c | 1 +
|
||||
core/libcutils/android_reboot.c | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/core/adbd/services.c b/core/adbd/services.c
|
||||
index 20c08d2..48e0241 100644
|
||||
index 5adcefe..6de1951 100644
|
||||
--- a/core/adbd/services.c
|
||||
+++ b/core/adbd/services.c
|
||||
@@ -20,6 +20,7 @@
|
||||
@@ -28,7 +31,7 @@ index 20c08d2..48e0241 100644
|
||||
#include "sysdeps.h"
|
||||
|
||||
diff --git a/core/libcutils/android_reboot.c b/core/libcutils/android_reboot.c
|
||||
index 20c08d2..48e0241 100644
|
||||
index 79c05f8..9386006 100644
|
||||
--- a/core/libcutils/android_reboot.c
|
||||
+++ b/core/libcutils/android_reboot.c
|
||||
@@ -23,6 +23,7 @@
|
||||
@@ -39,3 +42,6 @@ index 20c08d2..48e0241 100644
|
||||
|
||||
#include <cutils/android_reboot.h>
|
||||
|
||||
--
|
||||
2.47.0
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
usb_linux.c: fix minor()/major() build failure due to glibc 2.28
|
||||
|
||||
glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
|
||||
and therefore <sys/sysmacros.h> must be included explicitly when
|
||||
major()/minor() are used.
|
||||
|
||||
This commit adds a patch to directly include <sys/sysmacros.h> into
|
||||
all usb_linux.c files where minor() and major() macros are used.
|
||||
|
||||
diff -urpN host-android-tools-4.2.2+git20130218.orig/core/adb/usb_linux.c host-android-tools-4.2.2+git20130218/core/adb/usb_linux.c
|
||||
--- host-android-tools-4.2.2+git20130218.orig/core/adb/usb_linux.c 2013-02-18 15:49:03.000000000 +0100
|
||||
+++ host-android-tools-4.2.2+git20130218/core/adb/usb_linux.c 2018-09-09 11:47:16.476292546 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <dirent.h>
|
||||
diff -urpN host-android-tools-4.2.2+git20130218.orig/core/adbd/usb_linux.c host-android-tools-4.2.2+git20130218/core/adbd/usb_linux.c
|
||||
--- host-android-tools-4.2.2+git20130218.orig/core/adbd/usb_linux.c 2018-09-09 02:32:57.154503866 +0200
|
||||
+++ host-android-tools-4.2.2+git20130218/core/adbd/usb_linux.c 2018-09-09 11:47:28.148353880 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <dirent.h>
|
||||
diff -urpN host-android-tools-4.2.2+git20130218.orig/core/fastboot/usb_linux.c host-android-tools-4.2.2+git20130218/core/fastboot/usb_linux.c
|
||||
--- host-android-tools-4.2.2+git20130218.orig/core/fastboot/usb_linux.c 2013-02-18 15:49:03.000000000 +0100
|
||||
+++ host-android-tools-4.2.2+git20130218/core/fastboot/usb_linux.c 2018-09-09 11:46:53.028169154 +0200
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
@@ -0,0 +1,59 @@
|
||||
From 99c20bd08065d9c78d81ba7aa48a2a113ab28c26 Mon Sep 17 00:00:00 2001
|
||||
From: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
||||
Date: Sun, 1 Dec 2024 15:46:50 +0100
|
||||
Subject: [PATCH] usb_linux.c: fix minor()/major() build failure due to glibc
|
||||
2.28
|
||||
|
||||
glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
|
||||
and therefore <sys/sysmacros.h> must be included explicitly when
|
||||
major()/minor() are used.
|
||||
|
||||
This commit adds a patch to directly include <sys/sysmacros.h> into
|
||||
all usb_linux.c files where minor() and major() macros are used.
|
||||
|
||||
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
||||
---
|
||||
core/adb/usb_linux.c | 1 +
|
||||
core/adbd/usb_linux.c | 1 +
|
||||
core/fastboot/usb_linux.c | 1 +
|
||||
3 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/core/adb/usb_linux.c b/core/adb/usb_linux.c
|
||||
index 7bf2057..f748267 100644
|
||||
--- a/core/adb/usb_linux.c
|
||||
+++ b/core/adb/usb_linux.c
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <dirent.h>
|
||||
diff --git a/core/adbd/usb_linux.c b/core/adbd/usb_linux.c
|
||||
index 7bf2057..f748267 100644
|
||||
--- a/core/adbd/usb_linux.c
|
||||
+++ b/core/adbd/usb_linux.c
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <dirent.h>
|
||||
diff --git a/core/fastboot/usb_linux.c b/core/fastboot/usb_linux.c
|
||||
index b7a9ca3..2dac62b 100644
|
||||
--- a/core/fastboot/usb_linux.c
|
||||
+++ b/core/fastboot/usb_linux.c
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
--
|
||||
2.47.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From d24abbec201975a5eb7f8589614cfb424b8c80b6 Mon Sep 17 00:00:00 2001
|
||||
From 3c4319da20fab4e48ec02e28f5b013b4a33b5fe4 Mon Sep 17 00:00:00 2001
|
||||
From: Alex Kaplan <kaplan2539@gmail.com>
|
||||
Date: Sat, 10 Nov 2018 19:50:51 -0800
|
||||
Subject: [PATCH] Fix makefiles for out-of-tree ext4_utils build
|
||||
@@ -44,5 +44,5 @@ index cb64916..c5904bf 100644
|
||||
LIBS+= -lz -lselinux
|
||||
|
||||
--
|
||||
2.7.4
|
||||
2.47.0
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From bb3da0e32be4f2260940edf3ee0f88103dfd0dcc Mon Sep 17 00:00:00 2001
|
||||
From 79bf5cdee607241434e0d1c5b72e724eb1d20102 Mon Sep 17 00:00:00 2001
|
||||
From: Eneas U de Queiroz <cote2004-github@yahoo.com>
|
||||
Date: Tue, 5 Feb 2019 01:12:19 +0200
|
||||
Subject: [PATCH] adb: added patch for openssl 1.1.0 compatibility
|
||||
@@ -43,5 +43,5 @@ index 9039d42..debd2ef 100644
|
||||
out:
|
||||
BN_free(n0inv);
|
||||
--
|
||||
2.14.1
|
||||
2.47.0
|
||||
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
From 9724d78fda4eb023f83d2fd30e665b436d7a7f97 Mon Sep 17 00:00:00 2001
|
||||
From 6919b6619a9c744d2220f7af6e211c50662ba94b Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 14 Jul 2024 11:41:10 +0200
|
||||
Subject: [PATCH] core/fastboot/fastboot.c: reorder functions to avoid implicit
|
||||
@@ -50,5 +50,5 @@ index 3de6d7d..9b2c86f 100644
|
||||
{
|
||||
if (match_fastboot_with_serial(info, NULL) == 0) {
|
||||
--
|
||||
2.45.2
|
||||
2.47.0
|
||||
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
From 2812c2005cfa4bfc5741651c8310e36f28c0327e Mon Sep 17 00:00:00 2001
|
||||
From 72b9e79c81a237f1839afb4fdee680eafdd180d9 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 14 Jul 2024 11:41:56 +0200
|
||||
Subject: [PATCH] core/libsparse/sparse_read.c: add missing output_file.h
|
||||
@@ -33,5 +33,5 @@ index 704bcfa..0a8f838 100644
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#define lseek64 lseek
|
||||
--
|
||||
2.45.2
|
||||
2.47.0
|
||||
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
From 83f9bed233b86dd2bbf603611b13b673caeccb69 Mon Sep 17 00:00:00 2001
|
||||
From 01e86db8460d873aec15d658bfc717b026c0545f Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 14 Jul 2024 11:46:51 +0200
|
||||
Subject: [PATCH] extras/ext4_utils/make_ext4fs_main.c: disable
|
||||
@@ -50,5 +50,5 @@ index 17d3735..cb58011 100644
|
||||
if (!sehnd && mountpoint) {
|
||||
sehnd = selinux_android_file_context_handle();
|
||||
--
|
||||
2.45.2
|
||||
2.47.0
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 2b5060146b0890f7f1a63ef891af1358b8cdf9bc Mon Sep 17 00:00:00 2001
|
||||
From 850fd3f4a0384ebe492a466a9b1149060619aacb Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 14 Jul 2024 12:57:22 +0200
|
||||
Subject: [PATCH] core/adbd/adb.c: open code capset()
|
||||
@@ -48,5 +48,5 @@ index 7fe6445..98b1de1 100644
|
||||
D("Local port disabled\n");
|
||||
} else {
|
||||
--
|
||||
2.45.2
|
||||
2.47.0
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From c14070011e070d8674cf3578708cbae433090a47 Mon Sep 17 00:00:00 2001
|
||||
From 8f351150de38641c8ce2e9b7f9a5cba29ccd8f7e Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 14 Jul 2024 13:00:02 +0200
|
||||
Subject: [PATCH] core/adbd/adb.c: include correct header for prctl()
|
||||
@@ -30,5 +30,5 @@ index 98b1de1..10f420b 100644
|
||||
#else
|
||||
#include "usb_vendors.h"
|
||||
--
|
||||
2.45.2
|
||||
2.47.0
|
||||
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
From 5db9529436f13b8c073a0310da3a1107f84645da Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Wed, 4 Dec 2024 20:51:22 +0100
|
||||
Subject: [PATCH] extras/ext4_utils/make_ext4fs.c: define
|
||||
__SANE_USERSPACE_TYPES__
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The Debian patch ppc64el-ftbfs.patch is already defining
|
||||
__SANE_USERSPACE_TYPES__ in a few files to solve a conflict between
|
||||
kernel header definitions and local definition of some types, on
|
||||
powerpc64 and mips64.
|
||||
|
||||
However, the Debian patch lacks an update to ext4_utils.c, and has the
|
||||
definition too late in make_ext4fs.c. This commit therefore fixes
|
||||
those two remaining issues, fixing:
|
||||
|
||||
error: conflicting types for ‘u64’; have ‘long unsigned int’
|
||||
|
||||
Upstream: N/A, we're too far from upstream
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
extras/ext4_utils/ext4_utils.c | 5 ++++-
|
||||
extras/ext4_utils/make_ext4fs.c | 4 ++++
|
||||
2 files changed, 8 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/extras/ext4_utils/ext4_utils.c b/extras/ext4_utils/ext4_utils.c
|
||||
index e95f5cc..9f6836f 100644
|
||||
--- a/extras/ext4_utils/ext4_utils.c
|
||||
+++ b/extras/ext4_utils/ext4_utils.c
|
||||
@@ -14,6 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
+#if defined(__linux__)
|
||||
+#define __SANE_USERSPACE_TYPES__
|
||||
+#endif
|
||||
+
|
||||
#include "ext4_utils.h"
|
||||
#include "uuid.h"
|
||||
#include "allocate.h"
|
||||
@@ -36,7 +40,6 @@
|
||||
#endif
|
||||
|
||||
#if defined(__linux__)
|
||||
-#define __SANE_USERSPACE_TYPES__
|
||||
#include <linux/fs.h>
|
||||
#elif defined(__APPLE__) && defined(__MACH__)
|
||||
#include <sys/disk.h>
|
||||
diff --git a/extras/ext4_utils/make_ext4fs.c b/extras/ext4_utils/make_ext4fs.c
|
||||
index 3124aed..332a213 100644
|
||||
--- a/extras/ext4_utils/make_ext4fs.c
|
||||
+++ b/extras/ext4_utils/make_ext4fs.c
|
||||
@@ -14,6 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
+#if defined(__linux__)
|
||||
+#define __SANE_USERSPACE_TYPES__
|
||||
+#endif
|
||||
+
|
||||
#include "make_ext4fs.h"
|
||||
#include "ext4_utils.h"
|
||||
#include "allocate.h"
|
||||
--
|
||||
2.47.0
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
From 36ea6d5a2bfc480dd8032cc8651e6793552bc2aa Mon Sep 17 00:00:00 2001
|
||||
From: Eric Covener <covener@apache.org>
|
||||
Date: Tue, 20 Aug 2024 21:50:42 +0000
|
||||
Subject: [PATCH] Merge r1920082 from 1.8.x:
|
||||
|
||||
use 0600 perms for named shared mem consistently
|
||||
|
||||
|
||||
|
||||
|
||||
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1920083 13f79535-47bb-0310-9956-ffa450edef68
|
||||
Upstream: https://github.com/apache/apr/commit/36ea6d5a2bfc480dd8032cc8651e6793552bc2aa
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
shmem/unix/shm.c | 18 +++++++-----------
|
||||
1 file changed, 7 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/shmem/unix/shm.c b/shmem/unix/shm.c
|
||||
index 096884d99..ea9b94277 100644
|
||||
--- a/shmem/unix/shm.c
|
||||
+++ b/shmem/unix/shm.c
|
||||
@@ -287,10 +287,9 @@ APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m,
|
||||
status = APR_SUCCESS;
|
||||
|
||||
#if APR_USE_SHMEM_MMAP_TMP
|
||||
- /* FIXME: Is APR_OS_DEFAULT sufficient? */
|
||||
- status = apr_file_open(&file, filename,
|
||||
- APR_READ | APR_WRITE | APR_CREATE | APR_EXCL,
|
||||
- APR_OS_DEFAULT, pool);
|
||||
+ status = apr_file_open(&file, filename,
|
||||
+ APR_FOPEN_READ | APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_EXCL,
|
||||
+ APR_FPROT_UREAD | APR_FPROT_UWRITE, pool);
|
||||
if (status != APR_SUCCESS) {
|
||||
return status;
|
||||
}
|
||||
@@ -319,8 +318,7 @@ APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m,
|
||||
}
|
||||
#endif /* APR_USE_SHMEM_MMAP_TMP */
|
||||
#if APR_USE_SHMEM_MMAP_SHM
|
||||
- /* FIXME: SysV uses 0600... should we? */
|
||||
- tmpfd = shm_open(shm_name, O_RDWR | O_CREAT | O_EXCL, 0644);
|
||||
+ tmpfd = shm_open(shm_name, O_RDWR | O_CREAT | O_EXCL, 0600);
|
||||
if (tmpfd == -1) {
|
||||
return errno;
|
||||
}
|
||||
@@ -361,10 +359,9 @@ APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m,
|
||||
#elif APR_USE_SHMEM_SHMGET
|
||||
new_m->realsize = reqsize;
|
||||
|
||||
- /* FIXME: APR_OS_DEFAULT is too permissive, switch to 600 I think. */
|
||||
- status = apr_file_open(&file, filename,
|
||||
+ status = apr_file_open(&file, filename,
|
||||
APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_EXCL,
|
||||
- APR_OS_DEFAULT, pool);
|
||||
+ APR_FPROT_UREAD | APR_FPROT_UWRITE, pool);
|
||||
if (status != APR_SUCCESS) {
|
||||
return status;
|
||||
}
|
||||
@@ -555,8 +552,7 @@ APR_DECLARE(apr_status_t) apr_shm_attach(apr_shm_t **m,
|
||||
#if APR_USE_SHMEM_MMAP_SHM
|
||||
const char *shm_name = make_shm_open_safe_name(filename, pool);
|
||||
|
||||
- /* FIXME: SysV uses 0600... should we? */
|
||||
- tmpfd = shm_open(shm_name, O_RDWR, 0644);
|
||||
+ tmpfd = shm_open(shm_name, O_RDWR, 0600);
|
||||
if (tmpfd == -1) {
|
||||
return errno;
|
||||
}
|
||||
--
|
||||
2.39.5
|
||||
|
||||
@@ -16,6 +16,9 @@ APR_INSTALL_STAGING = YES
|
||||
# so we need to autoreconf:
|
||||
APR_AUTORECONF = YES
|
||||
|
||||
# 0004-Merge-r1920082-from-1.8.x.patch
|
||||
APR_IGNORE_CVES += CVE-2023-49582
|
||||
|
||||
APR_CONF_OPTS = --disable-sctp
|
||||
|
||||
# avoid apr_hints.m4 by setting apr_preload_done=yes and set
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
autoconf: don't append -dirty to version
|
||||
|
||||
Don't append -dirty to autoconf version number if the buildroot git tree
|
||||
has uncommited changes.
|
||||
has uncommitted changes.
|
||||
|
||||
This script is meant for the autoconf developers, but it also activates
|
||||
if you build autoconf in a subdirectory of a git tree (E.G. like how it's
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 aeff09fdc8b0c88b3087c99de00cf549356d7a2f6a69e3fcec5e0e861d2f9063 bats-core-1.11.0.tar.gz
|
||||
sha256 5c57ed9616b78f7fd8c553b9bae3c7c9870119edd727ec17dbd1185c599f79d9 bats-core-1.11.1.tar.gz
|
||||
|
||||
# License files
|
||||
sha256 55074b2b3b87809105034e1468e59076554d76a80c67bcc592000cc3d929852d LICENSE.md
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BATS_CORE_VERSION = 1.11.0
|
||||
BATS_CORE_VERSION = 1.11.1
|
||||
BATS_CORE_SITE = $(call github,bats-core,bats-core,v$(BATS_CORE_VERSION))
|
||||
BATS_CORE_LICENSE = MIT
|
||||
BATS_CORE_LICENSE_FILES = LICENSE.md
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
BC_VERSION = 1.07.1
|
||||
BC_SITE = http://ftp.gnu.org/gnu/bc
|
||||
BC_SITE = $(BR2_GNU_MIRROR)/bc
|
||||
BC_DEPENDENCIES = host-flex
|
||||
BC_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||
BC_LICENSE_FILES = COPYING COPYING.LIB
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
# Keep the version and patches in sync with bluez5_utils
|
||||
BLUEZ5_UTILS_HEADERS_VERSION = 5.78
|
||||
BLUEZ5_UTILS_HEADERS_VERSION = 5.79
|
||||
BLUEZ5_UTILS_HEADERS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
|
||||
BLUEZ5_UTILS_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
|
||||
BLUEZ5_UTILS_HEADERS_DL_SUBDIR = bluez5_utils
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From 9d69dba21f1e46b34cdd8ae27fec11d0803907ee Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= <gudni.m.g@gmail.com>
|
||||
Date: Sat, 2 Nov 2024 16:10:18 +0000
|
||||
Subject: [PATCH] gdbus: define MAX_INPUT for musl
|
||||
|
||||
This is the same solution as was done in src/shared/util.c
|
||||
|
||||
Upstream: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=9d69dba21f1e46b34cdd8ae27fec11d0803907ee
|
||||
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
|
||||
---
|
||||
gdbus/object.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/gdbus/object.c b/gdbus/object.c
|
||||
index 84f116bf1..7b0476f1a 100644
|
||||
--- a/gdbus/object.c
|
||||
+++ b/gdbus/object.c
|
||||
@@ -20,6 +20,12 @@
|
||||
#include <dbus/dbus.h>
|
||||
|
||||
#include "gdbus.h"
|
||||
+
|
||||
+/* define MAX_INPUT for musl */
|
||||
+#ifndef MAX_INPUT
|
||||
+#define MAX_INPUT _POSIX_MAX_INPUT
|
||||
+#endif
|
||||
+
|
||||
#include "src/shared/util.h"
|
||||
|
||||
#define info(fmt...)
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From b1fd409960001a77cda2a09ecc00147ebd9c3667 Mon Sep 17 00:00:00 2001
|
||||
From: Fiona Klute <fiona.klute@gmx.de>
|
||||
Date: Mon, 9 Dec 2024 16:40:43 +0100
|
||||
Subject: [PATCH BlueZ] build: Leave config files writable for owner
|
||||
|
||||
This is needed for builds running as non-root users, so the build
|
||||
process and any distribution tools can create/move/delete files in the
|
||||
config directory without adjusting permissions separately. Limiting
|
||||
writes from the running service needs to be done in the systemd unit
|
||||
(already the case) or init script.
|
||||
|
||||
See also: https://lore.kernel.org/linux-bluetooth/4d1206df-598b-4a68-8655-74981b62ecca@gmx.de/T/
|
||||
Reviewed-by: Bastien Nocera <hadess@hadess.net>
|
||||
Upstream: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=b1fd409960001a77cda2a09ecc00147ebd9c3667
|
||||
Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 297d0774c..29018a91c 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -32,7 +32,7 @@ confdir = $(sysconfdir)/bluetooth
|
||||
statedir = $(localstatedir)/lib/bluetooth
|
||||
|
||||
bluetoothd-fix-permissions:
|
||||
- install -dm555 $(DESTDIR)$(confdir)
|
||||
+ install -dm755 $(DESTDIR)$(confdir)
|
||||
install -dm700 $(DESTDIR)$(statedir)
|
||||
|
||||
if DATAFILES
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc:
|
||||
sha256 830fed1915c5d375b8de0f5e6f45fcdea0dcc5ff5ffb3d31db6ed0f00d73c5e3 bluez-5.78.tar.xz
|
||||
sha256 4164a5303a9f71c70f48c03ff60be34231b568d93a9ad5e79928d34e6aa0ea8a bluez-5.79.tar.xz
|
||||
# Locally computed
|
||||
sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
|
||||
sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING.LIB
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
# Keep the version and patches in sync with bluez5_utils-headers
|
||||
BLUEZ5_UTILS_VERSION = 5.78
|
||||
BLUEZ5_UTILS_VERSION = 5.79
|
||||
BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
|
||||
BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
|
||||
BLUEZ5_UTILS_INSTALL_STAGING = YES
|
||||
@@ -13,6 +13,9 @@ BLUEZ5_UTILS_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||
BLUEZ5_UTILS_LICENSE_FILES = COPYING COPYING.LIB
|
||||
BLUEZ5_UTILS_CPE_ID_VENDOR = bluez
|
||||
BLUEZ5_UTILS_CPE_ID_PRODUCT = bluez
|
||||
# required because 0002-Leave-config-files-writable-for-owner.patch
|
||||
# modifies Makefile.am
|
||||
BLUEZ5_UTILS_AUTORECONF = YES
|
||||
|
||||
BLUEZ5_UTILS_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),bluez5_utils-headers) \
|
||||
@@ -22,13 +25,12 @@ BLUEZ5_UTILS_DEPENDENCIES = \
|
||||
BLUEZ5_UTILS_CONF_OPTS = \
|
||||
--enable-library \
|
||||
--disable-cups \
|
||||
--disable-datafiles \
|
||||
--disable-manpages \
|
||||
--disable-asan \
|
||||
--disable-lsan \
|
||||
--disable-ubsan \
|
||||
--disable-pie \
|
||||
--with-dbusconfdir=/etc
|
||||
--with-dbusconfdir=/usr/share
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_OBEX),y)
|
||||
BLUEZ5_UTILS_CONF_OPTS += --enable-obex
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
From ae8a1bc4979c797bb1f152fc92cfe6bc05a44594 Mon Sep 17 00:00:00 2001
|
||||
From: Christos Tsantilas <christos@chtsanti.net>
|
||||
Date: Tue, 20 Nov 2018 17:10:16 +0200
|
||||
Subject: [PATCH] Fix compile warning about missing stdio.h include file
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Upstream: https://github.com/c-icap/c-icap-server/commit/ae8a1bc4979c797bb1f152fc92cfe6bc05a44594
|
||||
---
|
||||
tests/test_base64.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tests/test_base64.c b/tests/test_base64.c
|
||||
index 8a4a76c..7692197 100644
|
||||
--- a/tests/test_base64.c
|
||||
+++ b/tests/test_base64.c
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "common.h"
|
||||
#include "simple_api.h"
|
||||
+#include <stdio.h>
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
--
|
||||
2.47.1
|
||||
|
||||
@@ -3,6 +3,9 @@ config BR2_PACKAGE_C_ICAP
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
# the libmemcached code uses <crypt.h>
|
||||
select BR2_PACKAGE_LIBXCRYPT if \
|
||||
BR2_PACKAGE_LIBMEMCACHED && BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
c-icap is an implementation of an ICAP server. It can be
|
||||
used with HTTP proxies that support the ICAP protocol to
|
||||
|
||||
@@ -43,7 +43,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMEMCACHED),y)
|
||||
C_ICAP_CONF_OPTS += --with-memcached
|
||||
C_ICAP_DEPENDENCIES += libmemcached
|
||||
C_ICAP_DEPENDENCIES += libmemcached $(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt)
|
||||
else
|
||||
C_ICAP_CONF_OPTS += --without-memcached
|
||||
endif
|
||||
|
||||
@@ -21,7 +21,7 @@ define CRYPTODEV_LINUX_INSTALL_STAGING_CMDS
|
||||
$(STAGING_DIR)/usr/include/crypto/cryptodev.h
|
||||
endef
|
||||
|
||||
define CRYPTODEV_LINUX_CONFIG_FIXUPS
|
||||
define CRYPTODEV_LINUX_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_AEAD)
|
||||
endef
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
From ce9de5d1bf9d21c088b01ce9da6f7ff02b0d863d Mon Sep 17 00:00:00 2001
|
||||
From: InterLinked1 <24227567+InterLinked1@users.noreply.github.com>
|
||||
Date: Mon, 23 Sep 2024 08:04:54 -0400
|
||||
Subject: [PATCH] xpp, sysfs: Use const struct device_device if needed.
|
||||
|
||||
Kernel commit d69d804845985c29ab5be5a4b3b1f4787893daf8
|
||||
changed struct device_driver to be const, so make the
|
||||
arguments const on kernels 6.11 and newer.
|
||||
|
||||
Resolves: #63
|
||||
|
||||
Upstream: https://github.com/asterisk/dahdi-linux/pull/64
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
drivers/dahdi/dahdi-sysfs-chan.c | 4 ++++
|
||||
drivers/dahdi/dahdi-sysfs.c | 4 ++++
|
||||
drivers/dahdi/xpp/xbus-sysfs.c | 8 ++++++++
|
||||
3 files changed, 16 insertions(+)
|
||||
|
||||
diff --git a/drivers/dahdi/dahdi-sysfs-chan.c b/drivers/dahdi/dahdi-sysfs-chan.c
|
||||
index 09d7317..35b7bd4 100644
|
||||
--- a/drivers/dahdi/dahdi-sysfs-chan.c
|
||||
+++ b/drivers/dahdi/dahdi-sysfs-chan.c
|
||||
@@ -220,7 +220,11 @@ static void chan_release(struct device *dev)
|
||||
chan_dbg(DEVICES, chan, "SYSFS\n");
|
||||
}
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
|
||||
+static int chan_match(struct device *dev, const struct device_driver *driver)
|
||||
+#else
|
||||
static int chan_match(struct device *dev, struct device_driver *driver)
|
||||
+#endif /* LINUX_VERSION_CODE */
|
||||
{
|
||||
struct dahdi_chan *chan;
|
||||
|
||||
diff --git a/drivers/dahdi/dahdi-sysfs.c b/drivers/dahdi/dahdi-sysfs.c
|
||||
index 7477ebc..246514c 100644
|
||||
--- a/drivers/dahdi/dahdi-sysfs.c
|
||||
+++ b/drivers/dahdi/dahdi-sysfs.c
|
||||
@@ -42,7 +42,11 @@ module_param(tools_rootdir, charp, 0444);
|
||||
MODULE_PARM_DESC(tools_rootdir,
|
||||
"root directory of all tools paths (default /)");
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
|
||||
+static int span_match(struct device *dev, const struct device_driver *driver)
|
||||
+#else
|
||||
static int span_match(struct device *dev, struct device_driver *driver)
|
||||
+#endif /* LINUX_VERSION_CODE */
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
diff --git a/drivers/dahdi/xpp/xbus-sysfs.c b/drivers/dahdi/xpp/xbus-sysfs.c
|
||||
index 177048b..f78a15e 100644
|
||||
--- a/drivers/dahdi/xpp/xbus-sysfs.c
|
||||
+++ b/drivers/dahdi/xpp/xbus-sysfs.c
|
||||
@@ -397,7 +397,11 @@ static struct attribute *xbus_dev_attrs[] = {
|
||||
ATTRIBUTE_GROUPS(xbus_dev);
|
||||
#endif
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
|
||||
+static int astribank_match(struct device *dev, const struct device_driver *driver)
|
||||
+#else
|
||||
static int astribank_match(struct device *dev, struct device_driver *driver)
|
||||
+#endif /* LINUX_VERSION_CODE */
|
||||
{
|
||||
DBG(DEVICES, "SYSFS MATCH: dev->bus_id = %s, driver->name = %s\n",
|
||||
dev_name(dev), driver->name);
|
||||
@@ -771,7 +775,11 @@ static DEVICE_ATTR_READER(refcount_xpd_show, dev, buf)
|
||||
return len;
|
||||
}
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
|
||||
+static int xpd_match(struct device *dev, const struct device_driver *driver)
|
||||
+#else
|
||||
static int xpd_match(struct device *dev, struct device_driver *driver)
|
||||
+#endif /* LINUX_VERSION_CODE */
|
||||
{
|
||||
struct xpd_driver *xpd_driver;
|
||||
xpd_t *xpd;
|
||||
--
|
||||
2.39.5
|
||||
|
||||
@@ -8,7 +8,7 @@ Patch borrowed from Void Linux :
|
||||
https://github.com/voidlinux/void-packages/blob/master/srcpkgs/dmraid/patches/25_musl-libc.patch
|
||||
|
||||
Upstream package appears dormant, no mailing list and no
|
||||
maintainence releases since Nov 2010.
|
||||
maintenance releases since Nov 2010.
|
||||
|
||||
Upstream-Status: dormant
|
||||
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
DOXYGEN_VERSION = 1.8.18
|
||||
DOXYGEN_SOURCE = doxygen-$(DOXYGEN_VERSION).src.tar.gz
|
||||
DOXYGEN_SITE = http://doxygen.nl/files
|
||||
DOXYGEN_SITE = https://sourceforge.net/projects/doxygen/files/rel-$(DOXYGEN_VERSION)
|
||||
DOXYGEN_LICENSE = GPL-2.0
|
||||
DOXYGEN_LICENSE_FILES = LICENSE
|
||||
DOXYGEN_CPE_ID_VENDOR = doxygen
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally computed
|
||||
sha256 9944f7e5f268e7ac9b4193e2cd54ef6d98f6e1d7dddc967c77ae4f6616d6fbbd dpdk-24.07.tar.xz
|
||||
sha256 bcae7d42c449fc456dfb279feabcbe0599a29bebb2fe2905761e187339d96b8e dpdk-24.11.1.tar.xz
|
||||
sha256 9acc4bc871a4742550158e3696dcb381953172ef808d04ca248184f9f6322712 license/bsd-3-clause.txt
|
||||
sha256 e19808bccd90c238fac06da2fc3683e094c64f7ba647e9d86f03a98cf5f2ce05 license/exceptions.txt
|
||||
sha256 6c54c4d44faf3cba829b3d0c21c6955953e758767018fd7244f809b01d4f4845 license/mit.txt
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DPDK_VERSION = 24.07
|
||||
DPDK_VERSION = 24.11.1
|
||||
DPDK_SOURCE = dpdk-$(DPDK_VERSION).tar.xz
|
||||
DPDK_SITE = https://fast.dpdk.org/rel
|
||||
DPDK_LICENSE = \
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 4ecb6221b28aaae309043b8403555eb6835de671c519c224a3807cea50f48001 eza-0.18.22-cargo2.tar.gz
|
||||
sha256 65a0dc76c1976d7af72a628196022de71c787092da5c6d961a3fcee21f5d1d6f eza-0.18.24-cargo2.tar.gz
|
||||
sha256 2762990c7fbba9d550802a2593c1d857dcd52596bb0f9f192a97e9a7ac5f4f9e LICENCE
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EZA_VERSION = 0.18.22
|
||||
EZA_VERSION = 0.18.24
|
||||
EZA_SITE = $(call github,eza-community,eza,v$(EZA_VERSION))
|
||||
EZA_LICENSE = MIT
|
||||
EZA_LICENSE_FILES = LICENCE
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 8060ec28cbf6e2e3d408665330da4bc48fd094d4f1265d7c58dc75c767463c29 1.16.2.tar.gz
|
||||
sha256 ff81bca86178ef326588176f8bdf817bb3e0fbc891d026960144f69c8a74eb4d foot-1.16.2-git4.tar.gz
|
||||
sha256 d534a23a31500a0ac958d9634b84f532bd73ff1aca1bb8f7debbcbebc16ff39a LICENSE
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
################################################################################
|
||||
|
||||
FOOT_VERSION = 1.16.2
|
||||
FOOT_SOURCE = $(FOOT_VERSION).tar.gz
|
||||
FOOT_SITE = https://codeberg.org/dnkl/foot/archive
|
||||
FOOT_SITE = https://codeberg.org/dnkl/foot.git
|
||||
FOOT_SITE_METHOD = git
|
||||
FOOT_LICENSE = MIT
|
||||
FOOT_LICENSE_FILES = LICENSE
|
||||
FOOT_DEPENDENCIES = \
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
FREEIPMI_VERSION = 1.6.14
|
||||
FREEIPMI_SITE = https://ftp.gnu.org/gnu/freeipmi
|
||||
FREEIPMI_SITE = $(BR2_GNU_MIRROR)/freeipmi
|
||||
FREEIPMI_LICENSE = GPL-3.0+, BSD-like (sunbmc)
|
||||
FREEIPMI_LICENSE_FILES = \
|
||||
COPYING COPYING.bmc-watchdog COPYING.ipmiconsole COPYING.ipmi-dcmi \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 6eb254c72dca867fefffd5ded80a6c2d5ce8df223ce93263302db4b8bfbb19c4 frr-9.1.1.tar.gz
|
||||
sha256 a23ab9aba5c45d919f9c6d14febfad8a797b7f63272bde4009c70ff77aac3a77 frr-9.1.2.tar.gz
|
||||
sha256 7bf053957d6c38e39a06a112c60ff35b228d3bd03edbe8c9a03508b051128d16 COPYING
|
||||
sha256 f9e0c21faf738da586281c0beaad3cd56204c19085a10fe05e4d3d7f8b5863d2 doc/licenses/BSD-2-Clause
|
||||
sha256 aca297b8fd3a43e3bb200f1e2e043c0db6c897325f5ff7f23f7530302a6bf713 doc/licenses/BSD-3-Clause
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FRR_VERSION = 9.1.1
|
||||
FRR_VERSION = 9.1.2
|
||||
FRR_SITE = $(call github,FRRouting,frr,frr-$(FRR_VERSION))
|
||||
FRR_LICENSE = GPL-2.0+
|
||||
FRR_LICENSE_FILES = \
|
||||
|
||||
@@ -5,3 +5,9 @@ sha512 0217434073023a8b8316088bf3ee95d53a1b6a7897f6269095429016a8900f9a05e130c3
|
||||
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 3518b47d5c11d1fb478ee152bde1719363f9391db73f3b9f5491217c17742bef8ebca6a51a40302dfaa9476c5a32a8b8f70a4bf64289422dea5f750ae53ab88d gdb-arc-2023.09-release.tar.gz
|
||||
|
||||
# Locally calculated (fetched from gcc.gnu.org)
|
||||
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING3
|
||||
sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING3.LIB
|
||||
sha256 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d COPYING.LIB
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://www.gnupg.org/download/integrity_check.html
|
||||
sha1 2d8aa2662c398d60f1f8e0bf46fd163eae703189 gnupg-2.4.6.tar.bz2
|
||||
sha256 95acfafda7004924a6f5c901677f15ac1bda2754511d973bb4523e8dd840e17a gnupg-2.4.6.tar.bz2
|
||||
sha1 2d510a1a7294f2f9ef3f2e280c93c3ad9b0cdb68 gnupg-2.4.7.tar.bz2
|
||||
sha256 7b24706e4da7e0e3b06ca068231027401f238102c41c909631349dcc3b85eb46 gnupg-2.4.7.tar.bz2
|
||||
# Locally calculated
|
||||
sha256 bc2d6664f6276fa0a72d57633b3ae68dc7dcb677b71018bf08c8e93e509f1357 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GNUPG2_VERSION = 2.4.6
|
||||
GNUPG2_VERSION = 2.4.7
|
||||
GNUPG2_SOURCE = gnupg-$(GNUPG2_VERSION).tar.bz2
|
||||
GNUPG2_SITE = https://gnupg.org/ftp/gcrypt/gnupg
|
||||
GNUPG2_LICENSE = GPL-3.0+
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
From 806641b5ef504488f871b5cbd9e5c356d67d0bd1 Mon Sep 17 00:00:00 2001
|
||||
From: Edgar Bonet <bonet@grenoble.cnrs.fr>
|
||||
Date: Tue, 24 Sep 2024 20:03:18 -0700
|
||||
Subject: [PATCH] check for defined(FE_UNDERFLOW)
|
||||
|
||||
According to fenv(3), the macro FE_UNDERFLOW is defined by fenv.h only
|
||||
if the implementation supports handling of the underflow exception. Do
|
||||
not assume the presence of fenv.h implies FE_UNDERFLOW is defined.
|
||||
|
||||
Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
|
||||
Upstream: https://sourceforge.net/p/gnuplot/gnuplot-main/ci/926d2c26d31f4b69feda372c76a28643ef45359d/
|
||||
Upstream: https://sourceforge.net/p/gnuplot/gnuplot-main/ci/806641b5ef504488f871b5cbd9e5c356d67d0bd1/
|
||||
---
|
||||
src/complexfun.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/complexfun.c b/src/complexfun.c
|
||||
index 7a5d9a13f..7ddb4ed60 100644
|
||||
--- a/src/complexfun.c
|
||||
+++ b/src/complexfun.c
|
||||
@@ -86,7 +86,7 @@
|
||||
int_error(NO_CARET, "%s: error present on entry (errno %d %s)", who, errno, strerror(errno));
|
||||
#endif
|
||||
|
||||
-#ifdef HAVE_FENV_H
|
||||
+#if defined (HAVE_FENV_H) && defined (FE_UNDERFLOW)
|
||||
#define handle_underflow( who, var ) \
|
||||
if (errno) { \
|
||||
if (fetestexcept(FE_UNDERFLOW)) { \
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# From https://sourceforge.net/projects/gnuplot/files/gnuplot/6.0.1/
|
||||
md5 744fde2362fb20db6cfc58de73f96e9c gnuplot-6.0.1.tar.gz
|
||||
sha1 ce1aaeff632c78cba2b3ca8142cf130bfd411478 gnuplot-6.0.1.tar.gz
|
||||
# From https://sourceforge.net/projects/gnuplot/files/gnuplot/6.0.2/
|
||||
md5 ea0931758fc180e3b1950931b9869921 gnuplot-6.0.2.tar.gz
|
||||
sha1 be803916e4ea32720b4a646f2ffc98d6ad3a0dc2 gnuplot-6.0.2.tar.gz
|
||||
# Locally computed
|
||||
sha256 e85a660c1a2a1808ff24f7e69981ffcbac66a45c9dcf711b65610b26ea71379a gnuplot-6.0.1.tar.gz
|
||||
sha256 f68a3b0bbb7bbbb437649674106d94522c00bf2f285cce0c19c3180b1ee7e738 gnuplot-6.0.2.tar.gz
|
||||
sha256 895928ec0735cca1c8cec42656c7e314a065d0242813bb8693c0c1bf61fd4e4d Copyright
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GNUPLOT_VERSION = 6.0.1
|
||||
GNUPLOT_VERSION = 6.0.2
|
||||
GNUPLOT_SITE = http://downloads.sourceforge.net/project/gnuplot/gnuplot/$(GNUPLOT_VERSION)
|
||||
GNUPLOT_LICENSE = gnuplot license (open source)
|
||||
GNUPLOT_LICENSE_FILES = Copyright
|
||||
|
||||
@@ -0,0 +1,798 @@
|
||||
From 5ed597eb28c408c5968e6dfb839880ba5fa17ba1 Mon Sep 17 00:00:00 2001
|
||||
From: Daiki Ueno <ueno@gnu.org>
|
||||
Date: Fri, 6 Dec 2024 09:53:18 +0900
|
||||
Subject: [PATCH] groups: represent hybrid groups with an array of IDs
|
||||
|
||||
Previously, the supported_groups array contained externally defined
|
||||
elements, which is legitimate in C99 but caused error with Clang:
|
||||
|
||||
groups.c:93:2: error: initializer element is not a compile-time constant
|
||||
group_x25519,
|
||||
^~~~~~~~~~~~
|
||||
|
||||
This reworks the array definition of indirection through group
|
||||
IDs (gnutls_group_t, i.e., integer).
|
||||
|
||||
This also makes pqc-hybrid-kx test more exhaustive.
|
||||
|
||||
Signed-off-by: Daiki Ueno <ueno@gnu.org>
|
||||
Upstream: https://gitlab.com/gnutls/gnutls/-/commit/9cc9d5556d258d23a399abfe45715773e719d134
|
||||
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
|
||||
---
|
||||
lib/algorithms.h | 7 ++
|
||||
lib/algorithms/groups.c | 161 ++++++++++++++++++++------------
|
||||
lib/ext/key_share.c | 81 ++++++++++++----
|
||||
lib/ext/supported_groups.c | 45 +++++----
|
||||
lib/gnutls_int.h | 8 +-
|
||||
lib/includes/gnutls/gnutls.h.in | 4 +-
|
||||
lib/priority.c | 25 ++---
|
||||
lib/session.c | 6 +-
|
||||
tests/pqc-hybrid-kx.sh | 101 +++++++++++++++++---
|
||||
9 files changed, 315 insertions(+), 123 deletions(-)
|
||||
|
||||
diff --git a/lib/algorithms.h b/lib/algorithms.h
|
||||
index 2e1b694c6..c4af571ce 100644
|
||||
--- a/lib/algorithms.h
|
||||
+++ b/lib/algorithms.h
|
||||
@@ -55,6 +55,9 @@
|
||||
#define IS_KEM(x) \
|
||||
(((x) == GNUTLS_PK_MLKEM768) || ((x) == GNUTLS_PK_EXP_KYBER768))
|
||||
|
||||
+
|
||||
+#define IS_GROUP_HYBRID(group) ((group)->ids[0] != GNUTLS_GROUP_INVALID)
|
||||
+
|
||||
#define SIG_SEM_PRE_TLS12 (1 << 1)
|
||||
#define SIG_SEM_TLS13 (1 << 2)
|
||||
#define SIG_SEM_DEFAULT (SIG_SEM_PRE_TLS12 | SIG_SEM_TLS13)
|
||||
@@ -493,6 +496,10 @@ const gnutls_group_entry_st *_gnutls_tls_id_to_group(unsigned num);
|
||||
const gnutls_group_entry_st *_gnutls_id_to_group(unsigned id);
|
||||
gnutls_group_t _gnutls_group_get_id(const char *name);
|
||||
|
||||
+int _gnutls_group_expand(
|
||||
+ const gnutls_group_entry_st *group,
|
||||
+ const gnutls_group_entry_st *subgroups[MAX_HYBRID_GROUPS + 1]);
|
||||
+
|
||||
gnutls_ecc_curve_t _gnutls_ecc_bits_to_curve(gnutls_pk_algorithm_t pk,
|
||||
int bits);
|
||||
#define MAX_ECC_CURVE_SIZE 66
|
||||
diff --git a/lib/algorithms/groups.c b/lib/algorithms/groups.c
|
||||
index 88d0cf630..2fbe7b8ec 100644
|
||||
--- a/lib/algorithms/groups.c
|
||||
+++ b/lib/algorithms/groups.c
|
||||
@@ -30,30 +30,6 @@
|
||||
/* Supported ECC curves
|
||||
*/
|
||||
|
||||
-#ifdef HAVE_LIBOQS
|
||||
-static const gnutls_group_entry_st group_mlkem768 = {
|
||||
- .name = "MLKEM768",
|
||||
- .id = GNUTLS_GROUP_INVALID,
|
||||
- .curve = GNUTLS_ECC_CURVE_INVALID,
|
||||
- .pk = GNUTLS_PK_MLKEM768,
|
||||
-};
|
||||
-
|
||||
-static const gnutls_group_entry_st group_kyber768 = {
|
||||
- .name = "KYBER768",
|
||||
- .id = GNUTLS_GROUP_INVALID,
|
||||
- .curve = GNUTLS_ECC_CURVE_INVALID,
|
||||
- .pk = GNUTLS_PK_EXP_KYBER768,
|
||||
-};
|
||||
-#endif
|
||||
-
|
||||
-static const gnutls_group_entry_st group_x25519 = {
|
||||
- .name = "X25519",
|
||||
- .id = GNUTLS_GROUP_X25519,
|
||||
- .curve = GNUTLS_ECC_CURVE_X25519,
|
||||
- .tls_id = 29,
|
||||
- .pk = GNUTLS_PK_ECDH_X25519,
|
||||
-};
|
||||
-
|
||||
static const gnutls_group_entry_st supported_groups[] = {
|
||||
{
|
||||
.name = "SECP192R1",
|
||||
@@ -90,7 +66,13 @@ static const gnutls_group_entry_st supported_groups[] = {
|
||||
.tls_id = 25,
|
||||
.pk = GNUTLS_PK_ECDSA,
|
||||
},
|
||||
- group_x25519,
|
||||
+ {
|
||||
+ .name = "X25519",
|
||||
+ .id = GNUTLS_GROUP_X25519,
|
||||
+ .curve = GNUTLS_ECC_CURVE_X25519,
|
||||
+ .tls_id = 29,
|
||||
+ .pk = GNUTLS_PK_ECDH_X25519,
|
||||
+ },
|
||||
#ifdef ENABLE_GOST
|
||||
/* draft-smyshlyaev-tls12-gost-suites-06, Section 6 */
|
||||
{
|
||||
@@ -191,24 +173,33 @@ static const gnutls_group_entry_st supported_groups[] = {
|
||||
.tls_id = 0x104 },
|
||||
#endif
|
||||
#ifdef HAVE_LIBOQS
|
||||
+ {
|
||||
+ .name = "MLKEM768",
|
||||
+ .id = GNUTLS_GROUP_EXP_MLKEM768,
|
||||
+ .pk = GNUTLS_PK_MLKEM768,
|
||||
+ /* absense of .tls_id means that this group alone cannot be used in TLS */
|
||||
+ },
|
||||
+ {
|
||||
+ .name = "KYBER768",
|
||||
+ .id = GNUTLS_GROUP_EXP_KYBER768,
|
||||
+ .pk = GNUTLS_PK_EXP_KYBER768,
|
||||
+ /* absense of .tls_id means that this group alone cannot be used in TLS */
|
||||
+ },
|
||||
{ .name = "SECP256R1-MLKEM768",
|
||||
.id = GNUTLS_GROUP_EXP_SECP256R1_MLKEM768,
|
||||
- .curve = GNUTLS_ECC_CURVE_SECP256R1,
|
||||
- .pk = GNUTLS_PK_ECDSA,
|
||||
- .tls_id = 0x11EB,
|
||||
- .next = &group_mlkem768 },
|
||||
+ .ids = { GNUTLS_GROUP_SECP256R1, GNUTLS_GROUP_EXP_MLKEM768,
|
||||
+ GNUTLS_GROUP_INVALID },
|
||||
+ .tls_id = 0x11EB },
|
||||
{ .name = "X25519-MLKEM768",
|
||||
.id = GNUTLS_GROUP_EXP_X25519_MLKEM768,
|
||||
- .curve = GNUTLS_ECC_CURVE_INVALID,
|
||||
- .pk = GNUTLS_PK_MLKEM768,
|
||||
- .tls_id = 0x11EC,
|
||||
- .next = &group_x25519 },
|
||||
+ .ids = { GNUTLS_GROUP_EXP_MLKEM768, GNUTLS_GROUP_X25519,
|
||||
+ GNUTLS_GROUP_INVALID },
|
||||
+ .tls_id = 0x11EC },
|
||||
{ .name = "X25519-KYBER768",
|
||||
.id = GNUTLS_GROUP_EXP_X25519_KYBER768,
|
||||
- .curve = GNUTLS_ECC_CURVE_X25519,
|
||||
- .pk = GNUTLS_PK_ECDH_X25519,
|
||||
- .tls_id = 0x6399,
|
||||
- .next = &group_kyber768 },
|
||||
+ .ids = { GNUTLS_GROUP_X25519, GNUTLS_GROUP_EXP_KYBER768,
|
||||
+ GNUTLS_GROUP_INVALID },
|
||||
+ .tls_id = 0x6399 },
|
||||
#endif
|
||||
{ 0, 0, 0 }
|
||||
};
|
||||
@@ -221,14 +212,46 @@ static const gnutls_group_entry_st supported_groups[] = {
|
||||
} \
|
||||
}
|
||||
|
||||
+static inline const gnutls_group_entry_st *group_to_entry(gnutls_group_t group)
|
||||
+{
|
||||
+ if (group == 0)
|
||||
+ return NULL;
|
||||
+
|
||||
+ GNUTLS_GROUP_LOOP(if (p->id == group) { return p; });
|
||||
+
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
+static inline bool
|
||||
+group_is_supported_standalone(const gnutls_group_entry_st *group)
|
||||
+{
|
||||
+ return group->pk != 0 && _gnutls_pk_exists(group->pk) &&
|
||||
+ (group->curve == 0 ||
|
||||
+ _gnutls_ecc_curve_is_supported(group->curve));
|
||||
+}
|
||||
+
|
||||
+static inline bool group_is_supported(const gnutls_group_entry_st *group)
|
||||
+{
|
||||
+ if (!IS_GROUP_HYBRID(group))
|
||||
+ return group_is_supported_standalone(group);
|
||||
+
|
||||
+ for (size_t i = 0;
|
||||
+ i < MAX_HYBRID_GROUPS && group->ids[i] != GNUTLS_GROUP_INVALID;
|
||||
+ i++) {
|
||||
+ const gnutls_group_entry_st *p = group_to_entry(group->ids[i]);
|
||||
+ if (!p || !group_is_supported_standalone(p))
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ return true;
|
||||
+}
|
||||
+
|
||||
/* Returns the TLS id of the given curve
|
||||
*/
|
||||
const gnutls_group_entry_st *_gnutls_tls_id_to_group(unsigned num)
|
||||
{
|
||||
GNUTLS_GROUP_LOOP(
|
||||
- if (p->tls_id == num &&
|
||||
- (p->curve == 0 ||
|
||||
- _gnutls_ecc_curve_is_supported(p->curve))) { return p; });
|
||||
+ if (p->tls_id == num && group_is_supported(p)) { return p; });
|
||||
|
||||
return NULL;
|
||||
}
|
||||
@@ -239,10 +262,7 @@ const gnutls_group_entry_st *_gnutls_id_to_group(unsigned id)
|
||||
return NULL;
|
||||
|
||||
GNUTLS_GROUP_LOOP(
|
||||
- if (p->id == id && (p->curve == 0 ||
|
||||
- _gnutls_ecc_curve_is_supported(p->curve))) {
|
||||
- return p;
|
||||
- });
|
||||
+ if (p->id == id && group_is_supported(p)) { return p; });
|
||||
|
||||
return NULL;
|
||||
}
|
||||
@@ -261,27 +281,17 @@ const gnutls_group_entry_st *_gnutls_id_to_group(unsigned id)
|
||||
**/
|
||||
const gnutls_group_t *gnutls_group_list(void)
|
||||
{
|
||||
- static gnutls_group_t groups[MAX_ALGOS] = { 0 };
|
||||
+ static gnutls_group_t groups[MAX_ALGOS + 1] = { 0 };
|
||||
|
||||
if (groups[0] == 0) {
|
||||
- int i = 0;
|
||||
+ size_t i = 0;
|
||||
|
||||
- const gnutls_group_entry_st *p;
|
||||
-
|
||||
- for (p = supported_groups; p->name != NULL; p++) {
|
||||
- const gnutls_group_entry_st *pp;
|
||||
-
|
||||
- for (pp = p; pp != NULL; pp = pp->next) {
|
||||
- if ((pp->curve != 0 &&
|
||||
- !_gnutls_ecc_curve_is_supported(
|
||||
- pp->curve)) ||
|
||||
- (pp->pk != 0 && !_gnutls_pk_exists(pp->pk)))
|
||||
- break;
|
||||
- }
|
||||
- if (pp == NULL)
|
||||
+ for (const gnutls_group_entry_st *p = supported_groups;
|
||||
+ p->name != NULL; p++) {
|
||||
+ if (group_is_supported(p))
|
||||
groups[i++] = p->id;
|
||||
}
|
||||
- groups[i++] = 0;
|
||||
+ groups[i++] = GNUTLS_GROUP_INVALID;
|
||||
}
|
||||
|
||||
return groups;
|
||||
@@ -344,3 +354,34 @@ const char *gnutls_group_get_name(gnutls_group_t group)
|
||||
|
||||
return NULL;
|
||||
}
|
||||
+
|
||||
+/* Expand GROUP into hybrid SUBGROUPS if any, otherwise an array
|
||||
+ * containing the GROUP itself. The result will be written to
|
||||
+ * SUBGROUPS, which will be NUL-terminated.
|
||||
+ */
|
||||
+int _gnutls_group_expand(
|
||||
+ const gnutls_group_entry_st *group,
|
||||
+ const gnutls_group_entry_st *subgroups[MAX_HYBRID_GROUPS + 1])
|
||||
+{
|
||||
+ size_t pos = 0;
|
||||
+
|
||||
+ if (IS_GROUP_HYBRID(group)) {
|
||||
+ for (size_t i = 0; i < MAX_HYBRID_GROUPS &&
|
||||
+ group->ids[i] != GNUTLS_GROUP_INVALID;
|
||||
+ i++) {
|
||||
+ const gnutls_group_entry_st *p =
|
||||
+ group_to_entry(group->ids[i]);
|
||||
+ /* This shouldn't happen, as GROUP is assumed
|
||||
+ * to be supported before calling this
|
||||
+ * function. */
|
||||
+ if (unlikely(!p))
|
||||
+ return gnutls_assert_val(
|
||||
+ GNUTLS_E_INTERNAL_ERROR);
|
||||
+ subgroups[pos++] = p;
|
||||
+ }
|
||||
+ } else {
|
||||
+ subgroups[pos++] = group;
|
||||
+ }
|
||||
+ subgroups[pos] = NULL;
|
||||
+ return 0;
|
||||
+}
|
||||
diff --git a/lib/ext/key_share.c b/lib/ext/key_share.c
|
||||
index 574521157..8fbe2d2bd 100644
|
||||
--- a/lib/ext/key_share.c
|
||||
+++ b/lib/ext/key_share.c
|
||||
@@ -232,6 +232,9 @@ static int client_gen_key_share(gnutls_session_t session,
|
||||
gnutls_buffer_st *extdata)
|
||||
{
|
||||
unsigned int length_pos;
|
||||
+ const gnutls_group_entry_st *groups[MAX_HYBRID_GROUPS + 1] = {
|
||||
+ NULL,
|
||||
+ };
|
||||
int ret;
|
||||
|
||||
_gnutls_handshake_log("EXT[%p]: sending key share for %s\n", session,
|
||||
@@ -247,8 +250,12 @@ static int client_gen_key_share(gnutls_session_t session,
|
||||
if (ret < 0)
|
||||
return gnutls_assert_val(ret);
|
||||
|
||||
- for (const gnutls_group_entry_st *p = group; p != NULL; p = p->next) {
|
||||
- ret = client_gen_key_share_single(session, p, extdata);
|
||||
+ ret = _gnutls_group_expand(group, groups);
|
||||
+ if (ret < 0)
|
||||
+ return gnutls_assert_val(ret);
|
||||
+
|
||||
+ for (size_t i = 0; groups[i]; i++) {
|
||||
+ ret = client_gen_key_share_single(session, groups[i], extdata);
|
||||
if (ret < 0)
|
||||
return gnutls_assert_val(ret);
|
||||
}
|
||||
@@ -345,6 +352,9 @@ static int server_gen_key_share(gnutls_session_t session,
|
||||
gnutls_buffer_st *extdata)
|
||||
{
|
||||
unsigned int length_pos;
|
||||
+ const gnutls_group_entry_st *groups[MAX_HYBRID_GROUPS + 1] = {
|
||||
+ NULL,
|
||||
+ };
|
||||
int ret;
|
||||
|
||||
_gnutls_handshake_log("EXT[%p]: sending key share for %s\n", session,
|
||||
@@ -360,8 +370,12 @@ static int server_gen_key_share(gnutls_session_t session,
|
||||
if (ret < 0)
|
||||
return gnutls_assert_val(ret);
|
||||
|
||||
- for (const gnutls_group_entry_st *p = group; p != NULL; p = p->next) {
|
||||
- ret = server_gen_key_share_single(session, p, extdata);
|
||||
+ ret = _gnutls_group_expand(group, groups);
|
||||
+ if (ret < 0)
|
||||
+ return gnutls_assert_val(ret);
|
||||
+
|
||||
+ for (size_t i = 0; groups[i]; i++) {
|
||||
+ ret = server_gen_key_share_single(session, groups[i], extdata);
|
||||
if (ret < 0)
|
||||
return gnutls_assert_val(ret);
|
||||
}
|
||||
@@ -594,13 +608,19 @@ static int server_use_key_share(gnutls_session_t session,
|
||||
const uint8_t *data, size_t data_size)
|
||||
{
|
||||
gnutls_buffer_st buffer;
|
||||
+ const gnutls_group_entry_st *groups[MAX_HYBRID_GROUPS + 1] = {
|
||||
+ NULL,
|
||||
+ };
|
||||
+ int ret;
|
||||
|
||||
_gnutls_ro_buffer_init(&buffer, data, data_size);
|
||||
|
||||
- for (const gnutls_group_entry_st *p = group; p != NULL; p = p->next) {
|
||||
- int ret;
|
||||
+ ret = _gnutls_group_expand(group, groups);
|
||||
+ if (ret < 0)
|
||||
+ return gnutls_assert_val(ret);
|
||||
|
||||
- ret = server_use_key_share_single(session, p, &buffer);
|
||||
+ for (size_t i = 0; groups[i]; i++) {
|
||||
+ ret = server_use_key_share_single(session, groups[i], &buffer);
|
||||
if (ret < 0)
|
||||
return gnutls_assert_val(ret);
|
||||
}
|
||||
@@ -775,13 +795,19 @@ static int client_use_key_share(gnutls_session_t session,
|
||||
const uint8_t *data, size_t data_size)
|
||||
{
|
||||
gnutls_buffer_st buffer;
|
||||
+ const gnutls_group_entry_st *groups[MAX_HYBRID_GROUPS + 1] = {
|
||||
+ NULL,
|
||||
+ };
|
||||
+ int ret;
|
||||
|
||||
_gnutls_ro_buffer_init(&buffer, data, data_size);
|
||||
|
||||
- for (const gnutls_group_entry_st *p = group; p != NULL; p = p->next) {
|
||||
- int ret;
|
||||
+ ret = _gnutls_group_expand(group, groups);
|
||||
+ if (ret < 0)
|
||||
+ return gnutls_assert_val(ret);
|
||||
|
||||
- ret = client_use_key_share_single(session, p, &buffer);
|
||||
+ for (size_t i = 0; groups[i]; i++) {
|
||||
+ ret = client_use_key_share_single(session, groups[i], &buffer);
|
||||
if (ret < 0)
|
||||
return gnutls_assert_val(ret);
|
||||
}
|
||||
@@ -958,18 +984,39 @@ static int key_share_recv_params(gnutls_session_t session, const uint8_t *data,
|
||||
return 0;
|
||||
}
|
||||
|
||||
+static inline bool pk_types_overlap_single(const gnutls_group_entry_st *a,
|
||||
+ const gnutls_group_entry_st *b)
|
||||
+{
|
||||
+ return a->pk == b->pk || (IS_ECDHX(a->pk) && IS_ECDHX(b->pk)) ||
|
||||
+ (IS_KEM(a->pk) && IS_KEM(b->pk));
|
||||
+}
|
||||
+
|
||||
static inline bool pk_types_overlap(const gnutls_group_entry_st *a,
|
||||
const gnutls_group_entry_st *b)
|
||||
{
|
||||
- const gnutls_group_entry_st *pa;
|
||||
+ const gnutls_group_entry_st *sa[MAX_HYBRID_GROUPS + 1] = {
|
||||
+ NULL,
|
||||
+ };
|
||||
+ const gnutls_group_entry_st *sb[MAX_HYBRID_GROUPS + 1] = {
|
||||
+ NULL,
|
||||
+ };
|
||||
+ int ret;
|
||||
+
|
||||
+ ret = _gnutls_group_expand(a, sa);
|
||||
+ if (ret < 0) {
|
||||
+ gnutls_assert();
|
||||
+ return false;
|
||||
+ }
|
||||
|
||||
- for (pa = a; pa != NULL; pa = pa->next) {
|
||||
- const gnutls_group_entry_st *pb;
|
||||
+ ret = _gnutls_group_expand(b, sb);
|
||||
+ if (ret < 0) {
|
||||
+ gnutls_assert();
|
||||
+ return false;
|
||||
+ }
|
||||
|
||||
- for (pb = b; pb != NULL; pb = pb->next) {
|
||||
- if (pa->pk == pb->pk ||
|
||||
- (IS_ECDHX(pa->pk) && IS_ECDHX(pb->pk)) ||
|
||||
- (IS_KEM(pa->pk) && IS_KEM(pb->pk)))
|
||||
+ for (size_t i = 0; sa[i]; i++) {
|
||||
+ for (size_t j = 0; sb[j]; j++) {
|
||||
+ if (pk_types_overlap_single(sa[i], sb[j]))
|
||||
return true;
|
||||
}
|
||||
}
|
||||
diff --git a/lib/ext/supported_groups.c b/lib/ext/supported_groups.c
|
||||
index 254ec4882..4c31d2f8f 100644
|
||||
--- a/lib/ext/supported_groups.c
|
||||
+++ b/lib/ext/supported_groups.c
|
||||
@@ -106,9 +106,9 @@ static int _gnutls_supported_groups_recv_params(gnutls_session_t session,
|
||||
unsigned min_dh;
|
||||
unsigned j;
|
||||
int serv_ec_idx, serv_dh_idx,
|
||||
- serv_kem_idx; /* index in server's priority listing */
|
||||
+ serv_hybrid_idx; /* index in server's priority listing */
|
||||
int cli_ec_pos, cli_dh_pos,
|
||||
- cli_kem_pos; /* position in listing sent by client */
|
||||
+ cli_hybrid_pos; /* position in listing sent by client */
|
||||
|
||||
if (session->security_parameters.entity == GNUTLS_CLIENT) {
|
||||
/* A client shouldn't receive this extension in TLS1.2. It is
|
||||
@@ -134,8 +134,8 @@ static int _gnutls_supported_groups_recv_params(gnutls_session_t session,
|
||||
/* we figure what is the minimum DH allowed for this session, if any */
|
||||
min_dh = get_min_dh(session);
|
||||
|
||||
- serv_ec_idx = serv_dh_idx = serv_kem_idx = -1;
|
||||
- cli_ec_pos = cli_dh_pos = cli_kem_pos = -1;
|
||||
+ serv_ec_idx = serv_dh_idx = serv_hybrid_idx = -1;
|
||||
+ cli_ec_pos = cli_dh_pos = cli_hybrid_pos = -1;
|
||||
|
||||
/* This extension is being processed prior to a ciphersuite being selected,
|
||||
* so we cannot rely on ciphersuite information. */
|
||||
@@ -180,14 +180,15 @@ static int _gnutls_supported_groups_recv_params(gnutls_session_t session,
|
||||
break;
|
||||
serv_ec_idx = j;
|
||||
cli_ec_pos = i;
|
||||
- } else if (IS_KEM(group->pk)) {
|
||||
- if (serv_kem_idx !=
|
||||
+ } else if (IS_GROUP_HYBRID(
|
||||
+ group)) {
|
||||
+ if (serv_hybrid_idx !=
|
||||
-1 &&
|
||||
(int)j >
|
||||
- serv_kem_idx)
|
||||
+ serv_hybrid_idx)
|
||||
break;
|
||||
- serv_kem_idx = j;
|
||||
- cli_kem_pos = i;
|
||||
+ serv_hybrid_idx = j;
|
||||
+ cli_hybrid_pos = i;
|
||||
}
|
||||
} else {
|
||||
if (group->pk == GNUTLS_PK_DH) {
|
||||
@@ -200,11 +201,13 @@ static int _gnutls_supported_groups_recv_params(gnutls_session_t session,
|
||||
break;
|
||||
cli_ec_pos = i;
|
||||
serv_ec_idx = j;
|
||||
- } else if (IS_KEM(group->pk)) {
|
||||
- if (cli_kem_pos != -1)
|
||||
+ } else if (IS_GROUP_HYBRID(
|
||||
+ group)) {
|
||||
+ if (cli_hybrid_pos !=
|
||||
+ -1)
|
||||
break;
|
||||
- cli_kem_pos = i;
|
||||
- serv_kem_idx = j;
|
||||
+ cli_hybrid_pos = i;
|
||||
+ serv_hybrid_idx = j;
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -212,7 +215,7 @@ static int _gnutls_supported_groups_recv_params(gnutls_session_t session,
|
||||
}
|
||||
}
|
||||
|
||||
- /* serv_{dh,ec,kem}_idx contain the index of the groups we want to use.
|
||||
+ /* serv_{dh,ec,hybrid}_idx contain the index of the groups we want to use.
|
||||
*/
|
||||
if (serv_dh_idx != -1) {
|
||||
session->internals.cand_dh_group =
|
||||
@@ -236,18 +239,20 @@ static int _gnutls_supported_groups_recv_params(gnutls_session_t session,
|
||||
}
|
||||
}
|
||||
|
||||
- /* KEM can only be used in TLS 1.3, where no separation from
|
||||
- * ECDH and DH, and thus only cand_group is set here.
|
||||
+ /* PQC hybrid key exchange groups can only be used in
|
||||
+ * TLS 1.3, where no distinction between ECDH and DH
|
||||
+ * in the group definitions, and thus only cand_group
|
||||
+ * is set here.
|
||||
*/
|
||||
- if (serv_kem_idx != -1) {
|
||||
+ if (serv_hybrid_idx != -1) {
|
||||
if (session->internals.cand_group == NULL ||
|
||||
(session->internals.priorities->server_precedence &&
|
||||
- serv_kem_idx < MIN(serv_ec_idx, serv_dh_idx)) ||
|
||||
+ serv_hybrid_idx < MIN(serv_ec_idx, serv_dh_idx)) ||
|
||||
(!session->internals.priorities->server_precedence &&
|
||||
- cli_kem_pos < MIN(cli_ec_pos, cli_dh_pos))) {
|
||||
+ cli_hybrid_pos < MIN(cli_ec_pos, cli_dh_pos))) {
|
||||
session->internals.cand_group =
|
||||
session->internals.priorities->groups
|
||||
- .entry[serv_kem_idx];
|
||||
+ .entry[serv_hybrid_idx];
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
|
||||
index fb2cacb54..01ef59729 100644
|
||||
--- a/lib/gnutls_int.h
|
||||
+++ b/lib/gnutls_int.h
|
||||
@@ -756,6 +756,8 @@ typedef struct gnutls_cipher_suite_entry_st {
|
||||
gnutls_mac_algorithm_t prf;
|
||||
} gnutls_cipher_suite_entry_st;
|
||||
|
||||
+#define MAX_HYBRID_GROUPS 2
|
||||
+
|
||||
typedef struct gnutls_group_entry_st {
|
||||
const char *name;
|
||||
gnutls_group_t id;
|
||||
@@ -765,8 +767,12 @@ typedef struct gnutls_group_entry_st {
|
||||
const unsigned *q_bits;
|
||||
gnutls_ecc_curve_t curve;
|
||||
gnutls_pk_algorithm_t pk;
|
||||
+ gnutls_group_t ids[MAX_HYBRID_GROUPS + 1]; /* IDs of subgroups
|
||||
+ * comprising a
|
||||
+ * hybrid group,
|
||||
+ * terminated with
|
||||
+ * GNUTLS_GROUP_INVALID */
|
||||
unsigned tls_id; /* The RFC4492 namedCurve ID or TLS 1.3 group ID */
|
||||
- const struct gnutls_group_entry_st *next;
|
||||
} gnutls_group_entry_st;
|
||||
|
||||
#define GNUTLS_MAC_FLAG_PREIMAGE_INSECURE \
|
||||
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
|
||||
index 8b3bb5213..1e44fdd91 100644
|
||||
--- a/lib/includes/gnutls/gnutls.h.in
|
||||
+++ b/lib/includes/gnutls/gnutls.h.in
|
||||
@@ -1147,8 +1147,10 @@ typedef enum {
|
||||
GNUTLS_GROUP_EXP_X25519_KYBER768 = 512,
|
||||
GNUTLS_GROUP_EXP_SECP256R1_MLKEM768 = 513,
|
||||
GNUTLS_GROUP_EXP_X25519_MLKEM768 = 514,
|
||||
+ GNUTLS_GROUP_EXP_KYBER768 = 515,
|
||||
+ GNUTLS_GROUP_EXP_MLKEM768 = 516,
|
||||
GNUTLS_GROUP_EXP_MIN = GNUTLS_GROUP_EXP_X25519_KYBER768,
|
||||
- GNUTLS_GROUP_EXP_MAX = GNUTLS_GROUP_EXP_X25519_MLKEM768
|
||||
+ GNUTLS_GROUP_EXP_MAX = GNUTLS_GROUP_EXP_MLKEM768
|
||||
} gnutls_group_t;
|
||||
|
||||
/* macros to allow specifying a specific curve in gnutls_privkey_generate()
|
||||
diff --git a/lib/priority.c b/lib/priority.c
|
||||
index ac4ff2d8c..479dbccd6 100644
|
||||
--- a/lib/priority.c
|
||||
+++ b/lib/priority.c
|
||||
@@ -2566,7 +2566,7 @@ static void add_dh(gnutls_priority_t priority_cache)
|
||||
}
|
||||
}
|
||||
|
||||
-static void add_kem(gnutls_priority_t priority_cache)
|
||||
+static void add_hybrid(gnutls_priority_t priority_cache)
|
||||
{
|
||||
const gnutls_group_entry_st *ge;
|
||||
unsigned i;
|
||||
@@ -2579,7 +2579,7 @@ static void add_kem(gnutls_priority_t priority_cache)
|
||||
sizeof(priority_cache->groups.entry) /
|
||||
sizeof(priority_cache->groups.entry[0])) {
|
||||
/* do not add groups which do not correspond to enabled ciphersuites */
|
||||
- if (!IS_KEM(ge->pk))
|
||||
+ if (!IS_GROUP_HYBRID(ge))
|
||||
continue;
|
||||
priority_cache->groups
|
||||
.entry[priority_cache->groups.size++] = ge;
|
||||
@@ -2598,7 +2598,7 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache)
|
||||
const gnutls_sign_entry_st *se;
|
||||
unsigned have_ec = 0;
|
||||
unsigned have_dh = 0;
|
||||
- unsigned have_kem = 0;
|
||||
+ unsigned have_hybrid = 0;
|
||||
unsigned tls_sig_sem = 0;
|
||||
const version_entry_st *tlsmax = NULL, *vers;
|
||||
const version_entry_st *dtlsmax = NULL;
|
||||
@@ -2807,9 +2807,9 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache)
|
||||
priority_cache->cs.entry[priority_cache->cs.size++] =
|
||||
ce;
|
||||
|
||||
- if (!have_kem) {
|
||||
- have_kem = 1;
|
||||
- add_kem(priority_cache);
|
||||
+ if (!have_hybrid) {
|
||||
+ have_hybrid = 1;
|
||||
+ add_hybrid(priority_cache);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2851,8 +2851,8 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache)
|
||||
}
|
||||
}
|
||||
|
||||
- if (have_tls13 && (!have_ec || !have_dh || !have_kem)) {
|
||||
- /* scan groups to determine have_{ec,dh,kem} */
|
||||
+ if (have_tls13 && (!have_ec || !have_dh || !have_hybrid)) {
|
||||
+ /* scan groups to determine have_{ec,dh,hybrid} */
|
||||
for (i = 0; i < priority_cache->_supported_ecc.num_priorities;
|
||||
i++) {
|
||||
const gnutls_group_entry_st *ge;
|
||||
@@ -2865,12 +2865,13 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache)
|
||||
} else if (ge->prime && !have_dh) {
|
||||
add_dh(priority_cache);
|
||||
have_dh = 1;
|
||||
- } else if (IS_KEM(ge->pk) && !have_kem) {
|
||||
- add_kem(priority_cache);
|
||||
- have_kem = 1;
|
||||
+ } else if (IS_GROUP_HYBRID(ge) &&
|
||||
+ !have_hybrid) {
|
||||
+ add_hybrid(priority_cache);
|
||||
+ have_hybrid = 1;
|
||||
}
|
||||
|
||||
- if (have_dh && have_ec && have_kem)
|
||||
+ if (have_dh && have_ec && have_hybrid)
|
||||
break;
|
||||
}
|
||||
}
|
||||
diff --git a/lib/session.c b/lib/session.c
|
||||
index a9049a464..7fcbe4fb4 100644
|
||||
--- a/lib/session.c
|
||||
+++ b/lib/session.c
|
||||
@@ -415,7 +415,11 @@ char *gnutls_session_get_desc(gnutls_session_t session)
|
||||
snprintf(kx_name, sizeof(kx_name), "(PSK)");
|
||||
}
|
||||
} else if (group && sign_str) {
|
||||
- if (group->curve)
|
||||
+ if (IS_GROUP_HYBRID(group))
|
||||
+ snprintf(kx_name, sizeof(kx_name),
|
||||
+ "(HYBRID-%s)-(%s)", group_name,
|
||||
+ sign_str);
|
||||
+ else if (group->curve)
|
||||
snprintf(kx_name, sizeof(kx_name),
|
||||
"(ECDHE-%s)-(%s)", group_name,
|
||||
sign_str);
|
||||
diff --git a/tests/pqc-hybrid-kx.sh b/tests/pqc-hybrid-kx.sh
|
||||
index da936cf04..4984cd4b4 100644
|
||||
--- a/tests/pqc-hybrid-kx.sh
|
||||
+++ b/tests/pqc-hybrid-kx.sh
|
||||
@@ -33,34 +33,113 @@
|
||||
|
||||
. "${srcdir}/scripts/common.sh"
|
||||
|
||||
+# First check any mismatch in the gnutls-cli --list
|
||||
if ! "${CLI}" --list | grep '^Groups: .*GROUP-X25519-KYBER768.*' >/dev/null; then
|
||||
if "${CLI}" --list | grep '^Public Key Systems: .*KYBER768.*' >/dev/null; then
|
||||
- fail "KYBER768 is in Public Key Systems, while GROUP-X25519-KYBER768 is NOT in Groups"
|
||||
+ fail '' 'KYBER768 is in Public Key Systems, while GROUP-X25519-KYBER768 is NOT in Groups'
|
||||
fi
|
||||
- exit 77
|
||||
else
|
||||
if ! "${CLI}" --list | grep '^Public Key Systems: .*KYBER768.*' >/dev/null; then
|
||||
- fail "KYBER768 is NOT in Public Key Systems, while GROUP-X25519-KYBER768 is in Groups"
|
||||
+ fail '' 'KYBER768 is NOT in Public Key Systems, while GROUP-X25519-KYBER768 is in Groups'
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
+if ! "${CLI}" --list | grep '^Groups: .*GROUP-\(SECP256R1\|X25519\)-MLKEM768.*' >/dev/null; then
|
||||
+ if "${CLI}" --list | grep '^Public Key Systems: .*ML-KEM-768.*' >/dev/null; then
|
||||
+ fail '' 'ML-KEM-768 is in Public Key Systems, while GROUP-SECP256R1-MLKEM768 or GROUP-X25519-MLKEM768 is NOT in Groups'
|
||||
+ fi
|
||||
+else
|
||||
+ if ! "${CLI}" --list | grep '^Public Key Systems: .*ML-KEM-768.*' >/dev/null; then
|
||||
+ fail '' 'ML-KEM-768 is NOT in Public Key Systems, while GROUP-SECP256R1-MLKEM768 or GROUP-X25519-MLKEM768 is in Groups'
|
||||
fi
|
||||
fi
|
||||
|
||||
+# If none of those hybrid groups is supported, skip the test
|
||||
+if ! "${CLI}" --list | grep '^Groups: .*GROUP-\(X25519-KYBER768\|SECP256R1-MLKEM768\|X25519-MLKEM768\).*' >/dev/null; then
|
||||
+ exit 77
|
||||
+fi
|
||||
+
|
||||
testdir=`create_testdir pqc-hybrid-kx`
|
||||
|
||||
KEY="$srcdir/../doc/credentials/x509/key-ecc.pem"
|
||||
CERT="$srcdir/../doc/credentials/x509/cert-ecc.pem"
|
||||
CACERT="$srcdir/../doc/credentials/x509/ca.pem"
|
||||
|
||||
-eval "${GETPORT}"
|
||||
-launch_server --echo --priority NORMAL:-GROUP-ALL:+GROUP-X25519-KYBER768 --x509keyfile="$KEY" --x509certfile="$CERT"
|
||||
-PID=$!
|
||||
-wait_server ${PID}
|
||||
+# Test all supported hybrid groups
|
||||
+for group in X25519-KYBER768 SECP256R1-MLKEM768 X25519-MLKEM768; do
|
||||
+ if ! "${CLI}" --list | grep "^Groups: .*GROUP-$group.*" >/dev/null; then
|
||||
+ echo "$group is not supported, skipping" >&2
|
||||
+ continue
|
||||
+ fi
|
||||
+
|
||||
+ eval "${GETPORT}"
|
||||
+ launch_server --echo --priority "NORMAL:-GROUP-ALL:+GROUP-$group" --x509keyfile="$KEY" --x509certfile="$CERT"
|
||||
+ PID=$!
|
||||
+ wait_server ${PID}
|
||||
+
|
||||
+ ${VALGRIND} "${CLI}" -p "${PORT}" localhost --priority "NORMAL:-GROUP-ALL:+GROUP-$group" --x509cafile="$CACERT" --logfile="$testdir/cli.log" </dev/null
|
||||
+ kill ${PID}
|
||||
+ wait
|
||||
+
|
||||
+ grep -- "- Description: (TLS1.3-X.509)-(HYBRID-$group)-(ECDSA-SECP256R1-SHA256)-(AES-256-GCM)" "$testdir/cli.log" || { echo "unexpected handshake description"; cat "$testdir/cli.log"; exit 1; }
|
||||
+done
|
||||
+
|
||||
+# KEM based groups cannot be used standalone
|
||||
+for group in KYBER768 MLKEM768; do
|
||||
+ if ! "${CLI}" --list | grep "^Groups: .*GROUP-$group.*" >/dev/null; then
|
||||
+ "$group is not supported, skipping"
|
||||
+ continue
|
||||
+ fi
|
||||
+
|
||||
+ eval "${GETPORT}"
|
||||
+ launch_server --echo --priority "NORMAL:-GROUP-ALL:+GROUP-$group" --x509keyfile="$KEY" --x509certfile="$CERT"
|
||||
+ PID=$!
|
||||
+ wait_server ${PID}
|
||||
+
|
||||
+ ${VALGRIND} "${CLI}" -p "${PORT}" localhost --priority "NORMAL:-GROUP-ALL:+GROUP-$group" --x509cafile="$CACERT" --logfile="$testdir/cli.log" </dev/null
|
||||
+ rc=$?
|
||||
+ kill ${PID}
|
||||
+ wait
|
||||
+
|
||||
+ if test $rc -eq 0; then
|
||||
+ fail '' 'Handshake succeeded with a standalone KEM group'
|
||||
+ fi
|
||||
+done
|
||||
+
|
||||
+# Check if disabling a curve will also disables hybrid groups with it
|
||||
+cat <<_EOF_ > "$testdir/test.config"
|
||||
+[overrides]
|
||||
+
|
||||
+disabled-curve = x25519
|
||||
+_EOF_
|
||||
+
|
||||
+for group in X25519-KYBER768 SECP256R1-MLKEM768 X25519-MLKEM768; do
|
||||
+ if ! "${CLI}" --list | grep "^Groups: .*GROUP-$group.*" >/dev/null; then
|
||||
+ echo "$group is not supported, skipping" >&2
|
||||
+ continue
|
||||
+ fi
|
||||
|
||||
-${VALGRIND} "${CLI}" -p "${PORT}" localhost --priority NORMAL:-GROUP-ALL:+GROUP-X25519-KYBER768 --x509cafile="$CACERT" --logfile="$testdir/cli.log" </dev/null
|
||||
+ eval "${GETPORT}"
|
||||
+ GNUTLS_SYSTEM_PRIORITY_FILE="$testdir/test.config" launch_server --echo --priority "NORMAL:-GROUP-ALL:+GROUP-$group" --x509keyfile="$KEY" --x509certfile="$CERT"
|
||||
+ PID=$!
|
||||
+ wait_server ${PID}
|
||||
|
||||
-kill ${PID}
|
||||
-wait
|
||||
+ ${VALGRIND} "${CLI}" -p "${PORT}" localhost --priority "NORMAL:-GROUP-ALL:+GROUP-$group" --x509cafile="$CACERT" --logfile="$testdir/cli.log" </dev/null
|
||||
+ rc=$?
|
||||
+ kill ${PID}
|
||||
+ wait
|
||||
|
||||
-grep -- '- Description: (TLS1.3-X.509)-(ECDHE-X25519-KYBER768)-(ECDSA-SECP256R1-SHA256)-(AES-256-GCM)' "$testdir/cli.log" || { echo "unexpected handshake description"; exit 1; }
|
||||
+ case "$group" in
|
||||
+ X25519*)
|
||||
+ if test $rc -eq 0; then
|
||||
+ fail '' 'Handshake succeeded with a hybrid group with X25519'
|
||||
+ fi
|
||||
+ ;;
|
||||
+ *)
|
||||
+ grep -- "- Description: (TLS1.3-X.509)-(HYBRID-$group)-(ECDSA-SECP256R1-SHA256)-(AES-256-GCM)" "$testdir/cli.log" || { echo "unexpected handshake description"; cat "$testdir/cli.log"; exit 1; }
|
||||
+ ;;
|
||||
+ esac
|
||||
+done
|
||||
|
||||
rm -rf "$testdir"
|
||||
exit 0
|
||||
--
|
||||
2.47.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.7.tar.xz.sig
|
||||
sha256 fe302f2b6ad5a564bcb3678eb61616413ed5277aaf8e7bf7cdb9a95a18d9f477 gnutls-3.8.7.tar.xz
|
||||
# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.8.tar.xz.sig
|
||||
sha256 ac4f020e583880b51380ed226e59033244bc536cad2623f2e26f5afa2939d8fb gnutls-3.8.8.tar.xz
|
||||
# Locally calculated
|
||||
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 doc/COPYING
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 doc/COPYING.LESSER
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
# When bumping, make sure *all* --without-libfoo-prefix options are in GNUTLS_CONF_OPTS
|
||||
GNUTLS_VERSION_MAJOR = 3.8
|
||||
GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).7
|
||||
GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).8
|
||||
GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz
|
||||
GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR)
|
||||
GNUTLS_LICENSE = LGPL-2.1+ (core library)
|
||||
@@ -62,11 +62,11 @@ HOST_GNUTLS_CONF_OPTS = \
|
||||
--without-tpm \
|
||||
--without-tpm2 \
|
||||
--disable-openssl-compatibility \
|
||||
--without-libbrotli \
|
||||
--without-brotli \
|
||||
--without-idn \
|
||||
--without-p11-kit \
|
||||
--without-zlib \
|
||||
--without-libzstd
|
||||
--without-zstd
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS_OPENSSL),y)
|
||||
GNUTLS_LICENSE += , GPL-3.0+ (gnutls-openssl library)
|
||||
@@ -77,10 +77,10 @@ GNUTLS_CONF_OPTS += --disable-openssl-compatibility
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BROTLI),y)
|
||||
GNUTLS_CONF_OPTS += --with-libbrotli
|
||||
GNUTLS_CONF_OPTS += --with-brotli
|
||||
GNUTLS_DEPENDENCIES += brotli
|
||||
else
|
||||
GNUTLS_CONF_OPTS += --without-libbrotli
|
||||
GNUTLS_CONF_OPTS += --without-brotli
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y)
|
||||
@@ -110,10 +110,10 @@ GNUTLS_CONF_OPTS += --without-zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZSTD),y)
|
||||
GNUTLS_CONF_OPTS += --with-libzstd
|
||||
GNUTLS_CONF_OPTS += --with-zstd
|
||||
GNUTLS_DEPENDENCIES += zstd
|
||||
else
|
||||
GNUTLS_CONF_OPTS += --without-libzstd
|
||||
GNUTLS_CONF_OPTS += --without-zstd
|
||||
endif
|
||||
|
||||
# Provide a default CA cert location
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# sha256 checksum from https://go.dev/dl/
|
||||
sha256 36930162a93df417d90bd22c6e14daff4705baac2b02418edda671cdfa9cd07f go1.23.2.src.tar.gz
|
||||
sha256 cb1ed4410f68d8be1156cee0a74fcfbdcd9bca377c83db3a9e1b07eebc6d71ef go1.23.2.linux-386.tar.gz
|
||||
sha256 542d3c1705f1c6a1c5a80d5dc62e2e45171af291e755d591c5e6531ef63b454e go1.23.2.linux-amd64.tar.gz
|
||||
sha256 f626cdd92fc21a88b31c1251f419c17782933a42903db87a174ce74eeecc66a9 go1.23.2.linux-arm64.tar.gz
|
||||
sha256 e3286bdde186077e65e961cbe18874d42a461e5b9c472c26572b8d4a98d15c40 go1.23.2.linux-armv6l.tar.gz
|
||||
sha256 c164ce7d894b10fd861d7d7b96f1dbea3f993663d9f0c30bc4f8ae3915db8b0c go1.23.2.linux-ppc64le.tar.gz
|
||||
sha256 de1f94d7dd3548ba3036de1ea97eb8243881c22a88fcc04cc08c704ded769e02 go1.23.2.linux-s390x.tar.gz
|
||||
sha256 ad345ac421e90814293a9699cca19dd5238251c3f687980bbcae28495b263531 go1.23.4.src.tar.gz
|
||||
sha256 4a4a0e7587ef8c8a326439b957027f2791795e2d29d4ae3885b4091a48f843bc go1.23.4.linux-386.tar.gz
|
||||
sha256 6924efde5de86fe277676e929dc9917d466efa02fb934197bc2eba35d5680971 go1.23.4.linux-amd64.tar.gz
|
||||
sha256 16e5017863a7f6071363782b1b8042eb12c6ca4f4cd71528b2123f0a1275b13e go1.23.4.linux-arm64.tar.gz
|
||||
sha256 1f1dda0dc7ce0b2295f57258ec5ef0803fd31b9ed0aa20e2e9222334e5755de1 go1.23.4.linux-armv6l.tar.gz
|
||||
sha256 65a303ef51e48ff77e004a6a5b4db6ce59495cd59c6af51b54bf4f786c01a1b9 go1.23.4.linux-ppc64le.tar.gz
|
||||
sha256 74aab82bf4eca7c26c830a5b0e2a31d193a4d5ba47045526b92473cc7188d7d7 go1.23.4.linux-s390x.tar.gz
|
||||
sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://go.dev/dl
|
||||
sha256 36930162a93df417d90bd22c6e14daff4705baac2b02418edda671cdfa9cd07f go1.23.2.src.tar.gz
|
||||
sha256 ad345ac421e90814293a9699cca19dd5238251c3f687980bbcae28495b263531 go1.23.4.src.tar.gz
|
||||
sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GO_VERSION = 1.23.2
|
||||
GO_VERSION = 1.23.4
|
||||
|
||||
HOST_GO_GOPATH = $(HOST_DIR)/share/go-path
|
||||
HOST_GO_HOST_CACHE = $(HOST_DIR)/share/host-go-cache
|
||||
|
||||
@@ -2,6 +2,11 @@ config BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
bool
|
||||
default y
|
||||
depends on BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
|
||||
# gobject-introspection programs cause a hang of Qemu on
|
||||
# Microblaze, and supporting GOI on Microblaze is not very
|
||||
# relevant.
|
||||
depends on !BR2_microblazeel
|
||||
depends on !BR2_microblazebe
|
||||
|
||||
config BR2_PACKAGE_GOBJECT_INTROSPECTION
|
||||
bool "gobject-introspection"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.9.tar.xz.sha256sum
|
||||
sha256 9362d6117985d09dcf6e27bdaef377dc08efb7df01d00101d04fb644addac61e gst-omx-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.22.12.tar.xz.sha256sum
|
||||
sha256 6b0685b92ac735032d7987d1028afaeab0a98ab726e0c51e5b9bfc8f2da7c8b1 gst-omx-1.22.12.tar.xz
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_OMX_VERSION = 1.22.9
|
||||
GST_OMX_VERSION = 1.22.12
|
||||
GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz
|
||||
GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.9.tar.xz.sha256sum
|
||||
sha256 02e29400b44e9cc603aa6444dee5726b57edabef6455e6d0921ffed6f13840ee gst-devtools-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.12.tar.xz.sha256sum
|
||||
sha256 015ff62789dab423edafe979b019c7de4c849a2b7e74912b20b74a70e5b68f72 gst-devtools-1.22.12.tar.xz
|
||||
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_DEVTOOLS_VERSION = 1.22.9
|
||||
GST1_DEVTOOLS_VERSION = 1.22.12
|
||||
GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz
|
||||
GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools
|
||||
GST1_DEVTOOLS_LICENSE = LGPL-2.1+
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.9.tar.xz.sha256sum
|
||||
sha256 192f7d27d21c1e7c72c339a2647a9b0c247fedc62ea5029115f8c3e22ebb87d8 gst-libav-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.12.tar.xz.sha256sum
|
||||
sha256 3b60d4cac2fbcd085a93e9389ca23e0443bee1ca75574d31d4f12bb1bbecab48 gst-libav-1.22.12.tar.xz
|
||||
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_LIBAV_VERSION = 1.22.9
|
||||
GST1_LIBAV_VERSION = 1.22.12
|
||||
GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz
|
||||
GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav
|
||||
GST1_LIBAV_LICENSE = LGPL-2.1+
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.9.tar.xz.sha256sum
|
||||
sha256 1bc65d0fd5f53a3636564efd3fcf318c3edcdec39c4109a503c1fc8203840a1d gst-plugins-bad-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.22.12.tar.xz.sha256sum
|
||||
sha256 388b4c4412f42e36a38b17cc34119bc11879bd4d9fbd4ff6d03b2c7fc6b4d494 gst-plugins-bad-1.22.12.tar.xz
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_PLUGINS_BAD_VERSION = 1.22.9
|
||||
GST1_PLUGINS_BAD_VERSION = 1.22.12
|
||||
GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
|
||||
GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad
|
||||
GST1_PLUGINS_BAD_INSTALL_STAGING = YES
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.9.tar.xz.sha256sum
|
||||
sha256 fac3e0dd2d8e9370388b34bf8c21b89d5f63bc3cfc12cd7fdc8fc6c1cba03334 gst-plugins-base-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.12.tar.xz.sha256sum
|
||||
sha256 73cfadc3a6ffe77ed974cfd6fb391c605e4531f48db21dd6b9f42b8cb69bd8c1 gst-plugins-base-1.22.12.tar.xz
|
||||
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_PLUGINS_BASE_VERSION = 1.22.9
|
||||
GST1_PLUGINS_BASE_VERSION = 1.22.12
|
||||
GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz
|
||||
GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base
|
||||
GST1_PLUGINS_BASE_INSTALL_STAGING = YES
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.9.tar.xz.sha256sum
|
||||
sha256 26959fcfebfff637d4ea08ef40316baf31b61bb7729820b0684e800c3a1478b6 gst-plugins-good-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.22.12.tar.xz.sha256sum
|
||||
sha256 9c1913f981900bd8867182639b20907b28ed78ef7a222cfbf2d8ba9dab992fa7 gst-plugins-good-1.22.12.tar.xz
|
||||
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_PLUGINS_GOOD_VERSION = 1.22.9
|
||||
GST1_PLUGINS_GOOD_VERSION = 1.22.12
|
||||
GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz
|
||||
GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good
|
||||
GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.9.tar.xz.sha256sum
|
||||
sha256 0bf685d66015a01dd3fc1671b64a1c8acb321dd9d4ab9e05a29ab19782aa6236 gst-plugins-ugly-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.12.tar.xz.sha256sum
|
||||
sha256 d59a1aaf8dd2cc416dc5b5c0b7aecd02b1811bf1229aa724e6c2a503d3799083 gst-plugins-ugly-1.22.12.tar.xz
|
||||
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_PLUGINS_UGLY_VERSION = 1.22.9
|
||||
GST1_PLUGINS_UGLY_VERSION = 1.22.12
|
||||
GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz
|
||||
GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly
|
||||
GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.9.tar.xz.sha256sum
|
||||
sha256 3f9d5c6ffefda268703744b592a6b3983aa6723273b1220ecbcb62c2a5800009 gst-python-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.12.tar.xz.sha256sum
|
||||
sha256 d98d3226efea20d5c440a28988a20319a953f7c594895df2bba4538633108e9f gst-python-1.22.12.tar.xz
|
||||
sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_PYTHON_VERSION = 1.22.9
|
||||
GST1_PYTHON_VERSION = 1.22.12
|
||||
GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz
|
||||
GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python
|
||||
GST1_PYTHON_INSTALL_STAGING = YES
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.9.tar.xz.sha256sum
|
||||
sha256 808af148f89404ff74850f8ca5272bed4bfe67f9620231dc4514fd07eb26d0a4 gst-rtsp-server-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.22.12.tar.xz.sha256sum
|
||||
sha256 bf6c7871e7cf3528e4ec87ddc2f2949691cd269f98e536482ae744c1405cf451 gst-rtsp-server-1.22.12.tar.xz
|
||||
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING
|
||||
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_RTSP_SERVER_VERSION = 1.22.9
|
||||
GST1_RTSP_SERVER_VERSION = 1.22.12
|
||||
GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz
|
||||
GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server
|
||||
GST1_RTSP_SERVER_LICENSE = LGPL-2.1+
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.9.tar.xz.sha256sum
|
||||
sha256 8ba20da8c4cbf5b2953dba904672c4275d0053e1528f97fdf8e59942c7883ca8 gstreamer-vaapi-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.22.12.tar.xz.sha256sum
|
||||
sha256 013ad729b2fe4fccda559bddc626bcb14230cfb90a2271049f8466bfec5d80df gstreamer-vaapi-1.22.12.tar.xz
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_VAAPI_VERSION = 1.22.9
|
||||
GST1_VAAPI_VERSION = 1.22.12
|
||||
GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi
|
||||
GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz
|
||||
GST1_VAAPI_LICENSE = LGPL-2.1+
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.9.tar.xz.sha256sum
|
||||
sha256 3553ad3802dccde0c0ef1461881acd9b55bddf8adf751de4cb51b7f8cb50440d gst-editing-services-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.22.12.tar.xz.sha256sum
|
||||
sha256 792339135ce713088663cc5d44e0aea8217793e88fabfd11571e7abf4a429f2c gst-editing-services-1.22.12.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.9
|
||||
GSTREAMER1_EDITING_SERVICES_VERSION = 1.22.12
|
||||
GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz
|
||||
GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services
|
||||
GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.9.tar.xz.sha256sum
|
||||
sha256 1e7124d347e8cdc80f08ec1d370c201be513002af1102bb20e83c5279cb48ebd gstreamer-1.22.9.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.12.tar.xz.sha256sum
|
||||
sha256 ac352f3d02caa67f3b169daa9aa78b04dea0fc08a727de73cb28d89bd54c6f61 gstreamer-1.22.12.tar.xz
|
||||
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GSTREAMER1_VERSION = 1.22.9
|
||||
GSTREAMER1_VERSION = 1.22.12
|
||||
GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz
|
||||
GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer
|
||||
GSTREAMER1_INSTALL_STAGING = YES
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
From d59535c8c605f0b23abbefd9b23200b1a5e937fe Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <peter@korsgaard.com>
|
||||
Date: Fri, 6 Dec 2024 20:35:35 +0100
|
||||
Subject: [PATCH] src/BnToOsslMath.h: fix build with openssl 3.4.x
|
||||
|
||||
Openssl 3.4.x is out:
|
||||
https://github.com/openssl/openssl/blob/openssl-3.4.0/NEWS.md#openssl-34
|
||||
|
||||
So bump the max supported version number similar to how it was done by
|
||||
commit 89a4cb9cf8 "src/BnToOsslMath.h: fix build with openssl 3.3.x" to fix
|
||||
build failures with 3.4.x:
|
||||
|
||||
In file included from BnValues.h:327,
|
||||
from Global.h:80,
|
||||
from Tpm.h:78,
|
||||
from AuditCommands.c:62:
|
||||
TpmToOsslMath.h:83:5: error: #error Untested OpenSSL version
|
||||
83 | # error Untested OpenSSL version
|
||||
| ^~~~~
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.net/results/be6c679b821183b4385c74471e26d9ad7d3d8967
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
Upstream: https://github.com/kgoldman/ibmswtpm2/pull/17
|
||||
---
|
||||
src/BnToOsslMath.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/BnToOsslMath.h b/src/BnToOsslMath.h
|
||||
index 72939ea..165304d 100644
|
||||
--- a/src/BnToOsslMath.h
|
||||
+++ b/src/BnToOsslMath.h
|
||||
@@ -77,7 +77,7 @@
|
||||
#include <openssl/ec.h>
|
||||
#include <openssl/bn.h>
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x30300ff0L
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x30400ff0L
|
||||
// Check the bignum_st definition against the one below and either update the
|
||||
// version check or provide the new definition for this version.
|
||||
# error Untested OpenSSL version
|
||||
--
|
||||
2.39.5
|
||||
|
||||
@@ -3,9 +3,9 @@ config BR2_PACKAGE_IGT_GPU_TOOLS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_ENABLE_LOCALE
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
depends on BR2_USE_WCHAR # elfutils
|
||||
depends on BR2_USE_WCHAR # elfutils, procps-ng
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 # linux/dma-buf.h
|
||||
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps-ng
|
||||
select BR2_PACKAGE_CAIRO
|
||||
@@ -24,9 +24,9 @@ config BR2_PACKAGE_IGT_GPU_TOOLS
|
||||
|
||||
https://gitlab.freedesktop.org/drm/igt-gpu-tools
|
||||
|
||||
comment "igt-gpu-tools needs udev /dev management and toolchain w/ threads, wchar, dynamic library, locale, headers >= 4.11"
|
||||
comment "igt-gpu-tools needs udev /dev management and toolchain w/ NPTL, wchar, dynamic library, locale, headers >= 4.11"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR || \
|
||||
!BR2_ENABLE_LOCALE || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://downloads.es.net/pub/iperf/iperf-3.17.1.tar.gz.sha256
|
||||
sha256 84404ca8431b595e86c473d8f23d8bb102810001f15feaf610effd3b318788aa iperf-3.17.1.tar.gz
|
||||
# From https://downloads.es.net/pub/iperf/iperf-3.18.tar.gz.sha256
|
||||
sha256 c0618175514331e766522500e20c94bfb293b4424eb27d7207fb427b88d20bab iperf-3.18.tar.gz
|
||||
# Locally computed
|
||||
sha256 3dc3e2076dd9cdea2b66d8fe213997ff25fb6171594f055b59fe25321b438f6f LICENSE
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user