From 67ece38df61478e16a2a5c6c388298e1fc673131 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 4 Mar 2024 11:29:58 +0200 Subject: [PATCH 001/150] /etc/init.d/S50date: Retry sntp command --- board/common/overlay/etc/init.d/S50date | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/board/common/overlay/etc/init.d/S50date b/board/common/overlay/etc/init.d/S50date index 33aa81608b..073b08fd00 100755 --- a/board/common/overlay/etc/init.d/S50date +++ b/board/common/overlay/etc/init.d/S50date @@ -66,8 +66,15 @@ set_current_date_ntp() { set_current_date_sntp() { sntp_args="-t ${DATE_TIMEOUT} -K /dev/null -Ss" server=$(cat ${NTP_CONF} | grep pool | head -n 1 | cut -d ' ' -f 2) - ${PROG_SNTP} ${sntp_args} ${server} &>${LOG_SNTP} - if [[ $? == 0 ]]; then + + # Retry command 3 times + truncate -s0 ${LOG_SNTP} + ok=false + for (( i = 0; i < 3; i++ )); do + ${PROG_SNTP} ${sntp_args} ${server} &>>${LOG_SNTP} && { ok=true; break; } + sleep 1 + done + if [[ ${ok} == true ]]; then logger -t date "current system date/time set to $(date) via SNTP" return 0 else From 8d249bc77b976dd06b0a24378fb0447b57201dd7 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 7 Jul 2024 18:09:49 +0300 Subject: [PATCH 002/150] Make all partition numbers relative to root partition --- board/common/overlay-initramfs/init | 14 ++++++++------ board/common/overlay/etc/fstab.disk | 4 ++-- board/common/overlay/etc/init.d/S00datapart | 17 ++++++++++------- board/common/overlay/sbin/toemmc | 8 +++++--- 4 files changed, 25 insertions(+), 18 deletions(-) diff --git a/board/common/overlay-initramfs/init b/board/common/overlay-initramfs/init index 46f3268a28..ac8c4214a9 100755 --- a/board/common/overlay-initramfs/init +++ b/board/common/overlay-initramfs/init @@ -13,13 +13,15 @@ mount -t proc proc /proc ROOT_DEV=$(cat /proc/cmdline | grep -oE 'root=[/a-z0-9]+' | cut -d '=' -f 2) if echo ${ROOT_DEV:-2} | grep -E 'p[0-9]' &>/dev/null; then # e.g. /dev/mmcblk0p2 - DISK_DEV=${ROOT_DEV:0:$((${#ROOT_DEV}-2))} - BOOT_DEV=${DISK_DEV}p1 - DATA_DEV=${DISK_DEV}p3 + ROOT_PART_NO=$(echo ${ROOT_DEV} | grep -oE '[0-9]$') + DISK_DEV=${ROOT_DEV:0:$(( ${#ROOT_DEV} - 2 ))} + BOOT_DEV=${DISK_DEV}p$(( ROOT_PART_NO - 1 )) + DATA_DEV=${DISK_DEV}p$(( ROOT_PART_NO + 1 )) else # e.g. /dev/sdc2 - DISK_DEV=${ROOT_DEV:0:$((${#ROOT_DEV}-1))} - BOOT_DEV=${DISK_DEV}1 - DATA_DEV=${DISK_DEV}3 + ROOT_PART_NO=$(echo ${ROOT_DEV} | grep -oE '[0-9]$') + DISK_DEV=${ROOT_DEV:0:$(( ${#ROOT_DEV} - 1 ))} + BOOT_DEV=${DISK_DEV}$(( ROOT_PART_NO - 1 )) + DATA_DEV=${DISK_DEV}$(( ROOT_PART_NO + 1 )) fi msg "Waiting for sdcard" diff --git a/board/common/overlay/etc/fstab.disk b/board/common/overlay/etc/fstab.disk index a5e08129a4..6c5c5d518a 100644 --- a/board/common/overlay/etc/fstab.disk +++ b/board/common/overlay/etc/fstab.disk @@ -1,3 +1,3 @@ # -${disk_dev_prefix}1 /boot vfat ro,defaults 0 0 -${disk_dev_prefix}3 /data ext4 defaults,noatime 0 0 +${boot_dev} /boot vfat ro,defaults 0 0 +${data_dev} /data ext4 defaults,noatime 0 0 diff --git a/board/common/overlay/etc/init.d/S00datapart b/board/common/overlay/etc/init.d/S00datapart index 4dd38091b7..41c58c4d2f 100755 --- a/board/common/overlay/etc/init.d/S00datapart +++ b/board/common/overlay/etc/init.d/S00datapart @@ -12,15 +12,15 @@ case "$1" in if [[ "${root_dev}" =~ ^([/a-z0-9]+)(p[0-9])$ ]]; then # e.g. /dev/mmcblk0p2 disk_dev=${BASH_REMATCH[1]} disk_dev_prefix=${disk_dev}p - boot_dev=${disk_dev}p1 - root_dev=${disk_dev}p2 - data_dev=${disk_dev}p3 + root_part_no=$(echo ${root_dev} | grep -oE '[0-9]$') + boot_dev=${disk_dev}p$(( root_part_no - 1 )) + data_dev=${disk_dev}p$(( root_part_no + 1 )) elif [[ "${root_dev}" =~ ^([/a-z0-9]+)([0-9])$ ]]; then # e.g. /dev/sdc2 disk_dev=${BASH_REMATCH[1]} disk_dev_prefix=${disk_dev} - boot_dev=${disk_dev}1 - root_dev=${disk_dev}2 - data_dev=${disk_dev}3 + root_part_no=$(echo ${root_dev} | grep -oE '[0-9]$') + boot_dev=${disk_dev}$(( root_part_no - 1 )) + data_dev=${disk_dev}$(( root_part_no + 1 )) else msg_fail "unknown (${root_dev})" exit 1 @@ -28,6 +28,9 @@ case "$1" in for ext in disk extra overlay; do sed "s,"'${disk_dev_prefix}'",${disk_dev_prefix},g" /etc/fstab.${ext} > /tmp/fstab.${ext} + sed -i "s,"'${boot_dev}'",${boot_dev},g" /etc/fstab.${ext} + sed -i "s,"'${root_dev}'",${root_dev},g" /etc/fstab.${ext} + sed -i "s,"'${data_dev}'",${data_dev},g" /etc/fstab.${ext} done # Output disk info to /tmp/disk_info @@ -62,7 +65,7 @@ case "$1" in data_start=$((DATA_OFFS * 2048)) echo -e "n p - 3 + $(( root_part_no + 1 )) ${data_start} \n w" | /sbin/fdisk ${disk_dev} &>/dev/null diff --git a/board/common/overlay/sbin/toemmc b/board/common/overlay/sbin/toemmc index 4b4844dd9a..3576308429 100755 --- a/board/common/overlay/sbin/toemmc +++ b/board/common/overlay/sbin/toemmc @@ -41,6 +41,7 @@ root_info=(${root_info}) root_end_sector=${root_info[2]} total_size=$(((root_end_sector + 1) * 512 / 10485760)) # x 10MB +root_part_no=$(echo ${ROOT_DEV} | grep -oE '[0-9]$') msg "Unmounting all EMMC partitions" umount ${emmc_dev}* &>/dev/null @@ -56,14 +57,15 @@ sleep 1 msg "Removing data partition from EMMC" fdisk >/dev/null ${emmc_dev} < Date: Sun, 7 Jul 2024 23:41:21 +0300 Subject: [PATCH 003/150] fwupdate: Add support for relative partition number --- board/common/overlay/sbin/fwupdate | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/common/overlay/sbin/fwupdate b/board/common/overlay/sbin/fwupdate index 7408bb90d4..8c386b1865 100755 --- a/board/common/overlay/sbin/fwupdate +++ b/board/common/overlay/sbin/fwupdate @@ -488,13 +488,14 @@ function do_extract() { # TODO verify hash - boot_info=$(fdisk --bytes -l -o device,start,end,size ${FW_FILE_EXTR} | grep "${FW_FILE_EXTR}1") + root_part_no=$(echo ${ROOT_DEV} | grep -oE '[0-9]$') + boot_info=$(fdisk --bytes -l -o device,start,end,size ${FW_FILE_EXTR} | grep "${FW_FILE_EXTR}$(( root_part_no - 1 ))") boot_info=(${boot_info}) boot_start=${boot_info[1]} boot_end=${boot_info[2]} boot_size=$((boot_info[3] / 512)) - root_info=$(fdisk --bytes -l -o device,start,end,size ${FW_FILE_EXTR} | grep "${FW_FILE_EXTR}2") + root_info=$(fdisk --bytes -l -o device,start,end,size ${FW_FILE_EXTR} | grep "${FW_FILE_EXTR}${root_part_no}") root_info=(${root_info}) root_start=${root_info[1]} root_end=${root_info[2]} From e2f78b5891127424795a42a27352330c427b34f0 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 4 Aug 2024 16:01:36 +0300 Subject: [PATCH 004/150] toemmc: Wipe any GPT backup --- board/common/overlay/sbin/toemmc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/board/common/overlay/sbin/toemmc b/board/common/overlay/sbin/toemmc index 3576308429..bbace795e9 100755 --- a/board/common/overlay/sbin/toemmc +++ b/board/common/overlay/sbin/toemmc @@ -43,10 +43,15 @@ root_end_sector=${root_info[2]} total_size=$(((root_end_sector + 1) * 512 / 10485760)) # x 10MB root_part_no=$(echo ${ROOT_DEV} | grep -oE '[0-9]$') -msg "Unmounting all EMMC partitions" +msg "Unmounting all eMMC partitions" umount ${emmc_dev}* &>/dev/null partx -d ${emmc_dev} &>/dev/null +msg "Wiping any GPT backup from eMMC" +emmc_sectors=$(fdisk -l ${emmc_dev} | head -n1 | grep -oE '[[:digit:]]+ sectors' | cut -d ' ' -f 1) +dd if=/dev/zero of=${emmc_dev} seek=$(( emmc_sectors - 34 )) count=34 status=none +sync + msg "Copying ${total_size}0MB from ${DISK_DEV} to ${emmc_dev}" dd if=${DISK_DEV} of=${emmc_dev} bs=10M count=${total_size} status=none sync @@ -54,7 +59,7 @@ partx -a ${emmc_dev} &>/dev/null sleep 1 -msg "Removing data partition from EMMC" +msg "Removing data partition from eMMC" fdisk >/dev/null ${emmc_dev} < Date: Sun, 4 Aug 2024 16:04:57 +0300 Subject: [PATCH 005/150] S00datapart: Fix fstab paths --- board/common/overlay/etc/init.d/S00datapart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/common/overlay/etc/init.d/S00datapart b/board/common/overlay/etc/init.d/S00datapart index 41c58c4d2f..42769cd4b0 100755 --- a/board/common/overlay/etc/init.d/S00datapart +++ b/board/common/overlay/etc/init.d/S00datapart @@ -28,9 +28,9 @@ case "$1" in for ext in disk extra overlay; do sed "s,"'${disk_dev_prefix}'",${disk_dev_prefix},g" /etc/fstab.${ext} > /tmp/fstab.${ext} - sed -i "s,"'${boot_dev}'",${boot_dev},g" /etc/fstab.${ext} - sed -i "s,"'${root_dev}'",${root_dev},g" /etc/fstab.${ext} - sed -i "s,"'${data_dev}'",${data_dev},g" /etc/fstab.${ext} + sed -i "s,"'${boot_dev}'",${boot_dev},g" /tmp/fstab.${ext} + sed -i "s,"'${root_dev}'",${root_dev},g" /tmp/fstab.${ext} + sed -i "s,"'${data_dev}'",${data_dev},g" /tmp/fstab.${ext} done # Output disk info to /tmp/disk_info From 928d45176f31aaeb1e82e8d6a57d2cfc7947c058 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sat, 14 Sep 2024 12:03:15 +0300 Subject: [PATCH 006/150] S40network: Bring eth up when waiting for driver --- board/common/overlay/etc/init.d/S40network | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/board/common/overlay/etc/init.d/S40network b/board/common/overlay/etc/init.d/S40network index 501ac4c161..1b5991917e 100755 --- a/board/common/overlay/etc/init.d/S40network +++ b/board/common/overlay/etc/init.d/S40network @@ -126,7 +126,7 @@ function start_eth() { # wait for driver w=3 count=0 - while ! ifconfig ${OS_ETH} >/dev/null 2>&1; do + while ! ifconfig ${OS_ETH} up >/dev/null 2>&1; do sleep 1 count=$((${count} + 1)) if [[ ${count} -ge ${w} ]]; then @@ -135,9 +135,6 @@ function start_eth() { fi done - # bring it up - ifconfig ${OS_ETH} up - # wait for link test "${LINK_WATCH}" == "true" || LINK_NEGO_TIMEOUT=5 count=0 From 2e0334828235e646e3ef15b12c7421e595853ef9 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sat, 14 Sep 2024 12:39:35 +0300 Subject: [PATCH 007/150] toemmc: Use gdisk to remove data part --- board/common/overlay/etc/init.d/S00datapart | 2 ++ board/common/overlay/sbin/toemmc | 17 +++++++++++++++-- configs/nanopir1_defconfig | 1 + configs/radxacm3_defconfig | 1 + configs/raspberrypi2_defconfig | 1 + configs/raspberrypi3_defconfig | 1 + configs/raspberrypi4_defconfig | 1 + configs/raspberrypi64_defconfig | 1 + configs/raspberrypi_defconfig | 1 + configs/rockpi4b_defconfig | 1 + 10 files changed, 25 insertions(+), 2 deletions(-) diff --git a/board/common/overlay/etc/init.d/S00datapart b/board/common/overlay/etc/init.d/S00datapart index 42769cd4b0..6a5011f972 100755 --- a/board/common/overlay/etc/init.d/S00datapart +++ b/board/common/overlay/etc/init.d/S00datapart @@ -25,6 +25,7 @@ case "$1" in msg_fail "unknown (${root_dev})" exit 1 fi + part_table_type=$(fdisk -l ${disk_dev} | grep Disklabel | tr -d ' ' | cut -d : -f 2) for ext in disk extra overlay; do sed "s,"'${disk_dev_prefix}'",${disk_dev_prefix},g" /etc/fstab.${ext} > /tmp/fstab.${ext} @@ -40,6 +41,7 @@ case "$1" in echo "BOOT_DEV=${boot_dev}" echo "ROOT_DEV=${root_dev}" echo "DATA_DEV=${data_dev}" + echo "PART_TABLE_TYPE=${part_table_type}" } > /tmp/disk_info msg_done "${disk_dev}" diff --git a/board/common/overlay/sbin/toemmc b/board/common/overlay/sbin/toemmc index bbace795e9..6a8c5b3770 100755 --- a/board/common/overlay/sbin/toemmc +++ b/board/common/overlay/sbin/toemmc @@ -33,6 +33,10 @@ NET_CONFIG_FILES=( emmc_dev=$1 source /tmp/disk_info +if [[ "${DISK_DEV}" == "${emmc_dev}" ]]; then + msg "SD card and eMMC devices are the same" + exit 1 +fi msg "SD card device is ${DISK_DEV}" @@ -48,7 +52,7 @@ umount ${emmc_dev}* &>/dev/null partx -d ${emmc_dev} &>/dev/null msg "Wiping any GPT backup from eMMC" -emmc_sectors=$(fdisk -l ${emmc_dev} | head -n1 | grep -oE '[[:digit:]]+ sectors' | cut -d ' ' -f 1) +emmc_sectors=$(fdisk -l ${emmc_dev} 2>/dev/null | head -n1 | grep -oE '[[:digit:]]+ sectors' | cut -d ' ' -f 1) dd if=/dev/zero of=${emmc_dev} seek=$(( emmc_sectors - 34 )) count=34 status=none sync @@ -60,11 +64,20 @@ partx -a ${emmc_dev} &>/dev/null sleep 1 msg "Removing data partition from eMMC" -fdisk >/dev/null ${emmc_dev} </dev/null ${emmc_dev} </dev/null ${emmc_dev} < Date: Sun, 5 Jan 2025 23:38:25 +0200 Subject: [PATCH 008/150] mkimage.sh: Add support for Syslinux bootloader --- support/scripts/mkimage.sh | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/support/scripts/mkimage.sh b/support/scripts/mkimage.sh index c8d8a16de6..b3f9c23194 100755 --- a/support/scripts/mkimage.sh +++ b/support/scripts/mkimage.sh @@ -24,6 +24,7 @@ BOARD=$1 BINARIES_DIR=$(dirname $0)/../../output/${BOARD}/images/ BOARD_DIR=$(dirname $0)/../../board/${BOARD} COMMON_DIR=$(dirname $0)/../../board/common +HOST_DIR=$(dirname $0)/../../output/${BOARD}/host/ BOOT_START=${BOOT_START:-1} # MB @@ -74,6 +75,10 @@ msg "copying boot filesystem contents" cp -r ${BOOT_SRC}/* ${BOOT} sync +if [[ "${USE_SYSLINUX}" == true ]]; then + ${HOST_DIR}/sbin/extlinux --install ${BOOT} +fi + msg "unmounting boot filesystem" umount ${BOOT} @@ -141,15 +146,6 @@ fi # disk image msg "creating disk loop device ${LOOP_DEV}" dd if=/dev/zero of=${DISK_IMG} bs=1M count=${DISK_SIZE} -if [[ -n "${BOOT_BIN}" ]]; then - for boot_bin in "${BOOT_BIN[@]}"; do - IFS=@ boot_bin=(${boot_bin}); unset IFS - bin=${boot_bin[0]} - seek=${boot_bin[1]} - msg "copying boot binary ${bin} @ ${seek}" - dd conv=notrunc if=${bin} of=${DISK_IMG} bs=512 seek=${seek} - done -fi loop_dev=$(losetup --show ${LOOP_DEV} ${DISK_IMG}) msg "partitioning disk" @@ -176,6 +172,8 @@ a 1 w END + boot_part_no=1 + root_part_no=2 elif [[ ${PART_TABLE_TYPE} == gpt ]]; then fdisk -u=sectors ${loop_dev} < Date: Tue, 20 May 2025 22:43:58 +0300 Subject: [PATCH 009/150] cleanup.sh: Add S40bluetoothd --- board/common/cleanup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/board/common/cleanup.sh b/board/common/cleanup.sh index 2aa32248bc..d7bc406484 100755 --- a/board/common/cleanup.sh +++ b/board/common/cleanup.sh @@ -199,6 +199,7 @@ rm -f ${TARGET}/etc/init.d/S21rngd rm -f ${TARGET}/etc/init.d/S30cgroupfs rm -f ${TARGET}/etc/init.d/S35iptables rm -f ${TARGET}/etc/init.d/S40bluetooth +rm -f ${TARGET}/etc/init.d/S40bluetoothd rm -f ${TARGET}/etc/init.d/S45connman rm -f ${TARGET}/etc/init.d/S48sntp rm -f ${TARGET}/etc/init.d/S49ntp From f9e3427fbf3af2d3583bb81678c6950837b9baa5 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sun, 8 May 2022 19:38:30 -0600 Subject: [PATCH 010/150] package/python-jinja2: bump to version 3.1.2 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-jinja2/python-jinja2.hash | 4 ++-- package/python-jinja2/python-jinja2.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-jinja2/python-jinja2.hash b/package/python-jinja2/python-jinja2.hash index ea7fe71a35..2ab343cce6 100644 --- a/package/python-jinja2/python-jinja2.hash +++ b/package/python-jinja2/python-jinja2.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/jinja2/json -md5 b76ae2f0647abebc81e7c03f5fb7b00f Jinja2-3.0.3.tar.gz -sha256 611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 Jinja2-3.0.3.tar.gz +md5 d31148abd89c1df1cdb077a55db27d02 Jinja2-3.1.2.tar.gz +sha256 31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852 Jinja2-3.1.2.tar.gz # Locally computed sha256 checksums sha256 3b49dcee4105eb37bac10faf1be260408fe85d252b8e9df2e0979fc1e094437b LICENSE.rst diff --git a/package/python-jinja2/python-jinja2.mk b/package/python-jinja2/python-jinja2.mk index 752daf653c..7cbf73a9b6 100644 --- a/package/python-jinja2/python-jinja2.mk +++ b/package/python-jinja2/python-jinja2.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_JINJA2_VERSION = 3.0.3 +PYTHON_JINJA2_VERSION = 3.1.2 PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz -PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/91/a5/429efc6246119e1e3fbf562c00187d04e83e54619249eb732bb423efa6c6 +PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/7a/ff/75c28576a1d900e87eb6335b063fab47a8ef3c8b4d88524c4bf78f670cce PYTHON_JINJA2_SETUP_TYPE = setuptools PYTHON_JINJA2_LICENSE = BSD-3-Clause PYTHON_JINJA2_LICENSE_FILES = LICENSE.rst From 29a62c185125f00f1dfe2ea62b1a97e0267e3a7e Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Thu, 13 Jul 2023 09:38:54 +0200 Subject: [PATCH 011/150] package/python-jinja2: update project URL - update project URL (where the old one re-directs to) Signed-off-by: Peter Seiderer Signed-off-by: Thomas Petazzoni --- package/python-jinja2/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-jinja2/Config.in b/package/python-jinja2/Config.in index 8ba2fa4df8..ac188d96bb 100644 --- a/package/python-jinja2/Config.in +++ b/package/python-jinja2/Config.in @@ -8,4 +8,4 @@ config BR2_PACKAGE_PYTHON_JINJA2 provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. - http://jinja.pocoo.org/ + https://jinja.palletsprojects.com From 32d45ac876f55f5e9b61c1788777f7939676a587 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 24 Sep 2022 09:16:45 +0200 Subject: [PATCH 012/150] package/m4: remove --disable-static for host package This issue was reported by Firas Khalil Khana on a Github pull request at https://github.com/buildroot/buildroot/pull/113/. There is no --disable-static in m4. Research in the dark corners of the Git history has shown that it was apparently added by Peter Korsgaard back in 2009, in commit 3467cf73051d2b8d28d48dfdd694f66315f3b8ca ("m4: cleanup"). At this time, the version of m4 used was 1.4.9, but even looking at the tarball of this old release shows that the ./configure did not support --disable-static. So let's drop this option. Signed-off-by: Thomas Petazzoni --- package/m4/m4.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/m4/m4.mk b/package/m4/m4.mk index 3a12092971..39ad898b10 100644 --- a/package/m4/m4.mk +++ b/package/m4/m4.mk @@ -9,6 +9,5 @@ M4_SOURCE = m4-$(M4_VERSION).tar.xz M4_SITE = $(BR2_GNU_MIRROR)/m4 M4_LICENSE = GPL-3.0+ M4_LICENSE_FILES = COPYING -HOST_M4_CONF_OPTS = --disable-static $(eval $(host-autotools-package)) From 39b9e91c0104020bed0e02e619fbd9a37ddf5ad6 Mon Sep 17 00:00:00 2001 From: "Joseph Zikusooka (ZIK)" Date: Sat, 3 May 2025 16:52:09 +0300 Subject: [PATCH 013/150] package/m4: fix build failure with host-gcc 15 When compiling host-m4 1.4.19 with a host gcc 15 (which is the version included in Fedora 42, released on 2025-04-15), compilation fails with error: In file included from gl_avltree_oset.h:21, from gl_avltree_oset.c:21: gl_oset.h:275:1: warning: 'nodiscard' attribute ignored [-Wattributes] 275 | GL_OSET_INLINE _GL_ATTRIBUTE_NODISCARD int | ^~~~~~~~~~~~~~ gl_oset.h:275:40: error: expected identifier or '(' before 'int' 275 | GL_OSET_INLINE _GL_ATTRIBUTE_NODISCARD int | ^~~ This error is due to the gnulib copy included in m4 1.4.19, which does not detect properly the default C language standard of gcc 15 which has been changed from "gnu17" to "gnu23". See [1]. Note that m4 1.4.19 is the latest version available at the time of this commit, and was released in May 2021. The issue is tracked upstream in [2]. Upcoming m4 release is expected to fix this issue, by updating its gnulib copy. See [3], which states: "Update to comply with newer C standards, and inherit portability improvements from gnulib". Until this new m4 version is released, this commit fixes the issue by forcing the C langage standard to "-std=gnu17" (the previous gcc default) when host-gcc 15 is detected. Note that the "-std=gnu17" option was introduced in gcc 8. See [4]. This is the reason why this patch adds this option only when the problematic gcc 15 version is detected. See also the discussions around this patch at [5]. Fixes: https://autobuild.buildroot.org/results/1c33ef0a710cfae13e496485787b351c8f951217/ (and many, many others) [1] https://gcc.gnu.org/gcc-15/changes.html#c [2] https://savannah.gnu.org/support/?111150 [3] https://git.savannah.gnu.org/cgit/m4.git/commit/?h=branch-1.4&id=a22c9802dd7e724eaefb21dc21d84ac2d3a49c89 [4] https://gcc.gnu.org/gcc-8/changes.html#c [5] https://lore.kernel.org/buildroot/CAPWx8vsoJUt8YMJG1aUqFRK1=yizNbgjVjGL1Q1+9ygjJGnZLA@mail.gmail.com/ Signed-off-by: Joseph Zikusooka (ZIK) Tested-by: Luca Ceresoli [Julien: - change mail url to lore.kernel.org for stable link - reword, reflow and add extra info in the commit log - force -std=gnu17 only when host gcc-15 is detected - add a comment in .mk to remove the workaround at next bump ] Signed-off-by: Julien Olivain --- package/m4/m4.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/m4/m4.mk b/package/m4/m4.mk index 39ad898b10..f5e1e27ad8 100644 --- a/package/m4/m4.mk +++ b/package/m4/m4.mk @@ -10,4 +10,14 @@ M4_SITE = $(BR2_GNU_MIRROR)/m4 M4_LICENSE = GPL-3.0+ M4_LICENSE_FILES = COPYING +# gcc-15 defaults to -std=gnu23 which is incorrectly detected and +# generates build failures in the gnulib copy included in +# m4-1.4.19. We workaround this by forcing the previous gcc default +# standard, which is -std=gnu17 only when host gcc is >= 15. This +# workaround can be removed when m4 will be updated to a version +# including a fix for gcc-15. +ifeq ($(BR2_HOST_GCC_AT_LEAST_15),y) +HOST_M4_CONF_ENV = CFLAGS="$(HOST_CFLAGS) -std=gnu17" +endif + $(eval $(host-autotools-package)) From fd2f8023489f7742131b35a05b84a8e7a760822d Mon Sep 17 00:00:00 2001 From: Vincent Fazio Date: Fri, 16 May 2025 21:40:45 -0500 Subject: [PATCH 014/150] package/m4: bump to 1.4.20 The new version bundles an updated gnulib that includes support for -std=c23 which is the default for gcc 15. Signed-off-by: Vincent Fazio Signed-off-by: Arnout Vandecappelle --- package/m4/m4.hash | 2 +- package/m4/m4.mk | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/package/m4/m4.hash b/package/m4/m4.hash index a81f4fab9c..a5b8456cc2 100644 --- a/package/m4/m4.hash +++ b/package/m4/m4.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -sha256 63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96 m4-1.4.19.tar.xz +sha256 e236ea3a1ccf5f6c270b1c4bb60726f371fa49459a8eaaebc90b216b328daf2b m4-1.4.20.tar.xz # License files, locally calculated sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/m4/m4.mk b/package/m4/m4.mk index f5e1e27ad8..396c2bbee2 100644 --- a/package/m4/m4.mk +++ b/package/m4/m4.mk @@ -4,20 +4,10 @@ # ################################################################################ -M4_VERSION = 1.4.19 +M4_VERSION = 1.4.20 M4_SOURCE = m4-$(M4_VERSION).tar.xz M4_SITE = $(BR2_GNU_MIRROR)/m4 M4_LICENSE = GPL-3.0+ M4_LICENSE_FILES = COPYING -# gcc-15 defaults to -std=gnu23 which is incorrectly detected and -# generates build failures in the gnulib copy included in -# m4-1.4.19. We workaround this by forcing the previous gcc default -# standard, which is -std=gnu17 only when host gcc is >= 15. This -# workaround can be removed when m4 will be updated to a version -# including a fix for gcc-15. -ifeq ($(BR2_HOST_GCC_AT_LEAST_15),y) -HOST_M4_CONF_ENV = CFLAGS="$(HOST_CFLAGS) -std=gnu17" -endif - $(eval $(host-autotools-package)) From a2e7ec86bf7dbba86b4e3294580f8fdc92676083 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 26 Dec 2021 15:52:18 +0100 Subject: [PATCH 015/150] package/fakeroot: bump to version 1.26 - Drop first patch (not needed anymore) - Drop second to fifth patches (already in version) - Drop autoreconf https://salsa.debian.org/clint/fakeroot/-/blob/debian/1.26-1/debian/changelog Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/fakeroot/0001-skip-doc-subdirs.patch | 14 ---- ...fine-_STAT_VER-if-not-already-define.patch | 45 ----------- ...d-wrappers-for-new-glibc-2.33-symbol.patch | 80 ------------------- ....ac-fix-__xmknod-at-pointer-argument.patch | 66 --------------- .../0005-fix-build-regression-on-macOS.patch | 63 --------------- package/fakeroot/fakeroot.hash | 4 +- package/fakeroot/fakeroot.mk | 6 +- 7 files changed, 4 insertions(+), 274 deletions(-) delete mode 100644 package/fakeroot/0001-skip-doc-subdirs.patch delete mode 100644 package/fakeroot/0002-libfakeroot.c-define-_STAT_VER-if-not-already-define.patch delete mode 100644 package/fakeroot/0003-libfakeroot.c-add-wrappers-for-new-glibc-2.33-symbol.patch delete mode 100644 package/fakeroot/0004-configure.ac-fix-__xmknod-at-pointer-argument.patch delete mode 100644 package/fakeroot/0005-fix-build-regression-on-macOS.patch diff --git a/package/fakeroot/0001-skip-doc-subdirs.patch b/package/fakeroot/0001-skip-doc-subdirs.patch deleted file mode 100644 index 91663fb64d..0000000000 --- a/package/fakeroot/0001-skip-doc-subdirs.patch +++ /dev/null @@ -1,14 +0,0 @@ -For some reason, version 1.25 and up is missing all localized doc, -and thus fails on the install stage. - -Skip the directories. - -Signed-off-by: Norbert Lange ---- fakeroot-1.25.1.org/doc/Makefile.am 2020-09-22 23:52:20.000000000 +0200 -+++ fakeroot-1.25.1/doc/Makefile.am 2020-09-24 11:05:27.611298673 +0200 -@@ -1,5 +1,4 @@ - AUTOMAKE_OPTIONS=foreign --SUBDIRS = de es fr nl pt sv - - man_MANS = faked.1 fakeroot.1 - diff --git a/package/fakeroot/0002-libfakeroot.c-define-_STAT_VER-if-not-already-define.patch b/package/fakeroot/0002-libfakeroot.c-define-_STAT_VER-if-not-already-define.patch deleted file mode 100644 index 574e55e33a..0000000000 --- a/package/fakeroot/0002-libfakeroot.c-define-_STAT_VER-if-not-already-define.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 03bc0ee07fb6e293d081ffd8af1654788b434f6a Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Thu, 11 Feb 2021 20:59:25 -0800 -Subject: [PATCH] libfakeroot.c: define _STAT_VER if not already defined -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -glibc 2.33 does does declare `_STAT_VER` anymore. - -Based on patch from Jan Pazdziora: -https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SMQ3RYXEYTVZH6PLQMKNB3NM4XLPMNZO/ - -Backported from: feda578ca3608b7fc9a28a3a91293611c0ef47b7 - -Signed-off-by: Ilya Lipnitskiy -Signed-off-by: Jörg Krause ---- - libfakeroot.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/libfakeroot.c b/libfakeroot.c -index 3e80e38..14cdbc4 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -90,6 +90,16 @@ - #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b) - #endif - -+#ifndef _STAT_VER -+ #if defined (__aarch64__) -+ #define _STAT_VER 0 -+ #elif defined (__x86_64__) -+ #define _STAT_VER 1 -+ #else -+ #define _STAT_VER 3 -+ #endif -+#endif -+ - /* - These INT_* (which stands for internal) macros should always be used when - the fakeroot library owns the storage of the stat variable. --- -2.30.1 - diff --git a/package/fakeroot/0003-libfakeroot.c-add-wrappers-for-new-glibc-2.33-symbol.patch b/package/fakeroot/0003-libfakeroot.c-add-wrappers-for-new-glibc-2.33-symbol.patch deleted file mode 100644 index 8115598d64..0000000000 --- a/package/fakeroot/0003-libfakeroot.c-add-wrappers-for-new-glibc-2.33-symbol.patch +++ /dev/null @@ -1,80 +0,0 @@ -From feda578ca3608b7fc9a28a3a91293611c0ef47b7 Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Thu, 11 Feb 2021 21:00:04 -0800 -Subject: [PATCH] libfakeroot.c: add wrappers for new glibc 2.33+ symbols -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This patch add wrappers for newly exported symbols in glibc 2.33. - -Backported from: feda578ca3608b7fc9a28a3a91293611c0ef47b7 - -Signed-off-by: Ilya Lipnitskiy -Signed-off-by: Jörg Krause ---- - libfakeroot.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 48 insertions(+) - -diff --git a/libfakeroot.c b/libfakeroot.c -index 14cdbc4..d75c51f 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -1352,6 +1352,54 @@ int renameat(int olddir_fd, const char *oldpath, - #endif /* HAVE_FSTATAT */ - - -+#if defined(__GLIBC__) && __GLIBC_PREREQ(2,33) -+/* Glibc 2.33 exports symbols for these functions in the shared lib */ -+ int lstat(const char *file_name, struct stat *statbuf) { -+ return WRAP_LSTAT LSTAT_ARG(_STAT_VER, file_name, statbuf); -+ } -+ int stat(const char *file_name, struct stat *st) { -+ return WRAP_STAT STAT_ARG(_STAT_VER, file_name, st); -+ } -+ int fstat(int fd, struct stat *st) { -+ return WRAP_FSTAT FSTAT_ARG(_STAT_VER, fd, st); -+ } -+ -+ #ifdef HAVE_FSTATAT -+ int fstatat(int dir_fd, const char *path, struct stat *st, int flags) { -+ return WRAP_FSTATAT FSTATAT_ARG(_STAT_VER, dir_fd, path, st, flags); -+ } -+ #endif -+ -+ #ifdef STAT64_SUPPORT -+ int lstat64(const char *file_name, struct stat64 *st) { -+ return WRAP_LSTAT64 LSTAT64_ARG(_STAT_VER, file_name, st); -+ } -+ int stat64(const char *file_name, struct stat64 *st) { -+ return WRAP_STAT64 STAT64_ARG(_STAT_VER, file_name, st); -+ } -+ int fstat64(int fd, struct stat64 *st) { -+ return WRAP_FSTAT64 FSTAT64_ARG(_STAT_VER, fd, st); -+ } -+ -+ #ifdef HAVE_FSTATAT -+ int fstatat64(int dir_fd, const char *path, struct stat64 *st, int flags) { -+ return WRAP_FSTATAT64 FSTATAT64_ARG(_STAT_VER, dir_fd, path, st, flags); -+ } -+ #endif -+ #endif -+ -+ int mknod(const char *pathname, mode_t mode, dev_t dev) { -+ return WRAP_MKNOD MKNOD_ARG(_STAT_VER, pathname, mode, &dev); -+ } -+ -+ #if defined(HAVE_FSTATAT) && defined(HAVE_MKNODAT) -+ int mknodat(int dir_fd, const char *pathname, mode_t mode, dev_t dev) { -+ return WRAP_MKNODAT MKNODAT_ARG(_STAT_VER, dir_fd, pathname, mode, &dev); -+ } -+ #endif -+#endif /* GLIBC_PREREQ */ -+ -+ - #ifdef FAKEROOT_FAKENET - pid_t fork(void) - { --- -2.30.1 - diff --git a/package/fakeroot/0004-configure.ac-fix-__xmknod-at-pointer-argument.patch b/package/fakeroot/0004-configure.ac-fix-__xmknod-at-pointer-argument.patch deleted file mode 100644 index 38dfea868b..0000000000 --- a/package/fakeroot/0004-configure.ac-fix-__xmknod-at-pointer-argument.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 432dd46e662772020306a2ce8b1be38321697e69 Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Sat, 13 Feb 2021 19:32:08 -0800 -Subject: [PATCH] configure.ac: fix __xmknod{,at} pointer argument -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Switch default to assume * and not the absence of *. - -On glibc 2.33+, there is no definition for these functions in header -files, so the compile test doesn't work. But, we can default to using -the pointer (as is the case with newer glibc), and use the header file -on older platforms to fail the test and use no pointer. - -Backported from: c3eebec293e35b997bb46c22fb5a4e114afb5e7f - -Signed-off-by: Ilya Lipnitskiy -Signed-off-by: Jörg Krause ---- - configure.ac | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 73415d2..d85566f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -183,13 +183,13 @@ AC_MSG_CHECKING([for type of arg of __xmknod]) - ]], [[ - int __xmknod ( int ver, - const char *pathname , -- mode_t mode , dev_t dev); -+ mode_t mode , dev_t *dev); - ]])],[ -- AC_DEFINE(XMKNOD_FRTH_ARG,) -- AC_MSG_RESULT([no extra *]) -- ],[ - AC_DEFINE(XMKNOD_FRTH_ARG,[*]) - AC_MSG_RESULT([needs *]) -+ ],[ -+ AC_DEFINE(XMKNOD_FRTH_ARG,) -+ AC_MSG_RESULT([no extra *]) - - ]) - -@@ -210,13 +210,13 @@ AC_MSG_CHECKING([for type of arg of __xmknodat]) - int __xmknodat ( int ver, - int dirfd, - const char *pathname , -- mode_t mode , dev_t dev); -+ mode_t mode , dev_t *dev); - ]])],[ -- AC_DEFINE(XMKNODAT_FIFTH_ARG,) -- AC_MSG_RESULT([no extra *]) -- ],[ - AC_DEFINE(XMKNODAT_FIFTH_ARG,[*]) - AC_MSG_RESULT([needs *]) -+ ],[ -+ AC_DEFINE(XMKNODAT_FIFTH_ARG,) -+ AC_MSG_RESULT([no extra *]) - - ]) - --- -2.30.1 - diff --git a/package/fakeroot/0005-fix-build-regression-on-macOS.patch b/package/fakeroot/0005-fix-build-regression-on-macOS.patch deleted file mode 100644 index d5589a79f5..0000000000 --- a/package/fakeroot/0005-fix-build-regression-on-macOS.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 3590b817df703a256f2c1de9a5f5469eaa1c86e9 Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Mon, 15 Feb 2021 11:07:56 -0800 -Subject: [PATCH] fix build regression on macOS - -Signed-off-by: Felix Fietkau -Signed-off-by: Ilya Lipnitskiy -[Ryan: backported from 8090dffdad8fda86dccd47ce7a7db8840bdf7d7b] -Signed-off-by: Ryan Barnett ---- - configure.ac | 6 ++++++ - libfakeroot.c | 4 +++- - 2 files changed, 9 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index d85566f..d635df1 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -181,6 +181,9 @@ AC_MSG_CHECKING([for type of arg of __xmknod]) - #include - #include - ]], [[ -+#ifndef __GLIBC__ -+#error no extra * -+#endif - int __xmknod ( int ver, - const char *pathname , - mode_t mode , dev_t *dev); -@@ -207,6 +210,9 @@ AC_MSG_CHECKING([for type of arg of __xmknodat]) - #include - #include - ]], [[ -+#ifndef __GLIBC__ -+#error no extra * -+#endif - int __xmknodat ( int ver, - int dirfd, - const char *pathname , -diff --git a/libfakeroot.c b/libfakeroot.c -index d75c51f..ec4e577 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -1352,7 +1352,8 @@ int renameat(int olddir_fd, const char *oldpath, - #endif /* HAVE_FSTATAT */ - - --#if defined(__GLIBC__) && __GLIBC_PREREQ(2,33) -+#if defined(__GLIBC__) -+#if __GLIBC_PREREQ(2,33) - /* Glibc 2.33 exports symbols for these functions in the shared lib */ - int lstat(const char *file_name, struct stat *statbuf) { - return WRAP_LSTAT LSTAT_ARG(_STAT_VER, file_name, statbuf); -@@ -1397,6 +1398,7 @@ int renameat(int olddir_fd, const char *oldpath, - return WRAP_MKNODAT MKNODAT_ARG(_STAT_VER, dir_fd, pathname, mode, &dev); - } - #endif -+#endif /* __GLIBC__ */ - #endif /* GLIBC_PREREQ */ - - --- -2.25.1 - diff --git a/package/fakeroot/fakeroot.hash b/package/fakeroot/fakeroot.hash index 1a23d9e8d8..3d53eeb097 100644 --- a/package/fakeroot/fakeroot.hash +++ b/package/fakeroot/fakeroot.hash @@ -1,4 +1,4 @@ -# From http://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.25.3-1.dsc -sha256 8e903683357f7f5bcc31b879fd743391ad47691d4be33d24a76be3b6c21e956c fakeroot_1.25.3.orig.tar.gz +# From http://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.26-1.dsc +sha256 480a578ffdc5592e73df4c086950d321b4adc78dbdaec56c82e4fe1fb68de8e9 fakeroot_1.26.orig.tar.gz # License files, locally calculated sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk index c3312b777b..3fadf1c0f0 100644 --- a/package/fakeroot/fakeroot.mk +++ b/package/fakeroot/fakeroot.mk @@ -4,9 +4,9 @@ # ################################################################################ -FAKEROOT_VERSION = 1.25.3 +FAKEROOT_VERSION = 1.26 FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.gz -FAKEROOT_SITE = https://snapshot.debian.org/archive/debian/20201008T205817Z/pool/main/f/fakeroot +FAKEROOT_SITE = https://snapshot.debian.org/archive/debian/20210907T092512Z/pool/main/f/fakeroot HOST_FAKEROOT_DEPENDENCIES = host-acl # Force capabilities detection off @@ -15,8 +15,6 @@ HOST_FAKEROOT_DEPENDENCIES = host-acl HOST_FAKEROOT_CONF_ENV = \ ac_cv_header_sys_capability_h=no \ ac_cv_func_capset=no -# patching configure.ac in patch 0003 -HOST_FAKEROOT_AUTORECONF = YES FAKEROOT_LICENSE = GPL-3.0+ FAKEROOT_LICENSE_FILES = COPYING From 4042a4573ab330fc558865715d4fee6d1eb74f52 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Tue, 15 Mar 2022 23:37:37 +1030 Subject: [PATCH 016/150] fakeroot: Fix segfault on ppc64le When generating a filesystem image on a power10 build machine running Ubuntu, we see a segfault when fakeroot is running chmod. This has been reported and fixed upstream in Debian in version 1.26-1.2: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995393#53 Add the same patch to resolve the segfault. Signed-off-by: Joel Stanley [Arnout: add patch signoff and give proper name (check-package)] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .../0001-fix-prototype-generation.patch | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 package/fakeroot/0001-fix-prototype-generation.patch diff --git a/package/fakeroot/0001-fix-prototype-generation.patch b/package/fakeroot/0001-fix-prototype-generation.patch new file mode 100644 index 0000000000..960bad2129 --- /dev/null +++ b/package/fakeroot/0001-fix-prototype-generation.patch @@ -0,0 +1,61 @@ +Subject: Fix prototype generation for openat +Author: Christoph Biedl +Date: 2021-12-30 +Bug-Debian: https://bugs.debian.org/995393 +Forwarded: Yes (implicitely) + + As jrtc27 pointed out in IRC, ppc64el is more strict than other + architectures when it comes to va_arg handling: + + it's that ppc64le uses the elfv2 abi, and for variadic calls you + must reserve space for a parameter save area + + So enhance wrapawk to create a proper prototype and argument + handling although it's specific to the openat call. Also add the + missing documentation for the sixth column to wrapfunc.inp. + +Signed-off-by: Joel Stanley + +--- a/wrapawk ++++ b/wrapawk +@@ -37,7 +37,25 @@ + argtype=$3; + argname=$4; + MACRO=$5; +- if(MACRO){ ++ openat_extra=$6; ++ if(openat_extra){ ++ print " {(void(*))&next_" name ", \"" name "\"}," > structfile; ++ print "extern " ret " (*next_" name ")" openat_extra ";" > headerfile; ++ print ret " (*next_" name ")" openat_extra "=tmp_" name ";"> deffile; ++ ++ print ret " tmp_" name, openat_extra "{" > tmpffile; ++ print " mode_t mode = 0;" > tmpffile; ++ print " if (flags & O_CREAT) {" > tmpffile; ++ print " va_list args;" > tmpffile; ++ print " va_start(args, flags);" > tmpffile; ++ print " mode = va_arg(args, int);" > tmpffile; ++ print " va_end(args);" > tmpffile; ++ print " }" > tmpffile; ++ print " load_library_symbols();" > tmpffile; ++ print " return next_" name, argname ";" > tmpffile; ++ print "}" > tmpffile; ++ print "" > tmpffile; ++ } else if(MACRO){ + print " {(void(*))&NEXT_" MACRO "_NOARG, " name "_QUOTE}," > structfile; + print "extern " ret " (*NEXT_" MACRO "_NOARG)" argtype ";" > headerfile; + print ret " (*NEXT_" MACRO "_NOARG)" argtype "=TMP_" MACRO ";"> deffile; +--- a/wrapfunc.inp ++++ b/wrapfunc.inp +@@ -9,8 +9,10 @@ + /**/ */ + /* each line of this file lists 4 fields, seperated by a ";". */ + /* The first field is the name of the wrapped function, then it's return */ +-/* value. After that come the function arguments with types, and the last */ ++/* value. After that come the function arguments with types, and the fifth */ + /* field contains the function arguments without types. */ ++/* A sixth field is a special needed when wrapping the openat syscall. */ ++/* Otherwise it's like the third (function arguments with types). */ + /**/ + + /* __*xstat are used on glibc systems instead of just *xstat. */ From 1a6620ed56774b9b7949e1461b29e01e4712117d Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 18 Nov 2022 20:00:14 +0100 Subject: [PATCH 017/150] package/fakeroot: bump to version 1.30.1 remove upstream patch remove mkdir build-aux (no longer needed, like AUTORECONF) Signed-off-by: Francois Perrad [yann.morin.1998@free.fr: keep using snapshot.debian.org] Signed-off-by: Yann E. MORIN --- .../0001-fix-prototype-generation.patch | 61 ------------------- package/fakeroot/fakeroot.hash | 4 +- package/fakeroot/fakeroot.mk | 9 +-- 3 files changed, 4 insertions(+), 70 deletions(-) delete mode 100644 package/fakeroot/0001-fix-prototype-generation.patch diff --git a/package/fakeroot/0001-fix-prototype-generation.patch b/package/fakeroot/0001-fix-prototype-generation.patch deleted file mode 100644 index 960bad2129..0000000000 --- a/package/fakeroot/0001-fix-prototype-generation.patch +++ /dev/null @@ -1,61 +0,0 @@ -Subject: Fix prototype generation for openat -Author: Christoph Biedl -Date: 2021-12-30 -Bug-Debian: https://bugs.debian.org/995393 -Forwarded: Yes (implicitely) - - As jrtc27 pointed out in IRC, ppc64el is more strict than other - architectures when it comes to va_arg handling: - - it's that ppc64le uses the elfv2 abi, and for variadic calls you - must reserve space for a parameter save area - - So enhance wrapawk to create a proper prototype and argument - handling although it's specific to the openat call. Also add the - missing documentation for the sixth column to wrapfunc.inp. - -Signed-off-by: Joel Stanley - ---- a/wrapawk -+++ b/wrapawk -@@ -37,7 +37,25 @@ - argtype=$3; - argname=$4; - MACRO=$5; -- if(MACRO){ -+ openat_extra=$6; -+ if(openat_extra){ -+ print " {(void(*))&next_" name ", \"" name "\"}," > structfile; -+ print "extern " ret " (*next_" name ")" openat_extra ";" > headerfile; -+ print ret " (*next_" name ")" openat_extra "=tmp_" name ";"> deffile; -+ -+ print ret " tmp_" name, openat_extra "{" > tmpffile; -+ print " mode_t mode = 0;" > tmpffile; -+ print " if (flags & O_CREAT) {" > tmpffile; -+ print " va_list args;" > tmpffile; -+ print " va_start(args, flags);" > tmpffile; -+ print " mode = va_arg(args, int);" > tmpffile; -+ print " va_end(args);" > tmpffile; -+ print " }" > tmpffile; -+ print " load_library_symbols();" > tmpffile; -+ print " return next_" name, argname ";" > tmpffile; -+ print "}" > tmpffile; -+ print "" > tmpffile; -+ } else if(MACRO){ - print " {(void(*))&NEXT_" MACRO "_NOARG, " name "_QUOTE}," > structfile; - print "extern " ret " (*NEXT_" MACRO "_NOARG)" argtype ";" > headerfile; - print ret " (*NEXT_" MACRO "_NOARG)" argtype "=TMP_" MACRO ";"> deffile; ---- a/wrapfunc.inp -+++ b/wrapfunc.inp -@@ -9,8 +9,10 @@ - /**/ */ - /* each line of this file lists 4 fields, seperated by a ";". */ - /* The first field is the name of the wrapped function, then it's return */ --/* value. After that come the function arguments with types, and the last */ -+/* value. After that come the function arguments with types, and the fifth */ - /* field contains the function arguments without types. */ -+/* A sixth field is a special needed when wrapping the openat syscall. */ -+/* Otherwise it's like the third (function arguments with types). */ - /**/ - - /* __*xstat are used on glibc systems instead of just *xstat. */ diff --git a/package/fakeroot/fakeroot.hash b/package/fakeroot/fakeroot.hash index 3d53eeb097..5c50c83e13 100644 --- a/package/fakeroot/fakeroot.hash +++ b/package/fakeroot/fakeroot.hash @@ -1,4 +1,4 @@ -# From http://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.26-1.dsc -sha256 480a578ffdc5592e73df4c086950d321b4adc78dbdaec56c82e4fe1fb68de8e9 fakeroot_1.26.orig.tar.gz +# From https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.30.1-1.dsc +sha256 32ebb1f421aca0db7141c32a8c104eb95d2b45c393058b9435fbf903dd2b6a75 fakeroot_1.30.1.orig.tar.gz # License files, locally calculated sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk index 3fadf1c0f0..20c75d6966 100644 --- a/package/fakeroot/fakeroot.mk +++ b/package/fakeroot/fakeroot.mk @@ -4,9 +4,9 @@ # ################################################################################ -FAKEROOT_VERSION = 1.26 +FAKEROOT_VERSION = 1.30.1 FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.gz -FAKEROOT_SITE = https://snapshot.debian.org/archive/debian/20210907T092512Z/pool/main/f/fakeroot +FAKEROOT_SITE = https://snapshot.debian.org/archive/debian/20221120T030258Z/pool/main/f/fakeroot HOST_FAKEROOT_DEPENDENCIES = host-acl # Force capabilities detection off @@ -18,9 +18,4 @@ HOST_FAKEROOT_CONF_ENV = \ FAKEROOT_LICENSE = GPL-3.0+ FAKEROOT_LICENSE_FILES = COPYING -define HOST_FAKEROOT_BUILD_AUX - mkdir -p $(@D)/build-aux -endef -HOST_FAKEROOT_POST_PATCH_HOOKS += HOST_FAKEROOT_BUILD_AUX - $(eval $(host-autotools-package)) From 18c608563dc90c9c38b70e7053f864db9cb97d55 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Thu, 20 Jan 2022 20:26:26 +0100 Subject: [PATCH 018/150] package/bash: bump version to 5.1.16 - remove upstream patch level patches 0001-bash51-001.patch 0002-bash51-002.patch 0003-bash51-003.patch 0004-bash51-004.patch - renumber remaining patches For details see [1]. [1] http://git.savannah.gnu.org/cgit/bash.git/log Signed-off-by: Peter Seiderer Signed-off-by: Yann E. MORIN --- package/bash/0001-bash51-001.patch | 83 ----------- ...ut.h-add-missing-include-on-stdio.h.patch} | 0 package/bash/0002-bash51-002.patch | 60 -------- ...ocal_shiftstates-vs.-locale_shiftst.patch} | 0 package/bash/0003-bash51-003.patch | 56 -------- ...uote_pathname-vs.-udequote_pathname.patch} | 0 package/bash/0004-bash51-004.patch | 129 ------------------ package/bash/bash.hash | 4 +- package/bash/bash.mk | 2 +- 9 files changed, 3 insertions(+), 331 deletions(-) delete mode 100644 package/bash/0001-bash51-001.patch rename package/bash/{0005-input.h-add-missing-include-on-stdio.h.patch => 0001-input.h-add-missing-include-on-stdio.h.patch} (100%) delete mode 100644 package/bash/0002-bash51-002.patch rename package/bash/{0006-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch => 0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch} (100%) delete mode 100644 package/bash/0003-bash51-003.patch rename package/bash/{0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch => 0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch} (100%) delete mode 100644 package/bash/0004-bash51-004.patch diff --git a/package/bash/0001-bash51-001.patch b/package/bash/0001-bash51-001.patch deleted file mode 100644 index 8f18cccc31..0000000000 --- a/package/bash/0001-bash51-001.patch +++ /dev/null @@ -1,83 +0,0 @@ -[From http://mirror.keystealth.org/gnu/bash/bash-5.1-patches/bash51-001] -Signed-off-by: Peter Seiderer - - BASH PATCH REPORT - ================= - -Bash-Release: 5.1 -Patch-ID: bash51-001 - -Bug-Reported-by: Fazal Majid -Bug-Reference-ID: -Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00000.html - -Bug-Description: - -There is a missing dependency on a constructed file, which can cause highly -parellel builds to fail. - -Patch (apply with `patch -p0'): - -*** ../bash-5.1-patched/Makefile.in 2020-12-04 09:51:19.000000000 -0500 ---- b/Makefile.in 2020-12-16 11:28:36.000000000 -0500 -*************** -*** 1316,1319 **** ---- 1316,1320 ---- - bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h - bashline.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h -+ bashline.o: ${DEFDIR}/builtext.h - bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h - bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h -*************** -*** 1436,1439 **** ---- 1437,1441 ---- - builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h - builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h pathnames.h -+ builtins/evalstring.o: ${DEFDIR}/builtext.h - builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h - builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h - -*** ../bash-5.1-patched/builtins/Makefile.in 2019-07-25 08:03:45.000000000 -0400 ---- b/builtins/Makefile.in 2020-12-16 11:29:29.000000000 -0500 -*************** -*** 362,366 **** - evalstring.o: $(topdir)/flags.h $(topdir)/input.h $(topdir)/execute_cmd.h - evalstring.o: $(topdir)/bashhist.h $(srcdir)/common.h -! evalstring.o: $(topdir)/trap.h $(topdir)/redir.h ../pathnames.h - #evalstring.o: $(topdir)/y.tab.h - getopt.o: ../config.h $(BASHINCDIR)/memalloc.h ---- 362,366 ---- - evalstring.o: $(topdir)/flags.h $(topdir)/input.h $(topdir)/execute_cmd.h - evalstring.o: $(topdir)/bashhist.h $(srcdir)/common.h -! evalstring.o: $(topdir)/trap.h $(topdir)/redir.h ../pathnames.h ./builtext.h - #evalstring.o: $(topdir)/y.tab.h - getopt.o: ../config.h $(BASHINCDIR)/memalloc.h - -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 ---- b/patchlevel.h 2020-10-01 11:01:28.000000000 -0400 -*************** -*** 1,5 **** - /* patchlevel.h -- current bash patch level */ - -! /* Copyright (C) 2001-2016 Free Software Foundation, Inc. - - This file is part of GNU Bash, the Bourne Again SHell. ---- 1,5 ---- - /* patchlevel.h -- current bash patch level */ - -! /* Copyright (C) 2001-2020 Free Software Foundation, Inc. - - This file is part of GNU Bash, the Bourne Again SHell. -*************** -*** 26,30 **** - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 0 - - #endif /* _PATCHLEVEL_H_ */ ---- 26,30 ---- - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 1 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/package/bash/0005-input.h-add-missing-include-on-stdio.h.patch b/package/bash/0001-input.h-add-missing-include-on-stdio.h.patch similarity index 100% rename from package/bash/0005-input.h-add-missing-include-on-stdio.h.patch rename to package/bash/0001-input.h-add-missing-include-on-stdio.h.patch diff --git a/package/bash/0002-bash51-002.patch b/package/bash/0002-bash51-002.patch deleted file mode 100644 index c9836082c1..0000000000 --- a/package/bash/0002-bash51-002.patch +++ /dev/null @@ -1,60 +0,0 @@ -[From http://mirror.keystealth.org/gnu/bash/bash-5.1-patches/bash51-002] -Signed-off-by: Peter Seiderer - - BASH PATCH REPORT - ================= - -Bash-Release: 5.1 -Patch-ID: bash51-002 - -Bug-Reported-by: oguzismailuysal@gmail.com -Bug-Reference-ID: -Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00037.html - -Bug-Description: - -If there are no jobs, and the `-n' and `-p' options are both supplied to -`wait', bash can assign a value to the variable name specified with `-p' -instead of leaving it unset. - -Patch (apply with `patch -p0'): - -*** ../bash-5.1-patched/builtins/wait.def 2020-04-09 15:13:57.000000000 -0400 ---- b/builtins/wait.def 2020-12-11 09:46:49.000000000 -0500 -*************** -*** 214,222 **** - - status = wait_for_any_job (wflags, &pstat); -- if (status < 0) -- status = 127; -- - if (vname && status >= 0) - bind_var_to_int (vname, pstat.pid); - if (list) - unset_waitlist (); ---- 214,222 ---- - - status = wait_for_any_job (wflags, &pstat); - if (vname && status >= 0) - bind_var_to_int (vname, pstat.pid); -+ -+ if (status < 0) -+ status = 127; - if (list) - unset_waitlist (); - -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 ---- b/patchlevel.h 2020-10-01 11:01:28.000000000 -0400 -*************** -*** 26,30 **** - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 1 - - #endif /* _PATCHLEVEL_H_ */ ---- 26,30 ---- - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 2 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/package/bash/0006-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch b/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch similarity index 100% rename from package/bash/0006-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch rename to package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch diff --git a/package/bash/0003-bash51-003.patch b/package/bash/0003-bash51-003.patch deleted file mode 100644 index ff13fb0c9f..0000000000 --- a/package/bash/0003-bash51-003.patch +++ /dev/null @@ -1,56 +0,0 @@ -[From http://mirror.keystealth.org/gnu/bash/bash-5.1-patches/bash51-003] -Signed-off-by: Peter Seiderer - - BASH PATCH REPORT - ================= - -Bash-Release: 5.1 -Patch-ID: bash51-003 - -Bug-Reported-by: oguzismailuysal@gmail.com -Bug-Reference-ID: -Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00050.html - -Bug-Description: - -Bash does not put a command substitution process that is started to perform an -expansion in a child process into the right process group where it can receive -keyboard-generated signals. - -Patch (apply with `patch -p0'): - -*** ../bash-5.1-patched/subst.c 2020-11-16 10:33:15.000000000 -0500 ---- b/subst.c 2020-12-12 13:50:11.000000000 -0500 -*************** -*** 6357,6362 **** - #if defined (JOB_CONTROL) - old_pipeline_pgrp = pipeline_pgrp; -! /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline. */ -! if ((subshell_environment & SUBSHELL_PIPE) == 0) - pipeline_pgrp = shell_pgrp; - cleanup_the_pipeline (); ---- 6357,6364 ---- - #if defined (JOB_CONTROL) - old_pipeline_pgrp = pipeline_pgrp; -! /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline or -! we've already forked to run a disk command (and are expanding redirections, -! for example). */ -! if ((subshell_environment & (SUBSHELL_FORK|SUBSHELL_PIPE)) == 0) - pipeline_pgrp = shell_pgrp; - cleanup_the_pipeline (); - -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 ---- b/patchlevel.h 2020-10-01 11:01:28.000000000 -0400 -*************** -*** 26,30 **** - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 2 - - #endif /* _PATCHLEVEL_H_ */ ---- 26,30 ---- - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 3 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/package/bash/0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch b/package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch similarity index 100% rename from package/bash/0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch rename to package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch diff --git a/package/bash/0004-bash51-004.patch b/package/bash/0004-bash51-004.patch deleted file mode 100644 index 48a38645f7..0000000000 --- a/package/bash/0004-bash51-004.patch +++ /dev/null @@ -1,129 +0,0 @@ -[From http://mirror.keystealth.org/gnu/bash/bash-5.1-patches/bash51-004] -Signed-off-by: Peter Seiderer - - BASH PATCH REPORT - ================= - -Bash-Release: 5.1 -Patch-ID: bash51-004 - -Bug-Reported-by: oguzismailuysal@gmail.com -Bug-Reference-ID: -Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00039.html - -Bug-Description: - -If a key-value compound array assignment to an associative array is supplied -as an assignment statement argument to the `declare' command that declares the -array, the assignment doesn't perform the correct word expansions. - -This patch makes key-value assignment and subscript assignment perform the -same expansions when they're supplied as an argument to `declare'. - -Patch (apply with `patch -p0'): - -*** ../bash-5.1-patched/arrayfunc.c 2020-10-09 11:38:58.000000000 -0400 ---- b/arrayfunc.c 2020-12-11 15:12:22.000000000 -0500 -*************** -*** 598,601 **** ---- 598,622 ---- - } - } -+ -+ /* Return non-zero if L appears to be a key-value pair associative array -+ compound assignment. */ -+ int -+ kvpair_assignment_p (l) -+ WORD_LIST *l; -+ { -+ return (l && (l->word->flags & W_ASSIGNMENT) == 0 && l->word->word[0] != '['); /*]*/ -+ } -+ -+ char * -+ expand_and_quote_kvpair_word (w) -+ char *w; -+ { -+ char *t, *r; -+ -+ t = w ? expand_assignment_string_to_string (w, 0) : 0; -+ r = sh_single_quote (t ? t : ""); -+ free (t); -+ return r; -+ } - #endif - -*************** -*** 641,645 **** - - #if ASSOC_KVPAIR_ASSIGNMENT -! if (assoc_p (var) && nlist && (nlist->word->flags & W_ASSIGNMENT) == 0 && nlist->word->word[0] != '[') /*]*/ - { - iflags = flags & ~ASS_APPEND; ---- 662,666 ---- - - #if ASSOC_KVPAIR_ASSIGNMENT -! if (assoc_p (var) && kvpair_assignment_p (nlist)) - { - iflags = flags & ~ASS_APPEND; -*** ../bash-5.1-patched/arrayfunc.h 2020-04-29 17:24:15.000000000 -0400 ---- b/arrayfunc.h 2020-12-11 14:23:50.000000000 -0500 -*************** -*** 68,71 **** ---- 68,74 ---- - extern void quote_compound_array_list PARAMS((WORD_LIST *, int)); - -+ extern int kvpair_assignment_p PARAMS((WORD_LIST *)); -+ extern char *expand_and_quote_kvpair_word PARAMS((char *)); -+ - extern int unbind_array_element PARAMS((SHELL_VAR *, char *, int)); - extern int skipsubscript PARAMS((const char *, int, int)); -*** ../bash-5.1-patched/subst.c 2020-11-16 10:33:15.000000000 -0500 ---- b/subst.c 2020-12-11 15:11:10.000000000 -0500 -*************** -*** 11605,11608 **** ---- 11605,11609 ---- - WORD_LIST *l, *nl; - char *t; -+ int kvpair; - - if (flags == 0) -*************** -*** 11619,11622 **** ---- 11620,11627 ---- - /* Associative array */ - l = parse_string_to_word_list (value, 1, "array assign"); -+ #if ASSOC_KVPAIR_ASSIGNMENT -+ kvpair = kvpair_assignment_p (l); -+ #endif -+ - /* For associative arrays, with their arbitrary subscripts, we have to - expand and quote in one step so we don't have to search for the -*************** -*** 11624,11627 **** ---- 11629,11638 ---- - for (nl = l; nl; nl = nl->next) - { -+ #if ASSOC_KVPAIR_ASSIGNMENT -+ if (kvpair) -+ /* keys and values undergo the same set of expansions */ -+ t = expand_and_quote_kvpair_word (nl->word->word); -+ else -+ #endif - if ((nl->word->flags & W_ASSIGNMENT) == 0) - t = sh_single_quote (nl->word->word ? nl->word->word : ""); - -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 ---- b/patchlevel.h 2020-10-01 11:01:28.000000000 -0400 -*************** -*** 26,30 **** - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 3 - - #endif /* _PATCHLEVEL_H_ */ ---- 26,30 ---- - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 4 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/package/bash/bash.hash b/package/bash/bash.hash index 2e547c8c30..4660e9d38a 100644 --- a/package/bash/bash.hash +++ b/package/bash/bash.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature from -# http://mirror.keystealth.org/gnu/bash/bash-5.1.tar.gz.sig -sha256 cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa bash-5.1.tar.gz +# https://ftp.gnu.org/gnu/bash/bash-5.1.16.tar.gz.sig +sha256 5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558 bash-5.1.16.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 7b853ece08..3aca22898e 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -4,7 +4,7 @@ # ################################################################################ -BASH_VERSION = 5.1 +BASH_VERSION = 5.1.16 BASH_SITE = $(BR2_GNU_MIRROR)/bash BASH_DEPENDENCIES = ncurses readline host-bison BASH_LICENSE = GPL-3.0+ From 2c91fdee2550d14ccec930663795d1087a86911e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= Date: Tue, 3 Jan 2023 14:56:17 +0100 Subject: [PATCH 019/150] bash: bump version to 5.2.15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Hundebøll Signed-off-by: Peter Korsgaard --- ...local_shiftstates-vs.-locale_shiftst.patch | 72 ------------------- ...quote_pathname-vs.-udequote_pathname.patch | 40 ----------- package/bash/bash.hash | 4 +- package/bash/bash.mk | 2 +- 4 files changed, 3 insertions(+), 115 deletions(-) delete mode 100644 package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch delete mode 100644 package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch diff --git a/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch b/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch deleted file mode 100644 index 1636c18036..0000000000 --- a/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 3d6b9e18506ad9daf4ec7b7d406b38d58ec88009 Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Thu, 11 Mar 2021 20:48:36 +0100 -Subject: [PATCH] locale: fix typo local_shiftstates vs. locale_shiftstates -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fixes: - - locale.c:94:3: error: ‘local_shiftstates’ undeclared (first use in this function); did you mean ‘locale_shiftstates’? - 94 | local_shiftstates = 0; - | ^~~~~~~~~~~~~~~~~ - | locale_shiftstates - -Signed-off-by: Peter Seiderer ---- - locale.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/locale.c b/locale.c -index 17ccc58..d6dd95a 100644 ---- a/locale.c -+++ b/locale.c -@@ -91,7 +91,7 @@ set_default_locale () - #if defined (HANDLE_MULTIBYTE) - locale_shiftstates = mblen ((char *)NULL, 0); - #else -- local_shiftstates = 0; -+ locale_shiftstates = 0; - #endif - } - -@@ -117,7 +117,7 @@ set_default_locale_vars () - # if defined (HANDLE_MULTIBYTE) - locale_shiftstates = mblen ((char *)NULL, 0); - # else -- local_shiftstates = 0; -+ locale_shiftstates = 0; - # endif - - u32reset (); -@@ -226,7 +226,7 @@ set_locale_var (var, value) - # if defined (HANDLE_MULTIBYTE) - locale_shiftstates = mblen ((char *)NULL, 0); - # else -- local_shiftstates = 0; -+ locale_shiftstates = 0; - # endif - u32reset (); - return r; -@@ -250,7 +250,7 @@ set_locale_var (var, value) - #if defined (HANDLE_MULTIBYTE) - locale_shiftstates = mblen ((char *)NULL, 0); - #else -- local_shiftstates = 0; -+ locale_shiftstates = 0; - #endif - u32reset (); - } -@@ -391,7 +391,7 @@ reset_locale_vars () - # if defined (HANDLE_MULTIBYTE) - locale_shiftstates = mblen ((char *)NULL, 0); - # else -- local_shiftstates = 0; -+ locale_shiftstates = 0; - # endif - u32reset (); - #endif --- -2.30.1 - diff --git a/package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch b/package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch deleted file mode 100644 index a801f68236..0000000000 --- a/package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch +++ /dev/null @@ -1,40 +0,0 @@ -From a60ab1e5e88863acf9b0e9bcaa7919bbf093da05 Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Thu, 11 Mar 2021 20:55:52 +0100 -Subject: [PATCH] glob: fix dequote_pathname vs. udequote_pathname -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fixes: - - glob.c:123:28: error: static declaration of ‘udequote_pathname’ follows non-static declaration - 123 | # define dequote_pathname udequote_pathname - | ^~~~~~~~~~~~~~~~~ - glob.c:125:13: note: in expansion of macro ‘dequote_pathname’ - 125 | static void dequote_pathname PARAMS((char *)); - | ^~~~~~~~~~~~~~~~ - glob.c:118:6: note: previous declaration of ‘udequote_pathname’ was here - 118 | void udequote_pathname PARAMS((char *)); - | ^~~~~~~~~~~~~~~~~ - -Signed-off-by: Peter Seiderer ---- - lib/glob/glob.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/lib/glob/glob.c b/lib/glob/glob.c -index eb6277f..c903b15 100644 ---- a/lib/glob/glob.c -+++ b/lib/glob/glob.c -@@ -117,6 +117,5 @@ static int mbskipname PARAMS((char *, char *, int)); - #else - # define dequote_pathname udequote_pathname - #endif --static void dequote_pathname PARAMS((char *)); - static int glob_testdir PARAMS((char *, int)); - static char **glob_dir_to_array PARAMS((char *, char **, int)); - --- -2.30.1 - diff --git a/package/bash/bash.hash b/package/bash/bash.hash index 4660e9d38a..e0a1ebac91 100644 --- a/package/bash/bash.hash +++ b/package/bash/bash.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature from -# https://ftp.gnu.org/gnu/bash/bash-5.1.16.tar.gz.sig -sha256 5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558 bash-5.1.16.tar.gz +# https://ftp.gnu.org/gnu/bash/bash-5.2.15.tar.gz.sig +sha256 13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c bash-5.2.15.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 3aca22898e..ec5e2d722f 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -4,7 +4,7 @@ # ################################################################################ -BASH_VERSION = 5.1.16 +BASH_VERSION = 5.2.15 BASH_SITE = $(BR2_GNU_MIRROR)/bash BASH_DEPENDENCIES = ncurses readline host-bison BASH_LICENSE = GPL-3.0+ From 970015b87053680d551abb19f6c569da2e993dc3 Mon Sep 17 00:00:00 2001 From: Vincent Fazio Date: Sat, 28 Jan 2023 13:14:09 -0600 Subject: [PATCH 020/150] package/bash: fix non-multibyte builds Builds using toolchains without WCHAR support would fail due to an undeclared reference to `shell_input_line_property`. Fix this by using a guard to check if ENABLE_MULTIBYTE is defined. Fixes: - http://autobuild.buildroot.net/results/133ddcbc37512e6bcc5daab669ce316efa7ec4fc/ Signed-off-by: Vincent Fazio Signed-off-by: Yann E. MORIN --- ...compilation-for-non-multibyte-builds.patch | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch diff --git a/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch b/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch new file mode 100644 index 0000000000..d330de5cd4 --- /dev/null +++ b/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch @@ -0,0 +1,63 @@ +From 0217fc2816e47ee296472df71d1011f0eb2937e6 Mon Sep 17 00:00:00 2001 +From: Vincent Fazio +Date: Fri, 27 Jan 2023 14:37:26 -0600 +Subject: [PATCH] parse.y: fix compilation for non-multibyte builds + +Builds configured with --disable-multibyte or when the toolchain does +not have WCHAR support would encounter a compile error due to an +undeclared reference to shell_input_line_property in shell_getc. + +Add a HANDLE_MULTIBYTE guard to conditionally compile the block that +references shell_input_line_property in shell_getc as it's only declared +when HANDLE_MULTIBYTE is defined. + +Signed-off-by: Vincent Fazio +[Upstream status: https://savannah.gnu.org/patch/index.php?10309] +--- + parse.y | 2 ++ + y.tab.c | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/parse.y b/parse.y +index 1d12e639..8f1355c6 100644 +--- a/parse.y ++++ b/parse.y +@@ -2625,6 +2625,7 @@ next_alias_char: + parser_state |= PST_ENDALIAS; + /* We need to do this to make sure last_shell_getc_is_singlebyte returns + true, since we are returning a single-byte space. */ ++#if defined (HANDLE_MULTIBYTE) + if (shell_input_line_index == shell_input_line_len && last_shell_getc_is_singlebyte == 0) + { + #if 0 +@@ -2638,6 +2639,7 @@ next_alias_char: + shell_input_line_property[shell_input_line_index - 1] = 1; + #endif + } ++#endif /* HANDLE_MULTIBYTE */ + return ' '; /* END_ALIAS */ + } + #endif +diff --git a/y.tab.c b/y.tab.c +index 50c5845b..799f730f 100644 +--- a/y.tab.c ++++ b/y.tab.c +@@ -4936,6 +4936,7 @@ next_alias_char: + parser_state |= PST_ENDALIAS; + /* We need to do this to make sure last_shell_getc_is_singlebyte returns + true, since we are returning a single-byte space. */ ++#if defined (HANDLE_MULTIBYTE) + if (shell_input_line_index == shell_input_line_len && last_shell_getc_is_singlebyte == 0) + { + #if 0 +@@ -4949,6 +4950,7 @@ next_alias_char: + shell_input_line_property[shell_input_line_index - 1] = 1; + #endif + } ++#endif /* HANDLE_MULTIBYTE */ + return ' '; /* END_ALIAS */ + } + #endif +-- +2.25.1 + From eac5d31786d7a28d97bb47c927e5194c4a93469f Mon Sep 17 00:00:00 2001 From: Vincent Fazio Date: Tue, 7 Feb 2023 05:26:44 -0600 Subject: [PATCH 021/150] package/bash: fix strtoimax builtin inclusion logic Backport fixes from upstream to fix an issue where the strtoimax builtin got built when not necessary. This resolves bash static builds issues when using musl and uClibc. We fix both the m4 file and configure in that order, to be safe andnot trigger an automatic autoreconf (even though bash does not have a rule to automatically regenerate configure if an m4 file changes). Fixes: http://autobuild.buildroot.org/results/f8c/f8cb91f7f9ac6a46bb2ecfc22c1e42cf699f28d3// http://autobuild.buildroot.org/results/b0e/b0e5fcab9eeb799e31bca27fcb7280b728349bc6// Upstream: https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=43e861c2cd840946a81dfd0386966eb4f3a17ce9 Signed-off-by: Vincent Fazio [yann.morin.1998@free.fr: - patch configure after the m4 file - add blurb in commit log to explain that ] Signed-off-by: Yann E. MORIN --- ...vert-condition-for-strtoimax-builtin.patch | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch diff --git a/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch b/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch new file mode 100644 index 0000000000..c412dcfce2 --- /dev/null +++ b/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch @@ -0,0 +1,62 @@ +From 754e0d1edc1c01b18f4890de7c58f7610e589d76 Mon Sep 17 00:00:00 2001 +From: Vincent Fazio +Date: Tue, 7 Feb 2023 03:55:28 -0600 +Subject: [PATCH] configure: invert condition for strtoimax builtin + +Previously, bash would attempt to build a replacement for strtoimax if +it found that the C library had the function already declared. + +This caused build errors when linking against static libraries that did +not define the function as a weak alias but, in reality, was a logic +error since bash should only provide it's own implementation if one is +not provided by the C library. + +Now, fix this by inverting the logic. + +Upstream: + https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=43e861c2cd840946a81dfd0386966eb4f3a17ce9 + +Signed-off-by: Vincent Fazio +[yann.morin.1998@free.fr: patch configure after the m file] +Signed-off-by: Yann E. MORIN +--- + configure | 6 +++++- + m4/strtoimax.m4 | 5 ++++- + 2 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4 +index 30985723..fa43ac7b 100644 +--- a/m4/strtoimax.m4 ++++ b/m4/strtoimax.m4 +@@ -29,7 +29,10 @@ AC_CACHE_VAL(bash_cv_func_strtoimax, + fi + ]) + AC_MSG_RESULT($bash_cv_func_strtoimax) +-if test $bash_cv_func_strtoimax = yes; then ++if test "$ac_cv_have_decl_strtoimax" = "yes" ; then ++AC_DEFINE([HAVE_DECL_STRTOIMAX], [1]) ++fi ++if test $bash_cv_func_strtoimax = no; then + AC_LIBOBJ(strtoimax) + fi + ]) +diff --git a/configure b/configure +index 47313753..6039cee7 100755 +--- a/configure ++++ b/configure +@@ -20443,7 +20443,11 @@ fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bash_cv_func_strtoimax" >&5 + printf "%s\n" "$bash_cv_func_strtoimax" >&6; } +-if test $bash_cv_func_strtoimax = yes; then ++if test "$ac_cv_have_decl_strtoimax" = "yes" ; then ++printf "%s\n" "#define HAVE_DECL_STRTOIMAX 1" >>confdefs.h ++ ++fi ++if test $bash_cv_func_strtoimax = no; then + case " $LIBOBJS " in + *" strtoimax.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS strtoimax.$ac_objext" +-- +2.25.1 + From 19edeb22b8e43972d1f1fd1403598474e115a574 Mon Sep 17 00:00:00 2001 From: Sebastian Weyer Date: Fri, 3 Mar 2023 10:37:53 +0100 Subject: [PATCH 022/150] package/bash: fix naming of target-finalize-hook When the target-finalize-hook for bash was added in commit 311c9eebc4dcfb764e3a7082706daf68e0603188 in order to write bash into /etc/shells, it was done at the same time as for package/mksh and it was incorrectly copied and MKSH still appeared in the name of the hook. The hook is now correctly named BASH_ADD_BASH_TO_SHELLS Signed-off-by: Sebastian Weyer Signed-off-by: Peter Korsgaard --- package/bash/bash.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/bash/bash.mk b/package/bash/bash.mk index ec5e2d722f..9a73ed8c36 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -62,10 +62,10 @@ endif # Add /bin/bash to /etc/shells otherwise some login tools like dropbear # can reject the user connection. See man shells. -define BASH_ADD_MKSH_TO_SHELLS +define BASH_ADD_BASH_TO_SHELLS grep -qsE '^/bin/bash$$' $(TARGET_DIR)/etc/shells \ || echo "/bin/bash" >> $(TARGET_DIR)/etc/shells endef -BASH_TARGET_FINALIZE_HOOKS += BASH_ADD_MKSH_TO_SHELLS +BASH_TARGET_FINALIZE_HOOKS += BASH_ADD_BASH_TO_SHELLS $(eval $(autotools-package)) From b2d3d1f8ef6e52f3a63a0d1068ff47e0b9de8ed7 Mon Sep 17 00:00:00 2001 From: Kadambini Nema Date: Wed, 14 Feb 2024 22:08:14 -0800 Subject: [PATCH 023/150] package/bash: bump to version 5.2.21 Build tested using the following config option: BR2_PACKAGE_BASH=y $ ./utils/test-pkg -c bash.config -p bash bootlin-armv5-uclibc [1/6]: OK bootlin-armv7-glibc [2/6]: OK bootlin-armv7m-uclibc [3/6]: SKIPPED bootlin-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OK 6 builds, 1 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed Signed-off-by: Kadambini Nema Signed-off-by: Peter Korsgaard --- package/bash/bash.hash | 4 ++-- package/bash/bash.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/bash/bash.hash b/package/bash/bash.hash index e0a1ebac91..44c1c5ed50 100644 --- a/package/bash/bash.hash +++ b/package/bash/bash.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature from -# https://ftp.gnu.org/gnu/bash/bash-5.2.15.tar.gz.sig -sha256 13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c bash-5.2.15.tar.gz +# https://ftp.gnu.org/gnu/bash/bash-5.2.21.tar.gz.sig +sha256 c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8 bash-5.2.21.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 9a73ed8c36..9d173a5c7c 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -4,7 +4,7 @@ # ################################################################################ -BASH_VERSION = 5.2.15 +BASH_VERSION = 5.2.21 BASH_SITE = $(BR2_GNU_MIRROR)/bash BASH_DEPENDENCIES = ncurses readline host-bison BASH_LICENSE = GPL-3.0+ From d558b295045db6831cd4a06ce754a612fc439865 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Thu, 2 Jan 2025 12:00:24 +0100 Subject: [PATCH 024/150] package/bash: bump to version 5.2.37 For change log, see: https://git.savannah.gnu.org/cgit/bash.git/log/?h=c5c97b371044a44b701b6efa35984a3e1956344e Other changes: - Refactor necessary patches - Remove upstream patch 0003-configure-invert-condition-for-strtoimax-builtin.patch run-tests tests.package.test_bash.TestBash.test_run passed Signed-off-by: Adam Duskett [Julien: - add change log url in commit log - remove .checkpackageignore entry to fix check-package error - update gpg signature url in bash.hash ] Signed-off-by: Julien Olivain --- .checkpackageignore | 1375 +++++++++++++++++ ...compilation-for-non-multibyte-builds.patch | 8 +- ...vert-condition-for-strtoimax-builtin.patch | 62 - package/bash/bash.hash | 4 +- package/bash/bash.mk | 2 +- 5 files changed, 1382 insertions(+), 69 deletions(-) create mode 100644 .checkpackageignore delete mode 100644 package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch diff --git a/.checkpackageignore b/.checkpackageignore new file mode 100644 index 0000000000..7e575dc950 --- /dev/null +++ b/.checkpackageignore @@ -0,0 +1,1375 @@ +board/amarula/vyasa/post-build.sh Shellcheck +board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch lib_patch.Upstream +board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch lib_patch.Upstream +board/andes/ae350/post-build.sh Shellcheck +board/arcturus/aarch64-ucls1012a/post-build.sh Shellcheck +board/arcturus/aarch64-ucls1012a/post-image.sh Shellcheck +board/aspeed/common/post-image.sh Shellcheck +board/asus/tinker/post-build.sh Shellcheck +board/atmel/flasher.sh Shellcheck +board/beagleboard/beaglebone-qt5/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch lib_patch.Upstream +board/beagleboard/beaglebone/post-build.sh Shellcheck +board/beagleboard/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch lib_patch.Upstream +board/beagleboard/beagleboneai/post-build.sh Shellcheck +board/beelink/gs1/post-build.sh Shellcheck +board/boundarydevices/common/post-build.sh Shellcheck +board/boundarydevices/common/post-image.sh Shellcheck +board/broadcom/northstar/post-image.sh Shellcheck +board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh Shellcheck lib_shellscript.EmptyLastLine +board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh Shellcheck +board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh Shellcheck +board/bsh/imx8mn-bsh-smm-s2/flash.sh Shellcheck lib_shellscript.EmptyLastLine +board/bsh/imx8mn-bsh-smm-s2/post-build.sh Shellcheck +board/canaan/k210-soc/post-build.sh Shellcheck +board/chromebook/elm/sign.sh Shellcheck +board/chromebook/mksd.sh Shellcheck +board/chromebook/snow/sign.sh Shellcheck +board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch lib_patch.Upstream +board/freescale/common/imx/imx8-bootloader-prepare.sh Shellcheck +board/freescale/common/mxs/post-image.sh Shellcheck +board/friendlyarm/nanopi-r2s/post-build.sh Shellcheck +board/hardkernel/odroidc2/post-image.sh Shellcheck +board/hardkernel/odroidc2/rootfs_overlay/etc/init.d/S09modload Shellcheck lib_sysv.Variables +board/hardkernel/odroidxu4/post-image.sh Shellcheck lib_shellscript.EmptyLastLine +board/intel/galileo/patches/linux/0001-x86-relocs-Make-per_cpu_load_addr-static.patch lib_patch.Upstream +board/intel/galileo/post-build.sh Shellcheck +board/intel/galileo/rootfs_overlay/etc/init.d/S09modload Shellcheck lib_sysv.Variables +board/kontron/bl-imx8mm/post-build.sh Shellcheck +board/kontron/pitx-imx8m/patches/uboot/2022.04/0001-tools-mkeficapsule-use-pkg-config-to-get-luuid-and-l.patch lib_patch.NumberedSubject lib_patch.Upstream +board/kontron/pitx-imx8m/post-build.sh Shellcheck +board/kontron/smarc-sal28/post-build.sh Shellcheck +board/lego/ev3/post-image.sh Shellcheck +board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch lib_patch.Upstream +board/lemaker/bananapro/post-build.sh Shellcheck +board/lemaker/bananapro/post-image.sh Shellcheck +board/minnowboard/post-build.sh Shellcheck +board/nexbox/a95x/post-build.sh Shellcheck +board/nexbox/a95x/post-image.sh Shellcheck +board/octavo/osd32mp1-brk/patches/uboot/0001-Add-OSD32MP1-BRK-device-tree-support.patch lib_patch.NumberedSubject lib_patch.Upstream +board/octavo/osd32mp1-brk/patches/uboot/0002-Add-OSD32MP1-BRK-build-config.patch lib_patch.NumberedSubject lib_patch.Upstream +board/octavo/osd32mp1-red/patches/uboot/0001-Add-OSD32MP1-RED-Device-Tree-support.patch lib_patch.NumberedSubject lib_patch.Upstream +board/octavo/osd32mp1-red/patches/uboot/0002-configs-stm32mp15_trusted_defconfig-disable-environm.patch lib_patch.NumberedSubject lib_patch.Upstream +board/olimex/a13_olinuxino/post-build.sh Shellcheck +board/olimex/a20_olinuxino/post-build.sh Shellcheck +board/olimex/a33_olinuxino/post-build.sh Shellcheck +board/olpc/post-build.sh Shellcheck +board/orangepi/common/post-build.sh Shellcheck +board/orangepi/orangepi-lite2/post-build.sh Shellcheck +board/orangepi/orangepi-one-plus/post-build.sh Shellcheck +board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch lib_patch.Upstream +board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch lib_patch.Upstream +board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch lib_patch.Upstream +board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch lib_patch.Upstream +board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch lib_patch.Upstream +board/pine64/rock64/post-build.sh Shellcheck +board/qemu/aarch64-sbsa/assemble-flash-images Shellcheck +board/qemu/x86/post-build.sh Shellcheck +board/qemu/x86_64/post-build.sh Shellcheck +board/radxa/rockpi-n8/post-build.sh Shellcheck +board/raspberrypi/post-build.sh Shellcheck +board/raspberrypi/post-image.sh Shellcheck +board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch lib_patch.Upstream +board/roseapplepi/post-build.sh Shellcheck +board/seeed/stm32mp157c-odyssey/patches/linux/0001-ARM-dts-stm32-fix-stm32mp157c-odyssey-card-detect.patch lib_patch.Upstream +board/sheevaplug/patches/uboot/0001-Remove-redundant-YYLOC-global-declaration.patch lib_patch.Upstream +board/sifive/hifive-unleashed/post-build.sh Shellcheck +board/solidrun/clearfog/post-build.sh Shellcheck +board/solidrun/macchiatobin/post-build-mainline.sh Shellcheck +board/solidrun/macchiatobin/post-build.sh Shellcheck +board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh Shellcheck +board/stmicroelectronics/common/stm32mp1xx/post-image.sh Shellcheck +board/stmicroelectronics/stm32f429-disco/flash.sh Shellcheck +board/stmicroelectronics/stm32f469-disco/flash_sd.sh Shellcheck +board/stmicroelectronics/stm32f469-disco/flash_xip.sh Shellcheck +board/synopsys/axs10x/post-build.sh Shellcheck +board/technologic/ts4900/post-image.sh Shellcheck +board/toradex/apalis-imx6/post-image.sh Shellcheck +board/udoo/common/post-build.sh Shellcheck +boot/afboot-stm32/0003-Makefile-disable-stack-protector.patch lib_patch.Upstream +boot/optee-os/3.13.0/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch lib_patch.Upstream +boot/syslinux/0001-bios-Fix-alignment-change-with-gcc-5.patch lib_patch.Upstream +boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch lib_patch.Upstream +boot/syslinux/0003-memdisk-Force-ld-output-format-to-32-bits.patch lib_patch.Upstream +boot/syslinux/0004-utils-Use-the-host-toolchain-to-build.patch lib_patch.Upstream +boot/syslinux/0005-lzo-Use-the-host-toolchain-for-prepcore.patch lib_patch.Upstream +boot/syslinux/0006-The-VPrint-definition-is-now-part-of-the-exports-of-.patch lib_patch.Upstream +boot/syslinux/0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch lib_patch.Upstream +boot/syslinux/0008-efi-wrapper-build-it-with-the-host-toolchain.patch lib_patch.Upstream +boot/syslinux/0011-extlinux-Use-the-host-toolchain-to-build.patch lib_patch.Upstream +boot/syslinux/0012-pull-in-sys-sysmacros-h-for-major-minor-makedev.patch lib_patch.Upstream +boot/syslinux/0013-Fix-build-with-gnu-efi-version-3.0.9.patch lib_patch.Upstream +boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch lib_patch.Upstream +boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch lib_patch.Upstream +boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch lib_patch.Upstream +configs/am574x_idk_defconfig lib_defconfig.ForceCheckHash +configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash +configs/arcturus_ucls1012a_defconfig lib_defconfig.ForceCheckHash +configs/arcturus_ucp1020_defconfig lib_defconfig.ForceCheckHash +configs/arm_foundationv8_defconfig lib_defconfig.ForceCheckHash +configs/aspeed_ast2500evb_defconfig lib_defconfig.ForceCheckHash +configs/aspeed_ast2600evb_defconfig lib_defconfig.ForceCheckHash +configs/asus_tinker-s_rk3288_defconfig lib_defconfig.ForceCheckHash +configs/asus_tinker_rk3288_defconfig lib_defconfig.ForceCheckHash +configs/at91sam9260eknf_defconfig lib_defconfig.ForceCheckHash +configs/at91sam9g20dfc_defconfig lib_defconfig.ForceCheckHash +configs/at91sam9g45m10ek_defconfig lib_defconfig.ForceCheckHash +configs/at91sam9rlek_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d2_xplained_mmc_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d2_xplained_mmc_dev_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d3_xplained_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d3_xplained_dev_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d3_xplained_mmc_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d3_xplained_mmc_dev_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d3xek_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d4_xplained_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d4_xplained_dev_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d4_xplained_mmc_defconfig lib_defconfig.ForceCheckHash +configs/atmel_sama5d4_xplained_mmc_dev_defconfig lib_defconfig.ForceCheckHash +configs/avenger96_defconfig lib_defconfig.ForceCheckHash +configs/avnet_rzboard_v2l_defconfig lib_defconfig.ForceCheckHash +configs/bananapi_m2_berry_defconfig lib_defconfig.ForceCheckHash +configs/bananapi_m2_ultra_defconfig lib_defconfig.ForceCheckHash +configs/bananapi_m2_zero_defconfig lib_defconfig.ForceCheckHash +configs/bananapro_defconfig lib_defconfig.ForceCheckHash +configs/beelink_gs1_defconfig lib_defconfig.ForceCheckHash +configs/broadcom_northstar_defconfig lib_defconfig.ForceCheckHash +configs/canaan_kd233_defconfig lib_defconfig.ForceCheckHash +configs/ci20_defconfig lib_defconfig.ForceCheckHash +configs/engicam_imx6qdl_icore_defconfig lib_defconfig.ForceCheckHash +configs/engicam_imx6qdl_icore_qt5_defconfig lib_defconfig.ForceCheckHash +configs/engicam_imx6qdl_icore_rqs_defconfig lib_defconfig.ForceCheckHash +configs/engicam_imx6ul_geam_defconfig lib_defconfig.ForceCheckHash +configs/engicam_imx6ul_isiot_defconfig lib_defconfig.ForceCheckHash +configs/freescale_imx28evk_defconfig lib_defconfig.ForceCheckHash +configs/freescale_p1025twr_defconfig lib_defconfig.ForceCheckHash +configs/freescale_t1040d4rdb_defconfig lib_defconfig.ForceCheckHash +configs/freescale_t2080_qds_rdb_defconfig lib_defconfig.ForceCheckHash +configs/friendlyarm_nanopi_r2s_defconfig lib_defconfig.ForceCheckHash +configs/galileo_defconfig lib_defconfig.ForceCheckHash +configs/globalscale_espressobin_defconfig lib_defconfig.ForceCheckHash +configs/hifive_unleashed_defconfig lib_defconfig.ForceCheckHash +configs/imx23evk_defconfig lib_defconfig.ForceCheckHash +configs/imx6-sabreauto_defconfig lib_defconfig.ForceCheckHash +configs/imx6-sabresd_defconfig lib_defconfig.ForceCheckHash +configs/imx6-sabresd_qt5_defconfig lib_defconfig.ForceCheckHash +configs/imx6slevk_defconfig lib_defconfig.ForceCheckHash +configs/imx6sx-sdb_defconfig lib_defconfig.ForceCheckHash +configs/imx6ulevk_defconfig lib_defconfig.ForceCheckHash +configs/imx6ullevk_defconfig lib_defconfig.ForceCheckHash +configs/imx6ulpico_defconfig lib_defconfig.ForceCheckHash +configs/imx7dpico_defconfig lib_defconfig.ForceCheckHash +configs/imx8mqevk_defconfig lib_defconfig.ForceCheckHash +configs/imxrt1050-evk_defconfig lib_defconfig.ForceCheckHash +configs/khadas_vim3_defconfig lib_defconfig.ForceCheckHash +configs/kontron_bl_imx8mm_defconfig lib_defconfig.ForceCheckHash +configs/kontron_pitx_imx8m_defconfig lib_defconfig.ForceCheckHash +configs/kontron_smarc_sal28_defconfig lib_defconfig.ForceCheckHash +configs/mangopi_mq1rdw2_defconfig lib_defconfig.ForceCheckHash +configs/mender_x86_64_efi_defconfig lib_defconfig.ForceCheckHash +configs/microchip_sam9x60ek_mmc_defconfig lib_defconfig.ForceCheckHash +configs/microchip_sam9x60ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash +configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig lib_defconfig.ForceCheckHash +configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash +configs/microchip_sama5d2_icp_mmc_defconfig lib_defconfig.ForceCheckHash +configs/microchip_sama5d2_icp_mmc_dev_defconfig lib_defconfig.ForceCheckHash +configs/microchip_sama7g5ek_mmc_defconfig lib_defconfig.ForceCheckHash +configs/microchip_sama7g5ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash +configs/minnowboard_max_defconfig lib_defconfig.ForceCheckHash +configs/mx53loco_defconfig lib_defconfig.ForceCheckHash +configs/mx6udoo_defconfig lib_defconfig.ForceCheckHash +configs/nexbox_a95x_defconfig lib_defconfig.ForceCheckHash +configs/nitrogen6sx_defconfig lib_defconfig.ForceCheckHash +configs/nitrogen6x_defconfig lib_defconfig.ForceCheckHash +configs/nitrogen7_defconfig lib_defconfig.ForceCheckHash +configs/nitrogen8m_defconfig lib_defconfig.ForceCheckHash +configs/nitrogen8mm_defconfig lib_defconfig.ForceCheckHash +configs/nitrogen8mn_defconfig lib_defconfig.ForceCheckHash +configs/nitrogen8mp_defconfig lib_defconfig.ForceCheckHash +configs/octavo_osd32mp1_brk_defconfig lib_defconfig.ForceCheckHash +configs/octavo_osd32mp1_red_defconfig lib_defconfig.ForceCheckHash +configs/odroidc2_defconfig lib_defconfig.ForceCheckHash +configs/odroidxu4_defconfig lib_defconfig.ForceCheckHash +configs/olimex_a10_olinuxino_lime_defconfig lib_defconfig.ForceCheckHash +configs/olimex_a13_olinuxino_defconfig lib_defconfig.ForceCheckHash +configs/olimex_a20_olinuxino_micro_defconfig lib_defconfig.ForceCheckHash +configs/olimex_a33_olinuxino_defconfig lib_defconfig.ForceCheckHash +configs/olimex_a64_olinuxino_defconfig lib_defconfig.ForceCheckHash +configs/olpc_xo175_defconfig lib_defconfig.ForceCheckHash +configs/olpc_xo1_defconfig lib_defconfig.ForceCheckHash +configs/orangepi_lite2_defconfig lib_defconfig.ForceCheckHash +configs/orangepi_one_plus_defconfig lib_defconfig.ForceCheckHash +configs/orangepi_pc2_defconfig lib_defconfig.ForceCheckHash +configs/orangepi_zero_plus_defconfig lib_defconfig.ForceCheckHash +configs/pc_x86_64_bios_defconfig lib_defconfig.ForceCheckHash +configs/pc_x86_64_efi_defconfig lib_defconfig.ForceCheckHash +configs/pcengines_apu2_defconfig lib_defconfig.ForceCheckHash +configs/pine64_defconfig lib_defconfig.ForceCheckHash +configs/pine64_pinecube_defconfig lib_defconfig.ForceCheckHash +configs/pine64_sopine_defconfig lib_defconfig.ForceCheckHash +configs/pine64_star64_defconfig lib_defconfig.ForceCheckHash +configs/riotboard_defconfig lib_defconfig.ForceCheckHash +configs/rock64_defconfig lib_defconfig.ForceCheckHash +configs/rock_pi_n8_defconfig lib_defconfig.ForceCheckHash +configs/roseapplepi_defconfig lib_defconfig.ForceCheckHash +configs/s6lx9_microboard_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_lichee_rv_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_lichee_rv_dock_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_licheepi_nano_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_licheepi_zero_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_maix_bit_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_maix_bit_sdcard_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_maix_dock_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_maix_dock_sdcard_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_maix_go_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_maix_go_sdcard_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_maixduino_defconfig lib_defconfig.ForceCheckHash +configs/sipeed_maixduino_sdcard_defconfig lib_defconfig.ForceCheckHash +configs/snps_arc700_axs101_defconfig lib_defconfig.ForceCheckHash +configs/snps_arc700_nsim_defconfig lib_defconfig.ForceCheckHash +configs/snps_archs38_axs103_defconfig lib_defconfig.ForceCheckHash +configs/snps_archs38_haps_defconfig lib_defconfig.ForceCheckHash +configs/snps_archs38_hsdk_defconfig lib_defconfig.ForceCheckHash +configs/socrates_cyclone5_defconfig lib_defconfig.ForceCheckHash +configs/solidrun_clearfog_gt_8k_defconfig lib_defconfig.ForceCheckHash +configs/solidrun_macchiatobin_defconfig lib_defconfig.ForceCheckHash +configs/stm32mp157c_odyssey_defconfig lib_defconfig.ForceCheckHash +configs/terasic_de10nano_cyclone5_defconfig lib_defconfig.ForceCheckHash +configs/toradex_apalis_imx6_defconfig lib_defconfig.ForceCheckHash +configs/ts4900_defconfig lib_defconfig.ForceCheckHash +configs/ts5500_defconfig lib_defconfig.ForceCheckHash +configs/ts7680_defconfig lib_defconfig.ForceCheckHash +configs/uevm5432_defconfig lib_defconfig.ForceCheckHash +configs/visionfive_defconfig lib_defconfig.ForceCheckHash +configs/wandboard_defconfig lib_defconfig.ForceCheckHash +configs/warp7_defconfig lib_defconfig.ForceCheckHash +linux/5.10.162-cip24-rt10/0001-arch-microblaze-mm-init.c-fix-build.patch lib_patch.Upstream +package/18xx-ti-utils/0001-plt.h-fix-build-with-gcc-10.patch lib_patch.Upstream +package/4th/0001-avoid-regen-during-install.patch lib_patch.Upstream +package/acl/0001-Build-with-old-GCC-versions.patch lib_patch.Upstream +package/acpid/0001-dont-use-isfdtype.patch lib_patch.Upstream +package/alchemy/0001-toolchains-remove-hash-style-management.patch lib_patch.Upstream +package/alsamixergui/0001-misc-fixes.patch lib_patch.Sob lib_patch.Upstream +package/alsamixergui/0002-configure-fix-detection-of-fltk-libs.patch lib_patch.Upstream +package/am335x-pru-package/0001-install-does-not-build.patch lib_patch.Upstream +package/am33x-cm3/0001-fix-makefile.patch lib_patch.Upstream +package/am33x-cm3/0002-Makefile-unconditionally-disable-SSP.patch lib_patch.Upstream +package/am33x-cm3/0003-Makefile-unconditionally-disable-PIE.patch lib_patch.Upstream +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/0004-Fix-build-issue-with-musl.patch 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 +package/apache/0001-cross-compile.patch lib_patch.Upstream +package/apache/0002-nios2_is_not_os2.patch lib_patch.Upstream +package/apache/S50apache Shellcheck lib_sysv.Indent lib_sysv.Variables +package/apitrace/0001-thirdparty-libbacktrace-backtrace-h-include-config.h.patch lib_patch.Upstream +package/apitrace/0002-gltrace-Avoid-__libc_dlsym-and-__libc_dlopen_mode-on-GLIBC-2-34.patch lib_patch.Upstream +package/apr-util/0001-remove-checkapr.patch lib_patch.Upstream +package/apr/0001-sys-param-h.patch lib_patch.Upstream +package/apr/0002-Revert-Backport-r1872164.-Fix-the-name-of-libtool-wh.patch lib_patch.Upstream +package/apr/0003-Revert-Add-the-ability-to-cross-compile-APR.patch lib_patch.Upstream +package/arptables/0001-Fix-musl-build-issue.patch lib_patch.Upstream +package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch lib_patch.Upstream +package/asterisk/0001-sounds-do-not-download-and-check-sha1s.patch lib_patch.Upstream +package/asterisk/0002-configure-fix-detection-of-libcrypt.patch lib_patch.Upstream +package/asterisk/0003-build-ensure-target-directory-for-modules-exists.patch lib_patch.Upstream +package/asterisk/0004-install-samples-need-the-data-files.patch lib_patch.Upstream +package/at/0001-Makefile.in-fix-make-install-for-non-root-don-t-stri.patch lib_patch.Upstream +package/at/S99at lib_sysv.Indent lib_sysv.Variables +package/attr/0001-build-with-older-GCCs.patch lib_patch.Upstream +package/audit/S02auditd Shellcheck lib_sysv.Variables +package/aufs-util/0001-remove-user-settings.patch lib_patch.Upstream +package/aufs-util/0002-no-check-ver.patch lib_patch.Upstream +package/aufs-util/0003-no-strip-lib.patch lib_patch.Upstream +package/aumix/0001-fix-incorrect-makefile-am.patch lib_patch.Upstream +package/autoconf/0001-dont-add-dirty-to-version.patch lib_patch.Upstream +package/automake/0001-noman.patch lib_patch.Upstream +package/avahi/0001-Fix-NULL-pointer-crashes-from-175.patch lib_patch.Upstream +package/avahi/S05avahi-setup.sh lib_sysv.Indent lib_sysv.Variables +package/avahi/S50avahi-daemon lib_sysv.Indent lib_sysv.Variables +package/babeld/S50babeld Shellcheck lib_sysv.Indent lib_sysv.Variables +package/babeltrace2/0001-configure-simplify-warning-flags-detection.patch lib_patch.Upstream +package/bash/0001-input.h-add-missing-include-on-stdio.h.patch lib_patch.Upstream +package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch lib_patch.Upstream +package/bc/0001-bc-use-MAKEINFO-variable-for-docs.patch lib_patch.Upstream +package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch lib_patch.Upstream +package/bc/0003-dc-fix-exit-code-of-q-command.patch lib_patch.Upstream +package/bc/0004-no-gen-libmath.patch lib_patch.Upstream +package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch lib_patch.Upstream +package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch lib_patch.Upstream +package/bcusdk/0002-eibd-fix-endless-recursion-when-using-USB-backends.patch lib_patch.Upstream +package/bearssl/0001-Fix-missing-objdir-dependency.patch lib_patch.Upstream +package/benejson/0001-c-std.patch lib_patch.Upstream +package/benejson/0002-Use-print-as-a-function-for-Py3-compatibility.patch lib_patch.Upstream +package/berkeleydb/0001-cwd-db_config.patch lib_patch.Upstream +package/berkeleydb/0002-atomic_compare_exchange.patch lib_patch.Upstream +package/bind/S81named Shellcheck lib_sysv.Indent lib_sysv.Variables +package/bird/0001-configure.ac-fix-build-with-autoconf-2.70.patch lib_patch.Upstream +package/bmx7/0001-Fix-schedule.c-378-36-error-SIOCGSTAMP-undeclared.patch lib_patch.Upstream +package/bmx7/0002-Fix-linking-error.patch lib_patch.Upstream +package/bmx7/0003-Reorder-includes-to-avoid-ethhdr-collision.patch lib_patch.Upstream +package/boinc/S99boinc-client Shellcheck lib_sysv.Indent lib_sysv.Variables +package/brickd/S70brickd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/bridge-utils/0001-fix-build-on-musl.patch lib_patch.Upstream +package/brltty/0001-Fix-linking-error-on-mips64el.patch lib_patch.Upstream +package/brltty/S10brltty Shellcheck lib_sysv.Indent lib_sysv.Variables +package/bustle/0001-Makefile-fix-pcap-config-call.patch lib_patch.Upstream +package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch lib_patch.Upstream +package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch lib_patch.Upstream +package/busybox/0003-libbb-sockaddr2str-ensure-only-printable-characters-.patch lib_patch.Upstream +package/busybox/0004-nslookup-sanitize-all-printed-strings-with-printable.patch lib_patch.Upstream +package/busybox/S02sysctl lib_sysv.Variables +package/busybox/S10mdev Shellcheck lib_sysv.ConsecutiveEmptyLines lib_sysv.Indent +package/busybox/S15watchdog lib_sysv.Indent lib_sysv.Variables +package/busybox/S50telnet Shellcheck lib_sysv.Indent lib_sysv.Variables +package/busybox/udhcpc.script Shellcheck +package/bzip2/0001-build-objects-twice.patch lib_patch.Upstream +package/bzip2/0002-improve-build-system.patch lib_patch.Upstream +package/c-icap/0001-Required-fixes-to-compile-and-run-under-cygwin.patch lib_patch.Upstream +package/c-icap/S96cicap Shellcheck lib_sysv.Indent lib_sysv.Variables +package/ca-certificates/0001-mozilla-certdata2pem.py-make-cryptography-module-opt.patch lib_patch.Upstream +package/cache-calibrator/0001-Fix-conflicting-round-function.patch lib_patch.Upstream +package/caps/0001-Fix-stdint-types-with-musl.patch lib_patch.Upstream +package/cdrkit/0001-fix-build-with-uClibc.patch lib_patch.Upstream +package/cdrkit/0002-define-__THROW-to-avoid-build-issue-with-musl.patch lib_patch.Upstream +package/cdrkit/0003-Add-extern-to-char-outfile-declaration-to-fix-build-.patch lib_patch.Upstream +package/cfm/S65cfm lib_sysv.Indent lib_sysv.Variables +package/cgroupfs-mount/S30cgroupfs Shellcheck lib_sysv.Indent lib_sysv.Variables +package/chipmunk/0001-Fix-build-failure-on-musl.patch lib_patch.Upstream +package/chocolate-doom/0001-Remove-redundant-demoextend-definition.patch lib_patch.Upstream +package/chrony/S49chronyd lib_sysv.Variables +package/cmake/0001-rename-cmake-rootfile.patch lib_patch.Upstream +package/cmocka/0001-Don-t-redefine-uintptr_t.patch lib_patch.Upstream +package/collectd/0001-src-netlink.c-remove-REG_NOERROR.patch lib_patch.Upstream +package/connman/S45connman lib_sysv.Variables +package/copas/0001-Do-not-load-coxpcall-for-LuaJIT.patch lib_patch.Upstream +package/coremark-pro/coremark-pro.sh.in Shellcheck +package/cppdb/0001-mysql-library-suffix.patch lib_patch.Upstream +package/cpulimit/0001-Fix-crash-and-compiler-warnings.patch lib_patch.Upstream +package/cpulimit/0002-Remove-sys-sysctl.h-and-add-missing-libgen.h-include.patch lib_patch.Upstream +package/cpulimit/0003-Fix-an-infrequent-crash.patch lib_patch.Upstream +package/cpulimit/0004-Remove-procfs.h-inclusion.patch lib_patch.Upstream +package/crda/0001-crda-support-python-3-in-utils-key2pub.py.patch lib_patch.Upstream +package/crda/0002-drop-ldconfig-call.patch lib_patch.Upstream +package/crda/0003-drop-werror.patch lib_patch.Upstream +package/ctorrent/0001-fix-musl-build.patch lib_patch.Upstream +package/cups/0001-Remove-man-from-BUILDDIRS-in-configure.patch lib_patch.Upstream +package/cups/0002-Do-not-use-genstrings.patch lib_patch.Upstream +package/cups/0003-Sanitize-the-installation-process.patch lib_patch.Upstream +package/cups/0004-Remove-PIE-flags-from-the-build.patch lib_patch.Upstream +package/curlftpfs/0001-fix-CURLOPT_INFILESIZE.patch lib_patch.Sob lib_patch.Upstream +package/curlftpfs/0002-free_ftpfs_file-memleak-fix.patch lib_patch.Sob lib_patch.Upstream +package/curlftpfs/0003-nocache-memleak-fix.patch lib_patch.Sob lib_patch.Upstream +package/curlftpfs/0004-fix-musl-build-off-t.patch lib_patch.Upstream +package/cutelyst/0001-server-CMakeLists.txt-don-t-override-CMAKE_EXE_LINKE.patch lib_patch.Upstream +package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch lib_patch.Upstream +package/cwiid/0002-configure-make-wmgui-build-optional.patch lib_patch.Upstream +package/dahdi-tools/0001-no-build-docs.patch lib_patch.Upstream +package/dahdi-tools/0002-no-perl-manpages.patch lib_patch.Upstream +package/dante/0001-fix-sparc-compile.patch lib_patch.Upstream +package/dante/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch lib_patch.Upstream +package/dante/S50dante Shellcheck lib_sysv.Indent lib_sysv.Variables +package/daq/0001-Fix-build-against-the-musl-C-library.patch lib_patch.Upstream +package/daq/0002-parallel-grammar.patch lib_patch.Upstream +package/darkhttpd/S50darkhttpd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/davfs2/0001-src-Makefile.am-do-not-hardcode-fstack-protector-str.patch lib_patch.Upstream +package/dbus-cpp/0001-gcc4.7.patch lib_patch.Upstream +package/dbus-cpp/0002-cross-compile-tools.patch lib_patch.Upstream +package/dbus-cpp/0003-src-pipe.c-fix-build-error-with-gcc-7.x.patch lib_patch.Upstream +package/dbus/S30dbus Shellcheck lib_sysv.Indent lib_sysv.TrailingSpace lib_sysv.Variables +package/dc3dd/0001-no_man.patch lib_patch.Upstream +package/dc3dd/0002-fix-autoreconf.patch lib_patch.Upstream +package/dc3dd/0003-fix-for-glibc-2.28.patch lib_patch.Upstream +package/dcron/0001-main.c-add-newline-to-logfile-openning-error-message.patch lib_patch.Upstream +package/dcron/S90dcron lib_sysv.Variables +package/dhcp/S80dhcp-relay Shellcheck lib_sysv.Variables +package/dhcp/S80dhcp-server Shellcheck lib_sysv.Variables +package/dhcp/dhclient-script Shellcheck lib_shellscript.TrailingSpace +package/dhcpcd/S41dhcpcd lib_sysv.Indent lib_sysv.Variables +package/dht/0001-cmake.patch lib_patch.Upstream +package/dillo/0001-usr-local-include.patch lib_patch.Upstream +package/dillo/0002-Fix-openssl-detection.patch lib_patch.Upstream +package/dillo/0004-fix-build-with-gcc-10.patch lib_patch.Upstream +package/dmalloc/0001-configure-fix-build-on-mips.patch lib_patch.Upstream +package/dmalloc/0003-configure-allow-overriding-some-tests.patch lib_patch.Upstream +package/dmalloc/0004-Makefile-use-the-configure-detected-or-user-supplied.patch lib_patch.Upstream +package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch lib_patch.Upstream +package/dmraid/0001-fix-compilation-under-musl.patch lib_patch.Upstream +package/dmraid/S20dmraid lib_sysv.Variables +package/docopt-cpp/0001-only-build-one-target-use-BUILD_SHARED_LIBS-where-appropriate.patch lib_patch.Upstream +package/domoticz/S99domoticz Shellcheck +package/dovecot/0001-auth-Fix-handling-passdbs-with-identical-driver-args.patch lib_patch.Upstream +package/dracut/0001-dracut.sh-don-t-unset-LD_PRELOAD.patch lib_patch.Upstream +package/dracut/merged-usr-module-setup.sh Shellcheck +package/dropbear/S50dropbear Shellcheck lib_sysv.Indent lib_sysv.Variables +package/dt/0001-adjust-os-symlink.patch lib_patch.Upstream +package/dt/0002-dt-default-source-define.patch lib_patch.Upstream +package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch lib_patch.Upstream +package/dvblast/0001-missing-lm.patch lib_patch.Upstream +package/dvblast/0002-fix-int-types.patch lib_patch.Upstream +package/dvbsnoop/0001-musl-types-h.patch lib_patch.Upstream +package/dvdrw-tools/0001-limits.h.patch lib_patch.Upstream +package/dvdrw-tools/0002-Include-sysmacros.h-to-compile-with-newer-gcc.patch lib_patch.Upstream +package/earlyoom/0001-main.c-fix-build-with-kernel-4.3.patch lib_patch.Upstream +package/earlyoom/S02earlyoom Shellcheck lib_sysv.Indent +package/ebtables/0001-replace-ebtables-save-perl-script-with-bash.patch lib_patch.Upstream +package/ecryptfs-utils/0001-musl.patch lib_patch.Upstream +package/ecryptfs-utils/0002-openssl110.patch lib_patch.Upstream +package/ecryptfs-utils/0003-fix-parallel-build-issue.patch lib_patch.Upstream +package/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch lib_patch.Upstream +package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch lib_patch.Upstream +package/efl/0003-ecore_fb-fix-build-with-tslib.patch lib_patch.Upstream +package/eigen/0001-Adds-new-CMake-Options-for-controlling-build-compone.patch lib_patch.Upstream +package/elftosb/0001-fixes-includes.patch lib_patch.Upstream +package/elftosb/0002-force-cxx-compiler.patch lib_patch.Upstream +package/elfutils/0001-Add-a-enable-disable-progs-configure-option.patch lib_patch.Upstream +package/elfutils/0002-Really-make-Werror-conditional-to-BUILD_WERROR.patch lib_patch.Upstream +package/erlang-rebar/0001-src-rebar_port_compiler-add-fPIC-to-LDFLAGS-by-defau.patch lib_patch.Upstream +package/espeak/0001-Fix-build-of-shared-library-on-architectures-needing.patch lib_patch.Upstream +package/espeak/0002-tr_languages-cast-string_ordinal-init-values.patch lib_patch.Upstream +package/eudev/S10udev Shellcheck lib_sysv.ConsecutiveEmptyLines lib_sysv.Indent lib_sysv.Variables +package/evemu/0001-Include-limits.h-for-PATH_MAX.patch lib_patch.Upstream +package/evemu/0002-evemu-Update-struct-input_event.patch lib_patch.Upstream +package/evemu/0003-src-evemu.c-fix-build-with-kernels-4.16.patch lib_patch.Upstream +package/evemu/0004-src-evemu.c-fix-build-with-kernels-4.16.patch lib_patch.Upstream +package/exim/0001-Build-buildconfig-for-the-host.patch lib_patch.Upstream +package/exim/0002-Don-t-make-backup-copies-of-installed-files.patch lib_patch.Upstream +package/exim/0003-Skip-version-check-and-symlink-installation.patch lib_patch.Upstream +package/exim/S86exim lib_sysv.Indent lib_sysv.Variables +package/expect/0001-enable-cross-compilation.patch lib_patch.Upstream +package/expect/0002-allow-tcl-build-directory.patch lib_patch.Upstream +package/fail2ban/S60fail2ban Shellcheck lib_sysv.Variables +package/fakedate/fakedate Shellcheck +package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch lib_patch.Upstream +package/fbgrab/0001-fix-static-build.patch lib_patch.Upstream +package/fbset/0001-Fix-musl-compile.patch lib_patch.Upstream +package/fbterm/0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch lib_patch.Upstream +package/fbterm/0002-mouse.cpp-fix-musl-compile.patch lib_patch.Upstream +package/fbterm/0003-C++11-compliance.patch lib_patch.Upstream +package/fbterm/0004-iconv.patch lib_patch.Upstream +package/fcgiwrap/0001-use-LIBS-from-configure.patch lib_patch.Upstream +package/fcgiwrap/0002-link-with-libsystemd-instead-of-libsystemd-daemon.patch lib_patch.Upstream +package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch lib_patch.Upstream +package/ffmpeg/0002-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch lib_patch.Upstream +package/ffmpeg/0003-libavutil-Fix-mips-build.patch lib_patch.Upstream +package/ffmpeg/0004-configure-add-extralibs-to-extralibs_xxx.patch lib_patch.Upstream +package/ficl/0001-fix-Makefile.patch lib_patch.Upstream +package/flatbuffers/0001-include-flatbuffers-base.h-fix-build-on-musl.patch lib_patch.Upstream +package/flex/0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch lib_patch.Upstream +package/flex/0002-build-make-it-possible-to-disable-the-build-of-the-f.patch lib_patch.Upstream +package/flex/0003-build-make-it-possible-to-disable-the-build-of-the-d.patch lib_patch.Upstream +package/flite/0001-fix-alsa-static.patch lib_patch.Upstream +package/fltk/0001-disable-tests.patch lib_patch.Upstream +package/fluxbox/0001-fixes-bug-1138.patch lib_patch.Upstream +package/freeradius-client/0001-fix-for-nettle.patch lib_patch.Upstream +package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch lib_patch.Upstream +package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch lib_patch.Upstream +package/freescale-imx/imx-uuc/S80imx-uuc Shellcheck lib_sysv.Indent lib_sysv.Variables +package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch lib_patch.Upstream +package/freescale-imx/imx-vpu-hantro/0002-Fix-build-with-uclibc-toolchain.patch lib_patch.Upstream +package/freescale-imx/imx-vpu-hantro/0003-Fix-Linux-kernel-version-header.patch lib_patch.Upstream +package/freeswitch/0001-libs-srtp-crypto-hash-hmac_ossl.c-fix-build-with-lib.patch lib_patch.Upstream +package/frr/S50frr Shellcheck +package/fstrcmp/0001-disable-rpath.patch lib_patch.Upstream +package/ftop/0001-overflow.patch lib_patch.Upstream +package/fwts/0001-build-do-not-use-Werror.patch lib_patch.Upstream +package/fxdiv/0001-CMake-don-t-enable-CXX-unless-building-tests-benchma.patch lib_patch.Upstream +package/fxload/0001-fix-static-build.patch lib_patch.Upstream +package/gcc/12.4.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream +package/gcc/13.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream +package/gcc/14.2.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream +package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch lib_patch.Upstream +package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch lib_patch.Upstream +package/gcc/8.4.0/0003-libsanitizer-Remove-cyclades-from-libsanitizer.patch lib_patch.Upstream +package/gcc/8.4.0/0004-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream +package/gcr/0001-meson-Fix-unknown-kw-argument-in-gnome.generate_gir.patch lib_patch.Upstream +package/gdb/13.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch lib_patch.Upstream +package/gdb/13.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch lib_patch.Upstream +package/gdb/13.2/0003-use-asm-sgidefs.h.patch lib_patch.Upstream +package/gdb/13.2/0004-gdbserver-fix-build-for-m68k.patch lib_patch.Upstream +package/gdb/13.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch lib_patch.Upstream +package/gdb/13.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch lib_patch.Upstream +package/gdb/13.2/0007-fix-musl-build-on-riscv.patch lib_patch.Upstream +package/gdb/13.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch lib_patch.Upstream +package/gdb/13.2/0009-gdb-Fix-native-build-on-xtensa.patch lib_patch.Upstream +package/gdb/14.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch lib_patch.Upstream +package/gdb/14.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch lib_patch.Upstream +package/gdb/14.2/0003-use-asm-sgidefs.h.patch lib_patch.Upstream +package/gdb/14.2/0004-gdbserver-fix-build-for-m68k.patch lib_patch.Upstream +package/gdb/14.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch lib_patch.Upstream +package/gdb/14.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch lib_patch.Upstream +package/gdb/14.2/0007-fix-musl-build-on-riscv.patch lib_patch.Upstream +package/gdb/14.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch lib_patch.Upstream +package/gdb/14.2/0009-gdb-Fix-native-build-on-xtensa.patch lib_patch.Upstream +package/gdb/15.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch lib_patch.Upstream +package/gdb/15.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch lib_patch.Upstream +package/gdb/15.1/0003-use-asm-sgidefs.h.patch lib_patch.Upstream +package/gdb/15.1/0004-gdbserver-fix-build-for-m68k.patch lib_patch.Upstream +package/gdb/15.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch lib_patch.Upstream +package/gdb/15.1/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch lib_patch.Upstream +package/gdb/15.1/0007-fix-musl-build-on-riscv.patch lib_patch.Upstream +package/gdb/15.1/0008-gdbserver-Makefile.in-fix-NLS-build.patch lib_patch.Upstream +package/gdb/15.1/0009-gdb-Fix-native-build-on-xtensa.patch lib_patch.Upstream +package/genpart/0001-fix-return-code.patch lib_patch.Upstream +package/genromfs/0001-build-system.patch lib_patch.Sob lib_patch.Upstream +package/gensio/0001-Fix-missing-EVP_PKEY_ED25519-build-error-on-libressl.patch lib_patch.Upstream +package/gerbera/S99gerbera lib_sysv.Indent +package/git-crypt/0001-fix-build-with-libressl-3.5.0.patch lib_patch.Upstream +package/glorytun/0001-Add-support-for-Apple-silicon.patch lib_patch.Upstream +package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch lib_patch.Upstream +package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch lib_patch.Upstream +package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch lib_patch.Upstream +package/gnuplot/0001-configure-add-without-demo-option.patch lib_patch.Upstream +package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch lib_patch.Upstream +package/gob2/0001-dont-include-from-prefix.patch lib_patch.Upstream +package/gobject-introspection/0001-disable-tests.patch lib_patch.Upstream +package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch lib_patch.Upstream +package/gpsd/S50gpsd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch lib_patch.Upstream +package/graphite2/0001-don-t-install-a-libtool-file-with-static-library.patch lib_patch.Upstream +package/grpc/0002-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch lib_patch.Upstream +package/grpc/0004-disable-unconditionally-downloading-api-repos.patch lib_patch.Upstream +package/gstreamer1/gstd/0001-Don-t-require-gstd-check-user-xenv.sh-for-systemd-se.patch lib_patch.Upstream +package/guile/0001-calculate-csqrt_manually.patch lib_patch.Upstream +package/guile/0002-Makefile.am-fix-build-without-makeinfo.patch lib_patch.Upstream +package/gumbo-parser/0001-configure.ac-fix-build-without-C.patch lib_patch.Upstream +package/gutenprint/0001-use-pregen-xmli18n-header.patch lib_patch.Upstream +package/gutenprint/0002-cups-support-replaces-static-with-static-libtool-lib.patch lib_patch.Upstream +package/gvfs/0001-build-Remove-incorrect-i18n.merge_file-argument.patch lib_patch.Upstream +package/harfbuzz/0001-meson.build-check-for-pthread.h.patch lib_patch.Upstream +package/haserl/0001-add-haserl_lualib.inc.patch lib_patch.Upstream +package/haveged/S21haveged Shellcheck lib_sysv.Variables +package/heirloom-mailx/0001-fix-libressl-support.patch lib_patch.Upstream +package/hplip/0001-build-use-pkg-config-to-discover-libusb.patch lib_patch.Upstream +package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch lib_patch.Upstream +package/htpdate/S43htpdate Shellcheck +package/i2pd/S99i2pd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/i7z/0001-fix-build-with-gcc-10.patch lib_patch.Upstream +package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch lib_patch.Upstream +package/ibrcommon/0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch lib_patch.Upstream +package/ibrcommon/0002-ibrcommon-added-openssl-1.1-compatibility-264.patch lib_patch.Upstream +package/ibrcommon/0003-ibrcommon-ssl-gcm-fix-static-build-with-openssl.patch lib_patch.Upstream +package/icu/0001-dont-build-static-dynamic-twice.patch lib_patch.Upstream +package/icu/0002-workaround-toolchain-bugs.patch lib_patch.Upstream +package/icu/0003-link-icudata-as-data-only.patch lib_patch.Upstream +package/icu/0004-fix-static-linking-with-icu-uc.patch lib_patch.Upstream +package/ifmetric/0001-Fix-issue-NETLINK-Packet-too-small-or-truncated-92-1.patch lib_patch.Upstream +package/ifplugd/0001-cross.patch lib_patch.Sob lib_patch.Upstream +package/ifplugd/0002-fix-headers.patch lib_patch.Sob lib_patch.Upstream +package/ifplugd/0003-no-cxx.patch lib_patch.Upstream +package/ifplugd/0004-musl-fix-types.patch lib_patch.Upstream +package/ifplugd/0005-src-interface.h-fix-build-with-gcc-10.patch lib_patch.Upstream +package/iftop/0001-ui_common.h-fix-build-with-gcc-10.patch lib_patch.Upstream +package/iftop/0002-Rename-pcap_filter-to-iftop_pcap_filter.patch lib_patch.Upstream +package/ifupdown-scripts/S40network Shellcheck lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables +package/ifupdown-scripts/network/if-pre-up.d/wait_iface Shellcheck lib_shellscript.EmptyLastLine +package/ifupdown-scripts/nfs_check Shellcheck +package/ifupdown/0001-archcommon-define-GNU-only-FNM_EXTMATCH-to-zero-on-n.patch lib_patch.Upstream +package/ifupdown/0001-dont-use-dpkg-architecture.patch lib_patch.Upstream +package/igd2-for-linux/S99upnpd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/imx-mkimage/0001-Add-unused-fake-version.patch lib_patch.Upstream +package/inadyn/S70inadyn NotExecutable lib_sysv.Indent +package/initscripts/init.d/rcK Shellcheck lib_shellscript.ConsecutiveEmptyLines lib_shellscript.EmptyLastLine +package/initscripts/init.d/rcS Shellcheck lib_shellscript.ConsecutiveEmptyLines lib_shellscript.EmptyLastLine +package/input-event-daemon/S99input-event-daemon lib_sysv.ConsecutiveEmptyLines lib_sysv.Indent lib_sysv.Variables +package/intel-gmmlib/0001-Drop-hardening-related-flags.patch lib_patch.Upstream +package/intel-mediasdk/0001-Don-t-force-fstack-protector.patch lib_patch.Upstream +package/intltool/0001-perl-5.26-compatibility.patch lib_patch.Upstream +package/iotop/0001-Fix-build-error-with-Python-3.patch lib_patch.Upstream +package/iozone/0001-Add-new-targets-for-iozone.patch lib_patch.Upstream +package/ipmitool/0001-configure.ac-fix-readline-static-build.patch lib_patch.Upstream +package/ipmitool/0002-Fix-enterprise-numbers-URL.patch lib_patch.Upstream +package/ipmitool/0003-Do-not-require-the-IANA-PEN-registry-file.patch lib_patch.Upstream +package/ipmitool/0004-configure.ac-allow-disabling-registry-downloads.patch lib_patch.Upstream +package/iprutils/0001-configure.ac-add-AC_USE_SYSTEM_EXTENSIONS.patch lib_patch.Upstream +package/iptables/S35iptables Shellcheck +package/irda-utils/0001-daemon.patch lib_patch.Sob lib_patch.Upstream +package/irda-utils/0002-nommu.patch lib_patch.Sob lib_patch.Upstream +package/irda-utils/0003-subdir.patch lib_patch.Sob lib_patch.Upstream +package/irda-utils/0004-musl.patch lib_patch.Upstream +package/irqbalance/S13irqbalance Shellcheck lib_sysv.Indent lib_sysv.Variables +package/irrlicht/0001-override-CPPFLAGS-CXXFLAGS-and-CFLAGS-in-Makefile.patch lib_patch.Upstream +package/irrlicht/0002-makefile-override-LDFLAGS-and-remove-obsolete-X11R6-.patch lib_patch.Upstream +package/iucode-tool/S00iucode-tool lib_sysv.Variables +package/iwd/S40iwd Shellcheck lib_sysv.Variables +package/janus-gateway/0001-disable-ssp.patch lib_patch.Upstream +package/jose/0001-lib-hsh.c-rename-hsh-local-variable.patch lib_patch.Upstream +package/jose/0002-man-add-option-to-skip-building-man-pages.patch lib_patch.Upstream +package/kexec-lite/0001-clean-restart.patch lib_patch.Upstream +package/keyutils/0001-fix-install-rule.patch lib_patch.Upstream +package/keyutils/0002-cifs.patch lib_patch.Sob lib_patch.Upstream +package/kmod/0001-fix-O_CLOEXEC.patch lib_patch.Upstream +package/kodi/S50kodi Shellcheck lib_sysv.Variables +package/latencytop/0001-makefile.patch lib_patch.Upstream +package/lbase64/0001-retro-compatible-with-Lua-5.1.patch lib_patch.Upstream +package/lcdproc/0001-LCDd.conf.patch lib_patch.Upstream +package/lcdproc/0002-Add-missing-ioctl-header.patch lib_patch.Upstream +package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch lib_patch.Upstream +package/leafnode2/0001-cross_makefile.patch lib_patch.Upstream +package/let-me-create/0001-fix-build-with-musl-C-library.patch lib_patch.Upstream +package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch lib_patch.Upstream +package/leveldb/0002-CMake-install-libmemenv.a.patch lib_patch.Upstream +package/leveldb/0003-CMakeLists.txt-check-for-atomic-library.patch lib_patch.Upstream +package/lftp/0001-Fix-build-with-LibreSSL-following-commit-537f37898.patch lib_patch.Upstream +package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch lib_patch.Upstream +package/libabseil-cpp/0001-force-position-independent-code.patch lib_patch.Upstream +package/libargon2/0001-libargon2-dont-fail-on-existing-symlink.patch lib_patch.Upstream +package/libart/0001-art-config-cross.patch lib_patch.Sob lib_patch.Upstream +package/libatasmart/0001-strpool-cross-flags.patch lib_patch.Upstream +package/libavl/0001-fix-makefile.patch lib_patch.Upstream +package/libb64/0001-Integer-overflows.patch lib_patch.Upstream +package/libb64/0002-Initialize-C++-objects.patch lib_patch.Upstream +package/libcdaudio/0001-libcdaudio-enable-autoreconf.patch lib_patch.Upstream +package/libcec/0001-cecloader-h-fix-null-return.patch lib_patch.Upstream +package/libcgi/0001-CMakeLists.txt-honour-BUILD_TESTING.patch lib_patch.Upstream +package/libcgicc/0001-disable-documentation-option.patch lib_patch.Sob lib_patch.Upstream +package/libconfuse/0001-Fix-163-unterminated-username-used-with-getpwnam.patch lib_patch.Upstream +package/libcorrect/0002-CMakeLists.txt-conditionally-use-fsanitize-address.patch lib_patch.Upstream +package/libcuefile/0001-fix-static-link.patch lib_patch.Upstream +package/libdaemon/0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch lib_patch.Upstream +package/libdnet/0001-python-makefile.patch lib_patch.Upstream +package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch lib_patch.Upstream +package/libdvbcsa/0001-altivec-powerpc64.patch lib_patch.Upstream +package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch lib_patch.Upstream +package/libedit/0001-check-bsd-functions-in-libbsd.patch lib_patch.Upstream +package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch lib_patch.Upstream +package/libfcgi/0001-link-against-math.patch lib_patch.Upstream +package/libfcgi/0002-disable-examples.patch lib_patch.Upstream +package/libffi/0001-Fix-use-of-compact-eh-frames-on-MIPS.patch lib_patch.Upstream +package/libfm/0001-modules-fix-cross-compilation.patch lib_patch.Upstream +package/libfreeimage/0001-no-root-install.patch lib_patch.Upstream +package/libfreeimage/0002-fix-cpuid-x86.patch lib_patch.Upstream +package/libfreeimage/0003-fix-big-endian-os.patch lib_patch.Upstream +package/libfreeimage/0004-fixed-C-11-warnings.patch lib_patch.Upstream +package/libftdi/0001-pkgconfig_libusb.patch lib_patch.Sob lib_patch.Upstream +package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patch lib_patch.Sob lib_patch.Upstream +package/libftdi1/0001-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch lib_patch.Upstream +package/libftdi1/0002-CMakeLists.txt-fix-paths-when-FTDIPP-is-set.patch lib_patch.Upstream +package/libftdi1/0003-CMakeLists.txt-fix-static-build-with-libusb-and-lato.patch lib_patch.Upstream +package/libfuse/0001-fix-aarch64-build.patch lib_patch.Upstream +package/libfuse/0002-util-ulockmgr_server-c-conditionally-define-closefrom-fix-glibc-2-34.patch lib_patch.Upstream +package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch lib_patch.Upstream +package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch lib_patch.Upstream +package/libgsm/0001-Misc-fixes-from-Archlinux.patch lib_patch.Upstream +package/libgtk2/0001-reduce-dependencies.patch lib_patch.Upstream +package/libgtk3/0001-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patch lib_patch.Upstream +package/libhdhomerun/0001-dont-strip.patch lib_patch.Upstream +package/libical/0001-no-tests.patch lib_patch.Upstream +package/libical/0002-icaltypes-c-icalreqstattype_from_string-copy-the-reqstattype.patch lib_patch.Upstream +package/libiio/S99iiod Shellcheck lib_sysv.Variables +package/libiqrf/0001-cmake-handle-static-library-and-find-required-thread.patch lib_patch.Upstream +package/libiqrf/0002-use-only-c-language.patch lib_patch.Upstream +package/libjson/0001-fix-broken-makefile.patch lib_patch.Upstream +package/libks/0001-CMakeLists.txt-honour-BUILD_TESTING.patch lib_patch.Upstream +package/liblinear/0001-build-static-lib.patch lib_patch.Upstream +package/liblockfile/0001-Makefile.in-fix-cross-compilation.patch lib_patch.Upstream +package/liblog4c-localtime/0001-log4c.m4-fix-underquoted-definition-of-AM_PATH_LOG4C.patch lib_patch.Upstream +package/liblog4c-localtime/0002-Fix-linking-error-without-pthread.patch lib_patch.Upstream +package/liblog4c-localtime/0003-Fix-debug-mode-build-with-uClibc.patch lib_patch.Upstream +package/liblog4c-localtime/0004-Add-AC_CONFIG_MACRO_DIR-to-configure.in.patch lib_patch.Upstream +package/liblog4c-localtime/0005-Fix-C-support.patch lib_patch.Upstream +package/libloki/0001-allow-to-install-to-a-specific-location-using-DESTDI.patch lib_patch.Upstream +package/libloki/0002-use-ln-snf.patch lib_patch.Upstream +package/libmad/0001-mips-h-constraint-removal.patch lib_patch.Sob lib_patch.Upstream +package/libmad/0002-configure-ac-automake-foreign.patch lib_patch.Upstream +package/libmng/0001-jpeg-9a.patch lib_patch.Upstream +package/libmodsecurity/0001-configure.ac-drop-usage-of-git-at-configure-time.patch lib_patch.Upstream +package/libmodsecurity/0002-modsecurity.pc.in-add-lstdc.patch lib_patch.Upstream +package/libmpeg2/0001-altivec.patch lib_patch.Upstream +package/libmpeg2/0002-armv4l.patch lib_patch.Upstream +package/libmpeg2/0003-fix-arm-detection.patch lib_patch.Upstream +package/libmpeg2/0004-fix-sparc.patch lib_patch.Upstream +package/libnetfilter_conntrack/0001-conntrack-fix-build-with-kernel-5-15-and-musl.patch lib_patch.Upstream +package/libnfc/0001-autotools-make-example-build-optional.patch lib_patch.Upstream +package/libnids/0001-libpcap-use-pkg-config.patch lib_patch.Upstream +package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch lib_patch.Upstream +package/liboauth/0001-Fixes-build-issue-with-OpenSSL-1.1.0.patch lib_patch.Upstream +package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch lib_patch.Upstream +package/libodb-mysql/0002-mariadb-FTBFS-fix.patch lib_patch.Upstream +package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch lib_patch.Upstream +package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch lib_patch.Upstream +package/liboping/0001-fix-utf8-support.patch lib_patch.Upstream +package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch lib_patch.Upstream +package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch lib_patch.Upstream +package/liboping/0004-Fix-compile-error-on-GCC-7.patch lib_patch.Upstream +package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch lib_patch.Upstream +package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch lib_patch.Upstream +package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch lib_patch.Upstream +package/libpthsem/0001-fix-build-on-linux-3.x-host.patch lib_patch.Upstream +package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch lib_patch.Upstream +package/libroxml/0001-src-roxml_mem.h-add-missing-extern.patch lib_patch.Upstream +package/librsvg/0001-gdk-pixbuf-loader-Makefile.am-set-GDK_PIXBUF_MODULED.patch lib_patch.Upstream +package/librtlsdr/0001-Makefile.am-respect-DESTDIR-with-install-udev-rules.patch lib_patch.Upstream +package/libselinux/0001-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch lib_patch.Upstream +package/libsepol/0001-support-static-only.patch lib_patch.Upstream +package/libserial/0001-SerialPort.cpp-fix-build-when-size_t-is-an-unsigned-.patch lib_patch.Upstream +package/libserial/0002-SerialPort.cpp-don-t-use-high-baudrates-when-not-ava.patch lib_patch.Upstream +package/libserialport/0001-uclinux-detection.patch lib_patch.Upstream +package/libshdata/0001-backend-Add-missing-include-files.patch lib_patch.Upstream +package/libshdata/0002-examples-stress_test-Fix-build-with-musl-libc.patch lib_patch.Upstream +package/libsidplay2/0001-sidplay2-libs-2.1.1.patch lib_patch.Upstream +package/libsidplay2/0002-pkg-config.patch lib_patch.Upstream +package/libsidplay2/0003-gcc6.patch lib_patch.Upstream +package/libsigrok/0001-Support-glibmm-2.68.patch lib_patch.Upstream +package/libsigrokdecode/0001-configure-ac-Add-support-for-Python-3-9.patch lib_patch.Upstream +package/libsigrokdecode/0002-configure-Add-python-3-10-support.patch lib_patch.Upstream +package/libsigrokdecode/0003-configure-ac-Use-python3-embed-pc-as-a-fallback.patch lib_patch.Upstream +package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch lib_patch.Upstream +package/libsoxr/0001-Add-Libs.private-for-static-linking.patch lib_patch.Upstream +package/libspatialindex/0001-allow-building-static-libs.patch lib_patch.Upstream +package/libspatialindex/0002-CMakeLists.txt-fix-CMAKE_BUILD_TYPE.patch lib_patch.Upstream +package/libsquish/0001-Makefile-add-f-option-for-ln-to-remove-existing-dest.patch lib_patch.Upstream +package/libsvg/0001-fix-expat-static-declaration.patch lib_patch.Upstream +package/libsvg/0002-Fix-undefined-symbol-png_set_gray_1_2_4_to_8.patch lib_patch.Upstream +package/libsvgtiny/0001-disable-debug-printfs.patch lib_patch.Upstream +package/libsvgtiny/0002-Remove-Werror.patch lib_patch.Upstream +package/libsvgtiny/0003-Hopefully-silence-warnings-about-inlines-and-non-inlines-calling-one.patch lib_patch.Upstream +package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch lib_patch.Upstream +package/libtalloc/0001-buildtools-wafsamba-add-disable-stack-protector-opti.patch lib_patch.Upstream +package/libtelnet/0001-fix-compilation-without-zlib.patch lib_patch.Upstream +package/libtheora/0001-link-libtheoradec.patch lib_patch.Upstream +package/libtomcrypt/0001-fix-CVE-2019-17362.patch lib_patch.Upstream +package/libtommath/0001-Build-test-bn_mp_set_double-c-on-more-platforms.patch lib_patch.Upstream +package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch lib_patch.Upstream +package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch lib_patch.Upstream +package/libuhttpd/0001-add-compatibility-for-wolfssl-5-0.patch lib_patch.Upstream +package/libuio/0001-configure.ac-set-automake-strictness-to-foreign.patch lib_patch.Upstream +package/liburcu/0001-Only-blacklist-ARM-gcc-4.8.0-and-4.8.1.patch lib_patch.Upstream +package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch lib_patch.Upstream +package/libwebsock/0001-Switch-to-use-pkg-config-to-detect-libevent-and-open.patch lib_patch.Upstream +package/libwebsock/0002-fix-ssl.patch lib_patch.Upstream +package/libwebsock/0003-fix-incorrect-inline.patch lib_patch.Upstream +package/libyuv/0001-i386-sse2.patch lib_patch.Upstream +package/lighttpd/0001-Modify-the-default-lighttpd-configuration-file-to-ha.patch lib_patch.Upstream +package/lighttpd/S50lighttpd Shellcheck lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables +package/linknx/0001-configure-ac-tweak-CPPUNIT-conditional.patch lib_patch.Upstream +package/linknx/0002-src-Makefile.am-fix-linking-with-log4cpp.patch lib_patch.Upstream +package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch lib_patch.Upstream +package/linux-zigbee/0001-test-serial-Remove-test-serial.patch lib_patch.Upstream +package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch lib_patch.Upstream +package/linuxptp/S65ptp4l Shellcheck lib_sysv.Indent +package/linuxptp/S66phc2sys Shellcheck lib_sysv.Indent +package/lirc-tools/0001-plugins-devinput.c-fix-build-with-musl-1.2.0.patch lib_patch.Upstream +package/lirc-tools/0002-configure-add-disable-doc-option.patch lib_patch.Upstream +package/lirc-tools/S25lircd lib_sysv.Indent lib_sysv.Variables +package/live555/0001-Add-a-pkg-config-file-for-the-shared-libraries.patch lib_patch.Upstream +package/lldpd/S60lldpd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/llvm-project/clang/0001-lib-Driver-ToolChains-Gnu-Use-GCC_INSTALL_PREFIX-in-.patch lib_patch.Upstream +package/llvm-project/libclc/0001-support-out-of-tree-build.patch lib_patch.Upstream +package/lm-sensors/0001-static-build.patch lib_patch.Upstream +package/lm-sensors/0002-no-host-ldconfig.patch lib_patch.Upstream +package/lmbench/0001-scripts-build-use-bin-bash-as-shell.patch lib_patch.Upstream +package/lmbench/0002-src-Makefile-add-lmbench-to-list-of-executables.patch lib_patch.Upstream +package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch lib_patch.Upstream +package/lmbench/0004-Fix-garbage-pointer-for-lat_rpc-S-localhost.patch lib_patch.Upstream +package/localedef/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch lib_patch.Upstream +package/lockdev/0001-Makefile-install-static-library-and-headers-separate.patch lib_patch.Upstream +package/lockfile-progs/0001-sus3v-legacy.patch lib_patch.Sob lib_patch.Upstream +package/lshw/0001-solve-Compile-error-when-g-version-is-less-than-5.patch lib_patch.Upstream +package/ltrace/0001-arm-plt.patch lib_patch.Upstream +package/ltrace/0002-sparc-add-missing-library.h-include.patch lib_patch.Upstream +package/ltrace/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch lib_patch.Upstream +package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch lib_patch.Upstream +package/lttng-babeltrace/0002-configure.ac-fix-popt-static-build.patch lib_patch.Upstream +package/lttng-libust/0001-configure.ac-add-disable-tests.patch lib_patch.Upstream +package/lttng-tools/0001-configure.ac-add-disable-tests.patch lib_patch.Upstream +package/lua-gd/0001-Protect-declaration-of-LgdImageCreateFromPng-with-GD.patch lib_patch.Upstream +package/lua-lunix/0001-remove-link-with-librt.patch lib_patch.Upstream +package/lua-sdl2/0001-Do-not-reference-host-directory-for-headers.patch lib_patch.Upstream +package/lua-sdl2/0002-CMakeLists-do-not-require-C.patch lib_patch.Upstream +package/luajit/0001-no-bin-symlink.patch lib_patch.Upstream +package/luajit/0002-install-inc.patch lib_patch.Upstream +package/luasyslog/0001-remove-AX_LUA_LIBS.patch lib_patch.Upstream +package/luasyslog/0002-build-ax_lua.m4-fix-cross-compilation.patch lib_patch.Upstream +package/lugaru/0001-ImageIO-fix-invalid-conversion.patch lib_patch.Upstream +package/lugaru/0002-Fix-mismatched-usage-length-build-fail-on-g.patch lib_patch.Upstream +package/lvm2/0001-cmdline-use-freopen-to-reopen-standard-streams.patch lib_patch.Upstream +package/lvm2/0002-log-use-freopen-to-reopen-standard-streams.patch lib_patch.Upstream +package/lzma/0001-Remove-static-from-LDFLAGS.patch lib_patch.Upstream +package/lzop/0001-allow-overriding-modification-time.patch lib_patch.Upstream +package/macchanger/0001-Fix-missing-include-for-caddr_t.patch lib_patch.Upstream +package/madplay/0001-switch-to-new-alsa-api.patch lib_patch.Sob lib_patch.Upstream +package/madplay/0002-configure-ac-automake-foreign.patch lib_patch.Upstream +package/madplay/0003-configure-ac-use-pkg-config-to-find-id3tag.patch lib_patch.Upstream +package/madplay/0004-configure-ac-call-AM_MKINSTALLDIRS.patch lib_patch.Upstream +package/makedumpfile/0002-Handle-__mips64.patch lib_patch.Upstream +package/mariadb/0001-add-extra-check-for-librt.patch lib_patch.Upstream +package/mariadb/S97mysqld Shellcheck lib_sysv.Indent lib_sysv.Variables +package/matchbox-keyboard/mb-applet-kbd-wrapper.sh Shellcheck lib_shellscript.TrailingSpace +package/matchbox-lib/0001-index-is-legacy.patch lib_patch.Upstream +package/matchbox-panel/0001-index-is-legacy.patch lib_patch.Upstream +package/matchbox-panel/0002-mb-applet-wireless.patch lib_patch.Upstream +package/matchbox-panel/0003-mb-applet-battery.patch lib_patch.Upstream +package/matchbox-startup-monitor/0001-true-false.patch lib_patch.Upstream +package/matchbox/0001-defaulttheme.patch lib_patch.Upstream +package/matchbox/0002-src-Fix-build-with-gcc-10.patch lib_patch.Upstream +package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch lib_patch.Upstream +package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch lib_patch.Upstream +package/memstat/0001-PATH_MAX.patch lib_patch.Upstream +package/mender-connect/S43mender-connect Shellcheck +package/menu-cache/0001-Support-gcc10-compilation.patch lib_patch.Upstream +package/mesa3d-demos/0001-demos-makes-opengl-an-optional-component.patch lib_patch.Upstream +package/mesa3d/0001-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch lib_patch.Upstream +package/meson-tools/0001-amlbootenc-gxl-remove-non-std-C-convention-in-for.patch lib_patch.Upstream +package/meson/0001-Prefer-ext-static-libs-when-default-library-static.patch lib_patch.Upstream +package/meson/0002-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch lib_patch.Upstream +package/metacity/0001-add-libm-reference.patch lib_patch.Upstream +package/metacity/0002-gconf.patch lib_patch.Upstream +package/metacity/0003-mag-add-libm-reference.patch lib_patch.Upstream +package/mfgtools/0001-lnx_def.h-fix-conflicting-declaration-of-__time64_t.patch lib_patch.Upstream +package/mii-diag/0001-strchr.patch lib_patch.Sob lib_patch.Upstream +package/mimic/0001-Fix-linking-on-gcc-10.2.0-or-newer.patch lib_patch.Upstream +package/mini-snmpd/0001-linux.c-fix-musl-build.patch lib_patch.Upstream +package/minidlna/S60minidlnad Shellcheck lib_sysv.Indent lib_sysv.Variables +package/minissdpd/S50minissdpd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/modem-manager/S44modem-manager Shellcheck lib_sysv.Variables +package/mongrel2/0001-Do-not-run-tests.patch lib_patch.Upstream +package/mongrel2/0002-Fix-Makefiles-for-cross-compilation.patch lib_patch.Upstream +package/monit/0001-Do-not-force-building-a-statically-linked-binary.patch lib_patch.Upstream +package/mono-gtksharp3/0001-Fixes-MONO_PROFILE_ENTER_LEAVE-undeclared.patch lib_patch.Upstream +package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch lib_patch.Upstream +package/mono/0001-Fix-linkage-with-a-system-libatomic_ops-shared-library.patch lib_patch.Upstream +package/mono/0002-Ongoing-work-on-the-cmake-build.patch lib_patch.Upstream +package/mosquitto/S50mosquitto Shellcheck lib_sysv.Indent lib_sysv.Variables +package/motion/S99motion Shellcheck lib_sysv.Indent lib_sysv.Variables +package/mpir/0001-mpn-arm-udiv.asm-workaround-binutils-bug-14887.patch lib_patch.Upstream +package/mpv/0001-fix-powerpc64-altivec.patch lib_patch.Upstream +package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch lib_patch.Upstream +package/mrouted/S41mrouted NotExecutable +package/mrp/S65mrp lib_sysv.Indent lib_sysv.Variables +package/mstpd/0001-bridge-stp.in-support-different-versions-of-pidof-13.patch lib_patch.Upstream +package/multipath-tools/S60multipathd Shellcheck +package/musepack/0001-shared.patch lib_patch.Upstream +package/musepack/0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch lib_patch.Upstream +package/musepack/0003-include-fpu-control-with-glibc-only.patch lib_patch.Upstream +package/musepack/0004-missing-sys-select.patch lib_patch.Upstream +package/musepack/0005-fix-build-with-gcc-10.patch lib_patch.Upstream +package/musl/0001-avoid-kernel-if_ether.h.patch lib_patch.Upstream +package/musl/0002-package-musl-Make-scheduler-functions-Linux-compatib.patch lib_patch.Upstream +package/nano/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch lib_patch.Upstream +package/nanocom/0001-fix-build-with-gcc-10.patch lib_patch.Upstream +package/ne10/0001-CMakeLists-don-t-hard-code-thumb-code-generation.patch lib_patch.Upstream +package/ne10/0002-fix-build-without-C.patch lib_patch.Upstream +package/neard/S53neard Shellcheck lib_sysv.Indent lib_sysv.Variables +package/neardal/0001-lib-neardal.h-fix-build-with-gcc-10.patch lib_patch.Upstream +package/netatalk/S50netatalk lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables +package/netcat/0001-signed-bit-counting.patch lib_patch.Sob lib_patch.Upstream +package/netopeer2/S52netopeer2 Shellcheck lib_sysv.Variables +package/netperf/0001-src-nettest_omni.c-fix-compilation-with-GCC10.patch lib_patch.Upstream +package/netplug/0001-makefile-flags.patch lib_patch.Sob lib_patch.Upstream +package/netplug/0002-add-missing-time-include.patch lib_patch.Upstream +package/netplug/0003-remove-assert-fail.patch lib_patch.Upstream +package/netplug/S29netplug Shellcheck lib_sysv.Indent lib_sysv.Variables +package/netplug/netplug-script Shellcheck lib_shellscript.ConsecutiveEmptyLines +package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch lib_patch.Upstream +package/netsnmp/S59snmpd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/netsurf/0001-avoid-system-perl-dependencies.patch lib_patch.Upstream +package/netsurf/0002-do-not-cross-compile-nsgenbind.patch lib_patch.Upstream +package/netsurf/0003-fix-compilation-without-curl.patch lib_patch.Upstream +package/netsurf/0004-framebuffer-Fix-internal-font-generated-source-for-GCC-10.patch lib_patch.Upstream +package/nettle/0001-disable-testsuite-examples.patch lib_patch.Upstream +package/nfs-utils/S60nfs Shellcheck lib_sysv.ConsecutiveEmptyLines lib_sysv.Variables +package/nginx-modsecurity/0001-config-use-pkg-config.patch lib_patch.Upstream +package/nginx/0001-auto-type-sizeof-rework-autotest-to-be-cross-compila.patch lib_patch.Upstream +package/nginx/0002-auto-feature-add-mechanism-allowing-to-force-feature.patch lib_patch.Upstream +package/nginx/0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch lib_patch.Upstream +package/nginx/0004-auto-lib-libxslt-conf-use-pkg-config.patch lib_patch.Upstream +package/nginx/0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch lib_patch.Upstream +package/nginx/0006-auto-lib-libgd-conf-use-pkg-config.patch lib_patch.Upstream +package/nginx/0007-src-os-unix-ngx_linux_config.h-only-include-dlfcn.h-.patch lib_patch.Upstream +package/nginx/0008-Allow-forcing-of-endianness-for-cross-compilation.patch lib_patch.Upstream +package/nginx/S50nginx lib_sysv.Indent lib_sysv.Variables +package/nilfs-utils/0001-nilfs_cleanerd-link-dynamically.patch lib_patch.Upstream +package/nmap/0001-libdnet-always-build-a-static-library.patch lib_patch.Upstream +package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch lib_patch.Upstream +package/nodejs/nodejs-src/0002-check-if-uclibc-has-backtrace-support.patch lib_patch.Upstream +package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch lib_patch.Upstream +package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch lib_patch.Upstream +package/nodm/S90nodm Shellcheck lib_sysv.Indent lib_sysv.Variables +package/norm/0001-protolib-drop-linux-version-check.patch lib_patch.Upstream +package/norm/0002-Use-print-as-function-call-for-Python3-compatibility.patch lib_patch.Upstream +package/norm/0003-Fix-mixed-tabs-spaces-in-protolib-wscript.patch lib_patch.Upstream +package/nss-pam-ldapd/S45nslcd Shellcheck lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables +package/ntp/0001-ntp-syscalls-fallback.patch lib_patch.Upstream +package/ntp/S49ntp.in lib_sysv.Variables +package/ntpsec/0001-wscript-remove-checks-for-bsd-string.h-fixes-host-co.patch lib_patch.Upstream +package/nuttcp/0001-susv3-legacy.patch lib_patch.Upstream +package/nvidia-driver/0001-use-LDFLAGS.patch lib_patch.Upstream +package/octave/0001-Fix-BLAS-library-integer-size-detection.patch lib_patch.Upstream +package/ofono/0001-uclibc-backtrace.patch lib_patch.Upstream +package/ofono/S46ofono lib_sysv.Variables +package/ola/0001-ola-fix-compilation-with-musl-1-2-3.patch lib_patch.Upstream +package/olsr/0001-olsrd-migrate-to-using-bison-3.7.1.patch lib_patch.Upstream +package/olsr/0002-lib-pud-Makefile-fix-parallel-build.patch lib_patch.Upstream +package/olsr/0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch lib_patch.Upstream +package/olsr/0005-lib-pud-src-gpsdclient.c-drop-handling-of-gpsdata-fi.patch lib_patch.Upstream +package/olsr/0006-build-patch-for-gpsd-3-25.patch lib_patch.Upstream +package/olsr/S50olsr Shellcheck lib_sysv.Indent lib_sysv.Variables +package/open-plc-utils/0001-Remove-OWNER-and-GROUPS-parameters-to-install.patch lib_patch.Upstream +package/open2300/0001-fix-makefile.patch lib_patch.Upstream +package/openjdk/17.0.9+9/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch lib_patch.Upstream +package/openjdk/21.0.1+12/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch lib_patch.Upstream +package/openldap/0001-fix-bignum.patch lib_patch.Upstream +package/openldap/0002-disable-docs.patch lib_patch.Upstream +package/openntpd/S49ntp Shellcheck lib_sysv.Variables +package/openocd/0001-configure-enable-build-on-uclinux.patch lib_patch.Upstream +package/openpgm/0001-Rename-openpgm-5.2.pc.in.patch lib_patch.Upstream +package/openpgm/0002-openpgm-pgm-checksum.c-fix-build-with-32-bits-MMX.patch lib_patch.Upstream +package/openpgm/0003-fix-build-on-macOS-ARM.patch lib_patch.Upstream +package/openpowerlink/0001-install-the-stack-libraries-to-lib-subdirectory.patch lib_patch.Upstream +package/openpowerlink/0002-cmake-install-oplk-headers-files.patch lib_patch.Upstream +package/openpowerlink/0003-Add-top-level-CMakeLists.txt.patch lib_patch.Upstream +package/openrc/0001-init.d-sysctl.in-add-support-for-busybox-sysctl.patch lib_patch.Upstream +package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch lib_patch.Upstream +package/openrc/0003-init.d-agetty-replace-sbin-agetty-by-sbin-getty.patch lib_patch.Upstream +package/openrc/0004-init.d-agetty-start-agetty-after-all-sevices.patch lib_patch.Upstream +package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch lib_patch.Upstream +package/openrc/0006-Also-create-run-lock-subsys-directory.patch lib_patch.Upstream +package/openswan/0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch lib_patch.Upstream +package/opentyrian/0001-Move-definitions-that-don-t-need-to-be-exposed-from-opl-h-to-opl-c.patch lib_patch.Upstream +package/openvmtools/0001-no_cflags_werror.patch lib_patch.Upstream +package/openvmtools/0002-dont-force-cppflags.patch lib_patch.Upstream +package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch lib_patch.Upstream +package/openvmtools/0004-Remove-assumptions-about-glibc-being-only-libc-imple.patch lib_patch.Upstream +package/openvmtools/0005-Use-configure-test-for-struct-timespec.patch lib_patch.Upstream +package/openvmtools/0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch lib_patch.Upstream +package/openvmtools/0007-Use-configure-to-test-for-feature-instead-of-platfor.patch lib_patch.Upstream +package/openvmtools/0008-Use-configure-test-for-sys-stat.h-include.patch lib_patch.Upstream +package/openvmtools/0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch lib_patch.Upstream +package/openvmtools/0012-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch lib_patch.Upstream +package/openvmtools/shutdown Shellcheck +package/openvpn/S60openvpn Shellcheck lib_sysv.Indent lib_sysv.Variables +package/oprofile/0001-musl.patch lib_patch.Upstream +package/opusfile/0001-Propagate-allocation-failure-from-ogg_sync_buffer.patch lib_patch.Upstream +package/owfs/S55owserver Shellcheck lib_sysv.Variables +package/owfs/S60owfs Shellcheck lib_sysv.Variables +package/owl-linux/0001-fix-for-linux-3.3.x.patch lib_patch.Upstream +package/patch/0001-Fix-segfault-with-mangled-rename-patch.patch lib_patch.Upstream +package/patch/0002-Allow-input-files-to-be-missing-for-ed-style-patches.patch lib_patch.Upstream +package/patch/0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch lib_patch.Upstream +package/patch/0004-Invoke-ed-directly-instead-of-using-the-shell.patch lib_patch.Upstream +package/patch/0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch lib_patch.Upstream +package/patchelf/0001-Add-option-to-make-the-rpath-relative-under-a-specif.patch lib_patch.Upstream +package/paxtest/0001-genpaxtest-move-log-location.patch lib_patch.Upstream +package/paxtest/0002-paxtest-page-alignment-ARM-and-NIOS2-arch.patch lib_patch.Upstream +package/pcm-tools/0001-pmu-query.py-fix-python3-errors-add-linux-platform-s.patch lib_patch.Upstream +package/pcmanfm/0001-po-de-po-fix-build-with-gettext-tiny.patch lib_patch.Upstream +package/pcre/0001-Kill-compatibility-bits.patch lib_patch.Upstream +package/pcre/0002-Disable-C-unit-tests.patch lib_patch.Upstream +package/pdmenu/0001-autoconf-makeinfo.in-link-with-INTLLIBS-if-needed.patch lib_patch.Upstream +package/pdmenu/0002-Makefile-autoconf-makeinfo.in-support-build-install-.patch lib_patch.Upstream +package/perl-net-ssleay/0001-fix-build-system.patch lib_patch.Upstream +package/perl-sys-cpu/0001-remove-extraneous-include.patch lib_patch.Upstream +package/perl-xml-libxml/0001-Makefile-PL.patch lib_patch.Upstream +package/php-geoip/0001-add-build-support-for-php8.patch lib_patch.Upstream +package/php-lua/0001-ZEND_ACC_ALLOW_STATIC-ZEND_ACC_STATIC-for-static-met.patch lib_patch.Upstream +package/php-lua/0002-php8-explicitly-declare-arginfo.patch lib_patch.Upstream +package/php-zmq/0001-updates-for-php7.4-and-php8.0.patch lib_patch.Upstream +package/php-zmq/0002-fix-for-php-7.3.patch lib_patch.Upstream +package/php-zmq/0003-fix-for-php-8.0.0beta2.patch lib_patch.Upstream +package/php/0001-acinclude.m4-don-t-unset-variables.patch lib_patch.Upstream +package/php/0002-iconv-tweak-iconv-detection.patch lib_patch.Upstream +package/php/0003-configure-disable-the-phar-tool.patch lib_patch.Upstream +package/php/0004-Call-apxs-with-correct-prefix.patch lib_patch.Upstream +package/php/0005-allow-opcache-cross-compiling.patch lib_patch.Upstream +package/pifmrds/0001-Makefile-cross-compile-friendly.patch lib_patch.Upstream +package/pifmrds/0002-Makefile-use-LDFLAGS.patch lib_patch.Upstream +package/pifmrds/0003-Makefile-fix-static-link.patch lib_patch.Upstream +package/pigpio/S50pigpio Shellcheck lib_sysv.Variables +package/pistache/0001-src-common-transport.cc-fallback-value-for-RUSAGE_TH.patch lib_patch.Upstream +package/pistache/0002-src-server-listener.cc-fix-libressl-build.patch lib_patch.Upstream +package/pixman/0001-Disable-tests.patch lib_patch.Upstream +package/pkgconf/0001-Only-prefix-with-the-sysroot-a-subset-of-variables.patch lib_patch.Upstream +package/pkgconf/pkg-config.in Shellcheck +package/poke/0001-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch lib_patch.Upstream +package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch lib_patch.Upstream +package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch lib_patch.Upstream +package/postgresql/S50postgresql lib_sysv.Variables +package/pptp-linux/0001-susv3-legacy.patch lib_patch.Upstream +package/pptp-linux/0002-fix-parallel-build.patch lib_patch.Upstream +package/prboom/0001-libpng-1.4.patch lib_patch.Upstream +package/prboom/0002-configure-remove-predefined-O2-optimization-flag.patch lib_patch.Upstream +package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch lib_patch.Upstream +package/procps-ng/S02sysctl lib_sysv.Variables +package/proftpd/S50proftpd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/prosody/0001-enable-syslog.patch lib_patch.Upstream +package/prosody/0002-add-pidfile.patch lib_patch.Upstream +package/prosody/S50prosody Shellcheck lib_sysv.Indent lib_sysv.Variables +package/protozero/0001-CMakeLists.txt-protobuf-is-only-needed-for-tests.patch lib_patch.Upstream +package/proxychains-ng/0001-add-configure-check-for-non-POSIX-compliant-getnameinfo-signature.patch lib_patch.Upstream +package/ptpd/S65ptpd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/ptpd2/0001-musl.patch lib_patch.Upstream +package/ptpd2/0002-ntp_isc_md5-rename-EVP_MD_CTX-into-PTPD_EVP_MD_CTX.patch lib_patch.Upstream +package/ptpd2/0003-Solve-issue-25-Removing-type-U64-from-net-snmp-relat.patch lib_patch.Upstream +package/ptpd2/S65ptpd2 Shellcheck lib_sysv.Indent lib_sysv.Variables +package/pulseaudio/0001-shm.c-use-_Static_assert-instead-of-static_assert-fo.patch lib_patch.Upstream +package/pulseaudio/S50pulseaudio lib_sysv.ConsecutiveEmptyLines lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables +package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch lib_patch.Upstream +package/pulseview/0002-Fix-broken-build-due-to-C-template-behind-C-linkage.patch lib_patch.Upstream +package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch lib_patch.Upstream +package/python-pylibftdi/0001-do-not-use-find-library.patch lib_patch.Upstream +package/python-pyqt5/0001-configure-skip-qtdetail.patch lib_patch.Upstream +package/python-pyqt5/0002-fix-QtCoremod.sip-syntax-error.patch lib_patch.Upstream +package/python-pyudev/0001-Workaround-finding-libudev-on-systems-without-ldconf.patch lib_patch.Upstream +package/python-pyzmq/0001-detect.py-fix-the-ZMQ-version-check-to-the-ZMQ-versi.patch lib_patch.Upstream +package/python-scipy/0001-build-sh4-FE.patch lib_patch.Upstream +package/python-setuptools/0001-add-executable.patch lib_patch.Upstream +package/python-sip/0001-remove-join-from-sip-h-files-string.patch lib_patch.Upstream +package/python-web2py/S51web2py Shellcheck lib_sysv.Variables +package/python-ws4py/0001-Adjust-ws4py-for-Python-3.7-syntax.patch lib_patch.Upstream +package/python3/0001-Make-the-build-of-pyc-files-conditional.patch lib_patch.Upstream +package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch lib_patch.Upstream +package/python3/0003-Add-an-option-to-disable-pydoc.patch lib_patch.Upstream +package/python3/0004-Add-an-option-to-disable-lib2to3.patch lib_patch.Upstream +package/python3/0005-Add-an-option-to-disable-IDLE.patch lib_patch.Upstream +package/python3/0006-configure.ac-move-PY_STDLIB_MOD_SET_NA-further-up.patch lib_patch.Upstream +package/python3/0007-Add-option-to-disable-the-sqlite3-module.patch lib_patch.Upstream +package/python3/0008-Add-an-option-to-disable-the-tk-module.patch lib_patch.Upstream +package/python3/0009-Add-an-option-to-disable-the-curses-module.patch lib_patch.Upstream +package/python3/0010-Add-an-option-to-disable-expat.patch lib_patch.Upstream +package/python3/0011-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch lib_patch.Upstream +package/qextserialport/0001-Create-a-main-include-file-QExtSerialPort.patch lib_patch.Upstream +package/qextserialport/0002-Tell-qmake-to-add-a-pkgconfig-file-to-ease-usage-wit.patch lib_patch.Upstream +package/qt5/qt5base/0001-qtbase-Fix-build-error-when-using-EGL.patch lib_patch.Upstream +package/qt5/qt5base/0002-double-conversion-enable-for-microblaze.patch lib_patch.Upstream +package/qt5/qt5base/0003-double-conversion-enable-for-nios2.patch lib_patch.Upstream +package/qt5/qt5base/0004-double-conversion-enable-for-xtensa.patch lib_patch.Upstream +package/qt5/qt5base/0005-eglfs-avoid-breaking-compilation-for-obscure-EGLNativeDisplayType-types.patch lib_patch.Upstream +package/qt5/qt5base/0006-Fix-build-on-riscv32.patch lib_patch.Upstream +package/qt5/qt5base/0007-src-corelib-configure.json-fix-atomicfptr-detection.patch lib_patch.Upstream +package/qt5/qt5base/0008-eglconvenience-add-missing-QList-include.patch lib_patch.Upstream +package/qt5/qt5declarative/0001-qsgtexture-fix-debug-build-with-uclibc.patch lib_patch.Upstream +package/qt5/qt5declarative/0002-qv4regexp_p-needs-c-limits-include-instead-of-plain-.patch lib_patch.Upstream +package/qt5/qt5enginio/0001-Do-not-use-deprecated-QLinkedList.patch lib_patch.Upstream +package/qt5/qt5location/0001-3rdparty-mapbox-gl-native-fix-musl-compile-pthread_g.patch lib_patch.Upstream +package/qt5/qt5script/0001-Detect-32-bits-armv8-a-architecture.patch lib_patch.Upstream +package/qt5/qt5tools/0001-Disable-designer-tool-fixes-configure-error.patch lib_patch.Upstream +package/qt5/qt5webengine-chromium/0001-Add-python3-build-support.patch lib_patch.Upstream +package/qt5/qt5webengine-chromium/0002-Don-t-rebase-sysroot-path.patch lib_patch.Upstream +package/qt5/qt5webengine/0001-gn.pro-don-t-link-statically-with-libstc.patch lib_patch.Upstream +package/qt5/qt5webengine/0002-Add-python3-build-support.patch lib_patch.Upstream +package/qt5/qt5webkit/0001-WinCairo-PlayStation-ICU-68.1-no-longer-exposes-FALS.patch lib_patch.Upstream +package/qt5/qt5webkit/0002-Fix-compilation-with-Python-3.9-avoid-passing-encodi.patch lib_patch.Upstream +package/qt5/qt5webkit/0003-Let-Bison-generate-the-header-directly-to-fix-build-.patch lib_patch.Upstream +package/qt5/qt5webkit/0004-Remove-invalid-g_object-declarations-to-fix-build-wi.patch lib_patch.Upstream +package/qt5/qt5webkit/0005-Add-support-for-ARC-processors.patch lib_patch.Upstream +package/qt5/qt5webkit/0006-Warnings-due-to-AppSinkCallbacks-struct-growth-https.patch lib_patch.Upstream +package/qt5cinex/0001-Fix-execution-problem-with-Qt5.3.patch lib_patch.Upstream +package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch lib_patch.Upstream +package/rapidxml/0001-ensure-internal-print-operations-are-declared-before.patch lib_patch.Upstream +package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch lib_patch.Upstream +package/read-edid/0001-Fix-install-file-list.patch lib_patch.Upstream +package/read-edid/0002-Fix-compiler-check.patch lib_patch.Upstream +package/read-edid/0003-fix-build-with-gcc-10.patch lib_patch.Upstream +package/readline/0001-curses-link.patch lib_patch.Upstream +package/redis/0001-uclibc.patch lib_patch.Upstream +package/redis/0002-largefile-conditional-define.patch lib_patch.Upstream +package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch lib_patch.Upstream +package/redis/S50redis Shellcheck lib_sysv.Variables +package/restorecond/S02restorecond Shellcheck +package/ripgrep/0001-puts-jemalloc-allocator-behind-a-cargo-feature-flag.patch lib_patch.Upstream +package/riscv-isa-sim/0001-riscv-disable-precompiled-headers.patch lib_patch.Upstream +package/rng-tools/S21rngd Shellcheck lib_sysv.Variables +package/rocksdb/0001-build_tools-build_detect_platform-fix-C-tests.patch lib_patch.Upstream +package/rpcbind/0001-Remove-yellow-pages-support.patch lib_patch.Upstream +package/rpcbind/S30rpcbind lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables +package/rpi-userland/0001-Add-.pc-files-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch lib_patch.Upstream +package/rpi-userland/0002-interface-remove-faulty-assert-to-make-weston-happy-.patch lib_patch.Upstream +package/rpi-userland/0003-Disable-Werror-everywhere.patch lib_patch.Upstream +package/rpi-userland/0004-host-applications-disable-missing-applications.patch lib_patch.Upstream +package/rpi-userland/0005-dtmerge-add-missing-include-for-va_list.patch lib_patch.Upstream +package/rpi-userland/0006-interface-vcos-pthreads-CMakeLists.txt-fix-build-wit.patch lib_patch.Upstream +package/rpi-userland/0007-GLES2-gl2ext.h-add-GLint64-GLuint64-and-GLsync-typed.patch lib_patch.Upstream +package/rt-tests/0001-Fix-a-build-issue-with-uClibc-ng.patch lib_patch.Upstream +package/rtorrent/0001-Added--disable-execinfo-option-to-configure.patch lib_patch.Upstream +package/rubix/0001-dont-use-legacy-functions.patch lib_patch.Upstream +package/rubix/0002-misc-fixes.patch lib_patch.Sob lib_patch.Upstream +package/rygel/S99rygel Shellcheck lib_sysv.Indent lib_sysv.Variables +package/s6-linux-init/0001-configure-add-D_GNU_SOURCE.patch lib_patch.Upstream +package/safeclib/0001-fix-armv7-asm-inline-error-GH-115.patch lib_patch.Upstream +package/samba4/0001-build-find-pre-built-heimdal-build-tools-in-case-of-.patch lib_patch.Upstream +package/samba4/0002-ldap_message_test.c-include-stdint.h-before-cmoka.h.patch lib_patch.Upstream +package/samba4/S91smb Shellcheck lib_sysv.Indent lib_sysv.Variables +package/sane-backends/0001-sane_backend-add-missing-config.h.patch lib_patch.Upstream +package/screen/0001-Do-not-create-backup-of-old-installed-binary.patch lib_patch.Upstream +package/screen/0002-Change-binary-permission-flags-even-if-chown-fails.patch lib_patch.Upstream +package/screen/0003-Support-overriding-SCREEN-to-get-a-non-versioned-bin.patch lib_patch.Upstream +package/screen/0004-Renamed-sched.h-to-eventqueue.h.patch lib_patch.Upstream +package/scrub/0001-configure-ac-make-sure-m4-macros-are-included-in-the-build.patch lib_patch.Upstream +package/sdl/0001-fix-compilation-with-libx11.patch lib_patch.Upstream +package/sdl/0002-SDL_x11yuv.c-fix-possible-use-after-free.patch lib_patch.Upstream +package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch lib_patch.Upstream +package/sdl_mixer/0002-configure__set_macro_directory.patch lib_patch.Upstream +package/sdl_mixer/0003-configure.ac-fix-static-linking-with-tremor.patch lib_patch.Upstream +package/sdl_sound/0001-fix-constness.patch lib_patch.Upstream +package/sdl_sound/0002-remove-werror.patch lib_patch.Upstream +package/sdl_sound/0003-renamed-physfs-export.patch lib_patch.Upstream +package/seatd/S70seatd NotExecutable lib_sysv.Variables +package/sedutil/0001-Common-log.h-time-2-needs-time.h.patch lib_patch.Upstream +package/sentry-native/0001-sentry.h-include-ucontext.h.patch lib_patch.Upstream +package/ser2net/S50ser2net Shellcheck lib_sysv.Indent lib_sysv.Variables +package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch lib_patch.Upstream +package/setserial/0001-build-system-fix.patch lib_patch.Upstream +package/setserial/0002-tiocghayesesp-build-fix.patch lib_patch.Upstream +package/shadowsocks-libev/0001-configure.ac-use-pkg-config-to-find-netfilter_conntr.patch lib_patch.Upstream +package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch lib_patch.Upstream +package/shadowsocks-libev/0003-lib-Makefile.am-remove-static-from-LDFLAGS.patch lib_patch.Upstream +package/shairport-sync/S99shairport-sync Shellcheck lib_sysv.Indent lib_sysv.Variables +package/shared-mime-info/0001-Remove-incorrect-dependency-from-install-data-hook.patch lib_patch.Upstream +package/shellinabox/0001-Makefile-disable-always-building-statically.patch lib_patch.Upstream +package/shellinabox/0002-CVE-2018-16789-fix-for-broken-multipart-form-data.patch lib_patch.Upstream +package/skeleton-init-systemd/fakeroot_tmpfiles.sh Shellcheck +package/slang/0001-slsh-libs.patch lib_patch.Upstream +package/smcroute/S41smcroute NotExecutable lib_sysv.Indent lib_sysv.Variables +package/smstools3/0001-fix-Makefile.patch lib_patch.Upstream +package/smstools3/0002-fix-build-with-gcc-10.x.patch lib_patch.Upstream +package/smstools3/S50smsd Shellcheck lib_sysv.Variables +package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch lib_patch.Upstream +package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch lib_patch.Upstream +package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch lib_patch.Upstream +package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch lib_patch.Upstream +package/snort/0005-fix-sparc.patch lib_patch.Upstream +package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch lib_patch.Upstream +package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch lib_patch.Upstream +package/snort/0008-Fix-NO-OPTIMIZE.patch lib_patch.Upstream +package/socketcand/0001-Fix-GCC10-build-failure.patch lib_patch.Upstream +package/softether/0001-Create-autotools-plumbing-for-SoftEther.patch lib_patch.Upstream +package/softether/0002-Create-libsoftether.so-and-dynamically-link.patch lib_patch.Upstream +package/softether/0003-use-fhs-install-directories.patch lib_patch.Upstream +package/softether/0004-create-non-forking-softetherd-for-upstart-and-systemd.patch lib_patch.Upstream +package/softether/0005-change-GetExeDir-to-GetStateDir-in-Cedar-and-Mayaqua.patch lib_patch.Upstream +package/softether/0006-cross-compile.patch lib_patch.Upstream +package/softether/0007-iconv.patch lib_patch.Upstream +package/softether/0008-librt.patch lib_patch.Upstream +package/softether/0009-uclibc-ai-addrconfig.patch lib_patch.Upstream +package/solarus/0001-cmake-remove-Werror.patch lib_patch.Upstream +package/solarus/0002-Add-a-basic-FindOpenGLES2.cmake.patch lib_patch.Sob lib_patch.Upstream +package/sox/0001-Make-SoX-support-uclibc-based-toolchains.patch lib_patch.Upstream +package/sox/0002-configure.ac-put-back-disable-stack-protector.patch lib_patch.Upstream +package/sox/0003-configure.ac-fix-static-linking-with-id3tag.patch lib_patch.Upstream +package/sox/0004-configure.ac-fix-static-linking-with-magic.patch lib_patch.Upstream +package/sox/0005-configure.ac-fix-static-linking-with-sndfile.patch lib_patch.Upstream +package/sp-oops-extract/0001-Make-the-Makefile-more-cross-compiler-friendly.patch lib_patch.Upstream +package/sp-oops-extract/0002-stdint-cleanup.patch lib_patch.Upstream +package/spandsp/0001-configure.ac-fix-AVX-SSE-and-MMX-options.patch lib_patch.Upstream +package/speex/0001-thumb2-support.patch lib_patch.Upstream +package/squid/S97squid Shellcheck lib_sysv.Indent lib_sysv.Variables +package/sredird/0001-termio.patch lib_patch.Upstream +package/sscep/0001-Fix-getopt-linking-error.patch lib_patch.Upstream +package/sshguard/S49sshguard lib_sysv.Indent +package/sslh/S35sslh Shellcheck lib_sysv.Indent lib_sysv.Variables +package/start-stop-daemon/0001-add-uclibc-alias-and-musl.patch lib_patch.Upstream +package/start-stop-daemon/0002-just-warn-on-missing-arch.patch lib_patch.Upstream +package/statserial/0001-ncurses-link.patch lib_patch.Upstream +package/stunnel/S50stunnel Shellcheck lib_sysv.Indent lib_sysv.Variables +package/supervisor/S99supervisord lib_sysv.Variables +package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch lib_patch.Upstream +package/suricata/S99suricata Shellcheck +package/swupdate/swupdate.sh Shellcheck +package/sylpheed/0001-harden-link-checker-before-accepting-click.patch lib_patch.Upstream +package/sysrepo/S51sysrepo-plugind Shellcheck lib_sysv.Indent +package/sysvinit/0001-Makefile-disable-stack-protector-strong.patch lib_patch.Upstream +package/tar/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch lib_patch.Upstream +package/targetcli-fb/S50target Shellcheck lib_sysv.Variables +package/taskd/0001-Fix-missing-cmakedefine-HAVE_GET_CURRENT_DIR_NAME.patch lib_patch.Upstream +package/taskd/0002-Use-correct-variables-for-GnuTLS-detection.patch lib_patch.Upstream +package/taskd/0003-CMakeLists-use-pkg-config-uuid-detection.patch lib_patch.Upstream +package/tcf-agent/S55tcf-agent Shellcheck lib_sysv.Variables +package/tftpd/S80tftpd-hpa Shellcheck lib_sysv.Indent lib_sysv.Variables +package/ti-gfx/0001-newclkapi.patch lib_patch.Upstream +package/ti-gfx/0002-fix-build-omaplfb-linux.patch lib_patch.Upstream +package/ti-gfx/0003-km_install_modules.patch lib_patch.Upstream +package/ti-gfx/S80ti-gfx Shellcheck lib_sysv.Variables +package/ti-gfx/esrev.sh Shellcheck +package/ti-sgx-um/0001-Makefile-do-not-install-init-script.patch lib_patch.Upstream +package/ti-sgx-um/S80ti-sgx lib_sysv.Variables +package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch lib_patch.Upstream +package/tinyalsa/0001-include-time.h-before-asound.h.patch lib_patch.Upstream +package/tinycbor/0001-Makefile-add-DISABLE_WERROR.patch lib_patch.Upstream +package/tinycompress/0001-wave-add-time.h-missing-header-inclusion.patch lib_patch.Upstream +package/tinydtls/0001-sha2-sha2.c-fix-build-on-big-endian.patch lib_patch.Upstream +package/tinyxml/0001-In-stamp-always-advance-the-pointer-if-p-0xef.patch lib_patch.Upstream +package/tpm2-abrmd/S80tpm2-abrmd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/tpm2-tss/0001-Temporary-fix-for-build-without-C.patch lib_patch.Upstream +package/transmission/S92transmission Shellcheck lib_sysv.ConsecutiveEmptyLines lib_sysv.Indent lib_sysv.Variables +package/triggerhappy/S10triggerhappy Shellcheck lib_sysv.Indent lib_sysv.Variables +package/trinity/0001-Fix-build-with-GCC-10.patch lib_patch.Upstream +package/trinity/0002-net-proto-ip-raw.c-fix-build-with-kernel-5.13.patch lib_patch.Upstream +package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch lib_patch.Upstream +package/trinity/0004-drop-decnet.patch lib_patch.Upstream +package/trousers/0001-Check-if-the-compiler-understands-pie-and-relro-options.patch lib_patch.Upstream +package/trousers/0002-Check-that-getpwent_r-is-available-before-using-it.patch lib_patch.Upstream +package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch lib_patch.Upstream +package/tstools/0001-build-get-along-with-buildroot.patch lib_patch.Upstream +package/tvheadend/0001-no-check_config.patch lib_patch.Upstream +package/tvheadend/S99tvheadend Shellcheck lib_sysv.Indent lib_sysv.Variables +package/uboot-tools/0001-drop-configh-from-tools.patch lib_patch.Upstream +package/uboot-tools/0002-tools-only-in-no-dot-config-targets.patch lib_patch.Upstream +package/uboot-tools/0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.patch lib_patch.Upstream +package/ubus/0001-Install-server-and-client-examples.patch lib_patch.Upstream +package/uemacs/01-clear-ixon-termios-flag.patch lib_patch.Upstream +package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch lib_patch.Upstream +package/uhttpd/0001-Remove-Werror.patch lib_patch.Upstream +package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch lib_patch.Upstream +package/unbound/S70unbound Shellcheck +package/unifdef/0001-Makefile-fix-error-on-install.patch lib_patch.Upstream +package/unscd/S46unscd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/unzip/0001-Add-a-CMakeFile.txt-to-ease-cross-compilation.patch lib_patch.Upstream +package/upmpdcli/S99upmpdcli Shellcheck lib_sysv.Indent lib_sysv.Variables +package/uqmi/0001-uqmi-avoid-gcc-12.x-false-error-reporting-storing-th.patch lib_patch.Upstream +package/urg/0001-select-h.patch lib_patch.Upstream +package/urg/0002-urg-gcc6-fix-narrowing-conversion.patch lib_patch.Upstream +package/usb_modeswitch/0001-fix-systemd-detection.patch lib_patch.Upstream +package/usbguard/S20usbguard Shellcheck lib_sysv.Indent lib_sysv.Variables +package/usbmount/0001-rules-fix.patch lib_patch.Upstream +package/usbmount/0002-use-udev-environment-instead-of-blkid.patch lib_patch.Upstream +package/ushare/0001-Don-t-build-po-files-if-NLS-is-disabled.patch lib_patch.Upstream +package/ussp-push/0001-fix-build-against-bluez-4.patch lib_patch.Upstream +package/ussp-push/0002-fix-build-again-obex-bluez.patch lib_patch.Upstream +package/ussp-push/0003-add-OBEX_CharToUnicode.patch lib_patch.Upstream +package/vala/0001-dont-add-dirty-to-valac-version.patch lib_patch.Upstream +package/vala/vala-wrapper Shellcheck +package/valgrind/0001-workaround-SIGSEGV-on-PPC.patch lib_patch.Upstream +package/valgrind/0002-Define-PTRACE_GETSIGINFO-on-PowerPC-when-not-availab.patch lib_patch.Upstream +package/vboot-utils/0001-Add-missing-definition-of-MTD_CHAR_MAJOR.patch lib_patch.Upstream +package/vdr/0001-getloadavg.patch lib_patch.Upstream +package/vlc/0001-Disable-building-of-statically-linked-vlc-binary.patch lib_patch.Upstream +package/vlc/0002-automake-add-subdir-objects-option.patch lib_patch.Upstream +package/vlc/0003-build-use-pkg-config-to-get-tremor-libs.patch lib_patch.Upstream +package/vlc/0004-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch lib_patch.Upstream +package/vlc/0005-Don-t-assume-strerror_l-is-available.patch lib_patch.Upstream +package/vlc/0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch lib_patch.Upstream +package/vlc/0007-Add-support-for-freerdp2.patch lib_patch.Upstream +package/vlc/0008-configure.ac-also-use-AC_PATH_PROG-to-check-for-wayl.patch lib_patch.Upstream +package/vlc/0009-modules-video_filter-opencv_example.cpp-fix-build-wi.patch lib_patch.Upstream +package/vlc/0010-opengl-missing-library-check.patch lib_patch.Upstream +package/vpnc/0001-Makefile-allow-to-override-the-PREFIX-variable.patch lib_patch.Upstream +package/vpnc/0002-Makefile-allow-to-override-the-version.patch lib_patch.Upstream +package/vpnc/0003-Makefile-allow-passing-custom-CFLAGS-CPPFLAGS.patch lib_patch.Upstream +package/vpnc/0004-Makefile-provide-an-option-to-not-build-manpages.patch lib_patch.Upstream +package/vpnc/0005-Makefile-allow-passing-a-custom-path-to-libgcrypt-co.patch lib_patch.Upstream +package/vpnc/0006-config.c-Replace-deprecated-SUSv3-functions-with-POS.patch lib_patch.Upstream +package/vpnc/0007-sysdep.h-don-t-assume-error.h-is-available-on-all-Li.patch lib_patch.Upstream +package/vpnc/0008-sysdep.c-don-t-include-linux-if_tun.h-on-Linux.patch lib_patch.Upstream +package/vpnc/0009-config.c-add-missing-sys-ttydefaults.h-include.patch lib_patch.Upstream +package/vsftpd/0001-utmpx-builddef.patch lib_patch.Upstream +package/vsftpd/0002-fix-CVE-2015-1419.patch lib_patch.Upstream +package/vsftpd/0003-Prevent-hang-in-SIGCHLD-handler.patch lib_patch.Upstream +package/vsftpd/S70vsftpd Shellcheck lib_sysv.Indent lib_sysv.Variables +package/vte/0001-build-Fix-build-with-kernel-headers-from-linux-4-13.patch lib_patch.Upstream +package/vte/0002-build-Fix-check-for-fstack-protector-compiler-support.patch lib_patch.Upstream +package/vtun/0001-fix-installation.patch lib_patch.Upstream +package/vtun/0002-fix-ssl-headers-checks.patch lib_patch.Upstream +package/vtun/0003-openssl11.patch lib_patch.Upstream +package/w_scan/0001-musl.patch lib_patch.Upstream +package/w_scan/0002-si_types-h-fix-build-with-gcc-10.patch lib_patch.Upstream +package/waffle/0001-cmake-forward-cflags-from-.pc-files-to-waffle-cflags.patch lib_patch.Upstream +package/waffle/0002-wayland-fix-build-against-version-1-20.patch lib_patch.Upstream +package/waffle/0003-drop-C-dependency.patch lib_patch.Upstream +package/wampcc/0001-Add-RISC-V-endian-detection.patch lib_patch.Upstream +package/wampcc/0002-include-wampcc-platform.h-fix-build-with-musl-1.2.0.patch lib_patch.Upstream +package/wampcc/0003-Broken-build-on-Windows.patch lib_patch.Upstream +package/watchdogd/S01watchdogd NotExecutable lib_sysv.Indent +package/wget/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch lib_patch.Upstream +package/wilc-driver/0001-cfg80211.c-fix-missing-prandom_u32-with-Linux-6.1.0.patch lib_patch.Upstream +package/wilc-driver/0002-spi.c-fix-build-failure-on-remove-callback.patch lib_patch.Upstream +package/wilc-driver/0003-cfg80211.c-fix-build-failure-with-Linux-5.19-and-6.1.patch lib_patch.Upstream +package/wilc-driver/0004-Fix-struct-station_parameters-Linux-6.1-build-failur.patch lib_patch.Upstream +package/wilc-driver/0005-Fix-cast-warnings.patch lib_patch.Upstream +package/wipe/0001-musl.patch lib_patch.Upstream +package/wireless_tools/0001-remove-bzero.patch lib_patch.Upstream +package/woff2/0001-CMake-Handle-multiple-libraries-being-returned-for-B.patch lib_patch.Upstream +package/wpa_supplicant/ifupdown.sh Shellcheck +package/x11r7/xapp_luit/0001-posix-openpt.patch lib_patch.Upstream +package/x11r7/xapp_xdm/S99xdm lib_sysv.Indent lib_sysv.Variables +package/x11r7/xcursor-transparent-theme/0001-fix-symlink.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-input-evdev/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-input-joystick/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-input-libinput/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-input-mouse/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-input-synaptics/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-fbturbo/0001-sunxi_x_g2d-drop-unused-dri2-include.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-fbturbo/0002-Use-own-thunk-functions-instead-of-fbdevHW-Weak.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-fbturbo/0003-Update-for-1.20-ABI.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-fbturbo/0004-xorg.conf-add-mandatory-modules-fb-shadow-fbdevhw.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-fbturbo/0005-backing_store_tuner-struct-_Window-backStorage-is-go.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-imx/0001-Update-to-newer-swap-macros.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-imx/0002-Fix-error-unknown-type-name-uint.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-imx/0003-support-glibc-2.20.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-imx/0004-Make-video-API-forward-and-backward-compatible.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-imx/0005-xf86-video-imxfb-fix-m4-hardcodded-paths.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-imx/0006-xserver-1.14-compat.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-mach64/0001-cross-compile.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-nouveau/0001-nouveau-fixup-driver-for-new-X-server-ABI.patch lib_patch.Upstream +package/x11r7/xdriver_xf86-video-tdfx/0001-cross.patch lib_patch.Upstream +package/x11r7/xserver_xorg-server/0001-include-misc.h-fix-uClibc-build.patch lib_patch.Upstream +package/x11r7/xserver_xorg-server/S40xorg Shellcheck lib_sysv.Variables +package/xen/0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch lib_patch.Upstream +package/xen/0002-Fix-build-with-64-bits-time_t.patch lib_patch.Upstream +package/xen/0003-libs-light-fix-tv_sec-printf-format.patch lib_patch.Upstream +package/xen/0004-libs-light-fix-tv_sec-fprintf-format.patch lib_patch.Upstream +package/xinetd/0001-ar.patch lib_patch.Upstream +package/xinetd/0002-destdir.patch lib_patch.Upstream +package/xinetd/0003-rpc-fix.patch lib_patch.Upstream +package/xinetd/0004-configure-rlim_t.patch lib_patch.Upstream +package/xinetd/0005-CVE-2013-4342-xinetd-ignores-user-and-group-directiv.patch lib_patch.Upstream +package/xl2tp/xl2tpd lib_shellscript.TrailingSpace +package/xml-security-c/0001-fix-build-with-libressl-3.5.0.patch lib_patch.Upstream +package/yajl/0001-Let-the-shared-and-the-static-library-have-the-same-.patch lib_patch.Upstream +package/yajl/0002-cmake-disable-shared-library-build-when-BUILD_SHARED.patch lib_patch.Upstream +package/yajl/0003-Link-with-shared-libyajl-in-a-shared-build.patch lib_patch.Upstream +package/yajl/0004-Link-libyajl-_s-with-libm-when-isnan-is-not-brought-.patch lib_patch.Upstream +package/ympd/0001-only-c-language.patch lib_patch.Upstream +package/ympd/0002-added-forward-declarations.patch lib_patch.Upstream +package/zic/0001-remove-dependency-check-on-version-file.patch lib_patch.Upstream +package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch lib_patch.Upstream +package/zip/0002-configure-Don-t-use-host-CPP.patch lib_patch.Upstream +package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch lib_patch.Upstream +package/zip/0004-configure-use-LDFLAGS-from-command-line.patch lib_patch.Upstream +package/zip/0005-unix-configure-remove-GID-UID-size-check.patch lib_patch.Upstream +package/zip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch lib_patch.Upstream +package/zip/0007-timezone.c-needs-time.h-fixes-musl-compile.patch lib_patch.Upstream +package/zip/0008-fix-musl-static-build.patch lib_patch.Upstream +package/zmqpp/0001-Allow-building-shared-or-static-library-only.patch lib_patch.Upstream +support/dependencies/check-host-asciidoc.sh Shellcheck +support/dependencies/check-host-cmake.sh Shellcheck +support/dependencies/check-host-gzip.sh Shellcheck +support/dependencies/check-host-lzip.sh Shellcheck +support/dependencies/check-host-make.sh Shellcheck +support/dependencies/check-host-python3.sh Shellcheck +support/dependencies/check-host-tar.sh Shellcheck +support/dependencies/check-host-xzcat.sh Shellcheck +support/dependencies/dependencies.sh Shellcheck +support/download/bzr Shellcheck lib_shellscript.ConsecutiveEmptyLines +support/download/file Shellcheck +support/download/go-post-process Shellcheck +support/download/hg Shellcheck +support/download/scp Shellcheck +support/download/sftp Shellcheck +support/download/wget Shellcheck +support/gnuconfig/update Shellcheck +support/libtool/buildroot-libtool-v1.5.patch lib_patch.ApplyOrder lib_patch.Sob lib_patch.Upstream +support/libtool/buildroot-libtool-v2.2.patch lib_patch.ApplyOrder lib_patch.Sob lib_patch.Upstream +support/libtool/buildroot-libtool-v2.4.4.patch lib_patch.ApplyOrder lib_patch.Upstream +support/libtool/buildroot-libtool-v2.4.patch lib_patch.ApplyOrder lib_patch.Sob lib_patch.Upstream +support/misc/relocate-sdk.sh Shellcheck +support/scripts/apply-patches.sh Shellcheck +support/scripts/br2-external Shellcheck +support/scripts/check-bin-arch Shellcheck +support/scripts/check-host-rpath Shellcheck +support/scripts/expunge-gconv-modules Shellcheck +support/scripts/fix-configure-powerpc64.sh lib_shellscript.EmptyLastLine +support/scripts/generate-gitlab-ci-yml Shellcheck +support/scripts/mkmakefile Shellcheck lib_shellscript.ConsecutiveEmptyLines +support/scripts/setlocalversion Shellcheck +support/testing/tests/core/post-build.sh Shellcheck +support/testing/tests/package/test_opkg/post-build.sh Shellcheck +support/testing/tests/utils/test_get_developers/0001-package-binutils-change-.mk.patch lib_patch.NumberedSubject lib_patch.Upstream diff --git a/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch b/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch index d330de5cd4..378ff0dfd3 100644 --- a/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch +++ b/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch @@ -22,7 +22,7 @@ diff --git a/parse.y b/parse.y index 1d12e639..8f1355c6 100644 --- a/parse.y +++ b/parse.y -@@ -2625,6 +2625,7 @@ next_alias_char: +@@ -2640,6 +2640,7 @@ next_alias_char: parser_state |= PST_ENDALIAS; /* We need to do this to make sure last_shell_getc_is_singlebyte returns true, since we are returning a single-byte space. */ @@ -30,7 +30,7 @@ index 1d12e639..8f1355c6 100644 if (shell_input_line_index == shell_input_line_len && last_shell_getc_is_singlebyte == 0) { #if 0 -@@ -2638,6 +2639,7 @@ next_alias_char: +@@ -2653,6 +2654,7 @@ next_alias_char: shell_input_line_property[shell_input_line_index - 1] = 1; #endif } @@ -42,7 +42,7 @@ diff --git a/y.tab.c b/y.tab.c index 50c5845b..799f730f 100644 --- a/y.tab.c +++ b/y.tab.c -@@ -4936,6 +4936,7 @@ next_alias_char: +@@ -4955,6 +4955,7 @@ next_alias_char: parser_state |= PST_ENDALIAS; /* We need to do this to make sure last_shell_getc_is_singlebyte returns true, since we are returning a single-byte space. */ @@ -50,7 +50,7 @@ index 50c5845b..799f730f 100644 if (shell_input_line_index == shell_input_line_len && last_shell_getc_is_singlebyte == 0) { #if 0 -@@ -4949,6 +4950,7 @@ next_alias_char: +@@ -4968,6 +4969,7 @@ next_alias_char: shell_input_line_property[shell_input_line_index - 1] = 1; #endif } diff --git a/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch b/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch deleted file mode 100644 index c412dcfce2..0000000000 --- a/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 754e0d1edc1c01b18f4890de7c58f7610e589d76 Mon Sep 17 00:00:00 2001 -From: Vincent Fazio -Date: Tue, 7 Feb 2023 03:55:28 -0600 -Subject: [PATCH] configure: invert condition for strtoimax builtin - -Previously, bash would attempt to build a replacement for strtoimax if -it found that the C library had the function already declared. - -This caused build errors when linking against static libraries that did -not define the function as a weak alias but, in reality, was a logic -error since bash should only provide it's own implementation if one is -not provided by the C library. - -Now, fix this by inverting the logic. - -Upstream: - https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=43e861c2cd840946a81dfd0386966eb4f3a17ce9 - -Signed-off-by: Vincent Fazio -[yann.morin.1998@free.fr: patch configure after the m file] -Signed-off-by: Yann E. MORIN ---- - configure | 6 +++++- - m4/strtoimax.m4 | 5 ++++- - 2 files changed, 9 insertions(+), 2 deletions(-) - -diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4 -index 30985723..fa43ac7b 100644 ---- a/m4/strtoimax.m4 -+++ b/m4/strtoimax.m4 -@@ -29,7 +29,10 @@ AC_CACHE_VAL(bash_cv_func_strtoimax, - fi - ]) - AC_MSG_RESULT($bash_cv_func_strtoimax) --if test $bash_cv_func_strtoimax = yes; then -+if test "$ac_cv_have_decl_strtoimax" = "yes" ; then -+AC_DEFINE([HAVE_DECL_STRTOIMAX], [1]) -+fi -+if test $bash_cv_func_strtoimax = no; then - AC_LIBOBJ(strtoimax) - fi - ]) -diff --git a/configure b/configure -index 47313753..6039cee7 100755 ---- a/configure -+++ b/configure -@@ -20443,7 +20443,11 @@ fi - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bash_cv_func_strtoimax" >&5 - printf "%s\n" "$bash_cv_func_strtoimax" >&6; } --if test $bash_cv_func_strtoimax = yes; then -+if test "$ac_cv_have_decl_strtoimax" = "yes" ; then -+printf "%s\n" "#define HAVE_DECL_STRTOIMAX 1" >>confdefs.h -+ -+fi -+if test $bash_cv_func_strtoimax = no; then - case " $LIBOBJS " in - *" strtoimax.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS strtoimax.$ac_objext" --- -2.25.1 - diff --git a/package/bash/bash.hash b/package/bash/bash.hash index 44c1c5ed50..c2fb1d38d4 100644 --- a/package/bash/bash.hash +++ b/package/bash/bash.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature from -# https://ftp.gnu.org/gnu/bash/bash-5.2.21.tar.gz.sig -sha256 c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8 bash-5.2.21.tar.gz +# https://ftp.gnu.org/gnu/bash/bash-5.2.37.tar.gz.sig +sha256 9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff bash-5.2.37.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 9d173a5c7c..81f698f166 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -4,7 +4,7 @@ # ################################################################################ -BASH_VERSION = 5.2.21 +BASH_VERSION = 5.2.37 BASH_SITE = $(BR2_GNU_MIRROR)/bash BASH_DEPENDENCIES = ncurses readline host-bison BASH_LICENSE = GPL-3.0+ From 2ba03f9ab1595efd17060c7b40c6a4507ae740ee Mon Sep 17 00:00:00 2001 From: Florian Larysch Date: Wed, 7 May 2025 20:53:07 +0200 Subject: [PATCH 025/150] package/bash: fix build with host GCC 15 bash uses K&R function declarations which have been removed in C23. Since part of the build process (like the mkbuiltins helper) is written in C, building bash now fails on hosts with GCC 15 (which defaults to C23). Since properly fixing this on the source code level is a larger endeavor, just set the C standard to an old enough version for now. Signed-off-by: Florian Larysch Signed-off-by: Julien Olivain --- package/bash/bash.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 81f698f166..84f581da79 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -26,6 +26,10 @@ BASH_CONF_ENV += \ bash_cv_func_sigsetjmp=present \ bash_cv_printf_a_format=yes +ifeq ($(BR2_HOST_GCC_AT_LEAST_15),y) +BASH_CONF_ENV += CFLAGS_FOR_BUILD="$(HOST_CFLAGS) -std=gnu17" +endif + # The static build needs some trickery ifeq ($(BR2_STATIC_LIBS),y) BASH_CONF_OPTS += --enable-static-link From 68d8610b3e70ff41dc5bf3f1ac4f46cf140c4c6c Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 23 Jun 2025 22:28:58 +0300 Subject: [PATCH 026/150] Revert "package/bash: fix build with host GCC 15" This reverts commit 2ba03f9ab1595efd17060c7b40c6a4507ae740ee. --- package/bash/bash.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 84f581da79..81f698f166 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -26,10 +26,6 @@ BASH_CONF_ENV += \ bash_cv_func_sigsetjmp=present \ bash_cv_printf_a_format=yes -ifeq ($(BR2_HOST_GCC_AT_LEAST_15),y) -BASH_CONF_ENV += CFLAGS_FOR_BUILD="$(HOST_CFLAGS) -std=gnu17" -endif - # The static build needs some trickery ifeq ($(BR2_STATIC_LIBS),y) BASH_CONF_OPTS += --enable-static-link From 89c5ae426f5ac7b4aa7654c560850f7c9f3d4982 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 23 Jun 2025 22:28:59 +0300 Subject: [PATCH 027/150] Revert "package/bash: bump to version 5.2.37" This reverts commit d558b295045db6831cd4a06ce754a612fc439865. --- .checkpackageignore | 1375 ----------------- ...compilation-for-non-multibyte-builds.patch | 8 +- ...vert-condition-for-strtoimax-builtin.patch | 62 + package/bash/bash.hash | 4 +- package/bash/bash.mk | 2 +- 5 files changed, 69 insertions(+), 1382 deletions(-) delete mode 100644 .checkpackageignore create mode 100644 package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch diff --git a/.checkpackageignore b/.checkpackageignore deleted file mode 100644 index 7e575dc950..0000000000 --- a/.checkpackageignore +++ /dev/null @@ -1,1375 +0,0 @@ -board/amarula/vyasa/post-build.sh Shellcheck -board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch lib_patch.Upstream -board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch lib_patch.Upstream -board/andes/ae350/post-build.sh Shellcheck -board/arcturus/aarch64-ucls1012a/post-build.sh Shellcheck -board/arcturus/aarch64-ucls1012a/post-image.sh Shellcheck -board/aspeed/common/post-image.sh Shellcheck -board/asus/tinker/post-build.sh Shellcheck -board/atmel/flasher.sh Shellcheck -board/beagleboard/beaglebone-qt5/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch lib_patch.Upstream -board/beagleboard/beaglebone/post-build.sh Shellcheck -board/beagleboard/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch lib_patch.Upstream -board/beagleboard/beagleboneai/post-build.sh Shellcheck -board/beelink/gs1/post-build.sh Shellcheck -board/boundarydevices/common/post-build.sh Shellcheck -board/boundarydevices/common/post-image.sh Shellcheck -board/broadcom/northstar/post-image.sh Shellcheck -board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh Shellcheck lib_shellscript.EmptyLastLine -board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh Shellcheck -board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh Shellcheck -board/bsh/imx8mn-bsh-smm-s2/flash.sh Shellcheck lib_shellscript.EmptyLastLine -board/bsh/imx8mn-bsh-smm-s2/post-build.sh Shellcheck -board/canaan/k210-soc/post-build.sh Shellcheck -board/chromebook/elm/sign.sh Shellcheck -board/chromebook/mksd.sh Shellcheck -board/chromebook/snow/sign.sh Shellcheck -board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch lib_patch.Upstream -board/freescale/common/imx/imx8-bootloader-prepare.sh Shellcheck -board/freescale/common/mxs/post-image.sh Shellcheck -board/friendlyarm/nanopi-r2s/post-build.sh Shellcheck -board/hardkernel/odroidc2/post-image.sh Shellcheck -board/hardkernel/odroidc2/rootfs_overlay/etc/init.d/S09modload Shellcheck lib_sysv.Variables -board/hardkernel/odroidxu4/post-image.sh Shellcheck lib_shellscript.EmptyLastLine -board/intel/galileo/patches/linux/0001-x86-relocs-Make-per_cpu_load_addr-static.patch lib_patch.Upstream -board/intel/galileo/post-build.sh Shellcheck -board/intel/galileo/rootfs_overlay/etc/init.d/S09modload Shellcheck lib_sysv.Variables -board/kontron/bl-imx8mm/post-build.sh Shellcheck -board/kontron/pitx-imx8m/patches/uboot/2022.04/0001-tools-mkeficapsule-use-pkg-config-to-get-luuid-and-l.patch lib_patch.NumberedSubject lib_patch.Upstream -board/kontron/pitx-imx8m/post-build.sh Shellcheck -board/kontron/smarc-sal28/post-build.sh Shellcheck -board/lego/ev3/post-image.sh Shellcheck -board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch lib_patch.Upstream -board/lemaker/bananapro/post-build.sh Shellcheck -board/lemaker/bananapro/post-image.sh Shellcheck -board/minnowboard/post-build.sh Shellcheck -board/nexbox/a95x/post-build.sh Shellcheck -board/nexbox/a95x/post-image.sh Shellcheck -board/octavo/osd32mp1-brk/patches/uboot/0001-Add-OSD32MP1-BRK-device-tree-support.patch lib_patch.NumberedSubject lib_patch.Upstream -board/octavo/osd32mp1-brk/patches/uboot/0002-Add-OSD32MP1-BRK-build-config.patch lib_patch.NumberedSubject lib_patch.Upstream -board/octavo/osd32mp1-red/patches/uboot/0001-Add-OSD32MP1-RED-Device-Tree-support.patch lib_patch.NumberedSubject lib_patch.Upstream -board/octavo/osd32mp1-red/patches/uboot/0002-configs-stm32mp15_trusted_defconfig-disable-environm.patch lib_patch.NumberedSubject lib_patch.Upstream -board/olimex/a13_olinuxino/post-build.sh Shellcheck -board/olimex/a20_olinuxino/post-build.sh Shellcheck -board/olimex/a33_olinuxino/post-build.sh Shellcheck -board/olpc/post-build.sh Shellcheck -board/orangepi/common/post-build.sh Shellcheck -board/orangepi/orangepi-lite2/post-build.sh Shellcheck -board/orangepi/orangepi-one-plus/post-build.sh Shellcheck -board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch lib_patch.Upstream -board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch lib_patch.Upstream -board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch lib_patch.Upstream -board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch lib_patch.Upstream -board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch lib_patch.Upstream -board/pine64/rock64/post-build.sh Shellcheck -board/qemu/aarch64-sbsa/assemble-flash-images Shellcheck -board/qemu/x86/post-build.sh Shellcheck -board/qemu/x86_64/post-build.sh Shellcheck -board/radxa/rockpi-n8/post-build.sh Shellcheck -board/raspberrypi/post-build.sh Shellcheck -board/raspberrypi/post-image.sh Shellcheck -board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch lib_patch.Upstream -board/roseapplepi/post-build.sh Shellcheck -board/seeed/stm32mp157c-odyssey/patches/linux/0001-ARM-dts-stm32-fix-stm32mp157c-odyssey-card-detect.patch lib_patch.Upstream -board/sheevaplug/patches/uboot/0001-Remove-redundant-YYLOC-global-declaration.patch lib_patch.Upstream -board/sifive/hifive-unleashed/post-build.sh Shellcheck -board/solidrun/clearfog/post-build.sh Shellcheck -board/solidrun/macchiatobin/post-build-mainline.sh Shellcheck -board/solidrun/macchiatobin/post-build.sh Shellcheck -board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh Shellcheck -board/stmicroelectronics/common/stm32mp1xx/post-image.sh Shellcheck -board/stmicroelectronics/stm32f429-disco/flash.sh Shellcheck -board/stmicroelectronics/stm32f469-disco/flash_sd.sh Shellcheck -board/stmicroelectronics/stm32f469-disco/flash_xip.sh Shellcheck -board/synopsys/axs10x/post-build.sh Shellcheck -board/technologic/ts4900/post-image.sh Shellcheck -board/toradex/apalis-imx6/post-image.sh Shellcheck -board/udoo/common/post-build.sh Shellcheck -boot/afboot-stm32/0003-Makefile-disable-stack-protector.patch lib_patch.Upstream -boot/optee-os/3.13.0/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch lib_patch.Upstream -boot/syslinux/0001-bios-Fix-alignment-change-with-gcc-5.patch lib_patch.Upstream -boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch lib_patch.Upstream -boot/syslinux/0003-memdisk-Force-ld-output-format-to-32-bits.patch lib_patch.Upstream -boot/syslinux/0004-utils-Use-the-host-toolchain-to-build.patch lib_patch.Upstream -boot/syslinux/0005-lzo-Use-the-host-toolchain-for-prepcore.patch lib_patch.Upstream -boot/syslinux/0006-The-VPrint-definition-is-now-part-of-the-exports-of-.patch lib_patch.Upstream -boot/syslinux/0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch lib_patch.Upstream -boot/syslinux/0008-efi-wrapper-build-it-with-the-host-toolchain.patch lib_patch.Upstream -boot/syslinux/0011-extlinux-Use-the-host-toolchain-to-build.patch lib_patch.Upstream -boot/syslinux/0012-pull-in-sys-sysmacros-h-for-major-minor-makedev.patch lib_patch.Upstream -boot/syslinux/0013-Fix-build-with-gnu-efi-version-3.0.9.patch lib_patch.Upstream -boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch lib_patch.Upstream -boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch lib_patch.Upstream -boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch lib_patch.Upstream -configs/am574x_idk_defconfig lib_defconfig.ForceCheckHash -configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash -configs/arcturus_ucls1012a_defconfig lib_defconfig.ForceCheckHash -configs/arcturus_ucp1020_defconfig lib_defconfig.ForceCheckHash -configs/arm_foundationv8_defconfig lib_defconfig.ForceCheckHash -configs/aspeed_ast2500evb_defconfig lib_defconfig.ForceCheckHash -configs/aspeed_ast2600evb_defconfig lib_defconfig.ForceCheckHash -configs/asus_tinker-s_rk3288_defconfig lib_defconfig.ForceCheckHash -configs/asus_tinker_rk3288_defconfig lib_defconfig.ForceCheckHash -configs/at91sam9260eknf_defconfig lib_defconfig.ForceCheckHash -configs/at91sam9g20dfc_defconfig lib_defconfig.ForceCheckHash -configs/at91sam9g45m10ek_defconfig lib_defconfig.ForceCheckHash -configs/at91sam9rlek_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d2_xplained_mmc_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d2_xplained_mmc_dev_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d3_xplained_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d3_xplained_dev_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d3_xplained_mmc_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d3_xplained_mmc_dev_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d3xek_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d4_xplained_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d4_xplained_dev_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d4_xplained_mmc_defconfig lib_defconfig.ForceCheckHash -configs/atmel_sama5d4_xplained_mmc_dev_defconfig lib_defconfig.ForceCheckHash -configs/avenger96_defconfig lib_defconfig.ForceCheckHash -configs/avnet_rzboard_v2l_defconfig lib_defconfig.ForceCheckHash -configs/bananapi_m2_berry_defconfig lib_defconfig.ForceCheckHash -configs/bananapi_m2_ultra_defconfig lib_defconfig.ForceCheckHash -configs/bananapi_m2_zero_defconfig lib_defconfig.ForceCheckHash -configs/bananapro_defconfig lib_defconfig.ForceCheckHash -configs/beelink_gs1_defconfig lib_defconfig.ForceCheckHash -configs/broadcom_northstar_defconfig lib_defconfig.ForceCheckHash -configs/canaan_kd233_defconfig lib_defconfig.ForceCheckHash -configs/ci20_defconfig lib_defconfig.ForceCheckHash -configs/engicam_imx6qdl_icore_defconfig lib_defconfig.ForceCheckHash -configs/engicam_imx6qdl_icore_qt5_defconfig lib_defconfig.ForceCheckHash -configs/engicam_imx6qdl_icore_rqs_defconfig lib_defconfig.ForceCheckHash -configs/engicam_imx6ul_geam_defconfig lib_defconfig.ForceCheckHash -configs/engicam_imx6ul_isiot_defconfig lib_defconfig.ForceCheckHash -configs/freescale_imx28evk_defconfig lib_defconfig.ForceCheckHash -configs/freescale_p1025twr_defconfig lib_defconfig.ForceCheckHash -configs/freescale_t1040d4rdb_defconfig lib_defconfig.ForceCheckHash -configs/freescale_t2080_qds_rdb_defconfig lib_defconfig.ForceCheckHash -configs/friendlyarm_nanopi_r2s_defconfig lib_defconfig.ForceCheckHash -configs/galileo_defconfig lib_defconfig.ForceCheckHash -configs/globalscale_espressobin_defconfig lib_defconfig.ForceCheckHash -configs/hifive_unleashed_defconfig lib_defconfig.ForceCheckHash -configs/imx23evk_defconfig lib_defconfig.ForceCheckHash -configs/imx6-sabreauto_defconfig lib_defconfig.ForceCheckHash -configs/imx6-sabresd_defconfig lib_defconfig.ForceCheckHash -configs/imx6-sabresd_qt5_defconfig lib_defconfig.ForceCheckHash -configs/imx6slevk_defconfig lib_defconfig.ForceCheckHash -configs/imx6sx-sdb_defconfig lib_defconfig.ForceCheckHash -configs/imx6ulevk_defconfig lib_defconfig.ForceCheckHash -configs/imx6ullevk_defconfig lib_defconfig.ForceCheckHash -configs/imx6ulpico_defconfig lib_defconfig.ForceCheckHash -configs/imx7dpico_defconfig lib_defconfig.ForceCheckHash -configs/imx8mqevk_defconfig lib_defconfig.ForceCheckHash -configs/imxrt1050-evk_defconfig lib_defconfig.ForceCheckHash -configs/khadas_vim3_defconfig lib_defconfig.ForceCheckHash -configs/kontron_bl_imx8mm_defconfig lib_defconfig.ForceCheckHash -configs/kontron_pitx_imx8m_defconfig lib_defconfig.ForceCheckHash -configs/kontron_smarc_sal28_defconfig lib_defconfig.ForceCheckHash -configs/mangopi_mq1rdw2_defconfig lib_defconfig.ForceCheckHash -configs/mender_x86_64_efi_defconfig lib_defconfig.ForceCheckHash -configs/microchip_sam9x60ek_mmc_defconfig lib_defconfig.ForceCheckHash -configs/microchip_sam9x60ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash -configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig lib_defconfig.ForceCheckHash -configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash -configs/microchip_sama5d2_icp_mmc_defconfig lib_defconfig.ForceCheckHash -configs/microchip_sama5d2_icp_mmc_dev_defconfig lib_defconfig.ForceCheckHash -configs/microchip_sama7g5ek_mmc_defconfig lib_defconfig.ForceCheckHash -configs/microchip_sama7g5ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash -configs/minnowboard_max_defconfig lib_defconfig.ForceCheckHash -configs/mx53loco_defconfig lib_defconfig.ForceCheckHash -configs/mx6udoo_defconfig lib_defconfig.ForceCheckHash -configs/nexbox_a95x_defconfig lib_defconfig.ForceCheckHash -configs/nitrogen6sx_defconfig lib_defconfig.ForceCheckHash -configs/nitrogen6x_defconfig lib_defconfig.ForceCheckHash -configs/nitrogen7_defconfig lib_defconfig.ForceCheckHash -configs/nitrogen8m_defconfig lib_defconfig.ForceCheckHash -configs/nitrogen8mm_defconfig lib_defconfig.ForceCheckHash -configs/nitrogen8mn_defconfig lib_defconfig.ForceCheckHash -configs/nitrogen8mp_defconfig lib_defconfig.ForceCheckHash -configs/octavo_osd32mp1_brk_defconfig lib_defconfig.ForceCheckHash -configs/octavo_osd32mp1_red_defconfig lib_defconfig.ForceCheckHash -configs/odroidc2_defconfig lib_defconfig.ForceCheckHash -configs/odroidxu4_defconfig lib_defconfig.ForceCheckHash -configs/olimex_a10_olinuxino_lime_defconfig lib_defconfig.ForceCheckHash -configs/olimex_a13_olinuxino_defconfig lib_defconfig.ForceCheckHash -configs/olimex_a20_olinuxino_micro_defconfig lib_defconfig.ForceCheckHash -configs/olimex_a33_olinuxino_defconfig lib_defconfig.ForceCheckHash -configs/olimex_a64_olinuxino_defconfig lib_defconfig.ForceCheckHash -configs/olpc_xo175_defconfig lib_defconfig.ForceCheckHash -configs/olpc_xo1_defconfig lib_defconfig.ForceCheckHash -configs/orangepi_lite2_defconfig lib_defconfig.ForceCheckHash -configs/orangepi_one_plus_defconfig lib_defconfig.ForceCheckHash -configs/orangepi_pc2_defconfig lib_defconfig.ForceCheckHash -configs/orangepi_zero_plus_defconfig lib_defconfig.ForceCheckHash -configs/pc_x86_64_bios_defconfig lib_defconfig.ForceCheckHash -configs/pc_x86_64_efi_defconfig lib_defconfig.ForceCheckHash -configs/pcengines_apu2_defconfig lib_defconfig.ForceCheckHash -configs/pine64_defconfig lib_defconfig.ForceCheckHash -configs/pine64_pinecube_defconfig lib_defconfig.ForceCheckHash -configs/pine64_sopine_defconfig lib_defconfig.ForceCheckHash -configs/pine64_star64_defconfig lib_defconfig.ForceCheckHash -configs/riotboard_defconfig lib_defconfig.ForceCheckHash -configs/rock64_defconfig lib_defconfig.ForceCheckHash -configs/rock_pi_n8_defconfig lib_defconfig.ForceCheckHash -configs/roseapplepi_defconfig lib_defconfig.ForceCheckHash -configs/s6lx9_microboard_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_lichee_rv_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_lichee_rv_dock_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_licheepi_nano_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_licheepi_zero_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_maix_bit_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_maix_bit_sdcard_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_maix_dock_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_maix_dock_sdcard_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_maix_go_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_maix_go_sdcard_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_maixduino_defconfig lib_defconfig.ForceCheckHash -configs/sipeed_maixduino_sdcard_defconfig lib_defconfig.ForceCheckHash -configs/snps_arc700_axs101_defconfig lib_defconfig.ForceCheckHash -configs/snps_arc700_nsim_defconfig lib_defconfig.ForceCheckHash -configs/snps_archs38_axs103_defconfig lib_defconfig.ForceCheckHash -configs/snps_archs38_haps_defconfig lib_defconfig.ForceCheckHash -configs/snps_archs38_hsdk_defconfig lib_defconfig.ForceCheckHash -configs/socrates_cyclone5_defconfig lib_defconfig.ForceCheckHash -configs/solidrun_clearfog_gt_8k_defconfig lib_defconfig.ForceCheckHash -configs/solidrun_macchiatobin_defconfig lib_defconfig.ForceCheckHash -configs/stm32mp157c_odyssey_defconfig lib_defconfig.ForceCheckHash -configs/terasic_de10nano_cyclone5_defconfig lib_defconfig.ForceCheckHash -configs/toradex_apalis_imx6_defconfig lib_defconfig.ForceCheckHash -configs/ts4900_defconfig lib_defconfig.ForceCheckHash -configs/ts5500_defconfig lib_defconfig.ForceCheckHash -configs/ts7680_defconfig lib_defconfig.ForceCheckHash -configs/uevm5432_defconfig lib_defconfig.ForceCheckHash -configs/visionfive_defconfig lib_defconfig.ForceCheckHash -configs/wandboard_defconfig lib_defconfig.ForceCheckHash -configs/warp7_defconfig lib_defconfig.ForceCheckHash -linux/5.10.162-cip24-rt10/0001-arch-microblaze-mm-init.c-fix-build.patch lib_patch.Upstream -package/18xx-ti-utils/0001-plt.h-fix-build-with-gcc-10.patch lib_patch.Upstream -package/4th/0001-avoid-regen-during-install.patch lib_patch.Upstream -package/acl/0001-Build-with-old-GCC-versions.patch lib_patch.Upstream -package/acpid/0001-dont-use-isfdtype.patch lib_patch.Upstream -package/alchemy/0001-toolchains-remove-hash-style-management.patch lib_patch.Upstream -package/alsamixergui/0001-misc-fixes.patch lib_patch.Sob lib_patch.Upstream -package/alsamixergui/0002-configure-fix-detection-of-fltk-libs.patch lib_patch.Upstream -package/am335x-pru-package/0001-install-does-not-build.patch lib_patch.Upstream -package/am33x-cm3/0001-fix-makefile.patch lib_patch.Upstream -package/am33x-cm3/0002-Makefile-unconditionally-disable-SSP.patch lib_patch.Upstream -package/am33x-cm3/0003-Makefile-unconditionally-disable-PIE.patch lib_patch.Upstream -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/0004-Fix-build-issue-with-musl.patch 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 -package/apache/0001-cross-compile.patch lib_patch.Upstream -package/apache/0002-nios2_is_not_os2.patch lib_patch.Upstream -package/apache/S50apache Shellcheck lib_sysv.Indent lib_sysv.Variables -package/apitrace/0001-thirdparty-libbacktrace-backtrace-h-include-config.h.patch lib_patch.Upstream -package/apitrace/0002-gltrace-Avoid-__libc_dlsym-and-__libc_dlopen_mode-on-GLIBC-2-34.patch lib_patch.Upstream -package/apr-util/0001-remove-checkapr.patch lib_patch.Upstream -package/apr/0001-sys-param-h.patch lib_patch.Upstream -package/apr/0002-Revert-Backport-r1872164.-Fix-the-name-of-libtool-wh.patch lib_patch.Upstream -package/apr/0003-Revert-Add-the-ability-to-cross-compile-APR.patch lib_patch.Upstream -package/arptables/0001-Fix-musl-build-issue.patch lib_patch.Upstream -package/arptables/0002-libarptc-libarptc_incl.c-fix-build-with-O0.patch lib_patch.Upstream -package/asterisk/0001-sounds-do-not-download-and-check-sha1s.patch lib_patch.Upstream -package/asterisk/0002-configure-fix-detection-of-libcrypt.patch lib_patch.Upstream -package/asterisk/0003-build-ensure-target-directory-for-modules-exists.patch lib_patch.Upstream -package/asterisk/0004-install-samples-need-the-data-files.patch lib_patch.Upstream -package/at/0001-Makefile.in-fix-make-install-for-non-root-don-t-stri.patch lib_patch.Upstream -package/at/S99at lib_sysv.Indent lib_sysv.Variables -package/attr/0001-build-with-older-GCCs.patch lib_patch.Upstream -package/audit/S02auditd Shellcheck lib_sysv.Variables -package/aufs-util/0001-remove-user-settings.patch lib_patch.Upstream -package/aufs-util/0002-no-check-ver.patch lib_patch.Upstream -package/aufs-util/0003-no-strip-lib.patch lib_patch.Upstream -package/aumix/0001-fix-incorrect-makefile-am.patch lib_patch.Upstream -package/autoconf/0001-dont-add-dirty-to-version.patch lib_patch.Upstream -package/automake/0001-noman.patch lib_patch.Upstream -package/avahi/0001-Fix-NULL-pointer-crashes-from-175.patch lib_patch.Upstream -package/avahi/S05avahi-setup.sh lib_sysv.Indent lib_sysv.Variables -package/avahi/S50avahi-daemon lib_sysv.Indent lib_sysv.Variables -package/babeld/S50babeld Shellcheck lib_sysv.Indent lib_sysv.Variables -package/babeltrace2/0001-configure-simplify-warning-flags-detection.patch lib_patch.Upstream -package/bash/0001-input.h-add-missing-include-on-stdio.h.patch lib_patch.Upstream -package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch lib_patch.Upstream -package/bc/0001-bc-use-MAKEINFO-variable-for-docs.patch lib_patch.Upstream -package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch lib_patch.Upstream -package/bc/0003-dc-fix-exit-code-of-q-command.patch lib_patch.Upstream -package/bc/0004-no-gen-libmath.patch lib_patch.Upstream -package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch lib_patch.Upstream -package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch lib_patch.Upstream -package/bcusdk/0002-eibd-fix-endless-recursion-when-using-USB-backends.patch lib_patch.Upstream -package/bearssl/0001-Fix-missing-objdir-dependency.patch lib_patch.Upstream -package/benejson/0001-c-std.patch lib_patch.Upstream -package/benejson/0002-Use-print-as-a-function-for-Py3-compatibility.patch lib_patch.Upstream -package/berkeleydb/0001-cwd-db_config.patch lib_patch.Upstream -package/berkeleydb/0002-atomic_compare_exchange.patch lib_patch.Upstream -package/bind/S81named Shellcheck lib_sysv.Indent lib_sysv.Variables -package/bird/0001-configure.ac-fix-build-with-autoconf-2.70.patch lib_patch.Upstream -package/bmx7/0001-Fix-schedule.c-378-36-error-SIOCGSTAMP-undeclared.patch lib_patch.Upstream -package/bmx7/0002-Fix-linking-error.patch lib_patch.Upstream -package/bmx7/0003-Reorder-includes-to-avoid-ethhdr-collision.patch lib_patch.Upstream -package/boinc/S99boinc-client Shellcheck lib_sysv.Indent lib_sysv.Variables -package/brickd/S70brickd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/bridge-utils/0001-fix-build-on-musl.patch lib_patch.Upstream -package/brltty/0001-Fix-linking-error-on-mips64el.patch lib_patch.Upstream -package/brltty/S10brltty Shellcheck lib_sysv.Indent lib_sysv.Variables -package/bustle/0001-Makefile-fix-pcap-config-call.patch lib_patch.Upstream -package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch lib_patch.Upstream -package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch lib_patch.Upstream -package/busybox/0003-libbb-sockaddr2str-ensure-only-printable-characters-.patch lib_patch.Upstream -package/busybox/0004-nslookup-sanitize-all-printed-strings-with-printable.patch lib_patch.Upstream -package/busybox/S02sysctl lib_sysv.Variables -package/busybox/S10mdev Shellcheck lib_sysv.ConsecutiveEmptyLines lib_sysv.Indent -package/busybox/S15watchdog lib_sysv.Indent lib_sysv.Variables -package/busybox/S50telnet Shellcheck lib_sysv.Indent lib_sysv.Variables -package/busybox/udhcpc.script Shellcheck -package/bzip2/0001-build-objects-twice.patch lib_patch.Upstream -package/bzip2/0002-improve-build-system.patch lib_patch.Upstream -package/c-icap/0001-Required-fixes-to-compile-and-run-under-cygwin.patch lib_patch.Upstream -package/c-icap/S96cicap Shellcheck lib_sysv.Indent lib_sysv.Variables -package/ca-certificates/0001-mozilla-certdata2pem.py-make-cryptography-module-opt.patch lib_patch.Upstream -package/cache-calibrator/0001-Fix-conflicting-round-function.patch lib_patch.Upstream -package/caps/0001-Fix-stdint-types-with-musl.patch lib_patch.Upstream -package/cdrkit/0001-fix-build-with-uClibc.patch lib_patch.Upstream -package/cdrkit/0002-define-__THROW-to-avoid-build-issue-with-musl.patch lib_patch.Upstream -package/cdrkit/0003-Add-extern-to-char-outfile-declaration-to-fix-build-.patch lib_patch.Upstream -package/cfm/S65cfm lib_sysv.Indent lib_sysv.Variables -package/cgroupfs-mount/S30cgroupfs Shellcheck lib_sysv.Indent lib_sysv.Variables -package/chipmunk/0001-Fix-build-failure-on-musl.patch lib_patch.Upstream -package/chocolate-doom/0001-Remove-redundant-demoextend-definition.patch lib_patch.Upstream -package/chrony/S49chronyd lib_sysv.Variables -package/cmake/0001-rename-cmake-rootfile.patch lib_patch.Upstream -package/cmocka/0001-Don-t-redefine-uintptr_t.patch lib_patch.Upstream -package/collectd/0001-src-netlink.c-remove-REG_NOERROR.patch lib_patch.Upstream -package/connman/S45connman lib_sysv.Variables -package/copas/0001-Do-not-load-coxpcall-for-LuaJIT.patch lib_patch.Upstream -package/coremark-pro/coremark-pro.sh.in Shellcheck -package/cppdb/0001-mysql-library-suffix.patch lib_patch.Upstream -package/cpulimit/0001-Fix-crash-and-compiler-warnings.patch lib_patch.Upstream -package/cpulimit/0002-Remove-sys-sysctl.h-and-add-missing-libgen.h-include.patch lib_patch.Upstream -package/cpulimit/0003-Fix-an-infrequent-crash.patch lib_patch.Upstream -package/cpulimit/0004-Remove-procfs.h-inclusion.patch lib_patch.Upstream -package/crda/0001-crda-support-python-3-in-utils-key2pub.py.patch lib_patch.Upstream -package/crda/0002-drop-ldconfig-call.patch lib_patch.Upstream -package/crda/0003-drop-werror.patch lib_patch.Upstream -package/ctorrent/0001-fix-musl-build.patch lib_patch.Upstream -package/cups/0001-Remove-man-from-BUILDDIRS-in-configure.patch lib_patch.Upstream -package/cups/0002-Do-not-use-genstrings.patch lib_patch.Upstream -package/cups/0003-Sanitize-the-installation-process.patch lib_patch.Upstream -package/cups/0004-Remove-PIE-flags-from-the-build.patch lib_patch.Upstream -package/curlftpfs/0001-fix-CURLOPT_INFILESIZE.patch lib_patch.Sob lib_patch.Upstream -package/curlftpfs/0002-free_ftpfs_file-memleak-fix.patch lib_patch.Sob lib_patch.Upstream -package/curlftpfs/0003-nocache-memleak-fix.patch lib_patch.Sob lib_patch.Upstream -package/curlftpfs/0004-fix-musl-build-off-t.patch lib_patch.Upstream -package/cutelyst/0001-server-CMakeLists.txt-don-t-override-CMAKE_EXE_LINKE.patch lib_patch.Upstream -package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch lib_patch.Upstream -package/cwiid/0002-configure-make-wmgui-build-optional.patch lib_patch.Upstream -package/dahdi-tools/0001-no-build-docs.patch lib_patch.Upstream -package/dahdi-tools/0002-no-perl-manpages.patch lib_patch.Upstream -package/dante/0001-fix-sparc-compile.patch lib_patch.Upstream -package/dante/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch lib_patch.Upstream -package/dante/S50dante Shellcheck lib_sysv.Indent lib_sysv.Variables -package/daq/0001-Fix-build-against-the-musl-C-library.patch lib_patch.Upstream -package/daq/0002-parallel-grammar.patch lib_patch.Upstream -package/darkhttpd/S50darkhttpd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/davfs2/0001-src-Makefile.am-do-not-hardcode-fstack-protector-str.patch lib_patch.Upstream -package/dbus-cpp/0001-gcc4.7.patch lib_patch.Upstream -package/dbus-cpp/0002-cross-compile-tools.patch lib_patch.Upstream -package/dbus-cpp/0003-src-pipe.c-fix-build-error-with-gcc-7.x.patch lib_patch.Upstream -package/dbus/S30dbus Shellcheck lib_sysv.Indent lib_sysv.TrailingSpace lib_sysv.Variables -package/dc3dd/0001-no_man.patch lib_patch.Upstream -package/dc3dd/0002-fix-autoreconf.patch lib_patch.Upstream -package/dc3dd/0003-fix-for-glibc-2.28.patch lib_patch.Upstream -package/dcron/0001-main.c-add-newline-to-logfile-openning-error-message.patch lib_patch.Upstream -package/dcron/S90dcron lib_sysv.Variables -package/dhcp/S80dhcp-relay Shellcheck lib_sysv.Variables -package/dhcp/S80dhcp-server Shellcheck lib_sysv.Variables -package/dhcp/dhclient-script Shellcheck lib_shellscript.TrailingSpace -package/dhcpcd/S41dhcpcd lib_sysv.Indent lib_sysv.Variables -package/dht/0001-cmake.patch lib_patch.Upstream -package/dillo/0001-usr-local-include.patch lib_patch.Upstream -package/dillo/0002-Fix-openssl-detection.patch lib_patch.Upstream -package/dillo/0004-fix-build-with-gcc-10.patch lib_patch.Upstream -package/dmalloc/0001-configure-fix-build-on-mips.patch lib_patch.Upstream -package/dmalloc/0003-configure-allow-overriding-some-tests.patch lib_patch.Upstream -package/dmalloc/0004-Makefile-use-the-configure-detected-or-user-supplied.patch lib_patch.Upstream -package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch lib_patch.Upstream -package/dmraid/0001-fix-compilation-under-musl.patch lib_patch.Upstream -package/dmraid/S20dmraid lib_sysv.Variables -package/docopt-cpp/0001-only-build-one-target-use-BUILD_SHARED_LIBS-where-appropriate.patch lib_patch.Upstream -package/domoticz/S99domoticz Shellcheck -package/dovecot/0001-auth-Fix-handling-passdbs-with-identical-driver-args.patch lib_patch.Upstream -package/dracut/0001-dracut.sh-don-t-unset-LD_PRELOAD.patch lib_patch.Upstream -package/dracut/merged-usr-module-setup.sh Shellcheck -package/dropbear/S50dropbear Shellcheck lib_sysv.Indent lib_sysv.Variables -package/dt/0001-adjust-os-symlink.patch lib_patch.Upstream -package/dt/0002-dt-default-source-define.patch lib_patch.Upstream -package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch lib_patch.Upstream -package/dvblast/0001-missing-lm.patch lib_patch.Upstream -package/dvblast/0002-fix-int-types.patch lib_patch.Upstream -package/dvbsnoop/0001-musl-types-h.patch lib_patch.Upstream -package/dvdrw-tools/0001-limits.h.patch lib_patch.Upstream -package/dvdrw-tools/0002-Include-sysmacros.h-to-compile-with-newer-gcc.patch lib_patch.Upstream -package/earlyoom/0001-main.c-fix-build-with-kernel-4.3.patch lib_patch.Upstream -package/earlyoom/S02earlyoom Shellcheck lib_sysv.Indent -package/ebtables/0001-replace-ebtables-save-perl-script-with-bash.patch lib_patch.Upstream -package/ecryptfs-utils/0001-musl.patch lib_patch.Upstream -package/ecryptfs-utils/0002-openssl110.patch lib_patch.Upstream -package/ecryptfs-utils/0003-fix-parallel-build-issue.patch lib_patch.Upstream -package/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch lib_patch.Upstream -package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch lib_patch.Upstream -package/efl/0003-ecore_fb-fix-build-with-tslib.patch lib_patch.Upstream -package/eigen/0001-Adds-new-CMake-Options-for-controlling-build-compone.patch lib_patch.Upstream -package/elftosb/0001-fixes-includes.patch lib_patch.Upstream -package/elftosb/0002-force-cxx-compiler.patch lib_patch.Upstream -package/elfutils/0001-Add-a-enable-disable-progs-configure-option.patch lib_patch.Upstream -package/elfutils/0002-Really-make-Werror-conditional-to-BUILD_WERROR.patch lib_patch.Upstream -package/erlang-rebar/0001-src-rebar_port_compiler-add-fPIC-to-LDFLAGS-by-defau.patch lib_patch.Upstream -package/espeak/0001-Fix-build-of-shared-library-on-architectures-needing.patch lib_patch.Upstream -package/espeak/0002-tr_languages-cast-string_ordinal-init-values.patch lib_patch.Upstream -package/eudev/S10udev Shellcheck lib_sysv.ConsecutiveEmptyLines lib_sysv.Indent lib_sysv.Variables -package/evemu/0001-Include-limits.h-for-PATH_MAX.patch lib_patch.Upstream -package/evemu/0002-evemu-Update-struct-input_event.patch lib_patch.Upstream -package/evemu/0003-src-evemu.c-fix-build-with-kernels-4.16.patch lib_patch.Upstream -package/evemu/0004-src-evemu.c-fix-build-with-kernels-4.16.patch lib_patch.Upstream -package/exim/0001-Build-buildconfig-for-the-host.patch lib_patch.Upstream -package/exim/0002-Don-t-make-backup-copies-of-installed-files.patch lib_patch.Upstream -package/exim/0003-Skip-version-check-and-symlink-installation.patch lib_patch.Upstream -package/exim/S86exim lib_sysv.Indent lib_sysv.Variables -package/expect/0001-enable-cross-compilation.patch lib_patch.Upstream -package/expect/0002-allow-tcl-build-directory.patch lib_patch.Upstream -package/fail2ban/S60fail2ban Shellcheck lib_sysv.Variables -package/fakedate/fakedate Shellcheck -package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch lib_patch.Upstream -package/fbgrab/0001-fix-static-build.patch lib_patch.Upstream -package/fbset/0001-Fix-musl-compile.patch lib_patch.Upstream -package/fbterm/0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch lib_patch.Upstream -package/fbterm/0002-mouse.cpp-fix-musl-compile.patch lib_patch.Upstream -package/fbterm/0003-C++11-compliance.patch lib_patch.Upstream -package/fbterm/0004-iconv.patch lib_patch.Upstream -package/fcgiwrap/0001-use-LIBS-from-configure.patch lib_patch.Upstream -package/fcgiwrap/0002-link-with-libsystemd-instead-of-libsystemd-daemon.patch lib_patch.Upstream -package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch lib_patch.Upstream -package/ffmpeg/0002-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch lib_patch.Upstream -package/ffmpeg/0003-libavutil-Fix-mips-build.patch lib_patch.Upstream -package/ffmpeg/0004-configure-add-extralibs-to-extralibs_xxx.patch lib_patch.Upstream -package/ficl/0001-fix-Makefile.patch lib_patch.Upstream -package/flatbuffers/0001-include-flatbuffers-base.h-fix-build-on-musl.patch lib_patch.Upstream -package/flex/0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch lib_patch.Upstream -package/flex/0002-build-make-it-possible-to-disable-the-build-of-the-f.patch lib_patch.Upstream -package/flex/0003-build-make-it-possible-to-disable-the-build-of-the-d.patch lib_patch.Upstream -package/flite/0001-fix-alsa-static.patch lib_patch.Upstream -package/fltk/0001-disable-tests.patch lib_patch.Upstream -package/fluxbox/0001-fixes-bug-1138.patch lib_patch.Upstream -package/freeradius-client/0001-fix-for-nettle.patch lib_patch.Upstream -package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch lib_patch.Upstream -package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch lib_patch.Upstream -package/freescale-imx/imx-uuc/S80imx-uuc Shellcheck lib_sysv.Indent lib_sysv.Variables -package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch lib_patch.Upstream -package/freescale-imx/imx-vpu-hantro/0002-Fix-build-with-uclibc-toolchain.patch lib_patch.Upstream -package/freescale-imx/imx-vpu-hantro/0003-Fix-Linux-kernel-version-header.patch lib_patch.Upstream -package/freeswitch/0001-libs-srtp-crypto-hash-hmac_ossl.c-fix-build-with-lib.patch lib_patch.Upstream -package/frr/S50frr Shellcheck -package/fstrcmp/0001-disable-rpath.patch lib_patch.Upstream -package/ftop/0001-overflow.patch lib_patch.Upstream -package/fwts/0001-build-do-not-use-Werror.patch lib_patch.Upstream -package/fxdiv/0001-CMake-don-t-enable-CXX-unless-building-tests-benchma.patch lib_patch.Upstream -package/fxload/0001-fix-static-build.patch lib_patch.Upstream -package/gcc/12.4.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream -package/gcc/13.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream -package/gcc/14.2.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream -package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch lib_patch.Upstream -package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch lib_patch.Upstream -package/gcc/8.4.0/0003-libsanitizer-Remove-cyclades-from-libsanitizer.patch lib_patch.Upstream -package/gcc/8.4.0/0004-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream -package/gcr/0001-meson-Fix-unknown-kw-argument-in-gnome.generate_gir.patch lib_patch.Upstream -package/gdb/13.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch lib_patch.Upstream -package/gdb/13.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch lib_patch.Upstream -package/gdb/13.2/0003-use-asm-sgidefs.h.patch lib_patch.Upstream -package/gdb/13.2/0004-gdbserver-fix-build-for-m68k.patch lib_patch.Upstream -package/gdb/13.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch lib_patch.Upstream -package/gdb/13.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch lib_patch.Upstream -package/gdb/13.2/0007-fix-musl-build-on-riscv.patch lib_patch.Upstream -package/gdb/13.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch lib_patch.Upstream -package/gdb/13.2/0009-gdb-Fix-native-build-on-xtensa.patch lib_patch.Upstream -package/gdb/14.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch lib_patch.Upstream -package/gdb/14.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch lib_patch.Upstream -package/gdb/14.2/0003-use-asm-sgidefs.h.patch lib_patch.Upstream -package/gdb/14.2/0004-gdbserver-fix-build-for-m68k.patch lib_patch.Upstream -package/gdb/14.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch lib_patch.Upstream -package/gdb/14.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch lib_patch.Upstream -package/gdb/14.2/0007-fix-musl-build-on-riscv.patch lib_patch.Upstream -package/gdb/14.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch lib_patch.Upstream -package/gdb/14.2/0009-gdb-Fix-native-build-on-xtensa.patch lib_patch.Upstream -package/gdb/15.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch lib_patch.Upstream -package/gdb/15.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch lib_patch.Upstream -package/gdb/15.1/0003-use-asm-sgidefs.h.patch lib_patch.Upstream -package/gdb/15.1/0004-gdbserver-fix-build-for-m68k.patch lib_patch.Upstream -package/gdb/15.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch lib_patch.Upstream -package/gdb/15.1/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch lib_patch.Upstream -package/gdb/15.1/0007-fix-musl-build-on-riscv.patch lib_patch.Upstream -package/gdb/15.1/0008-gdbserver-Makefile.in-fix-NLS-build.patch lib_patch.Upstream -package/gdb/15.1/0009-gdb-Fix-native-build-on-xtensa.patch lib_patch.Upstream -package/genpart/0001-fix-return-code.patch lib_patch.Upstream -package/genromfs/0001-build-system.patch lib_patch.Sob lib_patch.Upstream -package/gensio/0001-Fix-missing-EVP_PKEY_ED25519-build-error-on-libressl.patch lib_patch.Upstream -package/gerbera/S99gerbera lib_sysv.Indent -package/git-crypt/0001-fix-build-with-libressl-3.5.0.patch lib_patch.Upstream -package/glorytun/0001-Add-support-for-Apple-silicon.patch lib_patch.Upstream -package/glorytun/0002-aegis256.c-fix-aarch64-build-with-uclibc.patch lib_patch.Upstream -package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch lib_patch.Upstream -package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch lib_patch.Upstream -package/gnuplot/0001-configure-add-without-demo-option.patch lib_patch.Upstream -package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch lib_patch.Upstream -package/gob2/0001-dont-include-from-prefix.patch lib_patch.Upstream -package/gobject-introspection/0001-disable-tests.patch lib_patch.Upstream -package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch lib_patch.Upstream -package/gpsd/S50gpsd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch lib_patch.Upstream -package/graphite2/0001-don-t-install-a-libtool-file-with-static-library.patch lib_patch.Upstream -package/grpc/0002-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch lib_patch.Upstream -package/grpc/0004-disable-unconditionally-downloading-api-repos.patch lib_patch.Upstream -package/gstreamer1/gstd/0001-Don-t-require-gstd-check-user-xenv.sh-for-systemd-se.patch lib_patch.Upstream -package/guile/0001-calculate-csqrt_manually.patch lib_patch.Upstream -package/guile/0002-Makefile.am-fix-build-without-makeinfo.patch lib_patch.Upstream -package/gumbo-parser/0001-configure.ac-fix-build-without-C.patch lib_patch.Upstream -package/gutenprint/0001-use-pregen-xmli18n-header.patch lib_patch.Upstream -package/gutenprint/0002-cups-support-replaces-static-with-static-libtool-lib.patch lib_patch.Upstream -package/gvfs/0001-build-Remove-incorrect-i18n.merge_file-argument.patch lib_patch.Upstream -package/harfbuzz/0001-meson.build-check-for-pthread.h.patch lib_patch.Upstream -package/haserl/0001-add-haserl_lualib.inc.patch lib_patch.Upstream -package/haveged/S21haveged Shellcheck lib_sysv.Variables -package/heirloom-mailx/0001-fix-libressl-support.patch lib_patch.Upstream -package/hplip/0001-build-use-pkg-config-to-discover-libusb.patch lib_patch.Upstream -package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch lib_patch.Upstream -package/htpdate/S43htpdate Shellcheck -package/i2pd/S99i2pd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/i7z/0001-fix-build-with-gcc-10.patch lib_patch.Upstream -package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch lib_patch.Upstream -package/ibrcommon/0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch lib_patch.Upstream -package/ibrcommon/0002-ibrcommon-added-openssl-1.1-compatibility-264.patch lib_patch.Upstream -package/ibrcommon/0003-ibrcommon-ssl-gcm-fix-static-build-with-openssl.patch lib_patch.Upstream -package/icu/0001-dont-build-static-dynamic-twice.patch lib_patch.Upstream -package/icu/0002-workaround-toolchain-bugs.patch lib_patch.Upstream -package/icu/0003-link-icudata-as-data-only.patch lib_patch.Upstream -package/icu/0004-fix-static-linking-with-icu-uc.patch lib_patch.Upstream -package/ifmetric/0001-Fix-issue-NETLINK-Packet-too-small-or-truncated-92-1.patch lib_patch.Upstream -package/ifplugd/0001-cross.patch lib_patch.Sob lib_patch.Upstream -package/ifplugd/0002-fix-headers.patch lib_patch.Sob lib_patch.Upstream -package/ifplugd/0003-no-cxx.patch lib_patch.Upstream -package/ifplugd/0004-musl-fix-types.patch lib_patch.Upstream -package/ifplugd/0005-src-interface.h-fix-build-with-gcc-10.patch lib_patch.Upstream -package/iftop/0001-ui_common.h-fix-build-with-gcc-10.patch lib_patch.Upstream -package/iftop/0002-Rename-pcap_filter-to-iftop_pcap_filter.patch lib_patch.Upstream -package/ifupdown-scripts/S40network Shellcheck lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables -package/ifupdown-scripts/network/if-pre-up.d/wait_iface Shellcheck lib_shellscript.EmptyLastLine -package/ifupdown-scripts/nfs_check Shellcheck -package/ifupdown/0001-archcommon-define-GNU-only-FNM_EXTMATCH-to-zero-on-n.patch lib_patch.Upstream -package/ifupdown/0001-dont-use-dpkg-architecture.patch lib_patch.Upstream -package/igd2-for-linux/S99upnpd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/imx-mkimage/0001-Add-unused-fake-version.patch lib_patch.Upstream -package/inadyn/S70inadyn NotExecutable lib_sysv.Indent -package/initscripts/init.d/rcK Shellcheck lib_shellscript.ConsecutiveEmptyLines lib_shellscript.EmptyLastLine -package/initscripts/init.d/rcS Shellcheck lib_shellscript.ConsecutiveEmptyLines lib_shellscript.EmptyLastLine -package/input-event-daemon/S99input-event-daemon lib_sysv.ConsecutiveEmptyLines lib_sysv.Indent lib_sysv.Variables -package/intel-gmmlib/0001-Drop-hardening-related-flags.patch lib_patch.Upstream -package/intel-mediasdk/0001-Don-t-force-fstack-protector.patch lib_patch.Upstream -package/intltool/0001-perl-5.26-compatibility.patch lib_patch.Upstream -package/iotop/0001-Fix-build-error-with-Python-3.patch lib_patch.Upstream -package/iozone/0001-Add-new-targets-for-iozone.patch lib_patch.Upstream -package/ipmitool/0001-configure.ac-fix-readline-static-build.patch lib_patch.Upstream -package/ipmitool/0002-Fix-enterprise-numbers-URL.patch lib_patch.Upstream -package/ipmitool/0003-Do-not-require-the-IANA-PEN-registry-file.patch lib_patch.Upstream -package/ipmitool/0004-configure.ac-allow-disabling-registry-downloads.patch lib_patch.Upstream -package/iprutils/0001-configure.ac-add-AC_USE_SYSTEM_EXTENSIONS.patch lib_patch.Upstream -package/iptables/S35iptables Shellcheck -package/irda-utils/0001-daemon.patch lib_patch.Sob lib_patch.Upstream -package/irda-utils/0002-nommu.patch lib_patch.Sob lib_patch.Upstream -package/irda-utils/0003-subdir.patch lib_patch.Sob lib_patch.Upstream -package/irda-utils/0004-musl.patch lib_patch.Upstream -package/irqbalance/S13irqbalance Shellcheck lib_sysv.Indent lib_sysv.Variables -package/irrlicht/0001-override-CPPFLAGS-CXXFLAGS-and-CFLAGS-in-Makefile.patch lib_patch.Upstream -package/irrlicht/0002-makefile-override-LDFLAGS-and-remove-obsolete-X11R6-.patch lib_patch.Upstream -package/iucode-tool/S00iucode-tool lib_sysv.Variables -package/iwd/S40iwd Shellcheck lib_sysv.Variables -package/janus-gateway/0001-disable-ssp.patch lib_patch.Upstream -package/jose/0001-lib-hsh.c-rename-hsh-local-variable.patch lib_patch.Upstream -package/jose/0002-man-add-option-to-skip-building-man-pages.patch lib_patch.Upstream -package/kexec-lite/0001-clean-restart.patch lib_patch.Upstream -package/keyutils/0001-fix-install-rule.patch lib_patch.Upstream -package/keyutils/0002-cifs.patch lib_patch.Sob lib_patch.Upstream -package/kmod/0001-fix-O_CLOEXEC.patch lib_patch.Upstream -package/kodi/S50kodi Shellcheck lib_sysv.Variables -package/latencytop/0001-makefile.patch lib_patch.Upstream -package/lbase64/0001-retro-compatible-with-Lua-5.1.patch lib_patch.Upstream -package/lcdproc/0001-LCDd.conf.patch lib_patch.Upstream -package/lcdproc/0002-Add-missing-ioctl-header.patch lib_patch.Upstream -package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch lib_patch.Upstream -package/leafnode2/0001-cross_makefile.patch lib_patch.Upstream -package/let-me-create/0001-fix-build-with-musl-C-library.patch lib_patch.Upstream -package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch lib_patch.Upstream -package/leveldb/0002-CMake-install-libmemenv.a.patch lib_patch.Upstream -package/leveldb/0003-CMakeLists.txt-check-for-atomic-library.patch lib_patch.Upstream -package/lftp/0001-Fix-build-with-LibreSSL-following-commit-537f37898.patch lib_patch.Upstream -package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch lib_patch.Upstream -package/libabseil-cpp/0001-force-position-independent-code.patch lib_patch.Upstream -package/libargon2/0001-libargon2-dont-fail-on-existing-symlink.patch lib_patch.Upstream -package/libart/0001-art-config-cross.patch lib_patch.Sob lib_patch.Upstream -package/libatasmart/0001-strpool-cross-flags.patch lib_patch.Upstream -package/libavl/0001-fix-makefile.patch lib_patch.Upstream -package/libb64/0001-Integer-overflows.patch lib_patch.Upstream -package/libb64/0002-Initialize-C++-objects.patch lib_patch.Upstream -package/libcdaudio/0001-libcdaudio-enable-autoreconf.patch lib_patch.Upstream -package/libcec/0001-cecloader-h-fix-null-return.patch lib_patch.Upstream -package/libcgi/0001-CMakeLists.txt-honour-BUILD_TESTING.patch lib_patch.Upstream -package/libcgicc/0001-disable-documentation-option.patch lib_patch.Sob lib_patch.Upstream -package/libconfuse/0001-Fix-163-unterminated-username-used-with-getpwnam.patch lib_patch.Upstream -package/libcorrect/0002-CMakeLists.txt-conditionally-use-fsanitize-address.patch lib_patch.Upstream -package/libcuefile/0001-fix-static-link.patch lib_patch.Upstream -package/libdaemon/0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch lib_patch.Upstream -package/libdnet/0001-python-makefile.patch lib_patch.Upstream -package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch lib_patch.Upstream -package/libdvbcsa/0001-altivec-powerpc64.patch lib_patch.Upstream -package/libeXosip2/0001-src-eXtl_dtls.c-fix-build-with-libressl-3.4.1.patch lib_patch.Upstream -package/libedit/0001-check-bsd-functions-in-libbsd.patch lib_patch.Upstream -package/libevent/0001-Don-t-define-BIO_get_init-for-LibreSSL-3-5.patch lib_patch.Upstream -package/libfcgi/0001-link-against-math.patch lib_patch.Upstream -package/libfcgi/0002-disable-examples.patch lib_patch.Upstream -package/libffi/0001-Fix-use-of-compact-eh-frames-on-MIPS.patch lib_patch.Upstream -package/libfm/0001-modules-fix-cross-compilation.patch lib_patch.Upstream -package/libfreeimage/0001-no-root-install.patch lib_patch.Upstream -package/libfreeimage/0002-fix-cpuid-x86.patch lib_patch.Upstream -package/libfreeimage/0003-fix-big-endian-os.patch lib_patch.Upstream -package/libfreeimage/0004-fixed-C-11-warnings.patch lib_patch.Upstream -package/libftdi/0001-pkgconfig_libusb.patch lib_patch.Sob lib_patch.Upstream -package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patch lib_patch.Sob lib_patch.Upstream -package/libftdi1/0001-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch lib_patch.Upstream -package/libftdi1/0002-CMakeLists.txt-fix-paths-when-FTDIPP-is-set.patch lib_patch.Upstream -package/libftdi1/0003-CMakeLists.txt-fix-static-build-with-libusb-and-lato.patch lib_patch.Upstream -package/libfuse/0001-fix-aarch64-build.patch lib_patch.Upstream -package/libfuse/0002-util-ulockmgr_server-c-conditionally-define-closefrom-fix-glibc-2-34.patch lib_patch.Upstream -package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch lib_patch.Upstream -package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch lib_patch.Upstream -package/libgsm/0001-Misc-fixes-from-Archlinux.patch lib_patch.Upstream -package/libgtk2/0001-reduce-dependencies.patch lib_patch.Upstream -package/libgtk3/0001-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patch lib_patch.Upstream -package/libhdhomerun/0001-dont-strip.patch lib_patch.Upstream -package/libical/0001-no-tests.patch lib_patch.Upstream -package/libical/0002-icaltypes-c-icalreqstattype_from_string-copy-the-reqstattype.patch lib_patch.Upstream -package/libiio/S99iiod Shellcheck lib_sysv.Variables -package/libiqrf/0001-cmake-handle-static-library-and-find-required-thread.patch lib_patch.Upstream -package/libiqrf/0002-use-only-c-language.patch lib_patch.Upstream -package/libjson/0001-fix-broken-makefile.patch lib_patch.Upstream -package/libks/0001-CMakeLists.txt-honour-BUILD_TESTING.patch lib_patch.Upstream -package/liblinear/0001-build-static-lib.patch lib_patch.Upstream -package/liblockfile/0001-Makefile.in-fix-cross-compilation.patch lib_patch.Upstream -package/liblog4c-localtime/0001-log4c.m4-fix-underquoted-definition-of-AM_PATH_LOG4C.patch lib_patch.Upstream -package/liblog4c-localtime/0002-Fix-linking-error-without-pthread.patch lib_patch.Upstream -package/liblog4c-localtime/0003-Fix-debug-mode-build-with-uClibc.patch lib_patch.Upstream -package/liblog4c-localtime/0004-Add-AC_CONFIG_MACRO_DIR-to-configure.in.patch lib_patch.Upstream -package/liblog4c-localtime/0005-Fix-C-support.patch lib_patch.Upstream -package/libloki/0001-allow-to-install-to-a-specific-location-using-DESTDI.patch lib_patch.Upstream -package/libloki/0002-use-ln-snf.patch lib_patch.Upstream -package/libmad/0001-mips-h-constraint-removal.patch lib_patch.Sob lib_patch.Upstream -package/libmad/0002-configure-ac-automake-foreign.patch lib_patch.Upstream -package/libmng/0001-jpeg-9a.patch lib_patch.Upstream -package/libmodsecurity/0001-configure.ac-drop-usage-of-git-at-configure-time.patch lib_patch.Upstream -package/libmodsecurity/0002-modsecurity.pc.in-add-lstdc.patch lib_patch.Upstream -package/libmpeg2/0001-altivec.patch lib_patch.Upstream -package/libmpeg2/0002-armv4l.patch lib_patch.Upstream -package/libmpeg2/0003-fix-arm-detection.patch lib_patch.Upstream -package/libmpeg2/0004-fix-sparc.patch lib_patch.Upstream -package/libnetfilter_conntrack/0001-conntrack-fix-build-with-kernel-5-15-and-musl.patch lib_patch.Upstream -package/libnfc/0001-autotools-make-example-build-optional.patch lib_patch.Upstream -package/libnids/0001-libpcap-use-pkg-config.patch lib_patch.Upstream -package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch lib_patch.Upstream -package/liboauth/0001-Fixes-build-issue-with-OpenSSL-1.1.0.patch lib_patch.Upstream -package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch lib_patch.Upstream -package/libodb-mysql/0002-mariadb-FTBFS-fix.patch lib_patch.Upstream -package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch lib_patch.Upstream -package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch lib_patch.Upstream -package/liboping/0001-fix-utf8-support.patch lib_patch.Upstream -package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch lib_patch.Upstream -package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch lib_patch.Upstream -package/liboping/0004-Fix-compile-error-on-GCC-7.patch lib_patch.Upstream -package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch lib_patch.Upstream -package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch lib_patch.Upstream -package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch lib_patch.Upstream -package/libpthsem/0001-fix-build-on-linux-3.x-host.patch lib_patch.Upstream -package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch lib_patch.Upstream -package/libroxml/0001-src-roxml_mem.h-add-missing-extern.patch lib_patch.Upstream -package/librsvg/0001-gdk-pixbuf-loader-Makefile.am-set-GDK_PIXBUF_MODULED.patch lib_patch.Upstream -package/librtlsdr/0001-Makefile.am-respect-DESTDIR-with-install-udev-rules.patch lib_patch.Upstream -package/libselinux/0001-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch lib_patch.Upstream -package/libsepol/0001-support-static-only.patch lib_patch.Upstream -package/libserial/0001-SerialPort.cpp-fix-build-when-size_t-is-an-unsigned-.patch lib_patch.Upstream -package/libserial/0002-SerialPort.cpp-don-t-use-high-baudrates-when-not-ava.patch lib_patch.Upstream -package/libserialport/0001-uclinux-detection.patch lib_patch.Upstream -package/libshdata/0001-backend-Add-missing-include-files.patch lib_patch.Upstream -package/libshdata/0002-examples-stress_test-Fix-build-with-musl-libc.patch lib_patch.Upstream -package/libsidplay2/0001-sidplay2-libs-2.1.1.patch lib_patch.Upstream -package/libsidplay2/0002-pkg-config.patch lib_patch.Upstream -package/libsidplay2/0003-gcc6.patch lib_patch.Upstream -package/libsigrok/0001-Support-glibmm-2.68.patch lib_patch.Upstream -package/libsigrokdecode/0001-configure-ac-Add-support-for-Python-3-9.patch lib_patch.Upstream -package/libsigrokdecode/0002-configure-Add-python-3-10-support.patch lib_patch.Upstream -package/libsigrokdecode/0003-configure-ac-Use-python3-embed-pc-as-a-fallback.patch lib_patch.Upstream -package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch lib_patch.Upstream -package/libsoxr/0001-Add-Libs.private-for-static-linking.patch lib_patch.Upstream -package/libspatialindex/0001-allow-building-static-libs.patch lib_patch.Upstream -package/libspatialindex/0002-CMakeLists.txt-fix-CMAKE_BUILD_TYPE.patch lib_patch.Upstream -package/libsquish/0001-Makefile-add-f-option-for-ln-to-remove-existing-dest.patch lib_patch.Upstream -package/libsvg/0001-fix-expat-static-declaration.patch lib_patch.Upstream -package/libsvg/0002-Fix-undefined-symbol-png_set_gray_1_2_4_to_8.patch lib_patch.Upstream -package/libsvgtiny/0001-disable-debug-printfs.patch lib_patch.Upstream -package/libsvgtiny/0002-Remove-Werror.patch lib_patch.Upstream -package/libsvgtiny/0003-Hopefully-silence-warnings-about-inlines-and-non-inlines-calling-one.patch lib_patch.Upstream -package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch lib_patch.Upstream -package/libtalloc/0001-buildtools-wafsamba-add-disable-stack-protector-opti.patch lib_patch.Upstream -package/libtelnet/0001-fix-compilation-without-zlib.patch lib_patch.Upstream -package/libtheora/0001-link-libtheoradec.patch lib_patch.Upstream -package/libtomcrypt/0001-fix-CVE-2019-17362.patch lib_patch.Upstream -package/libtommath/0001-Build-test-bn_mp_set_double-c-on-more-platforms.patch lib_patch.Upstream -package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch lib_patch.Upstream -package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch lib_patch.Upstream -package/libuhttpd/0001-add-compatibility-for-wolfssl-5-0.patch lib_patch.Upstream -package/libuio/0001-configure.ac-set-automake-strictness-to-foreign.patch lib_patch.Upstream -package/liburcu/0001-Only-blacklist-ARM-gcc-4.8.0-and-4.8.1.patch lib_patch.Upstream -package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch lib_patch.Upstream -package/libwebsock/0001-Switch-to-use-pkg-config-to-detect-libevent-and-open.patch lib_patch.Upstream -package/libwebsock/0002-fix-ssl.patch lib_patch.Upstream -package/libwebsock/0003-fix-incorrect-inline.patch lib_patch.Upstream -package/libyuv/0001-i386-sse2.patch lib_patch.Upstream -package/lighttpd/0001-Modify-the-default-lighttpd-configuration-file-to-ha.patch lib_patch.Upstream -package/lighttpd/S50lighttpd Shellcheck lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables -package/linknx/0001-configure-ac-tweak-CPPUNIT-conditional.patch lib_patch.Upstream -package/linknx/0002-src-Makefile.am-fix-linking-with-log4cpp.patch lib_patch.Upstream -package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch lib_patch.Upstream -package/linux-zigbee/0001-test-serial-Remove-test-serial.patch lib_patch.Upstream -package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch lib_patch.Upstream -package/linuxptp/S65ptp4l Shellcheck lib_sysv.Indent -package/linuxptp/S66phc2sys Shellcheck lib_sysv.Indent -package/lirc-tools/0001-plugins-devinput.c-fix-build-with-musl-1.2.0.patch lib_patch.Upstream -package/lirc-tools/0002-configure-add-disable-doc-option.patch lib_patch.Upstream -package/lirc-tools/S25lircd lib_sysv.Indent lib_sysv.Variables -package/live555/0001-Add-a-pkg-config-file-for-the-shared-libraries.patch lib_patch.Upstream -package/lldpd/S60lldpd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/llvm-project/clang/0001-lib-Driver-ToolChains-Gnu-Use-GCC_INSTALL_PREFIX-in-.patch lib_patch.Upstream -package/llvm-project/libclc/0001-support-out-of-tree-build.patch lib_patch.Upstream -package/lm-sensors/0001-static-build.patch lib_patch.Upstream -package/lm-sensors/0002-no-host-ldconfig.patch lib_patch.Upstream -package/lmbench/0001-scripts-build-use-bin-bash-as-shell.patch lib_patch.Upstream -package/lmbench/0002-src-Makefile-add-lmbench-to-list-of-executables.patch lib_patch.Upstream -package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch lib_patch.Upstream -package/lmbench/0004-Fix-garbage-pointer-for-lat_rpc-S-localhost.patch lib_patch.Upstream -package/localedef/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch lib_patch.Upstream -package/lockdev/0001-Makefile-install-static-library-and-headers-separate.patch lib_patch.Upstream -package/lockfile-progs/0001-sus3v-legacy.patch lib_patch.Sob lib_patch.Upstream -package/lshw/0001-solve-Compile-error-when-g-version-is-less-than-5.patch lib_patch.Upstream -package/ltrace/0001-arm-plt.patch lib_patch.Upstream -package/ltrace/0002-sparc-add-missing-library.h-include.patch lib_patch.Upstream -package/ltrace/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch lib_patch.Upstream -package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch lib_patch.Upstream -package/lttng-babeltrace/0002-configure.ac-fix-popt-static-build.patch lib_patch.Upstream -package/lttng-libust/0001-configure.ac-add-disable-tests.patch lib_patch.Upstream -package/lttng-tools/0001-configure.ac-add-disable-tests.patch lib_patch.Upstream -package/lua-gd/0001-Protect-declaration-of-LgdImageCreateFromPng-with-GD.patch lib_patch.Upstream -package/lua-lunix/0001-remove-link-with-librt.patch lib_patch.Upstream -package/lua-sdl2/0001-Do-not-reference-host-directory-for-headers.patch lib_patch.Upstream -package/lua-sdl2/0002-CMakeLists-do-not-require-C.patch lib_patch.Upstream -package/luajit/0001-no-bin-symlink.patch lib_patch.Upstream -package/luajit/0002-install-inc.patch lib_patch.Upstream -package/luasyslog/0001-remove-AX_LUA_LIBS.patch lib_patch.Upstream -package/luasyslog/0002-build-ax_lua.m4-fix-cross-compilation.patch lib_patch.Upstream -package/lugaru/0001-ImageIO-fix-invalid-conversion.patch lib_patch.Upstream -package/lugaru/0002-Fix-mismatched-usage-length-build-fail-on-g.patch lib_patch.Upstream -package/lvm2/0001-cmdline-use-freopen-to-reopen-standard-streams.patch lib_patch.Upstream -package/lvm2/0002-log-use-freopen-to-reopen-standard-streams.patch lib_patch.Upstream -package/lzma/0001-Remove-static-from-LDFLAGS.patch lib_patch.Upstream -package/lzop/0001-allow-overriding-modification-time.patch lib_patch.Upstream -package/macchanger/0001-Fix-missing-include-for-caddr_t.patch lib_patch.Upstream -package/madplay/0001-switch-to-new-alsa-api.patch lib_patch.Sob lib_patch.Upstream -package/madplay/0002-configure-ac-automake-foreign.patch lib_patch.Upstream -package/madplay/0003-configure-ac-use-pkg-config-to-find-id3tag.patch lib_patch.Upstream -package/madplay/0004-configure-ac-call-AM_MKINSTALLDIRS.patch lib_patch.Upstream -package/makedumpfile/0002-Handle-__mips64.patch lib_patch.Upstream -package/mariadb/0001-add-extra-check-for-librt.patch lib_patch.Upstream -package/mariadb/S97mysqld Shellcheck lib_sysv.Indent lib_sysv.Variables -package/matchbox-keyboard/mb-applet-kbd-wrapper.sh Shellcheck lib_shellscript.TrailingSpace -package/matchbox-lib/0001-index-is-legacy.patch lib_patch.Upstream -package/matchbox-panel/0001-index-is-legacy.patch lib_patch.Upstream -package/matchbox-panel/0002-mb-applet-wireless.patch lib_patch.Upstream -package/matchbox-panel/0003-mb-applet-battery.patch lib_patch.Upstream -package/matchbox-startup-monitor/0001-true-false.patch lib_patch.Upstream -package/matchbox/0001-defaulttheme.patch lib_patch.Upstream -package/matchbox/0002-src-Fix-build-with-gcc-10.patch lib_patch.Upstream -package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch lib_patch.Upstream -package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch lib_patch.Upstream -package/memstat/0001-PATH_MAX.patch lib_patch.Upstream -package/mender-connect/S43mender-connect Shellcheck -package/menu-cache/0001-Support-gcc10-compilation.patch lib_patch.Upstream -package/mesa3d-demos/0001-demos-makes-opengl-an-optional-component.patch lib_patch.Upstream -package/mesa3d/0001-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch lib_patch.Upstream -package/meson-tools/0001-amlbootenc-gxl-remove-non-std-C-convention-in-for.patch lib_patch.Upstream -package/meson/0001-Prefer-ext-static-libs-when-default-library-static.patch lib_patch.Upstream -package/meson/0002-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch lib_patch.Upstream -package/metacity/0001-add-libm-reference.patch lib_patch.Upstream -package/metacity/0002-gconf.patch lib_patch.Upstream -package/metacity/0003-mag-add-libm-reference.patch lib_patch.Upstream -package/mfgtools/0001-lnx_def.h-fix-conflicting-declaration-of-__time64_t.patch lib_patch.Upstream -package/mii-diag/0001-strchr.patch lib_patch.Sob lib_patch.Upstream -package/mimic/0001-Fix-linking-on-gcc-10.2.0-or-newer.patch lib_patch.Upstream -package/mini-snmpd/0001-linux.c-fix-musl-build.patch lib_patch.Upstream -package/minidlna/S60minidlnad Shellcheck lib_sysv.Indent lib_sysv.Variables -package/minissdpd/S50minissdpd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/modem-manager/S44modem-manager Shellcheck lib_sysv.Variables -package/mongrel2/0001-Do-not-run-tests.patch lib_patch.Upstream -package/mongrel2/0002-Fix-Makefiles-for-cross-compilation.patch lib_patch.Upstream -package/monit/0001-Do-not-force-building-a-statically-linked-binary.patch lib_patch.Upstream -package/mono-gtksharp3/0001-Fixes-MONO_PROFILE_ENTER_LEAVE-undeclared.patch lib_patch.Upstream -package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch lib_patch.Upstream -package/mono/0001-Fix-linkage-with-a-system-libatomic_ops-shared-library.patch lib_patch.Upstream -package/mono/0002-Ongoing-work-on-the-cmake-build.patch lib_patch.Upstream -package/mosquitto/S50mosquitto Shellcheck lib_sysv.Indent lib_sysv.Variables -package/motion/S99motion Shellcheck lib_sysv.Indent lib_sysv.Variables -package/mpir/0001-mpn-arm-udiv.asm-workaround-binutils-bug-14887.patch lib_patch.Upstream -package/mpv/0001-fix-powerpc64-altivec.patch lib_patch.Upstream -package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch lib_patch.Upstream -package/mrouted/S41mrouted NotExecutable -package/mrp/S65mrp lib_sysv.Indent lib_sysv.Variables -package/mstpd/0001-bridge-stp.in-support-different-versions-of-pidof-13.patch lib_patch.Upstream -package/multipath-tools/S60multipathd Shellcheck -package/musepack/0001-shared.patch lib_patch.Upstream -package/musepack/0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch lib_patch.Upstream -package/musepack/0003-include-fpu-control-with-glibc-only.patch lib_patch.Upstream -package/musepack/0004-missing-sys-select.patch lib_patch.Upstream -package/musepack/0005-fix-build-with-gcc-10.patch lib_patch.Upstream -package/musl/0001-avoid-kernel-if_ether.h.patch lib_patch.Upstream -package/musl/0002-package-musl-Make-scheduler-functions-Linux-compatib.patch lib_patch.Upstream -package/nano/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch lib_patch.Upstream -package/nanocom/0001-fix-build-with-gcc-10.patch lib_patch.Upstream -package/ne10/0001-CMakeLists-don-t-hard-code-thumb-code-generation.patch lib_patch.Upstream -package/ne10/0002-fix-build-without-C.patch lib_patch.Upstream -package/neard/S53neard Shellcheck lib_sysv.Indent lib_sysv.Variables -package/neardal/0001-lib-neardal.h-fix-build-with-gcc-10.patch lib_patch.Upstream -package/netatalk/S50netatalk lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables -package/netcat/0001-signed-bit-counting.patch lib_patch.Sob lib_patch.Upstream -package/netopeer2/S52netopeer2 Shellcheck lib_sysv.Variables -package/netperf/0001-src-nettest_omni.c-fix-compilation-with-GCC10.patch lib_patch.Upstream -package/netplug/0001-makefile-flags.patch lib_patch.Sob lib_patch.Upstream -package/netplug/0002-add-missing-time-include.patch lib_patch.Upstream -package/netplug/0003-remove-assert-fail.patch lib_patch.Upstream -package/netplug/S29netplug Shellcheck lib_sysv.Indent lib_sysv.Variables -package/netplug/netplug-script Shellcheck lib_shellscript.ConsecutiveEmptyLines -package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch lib_patch.Upstream -package/netsnmp/S59snmpd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/netsurf/0001-avoid-system-perl-dependencies.patch lib_patch.Upstream -package/netsurf/0002-do-not-cross-compile-nsgenbind.patch lib_patch.Upstream -package/netsurf/0003-fix-compilation-without-curl.patch lib_patch.Upstream -package/netsurf/0004-framebuffer-Fix-internal-font-generated-source-for-GCC-10.patch lib_patch.Upstream -package/nettle/0001-disable-testsuite-examples.patch lib_patch.Upstream -package/nfs-utils/S60nfs Shellcheck lib_sysv.ConsecutiveEmptyLines lib_sysv.Variables -package/nginx-modsecurity/0001-config-use-pkg-config.patch lib_patch.Upstream -package/nginx/0001-auto-type-sizeof-rework-autotest-to-be-cross-compila.patch lib_patch.Upstream -package/nginx/0002-auto-feature-add-mechanism-allowing-to-force-feature.patch lib_patch.Upstream -package/nginx/0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch lib_patch.Upstream -package/nginx/0004-auto-lib-libxslt-conf-use-pkg-config.patch lib_patch.Upstream -package/nginx/0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch lib_patch.Upstream -package/nginx/0006-auto-lib-libgd-conf-use-pkg-config.patch lib_patch.Upstream -package/nginx/0007-src-os-unix-ngx_linux_config.h-only-include-dlfcn.h-.patch lib_patch.Upstream -package/nginx/0008-Allow-forcing-of-endianness-for-cross-compilation.patch lib_patch.Upstream -package/nginx/S50nginx lib_sysv.Indent lib_sysv.Variables -package/nilfs-utils/0001-nilfs_cleanerd-link-dynamically.patch lib_patch.Upstream -package/nmap/0001-libdnet-always-build-a-static-library.patch lib_patch.Upstream -package/nodejs/nodejs-src/0001-add-qemu-wrapper-support.patch lib_patch.Upstream -package/nodejs/nodejs-src/0002-check-if-uclibc-has-backtrace-support.patch lib_patch.Upstream -package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch lib_patch.Upstream -package/nodejs/nodejs-src/0004-lib-internal-modules-cjs-loader.js-adjust-default-pa.patch lib_patch.Upstream -package/nodm/S90nodm Shellcheck lib_sysv.Indent lib_sysv.Variables -package/norm/0001-protolib-drop-linux-version-check.patch lib_patch.Upstream -package/norm/0002-Use-print-as-function-call-for-Python3-compatibility.patch lib_patch.Upstream -package/norm/0003-Fix-mixed-tabs-spaces-in-protolib-wscript.patch lib_patch.Upstream -package/nss-pam-ldapd/S45nslcd Shellcheck lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables -package/ntp/0001-ntp-syscalls-fallback.patch lib_patch.Upstream -package/ntp/S49ntp.in lib_sysv.Variables -package/ntpsec/0001-wscript-remove-checks-for-bsd-string.h-fixes-host-co.patch lib_patch.Upstream -package/nuttcp/0001-susv3-legacy.patch lib_patch.Upstream -package/nvidia-driver/0001-use-LDFLAGS.patch lib_patch.Upstream -package/octave/0001-Fix-BLAS-library-integer-size-detection.patch lib_patch.Upstream -package/ofono/0001-uclibc-backtrace.patch lib_patch.Upstream -package/ofono/S46ofono lib_sysv.Variables -package/ola/0001-ola-fix-compilation-with-musl-1-2-3.patch lib_patch.Upstream -package/olsr/0001-olsrd-migrate-to-using-bison-3.7.1.patch lib_patch.Upstream -package/olsr/0002-lib-pud-Makefile-fix-parallel-build.patch lib_patch.Upstream -package/olsr/0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch lib_patch.Upstream -package/olsr/0005-lib-pud-src-gpsdclient.c-drop-handling-of-gpsdata-fi.patch lib_patch.Upstream -package/olsr/0006-build-patch-for-gpsd-3-25.patch lib_patch.Upstream -package/olsr/S50olsr Shellcheck lib_sysv.Indent lib_sysv.Variables -package/open-plc-utils/0001-Remove-OWNER-and-GROUPS-parameters-to-install.patch lib_patch.Upstream -package/open2300/0001-fix-makefile.patch lib_patch.Upstream -package/openjdk/17.0.9+9/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch lib_patch.Upstream -package/openjdk/21.0.1+12/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch lib_patch.Upstream -package/openldap/0001-fix-bignum.patch lib_patch.Upstream -package/openldap/0002-disable-docs.patch lib_patch.Upstream -package/openntpd/S49ntp Shellcheck lib_sysv.Variables -package/openocd/0001-configure-enable-build-on-uclinux.patch lib_patch.Upstream -package/openpgm/0001-Rename-openpgm-5.2.pc.in.patch lib_patch.Upstream -package/openpgm/0002-openpgm-pgm-checksum.c-fix-build-with-32-bits-MMX.patch lib_patch.Upstream -package/openpgm/0003-fix-build-on-macOS-ARM.patch lib_patch.Upstream -package/openpowerlink/0001-install-the-stack-libraries-to-lib-subdirectory.patch lib_patch.Upstream -package/openpowerlink/0002-cmake-install-oplk-headers-files.patch lib_patch.Upstream -package/openpowerlink/0003-Add-top-level-CMakeLists.txt.patch lib_patch.Upstream -package/openrc/0001-init.d-sysctl.in-add-support-for-busybox-sysctl.patch lib_patch.Upstream -package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch lib_patch.Upstream -package/openrc/0003-init.d-agetty-replace-sbin-agetty-by-sbin-getty.patch lib_patch.Upstream -package/openrc/0004-init.d-agetty-start-agetty-after-all-sevices.patch lib_patch.Upstream -package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch lib_patch.Upstream -package/openrc/0006-Also-create-run-lock-subsys-directory.patch lib_patch.Upstream -package/openswan/0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch lib_patch.Upstream -package/opentyrian/0001-Move-definitions-that-don-t-need-to-be-exposed-from-opl-h-to-opl-c.patch lib_patch.Upstream -package/openvmtools/0001-no_cflags_werror.patch lib_patch.Upstream -package/openvmtools/0002-dont-force-cppflags.patch lib_patch.Upstream -package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch lib_patch.Upstream -package/openvmtools/0004-Remove-assumptions-about-glibc-being-only-libc-imple.patch lib_patch.Upstream -package/openvmtools/0005-Use-configure-test-for-struct-timespec.patch lib_patch.Upstream -package/openvmtools/0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch lib_patch.Upstream -package/openvmtools/0007-Use-configure-to-test-for-feature-instead-of-platfor.patch lib_patch.Upstream -package/openvmtools/0008-Use-configure-test-for-sys-stat.h-include.patch lib_patch.Upstream -package/openvmtools/0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch lib_patch.Upstream -package/openvmtools/0012-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch lib_patch.Upstream -package/openvmtools/shutdown Shellcheck -package/openvpn/S60openvpn Shellcheck lib_sysv.Indent lib_sysv.Variables -package/oprofile/0001-musl.patch lib_patch.Upstream -package/opusfile/0001-Propagate-allocation-failure-from-ogg_sync_buffer.patch lib_patch.Upstream -package/owfs/S55owserver Shellcheck lib_sysv.Variables -package/owfs/S60owfs Shellcheck lib_sysv.Variables -package/owl-linux/0001-fix-for-linux-3.3.x.patch lib_patch.Upstream -package/patch/0001-Fix-segfault-with-mangled-rename-patch.patch lib_patch.Upstream -package/patch/0002-Allow-input-files-to-be-missing-for-ed-style-patches.patch lib_patch.Upstream -package/patch/0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch lib_patch.Upstream -package/patch/0004-Invoke-ed-directly-instead-of-using-the-shell.patch lib_patch.Upstream -package/patch/0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch lib_patch.Upstream -package/patchelf/0001-Add-option-to-make-the-rpath-relative-under-a-specif.patch lib_patch.Upstream -package/paxtest/0001-genpaxtest-move-log-location.patch lib_patch.Upstream -package/paxtest/0002-paxtest-page-alignment-ARM-and-NIOS2-arch.patch lib_patch.Upstream -package/pcm-tools/0001-pmu-query.py-fix-python3-errors-add-linux-platform-s.patch lib_patch.Upstream -package/pcmanfm/0001-po-de-po-fix-build-with-gettext-tiny.patch lib_patch.Upstream -package/pcre/0001-Kill-compatibility-bits.patch lib_patch.Upstream -package/pcre/0002-Disable-C-unit-tests.patch lib_patch.Upstream -package/pdmenu/0001-autoconf-makeinfo.in-link-with-INTLLIBS-if-needed.patch lib_patch.Upstream -package/pdmenu/0002-Makefile-autoconf-makeinfo.in-support-build-install-.patch lib_patch.Upstream -package/perl-net-ssleay/0001-fix-build-system.patch lib_patch.Upstream -package/perl-sys-cpu/0001-remove-extraneous-include.patch lib_patch.Upstream -package/perl-xml-libxml/0001-Makefile-PL.patch lib_patch.Upstream -package/php-geoip/0001-add-build-support-for-php8.patch lib_patch.Upstream -package/php-lua/0001-ZEND_ACC_ALLOW_STATIC-ZEND_ACC_STATIC-for-static-met.patch lib_patch.Upstream -package/php-lua/0002-php8-explicitly-declare-arginfo.patch lib_patch.Upstream -package/php-zmq/0001-updates-for-php7.4-and-php8.0.patch lib_patch.Upstream -package/php-zmq/0002-fix-for-php-7.3.patch lib_patch.Upstream -package/php-zmq/0003-fix-for-php-8.0.0beta2.patch lib_patch.Upstream -package/php/0001-acinclude.m4-don-t-unset-variables.patch lib_patch.Upstream -package/php/0002-iconv-tweak-iconv-detection.patch lib_patch.Upstream -package/php/0003-configure-disable-the-phar-tool.patch lib_patch.Upstream -package/php/0004-Call-apxs-with-correct-prefix.patch lib_patch.Upstream -package/php/0005-allow-opcache-cross-compiling.patch lib_patch.Upstream -package/pifmrds/0001-Makefile-cross-compile-friendly.patch lib_patch.Upstream -package/pifmrds/0002-Makefile-use-LDFLAGS.patch lib_patch.Upstream -package/pifmrds/0003-Makefile-fix-static-link.patch lib_patch.Upstream -package/pigpio/S50pigpio Shellcheck lib_sysv.Variables -package/pistache/0001-src-common-transport.cc-fallback-value-for-RUSAGE_TH.patch lib_patch.Upstream -package/pistache/0002-src-server-listener.cc-fix-libressl-build.patch lib_patch.Upstream -package/pixman/0001-Disable-tests.patch lib_patch.Upstream -package/pkgconf/0001-Only-prefix-with-the-sysroot-a-subset-of-variables.patch lib_patch.Upstream -package/pkgconf/pkg-config.in Shellcheck -package/poke/0001-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch lib_patch.Upstream -package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch lib_patch.Upstream -package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch lib_patch.Upstream -package/postgresql/S50postgresql lib_sysv.Variables -package/pptp-linux/0001-susv3-legacy.patch lib_patch.Upstream -package/pptp-linux/0002-fix-parallel-build.patch lib_patch.Upstream -package/prboom/0001-libpng-1.4.patch lib_patch.Upstream -package/prboom/0002-configure-remove-predefined-O2-optimization-flag.patch lib_patch.Upstream -package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch lib_patch.Upstream -package/procps-ng/S02sysctl lib_sysv.Variables -package/proftpd/S50proftpd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/prosody/0001-enable-syslog.patch lib_patch.Upstream -package/prosody/0002-add-pidfile.patch lib_patch.Upstream -package/prosody/S50prosody Shellcheck lib_sysv.Indent lib_sysv.Variables -package/protozero/0001-CMakeLists.txt-protobuf-is-only-needed-for-tests.patch lib_patch.Upstream -package/proxychains-ng/0001-add-configure-check-for-non-POSIX-compliant-getnameinfo-signature.patch lib_patch.Upstream -package/ptpd/S65ptpd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/ptpd2/0001-musl.patch lib_patch.Upstream -package/ptpd2/0002-ntp_isc_md5-rename-EVP_MD_CTX-into-PTPD_EVP_MD_CTX.patch lib_patch.Upstream -package/ptpd2/0003-Solve-issue-25-Removing-type-U64-from-net-snmp-relat.patch lib_patch.Upstream -package/ptpd2/S65ptpd2 Shellcheck lib_sysv.Indent lib_sysv.Variables -package/pulseaudio/0001-shm.c-use-_Static_assert-instead-of-static_assert-fo.patch lib_patch.Upstream -package/pulseaudio/S50pulseaudio lib_sysv.ConsecutiveEmptyLines lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables -package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch lib_patch.Upstream -package/pulseview/0002-Fix-broken-build-due-to-C-template-behind-C-linkage.patch lib_patch.Upstream -package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch lib_patch.Upstream -package/python-pylibftdi/0001-do-not-use-find-library.patch lib_patch.Upstream -package/python-pyqt5/0001-configure-skip-qtdetail.patch lib_patch.Upstream -package/python-pyqt5/0002-fix-QtCoremod.sip-syntax-error.patch lib_patch.Upstream -package/python-pyudev/0001-Workaround-finding-libudev-on-systems-without-ldconf.patch lib_patch.Upstream -package/python-pyzmq/0001-detect.py-fix-the-ZMQ-version-check-to-the-ZMQ-versi.patch lib_patch.Upstream -package/python-scipy/0001-build-sh4-FE.patch lib_patch.Upstream -package/python-setuptools/0001-add-executable.patch lib_patch.Upstream -package/python-sip/0001-remove-join-from-sip-h-files-string.patch lib_patch.Upstream -package/python-web2py/S51web2py Shellcheck lib_sysv.Variables -package/python-ws4py/0001-Adjust-ws4py-for-Python-3.7-syntax.patch lib_patch.Upstream -package/python3/0001-Make-the-build-of-pyc-files-conditional.patch lib_patch.Upstream -package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch lib_patch.Upstream -package/python3/0003-Add-an-option-to-disable-pydoc.patch lib_patch.Upstream -package/python3/0004-Add-an-option-to-disable-lib2to3.patch lib_patch.Upstream -package/python3/0005-Add-an-option-to-disable-IDLE.patch lib_patch.Upstream -package/python3/0006-configure.ac-move-PY_STDLIB_MOD_SET_NA-further-up.patch lib_patch.Upstream -package/python3/0007-Add-option-to-disable-the-sqlite3-module.patch lib_patch.Upstream -package/python3/0008-Add-an-option-to-disable-the-tk-module.patch lib_patch.Upstream -package/python3/0009-Add-an-option-to-disable-the-curses-module.patch lib_patch.Upstream -package/python3/0010-Add-an-option-to-disable-expat.patch lib_patch.Upstream -package/python3/0011-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch lib_patch.Upstream -package/qextserialport/0001-Create-a-main-include-file-QExtSerialPort.patch lib_patch.Upstream -package/qextserialport/0002-Tell-qmake-to-add-a-pkgconfig-file-to-ease-usage-wit.patch lib_patch.Upstream -package/qt5/qt5base/0001-qtbase-Fix-build-error-when-using-EGL.patch lib_patch.Upstream -package/qt5/qt5base/0002-double-conversion-enable-for-microblaze.patch lib_patch.Upstream -package/qt5/qt5base/0003-double-conversion-enable-for-nios2.patch lib_patch.Upstream -package/qt5/qt5base/0004-double-conversion-enable-for-xtensa.patch lib_patch.Upstream -package/qt5/qt5base/0005-eglfs-avoid-breaking-compilation-for-obscure-EGLNativeDisplayType-types.patch lib_patch.Upstream -package/qt5/qt5base/0006-Fix-build-on-riscv32.patch lib_patch.Upstream -package/qt5/qt5base/0007-src-corelib-configure.json-fix-atomicfptr-detection.patch lib_patch.Upstream -package/qt5/qt5base/0008-eglconvenience-add-missing-QList-include.patch lib_patch.Upstream -package/qt5/qt5declarative/0001-qsgtexture-fix-debug-build-with-uclibc.patch lib_patch.Upstream -package/qt5/qt5declarative/0002-qv4regexp_p-needs-c-limits-include-instead-of-plain-.patch lib_patch.Upstream -package/qt5/qt5enginio/0001-Do-not-use-deprecated-QLinkedList.patch lib_patch.Upstream -package/qt5/qt5location/0001-3rdparty-mapbox-gl-native-fix-musl-compile-pthread_g.patch lib_patch.Upstream -package/qt5/qt5script/0001-Detect-32-bits-armv8-a-architecture.patch lib_patch.Upstream -package/qt5/qt5tools/0001-Disable-designer-tool-fixes-configure-error.patch lib_patch.Upstream -package/qt5/qt5webengine-chromium/0001-Add-python3-build-support.patch lib_patch.Upstream -package/qt5/qt5webengine-chromium/0002-Don-t-rebase-sysroot-path.patch lib_patch.Upstream -package/qt5/qt5webengine/0001-gn.pro-don-t-link-statically-with-libstc.patch lib_patch.Upstream -package/qt5/qt5webengine/0002-Add-python3-build-support.patch lib_patch.Upstream -package/qt5/qt5webkit/0001-WinCairo-PlayStation-ICU-68.1-no-longer-exposes-FALS.patch lib_patch.Upstream -package/qt5/qt5webkit/0002-Fix-compilation-with-Python-3.9-avoid-passing-encodi.patch lib_patch.Upstream -package/qt5/qt5webkit/0003-Let-Bison-generate-the-header-directly-to-fix-build-.patch lib_patch.Upstream -package/qt5/qt5webkit/0004-Remove-invalid-g_object-declarations-to-fix-build-wi.patch lib_patch.Upstream -package/qt5/qt5webkit/0005-Add-support-for-ARC-processors.patch lib_patch.Upstream -package/qt5/qt5webkit/0006-Warnings-due-to-AppSinkCallbacks-struct-growth-https.patch lib_patch.Upstream -package/qt5cinex/0001-Fix-execution-problem-with-Qt5.3.patch lib_patch.Upstream -package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch lib_patch.Upstream -package/rapidxml/0001-ensure-internal-print-operations-are-declared-before.patch lib_patch.Upstream -package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch lib_patch.Upstream -package/read-edid/0001-Fix-install-file-list.patch lib_patch.Upstream -package/read-edid/0002-Fix-compiler-check.patch lib_patch.Upstream -package/read-edid/0003-fix-build-with-gcc-10.patch lib_patch.Upstream -package/readline/0001-curses-link.patch lib_patch.Upstream -package/redis/0001-uclibc.patch lib_patch.Upstream -package/redis/0002-largefile-conditional-define.patch lib_patch.Upstream -package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch lib_patch.Upstream -package/redis/S50redis Shellcheck lib_sysv.Variables -package/restorecond/S02restorecond Shellcheck -package/ripgrep/0001-puts-jemalloc-allocator-behind-a-cargo-feature-flag.patch lib_patch.Upstream -package/riscv-isa-sim/0001-riscv-disable-precompiled-headers.patch lib_patch.Upstream -package/rng-tools/S21rngd Shellcheck lib_sysv.Variables -package/rocksdb/0001-build_tools-build_detect_platform-fix-C-tests.patch lib_patch.Upstream -package/rpcbind/0001-Remove-yellow-pages-support.patch lib_patch.Upstream -package/rpcbind/S30rpcbind lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables -package/rpi-userland/0001-Add-.pc-files-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch lib_patch.Upstream -package/rpi-userland/0002-interface-remove-faulty-assert-to-make-weston-happy-.patch lib_patch.Upstream -package/rpi-userland/0003-Disable-Werror-everywhere.patch lib_patch.Upstream -package/rpi-userland/0004-host-applications-disable-missing-applications.patch lib_patch.Upstream -package/rpi-userland/0005-dtmerge-add-missing-include-for-va_list.patch lib_patch.Upstream -package/rpi-userland/0006-interface-vcos-pthreads-CMakeLists.txt-fix-build-wit.patch lib_patch.Upstream -package/rpi-userland/0007-GLES2-gl2ext.h-add-GLint64-GLuint64-and-GLsync-typed.patch lib_patch.Upstream -package/rt-tests/0001-Fix-a-build-issue-with-uClibc-ng.patch lib_patch.Upstream -package/rtorrent/0001-Added--disable-execinfo-option-to-configure.patch lib_patch.Upstream -package/rubix/0001-dont-use-legacy-functions.patch lib_patch.Upstream -package/rubix/0002-misc-fixes.patch lib_patch.Sob lib_patch.Upstream -package/rygel/S99rygel Shellcheck lib_sysv.Indent lib_sysv.Variables -package/s6-linux-init/0001-configure-add-D_GNU_SOURCE.patch lib_patch.Upstream -package/safeclib/0001-fix-armv7-asm-inline-error-GH-115.patch lib_patch.Upstream -package/samba4/0001-build-find-pre-built-heimdal-build-tools-in-case-of-.patch lib_patch.Upstream -package/samba4/0002-ldap_message_test.c-include-stdint.h-before-cmoka.h.patch lib_patch.Upstream -package/samba4/S91smb Shellcheck lib_sysv.Indent lib_sysv.Variables -package/sane-backends/0001-sane_backend-add-missing-config.h.patch lib_patch.Upstream -package/screen/0001-Do-not-create-backup-of-old-installed-binary.patch lib_patch.Upstream -package/screen/0002-Change-binary-permission-flags-even-if-chown-fails.patch lib_patch.Upstream -package/screen/0003-Support-overriding-SCREEN-to-get-a-non-versioned-bin.patch lib_patch.Upstream -package/screen/0004-Renamed-sched.h-to-eventqueue.h.patch lib_patch.Upstream -package/scrub/0001-configure-ac-make-sure-m4-macros-are-included-in-the-build.patch lib_patch.Upstream -package/sdl/0001-fix-compilation-with-libx11.patch lib_patch.Upstream -package/sdl/0002-SDL_x11yuv.c-fix-possible-use-after-free.patch lib_patch.Upstream -package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch lib_patch.Upstream -package/sdl_mixer/0002-configure__set_macro_directory.patch lib_patch.Upstream -package/sdl_mixer/0003-configure.ac-fix-static-linking-with-tremor.patch lib_patch.Upstream -package/sdl_sound/0001-fix-constness.patch lib_patch.Upstream -package/sdl_sound/0002-remove-werror.patch lib_patch.Upstream -package/sdl_sound/0003-renamed-physfs-export.patch lib_patch.Upstream -package/seatd/S70seatd NotExecutable lib_sysv.Variables -package/sedutil/0001-Common-log.h-time-2-needs-time.h.patch lib_patch.Upstream -package/sentry-native/0001-sentry.h-include-ucontext.h.patch lib_patch.Upstream -package/ser2net/S50ser2net Shellcheck lib_sysv.Indent lib_sysv.Variables -package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch lib_patch.Upstream -package/setserial/0001-build-system-fix.patch lib_patch.Upstream -package/setserial/0002-tiocghayesesp-build-fix.patch lib_patch.Upstream -package/shadowsocks-libev/0001-configure.ac-use-pkg-config-to-find-netfilter_conntr.patch lib_patch.Upstream -package/shadowsocks-libev/0002-fix-maybe-uninitialized-errors.patch lib_patch.Upstream -package/shadowsocks-libev/0003-lib-Makefile.am-remove-static-from-LDFLAGS.patch lib_patch.Upstream -package/shairport-sync/S99shairport-sync Shellcheck lib_sysv.Indent lib_sysv.Variables -package/shared-mime-info/0001-Remove-incorrect-dependency-from-install-data-hook.patch lib_patch.Upstream -package/shellinabox/0001-Makefile-disable-always-building-statically.patch lib_patch.Upstream -package/shellinabox/0002-CVE-2018-16789-fix-for-broken-multipart-form-data.patch lib_patch.Upstream -package/skeleton-init-systemd/fakeroot_tmpfiles.sh Shellcheck -package/slang/0001-slsh-libs.patch lib_patch.Upstream -package/smcroute/S41smcroute NotExecutable lib_sysv.Indent lib_sysv.Variables -package/smstools3/0001-fix-Makefile.patch lib_patch.Upstream -package/smstools3/0002-fix-build-with-gcc-10.x.patch lib_patch.Upstream -package/smstools3/S50smsd Shellcheck lib_sysv.Variables -package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch lib_patch.Upstream -package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch lib_patch.Upstream -package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch lib_patch.Upstream -package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch lib_patch.Upstream -package/snort/0005-fix-sparc.patch lib_patch.Upstream -package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch lib_patch.Upstream -package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch lib_patch.Upstream -package/snort/0008-Fix-NO-OPTIMIZE.patch lib_patch.Upstream -package/socketcand/0001-Fix-GCC10-build-failure.patch lib_patch.Upstream -package/softether/0001-Create-autotools-plumbing-for-SoftEther.patch lib_patch.Upstream -package/softether/0002-Create-libsoftether.so-and-dynamically-link.patch lib_patch.Upstream -package/softether/0003-use-fhs-install-directories.patch lib_patch.Upstream -package/softether/0004-create-non-forking-softetherd-for-upstart-and-systemd.patch lib_patch.Upstream -package/softether/0005-change-GetExeDir-to-GetStateDir-in-Cedar-and-Mayaqua.patch lib_patch.Upstream -package/softether/0006-cross-compile.patch lib_patch.Upstream -package/softether/0007-iconv.patch lib_patch.Upstream -package/softether/0008-librt.patch lib_patch.Upstream -package/softether/0009-uclibc-ai-addrconfig.patch lib_patch.Upstream -package/solarus/0001-cmake-remove-Werror.patch lib_patch.Upstream -package/solarus/0002-Add-a-basic-FindOpenGLES2.cmake.patch lib_patch.Sob lib_patch.Upstream -package/sox/0001-Make-SoX-support-uclibc-based-toolchains.patch lib_patch.Upstream -package/sox/0002-configure.ac-put-back-disable-stack-protector.patch lib_patch.Upstream -package/sox/0003-configure.ac-fix-static-linking-with-id3tag.patch lib_patch.Upstream -package/sox/0004-configure.ac-fix-static-linking-with-magic.patch lib_patch.Upstream -package/sox/0005-configure.ac-fix-static-linking-with-sndfile.patch lib_patch.Upstream -package/sp-oops-extract/0001-Make-the-Makefile-more-cross-compiler-friendly.patch lib_patch.Upstream -package/sp-oops-extract/0002-stdint-cleanup.patch lib_patch.Upstream -package/spandsp/0001-configure.ac-fix-AVX-SSE-and-MMX-options.patch lib_patch.Upstream -package/speex/0001-thumb2-support.patch lib_patch.Upstream -package/squid/S97squid Shellcheck lib_sysv.Indent lib_sysv.Variables -package/sredird/0001-termio.patch lib_patch.Upstream -package/sscep/0001-Fix-getopt-linking-error.patch lib_patch.Upstream -package/sshguard/S49sshguard lib_sysv.Indent -package/sslh/S35sslh Shellcheck lib_sysv.Indent lib_sysv.Variables -package/start-stop-daemon/0001-add-uclibc-alias-and-musl.patch lib_patch.Upstream -package/start-stop-daemon/0002-just-warn-on-missing-arch.patch lib_patch.Upstream -package/statserial/0001-ncurses-link.patch lib_patch.Upstream -package/stunnel/S50stunnel Shellcheck lib_sysv.Indent lib_sysv.Variables -package/supervisor/S99supervisord lib_sysv.Variables -package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch lib_patch.Upstream -package/suricata/S99suricata Shellcheck -package/swupdate/swupdate.sh Shellcheck -package/sylpheed/0001-harden-link-checker-before-accepting-click.patch lib_patch.Upstream -package/sysrepo/S51sysrepo-plugind Shellcheck lib_sysv.Indent -package/sysvinit/0001-Makefile-disable-stack-protector-strong.patch lib_patch.Upstream -package/tar/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch lib_patch.Upstream -package/targetcli-fb/S50target Shellcheck lib_sysv.Variables -package/taskd/0001-Fix-missing-cmakedefine-HAVE_GET_CURRENT_DIR_NAME.patch lib_patch.Upstream -package/taskd/0002-Use-correct-variables-for-GnuTLS-detection.patch lib_patch.Upstream -package/taskd/0003-CMakeLists-use-pkg-config-uuid-detection.patch lib_patch.Upstream -package/tcf-agent/S55tcf-agent Shellcheck lib_sysv.Variables -package/tftpd/S80tftpd-hpa Shellcheck lib_sysv.Indent lib_sysv.Variables -package/ti-gfx/0001-newclkapi.patch lib_patch.Upstream -package/ti-gfx/0002-fix-build-omaplfb-linux.patch lib_patch.Upstream -package/ti-gfx/0003-km_install_modules.patch lib_patch.Upstream -package/ti-gfx/S80ti-gfx Shellcheck lib_sysv.Variables -package/ti-gfx/esrev.sh Shellcheck -package/ti-sgx-um/0001-Makefile-do-not-install-init-script.patch lib_patch.Upstream -package/ti-sgx-um/S80ti-sgx lib_sysv.Variables -package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch lib_patch.Upstream -package/tinyalsa/0001-include-time.h-before-asound.h.patch lib_patch.Upstream -package/tinycbor/0001-Makefile-add-DISABLE_WERROR.patch lib_patch.Upstream -package/tinycompress/0001-wave-add-time.h-missing-header-inclusion.patch lib_patch.Upstream -package/tinydtls/0001-sha2-sha2.c-fix-build-on-big-endian.patch lib_patch.Upstream -package/tinyxml/0001-In-stamp-always-advance-the-pointer-if-p-0xef.patch lib_patch.Upstream -package/tpm2-abrmd/S80tpm2-abrmd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/tpm2-tss/0001-Temporary-fix-for-build-without-C.patch lib_patch.Upstream -package/transmission/S92transmission Shellcheck lib_sysv.ConsecutiveEmptyLines lib_sysv.Indent lib_sysv.Variables -package/triggerhappy/S10triggerhappy Shellcheck lib_sysv.Indent lib_sysv.Variables -package/trinity/0001-Fix-build-with-GCC-10.patch lib_patch.Upstream -package/trinity/0002-net-proto-ip-raw.c-fix-build-with-kernel-5.13.patch lib_patch.Upstream -package/trinity/0003-Use-fcntl-h-for-dev_t-mode_t.patch lib_patch.Upstream -package/trinity/0004-drop-decnet.patch lib_patch.Upstream -package/trousers/0001-Check-if-the-compiler-understands-pie-and-relro-options.patch lib_patch.Upstream -package/trousers/0002-Check-that-getpwent_r-is-available-before-using-it.patch lib_patch.Upstream -package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch lib_patch.Upstream -package/tstools/0001-build-get-along-with-buildroot.patch lib_patch.Upstream -package/tvheadend/0001-no-check_config.patch lib_patch.Upstream -package/tvheadend/S99tvheadend Shellcheck lib_sysv.Indent lib_sysv.Variables -package/uboot-tools/0001-drop-configh-from-tools.patch lib_patch.Upstream -package/uboot-tools/0002-tools-only-in-no-dot-config-targets.patch lib_patch.Upstream -package/uboot-tools/0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.patch lib_patch.Upstream -package/ubus/0001-Install-server-and-client-examples.patch lib_patch.Upstream -package/uemacs/01-clear-ixon-termios-flag.patch lib_patch.Upstream -package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch lib_patch.Upstream -package/uhttpd/0001-Remove-Werror.patch lib_patch.Upstream -package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch lib_patch.Upstream -package/unbound/S70unbound Shellcheck -package/unifdef/0001-Makefile-fix-error-on-install.patch lib_patch.Upstream -package/unscd/S46unscd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/unzip/0001-Add-a-CMakeFile.txt-to-ease-cross-compilation.patch lib_patch.Upstream -package/upmpdcli/S99upmpdcli Shellcheck lib_sysv.Indent lib_sysv.Variables -package/uqmi/0001-uqmi-avoid-gcc-12.x-false-error-reporting-storing-th.patch lib_patch.Upstream -package/urg/0001-select-h.patch lib_patch.Upstream -package/urg/0002-urg-gcc6-fix-narrowing-conversion.patch lib_patch.Upstream -package/usb_modeswitch/0001-fix-systemd-detection.patch lib_patch.Upstream -package/usbguard/S20usbguard Shellcheck lib_sysv.Indent lib_sysv.Variables -package/usbmount/0001-rules-fix.patch lib_patch.Upstream -package/usbmount/0002-use-udev-environment-instead-of-blkid.patch lib_patch.Upstream -package/ushare/0001-Don-t-build-po-files-if-NLS-is-disabled.patch lib_patch.Upstream -package/ussp-push/0001-fix-build-against-bluez-4.patch lib_patch.Upstream -package/ussp-push/0002-fix-build-again-obex-bluez.patch lib_patch.Upstream -package/ussp-push/0003-add-OBEX_CharToUnicode.patch lib_patch.Upstream -package/vala/0001-dont-add-dirty-to-valac-version.patch lib_patch.Upstream -package/vala/vala-wrapper Shellcheck -package/valgrind/0001-workaround-SIGSEGV-on-PPC.patch lib_patch.Upstream -package/valgrind/0002-Define-PTRACE_GETSIGINFO-on-PowerPC-when-not-availab.patch lib_patch.Upstream -package/vboot-utils/0001-Add-missing-definition-of-MTD_CHAR_MAJOR.patch lib_patch.Upstream -package/vdr/0001-getloadavg.patch lib_patch.Upstream -package/vlc/0001-Disable-building-of-statically-linked-vlc-binary.patch lib_patch.Upstream -package/vlc/0002-automake-add-subdir-objects-option.patch lib_patch.Upstream -package/vlc/0003-build-use-pkg-config-to-get-tremor-libs.patch lib_patch.Upstream -package/vlc/0004-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch lib_patch.Upstream -package/vlc/0005-Don-t-assume-strerror_l-is-available.patch lib_patch.Upstream -package/vlc/0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch lib_patch.Upstream -package/vlc/0007-Add-support-for-freerdp2.patch lib_patch.Upstream -package/vlc/0008-configure.ac-also-use-AC_PATH_PROG-to-check-for-wayl.patch lib_patch.Upstream -package/vlc/0009-modules-video_filter-opencv_example.cpp-fix-build-wi.patch lib_patch.Upstream -package/vlc/0010-opengl-missing-library-check.patch lib_patch.Upstream -package/vpnc/0001-Makefile-allow-to-override-the-PREFIX-variable.patch lib_patch.Upstream -package/vpnc/0002-Makefile-allow-to-override-the-version.patch lib_patch.Upstream -package/vpnc/0003-Makefile-allow-passing-custom-CFLAGS-CPPFLAGS.patch lib_patch.Upstream -package/vpnc/0004-Makefile-provide-an-option-to-not-build-manpages.patch lib_patch.Upstream -package/vpnc/0005-Makefile-allow-passing-a-custom-path-to-libgcrypt-co.patch lib_patch.Upstream -package/vpnc/0006-config.c-Replace-deprecated-SUSv3-functions-with-POS.patch lib_patch.Upstream -package/vpnc/0007-sysdep.h-don-t-assume-error.h-is-available-on-all-Li.patch lib_patch.Upstream -package/vpnc/0008-sysdep.c-don-t-include-linux-if_tun.h-on-Linux.patch lib_patch.Upstream -package/vpnc/0009-config.c-add-missing-sys-ttydefaults.h-include.patch lib_patch.Upstream -package/vsftpd/0001-utmpx-builddef.patch lib_patch.Upstream -package/vsftpd/0002-fix-CVE-2015-1419.patch lib_patch.Upstream -package/vsftpd/0003-Prevent-hang-in-SIGCHLD-handler.patch lib_patch.Upstream -package/vsftpd/S70vsftpd Shellcheck lib_sysv.Indent lib_sysv.Variables -package/vte/0001-build-Fix-build-with-kernel-headers-from-linux-4-13.patch lib_patch.Upstream -package/vte/0002-build-Fix-check-for-fstack-protector-compiler-support.patch lib_patch.Upstream -package/vtun/0001-fix-installation.patch lib_patch.Upstream -package/vtun/0002-fix-ssl-headers-checks.patch lib_patch.Upstream -package/vtun/0003-openssl11.patch lib_patch.Upstream -package/w_scan/0001-musl.patch lib_patch.Upstream -package/w_scan/0002-si_types-h-fix-build-with-gcc-10.patch lib_patch.Upstream -package/waffle/0001-cmake-forward-cflags-from-.pc-files-to-waffle-cflags.patch lib_patch.Upstream -package/waffle/0002-wayland-fix-build-against-version-1-20.patch lib_patch.Upstream -package/waffle/0003-drop-C-dependency.patch lib_patch.Upstream -package/wampcc/0001-Add-RISC-V-endian-detection.patch lib_patch.Upstream -package/wampcc/0002-include-wampcc-platform.h-fix-build-with-musl-1.2.0.patch lib_patch.Upstream -package/wampcc/0003-Broken-build-on-Windows.patch lib_patch.Upstream -package/watchdogd/S01watchdogd NotExecutable lib_sysv.Indent -package/wget/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch lib_patch.Upstream -package/wilc-driver/0001-cfg80211.c-fix-missing-prandom_u32-with-Linux-6.1.0.patch lib_patch.Upstream -package/wilc-driver/0002-spi.c-fix-build-failure-on-remove-callback.patch lib_patch.Upstream -package/wilc-driver/0003-cfg80211.c-fix-build-failure-with-Linux-5.19-and-6.1.patch lib_patch.Upstream -package/wilc-driver/0004-Fix-struct-station_parameters-Linux-6.1-build-failur.patch lib_patch.Upstream -package/wilc-driver/0005-Fix-cast-warnings.patch lib_patch.Upstream -package/wipe/0001-musl.patch lib_patch.Upstream -package/wireless_tools/0001-remove-bzero.patch lib_patch.Upstream -package/woff2/0001-CMake-Handle-multiple-libraries-being-returned-for-B.patch lib_patch.Upstream -package/wpa_supplicant/ifupdown.sh Shellcheck -package/x11r7/xapp_luit/0001-posix-openpt.patch lib_patch.Upstream -package/x11r7/xapp_xdm/S99xdm lib_sysv.Indent lib_sysv.Variables -package/x11r7/xcursor-transparent-theme/0001-fix-symlink.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-input-evdev/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-input-joystick/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-input-libinput/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-input-mouse/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-input-synaptics/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-fbturbo/0001-sunxi_x_g2d-drop-unused-dri2-include.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-fbturbo/0002-Use-own-thunk-functions-instead-of-fbdevHW-Weak.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-fbturbo/0003-Update-for-1.20-ABI.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-fbturbo/0004-xorg.conf-add-mandatory-modules-fb-shadow-fbdevhw.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-fbturbo/0005-backing_store_tuner-struct-_Window-backStorage-is-go.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-imx/0001-Update-to-newer-swap-macros.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-imx/0002-Fix-error-unknown-type-name-uint.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-imx/0003-support-glibc-2.20.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-imx/0004-Make-video-API-forward-and-backward-compatible.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-imx/0005-xf86-video-imxfb-fix-m4-hardcodded-paths.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-imx/0006-xserver-1.14-compat.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-mach64/0001-cross-compile.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-nouveau/0001-nouveau-fixup-driver-for-new-X-server-ABI.patch lib_patch.Upstream -package/x11r7/xdriver_xf86-video-tdfx/0001-cross.patch lib_patch.Upstream -package/x11r7/xserver_xorg-server/0001-include-misc.h-fix-uClibc-build.patch lib_patch.Upstream -package/x11r7/xserver_xorg-server/S40xorg Shellcheck lib_sysv.Variables -package/xen/0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch lib_patch.Upstream -package/xen/0002-Fix-build-with-64-bits-time_t.patch lib_patch.Upstream -package/xen/0003-libs-light-fix-tv_sec-printf-format.patch lib_patch.Upstream -package/xen/0004-libs-light-fix-tv_sec-fprintf-format.patch lib_patch.Upstream -package/xinetd/0001-ar.patch lib_patch.Upstream -package/xinetd/0002-destdir.patch lib_patch.Upstream -package/xinetd/0003-rpc-fix.patch lib_patch.Upstream -package/xinetd/0004-configure-rlim_t.patch lib_patch.Upstream -package/xinetd/0005-CVE-2013-4342-xinetd-ignores-user-and-group-directiv.patch lib_patch.Upstream -package/xl2tp/xl2tpd lib_shellscript.TrailingSpace -package/xml-security-c/0001-fix-build-with-libressl-3.5.0.patch lib_patch.Upstream -package/yajl/0001-Let-the-shared-and-the-static-library-have-the-same-.patch lib_patch.Upstream -package/yajl/0002-cmake-disable-shared-library-build-when-BUILD_SHARED.patch lib_patch.Upstream -package/yajl/0003-Link-with-shared-libyajl-in-a-shared-build.patch lib_patch.Upstream -package/yajl/0004-Link-libyajl-_s-with-libm-when-isnan-is-not-brought-.patch lib_patch.Upstream -package/ympd/0001-only-c-language.patch lib_patch.Upstream -package/ympd/0002-added-forward-declarations.patch lib_patch.Upstream -package/zic/0001-remove-dependency-check-on-version-file.patch lib_patch.Upstream -package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch lib_patch.Upstream -package/zip/0002-configure-Don-t-use-host-CPP.patch lib_patch.Upstream -package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch lib_patch.Upstream -package/zip/0004-configure-use-LDFLAGS-from-command-line.patch lib_patch.Upstream -package/zip/0005-unix-configure-remove-GID-UID-size-check.patch lib_patch.Upstream -package/zip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch lib_patch.Upstream -package/zip/0007-timezone.c-needs-time.h-fixes-musl-compile.patch lib_patch.Upstream -package/zip/0008-fix-musl-static-build.patch lib_patch.Upstream -package/zmqpp/0001-Allow-building-shared-or-static-library-only.patch lib_patch.Upstream -support/dependencies/check-host-asciidoc.sh Shellcheck -support/dependencies/check-host-cmake.sh Shellcheck -support/dependencies/check-host-gzip.sh Shellcheck -support/dependencies/check-host-lzip.sh Shellcheck -support/dependencies/check-host-make.sh Shellcheck -support/dependencies/check-host-python3.sh Shellcheck -support/dependencies/check-host-tar.sh Shellcheck -support/dependencies/check-host-xzcat.sh Shellcheck -support/dependencies/dependencies.sh Shellcheck -support/download/bzr Shellcheck lib_shellscript.ConsecutiveEmptyLines -support/download/file Shellcheck -support/download/go-post-process Shellcheck -support/download/hg Shellcheck -support/download/scp Shellcheck -support/download/sftp Shellcheck -support/download/wget Shellcheck -support/gnuconfig/update Shellcheck -support/libtool/buildroot-libtool-v1.5.patch lib_patch.ApplyOrder lib_patch.Sob lib_patch.Upstream -support/libtool/buildroot-libtool-v2.2.patch lib_patch.ApplyOrder lib_patch.Sob lib_patch.Upstream -support/libtool/buildroot-libtool-v2.4.4.patch lib_patch.ApplyOrder lib_patch.Upstream -support/libtool/buildroot-libtool-v2.4.patch lib_patch.ApplyOrder lib_patch.Sob lib_patch.Upstream -support/misc/relocate-sdk.sh Shellcheck -support/scripts/apply-patches.sh Shellcheck -support/scripts/br2-external Shellcheck -support/scripts/check-bin-arch Shellcheck -support/scripts/check-host-rpath Shellcheck -support/scripts/expunge-gconv-modules Shellcheck -support/scripts/fix-configure-powerpc64.sh lib_shellscript.EmptyLastLine -support/scripts/generate-gitlab-ci-yml Shellcheck -support/scripts/mkmakefile Shellcheck lib_shellscript.ConsecutiveEmptyLines -support/scripts/setlocalversion Shellcheck -support/testing/tests/core/post-build.sh Shellcheck -support/testing/tests/package/test_opkg/post-build.sh Shellcheck -support/testing/tests/utils/test_get_developers/0001-package-binutils-change-.mk.patch lib_patch.NumberedSubject lib_patch.Upstream diff --git a/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch b/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch index 378ff0dfd3..d330de5cd4 100644 --- a/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch +++ b/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch @@ -22,7 +22,7 @@ diff --git a/parse.y b/parse.y index 1d12e639..8f1355c6 100644 --- a/parse.y +++ b/parse.y -@@ -2640,6 +2640,7 @@ next_alias_char: +@@ -2625,6 +2625,7 @@ next_alias_char: parser_state |= PST_ENDALIAS; /* We need to do this to make sure last_shell_getc_is_singlebyte returns true, since we are returning a single-byte space. */ @@ -30,7 +30,7 @@ index 1d12e639..8f1355c6 100644 if (shell_input_line_index == shell_input_line_len && last_shell_getc_is_singlebyte == 0) { #if 0 -@@ -2653,6 +2654,7 @@ next_alias_char: +@@ -2638,6 +2639,7 @@ next_alias_char: shell_input_line_property[shell_input_line_index - 1] = 1; #endif } @@ -42,7 +42,7 @@ diff --git a/y.tab.c b/y.tab.c index 50c5845b..799f730f 100644 --- a/y.tab.c +++ b/y.tab.c -@@ -4955,6 +4955,7 @@ next_alias_char: +@@ -4936,6 +4936,7 @@ next_alias_char: parser_state |= PST_ENDALIAS; /* We need to do this to make sure last_shell_getc_is_singlebyte returns true, since we are returning a single-byte space. */ @@ -50,7 +50,7 @@ index 50c5845b..799f730f 100644 if (shell_input_line_index == shell_input_line_len && last_shell_getc_is_singlebyte == 0) { #if 0 -@@ -4968,6 +4969,7 @@ next_alias_char: +@@ -4949,6 +4950,7 @@ next_alias_char: shell_input_line_property[shell_input_line_index - 1] = 1; #endif } diff --git a/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch b/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch new file mode 100644 index 0000000000..c412dcfce2 --- /dev/null +++ b/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch @@ -0,0 +1,62 @@ +From 754e0d1edc1c01b18f4890de7c58f7610e589d76 Mon Sep 17 00:00:00 2001 +From: Vincent Fazio +Date: Tue, 7 Feb 2023 03:55:28 -0600 +Subject: [PATCH] configure: invert condition for strtoimax builtin + +Previously, bash would attempt to build a replacement for strtoimax if +it found that the C library had the function already declared. + +This caused build errors when linking against static libraries that did +not define the function as a weak alias but, in reality, was a logic +error since bash should only provide it's own implementation if one is +not provided by the C library. + +Now, fix this by inverting the logic. + +Upstream: + https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=43e861c2cd840946a81dfd0386966eb4f3a17ce9 + +Signed-off-by: Vincent Fazio +[yann.morin.1998@free.fr: patch configure after the m file] +Signed-off-by: Yann E. MORIN +--- + configure | 6 +++++- + m4/strtoimax.m4 | 5 ++++- + 2 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4 +index 30985723..fa43ac7b 100644 +--- a/m4/strtoimax.m4 ++++ b/m4/strtoimax.m4 +@@ -29,7 +29,10 @@ AC_CACHE_VAL(bash_cv_func_strtoimax, + fi + ]) + AC_MSG_RESULT($bash_cv_func_strtoimax) +-if test $bash_cv_func_strtoimax = yes; then ++if test "$ac_cv_have_decl_strtoimax" = "yes" ; then ++AC_DEFINE([HAVE_DECL_STRTOIMAX], [1]) ++fi ++if test $bash_cv_func_strtoimax = no; then + AC_LIBOBJ(strtoimax) + fi + ]) +diff --git a/configure b/configure +index 47313753..6039cee7 100755 +--- a/configure ++++ b/configure +@@ -20443,7 +20443,11 @@ fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bash_cv_func_strtoimax" >&5 + printf "%s\n" "$bash_cv_func_strtoimax" >&6; } +-if test $bash_cv_func_strtoimax = yes; then ++if test "$ac_cv_have_decl_strtoimax" = "yes" ; then ++printf "%s\n" "#define HAVE_DECL_STRTOIMAX 1" >>confdefs.h ++ ++fi ++if test $bash_cv_func_strtoimax = no; then + case " $LIBOBJS " in + *" strtoimax.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS strtoimax.$ac_objext" +-- +2.25.1 + diff --git a/package/bash/bash.hash b/package/bash/bash.hash index c2fb1d38d4..44c1c5ed50 100644 --- a/package/bash/bash.hash +++ b/package/bash/bash.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature from -# https://ftp.gnu.org/gnu/bash/bash-5.2.37.tar.gz.sig -sha256 9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff bash-5.2.37.tar.gz +# https://ftp.gnu.org/gnu/bash/bash-5.2.21.tar.gz.sig +sha256 c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8 bash-5.2.21.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 81f698f166..9d173a5c7c 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -4,7 +4,7 @@ # ################################################################################ -BASH_VERSION = 5.2.37 +BASH_VERSION = 5.2.21 BASH_SITE = $(BR2_GNU_MIRROR)/bash BASH_DEPENDENCIES = ncurses readline host-bison BASH_LICENSE = GPL-3.0+ From ba085f23dd114d5363dbfe9e43ea06a1d2ebea4a Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 23 Jun 2025 22:29:00 +0300 Subject: [PATCH 028/150] Revert "package/bash: bump to version 5.2.21" This reverts commit b2d3d1f8ef6e52f3a63a0d1068ff47e0b9de8ed7. --- package/bash/bash.hash | 4 ++-- package/bash/bash.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/bash/bash.hash b/package/bash/bash.hash index 44c1c5ed50..e0a1ebac91 100644 --- a/package/bash/bash.hash +++ b/package/bash/bash.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature from -# https://ftp.gnu.org/gnu/bash/bash-5.2.21.tar.gz.sig -sha256 c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8 bash-5.2.21.tar.gz +# https://ftp.gnu.org/gnu/bash/bash-5.2.15.tar.gz.sig +sha256 13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c bash-5.2.15.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 9d173a5c7c..9a73ed8c36 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -4,7 +4,7 @@ # ################################################################################ -BASH_VERSION = 5.2.21 +BASH_VERSION = 5.2.15 BASH_SITE = $(BR2_GNU_MIRROR)/bash BASH_DEPENDENCIES = ncurses readline host-bison BASH_LICENSE = GPL-3.0+ From 5d3627dd76f029b804c67d58206d96c63c715e8e Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 23 Jun 2025 22:29:00 +0300 Subject: [PATCH 029/150] Revert "package/bash: fix naming of target-finalize-hook" This reverts commit 19edeb22b8e43972d1f1fd1403598474e115a574. --- package/bash/bash.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/bash/bash.mk b/package/bash/bash.mk index 9a73ed8c36..ec5e2d722f 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -62,10 +62,10 @@ endif # Add /bin/bash to /etc/shells otherwise some login tools like dropbear # can reject the user connection. See man shells. -define BASH_ADD_BASH_TO_SHELLS +define BASH_ADD_MKSH_TO_SHELLS grep -qsE '^/bin/bash$$' $(TARGET_DIR)/etc/shells \ || echo "/bin/bash" >> $(TARGET_DIR)/etc/shells endef -BASH_TARGET_FINALIZE_HOOKS += BASH_ADD_BASH_TO_SHELLS +BASH_TARGET_FINALIZE_HOOKS += BASH_ADD_MKSH_TO_SHELLS $(eval $(autotools-package)) From 02e2a27e0e1fcedbbec3aa27e68403d0a56652e7 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 23 Jun 2025 22:29:01 +0300 Subject: [PATCH 030/150] Revert "package/bash: fix strtoimax builtin inclusion logic" This reverts commit eac5d31786d7a28d97bb47c927e5194c4a93469f. --- ...vert-condition-for-strtoimax-builtin.patch | 62 ------------------- 1 file changed, 62 deletions(-) delete mode 100644 package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch diff --git a/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch b/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch deleted file mode 100644 index c412dcfce2..0000000000 --- a/package/bash/0003-configure-invert-condition-for-strtoimax-builtin.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 754e0d1edc1c01b18f4890de7c58f7610e589d76 Mon Sep 17 00:00:00 2001 -From: Vincent Fazio -Date: Tue, 7 Feb 2023 03:55:28 -0600 -Subject: [PATCH] configure: invert condition for strtoimax builtin - -Previously, bash would attempt to build a replacement for strtoimax if -it found that the C library had the function already declared. - -This caused build errors when linking against static libraries that did -not define the function as a weak alias but, in reality, was a logic -error since bash should only provide it's own implementation if one is -not provided by the C library. - -Now, fix this by inverting the logic. - -Upstream: - https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=43e861c2cd840946a81dfd0386966eb4f3a17ce9 - -Signed-off-by: Vincent Fazio -[yann.morin.1998@free.fr: patch configure after the m file] -Signed-off-by: Yann E. MORIN ---- - configure | 6 +++++- - m4/strtoimax.m4 | 5 ++++- - 2 files changed, 9 insertions(+), 2 deletions(-) - -diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4 -index 30985723..fa43ac7b 100644 ---- a/m4/strtoimax.m4 -+++ b/m4/strtoimax.m4 -@@ -29,7 +29,10 @@ AC_CACHE_VAL(bash_cv_func_strtoimax, - fi - ]) - AC_MSG_RESULT($bash_cv_func_strtoimax) --if test $bash_cv_func_strtoimax = yes; then -+if test "$ac_cv_have_decl_strtoimax" = "yes" ; then -+AC_DEFINE([HAVE_DECL_STRTOIMAX], [1]) -+fi -+if test $bash_cv_func_strtoimax = no; then - AC_LIBOBJ(strtoimax) - fi - ]) -diff --git a/configure b/configure -index 47313753..6039cee7 100755 ---- a/configure -+++ b/configure -@@ -20443,7 +20443,11 @@ fi - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bash_cv_func_strtoimax" >&5 - printf "%s\n" "$bash_cv_func_strtoimax" >&6; } --if test $bash_cv_func_strtoimax = yes; then -+if test "$ac_cv_have_decl_strtoimax" = "yes" ; then -+printf "%s\n" "#define HAVE_DECL_STRTOIMAX 1" >>confdefs.h -+ -+fi -+if test $bash_cv_func_strtoimax = no; then - case " $LIBOBJS " in - *" strtoimax.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS strtoimax.$ac_objext" --- -2.25.1 - From ad460e96c080dbf88767af8969a69e83ad1f6adf Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 23 Jun 2025 22:29:01 +0300 Subject: [PATCH 031/150] Revert "package/bash: fix non-multibyte builds" This reverts commit 970015b87053680d551abb19f6c569da2e993dc3. --- ...compilation-for-non-multibyte-builds.patch | 63 ------------------- 1 file changed, 63 deletions(-) delete mode 100644 package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch diff --git a/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch b/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch deleted file mode 100644 index d330de5cd4..0000000000 --- a/package/bash/0002-parse.y-fix-compilation-for-non-multibyte-builds.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 0217fc2816e47ee296472df71d1011f0eb2937e6 Mon Sep 17 00:00:00 2001 -From: Vincent Fazio -Date: Fri, 27 Jan 2023 14:37:26 -0600 -Subject: [PATCH] parse.y: fix compilation for non-multibyte builds - -Builds configured with --disable-multibyte or when the toolchain does -not have WCHAR support would encounter a compile error due to an -undeclared reference to shell_input_line_property in shell_getc. - -Add a HANDLE_MULTIBYTE guard to conditionally compile the block that -references shell_input_line_property in shell_getc as it's only declared -when HANDLE_MULTIBYTE is defined. - -Signed-off-by: Vincent Fazio -[Upstream status: https://savannah.gnu.org/patch/index.php?10309] ---- - parse.y | 2 ++ - y.tab.c | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/parse.y b/parse.y -index 1d12e639..8f1355c6 100644 ---- a/parse.y -+++ b/parse.y -@@ -2625,6 +2625,7 @@ next_alias_char: - parser_state |= PST_ENDALIAS; - /* We need to do this to make sure last_shell_getc_is_singlebyte returns - true, since we are returning a single-byte space. */ -+#if defined (HANDLE_MULTIBYTE) - if (shell_input_line_index == shell_input_line_len && last_shell_getc_is_singlebyte == 0) - { - #if 0 -@@ -2638,6 +2639,7 @@ next_alias_char: - shell_input_line_property[shell_input_line_index - 1] = 1; - #endif - } -+#endif /* HANDLE_MULTIBYTE */ - return ' '; /* END_ALIAS */ - } - #endif -diff --git a/y.tab.c b/y.tab.c -index 50c5845b..799f730f 100644 ---- a/y.tab.c -+++ b/y.tab.c -@@ -4936,6 +4936,7 @@ next_alias_char: - parser_state |= PST_ENDALIAS; - /* We need to do this to make sure last_shell_getc_is_singlebyte returns - true, since we are returning a single-byte space. */ -+#if defined (HANDLE_MULTIBYTE) - if (shell_input_line_index == shell_input_line_len && last_shell_getc_is_singlebyte == 0) - { - #if 0 -@@ -4949,6 +4950,7 @@ next_alias_char: - shell_input_line_property[shell_input_line_index - 1] = 1; - #endif - } -+#endif /* HANDLE_MULTIBYTE */ - return ' '; /* END_ALIAS */ - } - #endif --- -2.25.1 - From c3cd62ee66cdbbb81a2ed033956e6059fe0a0b38 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 23 Jun 2025 22:29:02 +0300 Subject: [PATCH 032/150] Revert "bash: bump version to 5.2.15" This reverts commit 2c91fdee2550d14ccec930663795d1087a86911e. --- ...local_shiftstates-vs.-locale_shiftst.patch | 72 +++++++++++++++++++ ...quote_pathname-vs.-udequote_pathname.patch | 40 +++++++++++ package/bash/bash.hash | 4 +- package/bash/bash.mk | 2 +- 4 files changed, 115 insertions(+), 3 deletions(-) create mode 100644 package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch create mode 100644 package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch diff --git a/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch b/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch new file mode 100644 index 0000000000..1636c18036 --- /dev/null +++ b/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch @@ -0,0 +1,72 @@ +From 3d6b9e18506ad9daf4ec7b7d406b38d58ec88009 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Thu, 11 Mar 2021 20:48:36 +0100 +Subject: [PATCH] locale: fix typo local_shiftstates vs. locale_shiftstates +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + locale.c:94:3: error: ‘local_shiftstates’ undeclared (first use in this function); did you mean ‘locale_shiftstates’? + 94 | local_shiftstates = 0; + | ^~~~~~~~~~~~~~~~~ + | locale_shiftstates + +Signed-off-by: Peter Seiderer +--- + locale.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/locale.c b/locale.c +index 17ccc58..d6dd95a 100644 +--- a/locale.c ++++ b/locale.c +@@ -91,7 +91,7 @@ set_default_locale () + #if defined (HANDLE_MULTIBYTE) + locale_shiftstates = mblen ((char *)NULL, 0); + #else +- local_shiftstates = 0; ++ locale_shiftstates = 0; + #endif + } + +@@ -117,7 +117,7 @@ set_default_locale_vars () + # if defined (HANDLE_MULTIBYTE) + locale_shiftstates = mblen ((char *)NULL, 0); + # else +- local_shiftstates = 0; ++ locale_shiftstates = 0; + # endif + + u32reset (); +@@ -226,7 +226,7 @@ set_locale_var (var, value) + # if defined (HANDLE_MULTIBYTE) + locale_shiftstates = mblen ((char *)NULL, 0); + # else +- local_shiftstates = 0; ++ locale_shiftstates = 0; + # endif + u32reset (); + return r; +@@ -250,7 +250,7 @@ set_locale_var (var, value) + #if defined (HANDLE_MULTIBYTE) + locale_shiftstates = mblen ((char *)NULL, 0); + #else +- local_shiftstates = 0; ++ locale_shiftstates = 0; + #endif + u32reset (); + } +@@ -391,7 +391,7 @@ reset_locale_vars () + # if defined (HANDLE_MULTIBYTE) + locale_shiftstates = mblen ((char *)NULL, 0); + # else +- local_shiftstates = 0; ++ locale_shiftstates = 0; + # endif + u32reset (); + #endif +-- +2.30.1 + diff --git a/package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch b/package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch new file mode 100644 index 0000000000..a801f68236 --- /dev/null +++ b/package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch @@ -0,0 +1,40 @@ +From a60ab1e5e88863acf9b0e9bcaa7919bbf093da05 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Thu, 11 Mar 2021 20:55:52 +0100 +Subject: [PATCH] glob: fix dequote_pathname vs. udequote_pathname +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + glob.c:123:28: error: static declaration of ‘udequote_pathname’ follows non-static declaration + 123 | # define dequote_pathname udequote_pathname + | ^~~~~~~~~~~~~~~~~ + glob.c:125:13: note: in expansion of macro ‘dequote_pathname’ + 125 | static void dequote_pathname PARAMS((char *)); + | ^~~~~~~~~~~~~~~~ + glob.c:118:6: note: previous declaration of ‘udequote_pathname’ was here + 118 | void udequote_pathname PARAMS((char *)); + | ^~~~~~~~~~~~~~~~~ + +Signed-off-by: Peter Seiderer +--- + lib/glob/glob.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/lib/glob/glob.c b/lib/glob/glob.c +index eb6277f..c903b15 100644 +--- a/lib/glob/glob.c ++++ b/lib/glob/glob.c +@@ -117,6 +117,5 @@ static int mbskipname PARAMS((char *, char *, int)); + #else + # define dequote_pathname udequote_pathname + #endif +-static void dequote_pathname PARAMS((char *)); + static int glob_testdir PARAMS((char *, int)); + static char **glob_dir_to_array PARAMS((char *, char **, int)); + +-- +2.30.1 + diff --git a/package/bash/bash.hash b/package/bash/bash.hash index e0a1ebac91..4660e9d38a 100644 --- a/package/bash/bash.hash +++ b/package/bash/bash.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature from -# https://ftp.gnu.org/gnu/bash/bash-5.2.15.tar.gz.sig -sha256 13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c bash-5.2.15.tar.gz +# https://ftp.gnu.org/gnu/bash/bash-5.1.16.tar.gz.sig +sha256 5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558 bash-5.1.16.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/bash/bash.mk b/package/bash/bash.mk index ec5e2d722f..3aca22898e 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -4,7 +4,7 @@ # ################################################################################ -BASH_VERSION = 5.2.15 +BASH_VERSION = 5.1.16 BASH_SITE = $(BR2_GNU_MIRROR)/bash BASH_DEPENDENCIES = ncurses readline host-bison BASH_LICENSE = GPL-3.0+ From 8c85ab898742150d74924eb2c1ba143af7435140 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Wed, 25 Jun 2025 18:26:56 +0300 Subject: [PATCH 033/150] Add build-docker.sh helper script --- build-docker.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 build-docker.sh diff --git a/build-docker.sh b/build-docker.sh new file mode 100755 index 0000000000..13143bf03e --- /dev/null +++ b/build-docker.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +DOCKER_BUILDER_IMAGE="ccrisan/thingos-builder" +ENV_FILE=$(mktemp) + +function cleanup() { + rm -f ${ENV_FILE} +} + +trap cleanup EXIT + +cd $(dirname "$0") +printenv | grep -E ^THINGOS > ${ENV_FILE} + +args="${@}" +docker run --privileged -it --rm -v "$(pwd)":/os -e TB_CUSTOM_CMD="./build.sh ${args}" --env-file ${ENV_FILE} "${DOCKER_BUILDER_IMAGE}" + From df6a9fd57e8c2a460a6a3693390fd2ba56177075 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Wed, 25 Jun 2025 18:28:39 +0300 Subject: [PATCH 034/150] Increase root image size --- support/scripts/mkimage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/scripts/mkimage.sh b/support/scripts/mkimage.sh index b3f9c23194..79a023bbb6 100755 --- a/support/scripts/mkimage.sh +++ b/support/scripts/mkimage.sh @@ -37,7 +37,7 @@ ROOT_START="100" # MB ROOT_SRC=${BINARIES_DIR}/rootfs.tar ROOT=${BINARIES_DIR}/.root ROOT_IMG=${BINARIES_DIR}/root.img -ROOT_SIZE="200" # MB +ROOT_SIZE="400" # MB GUARD_SIZE="10" # MB DISK_SIZE=$((ROOT_START + ROOT_SIZE + GUARD_SIZE)) From 06ade56513367a06434070053d4fa1a75d0e61c1 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Wed, 25 Jun 2025 18:52:11 +0300 Subject: [PATCH 035/150] build-docker.sh: Run with invoked UID:GID --- build-docker.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build-docker.sh b/build-docker.sh index 13143bf03e..62cf68f46a 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -13,5 +13,8 @@ cd $(dirname "$0") printenv | grep -E ^THINGOS > ${ENV_FILE} args="${@}" -docker run --privileged -it --rm -v "$(pwd)":/os -e TB_CUSTOM_CMD="./build.sh ${args}" --env-file ${ENV_FILE} "${DOCKER_BUILDER_IMAGE}" - +docker run --privileged -it --rm -u $(id -u):$(id -g) \ + -v "$(pwd)":/os \ + -e TB_CUSTOM_CMD="./build.sh ${args}" \ + --env-file ${ENV_FILE} \ + "${DOCKER_BUILDER_IMAGE}" From ba736e3e2e73ba9d696872cd170417dcab68fc04 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Wed, 25 Jun 2025 21:28:22 +0300 Subject: [PATCH 036/150] Post-merge fixes --- README.md | 35 +++---------- board/common/overlay/etc/os.conf | 6 +-- board/common/overlay/etc/version | 6 +-- board/nanopir1/overlay/etc/init.d/S41netled | 57 +++++++++++++++++++-- configs/nanopir1_defconfig | 19 ++++++- configs/raspberrypi64_defconfig | 21 +++++++- package/Config.in | 1 + support/scripts/mkimage.sh | 2 +- 8 files changed, 104 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 22f6fe2a88..aaa0288639 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,11 @@ -# What's thingOS? +[![Actions Status](https://github.com/qtoggle/qtoggleserver/workflows/Main/badge.svg)](https://github.com/qtoggle/qtoggleserver/actions) +[![Join us on Discord](https://img.shields.io/discord/742719160865521714)](https://discord.gg/wwYn3jJNPM) +[![Join us on Facebook](https://img.shields.io/badge/chat-facebook-blue)](http://facebook.com/qtoggle) -**thingOS** is a highly customized [BuildRoot](https://buildroot.uclibc.org) that serves as a base for IoT dedicated operating systems. If you want to turn your Raspberry PI board into something that controls your lights, doors, sprinklers or other devices, by designing your own "firmware", thingOS may be a good choice. +--- # Philosophy -**thingOS** aims to make the development of small dedicated Linux-based OSes an easy task. Deployment, over-the-air updates and backups shouldn't be a pain in the ass. Developers should concentrate on their main goal rather than removing unused packages and services from existing OSes to lighten them up, taking care of network connection reliability or enabling the watchdog. +**qToggleOS** is a lightweight OS that transforms a Raspberry Pi board into a [qToggle](https://github.com/qtoggle/docs) device. -**thingOS** tries to boot as fast as possible. Whenever something goes wrong, we prefer to reboot the system instead of trying to run complex recovery procedures. - -**thingOS** doesn't reinvent the wheel. It uses the amazing infrastructure provided by BuildRoot but comes with customized configurations and init scripts for the supported hardware platforms. - -# Features - - * support for popular single-board computers (see [Supported Single-board Computers](https://github.com/ccrisan/thingos/wiki/Supported-Single-board-Computers)) - * quick boots (see [Boot Process](https://github.com/ccrisan/thingos/wiki/Boot-Process)) - * read-only partitions to minimize corruption risks (see [Partitions](https://github.com/ccrisan/thingos/wiki/Partitions)) - * simple configuration via text files (see [OS Configuration](https://github.com/ccrisan/thingos/wiki/OS-Configuration)) - * over-the-air "firmware" updates (see [Firmware Updates](https://github.com/ccrisan/thingos/wiki/Firmware-Updates)) - * out-of-the box backup and restore mechanism (see [Backup/Restore](https://github.com/ccrisan/thingos/wiki/Backup-Restore)) - * high reliability (see [Reliability](https://github.com/ccrisan/thingos/wiki/Reliability)) - * everything that [BuildRoot](https://buildroot.uclibc.org) has to offer - -# Getting Started - -Just follow the [Getting Started](https://github.com/ccrisan/thingos/wiki/Getting-Started) guide. - -# Supported Boards - -Here's a list of [Supported Single-board Computers](https://github.com/ccrisan/thingos/wiki/Supported-Single-board-Computers). - -# Documentation - -Feel free to browse the [wiki articles](https://github.com/ccrisan/thingos/wiki). +Check out the [Installation](https://github.com/qtoggle/qtoggleos/wiki/Installation) instructions to get started. diff --git a/board/common/overlay/etc/os.conf b/board/common/overlay/etc/os.conf index d192c3988d..98d9801958 100644 --- a/board/common/overlay/etc/os.conf +++ b/board/common/overlay/etc/os.conf @@ -11,9 +11,9 @@ OS_FACTORY_RESET_GPIO="" OS_FACTORY_RESET_INPUT="" OS_FACTORY_RESET_LEVEL="1" OS_FACTORY_RESET_HOLD_SECONDS="10" -OS_FIRMWARE_LATEST_STABLE="" -OS_FIRMWARE_LATEST_BETA="" -OS_FIRMWARE_URL="" +OS_FIRMWARE_LATEST_STABLE=https://provisioning.qtoggle.io/firmware/\${os_short_name}/latest_\${platform}_stable.json +OS_FIRMWARE_LATEST_BETA=https://provisioning.qtoggle.io/firmware/\${os_short_name}/latest_\${platform}_beta.json +OS_FIRMWARE_URL=https://provisioning.qtoggle.io/firmware/\${os_short_name}/\${version}/\${os_short_name}-\${platform}-\${version}.img.xz OS_FIRMWARE_AUTO_UPDATE="false" OS_FIRMWARE_VERSIONS_STABLE="" OS_FIRMWARE_VERSIONS_BETA="" diff --git a/board/common/overlay/etc/version b/board/common/overlay/etc/version index 6921062dac..3b59f7af07 100644 --- a/board/common/overlay/etc/version +++ b/board/common/overlay/etc/version @@ -1,4 +1,4 @@ -OS_NAME="thingOS" -OS_SHORT_NAME="thingos" -OS_PREFIX="thing" +OS_NAME="qToggleOS" +OS_SHORT_NAME="qtoggleos" +OS_PREFIX="qtos" OS_VERSION="unknown" diff --git a/board/nanopir1/overlay/etc/init.d/S41netled b/board/nanopir1/overlay/etc/init.d/S41netled index 04548242db..da63f8d3b5 100755 --- a/board/nanopir1/overlay/etc/init.d/S41netled +++ b/board/nanopir1/overlay/etc/init.d/S41netled @@ -1,13 +1,64 @@ #!/bin/bash +NET_LED=LED2 +QS_CONF="/data/etc/qtoggleserver.conf" +PORT_RE="server[[:space:]]*=?[[:space:]]*\{[^#\}p]*port[[:space:]]*=[[:space:]]*([0-9]+)" +CERT_RE="https[[:space:]]*=?[[:space:]]*\{[^#\}c]*cert_file[[:space:]]*=[[:space:]]*([^#\} ]+)" + +QS_PORT=80 +QS_SCHEME="http" +if [[ -s ${QS_CONF} ]]; then + [[ $(<${QS_CONF}) =~ ${PORT_RE} ]] && QS_PORT=${BASH_REMATCH[1]} + [[ $(<${QS_CONF}) =~ ${CERT_RE} ]] && QS_SCHEME="https" +fi + + +function turn_on() { + echo 1 > /sys/class/leds/${NET_LED}/brightness +} + +function turn_off() { + echo 0 > /sys/class/leds/${NET_LED}/brightness +} + +function is_network_ok() { + ip route | grep -q default +} + +function is_hostapd_running() { + killall -0 hostapd &> /dev/null +} + +function is_qtoggleserver_running() { + curl -m 2 --insecure --head "${QS_SCHEME}://127.0.0.1:${QS_PORT}/frontend/static/qtoggleserver-bundle-dark.css" &>/dev/null && return 0 || return 1 +} + +function watch_captive_portal_mode() { + cp_mode=false + blink_on=0 + while true; do + if is_hostapd_running && is_qtoggleserver_running; then + cp_mode=true + test ${blink_on} == 1 && turn_off || turn_on + blink_on=$(( 1- blink_on )) + usleep 500000 + else + cp_mode=false + is_network_ok && turn_on || turn_off + sleep 1 + fi + done +} + + case "$1" in start) - echo 0 > /sys/class/leds/LED2/brightness - echo 1 > /sys/class/leds/LED2/brightness + watch_captive_portal_mode & ;; stop) - true + ps | grep netled | grep -v $$ | grep -v grep | tr -s ' ' | sed -e 's/^\s//' | cut -d ' ' -f 1 | xargs -r kill + turn_off ;; *) diff --git a/configs/nanopir1_defconfig b/configs/nanopir1_defconfig index 19740d2dc5..e68e039a5b 100644 --- a/configs/nanopir1_defconfig +++ b/configs/nanopir1_defconfig @@ -21,7 +21,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-nanopi-r1" BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT=y BR2_PACKAGE_BUSYBOX_CONFIG="board/common/busybox.config" -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_QTOGGLESERVER=y BR2_PACKAGE_ALSA_UTILS=y BR2_PACKAGE_ALSA_UTILS_APLAY=y BR2_PACKAGE_GZIP=y @@ -47,6 +47,8 @@ BR2_PACKAGE_RNG_TOOLS=y BR2_PACKAGE_USB_MODESWITCH_DATA=y BR2_PACKAGE_CA_CERTIFICATES=y BR2_PACKAGE_LIBSSH2=y +BR2_PACKAGE_POSTGRESQL=y +BR2_PACKAGE_REDIS=y BR2_PACKAGE_LIBFUSE=y BR2_PACKAGE_LIBCURL=y BR2_PACKAGE_LIBCURL_CURL=y @@ -55,10 +57,17 @@ BR2_PACKAGE_PCRE=y BR2_PACKAGE_PCRE_UCP=y BR2_PACKAGE_SEMVER_SORT=y BR2_PACKAGE_AUTOSSH=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y +BR2_PACKAGE_BLUEZ5_UTILS_TOOLS=y BR2_PACKAGE_CHRONY=y +BR2_PACKAGE_CLOUDFLARED=y BR2_PACKAGE_CRDA=y +BR2_PACKAGE_DEHYDRATED=y BR2_PACKAGE_DHCP=y BR2_PACKAGE_DHCP_CLIENT=y +BR2_PACKAGE_DNSMASQ=y +BR2_PACKAGE_HOSTAPD=y # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set BR2_PACKAGE_IPTABLES=y BR2_PACKAGE_IW=y @@ -68,7 +77,10 @@ BR2_PACKAGE_NTP=y BR2_PACKAGE_NTP_SNTP=y # BR2_PACKAGE_NTP_NTPD is not set BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_OPENVPN=y BR2_PACKAGE_PPPD=y +BR2_PACKAGE_SOCAT=y +BR2_PACKAGE_TCPDUMP=y BR2_PACKAGE_WIRELESS_TOOLS=y BR2_PACKAGE_WPA_SUPPLICANT=y BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y @@ -77,7 +89,10 @@ BR2_PACKAGE_WPA_SUPPLICANT_WPS=y BR2_PACKAGE_WPA_SUPPLICANT_CLI=y BR2_PACKAGE_BASH=y BR2_PACKAGE_LOGROTATE=y -BR2_PACKAGE_CGROUPFS_MOUNT=y +BR2_PACKAGE_DOCKER_CLI=y +BR2_PACKAGE_DOCKER_COMPOSE=y +BR2_PACKAGE_DOCKER_ENGINE=y +BR2_PACKAGE_HTOP=y BR2_PACKAGE_TAR=y BR2_PACKAGE_UTIL_LINUX_BINARIES=y BR2_PACKAGE_UTIL_LINUX_LOSETUP=y diff --git a/configs/raspberrypi64_defconfig b/configs/raspberrypi64_defconfig index 10e80538d2..615227e1e0 100644 --- a/configs/raspberrypi64_defconfig +++ b/configs/raspberrypi64_defconfig @@ -20,7 +20,9 @@ BR2_LINUX_KERNEL_IMAGEGZ=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2837-rpi-3-a-plus broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2710-rpi-cm3 broadcom/bcm2837-rpi-cm3-io3 broadcom/bcm2710-rpi-zero-2 broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-cm4" BR2_PACKAGE_BUSYBOX_CONFIG="board/common/busybox.config" -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_QTOGGLESERVER=y +BR2_PACKAGE_QTOGGLESERVER_RASPIGPIO=y +BR2_PACKAGE_QTOGGLESERVER_RPIGPIO=y BR2_PACKAGE_ALSA_UTILS=y BR2_PACKAGE_ALSA_UTILS_APLAY=y BR2_PACKAGE_GZIP=y @@ -52,6 +54,8 @@ BR2_PACKAGE_RNG_TOOLS=y BR2_PACKAGE_USB_MODESWITCH_DATA=y BR2_PACKAGE_CA_CERTIFICATES=y BR2_PACKAGE_LIBSSH2=y +BR2_PACKAGE_POSTGRESQL=y +BR2_PACKAGE_REDIS=y BR2_PACKAGE_LIBFUSE=y BR2_PACKAGE_LIBCURL=y BR2_PACKAGE_LIBCURL_CURL=y @@ -60,10 +64,17 @@ BR2_PACKAGE_PCRE=y BR2_PACKAGE_PCRE_UCP=y BR2_PACKAGE_SEMVER_SORT=y BR2_PACKAGE_AUTOSSH=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y +BR2_PACKAGE_BLUEZ5_UTILS_TOOLS=y BR2_PACKAGE_CHRONY=y +BR2_PACKAGE_CLOUDFLARED=y BR2_PACKAGE_CRDA=y +BR2_PACKAGE_DEHYDRATED=y BR2_PACKAGE_DHCP=y BR2_PACKAGE_DHCP_CLIENT=y +BR2_PACKAGE_DNSMASQ=y +BR2_PACKAGE_HOSTAPD=y # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set BR2_PACKAGE_IPTABLES=y BR2_PACKAGE_IW=y @@ -73,7 +84,10 @@ BR2_PACKAGE_NTP=y BR2_PACKAGE_NTP_SNTP=y # BR2_PACKAGE_NTP_NTPD is not set BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_OPENVPN=y BR2_PACKAGE_PPPD=y +BR2_PACKAGE_SOCAT=y +BR2_PACKAGE_TCPDUMP=y BR2_PACKAGE_WIRELESS_TOOLS=y BR2_PACKAGE_WPA_SUPPLICANT=y BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y @@ -82,7 +96,10 @@ BR2_PACKAGE_WPA_SUPPLICANT_WPS=y BR2_PACKAGE_WPA_SUPPLICANT_CLI=y BR2_PACKAGE_BASH=y BR2_PACKAGE_LOGROTATE=y -BR2_PACKAGE_CGROUPFS_MOUNT=y +BR2_PACKAGE_DOCKER_CLI=y +BR2_PACKAGE_DOCKER_COMPOSE=y +BR2_PACKAGE_DOCKER_ENGINE=y +BR2_PACKAGE_HTOP=y BR2_PACKAGE_TAR=y BR2_PACKAGE_UTIL_LINUX_BINARIES=y BR2_PACKAGE_UTIL_LINUX_LOSETUP=y diff --git a/package/Config.in b/package/Config.in index e03165022b..6d98f02de2 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2165,6 +2165,7 @@ menu "Networking applications" source "package/casync/Config.in" source "package/chrony/Config.in" source "package/civetweb/Config.in" + source "package/cloudflared/Config.in" source "package/connman/Config.in" source "package/connman-gtk/Config.in" source "package/conntrack-tools/Config.in" diff --git a/support/scripts/mkimage.sh b/support/scripts/mkimage.sh index 79a023bbb6..c6bf907f9b 100755 --- a/support/scripts/mkimage.sh +++ b/support/scripts/mkimage.sh @@ -37,7 +37,7 @@ ROOT_START="100" # MB ROOT_SRC=${BINARIES_DIR}/rootfs.tar ROOT=${BINARIES_DIR}/.root ROOT_IMG=${BINARIES_DIR}/root.img -ROOT_SIZE="400" # MB +ROOT_SIZE="300" # MB GUARD_SIZE="10" # MB DISK_SIZE=$((ROOT_START + ROOT_SIZE + GUARD_SIZE)) From 78e06b86d6d3729bc22fecc908a1d834cc33a95f Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Wed, 25 Jun 2025 22:33:29 +0300 Subject: [PATCH 037/150] More post-merge fixes --- .github/ISSUE_TEMPLATE/bug_report.md | 35 +++++ .github/ISSUE_TEMPLATE/feature_request.md | 23 +++ .../ISSUE_TEMPLATE/improvement_proposal.md | 20 +++ .idea/.gitignore | 6 + .idea/inspectionProfiles/Project_Default.xml | 62 ++++++++ .../inspectionProfiles/profiles_settings.xml | 6 + .idea/misc.xml | 98 ++++++++++++ .idea/modules.xml | 8 + .idea/qtoggleos.iml | 16 ++ .idea/vcs.xml | 6 + README.md | 1 - board/common/overlay/etc/bluetooth.conf | 4 + board/common/overlay/etc/captive-portal.conf | 10 +- board/common/overlay/etc/dnsmasq.conf | 3 + board/common/overlay/etc/hostapd.conf | 10 ++ .../common/overlay/etc/init.d/S56cloudflared | 89 +++++++++++ board/common/overlay/etc/init.d/S78preparedb | 40 +++++ board/common/overlay/etc/init.d/S81socat | 67 +++++++++ board/common/overlay/etc/netwatch.conf | 2 +- board/common/overlay/etc/postgresql.conf | 1 + board/common/overlay/etc/qtoggleserver.conf | 142 ++++++++++++++++++ board/common/overlay/etc/redis.conf | 32 ++++ .../overlay/usr/libexec/qs-ap-interface | 18 +++ board/common/overlay/usr/libexec/qs-date | 5 + .../common/overlay/usr/libexec/qs-device-name | 10 ++ board/common/overlay/usr/libexec/qs-ip | 41 +++++ board/common/overlay/usr/libexec/qs-password | 6 + .../common/overlay/usr/libexec/qs-setup-mode | 3 + .../common/overlay/usr/libexec/qs-temperature | 6 + board/common/overlay/usr/libexec/qs-timezone | 19 +++ board/common/overlay/usr/libexec/qs-wifi | 62 ++++++++ .../usr/share/post-upgrade/0.15.0.0-beta.1.sh | 9 ++ .../usr/share/post-upgrade/0.15.0.0-beta.4.sh | 9 ++ .../usr/share/post-upgrade/0.17.0.0-beta.4.sh | 8 + .../usr/share/post-upgrade/0.18.0.0-beta.1.sh | 7 + .../usr/share/post-upgrade/0.21.0.0.sh | 12 ++ .../usr/share/post-upgrade/0.21.12.1.sh | 4 + .../usr/share/post-upgrade/0.25.3.0.sh | 6 + .../usr/share/post-upgrade/0.26.0.0.sh | 23 +++ .../usr/share/post-upgrade/0.26.1.0.sh | 5 + .../usr/share/post-upgrade/0.27-app.sh | 19 +++ package/cloudflared/Config.in | 3 + package/cloudflared/cloudflared.mk | 35 +++++ resources/icon.png | Bin 0 -> 19088 bytes 44 files changed, 984 insertions(+), 7 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/improvement_proposal.md create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/qtoggleos.iml create mode 100644 .idea/vcs.xml create mode 100644 board/common/overlay/etc/bluetooth.conf create mode 100644 board/common/overlay/etc/dnsmasq.conf create mode 100644 board/common/overlay/etc/hostapd.conf create mode 100644 board/common/overlay/etc/init.d/S56cloudflared create mode 100644 board/common/overlay/etc/init.d/S78preparedb create mode 100644 board/common/overlay/etc/init.d/S81socat create mode 100644 board/common/overlay/etc/postgresql.conf create mode 100644 board/common/overlay/etc/qtoggleserver.conf create mode 100644 board/common/overlay/etc/redis.conf create mode 100644 board/common/overlay/usr/libexec/qs-ap-interface create mode 100644 board/common/overlay/usr/libexec/qs-date create mode 100644 board/common/overlay/usr/libexec/qs-device-name create mode 100644 board/common/overlay/usr/libexec/qs-ip create mode 100644 board/common/overlay/usr/libexec/qs-password create mode 100644 board/common/overlay/usr/libexec/qs-setup-mode create mode 100644 board/common/overlay/usr/libexec/qs-temperature create mode 100644 board/common/overlay/usr/libexec/qs-timezone create mode 100644 board/common/overlay/usr/libexec/qs-wifi create mode 100644 board/common/overlay/usr/share/post-upgrade/0.15.0.0-beta.1.sh create mode 100644 board/common/overlay/usr/share/post-upgrade/0.15.0.0-beta.4.sh create mode 100644 board/common/overlay/usr/share/post-upgrade/0.17.0.0-beta.4.sh create mode 100644 board/common/overlay/usr/share/post-upgrade/0.18.0.0-beta.1.sh create mode 100644 board/common/overlay/usr/share/post-upgrade/0.21.0.0.sh create mode 100644 board/common/overlay/usr/share/post-upgrade/0.21.12.1.sh create mode 100644 board/common/overlay/usr/share/post-upgrade/0.25.3.0.sh create mode 100644 board/common/overlay/usr/share/post-upgrade/0.26.0.0.sh create mode 100644 board/common/overlay/usr/share/post-upgrade/0.26.1.0.sh create mode 100644 board/common/overlay/usr/share/post-upgrade/0.27-app.sh create mode 100644 package/cloudflared/Config.in create mode 100644 package/cloudflared/cloudflared.mk create mode 100644 resources/icon.png diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..f4990e5972 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,35 @@ +--- +name: Bug report +about: Report something that doesn't work well +title: '' +labels: bug +assignees: '' + +--- + +**Describe the bug:** +A clear and concise description of what the bug is. + +**Steps to reproduce:** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior:** +A clear and concise description of what you expected to happen. + +**Installation details:** + - qToggleOS version: [e.g. 0.18.1.0] + - Running on: [e.g. Raspberry Pi 3] + - Network connection: [Wi-Fi, wired] + +**Screenshots:** +If applicable, add screenshots to help explain your problem. + +**Log files:** +If applicable, provide log files. Use the [gist](https://gist.github.com/) website instead of pasting the log contents here. + +**Additional context:** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000000..9158ccc6a3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,23 @@ +--- +name: Feature request +about: Suggest a new feature for this project +title: '' +labels: feature +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe:** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like:** +A clear and concise description of what you want to happen. + +**Provide any mockups, sketches or screenshots that clarify your idea:** +Drag your image over the issue template text to attach it. + +**Describe alternatives you've considered:** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context:** +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/improvement_proposal.md b/.github/ISSUE_TEMPLATE/improvement_proposal.md new file mode 100644 index 0000000000..f9847d901f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/improvement_proposal.md @@ -0,0 +1,20 @@ +--- +name: Improvement proposal +about: Propose an improvement to an existing feature +title: '' +labels: improvement +assignees: '' + +--- + +**Is your improvement proposal related to a problem? Please describe:** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like:** +A clear and concise description of what you want to happen. + +**Provide any mockups, sketches or screenshots that clarify your idea:** +Drag your image over the issue template text to attach it. + +**Additional context:** +Add any other context or screenshots about the feature request here. diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000000..8bf4d45d6e --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,6 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000000..3d1654502c --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,62 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000000..105ce2da2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000000..b2416d3306 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AngularJS + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000000..c20a1fc459 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/qtoggleos.iml b/.idea/qtoggleos.iml new file mode 100644 index 0000000000..8a3bb2d58b --- /dev/null +++ b/.idea/qtoggleos.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000000..35eb1ddfbb --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index aaa0288639..26e62268da 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ --- -# Philosophy **qToggleOS** is a lightweight OS that transforms a Raspberry Pi board into a [qToggle](https://github.com/qtoggle/docs) device. diff --git a/board/common/overlay/etc/bluetooth.conf b/board/common/overlay/etc/bluetooth.conf new file mode 100644 index 0000000000..1cb660ff8b --- /dev/null +++ b/board/common/overlay/etc/bluetooth.conf @@ -0,0 +1,4 @@ +[General] + +[Policy] +AutoEnable = true diff --git a/board/common/overlay/etc/captive-portal.conf b/board/common/overlay/etc/captive-portal.conf index 02ecd7654c..0e50a00fd4 100644 --- a/board/common/overlay/etc/captive-portal.conf +++ b/board/common/overlay/etc/captive-portal.conf @@ -1,9 +1,9 @@ -CAPTIVE_PORTAL_ENABLED=false -CAPTIVE_PORTAL_TIMEOUT=0 -CAPTIVE_PORTAL_TIMEOUT_REBOOT=false -CAPTIVE_PORTAL_CONFIGURED_CMD= +CAPTIVE_PORTAL_ENABLED=true +CAPTIVE_PORTAL_TIMEOUT=120 +CAPTIVE_PORTAL_TIMEOUT_REBOOT=true +CAPTIVE_PORTAL_CONFIGURED_CMD="ip route | grep -q default" CAPTIVE_PORTAL_START_GPIO= -CAPTIVE_PORTAL_START_INPUT= +CAPTIVE_PORTAL_START_INPUT=${OS_FACTORY_RESET_INPUT} CAPTIVE_PORTAL_START_LEVEL=1 CAPTIVE_PORTAL_START_HOLD_SECONDS=5 diff --git a/board/common/overlay/etc/dnsmasq.conf b/board/common/overlay/etc/dnsmasq.conf new file mode 100644 index 0000000000..44b86ce9e7 --- /dev/null +++ b/board/common/overlay/etc/dnsmasq.conf @@ -0,0 +1,3 @@ +interface=${OS_AP} +dhcp-range=192.168.27.50,192.168.27.150,24h +dhcp-leasefile=/var/lib/dnsmasq.leases diff --git a/board/common/overlay/etc/hostapd.conf b/board/common/overlay/etc/hostapd.conf new file mode 100644 index 0000000000..3383f95bcb --- /dev/null +++ b/board/common/overlay/etc/hostapd.conf @@ -0,0 +1,10 @@ +ssid=${OS_PREFIX}-${BOARD_SN} +wpa_passphrase=12345678 +wpa=2 +wpa_key_mgmt=WPA-PSK +interface=${OS_AP} +channel=1 +driver=nl80211 +hw_mode=g +ieee80211n=1 +ieee80211ac=1 diff --git a/board/common/overlay/etc/init.d/S56cloudflared b/board/common/overlay/etc/init.d/S56cloudflared new file mode 100644 index 0000000000..d68536dd2a --- /dev/null +++ b/board/common/overlay/etc/init.d/S56cloudflared @@ -0,0 +1,89 @@ +#!/bin/bash + +SYS_CONF="/etc/cloudflared.conf" +BOOT_CONF="/boot/cloudflared.conf" +CONF="/data/etc/cloudflared.conf" + +LOG="/var/log/cloudflared.log" + +PROG_COMPRESSED=/usr/libexec/cloudflared.xz +PROG=/var/lib/cloudflared + +NETWATCH_CONF="/etc/netwatch.conf" + +test -s ${PROG_COMPRESSED} || exit 0 + +test -s ${SYS_CONF} || test -s ${BOOT_CONF} || test -s ${CONF} || exit 0 +test -s ${SYS_CONF} && source ${SYS_CONF} +test -s ${BOOT_CONF} && source ${BOOT_CONF} +test -s ${CONF} && source ${CONF} + +test -n "${OS_VERSION}" || source /etc/init.d/base + +source ${NETWATCH_CONF} + + +running() { + killall -0 cloudflared &> /dev/null +} + +watch() { + sleep ${NET_WATCH_DELAY} + + count=0 + NET_WATCH_RETRIES=$((${NET_WATCH_RETRIES} - 1)) + while true; do + sleep ${NET_WATCH_INTERVAL} + if running; then + count=0 + else + if [[ ${count} -lt ${NET_WATCH_RETRIES} ]]; then + logger -t cloudflared "dead" + count=$((${count} + 1)) + continue + else + panic action cloudflared "service dead" + break + fi + fi + done +} + +start() { + msg_begin "Starting cloudflared" + unxz -k -c "${PROG_COMPRESSED}" > "${PROG}" + chmod +x "${PROG}" + + ${PROG} --loglevel info tunnel run --token ${CLOUDFLARED_TOKEN} ${CLOUDFLARED_TUNNEL} &>>${LOG} & + test $? == 0 && msg_done || msg_fail + + if [[ "${LINK_WATCH}" == "true" ]]; then + watch & + fi +} + +stop() { + msg_begin "Stopping cloudflared" + killall $(basename ${PROG}) &>/dev/null + ps | grep $(basename ${PROG}) | grep -v $$ | grep -v grep | tr -s ' ' | sed -e 's/^\s//' | cut -d ' ' -f 1 | xargs -r kill + msg_done +} + +case "$1" in + start) + start + ;; + + stop) + stop + ;; + + restart) + stop + start + ;; + + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac diff --git a/board/common/overlay/etc/init.d/S78preparedb b/board/common/overlay/etc/init.d/S78preparedb new file mode 100644 index 0000000000..e7e10f5c68 --- /dev/null +++ b/board/common/overlay/etc/init.d/S78preparedb @@ -0,0 +1,40 @@ +#!/bin/bash + +SYS_CONF="/etc/qtoggleserver.conf" +BOOT_CONF="/boot/qtoggleserver.conf" +CONF="/data/etc/qtoggleserver.conf" + +test -n "${OS_VERSION}" || source /etc/init.d/base + +prepare_conf ${CONF} ${SYS_CONF} ${BOOT_CONF} +test -f ${CONF} || exit 0 + + +DB_NAME="qtoggleserver" +PERSIST_DRIVER_RE="persist[[:space:]]*=?[[:space:]]*\{[^#\}d]*driver[[:space:]]*=[[:space:]]*\"?([a-zA-Z0-9.]+)\"?" +[[ $(<${CONF}) =~ ${PERSIST_DRIVER_RE} ]] && PERSIST_DRIVER=${BASH_REMATCH[1]} + +function prepare_db() { + if [[ "${PERSIST_DRIVER}" =~ PostgreSQLDriver$ ]]; then + if ! psql -U postgres -Altw | grep -q ${DB_NAME}; then + msg_begin "Creating postgresql ${DB_NAME} db" + psql -U postgres -Atwq -c "CREATE DATABASE ${DB_NAME}" + test $? == 0 && msg_done || msg_fail + fi + fi +} + +case "$1" in + start) + prepare_db + ;; + + stop) + ;; + + *) + echo "Usage: $0 {start|stop}" + exit 1 +esac + +exit $? diff --git a/board/common/overlay/etc/init.d/S81socat b/board/common/overlay/etc/init.d/S81socat new file mode 100644 index 0000000000..bc7575d86f --- /dev/null +++ b/board/common/overlay/etc/init.d/S81socat @@ -0,0 +1,67 @@ +#!/bin/bash + +SYS_CONF="/etc/socat.conf" +BOOT_CONF="/boot/socat.conf" +USER_CONF="/data/etc/socat.conf" + +PROG="/usr/bin/socat" +LOG="/var/log/socat-%s.log" + +test -x ${PROG} || exit 0 +test -n "${OS_VERSION}" || source /etc/init.d/base +CONF=$(select_conf ${SYS_CONF} ${BOOT_CONF} ${USER_CONF}) +test -s "${CONF}" || exit 0 + + +function run_socat_daemon() { + while true; do + start_time=$(date +%s) + ${PROG} "$@" + stop_time=$(date +%s) + if (( stop_time - start_time < 2 )); then + # If `socat` exits right away, don't respawn it like crazy + sleep 10 + fi + done +} + +function start() { + source ${CONF} + + index=1 + for config in "${CONFIG[@]}"; do + msg_begin "Starting socat" + log=$(printf ${LOG} ${index}) + run_socat_daemon ${config} &> ${log} & + msg_done "config ${index}" + index=$((index + 1)) + done +} + +function stop() { + msg_begin "Stopping socat" + ps | grep socat | grep -v $$ | grep -v grep | tr -s ' ' | sed -e 's/^\s//' | cut -d ' ' -f 1 | xargs -r kill + killall -q $(basename ${PROG}) + msg_done +} + +case "$1" in + start) + start + ;; + + stop) + stop + ;; + + restart) + stop + start + ;; + + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit 0 diff --git a/board/common/overlay/etc/netwatch.conf b/board/common/overlay/etc/netwatch.conf index 7d3533cf1c..c067e0e193 100644 --- a/board/common/overlay/etc/netwatch.conf +++ b/board/common/overlay/etc/netwatch.conf @@ -4,7 +4,7 @@ LINK_WATCH_TIMEOUT=20 IP_WATCH=true IP_WATCH_TIMEOUT=40 -GW_WATCH=false +GW_WATCH=true GW_WATCH_RETRIES=3 GW_WATCH_INTERVAL=60 diff --git a/board/common/overlay/etc/postgresql.conf b/board/common/overlay/etc/postgresql.conf new file mode 100644 index 0000000000..c56ecfe063 --- /dev/null +++ b/board/common/overlay/etc/postgresql.conf @@ -0,0 +1 @@ +synchronous_commit = off diff --git a/board/common/overlay/etc/qtoggleserver.conf b/board/common/overlay/etc/qtoggleserver.conf new file mode 100644 index 0000000000..4edf4f00fd --- /dev/null +++ b/board/common/overlay/etc/qtoggleserver.conf @@ -0,0 +1,142 @@ + +debug = false + +#public_url = "https://qtoggle.example.com" + +# See https://docs.python.org/3.7/library/logging.config.html#logging-config-dictschema +logging = { + root = { + level = "INFO" + } +} + +core = { + device_name = { + get_cmd = "/usr/libexec/qs-device-name get" + set_cmd = "/usr/libexec/qs-device-name set" + } + passwords = { + set_cmd = "/usr/libexec/qs-password set" + } + + tick_interval = 100 # how often to update everything, in milliseconds + event_queue_size = 1024 # maximum number of queued events in a session + max_client_time_skew = 3600 # maximum accepted time skew when authenticating clients, in seconds + + backup_support = true + history_support = true + history_janitor_interval = 3600 + listen_support = true + sequences_support = true + tls_support = true + virtual_ports = 1024 +} + +server = { + addr = "0.0.0.0" + port = 80 # use 443 for HTTPS + compress_response = true + +# https = { +# cert_file = "/data/etc/ssl/cert.pem" +# key_file = "/data/etc/ssl/privkey.pem" +# } +} + +# JSON persistence driver +#persist = { +# driver = "qtoggleserver.drivers.persist.JSONDriver" +# file_path = "/var/lib/qtoggleserver-data.json" +#} + +# Redis persistence driver +#persist = { +# driver = "qtoggleserver.drivers.persist.RedisDriver" +# host = "127.0.0.1" +# port = 6379 +# db = 0 +#} + +# MongoDB persistence driver +#persist = { +# driver = "qtoggleserver.drivers.persist.MongoDriver" +# host = "host.example.com" +# port = 27017 +# db = "qtoggleserver" +#} + +# PostgreSQL persistence driver +persist = { + driver = "qtoggleserver.drivers.persist.PostgreSQLDriver" + host = "127.0.0.1" + port = 5432 + db = "qtoggleserver" + username = "postgres" +} + +system = { + setup_mode_cmd = "/usr/libexec/qs-setup-mode" + timezone = { + get_cmd = "/usr/libexec/qs-timezone get" + set_cmd = "/usr/libexec/qs-timezone set" + } + net = { + wifi = { + get_cmd = "/usr/libexec/qs-wifi get" + set_cmd = "/usr/libexec/qs-wifi set" + } + ip = { + get_cmd = "/usr/libexec/qs-ip get" + set_cmd = "/usr/libexec/qs-ip set" + } + } + storage = { + path = "/data" + } + temperature = { + get_cmd = "/usr/libexec/qs-temperature get" + } + fwupdate = { + driver = "thingos.ThingOSDriver" + } +} + +frontend = { + enabled = true + debug = false +} + +slaves = { + enabled = true + timeout = 10 # timeout, in seconds, when communicating with slaves + keepalive = 10 # long-polling timeout, in seconds, when waiting for slave events + retry_interval = 5 # how often to retry a failed API request, in seconds + retry_count = 3 # max number of retries upon failed API requests + + discover = { + dhcp_timeout = 10 # increase this if your DHCP server responds slowly to queries + ap = { + interface_cmd = "/usr/libexec/qs-ap-interface" + finish_timeout = 300 # for how long to keep the discovery AP up + } + } +} + +peripherals = [ +# { +# driver = "qtoggleserver.my.peripheral.Driver" +# name = "my_peripheral" +# param1 = "value1" +# } +] + +ports = [ +# { +# driver = "qtoggleserver.drivers.ports.gpio.GPIO" +# no = 10 +# } +] + +port_mappings = { +# "old_id" = "new_id" +} diff --git a/board/common/overlay/etc/redis.conf b/board/common/overlay/etc/redis.conf new file mode 100644 index 0000000000..cd0df6f90c --- /dev/null +++ b/board/common/overlay/etc/redis.conf @@ -0,0 +1,32 @@ +bind 127.0.0.1 +protected-mode yes +port 6379 +tcp-backlog 16 +timeout 0 +tcp-keepalive 300 + +maxmemory 128M +maxmemory-policy noeviction + +daemonize yes +supervised no + +pidfile /var/run/redis.pid +loglevel notice +logfile /var/log/redis.log + +databases 2 +save 10 2 +stop-writes-on-bgsave-error yes +rdbcompression yes +dir /var/lib/redis/ +dbfilename dump.rdb + +appendonly no +appendfilename appendonly.aof +appendfsync everysec +no-appendfsync-on-rewrite no +auto-aof-rewrite-percentage 100 +auto-aof-rewrite-min-size 64mb +aof-load-truncated yes + diff --git a/board/common/overlay/usr/libexec/qs-ap-interface b/board/common/overlay/usr/libexec/qs-ap-interface new file mode 100644 index 0000000000..d6a167ac2b --- /dev/null +++ b/board/common/overlay/usr/libexec/qs-ap-interface @@ -0,0 +1,18 @@ +#!/bin/bash + +# Find the first apX interface whose corresponding wlanX is not currently in use. + +ap_ifaces=$(ip link | grep -oE 'ap[[:digit:]]') + +ap_iface="" +for iface in ${ap_ifaces}; do + num=${iface: -1} + if ip route | grep -q " wlan${num} "; then + continue + fi + + ap_iface=${iface} + break +done + +echo QS_INTERFACE=${ap_iface} diff --git a/board/common/overlay/usr/libexec/qs-date b/board/common/overlay/usr/libexec/qs-date new file mode 100644 index 0000000000..0947868adc --- /dev/null +++ b/board/common/overlay/usr/libexec/qs-date @@ -0,0 +1,5 @@ +#!/bin/bash + +if [[ "$1" == "set" ]]; then + date -u -s "${QS_DATE}" >/dev/null +fi diff --git a/board/common/overlay/usr/libexec/qs-device-name b/board/common/overlay/usr/libexec/qs-device-name new file mode 100644 index 0000000000..9a4b465c43 --- /dev/null +++ b/board/common/overlay/usr/libexec/qs-device-name @@ -0,0 +1,10 @@ +#!/bin/bash + +if [[ "$1" == "get" ]]; then + echo "QS_NAME=$(/bin/hostname)" +elif [[ "$1" == "set" ]]; then + test -n "${QS_NAME}" || exit 0 + echo "${QS_NAME}" > /data/etc/hostname + /bin/hostname ${QS_NAME} + echo "127.0.0.1 localhost ${QS_NAME}" > /etc/hosts +fi diff --git a/board/common/overlay/usr/libexec/qs-ip b/board/common/overlay/usr/libexec/qs-ip new file mode 100644 index 0000000000..5cbea38b78 --- /dev/null +++ b/board/common/overlay/usr/libexec/qs-ip @@ -0,0 +1,41 @@ +#!/bin/bash + +STATIC_IP_CONF="/data/etc/static_ip.conf" + +if [[ "$1" == "set" ]]; then + echo -n > ${STATIC_IP_CONF} + + if [[ -n "${QS_ADDRESS}" ]] && [[ -n "${QS_NETMASK}" ]]; then + echo "STATIC_IP=${QS_ADDRESS}/${QS_NETMASK}" > ${STATIC_IP_CONF} + fi + if [[ -n "${QS_GATEWAY}" ]]; then + echo "STATIC_GW=${QS_GATEWAY}" >> ${STATIC_IP_CONF} + fi + if [[ -n "${QS_DNS}" ]]; then + echo "STATIC_DNS=${QS_DNS}" >> ${STATIC_IP_CONF} + fi +elif [[ "$1" == "get" ]]; then + test -f ${STATIC_IP_CONF} && source ${STATIC_IP_CONF} + _IFS=${IFS} IFS="/" STATIC_IP=(${STATIC_IP}) IFS=${_IFS} + echo "QS_ADDRESS=${STATIC_IP[0]}" + echo "QS_NETMASK=${STATIC_IP[1]}" + echo "QS_GATEWAY=${STATIC_GW}" + echo "QS_DNS=${STATIC_DNS}" + + # Obtain current IP info + gw_if=$(ip route list | grep default | cut -d ' ' -f 3,5) + if [[ -n "${gw_if}" ]]; then + gw_if=(${gw_if}) + addr_mask=$(ip addr show dev ${gw_if[1]} | grep 'inet ' | tr -s ' ' | cut -d ' ' -f 3) + _IFS=${IFS} IFS="/" addr_mask=(${addr_mask}) IFS=${_IFS} + address_current=${addr_mask[0]} + netmask_current=${addr_mask[1]} + gateway_current=${gw_if[0]} + dns_current=$(cat /etc/resolv.conf | grep nameserver | head -1 | cut -d ' ' -f 2) + fi + + echo "QS_ADDRESS_CURRENT=${address_current}" + echo "QS_NETMASK_CURRENT=${netmask_current}" + echo "QS_GATEWAY_CURRENT=${gateway_current}" + echo "QS_DNS_CURRENT=${dns_current}" +fi diff --git a/board/common/overlay/usr/libexec/qs-password b/board/common/overlay/usr/libexec/qs-password new file mode 100644 index 0000000000..b8016d2c0c --- /dev/null +++ b/board/common/overlay/usr/libexec/qs-password @@ -0,0 +1,6 @@ +#!/bin/bash + +if [[ "$1" == "set" ]]; then + test "$QS_USERNAME" == "admin" || exit 0 + PASSWORD="$QS_PASSWORD" /usr/sbin/adminpasswd +fi diff --git a/board/common/overlay/usr/libexec/qs-setup-mode b/board/common/overlay/usr/libexec/qs-setup-mode new file mode 100644 index 0000000000..8fc4d99129 --- /dev/null +++ b/board/common/overlay/usr/libexec/qs-setup-mode @@ -0,0 +1,3 @@ +#!/bin/bash + +killall -0 hostapd &> /dev/null diff --git a/board/common/overlay/usr/libexec/qs-temperature b/board/common/overlay/usr/libexec/qs-temperature new file mode 100644 index 0000000000..958ec7c778 --- /dev/null +++ b/board/common/overlay/usr/libexec/qs-temperature @@ -0,0 +1,6 @@ +#!/bin/bash + +if [[ "$1" == "get" ]]; then + temp=$( ${WPA_SUPPLICANT_CONF}.tmp + mv ${WPA_SUPPLICANT_CONF}.tmp ${WPA_SUPPLICANT_CONF} + else + if ! grep 'key_mgmt=NONE' ${WPA_SUPPLICANT_CONF} &>/dev/null; then + sed -ri "s/^( *)(ssid=.*)/\1\2\n\1key_mgmt=NONE/" ${WPA_SUPPLICANT_CONF} + fi + + cat ${WPA_SUPPLICANT_CONF} | grep -vE '^ *psk=' > ${WPA_SUPPLICANT_CONF}.tmp + mv ${WPA_SUPPLICANT_CONF}.tmp ${WPA_SUPPLICANT_CONF} + fi +elif [[ "$1" == "get" ]]; then + if [[ -f /data/etc/wpa_supplicant.conf ]]; then + ssid=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *ssid=' | cut -d '=' -f 2) + psk=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *psk=' | cut -d '=' -f 2) + bssid=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *bssid=' | cut -d '=' -f 2) + bssid_current=$(iw dev ${OS_WLAN} link | grep -oE 'Connected to [^ ]+' | cut -d ' ' -f 3) + rssi_current=$(iw dev wlan0 link | grep -E "signal: -[[:digit:]]+" | cut -d ' ' -f 2) + fi + + echo "QS_SSID=${ssid}" + echo "QS_PSK=${psk}" + echo "QS_BSSID=${bssid}" + echo "QS_BSSID_CURRENT=${bssid_current}" + echo "QS_RSSI_CURRENT=${rssi_current}" +fi diff --git a/board/common/overlay/usr/share/post-upgrade/0.15.0.0-beta.1.sh b/board/common/overlay/usr/share/post-upgrade/0.15.0.0-beta.1.sh new file mode 100644 index 0000000000..533e0d54f3 --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.15.0.0-beta.1.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# SSH config files and keys have been moved from /data/etc/ to /data/etc/ssh +mkdir -p /data/etc/ssh +test -f /data/etc/ssh_authorized_keys && mv /data/etc/ssh_authorized_keys /data/etc/ssh/authorized_keys +test -f /data/etc/sshd_config && mv /data/etc/sshd_config /data/ssh/etc +test -f /data/etc/sshd_id_rsa && mv /data/etc/ssh_id_rsa /data/ssh/etc +test -f /data/etc/sshd_id_rsa.pub && mv /data/etc/ssh_id_rsa.pub /data/ssh/etc +mv /data/etc/ssh_host* /data/etc/ssh diff --git a/board/common/overlay/usr/share/post-upgrade/0.15.0.0-beta.4.sh b/board/common/overlay/usr/share/post-upgrade/0.15.0.0-beta.4.sh new file mode 100644 index 0000000000..2dc64bbb89 --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.15.0.0-beta.4.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# qtoggleserver.conf: move device_name -> core.device_name +sed -i '/^device_name.*/,+3d' /data/etc/qtoggleserver.conf +sed -ri 's/( tick_interval)/ device_name = {\n set_cmd = "\/usr\/libexec\/qs-device-name set"\n }\n\1/' /data/etc/qtoggleserver.conf + +# qtoggleserver.conf: move password_set_cmd -> core.passwords.set_cmd +sed -i '/^password_set_cmd.*/,+1d' /data/etc/qtoggleserver.conf +sed -ri 's/( tick_interval)/ passwords = {\n set_cmd = "\/usr\/libexec\/qs-password set"\n }\n\n\1/' /data/etc/qtoggleserver.conf diff --git a/board/common/overlay/usr/share/post-upgrade/0.17.0.0-beta.4.sh b/board/common/overlay/usr/share/post-upgrade/0.17.0.0-beta.4.sh new file mode 100644 index 0000000000..03f1841c52 --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.17.0.0-beta.4.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# qtoggleserver.conf: fwupdate_driver -> fwupdate.driver +sed -i 's/fwupdate_driver = "thingos.ThingOSDriver"/fwupdate = {\n driver = "thingos.ThingOSDriver"\n }/' /data/etc/qtoggleserver.conf + +# qtoggleserver.conf: remove date updating support +cat /data/etc/qtoggleserver.conf | tr '\n' '\t' | sed -r 's/date = \{[^\}]+\}\s+//' | tr '\t' '\n' > /data/etc/qtoggleserver.conf.bak +mv /data/etc/qtoggleserver.conf.bak /data/etc/qtoggleserver.conf diff --git a/board/common/overlay/usr/share/post-upgrade/0.18.0.0-beta.1.sh b/board/common/overlay/usr/share/post-upgrade/0.18.0.0-beta.1.sh new file mode 100644 index 0000000000..058e0b4a7d --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.18.0.0-beta.1.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# qtoggleserver.conf: add system.storage +sed -ri 's/(\s+)(fwupdate)/\1storage = {\n\1\1path = "\/data"\n\1}\n\1\2/g' /data/etc/qtoggleserver.conf + +# qtoggleserver.conf: add system.temperature +sed -ri 's/(\s+)(fwupdate)/\1temperature = {\n\1\1get_cmd = "\/usr\/libexec\/qs-temperature get"\n\1}\n\1\2/g' /data/etc/qtoggleserver.conf diff --git a/board/common/overlay/usr/share/post-upgrade/0.21.0.0.sh b/board/common/overlay/usr/share/post-upgrade/0.21.0.0.sh new file mode 100644 index 0000000000..dcf3f3d1a7 --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.21.0.0.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# qtoggleserver.conf: add slaves.discover +discover_section=' discover = { \ + dhcp_timeout = 10 \ + ap = { \ + interface_cmd = "/usr/libexec/qs-ap-interface" \ + finish_timeout = 300 \ + } \ + }' + +sed -ri "s,(\s+retry_count = .*),\1\n${discover_section},g" /data/etc/qtoggleserver.conf diff --git a/board/common/overlay/usr/share/post-upgrade/0.21.12.1.sh b/board/common/overlay/usr/share/post-upgrade/0.21.12.1.sh new file mode 100644 index 0000000000..b97de945db --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.21.12.1.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# remove old ntp.conf (ntpd was replaced by chrony) +rm -f /data/etc/ntp.conf diff --git a/board/common/overlay/usr/share/post-upgrade/0.25.3.0.sh b/board/common/overlay/usr/share/post-upgrade/0.25.3.0.sh new file mode 100644 index 0000000000..5363d4ce18 --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.25.3.0.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# qtoggleserver.conf: add system.setup_mode_cmd +setup_mode_cmd=' setup_mode_cmd = "/usr/libexec/qs-setup-mode"' + +sed -ri "s,(system = \{),\1\n${setup_mode_cmd},g" /data/etc/qtoggleserver.conf diff --git a/board/common/overlay/usr/share/post-upgrade/0.26.0.0.sh b/board/common/overlay/usr/share/post-upgrade/0.26.0.0.sh new file mode 100644 index 0000000000..02891efde6 --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.26.0.0.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# Starting with version 0.26, the following Python deps are installed as built-in, +# so we have to remove any user-installed versions. + +rm -rf /data/usr/lib/python3.9/site-packages/argparse* +rm -rf /data/usr/lib/python3.9/site-packages/bleak* +rm -rf /data/usr/lib/python3.9/site-packages/charset* +rm -rf /data/usr/lib/python3.9/site-packages/construct* +rm -rf /data/usr/lib/python3.9/site-packages/dbus* +rm -rf /data/usr/lib/python3.9/site-packages/paradox* +rm -rf /data/usr/lib/python3.9/site-packages/pymodbus* +rm -rf /data/usr/lib/python3.9/site-packages/pyserial* +rm -rf /data/usr/lib/python3.9/site-packages/python_slugify* +rm -rf /data/usr/lib/python3.9/site-packages/*pylontech* +rm -rf /data/usr/lib/python3.9/site-packages/qtoggleserver* +rm -rf /data/usr/lib/python3.9/site-packages/requests* +rm -rf /data/usr/lib/python3.9/site-packages/serial* +rm -rf /data/usr/lib/python3.9/site-packages/slugify* +rm -rf /data/usr/lib/python3.9/site-packages/text_unidecode* +rm -rf /data/usr/lib/python3.9/site-packages/urllib3* + +mount -o remount /usr diff --git a/board/common/overlay/usr/share/post-upgrade/0.26.1.0.sh b/board/common/overlay/usr/share/post-upgrade/0.26.1.0.sh new file mode 100644 index 0000000000..97b950aad1 --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.26.1.0.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +# qtoggleserver.conf: add core.device_name.get_cmd +sed -ri 's,(set_cmd = "/usr/libexec/qs-device-name set"),get_cmd = "/usr/libexec/qs-device-name get"\n \1,' /data/etc/qtoggleserver.conf +sed -ri 's/history_janitor_interval = .*/history_janitor_interval = 3600/' /data/etc/qtoggleserver.conf diff --git a/board/common/overlay/usr/share/post-upgrade/0.27-app.sh b/board/common/overlay/usr/share/post-upgrade/0.27-app.sh new file mode 100644 index 0000000000..38b56f0944 --- /dev/null +++ b/board/common/overlay/usr/share/post-upgrade/0.27-app.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Transform Postgres `value_history` table from the old JSONB format to new time-series (id, oid, ts, val) format. + +function run_psql_cmd() { + psql -U postgres -d qtoggleserver -c "$1" +} + +# Don't perform migration unless: +# - postgres is running +# - our database `qtoggleserver` is present +# - it has table `value_history` +# - table `value_history` has the jsonb content field (i.e. not yet migrated) +run_psql_cmd "\d value_history" 2>/dev/null | grep -q jsonb || exit 0 + +run_psql_cmd "ALTER TABLE value_history RENAME TO value_history_old;" +run_psql_cmd "SELECT id::BIGINT, TRIM((content->'pid')::TEXT, '\"') AS oid, (content->'ts')::BIGINT AS ts, CASE WHEN content->'val' = 'false' THEN 0 WHEN content->'val' = 'true' THEN 1 WHEN content->'val' = 'null' THEN 0 ELSE (content->'val')::double precision END AS val INTO value_history FROM value_history_old;" +run_psql_cmd "ALTER TABLE value_history ALTER COLUMN id SET DEFAULT NEXTVAL('value_history_id_seq');" +run_psql_cmd "ALTER TABLE value_history ADD PRIMARY KEY (id);" diff --git a/package/cloudflared/Config.in b/package/cloudflared/Config.in new file mode 100644 index 0000000000..018937d640 --- /dev/null +++ b/package/cloudflared/Config.in @@ -0,0 +1,3 @@ +config BR2_PACKAGE_CLOUDFLARED + bool "cloudflared" + diff --git a/package/cloudflared/cloudflared.mk b/package/cloudflared/cloudflared.mk new file mode 100644 index 0000000000..c580112c7d --- /dev/null +++ b/package/cloudflared/cloudflared.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# cloudflared +# +################################################################################ + +CLOUDFLARED_VERSION = 2022.7.1 + +CLOUDFLARED_ARCH = $(call qstrip,$(BR2_ARCH)) +ifeq ($(CLOUDFLARED_ARCH), arm) + CLOUDFLARED_ARCH = armhf +else + ifeq ($(CLOUDFLARED_ARCH), aarch64) + CLOUDFLARED_ARCH = arm64 + endif +endif + +CLOUDFLARED_SITE = https://github.com/cloudflare/cloudflared/releases/download/$(CLOUDFLARED_VERSION) +CLOUDFLARED_SOURCE = cloudflared-linux-$(CLOUDFLARED_ARCH) +CLOUDFLARED_LICENSE = Apache-2.0 + +define CLOUDFLARED_EXTRACT_CMDS + cp "$(CLOUDFLARED_DL_DIR)/$(CLOUDFLARED_SOURCE)" "$(@D)" +endef + +define CLOUDFLARED_BUILD_CMDS + $(TARGET_STRIP) $(@D)/$(CLOUDFLARED_SOURCE) -o $(@D)/cloudflared + xz "$(@D)/cloudflared" -z -c > "$(@D)/cloudflared.xz" +endef + +define CLOUDFLARED_INSTALL_TARGET_CMDS + cp "$(@D)/cloudflared.xz" $(TARGET_DIR)/usr/libexec +endef + +$(eval $(generic-package)) diff --git a/resources/icon.png b/resources/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..36abebd07ee22c163914ffb4680f773647dfb131 GIT binary patch literal 19088 zcmb4Lhd0rvqd2zGDCJo_TG*p*%8S|WtAC{70w=+Um^R9%xtpV z@9p<^{QiL7_2@zFbJu-7pZELqdajpO54G=;lUyf(Ac$ODO+^oaVBlLAL_`3-n0bDF z3ce6nKe(>~;jaFCXe>+tKOuHkGx35TQktv3FeoF70sN5ATU|?)Z~;zFCQdcqFR24T zC`esJN#B2RGbF&D)?n=NOa9T8_rLh0?2^c@+Yb=5hz@hAw~Wp2hCR+g?<|VmNf7Nu z$JE9J=PpVlETTzyc-T>v8{6t(S6V!Inf_W$^%fTL{)`C&!Cn)$kfm`D=u_JmcNCdAB6sseSF z&E9S$IG%lkz>x3Au@i!y$RhrIY@%2Sh=t`)dTTEY)+r?+L{%W0(DQu7IPx8Pzix~< zHC9D&Fl?~yq#+uKgnigu4j-rcdP2X|x&10x(cNA6bw-BM-xF#&I=Zn>pV(hA@z>Mt z5C*a-CxyRuAS#>W6GB*;E!ejl_4M@Acf``aB*e#m!9*6ddp({jokKk=0u}7ee8fi7 zO4ugMO4jyEDj}$jJtWO;3Wl~e`JQSwaV^T~F+-H2mC5&sr&XiI0%=8^ot^8`)6>0i zab%>FzeHs*nWS1|B6ob9fO@2zd3PfSPoslb__$3s3Jm`Pbu*MnuQRO zm69^{nF~4Md>IurAofmkWYpw0!ui0!z~9Nq$t)Hb-z-5szDnuW zP!6pbRYZCNnv4qlmm_p=uokhJEu>sLx{#=Fd7QVq*d-*vK(_zw@un>#9G3=LkQ&g| z{WVcmRz@Q(F8)&fe5Y-Ca`JHz(+*i8(X;_!G#L`sO>yiBy8-PyD{mb0Tl+8Hv8kyk zw)(Nl^@PPs8#}CVnoHHxCSz%7=}YbRvH?5A~KF~*cZ48RGEBY{ee4BvDvZ( zzHLx!XuiF%5%k=!*c^hK#Ii7Vm=k_{|NedEe&UUbe;eh^Wouk8dv;5e1ws_nZN(@e z%in0BZwsUmp$qM=PJ^}^{ZthdG5wEAec2#~p@%WoZK@_JADf!`ZBAA{8z0WSKjm+W zA>zR^YPoA04MpJ}5Ae&k;K}a}-KFfv&&w@Bx6hdC!K0YCS%YE;TzB^BN zQe1tm`J}UmVmS!;Y^;P)A?)(}J~(;|B3U;#(6y|7Oqng?w^dy;7kU;4Q4ww4Kv63q zu++!tRc>>5mrQOyMBFDT?I<(*mvJq^WH1Z)PG29Ni=>p4{dGdt;D^&%h;K|WmVGp^ zs4a8P4sHmYC1MjbesMI1Q<2>9A#$q}pR}$Bt_wQa8gIf~o;~KK{-7k419je^vLreV z!ORgJKQ1*qY$X+%roDFUA6yCfk;o#ZVqkfBnQ}H@CA;QEviGTG7zdJb2vTyJ>M(S@|-?DxIpu z`Y%J2RbGpwnrTyT07;whJ5EkciPx%BOq;Qs5-}}8_3H}%e%m}M)XMzl7lE=yGIxHj z5HR(dZ+)TQ{QK*?unzeUDqA~_7Oi;^!iFuzYV499cE&RqadU9|NaRqcbQQNeI67)R z%y?ENl2=%m^MOahL4>hd1hRe;&Pwxm7pBO=u`pi2K@blS0&Xs}o;eUS6JmWgvU%a4}Kg{f&N&jE7RkFVN)# zP=A3|<_!{3(jf9SVf_I5i4X1QVFyjqO50a%hK6GznWcV(NlaQCiagBcaz;YOhk=dD z@shK@R~Hxeo6+kmD5g)2Vi`TL*KTPD-nu3C`}gneI0??HqeFs2-Q3(Z`OAOor42in z#TN*Q>b%p)k9jBUwfr|DBct)HkVOHFOIhXpm!ve~WXeZp65*A_L;0NGf%G_|o8%4#toJ1*xy!rm}>FL~+s%cDZB8`7S(l&ZQhGOUW- z$a5$p)9aw@9QyF2IrO3&l+jCc!41*6^sCFM5Y`m1J=@roMFjDpl_D&h{}?G8O?!>s zS5dI42%1( z$9G!f4kH$%%2aQzr-|g}=TnwjG+zcm?wHiYcG?344FM)eC2a&|Zex39%e2n(&#|dn zqmN|K!cDRR&@2B-NJ!WNwXHIiUMP*8j?N%Q+NSVXRy)ympU4RA3M4E>#|3nHn2m#0>~^u5n>Y}igf7vDwGzc^9(vMjHB;|n z;Ut#f=nx3|D)0gty|Ir1U?V29f?M$I2J(&OP2i7+hqC{=hQh93sC z$I$U}Y39gZWDE@rbvRYuaS)Ji1LajRC*FFULvdC?{YI{vR&hqpXBnrLKyP@(xjz8+^n zs^Sx{i%!Gw2)|z(FDB*>)gbd9K6^$Gc{W1|n`7A_o_{zXJY5UkF%KK`6inzTI_?*G!17aP0zpn)A;kq)uBzt-mX0Ea{c1p2(U8;@pb zSy)2om5|FKNXp+h@ZoR+>iAMw@A;eA);@DXOt_9J^T^u# zFaN<@$mPk3>0pk+9O6RezaeU@y(&f_-N1rRq=Q8qtzL^z=DpeBFXv8{Gu@7f*}oBC7^%JpjWuO7H*$ZQq_lfdTV=kQV2Uk)pPGT~oKQC( z#dJe5v;WckMdq&)&fGb{dp!-z6fep1_VMoJ!?E`-&c1D(hT*nxw@4@{akt|tHJX^a zCIG;ZHvz4*(`#kG906rwG=#n{P;xA6lPuLn#?jX+MyNz~-`5nEDu#>XW8jeKlP9zF zZgWknckkXUejX8_ci)smR6W@$gQk!)$GOkzTWKMq1TPK3?7mwRV@U!}p-%m9wiowQ?93GRYG-psA|bVIOv} zVPU~5B;R<hC3`Llwm?pwd@ z*^54KTy0Iz=*si=l)?9)^WY&;sxL#mg5Sxx5BR+6?q1U)3CHzG6Q`o+%>K%?C1qxs z4*&O`r+}cKYqCcE9uv8jO1@r4XIEFw&%QnZ)(=dD#&G1!KCa&_bU#fa|2my$d1Is8 zS!vB|;QCTeO6m-{W;ZxEbVsLTLxB5hYfR}cj%c?Ub#uPehWk48C_?2(TC)yHVaaGT z9UDFcR9jS3^sl6(y6Vk^Bn6dii?X&>gwt^WMmq|Zr>h( zw=%x8-hLrip>OjsZEIjZZ{Lu`$>4pB9&U?;kmL2PDKr zn+oe8hJ@w;NNhg<=yi)*U2m;e!RPc~Z5)8O%9q?nyu>@PoMG<5(JB5dEiFY2TlLR8 zjg5cHHa<~E;pia-J9+<&X@`f|Emd7R!(#D#0e_$1N#YRR?RH!xzyn@^*uZCaw%91OxOA~gH(_prr~G}u&ej4i4KN` zaAdVZcyxH7thk`D5|iarextIT{rv{5Qo}*KcT1X}u20X-HeIX^=jH%_(?AhfBf^N3 zFGqd1B&rVC=7gZ3z6|ka=U2=s3Q#7`P1rIf9PelI@j~oADx0f>2afDL+79raBxjP4 zWkDi$KI`Q$XpQs(Vzsm(P& z<8iY;0`_5<{ak5fe`AP_7f~8;8g6Z}(AAGGXNR1shc&WwuEpAor|8I^M5d6q$Gssz zMZJa)DWS{#ne=mhK7Ev;0*29?+WrKcGzT zD=8_3ajAS4WB#- zbzcAVrHVLWM|UAhuXvQ^An;-qG&e4!&LKfQ68+0j;m{^g?q8mEVP@{boaRj+3xw|N z%(r#y{FKPaUfCakUp677NqWrapwBsBmnVOUjmj^BEG@A#9O`_Yc5NQA7zZ)I=H-lM zhW%O6BY}WLTNjV=eKTLxo~+;?7L$;e1lw5@+~+$wAG>0AKYTzn14h4zzgwcCO0Ae< z;IcJc*W$I@7m#~qpC8`rb+k33vjtYc59s(re2#&tCy`if>dDR=0P`M{^2b<(b3mUs zh}aSL!U4f~Ci*VT!mD5W=fc8548Zm4m_{$c^VGzYM@R=4b*W-{vv>L6Ht= zBaum&1<<1vhXEv_iS0r}gsorIOe?V4bY8iJ-MiPBQ{y)Gew;j5Wak0C>v5=y4tv5K zUf!OKD}G?3tlTQYq2AfbBgWi?2SB!=ka@jWhE@7>Wu+(+(Kxev*Da)gqwnrQhjvE6 zJ~cIUnStfH@bbn+@mzBlF7f6UcvLKOitpCi+8XyW?bZ|^bWa>pYCeBnEj^kIa?3#+ z=l^qkG5vAYBVhTR{WT$rrt_*T!LHoKCpQZ8zEGzmCvRm)xIDHA3_Qh$(V<`QaQmUr zscC87-)R<*0`~ntadxKs?A^WGS3XkAb8o;CZA95L3>0wW`rq8pg;(5T>HW*88krSu z1X*Om5RHOg0h}5MbWyz4qT{KvL}h zTpe*OxlCu$W59#{PS<()czAeR3kwU&@5qP-_jMVthb|@mE|oC^`jw`CH4xsWeWzS9 zJ(!L3-;7yTWSvgUUH%hQ)ip#a3@uLYcH9y*tFTsG-3~o!NF*m{%NFikXC-S_OV-Si zaGC4{I5Z2eT`oy$I7$f~67wcY%44DR??lyIu!a$w@vjVvvmZWwTwh&LF)aA?v%4oZ zIuuI?UGdi@F&>^(BaJ{Lt?FnqxUxFGe*OA}K9+Ab4)Obla!6ci_Wk#F!c;vuj?fmp zSnKBCu*x!0s8g;0u)qndJM4yfO^QVc1%f4leL$ZSJ%JIDO{_ESz$84O=003?bRUB zN2|Z`OK8!*$8wy&s`?1HZh*Qv>>b!rI-n%Xm=F0i3}%n`-LMu+GyusYo``j-i*z7ggj%0iZ2-ScMNenNp@!Mr4#Ne}vs~M7- zdhc02S)h;4Vb~QM+Qb{53K49fgw{dT|6wcoZtHH+jrMkq=pDzA0#187yUmIT=d8^A zB-~_!Fu>4vK7IN$iHC z3l`h91mGyN z3qk^dGWUA>3TkJgR7jW#g#==Z6F4Ci-sjnG-yUfL;=_F)^oNt+^8MM?+ok;#1>6Zm zSQyTpDpHR9#rEu1tF{sC-k2pSMOL8%ddk)N@Ux@su&OgJP9(PPWPgQ_s2y(0h_||k zyDFpm9?VAut%@}@HTIXF^$wuJ>GrYo%N#Jp!*&`S0cM5Jb1p@gLgKsf@@-txPAh3~ zz%Il_jf^2YU<nC^=DfRLOoj4Sbo^biUw$Wo4^f_dE-8Jd3nkI zVSCtPq8765V4>s0WoBj`-H`SFN_%>3mv--rlP1LbPWIE$A_KQYfZnio1e8QBN=&LQ zU#F+9a$-q#)X}M)_&}`61mI1QH038B6pa3A53h_kP z!9cc*#pjX|=ST~uluP$jQm)Smgr0 z>8YHO+F20a@B=dUOZ&5v6S)M`o%5$+*WEx<9m) zpkN;d?gsmzC+mGSjF`JjmO`5Y8$;g@JLtCvI}---5&h$kee7P>bep1*KY=2=5@T8EM_~+)HQ(Mv_^6f@2TkB`qBFXnK! zet$rQTc*D;oYsg%0*=&&{Vy3K`3;u|IXy6(?G?Iqyr{@A* zW-hSLDYXgbr=ifd)@*c&cu;j1?s8B%!3KQL*RNlb;?rW1%>8wciaFRAumUyfC=1%= zd1k)5n7$|4IWZ4vC&~Vt23q5_Hes5G#ZeQ6l$4Zl@WzgcvZfS@r$3+&PzD|V#QDy% z*(9Y$>=8SK@PZ)3wG3bNuJ2*)3ePHEUtf1qs=X`J%zKlY{h|kSrJCEIsd(1SZ8$XP z^BL>`%`319&4k|9he#K`v>v=5rT6W*crxnb<7sL6;a>YF<2QbE5cN60ExX)A>}CU+ zy&hQ?pxj+NQ9i9=FAifp$w^N?W_TP~-t;0WO8(Qx+Arz~2aSI8F(DUQ2UryD(T%jDIV;T6tM3sG*z9QBuMiJ@WPKS12diK0USa*4^ z`5BOl7zHsxbw^=mn>9MZ3}oYMzk9%IeHK9FJ>#TqQLOlZe!~8{&TD0mR@LC=i9E2X zNc^SfF}bf4ovI&?ai#-3sLBZ_YvyQ+zJ4~~b=>h;Z^TaMId#k4OdMCMg{4Qz49U=6 zXJSh1o}M8FPZv=}+v8cc0kVxN@jJ8tf`$}X+m9t?_0lh2q$ye(H%^M1P{$!5A){O= zj`%T{pWFYfd6Qnd^_aH(ChXD|rNHo;Tj4`V$=}-PZ7+a+iP;4)(Od8XJas+2J`Id6N2!Ff+(W~(dxFMau>{2UP?=e{d4q4ZwTa=_mlm*iJy5yk z=-HoBQ!?5Ec=lBj8lIk>>t^U2p^LM>xI`w&t*4QYr^EcJFx#8j0gLn#f3o}M%E;y|$so|fN!e-Acxi&1Z z?K0axZd0`n4tQa$O~2OFoxJJ83$Kv%xszv$(rJf;Aq=o4{iP|*fS4hFFnCN8dw!IH z8#nhezYc6v#O(l608_2ONyxHeyWqd~_B>5!ARuC55a3gLoXe}2?y#P zLXG#c0Fr%r)4yj9pslCj8(9ImoL_-Vu+QA(({p%96tNTk>XnE_(iA!x&5YW?SGPPr z-VJ2#3Xx7o`SU@9Y{VP<`zQ8t%t8VG!^qmxpNE%8hp)RI0haL%)C!6lR69E7#6=Kb z?k1&U*4f%``No5?#2ob;93366_}~x+OC0G?`EKjM+DKP;-0ekY3Db($Q41#=tImT5 zq=53kTOLpqTq(o)$U%H)wSn`u+kK!lRp}2%GB7hU6Wq`s{MRk0ctoFE>f`I1rUvDB z&Ceo7fN>G)p3lq#8k)0vqXE|v!B+_5>+MbZ^W?JcsaHC)H6*v~kvq(@p-~I!Ag3~n zm8y<|%p1G&e^~(iMN7VjRL?%3g5i%BF1N?TR07J!DeC7Hp@LCZXn??d2Kx5>0X#zs z3yV$VOE31g7(A$K*x?hhao?# z*9-U=fa(4DQz$$r{|!E+^cVdiH3a`31|_5t5H+?`dS6UKTfe?MIs~%UpTMvg|9v&x zhlzjTNW}cjaU$t15B(=kp2!hxpLwyDOa!^naA^uJNNpwhLbP_j-|#+S*8rli;vJ@k zNeG9GWuBNKgD?7(War=z@>cVt`@irZZn*GIA1;9P)pXzJ?a_Spk`Sdgz&(z($GKtvqe zxBGrr3MUn;88XtK8OyA-Frnxc53}!^sSX*gur&!i<)yI)2yofxThs#puL;Ins0B3F zDe1m(CPu$aPI$$$Z^ezC4et<+dm{q-MhTr?Y{jF9Zbqc+#i5AsbozI5M7Tc@Nkdp> ziu;*yZaTMM=T;N=7_)P3C&mWI@RfpZDp9154u>ttZRRfWA%%xr-*pHD6##hMr*fFUU$sVFNR>A9Q<=YP@b|MWc` zD0h0kqJo-=86c@IOym(M?8J(Res z`&ji8YLZcpqCJ?$rSno>bNGlhNhY%B@6p1BM7f|ZxhdEPB)VWt8^QgDQB^lv`0Ji= z$aj)#Un(Rly8H8NqmMMVmNyMV2Azi_E7#Z8U#H4?WAEG0_)0;Ca24Jyf%nGFAFfnf#bxoRT3Z7H13FabGCItJ~{+^vTJID*Ei= z*BN=qsMD>xU-c3uoWGN}o5P>z!;Vi*dg}Wc!GX+0+X_HQjl=&|T|L?xfT?GC8*}*R zEg!N6NZ3Y3Z(myGGe2{2>BrmM8vKOWes_~AMSV;QG#b)5eC)jlD3XJK5Ssq;^X;=G zS@DQlA)@JTbG3uK?jg)I$+NL&LONAE8K+mVfVPK==HVwOtM>-;L>VPw^5# zh!8RZN;#)Ao=T~q&ciSIwP+HgC;llf8aN9zAU$G@xOKwxvyw#tBv%5EZuo>)Q05Ga zQ^jGw#>U1TK%vHdut+oL`FcK){7K@60rz1disf{w4G?z?y@D zL#ig$vzi9`!&BHj-&|iJ;_W$r1-yi(zG&Y<@?bZb^t`-0UQlOaKJkGy$&e)Ip-_TA zslg>OOCJy5t!!?};S-DrCHQ2h^#Pelr&3@l9L42EiQ?zq5Z<16br{}`_=Vb9Tuk9x zVfyyClEhxd7cI3qd{iKQ_`BLO&Q8UsQo@Y4gB9$JP)*=SkI4eL=7y6>yfVR@Db6| zy=vfxYAuHvIx8IxdF6&?P7=8mv9FgCLfi(B*xwV zT^RPquC$KJ@iy@9?nk-oR*%R6-T2jBg1w!PvU1F)jLo8IVLdJ>PSH#L!bu&&otJ+`XC! zb5J5cNWuJDaAj=RW)#q^BZH&c$$Aiq8V>_}z@^err^23-8!i%4gFsLgb8}6oB}J|C z`+0k3rS3yOcc}-GL%A2lDNz#o4atYA6xaBF|3z5CL`7pek{fNh5`wvRMzj%FLxt{q zAX5=Qsae}qxw(tqh<5IC&>54RH*N#AkR^1~L(RZYn?)GP=7%}C5yYi8xUPI<*5$Y} z-)CFxX&ZPicUG~#PvrsQ&?+41xvcdAOpFmZ=*F-cqj+K1yV#Yu;z!w(HG`f2z-3WM ziXr;dXQoa^yN_23^-F2#=6ytCv72G>;k1!ONGd7x20ET$g8@H7D^ubk7d%hOILG%k zGc)M%((FAk0@OPEO=>C->JmKP4Ki8-^k0KXg?Q!>p;;?8_x#{lMhtv6Z!Xf*rOX(A z1z?IY8>2(o9p<+zyy7nP`%1f*{_np^^Ms={cc~)q;itr)@uwFdBPpZ_aCh0X5qShEV!LkTJtv$`@vr+s1xX0{ z40wFwgAuW!>%rm&!d(+b+jF?blx%($Th1`gA151G;%XyeT5gly)<&0?pPJwYGBGiQ zQDc}$?+TDCe5ryO>&EXVF!vw=jz|y?IyyRU3hprjIh znAdx+jey%>Bo*GgGEuvEL|W@l3rRU-d~ZHoFWz9fe%-fc$#()AVXu}n72N|DH97HUh}K1hPvg#V3OgoOZ& zXXJfxKpTiEGE#5#e`ui`s`2@!sQFin4hH2lH!ILFG6ob++b2IRP1xJtm+=L<`D4jE zgXU!_xtNbY`o1Y3P{JlGEKEM{^*bNO%^GqrtPOqjv!H;{W3t&lxb}Oc*|FUQ4}f4X zfNi8k2v1B*xY5$nkKdW$=frNsNx`5U?MH_td3JVorC^QMbk{XM9y~hQ-6fU{KHhOf z&PiS?W+Bv$fej80mZyu@-1}@;9Di4s<;KR}zkOl*{gM_1j+32u%~f!QI30m877{!N zD@7p_uxI-Z_<+w311}<9|FF*}cy^^-Ht%nxE_?}BntEskRalbT9T6J=CZig0ibml` z{!AF|;x@h+EK5=((i0vy13_P}gxvC;3)x6(AB8qC;O1Vaf=F5l)TW4MqpUP5@2YrY zm+Lrrdb&~W=HTqitn2pyxR5lbTl&J-kJhNWY!GrE7u2)_xconUJ5Np!+yWopfSLp4 z-F#sU1GpgVIU!|JcV!8_(wJAL2Qz3)jX)-@dYf$+N*L{SLGDduqpF4hQHv?SEH1~u z2H8}b2~t<@kw=z!U|NxWP}Bk(ovtuVL&(F+>!|(Uf$59ITJeWsoKSWs|tGX53U?Wr=Z#O?PVTOASaF+XX`dU6;~k4Xe?IO4lH#BcCuZ<1?);c` zc>%sU$Ev&@qN9mja_>T{Z*0`q+uGXR;e8*TcZX621_>cM=g3jP!NGS@zcPXSW0fw? z$JeVMCwK87mJZ+RCBxu*Ia3xoy3wtb6-oLQe|JL=fjZo*nY%3Qu?X4CRN)hMX34IO z4t!SN-QIVf37kk}hak+}-kt{V$oQW>f4;(R$6RKJDX*;DYrInOgyQ~7RxUi`4ym~7nE||F3~*)PLx9;P@9xc zxj|KDyv*0b={iH0fg~+;_a1`y+xPEV6F_ac0g9+B`Q`jWNREE~To`y5lWlEnZhHSk zie>ii``noc2de$k*HRcX)9q{5u8jfA-q+pT&C8*Fiu!FKl2Nb$6x++`w-%uRZwP}g z*9YIWCS$|GI%1-q<$h{vhYo%aKa1P_*W`Flt$W@@0XHqMLnb0=Fz22G`ThM}Q4K1j zk8s>@m<~V0OQ#4zToSj8zgm`Q&`xzt=NMGQgu1_ssH zcYK^I%*?WS9K^U1e0EF)(sDq!mH}*!`(U&ap9frw=08^cX1_yN-2sumhQp<@N2Q0XIG0g5wpHMyoz(Lg`m~|7y?29 zO>hj2M(1l}WC4K-U}qJ(r%x|2!ej~;0m9*6b^=6hG@m|w>Z_=zXaFo-O|rJmPY*C4 z+qSFV_G7m*>h$!~@Rfmu^WkDvgx>&vGYO=>0(3tuuIj)#(qzf@lhd*+>~`33=BH2B zU@s(j0I>Rt)-Gg9qLu=g>17~Cr;#8(bR~yH$q)btj*pN3_L`uXznl{CiAF{~Un-w3 zkmoYMhR^WTw&o_k4?JOr)C^E4IW-%uz~UKzr56|zJ#LO0AhZpc9&u{ z_|c~j`aQSHFIhIbh_47?oW=j`-luKR`DJ5wK8l~$up>SO2|81Ox#wE|h6AZcmo!T_w_4bntc7{z@usC@yHPm8ADIw!D= zBtdZc(d3f&^>|Vn8=F`FD}G`w9vNqm!dG8=IfDd%fs#_odk~CE?XlH})J;NUH#-eZB4quT6 z5juKQGbit*Zo5=?9*z5;h8f)MHli2wpJq|h(mIr6AR}fk#-)L<%JQp{%NvxJqvoHw{B$usuC}iu#u_;2T{H81XcxkAq53oWhMt!1Apf>Z{5$gLNz(S9k#uDw=Eov zhW@h@R^b;2k9Ki$Q+W6OebXgKUrapK)ALlf?VwMow=NXHZ^8A0nV%<&G*xt6U)j3e z3X|RDI6f&&$1ZxUW-eIk5D>7*$jChFeZ#ACp2ZOJNf6{<8lJI$Xj;3ULR9{@hSU^x>eD}zAjn9>0Tc4a}q z)AF309IfI}0%`=?)Z!?}fsT)lZ_k2&Kqo-ZE<*hL4P+N1xh&Mh@@-6nAHBFjFt{0) z8m;Del4H3vqhTh7gDh%neJb=8+yW7RtrUQyy87+Zt+%gF7VkgP9ARb-Vdlo6?3D1p zi`&o;gr$_obzq@mTSjyAYsGvQf3Bk=iyX$`(xKP+zzTQ&iQ|9I*h; zz|7oZupCb4`i_zL92RBOwya?dMIjWL>0UK8z4RsP zXK@dm75G{C7i^pn`@VE4eG3a*04SWWb3GF$0Qg=CQ1H3e4o}re4VelIi}7A+kbu=N z>HOWPc=WM3NFobLN*)ygaL9%A`4xV7LBsfZ^!@hAer$j{yT+Hd5MS6)!^_sjA5X6H zw%SOS&2Ny>Z~d@2+KN!(gMD0yb`-l#1~D|uY?-;fzvdAu#Yqhjgd91FLmxKT!ohS< zf4ZdGtisFPpty9PMzPA{&i56vKvthb_3k4h)2tX|v_?Rnw;sedUsy3bGcq!Irlr;20h)l} z==ivwbch?lDeKu&f2a^&o+jnA1mm0J;4#DXqPc*dx5`f(s*CTRo`^CV;S6+# zH~qqJA@h*B;$LZX7Jk<6i_JGxp>w*jmnXkw5JL~(AlpAp05VX|tY{h9gzbRBMhQaq zZxx&M!uq>)k&( zqCq(|_rSJf;5<=KU&jDM0r`WDGY=@xN(#psWiE*3WF@7i``-mKR_a$mVIevdNo)yM z!EWVIJwgO4yXQlB@`Z?Q6=xY8jn){gr=et#Qo&O$#5$Vq_Og}o>z}xaumhyIy;#LQ zJU3^~2??6r^34lZNG4GfkokI)THwgswcEP7x@rLOw;9a-%w7GU|JL+p%ScYT)~oV(bn-Fy>`@+Adz_-VzuKuXdqttzxyyTcdR&o%#&sQNVO*2Z7xw02Y3|&dIS*8~N7Y zvwqTY#}Dosm$?SL$0gp+ z5!1T(!pRs`M|cuEZ2Js^(sBxQa^6c^|7i!{0O*tBAW*bD2~M!`QK9x|L{L1x+3WBm zc6YiK`)PO1_U=d@Hq#gIX1rIFhpqun*8jFQ-{P0?_X`e=NkFmNo|wVNh-YW{AHnhR z)u4NPpSkVvA$FSFw?v=|b$LwJrKhK-&QM`>?WGb3Pfkx~t1Vk1CO|I94w%c1h}~s6 zWf9s6y1RdWvGG&6ThAbBfAa~ANtuqavVdJ)eABj8WiQ~YHDLCwzbZw7$J_K z)z%}{Dg-**+d_^R`U)bp-+%u$?wy(nx)x`BQ(aURM3uI{9A=)1ipsAn`H=b>r`t>o zPHvn_f@-SS9r7#FP(ylA8~(x_sc66XmgzY1!(_#(nS_vl`PK^Y-Q8CN$;?8}II$a< zmj>$UH0PWZSsrX50*L$Ia5SvZg%%GwQh1G9<{RMq`Yepp~MeeCrxr7$()Q?&k0m)Dl zBbR^BobYYoot?3T1%hxX@)%ex6?6Ob>(`yRQoe8q2sksweWYlRO2`D0qJM$#g)^yj zpU>ibRIuv7T>ho3tUys}W}HsRk~)tqwMYZKp>O-~x!}_JXt9lJ)5&tsRhTdON%

wM2Ulq@)Qfqs24J%fCNX=r1q#Q=F@!^*k#x zGPpb{-XI8}By(g9T>W@<^X5&~=M^q*W?To?|NfQL*VXk{1v936uz4CEJz`EgN5|y^ z>(#qAnomc|xe|a*Sf^cRs-0}RO{^1TMFO%Z!5bjLx}hZXC~0mi6PZpUxBtoB)j^q@ zz~2+Qe>-Rhh0RaV6XBj3&Y@T)90LDj?$h9q+j4wLVb zPph)O84FAR!Acqo^VM5cO&HTF$r_#QTT_K#8yG}HMC!kN`v$u4oFf>vs()PiK4Q`T z!|$Vf$9gcRc(;Z{+B5GZ;<(E^=-g&niyA;7iFQlj<>}C~J9V!WV`rKq4{{Sj-5T_8 zLv^);?9eMrvR4bC{r7Qv0)oIRlYJo~loPoHEm06V`0p>05Kjkg z7~F)VEi#8G_-zeyC$bLuz?=V?L(2C!BJ1=>09n2&<5!APtQFZNSsWM0<4W@JIT5!B zpYika%e;`ijvUA&gdOGkg&On3T-1MJ_ww;R82!y+*(Atsip#utKjFE*3&Laz-kraO zSiYA9=J(G|R&sp_tK@bW4)$avBmXKul8Sfq`!FY4@sPHmw8Z(hI;!F0yn>hC=Bea?OK2-$vzK|83Ut>U|1=~G zXpNE{3o1gn!|8F@NNe~f4q-BTjZjy|3GqK0D1L|DKl0vj0ZLy)56(em#N3ZKzC!dEYe9 z!;{%Bzxw?(=5|-=ZY?#nhrs98M{wJL#7PtQj~^JP9R^!|{Sn+P68@v0K!_V?!Pg9b zj8r^);AU8cHDZUUQ7dU{Ylk{J3xEuEA)6HMB+Cwh*fN3xNhi)gjinguhmqfz2dXTVh()6nhvzPD%d z?9-NB{x$&(*%AyD#iH^x{ZM!A1oC!yyq{#j0=Mx4&+>k6Z|;%Gy-vo4 zV)D1%-ocW88n&PCfsoDfOU6)T`DW{uauv9{Dm-G;%~^se1z1nAva&x$0m1Kda8i)y ze1oB;Oa}XEeBS+G10R24Swc)k(&*66MBH{W?sIIx3Ht3ix{r_UT+dRk_vjiwPpgp7 zn5l|2P`O5)4!&QXU`8PHc)(89^d7xG`e>NJ@3g@>JN3o)Q(Dr{ zd_IVGFWCtVesc#HpY;J#zVZxUI68mWp%t0enMLjXo>kdA^<;DS#rKnY_{XW*&{jJ< zk_ZMyf=f(HOkRT9^Ef0pxWJO(9=k(4BQ?^gdcZA?Z|u6cKwILYbz|yW_t4rA0#d1j zMKBg|RkTIhT3hwhk`Gje^u&nW*}WhFHMn)@e-pz5m&0XHp1$I?J&;;U0f#tazj^c3 zR+|cs;%5{!5hbNgE{~I&k59D$;+R=y`KUWk#_Y??I6jp9qnI@G%Lcdp^mC?LHd2#B z5Y6r(htSJ5rIqF7_n&z9Zi|VDJ;~R@NBQ$cAnbi5qoUYhR@(& z(>H6W4I)wxw6zDCz;KB+P`znEBE=zw=Pq#^P&wl5Cggx=n~hrBKZ=HynCLBGXd8wo zIiK}kgCKfv1|;5i;PYQAy%B?g;efvR3|K5j;G$l8h%pIPfo`(WV+mc2MZ|%bHxvN2 zJdIQW4$xoPT)i*n!``o(sfozR%}Yksnt=GV7NJX9au}^F7!8*~MQMSCih@&tWYKtD?t{ORoP6Jwe~T*s{WR3Z`` zvMzRGWyMpA{IiPPFL{gnvw=hG1`g!c^GS3?lXj?bHn1=%YCu|3Q?sxE7HQ8d_N=|3 zm${A#OEFF6r)0NZxbST`zmgt-5c>rJ)kSa79T+yIpsu6xAg1*YEH$!W3oQrwIhg?a zE&6(ni91zjQ2ii`(+jEft*eNyfZ8}(LbI9y3HA~!JesbL%n`c=8}G080lc*UD)N3K z8gyl|xS?YDOiZhzP2xIEp^Kwe#bgXsMs+ZTvau2ZPTs0#XJ>CNFE5K^kDQKdc?rpx zGzOFD8k}#`edbdCT~*yR{^Rlo#Rm{*^|8&>mW3AAzz%zLsZf#z11km0nGK^O723Y= zvdvJQ`^C!b0RaKEfk1S_p!U;Dq4LKVQfHIzrdzR-AW~Oc6M;)@9gJI~w)xO~2X}JH zxC(tWObUg9>+us;)G`v*&3W+jMc{=yi8tK0S6r)aYSIrv-;o?(Izcot+DgSlRa&v% zi&tzN8?}#TDPn1D*uME53W?F_yCBURTmW>53y|o1(67E%3GCSpXAl-Ao;?$3fn6@n z^i|NHqMU{56R`SEbch!!=H1$#pOxrpGxST(+~4Y4+cjQ%;J8? z^zJc*?(O@WtjndG4x5>_^;sw-3wi#wY})NC}ZK!`*q$;Lr?GGU|Nm sw8ff}0}J`qvQUo={!bUCri}L=zV Date: Wed, 25 Jun 2025 23:44:53 +0300 Subject: [PATCH 038/150] Enclose test -s in double quotes --- board/common/overlay/etc/init.d/S01toemmc | 2 +- board/common/overlay/etc/init.d/S05cpufreq | 6 +++--- board/common/overlay/etc/init.d/S10sysctl | 12 ++++++------ board/common/overlay/etc/init.d/S12udev | 2 +- board/common/overlay/etc/init.d/S13btuart | 6 +++--- board/common/overlay/etc/init.d/S13watchdog | 6 +++--- board/common/overlay/etc/init.d/S30dbus | 2 +- board/common/overlay/etc/init.d/S31ifalias | 6 +++--- board/common/overlay/etc/init.d/S35wifi | 4 ++-- board/common/overlay/etc/init.d/S36ppp | 2 +- board/common/overlay/etc/init.d/S37bluetooth | 2 +- board/common/overlay/etc/init.d/S40network | 2 +- board/common/overlay/etc/init.d/S41netwatch | 6 +++--- board/common/overlay/etc/init.d/S42connman | 2 +- board/common/overlay/etc/init.d/S43firewall | 2 +- board/common/overlay/etc/init.d/S44hostapd | 2 +- board/common/overlay/etc/init.d/S50date | 4 ++-- board/common/overlay/etc/init.d/S60sshd | 2 +- board/common/overlay/etc/init.d/S61proftpd | 2 +- board/common/overlay/etc/init.d/S62smb | 2 +- board/common/overlay/etc/init.d/S70mongod | 2 +- board/common/overlay/etc/init.d/S71redis | 2 +- board/common/overlay/etc/init.d/S80dockercompose | 2 +- board/common/overlay/etc/init.d/S97dyndns | 2 +- board/common/overlay/etc/init.d/S98userinit | 2 +- 25 files changed, 42 insertions(+), 42 deletions(-) diff --git a/board/common/overlay/etc/init.d/S01toemmc b/board/common/overlay/etc/init.d/S01toemmc index 670bc044d6..5c4f129cbc 100755 --- a/board/common/overlay/etc/init.d/S01toemmc +++ b/board/common/overlay/etc/init.d/S01toemmc @@ -3,7 +3,7 @@ TOEMMC_PROG="/sbin/toemmc" TOEMMC_CONF="/boot/toemmc.conf" -test -s ${TOEMMC_CONF} || exit 0 +test -s "${TOEMMC_CONF}" || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base diff --git a/board/common/overlay/etc/init.d/S05cpufreq b/board/common/overlay/etc/init.d/S05cpufreq index 84e31fa53c..679ba74e22 100755 --- a/board/common/overlay/etc/init.d/S05cpufreq +++ b/board/common/overlay/etc/init.d/S05cpufreq @@ -18,9 +18,9 @@ test -d "${CPU_FREQ_DIR}" && test -d "${GOVERNOR_DIR}" || exit 0 # no CPU freq test -n "${OS_VERSION}" || source /etc/init.d/base configure() { - test -s ${SYS_CONF} && source ${SYS_CONF} - test -s ${BOOT_CONF} && source ${BOOT_CONF} - test -s ${CONF} && source ${CONF} + test -s "${SYS_CONF}" && source "${SYS_CONF}" + test -s "${BOOT_CONF}" && source "${BOOT_CONF}" + test -s "${CONF}" && source "${CONF}" echo ${CPU_FREQ_GOVERNOR} > ${CPU_FREQ_DIR}/scaling_governor if [[ ${CPU_FREQ_GOVERNOR} == "ondemand" ]]; then diff --git a/board/common/overlay/etc/init.d/S10sysctl b/board/common/overlay/etc/init.d/S10sysctl index 09e845f7a9..222413b639 100755 --- a/board/common/overlay/etc/init.d/S10sysctl +++ b/board/common/overlay/etc/init.d/S10sysctl @@ -19,14 +19,14 @@ case "$1" in start) if [[ -f ${FIRST_RUN_FILE} ]]; then msg_begin "Applying sysctl parameters (final)" - test -s ${SYS_CONF} && sysctl -q -p ${SYS_CONF} - test -s ${CONF} && sysctl -q -p ${CONF} - test -s ${BOOT_CONF} && sysctl -q -p ${BOOT_CONF} + test -s "${SYS_CONF}" && sysctl -q -p ${SYS_CONF} + test -s "${CONF}" && sysctl -q -p ${CONF} + test -s "${BOOT_CONF}" && sysctl -q -p ${BOOT_CONF} else msg_begin "Applying sysctl parameters" - test -s ${SYS_CONF} && sysctl -e -q -p ${SYS_CONF} - test -s ${CONF} && sysctl -e -q -p ${CONF} - test -s ${BOOT_CONF} && sysctl -e -q -p ${BOOT_CONF} + test -s "${SYS_CONF}" && sysctl -e -q -p ${SYS_CONF} + test -s "${CONF}" && sysctl -e -q -p ${CONF} + test -s "${BOOT_CONF}" && sysctl -e -q -p ${BOOT_CONF} touch ${FIRST_RUN_FILE} fi msg_done diff --git a/board/common/overlay/etc/init.d/S12udev b/board/common/overlay/etc/init.d/S12udev index cfd16b2745..9ea9d77860 100755 --- a/board/common/overlay/etc/init.d/S12udev +++ b/board/common/overlay/etc/init.d/S12udev @@ -10,7 +10,7 @@ test -s ${CONF} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base -source ${CONF} +source "${CONF}" start() { diff --git a/board/common/overlay/etc/init.d/S13btuart b/board/common/overlay/etc/init.d/S13btuart index 1f803bd28d..381832bac5 100755 --- a/board/common/overlay/etc/init.d/S13btuart +++ b/board/common/overlay/etc/init.d/S13btuart @@ -9,13 +9,13 @@ LOG="/var/log/btuart.log" test -f ${CONF} || test -f ${BOOT_CONF} || test -f ${SYS_CONF} || exit 0 # Bluetooth explicitly disabled by empty bluetooth.conf -test -f ${CONF} && ! test -s ${CONF} && exit 0 +test -f ${CONF} && ! test -s "${CONF}" && exit 0 -test -s ${PLATFORM_BTUART} || exit 0 +test -s "${PLATFORM_BTUART}" || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base -source ${PLATFORM_BTUART} +source "${PLATFORM_BTUART}" case "$1" in start) diff --git a/board/common/overlay/etc/init.d/S13watchdog b/board/common/overlay/etc/init.d/S13watchdog index 0244c44e6e..a7abb1a7f3 100755 --- a/board/common/overlay/etc/init.d/S13watchdog +++ b/board/common/overlay/etc/init.d/S13watchdog @@ -17,9 +17,9 @@ USER_CHECK="/data/etc/watchdog-check" CHECK_LOG="/var/log/watchdog-check.log" CHECK_INTERVAL=10 -test -s ${SYS_CONF} && source ${SYS_CONF} -test -s ${USER_CONF} && source ${USER_CONF} -test -s ${BOOT_CONF} && source ${BOOT_CONF} +test -s "${SYS_CONF}" && source "${SYS_CONF}" +test -s "${USER_CONF}" && source "${USER_CONF}" +test -s "${BOOT_CONF}" && source "${BOOT_CONF}" test -n "${OS_VERSION}" || source /etc/init.d/base diff --git a/board/common/overlay/etc/init.d/S30dbus b/board/common/overlay/etc/init.d/S30dbus index 848e088891..ed41c79e76 100755 --- a/board/common/overlay/etc/init.d/S30dbus +++ b/board/common/overlay/etc/init.d/S30dbus @@ -13,7 +13,7 @@ PROG_UA="/usr/bin/udevadm" test -x ${PROG} || exit 0 # dbus is currently only used by bluez and connman -test -s ${BTCONF} || test -s ${BOOT_BTCONF} || test -s ${SYS_BTCONF} || test -s ${CMCONF} || exit 0 +test -s "${BTCONF}" || test -s "${BOOT_BTCONF}" || test -s "${SYS_BTCONF}" || test -s "${CMCONF}" || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base diff --git a/board/common/overlay/etc/init.d/S31ifalias b/board/common/overlay/etc/init.d/S31ifalias index 557e6cd5a1..5ba11f5631 100755 --- a/board/common/overlay/etc/init.d/S31ifalias +++ b/board/common/overlay/etc/init.d/S31ifalias @@ -9,9 +9,9 @@ test -n "${OS_VERSION}" || source /etc/init.d/base start() { msg_begin "Renaming network interfaces" - test -s ${SYS_CONF} && source ${SYS_CONF} - test -s ${CONF} && source ${CONF} - test -s ${BOOT_CONF} && source ${BOOT_CONF} + test -s "${SYS_CONF}" && source "${SYS_CONF}" + test -s "${CONF}" && source "${CONF}" + test -s "${BOOT_CONF}" && source "${BOOT_CONF}" ifaces=$(ls /sys/class/net 2>/dev/null) test -z "${ifaces}" && return diff --git a/board/common/overlay/etc/init.d/S35wifi b/board/common/overlay/etc/init.d/S35wifi index 493785cd00..5d97b9aed5 100755 --- a/board/common/overlay/etc/init.d/S35wifi +++ b/board/common/overlay/etc/init.d/S35wifi @@ -19,7 +19,7 @@ CONNMAN_CONF="/etc/connman/main.conf" test -x ${PROG} || exit 0 -test -s ${CONNMAN_CONF} && exit 0 +test -s "${CONNMAN_CONF}" && exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base @@ -27,7 +27,7 @@ source ${NETWATCH_CONF} prepare_conf ${CONF} ${SYS_CONF} ${BOOT_CONF} prepare_conf ${CONF1} ${SYS_CONF1} ${BOOT_CONF1} -test -s ${CONF} || test -s ${CONF1} || exit 0 +test -s "${CONF}" || test -s "${CONF1}" || exit 0 test -n "${OS_WLAN}" && ssid=$(cat ${CONF} 2>/dev/null | grep ssid | grep -v scan_ssid | cut -d '"' -f 2) test -n "${OS_WLAN1}" && ssid1=$(cat ${CONF1} 2>/dev/null | grep ssid | grep -v scan_ssid | cut -d '"' -f 2) diff --git a/board/common/overlay/etc/init.d/S36ppp b/board/common/overlay/etc/init.d/S36ppp index b7edb7b997..dee69b76f6 100755 --- a/board/common/overlay/etc/init.d/S36ppp +++ b/board/common/overlay/etc/init.d/S36ppp @@ -13,7 +13,7 @@ CONNMAN_CONF="/etc/connman/main.conf" test -x ${PROG} || exit 0 -test -s ${CONNMAN_CONF} && exit 0 +test -s "${CONNMAN_CONF}" && exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base diff --git a/board/common/overlay/etc/init.d/S37bluetooth b/board/common/overlay/etc/init.d/S37bluetooth index 4c7417ccd3..c40ae0677b 100755 --- a/board/common/overlay/etc/init.d/S37bluetooth +++ b/board/common/overlay/etc/init.d/S37bluetooth @@ -21,7 +21,7 @@ test -x ${PROG} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base prepare_conf ${CONF} ${SYS_CONF} ${BOOT_CONF} -test -s ${CONF} || exit 0 +test -s "${CONF}" || exit 0 function configure() { diff --git a/board/common/overlay/etc/init.d/S40network b/board/common/overlay/etc/init.d/S40network index 1b5991917e..4b581f3b82 100755 --- a/board/common/overlay/etc/init.d/S40network +++ b/board/common/overlay/etc/init.d/S40network @@ -17,7 +17,7 @@ CONNMAN_CONF="/etc/connman/main.conf" LINK_NEGO_TIMEOUT=10 -test -s ${CONNMAN_CONF} && exit 0 +test -s "${CONNMAN_CONF}" && exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base diff --git a/board/common/overlay/etc/init.d/S41netwatch b/board/common/overlay/etc/init.d/S41netwatch index b26a327e34..3f932fcde7 100755 --- a/board/common/overlay/etc/init.d/S41netwatch +++ b/board/common/overlay/etc/init.d/S41netwatch @@ -3,9 +3,9 @@ CONF="/etc/netwatch.conf" CP_CONF="/etc/captive-portal.conf" -test -s ${CONF} || exit 0 -source ${CONF} -source ${CP_CONF} +test -s "${CONF}" || exit 0 +source "${CONF}" +source "${CP_CONF}" test -n "${OS_VERSION}" || source /etc/init.d/base diff --git a/board/common/overlay/etc/init.d/S42connman b/board/common/overlay/etc/init.d/S42connman index ed6a94e0d3..64a483c7e7 100755 --- a/board/common/overlay/etc/init.d/S42connman +++ b/board/common/overlay/etc/init.d/S42connman @@ -13,7 +13,7 @@ ONLINE_HANDLER_SCRIPT="/usr/libexec/connman-online-handler" test -x ${PROG} || exit 0 -test -s ${CONF} || exit 0 +test -s "${CONF}" || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base diff --git a/board/common/overlay/etc/init.d/S43firewall b/board/common/overlay/etc/init.d/S43firewall index 10d657daaa..83e5f509d9 100755 --- a/board/common/overlay/etc/init.d/S43firewall +++ b/board/common/overlay/etc/init.d/S43firewall @@ -7,7 +7,7 @@ BOOT_CONF="/boot/firewall.sh" test -n "${OS_VERSION}" || source /etc/init.d/base -test -s ${SYS_CONF} || test -s ${USER_CONF} || test -s ${BOOT_CONF} || exit 0 +test -s "${SYS_CONF}" || test -s "${USER_CONF}" || test -s "${BOOT_CONF}" || exit 0 start() { diff --git a/board/common/overlay/etc/init.d/S44hostapd b/board/common/overlay/etc/init.d/S44hostapd index 9488025be4..db91a5fb6f 100755 --- a/board/common/overlay/etc/init.d/S44hostapd +++ b/board/common/overlay/etc/init.d/S44hostapd @@ -118,7 +118,7 @@ function configure_ifaces() { function assign_iface_ip() { hostapd_conf=/var/run/hostapd.conf - test -s ${DNSMASQ_CONF} || return + test -s "${DNSMASQ_CONF}" || return dnsmasq_ip=$(cat ${DNSMASQ_CONF} | grep range | cut -d '=' -f 2 | cut -d '.' -f 1,2,3).1 dnsmasq_iface=$(cat ${DNSMASQ_CONF} | grep interface | cut -d '=' -f 2) hostapd_iface=$(cat ${hostapd_conf} | grep interface | cut -d '=' -f 2) diff --git a/board/common/overlay/etc/init.d/S50date b/board/common/overlay/etc/init.d/S50date index 073b08fd00..3032228118 100755 --- a/board/common/overlay/etc/init.d/S50date +++ b/board/common/overlay/etc/init.d/S50date @@ -21,7 +21,7 @@ test -n "${OS_VERSION}" || source /etc/init.d/base prepare_conf ${CONF} ${SYS_CONF} ${BOOT_CONF} prepare_conf ${NTP_CONF} ${SYS_NTP_CONF} ${BOOT_NTP_CONF} -test -s ${CONF} || exit 0 +test -s "${CONF}" || exit 0 test "${OS_NETWORKLESS}" == "true" && exit 0 @@ -140,7 +140,7 @@ stop_ntp() { start() { # Load saved date first - test -s ${SAVED_DATE_FILE} && date -s $(cat ${SAVED_DATE_FILE}) -D%s >/dev/null + test -s "${SAVED_DATE_FILE}" && date -s $(cat "${SAVED_DATE_FILE}") -D%s >/dev/null if [[ "${DATE_METHOD}" == "http" ]]; then start_http diff --git a/board/common/overlay/etc/init.d/S60sshd b/board/common/overlay/etc/init.d/S60sshd index cfa2a36b74..a9970d17a4 100755 --- a/board/common/overlay/etc/init.d/S60sshd +++ b/board/common/overlay/etc/init.d/S60sshd @@ -16,7 +16,7 @@ test -x ${PROG} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base -test -s ${SYS_CONF} || exit 0 +test -s "${SYS_CONF}" || exit 0 start() { diff --git a/board/common/overlay/etc/init.d/S61proftpd b/board/common/overlay/etc/init.d/S61proftpd index 445a6dda05..cb87e9b149 100755 --- a/board/common/overlay/etc/init.d/S61proftpd +++ b/board/common/overlay/etc/init.d/S61proftpd @@ -9,7 +9,7 @@ test -x ${PROG} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base test -n "${OS_DEBUG}" || source /etc/init.d/conf -test -s ${CONF} || exit 0 +test -s "${CONF}" || exit 0 start() { diff --git a/board/common/overlay/etc/init.d/S62smb b/board/common/overlay/etc/init.d/S62smb index 2f87a46b7a..07c8a23788 100755 --- a/board/common/overlay/etc/init.d/S62smb +++ b/board/common/overlay/etc/init.d/S62smb @@ -11,7 +11,7 @@ test -x ${PROG} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base test -n "${OS_DEBUG}" || source /etc/init.d/conf -test -s ${CONF} || exit 0 +test -s "${CONF}" || exit 0 start() { diff --git a/board/common/overlay/etc/init.d/S70mongod b/board/common/overlay/etc/init.d/S70mongod index b4e44106ec..e6464b607d 100755 --- a/board/common/overlay/etc/init.d/S70mongod +++ b/board/common/overlay/etc/init.d/S70mongod @@ -12,7 +12,7 @@ test -x ${PROG} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base prepare_conf ${CONF} ${SYS_CONF} ${BOOT_CONF} -test -s ${CONF} || exit 0 +test -s "${CONF}" || exit 0 start() { diff --git a/board/common/overlay/etc/init.d/S71redis b/board/common/overlay/etc/init.d/S71redis index 9a80e27c0a..86abe08708 100755 --- a/board/common/overlay/etc/init.d/S71redis +++ b/board/common/overlay/etc/init.d/S71redis @@ -12,7 +12,7 @@ test -x ${PROG} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base prepare_conf ${CONF} ${SYS_CONF} ${BOOT_CONF} -test -s ${CONF} || exit 0 +test -s "${CONF}" || exit 0 start() { diff --git a/board/common/overlay/etc/init.d/S80dockercompose b/board/common/overlay/etc/init.d/S80dockercompose index 72aad7da3d..33856cfcef 100755 --- a/board/common/overlay/etc/init.d/S80dockercompose +++ b/board/common/overlay/etc/init.d/S80dockercompose @@ -13,7 +13,7 @@ RUN_DIR=/var/run/docker-compose test -x ${PROG} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base CONF=$(select_conf ${SYS_CONF} ${BOOT_CONF} ${USER_CONF}) -test -s ${CONF} || exit 0 +test -s "${CONF}" || exit 0 function start() { diff --git a/board/common/overlay/etc/init.d/S97dyndns b/board/common/overlay/etc/init.d/S97dyndns index 4b8e515315..139ea73f56 100755 --- a/board/common/overlay/etc/init.d/S97dyndns +++ b/board/common/overlay/etc/init.d/S97dyndns @@ -4,7 +4,7 @@ PROG="/usr/sbin/dyndns-update" SCRIPT="/data/etc/dyndns-update.sh" -test -s ${SCRIPT} || exit 0 +test -s "${SCRIPT}" || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base diff --git a/board/common/overlay/etc/init.d/S98userinit b/board/common/overlay/etc/init.d/S98userinit index 39f316d8c5..b7dee89406 100755 --- a/board/common/overlay/etc/init.d/S98userinit +++ b/board/common/overlay/etc/init.d/S98userinit @@ -3,7 +3,7 @@ USERINIT="/data/etc/userinit.sh" -test -s ${USERINIT} || exit 0 +test -s "${USERINIT}" || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base From 8e3b4188aefdc6beedb910b0dcbbf7563d2e2c73 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Thu, 26 Jun 2025 22:56:01 +0300 Subject: [PATCH 039/150] Move qs-* script so /usr/libexec/qtoggleserver --- .../usr/libexec/qtoggleserver/qs-ap-interface | 18 ++++++ .../overlay/usr/libexec/qtoggleserver/qs-date | 5 ++ .../usr/libexec/qtoggleserver/qs-device-name | 10 +++ .../overlay/usr/libexec/qtoggleserver/qs-ip | 41 ++++++++++++ .../usr/libexec/qtoggleserver/qs-password | 6 ++ .../usr/libexec/qtoggleserver/qs-setup-mode | 3 + .../usr/libexec/qtoggleserver/qs-temperature | 6 ++ .../usr/libexec/qtoggleserver/qs-timezone | 19 ++++++ .../overlay/usr/libexec/qtoggleserver/qs-wifi | 62 +++++++++++++++++++ support/scripts/mkimage.sh | 2 +- 10 files changed, 171 insertions(+), 1 deletion(-) create mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-ap-interface create mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-date create mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-device-name create mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-ip create mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-password create mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-setup-mode create mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-temperature create mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-timezone create mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-wifi diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-ap-interface b/board/common/overlay/usr/libexec/qtoggleserver/qs-ap-interface new file mode 100644 index 0000000000..d6a167ac2b --- /dev/null +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-ap-interface @@ -0,0 +1,18 @@ +#!/bin/bash + +# Find the first apX interface whose corresponding wlanX is not currently in use. + +ap_ifaces=$(ip link | grep -oE 'ap[[:digit:]]') + +ap_iface="" +for iface in ${ap_ifaces}; do + num=${iface: -1} + if ip route | grep -q " wlan${num} "; then + continue + fi + + ap_iface=${iface} + break +done + +echo QS_INTERFACE=${ap_iface} diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-date b/board/common/overlay/usr/libexec/qtoggleserver/qs-date new file mode 100644 index 0000000000..0947868adc --- /dev/null +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-date @@ -0,0 +1,5 @@ +#!/bin/bash + +if [[ "$1" == "set" ]]; then + date -u -s "${QS_DATE}" >/dev/null +fi diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-device-name b/board/common/overlay/usr/libexec/qtoggleserver/qs-device-name new file mode 100644 index 0000000000..9a4b465c43 --- /dev/null +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-device-name @@ -0,0 +1,10 @@ +#!/bin/bash + +if [[ "$1" == "get" ]]; then + echo "QS_NAME=$(/bin/hostname)" +elif [[ "$1" == "set" ]]; then + test -n "${QS_NAME}" || exit 0 + echo "${QS_NAME}" > /data/etc/hostname + /bin/hostname ${QS_NAME} + echo "127.0.0.1 localhost ${QS_NAME}" > /etc/hosts +fi diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-ip b/board/common/overlay/usr/libexec/qtoggleserver/qs-ip new file mode 100644 index 0000000000..5cbea38b78 --- /dev/null +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-ip @@ -0,0 +1,41 @@ +#!/bin/bash + +STATIC_IP_CONF="/data/etc/static_ip.conf" + +if [[ "$1" == "set" ]]; then + echo -n > ${STATIC_IP_CONF} + + if [[ -n "${QS_ADDRESS}" ]] && [[ -n "${QS_NETMASK}" ]]; then + echo "STATIC_IP=${QS_ADDRESS}/${QS_NETMASK}" > ${STATIC_IP_CONF} + fi + if [[ -n "${QS_GATEWAY}" ]]; then + echo "STATIC_GW=${QS_GATEWAY}" >> ${STATIC_IP_CONF} + fi + if [[ -n "${QS_DNS}" ]]; then + echo "STATIC_DNS=${QS_DNS}" >> ${STATIC_IP_CONF} + fi +elif [[ "$1" == "get" ]]; then + test -f ${STATIC_IP_CONF} && source ${STATIC_IP_CONF} + _IFS=${IFS} IFS="/" STATIC_IP=(${STATIC_IP}) IFS=${_IFS} + echo "QS_ADDRESS=${STATIC_IP[0]}" + echo "QS_NETMASK=${STATIC_IP[1]}" + echo "QS_GATEWAY=${STATIC_GW}" + echo "QS_DNS=${STATIC_DNS}" + + # Obtain current IP info + gw_if=$(ip route list | grep default | cut -d ' ' -f 3,5) + if [[ -n "${gw_if}" ]]; then + gw_if=(${gw_if}) + addr_mask=$(ip addr show dev ${gw_if[1]} | grep 'inet ' | tr -s ' ' | cut -d ' ' -f 3) + _IFS=${IFS} IFS="/" addr_mask=(${addr_mask}) IFS=${_IFS} + address_current=${addr_mask[0]} + netmask_current=${addr_mask[1]} + gateway_current=${gw_if[0]} + dns_current=$(cat /etc/resolv.conf | grep nameserver | head -1 | cut -d ' ' -f 2) + fi + + echo "QS_ADDRESS_CURRENT=${address_current}" + echo "QS_NETMASK_CURRENT=${netmask_current}" + echo "QS_GATEWAY_CURRENT=${gateway_current}" + echo "QS_DNS_CURRENT=${dns_current}" +fi diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-password b/board/common/overlay/usr/libexec/qtoggleserver/qs-password new file mode 100644 index 0000000000..b8016d2c0c --- /dev/null +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-password @@ -0,0 +1,6 @@ +#!/bin/bash + +if [[ "$1" == "set" ]]; then + test "$QS_USERNAME" == "admin" || exit 0 + PASSWORD="$QS_PASSWORD" /usr/sbin/adminpasswd +fi diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-setup-mode b/board/common/overlay/usr/libexec/qtoggleserver/qs-setup-mode new file mode 100644 index 0000000000..8fc4d99129 --- /dev/null +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-setup-mode @@ -0,0 +1,3 @@ +#!/bin/bash + +killall -0 hostapd &> /dev/null diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-temperature b/board/common/overlay/usr/libexec/qtoggleserver/qs-temperature new file mode 100644 index 0000000000..958ec7c778 --- /dev/null +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-temperature @@ -0,0 +1,6 @@ +#!/bin/bash + +if [[ "$1" == "get" ]]; then + temp=$( ${WPA_SUPPLICANT_CONF}.tmp + mv ${WPA_SUPPLICANT_CONF}.tmp ${WPA_SUPPLICANT_CONF} + else + if ! grep 'key_mgmt=NONE' ${WPA_SUPPLICANT_CONF} &>/dev/null; then + sed -ri "s/^( *)(ssid=.*)/\1\2\n\1key_mgmt=NONE/" ${WPA_SUPPLICANT_CONF} + fi + + cat ${WPA_SUPPLICANT_CONF} | grep -vE '^ *psk=' > ${WPA_SUPPLICANT_CONF}.tmp + mv ${WPA_SUPPLICANT_CONF}.tmp ${WPA_SUPPLICANT_CONF} + fi +elif [[ "$1" == "get" ]]; then + if [[ -f /data/etc/wpa_supplicant.conf ]]; then + ssid=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *ssid=' | cut -d '=' -f 2) + psk=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *psk=' | cut -d '=' -f 2) + bssid=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *bssid=' | cut -d '=' -f 2) + bssid_current=$(iw dev ${OS_WLAN} link | grep -oE 'Connected to [^ ]+' | cut -d ' ' -f 3) + rssi_current=$(iw dev wlan0 link | grep -E "signal: -[[:digit:]]+" | cut -d ' ' -f 2) + fi + + echo "QS_SSID=${ssid}" + echo "QS_PSK=${psk}" + echo "QS_BSSID=${bssid}" + echo "QS_BSSID_CURRENT=${bssid_current}" + echo "QS_RSSI_CURRENT=${rssi_current}" +fi diff --git a/support/scripts/mkimage.sh b/support/scripts/mkimage.sh index c6bf907f9b..79a023bbb6 100755 --- a/support/scripts/mkimage.sh +++ b/support/scripts/mkimage.sh @@ -37,7 +37,7 @@ ROOT_START="100" # MB ROOT_SRC=${BINARIES_DIR}/rootfs.tar ROOT=${BINARIES_DIR}/.root ROOT_IMG=${BINARIES_DIR}/root.img -ROOT_SIZE="300" # MB +ROOT_SIZE="400" # MB GUARD_SIZE="10" # MB DISK_SIZE=$((ROOT_START + ROOT_SIZE + GUARD_SIZE)) From fffc0ccbb22000ec95dfc29af6ee28c6e8c70ba6 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 26 Dec 2021 16:36:55 -0800 Subject: [PATCH 040/150] package/docker-cli: bump to version 20.10.11 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index 6eb9413a11..fbcda5753e 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d91010813824070dd2380013c8f343e61e6dda170f7853f024bda39b432b64ba docker-cli-20.10.9.tar.gz +sha256 55d55fdead906cbea8608ef39d5a62d54d1118e604a5ae7e2d58b4fb54a599a7 docker-cli-20.10.11.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index 3a344bca36..0e35a60d43 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.9 +DOCKER_CLI_VERSION = 20.10.11 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From 72ff3a9617632a895c804b92d4235caafb1147e4 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 23 Jan 2022 23:37:11 -0800 Subject: [PATCH 041/150] package/docker-cli: bump to version 20.10.12 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index fbcda5753e..f2fe316540 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 55d55fdead906cbea8608ef39d5a62d54d1118e604a5ae7e2d58b4fb54a599a7 docker-cli-20.10.11.tar.gz +sha256 d86e3e6e10669634ee02b5e071e5ee504457a9d03941bbc5b7f2bd3683ebdb19 docker-cli-20.10.12.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index 0e35a60d43..d5cca34efc 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.11 +DOCKER_CLI_VERSION = 20.10.12 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From 3b555809fa5965717229873745dc63e9385e1b9d Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Mon, 4 Apr 2022 14:47:16 -0700 Subject: [PATCH 042/150] package/docker-cli: bump to version v20.10.14 https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index f2fe316540..9a07acf89f 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 d86e3e6e10669634ee02b5e071e5ee504457a9d03941bbc5b7f2bd3683ebdb19 docker-cli-20.10.12.tar.gz +sha256 bda289b27b18675d6a6ff07568453768fe68c16c27b5e52724e46896d5464a55 docker-cli-20.10.14.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index d5cca34efc..c7458f85dd 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.12 +DOCKER_CLI_VERSION = 20.10.14 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From d5f3b42d4377cdf475ef5c4903ca7308f726c972 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 3 Aug 2022 22:43:40 -0700 Subject: [PATCH 043/150] package/docker-cli: bump to version 20.10.17 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index 9a07acf89f..87c5d949c6 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 bda289b27b18675d6a6ff07568453768fe68c16c27b5e52724e46896d5464a55 docker-cli-20.10.14.tar.gz +sha256 ab2b59c2302017fea9ad2f70827e8a6f0204b557ce28e66bcb80fea262c9fbdc docker-cli-20.10.17.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index c7458f85dd..75507ed48e 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.14 +DOCKER_CLI_VERSION = 20.10.17 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From 62ae331bc58269df6302612a58e369df0f7d41d9 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 15 Sep 2022 11:33:59 -0700 Subject: [PATCH 044/150] package/docker-cli: bump to version 20.10.18 https://github.com/moby/moby/releases/tag/v20.10.18 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index 87c5d949c6..8af47adc63 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 ab2b59c2302017fea9ad2f70827e8a6f0204b557ce28e66bcb80fea262c9fbdc docker-cli-20.10.17.tar.gz +sha256 87ba64f76d3bb98666fa44552c3eb0b1c10e5e9c43010e8dbc180ba22690413a docker-cli-20.10.18.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index 75507ed48e..707069512e 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.17 +DOCKER_CLI_VERSION = 20.10.18 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From 8a6f7c3a3233c587149a949ed98dd97bd5c92007 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 16 Oct 2022 15:42:32 -0700 Subject: [PATCH 045/150] package/docker-cli: bump to version 20.10.19 This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index 8af47adc63..153e0e5d00 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 87ba64f76d3bb98666fa44552c3eb0b1c10e5e9c43010e8dbc180ba22690413a docker-cli-20.10.18.tar.gz +sha256 f4398ad858274605f8e4e55d4618b2f5bdff6969a4afa232842bb2417d8a98db docker-cli-20.10.19.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index 707069512e..1fac21790b 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.18 +DOCKER_CLI_VERSION = 20.10.19 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From 47e2833307a94ff4ab96f48cf0383cb315abbcdd Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 8 Dec 2022 13:22:15 -0800 Subject: [PATCH 046/150] package/docker-cli: security bump to version 20.10.21 Partial mitigations for CVE-2022-39253 Git vulnerability and other fixes: https://github.com/moby/moby/releases/tag/v20.10.21 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index 153e0e5d00..d9477cf3af 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 f4398ad858274605f8e4e55d4618b2f5bdff6969a4afa232842bb2417d8a98db docker-cli-20.10.19.tar.gz +sha256 f0f62ca1c80e8fd5b9e140ca64ef3e75dc7cf7a28040b3d10b260307128946e8 docker-cli-20.10.21.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index 1fac21790b..a14edb2c31 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.19 +DOCKER_CLI_VERSION = 20.10.21 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From c04ae7c370bb32661345535b99b09bec6926ef15 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Fri, 13 Jan 2023 02:05:53 -0800 Subject: [PATCH 047/150] package/docker-cli: bump version to 20.10.22 https://github.com/moby/moby/releases/tag/v20.10.22 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index d9477cf3af..c6db95f9b3 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 f0f62ca1c80e8fd5b9e140ca64ef3e75dc7cf7a28040b3d10b260307128946e8 docker-cli-20.10.21.tar.gz +sha256 84d71ac2b508b54e8df9f3ea425aa33e254fd3645fe9bad5619b98eaffb33408 docker-cli-20.10.22.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index a14edb2c31..cb44c68c1b 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.21 +DOCKER_CLI_VERSION = 20.10.22 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 From a5a4e40cb5ce717f76ed357de847f21dbd2ff2a6 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 26 Dec 2021 16:30:34 -0800 Subject: [PATCH 048/150] package/docker-engine: bump to version 20.10.11 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 5e15842859..d1323f507d 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 359e8854d0d51bc884d434f182f64ca62f25fbbe7b9c6a336eb09f212fe8cc9a docker-engine-20.10.9.tar.gz +sha256 6fa7835bf7c17c293621967bd5096642fa1e3e1b597fbc7d7bd35f455d886495 docker-engine-20.10.11.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 84366d9334..45fa7fa53e 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.9 +DOCKER_ENGINE_VERSION = 20.10.11 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From 8d95bbf2c67eb009807ceb3f0611f5e77cc5d3b1 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 23 Jan 2022 23:37:10 -0800 Subject: [PATCH 049/150] package/docker-engine: bump to version 20.10.12 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index d1323f507d..ec3a242629 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 6fa7835bf7c17c293621967bd5096642fa1e3e1b597fbc7d7bd35f455d886495 docker-engine-20.10.11.tar.gz +sha256 a8ee80d31c7b74f687a837cd2a8570578f118179fba0844c5ee88f90fe180155 docker-engine-20.10.12.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 45fa7fa53e..2a1239b676 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.11 +DOCKER_ENGINE_VERSION = 20.10.12 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From 366f965b1ed7b93977302eb1728dc89afca329d4 Mon Sep 17 00:00:00 2001 From: TIAN Yuanhao Date: Mon, 21 Feb 2022 04:06:57 -0800 Subject: [PATCH 050/150] package/docker-engine: remove unused sqlite Dependency on sqlite has been removed since v17.04.0-ce. See: https://github.com/moby/moby/pull/30208 Signed-off-by: TIAN Yuanhao Reviewed-by: Christian Stewart Tested-by: Marcus Hoffmann Signed-off-by: Peter Korsgaard --- package/docker-engine/Config.in | 1 - 1 file changed, 1 deletion(-) diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 911cbfe428..1f0efb8fcc 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -9,7 +9,6 @@ config BR2_PACKAGE_DOCKER_ENGINE select BR2_PACKAGE_CONTAINERD # runtime dependency select BR2_PACKAGE_DOCKER_PROXY # runtime dependency select BR2_PACKAGE_IPTABLES # runtime dependency - select BR2_PACKAGE_SQLITE # runtime dependency help Docker is a platform to build, ship, and run applications as lightweight containers. From 020a0e23f9fb6d8525fbd53e3468135d6122fd2f Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Mon, 4 Apr 2022 14:47:17 -0700 Subject: [PATCH 051/150] package/docker-engine: bump to version v20.10.14 https://github.com/moby/moby/releases/tag/v20.10.14 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index ec3a242629..d4fe83a806 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a8ee80d31c7b74f687a837cd2a8570578f118179fba0844c5ee88f90fe180155 docker-engine-20.10.12.tar.gz +sha256 dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 docker-engine-20.10.14.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 2a1239b676..3aef31599f 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.12 +DOCKER_ENGINE_VERSION = 20.10.14 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From 9b36a130e2875b06f6afed0f345f04b161f76775 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 3 Aug 2022 22:43:41 -0700 Subject: [PATCH 052/150] package/docker-engine: bump to version 20.10.17 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index d4fe83a806..2cf2f4a75e 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 docker-engine-20.10.14.tar.gz +sha256 061cf8579aa3c813c353c80fa480744e2f6cca2e6392f546bd0942a6a10c7a14 docker-engine-20.10.17.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 3aef31599f..293af1858c 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.14 +DOCKER_ENGINE_VERSION = 20.10.17 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From 7484510d40d0dc75dc7e023d82ea8f876446c24c Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 18 Aug 2022 23:33:29 +0200 Subject: [PATCH 053/150] package/docker-engine: use kernel modules for extra network drivers Docker network driver "overlay", "macvlan" and "ipvlan" are not used by default. Don't force enable them in the kernel. The main aim here is to get rid of the dummy0 network interface which is generated by the dummy driver by default. Signed-off-by: Stefan Agner Signed-off-by: Yann E. MORIN --- package/docker-engine/docker-engine.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 293af1858c..fb489c0f8d 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -124,10 +124,6 @@ define DOCKER_ENGINE_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_TARGET_MASQUERADE) $(call KCONFIG_ENABLE_OPT,CONFIG_BRIDGE) $(call KCONFIG_ENABLE_OPT,CONFIG_NET_CORE) - $(call KCONFIG_ENABLE_OPT,CONFIG_DUMMY) - $(call KCONFIG_ENABLE_OPT,CONFIG_MACVLAN) - $(call KCONFIG_ENABLE_OPT,CONFIG_IPVLAN) - $(call KCONFIG_ENABLE_OPT,CONFIG_VXLAN) $(call KCONFIG_ENABLE_OPT,CONFIG_VETH) $(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS) $(call KCONFIG_ENABLE_OPT,CONFIG_KEYS) From 5a0a5b98e2320d50a89103868b15c31ba6e6857b Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 15 Sep 2022 11:33:58 -0700 Subject: [PATCH 054/150] package/docker-engine: bump to version 20.10.18 https://github.com/moby/moby/releases/tag/v20.10.18 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 2cf2f4a75e..e1c29f0926 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 061cf8579aa3c813c353c80fa480744e2f6cca2e6392f546bd0942a6a10c7a14 docker-engine-20.10.17.tar.gz +sha256 9907aaaf39fb1c2c3fd427192e4a63d7adf8ddc9fb0e29c692a6ca10de9c34f6 docker-engine-20.10.18.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index fb489c0f8d..246419ec4f 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.17 +DOCKER_ENGINE_VERSION = 20.10.18 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From 75d346eb8934ad384d70ab006d6e71eb9277d840 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 16 Oct 2022 15:42:33 -0700 Subject: [PATCH 055/150] package/docker-engine: bump to version 20.10.19 This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index e1c29f0926..dfd4f4e365 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 9907aaaf39fb1c2c3fd427192e4a63d7adf8ddc9fb0e29c692a6ca10de9c34f6 docker-engine-20.10.18.tar.gz +sha256 228caadac1b37a5ba310eb25418cf1fdd8878336f1d8faf0a2daa87fcc577577 docker-engine-20.10.19.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 246419ec4f..dc45baf055 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.18 +DOCKER_ENGINE_VERSION = 20.10.19 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From 9c645de6760345d31727d634c210fd0a32d611eb Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 8 Dec 2022 13:22:14 -0800 Subject: [PATCH 056/150] package/docker-engine: security bump to version 20.10.21 Partial mitigations for CVE-2022-39253 Git vulnerability and other fixes: https://github.com/moby/moby/releases/tag/v20.10.21 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index dfd4f4e365..10e9727a08 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 228caadac1b37a5ba310eb25418cf1fdd8878336f1d8faf0a2daa87fcc577577 docker-engine-20.10.19.tar.gz +sha256 61f4c3a2d0426e1bbbda1b0e5dd33ec203776f7d99d1a61522c77c04c4ed09fe docker-engine-20.10.21.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index dc45baf055..36c66485ba 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.19 +DOCKER_ENGINE_VERSION = 20.10.21 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From d032b10d7b84dacb3edb384dc27423b88aac5a18 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Fri, 13 Jan 2023 02:05:52 -0800 Subject: [PATCH 057/150] package/docker-engine: bump version to 20.10.22 Bug fixes and enhancements - Improve error message when attempting to pull an unsupported image format or OCI artifact (moby/moby#44413, moby/moby#44569) - Fix an issue where the host's ephemeral port-range was ignored when selecting random ports for containers (moby/moby#44476). - Fix ssh: parse error in message type 27 errors during docker build on hosts using OpenSSH 8.9 or above (moby/moby#3862). - seccomp: block socket calls to AF_VSOCK in default profile (moby/moby#44564). https://github.com/moby/moby/releases/tag/v20.10.22 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 10e9727a08..d15b1359cb 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 61f4c3a2d0426e1bbbda1b0e5dd33ec203776f7d99d1a61522c77c04c4ed09fe docker-engine-20.10.21.tar.gz +sha256 ee0e2168e27ec87f1b0650e86af5d3e167a07fd2ff8c1ce3bb588f0b4f9a4658 docker-engine-20.10.22.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 36c66485ba..2a9b72ca78 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.21 +DOCKER_ENGINE_VERSION = 20.10.22 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From b5b73cebc501f5d56fcd99e373b5db3ce2cb8c80 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Thu, 26 Jun 2025 23:44:40 +0300 Subject: [PATCH 058/150] Update defconfigs --- configs/nanopir1_defconfig | 10 +--------- configs/raspberrypi64_defconfig | 12 +----------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/configs/nanopir1_defconfig b/configs/nanopir1_defconfig index e68e039a5b..d89e66b082 100644 --- a/configs/nanopir1_defconfig +++ b/configs/nanopir1_defconfig @@ -21,7 +21,6 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-nanopi-r1" BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT=y BR2_PACKAGE_BUSYBOX_CONFIG="board/common/busybox.config" -BR2_PACKAGE_QTOGGLESERVER=y BR2_PACKAGE_ALSA_UTILS=y BR2_PACKAGE_ALSA_UTILS_APLAY=y BR2_PACKAGE_GZIP=y @@ -45,16 +44,13 @@ BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y BR2_PACKAGE_GPTFDISK=y BR2_PACKAGE_RNG_TOOLS=y BR2_PACKAGE_USB_MODESWITCH_DATA=y +BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_CA_CERTIFICATES=y BR2_PACKAGE_LIBSSH2=y BR2_PACKAGE_POSTGRESQL=y BR2_PACKAGE_REDIS=y BR2_PACKAGE_LIBFUSE=y -BR2_PACKAGE_LIBCURL=y -BR2_PACKAGE_LIBCURL_CURL=y BR2_PACKAGE_LIBCAP=y -BR2_PACKAGE_PCRE=y -BR2_PACKAGE_PCRE_UCP=y BR2_PACKAGE_SEMVER_SORT=y BR2_PACKAGE_AUTOSSH=y BR2_PACKAGE_BLUEZ5_UTILS=y @@ -69,7 +65,6 @@ BR2_PACKAGE_DHCP_CLIENT=y BR2_PACKAGE_DNSMASQ=y BR2_PACKAGE_HOSTAPD=y # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set -BR2_PACKAGE_IPTABLES=y BR2_PACKAGE_IW=y BR2_PACKAGE_NET_TOOLS=y BR2_PACKAGE_NETCAT=y @@ -87,14 +82,11 @@ BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y BR2_PACKAGE_WPA_SUPPLICANT_EAP=y BR2_PACKAGE_WPA_SUPPLICANT_WPS=y BR2_PACKAGE_WPA_SUPPLICANT_CLI=y -BR2_PACKAGE_BASH=y BR2_PACKAGE_LOGROTATE=y BR2_PACKAGE_DOCKER_CLI=y -BR2_PACKAGE_DOCKER_COMPOSE=y BR2_PACKAGE_DOCKER_ENGINE=y BR2_PACKAGE_HTOP=y BR2_PACKAGE_TAR=y -BR2_PACKAGE_UTIL_LINUX_BINARIES=y BR2_PACKAGE_UTIL_LINUX_LOSETUP=y BR2_PACKAGE_UTIL_LINUX_PARTX=y BR2_PACKAGE_NANO=y diff --git a/configs/raspberrypi64_defconfig b/configs/raspberrypi64_defconfig index 615227e1e0..f0df0c473e 100644 --- a/configs/raspberrypi64_defconfig +++ b/configs/raspberrypi64_defconfig @@ -20,9 +20,6 @@ BR2_LINUX_KERNEL_IMAGEGZ=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2837-rpi-3-a-plus broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2710-rpi-cm3 broadcom/bcm2837-rpi-cm3-io3 broadcom/bcm2710-rpi-zero-2 broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-cm4" BR2_PACKAGE_BUSYBOX_CONFIG="board/common/busybox.config" -BR2_PACKAGE_QTOGGLESERVER=y -BR2_PACKAGE_QTOGGLESERVER_RASPIGPIO=y -BR2_PACKAGE_QTOGGLESERVER_RPIGPIO=y BR2_PACKAGE_ALSA_UTILS=y BR2_PACKAGE_ALSA_UTILS_APLAY=y BR2_PACKAGE_GZIP=y @@ -52,16 +49,13 @@ BR2_PACKAGE_RPI_WIFI_FIRMWARE=y BR2_PACKAGE_GPTFDISK=y BR2_PACKAGE_RNG_TOOLS=y BR2_PACKAGE_USB_MODESWITCH_DATA=y +BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_CA_CERTIFICATES=y BR2_PACKAGE_LIBSSH2=y BR2_PACKAGE_POSTGRESQL=y BR2_PACKAGE_REDIS=y BR2_PACKAGE_LIBFUSE=y -BR2_PACKAGE_LIBCURL=y -BR2_PACKAGE_LIBCURL_CURL=y BR2_PACKAGE_LIBCAP=y -BR2_PACKAGE_PCRE=y -BR2_PACKAGE_PCRE_UCP=y BR2_PACKAGE_SEMVER_SORT=y BR2_PACKAGE_AUTOSSH=y BR2_PACKAGE_BLUEZ5_UTILS=y @@ -76,7 +70,6 @@ BR2_PACKAGE_DHCP_CLIENT=y BR2_PACKAGE_DNSMASQ=y BR2_PACKAGE_HOSTAPD=y # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set -BR2_PACKAGE_IPTABLES=y BR2_PACKAGE_IW=y BR2_PACKAGE_NET_TOOLS=y BR2_PACKAGE_NETCAT=y @@ -94,14 +87,11 @@ BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y BR2_PACKAGE_WPA_SUPPLICANT_EAP=y BR2_PACKAGE_WPA_SUPPLICANT_WPS=y BR2_PACKAGE_WPA_SUPPLICANT_CLI=y -BR2_PACKAGE_BASH=y BR2_PACKAGE_LOGROTATE=y BR2_PACKAGE_DOCKER_CLI=y -BR2_PACKAGE_DOCKER_COMPOSE=y BR2_PACKAGE_DOCKER_ENGINE=y BR2_PACKAGE_HTOP=y BR2_PACKAGE_TAR=y -BR2_PACKAGE_UTIL_LINUX_BINARIES=y BR2_PACKAGE_UTIL_LINUX_LOSETUP=y BR2_PACKAGE_UTIL_LINUX_PARTX=y BR2_PACKAGE_NANO=y From 82eef335215c942263bb7a642d741ca73aaaf31e Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Thu, 8 Jul 2021 17:03:00 -0600 Subject: [PATCH 059/150] package/python-bcrypt: bump to version 3.2.0 Python 2 is no longer supported, depend on python3 and propagate reverse dependency. Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/python-pysftp/Config.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/package/python-pysftp/Config.in b/package/python-pysftp/Config.in index 5d5b731f33..de2d2df63d 100644 --- a/package/python-pysftp/Config.in +++ b/package/python-pysftp/Config.in @@ -1,13 +1,8 @@ config BR2_PACKAGE_PYTHON_PYSFTP bool "python-pysftp" depends on BR2_PACKAGE_PYTHON3 # python-paramiko -> python-bcrypt - depends on BR2_INSTALL_LIBSTDCPP # python-paramiko select BR2_PACKAGE_PYTHON_PARAMIKO # runtime help A friendly face on SFTP. https://bitbucket.org/dundeemt/pysftp - -comment "python-pysftp needs a toolchain w/ C++" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_INSTALL_LIBSTDCPP From a7cb61cd0a1af43715e300f58eb6fa24b78ec8c6 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 6 Jan 2022 22:43:30 +0100 Subject: [PATCH 060/150] package/python-cryptography: bump version to 36.0.1 This version bump requires significant changes because python-cryptography is now partially implemented in Rust. This means that: - The C++ dependency is no longer needed. - We need to ensure we are on an architecture where Rust is available (BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS) - Almost all Python dependencies are no longer relevant, except for the python-cffi. - A number of environment variables are needed to make the Rust part build correctly. - We need to invoke the "cargo" download post-process hook to vendor the Cargo dependencies at download time. - We need to propagate to relatively significant reverse dependency tree the changes of dependencies on python-cryptography. Co-developed-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/docker-compose/Config.in | 8 +++++--- package/python-autobahn/Config.in | 6 +----- package/python-channels-redis/Config.in | 7 ++----- package/python-channels/Config.in | 7 ++----- package/python-crossbar/Config.in | 6 +----- package/python-cryptography/Config.in | 14 ++----------- .../python-cryptography.hash | 5 ++--- .../python-cryptography.mk | 20 ++++++++++--------- package/python-daphne/Config.in | 7 ++----- package/python-keyring/Config.in | 7 ++----- package/python-opcua-asyncio/Config.in | 1 + package/python-paramiko/Config.in | 8 ++------ package/python-pyopenssl/Config.in | 8 ++------ package/python-secretstorage/Config.in | 6 +----- package/python-service-identity/Config.in | 10 ++++------ package/python-treq/Config.in | 10 ++++------ package/python-twisted/Config.in | 6 ++---- package/python-txdbus/Config.in | 5 ++++- package/python-txtorcon/Config.in | 7 ++----- 19 files changed, 52 insertions(+), 96 deletions(-) diff --git a/package/docker-compose/Config.in b/package/docker-compose/Config.in index 8e16b60521..761befea4d 100644 --- a/package/docker-compose/Config.in +++ b/package/docker-compose/Config.in @@ -5,7 +5,8 @@ config BR2_PACKAGE_DOCKER_COMPOSE depends on BR2_USE_WCHAR # python depends on BR2_TOOLCHAIN_HAS_THREADS # python depends on !BR2_STATIC_LIBS # python - depends on BR2_INSTALL_LIBSTDCPP # python-paramiko -> python-cryptography + # python-paramiko -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_CACHED_PROPERTY # runtime select BR2_PACKAGE_PYTHON_DOCOPT # runtime @@ -23,7 +24,8 @@ config BR2_PACKAGE_DOCKER_COMPOSE https://www.docker.com/ -comment "docker-compose needs a toolchain w/ C++, wchar, threads, dynamic library" +comment "docker-compose needs a toolchain w/ wchar, threads, dynamic library" depends on BR2_USE_MMU + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP + BR2_STATIC_LIBS diff --git a/package/python-autobahn/Config.in b/package/python-autobahn/Config.in index f719dcc8f1..92ddad0ea4 100644 --- a/package/python-autobahn/Config.in +++ b/package/python-autobahn/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN bool "python-autobahn" - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography -> python-pyasn + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime @@ -11,7 +11,3 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN framework. https://pypi.python.org/pypi/autobahn - -comment "python-autobahn needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/package/python-channels-redis/Config.in b/package/python-channels-redis/Config.in index 8946670180..bab801d2a9 100644 --- a/package/python-channels-redis/Config.in +++ b/package/python-channels-redis/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_CHANNELS_REDIS bool "python-channels-redis" - depends on BR2_INSTALL_LIBSTDCPP # python-channels -> python-daphne + # python-channels -> python-daphne -> python-autobahn -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_PYTHON3 # python-channels select BR2_PACKAGE_PYTHON_AIOREDIS # runtime select BR2_PACKAGE_PYTHON_ASGIREF # runtime @@ -12,7 +13,3 @@ config BR2_PACKAGE_PYTHON_CHANNELS_REDIS sharded configurations, as well as group support. http://github.com/django/channels_redis/ - -comment "python-channels-redis needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/package/python-channels/Config.in b/package/python-channels/Config.in index 5c70f20d1c..6cd6e5f60d 100644 --- a/package/python-channels/Config.in +++ b/package/python-channels/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_CHANNELS bool "python-channels" - depends on BR2_INSTALL_LIBSTDCPP # python-daphne -> python-autobahn -> python-cryptography + # python-daphne -> python-autobahn -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_PYTHON3 # python-daphne select BR2_PACKAGE_PYTHON_ASGIREF # runtime select BR2_PACKAGE_PYTHON_DAPHNE # runtime @@ -14,7 +15,3 @@ config BR2_PACKAGE_PYTHON_CHANNELS own protocols and needs. http://github.com/django/channels - -comment "python-channels needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/package/python-crossbar/Config.in b/package/python-crossbar/Config.in index 50b70b8e02..b72d64c19d 100644 --- a/package/python-crossbar/Config.in +++ b/package/python-crossbar/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_PYTHON_CROSSBAR bool "python-crossbar" - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography depends on BR2_PACKAGE_PYTHON3 # All the following dependencies are runtime dependencies select BR2_PACKAGE_PYTHON_ATTRS @@ -48,7 +48,3 @@ config BR2_PACKAGE_PYTHON_CROSSBAR components that can talk in real-time with each other. https://pypi.python.org/pypi/crossbar - -comment "python-crossbar needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/package/python-cryptography/Config.in b/package/python-cryptography/Config.in index da4252d6da..07a22bf846 100644 --- a/package/python-cryptography/Config.in +++ b/package/python-cryptography/Config.in @@ -1,21 +1,11 @@ config BR2_PACKAGE_PYTHON_CRYPTOGRAPHY bool "python-cryptography" - depends on BR2_PACKAGE_PYTHON3 # python-idna - depends on BR2_INSTALL_LIBSTDCPP # python-pyasn + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_PYTHON_CFFI # runtime - select BR2_PACKAGE_PYTHON_IDNA # runtime - select BR2_PACKAGE_PYTHON_ASN1CRYPTO # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON3_SSL # runtime help cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. https://cryptography.io - -comment "python-cryptography needs a toolchain w/ C++" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/python-cryptography/python-cryptography.hash b/package/python-cryptography/python-cryptography.hash index 7cb38c8d3d..1219fa9b5f 100644 --- a/package/python-cryptography/python-cryptography.hash +++ b/package/python-cryptography/python-cryptography.hash @@ -1,6 +1,5 @@ -# md5, sha256 from https://pypi.org/pypi/cryptography/json -md5 e2ce2ec8a63965fad351f36ed70fde4b cryptography-3.3.2.tar.gz -sha256 5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed cryptography-3.3.2.tar.gz +# Locally calculated after vendoring +sha256 196bba703cebc052a19f5353614fcfa9d680471990c10305f110adcc05744eeb cryptography-36.0.1.tar.gz # Locally computed sha256 checksums sha256 43dad2cc752ab721cd9a9f36ece70fb53ab7713551f2d3d8694d8e8c5a06d6e2 LICENSE sha256 aac73b3148f6d1d7111dbca32099f68d26c644c6813ae1e4f05f6579aa2663fe LICENSE.APACHE diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk index 081dfc06a0..fc1686af9a 100644 --- a/package/python-cryptography/python-cryptography.mk +++ b/package/python-cryptography/python-cryptography.mk @@ -4,20 +4,22 @@ # ################################################################################ -PYTHON_CRYPTOGRAPHY_VERSION = 3.3.2 +PYTHON_CRYPTOGRAPHY_VERSION = 36.0.1 PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz -PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/d4/85/38715448253404186029c575d559879912eb8a1c5d16ad9f25d35f7c4f4c +PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/f9/4b/1cf8e281f7ae4046a59e5e39dd7471d46db9f61bb564fddbff9084c4334f PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography -PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl -HOST_PYTHON_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3 -HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ - host-python3-cffi \ - host-python3-six \ - host-openssl +PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-setuptools-rust host-python-cffi host-rustc +PYTHON_CRYPTOGRAPHY_ENV = \ + $(PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" +# We need to vendor the Cargo crates at download time +PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo +PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc +PYTHON_CRYPTOGRAPHY_DL_ENV = \ + BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml $(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/package/python-daphne/Config.in b/package/python-daphne/Config.in index 601b2e1db8..c4479417e9 100644 --- a/package/python-daphne/Config.in +++ b/package/python-daphne/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_DAPHNE bool "python-daphne" - depends on BR2_INSTALL_LIBSTDCPP # python-autobahn -> python-cryptography + # python-autobahn -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_ASGIREF # runtime select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime @@ -14,7 +15,3 @@ config BR2_PACKAGE_PYTHON_DAPHNE versus HTTP endpoints. https://github.com/django/daphne - -comment "python-daphne needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/package/python-keyring/Config.in b/package/python-keyring/Config.in index f7bb1ae820..61cb98952f 100644 --- a/package/python-keyring/Config.in +++ b/package/python-keyring/Config.in @@ -1,7 +1,8 @@ config BR2_PACKAGE_PYTHON_KEYRING bool "python-keyring" + # python-secretstorage -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_PYTHON3 - depends on BR2_INSTALL_LIBSTDCPP # python-secretstorage select BR2_PACKAGE_PYTHON_ENTRYPOINTS # runtime select BR2_PACKAGE_PYTHON_SECRETSTORAGE # runtime help @@ -9,7 +10,3 @@ config BR2_PACKAGE_PYTHON_KEYRING system keyring service from Python. https://pypi.python.org/pypi/keyring - -comment "python-keyring needs a toolchain w/ C++" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/python-opcua-asyncio/Config.in b/package/python-opcua-asyncio/Config.in index 3700e00e1d..95715fdd08 100644 --- a/package/python-opcua-asyncio/Config.in +++ b/package/python-opcua-asyncio/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_OPCUA_ASYNCIO bool "python-opcua-asyncio" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_AIOFILES # runtime select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime diff --git a/package/python-paramiko/Config.in b/package/python-paramiko/Config.in index 4b8495d76d..e44237b0c2 100644 --- a/package/python-paramiko/Config.in +++ b/package/python-paramiko/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PYTHON_PARAMIKO bool "python-paramiko" - depends on BR2_PACKAGE_PYTHON3 # python-bcrypt - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + depends on BR2_PACKAGE_PYTHON3 # python-bcrypt, python-cryptography select BR2_PACKAGE_PYTHON_BCRYPT # runtime select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime select BR2_PACKAGE_PYTHON_PYNACL # runtime @@ -10,7 +10,3 @@ config BR2_PACKAGE_PYTHON_PARAMIKO SSH2 protocol library. https://github.com/paramiko/paramiko/ - -comment "python-paramiko needs a toolchain w/ C++" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/python-pyopenssl/Config.in b/package/python-pyopenssl/Config.in index 99ea4e9408..65d516813f 100644 --- a/package/python-pyopenssl/Config.in +++ b/package/python-pyopenssl/Config.in @@ -1,14 +1,10 @@ config BR2_PACKAGE_PYTHON_PYOPENSSL bool "python-pyopenssl" - depends on BR2_PACKAGE_PYTHON3 # python-cryptography -> python-idna - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + depends on BR2_PACKAGE_PYTHON3 # python-cryptography select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime select BR2_PACKAGE_PYTHON_SIX # runtime help Python wrapper module around the OpenSSL library. https://github.com/pyca/pyopenssl - -comment "python-pyopenssl needs a toolchain w/ C++" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/python-secretstorage/Config.in b/package/python-secretstorage/Config.in index 8ae8c2d598..059ea097bb 100644 --- a/package/python-secretstorage/Config.in +++ b/package/python-secretstorage/Config.in @@ -1,13 +1,9 @@ config BR2_PACKAGE_PYTHON_SECRETSTORAGE bool "python-secretstorage" depends on BR2_PACKAGE_PYTHON3 - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime help Python bindings to FreeDesktop.org Secret Service API. https://github.com/mitya57/secretstorage - -comment "python-secretstorage needs a toolchain w/ C++" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/python-service-identity/Config.in b/package/python-service-identity/Config.in index ab012347dc..c571065e92 100644 --- a/package/python-service-identity/Config.in +++ b/package/python-service-identity/Config.in @@ -1,7 +1,9 @@ config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY bool "python-service-identity" - depends on BR2_PACKAGE_PYTHON3 # python-pyopenssl -> python-cryptography -> python-idna - depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl + # python-pyopenssl -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + # python-pyopenssl -> python-cryptography + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_ATTRS # runtime select BR2_PACKAGE_PYTHON_CHARACTERISTIC # runtime select BR2_PACKAGE_PYTHON_PYASN1 # runtime @@ -11,7 +13,3 @@ config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY Service identity verification for pyOpenSSL. https://pypi.python.org/pypi/service_identity - -comment "python-service-identify needs a toolchain w/ C++" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in index 02c26a53f7..6e54c19e16 100644 --- a/package/python-treq/Config.in +++ b/package/python-treq/Config.in @@ -1,7 +1,9 @@ config BR2_PACKAGE_PYTHON_TREQ bool "python-treq" - depends on BR2_PACKAGE_PYTHON3 # python-idna - depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl + # python-pyopenssl -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + # python-idna, python-pyopenssl -> python-cryptography + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_ATTRS # runtime select BR2_PACKAGE_PYTHON_IDNA # runtime select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime @@ -16,7 +18,3 @@ config BR2_PACKAGE_PYTHON_TREQ API for making HTTP requests when using Twisted. https://github.com/twisted/treq - -comment "python-treq needs a toolchain w/ C++" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/python-twisted/Config.in b/package/python-twisted/Config.in index 29536ecf9d..89298b2e0c 100644 --- a/package/python-twisted/Config.in +++ b/package/python-twisted/Config.in @@ -23,12 +23,10 @@ config BR2_PACKAGE_PYTHON_TWISTED_HTTP2 config BR2_PACKAGE_PYTHON_TWISTED_TLS bool "TLS support" - depends on BR2_INSTALL_LIBSTDCPP # python-{pyopenssl,service-identity} + # python-{pyopenssl,service-identity} + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON_IDNA # runtime select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime -comment "TLS support needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - endif diff --git a/package/python-txdbus/Config.in b/package/python-txdbus/Config.in index c7de322f91..ffd00f153e 100644 --- a/package/python-txdbus/Config.in +++ b/package/python-txdbus/Config.in @@ -1,6 +1,9 @@ config BR2_PACKAGE_PYTHON_TXDBUS bool "python-txdbus" - depends on BR2_PACKAGE_PYTHON3 # python-twisted -> python-cryptography -> python-idna + # python-twisted -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + # python-twisted -> python-cryptography + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_TWISTED # runtime select BR2_PACKAGE_PYTHON_SIX # runtime help diff --git a/package/python-txtorcon/Config.in b/package/python-txtorcon/Config.in index e8a1a233db..0606e5f442 100644 --- a/package/python-txtorcon/Config.in +++ b/package/python-txtorcon/Config.in @@ -1,7 +1,8 @@ config BR2_PACKAGE_PYTHON_TXTORCON bool "python-txtorcon" + # python-pyopenssl -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_PYTHON3 # python-idna - depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-service-identity select BR2_PACKAGE_PYTHON_AUTOMAT # runtime select BR2_PACKAGE_PYTHON_IDNA # runtime select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime @@ -14,7 +15,3 @@ config BR2_PACKAGE_PYTHON_TXTORCON configuration abstractions. https://github.com/meejah/txtorcon - -comment "python-txtorcon needs a toolchain w/ C++" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_INSTALL_LIBSTDCPP From 3b64a4148aa592c6cd217ade320a6cef499ac763 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 9 Feb 2022 17:50:36 +0100 Subject: [PATCH 061/150] package/docker-compose: drop reference to BR2_PACKAGE_PYTHON And adjust the comments to clarify that the toolchain dependencies are from python3. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/docker-compose/Config.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package/docker-compose/Config.in b/package/docker-compose/Config.in index 761befea4d..f82a0c4bc2 100644 --- a/package/docker-compose/Config.in +++ b/package/docker-compose/Config.in @@ -1,10 +1,9 @@ config BR2_PACKAGE_DOCKER_COMPOSE bool "docker-compose" - depends on !BR2_PACKAGE_PYTHON # python-paramiko -> python-bcrypt - depends on BR2_USE_MMU # python - depends on BR2_USE_WCHAR # python - depends on BR2_TOOLCHAIN_HAS_THREADS # python - depends on !BR2_STATIC_LIBS # python + depends on BR2_USE_MMU # python3 + depends on BR2_USE_WCHAR # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 + depends on !BR2_STATIC_LIBS # python3 # python-paramiko -> python-cryptography depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON3 From 046f0855a4fe14d2cd8c1862c298d0c902a4cba6 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 4 Sep 2022 12:10:10 -0700 Subject: [PATCH 062/150] package/docker-compose: bump to version 2.10.0 Docker Compose v2 is no longer a standalone component, but is now a plugin loaded by docker-cli. As such, it should not be installed in /usr/bin, but in the directory where docker-cli loads its plugins from. Additionally, we consequently make docker-compose depend on docker-cli; indeed, it does not really make sense to present a plugin unless the component it attaches to is already enabled [0]. License hash changed due to strictly copying the license text template, without customisation to the year and copyright owner. [0] the original submission by Christian would use a select, to keep existing config, but that's not sensible, as we already have some packages that are plugins and that use depends-on, like nginx plugins. For consistency and as it semantically makes sense, we use a depends-on here too. Signed-off-by: Christian Stewart [yann.morin.1998@free.fr: - don't select docker-cli, but depends-on it; explain it in commit log - explain why we override the install commands - explain change in license file hash ] Signed-off-by: Yann E. MORIN --- DEVELOPERS | 1 + ...p-generic-versions-and-bump-requests.patch | 66 ------------------- ...2-Bump-texttable-from-0.9.1-to-1.6.2.patch | 41 ------------ ...003-support-PyYAML-up-to-5.1-version.patch | 44 ------------- package/docker-compose/Config.in | 35 +++------- package/docker-compose/docker-compose.hash | 8 +-- package/docker-compose/docker-compose.mk | 17 +++-- 7 files changed, 27 insertions(+), 185 deletions(-) delete mode 100644 package/docker-compose/0001-Strip-up-generic-versions-and-bump-requests.patch delete mode 100644 package/docker-compose/0002-Bump-texttable-from-0.9.1-to-1.6.2.patch delete mode 100644 package/docker-compose/0003-support-PyYAML-up-to-5.1-version.patch diff --git a/DEVELOPERS b/DEVELOPERS index 88c75aef26..acbd8558f0 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -512,6 +512,7 @@ F: package/batman-adv/ F: package/containerd/ F: package/delve/ F: package/docker-cli/ +F: package/docker-compose/ F: package/docker-engine/ F: package/docker-proxy/ F: package/fuse-overlayfs/ diff --git a/package/docker-compose/0001-Strip-up-generic-versions-and-bump-requests.patch b/package/docker-compose/0001-Strip-up-generic-versions-and-bump-requests.patch deleted file mode 100644 index 536a9590dd..0000000000 --- a/package/docker-compose/0001-Strip-up-generic-versions-and-bump-requests.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 2bb1a267aba3ca5fe414d0f79192def668c18bab Mon Sep 17 00:00:00 2001 -From: Ulysses Souza -Date: Tue, 2 Jul 2019 15:49:07 +0200 -Subject: [PATCH] Strip up generic versions and bump requests - -Replaces generic limitations with a next major value -Bump the minimal `requests` to 2.20.0 - -Signed-off-by: Ulysses Souza -(cherry picked from commit ce5451c5b4a3b449ce703168d2a568b0a4d25ee6) -Signed-off-by: Peter Korsgaard ---- - setup.py | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -diff --git a/setup.py b/setup.py -index 8371cc75..61447801 100644 ---- a/setup.py -+++ b/setup.py -@@ -31,31 +31,31 @@ def find_version(*file_paths): - - install_requires = [ - 'cached-property >= 1.2.0, < 2', -- 'docopt >= 0.6.1, < 0.7', -- 'PyYAML >= 3.10, < 4.3', -- 'requests >= 2.6.1, != 2.11.0, != 2.12.2, != 2.18.0, < 2.21', -- 'texttable >= 0.9.0, < 0.10', -- 'websocket-client >= 0.32.0, < 1.0', -- 'docker[ssh] >= 3.7.0, < 4.0', -- 'dockerpty >= 0.4.1, < 0.5', -+ 'docopt >= 0.6.1, < 1', -+ 'PyYAML >= 3.10, < 5', -+ 'requests >= 2.20.0, < 3', -+ 'texttable >= 0.9.0, < 1', -+ 'websocket-client >= 0.32.0, < 1', -+ 'docker[ssh] >= 3.7.0, < 5', -+ 'dockerpty >= 0.4.1, < 1', - 'six >= 1.3.0, < 2', - 'jsonschema >= 2.5.1, < 3', - ] - - - tests_require = [ -- 'pytest', -+ 'pytest < 6', - ] - - - if sys.version_info[:2] < (3, 4): -- tests_require.append('mock >= 1.0.1') -+ tests_require.append('mock >= 1.0.1, < 2') - - extras_require = { - ':python_version < "3.4"': ['enum34 >= 1.0.4, < 2'], -- ':python_version < "3.5"': ['backports.ssl_match_hostname >= 3.5'], -- ':python_version < "3.3"': ['ipaddress >= 1.0.16'], -- ':sys_platform == "win32"': ['colorama >= 0.4, < 0.5'], -+ ':python_version < "3.5"': ['backports.ssl_match_hostname >= 3.5, < 4'], -+ ':python_version < "3.3"': ['ipaddress >= 1.0.16, < 2'], -+ ':sys_platform == "win32"': ['colorama >= 0.4, < 1'], - 'socks': ['PySocks >= 1.5.6, != 1.5.7, < 2'], - } - --- -2.20.1 - diff --git a/package/docker-compose/0002-Bump-texttable-from-0.9.1-to-1.6.2.patch b/package/docker-compose/0002-Bump-texttable-from-0.9.1-to-1.6.2.patch deleted file mode 100644 index 92c2e1f133..0000000000 --- a/package/docker-compose/0002-Bump-texttable-from-0.9.1-to-1.6.2.patch +++ /dev/null @@ -1,41 +0,0 @@ -From e55dd65ba42a17ba4b017b42f14f7ee647efe64f Mon Sep 17 00:00:00 2001 -From: Ulysses Souza -Date: Mon, 8 Jul 2019 14:52:30 +0200 -Subject: [PATCH] Bump texttable from 0.9.1 to 1.6.2 - -Signed-off-by: Ulysses Souza -(cherry picked from commit 0bfa1c34f054d86674434770d4d6340e02508e52) -Signed-off-by: Peter Korsgaard ---- - requirements.txt | 2 +- - setup.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/requirements.txt b/requirements.txt -index 6007ee3f..d868fdeb 100644 ---- a/requirements.txt -+++ b/requirements.txt -@@ -19,6 +19,6 @@ PySocks==1.6.7 - PyYAML==4.2b1 - requests==2.20.0 - six==1.10.0 --texttable==0.9.1 -+texttable==1.6.2 - urllib3==1.21.1; python_version == '3.3' - websocket-client==0.56.0 -diff --git a/setup.py b/setup.py -index 61447801..c9e4729d 100644 ---- a/setup.py -+++ b/setup.py -@@ -34,7 +34,7 @@ install_requires = [ - 'docopt >= 0.6.1, < 1', - 'PyYAML >= 3.10, < 5', - 'requests >= 2.20.0, < 3', -- 'texttable >= 0.9.0, < 1', -+ 'texttable >= 0.9.0, < 2', - 'websocket-client >= 0.32.0, < 1', - 'docker[ssh] >= 3.7.0, < 5', - 'dockerpty >= 0.4.1, < 1', --- -2.20.1 - diff --git a/package/docker-compose/0003-support-PyYAML-up-to-5.1-version.patch b/package/docker-compose/0003-support-PyYAML-up-to-5.1-version.patch deleted file mode 100644 index ecbd197a51..0000000000 --- a/package/docker-compose/0003-support-PyYAML-up-to-5.1-version.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 3be619b814c16c02a02499e7a157dabd065926dd Mon Sep 17 00:00:00 2001 -From: Sergey Fursov -Date: Sun, 31 Mar 2019 12:45:50 +0700 -Subject: [PATCH] support PyYAML up to 5.1 version - -Signed-off-by: Sergey Fursov -[Upstream: https://github.com/docker/compose/pull/6623] -(cherry picked from commit d2ca096f46a56cd4db494c593ed84e5c255dc15d) -[Peter: allow all 5.x] -Signed-off-by: Peter Korsgaard ---- - requirements.txt | 2 +- - setup.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/requirements.txt b/requirements.txt -index d868fdeb..e3dbc807 100644 ---- a/requirements.txt -+++ b/requirements.txt -@@ -16,7 +16,7 @@ paramiko==2.4.2 - pypiwin32==219; sys_platform == 'win32' and python_version < '3.6' - pypiwin32==223; sys_platform == 'win32' and python_version >= '3.6' - PySocks==1.6.7 --PyYAML==4.2b1 -+PyYAML==5.1 - requests==2.20.0 - six==1.10.0 - texttable==1.6.2 -diff --git a/setup.py b/setup.py -index c9e4729d..17ab678e 100644 ---- a/setup.py -+++ b/setup.py -@@ -32,7 +32,7 @@ def find_version(*file_paths): - install_requires = [ - 'cached-property >= 1.2.0, < 2', - 'docopt >= 0.6.1, < 1', -- 'PyYAML >= 3.10, < 5', -+ 'PyYAML >= 3.10, < 6', - 'requests >= 2.20.0, < 3', - 'texttable >= 0.9.0, < 2', - 'websocket-client >= 0.32.0, < 1', --- -2.20.1 - diff --git a/package/docker-compose/Config.in b/package/docker-compose/Config.in index f82a0c4bc2..59128f7a19 100644 --- a/package/docker-compose/Config.in +++ b/package/docker-compose/Config.in @@ -1,30 +1,15 @@ config BR2_PACKAGE_DOCKER_COMPOSE bool "docker-compose" - depends on BR2_USE_MMU # python3 - depends on BR2_USE_WCHAR # python3 - depends on BR2_TOOLCHAIN_HAS_THREADS # python3 - depends on !BR2_STATIC_LIBS # python3 - # python-paramiko -> python-cryptography - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - select BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_CACHED_PROPERTY # runtime - select BR2_PACKAGE_PYTHON_DOCOPT # runtime - select BR2_PACKAGE_PYTHON_PARAMIKO # runtime - select BR2_PACKAGE_PYTHON_PYYAML # runtime - select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_TEXTTABLE # runtime - select BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT # runtime - select BR2_PACKAGE_PYTHON_DOCKER # runtime - select BR2_PACKAGE_PYTHON_DOCKERPTY # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_DOCKER_CLI help - Multi-container orchestration for Docker. + Multi-container applications with the Docker CLI. - https://www.docker.com/ + https://github.com/docker/compose -comment "docker-compose needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS +comment "docker-compose needs docker-cli and a toolchain w/ threads" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_DOCKER_CLI diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index aa29a6d6cb..46a8c59d55 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,5 +1,3 @@ -# from https://pypi.python.org/pypi/docker-compose/json -sha256 a5d58e974fd717e24b0dda6669a46bc03548d9023ef38d965acdc32d4d5fa753 docker-compose-1.24.1.tar.gz - -# locally computed -sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE +# Locally computed +sha256 7f051283dc2c047a40604c52dffa579a079bdf54eca742da54f8352dcffc3549 docker-compose-2.10.0.tar.gz +sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index ec24157c56..1d071cc423 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,10 +4,19 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 1.24.1 -DOCKER_COMPOSE_SITE = https://files.pythonhosted.org/packages/b6/a4/59c39df6a23144a6252ad33170dfbf781af5953651e4587e8ea5f995f95e -DOCKER_COMPOSE_SETUP_TYPE = setuptools +DOCKER_COMPOSE_VERSION = 2.10.0 +DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE -$(eval $(python-package)) +DOCKER_COMPOSE_BUILD_TARGETS = cmd +DOCKER_COMPOSE_GOMOD = github.com/docker/compose/v2 +DOCKER_COMPOSE_LDFLAGS = \ + -X github.com/docker/compose/v2/internal.Version=$(DOCKER_COMPOSE_VERSION) + +define DOCKER_COMPOSE_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 755 $(@D)/bin/cmd \ + $(TARGET_DIR)/usr/lib/docker/cli-plugins/docker-compose +endef + +$(eval $(golang-package)) From d30b323d7de59d4c176cf1969a3c532f5f7421b9 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 16 Oct 2022 16:00:46 -0700 Subject: [PATCH 063/150] package/docker-compose: bump to version v2.11.2 https://github.com/docker/compose/releases/tag/v2.11.2 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-compose/docker-compose.hash | 2 +- package/docker-compose/docker-compose.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index 46a8c59d55..39f98523b8 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 7f051283dc2c047a40604c52dffa579a079bdf54eca742da54f8352dcffc3549 docker-compose-2.10.0.tar.gz +sha256 69d7d0311ac34ed4543f9a694995fbc4e2b785976a5a710015c20f0d04c204cb docker-compose-2.11.2.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index 1d071cc423..bc88d8df88 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 2.10.0 +DOCKER_COMPOSE_VERSION = 2.11.2 DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE From 627e8266549f15cb9a6bef97a754ba966ef925e3 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 8 Dec 2022 13:34:31 -0800 Subject: [PATCH 064/150] package/docker-compose: bump to version 2.14.0 https://github.com/docker/compose/releases/tag/v2.14.0 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-compose/docker-compose.hash | 2 +- package/docker-compose/docker-compose.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index 39f98523b8..7a7ab5f110 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 69d7d0311ac34ed4543f9a694995fbc4e2b785976a5a710015c20f0d04c204cb docker-compose-2.11.2.tar.gz +sha256 5cbf6cd1dd8ce98c5e2d62ca7f622e96abce444979b8e8852b033213a98e2049 docker-compose-2.14.0.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index bc88d8df88..ef9ee97196 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 2.11.2 +DOCKER_COMPOSE_VERSION = 2.14.0 DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE From 4922de505e323c2aa8639daef5f6e675f1b5518a Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 2 Feb 2023 05:41:49 -0800 Subject: [PATCH 065/150] package/docker-compose: security bump version to 2.15.1 Fix CVE-2022-27664 and CVE-2022-32149 high-risk vulnerability. Many other bugfixes, enhancements, and improvements. https://github.com/docker/compose/releases/tag/v2.15.1 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-compose/docker-compose.hash | 2 +- package/docker-compose/docker-compose.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index 7a7ab5f110..2c924d5080 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 5cbf6cd1dd8ce98c5e2d62ca7f622e96abce444979b8e8852b033213a98e2049 docker-compose-2.14.0.tar.gz +sha256 346571ca487bf3f4b3dc9caeadc88a645354b0e098fa60f350249ec35ab3f240 docker-compose-2.15.1.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index ef9ee97196..3bced8bb7b 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 2.14.0 +DOCKER_COMPOSE_VERSION = 2.15.1 DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE From 3d7886e798cc37354bf75b9ef4d23f7cfe7a8c15 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 3 May 2023 17:25:06 -0700 Subject: [PATCH 066/150] package/docker-compose: bump version to 2.17.3 https://github.com/docker/compose/releases/tag/v2.17.3 Signed-off-by: Christian Stewart Signed-off-by: Yann E. MORIN --- package/docker-compose/docker-compose.hash | 2 +- package/docker-compose/docker-compose.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index 2c924d5080..4fe6d73139 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 346571ca487bf3f4b3dc9caeadc88a645354b0e098fa60f350249ec35ab3f240 docker-compose-2.15.1.tar.gz +sha256 3a777f6442db77447919cc7006d8b9439c95cc61c04acad4039e0120a8e591ea docker-compose-2.17.3.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index 3bced8bb7b..09f611e185 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 2.15.1 +DOCKER_COMPOSE_VERSION = 2.17.3 DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE From 80a579532d828123413a6fff661b1e6303d72f7e Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 11 Jul 2023 15:44:49 -0700 Subject: [PATCH 067/150] package/docker-compose: bump to version v2.20.0 https://github.com/docker/compose/releases/tag/v2.20.0 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/docker-compose/docker-compose.hash | 2 +- package/docker-compose/docker-compose.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index 4fe6d73139..fce3477257 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 3a777f6442db77447919cc7006d8b9439c95cc61c04acad4039e0120a8e591ea docker-compose-2.17.3.tar.gz +sha256 2051ea80097f3c9e74e3a8565609e704e76035fa9ba04183950d3431bd123ea5 docker-compose-2.20.0.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index 09f611e185..b2d3e99988 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 2.17.3 +DOCKER_COMPOSE_VERSION = 2.20.0 DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE From eb833089922185b1bd6c7c5f2cfa99b182d3e1a4 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 25 Oct 2023 11:34:44 -0700 Subject: [PATCH 068/150] package/docker-compose: bump version to v2.23.0 Significant update with new features & fixes. Full release notes: https://github.com/docker/compose/releases/tag/v2.23.0 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-compose/docker-compose.hash | 2 +- package/docker-compose/docker-compose.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index fce3477257..afccafd994 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2051ea80097f3c9e74e3a8565609e704e76035fa9ba04183950d3431bd123ea5 docker-compose-2.20.0.tar.gz +sha256 8a1109124e7dfef736ad3db0457d807eb41a0068211bd13e52051252cab28dda docker-compose-2.23.0.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index b2d3e99988..54557b9841 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 2.20.0 +DOCKER_COMPOSE_VERSION = 2.23.0 DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE From 194e1f51660a163a44d3fa6c3b1fd6547b5b22b0 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 6 Feb 2024 18:22:45 -0800 Subject: [PATCH 069/150] package/docker-compose: bump version to v2.24.5 https://github.com/docker/compose/releases/tag/v2.24.5 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-compose/docker-compose.hash | 2 +- package/docker-compose/docker-compose.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index afccafd994..92f7b227d3 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8a1109124e7dfef736ad3db0457d807eb41a0068211bd13e52051252cab28dda docker-compose-2.23.0.tar.gz +sha256 ed132bcc226261a595469f5ca6d4ea20b02965867216b56d4e7a5962efb46570 docker-compose-2.24.5.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index 54557b9841..947f09d0b3 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 2.23.0 +DOCKER_COMPOSE_VERSION = 2.24.5 DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE From f598e85fa17d8317bbaf3b988cc19edb39c5e0a4 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 6 Mar 2024 17:45:40 -0800 Subject: [PATCH 070/150] package/docker-compose: bump version to 2.24.7 https://github.com/docker/compose/releases/tag/v2.24.7 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-compose/docker-compose.hash | 2 +- package/docker-compose/docker-compose.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index 92f7b227d3..ca3d08cf63 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 ed132bcc226261a595469f5ca6d4ea20b02965867216b56d4e7a5962efb46570 docker-compose-2.24.5.tar.gz +sha256 931bfcc34eb43106be07787372bb853d4cd82830a5785f3049c5192ab0e4ac35 docker-compose-2.24.7.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index 947f09d0b3..5417ba2d4f 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 2.24.5 +DOCKER_COMPOSE_VERSION = 2.24.7 DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE From 79728ba908e24c9cef9732f04632964233bb686b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 4 May 2024 23:40:02 +0200 Subject: [PATCH 071/150] package/docker-compose: bump version The current version of docker-compose is un-vendorable, because the dependencies it referenmces (directly or indirectly) are not available: go: github.com/docker/compose/v2/cmd/compose imports github.com/moby/buildkit/util/progress/progressui: github.com/crazy-max/buildkit@v0.7.1-0.20240130133234-d9aa289bd124: invalid version: unknown revision d9aa289bd124 And indeed, that commit does not exist in that repository. The v0.7.1 tag does exist, but there is not commit that matches the short hash d9aa289bd124, or even the whole version string. Sigh... There is no way anyone can vendor the version we currently package, and all they and us can hope for is that we never lose s.b.o ever. Bump the version. That one can be vendored. Well, at least it can _still_ be vendored _now_... Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle --- package/docker-compose/docker-compose.hash | 2 +- package/docker-compose/docker-compose.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash index ca3d08cf63..d55e35eb16 100644 --- a/package/docker-compose/docker-compose.hash +++ b/package/docker-compose/docker-compose.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 931bfcc34eb43106be07787372bb853d4cd82830a5785f3049c5192ab0e4ac35 docker-compose-2.24.7.tar.gz +sha256 105328838a48dad4a305903c5ae98b928e8a4ea3546e1711690e9eef7e0232be docker-compose-2.26.1.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk index 5417ba2d4f..66a88ac7e7 100644 --- a/package/docker-compose/docker-compose.mk +++ b/package/docker-compose/docker-compose.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_COMPOSE_VERSION = 2.24.7 +DOCKER_COMPOSE_VERSION = 2.26.1 DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION)) DOCKER_COMPOSE_LICENSE = Apache-2.0 DOCKER_COMPOSE_LICENSE_FILES = LICENSE From eac21bf3673d0dd34e3dc51a7707a2d8765aff79 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Fri, 27 Jun 2025 22:09:15 +0300 Subject: [PATCH 072/150] Enable docker-compose --- configs/nanopir1_defconfig | 1 + configs/raspberrypi64_defconfig | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configs/nanopir1_defconfig b/configs/nanopir1_defconfig index d89e66b082..aa28634fe5 100644 --- a/configs/nanopir1_defconfig +++ b/configs/nanopir1_defconfig @@ -84,6 +84,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_WPS=y BR2_PACKAGE_WPA_SUPPLICANT_CLI=y BR2_PACKAGE_LOGROTATE=y BR2_PACKAGE_DOCKER_CLI=y +BR2_PACKAGE_DOCKER_COMPOSE=y BR2_PACKAGE_DOCKER_ENGINE=y BR2_PACKAGE_HTOP=y BR2_PACKAGE_TAR=y diff --git a/configs/raspberrypi64_defconfig b/configs/raspberrypi64_defconfig index f0df0c473e..1cba511a73 100644 --- a/configs/raspberrypi64_defconfig +++ b/configs/raspberrypi64_defconfig @@ -54,6 +54,7 @@ BR2_PACKAGE_CA_CERTIFICATES=y BR2_PACKAGE_LIBSSH2=y BR2_PACKAGE_POSTGRESQL=y BR2_PACKAGE_REDIS=y +BR2_PACKAGE_SQLITE=y BR2_PACKAGE_LIBFUSE=y BR2_PACKAGE_LIBCAP=y BR2_PACKAGE_SEMVER_SORT=y @@ -89,6 +90,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_WPS=y BR2_PACKAGE_WPA_SUPPLICANT_CLI=y BR2_PACKAGE_LOGROTATE=y BR2_PACKAGE_DOCKER_CLI=y +BR2_PACKAGE_DOCKER_COMPOSE=y BR2_PACKAGE_DOCKER_ENGINE=y BR2_PACKAGE_HTOP=y BR2_PACKAGE_TAR=y From a0c118a0a5a2e263d472126d388f032e98ebf10b Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 7 Jan 2022 18:13:11 +0100 Subject: [PATCH 073/150] package/ca-certificates: remove dependency on host-python-cryptography The host-python-cryptography module is only used by ca-certificates for a check of the expiration date of certificates, which is only a warning not even causing the build to abort, i.e something that Buildroot users are most likely never going to see. Since the host-python-cryptography dependency would soon require a dependency on rust, it's a lot simpler to just patch the certdata2pem.py script to no longer require cryptography, but only make use of it if available. Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...2pem.py-make-cryptography-module-opt.patch | 59 +++++++++++++++++++ package/ca-certificates/ca-certificates.mk | 2 +- 2 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 package/ca-certificates/0001-mozilla-certdata2pem.py-make-cryptography-module-opt.patch diff --git a/package/ca-certificates/0001-mozilla-certdata2pem.py-make-cryptography-module-opt.patch b/package/ca-certificates/0001-mozilla-certdata2pem.py-make-cryptography-module-opt.patch new file mode 100644 index 0000000000..b76c1bfd7f --- /dev/null +++ b/package/ca-certificates/0001-mozilla-certdata2pem.py-make-cryptography-module-opt.patch @@ -0,0 +1,59 @@ +From bf18b564122e8f976681a2398862fde1eafd84ba Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Thu, 6 Jan 2022 23:15:00 +0100 +Subject: [PATCH] mozilla/certdata2pem.py: make cryptography module optional + +The Python cryptography module is only used to verify if trusted +certificates have expired, but this is only a warning. For some build +systems and distributions, providing Python cryptography is costly, +especially since it's now partly written in Rust. + +As the check is only a warning, it's anyway going to be overlooked by +most people. This commit changes the check to be optional: if the +cryptography Python module is there, we perform the check, otherwise +the check is skipped. + +Signed-off-by: Thomas Petazzoni +--- + mozilla/certdata2pem.py | 18 ++++++++++-------- + 1 file changed, 10 insertions(+), 8 deletions(-) + +diff --git a/mozilla/certdata2pem.py b/mozilla/certdata2pem.py +index ede23d4..a6261f8 100644 +--- a/mozilla/certdata2pem.py ++++ b/mozilla/certdata2pem.py +@@ -28,9 +28,6 @@ import sys + import textwrap + import io + +-from cryptography import x509 +- +- + objects = [] + + # Dirty file parser. +@@ -122,11 +119,16 @@ for obj in objects: + if not obj['CKA_LABEL'] in trust or not trust[obj['CKA_LABEL']]: + continue + +- cert = x509.load_der_x509_certificate(obj['CKA_VALUE']) +- if cert.not_valid_after < datetime.datetime.now(): +- print('!'*74) +- print('Trusted but expired certificate found: %s' % obj['CKA_LABEL']) +- print('!'*74) ++ try: ++ from cryptography import x509 ++ ++ cert = x509.load_der_x509_certificate(obj['CKA_VALUE']) ++ if cert.not_valid_after < datetime.datetime.now(): ++ print('!'*74) ++ print('Trusted but expired certificate found: %s' % obj['CKA_LABEL']) ++ print('!'*74) ++ except ImportError: ++ pass + + bname = obj['CKA_LABEL'][1:-1].replace('/', '_')\ + .replace(' ', '_')\ +-- +2.33.1 + diff --git a/package/ca-certificates/ca-certificates.mk b/package/ca-certificates/ca-certificates.mk index 7084ab781e..0b6962ab7b 100644 --- a/package/ca-certificates/ca-certificates.mk +++ b/package/ca-certificates/ca-certificates.mk @@ -7,7 +7,7 @@ CA_CERTIFICATES_VERSION = 20211016 CA_CERTIFICATES_SOURCE = ca-certificates_$(CA_CERTIFICATES_VERSION).tar.xz CA_CERTIFICATES_SITE = https://snapshot.debian.org/archive/debian/20211022T144903Z/pool/main/c/ca-certificates -CA_CERTIFICATES_DEPENDENCIES = host-openssl host-python3 host-python-cryptography +CA_CERTIFICATES_DEPENDENCIES = host-openssl host-python3 CA_CERTIFICATES_LICENSE = GPL-2.0+ (script), MPL-2.0 (data) CA_CERTIFICATES_LICENSE_FILES = debian/copyright From 0bbe0f9cf44082a7d687072b8fd7a8310d407243 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 12 Dec 2021 01:01:07 -0800 Subject: [PATCH 074/150] package/go: security bump to 1.17.5 go1.17.4 (released 2021-12-02) includes fixes to the compiler, linker, runtime, and the go/types, net/http, and time packages. go1.17.5 (released 2021-12-09) includes security fixes to the syscall and net/http packages: - CVE-2021-44716 - CVE-2021-44717 https://go.dev/doc/devel/release#go1.17 Signed-off-by: Christian Stewart Signed-off-by: Yann E. MORIN --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 9031c33d8a..39f8226aae 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 705c64251e5b25d5d55ede1039c6aa22bea40a7a931d14c370339853643c3df0 go1.17.3.src.tar.gz +sha256 3defb9a09bed042403195e872dcbc8c6fae1485963332279668ec52e80a95a2d go1.17.5.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 59177e54db..0d9ceab2bb 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.17.3 +GO_VERSION = 1.17.5 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 90045b1b25e62aacf2721877be87dc6773b51713 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 6 Jan 2022 13:30:14 -0800 Subject: [PATCH 075/150] package/go: bump version to 1.17.6 View the release notes for more information: https://go.dev/doc/devel/release.html#go1.17.minor Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 39f8226aae..9111c8c9aa 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 3defb9a09bed042403195e872dcbc8c6fae1485963332279668ec52e80a95a2d go1.17.5.src.tar.gz +sha256 4dc1bbf3ff61f0c1ff2b19355e6d88151a70126268a47c761477686ef94748c8 go1.17.6.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 0d9ceab2bb..062bec378c 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.17.5 +GO_VERSION = 1.17.6 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From e70863a1ac74ce057f3386caf64fb2b3fd6f17a6 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 10 Feb 2022 15:59:06 -0800 Subject: [PATCH 076/150] package/go: security bump to 1.17.7 go1.17.7 includes security fixes to the crypto/elliptic, math/big packages and to the go command, as well as bug fixes to the compiler, linker, runtime, the go command, and the debug/macho, debug/pe, and net/http/httptest packages. https://github.com/golang/go/issues?q=milestone%3AGo1.17.7+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 9111c8c9aa..fdf342e602 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 4dc1bbf3ff61f0c1ff2b19355e6d88151a70126268a47c761477686ef94748c8 go1.17.6.src.tar.gz +sha256 c108cd33b73b1911a02b697741df3dea43e01a5c4e08e409e8b3a0e3745d2b4d go1.17.7.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 062bec378c..56a21dfe55 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.17.6 +GO_VERSION = 1.17.7 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 953303d709320cb8ece6697812336dd68616f118 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 3 Mar 2022 20:25:02 -0800 Subject: [PATCH 077/150] package/go: security bump to 1.17.8 go1.17.8 includes a security fix to the regexp/syntax package, as well as bug fixes to the compiler, runtime, the go command, and the crypto/x509, and net packages. https://go.dev/doc/devel/release#go1.17.minor Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index fdf342e602..85e6adfb8c 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 c108cd33b73b1911a02b697741df3dea43e01a5c4e08e409e8b3a0e3745d2b4d go1.17.7.src.tar.gz +sha256 2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a go1.17.8.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 56a21dfe55..3df16c9a68 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.17.7 +GO_VERSION = 1.17.8 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 148de22b8ffe9fa0024b1e6fefe96c6edc6e257c Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 13 Apr 2022 16:17:11 +0200 Subject: [PATCH 078/150] package/go: security bump to version 1.17.9 go1.17.9 (released 2022-04-12) includes security fixes to the crypto/elliptic and encoding/pem packages, as well as bug fixes to the linker and runtime. Signed-off-by: Peter Korsgaard Reviewed-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 85e6adfb8c..507887eaaa 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a go1.17.8.src.tar.gz +sha256 763ad4bafb80a9204458c5fa2b8e7327fa971aee454252c0e362c11236156813 go1.17.9.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 3df16c9a68..41c9a8648f 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.17.8 +GO_VERSION = 1.17.9 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From b4e3febcc7adbaeafde50817669b8093a3a3f14d Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 21 Apr 2022 21:30:40 +0200 Subject: [PATCH 079/150] package/go: bump to version 1.18.1 The latest Go release, version 1.18, is a significant release, including changes to the language, implementation of the toolchain, runtime, and libraries. https://go.dev/doc/go1.18 Signed-off-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 507887eaaa..37c34b8b64 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 763ad4bafb80a9204458c5fa2b8e7327fa971aee454252c0e362c11236156813 go1.17.9.src.tar.gz +sha256 efd43e0f1402e083b73a03d444b7b6576bb4c539ac46208b63a916b69aca4088 go1.18.1.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 41c9a8648f..cf90ac8765 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.17.9 +GO_VERSION = 1.18.1 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From ac8d7a216e1dd0fca61742d9bde94d4f86cf78b1 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 11 May 2022 21:10:02 +0930 Subject: [PATCH 080/150] package/go: security bump to version 1.18.2 Includes security fixes to the syscall package, as well as bug fixes to the compiler, runtime, the go command, and the crypto/x509, go/types, net/http/httptest, reflect, and sync/atomic packages. Signed-off-by: Joel Stanley [Peter: mark as security fix] Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 37c34b8b64..6a9480ff99 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 efd43e0f1402e083b73a03d444b7b6576bb4c539ac46208b63a916b69aca4088 go1.18.1.src.tar.gz +sha256 2c44d03ea2c34092137ab919ba602f2c261a038d08eb468528a3f3a28e5667e2 go1.18.2.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index cf90ac8765..817363d8ff 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.18.1 +GO_VERSION = 1.18.2 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 7d99fcf761aacfd8d21cecad51f4bca89139516d Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 10 May 2022 18:08:45 -0700 Subject: [PATCH 081/150] package/go: add support for riscv64 architecture Enable the supported "riscv64" GOARCH. Add a patch to fix a build failure due to GOARCH leaking into the calls to the go-bootstrap compiler. Unsets the GOARCH before calling go-bootstrap. PR: https://github.com/golang/go/pull/52362 Signed-off-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...explicit-option-for-crosscompilation.patch | 8 +- ...set-environment-before-generating-bu.patch | 119 ++++++++++++++++++ package/go/Config.in.host | 8 +- package/go/go.mk | 2 + 4 files changed, 132 insertions(+), 5 deletions(-) create mode 100644 package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch diff --git a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/0001-build.go-explicit-option-for-crosscompilation.patch index f76c5b1d03..3a9b47474c 100644 --- a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch +++ b/package/go/0001-build.go-explicit-option-for-crosscompilation.patch @@ -1,4 +1,4 @@ -From e1382a731a726293e30901038c6870fa77ef6095 Mon Sep 17 00:00:00 2001 +From 335c6245674088de616324398137416c7a1cbe8f Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci Date: Tue, 8 May 2018 16:08:44 +0200 Subject: [PATCH] build.go: explicit option for crosscompilation @@ -17,10 +17,10 @@ Signed-off-by: Anisse Astier 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go -index 99d1db5..eb4097f 100644 +index f99f1f4e43..08a9f24f59 100644 --- a/src/cmd/dist/build.go +++ b/src/cmd/dist/build.go -@@ -252,12 +252,13 @@ func xinit() { +@@ -286,12 +286,13 @@ func xinit() { // $CC_FOR_goos_goarch, if set, applies only to goos/goarch. func compilerEnv(envName, def string) map[string]string { m := map[string]string{"": def} @@ -36,5 +36,5 @@ index 99d1db5..eb4097f 100644 } m[""] = env -- -2.7.4 +2.35.1 diff --git a/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch b/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch new file mode 100644 index 0000000000..5a6b694857 --- /dev/null +++ b/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch @@ -0,0 +1,119 @@ +From 4d43f7c4dd06e6f62be446996019d4505af54764 Mon Sep 17 00:00:00 2001 +From: Christian Stewart +Date: Thu, 14 Apr 2022 13:34:26 -0700 +Subject: [PATCH] build: bootstrap: set environment before generating buildcfg + +The GOOS and GOARCH environment variables should be unset before calling +mkbuildcfg. This change fixes a build failure when GOARCH=riscv64. + +Building Go toolchain1 using go-1.4-bootstrap-20171003. +src/cmd/compile/internal/ssa/rewriteRISCV64.go:4814 +invalid operation: y << x (shift count type int64, must be unsigned integer) + +There is a build issue with go1.4 with the riscv64 code: however, why is the +riscv64 code being compiled at all? + +GOARCH is set when calling mkbuildcfg, so go1.4 is trying to compile riscv64. + +[Buildroot]: submitted to upstream: + + - https://github.com/golang/go/issues/52583 + - https://go-review.googlesource.com/c/go/+/400376 + - GitHub-Pull-Request: golang/go#52362 + +Signed-off-by: Christian Stewart +--- + src/cmd/dist/buildtool.go | 56 ++++++++++++++++++++------------------- + 1 file changed, 29 insertions(+), 27 deletions(-) + +diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go +index f1f3d50b6f..dabf01cf84 100644 +--- a/src/cmd/dist/buildtool.go ++++ b/src/cmd/dist/buildtool.go +@@ -116,9 +116,6 @@ func bootstrapBuildTools() { + } + xprintf("Building Go toolchain1 using %s.\n", goroot_bootstrap) + +- mkbuildcfg(pathf("%s/src/internal/buildcfg/zbootstrap.go", goroot)) +- mkobjabi(pathf("%s/src/cmd/internal/objabi/zbootstrap.go", goroot)) +- + // Use $GOROOT/pkg/bootstrap as the bootstrap workspace root. + // We use a subdirectory of $GOROOT/pkg because that's the + // space within $GOROOT where we store all generated objects. +@@ -130,6 +127,34 @@ func bootstrapBuildTools() { + base := pathf("%s/src/bootstrap", workspace) + xmkdirall(base) + ++ // Set up environment for invoking Go 1.4 go command. ++ // GOROOT points at Go 1.4 GOROOT, ++ // GOPATH points at our bootstrap workspace, ++ // GOBIN is empty, so that binaries are installed to GOPATH/bin, ++ // and GOOS, GOHOSTOS, GOARCH, and GOHOSTOS are empty, ++ // so that Go 1.4 builds whatever kind of binary it knows how to build. ++ // Restore GOROOT, GOPATH, and GOBIN when done. ++ // Don't bother with GOOS, GOHOSTOS, GOARCH, and GOHOSTARCH, ++ // because setup will take care of those when bootstrapBuildTools returns. ++ ++ defer os.Setenv("GOROOT", os.Getenv("GOROOT")) ++ os.Setenv("GOROOT", goroot_bootstrap) ++ ++ defer os.Setenv("GOPATH", os.Getenv("GOPATH")) ++ os.Setenv("GOPATH", workspace) ++ ++ defer os.Setenv("GOBIN", os.Getenv("GOBIN")) ++ os.Setenv("GOBIN", "") ++ ++ os.Setenv("GOOS", "") ++ os.Setenv("GOHOSTOS", "") ++ os.Setenv("GOARCH", "") ++ os.Setenv("GOHOSTARCH", "") ++ ++ // Create the build config files. ++ mkbuildcfg(pathf("%s/src/internal/buildcfg/zbootstrap.go", goroot)) ++ mkobjabi(pathf("%s/src/cmd/internal/objabi/zbootstrap.go", goroot)) ++ + // Copy source code into $GOROOT/pkg/bootstrap and rewrite import paths. + writefile("module bootstrap\n", pathf("%s/%s", base, "go.mod"), 0) + for _, dir := range bootstrapDirs { +@@ -176,30 +201,6 @@ func bootstrapBuildTools() { + }) + } + +- // Set up environment for invoking Go 1.4 go command. +- // GOROOT points at Go 1.4 GOROOT, +- // GOPATH points at our bootstrap workspace, +- // GOBIN is empty, so that binaries are installed to GOPATH/bin, +- // and GOOS, GOHOSTOS, GOARCH, and GOHOSTOS are empty, +- // so that Go 1.4 builds whatever kind of binary it knows how to build. +- // Restore GOROOT, GOPATH, and GOBIN when done. +- // Don't bother with GOOS, GOHOSTOS, GOARCH, and GOHOSTARCH, +- // because setup will take care of those when bootstrapBuildTools returns. +- +- defer os.Setenv("GOROOT", os.Getenv("GOROOT")) +- os.Setenv("GOROOT", goroot_bootstrap) +- +- defer os.Setenv("GOPATH", os.Getenv("GOPATH")) +- os.Setenv("GOPATH", workspace) +- +- defer os.Setenv("GOBIN", os.Getenv("GOBIN")) +- os.Setenv("GOBIN", "") +- +- os.Setenv("GOOS", "") +- os.Setenv("GOHOSTOS", "") +- os.Setenv("GOARCH", "") +- os.Setenv("GOHOSTARCH", "") +- + // Run Go 1.4 to build binaries. Use -gcflags=-l to disable inlining to + // workaround bugs in Go 1.4's compiler. See discussion thread: + // https://groups.google.com/d/msg/golang-dev/Ss7mCKsvk8w/Gsq7VYI0AwAJ +@@ -221,6 +222,7 @@ func bootstrapBuildTools() { + cmd = append(cmd, "-toolexec="+tool) + } + cmd = append(cmd, "bootstrap/cmd/...") ++ + run(base, ShowOutput|CheckExit, cmd...) + + // Copy binaries into tool binary directory. +-- +2.35.1 + diff --git a/package/go/Config.in.host b/package/go/Config.in.host index e82ab6e81a..ded02d3b3a 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -5,10 +5,16 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ - || BR2_mips64 || BR2_mips64el || BR2_s390x + || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x depends on !BR2_ARM_CPU_ARMV4 # MIPS R6 support in Go has not yet been developed. depends on !BR2_MIPS_CPU_MIPS64R6 + # Go doesn't support Risc-v 32-bit. + depends on !BR2_RISCV_32 + # Go requires the following Risc-v General (G) features: + depends on !BR2_riscv || (BR2_RISCV_ISA_RVI && \ + BR2_RISCV_ISA_RVM && BR2_RISCV_ISA_RVA && \ + BR2_RISCV_ISA_RVF && BR2_RISCV_ISA_RVD) config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS bool diff --git a/package/go/go.mk b/package/go/go.mk index 817363d8ff..305a4926ee 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -63,6 +63,8 @@ else ifeq ($(BR2_mips64),y) GO_GOARCH = mips64 else ifeq ($(BR2_mips64el),y) GO_GOARCH = mips64le +else ifeq ($(BR2_riscv),y) +GO_GOARCH = riscv64 else ifeq ($(BR2_s390x),y) GO_GOARCH = s390x endif From 04d6e03f323ac9b9d782436bf864accde50ded47 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 2 Jun 2022 14:18:18 -0700 Subject: [PATCH 082/150] package/go: update patch for go-bootstrap fix Add a patch to fix a build failure due to the target GOARCH being used while bootstrapping the Go compiler with the go-bootstrap compiler. Uses the host architecture variable instead. This commit updates the patch with improvements from the upstream PR. PR: https://github.com/golang/go/pull/52362 Signed-off-by: Christian Stewart Signed-off-by: Yann E. MORIN --- ...set-environment-before-generating-bu.patch | 119 ------------------ ...use-gohostarch-for-ssa-rewrite-check.patch | 95 ++++++++++++++ 2 files changed, 95 insertions(+), 119 deletions(-) delete mode 100644 package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch create mode 100644 package/go/0002-cmd-dist-use-gohostarch-for-ssa-rewrite-check.patch diff --git a/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch b/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch deleted file mode 100644 index 5a6b694857..0000000000 --- a/package/go/0002-build-bootstrap-set-environment-before-generating-bu.patch +++ /dev/null @@ -1,119 +0,0 @@ -From 4d43f7c4dd06e6f62be446996019d4505af54764 Mon Sep 17 00:00:00 2001 -From: Christian Stewart -Date: Thu, 14 Apr 2022 13:34:26 -0700 -Subject: [PATCH] build: bootstrap: set environment before generating buildcfg - -The GOOS and GOARCH environment variables should be unset before calling -mkbuildcfg. This change fixes a build failure when GOARCH=riscv64. - -Building Go toolchain1 using go-1.4-bootstrap-20171003. -src/cmd/compile/internal/ssa/rewriteRISCV64.go:4814 -invalid operation: y << x (shift count type int64, must be unsigned integer) - -There is a build issue with go1.4 with the riscv64 code: however, why is the -riscv64 code being compiled at all? - -GOARCH is set when calling mkbuildcfg, so go1.4 is trying to compile riscv64. - -[Buildroot]: submitted to upstream: - - - https://github.com/golang/go/issues/52583 - - https://go-review.googlesource.com/c/go/+/400376 - - GitHub-Pull-Request: golang/go#52362 - -Signed-off-by: Christian Stewart ---- - src/cmd/dist/buildtool.go | 56 ++++++++++++++++++++------------------- - 1 file changed, 29 insertions(+), 27 deletions(-) - -diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go -index f1f3d50b6f..dabf01cf84 100644 ---- a/src/cmd/dist/buildtool.go -+++ b/src/cmd/dist/buildtool.go -@@ -116,9 +116,6 @@ func bootstrapBuildTools() { - } - xprintf("Building Go toolchain1 using %s.\n", goroot_bootstrap) - -- mkbuildcfg(pathf("%s/src/internal/buildcfg/zbootstrap.go", goroot)) -- mkobjabi(pathf("%s/src/cmd/internal/objabi/zbootstrap.go", goroot)) -- - // Use $GOROOT/pkg/bootstrap as the bootstrap workspace root. - // We use a subdirectory of $GOROOT/pkg because that's the - // space within $GOROOT where we store all generated objects. -@@ -130,6 +127,34 @@ func bootstrapBuildTools() { - base := pathf("%s/src/bootstrap", workspace) - xmkdirall(base) - -+ // Set up environment for invoking Go 1.4 go command. -+ // GOROOT points at Go 1.4 GOROOT, -+ // GOPATH points at our bootstrap workspace, -+ // GOBIN is empty, so that binaries are installed to GOPATH/bin, -+ // and GOOS, GOHOSTOS, GOARCH, and GOHOSTOS are empty, -+ // so that Go 1.4 builds whatever kind of binary it knows how to build. -+ // Restore GOROOT, GOPATH, and GOBIN when done. -+ // Don't bother with GOOS, GOHOSTOS, GOARCH, and GOHOSTARCH, -+ // because setup will take care of those when bootstrapBuildTools returns. -+ -+ defer os.Setenv("GOROOT", os.Getenv("GOROOT")) -+ os.Setenv("GOROOT", goroot_bootstrap) -+ -+ defer os.Setenv("GOPATH", os.Getenv("GOPATH")) -+ os.Setenv("GOPATH", workspace) -+ -+ defer os.Setenv("GOBIN", os.Getenv("GOBIN")) -+ os.Setenv("GOBIN", "") -+ -+ os.Setenv("GOOS", "") -+ os.Setenv("GOHOSTOS", "") -+ os.Setenv("GOARCH", "") -+ os.Setenv("GOHOSTARCH", "") -+ -+ // Create the build config files. -+ mkbuildcfg(pathf("%s/src/internal/buildcfg/zbootstrap.go", goroot)) -+ mkobjabi(pathf("%s/src/cmd/internal/objabi/zbootstrap.go", goroot)) -+ - // Copy source code into $GOROOT/pkg/bootstrap and rewrite import paths. - writefile("module bootstrap\n", pathf("%s/%s", base, "go.mod"), 0) - for _, dir := range bootstrapDirs { -@@ -176,30 +201,6 @@ func bootstrapBuildTools() { - }) - } - -- // Set up environment for invoking Go 1.4 go command. -- // GOROOT points at Go 1.4 GOROOT, -- // GOPATH points at our bootstrap workspace, -- // GOBIN is empty, so that binaries are installed to GOPATH/bin, -- // and GOOS, GOHOSTOS, GOARCH, and GOHOSTOS are empty, -- // so that Go 1.4 builds whatever kind of binary it knows how to build. -- // Restore GOROOT, GOPATH, and GOBIN when done. -- // Don't bother with GOOS, GOHOSTOS, GOARCH, and GOHOSTARCH, -- // because setup will take care of those when bootstrapBuildTools returns. -- -- defer os.Setenv("GOROOT", os.Getenv("GOROOT")) -- os.Setenv("GOROOT", goroot_bootstrap) -- -- defer os.Setenv("GOPATH", os.Getenv("GOPATH")) -- os.Setenv("GOPATH", workspace) -- -- defer os.Setenv("GOBIN", os.Getenv("GOBIN")) -- os.Setenv("GOBIN", "") -- -- os.Setenv("GOOS", "") -- os.Setenv("GOHOSTOS", "") -- os.Setenv("GOARCH", "") -- os.Setenv("GOHOSTARCH", "") -- - // Run Go 1.4 to build binaries. Use -gcflags=-l to disable inlining to - // workaround bugs in Go 1.4's compiler. See discussion thread: - // https://groups.google.com/d/msg/golang-dev/Ss7mCKsvk8w/Gsq7VYI0AwAJ -@@ -221,6 +222,7 @@ func bootstrapBuildTools() { - cmd = append(cmd, "-toolexec="+tool) - } - cmd = append(cmd, "bootstrap/cmd/...") -+ - run(base, ShowOutput|CheckExit, cmd...) - - // Copy binaries into tool binary directory. --- -2.35.1 - diff --git a/package/go/0002-cmd-dist-use-gohostarch-for-ssa-rewrite-check.patch b/package/go/0002-cmd-dist-use-gohostarch-for-ssa-rewrite-check.patch new file mode 100644 index 0000000000..2346208640 --- /dev/null +++ b/package/go/0002-cmd-dist-use-gohostarch-for-ssa-rewrite-check.patch @@ -0,0 +1,95 @@ +From 38d841a18ab0bcb63554fed6b38012e504599891 Mon Sep 17 00:00:00 2001 +From: Christian Stewart +Date: Wed, 1 Jun 2022 20:52:12 +0000 +Subject: [PATCH] cmd/dist: use gohostarch for ssa rewrite check + +Fix a build failure when bootstrapping the Go compiler with go-bootstrap 1.4 +while the environment contains GOARCH=riscv64. + +Building Go toolchain1 using go-1.4-bootstrap-20171003. +src/cmd/compile/internal/ssa/rewriteRISCV64.go:4814 +invalid operation: y << x (shift count type int64, must be unsigned integer) + +This is because: + + - buildtool.go:198: calls bootstrapRewriteFile(src) + - bootstrapRewriteFile: buildtool.go:283 calls: + - isUnneededSSARewriteFile: checks os.Getenv("GOARCH") + - isUnneededSSARewriteFile: returns "", false + - bootstrapRewriteFile: calls bootstrapFixImports + - boostrapFixImports: generates code go1.4 cannot compile + +Instead of checking "GOARCH" in the environment, use the gohostarch variable. + +Change-Id: Ie9c190498555c4068461fead6278a62e924062c6 +GitHub-Last-Rev: 300d7a7fea0a67c696970fd271e2ce709674a658 +GitHub-Pull-Request: golang/go#52362 +Reviewed-on: https://go-review.googlesource.com/c/go/+/400376 +Reviewed-by: Bryan Mills +TryBot-Result: Gopher Robot +Reviewed-by: Dmitri Shuralyov +Auto-Submit: Bryan Mills +Run-TryBot: Bryan Mills +Reviewed-by: Joel Sing +Run-TryBot: Joel Sing +--- + src/cmd/dist/buildtool.go | 16 ++++++---------- + 1 file changed, 6 insertions(+), 10 deletions(-) + +diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go +index 036f8c52fa..2d8ace52d8 100644 +--- a/src/cmd/dist/buildtool.go ++++ b/src/cmd/dist/buildtool.go +@@ -16,7 +16,6 @@ import ( + "os" + "path/filepath" + "regexp" +- "runtime" + "strings" + ) + +@@ -239,11 +238,11 @@ var ssaRewriteFileSubstring = filepath.FromSlash("src/cmd/compile/internal/ssa/r + + // isUnneededSSARewriteFile reports whether srcFile is a + // src/cmd/compile/internal/ssa/rewriteARCHNAME.go file for an +-// architecture that isn't for the current runtime.GOARCH. ++// architecture that isn't for the given GOARCH. + // + // When unneeded is true archCaps is the rewrite base filename without + // the "rewrite" prefix or ".go" suffix: AMD64, 386, ARM, ARM64, etc. +-func isUnneededSSARewriteFile(srcFile string) (archCaps string, unneeded bool) { ++func isUnneededSSARewriteFile(srcFile, goArch string) (archCaps string, unneeded bool) { + if !strings.Contains(srcFile, ssaRewriteFileSubstring) { + return "", false + } +@@ -258,13 +257,10 @@ func isUnneededSSARewriteFile(srcFile string) (archCaps string, unneeded bool) { + archCaps = fileArch + fileArch = strings.ToLower(fileArch) + fileArch = strings.TrimSuffix(fileArch, "splitload") +- if fileArch == os.Getenv("GOHOSTARCH") { ++ if fileArch == goArch { + return "", false + } +- if fileArch == strings.TrimSuffix(runtime.GOARCH, "le") { +- return "", false +- } +- if fileArch == strings.TrimSuffix(os.Getenv("GOARCH"), "le") { ++ if fileArch == strings.TrimSuffix(goArch, "le") { + return "", false + } + return archCaps, true +@@ -273,9 +269,9 @@ func isUnneededSSARewriteFile(srcFile string) (archCaps string, unneeded bool) { + func bootstrapRewriteFile(srcFile string) string { + // During bootstrap, generate dummy rewrite files for + // irrelevant architectures. We only need to build a bootstrap +- // binary that works for the current runtime.GOARCH. ++ // binary that works for the current gohostarch. + // This saves 6+ seconds of bootstrap. +- if archCaps, ok := isUnneededSSARewriteFile(srcFile); ok { ++ if archCaps, ok := isUnneededSSARewriteFile(srcFile, gohostarch); ok { + return fmt.Sprintf(`// Code generated by go tool dist; DO NOT EDIT. + + package ssa +-- +2.35.1 + From 7f9e7912f757eb30fcde1cdac9a17946081ea4d3 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Fri, 20 May 2022 20:51:30 -0700 Subject: [PATCH 083/150] package/go: set goos variable to linux This commit fixes a build error when the host environment has GOOS set to something other than "linux." For example, cd ./buildroot GOOS="js" make This will cause a build failure. Override GOOS to be either empty for host packages or set to "linux" for target packages. Signed-off-by: Christian Stewart Signed-off-by: Yann E. MORIN --- package/go/go.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/go/go.mk b/package/go/go.mk index 305a4926ee..f9445c7dd3 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -73,6 +73,7 @@ endif HOST_GO_TOOLDIR = $(HOST_GO_ROOT)/pkg/tool/linux_$(GO_GOARCH) HOST_GO_TARGET_ENV = \ $(HOST_GO_COMMON_ENV) \ + GOOS="linux" \ GOARCH=$(GO_GOARCH) \ GOCACHE="$(HOST_GO_TARGET_CACHE)" \ CC="$(TARGET_CC)" \ @@ -95,6 +96,7 @@ endif HOST_GO_CROSS_ENV = \ CC_FOR_TARGET="$(TARGET_CC)" \ CXX_FOR_TARGET="$(TARGET_CXX)" \ + GOOS="linux" \ GOARCH=$(GO_GOARCH) \ $(if $(GO_GO386),GO386=$(GO_GO386)) \ $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ @@ -109,6 +111,7 @@ endif # BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS # For the convenience of host golang packages HOST_GO_HOST_ENV = \ $(HOST_GO_COMMON_ENV) \ + GOOS="" \ GOARCH="" \ GOCACHE="$(HOST_GO_HOST_CACHE)" \ CC="$(HOSTCC_NOCCACHE)" \ From c48fc5e510af162b0b8e4960cba7f830f4ab9c9b Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 2 Jun 2022 20:40:12 -0700 Subject: [PATCH 084/150] package/go: security bump to version 1.18.3 go1.18.3 includes security fixes to the crypto/rand, crypto/tls, os/exec, and path/filepath packages, as well as bug fixes to the compiler, and the crypto/tls and text/template/parse packages. https://go.dev/doc/devel/release#go1.18 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 6a9480ff99..45af1fc06f 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://golang.org/dl/ -sha256 2c44d03ea2c34092137ab919ba602f2c261a038d08eb468528a3f3a28e5667e2 go1.18.2.src.tar.gz +sha256 0012386ddcbb5f3350e407c679923811dbd283fcdc421724931614a842ecbc2d go1.18.3.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index f9445c7dd3..6767b1481d 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.18.2 +GO_VERSION = 1.18.3 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From ff6609d2446d9adf027fc8aaab620a2a61b15764 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Mon, 1 Aug 2022 18:33:59 -0700 Subject: [PATCH 085/150] package/go: security bump to 1.18.5 go1.18.4 includes security fixes to the compress/gzip, encoding/gob, encoding/xml, go/parser, io/fs, net/http, and path/filepath packages, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the runtime/metrics package. go1.18.5 includes security fixes to the encoding/gob and math/big packages, as well as bug fixes to the compiler, the go command, the runtime, and the testing package. https://go.dev/doc/devel/release#go1.18.minor Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/go/go.hash | 4 ++-- package/go/go.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 45af1fc06f..2a0f02abfd 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ -# From https://golang.org/dl/ -sha256 0012386ddcbb5f3350e407c679923811dbd283fcdc421724931614a842ecbc2d go1.18.3.src.tar.gz +# From https://go.dev/dl +sha256 9920d3306a1ac536cdd2c796d6cb3c54bc559c226fc3cc39c32f1e0bd7f50d2a go1.18.5.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 6767b1481d..83498823b1 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.18.3 +GO_VERSION = 1.18.5 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 0dcb3aafc0fc0a9d65633edae8c7bb8f1d1a3872 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 3 Aug 2022 19:44:38 -0700 Subject: [PATCH 086/150] package/go: fix go on riscv64 in sv57 mode On machines supporting Riscv SV57 mode like Qemu, Go programs currently crash with the following type of error: runtime: lfstack.push invalid packing: node=0xffffff5908a940 cnt=0x1 packed=0xffff5908a9400001 -> node=0xffff5908a940 The upstream PR fixes this error, but has not yet been merged. Upstream: https://go-review.googlesource.com/c/go/+/409055/4 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- ...03-runtime-support-riscv64-SV57-mode.patch | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 package/go/0003-runtime-support-riscv64-SV57-mode.patch diff --git a/package/go/0003-runtime-support-riscv64-SV57-mode.patch b/package/go/0003-runtime-support-riscv64-SV57-mode.patch new file mode 100644 index 0000000000..f51c2ca093 --- /dev/null +++ b/package/go/0003-runtime-support-riscv64-SV57-mode.patch @@ -0,0 +1,65 @@ +From 6618c7af436488fa12018cdcd31eeedb3a698745 Mon Sep 17 00:00:00 2001 +From: Dmitry Vyukov +Date: Fri, 27 May 2022 18:55:35 +0200 +Subject: [PATCH] runtime: support riscv64 SV57 mode + +Riscv64 has SV57 mode when user-space VA is 56 bits. +Linux kernel recently got support for this mode and Go binaries started crashing as: + +runtime: lfstack.push invalid packing: node=0xffffff5908a940 cnt=0x1 +packed=0xffff5908a9400001 -> node=0xffff5908a940 + +Adjust lfstack code to use only 8 top bits of pointers on riscv64. + +For context see: +https://groups.google.com/g/syzkaller-bugs/c/lU0GQTZoNQQ/m/O_c3vmE3AAAJ + +Update #54104 + +Change-Id: Ib5d3d6a79c0c6eddf11618d73fcc8bc1832a9c25 +Signed-off-by: Christian Stewart +--- + +Upstream: https://go-review.googlesource.com/c/go/+/409055/4 +--- + src/runtime/lfstack_64bit.go | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/src/runtime/lfstack_64bit.go b/src/runtime/lfstack_64bit.go +index 154130cf63..39fa647b9e 100644 +--- a/src/runtime/lfstack_64bit.go ++++ b/src/runtime/lfstack_64bit.go +@@ -36,12 +36,21 @@ const ( + // We use one bit to distinguish between the two ranges. + aixAddrBits = 57 + aixCntBits = 64 - aixAddrBits + 3 ++ ++ // Riscv64 SV57 mode gives 56 bits of userspace VA. ++ // lfstack code supports it, but broader support for SV57 mode is incomplete, ++ // and there may be other issues (see #54104). ++ riscv64AddrBits = 56 ++ riscv64CntBits = 64 - riscv64AddrBits + 3 + ) + + func lfstackPack(node *lfnode, cnt uintptr) uint64 { + if GOARCH == "ppc64" && GOOS == "aix" { + return uint64(uintptr(unsafe.Pointer(node)))<<(64-aixAddrBits) | uint64(cnt&(1<> aixCntBits << 3) | 0xa<<56))) + } ++ if GOARCH == "riscv64" { ++ return (*lfnode)(unsafe.Pointer(uintptr(val >> riscv64CntBits << 3))) ++ } + return (*lfnode)(unsafe.Pointer(uintptr(val >> cntBits << 3))) + } +-- +2.35.1 + From 25ab2f33ce05defb71f9877efcb22831956b616e Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 3 Aug 2022 19:41:26 -0700 Subject: [PATCH 087/150] package/go: bump to version 1.19 Go 1.19 is a major release with changes to the implementation of the toolchain, runtime, and libraries. Dropped patch 0002-cmd-dist-use-gohostarch... as it was merged upstream. https://go.dev/doc/go1.19 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- ...explicit-option-for-crosscompilation.patch | 4 +- ...use-gohostarch-for-ssa-rewrite-check.patch | 95 ------------------- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 4 files changed, 4 insertions(+), 99 deletions(-) delete mode 100644 package/go/0002-cmd-dist-use-gohostarch-for-ssa-rewrite-check.patch diff --git a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/0001-build.go-explicit-option-for-crosscompilation.patch index 3a9b47474c..992a83a644 100644 --- a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch +++ b/package/go/0001-build.go-explicit-option-for-crosscompilation.patch @@ -1,4 +1,4 @@ -From 335c6245674088de616324398137416c7a1cbe8f Mon Sep 17 00:00:00 2001 +From 6aed475557032a7ff9009e9b4b691b40b561876a Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci Date: Tue, 8 May 2018 16:08:44 +0200 Subject: [PATCH] build.go: explicit option for crosscompilation @@ -17,7 +17,7 @@ Signed-off-by: Anisse Astier 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go -index f99f1f4e43..08a9f24f59 100644 +index 7c44c4a605..03500920c4 100644 --- a/src/cmd/dist/build.go +++ b/src/cmd/dist/build.go @@ -286,12 +286,13 @@ func xinit() { diff --git a/package/go/0002-cmd-dist-use-gohostarch-for-ssa-rewrite-check.patch b/package/go/0002-cmd-dist-use-gohostarch-for-ssa-rewrite-check.patch deleted file mode 100644 index 2346208640..0000000000 --- a/package/go/0002-cmd-dist-use-gohostarch-for-ssa-rewrite-check.patch +++ /dev/null @@ -1,95 +0,0 @@ -From 38d841a18ab0bcb63554fed6b38012e504599891 Mon Sep 17 00:00:00 2001 -From: Christian Stewart -Date: Wed, 1 Jun 2022 20:52:12 +0000 -Subject: [PATCH] cmd/dist: use gohostarch for ssa rewrite check - -Fix a build failure when bootstrapping the Go compiler with go-bootstrap 1.4 -while the environment contains GOARCH=riscv64. - -Building Go toolchain1 using go-1.4-bootstrap-20171003. -src/cmd/compile/internal/ssa/rewriteRISCV64.go:4814 -invalid operation: y << x (shift count type int64, must be unsigned integer) - -This is because: - - - buildtool.go:198: calls bootstrapRewriteFile(src) - - bootstrapRewriteFile: buildtool.go:283 calls: - - isUnneededSSARewriteFile: checks os.Getenv("GOARCH") - - isUnneededSSARewriteFile: returns "", false - - bootstrapRewriteFile: calls bootstrapFixImports - - boostrapFixImports: generates code go1.4 cannot compile - -Instead of checking "GOARCH" in the environment, use the gohostarch variable. - -Change-Id: Ie9c190498555c4068461fead6278a62e924062c6 -GitHub-Last-Rev: 300d7a7fea0a67c696970fd271e2ce709674a658 -GitHub-Pull-Request: golang/go#52362 -Reviewed-on: https://go-review.googlesource.com/c/go/+/400376 -Reviewed-by: Bryan Mills -TryBot-Result: Gopher Robot -Reviewed-by: Dmitri Shuralyov -Auto-Submit: Bryan Mills -Run-TryBot: Bryan Mills -Reviewed-by: Joel Sing -Run-TryBot: Joel Sing ---- - src/cmd/dist/buildtool.go | 16 ++++++---------- - 1 file changed, 6 insertions(+), 10 deletions(-) - -diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go -index 036f8c52fa..2d8ace52d8 100644 ---- a/src/cmd/dist/buildtool.go -+++ b/src/cmd/dist/buildtool.go -@@ -16,7 +16,6 @@ import ( - "os" - "path/filepath" - "regexp" -- "runtime" - "strings" - ) - -@@ -239,11 +238,11 @@ var ssaRewriteFileSubstring = filepath.FromSlash("src/cmd/compile/internal/ssa/r - - // isUnneededSSARewriteFile reports whether srcFile is a - // src/cmd/compile/internal/ssa/rewriteARCHNAME.go file for an --// architecture that isn't for the current runtime.GOARCH. -+// architecture that isn't for the given GOARCH. - // - // When unneeded is true archCaps is the rewrite base filename without - // the "rewrite" prefix or ".go" suffix: AMD64, 386, ARM, ARM64, etc. --func isUnneededSSARewriteFile(srcFile string) (archCaps string, unneeded bool) { -+func isUnneededSSARewriteFile(srcFile, goArch string) (archCaps string, unneeded bool) { - if !strings.Contains(srcFile, ssaRewriteFileSubstring) { - return "", false - } -@@ -258,13 +257,10 @@ func isUnneededSSARewriteFile(srcFile string) (archCaps string, unneeded bool) { - archCaps = fileArch - fileArch = strings.ToLower(fileArch) - fileArch = strings.TrimSuffix(fileArch, "splitload") -- if fileArch == os.Getenv("GOHOSTARCH") { -+ if fileArch == goArch { - return "", false - } -- if fileArch == strings.TrimSuffix(runtime.GOARCH, "le") { -- return "", false -- } -- if fileArch == strings.TrimSuffix(os.Getenv("GOARCH"), "le") { -+ if fileArch == strings.TrimSuffix(goArch, "le") { - return "", false - } - return archCaps, true -@@ -273,9 +269,9 @@ func isUnneededSSARewriteFile(srcFile string) (archCaps string, unneeded bool) { - func bootstrapRewriteFile(srcFile string) string { - // During bootstrap, generate dummy rewrite files for - // irrelevant architectures. We only need to build a bootstrap -- // binary that works for the current runtime.GOARCH. -+ // binary that works for the current gohostarch. - // This saves 6+ seconds of bootstrap. -- if archCaps, ok := isUnneededSSARewriteFile(srcFile); ok { -+ if archCaps, ok := isUnneededSSARewriteFile(srcFile, gohostarch); ok { - return fmt.Sprintf(`// Code generated by go tool dist; DO NOT EDIT. - - package ssa --- -2.35.1 - diff --git a/package/go/go.hash b/package/go/go.hash index 2a0f02abfd..2b877145e9 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 9920d3306a1ac536cdd2c796d6cb3c54bc559c226fc3cc39c32f1e0bd7f50d2a go1.18.5.src.tar.gz +sha256 9419cc70dc5a2523f29a77053cafff658ed21ef3561d9b6b020280ebceab28b9 go1.19.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 83498823b1..faf8112418 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.18.5 +GO_VERSION = 1.19 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 64324764cae83e8098450d89ee0361f53b6314f1 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 6 Sep 2022 22:21:57 -0700 Subject: [PATCH 088/150] package/go: security bump to version 1.19.1 go1.19.1 includes security fixes to the net/http and net/url packages, as well as bug fixes to the compiler, the go command, the pprof command, the linker, the runtime, and the crypto/tls and crypto/x509 packages. https://github.com/golang/go/issues?q=milestone%3AGo1.19.1+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Yann E. MORIN --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 2b877145e9..657475adef 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 9419cc70dc5a2523f29a77053cafff658ed21ef3561d9b6b020280ebceab28b9 go1.19.src.tar.gz +sha256 27871baa490f3401414ad793fba49086f6c855b1c584385ed7771e1204c7e179 go1.19.1.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index faf8112418..76ce8e6f85 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19 +GO_VERSION = 1.19.1 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 1cbc74a57cdad9bcd78ed26445308a05b6ac4c9f Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 26 Oct 2022 12:35:08 -0700 Subject: [PATCH 089/150] package/go: security bump to 1.19.2 go1.19.2 includes security fixes to the archive/tar, net/http/httputil, and regexp packages, as well as bug fixes to the compiler, the linker, the runtime, and the go/types package. https://go.dev/doc/devel/release#go1.19 https://github.com/golang/go/issues?q=milestone%3AGo1.19.2+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 657475adef..f944bd5304 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 27871baa490f3401414ad793fba49086f6c855b1c584385ed7771e1204c7e179 go1.19.1.src.tar.gz +sha256 2ce930d70a931de660fdaf271d70192793b1b240272645bf0275779f6704df6b go1.19.2.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 76ce8e6f85..ad0422e0b7 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.1 +GO_VERSION = 1.19.2 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 3eb843f1d5bfc43c44e220d359ec490b8feb132d Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 1 Nov 2022 15:15:37 -0700 Subject: [PATCH 090/150] package/go: security bump to go 1.19.3 go1.19.3 (released 2022-11-01) includes security fixes to the os/exec and syscall packages, as well as bug fixes to the compiler and the runtime. Fixes: CVE-2022-41716 NOTE: this CVE is specific to Windows and is not directly relevant to Buildroot. https://go.dev/doc/devel/release#go1.19 https://github.com/golang/go/issues?q=milestone%3AGo1.19.3+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index f944bd5304..866e7e0d59 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 2ce930d70a931de660fdaf271d70192793b1b240272645bf0275779f6704df6b go1.19.2.src.tar.gz +sha256 18ac263e39210bcf68d85f4370e97fb1734166995a1f63fb38b4f6e07d90d212 go1.19.3.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index ad0422e0b7..5ba9e79209 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.2 +GO_VERSION = 1.19.3 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From c77ffec3911907a638476b425b9ebd1bc78c5d71 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 6 Dec 2022 19:16:01 -0800 Subject: [PATCH 091/150] package/go: security bump to version 1.19.4 Includes 2 security fixes following the security policy. - CVE-2022-41720: https://go.dev/issue/56694 - CVE-2022-41717: https://go.dev/issue/56350 https://groups.google.com/g/golang-nuts/c/rQgaDWEvUrE https://github.com/golang/go/issues?q=milestone%3AGo1.19.4+label%3ACherryPickApproved+ Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 866e7e0d59..d35db10213 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 18ac263e39210bcf68d85f4370e97fb1734166995a1f63fb38b4f6e07d90d212 go1.19.3.src.tar.gz +sha256 eda74db4ac494800a3e66ee784e495bfbb9b8e535df924a8b01b1a8028b7f368 go1.19.4.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 5ba9e79209..7db6c310cd 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.3 +GO_VERSION = 1.19.4 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 982a298aa8a112bf057026dc7f1ceb91299c56a5 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 11 Jan 2023 20:05:01 -0800 Subject: [PATCH 092/150] package/go: bump version to 1.19.5 go1.19.5 (released 2023-01-10) includes fixes to the compiler, the linker, and the crypto/x509, net/http, sync/atomic, and syscall packages. https://github.com/golang/go/issues?q=milestone%3AGo1.19.5+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index d35db10213..4c22f0f274 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 eda74db4ac494800a3e66ee784e495bfbb9b8e535df924a8b01b1a8028b7f368 go1.19.4.src.tar.gz +sha256 8e486e8e85a281fc5ce3f0bedc5b9d2dbf6276d7db0b25d3ec034f313da0375f go1.19.5.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 7db6c310cd..fcd46c477e 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.4 +GO_VERSION = 1.19.5 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 862220a474de533bed4fd99845b9cc57e7c128bb Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 16 Jan 2023 11:50:31 +0100 Subject: [PATCH 093/150] package/go: set GOCACHE for download post-process The go mod vendor call in support/download/go-post-process accesses the go cache, so pass GOCACHE= in the environment to ensure our cache directory is used. The go cache defaults to ~/.cache/go-build if not set, so this fixes builds where that location (or GOCACHE if set in the environment) is not writable: rm -rf ~/.cache/go-build chmod -w ~/.cache make docker-compose-source .. failed to initialize build cache at /home/peko/.cache/go-build: mkdir /home/peko/.cache/go-build: permission denied make[1]: *** [package/pkg-generic.mk:189: /home/peko/source/buildroot/output/build/docker-compose-2.14.0/.stamp_downloaded] Error 1 We use two different cache directories for target and host builds, but the download/vendoring should be independent of the architecture, so use the target variant even for host-only packages for simplicity. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/go/go.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/go/go.mk b/package/go/go.mk index fcd46c477e..dbc77258c0 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -25,6 +25,7 @@ HOST_GO_COMMON_ENV = \ GOFLAGS=-mod=vendor \ GOROOT="$(HOST_GO_ROOT)" \ GOPATH="$(HOST_GO_GOPATH)" \ + GOCACHE="$(HOST_GO_TARGET_CACHE)" \ GOPROXY=off \ PATH=$(BR_PATH) \ GOBIN= \ @@ -75,7 +76,6 @@ HOST_GO_TARGET_ENV = \ $(HOST_GO_COMMON_ENV) \ GOOS="linux" \ GOARCH=$(GO_GOARCH) \ - GOCACHE="$(HOST_GO_TARGET_CACHE)" \ CC="$(TARGET_CC)" \ CXX="$(TARGET_CXX)" \ CGO_CFLAGS="$(TARGET_CFLAGS)" \ From 96d2c543b2a716eeb18b0372971e2a6d3f27c537 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 16 Jan 2023 11:50:32 +0100 Subject: [PATCH 094/150] package/go: explicitly set GOMODCACHE go mod vendor caches downloaded modules to the Go module cache, which defaults to $GOPATH/pkg/mod - But can be overridden with the GOMODCACHE environment variable: https://go.dev/ref/mod#module-cache So explicitly set GOMODCACHE= for reproducibility. Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index dbc77258c0..fb175fceb7 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -26,6 +26,7 @@ HOST_GO_COMMON_ENV = \ GOROOT="$(HOST_GO_ROOT)" \ GOPATH="$(HOST_GO_GOPATH)" \ GOCACHE="$(HOST_GO_TARGET_CACHE)" \ + GOMODCACHE="$(HOST_GO_GOPATH)/pkg/mod" \ GOPROXY=off \ PATH=$(BR_PATH) \ GOBIN= \ From 47b04d263282ebc8941d3e39fd6ee0c6f289e060 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 14 Feb 2023 23:29:23 -0800 Subject: [PATCH 095/150] package/go: security bump to version 1.19.6 go1.19.6 (released 2023-02-14) includes security fixes to the crypto/tls, mime/multipart, net/http, and path/filepath packages, as well as bug fixes to the go command, the linker, the runtime, and the crypto/x509, net/http, and time packages. See the Go 1.19.6 milestone on the Go issue tracker for details. CVE-2022-41725: net/http, mime/multipart: denial of service from excessive resource consumption CVE-2022-41724: crypto/tls: large handshake records may cause panics CVE-2022-41723: net/http: avoid quadratic complexity in HPACK decoding https://go.dev/doc/devel/release#go1.19.minor Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 4c22f0f274..8254a91524 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 8e486e8e85a281fc5ce3f0bedc5b9d2dbf6276d7db0b25d3ec034f313da0375f go1.19.5.src.tar.gz +sha256 d7f0013f82e6d7f862cc6cb5c8cdb48eef5f2e239b35baa97e2f1a7466043767 go1.19.6.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index fb175fceb7..25c3cbb7c3 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.5 +GO_VERSION = 1.19.6 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From f02dce47ca3f1c2d7b8c5b4fc08f23a6360f8232 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 12 Mar 2023 15:45:15 +0100 Subject: [PATCH 096/150] package/go: security bump to version 1.19.7 go1.19.7 (released 2023-03-07) includes a security fix to the crypto/elliptic package, as well as bug fixes to the linker, the runtime, and the crypto/x509 and syscall packages. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 8254a91524..89e2fd952f 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 d7f0013f82e6d7f862cc6cb5c8cdb48eef5f2e239b35baa97e2f1a7466043767 go1.19.6.src.tar.gz +sha256 775bdf285ceaba940da8a2fe20122500efd7a0b65dbcee85247854a8d7402633 go1.19.7.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 25c3cbb7c3..6537de6f84 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.6 +GO_VERSION = 1.19.7 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From b8f7746428eba6e54429c14d5a97e823f791481c Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 4 Apr 2023 12:08:07 -0700 Subject: [PATCH 097/150] package/go: security bump to version 1.19.8 go1.19.8 (released 2023-04-04) includes security fixes to the go/parser, html/template, mime/multipart, net/http, and net/textproto packages, as well as bug fixes to the compiler, the linker, the runtime, and the time package. Fixes security vulnerabilities: go/parser: infinite loop in parsing (CVE-2023-24537) html/template: backticks not treated as string delimiters (CVE-2023-24538) net/http, net/textproto: denial of service from excessive memory allocation (CVE-2023-24534) net/http, net/textproto, mime/multipart: denial of service from excessive resource consumption (CVE-2023-24536) https://go.dev/doc/devel/release#go1.19.8 https://github.com/golang/go/issues?q=milestone%3AGo1.19.8+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 89e2fd952f..5488ed9710 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 775bdf285ceaba940da8a2fe20122500efd7a0b65dbcee85247854a8d7402633 go1.19.7.src.tar.gz +sha256 1d7a67929dccafeaf8a29e55985bc2b789e0499cb1a17100039f084e3238da2f go1.19.8.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 6537de6f84..0c462ee0d6 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.7 +GO_VERSION = 1.19.8 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From f83358c0ef37963101a472d47c3e49240f65ca3d Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 2 May 2023 16:23:08 -0700 Subject: [PATCH 098/150] package/go: security bump to version 1.19.9 go1.19.9 (released 2023-05-02) includes three security fixes to the html/template package, as well as bug fixes to the compiler, the runtime, and the crypto/subtle, crypto/tls, net/http, and syscall packages. CVE-2023-24539: html/template: improper sanitization of CSS values CVE-2023-24540: html/template: improper handling of JavaScript whitespace CVE-2023-29400: html/template: improper handling of empty HTML attributes https://go.dev/doc/devel/release#go1.19.9 https://github.com/golang/go/issues?q=milestone%3AGo1.19.9+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 5488ed9710..ffe42bf395 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 1d7a67929dccafeaf8a29e55985bc2b789e0499cb1a17100039f084e3238da2f go1.19.8.src.tar.gz +sha256 131190a4697a70c5b1d232df5d3f55a3f9ec0e78e40516196ffb3f09ae6a5744 go1.19.9.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 0c462ee0d6..bb55f07941 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.8 +GO_VERSION = 1.19.9 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 8b3f54c47b9a686a56d4dab2d1b6b3fb4eb247ad Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 6 Jun 2023 21:56:00 +0200 Subject: [PATCH 099/150] package/go: security bump to version 1.9.10 Fixes the following security issues: - cmd/go: cgo code injection The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected). Thanks to Juho Nurminen of Mattermost for reporting this issue. This is CVE-2023-29402 and Go issue https://go.dev/issue/60167. - runtime: unexpected behavior of setuid/setgid binaries The Go runtime didn't act any differently when a binary had the setuid/setgid bit set. On Unix platforms, if a setuid/setgid binary was executed with standard I/O file descriptors closed, opening any files could result in unexpected content being read/written with elevated prilieges. Similarly if a setuid/setgid program was terminated, either via panic or signal, it could leak the contents of its registers. Thanks to Vincent Dehors from Synacktiv for reporting this issue. This is CVE-2023-29403 and Go issue https://go.dev/issue/60272. - cmd/go: improper sanitization of LDFLAGS The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. Thanks to Juho Nurminen of Mattermost for reporting this issue. This is CVE-2023-29404 and CVE-2023-29405 and Go issues https://go.dev/issue/60305 and https://go.dev/issue/60306. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index ffe42bf395..874737ea2d 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 131190a4697a70c5b1d232df5d3f55a3f9ec0e78e40516196ffb3f09ae6a5744 go1.19.9.src.tar.gz +sha256 13755bcce529747d5f2930dee034730c86d02bd3e521ab3e2bbede548d3b953f go1.19.10.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index bb55f07941..0046eaf432 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.9 +GO_VERSION = 1.19.10 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 1a9e7c0d753c67e18a0017eddaefdb7470bb3d51 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 11 Jul 2023 15:14:56 -0700 Subject: [PATCH 100/150] package/go: security bump to version 1.19.11 go1.19.11 (released 2023-07-11) includes a security fix to the net/http package, as well as bug fixes to cgo, the cover tool, the go command, the runtime, and the go/printer package. CVE-2023-29406 and Go issue https://go.dev/issue/60374 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 874737ea2d..6d4c718a40 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 13755bcce529747d5f2930dee034730c86d02bd3e521ab3e2bbede548d3b953f go1.19.10.src.tar.gz +sha256 e25c9ab72d811142b7f41ff6da5165fec2d1be5feec3ef2c66bc0bdecb431489 go1.19.11.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 0046eaf432..66ba576d9c 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.10 +GO_VERSION = 1.19.11 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 96894a46a9abc5d8801e95308da9d6a5b3ae9652 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 11 Jul 2023 15:08:46 -0700 Subject: [PATCH 101/150] package/go-bootstrap: split into two stages: go1.4 and go1.19.10 Go 1.20 requires a minimum version of go 1.17.13 to bootstrap. https://go.dev/doc/go1.20#bootstrap As Go 1.4 was the previous version that could be compiled with C, there is now no way to bootstrap go with a C compiler, unless we use a two-stage bootstrap: - build host-go-bootstrap-1.4-20170531 - build host-go-bootstrap-1.19.10 with host-go-bootstrap-1.4-20170531 - build host-go-1.20 with host-go-bootstrap-1.19.9 This is implemented in this commit first, before upgrading host-go to 1.20. Note: the .patch files from package/go version 1.19.x are not necessary for package/go-bootstrap-stage2 and have not been included there. Previous discussion of possible alternatives: https://lore.kernel.org/all/CA+h8R2rtcynkCBsz=_9yANOEguyPCOcQDj8_ns+cv8RS8+8t9A@mail.gmail.com/ https://lore.kernel.org/all/20220525234312.643dfc03@windsurf/T/ Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 27 ++++++++-- package/Config.in.host | 3 +- package/go-bootstrap-stage1/Config.in.host | 6 +++ .../go-bootstrap-stage1.hash} | 0 .../go-bootstrap-stage1.mk | 43 +++++++++++++++ package/go-bootstrap-stage2/Config.in.host | 4 ++ .../go-bootstrap-stage2.hash | 3 ++ .../go-bootstrap-stage2.mk | 53 +++++++++++++++++++ package/go-bootstrap/Config.in.host | 7 --- package/go-bootstrap/go-bootstrap.mk | 50 ----------------- package/go/Config.in.host | 4 +- package/go/go.mk | 10 ++-- 12 files changed, 140 insertions(+), 70 deletions(-) create mode 100644 package/go-bootstrap-stage1/Config.in.host rename package/{go-bootstrap/go-bootstrap.hash => go-bootstrap-stage1/go-bootstrap-stage1.hash} (100%) create mode 100644 package/go-bootstrap-stage1/go-bootstrap-stage1.mk create mode 100644 package/go-bootstrap-stage2/Config.in.host create mode 100644 package/go-bootstrap-stage2/go-bootstrap-stage2.hash create mode 100644 package/go-bootstrap-stage2/go-bootstrap-stage2.mk delete mode 100644 package/go-bootstrap/Config.in.host delete mode 100644 package/go-bootstrap/go-bootstrap.mk diff --git a/DEVELOPERS b/DEVELOPERS index acbd8558f0..3ceb4edbd1 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -35,6 +35,7 @@ F: package/bubblewrap/ F: package/cage/ F: package/cog/ F: package/libepoxy/ +F: package/libmanette/ F: package/libpsl/ F: package/libwpe/ F: package/webkitgtk/ @@ -90,6 +91,9 @@ F: package/minimodem/ N: Alexander Lukichev F: package/openpgm/ +N: Aleksandr Makarov +F: package/libest/ + N: Alexander Mukhin F: package/tinyproxy/ @@ -110,6 +114,9 @@ N: Alexey Brodkin F: board/cubietech/cubieboard2/ F: configs/cubieboard2_defconfig +N: Alexey Lukyanchuk +F: package/zabbix/ + N: Alistair Francis F: board/sifive/ F: boot/opensbi/ @@ -121,23 +128,23 @@ F: package/dcron/ F: package/libxmlrpc/ F: package/python-docopt/ -N: Anders Darander -F: package/ktap/ +N: Anand Gadiyar +F: boot/ti-k3-r5-loader/ N: André Zwing F: package/libkrb5/ -F: package/openal/ F: package/p7zip/ F: package/wine/ N: Andreas Klinger F: package/ply/ +N: Andreas Ziegler +F: package/mpd/ + N: Andrey Smirnov -F: package/python-backports-shutil-get-terminal-size/ F: package/python-decorator/ F: package/python-ipython-genutils/ -F: package/python-pathlib2/ F: package/python-pickleshare/ F: package/python-scandir/ F: package/python-simplegeneric/ @@ -149,6 +156,9 @@ N: Andrey Yurovsky F: package/rauc/ N: Angelo Compagnucci +F: board/sipeed/lichee_rv/ +F: board/sipeed/lichee_rv_dock/ +F: configs/sipeed_lichee_rv* F: package/apparmor/ F: package/corkscrew/ F: package/cups/ @@ -160,6 +170,7 @@ F: package/i2c-tools/ F: package/jq/ F: package/libapparmor/ F: package/libb64/ +F: package/libdill/ F: package/mender/ F: package/mender-artifact/ F: package/mono/ @@ -167,6 +178,7 @@ F: package/mono-gtksharp3/ F: package/monolite/ F: package/openjpeg/ F: package/python-can/ +F: package/python-minimalmodbus/ F: package/python-pillow/ F: package/python-pydal/ F: package/python-spidev/ @@ -174,6 +186,8 @@ F: package/python-web2py/ F: package/qt5/qt5coap/ F: package/qt5/qt5knx/ F: package/qt5/qt5mqtt/ +F: package/rtl8723ds/ +F: package/rtl8723ds-bt/ F: package/sam-ba/ F: package/sshguard/ F: package/sunwait/ @@ -517,6 +531,9 @@ F: package/docker-engine/ F: package/docker-proxy/ F: package/fuse-overlayfs/ F: package/go/ +F: package/go-bootstrap-stage1/ +F: package/go-bootstrap-stage2/ +F: package/gocryptfs/ F: package/mbpfan/ F: package/mosh/ F: package/pkg-golang.mk diff --git a/package/Config.in.host b/package/Config.in.host index 6e5a5c5fc5..ae8a4665e0 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -35,7 +35,8 @@ menu "Host utilities" source "package/genpart/Config.in.host" source "package/gnupg/Config.in.host" source "package/go/Config.in.host" - source "package/go-bootstrap/Config.in.host" + source "package/go-bootstrap-stage1/Config.in.host" + source "package/go-bootstrap-stage2/Config.in.host" source "package/google-breakpad/Config.in.host" source "package/gptfdisk/Config.in.host" source "package/imagemagick/Config.in.host" diff --git a/package/go-bootstrap-stage1/Config.in.host b/package/go-bootstrap-stage1/Config.in.host new file mode 100644 index 0000000000..56a743caf9 --- /dev/null +++ b/package/go-bootstrap-stage1/Config.in.host @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE1_ARCH_SUPPORTS + bool + # See src/cmd/dist/unix.c for the list of supported architectures + default y if BR2_HOSTARCH = "x86" + default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "arm" diff --git a/package/go-bootstrap/go-bootstrap.hash b/package/go-bootstrap-stage1/go-bootstrap-stage1.hash similarity index 100% rename from package/go-bootstrap/go-bootstrap.hash rename to package/go-bootstrap-stage1/go-bootstrap-stage1.hash diff --git a/package/go-bootstrap-stage1/go-bootstrap-stage1.mk b/package/go-bootstrap-stage1/go-bootstrap-stage1.mk new file mode 100644 index 0000000000..3e4ee57432 --- /dev/null +++ b/package/go-bootstrap-stage1/go-bootstrap-stage1.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# go-bootstrap-stage1 +# +################################################################################ + +# Use last C-based Go compiler: v1.4.x +# See https://golang.org/doc/install/source#bootstrapFromSource +GO_BOOTSTRAP_STAGE1_VERSION = 1.4-bootstrap-20171003 +GO_BOOTSTRAP_STAGE1_SITE = https://dl.google.com/go +GO_BOOTSTRAP_STAGE1_SOURCE = go$(GO_BOOTSTRAP_STAGE1_VERSION).tar.gz + +GO_BOOTSTRAP_STAGE1_LICENSE = BSD-3-Clause +GO_BOOTSTRAP_STAGE1_LICENSE_FILES = LICENSE + +HOST_GO_BOOTSTRAP_STAGE1_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_STAGE1_VERSION) + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_BOOTSTRAP_STAGE1_MAKE_ENV = \ + GOOS=linux \ + GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_STAGE1_ROOT)" \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + CC=$(HOSTCC_NOCCACHE) \ + CGO_ENABLED=0 + +define HOST_GO_BOOTSTRAP_STAGE1_BUILD_CMDS + cd $(@D)/src && $(HOST_GO_BOOTSTRAP_STAGE1_MAKE_ENV) ./make.bash +endef + +define HOST_GO_BOOTSTRAP_STAGE1_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/bin/go + $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/bin/gofmt + + cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/ + cp -a $(@D)/pkg $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/ + + # The Go sources must be installed to the host/ tree for the Go stdlib. + cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_STAGE1_ROOT)/ +endef + +$(eval $(host-generic-package)) diff --git a/package/go-bootstrap-stage2/Config.in.host b/package/go-bootstrap-stage2/Config.in.host new file mode 100644 index 0000000000..967ddaed1d --- /dev/null +++ b/package/go-bootstrap-stage2/Config.in.host @@ -0,0 +1,4 @@ +config BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE1_ARCH_SUPPORTS diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.hash b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash new file mode 100644 index 0000000000..874737ea2d --- /dev/null +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.hash @@ -0,0 +1,3 @@ +# From https://go.dev/dl +sha256 13755bcce529747d5f2930dee034730c86d02bd3e521ab3e2bbede548d3b953f go1.19.10.src.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go-bootstrap-stage2/go-bootstrap-stage2.mk b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk new file mode 100644 index 0000000000..477c24299c --- /dev/null +++ b/package/go-bootstrap-stage2/go-bootstrap-stage2.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# go-bootstrap-stage2 +# +################################################################################ + +# Use last Go version that go-bootstrap-stage1 can build: v1.19.x +# See https://golang.org/doc/install/source#bootstrapFromSource +GO_BOOTSTRAP_STAGE2_VERSION = 1.19.10 +GO_BOOTSTRAP_STAGE2_SITE = https://storage.googleapis.com/golang +GO_BOOTSTRAP_STAGE2_SOURCE = go$(GO_BOOTSTRAP_STAGE2_VERSION).src.tar.gz + +GO_BOOTSTRAP_STAGE2_LICENSE = BSD-3-Clause +GO_BOOTSTRAP_STAGE2_LICENSE_FILES = LICENSE + +# Use go-bootstrap-stage1 to bootstrap. +HOST_GO_BOOTSTRAP_STAGE2_DEPENDENCIES = host-go-bootstrap-stage1 + +HOST_GO_BOOTSTRAP_STAGE2_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_STAGE2_VERSION) + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_BOOTSTRAP_STAGE2_MAKE_ENV = \ + GO111MODULE=off \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE1_ROOT) \ + GOROOT_FINAL=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + GOOS=linux \ + CC=$(HOSTCC_NOCCACHE) \ + CXX=$(HOSTCXX_NOCCACHE) \ + CGO_ENABLED=0 + +define HOST_GO_BOOTSTRAP_STAGE2_BUILD_CMDS + cd $(@D)/src && \ + $(HOST_GO_BOOTSTRAP_STAGE2_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) +endef + +define HOST_GO_BOOTSTRAP_STAGE2_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/bin/go + $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/bin/gofmt + + cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/ + + mkdir -p $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/pkg + cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/pkg/ + cp -a $(@D)/pkg/tool $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/pkg/ + + # The Go sources must be installed to the host/ tree for the Go stdlib. + cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_STAGE2_ROOT)/ +endef + +$(eval $(host-generic-package)) diff --git a/package/go-bootstrap/Config.in.host b/package/go-bootstrap/Config.in.host deleted file mode 100644 index fab80d24b4..0000000000 --- a/package/go-bootstrap/Config.in.host +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS - bool - # See src/cmd/dist/unix.c for the list of support - # architectures - default y if BR2_HOSTARCH = "x86" - default y if BR2_HOSTARCH = "x86_64" - default y if BR2_HOSTARCH = "arm" diff --git a/package/go-bootstrap/go-bootstrap.mk b/package/go-bootstrap/go-bootstrap.mk deleted file mode 100644 index 71696a1540..0000000000 --- a/package/go-bootstrap/go-bootstrap.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# go-bootstrap -# -################################################################################ - -# Use last C-based Go compiler: v1.4.x -# See https://golang.org/doc/install/source#bootstrapFromSource -GO_BOOTSTRAP_VERSION = 1.4-bootstrap-20171003 -GO_BOOTSTRAP_SITE = https://dl.google.com/go -GO_BOOTSTRAP_SOURCE = go$(GO_BOOTSTRAP_VERSION).tar.gz - -GO_BOOTSTRAP_LICENSE = BSD-3-Clause -GO_BOOTSTRAP_LICENSE_FILES = LICENSE - -# To build programs that need cgo support the toolchain needs to be -# available, so the toolchain is not needed to build host-go-bootstrap -# itself, but needed by other packages that depend on -# host-go-bootstrap. -HOST_GO_BOOTSTRAP_DEPENDENCIES = toolchain - -HOST_GO_BOOTSTRAP_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_VERSION) - -# The go build system is not compatable with ccache, so use HOSTCC_NOCCACHE -# here. See https://github.com/golang/go/issues/11685. -HOST_GO_BOOTSTRAP_MAKE_ENV = \ - GOOS=linux \ - GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_ROOT)" \ - GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" \ - CC=$(HOSTCC_NOCCACHE) \ - CGO_ENABLED=0 - -define HOST_GO_BOOTSTRAP_BUILD_CMDS - cd $(@D)/src && $(HOST_GO_BOOTSTRAP_MAKE_ENV) ./make.bash -endef - -define HOST_GO_BOOTSTRAP_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_ROOT)/bin/go - $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_ROOT)/bin/gofmt - - cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_ROOT)/ - cp -a $(@D)/pkg $(HOST_GO_BOOTSTRAP_ROOT)/ - - # There is a known issue which requires the go sources to be installed - # https://golang.org/issue/2775 - cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_ROOT)/ -endef - -$(eval $(host-generic-package)) diff --git a/package/go/Config.in.host b/package/go/Config.in.host index ded02d3b3a..90a54f0da6 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -2,7 +2,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x @@ -28,4 +28,4 @@ config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS diff --git a/package/go/go.mk b/package/go/go.mk index 66ba576d9c..94c90877d1 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -12,11 +12,11 @@ GO_LICENSE = BSD-3-Clause GO_LICENSE_FILES = LICENSE GO_CPE_ID_VENDOR = golang -HOST_GO_DEPENDENCIES = host-go-bootstrap -HOST_GO_GOPATH = $(HOST_DIR)/usr/share/go-path -HOST_GO_HOST_CACHE = $(HOST_DIR)/usr/share/host-go-cache +HOST_GO_DEPENDENCIES = host-go-bootstrap-stage2 +HOST_GO_GOPATH = $(HOST_DIR)/share/go-path +HOST_GO_HOST_CACHE = $(HOST_DIR)/share/host-go-cache HOST_GO_ROOT = $(HOST_DIR)/lib/go -HOST_GO_TARGET_CACHE = $(HOST_DIR)/usr/share/go-cache +HOST_GO_TARGET_CACHE = $(HOST_DIR)/share/go-cache # We pass an empty GOBIN, otherwise "go install: cannot install # cross-compiled binaries when GOBIN is set" @@ -126,7 +126,7 @@ HOST_GO_HOST_ENV = \ HOST_GO_MAKE_ENV = \ GO111MODULE=off \ GOCACHE=$(HOST_GO_HOST_CACHE) \ - GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_ROOT) \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE2_ROOT) \ GOROOT_FINAL=$(HOST_GO_ROOT) \ GOROOT="$(@D)" \ GOBIN="$(@D)/bin" \ From b0042bde0bd4271d24e7e6185c7305d1d8b24cc1 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 11 Jul 2023 15:08:47 -0700 Subject: [PATCH 102/150] package/go: adjust comments Adjust comments in the Go package to improve clarity: Config.in.host: - Add comment mentioning list of supported architectures. go.mk: - Reword comment re: copying src/ to host/ - the previously linked issue is not relevant. - instead: mention that src/ is needed for stdlib. - Adjust comment re: adjusting file timestamps. - mention this is needed to avoid rebuilding stdlib Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/go/Config.in.host | 2 ++ package/go/go.mk | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/go/Config.in.host b/package/go/Config.in.host index 90a54f0da6..b87b862cec 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -3,6 +3,8 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS bool default y depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS + # See https://go.dev/doc/install/source#environment + # See src/go/build/syslist.go for the list of supported architectures depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \ || BR2_i386 || BR2_x86_64 || BR2_powerpc64le \ || BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x diff --git a/package/go/go.mk b/package/go/go.mk index 94c90877d1..2a3b7825b7 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -154,12 +154,11 @@ define HOST_GO_INSTALL_CMDS cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_ROOT)/pkg/ cp -a $(@D)/pkg/tool $(HOST_GO_ROOT)/pkg/ - # There is a known issue which requires the go sources to be installed - # https://golang.org/issue/2775 + # The Go sources must be installed to the host/ tree for the Go stdlib. cp -a $(@D)/src $(HOST_GO_ROOT)/ - # Set all file timestamps to prevent the go compiler from rebuilding any - # built in packages when programs are built. + # Set file timestamps to prevent the Go compiler from rebuilding the stdlib + # when compiling other programs. find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; endef From da254997f87c38faa2286e14031872fa8dbf91f7 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 11 Jul 2023 15:08:48 -0700 Subject: [PATCH 103/150] package/go: bump to version 1.20.6 The latest Go release, version 1.20, arrives six months after Go 1.19. Most of its changes are in the implementation of the toolchain, runtime, and libraries. https://go.dev/doc/go1.20 https://go.dev/doc/devel/release#go1.20.6 https://github.com/golang/go/issues?q=milestone%3AGo1.20.6+label%3ACherryPickApproved Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- ...03-runtime-support-riscv64-SV57-mode.patch | 65 ------------------- package/go/go.hash | 2 +- package/go/go.mk | 4 +- 3 files changed, 3 insertions(+), 68 deletions(-) delete mode 100644 package/go/0003-runtime-support-riscv64-SV57-mode.patch diff --git a/package/go/0003-runtime-support-riscv64-SV57-mode.patch b/package/go/0003-runtime-support-riscv64-SV57-mode.patch deleted file mode 100644 index f51c2ca093..0000000000 --- a/package/go/0003-runtime-support-riscv64-SV57-mode.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 6618c7af436488fa12018cdcd31eeedb3a698745 Mon Sep 17 00:00:00 2001 -From: Dmitry Vyukov -Date: Fri, 27 May 2022 18:55:35 +0200 -Subject: [PATCH] runtime: support riscv64 SV57 mode - -Riscv64 has SV57 mode when user-space VA is 56 bits. -Linux kernel recently got support for this mode and Go binaries started crashing as: - -runtime: lfstack.push invalid packing: node=0xffffff5908a940 cnt=0x1 -packed=0xffff5908a9400001 -> node=0xffff5908a940 - -Adjust lfstack code to use only 8 top bits of pointers on riscv64. - -For context see: -https://groups.google.com/g/syzkaller-bugs/c/lU0GQTZoNQQ/m/O_c3vmE3AAAJ - -Update #54104 - -Change-Id: Ib5d3d6a79c0c6eddf11618d73fcc8bc1832a9c25 -Signed-off-by: Christian Stewart ---- - -Upstream: https://go-review.googlesource.com/c/go/+/409055/4 ---- - src/runtime/lfstack_64bit.go | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/src/runtime/lfstack_64bit.go b/src/runtime/lfstack_64bit.go -index 154130cf63..39fa647b9e 100644 ---- a/src/runtime/lfstack_64bit.go -+++ b/src/runtime/lfstack_64bit.go -@@ -36,12 +36,21 @@ const ( - // We use one bit to distinguish between the two ranges. - aixAddrBits = 57 - aixCntBits = 64 - aixAddrBits + 3 -+ -+ // Riscv64 SV57 mode gives 56 bits of userspace VA. -+ // lfstack code supports it, but broader support for SV57 mode is incomplete, -+ // and there may be other issues (see #54104). -+ riscv64AddrBits = 56 -+ riscv64CntBits = 64 - riscv64AddrBits + 3 - ) - - func lfstackPack(node *lfnode, cnt uintptr) uint64 { - if GOARCH == "ppc64" && GOOS == "aix" { - return uint64(uintptr(unsafe.Pointer(node)))<<(64-aixAddrBits) | uint64(cnt&(1<> aixCntBits << 3) | 0xa<<56))) - } -+ if GOARCH == "riscv64" { -+ return (*lfnode)(unsafe.Pointer(uintptr(val >> riscv64CntBits << 3))) -+ } - return (*lfnode)(unsafe.Pointer(uintptr(val >> cntBits << 3))) - } --- -2.35.1 - diff --git a/package/go/go.hash b/package/go/go.hash index 6d4c718a40..135d1ad37b 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 e25c9ab72d811142b7f41ff6da5165fec2d1be5feec3ef2c66bc0bdecb431489 go1.19.11.src.tar.gz +sha256 62ee5bc6fb55b8bae8f705e0cb8df86d6453626b4ecf93279e2867092e0b7f70 go1.20.6.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 2a3b7825b7..efa47e5781 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.19.11 +GO_VERSION = 1.20.6 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz @@ -151,7 +151,7 @@ define HOST_GO_INSTALL_CMDS cp -a $(@D)/lib $(HOST_GO_ROOT)/ mkdir -p $(HOST_GO_ROOT)/pkg - cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_ROOT)/pkg/ + cp -a $(@D)/pkg/include $(HOST_GO_ROOT)/pkg/ cp -a $(@D)/pkg/tool $(HOST_GO_ROOT)/pkg/ # The Go sources must be installed to the host/ tree for the Go stdlib. From 35296651f1c10beb9ee7688af50f1d114b0b7dd3 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 27 Jul 2023 21:54:11 -0700 Subject: [PATCH 104/150] package/go: fix go-bootstrap when parent dir contains invalid .git Building host-go within docker fails: error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. Reproduction of the issue: mkdir go-issue-61620 cd ./go-issue-61620 wget https://go.dev/dl/go1.19.11.src.tar.gz mkdir go-bootstrap tar -xf go1.19.11.src.tar.gz -C ./go-bootstrap --strip-components=1 cd ./go-bootstrap/src/ bash make.bash cd ../../ wget https://go.dev/dl/go1.20.6.src.tar.gz mkdir go tar -xf go1.20.6.src.tar.gz -C ./go/ --strip-components=1 printf "gitdir: ../../does/not/exist/.git" > ./.git cd ./go/src/ GOROOT_BOOTSTRAP=$(pwd)/../../go-bootstrap/ bash make.bash The error only occurs when the .git that git detects in the parent directory of the GOROOT_BOOTSTRAP is invalid or not present causing errors when running `git` commands within GOROOT_BOOTSTRAP. Report: https://lists.buildroot.org/pipermail/buildroot/2023-July/671344.html Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/4725186525 Upstream issue: https://github.com/golang/go/issues/61620 Upstream PR: https://github.com/golang/go/pull/61621 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- ...ldvcs-false-when-building-go-bootstr.patch | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch new file mode 100644 index 0000000000..e7158a2b3f --- /dev/null +++ b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch @@ -0,0 +1,73 @@ +From 6b05378097c6a386ed9912d2471976dc39504e86 Mon Sep 17 00:00:00 2001 +From: Christian Stewart +Date: Thu, 27 Jul 2023 21:28:47 -0700 +Subject: [PATCH] cmd/dist: set buildvcs=false when building go-bootstrap + +When building go-bootstrap as part of the make.bash process, the cmd/dist +invokes the bootstrap Go compiler to build the go_bootstrap tool: + +${GOROOT_BOOTSTRAP}/bin/go install -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/... + +If there is an invalid .git directory in a parent of ${GOROOT_BOOTSTRAP}, +make.bash will fail. Reproduction of the issue: + + mkdir go-issue-61620 + cd ./go-issue-61620 + wget https://go.dev/dl/go1.19.11.src.tar.gz + mkdir go-bootstrap + tar -xf go1.19.11.src.tar.gz -C ./go-bootstrap --strip-components=1 + cd ./go-bootstrap/src/ + bash make.bash + cd ../../ + wget https://go.dev/dl/go1.20.6.src.tar.gz + mkdir go + tar -xf go1.20.6.src.tar.gz -C ./go/ --strip-components=1 + printf "gitdir: ../../does/not/exist/.git" > ./.git + cd ./go/src/ + GOROOT_BOOTSTRAP=$(pwd)/../../go-bootstrap/ bash make.bash + +The build fails with the following error: + + Building Go toolchain1 using [snip]/go-1.19.10. + error obtaining VCS status: exit status 128 + Use -buildvcs=false to disable VCS stamping. + go tool dist: FAILED: [snip]/go-1.19.10/bin/go install -tags=math_big_pure_go \ + compiler_bootstrap purego bootstrap/cmd/...: exit status 1 + +This change unconditionally sets -buildvcs=false when compiling go-bootstrap. We +don't need the revision information in those binaries anyway. Setting this flag +was previously not done as we were unsure if the go-bootstrap compiler would be +new enough to support the buildvcs build flag. Since Go 1.20.x, Go 1.19.x is the +minimum version for go-bootstrap, and supports -buildvcs=false. We can now set +-buildvcs=false without worrying about compatibility. + +Related: https://github.com/golang/go/issues/54852 +Fixes: https://github.com/golang/go/issues/61620 + +--- + +Upstream PR: https://github.com/golang/go/pull/61621 + +Signed-off-by: Christian Stewart + +--- + src/cmd/dist/buildtool.go | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go +index a528d7aa76..3b411d6ebb 100644 +--- a/src/cmd/dist/buildtool.go ++++ b/src/cmd/dist/buildtool.go +@@ -221,6 +221,9 @@ func bootstrapBuildTools() { + cmd := []string{ + pathf("%s/bin/go", goroot_bootstrap), + "install", ++ // Fixes cases where an invalid .git is present in a parent of GOROOT_BOOTSTRAP. ++ // See: https://github.com/golang/go/issues/61620 ++ "-buildvcs=false", + "-tags=math_big_pure_go compiler_bootstrap purego", + } + if vflag > 0 { +-- +2.41.0 + From 09a661f38dd51ca8cda2470fe388a837191a00b4 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 28 Jul 2023 22:09:22 +0200 Subject: [PATCH 105/150] package/go: adjust Upstream header in patch Fixes: package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch:0: missing Upstream in the header (http://nightly.buildroot.org/#_additional_patch_documentation) In: https://gitlab.com/buildroot.org/buildroot/-/jobs/4763324039 Signed-off-by: Thomas Petazzoni --- ...2-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch index e7158a2b3f..4f53356ffc 100644 --- a/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch +++ b/package/go/0002-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch @@ -46,7 +46,7 @@ Fixes: https://github.com/golang/go/issues/61620 --- -Upstream PR: https://github.com/golang/go/pull/61621 +Upstream: https://github.com/golang/go/pull/61621 Signed-off-by: Christian Stewart From 41aba84c8a51f960c46f11be0566535c33c5da7c Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 1 Aug 2023 13:48:30 -0700 Subject: [PATCH 106/150] package/go: security bump to v1.20.7 go1.20.7 (released 2023-08-01) includes a security fix to the crypto/tls package, as well as bug fixes to the assembler and the compiler. Fixes CVE-2023-29409: restrict RSA keys in certificates to <= 8192 bits Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. Limit this by restricting the size of RSA keys transmitted during handshakes to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable. https://go.dev/doc/devel/release#go1.20.7 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 135d1ad37b..2298534d91 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 62ee5bc6fb55b8bae8f705e0cb8df86d6453626b4ecf93279e2867092e0b7f70 go1.20.6.src.tar.gz +sha256 2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597 go1.20.7.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index efa47e5781..fc1d9ed681 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.6 +GO_VERSION = 1.20.7 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 2a96439e0261df1e0dada8e3d1b473c6f08478e1 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 29 Aug 2023 15:22:30 -0700 Subject: [PATCH 107/150] package/go: bump to version 1.21.0 Go 1.21.0 is a major release of Go. https://go.dev/doc/devel/release#go1.21.0 Set GOTOOLCHAIN=local to disable the new toolchain download feature. This feature, introduced in Go 1.21.x, will automatically download pre-built compiler binaries from Google for the toolchain version specified in go.mod. We do not want this in Buildroot as we build from source instead: set GOTOOLCHAIN=local to disable the feature and use the locally built toolchain. https://go.dev/doc/toolchain Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/go/go.hash | 2 +- package/go/go.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 2298534d91..2289442a72 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597 go1.20.7.src.tar.gz +sha256 818d46ede85682dd551ad378ef37a4d247006f12ec59b5b755601d2ce114369a go1.21.0.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index fc1d9ed681..04aa612256 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.20.7 +GO_VERSION = 1.21.0 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz @@ -28,6 +28,7 @@ HOST_GO_COMMON_ENV = \ GOCACHE="$(HOST_GO_TARGET_CACHE)" \ GOMODCACHE="$(HOST_GO_GOPATH)/pkg/mod" \ GOPROXY=off \ + GOTOOLCHAIN=local \ PATH=$(BR_PATH) \ GOBIN= \ CGO_ENABLED=$(HOST_GO_CGO_ENABLED) From 703e9f6720a020e088decce4609024362835dcfb Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 6 Sep 2023 13:09:51 -0700 Subject: [PATCH 108/150] package/go: security bump to version 1.21.1 go1.21.1 (released 2023-09-06) includes four security fixes to the cmd/go, crypto/tls, and html/template packages, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the context, crypto/tls, encoding/gob, encoding/xml, go/types, net/http, os, and path/filepath packages. Security fixes: CVE-2023-39320: cmd/go: go.mod toolchain directive allows arbitrary execution CVE-2023-39318: html/template: improper handling of HTML-like comments within script contexts CVE-2023-39319: html/template: improper handling of special tags within script contexts CVE-2023-39321: crypto/tls: panic when processing post-handshake message on QUIC connections https://go.dev/doc/devel/release#go1.21.0 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 2289442a72..be8af438b3 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 818d46ede85682dd551ad378ef37a4d247006f12ec59b5b755601d2ce114369a go1.21.0.src.tar.gz +sha256 bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99 go1.21.1.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 04aa612256..aa5d7f97b5 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.0 +GO_VERSION = 1.21.1 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 8958ec80d6cd7edb0f412f82ec09040743660ce4 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Mon, 25 Sep 2023 15:51:08 +0200 Subject: [PATCH 109/150] package/go: cgo for the target needs the toolchain Building go with cgo support needs to build some .c files to generate target support code, and thus calls the cross C compiler, which is failing when the toolchain is not built before host-go: >>> host-go 1.21.1 Building cd .../build/host-go-1.21.1/src && GO111MODULE=off GOCACHE=.../per-package/host-go/host/share/host-go-cache GOROOT_BOOTSTRAP=.../per-package/host-go/host/lib/go-1.19.11 GOROOT_FINAL=.../per-package/host-go/host/lib/go GOROOT=".../build/host-go-1.21.1" GOBIN=".../build/host-go-1.21.1/bin" GOOS=linux CC=/usr/bin/gcc CXX=/usr/bin/g++ CGO_ENABLED=1 CC_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-gcc" CXX_FOR_TARGET=".../per-package/host-go/host/bin/arm-linux-g++" GOOS="linux" GOARCH=arm GOARM=6 GO_ASSUME_CROSSCOMPILING=1 ./make.bash Building Go cmd/dist using .../per-package/host-go/host/lib/go-1.19.11. (go1.19.11 linux/amd64) go tool dist: cannot invoke C compiler [".../per-package/host-go/host/bin/arm-linux-gcc"]: fork/exec .../per-package/host-go/host/bin/arm-linux-gcc: no such file or directory Go needs a system C compiler for use with cgo. To set a C compiler, set CC=the-compiler. To disable cgo, set CGO_ENABLED=0. This happens systematically with PPD, and happens without PPD when host-go is explicitly built (by running: "make host-go"). Since only CGO support needs to compile C files, only add the toolchain dependency in that case. When the target is not supported by go, then there is obviously no need to depend on the toolchain (even if we unconditionally enable cgo support in only-for-the-host host-go). Signed-off-by: Christian Stewart [yann.morin@orange.com: - only add the toolchain dependency for target cgo - reword commit log ] Signed-off-by: Yann E. MORIN Cc: Thomas Petazzoni Cc: Anisse Astier Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index aa5d7f97b5..1cb3fb40ee 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -90,6 +90,7 @@ HOST_GO_TARGET_ENV = \ # any target package needing cgo support must include # 'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file. ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +HOST_GO_DEPENDENCIES += toolchain HOST_GO_CGO_ENABLED = 1 else HOST_GO_CGO_ENABLED = 0 From fd5d43a60e1fb4254f63e2ef5f9c17863b7fa984 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Mon, 25 Sep 2023 13:34:16 +0200 Subject: [PATCH 110/150] package/go: fix installation When building for a target architecture that go does not support, the installation fails with: $ make host-go [...] ln -sf ../lib/go/bin/go /home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/ ln: failed to create symbolic link '/home/nyma7486/dev/work/5GCroCo/O/pouet/per-package/host-go/host/bin/': No such file or directory Indeed, the HOST_DIR/bin is not guaranteed to exist when we install a host package, so it needs to be explicitly created before we can create entries in there. Signed-off-by: Yann E. MORIN Cc: Christian Stewart Cc: Anisse Astier Signed-off-by: Peter Korsgaard --- package/go/go.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/go/go.mk b/package/go/go.mk index 1cb3fb40ee..6f080be5c0 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -147,6 +147,7 @@ define HOST_GO_INSTALL_CMDS $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt + mkdir -p $(HOST_DIR)/bin ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/ ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/ From 5c790203582fdaf52475f7f44e850692778ecb8e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 6 Oct 2023 11:37:25 +0200 Subject: [PATCH 111/150] package/go: security bump to version 1.21.2 Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". go1.21.2 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the runtime/metrics package. Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index be8af438b3..a2ec6b5923 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99 go1.21.1.src.tar.gz +sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 6f080be5c0..2c32e90817 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.1 +GO_VERSION = 1.21.2 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 6dcf31303f034d8d8d00b2e895cf66eeb3bf792f Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 11 Oct 2023 13:47:35 +0200 Subject: [PATCH 112/150] package/go: security bump to version 1.21.3 Fixes CVE-2023-39325: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. go1.21.3 (released 2023-10-10) includes a security fix to the net/http package. Signed-off-by: Peter Korsgaard Reviewed-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index a2ec6b5923..9499f50964 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 go1.21.2.src.tar.gz +sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21.3.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 2c32e90817..ef27f32835 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.2 +GO_VERSION = 1.21.3 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 47e36b8f92cddf4dfa425877ef3b412e75cdbe2d Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 7 Nov 2023 14:17:45 -0800 Subject: [PATCH 113/150] package/go: security bump to go1.21.4 Go version 1.21.4 includes the following security fixes: CVE-2023-45283: path/filepath: recognize \??\ as a Root Local Device path prefix. CVE-2023-45284: path/filepath: recognize device names with trailing spaces and superscripts https://go.dev/doc/devel/release#go1.21.4 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 9499f50964..74b18a9b38 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21.3.src.tar.gz +sha256 47b26a83d2b65a3c1c1bcace273b69bee49a7a7b5168a7604ded3d26a37bd787 go1.21.4.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index ef27f32835..7bd7866a05 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.3 +GO_VERSION = 1.21.4 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 77f518d5c38e33304e30cd78069273e736d45eca Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 6 Dec 2023 14:12:02 -0800 Subject: [PATCH 114/150] package/go: security bump to v1.21.5 Fixes the following CVEs: CVE-2023-39326: net/http: limit chunked data overhead CVE-2023-45285: cmd/go: go get may unexpectedly fallback to insecure git https://go.dev/doc/devel/release#go1.21.5 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 74b18a9b38..34822b7537 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 47b26a83d2b65a3c1c1bcace273b69bee49a7a7b5168a7604ded3d26a37bd787 go1.21.4.src.tar.gz +sha256 285cbbdf4b6e6e62ed58f370f3f6d8c30825d6e56c5853c66d3c23bcdb09db19 go1.21.5.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 7bd7866a05..f3747b6473 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.4 +GO_VERSION = 1.21.5 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 18263f80653a20a6de80f5dad2bfc130c7446a58 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 9 Jan 2024 14:51:48 -0800 Subject: [PATCH 115/150] package/go: bump to version 1.21.6 go1.21.6 (released 2024-01-09) includes fixes to the compiler, the runtime, and the crypto/tls, maps, and runtime/pprof packages. https://go.dev/doc/devel/release#go1.21.6 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index 34822b7537..bee10089a7 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 285cbbdf4b6e6e62ed58f370f3f6d8c30825d6e56c5853c66d3c23bcdb09db19 go1.21.5.src.tar.gz +sha256 124926a62e45f78daabbaedb9c011d97633186a33c238ffc1e25320c02046248 go1.21.6.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index f3747b6473..f9d31aacac 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.5 +GO_VERSION = 1.21.6 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 9a43bac2995687a6f7bda0dcb4560d4d6ace0ece Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 6 Feb 2024 14:17:22 -0800 Subject: [PATCH 116/150] package/go: bump version to go1.21.7 go1.21.7 (released 2024-02-06) includes fixes to the compiler, the go command, the runtime, and the crypto/x509 package. https://go.dev/doc/devel/release#go1.21.7 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index bee10089a7..d008019e94 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 124926a62e45f78daabbaedb9c011d97633186a33c238ffc1e25320c02046248 go1.21.6.src.tar.gz +sha256 00197ab20f33813832bff62fd93cca1c42a08cc689a32a6672ca49591959bff6 go1.21.7.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index f9d31aacac..9efd4a3123 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.6 +GO_VERSION = 1.21.7 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From cdeb013c652b7382eb595e27d827a9782f919a48 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 5 Mar 2024 16:34:54 -0800 Subject: [PATCH 117/150] package/go: security bump to go1.21.8 Fixes the following CVEs: CVE-2024-24783: crypto/x509: Verify panics on certificates with an unknown public key algorithm CVE-2023-45290: net/http: memory exhaustion in Request.ParseMultipartForm CVE-2023-45289: net/http, net/http/cookiejar: incorrect forwarding of sensitive headers and cookies on HTTP redirect CVE-2024-24785: html/template: errors returned from MarshalJSON methods may break template escaping CVE-2024-24784: net/mail: comments in display names are incorrectly handled https://go.dev/doc/devel/release#go1.21.8 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/go/go.hash | 2 +- package/go/go.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/go/go.hash b/package/go/go.hash index d008019e94..b1aed10c7c 100644 --- a/package/go/go.hash +++ b/package/go/go.hash @@ -1,3 +1,3 @@ # From https://go.dev/dl -sha256 00197ab20f33813832bff62fd93cca1c42a08cc689a32a6672ca49591959bff6 go1.21.7.src.tar.gz +sha256 dc806cf75a87e1414b5b4c3dcb9dd3e9cc98f4cfccec42b7af617d5a658a3c43 go1.21.8.src.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go.mk b/package/go/go.mk index 9efd4a3123..3ca055b25d 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.21.7 +GO_VERSION = 1.21.8 GO_SITE = https://storage.googleapis.com/golang GO_SOURCE = go$(GO_VERSION).src.tar.gz From 1477551c4494742b69c84f8e0e3ee20c685a8459 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Fri, 27 Jun 2025 23:21:58 +0300 Subject: [PATCH 118/150] Use docker compose command --- .../overlay/etc/init.d/S80dockercompose | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/board/common/overlay/etc/init.d/S80dockercompose b/board/common/overlay/etc/init.d/S80dockercompose index 33856cfcef..4381ac5d83 100755 --- a/board/common/overlay/etc/init.d/S80dockercompose +++ b/board/common/overlay/etc/init.d/S80dockercompose @@ -4,17 +4,28 @@ SYS_CONF=/etc/docker-compose.yml BOOT_CONF=/boot/docker-compose.yml USER_CONF=/data/etc/docker-compose.yml -PROG=/usr/bin/docker-compose +SYS_ENV=/etc/docker-compose.env +BOOT_ENV=/boot/docker-compose.env +USER_ENV=/data/etc/docker-compose.env + +DOCKER=/usr/bin/docker LOG=/var/log/docker-compose.log PROJ=system RUN_DIR=/var/run/docker-compose +ENV_FILE=/tmp/docker-compose.env -test -x ${PROG} || exit 0 +test -x ${DOCKER} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base CONF=$(select_conf ${SYS_CONF} ${BOOT_CONF} ${USER_CONF}) test -s "${CONF}" || exit 0 +function make_env_file() { + echo -n > ${ENV_FILE} + for env_file in ${SYS_ENV} ${BOOT_ENV} ${USER_ENV}; do + test -s ${env_file} && cat ${env_file} >> ${ENV_FILE} + done +} function start() { msg_begin "Starting docker-compose" @@ -36,15 +47,19 @@ function start() { mkdir -p ${RUN_DIR} export COMPOSE_HTTP_TIMEOUT=300 - ${PROG} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} pull &>${LOG} - ${PROG} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} up --no-start &>>${LOG} - ${PROG} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} up -d &>>${LOG} + + make_env_file + ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} pull &>${LOG} + ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} up --no-start &>>${LOG} + ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} up -d &>>${LOG} test $? == 0 && msg_done || msg_fail } function stop() { msg_begin "Stopping docker-compose" - ${PROG} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} stop &>>${LOG} + + make_env_file + ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} stop &>>${LOG} test $? == 0 && msg_done || msg_fail } From ac345bf30bdca0a42de8b95c7e4d2f99a4c8e6a6 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Fri, 27 Jun 2025 23:36:34 +0300 Subject: [PATCH 119/150] docker-compose: Add support for multiple config files --- .../overlay/etc/init.d/S80dockercompose | 16 ++++++++----- board/common/overlay/etc/init.d/base | 24 +++++++++++++++++++ 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/board/common/overlay/etc/init.d/S80dockercompose b/board/common/overlay/etc/init.d/S80dockercompose index 4381ac5d83..6368dcd408 100755 --- a/board/common/overlay/etc/init.d/S80dockercompose +++ b/board/common/overlay/etc/init.d/S80dockercompose @@ -17,8 +17,8 @@ ENV_FILE=/tmp/docker-compose.env test -x ${DOCKER} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base -CONF=$(select_conf ${SYS_CONF} ${BOOT_CONF} ${USER_CONF}) -test -s "${CONF}" || exit 0 +CONF=$(append_conf ${SYS_CONF} ${BOOT_CONF} ${USER_CONF}) +test -n "${CONF}" || exit 0 function make_env_file() { echo -n > ${ENV_FILE} @@ -49,9 +49,11 @@ function start() { export COMPOSE_HTTP_TIMEOUT=300 make_env_file - ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} pull &>${LOG} - ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} up --no-start &>>${LOG} - ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} up -d &>>${LOG} + conf=$(echo ${CONF} | sed 's/ / -f /g') + + ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${conf} pull &>${LOG} + ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${conf} up --no-start &>>${LOG} + ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${conf} up -d &>>${LOG} test $? == 0 && msg_done || msg_fail } @@ -59,7 +61,9 @@ function stop() { msg_begin "Stopping docker-compose" make_env_file - ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${CONF} stop &>>${LOG} + conf=$(echo ${CONF} | sed 's/ / -f /g') + + ${DOCKER} compose --env-file ${ENV_FILE} -p ${PROJ} --project-directory ${RUN_DIR} -f ${conf} stop &>>${LOG} test $? == 0 && msg_done || msg_fail } diff --git a/board/common/overlay/etc/init.d/base b/board/common/overlay/etc/init.d/base index ac1264c9f2..0f61afb65a 100644 --- a/board/common/overlay/etc/init.d/base +++ b/board/common/overlay/etc/init.d/base @@ -81,3 +81,27 @@ select_conf() { return 1 } + +append_conf() { + # $1 - system config file + # $2 - boot config file + # $3 - user config file + + # Returns a list of space-separated existing config files (and with size > 0) file, in this order: + # * user config file + # * boot config file + # * system config file + + system_conf="$1" + boot_conf="$2" + user_conf="$3" + + files=$( + test -s "${user_conf}" && echo "${user_conf}" + test -s "${boot_conf}" && echo "${boot_conf}" + test -s "${system_conf}" && echo "${system_conf}" + ) + + echo ${files} +} + From 02e36d0af644beac4df629e476e184728ffddb93 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Fri, 27 Jun 2025 23:39:09 +0300 Subject: [PATCH 120/150] Add a default docker-compose.yml config file --- board/common/overlay/etc/docker-compose.env | 2 ++ board/common/overlay/etc/docker-compose.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 board/common/overlay/etc/docker-compose.env create mode 100644 board/common/overlay/etc/docker-compose.yml diff --git a/board/common/overlay/etc/docker-compose.env b/board/common/overlay/etc/docker-compose.env new file mode 100644 index 0000000000..391a65ea6a --- /dev/null +++ b/board/common/overlay/etc/docker-compose.env @@ -0,0 +1,2 @@ +QTOGGLESERVER_VERSION=0.28.0b4 + diff --git a/board/common/overlay/etc/docker-compose.yml b/board/common/overlay/etc/docker-compose.yml new file mode 100644 index 0000000000..b580162b48 --- /dev/null +++ b/board/common/overlay/etc/docker-compose.yml @@ -0,0 +1,12 @@ +services: + qtoggleserver: + image: qtoggle/qtoggleserver:${QTOGGLESERVER_VERSION} + hostname: qtoggleserver + container_name: qtoggleserver + restart: unless-stopped + network_mode: host + privileged: true + volumes: + - /data/qtoggleserver:/data + - /usr/libexec/qtoggleserver:/usr/libexec/qtoggleserver + From e8e199d6dee6dfffd3a6e73498e57e99363e31dd Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 29 Jun 2025 11:43:12 +0300 Subject: [PATCH 121/150] Update OS helper commands --- board/common/overlay/etc/docker-compose.env | 2 +- board/common/overlay/etc/docker-compose.yml | 5 +- .../overlay/usr/libexec/qs-ap-interface | 18 ------ board/common/overlay/usr/libexec/qs-date | 5 -- .../common/overlay/usr/libexec/qs-device-name | 10 --- board/common/overlay/usr/libexec/qs-ip | 41 ------------ board/common/overlay/usr/libexec/qs-password | 6 -- .../common/overlay/usr/libexec/qs-setup-mode | 3 - .../common/overlay/usr/libexec/qs-temperature | 6 -- board/common/overlay/usr/libexec/qs-timezone | 19 ------ board/common/overlay/usr/libexec/qs-wifi | 62 ------------------- .../usr/libexec/qtoggleserver/qs-ap-interface | 0 .../overlay/usr/libexec/qtoggleserver/qs-date | 5 -- .../usr/libexec/qtoggleserver/qs-device-name | 4 +- .../overlay/usr/libexec/qtoggleserver/qs-ip | 6 +- .../usr/libexec/qtoggleserver/qs-password | 4 +- .../usr/libexec/qtoggleserver/qs-setup-mode | 0 .../usr/libexec/qtoggleserver/qs-temperature | 0 .../usr/libexec/qtoggleserver/qs-timezone | 11 ++-- .../overlay/usr/libexec/qtoggleserver/qs-wifi | 18 +++--- 20 files changed, 25 insertions(+), 200 deletions(-) delete mode 100644 board/common/overlay/usr/libexec/qs-ap-interface delete mode 100644 board/common/overlay/usr/libexec/qs-date delete mode 100644 board/common/overlay/usr/libexec/qs-device-name delete mode 100644 board/common/overlay/usr/libexec/qs-ip delete mode 100644 board/common/overlay/usr/libexec/qs-password delete mode 100644 board/common/overlay/usr/libexec/qs-setup-mode delete mode 100644 board/common/overlay/usr/libexec/qs-temperature delete mode 100644 board/common/overlay/usr/libexec/qs-timezone delete mode 100644 board/common/overlay/usr/libexec/qs-wifi mode change 100644 => 100755 board/common/overlay/usr/libexec/qtoggleserver/qs-ap-interface delete mode 100644 board/common/overlay/usr/libexec/qtoggleserver/qs-date mode change 100644 => 100755 board/common/overlay/usr/libexec/qtoggleserver/qs-device-name mode change 100644 => 100755 board/common/overlay/usr/libexec/qtoggleserver/qs-ip mode change 100644 => 100755 board/common/overlay/usr/libexec/qtoggleserver/qs-password mode change 100644 => 100755 board/common/overlay/usr/libexec/qtoggleserver/qs-setup-mode mode change 100644 => 100755 board/common/overlay/usr/libexec/qtoggleserver/qs-temperature mode change 100644 => 100755 board/common/overlay/usr/libexec/qtoggleserver/qs-timezone mode change 100644 => 100755 board/common/overlay/usr/libexec/qtoggleserver/qs-wifi diff --git a/board/common/overlay/etc/docker-compose.env b/board/common/overlay/etc/docker-compose.env index 391a65ea6a..3d3d5e39cb 100644 --- a/board/common/overlay/etc/docker-compose.env +++ b/board/common/overlay/etc/docker-compose.env @@ -1,2 +1,2 @@ -QTOGGLESERVER_VERSION=0.28.0b4 +QTOGGLESERVER_VERSION=0.28.0b6 diff --git a/board/common/overlay/etc/docker-compose.yml b/board/common/overlay/etc/docker-compose.yml index b580162b48..023624f14e 100644 --- a/board/common/overlay/etc/docker-compose.yml +++ b/board/common/overlay/etc/docker-compose.yml @@ -2,11 +2,10 @@ services: qtoggleserver: image: qtoggle/qtoggleserver:${QTOGGLESERVER_VERSION} hostname: qtoggleserver - container_name: qtoggleserver restart: unless-stopped network_mode: host + uts: host privileged: true volumes: - /data/qtoggleserver:/data - - /usr/libexec/qtoggleserver:/usr/libexec/qtoggleserver - + - /:/host diff --git a/board/common/overlay/usr/libexec/qs-ap-interface b/board/common/overlay/usr/libexec/qs-ap-interface deleted file mode 100644 index d6a167ac2b..0000000000 --- a/board/common/overlay/usr/libexec/qs-ap-interface +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Find the first apX interface whose corresponding wlanX is not currently in use. - -ap_ifaces=$(ip link | grep -oE 'ap[[:digit:]]') - -ap_iface="" -for iface in ${ap_ifaces}; do - num=${iface: -1} - if ip route | grep -q " wlan${num} "; then - continue - fi - - ap_iface=${iface} - break -done - -echo QS_INTERFACE=${ap_iface} diff --git a/board/common/overlay/usr/libexec/qs-date b/board/common/overlay/usr/libexec/qs-date deleted file mode 100644 index 0947868adc..0000000000 --- a/board/common/overlay/usr/libexec/qs-date +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -if [[ "$1" == "set" ]]; then - date -u -s "${QS_DATE}" >/dev/null -fi diff --git a/board/common/overlay/usr/libexec/qs-device-name b/board/common/overlay/usr/libexec/qs-device-name deleted file mode 100644 index 9a4b465c43..0000000000 --- a/board/common/overlay/usr/libexec/qs-device-name +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -if [[ "$1" == "get" ]]; then - echo "QS_NAME=$(/bin/hostname)" -elif [[ "$1" == "set" ]]; then - test -n "${QS_NAME}" || exit 0 - echo "${QS_NAME}" > /data/etc/hostname - /bin/hostname ${QS_NAME} - echo "127.0.0.1 localhost ${QS_NAME}" > /etc/hosts -fi diff --git a/board/common/overlay/usr/libexec/qs-ip b/board/common/overlay/usr/libexec/qs-ip deleted file mode 100644 index 5cbea38b78..0000000000 --- a/board/common/overlay/usr/libexec/qs-ip +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -STATIC_IP_CONF="/data/etc/static_ip.conf" - -if [[ "$1" == "set" ]]; then - echo -n > ${STATIC_IP_CONF} - - if [[ -n "${QS_ADDRESS}" ]] && [[ -n "${QS_NETMASK}" ]]; then - echo "STATIC_IP=${QS_ADDRESS}/${QS_NETMASK}" > ${STATIC_IP_CONF} - fi - if [[ -n "${QS_GATEWAY}" ]]; then - echo "STATIC_GW=${QS_GATEWAY}" >> ${STATIC_IP_CONF} - fi - if [[ -n "${QS_DNS}" ]]; then - echo "STATIC_DNS=${QS_DNS}" >> ${STATIC_IP_CONF} - fi -elif [[ "$1" == "get" ]]; then - test -f ${STATIC_IP_CONF} && source ${STATIC_IP_CONF} - _IFS=${IFS} IFS="/" STATIC_IP=(${STATIC_IP}) IFS=${_IFS} - echo "QS_ADDRESS=${STATIC_IP[0]}" - echo "QS_NETMASK=${STATIC_IP[1]}" - echo "QS_GATEWAY=${STATIC_GW}" - echo "QS_DNS=${STATIC_DNS}" - - # Obtain current IP info - gw_if=$(ip route list | grep default | cut -d ' ' -f 3,5) - if [[ -n "${gw_if}" ]]; then - gw_if=(${gw_if}) - addr_mask=$(ip addr show dev ${gw_if[1]} | grep 'inet ' | tr -s ' ' | cut -d ' ' -f 3) - _IFS=${IFS} IFS="/" addr_mask=(${addr_mask}) IFS=${_IFS} - address_current=${addr_mask[0]} - netmask_current=${addr_mask[1]} - gateway_current=${gw_if[0]} - dns_current=$(cat /etc/resolv.conf | grep nameserver | head -1 | cut -d ' ' -f 2) - fi - - echo "QS_ADDRESS_CURRENT=${address_current}" - echo "QS_NETMASK_CURRENT=${netmask_current}" - echo "QS_GATEWAY_CURRENT=${gateway_current}" - echo "QS_DNS_CURRENT=${dns_current}" -fi diff --git a/board/common/overlay/usr/libexec/qs-password b/board/common/overlay/usr/libexec/qs-password deleted file mode 100644 index b8016d2c0c..0000000000 --- a/board/common/overlay/usr/libexec/qs-password +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -if [[ "$1" == "set" ]]; then - test "$QS_USERNAME" == "admin" || exit 0 - PASSWORD="$QS_PASSWORD" /usr/sbin/adminpasswd -fi diff --git a/board/common/overlay/usr/libexec/qs-setup-mode b/board/common/overlay/usr/libexec/qs-setup-mode deleted file mode 100644 index 8fc4d99129..0000000000 --- a/board/common/overlay/usr/libexec/qs-setup-mode +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -killall -0 hostapd &> /dev/null diff --git a/board/common/overlay/usr/libexec/qs-temperature b/board/common/overlay/usr/libexec/qs-temperature deleted file mode 100644 index 958ec7c778..0000000000 --- a/board/common/overlay/usr/libexec/qs-temperature +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -if [[ "$1" == "get" ]]; then - temp=$( ${WPA_SUPPLICANT_CONF}.tmp - mv ${WPA_SUPPLICANT_CONF}.tmp ${WPA_SUPPLICANT_CONF} - else - if ! grep 'key_mgmt=NONE' ${WPA_SUPPLICANT_CONF} &>/dev/null; then - sed -ri "s/^( *)(ssid=.*)/\1\2\n\1key_mgmt=NONE/" ${WPA_SUPPLICANT_CONF} - fi - - cat ${WPA_SUPPLICANT_CONF} | grep -vE '^ *psk=' > ${WPA_SUPPLICANT_CONF}.tmp - mv ${WPA_SUPPLICANT_CONF}.tmp ${WPA_SUPPLICANT_CONF} - fi -elif [[ "$1" == "get" ]]; then - if [[ -f /data/etc/wpa_supplicant.conf ]]; then - ssid=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *ssid=' | cut -d '=' -f 2) - psk=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *psk=' | cut -d '=' -f 2) - bssid=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *bssid=' | cut -d '=' -f 2) - bssid_current=$(iw dev ${OS_WLAN} link | grep -oE 'Connected to [^ ]+' | cut -d ' ' -f 3) - rssi_current=$(iw dev wlan0 link | grep -E "signal: -[[:digit:]]+" | cut -d ' ' -f 2) - fi - - echo "QS_SSID=${ssid}" - echo "QS_PSK=${psk}" - echo "QS_BSSID=${bssid}" - echo "QS_BSSID_CURRENT=${bssid_current}" - echo "QS_RSSI_CURRENT=${rssi_current}" -fi diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-ap-interface b/board/common/overlay/usr/libexec/qtoggleserver/qs-ap-interface old mode 100644 new mode 100755 diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-date b/board/common/overlay/usr/libexec/qtoggleserver/qs-date deleted file mode 100644 index 0947868adc..0000000000 --- a/board/common/overlay/usr/libexec/qtoggleserver/qs-date +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -if [[ "$1" == "set" ]]; then - date -u -s "${QS_DATE}" >/dev/null -fi diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-device-name b/board/common/overlay/usr/libexec/qtoggleserver/qs-device-name old mode 100644 new mode 100755 index 9a4b465c43..218e745831 --- a/board/common/overlay/usr/libexec/qtoggleserver/qs-device-name +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-device-name @@ -4,7 +4,7 @@ if [[ "$1" == "get" ]]; then echo "QS_NAME=$(/bin/hostname)" elif [[ "$1" == "set" ]]; then test -n "${QS_NAME}" || exit 0 - echo "${QS_NAME}" > /data/etc/hostname + echo "${QS_NAME}" > /host/data/etc/hostname /bin/hostname ${QS_NAME} - echo "127.0.0.1 localhost ${QS_NAME}" > /etc/hosts + echo "127.0.0.1 localhost ${QS_NAME}" > /host/etc/hosts fi diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-ip b/board/common/overlay/usr/libexec/qtoggleserver/qs-ip old mode 100644 new mode 100755 index 5cbea38b78..c36e54643c --- a/board/common/overlay/usr/libexec/qtoggleserver/qs-ip +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-ip @@ -1,10 +1,10 @@ #!/bin/bash -STATIC_IP_CONF="/data/etc/static_ip.conf" +STATIC_IP_CONF="/host/data/etc/static_ip.conf" if [[ "$1" == "set" ]]; then echo -n > ${STATIC_IP_CONF} - + if [[ -n "${QS_ADDRESS}" ]] && [[ -n "${QS_NETMASK}" ]]; then echo "STATIC_IP=${QS_ADDRESS}/${QS_NETMASK}" > ${STATIC_IP_CONF} fi @@ -21,7 +21,7 @@ elif [[ "$1" == "get" ]]; then echo "QS_NETMASK=${STATIC_IP[1]}" echo "QS_GATEWAY=${STATIC_GW}" echo "QS_DNS=${STATIC_DNS}" - + # Obtain current IP info gw_if=$(ip route list | grep default | cut -d ' ' -f 3,5) if [[ -n "${gw_if}" ]]; then diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-password b/board/common/overlay/usr/libexec/qtoggleserver/qs-password old mode 100644 new mode 100755 index b8016d2c0c..0b0d4ef8ec --- a/board/common/overlay/usr/libexec/qtoggleserver/qs-password +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-password @@ -1,6 +1,6 @@ #!/bin/bash if [[ "$1" == "set" ]]; then - test "$QS_USERNAME" == "admin" || exit 0 - PASSWORD="$QS_PASSWORD" /usr/sbin/adminpasswd + test "${QS_USERNAME}" == "admin" || exit 0 + PASSWORD="${QS_PASSWORD}" chroot /host /usr/sbin/adminpasswd fi diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-setup-mode b/board/common/overlay/usr/libexec/qtoggleserver/qs-setup-mode old mode 100644 new mode 100755 diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-temperature b/board/common/overlay/usr/libexec/qtoggleserver/qs-temperature old mode 100644 new mode 100755 diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-timezone b/board/common/overlay/usr/libexec/qtoggleserver/qs-timezone old mode 100644 new mode 100755 index e5e532a33d..a6f4dda701 --- a/board/common/overlay/usr/libexec/qtoggleserver/qs-timezone +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-timezone @@ -1,16 +1,17 @@ #!/bin/bash -LOCALTIME_FILE="/data/etc/localtime" +HOST_LOCALTIME_FILE="/host/data/etc/localtime" +CONTAINER_LOCALTIME_FILE="/etc/localtime" ZONEINFO_PATH="/usr/share/zoneinfo/" if [[ "$1" == "set" ]]; then - rm -f ${LOCALTIME_FILE} if [[ -n ${QS_TIMEZONE} ]]; then - ln -s ${ZONEINFO_PATH}${QS_TIMEZONE} ${LOCALTIME_FILE} + ln -sf ${ZONEINFO_PATH}${QS_TIMEZONE} ${HOST_LOCALTIME_FILE} + ln -sf ${ZONEINFO_PATH}${QS_TIMEZONE} ${CONTAINER_LOCALTIME_FILE} fi elif [[ "$1" == "get" ]]; then - if [[ -f "${LOCALTIME_FILE}" ]]; then - link=$(readlink ${LOCALTIME_FILE}) + if [[ -f "${HOST_LOCALTIME_FILE}" ]]; then + link=$(readlink ${HOST_LOCALTIME_FILE}) timezone=${link:${#ZONEINFO_PATH}} echo "QS_TIMEZONE=${timezone}" else diff --git a/board/common/overlay/usr/libexec/qtoggleserver/qs-wifi b/board/common/overlay/usr/libexec/qtoggleserver/qs-wifi old mode 100644 new mode 100755 index cdabc77a8e..190e1cde98 --- a/board/common/overlay/usr/libexec/qtoggleserver/qs-wifi +++ b/board/common/overlay/usr/libexec/qtoggleserver/qs-wifi @@ -1,8 +1,8 @@ #!/bin/bash -WPA_SUPPLICANT_CONF="/data/etc/wpa_supplicant.conf" +WPA_SUPPLICANT_CONF="/host/data/etc/wpa_supplicant.conf" -source /etc/init.d/os_conf # Needed for OS_WLAN +OS_WLAN=$(chroot /host /bin/bash -c 'source /etc/init.d/os_conf && echo ${OS_WLAN}') if [[ "$1" == "set" ]]; then @@ -16,7 +16,7 @@ if [[ "$1" == "set" ]]; then cat ${WPA_SUPPLICANT_CONF} | grep -vE '^ *ssid=' > ${WPA_SUPPLICANT_CONF}.tmp mv ${WPA_SUPPLICANT_CONF}.tmp ${WPA_SUPPLICANT_CONF} fi - + if [[ -n "${QS_BSSID}" ]]; then if grep -E '^ *bssid=' ${WPA_SUPPLICANT_CONF} &>/dev/null; then sed -ri "s/^( *bssid=).*/\1${QS_BSSID}/" ${WPA_SUPPLICANT_CONF} @@ -27,7 +27,7 @@ if [[ "$1" == "set" ]]; then cat ${WPA_SUPPLICANT_CONF} | grep -vE '^ *bssid=' > ${WPA_SUPPLICANT_CONF}.tmp mv ${WPA_SUPPLICANT_CONF}.tmp ${WPA_SUPPLICANT_CONF} fi - + if [[ -n "${QS_PSK}" ]]; then if grep -E '^ *psk=' ${WPA_SUPPLICANT_CONF} &>/dev/null; then sed -ri "s/^( *psk=)\".*\"/\1\"${QS_PSK}\"/" ${WPA_SUPPLICANT_CONF} @@ -46,14 +46,14 @@ if [[ "$1" == "set" ]]; then mv ${WPA_SUPPLICANT_CONF}.tmp ${WPA_SUPPLICANT_CONF} fi elif [[ "$1" == "get" ]]; then - if [[ -f /data/etc/wpa_supplicant.conf ]]; then - ssid=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *ssid=' | cut -d '=' -f 2) - psk=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *psk=' | cut -d '=' -f 2) - bssid=$(cat /data/etc/wpa_supplicant.conf | grep -E '^ *bssid=' | cut -d '=' -f 2) + if [[ -f ${WPA_SUPPLICANT_CONF} ]]; then + ssid=$(cat ${WPA_SUPPLICANT_CONF} | grep -E '^ *ssid=' | cut -d '=' -f 2) + psk=$(cat ${WPA_SUPPLICANT_CONF} | grep -E '^ *psk=' | cut -d '=' -f 2) + bssid=$(cat ${WPA_SUPPLICANT_CONF} | grep -E '^ *bssid=' | cut -d '=' -f 2) bssid_current=$(iw dev ${OS_WLAN} link | grep -oE 'Connected to [^ ]+' | cut -d ' ' -f 3) rssi_current=$(iw dev wlan0 link | grep -E "signal: -[[:digit:]]+" | cut -d ' ' -f 2) fi - + echo "QS_SSID=${ssid}" echo "QS_PSK=${psk}" echo "QS_BSSID=${bssid}" From 676fa0ae36b504f046ff5fad78c9c8d1b14797aa Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 29 Jun 2025 11:49:18 +0300 Subject: [PATCH 122/150] Rename PostgreSQL to Postgres --- board/common/overlay/etc/init.d/S78preparedb | 4 +- .../overlay/etc/qtoggleserver.conf.default | 142 ++++++++++++++++++ 2 files changed, 144 insertions(+), 2 deletions(-) create mode 100644 board/common/overlay/etc/qtoggleserver.conf.default diff --git a/board/common/overlay/etc/init.d/S78preparedb b/board/common/overlay/etc/init.d/S78preparedb index e7e10f5c68..3a964e3b68 100644 --- a/board/common/overlay/etc/init.d/S78preparedb +++ b/board/common/overlay/etc/init.d/S78preparedb @@ -15,9 +15,9 @@ PERSIST_DRIVER_RE="persist[[:space:]]*=?[[:space:]]*\{[^#\}d]*driver[[:space:]]* [[ $(<${CONF}) =~ ${PERSIST_DRIVER_RE} ]] && PERSIST_DRIVER=${BASH_REMATCH[1]} function prepare_db() { - if [[ "${PERSIST_DRIVER}" =~ PostgreSQLDriver$ ]]; then + if [[ "${PERSIST_DRIVER}" =~ PostgresDriver$ ]]; then if ! psql -U postgres -Altw | grep -q ${DB_NAME}; then - msg_begin "Creating postgresql ${DB_NAME} db" + msg_begin "Creating postgres ${DB_NAME} db" psql -U postgres -Atwq -c "CREATE DATABASE ${DB_NAME}" test $? == 0 && msg_done || msg_fail fi diff --git a/board/common/overlay/etc/qtoggleserver.conf.default b/board/common/overlay/etc/qtoggleserver.conf.default new file mode 100644 index 0000000000..40f3a7a6fa --- /dev/null +++ b/board/common/overlay/etc/qtoggleserver.conf.default @@ -0,0 +1,142 @@ + +debug = false + +#public_url = "https://qtoggle.example.com" + +# See https://docs.python.org/3.10/library/logging.config.html#logging-config-dictschema +logging = { + root = { + level = "INFO" + } +} + +core = { + device_name = { + get_cmd = "/host/usr/libexec/qtoggleserver/qs-device-name get" + set_cmd = "/host/usr/libexec/qtoggleserver/qs-device-name set" + } + passwords = { + set_cmd = "/host/usr/libexec/qtoggleserver/qs-password set" + } + + tick_interval = 100 # how often to update everything, in milliseconds + event_queue_size = 1024 # maximum number of queued events in a session + max_client_time_skew = 3600 # maximum accepted time skew when authenticating clients, in seconds + + backup_support = true + history_support = true + history_janitor_interval = 3600 + listen_support = true + sequences_support = true + tls_support = true + virtual_ports = 1024 +} + +server = { + addr = "0.0.0.0" + port = 80 # use 443 for HTTPS + compress_response = true + +# https = { +# cert_file = "/data/etc/ssl/cert.pem" +# key_file = "/data/etc/ssl/privkey.pem" +# } +} + +# JSON persistence driver +#persist = { +# driver = "qtoggleserver.drivers.persist.JSONDriver" +# file_path = "/data/qtoggleserver-data.json" +#} + +# Redis persistence driver +#persist = { +# driver = "qtoggleserver.drivers.persist.RedisDriver" +# host = "127.0.0.1" +# port = 6379 +# db = 0 +#} + +# MongoDB persistence driver +#persist = { +# driver = "qtoggleserver.drivers.persist.MongoDriver" +# host = "host.example.com" +# port = 27017 +# db = "qtoggleserver" +#} + +# Postgres persistence driver +persist = { + driver = "qtoggleserver.drivers.persist.PostgresDriver" + host = "127.0.0.1" + port = 5432 + db = "qtoggleserver" + username = "postgres" +} + +system = { + setup_mode_cmd = "/host/usr/libexec/qtoggleserver/qs-setup-mode" + timezone = { + get_cmd = "/host/usr/libexec/qtoggleserver/qs-timezone get" + set_cmd = "/host/usr/libexec/qtoggleserver/qs-timezone set" + } + net = { + wifi = { + get_cmd = "/host/usr/libexec/qtoggleserver/qs-wifi get" + set_cmd = "/host/usr/libexec/qtoggleserver/qs-wifi set" + } + ip = { + get_cmd = "/host/usr/libexec/qtoggleserver/qs-ip get" + set_cmd = "/host/usr/libexec/qtoggleserver/qs-ip set" + } + } + storage = { + path = "/data" + } + temperature = { + get_cmd = "/host/usr/libexec/qtoggleserver/qs-temperature get" + } + fwupdate = { + driver = "thingos.ThingOSDriver" + } +} + +frontend = { + enabled = true + debug = false +} + +slaves = { + enabled = true + timeout = 10 # timeout, in seconds, when communicating with slaves + keepalive = 10 # long-polling timeout, in seconds, when waiting for slave events + retry_interval = 5 # how often to retry a failed API request, in seconds + retry_count = 3 # max number of retries upon failed API requests + + discover = { + dhcp_timeout = 10 # increase this if your DHCP server responds slowly to queries + ap = { + interface_cmd = "/host/usr/libexec/qtoggleserver/qs-ap-interface" + finish_timeout = 300 # for how long to keep the discovery AP up + } + } +} + +peripherals = [ +# { +# driver = "qtoggleserver.my.peripheral.Driver" +# name = "my_peripheral" +# param1 = "value1" +# } +] + +ports = [ +# { +# driver = "qtoggleserver.drivers.ports.gpio.GPIO" +# no = 10 +# } +] + +port_mappings = { +# "old_id" = "new_id" +} From 07b65dcf8a135d49461c440a130ef80efa0f035e Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 29 Jun 2025 12:42:48 +0300 Subject: [PATCH 123/150] Use /etc/qtoggleserver.conf.default --- board/common/overlay/etc/docker-compose.yml | 1 + board/common/overlay/etc/qtoggleserver.conf | 142 -------------------- 2 files changed, 1 insertion(+), 142 deletions(-) delete mode 100644 board/common/overlay/etc/qtoggleserver.conf diff --git a/board/common/overlay/etc/docker-compose.yml b/board/common/overlay/etc/docker-compose.yml index 023624f14e..96ba8f8f86 100644 --- a/board/common/overlay/etc/docker-compose.yml +++ b/board/common/overlay/etc/docker-compose.yml @@ -8,4 +8,5 @@ services: privileged: true volumes: - /data/qtoggleserver:/data + - /etc/qtoggleserver.conf.default:/usr/share/qtoggleserver/qtoggleserver.conf.sample - /:/host diff --git a/board/common/overlay/etc/qtoggleserver.conf b/board/common/overlay/etc/qtoggleserver.conf deleted file mode 100644 index 4edf4f00fd..0000000000 --- a/board/common/overlay/etc/qtoggleserver.conf +++ /dev/null @@ -1,142 +0,0 @@ - -debug = false - -#public_url = "https://qtoggle.example.com" - -# See https://docs.python.org/3.7/library/logging.config.html#logging-config-dictschema -logging = { - root = { - level = "INFO" - } -} - -core = { - device_name = { - get_cmd = "/usr/libexec/qs-device-name get" - set_cmd = "/usr/libexec/qs-device-name set" - } - passwords = { - set_cmd = "/usr/libexec/qs-password set" - } - - tick_interval = 100 # how often to update everything, in milliseconds - event_queue_size = 1024 # maximum number of queued events in a session - max_client_time_skew = 3600 # maximum accepted time skew when authenticating clients, in seconds - - backup_support = true - history_support = true - history_janitor_interval = 3600 - listen_support = true - sequences_support = true - tls_support = true - virtual_ports = 1024 -} - -server = { - addr = "0.0.0.0" - port = 80 # use 443 for HTTPS - compress_response = true - -# https = { -# cert_file = "/data/etc/ssl/cert.pem" -# key_file = "/data/etc/ssl/privkey.pem" -# } -} - -# JSON persistence driver -#persist = { -# driver = "qtoggleserver.drivers.persist.JSONDriver" -# file_path = "/var/lib/qtoggleserver-data.json" -#} - -# Redis persistence driver -#persist = { -# driver = "qtoggleserver.drivers.persist.RedisDriver" -# host = "127.0.0.1" -# port = 6379 -# db = 0 -#} - -# MongoDB persistence driver -#persist = { -# driver = "qtoggleserver.drivers.persist.MongoDriver" -# host = "host.example.com" -# port = 27017 -# db = "qtoggleserver" -#} - -# PostgreSQL persistence driver -persist = { - driver = "qtoggleserver.drivers.persist.PostgreSQLDriver" - host = "127.0.0.1" - port = 5432 - db = "qtoggleserver" - username = "postgres" -} - -system = { - setup_mode_cmd = "/usr/libexec/qs-setup-mode" - timezone = { - get_cmd = "/usr/libexec/qs-timezone get" - set_cmd = "/usr/libexec/qs-timezone set" - } - net = { - wifi = { - get_cmd = "/usr/libexec/qs-wifi get" - set_cmd = "/usr/libexec/qs-wifi set" - } - ip = { - get_cmd = "/usr/libexec/qs-ip get" - set_cmd = "/usr/libexec/qs-ip set" - } - } - storage = { - path = "/data" - } - temperature = { - get_cmd = "/usr/libexec/qs-temperature get" - } - fwupdate = { - driver = "thingos.ThingOSDriver" - } -} - -frontend = { - enabled = true - debug = false -} - -slaves = { - enabled = true - timeout = 10 # timeout, in seconds, when communicating with slaves - keepalive = 10 # long-polling timeout, in seconds, when waiting for slave events - retry_interval = 5 # how often to retry a failed API request, in seconds - retry_count = 3 # max number of retries upon failed API requests - - discover = { - dhcp_timeout = 10 # increase this if your DHCP server responds slowly to queries - ap = { - interface_cmd = "/usr/libexec/qs-ap-interface" - finish_timeout = 300 # for how long to keep the discovery AP up - } - } -} - -peripherals = [ -# { -# driver = "qtoggleserver.my.peripheral.Driver" -# name = "my_peripheral" -# param1 = "value1" -# } -] - -ports = [ -# { -# driver = "qtoggleserver.drivers.ports.gpio.GPIO" -# no = 10 -# } -] - -port_mappings = { -# "old_id" = "new_id" -} From 8472e9c0ee4dd3dbb836871096a33b5ebd98a65d Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 10 Dec 2021 22:15:58 +0100 Subject: [PATCH 124/150] package/containerd: security bump to version 1.5.8 The eighth patch release for containerd 1.5 contains a mitigation for CVE-2021-41190 as well as several fixes and updates. https://github.com/containerd/containerd/releases/tag/v1.5.8 Signed-off-by: Fabrice Fontaine Reviewed-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 594c56a819..f1a6709554 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 09be0cedea77568029aa0c7be9a323b89fa6886b402b5d223780a05b8c7cd45a containerd-1.5.7.tar.gz +sha256 a41ab8d39393c9456941b477c33bb1b221a29b635f1c9a99523aab2f5e74f790 containerd-1.5.8.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index fdbd2bf3e6..cd975db274 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.7 +CONTAINERD_VERSION = 1.5.8 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From b9f62ce7b621e8b1b3308eb802f2362fa7281a2a Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 23 Jan 2022 23:14:53 -0800 Subject: [PATCH 125/150] package/containerd: security bump to version 1.5.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CVE-2021-43816: "Unprivileged pod using `hostPath` can side-step active LSM when it is SELinux" Containers launched through containerd’s CRI implementation on Linux systems which use the SELinux security module and containerd versions since v1.5.0 can cause arbitrary files and directories on the host to be relabeled to match the container process label through the use of specially-configured bind mounts in a hostPath volume. This relabeling elevates permissions for the container, granting full read/write access over the affected files and directories. Kubernetes and crictl can both be configured to use containerd’s CRI implementation. https://github.com/advisories/GHSA-mvff-h3cj-wj9c https://github.com/containerd/containerd/releases/tag/v1.5.9 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index f1a6709554..d5aafe2e70 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 a41ab8d39393c9456941b477c33bb1b221a29b635f1c9a99523aab2f5e74f790 containerd-1.5.8.tar.gz +sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index cd975db274..8976e12f1a 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.8 +CONTAINERD_VERSION = 1.5.9 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From feee2344747b6cf988c98a7d982a9c088cd567ae Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 5 Apr 2022 19:28:14 +0200 Subject: [PATCH 126/150] package/containerd: security bump to version 1.5.11 Fixes the following security issues: - CVE-2022-23648: containerd CRI plugin: Insecure handling of image volumes https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7 - CVE-2022-24769: Default inheritable capabilities for linux container should be empty https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5aafe2e70..23dacded88 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 40c9767af3e87f2c36adf2f563f0a8374e80b30bd2b7aa80058c85912406cef4 containerd-1.5.9.tar.gz +sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 8976e12f1a..c405b75e81 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.9 +CONTAINERD_VERSION = 1.5.11 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 8ecce6b3a684f2d6d581f11a74d7e0b28080a24b Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sun, 10 Apr 2022 16:47:48 +0200 Subject: [PATCH 127/150] package/containerd: bump to version v1.6.2 Note: this version adds compatibility for Go 1.18. Signed-off-by: Christian Stewart Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 23dacded88..eb9f2894a9 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 6a289406c1c0583763e5a9754e31a1eced55cd5f162a7bc2a3a315d5eb05c7a1 containerd-1.5.11.tar.gz +sha256 4ea21a6b4649512366e7c31ae547ad89c6a69c6586a6d8565cff07898de344b0 containerd-1.6.2.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index c405b75e81..36f2db4125 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.5.11 +CONTAINERD_VERSION = 1.6.2 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 1faab4f116cf174279ed5ad15d0b7a7432f1813d Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 3 Aug 2022 22:47:36 -0700 Subject: [PATCH 128/150] package/containerd: security bump to 1.6.6 v1.6.2 -> v1.6.6: The third patch release for containerd 1.6 includes various fixes and updates. https://github.com/containerd/containerd/releases/tag/v1.6.3 The fourth patch release for containerd 1.6 includes two fixes for CNI and SELinux. https://github.com/containerd/containerd/releases/tag/v1.6.4 The fifth patch release for containerd 1.6 includes a few fixes. https://github.com/containerd/containerd/releases/tag/v1.6.5 The sixth patch release for containerd 1.6 includes a fix for CVE-2022-31030. https://github.com/containerd/containerd/releases/tag/v1.6.6 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index eb9f2894a9..c0c926f2e4 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 4ea21a6b4649512366e7c31ae547ad89c6a69c6586a6d8565cff07898de344b0 containerd-1.6.2.tar.gz +sha256 27afb673c20d53aa5c31aec07b38eb7e4dc911e7e1f0c76fac9513bbf070bd24 containerd-1.6.6.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 36f2db4125..80952914e6 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.6.2 +CONTAINERD_VERSION = 1.6.6 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 7748e2613d8c44ddbebc20d6015a9c43d59bcd36 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 15 Sep 2022 11:30:46 -0700 Subject: [PATCH 129/150] package/containerd: bump to version 1.6.8 https://github.com/containerd/containerd/releases/tag/v1.6.8 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index c0c926f2e4..285519441a 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 27afb673c20d53aa5c31aec07b38eb7e4dc911e7e1f0c76fac9513bbf070bd24 containerd-1.6.6.tar.gz +sha256 f5f938513c28377f64f85e84f2750d39f26b01262f3a062b7e8ce35b560ca407 containerd-1.6.8.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 80952914e6..89bbbf5c03 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.6.6 +CONTAINERD_VERSION = 1.6.8 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 3c4230e87cb87b7d3e5cc7eb1e47159729d95752 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 8 Dec 2022 13:17:22 -0800 Subject: [PATCH 130/150] package/containerd: security bump to version 1.6.12 CVE-2022-23471: https://github.com/advisories/GHSA-2qjp-425j-52j9 and other bugfixes, see: https://github.com/containerd/containerd/releases/tag/v1.6.12 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 285519441a..04a29949d7 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 f5f938513c28377f64f85e84f2750d39f26b01262f3a062b7e8ce35b560ca407 containerd-1.6.8.tar.gz +sha256 b86e5c42f58b8348422c972513ff49783c0d505ed84e498d0d0245c5992e4320 containerd-1.6.12.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 89bbbf5c03..192175800c 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.6.8 +CONTAINERD_VERSION = 1.6.12 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 82d3505f0632abc7be8016a3ff447e12190fb8bf Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 8 Jan 2023 17:05:54 +0100 Subject: [PATCH 131/150] package/containerd: support crun as runtime crun is a drop-in replacement for runc. If crun is enabled, but runc is not, we already install an impersonation symlink, so we do not need to force runc if crun is enabled. Still, runc is the default if crun is not enabled. Signed-off-by: TIAN Yuanhao Reviewed-by: Christian Stewart [yann.morin.1998@free.fr: split into its own patch] Signed-off-by: Yann E. MORIN --- package/containerd/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/containerd/Config.in b/package/containerd/Config.in index 0e3a55ef39..e69dd6768a 100644 --- a/package/containerd/Config.in +++ b/package/containerd/Config.in @@ -5,7 +5,7 @@ config BR2_PACKAGE_CONTAINERD depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc depends on BR2_USE_MMU # util-linux - select BR2_PACKAGE_RUNC # runtime dependency + select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # runtime dependency select BR2_PACKAGE_UTIL_LINUX # runtime dependency select BR2_PACKAGE_UTIL_LINUX_BINARIES select BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT From 9bfac6e6e6823dc777aa014dfe56435eb8a288a7 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 2 Feb 2023 19:44:40 -0800 Subject: [PATCH 132/150] package/containerd: bump to version 1.6.16 Bugfixes and improvements. We now install the containerd.service systemd unit. https://github.com/containerd/containerd/releases/tag/v1.6.16 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 04a29949d7..16474089d1 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 b86e5c42f58b8348422c972513ff49783c0d505ed84e498d0d0245c5992e4320 containerd-1.6.12.tar.gz +sha256 e0a893cf67df9dfaecbcde2ba4e896efb3a86ffe48dcfe0d2b26f7cf19b5af3a containerd-1.6.16.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 192175800c..4a0d6ec38b 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.6.12 +CONTAINERD_VERSION = 1.6.16 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE @@ -41,4 +41,10 @@ else CONTAINERD_TAGS += no_btrfs endif +define CONTAINERD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/containerd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/containerd.service + $(SED) 's,/usr/local/bin,/usr/bin,g' $(TARGET_DIR)/usr/lib/systemd/system/containerd.service +endef + $(eval $(golang-package)) From e513514d5b60c99083831b2c546bf84919012296 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 5 Apr 2023 09:47:01 +0200 Subject: [PATCH 133/150] package/containerd: security bump to version 1.6.20 Various bugfixes and improvements. Noteable security fixes: - CVE-2023-25153: Fix OCI image importer memory exhaustion https://github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2 - CVE-2023-25173: Fix supplementary groups not being set up properly https://github.com/containerd/containerd/security/advisories/GHSA-hmfx-3pcx-653p https://github.com/containerd/containerd/releases/tag/v1.6.20 Signed-off-by: Stefan Agner [Peter: add CVE references] Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 16474089d1..65a87f25fa 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 e0a893cf67df9dfaecbcde2ba4e896efb3a86ffe48dcfe0d2b26f7cf19b5af3a containerd-1.6.16.tar.gz +sha256 819086ccdca44cfc5f108e226c7a9294d8fad3eb32031a621623da80dedbfb11 containerd-1.6.20.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 4a0d6ec38b..bc1dd58611 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.6.16 +CONTAINERD_VERSION = 1.6.20 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 040bf00108905f97762fc3aac6fbb9f7bcc28570 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 16 May 2023 13:57:50 -0700 Subject: [PATCH 134/150] package/containerd: bump version to v1.6.21 https://github.com/containerd/containerd/releases/tag/v1.6.21 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 65a87f25fa..345a7b16ff 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 819086ccdca44cfc5f108e226c7a9294d8fad3eb32031a621623da80dedbfb11 containerd-1.6.20.tar.gz +sha256 9452e95455d03a00d78ae0587595d0c18555bae7912068269efa25a724efe713 containerd-1.6.21.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index bc1dd58611..83489a3abf 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.6.20 +CONTAINERD_VERSION = 1.6.21 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 5f446ce27096c7d5e33862359ffeecfaed84857f Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Thu, 27 Jul 2023 16:22:35 -0700 Subject: [PATCH 135/150] package/containerd: bump version to v1.6.22 Bugfixes and updates. https://github.com/containerd/containerd/releases/tag/v1.6.22 Signed-off-by: Christian Stewart Signed-off-by: Thomas Petazzoni --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 345a7b16ff..8404675e30 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 9452e95455d03a00d78ae0587595d0c18555bae7912068269efa25a724efe713 containerd-1.6.21.tar.gz +sha256 b109aceacc814d7a637ed94ba5ade829cd2642841d03e06971ef124fa3b86899 containerd-1.6.22.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 83489a3abf..c4a6d854c3 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.6.21 +CONTAINERD_VERSION = 1.6.22 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From cab46ccc3682bae46d6eb0c5612751b32394795c Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Fri, 15 Sep 2023 14:52:11 -0700 Subject: [PATCH 136/150] package/containerd: bump to version 1.7.6 Bugfixes and updates. Containerd v1.7.x comes with new features including container sandboxing. https://github.com/containerd/containerd/releases/tag/v1.7.6 Signed-off-by: Christian Stewart Signed-off-by: Arnout Vandecappelle --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 8404675e30..d5e0ef4517 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 b109aceacc814d7a637ed94ba5ade829cd2642841d03e06971ef124fa3b86899 containerd-1.6.22.tar.gz +sha256 084a62f78f96cb5fda02221425f14df09d3e0acd093e4d4b3527900e3ff94677 containerd-1.7.6.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index c4a6d854c3..0591400709 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.6.22 +CONTAINERD_VERSION = 1.7.6 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From bdecc348c7e7e9d4a313c71497431e9b4f8f9d00 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Mon, 9 Oct 2023 14:36:24 -0700 Subject: [PATCH 137/150] package/containerd: bump to version 1.7.7 Contains various fixes and updates. https://github.com/containerd/containerd/releases/tag/v1.7.7 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index d5e0ef4517..450d1d1081 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 084a62f78f96cb5fda02221425f14df09d3e0acd093e4d4b3527900e3ff94677 containerd-1.7.6.tar.gz +sha256 4c6042b13746a803766d76b07f756d03678a33a944b52c0b832c238609db1b2e containerd-1.7.7.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 0591400709..d29a796a72 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.7.6 +CONTAINERD_VERSION = 1.7.7 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 3ab4b493ff576f1a6479eac0f832d84007a6b337 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 4 Oct 2023 18:17:36 +0200 Subject: [PATCH 138/150] package/containerd: add control for additional build tags Disable the AUFS snapshotter by default. AUFS support has been deprecated since v1.5 and won't be available with containerd v2.0. Add configuration option for the ZFS snapshotter and add the proper runtime dependencies. Add configuration option for Kubernetes CRI support. Note that CRI support requires a writeable /etc or an appropriate containerd configuration. Signed-off-by: Stefan Agner Signed-off-by: Thomas Petazzoni --- package/containerd/Config.in | 33 ++++++++++++++++++++++++++++++++ package/containerd/containerd.mk | 13 +++++++++++++ 2 files changed, 46 insertions(+) diff --git a/package/containerd/Config.in b/package/containerd/Config.in index e69dd6768a..12a53bc111 100644 --- a/package/containerd/Config.in +++ b/package/containerd/Config.in @@ -26,6 +26,39 @@ config BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS help Build the btrfs snapshot driver for containerd. +config BR2_PACKAGE_CONTAINERD_DRIVER_DEVMAPPER + bool "devmapper snapshot driver" + depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 + depends on BR2_USE_MMU # lvm2 + depends on !BR2_STATIC_LIBS # lvm2 + select BR2_PACKAGE_LVM2 + help + Build the devmapper snapshot driver for containerd. + +comment "devmapper snapshot driver needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_CONTAINERD_DRIVER_ZFS + bool "zfs snapshot driver" + depends on BR2_LINUX_KERNEL # zfs + depends on BR2_PACKAGE_HAS_UDEV # zfs + depends on BR2_USE_MMU # zfs + depends on BR2_TOOLCHAIN_HAS_THREADS # zfs + select BR2_PACKAGE_ZFS + help + Build the zfs snapshot driver for containerd. + +comment "zfs snapshot driver needs a Linux kernel, udev, toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_LINUX_KERNEL || !BR2_PACKAGE_HAS_UDEV || \ + !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_CONTAINERD_CRI + bool "Kubernetes CRI support" + help + Build containerd with Kubernetes CRI support. + endif comment "containerd needs a glibc or musl toolchain w/ threads" diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index d29a796a72..7c130770c0 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -24,6 +24,7 @@ CONTAINERD_BUILD_TARGETS = \ cmd/ctr CONTAINERD_INSTALL_BINS = $(notdir $(CONTAINERD_BUILD_TARGETS)) +CONTAINERD_TAGS = no_aufs ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) CONTAINERD_DEPENDENCIES += libapparmor @@ -41,6 +42,18 @@ else CONTAINERD_TAGS += no_btrfs endif +ifneq ($(BR2_PACKAGE_CONTAINERD_DRIVER_DEVMAPPER),y) +CONTAINERD_TAGS += no_devmapper +endif + +ifneq ($(BR2_PACKAGE_CONTAINERD_DRIVER_ZFS),y) +CONTAINERD_TAGS += no_zfs +endif + +ifneq ($(BR2_PACKAGE_CONTAINERD_CRI),y) +CONTAINERD_TAGS += no_cri +endif + define CONTAINERD_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 0644 $(@D)/containerd.service \ $(TARGET_DIR)/usr/lib/systemd/system/containerd.service From 4e54f0f5f047ed6de908c73a239262a8d6301595 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 7 Nov 2023 14:23:01 -0800 Subject: [PATCH 139/150] package/containerd: bump version to v1.7.8 The eighth patch release for containerd 1.7 contains various fixes and updates. https://github.com/containerd/containerd/releases/tag/v1.7.8 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 450d1d1081..5524a1a44e 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 4c6042b13746a803766d76b07f756d03678a33a944b52c0b832c238609db1b2e containerd-1.7.7.tar.gz +sha256 891b84e614b491ab1d3bd5c8f4fb119e4929c24762e149e83e181e72d687f706 containerd-1.7.8.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 7c130770c0..61a8472ddd 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.7.7 +CONTAINERD_VERSION = 1.7.8 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 4ad8381242343e04e84deb46e0836b4dd85aa320 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 4 Feb 2024 16:22:48 +0100 Subject: [PATCH 140/150] package/containerd: drop CONTAINERD_CPE_ID_VENDOR Commit 35af2bb8011ea57642777acf5613afa244d325d7 set CONTAINERD_CPE_ID_PRODUCT to containerd but this is not needed as CONTAINERD_CPE_ID_PRODUCT will be set to the package name (i.e. containerd) by default Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN Reviewed-by: Antoine Coutant --- package/containerd/containerd.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 61a8472ddd..d3ca102797 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -9,7 +9,6 @@ CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE CONTAINERD_CPE_ID_VENDOR = linuxfoundation -CONTAINERD_CPE_ID_PRODUCT = containerd CONTAINERD_GOMOD = github.com/containerd/containerd From 8ec37dd2a69495fad5f61634c815b833309e5be4 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 6 Feb 2024 18:31:58 -0800 Subject: [PATCH 141/150] package/containerd: bump version to v1.7.13 https://github.com/containerd/containerd/releases/tag/v1.7.13 Signed-off-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 5524a1a44e..25dc7ff55d 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 891b84e614b491ab1d3bd5c8f4fb119e4929c24762e149e83e181e72d687f706 containerd-1.7.8.tar.gz +sha256 ae2b914bff0ddbb9b29d5fc689a51e1ce89ea4edfc4df9ae10517c6f5d2d5aaf containerd-1.7.13.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index d3ca102797..50c2965b87 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.7.8 +CONTAINERD_VERSION = 1.7.13 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 71fc7e1198a04ec5fe32867abdb9ad59bd0e8bd8 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 21 Mar 2024 22:12:45 +0100 Subject: [PATCH 142/150] package/containerd: fix btrfs handling btrfs handling doesn't depend on btrfs-progs but on kernel >= 4.12 since bump to version 1.7.7 in commit 79e01ef9506a6cdc4836912607dc594ae7b1999d and https://github.com/containerd/containerd/commit/024a748c092cbddde0918f2e93a646ce50116e11 resulting in the following build failure: In file included from vendor/github.com/containerd/btrfs/v2/btrfs.go:21:0: ./btrfs.h:19:2: error: #error "Headers from kernel >= 4.12 are required on compilation time (not on run time)" #error "Headers from kernel >= 4.12 are required on compilation time (not on run time)" ^~~~~ In file included from vendor/github.com/containerd/btrfs/v2/btrfs.go:21:0: ./btrfs.h:22:10: fatal error: linux/btrfs_tree.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~ Fixes: 79e01ef9506a6cdc4836912607dc594ae7b1999d - http://autobuild.buildroot.org/results/d6afeef47daae1783dcce3e2b6a0a16e3e5d5fbd Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/containerd/Config.in | 7 ++++--- package/containerd/containerd.mk | 4 +--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package/containerd/Config.in b/package/containerd/Config.in index 12a53bc111..2dd04b109c 100644 --- a/package/containerd/Config.in +++ b/package/containerd/Config.in @@ -20,12 +20,13 @@ if BR2_PACKAGE_CONTAINERD config BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS bool "btrfs snapshot driver" - depends on BR2_USE_MMU # btrfs-progs - depends on BR2_TOOLCHAIN_HAS_THREADS # btrfs-progs - select BR2_PACKAGE_BTRFS_PROGS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 help Build the btrfs snapshot driver for containerd. +comment "brtfs snapshot driver needs headers >= 4.12" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 + config BR2_PACKAGE_CONTAINERD_DRIVER_DEVMAPPER bool "devmapper snapshot driver" depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 50c2965b87..9bf51c93ae 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -35,9 +35,7 @@ CONTAINERD_DEPENDENCIES += libseccomp host-pkgconf CONTAINERD_TAGS += seccomp endif -ifeq ($(BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS),y) -CONTAINERD_DEPENDENCIES += btrfs-progs -else +ifneq ($(BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS),y) CONTAINERD_TAGS += no_btrfs endif From 7ee4c22a14c531f68445d61cd2e0681f368ff8fb Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Sat, 30 Mar 2024 23:59:31 -0700 Subject: [PATCH 143/150] package/containerd: bump version to v1.7.14 Updates containerd to v1.7.14. Highlights Fix various timing issues with docker pusher Register imagePullThroughput and count with MiB Move high volume event logs to Trace level Container Runtime Interface (CRI) Handle pod transition states gracefully while listing pod stats Runtime Update runc-shim to process exec exits before init https://github.com/containerd/containerd/releases/tag/1.7.14 Signed-off-by: Christian Stewart Signed-off-by: Yann E. MORIN --- package/containerd/containerd.hash | 2 +- package/containerd/containerd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/containerd/containerd.hash b/package/containerd/containerd.hash index 25dc7ff55d..193003e5a3 100644 --- a/package/containerd/containerd.hash +++ b/package/containerd/containerd.hash @@ -1,3 +1,3 @@ # Computed locally -sha256 ae2b914bff0ddbb9b29d5fc689a51e1ce89ea4edfc4df9ae10517c6f5d2d5aaf containerd-1.7.13.tar.gz +sha256 ae55b25fb04b45dfbbde8280b034783a48ae7c40350d17fd272be5cbf0284cf1 containerd-1.7.14.tar.gz sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/package/containerd/containerd.mk b/package/containerd/containerd.mk index 9bf51c93ae..81875f763c 100644 --- a/package/containerd/containerd.mk +++ b/package/containerd/containerd.mk @@ -4,7 +4,7 @@ # ################################################################################ -CONTAINERD_VERSION = 1.7.13 +CONTAINERD_VERSION = 1.7.14 CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) CONTAINERD_LICENSE = Apache-2.0 CONTAINERD_LICENSE_FILES = LICENSE From 7a97f8208e50503630eb5ccb154f61a38da8bf25 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Mon, 6 Feb 2023 20:30:09 -0800 Subject: [PATCH 144/150] package/docker-proxy: drop package The docker-proxy binary (libnetwork) has been merged into the docker-engine source (moby). Drop the docker-proxy package and add cmd/docker-proxy as a build target of docker-engine instead. https://github.com/moby/libnetwork/commit/563fe8e248f3afac75a270f693f38bdc3eea7bf3 Signed-off-by: Christian Stewart Signed-off-by: Yann E. MORIN --- Config.in.legacy | 715 +++++++++++++++++++++++++ DEVELOPERS | 2 +- package/Config.in | 1 - package/docker-engine/Config.in | 1 - package/docker-engine/docker-engine.mk | 2 +- package/docker-proxy/Config.in | 19 - package/docker-proxy/docker-proxy.hash | 3 - package/docker-proxy/docker-proxy.mk | 21 - 8 files changed, 717 insertions(+), 47 deletions(-) delete mode 100644 package/docker-proxy/Config.in delete mode 100644 package/docker-proxy/docker-proxy.hash delete mode 100644 package/docker-proxy/docker-proxy.mk diff --git a/Config.in.legacy b/Config.in.legacy index 5b48566f68..07be1dfaef 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -144,6 +144,721 @@ endif ############################################################################### +comment "Legacy options removed in 2023.02" + +config BR2_PACKAGE_DOCKER_PROXY + bool "docker-proxy removed" + select BR2_LEGACY + select BR2_PACKAGE_DOCKER_ENGINE + help + docker-proxy has been dropped by upstream since version + 563fe8. it has been merged into docker-engine (moby). + +config BR2_PACKAGE_PYTHON_BUNCH + bool "python-bunch removed" + select BR2_LEGACY + help + The python-bunch package is unmaintained and is replaced + by the python-munch package. + +config BR2_TARGET_GUMMIBOOT + bool "gummiboot removed" + select BR2_LEGACY + help + gummiboot has been deprecated since 2015, with no further + updates. It became integrated into the systemd project as + systemd-boot. + +config BR2_PACKAGE_IPUTILS_NINFOD + bool "iputils 20221126 removed ninfod" + select BR2_LEGACY + help + iputils 20221126 removed ninfod. + +config BR2_PACKAGE_IPUTILS_RARPD + bool "iputils 20221126 removed rarpd" + select BR2_LEGACY + help + iputils 20221126 removed rarpd. + +config BR2_PACKAGE_IPUTILS_RDISC + bool "iputils 20221126 removed rdisc" + select BR2_LEGACY + help + iputils 20221126 removed rdisc. + +config BR2_PACKAGE_IPUTILS_RDISC_SERVER + bool "iputils 20221126 removed rdisc" + select BR2_LEGACY + help + iputils 20221126 removed rdisc. + +config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_XINGMUX + bool "xingmux moved" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_XINGMUX + help + The xingmux option has been moved to gst1-plugins-good. + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE + bool "videoscale removed" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERTSCALE + help + The videoscale option has been combined with videoconvert. + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT + bool "videoconvert removed" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERTSCALE + help + The videoconvert option has been combined with videoscale. + +config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 + bool "imx-gpu-viv X11 output has been removed" + select BR2_LEGACY + help + The X11 output was dropped by NXP. + +config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV + bool "xf86-video-imx-viv has been removed" + select BR2_LEGACY + help + The X11 output was dropped by NXP. + +config BR2_PACKAGE_QEMU_CUSTOM_TARGETS + string "the QEMU specific targets option has been removed" + help + This option has been replaced by a list of individual targets + for the many architectures supported by QEMU. + +config BR2_PACKAGE_QEMU_CUSTOM_TARGETS_WRAP + bool + default y if BR2_PACKAGE_QEMU_CUSTOM_TARGETS != "" + select BR2_LEGACY + +config BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD + bool "xf86-input-keyboard removed" + select BR2_LEGACY + help + The X.org keyboard input driver no longer support Linux. + +config BR2_TARGET_SUN20I_D1_SPL + bool "sun20-d1-spl removed" + select BR2_LEGACY + help + U-Boot has gained SPL support for D1, so this temporary + bootloader is no longer supported. + +config BR2_PACKAGE_PYTHON_M2R + bool "python-m2r removed" + select BR2_LEGACY + help + The python-m2r package is unmaintained. + +config BR2_PACKAGE_MESA3D_XVMC + bool "mesa Gallium XvMC state tracker removed" + select BR2_LEGACY + help + The Gallium XvMC state tracker was removed upstream. + +config BR2_KERNEL_HEADERS_5_19 + bool "kernel headers version 5.19.x are no longer supported" + select BR2_LEGACY + help + Version 5.19.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_PACKAGE_XDRIVER_XF86_VIDEO_TGA + bool "xf86-video-tga removed" + select BR2_LEGACY + help + The X.org xf86-video-tga package was removed. + +config BR2_PACKAGE_XDRIVER_XF86_VIDEO_GLINT + bool "xf86-video-glint removed" + select BR2_LEGACY + help + The X.org xf86-video-glint package no longer builds with + Xserver 21 and is unmaintained. + +config BR2_PACKAGE_USBREDIR_SERVER + bool "usbredirserver removed" + select BR2_LEGACY + help + usbredirserver has been dropped by upstream since version + 0.13.0. usbredir tools (which include usbredirect binary) can + be used as a replacement. + +comment "Legacy options removed in 2022.11" + +config BR2_PACKAGE_RABBITMQ_SERVER + bool "rabbitmq-server removed" + select BR2_LEGACY + help + Package was removed because it was unmaintained and had + known security issues. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_RC5 + bool "libopenssl rc5 was never enabled" + select BR2_LEGACY + help + The libopenssl option for rc5 never actually enabled rc5, + which had always been disabled in Buildroot. + +config BR2_PACKAGE_LIBDCADEC + bool "package was deprecated upstream, use ffmpeg instead" + select BR2_LEGACY + help + This decoder has been fully integrated into FFmpeg master + branch and further development will continue there. Using + FFmpeg for DTS decoding is now recommended. + +config BR2_KERNEL_HEADERS_5_17 + bool "kernel headers version 5.17.x are no longer supported" + select BR2_LEGACY + help + Version 5.17.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_iwmmxt + bool "ARM iwmmxt variant removed" + select BR2_LEGACY + help + Support for the ARM iwmmxt architecture variant in GCC has + bitroten and is no longer maintained. GCC maintainers + recommend to no longer use it, and suggest to use "xscale" + as a replacement architecture variant. See + https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106972 + +config BR2_PACKAGE_UHD_N230 + bool "uhd N230 support removed" + select BR2_LEGACY + help + uhd N230 support has been dropped by upstream since version + 4.0.0.0. + +config BR2_PACKAGE_UHD_RFNOC + bool "uhd RFNoC support removed" + select BR2_LEGACY + help + uhd RFNoC support has been dropped by upstream since version + 4.0.0.0. + +config BR2_PACKAGE_GPSD_OLDSTYLE + bool "gpsd oldstyle removed" + select BR2_LEGACY + help + gpsd oldstyle option has been removed by upstream in 2015. + +config BR2_GDB_VERSION_9_2 + bool "gdb 9.2 removed" + select BR2_LEGACY + help + Support for GDB 9.2 has been removed. A new version has + automatically been selected. + +comment "Legacy options removed in 2022.08" + +config BR2_ECLIPSE_REGISTER + bool "Eclipse integration removed" + select BR2_LEGACY + help + The Buildroot integration with the Eclipse IDE has been + removed, as the corresponding Eclipse plugin is no longer + maintained, and is no longer usable with current versions of + Eclipse. + +config BR2_csky + bool "csky architecture removed" + select BR2_LEGACY + help + The csky architecture was removed, by lack of toolchain + support. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 + bool "mesa DRI i915 driver removed" + select BR2_LEGACY + help + The DRI i915 driver was removed upstream. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965 + bool "mesa DRI i965 driver removed" + select BR2_LEGACY + help + The DRI i965 driver was removed upstream. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU + bool "mesa DRI nouveau driver removed" + select BR2_LEGACY + help + The DRI radeon nouveau was removed upstream. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON + bool "mesa DRI radeon r100 driver removed" + select BR2_LEGACY + help + The DRI radeon r100 driver was removed upstream. + +config BR2_GCC_VERSION_9_X + bool "gcc 9.x support removed" + select BR2_LEGACY + help + Support for gcc version 9.x has been removed. The current + default version (11.x or later) has been selected instead. + +config BR2_PACKAGE_PHP_EXT_WDDX + bool "php wddx removed" + select BR2_LEGACY + help + The WDDX extension was removed from php. + +config BR2_nds32 + bool "nds32 architecture removed" + select BR2_LEGACY + help + Support for the nds32 architecture has been removed, due to + its support being removed from the upstream Linux kernel, + and its lack of maintenance in Buildroot. + +config BR2_PACKAGE_RTL8723BS + bool "rtl8723bs removed" + select BR2_LEGACY + help + Package was removed because it is not compatible with latest + kernels and is not maintained anymore: code has been removed + in 2017 as driver is available in the linux-next tree. + +comment "Legacy options removed in 2022.05" + +config BR2_PACKAGE_KTAP + bool "ktap removed" + select BR2_LEGACY + help + Package was removed because it is not compatible with latest + kernels and is not maintained anymore (no release since 2013). + +config BR2_KERNEL_HEADERS_5_16 + bool "kernel headers version 5.16.x are no longer supported" + select BR2_LEGACY + help + Version 5.16.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_4 + bool "kernel headers version 4.4.x are no longer supported" + select BR2_LEGACY + help + Version 4.4.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_BINUTILS_VERSION_2_32_X + bool "binutils 2.32.x has been removed" + select BR2_LEGACY + help + binutils 2.32 has been removed, use a newer version. + +config BR2_sh2a + bool "sh2a architecture support removed" + select BR2_LEGACY + help + The SuperH 2A (SH2A) architecture was not maintained, and + broken, so its support was dropped. + +config BR2_BINUTILS_VERSION_2_35_X + bool "binutils 2.35.x has been removed" + select BR2_LEGACY + help + binutils 2.35 has been removed, use a newer version. + +config BR2_PACKAGE_BOOST_LAYOUT_TAGGED + bool "boost tagged layout removed" + select BR2_LEGACY + help + Boost tagged layout isn't handled by some packages (e.g. botan + or libcpprestsdk). + +config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED + bool "boost versioned layout removed" + select BR2_LEGACY + help + Boost versioned layout isn't handled by a number of autotools + and cmake packages (e.g. azmq, cc-tool, i2pd). + +comment "Legacy options removed in 2022.02" + +config BR2_TARGET_ROOTFS_OCI_ENTRYPOINT_ARGS + string "entrypoint argumetns has been changed as command" + help + The OCI image BR2_TARGET_ROOTFS_OCI_ENTRYPOINT_ARGS option + has been renamed to BR2_TARGET_ROOTFS_OCI_CMD to better + reflect its relation to the actual 'command' of the OCI + image. + + The new semantic for BR2_TARGET_ROOTFS_OCI_CMD is slightly + differnt in relation to how it is interpreted, so be sure to + review the help entry for it. + + Due to this breaking change, the old value here could not be + set to the new variable. + +config BR2_TARGET_ROOTFS_OCI_ENTRYPOINT_ARGS_WRAP + bool + default y if BR2_TARGET_ROOTFS_OCI_ENTRYPOINT_ARGS != "" + select BR2_LEGACY + +config BR2_PACKAGE_LIBCURL_LIBNSS + bool "libcurl NSS removed" + select BR2_LEGACY + help + NSS was deprecated in libcurl 7.82.0. + +config BR2_PACKAGE_WESTON_DEFAULT_FBDEV + bool "weston fbdev removed" + select BR2_LEGACY + help + fbdev was deprecated in weston 10.0.0. + +config BR2_PACKAGE_WESTON_FBDEV + bool "weston fbdev compositor removed" + select BR2_LEGACY + help + fbdev compositor was deprecated in weston 10.0.0. + +config BR2_PACKAGE_PYTHON_PYCLI + bool "python-pycli removed" + select BR2_LEGACY + help + Package was removed because it is not compatible with python + 3.10 and is not maintained anymore (no release since 2012). + +config BR2_PACKAGE_LINUX_TOOLS_BPFTOOL + bool "bpftool was moved" + select BR2_LEGACY + select BR2_PACKAGE_BPFTOOL + help + The linux-tools bpftool build has been moved out + of the linux-tools package. + +config BR2_TARGET_UBOOT_NEEDS_PYTHON2 + bool "host-python 2.7 support for U-Boot was removed" + select BR2_LEGACY + help + Option was removed together with python 2.7 support. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS + bool "gst1-plugins-bad plugin libmms was removed" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_LEGACY + help + This plugin was removed with gst1-plugins-bad-1.20.0. + +config BR2_PACKAGE_PYTHON_FUNCTOOLS32 + bool "python-functools32 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_ENUM34 + bool "python-enum34 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_ENUM + bool "python-enum removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_DIALOG + bool "python-dialog removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_CONFIGOBJ + bool "python-configobj removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_YIELDFROM + bool "python-yieldfrom removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_TYPING + bool "python-typing removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_SUBPROCESS32 + bool "python-subprocess32 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_SINGLEDISPATCH + bool "python-singledispatch removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_PYRO + bool "python-pyro removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_PYPCAP + bool "python-pypcap removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_PATHLIB2 + bool "python-pathlib2 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_PAM + bool "python-pam removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_NFC + bool "python-nfc removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_MAD + bool "python-mad removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_IPADDRESS + bool "python-ipaddress removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_IPADDR + bool "python-ipaddr removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_ID3 + bool "python-id3 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_FUTURES + bool "python-futures removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME + bool "python-backports-ssl-match-hostname removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE + bool "python-backports-shutil-get-terminal-size removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_BACKPORTS_ABC + bool "python-backports-abc removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON + bool "python2.7 package removed" + select BR2_LEGACY + help + Python 2.7 is EOL since April 2020 and has been removed. + + https://www.python.org/dev/peps/pep-0373/ + +config BR2_TARGET_UBOOT_ZYNQ_IMAGE + bool "Generate image for Xilinx Zynq" + select BR2_LEGACY + help + Since 2016.1, U-Boot can natively generate the Zynq boot + image, and so the Xilinx-specific format and tools have been + removed. Should you still have an older U-Boot that needs + this, a python3 version of the zynq-boot-bin.py script can be + downloaded from the URL below and called from a post-build + script. + + https://gist.githubusercontent.com/jameshilliard/e09235dfc6f96c11418a134e6ebf7890/raw/135b7480c405ae8a77a9db615e495f9a9f2d3242/zynq-boot-bin.py + +config BR2_PACKAGE_RPI_BT_FIRMWARE + bool "rpi-bt-firmware package was renamed" + depends on BR2_arm || BR2_aarch64 + select BR2_LEGACY + select BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI + select BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_BT + help + Package rpi-bt-firmware was moved as option to + package brcmfmac_sdio-firmware-rpi. + +config BR2_PACKAGE_RPI_WIFI_FIRMWARE + bool "rpi-wifi-firmware package was renamed" + depends on BR2_arm || BR2_aarch64 + select BR2_LEGACY + select BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI + select BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_WIFI + help + Package rpi-wifi-firmware was moved as option to + package brcmfmac_sdio-firmware-rpi. + +config BR2_PACKAGE_HOST_GDB_PYTHON + bool "GDB Python2 support removed" + select BR2_LEGACY + help + Python2 is deprecated and no longer supported. + Please migrate to Python3. + +config BR2_PACKAGE_GSTREAMER1_MM + bool "gstreamer1-mm package removed" + select BR2_LEGACY + help + This package has been removed as it is not actively + maintained anymore and does not support glibmm-2.68 API. + +config BR2_KERNEL_HEADERS_5_14 + bool "kernel headers version 5.14.x are no longer supported" + select BR2_LEGACY + help + Version 5.14.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE + bool "python-backports-functools-lru-cache package removed" + select BR2_LEGACY + help + This package has been removed as python-setuptools-scm + dropped support of python 2 since version 6.0.0. + +config BR2_PACKAGE_CIVETWEB_WITH_LUA + bool "civetweb lua support option removed" + select BR2_LEGACY + help + Lua support does not depend on a version of Lua bundled + within the Civetweb sources anymore. Lua support is + automatically enabled if an Lua interpreter (lua or luajit) + is enabled in Buildroot. + +config BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER + bool "sunxi-mali-mainline-driver package was renamed" + select BR2_LEGACY + select BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER + help + Since the removal of the sunxi-mali-driver package, the + sunxi-mali-mainline-driver package that coexisted became the + only package to provide the Sunxi Mali driver. The "-mainline" + suffix being undescriptive nowadays and before adding new + packages bringing Mali support for other SoCs/GPU flavors, it + is clearer to rename it SUNXI_MALI_UTGARD_DRIVER. + +config BR2_PACKAGE_SUNXI_MALI_MAINLINE + bool "sunxi-mali-mainline package was renamed" + select BR2_LEGACY + select BR2_PACKAGE_SUNXI_MALI_UTGARD + help + Since the removal of the sunxi-mali package, the + sunxi-mali-mainline package that coexisted became the only + package to provide Mali blobs. The "-mainline" suffix being + undescriptive nowadays and before adding new packages bringing + Mali support for other SoCs/GPU flavors, it is clearer to + rename it SUNXI_MALI_UTGARD. + +config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2 + bool "sunxi-mali-mainline-r6p2 was renamed" + select BR2_LEGACY + help + The sunxi-mali-mainline package has been renamed + sunxi-mali-utgard, the suboptions of this package have also + been renamed accordingly. +# Note: BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2 is still referenced from +# package/sunxi-mali-utgard/Config.in + +config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1 + bool "sunxi-mali-mainline-r8p1 was renamed" + select BR2_LEGACY + help + The sunxi-mali-mainline package has been renamed + sunxi-mali-utgard, the suboptions of this package have also + been renamed accordingly. +# Note: BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1 is still referenced from +# package/sunxi-mali-utgard/Config.in + +config BR2_PACKAGE_QT5WEBKIT_EXAMPLES + bool "qt5webkit-examples removed" + select BR2_LEGACY + help + The qt5webkit-examples package is unmaintained and has been + removed. + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_GLIBC_BLEEDING_EDGE + bool "Bootlin riscv64 glibc bleeding-edge toolchain removed" + select BR2_LEGACY + help + The RISC-V 64-bit LP64 Bootlin toolchains have been removed, + in favor of RISC-V 64-bit LP64D toolchains. + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_MUSL_BLEEDING_EDGE + bool "Bootlin riscv64 musl bleeding-edge toolchain removed" + select BR2_LEGACY + help + The RISC-V 64-bit LP64 Bootlin toolchains have been removed, + in favor of RISC-V 64-bit LP64D toolchains. + +config BR2_PACKAGE_IPUTILS_TFTPD + bool "iputils tftpd option removed" + select BR2_LEGACY + help + tftpd has been removed from iputils since version 20211215. + +config BR2_PACKAGE_IPUTILS_TRACEROUTE6 + bool "iputils traceroute6 option removed" + select BR2_LEGACY + help + traceroute6 has been removed from iputils since version + 20211215. + +config BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE + bool "libmediaart 'none' backend removed" + select BR2_LEGACY + help + 'none' backend has been removed from libmediaart since version + 1.9.5. + +config BR2_PACKAGE_MPD_UPNP + bool "MPD UPnP configuration changed" + select BR2_LEGACY + help + From version 0.23, MPD supports npupnp in addition to pupnp to + provide database access to a UPnP media server. To preserve + the existing functionality, the pupnp option has been selected + in the MPD UPnP configuration. +# Note: BR2_PACKAGE_MPD_UPNP is still referenced from package/mpd/Config.in + comment "Legacy options removed in 2021.11" config BR2_OPENJDK_VERSION_LTS diff --git a/DEVELOPERS b/DEVELOPERS index 3ceb4edbd1..9e12d97b0c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -528,7 +528,7 @@ F: package/delve/ F: package/docker-cli/ F: package/docker-compose/ F: package/docker-engine/ -F: package/docker-proxy/ +F: package/embiggen-disk/ F: package/fuse-overlayfs/ F: package/go/ F: package/go-bootstrap-stage1/ diff --git a/package/Config.in b/package/Config.in index e03165022b..551003fd54 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2514,7 +2514,6 @@ menu "System tools" source "package/docker-cli/Config.in" source "package/docker-compose/Config.in" source "package/docker-engine/Config.in" - source "package/docker-proxy/Config.in" source "package/earlyoom/Config.in" source "package/efibootmgr/Config.in" source "package/efivar/Config.in" diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 1f0efb8fcc..b5a356eab9 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -7,7 +7,6 @@ config BR2_PACKAGE_DOCKER_ENGINE depends on BR2_USE_MMU # containerd select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency select BR2_PACKAGE_CONTAINERD # runtime dependency - select BR2_PACKAGE_DOCKER_PROXY # runtime dependency select BR2_PACKAGE_IPTABLES # runtime dependency help Docker is a platform to build, ship, diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 2a9b72ca78..1b4a923b2f 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -24,7 +24,7 @@ DOCKER_ENGINE_LDFLAGS = \ -X $(DOCKER_ENGINE_GOMOD)/dockerversion.Version="$(DOCKER_ENGINE_VERSION)" DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs -DOCKER_ENGINE_BUILD_TARGETS = cmd/dockerd +DOCKER_ENGINE_BUILD_TARGETS = cmd/dockerd cmd/docker-proxy ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) DOCKER_ENGINE_DEPENDENCIES += libapparmor diff --git a/package/docker-proxy/Config.in b/package/docker-proxy/Config.in deleted file mode 100644 index 7e40536537..0000000000 --- a/package/docker-proxy/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_DOCKER_PROXY - bool "docker-proxy" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS - help - Libnetwork is a Container Network Model that provides a - consistent programming interface and the required network - abstractions for applications. - - This package provides docker-proxy, a run-time dependency of - Docker. - - https://github.com/docker/libnetwork - -comment "docker-proxy needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/docker-proxy/docker-proxy.hash b/package/docker-proxy/docker-proxy.hash deleted file mode 100644 index 58de697929..0000000000 --- a/package/docker-proxy/docker-proxy.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 866c8d196b9396a383b437b0d775476459ed7c11f527c4f6bbf1fd08524b461d docker-proxy-55685ba49593e67f5e1c8180539379b16736c25e.tar.gz -sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14 LICENSE diff --git a/package/docker-proxy/docker-proxy.mk b/package/docker-proxy/docker-proxy.mk deleted file mode 100644 index 6600b24ed9..0000000000 --- a/package/docker-proxy/docker-proxy.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# docker-proxy -# -################################################################################ - -DOCKER_PROXY_VERSION = 55685ba49593e67f5e1c8180539379b16736c25e -DOCKER_PROXY_SITE = $(call github,docker,libnetwork,$(DOCKER_PROXY_VERSION)) - -DOCKER_PROXY_LICENSE = Apache-2.0 -DOCKER_PROXY_LICENSE_FILES = LICENSE - -DOCKER_PROXY_DEPENDENCIES = host-pkgconf - -DOCKER_PROXY_BUILD_TARGETS = cmd/proxy - -define DOCKER_PROXY_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/bin/proxy $(TARGET_DIR)/usr/bin/docker-proxy -endef - -$(eval $(golang-package)) From 252a05f0eb3be60cc9b10f8330df7bbf380fe3f6 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 1 Mar 2023 10:46:40 +0100 Subject: [PATCH 145/150] package/docker-engine: remove non-existing build tags The seccomp and apparmor build tags have been removed in 23.0.0. Don't use those buildtags anymore. Signed-off-by: Stefan Agner Reviewed-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 1b4a923b2f..9b221166b4 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -28,11 +28,9 @@ DOCKER_ENGINE_BUILD_TARGETS = cmd/dockerd cmd/docker-proxy ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) DOCKER_ENGINE_DEPENDENCIES += libapparmor -DOCKER_ENGINE_TAGS += apparmor endif ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -DOCKER_ENGINE_TAGS += seccomp DOCKER_ENGINE_DEPENDENCIES += libseccomp endif From 3d2566b752482558137388c3cc10e53499088236 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 1 Mar 2023 10:46:41 +0100 Subject: [PATCH 146/150] package/docker-engine: bump version to v23.0.1 This release contains some fixes and an improved error message. For the full list see: https://github.com/moby/moby/releases/tag/v23.0.1 Signed-off-by: Stefan Agner Reviewed-by: Christian Stewart Signed-off-by: Peter Korsgaard --- package/docker-cli/docker-cli.hash | 2 +- package/docker-cli/docker-cli.mk | 11 ++++++++++- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 11 ++++++++++- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash index c6db95f9b3..9b231f03b1 100644 --- a/package/docker-cli/docker-cli.hash +++ b/package/docker-cli/docker-cli.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 84d71ac2b508b54e8df9f3ea425aa33e254fd3645fe9bad5619b98eaffb33408 docker-cli-20.10.22.tar.gz +sha256 37bc1c71a782fc10d35aa6708c1b3c90a71f3947c33665cb0de68df25dc14d94 docker-cli-23.0.1.tar.gz sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk index cb44c68c1b..38d903150c 100644 --- a/package/docker-cli/docker-cli.mk +++ b/package/docker-cli/docker-cli.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_CLI_VERSION = 20.10.22 +DOCKER_CLI_VERSION = 23.0.1 DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) DOCKER_CLI_LICENSE = Apache-2.0 @@ -29,6 +29,15 @@ DOCKER_CLI_TAGS += osusergo netgo DOCKER_CLI_GO_ENV = CGO_ENABLED=no endif +# create the go.mod file with language version go1.19 +# remove the conflicting vendor/modules.txt +# https://github.com/moby/moby/issues/44618#issuecomment-1343565705 +define DOCKER_CLI_FIX_VENDORING + printf "module $(DOCKER_CLI_GOMOD)\n\ngo 1.19\n" > $(@D)/go.mod + rm -f $(@D)/vendor/modules.txt +endef +DOCKER_CLI_POST_EXTRACT_HOOKS += DOCKER_CLI_FIX_VENDORING + DOCKER_CLI_INSTALL_BINS = $(notdir $(DOCKER_CLI_BUILD_TARGETS)) $(eval $(golang-package)) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index d15b1359cb..99ab5e4003 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 ee0e2168e27ec87f1b0650e86af5d3e167a07fd2ff8c1ce3bb588f0b4f9a4658 docker-engine-20.10.22.tar.gz +sha256 c8e6c0ac5f0c772023e3430f80190e0f86644b6d94cac63118b03561385f7b56 docker-engine-23.0.1.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index 9b221166b4..f8d31de0fe 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 20.10.22 +DOCKER_ENGINE_VERSION = 23.0.1 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 @@ -60,6 +60,15 @@ else DOCKER_ENGINE_TAGS += exclude_graphdriver_vfs endif +# create the go.mod file with language version go1.19 +# remove the conflicting vendor/modules.txt +# https://github.com/moby/moby/issues/44618#issuecomment-1343565705 +define DOCKER_ENGINE_FIX_VENDORING + printf "module $(DOCKER_ENGINE_GOMOD)\n\ngo 1.19\n" > $(@D)/go.mod + rm -f $(@D)/vendor/modules.txt +endef +DOCKER_ENGINE_POST_EXTRACT_HOOKS += DOCKER_ENGINE_FIX_VENDORING + DOCKER_ENGINE_INSTALL_BINS = $(notdir $(DOCKER_ENGINE_BUILD_TARGETS)) define DOCKER_ENGINE_INSTALL_INIT_SYSTEMD From ae7b7456b2e8126122b53c263c0efdd1a007014f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 15 Feb 2023 23:49:21 +0100 Subject: [PATCH 147/150] package/docker-engine: libseccomp is mandatory libseccomp is mandatory since bump to version 23.0.0 in commit 485b47e025541a58358d8852c600b8e7644b4ec6: https://github.com/moby/moby/pull/42501 Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=15321 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/docker-engine/Config.in | 10 ++++++++-- package/docker-engine/docker-engine.mk | 6 +----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index b5a356eab9..570b2ff681 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -5,9 +5,12 @@ config BR2_PACKAGE_DOCKER_ENGINE depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd -> runc depends on BR2_USE_MMU # containerd + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # libseccomp select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency select BR2_PACKAGE_CONTAINERD # runtime dependency select BR2_PACKAGE_IPTABLES # runtime dependency + select BR2_PACKAGE_LIBSECCOMP help Docker is a platform to build, ship, and run applications as lightweight containers. @@ -48,8 +51,11 @@ config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_VFS endif -comment "docker-engine needs a glibc or musl toolchain w/ threads" +comment "docker-engine needs a glibc or musl toolchain w/ threads, headers >= 3.17" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 depends on BR2_USE_MMU diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index f8d31de0fe..c61aa491c2 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -10,7 +10,7 @@ DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 DOCKER_ENGINE_LICENSE_FILES = LICENSE -DOCKER_ENGINE_DEPENDENCIES = host-pkgconf +DOCKER_ENGINE_DEPENDENCIES = host-pkgconf libseccomp DOCKER_ENGINE_GOMOD = github.com/docker/docker DOCKER_ENGINE_CPE_ID_VENDOR = docker @@ -30,10 +30,6 @@ ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) DOCKER_ENGINE_DEPENDENCIES += libapparmor endif -ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -DOCKER_ENGINE_DEPENDENCIES += libseccomp -endif - ifeq ($(BR2_INIT_SYSTEMD),y) DOCKER_ENGINE_DEPENDENCIES += systemd DOCKER_ENGINE_TAGS += systemd journald From 1931fe3291ca7ea877bfda0f5172b4d0d73b9264 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 29 Mar 2023 15:06:21 +0200 Subject: [PATCH 148/150] package/docker-engine: security bump version to v23.0.2 Fixes the following security issue: - CVE-2023-26054: (Buildkit): Credentials inlined to Git URLs could end up in provenance attestation https://github.com/moby/buildkit/security/advisories/GHSA-gc89-7gcr-jxqc In addition, a number of issues have been fixed. For the full list, see: https://github.com/moby/moby/releases/tag/v23.0.2 Signed-off-by: Stefan Agner [Peter: Mark as security bump] Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 99ab5e4003..4b7c026eef 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 c8e6c0ac5f0c772023e3430f80190e0f86644b6d94cac63118b03561385f7b56 docker-engine-23.0.1.tar.gz +sha256 4caca59c774445a5aad6114d89c97c88d9705f048704fecdd3f5712cb369dc39 docker-engine-23.0.2.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index c61aa491c2..a27625a38e 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 23.0.1 +DOCKER_ENGINE_VERSION = 23.0.2 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From 37993a6d4c021c10199e74aa9fb803d047e813a5 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 5 Apr 2023 09:47:02 +0200 Subject: [PATCH 149/150] package/docker-engine: security bump version to v23.0.3 Fixed a number of issues that can cause Swarm encrypted overlay networks to fail to uphold their guarantees, addressing CVE-2023-28841, CVE-2023-28840, and CVE-2023-28842. https://github.com/moby/moby/releases/tag/v23.0.3 Signed-off-by: Stefan Agner Signed-off-by: Peter Korsgaard --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 4b7c026eef..0dc974ce85 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 4caca59c774445a5aad6114d89c97c88d9705f048704fecdd3f5712cb369dc39 docker-engine-23.0.2.tar.gz +sha256 2f74aef0eadf5bfe652b1822f1349fa0baf7412f83b856a9cfb9a8fbfd686880 docker-engine-23.0.3.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index a27625a38e..c0f2c73b69 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 23.0.2 +DOCKER_ENGINE_VERSION = 23.0.3 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0 From dfbd524c98b05bf81765a33a7f37b58cce56de2d Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 3 May 2023 16:52:34 -0700 Subject: [PATCH 150/150] package/docker-engine: bump version to 23.0.5 https://github.com/moby/moby/releases/tag/v23.0.5 Signed-off-by: Christian Stewart Signed-off-by: Yann E. MORIN --- package/docker-engine/docker-engine.hash | 2 +- package/docker-engine/docker-engine.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash index 0dc974ce85..092ec989cf 100644 --- a/package/docker-engine/docker-engine.hash +++ b/package/docker-engine/docker-engine.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 2f74aef0eadf5bfe652b1822f1349fa0baf7412f83b856a9cfb9a8fbfd686880 docker-engine-23.0.3.tar.gz +sha256 f502eba135828ae52cefb12f1c74092c8865e39cb94f5daed0f3f6717a8d50a3 docker-engine-23.0.5.tar.gz sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk index c0f2c73b69..f904793aa2 100644 --- a/package/docker-engine/docker-engine.mk +++ b/package/docker-engine/docker-engine.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_ENGINE_VERSION = 23.0.3 +DOCKER_ENGINE_VERSION = 23.0.5 DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) DOCKER_ENGINE_LICENSE = Apache-2.0