Skip to contentSkip to conversation

bind: Update to latest stable, 9.14.

PATCH In review Armin Kuster 5 participants 7 messages Jul 27, 2019 – Jul 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bind: Update to latest stable, 9.14.

Even releases are stable and supported for 1 year.

Drop patches no longer needed.
Refresh a few patches.
Removed config options no longed supported.

---
 ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 ---------------------
 ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 ---------------
 .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 31 --------------------
 ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++++++++++------------
 ...-searching-for-json-headers-searches-sysr.patch | 30 ++++++++++----------
 .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb}     | 24 ++++++----------
 6 files changed, 38 insertions(+), 134 deletions(-)
 delete mode 100644 meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch
 rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} (83%)
meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -32
deleted file mode 100644
index 871bb2a..0000000
@@ -1,32 +0,0 @@
-From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <[email protected]>
-Date: Mon, 27 Aug 2018 15:00:51 +0800
-Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib'
-
-Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind recipe,
-the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmless
-and helpful for clean up host build path in isc-config.sh
-
-Upstream-Status: Inappropriate [oe-core specific]
-
-Signed-off-by: Hongxu Jia <[email protected]>
----
- configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.in b/configure.in
-index 54efc55..76ac0eb 100644
---- a/configure.in
-+++ b/configure.in
-@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without-openssl])
- 				fi
- 				;;
- 			*)
--				DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto"
-+				DST_OPENSSL_LIBS="-lcrypto"
- 				;;
- 			esac
- 		fi
--- 
-2.7.4
-
meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch deleted +0 -22
deleted file mode 100644
index a8d601d..0000000
@@ -1,22 +0,0 @@
-Upstream-Status: Pending
-
-Subject: gen.c: extend DIRNAMESIZE from 256 to 512
-
-Signed-off-by: Chen Qi <[email protected]>
----
- lib/dns/gen.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: bind-9.11.3/lib/dns/gen.c
-===================================================================
---- bind-9.11.3.orig/lib/dns/gen.c
-+++ bind-9.11.3/lib/dns/gen.c
-@@ -130,7 +130,7 @@ static const char copyright[] =
- #define TYPECLASSBUF (TYPECLASSLEN + 1)
- #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
- #define ATTRIBUTESIZE 256
--#define DIRNAMESIZE 256
-+#define DIRNAMESIZE 512
- 
- static struct cc {
- 	struct cc *next;
meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0 -31
deleted file mode 100644
index 01874a4..0000000
@@ -1,31 +0,0 @@
-From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:00 2001
-From: Robert Yang <[email protected]>
-Date: Wed, 16 Sep 2015 20:23:47 -0700
-Subject: [PATCH] lib/dns/gen.c: fix too long error
-
-The 512 is a little short when build in deep dir, and cause "too long"
-error, use PATH_MAX if defined.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <[email protected]>
----
- lib/dns/gen.c |    4 ++++
- 1 file changed, 4 insertions(+)
-
-Index: bind-9.11.3/lib/dns/gen.c
-===================================================================
---- bind-9.11.3.orig/lib/dns/gen.c
-+++ bind-9.11.3/lib/dns/gen.c
-@@ -130,7 +130,11 @@ static const char copyright[] =
- #define TYPECLASSBUF (TYPECLASSLEN + 1)
- #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
- #define ATTRIBUTESIZE 256
-+#ifdef PATH_MAX
-+#define DIRNAMESIZE PATH_MAX
-+#else
- #define DIRNAMESIZE 512
-+#endif
- 
- static struct cc {
- 	struct cc *next;
meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +15 -18
index 75908aa..84894ae 100644
@@ -12,23 +12,20 @@ $ named -V
 Upstream-Status: Inappropriate [oe-core specific]
 
 Signed-off-by: Hongxu Jia <[email protected]>
----
- bin/named/include/named/globals.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/bin/named/include/named/globals.h b/bin/named/include/named/globals.h
-index ba3457e..7741da7 100644
---- a/bin/named/include/named/globals.h
-+++ b/bin/named/include/named/globals.h
-@@ -68,7 +68,7 @@ EXTERN const char *		ns_g_version		INIT(VERSION);
- EXTERN const char *		ns_g_product		INIT(PRODUCT);
- EXTERN const char *		ns_g_description	INIT(DESCRIPTION);
- EXTERN const char *		ns_g_srcid		INIT(SRCID);
--EXTERN const char *		ns_g_configargs		INIT(CONFIGARGS);
-+EXTERN const char *		ns_g_configargs		INIT("*** (options are hidden)");
- EXTERN const char *		ns_g_builder		INIT(BUILDER);
- EXTERN in_port_t		ns_g_port		INIT(0);
- EXTERN isc_dscp_t		ns_g_dscp		INIT(-1);
--- 
-2.7.4
+[Refreshed for 9.14.3]
+Signed-off-by: Armin kuster <[email protected]>
 
+Index: bind-9.14.3/bin/named/include/named/globals.h
+===================================================================
+--- bind-9.14.3.orig/bin/named/include/named/globals.h
++++ bind-9.14.3/bin/named/include/named/globals.h
+@@ -68,7 +68,7 @@ EXTERN const char *		named_g_version		IN
+ EXTERN const char *		named_g_product		INIT(PRODUCT);
+ EXTERN const char *		named_g_description	INIT(DESCRIPTION);
+ EXTERN const char *		named_g_srcid		INIT(SRCID);
+-EXTERN const char *		named_g_configargs	INIT(CONFIGARGS);
++EXTERN const char *		named_g_configargs	INIT("*** (options are hidden)");
+ EXTERN const char *		named_g_builder		INIT(BUILDER);
+ EXTERN in_port_t		named_g_port		INIT(0);
+ EXTERN isc_dscp_t		named_g_dscp		INIT(-1);
meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +15 -15
index 37e210e..3999c6a 100644
@@ -17,25 +17,25 @@ No currently running tasks (773 of 781)
 Summary: 1 task failed:
   /meta/recipes-connectivity/bind/bind_9.10.2.bb, do_configure
 
-One way to fix it would be to unconditionally disable json in bind
-configure[2] but here we fix it by using the path to where we would
-put the header if we had json in the sysroot, in case someone wants
-to make use of the combination some day.
+  One way to fix it would be to unconditionally disable json in bind
+  configure[2] but here we fix it by using the path to where we would
+  put the header if we had json in the sysroot, in case someone wants
+  to make use of the combination some day.
 
-[1] https://trac.macports.org/ticket/45305
-[2] https://trac.macports.org/changeset/126406
+  [1] https://trac.macports.org/ticket/45305
+  [2] https://trac.macports.org/changeset/126406
 
-Upstream-Status: Inappropriate [OE Specific]
-Signed-off-by: Paul Gortmaker <[email protected]>
----
- configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+  Upstream-Status: Inappropriate [OE Specific]
+  Signed-off-by: Paul Gortmaker <[email protected]>
 
-Index: bind-9.11.3/configure.in
+[Refreshed for 9.14.3
+Signed-off-by: Armin Kuster <[email protected]>
+
+Index: bind-9.14.3/configure.ac
 ===================================================================
---- bind-9.11.3.orig/configure.in
-+++ bind-9.11.3/configure.in
-@@ -2574,7 +2574,7 @@ case "$use_libjson" in
+--- bind-9.14.3.orig/configure.ac
++++ bind-9.14.3/configure.ac
+@@ -1353,7 +1353,7 @@ case "$use_libjson" in
  		libjson_libs=""
  		;;
  	auto|yes)
meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +8 -16
similarity index 83%
rename from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb
rename to meta/recipes-connectivity/bind/bind_9.14.3.bb
index 1355841..2cffe0f 100644
@@ -14,22 +14,18 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
            file://generate-rndc-key.sh \
            file://make-etc-initd-bind-stop-work.patch \
            file://init.d-add-support-for-read-only-rootfs.patch \
+           file://0001-avoid-start-failure-with-bind-user.patch \
            file://bind-ensure-searching-for-json-headers-searches-sysr.patch \
-           file://0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch \
-           file://0001-lib-dns-gen.c-fix-too-long-error.patch \
-           file://0001-configure.in-remove-useless-L-use_openssl-lib.patch \
            file://0001-named-lwresd-V-and-start-log-hide-build-options.patch \
-           file://0001-avoid-start-failure-with-bind-user.patch \
 "
 
-SRC_URI[md5sum] = "8ddab4b61fa4516fe404679c74e37960"
-SRC_URI[sha256sum] = "7e8c08192bcbaeb6e9f2391a70e67583b027b90e8c4bc1605da6eb126edde434"
+SRC_URI[md5sum] = "61f30afc2108cdc230e08f51466fe2f4"
+SRC_URI[sha256sum] = "ce878aabcf01b61ed114522c32fff9e268b02da55b3c248349860bc3d0c8bdfa"
 
 UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
-UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/"
-RECIPE_NO_UPDATE_REASON = "9.11 is LTS 2021"
+RECIPE_NO_UPDATE_REASON = "even are stable"
 
-inherit autotools update-rc.d systemd useradd pkgconfig multilib_script
+inherit autotools update-rc.d systemd useradd pkgconfig multilib_script upstream-version-is-even
 
 MULTILIB_SCRIPTS = "${PN}:${bindir}/bind9-config ${PN}:${bindir}/isc-config.sh"
 
@@ -38,14 +34,10 @@ PACKAGECONFIG ?= "readline"
 PACKAGECONFIG[httpstats] = "--with-libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2"
 PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline"
 PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
-PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with-randomdev=/dev/random,,"
 PACKAGECONFIG[python3] = "--with-python=${PYTHON} --with-python-install-dir=${D}/${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native,"
 
-ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"
-EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \
-                 --disable-devpoll --enable-epoll --with-gost=no \
-                 --with-gssapi=no --with-ecdsa=yes --with-eddsa=no \
-                 --with-lmdb=no \
+EXTRA_OECONF = " --with-libtool --disable-devpoll --enable-epoll \
+                 --with-gssapi=no --with-lmdb=no \
                  --sysconfdir=${sysconfdir}/bind \
                  --with-openssl=${STAGING_DIR_HOST}${prefix} \
                "
@@ -126,7 +118,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h"
 FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
 
 PACKAGE_BEFORE_PN += "${PN}-libs"
-FILES_${PN}-libs = "${libdir}/*.so*"
+FILES_${PN}-libs = "${libdir}/*.so* ${libdir}/named/*.so"
 FILES_${PN}-staticdev += "${libdir}/*.la"
 
 PACKAGE_BEFORE_PN += "${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-bind', '', d)}"
Signature · 1 line
2.7.4
#1 lore raw

This is causing errors:

| Makefile:557: recipe for target 'alloc.lo' failed
| make[2]: *** [alloc.lo] Error 1
| In file included from ../includes/dhcpd.h:91,
|                  from conflex.c:29:
| ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No
such file or directory
|    51 | #include <isc/boolean.h>
|       |          ^~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:557: recipe for target 'dhcp4o6.lo' failed
| make[2]: *** [dhcp4o6.lo] Error 1
| In file included from ../includes/dhcpd.h:91,
|                  from icmp.c:30:
| ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No
such file or directory
|    51 | #include <isc/boolean.h>
|       |          ^~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:557: recipe for target 'dispatch.lo' failed
| make[2]: *** [dispatch.lo] Error 1
| In file included from ../includes/dhcpd.h:91,
|                  from bpf.c:35:
| ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No
such file or directory
|    51 | #include <isc/boolean.h>
|       |          ^~~~~~~~~~~~~~~

https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/871/steps/8/logs/step1b

Thanks,

Anuj

Quoted 344 lines · Armin Kuster

Even releases are stable and supported for 1 year.

Drop patches no longer needed.
Refresh a few patches.
Removed config options no longed supported.

---
 ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 ------------
---------
 ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 ------------
---
 .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 31 ------------
--------
 ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++++++++++
------------
 ...-searching-for-json-headers-searches-sysr.patch | 30 ++++++++++
----------
 .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb}     | 24 ++++++----
------
 6 files changed, 38 insertions(+), 134 deletions(-)
 delete mode 100644 meta/recipes-connectivity/bind/bind/0001-
configure.in-remove-useless-L-use_openssl-lib.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c-
extend-DIRNAMESIZE-from-256-to-512.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns-
gen.c-fix-too-long-error.patch
 rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb =>

bind_9.14.3.bb} (83%)

(quoted diff) +0 -0

remove-useless-L-use_openssl-lib.patch b/meta/recipes- connectivity/bind/bind/0001-configure.in-remove-useless-L- use_openssl-lib.patch
deleted file mode 100644
index 871bb2a..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove- useless-L-use_openssl-lib.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,32 +0,0 @@
-From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00

2001

meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -5
-From: Hongxu Jia <[email protected]>
-Date: Mon, 27 Aug 2018 15:00:51 +0800
-Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib'
-
-Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind

recipe,
-the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmless

meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -14
-and helpful for clean up host build path in isc-config.sh
-
-Upstream-Status: Inappropriate [oe-core specific]
-
-Signed-off-by: Hongxu Jia <[email protected]>
----
- configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.in b/configure.in
-index 54efc55..76ac0eb 100644
---- a/configure.in
-+++ b/configure.in
-@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without-

openssl])

meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -12
- 				fi
- 				;;
- 			*)
--				DST_OPENSSL_LIBS="-L$use_openssl/lib
-lcrypto"
-+				DST_OPENSSL_LIBS="-lcrypto"
- 				;;
- 			esac
- 		fi
--- 
-2.7.4
-
(quoted diff) +0 -0

DIRNAMESIZE-from-256-to-512.patch b/meta/recipes- connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch
deleted file mode 100644
index a8d601d..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- DIRNAMESIZE-from-256-to-512.patch
+++ /dev/null

meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch deleted +0 -22
@@ -1,22 +0,0 @@
-Upstream-Status: Pending
-
-Subject: gen.c: extend DIRNAMESIZE from 256 to 512
-
-Signed-off-by: Chen Qi <[email protected]>
----
- lib/dns/gen.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: bind-9.11.3/lib/dns/gen.c
-===================================================================
---- bind-9.11.3.orig/lib/dns/gen.c
-+++ bind-9.11.3/lib/dns/gen.c
-@@ -130,7 +130,7 @@ static const char copyright[] =
- #define TYPECLASSBUF (TYPECLASSLEN + 1)
- #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
- #define ATTRIBUTESIZE 256
--#define DIRNAMESIZE 256
-+#define DIRNAMESIZE 512
- 
- static struct cc {
- 	struct cc *next;
(quoted diff) +0 -0

fix-too-long-error.patch b/meta/recipes-connectivity/bind/bind/0001- lib-dns-gen.c-fix-too-long-error.patch
deleted file mode 100644
index 01874a4..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too- long-error.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,31 +0,0 @@
-From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:00

2001

meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0 -5
-From: Robert Yang <[email protected]>
-Date: Wed, 16 Sep 2015 20:23:47 -0700
-Subject: [PATCH] lib/dns/gen.c: fix too long error
-
-The 512 is a little short when build in deep dir, and cause "too

long"

meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0 -25
-error, use PATH_MAX if defined.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <[email protected]>
----
- lib/dns/gen.c |    4 ++++
- 1 file changed, 4 insertions(+)
-
-Index: bind-9.11.3/lib/dns/gen.c
-===================================================================
---- bind-9.11.3.orig/lib/dns/gen.c
-+++ bind-9.11.3/lib/dns/gen.c
-@@ -130,7 +130,11 @@ static const char copyright[] =
- #define TYPECLASSBUF (TYPECLASSLEN + 1)
- #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
- #define ATTRIBUTESIZE 256
-+#ifdef PATH_MAX
-+#define DIRNAMESIZE PATH_MAX
-+#else
- #define DIRNAMESIZE 512
-+#endif
- 
- static struct cc {
- 	struct cc *next;
(quoted diff) +0 -0

and-start-log-hide-build-options.patch b/meta/recipes- connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build- options.patch
index 75908aa..84894ae 100644
--- a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patch

meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +0 -4
@@ -12,23 +12,20 @@ $ named -V
 Upstream-Status: Inappropriate [oe-core specific]
 
 Signed-off-by: Hongxu Jia <[email protected]>
----
- bin/named/include/named/globals.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/bin/named/include/named/globals.h

b/bin/named/include/named/globals.h
-index ba3457e..7741da7 100644
---- a/bin/named/include/named/globals.h
-+++ b/bin/named/include/named/globals.h
-@@ -68,7 +68,7 @@ EXTERN const char * ns_g_version

	INIT(VERSION);

- EXTERN const char * ns_g_product INIT(PRODUCT)
;
- EXTERN const char * ns_g_description INIT(DESCRIPTION);
- EXTERN const char * ns_g_srcid INIT(SRCID);
--EXTERN const char * ns_g_configargs INIT(CONFIGAR
GS);
-+EXTERN const char * ns_g_configargs INIT("***
(options are hidden)");
- EXTERN const char * ns_g_builder INIT(BUILDER)
;
- EXTERN in_port_t ns_g_port INIT(0);
- EXTERN isc_dscp_t ns_g_dscp INIT(-1);
---
-2.7.4
+[Refreshed for 9.14.3]

meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +6 -0
+Signed-off-by: Armin kuster <[email protected]>
 
+Index: bind-9.14.3/bin/named/include/named/globals.h
+===================================================================
+--- bind-9.14.3.orig/bin/named/include/named/globals.h
++++ bind-9.14.3/bin/named/include/named/globals.h
+@@ -68,7 +68,7 @@ EXTERN const char *		named_g_version

IN
+ EXTERN const char * named_g_product INIT(PRODUCT)
;
+ EXTERN const char * named_g_description INIT(DESCRIPT
ION);
+ EXTERN const char * named_g_srcid INIT(SRCID);
+-EXTERN const char * named_g_configargs INIT(CONFIGAR
GS);
++EXTERN const char * named_g_configargs INIT("***
(options are hidden)");
+ EXTERN const char * named_g_builder INIT(BUILDER)
;
+ EXTERN in_port_t named_g_port INIT(0);
+ EXTERN isc_dscp_t named_g_dscp INIT(-1);

(quoted diff) +0 -0

searching-for-json-headers-searches-sysr.patch b/meta/recipes- connectivity/bind/bind/bind-ensure-searching-for-json-headers- searches-sysr.patch
index 37e210e..3999c6a 100644
--- a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patch
+++ b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patch

meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +2 -4
@@ -17,25 +17,25 @@ No currently running tasks (773 of 781)
 Summary: 1 task failed:
   /meta/recipes-connectivity/bind/bind_9.10.2.bb, do_configure
 
-One way to fix it would be to unconditionally disable json in bind
-configure[2] but here we fix it by using the path to where we would
-put the header if we had json in the sysroot, in case someone wants
-to make use of the combination some day.
+  One way to fix it would be to unconditionally disable json in bind
+  configure[2] but here we fix it by using the path to where we

would
+ put the header if we had json in the sysroot, in case someone wants

meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +12 -11
+  to make use of the combination some day.
 
-[1] https://trac.macports.org/ticket/45305
-[2] https://trac.macports.org/changeset/126406
+  [1] https://trac.macports.org/ticket/45305
+  [2] https://trac.macports.org/changeset/126406
 
-Upstream-Status: Inappropriate [OE Specific]
-Signed-off-by: Paul Gortmaker <[email protected]>
----
- configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+  Upstream-Status: Inappropriate [OE Specific]
+  Signed-off-by: Paul Gortmaker <[email protected]>
 
-Index: bind-9.11.3/configure.in
+[Refreshed for 9.14.3
+Signed-off-by: Armin Kuster <[email protected]>
+
+Index: bind-9.14.3/configure.ac
 ===================================================================
---- bind-9.11.3.orig/configure.in
-+++ bind-9.11.3/configure.in
-@@ -2574,7 +2574,7 @@ case "$use_libjson" in
+--- bind-9.14.3.orig/configure.ac
++++ bind-9.14.3/configure.ac
+@@ -1353,7 +1353,7 @@ case "$use_libjson" in
  		libjson_libs=""
  		;;
  	auto|yes)
meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1 -6
similarity index 83%
rename from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb
rename to meta/recipes-connectivity/bind/bind_9.14.3.bb
index 1355841..2cffe0f 100644
@@ -14,22 +14,18 @@ SRC_URI = "
 https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
            file://generate-rndc-key.sh \
            file://make-etc-initd-bind-stop-work.patch \
            file://init.d-add-support-for-read-only-rootfs.patch \
+           file://0001-avoid-start-failure-with-bind-user.patch \
            file://bind-ensure-searching-for-json-headers-searches-
 sysr.patch \
-           file://0001-gen.c-extend-DIRNAMESIZE-from-256-to-
 512.patch \
-           file://0001-lib-dns-gen.c-fix-too-long-error.patch \
-           file://0001-configure.in-remove-useless-L-use_openssl-
 lib.patch \
            file://0001-named-lwresd-V-and-start-log-hide-build-
 options.patch \
-           file://0001-avoid-start-failure-with-bind-user.patch \
 "
 
-SRC_URI[md5sum] = "8ddab4b61fa4516fe404679c74e37960"
-SRC_URI[sha256sum] =

"7e8c08192bcbaeb6e9f2391a70e67583b027b90e8c4bc1605da6eb126edde434"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +2 -0
+SRC_URI[md5sum] = "61f30afc2108cdc230e08f51466fe2f4"
+SRC_URI[sha256sum] =

"ce878aabcf01b61ed114522c32fff9e268b02da55b3c248349860bc3d0c8bdfa"

UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1 -3
-UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/"
-RECIPE_NO_UPDATE_REASON = "9.11 is LTS 2021"
+RECIPE_NO_UPDATE_REASON = "even are stable"
 
-inherit autotools update-rc.d systemd useradd pkgconfig

multilib_script
+inherit autotools update-rc.d systemd useradd pkgconfig multilib_script upstream-version-is-even

MULTILIB_SCRIPTS = "${PN}:${bindir}/bind9-config
${PN}:${bindir}/isc-config.sh"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +0 -0
@@ -38,14 +34,10 @@ PACKAGECONFIG ?= "readline"
 PACKAGECONFIG[httpstats] = "--with-

libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2"
PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline" PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
-PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with- randomdev=/dev/random,,"
PACKAGECONFIG[python3] = "--with-python=${PYTHON} --with-python-
install-dir=${D}/${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native,"

-ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +3 -5
-EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \
-                 --disable-devpoll --enable-epoll --with-gost=no \
-                 --with-gssapi=no --with-ecdsa=yes --with-eddsa=no \
-                 --with-lmdb=no \
+EXTRA_OECONF = " --with-libtool --disable-devpoll --enable-epoll \
+                 --with-gssapi=no --with-lmdb=no \
                  --sysconfdir=${sysconfdir}/bind \
                  --with-openssl=${STAGING_DIR_HOST}${prefix} \
                "
@@ -126,7 +118,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h"
 FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
 
 PACKAGE_BEFORE_PN += "${PN}-libs"
-FILES_${PN}-libs = "${libdir}/*.so*"
+FILES_${PN}-libs = "${libdir}/*.so* ${libdir}/named/*.so"
 FILES_${PN}-staticdev += "${libdir}/*.la"
 
 PACKAGE_BEFORE_PN += "${@bb.utils.contains('PACKAGECONFIG',

'python3', 'python3-bind', '', d)}"

Signature · 1 line
2.7.4
author
#2 lore raw
Quoted 29 lines · Anuj

This is causing errors:

| Makefile:557: recipe for target 'alloc.lo' failed
| make[2]: *** [alloc.lo] Error 1
| In file included from ../includes/dhcpd.h:91,
|                  from conflex.c:29:
| ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No
such file or directory
|    51 | #include <isc/boolean.h>
|       |          ^~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:557: recipe for target 'dhcp4o6.lo' failed
| make[2]: *** [dhcp4o6.lo] Error 1
| In file included from ../includes/dhcpd.h:91,
|                  from icmp.c:30:
| ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No
such file or directory
|    51 | #include <isc/boolean.h>
|       |          ^~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:557: recipe for target 'dispatch.lo' failed
| make[2]: *** [dispatch.lo] Error 1
| In file included from ../includes/dhcpd.h:91,
|                  from bpf.c:35:
| ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No
such file or directory
|    51 | #include <isc/boolean.h>
|       |          ^~~~~~~~~~~~~~~
Quoted 1 line

https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/871/steps/8/logs/step1b

Ah, musl.. ok thanks,
Armin

Quoted 350 lines

Thanks,

Anuj

Quoted 344 lines · Armin Kuster

Even releases are stable and supported for 1 year.

Drop patches no longer needed.
Refresh a few patches.
Removed config options no longed supported.

---
 ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 ------------
---------
 ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 ------------
---
 .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 31 ------------
--------
 ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++++++++++
------------
 ...-searching-for-json-headers-searches-sysr.patch | 30 ++++++++++
----------
 .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb}     | 24 ++++++----
------
 6 files changed, 38 insertions(+), 134 deletions(-)
 delete mode 100644 meta/recipes-connectivity/bind/bind/0001-
configure.in-remove-useless-L-use_openssl-lib.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c-
extend-DIRNAMESIZE-from-256-to-512.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns-
gen.c-fix-too-long-error.patch
 rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb =>

bind_9.14.3.bb} (83%)

(quoted diff) +0 -0

remove-useless-L-use_openssl-lib.patch b/meta/recipes- connectivity/bind/bind/0001-configure.in-remove-useless-L- use_openssl-lib.patch
deleted file mode 100644
index 871bb2a..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove- useless-L-use_openssl-lib.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,32 +0,0 @@
-From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00

2001

meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -5
-From: Hongxu Jia <[email protected]>
-Date: Mon, 27 Aug 2018 15:00:51 +0800
-Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib'
-
-Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind

recipe,
-the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmless

meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -14
-and helpful for clean up host build path in isc-config.sh
-
-Upstream-Status: Inappropriate [oe-core specific]
-
-Signed-off-by: Hongxu Jia <[email protected]>
----
- configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.in b/configure.in
-index 54efc55..76ac0eb 100644
---- a/configure.in
-+++ b/configure.in
-@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without-

openssl])

meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -12
- 				fi
- 				;;
- 			*)
--				DST_OPENSSL_LIBS="-L$use_openssl/lib
-lcrypto"
-+				DST_OPENSSL_LIBS="-lcrypto"
- 				;;
- 			esac
- 		fi
--- 
-2.7.4
-
(quoted diff) +0 -0

DIRNAMESIZE-from-256-to-512.patch b/meta/recipes- connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch
deleted file mode 100644
index a8d601d..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- DIRNAMESIZE-from-256-to-512.patch
+++ /dev/null

meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch deleted +0 -22
@@ -1,22 +0,0 @@
-Upstream-Status: Pending
-
-Subject: gen.c: extend DIRNAMESIZE from 256 to 512
-
-Signed-off-by: Chen Qi <[email protected]>
----
- lib/dns/gen.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: bind-9.11.3/lib/dns/gen.c
-===================================================================
---- bind-9.11.3.orig/lib/dns/gen.c
-+++ bind-9.11.3/lib/dns/gen.c
-@@ -130,7 +130,7 @@ static const char copyright[] =
- #define TYPECLASSBUF (TYPECLASSLEN + 1)
- #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
- #define ATTRIBUTESIZE 256
--#define DIRNAMESIZE 256
-+#define DIRNAMESIZE 512
- 
- static struct cc {
- 	struct cc *next;
(quoted diff) +0 -0

fix-too-long-error.patch b/meta/recipes-connectivity/bind/bind/0001- lib-dns-gen.c-fix-too-long-error.patch
deleted file mode 100644
index 01874a4..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too- long-error.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,31 +0,0 @@
-From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:00

2001

meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0 -5
-From: Robert Yang <[email protected]>
-Date: Wed, 16 Sep 2015 20:23:47 -0700
-Subject: [PATCH] lib/dns/gen.c: fix too long error
-
-The 512 is a little short when build in deep dir, and cause "too

long"

meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0 -25
-error, use PATH_MAX if defined.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <[email protected]>
----
- lib/dns/gen.c |    4 ++++
- 1 file changed, 4 insertions(+)
-
-Index: bind-9.11.3/lib/dns/gen.c
-===================================================================
---- bind-9.11.3.orig/lib/dns/gen.c
-+++ bind-9.11.3/lib/dns/gen.c
-@@ -130,7 +130,11 @@ static const char copyright[] =
- #define TYPECLASSBUF (TYPECLASSLEN + 1)
- #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
- #define ATTRIBUTESIZE 256
-+#ifdef PATH_MAX
-+#define DIRNAMESIZE PATH_MAX
-+#else
- #define DIRNAMESIZE 512
-+#endif
- 
- static struct cc {
- 	struct cc *next;
(quoted diff) +0 -0

and-start-log-hide-build-options.patch b/meta/recipes- connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build- options.patch
index 75908aa..84894ae 100644
--- a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patch

meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +0 -4
@@ -12,23 +12,20 @@ $ named -V
 Upstream-Status: Inappropriate [oe-core specific]
 
 Signed-off-by: Hongxu Jia <[email protected]>
----
- bin/named/include/named/globals.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/bin/named/include/named/globals.h

b/bin/named/include/named/globals.h
-index ba3457e..7741da7 100644
---- a/bin/named/include/named/globals.h
-+++ b/bin/named/include/named/globals.h
-@@ -68,7 +68,7 @@ EXTERN const char * ns_g_version

	INIT(VERSION);

- EXTERN const char * ns_g_product INIT(PRODUCT)
;
- EXTERN const char * ns_g_description INIT(DESCRIPTION);
- EXTERN const char * ns_g_srcid INIT(SRCID);
--EXTERN const char * ns_g_configargs INIT(CONFIGAR
GS);
-+EXTERN const char * ns_g_configargs INIT("***
(options are hidden)");
- EXTERN const char * ns_g_builder INIT(BUILDER)
;
- EXTERN in_port_t ns_g_port INIT(0);
- EXTERN isc_dscp_t ns_g_dscp INIT(-1);
---
-2.7.4
+[Refreshed for 9.14.3]

meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +6 -0
+Signed-off-by: Armin kuster <[email protected]>
 
+Index: bind-9.14.3/bin/named/include/named/globals.h
+===================================================================
+--- bind-9.14.3.orig/bin/named/include/named/globals.h
++++ bind-9.14.3/bin/named/include/named/globals.h
+@@ -68,7 +68,7 @@ EXTERN const char *		named_g_version

IN
+ EXTERN const char * named_g_product INIT(PRODUCT)
;
+ EXTERN const char * named_g_description INIT(DESCRIPT
ION);
+ EXTERN const char * named_g_srcid INIT(SRCID);
+-EXTERN const char * named_g_configargs INIT(CONFIGAR
GS);
++EXTERN const char * named_g_configargs INIT("***
(options are hidden)");
+ EXTERN const char * named_g_builder INIT(BUILDER)
;
+ EXTERN in_port_t named_g_port INIT(0);
+ EXTERN isc_dscp_t named_g_dscp INIT(-1);

(quoted diff) +0 -0

searching-for-json-headers-searches-sysr.patch b/meta/recipes- connectivity/bind/bind/bind-ensure-searching-for-json-headers- searches-sysr.patch
index 37e210e..3999c6a 100644
--- a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patch
+++ b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patch

meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +2 -4
@@ -17,25 +17,25 @@ No currently running tasks (773 of 781)
 Summary: 1 task failed:
   /meta/recipes-connectivity/bind/bind_9.10.2.bb, do_configure
 
-One way to fix it would be to unconditionally disable json in bind
-configure[2] but here we fix it by using the path to where we would
-put the header if we had json in the sysroot, in case someone wants
-to make use of the combination some day.
+  One way to fix it would be to unconditionally disable json in bind
+  configure[2] but here we fix it by using the path to where we

would
+ put the header if we had json in the sysroot, in case someone wants

meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +12 -11
+  to make use of the combination some day.
 
-[1] https://trac.macports.org/ticket/45305
-[2] https://trac.macports.org/changeset/126406
+  [1] https://trac.macports.org/ticket/45305
+  [2] https://trac.macports.org/changeset/126406
 
-Upstream-Status: Inappropriate [OE Specific]
-Signed-off-by: Paul Gortmaker <[email protected]>
----
- configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+  Upstream-Status: Inappropriate [OE Specific]
+  Signed-off-by: Paul Gortmaker <[email protected]>
 
-Index: bind-9.11.3/configure.in
+[Refreshed for 9.14.3
+Signed-off-by: Armin Kuster <[email protected]>
+
+Index: bind-9.14.3/configure.ac
 ===================================================================
---- bind-9.11.3.orig/configure.in
-+++ bind-9.11.3/configure.in
-@@ -2574,7 +2574,7 @@ case "$use_libjson" in
+--- bind-9.14.3.orig/configure.ac
++++ bind-9.14.3/configure.ac
+@@ -1353,7 +1353,7 @@ case "$use_libjson" in
  		libjson_libs=""
  		;;
  	auto|yes)
meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1 -6
similarity index 83%
rename from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb
rename to meta/recipes-connectivity/bind/bind_9.14.3.bb
index 1355841..2cffe0f 100644
@@ -14,22 +14,18 @@ SRC_URI = "
 https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
            file://generate-rndc-key.sh \
            file://make-etc-initd-bind-stop-work.patch \
            file://init.d-add-support-for-read-only-rootfs.patch \
+           file://0001-avoid-start-failure-with-bind-user.patch \
            file://bind-ensure-searching-for-json-headers-searches-
 sysr.patch \
-           file://0001-gen.c-extend-DIRNAMESIZE-from-256-to-
 512.patch \
-           file://0001-lib-dns-gen.c-fix-too-long-error.patch \
-           file://0001-configure.in-remove-useless-L-use_openssl-
 lib.patch \
            file://0001-named-lwresd-V-and-start-log-hide-build-
 options.patch \
-           file://0001-avoid-start-failure-with-bind-user.patch \
 "
 
-SRC_URI[md5sum] = "8ddab4b61fa4516fe404679c74e37960"
-SRC_URI[sha256sum] =

"7e8c08192bcbaeb6e9f2391a70e67583b027b90e8c4bc1605da6eb126edde434"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +2 -0
+SRC_URI[md5sum] = "61f30afc2108cdc230e08f51466fe2f4"
+SRC_URI[sha256sum] =

"ce878aabcf01b61ed114522c32fff9e268b02da55b3c248349860bc3d0c8bdfa"

UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1 -3
-UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/"
-RECIPE_NO_UPDATE_REASON = "9.11 is LTS 2021"
+RECIPE_NO_UPDATE_REASON = "even are stable"
 
-inherit autotools update-rc.d systemd useradd pkgconfig

multilib_script
+inherit autotools update-rc.d systemd useradd pkgconfig multilib_script upstream-version-is-even

MULTILIB_SCRIPTS = "${PN}:${bindir}/bind9-config
${PN}:${bindir}/isc-config.sh"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +0 -0
@@ -38,14 +34,10 @@ PACKAGECONFIG ?= "readline"
 PACKAGECONFIG[httpstats] = "--with-

libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2"
PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline" PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
-PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with- randomdev=/dev/random,,"
PACKAGECONFIG[python3] = "--with-python=${PYTHON} --with-python-
install-dir=${D}/${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native,"

-ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +3 -5
-EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \
-                 --disable-devpoll --enable-epoll --with-gost=no \
-                 --with-gssapi=no --with-ecdsa=yes --with-eddsa=no \
-                 --with-lmdb=no \
+EXTRA_OECONF = " --with-libtool --disable-devpoll --enable-epoll \
+                 --with-gssapi=no --with-lmdb=no \
                  --sysconfdir=${sysconfdir}/bind \
                  --with-openssl=${STAGING_DIR_HOST}${prefix} \
                "
@@ -126,7 +118,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h"
 FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
 
 PACKAGE_BEFORE_PN += "${PN}-libs"
-FILES_${PN}-libs = "${libdir}/*.so*"
+FILES_${PN}-libs = "${libdir}/*.so* ${libdir}/named/*.so"
 FILES_${PN}-staticdev += "${libdir}/*.la"
 
 PACKAGE_BEFORE_PN += "${@bb.utils.contains('PACKAGECONFIG',

'python3', 'python3-bind', '', d)}"

Signature · 1 line
2.7.4
#3 lore raw
Quoted 31 lines · On 7/28/19 12:08 AM, akuster808 wrote:
Quoted 29 lines · Anuj

This is causing errors:

| Makefile:557: recipe for target 'alloc.lo' failed
| make[2]: *** [alloc.lo] Error 1
| In file included from ../includes/dhcpd.h:91,
|                  from conflex.c:29:
| ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No
such file or directory
|    51 | #include <isc/boolean.h>
|       |          ^~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:557: recipe for target 'dhcp4o6.lo' failed
| make[2]: *** [dhcp4o6.lo] Error 1
| In file included from ../includes/dhcpd.h:91,
|                  from icmp.c:30:
| ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No
such file or directory
|    51 | #include <isc/boolean.h>
|       |          ^~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:557: recipe for target 'dispatch.lo' failed
| make[2]: *** [dispatch.lo] Error 1
| In file included from ../includes/dhcpd.h:91,
|                  from bpf.c:35:
| ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No
such file or directory
|    51 | #include <isc/boolean.h>
|       |          ^~~~~~~~~~~~~~~
Quoted 2 lines
Quoted 1 line

https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/871/steps/8/logs/step1b

Ah, musl.. ok thanks,

this is basically due to [1]

[1] https://gitlab.isc.org/isc-projects/bind9/commit/4c06eb20cc2e11e78412031babebc6273be5dc08

Quoted 350 lines

Armin

Quoted 349 lines

Thanks,

Anuj

Quoted 344 lines · Armin Kuster

Even releases are stable and supported for 1 year.

Drop patches no longer needed.
Refresh a few patches.
Removed config options no longed supported.

---
  ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 ------------
---------
  ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 ------------
---
  .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 31 ------------
--------
  ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++++++++++
------------
  ...-searching-for-json-headers-searches-sysr.patch | 30 ++++++++++
----------
  .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb}     | 24 ++++++----
------
  6 files changed, 38 insertions(+), 134 deletions(-)

delete mode 100644 meta/recipes-connectivity/bind/bind/0001-
configure.in-remove-useless-L-use_openssl-lib.patch
delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c-
extend-DIRNAMESIZE-from-256-to-512.patch
delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns-
gen.c-fix-too-long-error.patch
rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb =>
bind_9.14.3.bb} (83%)

(quoted diff) +0 -0

remove-useless-L-use_openssl-lib.patch b/meta/recipes- connectivity/bind/bind/0001-configure.in-remove-useless-L- use_openssl-lib.patch
deleted file mode 100644
index 871bb2a..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove- useless-L-use_openssl-lib.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,32 +0,0 @@
-From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00

2001

meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -5
-From: Hongxu Jia <[email protected]>
-Date: Mon, 27 Aug 2018 15:00:51 +0800
-Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib'
-
-Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind

recipe,
-the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmless

meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -14
-and helpful for clean up host build path in isc-config.sh
-
-Upstream-Status: Inappropriate [oe-core specific]
-
-Signed-off-by: Hongxu Jia <[email protected]>
----
- configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.in b/configure.in
-index 54efc55..76ac0eb 100644
---- a/configure.in
-+++ b/configure.in
-@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without-

openssl])

meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -12
- 				fi
- 				;;
- 			*)
--				DST_OPENSSL_LIBS="-L$use_openssl/lib
-lcrypto"
-+				DST_OPENSSL_LIBS="-lcrypto"
- 				;;
- 			esac
- 		fi
---
-2.7.4
-
(quoted diff) +0 -0

DIRNAMESIZE-from-256-to-512.patch b/meta/recipes- connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch
deleted file mode 100644
index a8d601d..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- DIRNAMESIZE-from-256-to-512.patch
+++ /dev/null

meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch deleted +0 -22
@@ -1,22 +0,0 @@
-Upstream-Status: Pending
-
-Subject: gen.c: extend DIRNAMESIZE from 256 to 512
-
-Signed-off-by: Chen Qi <[email protected]>
----
- lib/dns/gen.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: bind-9.11.3/lib/dns/gen.c
-===================================================================
---- bind-9.11.3.orig/lib/dns/gen.c
-+++ bind-9.11.3/lib/dns/gen.c
-@@ -130,7 +130,7 @@ static const char copyright[] =
- #define TYPECLASSBUF (TYPECLASSLEN + 1)
- #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
- #define ATTRIBUTESIZE 256
--#define DIRNAMESIZE 256
-+#define DIRNAMESIZE 512
-
- static struct cc {
- 	struct cc *next;
(quoted diff) +0 -0

fix-too-long-error.patch b/meta/recipes-connectivity/bind/bind/0001- lib-dns-gen.c-fix-too-long-error.patch
deleted file mode 100644
index 01874a4..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too- long-error.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,31 +0,0 @@
-From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:00

2001

meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0 -5
-From: Robert Yang <[email protected]>
-Date: Wed, 16 Sep 2015 20:23:47 -0700
-Subject: [PATCH] lib/dns/gen.c: fix too long error
-
-The 512 is a little short when build in deep dir, and cause "too

long"

meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0 -25
-error, use PATH_MAX if defined.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <[email protected]>
----
- lib/dns/gen.c |    4 ++++
- 1 file changed, 4 insertions(+)
-
-Index: bind-9.11.3/lib/dns/gen.c
-===================================================================
---- bind-9.11.3.orig/lib/dns/gen.c
-+++ bind-9.11.3/lib/dns/gen.c
-@@ -130,7 +130,11 @@ static const char copyright[] =
- #define TYPECLASSBUF (TYPECLASSLEN + 1)
- #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
- #define ATTRIBUTESIZE 256
-+#ifdef PATH_MAX
-+#define DIRNAMESIZE PATH_MAX
-+#else
- #define DIRNAMESIZE 512
-+#endif
-
- static struct cc {
- 	struct cc *next;
(quoted diff) +0 -0

and-start-log-hide-build-options.patch b/meta/recipes- connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build- options.patch
index 75908aa..84894ae 100644
--- a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patch

meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +0 -4
@@ -12,23 +12,20 @@ $ named -V
  Upstream-Status: Inappropriate [oe-core specific]
 
  Signed-off-by: Hongxu Jia <[email protected]>
----
- bin/named/include/named/globals.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/bin/named/include/named/globals.h

b/bin/named/include/named/globals.h
-index ba3457e..7741da7 100644
---- a/bin/named/include/named/globals.h
-+++ b/bin/named/include/named/globals.h
-@@ -68,7 +68,7 @@ EXTERN const char * ns_g_version

	INIT(VERSION);

- EXTERN const char * ns_g_product INIT(PRODUCT)
;
- EXTERN const char * ns_g_description INIT(DESCRIPTION);
- EXTERN const char * ns_g_srcid INIT(SRCID);
--EXTERN const char * ns_g_configargs INIT(CONFIGAR
GS);
-+EXTERN const char * ns_g_configargs INIT("***
(options are hidden)");
- EXTERN const char * ns_g_builder INIT(BUILDER)
;
- EXTERN in_port_t ns_g_port INIT(0);
- EXTERN isc_dscp_t ns_g_dscp INIT(-1);
---
-2.7.4
+[Refreshed for 9.14.3]

meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +6 -0
+Signed-off-by: Armin kuster <[email protected]>
 
+Index: bind-9.14.3/bin/named/include/named/globals.h
+===================================================================
+--- bind-9.14.3.orig/bin/named/include/named/globals.h
++++ bind-9.14.3/bin/named/include/named/globals.h
+@@ -68,7 +68,7 @@ EXTERN const char *		named_g_version

IN
+ EXTERN const char * named_g_product INIT(PRODUCT)
;
+ EXTERN const char * named_g_description INIT(DESCRIPT
ION);
+ EXTERN const char * named_g_srcid INIT(SRCID);
+-EXTERN const char * named_g_configargs INIT(CONFIGAR
GS);
++EXTERN const char * named_g_configargs INIT("***
(options are hidden)");
+ EXTERN const char * named_g_builder INIT(BUILDER)
;
+ EXTERN in_port_t named_g_port INIT(0);
+ EXTERN isc_dscp_t named_g_dscp INIT(-1);

(quoted diff) +0 -0

searching-for-json-headers-searches-sysr.patch b/meta/recipes- connectivity/bind/bind/bind-ensure-searching-for-json-headers- searches-sysr.patch
index 37e210e..3999c6a 100644
--- a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patch
+++ b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patch

meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +2 -4
@@ -17,25 +17,25 @@ No currently running tasks (773 of 781)
  Summary: 1 task failed:
    /meta/recipes-connectivity/bind/bind_9.10.2.bb, do_configure
 
-One way to fix it would be to unconditionally disable json in bind
-configure[2] but here we fix it by using the path to where we would
-put the header if we had json in the sysroot, in case someone wants
-to make use of the combination some day.
+  One way to fix it would be to unconditionally disable json in bind
+  configure[2] but here we fix it by using the path to where we

would
+ put the header if we had json in the sysroot, in case someone wants

meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +12 -11
+  to make use of the combination some day.
 
-[1] https://trac.macports.org/ticket/45305
-[2] https://trac.macports.org/changeset/126406
+  [1] https://trac.macports.org/ticket/45305
+  [2] https://trac.macports.org/changeset/126406
 
-Upstream-Status: Inappropriate [OE Specific]
-Signed-off-by: Paul Gortmaker <[email protected]>
----
- configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+  Upstream-Status: Inappropriate [OE Specific]
+  Signed-off-by: Paul Gortmaker <[email protected]>
 
-Index: bind-9.11.3/configure.in
+[Refreshed for 9.14.3
+Signed-off-by: Armin Kuster <[email protected]>
+
+Index: bind-9.14.3/configure.ac
  ===================================================================
---- bind-9.11.3.orig/configure.in
-+++ bind-9.11.3/configure.in
-@@ -2574,7 +2574,7 @@ case "$use_libjson" in
+--- bind-9.14.3.orig/configure.ac
++++ bind-9.14.3/configure.ac
+@@ -1353,7 +1353,7 @@ case "$use_libjson" in
   		libjson_libs=""
   		;;
   	auto|yes)
meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1 -6
similarity index 83%
rename from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb
rename to meta/recipes-connectivity/bind/bind_9.14.3.bb
index 1355841..2cffe0f 100644
@@ -14,22 +14,18 @@ SRC_URI = "
 https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
             file://generate-rndc-key.sh \
             file://make-etc-initd-bind-stop-work.patch \
             file://init.d-add-support-for-read-only-rootfs.patch \
+           file://0001-avoid-start-failure-with-bind-user.patch \
             file://bind-ensure-searching-for-json-headers-searches-
 sysr.patch \
-           file://0001-gen.c-extend-DIRNAMESIZE-from-256-to-
 512.patch \
-           file://0001-lib-dns-gen.c-fix-too-long-error.patch \
-           file://0001-configure.in-remove-useless-L-use_openssl-
 lib.patch \
             file://0001-named-lwresd-V-and-start-log-hide-build-
 options.patch \
-           file://0001-avoid-start-failure-with-bind-user.patch \
  "
 
-SRC_URI[md5sum] = "8ddab4b61fa4516fe404679c74e37960"
-SRC_URI[sha256sum] =

"7e8c08192bcbaeb6e9f2391a70e67583b027b90e8c4bc1605da6eb126edde434"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +2 -0
+SRC_URI[md5sum] = "61f30afc2108cdc230e08f51466fe2f4"
+SRC_URI[sha256sum] =

"ce878aabcf01b61ed114522c32fff9e268b02da55b3c248349860bc3d0c8bdfa"

UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1 -3
-UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/"
-RECIPE_NO_UPDATE_REASON = "9.11 is LTS 2021"
+RECIPE_NO_UPDATE_REASON = "even are stable"
 
-inherit autotools update-rc.d systemd useradd pkgconfig

multilib_script
+inherit autotools update-rc.d systemd useradd pkgconfig multilib_script upstream-version-is-even

MULTILIB_SCRIPTS = "${PN}:${bindir}/bind9-config
${PN}:${bindir}/isc-config.sh"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +0 -0
@@ -38,14 +34,10 @@ PACKAGECONFIG ?= "readline"
  PACKAGECONFIG[httpstats] = "--with-

libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2"
PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline" PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
-PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with- randomdev=/dev/random,,"
PACKAGECONFIG[python3] = "--with-python=${PYTHON} --with-python-
install-dir=${D}/${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native,"

-ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"

meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +3 -5
-EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \
-                 --disable-devpoll --enable-epoll --with-gost=no \
-                 --with-gssapi=no --with-ecdsa=yes --with-eddsa=no \
-                 --with-lmdb=no \
+EXTRA_OECONF = " --with-libtool --disable-devpoll --enable-epoll \
+                 --with-gssapi=no --with-lmdb=no \
                   --sysconfdir=${sysconfdir}/bind \
                   --with-openssl=${STAGING_DIR_HOST}${prefix} \
                 "
@@ -126,7 +118,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h"
  FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
 
  PACKAGE_BEFORE_PN += "${PN}-libs"
-FILES_${PN}-libs = "${libdir}/*.so*"
+FILES_${PN}-libs = "${libdir}/*.so* ${libdir}/named/*.so"
  FILES_${PN}-staticdev += "${libdir}/*.la"
 
  PACKAGE_BEFORE_PN += "${@bb.utils.contains('PACKAGECONFIG',

'python3', 'python3-bind', '', d)}"

Signature · 1 line
2.7.4
#4 lore raw
In reply to Armin Kuster
Quoted 2 lines · Armin Kuster

Even releases are stable and supported for 1 year.
...

9.11 upstream support covers the whole lifetime of Yocto 2.8, 9.14 upstream support does not.

Eve worse, Yocto 2.9 would ship with 9.14 that might become EOL around the time of the 2.9 release.

ESV (3 years supported) releases are planned when upstream is divisible by 4.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#5 lore raw

Indeed; I think we should wait for 9.16, and take the latest in 9.11 meanwhile.

Alex

Quoted 29 lines · Adrian Bunk
Quoted 2 lines · Armin Kuster

Even releases are stable and supported for 1 year.
...

9.11 upstream support covers the whole lifetime of Yocto 2.8, 9.14 upstream support does not.

Eve worse, Yocto 2.9 would ship with 9.14 that might become EOL around the time of the 2.9 release.

ESV (3 years supported) releases are planned when upstream is divisible by 4.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#6 lore raw
In reply to Adrian Bunk
Quoted 5 lines · Adrian Bunk
Quoted 2 lines · Armin Kuster

Even releases are stable and supported for 1 year.
...

9.11 upstream support covers the whole lifetime of Yocto 2.8, 9.14 upstream support does not.

dhcp server would need porting to 9.14 as well

Quoted 10 lines

Eve worse, Yocto 2.9 would ship with 9.14 that might become EOL around the time of the 2.9 release.

ESV (3 years supported) releases are planned when upstream is divisible by 4.

cu
Adrian