Compare commits
27
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c765ac9c02 | ||
|
|
b6ce18b5ac | ||
|
|
222d747eff | ||
|
|
742258fec0 | ||
|
|
0ac6713cee | ||
|
|
2816038d8b | ||
|
|
30a4e35c39 | ||
|
|
d3a93df9e8 | ||
|
|
8ac1458e81 | ||
|
|
aecf8a96e1 | ||
|
|
4030a7eb59 | ||
|
|
c27bf8881d | ||
|
|
ad4775fb2f | ||
|
|
e418a2c06a | ||
|
|
f32ddbbcf3 | ||
|
|
ddcefbcfd8 | ||
|
|
f0795bd104 | ||
|
|
735354d587 | ||
|
|
62b64c56b8 | ||
|
|
4944ff2878 | ||
|
|
1e0e8540eb | ||
|
|
603df32a0c | ||
|
|
fd5afab7b6 | ||
|
|
3ec773ba91 | ||
|
|
9a560d6aff | ||
|
|
7e655f81d4 | ||
|
|
4f4fb695a4 |
+3
-4
@@ -74,7 +74,6 @@ board/pine64/rockpro64/post-build.sh Shellcheck
|
||||
board/qemu/aarch64-sbsa/assemble-flash-images Shellcheck
|
||||
board/qemu/microblazebe-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch Upstream
|
||||
board/qemu/microblazeel-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch Upstream
|
||||
board/qemu/ppc-mpc8544ds/patches/linux/0001-powerpc-Fix-mcpu-options-for-SPE-only-compiler.patch Upstream
|
||||
board/qemu/x86/post-build.sh Shellcheck
|
||||
board/qemu/x86_64/post-build.sh Shellcheck
|
||||
board/qmtech/zynq/patches/linux/0001-DTS-for-QMTech-Zynq-starter-kit.patch Upstream
|
||||
@@ -949,9 +948,9 @@ package/lua/5.1.5/0012-fix-reader-at-eoz.patch Upstream
|
||||
package/lua/5.3.6/0001-root-path.patch Upstream
|
||||
package/lua/5.3.6/0002-shared-libs-for-lua.patch Upstream
|
||||
package/lua/5.3.6/0003-linenoise.patch Upstream
|
||||
package/lua/5.4.5/0001-root-path.patch Upstream
|
||||
package/lua/5.4.5/0002-shared-libs-for-lua.patch Upstream
|
||||
package/lua/5.4.5/0011-linenoise.patch Upstream
|
||||
package/lua/5.4.6/0001-root-path.patch Upstream
|
||||
package/lua/5.4.6/0002-shared-libs-for-lua.patch Upstream
|
||||
package/lua/5.4.6/0011-linenoise.patch Upstream
|
||||
package/luajit/0001-no-bin-symlink.patch Upstream
|
||||
package/luajit/0002-install-inc.patch Upstream
|
||||
package/luasyslog/0001-remove-AX_LUA_LIBS.patch Upstream
|
||||
|
||||
@@ -1,3 +1,19 @@
|
||||
2023.05-rc2, released May 28th, 2023
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: busybox, clamav, crudini,
|
||||
kodi-pvr-vbox, libcurl, libmnl, libpqxx, libressl, libssh,
|
||||
llvm, lua, mesa3d, perl-http-message, python-can,
|
||||
python-django, sdl2_mixer, webkitgtk, zfs, znc
|
||||
|
||||
New packages: perl-clone
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#15421: qemu_aarch64_ebbr_defconfig: Missing Linux kernel source..
|
||||
#15581: qemu_ppc_mpc8544ds_defconfig: Fails due to non-working patch
|
||||
|
||||
2023.05-rc1, released May 15th, 2023
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
@@ -146,6 +146,13 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2023.05"
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_2
|
||||
bool "kernel headers version 6.2.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.2.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_ATK
|
||||
bool "atk removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
+1
-1
@@ -662,7 +662,7 @@ N: Damien Lanson <damien@kal-host.com>
|
||||
F: package/libvdpau/
|
||||
F: package/log4cpp/
|
||||
|
||||
N: Damien Le Moal <damien.lemoal@wdc.com>
|
||||
N: Damien Le Moal <dlemoal@kernel.org>
|
||||
F: package/python-kflash/
|
||||
F: board/canaan/
|
||||
F: configs/canaan_kd233_defconfig
|
||||
|
||||
@@ -90,9 +90,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2023.05-rc1
|
||||
export BR2_VERSION := 2023.05-rc2
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1684130000
|
||||
BR2_VERSION_EPOCH = 1685305000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
-53
@@ -1,53 +0,0 @@
|
||||
From a0919e3177295f4aaa9006915adcddc31788d809 Mon Sep 17 00:00:00 2001
|
||||
From: Ben Hutchings <ben@decadent.org.uk>
|
||||
Date: Wed, 26 Dec 2018 00:00:40 +0000
|
||||
Subject: [PATCH] powerpc: Fix -mcpu= options for SPE-only compiler
|
||||
|
||||
GCC for Debian's "powerpcspe" architecture only supports 32-bit
|
||||
SPE targets, and using -mcpu=powerpc or -mcpu=powerpc64 is a fatal
|
||||
error.
|
||||
|
||||
* Change the test for a biarch compiler to pass both the -m32 and -m64
|
||||
options, so that it doesn't catch 32-bit-only compilers
|
||||
* Add an ifdef CONFIG_PPC64 around the 64-bit CPU option definitions
|
||||
|
||||
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
|
||||
[Romain: Patch from Debian repository:
|
||||
https://salsa.debian.org/kernel-team/linux/-/blob/buster/debian/patches/bugfix/powerpc/powerpc-fix-mcpu-options-for-spe-only-compiler.patch]
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
arch/powerpc/Makefile | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
|
||||
index 5c8c06215dd4..e3dbea6d7ae0 100644
|
||||
--- a/arch/powerpc/Makefile
|
||||
+++ b/arch/powerpc/Makefile
|
||||
@@ -12,7 +12,7 @@
|
||||
# Rewritten by Cort Dougan and Paul Mackerras
|
||||
#
|
||||
|
||||
-HAS_BIARCH := $(call cc-option-yn, -m32)
|
||||
+HAS_BIARCH := $(call cc-option-yn, -m32 -m64)
|
||||
|
||||
# Set default 32 bits cross compilers for vdso and boot wrapper
|
||||
CROSS32_COMPILE ?=
|
||||
@@ -164,6 +164,7 @@ CFLAGS-$(CONFIG_PPC32) += $(call cc-option, $(MULTIPLEWORD))
|
||||
|
||||
CFLAGS-$(CONFIG_PPC32) += $(call cc-option,-mno-readonly-in-sdata)
|
||||
|
||||
+ifdef CONFIG_PPC64
|
||||
ifdef CONFIG_PPC_BOOK3S_64
|
||||
ifdef CONFIG_CPU_LITTLE_ENDIAN
|
||||
CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=power8
|
||||
@@ -175,6 +176,7 @@ endif
|
||||
else
|
||||
CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=powerpc64
|
||||
endif
|
||||
+endif
|
||||
|
||||
ifdef CONFIG_FUNCTION_TRACER
|
||||
CC_FLAGS_FTRACE := -pg
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -3,7 +3,6 @@ BR2_powerpc=y
|
||||
BR2_powerpc_8548=y
|
||||
|
||||
# System
|
||||
BR2_GLOBAL_PATCH_DIR="board/qemu/ppc-mpc8544ds/patches"
|
||||
BR2_SYSTEM_DHCP="eth0"
|
||||
|
||||
# Filesystem
|
||||
|
||||
@@ -76,37 +76,37 @@
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2023.05-rc1</b></h3>
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2023.05-rc2</b></h3>
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2023.05-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2023.05-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2023.05-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2023.05-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2023.05-rc1.tar.gz">buildroot-2023.05-rc1.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2023.05-rc1.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2023.05-rc2.tar.gz">buildroot-2023.05-rc2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2023.05-rc2.tar.gz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2023.05-rc1.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2023.05-rc2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2023.05-rc1.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2023.05-rc2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2023.05-rc1.tar.xz">buildroot-2023.05-rc1.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2023.05-rc1.tar.xz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2023.05-rc2.tar.xz">buildroot-2023.05-rc2.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2023.05-rc2.tar.xz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,6 +9,27 @@
|
||||
<h2>News</h2>
|
||||
<ul class="timeline">
|
||||
|
||||
<li class="timeline-inverted">
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2023.05-rc2 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>28 May 2023</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>2023.05-rc2 has been released with more cleanups and build fixes. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2023.05-rc2">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2023.05-rc2.tar.xz">2023.05-rc2
|
||||
release candidate</a>, and report any problems found to the
|
||||
<a href="support.html">mailing list</a> or
|
||||
<a href="https://bugs.buildroot.org">bug tracker</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ endif
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "6.3.2" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "6.3.4" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
|
||||
+7
-8
@@ -1,14 +1,13 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 b612ecf282ca3f7989ff6d9f39082833b7dc2d522cb969a05334d3614e9c5328 linux-6.3.2.tar.xz
|
||||
sha256 9ffa34921044660c6adb3eb5fd996192e322b15bbf532fe4e4e7a47079ed8fc1 linux-6.2.15.tar.xz
|
||||
sha256 7a094c1428b20fef0b5429e4effcc6ed962a674ac6f04e606d63be1ddcc3a6f0 linux-6.1.28.tar.xz
|
||||
sha256 d8627528ed6b3ae607d00b1ef5a46e0e7051ae40b285fd4e82f4ff0bb72b68e8 linux-6.3.4.tar.xz
|
||||
sha256 1bf254c4ca9ebccb25328296584fb5e87ad635ae0c1cc1deb0b5bb37a4608813 linux-6.1.30.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256 77ceea259c0158dd624304871170d09b2e59ed612f3a4d436fe0f07362dcaec2 linux-5.15.111.tar.xz
|
||||
sha256 1bbd445c154b053eea46acc883be548a98179988a9ed3a0b81bddfbf30a37e29 linux-5.10.179.tar.xz
|
||||
sha256 142f9aed1c9f2e409dd72c5c490ad824dddf31f955ed2097d5989c4b5074fc28 linux-5.4.242.tar.xz
|
||||
sha256 4a4e98d21149d781867a6d44855f708b02f03cfe233d8026a0af9c9841b3b9ca linux-5.15.113.tar.xz
|
||||
sha256 da839a4bf1f6c964b9bde593bd58928f106f53690ff677e226bc50cf368b0c29 linux-5.10.180.tar.xz
|
||||
sha256 c3cf664feeeee47e0f0c45c53705568f73692c37a3ff7f11c1b15e59610feb04 linux-5.4.243.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
|
||||
sha256 43a514997d3a9052b765a9e1c8fbf7f5a810771937f8754a529ed09e0e02e20b linux-4.19.282.tar.xz
|
||||
sha256 876c01f0d12ad0147b5c9ee2de919bedc7ffb7c2714dbfb7ccf44426f6f49153 linux-4.14.314.tar.xz
|
||||
sha256 047316d20c6c97ad41c40477c7e1ab0bea434243e17bfc72155801b123cc51f4 linux-4.19.283.tar.xz
|
||||
sha256 a346c5c34c06caeb28063b6379a28ec1f4111fa438ecd933a55f696fe362c99d linux-4.14.315.tar.xz
|
||||
# Locally computed
|
||||
sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz
|
||||
sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz
|
||||
|
||||
@@ -796,6 +796,7 @@ menu "Perl libraries/modules"
|
||||
source "package/perl-class-method-modifiers/Config.in"
|
||||
source "package/perl-class-std/Config.in"
|
||||
source "package/perl-class-std-fast/Config.in"
|
||||
source "package/perl-clone/Config.in"
|
||||
source "package/perl-convert-asn1/Config.in"
|
||||
source "package/perl-cookie-baker/Config.in"
|
||||
source "package/perl-crypt-blowfish/Config.in"
|
||||
|
||||
@@ -0,0 +1,103 @@
|
||||
From 93e0898c663a533082b5f3c2e7dcce93ec47076d Mon Sep 17 00:00:00 2001
|
||||
From: Denys Vlasenko <vda.linux@googlemail.com>
|
||||
Date: Thu, 26 Jan 2023 12:56:33 +0100
|
||||
Subject: [PATCH] shell: fix SIGWINCH and SIGCHLD (in hush) interrupting line
|
||||
input, closes 15256
|
||||
|
||||
function old new delta
|
||||
record_pending_signo 32 63 +31
|
||||
lineedit_read_key 231 224 -7
|
||||
------------------------------------------------------------------------------
|
||||
(add/remove: 0/0 grow/shrink: 1/1 up/down: 31/-7) Total: 24 bytes
|
||||
|
||||
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
||||
Upstream: https://git.busybox.net/busybox/commit/?id=93e0898c663a533082b5f3c2e7dcce93ec47076d
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
libbb/lineedit.c | 17 ++++++++++-------
|
||||
shell/ash.c | 3 ++-
|
||||
shell/hush.c | 10 ++++++++--
|
||||
3 files changed, 20 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
|
||||
index d6b2e76ff..b942f540a 100644
|
||||
--- a/libbb/lineedit.c
|
||||
+++ b/libbb/lineedit.c
|
||||
@@ -2180,7 +2180,8 @@ static int lineedit_read_key(char *read_key_buffer, int timeout)
|
||||
* "\xff\n",pause,"ls\n" invalid and thus won't lose "ls".
|
||||
*
|
||||
* If LI_INTERRUPTIBLE, return -1 if got EINTR in poll()
|
||||
- * inside read_key, or if bb_got_signal != 0 (IOW: if signal
|
||||
+ * inside read_key and bb_got_signal became != 0,
|
||||
+ * or if bb_got_signal != 0 (IOW: if signal
|
||||
* arrived before poll() is reached).
|
||||
*
|
||||
* Note: read_key sets errno to 0 on success.
|
||||
@@ -2197,14 +2198,16 @@ static int lineedit_read_key(char *read_key_buffer, int timeout)
|
||||
IF_FEATURE_EDITING_WINCH(S.ok_to_redraw = 0;)
|
||||
if (errno != EINTR)
|
||||
break;
|
||||
+ /* It was EINTR. Repeat read_key() unless... */
|
||||
if (state->flags & LI_INTERRUPTIBLE) {
|
||||
- /* LI_INTERRUPTIBLE bails out on EINTR,
|
||||
- * but nothing really guarantees that bb_got_signal
|
||||
- * is nonzero. Follow the least surprise principle:
|
||||
+ /* LI_INTERRUPTIBLE bails out on EINTR
|
||||
+ * if bb_got_signal became nonzero.
|
||||
+ * (It may stay zero: for example, our SIGWINCH
|
||||
+ * handler does not set it. This is used for signals
|
||||
+ * which should not interrupt line editing).
|
||||
*/
|
||||
- if (bb_got_signal == 0)
|
||||
- bb_got_signal = 255;
|
||||
- goto ret;
|
||||
+ if (bb_got_signal != 0)
|
||||
+ goto ret; /* will return -1 */
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/shell/ash.c b/shell/ash.c
|
||||
index 18ccc1329..5f8c8ea19 100644
|
||||
--- a/shell/ash.c
|
||||
+++ b/shell/ash.c
|
||||
@@ -10821,7 +10821,8 @@ preadfd(void)
|
||||
again:
|
||||
/* For shell, LI_INTERRUPTIBLE is set:
|
||||
* read_line_input will abort on either
|
||||
- * getting EINTR in poll(), or if it sees bb_got_signal != 0
|
||||
+ * getting EINTR in poll() and bb_got_signal became != 0,
|
||||
+ * or if it sees bb_got_signal != 0
|
||||
* (IOW: if signal arrives before poll() is reached).
|
||||
* Interactive testcases:
|
||||
* (while kill -INT $$; do sleep 1; done) &
|
||||
diff --git a/shell/hush.c b/shell/hush.c
|
||||
index d111f0cc5..f064b8fd2 100644
|
||||
--- a/shell/hush.c
|
||||
+++ b/shell/hush.c
|
||||
@@ -1946,7 +1946,12 @@ static void record_pending_signo(int sig)
|
||||
{
|
||||
sigaddset(&G.pending_set, sig);
|
||||
#if ENABLE_FEATURE_EDITING
|
||||
- bb_got_signal = sig; /* for read_line_input: "we got a signal" */
|
||||
+ if (sig != SIGCHLD
|
||||
+ || (G_traps && G_traps[SIGCHLD] && G_traps[SIGCHLD][0])
|
||||
+ /* ^^^ if SIGCHLD, interrupt line reading only if it has a trap */
|
||||
+ ) {
|
||||
+ bb_got_signal = sig; /* for read_line_input: "we got a signal" */
|
||||
+ }
|
||||
#endif
|
||||
#if ENABLE_HUSH_FAST
|
||||
if (sig == SIGCHLD) {
|
||||
@@ -2669,7 +2674,8 @@ static int get_user_input(struct in_str *i)
|
||||
} else {
|
||||
/* For shell, LI_INTERRUPTIBLE is set:
|
||||
* read_line_input will abort on either
|
||||
- * getting EINTR in poll(), or if it sees bb_got_signal != 0
|
||||
+ * getting EINTR in poll() and bb_got_signal became != 0,
|
||||
+ * or if it sees bb_got_signal != 0
|
||||
* (IOW: if signal arrives before poll() is reached).
|
||||
* Interactive testcases:
|
||||
* (while kill -INT $$; do sleep 1; done) &
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -54,7 +54,7 @@ CLAMAV_CONF_OPTS = \
|
||||
-DENABLE_MILTER=OFF \
|
||||
-DENABLE_TESTS=OFF \
|
||||
-DHAVE_SYSTEM_LFS_FTS=ON \
|
||||
-DRUST_COMPILER_TARGET=$(ARCH)-unknown-$(TARGET_OS)-$(LIBC)$(ABI) \
|
||||
-DRUST_COMPILER_TARGET=$(RUSTC_TARGET_NAME) \
|
||||
-Dtest_run_result=ON \
|
||||
-Dtest_run_result__TRYRUN_OUTPUT=ON
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From d81b703f3e8e29c1547386135c7e9ca539c1f054 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
|
||||
Date: Tue, 2 Aug 2022 14:40:37 +0100
|
||||
Subject: [PATCH] prefer shlex over pipes
|
||||
|
||||
pipes is deprecated since python 3.10
|
||||
and slated for removal in python 3.13
|
||||
|
||||
[Romain backport to 0.9.3]
|
||||
Upstream: https://github.com/pixelb/crudini/commit/e1650941054822faad4cda788bff6fe364eb4ca3
|
||||
Signed-off-by: Romain Naour <romain.naour@smile.fr>
|
||||
---
|
||||
crudini | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/crudini b/crudini
|
||||
index 669596b..a136241 100755
|
||||
--- a/crudini
|
||||
+++ b/crudini
|
||||
@@ -17,15 +17,17 @@ import getopt
|
||||
import hashlib
|
||||
import iniparse
|
||||
import os
|
||||
-import pipes
|
||||
+import re
|
||||
import shutil
|
||||
import string
|
||||
import tempfile
|
||||
|
||||
if sys.version_info[0] >= 3:
|
||||
+ import shlex as pipes
|
||||
from io import StringIO
|
||||
import configparser
|
||||
else:
|
||||
+ import pipes
|
||||
from cStringIO import StringIO
|
||||
import ConfigParser as configparser
|
||||
|
||||
--
|
||||
2.34.3
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_KODI_PVR_VBOX
|
||||
bool "kodi-pvr-vbox"
|
||||
select BR2_PACKAGE_TINYXML2
|
||||
help
|
||||
Kodi PVR addon for interfacing with VBox Communications XTi TV
|
||||
Gateway
|
||||
|
||||
@@ -8,6 +8,6 @@ KODI_PVR_VBOX_VERSION = 20.4.2-Nexus
|
||||
KODI_PVR_VBOX_SITE = $(call github,kodi-pvr,pvr.vbox,$(KODI_PVR_VBOX_VERSION))
|
||||
KODI_PVR_VBOX_LICENSE = GPL-2.0+
|
||||
KODI_PVR_VBOX_LICENSE_FILES = LICENSE.md
|
||||
KODI_PVR_VBOX_DEPENDENCIES = kodi
|
||||
KODI_PVR_VBOX_DEPENDENCIES = kodi tinyxml2
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://curl.se/download/curl-8.0.1.tar.xz.asc
|
||||
# https://curl.se/download/curl-8.1.1.tar.xz.asc
|
||||
# signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2
|
||||
sha256 0a381cd82f4d00a9a334438b8ca239afea5bfefcfa9a1025f2bf118e79e0b5f0 curl-8.0.1.tar.xz
|
||||
sha256 08a948e061929645597c1ef7194e07b308b22084ff03fa7400b465e6c05149e5 curl-8.1.1.tar.xz
|
||||
sha256 b1d7feb949ea5023552029fbe0bf5db4f23c2f85e9b8e51e18536f0ecbf9c524 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBCURL_VERSION = 8.0.1
|
||||
LIBCURL_VERSION = 8.1.1
|
||||
LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz
|
||||
LIBCURL_SITE = https://curl.se/download
|
||||
LIBCURL_DEPENDENCIES = host-pkgconf \
|
||||
|
||||
@@ -10,7 +10,11 @@ if BR2_PACKAGE_LIBMNL
|
||||
|
||||
config BR2_PACKAGE_LIBMNL_EXAMPLES
|
||||
bool "install examples"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
|
||||
help
|
||||
Install binary examples.
|
||||
|
||||
comment "examples needs a toolchain w/ headers >= 4.11"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
|
||||
|
||||
endif
|
||||
|
||||
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBPQXX
|
||||
bool "libpqxx"
|
||||
depends on BR2_PACKAGE_POSTGRESQL
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
libpqxx is the official C++ client API for PostgreSQL, the
|
||||
@@ -10,8 +10,8 @@ config BR2_PACKAGE_LIBPQXX
|
||||
|
||||
http://pqxx.org/development/libpqxx/
|
||||
|
||||
comment "libpqxx needs toolchain w/ C++, gcc >= 4.9, threads"
|
||||
comment "libpqxx needs toolchain w/ C++, gcc >= 7, threads"
|
||||
depends on BR2_PACKAGE_POSTGRESQL
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -11,6 +11,8 @@ LIBPQXX_DEPENDENCIES = postgresql
|
||||
LIBPQXX_LICENSE = BSD-3-Clause
|
||||
LIBPQXX_LICENSE_FILES = COPYING
|
||||
|
||||
LIBPQXX_CONF_ENV += ac_cv_path_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config
|
||||
LIBPQXX_CONF_ENV = \
|
||||
ac_cv_path_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config \
|
||||
CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++17"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256
|
||||
sha256 b06aa538fefc9c6b33c4db4931a09a5f52d9d2357219afcbff7d93fe12ebf6f7 libressl-3.7.2.tar.gz
|
||||
sha256 7948c856a90c825bd7268b6f85674a8dcd254bae42e221781b24e3f8dc335db3 libressl-3.7.3.tar.gz
|
||||
# Locally computed
|
||||
sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBRESSL_VERSION = 3.7.2
|
||||
LIBRESSL_VERSION = 3.7.3
|
||||
LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
|
||||
LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code)
|
||||
LIBRESSL_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://www.libssh.org/files/0.10/libssh-0.10.4.tar.xz.asc
|
||||
# https://www.libssh.org/files/0.10/libssh-0.10.5.tar.xz.asc
|
||||
# with key 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
|
||||
sha256 07392c54ab61476288d1c1f0a7c557b50211797ad00c34c3af2bbc4dbc4bd97d libssh-0.10.4.tar.xz
|
||||
sha256 b60e2ff7f367b9eee2b5634d3a63303ddfede0e6a18dfca88c44a8770e7e4234 libssh-0.10.5.tar.xz
|
||||
sha256 1656186e951db1c010a8485481fa94587f7e53a26d24976bef97945ad0c4df5a COPYING
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
LIBSSH_VERSION_MAJOR = 0.10
|
||||
LIBSSH_VERSION = $(LIBSSH_VERSION_MAJOR).4
|
||||
LIBSSH_VERSION = $(LIBSSH_VERSION_MAJOR).5
|
||||
LIBSSH_SOURCE = libssh-$(LIBSSH_VERSION).tar.xz
|
||||
LIBSSH_SITE = https://www.libssh.org/files/$(LIBSSH_VERSION_MAJOR)
|
||||
LIBSSH_LICENSE = LGPL-2.1
|
||||
|
||||
@@ -49,10 +49,6 @@ config BR2_KERNEL_HEADERS_6_1
|
||||
bool "Linux 6.1.x kernel headers"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_2
|
||||
bool "Linux 6.2.x kernel headers"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_3
|
||||
bool "Linux 6.3.x kernel headers"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
|
||||
@@ -400,14 +396,13 @@ endchoice
|
||||
|
||||
config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "4.14.314" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.19.282" if BR2_KERNEL_HEADERS_4_19
|
||||
default "5.4.242" if BR2_KERNEL_HEADERS_5_4
|
||||
default "5.10.179" if BR2_KERNEL_HEADERS_5_10
|
||||
default "5.15.111" if BR2_KERNEL_HEADERS_5_15
|
||||
default "6.1.28" if BR2_KERNEL_HEADERS_6_1
|
||||
default "6.2.15" if BR2_KERNEL_HEADERS_6_2
|
||||
default "6.3.2" if BR2_KERNEL_HEADERS_6_3
|
||||
default "4.14.315" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.19.283" if BR2_KERNEL_HEADERS_4_19
|
||||
default "5.4.243" if BR2_KERNEL_HEADERS_5_4
|
||||
default "5.10.180" if BR2_KERNEL_HEADERS_5_10
|
||||
default "5.15.113" if BR2_KERNEL_HEADERS_5_15
|
||||
default "6.1.30" if BR2_KERNEL_HEADERS_6_1
|
||||
default "6.3.4" if BR2_KERNEL_HEADERS_6_3
|
||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
|
||||
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From c6c71ab47d658ab8f84e6a6066d476fd9632bbca Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyich@gmail.com>
|
||||
Date: Mon, 23 May 2022 08:03:23 +0100
|
||||
Subject: [PATCH] Add missing <cstdint> header to Signals.h
|
||||
|
||||
Without the change llvm build fails on this week's gcc-13 snapshot as:
|
||||
|
||||
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
|
||||
In file included from llvm/lib/Support/Signals.cpp:14:
|
||||
llvm/include/llvm/Support/Signals.h:119:8: error: variable or field 'CleanupOnSignal' declared void
|
||||
119 | void CleanupOnSignal(uintptr_t Context);
|
||||
| ^~~~~~~~~~~~~~~
|
||||
|
||||
Upstream: https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983.patch
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
include/llvm/Support/Signals.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/include/llvm/Support/Signals.h b/include/llvm/Support/Signals.h
|
||||
index e0a18e72..148216b8 100644
|
||||
--- a/include/llvm/Support/Signals.h
|
||||
+++ b/include/llvm/Support/Signals.h
|
||||
@@ -14,6 +14,7 @@
|
||||
#ifndef LLVM_SUPPORT_SIGNALS_H
|
||||
#define LLVM_SUPPORT_SIGNALS_H
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
namespace llvm {
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# Hashes from: https://www.lua.org/ftp/
|
||||
sha256 59df426a3d50ea535a460a452315c4c0d4e1121ba72ff0bdde58c2ef31d6f444 lua-5.4.5.tar.gz
|
||||
|
||||
# Locally computed
|
||||
sha256 0d4ee721cf740f9cd878ef82ef75f4f2724dcf0403e56cd0b5643ad88f9de337 doc/readme.html
|
||||
@@ -0,0 +1,5 @@
|
||||
# Hashes from: https://www.lua.org/ftp/
|
||||
sha256 7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88 lua-5.4.6.tar.gz
|
||||
|
||||
# Locally computed
|
||||
sha256 8f1bff27c5b0585ab679dbe4e37e75a1014af0f79732f42a79f86728321a0c6d doc/readme.html
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA_5_4),y)
|
||||
LUA_VERSION = 5.4.5
|
||||
LUA_VERSION = 5.4.6
|
||||
else ifeq ($(BR2_PACKAGE_LUA_5_3),y)
|
||||
LUA_VERSION = 5.3.6
|
||||
else
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
From 2a6908ff4c94284b39c3cd4c97e1069876720eb7 Mon Sep 17 00:00:00 2001
|
||||
From: Jordan Justen <jordan.l.justen@intel.com>
|
||||
Date: Tue, 16 May 2023 18:46:50 -0700
|
||||
Subject: [PATCH] mesa/main: Exit early when trying to create an unsupported
|
||||
context API
|
||||
|
||||
Fixes: adbe8b6c17a ("mesa: optimize out _mesa_is_desktop_gl*() and _mesa_is_gles*() calls when not built")
|
||||
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9038
|
||||
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
||||
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
|
||||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23068>
|
||||
Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/commit/8bb1ecaa02177720758255bdd7ec34a5d15feca4
|
||||
[Romain: backport to 23.1]
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
src/mesa/main/context.c | 18 ++++++++++++++++++
|
||||
1 file changed, 18 insertions(+)
|
||||
|
||||
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
|
||||
index d8eea2ea867..2b810b0d863 100644
|
||||
--- a/src/mesa/main/context.c
|
||||
+++ b/src/mesa/main/context.c
|
||||
@@ -996,6 +996,24 @@ _mesa_initialize_context(struct gl_context *ctx,
|
||||
struct gl_shared_state *shared;
|
||||
int i;
|
||||
|
||||
+ switch (api) {
|
||||
+ case API_OPENGL_COMPAT:
|
||||
+ case API_OPENGL_CORE:
|
||||
+ if (!HAVE_OPENGL)
|
||||
+ return GL_FALSE;
|
||||
+ break;
|
||||
+ case API_OPENGLES2:
|
||||
+ if (!HAVE_OPENGL_ES_2)
|
||||
+ return GL_FALSE;
|
||||
+ break;
|
||||
+ case API_OPENGLES:
|
||||
+ if (!HAVE_OPENGL_ES_1)
|
||||
+ return GL_FALSE;
|
||||
+ break;
|
||||
+ default:
|
||||
+ return GL_FALSE;
|
||||
+ }
|
||||
+
|
||||
ctx->API = api;
|
||||
ctx->DrawBuffer = NULL;
|
||||
ctx->ReadBuffer = NULL;
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_PERL_CLONE
|
||||
bool "perl-clone"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
recursively copy Perl datatypes.
|
||||
|
||||
https://metacpan.org/release/Clone
|
||||
|
||||
comment "perl-clone needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,6 @@
|
||||
# retrieved by scancpan from https://cpan.metacpan.org/
|
||||
md5 cafa8984a2c2e005e54b27dd1e3f0afe Clone-0.46.tar.gz
|
||||
sha256 aadeed5e4c8bd6bbdf68c0dd0066cb513e16ab9e5b4382dc4a0aafd55890697b Clone-0.46.tar.gz
|
||||
|
||||
# computed by scancpan
|
||||
sha256 40aa7eb133e97b075024380640528760a54aefc344781741ed02539a375db5ac README.md
|
||||
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# perl-clone
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PERL_CLONE_VERSION = 0.46
|
||||
PERL_CLONE_SOURCE = Clone-$(PERL_CLONE_VERSION).tar.gz
|
||||
PERL_CLONE_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GARU
|
||||
PERL_CLONE_LICENSE = Artistic or GPL-1.0+
|
||||
PERL_CLONE_LICENSE_FILES = README.md
|
||||
PERL_CLONE_DISTNAME = Clone
|
||||
|
||||
$(eval $(perl-package))
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_PERL_HTTP_MESSAGE
|
||||
bool "perl-http-message"
|
||||
select BR2_PACKAGE_PERL_CLONE # runtime
|
||||
select BR2_PACKAGE_PERL_ENCODE_LOCALE # runtime
|
||||
select BR2_PACKAGE_PERL_HTTP_DATE # runtime
|
||||
select BR2_PACKAGE_PERL_IO_HTML # runtime
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_PYTHON_CAN
|
||||
bool "python-can"
|
||||
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
|
||||
select BR2_PACKAGE_PYTHON3_SQLITE # runtime
|
||||
select BR2_PACKAGE_PYTHON_AENUM # runtime
|
||||
select BR2_PACKAGE_PYTHON_MSGPACK # runtime
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PYTHON_DJANGO
|
||||
bool "python-django"
|
||||
select BR2_PACKAGE_PYTHON3_UNICODEDATA
|
||||
select BR2_PACKAGE_PYTHON3_PYEXPAT
|
||||
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
|
||||
select BR2_PACKAGE_PYTHON_ASGIREF # runtime
|
||||
select BR2_PACKAGE_PYTHON_SQLPARSE # runtime
|
||||
help
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 7a6ba86a478648ce617e3a5e9277181bc67f7ce9876605eea6affd4a0d6eea8f SDL2_mixer-2.6.3.tar.gz
|
||||
sha256 113727180e7956cb9718b03b41da85b63ea54743a33047071a623bf672895a10 COPYING.txt
|
||||
sha256 1852c8549e3d154687197d46abababd3e8faae035f19991b2ca850fa3a43ad57 LICENSE.txt
|
||||
|
||||
@@ -8,7 +8,7 @@ SDL2_MIXER_VERSION = 2.6.3
|
||||
SDL2_MIXER_SOURCE = SDL2_mixer-$(SDL2_MIXER_VERSION).tar.gz
|
||||
SDL2_MIXER_SITE = http://www.libsdl.org/projects/SDL_mixer/release
|
||||
SDL2_MIXER_LICENSE = Zlib
|
||||
SDL2_MIXER_LICENSE_FILES = COPYING.txt
|
||||
SDL2_MIXER_LICENSE_FILES = LICENSE.txt
|
||||
SDL2_MIXER_INSTALL_STAGING = YES
|
||||
SDL2_MIXER_DEPENDENCIES = sdl2 host-pkgconf
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic
|
||||
depends on !BR2_BINFMT_FLAT
|
||||
depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_9
|
||||
depends on BR2_USE_MMU
|
||||
|
||||
|
||||
@@ -0,0 +1,134 @@
|
||||
From ad2c8e13e42bc2f396cce117d17a227dadedd476 Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@gmail.com>
|
||||
Date: Thu, 5 Jan 2023 11:04:24 -0800
|
||||
Subject: [PATCH] removal of LegacyVersion broke ax_python_dev.m4
|
||||
|
||||
The 22.0 release of the python `packaging` package removed the
|
||||
`LegacyVersion` trait, causing ZFS to no longer compile.
|
||||
|
||||
This commit replaces the sections of `ax_python_dev.m4` that rely on
|
||||
`LegacyVersion` with updated implementations from the upstream
|
||||
`autoconf-archive`.
|
||||
|
||||
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
|
||||
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
|
||||
Closes #14297
|
||||
Upstream: https://github.com/openzfs/zfs/commit/b72efb751147ab57afd1588a15910f547cb22600
|
||||
[Romain: backport to 2.1.7]
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
config/ax_python_devel.m4 | 71 +++++++++++++++++++--------------------
|
||||
1 file changed, 35 insertions(+), 36 deletions(-)
|
||||
|
||||
diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4
|
||||
index 7adcf01a0..9eef45065 100644
|
||||
--- a/config/ax_python_devel.m4
|
||||
+++ b/config/ax_python_devel.m4
|
||||
@@ -97,23 +97,13 @@ AC_DEFUN([AX_PYTHON_DEVEL],[
|
||||
# Check for a version of Python >= 2.1.0
|
||||
#
|
||||
AC_MSG_CHECKING([for a version of Python >= '2.1.0'])
|
||||
- ac_supports_python_ver=`cat<<EOD | $PYTHON -
|
||||
-from __future__ import print_function;
|
||||
-import sys;
|
||||
-try:
|
||||
- from packaging import version;
|
||||
-except ImportError:
|
||||
- from distlib import version;
|
||||
-ver = sys.version.split ()[[0]];
|
||||
-(tst_cmp, tst_ver) = ">= '2.1.0'".split ();
|
||||
-tst_ver = tst_ver.strip ("'");
|
||||
-eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))")
|
||||
-EOD`
|
||||
+ ac_supports_python_ver=`$PYTHON -c "import sys; \
|
||||
+ ver = sys.version.split ()[[0]]; \
|
||||
+ print (ver >= '2.1.0')"`
|
||||
if test "$ac_supports_python_ver" != "True"; then
|
||||
if test -z "$PYTHON_NOVERSIONCHECK"; then
|
||||
AC_MSG_RESULT([no])
|
||||
- m4_ifvaln([$2],[$2],[
|
||||
- AC_MSG_FAILURE([
|
||||
+ AC_MSG_FAILURE([
|
||||
This version of the AC@&t@_PYTHON_DEVEL macro
|
||||
doesn't work properly with versions of Python before
|
||||
2.1.0. You may need to re-run configure, setting the
|
||||
@@ -122,7 +112,6 @@ PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
|
||||
Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
|
||||
to something else than an empty string.
|
||||
])
|
||||
- ])
|
||||
else
|
||||
AC_MSG_RESULT([skip at user request])
|
||||
fi
|
||||
@@ -131,37 +120,47 @@ to something else than an empty string.
|
||||
fi
|
||||
|
||||
#
|
||||
- # if the macro parameter ``version'' is set, honour it
|
||||
+ # If the macro parameter ``version'' is set, honour it.
|
||||
+ # A Python shim class, VPy, is used to implement correct version comparisons via
|
||||
+ # string expressions, since e.g. a naive textual ">= 2.7.3" won't work for
|
||||
+ # Python 2.7.10 (the ".1" being evaluated as less than ".3").
|
||||
#
|
||||
if test -n "$1"; then
|
||||
AC_MSG_CHECKING([for a version of Python $1])
|
||||
- # Why the strip ()? Because if we don't, version.parse
|
||||
- # will, for example, report 3.10.0 >= '3.11.0'
|
||||
- ac_supports_python_ver=`cat<<EOD | $PYTHON -
|
||||
-
|
||||
-from __future__ import print_function;
|
||||
-import sys;
|
||||
-try:
|
||||
- from packaging import version;
|
||||
-except ImportError:
|
||||
- from distlib import version;
|
||||
-ver = sys.version.split ()[[0]];
|
||||
-(tst_cmp, tst_ver) = "$1".split ();
|
||||
-tst_ver = tst_ver.strip ("'");
|
||||
-eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))")
|
||||
-EOD`
|
||||
+ cat << EOF > ax_python_devel_vpy.py
|
||||
+class VPy:
|
||||
+ def vtup(self, s):
|
||||
+ return tuple(map(int, s.strip().replace("rc", ".").split(".")))
|
||||
+ def __init__(self):
|
||||
+ import sys
|
||||
+ self.vpy = tuple(sys.version_info)
|
||||
+ def __eq__(self, s):
|
||||
+ return self.vpy == self.vtup(s)
|
||||
+ def __ne__(self, s):
|
||||
+ return self.vpy != self.vtup(s)
|
||||
+ def __lt__(self, s):
|
||||
+ return self.vpy < self.vtup(s)
|
||||
+ def __gt__(self, s):
|
||||
+ return self.vpy > self.vtup(s)
|
||||
+ def __le__(self, s):
|
||||
+ return self.vpy <= self.vtup(s)
|
||||
+ def __ge__(self, s):
|
||||
+ return self.vpy >= self.vtup(s)
|
||||
+EOF
|
||||
+ ac_supports_python_ver=`$PYTHON -c "import ax_python_devel_vpy; \
|
||||
+ ver = ax_python_devel_vpy.VPy(); \
|
||||
+ print (ver $1)"`
|
||||
+ rm -rf ax_python_devel_vpy*.py* __pycache__/ax_python_devel_vpy*.py*
|
||||
if test "$ac_supports_python_ver" = "True"; then
|
||||
- AC_MSG_RESULT([yes])
|
||||
+ AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
- m4_ifvaln([$2],[$2],[
|
||||
- AC_MSG_ERROR([this package requires Python $1.
|
||||
+ AC_MSG_ERROR([this package requires Python $1.
|
||||
If you have it installed, but it isn't the default Python
|
||||
interpreter in your system path, please pass the PYTHON_VERSION
|
||||
variable to configure. See ``configure --help'' for reference.
|
||||
])
|
||||
- PYTHON_VERSION=""
|
||||
- ])
|
||||
+ PYTHON_VERSION=""
|
||||
fi
|
||||
fi
|
||||
|
||||
--
|
||||
2.34.3
|
||||
|
||||
@@ -12,6 +12,7 @@ ZFS_LICENSE_FILES = LICENSE COPYRIGHT
|
||||
ZFS_CPE_ID_VENDOR = openzfs
|
||||
ZFS_CPE_ID_PRODUCT = openzfs
|
||||
|
||||
# 0001-removal-of-LegacyVersion-broke-ax_python_dev.m4.patch
|
||||
ZFS_AUTORECONF = YES
|
||||
|
||||
ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
From fecdd9895894b3afe903021b0843a422eb4d3308 Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Sokolov <alexey+znc@asokolov.org>
|
||||
Date: Sat, 5 Nov 2022 12:54:40 +0000
|
||||
Subject: [PATCH] Add support SWIG 4.1.0, drop support for < 4.0.1
|
||||
|
||||
https://bugs.gentoo.org/878587
|
||||
|
||||
Upstream: https://github.com/znc/znc/commit/fecdd9895894b3afe903021b0843a422eb4d3308
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
modules/modperl/CMakeLists.txt | 1 -
|
||||
modules/modpython/CMakeLists.txt | 1 -
|
||||
3 files changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 9d43578e0e..efab0ee1ee 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -173,7 +173,7 @@ if(WANT_PYTHON AND NOT EXISTS
|
||||
endif()
|
||||
endif()
|
||||
if(search_swig)
|
||||
- find_package(SWIG 3.0.0)
|
||||
+ find_package(SWIG 4.0.1)
|
||||
if(NOT SWIG_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"Can't find SWIG, therefore Perl and Python aren't supported. "
|
||||
diff --git a/modules/modperl/CMakeLists.txt b/modules/modperl/CMakeLists.txt
|
||||
index e18fe47644..a87f74e478 100644
|
||||
--- a/modules/modperl/CMakeLists.txt
|
||||
+++ b/modules/modperl/CMakeLists.txt
|
||||
@@ -53,7 +53,6 @@ if(SWIG_FOUND)
|
||||
"-I${PROJECT_SOURCE_DIR}/include"
|
||||
"-I${CMAKE_CURRENT_SOURCE_DIR}/.."
|
||||
"-I${CMAKE_CURRENT_SOURCE_DIR}/include"
|
||||
- -DZNC_EXPORT_LIB_EXPORT
|
||||
-outdir "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
-o "${CMAKE_CURRENT_BINARY_DIR}/modperl_biglib.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/modperl.i"
|
||||
diff --git a/modules/modpython/CMakeLists.txt b/modules/modpython/CMakeLists.txt
|
||||
index edbeb41ed5..36a2e649f0 100644
|
||||
--- a/modules/modpython/CMakeLists.txt
|
||||
+++ b/modules/modpython/CMakeLists.txt
|
||||
@@ -50,7 +50,6 @@ if(SWIG_FOUND)
|
||||
"-I${PROJECT_BINARY_DIR}/include"
|
||||
"-I${PROJECT_SOURCE_DIR}/include"
|
||||
"-I${CMAKE_CURRENT_SOURCE_DIR}/.."
|
||||
- -DZNC_EXPORT_LIB_EXPORT
|
||||
-outdir "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
-o "${CMAKE_CURRENT_BINARY_DIR}/modpython_biglib.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/modpython.i"
|
||||
@@ -1,6 +1,6 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_a8=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_BINUTILS_VERSION_2_36_X=y
|
||||
BR2_GCC_VERSION_11_X=y
|
||||
BR2_BINUTILS_VERSION_2_39_X=y
|
||||
BR2_GCC_VERSION_12_X=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
|
||||
@@ -24,6 +24,21 @@ config BR2_TOOLCHAIN_EXTERNAL_REL_BIN_PATH
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
|
||||
string "Toolchain prefix"
|
||||
default "$(ARCH)-linux"
|
||||
help
|
||||
Component name prefix used by your external toolchain.
|
||||
|
||||
Typically, this is the target tuple, e.g. something that
|
||||
looks like: $(ARCH)-unknown-linux-gnu.
|
||||
|
||||
If unsure, look at the "bin" directory of your toolchain and
|
||||
note the part of component name before the last dash, i.e. if
|
||||
you call the toolchain's gcc as $(ARCH)-unknown-linux-gnu-gcc,
|
||||
the prefix is $(ARCH)-unknown-linux-gnu.
|
||||
|
||||
Note that Buildroot toolchains have shorter aliases that look
|
||||
like $(ARCH)-linux, as symlinks to the full-tuple components,
|
||||
so you can leave this option at default value if you use them
|
||||
as external toolchain.
|
||||
|
||||
choice
|
||||
bool "External toolchain gcc version"
|
||||
|
||||
Reference in New Issue
Block a user