opkg: allow to configure the path to the signature verification script
[project/opkg-lede.git] / libopkg / opkg_conf.h
index 37f95a1a9935d673cbba5f786d58c150a74e2fa7..91190b37d3fd319e20334ad37ee119a614b8b198 100644 (file)
@@ -35,6 +35,8 @@ extern opkg_conf_t *conf;
 
 #define OPKG_CONF_DEFAULT_CONF_FILE_DIR OPKGETCDIR"/opkg"
 
+#define OPKG_CONF_DEFAULT_VERIFY_PROGRAM "/usr/sbin/opkg-key"
+
 /* In case the config file defines no dest */
 #define OPKG_CONF_DEFAULT_DEST_NAME "root"
 #define OPKG_CONF_DEFAULT_DEST_ROOT_DIR "/"
@@ -85,6 +87,7 @@ struct opkg_conf {
        char *overlay_root;
        int query_all;
        int verbosity;
+       char *verify_program;
        int noaction;
        int size;
        int download_only;