* [Buildroot] [PATCH next] package/bind: update to 9.18.28
@ 2024-08-11 13:17 Waldemar Brodkorb
2024-08-12 19:19 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2024-08-11 13:17 UTC (permalink / raw)
To: buildroot
Bind 9.16.x is EOL since April 2024.
See here for what version should be used in production:
https://kb.isc.org/docs/aa-01540
Remove patch 0001 as CC_FOR_BUILD is used in upstream code
to compile host utility gen.
See here for a changelog:
https://downloads.isc.org/isc/bind9/9.18.28/doc/arm/html/notes.html
COPYRIGHT file has been updated, following Copyright holders were
added:
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
.checkpackageignore | 1 -
package/bind/0001-cross.patch | 34 ----------------------------------
package/bind/bind.hash | 8 ++++----
package/bind/bind.mk | 3 ++-
4 files changed, 6 insertions(+), 40 deletions(-)
delete mode 100644 package/bind/0001-cross.patch
diff --git a/.checkpackageignore b/.checkpackageignore
index 8fe4a16eb8..4f78f7d4aa 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -338,7 +338,6 @@ package/benejson/0001-c-std.patch lib_patch.Upstream
package/benejson/0002-Use-print-as-a-function-for-Py3-compatibility.patch lib_patch.Upstream
package/berkeleydb/0001-cwd-db_config.patch lib_patch.Upstream
package/berkeleydb/0002-atomic_compare_exchange.patch lib_patch.Upstream
-package/bind/0001-cross.patch lib_patch.Upstream
package/bind/S81named Shellcheck lib_sysv.Indent lib_sysv.Variables
package/bird/0001-configure.ac-fix-build-with-autoconf-2.70.patch lib_patch.Upstream
package/bmx7/0001-Fix-schedule.c-378-36-error-SIOCGSTAMP-undeclared.patch lib_patch.Upstream
diff --git a/package/bind/0001-cross.patch b/package/bind/0001-cross.patch
deleted file mode 100644
index f39be2f837..0000000000
--- a/package/bind/0001-cross.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 505cc9fcadda5607dc4c5bacb03928c0b35162a8 Mon Sep 17 00:00:00 2001
-From: Gustavo Zacarias <gustavo@zacarias.com.ar>
-Date: Wed, 4 Nov 2020 17:51:38 +0100
-Subject: [PATCH] Use host compiler to build 'gen' since it's run when
- building.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-[Fabrice: updated for 9.11.10]
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
----
- lib/dns/Makefile.in | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/lib/dns/Makefile.in b/lib/dns/Makefile.in
-index 8fc4e94f26..4ac92857e0 100644
---- a/lib/dns/Makefile.in
-+++ b/lib/dns/Makefile.in
-@@ -184,10 +184,8 @@ code.h: gen
- ./gen -s ${srcdir} > code.h || { rm -f $@ ; exit 1; }
-
- gen: gen.c
-- ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
-- ${LFS_CFLAGS} ${LFS_LDFLAGS} \
-- ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \
-- ${BUILD_LIBS} ${LFS_LIBS}
-+ ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \
-+ ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c
-
- timestamp: include libdns.@A@
- touch timestamp
---
-2.29.1
-
diff --git a/package/bind/bind.hash b/package/bind/bind.hash
index 482b046c8d..feb3430a73 100644
--- a/package/bind/bind.hash
+++ b/package/bind/bind.hash
@@ -1,4 +1,4 @@
-# Verified from https://ftp.isc.org/isc/bind9/9.16.48/bind-9.16.48.tar.xz.asc
-# with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD
-sha256 8d3814582348f90dead1ad410b1019094cd399d3d83930abebb2b3b1eb0b2bbb bind-9.16.48.tar.xz
-sha256 13491a682dc0f5ee2273cebd3949e2be62f9470fe659419a03a308d4f444773b COPYRIGHT
+# Verified from https://ftp.isc.org/isc/bind9/9.18.28/bind-9.18.28.tar.xz.asc
+# with key 706B6C28620E76F91D11F7DF510A642A06C52CEC
+sha256 e7cce9a165f7b619eefc4832f0a8dc16b005d29e3890aed6008c506ea286a5e7 bind-9.18.28.tar.xz
+sha256 9734825d67a3ac967b2c2f7c9a83c9e5db1c2474dbe9599157c3a4188749ebd4 COPYRIGHT
diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index 0d81ffabd6..b6a2ee272b 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -4,7 +4,7 @@
#
################################################################################
-BIND_VERSION = 9.16.48
+BIND_VERSION = 9.18.28
BIND_SOURCE= bind-$(BIND_VERSION).tar.xz
BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION)
# bind does not support parallel builds.
@@ -31,6 +31,7 @@ BIND_CONF_OPTS = \
--without-cmocka \
--without-lmdb \
--enable-epoll \
+ --disable-doh \
--disable-backtrace \
--with-openssl=$(STAGING_DIR)/usr
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH next] package/bind: update to 9.18.28
2024-08-11 13:17 [Buildroot] [PATCH next] package/bind: update to 9.18.28 Waldemar Brodkorb
@ 2024-08-12 19:19 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-12 19:19 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: buildroot
On Sun, 11 Aug 2024 15:17:04 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:
> Bind 9.16.x is EOL since April 2024.
> See here for what version should be used in production:
> https://kb.isc.org/docs/aa-01540
>
> Remove patch 0001 as CC_FOR_BUILD is used in upstream code
> to compile host utility gen.
>
> See here for a changelog:
> https://downloads.isc.org/isc/bind9/9.18.28/doc/arm/html/notes.html
>
> COPYRIGHT file has been updated, following Copyright holders were
> added:
> Copyright Joyent, Inc. and other Node contributors. All rights reserved.
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> .checkpackageignore | 1 -
> package/bind/0001-cross.patch | 34 ----------------------------------
> package/bind/bind.hash | 8 ++++----
> package/bind/bind.mk | 3 ++-
> 4 files changed, 6 insertions(+), 40 deletions(-)
> delete mode 100644 package/bind/0001-cross.patch
Thanks a lot for this update. It looks good, but it breaks the
following defconfig:
BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_VFP=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_STABLE=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_BIND=y
BR2_PACKAGE_BIND_SERVER=y
BR2_PACKAGE_BIND_TOOLS=y
# BR2_TARGET_ROOTFS_TAR is not set
/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: warning: libns-9.18.28.so, needed by ../../lib/bind9/.libs/libbind9.so, not found (try using -rpath or -rpath-link)
/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: ../../lib/bind9/.libs/libbind9.so: undefined reference to `ns_plugin_check'
/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: ../../lib/bind9/.libs/libbind9.so: undefined reference to `ns_plugin_expandpath'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:560: rndc] Error 1
The same defconfig builds before the version bump. Could you have a
look?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-12 19:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-11 13:17 [Buildroot] [PATCH next] package/bind: update to 9.18.28 Waldemar Brodkorb
2024-08-12 19:19 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.