mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
bind: improve reproducibility
- Tweak var-DST_OPENSSL_LIBS assignment in configure.in, it is helpful to fix build path issue in isc-config.sh - `named/lwresd -V' and start log hide build options which expose build path directories. (From OE-Core rev: 037d741c94dd7f8518b3499ee0beb91a343ffa6a) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7eb2ead27a
commit
ea2f74e9a7
+32
@@ -0,0 +1,32 @@
|
|||||||
|
From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||||
|
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 <hongxu.jia@windriver.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
||||||
+34
@@ -0,0 +1,34 @@
|
|||||||
|
From a3af4a405baf5ff582e82aaba392dd9667d94bdc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||||
|
Date: Mon, 27 Aug 2018 21:24:20 +0800
|
||||||
|
Subject: [PATCH] `named/lwresd -V' and start log hide build options
|
||||||
|
|
||||||
|
The build options expose build path directories, so hide them.
|
||||||
|
[snip]
|
||||||
|
$ named -V
|
||||||
|
|built by make with *** (options are hidden)
|
||||||
|
[snip]
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [oe-core specific]
|
||||||
|
|
||||||
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
||||||
@@ -17,6 +17,8 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
|
|||||||
file://bind-ensure-searching-for-json-headers-searches-sysr.patch \
|
file://bind-ensure-searching-for-json-headers-searches-sysr.patch \
|
||||||
file://0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.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-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 \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "9b4834d78f30cdb796ce437262272a36"
|
SRC_URI[md5sum] = "9b4834d78f30cdb796ce437262272a36"
|
||||||
|
|||||||
Reference in New Issue
Block a user