Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from buildroot:master #148

Merged
merged 23 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
27e7b0b
package/tipidee: fix install without config file
arnout Jul 19, 2024
3bb4266
package/mpir: fix build with host gcc >= 14
ffontaine Jul 20, 2024
d3e1821
package/cpuload: fix build with gcc >= 14
ffontaine Jul 20, 2024
65672b9
package/autossh: fix build with gcc >= 14
ffontaine Jul 20, 2024
9e5022a
package/httping: fix patch fuzz
ffontaine Jul 20, 2024
a5466a4
package/libcli: fix build with gcc >= 14
ffontaine Jul 20, 2024
321e065
package/augeas: bump to version 1.14.1
ffontaine Jul 20, 2024
e66a1a5
package/gtkiostream: fix version
ffontaine Jul 20, 2024
1659814
package/gtkiostream: fix build with alsa-lib
ffontaine Jul 20, 2024
910e91f
package/zsh: fix build with gcc >= 14
ffontaine Jul 20, 2024
29d2956
package/openswan: select libxcrypt if needed
ffontaine Jul 20, 2024
33d25f0
package/libcoap: enable required libopenssl options
ffontaine Jul 20, 2024
da45ae3
package/liburing: bump to version 2.6
ffontaine Jul 19, 2024
3a4bd98
package/libupnp: bump to version 1.4.19
ffontaine Jul 19, 2024
f3461d0
package/libxslt: bump to version 1.1.42
ffontaine Jul 19, 2024
b409766
package/ksmbd-tools: bump to version 3.5.2
ffontaine Jul 19, 2024
124087c
package/edid-decode: switch to meson-package
ffontaine Jul 20, 2024
f04a95f
support/testing: add mawk runtime test
jolivain Jul 20, 2024
5898317
package/flashrom: disable -Werror
ffontaine Jul 20, 2024
6084d90
package/flashrom: fix satamv handling
ffontaine Jul 20, 2024
183f539
package/zabbix: fix patch fuzz
ffontaine Jul 20, 2024
4649372
package/libmaxminddb: bump to version 1.10.0
ffontaine Jul 19, 2024
9c8f6dc
support/testing: add gpsd runtime testing
jolivain Jul 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .checkpackageignore
Original file line number Diff line number Diff line change
Expand Up @@ -1486,8 +1486,6 @@ package/yajl/0003-Link-with-shared-libyajl-in-a-shared-build.patch lib_patch.Ups
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/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch lib_patch.Upstream
package/zabbix/0002-fix-build-with-libressl-3.5.0.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
Expand Down
3 changes: 3 additions & 0 deletions DEVELOPERS
Original file line number Diff line number Diff line change
Expand Up @@ -1870,6 +1870,8 @@ F: support/testing/tests/package/test_gnuplot.py
F: support/testing/tests/package/test_gnuplot/
F: support/testing/tests/package/test_gnuradio.py
F: support/testing/tests/package/test_gnuradio/
F: support/testing/tests/package/test_gpsd.py
F: support/testing/tests/package/test_gpsd/
F: support/testing/tests/package/test_gzip.py
F: support/testing/tests/package/test_highway.py
F: support/testing/tests/package/test_hwloc.py
Expand Down Expand Up @@ -1901,6 +1903,7 @@ F: support/testing/tests/package/test_lzip.py
F: support/testing/tests/package/test_lsof.py
F: support/testing/tests/package/test_lz4.py
F: support/testing/tests/package/test_lzop.py
F: support/testing/tests/package/test_mawk.py
F: support/testing/tests/package/test_mdadm.py
F: support/testing/tests/package/test_mdadm/
F: support/testing/tests/package/test_micropython.py
Expand Down
5 changes: 2 additions & 3 deletions package/augeas/augeas.hash
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Locally calculated after checking pgp signature from
# http://download.augeas.net/augeas-1.12.0.tar.gz.sig
sha256 321942c9cc32185e2e9cb72d0a70eea106635b50269075aca6714e3ec282cb87 augeas-1.12.0.tar.gz
# Locally calculated
sha256 368bfdd782e4b9c7163baadd621359c82b162734864b667051ff6bcb57b9edff augeas-1.14.1.tar.gz
sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING
4 changes: 2 additions & 2 deletions package/augeas/augeas.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#
################################################################################

AUGEAS_VERSION = 1.12.0
AUGEAS_SITE = http://download.augeas.net
AUGEAS_VERSION = 1.14.1
AUGEAS_SITE = https://github.com/hercules-team/augeas/releases/download/release-$(AUGEAS_VERSION)
AUGEAS_INSTALL_STAGING = YES
AUGEAS_LICENSE = LGPL-2.1+
AUGEAS_LICENSE_FILES = COPYING
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
From 3a74eff481f37975e04f00db4923b1c16f93497d Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <[email protected]>
Date: Sat, 20 Jul 2024 16:06:37 +0200
Subject: [PATCH] configure.ac: fix __progname check with gcc >= 14

Include stdio.h to avoid that __progname check wrongly returns that
the function is unavailable with gcc >= 14 which enables
-Werror=implicit-function-declaration
(https://gcc.gnu.org/gcc-14/porting_to.html):

configure:5231: checking if libc defines __progname
configure:5249: /home/autobuild/autobuild/instance-7/output-1/host/bin/sh4-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5
conftest.c: In function 'main':
conftest.c:73:27: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
73 | extern char *__progname; printf("%s", __progname);
| ^~~~~~
conftest.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
1 | /* confdefs.h */
conftest.c:73:27: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
73 | extern char *__progname; printf("%s", __progname);
| ^~~~~~
conftest.c:73:27: note: include '<stdio.h>' or provide a declaration of 'printf'

resulting in the following static build failure:

/home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/sh4-buildroot-linux-musl/14.1.0/../../../../sh4-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-7/output-1/host/sh4-buildroot-linux-musl/sysroot/lib/libc.a(libc.o):(.bss.__progname+0x0): multiple definition of `__progname'; autossh.o:(.bss+0x120): first defined here

Fixes:
- http://autobuild.buildroot.org/results/5d80a8096d0f5529cbd86903a74f3bab3d230f4a

Signed-off-by: Fabrice Fontaine <[email protected]>
Upstream: https://github.com/Autossh/autossh/pull/9
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 4bb9380..dadb523 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,7 +132,7 @@ AC_CHECK_LIB(socket, connect)
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [
- AC_TRY_LINK([],
+ AC_TRY_LINK([ #include <stdio.h> ],
[ extern char *__progname; printf("%s", __progname); ],
[ ac_cv_libc_defines___progname="yes" ],
[ ac_cv_libc_defines___progname="no" ]
--
2.43.0

1 change: 1 addition & 0 deletions package/autossh/autossh.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
AUTOSSH_LICENSE = Modified BSD
AUTOSSH_LICENSE_FILES = autossh.c
# Fix AC_ARG_WITH code generation for --with-ssh
# 0001-configure.ac-fix-__progname-check-with-gcc-14.patch
AUTOSSH_AUTORECONF = YES

AUTOSSH_CONF_OPTS = --with-ssh=/usr/bin/ssh
Expand Down
115 changes: 115 additions & 0 deletions package/cpuload/0001-Changed-error-calls-to-perror.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
From ffd61eaa72acf123dea0c80ed3774656289ab49f Mon Sep 17 00:00:00 2001
From: roiec <[email protected]>
Date: Wed, 5 Jan 2022 17:12:05 +0200
Subject: [PATCH] Changed 'error' calls to 'perror'

Upstream: https://github.com/kelvincheung/cpuload/pull/1
Signed-off-by: Fabrice Fontaine <[email protected]>
---
.gitignore | 60 ++++++++++++++++++++++++++++++++++++++++++++
src/graph_cpu_load.c | 4 +--
src/read_cpu_stat.c | 2 +-
3 files changed, 63 insertions(+), 3 deletions(-)
create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c2ae907
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,60 @@
+# Prerequisites
+*.d
+
+# Object files
+*.o
+*.ko
+*.obj
+*.elf
+
+# Linker output
+*.ilk
+*.map
+*.exp
+
+# Precompiled Headers
+*.gch
+*.pch
+
+# Libraries
+*.lib
+*.a
+*.la
+*.lo
+
+# Shared objects (inc. Windows DLLs)
+*.dll
+*.so
+*.so.*
+*.dylib
+
+# Executables
+*.exe
+*.out
+*.app
+*.i*86
+*.x86_64
+*.hex
+
+# Debug files
+*.dSYM/
+*.su
+*.idb
+*.pdb
+
+# Kernel Module Compile Results
+*.mod*
+*.cmd
+.tmp_versions/
+modules.order
+Module.symvers
+Mkfile.old
+dkms.conf
+
+#images
+*.tgz
+*.img
+
+
+#build
+configure
diff --git a/src/graph_cpu_load.c b/src/graph_cpu_load.c
index e4b7785..525d9ed 100644
--- a/src/graph_cpu_load.c
+++ b/src/graph_cpu_load.c
@@ -132,7 +132,7 @@ void graph_new_line(char *str, unsigned long color)
graph_last_x = graph_last_y = -1;

if (graph_data_index >= MAX_GRAPH_DATA - 2)
- error("Too many graph data.");
+ perror("Too many graph data.");

graph_data[graph_data_index++] = DATUM_COLOR;
graph_data[graph_data_index++] = color;
@@ -145,7 +145,7 @@ void graph_new_line(char *str, unsigned long color)
void graph_add_point(int size, int amount)
{
if (graph_data_index >= MAX_GRAPH_DATA - 4)
- error("Too many graph data.");
+ perror("Too many graph data.");

graph_data[graph_data_index++] = DATUM_SIZE;
graph_data[graph_data_index++] = size;
diff --git a/src/read_cpu_stat.c b/src/read_cpu_stat.c
index 3d014be..ff51d7f 100644
--- a/src/read_cpu_stat.c
+++ b/src/read_cpu_stat.c
@@ -46,7 +46,7 @@ ProcessList *cpudata_new(void)
fclose(file);

if (cpu > cpus -1) {
- error("too many cpus");
+ perror("too many cpus");
exit(1);
}

12 changes: 1 addition & 11 deletions package/edid-decode/edid-decode.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,4 @@ EDID_DECODE_SITE_METHOD = git
EDID_DECODE_LICENSE = MIT
EDID_DECODE_LICENSE_FILES = LICENSE

define EDID_DECODE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
CFLAGS="$(TARGET_CXXFLAGS) -std=c++11" WARN_FLAGS=
endef

define EDID_DECODE_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
DESTDIR="$(TARGET_DIR)" install
endef

$(eval $(generic-package))
$(eval $(meson-package))
7 changes: 4 additions & 3 deletions package/flashrom/flashrom.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ FLASHROM_CONF_OPTS = \
-Dclassic_cli_print_wiki=disabled \
-Dich_descriptors_tool=enabled \
-Dtests=disabled \
-Duse_internal_dmi=true
-Duse_internal_dmi=true \
-Dwerror=false

FLASHROM_PROGRAMMERS = \
buspirate_spi \
Expand Down Expand Up @@ -64,7 +65,6 @@ FLASHROM_PROGRAMMERS += \
nicintel_eeprom \
nicintel_spi \
ogp_spi \
satamv \
satasii

ifeq ($(BR2_i386)$(BR2_x86_64),y)
Expand All @@ -73,7 +73,8 @@ FLASHROM_PROGRAMMERS += \
atapromise \
nic3com \
nicnatsemi \
nicrealtek
nicrealtek \
satamv
endif
endif

Expand Down
1 change: 1 addition & 0 deletions package/gtkiostream/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ config BR2_PACKAGE_GTKIOSTREAM
bool "gtkiostream"
depends on BR2_INSTALL_LIBSTDCPP # eigen
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_ALSA_LIB_MIXER if BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_EIGEN
select BR2_PACKAGE_FFTW
select BR2_PACKAGE_FFTW_DOUBLE
Expand Down
2 changes: 1 addition & 1 deletion package/gtkiostream/gtkiostream.hash
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# locally computed hash
sha256 44e8d921d462005cd330a1c24e5bd8061175b90ae53f537dbf73f59b74f6e01b gtkiostream-v1.8.0.tar.gz
sha256 44e8d921d462005cd330a1c24e5bd8061175b90ae53f537dbf73f59b74f6e01b gtkiostream-1.8.0.tar.gz
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 gpl.txt
4 changes: 2 additions & 2 deletions package/gtkiostream/gtkiostream.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#
################################################################################

GTKIOSTREAM_VERSION = v1.8.0
GTKIOSTREAM_SITE = $(call github,flatmax,gtkiostream,$(GTKIOSTREAM_VERSION))
GTKIOSTREAM_VERSION = 1.8.0
GTKIOSTREAM_SITE = $(call github,flatmax,gtkiostream,v$(GTKIOSTREAM_VERSION))
GTKIOSTREAM_LICENSE = GPL-2.0+
GTKIOSTREAM_LICENSE_FILES = gpl.txt

Expand Down
6 changes: 4 additions & 2 deletions package/httping/0001-fix-math-library-linking.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ Move LDFLAGS+=-lm option to the end.
The order of the math library directive '-lm' matters.

Signed-off-by: Yuvaraj Patil <[email protected]>
[Fabrice: make the patch to be applied with fuzz factor 0]
Signed-off-by: Fabrice Fontaine <[email protected]>
---
diff -Nurp httping-2.3.4_orig/Makefile httping-2.3.4/Makefile
--- httping-2.3.4_orig/Makefile 2014-07-23 16:16:36.495546288 +0530
+++ httping-2.3.4/Makefile 2014-07-23 16:18:42.547541002 +0530
@@ -37,7 +37,6 @@ DEBUG=yes
WFLAGS=-Wall -W
@@ -36,7 +36,6 @@ DEBUG=yes
WFLAGS=-Wall -W -Wextra -pedantic -D_FORTIFY_SOURCE=2
OFLAGS=
CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
-LDFLAGS+=-lm
Expand Down
2 changes: 1 addition & 1 deletion package/ksmbd-tools/ksmbd-tools.hash
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Locally calculated
sha256 ab377b3044c48382303f3f7ec95f2e1a17592c774d70b2a11f32952099dbb214 ksmbd-tools-3.5.1.tar.gz
sha256 5da7fb4cb4368f9abf56f6f9fbc17b25e387876bed9ff7ee0d6f1140ef07c8d7 ksmbd-tools-3.5.2.tar.gz
sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING
2 changes: 1 addition & 1 deletion package/ksmbd-tools/ksmbd-tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
################################################################################

KSMBD_TOOLS_VERSION = 3.5.1
KSMBD_TOOLS_VERSION = 3.5.2
KSMBD_TOOLS_SITE = https://github.com/cifsd-team/ksmbd-tools/releases/download/$(KSMBD_TOOLS_VERSION)
KSMBD_TOOLS_LICENSE = GPL-2.0+
KSMBD_TOOLS_LICENSE_FILES = COPYING
Expand Down
Loading