All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC][PATCH 1/1] package/bind: bump to version 9.16.26
@ 2022-02-22 22:02 Petr Vorel
  2022-02-23 21:27 ` Petr Vorel
  2022-03-12 19:43 ` Arnout Vandecappelle
  0 siblings, 2 replies; 4+ messages in thread
From: Petr Vorel @ 2022-02-22 22:02 UTC (permalink / raw)
  To: buildroot

BIND 9.11 EOL in March, 2022. BIND 9.16 is current Stable/ESV version.

Changes:
* libuv (new dependency)
* openssl is now mandatory
* zlib must be detected with PKG_CONFIG_PATH (specifying zlib
  installation path is not supported)
* bind9-config and isc-config.sh removed
* updated COPYRIGHT hash

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
Hi,

time to move on to 9.16.

Tested only local build as I don't use bind.
I'll also verify builds with utils/test-pkg.
But it'd be great if anybody could also test running bind.

Kind regards,
Petr

 package/bind/Config.in | 12 +++++++++++-
 package/bind/bind.hash |  6 +++---
 package/bind/bind.mk   | 15 +++++++--------
 3 files changed, 21 insertions(+), 12 deletions(-)

diff --git a/package/bind/Config.in b/package/bind/Config.in
index db10ceb304..9887403ed9 100644
--- a/package/bind/Config.in
+++ b/package/bind/Config.in
@@ -1,6 +1,11 @@
 config BR2_PACKAGE_BIND
 	bool "bind"
-	depends on BR2_USE_MMU # fork()
+	depends on BR2_USE_MMU # fork(), libuv
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
+	depends on !BR2_STATIC_LIBS # libuv
+	select BR2_PACKAGE_LIBUV
+	select BR2_PACKAGE_OPENSSL
 	help
 	  BIND (Berkeley Internet Name Domain) is an
 	  implementation of the Domain Name System (DNS) protocols
@@ -24,6 +29,11 @@ config BR2_PACKAGE_BIND
 
 	  https://www.isc.org/bind/
 
+comment "bind needs a toolchain w/ NPTL, dynamic library"
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
+	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
+
 if BR2_PACKAGE_BIND
 
 config BR2_PACKAGE_BIND_SERVER
diff --git a/package/bind/bind.hash b/package/bind/bind.hash
index 70299f1677..401e389e49 100644
--- a/package/bind/bind.hash
+++ b/package/bind/bind.hash
@@ -1,4 +1,4 @@
-# Verified from https://ftp.isc.org/isc/bind9/9.11.36/bind-9.11.36.tar.gz.asc
+# Verified from https://ftp.isc.org/isc/bind9/9.16.26/bind-9.16.26.tar.xz.asc
 # with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD
-sha256  c953fcb6703b395aaa53e65ff8b2869b69a5303dd60507cba2201305e1811681  bind-9.11.36.tar.gz
-sha256  cad49daa42654bc241762cd998630168a2542c8fd6fad3881e2eac1510bb6fcd  COPYRIGHT
+sha256  70b39a5eb71650358ec9ba41da3050d32aeac0aeb4a466684b23f35affa7fb45  bind-9.16.26.tar.xz
+sha256  daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155  COPYRIGHT
diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index e329c803a3..5b4c60b14c 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-BIND_VERSION = 9.11.36
+BIND_VERSION = 9.16.26
+BIND_SOURCE= bind-$(BIND_VERSION).tar.xz
 BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION)
 # bind does not support parallel builds.
 BIND_MAKE = $(MAKE1)
 BIND_INSTALL_STAGING = YES
-BIND_CONFIG_SCRIPTS = bind9-config isc-config.sh
 BIND_LICENSE = MPL-2.0
 BIND_LICENSE_FILES = COPYRIGHT
 BIND_CPE_ID_VENDOR = isc
@@ -32,15 +32,18 @@ BIND_CONF_ENV = \
 BIND_CONF_OPTS = \
 	$(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-threads,--disable-threads) \
 	--without-lmdb \
-	--with-libjson=no \
+	--with-json-c=no \
 	--with-randomdev=/dev/urandom \
 	--enable-epoll \
 	--enable-filter-aaaa \
 	--disable-backtrace
 
+BIND_DEPENDENCIES = libuv
+
 ifeq ($(BR2_PACKAGE_ZLIB),y)
-BIND_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr
+BIND_CONF_OPTS += --with-zlib
 BIND_DEPENDENCIES += zlib
+BIND_DEPENDENCIES += host-pkgconf zlib
 else
 BIND_CONF_OPTS += --without-zlib
 endif
@@ -66,7 +69,6 @@ else
 BIND_CONF_OPTS += --with-libxml2=no
 endif
 
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
 BIND_DEPENDENCIES += host-pkgconf openssl
 BIND_CONF_OPTS += \
 	--with-openssl=$(STAGING_DIR)/usr \
@@ -80,9 +82,6 @@ BIND_CONF_OPTS += --with-gost=yes
 else
 BIND_CONF_OPTS += --with-gost=no
 endif
-else
-BIND_CONF_OPTS += --with-openssl=no
-endif
 
 # Used by dnssec-keymgr
 ifeq ($(BR2_PACKAGE_PYTHON_PLY),y)
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [RFC][PATCH 1/1] package/bind: bump to version 9.16.26
  2022-02-22 22:02 [Buildroot] [RFC][PATCH 1/1] package/bind: bump to version 9.16.26 Petr Vorel
@ 2022-02-23 21:27 ` Petr Vorel
  2022-03-12 19:43 ` Arnout Vandecappelle
  1 sibling, 0 replies; 4+ messages in thread
From: Petr Vorel @ 2022-02-23 21:27 UTC (permalink / raw)
  To: buildroot

Hi,

Build tested:
                    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]: SKIPPED
                            sourcery-arm [6/6]: OK
6 builds, 2 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed

                             andes-nds32 [ 1/45]: OK
                             arm-aarch64 [ 2/45]: OK
                   bootlin-aarch64-glibc [ 3/45]: OK
               bootlin-arcle-hs38-uclibc [ 4/45]: OK
                    bootlin-armv5-uclibc [ 5/45]: OK
                     bootlin-armv7-glibc [ 6/45]: OK
                   bootlin-armv7m-uclibc [ 7/45]: SKIPPED
                      bootlin-armv7-musl [ 8/45]: OK
             bootlin-microblazeel-uclibc [ 9/45]: OK
                   bootlin-mipsel-uclibc [10/45]: OK
                bootlin-mipsel32r6-glibc [11/45]: OK
                bootlin-m68k-5208-uclibc [12/45]: SKIPPED
               bootlin-m68k-68040-uclibc [13/45]: OK
                     bootlin-nios2-glibc [14/45]: OK
                 bootlin-openrisc-uclibc [15/45]: OK
           bootlin-powerpc-e500mc-uclibc [16/45]: OK
        bootlin-powerpc64le-power8-glibc [17/45]: OK
                   bootlin-riscv32-glibc [18/45]: OK
                   bootlin-riscv64-glibc [19/45]: OK
                    bootlin-riscv64-musl [20/45]: OK
                      bootlin-sh4-uclibc [21/45]: OK
                    bootlin-sparc-uclibc [22/45]: SKIPPED
                   bootlin-sparc64-glibc [23/45]: OK
                   bootlin-xtensa-uclibc [24/45]: OK
                    bootlin-x86-64-glibc [25/45]: OK
                     bootlin-x86-64-musl [26/45]: OK
                   bootlin-x86-64-uclibc [27/45]: OK
                            br-arm-basic [28/45]: OK
                    br-arm-full-nothread [29/45]: SKIPPED
                      br-arm-full-static [30/45]: SKIPPED
                br-i386-pentium-mmx-musl [31/45]: OK
                   br-i386-pentium4-full [32/45]: OK
                      br-mips64-n64-full [33/45]: OK
                 br-mips64r6-el-hf-glibc [34/45]: OK
               br-powerpc-603e-basic-cpp [35/45]: OK
               br-powerpc64-power7-glibc [36/45]: OK
                       linaro-aarch64-be [37/45]: OK
                          linaro-aarch64 [38/45]: OK
                              linaro-arm [39/45]: OK
                     sourcery-arm-armv4t [40/45]: OK
                            sourcery-arm [41/45]: OK
                     sourcery-arm-thumb2 [42/45]: OK
                           sourcery-mips [43/45]: OK
                         sourcery-mips64 [44/45]: OK
                          sourcery-nios2 [45/45]: OK
45 builds, 5 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed

Kind regards,
Petr
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [RFC][PATCH 1/1] package/bind: bump to version 9.16.26
  2022-02-22 22:02 [Buildroot] [RFC][PATCH 1/1] package/bind: bump to version 9.16.26 Petr Vorel
  2022-02-23 21:27 ` Petr Vorel
@ 2022-03-12 19:43 ` Arnout Vandecappelle
  2022-03-19 19:33   ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2022-03-12 19:43 UTC (permalink / raw)
  To: Petr Vorel, buildroot



On 22/02/2022 23:02, Petr Vorel wrote:
> BIND 9.11 EOL in March, 2022. BIND 9.16 is current Stable/ESV version.
> 
> Changes:
> * libuv (new dependency)
> * openssl is now mandatory
> * zlib must be detected with PKG_CONFIG_PATH (specifying zlib
>    installation path is not supported)
> * bind9-config and isc-config.sh removed
> * updated COPYRIGHT hash
> 
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

  Applied to master, thanks.

  I guess we'll get complaints if it doesn't work :-)

  Regards,
  Arnout

> ---
> Hi,
> 
> time to move on to 9.16.
> 
> Tested only local build as I don't use bind.
> I'll also verify builds with utils/test-pkg.
> But it'd be great if anybody could also test running bind.
> 
> Kind regards,
> Petr
> 
>   package/bind/Config.in | 12 +++++++++++-
>   package/bind/bind.hash |  6 +++---
>   package/bind/bind.mk   | 15 +++++++--------
>   3 files changed, 21 insertions(+), 12 deletions(-)
> 
> diff --git a/package/bind/Config.in b/package/bind/Config.in
> index db10ceb304..9887403ed9 100644
> --- a/package/bind/Config.in
> +++ b/package/bind/Config.in
> @@ -1,6 +1,11 @@
>   config BR2_PACKAGE_BIND
>   	bool "bind"
> -	depends on BR2_USE_MMU # fork()
> +	depends on BR2_USE_MMU # fork(), libuv
> +	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
> +	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
> +	depends on !BR2_STATIC_LIBS # libuv
> +	select BR2_PACKAGE_LIBUV
> +	select BR2_PACKAGE_OPENSSL
>   	help
>   	  BIND (Berkeley Internet Name Domain) is an
>   	  implementation of the Domain Name System (DNS) protocols
> @@ -24,6 +29,11 @@ config BR2_PACKAGE_BIND
>   
>   	  https://www.isc.org/bind/
>   
> +comment "bind needs a toolchain w/ NPTL, dynamic library"
> +	depends on BR2_USE_MMU
> +	depends on BR2_TOOLCHAIN_HAS_SYNC_4
> +	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
> +
>   if BR2_PACKAGE_BIND
>   
>   config BR2_PACKAGE_BIND_SERVER
> diff --git a/package/bind/bind.hash b/package/bind/bind.hash
> index 70299f1677..401e389e49 100644
> --- a/package/bind/bind.hash
> +++ b/package/bind/bind.hash
> @@ -1,4 +1,4 @@
> -# Verified from https://ftp.isc.org/isc/bind9/9.11.36/bind-9.11.36.tar.gz.asc
> +# Verified from https://ftp.isc.org/isc/bind9/9.16.26/bind-9.16.26.tar.xz.asc
>   # with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD
> -sha256  c953fcb6703b395aaa53e65ff8b2869b69a5303dd60507cba2201305e1811681  bind-9.11.36.tar.gz
> -sha256  cad49daa42654bc241762cd998630168a2542c8fd6fad3881e2eac1510bb6fcd  COPYRIGHT
> +sha256  70b39a5eb71650358ec9ba41da3050d32aeac0aeb4a466684b23f35affa7fb45  bind-9.16.26.tar.xz
> +sha256  daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155  COPYRIGHT
> diff --git a/package/bind/bind.mk b/package/bind/bind.mk
> index e329c803a3..5b4c60b14c 100644
> --- a/package/bind/bind.mk
> +++ b/package/bind/bind.mk
> @@ -4,12 +4,12 @@
>   #
>   ################################################################################
>   
> -BIND_VERSION = 9.11.36
> +BIND_VERSION = 9.16.26
> +BIND_SOURCE= bind-$(BIND_VERSION).tar.xz
>   BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION)
>   # bind does not support parallel builds.
>   BIND_MAKE = $(MAKE1)
>   BIND_INSTALL_STAGING = YES
> -BIND_CONFIG_SCRIPTS = bind9-config isc-config.sh
>   BIND_LICENSE = MPL-2.0
>   BIND_LICENSE_FILES = COPYRIGHT
>   BIND_CPE_ID_VENDOR = isc
> @@ -32,15 +32,18 @@ BIND_CONF_ENV = \
>   BIND_CONF_OPTS = \
>   	$(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-threads,--disable-threads) \
>   	--without-lmdb \
> -	--with-libjson=no \
> +	--with-json-c=no \
>   	--with-randomdev=/dev/urandom \
>   	--enable-epoll \
>   	--enable-filter-aaaa \
>   	--disable-backtrace
>   
> +BIND_DEPENDENCIES = libuv
> +
>   ifeq ($(BR2_PACKAGE_ZLIB),y)
> -BIND_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr
> +BIND_CONF_OPTS += --with-zlib
>   BIND_DEPENDENCIES += zlib
> +BIND_DEPENDENCIES += host-pkgconf zlib
>   else
>   BIND_CONF_OPTS += --without-zlib
>   endif
> @@ -66,7 +69,6 @@ else
>   BIND_CONF_OPTS += --with-libxml2=no
>   endif
>   
> -ifeq ($(BR2_PACKAGE_OPENSSL),y)
>   BIND_DEPENDENCIES += host-pkgconf openssl
>   BIND_CONF_OPTS += \
>   	--with-openssl=$(STAGING_DIR)/usr \
> @@ -80,9 +82,6 @@ BIND_CONF_OPTS += --with-gost=yes
>   else
>   BIND_CONF_OPTS += --with-gost=no
>   endif
> -else
> -BIND_CONF_OPTS += --with-openssl=no
> -endif
>   
>   # Used by dnssec-keymgr
>   ifeq ($(BR2_PACKAGE_PYTHON_PLY),y)
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [RFC][PATCH 1/1] package/bind: bump to version 9.16.26
  2022-03-12 19:43 ` Arnout Vandecappelle
@ 2022-03-19 19:33   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2022-03-19 19:33 UTC (permalink / raw)
  To: Arnout Vandecappelle; +Cc: buildroot

>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 > On 22/02/2022 23:02, Petr Vorel wrote:
 >> BIND 9.11 EOL in March, 2022. BIND 9.16 is current Stable/ESV version.
 >> Changes:
 >> * libuv (new dependency)
 >> * openssl is now mandatory
 >> * zlib must be detected with PKG_CONFIG_PATH (specifying zlib
 >> installation path is not supported)
 >> * bind9-config and isc-config.sh removed
 >> * updated COPYRIGHT hash
 >> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

 >  Applied to master, thanks.

 >  I guess we'll get complaints if it doesn't work :-)

Committed to 2022.02.x given the immediate EOL of 9.11.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-19 19:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-22 22:02 [Buildroot] [RFC][PATCH 1/1] package/bind: bump to version 9.16.26 Petr Vorel
2022-02-23 21:27 ` Petr Vorel
2022-03-12 19:43 ` Arnout Vandecappelle
2022-03-19 19:33   ` Peter Korsgaard

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.