diff options
author | Otavio Salvador <otavio.salvador@gmail.com> | 2022-01-03 13:18:34 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-05 17:18:15 +0000 |
commit | 9c9c57baf412fca749137222b7f19775213d4c86 (patch) | |
tree | 9e9eea7aff5f2e15c2e0c81ec1bc5171add237e7 /meta/recipes-connectivity/bind/bind-9.16.24/make-etc-initd-bind-stop-work.patch | |
parent | 8d9e8075d9eebe819b96c7983c3a0446da365940 (diff) | |
download | poky-9c9c57baf412fca749137222b7f19775213d4c86.tar.gz |
bind: upgrade 9.16.23 -> 9.16.24
(From OE-Core rev: 46f8d4eb30463b0e2ae5d2e045842d19b0ed1eae)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind/bind-9.16.24/make-etc-initd-bind-stop-work.patch')
-rw-r--r-- | meta/recipes-connectivity/bind/bind-9.16.24/make-etc-initd-bind-stop-work.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind-9.16.24/make-etc-initd-bind-stop-work.patch b/meta/recipes-connectivity/bind/bind-9.16.24/make-etc-initd-bind-stop-work.patch new file mode 100644 index 0000000000..146f3e35db --- /dev/null +++ b/meta/recipes-connectivity/bind/bind-9.16.24/make-etc-initd-bind-stop-work.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | bind: make "/etc/init.d/bind stop" work | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
5 | Add some configurations, make rndc command be able to controls | ||
6 | the named daemon. | ||
7 | |||
8 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
9 | --- | ||
10 | conf/named.conf | 5 +++++ | ||
11 | conf/rndc.conf | 5 +++++ | ||
12 | 2 files changed, 10 insertions(+), 0 deletions(-) | ||
13 | create mode 100644 conf/rndc.conf | ||
14 | |||
15 | diff --git a/conf/named.conf b/conf/named.conf | ||
16 | index 95829cf..c8899e7 100644 | ||
17 | --- a/conf/named.conf | ||
18 | +++ b/conf/named.conf | ||
19 | @@ -47,3 +47,8 @@ zone "255.in-addr.arpa" { | ||
20 | // root-delegation-only exclude { "DE"; "MUSEUM"; }; | ||
21 | |||
22 | include "/etc/bind/named.conf.local"; | ||
23 | +include "/etc/bind/rndc.key" ; | ||
24 | +controls { | ||
25 | + inet 127.0.0.1 allow { localhost; } | ||
26 | + keys { rndc-key; }; | ||
27 | +}; | ||
28 | diff --git a/conf/rndc.conf b/conf/rndc.conf | ||
29 | new file mode 100644 | ||
30 | index 0000000..a0b481d | ||
31 | --- /dev/null | ||
32 | +++ b/conf/rndc.conf | ||
33 | @@ -0,0 +1,5 @@ | ||
34 | +include "/etc/bind/rndc.key"; | ||
35 | +options { | ||
36 | + default-server localhost; | ||
37 | + default-key rndc-key; | ||
38 | +}; | ||
39 | |||
40 | -- | ||
41 | 1.7.5.4 | ||
42 | |||