opkg: allow to configure the path to the signature verification script
authorBaptiste Jonglez <git@bitsofnetworks.org>
Mon, 24 Aug 2020 15:07:40 +0000 (17:07 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 31 Aug 2020 09:47:25 +0000 (10:47 +0100)
commit4318ab1de6881f00ccb3a04c755893dee5f068ed
tree23852698f3600b562aeece51c3657559047e34d1
parentf2166a89b7e96e2c60002959731eebc5f45fa318
opkg: allow to configure the path to the signature verification script

Currently, package index signatures are only checked when opkg runs on the
OpenWrt device.  The verification script is hard-coded to a path in
/usr/sbin/.

Making this path configurable is a first step to implement signature
verification in host builds of opkg (e.g. in the imagebuilder).

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Acked-by: Paul Spooren <mail@aparcar.org>
libopkg/opkg_conf.c
libopkg/opkg_conf.h
libopkg/opkg_download.c
src/opkg-cl.c