safe-search: fix use with dnsmasq in ujail
authorDaniel Golle <daniel@makrotopia.org>
Mon, 5 Dec 2022 00:51:14 +0000 (00:51 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 14 Jan 2023 01:47:32 +0000 (01:47 +0000)
commit0edb2cccb8c622fc8462b01c628bf56b055951e0
treeab6dd2e094c565e3c3f8f1ed5bf3c4a989639732
parentda2db3b92943e3351ffedd8ff5f5e655ef9240ae
safe-search: fix use with dnsmasq in ujail

The safe-search package creates symlinks in a configured additional
hosts directory. The link targets are inside another directory which
has to be made available to dnsmasq as well.
Now that support for adding additional paths to dnsmasq was added by
commit openwrt/openwrt@aa12a0fdd1c5a004281633c5b0758da1781bb41c
implement adding this path using the existing uci-defaults script.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/safe-search/Makefile
net/safe-search/files/safe-search.defaults