privoxy: fix uci configuration parsing after upstream OpenWrt changes
authorJo-Philipp Wich <jo@mein.io>
Sat, 21 Jul 2018 19:16:03 +0000 (21:16 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 1 Aug 2018 07:29:55 +0000 (09:29 +0200)
commitcb54af8d0d31f52c3030e13639095fc0352757d4
treec980a0e31e9cbbfc32646c0b53dbb570186bd4f7
parent327a03e8f0c61f8ee98adbee5bd37ce7bccbb049
privoxy: fix uci configuration parsing after upstream OpenWrt changes

OpenWrt changed the way the uci shell parsing functions deal with list
configuration items.

This change broke the generation of the privoxy runtime configuration
because no callbacks were emitted anymore.

Fix the problem by defining a list_cb() that simply calls the existing
option_cb() to deal with list item values.

Ref: c9c0fc28a9 ("base-files: fix UCI config parsing and callback handling")
Ref: https://forum.lede-project.org/t/openwrt-snapshot-privoxy-error/15919
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 3113d62393fcd364a402aae55139eba4bf38fab8)
net/privoxy/Makefile
net/privoxy/files/privoxy.init