summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind/bind-9.16.23/0001-named-lwresd-V-and-start-log-hide-build-options.patch
blob: 4dc6a5a2aec16f713b73fea133444a6577b07ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From f5761bbaf743d291f3e7e859e69ebe61a1718cbf 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>

Refreshed for 9.16.0
Signed-off-by: Armin Kuster <akuster@mvista.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 0572154..3147e04 100644
--- a/bin/named/include/named/globals.h
+++ b/bin/named/include/named/globals.h
@@ -69,7 +69,7 @@ EXTERN const char *named_g_version	  INIT(VERSION);
 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);
-- 
2.20.1