Repository navigation
Commit f67db72
committed
unbound-uci-ext: add new package
unbound-uci-ext adds UCI options for unbound directives that the
unbound package leaves out of UCI. It writes a marked region in
/etc/unbound/unbound_srv.conf and /etc/unbound/unbound_ext.conf, the
two files that unbound ships for local additions, and it keeps
everything outside that region.
- /etc/config/unbound_srv renders interface, outgoing-interface,
ip-transparent and raw lines inside the server: clause.
- /etc/config/unbound_ext renders raw lines for clauses such as
forward-zone:, stub-zone: and view:.
- A procd init script with a reload trigger on both configs. unbound
restarts only when a file changed. Stopping the service removes the
marked regions.
- Both configs ship disabled, so an install changes nothing.
- test.sh renders both configs into temporary files, and checks the
rendered lines, the text outside the region and the clean-up.
Release notes:
https://github.com/openwrt-iac/unbound-uci-ext/releases/tag/v0.2.2
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Guy Godfroy <guy.godfroy@gugod.fr>1 parent 8b43768 commit f67db72
2 files changed
Lines changed: 80 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments